16 Commits
Author SHA1 Message Date
Lap Tran 2787bcc9ac no-mistakes(review): Remove stale OpenCode npm shims and fix oc2 hint 2026-11-08 18:13:24 -05:00
Lap Tran d9d0a2e849 no-mistakes(document): Align OpenCode 2 docs with stable brew formula 2026-11-08 12:37:34 -05:00
Lap Tran 1fda5c09b7 Run OpenCode 2 from the stable Homebrew formula
Declare the opencode formula with link = false so it never replaces the
npm-installed OpenCode 1.x CLI at /opt/homebrew/bin/opencode. Drop the npm
beta install from home.activation.opencode2, point home/bin/oc2 at the keg
binary, and correct the related notes.
2026-11-08 12:15:22 -05:00
Lap Tran 633bbf35a0 feat(home): sync the OpenCode Go key after account switches 2026-11-06 21:10:54 -05:00
Lap Tran b4dfbd7540 chore: remove yt-transcribe-watcher 2026-10-25 15:49:56 -04:00
Lap Tran 62923e8344 refactor: drop yt-transcribe-watcher; transcripts belong at reclip download time
Per the captain: no watcher as primary. reclip gets the transcript patch
(bind-mounted app.py/index.html override on Unraid, see
data/documents/reclip/DEPLOY.md); yt-transcribe stays as the manual
fallback and for captionless media. Launchd agent removed.
2026-10-25 15:15:23 -04:00
Lap Tran 9821fde02b feat(home): yt-transcribe tool + watcher (captions-first, X via gallery-dl)
- yt-transcribe: YouTube/X/local-file transcription. Captions first
  (yt-dlp; X serves auto-captions via its twitter extractor), Whisper
  fallback (whisper-cli reusing OpenSuperWhisper's ggml model), reclip
  download reuse, INDEX.md + --list/--index for id->title mapping.
- watcher: launchd every 5 min over media/video on the Unraid share,
  sidecar .txt per download, marker-guarded, stale-marker purge.
- Code executes from the nix store via stable ~/.local/bin symlinks:
  launchd EPERMs on SMB exec; share stays data-only.
- brews: declare yt-dlp, whisper.cpp, gallery-dl (cleanup=zap removes
  undeclared formulas).
2026-10-25 13:08:25 -04:00
Lap Tran 78424d2778 no-mistakes(test): Verify timeout enforces limit before sandbox exec 2026-10-25 12:43:36 -04:00
Lap Tran 59bdaa6e2a no-mistakes(review): Remove silent stale run-dir deletion from start 2026-10-25 12:33:40 -04:00
Lap Tran c45d61387f no-mistakes(review): Fix stop guard order, accumulate EXCLUDE lines, drop run-parent override 2026-10-25 12:29:39 -04:00
Lap Tran 76ff344ff5 feat(home): add security-audit-sandbox wrapper 2026-10-25 12:22:48 -04:00
Lap Tran 6e0bc81e85 chore(codex): route Codex to OpenCode Go without clobbering ChatGPT auth
The ChatGPT desktop app owns and rewrites ~/.codex/config.toml, so symlinking
that file into the repo leaked the app's own config (model, [desktop],
[plugins], [mcp_servers]) into git and got clobbered on launch.

- Stop symlinking ~/.codex/config.toml; keep it app-owned and merge the repo
  fragment home/.codex/config.toml into it on every activation
  (home.activation.codexOpenCodeGo + home/bin/codex-opencode-go-sync).
- Replace requires_openai_auth with a command-backed token
  (~/.local/bin/opencode-go-token reads the key from the opencode store), so
  ~/.codex/auth.json stays in ChatGPT mode and ChatGPT sign-in coexists with Go.
- Add the Codex 0.160+ profile file home/.codex/luna.config.toml (gpt-6-luna).
- Declare the chatgpt + codex casks; document the decision in AGENTS.md.

Verified: default deepseek-v4.1-flash and --profile luna both return over the Go
Responses API while auth.json remains in chatgpt mode.
2026-10-04 15:07:33 -04:00
Lap Tran 4c6e85c97c Switch firstmate to OpenCode 2 and refresh nix-darwin pins
Point fm at the isolated oc2 wrapper, upgrade Homebrew packages on rebuild, and declare ffmpeg, docker-desktop, puremac, utm, node, and tea. Update nixpkgs, home-manager, and nix-homebrew locks. Track Pi agent config, crew-dispatch, and the Gitea PR helper that home.nix already expected.
2026-09-18 13:58:49 -04:00
Lap Tran b7a956ebc0 sync-music: scan ~/Music recursively so nested folders sync too 2026-08-09 16:17:58 -04:00
Lap Tran 9522a36040 fix sync-music: import as singletons to stop deleting album tracks
The script piped 'R' (remove old) into beets' duplicate-album prompt while
never actually clearing the library DB (it cleared a 0-byte dummy at the
wrong path, not beets/beets_library.db). Any two tracks sharing artist+album
caused the second import to delete the first's files from the NAS.

Import with --singletons so beets never matches against existing albums,
and answer 'S' (skip) if a prompt does appear. Drop the useless DB clear.
2026-08-09 14:28:14 -04:00
Lap Tran 4a0bff0331 dotfiles: add beets, sync-music script, firstmate, ngrok, openssh, gh/tmux/treehouse/opencode/pi brews 2026-08-08 21:20:27 -04:00