@kodax-ai/kodax 0.7.96-beta.4 → 0.7.96-beta.7
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 +97 -0
- package/README.md +29 -4
- package/README_CN.md +23 -4
- package/config-templates/config.example.jsonc +2 -2
- package/dist/chunks/{agent-MNDAK2RR.js → agent-MUNSGDNO.js} +1 -1
- package/dist/chunks/argument-completer-6TSU5AEB.js +2 -0
- package/dist/chunks/{chunk-SQIYHB3U.js → chunk-3SKK7NFC.js} +154 -154
- package/dist/chunks/{chunk-Z5AHYOPP.js → chunk-3YOSYV3S.js} +1 -1
- package/dist/chunks/{chunk-D2Q2TZPK.js → chunk-4KYG5QCO.js} +1 -1
- package/dist/chunks/{chunk-WXWFHOHS.js → chunk-5KG5LAUO.js} +1 -1
- package/dist/chunks/chunk-7SAZJDEK.js +429 -0
- package/dist/chunks/{chunk-F4WBMJ7S.js → chunk-B4FK5XVU.js} +2 -2
- package/dist/chunks/{chunk-7K7RYMWX.js → chunk-F7JMG426.js} +135 -135
- package/dist/chunks/{chunk-GGRVYK4Z.js → chunk-H6NNJO5M.js} +194 -195
- package/dist/chunks/{chunk-B6ODREOI.js → chunk-HXH5TOAV.js} +1 -1
- package/dist/chunks/{chunk-SR3TFWQX.js → chunk-JA2DY4EC.js} +1 -1
- package/dist/chunks/{chunk-NX5ZZQJU.js → chunk-LCGEVHAP.js} +2 -2
- package/dist/chunks/{chunk-OWJR36UP.js → chunk-NIGQTWGU.js} +6 -6
- package/dist/chunks/chunk-POVUU6P2.js +345 -0
- package/dist/chunks/{chunk-HQIVUSHQ.js → chunk-UGYCXOTE.js} +1 -1
- package/dist/chunks/{chunk-N7OT7BWZ.js → chunk-URJHQKP5.js} +25 -25
- package/dist/chunks/chunk-V7ZTP5SV.js +122 -0
- package/dist/chunks/{chunk-XCJJSQT2.js → chunk-VLYL7HSL.js} +1 -1
- package/dist/chunks/{chunk-VIFNL7HA.js → chunk-WXBRPZMI.js} +2 -2
- package/dist/chunks/{chunk-XR4BBXXB.js → chunk-Y6VGGIKD.js} +1 -1
- package/dist/chunks/{chunk-5DXLNGQB.js → chunk-YURCMKAL.js} +1 -1
- package/dist/chunks/{chunk-6XKCJFA4.js → chunk-ZSJJECST.js} +133 -133
- package/dist/chunks/{client-3SMAXC3M.js → client-GI3J32G4.js} +1 -1
- package/dist/chunks/{compaction-config-XJ3YJMWQ.js → compaction-config-BUDCDBHY.js} +1 -1
- package/dist/chunks/{construction-bootstrap-52ODREW2.js → construction-bootstrap-CETEMU4E.js} +1 -1
- package/dist/chunks/{dist-PYDL5ZNQ.js → dist-EZMYRAZF.js} +1 -1
- package/dist/chunks/dist-LR7HVFHX.js +2 -0
- package/dist/chunks/host-34WITC4H.js +2 -0
- package/dist/chunks/run-manager-MPPLTV4V.js +2 -0
- package/dist/chunks/{utils-FGT42HQW.js → utils-VHU6GKSZ.js} +1 -1
- package/dist/constructed-handler-worker.js +1 -1
- package/dist/index.d.ts +14 -14
- package/dist/index.js +1 -1
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1228 -1236
- package/dist/native/darwin-arm64/kodax-text-transaction.node +0 -0
- package/dist/native/darwin-arm64/manifest.json +1 -1
- package/dist/native/win32-x64/kodax-windows-sandbox.exe +0 -0
- package/dist/native/win32-x64/kodax-windows-text-transaction.node +0 -0
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/provider-capabilities.json +14 -37
- package/dist/runtime-worker.js +1136 -1145
- package/dist/sandbox-network-broker.js +84 -84
- package/dist/sdk-a2a.d.ts +9 -9
- package/dist/sdk-a2a.js +1 -1
- package/dist/sdk-agent.d.ts +13 -10
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +29 -28
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +14 -3
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.d.ts +3 -2
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.d.ts +4 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +13 -13
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +12 -12
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +5 -5
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +67 -67
- package/dist/types-chunks/{bash-prefix-extractor.d-DZzEamhN.d.ts → bash-prefix-extractor.d-bWj6gAhF.d.ts} +11 -9
- package/dist/types-chunks/{capability.d-K664nHOS.d.ts → capability.d-D64w-LP1.d.ts} +5 -1
- package/dist/types-chunks/{capsule.d-BCbfpUmE.d.ts → capsule.d-CUkwG98f.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-DCSJgOM2.d.ts → controller.d-ChzX_KpU.d.ts} +2 -2
- package/dist/types-chunks/{exec-policy.d-CHTikszX.d.ts → exec-policy.d-Bxi_R0VE.d.ts} +2 -2
- package/dist/types-chunks/{manager.d-B67TmPO1.d.ts → manager.d-CzNCeCuT.d.ts} +4 -3
- package/dist/types-chunks/{public-api.d-BKbFMxg8.d.ts → public-api.d-DaNnTFmp.d.ts} +2 -2
- package/dist/types-chunks/{resolver.d-HWh9mm7u.d.ts → resolver.d-CJlv-ItU.d.ts} +19 -14
- package/dist/types-chunks/{run-manager.d-CyctAOlr.d.ts → run-manager.d-CiWW5-OM.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-BE2tlwBs.d.ts → sdk-session-DVAIxfbI.d.ts} +1 -1
- package/dist/types-chunks/{shell-command-sets.d-DuXtT1XY.d.ts → shell-command-sets.d-Db8Zm42g.d.ts} +1 -1
- package/dist/types-chunks/{trusted-repl-entry-_ORN3di2.d.ts → trusted-repl-entry-DdhLTgkI.d.ts} +4 -4
- package/dist/types-chunks/{types.d-HKILN-uL.d.ts → types.d-BtpNflsM.d.ts} +4 -4
- package/dist/types-chunks/{types.d-voYXci-b.d.ts → types.d-CXtyICUW.d.ts} +1 -1
- package/dist/types-chunks/{utils.d-JZc49Yi4.d.ts → utils.d-7ADGZ4BM.d.ts} +4 -4
- package/package.json +1 -1
- package/public_docs/README.md +17 -9
- package/public_docs/configuration/custom-providers.md +4 -4
- package/public_docs/configuration/providers.md +1 -1
- package/public_docs/sdk/embedder-guide.md +6 -4
- package/dist/chunks/argument-completer-QDHL2RIP.js +0 -2
- package/dist/chunks/chunk-EFNU5LXL.js +0 -351
- package/dist/chunks/chunk-HT65FRF4.js +0 -124
- package/dist/chunks/chunk-LAMFRGSJ.js +0 -429
- package/dist/chunks/dist-SSDKPUI6.js +0 -2
- package/dist/chunks/host-OYWDQ2ON.js +0 -2
- package/dist/chunks/run-manager-PFDQBP2D.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,103 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## [0.7.96-beta.7] - 2026-09-11
|
|
12
|
+
|
|
13
|
+
The seventh beta pre-release of the v0.7.96 line: it carries every numbered-beta
|
|
14
|
+
contract (sandbox-first permissions, trusted text, Windows setup generation
|
|
15
|
+
11, context recovery, DeepSeek Anthropic-compat endpoint, compaction summary
|
|
16
|
+
policy, wire-faithful prompt-cache diagnostics) plus the multimodal and
|
|
17
|
+
interrupt-identity fixes below. npm publication remains a manual maintainer
|
|
18
|
+
action.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Preserve text/image tool results through direct and managed dispatch, constructed
|
|
23
|
+
Worker RPC, allowing guardrails, capacity recovery and MCP tool/resource adapters.
|
|
24
|
+
MCP images persist as attachments; image-capable OpenAI providers receive tool
|
|
25
|
+
images after valid paired responses, with matching prompt-cache diagnostics.
|
|
26
|
+
- Carry local execution failures and Worker error codes through child results,
|
|
27
|
+
Actor metadata and Runtime/daemon status. Returned managed/MCP errors retain
|
|
28
|
+
their error classification instead of appearing successful or as provider faults.
|
|
29
|
+
- Keep delivered interrupt entry references valid across context rewrites,
|
|
30
|
+
storage reads/saves, compaction, restart and conversation pagination. Preserve
|
|
31
|
+
explicit provenance, resolve physical ancestor aliases, reject competing claims,
|
|
32
|
+
and rebuild older conversation caches. Equal text or timestamps never create aliases.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## [0.7.96-beta.6] - 2026-09-11
|
|
37
|
+
|
|
38
|
+
Sixth beta pre-release of the v0.7.96 line: a review-hardening pass that
|
|
39
|
+
makes prompt-cache diagnostics describe the actual provider wire, retaining
|
|
40
|
+
every beta.5 contract. npm publication remains a manual maintainer action.
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- Prompt-cache diagnostics now mirror the provider wire: the Anthropic
|
|
45
|
+
diagnostic repair mirrors the provider's pairing semantics — a retained
|
|
46
|
+
orphan `tool_use` is answered with the interrupted-tool marker inside its
|
|
47
|
+
pairing scope, real non-adjacent answers are hoisted, foreign and
|
|
48
|
+
duplicate results are dropped, and other user blocks carry after the
|
|
49
|
+
answers. The OpenAI diagnostic repair gains the same full pairing scope,
|
|
50
|
+
and assistant projection keeps source order to match the
|
|
51
|
+
order-preserving serialization, so the diagnostic hash describes the
|
|
52
|
+
messages actually sent.
|
|
53
|
+
- A new prompt-cache wire contract suite (224 cases) proves the projected
|
|
54
|
+
diagnostic envelope equals the real provider request across every
|
|
55
|
+
built-in and custom Anthropic/OpenAI provider, including retained
|
|
56
|
+
orphan calls that must stay distinct from a thinking-only placeholder.
|
|
57
|
+
- The native SDDL auto-inherited flag normalization parses the flag field
|
|
58
|
+
instead of a blind string replace, preserving P/AR flags and S: sections,
|
|
59
|
+
with its own regression test (89 native tests). `@kodax-ai/llm` exports
|
|
60
|
+
`KODAX_INTERRUPTED_TOOL_RESULT_MARKER` as the shared wire-contract
|
|
61
|
+
constant.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## [0.7.96-beta.5] - 2026-09-10
|
|
66
|
+
|
|
67
|
+
Fifth beta pre-release of the v0.7.96 line. Two change streams: the built-in
|
|
68
|
+
`deepseek` provider moves to DeepSeek's official Anthropic-compatible
|
|
69
|
+
endpoint with a new default model and replayed-history repair, and Windows
|
|
70
|
+
sandbox setup advances to generation 11 with Codex-compatible profile/SSH
|
|
71
|
+
ACL exclusions (Issue 333). All earlier beta.4 contracts are retained. npm
|
|
72
|
+
publication remains a manual maintainer action.
|
|
73
|
+
|
|
74
|
+
### Added
|
|
75
|
+
|
|
76
|
+
- `deepseek-flash` (DeepSeek-V4.1-Flash, 2026-09-10): the new default on the
|
|
77
|
+
built-in `deepseek` alias, speaking the official
|
|
78
|
+
`api.deepseek.com/anthropic` wire with the `deepseek-v4-anthropic`
|
|
79
|
+
reasoning preset (thinking adaptive, `output_config.effort`, signed
|
|
80
|
+
thinking-block replay, count_tokens verification), 1M context, 384000 max
|
|
81
|
+
output tokens, and native image input. The legacy text-only
|
|
82
|
+
`deepseek-v4-pro` id stays selectable via `/model`. Cost rates use
|
|
83
|
+
converted official CNY idle rates with recorded peak-hour equivalents.
|
|
84
|
+
|
|
85
|
+
### Fixed
|
|
86
|
+
|
|
87
|
+
- Replayed restored-session histories no longer 400 on strict endpoints:
|
|
88
|
+
`repairToolCallHistory` answers an orphaned `tool_use` call with an
|
|
89
|
+
explicit interrupted-tool marker instead of dropping it, Anthropic
|
|
90
|
+
serialization keeps assistant blocks in their stored order while preserving
|
|
91
|
+
the required `tool_result`-first user grouping, and error classification
|
|
92
|
+
recognizes both wire dialects' pairing errors. Typed `AbortError`
|
|
93
|
+
cancellation now takes precedence over provider message matching; the
|
|
94
|
+
runner preserves the observed provider failure over a plain abort reason;
|
|
95
|
+
SDK Runtime aborts use typed `DOMException` aborts; and the REPL
|
|
96
|
+
distinguishes user cancellation from session-recovery cleanup.
|
|
97
|
+
- Issue 333: Windows sandbox setup generation 11 matches Codex's profile and
|
|
98
|
+
SSH dependency ACL exclusions on read and write roots, keeping ordinary
|
|
99
|
+
home/tool reads and the existing fixed ACL plus per-command
|
|
100
|
+
token/concurrency mechanism. Generation-10 SSH ACE cleanup is setup-only,
|
|
101
|
+
removes provably owned entries, preserves owner and unrelated ACEs, and
|
|
102
|
+
retains the old SID/nonce/roots across interrupted retries. Generation-8/9
|
|
103
|
+
protocol-only in-place upgrades keep their behavior. See
|
|
104
|
+
`docs/test-guides/ISSUE_333_v0.7.96_REGRESSION_GUIDE.md`.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
11
108
|
## [0.7.96-beta.4] - 2026-09-08
|
|
12
109
|
|
|
13
110
|
Fourth beta pre-release of the v0.7.96 line, retaining the beta.3 Windows WFP
|
package/README.md
CHANGED
|
@@ -367,7 +367,7 @@ If your custom provider's underlying model supports image input (vision), set `"
|
|
|
367
367
|
|
|
368
368
|
`imageInput: true` forces `capabilityProfile.multimodalSupport: "image-input"` on every KodaX surface (provider instance, capability queries, policy gates), overriding an explicit `"none"`. The advanced alternative — a hand-written `capabilityProfile` block with `"multimodalSupport": "image-input"` — works too; see [Custom Providers](public_docs/configuration/custom-providers.md). Leave it unset for text-only models and image artifacts are rejected with `MODEL_INPUT_UNSUPPORTED` before the request is sent.
|
|
369
369
|
|
|
370
|
-
Built-in vision-capable aliases (Anthropic, OpenAI, compatible aliases such as Kimi, Qwen, Zhipu, MiniMax, MiMo, Ark, plus Gemini-CLI via the CLI's `@<path>` file-include syntax) already ship with image input enabled.
|
|
370
|
+
Built-in vision-capable aliases (Anthropic, OpenAI, compatible aliases such as Kimi, Qwen, Zhipu, MiniMax, MiMo, Ark, plus Gemini-CLI via the CLI's `@<path>` file-include syntax) already ship with image input enabled. On the built-in `deepseek` alias the default `deepseek-flash` (DeepSeek-V4.1-Flash) takes images natively; the legacy `deepseek-v4-pro` id and Codex-CLI are text-only; custom providers need to opt in when their underlying model supports image input.
|
|
371
371
|
|
|
372
372
|
The serializer layer (`packages/llm/src/providers/anthropic.ts:1431` for Anthropic-compat, `openai.ts:1496` for OpenAI-compat) forwards image blocks automatically through base-class inheritance — OpenAI-compatible endpoints receive standard `image_url` blocks. The flag only gates whether KodaX's policy layer pre-rejects multimodal requests — the model-level vision contract remains your upstream provider's responsibility. If the model is actually text-only, you'll see the real upstream API error instead of a KodaX-side rejection.
|
|
373
373
|
|
|
@@ -759,6 +759,23 @@ permission UI, and recovers stale prepared Session tails through an
|
|
|
759
759
|
authoritative merge. Background persistence failures are surfaced as
|
|
760
760
|
diagnostics rather than hidden.
|
|
761
761
|
|
|
762
|
+
Beta.6 makes prompt-cache diagnostics mirror the provider wire: retained
|
|
763
|
+
orphan `tool_use` calls are answered with the interrupted-tool marker inside
|
|
764
|
+
their pairing scope and assistant projection keeps source order, so the
|
|
765
|
+
diagnostic hash describes the messages actually sent. A 224-case wire
|
|
766
|
+
contract suite proves the projected envelope equals the real provider
|
|
767
|
+
request across built-in and custom Anthropic/OpenAI providers.
|
|
768
|
+
|
|
769
|
+
Beta.5 moves the built-in `deepseek` provider to DeepSeek's official
|
|
770
|
+
Anthropic-compatible endpoint (`api.deepseek.com/anthropic`) with new default
|
|
771
|
+
model `deepseek-flash` (DeepSeek-V4.1-Flash, 1M context, native image input)
|
|
772
|
+
and repairs replayed restored-session histories: orphaned `tool_use` calls
|
|
773
|
+
are answered with an explicit interrupted-tool marker instead of being
|
|
774
|
+
dropped, and typed `AbortError` cancellation takes precedence over provider
|
|
775
|
+
message matching. Windows sandbox setup advances to generation 11
|
|
776
|
+
(Issue 333), matching Codex's profile and SSH dependency ACL exclusions while
|
|
777
|
+
keeping ordinary home/tool reads and the existing concurrency mechanism.
|
|
778
|
+
|
|
762
779
|
Beta.4 shares manual and automatic compaction summary policy:
|
|
763
780
|
`compaction.reasoning` applies to both paths independent of the main turn's
|
|
764
781
|
effort, defaulting to disabled thinking where supported. Manual compaction
|
|
@@ -767,7 +784,15 @@ provider's model, REPL `/compact` clears the UI only after a durable save, and
|
|
|
767
784
|
successful reports carry bounded `summaryRequests` plus `commitMs` per
|
|
768
785
|
physical summary call.
|
|
769
786
|
|
|
770
|
-
**v0.7.96-beta.
|
|
787
|
+
**v0.7.96-beta.7 release:** The seventh beta pre-release of the v0.7.96 line. It
|
|
788
|
+
adds multimodal result fidelity — text/image tool results survive direct and
|
|
789
|
+
managed dispatch, Worker RPC, guardrails, capacity recovery, and MCP
|
|
790
|
+
adapters (MCP images persist as attachments) — carries typed local failures
|
|
791
|
+
through child results, Actor metadata, and Runtime/daemon status, and keeps
|
|
792
|
+
delivered interrupt entry references valid across context rewrites,
|
|
793
|
+
storage reads, compaction, restart, and conversation pagination.
|
|
794
|
+
|
|
795
|
+
**v0.7.96-beta.6 release:** Windows shell admission now follows the
|
|
771
796
|
Codex concurrency boundary: versioned setup performs legacy migration once,
|
|
772
797
|
while ordinary admission accepts effective inherited normal-token access and
|
|
773
798
|
only converges a missing exact-root restricted capability using `SET_ACCESS`
|
|
@@ -816,7 +841,7 @@ requests, preserves structured Child Agent Provider failures, honors exact
|
|
|
816
841
|
run-scoped credential verification, and omits empty `tools` arrays for strict
|
|
817
842
|
vLLM gateways (Issues 329-332). npm publication remains a
|
|
818
843
|
manual maintainer action. See the
|
|
819
|
-
[release checklist](docs/release.md#v0796-
|
|
844
|
+
[release checklist](docs/release.md#v0796-beta7-release-preparation).
|
|
820
845
|
|
|
821
846
|
**v0.7.96-alpha.3 release:** Provider credentials are lazy, scoped,
|
|
822
847
|
revocable capabilities (ADR-068). The v2 credential broker keeps Provider
|
|
@@ -2010,7 +2035,7 @@ await runInkInteractiveMode({ provider: 'zhipu-coding', effort: 'auto' });
|
|
|
2010
2035
|
| mimo | `MIMO_API_KEY` | Native | mimo-v2.5-pro (Xiaomi MiMo pay-per-token, Anthropic-compat) |
|
|
2011
2036
|
| mimo-coding | `MIMO_CODING_API_KEY` | Native | mimo-v2.5-pro (Xiaomi Token Plan, Anthropic-compat) |
|
|
2012
2037
|
| ark-coding | `ARK_CODING_API_KEY` | Native | glm-5.3 (Volcengine Ark Coding Plan — GLM-5.3 (1M ctx, 128K out) · GLM-5.2 (alias: `glm-latest`) · Kimi K2.7 Code / K2.6 · MiniMax M3 / M2.7 · DeepSeek V4 Pro / V4 Flash · Doubao Seed 2.0 Code / Pro / Lite · Doubao Seed Code) |
|
|
2013
|
-
| deepseek | `DEEPSEEK_API_KEY` | Native | deepseek-
|
|
2038
|
+
| deepseek | `DEEPSEEK_API_KEY` | Native | deepseek-flash (Anthropic-compat; DeepSeek-V4.1-Flash, 1M ctx, native image input; legacy text-only `deepseek-v4-pro`, via `/model`) |
|
|
2014
2039
|
| gemini-cli | Provider CLI authentication (no KodaX API-key variable) | Prompt-only / CLI bridge | (via gemini CLI) |
|
|
2015
2040
|
| codex-cli | Provider CLI authentication (no KodaX API-key variable) | Prompt-only / CLI bridge | (via codex CLI) |
|
|
2016
2041
|
|
package/README_CN.md
CHANGED
|
@@ -296,9 +296,28 @@ SDK 系统代码契约更新,但没有放宽 shell/sandbox 的 fail-closed 边
|
|
|
296
296
|
`handleRuntimePermissionRequest()` 管理 SDK 权限 UI,并在 prepared Session 尾部遇到
|
|
297
297
|
`data_changed` 时通过权威 delta 合并恢复;后台持久化失败会显示为诊断,不再静默丢失。
|
|
298
298
|
|
|
299
|
+
**v0.7.96-beta.7 发布**:新增多模态结果保真——
|
|
300
|
+
文本/图片工具结果在直接与托管分发、Worker RPC、guardrail、容量恢复与 MCP
|
|
301
|
+
适配器中完整保留(MCP 图片持久化为附件);本地执行失败以类型化错误贯穿
|
|
302
|
+
child 结果、Actor 元数据与 Runtime/daemon 状态;已投递中断条目引用在上下文
|
|
303
|
+
重写、存储读写、压缩、重启与分页中保持有效。
|
|
304
|
+
|
|
305
|
+
beta.6 让 prompt-cache 诊断与真实 provider wire 对齐:保留的孤立 `tool_use`
|
|
306
|
+
调用在其配对范围内以 interrupted-tool 标记应答,assistant 投影保持源顺序,
|
|
307
|
+
诊断哈希因此描述实际发送的消息。新增 224 个 wire 契约用例,验证投影包络在
|
|
308
|
+
全部内置与自定义 Anthropic/OpenAI provider 上等于真实 provider 请求。
|
|
309
|
+
|
|
310
|
+
beta.5 将内置 `deepseek` provider 迁移到 DeepSeek 官方 Anthropic 兼容协议
|
|
311
|
+
(`api.deepseek.com/anthropic`),新默认模型 `deepseek-flash`
|
|
312
|
+
(DeepSeek-V4.1-Flash,1M 上下文,原生图片理解),并修复恢复会话重放时的
|
|
313
|
+
历史校验:孤立的 `tool_use` 调用会以显式的 interrupted-tool 标记应答而不是
|
|
314
|
+
被丢弃,类型化 `AbortError` 取消优先于 provider 文本匹配。Windows sandbox
|
|
315
|
+
setup 升级到 generation 11(Issue 333),对齐 Codex 的 profile 与 SSH 依赖
|
|
316
|
+
ACL 排除,同时保留普通 home/tool 读取与现有并发机制。
|
|
317
|
+
|
|
299
318
|
beta.4 统一了手动与自动压缩的摘要策略:`compaction.reasoning` 同时作用于两条路径,与主回合 effort 无关(默认在支持时关闭思考)。手动压缩遵循生效的 Session provider/model,不会把切换前 provider 的 model 带入请求;REPL `/compact` 仅在持久化保存成功后清空 UI;成功报告按每次物理摘要调用记录有界 `summaryRequests` 与 `commitMs`。
|
|
300
319
|
|
|
301
|
-
**v0.7.96-beta.
|
|
320
|
+
**v0.7.96-beta.6 发布**:Windows shell 准入现在遵循 Codex 的并发边界:
|
|
302
321
|
版本化 setup 只执行一次 legacy 迁移;普通准入在 capability 已存在时只读,只有缺失
|
|
303
322
|
精确 root restricted capability 时才用 `SET_ACCESS` 与 DACL 回读收敛,且不等待任何
|
|
304
323
|
跨进程目标互斥锁。稳定 filesystem capability SID 保留在对象上,每条命令的 token
|
|
@@ -337,7 +356,7 @@ scope 在 SDK、Agent 摘要、CLI 与 Runtime Worker 请求间共享,保留
|
|
|
337
356
|
失败信息,精确遵循 run-scoped 凭据校验,并为严格 vLLM 网关省略空 `tools` 数组(Issues 329-332)。
|
|
338
357
|
npm 发布仍由
|
|
339
358
|
npm 发布仍由
|
|
340
|
-
维护者手动执行。详见 [v0.7.96-beta.
|
|
359
|
+
维护者手动执行。详见 [v0.7.96-beta.7 发布清单](docs/release.md#v0796-beta7-release-preparation)。
|
|
341
360
|
|
|
342
361
|
**v0.7.96-alpha.3 发布**:Provider 凭据成为惰性、受限、可撤销的能力(ADR-068)。v2
|
|
343
362
|
credential broker 将 Provider 密钥保留在 OS keychain,按每次 wire call、为单一封闭
|
|
@@ -889,7 +908,7 @@ Verifier 的 `revise` / `blocked` 可执行消息;JSONL 输出使用同形
|
|
|
889
908
|
|
|
890
909
|
`imageInput: true` 会在 KodaX 所有层面(provider 实例、能力查询、policy gate)强制 `capabilityProfile.multimodalSupport: "image-input"`,显式写了 `"none"` 也会被覆盖。进阶写法 —— 手写 `capabilityProfile` 块并设 `"multimodalSupport": "image-input"` —— 同样有效,详见 [Custom Providers](public_docs/configuration/custom-providers.md)。纯文本模型保持不设即可,图片 artifact 会在请求发出前被 `MODEL_INPUT_UNSUPPORTED` 拒绝。
|
|
891
910
|
|
|
892
|
-
内置 vision-capable alias(Anthropic、OpenAI、Kimi、Qwen、Zhipu、MiniMax、MiMo、Ark,以及通过 CLI `@<path>` file-include 语法传图的 Gemini-CLI
|
|
911
|
+
内置 vision-capable alias(Anthropic、OpenAI、Kimi、Qwen、Zhipu、MiniMax、MiMo、Ark,以及通过 CLI `@<path>` file-include 语法传图的 Gemini-CLI)已经默认开了图片输入。内置 `deepseek` 的默认模型 `deepseek-flash`(DeepSeek-V4.1-Flash)原生支持图片理解;兼容名 `deepseek-v4-pro` 和 Codex-CLI 是纯文本;自定义 provider 在底层模型支持图片输入时需要手动 opt-in。
|
|
893
912
|
|
|
894
913
|
序列化层(Anthropic-compat 走 `packages/llm/src/providers/anthropic.ts:1431`,OpenAI-compat 走 `openai.ts:1496`)通过基类继承自动转发 image block —— OpenAI-compatible 端点收到的是标准 `image_url` 块。这个 flag 只控制 KodaX 自身是否预先拒绝多模态请求 —— 上游模型到底支不支持 vision 由 provider 自己决定。如果模型实际是 text-only,你会看到真实的上游 API 错误,而不是 KodaX 一侧的 `[Provider Policy] multimodal requests are unsupported` 预拦截。
|
|
895
914
|
|
|
@@ -1014,7 +1033,7 @@ dist/binary/linux-x64/
|
|
|
1014
1033
|
| mimo | `MIMO_API_KEY` | Native | mimo-v2.5-pro(小米 MiMo 按量计费,Anthropic 协议) |
|
|
1015
1034
|
| mimo-coding | `MIMO_CODING_API_KEY` | Native | mimo-v2.5-pro(小米 MiMo Token Plan,Anthropic 协议) |
|
|
1016
1035
|
| ark-coding | `ARK_CODING_API_KEY` | Native | glm-5.3(火山方舟 Coding Plan — GLM-5.3(1M ctx、128K out) · GLM-5.2(别名 `glm-latest`) · Kimi K2.7 Code / K2.6 · MiniMax M3 / M2.7 · DeepSeek V4 Pro / V4 Flash · Doubao Seed 2.0 Code / Pro / Lite · Doubao Seed Code) |
|
|
1017
|
-
| deepseek | `DEEPSEEK_API_KEY` | Native | deepseek-
|
|
1036
|
+
| deepseek | `DEEPSEEK_API_KEY` | Native | deepseek-flash(Anthropic 协议;DeepSeek-V4.1-Flash,1M ctx,原生图片理解;可 `/model` 切换纯文本兼容名 `deepseek-v4-pro`) |
|
|
1018
1037
|
| gemini-cli | 由 Provider CLI 完成认证(无 KodaX API-key 环境变量) | Prompt-only / CLI bridge | (通过 gemini CLI) |
|
|
1019
1038
|
| codex-cli | 由 Provider CLI 完成认证(无 KodaX API-key 环境变量) | Prompt-only / CLI bridge | (通过 codex CLI) |
|
|
1020
1039
|
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
// Active provider alias and optional model override. Run `kodax setup` or
|
|
8
8
|
// `/model` instead of editing these manually when possible.
|
|
9
9
|
// "provider": "deepseek",
|
|
10
|
-
// "model": "deepseek-
|
|
10
|
+
// "model": "deepseek-flash",
|
|
11
11
|
// Add or reorder model ids shown by `/model` for a provider.
|
|
12
12
|
// "providerModels": {
|
|
13
|
-
// "deepseek": ["deepseek-
|
|
13
|
+
// "deepseek": ["deepseek-flash", "deepseek-v4-pro"]
|
|
14
14
|
// },
|
|
15
15
|
|
|
16
16
|
// Interactive Runtime hosting: "embedded" (this process) or "daemon".
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{Aa as e,Ba as f,Ra as g,Ta as h,a as c,hb as i,ib as j,qb as k,za as d}from"./chunk-
|
|
2
|
+
import{Aa as e,Ba as f,Ra as g,Ta as h,a as c,hb as i,ib as j,qb as k,za as d}from"./chunk-POVUU6P2.js";import"./chunk-JA2DY4EC.js";import"./chunk-H6NNJO5M.js";import"./chunk-5KG5LAUO.js";import"./chunk-Y6VGGIKD.js";import{Ob as a,Pb as b}from"./chunk-F7JMG426.js";import"./chunk-WXBRPZMI.js";import"./chunk-V7ZTP5SV.js";import"./chunk-ONUPGMER.js";export{e as bucketProviderPayloadSize,g as buildAutoRepoIntelligenceContext,f as checkPromiseSignal,b as cleanupIncompleteToolCalls,h as describeTransientProviderRetry,c as emitResilienceDebug,d as estimateProviderPayloadBytes,k as runKodaX,j as saveRequiredSessionSnapshot,i as saveSessionSnapshot,a as validateAndFixToolHistory};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import{Ma as a,Na as b}from"./chunk-LCGEVHAP.js";import"./chunk-NIGQTWGU.js";import"./chunk-YURCMKAL.js";import"./chunk-ZSJJECST.js";import"./chunk-HXH5TOAV.js";import"./chunk-POVUU6P2.js";import"./chunk-JA2DY4EC.js";import"./chunk-B4FK5XVU.js";import"./chunk-H6NNJO5M.js";import"./chunk-5KG5LAUO.js";import"./chunk-Y6VGGIKD.js";import"./chunk-F7JMG426.js";import"./chunk-WXBRPZMI.js";import"./chunk-V7ZTP5SV.js";import"./chunk-ONUPGMER.js";export{a as ArgumentCompleter,b as createArgumentCompleter};
|