return INVALID;
}
const nonce = token.slice(0, dotIndex);
const sessionId = token.slice(dotIndex + 1);
if (nonce !== expectedNonce || sessionId.length === 0) {
return INVALID;
Frontier kind: Code frontier
unlabeled · c_236bed3f1986
54 tests · 3426 LOC · 19 files · introduces 0 tests · 3 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/claudeProxyService.test|title=ClaudeProxyService Streaming emits SSE frames in order with hand-rolled framing and rewrites message_start.message.model|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming socket.setNoDelay(true) is called on streaming responses|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming thinking_delta events pass through|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Streaming tool-use input_json_delta events pass through|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough forwards supported anthropic-beta|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough mixed beta list keeps supported entries only|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough drops supported family without date suffix|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Header passthrough filters out unsupported betas|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Auth Bearer <nonce>. (empty sessionId) → 401|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Auth Bearer wrong-nonce.x → 401|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Auth auth-first precedence: GET /v1/models with bad auth does not reach upstream|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Auth auth-first precedence: POST /v1/messages with bad auth does not reach upstream|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyService.test|title=ClaudeProxyService Auth auth-first precedence: POST /v1/messages/count_tokens with bad auth → 401 (not 501)|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyAuth.test|title=parseProxyBearer accepts Bearer <nonce>.<sessionId> with non-empty sessionId|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyAuth.test|title=parseProxyBearer preserves dots inside the sessionId portion|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyAuth.test|title=parseProxyBearer uses Authorization header when both x-api-key and Authorization are present|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyAuth.test|title=parseProxyBearer rejects Bearer <nonce>. with empty sessionId|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeProxyAuth.test|title=parseProxyBearer rejects Bearer with wrong nonce|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: 3 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
return INVALID;
}
const nonce = token.slice(0, dotIndex);
const sessionId = token.slice(dotIndex + 1);
if (nonce !== expectedNonce || sessionId.length === 0) {
return INVALID;