@kodax-ai/kodax 0.7.81 → 0.7.82
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 +26 -0
- package/README.md +12 -0
- package/README_CN.md +9 -0
- package/dist/chunks/{agent-UMBMZLCW.js → agent-4UTCCMD5.js} +1 -1
- package/dist/chunks/argument-completer-N7ORRJBS.js +2 -0
- package/dist/chunks/{chunk-5XCQGFGP.js → chunk-7ZN2MLVM.js} +1 -1
- package/dist/chunks/{chunk-D66EWPAX.js → chunk-GIVYTXQW.js} +7 -7
- package/dist/chunks/{chunk-ITY7HLSS.js → chunk-JDZFNWMZ.js} +2 -2
- package/dist/chunks/{chunk-RX3X3PER.js → chunk-KH2HED37.js} +2 -2
- package/dist/chunks/{chunk-FGQZUN7C.js → chunk-NINELPXH.js} +1 -1
- package/dist/chunks/chunk-PGTU7JQX.js +30 -0
- package/dist/chunks/{chunk-LLWRPP6U.js → chunk-S6JTWDN6.js} +1 -1
- package/dist/chunks/{chunk-BNFUIZKY.js → chunk-VQBJMNFD.js} +2 -2
- package/dist/chunks/{chunk-QMPJJCBE.js → chunk-WMYCNECP.js} +53 -53
- package/dist/chunks/{chunk-THBWLOA3.js → chunk-XTCDCU2Q.js} +4 -4
- package/dist/chunks/{chunk-WLGQ6XI2.js → chunk-ZOBNDWOA.js} +138 -138
- package/dist/chunks/{chunk-VTFG3B7U.js → chunk-ZZUIO5KL.js} +14 -14
- package/dist/chunks/{compaction-config-SSPH4V36.js → compaction-config-IDL5JQVI.js} +1 -1
- package/dist/chunks/{construction-bootstrap-P5ZKDLTM.js → construction-bootstrap-STYUR6XA.js} +1 -1
- package/dist/chunks/{dist-7J763N5L.js → dist-RKBHBUHV.js} +1 -1
- package/dist/chunks/{host-22ITM5E3.js → host-RF2IX3N6.js} +1 -1
- package/dist/chunks/{run-manager-ABNHISGD.js → run-manager-WE2KPAKZ.js} +1 -1
- package/dist/chunks/{utils-ATKWKEDP.js → utils-Z2RSAENX.js} +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.js +1 -1
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1193 -1193
- package/dist/runtime-worker.js +1066 -1066
- package/dist/sdk-a2a.d.ts +8 -8
- package/dist/sdk-a2a.js +1 -1
- package/dist/sdk-agent.d.ts +8 -8
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +13 -13
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-repl.d.ts +11 -11
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +8 -8
- 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/types-chunks/{bash-prefix-extractor.d-D_bvmnHs.d.ts → bash-prefix-extractor.d-CJM7OY-L.d.ts} +2 -2
- package/dist/types-chunks/{capsule.d-BFpbFq-C.d.ts → capsule.d-B7yoH4dM.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-C2aHqzHj.d.ts → controller.d-CYNuR2n9.d.ts} +2 -2
- package/dist/types-chunks/{guardrail.d-CrSR1T_a.d.ts → guardrail.d-fM3mn4Op.d.ts} +2 -2
- package/dist/types-chunks/{history-retrieval.d-DImTKgO6.d.ts → history-retrieval.d-BDI-ZMvY.d.ts} +1 -1
- package/dist/types-chunks/{public-api.d-C-lVOhdt.d.ts → public-api.d-i10kvYFs.d.ts} +2 -2
- package/dist/types-chunks/{repl.d-DGi0nhpl.d.ts → repl.d-Cs3eqGVT.d.ts} +5 -5
- package/dist/types-chunks/{run-manager.d-C6ahvZqK.d.ts → run-manager.d-CodHf6rw.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-D5Ffq4h-.d.ts → sdk-session-CRXu5xNs.d.ts} +2 -2
- package/dist/types-chunks/{shell-command-sets.d-jmXn8K7r.d.ts → shell-command-sets.d-DfeSUjjM.d.ts} +1 -1
- package/dist/types-chunks/{types.d-BzpPDBPV.d.ts → types.d-DIXZFauU.d.ts} +1 -1
- package/dist/types-chunks/{types.d-BqYq_ljy.d.ts → types.d-DKs4tfSd.d.ts} +2 -2
- package/dist/types-chunks/{utils.d-Z-YpaiUS.d.ts → utils.d-CgITiLyc.d.ts} +4 -4
- package/docs/SDK_EMBEDDER_GUIDE.md +25 -6
- package/package.json +1 -1
- package/dist/chunks/argument-completer-MHRFNBWB.js +0 -2
- package/dist/chunks/chunk-FUK6OUCW.js +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,32 @@ No changes yet.
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## [0.7.82] - 2026-08-05
|
|
14
|
+
|
|
15
|
+
> Git tag and GitHub Release are created by the release workflow. npm
|
|
16
|
+
> publication remains a separate manual operator step.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Daemon Host Tool capability discovery now preserves complete, lease-scoped
|
|
21
|
+
snapshots when it composes them with the active MCP runtime. Explicit server
|
|
22
|
+
filters select only their requested source, unfiltered discovery stays
|
|
23
|
+
complete/live, and legacy providers are queried without the ordinary page cap
|
|
24
|
+
while retaining explicit degraded metadata (Issue 279).
|
|
25
|
+
- A recorded managed-Run Stop now fences provider retry/fallback/continuation,
|
|
26
|
+
guardrail, tool, and Actor work after cooperative cancellation is observed.
|
|
27
|
+
The trusted Stop/Abort cause is classified before credential redaction, so
|
|
28
|
+
status, terminal event, `runs.get()`, and `runs.await()` consistently report
|
|
29
|
+
interruption without overriding genuine completion or independent failures
|
|
30
|
+
(Issue 280).
|
|
31
|
+
- `runtime.runs.submitInput()` and daemon preflight now resolve the admitted
|
|
32
|
+
authoritative Run before reading mutable Session history. Active interrupt
|
|
33
|
+
and after-turn admission no longer fail with transient `data_changed`; queued
|
|
34
|
+
continuations still wait for predecessor settlement and retain exact
|
|
35
|
+
operation-id idempotency (Issue 281).
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
13
39
|
## [0.7.81] - 2026-08-05
|
|
14
40
|
|
|
15
41
|
> Git tag and GitHub Release are created by the release workflow. npm
|
package/README.md
CHANGED
|
@@ -612,6 +612,18 @@ failure fails the delivery closed rather than emitting an unverifiable event.
|
|
|
612
612
|
FEATURE_287 remains planned for v0.7.88; this is a non-Feature patch. See the
|
|
613
613
|
[v0.7.81 release checklist](docs/release.md#v0781-release-preparation).
|
|
614
614
|
|
|
615
|
+
**v0.7.82 Runtime causality release:** Daemon capability discovery now composes
|
|
616
|
+
live, complete MCP and Host Tool snapshots only for unfiltered search; an
|
|
617
|
+
explicit server filter selects that source alone, while legacy providers report
|
|
618
|
+
honest incomplete/unknown discovery. An observed Stop cooperatively fences
|
|
619
|
+
later retries, continuations, guardrails, tools, and Run-admitted Actor work;
|
|
620
|
+
trusted Abort remains terminal causality before credential redaction without
|
|
621
|
+
overriding a real completion or independent failure. Input submission resolves
|
|
622
|
+
the admitted authoritative Run before reading mutable Session history, so
|
|
623
|
+
active interrupt and after-turn admission do not produce a transient
|
|
624
|
+
`data_changed` rejection. FEATURE_287 remains planned for v0.7.88; this is a
|
|
625
|
+
non-Feature patch. See the [v0.7.82 release checklist](docs/release.md#v0782-release-preparation).
|
|
626
|
+
|
|
615
627
|
The v0.7.77 release also adds an opt-in, host-configurable Shell Execution Contract.
|
|
616
628
|
Runtime Session settings or an individual Run can select `pwsh`, Windows
|
|
617
629
|
PowerShell, `cmd`, `bash`, `zsh`, or an explicit Git Bash executable; KodaX
|
package/README_CN.md
CHANGED
|
@@ -223,6 +223,15 @@ provenance 失败会 fail closed,不会发布无法验证的交付事件。FEA
|
|
|
223
223
|
v0.7.88;本版本是非 Feature 补丁。详见
|
|
224
224
|
[v0.7.81 发布清单](docs/release.md#v0781-release-preparation)。
|
|
225
225
|
|
|
226
|
+
**v0.7.82 Runtime 因果性发布**:daemon 的未过滤 capability 发现会组合 live、complete
|
|
227
|
+
的 MCP 与 Host Tool snapshot;显式 `server` 过滤只选择对应来源,legacy provider 则如实
|
|
228
|
+
报告 incomplete/unknown。观察到 Stop 后,后续 retry、continuation、guardrail、tool 及
|
|
229
|
+
Run-admitted Actor 工作会协作式停止;可信 Abort 会在 credential redaction 前保留为终态
|
|
230
|
+
因果,但不会覆盖真实 completion 或独立 failure。输入提交先解析已接纳的 authoritative
|
|
231
|
+
Run,再读取可变 Session history,因此活动中断和 after-turn 接纳不会产生瞬态
|
|
232
|
+
`data_changed` 拒绝。FEATURE_287 仍计划于 v0.7.88;本版本是非 Feature 补丁。详见
|
|
233
|
+
[v0.7.82 发布清单](docs/release.md#v0782-release-preparation)。
|
|
234
|
+
|
|
226
235
|
v0.7.77 还增加了由宿主显式配置的 Shell Execution Contract。Runtime Session
|
|
227
236
|
设置或单次 Run 可以选择 `pwsh`、Windows PowerShell、`cmd`、`bash`、`zsh`
|
|
228
237
|
或 Git Bash 的绝对路径;KodaX 会在实际项目 cwd 中解析 shell 环境,再通过同一
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{Ja as g,La as h,Ya as i,Za as j,a as c,db as k,ra as d,sa as e,ta as f}from"./chunk-
|
|
2
|
+
import{Ja as g,La as h,Ya as i,Za as j,a as c,db as k,ra as d,sa as e,ta as f}from"./chunk-ZZUIO5KL.js";import"./chunk-HTVLCHWH.js";import"./chunk-GIVYTXQW.js";import"./chunk-KHEFUT6O.js";import"./chunk-TRNAWSXP.js";import{wb as a,xb as b}from"./chunk-WMYCNECP.js";import"./chunk-EVXIJPZ6.js";import"./chunk-E7C4DRD2.js";import"./chunk-6UENDY33.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{Ea as a,Fa as b}from"./chunk-JDZFNWMZ.js";import"./chunk-VQBJMNFD.js";import"./chunk-7ZN2MLVM.js";import"./chunk-ZOBNDWOA.js";import"./chunk-ZZUIO5KL.js";import"./chunk-NINELPXH.js";import"./chunk-HTVLCHWH.js";import"./chunk-KH2HED37.js";import"./chunk-GIVYTXQW.js";import"./chunk-KHEFUT6O.js";import"./chunk-TRNAWSXP.js";import"./chunk-WMYCNECP.js";import"./chunk-EVXIJPZ6.js";import"./chunk-E7C4DRD2.js";import"./chunk-6UENDY33.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{pc as o}from"./chunk-
|
|
2
|
+
import{pc as o}from"./chunk-WMYCNECP.js";import{h as c}from"./chunk-EVXIJPZ6.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};
|