sessionState.ts ×1
Frontier kind: Code frontier
unlabeled · c_dcde936a65c3
1044 tests · 11253 LOC · 39 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 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.
sessionState.ts ×1 — Focused concept
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent provisional sessions materialization skips managed shell tools when root config disables the custom terminal tool|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent provisional sessions materialization passes VS Code-specific system message to the SDK|occurrence=1, copilotAgent.test|title=CopilotAgent provisional sessions materialization forwards the GitHub token to the SDK at the session level (#318693)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent provisional sessions sendMessage on the default chat materializes the parent provisional session|occurrence=1, copilotAgent.test|title=CopilotAgent customization anchoring materialization without a worktree keeps the anchor on the original folder|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×7 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×6 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×8 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent client tool call contributor prefers the message sender when it provides the tool|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×3 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent createProvisional creates a session without SDK startup contact|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.test|title=AgentSideEffects title persistence handleListSessions returns persisted custom title|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostChangesetService.ts ×3 — Ancestor (broader)
Introduced files:
agentHostStateManager.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×4 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
mockAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent restart on startup config change restarts and disposes active sessions when the config changes|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects agents observable model observable update publishes model metadata|occurrence=1 — Ancestor (broader)
Introduced tests:
agentsChanged without fetching models when observable changes|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×6 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×8 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool partial results stream into an output-only terminal channel|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool auto-readies when SDK allow-all mode is on|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping subagent tool completion routes to the subagent session scope|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAttachmentUtils.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool_start derives intention from a shell tool description argument|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
env` falls through to a normal SDK send when not listed|occurrence=1, security-review` falls through to normal send when runtime command is unavailable|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: applies the configured policy under default approvals|occurrence=1, copilotAgentSession.test|title=CopilotAgentSession permission handling per-request permissions: Autopilot with Ask When Needed keeps SDK approval mode off|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under global auto-approve|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under session bypass approvals|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession permission handling per-request permissions: delegates approvals to the SDK under Approve When Safe|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: explicitly disabled on Windows|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession permission handling switching from Bypass to Default immediately disables SDK allow-all mode|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping history replay seeds turn id from the SDK envelope id, matching `turns.event_id`|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: explicitly disabled when the sandbox setting is off|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession plan mode send applies mode before forwarding to the SDK|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession MCP server inventory an MCP lifecycle change logs at info with the SDK-reported metadata|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×10 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×15 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession MCP server inventory a failed MCP server logs at error with structured attributes and preserves the failure detail|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession permission handling pending permissions are denied on abort|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×12 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×12 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession sendSteering does not flip turns for SDK-injected user messages (non-user source)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
forwardedChatError.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×10 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession sendSteering fires steering_consumed on abort when the steering never reached its turn|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×6 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×7 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotSlashCommandProvider.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×6 — Ancestor (broader)
Introduced files:
copilotSlashCommandProvider.ts ×12 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×6 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession plan mode applyMode pushes the mode to the SDK only when it changes|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×10 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×12 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
agentPeerChats.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
sessionState.ts ×1 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×2 — Ancestor (broader)
Introduced files:
claudeSdkMessageRouter.ts ×1 — Ancestor (broader)
Introduced files:
editSurvivalReporter.test|title=agentHost editSurvivalReporter resolves ahp-chat sub-channel URIs back to the parent harness|occurrence=1 — Ancestor (broader)
Introduced tests:
mcpCustomizationController.ts ×2 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×2 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×2 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×1 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×1 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×1 — Ancestor (broader)
Introduced files:
agentCustomizationSettings.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionServerTools.ts ×1 — Ancestor (broader)
Introduced files:
agentHostStateManager.ts ×1 — Ancestor (broader)
Introduced files:
agentHostStateManager.test|title=AgentHostStateManager getSnapshot returns undefined for unknown session|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostStateManager.test|title=AgentHostStateManager seeds host build info into root state _meta when provided|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostStateManager.test|title=AgentHostStateManager omits host build info from root state _meta when not provided|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostStateManager.ts ×3 — Ancestor (broader)
Introduced files:
sessionServerTools.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostStateManager.test|title=Subagent URI helpers buildSubagentSessionUri creates correct URI|occurrence=1, agentHostStateManager.test|title=Subagent URI helpers buildSubagentSessionUri preserves parent URI path shape|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostStateManager.test|title=Subagent URI helpers parseSubagentSessionUri handles nested subagent URIs|occurrence=1, agentHostStateManager.test|title=Subagent URI helpers parseSubagentSessionUri extracts parent and toolCallId|occurrence=1 — Ancestor (broader)
Introduced tests:
sessionState.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostStateManager.test|title=Subagent URI helpers parseSubagentSessionUri returns undefined for non-subagent URIs|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostStateManager.ts ×4 — Ancestor (broader)
Introduced files:
agentHostStateManager.ts ×1 — Ancestor (broader)
Introduced files:
agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat resolves the per-chat working directory override over the session default|occurrence=1, agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat falls back to the session working directory when no chat state is hydrated|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
agentHostStateManager.ts ×3 — Ancestor (broader)
Introduced files:
agentSubscription.ts ×81 — Ancestor (broader)
Introduced files:
agentService.test|title=resolveChatUri default chat collapses onto the scope (session) URI|occurrence=1 — Ancestor (broader)
Introduced tests:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
reducer.ts ×1 — Ancestor (broader)
Introduced files:
sessionState.ts ×2 — Ancestor (broader)
Introduced files:
sessionState.ts ×1 — Ancestor (broader)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×57 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×4 — Descendant (narrower)
Introduced files:
buffer.ts ×2 — Descendant (narrower)
Introduced files:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
commands.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — 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:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — 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: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/common/state/sessionState.ts 2 introduced LOC · 1 range
Open complete file
842
*/
843
export function buildDefaultChatUri ( sessionUri : ProtocolURI | ResourceURI ) : string {
845
>
}
846
847
const SUBAGENT_CHAT_ID = 'subagent' ;