rowboat/apps/x
Gagancreates a845eb14a6 fix(code-mode): run the ACP adapter as Node under Electron + resolve it from main
Two runtime failures that only surfaced inside the packaged/bundled Electron app
(the headless harness used real node, so neither showed there):

- "ACP connection closed": the main process spawns the adapter via
  process.execPath, which inside Electron is the Electron binary, not node — so
  the child never ran as Node and its ACP stdio stream closed immediately. Set
  ELECTRON_RUN_AS_NODE=1 on the adapter env (a no-op under real node).
- "Cannot find module '@agentclientprotocol/claude-agent-acp'": the adapters were
  transitive (core) deps, unreachable from the esbuild-bundled main.cjs. Add them
  as direct deps of the main app so require.resolve finds them at runtime (and so
  they ship when packaged).

Also capture the adapter's stderr + exit code and enrich connection errors, so a
future failure reports the real cause instead of the opaque "ACP connection closed".
2026-06-02 01:33:33 +05:30
..
apps fix(code-mode): run the ACP adapter as Node under Electron + resolve it from main 2026-06-02 01:33:33 +05:30
packages fix(code-mode): run the ACP adapter as Node under Electron + resolve it from main 2026-06-02 01:33:33 +05:30
.gitignore chore: ignore test-fixtures dir 2026-05-08 17:04:25 +05:30
ANALYTICS.md Add app version to analytics events 2026-05-29 17:02:01 +05:30
eslint.config.mts ignore renderer eslint 2026-01-16 12:05:33 +05:30
LIVE_NOTE.md Refactor builtin file tools beyond workspace scope 2026-05-25 16:21:51 +05:30
package.json integrate electron forge 2026-01-17 10:28:44 +05:30
pnpm-lock.yaml fix(code-mode): run the ACP adapter as Node under Electron + resolve it from main 2026-06-02 01:33:33 +05:30
pnpm-workspace.yaml Refactor builtin file tools beyond workspace scope 2026-05-25 16:21:51 +05:30
tsconfig.base.json bootstrap new electron app 2026-01-16 12:05:33 +05:30