@wrongstack/acp 0.281.3 → 0.282.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/client.js +8 -1
- package/dist/client.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk.js +8 -1
- package/dist/sdk.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -114,7 +114,7 @@ Gemini CLI, Codex CLI, etc.) as a subprocess or over a network transport.
|
|
|
114
114
|
```typescript
|
|
115
115
|
const session = await ACPSession.start({
|
|
116
116
|
command: 'claude',
|
|
117
|
-
args: ['--model', '
|
|
117
|
+
args: ['--model', 'anthropic-test-model'],
|
|
118
118
|
env: { ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY },
|
|
119
119
|
cwd: '/path/to/project',
|
|
120
120
|
projectRoot: '/path/to/project',
|
package/dist/client.js
CHANGED
|
@@ -1397,7 +1397,14 @@ var ACPSession = class _ACPSession {
|
|
|
1397
1397
|
return;
|
|
1398
1398
|
}
|
|
1399
1399
|
if (msg.method) {
|
|
1400
|
-
console.warn(
|
|
1400
|
+
console.warn(
|
|
1401
|
+
JSON.stringify({
|
|
1402
|
+
level: "warn",
|
|
1403
|
+
event: "acp_session.unhandled_method",
|
|
1404
|
+
method: msg.method,
|
|
1405
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1406
|
+
})
|
|
1407
|
+
);
|
|
1401
1408
|
}
|
|
1402
1409
|
}
|
|
1403
1410
|
handleUpdate(msg) {
|