@kodax-ai/kodax 0.7.96-rc.2 → 0.7.96-rc.3

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.
Files changed (74) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +9 -1
  3. package/README_CN.md +7 -1
  4. package/dist/chunks/{agent-EBOX3NOV.js → agent-EVCQ5ML5.js} +1 -1
  5. package/dist/chunks/argument-completer-OS7F6UKJ.js +2 -0
  6. package/dist/chunks/chunk-3GLCZAPQ.js +384 -0
  7. package/dist/chunks/{chunk-IZ3BEFCD.js → chunk-5EG2AGHX.js} +1 -1
  8. package/dist/chunks/{chunk-RUHSPQAB.js → chunk-B3G2UARX.js} +1 -1
  9. package/dist/chunks/{chunk-NMC5557J.js → chunk-CM346SXQ.js} +2 -2
  10. package/dist/chunks/{chunk-3FP2G5D4.js → chunk-E5TPBWPB.js} +4 -4
  11. package/dist/chunks/{chunk-OOEU7UUG.js → chunk-F6KCZVOV.js} +1 -1
  12. package/dist/chunks/{chunk-74UJ5IFX.js → chunk-FTIZ3XP4.js} +1 -1
  13. package/dist/chunks/{chunk-5Z7OAIPW.js → chunk-GICENPQD.js} +1 -1
  14. package/dist/chunks/{chunk-F2RS5AAE.js → chunk-HDD6ORXR.js} +1 -1
  15. package/dist/chunks/{chunk-PNBHLPKC.js → chunk-JVQYOHLA.js} +1 -1
  16. package/dist/chunks/{chunk-CROQTAT6.js → chunk-KQVOIX72.js} +224 -218
  17. package/dist/chunks/{chunk-NYKZ6Z2Q.js → chunk-NKTS36MP.js} +1 -1
  18. package/dist/chunks/{chunk-P472TI5T.js → chunk-RA6ICRIB.js} +154 -154
  19. package/dist/chunks/{chunk-344XMEVT.js → chunk-SYKJAKBG.js} +1 -1
  20. package/dist/chunks/{chunk-P6ULJ6HR.js → chunk-WPWYRLLX.js} +1 -1
  21. package/dist/chunks/{chunk-N4WUGXCZ.js → chunk-WXTPV7NI.js} +2 -2
  22. package/dist/chunks/{chunk-FB5D5H2H.js → chunk-XFMMSFE4.js} +2 -2
  23. package/dist/chunks/{chunk-HTOYIHJV.js → chunk-ZLL5625Z.js} +1 -1
  24. package/dist/chunks/{client-GQJBBOLH.js → client-6BWNIL5B.js} +1 -1
  25. package/dist/chunks/{compaction-config-JLQU7GJH.js → compaction-config-XY5TEOJ3.js} +1 -1
  26. package/dist/chunks/{construction-bootstrap-GLFVYNUW.js → construction-bootstrap-EWLUMG4R.js} +1 -1
  27. package/dist/chunks/{dist-BKIOVEHA.js → dist-G7XOE2EZ.js} +1 -1
  28. package/dist/chunks/host-RIKBO5KS.js +2 -0
  29. package/dist/chunks/{run-manager-ZFMLFEBV.js → run-manager-QRDLHXCM.js} +1 -1
  30. package/dist/chunks/{utils-IZ3LLCLM.js → utils-OKXJ44KT.js} +1 -1
  31. package/dist/index.d.ts +11 -11
  32. package/dist/index.js +1 -1
  33. package/dist/kodax_bootstrap.js +1 -1
  34. package/dist/kodax_cli.js +1321 -1315
  35. package/dist/native/win32-x64/kodax-windows-sandbox.exe +0 -0
  36. package/dist/native/win32-x64/kodax-windows-text-transaction.node +0 -0
  37. package/dist/native/win32-x64/manifest.json +2 -2
  38. package/dist/runtime-worker.js +1223 -1217
  39. package/dist/sandbox-network-broker.js +13 -13
  40. package/dist/sdk-a2a.d.ts +8 -8
  41. package/dist/sdk-a2a.js +1 -1
  42. package/dist/sdk-agent.d.ts +9 -40
  43. package/dist/sdk-agent.js +1 -1
  44. package/dist/sdk-coding.d.ts +13 -13
  45. package/dist/sdk-coding.js +1 -1
  46. package/dist/sdk-experimental-memory.js +1 -1
  47. package/dist/sdk-mcp.js +1 -1
  48. package/dist/sdk-repl.d.ts +12 -12
  49. package/dist/sdk-repl.js +1 -1
  50. package/dist/sdk-runtime.d.ts +7 -7
  51. package/dist/sdk-runtime.js +1 -1
  52. package/dist/sdk-sandbox.js +1 -1
  53. package/dist/sdk-session.d.ts +5 -5
  54. package/dist/sdk-session.js +1 -1
  55. package/dist/sdk-skills.js +1 -1
  56. package/dist/semantic-worker.js +36 -36
  57. package/dist/types-chunks/{bash-prefix-extractor.d-BpkX_m32.d.ts → bash-prefix-extractor.d-DXWsSd5h.d.ts} +4 -1
  58. package/dist/types-chunks/{capsule.d-CUkwG98f.d.ts → capsule.d-9S2rNUrG.d.ts} +1 -1
  59. package/dist/types-chunks/{controller.d-ChzX_KpU.d.ts → controller.d-CPOgMtQF.d.ts} +50 -2
  60. package/dist/types-chunks/{exec-policy.d-CUpkRfMQ.d.ts → exec-policy.d-Bp7nr6Si.d.ts} +2 -2
  61. package/dist/types-chunks/{public-api.d-DOytsyVd.d.ts → public-api.d-DoxU5DeW.d.ts} +2 -2
  62. package/dist/types-chunks/{run-manager.d-DXSYnIn3.d.ts → run-manager.d-DsQCN0nN.d.ts} +1 -1
  63. package/dist/types-chunks/{sdk-session-CMR2ywbU.d.ts → sdk-session--IKgO1mW.d.ts} +1 -1
  64. package/dist/types-chunks/{shell-command-sets.d-DItZzPPU.d.ts → shell-command-sets.d-CRvoAs3_.d.ts} +1 -1
  65. package/dist/types-chunks/{trusted-repl-entry-BV_H1O0K.d.ts → trusted-repl-entry-YWhdWCvm.d.ts} +4 -4
  66. package/dist/types-chunks/{types.d-CXtyICUW.d.ts → types.d-BFAHiax0.d.ts} +1 -1
  67. package/dist/types-chunks/{types.d-dg7QozSh.d.ts → types.d-X3Rvudzw.d.ts} +1 -1
  68. package/dist/types-chunks/{utils.d-qUyeZgIo.d.ts → utils.d-D1Fe1wws.d.ts} +4 -4
  69. package/package.json +1 -1
  70. package/public_docs/README.md +2 -2
  71. package/public_docs/sdk/embedder-guide.md +2 -2
  72. package/dist/chunks/argument-completer-ME7YTGFN.js +0 -2
  73. package/dist/chunks/chunk-5ZZUORBX.js +0 -384
  74. package/dist/chunks/host-VH2SHRTQ.js +0 -2
