@agentclientprotocol/claude-agent-acp 0.101.2-preview.3 → 0.102.0
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/dist/acp-agent.js
CHANGED
|
@@ -9526,7 +9526,7 @@ export class ClaudeAcpAgent {
|
|
|
9526
9526
|
const settingsAvailableModels = settingsManager.getSettings().availableModels;
|
|
9527
9527
|
const settingsModelOverrides = settingsManager.getSettings().modelOverrides;
|
|
9528
9528
|
const resumedModel = await resumedModelHint;
|
|
9529
|
-
// A resumed Fable 5.
|
|
9529
|
+
// A resumed Fable 5.2 session lists Fable 5.2 as `fable`, as a new
|
|
9530
9530
|
// session does (see `aliasResumedModelRow`).
|
|
9531
9531
|
const sdkModels = aliasResumedModelRow(initializationResult.models, creationOpts.resume !== undefined ? resumedModel : undefined);
|
|
9532
9532
|
const settingsAllowedModels = Array.isArray(settingsAvailableModels)
|
package/dist/session-model.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ export declare function buildModelConfigOption(models: SessionModelState, modelI
|
|
|
23
23
|
* Give back the family alias value to the row the CLI lists under a resumed
|
|
24
24
|
* session's model id.
|
|
25
25
|
*
|
|
26
|
-
* The CLI lists Fable 5.
|
|
27
|
-
* Fable 5.
|
|
26
|
+
* The CLI lists Fable 5.2 as `fable`, but when it resumes a session that ran
|
|
27
|
+
* Fable 5.2 it lists the same row as `claude-fable-5-2` and has no `fable`
|
|
28
28
|
* row. Clients store the option value as the session's choice, so a value
|
|
29
29
|
* from a new session would not be offered by a resumed one, and the reverse.
|
|
30
30
|
*
|
|
@@ -34,8 +34,9 @@ export declare function buildModelConfigOption(models: SessionModelState, modelI
|
|
|
34
34
|
* runs its family's newest model). Every other row is returned as it is.
|
|
35
35
|
*
|
|
36
36
|
* The CLI lists a row the same way when `ANTHROPIC_MODEL` or `settings.model`
|
|
37
|
-
* pins `claude-fable-5-
|
|
38
|
-
* stays on that version after a newer Fable becomes `fable`.
|
|
37
|
+
* pins `claude-fable-5-2`. Those rows keep the pinned id, so a client's choice
|
|
38
|
+
* stays on that version after a newer Fable becomes `fable`. A resumed Fable
|
|
39
|
+
* 5.1 session keeps `claude-fable-5-1` too, because Fable 5.2 is newer.
|
|
39
40
|
*/
|
|
40
41
|
export declare function aliasResumedModelRow(models: ModelInfo[], resumedModel: string | undefined): ModelInfo[];
|
|
41
42
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-model.d.ts","sourceRoot":"","sources":["../src/session-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAIjF,eAAO,MAAM,eAAe,UAAU,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,eAAe,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChF,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;CACrC,CAAC;AACF,KAAK,mBAAmB,GAAG;IAAE,WAAW,IAAI,QAAQ,CAAA;CAAE,CAAC;AAmGvD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CA2ChG;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,CAyBnF;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EA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,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAW7C"}
|
package/dist/session-model.js
CHANGED
|
@@ -246,8 +246,8 @@ function familyVersionOf(id) {
|
|
|
246
246
|
* Give back the family alias value to the row the CLI lists under a resumed
|
|
247
247
|
* session's model id.
|
|
248
248
|
*
|
|
249
|
-
* The CLI lists Fable 5.
|
|
250
|
-
* Fable 5.
|
|
249
|
+
* The CLI lists Fable 5.2 as `fable`, but when it resumes a session that ran
|
|
250
|
+
* Fable 5.2 it lists the same row as `claude-fable-5-2` and has no `fable`
|
|
251
251
|
* row. Clients store the option value as the session's choice, so a value
|
|
252
252
|
* from a new session would not be offered by a resumed one, and the reverse.
|
|
253
253
|
*
|
|
@@ -257,8 +257,9 @@ function familyVersionOf(id) {
|
|
|
257
257
|
* runs its family's newest model). Every other row is returned as it is.
|
|
258
258
|
*
|
|
259
259
|
* The CLI lists a row the same way when `ANTHROPIC_MODEL` or `settings.model`
|
|
260
|
-
* pins `claude-fable-5-
|
|
261
|
-
* stays on that version after a newer Fable becomes `fable`.
|
|
260
|
+
* pins `claude-fable-5-2`. Those rows keep the pinned id, so a client's choice
|
|
261
|
+
* stays on that version after a newer Fable becomes `fable`. A resumed Fable
|
|
262
|
+
* 5.1 session keeps `claude-fable-5-1` too, because Fable 5.2 is newer.
|
|
262
263
|
*/
|
|
263
264
|
export function aliasResumedModelRow(models, resumedModel) {
|
|
264
265
|
if (resumedModel === undefined)
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.102.0",
|
|
7
7
|
"description": "An ACP-compatible coding agent powered by the Claude Agent SDK (TypeScript)",
|
|
8
8
|
"main": "dist/lib.js",
|
|
9
9
|
"types": "dist/lib.d.ts",
|
|
@@ -69,17 +69,17 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@agentclientprotocol/sdk": "2.5.0",
|
|
72
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
72
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.321",
|
|
73
73
|
"diff": "9.0.0",
|
|
74
74
|
"zod": "4.6.7"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@anthropic-ai/sdk": "1.
|
|
77
|
+
"@anthropic-ai/sdk": "1.7.0",
|
|
78
78
|
"@eslint/js": "10.0.1",
|
|
79
79
|
"@tsconfig/node22": "22.0.6",
|
|
80
80
|
"@types/node": "26.6.6",
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "8.72.
|
|
82
|
-
"@typescript-eslint/parser": "8.72.
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "8.72.2",
|
|
82
|
+
"@typescript-eslint/parser": "8.72.2",
|
|
83
83
|
"ajv": "8.20.0",
|
|
84
84
|
"ajv-formats": "3.0.1",
|
|
85
85
|
"eslint": "10.14.0",
|