@kodax-ai/kodax 0.7.97-alpha.9 → 0.7.97-beta.1

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 (234) hide show
  1. package/CHANGELOG.md +332 -0
  2. package/README.md +144 -29
  3. package/README_CN.md +99 -17
  4. package/config-templates/config.example.jsonc +2 -3
  5. package/dist/artifacts/skills/artifact-review/SKILL.md +44 -7
  6. package/dist/builtin/code-review/SKILL.md +5 -17
  7. package/dist/builtin/git-workflow/SKILL.md +9 -8
  8. package/dist/builtin/skill-creator/SKILL.md +38 -108
  9. package/dist/builtin/skill-creator/references/evaluation.md +50 -0
  10. package/dist/builtin/skill-creator/scripts/analyze-benchmark.d.ts +2 -0
  11. package/dist/builtin/skill-creator/scripts/analyze-benchmark.js +6 -3
  12. package/dist/builtin/skill-creator/scripts/compare-runs.d.ts +2 -0
  13. package/dist/builtin/skill-creator/scripts/compare-runs.js +6 -3
  14. package/dist/builtin/skill-creator/scripts/grade-evals.d.ts +2 -0
  15. package/dist/builtin/skill-creator/scripts/grade-evals.js +6 -3
  16. package/dist/builtin/skill-creator/scripts/run-eval.js +3 -3
  17. package/dist/builtin/skill-creator/scripts/run-loop.js +2 -1
  18. package/dist/builtin/skill-creator/scripts/run-trigger-eval.d.ts +2 -0
  19. package/dist/builtin/skill-creator/scripts/run-trigger-eval.js +3 -1
  20. package/dist/builtin/skill-creator/scripts/utils.d.ts +1 -1
  21. package/dist/builtin/skill-creator/scripts/utils.js +8 -0
  22. package/dist/builtin/tdd/SKILL.md +24 -40
  23. package/dist/builtin/visual-review/SKILL.md +7 -3
  24. package/dist/chunks/agent-OY4U4WOU.js +2 -0
  25. package/dist/chunks/agent-adapter-NDH3DMPG.js +2 -0
  26. package/dist/chunks/argument-completer-Q6GMPJ74.js +2 -0
  27. package/dist/chunks/bedrock-native-Z5VNWF5U.js +4 -0
  28. package/dist/chunks/cell-ABNYMGXV.js +2 -0
  29. package/dist/chunks/{chunk-JNB2FL6P.js → chunk-3ZEJRVNA.js} +1 -1
  30. package/dist/chunks/chunk-45ZP2YHG.js +2 -0
  31. package/dist/chunks/chunk-4KR4VUZK.js +142 -0
  32. package/dist/chunks/chunk-4Y6U7AH4.js +9 -0
  33. package/dist/chunks/chunk-52EN2777.js +2 -0
  34. package/dist/chunks/chunk-5MDNQCAV.js +4 -0
  35. package/dist/chunks/chunk-5WZ5FUUD.js +14 -0
  36. package/dist/chunks/chunk-654JOM24.js +634 -0
  37. package/dist/chunks/chunk-65652LR4.js +2 -0
  38. package/dist/chunks/chunk-6VHO36HK.js +2 -0
  39. package/dist/chunks/chunk-7OTOH4PT.js +465 -0
  40. package/dist/chunks/chunk-7SX7CHYP.js +2 -0
  41. package/dist/chunks/chunk-7U2BL7CM.js +19 -0
  42. package/dist/chunks/chunk-A3SLNYBB.js +5 -0
  43. package/dist/chunks/{chunk-HXCY52Z2.js → chunk-ADIWJDFS.js} +1 -1
  44. package/dist/chunks/chunk-AGUM5SWX.js +2 -0
  45. package/dist/chunks/chunk-BZF7WPRK.js +357 -0
  46. package/dist/chunks/chunk-D5OW7UD5.js +2 -0
  47. package/dist/chunks/chunk-E2Z754K5.js +366 -0
  48. package/dist/chunks/chunk-ED7D73C3.js +2 -0
  49. package/dist/chunks/chunk-F7H6CDJN.js +2 -0
  50. package/dist/chunks/chunk-FMZN5F3Q.js +2 -0
  51. package/dist/chunks/chunk-FZZMHNDB.js +42 -0
  52. package/dist/chunks/chunk-G2IMBA3R.js +29 -0
  53. package/dist/chunks/chunk-GYNAAIZP.js +18 -0
  54. package/dist/chunks/chunk-GZUWQZJD.js +2 -0
  55. package/dist/chunks/chunk-HA4IKFUK.js +2 -0
  56. package/dist/chunks/chunk-ISLK6R2P.js +2 -0
  57. package/dist/chunks/chunk-KDLOPBFZ.js +2 -0
  58. package/dist/chunks/chunk-KDRYQKT7.js +3 -0
  59. package/dist/chunks/chunk-KE2NBMAP.js +20 -0
  60. package/dist/chunks/chunk-KJBS6L7Q.js +351 -0
  61. package/dist/chunks/chunk-KQ3XVHKK.js +1157 -0
  62. package/dist/chunks/chunk-LPHKXPF7.js +190 -0
  63. package/dist/chunks/chunk-LWOGHKTL.js +2 -0
  64. package/dist/chunks/chunk-MJ4IGUD4.js +5 -0
  65. package/dist/chunks/chunk-N2B6A3CX.js +10 -0
  66. package/dist/chunks/chunk-NM3AINLH.js +142 -0
  67. package/dist/chunks/chunk-NQ4XK3B2.js +2 -0
  68. package/dist/chunks/chunk-P7OJRV5Z.js +2 -0
  69. package/dist/chunks/chunk-PRH5G5J7.js +12 -0
  70. package/dist/chunks/chunk-QP47JIWP.js +3 -0
  71. package/dist/chunks/chunk-SCGXZ2QT.js +127 -0
  72. package/dist/chunks/{chunk-FX4R5PB3.js → chunk-TXI6SHDO.js} +1 -1
  73. package/dist/chunks/chunk-UF3GZ5PO.js +2 -0
  74. package/dist/chunks/chunk-V4WSBIXB.js +2 -0
  75. package/dist/chunks/chunk-V5RCDBKU.js +2 -0
  76. package/dist/chunks/{chunk-L22BDZGE.js → chunk-VT35IZEZ.js} +1 -1
  77. package/dist/chunks/chunk-W33QJA3M.js +2 -0
  78. package/dist/chunks/chunk-W6MHQ7ED.js +2 -0
  79. package/dist/chunks/chunk-WMMESRP3.js +9 -0
  80. package/dist/chunks/chunk-XGUGEVCK.js +4 -0
  81. package/dist/chunks/chunk-YB24NTBC.js +2 -0
  82. package/dist/chunks/chunk-ZT2LR3KD.js +2 -0
  83. package/dist/chunks/client-3JEK33QQ.js +2 -0
  84. package/dist/chunks/compaction-config-NKDAUZNH.js +2 -0
  85. package/dist/chunks/{construction-bootstrap-XBHM6NON.js → construction-bootstrap-HCRLORKG.js} +1 -1
  86. package/dist/chunks/devtools-MVOFT6N7.js +2 -0
  87. package/dist/chunks/devtools-TXYDDL2A.js +2 -0
  88. package/dist/chunks/dist-NTS7CJG3.js +2 -0
  89. package/dist/chunks/errors-ER7ZRPWC.js +2 -0
  90. package/dist/chunks/google-native-45I4S26I.js +2 -0
  91. package/dist/chunks/host-RHJ3VGYE.js +2 -0
  92. package/dist/chunks/mistral-native-JXPIDDYZ.js +5 -0
  93. package/dist/chunks/model-WCSO7VEC.js +2 -0
  94. package/dist/chunks/permission-MTSFSB74.js +2 -0
  95. package/dist/chunks/pi-messages-5LLOZH57.js +16 -0
  96. package/dist/chunks/readline-helpers-KZQCE3NH.js +2 -0
  97. package/dist/chunks/responses-websocket-Y4N5GXD3.js +2 -0
  98. package/dist/chunks/run-manager-MWEV42C5.js +2 -0
  99. package/dist/chunks/running-session-3BYAXGLK.js +2 -0
  100. package/dist/chunks/skills-V7T55I4F.js +2 -0
  101. package/dist/chunks/tool-dispatch-ZVIDGKB4.js +2 -0
  102. package/dist/chunks/utils-WGRFGT7S.js +2 -0
  103. package/dist/generated-config-templates.json +6 -0
  104. package/dist/index.d.ts +34 -32
  105. package/dist/index.js +6 -6
  106. package/dist/kodax_bootstrap.js +4 -2
  107. package/dist/kodax_cli.js +1766 -2992
  108. package/dist/kodax_doctor.js +3 -0
  109. package/dist/kodax_resume.js +30 -30
  110. package/dist/manual-topics.json +2196 -0
  111. package/dist/native/darwin-arm64/kodax-text-transaction.node +0 -0
  112. package/dist/native/darwin-arm64/manifest.json +1 -1
  113. package/dist/native/win32-x64/kodax-windows-sandbox.exe +0 -0
  114. package/dist/native/win32-x64/kodax-windows-text-transaction.node +0 -0
  115. package/dist/native/win32-x64/manifest.json +2 -2
  116. package/dist/one-shot-task.js +2 -0
  117. package/dist/provider-auth-cli.js +16 -0
  118. package/dist/provider-capabilities.json +560 -40
  119. package/dist/runtime-daemon-schema.json +1 -0
  120. package/dist/sandbox-network-broker.js +260 -795
  121. package/dist/script-cell.js +1 -0
  122. package/dist/script-worker.cjs +2166 -0
  123. package/dist/sdk-a2a.d.ts +23 -22
  124. package/dist/sdk-a2a.js +6 -8
  125. package/dist/sdk-agent.d.ts +119 -96
  126. package/dist/sdk-agent.js +1 -1
  127. package/dist/sdk-client.d.ts +16 -10
  128. package/dist/sdk-client.js +1 -1
  129. package/dist/sdk-coding.d.ts +67 -79
  130. package/dist/sdk-coding.js +1 -1
  131. package/dist/sdk-experimental-memory.d.ts +3 -3
  132. package/dist/sdk-experimental-memory.js +1 -1
  133. package/dist/sdk-llm.d.ts +265 -14
  134. package/dist/sdk-llm.js +1 -1
  135. package/dist/sdk-mcp.d.ts +3 -3
  136. package/dist/sdk-mcp.js +1 -1
  137. package/dist/sdk-media.d.ts +41 -166
  138. package/dist/sdk-media.js +1 -1
  139. package/dist/sdk-repl.d.ts +81 -51
  140. package/dist/sdk-repl.js +2 -2
  141. package/dist/sdk-runtime.d.ts +216 -2989
  142. package/dist/sdk-runtime.js +1 -1
  143. package/dist/sdk-sandbox.js +1 -1
  144. package/dist/sdk-session.d.ts +15 -14
  145. package/dist/sdk-session.js +1 -1
  146. package/dist/sdk-skills.d.ts +2 -2
  147. package/dist/sdk-skills.js +1 -1
  148. package/dist/semantic-worker.js +121 -75
  149. package/dist/static-text.json +323 -0
  150. package/dist/storage-repair-cli.js +3 -0
  151. package/dist/types-chunks/auth-file.d-ovsHEqD4.d.ts +178 -0
  152. package/dist/types-chunks/{bash-prefix-extractor.d-DFH463j2.d.ts → bash-prefix-extractor.d-RblzA9kO.d.ts} +285 -168
  153. package/dist/types-chunks/{capability-learning.d-B4pxKwP4.d.ts → capability-learning.d-BXDEOON2.d.ts} +4 -4
  154. package/dist/types-chunks/{capability.d-DOF3r0fJ.d.ts → capability.d-DapzKxy3.d.ts} +1 -1
  155. package/dist/types-chunks/{capsule.d-CwpmHGFB.d.ts → capsule.d-C-saon3X.d.ts} +5 -5
  156. package/dist/types-chunks/{client-contract-CRm9ZpL2.d.ts → client-contract-D8HXN_iu.d.ts} +249 -67
  157. package/dist/types-chunks/{controller.d-B4GyqWri.d.ts → controller.d-C0SAuNKu.d.ts} +1 -1
  158. package/dist/types-chunks/{controller.d-P3H97ddz.d.ts → controller.d-pXik2EIy.d.ts} +71 -11
  159. package/dist/types-chunks/{cost-tracker.d-BeaenODW.d.ts → cost-tracker.d-D1CTx-IO.d.ts} +37 -7
  160. package/dist/types-chunks/{base.d-ZBOdjDUT.d.ts → errors.d-D73qdYbS.d.ts} +91 -74
  161. package/dist/types-chunks/{history-retrieval.d-BzKWDjzG.d.ts → history-retrieval.d-BwEUR9cb.d.ts} +2 -2
  162. package/dist/types-chunks/{manager.d-C8OlTe2J.d.ts → manager.d-BMH8Q6TV.d.ts} +1 -1
  163. package/dist/types-chunks/{manifest.d-COreAnXG.d.ts → manifest.d-r74es7yq.d.ts} +1 -1
  164. package/dist/types-chunks/{provider-credential-context.d-BH2OaB1b.d.ts → provider-credential-context.d-Dw-sWcnu.d.ts} +11 -2
  165. package/dist/types-chunks/{provider-request-observation.d-C_bEqr4m.d.ts → provider-request-observation.d-CNe9vse3.d.ts} +4 -2
  166. package/dist/types-chunks/{public-api.d-BLmqDi73.d.ts → public-api.d-CvDSMmN2.d.ts} +13 -10
  167. package/dist/types-chunks/queue-BxQhqhFM.d.ts +166 -0
  168. package/dist/types-chunks/{resolver.d-DLY01RHx.d.ts → resolver.d-DrkpD8wY.d.ts} +142 -103
  169. package/dist/types-chunks/{review-inbox.d-BTLDdpG2.d.ts → review-inbox.d-Bgt46S7L.d.ts} +16 -3
  170. package/dist/types-chunks/{review-packet.d-Crra1Q7t.d.ts → review-packet.d-C0NYHPdq.d.ts} +7 -7
  171. package/dist/types-chunks/{run-manager.d-DmS1edk4.d.ts → run-manager.d-COrEJ-hn.d.ts} +41 -11
  172. package/dist/types-chunks/{runtime-client-info-BBBxdU8V.d.ts → runtime-client-info-DJ9srk4O.d.ts} +88 -7
  173. package/dist/types-chunks/runtime-event-B24TGIxk.d.ts +48 -0
  174. package/dist/types-chunks/sdk-runtime-CBPScTNR.d.ts +2236 -0
  175. package/dist/types-chunks/{sdk-session-DipY_CCd.d.ts → sdk-session-D_bf_sN2.d.ts} +13 -4
  176. package/dist/types-chunks/{sdk-skills-DokfOoJF.d.ts → sdk-skills-C-UA1A6I.d.ts} +3 -1
  177. package/dist/types-chunks/{side-query.d-DTrhVd_r.d.ts → side-query.d-UFKdWSw7.d.ts} +4 -4
  178. package/dist/types-chunks/{types.d-Jxj49rqO.d.ts → skill-invocation-error.d-FJ6ZujRz.d.ts} +24 -14
  179. package/dist/types-chunks/task-results.d-XMdWq0eA.d.ts +15 -0
  180. package/dist/types-chunks/{trusted-repl-entry-B1cb7lAn.d.ts → trusted-repl-entry-9i4hUuj-.d.ts} +10 -10
  181. package/dist/types-chunks/{types.d-BjOq57-z.d.ts → types.d-Bi8iUd6x.d.ts} +248 -4
  182. package/dist/types-chunks/types.d-BvEGNdN-.d.ts +131 -0
  183. package/dist/types-chunks/{types.d-NyCB6ztO.d.ts → types.d-CTo0NiAM.d.ts} +22 -13
  184. package/dist/types-chunks/{types.d-Cb8RdrjU.d.ts → types.d-D8qQjMeo.d.ts} +5 -1
  185. package/dist/types-chunks/{utils.d-Bt6USYa5.d.ts → utils.d-BhoGV3yv.d.ts} +11 -7
  186. package/dist/windows-native-scripts.json +5 -0
  187. package/docs/ARTIFACT_SDK.md +8 -0
  188. package/docs/CLIENT_CONTRACT.md +195 -9
  189. package/docs/SDK_MIGRATION.md +624 -2
  190. package/docs/SPACE_SDK_SEAMS.md +255 -2
  191. package/package.json +33 -6
  192. package/public_docs/README.md +22 -2
  193. package/public_docs/configuration/config-files.md +6 -0
  194. package/public_docs/configuration/custom-providers.md +62 -0
  195. package/public_docs/configuration/providers.md +238 -3
  196. package/public_docs/configuration/sandbox.md +30 -0
  197. package/public_docs/getting-started/quickstart.md +10 -1
  198. package/public_docs/sdk/embedder-guide.md +476 -206
  199. package/dist/chunks/agent-C7MMIRIH.js +0 -2
  200. package/dist/chunks/argument-completer-WIQAV5GP.js +0 -2
  201. package/dist/chunks/chunk-2AM3FRQ7.js +0 -137
  202. package/dist/chunks/chunk-2TBKGO2Q.js +0 -497
  203. package/dist/chunks/chunk-35P7QL2Q.js +0 -2
  204. package/dist/chunks/chunk-5DQTOU2E.js +0 -69
  205. package/dist/chunks/chunk-7NH5BGE4.js +0 -350
  206. package/dist/chunks/chunk-AWYO4MH3.js +0 -635
  207. package/dist/chunks/chunk-CIPS75XZ.js +0 -260
  208. package/dist/chunks/chunk-CRQWSDHV.js +0 -429
  209. package/dist/chunks/chunk-HD5BDOPC.js +0 -2
  210. package/dist/chunks/chunk-JXZMES45.js +0 -12
  211. package/dist/chunks/chunk-KJSZTP5N.js +0 -2
  212. package/dist/chunks/chunk-KYHMB6XR.js +0 -431
  213. package/dist/chunks/chunk-ONUPGMER.js +0 -2
  214. package/dist/chunks/chunk-P42PHZWC.js +0 -351
  215. package/dist/chunks/chunk-SHG3EIH5.js +0 -19
  216. package/dist/chunks/chunk-UH6VOCVP.js +0 -2
  217. package/dist/chunks/chunk-V26LAWJY.js +0 -2
  218. package/dist/chunks/chunk-WOHHMGEF.js +0 -394
  219. package/dist/chunks/chunk-WONYJBAA.js +0 -2
  220. package/dist/chunks/chunk-XJWNIFC2.js +0 -298
  221. package/dist/chunks/chunk-XMWTEVFZ.js +0 -1481
  222. package/dist/chunks/chunk-YJTIPSNW.js +0 -22
  223. package/dist/chunks/chunk-YVBBU6K5.js +0 -5
  224. package/dist/chunks/client-XFASU74S.js +0 -2
  225. package/dist/chunks/compaction-config-JZNGDKWW.js +0 -2
  226. package/dist/chunks/devtools-CD6KSIHE.js +0 -2
  227. package/dist/chunks/devtools-XR5F2C6T.js +0 -2
  228. package/dist/chunks/dist-M4HLQAX7.js +0 -2
  229. package/dist/chunks/dist-ZLR4OTDD.js +0 -2
  230. package/dist/chunks/host-EHVJWNGS.js +0 -2
  231. package/dist/chunks/readline-helpers-KIDMSK76.js +0 -2
  232. package/dist/chunks/run-manager-HNGIYMG7.js +0 -2
  233. package/dist/chunks/tool-dispatch-ON33NJR5.js +0 -2
  234. package/dist/chunks/utils-RHR6YHB2.js +0 -2
