codexSessionConfigKeys.ts ×7

Frontier kind: Joint frontier

unlabeled · c_e827912118c9

1 test · 36129 LOC · 192 files · introduces 1 test · 49 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
7 ranges49 lines · 1 files
Tests
1 test

Contains — complete concept membership

All code (extent)
3137 ranges36129 lines · 192 files · Browse complete extent
All tests (intent)
1 testBrowse 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.

1 test introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 49 introduced LOC across 7 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/node/codex/codexSessionConfigKeys.ts 49 introduced LOC · 7 ranges

Open complete file

130
131 export function narrowAdditionalDirectories(value: unknown): readonly string[] | undefined {
132 > if (!Array.isArray(value)) { codexSessionConfigKeys.ts
133 > return undefined;
134 > }
135 > return value.filter((entry): entry is string => typeof entry === 'string' && entry.length > 0);
136 > }
137
138 export function narrowBoolean(value: unknown): boolean | undefined {
139 > return typeof value === 'boolean' ? value : undefined; codexSessionConfigKeys.ts
140 > }
141
142 export function narrowWebSearchMode(value: unknown): WebSearchMode | undefined {
143 > switch (value) { codexSessionConfigKeys.ts
144 > case 'disabled':
145 > case 'cached':
146 > case 'live':
147 > return value;
148 > default:
149 > return undefined;
150 > }
151 > }
152
153 export function narrowReasoningEffort(value: unknown): ReasoningEffort | undefined {
154 > switch (value) { codexSessionConfigKeys.ts
155 > case 'none':
156 > case 'minimal':
157 > case 'low':
158 > case 'medium':
159 > case 'high':
160 > case 'xhigh':
161 > return value;
162 > default:
163 > return undefined;
164 > }
165 > }
166
167 export function narrowPersonality(value: unknown): Personality | undefined {
168 > switch (value) { codexSessionConfigKeys.ts
169 > case 'none':
170 > case 'friendly':
171 > case 'pragmatic':
172 > return value;
173 > default:
174 > return undefined;
175 > }
176 > }
177
178 export function narrowReasoningSummary(value: unknown): ReasoningSummary | undefined {
179 > switch (value) { codexSessionConfigKeys.ts
180 > case 'auto':
181 > case 'concise':
182 > case 'detailed':
183 > case 'none':
184 > return value;
185 > default:
186 > return undefined;
187 > }
188 > }
189
190 /**
194 */
195 export function collaborationModeKind(value: unknown): ModeKind {
196 > return value === 'plan' ? 'plan' : 'default'; codexSessionConfigKeys.ts
197 > }