Commit 3883c2c
fix(agent): mount @agentclientprotocol/sdk for pi and claude adapters (#135)
- The pi and claude ACP adapters import `@agentclientprotocol/sdk`, but it was missing from each agent descriptor's `requires`, so it was never projected into the VM at `/root/node_modules`.
- On runtimes whose module resolver does not fall back to the host tree, the adapter exits code 1 with "Cannot resolve module '@agentclientprotocol/sdk'" (reported against `@agentos-software/claude-code@0.2.0`).
- Add it to `requires` for both agents so it is mounted regardless of resolver/runtime version; both packages already declare it as a dependency.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 305ef78 commit 3883c2c
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
0 commit comments