*/
private _summaryFieldsEqual(a: SessionState, b: SessionState): boolean {
&& a.status === b.status
&& a.activity === b.activity
Frontier kind: Code frontier
unlabeled · c_79e9a0204498
401 tests · 19472 LOC · 83 files · introduces 0 tests · 11 LOC · 1 file
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.
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.
Every exact file and test below is linked only from the concept that introduces it.
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects immediate title on first turn dispatches titleChanged with user message on first turn|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects immediate title on first turn normalizes whitespace and truncates long messages|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — chat/toolCallComplete routing forwards owning session + chat URI for an additional-chat completion|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects handleAction — chat/toolCallComplete routing forwards session + default chat URI for a default-chat completion|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostSessionTitleController.test|title=AgentHostSessionTitleController refineTitleFromFirstTurn ignores tool calls and reasoning, keeping only text parts|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostSessionTitleController.test|title=AgentHostSessionTitleController refineTitleFromFirstTurn regenerates the title from the first-turn context|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 11 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
*/
private _summaryFieldsEqual(a: SessionState, b: SessionState): boolean {
&& a.status === b.status
&& a.activity === b.activity
&& a.annotations === b.annotations
&& a._meta === b._meta;
/**
const entry = this._sessionStates.get(key);
if (entry) {
const newState = sessionReducer(entry.state, sessionAction, this._log);
agentHostStateManager.ts
const summaryChanged = !this._summaryFieldsEqual(entry.state, newState);
entry.state = newState;
// When the reducer touched a summary-relevant field, notify
// root-channel clients of the derived-summary delta.
if (summaryChanged) {
this._summaryNotifier.markDirty(key);
}
resultingState = newState;
} else if (!isAhpChatChannel(key)) {
this._logService.warn(`[AgentHostStateManager] Action for unknown session: ${key}, type=${action.type}`);