@kodax-ai/kodax 0.7.96-beta.3 → 0.7.96-beta.4
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 +34 -0
- package/README.md +10 -4
- package/README_CN.md +4 -3
- package/dist/chunks/{agent-AGJEZOXZ.js → agent-MNDAK2RR.js} +1 -1
- package/dist/chunks/argument-completer-QDHL2RIP.js +2 -0
- package/dist/chunks/{chunk-DWLYVWFJ.js → chunk-5DXLNGQB.js} +1 -1
- package/dist/chunks/{chunk-JN4BW4KX.js → chunk-6XKCJFA4.js} +142 -142
- package/dist/chunks/{chunk-JM6QBNUM.js → chunk-7K7RYMWX.js} +129 -129
- package/dist/chunks/{chunk-ZGKIV7ZU.js → chunk-B6ODREOI.js} +1 -1
- package/dist/chunks/{chunk-EWVG7OWF.js → chunk-D2Q2TZPK.js} +1 -1
- package/dist/chunks/{chunk-QLR3IZKV.js → chunk-EFNU5LXL.js} +18 -18
- package/dist/chunks/{chunk-6RP5I7VG.js → chunk-F4WBMJ7S.js} +2 -2
- package/dist/chunks/{chunk-25LFDCMP.js → chunk-GGRVYK4Z.js} +6 -6
- package/dist/chunks/{chunk-GCKY3APV.js → chunk-HQIVUSHQ.js} +1 -1
- package/dist/chunks/{chunk-SHXBOMIB.js → chunk-HT65FRF4.js} +15 -15
- package/dist/chunks/{chunk-DCU7W77L.js → chunk-LAMFRGSJ.js} +1 -1
- package/dist/chunks/chunk-N7OT7BWZ.js +384 -0
- package/dist/chunks/{chunk-MZSC5OWE.js → chunk-NX5ZZQJU.js} +285 -285
- package/dist/chunks/{chunk-ZFAX6QYE.js → chunk-OWJR36UP.js} +2 -2
- package/dist/chunks/{chunk-2WBEHQHD.js → chunk-SQIYHB3U.js} +72 -72
- package/dist/chunks/{chunk-HK4767SO.js → chunk-SR3TFWQX.js} +1 -1
- package/dist/chunks/{chunk-W764RSKQ.js → chunk-VIFNL7HA.js} +1 -1
- package/dist/chunks/{chunk-IOR23YGO.js → chunk-WXWFHOHS.js} +1 -1
- package/dist/chunks/{chunk-6OSPM6CQ.js → chunk-XCJJSQT2.js} +1 -1
- package/dist/chunks/{chunk-KGG5EDZN.js → chunk-XR4BBXXB.js} +1 -1
- package/dist/chunks/{chunk-6GUB5SPV.js → chunk-Z5AHYOPP.js} +1 -1
- package/dist/chunks/{client-WH5AZEVW.js → client-3SMAXC3M.js} +1 -1
- package/dist/chunks/{compaction-config-BBXT6VDZ.js → compaction-config-XJ3YJMWQ.js} +1 -1
- package/dist/chunks/{construction-bootstrap-DCJKZZXI.js → construction-bootstrap-52ODREW2.js} +1 -1
- package/dist/chunks/dist-PYDL5ZNQ.js +2 -0
- package/dist/chunks/dist-SSDKPUI6.js +2 -0
- package/dist/chunks/host-OYWDQ2ON.js +2 -0
- package/dist/chunks/run-manager-PFDQBP2D.js +2 -0
- package/dist/chunks/{utils-LIC5GX4Q.js → utils-FGT42HQW.js} +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +2 -2
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1158 -1158
- 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/runtime-worker.js +1076 -1076
- package/dist/sandbox-network-broker.js +70 -70
- package/dist/sdk-a2a.d.ts +8 -8
- package/dist/sdk-a2a.js +1 -1
- package/dist/sdk-agent.d.ts +12 -9
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +81 -15
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +1 -1
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +12 -12
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +15 -9
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +4 -4
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +62 -62
- package/dist/types-chunks/{bash-prefix-extractor.d-DfQWbYO_.d.ts → bash-prefix-extractor.d-DZzEamhN.d.ts} +6 -2
- package/dist/types-chunks/{capsule.d-BflmZWY-.d.ts → capsule.d-BCbfpUmE.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-CZwtXQUP.d.ts → controller.d-DCSJgOM2.d.ts} +26 -3
- package/dist/types-chunks/{exec-policy.d-DeEZS_mP.d.ts → exec-policy.d-CHTikszX.d.ts} +3 -3
- package/dist/types-chunks/{public-api.d-DshyGo_M.d.ts → public-api.d-BKbFMxg8.d.ts} +5 -3
- package/dist/types-chunks/{run-manager.d-CdyG8BEa.d.ts → run-manager.d-CyctAOlr.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-DMXUvnza.d.ts → sdk-session-BE2tlwBs.d.ts} +1 -1
- package/dist/types-chunks/{shell-command-sets.d-CWodCDx6.d.ts → shell-command-sets.d-DuXtT1XY.d.ts} +1 -1
- package/dist/types-chunks/{side-query.d-DdJ1OPz0.d.ts → side-query.d-oO8k7XBL.d.ts} +3 -2
- package/dist/types-chunks/{trusted-repl-entry-DUdbazYc.d.ts → trusted-repl-entry-_ORN3di2.d.ts} +4 -4
- package/dist/types-chunks/{types.d-u3gpv28b.d.ts → types.d-HKILN-uL.d.ts} +1 -1
- package/dist/types-chunks/{types.d-BnLnc7av.d.ts → types.d-voYXci-b.d.ts} +1 -1
- package/dist/types-chunks/{utils.d-B26-kw0-.d.ts → utils.d-JZc49Yi4.d.ts} +8 -6
- package/package.json +1 -1
- package/public_docs/README.md +9 -3
- package/public_docs/sdk/embedder-guide.md +2 -2
- package/dist/chunks/argument-completer-UH2SHQ5R.js +0 -2
- package/dist/chunks/chunk-NSYWM5YE.js +0 -384
- package/dist/chunks/dist-W3AU6JXF.js +0 -2
- package/dist/chunks/dist-YHRZ7WJQ.js +0 -2
- package/dist/chunks/host-QNWCUM5M.js +0 -2
- package/dist/chunks/run-manager-UWRNFFGA.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,40 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## [0.7.96-beta.4] - 2026-09-08
|
|
12
|
+
|
|
13
|
+
Fourth beta pre-release of the v0.7.96 line, retaining the beta.3 Windows WFP
|
|
14
|
+
probe repair, credential-bridge retirement, and all earlier sandbox-first,
|
|
15
|
+
trusted-text, permission-profile, context-recovery, and Provider fixes. npm
|
|
16
|
+
publication remains a manual maintainer action.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Share manual and automatic compaction summary policy: `compaction.reasoning`
|
|
21
|
+
applies to both summary paths independent of the main turn's effort. The
|
|
22
|
+
default disables thinking where supported; always-thinking models use the
|
|
23
|
+
existing side-query low-effort resolver. In-process callers set
|
|
24
|
+
`KodaXOptions.compaction.reasoning`; Runtime hosts persist the same policy
|
|
25
|
+
for `runs.start()` and `sessions.compact()` through `compactionReasoning`
|
|
26
|
+
(`false` requests disabled thinking, `null` removes the Session override).
|
|
27
|
+
Message/tool/system prefixes and routing affinity stay stable.
|
|
28
|
+
- Record bounded summary request metrics: successful compaction reports and
|
|
29
|
+
`context.compaction.finished` optionally carry `summaryRequests` (one record
|
|
30
|
+
per physical summary call, including map/reduce) and `commitMs` (durable
|
|
31
|
+
save/callback duration). Each request records provider, model, requested
|
|
32
|
+
reasoning, prepare/credential/provider timings, an optional first-delta
|
|
33
|
+
offset, adapter-reported retries and wait, usage, and stop reason, and never
|
|
34
|
+
includes prompt or output text.
|
|
35
|
+
- Manual compaction uses the effective Session provider/model unless
|
|
36
|
+
explicitly overridden, never carries the previous provider's model into a
|
|
37
|
+
switched request, restores the same budgeted ledger/file attachments, and
|
|
38
|
+
records lineage `reason: 'manual'`. REPL `/compact` publishes success and
|
|
39
|
+
clears the UI only after a durable save; a failed save restores the previous
|
|
40
|
+
live context. Eligible-prefix coverage, protected atomic groups, the query
|
|
41
|
+
ledger, and the summary prompt text remain unchanged.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
11
45
|
## [0.7.96-beta.3] - 2026-09-08
|
|
12
46
|
|
|
13
47
|
Third beta pre-release of the v0.7.96 line, retaining beta.2 context recovery
|
package/README.md
CHANGED
|
@@ -759,9 +759,15 @@ 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.
|
|
763
|
-
|
|
764
|
-
|
|
762
|
+
Beta.4 shares manual and automatic compaction summary policy:
|
|
763
|
+
`compaction.reasoning` applies to both paths independent of the main turn's
|
|
764
|
+
effort, defaulting to disabled thinking where supported. Manual compaction
|
|
765
|
+
honors the effective Session provider/model without carrying a switched
|
|
766
|
+
provider's model, REPL `/compact` clears the UI only after a durable save, and
|
|
767
|
+
successful reports carry bounded `summaryRequests` plus `commitMs` per
|
|
768
|
+
physical summary call.
|
|
769
|
+
|
|
770
|
+
**v0.7.96-beta.4 release:** Windows shell admission now follows the
|
|
765
771
|
Codex concurrency boundary: versioned setup performs legacy migration once,
|
|
766
772
|
while ordinary admission accepts effective inherited normal-token access and
|
|
767
773
|
only converges a missing exact-root restricted capability using `SET_ACCESS`
|
|
@@ -810,7 +816,7 @@ requests, preserves structured Child Agent Provider failures, honors exact
|
|
|
810
816
|
run-scoped credential verification, and omits empty `tools` arrays for strict
|
|
811
817
|
vLLM gateways (Issues 329-332). npm publication remains a
|
|
812
818
|
manual maintainer action. See the
|
|
813
|
-
[release checklist](docs/release.md#v0796-
|
|
819
|
+
[release checklist](docs/release.md#v0796-beta4-release-preparation).
|
|
814
820
|
|
|
815
821
|
**v0.7.96-alpha.3 release:** Provider credentials are lazy, scoped,
|
|
816
822
|
revocable capabilities (ADR-068). The v2 credential broker keeps Provider
|
package/README_CN.md
CHANGED
|
@@ -296,9 +296,9 @@ SDK 系统代码契约更新,但没有放宽 shell/sandbox 的 fail-closed 边
|
|
|
296
296
|
`handleRuntimePermissionRequest()` 管理 SDK 权限 UI,并在 prepared Session 尾部遇到
|
|
297
297
|
`data_changed` 时通过权威 delta 合并恢复;后台持久化失败会显示为诊断,不再静默丢失。
|
|
298
298
|
|
|
299
|
-
beta.
|
|
299
|
+
beta.4 统一了手动与自动压缩的摘要策略:`compaction.reasoning` 同时作用于两条路径,与主回合 effort 无关(默认在支持时关闭思考)。手动压缩遵循生效的 Session provider/model,不会把切换前 provider 的 model 带入请求;REPL `/compact` 仅在持久化保存成功后清空 UI;成功报告按每次物理摘要调用记录有界 `summaryRequests` 与 `commitMs`。
|
|
300
300
|
|
|
301
|
-
**v0.7.96-beta.
|
|
301
|
+
**v0.7.96-beta.4 发布**:Windows shell 准入现在遵循 Codex 的并发边界:
|
|
302
302
|
版本化 setup 只执行一次 legacy 迁移;普通准入在 capability 已存在时只读,只有缺失
|
|
303
303
|
精确 root restricted capability 时才用 `SET_ACCESS` 与 DACL 回读收敛,且不等待任何
|
|
304
304
|
跨进程目标互斥锁。稳定 filesystem capability SID 保留在对象上,每条命令的 token
|
|
@@ -336,7 +336,8 @@ native 文本权威改在摘要固定的 `manylinux_2_28` 构建器中编译,
|
|
|
336
336
|
scope 在 SDK、Agent 摘要、CLI 与 Runtime Worker 请求间共享,保留结构化的 Child Agent Provider
|
|
337
337
|
失败信息,精确遵循 run-scoped 凭据校验,并为严格 vLLM 网关省略空 `tools` 数组(Issues 329-332)。
|
|
338
338
|
npm 发布仍由
|
|
339
|
-
|
|
339
|
+
npm 发布仍由
|
|
340
|
+
维护者手动执行。详见 [v0.7.96-beta.4 发布清单](docs/release.md#v0796-beta4-release-preparation)。
|
|
340
341
|
|
|
341
342
|
**v0.7.96-alpha.3 发布**:Provider 凭据成为惰性、受限、可撤销的能力(ADR-068)。v2
|
|
342
343
|
credential broker 将 Provider 密钥保留在 OS keychain,按每次 wire call、为单一封闭
|
|
@@ -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,
|
|
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-EFNU5LXL.js";import"./chunk-SR3TFWQX.js";import"./chunk-GGRVYK4Z.js";import"./chunk-WXWFHOHS.js";import"./chunk-XR4BBXXB.js";import{Ob as a,Pb as b}from"./chunk-7K7RYMWX.js";import"./chunk-VIFNL7HA.js";import"./chunk-HT65FRF4.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-NX5ZZQJU.js";import"./chunk-OWJR36UP.js";import"./chunk-5DXLNGQB.js";import"./chunk-6XKCJFA4.js";import"./chunk-B6ODREOI.js";import"./chunk-EFNU5LXL.js";import"./chunk-SR3TFWQX.js";import"./chunk-F4WBMJ7S.js";import"./chunk-GGRVYK4Z.js";import"./chunk-WXWFHOHS.js";import"./chunk-XR4BBXXB.js";import"./chunk-7K7RYMWX.js";import"./chunk-VIFNL7HA.js";import"./chunk-HT65FRF4.js";import"./chunk-ONUPGMER.js";export{a as ArgumentCompleter,b as createArgumentCompleter};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{La as c,lf as o}from"./chunk-
|
|
2
|
+
import{La as c,lf as o}from"./chunk-7K7RYMWX.js";import{a as n}from"./chunk-ONUPGMER.js";import{readFile as a}from"fs/promises";var i={enabled:!0,triggerPercent:75};async function s(r){let t=c("config.json");try{let e=await f(t);if(e?.compaction)return o({...i,...e.compaction})}catch{}return o(i)}n(s,"loadCompactionConfig");async function f(r){try{let t=await a(r,"utf-8");return JSON.parse(t)}catch{return null}}n(f,"readConfigFile");export{s as a};
|