kiokuko-dsh 0.1.0

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 (1032) hide show
  1. package/LICENSE +21 -0
  2. package/README.ja.md +50 -0
  3. package/README.ko.md +50 -0
  4. package/README.md +53 -0
  5. package/README.zh-CN.md +50 -0
  6. package/dist/agent-file/atomic-write.d.ts +93 -0
  7. package/dist/agent-file/atomic-write.d.ts.map +1 -0
  8. package/dist/agent-file/atomic-write.js +1026 -0
  9. package/dist/agent-file/atomic-write.js.map +1 -0
  10. package/dist/agent-file/managed-block.d.ts +23 -0
  11. package/dist/agent-file/managed-block.d.ts.map +1 -0
  12. package/dist/agent-file/managed-block.js +101 -0
  13. package/dist/agent-file/managed-block.js.map +1 -0
  14. package/dist/agent-file/render.d.ts +14 -0
  15. package/dist/agent-file/render.d.ts.map +1 -0
  16. package/dist/agent-file/render.js +63 -0
  17. package/dist/agent-file/render.js.map +1 -0
  18. package/dist/akinator/agent-task.d.ts +72 -0
  19. package/dist/akinator/agent-task.d.ts.map +1 -0
  20. package/dist/akinator/agent-task.js +684 -0
  21. package/dist/akinator/agent-task.js.map +1 -0
  22. package/dist/akinator/capabilities.d.ts +92 -0
  23. package/dist/akinator/capabilities.d.ts.map +1 -0
  24. package/dist/akinator/capabilities.js +364 -0
  25. package/dist/akinator/capabilities.js.map +1 -0
  26. package/dist/akinator/capability-binding.d.ts +11 -0
  27. package/dist/akinator/capability-binding.d.ts.map +1 -0
  28. package/dist/akinator/capability-binding.js +71 -0
  29. package/dist/akinator/capability-binding.js.map +1 -0
  30. package/dist/akinator/domain.d.ts +25 -0
  31. package/dist/akinator/domain.d.ts.map +1 -0
  32. package/dist/akinator/domain.js +266 -0
  33. package/dist/akinator/domain.js.map +1 -0
  34. package/dist/akinator/knowledge-path.d.ts +33 -0
  35. package/dist/akinator/knowledge-path.d.ts.map +1 -0
  36. package/dist/akinator/knowledge-path.js +474 -0
  37. package/dist/akinator/knowledge-path.js.map +1 -0
  38. package/dist/akinator/orchestrator.d.ts +7 -0
  39. package/dist/akinator/orchestrator.d.ts.map +1 -0
  40. package/dist/akinator/orchestrator.js +8 -0
  41. package/dist/akinator/orchestrator.js.map +1 -0
  42. package/dist/akinator/reasoning.d.ts +8 -0
  43. package/dist/akinator/reasoning.d.ts.map +1 -0
  44. package/dist/akinator/reasoning.js +118 -0
  45. package/dist/akinator/reasoning.js.map +1 -0
  46. package/dist/akinator/service.d.ts +32 -0
  47. package/dist/akinator/service.d.ts.map +1 -0
  48. package/dist/akinator/service.js +294 -0
  49. package/dist/akinator/service.js.map +1 -0
  50. package/dist/akinator/skill-discovery-attempt.d.ts +26 -0
  51. package/dist/akinator/skill-discovery-attempt.d.ts.map +1 -0
  52. package/dist/akinator/skill-discovery-attempt.js +469 -0
  53. package/dist/akinator/skill-discovery-attempt.js.map +1 -0
  54. package/dist/akinator/store.d.ts +96 -0
  55. package/dist/akinator/store.d.ts.map +1 -0
  56. package/dist/akinator/store.js +642 -0
  57. package/dist/akinator/store.js.map +1 -0
  58. package/dist/akinator/types.d.ts +70 -0
  59. package/dist/akinator/types.d.ts.map +1 -0
  60. package/dist/akinator/types.js +2 -0
  61. package/dist/akinator/types.js.map +1 -0
  62. package/dist/bin/kiokuko.d.ts +3 -0
  63. package/dist/bin/kiokuko.d.ts.map +1 -0
  64. package/dist/bin/kiokuko.js +13 -0
  65. package/dist/bin/kiokuko.js.map +1 -0
  66. package/dist/cli.d.ts +24 -0
  67. package/dist/cli.d.ts.map +1 -0
  68. package/dist/cli.js +962 -0
  69. package/dist/cli.js.map +1 -0
  70. package/dist/client/server-client.d.ts +22 -0
  71. package/dist/client/server-client.d.ts.map +1 -0
  72. package/dist/client/server-client.js +729 -0
  73. package/dist/client/server-client.js.map +1 -0
  74. package/dist/commands/agent.d.ts +12 -0
  75. package/dist/commands/agent.d.ts.map +1 -0
  76. package/dist/commands/agent.js +1138 -0
  77. package/dist/commands/agent.js.map +1 -0
  78. package/dist/commands/backup.d.ts +6 -0
  79. package/dist/commands/backup.d.ts.map +1 -0
  80. package/dist/commands/backup.js +77 -0
  81. package/dist/commands/backup.js.map +1 -0
  82. package/dist/commands/curator.d.ts +25 -0
  83. package/dist/commands/curator.d.ts.map +1 -0
  84. package/dist/commands/curator.js +58 -0
  85. package/dist/commands/curator.js.map +1 -0
  86. package/dist/commands/doctor.d.ts +61 -0
  87. package/dist/commands/doctor.d.ts.map +1 -0
  88. package/dist/commands/doctor.js +522 -0
  89. package/dist/commands/doctor.js.map +1 -0
  90. package/dist/commands/embeddings.d.ts +40 -0
  91. package/dist/commands/embeddings.d.ts.map +1 -0
  92. package/dist/commands/embeddings.js +317 -0
  93. package/dist/commands/embeddings.js.map +1 -0
  94. package/dist/commands/enno.d.ts +7 -0
  95. package/dist/commands/enno.d.ts.map +1 -0
  96. package/dist/commands/enno.js +76 -0
  97. package/dist/commands/enno.js.map +1 -0
  98. package/dist/commands/export.d.ts +17 -0
  99. package/dist/commands/export.d.ts.map +1 -0
  100. package/dist/commands/export.js +233 -0
  101. package/dist/commands/export.js.map +1 -0
  102. package/dist/commands/import.d.ts +24 -0
  103. package/dist/commands/import.d.ts.map +1 -0
  104. package/dist/commands/import.js +778 -0
  105. package/dist/commands/import.js.map +1 -0
  106. package/dist/commands/init.d.ts +34 -0
  107. package/dist/commands/init.d.ts.map +1 -0
  108. package/dist/commands/init.js +637 -0
  109. package/dist/commands/init.js.map +1 -0
  110. package/dist/commands/ledger.d.ts +7 -0
  111. package/dist/commands/ledger.d.ts.map +1 -0
  112. package/dist/commands/ledger.js +66 -0
  113. package/dist/commands/ledger.js.map +1 -0
  114. package/dist/commands/purge.d.ts +10 -0
  115. package/dist/commands/purge.d.ts.map +1 -0
  116. package/dist/commands/purge.js +29 -0
  117. package/dist/commands/purge.js.map +1 -0
  118. package/dist/commands/serve.d.ts +34 -0
  119. package/dist/commands/serve.d.ts.map +1 -0
  120. package/dist/commands/serve.js +120 -0
  121. package/dist/commands/serve.js.map +1 -0
  122. package/dist/commands/server-status.d.ts +20 -0
  123. package/dist/commands/server-status.d.ts.map +1 -0
  124. package/dist/commands/server-status.js +21 -0
  125. package/dist/commands/server-status.js.map +1 -0
  126. package/dist/commands/server.d.ts +13 -0
  127. package/dist/commands/server.d.ts.map +1 -0
  128. package/dist/commands/server.js +89 -0
  129. package/dist/commands/server.js.map +1 -0
  130. package/dist/commands/setup.d.ts +105 -0
  131. package/dist/commands/setup.d.ts.map +1 -0
  132. package/dist/commands/setup.js +793 -0
  133. package/dist/commands/setup.js.map +1 -0
  134. package/dist/commands/skills.d.ts +9 -0
  135. package/dist/commands/skills.d.ts.map +1 -0
  136. package/dist/commands/skills.js +317 -0
  137. package/dist/commands/skills.js.map +1 -0
  138. package/dist/commands/use.d.ts +40 -0
  139. package/dist/commands/use.d.ts.map +1 -0
  140. package/dist/commands/use.js +1090 -0
  141. package/dist/commands/use.js.map +1 -0
  142. package/dist/config/paths.d.ts +57 -0
  143. package/dist/config/paths.d.ts.map +1 -0
  144. package/dist/config/paths.js +352 -0
  145. package/dist/config/paths.js.map +1 -0
  146. package/dist/config/project-config.d.ts +11 -0
  147. package/dist/config/project-config.d.ts.map +1 -0
  148. package/dist/config/project-config.js +97 -0
  149. package/dist/config/project-config.js.map +1 -0
  150. package/dist/context/broker.d.ts +99 -0
  151. package/dist/context/broker.d.ts.map +1 -0
  152. package/dist/context/broker.js +923 -0
  153. package/dist/context/broker.js.map +1 -0
  154. package/dist/context/delivery-migration.d.ts +40 -0
  155. package/dist/context/delivery-migration.d.ts.map +1 -0
  156. package/dist/context/delivery-migration.js +367 -0
  157. package/dist/context/delivery-migration.js.map +1 -0
  158. package/dist/context/delivery.d.ts +61 -0
  159. package/dist/context/delivery.d.ts.map +1 -0
  160. package/dist/context/delivery.js +886 -0
  161. package/dist/context/delivery.js.map +1 -0
  162. package/dist/context/feedback.d.ts +73 -0
  163. package/dist/context/feedback.d.ts.map +1 -0
  164. package/dist/context/feedback.js +993 -0
  165. package/dist/context/feedback.js.map +1 -0
  166. package/dist/context/nudge-store.d.ts +57 -0
  167. package/dist/context/nudge-store.d.ts.map +1 -0
  168. package/dist/context/nudge-store.js +227 -0
  169. package/dist/context/nudge-store.js.map +1 -0
  170. package/dist/context/nudge-validation.d.ts +26 -0
  171. package/dist/context/nudge-validation.d.ts.map +1 -0
  172. package/dist/context/nudge-validation.js +122 -0
  173. package/dist/context/nudge-validation.js.map +1 -0
  174. package/dist/context/nudges.d.ts +38 -0
  175. package/dist/context/nudges.d.ts.map +1 -0
  176. package/dist/context/nudges.js +131 -0
  177. package/dist/context/nudges.js.map +1 -0
  178. package/dist/context/origin.d.ts +9 -0
  179. package/dist/context/origin.d.ts.map +1 -0
  180. package/dist/context/origin.js +15 -0
  181. package/dist/context/origin.js.map +1 -0
  182. package/dist/context/ranking.d.ts +92 -0
  183. package/dist/context/ranking.d.ts.map +1 -0
  184. package/dist/context/ranking.js +560 -0
  185. package/dist/context/ranking.js.map +1 -0
  186. package/dist/context/recommendations.d.ts +80 -0
  187. package/dist/context/recommendations.d.ts.map +1 -0
  188. package/dist/context/recommendations.js +341 -0
  189. package/dist/context/recommendations.js.map +1 -0
  190. package/dist/context/run-state.d.ts +26 -0
  191. package/dist/context/run-state.d.ts.map +1 -0
  192. package/dist/context/run-state.js +399 -0
  193. package/dist/context/run-state.js.map +1 -0
  194. package/dist/context/scoped-broker.d.ts +77 -0
  195. package/dist/context/scoped-broker.d.ts.map +1 -0
  196. package/dist/context/scoped-broker.js +690 -0
  197. package/dist/context/scoped-broker.js.map +1 -0
  198. package/dist/context/selection-state.d.ts +32 -0
  199. package/dist/context/selection-state.d.ts.map +1 -0
  200. package/dist/context/selection-state.js +369 -0
  201. package/dist/context/selection-state.js.map +1 -0
  202. package/dist/db/adapter.d.ts +27 -0
  203. package/dist/db/adapter.d.ts.map +1 -0
  204. package/dist/db/adapter.js +41 -0
  205. package/dist/db/adapter.js.map +1 -0
  206. package/dist/db/capabilities.d.ts +21 -0
  207. package/dist/db/capabilities.d.ts.map +1 -0
  208. package/dist/db/capabilities.js +57 -0
  209. package/dist/db/capabilities.js.map +1 -0
  210. package/dist/db/connection.d.ts +21 -0
  211. package/dist/db/connection.d.ts.map +1 -0
  212. package/dist/db/connection.js +129 -0
  213. package/dist/db/connection.js.map +1 -0
  214. package/dist/db/migrate.d.ts +40 -0
  215. package/dist/db/migrate.d.ts.map +1 -0
  216. package/dist/db/migrate.js +216 -0
  217. package/dist/db/migrate.js.map +1 -0
  218. package/dist/db/sqlite-retry.d.ts +11 -0
  219. package/dist/db/sqlite-retry.d.ts.map +1 -0
  220. package/dist/db/sqlite-retry.js +70 -0
  221. package/dist/db/sqlite-retry.js.map +1 -0
  222. package/dist/db/transaction.d.ts +17 -0
  223. package/dist/db/transaction.d.ts.map +1 -0
  224. package/dist/db/transaction.js +68 -0
  225. package/dist/db/transaction.js.map +1 -0
  226. package/dist/db/upgrade-backup.d.ts +59 -0
  227. package/dist/db/upgrade-backup.d.ts.map +1 -0
  228. package/dist/db/upgrade-backup.js +773 -0
  229. package/dist/db/upgrade-backup.js.map +1 -0
  230. package/dist/dsh/advisory-runner.d.ts +32 -0
  231. package/dist/dsh/advisory-runner.d.ts.map +1 -0
  232. package/dist/dsh/advisory-runner.js +111 -0
  233. package/dist/dsh/advisory-runner.js.map +1 -0
  234. package/dist/dsh/agent-state.d.ts +49 -0
  235. package/dist/dsh/agent-state.d.ts.map +1 -0
  236. package/dist/dsh/agent-state.js +103 -0
  237. package/dist/dsh/agent-state.js.map +1 -0
  238. package/dist/dsh/capability-catalog.d.ts +24 -0
  239. package/dist/dsh/capability-catalog.d.ts.map +1 -0
  240. package/dist/dsh/capability-catalog.js +108 -0
  241. package/dist/dsh/capability-catalog.js.map +1 -0
  242. package/dist/dsh/commands.d.ts +43 -0
  243. package/dist/dsh/commands.d.ts.map +1 -0
  244. package/dist/dsh/commands.js +83 -0
  245. package/dist/dsh/commands.js.map +1 -0
  246. package/dist/dsh/composition.d.ts +64 -0
  247. package/dist/dsh/composition.d.ts.map +1 -0
  248. package/dist/dsh/composition.js +104 -0
  249. package/dist/dsh/composition.js.map +1 -0
  250. package/dist/dsh/config.d.ts +7 -0
  251. package/dist/dsh/config.d.ts.map +1 -0
  252. package/dist/dsh/config.js +6 -0
  253. package/dist/dsh/config.js.map +1 -0
  254. package/dist/dsh/context-injection.d.ts +24 -0
  255. package/dist/dsh/context-injection.d.ts.map +1 -0
  256. package/dist/dsh/context-injection.js +61 -0
  257. package/dist/dsh/context-injection.js.map +1 -0
  258. package/dist/dsh/enno-controller.d.ts +94 -0
  259. package/dist/dsh/enno-controller.d.ts.map +1 -0
  260. package/dist/dsh/enno-controller.js +137 -0
  261. package/dist/dsh/enno-controller.js.map +1 -0
  262. package/dist/dsh/index.d.ts +31 -0
  263. package/dist/dsh/index.d.ts.map +1 -0
  264. package/dist/dsh/index.js +52 -0
  265. package/dist/dsh/index.js.map +1 -0
  266. package/dist/dsh/intake-gate.d.ts +50 -0
  267. package/dist/dsh/intake-gate.d.ts.map +1 -0
  268. package/dist/dsh/intake-gate.js +77 -0
  269. package/dist/dsh/intake-gate.js.map +1 -0
  270. package/dist/dsh/intake-profile-resolver.d.ts +22 -0
  271. package/dist/dsh/intake-profile-resolver.d.ts.map +1 -0
  272. package/dist/dsh/intake-profile-resolver.js +44 -0
  273. package/dist/dsh/intake-profile-resolver.js.map +1 -0
  274. package/dist/dsh/message-sources.d.ts +28 -0
  275. package/dist/dsh/message-sources.d.ts.map +1 -0
  276. package/dist/dsh/message-sources.js +62 -0
  277. package/dist/dsh/message-sources.js.map +1 -0
  278. package/dist/dsh/parity.d.ts +18 -0
  279. package/dist/dsh/parity.d.ts.map +1 -0
  280. package/dist/dsh/parity.js +105 -0
  281. package/dist/dsh/parity.js.map +1 -0
  282. package/dist/dsh/prompt-policy.d.ts +18 -0
  283. package/dist/dsh/prompt-policy.d.ts.map +1 -0
  284. package/dist/dsh/prompt-policy.js +16 -0
  285. package/dist/dsh/prompt-policy.js.map +1 -0
  286. package/dist/dsh/runtime.d.ts +40 -0
  287. package/dist/dsh/runtime.d.ts.map +1 -0
  288. package/dist/dsh/runtime.js +237 -0
  289. package/dist/dsh/runtime.js.map +1 -0
  290. package/dist/dsh/session-bridge.d.ts +98 -0
  291. package/dist/dsh/session-bridge.d.ts.map +1 -0
  292. package/dist/dsh/session-bridge.js +202 -0
  293. package/dist/dsh/session-bridge.js.map +1 -0
  294. package/dist/dsh/standard-skill-provider.d.ts +50 -0
  295. package/dist/dsh/standard-skill-provider.d.ts.map +1 -0
  296. package/dist/dsh/standard-skill-provider.js +71 -0
  297. package/dist/dsh/standard-skill-provider.js.map +1 -0
  298. package/dist/dsh/tool-policy.d.ts +40 -0
  299. package/dist/dsh/tool-policy.d.ts.map +1 -0
  300. package/dist/dsh/tool-policy.js +125 -0
  301. package/dist/dsh/tool-policy.js.map +1 -0
  302. package/dist/dsh/tools.d.ts +85 -0
  303. package/dist/dsh/tools.d.ts.map +1 -0
  304. package/dist/dsh/tools.js +156 -0
  305. package/dist/dsh/tools.js.map +1 -0
  306. package/dist/dsh/user-interaction.d.ts +51 -0
  307. package/dist/dsh/user-interaction.d.ts.map +1 -0
  308. package/dist/dsh/user-interaction.js +92 -0
  309. package/dist/dsh/user-interaction.js.map +1 -0
  310. package/dist/embedding/backend.d.ts +27 -0
  311. package/dist/embedding/backend.d.ts.map +1 -0
  312. package/dist/embedding/backend.js +67 -0
  313. package/dist/embedding/backend.js.map +1 -0
  314. package/dist/embedding/config.d.ts +10 -0
  315. package/dist/embedding/config.d.ts.map +1 -0
  316. package/dist/embedding/config.js +142 -0
  317. package/dist/embedding/config.js.map +1 -0
  318. package/dist/embedding/diagnostics.d.ts +34 -0
  319. package/dist/embedding/diagnostics.d.ts.map +1 -0
  320. package/dist/embedding/diagnostics.js +274 -0
  321. package/dist/embedding/diagnostics.js.map +1 -0
  322. package/dist/embedding/document.d.ts +20 -0
  323. package/dist/embedding/document.d.ts.map +1 -0
  324. package/dist/embedding/document.js +122 -0
  325. package/dist/embedding/document.js.map +1 -0
  326. package/dist/embedding/javascript-backend.d.ts +11 -0
  327. package/dist/embedding/javascript-backend.d.ts.map +1 -0
  328. package/dist/embedding/javascript-backend.js +164 -0
  329. package/dist/embedding/javascript-backend.js.map +1 -0
  330. package/dist/embedding/jobs.d.ts +67 -0
  331. package/dist/embedding/jobs.d.ts.map +1 -0
  332. package/dist/embedding/jobs.js +259 -0
  333. package/dist/embedding/jobs.js.map +1 -0
  334. package/dist/embedding/local-model-loader.d.ts +24 -0
  335. package/dist/embedding/local-model-loader.d.ts.map +1 -0
  336. package/dist/embedding/local-model-loader.js +64 -0
  337. package/dist/embedding/local-model-loader.js.map +1 -0
  338. package/dist/embedding/local-transformers-provider.d.ts +17 -0
  339. package/dist/embedding/local-transformers-provider.d.ts.map +1 -0
  340. package/dist/embedding/local-transformers-provider.js +54 -0
  341. package/dist/embedding/local-transformers-provider.js.map +1 -0
  342. package/dist/embedding/model-download.d.ts +32 -0
  343. package/dist/embedding/model-download.d.ts.map +1 -0
  344. package/dist/embedding/model-download.js +41 -0
  345. package/dist/embedding/model-download.js.map +1 -0
  346. package/dist/embedding/model-installation.d.ts +17 -0
  347. package/dist/embedding/model-installation.d.ts.map +1 -0
  348. package/dist/embedding/model-installation.js +71 -0
  349. package/dist/embedding/model-installation.js.map +1 -0
  350. package/dist/embedding/model-manifest.d.ts +18 -0
  351. package/dist/embedding/model-manifest.d.ts.map +1 -0
  352. package/dist/embedding/model-manifest.js +86 -0
  353. package/dist/embedding/model-manifest.js.map +1 -0
  354. package/dist/embedding/openai-compatible-provider.d.ts +24 -0
  355. package/dist/embedding/openai-compatible-provider.d.ts.map +1 -0
  356. package/dist/embedding/openai-compatible-provider.js +330 -0
  357. package/dist/embedding/openai-compatible-provider.js.map +1 -0
  358. package/dist/embedding/presets/local-small.d.ts +8 -0
  359. package/dist/embedding/presets/local-small.d.ts.map +1 -0
  360. package/dist/embedding/presets/local-small.js +67 -0
  361. package/dist/embedding/presets/local-small.js.map +1 -0
  362. package/dist/embedding/presets/manifest.d.ts +27 -0
  363. package/dist/embedding/presets/manifest.d.ts.map +1 -0
  364. package/dist/embedding/presets/manifest.js +5 -0
  365. package/dist/embedding/presets/manifest.js.map +1 -0
  366. package/dist/embedding/profile.d.ts +10 -0
  367. package/dist/embedding/profile.d.ts.map +1 -0
  368. package/dist/embedding/profile.js +67 -0
  369. package/dist/embedding/profile.js.map +1 -0
  370. package/dist/embedding/provider.d.ts +13 -0
  371. package/dist/embedding/provider.d.ts.map +1 -0
  372. package/dist/embedding/provider.js +17 -0
  373. package/dist/embedding/provider.js.map +1 -0
  374. package/dist/embedding/query-cache.d.ts +45 -0
  375. package/dist/embedding/query-cache.d.ts.map +1 -0
  376. package/dist/embedding/query-cache.js +181 -0
  377. package/dist/embedding/query-cache.js.map +1 -0
  378. package/dist/embedding/runtime.d.ts +14 -0
  379. package/dist/embedding/runtime.d.ts.map +1 -0
  380. package/dist/embedding/runtime.js +407 -0
  381. package/dist/embedding/runtime.js.map +1 -0
  382. package/dist/embedding/settings.d.ts +6 -0
  383. package/dist/embedding/settings.d.ts.map +1 -0
  384. package/dist/embedding/settings.js +69 -0
  385. package/dist/embedding/settings.js.map +1 -0
  386. package/dist/embedding/setup-lock.d.ts +7 -0
  387. package/dist/embedding/setup-lock.d.ts.map +1 -0
  388. package/dist/embedding/setup-lock.js +35 -0
  389. package/dist/embedding/setup-lock.js.map +1 -0
  390. package/dist/embedding/setup-service.d.ts +53 -0
  391. package/dist/embedding/setup-service.d.ts.map +1 -0
  392. package/dist/embedding/setup-service.js +184 -0
  393. package/dist/embedding/setup-service.js.map +1 -0
  394. package/dist/embedding/sqlite-vec-backend.d.ts +9 -0
  395. package/dist/embedding/sqlite-vec-backend.d.ts.map +1 -0
  396. package/dist/embedding/sqlite-vec-backend.js +106 -0
  397. package/dist/embedding/sqlite-vec-backend.js.map +1 -0
  398. package/dist/embedding/sqlite-vec-loader.d.ts +17 -0
  399. package/dist/embedding/sqlite-vec-loader.d.ts.map +1 -0
  400. package/dist/embedding/sqlite-vec-loader.js +51 -0
  401. package/dist/embedding/sqlite-vec-loader.js.map +1 -0
  402. package/dist/embedding/store.d.ts +66 -0
  403. package/dist/embedding/store.d.ts.map +1 -0
  404. package/dist/embedding/store.js +490 -0
  405. package/dist/embedding/store.js.map +1 -0
  406. package/dist/embedding/types.d.ts +126 -0
  407. package/dist/embedding/types.d.ts.map +1 -0
  408. package/dist/embedding/types.js +2 -0
  409. package/dist/embedding/types.js.map +1 -0
  410. package/dist/embedding/vector.d.ts +9 -0
  411. package/dist/embedding/vector.d.ts.map +1 -0
  412. package/dist/embedding/vector.js +90 -0
  413. package/dist/embedding/vector.js.map +1 -0
  414. package/dist/embedding/worker.d.ts +23 -0
  415. package/dist/embedding/worker.d.ts.map +1 -0
  416. package/dist/embedding/worker.js +84 -0
  417. package/dist/embedding/worker.js.map +1 -0
  418. package/dist/enno-oduno/adapters.d.ts +21 -0
  419. package/dist/enno-oduno/adapters.d.ts.map +1 -0
  420. package/dist/enno-oduno/adapters.js +253 -0
  421. package/dist/enno-oduno/adapters.js.map +1 -0
  422. package/dist/enno-oduno/advisory-store.d.ts +31 -0
  423. package/dist/enno-oduno/advisory-store.d.ts.map +1 -0
  424. package/dist/enno-oduno/advisory-store.js +105 -0
  425. package/dist/enno-oduno/advisory-store.js.map +1 -0
  426. package/dist/enno-oduno/advisory.d.ts +18 -0
  427. package/dist/enno-oduno/advisory.d.ts.map +1 -0
  428. package/dist/enno-oduno/advisory.js +310 -0
  429. package/dist/enno-oduno/advisory.js.map +1 -0
  430. package/dist/enno-oduno/confirmation.d.ts +4 -0
  431. package/dist/enno-oduno/confirmation.d.ts.map +1 -0
  432. package/dist/enno-oduno/confirmation.js +127 -0
  433. package/dist/enno-oduno/confirmation.js.map +1 -0
  434. package/dist/enno-oduno/directives.d.ts +12 -0
  435. package/dist/enno-oduno/directives.d.ts.map +1 -0
  436. package/dist/enno-oduno/directives.js +276 -0
  437. package/dist/enno-oduno/directives.js.map +1 -0
  438. package/dist/enno-oduno/enno-oduno.d.mts +2 -0
  439. package/dist/enno-oduno/enno-oduno.d.mts.map +1 -0
  440. package/dist/enno-oduno/enno-oduno.mjs +3 -0
  441. package/dist/enno-oduno/enno-oduno.mjs.map +1 -0
  442. package/dist/enno-oduno/experts.d.ts +6 -0
  443. package/dist/enno-oduno/experts.d.ts.map +1 -0
  444. package/dist/enno-oduno/experts.js +32 -0
  445. package/dist/enno-oduno/experts.js.map +1 -0
  446. package/dist/enno-oduno/goki.d.mts +2 -0
  447. package/dist/enno-oduno/goki.d.mts.map +1 -0
  448. package/dist/enno-oduno/goki.mjs +3 -0
  449. package/dist/enno-oduno/goki.mjs.map +1 -0
  450. package/dist/enno-oduno/handoff.d.ts +4 -0
  451. package/dist/enno-oduno/handoff.d.ts.map +1 -0
  452. package/dist/enno-oduno/handoff.js +18 -0
  453. package/dist/enno-oduno/handoff.js.map +1 -0
  454. package/dist/enno-oduno/harness.d.ts +20 -0
  455. package/dist/enno-oduno/harness.d.ts.map +1 -0
  456. package/dist/enno-oduno/harness.js +66 -0
  457. package/dist/enno-oduno/harness.js.map +1 -0
  458. package/dist/enno-oduno/instructions.d.ts +9 -0
  459. package/dist/enno-oduno/instructions.d.ts.map +1 -0
  460. package/dist/enno-oduno/instructions.js +12 -0
  461. package/dist/enno-oduno/instructions.js.map +1 -0
  462. package/dist/enno-oduno/plan-recovery.d.ts +44 -0
  463. package/dist/enno-oduno/plan-recovery.d.ts.map +1 -0
  464. package/dist/enno-oduno/plan-recovery.js +160 -0
  465. package/dist/enno-oduno/plan-recovery.js.map +1 -0
  466. package/dist/enno-oduno/repository-state.d.ts +8 -0
  467. package/dist/enno-oduno/repository-state.d.ts.map +1 -0
  468. package/dist/enno-oduno/repository-state.js +139 -0
  469. package/dist/enno-oduno/repository-state.js.map +1 -0
  470. package/dist/enno-oduno/role-runner.d.ts +9 -0
  471. package/dist/enno-oduno/role-runner.d.ts.map +1 -0
  472. package/dist/enno-oduno/role-runner.js +219 -0
  473. package/dist/enno-oduno/role-runner.js.map +1 -0
  474. package/dist/enno-oduno/sanitize.d.ts +17 -0
  475. package/dist/enno-oduno/sanitize.d.ts.map +1 -0
  476. package/dist/enno-oduno/sanitize.js +88 -0
  477. package/dist/enno-oduno/sanitize.js.map +1 -0
  478. package/dist/enno-oduno/schemas.d.ts +962 -0
  479. package/dist/enno-oduno/schemas.d.ts.map +1 -0
  480. package/dist/enno-oduno/schemas.js +609 -0
  481. package/dist/enno-oduno/schemas.js.map +1 -0
  482. package/dist/enno-oduno/service.d.ts +57 -0
  483. package/dist/enno-oduno/service.d.ts.map +1 -0
  484. package/dist/enno-oduno/service.js +1379 -0
  485. package/dist/enno-oduno/service.js.map +1 -0
  486. package/dist/enno-oduno/skills.d.ts +22 -0
  487. package/dist/enno-oduno/skills.d.ts.map +1 -0
  488. package/dist/enno-oduno/skills.js +127 -0
  489. package/dist/enno-oduno/skills.js.map +1 -0
  490. package/dist/enno-oduno/store.d.ts +106 -0
  491. package/dist/enno-oduno/store.d.ts.map +1 -0
  492. package/dist/enno-oduno/store.js +712 -0
  493. package/dist/enno-oduno/store.js.map +1 -0
  494. package/dist/enno-oduno/types.d.ts +457 -0
  495. package/dist/enno-oduno/types.d.ts.map +1 -0
  496. package/dist/enno-oduno/types.js +66 -0
  497. package/dist/enno-oduno/types.js.map +1 -0
  498. package/dist/enno-oduno/validation-errors.d.ts +93 -0
  499. package/dist/enno-oduno/validation-errors.d.ts.map +1 -0
  500. package/dist/enno-oduno/validation-errors.js +152 -0
  501. package/dist/enno-oduno/validation-errors.js.map +1 -0
  502. package/dist/enno-oduno/verifier.d.ts +10 -0
  503. package/dist/enno-oduno/verifier.d.ts.map +1 -0
  504. package/dist/enno-oduno/verifier.js +214 -0
  505. package/dist/enno-oduno/verifier.js.map +1 -0
  506. package/dist/enno-oduno/zenki.d.mts +2 -0
  507. package/dist/enno-oduno/zenki.d.mts.map +1 -0
  508. package/dist/enno-oduno/zenki.mjs +3 -0
  509. package/dist/enno-oduno/zenki.mjs.map +1 -0
  510. package/dist/errors.d.ts +13 -0
  511. package/dist/errors.d.ts.map +1 -0
  512. package/dist/errors.js +60 -0
  513. package/dist/errors.js.map +1 -0
  514. package/dist/gateway/agent-service.d.ts +72 -0
  515. package/dist/gateway/agent-service.d.ts.map +1 -0
  516. package/dist/gateway/agent-service.js +594 -0
  517. package/dist/gateway/agent-service.js.map +1 -0
  518. package/dist/gateway/checkpoint-mutation-service.d.ts +33 -0
  519. package/dist/gateway/checkpoint-mutation-service.d.ts.map +1 -0
  520. package/dist/gateway/checkpoint-mutation-service.js +513 -0
  521. package/dist/gateway/checkpoint-mutation-service.js.map +1 -0
  522. package/dist/gateway/checkpoint-service.d.ts +40 -0
  523. package/dist/gateway/checkpoint-service.d.ts.map +1 -0
  524. package/dist/gateway/checkpoint-service.js +149 -0
  525. package/dist/gateway/checkpoint-service.js.map +1 -0
  526. package/dist/gateway/nudge-delivery-service.d.ts +21 -0
  527. package/dist/gateway/nudge-delivery-service.d.ts.map +1 -0
  528. package/dist/gateway/nudge-delivery-service.js +67 -0
  529. package/dist/gateway/nudge-delivery-service.js.map +1 -0
  530. package/dist/ledger/archive.d.ts +48 -0
  531. package/dist/ledger/archive.d.ts.map +1 -0
  532. package/dist/ledger/archive.js +1261 -0
  533. package/dist/ledger/archive.js.map +1 -0
  534. package/dist/ledger/checkpoint-contract.d.ts +144 -0
  535. package/dist/ledger/checkpoint-contract.d.ts.map +1 -0
  536. package/dist/ledger/checkpoint-contract.js +91 -0
  537. package/dist/ledger/checkpoint-contract.js.map +1 -0
  538. package/dist/ledger/checkpoint-eligibility.d.ts +17 -0
  539. package/dist/ledger/checkpoint-eligibility.d.ts.map +1 -0
  540. package/dist/ledger/checkpoint-eligibility.js +19 -0
  541. package/dist/ledger/checkpoint-eligibility.js.map +1 -0
  542. package/dist/ledger/hash.d.ts +22 -0
  543. package/dist/ledger/hash.d.ts.map +1 -0
  544. package/dist/ledger/hash.js +25 -0
  545. package/dist/ledger/hash.js.map +1 -0
  546. package/dist/ledger/maintenance.d.ts +68 -0
  547. package/dist/ledger/maintenance.d.ts.map +1 -0
  548. package/dist/ledger/maintenance.js +767 -0
  549. package/dist/ledger/maintenance.js.map +1 -0
  550. package/dist/ledger/projection.d.ts +38 -0
  551. package/dist/ledger/projection.d.ts.map +1 -0
  552. package/dist/ledger/projection.js +315 -0
  553. package/dist/ledger/projection.js.map +1 -0
  554. package/dist/ledger/promotion.d.ts +19 -0
  555. package/dist/ledger/promotion.d.ts.map +1 -0
  556. package/dist/ledger/promotion.js +310 -0
  557. package/dist/ledger/promotion.js.map +1 -0
  558. package/dist/ledger/query.d.ts +41 -0
  559. package/dist/ledger/query.d.ts.map +1 -0
  560. package/dist/ledger/query.js +321 -0
  561. package/dist/ledger/query.js.map +1 -0
  562. package/dist/ledger/redaction.d.ts +8 -0
  563. package/dist/ledger/redaction.d.ts.map +1 -0
  564. package/dist/ledger/redaction.js +40 -0
  565. package/dist/ledger/redaction.js.map +1 -0
  566. package/dist/ledger/store.d.ts +45 -0
  567. package/dist/ledger/store.d.ts.map +1 -0
  568. package/dist/ledger/store.js +327 -0
  569. package/dist/ledger/store.js.map +1 -0
  570. package/dist/ledger/types.d.ts +115 -0
  571. package/dist/ledger/types.d.ts.map +1 -0
  572. package/dist/ledger/types.js +27 -0
  573. package/dist/ledger/types.js.map +1 -0
  574. package/dist/ledger/validate.d.ts +10 -0
  575. package/dist/ledger/validate.d.ts.map +1 -0
  576. package/dist/ledger/validate.js +178 -0
  577. package/dist/ledger/validate.js.map +1 -0
  578. package/dist/mcp/bounded-stdio-transport.d.ts +26 -0
  579. package/dist/mcp/bounded-stdio-transport.d.ts.map +1 -0
  580. package/dist/mcp/bounded-stdio-transport.js +121 -0
  581. package/dist/mcp/bounded-stdio-transport.js.map +1 -0
  582. package/dist/mcp/request-deadline.d.ts +51 -0
  583. package/dist/mcp/request-deadline.d.ts.map +1 -0
  584. package/dist/mcp/request-deadline.js +155 -0
  585. package/dist/mcp/request-deadline.js.map +1 -0
  586. package/dist/mcp/runtime-owner.d.ts +27 -0
  587. package/dist/mcp/runtime-owner.d.ts.map +1 -0
  588. package/dist/mcp/runtime-owner.js +129 -0
  589. package/dist/mcp/runtime-owner.js.map +1 -0
  590. package/dist/mcp/server.d.ts +24 -0
  591. package/dist/mcp/server.d.ts.map +1 -0
  592. package/dist/mcp/server.js +502 -0
  593. package/dist/mcp/server.js.map +1 -0
  594. package/dist/memory/audit.d.ts +13 -0
  595. package/dist/memory/audit.d.ts.map +1 -0
  596. package/dist/memory/audit.js +15 -0
  597. package/dist/memory/audit.js.map +1 -0
  598. package/dist/memory/checkpoint-contract.d.ts +490 -0
  599. package/dist/memory/checkpoint-contract.d.ts.map +1 -0
  600. package/dist/memory/checkpoint-contract.js +106 -0
  601. package/dist/memory/checkpoint-contract.js.map +1 -0
  602. package/dist/memory/curator-trust.d.ts +15 -0
  603. package/dist/memory/curator-trust.d.ts.map +1 -0
  604. package/dist/memory/curator-trust.js +58 -0
  605. package/dist/memory/curator-trust.js.map +1 -0
  606. package/dist/memory/curator.d.ts +115 -0
  607. package/dist/memory/curator.d.ts.map +1 -0
  608. package/dist/memory/curator.js +706 -0
  609. package/dist/memory/curator.js.map +1 -0
  610. package/dist/memory/entries.d.ts +75 -0
  611. package/dist/memory/entries.d.ts.map +1 -0
  612. package/dist/memory/entries.js +355 -0
  613. package/dist/memory/entries.js.map +1 -0
  614. package/dist/memory/federated-retrieval.d.ts +79 -0
  615. package/dist/memory/federated-retrieval.d.ts.map +1 -0
  616. package/dist/memory/federated-retrieval.js +515 -0
  617. package/dist/memory/federated-retrieval.js.map +1 -0
  618. package/dist/memory/hybrid-retrieval.d.ts +33 -0
  619. package/dist/memory/hybrid-retrieval.d.ts.map +1 -0
  620. package/dist/memory/hybrid-retrieval.js +398 -0
  621. package/dist/memory/hybrid-retrieval.js.map +1 -0
  622. package/dist/memory/lifecycle.d.ts +29 -0
  623. package/dist/memory/lifecycle.d.ts.map +1 -0
  624. package/dist/memory/lifecycle.js +65 -0
  625. package/dist/memory/lifecycle.js.map +1 -0
  626. package/dist/memory/portability.d.ts +10 -0
  627. package/dist/memory/portability.d.ts.map +1 -0
  628. package/dist/memory/portability.js +44 -0
  629. package/dist/memory/portability.js.map +1 -0
  630. package/dist/memory/rebuild-search.d.ts +24 -0
  631. package/dist/memory/rebuild-search.d.ts.map +1 -0
  632. package/dist/memory/rebuild-search.js +167 -0
  633. package/dist/memory/rebuild-search.js.map +1 -0
  634. package/dist/memory/retrieval-query.d.ts +16 -0
  635. package/dist/memory/retrieval-query.d.ts.map +1 -0
  636. package/dist/memory/retrieval-query.js +161 -0
  637. package/dist/memory/retrieval-query.js.map +1 -0
  638. package/dist/memory/retrieval.d.ts +56 -0
  639. package/dist/memory/retrieval.d.ts.map +1 -0
  640. package/dist/memory/retrieval.js +101 -0
  641. package/dist/memory/retrieval.js.map +1 -0
  642. package/dist/memory/revisions.d.ts +123 -0
  643. package/dist/memory/revisions.d.ts.map +1 -0
  644. package/dist/memory/revisions.js +759 -0
  645. package/dist/memory/revisions.js.map +1 -0
  646. package/dist/memory/scoped-memory.d.ts +76 -0
  647. package/dist/memory/scoped-memory.d.ts.map +1 -0
  648. package/dist/memory/scoped-memory.js +539 -0
  649. package/dist/memory/scoped-memory.js.map +1 -0
  650. package/dist/memory/secrets.d.ts +8 -0
  651. package/dist/memory/secrets.d.ts.map +1 -0
  652. package/dist/memory/secrets.js +54 -0
  653. package/dist/memory/secrets.js.map +1 -0
  654. package/dist/memory/structured-memory.d.ts +60 -0
  655. package/dist/memory/structured-memory.d.ts.map +1 -0
  656. package/dist/memory/structured-memory.js +341 -0
  657. package/dist/memory/structured-memory.js.map +1 -0
  658. package/dist/memory/workspaces.d.ts +26 -0
  659. package/dist/memory/workspaces.d.ts.map +1 -0
  660. package/dist/memory/workspaces.js +159 -0
  661. package/dist/memory/workspaces.js.map +1 -0
  662. package/dist/model-tools/contracts.d.ts +1297 -0
  663. package/dist/model-tools/contracts.d.ts.map +1 -0
  664. package/dist/model-tools/contracts.js +104 -0
  665. package/dist/model-tools/contracts.js.map +1 -0
  666. package/dist/model-tools/registry.d.ts +8 -0
  667. package/dist/model-tools/registry.d.ts.map +1 -0
  668. package/dist/model-tools/registry.js +59 -0
  669. package/dist/model-tools/registry.js.map +1 -0
  670. package/dist/package-version.d.ts +2 -0
  671. package/dist/package-version.d.ts.map +1 -0
  672. package/dist/package-version.js +7 -0
  673. package/dist/package-version.js.map +1 -0
  674. package/dist/repository/binding.d.ts +32 -0
  675. package/dist/repository/binding.d.ts.map +1 -0
  676. package/dist/repository/binding.js +208 -0
  677. package/dist/repository/binding.js.map +1 -0
  678. package/dist/repository/cwd-schema.d.ts +4 -0
  679. package/dist/repository/cwd-schema.d.ts.map +1 -0
  680. package/dist/repository/cwd-schema.js +8 -0
  681. package/dist/repository/cwd-schema.js.map +1 -0
  682. package/dist/repository/detect-root.d.ts +13 -0
  683. package/dist/repository/detect-root.d.ts.map +1 -0
  684. package/dist/repository/detect-root.js +77 -0
  685. package/dist/repository/detect-root.js.map +1 -0
  686. package/dist/repository/framework-version.d.ts +8 -0
  687. package/dist/repository/framework-version.d.ts.map +1 -0
  688. package/dist/repository/framework-version.js +29 -0
  689. package/dist/repository/framework-version.js.map +1 -0
  690. package/dist/repository/git-origin.d.ts +2 -0
  691. package/dist/repository/git-origin.d.ts.map +1 -0
  692. package/dist/repository/git-origin.js +15 -0
  693. package/dist/repository/git-origin.js.map +1 -0
  694. package/dist/repository/gitignore.d.ts +8 -0
  695. package/dist/repository/gitignore.d.ts.map +1 -0
  696. package/dist/repository/gitignore.js +21 -0
  697. package/dist/repository/gitignore.js.map +1 -0
  698. package/dist/repository/identity-value.d.ts +4 -0
  699. package/dist/repository/identity-value.d.ts.map +1 -0
  700. package/dist/repository/identity-value.js +24 -0
  701. package/dist/repository/identity-value.js.map +1 -0
  702. package/dist/repository/identity.d.ts +19 -0
  703. package/dist/repository/identity.d.ts.map +1 -0
  704. package/dist/repository/identity.js +25 -0
  705. package/dist/repository/identity.js.map +1 -0
  706. package/dist/repository/project-fingerprint.d.ts +33 -0
  707. package/dist/repository/project-fingerprint.d.ts.map +1 -0
  708. package/dist/repository/project-fingerprint.js +429 -0
  709. package/dist/repository/project-fingerprint.js.map +1 -0
  710. package/dist/repository/remote-url.d.ts +3 -0
  711. package/dist/repository/remote-url.d.ts.map +1 -0
  712. package/dist/repository/remote-url.js +35 -0
  713. package/dist/repository/remote-url.js.map +1 -0
  714. package/dist/runtime-version.d.ts +6 -0
  715. package/dist/runtime-version.d.ts.map +1 -0
  716. package/dist/runtime-version.js +33 -0
  717. package/dist/runtime-version.js.map +1 -0
  718. package/dist/security/sanitize.d.ts +4 -0
  719. package/dist/security/sanitize.d.ts.map +1 -0
  720. package/dist/security/sanitize.js +174 -0
  721. package/dist/security/sanitize.js.map +1 -0
  722. package/dist/serialization/boundary-json.d.ts +20 -0
  723. package/dist/serialization/boundary-json.d.ts.map +1 -0
  724. package/dist/serialization/boundary-json.js +129 -0
  725. package/dist/serialization/boundary-json.js.map +1 -0
  726. package/dist/serialization/envelope.d.ts +20 -0
  727. package/dist/serialization/envelope.d.ts.map +1 -0
  728. package/dist/serialization/envelope.js +11 -0
  729. package/dist/serialization/envelope.js.map +1 -0
  730. package/dist/serialization/validate.d.ts +38 -0
  731. package/dist/serialization/validate.d.ts.map +1 -0
  732. package/dist/serialization/validate.js +233 -0
  733. package/dist/serialization/validate.js.map +1 -0
  734. package/dist/server/agent-application.d.ts +6 -0
  735. package/dist/server/agent-application.d.ts.map +1 -0
  736. package/dist/server/agent-application.js +74 -0
  737. package/dist/server/agent-application.js.map +1 -0
  738. package/dist/server/agent-checkpoint-use-case.d.ts +41 -0
  739. package/dist/server/agent-checkpoint-use-case.d.ts.map +1 -0
  740. package/dist/server/agent-checkpoint-use-case.js +159 -0
  741. package/dist/server/agent-checkpoint-use-case.js.map +1 -0
  742. package/dist/server/app.d.ts +5 -0
  743. package/dist/server/app.d.ts.map +1 -0
  744. package/dist/server/app.js +87 -0
  745. package/dist/server/app.js.map +1 -0
  746. package/dist/server/auth.d.ts +2 -0
  747. package/dist/server/auth.d.ts.map +1 -0
  748. package/dist/server/auth.js +22 -0
  749. package/dist/server/auth.js.map +1 -0
  750. package/dist/server/http.d.ts +86 -0
  751. package/dist/server/http.d.ts.map +1 -0
  752. package/dist/server/http.js +455 -0
  753. package/dist/server/http.js.map +1 -0
  754. package/dist/server/idempotency.d.ts +6 -0
  755. package/dist/server/idempotency.d.ts.map +1 -0
  756. package/dist/server/idempotency.js +210 -0
  757. package/dist/server/idempotency.js.map +1 -0
  758. package/dist/server/instance-lock.d.ts +17 -0
  759. package/dist/server/instance-lock.d.ts.map +1 -0
  760. package/dist/server/instance-lock.js +118 -0
  761. package/dist/server/instance-lock.js.map +1 -0
  762. package/dist/server/router.d.ts +29 -0
  763. package/dist/server/router.d.ts.map +1 -0
  764. package/dist/server/router.js +129 -0
  765. package/dist/server/router.js.map +1 -0
  766. package/dist/server/routes/agent-capability-gate.d.ts +43 -0
  767. package/dist/server/routes/agent-capability-gate.d.ts.map +1 -0
  768. package/dist/server/routes/agent-capability-gate.js +202 -0
  769. package/dist/server/routes/agent-capability-gate.js.map +1 -0
  770. package/dist/server/routes/agent-events.d.ts +5 -0
  771. package/dist/server/routes/agent-events.d.ts.map +1 -0
  772. package/dist/server/routes/agent-events.js +53 -0
  773. package/dist/server/routes/agent-events.js.map +1 -0
  774. package/dist/server/routes/agent-intake.d.ts +5 -0
  775. package/dist/server/routes/agent-intake.d.ts.map +1 -0
  776. package/dist/server/routes/agent-intake.js +50 -0
  777. package/dist/server/routes/agent-intake.js.map +1 -0
  778. package/dist/server/routes/agent-promotions.d.ts +5 -0
  779. package/dist/server/routes/agent-promotions.d.ts.map +1 -0
  780. package/dist/server/routes/agent-promotions.js +55 -0
  781. package/dist/server/routes/agent-promotions.js.map +1 -0
  782. package/dist/server/routes/agent-runs.d.ts +32 -0
  783. package/dist/server/routes/agent-runs.d.ts.map +1 -0
  784. package/dist/server/routes/agent-runs.js +165 -0
  785. package/dist/server/routes/agent-runs.js.map +1 -0
  786. package/dist/server/routes/request-binding.d.ts +5 -0
  787. package/dist/server/routes/request-binding.d.ts.map +1 -0
  788. package/dist/server/routes/request-binding.js +49 -0
  789. package/dist/server/routes/request-binding.js.map +1 -0
  790. package/dist/server/routes/task5-support.d.ts +4 -0
  791. package/dist/server/routes/task5-support.d.ts.map +1 -0
  792. package/dist/server/routes/task5-support.js +6 -0
  793. package/dist/server/routes/task5-support.js.map +1 -0
  794. package/dist/server/routes/task5.d.ts +5 -0
  795. package/dist/server/routes/task5.d.ts.map +1 -0
  796. package/dist/server/routes/task5.js +85 -0
  797. package/dist/server/routes/task5.js.map +1 -0
  798. package/dist/server/runtime-descriptor.d.ts +24 -0
  799. package/dist/server/runtime-descriptor.d.ts.map +1 -0
  800. package/dist/server/runtime-descriptor.js +156 -0
  801. package/dist/server/runtime-descriptor.js.map +1 -0
  802. package/dist/server/write-queue.d.ts +20 -0
  803. package/dist/server/write-queue.d.ts.map +1 -0
  804. package/dist/server/write-queue.js +83 -0
  805. package/dist/server/write-queue.js.map +1 -0
  806. package/dist/setup/claude-config.d.ts +8 -0
  807. package/dist/setup/claude-config.d.ts.map +1 -0
  808. package/dist/setup/claude-config.js +95 -0
  809. package/dist/setup/claude-config.js.map +1 -0
  810. package/dist/setup/client-detection.d.ts +13 -0
  811. package/dist/setup/client-detection.d.ts.map +1 -0
  812. package/dist/setup/client-detection.js +64 -0
  813. package/dist/setup/client-detection.js.map +1 -0
  814. package/dist/setup/enno-client-config.d.ts +9 -0
  815. package/dist/setup/enno-client-config.d.ts.map +1 -0
  816. package/dist/setup/enno-client-config.js +172 -0
  817. package/dist/setup/enno-client-config.js.map +1 -0
  818. package/dist/setup/hermes-config.d.ts +7 -0
  819. package/dist/setup/hermes-config.d.ts.map +1 -0
  820. package/dist/setup/hermes-config.js +145 -0
  821. package/dist/setup/hermes-config.js.map +1 -0
  822. package/dist/setup/legacy-client-cleanup.d.ts +6 -0
  823. package/dist/setup/legacy-client-cleanup.d.ts.map +1 -0
  824. package/dist/setup/legacy-client-cleanup.js +152 -0
  825. package/dist/setup/legacy-client-cleanup.js.map +1 -0
  826. package/dist/setup/managed-text.d.ts +6 -0
  827. package/dist/setup/managed-text.d.ts.map +1 -0
  828. package/dist/setup/managed-text.js +52 -0
  829. package/dist/setup/managed-text.js.map +1 -0
  830. package/dist/setup/mcp-conflict.d.ts +4 -0
  831. package/dist/setup/mcp-conflict.d.ts.map +1 -0
  832. package/dist/setup/mcp-conflict.js +15 -0
  833. package/dist/setup/mcp-conflict.js.map +1 -0
  834. package/dist/setup/opencode-config.d.ts +8 -0
  835. package/dist/setup/opencode-config.d.ts.map +1 -0
  836. package/dist/setup/opencode-config.js +98 -0
  837. package/dist/setup/opencode-config.js.map +1 -0
  838. package/dist/setup/project-agent-refresh.d.ts +41 -0
  839. package/dist/setup/project-agent-refresh.d.ts.map +1 -0
  840. package/dist/setup/project-agent-refresh.js +158 -0
  841. package/dist/setup/project-agent-refresh.js.map +1 -0
  842. package/dist/setup/render.d.ts +13 -0
  843. package/dist/setup/render.d.ts.map +1 -0
  844. package/dist/setup/render.js +334 -0
  845. package/dist/setup/render.js.map +1 -0
  846. package/dist/setup/standard-skills.d.ts +60 -0
  847. package/dist/setup/standard-skills.d.ts.map +1 -0
  848. package/dist/setup/standard-skills.js +133 -0
  849. package/dist/setup/standard-skills.js.map +1 -0
  850. package/dist/setup/strict-json.d.ts +7 -0
  851. package/dist/setup/strict-json.d.ts.map +1 -0
  852. package/dist/setup/strict-json.js +98 -0
  853. package/dist/setup/strict-json.js.map +1 -0
  854. package/dist/setup/strict-toml.d.ts +18 -0
  855. package/dist/setup/strict-toml.d.ts.map +1 -0
  856. package/dist/setup/strict-toml.js +491 -0
  857. package/dist/setup/strict-toml.js.map +1 -0
  858. package/dist/skills/cache.d.ts +15 -0
  859. package/dist/skills/cache.d.ts.map +1 -0
  860. package/dist/skills/cache.js +19 -0
  861. package/dist/skills/cache.js.map +1 -0
  862. package/dist/skills/candidate-ranking.d.ts +15 -0
  863. package/dist/skills/candidate-ranking.d.ts.map +1 -0
  864. package/dist/skills/candidate-ranking.js +52 -0
  865. package/dist/skills/candidate-ranking.js.map +1 -0
  866. package/dist/skills/chunking.d.ts +11 -0
  867. package/dist/skills/chunking.d.ts.map +1 -0
  868. package/dist/skills/chunking.js +291 -0
  869. package/dist/skills/chunking.js.map +1 -0
  870. package/dist/skills/config.d.ts +19 -0
  871. package/dist/skills/config.d.ts.map +1 -0
  872. package/dist/skills/config.js +103 -0
  873. package/dist/skills/config.js.map +1 -0
  874. package/dist/skills/discovery-service.d.ts +26 -0
  875. package/dist/skills/discovery-service.d.ts.map +1 -0
  876. package/dist/skills/discovery-service.js +929 -0
  877. package/dist/skills/discovery-service.js.map +1 -0
  878. package/dist/skills/external-transport.d.ts +2 -0
  879. package/dist/skills/external-transport.d.ts.map +1 -0
  880. package/dist/skills/external-transport.js +30 -0
  881. package/dist/skills/external-transport.js.map +1 -0
  882. package/dist/skills/find.d.ts +17 -0
  883. package/dist/skills/find.d.ts.map +1 -0
  884. package/dist/skills/find.js +59 -0
  885. package/dist/skills/find.js.map +1 -0
  886. package/dist/skills/gap-detection.d.ts +23 -0
  887. package/dist/skills/gap-detection.d.ts.map +1 -0
  888. package/dist/skills/gap-detection.js +62 -0
  889. package/dist/skills/gap-detection.js.map +1 -0
  890. package/dist/skills/import-preparation.d.ts +4 -0
  891. package/dist/skills/import-preparation.d.ts.map +1 -0
  892. package/dist/skills/import-preparation.js +20 -0
  893. package/dist/skills/import-preparation.js.map +1 -0
  894. package/dist/skills/materialization-authority.d.ts +11 -0
  895. package/dist/skills/materialization-authority.d.ts.map +1 -0
  896. package/dist/skills/materialization-authority.js +92 -0
  897. package/dist/skills/materialization-authority.js.map +1 -0
  898. package/dist/skills/materialization-service.d.ts +22 -0
  899. package/dist/skills/materialization-service.d.ts.map +1 -0
  900. package/dist/skills/materialization-service.js +101 -0
  901. package/dist/skills/materialization-service.js.map +1 -0
  902. package/dist/skills/official-catalog.d.ts +31 -0
  903. package/dist/skills/official-catalog.d.ts.map +1 -0
  904. package/dist/skills/official-catalog.js +110 -0
  905. package/dist/skills/official-catalog.js.map +1 -0
  906. package/dist/skills/providers/schema.d.ts +30 -0
  907. package/dist/skills/providers/schema.d.ts.map +1 -0
  908. package/dist/skills/providers/schema.js +354 -0
  909. package/dist/skills/providers/schema.js.map +1 -0
  910. package/dist/skills/providers/skills-sh-compat.d.ts +17 -0
  911. package/dist/skills/providers/skills-sh-compat.d.ts.map +1 -0
  912. package/dist/skills/providers/skills-sh-compat.js +73 -0
  913. package/dist/skills/providers/skills-sh-compat.js.map +1 -0
  914. package/dist/skills/providers/skills-sh-v1.d.ts +23 -0
  915. package/dist/skills/providers/skills-sh-v1.d.ts.map +1 -0
  916. package/dist/skills/providers/skills-sh-v1.js +152 -0
  917. package/dist/skills/providers/skills-sh-v1.js.map +1 -0
  918. package/dist/skills/query-builder.d.ts +18 -0
  919. package/dist/skills/query-builder.d.ts.map +1 -0
  920. package/dist/skills/query-builder.js +93 -0
  921. package/dist/skills/query-builder.js.map +1 -0
  922. package/dist/skills/source/errors.d.ts +9 -0
  923. package/dist/skills/source/errors.d.ts.map +1 -0
  924. package/dist/skills/source/errors.js +15 -0
  925. package/dist/skills/source/errors.js.map +1 -0
  926. package/dist/skills/source/frontmatter.d.ts +9 -0
  927. package/dist/skills/source/frontmatter.d.ts.map +1 -0
  928. package/dist/skills/source/frontmatter.js +77 -0
  929. package/dist/skills/source/frontmatter.js.map +1 -0
  930. package/dist/skills/source/github-fetcher.d.ts +20 -0
  931. package/dist/skills/source/github-fetcher.d.ts.map +1 -0
  932. package/dist/skills/source/github-fetcher.js +296 -0
  933. package/dist/skills/source/github-fetcher.js.map +1 -0
  934. package/dist/skills/source/snapshot-validator.d.ts +28 -0
  935. package/dist/skills/source/snapshot-validator.d.ts.map +1 -0
  936. package/dist/skills/source/snapshot-validator.js +186 -0
  937. package/dist/skills/source/snapshot-validator.js.map +1 -0
  938. package/dist/skills/store.d.ts +180 -0
  939. package/dist/skills/store.d.ts.map +1 -0
  940. package/dist/skills/store.js +1712 -0
  941. package/dist/skills/store.js.map +1 -0
  942. package/dist/skills/types.d.ts +171 -0
  943. package/dist/skills/types.d.ts.map +1 -0
  944. package/dist/skills/types.js +2 -0
  945. package/dist/skills/types.js.map +1 -0
  946. package/dist/web/i18n.d.ts +184 -0
  947. package/dist/web/i18n.d.ts.map +1 -0
  948. package/dist/web/i18n.js +733 -0
  949. package/dist/web/i18n.js.map +1 -0
  950. package/dist/web/server.d.ts +16 -0
  951. package/dist/web/server.d.ts.map +1 -0
  952. package/dist/web/server.js +862 -0
  953. package/dist/web/server.js.map +1 -0
  954. package/dist/web/ui.d.ts +6 -0
  955. package/dist/web/ui.d.ts.map +1 -0
  956. package/dist/web/ui.js +1328 -0
  957. package/dist/web/ui.js.map +1 -0
  958. package/docs/README.ja.md +14 -0
  959. package/docs/README.md +16 -0
  960. package/docs/agent-file.md +72 -0
  961. package/docs/agent-gateway.md +104 -0
  962. package/docs/architecture.md +12 -0
  963. package/docs/cli-contract.md +39 -0
  964. package/docs/client-compatibility.md +299 -0
  965. package/docs/concepts.ja.md +25 -0
  966. package/docs/concepts.md +33 -0
  967. package/docs/database.md +11 -0
  968. package/docs/dsh-plugin.md +108 -0
  969. package/docs/enno-oduno.ja.md +22 -0
  970. package/docs/enno-oduno.md +35 -0
  971. package/docs/execution-ledger.md +89 -0
  972. package/docs/getting-started.ja.md +88 -0
  973. package/docs/getting-started.md +99 -0
  974. package/docs/release-notes-0.1.18.md +103 -0
  975. package/docs/retrieval-evaluation.md +10 -0
  976. package/docs/security-and-trust.ja.md +29 -0
  977. package/docs/security-and-trust.md +39 -0
  978. package/docs/security.md +11 -0
  979. package/docs/semantic-retrieval.ja.md +18 -0
  980. package/docs/semantic-retrieval.md +26 -0
  981. package/docs/sqlite-driver-adr.md +8 -0
  982. package/dsh/cordis.patch.yml +7 -0
  983. package/migrations/001_initial.sql +123 -0
  984. package/migrations/002_fts.sql +22 -0
  985. package/migrations/003_akinator.sql +30 -0
  986. package/migrations/004_agent_gateway.sql +261 -0
  987. package/migrations/005_hybrid_search.sql +40 -0
  988. package/migrations/006_context_v2.sql +4 -0
  989. package/migrations/007_akinator_reasoning.sql +59 -0
  990. package/migrations/008_federated_memory.sql +46 -0
  991. package/migrations/009_external_skill_discovery.sql +126 -0
  992. package/migrations/010_nudge_deliveries.sql +50 -0
  993. package/migrations/011_nudge_integrity.sql +52 -0
  994. package/migrations/012_context_delivery_v4.sql +3 -0
  995. package/migrations/013_enno_oduno.sql +176 -0
  996. package/migrations/014_oduno_reflection_phases.sql +40 -0
  997. package/migrations/015_skill_discovery_attempt_digests.sql +90 -0
  998. package/migrations/016_enno_advisory_rounds.sql +67 -0
  999. package/migrations/017_enno_advisory_protocol_v2.sql +101 -0
  1000. package/migrations/018_enno_repository_routing.sql +5 -0
  1001. package/migrations/019_enno_execution_integrity.sql +149 -0
  1002. package/migrations/020_cjk_fts.sql +80 -0
  1003. package/migrations/021_semantic_embeddings.sql +122 -0
  1004. package/migrations/022_embedding_setup_v2.sql +236 -0
  1005. package/migrations/023_enno_dsh_client.sql +291 -0
  1006. package/migrations/down/020_cjk_fts.sql +38 -0
  1007. package/migrations/down/021_semantic_embeddings.sql +17 -0
  1008. package/migrations/down/022_embedding_setup_v2.sql +133 -0
  1009. package/package.json +101 -0
  1010. package/skills/kiokuko-enno-oduno/SKILL.md +209 -0
  1011. package/skills/kiokuko-enno-oduno/enno-oduno.png +0 -0
  1012. package/skills/kiokuko-simple-work/SKILL.md +112 -0
  1013. package/skills/kiokuko-single-purpose-functions/SKILL.md +82 -0
  1014. package/skills/kiokuko-single-purpose-functions/references/boundaries-and-ownership.md +50 -0
  1015. package/skills/kiokuko-single-purpose-functions/references/domain-and-types.md +48 -0
  1016. package/skills/kiokuko-single-purpose-functions/references/effects-and-data.md +43 -0
  1017. package/skills/kiokuko-single-purpose-functions/references/kiokuko-patterns.md +344 -0
  1018. package/skills/kiokuko-single-purpose-functions/references/problem-shaping-and-language.md +84 -0
  1019. package/skills/kiokuko-single-purpose-functions/references/protocols-and-idempotency.md +42 -0
  1020. package/skills/kiokuko-single-purpose-functions/references/review-checklist.md +97 -0
  1021. package/skills/kiokuko-single-purpose-functions/references/verification.md +41 -0
  1022. package/skills/kiokuko-soul/SKILL.md +104 -0
  1023. package/skills/kiokuko-ui-design-soul/SKILL.md +73 -0
  1024. package/skills/kiokuko-ui-design-soul/references/accessibility-and-navigation.md +31 -0
  1025. package/skills/kiokuko-ui-design-soul/references/async-recovery.md +49 -0
  1026. package/skills/kiokuko-ui-design-soul/references/forms-and-controls.md +35 -0
  1027. package/skills/kiokuko-ui-design-soul/references/interaction-feedback.md +34 -0
  1028. package/skills/kiokuko-ui-design-soul/references/responsive-and-platform.md +38 -0
  1029. package/skills/kiokuko-ui-design-soul/references/safety-and-review.md +39 -0
  1030. package/skills/kiokuko-ui-design-soul/references/ui-checklist.md +71 -0
  1031. package/skills/memory-reasoning/SKILL.md +52 -0
  1032. package/templates/AGENTS.md +46 -0