package/CHANGELOG.md CHANGED
@@ -8,6 +8,338 @@ All notable changes to this project will be documented in this file.
8
8
 
9
9
  ---
10
10
 
11
+ ## [0.7.97-beta.1] - 2026-11-02
12
+
13
+ First beta of the v0.7.97 line: Space-facing Host execution and Session
14
+ seams complete — Main-owned capability-gated default Skills and
15
+ consumption-time execution bindings select committed expert/connector state
16
+ with fresh credential/tool leases at actual Product input consumption, and
17
+ Quick Ask promotes Sessions through Host-owned revision checks with durable
18
+ request-ID reconciliation while preserving the original Session and history.
19
+ Plain redirect Run boundaries persist apart from legacy explicit Skill queues
20
+ and survive cold recovery with strict missing-method rejection; Main bindings
21
+ resolve before steer authority and retain the active Run's principal and
22
+ lease boundaries. Every core configuration update publishes atomically under
23
+ the shared lock — old bytes stay on failed writes, damaged provider
24
+ collections are rejected before mutation, configuration errors stay free of
25
+ secrets, and Windows reader-denied replacements retry within the same staged
26
+ file and write lock. The complete daemon schema ships as packaged data inside
27
+ the npm inventory while the CLI keeps its size budget; owner-local temporary
28
+ Run results stay awaitable after Host Session cleanup. Windows protected
29
+ paths retain lexical and physical short-name fences with credential staging
30
+ DACLs replaced without broad grants. Bare `resume` discovery paints immediate
31
+ `Finding sessions` feedback without extra startup work. Every v0.7.96 stable
32
+ and v0.7.97-alpha.1 through alpha.12 contract is retained. npm publication
33
+ remains a manual maintainer action.
34
+
35
+ ### Added
36
+
37
+ - Add capability-gated Main default Skills and execution-binding resolvers for
38
+ committed expert/connector selection at actual Product input consumption;
39
+ retain original recovery bindings with fresh credential/tool leases.
40
+ - Add Host-owned, revision-checked Session promotion with durable request-ID
41
+ reconciliation for Quick Ask, preserving the original Session and history.
42
+
43
+ ### Fixed
44
+
45
+ - Distinguish plain redirect Run boundaries from legacy explicit Skill queues,
46
+ retaining that intent through cold recovery without weakening missing-method
47
+ rejection or changing the original input, principal, or authority.
48
+ - Resolve Main bindings before checking steer authority, retaining the active
49
+ Run's principal and lease boundaries; preserve explicit method identity for
50
+ redirects, including conservative recovery of older null-marked queue records.
51
+ - Publish every core configuration update under the existing shared lock with
52
+ atomic replacement; retain old bytes on failed writes, reject damaged saved
53
+ provider collections before mutation, and keep configuration errors free of secrets.
54
+ Bound Windows reader-denied replacements to the same staged file and write
55
+ lock, retaining the old configuration on permanent denial.
56
+ - Preserve rejected queued inputs and explicit Skill identity; retain prepared
57
+ Skill admission context without replaying hooks or adopting changed policies
58
+ during checkpoint recovery. New execution intent requires a compatible Host.
59
+ - Generate the complete daemon schema as packaged data, preserving the existing
60
+ CLI size budget and release workflow matrix/trigger behavior.
61
+ - Keep owner-local temporary Run results awaitable after Host Session cleanup;
62
+ include generated protocol data in the actual npm package inventory.
63
+
64
+ - Preserve lexical and physical protected paths across Windows short names;
65
+ keep missing SSH identities excluded and native cache anchors free of reparse
66
+ aliases. Replace credential staging DACLs without retaining explicit broad
67
+ grants. Preserve Undo's native identity and CAS fences while correcting
68
+ canonical test fixtures and retaining failed sandbox bootstrap diagnostics.
69
+ - Paint `Finding sessions` startup feedback while bare-resume discovery scans
70
+ sessions and clear it before the picker or empty-list notice, without adding
71
+ file reads, workers, rebuilds or other startup work to the loading path.
72
+
73
+ ---
74
+
75
+ ## [0.7.97-alpha.12] - 2026-11-01
76
+
77
+ Twelfth alpha of the v0.7.97 line: public product execution converges on the
78
+ independent shared Host with retired embedded/default construction, inline
79
+ owner switching and function-based external-agent Hosts, plus abandoned-owner
80
+ policy migration with a one-way fence; FEATURE_302 lands native
81
+ provider/OAuth credential parity across the Responses transport, ordered
82
+ history, native cloud protocols, Mistral Pi, native media classification,
83
+ shared file credentials and hidden API-key setup; Claude 5.5 history fragments
84
+ and per-message effort controls join the LLM layer; and the 2026-11-01
85
+ full-chain audit's Windows recovery, credential and permission hardening
86
+ ships. Every v0.7.96 stable and v0.7.97-alpha.1 through alpha.11 contract is
87
+ retained. npm publication remains a manual maintainer action.
88
+
89
+ ### Changed
90
+
91
+ - Store execution statistics in append-only, Session-root-scoped journals;
92
+ retain legacy projections and expire pagination cursors after projection
93
+ recovery. Keep unknown outcomes non-authoritative for execution.
94
+ - Load optional Node CLI auth, doctor, storage maintenance and one-shot
95
+ components on demand within the existing size reserve; standalone binaries
96
+ embed those components and public SDK entry points remain unchanged.
97
+ - Add native Claude 5.5 history fragments, ordered thinking/tool blocks,
98
+ inline tool/system updates and per-message effort controls. Preserve
99
+ admitted images across restore and keep cache policy out of tool arguments.
100
+
101
+ - Converge public Runtime ownership on the independent shared Host. Retire
102
+ embedded/default construction, inline owner switching and function-based
103
+ in-process external-agent Hosts. Keep the explicit daemon launcher and its
104
+ new-owner policy bootstrap; independent libraries remain usable.
105
+ - Migrate eligible abandoned owner policies under profile and real Session-root
106
+ ownership checks. Persist a one-way policy that verified old readers reject,
107
+ preventing inline rollback after Host idle exit. Live/unknown owners and
108
+ unsafe Run recovery remain protected; old private unfenced writers must stop
109
+ and upgrade before sharing data. See the SDK migration guide for breaking
110
+ API and downgrade limits.
111
+
112
+ ### Fixed
113
+
114
+ - Refresh rejected OAuth credential generations through the existing broker
115
+ without replaying the failed request or changing the selected account.
116
+ Preserve trusted account identity across refresh and fence revoked leases.
117
+ - Publish migration/OAuth/storage lock owners completely; add explicit local
118
+ inspection, retained backups, repair fences and separately attested recovery
119
+ for supported damaged ledgers/snapshots and unidentified historical locks.
120
+ - Prevent ambient Anthropic SDK headers from replacing the selected credential;
121
+ keep unsupported Claude sampling/prefill and hook effort overrides off wire.
122
+ - Preserve explicit non-retryable provider facts through returned child
123
+ failures while retaining configured fallback for transient HTTP failures.
124
+ - Prevent terminal quota, authentication and explicitly non-retryable child
125
+ failures from triggering cross-provider fallback. Diagnose retained Session
126
+ writer locks and lock-record syntax without disclosing owner fields or
127
+ reclaiming unknown ownership; add a Windows streaming-history PTY CI gate.
128
+ - Keep help, version and read-only doctor available with corrupt configuration;
129
+ retain execution/write fencing and diagnose exact lock locations without
130
+ exposing config contents or following directory aliases.
131
+ - Pin Windows CLI-provider child birth identities through delayed exit events
132
+ and retain captured descendants across intermediate-parent exit.
133
+ - Preserve explicit SDK Skill catalogs, including empty overrides, across SA/AMA
134
+ learned bindings and compaction. Keep the stricter CLI size reserve using an
135
+ audited, lazily assembled broker program resource with identical emitted bytes.
136
+
137
+ - Restore AMA Root learned Skill admission and owned finalization; explicit SDK
138
+ Skill calls now settle the existing policy and hooks without a model request.
139
+ Keep empty learned stores off foreground initialization and discover protected
140
+ formal names when a review actually commits a Skill.
141
+ - Correct verified model ceilings, generic Skill aliases, cache pricing and Kimi
142
+ cache-write usage; retain default output budgets, fixed IDs and account choices.
143
+ Project unsupported historical images explicitly without rewriting history.
144
+ - Derive SDK build/type entries from package exports and compile published examples.
145
+ Share current Runtime guardrail facts while retaining independent minimums.
146
+ Add explicit storage-capacity inspection and isolate cleanup state by directory.
147
+ - Discover Windows source regressions automatically and retain the native OS gate.
148
+ Publish complete config/Host lock records, recover verified dead owners without
149
+ TTL stealing, and retry completed migration/release cleanup. Config and extension
150
+ publication failures retain original bytes, including legacy credential fields.
151
+ - Isolate corrupt execution statistics, pending inputs and agent event ledgers
152
+ without replaying unknown effects or discarding queued intent. Retry failed CLI
153
+ credential bootstrap and load linked OAuth registrations only when selected;
154
+ preserve profile/account binding, revocation and Host replacement fences.
155
+ - Reject unreadable or invalid existing core configuration in CLI and SDK
156
+ execution instead of selecting default credentials. Retain the original bytes,
157
+ permit first-use missing configuration, and retry after explicit repair.
158
+ - Prevent native Anthropic API-key requests from inheriting ambient Bearer auth,
159
+ and omit unsigned foreign thinking on native Anthropic OAuth tool history.
160
+ Constrain SDK shell prefix fallback and protect governed Memory mutation at
161
+ sandbox and obvious direct Host targets. Plan recovery names the actual
162
+ `exit_plan_mode` approval flow.
163
+ - Ship configuration templates, static prompts and audited native scripts in standalone
164
+ archives; load the byte-identical native programs lazily within the CLI budget.
165
+
166
+ - Resolve explicit and queued Skill references against the executing Host's
167
+ config home, keeping separate Hosts' user Skills and registries isolated.
168
+ - Keep admitted Skill catalogs available under Markdown Agent and SDK profile instructions across Solo, Adaptive and public Runner entries; reuse the bounded catalog formatter for Runtime bindings while preserving complete caller prompt overrides and pinned authorization.
169
+ - Restore already-authorized tool evidence to the next model request when an actual Host/guardrail refusal or failed read makes its saved preview unrecoverable; retain read denials and Run isolation. Unknown Skill errors no longer enumerate hidden or budget-omitted registry entries.
170
+ - Preserve complete MCP/tool results inline when active Skill restrictions or read hooks could block recovery, without speculative hook execution or permission bypasses.
171
+ - Discover project `.agents/skills` and nested Skill collections with native-source precedence, support-directory boundaries and cycle protection; report shadowed sources and bound model Skill catalogs with visible shortening/omission diagnostics.
172
+ - Stabilize executor registration revision fingerprints using normalized JSON
173
+ content, including persisted and rediscovered registrations.
174
+ - Distinguish POSIX sandbox dependency, interpreter and seccomp diagnostics while
175
+ preserving authorized once-only host fallback and its actual isolation state.
176
+ - Put standalone Windows Shell commands and environment probes behind a registered
177
+ Job gate. Verify descendant drain before retiring recovery records; fail cleanup
178
+ acceptance instead of only warning when verification is unavailable.
179
+ - Compare checkpoint write times at millisecond precision so a filesystem's
180
+ fractional timestamp cannot discard fresh recovery state as future-dated.
181
+ - Drain admitted Session view and item reads before Host-owner disposal completes,
182
+ preventing released reads from recreating storage indexes after shutdown.
183
+
184
+ - Give Partner the selected generic Agent surface without persona-based restrictions.
185
+ Evaluate explicit policies against the Host catalog, retain metadata ceilings across
186
+ native/MCP/child routes, and keep allowed Actor lease calls working. Persist and
187
+ expose actual executable/model tool scopes, including after Host restart.
188
+ Repeated root recovery preserves original tool ceilings, persona and verification
189
+ while intersecting fresh authority; arbitrary callbacks still require rebinding.
190
+
191
+ - Support Partner on the unified Host through trusted Main execution-profile
192
+ snapshots, intersecting Agent mode with existing profile/tool/lease ceilings.
193
+ Expose actual Run workMode and honor extension activeTools in effective scope;
194
+ keep standalone profile compatibility and specialist child declarations.
195
+ - Preserve Actor checkpoint followup across daemon IPC and restart, and route
196
+ SA Script through its managed executor. Apply live plan effort to actual
197
+ Provider requests as well as the view.
198
+ - Keep numeric token configuration typed, capture saved output/cache/LSP/tier
199
+ defaults for new Runs, and expose per-field application boundaries. Clearing
200
+ defaults cannot revive old bootstrap projections or remove external env values;
201
+ older Hosts retain unknown application support.
202
+ - Refresh `kodax_manual` topic guidance for retired verification/journal paths,
203
+ work modes, original tool results, token estimates, task reports, question
204
+ deadlines, Skill policy and sandbox readiness. Exact query IDs/aliases now
205
+ take precedence over keyword ranking, preserving custom SDK manual topics.
206
+ - Keep trusted-text, POSIX sandbox and storage-repair test fixtures on
207
+ canonical temporary roots so macOS runner paths under the `/var` symbolic
208
+ link satisfy the hardened agent-home and filesystem-alias fences.
209
+
210
+ ---
211
+
212
+ ## [0.7.97-alpha.11] - 2026-10-29
213
+
214
+ ### Added
215
+
216
+ - Add explicit Agent, Coding and experimental Script work modes through the
217
+ CLI, interactive `/work-mode` command and managed SDK/Session paths. Coding
218
+ remains the default. Script executes supported leaf tools through the existing
219
+ permission and receipt boundaries; SDK profiles and specialist agents retain
220
+ their declared capabilities.
221
+
222
+ - Refresh Ark, MiMo and MiniMax model catalogs and their reasoning/capacity
223
+ metadata. Provider-specific mappings and validation limits are documented in
224
+ the provider configuration guide.
225
+
226
+ ### Fixed
227
+
228
+ - Run release builds alongside full CI while retaining all publication gates;
229
+ move the complete serial Node 20 system suite to its own runner, validate
230
+ archives before lengthy Electron checks, and bound bundle/archive execution
231
+ with retained failure evidence. Ordinary branch pushes still do not trigger CI.
232
+ - Preserve the Windows PowerShell module search path in isolated archive tests,
233
+ avoiding stalled OS containment probes. Reject unverified supervised Hosts
234
+ before publishing incomplete capabilities and a misleading upgrade error.
235
+
236
+ - Align current SDK, Client, design and user documentation with post-alpha.10
237
+ work modes, question deadlines, saved tool originals, structured task reports
238
+ and streaming token estimates; retain historical release/validation limits.
239
+
240
+ - Preserve non-interactive question outcomes through the REPL client and reject
241
+ client-supplied timeout answers before daemon submission; the Host owns deadlines.
242
+ - Constrain Skill `Bash(pattern)` rules to a single parsed command, preventing
243
+ wildcard matches from admitting additional shell statements, pipelines,
244
+ redirects or command substitutions. Bare Bash and absent Skill restrictions
245
+ continue through normal Host authorization.
246
+ - Correct Windows stale-process recovery startup overhead and history browsing
247
+ cursor resynchronization; validate sandbox filesystem capabilities at startup.
248
+ Historical intermittent first-read latency remains under investigation.
249
+ - Display estimated tokens consistently across model streaming progress surfaces.
250
+
251
+ - Project existing task-result metadata into Product live views and recovered
252
+ history with explicit source, task identity, terminal/unknown status and
253
+ Markdown report bodies. Preserve multi-report order, literal report content,
254
+ existing full-body reads and raw canonical envelopes; decode only explicitly
255
+ sourced legacy deliveries and keep child failures separate from root Provider
256
+ errors. Deduplicate only identified task-message mirrors; preserve independent
257
+ same-text notices and ambiguous old UI records during history restoration.
258
+
259
+ - Keep Skill discovery rooted at the repository when the SDK runs from a
260
+ subdirectory, synchronize catalogs with loader availability in SA/AMA, and
261
+ invalidate stale bodies across rediscovery and in-flight reads. Model loads
262
+ now apply the existing Skill action policies, lifecycle hooks and model
263
+ preference, retaining Host authorization and safe multi-Skill composition.
264
+
265
+ - Preserve complete MCP tool output behind explicit SDK `part: 'original'`
266
+ reads, including daemon IPC and Host restart, while retaining existing preview
267
+ offsets. Keep results inline when recovery cannot be read, improve long JSON
268
+ previews, and stop Session-local automatic cleanup from deleting shared output
269
+ artifacts. Add simulated-provider/MCP E2E coverage against the built SDK.
270
+
271
+ ---
272
+
273
+ ## [0.7.97-alpha.10] - 2026-10-27
274
+
275
+ Tenth alpha of the v0.7.97 line: live context-capacity recovery reaches
276
+ durable generation boundaries — checkpointed Runs and task trees resume
277
+ after Host restart with fresh scoped authority, Kimi K3.1 routes join the
278
+ provider registry with full effort coverage, and AskUser interactions gain
279
+ answer-aware policies with explicit skip semantics. Every v0.7.96 stable
280
+ and v0.7.97-alpha.1 through alpha.9 contract is retained. npm publication
281
+ remains a manual maintainer action.
282
+
283
+ ### Added
284
+
285
+ - Forward actual Host initialization phases through the existing SDK startup callback and CLI indicator, including MCP prewarm and task recovery; reuse bounded bootstrap-log observation without extra readiness probes or waits.
286
+ - Kimi K3.1 provider routes: all seven user effort levels map through the Anthropic-compatible endpoint exactly like the official Kimi client (explicit thinking enablement plus output_config effort), with live subscription results, inconclusive high self-reports, and the public account balance limitation documented.
287
+
288
+ ### Fixed
289
+
290
+ - Repair bundled Skill shell declarations against the full-command glob contract while retaining Host authorization; make Git/TDD discoverable, separate tests-only and Skill creation/packaging/evaluation flows, and align visual preparation and unverified fallbacks. Skill Creator helpers now resolve public Skill SDK exports in installed tarballs and create fresh description-loop workspaces; semantic-screening output no longer implies observed model selection.
291
+ - Classify trusted Skill loading and policy restoration failures as local execution failures with stable codes and path-safe Skill messages; preserve the facts through Runtime persistence, daemon IPC and Product Client outcomes without weakening trusted reloads or changing Provider error classification.
292
+ - Resume checkpointed Runs and task trees after Host restart: original history, tool receipts, pending input intent and iteration budgets are preserved across independent child and Host recovery; scoped authority rebinds freshly, suspended worktrees stay protected, and bounded verbatim constraint memory retains oversized requests (Issue 322 follow-up).
293
+ - Converge client exit recovery without rewriting unknown outcomes: startup readiness is separated from historical client cleanup acknowledgements, exact Host/process/Job shutdown evidence is reverified, referenced outcomes are retained with late cleanup results preserved, and old exit requests can no longer fence or stop replacement Hosts.
294
+ - Preserve non-interactive question settlement in one-shot CLI: report normal `unanswered/non_interactive` results without default answers or Run interruption, retain MCP protocol cancellation and independent permission rejection, and update the adjacent regression assertions.
295
+ - Close adjacent question/restart regressions: retain checkpoints on unanswered recovery prompts, cancel unanswered MCP confirmation/URL requests, preserve UI callback errors through the SDK MCP bridge for protocol cancellation, surface ordinary prompt callback errors without overriding prior settlements, scope client Stop intent to its exact Run, and persist thread concurrency limits. Expose the existing new-Host question deadline through the Product launcher; repair classic assertions and capacity-test cleanup.
296
+ - Honor a partially delivered durable Session Stop during Root/Actor generation recovery; its original request can finish through verified dead-owner checkpoint Stop takeover, while later Runs remain outside the old frontier.
297
+
298
+ - Preserve prior summary failures when an irreducibly oversized user input
299
+ needs request-only degradation (Issue 322). Single-agent and managed
300
+ compaction no longer reset the breaker on an oversized partial result;
301
+ the single-agent capacity-error branch also retains its prior count.
302
+ Ordinary failures still accumulate, successful relief still rearms the
303
+ breaker, and oversized inputs retain their bounded recovery attempt. String
304
+ and mixed text/image user messages share this behavior; images and tool
305
+ receipts cannot independently qualify as irreducible user text.
306
+
307
+ - Extend live context-capacity recovery with retrievable older assistant history,
308
+ cumulative request-only user-text paging (including mixed image messages),
309
+ budgeted runtime provenance, small-window safety accounting, and emergency
310
+ schema discovery through the existing tool bridge. Preserve protected tools,
311
+ canonical user messages, and completed execution receipts; paging requires an
312
+ authorized read capability and readable saved artifacts.
313
+ - Retry rejected generations only after measured request reduction (at most four
314
+ recovery retries). A Host can save the transcript and wait in `recovering`, then
315
+ continue the same execution when model settings change or corrective input arrives.
316
+ Stop cancels the wait; the independent SDK keeps typed failure semantics unless
317
+ its caller supplies the recovery callback. Automatic continuation after Host death
318
+ or expired credential authority is not included.
319
+ - Retry transient context-history and artifact I/O with cancellable backoff. Read
320
+ back a failed save acknowledgement before retrying, preserving newer metadata
321
+ and avoiding duplicate history transactions; permission failures still surface.
322
+
323
+ - Keep the natural-eval fixture's `npm test` working on staged Node installs by
324
+ allowing reads of an npm CLI installed outside the binary directory, and
325
+ canonicalize the native test fixture root so hosted-runner 8.3 temp paths
326
+ (`RUNNER~1`) are not rejected by the native path policy.
327
+ - Keep eval dump directories and unrelated `kodax-eval-*` directories out of orphan
328
+ worktree cleanup. Require a worktree gitfile and successful Git-owned removal;
329
+ isolate the cleanup regression from the shared system temporary directory.
330
+ - AskUser questions wait indefinitely by default (timeout 0) and support explicit skip; skip and Host timeout return an `unanswered` result with its reason instead of cancelling the Run, defaults are never submitted automatically, and only Stop interrupts. Permission prompts keep their five-minute default; both accept 0 to disable their timer. MCP reverse elicitation and the client plane follow the same policy.
331
+ - Close the A2A server task store when agent-card validation fails during
332
+ construction, so a rejected server no longer leaks its data-dir lock handle;
333
+ on Windows the leaked handle kept the data dir undeletable (`ENOTEMPTY`)
334
+ for the life of the process.
335
+ - Deliver observation handoff events to event-stream observers. Daemon
336
+ `session.observe` subscribers never read the snapshot, so events published
337
+ while the snapshot materialized were silently deduplicated away whenever the
338
+ snapshot's seq raced past them — a late `run.failed` could be lost forever.
339
+ Snapshot consumers keep the existing no-duplicates handoff contract.
340
+
341
+ ---
342
+
11
343
  ## [0.7.97-alpha.9] - 2026-10-19
12
344
 
13
345
  Ninth alpha of the v0.7.97 line: shared Host Run inspection checks Session