@kodax-ai/kodax 0.7.97-alpha.9 → 0.7.97-beta.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.
Files changed (234) hide show
  1. package/CHANGELOG.md +393 -0
  2. package/README.md +170 -29
  3. package/README_CN.md +116 -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-DS7M57WD.js +2 -0
  25. package/dist/chunks/agent-adapter-TLWGGK3V.js +2 -0
  26. package/dist/chunks/argument-completer-OGCXKTRQ.js +2 -0
  27. package/dist/chunks/bedrock-native-Z5VNWF5U.js +4 -0
  28. package/dist/chunks/cell-LV7MNPNQ.js +2 -0
  29. package/dist/chunks/chunk-2HH5AS7E.js +1157 -0
  30. package/dist/chunks/chunk-3CP7AUWY.js +2 -0
  31. package/dist/chunks/chunk-45ZP2YHG.js +2 -0
  32. package/dist/chunks/chunk-4Y6U7AH4.js +9 -0
  33. package/dist/chunks/chunk-52EN2777.js +2 -0
  34. package/dist/chunks/{chunk-HXCY52Z2.js → chunk-53CJDQS2.js} +1 -1
  35. package/dist/chunks/{chunk-JNB2FL6P.js → chunk-5MUVRFMU.js} +1 -1
  36. package/dist/chunks/chunk-65652LR4.js +2 -0
  37. package/dist/chunks/chunk-6TITQQAI.js +351 -0
  38. package/dist/chunks/chunk-AGUM5SWX.js +2 -0
  39. package/dist/chunks/chunk-BBZWF2EA.js +2 -0
  40. package/dist/chunks/chunk-C6JGLEYD.js +2 -0
  41. package/dist/chunks/chunk-D36OIMV7.js +142 -0
  42. package/dist/chunks/chunk-D425EZGC.js +2 -0
  43. package/dist/chunks/chunk-D5OW7UD5.js +2 -0
  44. package/dist/chunks/chunk-DCE7XQUG.js +2 -0
  45. package/dist/chunks/chunk-DV5YPYLW.js +10 -0
  46. package/dist/chunks/chunk-EISRVOBJ.js +4 -0
  47. package/dist/chunks/chunk-EPK6EWRI.js +12 -0
  48. package/dist/chunks/chunk-F6GJXQNA.js +29 -0
  49. package/dist/chunks/chunk-GJXOTOZB.js +465 -0
  50. package/dist/chunks/chunk-GZUWQZJD.js +2 -0
  51. package/dist/chunks/chunk-I325ER7D.js +2 -0
  52. package/dist/chunks/chunk-ISLK6R2P.js +2 -0
  53. package/dist/chunks/chunk-J2L2NK6E.js +366 -0
  54. package/dist/chunks/chunk-JAF2YLZO.js +14 -0
  55. package/dist/chunks/chunk-KDLOPBFZ.js +2 -0
  56. package/dist/chunks/chunk-KDSO7V4O.js +5 -0
  57. package/dist/chunks/chunk-KE2NBMAP.js +20 -0
  58. package/dist/chunks/chunk-MCDZNQWD.js +634 -0
  59. package/dist/chunks/chunk-NSR4RW2F.js +3 -0
  60. package/dist/chunks/chunk-OGTRDK4Q.js +359 -0
  61. package/dist/chunks/chunk-P55RJIOG.js +18 -0
  62. package/dist/chunks/chunk-P7OJRV5Z.js +2 -0
  63. package/dist/chunks/chunk-QP47JIWP.js +3 -0
  64. package/dist/chunks/chunk-QSZCR5GC.js +190 -0
  65. package/dist/chunks/chunk-R2HTPDI7.js +2 -0
  66. package/dist/chunks/chunk-R42S4BLA.js +2 -0
  67. package/dist/chunks/chunk-RYBUYHDL.js +5 -0
  68. package/dist/chunks/chunk-SDPZFH6M.js +4 -0
  69. package/dist/chunks/chunk-SK3RRGHJ.js +142 -0
  70. package/dist/chunks/chunk-TQ475LOI.js +2 -0
  71. package/dist/chunks/chunk-UF3GZ5PO.js +2 -0
  72. package/dist/chunks/chunk-UL6YIT4M.js +2 -0
  73. package/dist/chunks/chunk-V2XJSFFE.js +19 -0
  74. package/dist/chunks/chunk-V4WSBIXB.js +2 -0
  75. package/dist/chunks/chunk-V5RCDBKU.js +2 -0
  76. package/dist/chunks/{chunk-FX4R5PB3.js → chunk-W2CWO4PQ.js} +1 -1
  77. package/dist/chunks/chunk-W33QJA3M.js +2 -0
  78. package/dist/chunks/chunk-WMMESRP3.js +9 -0
  79. package/dist/chunks/chunk-WWPVEK6B.js +127 -0
  80. package/dist/chunks/chunk-X5M7TLJV.js +2 -0
  81. package/dist/chunks/chunk-XDMNJW6J.js +42 -0
  82. package/dist/chunks/{chunk-L22BDZGE.js → chunk-XZSFUGPN.js} +1 -1
  83. package/dist/chunks/client-LTIFNED5.js +2 -0
  84. package/dist/chunks/compaction-config-ECMOFP5H.js +2 -0
  85. package/dist/chunks/{construction-bootstrap-XBHM6NON.js → construction-bootstrap-OAZKGI5Y.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-5J53DGAO.js +2 -0
  89. package/dist/chunks/errors-ER7ZRPWC.js +2 -0
  90. package/dist/chunks/google-native-WLL27OV7.js +2 -0
  91. package/dist/chunks/host-65E5NM5P.js +2 -0
  92. package/dist/chunks/mistral-native-JXPIDDYZ.js +5 -0
  93. package/dist/chunks/model-DZF6URW3.js +2 -0
  94. package/dist/chunks/permission-YVVMLQ5I.js +2 -0
  95. package/dist/chunks/pi-messages-5LLOZH57.js +16 -0
  96. package/dist/chunks/readline-helpers-UZXWBRXQ.js +2 -0
  97. package/dist/chunks/responses-websocket-Y4N5GXD3.js +2 -0
  98. package/dist/chunks/run-manager-ZFACIZM2.js +2 -0
  99. package/dist/chunks/running-session-Q5Y6A2QV.js +2 -0
  100. package/dist/chunks/skills-TJP6BLZJ.js +2 -0
  101. package/dist/chunks/tool-dispatch-MLM3QTSU.js +2 -0
  102. package/dist/chunks/utils-2QNMYRGA.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 +1755 -2979
  108. package/dist/kodax_doctor.js +3 -0
  109. package/dist/kodax_resume.js +30 -30
  110. package/dist/manual-topics.json +2211 -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 +2189 -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 +125 -98
  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 +109 -80
  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 +371 -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-CJliu5-D.d.ts} +326 -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-EMwSALqK.d.ts} +5 -5
  156. package/dist/types-chunks/{client-contract-CRm9ZpL2.d.ts → client-contract-B7q69yMA.d.ts} +265 -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-D-hPLKaA.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-YE3-AIeO.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-BhDU643p.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-ChOfJaNI.d.ts} +7 -7
  171. package/dist/types-chunks/{run-manager.d-DmS1edk4.d.ts → run-manager.d-ChzguipG.d.ts} +48 -12
  172. package/dist/types-chunks/{runtime-client-info-BBBxdU8V.d.ts → runtime-client-info-P_mRDG7j.d.ts} +93 -7
  173. package/dist/types-chunks/runtime-event-BW5Pla7a.d.ts +48 -0
  174. package/dist/types-chunks/sdk-runtime-cDe7qmN3.d.ts +2244 -0
  175. package/dist/types-chunks/{sdk-session-DipY_CCd.d.ts → sdk-session-D3pcSbnA.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-gsNNDnnt.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-Bbkd2HlO.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-NyCB6ztO.d.ts → types.d-BlXTogOo.d.ts} +24 -13
  183. package/dist/types-chunks/types.d-BvEGNdN-.d.ts +131 -0
  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-CxHyBvO6.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 +887 -2
  190. package/docs/SPACE_SDK_SEAMS.md +255 -2
  191. package/package.json +33 -6
  192. package/public_docs/README.md +27 -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
@@ -1,2 +1,2 @@
1
1
  // @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
