@agentclientprotocol/claude-agent-acp 0.48.0 → 0.49.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.d.ts.map +1 -1
- package/dist/acp-agent.js +136 -63
- package/package.json +2 -2
package/dist/acp-agent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acp-agent.d.ts","sourceRoot":"","sources":["../src/acp-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,EAGnB,kBAAkB,EAClB,kBAAkB,EAClB,+BAA+B,EAC/B,wBAAwB,EACxB,yBAAyB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EAGnB,iBAAiB,EACjB,kBAAkB,EAElB,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EAEpB,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,6BAA6B,EAC7B,8BAA8B,EAC9B,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EAEtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,SAAS,EACT,UAAU,EAKV,SAAS,EAGT,OAAO,EACP,cAAc,EAEd,gBAAgB,EAChB,KAAK,EAKL,gBAAgB,EAChB,0BAA0B,EAC1B,cAAc,EAGf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAelG,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,O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B,CAC3C,OAAO,EAAE,0BAA0B,EACnC,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE;IACR,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACA,mBAAmB,EAAE,CAkDvB;AAED,wBAAgB,MAAM;;;EAkCrB"}
|
package/dist/acp-agent.js
CHANGED
|
@@ -577,12 +577,17 @@ export class ClaudeAcpAgent {
|
|
|
577
577
|
// (whose delta events don't carry it) can all be tagged with the same,
|
|
578
578
|
// replay-stable id.
|
|
579
579
|
let currentStreamMessageId;
|
|
580
|
-
//
|
|
581
|
-
//
|
|
582
|
-
//
|
|
583
|
-
//
|
|
584
|
-
|
|
585
|
-
|
|
580
|
+
// The text/thinking blocks that have actually streamed live as
|
|
581
|
+
// `stream_event` deltas for the message the next consolidated `assistant`
|
|
582
|
+
// will repeat, in stream order, each accumulated to its full streamed text.
|
|
583
|
+
// The consolidated handler diffs each assembled block against these and
|
|
584
|
+
// forwards only the un-streamed remainder — nothing if it streamed in full
|
|
585
|
+
// (the common case), the whole block if it never streamed (a non-streaming
|
|
586
|
+
// gateway), or just the tail if the stream was cut short mid-block. Matching
|
|
587
|
+
// on content rather than the Anthropic message id makes dedupe robust to
|
|
588
|
+
// gateways that don't carry a stable/matching id across the stream and the
|
|
589
|
+
// consolidated message. Reset after each consolidated message consumes it.
|
|
590
|
+
const streamedBlocks = [];
|
|
586
591
|
// Stop reason accumulated for the active turn (result subtype, refusal,
|
|
587
592
|
// max_tokens, …). Reset per turn; read when the turn settles at idle.
|
|
588
593
|
let stopReason = "end_turn";
|
|
@@ -593,12 +598,14 @@ export class ClaudeAcpAgent {
|
|
|
593
598
|
lastAssistantError = undefined;
|
|
594
599
|
lastRefusalExplanation = null;
|
|
595
600
|
compactionInProgress = false;
|
|
596
|
-
// Do NOT reset currentStreamMessageId here.
|
|
597
|
-
//
|
|
598
|
-
//
|
|
599
|
-
//
|
|
600
|
-
//
|
|
601
|
-
//
|
|
601
|
+
// Do NOT reset currentStreamMessageId or streamedBlocks here. Turn
|
|
602
|
+
// activation can fire mid-message (the replayed user echo with
|
|
603
|
+
// --replay-user-messages lands between a message's blocks); clearing the
|
|
604
|
+
// streamed-content record on activation would drop the blocks that
|
|
605
|
+
// streamed before the echo, so the consolidated assistant message would
|
|
606
|
+
// re-emit them as duplicates. streamedBlocks is bounded instead by being
|
|
607
|
+
// cleared when each consolidated message consumes it. #785 stopped
|
|
608
|
+
// resetting the streamed-content tracking here but left this line.
|
|
602
609
|
stopReason = "end_turn";
|
|
603
610
|
session.accumulatedUsage = {
|
|
604
611
|
inputTokens: 0,
|
|
@@ -1189,20 +1196,50 @@ export class ClaudeAcpAgent {
|
|
|
1189
1196
|
// it) can all be tagged with the same, replay-stable id.
|
|
1190
1197
|
if (message.event.type === "message_start") {
|
|
1191
1198
|
currentStreamMessageId = message.event.message.id || undefined;
|
|
1199
|
+
// A new top-level message starts: clear any streamed-content
|
|
1200
|
+
// residue from a prior message that never reached its
|
|
1201
|
+
// consolidated reset — a cancelled turn breaks out before the
|
|
1202
|
+
// reset, and the synthetic-auth/system/local-command paths
|
|
1203
|
+
// `break` early too. Block indices restart at 0 each message, so
|
|
1204
|
+
// leftover entries would otherwise collide with this message's
|
|
1205
|
+
// blocks and re-emit (or truncate) already-streamed text. Gated on
|
|
1206
|
+
// `parent_tool_use_id === null` so a subagent stream can't clear
|
|
1207
|
+
// the top-level record. Fires once, before any of this message's
|
|
1208
|
+
// blocks, so it doesn't disturb the mid-message turn-activation
|
|
1209
|
+
// path the way resetting on turn activation would.
|
|
1210
|
+
if (message.parent_tool_use_id === null) {
|
|
1211
|
+
streamedBlocks.length = 0;
|
|
1212
|
+
}
|
|
1192
1213
|
}
|
|
1193
|
-
//
|
|
1194
|
-
//
|
|
1195
|
-
//
|
|
1196
|
-
//
|
|
1197
|
-
// can't attribute its content to the top-level message
|
|
1198
|
-
|
|
1199
|
-
|
|
1214
|
+
// Accumulate the text/thinking actually streamed live, so the
|
|
1215
|
+
// `assistant` case below can diff its assembled blocks against what
|
|
1216
|
+
// already reached the client as chunks and forward only the
|
|
1217
|
+
// remainder. Gated on `parent_tool_use_id === null` so a subagent
|
|
1218
|
+
// stream can't attribute its content to the top-level message.
|
|
1219
|
+
// Contiguous deltas of the same block (same index and type) extend
|
|
1220
|
+
// the current entry; anything else opens a new one.
|
|
1221
|
+
if (message.parent_tool_use_id === null &&
|
|
1200
1222
|
message.event.type === "content_block_delta") {
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1223
|
+
const delta = message.event.delta;
|
|
1224
|
+
const chunk = delta.type === "text_delta"
|
|
1225
|
+
? { type: "text", text: delta.text }
|
|
1226
|
+
: delta.type === "thinking_delta"
|
|
1227
|
+
? { type: "thinking", text: delta.thinking }
|
|
1228
|
+
: undefined;
|
|
1229
|
+
// Skip empty deltas (some gateways emit empty thinking chunks —
|
|
1230
|
+
// #793): appending "" is a no-op, but pushing a "" entry would
|
|
1231
|
+
// create a block the consolidated handler's `text.length > 0`
|
|
1232
|
+
// guard can never consume, stalling the diff cursor and
|
|
1233
|
+
// re-emitting the next block as a duplicate.
|
|
1234
|
+
if (chunk && chunk.text.length > 0) {
|
|
1235
|
+
const index = message.event.index;
|
|
1236
|
+
const last = streamedBlocks[streamedBlocks.length - 1];
|
|
1237
|
+
if (last && last.index === index && last.type === chunk.type) {
|
|
1238
|
+
last.text += chunk.text;
|
|
1239
|
+
}
|
|
1240
|
+
else {
|
|
1241
|
+
streamedBlocks.push({ index, type: chunk.type, text: chunk.text });
|
|
1242
|
+
}
|
|
1206
1243
|
}
|
|
1207
1244
|
}
|
|
1208
1245
|
if (message.parent_tool_use_id === null &&
|
|
@@ -1376,40 +1413,65 @@ export class ClaudeAcpAgent {
|
|
|
1376
1413
|
}
|
|
1377
1414
|
let content;
|
|
1378
1415
|
if (message.type === "assistant" && message.parent_tool_use_id === null) {
|
|
1379
|
-
// Top-level assistant message:
|
|
1380
|
-
// streamed live as
|
|
1381
|
-
//
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1416
|
+
// Top-level assistant message: each text/thinking block may have
|
|
1417
|
+
// already been streamed live as deltas. Diff each against what
|
|
1418
|
+
// streamed (`streamedBlocks`, in document order) and forward only
|
|
1419
|
+
// the un-streamed remainder — nothing if it streamed in full (the
|
|
1420
|
+
// common case), the whole block if it never streamed (a
|
|
1421
|
+
// non-streaming gateway), or just the tail if the stream was cut
|
|
1422
|
+
// short mid-block. `streamPos` walks the streamed blocks in step
|
|
1423
|
+
// with the assembled text/thinking blocks; tool_use and other
|
|
1424
|
+
// blocks pass through untouched (their own `toolUseCache` collapses
|
|
1425
|
+
// the streamed/assembled pair) without advancing it.
|
|
1426
|
+
const blocks = message.message.content;
|
|
1427
|
+
const kept = [];
|
|
1428
|
+
let streamPos = 0;
|
|
1429
|
+
for (const item of blocks) {
|
|
1386
1430
|
if (item.type !== "text" && item.type !== "thinking") {
|
|
1387
|
-
|
|
1431
|
+
kept.push(item);
|
|
1432
|
+
continue;
|
|
1388
1433
|
}
|
|
1389
|
-
|
|
1390
|
-
//
|
|
1391
|
-
//
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
if (streamedLive) {
|
|
1395
|
-
return false;
|
|
1434
|
+
const full = item.type === "text" ? item.text : item.thinking;
|
|
1435
|
+
// Empty assembled blocks carry nothing (some gateways emit an
|
|
1436
|
+
// empty `thinking` block before the real text) — drop them.
|
|
1437
|
+
if (full.length === 0) {
|
|
1438
|
+
continue;
|
|
1396
1439
|
}
|
|
1397
|
-
//
|
|
1398
|
-
//
|
|
1399
|
-
//
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1440
|
+
// A streamed block of the same type whose accumulated text is a
|
|
1441
|
+
// prefix of this one was already (at least partly) delivered as
|
|
1442
|
+
// chunks; consume it and forward only what's left. A non-empty
|
|
1443
|
+
// streamed text is required so an empty/aborted streamed block
|
|
1444
|
+
// doesn't swallow the assembled copy.
|
|
1445
|
+
const streamed = streamedBlocks[streamPos];
|
|
1446
|
+
if (streamed &&
|
|
1447
|
+
streamed.type === item.type &&
|
|
1448
|
+
streamed.text.length > 0 &&
|
|
1449
|
+
full.startsWith(streamed.text)) {
|
|
1450
|
+
streamPos++;
|
|
1451
|
+
const remainder = full.slice(streamed.text.length);
|
|
1452
|
+
if (remainder.length === 0) {
|
|
1453
|
+
continue;
|
|
1454
|
+
}
|
|
1455
|
+
// Overwrite in place with just the un-streamed tail (the
|
|
1456
|
+
// assembled message isn't read again after this) so the block
|
|
1457
|
+
// keeps its exact SDK type.
|
|
1458
|
+
if (item.type === "text") {
|
|
1459
|
+
item.text = remainder;
|
|
1460
|
+
}
|
|
1461
|
+
else {
|
|
1462
|
+
item.thinking = remainder;
|
|
1463
|
+
}
|
|
1464
|
+
kept.push(item);
|
|
1465
|
+
continue;
|
|
1403
1466
|
}
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
// dedupe — drop it so the streamed-id sets stay bounded to in-flight
|
|
1408
|
-
// streams rather than growing for the session's whole life.
|
|
1409
|
-
if (id !== undefined) {
|
|
1410
|
-
streamedTextIds.delete(id);
|
|
1411
|
-
streamedThinkingIds.delete(id);
|
|
1467
|
+
// Not matched: never streamed (or the stream diverged from the
|
|
1468
|
+
// assembled text) — forward the block in full.
|
|
1469
|
+
kept.push(item);
|
|
1412
1470
|
}
|
|
1471
|
+
content = kept;
|
|
1472
|
+
// Consumed: reset so the next message's blocks accumulate fresh and
|
|
1473
|
+
// the record stays bounded to the in-flight message.
|
|
1474
|
+
streamedBlocks.length = 0;
|
|
1413
1475
|
}
|
|
1414
1476
|
else if (message.type === "assistant") {
|
|
1415
1477
|
// Subagent assistant message (`parent_tool_use_id !== null`). It is
|
|
@@ -2025,18 +2087,22 @@ export class ClaudeAcpAgent {
|
|
|
2025
2087
|
session.configOptions = session.configOptions.map((o) => o.id === configId && typeof o.currentValue === "string" ? { ...o, currentValue: value } : o);
|
|
2026
2088
|
}
|
|
2027
2089
|
else if (configId === "model") {
|
|
2090
|
+
// `ModelInfo.supportsAutoMode` is the canonical SDK signal for clamping
|
|
2091
|
+
// modes below; its `displayName`/`description` also let us infer the
|
|
2092
|
+
// context window for semantic aliases (e.g. `default`) whose ID alone
|
|
2093
|
+
// carries no "1m" token.
|
|
2094
|
+
const newModelInfo = session.modelInfos.find((m) => m.value === value);
|
|
2028
2095
|
if (session.models.currentModelId !== value) {
|
|
2029
2096
|
// The cached context window was learned for the previous model; reset
|
|
2030
2097
|
// to the new model's heuristic so mid-stream updates between now and
|
|
2031
2098
|
// the next `result` reflect the user's selection instead of the old
|
|
2032
2099
|
// model's window.
|
|
2033
|
-
session.contextWindowSize =
|
|
2100
|
+
session.contextWindowSize =
|
|
2101
|
+
inferContextWindowFromModel(value, newModelInfo?.displayName, newModelInfo?.description) ?? DEFAULT_CONTEXT_WINDOW;
|
|
2034
2102
|
}
|
|
2035
2103
|
session.models = { ...session.models, currentModelId: value };
|
|
2036
2104
|
// Recompute availableModes for the new model and clamp the current
|
|
2037
2105
|
// mode if the SDK no longer offers it (today: "auto" on Haiku).
|
|
2038
|
-
// `ModelInfo.supportsAutoMode` is the canonical SDK signal.
|
|
2039
|
-
const newModelInfo = session.modelInfos.find((m) => m.value === value);
|
|
2040
2106
|
const newAvailableModes = buildAvailableModes(newModelInfo);
|
|
2041
2107
|
// Capture BEFORE mutating session.modes so the log message reflects
|
|
2042
2108
|
// the invalidated mode rather than "default".
|
|
@@ -2494,7 +2560,7 @@ export class ClaudeAcpAgent {
|
|
|
2494
2560
|
currentAgent,
|
|
2495
2561
|
abortController,
|
|
2496
2562
|
emitRawSDKMessages: sessionMeta?.claudeCode?.emitRawSDKMessages ?? false,
|
|
2497
|
-
contextWindowSize: inferContextWindowFromModel(models.currentModelId) ?? DEFAULT_CONTEXT_WINDOW,
|
|
2563
|
+
contextWindowSize: inferContextWindowFromModel(models.currentModelId, currentModelInfo?.displayName, currentModelInfo?.description) ?? DEFAULT_CONTEXT_WINDOW,
|
|
2498
2564
|
taskState,
|
|
2499
2565
|
toolUseCache: {},
|
|
2500
2566
|
messageIdToUuid: new Map(),
|
|
@@ -3479,14 +3545,21 @@ function commonPrefixLength(a, b) {
|
|
|
3479
3545
|
}
|
|
3480
3546
|
return i;
|
|
3481
3547
|
}
|
|
3482
|
-
/** Best-effort first guess of a model's context window
|
|
3483
|
-
*
|
|
3484
|
-
*
|
|
3548
|
+
/** Best-effort first guess of a model's context window, used only as a
|
|
3549
|
+
* fallback when the SDK's authoritative `getContextUsage` is unavailable (and
|
|
3550
|
+
* until a `result` message arrives with the `modelUsage` value).
|
|
3551
|
+
*
|
|
3485
3552
|
* Anthropic 1M-context variants encode "1m" as a distinct token in the SDK
|
|
3486
3553
|
* model ID (e.g., "claude-opus-4-6-1m"), which `\b1m\b` catches without also
|
|
3487
|
-
* matching things like "10m" or embedded substrings.
|
|
3488
|
-
|
|
3489
|
-
|
|
3554
|
+
* matching things like "10m" or embedded substrings. Semantic aliases like
|
|
3555
|
+
* `default` carry no such token in the ID, but the SDK's human-facing
|
|
3556
|
+
* `displayName`/`description` do (e.g. "Opus 4.7 (1M context)"), so callers
|
|
3557
|
+
* pass those too — the same `\b1m\b` token appears in "1M context". The SDK's
|
|
3558
|
+
* `ModelInfo` exposes no structured context-window field, so this text scan is
|
|
3559
|
+
* the only pre-`result` signal available. A miss falls back to the default
|
|
3560
|
+
* window and is corrected by `result.modelUsage` within one turn. */
|
|
3561
|
+
function inferContextWindowFromModel(...texts) {
|
|
3562
|
+
if (texts.some((text) => text != null && /\b1m\b/i.test(text)))
|
|
3490
3563
|
return 1_000_000;
|
|
3491
3564
|
return null;
|
|
3492
3565
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.49.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",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"license": "Apache-2.0",
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@agentclientprotocol/sdk": "0.28.1",
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.185",
|
|
65
65
|
"zod": "^3.25.0 || ^4.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|