mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Switch the bundled ACP tooling from full-CLI bundling to bridge-only bundling. The staging scripts now install the bridge JS trees with `npm --omit=optional`, which skips the SDK/codex platform packages that vendor the native claude/codex CLIs — the bundled resource drops from ~586MB to ~56MB of pure JS, and ad-hoc codesigning of vendored Mach-O binaries is no longer needed. The bridges instead run the user's own harness CLI: at spawn time the desktop resolves `claude`/`codex` from PATH and exports CLAUDE_CODE_EXECUTABLE / CODEX_PATH (neither bridge falls back to PATH itself), driven by a new `bridge_cli_env_var` catalog field. A value already present in the desktop's environment wins, and per-agent env overrides still apply afterwards. Because the app once again depends on a user-installed CLI, this reinstates the machinery that 55a80e5c retired: the CliMissing availability gate, PATH-based auth probes, curl CLI install commands, and the Doctor's CLI-missing copy and CLI-path row. The Doctor's "bundled" badge now reads an explicit `adapter_ships_with_app` catalog field, since inferring it from empty install-command lists breaks once claude/codex regain CLI install commands. The lock drops the native*/npmOs/npmCpu/npmLibc fields (trees are platform-independent, but stay per-target so pins can be bumped independently), install validation asserts no platform package slipped into the tree, and freshness stamps gain STAMP_INSTALL_MODE=bridge-only so stale full-CLI caches are reinstalled rather than reused. The harness-clis.json manifest and its resolution path are removed; the prepare script deletes the stale file from previously staged resource dirs. Verified: desktop cargo tests (1421), buzz-acp tests, clippy + fmt on both, tsc, biome, desktop unit tests (2791), doctor-states + doctor-cta-screenshots Playwright specs, file-size/px guards, and end-to-end staging on aarch64-apple-darwin (bridge wrappers report 0.58.1/1.1.2, no Mach-O in the tree, idempotent re-run). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Matt Toohey <contact@matttoohey.com>
76 lines
1.3 KiB
Plaintext
76 lines
1.3 KiB
Plaintext
# Build artifacts
|
|
/target/
|
|
/dist/
|
|
|
|
# lefthook-generated hook scripts (machine-specific)
|
|
.hooks/
|
|
|
|
# Environment files (may contain secrets)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Editor / IDE
|
|
.idea/
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.*.sw?
|
|
|
|
# OS artifacts
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Scratch / working files (AI reviews, notes, drafts)
|
|
.scratch/
|
|
|
|
# Playwright artifacts
|
|
playwright-report/
|
|
test-results/
|
|
blob-report/
|
|
.playwright-mcp/
|
|
|
|
# Node modules (pnpm workspace hoists to root)
|
|
node_modules/
|
|
|
|
# Root npm lockfiles are accidental; desktop uses pnpm in /desktop.
|
|
/package-lock.json
|
|
|
|
# Bundled ACP bridge tools (regenerated by desktop/scripts/prepare-acp-tools-resource.sh)
|
|
desktop/src-tauri/resources/acp/bin/*
|
|
!desktop/src-tauri/resources/acp/bin/.gitkeep
|
|
desktop/src-tauri/resources/acp/node/
|
|
desktop/src-tauri/resources/acp/node-runtime.json
|
|
|
|
# sqlx offline query data (generated, not portable)
|
|
.sqlx/
|
|
|
|
# SQLite database (created by relay in CWD)
|
|
buzz.db
|
|
buzz.db-wal
|
|
buzz.db-shm
|
|
|
|
# Docker volumes (if mounted locally)
|
|
mysql-data/
|
|
typesense-data/
|
|
|
|
# Hermit (toolchain manager cache)
|
|
.hermit/
|
|
doc/
|
|
/repos/
|
|
|
|
# Local identity files
|
|
identity.key
|
|
**/identity.key
|
|
|
|
# Claude Code worktrees
|
|
.claude/worktrees/
|
|
|
|
# mesh-llm build cache
|
|
.cache/
|
|
|
|
# Helm dependency tarballs — regenerable from Chart.lock via `helm dependency build`
|
|
deploy/charts/*/charts/*.tgz
|