billion-context 0.1.54-pr.248.95 → 0.1.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52138,12 +52138,6 @@ function deriveSessionId(headers, protocol, upstream, conversation) {
|
|
|
52138
52138
|
function affinityToken(identity) {
|
|
52139
52139
|
return identity.clientProvided ? identity.value : void 0;
|
|
52140
52140
|
}
|
|
52141
|
-
function preferPromptCacheKeyIdentity(identity, body) {
|
|
52142
|
-
if (!identity || identity.source !== "content-fingerprint") return identity;
|
|
52143
|
-
const pck = typeof body.prompt_cache_key === "string" ? body.prompt_cache_key.trim() : "";
|
|
52144
|
-
if (pck.length === 0) return identity;
|
|
52145
|
-
return { ...identity, value: pck, source: "prompt-cache-key", clientProvided: true };
|
|
52146
|
-
}
|
|
52147
52141
|
|
|
52148
52142
|
// node_modules/acp-kernel/dist/panel/index.js
|
|
52149
52143
|
function topicFallback(summary) {
|
|
@@ -54494,10 +54488,7 @@ ${bodyBuffer.toString("utf8")}`);
|
|
|
54494
54488
|
let pluginConversation = pluginConversationHeader(req.headers);
|
|
54495
54489
|
const clientConv = clientConversationHeader(req.headers);
|
|
54496
54490
|
const convHeader = clientConv ?? sessionHeader;
|
|
54497
|
-
const responsesIdentity = protocol === "responses" ?
|
|
54498
|
-
conversationIdentityResponses(parsed, convHeader),
|
|
54499
|
-
parsed
|
|
54500
|
-
) : void 0;
|
|
54491
|
+
const responsesIdentity = protocol === "responses" ? conversationIdentityResponses(parsed, convHeader) : void 0;
|
|
54501
54492
|
const conversation = protocol === "anthropic" ? conversationSignalAnthropic(parsed, convHeader) : protocol === "openai" ? conversationSignalOpenai(parsed, convHeader) : subagentNamespace(
|
|
54502
54493
|
responsesIdentity?.value ?? conversationSignalResponses(parsed, convHeader),
|
|
54503
54494
|
parsed.instructions
|