@jeffusion/bungee-llms 6.15.1 → 6.16.0

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.
@@ -5,6 +5,7 @@ export declare function geminiInlineImage(image: JsonRecord, path: string, budge
5
5
  };
6
6
  export declare function geminiToolResponse(content: unknown, path: string, budget: ResponsesCodecLimits, diagnostics: ResponsesConversionDiagnostic[]): JsonRecord;
7
7
  export declare function checkedSignature(value: unknown, maxBytes: number): string;
8
+ export declare const isGeminiSignatureCarrier: (value: unknown) => boolean;
8
9
  export declare const geminiEnvelopeBytes: (payloadBytes: number) => number;
9
10
  type SignedPart = {
10
11
  length: number;
@@ -1,6 +1,6 @@
1
1
  import { type ProtocolSession, type ProtocolSessionContext } from './types';
2
2
  export * from './types';
3
- export declare const PROTOCOL_CONVERSION_RULES_VERSION = "1.0.5";
3
+ export declare const PROTOCOL_CONVERSION_RULES_VERSION = "1.0.6";
4
4
  export declare function describeProtocolConversion(): {
5
5
  rulesVersion: string;
6
6
  protocols: ("chat_completions" | "anthropic_messages" | "responses" | "gemini_generate_content")[];
@@ -21,6 +21,8 @@ export interface ProtocolSessionCapabilities extends ResponsesCodecCapabilities
21
21
  export interface ProtocolSessionContext {
22
22
  /** Request-scoped opt-in; absence preserves strict collaboration handling. */
23
23
  agentMessageDelivery?: ResponsesCodecCapabilities['agentMessageDelivery'];
24
+ /** Allows partial replay of opaque Responses history into Chat Completions. */
25
+ allowLossyContinuation?: boolean;
24
26
  sourceProtocol: LLMProtocol;
25
27
  targetProtocol: LLMProtocol;
26
28
  /** Target model; caller owns routing and source URL validation. */
@@ -9,4 +9,6 @@ export interface DecodedResponsesRequest {
9
9
  export declare function decodeResponsesRequest(raw: unknown, protocol: ResponsesProtocol, capabilities?: ResponsesCodecCapabilities, options?: {
10
10
  preserveContentOrder?: boolean;
11
11
  toolOutputImages?: boolean;
12
+ allowLossyContinuation?: boolean;
13
+ chatConfigurationUpdates?: ReadonlySet<JsonRecord>;
12
14
  }): DecodedResponsesRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeffusion/bungee-llms",
3
- "version": "6.15.1",
3
+ "version": "6.16.0",
4
4
  "description": "Extensible LLM adapters and protocol conversion package for Bungee",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "prepublishOnly": "bun run build"
12
12
  },
13
13
  "dependencies": {
14
- "@jeffusion/bungee-types": "^6.15.1"
14
+ "@jeffusion/bungee-types": "^6.16.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "bun-types": "^1.3.2",