claudeProxyService.ts ×1
Frontier kind: Code frontier
unlabeled · c_2852b677c6b4
14 tests · 21034 LOC · 89 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 lines · 1 files
Tests
0 tests
Contains — complete concept membership
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.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
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.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
claudeProxyService.ts ×1 — Focused concept
Introduced files:
claudeProxyService.test|title=ClaudeProxyService Credits reporting no copilot_usage in the response → no credits report|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeProxyService.test|title=ClaudeProxyService Streaming thinking_delta events pass through|occurrence=1, claudeProxyService.test|title=ClaudeProxyService Streaming tool-use input_json_delta events pass through|occurrence=1, +2 — Ancestor (broader)
Introduced tests:
claudeProxyService.test|title=ClaudeProxyService Header passthrough drops x-request-id and arbitrary headers|occurrence=1 — Ancestor (broader)
Introduced tests:
messages model translation SDK ID inbound is translated to endpoint ID upstream|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeProxyService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeProxyService.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeProxyService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
messages model translation endpoint ID inbound is also accepted|occurrence=1 — Ancestor (broader)
Introduced tests:
messages model translation non-streaming response model is rewritten to SDK format|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeProxyService.ts ×2 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×3 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×4 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×7 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×4 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×9 — Descendant (narrower)
Introduced files:
claudeProxyService.ts ×22 — Descendant (narrower)
Introduced files:
forwardedChatError.ts ×12 — Descendant (narrower)
Introduced files:
copilotApiService.ts ×30 — Descendant (narrower)
Introduced files:
agentHostGitHubEndpointService.ts ×9 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×16 — Descendant (narrower)
Introduced files:
agentCustomizationSettings.ts ×7 — Descendant (narrower)
Introduced files:
loopbackProxyServer.test|title=LoopbackProxyServer readProxyRequestBody reads the full request body as UTF-8|occurrence=1, loopbackProxyServer.test|title=LoopbackProxyServer readProxyRequestBody resolves to an empty string for a body-less request|occurrence=1 — Descendant (narrower)
Introduced tests:
loopbackProxyServer.test|title=LoopbackProxyServer Lifecycle & binding serves real requests via handleRequest|occurrence=1, loopbackProxyServer.test|title=LoopbackProxyServer Refcounting disposing the last handle tears the server down|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
loopbackProxyServer.ts ×1 — Descendant (narrower)
Introduced files:
loopbackProxyServer.test|title=LoopbackProxyServer Lifecycle & binding binds only on the IPv4 loopback interface|occurrence=1, loopbackProxyServer.test|title=LoopbackProxyServer Refcounting concurrent acquires share a single bind and one state object|occurrence=1, +4 — Descendant (narrower)
Introduced tests:
loopbackProxyServer.ts ×1 — Descendant (narrower)
Introduced files:
loopbackProxyServer.ts ×2 — Descendant (narrower)
Introduced files:
loopbackProxyServer.ts ×9 — Descendant (narrower)
Introduced files:
loopbackProxyServer.ts ×8 — Descendant (narrower)
Introduced files:
loopbackProxyServer.ts ×1 — Descendant (narrower)
Introduced files:
loopbackProxyServer.ts ×8 — Descendant (narrower)
Introduced files:
loopbackProxyServer.ts ×12 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×3 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×201 — Descendant (narrower)
Introduced files:
githubEndpoints.ts ×4 — Descendant (narrower)
Introduced files:
agentService.ts ×15 — Descendant (narrower)
Introduced files:
id.ts ×6 — Descendant (narrower)
Introduced files:
hash.ts ×17 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×60 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
productService.ts ×1 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
sessionActions.ts ×6 — Descendant (narrower)
Introduced files:
sessionState.ts ×57 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×3 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
sandboxConfigSchema.ts ×1 — Descendant (narrower)
Introduced files:
copilotCliConfig.ts ×2 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×21 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
scanner.ts ×13 — Descendant (narrower)
Introduced files:
scanner.ts ×3 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×1 — Descendant (narrower)
Introduced files:
scanner.ts ×36 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×2 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×4 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×9 — Descendant (narrower)
Introduced files:
settings.ts ×2 — Descendant (narrower)
Introduced files:
configuration.ts ×12 — Descendant (narrower)
Introduced files:
sessionProtocol.ts ×5 — Descendant (narrower)
Introduced files:
settings.ts ×1 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×9 — Descendant (narrower)
Introduced files:
sessionConfigKeys.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyAuth.test|title=parseProxyBearer preserves dots inside the sessionId portion|occurrence=1, claudeProxyAuth.test|title=parseProxyBearer accepts Bearer <nonce>.<sessionId> with non-empty sessionId|occurrence=1, +1 — Descendant (narrower)
Introduced tests:
state.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyAuth.ts ×1 — Descendant (narrower)
Introduced files:
commands.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyAuth.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyAuth.ts ×1 — Descendant (narrower)
Introduced files:
uuid.test|title=UUID generation|occurrence=1 — Descendant (narrower)
Introduced tests:
claudeProxyAuth.ts ×2 — Descendant (narrower)
Introduced files:
equals.ts ×14 — Descendant (narrower)
Introduced files:
actions.ts ×1 — Descendant (narrower)
Introduced files:
copilotTokenFields.ts ×2 — Descendant (narrower)
Introduced files:
actions.ts ×1 — Descendant (narrower)
Introduced files:
anthropicBetas.ts ×1 — Descendant (narrower)
Introduced files:
claudeProxyAuth.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
utils.ts ×3 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
telemetry.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
errorMessage.ts ×6 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
nls.ts ×6 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
uuid.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uint.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
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: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/claude/claudeProxyService.ts 2 introduced LOC · 1 range
Open complete file
214
private _reportCredits ( sessionId : string | undefined , totalNanoAiu : number | undefined ) : void {
215
if ( sessionId === undefined || totalNanoAiu === undefined ) {
217
>
}
218
this . _logService . trace ( `[ ${ PROXY_USER_FACING_NAME } ] credits: session= ${ sessionId } totalNanoAiu= ${ totalNanoAiu } ` );
219
this . _onDidReportCredits . fire ({ sessionId , totalNanoAiu });