claudeAgent.ts ×2
Frontier kind: Code frontier
unlabeled · c_4b6fad531fb7
22 tests · 56424 LOC · 346 files · introduces 0 tests · 7 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 7 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
claudeAgent.ts ×2 — Focused concept
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) abortSession denies any parked permission requests so the SDK canUseTool callback unwinds with deny instead of leaving stale UI behind|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — canUseTool inside a subagent context tags pending_confirmation with parentToolCallId and feeds the resolver cache|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 2 — default mode parks, respondToPermissionRequest(false) → deny|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 7 — pending_confirmation signal carries the correct shape|occurrence=1, claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 1 — default mode parks, respondToPermissionRequest(true) → allow|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — AskUserQuestion + ExitPlanMode inside a subagent context tag their emitted signals with parentToolCallId|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) form-mode elicitation surfaces ChatInputRequested and returns accepted content|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.5 — INTERACTIVE_CLAUDE_TOOLS) Test 13b — ExitPlanMode: Deny returns deny with production wording, no mode flip|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) declined form-mode elicitation returns a decline result|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.5 — INTERACTIVE_CLAUDE_TOOLS) Test 13 — AskUserQuestion: cancel returns deny with production wording|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×2 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×3 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×5 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) url-mode elicitation surfaces the url with no questions and accepts with no content|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeElicitationBridge.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) a form with no representable fields cancels without surfacing a prompt|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) a url-mode request with no url cancels without surfacing a prompt|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×6 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×3 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×3 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×2 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
claudePromptResolver.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×4 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×4 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×4 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×2 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×5 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×14 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×5 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×2 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×3 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×2 — Descendant (narrower)
Introduced files:
claudeSessionPermissionMode.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×2 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgentSession.ts ×4 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×3 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×2 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×4 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×3 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×3 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×7 — Descendant (narrower)
Introduced files:
claudePromptResolver.ts ×1 — Descendant (narrower)
Introduced files:
claudeAgent.ts ×1 — Descendant (narrower)
Introduced files:
agentPeerChats.ts ×1 — Descendant (narrower)
Introduced files:
agentPeerChats.ts ×2 — Descendant (narrower)
Introduced files:
agentPeerChats.ts ×1 — Descendant (narrower)
Introduced files:
agentPeerChats.ts ×1 — Descendant (narrower)
Introduced files:
agentPeerChats.ts ×1 — Descendant (narrower)
Introduced files:
agentPeerChats.ts ×1 — Descendant (narrower)
Introduced files:
copilotGitProject.ts ×2 — Descendant (narrower)
Introduced files:
agentModelPricing.ts ×1 — Descendant (narrower)
Introduced files:
workspacelessScratchDir.ts ×2 — Descendant (narrower)
Introduced files:
agentHostReviewService.ts ×2 — Descendant (narrower)
Introduced files:
agentFeedbackAttachments.ts ×9 — Descendant (narrower)
Introduced files:
agentModelPricing.ts ×7 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×17 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×2 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkPipeline.ts ×3 — Descendant (narrower)
Introduced files:
claudeSdkMessageRouter.ts ×2 — Descendant (narrower)
Introduced files:
claudeSdkMessageRouter.ts ×4 — Descendant (narrower)
Introduced files:
claudeSdkMessageRouter.ts ×1 — Descendant (narrower)
Introduced files:
mcpCustomizationController.ts ×2 — Descendant (narrower)
Introduced files:
mcpCustomizationController.ts ×29 — Descendant (narrower)
Introduced files:
claudeSessionCustomizationDiscovery.ts ×1 — Descendant (narrower)
Introduced files:
claudeSessionCustomizationDiscovery.ts ×3 — Descendant (narrower)
Introduced files:
claudeMapSessionEventsTestUtils.ts ×1 — Descendant (narrower)
Introduced files:
claudeMapSessionEvents.ts ×1 — Descendant (narrower)
Introduced files:
claudeMapSessionEvents.ts ×7 — Descendant (narrower)
Introduced files:
claudeSubagentSignals.ts ×2 — Descendant (narrower)
Introduced files:
claudeMapSessionEventsTestUtils.ts ×16 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×1 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×2 — Descendant (narrower)
Introduced files:
claudeSessionCustomizationDiscovery.ts ×9 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×3 — Descendant (narrower)
Introduced files:
claudeMapSessionEvents.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×4 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×20 — Descendant (narrower)
Introduced files:
sessionTestHelpers.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
fileService.ts ×56 — Descendant (narrower)
Introduced files:
claudeSubagentResolver.test|title=claudeSubagentResolver — SUBAGENT_ID_SUFFIX_REGEX matches canonical and drifted formats; rejects unrelated text|occurrence=1 — Descendant (narrower)
Introduced tests:
claudePromptQueue.test|title=ClaudePromptQueue non-steering entries do not fire the steering callback|occurrence=1 — Descendant (narrower)
Introduced tests:
claudePromptQueue.test|title=ClaudePromptQueue notifyAborted wakes a parked next() so it can re-check the abort signal|occurrence=1 — Descendant (narrower)
Introduced tests:
claudePromptQueue.test|title=ClaudePromptQueue aborted signal makes the iterable return done on the next next()|occurrence=1 — Descendant (narrower)
Introduced tests:
claudePromptQueue.ts ×1 — Descendant (narrower)
Introduced files:
claudePromptQueue.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
claudePromptQueue.ts ×1 — Descendant (narrower)
Introduced files:
claudePromptQueue.ts ×1 — Descendant (narrower)
Introduced files:
claudePromptQueue.ts ×2 — Descendant (narrower)
Introduced files:
claudePromptQueue.ts ×10 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
testGitHubEndpointService.ts ×1 — Descendant (narrower)
Introduced files:
testGitHubEndpointService.ts ×1 — Descendant (narrower)
Introduced files:
claudeSessionMetadataStore.ts ×1 — Descendant (narrower)
Introduced files:
claudeSessionConfigKeys.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
claudeSessionClientCustomizationsModel.ts ×2 — Descendant (narrower)
Introduced files:
claudeSessionClientCustomizationsModel.ts ×1 — Descendant (narrower)
Introduced files:
claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table INTERACTIVE_CLAUDE_TOOLS contains exactly the user-input round-trip tools|occurrence=1 — Descendant (narrower)
Introduced tests:
claudeSessionClientCustomizationsModel.ts ×3 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
stopwatch.ts ×1 — Descendant (narrower)
Introduced files:
stopwatch.ts ×2 — Descendant (narrower)
Introduced files:
stopwatch.ts ×1 — Descendant (narrower)
Introduced files:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
serviceCollection.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
instantiationService.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
claudeSessionClientToolsModel.ts ×1 — Descendant (narrower)
Introduced files:
claudeSessionClientToolsModel.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
claudeSessionClientToolsModel.ts ×3 — Descendant (narrower)
Introduced files:
async.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
errors.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
sessionTestHelpers.ts ×1 — Descendant (narrower)
Introduced files:
sessionTestHelpers.ts ×1 — Descendant (narrower)
Introduced files:
sessionTestHelpers.ts ×33 — Descendant (narrower)
Introduced files:
observableValue.ts ×2 — Descendant (narrower)
Introduced files:
observableValue.ts ×5 — Descendant (narrower)
Introduced files:
observableValue.ts ×3 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
debugGetDependencyGraph.ts ×2 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
githubEndpoints.test|title=githubEndpoints github.com resources are byte-for-byte the canonical protected-resource constants|occurrence=1 — Descendant (narrower)
Introduced tests:
githubEndpoints.ts ×1 — Descendant (narrower)
Introduced files:
githubEndpoints.ts ×3 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×1 — Descendant (narrower)
Introduced files:
files.ts ×41 — Descendant (narrower)
Introduced files:
copilotGitProject.test|title=Copilot Git Project returns undefined outside a git working tree|occurrence=1 — Descendant (narrower)
Introduced tests:
copilotGitProject.ts ×1 — Descendant (narrower)
Introduced files:
copilotGitProject.ts ×3 — Descendant (narrower)
Introduced files:
copilotGitProject.ts ×3 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
strings.ts ×101 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
arrays.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1, lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1 — Descendant (narrower)
Introduced tests:
claudeSdkOptions.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkOptions.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkOptions.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkOptions.ts ×4 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×3 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.test|title=agentHostSchema validateOrDefault uses defaults when input is undefined|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×2 — Descendant (narrower)
Introduced files:
agentHostSchema.test|title=agentHostSchema createSchema toProtocol emits a JSON-Schema-compatible object|occurrence=1, agentHostSchema.test|title=agentHostSchema platformSessionSchema exposes approval choices in picker order with current copy|occurrence=1 — Descendant (narrower)
Introduced tests:
ripgrep.ts ×2 — Descendant (narrower)
Introduced files:
claudeSdkOptions.ts ×3 — Descendant (narrower)
Introduced files:
claudeSubagentRegistry.ts ×2 — Descendant (narrower)
Introduced files:
uri.test|title=URI VSCode URI module's driveLetterPath regex is incorrect, #32961|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×2 — Descendant (narrower)
Introduced files:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication disposes entries no longer in model|occurrence=1 — Descendant (narrower)
Introduced tests:
uri.ts ×3 — Descendant (narrower)
Introduced files:
claudeModelConfig.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
claudeModelConfig.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×2 — Descendant (narrower)
Introduced files:
claudeModelConfig.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
utils.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelConfig.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
types.test|title=Types isUndefinedOrNull|occurrence=1 — Descendant (narrower)
Introduced tests:
libc.test|title=libc non-Linux platforms return undefined|occurrence=1 — Descendant (narrower)
Introduced tests:
map.ts ×1 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×9 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
objects.ts ×13 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
uuid.ts ×3 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 7 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/claude/claudeAgent.ts 7 introduced LOC · 2 ranges
Open complete file
390
*/
391
private _findSessionBySdkId ( sdkSessionId : string ) : ClaudeAgentSession | undefined {
393
>
for ( const chat of entry . allChatSessions ()) {
394
>
if ( chat . sessionId === sdkSessionId ) {
395
>
return chat ;
396
>
}
397
>
}
398
}
399
return undefined ;
401
402
/** Wrap a {@link ClaudeAgentSession} in a chat-leaf entry and forward its events. */