Intent of agentHostTurnTracker.ts ×2
All 63 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/63 tests-
platform/63 tests-
agentHost/63 tests-
test/63 tests-
node/63 tests-
agentSideEffects.test|title=AgentSideEffects handleAction — session/2 tests-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — session/toolCallConfirmed handles denial of tool call|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — session/toolCallConfirmed routes confirmation to correct agent via _toolCallAgents|occurrence=1
-
-
agentSideEffects.test|title=AgentSideEffects turn completion — read/1 test -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry does not emit after a client tool completes or its turn is cancelled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry drops an in-flight tool call when the turn is cancelled before completion|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a single event when a tool completion is duplicated|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a successful agent-host tool invocation|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits client source kind for a client-contributed tool|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits error for a failure without a cancellation code|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits once when a tool confirmation remains blocked|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits userCancelled with mcp source kind for a denied mcp tool|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits when a stalled client tool later completes|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry replaces confirmation tracking with client execution tracking|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostTurnTelemetry.test|title=AgentSideEffects — turn tracker telemetry emits turnCompleted with timing, model and permissionLevel on success|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) registerProvider maps progress events to protocol actions via onDidAction|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) subagent membership sequencing a subagent tool call awaiting user confirmation does not time out before the user responds|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) subagent membership sequencing an inner tool call arriving before subagent_started is buffered and drained onto the subagent chat|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) subagent membership sequencing denying a subagent tool call before confirmation does not leave a dangling wait|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) subagent membership sequencing subscribe to a subagent chat announced via _meta.subagentChatUri waits for the resource instead of failing immediately|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) subagent membership sequencing subscribe to an announced subagent chat that never spawns eventually rejects instead of hanging|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects changeset forwarders post-toolCallComplete edits fire onToolCallEditsApplied once|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects edit auto-approve auto-approves writes to regular source files|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects edit auto-approve blocks writes to .env files|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects edit auto-approve blocks writes to .git directory|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects edit auto-approve blocks writes to .lock files|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects edit auto-approve blocks writes to package.json|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects read auto-approve auto-approves reads inside working directory|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects read auto-approve does not auto-approve reads outside working directory|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects registerProgressListener does not route stale actions into a force-started turn|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects registerProgressListener maps agent progress events to state actions|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects registerProgressListener preserves the turn id of a provider-initiated turn when idle|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects registerProgressListener returns a disposable that stops listening|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects registerProgressListener stale completion does not clear active turn tool tracking|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session config auto-approve auto-approves all writes when autoApprove is set to bypass|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session config auto-approve auto-approves shell commands when autoApprove is set to bypass|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session config auto-approve does NOT auto-approve a shell command that opted out of the sandbox, even in bypass mode|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session config auto-approve does NOT auto-approve when autoApprove is default|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session config auto-approve marks pending client tool approval for client-side auto-approval in bypass mode|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session config auto-approve respects mid-session config change via SessionConfigChanged|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session inputNeeded production a blocker inside a subagent is produced against the subagent chat|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session permissions ChatToolCallConfirmed with allow-session adds tool to session permissions|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session permissions subagent tool calls inherit parent session permissions|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session permissions subsequent tool_ready for same tool is auto-approved after allow-session permission|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects session permissions tool_ready action includes confirmation options when confirmation is needed|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions cancelSubagentSessions cancels all subagent chats|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions completeSubagentSession clears pending buffered events when subagent never started|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions deltas with parentToolCallId route to subagent session|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions events with parentToolCallId route to subagent session|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions inner tool_start arriving BEFORE subagent_started routes to subagent (not parent)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions nested subagent_started routes discovery block and seeds each request prompt via the immediate parent chat (arbitrary depth)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions reads inside parent working directory are auto-approved for tools in subagent sessions|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions removeSubagentSessions removes all subagent chats from state|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions session-level autoApprove on the parent is inherited by tools in subagent sessions|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions stamps _meta.subagentChatUri onto a subagent-spawning tool call as soon as toolKind is known|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions subagent_completed signal completes the subagent turn|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions subagent_started creates a subagent chat and dispatches content on parent tool call|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions tool_complete preserves subagent content in completed tool call|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state pending_confirmation for a tool inside a subagent routes to the subagent session|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state pending_confirmation without an active turn still dispatches (does not hang)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state tool_ready for a non-permission tool dispatches ChatToolCallReady and advances state from Streaming to Running|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state tool_ready for a permission-gated tool dispatches ChatToolCallReady and advances state to PendingConfirmation|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state tool_ready for an additional chat is emitted on that chat channel|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state tool_ready is dropped when the tool completes while permission lookup is pending|occurrence=1
-
-
-
-
-