sessionServerTools.ts ×5

Frontier kind: Code frontier

unlabeled · c_362342233478

2 tests · 21791 LOC · 87 files · introduces 0 tests · 7 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges7 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1852 ranges21791 lines · 87 files · Browse complete extent
All tests (intent)
2 testsBrowse complete intent

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.

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.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

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 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/node/shared/sessionServerTools.ts 7 introduced LOC · 5 ranges

Open complete file

397 return undefined;
398 }
399 > if (typeof value !== 'boolean') { sessionServerTools.ts
400 throw new Error(`Invalid ${toolName} input: ${field} must be a boolean.`);
401 }
407 return undefined;
408 }
409 > if (typeof value !== 'string') { sessionServerTools.ts
410 throw new Error(`Invalid ${toolName} input: ${field} must be an ISO-8601 timestamp string.`);
411 }
412 > const parsed = Date.parse(value); sessionServerTools.ts
413 > if (Number.isNaN(parsed)) {
414 throw new Error(`Invalid ${toolName} input: ${field} must be a valid ISO-8601 timestamp (e.g. 2025-01-31T00:00:00Z).`);
415 }
423 let status: Set<string> | undefined;
424 if (args.status !== undefined) {
425 > if (!Array.isArray(args.status) || args.status.some(value => typeof value !== 'string')) { sessionServerTools.ts
426 throw new Error(`Invalid ${listSessionsToolName} input: status must be an array of status names.`);
427 }
428 > const invalid = (args.status as string[]).filter(value => !(listSessionsStatusValues as readonly string[]).includes(value)); sessionServerTools.ts
429 > if (invalid.length > 0) {
430 throw new Error(`Invalid ${listSessionsToolName} input: unknown status value(s) ${invalid.join(', ')}. Valid values: ${listSessionsStatusValues.join(', ')}.`);
431 }