@kodax-ai/kodax 0.7.96-beta.9 → 0.7.96-rc.2
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 +36 -0
- package/README.md +19 -1
- package/README_CN.md +14 -2
- package/dist/chunks/{agent-4LNAAVUB.js → agent-EBOX3NOV.js} +1 -1
- package/dist/chunks/argument-completer-ME7YTGFN.js +2 -0
- package/dist/chunks/{chunk-OK4U4SXB.js → chunk-344XMEVT.js} +147 -147
- package/dist/chunks/{chunk-QP554CFT.js → chunk-3FP2G5D4.js} +4 -4
- package/dist/chunks/chunk-5ZZUORBX.js +384 -0
- package/dist/chunks/{chunk-ESDWXMTG.js → chunk-CROQTAT6.js} +157 -157
- package/dist/chunks/{chunk-AE5YFXU2.js → chunk-F2RS5AAE.js} +1 -1
- package/dist/chunks/{chunk-A66CMPHV.js → chunk-FB5D5H2H.js} +2 -2
- package/dist/chunks/{chunk-TWJINGV6.js → chunk-HTOYIHJV.js} +1 -1
- package/dist/chunks/{chunk-7QJ4JHJE.js → chunk-IZ3BEFCD.js} +49 -44
- package/dist/chunks/{chunk-KSAXT7BU.js → chunk-N4WUGXCZ.js} +2 -2
- package/dist/chunks/{chunk-XIADYNRK.js → chunk-NMC5557J.js} +2 -2
- package/dist/chunks/{chunk-JOGZFXHZ.js → chunk-OOEU7UUG.js} +1 -1
- package/dist/chunks/chunk-P6ULJ6HR.js +2 -0
- package/dist/chunks/{chunk-6HHZ6MJK.js → chunk-PNBHLPKC.js} +1 -1
- package/dist/chunks/chunk-RUHSPQAB.js +2 -0
- package/dist/chunks/{construction-bootstrap-6UYNF7TE.js → construction-bootstrap-GLFVYNUW.js} +1 -1
- package/dist/chunks/dist-BKIOVEHA.js +2 -0
- package/dist/chunks/{host-2X5XUTXO.js → host-VH2SHRTQ.js} +1 -1
- package/dist/chunks/{run-manager-6XOSEJOM.js → run-manager-ZFMLFEBV.js} +1 -1
- package/dist/chunks/{utils-GIXQGDJZ.js → utils-IZ3LLCLM.js} +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1374 -1369
- 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 +1269 -1264
- package/dist/sdk-a2a.d.ts +5 -5
- package/dist/sdk-a2a.js +1 -1
- package/dist/sdk-coding.d.ts +28 -9
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-repl.d.ts +9 -9
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +8 -7
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +3 -3
- package/dist/sdk-session.js +1 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-sWv2rlSu.d.ts → bash-prefix-extractor.d-BpkX_m32.d.ts} +10 -2
- package/dist/types-chunks/{exec-policy.d-BSvfbN6Q.d.ts → exec-policy.d-CUpkRfMQ.d.ts} +1 -1
- package/dist/types-chunks/{public-api.d-Cho7knWA.d.ts → public-api.d-DOytsyVd.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-DhuZ4cmv.d.ts → sdk-session-CMR2ywbU.d.ts} +1 -1
- package/dist/types-chunks/{shell-command-sets.d-L822XXSh.d.ts → shell-command-sets.d-DItZzPPU.d.ts} +1 -1
- package/dist/types-chunks/{trusted-repl-entry-DU1KJTbd.d.ts → trusted-repl-entry-BV_H1O0K.d.ts} +4 -4
- package/dist/types-chunks/{types.d-BhU-SIpK.d.ts → types.d-dg7QozSh.d.ts} +1 -1
- package/dist/types-chunks/{utils.d-DjOA100v.d.ts → utils.d-qUyeZgIo.d.ts} +3 -3
- package/package.json +3 -3
- package/public_docs/README.md +2 -2
- package/public_docs/configuration/permissions.md +23 -0
- package/public_docs/sdk/embedder-guide.md +16 -5
- package/dist/chunks/argument-completer-X4GJWD5E.js +0 -2
- package/dist/chunks/chunk-A42OYZUE.js +0 -384
- package/dist/chunks/chunk-Q4EZLR6T.js +0 -2
- package/dist/chunks/chunk-SMIOTGQ2.js +0 -2
- package/dist/chunks/dist-4O6MH6AE.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,42 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## [0.7.96-rc.2] - 2026-09-12
|
|
12
|
+
|
|
13
|
+
Second release candidate of the v0.7.96 line: a stale first Session Stop
|
|
14
|
+
request bound to an already terminal Run is rejected atomically before a new
|
|
15
|
+
Stop frontier is published. Every rc.1 contract is retained. npm publication
|
|
16
|
+
remains a manual maintainer action.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Reject first `sessions.cancel` requests bound to a terminal Run before
|
|
21
|
+
publishing a cancellation frontier, preventing delayed requests from stopping
|
|
22
|
+
successor Runs. Accepted requests retain normal and post-restart replay.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## [0.7.96-rc.1] - 2026-09-12
|
|
27
|
+
|
|
28
|
+
First release candidate of the v0.7.96 line: trusted text authority is
|
|
29
|
+
unified across Runtime Sessions and direct SDK entries, and provider requests
|
|
30
|
+
carry live permission facts. Every beta.9 contract is retained. npm
|
|
31
|
+
publication remains a manual maintainer action.
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- Unify trusted text authority across Runtime Sessions and direct SDK entries.
|
|
36
|
+
Full Access now reaches native text transactions through `runKodaX`,
|
|
37
|
+
`runManagedTask`, and each `KodaXClient.send`. Auto-approved concrete text
|
|
38
|
+
calls can write their exact external target, including portable `tool_call`
|
|
39
|
+
dispatch, without granting a directory or reusing approval across operations
|
|
40
|
+
or Runs. Explicit denials and native integrity checks remain enforced.
|
|
41
|
+
- Include live host permission facts in direct and managed provider requests,
|
|
42
|
+
including retries, independently of configuration defaults and prompt
|
|
43
|
+
overrides. Runtime permission capability 6 fences older daemon authority.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
11
47
|
## [0.7.96-beta.9] - 2026-09-12
|
|
12
48
|
|
|
13
49
|
Ninth beta pre-release of the v0.7.96 line, carrying FEATURE_299 (unified
|
package/README.md
CHANGED
|
@@ -784,6 +784,24 @@ provider's model, REPL `/compact` clears the UI only after a durable save, and
|
|
|
784
784
|
successful reports carry bounded `summaryRequests` plus `commitMs` per
|
|
785
785
|
physical summary call.
|
|
786
786
|
|
|
787
|
+
**v0.7.96-rc.2 release:** Second release candidate of the v0.7.96 line. A
|
|
788
|
+
first Session Stop request bound to an already terminal `expectedRunId` is
|
|
789
|
+
rejected atomically before a new Stop frontier is published — typed
|
|
790
|
+
`code: 'conflict'`, `denialSource: 'stale_run'`, `retryable: false` — so a
|
|
791
|
+
delayed request cannot stop successor Runs. Already accepted requests stay
|
|
792
|
+
replayable, including after Runtime restart. Every rc.1 contract is retained.
|
|
793
|
+
|
|
794
|
+
**v0.7.96-rc.1 release:** First release candidate of the v0.7.96 line.
|
|
795
|
+
Unifies trusted text authority across Runtime Sessions and direct SDK
|
|
796
|
+
entries: Full Access reaches native text transactions through `runKodaX`,
|
|
797
|
+
`runManagedTask`, and each `KodaXClient.send`; auto-approved concrete text
|
|
798
|
+
calls write their exact external target, including portable `tool_call`
|
|
799
|
+
dispatch, without granting a directory or reusing approval across operations
|
|
800
|
+
or Runs; explicit denials and native integrity checks remain enforced.
|
|
801
|
+
Direct and managed provider requests carry live host permission facts,
|
|
802
|
+
refreshed on retries, and runtime permission capability 6 fences older
|
|
803
|
+
daemon authority.
|
|
804
|
+
|
|
787
805
|
**v0.7.96-beta.9 release:** Ships FEATURE_299 — unified Stop, Full Access
|
|
788
806
|
and extension execution contracts. Owned Run controls and atomic Session
|
|
789
807
|
Stop work independently of file locks across direct CLI, SDK, daemon, and
|
|
@@ -860,7 +878,7 @@ requests, preserves structured Child Agent Provider failures, honors exact
|
|
|
860
878
|
run-scoped credential verification, and omits empty `tools` arrays for strict
|
|
861
879
|
vLLM gateways (Issues 329-332). npm publication remains a
|
|
862
880
|
manual maintainer action. See the
|
|
863
|
-
[release checklist](docs/release.md#v0796-
|
|
881
|
+
[release checklist](docs/release.md#v0796-rc2-release-preparation).
|
|
864
882
|
|
|
865
883
|
**v0.7.96-alpha.3 release:** Provider credentials are lazy, scoped,
|
|
866
884
|
revocable capabilities (ADR-068). The v2 credential broker keeps Provider
|
package/README_CN.md
CHANGED
|
@@ -296,6 +296,19 @@ SDK 系统代码契约更新,但没有放宽 shell/sandbox 的 fail-closed 边
|
|
|
296
296
|
`handleRuntimePermissionRequest()` 管理 SDK 权限 UI,并在 prepared Session 尾部遇到
|
|
297
297
|
`data_changed` 时通过权威 delta 合并恢复;后台持久化失败会显示为诊断,不再静默丢失。
|
|
298
298
|
|
|
299
|
+
**v0.7.96-rc.2 发布**:v0.7.96 线第二个发布候选。绑定到已终态 `expectedRunId`
|
|
300
|
+
的首次 Session Stop 请求会在发布新 Stop frontier 之前被原子拒绝——类型为
|
|
301
|
+
`code: 'conflict'`、`denialSource: 'stale_run'`、`retryable: false`——迟到的
|
|
302
|
+
请求因此无法停止后继 Run。已受理的请求保持可重放,包括 Runtime 重启之后。
|
|
303
|
+
所有 rc.1 契约全部保留。
|
|
304
|
+
|
|
305
|
+
**v0.7.96-rc.1 发布**:v0.7.96 线首个发布候选。统一 Runtime Session 与直接
|
|
306
|
+
SDK 入口的可信文本授权:Full Access 通过 `runKodaX`、`runManagedTask` 与每个
|
|
307
|
+
`KodaXClient.send` 覆盖原生文本事务;自动批准的具体文本调用可写入其确切外部
|
|
308
|
+
目标(包括可移植的 `tool_call` 分发),但不授予目录权限,也不会跨操作或跨 Run
|
|
309
|
+
复用批准;显式拒绝与原生完整性校验继续生效。直接与托管 provider 请求携带实时
|
|
310
|
+
宿主权限事实并在重试时刷新,runtime 权限 capability 6 阻止旧 daemon 提供该授权。
|
|
311
|
+
|
|
299
312
|
**v0.7.96-beta.9 发布**:交付 FEATURE_299——统一 Stop、Full Access 与扩展
|
|
300
313
|
执行契约。owned Run 控制与原子 Session Stop 不依赖文件锁,跨直接 CLI、SDK、
|
|
301
314
|
daemon 与 ACP 宿主在单一"受理 vs 确认"Stop 契约下工作。Full Access 直接在
|
|
@@ -369,8 +382,7 @@ native 文本权威改在摘要固定的 `manylinux_2_28` 构建器中编译,
|
|
|
369
382
|
scope 在 SDK、Agent 摘要、CLI 与 Runtime Worker 请求间共享,保留结构化的 Child Agent Provider
|
|
370
383
|
失败信息,精确遵循 run-scoped 凭据校验,并为严格 vLLM 网关省略空 `tools` 数组(Issues 329-332)。
|
|
371
384
|
npm 发布仍由
|
|
372
|
-
|
|
373
|
-
维护者手动执行。详见 [v0.7.96-beta.9 发布清单](docs/release.md#v0796-beta9-release-preparation)。
|
|
385
|
+
维护者手动执行。详见 [v0.7.96-rc.2 发布清单](docs/release.md#v0796-rc2-release-preparation)。
|
|
374
386
|
|
|
375
387
|
**v0.7.96-alpha.3 发布**:Provider 凭据成为惰性、受限、可撤销的能力(ADR-068)。v2
|
|
376
388
|
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{
|
|
2
|
+
import{La as g,Na as h,a as c,ha as d,ia as e,ja as f,lb as i,mb as j,ub as k}from"./chunk-IZ3BEFCD.js";import"./chunk-JA2DY4EC.js";import"./chunk-CROQTAT6.js";import"./chunk-5Z7OAIPW.js";import"./chunk-NYKZ6Z2Q.js";import{Ob as a,Pb as b}from"./chunk-P472TI5T.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-N4WUGXCZ.js";import"./chunk-NMC5557J.js";import"./chunk-74UJ5IFX.js";import"./chunk-344XMEVT.js";import"./chunk-HTOYIHJV.js";import"./chunk-FB5D5H2H.js";import"./chunk-IZ3BEFCD.js";import"./chunk-JA2DY4EC.js";import"./chunk-CROQTAT6.js";import"./chunk-5Z7OAIPW.js";import"./chunk-NYKZ6Z2Q.js";import"./chunk-P472TI5T.js";import"./chunk-WXBRPZMI.js";import"./chunk-V7ZTP5SV.js";import"./chunk-ONUPGMER.js";export{a as ArgumentCompleter,b as createArgumentCompleter};
|