@eddyskywalker/dsh-chatgpt-subscription 0.80.0 → 0.80.1
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/CHANGELOG.md +11 -0
- package/lib/client.js.map +1 -1
- package/lib/index.js +171 -39
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/host/claude/adapter.d.ts.map +1 -1
- package/lib/types/host/common/request-images.d.ts +3 -1
- package/lib/types/host/common/request-images.d.ts.map +1 -1
- package/lib/types/host/relayone/mapper-anthropic.d.ts +1 -1
- package/lib/types/host/relayone/mapper-anthropic.d.ts.map +1 -1
- package/lib/types/host/relayone/mapper-openai.d.ts.map +1 -1
- package/lib/types/host/relayone/mapper-shared.d.ts +1 -0
- package/lib/types/host/relayone/mapper-shared.d.ts.map +1 -1
- package/lib/types/host/relayone/model-catalog.d.ts +11 -0
- package/lib/types/host/relayone/model-catalog.d.ts.map +1 -1
- package/lib/types/host/responses-client.d.ts.map +1 -1
- package/lib/types/host/responses-mapper.d.ts +1 -0
- package/lib/types/host/responses-mapper.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -832,7 +832,7 @@ const ROUTE_PREFIX$5 = "/api/dsh-chatgpt-subscription";
|
|
|
832
832
|
* `test/responses-client.test.ts` asserts the two agree, so a release that
|
|
833
833
|
* forgets this constant fails the suite instead of shipping quietly.
|
|
834
834
|
*/
|
|
835
|
-
const PLUGIN_VERSION = "0.80.
|
|
835
|
+
const PLUGIN_VERSION = "0.80.1";
|
|
836
836
|
const CODEX_CHATGPT_PROVIDER_ID = "codex-chatgpt";
|
|
837
837
|
const CODEX_API_BASE = "https://chatgpt.com/backend-api/codex";
|
|
838
838
|
const CODEX_RESPONSES_URL = `${CODEX_API_BASE}/responses`;
|
|
@@ -9940,6 +9940,7 @@ function toolRemovalNotice(names) {
|
|
|
9940
9940
|
const list = names.map((name) => `"${name}"`).join(", ");
|
|
9941
9941
|
return names.length === 1 ? `[The tool ${list} is no longer available. Do not call it again: any call will fail.]` : `[The tools ${list} are no longer available. Do not call them again: any call will fail.]`;
|
|
9942
9942
|
}
|
|
9943
|
+
const CODEX_BASE_INSTRUCTIONS_KIND = "model.base_instructions";
|
|
9943
9944
|
/**
|
|
9944
9945
|
* The base instructions as a developer message.
|
|
9945
9946
|
*
|
|
@@ -9958,7 +9959,7 @@ function developerMessageItem(text, idNamespace, useResponsesLite) {
|
|
|
9958
9959
|
text
|
|
9959
9960
|
}],
|
|
9960
9961
|
internal_chat_message_metadata_passthrough: {
|
|
9961
|
-
content_item_kinds: [
|
|
9962
|
+
content_item_kinds: [CODEX_BASE_INSTRUCTIONS_KIND],
|
|
9962
9963
|
...useResponsesLite ? { content_item_metadata: [{ provenance: {
|
|
9963
9964
|
type: "harness",
|
|
9964
9965
|
hook: false
|
|
@@ -10645,9 +10646,22 @@ const REASONING_TRUNCATED_NOTICE = "\n\n[Reasoning summary truncated to keep the
|
|
|
10645
10646
|
const MAX_TRACKED_TURN_STATES = 200;
|
|
10646
10647
|
const codexPrefixRequests = new PrefixRequestCoordinator();
|
|
10647
10648
|
function codexColdGroupKey(payload, credentials) {
|
|
10648
|
-
const
|
|
10649
|
-
|
|
10650
|
-
const
|
|
10649
|
+
const input = Array.isArray(payload.input) ? payload.input : [];
|
|
10650
|
+
const head = record$4(input[0]);
|
|
10651
|
+
const liteTools = head?.type === "additional_tools" ? head.tools : void 0;
|
|
10652
|
+
const instructions = liteTools === void 0 ? head : record$4(input[1]);
|
|
10653
|
+
const kinds = record$4(instructions?.internal_chat_message_metadata_passthrough)?.content_item_kinds;
|
|
10654
|
+
if (instructions?.role !== "developer" || !Array.isArray(kinds) || !kinds.includes("model.base_instructions")) return void 0;
|
|
10655
|
+
const digest = createHash("sha256").update(JSON.stringify([
|
|
10656
|
+
instructions.content,
|
|
10657
|
+
liteTools,
|
|
10658
|
+
payload.tools,
|
|
10659
|
+
payload.tool_choice,
|
|
10660
|
+
payload.parallel_tool_calls,
|
|
10661
|
+
payload.reasoning,
|
|
10662
|
+
payload.text,
|
|
10663
|
+
payload.service_tier
|
|
10664
|
+
])).digest("hex");
|
|
10651
10665
|
return `${String(payload.model ?? "")}:${digest}:${authOwnerKey(credentials)}`;
|
|
10652
10666
|
}
|
|
10653
10667
|
var ResponsesClient = class {
|
|
@@ -24343,6 +24357,7 @@ const MAX_VIDEO_MESSAGE_BODY_BYTES = 64 * 1024 * 1024;
|
|
|
24343
24357
|
*/
|
|
24344
24358
|
const MAX_REQUEST_VIDEO_BYTES$1 = 48 * 1024 * 1024;
|
|
24345
24359
|
const OMITTED_IMAGE_TEXT$1 = "[image omitted to keep the request within its size limit; older images are omitted first. If this image is still needed, read its file again when a path is available; otherwise ask the user to attach it again.]";
|
|
24360
|
+
const STICKY_OMITTED_IMAGE_TEXT = "[image omitted to keep the request within its size limit. The same image will stay omitted in this conversation. If it is needed, use a smaller or cropped copy.]";
|
|
24346
24361
|
/** Media types both upstream wires accept as inline base64. */
|
|
24347
24362
|
const SUPPORTED_IMAGE_MEDIA_TYPES$3 = /* @__PURE__ */ new Set([
|
|
24348
24363
|
"image/png",
|
|
@@ -24613,7 +24628,7 @@ function requestImageKey(block, images) {
|
|
|
24613
24628
|
* included: a screenshot inside a tool result reaches the wire, so an
|
|
24614
24629
|
* occurrence the budget cannot see is an occurrence it cannot budget for.
|
|
24615
24630
|
*/
|
|
24616
|
-
function collectImageOccurrences(options, images) {
|
|
24631
|
+
function collectImageOccurrences(options, images, maxImageBytes = Number.POSITIVE_INFINITY) {
|
|
24617
24632
|
const occurrences = [];
|
|
24618
24633
|
const walk = (content) => {
|
|
24619
24634
|
if (!Array.isArray(content)) return;
|
|
@@ -24621,8 +24636,9 @@ function collectImageOccurrences(options, images) {
|
|
|
24621
24636
|
if (!isRecord$63(block)) continue;
|
|
24622
24637
|
if (block.type === "image") {
|
|
24623
24638
|
const bytes = requestImagePayloadLength(block, images);
|
|
24639
|
+
if (bytes === void 0 || bytes > maxImageBytes) continue;
|
|
24624
24640
|
const key = requestImageKey(block, images);
|
|
24625
|
-
if (
|
|
24641
|
+
if (key !== void 0) occurrences.push({
|
|
24626
24642
|
key,
|
|
24627
24643
|
bytes
|
|
24628
24644
|
});
|
|
@@ -24696,7 +24712,7 @@ function replaceDroppedRequestImages(options, droppedKeys, images) {
|
|
|
24696
24712
|
count += 1;
|
|
24697
24713
|
return {
|
|
24698
24714
|
type: "text",
|
|
24699
|
-
text:
|
|
24715
|
+
text: STICKY_OMITTED_IMAGE_TEXT
|
|
24700
24716
|
};
|
|
24701
24717
|
}
|
|
24702
24718
|
if (block.type === "tool-result" && Array.isArray(block.content)) {
|
|
@@ -24758,11 +24774,13 @@ function replaceDroppedRequestImages(options, droppedKeys, images) {
|
|
|
24758
24774
|
* @param inlineExcludedKeys - identities whose actual wire form is a hosted
|
|
24759
24775
|
* reference rather than inline bytes. They stay in request order with a zero
|
|
24760
24776
|
* byte weight; only genuinely inline images consume this budget.
|
|
24777
|
+
* @param maxImageBytes - per-image limit when the mapper independently replaces
|
|
24778
|
+
* larger images with placeholders. Those images do not consume the total budget.
|
|
24761
24779
|
*/
|
|
24762
|
-
function offloadRequestImagesWithStickyBudget(options, maxBytes = MAX_REQUEST_IMAGE_BYTES$1, lowBytes = Math.max(1, Math.floor(maxBytes / 2)), images, priorDroppedKeys, inlineExcludedKeys) {
|
|
24780
|
+
function offloadRequestImagesWithStickyBudget(options, maxBytes = MAX_REQUEST_IMAGE_BYTES$1, lowBytes = Math.max(1, Math.floor(maxBytes / 2)), images, priorDroppedKeys, inlineExcludedKeys, maxImageBytes = Number.POSITIVE_INFINITY) {
|
|
24763
24781
|
const allDroppedKeys = new Set(priorDroppedKeys ?? []);
|
|
24764
24782
|
const pending = /* @__PURE__ */ new Map();
|
|
24765
|
-
for (const occurrence of collectImageOccurrences(options, images)) {
|
|
24783
|
+
for (const occurrence of collectImageOccurrences(options, images, maxImageBytes)) {
|
|
24766
24784
|
if (allDroppedKeys.has(occurrence.key)) continue;
|
|
24767
24785
|
const bytes = inlineExcludedKeys?.has(occurrence.key) ? 0 : occurrence.bytes;
|
|
24768
24786
|
pending.set(occurrence.key, (pending.get(occurrence.key) ?? 0) + bytes);
|
|
@@ -55553,6 +55571,26 @@ const NO_RESOLVED_IMAGES$1 = /* @__PURE__ */ new Map();
|
|
|
55553
55571
|
* still catching the runaway case locally rather than as a 413.
|
|
55554
55572
|
*/
|
|
55555
55573
|
const MAX_REQUEST_IMAGE_BYTES = 8 * 1024 * 1024;
|
|
55574
|
+
/**
|
|
55575
|
+
* Base64 image payload ONE image may carry.
|
|
55576
|
+
*
|
|
55577
|
+
* A SEPARATE budget from {@link MAX_REQUEST_IMAGE_BYTES}, and enforced by a
|
|
55578
|
+
* separate pass. The two answer different questions: the per-image ceiling
|
|
55579
|
+
* asks whether THIS picture is acceptable to the endpoint, while the
|
|
55580
|
+
* per-request ceiling asks whether the conversation is still a reasonable
|
|
55581
|
+
* size. A single budget cannot answer both — one image can be over the
|
|
55582
|
+
* per-image ceiling while the request as a whole is small, and that request
|
|
55583
|
+
* is refused by the endpoint however small it is.
|
|
55584
|
+
*
|
|
55585
|
+
* 5 MB of base64 is the per-image figure the vendor publishes for the
|
|
55586
|
+
* narrower platforms, and it is the figure this line already targeted
|
|
55587
|
+
* indirectly: the request-version byte target below
|
|
55588
|
+
* ({@link REQUEST_IMAGE_VERSION_MAX_BYTES}) produces a payload of about
|
|
55589
|
+
* 4.7 MB of base64, which is under it. What was missing was the check
|
|
55590
|
+
* itself — an image that fitted the edge limit but not the byte limit was
|
|
55591
|
+
* sent as stored.
|
|
55592
|
+
*/
|
|
55593
|
+
const MAX_SINGLE_REQUEST_IMAGE_BYTES = 5 * 1024 * 1024;
|
|
55556
55594
|
const OMITTED_IMAGE_TEXT = "[image omitted to keep the request within its size limit; older images are omitted first. If this image is still needed, read its file again when a path is available; otherwise ask the user to attach it again.]";
|
|
55557
55595
|
/** Media types this wire accepts as inline base64. Transcribed from the API docs. */
|
|
55558
55596
|
const SUPPORTED_IMAGE_MEDIA_TYPES$1 = /* @__PURE__ */ new Set([
|
|
@@ -58386,7 +58424,7 @@ function assertClaudeCliVersionMeetsFloor(modelId, catalog = FALLBACK_MODELS) {
|
|
|
58386
58424
|
throw new LlmError$1("Claude(订阅) will not serve " + modelId + " to a client reporting version " + effective + ": upstream requires " + floor + " or newer for this model, and a lower claim is refused with claude_code_version_too_old. This was caught locally, before the request was sent. Raise the reported version with the DSH_CLAUDE_CLI_VERSION environment variable, or with a setClaudeCliVersion pin, then retry. The stored sign-in is still valid — this is not a credential problem and signing in again will not change it.", "PROVIDER_ERROR");
|
|
58387
58425
|
}
|
|
58388
58426
|
const claudePrefixRequests = new PrefixRequestCoordinator();
|
|
58389
|
-
const claudeStickyImages = new StickyImageBudgetStore(
|
|
58427
|
+
const claudeStickyImages = new StickyImageBudgetStore(`claude-${MAX_REQUEST_IMAGE_BYTES}-${MAX_SINGLE_REQUEST_IMAGE_BYTES}`);
|
|
58390
58428
|
/**
|
|
58391
58429
|
* The immutable id of the account a token came from, presented as the two-method
|
|
58392
58430
|
* store oauth.ts wants. See module note 3.
|
|
@@ -58665,7 +58703,7 @@ var ClaudeAdapter = class ClaudeAdapter extends LlmAdapter {
|
|
|
58665
58703
|
const normalized = withStaticPrefixOrdering("claude", normalizeGenerateOptions(options), this.options.promptCache);
|
|
58666
58704
|
const images = await resolveRequestImages(normalized, this.options.attachments, signal);
|
|
58667
58705
|
const stickyImages = new Map([...images].map(([id, image]) => [id, image.kind === "oversized" ? { kind: "unavailable" } : image]));
|
|
58668
|
-
const sticky = promptCachePolicyOf("claude", this.options.promptCache).stickyImages ? offloadRequestImagesWithStickyBudget(normalized, MAX_REQUEST_IMAGE_BYTES
|
|
58706
|
+
const sticky = promptCachePolicyOf("claude", this.options.promptCache).stickyImages ? offloadRequestImagesWithStickyBudget(normalized, MAX_REQUEST_IMAGE_BYTES, MAX_SINGLE_REQUEST_IMAGE_BYTES, stickyImages, claudeStickyImages.priorDroppedKeys(normalized.sessionId), void 0, MAX_SINGLE_REQUEST_IMAGE_BYTES) : void 0;
|
|
58669
58707
|
const requestOptions = sticky?.options ?? offloadOldestRequestImages(normalized, images);
|
|
58670
58708
|
if (sticky !== void 0 && sticky.newlyDroppedKeys.length > 0) claudeStickyImages.record(normalized.sessionId, sticky.allDroppedKeys);
|
|
58671
58709
|
const toolNames = claudeToolNames(requestOptions.tools);
|
|
@@ -107620,7 +107658,46 @@ const DEFAULT_REASONING = [
|
|
|
107620
107658
|
"medium",
|
|
107621
107659
|
"high"
|
|
107622
107660
|
];
|
|
107623
|
-
|
|
107661
|
+
const ADAPTIVE_REASONING = [
|
|
107662
|
+
...DEFAULT_REASONING,
|
|
107663
|
+
"xhigh",
|
|
107664
|
+
"max"
|
|
107665
|
+
];
|
|
107666
|
+
const DISABLEABLE_ADAPTIVE_REASONING = ["none", ...ADAPTIVE_REASONING];
|
|
107667
|
+
/**
|
|
107668
|
+
* Public Messages capabilities, not the Claude Code subscription's OAuth/betas.
|
|
107669
|
+
* https://platform.claude.com/docs/en/build-with-claude/thinking#when-thinking-turns-on
|
|
107670
|
+
* https://platform.claude.com/docs/en/build-with-claude/effort#effort-levels
|
|
107671
|
+
*/
|
|
107672
|
+
function relayOneClaudeAdaptiveThinking(id) {
|
|
107673
|
+
const model = id.toLowerCase().replace(/-\d{8}$/, "");
|
|
107674
|
+
if (/^claude-(?:opus|sonnet)-4-6$/.test(model)) return {
|
|
107675
|
+
efforts: [...DEFAULT_REASONING, "max"],
|
|
107676
|
+
enabledByDefault: false,
|
|
107677
|
+
allowsTemperatureWhenOff: true
|
|
107678
|
+
};
|
|
107679
|
+
if (/^claude-opus-4-[78]$/.test(model)) return {
|
|
107680
|
+
efforts: ADAPTIVE_REASONING,
|
|
107681
|
+
enabledByDefault: false,
|
|
107682
|
+
allowsTemperatureWhenOff: false
|
|
107683
|
+
};
|
|
107684
|
+
if (/^claude-(?:(?:opus|sonnet)-5|haiku-5-5)$/.test(model)) return {
|
|
107685
|
+
efforts: DISABLEABLE_ADAPTIVE_REASONING,
|
|
107686
|
+
enabledByDefault: true,
|
|
107687
|
+
allowsTemperatureWhenOff: false
|
|
107688
|
+
};
|
|
107689
|
+
if (/^claude-(?:(?:opus|sonnet)-5-5|(?:fable|mythos)-5(?:-[12])?)$/.test(model)) return {
|
|
107690
|
+
efforts: ADAPTIVE_REASONING,
|
|
107691
|
+
enabledByDefault: true,
|
|
107692
|
+
allowsTemperatureWhenOff: false
|
|
107693
|
+
};
|
|
107694
|
+
if (model === "claude-mythos-preview") return {
|
|
107695
|
+
efforts: [...DEFAULT_REASONING, "max"],
|
|
107696
|
+
enabledByDefault: true,
|
|
107697
|
+
allowsTemperatureWhenOff: false
|
|
107698
|
+
};
|
|
107699
|
+
}
|
|
107700
|
+
function modelFacts(id, protocol) {
|
|
107624
107701
|
const normalized = id.toLowerCase();
|
|
107625
107702
|
if (/^(gpt-|o[134](?:-|$)|codex)/.test(normalized)) return {
|
|
107626
107703
|
contextWindow: 272e3,
|
|
@@ -107632,7 +107709,7 @@ function modelFacts(id) {
|
|
|
107632
107709
|
contextWindow: 2e5,
|
|
107633
107710
|
maxOutputTokens: 32768,
|
|
107634
107711
|
supportsImages: true,
|
|
107635
|
-
reasoningEfforts: DEFAULT_REASONING
|
|
107712
|
+
reasoningEfforts: (protocol === "anthropic" ? relayOneClaudeAdaptiveThinking(normalized) : void 0)?.efforts ?? DEFAULT_REASONING
|
|
107636
107713
|
};
|
|
107637
107714
|
if (normalized.includes("gemini") || normalized.includes("banana")) return {
|
|
107638
107715
|
contextWindow: 1e6,
|
|
@@ -107700,7 +107777,7 @@ function mergeRelayOneCatalog(listingPayload, pricingPayload) {
|
|
|
107700
107777
|
vendor,
|
|
107701
107778
|
description: row?.description ?? null,
|
|
107702
107779
|
parameterSchema: row?.parameterSchema ?? null,
|
|
107703
|
-
...modelFacts(model.id)
|
|
107780
|
+
...modelFacts(model.id, protocol)
|
|
107704
107781
|
}];
|
|
107705
107782
|
});
|
|
107706
107783
|
}
|
|
@@ -107802,7 +107879,7 @@ function parsePersistedRelayOneModelEntries(value) {
|
|
|
107802
107879
|
protocol,
|
|
107803
107880
|
vendor: text(raw.vendor),
|
|
107804
107881
|
description: text(raw.description),
|
|
107805
|
-
...modelFacts(id),
|
|
107882
|
+
...modelFacts(id, protocol),
|
|
107806
107883
|
parameterSchema: isRecord$1(raw.parameterSchema) ? structuredClone(raw.parameterSchema) : null
|
|
107807
107884
|
};
|
|
107808
107885
|
result.push(entry);
|
|
@@ -108216,11 +108293,14 @@ function relayOneTextOf(content) {
|
|
|
108216
108293
|
function relayOneToolResult(message) {
|
|
108217
108294
|
return message.content.find((block) => block.type === "tool-result");
|
|
108218
108295
|
}
|
|
108296
|
+
function relayOneInstructionText(message) {
|
|
108297
|
+
return relayOneTextOf(message.content.filter((block) => block.type !== "tool-addition" && block.type !== "tool-removal")).trim();
|
|
108298
|
+
}
|
|
108219
108299
|
function relayOneSystemText(options) {
|
|
108220
108300
|
const parts = [typeof options.system === "string" ? options.system.trim() : ""];
|
|
108221
108301
|
for (const message of options.messages) {
|
|
108222
108302
|
if (message.role !== "system" && message.role !== "developer") continue;
|
|
108223
|
-
const text =
|
|
108303
|
+
const text = relayOneInstructionText(message);
|
|
108224
108304
|
if (text !== "") parts.push(text);
|
|
108225
108305
|
}
|
|
108226
108306
|
return parts.filter(Boolean).join("\n\n");
|
|
@@ -108259,10 +108339,38 @@ function relayOneEffort(options, configured, supported) {
|
|
|
108259
108339
|
}
|
|
108260
108340
|
//#endregion
|
|
108261
108341
|
//#region src/host/relayone/mapper-openai.ts
|
|
108342
|
+
function relayOneGptGuidance(base, options, entry) {
|
|
108343
|
+
if (!/^gpt-/i.test(entry.id) || !options.tools?.length) return base;
|
|
108344
|
+
return appendGptEngineeringGuidance(base, options.tools) + "\n\nAfter a batch of related tool results gives you a meaningful finding or completes a stage, send one short, user-visible assistant text update before the next batch of tool calls, then continue working in the same turn. Say what the results established, not just what you intend to do. Put the update in assistant text, not hidden reasoning or a tool argument. Skip routine batches with nothing new to report, and do not repeat an update already delivered through progress_update. Leave the full recap for the final answer.";
|
|
108345
|
+
}
|
|
108262
108346
|
function relayOneGptSystemText(options, entry) {
|
|
108263
|
-
|
|
108264
|
-
|
|
108265
|
-
|
|
108347
|
+
return relayOneGptGuidance(relayOneSystemText(options), options, entry);
|
|
108348
|
+
}
|
|
108349
|
+
function usesCacheableDeveloperPrefix(id) {
|
|
108350
|
+
const version = /^gpt-(\d+)(?:\.(\d+))?(?:-|$)/i.exec(id);
|
|
108351
|
+
const major = Number(version?.[1]);
|
|
108352
|
+
return major > 6 || major === 6 && Number(version?.[2] ?? 0) >= 2;
|
|
108353
|
+
}
|
|
108354
|
+
function relayOneResponsesInstructions(options, entry) {
|
|
108355
|
+
if (!usesCacheableDeveloperPrefix(entry.id)) return {
|
|
108356
|
+
base: "",
|
|
108357
|
+
current: relayOneGptSystemText(options, entry)
|
|
108358
|
+
};
|
|
108359
|
+
const base = [options.system?.trim() ?? ""];
|
|
108360
|
+
const current = [];
|
|
108361
|
+
let pastPrefix = false;
|
|
108362
|
+
for (const message of options.messages) {
|
|
108363
|
+
if (message.role !== "system" && message.role !== "developer") {
|
|
108364
|
+
pastPrefix = true;
|
|
108365
|
+
continue;
|
|
108366
|
+
}
|
|
108367
|
+
const text = relayOneInstructionText(message);
|
|
108368
|
+
if (text !== "") (pastPrefix ? current : base).push(text);
|
|
108369
|
+
}
|
|
108370
|
+
return {
|
|
108371
|
+
base: relayOneGptGuidance(base.filter(Boolean).join("\n\n"), options, entry),
|
|
108372
|
+
current: current.join("\n\n")
|
|
108373
|
+
};
|
|
108266
108374
|
}
|
|
108267
108375
|
function responseMessageContent(message, images, accepted) {
|
|
108268
108376
|
const parts = [];
|
|
@@ -108286,7 +108394,15 @@ function responseMessageContent(message, images, accepted) {
|
|
|
108286
108394
|
function buildRelayOneResponsesRequest(options, images, entry, settings) {
|
|
108287
108395
|
const input = [];
|
|
108288
108396
|
const knownCalls = /* @__PURE__ */ new Set();
|
|
108289
|
-
const
|
|
108397
|
+
const { base, current } = relayOneResponsesInstructions(options, entry);
|
|
108398
|
+
if (base !== "") input.push({
|
|
108399
|
+
type: "message",
|
|
108400
|
+
role: "developer",
|
|
108401
|
+
content: [{
|
|
108402
|
+
type: "input_text",
|
|
108403
|
+
text: base
|
|
108404
|
+
}]
|
|
108405
|
+
});
|
|
108290
108406
|
for (const message of options.messages) {
|
|
108291
108407
|
if (message.role === "system" || message.role === "developer") continue;
|
|
108292
108408
|
const toolResult = relayOneToolResult(message);
|
|
@@ -108307,22 +108423,29 @@ function buildRelayOneResponsesRequest(options, images, entry, settings) {
|
|
|
108307
108423
|
});
|
|
108308
108424
|
continue;
|
|
108309
108425
|
}
|
|
108310
|
-
|
|
108311
|
-
const replay = relayOneReplayOutputItems(message);
|
|
108312
|
-
if (replay !== null) {
|
|
108313
|
-
input.push(...replay);
|
|
108314
|
-
for (const item of replay) if (item.type === "function_call" && typeof item.call_id === "string") knownCalls.add(item.call_id);
|
|
108315
|
-
continue;
|
|
108316
|
-
}
|
|
108317
|
-
}
|
|
108426
|
+
const replay = message.role === "assistant" ? relayOneReplayOutputItems(message) : null;
|
|
108318
108427
|
const content = responseMessageContent(message, images, entry.supportsImages);
|
|
108319
|
-
|
|
108428
|
+
const hasReplayText = replay?.some((item) => item.type === "message" && Array.isArray(item.content) && item.content.some((part) => {
|
|
108429
|
+
if (!isRelayOneRecord(part)) return false;
|
|
108430
|
+
const text = part.type === "output_text" ? relayOneString(part.text) : part.type === "refusal" ? relayOneString(part.refusal) : void 0;
|
|
108431
|
+
return Boolean(text?.trim());
|
|
108432
|
+
}));
|
|
108433
|
+
if (replay !== null) {
|
|
108434
|
+
const firstCall = replay.findIndex((item) => item.type === "function_call");
|
|
108435
|
+
if (!hasReplayText && content.length > 0) replay.splice(firstCall === -1 ? replay.length : firstCall, 0, {
|
|
108436
|
+
role: "assistant",
|
|
108437
|
+
content
|
|
108438
|
+
});
|
|
108439
|
+
input.push(...replay);
|
|
108440
|
+
for (const item of replay) if (item.type === "function_call" && typeof item.call_id === "string") knownCalls.add(item.call_id);
|
|
108441
|
+
} else if (content.length > 0) input.push({
|
|
108320
108442
|
role: message.role,
|
|
108321
108443
|
content
|
|
108322
108444
|
});
|
|
108323
108445
|
if (message.role === "assistant") for (const block of message.content) {
|
|
108324
108446
|
if (block.type !== "tool-call") continue;
|
|
108325
108447
|
const callId = String(block.id);
|
|
108448
|
+
if (knownCalls.has(callId)) continue;
|
|
108326
108449
|
knownCalls.add(callId);
|
|
108327
108450
|
input.push({
|
|
108328
108451
|
type: "function_call",
|
|
@@ -108343,7 +108466,7 @@ function buildRelayOneResponsesRequest(options, images, entry, settings) {
|
|
|
108343
108466
|
return {
|
|
108344
108467
|
model: options.model,
|
|
108345
108468
|
stream: true,
|
|
108346
|
-
...
|
|
108469
|
+
...current === "" ? {} : { instructions: current },
|
|
108347
108470
|
input,
|
|
108348
108471
|
...tools.length > 0 ? {
|
|
108349
108472
|
tools,
|
|
@@ -108745,17 +108868,28 @@ function buildRelayOneAnthropicRequest(options, images, entry, settings) {
|
|
|
108745
108868
|
description: tool.description,
|
|
108746
108869
|
input_schema: stripMetaSchema$1(tool.parameters)
|
|
108747
108870
|
}));
|
|
108748
|
-
const
|
|
108749
|
-
const
|
|
108871
|
+
const adaptive = relayOneClaudeAdaptiveThinking(entry.id);
|
|
108872
|
+
const effort = relayOneEffort(options, settings.defaultReasoningEffort, adaptive?.efforts ?? entry.reasoningEfforts);
|
|
108873
|
+
const enabled = effort !== "none" && (effort !== void 0 || adaptive?.enabledByDefault === true);
|
|
108874
|
+
const budget = adaptive === void 0 && enabled && effort !== void 0 ? {
|
|
108750
108875
|
minimal: 2048,
|
|
108751
108876
|
low: 4096,
|
|
108752
108877
|
medium: 8192,
|
|
108753
108878
|
high: 16384,
|
|
108754
108879
|
xhigh: 24576,
|
|
108755
108880
|
max: 32768
|
|
108756
|
-
}[effort] ?? 8192;
|
|
108881
|
+
}[effort] ?? 8192 : 0;
|
|
108757
108882
|
const baseMax = options.maxTokens ?? Math.min(entry.maxOutputTokens, 16384);
|
|
108758
108883
|
const maxTokens = Math.max(1024, Math.min(entry.maxOutputTokens, budget > 0 ? Math.max(baseMax, budget + 4096) : baseMax));
|
|
108884
|
+
const thinking = adaptive !== void 0 ? effort === "none" ? { type: "disabled" } : enabled ? {
|
|
108885
|
+
type: "adaptive",
|
|
108886
|
+
display: "summarized"
|
|
108887
|
+
} : void 0 : budget > 0 && maxTokens > budget ? {
|
|
108888
|
+
type: "enabled",
|
|
108889
|
+
budget_tokens: budget
|
|
108890
|
+
} : void 0;
|
|
108891
|
+
const outputConfig = adaptive !== void 0 && effort !== void 0 && effort !== "none" ? { effort } : void 0;
|
|
108892
|
+
const allowTemperature = !enabled && (adaptive?.allowsTemperatureWhenOff ?? true);
|
|
108759
108893
|
const system = relayOneSystemText(options);
|
|
108760
108894
|
return {
|
|
108761
108895
|
model: options.model,
|
|
@@ -108767,11 +108901,9 @@ function buildRelayOneAnthropicRequest(options, images, entry, settings) {
|
|
|
108767
108901
|
tools,
|
|
108768
108902
|
tool_choice: { type: "auto" }
|
|
108769
108903
|
} : {},
|
|
108770
|
-
...
|
|
108771
|
-
|
|
108772
|
-
|
|
108773
|
-
} } : {},
|
|
108774
|
-
...options.temperature === void 0 || budget > 0 ? {} : { temperature: options.temperature },
|
|
108904
|
+
...thinking === void 0 ? {} : { thinking },
|
|
108905
|
+
...outputConfig === void 0 ? {} : { output_config: outputConfig },
|
|
108906
|
+
...options.temperature === void 0 || !allowTemperature ? {} : { temperature: options.temperature },
|
|
108775
108907
|
...options.stop !== void 0 && options.stop.length > 0 ? { stop_sequences: options.stop } : {}
|
|
108776
108908
|
};
|
|
108777
108909
|
}
|
package/lib/types/compat.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const ROUTE_PREFIX: "/api/dsh-chatgpt-subscription";
|
|
|
76
76
|
* `test/responses-client.test.ts` asserts the two agree, so a release that
|
|
77
77
|
* forgets this constant fails the suite instead of shipping quietly.
|
|
78
78
|
*/
|
|
79
|
-
export declare const PLUGIN_VERSION: "0.80.
|
|
79
|
+
export declare const PLUGIN_VERSION: "0.80.1";
|
|
80
80
|
export declare const CODEX_CHATGPT_PROVIDER_ID: "codex-chatgpt";
|
|
81
81
|
export { MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_ROUTE_PREFIX } from './shared/minimax-code-contracts.ts';
|
|
82
82
|
export declare const CODEX_API_BASE: "https://chatgpt.com/backend-api/codex";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/claude/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyHG;AAOH,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAEhG,OAAO,EACL,UAAU,EACV,iBAAiB,EAEjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAML,WAAW,EACX,aAAa,EAMd,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EAEtB,KAAK,iBAAiB,EAEtB,KAAK,qBAAqB,EAC3B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAUL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,aAAa,CAAA;AACpB,OAAO,
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/claude/adapter.ts"],"names":[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AAM,CAO7D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,QAAQ,EAChB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpC,OAAO,EAAE,OAAO,GACf,mBAAmB,CAcrB;AAED,sFAAsF;AACtF,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,KAAK,EAAE,QAAQ,CAAA;IACf;;;;OAIG;IACH,OAAO,EAAE,aAAa,GAAG,IAAI,CAAA;CAC9B;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,QAAQ,CAkE3D;AAED,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -204,8 +204,10 @@ export interface StickyImageOffloadResult {
|
|
|
204
204
|
* @param inlineExcludedKeys - identities whose actual wire form is a hosted
|
|
205
205
|
* reference rather than inline bytes. They stay in request order with a zero
|
|
206
206
|
* byte weight; only genuinely inline images consume this budget.
|
|
207
|
+
* @param maxImageBytes - per-image limit when the mapper independently replaces
|
|
208
|
+
* larger images with placeholders. Those images do not consume the total budget.
|
|
207
209
|
*/
|
|
208
|
-
export declare function offloadRequestImagesWithStickyBudget(options: GenerateOptions, maxBytes?: number, lowBytes?: number, images?: ResolvedRequestImages, priorDroppedKeys?: ReadonlySet<string>, inlineExcludedKeys?: ReadonlySet<string
|
|
210
|
+
export declare function offloadRequestImagesWithStickyBudget(options: GenerateOptions, maxBytes?: number, lowBytes?: number, images?: ResolvedRequestImages, priorDroppedKeys?: ReadonlySet<string>, inlineExcludedKeys?: ReadonlySet<string>, maxImageBytes?: number): StickyImageOffloadResult;
|
|
209
211
|
/**
|
|
210
212
|
* Whether a request still carries at least one image the mapper can send.
|
|
211
213
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-images.d.ts","sourceRoot":"","sources":["../../../../src/host/common/request-images.ts"],"names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
2
2
|
import type { ResolvedRequestImages } from '../common/request-images.ts';
|
|
3
|
-
import type
|
|
3
|
+
import { type RelayOneModelEntry } from './model-catalog.ts';
|
|
4
4
|
import type { RelayOneSettings } from './token-store.ts';
|
|
5
5
|
/** Anthropic Messages request, including signed thinking replay when this line produced it. */
|
|
6
6
|
export declare function buildRelayOneAnthropicRequest(options: GenerateOptions, images: ResolvedRequestImages, entry: RelayOneModelEntry, settings: RelayOneSettings): Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper-anthropic.d.ts","sourceRoot":"","sources":["../../../../src/host/relayone/mapper-anthropic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAW,oBAAoB,EAAE,WAAW,EAAc,MAAM,yBAAyB,CAAA;AAItH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACxE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"mapper-anthropic.d.ts","sourceRoot":"","sources":["../../../../src/host/relayone/mapper-anthropic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAW,oBAAoB,EAAE,WAAW,EAAc,MAAM,yBAAyB,CAAA;AAItH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACxE,OAAO,EAAkC,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAuCxD,+FAA+F;AAC/F,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,qBAAqB,EAC7B,KAAK,EAAE,kBAAkB,EACzB,QAAQ,EAAE,gBAAgB,GACzB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA2DzB;AAED,UAAU,QAAQ;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE;AAClD,UAAU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AAG,IAAI,CAE/F;AACD,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,4BAA4B,EAAE,KAAK,EAAE,OAAO,GAAG,WAAW,EAAE,CAwG/G;AACD,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,4BAA4B,GAAG,WAAW,EAAE,CAS7G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper-openai.d.ts","sourceRoot":"","sources":["../../../../src/host/relayone/mapper-openai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAW,oBAAoB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAItH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAExE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"mapper-openai.d.ts","sourceRoot":"","sources":["../../../../src/host/relayone/mapper-openai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAW,oBAAoB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAItH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAExE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAwExD,2FAA2F;AAC3F,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,qBAAqB,EAC7B,KAAK,EAAE,kBAAkB,EACzB,QAAQ,EAAE,gBAAgB,GACzB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA0DzB;AAoBD,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,eAAe,EACxB,MAAM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function relayOneToolResult(message: Message): ContentBlock & {
|
|
11
11
|
type: 'tool-result';
|
|
12
12
|
} | undefined;
|
|
13
|
+
export declare function relayOneInstructionText(message: Message): string;
|
|
13
14
|
export declare function relayOneSystemText(options: GenerateOptions): string;
|
|
14
15
|
export declare function relayOneReplayOutputItems(message: Message): Record<string, unknown>[] | null;
|
|
15
16
|
export declare function relayOneReplayBlocks(message: Message): (Record<string, unknown> | null)[] | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper-shared.d.ts","sourceRoot":"","sources":["../../../../src/host/relayone/mapper-shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACrF,OAAO,EAIL,KAAK,qBAAqB,EAC3B,MAAM,6BAA6B,CAAA;AAEpC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEjF;AACD,eAAO,MAAM,cAAc,UAAW,OAAO,KAAG,MAAM,GAAG,SAA0D,CAAA;AACnH,eAAO,MAAM,cAAc,UAAW,OAAO,KAAG,MAAM,GAAG,SAC8B,CAAA;AACvF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIvD;AACD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEvD;AACD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAG7D;AACD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAUvD;AACD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,GAAG,SAAS,CAEvG;AACD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAQnE;AACD,wBAAgB,yBA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OAAO,CAEvD;AACD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAG7D;AACD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAUvD;AACD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,GAAG,SAAS,CAEvG;AACD,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEhE;AACD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAQnE;AACD,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,IAAI,CAS5F;AACD,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAMhG;AACD,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,SAAS,YAAY,EAAE,EAChC,MAAM,EAAE,qBAAqB,EAC7B,QAAQ,EAAE,OAAO,GAChB,KAAK,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAYtE;AACD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EACxB,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,SAAS,EAAE,SAAS,MAAM,EAAE,GAC3B,MAAM,GAAG,SAAS,CAIpB"}
|
|
@@ -36,6 +36,17 @@ interface PricingCatalog {
|
|
|
36
36
|
/** Parse the OpenAI-shaped /v1/models envelope. Only these ids are callable by the key. */
|
|
37
37
|
export declare function parseRelayOneModelListing(payload: unknown): UpstreamModel[];
|
|
38
38
|
export declare function parseRelayOnePricing(payload: unknown): PricingCatalog;
|
|
39
|
+
interface AdaptiveThinkingPolicy {
|
|
40
|
+
efforts: readonly RelayOneReasoningEffort[];
|
|
41
|
+
enabledByDefault: boolean;
|
|
42
|
+
allowsTemperatureWhenOff: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Public Messages capabilities, not the Claude Code subscription's OAuth/betas.
|
|
46
|
+
* https://platform.claude.com/docs/en/build-with-claude/thinking#when-thinking-turns-on
|
|
47
|
+
* https://platform.claude.com/docs/en/build-with-claude/effort#effort-levels
|
|
48
|
+
*/
|
|
49
|
+
export declare function relayOneClaudeAdaptiveThinking(id: string): AdaptiveThinkingPolicy | undefined;
|
|
39
50
|
export declare function isRelayOneOpenAIModel(id: string, vendor: string | null): boolean;
|
|
40
51
|
/** Host-side protocol policy; clients render the result instead of inferring from a name. */
|
|
41
52
|
export declare function selectRelayOneProtocol(id: string, vendor: string | null, endpoints: readonly string[], kind?: RelayOneModelKind): RelayOneProtocol | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../../../src/host/relayone/model-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAExD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,iBAAiB,CAAA;IACvB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;IACzB,SAAS,EAAE,SAAS,MAAM,EAAE,CAAA;IAC5B,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAAA;IACjC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,aAAa,EAA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;;;;;OAOG;IACH,OAAO,CAAC,YAAY;IAapB;;;;;;;;;OASG;IACH,4EAA4E;YAC9D,YAAY;YAuEZ,OAAO;CAmEtB;AAqGD,wBAAuB,oBAAoB,CACzC,QAAQ,EAAE,QAAQ,EAClB,MAAM,CAAC,EAAE,WAAW;AACpB,kGAAkG;AAClG,4BAA4B,GAAE,WAAW,CAAC,MAAM,CAAa;AAC7D,gFAAgF;AAChF,QAAQ,CAAC,EAAE,cAAc,GACxB,aAAa,CAAC,WAAW,CAAC,CAqR5B"}
|
|
@@ -124,4 +124,5 @@ export declare function buildResponsesPayload(options: GenerateOptions, attachme
|
|
|
124
124
|
* @returns a request the line can always send.
|
|
125
125
|
*/
|
|
126
126
|
export declare function withoutCodexToolChanges<T extends GenerateOptions>(options: T): T;
|
|
127
|
+
export declare const CODEX_BASE_INSTRUCTIONS_KIND = "model.base_instructions";
|
|
127
128
|
//# sourceMappingURL=responses-mapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses-mapper.d.ts","sourceRoot":"","sources":["../../../src/host/responses-mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAsC,MAAM,6BAA6B,CAAA;AACtG,OAAO,KAAK,EAAgB,eAAe,EAAW,MAAM,wBAAwB,CAAA;AAIpF,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAEzF;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAiB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,IAAI,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IACrC,kFAAkF;IAClF,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAA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