agentService.ts ×1

Frontier kind: Code frontier

unlabeled · c_d144ce4e4f86

12 tests · 51134 LOC · 304 files · introduces 0 tests · 15 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range15 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
5267 ranges51134 lines · 304 files · Browse complete extent
All tests (intent)
12 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: 15 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/node/agentService.ts 15 introduced LOC · 1 range

Open complete file

1688 return undefined;
1689 }
1690 > const params: IAgentResolveSessionConfigParams = { agentService.ts
1691 > provider: provider.id,
1692 > workingDirectory: config.workingDirectory,
1693 > config: config.config,
1694 > };
1695 > try {
1696 > // Wrap with the host's isolation schema so the created config carries the
1697 > // `isolation` / `branch` values (and their git-derived defaults). The
1698 > // agent's own `resolveSessionConfig` omits them (isolation is host-owned),
1699 > // so without this a fresh worktree session's isolation is `undefined` at
1700 > // create time — the pending mark below is skipped and the send falls back
1701 > // to folder even though the user picked worktree.
1702 > const resolved = await this._withIsolationSchema(await provider.resolveSessionConfig(this._toProviderConfig(params)), params);
1703 > return { schema: resolved.schema, values: resolved.values };
1704 > } catch (err) {
1705 this._logService.error(`[AgentService] Failed to resolve created session config for provider ${provider.id}`, err);
1706 return config.config ? { schema: { type: 'object', properties: {} }, values: config.config } : undefined;