Skip to content

Commit 01f7bd3

Browse files
agentHost: bump Claude Agent SDK to 0.3.239 (#333256)
* agentHost: bump Claude Agent SDK to 0.3.248 Update the development and packaged SDK pins, adopt the required callback request IDs, and refresh real-SDK E2E captures. Harden fixture path normalization and keep shared file-operation scenarios provider-independent. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: normalize truncated E2E workspace paths Scrub harness-owned temp workspaces even when session titles contain only an older, truncated, or username-normalized path. Add a black-box recording regression test and refresh the four affected Claude list_sessions fixtures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: make Claude E2E paths portable Canonicalize recorded workspace and home path separators after parsing model traffic so Windows captures replay on macOS and Linux without corrupting serialized JSON. Refresh path-bearing fixtures and make the shared two-peer write prompt deterministic. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: use Claude Agent SDK 0.3.247 Use the immediately preceding Claude Agent SDK release because 0.3.248 is unavailable in the build cache. Keep the development and packaged SDK pins and platform lock entries in sync. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: refresh Claude 0.3.247 model fixture Record the 0.3.247 runtime's unquoted model-switch confirmation so strict request matching remains accurate for the cached SDK version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * build: pin Claude Agent SDK to 0.3.239 Use the newest SDK release permitted by the seven-day package embargo. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ff155aa commit 01f7bd3

115 files changed

Lines changed: 692 additions & 669 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build/agent-sdk/agents/claude/package-lock.json

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/agent-sdk/agents/claude/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"private": true,
44
"comment": "Pinned dependency set for the build/agent-sdk claude tarball. The package-lock.json alongside is the source of truth for transitive deps — produce.ts runs `npm ci` against this directory to get byte-deterministic output across pipeline runs.",
55
"dependencies": {
6-
"@anthropic-ai/claude-agent-sdk": "0.3.220"
6+
"@anthropic-ai/claude-agent-sdk": "0.3.239"
77
}
88
}

package-lock.json

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"zod": "^4.4.3"
172172
},
173173
"devDependencies": {
174-
"@anthropic-ai/claude-agent-sdk": "0.3.220",
174+
"@anthropic-ai/claude-agent-sdk": "0.3.239",
175175
"@eslint/compat": "^2.1.0",
176176
"@openai/codex": "0.146.0",
177177
"@playwright/cli": "^0.1.9",

src/vs/platform/agentHost/node/claude/claudeCanUseTool.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export interface IClaudeCanUseToolOptions {
5050
readonly signal: AbortSignal;
5151
readonly blockedPath?: string;
5252
readonly toolUseID: string;
53+
readonly requestId: string;
5354
/**
5455
* Phase 12 step 5 — SDK-supplied subagent id for inner-tool
5556
* confirmations. When set, the bridge resolves the parent

src/vs/platform/agentHost/node/claude/claudeElicitationBridge.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import type { ElicitationRequest, ElicitationResult } from '@anthropic-ai/claude-agent-sdk';
7-
import { generateUuid } from '../../../../base/common/uuid.js';
87
import { ChatInputResponseKind } from '../../common/state/sessionState.js';
98
import { ClaudeAgentSession } from './claudeAgentSession.js';
109
import { buildElicitationRequest, cancelledElicitationResult, elicitationResultFromAnswers } from './claudeElicitation.js';
@@ -38,14 +37,14 @@ export async function handleElicitation(
3837
deps: IClaudeElicitationDeps,
3938
sessionId: string,
4039
request: ElicitationRequest,
41-
options: { readonly signal: AbortSignal },
40+
options: { readonly signal: AbortSignal; readonly requestId: string },
4241
): Promise<ElicitationResult> {
4342
const session = deps.getSession(sessionId);
4443
if (!session) {
4544
return cancelledElicitationResult();
4645
}
4746

48-
const requestId = generateUuid();
47+
const requestId = options.requestId;
4948

5049
if (options.signal.aborted) {
5150
return cancelledElicitationResult();

0 commit comments

Comments
 (0)