package/CHANGELOG.md CHANGED
@@ -8,6 +8,31 @@ All notable changes to this project will be documented in this file.
8
8
 
9
9
  ---
10
10
 
11
+ ## [0.7.96-rc.3] - 2026-09-13
12
+
13
+ Third release candidate of the v0.7.96 line: daemon capabilities are aligned
14
+ and accepted Shell Stops become recoverable while process-tree cleanup is
15
+ unknown, with shell results keeping their status and output. Every rc.2
16
+ contract is retained. npm publication remains a manual maintainer action.
17
+
18
+ ### Fixed
19
+
20
+ - Project the owning Runtime's `sessionCancellation` and `toolInvocation`
21
+ capabilities through the default daemon handshake and capability query.
22
+ Explicit tool execution retains normal permissions, events and persistence.
23
+ - Keep an accepted Shell Stop unconfirmed while process-tree cleanup is unknown.
24
+ Retry cleanup against the original Run, retain exact recovery references across
25
+ owner restarts, and preserve known descendants when refreshing process identities.
26
+ - Preserve Run cleanup evidence during generic process sweeps, and propagate
27
+ the owning Run's Shell cleanup registration through read/write child executors.
28
+ - Keep the cancelled/timeout status and captured output in shell results when
29
+ process-tree cleanup cannot be confirmed: the unconfirmed-cleanup note is
30
+ appended to the command outcome instead of replacing it. The background
31
+ stop owns native termination, so cleanup never terminates the same
32
+ process tree twice.
33
+
34
+ ---
35
+
11
36
  ## [0.7.96-rc.2] - 2026-09-12
12
37
 
13
38
  Second release candidate of the v0.7.96 line: a stale first Session Stop