@@ -0,0 +1,1297 @@
1
+ import * as z from 'zod/v4';
2
+ export declare const MODEL_TOOL_OPERATION_NAMES: readonly ["task_prepare", "task_answer", "enno_plan_submit", "enno_ideal_submit", "enno_advice_submit", "enno_advice_read", "enno_answer", "enno_work_report", "enno_verify_prepare", "enno_finish", "enno_meditation_submit", "curator_check", "curator_globalize", "memory_checkpoint"];
3
+ export type ModelToolOperationName = (typeof MODEL_TOOL_OPERATION_NAMES)[number];
4
+ export type ModelToolOwner = 'kiokuko-core';
5
+ export type ModelToolExposure = 'host-only' | 'model-facing';
6
+ export declare const taskPrepareInputSchema: z.ZodObject<{
7
+ soulRead: z.ZodLiteral<true>;
8
+ requestId: z.ZodString;
9
+ task: z.ZodString;
10
+ cwd: z.ZodOptional<z.ZodString>;
11
+ profileHints: z.ZodOptional<z.ZodObject<{
12
+ taskType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
13
+ build: "build";
14
+ debug: "debug";
15
+ research: "research";
16
+ review: "review";
17
+ devops: "devops";
18
+ writing: "writing";
19
+ analysis: "analysis";
20
+ }>>>;
21
+ target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ expected: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ constraints: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strict>>;
25
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
26
+ client: z.ZodOptional<z.ZodObject<{
27
+ kind: z.ZodOptional<z.ZodString>;
28
+ version: z.ZodOptional<z.ZodString>;
29
+ sessionId: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strict>>;
31
+ maxContextChars: z.ZodDefault<z.ZodNumber>;
32
+ }, z.core.$strict>;
33
+ export declare const taskAnswerInputSchema: z.ZodObject<{
34
+ sessionId: z.ZodString;
35
+ runId: z.ZodString;
36
+ questionId: z.ZodEnum<{
37
+ taskType: "taskType";
38
+ target: "target";
39
+ expected: "expected";
40
+ constraints: "constraints";
41
+ }>;
42
+ value: z.ZodString;
43
+ cwd: z.ZodOptional<z.ZodString>;
44
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
45
+ maxContextChars: z.ZodDefault<z.ZodNumber>;
46
+ }, z.core.$strict>;
47
+ export declare const curatorCheckInputSchema: z.ZodObject<{
48
+ cwd: z.ZodOptional<z.ZodString>;
49
+ workspace: z.ZodOptional<z.ZodString>;
50
+ limit: z.ZodDefault<z.ZodNumber>;
51
+ includeUnready: z.ZodDefault<z.ZodBoolean>;
52
+ }, z.core.$strict>;
53
+ export declare const curatorGlobalizeInputSchema: z.ZodObject<{
54
+ workspace: z.ZodString;
55
+ entryId: z.ZodString;
56
+ expectedRevision: z.ZodNumber;
57
+ confirmed: z.ZodLiteral<true>;
58
+ }, z.core.$strict>;
59
+ export declare const MODEL_TOOL_INPUT_SCHEMAS: {
60
+ readonly task_prepare: z.ZodObject<{
61
+ soulRead: z.ZodLiteral<true>;
62
+ requestId: z.ZodString;
63
+ task: z.ZodString;
64
+ cwd: z.ZodOptional<z.ZodString>;
65
+ profileHints: z.ZodOptional<z.ZodObject<{
66
+ taskType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
67
+ build: "build";
68
+ debug: "debug";
69
+ research: "research";
70
+ review: "review";
71
+ devops: "devops";
72
+ writing: "writing";
73
+ analysis: "analysis";
74
+ }>>>;
75
+ target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ expected: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ constraints: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ }, z.core.$strict>>;
79
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
80
+ client: z.ZodOptional<z.ZodObject<{
81
+ kind: z.ZodOptional<z.ZodString>;
82
+ version: z.ZodOptional<z.ZodString>;
83
+ sessionId: z.ZodOptional<z.ZodString>;
84
+ }, z.core.$strict>>;
85
+ maxContextChars: z.ZodDefault<z.ZodNumber>;
86
+ }, z.core.$strict>;
87
+ readonly task_answer: z.ZodObject<{
88
+ sessionId: z.ZodString;
89
+ runId: z.ZodString;
90
+ questionId: z.ZodEnum<{
91
+ taskType: "taskType";
92
+ target: "target";
93
+ expected: "expected";
94
+ constraints: "constraints";
95
+ }>;
96
+ value: z.ZodString;
97
+ cwd: z.ZodOptional<z.ZodString>;
98
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
99
+ maxContextChars: z.ZodDefault<z.ZodNumber>;
100
+ }, z.core.$strict>;
101
+ readonly enno_plan_submit: z.ZodObject<{
102
+ runId: z.ZodString;
103
+ workspace: z.ZodOptional<z.ZodString>;
104
+ orchestrationId: z.ZodOptional<z.ZodString>;
105
+ resumeToken: z.ZodOptional<z.ZodString>;
106
+ expectedRevision: z.ZodNumber;
107
+ idempotencyKey: z.ZodString;
108
+ advisoryRoundDigest: z.ZodOptional<z.ZodString>;
109
+ advisoryDisposition: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
111
+ [x: string]: string;
112
+ }>>;
113
+ disposition: z.ZodEnum<{
114
+ unavailable: "unavailable";
115
+ adopted: "adopted";
116
+ not_adopted: "not_adopted";
117
+ }>;
118
+ rationale: z.ZodString;
119
+ }, z.core.$strict>>>;
120
+ scope: z.ZodArray<z.ZodString>;
121
+ exclusions: z.ZodArray<z.ZodString>;
122
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
123
+ id: z.ZodString;
124
+ description: z.ZodString;
125
+ }, z.core.$strict>>;
126
+ workPlan: z.ZodObject<{
127
+ objective: z.ZodString;
128
+ units: z.ZodArray<z.ZodObject<{
129
+ id: z.ZodString;
130
+ objective: z.ZodString;
131
+ scope: z.ZodArray<z.ZodString>;
132
+ dependencies: z.ZodArray<z.ZodString>;
133
+ skillNames: z.ZodArray<z.ZodString>;
134
+ expertRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
135
+ id: z.ZodEnum<{
136
+ "ui.interaction.v1": "ui.interaction.v1";
137
+ "ui.async.v1": "ui.async.v1";
138
+ "ui.forms.v1": "ui.forms.v1";
139
+ "ui.accessibility.v1": "ui.accessibility.v1";
140
+ "ui.layout.v1": "ui.layout.v1";
141
+ "ui.safety.v1": "ui.safety.v1";
142
+ "code.boundary.v1": "code.boundary.v1";
143
+ "code.domain.v1": "code.domain.v1";
144
+ "code.effects.v1": "code.effects.v1";
145
+ "code.protocol.v1": "code.protocol.v1";
146
+ "code.verification.v1": "code.verification.v1";
147
+ "code.modeling.v1": "code.modeling.v1";
148
+ }>;
149
+ reason: z.ZodString;
150
+ }, z.core.$strict>>>;
151
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
152
+ focusedVerifiers: z.ZodArray<z.ZodObject<{
153
+ cwd: z.ZodString;
154
+ id: z.ZodString;
155
+ kind: z.ZodEnum<{
156
+ build: "build";
157
+ custom: "custom";
158
+ test: "test";
159
+ typecheck: "typecheck";
160
+ lint: "lint";
161
+ }>;
162
+ executable: z.ZodString;
163
+ args: z.ZodArray<z.ZodString>;
164
+ timeoutMs: z.ZodNumber;
165
+ }, z.core.$strict>>;
166
+ routes: z.ZodArray<z.ZodEnum<{
167
+ code: "code";
168
+ docs: "docs";
169
+ test: "test";
170
+ ui: "ui";
171
+ operations: "operations";
172
+ }>>;
173
+ }, z.core.$strict>>;
174
+ }, z.core.$strict>;
175
+ skillRequirements: z.ZodArray<z.ZodObject<{
176
+ name: z.ZodString;
177
+ purposes: z.ZodArray<z.ZodEnum<{
178
+ review: "review";
179
+ implementation: "implementation";
180
+ testing: "testing";
181
+ planning: "planning";
182
+ ui: "ui";
183
+ operations: "operations";
184
+ }>>;
185
+ required: z.ZodBoolean;
186
+ }, z.core.$strict>>;
187
+ finalVerifiers: z.ZodArray<z.ZodObject<{
188
+ cwd: z.ZodString;
189
+ id: z.ZodString;
190
+ kind: z.ZodEnum<{
191
+ build: "build";
192
+ custom: "custom";
193
+ test: "test";
194
+ typecheck: "typecheck";
195
+ lint: "lint";
196
+ }>;
197
+ executable: z.ZodString;
198
+ args: z.ZodArray<z.ZodString>;
199
+ timeoutMs: z.ZodNumber;
200
+ }, z.core.$strict>>;
201
+ maxAttempts: z.ZodDefault<z.ZodNumber>;
202
+ provenance: z.ZodObject<{
203
+ scope: z.ZodEnum<{
204
+ explicit_user: "explicit_user";
205
+ repository_evidence: "repository_evidence";
206
+ inferred: "inferred";
207
+ }>;
208
+ exclusions: z.ZodEnum<{
209
+ explicit_user: "explicit_user";
210
+ repository_evidence: "repository_evidence";
211
+ inferred: "inferred";
212
+ }>;
213
+ acceptanceCriteria: z.ZodEnum<{
214
+ explicit_user: "explicit_user";
215
+ repository_evidence: "repository_evidence";
216
+ inferred: "inferred";
217
+ }>;
218
+ workPlan: z.ZodEnum<{
219
+ explicit_user: "explicit_user";
220
+ repository_evidence: "repository_evidence";
221
+ inferred: "inferred";
222
+ }>;
223
+ skillSet: z.ZodEnum<{
224
+ explicit_user: "explicit_user";
225
+ repository_evidence: "repository_evidence";
226
+ inferred: "inferred";
227
+ }>;
228
+ finalVerifiers: z.ZodEnum<{
229
+ explicit_user: "explicit_user";
230
+ repository_evidence: "repository_evidence";
231
+ inferred: "inferred";
232
+ }>;
233
+ maxAttempts: z.ZodEnum<{
234
+ explicit_user: "explicit_user";
235
+ repository_evidence: "repository_evidence";
236
+ inferred: "inferred";
237
+ }>;
238
+ }, z.core.$strict>;
239
+ recoveryAction: z.ZodOptional<z.ZodEnum<{
240
+ continue_same_plan: "continue_same_plan";
241
+ revise_plan: "revise_plan";
242
+ }>>;
243
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
244
+ }, z.core.$strict>;
245
+ readonly enno_ideal_submit: z.ZodObject<{
246
+ runId: z.ZodString;
247
+ workspace: z.ZodOptional<z.ZodString>;
248
+ orchestrationId: z.ZodOptional<z.ZodString>;
249
+ resumeToken: z.ZodOptional<z.ZodString>;
250
+ expectedRevision: z.ZodNumber;
251
+ idempotencyKey: z.ZodString;
252
+ advisoryRoundDigest: z.ZodOptional<z.ZodString>;
253
+ advisoryDisposition: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
255
+ [x: string]: string;
256
+ }>>;
257
+ disposition: z.ZodEnum<{
258
+ unavailable: "unavailable";
259
+ adopted: "adopted";
260
+ not_adopted: "not_adopted";
261
+ }>;
262
+ rationale: z.ZodString;
263
+ }, z.core.$strict>>>;
264
+ ideal: z.ZodObject<{
265
+ objective: z.ZodString;
266
+ principles: z.ZodArray<z.ZodString>;
267
+ skillContributions: z.ZodArray<z.ZodObject<{
268
+ skillName: z.ZodString;
269
+ contribution: z.ZodString;
270
+ }, z.core.$strict>>;
271
+ successSignals: z.ZodArray<z.ZodString>;
272
+ }, z.core.$strict>;
273
+ }, z.core.$strict>;
274
+ readonly enno_advice_submit: z.ZodObject<{
275
+ runId: z.ZodString;
276
+ workspace: z.ZodOptional<z.ZodString>;
277
+ orchestrationId: z.ZodOptional<z.ZodString>;
278
+ resumeToken: z.ZodOptional<z.ZodString>;
279
+ expectedRevision: z.ZodNumber;
280
+ mutationRevision: z.ZodNumber;
281
+ idempotencyKey: z.ZodString;
282
+ phase: z.ZodEnum<{
283
+ ideal: "ideal";
284
+ planning: "planning";
285
+ final_review: "final_review";
286
+ }>;
287
+ allowlistedContext: z.ZodDiscriminatedUnion<[z.ZodObject<{
288
+ phase: z.ZodLiteral<"ideal">;
289
+ objective: z.ZodString;
290
+ constraints: z.ZodArray<z.ZodString>;
291
+ expectedOutcome: z.ZodString;
292
+ successSignals: z.ZodArray<z.ZodString>;
293
+ skillTrust: z.ZodArray<z.ZodObject<{
294
+ name: z.ZodString;
295
+ source: z.ZodEnum<{
296
+ unavailable: "unavailable";
297
+ local: "local";
298
+ imported_fresh: "imported_fresh";
299
+ external_reference: "external_reference";
300
+ }>;
301
+ required: z.ZodBoolean;
302
+ trustStatus: z.ZodEnum<{
303
+ unavailable: "unavailable";
304
+ available: "available";
305
+ reference_only: "reference_only";
306
+ }>;
307
+ }, z.core.$strict>>;
308
+ }, z.core.$strict>, z.ZodObject<{
309
+ phase: z.ZodLiteral<"planning">;
310
+ idealObjective: z.ZodString;
311
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
312
+ planningConstraints: z.ZodArray<z.ZodString>;
313
+ skillAvailability: z.ZodArray<z.ZodObject<{
314
+ name: z.ZodString;
315
+ source: z.ZodEnum<{
316
+ unavailable: "unavailable";
317
+ local: "local";
318
+ imported_fresh: "imported_fresh";
319
+ external_reference: "external_reference";
320
+ }>;
321
+ required: z.ZodBoolean;
322
+ trustStatus: z.ZodEnum<{
323
+ unavailable: "unavailable";
324
+ available: "available";
325
+ reference_only: "reference_only";
326
+ }>;
327
+ }, z.core.$strict>>;
328
+ }, z.core.$strict>, z.ZodObject<{
329
+ phase: z.ZodLiteral<"final_review">;
330
+ workPlanSummary: z.ZodString;
331
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
332
+ id: z.ZodString;
333
+ description: z.ZodString;
334
+ }, z.core.$strict>>;
335
+ workUnitOutcomes: z.ZodArray<z.ZodObject<{
336
+ id: z.ZodString;
337
+ objective: z.ZodString;
338
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
339
+ routes: z.ZodArray<z.ZodEnum<{
340
+ code: "code";
341
+ docs: "docs";
342
+ test: "test";
343
+ ui: "ui";
344
+ operations: "operations";
345
+ }>>;
346
+ status: z.ZodEnum<{
347
+ completed: "completed";
348
+ failed: "failed";
349
+ blocked: "blocked";
350
+ }>;
351
+ summary: z.ZodString;
352
+ mutated: z.ZodBoolean;
353
+ changedPaths: z.ZodArray<z.ZodString>;
354
+ }, z.core.$strict>>;
355
+ changedPaths: z.ZodArray<z.ZodString>;
356
+ verifierEvidence: z.ZodArray<z.ZodObject<{
357
+ id: z.ZodString;
358
+ kind: z.ZodEnum<{
359
+ build: "build";
360
+ custom: "custom";
361
+ test: "test";
362
+ typecheck: "typecheck";
363
+ lint: "lint";
364
+ }>;
365
+ executable: z.ZodString;
366
+ args: z.ZodArray<z.ZodString>;
367
+ directory: z.ZodString;
368
+ timeoutMs: z.ZodNumber;
369
+ status: z.ZodEnum<{
370
+ timeout: "timeout";
371
+ failed: "failed";
372
+ passed: "passed";
373
+ spawn_failed: "spawn_failed";
374
+ }>;
375
+ exitCode: z.ZodNullable<z.ZodNumber>;
376
+ signal: z.ZodNullable<z.ZodString>;
377
+ stdoutDigest: z.ZodString;
378
+ stderrDigest: z.ZodString;
379
+ stdoutPreview: z.ZodString;
380
+ stderrPreview: z.ZodString;
381
+ repositoryStatePolicyVersion: z.ZodNullable<z.ZodNumber>;
382
+ repositoryStateDigest: z.ZodNullable<z.ZodString>;
383
+ }, z.core.$strict>>;
384
+ freshnessMarker: z.ZodString;
385
+ evidenceSetDigest: z.ZodString;
386
+ repositoryStateDigest: z.ZodString;
387
+ evidenceFreshnessPolicyVersion: z.ZodNumber;
388
+ }, z.core.$strict>], "phase">;
389
+ contributions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
390
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
391
+ [x: string]: string;
392
+ }>>;
393
+ outcome: z.ZodLiteral<"completed">;
394
+ summary: z.ZodString;
395
+ recommendations: z.ZodDefault<z.ZodArray<z.ZodString>>;
396
+ risks: z.ZodDefault<z.ZodArray<z.ZodString>>;
397
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
398
+ path: z.ZodString;
399
+ statement: z.ZodString;
400
+ }, z.core.$strict>>>;
401
+ }, z.core.$strict>, z.ZodObject<{
402
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
403
+ [x: string]: string;
404
+ }>>;
405
+ outcome: z.ZodEnum<{
406
+ timeout: "timeout";
407
+ unavailable: "unavailable";
408
+ failed: "failed";
409
+ }>;
410
+ reasonCode: z.ZodEnum<{
411
+ invalid_response: "invalid_response";
412
+ unsafe_output: "unsafe_output";
413
+ host_read_only_unavailable: "host_read_only_unavailable";
414
+ host_execution_failed: "host_execution_failed";
415
+ host_timeout: "host_timeout";
416
+ }>;
417
+ }, z.core.$strict>]>>;
418
+ }, z.core.$strict>;
419
+ readonly enno_advice_read: z.ZodObject<{
420
+ runId: z.ZodString;
421
+ workspace: z.ZodOptional<z.ZodString>;
422
+ orchestrationId: z.ZodOptional<z.ZodString>;
423
+ resumeToken: z.ZodOptional<z.ZodString>;
424
+ expectedRevision: z.ZodNumber;
425
+ advisoryRoundDigest: z.ZodString;
426
+ }, z.core.$strict>;
427
+ readonly enno_answer: z.ZodObject<{
428
+ runId: z.ZodString;
429
+ workspace: z.ZodOptional<z.ZodString>;
430
+ orchestrationId: z.ZodOptional<z.ZodString>;
431
+ resumeToken: z.ZodOptional<z.ZodString>;
432
+ expectedRevision: z.ZodNumber;
433
+ idempotencyKey: z.ZodString;
434
+ action: z.ZodEnum<{
435
+ approve: "approve";
436
+ revise: "revise";
437
+ cancel: "cancel";
438
+ }>;
439
+ requestedChanges: z.ZodOptional<z.ZodString>;
440
+ }, z.core.$strict>;
441
+ readonly enno_work_report: z.ZodObject<{
442
+ runId: z.ZodString;
443
+ workspace: z.ZodOptional<z.ZodString>;
444
+ orchestrationId: z.ZodOptional<z.ZodString>;
445
+ resumeToken: z.ZodOptional<z.ZodString>;
446
+ expectedRevision: z.ZodNumber;
447
+ idempotencyKey: z.ZodString;
448
+ leaseToken: z.ZodOptional<z.ZodString>;
449
+ routeEpoch: z.ZodOptional<z.ZodNumber>;
450
+ workUnitId: z.ZodString;
451
+ result: z.ZodObject<{
452
+ outcome: z.ZodEnum<{
453
+ completed: "completed";
454
+ failed: "failed";
455
+ blocked: "blocked";
456
+ }>;
457
+ summary: z.ZodString;
458
+ mutated: z.ZodBoolean;
459
+ changedPaths: z.ZodArray<z.ZodString>;
460
+ }, z.core.$strict>;
461
+ }, z.core.$strict>;
462
+ readonly enno_verify_prepare: z.ZodObject<{
463
+ runId: z.ZodString;
464
+ workspace: z.ZodOptional<z.ZodString>;
465
+ orchestrationId: z.ZodOptional<z.ZodString>;
466
+ resumeToken: z.ZodOptional<z.ZodString>;
467
+ expectedRevision: z.ZodNumber;
468
+ idempotencyKey: z.ZodString;
469
+ }, z.core.$strict>;
470
+ readonly enno_finish: z.ZodObject<{
471
+ runId: z.ZodString;
472
+ workspace: z.ZodOptional<z.ZodString>;
473
+ orchestrationId: z.ZodOptional<z.ZodString>;
474
+ resumeToken: z.ZodOptional<z.ZodString>;
475
+ expectedRevision: z.ZodNumber;
476
+ idempotencyKey: z.ZodString;
477
+ advisoryRoundDigest: z.ZodOptional<z.ZodString>;
478
+ advisoryDisposition: z.ZodOptional<z.ZodArray<z.ZodObject<{
479
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
480
+ [x: string]: string;
481
+ }>>;
482
+ disposition: z.ZodEnum<{
483
+ unavailable: "unavailable";
484
+ adopted: "adopted";
485
+ not_adopted: "not_adopted";
486
+ }>;
487
+ rationale: z.ZodString;
488
+ }, z.core.$strict>>>;
489
+ review: z.ZodObject<{
490
+ decision: z.ZodEnum<{
491
+ accept: "accept";
492
+ replan: "replan";
493
+ }>;
494
+ summary: z.ZodString;
495
+ }, z.core.$strict>;
496
+ }, z.core.$strict>;
497
+ readonly enno_meditation_submit: z.ZodObject<{
498
+ runId: z.ZodString;
499
+ workspace: z.ZodOptional<z.ZodString>;
500
+ orchestrationId: z.ZodOptional<z.ZodString>;
501
+ resumeToken: z.ZodOptional<z.ZodString>;
502
+ expectedRevision: z.ZodNumber;
503
+ idempotencyKey: z.ZodString;
504
+ meditation: z.ZodObject<{
505
+ summary: z.ZodString;
506
+ inspectedPaths: z.ZodArray<z.ZodString>;
507
+ deletionCandidates: z.ZodArray<z.ZodObject<{
508
+ kind: z.ZodEnum<{
509
+ function: "function";
510
+ test: "test";
511
+ }>;
512
+ path: z.ZodString;
513
+ name: z.ZodString;
514
+ reason: z.ZodString;
515
+ evidence: z.ZodArray<z.ZodString>;
516
+ }, z.core.$strict>>;
517
+ }, z.core.$strict>;
518
+ }, z.core.$strict>;
519
+ readonly curator_check: z.ZodObject<{
520
+ cwd: z.ZodOptional<z.ZodString>;
521
+ workspace: z.ZodOptional<z.ZodString>;
522
+ limit: z.ZodDefault<z.ZodNumber>;
523
+ includeUnready: z.ZodDefault<z.ZodBoolean>;
524
+ }, z.core.$strict>;
525
+ readonly curator_globalize: z.ZodObject<{
526
+ workspace: z.ZodString;
527
+ entryId: z.ZodString;
528
+ expectedRevision: z.ZodNumber;
529
+ confirmed: z.ZodLiteral<true>;
530
+ }, z.core.$strict>;
531
+ readonly memory_checkpoint: z.ZodObject<{
532
+ cwd: z.ZodOptional<z.ZodString>;
533
+ memories: z.ZodOptional<z.ZodArray<z.ZodObject<{
534
+ kind: z.ZodEnum<{
535
+ fact: "fact";
536
+ decision: "decision";
537
+ lesson: "lesson";
538
+ preference: "preference";
539
+ reference: "reference";
540
+ }>;
541
+ title: z.ZodString;
542
+ body: z.ZodString;
543
+ summary: z.ZodOptional<z.ZodString>;
544
+ scope: z.ZodDefault<z.ZodEnum<{
545
+ global: "global";
546
+ project: "project";
547
+ }>>;
548
+ retrievalScope: z.ZodOptional<z.ZodEnum<{
549
+ "project-only": "project-only";
550
+ ecosystem: "ecosystem";
551
+ global: "global";
552
+ }>>;
553
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
554
+ confidence: z.ZodDefault<z.ZodNumber>;
555
+ memoryClass: z.ZodOptional<z.ZodEnum<{
556
+ preference: "preference";
557
+ reference: "reference";
558
+ "implementation-pattern": "implementation-pattern";
559
+ troubleshooting: "troubleshooting";
560
+ "tool-usage": "tool-usage";
561
+ "extension-usage": "extension-usage";
562
+ configuration: "configuration";
563
+ workflow: "workflow";
564
+ gotcha: "gotcha";
565
+ }>>;
566
+ applicability: z.ZodOptional<z.ZodObject<{
567
+ languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
568
+ frameworks: z.ZodOptional<z.ZodArray<z.ZodObject<{
569
+ name: z.ZodString;
570
+ version: z.ZodOptional<z.ZodString>;
571
+ }, z.core.$strict>>>;
572
+ databases: z.ZodOptional<z.ZodArray<z.ZodString>>;
573
+ runtimes: z.ZodOptional<z.ZodArray<z.ZodString>>;
574
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
+ platforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
576
+ }, z.core.$strict>>;
577
+ signals: z.ZodOptional<z.ZodObject<{
578
+ symbols: z.ZodOptional<z.ZodArray<z.ZodString>>;
579
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
580
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
581
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
582
+ commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
583
+ }, z.core.$strict>>;
584
+ portableReason: z.ZodOptional<z.ZodString>;
585
+ }, z.core.$strict>>>;
586
+ runId: z.ZodOptional<z.ZodString>;
587
+ deliveryId: z.ZodOptional<z.ZodString>;
588
+ outcome: z.ZodOptional<z.ZodEnum<{
589
+ completed: "completed";
590
+ failed: "failed";
591
+ cancelled: "cancelled";
592
+ interrupted: "interrupted";
593
+ }>>;
594
+ feedback: z.ZodOptional<z.ZodArray<z.ZodObject<{
595
+ entryId: z.ZodString;
596
+ entryRevision: z.ZodNumber;
597
+ verdict: z.ZodEnum<{
598
+ helpful: "helpful";
599
+ irrelevant: "irrelevant";
600
+ stale: "stale";
601
+ conflicting: "conflicting";
602
+ }>;
603
+ comment: z.ZodOptional<z.ZodString>;
604
+ }, z.core.$strict>>>;
605
+ evidence: z.ZodOptional<z.ZodObject<{
606
+ changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
607
+ errorSignatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
608
+ commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
609
+ executable: z.ZodString;
610
+ classification: z.ZodOptional<z.ZodString>;
611
+ exitCode: z.ZodOptional<z.ZodNumber>;
612
+ outcome: z.ZodEnum<{
613
+ unknown: "unknown";
614
+ failed: "failed";
615
+ passed: "passed";
616
+ }>;
617
+ digest: z.ZodOptional<z.ZodString>;
618
+ }, z.core.$strict>>>;
619
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
620
+ runner: z.ZodString;
621
+ target: z.ZodOptional<z.ZodString>;
622
+ outcome: z.ZodEnum<{
623
+ unknown: "unknown";
624
+ failed: "failed";
625
+ passed: "passed";
626
+ }>;
627
+ digest: z.ZodOptional<z.ZodString>;
628
+ }, z.core.$strict>>>;
629
+ verification: z.ZodOptional<z.ZodObject<{
630
+ outcome: z.ZodEnum<{
631
+ unknown: "unknown";
632
+ failed: "failed";
633
+ stale: "stale";
634
+ fresh: "fresh";
635
+ }>;
636
+ }, z.core.$strict>>;
637
+ }, z.core.$strict>>;
638
+ }, z.core.$strict>;
639
+ };
640
+ export interface ModelToolContract {
641
+ readonly name: ModelToolOperationName;
642
+ readonly owner: ModelToolOwner;
643
+ readonly exposure: ModelToolExposure;
644
+ readonly inputSchema: z.ZodType;
645
+ readonly hostOwnedFields: readonly string[];
646
+ }
647
+ export declare const MODEL_TOOL_CONTRACTS: readonly [{
648
+ readonly name: "task_prepare";
649
+ readonly owner: "kiokuko-core";
650
+ readonly exposure: "host-only";
651
+ readonly inputSchema: z.ZodObject<{
652
+ soulRead: z.ZodLiteral<true>;
653
+ requestId: z.ZodString;
654
+ task: z.ZodString;
655
+ cwd: z.ZodOptional<z.ZodString>;
656
+ profileHints: z.ZodOptional<z.ZodObject<{
657
+ taskType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
658
+ build: "build";
659
+ debug: "debug";
660
+ research: "research";
661
+ review: "review";
662
+ devops: "devops";
663
+ writing: "writing";
664
+ analysis: "analysis";
665
+ }>>>;
666
+ target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
667
+ expected: z.ZodOptional<z.ZodNullable<z.ZodString>>;
668
+ constraints: z.ZodOptional<z.ZodNullable<z.ZodString>>;
669
+ }, z.core.$strict>>;
670
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
671
+ client: z.ZodOptional<z.ZodObject<{
672
+ kind: z.ZodOptional<z.ZodString>;
673
+ version: z.ZodOptional<z.ZodString>;
674
+ sessionId: z.ZodOptional<z.ZodString>;
675
+ }, z.core.$strict>>;
676
+ maxContextChars: z.ZodDefault<z.ZodNumber>;
677
+ }, z.core.$strict>;
678
+ readonly hostOwnedFields: readonly ["soulRead", "requestId", "task", "cwd", "profileHints", "capabilities", "client", "maxContextChars"];
679
+ }, {
680
+ readonly name: "task_answer";
681
+ readonly owner: "kiokuko-core";
682
+ readonly exposure: "host-only";
683
+ readonly inputSchema: z.ZodObject<{
684
+ sessionId: z.ZodString;
685
+ runId: z.ZodString;
686
+ questionId: z.ZodEnum<{
687
+ taskType: "taskType";
688
+ target: "target";
689
+ expected: "expected";
690
+ constraints: "constraints";
691
+ }>;
692
+ value: z.ZodString;
693
+ cwd: z.ZodOptional<z.ZodString>;
694
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
695
+ maxContextChars: z.ZodDefault<z.ZodNumber>;
696
+ }, z.core.$strict>;
697
+ readonly hostOwnedFields: readonly ["sessionId", "runId", "questionId", "value", "cwd", "capabilities", "maxContextChars"];
698
+ }, {
699
+ readonly name: "enno_plan_submit";
700
+ readonly owner: "kiokuko-core";
701
+ readonly exposure: "model-facing";
702
+ readonly inputSchema: z.ZodObject<{
703
+ runId: z.ZodString;
704
+ workspace: z.ZodOptional<z.ZodString>;
705
+ orchestrationId: z.ZodOptional<z.ZodString>;
706
+ resumeToken: z.ZodOptional<z.ZodString>;
707
+ expectedRevision: z.ZodNumber;
708
+ idempotencyKey: z.ZodString;
709
+ advisoryRoundDigest: z.ZodOptional<z.ZodString>;
710
+ advisoryDisposition: z.ZodOptional<z.ZodArray<z.ZodObject<{
711
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
712
+ [x: string]: string;
713
+ }>>;
714
+ disposition: z.ZodEnum<{
715
+ unavailable: "unavailable";
716
+ adopted: "adopted";
717
+ not_adopted: "not_adopted";
718
+ }>;
719
+ rationale: z.ZodString;
720
+ }, z.core.$strict>>>;
721
+ scope: z.ZodArray<z.ZodString>;
722
+ exclusions: z.ZodArray<z.ZodString>;
723
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
724
+ id: z.ZodString;
725
+ description: z.ZodString;
726
+ }, z.core.$strict>>;
727
+ workPlan: z.ZodObject<{
728
+ objective: z.ZodString;
729
+ units: z.ZodArray<z.ZodObject<{
730
+ id: z.ZodString;
731
+ objective: z.ZodString;
732
+ scope: z.ZodArray<z.ZodString>;
733
+ dependencies: z.ZodArray<z.ZodString>;
734
+ skillNames: z.ZodArray<z.ZodString>;
735
+ expertRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
736
+ id: z.ZodEnum<{
737
+ "ui.interaction.v1": "ui.interaction.v1";
738
+ "ui.async.v1": "ui.async.v1";
739
+ "ui.forms.v1": "ui.forms.v1";
740
+ "ui.accessibility.v1": "ui.accessibility.v1";
741
+ "ui.layout.v1": "ui.layout.v1";
742
+ "ui.safety.v1": "ui.safety.v1";
743
+ "code.boundary.v1": "code.boundary.v1";
744
+ "code.domain.v1": "code.domain.v1";
745
+ "code.effects.v1": "code.effects.v1";
746
+ "code.protocol.v1": "code.protocol.v1";
747
+ "code.verification.v1": "code.verification.v1";
748
+ "code.modeling.v1": "code.modeling.v1";
749
+ }>;
750
+ reason: z.ZodString;
751
+ }, z.core.$strict>>>;
752
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
753
+ focusedVerifiers: z.ZodArray<z.ZodObject<{
754
+ cwd: z.ZodString;
755
+ id: z.ZodString;
756
+ kind: z.ZodEnum<{
757
+ build: "build";
758
+ custom: "custom";
759
+ test: "test";
760
+ typecheck: "typecheck";
761
+ lint: "lint";
762
+ }>;
763
+ executable: z.ZodString;
764
+ args: z.ZodArray<z.ZodString>;
765
+ timeoutMs: z.ZodNumber;
766
+ }, z.core.$strict>>;
767
+ routes: z.ZodArray<z.ZodEnum<{
768
+ code: "code";
769
+ docs: "docs";
770
+ test: "test";
771
+ ui: "ui";
772
+ operations: "operations";
773
+ }>>;
774
+ }, z.core.$strict>>;
775
+ }, z.core.$strict>;
776
+ skillRequirements: z.ZodArray<z.ZodObject<{
777
+ name: z.ZodString;
778
+ purposes: z.ZodArray<z.ZodEnum<{
779
+ review: "review";
780
+ implementation: "implementation";
781
+ testing: "testing";
782
+ planning: "planning";
783
+ ui: "ui";
784
+ operations: "operations";
785
+ }>>;
786
+ required: z.ZodBoolean;
787
+ }, z.core.$strict>>;
788
+ finalVerifiers: z.ZodArray<z.ZodObject<{
789
+ cwd: z.ZodString;
790
+ id: z.ZodString;
791
+ kind: z.ZodEnum<{
792
+ build: "build";
793
+ custom: "custom";
794
+ test: "test";
795
+ typecheck: "typecheck";
796
+ lint: "lint";
797
+ }>;
798
+ executable: z.ZodString;
799
+ args: z.ZodArray<z.ZodString>;
800
+ timeoutMs: z.ZodNumber;
801
+ }, z.core.$strict>>;
802
+ maxAttempts: z.ZodDefault<z.ZodNumber>;
803
+ provenance: z.ZodObject<{
804
+ scope: z.ZodEnum<{
805
+ explicit_user: "explicit_user";
806
+ repository_evidence: "repository_evidence";
807
+ inferred: "inferred";
808
+ }>;
809
+ exclusions: z.ZodEnum<{
810
+ explicit_user: "explicit_user";
811
+ repository_evidence: "repository_evidence";
812
+ inferred: "inferred";
813
+ }>;
814
+ acceptanceCriteria: z.ZodEnum<{
815
+ explicit_user: "explicit_user";
816
+ repository_evidence: "repository_evidence";
817
+ inferred: "inferred";
818
+ }>;
819
+ workPlan: z.ZodEnum<{
820
+ explicit_user: "explicit_user";
821
+ repository_evidence: "repository_evidence";
822
+ inferred: "inferred";
823
+ }>;
824
+ skillSet: z.ZodEnum<{
825
+ explicit_user: "explicit_user";
826
+ repository_evidence: "repository_evidence";
827
+ inferred: "inferred";
828
+ }>;
829
+ finalVerifiers: z.ZodEnum<{
830
+ explicit_user: "explicit_user";
831
+ repository_evidence: "repository_evidence";
832
+ inferred: "inferred";
833
+ }>;
834
+ maxAttempts: z.ZodEnum<{
835
+ explicit_user: "explicit_user";
836
+ repository_evidence: "repository_evidence";
837
+ inferred: "inferred";
838
+ }>;
839
+ }, z.core.$strict>;
840
+ recoveryAction: z.ZodOptional<z.ZodEnum<{
841
+ continue_same_plan: "continue_same_plan";
842
+ revise_plan: "revise_plan";
843
+ }>>;
844
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
845
+ }, z.core.$strict>;
846
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "idempotencyKey", "advisoryRoundDigest", "advisoryDisposition", "recoveryAction", "capabilities"];
847
+ }, {
848
+ readonly name: "enno_ideal_submit";
849
+ readonly owner: "kiokuko-core";
850
+ readonly exposure: "model-facing";
851
+ readonly inputSchema: z.ZodObject<{
852
+ runId: z.ZodString;
853
+ workspace: z.ZodOptional<z.ZodString>;
854
+ orchestrationId: z.ZodOptional<z.ZodString>;
855
+ resumeToken: z.ZodOptional<z.ZodString>;
856
+ expectedRevision: z.ZodNumber;
857
+ idempotencyKey: z.ZodString;
858
+ advisoryRoundDigest: z.ZodOptional<z.ZodString>;
859
+ advisoryDisposition: z.ZodOptional<z.ZodArray<z.ZodObject<{
860
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
861
+ [x: string]: string;
862
+ }>>;
863
+ disposition: z.ZodEnum<{
864
+ unavailable: "unavailable";
865
+ adopted: "adopted";
866
+ not_adopted: "not_adopted";
867
+ }>;
868
+ rationale: z.ZodString;
869
+ }, z.core.$strict>>>;
870
+ ideal: z.ZodObject<{
871
+ objective: z.ZodString;
872
+ principles: z.ZodArray<z.ZodString>;
873
+ skillContributions: z.ZodArray<z.ZodObject<{
874
+ skillName: z.ZodString;
875
+ contribution: z.ZodString;
876
+ }, z.core.$strict>>;
877
+ successSignals: z.ZodArray<z.ZodString>;
878
+ }, z.core.$strict>;
879
+ }, z.core.$strict>;
880
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "idempotencyKey", "advisoryRoundDigest", "advisoryDisposition"];
881
+ }, {
882
+ readonly name: "enno_advice_submit";
883
+ readonly owner: "kiokuko-core";
884
+ readonly exposure: "host-only";
885
+ readonly inputSchema: z.ZodObject<{
886
+ runId: z.ZodString;
887
+ workspace: z.ZodOptional<z.ZodString>;
888
+ orchestrationId: z.ZodOptional<z.ZodString>;
889
+ resumeToken: z.ZodOptional<z.ZodString>;
890
+ expectedRevision: z.ZodNumber;
891
+ mutationRevision: z.ZodNumber;
892
+ idempotencyKey: z.ZodString;
893
+ phase: z.ZodEnum<{
894
+ ideal: "ideal";
895
+ planning: "planning";
896
+ final_review: "final_review";
897
+ }>;
898
+ allowlistedContext: z.ZodDiscriminatedUnion<[z.ZodObject<{
899
+ phase: z.ZodLiteral<"ideal">;
900
+ objective: z.ZodString;
901
+ constraints: z.ZodArray<z.ZodString>;
902
+ expectedOutcome: z.ZodString;
903
+ successSignals: z.ZodArray<z.ZodString>;
904
+ skillTrust: z.ZodArray<z.ZodObject<{
905
+ name: z.ZodString;
906
+ source: z.ZodEnum<{
907
+ unavailable: "unavailable";
908
+ local: "local";
909
+ imported_fresh: "imported_fresh";
910
+ external_reference: "external_reference";
911
+ }>;
912
+ required: z.ZodBoolean;
913
+ trustStatus: z.ZodEnum<{
914
+ unavailable: "unavailable";
915
+ available: "available";
916
+ reference_only: "reference_only";
917
+ }>;
918
+ }, z.core.$strict>>;
919
+ }, z.core.$strict>, z.ZodObject<{
920
+ phase: z.ZodLiteral<"planning">;
921
+ idealObjective: z.ZodString;
922
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
923
+ planningConstraints: z.ZodArray<z.ZodString>;
924
+ skillAvailability: z.ZodArray<z.ZodObject<{
925
+ name: z.ZodString;
926
+ source: z.ZodEnum<{
927
+ unavailable: "unavailable";
928
+ local: "local";
929
+ imported_fresh: "imported_fresh";
930
+ external_reference: "external_reference";
931
+ }>;
932
+ required: z.ZodBoolean;
933
+ trustStatus: z.ZodEnum<{
934
+ unavailable: "unavailable";
935
+ available: "available";
936
+ reference_only: "reference_only";
937
+ }>;
938
+ }, z.core.$strict>>;
939
+ }, z.core.$strict>, z.ZodObject<{
940
+ phase: z.ZodLiteral<"final_review">;
941
+ workPlanSummary: z.ZodString;
942
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
943
+ id: z.ZodString;
944
+ description: z.ZodString;
945
+ }, z.core.$strict>>;
946
+ workUnitOutcomes: z.ZodArray<z.ZodObject<{
947
+ id: z.ZodString;
948
+ objective: z.ZodString;
949
+ acceptanceCriteria: z.ZodArray<z.ZodString>;
950
+ routes: z.ZodArray<z.ZodEnum<{
951
+ code: "code";
952
+ docs: "docs";
953
+ test: "test";
954
+ ui: "ui";
955
+ operations: "operations";
956
+ }>>;
957
+ status: z.ZodEnum<{
958
+ completed: "completed";
959
+ failed: "failed";
960
+ blocked: "blocked";
961
+ }>;
962
+ summary: z.ZodString;
963
+ mutated: z.ZodBoolean;
964
+ changedPaths: z.ZodArray<z.ZodString>;
965
+ }, z.core.$strict>>;
966
+ changedPaths: z.ZodArray<z.ZodString>;
967
+ verifierEvidence: z.ZodArray<z.ZodObject<{
968
+ id: z.ZodString;
969
+ kind: z.ZodEnum<{
970
+ build: "build";
971
+ custom: "custom";
972
+ test: "test";
973
+ typecheck: "typecheck";
974
+ lint: "lint";
975
+ }>;
976
+ executable: z.ZodString;
977
+ args: z.ZodArray<z.ZodString>;
978
+ directory: z.ZodString;
979
+ timeoutMs: z.ZodNumber;
980
+ status: z.ZodEnum<{
981
+ timeout: "timeout";
982
+ failed: "failed";
983
+ passed: "passed";
984
+ spawn_failed: "spawn_failed";
985
+ }>;
986
+ exitCode: z.ZodNullable<z.ZodNumber>;
987
+ signal: z.ZodNullable<z.ZodString>;
988
+ stdoutDigest: z.ZodString;
989
+ stderrDigest: z.ZodString;
990
+ stdoutPreview: z.ZodString;
991
+ stderrPreview: z.ZodString;
992
+ repositoryStatePolicyVersion: z.ZodNullable<z.ZodNumber>;
993
+ repositoryStateDigest: z.ZodNullable<z.ZodString>;
994
+ }, z.core.$strict>>;
995
+ freshnessMarker: z.ZodString;
996
+ evidenceSetDigest: z.ZodString;
997
+ repositoryStateDigest: z.ZodString;
998
+ evidenceFreshnessPolicyVersion: z.ZodNumber;
999
+ }, z.core.$strict>], "phase">;
1000
+ contributions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1001
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
1002
+ [x: string]: string;
1003
+ }>>;
1004
+ outcome: z.ZodLiteral<"completed">;
1005
+ summary: z.ZodString;
1006
+ recommendations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1007
+ risks: z.ZodDefault<z.ZodArray<z.ZodString>>;
1008
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
1009
+ path: z.ZodString;
1010
+ statement: z.ZodString;
1011
+ }, z.core.$strict>>>;
1012
+ }, z.core.$strict>, z.ZodObject<{
1013
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
1014
+ [x: string]: string;
1015
+ }>>;
1016
+ outcome: z.ZodEnum<{
1017
+ timeout: "timeout";
1018
+ unavailable: "unavailable";
1019
+ failed: "failed";
1020
+ }>;
1021
+ reasonCode: z.ZodEnum<{
1022
+ invalid_response: "invalid_response";
1023
+ unsafe_output: "unsafe_output";
1024
+ host_read_only_unavailable: "host_read_only_unavailable";
1025
+ host_execution_failed: "host_execution_failed";
1026
+ host_timeout: "host_timeout";
1027
+ }>;
1028
+ }, z.core.$strict>]>>;
1029
+ }, z.core.$strict>;
1030
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "mutationRevision", "idempotencyKey", "phase", "allowlistedContext", "contributions"];
1031
+ }, {
1032
+ readonly name: "enno_advice_read";
1033
+ readonly owner: "kiokuko-core";
1034
+ readonly exposure: "host-only";
1035
+ readonly inputSchema: z.ZodObject<{
1036
+ runId: z.ZodString;
1037
+ workspace: z.ZodOptional<z.ZodString>;
1038
+ orchestrationId: z.ZodOptional<z.ZodString>;
1039
+ resumeToken: z.ZodOptional<z.ZodString>;
1040
+ expectedRevision: z.ZodNumber;
1041
+ advisoryRoundDigest: z.ZodString;
1042
+ }, z.core.$strict>;
1043
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "advisoryRoundDigest"];
1044
+ }, {
1045
+ readonly name: "enno_answer";
1046
+ readonly owner: "kiokuko-core";
1047
+ readonly exposure: "host-only";
1048
+ readonly inputSchema: z.ZodObject<{
1049
+ runId: z.ZodString;
1050
+ workspace: z.ZodOptional<z.ZodString>;
1051
+ orchestrationId: z.ZodOptional<z.ZodString>;
1052
+ resumeToken: z.ZodOptional<z.ZodString>;
1053
+ expectedRevision: z.ZodNumber;
1054
+ idempotencyKey: z.ZodString;
1055
+ action: z.ZodEnum<{
1056
+ approve: "approve";
1057
+ revise: "revise";
1058
+ cancel: "cancel";
1059
+ }>;
1060
+ requestedChanges: z.ZodOptional<z.ZodString>;
1061
+ }, z.core.$strict>;
1062
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "idempotencyKey", "action", "requestedChanges"];
1063
+ }, {
1064
+ readonly name: "enno_work_report";
1065
+ readonly owner: "kiokuko-core";
1066
+ readonly exposure: "model-facing";
1067
+ readonly inputSchema: z.ZodObject<{
1068
+ runId: z.ZodString;
1069
+ workspace: z.ZodOptional<z.ZodString>;
1070
+ orchestrationId: z.ZodOptional<z.ZodString>;
1071
+ resumeToken: z.ZodOptional<z.ZodString>;
1072
+ expectedRevision: z.ZodNumber;
1073
+ idempotencyKey: z.ZodString;
1074
+ leaseToken: z.ZodOptional<z.ZodString>;
1075
+ routeEpoch: z.ZodOptional<z.ZodNumber>;
1076
+ workUnitId: z.ZodString;
1077
+ result: z.ZodObject<{
1078
+ outcome: z.ZodEnum<{
1079
+ completed: "completed";
1080
+ failed: "failed";
1081
+ blocked: "blocked";
1082
+ }>;
1083
+ summary: z.ZodString;
1084
+ mutated: z.ZodBoolean;
1085
+ changedPaths: z.ZodArray<z.ZodString>;
1086
+ }, z.core.$strict>;
1087
+ }, z.core.$strict>;
1088
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "idempotencyKey", "leaseToken", "routeEpoch", "workUnitId"];
1089
+ }, {
1090
+ readonly name: "enno_verify_prepare";
1091
+ readonly owner: "kiokuko-core";
1092
+ readonly exposure: "host-only";
1093
+ readonly inputSchema: z.ZodObject<{
1094
+ runId: z.ZodString;
1095
+ workspace: z.ZodOptional<z.ZodString>;
1096
+ orchestrationId: z.ZodOptional<z.ZodString>;
1097
+ resumeToken: z.ZodOptional<z.ZodString>;
1098
+ expectedRevision: z.ZodNumber;
1099
+ idempotencyKey: z.ZodString;
1100
+ }, z.core.$strict>;
1101
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "idempotencyKey"];
1102
+ }, {
1103
+ readonly name: "enno_finish";
1104
+ readonly owner: "kiokuko-core";
1105
+ readonly exposure: "model-facing";
1106
+ readonly inputSchema: z.ZodObject<{
1107
+ runId: z.ZodString;
1108
+ workspace: z.ZodOptional<z.ZodString>;
1109
+ orchestrationId: z.ZodOptional<z.ZodString>;
1110
+ resumeToken: z.ZodOptional<z.ZodString>;
1111
+ expectedRevision: z.ZodNumber;
1112
+ idempotencyKey: z.ZodString;
1113
+ advisoryRoundDigest: z.ZodOptional<z.ZodString>;
1114
+ advisoryDisposition: z.ZodOptional<z.ZodArray<z.ZodObject<{
1115
+ slotId: z.ZodPipe<z.ZodString, z.ZodEnum<{
1116
+ [x: string]: string;
1117
+ }>>;
1118
+ disposition: z.ZodEnum<{
1119
+ unavailable: "unavailable";
1120
+ adopted: "adopted";
1121
+ not_adopted: "not_adopted";
1122
+ }>;
1123
+ rationale: z.ZodString;
1124
+ }, z.core.$strict>>>;
1125
+ review: z.ZodObject<{
1126
+ decision: z.ZodEnum<{
1127
+ accept: "accept";
1128
+ replan: "replan";
1129
+ }>;
1130
+ summary: z.ZodString;
1131
+ }, z.core.$strict>;
1132
+ }, z.core.$strict>;
1133
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "idempotencyKey", "advisoryRoundDigest", "advisoryDisposition"];
1134
+ }, {
1135
+ readonly name: "enno_meditation_submit";
1136
+ readonly owner: "kiokuko-core";
1137
+ readonly exposure: "model-facing";
1138
+ readonly inputSchema: z.ZodObject<{
1139
+ runId: z.ZodString;
1140
+ workspace: z.ZodOptional<z.ZodString>;
1141
+ orchestrationId: z.ZodOptional<z.ZodString>;
1142
+ resumeToken: z.ZodOptional<z.ZodString>;
1143
+ expectedRevision: z.ZodNumber;
1144
+ idempotencyKey: z.ZodString;
1145
+ meditation: z.ZodObject<{
1146
+ summary: z.ZodString;
1147
+ inspectedPaths: z.ZodArray<z.ZodString>;
1148
+ deletionCandidates: z.ZodArray<z.ZodObject<{
1149
+ kind: z.ZodEnum<{
1150
+ function: "function";
1151
+ test: "test";
1152
+ }>;
1153
+ path: z.ZodString;
1154
+ name: z.ZodString;
1155
+ reason: z.ZodString;
1156
+ evidence: z.ZodArray<z.ZodString>;
1157
+ }, z.core.$strict>>;
1158
+ }, z.core.$strict>;
1159
+ }, z.core.$strict>;
1160
+ readonly hostOwnedFields: readonly ["runId", "workspace", "orchestrationId", "resumeToken", "expectedRevision", "idempotencyKey"];
1161
+ }, {
1162
+ readonly name: "curator_check";
1163
+ readonly owner: "kiokuko-core";
1164
+ readonly exposure: "model-facing";
1165
+ readonly inputSchema: z.ZodObject<{
1166
+ cwd: z.ZodOptional<z.ZodString>;
1167
+ workspace: z.ZodOptional<z.ZodString>;
1168
+ limit: z.ZodDefault<z.ZodNumber>;
1169
+ includeUnready: z.ZodDefault<z.ZodBoolean>;
1170
+ }, z.core.$strict>;
1171
+ readonly hostOwnedFields: readonly ["cwd", "workspace"];
1172
+ }, {
1173
+ readonly name: "curator_globalize";
1174
+ readonly owner: "kiokuko-core";
1175
+ readonly exposure: "host-only";
1176
+ readonly inputSchema: z.ZodObject<{
1177
+ workspace: z.ZodString;
1178
+ entryId: z.ZodString;
1179
+ expectedRevision: z.ZodNumber;
1180
+ confirmed: z.ZodLiteral<true>;
1181
+ }, z.core.$strict>;
1182
+ readonly hostOwnedFields: readonly ["workspace", "entryId", "expectedRevision", "confirmed"];
1183
+ }, {
1184
+ readonly name: "memory_checkpoint";
1185
+ readonly owner: "kiokuko-core";
1186
+ readonly exposure: "model-facing";
1187
+ readonly inputSchema: z.ZodObject<{
1188
+ cwd: z.ZodOptional<z.ZodString>;
1189
+ memories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1190
+ kind: z.ZodEnum<{
1191
+ fact: "fact";
1192
+ decision: "decision";
1193
+ lesson: "lesson";
1194
+ preference: "preference";
1195
+ reference: "reference";
1196
+ }>;
1197
+ title: z.ZodString;
1198
+ body: z.ZodString;
1199
+ summary: z.ZodOptional<z.ZodString>;
1200
+ scope: z.ZodDefault<z.ZodEnum<{
1201
+ global: "global";
1202
+ project: "project";
1203
+ }>>;
1204
+ retrievalScope: z.ZodOptional<z.ZodEnum<{
1205
+ "project-only": "project-only";
1206
+ ecosystem: "ecosystem";
1207
+ global: "global";
1208
+ }>>;
1209
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1210
+ confidence: z.ZodDefault<z.ZodNumber>;
1211
+ memoryClass: z.ZodOptional<z.ZodEnum<{
1212
+ preference: "preference";
1213
+ reference: "reference";
1214
+ "implementation-pattern": "implementation-pattern";
1215
+ troubleshooting: "troubleshooting";
1216
+ "tool-usage": "tool-usage";
1217
+ "extension-usage": "extension-usage";
1218
+ configuration: "configuration";
1219
+ workflow: "workflow";
1220
+ gotcha: "gotcha";
1221
+ }>>;
1222
+ applicability: z.ZodOptional<z.ZodObject<{
1223
+ languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
1224
+ frameworks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1225
+ name: z.ZodString;
1226
+ version: z.ZodOptional<z.ZodString>;
1227
+ }, z.core.$strict>>>;
1228
+ databases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1229
+ runtimes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1230
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1231
+ platforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
1232
+ }, z.core.$strict>>;
1233
+ signals: z.ZodOptional<z.ZodObject<{
1234
+ symbols: z.ZodOptional<z.ZodArray<z.ZodString>>;
1235
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1236
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1237
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
1238
+ commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1239
+ }, z.core.$strict>>;
1240
+ portableReason: z.ZodOptional<z.ZodString>;
1241
+ }, z.core.$strict>>>;
1242
+ runId: z.ZodOptional<z.ZodString>;
1243
+ deliveryId: z.ZodOptional<z.ZodString>;
1244
+ outcome: z.ZodOptional<z.ZodEnum<{
1245
+ completed: "completed";
1246
+ failed: "failed";
1247
+ cancelled: "cancelled";
1248
+ interrupted: "interrupted";
1249
+ }>>;
1250
+ feedback: z.ZodOptional<z.ZodArray<z.ZodObject<{
1251
+ entryId: z.ZodString;
1252
+ entryRevision: z.ZodNumber;
1253
+ verdict: z.ZodEnum<{
1254
+ helpful: "helpful";
1255
+ irrelevant: "irrelevant";
1256
+ stale: "stale";
1257
+ conflicting: "conflicting";
1258
+ }>;
1259
+ comment: z.ZodOptional<z.ZodString>;
1260
+ }, z.core.$strict>>>;
1261
+ evidence: z.ZodOptional<z.ZodObject<{
1262
+ changedPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1263
+ errorSignatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
1264
+ commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
1265
+ executable: z.ZodString;
1266
+ classification: z.ZodOptional<z.ZodString>;
1267
+ exitCode: z.ZodOptional<z.ZodNumber>;
1268
+ outcome: z.ZodEnum<{
1269
+ unknown: "unknown";
1270
+ failed: "failed";
1271
+ passed: "passed";
1272
+ }>;
1273
+ digest: z.ZodOptional<z.ZodString>;
1274
+ }, z.core.$strict>>>;
1275
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1276
+ runner: z.ZodString;
1277
+ target: z.ZodOptional<z.ZodString>;
1278
+ outcome: z.ZodEnum<{
1279
+ unknown: "unknown";
1280
+ failed: "failed";
1281
+ passed: "passed";
1282
+ }>;
1283
+ digest: z.ZodOptional<z.ZodString>;
1284
+ }, z.core.$strict>>>;
1285
+ verification: z.ZodOptional<z.ZodObject<{
1286
+ outcome: z.ZodEnum<{
1287
+ unknown: "unknown";
1288
+ failed: "failed";
1289
+ stale: "stale";
1290
+ fresh: "fresh";
1291
+ }>;
1292
+ }, z.core.$strict>>;
1293
+ }, z.core.$strict>>;
1294
+ }, z.core.$strict>;
1295
+ readonly hostOwnedFields: readonly ["cwd", "runId", "deliveryId"];
1296
+ }];
1297
+ //# sourceMappingURL=contracts.d.ts.map