2
- import{b as a,c as b,d as c}from"./chunks/chunk-WONYJBAA.js";import"./chunks/chunk-2TBKGO2Q.js";import"./chunks/chunk-CRQWSDHV.js";import"./chunks/chunk-P42PHZWC.js";import"./chunks/chunk-AWYO4MH3.js";import"./chunks/chunk-HXCY52Z2.js";import"./chunks/chunk-ZQYWDI4O.js";import"./chunks/chunk-CIPS75XZ.js";import"./chunks/chunk-HD5BDOPC.js";import"./chunks/chunk-KJSZTP5N.js";import"./chunks/chunk-XJWNIFC2.js";import"./chunks/chunk-KYHMB6XR.js";import"./chunks/chunk-WOHHMGEF.js";import"./chunks/chunk-JXZMES45.js";import"./chunks/chunk-SHG3EIH5.js";import"./chunks/chunk-V26LAWJY.js";import"./chunks/chunk-YJTIPSNW.js";import"./chunks/chunk-5DQTOU2E.js";import"./chunks/chunk-7NH5BGE4.js";import"./chunks/chunk-JNB2FL6P.js";import"./chunks/chunk-FX4R5PB3.js";import"./chunks/chunk-XMWTEVFZ.js";import"./chunks/chunk-YVBBU6K5.js";import"./chunks/chunk-2AM3FRQ7.js";import"./chunks/chunk-ONUPGMER.js";export{c as connectKodaXClient,b as ensureKodaXClient,a as readKodaXClientExits};
2
+ import{b,c,d}from"./chunks/chunk-R2HTPDI7.js";import{a}from"./chunks/chunk-GJXOTOZB.js";import"./chunks/chunk-W33QJA3M.js";import"./chunks/chunk-WWPVEK6B.js";import"./chunks/chunk-45ZP2YHG.js";import"./chunks/chunk-SDPZFH6M.js";import"./chunks/chunk-6TITQQAI.js";import"./chunks/chunk-53CJDQS2.js";import"./chunks/chunk-MCDZNQWD.js";import"./chunks/chunk-ZQYWDI4O.js";import"./chunks/chunk-EISRVOBJ.js";import"./chunks/chunk-DCE7XQUG.js";import"./chunks/chunk-AGUM5SWX.js";import"./chunks/chunk-3CP7AUWY.js";import"./chunks/chunk-P55RJIOG.js";import"./chunks/chunk-QSZCR5GC.js";import"./chunks/chunk-V2XJSFFE.js";import"./chunks/chunk-JAF2YLZO.js";import"./chunks/chunk-DV5YPYLW.js";import"./chunks/chunk-X5M7TLJV.js";import"./chunks/chunk-C6JGLEYD.js";import"./chunks/chunk-D36OIMV7.js";import"./chunks/chunk-BBZWF2EA.js";import"./chunks/chunk-F6GJXQNA.js";import"./chunks/chunk-XDMNJW6J.js";import"./chunks/chunk-RYBUYHDL.js";import"./chunks/chunk-4Y6U7AH4.js";import"./chunks/chunk-EPK6EWRI.js";import"./chunks/chunk-ISLK6R2P.js";import"./chunks/chunk-OGTRDK4Q.js";import"./chunks/chunk-GZUWQZJD.js";import"./chunks/chunk-W2CWO4PQ.js";import"./chunks/chunk-TQ475LOI.js";import"./chunks/chunk-65652LR4.js";import"./chunks/chunk-5MUVRFMU.js";import"./chunks/chunk-2HH5AS7E.js";import"./chunks/chunk-J2L2NK6E.js";import"./chunks/chunk-KDSO7V4O.js";import"./chunks/chunk-SK3RRGHJ.js";import"./chunks/chunk-WMMESRP3.js";import"./chunks/chunk-QP47JIWP.js";import"./chunks/chunk-52EN2777.js";import"./chunks/chunk-UF3GZ5PO.js";import"./chunks/chunk-KE2NBMAP.js";import"./chunks/chunk-V5RCDBKU.js";import"./chunks/chunk-KDLOPBFZ.js";import"./chunks/chunk-V4WSBIXB.js";export{d as connectKodaXClient,a as createExecutionProfile,c as ensureKodaXClient,b as readKodaXClientExits};
@@ -1,44 +1,53 @@
1
- import { a3 as KodaXToolDefinition, a5 as KodaXToolResultContentItem, a8 as KodaXToolUseBlock, c as KodaXContentBlock, k as KodaXMessage, q as KodaXProviderCapabilityProfile, C as KodaXReasoningCapability, G as KodaXReasoningMode, X as KodaXTaskType, f as KodaXExecutionMode, W as KodaXTaskRoutingDecision, ab as KodaXWireReasoningEffort, a0 as KodaXThinkingDepth, a2 as KodaXTokenUsage } from './types-chunks/types.d-BjOq57-z.js';
2
- export { b as KodaXChildFanoutClass, d as KodaXCustomProviderConfig, i as KodaXImageBlock, l as KodaXModelDescriptor, n as KodaXNormalizedReasoningRequest, p as KodaXProtocolFamily, r as KodaXProviderConfig, t as KodaXProviderConversationSemantics, w as KodaXProviderMcpSupport, z as KodaXProviderStreamOptions, B as KodaXProviderTransport, D as KodaXReasoningEffortPreset, E as KodaXReasoningEffortRequest, F as KodaXReasoningEffortWireStrategy, H as KodaXReasoningProfile, I as KodaXReasoningRequest, L as KodaXRedactedThinkingBlock, M as KodaXReviewScale, N as KodaXRiskLevel, O as KodaXStableEffortIntent, P as KodaXStreamResult, R as KodaXTaskBudgetOverrides, U as KodaXTaskResultMetadata, V as KodaXTaskResultSource, Z as KodaXTextBlock, _ as KodaXThinkingBlock, $ as KodaXThinkingBudgetMap, a1 as KodaXThinkingWireStrategy, a4 as KodaXToolResultBlock } from './types-chunks/types.d-BjOq57-z.js';
3
- import { K as KodaXBaseProvider } from './types-chunks/base.d-ZBOdjDUT.js';
4
- export { c as KodaXError, f as KodaXProviderError, h as KodaXRateLimitError } from './types-chunks/base.d-ZBOdjDUT.js';
5
- export { K as KodaXLlmTimeoutConfig, p as parseTimeoutSecEnvMs, t as timeoutSecToMs } from './types-chunks/cost-tracker.d-BeaenODW.js';
6
- export { K as KODAX_DEFAULT_PROVIDER, b as KODAX_PROVIDERS, c as KODAX_PROVIDER_SNAPSHOTS, d as KODAX_REASONING_MODE_SEQUENCE, f as KODAX_STABLE_EFFORT_INTENTS, g as KodaXAnthropicCompatProvider, h as KodaXModelCapabilities, i as KodaXOpenAICompatProvider, P as ProviderName, R as ResolveWireEffortInput, j as ResolvedWireEffort, l as clearRuntimeModelProviders, m as createCustomProvider, n as effortToLegacyReasoningMode, o as getAvailableProviderNames, p as getCustomModelCapabilities, q as getCustomProvider, s as getCustomProviderList, t as getCustomProviderModelDescriptors, u as getCustomProviderModels, v as getCustomProviderNames, x as getModelCapabilities, y as getProvider, z as getProviderConfiguredCapabilityProfile, A as getProviderConfiguredReasoningCapability, C as getProviderList, D as getProviderModel, E as getProviderModelDescriptors, F as getProviderModels, H as getRuntimeModelProvider, J as getRuntimeModelProviderNames, L as isCustomProviderName, M as isKnownProvider, N as isProviderConfigured, O as isProviderName, S as isRuntimeModelProviderName, T as listAllModelCapabilities, U as listBuiltinModelCapabilities, V as listCustomProviderModelCapabilities, Y as mapLegacyReasoningModeToEffortIntent, Z as normalizeReasoningEffortValue, $ as parseReasoningEffortEnv, a0 as registerCustomProviders, a1 as registerModelProvider, a2 as resolveModelCapabilities, a3 as resolveProvider, a4 as resolveProviderModelDescriptors, a5 as resolveReasoningEffort, a6 as resolveReasoningEffortForModelSwitch, a8 as resolveWireEffort, a9 as validateCustomProviderConfig } from './types-chunks/resolver.d-DLY01RHx.js';
7
- import { b as CapabilityResult, a as CapabilityProvider, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-DOF3r0fJ.js';
8
- export { C as CapabilityKind, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions } from './types-chunks/capability.d-DOF3r0fJ.js';
1
+ import { ab as KodaXOptions, bp as KodaXWorkMode, bf as KodaXTrustedTextFileSnapshot, Y as KodaXGenerationCheckpoint, aC as KodaXShellExecutionContract, E as ExtensionExecutionScope, bz as ManagedProcessInput, o as ExtensionToolResult, b9 as KodaXToolExecutionContext, bN as RunScopedToolDefinition, z as KodaXAgentScope, bU as RuntimeContextPressure, bR as RuntimeContextBudgetSnapshot, n as ExtensionRuntimeContract, au as KodaXResult, ao as KodaXRepoIntelligenceCapability, ar as KodaXRepoIntelligenceTrace, ap as KodaXRepoIntelligenceMode, aq as KodaXRepoIntelligenceResolvedMode, at as KodaXRepoRoutingSignals, T as KodaXContextOptions, an as KodaXProviderPolicyHints, bC as ProviderResilienceConfig, bD as ProviderResiliencePolicy, F as FailureStage, bI as ResilienceClassification, bA as ProviderExecutionState, bF as RecoveryDecision, bH as RecoveryResult, az as KodaXSessionControl, aA as KodaXSessionMutators, bV as RuntimeDefaultsSnapshot, c as BoundExtensionRuntimeController, W as KodaXEvents, t as GoalRuntimeBinding, bK as ResolveKodaXManualInput, bL as ResolveKodaXManualOptions, bM as ResolveKodaXManualResult, a8 as KodaXManualTopicId, a7 as KodaXManualTopic, b7 as KodaXTimeoutConfig } from './types-chunks/bash-prefix-extractor.d-CJliu5-D.js';
2
+ export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, C as CapabilityRuntimeContract, d as CodingActorCredentialAccessFactory, e as CodingActorEnvironmentFactory, f as CodingActorSession, g as CodingActorSessionOptions, h as CompactionAntiThrashConfig, i as CompactionAntiThrashState, j as CompactionSavingsDecision, k as CompactionSavingsSample, l as CompactionSkipReason, m as CreateBashPrefixExtractorOptions, D as DiagnosticsRequest, p as ExtractCommandPrefixOptions, G as GoalBlockedResult, q as GoalCompleteResult, r as GoalCreateInput, s as GoalLifecycleContext, u as GoalRuntimeBindingDeps, v as GoalToolsContext, K as KodaXActivityEventMeta, x as KodaXAgentMode, y as KodaXAgentProfile, H as KodaXBudgetDisclosureZone, I as KodaXBudgetExtensionRequest, J as KodaXCanonicalAgentMode, L as KodaXChildAgentResult, M as KodaXChildContextBundle, O as KodaXCompactionEndResult, P as KodaXCompactionFailureReason, Q as KodaXCompactionOverride, R as KodaXContextCompactionFinishedEvent, S as KodaXContextIdentity, U as KodaXContextTokenSnapshot, V as KodaXEffectiveTaskConfig, X as KodaXExecutionFailure, Z as KodaXInterruptedRunEvidence, _ as KodaXInterruptedRunOperation, $ as KodaXInterruptedRunReply, a0 as KodaXLiveEventMeta, a1 as KodaXManagedBudgetSnapshot, a2 as KodaXManagedTask, a3 as KodaXManagedTaskRuntimeState, a4 as KodaXManagedTaskStatusEvent, a5 as KodaXManualIndexTopic, a6 as KodaXManualSource, a9 as KodaXManualTopicInput, aa as KodaXMemoryStrategy, ac as KodaXOrchestrationVerdict, ad as KodaXOutputSegmentActiveState, ae as KodaXOutputSegmentDelta, af as KodaXOutputSegmentMode, ag as KodaXOutputSegmentProjection, ah as KodaXOutputSegmentProjectionEvent, ai as KodaXOutputSegmentProjectionResult, aj as KodaXOutputSegmentStarted, ak as KodaXParentReductionContract, al as KodaXPreparedShellSandboxInvocation, am as KodaXPromptCacheDiagnosticEvent, as as KodaXRepoIntelligenceTraceEvent, av as KodaXRoleRoundSummary, aw as KodaXRuntimeVerificationContract, ax as KodaXSandboxOptions, ay as KodaXSelfManualConfig, aB as KodaXSessionOptions, aD as KodaXShellHostExecutionAuthorizer, aE as KodaXShellHostExecutionRequest, aF as KodaXShellKind, aG as KodaXShellPermissionMode, aH as KodaXShellProfileMode, aI as KodaXShellSandbox, aJ as KodaXShellSandboxBackend, aK as KodaXShellSandboxCleanupResult, aL as KodaXShellSandboxObservation, aM as KodaXShellSandboxPrepareInput, aN as KodaXShellSandboxProcessControl, aO as KodaXSkillDynamicContextPolicy, aP as KodaXSkillInvocationContext, aQ as KodaXSkillMap, aR as KodaXSkillProjectionConfidence, aS as KodaXSkillScriptInputFile, aT as KodaXSkillScriptOutputFile, aU as KodaXSkillScriptRunInput, aV as KodaXSkillScriptRunner, aW as KodaXTaskCapabilityHint, aX as KodaXTaskContract, aY as KodaXTaskEvidenceArtifact, aZ as KodaXTaskEvidenceBundle, a_ as KodaXTaskEvidenceEntry, a$ as KodaXTaskRole, b0 as KodaXTaskRoleAssignment, b1 as KodaXTaskStatus, b2 as KodaXTaskSurface, b3 as KodaXTaskToolPolicy, b4 as KodaXTaskVerificationContract, b5 as KodaXTaskVerificationCriterion, b6 as KodaXTaskWorkItem, b8 as KodaXToolEventMeta, ba as KodaXToolSandboxObservationUpdate, bb as KodaXToolVisibilityMeta, bc as KodaXToolVisibilityPolicy, bd as KodaXTrustedTextCommitInput, be as KodaXTrustedTextCommitOutcome, bg as KodaXTrustedTextMutationHost, bh as KodaXTrustedTextToolCall, bi as KodaXTurnCompletedEvent, bj as KodaXTurnDeliveryKind, bk as KodaXTurnFailedEvent, bl as KodaXTurnStartedEvent, bm as KodaXUserInputPromptContext, bn as KodaXVerificationScorecard, bo as KodaXVerificationScorecardCriterion, bq as KodaXWorkflowAgentDigestEvent, br as KodaXWorkflowEventMeta, bs as KodaXWorkflowTimeoutConfig, bt as KodaXWorkspaceSandboxRootRegistry, bu as KodaXWrittenFile, bv as LSP_SERVERS, bw as LspServerInfo, bx as LspService, by as LspServiceConfig, bB as ProviderRecoveryEvent, bE as RecoveryAction, bG as RecoveryLadderStep, bJ as ResilienceErrorClass, bO as RuntimeCompactionSkippedEvent, bP as RuntimeContextBudgetBreakdown, bQ as RuntimeContextBudgetRecommendation, bS as RuntimeContextBudgetSnapshotInput, bT as RuntimeContextOptimizationProfile, bW as RuntimeToolExposureDecision, bX as RuntimeToolExposureMode, bY as RuntimeToolExposurePlan, bZ as RuntimeToolExposurePlanInput, b_ as RuntimeToolExposureReason, b$ as TodoItem, c0 as TodoList, c1 as TodoStatus, c2 as ToolSideEffect, c3 as WorkflowHostPolicy, c4 as WorkflowInvocationAction, c5 as WorkflowInvocationPolicyDecision, c6 as WorkflowInvocationPolicyInput, c7 as WorkflowInvocationSource, c8 as WorkflowStartOutcome, c9 as WorkflowToolHost, ca as WorkflowToolHostInlineInput, cb as WorkflowToolHostResult, cc as WorkflowToolHostStartResult, cd as buildGoalRuntimeBinding, ce as consumeCompactionCooldown, cf as createBashPrefixExtractor, cg as createCompactionAntiThrashState, ch as createExternalActorTurnExecutor, ci as createLocalCodingActorControl, cj as createOutputSegmentProjection, ck as createRuntimeContextBudgetSnapshot, cl as decideWorkflowInvocation, cm as drainPendingSwaps, cn as effectiveOutputSegmentText, co as estimateToolSchemaTokens, cp as extractCommandPrefix, cq as getDefaultLspService, cr as hasExplicitNaturalLanguageWorkflowIntent, cs as hasPendingSwap, ct as makeDisabledGoalToolsContext, cu as normalizeKodaXAgentMode, cv as planToolExposure, cw as providerResilienceConfigFromTimeouts, cx as recordCompactionSavings, cy as reduceOutputSegmentProjection, cz as resolveConstructedAgent, cA as shouldSkipLlmCompaction, cB as shutdownDefaultLspService, cC as withGoalBeforeNextTurn, cD as withGoalStopHook, cE as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-CJliu5-D.js';
3
+ import { aj as KodaXToolDefinition, al as KodaXToolResultContentItem, ao as KodaXToolUseBlock, h as KodaXContentBlock, v as KodaXMessage, B as KodaXProviderCapabilityProfile, Q as KodaXReasoningCapability, U as KodaXReasoningMode, aa as KodaXTaskType, k as KodaXExecutionMode, a9 as KodaXTaskRoutingDecision, ar as KodaXWireReasoningEffort, af as KodaXThinkingDepth, ah as KodaXTokenUsage } from './types-chunks/types.d-Bi8iUd6x.js';
4
+ export { f as KodaXChildFanoutClass, i as KodaXCustomProviderConfig, s as KodaXImageBlock, w as KodaXModelDescriptor, y as KodaXNormalizedReasoningRequest, A as KodaXProtocolFamily, C as KodaXProviderConfig, E as KodaXProviderConversationSemantics, H as KodaXProviderMcpSupport, N as KodaXProviderStreamOptions, P as KodaXProviderTransport, R as KodaXReasoningEffortPreset, S as KodaXReasoningEffortRequest, T as KodaXReasoningEffortWireStrategy, V as KodaXReasoningProfile, W as KodaXReasoningRequest, Y as KodaXRedactedThinkingBlock, $ as KodaXReviewScale, a0 as KodaXRiskLevel, a1 as KodaXStableEffortIntent, a2 as KodaXStreamResult, a4 as KodaXTaskBudgetOverrides, a7 as KodaXTaskResultMetadata, a8 as KodaXTaskResultSource, ac as KodaXTextBlock, ad as KodaXThinkingBlock, ae as KodaXThinkingBudgetMap, ag as KodaXThinkingWireStrategy, ak as KodaXToolResultBlock } from './types-chunks/types.d-Bi8iUd6x.js';
5
+ export { K as KODAX_DEFAULT_PROVIDER, b as KODAX_PROVIDERS, c as KODAX_PROVIDER_SNAPSHOTS, d as KODAX_REASONING_MODE_SEQUENCE, f as KODAX_STABLE_EFFORT_INTENTS, g as KodaXAnthropicCompatProvider, h as KodaXModelCapabilities, i as KodaXOpenAICompatProvider, P as ProviderName, R as ResolveWireEffortInput, j as ResolvedWireEffort, l as clearRuntimeModelProviders, m as createCustomProvider, n as effortToLegacyReasoningMode, o as getAvailableProviderNames, p as getCustomModelCapabilities, q as getCustomProvider, s as getCustomProviderList, t as getCustomProviderModelDescriptors, u as getCustomProviderModels, v as getCustomProviderNames, x as getModelCapabilities, y as getProvider, z as getProviderConfiguredCapabilityProfile, A as getProviderConfiguredReasoningCapability, C as getProviderList, D as getProviderModel, E as getProviderModelDescriptors, F as getProviderModels, H as getRuntimeModelProvider, J as getRuntimeModelProviderNames, L as isCustomProviderName, M as isKnownProvider, N as isProviderConfigured, O as isProviderName, S as isRuntimeModelProviderName, T as listAllModelCapabilities, U as listBuiltinModelCapabilities, V as listCustomProviderModelCapabilities, Y as mapLegacyReasoningModeToEffortIntent, Z as normalizeReasoningEffortValue, $ as parseReasoningEffortEnv, a0 as registerCustomProviders, a1 as registerModelProvider, a2 as resolveModelCapabilities, a3 as resolveProvider, a4 as resolveProviderModelDescriptors, a5 as resolveReasoningEffort, a6 as resolveReasoningEffortForModelSwitch, a8 as resolveWireEffort, a9 as validateCustomProviderConfig } from './types-chunks/resolver.d-DrkpD8wY.js';
6
+ import { K as KodaXBaseProvider } from './types-chunks/errors.d-D73qdYbS.js';
7
+ export { c as KodaXError, f as KodaXProviderError, h as KodaXRateLimitError } from './types-chunks/errors.d-D73qdYbS.js';
8
+ export { K as KodaXLlmTimeoutConfig, p as parseTimeoutSecEnvMs, t as timeoutSecToMs } from './types-chunks/cost-tracker.d-D1CTx-IO.js';
9
+ import { b as CapabilityResult, a as CapabilityProvider, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-DapzKxy3.js';
10
+ export { C as CapabilityKind, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions } from './types-chunks/capability.d-DapzKxy3.js';
9
11
  export { I as ImageValidation, v as validateImageBytes } from './types-chunks/image-validation.d-ACJcj02o.js';
10
- import { aa as KodaXOptions, be as KodaXTrustedTextFileSnapshot, aB as KodaXShellExecutionContract, E as ExtensionExecutionScope, bx as ManagedProcessInput, o as ExtensionToolResult, b8 as KodaXToolExecutionContext, bL as RunScopedToolDefinition, z as KodaXAgentScope, bS as RuntimeContextPressure, bP as RuntimeContextBudgetSnapshot, n as ExtensionRuntimeContract, at as KodaXResult, an as KodaXRepoIntelligenceCapability, aq as KodaXRepoIntelligenceTrace, ao as KodaXRepoIntelligenceMode, ap as KodaXRepoIntelligenceResolvedMode, as as KodaXRepoRoutingSignals, T as KodaXContextOptions, am as KodaXProviderPolicyHints, bA as ProviderResilienceConfig, bB as ProviderResiliencePolicy, F as FailureStage, bG as ResilienceClassification, by as ProviderExecutionState, bD as RecoveryDecision, bF as RecoveryResult, ay as KodaXSessionControl, az as KodaXSessionMutators, bT as RuntimeDefaultsSnapshot, c as BoundExtensionRuntimeController, W as KodaXEvents, t as GoalRuntimeBinding, bI as ResolveKodaXManualInput, bJ as ResolveKodaXManualOptions, bK as ResolveKodaXManualResult, a7 as KodaXManualTopicId, a6 as KodaXManualTopic, b6 as KodaXTimeoutConfig } from './types-chunks/bash-prefix-extractor.d-DFH463j2.js';
11
- export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, C as CapabilityRuntimeContract, d as CodingActorCredentialAccessFactory, e as CodingActorEnvironmentFactory, f as CodingActorSession, g as CodingActorSessionOptions, h as CompactionAntiThrashConfig, i as CompactionAntiThrashState, j as CompactionSavingsDecision, k as CompactionSavingsSample, l as CompactionSkipReason, m as CreateBashPrefixExtractorOptions, D as DiagnosticsRequest, p as ExtractCommandPrefixOptions, G as GoalBlockedResult, q as GoalCompleteResult, r as GoalCreateInput, s as GoalLifecycleContext, u as GoalRuntimeBindingDeps, v as GoalToolsContext, K as KodaXActivityEventMeta, x as KodaXAgentMode, y as KodaXAgentProfile, H as KodaXBudgetDisclosureZone, I as KodaXBudgetExtensionRequest, J as KodaXCanonicalAgentMode, L as KodaXChildAgentResult, M as KodaXChildContextBundle, O as KodaXCompactionEndResult, P as KodaXCompactionFailureReason, Q as KodaXCompactionOverride, R as KodaXContextCompactionFinishedEvent, S as KodaXContextIdentity, U as KodaXContextTokenSnapshot, V as KodaXEffectiveTaskConfig, X as KodaXExecutionFailure, Y as KodaXInterruptedRunEvidence, Z as KodaXInterruptedRunOperation, _ as KodaXInterruptedRunReply, $ as KodaXLiveEventMeta, a0 as KodaXManagedBudgetSnapshot, a1 as KodaXManagedTask, a2 as KodaXManagedTaskRuntimeState, a3 as KodaXManagedTaskStatusEvent, a4 as KodaXManualIndexTopic, a5 as KodaXManualSource, a8 as KodaXManualTopicInput, a9 as KodaXMemoryStrategy, ab as KodaXOrchestrationVerdict, ac as KodaXOutputSegmentActiveState, ad as KodaXOutputSegmentDelta, ae as KodaXOutputSegmentMode, af as KodaXOutputSegmentProjection, ag as KodaXOutputSegmentProjectionEvent, ah as KodaXOutputSegmentProjectionResult, ai as KodaXOutputSegmentStarted, aj as KodaXParentReductionContract, ak as KodaXPreparedShellSandboxInvocation, al as KodaXPromptCacheDiagnosticEvent, ar as KodaXRepoIntelligenceTraceEvent, au as KodaXRoleRoundSummary, av as KodaXRuntimeVerificationContract, aw as KodaXSandboxOptions, ax as KodaXSelfManualConfig, aA as KodaXSessionOptions, aC as KodaXShellHostExecutionAuthorizer, aD as KodaXShellHostExecutionRequest, aE as KodaXShellKind, aF as KodaXShellPermissionMode, aG as KodaXShellProfileMode, aH as KodaXShellSandbox, aI as KodaXShellSandboxBackend, aJ as KodaXShellSandboxCleanupResult, aK as KodaXShellSandboxObservation, aL as KodaXShellSandboxPrepareInput, aM as KodaXShellSandboxProcessControl, aN as KodaXSkillDynamicContextPolicy, aO as KodaXSkillInvocationContext, aP as KodaXSkillMap, aQ as KodaXSkillProjectionConfidence, aR as KodaXSkillScriptInputFile, aS as KodaXSkillScriptOutputFile, aT as KodaXSkillScriptRunInput, aU as KodaXSkillScriptRunner, aV as KodaXTaskCapabilityHint, aW as KodaXTaskContract, aX as KodaXTaskEvidenceArtifact, aY as KodaXTaskEvidenceBundle, aZ as KodaXTaskEvidenceEntry, a_ as KodaXTaskRole, a$ as KodaXTaskRoleAssignment, b0 as KodaXTaskStatus, b1 as KodaXTaskSurface, b2 as KodaXTaskToolPolicy, b3 as KodaXTaskVerificationContract, b4 as KodaXTaskVerificationCriterion, b5 as KodaXTaskWorkItem, b7 as KodaXToolEventMeta, b9 as KodaXToolSandboxObservationUpdate, ba as KodaXToolVisibilityMeta, bb as KodaXToolVisibilityPolicy, bc as KodaXTrustedTextCommitInput, bd as KodaXTrustedTextCommitOutcome, bf as KodaXTrustedTextMutationHost, bg as KodaXTrustedTextToolCall, bh as KodaXTurnCompletedEvent, bi as KodaXTurnDeliveryKind, bj as KodaXTurnFailedEvent, bk as KodaXTurnStartedEvent, bl as KodaXUserInputPromptContext, bm as KodaXVerificationScorecard, bn as KodaXVerificationScorecardCriterion, bo as KodaXWorkflowAgentDigestEvent, bp as KodaXWorkflowEventMeta, bq as KodaXWorkflowTimeoutConfig, br as KodaXWorkspaceSandboxRootRegistry, bs as KodaXWrittenFile, bt as LSP_SERVERS, bu as LspServerInfo, bv as LspService, bw as LspServiceConfig, bz as ProviderRecoveryEvent, bC as RecoveryAction, bE as RecoveryLadderStep, bH as ResilienceErrorClass, bM as RuntimeCompactionSkippedEvent, bN as RuntimeContextBudgetBreakdown, bO as RuntimeContextBudgetRecommendation, bQ as RuntimeContextBudgetSnapshotInput, bR as RuntimeContextOptimizationProfile, bU as RuntimeToolExposureDecision, bV as RuntimeToolExposureMode, bW as RuntimeToolExposurePlan, bX as RuntimeToolExposurePlanInput, bY as RuntimeToolExposureReason, bZ as TodoItem, b_ as TodoList, b$ as TodoStatus, c0 as ToolSideEffect, c1 as WorkflowHostPolicy, c2 as WorkflowInvocationAction, c3 as WorkflowInvocationPolicyDecision, c4 as WorkflowInvocationPolicyInput, c5 as WorkflowInvocationSource, c6 as WorkflowStartOutcome, c7 as WorkflowToolHost, c8 as WorkflowToolHostInlineInput, c9 as WorkflowToolHostResult, ca as WorkflowToolHostStartResult, cb as buildGoalRuntimeBinding, cc as consumeCompactionCooldown, cd as createBashPrefixExtractor, ce as createCompactionAntiThrashState, cf as createExternalActorTurnExecutor, cg as createLocalCodingActorControl, ch as createOutputSegmentProjection, ci as createRuntimeContextBudgetSnapshot, cj as decideWorkflowInvocation, ck as drainPendingSwaps, cl as effectiveOutputSegmentText, cm as estimateToolSchemaTokens, cn as extractCommandPrefix, co as getDefaultLspService, cp as hasExplicitNaturalLanguageWorkflowIntent, cq as hasPendingSwap, cr as makeDisabledGoalToolsContext, cs as normalizeKodaXAgentMode, ct as planToolExposure, cu as providerResilienceConfigFromTimeouts, cv as recordCompactionSavings, cw as reduceOutputSegmentProjection, cx as resolveConstructedAgent, cy as shouldSkipLlmCompaction, cz as shutdownDefaultLspService, cA as withGoalBeforeNextTurn, cB as withGoalStopHook, cC as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-DFH463j2.js';
12
- import { a_ as MemoryContextIdentity, a$ as MemoryController, $ as EpisodeReviewDrainResult, bB as SessionErrorMetadata, af as KodaXGoalState, aG as KodaXSessionStorage, ax as KodaXSessionLineage, ae as KodaXGoalEventType } from './types-chunks/review-inbox.d-BTLDdpG2.js';
13
- export { a8 as KodaXCompactMemoryProgress, a9 as KodaXCompactMemorySeed, aa as KodaXExtensionSessionRecord, ab as KodaXExtensionSessionState, ai as KodaXJsonValue, ao as KodaXSessionArtifactLedgerEntry, ap as KodaXSessionBranchSummaryEntry, ar as KodaXSessionCompactionEntry, as as KodaXSessionData, at as KodaXSessionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions, aE as KodaXSessionRuntimeInfo, aF as KodaXSessionScope, aH as KodaXSessionTreeNode, aI as KodaXSessionUiHistoryItem, aJ as KodaXSessionUiHistoryItemType, aK as KodaXSessionUiTextHistoryItem, aL as KodaXSessionUiTextHistoryItemType, aM as KodaXSessionUiToolCall, aN as KodaXSessionUiToolCallStatus, aO as KodaXSessionUiToolGroupHistoryItem, aP as KodaXSessionWorkspaceKind } from './types-chunks/review-inbox.d-BTLDdpG2.js';
14
- import { bf as UnifiedLearningReviewRunner, i as AgentMessage, d as Agent, aB as RunnerLlmReturn, aD as RunnerToolCall, al as QualityInvariant, b6 as ToolCapability, b7 as ToolGuardrail } from './types-chunks/controller.d-P3H97ddz.js';
15
- export { k as AgentReasoningProfile, m as AgentTool, x as Guardrail, K as Handoff, M as InMemorySessionOptions, ac as MessageEntry, aj as PresetDispatcher, ar as ReasoningDepth, at as RunEvent, au as RunOptions, av as RunResult, ax as Runner, aJ as Session, aL as SessionEntry, aM as SessionExtension, aN as SessionForkOptions, bu as createAgent, bw as createHandoff, bx as createInMemorySession, bY as registerPresetDispatcher } from './types-chunks/controller.d-P3H97ddz.js';
16
- export { CreateFileArtifactFromPathOptions, CreateImageArtifactFromPathOptions, CreateVideoArtifactFromPathOptions, EnqueueWithArtifactsInput, GetModelInputCapabilitiesInput, ImageResizeError, KODAX_FILE_MEDIA_TYPES, KODAX_IMAGE_MEDIA_TYPES, KODAX_VIDEO_MEDIA_TYPES, KodaXInputCapabilityStatus, KodaXMediaError, KodaXMediaErrorCode, KodaXMediaErrorOptions, KodaXModalityInputCapability, MAX_DIMENSION, ModelInputCapabilities, NormalizeImageOptions, NormalizedImage, PASTE_TMP_DIR_ENV, PASTE_TMP_TTL_MS, PersistImageAsBlockOptions, TARGET_RAW_SIZE_BYTES, ValidateInputArtifactsOptions, createFileArtifactFromPath, createImageArtifactFromPath, createVideoArtifactFromPath, enqueueWithArtifacts, getModelInputCapabilities, inferImageMediaType, inferVideoMediaType, normalizePastedImage, persistImageAsBlock, prunePasteTmpDir, readAndNormalizeClipboardImage, readClipboardImage, validateInputArtifactsForModel } from './sdk-media.js';
17
- import { M as LocalToolDefinition, a4 as ToolResult, Q as RegisteredToolDefinition, a0 as ToolHandler, a2 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, Y as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, Z as TestResult, X as ScriptSource, a1 as ToolHandlerSync, I as KodaXRetrievalToolName, G as KodaXRetrievalResult, F as KodaXRetrievalItem, s as ExtensionLoadSource, q as ExtensionFailureStage, n as ExtensionContributionSource, r as ExtensionHookMap, o as ExtensionEventMap, k as ExtensionCommandDefinition, v as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-Jxj49rqO.js';
18
- export { A as AgentArtifact, b as ArtifactStatus, c as CapabilityDeniedError, e as ConstructionManifestError, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCapabilityProvider, j as ExtensionCommandContext, l as ExtensionCommandInvocation, m as ExtensionCommandResult, p as ExtensionFailureDiagnostic, t as ExtensionLogger, u as ExtensionRuntimeController, w as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, x as KodaXExtensionActivationResult, y as KodaXExtensionModule, z as KodaXRetrievalArtifact, B as KodaXRetrievalFreshness, H as KodaXRetrievalScope, J as KodaXRetrievalTrust, L as LoadedExtensionDiagnostic, N as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, O as RegisteredCommandDiagnostic, P as RegisteredHookDiagnostic, S as RegisteredToolDiagnostic, T as RuntimeRemoteToolContext, U as RuntimeRemoteToolContract, V as RuntimeRemoteToolDecision, W as RuntimeRemoteWorkspaceBroker, _ as ToolContent, $ as ToolDefinitionSource, a3 as ToolRegistry, a5 as WebhookOptions, a6 as WebhookResult, a7 as defaultPolicy, a8 as exec, a9 as webhook } from './types-chunks/types.d-Jxj49rqO.js';
19
- import { x as WorkflowCapsule, A as WorkflowCapsuleIntent, z as WorkflowCapsuleInputs, E as WorkflowCapsuleRequirements, B as WorkflowCapsuleProvenance, F as WorkflowQualityLintFinding } from './types-chunks/capsule.d-CwpmHGFB.js';
20
- export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, D as DefaultSummaryCompaction, e as DefaultSummaryCompactionOptions, K as KODAX_API_MIN_INTERVAL, f as KODAX_DEFAULT_TIMEOUT, g as KODAX_HARD_TIMEOUT, h as KODAX_MAX_INCOMPLETE_RETRIES, j as KODAX_MAX_RETRIES, k as KODAX_MAX_TOKENS, l as KODAX_RETRY_BASE_DELAY, m as KODAX_STAGGER_DELAY, L as LINEAGE_ENTRY_TYPES, n as LineageArtifactLedgerPayload, o as LineageCompaction, p as LineageCompactionDelegates, q as LineageEntryType, r as LineageExtension, s as LineageLabelPayload, t as LineageTreeNode, P as PROMISE_PATTERN, I as actorQueueId, J as appendSessionLineageLabel, N as applySessionCompaction, O as archiveOldIslands, R as buildSessionTree, T as cleanupIncompleteToolCalls, U as countActiveLineageMessages, V as countTokens, X as createSessionLineage, $ as estimateTokens, a1 as extractArtifactLedger, a3 as extractTitleFromMessages, a4 as findPreviousUserEntryId, a5 as forkSessionLineage, a6 as generateSessionId, a8 as getAgentConfigHome, a9 as getAgentConfigPath, aa as getAppDataDir, ab as getSessionLineagePath, ad as getSessionMessagesFromLineage, ag as mergeArtifactLedger, al as resolveSessionLineageTarget, am as rewindSessionLineage, an as setAgentConfigHome, ao as setSessionLineageActiveEntry, ap as validateAndFixToolHistory } from './types-chunks/capsule.d-CwpmHGFB.js';
21
- import { am as KodaXInputArtifact, a6 as CompactionResult, a9 as DispatchableAgentDescriptor, j as AgentDispatchContext, bd as WorkflowModule, bm as WorkflowProcessEvent, bt as WorkflowProcessSnapshot, b0 as WorkflowApproval, b4 as WorkflowEvent, b1 as WorkflowApprovalSummary } from './types-chunks/types.d-NyCB6ztO.js';
22
- export { W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a1 as CompactionAnchor, a7 as CompactionUpdate, aj as KodaXFileInputArtifact, ak as KodaXImageInputArtifact, al as KodaXImageMediaType, an as KodaXInputArtifactSource, ao as KodaXVideoInputArtifact, ap as KodaXVideoMediaType, aW as ManagedWorkflowStatus, b5 as WorkflowEventCorrelation } from './types-chunks/types.d-NyCB6ztO.js';
12
+ import { a$ as MemoryContextIdentity, b0 as MemoryController, $ as EpisodeReviewDrainResult, aH as KodaXSessionStorage, as as KodaXSessionData, bC as SessionErrorMetadata, af as KodaXGoalState, ax as KodaXSessionLineage, ae as KodaXGoalEventType } from './types-chunks/review-inbox.d-Bgt46S7L.js';
13
+ export { a8 as KodaXCompactMemoryProgress, a9 as KodaXCompactMemorySeed, aa as KodaXExtensionSessionRecord, ab as KodaXExtensionSessionState, ai as KodaXJsonValue, ao as KodaXSessionArtifactLedgerEntry, ap as KodaXSessionBranchSummaryEntry, ar as KodaXSessionCompactionEntry, at as KodaXSessionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions, aF as KodaXSessionRuntimeInfo, aG as KodaXSessionScope, aI as KodaXSessionTreeNode, aJ as KodaXSessionUiHistoryItem, aK as KodaXSessionUiHistoryItemType, aL as KodaXSessionUiTextHistoryItem, aM as KodaXSessionUiTextHistoryItemType, aN as KodaXSessionUiToolCall, aO as KodaXSessionUiToolCallStatus, aP as KodaXSessionUiToolGroupHistoryItem, aQ as KodaXSessionWorkspaceKind } from './types-chunks/review-inbox.d-Bgt46S7L.js';
14
+ import { bl as UnifiedLearningReviewRunner, i as AgentMessage, d as Agent, aH as RunnerLlmReturn, aJ as RunnerToolCall, aq as QualityInvariant, bc as ToolCapability, bd as ToolGuardrail } from './types-chunks/controller.d-D-hPLKaA.js';
15
+ export { k as AgentReasoningProfile, m as AgentTool, I as Guardrail, P as Handoff, R as InMemorySessionOptions, ah as MessageEntry, ao as PresetDispatcher, ax as ReasoningDepth, az as RunEvent, aA as RunOptions, aB as RunResult, aD as Runner, aP as Session, aR as SessionEntry, aS as SessionExtension, aT as SessionForkOptions, bC as createAgent, bE as createHandoff, bF as createInMemorySession, c7 as registerPresetDispatcher } from './types-chunks/controller.d-D-hPLKaA.js';
16
+ export { C as CreateFileArtifactFromPathOptions, a as CreateImageArtifactFromPathOptions, b as CreateVideoArtifactFromPathOptions, E as EnqueueWithArtifactsInput, G as GetModelInputCapabilitiesInput, I as ImageResizeError, K as KODAX_FILE_MEDIA_TYPES, c as KODAX_IMAGE_MEDIA_TYPES, d as KODAX_VIDEO_MEDIA_TYPES, j as KodaXInputCapabilityStatus, k as KodaXMediaError, l as KodaXMediaErrorCode, m as KodaXMediaErrorOptions, n as KodaXModalityInputCapability, M as MAX_DIMENSION, q as ModelInputCapabilities, N as NormalizeImageOptions, r as NormalizedImage, P as PASTE_TMP_DIR_ENV, s as PASTE_TMP_TTL_MS, t as PersistImageAsBlockOptions, T as TARGET_RAW_SIZE_BYTES, V as ValidateInputArtifactsOptions, u as createFileArtifactFromPath, v as createImageArtifactFromPath, w as createVideoArtifactFromPath, x as enqueueWithArtifacts, y as getModelInputCapabilities, z as inferImageMediaType, A as inferVideoMediaType, B as normalizePastedImage, D as persistImageAsBlock, F as prunePasteTmpDir, H as readAndNormalizeClipboardImage, J as readClipboardImage, L as validateInputArtifactsForModel } from './types-chunks/queue-BxQhqhFM.js';
17
+ import { O as LocalToolDefinition, a6 as ToolResult, T as RegisteredToolDefinition, a2 as ToolHandler, a4 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, _ as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, $ as TestResult, Z as ScriptSource, a3 as ToolHandlerSync, I as KodaXRetrievalToolName, G as KodaXRetrievalResult, F as KodaXRetrievalItem, s as ExtensionLoadSource, q as ExtensionFailureStage, n as ExtensionContributionSource, r as ExtensionHookMap, o as ExtensionEventMap, k as ExtensionCommandDefinition, v as ExtensionRuntimeDiagnostics } from './types-chunks/skill-invocation-error.d-gsNNDnnt.js';
18
+ export { A as AgentArtifact, b as ArtifactStatus, c as CapabilityDeniedError, e as ConstructionManifestError, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCapabilityProvider, j as ExtensionCommandContext, l as ExtensionCommandInvocation, m as ExtensionCommandResult, p as ExtensionFailureDiagnostic, t as ExtensionLogger, u as ExtensionRuntimeController, w as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, x as KodaXExtensionActivationResult, y as KodaXExtensionModule, z as KodaXRetrievalArtifact, B as KodaXRetrievalFreshness, H as KodaXRetrievalScope, J as KodaXRetrievalTrust, L as KodaXSkillInvocationError, M as KodaXSkillInvocationErrorCode, N as LoadedExtensionDiagnostic, P as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, Q as RegisteredCommandDiagnostic, S as RegisteredHookDiagnostic, U as RegisteredToolDiagnostic, V as RuntimeRemoteToolContext, W as RuntimeRemoteToolContract, X as RuntimeRemoteToolDecision, Y as RuntimeRemoteWorkspaceBroker, a0 as ToolContent, a1 as ToolDefinitionSource, a5 as ToolRegistry, a7 as WebhookOptions, a8 as WebhookResult, a9 as defaultPolicy, aa as exec, ab as webhook } from './types-chunks/skill-invocation-error.d-gsNNDnnt.js';
19
+ import { x as WorkflowCapsule, A as WorkflowCapsuleIntent, z as WorkflowCapsuleInputs, E as WorkflowCapsuleRequirements, B as WorkflowCapsuleProvenance, F as WorkflowQualityLintFinding } from './types-chunks/capsule.d-EMwSALqK.js';
20
+ export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, D as DefaultSummaryCompaction, e as DefaultSummaryCompactionOptions, K as KODAX_API_MIN_INTERVAL, f as KODAX_DEFAULT_TIMEOUT, g as KODAX_HARD_TIMEOUT, h as KODAX_MAX_INCOMPLETE_RETRIES, j as KODAX_MAX_RETRIES, k as KODAX_MAX_TOKENS, l as KODAX_RETRY_BASE_DELAY, m as KODAX_STAGGER_DELAY, L as LINEAGE_ENTRY_TYPES, n as LineageArtifactLedgerPayload, o as LineageCompaction, p as LineageCompactionDelegates, q as LineageEntryType, r as LineageExtension, s as LineageLabelPayload, t as LineageTreeNode, P as PROMISE_PATTERN, I as actorQueueId, J as appendSessionLineageLabel, N as applySessionCompaction, O as archiveOldIslands, R as buildSessionTree, T as cleanupIncompleteToolCalls, U as countActiveLineageMessages, V as countTokens, X as createSessionLineage, $ as estimateTokens, a1 as extractArtifactLedger, a3 as extractTitleFromMessages, a4 as findPreviousUserEntryId, a5 as forkSessionLineage, a6 as generateSessionId, a8 as getAgentConfigHome, a9 as getAgentConfigPath, aa as getAppDataDir, ab as getSessionLineagePath, ad as getSessionMessagesFromLineage, ag as mergeArtifactLedger, al as resolveSessionLineageTarget, am as rewindSessionLineage, an as setAgentConfigHome, ao as setSessionLineageActiveEntry, ap as validateAndFixToolHistory } from './types-chunks/capsule.d-EMwSALqK.js';
21
+ import { an as KodaXInputArtifact, a7 as CompactionResult, aa as DispatchableAgentDescriptor, j as AgentDispatchContext, be as WorkflowModule, bn as WorkflowProcessEvent, bu as WorkflowProcessSnapshot, b1 as WorkflowApproval, b5 as WorkflowEvent, b2 as WorkflowApprovalSummary } from './types-chunks/types.d-BlXTogOo.js';
22
+ export { W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a0 as AskUserUnanswered, a2 as CompactionAnchor, a8 as CompactionUpdate, ak as KodaXFileInputArtifact, al as KodaXImageInputArtifact, am as KodaXImageMediaType, ao as KodaXInputArtifactSource, ap as KodaXVideoInputArtifact, aq as KodaXVideoMediaType, aX as ManagedWorkflowStatus, b6 as WorkflowEventCorrelation } from './types-chunks/types.d-BlXTogOo.js';
23
23
  import { b as McpServersConfig } from './types-chunks/config.d-CJy1WENT.js';
24
24
  export { M as McpConnectMode, a as McpServerConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
25
- import { j as McpProviderOptions, b as McpCapabilityProvider, k as McpReverseCapabilities, l as McpRoot } from './types-chunks/manager.d-C8OlTe2J.js';
26
- export { M as McpCapabilityDescriptor, a as McpCapabilityKind, c as McpCapabilityRisk, d as McpCatalogItem, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-C8OlTe2J.js';
25
+ import { j as McpProviderOptions, b as McpCapabilityProvider, k as McpReverseCapabilities, l as McpRoot } from './types-chunks/manager.d-BMH8Q6TV.js';
26
+ export { M as McpCapabilityDescriptor, a as McpCapabilityKind, c as McpCapabilityRisk, d as McpCatalogItem, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-BMH8Q6TV.js';
27
27
  export { A as AuthorizationServerMetadata, D as DiscoveredOAuthEndpoints, M as McpAuthRequiredError, a as McpExpiredSessionError, b as McpTransport, d as McpTransportEvents, O as OAuthClientInfo, e as OAuthLoginConsent, P as PerformOAuthLoginOptions, f as ProtectedResourceMetadata, W as WwwAuthenticateChallenge, g as createMcpTransport, h as discoverAuthorizationServerMetadata, i as discoverOAuthEndpoints, j as discoverProtectedResourceMetadata, k as extractInsufficientScope, l as extractResourceMetadataUrl, m as loadValidToken, p as performOAuthLogin, r as registerOAuthClient } from './types-chunks/oauth-login.d-DsvsksTD.js';
28
28
  import { p as MemoryRecallRunner } from './types-chunks/types-DDJu9iWX.js';
29
- import { n as AutoModeRulesContext, l as AutoModePermissionReview, I as ClassifierToolProjectionResolver, af as SignalCollector, ak as WorkflowRunManager, am as WorkflowScriptSnapshotInput, al as WorkflowRunProcessMetadata, a3 as ManagedWorkflowRun } from './types-chunks/run-manager.d-DmS1edk4.js';
30
- export { t as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, a7 as AUTO_MODE_DENIAL_WINDOW_SIZE, a6 as AUTO_MODE_RECENT_DENIAL_THRESHOLD, A as AbsoluteDenyCheck, a as AbsoluteDenyMatch, b as AbsoluteDenyMiss, c as AbsoluteDenyResult, d as AgentsFile, e as AutoModeAskUser, f as AutoModeAskUserVerdict, g as AutoModeCallAnalyzer, h as AutoModeDecisionDiagnostics, O as AutoModeDenialTracker, i as AutoModeGuardrailConfig, j as AutoModePermissionBoundary, k as AutoModePermissionOperation, m as AutoModePermissionTarget, o as AutoModeRulesDecision, p as AutoModeRulesEvaluator, q as AutoModeSharedState, r as AutoModeStats, s as AutoModeToolGuardrail, P as BREAKER_ERROR_THRESHOLD, ai as BREAKER_WINDOW_MS, B as BuildClassifierPromptInput, C as CLASSIFIER_MAX_OUTPUT_TOKENS, u as CircuitBreaker, v as ClassifierAttemptDiagnostics, w as ClassifierAttemptOutcome, x as ClassifierDecision, y as ClassifierFailureKind, z as ClassifierHazard, D as ClassifierObservedProtocol, E as ClassifierOutputWarningCode, F as ClassifierParseFailureCode, G as ClassifierPrompt, H as ClassifierProtocol, J as ClassifyDecision, K as ClassifyOptions, L as CodingWorkflowBackendDeps, M as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS, N as DEFAULT_CLASSIFIER_TIMEOUT_MS, Q as ExecPolicyCriticalEffect, R as ExecPolicyDecision, S as ExecPolicyEvaluation, T as ExecPolicyOperation, U as ExecPolicyRejection, V as ExecPolicyRule, W as ExecPolicyRuleInput, X as ExecPolicySource, Y as KodaXMcpConnectMode, Z as KodaXMcpServerConfig, _ as KodaXMcpServersConfig, $ as KodaXMcpTransport, a0 as LoadAgentsOptions, a1 as LoadExecPolicyOptions, a2 as LoadExecPolicyResult, a4 as ManagedWorkflowSnapshot, a5 as ParseExecPolicyResult, a8 as RunGraphWriter, a9 as RunGraphWriterDeps, aa as RunJsonInput, ab as RunWorkflowFromOptionsInput, ac as RunWorkflowModuleOptions, ad as RunWorkflowModuleOutcome, ae as SYSTEM_WORKFLOW_LIMITS, ag as TierZeroPatternId, ah as ToolCallSignal, aj as WorkflowChildOptions, an as WorkflowScriptSnapshotRef, aT as autoModeDenialShouldFallback, aU as breakerShouldFallback, ao as buildApprovalSummary, ap as buildClassifierPrompt, aq as checkAbsoluteDeny, ar as clampWorkflowLimits, as as classify, at as collectAllSignals, ax as createAutoModeDenialTracker, au as createAutoModeToolGuardrail, av as createCircuitBreaker, aw as createCodingWorkflowBackend, ay as createExecPolicyOperation, az as createRunGraphWriter, aA as createWorkflowRunManager, aB as emitWorkflowAgentDigest, aC as evaluateExecPolicy, aD as evaluateShellExecPolicy, aE as formatAgentsForPrompt, aF as formatExecPolicyConfigurationError, aG as formatExecPolicyRejection, aH as getDefaultWorkflowRunManager, aI as getKodaxGlobalDir, aJ as loadAgentsFiles, aK as loadExecPolicy, aL as parseClassifierOutput, aM as parseExecPolicy, aN as recordAutoModeAllow, aO as recordAutoModeBlock, aP as recordBreakerError, aQ as runWorkflowFromOptions, aR as runWorkflowModule, aS as safeWorkflowArtifactName, aV as tokenizeShellCommand } from './types-chunks/run-manager.d-DmS1edk4.js';
31
- import { e as ReviewPacketMetadata } from './types-chunks/review-packet.d-Crra1Q7t.js';
32
- export { B as BASH_SAFE_READ_COMMANDS, a as BASH_WRITE_COMMANDS, F as FILE_MODIFICATION_TOOLS, G as GitGrepShortOption, M as MODIFICATION_TOOLS, P as PermissionMode, R as RawCommandWord, b as ReviewPacketBudget, c as ReviewPacketChunk, d as ReviewPacketInput, f as collectBashWriteTargets, g as collectDeterministicBashWriteTargets, h as extractPathsFromCommand, i as findGitSubcommandIndex, j as generateSavePattern, k as getBashOutsideProjectWriteRisk, l as getDirectShellBypassBlockReason, m as getPlanModeAllowedWritablePaths, n as getPlanModeBlockReason, o as gitSignatureInspectionMayExecute, p as inferPermissionMode, q as isAlwaysConfirmPath, r as isBashReadCommand, s as isBashReadCommandAutoAllowed, t as isBashWriteCommand, u as isCommandOnProtectedPath, v as isHelpCommand, w as isPathInsideProject, x as isPlanModeAllowedPath, y as isShellReadOnlyArgv, z as isToolCallAllowed, A as parseAllowedToolPattern, C as parseGitGrepShortOption, D as tokenizeRawCommandStages, E as writeReviewPackets } from './types-chunks/review-packet.d-Crra1Q7t.js';
29
+ import { n as AutoModeRulesContext, l as AutoModePermissionReview, I as ClassifierToolProjectionResolver, af as SignalCollector, ak as WorkflowRunManager, am as WorkflowScriptSnapshotInput, al as WorkflowRunProcessMetadata, a3 as ManagedWorkflowRun, ao as WorktreeSweepDeps, ap as WorktreeSweepResult } from './types-chunks/run-manager.d-ChzguipG.js';
30
+ export { t as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, a7 as AUTO_MODE_DENIAL_WINDOW_SIZE, a6 as AUTO_MODE_RECENT_DENIAL_THRESHOLD, A as AbsoluteDenyCheck, a as AbsoluteDenyMatch, b as AbsoluteDenyMiss, c as AbsoluteDenyResult, d as AgentsFile, e as AutoModeAskUser, f as AutoModeAskUserVerdict, g as AutoModeCallAnalyzer, h as AutoModeDecisionDiagnostics, O as AutoModeDenialTracker, i as AutoModeGuardrailConfig, j as AutoModePermissionBoundary, k as AutoModePermissionOperation, m as AutoModePermissionTarget, o as AutoModeRulesDecision, p as AutoModeRulesEvaluator, q as AutoModeSharedState, r as AutoModeStats, s as AutoModeToolGuardrail, P as BREAKER_ERROR_THRESHOLD, ai as BREAKER_WINDOW_MS, B as BuildClassifierPromptInput, C as CLASSIFIER_MAX_OUTPUT_TOKENS, u as CircuitBreaker, v as ClassifierAttemptDiagnostics, w as ClassifierAttemptOutcome, x as ClassifierDecision, y as ClassifierFailureKind, z as ClassifierHazard, D as ClassifierObservedProtocol, E as ClassifierOutputWarningCode, F as ClassifierParseFailureCode, G as ClassifierPrompt, H as ClassifierProtocol, J as ClassifyDecision, K as ClassifyOptions, L as CodingWorkflowBackendDeps, M as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS, N as DEFAULT_CLASSIFIER_TIMEOUT_MS, Q as ExecPolicyCriticalEffect, R as ExecPolicyDecision, S as ExecPolicyEvaluation, T as ExecPolicyOperation, U as ExecPolicyRejection, V as ExecPolicyRule, W as ExecPolicyRuleInput, X as ExecPolicySource, Y as KodaXMcpConnectMode, Z as KodaXMcpServerConfig, _ as KodaXMcpServersConfig, $ as KodaXMcpTransport, a0 as LoadAgentsOptions, a1 as LoadExecPolicyOptions, a2 as LoadExecPolicyResult, a4 as ManagedWorkflowSnapshot, a5 as ParseExecPolicyResult, a8 as RunGraphWriter, a9 as RunGraphWriterDeps, aa as RunJsonInput, ab as RunWorkflowFromOptionsInput, ac as RunWorkflowModuleOptions, ad as RunWorkflowModuleOutcome, ae as SYSTEM_WORKFLOW_LIMITS, ag as TierZeroPatternId, ah as ToolCallSignal, aj as WorkflowChildOptions, an as WorkflowScriptSnapshotRef, aW as autoModeDenialShouldFallback, aX as breakerShouldFallback, aq as buildApprovalSummary, ar as buildClassifierPrompt, as as checkAbsoluteDeny, at as clampWorkflowLimits, au as classify, av as collectAllSignals, az as createAutoModeDenialTracker, aw as createAutoModeToolGuardrail, ax as createCircuitBreaker, ay as createCodingWorkflowBackend, aA as createExecPolicyOperation, aB as createRunGraphWriter, aC as createWorkflowRunManager, aD as emitWorkflowAgentDigest, aE as evaluateExecPolicy, aF as evaluateShellExecPolicy, aG as formatAgentsForPrompt, aH as formatExecPolicyConfigurationError, aI as formatExecPolicyRejection, aJ as getDefaultWorkflowRunManager, aK as getKodaxGlobalDir, aL as loadAgentsFiles, aM as loadExecPolicy, aN as parseClassifierOutput, aO as parseExecPolicy, aP as recordAutoModeAllow, aQ as recordAutoModeBlock, aR as recordBreakerError, aS as resumeWorkflowGenerationTurn, aT as runWorkflowFromOptions, aU as runWorkflowModule, aV as safeWorkflowArtifactName, aY as tokenizeShellCommand } from './types-chunks/run-manager.d-ChzguipG.js';
31
+ import { e as ReviewPacketMetadata } from './types-chunks/review-packet.d-ChOfJaNI.js';
32
+ export { B as BASH_SAFE_READ_COMMANDS, a as BASH_WRITE_COMMANDS, F as FILE_MODIFICATION_TOOLS, G as GitGrepShortOption, M as MODIFICATION_TOOLS, P as PermissionMode, R as RawCommandWord, b as ReviewPacketBudget, c as ReviewPacketChunk, d as ReviewPacketInput, f as collectBashWriteTargets, g as collectDeterministicBashWriteTargets, h as extractPathsFromCommand, i as findGitSubcommandIndex, j as generateSavePattern, k as getBashOutsideProjectWriteRisk, l as getDirectShellBypassBlockReason, m as getGovernedMemoryShellWriteDenial, n as getPlanModeAllowedWritablePaths, o as getPlanModeBlockReason, p as gitSignatureInspectionMayExecute, q as inferPermissionMode, r as isAlwaysConfirmPath, s as isBashReadCommand, t as isBashReadCommandAutoAllowed, u as isBashWriteCommand, v as isCommandOnProtectedPath, w as isHelpCommand, x as isPathInsideProject, y as isPlanModeAllowedPath, z as isShellReadOnlyArgv, A as isToolCallAllowed, C as parseAllowedToolPattern, D as parseGitGrepShortOption, E as tokenizeRawCommandStages, H as writeReviewPackets } from './types-chunks/review-packet.d-ChOfJaNI.js';
33
33
  import { Diagnostic } from 'vscode-languageserver-protocol';
34
- import { b as WorkflowScriptManifest, a as WorkflowPatternId } from './types-chunks/manifest.d-COreAnXG.js';
35
- import '@anthropic-ai/sdk';
36
- import 'openai';
37
- import './types-chunks/provider-credential-context.d-BH2OaB1b.js';
34
+ import { b as WorkflowScriptManifest, a as WorkflowPatternId } from './types-chunks/manifest.d-YE3-AIeO.js';
35
+ import './types-chunks/provider-credential-context.d-Dw-sWcnu.js';
38
36
  import 'node:child_process';
39
- import './types-chunks/types.d-Cb8RdrjU.js';
40
- import './types-chunks/side-query.d-DTrhVd_r.js';
41
-
37
+ import './types-chunks/types.d-D8qQjMeo.js';
38
+ import 'openai';
39
+ import '@anthropic-ai/sdk';
40
+ import './types-chunks/side-query.d-UFKdWSw7.js';
41
+
42
+ /** Actual execution Host cache facts; inspection never initializes a project. */
43
+ interface ClientRepoIntelligenceStatus {
44
+ readonly configuredMode: 'auto' | 'off' | 'light' | 'full';
45
+ readonly requestedMode: 'off' | 'light' | 'full';
46
+ readonly effectiveEngine: 'off' | 'light' | 'full';
47
+ readonly status: 'disabled' | 'ok' | 'limited' | 'unavailable' | 'warming';
48
+ readonly initialized: boolean;
49
+ readonly warnings: readonly string[];
50
+ }
42
51
  interface ClientItemContent {
43
52
  readonly image?: ClientImageAttachmentContent;
44
53
  readonly outputState?: 'draft' | 'committed';
@@ -70,6 +79,11 @@ declare function readClientItemRange(read: (offset: number) => Promise<ClientIte
70
79
  readonly version?: Pick<ClientItemContent, 'textRevision' | 'outputState'>;
71
80
  }): Promise<string>;
72
81
 
82
+ /** Resolve the effective mode from the final run options, without replacing host authority. */
83
+ declare function resolveWorkMode(options: Pick<KodaXOptions, 'workMode' | 'context'>): KodaXWorkMode;
84
+ /** Local admission check, with no tools, effects or model requests. Never changes the selected mode. */
85
+ declare function assertWorkModeAvailable(options: Pick<KodaXOptions, 'workMode' | 'context'>): Promise<void>;
86
+
73
87
  /**
74
88
  * FEATURE_298 T36 — the pure root of {@link deriveCodingMemoryIdentity}:
75
89
  * derives the Host-owned Memory identity from (configHome, projectRoot)
@@ -131,6 +145,9 @@ declare class KodaXTrustedTextMutationError extends Error {
131
145
  /** Shared lexical/canonical policy for trusted main-process text mutations. */
132
146
  declare function assertTrustedTextMutationPolicy(filePath: string, _executionCwd?: string, protectedPaths?: readonly string[], allowGitMetadata?: boolean): void;
133
147
 
148
+ declare function parseGenerationCheckpoint(value: unknown): KodaXGenerationCheckpoint | undefined;
149
+ declare function loadGenerationCheckpoint(storage: KodaXSessionStorage, checkpoint: KodaXGenerationCheckpoint): Promise<KodaXSessionData>;
150
+
134
151
  /**
135
152
  * @deprecated Environment pass lists are inert since 0.7.96. Retained so
136
153
  * 0.7.x SDK imports keep compiling during migration.
@@ -287,7 +304,7 @@ declare function isToolNetworkRead(name: string, runScopedTools?: ReadonlyMap<st
287
304
  * names return `true` — assumed mutating until proven otherwise).
288
305
  */
289
306
  declare function isToolMutation(name: string, runScopedTools?: ReadonlyMap<string, RunScopedToolDefinition>): boolean;
290
- declare function getRequiredToolParams(name: string): string[];
307
+ declare function getRequiredToolParams(name: string, input?: Record<string, unknown>): string[];
291
308
  declare function listTools(): string[];
292
309
  declare function listToolDefinitions(): KodaXToolDefinition[];
293
310
  declare function executeTool(name: string, input: Record<string, unknown>, ctx: KodaXToolExecutionContext): Promise<ToolResult>;
@@ -986,13 +1003,6 @@ declare function loadMarkdownAgentScope(opts?: LoadMarkdownAgentScopeOptions): P
986
1003
  */
987
1004
  declare function discoverMarkdownAgents(opts?: LoadAgentsFromMarkdownOptions): Promise<DiscoverMarkdownAgentsResult>;
988
1005
 
989
- /**
990
- * Built-in specialist agents registered into the same resolver as
991
- * user/project markdown agents. They are intentionally tiny manifests:
992
- * KodaX already has the specialist routing runtime, so built-ins should
993
- * reuse that path instead of adding another agent system.
994
- */
995
-
996
1006
  declare const REPO_EXPLORER_AGENT_NAME = "repo-explorer";
997
1007
  declare const REPO_EXPLORER_TOOL_NAMES: readonly string[];
998
1008
  declare function ensureBuiltinRepoExplorerAgent(): Promise<boolean>;
@@ -1502,6 +1512,16 @@ interface ToolOutputGcResult {
1502
1512
  /** Total bytes reclaimed. */
1503
1513
  readonly bytesRemoved: number;
1504
1514
  }
1515
+ interface ToolOutputStorageUsage {
1516
+ readonly status: 'complete' | 'partial' | 'missing';
1517
+ readonly files: number;
1518
+ readonly bytes: number;
1519
+ /** Flat namespace only; child namespaces require their own inspection. */
1520
+ readonly directories: number;
1521
+ readonly failed: number;
1522
+ }
1523
+ /** Explicit read-only capacity inspection, never a liveness proof or an automatic sweep. */
1524
+ declare function inspectToolOutputStorage(dir: string): Promise<ToolOutputStorageUsage>;
1505
1525
  /**
1506
1526
  * Walk `dir` once and unlink any regular file whose mtime is older than
1507
1527
  * `now - ttlMs`. Subdirectories are ignored (defensive: a future feature
@@ -1514,8 +1534,9 @@ interface ToolOutputGcResult {
1514
1534
  declare function cleanupExpiredToolOutputs(dir: string, ttlMs?: number, now?: number): Promise<ToolOutputGcResult>;
1515
1535
  /**
1516
1536
  * Production-safe sweep: age is only a grace gate; a referenced artifact is
1517
- * retained regardless of age. Callers must supply references from every live
1518
- * and resumable session in their storage scope.
1537
+ * retained regardless of age. The operator must stop writers and supply the
1538
+ * complete reference closure from every SDK/Host storage root sharing this
1539
+ * namespace, including manifest/stream dependencies. Unknown scope means retain.
1519
1540
  */
1520
1541
  declare function cleanupUnreferencedToolOutputs(dir: string, referencedPaths: ReadonlySet<string>, graceMs?: number, now?: number): Promise<ToolOutputGcResult>;
1521
1542
  /**
@@ -1567,7 +1588,7 @@ declare function clampToolResultPolicyToBudget(policy: ToolResultPolicy, budget:
1567
1588
  interface ToolResultPolicy {
1568
1589
  maxLines: number;
1569
1590
  maxBytes: number;
1570
- direction: 'head' | 'tail';
1591
+ direction: 'head' | 'tail' | 'middle';
1571
1592
  spillToFile: boolean;
1572
1593
  }
1573
1594
  interface GuardedToolResult<T extends ToolResult = string> {
@@ -1576,7 +1597,7 @@ interface GuardedToolResult<T extends ToolResult = string> {
1576
1597
  outputPath?: string;
1577
1598
  policy: ToolResultPolicy;
1578
1599
  /**
1579
- * FEATURE_121 v0.7.40 — set when `persistToolOutput` threw and
1600
+ * FEATURE_121 v0.7.40 — set when saving or authorizing recovery failed and
1580
1601
  * `content` was returned inline as the data-loss-guard fallback.
1581
1602
  * Callers that need an LLM-summary follow-up (`dispatch-child-tasks`
1582
1603
  * for `child_task_summary`) branch on this flag. Undefined/false
@@ -1681,7 +1702,7 @@ declare function toModelToolDefinition(definition: RunScopedToolDefinition): Kod
1681
1702
  declare function executeRunScopedTool(ctx: KodaXToolExecutionContext, definition: RunScopedToolDefinition, input: Record<string, unknown>): Promise<ToolResult>;
1682
1703
 
1683
1704
  /** Explicit host invocation: the normal tool gates and Run lifetime, without a model turn. */
1684
- declare function runToolInvocation(options: KodaXOptions, invocation: {
1705
+ declare function runToolInvocation(original: KodaXOptions, invocation: {
1685
1706
  readonly name: string;
1686
1707
  readonly input: Record<string, unknown>;
1687
1708
  }, prompt?: string): Promise<KodaXResult>;
@@ -1977,6 +1998,13 @@ declare function getRepoRoutingSignals(context: RepoContext, options?: {
1977
1998
  refresh?: boolean;
1978
1999
  mode?: KodaXRepoIntelligenceMode;
1979
2000
  }): Promise<KodaXRepoRoutingSignals>;
2001
+ declare function inspectRepoIntelligenceProject(context: RepoContext, options?: {
2002
+ mode?: KodaXRepoIntelligenceMode;
2003
+ }): ClientRepoIntelligenceStatus;
2004
+ /** Explicit Host prewarm, sharing both execution caches rather than building a second index. */
2005
+ declare function prepareRepoIntelligenceProject(context: RepoContext, options?: {
2006
+ mode?: KodaXRepoIntelligenceMode;
2007
+ }): Promise<ClientRepoIntelligenceStatus>;
1980
2008
  /**
1981
2009
  * v0.7.41 L2 - best-effort warm both session-level caches (routing signals +
1982
2010
  * preturn bundle) for a given workspace. Designed to be called fire-and-forget
@@ -2006,7 +2034,7 @@ declare function prewarmRepoIntelligenceCaches(context: RepoContext, options?: {
2006
2034
  mode?: KodaXRepoIntelligenceMode;
2007
2035
  }): void;
2008
2036
 
2009
- declare const SYSTEM_PROMPT = "You are KodaX, a helpful multi-provider coding agent. You can read, write, and edit files, and execute shell commands.\n\n## Error Handling\n\nWhen a tool call returns an error:\n1. STOP and READ the error message carefully\n2. DO NOT repeat the same tool call with the same parameters \u2014 a re-issue with identical params almost always lands in a retry loop that wastes tokens without producing new information. Vary the params or switch to a different tool\n3. Identify what's wrong (missing parameter? wrong type? wrong path?)\n4. Fix the issue BEFORE making another tool call\n5. Common errors:\n - \"Missing required parameter 'X'\" -> Add the missing parameter to your JSON\n - \"File not found\" -> Check the path with read or glob first\n - \"String not found\" -> Read the file again to see exact content\n\nWhen a shell command fails, prefer this recovery order:\n1. Check whether a specialized tool can solve the task directly\n2. Fix the command itself (quoting, workdir, platform-specific command, smaller scope)\n3. Split the task into smaller read/edit/write steps\n4. Only create a helper script when repeated inline commands are clearly less safe or less maintainable\n\n## Editing Files\n\n- Always read the file first to understand its current content\n- Make precise, targeted edits rather than rewriting entire files\n- Preserve the existing code style and formatting\n- Do not create new files unless the user asks for one or the task genuinely needs one. Prefer editing an existing file to creating a new one, as this prevents file bloat and keeps each tool call small\n- When a modification is scoped to an existing file, ALWAYS prefer `edit` over `write`. Only fall back to `write` when no file exists yet or the user explicitly requested a complete rewrite\n\n## Tool Usage\n\nPrefer specialized tools over shell for file operations:\n- Use read to view files instead of cat, head, or tail\n- Use edit to modify existing files instead of sed or awk when possible\n- Use write to create new files instead of echo redirection or heredocs\n- Use glob or grep for file discovery and content search before falling back to shell\n- When multiple read-only tool calls are independent, emit them in the same response so parallel mode can run them together\n- Only serialize tool calls when a later call depends on an earlier result\n- Keep parallel batches focused: prefer a few narrow grep/read/diff calls over many tiny sequential probes\n\nRead is intentionally bounded:\n- A single read call only returns a limited slice of a file\n- For large files, continue with offset/limit instead of retrying a whole-file read\n- Prefer grep first, then read the specific section you need\n\nTool outputs are also bounded:\n- Large bash output may be truncated to the tail\n- Large grep results and diffs may be summarized\n- When you see a truncation hint, narrow the next tool call instead of repeating the same broad request\n- If edit fails to find a stable anchor, do not rewrite the entire existing file with write; retry with a smaller unique edit anchor or use insert_after_anchor for section appends\n\nIf you truly need a script:\n- Do NOT create temporary scripts or scratch files in the project root \u2014 they leak into `git status` and file listings, confusing the user about what was actually changed\n- Do NOT place them at `.agent/` top level \u2014 that directory is reserved for system-managed artifacts (managed-tasks/, project/, repo-intelligence/, etc.)\n- Write them to the Session Scratch Directory when one is shown in the environment\n- If no Session Scratch Directory is shown, write them under a unique session-scoped subdirectory of `.agent/tmp/sessions/` (relative to the git root), not directly in the shared `.agent/tmp/` root\n- Alternatively, use the system temp directory if the script does not need to be inspectable from the project\n- Treat helper scripts as a last resort, not the default recovery path\n\n## Shell Commands\n\n- Be careful with destructive operations\n- Reserve shell commands for terminal operations such as git, package managers, builds, tests, and system commands\n- Prefer read-only operations when possible\n- For file edits, prefer read/edit/write over shell transforms unless shell scripting is genuinely more efficient\n\n### Cross-Platform Notes\n\nDifferent platforms have different commands:\n- Move: `move` (Windows) vs `mv` (Unix/Mac)\n- List: `dir` (Windows) vs `ls` (Unix/Mac)\n- Delete: `del` (Windows) vs `rm` (Unix/Mac)\n\n**IMPORTANT: Directories are created automatically by the `write` tool.**\n- NEVER use `mkdir` before writing files - the write tool handles directory creation\n- If you truly need an empty directory: `mkdir dir` (Windows) or `mkdir -p dir` (Unix)\n\nIf you see \"not recognized\", \"\u4E0D\u662F\u5185\u90E8\u6216\u5916\u90E8\u547D\u4EE4\", or a similar shell lookup error, the command does not exist on this platform. Try the platform equivalent.\n\n## Multi-step Tasks\n\n- Track your progress by listing what you've done and what's next\n- Break complex tasks into smaller steps\n- Summarize progress periodically\n\n## Plan Before Action\n\nFor any non-trivial task (creating files, editing code, running complex commands):\n1. First explain your understanding of the task\n2. Outline your approach (what files, what changes, what order)\n3. Consider potential issues (edge cases, dependencies, conflicts)\n4. Then execute step by step\n\nFor simple read-only tasks (reading a file, listing directory), just do it directly.\n\nIf the environment is currently in a read-only planning mode:\n- Do not try to write files or run mutating shell commands during planning\n- Finish the plan first\n- After the plan is complete, use `ask_user_question` to ask whether the user wants to proceed with implementation\n- If the user confirms, call `set_permission_mode` with `mode: \"accept-edits\"` to switch to implementation mode\n- If the user declines, stay in plan mode \u2014 do NOT call `set_permission_mode`\n\n## Asking User Questions\n\nWhen you need the user to make decisions, use `ask_user_question`.\n- For **multiple independent questions**, use the `questions` array (the schema accepts up to 4 items per call \u2014 if you need more, ask the additional ones in a follow-up turn). Each question has its own `question`, `header`, `options`, and optional `multi_select`. The user answers each question separately. Do NOT combine multiple questions into a single question string with pre-combined option combinations, because that forces the user to mentally disambiguate combinations and breaks the option-button UI.\n- For a **single question**, use the `question` + `options` fields as before.\n- For **free-text input**, use `kind: \"input\"`.\n\nAlways explain what you're doing before taking action.\n\n{context}";
2037
+ declare const SYSTEM_PROMPT: string;
2010
2038
 
2011
2039
  type KodaXPromptSectionSlot = 'base' | 'runtime-context' | 'session-context' | 'capability-truth' | 'base-suffix' | 'mode-overlay' | 'project-rules' | 'skill-addendum' | 'specialist';
2012
2040
  type KodaXPromptSectionStability = 'stable' | 'dynamic' | 'project' | 'specialist';
@@ -2308,20 +2336,8 @@ interface RoutingEvidenceInput {
2308
2336
  repoSignals?: KodaXRepoRoutingSignals;
2309
2337
  }
2310
2338
  /**
2311
- * Resolve the **L1 user ceiling** for reasoning depth.
2312
- *
2313
- * In FEATURE_078 (v0.7.29) the semantics of `--reasoning <mode>` /
2314
- * `options.reasoningMode` shifted from "all roles use this mode" to
2315
- * "ceiling + bias for default": a hard upper bound on per-role depth
2316
- * with the same value also serving as the suggested default when an
2317
- * Agent declaration has no profile of its own.
2318
- *
2319
- * This function continues to return the user-supplied mode unchanged —
2320
- * what changed is how downstream code consumes it. Direct callers that
2321
- * still treat the return value as the final per-role depth will get
2322
- * pre-FEATURE_078 behaviour (everything pinned to `userCeiling`); they
2323
- * are migrated in this same patch to call `resolveRoleReasoning(...)`
2324
- * instead, which honours the L1-L4 chain.
2339
+ * Compatibility intake for old reasoningMode/thinking SDK options.
2340
+ * Callers prefer explicit effort and convert this fallback to effort once.
2325
2341
  */
2326
2342
  declare function resolveReasoningMode(options: KodaXOptions): KodaXReasoningMode;
2327
2343
  declare function reasoningModeToDepth(mode: KodaXReasoningMode): KodaXThinkingDepth;
@@ -2676,8 +2692,8 @@ declare function createSessionControl(): KodaXSessionControl & KodaXSessionMutat
2676
2692
  * 2-3pt non-coding recall cost for not knowing they should pass these
2677
2693
  * coding-flavored prompts, but their architectural surface stays clean.
2678
2694
  */
2679
- declare const CODING_SUMMARY_PROMPT = "Create a structured summary for the conversation below.\n\nThis summary will be handed to another coding agent so it can continue the same task with minimal context.\nKeep only information that is still useful for continuing the work.\n\nYou may drop:\n- completed low-value micro-steps\n- repetitive thinking\n- stale intermediate plans\n- verbose tool output details\n\nYou must keep:\n- the current goal\n- user constraints and preferences\n- current progress and unfinished work\n- blockers or unresolved questions\n- the most important next steps\n- EXACT file paths, function names, and line numbers referenced\n- EXACT error messages, HTTP status codes, and exception types\n- API endpoints, database tables, env vars, and config values mentioned\n- key decisions WITH reasoning (not just the choice)\n\nCRITICAL: Every user REQUEST and DECISION must be preserved verbatim or near-verbatim.\nNever reduce \"user asked to fix the 401 error on /api/auth/login by switching to JWT\"\nto \"user asked to fix an error\".\n\nKeep the summary concise and high-signal. Do not mechanically preserve every historical detail.\n\nFirst, wrap your analysis in <analysis> tags:\n- Walk through messages chronologically\n- Note exact file paths, function names, error codes, config values\n- Identify user's explicit requests vs inferred intent\n- Flag technical details that MUST survive compression\n\nThen output the structured summary in <summary> tags.\n\nOutput format (strict markdown, inside <summary> tags):\n\n## Goal\n[1-2 sentences describing the active goal]\n\n## Constraints & Preferences\n- [One item per line]\n- [Write \"None\" if there are no explicit constraints]\n\n## Progress\n### Completed\n- [x] [Completed work that still matters for context]\n\n### In Progress\n- [ ] [Current work that is actively underway]\n\n### Blockers\n- [Current blockers, or \"None\"]\n\n## Key Decisions\n- **[Decision]**: [Short reason]\n\n## Next Steps\n1. [Highest-priority next action]\n\n## Key Context\n- [Critical context needed to continue]\n\n## Files & Changes\n- **[exact path]**: [what was done and why]\n\n---\n\n<read-files>\n[One path per line, leave empty if none]\n</read-files>\n\n<modified-files>\n[One path per line, leave empty if none]\n</modified-files>\n\nConversation:\n";
2680
- declare const CODING_UPDATE_SUMMARY_PROMPT = "Merge the new conversation content above into <previous-summary>.\n\nUpdate the structured summary so another coding agent can continue the task immediately.\nKeep only the information needed to continue the work.\n\nYou may remove:\n- repetitive or superseded plans\n- completed low-value steps\n- outdated blockers\n- noisy tool output details\n\nYou must preserve or update:\n- the current goal\n- user constraints and preferences\n- current progress and unfinished work\n- blockers that still matter\n- next steps based on the latest state\n- EXACT file paths, function names, and line numbers\n- EXACT error messages, HTTP status codes, and exception types\n- API endpoints, database tables, env vars, and config values\n- key decisions WITH reasoning\n\nCRITICAL: Every user REQUEST and DECISION must be preserved verbatim or near-verbatim.\n\nDo not accumulate every past detail. Compress aggressively while keeping continuation-critical context.\n\nFirst, wrap your analysis in <analysis> tags, then output the summary in <summary> tags.\n\nOutput format (strict markdown, inside <summary> tags):\n\n## Goal\n[Updated goal]\n\n## Constraints & Preferences\n- [Relevant constraints only]\n\n## Progress\n### Completed\n- [x] [Completed work that still matters]\n\n### In Progress\n- [ ] [Active work in the latest state]\n\n### Blockers\n- [Current blockers, or \"None\"]\n\n## Key Decisions\n- **[Decision]**: [Short reason]\n\n## Next Steps\n1. [Most relevant next action]\n\n## Key Context\n- [Critical context needed to continue]\n\n## Files & Changes\n- **[exact path]**: [what was done and why]\n\n---\n\n<read-files>\n[One path per line, leave empty if none]\n</read-files>\n\n<modified-files>\n[One path per line, leave empty if none]\n</modified-files>\n\nKeep every section concise.";
2695
+ declare const CODING_SUMMARY_PROMPT: string;
2696
+ declare const CODING_UPDATE_SUMMARY_PROMPT: string;
2681
2697
 
2682
2698
  /**
2683
2699
  * Post-compact attachment construction + injection — CAP-061
@@ -3421,6 +3437,8 @@ declare function analyzeAutoModeCall(call: RunnerToolCall, context: AutoModeRule
3421
3437
  /** Resolve symlinks through the deepest existing prefix without trusting a broken link. */
3422
3438
  declare function canonicalizeAgentHomePolicyPath(targetPath: string, baseDir?: string): string | undefined;
3423
3439
  declare function isAutoWritableAgentHomePath(target: string, agentHome: string): boolean;
3440
+ /** Write-only policy: Memory inspection is readable; Control Plane owns mutation. */
3441
+ declare function isGovernedMemoryMutationTarget(targetPath: string, cwd?: string, agentHome?: string, destructiveAncestors?: boolean): boolean;
3424
3442
  /** Agent Home reads stay open except for credentials and control-plane data. */
3425
3443
  declare function isAutoReadableAgentHomePath(target: string, agentHome: string): boolean;
3426
3444
  declare function isProtectedAgentHomeReadTarget(targetPath: string, executionCwd?: string): boolean;
@@ -3988,20 +4006,6 @@ declare function buildSelfKnowledgeRoutingRule(productName?: string): string;
3988
4006
  /** Default KodaX routing rule (backward-compatible const). */
3989
4007
  declare const SELF_KNOWLEDGE_ROUTING_RULE: string;
3990
4008
 
3991
- /**
3992
- * FEATURE_218 / FEATURE_221 — the `kodax_manual` tool DESCRIPTION the model
3993
- * reads (deciding when to call the tool), built from a product name so an SDK
3994
- * consumer can white-label it. Sibling to `buildSelfKnowledgeRoutingRule` in
3995
- * routing-rule.ts.
3996
- *
3997
- * `buildManualToolDescription()` (default 'KodaX') is the single source of truth
3998
- * for the built-in tool description — `BUILTIN_TOOL_DEFINITIONS` uses it, so the
3999
- * default output is byte-identical to the prior literal (pinned by a test). The
4000
- * KodaX-specific config-path clause (`~/.kodax/config.json` + `KODAX_*`) is
4001
- * gated on `productName === 'KodaX'`, matching `scopeAnchor`'s existing rule, so
4002
- * a re-branded product does not leak KodaX config paths into the model's tool
4003
- * surface.
4004
- */
4005
4009
  declare function buildManualToolDescription(productName?: string): string;
4006
4010
  /**
4007
4011
  * Re-brand the `kodax_manual` tool description with the consumer's product name
@@ -4691,6 +4695,31 @@ interface WorkflowCostReport {
4691
4695
  }
4692
4696
  declare function buildWorkflowCostReport(events: readonly WorkflowEvent[]): WorkflowCostReport;
4693
4697
 
4698
+ /** Trusted Host seam, after its Actor/executor/shell fences and Session final
4699
+ * references have committed. A terminal Workflow snapshot alone is not proof.
4700
+ * Unknown ownership/evidence is retained; this never replays execution. */
4701
+ interface WorkflowCleanupInput {
4702
+ readonly runId: string;
4703
+ readonly runDir: string;
4704
+ readonly ownerSessionId: string;
4705
+ readonly ownerRunId: string;
4706
+ readonly gitRoot: string;
4707
+ readonly resourcesStopped: true;
4708
+ readonly configHome?: string;
4709
+ }
4710
+ declare function completeWorkflowRunCleanup(input: WorkflowCleanupInput, deps?: WorktreeSweepDeps): Promise<WorktreeSweepResult>;
4711
+ /** Reconcile only previously proven cleanup eligibility, never historical runs
4712
+ * or unknown effects. The normally empty queue keeps Host startup bounded. */
4713
+ declare function recoverWorkflowRunCleanups(configHome: string, deps?: WorktreeSweepDeps): Promise<WorktreeSweepResult>;
4714
+
4715
+ /** Existence is conservative: old or unreadable pins never become GC permission. */
4716
+ declare function isWorkflowProjectProtected(worktreePath: string): boolean;
4717
+ /** Shared with cleanup. The lock is beside the tree so deletion cannot remove it. */
4718
+ declare function withWorkflowWorktreeProtection<T>(worktreePath: string, operation: () => Promise<T>): Promise<T>;
4719
+ /** Adoption makes the whole temporary tree a durable project reference, even
4720
+ * after the adopting Session is idle or the Host restarts. No automatic unpin. */
4721
+ declare function protectWorkflowProject(projectRoot: string): Promise<void>;
4722
+
4694
4723
  declare function resolveSkillModelOverride(provider: string, model: string | undefined): string | undefined;
4695
4724
 
4696
4725
  /** KodaX-owned direct SDK entry with the native trusted-text authority bound. */
@@ -4708,5 +4737,5 @@ declare class KodaXClient extends KodaXClient$1 {
4708
4737
  constructor(options: KodaXOptions);
4709
4738
  }
4710
4739
 
4711
- export { Agent, AgentMessage, AutoModePermissionReview, AutoModeRulesContext, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, Capabilities, CapabilityProvider, CapabilityResult, CapabilitySearchSnapshot, KodaXClient as Client, CombinedExtensionRuntime, CompactionResult, ConstructionArtifact, ConstructionPolicy, DEFAULT_CODING_AGENT_NAME, DEFAULT_DANGEROUS_PATTERNS, DEFAULT_RESILIENCE_CONFIG, DEFAULT_SAFE_PATTERNS, DEFAULT_SELF_MODIFY_BUDGET, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, ErrorCategory, ExtensionCommandDefinition, ExtensionContributionSource, ExtensionEventMap, ExtensionExecutionScope, ExtensionFailureStage, ExtensionHookMap, ExtensionLoadSource, ExtensionRuntimeContract, ExtensionRuntimeDiagnostics, FINDING_VERIFICATION_OUTPUT_SCHEMA, FailureStage, GENERATOR_AGENT_NAME, GoalRuntimeBinding, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentScope, KodaXBaseProvider, KodaXClient, KodaXContentBlock, KodaXContextOptions, KodaXEvents, KodaXExecutionMode, KodaXExtensionRuntime, KodaXInputArtifact, KodaXManualTopic, KodaXManualTopicId, KodaXMessage, KodaXOptions, KodaXProviderCapabilityProfile, KodaXProviderPolicyHints, KodaXReasoningCapability, KodaXReasoningMode, KodaXRepoIntelligenceCapability, KodaXRepoIntelligenceMode, KodaXRepoIntelligenceResolvedMode, KodaXRepoIntelligenceTrace, KodaXRepoRoutingSignals, KodaXResult, KodaXRetrievalItem, KodaXRetrievalResult, KodaXRetrievalToolName, KodaXSessionControl, KodaXSessionError, KodaXSessionLineage, KodaXSessionMutators, KodaXSessionStorage, KodaXShellExecutionContract, KodaXTaskRoutingDecision, KodaXTaskType, KodaXTerminalError, KodaXThinkingDepth, KodaXTimeoutConfig, KodaXTokenUsage, KodaXToolDefinition, KodaXToolError, KodaXToolExecutionContext, KodaXToolUseBlock, KodaXTrustedTextFileSnapshot, KodaXTrustedTextMutationError, KodaXWireReasoningEffort, LEARNING_REVIEW_PROMPT_SHA256, LEARNING_REVIEW_SCHEMA_SHA256, LEARNING_REVIEW_SYSTEM_PROMPT, LEARNING_REVIEW_TOOL, LocalToolDefinition, MANUAL_REGISTRY, MANUAL_TOPIC_IDS, MEMORY_INTERVENTION_SELECTOR_PROMPT, MEMORY_INTERVENTION_SELECTOR_SHA256, ManagedProcessInput, ManagedWorkflowRun, McpCapabilityProvider, McpProviderOptions, McpReverseCapabilities, McpRoot, McpServersConfig, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, ProviderExecutionState, ProviderRecoveryCoordinator, ProviderResilienceConfig, ProviderResiliencePolicy, READ_DEFAULT_LIMIT, READ_MAX_LINE_CHARS, READ_PREFLIGHT_SIZE_BYTES, REPO_EXPLORER_AGENT_NAME, REPO_EXPLORER_TOOL_NAMES, RecoveryDecision, RecoveryResult, RegisteredToolDefinition, ResilienceClassification, ResolveKodaXManualInput, ResolveKodaXManualOptions, ResolveKodaXManualResult, ReviewPacketMetadata, RunScopedToolDefinition, RuntimeContextBudgetSnapshot, RuntimeContextPressure, RuntimeDefaultsSnapshot, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, ScriptSource, SessionErrorMetadata, SignalCollector, StableBoundaryTracker, StagedHandle, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestResult, ToolHandler, ToolRegistrationOptions, ToolResult, ToolResultBatchCapacityError, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowRunManager, WorkflowRunProcessMetadata, WorkflowScriptSnapshotInput, _resetRuntimeForTesting, activate, analyzeAutoModeCall, analyzeChangedScope, analyzePowerShellMutation, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyPostCompactAttachments, applyToolResultGuardrail, assertTrustedTextMutationPolicy, authorWorkflowViaWorker, awaitLatestCodingMemoryReviewDrain, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildBlockedGoal, buildCapabilityContextSections, buildCompleteGoal, buildCreatedGoal, buildFallbackRoutingDecision, buildLlmReviewPrompt, buildManualToolDescription, buildMcpReverseCapabilities, buildPausedGoal, buildPromptMessageContent, buildPromptSnapshot, buildProviderCapabilitySnapshot, buildProviderPolicyHintsForDecision, buildProviderPolicyPromptNotes, buildRepoIntelligenceContext, buildRepoIntelligenceIndex, buildRepoOverview, buildResumedGoal, buildScopedReviewFinalPrompt, buildScopedReviewPrimaryPrompt, buildScopedReviewVerificationPrompt, buildScoutThenAuthorPrompt, buildSelfKnowledgeRoutingRule, buildSessionGoalRuntimeBinding, buildSystemPrompt, buildSystemPromptSnapshot, buildToolResultBudget, buildToolResultBudgetFromUsage, buildToolSearchIndex, buildWorkflowCostReport, buildWorkflowGenerationSkillContext, buildWorkflowGenerationUserPrompt, canonicalMemoryProjectId, canonicalizeAgentHomePolicyPath, canonicalizeAutoModePath, checkIncompleteToolCalls, checkPromiseSignal, clampToolResultPolicyToBudget, classifyBashCommand, classifyError, classifyFileCategory, classifyResilienceError, cleanupExpiredToolOutputs, cleanupUnreferencedToolOutputs, clearShellExecutionEnvironmentCache, combineExtensionRuntimes, computeInputSignature, configureRuntime, convertCapabilityReadResult, convertProviderSearchResults, createBashClassifierConfig, createBuiltinToolDefinition, createCodingMemoryInterventionRunner, createCtxProxy, createDefaultCodingAgent, createDenialTracker, createExtensionRuntime, createKodaXTaskRunner, createProductionLearningReviewer, createPromptSection, createReasoningPlan, createSessionControl, createToolResultTruncationGuardrail, createWorkflowLifecycleController, createWorkflowPatternTemplateModule, dedupeExtensionPathsByEntrypoint, deleteSavedWorkflow, deriveCodingMemoryIdentity, deriveCodingMemoryIdentityFromRoot, deriveCodingMemoryReviewIdentities, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, drainCodingMemoryReviewInbox, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeManagedProcess, executeRunScopedTool, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, flattenArgv, flattenRedirections, formatParallelDispatchResult, formatSize, generateWorkflow, generateWorkflowFromOptions, getActiveExtensionRuntime, getAllRegisteredTools, getBuiltinRegisteredToolDefinition, getBuiltinToolDefinition, getBuiltinWorkflow, getDefaultExtensionDirectory, getDenialContext, getImpactEstimate, getModuleContext, getProcessContext, getRegisteredToolDefinition, getRepoIntelligenceIndex, getRepoOverview, getRepoRoutingSignals, getRequiredToolParams, getSymbolContext, getTool, getToolDefinition, getToolRegistrations, getToolResultPolicy, getWorkflowPatternTemplate, goalTokenDelta, inferTaskType, inspectEditFailure, inspectRepoIntelligenceRuntime, installProductionLearningReviewer, isAgentHomeHardMutationTarget, isAgentHomeHardRemovalTarget, isAutoReadableAgentHomePath, isAutoReadableKodaxPath, isAutoWritableAgentHomePath, isAutoWritableKodaxPath, isCredentialBearingKodaxPath, isDeniedRecently, isNullDevice, isParallelDispatchDirective, isPowerShellMutationCommand, isProtectedAgentHomeMutationTarget, isProtectedAgentHomeReadTarget, isProtectedAgentHomeRemovalTarget, isSessionRecoveryCandidateError, isSupportedExtensionModulePath, isToolFileMutation, isToolMutation, isToolNetworkRead, isToolPlanModeAllowed, isValidTokenBudget, languageIdForPath, listAll, list as listArtifacts, listBuiltinToolDefinitions, listBuiltinWorkflows, listCodingDispatchableAgents, listConstructed, listRunScopedTools, listToolDefinitions, listTools, listWorkflowPatternTemplates, loadAgentsFromMarkdown, loadGeneratedWorkflowFromRun, loadHandler, loadMarkdownAgentScope, loadSavedWorkflow, loadSavedWorkflowCapsule, lookupRunScopedTool, maybeRunReferenceAwareToolOutputGc, maybeRunToolOutputGc, mcpRootsFromWorkspace, mergeScopedReviewResults, normalizeScopedReviewResult, normalizeShellExecutionContract, normalizeWorkflowModule, orderPromptSections, parallelInvestigation, parseBareInlineSlashReferences, parseBashCommand, parseEditToolError, parseInlineSkillReferences, parseLlmReviewVerdict, parseModelSpec, parseSandboxEnvironmentPass, parseToolSearchQuery, parseWorkflowGeneration, persistToolOutput, planGoalCreate, planGoalTransition, preflightWorkflowCapsule, prewarmRepoIntelligenceCaches, readArtifact, readAuditEntries, readBudget, readClientItemRange, readDisableState, reasoningModeToDepth, reconstructMessagesWithToolGuard, recordBlockerAttempt, recordDenial, registerCodingInvariants, registerConfiguredMcpCapabilityProvider, registerOfficialSandboxExtension, registerTool, rehydrateActiveArtifacts, remaining as remainingSelfModifyBudget, renameSavedWorkflow, renderChangedScope, renderImpactEstimate, renderModuleContext, renderProcessContext, renderPromptSections, renderRepoOverview, renderRetrievalResult, renderSymbolContext, replaceConfiguredMcpCapabilityProvider, replaceSavedWorkflow, report as reportLspDiagnostics, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveSkillModelOverride, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runScopedToolMap, runToolInvocation, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, stage, startKodaX, startManagedWorkflow, stripAssistantText, stripHtmlToText, test as testArtifact, toModelToolDefinition, toolAskUserQuestion, toolBash, toolChangedDiff, toolChangedScope, toolCodeSearch, toolEdit, toolGlob, toolGrep, toolImpactEstimate, toolInsertAfterAnchor, toolModuleContext, toolPermission, toolProcessContext, toolRead, toolRepoOverview, toolSemanticLookup, toolSymbolContext, toolUndo, toolWebFetch, toolWebSearch, toolWrite, truncateHead, truncateLine, truncateTail, turnWallTimeDelta, uniqueBareInlineSlashNames, uniqueInlineSkillNames, validateGeneratedWorkflowSource, validateSubtaskIndependence, validateToolSchemaForProvider, withExtensionRuntimeContext, withManualToolBranding, workerAgent };
4712
- export type { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BashClassificationResult, BashClassifierConfig, BashCommandTree, BashPipelineStage, BashRedirection, BashRiskLevel, BashStatement, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildPromptInput, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, CodingDispatchableAgentRoute, CodingMemoryInterventionRunnerOptions, CreateCtxProxyOptions, CreateKodaXTaskRunnerOptions, CreateProductionLearningReviewerOptions, CreateWorkflowLifecycleControllerOptions, DeleteSavedWorkflowInput, DeleteWorkflowRunOptions, DenialRecord, DenialTracker, DisableState, DiscoverMarkdownAgentsResult, DiscoveredMarkdownAgent, EditRecoveryDiagnostic, EditToolErrorCode, ErrorClassification, ExtensionDiscoveryResult, ExtensionDiscoverySkipReason, FindingVerificationResult, GenerateWorkflowFromOptionsInput, GenerateWorkflowInput, GeneratedWorkflow, GoalPlan, GuardedToolResultBatch, ImpactEstimateResult, InlineSkillReference, InvestigationFinding, KodaXAgentWorkerSpec, KodaXPromptSection, KodaXPromptSectionDefinition, KodaXPromptSectionSlot, KodaXPromptSectionStability, KodaXPromptSnapshot, KodaXPromptSnapshotMetadata, KodaXProviderCapabilitySnapshot, KodaXProviderPolicyDecision, KodaXProviderPolicyIssue, KodaXProviderPolicyIssueSeverity, KodaXProviderSourceKind, KodaXTrustedTextCommitUncertainReceipt, KodaXTrustedTextMutationErrorCode, LanguageCapabilityTier, LlmReviewClient, LlmReviewResult, LlmReviewVerdict, LoadAgentsFromMarkdownOptions, LoadAgentsFromMarkdownResult, LoadGeneratedWorkflowFromRunInput, LoadHandlerOptions, LoadHandlerScope, LoadMarkdownAgentScopeOptions, LoadMarkdownAgentScopeResult, LoadedGeneratedWorkflowFromRun, LoadedMarkdownAgent, ManagedWorkflowSource, MarkdownAgentLoadWarning, MarkdownAgentToolFilter, MarkdownLoadFailure, McpReverseWorkspace, MergedScopedReviewResult, ModuleCapsule, ModuleContextResult, OfficialSandboxMode, OfficialSandboxOptions, OrchestrationArtifact, OrchestrationCompletedTask, OrchestrationRunEvents, OrchestrationRunOptions, OrchestrationRunResult, OrchestrationTaskBudget, OrchestrationTaskContext, OrchestrationTaskExecution, OrchestrationTaskStatus, OrchestrationTraceEvent, OrchestrationWorkerResult, OrchestrationWorkerRunner, OrchestrationWorkerSpec, ParallelDispatchDirective, ParallelDispatchResult, ParallelInvestigationArgs, ParallelInvestigationResult, ParallelSubtask, ParsedModelSpec, PowerShellMutationAnalysis, PowerShellMutationOperation, ProcessCapsule, ProcessContextResult, ProcessStep, QualityVerdict, RawScopedReviewResult, RenameSavedWorkflowInput, ReplaceSavedWorkflowInput, ReplaceSavedWorkflowResult, RepoAreaKind, RepoAreaOverview, RepoIntelligenceIndex, RepoIntelligenceRuntimeInspection, RepoLanguageId, RepoLanguageSupport, RepoOverview, RepoSymbolKind, RepoSymbolRecord, RepoSymbolReference, ResolveClassifierModelOptions, ResolveSource, ResolvedClassifierModel, ReviewSeverity, RollbackResult, RunningSession, SaveGeneratedWorkflowFromRunInput, SaveGeneratedWorkflowInput, SavedGeneratedWorkflowFile, SavedWorkflowDirs, SavedWorkflowExecution, SavedWorkflowRef, SavedWorkflowSource, SchemaProvider, SchemaValidationResult, ScopedReviewResult, ScopedReviewWorkflowArgs, ScopedReviewWorkflowResult, SelfModifyAskUser, SelfModifyAskUserInput, SelfModifyDiffSeverity, SelfModifyDiffSummary, SkippedExtensionDiscoveryEntry, SpecVerdict, StartManagedWorkflowInput, StartManagedWorkflowResult, StripOptions, SymbolContextResult, TestArtifactOptions, ToolOutputGcResult, ToolResultBatchDebt, ToolResultBatchEntry, ToolResultBudget, ToolResultBudgetReason, ToolResultBudgetUsageInput, ToolResultCapacity, ToolSearchIndex, ToolSearchIndexEntry, ToolSearchIndexOptions, ToolSearchQueryParts, ToolSearchResult, VerifiedScopedReviewResult, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunRetentionOptions, WorkflowRunRetentionResult };
4740
+ export { Agent, AgentMessage, AutoModePermissionReview, AutoModeRulesContext, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, Capabilities, CapabilityProvider, CapabilityResult, CapabilitySearchSnapshot, KodaXClient as Client, CombinedExtensionRuntime, CompactionResult, ConstructionArtifact, ConstructionPolicy, DEFAULT_CODING_AGENT_NAME, DEFAULT_DANGEROUS_PATTERNS, DEFAULT_RESILIENCE_CONFIG, DEFAULT_SAFE_PATTERNS, DEFAULT_SELF_MODIFY_BUDGET, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, ErrorCategory, ExtensionCommandDefinition, ExtensionContributionSource, ExtensionEventMap, ExtensionExecutionScope, ExtensionFailureStage, ExtensionHookMap, ExtensionLoadSource, ExtensionRuntimeContract, ExtensionRuntimeDiagnostics, FINDING_VERIFICATION_OUTPUT_SCHEMA, FailureStage, GENERATOR_AGENT_NAME, GoalRuntimeBinding, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentScope, KodaXBaseProvider, KodaXClient, KodaXContentBlock, KodaXContextOptions, KodaXEvents, KodaXExecutionMode, KodaXExtensionRuntime, KodaXGenerationCheckpoint, KodaXInputArtifact, KodaXManualTopic, KodaXManualTopicId, KodaXMessage, KodaXOptions, KodaXProviderCapabilityProfile, KodaXProviderPolicyHints, KodaXReasoningCapability, KodaXReasoningMode, KodaXRepoIntelligenceCapability, KodaXRepoIntelligenceMode, KodaXRepoIntelligenceResolvedMode, KodaXRepoIntelligenceTrace, KodaXRepoRoutingSignals, KodaXResult, KodaXRetrievalItem, KodaXRetrievalResult, KodaXRetrievalToolName, KodaXSessionControl, KodaXSessionData, KodaXSessionError, KodaXSessionLineage, KodaXSessionMutators, KodaXSessionStorage, KodaXShellExecutionContract, KodaXTaskRoutingDecision, KodaXTaskType, KodaXTerminalError, KodaXThinkingDepth, KodaXTimeoutConfig, KodaXTokenUsage, KodaXToolDefinition, KodaXToolError, KodaXToolExecutionContext, KodaXToolUseBlock, KodaXTrustedTextFileSnapshot, KodaXTrustedTextMutationError, KodaXWireReasoningEffort, KodaXWorkMode, LEARNING_REVIEW_PROMPT_SHA256, LEARNING_REVIEW_SCHEMA_SHA256, LEARNING_REVIEW_SYSTEM_PROMPT, LEARNING_REVIEW_TOOL, LocalToolDefinition, MANUAL_REGISTRY, MANUAL_TOPIC_IDS, MEMORY_INTERVENTION_SELECTOR_PROMPT, MEMORY_INTERVENTION_SELECTOR_SHA256, ManagedProcessInput, ManagedWorkflowRun, McpCapabilityProvider, McpProviderOptions, McpReverseCapabilities, McpRoot, McpServersConfig, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, ProviderExecutionState, ProviderRecoveryCoordinator, ProviderResilienceConfig, ProviderResiliencePolicy, READ_DEFAULT_LIMIT, READ_MAX_LINE_CHARS, READ_PREFLIGHT_SIZE_BYTES, REPO_EXPLORER_AGENT_NAME, REPO_EXPLORER_TOOL_NAMES, RecoveryDecision, RecoveryResult, RegisteredToolDefinition, ResilienceClassification, ResolveKodaXManualInput, ResolveKodaXManualOptions, ResolveKodaXManualResult, ReviewPacketMetadata, RunScopedToolDefinition, RuntimeContextBudgetSnapshot, RuntimeContextPressure, RuntimeDefaultsSnapshot, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, ScriptSource, SessionErrorMetadata, SignalCollector, StableBoundaryTracker, StagedHandle, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestResult, ToolHandler, ToolRegistrationOptions, ToolResult, ToolResultBatchCapacityError, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowRunManager, WorkflowRunProcessMetadata, WorkflowScriptSnapshotInput, _resetRuntimeForTesting, activate, analyzeAutoModeCall, analyzeChangedScope, analyzePowerShellMutation, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyPostCompactAttachments, applyToolResultGuardrail, assertTrustedTextMutationPolicy, assertWorkModeAvailable, authorWorkflowViaWorker, awaitLatestCodingMemoryReviewDrain, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildBlockedGoal, buildCapabilityContextSections, buildCompleteGoal, buildCreatedGoal, buildFallbackRoutingDecision, buildLlmReviewPrompt, buildManualToolDescription, buildMcpReverseCapabilities, buildPausedGoal, buildPromptMessageContent, buildPromptSnapshot, buildProviderCapabilitySnapshot, buildProviderPolicyHintsForDecision, buildProviderPolicyPromptNotes, buildRepoIntelligenceContext, buildRepoIntelligenceIndex, buildRepoOverview, buildResumedGoal, buildScopedReviewFinalPrompt, buildScopedReviewPrimaryPrompt, buildScopedReviewVerificationPrompt, buildScoutThenAuthorPrompt, buildSelfKnowledgeRoutingRule, buildSessionGoalRuntimeBinding, buildSystemPrompt, buildSystemPromptSnapshot, buildToolResultBudget, buildToolResultBudgetFromUsage, buildToolSearchIndex, buildWorkflowCostReport, buildWorkflowGenerationSkillContext, buildWorkflowGenerationUserPrompt, canonicalMemoryProjectId, canonicalizeAgentHomePolicyPath, canonicalizeAutoModePath, checkIncompleteToolCalls, checkPromiseSignal, clampToolResultPolicyToBudget, classifyBashCommand, classifyError, classifyFileCategory, classifyResilienceError, cleanupExpiredToolOutputs, cleanupUnreferencedToolOutputs, clearShellExecutionEnvironmentCache, combineExtensionRuntimes, completeWorkflowRunCleanup, computeInputSignature, configureRuntime, convertCapabilityReadResult, convertProviderSearchResults, createBashClassifierConfig, createBuiltinToolDefinition, createCodingMemoryInterventionRunner, createCtxProxy, createDefaultCodingAgent, createDenialTracker, createExtensionRuntime, createKodaXTaskRunner, createProductionLearningReviewer, createPromptSection, createReasoningPlan, createSessionControl, createToolResultTruncationGuardrail, createWorkflowLifecycleController, createWorkflowPatternTemplateModule, dedupeExtensionPathsByEntrypoint, deleteSavedWorkflow, deriveCodingMemoryIdentity, deriveCodingMemoryIdentityFromRoot, deriveCodingMemoryReviewIdentities, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, drainCodingMemoryReviewInbox, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeManagedProcess, executeRunScopedTool, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, flattenArgv, flattenRedirections, formatParallelDispatchResult, formatSize, generateWorkflow, generateWorkflowFromOptions, getActiveExtensionRuntime, getAllRegisteredTools, getBuiltinRegisteredToolDefinition, getBuiltinToolDefinition, getBuiltinWorkflow, getDefaultExtensionDirectory, getDenialContext, getImpactEstimate, getModuleContext, getProcessContext, getRegisteredToolDefinition, getRepoIntelligenceIndex, getRepoOverview, getRepoRoutingSignals, getRequiredToolParams, getSymbolContext, getTool, getToolDefinition, getToolRegistrations, getToolResultPolicy, getWorkflowPatternTemplate, goalTokenDelta, inferTaskType, inspectEditFailure, inspectRepoIntelligenceProject, inspectRepoIntelligenceRuntime, inspectToolOutputStorage, installProductionLearningReviewer, isAgentHomeHardMutationTarget, isAgentHomeHardRemovalTarget, isAutoReadableAgentHomePath, isAutoReadableKodaxPath, isAutoWritableAgentHomePath, isAutoWritableKodaxPath, isCredentialBearingKodaxPath, isDeniedRecently, isGovernedMemoryMutationTarget, isNullDevice, isParallelDispatchDirective, isPowerShellMutationCommand, isProtectedAgentHomeMutationTarget, isProtectedAgentHomeReadTarget, isProtectedAgentHomeRemovalTarget, isSessionRecoveryCandidateError, isSupportedExtensionModulePath, isToolFileMutation, isToolMutation, isToolNetworkRead, isToolPlanModeAllowed, isValidTokenBudget, isWorkflowProjectProtected, languageIdForPath, listAll, list as listArtifacts, listBuiltinToolDefinitions, listBuiltinWorkflows, listCodingDispatchableAgents, listConstructed, listRunScopedTools, listToolDefinitions, listTools, listWorkflowPatternTemplates, loadAgentsFromMarkdown, loadGeneratedWorkflowFromRun, loadGenerationCheckpoint, loadHandler, loadMarkdownAgentScope, loadSavedWorkflow, loadSavedWorkflowCapsule, lookupRunScopedTool, maybeRunReferenceAwareToolOutputGc, maybeRunToolOutputGc, mcpRootsFromWorkspace, mergeScopedReviewResults, normalizeScopedReviewResult, normalizeShellExecutionContract, normalizeWorkflowModule, orderPromptSections, parallelInvestigation, parseBareInlineSlashReferences, parseBashCommand, parseEditToolError, parseGenerationCheckpoint, parseInlineSkillReferences, parseLlmReviewVerdict, parseModelSpec, parseSandboxEnvironmentPass, parseToolSearchQuery, parseWorkflowGeneration, persistToolOutput, planGoalCreate, planGoalTransition, preflightWorkflowCapsule, prepareRepoIntelligenceProject, prewarmRepoIntelligenceCaches, protectWorkflowProject, readArtifact, readAuditEntries, readBudget, readClientItemRange, readDisableState, reasoningModeToDepth, reconstructMessagesWithToolGuard, recordBlockerAttempt, recordDenial, recoverWorkflowRunCleanups, registerCodingInvariants, registerConfiguredMcpCapabilityProvider, registerOfficialSandboxExtension, registerTool, rehydrateActiveArtifacts, remaining as remainingSelfModifyBudget, renameSavedWorkflow, renderChangedScope, renderImpactEstimate, renderModuleContext, renderProcessContext, renderPromptSections, renderRepoOverview, renderRetrievalResult, renderSymbolContext, replaceConfiguredMcpCapabilityProvider, replaceSavedWorkflow, report as reportLspDiagnostics, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveSkillModelOverride, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkMode, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runScopedToolMap, runToolInvocation, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, stage, startKodaX, startManagedWorkflow, stripAssistantText, stripHtmlToText, test as testArtifact, toModelToolDefinition, toolAskUserQuestion, toolBash, toolChangedDiff, toolChangedScope, toolCodeSearch, toolEdit, toolGlob, toolGrep, toolImpactEstimate, toolInsertAfterAnchor, toolModuleContext, toolPermission, toolProcessContext, toolRead, toolRepoOverview, toolSemanticLookup, toolSymbolContext, toolUndo, toolWebFetch, toolWebSearch, toolWrite, truncateHead, truncateLine, truncateTail, turnWallTimeDelta, uniqueBareInlineSlashNames, uniqueInlineSkillNames, validateGeneratedWorkflowSource, validateSubtaskIndependence, validateToolSchemaForProvider, withExtensionRuntimeContext, withManualToolBranding, withWorkflowWorktreeProtection, workerAgent };
4741
+ export type { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BashClassificationResult, BashClassifierConfig, BashCommandTree, BashPipelineStage, BashRedirection, BashRiskLevel, BashStatement, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildPromptInput, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, CodingDispatchableAgentRoute, CodingMemoryInterventionRunnerOptions, CreateCtxProxyOptions, CreateKodaXTaskRunnerOptions, CreateProductionLearningReviewerOptions, CreateWorkflowLifecycleControllerOptions, DeleteSavedWorkflowInput, DeleteWorkflowRunOptions, DenialRecord, DenialTracker, DisableState, DiscoverMarkdownAgentsResult, DiscoveredMarkdownAgent, EditRecoveryDiagnostic, EditToolErrorCode, ErrorClassification, ExtensionDiscoveryResult, ExtensionDiscoverySkipReason, FindingVerificationResult, GenerateWorkflowFromOptionsInput, GenerateWorkflowInput, GeneratedWorkflow, GoalPlan, GuardedToolResultBatch, ImpactEstimateResult, InlineSkillReference, InvestigationFinding, KodaXAgentWorkerSpec, KodaXPromptSection, KodaXPromptSectionDefinition, KodaXPromptSectionSlot, KodaXPromptSectionStability, KodaXPromptSnapshot, KodaXPromptSnapshotMetadata, KodaXProviderCapabilitySnapshot, KodaXProviderPolicyDecision, KodaXProviderPolicyIssue, KodaXProviderPolicyIssueSeverity, KodaXProviderSourceKind, KodaXTrustedTextCommitUncertainReceipt, KodaXTrustedTextMutationErrorCode, LanguageCapabilityTier, LlmReviewClient, LlmReviewResult, LlmReviewVerdict, LoadAgentsFromMarkdownOptions, LoadAgentsFromMarkdownResult, LoadGeneratedWorkflowFromRunInput, LoadHandlerOptions, LoadHandlerScope, LoadMarkdownAgentScopeOptions, LoadMarkdownAgentScopeResult, LoadedGeneratedWorkflowFromRun, LoadedMarkdownAgent, ManagedWorkflowSource, MarkdownAgentLoadWarning, MarkdownAgentToolFilter, MarkdownLoadFailure, McpReverseWorkspace, MergedScopedReviewResult, ModuleCapsule, ModuleContextResult, OfficialSandboxMode, OfficialSandboxOptions, OrchestrationArtifact, OrchestrationCompletedTask, OrchestrationRunEvents, OrchestrationRunOptions, OrchestrationRunResult, OrchestrationTaskBudget, OrchestrationTaskContext, OrchestrationTaskExecution, OrchestrationTaskStatus, OrchestrationTraceEvent, OrchestrationWorkerResult, OrchestrationWorkerRunner, OrchestrationWorkerSpec, ParallelDispatchDirective, ParallelDispatchResult, ParallelInvestigationArgs, ParallelInvestigationResult, ParallelSubtask, ParsedModelSpec, PowerShellMutationAnalysis, PowerShellMutationOperation, ProcessCapsule, ProcessContextResult, ProcessStep, QualityVerdict, RawScopedReviewResult, RenameSavedWorkflowInput, ReplaceSavedWorkflowInput, ReplaceSavedWorkflowResult, RepoAreaKind, RepoAreaOverview, RepoIntelligenceIndex, RepoIntelligenceRuntimeInspection, RepoLanguageId, RepoLanguageSupport, RepoOverview, RepoSymbolKind, RepoSymbolRecord, RepoSymbolReference, ResolveClassifierModelOptions, ResolveSource, ResolvedClassifierModel, ReviewSeverity, RollbackResult, RunningSession, SaveGeneratedWorkflowFromRunInput, SaveGeneratedWorkflowInput, SavedGeneratedWorkflowFile, SavedWorkflowDirs, SavedWorkflowExecution, SavedWorkflowRef, SavedWorkflowSource, SchemaProvider, SchemaValidationResult, ScopedReviewResult, ScopedReviewWorkflowArgs, ScopedReviewWorkflowResult, SelfModifyAskUser, SelfModifyAskUserInput, SelfModifyDiffSeverity, SelfModifyDiffSummary, SkippedExtensionDiscoveryEntry, SpecVerdict, StartManagedWorkflowInput, StartManagedWorkflowResult, StripOptions, SymbolContextResult, TestArtifactOptions, ToolOutputGcResult, ToolOutputStorageUsage, ToolResultBatchDebt, ToolResultBatchEntry, ToolResultBudget, ToolResultBudgetReason, ToolResultBudgetUsageInput, ToolResultCapacity, ToolSearchIndex, ToolSearchIndexEntry, ToolSearchIndexOptions, ToolSearchQueryParts, ToolSearchResult, VerifiedScopedReviewResult, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunRetentionOptions, WorkflowRunRetentionResult };