Intent of mapSessionEvents.ts ×5
All 18 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/18 tests-
platform/18 tests-
agentHost/18 tests-
test/18 tests-
node/18 tests-
buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents emits subagent.started for a sub-agent tool call so the name/1 test -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents round-trips a completed tool call interleaved with assistant text preserving order and identity|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents round-trips a failed tool call preserving the error message|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession event mapping history replay does not duplicate assistant tool requests with lifecycle events|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession event mapping history replay renders assistant tool requests when lifecycle events are missing|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/historyRecordFixtures.test|title=mapSessionEventsToHistoryRecords maps task_complete to a root markdown response part|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay a regular tool still renders as a tool call|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay derives shell tool intention from the description argument on replay|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay maps SDK shell_exit content to terminal completion on replayed tool completion|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay preserves non-zero terminal completion even when SDK tool completion succeeded|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay restores MCP app data for completed tool calls|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay terminal empty assistant message completes a tool-only turn|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay tool-only turn without a terminal assistant message remains cancelled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay uses top-level user messages as turn boundaries|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing routes subagent events tagged with envelope agentId into the subagent transcript|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing routes subagent skill events into the subagent transcript|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing subagent abort before its first response remains cancelled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing subagent abort marks the subagent turn cancelled|occurrence=1
-
-
-
-
-