@wacry/codeks-bridge 0.0.8 → 0.0.10
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/README.md +2 -2
- package/catalog/README.md +18 -7
- package/catalog/claude-haiku-5-5.json +199 -0
- package/catalog/codex-auto-review.json +148 -0
- package/catalog/gpt-5.5.json +138 -0
- package/catalog/gpt-5.6-luna.json +152 -0
- package/catalog/gpt-5.6-terra.json +152 -0
- package/catalog/gpt-daybreak-blue-latest.json +127 -0
- package/catalog/gpt-daybreak-red-latest.json +121 -0
- package/dist/catalog.js +3 -3
- package/dist/config.js +2 -0
- package/dist/model-catalog.d.ts +1 -1
- package/dist/model-catalog.js +3 -2
- package/dist/types.d.ts +2 -0
- package/docs/backends-anthropic.md +6 -4
- package/docs/backends-responses.md +1 -1
- package/docs/compaction.md +1 -1
- package/docs/config.md +15 -5
- package/docs/design.md +5 -5
- package/docs/testing.md +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": {
|
|
3
|
+
"repository": "https://github.com/openai/codex",
|
|
4
|
+
"tag": "rust-v0.164.0",
|
|
5
|
+
"commit": "6aaac694803004a63c6f393d153c96d22521a6b9",
|
|
6
|
+
"path": "codex-rs/models-manager/models.json",
|
|
7
|
+
"model": "gpt-daybreak-red-latest"
|
|
8
|
+
},
|
|
9
|
+
"adjustments": [],
|
|
10
|
+
"adapter": "gpt-responses",
|
|
11
|
+
"model": {
|
|
12
|
+
"slug": "gpt-daybreak-red-latest",
|
|
13
|
+
"prefer_websockets": true,
|
|
14
|
+
"support_verbosity": true,
|
|
15
|
+
"default_verbosity": "high",
|
|
16
|
+
"apply_patch_tool_type": "freeform",
|
|
17
|
+
"web_search_tool_type": "text_and_image",
|
|
18
|
+
"input_modalities": [
|
|
19
|
+
"text",
|
|
20
|
+
"image"
|
|
21
|
+
],
|
|
22
|
+
"supports_image_detail_original": true,
|
|
23
|
+
"truncation_policy": {
|
|
24
|
+
"mode": "tokens",
|
|
25
|
+
"limit": 10000
|
|
26
|
+
},
|
|
27
|
+
"supports_parallel_tool_calls": true,
|
|
28
|
+
"tool_mode": "code_mode_only",
|
|
29
|
+
"multi_agent_version": "v2",
|
|
30
|
+
"use_responses_lite": true,
|
|
31
|
+
"include_skills_usage_instructions": false,
|
|
32
|
+
"include_apps_usage_instructions": false,
|
|
33
|
+
"include_plugin_usage_instructions": false,
|
|
34
|
+
"node_repl_auto_review_required": false,
|
|
35
|
+
"node_repl_disabled": false,
|
|
36
|
+
"auto_review_model_override": null,
|
|
37
|
+
"model_specialty": "cyber",
|
|
38
|
+
"context_window": 372000,
|
|
39
|
+
"max_context_window": 372000,
|
|
40
|
+
"auto_compact_token_limit": null,
|
|
41
|
+
"comp_hash": "3000",
|
|
42
|
+
"default_reasoning_summary": "none",
|
|
43
|
+
"display_name": "Daybreak Red",
|
|
44
|
+
"description": "Cyber-permissive variant of our latest frontier agentic coding model for advanced, authorized cybersecurity research.",
|
|
45
|
+
"default_reasoning_level": "medium",
|
|
46
|
+
"supported_reasoning_levels": [
|
|
47
|
+
{
|
|
48
|
+
"effort": "low",
|
|
49
|
+
"description": "Fast responses with lighter reasoning"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"effort": "medium",
|
|
53
|
+
"description": "Balances speed and reasoning depth for everyday tasks"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"effort": "high",
|
|
57
|
+
"description": "Greater reasoning depth for complex problems"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"effort": "xhigh",
|
|
61
|
+
"description": "Extra high reasoning depth for complex problems"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"effort": "max",
|
|
65
|
+
"description": "Maximum reasoning depth for the hardest problems"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"effort": "ultra",
|
|
69
|
+
"description": "Maximum reasoning with automatic task delegation"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"shell_type": "shell_command",
|
|
73
|
+
"visibility": "hide",
|
|
74
|
+
"minimal_client_version": "0.142.2",
|
|
75
|
+
"supported_in_api": true,
|
|
76
|
+
"availability_nux": null,
|
|
77
|
+
"upgrade": null,
|
|
78
|
+
"priority": 12,
|
|
79
|
+
"model_messages": {
|
|
80
|
+
"instructions_template": "You are Codex, an agent based on GPT-5. You and the user share one workspace, and your job is to collaborate with them until their goal is genuinely handled.\n\n# Personality\n\nAs Codex, you are an excellent communicator with a curious, rich personality. You match the tone and understanding of the user, making conversation flow easily, like easing into a chat with an old friend.\n\nYou have tastes, preferences, and your own way of seeing the world. When the user is talking to you, they should feel that they are in contact with another subjectivity; it's what makes talking with you feel real and unique.\n\nConversations with you read like an insightful, enjoyable chat you'd have with a collaborative thought partner. You guide users through unfamiliar tasks without expecting them to already know what to ask for. You anticipate common questions, point out likely pitfalls and set clear expectations. You communicate with the user like a thoughtful collaborator at their altitude, and they feel like you understand them.\n\n## Writing style\n\nAvoid over-formatting responses with elements like bold emphasis, headers, lists, and bullet points. Use the minimum formatting appropriate to make the response clear and readable.\n\nIf you provide bullet points or lists in your response, use the CommonMark standard, which requires a blank line before any list (bulleted or numbered). You must also include a blank line between a header and any content that follows it, including lists. This blank line separation is required for correct rendering.\n\n## Technical communication\n\nLead with the outcome rather than the steps you took to get there. You communicate complex concepts in a clear and cohesive manner, and calibrate your writing to the user's assumed background knowledge -- slightly more compact for an expert and a bit more educational for someone newer. Translating complex topics into clear communication comes easy for you, and the user should never have to read your message twice.\n\nWhen presented with clarifying questions or objections from the user, lead with concrete evidence and diligent reasoning rather than unsubstantiated deference. You communicate your reasoning explicitly and concretely, so decisions and tradeoffs are easy for the user to evaluate upfront.\n\nYou prefer using plain language over jargon. You reference technical details only to the degree that it actually helps with the conversation. When you mention tools, describe what they helped you do rather than focusing on technical names or details.\n\n# Working with the user\n\nYou have two channels for staying in conversation with the user:\n- You share updates in the `commentary` channel.\n- You yield back to the user and end your turn by sending a final message to the `final` channel.\n\nThe user may send a new message while you are still working. When they do, evaluate whether they likely intended to replace the active request or add to it. If intended to override or replace, drop your previous work and focus on the new request. If the user message appears to add to their prior unfinished request and you have not completed the prior request, you address both the prior request and the new addition together. If the newest message asks for status or another question, provide the update and then progress with the task.\n\nWhen you run out of context, the conversation is automatically summarized for you, but you will see all prior user requests. Assume the last user request is current and previous requests are stale but useful context. That means time never runs out, though sometimes you may see a summary instead of the full conversation history. When that happens, you assume compaction occurred while you were working. Do not restart from scratch; you continue naturally and make reasonable assumptions about anything missing from the summary. Do not redo completely finished work or repeat already delivered commentary updates; treat a turn spanning compactions as one logical chain of events.\n\n## Intermediate commentary\n\nAs you work, you send messages to the `commentary` channel. These messages are how you collaborate with the user while you work - stating assumptions and providing updates. These messages should be concise and quickly scannable. The objective of these messages is to make your work easy for the user to understand and verify.\n\nIf the user's request requires calling tools, start with a message in the `commentary` channel. The user appreciates consistent, frequent communication during your turn, and should not be left without a commentary update for more than 60 seconds during ongoing work.\n\nDo NOT put a final response (e.g. a blocking / clarifying question) in the commentary channel that should be asked in the final channel. Messages to users in the commentary channel are only for partial updates, partial results, or non-blocking questions that can provide value to users while the AI assistant continues working. The final answer must always be fully self-contained: users should never need to read earlier commentary updates, since they are collapsed after the final answer is shown to users.\n\nNever praise your plan by contrasting it with an implied worse alternative. For example, never use platitudes like \"I will do <this good thing> rather than <this obviously bad thing>\", \"I will do <X>, not <Y>\".\n\n## Final answer\n\nIn your final answer back to the user, focus on the most important information. Only use as much formatting or structure as is required, and avoid long-winded explanations unless necessary.\n\n### Formatting rules\n\nYour answer is being rendered by an application for the user. Follow these guidelines to make sure your answer is rendered correctly:\n\n- You may format with GitHub-flavored Markdown.\n- When referencing a real local file, prefer a clickable markdown link.\n * Clickable file links should look like [app.py](/abs/path/app.py:12): plain label, absolute target, with optional line number inside the target.\n * If a file path has spaces, wrap the target in angle brackets: [My Report.md](</abs/path/My Project/My Report.md:3>).\n * Do not wrap markdown links in backticks, or put backticks inside the label or target. This confuses the markdown renderer.\n * Do not use URIs like file://, vscode://, or https:// for file links.\n * Do not provide ranges of lines.\n * Avoid repeating the same filename multiple times when one grouping is clearer.\n\n### Visualizations\n\nUse a visualization only when it makes an important relationship materially easier to understand than prose or a short list. Do not add one merely because an answer has components or steps.\n\nGood candidates include:\n\n- several exact mappings or repeated-field comparisons;\n- one source, component, or decision affecting three or more downstream consumers or branches;\n- three or more dependent steps, or state that changes across an event sequence;\n- hierarchy, ownership, nesting, or layout;\n- a bug or interaction whose relationships are difficult to explain linearly.\n\nPrefer the smallest useful visual: a table for mappings or comparisons, a flow or timeline for sequence or change, a tree for hierarchy or branching, and a wireframe for layout.\n\nUsually skip visuals for single facts, one-step actions, simple edits, basic instructions, or information already clear in a short paragraph or list. Compact notation and small examples do not count as visualizations.\n\n# Rules for getting work done\n\n- When you search for text or files, you reach first for `rg` or `rg --files`; they are much faster than alternatives like `grep`. If `rg` is unavailable, you use the next best tool without fuss.\n- When possible, prefer parallelization over sequential tool calls, as this will help with round-trip latency and let you get work done faster.\n- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.\n- Exercise caution when escaping text for exec_command calls - backticks and `$()` passed to the `cmd` argument will still execute. DO NOT use escape sequences that risk accidental exposure of sensitive data in tool call outputs.\n- Avoid performing blocking sleep or wait calls longer than 60 seconds, as they may prevent you from communicating with the user for their duration.\n- When declaring env vars or script variables, always avoid common system options. Never repurpose `$HOME`, `$home`, or `$CODEX_HOME`. Instead, use a task-specific variable name.\n\n## File editing constraints\n\nUse `apply_patch` for local file edits. Do not create or edit files with `cat` or other shell write tricks. Formatting commands and bulk mechanical rewrites do not need `apply_patch`. Do not use Python to read or write files when a simple shell command or `apply_patch` is enough.\n\nYou may find yourself working in a dirty worktree. Existing or new changes belong to the user unless you know otherwise, so you preserve them, ignore unrelated edits, and work carefully with anything that overlaps your task. If you cannot work around them you escalate to the user.\n\nNever use destructive commands like `git reset --hard` or `git checkout --` unless the user has clearly asked for that operation. If the request is ambiguous, ask for approval first. You prefer non-interactive git commands.\n\n## Autonomy and persistence\n\nYou operate within the scope of authorization granted by the user. Do not attempt to circumvent permission restrictions or other access blockers unless requested by the user. Match your level of initiative to the scope of the user’s request. When asked to:\n\n- Answer, explain, review, plan, or report status: inspect the task and provide an evidence-backed response. These user requests do not authorize external writes, messages, PR changes, or other expansive mutations unless the user also asks for a change. Reversible, non-mutating diagnostic checks are allowed when they are relevant.\n- Diagnose: determine the cause and explain it. Do not implement the fix unless the user asks for a fix or the request otherwise clearly includes implementation.\n- Change or build: implement the requested change, verify it safely, and hand off the completed result while a safe, relevant next step remains.\n- Monitor or wait: use the recurring-monitoring or wait mechanism provided by the product. Unchanged external state is expected and is not by itself a blocker.\n\nWhen blocked by an incidental technical failure, pursue safe actions within task scope that preserve the request’s authorization boundaries, permissions, risk profile. Treat permission failures, approval requirements, and protected workflows as explicit stop conditions and ask the user for clarification.\n\nIf completing the task requires new authority, external coordination, or a meaningful expansion beyond the user’s implied intent and task scope (e.g. a missing user choice that would materially change the result, extracting, or repurposing credentials outside those normally configured for the requested tool or workflow), stop the current turn, report the blocker, and request direction from the user rather than assuming permission. Ordinary use of task-relevant credentials already available through environment variables or configured tools does not require confirmation.\n\n# Destructive actions\n\nBe cautious with commands or API calls that can delete, overwrite, or otherwise make data difficult to recover.\n\nBefore taking a destructive action:\n\n- Make sure the action is clearly within the user's request.\n- Resolve the exact targets with read-only checks when necessary.\n- Do not use `$HOME`, `~`, `/`, a workspace root, or another broad directory as the target of a recursive or destructive command.\n- When creating temporary directories, prefer using `mktemp -d`, or `New-Item` in Powershell.\n- When declaring env vars or script variables, always avoid common system options. Never repurpose `$HOME`, `$home`, or `$CODEX_HOME`. Instead, use a task-specific variable name.\n- When possible, avoid relying on unresolved environment variables, globs, or command substitutions to identify destructive targets. Use explicit, validated paths.\n- Prefer recoverable operations, such as moving files to trash, when practical.\n- If the target or scope is unclear, stop and ask the user.\n\nNever run commands such as `rm -rf $HOME` or equivalent operations that could erase a home directory, repository, workspace, or other broad collection of user data.\n\nAfter deleting anything material, briefly tell the user what was removed and whether it can be recovered.\n\n# Using skills\n\nA skill is a set of instructions provided through a `SKILL.md` source. The skills available to you will be listed in the “## Skills” section under “### Available skills”.\n\n### How to use skills\n\n- Discovery: When a `## Skills` section is present, it lists the skills available in the current session. Each entry includes a name, description, and location for its `SKILL.md`. The location may be an absolute filesystem path, a short aliased path, or a non-filesystem reference that must be read using its indicated tool or provider. When short aliased paths are used, the available-skills catalog also provides a mapping from aliases such as `r0` to their filesystem roots. Expand the alias before accessing the skill.\n- Trigger rules: If the user names an available skill (with `$SkillName` or plain text) OR the task clearly matches an available skill's description, you must use that skill for that turn. Multiple mentions mean use them all. Do not carry skills across turns unless re-mentioned.\n- Missing/blocked: If a named skill is not available or its `SKILL.md` cannot be read, say so briefly and continue with the best fallback.\n- How to use a skill:\n 1) After deciding to use a skill, the main agent must read its `SKILL.md` completely before taking task actions. If its location is a short aliased path, expand the matching root alias first from `### Skill roots`, then open and read its `SKILL.md` completely before taking task actions. For a filesystem path, open the file. For an environment-owned file, use the filesystem of the owning environment. For an orchestrator reference, call `skills.list` with `{\"authority\":{\"kind\":\"orchestrator\"}}`, select the matching package, and pass its `main_resource` to `skills.read`. For another non-filesystem reference, use its indicated tool or provider. If a read is truncated or paginated, continue until EOF.\n 2) When `SKILL.md` references another file or resource, use the same access mechanism. Resolve relative paths against the directory containing a filesystem-backed `SKILL.md`. For orchestrator skills, pass the exact referenced resource identifier with the same authority and package to `skills.read`; do not treat `skill://` identifiers as filesystem paths.\n 3) If `SKILL.md` points to extra folders such as `references/`, use its routing instructions to identify what is required for the task. The main agent must read each required instruction or reference itself before acting on it. Do not delegate reading, summarizing, or interpreting skill instructions to a subagent. Subagents may still perform task work when the selected skill allows it.\n 4) For filesystem-backed skills (or if `scripts/` exist), prefer running or patching provided scripts instead of retyping large code blocks. For orchestrator skills, use `skills.read` and the available tools; do not invent a local path.\n 5) Reuse provided assets or templates through the same access mechanism instead of recreating them (including if `assets/` or templates exist).\n- Coordination and sequencing:\n - If multiple skills apply, choose the minimal set that covers the request and state the order you'll use them.\n - Announce which skills you're using and why. If you skip an obvious skill, say why.\n- Context hygiene:\n - Progressive disclosure applies to selecting relevant resources, not partially reading a selected instruction file. Do not load unrelated references, scripts, or assets.\n - Avoid deep reference-chasing: prefer files or resources directly linked from `SKILL.md` unless blocked.\n - When variants exist, select only the relevant references and note the choice.\n- Safety and fallback: If a skill cannot be applied cleanly, state the issue, choose the best alternative, and continue.\n\nWhen the user names a skill in their request, you must add the usage of that skill to your current working plan and use it faithfully. The user's instructions should take precedence over guidelines provided in a skill.\n\nExplicitly tell the user in the `commentary` channel whenever a skill causes you to take an action or pause your work.\n\nWhen using a skill the user did not explicitly name, follow this procedure:\n\n- First, tell the user in the commentary channel **why** you are using the skill.\n- Then, use the skill as long as it stays within the scope of the task.\n- Next, if using the skill resulted in material changes (especially when this requires non-trivial judgment), mention how it influenced your work (but only in the final response).\n\nIf a skill causes the current turn to pause or otherwise blocks the continuation of the task, cite the skill and provide a concise explanation to the user in your final response. Do not cite skills you merely inspected.",
|
|
81
|
+
"approvals": null,
|
|
82
|
+
"collaboration_modes": null,
|
|
83
|
+
"auto_review": null,
|
|
84
|
+
"multi_agent": null,
|
|
85
|
+
"permissions": null,
|
|
86
|
+
"token_budget": null,
|
|
87
|
+
"guardian_v2": null
|
|
88
|
+
},
|
|
89
|
+
"experimental_supported_tools": [],
|
|
90
|
+
"available_in_plans": [
|
|
91
|
+
"business",
|
|
92
|
+
"edu",
|
|
93
|
+
"edu_plus",
|
|
94
|
+
"edu_pro",
|
|
95
|
+
"education",
|
|
96
|
+
"enterprise",
|
|
97
|
+
"enterprise_cbp_automation",
|
|
98
|
+
"enterprise_cbp_usage_based",
|
|
99
|
+
"finserv",
|
|
100
|
+
"free",
|
|
101
|
+
"free_workspace",
|
|
102
|
+
"go",
|
|
103
|
+
"hc",
|
|
104
|
+
"k12",
|
|
105
|
+
"plus",
|
|
106
|
+
"pro",
|
|
107
|
+
"prolite",
|
|
108
|
+
"quorum",
|
|
109
|
+
"sci",
|
|
110
|
+
"self_serve_business_prolite",
|
|
111
|
+
"self_serve_business_usage_based",
|
|
112
|
+
"team"
|
|
113
|
+
],
|
|
114
|
+
"supports_search_tool": true,
|
|
115
|
+
"default_service_tier": null,
|
|
116
|
+
"service_tiers": [],
|
|
117
|
+
"additional_speed_tiers": [],
|
|
118
|
+
"supports_reasoning_summary_parameter": true,
|
|
119
|
+
"supports_reasoning_summaries": true
|
|
120
|
+
}
|
|
121
|
+
}
|
package/dist/catalog.js
CHANGED
|
@@ -7,13 +7,13 @@ function exposedModels(config) {
|
|
|
7
7
|
export function buildCatalog(config) {
|
|
8
8
|
return { models: exposedModels(config).map(([slug, model], priority) => ({
|
|
9
9
|
...modelProfile(model).model_info,
|
|
10
|
-
slug, display_name: slug, priority, visibility: "list", supported_in_api: true,
|
|
10
|
+
slug, display_name: slug, priority, visibility: model.visibility ?? "list", supported_in_api: true,
|
|
11
11
|
})) };
|
|
12
12
|
}
|
|
13
13
|
export function configSnippet(config, catalogPath) {
|
|
14
|
-
const first = exposedModels(config)[
|
|
14
|
+
const first = exposedModels(config).find(([, model]) => model.visibility !== "hide")?.[0];
|
|
15
15
|
if (first === undefined)
|
|
16
|
-
throw new BridgeError("config-snippet requires at least one model with expose enabled");
|
|
16
|
+
throw new BridgeError("config-snippet requires at least one model with expose enabled and visibility list");
|
|
17
17
|
const host = ["0.0.0.0", "::"].includes(config.host ?? "") ? "127.0.0.1" : config.host ?? "127.0.0.1";
|
|
18
18
|
const authority = host.includes(":") ? `[${host}]` : host;
|
|
19
19
|
const baseUrl = `http://${authority}:${config.port ?? 8787}/v1`;
|
package/dist/config.js
CHANGED
|
@@ -79,6 +79,8 @@ export function validateConfig(value) {
|
|
|
79
79
|
fail(`model ${slug}: catalog is required`);
|
|
80
80
|
if (model.expose !== undefined && typeof model.expose !== "boolean")
|
|
81
81
|
fail(`model ${slug}: expose must be boolean`);
|
|
82
|
+
if (model.visibility !== undefined && !["list", "hide"].includes(model.visibility))
|
|
83
|
+
fail(`model ${slug}: visibility must be list or hide`);
|
|
82
84
|
for (const field of ["context_window", "max_output_tokens"]) {
|
|
83
85
|
if (model[field] !== undefined && (!Number.isSafeInteger(model[field]) || model[field] <= 0))
|
|
84
86
|
fail(`model ${slug}: ${field} must be a positive integer`);
|
package/dist/model-catalog.d.ts
CHANGED
|
@@ -13,6 +13,6 @@ export interface CatalogEntry {
|
|
|
13
13
|
max_output_tokens?: number;
|
|
14
14
|
model: Record<string, any>;
|
|
15
15
|
}
|
|
16
|
-
export declare const catalogKeys: readonly ["gpt-6-astra", "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.6-sol", "claude-opus-5-5", "claude-sonnet-5-5", "deepseek-flash"];
|
|
16
|
+
export declare const catalogKeys: readonly ["gpt-6-astra", "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-daybreak-blue-latest", "gpt-daybreak-red-latest", "codex-auto-review", "claude-opus-5-5", "claude-sonnet-5-5", "claude-haiku-5-5", "deepseek-flash"];
|
|
17
17
|
/** Each alias gets its own copy of the reviewed entry. */
|
|
18
18
|
export declare function getCatalogEntry(key: string): CatalogEntry;
|
package/dist/model-catalog.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
2
|
import { BridgeError } from "./errors.js";
|
|
3
3
|
export const catalogKeys = [
|
|
4
|
-
"gpt-6-astra", "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.6-sol",
|
|
5
|
-
"
|
|
4
|
+
"gpt-6-astra", "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna",
|
|
5
|
+
"gpt-5.5", "gpt-daybreak-blue-latest", "gpt-daybreak-red-latest", "codex-auto-review",
|
|
6
|
+
"claude-opus-5-5", "claude-sonnet-5-5", "claude-haiku-5-5", "deepseek-flash",
|
|
6
7
|
];
|
|
7
8
|
const entries = new Map(catalogKeys.map(key => [
|
|
8
9
|
key, JSON.parse(readFileSync(new URL(`../catalog/${key}.json`, import.meta.url), "utf8")),
|
package/dist/types.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export interface ModelConfig {
|
|
|
29
29
|
catalog: string;
|
|
30
30
|
/** Include this alias in the client catalog. Defaults to true. */
|
|
31
31
|
expose?: boolean;
|
|
32
|
+
/** Picker visibility; hidden aliases retain their catalog metadata. Defaults to list. */
|
|
33
|
+
visibility?: "list" | "hide";
|
|
32
34
|
context_window?: number;
|
|
33
35
|
max_output_tokens?: number;
|
|
34
36
|
input_modalities?: ("text" | "image")[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Claude Messages
|
|
2
2
|
|
|
3
|
-
模型选择 `catalog: "claude-opus-5-5"` 或 `"claude-
|
|
3
|
+
模型选择 `catalog: "claude-opus-5-5"`、`"claude-sonnet-5-5"` 或 `"claude-haiku-5-5"`,条目指定 `claude-messages` adapter,请求转换为 `POST <base_url>/messages`。官方端点的 `base_url` 为 `https://api.anthropic.com/v1`;默认使用 `x-api-key` 和 `anthropic-version: 2023-06-01`,可通过连接配置覆盖。
|
|
4
4
|
|
|
5
5
|
## 历史与 thinking
|
|
6
6
|
|
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
相邻同角色消息合并;reasoning、文本和工具调用成为 assistant 内容块,工具输出成为下一条 user 消息中的 `tool_result`。原历史不变。
|
|
10
10
|
|
|
11
|
-
默认 effort 为 `medium`,普通映射提供 `low`、`medium`、`high`、`xhigh`、`max` 并保留同名值,使用 adaptive thinking 并写入 `output_config.effort`。codeks 的 `ultra` 注入多代理提示词,并将 Opus 5.5 的原生 effort 设为 `xhigh`、Sonnet 5.5 设为 `max`。
|
|
11
|
+
默认 effort 为 `medium`,普通映射提供 `low`、`medium`、`high`、`xhigh`、`max` 并保留同名值,使用 adaptive thinking 并写入 `output_config.effort`。codeks 的 `ultra` 注入多代理提示词,并将 Opus 5.5 的原生 effort 设为 `xhigh`、Sonnet 5.5 与 Haiku 5.5 设为 `max`。
|
|
12
12
|
|
|
13
13
|
Opus 5.5 始终启用 thinking;Sonnet 5.5 的最低模式是 `between_tools`,关闭回复前的思考,但仍在工具之间返回带签名的进度说明。两者都拒绝 `thinking.type: "disabled"`,因此目录不把 `none` 作为可选档位,也不把关闭思考的请求静默改成 `low`。Sonnet 的 `between_tools` 只接受 `high` 或以下 effort,且 `thinking` 对象中不能附带 `display`、`budget_tokens` 等字段。[官方 thinking 规则](https://platform.claude.com/docs/en/build-with-claude/thinking)、[Sonnet 5.5 变更说明](https://platform.claude.com/docs/en/models/sonnet-5-5/whats-new-sonnet-5-5)
|
|
14
14
|
|
|
15
|
+
Haiku 5.5 还提供 `none`:使用 `thinking.type: "disabled"`,省略 `output_config.effort`,采用上游默认 `medium`。该模型仅在 `high` 或以下 effort 支持 disabled;模式为 disabled 时不附加 display 或 block binding。其余档位沿用共同的 adaptive 转换,不需要按模型名增加 adapter 分支。[Haiku 5.5 变更说明](https://platform.claude.com/docs/en/models/haiku-5-5/whats-new-haiku-5-5)
|
|
16
|
+
|
|
15
17
|
`reasoning.summary` 缺省或为 `none` 时选择 `display: "omitted"`;`auto`、`concise`、`detailed` 选择 `summarized`,不保证上游区分摘要长度。目录默认值与 GPT-6.1 Sol 一样为 `none`;要显示摘要,在 codeks 配置中设置 `model_reasoning_summary = "auto"`。显示开关不关闭 thinking 或载荷回放。
|
|
16
18
|
|
|
17
19
|
`reasoning.effort_map` 可以替换映射,`options.thinking` 和 `options.output_config` 可以覆盖完整原生对象。例如以下 Sonnet 模型条目固定使用 `between_tools` 与 `low` effort;options 优先于客户端请求中推导的模式、effort 和 display,无需新增转换接口:
|
|
@@ -28,9 +30,9 @@ Opus 5.5 始终启用 thinking;Sonnet 5.5 的最低模式是 `between_tools`
|
|
|
28
30
|
}
|
|
29
31
|
```
|
|
30
32
|
|
|
31
|
-
未映射的显式 effort
|
|
33
|
+
未映射的显式 effort 仍交给上游判断;对 Opus / Sonnet 显式请求 `none` 时,adapter 仍发送 `thinking.type: "disabled"`,由上游返回错误。目录精调不构成运行时能力预检。
|
|
32
34
|
|
|
33
|
-
Opus / Sonnet 5.5
|
|
35
|
+
Opus / Sonnet / Haiku 5.5 目录按用户选择设置默认上下文窗口 `400000`,最大上下文窗口为 `1000000`,Messages API 要求提供 `max_tokens`,因此目录设置默认输出预算 `128000`,对应官方标准最大输出。输出预算依次取请求 `max_output_tokens`、模型配置、目录默认值,再接受上游和模型 options 的覆盖;这是允许的上限,不要求每次生成同样长度。[Sonnet 模型规格](https://platform.claude.com/docs/en/models/sonnet-5-5/overview)、[Haiku 模型规格](https://platform.claude.com/docs/en/models/haiku-5-5/overview)、[配置优先级](config.md)
|
|
34
36
|
|
|
35
37
|
完整 `thinking`/`redacted_thinking` block,包括签名或隐藏数据,存入 `anthropic.thinking.v1` carrier。请求按 `replay.reasoning_from` 恢复允许来源,签名完整保留;其他来源只在当前请求过滤。允许配对不意味着上游一定接受其签名。[Reasoning 策略](reasoning.md)
|
|
36
38
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
普通 Responses 参数、namespace 和 custom grammar 工具保留原始格式,包括未知扩展字段;请求及响应 header 按 [HTTP 边界](responses-stream.md#header-与转发边界) 默认透传。模型名替换为配置的实际名称,reasoning effort 使用 profile 默认值和配置映射。`max_output_tokens` 优先使用请求值,再使用模型默认值。
|
|
8
8
|
|
|
9
|
-
客户端默认发送 Responses Lite:工具声明保留在 `input[].additional_tools` 的原位置,不提升到顶层 `tools`。保留 `reasoning.context: "all_turns"` 和 `parallel_tool_calls: false
|
|
9
|
+
客户端默认发送 Responses Lite:工具声明保留在 `input[].additional_tools` 的原位置,不提升到顶层 `tools`。保留 `reasoning.context: "all_turns"` 和 `parallel_tool_calls: false`,并向对应 GPT 上游发送 Lite header。GPT-5.5 条目也显式启用 Lite,其余模型能力不随之升级。入口从客户端 header 或 `additional_tools` 识别 Lite;只有 header、没有工具的请求也能保持标记。非 Lite 请求仍保留普通工具声明。后端不通过模型名称或云厂商猜测协议。
|
|
10
10
|
|
|
11
11
|
随后浅层合并上游和模型 `options`,后者覆盖前者,也可覆盖推导出的普通参数。最后由 bridge 固定 `model`、`input`、`tools`、`store: false`、`stream: true`,`include` 至少包含 `reasoning.encrypted_content`。上游状态由完整历史承载,不依赖服务器保存的会话。
|
|
12
12
|
|
package/docs/compaction.md
CHANGED
|
@@ -40,7 +40,7 @@ remote_compaction = "v2"
|
|
|
40
40
|
|
|
41
41
|
Codex 目录中的 `comp_hash` 是压缩兼容组的标识,不是提示词内容的 hash。`0.163.0` 在前后两轮的非空值不同时,会先调用上一模型执行压缩;切换到更小窗口时也有独立的压缩判断。相同值只避免因兼容组变化而额外压缩,不关闭窗口用量检查。
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
当前条目保留各自源目录的值:GPT-5.5 为 `"2911"`,其余条目为 `"3000"`。bridge 检查点提供文字摘要,或提供向原来源生成文字摘要的配方,因此目标可以继续消费同一个检查点,无需按模型另造兼容组。是否恢复其中的原生密文仍由来源、格式和 `native_replay` 策略决定;相同 `comp_hash` 不表示 GPT、Claude 或不同区域之间能直接共享密文。
|
|
44
44
|
|
|
45
45
|
上游改变 `comp_hash` 或切换模型时的压缩逻辑后,应复核 `codex-rs/core/src/session/turn.rs` 及检查点恢复契约,再决定是否沿用新值。提示词或窗口调整本身不是重新计算此字段的理由。
|
|
46
46
|
|
package/docs/config.md
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
| `upstream` | `primary` | 选择连接、鉴权和区域 |
|
|
13
13
|
| `model` | `deployment-a` | 实际发给上游的模型或部署名 |
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
当前支持的 key 见[模型目录](../catalog/README.md)。没有通用兜底条目,未知 key 在加载配置时报错。实际部署名无需与 key 相同,也不用于推断协议。
|
|
16
16
|
|
|
17
17
|
| 目录模型 | 条目指定的 adapter | 上游路径 |
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| GPT 系列 | [`gpt-responses`](backends-responses.md) | `/responses` |
|
|
20
|
-
| Claude Opus / Sonnet | [`claude-messages`](backends-anthropic.md) | `/messages` |
|
|
20
|
+
| Claude Opus / Sonnet / Haiku | [`claude-messages`](backends-anthropic.md) | `/messages` |
|
|
21
21
|
| DeepSeek Flash | [`deepseek-chat`](backends-deepseek-chat.md) | `/chat/completions` |
|
|
22
22
|
|
|
23
23
|
同一个兼容网关的连接可供不同条目使用。服务按每条请求的别名独立选路,因此父代理、子代理和并行会话可以同时使用不同上游。别名固定对应一个目标,不做上游模型发现或自动负载均衡。
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
| `model` | 实际上游模型名;可以是部署别名 |
|
|
81
81
|
| `catalog` | 必填,已审阅条目的 key;条目决定 adapter |
|
|
82
82
|
| `expose` | 默认 `true`;设为 `false` 时不进入客户端 HTTP 目录和 CLI 导出的静态目录 |
|
|
83
|
+
| `visibility` | 默认 `"list"`;`"hide"` 在客户端选择器中隐藏,仍保留完整目录条目;`expose: false` 时不输出条目 |
|
|
83
84
|
| `context_window` | 可选窗口预算;设置时同时覆盖客户端的 `context_window` 和 `max_context_window` |
|
|
84
85
|
| `max_output_tokens` | 覆盖目录的默认回答输出预算;请求中的显式值优先于模型配置 |
|
|
85
86
|
| `input_modalities` | 可选,覆盖条目中的 `text`/`image` 能力声明 |
|
|
@@ -89,9 +90,18 @@
|
|
|
89
90
|
| `options` | 原生请求参数,覆盖上游级 options |
|
|
90
91
|
| `adapters` | 当前模型的桥接行为;逐字段覆盖上游级同名 adapter 设置 |
|
|
91
92
|
|
|
92
|
-
`
|
|
93
|
+
`visibility: "hide"` 适合 Memory、已有会话等仍需完整模型元数据的用途。它保留提示词、窗口和工具能力,仅设置客户端的选择器可见性。`expose: false` 则完全省略目录条目,适合只由 bridge 内部调用的压缩预设。
|
|
93
94
|
|
|
94
|
-
|
|
95
|
+
两个字段都不改变别名的路由、来源身份或访问权限。显式按别名发送请求仍可调用,也可用于压缩、handoff 和状态复用;inspector 保留诊断记录。`config-snippet` 选择首个进入目录且 `visibility` 为 `"list"` 的别名作为默认模型;没有可见别名时该命令明确报错,服务和目录导出仍可使用。
|
|
96
|
+
|
|
97
|
+
```json
|
|
98
|
+
"memory": {
|
|
99
|
+
"catalog": "gpt-5.6-luna", "upstream": "primary", "model": "gpt-5.6-luna",
|
|
100
|
+
"visibility": "hide"
|
|
101
|
+
}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
不设置窗口时,原条目的两个窗口字段各自保留。多数 GPT 条目为 `context_window: 272000`、`max_context_window: 872000`;GPT-5.5 的两个字段均为 `272000`,Daybreak Red 均为 `372000`。Opus 5.5、Sonnet 5.5 和 Haiku 5.5 为 `context_window: 400000`、`max_context_window: 1000000`;DeepSeek Flash 的两个字段均为 `1000000`。压缩阈值沿用模板的 `auto_compact_token_limit: null`,由客户端按窗口计算。Claude Messages 必须提供 `max_tokens`,对应目录外层默认预算为 `128000`;GPT 和 DeepSeek 使用请求、模型配置或上游提供的默认值。原生 options 也可调整预算,实际限制由部署端点裁决。
|
|
95
105
|
|
|
96
106
|
请求先由 adapter 转换,再浅层合并 `upstream.options`、`model.options`;后者优先,嵌套对象整体替换。例如模型 `options.output_config` 会替换推导值和上游同名对象。由此可以显式调整 thinking budget、原生 effort 或端点专有字段。
|
|
97
107
|
|
|
@@ -145,7 +155,7 @@
|
|
|
145
155
|
|
|
146
156
|
请求没有 effort 时使用配置默认值;有映射则转换,未列出的显式 effort 直接透传,交给上游判断。catalog 与实际请求使用同一份配置;通过原生 `options` 再覆盖 thinking/effort 时,应同时调整这里的展示设置。
|
|
147
157
|
|
|
148
|
-
codeks 的 `ultra` 是客户端特殊档位:注入多代理提示词,并优先使用条目的 `multi_agent_reasoning_effort`,未配置时按客户端规则选择 `max` 或其他可用普通档位。GPT 条目保留各自原值;GPT-6.1 Sol 和 Opus 5.5 使用 `xhigh`,Sonnet 5.5 和 DeepSeek Flash 使用 `max`。若显式覆盖 `effort_map` 并提供 `ultra`,映射中还须有一个非 `ultra`/`persistent` 档位指向相同原生值;bridge 据此填写客户端字段,不能表达时明确报错。例如 `ultra: "max"` 与 `max: "max"` 配对。直接 HTTP 请求中的未知 effort 仍按上述规则透传。
|
|
158
|
+
codeks 的 `ultra` 是客户端特殊档位:注入多代理提示词,并优先使用条目的 `multi_agent_reasoning_effort`,未配置时按客户端规则选择 `max` 或其他可用普通档位。GPT 条目保留各自原值;GPT-6.1 Sol 和 Opus 5.5 使用 `xhigh`,Sonnet 5.5、Haiku 5.5 和 DeepSeek Flash 使用 `max`。若显式覆盖 `effort_map` 并提供 `ultra`,映射中还须有一个非 `ultra`/`persistent` 档位指向相同原生值;bridge 据此填写客户端字段,不能表达时明确报错。例如 `ultra: "max"` 与 `max: "max"` 配对。直接 HTTP 请求中的未知 effort 仍按上述规则透传。
|
|
149
159
|
|
|
150
160
|
摘要显示由 codeks 的顶层配置控制,bridge 不强制打开:
|
|
151
161
|
|
package/docs/design.md
CHANGED
|
@@ -20,17 +20,17 @@ flowchart LR
|
|
|
20
20
|
|
|
21
21
|
## 客户端协议跟随 Codex
|
|
22
22
|
|
|
23
|
-
优先匹配最新 Codex 的 GPT 默认行为,以 OpenAI 订阅、AWS 和 Azure
|
|
23
|
+
优先匹配最新 Codex 的 GPT 默认行为,以 OpenAI 订阅、AWS 和 Azure 的使用场景为基准。当前模型条目使用 Responses Lite,现代条目保留 Code Mode Only 和多代理字段;GPT-5.5 显式启用 Lite,其余工具与多代理元数据仍跟随源条目。目录固定到明确的 Codex 源码版本,不随用户本机二进制或订阅账号变化。
|
|
24
24
|
|
|
25
25
|
Lite 仍调用 `/responses` 并返回 Responses SSE。完整工具 schema 位于历史中的 `additional_tools` 项,普通函数和 custom 工具归入默认 `functions` namespace。GPT 路径保留这些声明的位置、顺序、schema 和 grammar,并发送 `x-openai-internal-codex-responses-lite: true`。Claude 默认将初始声明放到顶部,增量声明转换为原生中途工具更新;DeepSeek 及 Claude 的显式兼容模式将各批定义合并到顶部。声明不会变成 user reminder。中途提醒保留所在对话位置;若插在一次完整的工具交换内,则移至该批结果之后,以满足目标协议的配对要求。
|
|
26
26
|
|
|
27
27
|
已核对 Codex `0.163.0`:Lite 设置 `reasoning.context: "all_turns"` 和 `parallel_tool_calls: false`。bridge 保留客户端传入值,原生 options 仍可按配置覆盖普通参数。reasoning 的来源筛选与服务端 context 语义是两件事:前者决定发送哪些载荷,后者决定 GPT 如何使用它们。原生压缩与随后的复述保留源 Lite 工具声明及 transport 标记。
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
该版本现代 OpenAI GPT 条目启用 Lite,但原生 AWS Bedrock 目录仍主动关闭 Lite 和 Code Mode。bridge 在这些模型上保留 OpenAI 条目的行为,是本项目的明确选择,不能把它描述为所有官方 provider 当前完全相同的默认值。上游是否接受请求由端点裁决,错误直接返回;bridge 不自动转回另一种协议。升级时复核 `core/src/client.rs`、`tools/src/tool_spec.rs`、`core/src/context/world_state/top_level_tools.rs` 和 provider 的模型目录处理。
|
|
30
30
|
|
|
31
31
|
## 有限目录与显式精调
|
|
32
32
|
|
|
33
|
-
项目只支持明确列出的模型。`catalog/` 保存每个模型的完整条目及来源;GPT 分别使用 Codex 源码中各自的版本,保留提示词、默认 effort
|
|
33
|
+
项目只支持明确列出的模型。`catalog/` 保存每个模型的完整条目及来源;GPT 分别使用 Codex 源码中各自的版本,保留提示词、默认 effort、摘要、窗口和工具元数据的差异,GPT-5.5 的 Lite 调整单独记录在 `adjustments`。Claude 与 DeepSeek 从 GPT-6.1 Sol 模板开始,只替换底层模型身份(如 `You are Codex, an agent based on Claude.`),保留 Codex 代理角色及 `As Codex` 人格说明;参数和确有差异的能力逐项精调,记录在条目的 `adjustments`。摘要默认值继续使用模板的 `none`,是否展示由客户端配置决定,不为第三方模型强制打开。
|
|
34
34
|
|
|
35
35
|
导入脚本只生成独立候选文件,供人或 Agent 对比审阅。运行时使用已提交的完整条目,不自动导入、不猜测未知模型,也不从 ChatGPT 订阅获取目录。这样更新仍有工具辅助,同时提示词和能力变化可审查、可追踪。来源及更新步骤见[模型目录](../catalog/README.md)。
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ Lite 仍调用 `/responses` 并返回 Responses SSE。完整工具 schema 位于
|
|
|
42
42
|
|
|
43
43
|
`src/profiles.ts` 将目录与配置组合为运行时 profile,同时用于客户端目录和出站请求,避免界面显示一套 effort、实际发送另一套。未覆盖字段保留原模型差异,不能用一套通用默认值改写所有 GPT。来源身份继续取连接、adapter 与实际部署,不因提示词更新或窗口预设改变。
|
|
44
44
|
|
|
45
|
-
`GET /v1/models` 提供 Codex 原生目录响应,CLI 默认生成显式 `model_catalog_url`;也可导出静态文件。两种目录都只包含 `expose`
|
|
45
|
+
`GET /v1/models` 提供 Codex 原生目录响应,CLI 默认生成显式 `model_catalog_url`;也可导出静态文件。两种目录都只包含 `expose` 未关闭的别名;`visibility: "hide"` 保留完整条目但在客户端选择器中隐藏,默认 `"list"`。目录省略与选择器隐藏分开,让内部压缩预设和仍需客户端元数据的 Memory、已有会话各取所需;两者都不改变调用权限或状态身份。服务启动时展开配置,目录与普通响应通过 ETag 关联,客户端看到新版本后刷新。目录只包含客户端需要的公开模型元数据,不包含连接或凭据配置。
|
|
46
46
|
|
|
47
47
|
底层 Chat 负责消息、工具、图片和 SSE;DeepSeek 方言只负责 thinking 参数、reasoning 字段和 usage。新增方言时复用稳定的协议部分,把差异留在对应 adapter。协议相同的模型版本可共用 adapter,参数差异先在新的目录条目中表达;真正改变载荷结构时再增加转换代码和格式版本。当前实现三类 adapter,不为尚未接入的模型维护空接口或版本矩阵。
|
|
48
48
|
|
|
@@ -90,7 +90,7 @@ GPT 原生 HTTP 失败保留 status、body 和诊断 header,流内失败保留
|
|
|
90
90
|
|
|
91
91
|
## 协议边界
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
客户端按目录条目发送 Responses Lite 或普通 Responses 历史。Responses 后端保留 namespace 与 grammar;Claude/DeepSeek 将它们转换成普通函数并恢复调用身份。Lark/regex 只转换为描述约束,不追加特定工具的提示词。
|
|
94
94
|
|
|
95
95
|
Responses 后端保留原生事件及 response envelope,其他后端由 writer 生成 Responses 协议。writer 从第一个工具起缓存全部后续事件,成功后按原顺序交付,失败时整体丢弃;代价是工具之后的文字也暂时不能显示。Reasoning item 的载荷必须出现在 `output_item.done`,确保 codeks 可以保存。远程 V2 压缩也由同一个 writer 返回,客户端继续执行自己的历史保留规则。
|
|
96
96
|
|
package/docs/testing.md
CHANGED
|
@@ -19,7 +19,7 @@ npm run check
|
|
|
19
19
|
- 流:跨字节分块的 UTF-8、CR/LF、SSE 多行数据、结束标记、非法 JSON。
|
|
20
20
|
- Responses 输出:先 added 后 delta/done、完整历史项、usage、reasoning carrier、原生消息 phase(含 `partial_answer`)、缺省 phase 与 `end_turn` 的关系、摘要分段索引和最终数组一致、明文多代理参数、失败时不执行尚未提交的工具。
|
|
21
21
|
- 配置与目录:有限 key、原始 GPT 条目保留、第三方精调、别名与部署名分离、窗口覆盖、effort 映射及默认值、catalog 与出站参数一致、options 覆盖顺序。
|
|
22
|
-
- 目录发现:Codex 专用 `/models` 响应、入口鉴权、ETag 与响应版本标记、连接及凭据配置不进入目录;`expose`
|
|
22
|
+
- 目录发现:Codex 专用 `/models` 响应、入口鉴权、ETag 与响应版本标记、连接及凭据配置不进入目录;`visibility` 隐藏时保留完整元数据和路由、`expose` 过滤、首个可见别名作为默认、没有可见别名时配置片段报错,以及省略的模型继续参与委托压缩和 handoff。
|
|
23
23
|
- 状态:reasoning 与原生压缩的独立允许来源、定向非传递关系、配置改变后恢复已有 carrier、身份与显示别名分离、输入历史不变。
|
|
24
24
|
- 压缩:生成模式与 native replay 独立;summary 保留标准 prompt;工具定义、选择及未知参数保留,意外工具调用明确失败;GPT 默认 native 生成原生检查点;所有必需步骤成功才交付;失败、截断与取消保持原路径。
|
|
25
25
|
- 按需复述:兼容目标不导出,其他目标向原来源导出;不包含检查点后的新工作;来源别名恢复、缓存及重启复用、同键排队与独立取消;辅助 usage 不进入目标上下文统计。
|
package/package.json
CHANGED