package/README.md CHANGED
@@ -784,6 +784,14 @@ 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.3 release:** Third release candidate of the v0.7.96 line.
788
+ Aligns the daemon `sessionCancellation` and `toolInvocation` capabilities and
789
+ makes accepted Shell Stops recoverable while process-tree cleanup is unknown:
790
+ cleanup retries target the original Run, recovery references survive owner
791
+ restarts, and shell results keep their cancelled/timeout status and captured
792
+ output with the unconfirmed-cleanup note appended. Every rc.2 contract is
793
+ retained.
794
+
787
795
  **v0.7.96-rc.2 release:** Second release candidate of the v0.7.96 line. A
788
796
  first Session Stop request bound to an already terminal `expectedRunId` is
789
797
  rejected atomically before a new Stop frontier is published — typed
@@ -878,7 +886,7 @@ requests, preserves structured Child Agent Provider failures, honors exact
878
886
  run-scoped credential verification, and omits empty `tools` arrays for strict
879
887
  vLLM gateways (Issues 329-332). npm publication remains a
880
888
  manual maintainer action. See the
881
- [release checklist](docs/release.md#v0796-rc2-release-preparation).
889
+ [release checklist](docs/release.md#v0796-rc3-release-preparation).
882
890
 
883
891
  **v0.7.96-alpha.3 release:** Provider credentials are lazy, scoped,
884
892
  revocable capabilities (ADR-068). The v2 credential broker keeps Provider
package/README_CN.md CHANGED
@@ -296,6 +296,12 @@ SDK 系统代码契约更新,但没有放宽 shell/sandbox 的 fail-closed 边
296
296
  `handleRuntimePermissionRequest()` 管理 SDK 权限 UI,并在 prepared Session 尾部遇到
297
297
  `data_changed` 时通过权威 delta 合并恢复;后台持久化失败会显示为诊断,不再静默丢失。
298
298
 
299
+ **v0.7.96-rc.3 发布**:v0.7.96 线第三个发布候选。对齐 daemon 的
300
+ `sessionCancellation` 与 `toolInvocation` capability,并让已受理的 Shell Stop
301
+ 在进程树清理未知时保持可恢复:清理重试仍针对原 Run,恢复引用跨宿主重启保留,
302
+ shell 结果保留其取消/超时状态与已捕获输出,未确认清理说明以附加形式呈现。
303
+ 所有 rc.2 契约全部保留。
304
+
299
305
  **v0.7.96-rc.2 发布**:v0.7.96 线第二个发布候选。绑定到已终态 `expectedRunId`
300
306
  的首次 Session Stop 请求会在发布新 Stop frontier 之前被原子拒绝——类型为
301
307
  `code: 'conflict'`、`denialSource: 'stale_run'`、`retryable: false`——迟到的
@@ -382,7 +388,7 @@ native 文本权威改在摘要固定的 `manylinux_2_28` 构建器中编译,
382
388
  scope 在 SDK、Agent 摘要、CLI 与 Runtime Worker 请求间共享,保留结构化的 Child Agent Provider
383
389
  失败信息,精确遵循 run-scoped 凭据校验,并为严格 vLLM 网关省略空 `tools` 数组(Issues 329-332)。
384
390
  npm 发布仍由
385
- 维护者手动执行。详见 [v0.7.96-rc.2 发布清单](docs/release.md#v0796-rc2-release-preparation)。
391
+ 维护者手动执行。详见 [v0.7.96-rc.3 发布清单](docs/release.md#v0796-rc3-release-preparation)。
386
392
 
387
393
  **v0.7.96-alpha.3 发布**:Provider 凭据成为惰性、受限、可撤销的能力(ADR-068)。v2
388
394
  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{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};
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-5EG2AGHX.js";import"./chunk-JA2DY4EC.js";import"./chunk-KQVOIX72.js";import"./chunk-GICENPQD.js";import"./chunk-NKTS36MP.js";import{Pb as a,Qb as b}from"./chunk-RA6ICRIB.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-WXTPV7NI.js";import"./chunk-CM346SXQ.js";import"./chunk-FTIZ3XP4.js";import"./chunk-SYKJAKBG.js";import"./chunk-ZLL5625Z.js";import"./chunk-XFMMSFE4.js";import"./chunk-5EG2AGHX.js";import"./chunk-JA2DY4EC.js";import"./chunk-KQVOIX72.js";import"./chunk-GICENPQD.js";import"./chunk-NKTS36MP.js";import"./chunk-RA6ICRIB.js";import"./chunk-WXBRPZMI.js";import"./chunk-V7ZTP5SV.js";import"./chunk-ONUPGMER.js";export{a as ArgumentCompleter,b as createArgumentCompleter};