pulseed 0.6.5 → 0.6.6

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 (2925) hide show
  1. package/README.md +105 -86
  2. package/dist/adapters/datasources/artifact-metric-datasource.d.ts +1 -1
  3. package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -1
  4. package/dist/adapters/datasources/artifact-metric-datasource.js +2 -248
  5. package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -1
  6. package/dist/adapters/datasources/artifact-metric-discovery.d.ts +44 -0
  7. package/dist/adapters/datasources/artifact-metric-discovery.d.ts.map +1 -0
  8. package/dist/adapters/datasources/artifact-metric-discovery.js +256 -0
  9. package/dist/adapters/datasources/artifact-metric-discovery.js.map +1 -0
  10. package/dist/adapters/datasources/mcp-datasource.d.ts.map +1 -1
  11. package/dist/adapters/datasources/mcp-datasource.js +2 -4
  12. package/dist/adapters/datasources/mcp-datasource.js.map +1 -1
  13. package/dist/adapters/datasources/shell-datasource.d.ts.map +1 -1
  14. package/dist/adapters/datasources/shell-datasource.js +9 -2
  15. package/dist/adapters/datasources/shell-datasource.js.map +1 -1
  16. package/dist/adapters/mcp-client-manager.d.ts +1 -0
  17. package/dist/adapters/mcp-client-manager.d.ts.map +1 -1
  18. package/dist/adapters/mcp-client-manager.js +8 -3
  19. package/dist/adapters/mcp-client-manager.js.map +1 -1
  20. package/dist/adapters/types/a2a.d.ts +6 -6
  21. package/dist/adapters/types/mcp.d.ts +6 -6
  22. package/dist/base/config/global-config.d.ts +65 -6
  23. package/dist/base/config/global-config.d.ts.map +1 -1
  24. package/dist/base/config/global-config.js +73 -24
  25. package/dist/base/config/global-config.js.map +1 -1
  26. package/dist/base/config/identity-loader.d.ts +1 -1
  27. package/dist/base/config/identity-loader.d.ts.map +1 -1
  28. package/dist/base/config/identity-loader.js +3 -6
  29. package/dist/base/config/identity-loader.js.map +1 -1
  30. package/dist/base/config/tool-metadata.js +39 -39
  31. package/dist/base/config/tool-metadata.js.map +1 -1
  32. package/dist/base/llm/anthropic-runtime.d.ts +3 -0
  33. package/dist/base/llm/anthropic-runtime.d.ts.map +1 -0
  34. package/dist/base/llm/anthropic-runtime.js +4 -0
  35. package/dist/base/llm/anthropic-runtime.js.map +1 -0
  36. package/dist/base/llm/base-llm-client.d.ts.map +1 -1
  37. package/dist/base/llm/base-llm-client.js +15 -3
  38. package/dist/base/llm/base-llm-client.js.map +1 -1
  39. package/dist/base/llm/codex-llm-client.d.ts +13 -2
  40. package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
  41. package/dist/base/llm/codex-llm-client.js +435 -38
  42. package/dist/base/llm/codex-llm-client.js.map +1 -1
  43. package/dist/base/llm/llm-client.d.ts +27 -4
  44. package/dist/base/llm/llm-client.d.ts.map +1 -1
  45. package/dist/base/llm/llm-client.js +43 -10
  46. package/dist/base/llm/llm-client.js.map +1 -1
  47. package/dist/base/llm/ollama-client.d.ts.map +1 -1
  48. package/dist/base/llm/ollama-client.js +6 -1
  49. package/dist/base/llm/ollama-client.js.map +1 -1
  50. package/dist/base/llm/openai-client.d.ts +1 -0
  51. package/dist/base/llm/openai-client.d.ts.map +1 -1
  52. package/dist/base/llm/openai-client.js +239 -20
  53. package/dist/base/llm/openai-client.js.map +1 -1
  54. package/dist/base/llm/provider-config-models.d.ts +13 -0
  55. package/dist/base/llm/provider-config-models.d.ts.map +1 -0
  56. package/dist/base/llm/provider-config-models.js +37 -0
  57. package/dist/base/llm/provider-config-models.js.map +1 -0
  58. package/dist/base/llm/provider-config-resolution.d.ts +18 -0
  59. package/dist/base/llm/provider-config-resolution.d.ts.map +1 -0
  60. package/dist/base/llm/provider-config-resolution.js +116 -0
  61. package/dist/base/llm/provider-config-resolution.js.map +1 -0
  62. package/dist/base/llm/provider-config-types.d.ts +103 -0
  63. package/dist/base/llm/provider-config-types.d.ts.map +1 -0
  64. package/dist/base/llm/provider-config-types.js +2 -0
  65. package/dist/base/llm/provider-config-types.js.map +1 -0
  66. package/dist/base/llm/provider-config.d.ts +3 -111
  67. package/dist/base/llm/provider-config.d.ts.map +1 -1
  68. package/dist/base/llm/provider-config.js +22 -160
  69. package/dist/base/llm/provider-config.js.map +1 -1
  70. package/dist/base/llm/provider-factory.d.ts +10 -0
  71. package/dist/base/llm/provider-factory.d.ts.map +1 -1
  72. package/dist/base/llm/provider-factory.js +26 -1
  73. package/dist/base/llm/provider-factory.js.map +1 -1
  74. package/dist/base/state/legacy-archived-goal-recovery.d.ts +8 -0
  75. package/dist/base/state/legacy-archived-goal-recovery.d.ts.map +1 -0
  76. package/dist/base/state/legacy-archived-goal-recovery.js +29 -0
  77. package/dist/base/state/legacy-archived-goal-recovery.js.map +1 -0
  78. package/dist/base/state/legacy-state-manager-wal-recovery.d.ts +13 -0
  79. package/dist/base/state/legacy-state-manager-wal-recovery.d.ts.map +1 -0
  80. package/dist/base/state/legacy-state-manager-wal-recovery.js +102 -0
  81. package/dist/base/state/legacy-state-manager-wal-recovery.js.map +1 -0
  82. package/dist/base/state/{state-wal.d.ts → legacy-state-wal.d.ts} +7 -1
  83. package/dist/base/state/legacy-state-wal.d.ts.map +1 -0
  84. package/dist/base/state/{state-wal.js → legacy-state-wal.js} +50 -2
  85. package/dist/base/state/legacy-state-wal.js.map +1 -0
  86. package/dist/base/state/state-manager.d.ts +73 -44
  87. package/dist/base/state/state-manager.d.ts.map +1 -1
  88. package/dist/base/state/state-manager.js +492 -265
  89. package/dist/base/state/state-manager.js.map +1 -1
  90. package/dist/base/state/state-snapshot.d.ts.map +1 -1
  91. package/dist/base/state/state-snapshot.js +16 -3
  92. package/dist/base/state/state-snapshot.js.map +1 -1
  93. package/dist/base/types/time-horizon.d.ts +1 -0
  94. package/dist/base/types/time-horizon.d.ts.map +1 -1
  95. package/dist/base/types/time-horizon.js +20 -19
  96. package/dist/base/types/time-horizon.js.map +1 -1
  97. package/dist/base/utils/abort-reason.d.ts +11 -0
  98. package/dist/base/utils/abort-reason.d.ts.map +1 -0
  99. package/dist/base/utils/abort-reason.js +17 -0
  100. package/dist/base/utils/abort-reason.js.map +1 -0
  101. package/dist/base/utils/event-spool.d.ts +26 -0
  102. package/dist/base/utils/event-spool.d.ts.map +1 -0
  103. package/dist/base/utils/event-spool.js +149 -0
  104. package/dist/base/utils/event-spool.js.map +1 -0
  105. package/dist/base/utils/execFileNoThrow.d.ts.map +1 -1
  106. package/dist/base/utils/execFileNoThrow.js +21 -3
  107. package/dist/base/utils/execFileNoThrow.js.map +1 -1
  108. package/dist/base/utils/json-io.d.ts +25 -1
  109. package/dist/base/utils/json-io.d.ts.map +1 -1
  110. package/dist/base/utils/json-io.js +144 -3
  111. package/dist/base/utils/json-io.js.map +1 -1
  112. package/dist/base/utils/package-metadata.d.ts +10 -0
  113. package/dist/base/utils/package-metadata.d.ts.map +1 -0
  114. package/dist/base/utils/package-metadata.js +40 -0
  115. package/dist/base/utils/package-metadata.js.map +1 -0
  116. package/dist/base/utils/paths.d.ts +2 -0
  117. package/dist/base/utils/paths.d.ts.map +1 -1
  118. package/dist/base/utils/paths.js +6 -0
  119. package/dist/base/utils/paths.js.map +1 -1
  120. package/dist/base/utils/process-pid.d.ts +15 -0
  121. package/dist/base/utils/process-pid.d.ts.map +1 -0
  122. package/dist/base/utils/process-pid.js +45 -0
  123. package/dist/base/utils/process-pid.js.map +1 -0
  124. package/dist/base/utils/usage-counter.d.ts +14 -0
  125. package/dist/base/utils/usage-counter.d.ts.map +1 -0
  126. package/dist/base/utils/usage-counter.js +50 -0
  127. package/dist/base/utils/usage-counter.js.map +1 -0
  128. package/dist/grounding/contracts.d.ts +2 -0
  129. package/dist/grounding/contracts.d.ts.map +1 -1
  130. package/dist/grounding/profile-surface.d.ts +30 -0
  131. package/dist/grounding/profile-surface.d.ts.map +1 -0
  132. package/dist/grounding/profile-surface.js +257 -0
  133. package/dist/grounding/profile-surface.js.map +1 -0
  134. package/dist/grounding/providers/helpers.d.ts +6 -1
  135. package/dist/grounding/providers/helpers.d.ts.map +1 -1
  136. package/dist/grounding/providers/helpers.js +11 -3
  137. package/dist/grounding/providers/helpers.js.map +1 -1
  138. package/dist/grounding/providers/knowledge-provider.d.ts.map +1 -1
  139. package/dist/grounding/providers/knowledge-provider.js +22 -5
  140. package/dist/grounding/providers/knowledge-provider.js.map +1 -1
  141. package/dist/grounding/providers/session-history-provider.d.ts.map +1 -1
  142. package/dist/grounding/providers/session-history-provider.js +12 -22
  143. package/dist/grounding/providers/session-history-provider.js.map +1 -1
  144. package/dist/grounding/providers/soil-provider.d.ts.map +1 -1
  145. package/dist/grounding/providers/soil-provider.js +65 -10
  146. package/dist/grounding/providers/soil-provider.js.map +1 -1
  147. package/dist/grounding/providers/task-state-provider.d.ts.map +1 -1
  148. package/dist/grounding/providers/task-state-provider.js +7 -27
  149. package/dist/grounding/providers/task-state-provider.js.map +1 -1
  150. package/dist/grounding/providers/trust-state-provider.d.ts.map +1 -1
  151. package/dist/grounding/providers/trust-state-provider.js +5 -4
  152. package/dist/grounding/providers/trust-state-provider.js.map +1 -1
  153. package/dist/grounding/surface-contract-source-helpers.d.ts +37 -0
  154. package/dist/grounding/surface-contract-source-helpers.d.ts.map +1 -0
  155. package/dist/grounding/surface-contract-source-helpers.js +58 -0
  156. package/dist/grounding/surface-contract-source-helpers.js.map +1 -0
  157. package/dist/grounding/surface-contracts.d.ts +19531 -0
  158. package/dist/grounding/surface-contracts.d.ts.map +1 -0
  159. package/dist/grounding/surface-contracts.js +1352 -0
  160. package/dist/grounding/surface-contracts.js.map +1 -0
  161. package/dist/index.d.ts +17 -7
  162. package/dist/index.d.ts.map +1 -1
  163. package/dist/index.js +9 -4
  164. package/dist/index.js.map +1 -1
  165. package/dist/interface/chat/chat-agentloop-state-migration.d.ts +14 -0
  166. package/dist/interface/chat/chat-agentloop-state-migration.d.ts.map +1 -0
  167. package/dist/interface/chat/chat-agentloop-state-migration.js +252 -0
  168. package/dist/interface/chat/chat-agentloop-state-migration.js.map +1 -0
  169. package/dist/interface/chat/chat-command-args.d.ts +47 -0
  170. package/dist/interface/chat/chat-command-args.d.ts.map +1 -0
  171. package/dist/interface/chat/chat-command-args.js +134 -0
  172. package/dist/interface/chat/chat-command-args.js.map +1 -0
  173. package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
  174. package/dist/interface/chat/chat-event-state.js +17 -0
  175. package/dist/interface/chat/chat-event-state.js.map +1 -1
  176. package/dist/interface/chat/chat-events.d.ts +23 -11
  177. package/dist/interface/chat/chat-events.d.ts.map +1 -1
  178. package/dist/interface/chat/chat-history.d.ts +18 -8969
  179. package/dist/interface/chat/chat-history.d.ts.map +1 -1
  180. package/dist/interface/chat/chat-history.js +67 -182
  181. package/dist/interface/chat/chat-history.js.map +1 -1
  182. package/dist/interface/chat/chat-runner-command-helpers.d.ts +4 -8
  183. package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -1
  184. package/dist/interface/chat/chat-runner-command-helpers.js +25 -50
  185. package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -1
  186. package/dist/interface/chat/chat-runner-commands.d.ts +2 -9
  187. package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
  188. package/dist/interface/chat/chat-runner-commands.js +112 -254
  189. package/dist/interface/chat/chat-runner-commands.js.map +1 -1
  190. package/dist/interface/chat/chat-runner-contracts.d.ts +34 -3
  191. package/dist/interface/chat/chat-runner-contracts.d.ts.map +1 -1
  192. package/dist/interface/chat/chat-runner-event-bridge.d.ts +35 -21
  193. package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
  194. package/dist/interface/chat/chat-runner-event-bridge.js +406 -71
  195. package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
  196. package/dist/interface/chat/chat-runner-guardrail-status.d.ts +12 -0
  197. package/dist/interface/chat/chat-runner-guardrail-status.d.ts.map +1 -0
  198. package/dist/interface/chat/chat-runner-guardrail-status.js +173 -0
  199. package/dist/interface/chat/chat-runner-guardrail-status.js.map +1 -0
  200. package/dist/interface/chat/chat-runner-routes.d.ts +34 -88
  201. package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
  202. package/dist/interface/chat/chat-runner-routes.js +815 -426
  203. package/dist/interface/chat/chat-runner-routes.js.map +1 -1
  204. package/dist/interface/chat/chat-runner-runtime.d.ts +9 -4
  205. package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -1
  206. package/dist/interface/chat/chat-runner-runtime.js +47 -17
  207. package/dist/interface/chat/chat-runner-runtime.js.map +1 -1
  208. package/dist/interface/chat/chat-runner-setup-format.d.ts +11 -0
  209. package/dist/interface/chat/chat-runner-setup-format.d.ts.map +1 -0
  210. package/dist/interface/chat/chat-runner-setup-format.js +28 -0
  211. package/dist/interface/chat/chat-runner-setup-format.js.map +1 -0
  212. package/dist/interface/chat/chat-runner-state.d.ts +2 -6
  213. package/dist/interface/chat/chat-runner-state.d.ts.map +1 -1
  214. package/dist/interface/chat/chat-runner-state.js +22 -128
  215. package/dist/interface/chat/chat-runner-state.js.map +1 -1
  216. package/dist/interface/chat/chat-runner-support.d.ts +2 -2
  217. package/dist/interface/chat/chat-runner.d.ts +36 -1
  218. package/dist/interface/chat/chat-runner.d.ts.map +1 -1
  219. package/dist/interface/chat/chat-runner.js +449 -188
  220. package/dist/interface/chat/chat-runner.js.map +1 -1
  221. package/dist/interface/chat/chat-session-contracts.d.ts +8872 -0
  222. package/dist/interface/chat/chat-session-contracts.d.ts.map +1 -0
  223. package/dist/interface/chat/chat-session-contracts.js +143 -0
  224. package/dist/interface/chat/chat-session-contracts.js.map +1 -0
  225. package/dist/interface/chat/chat-session-data-store.d.ts +26 -0
  226. package/dist/interface/chat/chat-session-data-store.d.ts.map +1 -0
  227. package/dist/interface/chat/chat-session-data-store.js +227 -0
  228. package/dist/interface/chat/chat-session-data-store.js.map +1 -0
  229. package/dist/interface/chat/chat-session-store.d.ts +8 -3
  230. package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
  231. package/dist/interface/chat/chat-session-store.js +111 -246
  232. package/dist/interface/chat/chat-session-store.js.map +1 -1
  233. package/dist/interface/chat/chat-state-base-dir.d.ts +3 -0
  234. package/dist/interface/chat/chat-state-base-dir.d.ts.map +1 -0
  235. package/dist/interface/chat/chat-state-base-dir.js +17 -0
  236. package/dist/interface/chat/chat-state-base-dir.js.map +1 -0
  237. package/dist/interface/chat/chat-state-service.d.ts.map +1 -1
  238. package/dist/interface/chat/chat-state-service.js +2 -3
  239. package/dist/interface/chat/chat-state-service.js.map +1 -1
  240. package/dist/interface/chat/chat-usage-contracts.d.ts +102 -0
  241. package/dist/interface/chat/chat-usage-contracts.d.ts.map +1 -0
  242. package/dist/interface/chat/chat-usage-contracts.js +17 -0
  243. package/dist/interface/chat/chat-usage-contracts.js.map +1 -0
  244. package/dist/interface/chat/chat-usage.d.ts +12 -0
  245. package/dist/interface/chat/chat-usage.d.ts.map +1 -0
  246. package/dist/interface/chat/chat-usage.js +38 -0
  247. package/dist/interface/chat/chat-usage.js.map +1 -0
  248. package/dist/interface/chat/cross-platform-session-normalization.d.ts +50 -0
  249. package/dist/interface/chat/cross-platform-session-normalization.d.ts.map +1 -0
  250. package/dist/interface/chat/cross-platform-session-normalization.js +134 -0
  251. package/dist/interface/chat/cross-platform-session-normalization.js.map +1 -0
  252. package/dist/interface/chat/cross-platform-session-types.d.ts +105 -0
  253. package/dist/interface/chat/cross-platform-session-types.d.ts.map +1 -0
  254. package/dist/interface/chat/cross-platform-session-types.js +2 -0
  255. package/dist/interface/chat/cross-platform-session-types.js.map +1 -0
  256. package/dist/interface/chat/cross-platform-session.d.ts +12 -101
  257. package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
  258. package/dist/interface/chat/cross-platform-session.js +410 -220
  259. package/dist/interface/chat/cross-platform-session.js.map +1 -1
  260. package/dist/interface/chat/event-subscriber.d.ts.map +1 -1
  261. package/dist/interface/chat/event-subscriber.js +3 -2
  262. package/dist/interface/chat/event-subscriber.js.map +1 -1
  263. package/dist/interface/chat/failure-recovery.d.ts +5 -5
  264. package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
  265. package/dist/interface/chat/failure-recovery.js +23 -18
  266. package/dist/interface/chat/failure-recovery.js.map +1 -1
  267. package/dist/interface/chat/feedback-ingestion.d.ts +17 -0
  268. package/dist/interface/chat/feedback-ingestion.d.ts.map +1 -0
  269. package/dist/interface/chat/feedback-ingestion.js +140 -0
  270. package/dist/interface/chat/feedback-ingestion.js.map +1 -0
  271. package/dist/interface/chat/gateway-progress.d.ts +17 -0
  272. package/dist/interface/chat/gateway-progress.d.ts.map +1 -0
  273. package/dist/interface/chat/gateway-progress.js +2 -0
  274. package/dist/interface/chat/gateway-progress.js.map +1 -0
  275. package/dist/interface/chat/grounding.d.ts.map +1 -1
  276. package/dist/interface/chat/grounding.js +2 -0
  277. package/dist/interface/chat/grounding.js.map +1 -1
  278. package/dist/interface/chat/ingress-router.d.ts +11 -63
  279. package/dist/interface/chat/ingress-router.d.ts.map +1 -1
  280. package/dist/interface/chat/ingress-router.js +90 -142
  281. package/dist/interface/chat/ingress-router.js.map +1 -1
  282. package/dist/interface/chat/ingress-types.d.ts +52 -0
  283. package/dist/interface/chat/ingress-types.d.ts.map +1 -0
  284. package/dist/interface/chat/ingress-types.js +2 -0
  285. package/dist/interface/chat/ingress-types.js.map +1 -0
  286. package/dist/interface/chat/operation-progress.d.ts +2 -0
  287. package/dist/interface/chat/operation-progress.d.ts.map +1 -1
  288. package/dist/interface/chat/operation-progress.js +1 -0
  289. package/dist/interface/chat/operation-progress.js.map +1 -1
  290. package/dist/interface/chat/recovery-resume.d.ts +33 -0
  291. package/dist/interface/chat/recovery-resume.d.ts.map +1 -0
  292. package/dist/interface/chat/recovery-resume.js +92 -0
  293. package/dist/interface/chat/recovery-resume.js.map +1 -0
  294. package/dist/interface/chat/resume-choice.d.ts +2 -0
  295. package/dist/interface/chat/resume-choice.d.ts.map +1 -0
  296. package/dist/interface/chat/resume-choice.js +10 -0
  297. package/dist/interface/chat/resume-choice.js.map +1 -0
  298. package/dist/interface/chat/runtime-evidence-gate.d.ts +17 -0
  299. package/dist/interface/chat/runtime-evidence-gate.d.ts.map +1 -0
  300. package/dist/interface/chat/runtime-evidence-gate.js +171 -0
  301. package/dist/interface/chat/runtime-evidence-gate.js.map +1 -0
  302. package/dist/interface/chat/seedy-presence-text.d.ts +7 -0
  303. package/dist/interface/chat/seedy-presence-text.d.ts.map +1 -0
  304. package/dist/interface/chat/seedy-presence-text.js +78 -0
  305. package/dist/interface/chat/seedy-presence-text.js.map +1 -0
  306. package/dist/interface/chat/seedy-presence-view-model.d.ts +15 -0
  307. package/dist/interface/chat/seedy-presence-view-model.d.ts.map +1 -0
  308. package/dist/interface/chat/seedy-presence-view-model.js +90 -0
  309. package/dist/interface/chat/seedy-presence-view-model.js.map +1 -0
  310. package/dist/interface/chat/seedy-turn-presence.d.ts +103 -0
  311. package/dist/interface/chat/seedy-turn-presence.d.ts.map +1 -0
  312. package/dist/interface/chat/seedy-turn-presence.js +195 -0
  313. package/dist/interface/chat/seedy-turn-presence.js.map +1 -0
  314. package/dist/interface/chat/setup-config-write.js +1 -1
  315. package/dist/interface/chat/setup-config-write.js.map +1 -1
  316. package/dist/interface/chat/telegram-setup-guidance.d.ts +55 -0
  317. package/dist/interface/chat/telegram-setup-guidance.d.ts.map +1 -0
  318. package/dist/interface/chat/telegram-setup-guidance.js +105 -0
  319. package/dist/interface/chat/telegram-setup-guidance.js.map +1 -0
  320. package/dist/interface/chat/tend-command.d.ts +1 -0
  321. package/dist/interface/chat/tend-command.d.ts.map +1 -1
  322. package/dist/interface/chat/tend-command.js +67 -15
  323. package/dist/interface/chat/tend-command.js.map +1 -1
  324. package/dist/interface/chat/turn-context.d.ts +2 -0
  325. package/dist/interface/chat/turn-context.d.ts.map +1 -1
  326. package/dist/interface/chat/turn-context.js +2 -0
  327. package/dist/interface/chat/turn-context.js.map +1 -1
  328. package/dist/interface/chat/turn-language.d.ts +0 -1
  329. package/dist/interface/chat/turn-language.d.ts.map +1 -1
  330. package/dist/interface/chat/turn-language.js +0 -3
  331. package/dist/interface/chat/turn-language.js.map +1 -1
  332. package/dist/interface/chat/turn-protocol.d.ts +1 -2
  333. package/dist/interface/chat/turn-protocol.d.ts.map +1 -1
  334. package/dist/interface/chat/turn-protocol.js.map +1 -1
  335. package/dist/interface/chat/turn-state.d.ts +22 -0
  336. package/dist/interface/chat/turn-state.d.ts.map +1 -0
  337. package/dist/interface/chat/turn-state.js +2 -0
  338. package/dist/interface/chat/turn-state.js.map +1 -0
  339. package/dist/interface/cli/cli-command-registry.d.ts +6 -6
  340. package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
  341. package/dist/interface/cli/cli-command-registry.js +55 -50
  342. package/dist/interface/cli/cli-command-registry.js.map +1 -1
  343. package/dist/interface/cli/cli-runner.d.ts +2 -2
  344. package/dist/interface/cli/cli-runner.d.ts.map +1 -1
  345. package/dist/interface/cli/cli-runner.js +85 -9
  346. package/dist/interface/cli/cli-runner.js.map +1 -1
  347. package/dist/interface/cli/commands/approval.d.ts +1 -1
  348. package/dist/interface/cli/commands/approval.d.ts.map +1 -1
  349. package/dist/interface/cli/commands/approval.js +2 -33
  350. package/dist/interface/cli/commands/approval.js.map +1 -1
  351. package/dist/interface/cli/commands/config.d.ts +2 -2
  352. package/dist/interface/cli/commands/config.d.ts.map +1 -1
  353. package/dist/interface/cli/commands/config.js +85 -28
  354. package/dist/interface/cli/commands/config.js.map +1 -1
  355. package/dist/interface/cli/commands/daemon-shared.d.ts +4 -7
  356. package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -1
  357. package/dist/interface/cli/commands/daemon-shared.js +46 -52
  358. package/dist/interface/cli/commands/daemon-shared.js.map +1 -1
  359. package/dist/interface/cli/commands/daemon-status-health.d.ts +16 -0
  360. package/dist/interface/cli/commands/daemon-status-health.d.ts.map +1 -0
  361. package/dist/interface/cli/commands/daemon-status-health.js +134 -0
  362. package/dist/interface/cli/commands/daemon-status-health.js.map +1 -0
  363. package/dist/interface/cli/commands/daemon.d.ts +8 -2
  364. package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
  365. package/dist/interface/cli/commands/daemon.js +155 -111
  366. package/dist/interface/cli/commands/daemon.js.map +1 -1
  367. package/dist/interface/cli/commands/display-format.d.ts +8 -0
  368. package/dist/interface/cli/commands/display-format.d.ts.map +1 -0
  369. package/dist/interface/cli/commands/display-format.js +79 -0
  370. package/dist/interface/cli/commands/display-format.js.map +1 -0
  371. package/dist/interface/cli/commands/doctor.d.ts +2 -1
  372. package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
  373. package/dist/interface/cli/commands/doctor.js +172 -80
  374. package/dist/interface/cli/commands/doctor.js.map +1 -1
  375. package/dist/interface/cli/commands/exact-number.d.ts +2 -0
  376. package/dist/interface/cli/commands/exact-number.d.ts.map +1 -0
  377. package/dist/interface/cli/commands/exact-number.js +9 -0
  378. package/dist/interface/cli/commands/exact-number.js.map +1 -0
  379. package/dist/interface/cli/commands/gateway.d.ts +1 -1
  380. package/dist/interface/cli/commands/gateway.d.ts.map +1 -1
  381. package/dist/interface/cli/commands/gateway.js +40 -1
  382. package/dist/interface/cli/commands/gateway.js.map +1 -1
  383. package/dist/interface/cli/commands/goal-dispatch.d.ts.map +1 -1
  384. package/dist/interface/cli/commands/goal-dispatch.js +9 -2
  385. package/dist/interface/cli/commands/goal-dispatch.js.map +1 -1
  386. package/dist/interface/cli/commands/goal-read.d.ts +8 -2
  387. package/dist/interface/cli/commands/goal-read.d.ts.map +1 -1
  388. package/dist/interface/cli/commands/goal-read.js +143 -70
  389. package/dist/interface/cli/commands/goal-read.js.map +1 -1
  390. package/dist/interface/cli/commands/goal-utils.d.ts +5 -12
  391. package/dist/interface/cli/commands/goal-utils.d.ts.map +1 -1
  392. package/dist/interface/cli/commands/goal-utils.js +27 -20
  393. package/dist/interface/cli/commands/goal-utils.js.map +1 -1
  394. package/dist/interface/cli/commands/goal-write.d.ts +2 -2
  395. package/dist/interface/cli/commands/goal-write.d.ts.map +1 -1
  396. package/dist/interface/cli/commands/goal-write.js +17 -7
  397. package/dist/interface/cli/commands/goal-write.js.map +1 -1
  398. package/dist/interface/cli/commands/goal.d.ts +1 -1
  399. package/dist/interface/cli/commands/goal.d.ts.map +1 -1
  400. package/dist/interface/cli/commands/goal.js +1 -1
  401. package/dist/interface/cli/commands/goal.js.map +1 -1
  402. package/dist/interface/cli/commands/install.d.ts +1 -0
  403. package/dist/interface/cli/commands/install.d.ts.map +1 -1
  404. package/dist/interface/cli/commands/install.js +20 -4
  405. package/dist/interface/cli/commands/install.js.map +1 -1
  406. package/dist/interface/cli/commands/logs.d.ts +1 -0
  407. package/dist/interface/cli/commands/logs.d.ts.map +1 -1
  408. package/dist/interface/cli/commands/logs.js +23 -4
  409. package/dist/interface/cli/commands/logs.js.map +1 -1
  410. package/dist/interface/cli/commands/notify.d.ts.map +1 -1
  411. package/dist/interface/cli/commands/notify.js +59 -15
  412. package/dist/interface/cli/commands/notify.js.map +1 -1
  413. package/dist/interface/cli/commands/operator-binding-status.d.ts +2 -0
  414. package/dist/interface/cli/commands/operator-binding-status.d.ts.map +1 -1
  415. package/dist/interface/cli/commands/operator-binding-status.js +191 -14
  416. package/dist/interface/cli/commands/operator-binding-status.js.map +1 -1
  417. package/dist/interface/cli/commands/plugin.d.ts.map +1 -1
  418. package/dist/interface/cli/commands/plugin.js +54 -40
  419. package/dist/interface/cli/commands/plugin.js.map +1 -1
  420. package/dist/interface/cli/commands/profile.d.ts.map +1 -1
  421. package/dist/interface/cli/commands/profile.js +3 -2
  422. package/dist/interface/cli/commands/profile.js.map +1 -1
  423. package/dist/interface/cli/commands/run.d.ts +5 -5
  424. package/dist/interface/cli/commands/run.d.ts.map +1 -1
  425. package/dist/interface/cli/commands/run.js +15 -26
  426. package/dist/interface/cli/commands/run.js.map +1 -1
  427. package/dist/interface/cli/commands/runtime.d.ts.map +1 -1
  428. package/dist/interface/cli/commands/runtime.js +73 -11
  429. package/dist/interface/cli/commands/runtime.js.map +1 -1
  430. package/dist/interface/cli/commands/schedule/cost.d.ts +1 -1
  431. package/dist/interface/cli/commands/schedule/cost.d.ts.map +1 -1
  432. package/dist/interface/cli/commands/schedule/cost.js +9 -22
  433. package/dist/interface/cli/commands/schedule/cost.js.map +1 -1
  434. package/dist/interface/cli/commands/schedule/history.d.ts.map +1 -1
  435. package/dist/interface/cli/commands/schedule/history.js +19 -1
  436. package/dist/interface/cli/commands/schedule/history.js.map +1 -1
  437. package/dist/interface/cli/commands/schedule/shared.d.ts.map +1 -1
  438. package/dist/interface/cli/commands/schedule/shared.js +25 -8
  439. package/dist/interface/cli/commands/schedule/shared.js.map +1 -1
  440. package/dist/interface/cli/commands/schedule.d.ts +1 -1
  441. package/dist/interface/cli/commands/schedule.d.ts.map +1 -1
  442. package/dist/interface/cli/commands/schedule.js +163 -86
  443. package/dist/interface/cli/commands/schedule.js.map +1 -1
  444. package/dist/interface/cli/commands/setup/import/apply.d.ts.map +1 -1
  445. package/dist/interface/cli/commands/setup/import/apply.js +153 -7
  446. package/dist/interface/cli/commands/setup/import/apply.js.map +1 -1
  447. package/dist/interface/cli/commands/setup/import/discovery.js +14 -15
  448. package/dist/interface/cli/commands/setup/import/discovery.js.map +1 -1
  449. package/dist/interface/cli/commands/setup/import/fs-utils.d.ts +4 -0
  450. package/dist/interface/cli/commands/setup/import/fs-utils.d.ts.map +1 -1
  451. package/dist/interface/cli/commands/setup/import/fs-utils.js +20 -2
  452. package/dist/interface/cli/commands/setup/import/fs-utils.js.map +1 -1
  453. package/dist/interface/cli/commands/setup/import/provider.d.ts.map +1 -1
  454. package/dist/interface/cli/commands/setup/import/provider.js +44 -31
  455. package/dist/interface/cli/commands/setup/import/provider.js.map +1 -1
  456. package/dist/interface/cli/commands/setup/import/telegram.d.ts.map +1 -1
  457. package/dist/interface/cli/commands/setup/import/telegram.js +4 -3
  458. package/dist/interface/cli/commands/setup/import/telegram.js.map +1 -1
  459. package/dist/interface/cli/commands/setup/import/types.d.ts +3 -0
  460. package/dist/interface/cli/commands/setup/import/types.d.ts.map +1 -1
  461. package/dist/interface/cli/commands/setup/resident-readiness.d.ts +42 -0
  462. package/dist/interface/cli/commands/setup/resident-readiness.d.ts.map +1 -0
  463. package/dist/interface/cli/commands/setup/resident-readiness.js +79 -0
  464. package/dist/interface/cli/commands/setup/resident-readiness.js.map +1 -0
  465. package/dist/interface/cli/commands/setup/steps-gateway.d.ts +10 -0
  466. package/dist/interface/cli/commands/setup/steps-gateway.d.ts.map +1 -1
  467. package/dist/interface/cli/commands/setup/steps-gateway.js +89 -44
  468. package/dist/interface/cli/commands/setup/steps-gateway.js.map +1 -1
  469. package/dist/interface/cli/commands/setup/steps-runtime.d.ts +1 -0
  470. package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +1 -1
  471. package/dist/interface/cli/commands/setup/steps-runtime.js +29 -18
  472. package/dist/interface/cli/commands/setup/steps-runtime.js.map +1 -1
  473. package/dist/interface/cli/commands/setup-wizard.d.ts +3 -33
  474. package/dist/interface/cli/commands/setup-wizard.d.ts.map +1 -1
  475. package/dist/interface/cli/commands/setup-wizard.js +18 -81
  476. package/dist/interface/cli/commands/setup-wizard.js.map +1 -1
  477. package/dist/interface/cli/commands/skills.d.ts.map +1 -1
  478. package/dist/interface/cli/commands/skills.js +10 -2
  479. package/dist/interface/cli/commands/skills.js.map +1 -1
  480. package/dist/interface/cli/commands/suggest-normalizer.d.ts +7 -3
  481. package/dist/interface/cli/commands/suggest-normalizer.d.ts.map +1 -1
  482. package/dist/interface/cli/commands/suggest-normalizer.js +70 -23
  483. package/dist/interface/cli/commands/suggest-normalizer.js.map +1 -1
  484. package/dist/interface/cli/commands/suggest.d.ts +1 -0
  485. package/dist/interface/cli/commands/suggest.d.ts.map +1 -1
  486. package/dist/interface/cli/commands/suggest.js +40 -10
  487. package/dist/interface/cli/commands/suggest.js.map +1 -1
  488. package/dist/interface/cli/commands/task-read.d.ts +1 -1
  489. package/dist/interface/cli/commands/task-read.d.ts.map +1 -1
  490. package/dist/interface/cli/commands/task-read.js +8 -30
  491. package/dist/interface/cli/commands/task-read.js.map +1 -1
  492. package/dist/interface/cli/commands/telegram-id-parser.d.ts +10 -0
  493. package/dist/interface/cli/commands/telegram-id-parser.d.ts.map +1 -0
  494. package/dist/interface/cli/commands/telegram-id-parser.js +26 -0
  495. package/dist/interface/cli/commands/telegram-id-parser.js.map +1 -0
  496. package/dist/interface/cli/commands/telegram.d.ts +2 -1
  497. package/dist/interface/cli/commands/telegram.d.ts.map +1 -1
  498. package/dist/interface/cli/commands/telegram.js +66 -20
  499. package/dist/interface/cli/commands/telegram.js.map +1 -1
  500. package/dist/interface/cli/commands/usage.d.ts.map +1 -1
  501. package/dist/interface/cli/commands/usage.js +17 -83
  502. package/dist/interface/cli/commands/usage.js.map +1 -1
  503. package/dist/interface/cli/data-source-bootstrap.d.ts +1 -1
  504. package/dist/interface/cli/data-source-bootstrap.d.ts.map +1 -1
  505. package/dist/interface/cli/data-source-bootstrap.js +43 -10
  506. package/dist/interface/cli/data-source-bootstrap.js.map +1 -1
  507. package/dist/interface/cli/datasource-config-file.d.ts +5 -0
  508. package/dist/interface/cli/datasource-config-file.d.ts.map +1 -0
  509. package/dist/interface/cli/datasource-config-file.js +14 -0
  510. package/dist/interface/cli/datasource-config-file.js.map +1 -0
  511. package/dist/interface/cli/ensure-api-key.d.ts.map +1 -1
  512. package/dist/interface/cli/ensure-api-key.js +5 -1
  513. package/dist/interface/cli/ensure-api-key.js.map +1 -1
  514. package/dist/interface/cli/setup.d.ts.map +1 -1
  515. package/dist/interface/cli/setup.js +13 -10
  516. package/dist/interface/cli/setup.js.map +1 -1
  517. package/dist/interface/cli/utils/loop-runner.d.ts +2 -2
  518. package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
  519. package/dist/interface/cli/utils/loop-runner.js +3 -3
  520. package/dist/interface/cli/utils/loop-runner.js.map +1 -1
  521. package/dist/interface/cli/utils.d.ts.map +1 -1
  522. package/dist/interface/cli/utils.js +5 -2
  523. package/dist/interface/cli/utils.js.map +1 -1
  524. package/dist/interface/current-goal-summary.d.ts +20 -0
  525. package/dist/interface/current-goal-summary.d.ts.map +1 -0
  526. package/dist/interface/current-goal-summary.js +197 -0
  527. package/dist/interface/current-goal-summary.js.map +1 -0
  528. package/dist/interface/goal-status-display.d.ts +7 -0
  529. package/dist/interface/goal-status-display.d.ts.map +1 -0
  530. package/dist/interface/goal-status-display.js +48 -0
  531. package/dist/interface/goal-status-display.js.map +1 -0
  532. package/dist/interface/mcp-server/tools.d.ts.map +1 -1
  533. package/dist/interface/mcp-server/tools.js +6 -29
  534. package/dist/interface/mcp-server/tools.js.map +1 -1
  535. package/dist/interface/runtime-budget-summary.d.ts +19 -0
  536. package/dist/interface/runtime-budget-summary.d.ts.map +1 -0
  537. package/dist/interface/runtime-budget-summary.js +157 -0
  538. package/dist/interface/runtime-budget-summary.js.map +1 -0
  539. package/dist/interface/tui/actions.d.ts +7 -0
  540. package/dist/interface/tui/actions.d.ts.map +1 -1
  541. package/dist/interface/tui/actions.js +91 -46
  542. package/dist/interface/tui/actions.js.map +1 -1
  543. package/dist/interface/tui/app-approval.d.ts +4 -0
  544. package/dist/interface/tui/app-approval.d.ts.map +1 -0
  545. package/dist/interface/tui/app-approval.js +53 -0
  546. package/dist/interface/tui/app-approval.js.map +1 -0
  547. package/dist/interface/tui/app-shell.d.ts +18 -0
  548. package/dist/interface/tui/app-shell.d.ts.map +1 -0
  549. package/dist/interface/tui/app-shell.js +47 -0
  550. package/dist/interface/tui/app-shell.js.map +1 -0
  551. package/dist/interface/tui/app.d.ts +4 -6
  552. package/dist/interface/tui/app.d.ts.map +1 -1
  553. package/dist/interface/tui/app.js +81 -77
  554. package/dist/interface/tui/app.js.map +1 -1
  555. package/dist/interface/tui/chat/scroll.d.ts.map +1 -1
  556. package/dist/interface/tui/chat/scroll.js +18 -8
  557. package/dist/interface/tui/chat/scroll.js.map +1 -1
  558. package/dist/interface/tui/chat/suggestions.js +19 -19
  559. package/dist/interface/tui/chat/suggestions.js.map +1 -1
  560. package/dist/interface/tui/chat.d.ts +1 -1
  561. package/dist/interface/tui/chat.d.ts.map +1 -1
  562. package/dist/interface/tui/chat.js +4 -3
  563. package/dist/interface/tui/chat.js.map +1 -1
  564. package/dist/interface/tui/dashboard.d.ts.map +1 -1
  565. package/dist/interface/tui/dashboard.js +2 -2
  566. package/dist/interface/tui/dashboard.js.map +1 -1
  567. package/dist/interface/tui/entry-daemon.d.ts.map +1 -1
  568. package/dist/interface/tui/entry-daemon.js +9 -4
  569. package/dist/interface/tui/entry-daemon.js.map +1 -1
  570. package/dist/interface/tui/entry-deps.d.ts.map +1 -1
  571. package/dist/interface/tui/entry-deps.js +12 -9
  572. package/dist/interface/tui/entry-deps.js.map +1 -1
  573. package/dist/interface/tui/flicker-overlay.d.ts.map +1 -1
  574. package/dist/interface/tui/flicker-overlay.js +5 -4
  575. package/dist/interface/tui/flicker-overlay.js.map +1 -1
  576. package/dist/interface/tui/fullscreen-chat-actions.d.ts +17 -0
  577. package/dist/interface/tui/fullscreen-chat-actions.d.ts.map +1 -0
  578. package/dist/interface/tui/fullscreen-chat-actions.js +98 -0
  579. package/dist/interface/tui/fullscreen-chat-actions.js.map +1 -0
  580. package/dist/interface/tui/fullscreen-chat-composer.d.ts +28 -0
  581. package/dist/interface/tui/fullscreen-chat-composer.d.ts.map +1 -0
  582. package/dist/interface/tui/fullscreen-chat-composer.js +385 -0
  583. package/dist/interface/tui/fullscreen-chat-composer.js.map +1 -0
  584. package/dist/interface/tui/fullscreen-chat-render-types.d.ts +68 -0
  585. package/dist/interface/tui/fullscreen-chat-render-types.d.ts.map +1 -0
  586. package/dist/interface/tui/fullscreen-chat-render-types.js +2 -0
  587. package/dist/interface/tui/fullscreen-chat-render-types.js.map +1 -0
  588. package/dist/interface/tui/fullscreen-chat-render-utils.d.ts +10 -0
  589. package/dist/interface/tui/fullscreen-chat-render-utils.d.ts.map +1 -0
  590. package/dist/interface/tui/fullscreen-chat-render-utils.js +45 -0
  591. package/dist/interface/tui/fullscreen-chat-render-utils.js.map +1 -0
  592. package/dist/interface/tui/fullscreen-chat-render.d.ts +13 -93
  593. package/dist/interface/tui/fullscreen-chat-render.d.ts.map +1 -1
  594. package/dist/interface/tui/fullscreen-chat-render.js +19 -420
  595. package/dist/interface/tui/fullscreen-chat-render.js.map +1 -1
  596. package/dist/interface/tui/fullscreen-chat.d.ts.map +1 -1
  597. package/dist/interface/tui/fullscreen-chat.js +2 -97
  598. package/dist/interface/tui/fullscreen-chat.js.map +1 -1
  599. package/dist/interface/tui/help-overlay.d.ts.map +1 -1
  600. package/dist/interface/tui/help-overlay.js +1 -1
  601. package/dist/interface/tui/help-overlay.js.map +1 -1
  602. package/dist/interface/tui/intent-recognizer.d.ts.map +1 -1
  603. package/dist/interface/tui/intent-recognizer.js +59 -3
  604. package/dist/interface/tui/intent-recognizer.js.map +1 -1
  605. package/dist/interface/tui/markdown-code-highlight.d.ts +7 -0
  606. package/dist/interface/tui/markdown-code-highlight.d.ts.map +1 -0
  607. package/dist/interface/tui/markdown-code-highlight.js +64 -0
  608. package/dist/interface/tui/markdown-code-highlight.js.map +1 -0
  609. package/dist/interface/tui/markdown-inline.d.ts +9 -0
  610. package/dist/interface/tui/markdown-inline.d.ts.map +1 -0
  611. package/dist/interface/tui/markdown-inline.js +86 -0
  612. package/dist/interface/tui/markdown-inline.js.map +1 -0
  613. package/dist/interface/tui/markdown-renderer-types.d.ts +16 -0
  614. package/dist/interface/tui/markdown-renderer-types.d.ts.map +1 -0
  615. package/dist/interface/tui/markdown-renderer-types.js +2 -0
  616. package/dist/interface/tui/markdown-renderer-types.js.map +1 -0
  617. package/dist/interface/tui/markdown-renderer.d.ts +4 -25
  618. package/dist/interface/tui/markdown-renderer.d.ts.map +1 -1
  619. package/dist/interface/tui/markdown-renderer.js +8 -164
  620. package/dist/interface/tui/markdown-renderer.js.map +1 -1
  621. package/dist/interface/tui/report-view.d.ts +2 -1
  622. package/dist/interface/tui/report-view.d.ts.map +1 -1
  623. package/dist/interface/tui/report-view.js +18 -7
  624. package/dist/interface/tui/report-view.js.map +1 -1
  625. package/dist/interface/tui/settings-overlay.js +4 -4
  626. package/dist/interface/tui/settings-overlay.js.map +1 -1
  627. package/dist/interface/tui/use-loop.d.ts +3 -3
  628. package/dist/interface/tui/use-loop.d.ts.map +1 -1
  629. package/dist/interface/tui/use-loop.js +18 -8
  630. package/dist/interface/tui/use-loop.js.map +1 -1
  631. package/dist/interface/usage-counter.d.ts +3 -0
  632. package/dist/interface/usage-counter.d.ts.map +1 -0
  633. package/dist/interface/usage-counter.js +2 -0
  634. package/dist/interface/usage-counter.js.map +1 -0
  635. package/dist/interface/usage-period.d.ts +2 -0
  636. package/dist/interface/usage-period.d.ts.map +1 -0
  637. package/dist/interface/usage-period.js +23 -0
  638. package/dist/interface/usage-period.js.map +1 -0
  639. package/dist/orchestrator/execution/adapter-layer.d.ts +3 -0
  640. package/dist/orchestrator/execution/adapter-layer.d.ts.map +1 -1
  641. package/dist/orchestrator/execution/adapter-layer.js.map +1 -1
  642. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +1 -1
  643. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +1 -0
  644. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +1 -1
  645. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts.map +1 -1
  646. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js +1 -4
  647. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
  648. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +3 -0
  649. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +1 -1
  650. package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +1 -1
  651. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +1 -1
  652. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +22 -3
  653. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +1 -1
  654. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +5 -0
  655. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +1 -1
  656. package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +1 -1
  657. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +6 -0
  658. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -1
  659. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts +37 -0
  660. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts.map +1 -0
  661. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js +206 -0
  662. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js.map +1 -0
  663. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts +1 -1
  664. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts.map +1 -1
  665. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js +6 -12
  666. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js.map +1 -1
  667. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +0 -6
  668. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +1 -1
  669. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +0 -21
  670. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +1 -1
  671. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts +0 -7
  672. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts.map +1 -1
  673. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js +0 -20
  674. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +1 -1
  675. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts +17 -0
  676. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts.map +1 -0
  677. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js +144 -0
  678. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js.map +1 -0
  679. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +1 -1
  680. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +2 -2
  681. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +1 -1
  682. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +0 -9
  683. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -1
  684. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +47 -203
  685. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
  686. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts +11 -0
  687. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts.map +1 -0
  688. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js +63 -0
  689. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js.map +1 -0
  690. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +2 -2
  691. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
  692. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +6 -3
  693. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
  694. package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +1 -1
  695. package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +16 -2
  696. package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +1 -1
  697. package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.d.ts.map +1 -1
  698. package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js +26 -13
  699. package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js.map +1 -1
  700. package/dist/orchestrator/execution/agent-loop/response-item.d.ts +22 -19
  701. package/dist/orchestrator/execution/agent-loop/response-item.d.ts.map +1 -1
  702. package/dist/orchestrator/execution/agent-loop/response-item.js.map +1 -1
  703. package/dist/orchestrator/execution/agent-loop/self-protection.d.ts.map +1 -1
  704. package/dist/orchestrator/execution/agent-loop/self-protection.js +2 -2
  705. package/dist/orchestrator/execution/agent-loop/self-protection.js.map +1 -1
  706. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +1 -1
  707. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +18 -6
  708. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +1 -1
  709. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js +32 -11
  710. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js.map +1 -1
  711. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +1 -1
  712. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +3 -0
  713. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -1
  714. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +2 -0
  715. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +1 -1
  716. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +180 -0
  717. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +1 -1
  718. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +1 -1
  719. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +27 -1
  720. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +1 -1
  721. package/dist/orchestrator/execution/checkpoint-manager.d.ts +0 -3
  722. package/dist/orchestrator/execution/checkpoint-manager.d.ts.map +1 -1
  723. package/dist/orchestrator/execution/checkpoint-manager.js +12 -52
  724. package/dist/orchestrator/execution/checkpoint-manager.js.map +1 -1
  725. package/dist/orchestrator/execution/context/context-budget.d.ts.map +1 -1
  726. package/dist/orchestrator/execution/context/context-budget.js +36 -14
  727. package/dist/orchestrator/execution/context/context-budget.js.map +1 -1
  728. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +1 -1
  729. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +1 -1
  730. package/dist/orchestrator/execution/context/issue-context-fetcher.js +11 -3
  731. package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +1 -1
  732. package/dist/orchestrator/execution/pipeline-executor.d.ts.map +1 -1
  733. package/dist/orchestrator/execution/pipeline-executor.js +3 -5
  734. package/dist/orchestrator/execution/pipeline-executor.js.map +1 -1
  735. package/dist/orchestrator/execution/session-manager.d.ts +4 -7
  736. package/dist/orchestrator/execution/session-manager.d.ts.map +1 -1
  737. package/dist/orchestrator/execution/session-manager.js +8 -38
  738. package/dist/orchestrator/execution/session-manager.js.map +1 -1
  739. package/dist/orchestrator/execution/task/task-artifact-contract.d.ts +1 -0
  740. package/dist/orchestrator/execution/task/task-artifact-contract.d.ts.map +1 -1
  741. package/dist/orchestrator/execution/task/task-artifact-contract.js +49 -3
  742. package/dist/orchestrator/execution/task/task-artifact-contract.js.map +1 -1
  743. package/dist/orchestrator/execution/task/task-diff-capture.d.ts +1 -0
  744. package/dist/orchestrator/execution/task/task-diff-capture.d.ts.map +1 -1
  745. package/dist/orchestrator/execution/task/task-diff-capture.js +92 -3
  746. package/dist/orchestrator/execution/task/task-diff-capture.js.map +1 -1
  747. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +2 -1
  748. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +1 -1
  749. package/dist/orchestrator/execution/task/task-execution-helpers.js +19 -6
  750. package/dist/orchestrator/execution/task/task-execution-helpers.js.map +1 -1
  751. package/dist/orchestrator/execution/task/task-executor.js +6 -6
  752. package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
  753. package/dist/orchestrator/execution/task/task-generation-schema.d.ts +210 -0
  754. package/dist/orchestrator/execution/task/task-generation-schema.d.ts.map +1 -0
  755. package/dist/orchestrator/execution/task/task-generation-schema.js +42 -0
  756. package/dist/orchestrator/execution/task/task-generation-schema.js.map +1 -0
  757. package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts +11 -0
  758. package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts.map +1 -0
  759. package/dist/orchestrator/execution/task/task-generation-workspace-contract.js +149 -0
  760. package/dist/orchestrator/execution/task/task-generation-workspace-contract.js.map +1 -0
  761. package/dist/orchestrator/execution/task/task-generation.d.ts +3 -205
  762. package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
  763. package/dist/orchestrator/execution/task/task-generation.js +72 -87
  764. package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
  765. package/dist/orchestrator/execution/task/task-history-metrics.d.ts +2 -0
  766. package/dist/orchestrator/execution/task/task-history-metrics.d.ts.map +1 -0
  767. package/dist/orchestrator/execution/task/task-history-metrics.js +13 -0
  768. package/dist/orchestrator/execution/task/task-history-metrics.js.map +1 -0
  769. package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts +29 -0
  770. package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts.map +1 -0
  771. package/dist/orchestrator/execution/task/task-lifecycle-policies.js +96 -0
  772. package/dist/orchestrator/execution/task/task-lifecycle-policies.js.map +1 -0
  773. package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
  774. package/dist/orchestrator/execution/task/task-lifecycle-runner.js +34 -3
  775. package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
  776. package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
  777. package/dist/orchestrator/execution/task/task-lifecycle.js +34 -84
  778. package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
  779. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +1 -1
  780. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -1
  781. package/dist/orchestrator/execution/task/task-outcome-ledger.js +7 -73
  782. package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -1
  783. package/dist/orchestrator/execution/task/task-post-execution.d.ts +2 -1
  784. package/dist/orchestrator/execution/task/task-post-execution.d.ts.map +1 -1
  785. package/dist/orchestrator/execution/task/task-post-execution.js +3 -3
  786. package/dist/orchestrator/execution/task/task-post-execution.js.map +1 -1
  787. package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
  788. package/dist/orchestrator/execution/task/task-prompt-builder.js +37 -19
  789. package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
  790. package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts +33 -0
  791. package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts.map +1 -0
  792. package/dist/orchestrator/execution/task/task-verifier-evidence.js +164 -0
  793. package/dist/orchestrator/execution/task/task-verifier-evidence.js.map +1 -0
  794. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +1 -0
  795. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
  796. package/dist/orchestrator/execution/task/task-verifier-rules.js +50 -44
  797. package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
  798. package/dist/orchestrator/execution/task/task-verifier-types.d.ts +1 -1
  799. package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -1
  800. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts +10 -0
  801. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts.map +1 -0
  802. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js +65 -0
  803. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js.map +1 -0
  804. package/dist/orchestrator/execution/task/task-verifier.d.ts +3 -2
  805. package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
  806. package/dist/orchestrator/execution/task/task-verifier.js +98 -258
  807. package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
  808. package/dist/orchestrator/execution/types/session.d.ts +2 -0
  809. package/dist/orchestrator/execution/types/session.d.ts.map +1 -1
  810. package/dist/orchestrator/execution/types/session.js +11 -7
  811. package/dist/orchestrator/execution/types/session.js.map +1 -1
  812. package/dist/orchestrator/execution/types/task-group.d.ts +5 -0
  813. package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -1
  814. package/dist/orchestrator/execution/types/task.d.ts +11 -0
  815. package/dist/orchestrator/execution/types/task.d.ts.map +1 -1
  816. package/dist/orchestrator/execution/types/task.js +2 -0
  817. package/dist/orchestrator/execution/types/task.js.map +1 -1
  818. package/dist/orchestrator/goal/goal-dependency-graph.d.ts +7 -5
  819. package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +1 -1
  820. package/dist/orchestrator/goal/goal-dependency-graph.js +53 -18
  821. package/dist/orchestrator/goal/goal-dependency-graph.js.map +1 -1
  822. package/dist/orchestrator/goal/goal-negotiator.d.ts +5 -1
  823. package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
  824. package/dist/orchestrator/goal/goal-negotiator.js +7 -6
  825. package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
  826. package/dist/orchestrator/goal/goal-refiner.d.ts.map +1 -1
  827. package/dist/orchestrator/goal/goal-refiner.js +15 -8
  828. package/dist/orchestrator/goal/goal-refiner.js.map +1 -1
  829. package/dist/orchestrator/goal/goal-suggest.d.ts +6 -2
  830. package/dist/orchestrator/goal/goal-suggest.d.ts.map +1 -1
  831. package/dist/orchestrator/goal/goal-suggest.js +19 -30
  832. package/dist/orchestrator/goal/goal-suggest.js.map +1 -1
  833. package/dist/orchestrator/goal/milestone-evaluator.d.ts.map +1 -1
  834. package/dist/orchestrator/goal/milestone-evaluator.js +65 -31
  835. package/dist/orchestrator/goal/milestone-evaluator.js.map +1 -1
  836. package/dist/orchestrator/goal/negotiator-context.d.ts.map +1 -1
  837. package/dist/orchestrator/goal/negotiator-context.js +68 -76
  838. package/dist/orchestrator/goal/negotiator-context.js.map +1 -1
  839. package/dist/orchestrator/goal/negotiator-feasibility.d.ts.map +1 -1
  840. package/dist/orchestrator/goal/negotiator-feasibility.js +2 -1
  841. package/dist/orchestrator/goal/negotiator-feasibility.js.map +1 -1
  842. package/dist/orchestrator/goal/types/dependency.d.ts +55 -0
  843. package/dist/orchestrator/goal/types/dependency.d.ts.map +1 -1
  844. package/dist/orchestrator/goal/types/dependency.js +5 -0
  845. package/dist/orchestrator/goal/types/dependency.js.map +1 -1
  846. package/dist/orchestrator/goal/types/goal-refiner.d.ts.map +1 -1
  847. package/dist/orchestrator/goal/types/goal-refiner.js +0 -1
  848. package/dist/orchestrator/goal/types/goal-refiner.js.map +1 -1
  849. package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +1 -1
  850. package/dist/orchestrator/loop/checkpoint-manager-loop.js +6 -9
  851. package/dist/orchestrator/loop/checkpoint-manager-loop.js.map +1 -1
  852. package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js +1 -9
  853. package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js.map +1 -1
  854. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts +13 -0
  855. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts.map +1 -0
  856. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js +65 -0
  857. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js.map +1 -0
  858. package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.d.ts.map +1 -1
  859. package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js +1 -2
  860. package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js.map +1 -1
  861. package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts.map +1 -1
  862. package/dist/orchestrator/loop/durable-loop/iteration-kernel.js +9 -65
  863. package/dist/orchestrator/loop/durable-loop/iteration-kernel.js.map +1 -1
  864. package/dist/orchestrator/loop/durable-loop/learning.js +3 -3
  865. package/dist/orchestrator/loop/durable-loop/learning.js.map +1 -1
  866. package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts +67 -57
  867. package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts.map +1 -1
  868. package/dist/orchestrator/loop/durable-loop/phase-specs.js +33 -26
  869. package/dist/orchestrator/loop/durable-loop/phase-specs.js.map +1 -1
  870. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts +3 -1
  871. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts.map +1 -1
  872. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js +10 -4
  873. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js.map +1 -1
  874. package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js +2 -3
  875. package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js.map +1 -1
  876. package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts +1 -4
  877. package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts.map +1 -1
  878. package/dist/orchestrator/loop/durable-loop/task-cycle.js +32 -12
  879. package/dist/orchestrator/loop/durable-loop/task-cycle.js.map +1 -1
  880. package/dist/orchestrator/loop/iteration-budget.d.ts +11 -1
  881. package/dist/orchestrator/loop/iteration-budget.d.ts.map +1 -1
  882. package/dist/orchestrator/loop/iteration-budget.js +29 -11
  883. package/dist/orchestrator/loop/iteration-budget.js.map +1 -1
  884. package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -1
  885. package/dist/orchestrator/loop/tree-loop-runner.js +18 -8
  886. package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -1
  887. package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +1 -1
  888. package/dist/orchestrator/strategy/cross-goal-portfolio.js +7 -5
  889. package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +1 -1
  890. package/dist/orchestrator/strategy/portfolio-manager.d.ts +7 -1
  891. package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -1
  892. package/dist/orchestrator/strategy/portfolio-manager.js +8 -6
  893. package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -1
  894. package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +6 -5
  895. package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -1
  896. package/dist/orchestrator/strategy/portfolio-rebalance.js +28 -398
  897. package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -1
  898. package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts +18 -0
  899. package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts.map +1 -0
  900. package/dist/orchestrator/strategy/portfolio-wait-observation.js +377 -0
  901. package/dist/orchestrator/strategy/portfolio-wait-observation.js.map +1 -0
  902. package/dist/orchestrator/strategy/strategy-helpers.d.ts +3 -2
  903. package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -1
  904. package/dist/orchestrator/strategy/strategy-helpers.js +5 -17
  905. package/dist/orchestrator/strategy/strategy-helpers.js.map +1 -1
  906. package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
  907. package/dist/orchestrator/strategy/strategy-manager-base.js +5 -10
  908. package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
  909. package/dist/orchestrator/strategy/strategy-manager.d.ts +1 -3
  910. package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -1
  911. package/dist/orchestrator/strategy/strategy-manager.js +23 -44
  912. package/dist/orchestrator/strategy/strategy-manager.js.map +1 -1
  913. package/dist/orchestrator/strategy/strategy-template-registry.d.ts +5 -6
  914. package/dist/orchestrator/strategy/strategy-template-registry.d.ts.map +1 -1
  915. package/dist/orchestrator/strategy/strategy-template-registry.js +10 -25
  916. package/dist/orchestrator/strategy/strategy-template-registry.js.map +1 -1
  917. package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts +14 -0
  918. package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts.map +1 -0
  919. package/dist/orchestrator/strategy/strategy-template-state-migration.js +136 -0
  920. package/dist/orchestrator/strategy/strategy-template-state-migration.js.map +1 -0
  921. package/dist/orchestrator/strategy/strategy-template-state-store.d.ts +16 -0
  922. package/dist/orchestrator/strategy/strategy-template-state-store.d.ts.map +1 -0
  923. package/dist/orchestrator/strategy/strategy-template-state-store.js +84 -0
  924. package/dist/orchestrator/strategy/strategy-template-state-store.js.map +1 -0
  925. package/dist/orchestrator/strategy/strategy-workspace.d.ts.map +1 -1
  926. package/dist/orchestrator/strategy/strategy-workspace.js +6 -19
  927. package/dist/orchestrator/strategy/strategy-workspace.js.map +1 -1
  928. package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +7 -6
  929. package/dist/orchestrator/strategy/types/cross-portfolio.d.ts.map +1 -1
  930. package/dist/orchestrator/strategy/types/cross-portfolio.js +2 -1
  931. package/dist/orchestrator/strategy/types/cross-portfolio.js.map +1 -1
  932. package/dist/orchestrator/strategy/types/portfolio.d.ts +1 -0
  933. package/dist/orchestrator/strategy/types/portfolio.d.ts.map +1 -1
  934. package/dist/orchestrator/strategy/types/portfolio.js +2 -1
  935. package/dist/orchestrator/strategy/types/portfolio.js.map +1 -1
  936. package/dist/orchestrator/strategy/types/strategy.d.ts +8 -3
  937. package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -1
  938. package/dist/orchestrator/strategy/types/strategy.js +25 -17
  939. package/dist/orchestrator/strategy/types/strategy.js.map +1 -1
  940. package/dist/platform/code-search/candidate-normalizer.d.ts.map +1 -1
  941. package/dist/platform/code-search/candidate-normalizer.js +4 -2
  942. package/dist/platform/code-search/candidate-normalizer.js.map +1 -1
  943. package/dist/platform/code-search/candidate.d.ts.map +1 -1
  944. package/dist/platform/code-search/candidate.js +5 -0
  945. package/dist/platform/code-search/candidate.js.map +1 -1
  946. package/dist/platform/code-search/contracts.d.ts +8 -0
  947. package/dist/platform/code-search/contracts.d.ts.map +1 -1
  948. package/dist/platform/code-search/contracts.js.map +1 -1
  949. package/dist/platform/code-search/indexes/file-index.d.ts.map +1 -1
  950. package/dist/platform/code-search/indexes/file-index.js +4 -0
  951. package/dist/platform/code-search/indexes/file-index.js.map +1 -1
  952. package/dist/platform/code-search/indexes/package-graph.d.ts.map +1 -1
  953. package/dist/platform/code-search/indexes/package-graph.js +5 -2
  954. package/dist/platform/code-search/indexes/package-graph.js.map +1 -1
  955. package/dist/platform/code-search/parse-position.d.ts +2 -0
  956. package/dist/platform/code-search/parse-position.d.ts.map +1 -0
  957. package/dist/platform/code-search/parse-position.js +10 -0
  958. package/dist/platform/code-search/parse-position.js.map +1 -0
  959. package/dist/platform/code-search/progressive-reader.d.ts.map +1 -1
  960. package/dist/platform/code-search/progressive-reader.js +58 -13
  961. package/dist/platform/code-search/progressive-reader.js.map +1 -1
  962. package/dist/platform/code-search/query-planner.d.ts.map +1 -1
  963. package/dist/platform/code-search/query-planner.js +4 -3
  964. package/dist/platform/code-search/query-planner.js.map +1 -1
  965. package/dist/platform/code-search/verification-retrieval.d.ts.map +1 -1
  966. package/dist/platform/code-search/verification-retrieval.js +2 -1
  967. package/dist/platform/code-search/verification-retrieval.js.map +1 -1
  968. package/dist/platform/corrections/cognition-memory-review.d.ts +233 -0
  969. package/dist/platform/corrections/cognition-memory-review.d.ts.map +1 -0
  970. package/dist/platform/corrections/cognition-memory-review.js +93 -0
  971. package/dist/platform/corrections/cognition-memory-review.js.map +1 -0
  972. package/dist/platform/corrections/index.d.ts +2 -0
  973. package/dist/platform/corrections/index.d.ts.map +1 -1
  974. package/dist/platform/corrections/index.js +2 -0
  975. package/dist/platform/corrections/index.js.map +1 -1
  976. package/dist/platform/corrections/memory-correction-ledger.d.ts +60 -60
  977. package/dist/platform/corrections/memory-governance.d.ts +6 -6
  978. package/dist/platform/corrections/memory-quarantine.d.ts +1 -1
  979. package/dist/platform/corrections/user-memory-operations.js +4 -4
  980. package/dist/platform/corrections/user-memory-operations.js.map +1 -1
  981. package/dist/platform/dream/dream-activation-artifacts.d.ts.map +1 -1
  982. package/dist/platform/dream/dream-activation-artifacts.js +4 -16
  983. package/dist/platform/dream/dream-activation-artifacts.js.map +1 -1
  984. package/dist/platform/dream/dream-activation.d.ts +2 -185
  985. package/dist/platform/dream/dream-activation.d.ts.map +1 -1
  986. package/dist/platform/dream/dream-activation.js +10 -57
  987. package/dist/platform/dream/dream-activation.js.map +1 -1
  988. package/dist/platform/dream/dream-analyzer.d.ts +1 -2
  989. package/dist/platform/dream/dream-analyzer.d.ts.map +1 -1
  990. package/dist/platform/dream/dream-analyzer.js +21 -59
  991. package/dist/platform/dream/dream-analyzer.js.map +1 -1
  992. package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts +12 -0
  993. package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts.map +1 -0
  994. package/dist/platform/dream/dream-consolidator/evidence-helpers.js +73 -0
  995. package/dist/platform/dream/dream-consolidator/evidence-helpers.js.map +1 -0
  996. package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts.map +1 -1
  997. package/dist/platform/dream/dream-consolidator/fs-metrics.js +27 -38
  998. package/dist/platform/dream/dream-consolidator/fs-metrics.js.map +1 -1
  999. package/dist/platform/dream/dream-consolidator.d.ts +3 -0
  1000. package/dist/platform/dream/dream-consolidator.d.ts.map +1 -1
  1001. package/dist/platform/dream/dream-consolidator.js +35 -129
  1002. package/dist/platform/dream/dream-consolidator.js.map +1 -1
  1003. package/dist/platform/dream/dream-decision-heuristics.d.ts +421 -0
  1004. package/dist/platform/dream/dream-decision-heuristics.d.ts.map +1 -0
  1005. package/dist/platform/dream/dream-decision-heuristics.js +27 -0
  1006. package/dist/platform/dream/dream-decision-heuristics.js.map +1 -0
  1007. package/dist/platform/dream/dream-event-workflows.d.ts.map +1 -1
  1008. package/dist/platform/dream/dream-event-workflows.js +23 -37
  1009. package/dist/platform/dream/dream-event-workflows.js.map +1 -1
  1010. package/dist/platform/dream/dream-importance.d.ts +1 -2
  1011. package/dist/platform/dream/dream-importance.d.ts.map +1 -1
  1012. package/dist/platform/dream/dream-importance.js +6 -24
  1013. package/dist/platform/dream/dream-importance.js.map +1 -1
  1014. package/dist/platform/dream/dream-log-collector.d.ts +4 -15
  1015. package/dist/platform/dream/dream-log-collector.d.ts.map +1 -1
  1016. package/dist/platform/dream/dream-log-collector.js +12 -101
  1017. package/dist/platform/dream/dream-log-collector.js.map +1 -1
  1018. package/dist/platform/dream/dream-schedule-suggestions.d.ts +1 -2
  1019. package/dist/platform/dream/dream-schedule-suggestions.d.ts.map +1 -1
  1020. package/dist/platform/dream/dream-schedule-suggestions.js +6 -20
  1021. package/dist/platform/dream/dream-schedule-suggestions.js.map +1 -1
  1022. package/dist/platform/dream/dream-soil-sync.d.ts.map +1 -1
  1023. package/dist/platform/dream/dream-soil-sync.js +2 -6
  1024. package/dist/platform/dream/dream-soil-sync.js.map +1 -1
  1025. package/dist/platform/dream/dream-types.d.ts +269 -269
  1026. package/dist/platform/dream/dream-types.js +2 -2
  1027. package/dist/platform/dream/dream-types.js.map +1 -1
  1028. package/dist/platform/dream/index.d.ts +1 -0
  1029. package/dist/platform/dream/index.d.ts.map +1 -1
  1030. package/dist/platform/dream/index.js +1 -0
  1031. package/dist/platform/dream/index.js.map +1 -1
  1032. package/dist/platform/dream/playbook-memory.d.ts +4 -4
  1033. package/dist/platform/dream/playbook-memory.d.ts.map +1 -1
  1034. package/dist/platform/dream/playbook-memory.js +14 -75
  1035. package/dist/platform/dream/playbook-memory.js.map +1 -1
  1036. package/dist/platform/dream/procedural-memory.d.ts +262 -0
  1037. package/dist/platform/dream/procedural-memory.d.ts.map +1 -0
  1038. package/dist/platform/dream/procedural-memory.js +78 -0
  1039. package/dist/platform/dream/procedural-memory.js.map +1 -0
  1040. package/dist/platform/drive/drive-schedule-state-migration.d.ts +13 -0
  1041. package/dist/platform/drive/drive-schedule-state-migration.d.ts.map +1 -0
  1042. package/dist/platform/drive/drive-schedule-state-migration.js +115 -0
  1043. package/dist/platform/drive/drive-schedule-state-migration.js.map +1 -0
  1044. package/dist/platform/drive/drive-schedule-state-store.d.ts +15 -0
  1045. package/dist/platform/drive/drive-schedule-state-store.d.ts.map +1 -0
  1046. package/dist/platform/drive/drive-schedule-state-store.js +84 -0
  1047. package/dist/platform/drive/drive-schedule-state-store.js.map +1 -0
  1048. package/dist/platform/drive/drive-scorer.d.ts +6 -6
  1049. package/dist/platform/drive/drive-scorer.d.ts.map +1 -1
  1050. package/dist/platform/drive/drive-scorer.js +44 -16
  1051. package/dist/platform/drive/drive-scorer.js.map +1 -1
  1052. package/dist/platform/drive/drive-system.d.ts +10 -8
  1053. package/dist/platform/drive/drive-system.d.ts.map +1 -1
  1054. package/dist/platform/drive/drive-system.js +42 -57
  1055. package/dist/platform/drive/drive-system.js.map +1 -1
  1056. package/dist/platform/drive/gap-calculator.d.ts.map +1 -1
  1057. package/dist/platform/drive/gap-calculator.js +36 -8
  1058. package/dist/platform/drive/gap-calculator.js.map +1 -1
  1059. package/dist/platform/drive/satisficing-helpers.d.ts.map +1 -1
  1060. package/dist/platform/drive/satisficing-helpers.js +14 -10
  1061. package/dist/platform/drive/satisficing-helpers.js.map +1 -1
  1062. package/dist/platform/drive/satisficing-judge.d.ts.map +1 -1
  1063. package/dist/platform/drive/satisficing-judge.js +16 -10
  1064. package/dist/platform/drive/satisficing-judge.js.map +1 -1
  1065. package/dist/platform/drive/satisficing-propagation.d.ts.map +1 -1
  1066. package/dist/platform/drive/satisficing-propagation.js +20 -16
  1067. package/dist/platform/drive/satisficing-propagation.js.map +1 -1
  1068. package/dist/platform/drive/stall-detector/repetitive.d.ts +28 -1
  1069. package/dist/platform/drive/stall-detector/repetitive.d.ts.map +1 -1
  1070. package/dist/platform/drive/stall-detector/repetitive.js.map +1 -1
  1071. package/dist/platform/drive/stall-detector/thresholds.d.ts.map +1 -1
  1072. package/dist/platform/drive/stall-detector/thresholds.js +2 -1
  1073. package/dist/platform/drive/stall-detector/thresholds.js.map +1 -1
  1074. package/dist/platform/drive/stall-detector.d.ts +7 -32
  1075. package/dist/platform/drive/stall-detector.d.ts.map +1 -1
  1076. package/dist/platform/drive/stall-detector.js +16 -13
  1077. package/dist/platform/drive/stall-detector.js.map +1 -1
  1078. package/dist/platform/drive/types/drive.d.ts +4 -0
  1079. package/dist/platform/drive/types/drive.d.ts.map +1 -1
  1080. package/dist/platform/drive/types/drive.js +26 -15
  1081. package/dist/platform/drive/types/drive.js.map +1 -1
  1082. package/dist/platform/drive/types/satisficing.js +1 -1
  1083. package/dist/platform/drive/types/satisficing.js.map +1 -1
  1084. package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts +15 -0
  1085. package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts.map +1 -0
  1086. package/dist/platform/knowledge/knowledge-graph-state-migration.js +137 -0
  1087. package/dist/platform/knowledge/knowledge-graph-state-migration.js.map +1 -0
  1088. package/dist/platform/knowledge/knowledge-graph-state-store.d.ts +38 -0
  1089. package/dist/platform/knowledge/knowledge-graph-state-store.d.ts.map +1 -0
  1090. package/dist/platform/knowledge/knowledge-graph-state-store.js +137 -0
  1091. package/dist/platform/knowledge/knowledge-graph-state-store.js.map +1 -0
  1092. package/dist/platform/knowledge/knowledge-graph.d.ts +17 -12
  1093. package/dist/platform/knowledge/knowledge-graph.d.ts.map +1 -1
  1094. package/dist/platform/knowledge/knowledge-graph.js +35 -44
  1095. package/dist/platform/knowledge/knowledge-graph.js.map +1 -1
  1096. package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts.map +1 -1
  1097. package/dist/platform/knowledge/knowledge-manager-agent-memory.js +18 -8
  1098. package/dist/platform/knowledge/knowledge-manager-agent-memory.js.map +1 -1
  1099. package/dist/platform/knowledge/knowledge-manager-internals.d.ts +3 -2
  1100. package/dist/platform/knowledge/knowledge-manager-internals.d.ts.map +1 -1
  1101. package/dist/platform/knowledge/knowledge-manager-internals.js +8 -7
  1102. package/dist/platform/knowledge/knowledge-manager-internals.js.map +1 -1
  1103. package/dist/platform/knowledge/knowledge-manager-query.js +2 -2
  1104. package/dist/platform/knowledge/knowledge-manager-query.js.map +1 -1
  1105. package/dist/platform/knowledge/knowledge-manager-store.js +3 -3
  1106. package/dist/platform/knowledge/knowledge-manager-store.js.map +1 -1
  1107. package/dist/platform/knowledge/knowledge-manager.d.ts +5 -6
  1108. package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -1
  1109. package/dist/platform/knowledge/knowledge-manager.js +53 -27
  1110. package/dist/platform/knowledge/knowledge-manager.js.map +1 -1
  1111. package/dist/platform/knowledge/knowledge-memory-state-store.d.ts +17 -0
  1112. package/dist/platform/knowledge/knowledge-memory-state-store.d.ts.map +1 -0
  1113. package/dist/platform/knowledge/knowledge-memory-state-store.js +565 -0
  1114. package/dist/platform/knowledge/knowledge-memory-state-store.js.map +1 -0
  1115. package/dist/platform/knowledge/knowledge-search.d.ts.map +1 -1
  1116. package/dist/platform/knowledge/knowledge-search.js +4 -17
  1117. package/dist/platform/knowledge/knowledge-search.js.map +1 -1
  1118. package/dist/platform/knowledge/learning/learning-cross-goal.d.ts +2 -2
  1119. package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +1 -1
  1120. package/dist/platform/knowledge/learning/learning-feedback.d.ts +3 -3
  1121. package/dist/platform/knowledge/learning/learning-feedback.d.ts.map +1 -1
  1122. package/dist/platform/knowledge/learning/learning-feedback.js +3 -11
  1123. package/dist/platform/knowledge/learning/learning-feedback.js.map +1 -1
  1124. package/dist/platform/knowledge/learning/learning-pipeline.d.ts +4 -5
  1125. package/dist/platform/knowledge/learning/learning-pipeline.d.ts.map +1 -1
  1126. package/dist/platform/knowledge/learning/learning-pipeline.js +16 -33
  1127. package/dist/platform/knowledge/learning/learning-pipeline.js.map +1 -1
  1128. package/dist/platform/knowledge/memory/memory-compression.d.ts.map +1 -1
  1129. package/dist/platform/knowledge/memory/memory-compression.js +19 -43
  1130. package/dist/platform/knowledge/memory/memory-compression.js.map +1 -1
  1131. package/dist/platform/knowledge/memory/memory-exports.d.ts +2 -1
  1132. package/dist/platform/knowledge/memory/memory-exports.d.ts.map +1 -1
  1133. package/dist/platform/knowledge/memory/memory-exports.js +2 -1
  1134. package/dist/platform/knowledge/memory/memory-exports.js.map +1 -1
  1135. package/dist/platform/knowledge/memory/memory-index.d.ts +1 -1
  1136. package/dist/platform/knowledge/memory/memory-index.d.ts.map +1 -1
  1137. package/dist/platform/knowledge/memory/memory-index.js +11 -115
  1138. package/dist/platform/knowledge/memory/memory-index.js.map +1 -1
  1139. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts +51 -0
  1140. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts.map +1 -0
  1141. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js +498 -0
  1142. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js.map +1 -0
  1143. package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts.map +1 -1
  1144. package/dist/platform/knowledge/memory/memory-lifecycle-storage.js +13 -91
  1145. package/dist/platform/knowledge/memory/memory-lifecycle-storage.js.map +1 -1
  1146. package/dist/platform/knowledge/memory/memory-lifecycle.d.ts +7 -9
  1147. package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +1 -1
  1148. package/dist/platform/knowledge/memory/memory-lifecycle.js +14 -24
  1149. package/dist/platform/knowledge/memory/memory-lifecycle.js.map +1 -1
  1150. package/dist/platform/knowledge/memory/memory-persistence.d.ts +1 -27
  1151. package/dist/platform/knowledge/memory/memory-persistence.d.ts.map +1 -1
  1152. package/dist/platform/knowledge/memory/memory-persistence.js +0 -122
  1153. package/dist/platform/knowledge/memory/memory-persistence.js.map +1 -1
  1154. package/dist/platform/knowledge/memory/memory-query.d.ts.map +1 -1
  1155. package/dist/platform/knowledge/memory/memory-query.js +3 -59
  1156. package/dist/platform/knowledge/memory/memory-query.js.map +1 -1
  1157. package/dist/platform/knowledge/memory/memory-selection.d.ts.map +1 -1
  1158. package/dist/platform/knowledge/memory/memory-selection.js +7 -19
  1159. package/dist/platform/knowledge/memory/memory-selection.js.map +1 -1
  1160. package/dist/platform/knowledge/memory/memory-stats.d.ts.map +1 -1
  1161. package/dist/platform/knowledge/memory/memory-stats.js +4 -5
  1162. package/dist/platform/knowledge/memory/memory-stats.js.map +1 -1
  1163. package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts.map +1 -1
  1164. package/dist/platform/knowledge/transfer/knowledge-transfer-types.js +6 -10
  1165. package/dist/platform/knowledge/transfer/knowledge-transfer-types.js.map +1 -1
  1166. package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +3 -2
  1167. package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
  1168. package/dist/platform/knowledge/transfer/knowledge-transfer.js +19 -34
  1169. package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -1
  1170. package/dist/platform/knowledge/transfer/transfer-trust.d.ts +6 -5
  1171. package/dist/platform/knowledge/transfer/transfer-trust.d.ts.map +1 -1
  1172. package/dist/platform/knowledge/transfer/transfer-trust.js +23 -30
  1173. package/dist/platform/knowledge/transfer/transfer-trust.js.map +1 -1
  1174. package/dist/platform/knowledge/types/agent-memory.d.ts +194 -194
  1175. package/dist/platform/knowledge/types/embedding.js +2 -2
  1176. package/dist/platform/knowledge/types/embedding.js.map +1 -1
  1177. package/dist/platform/knowledge/types/memory-lifecycle.d.ts +4 -4
  1178. package/dist/platform/knowledge/vector-index-state-migration.d.ts +14 -0
  1179. package/dist/platform/knowledge/vector-index-state-migration.d.ts.map +1 -0
  1180. package/dist/platform/knowledge/vector-index-state-migration.js +132 -0
  1181. package/dist/platform/knowledge/vector-index-state-migration.js.map +1 -0
  1182. package/dist/platform/knowledge/vector-index-state-store.d.ts +19 -0
  1183. package/dist/platform/knowledge/vector-index-state-store.d.ts.map +1 -0
  1184. package/dist/platform/knowledge/vector-index-state-store.js +124 -0
  1185. package/dist/platform/knowledge/vector-index-state-store.js.map +1 -0
  1186. package/dist/platform/knowledge/vector-index.d.ts +11 -6
  1187. package/dist/platform/knowledge/vector-index.d.ts.map +1 -1
  1188. package/dist/platform/knowledge/vector-index.js +27 -37
  1189. package/dist/platform/knowledge/vector-index.js.map +1 -1
  1190. package/dist/platform/observation/capability-dependencies.d.ts +4 -3
  1191. package/dist/platform/observation/capability-dependencies.d.ts.map +1 -1
  1192. package/dist/platform/observation/capability-dependencies.js +8 -15
  1193. package/dist/platform/observation/capability-dependencies.js.map +1 -1
  1194. package/dist/platform/observation/capability-detector.d.ts.map +1 -1
  1195. package/dist/platform/observation/capability-detector.js +8 -2
  1196. package/dist/platform/observation/capability-detector.js.map +1 -1
  1197. package/dist/platform/observation/capability-graph.d.ts +16 -0
  1198. package/dist/platform/observation/capability-graph.d.ts.map +1 -0
  1199. package/dist/platform/observation/capability-graph.js +387 -0
  1200. package/dist/platform/observation/capability-graph.js.map +1 -0
  1201. package/dist/platform/observation/capability-readiness.d.ts +13 -0
  1202. package/dist/platform/observation/capability-readiness.d.ts.map +1 -0
  1203. package/dist/platform/observation/capability-readiness.js +192 -0
  1204. package/dist/platform/observation/capability-readiness.js.map +1 -0
  1205. package/dist/platform/observation/capability-registry.d.ts +3 -3
  1206. package/dist/platform/observation/capability-registry.d.ts.map +1 -1
  1207. package/dist/platform/observation/capability-registry.js +5 -14
  1208. package/dist/platform/observation/capability-registry.js.map +1 -1
  1209. package/dist/platform/observation/data-source-adapter.js +1 -1
  1210. package/dist/platform/observation/data-source-adapter.js.map +1 -1
  1211. package/dist/platform/observation/dimension-pre-checker.d.ts.map +1 -1
  1212. package/dist/platform/observation/dimension-pre-checker.js +12 -2
  1213. package/dist/platform/observation/dimension-pre-checker.js.map +1 -1
  1214. package/dist/platform/observation/observation-apply.d.ts.map +1 -1
  1215. package/dist/platform/observation/observation-apply.js +2 -14
  1216. package/dist/platform/observation/observation-apply.js.map +1 -1
  1217. package/dist/platform/observation/observation-datasource.d.ts.map +1 -1
  1218. package/dist/platform/observation/observation-datasource.js +2 -14
  1219. package/dist/platform/observation/observation-datasource.js.map +1 -1
  1220. package/dist/platform/observation/observation-engine.js +0 -2
  1221. package/dist/platform/observation/observation-engine.js.map +1 -1
  1222. package/dist/platform/observation/observation-value.d.ts +2 -0
  1223. package/dist/platform/observation/observation-value.d.ts.map +1 -0
  1224. package/dist/platform/observation/observation-value.js +18 -0
  1225. package/dist/platform/observation/observation-value.js.map +1 -0
  1226. package/dist/platform/observation/types/capability.d.ts +689 -0
  1227. package/dist/platform/observation/types/capability.d.ts.map +1 -1
  1228. package/dist/platform/observation/types/capability.js +170 -2
  1229. package/dist/platform/observation/types/capability.js.map +1 -1
  1230. package/dist/platform/observation/types/data-source.d.ts +122 -25
  1231. package/dist/platform/observation/types/data-source.d.ts.map +1 -1
  1232. package/dist/platform/observation/types/data-source.js +17 -9
  1233. package/dist/platform/observation/types/data-source.js.map +1 -1
  1234. package/dist/platform/profile/governed-memory.d.ts +667 -0
  1235. package/dist/platform/profile/governed-memory.d.ts.map +1 -0
  1236. package/dist/platform/profile/governed-memory.js +535 -0
  1237. package/dist/platform/profile/governed-memory.js.map +1 -0
  1238. package/dist/platform/profile/profile-change-proposal.d.ts +91 -89
  1239. package/dist/platform/profile/profile-change-proposal.d.ts.map +1 -1
  1240. package/dist/platform/profile/profile-change-proposal.js +134 -19
  1241. package/dist/platform/profile/profile-change-proposal.js.map +1 -1
  1242. package/dist/platform/profile/relationship-profile.d.ts +51 -51
  1243. package/dist/platform/profile/relationship-profile.d.ts.map +1 -1
  1244. package/dist/platform/profile/relationship-profile.js +3 -2
  1245. package/dist/platform/profile/relationship-profile.js.map +1 -1
  1246. package/dist/platform/profile/retrieval-context.d.ts +16 -0
  1247. package/dist/platform/profile/retrieval-context.d.ts.map +1 -1
  1248. package/dist/platform/profile/retrieval-context.js +17 -0
  1249. package/dist/platform/profile/retrieval-context.js.map +1 -1
  1250. package/dist/platform/profile/user-md-profile-import.d.ts +6 -6
  1251. package/dist/platform/soil/compiled-memory-projections.js +6 -6
  1252. package/dist/platform/soil/compiled-memory-projections.js.map +1 -1
  1253. package/dist/platform/soil/content-projections.js +12 -12
  1254. package/dist/platform/soil/content-projections.js.map +1 -1
  1255. package/dist/platform/soil/contracts.d.ts +414 -385
  1256. package/dist/platform/soil/contracts.d.ts.map +1 -1
  1257. package/dist/platform/soil/contracts.js +23 -3
  1258. package/dist/platform/soil/contracts.js.map +1 -1
  1259. package/dist/platform/soil/doctor.d.ts +0 -1
  1260. package/dist/platform/soil/doctor.d.ts.map +1 -1
  1261. package/dist/platform/soil/doctor.js +3 -17
  1262. package/dist/platform/soil/doctor.js.map +1 -1
  1263. package/dist/platform/soil/frontmatter.js +1 -1
  1264. package/dist/platform/soil/frontmatter.js.map +1 -1
  1265. package/dist/platform/soil/importer.d.ts +6 -6
  1266. package/dist/platform/soil/index-store.d.ts.map +1 -1
  1267. package/dist/platform/soil/index-store.js +6 -7
  1268. package/dist/platform/soil/index-store.js.map +1 -1
  1269. package/dist/platform/soil/projections.d.ts.map +1 -1
  1270. package/dist/platform/soil/projections.js +8 -4
  1271. package/dist/platform/soil/projections.js.map +1 -1
  1272. package/dist/platform/soil/runtime-rebuild.d.ts.map +1 -1
  1273. package/dist/platform/soil/runtime-rebuild.js +17 -23
  1274. package/dist/platform/soil/runtime-rebuild.js.map +1 -1
  1275. package/dist/platform/soil/source-paths.d.ts +2 -0
  1276. package/dist/platform/soil/source-paths.d.ts.map +1 -0
  1277. package/dist/platform/soil/source-paths.js +25 -0
  1278. package/dist/platform/soil/source-paths.js.map +1 -0
  1279. package/dist/platform/soil/sqlite-repository-helpers.d.ts.map +1 -1
  1280. package/dist/platform/soil/sqlite-repository-helpers.js +7 -3
  1281. package/dist/platform/soil/sqlite-repository-helpers.js.map +1 -1
  1282. package/dist/platform/soil/sqlite-repository-search.d.ts.map +1 -1
  1283. package/dist/platform/soil/sqlite-repository-search.js +5 -1
  1284. package/dist/platform/soil/sqlite-repository-search.js.map +1 -1
  1285. package/dist/platform/soil/types.d.ts +19 -18
  1286. package/dist/platform/soil/types.d.ts.map +1 -1
  1287. package/dist/platform/soil/types.js +58 -16
  1288. package/dist/platform/soil/types.js.map +1 -1
  1289. package/dist/platform/time/time-horizon-engine.d.ts.map +1 -1
  1290. package/dist/platform/time/time-horizon-engine.js +8 -3
  1291. package/dist/platform/time/time-horizon-engine.js.map +1 -1
  1292. package/dist/platform/traits/character-policy.d.ts +4 -0
  1293. package/dist/platform/traits/character-policy.d.ts.map +1 -0
  1294. package/dist/platform/traits/character-policy.js +10 -0
  1295. package/dist/platform/traits/character-policy.js.map +1 -0
  1296. package/dist/platform/traits/curiosity-engine.d.ts +5 -26
  1297. package/dist/platform/traits/curiosity-engine.d.ts.map +1 -1
  1298. package/dist/platform/traits/curiosity-engine.js +29 -203
  1299. package/dist/platform/traits/curiosity-engine.js.map +1 -1
  1300. package/dist/platform/traits/curiosity-triggers.d.ts +16 -0
  1301. package/dist/platform/traits/curiosity-triggers.d.ts.map +1 -0
  1302. package/dist/platform/traits/curiosity-triggers.js +187 -0
  1303. package/dist/platform/traits/curiosity-triggers.js.map +1 -0
  1304. package/dist/platform/traits/ethics-gate.d.ts +5 -4
  1305. package/dist/platform/traits/ethics-gate.d.ts.map +1 -1
  1306. package/dist/platform/traits/ethics-gate.js +11 -17
  1307. package/dist/platform/traits/ethics-gate.js.map +1 -1
  1308. package/dist/platform/traits/trust-manager.d.ts +5 -2
  1309. package/dist/platform/traits/trust-manager.d.ts.map +1 -1
  1310. package/dist/platform/traits/trust-manager.js +11 -20
  1311. package/dist/platform/traits/trust-manager.js.map +1 -1
  1312. package/dist/platform/traits/types/curiosity.d.ts +12 -12
  1313. package/dist/platform/traits/types/curiosity.d.ts.map +1 -1
  1314. package/dist/platform/traits/types/curiosity.js +24 -11
  1315. package/dist/platform/traits/types/curiosity.js.map +1 -1
  1316. package/dist/platform/traits/types/guardrail.d.ts +6 -6
  1317. package/dist/prompt/gateway.d.ts +2 -2
  1318. package/dist/prompt/gateway.d.ts.map +1 -1
  1319. package/dist/prompt/gateway.js +4 -3
  1320. package/dist/prompt/gateway.js.map +1 -1
  1321. package/dist/prompt/purposes/dream.d.ts.map +1 -1
  1322. package/dist/prompt/purposes/dream.js +3 -2
  1323. package/dist/prompt/purposes/dream.js.map +1 -1
  1324. package/dist/reflection/cognition-writeback-evaluator.d.ts +10 -0
  1325. package/dist/reflection/cognition-writeback-evaluator.d.ts.map +1 -0
  1326. package/dist/reflection/cognition-writeback-evaluator.js +49 -0
  1327. package/dist/reflection/cognition-writeback-evaluator.js.map +1 -0
  1328. package/dist/reflection/cognition-writeback-queue.d.ts +835 -0
  1329. package/dist/reflection/cognition-writeback-queue.d.ts.map +1 -0
  1330. package/dist/reflection/cognition-writeback-queue.js +198 -0
  1331. package/dist/reflection/cognition-writeback-queue.js.map +1 -0
  1332. package/dist/reflection/dream-consolidation.d.ts +4 -0
  1333. package/dist/reflection/dream-consolidation.d.ts.map +1 -1
  1334. package/dist/reflection/dream-consolidation.js +28 -8
  1335. package/dist/reflection/dream-consolidation.js.map +1 -1
  1336. package/dist/reflection/evening-catchup.d.ts.map +1 -1
  1337. package/dist/reflection/evening-catchup.js +21 -13
  1338. package/dist/reflection/evening-catchup.js.map +1 -1
  1339. package/dist/reflection/index.d.ts +4 -0
  1340. package/dist/reflection/index.d.ts.map +1 -1
  1341. package/dist/reflection/index.js +2 -0
  1342. package/dist/reflection/index.js.map +1 -1
  1343. package/dist/reflection/morning-planning.d.ts.map +1 -1
  1344. package/dist/reflection/morning-planning.js +17 -6
  1345. package/dist/reflection/morning-planning.js.map +1 -1
  1346. package/dist/reflection/reflection-profile-surface.d.ts +8 -0
  1347. package/dist/reflection/reflection-profile-surface.d.ts.map +1 -0
  1348. package/dist/reflection/reflection-profile-surface.js +20 -0
  1349. package/dist/reflection/reflection-profile-surface.js.map +1 -0
  1350. package/dist/reflection/reflection-report-state-migration.d.ts +14 -0
  1351. package/dist/reflection/reflection-report-state-migration.d.ts.map +1 -0
  1352. package/dist/reflection/reflection-report-state-migration.js +169 -0
  1353. package/dist/reflection/reflection-report-state-migration.js.map +1 -0
  1354. package/dist/reflection/reflection-report-state-store.d.ts +23 -0
  1355. package/dist/reflection/reflection-report-state-store.d.ts.map +1 -0
  1356. package/dist/reflection/reflection-report-state-store.js +90 -0
  1357. package/dist/reflection/reflection-report-state-store.js.map +1 -0
  1358. package/dist/reflection/reflection-utils.d.ts +7 -1
  1359. package/dist/reflection/reflection-utils.d.ts.map +1 -1
  1360. package/dist/reflection/reflection-utils.js +24 -7
  1361. package/dist/reflection/reflection-utils.js.map +1 -1
  1362. package/dist/reflection/types.d.ts +16 -4
  1363. package/dist/reflection/types.d.ts.map +1 -1
  1364. package/dist/reflection/types.js +14 -9
  1365. package/dist/reflection/types.js.map +1 -1
  1366. package/dist/reflection/weekly-review.d.ts.map +1 -1
  1367. package/dist/reflection/weekly-review.js +29 -8
  1368. package/dist/reflection/weekly-review.js.map +1 -1
  1369. package/dist/reporting/report-formatters.d.ts +1 -1
  1370. package/dist/reporting/report-formatters.d.ts.map +1 -1
  1371. package/dist/reporting/report-formatters.js +20 -16
  1372. package/dist/reporting/report-formatters.js.map +1 -1
  1373. package/dist/reporting/report-summary-builders.d.ts +16 -0
  1374. package/dist/reporting/report-summary-builders.d.ts.map +1 -0
  1375. package/dist/reporting/report-summary-builders.js +125 -0
  1376. package/dist/reporting/report-summary-builders.js.map +1 -0
  1377. package/dist/reporting/reporting-engine.d.ts +1 -1
  1378. package/dist/reporting/reporting-engine.d.ts.map +1 -1
  1379. package/dist/reporting/reporting-engine.js +10 -132
  1380. package/dist/reporting/reporting-engine.js.map +1 -1
  1381. package/dist/runtime/approval-broker.d.ts +8 -2
  1382. package/dist/runtime/approval-broker.d.ts.map +1 -1
  1383. package/dist/runtime/approval-broker.js +87 -7
  1384. package/dist/runtime/approval-broker.js.map +1 -1
  1385. package/dist/runtime/assets/checksum.d.ts +2 -0
  1386. package/dist/runtime/assets/checksum.d.ts.map +1 -0
  1387. package/dist/runtime/assets/checksum.js +44 -0
  1388. package/dist/runtime/assets/checksum.js.map +1 -0
  1389. package/dist/runtime/assets/index.d.ts +4 -0
  1390. package/dist/runtime/assets/index.d.ts.map +1 -0
  1391. package/dist/runtime/assets/index.js +4 -0
  1392. package/dist/runtime/assets/index.js.map +1 -0
  1393. package/dist/runtime/assets/registry.d.ts +16 -0
  1394. package/dist/runtime/assets/registry.d.ts.map +1 -0
  1395. package/dist/runtime/assets/registry.js +105 -0
  1396. package/dist/runtime/assets/registry.js.map +1 -0
  1397. package/dist/runtime/assets/types.d.ts +233 -0
  1398. package/dist/runtime/assets/types.d.ts.map +1 -0
  1399. package/dist/runtime/assets/types.js +92 -0
  1400. package/dist/runtime/assets/types.js.map +1 -0
  1401. package/dist/runtime/attention/attention-admission.d.ts +29 -0
  1402. package/dist/runtime/attention/attention-admission.d.ts.map +1 -0
  1403. package/dist/runtime/attention/attention-admission.js +92 -0
  1404. package/dist/runtime/attention/attention-admission.js.map +1 -0
  1405. package/dist/runtime/attention/attention-agenda.d.ts +21 -0
  1406. package/dist/runtime/attention/attention-agenda.d.ts.map +1 -0
  1407. package/dist/runtime/attention/attention-agenda.js +539 -0
  1408. package/dist/runtime/attention/attention-agenda.js.map +1 -0
  1409. package/dist/runtime/attention/attention-clustering.d.ts +54 -0
  1410. package/dist/runtime/attention/attention-clustering.d.ts.map +1 -0
  1411. package/dist/runtime/attention/attention-clustering.js +243 -0
  1412. package/dist/runtime/attention/attention-clustering.js.map +1 -0
  1413. package/dist/runtime/attention/attention-continuity.d.ts +609 -0
  1414. package/dist/runtime/attention/attention-continuity.d.ts.map +1 -0
  1415. package/dist/runtime/attention/attention-continuity.js +414 -0
  1416. package/dist/runtime/attention/attention-continuity.js.map +1 -0
  1417. package/dist/runtime/attention/attention-cycle.d.ts +56 -0
  1418. package/dist/runtime/attention/attention-cycle.d.ts.map +1 -0
  1419. package/dist/runtime/attention/attention-cycle.js +266 -0
  1420. package/dist/runtime/attention/attention-cycle.js.map +1 -0
  1421. package/dist/runtime/attention/attention-decomposition.d.ts +15 -0
  1422. package/dist/runtime/attention/attention-decomposition.d.ts.map +1 -0
  1423. package/dist/runtime/attention/attention-decomposition.js +157 -0
  1424. package/dist/runtime/attention/attention-decomposition.js.map +1 -0
  1425. package/dist/runtime/attention/attention-diagnostics.d.ts +122 -0
  1426. package/dist/runtime/attention/attention-diagnostics.d.ts.map +1 -0
  1427. package/dist/runtime/attention/attention-diagnostics.js +101 -0
  1428. package/dist/runtime/attention/attention-diagnostics.js.map +1 -0
  1429. package/dist/runtime/attention/attention-feedback.d.ts +58 -0
  1430. package/dist/runtime/attention/attention-feedback.d.ts.map +1 -0
  1431. package/dist/runtime/attention/attention-feedback.js +212 -0
  1432. package/dist/runtime/attention/attention-feedback.js.map +1 -0
  1433. package/dist/runtime/attention/attention-input.d.ts +673 -0
  1434. package/dist/runtime/attention/attention-input.d.ts.map +1 -0
  1435. package/dist/runtime/attention/attention-input.js +439 -0
  1436. package/dist/runtime/attention/attention-input.js.map +1 -0
  1437. package/dist/runtime/attention/attention-metabolism-types.d.ts +222 -0
  1438. package/dist/runtime/attention/attention-metabolism-types.d.ts.map +1 -0
  1439. package/dist/runtime/attention/attention-metabolism-types.js +2 -0
  1440. package/dist/runtime/attention/attention-metabolism-types.js.map +1 -0
  1441. package/dist/runtime/attention/attention-metabolism.d.ts +21 -0
  1442. package/dist/runtime/attention/attention-metabolism.d.ts.map +1 -0
  1443. package/dist/runtime/attention/attention-metabolism.js +1351 -0
  1444. package/dist/runtime/attention/attention-metabolism.js.map +1 -0
  1445. package/dist/runtime/attention/attention-promotion.d.ts +15 -0
  1446. package/dist/runtime/attention/attention-promotion.d.ts.map +1 -0
  1447. package/dist/runtime/attention/attention-promotion.js +110 -0
  1448. package/dist/runtime/attention/attention-promotion.js.map +1 -0
  1449. package/dist/runtime/attention/attention-refs.d.ts +12 -0
  1450. package/dist/runtime/attention/attention-refs.d.ts.map +1 -0
  1451. package/dist/runtime/attention/attention-refs.js +46 -0
  1452. package/dist/runtime/attention/attention-refs.js.map +1 -0
  1453. package/dist/runtime/attention/attention-scope.d.ts +33 -0
  1454. package/dist/runtime/attention/attention-scope.d.ts.map +1 -0
  1455. package/dist/runtime/attention/attention-scope.js +215 -0
  1456. package/dist/runtime/attention/attention-scope.js.map +1 -0
  1457. package/dist/runtime/attention/attention-semantic.d.ts +65 -0
  1458. package/dist/runtime/attention/attention-semantic.d.ts.map +1 -0
  1459. package/dist/runtime/attention/attention-semantic.js +102 -0
  1460. package/dist/runtime/attention/attention-semantic.js.map +1 -0
  1461. package/dist/runtime/attention/direct-path-inventory.d.ts +25 -0
  1462. package/dist/runtime/attention/direct-path-inventory.d.ts.map +1 -0
  1463. package/dist/runtime/attention/direct-path-inventory.js +377 -0
  1464. package/dist/runtime/attention/direct-path-inventory.js.map +1 -0
  1465. package/dist/runtime/attention/feedback-ingestion.d.ts +2236 -0
  1466. package/dist/runtime/attention/feedback-ingestion.d.ts.map +1 -0
  1467. package/dist/runtime/attention/feedback-ingestion.js +568 -0
  1468. package/dist/runtime/attention/feedback-ingestion.js.map +1 -0
  1469. package/dist/runtime/attention/index.d.ts +31 -0
  1470. package/dist/runtime/attention/index.d.ts.map +1 -0
  1471. package/dist/runtime/attention/index.js +16 -0
  1472. package/dist/runtime/attention/index.js.map +1 -0
  1473. package/dist/runtime/attention/proactive-policy.d.ts +200 -0
  1474. package/dist/runtime/attention/proactive-policy.d.ts.map +1 -0
  1475. package/dist/runtime/attention/proactive-policy.js +133 -0
  1476. package/dist/runtime/attention/proactive-policy.js.map +1 -0
  1477. package/dist/runtime/attention/surface-delivery.d.ts +215 -0
  1478. package/dist/runtime/attention/surface-delivery.d.ts.map +1 -0
  1479. package/dist/runtime/attention/surface-delivery.js +232 -0
  1480. package/dist/runtime/attention/surface-delivery.js.map +1 -0
  1481. package/dist/runtime/builtin-integrations.d.ts +4 -0
  1482. package/dist/runtime/builtin-integrations.d.ts.map +1 -1
  1483. package/dist/runtime/builtin-integrations.js +29 -0
  1484. package/dist/runtime/builtin-integrations.js.map +1 -1
  1485. package/dist/runtime/capability-execution-resolver.d.ts +9 -0
  1486. package/dist/runtime/capability-execution-resolver.d.ts.map +1 -0
  1487. package/dist/runtime/capability-execution-resolver.js +92 -0
  1488. package/dist/runtime/capability-execution-resolver.js.map +1 -0
  1489. package/dist/runtime/capability-operation-planner.d.ts +81 -0
  1490. package/dist/runtime/capability-operation-planner.d.ts.map +1 -0
  1491. package/dist/runtime/capability-operation-planner.js +481 -0
  1492. package/dist/runtime/capability-operation-planner.js.map +1 -0
  1493. package/dist/runtime/change-detector.d.ts.map +1 -1
  1494. package/dist/runtime/change-detector.js +17 -2
  1495. package/dist/runtime/change-detector.js.map +1 -1
  1496. package/dist/runtime/channels/http-post.d.ts +5 -1
  1497. package/dist/runtime/channels/http-post.d.ts.map +1 -1
  1498. package/dist/runtime/channels/http-post.js +65 -9
  1499. package/dist/runtime/channels/http-post.js.map +1 -1
  1500. package/dist/runtime/cognition/audit-sink.d.ts +37 -0
  1501. package/dist/runtime/cognition/audit-sink.d.ts.map +1 -0
  1502. package/dist/runtime/cognition/audit-sink.js +108 -0
  1503. package/dist/runtime/cognition/audit-sink.js.map +1 -0
  1504. package/dist/runtime/cognition/cloud-boundary.d.ts +308 -0
  1505. package/dist/runtime/cognition/cloud-boundary.d.ts.map +1 -0
  1506. package/dist/runtime/cognition/cloud-boundary.js +114 -0
  1507. package/dist/runtime/cognition/cloud-boundary.js.map +1 -0
  1508. package/dist/runtime/cognition/companion-cognition-service.d.ts +18 -0
  1509. package/dist/runtime/cognition/companion-cognition-service.d.ts.map +1 -0
  1510. package/dist/runtime/cognition/companion-cognition-service.js +224 -0
  1511. package/dist/runtime/cognition/companion-cognition-service.js.map +1 -0
  1512. package/dist/runtime/cognition/contracts.d.ts +19901 -0
  1513. package/dist/runtime/cognition/contracts.d.ts.map +1 -0
  1514. package/dist/runtime/cognition/contracts.js +559 -0
  1515. package/dist/runtime/cognition/contracts.js.map +1 -0
  1516. package/dist/runtime/cognition/index.d.ts +13 -0
  1517. package/dist/runtime/cognition/index.d.ts.map +1 -0
  1518. package/dist/runtime/cognition/index.js +9 -0
  1519. package/dist/runtime/cognition/index.js.map +1 -0
  1520. package/dist/runtime/cognition/memory-context.d.ts +19 -0
  1521. package/dist/runtime/cognition/memory-context.d.ts.map +1 -0
  1522. package/dist/runtime/cognition/memory-context.js +187 -0
  1523. package/dist/runtime/cognition/memory-context.js.map +1 -0
  1524. package/dist/runtime/cognition/ports.d.ts +11 -0
  1525. package/dist/runtime/cognition/ports.d.ts.map +1 -0
  1526. package/dist/runtime/cognition/ports.js +2 -0
  1527. package/dist/runtime/cognition/ports.js.map +1 -0
  1528. package/dist/runtime/cognition/situation.d.ts +6 -0
  1529. package/dist/runtime/cognition/situation.d.ts.map +1 -0
  1530. package/dist/runtime/cognition/situation.js +66 -0
  1531. package/dist/runtime/cognition/situation.js.map +1 -0
  1532. package/dist/runtime/cognition/tool-authority.d.ts +21 -0
  1533. package/dist/runtime/cognition/tool-authority.d.ts.map +1 -0
  1534. package/dist/runtime/cognition/tool-authority.js +56 -0
  1535. package/dist/runtime/cognition/tool-authority.js.map +1 -0
  1536. package/dist/runtime/cognition/writeback.d.ts +17 -0
  1537. package/dist/runtime/cognition/writeback.d.ts.map +1 -0
  1538. package/dist/runtime/cognition/writeback.js +40 -0
  1539. package/dist/runtime/cognition/writeback.js.map +1 -0
  1540. package/dist/runtime/companion-state-reducer.d.ts +10 -0
  1541. package/dist/runtime/companion-state-reducer.d.ts.map +1 -0
  1542. package/dist/runtime/companion-state-reducer.js +601 -0
  1543. package/dist/runtime/companion-state-reducer.js.map +1 -0
  1544. package/dist/runtime/companion-state-runtime-selectors.d.ts +44 -0
  1545. package/dist/runtime/companion-state-runtime-selectors.d.ts.map +1 -0
  1546. package/dist/runtime/companion-state-runtime-selectors.js +308 -0
  1547. package/dist/runtime/companion-state-runtime-selectors.js.map +1 -0
  1548. package/dist/runtime/confirmation-decision.d.ts +2 -2
  1549. package/dist/runtime/confirmation-decision.d.ts.map +1 -1
  1550. package/dist/runtime/confirmation-decision.js +3 -2
  1551. package/dist/runtime/confirmation-decision.js.map +1 -1
  1552. package/dist/runtime/control/admission-policy.d.ts +1228 -0
  1553. package/dist/runtime/control/admission-policy.d.ts.map +1 -0
  1554. package/dist/runtime/control/admission-policy.js +455 -0
  1555. package/dist/runtime/control/admission-policy.js.map +1 -0
  1556. package/dist/runtime/control/autonomy-governor.d.ts +1345 -0
  1557. package/dist/runtime/control/autonomy-governor.d.ts.map +1 -0
  1558. package/dist/runtime/control/autonomy-governor.js +1030 -0
  1559. package/dist/runtime/control/autonomy-governor.js.map +1 -0
  1560. package/dist/runtime/control/autonomy-ttl.d.ts +4 -0
  1561. package/dist/runtime/control/autonomy-ttl.d.ts.map +1 -0
  1562. package/dist/runtime/control/autonomy-ttl.js +8 -0
  1563. package/dist/runtime/control/autonomy-ttl.js.map +1 -0
  1564. package/dist/runtime/control/capability-status-projection.d.ts +987 -0
  1565. package/dist/runtime/control/capability-status-projection.d.ts.map +1 -0
  1566. package/dist/runtime/control/capability-status-projection.js +384 -0
  1567. package/dist/runtime/control/capability-status-projection.js.map +1 -0
  1568. package/dist/runtime/control/companion-action-projection.d.ts +640 -0
  1569. package/dist/runtime/control/companion-action-projection.d.ts.map +1 -0
  1570. package/dist/runtime/control/companion-action-projection.js +304 -0
  1571. package/dist/runtime/control/companion-action-projection.js.map +1 -0
  1572. package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
  1573. package/dist/runtime/control/daemon-runtime-control-executor.js +2 -3
  1574. package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
  1575. package/dist/runtime/control/index.d.ts +14 -1
  1576. package/dist/runtime/control/index.d.ts.map +1 -1
  1577. package/dist/runtime/control/index.js +7 -0
  1578. package/dist/runtime/control/index.js.map +1 -1
  1579. package/dist/runtime/control/internal-autonomy-default.d.ts +163 -0
  1580. package/dist/runtime/control/internal-autonomy-default.d.ts.map +1 -0
  1581. package/dist/runtime/control/internal-autonomy-default.js +379 -0
  1582. package/dist/runtime/control/internal-autonomy-default.js.map +1 -0
  1583. package/dist/runtime/control/runtime-control-intent.d.ts +4 -0
  1584. package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
  1585. package/dist/runtime/control/runtime-control-intent.js +29 -6
  1586. package/dist/runtime/control/runtime-control-intent.js.map +1 -1
  1587. package/dist/runtime/control/runtime-control-messages.d.ts +5 -0
  1588. package/dist/runtime/control/runtime-control-messages.d.ts.map +1 -0
  1589. package/dist/runtime/control/runtime-control-messages.js +11 -0
  1590. package/dist/runtime/control/runtime-control-messages.js.map +1 -0
  1591. package/dist/runtime/control/runtime-control-permission-grants.d.ts +16 -0
  1592. package/dist/runtime/control/runtime-control-permission-grants.d.ts.map +1 -0
  1593. package/dist/runtime/control/runtime-control-permission-grants.js +125 -0
  1594. package/dist/runtime/control/runtime-control-permission-grants.js.map +1 -0
  1595. package/dist/runtime/control/runtime-control-result-routing.d.ts +1 -0
  1596. package/dist/runtime/control/runtime-control-result-routing.d.ts.map +1 -1
  1597. package/dist/runtime/control/runtime-control-result-routing.js +1 -1
  1598. package/dist/runtime/control/runtime-control-result-routing.js.map +1 -1
  1599. package/dist/runtime/control/runtime-control-service.d.ts +49 -1
  1600. package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
  1601. package/dist/runtime/control/runtime-control-service.js +916 -19
  1602. package/dist/runtime/control/runtime-control-service.js.map +1 -1
  1603. package/dist/runtime/control/runtime-target-resolver.d.ts.map +1 -1
  1604. package/dist/runtime/control/runtime-target-resolver.js +54 -8
  1605. package/dist/runtime/control/runtime-target-resolver.js.map +1 -1
  1606. package/dist/runtime/conversational-approval-decision.d.ts +2 -2
  1607. package/dist/runtime/daemon/browser-backpressure-policy.d.ts +1 -0
  1608. package/dist/runtime/daemon/browser-backpressure-policy.d.ts.map +1 -1
  1609. package/dist/runtime/daemon/browser-backpressure-policy.js +7 -8
  1610. package/dist/runtime/daemon/browser-backpressure-policy.js.map +1 -1
  1611. package/dist/runtime/daemon/client.d.ts +1 -0
  1612. package/dist/runtime/daemon/client.d.ts.map +1 -1
  1613. package/dist/runtime/daemon/client.js +64 -24
  1614. package/dist/runtime/daemon/client.js.map +1 -1
  1615. package/dist/runtime/daemon/config-json.d.ts +5 -0
  1616. package/dist/runtime/daemon/config-json.d.ts.map +1 -0
  1617. package/dist/runtime/daemon/config-json.js +19 -0
  1618. package/dist/runtime/daemon/config-json.js.map +1 -0
  1619. package/dist/runtime/daemon/maintenance.d.ts +12 -2
  1620. package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
  1621. package/dist/runtime/daemon/maintenance.js +59 -22
  1622. package/dist/runtime/daemon/maintenance.js.map +1 -1
  1623. package/dist/runtime/daemon/persistence.d.ts +1 -1
  1624. package/dist/runtime/daemon/persistence.d.ts.map +1 -1
  1625. package/dist/runtime/daemon/persistence.js +10 -20
  1626. package/dist/runtime/daemon/persistence.js.map +1 -1
  1627. package/dist/runtime/daemon/resident-attention-orchestrator.d.ts +35 -0
  1628. package/dist/runtime/daemon/resident-attention-orchestrator.d.ts.map +1 -0
  1629. package/dist/runtime/daemon/resident-attention-orchestrator.js +495 -0
  1630. package/dist/runtime/daemon/resident-attention-orchestrator.js.map +1 -0
  1631. package/dist/runtime/daemon/runner-bootstrap.d.ts.map +1 -1
  1632. package/dist/runtime/daemon/runner-bootstrap.js +8 -6
  1633. package/dist/runtime/daemon/runner-bootstrap.js.map +1 -1
  1634. package/dist/runtime/daemon/runner-commands.d.ts +6 -6
  1635. package/dist/runtime/daemon/runner-commands.d.ts.map +1 -1
  1636. package/dist/runtime/daemon/runner-commands.js +10 -6
  1637. package/dist/runtime/daemon/runner-commands.js.map +1 -1
  1638. package/dist/runtime/daemon/runner-goal-cycle.d.ts.map +1 -1
  1639. package/dist/runtime/daemon/runner-goal-cycle.js +4 -1
  1640. package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
  1641. package/dist/runtime/daemon/runner-recovery.d.ts +2 -2
  1642. package/dist/runtime/daemon/runner-recovery.d.ts.map +1 -1
  1643. package/dist/runtime/daemon/runner-recovery.js +82 -88
  1644. package/dist/runtime/daemon/runner-recovery.js.map +1 -1
  1645. package/dist/runtime/daemon/runner-resident-curiosity.d.ts +6 -4
  1646. package/dist/runtime/daemon/runner-resident-curiosity.d.ts.map +1 -1
  1647. package/dist/runtime/daemon/runner-resident-curiosity.js +125 -20
  1648. package/dist/runtime/daemon/runner-resident-curiosity.js.map +1 -1
  1649. package/dist/runtime/daemon/runner-resident-dream.d.ts +2 -3
  1650. package/dist/runtime/daemon/runner-resident-dream.d.ts.map +1 -1
  1651. package/dist/runtime/daemon/runner-resident-dream.js +4 -14
  1652. package/dist/runtime/daemon/runner-resident-dream.js.map +1 -1
  1653. package/dist/runtime/daemon/runner-resident-proactive.d.ts +14 -3
  1654. package/dist/runtime/daemon/runner-resident-proactive.d.ts.map +1 -1
  1655. package/dist/runtime/daemon/runner-resident-proactive.js +312 -23
  1656. package/dist/runtime/daemon/runner-resident-proactive.js.map +1 -1
  1657. package/dist/runtime/daemon/runner-resident-shared.d.ts +25 -0
  1658. package/dist/runtime/daemon/runner-resident-shared.d.ts.map +1 -1
  1659. package/dist/runtime/daemon/runner-resident-shared.js +57 -12
  1660. package/dist/runtime/daemon/runner-resident-shared.js.map +1 -1
  1661. package/dist/runtime/daemon/runner-resident.d.ts +1 -1
  1662. package/dist/runtime/daemon/runner-resident.d.ts.map +1 -1
  1663. package/dist/runtime/daemon/runner-resident.js +1 -1
  1664. package/dist/runtime/daemon/runner-resident.js.map +1 -1
  1665. package/dist/runtime/daemon/runner-startup.d.ts +2 -1
  1666. package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
  1667. package/dist/runtime/daemon/runner-startup.js +19 -14
  1668. package/dist/runtime/daemon/runner-startup.js.map +1 -1
  1669. package/dist/runtime/daemon/runner.d.ts +28 -14
  1670. package/dist/runtime/daemon/runner.d.ts.map +1 -1
  1671. package/dist/runtime/daemon/runner.js +20 -19
  1672. package/dist/runtime/daemon/runner.js.map +1 -1
  1673. package/dist/runtime/daemon/runtime-ownership.d.ts +1 -0
  1674. package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
  1675. package/dist/runtime/daemon/runtime-ownership.js +41 -48
  1676. package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
  1677. package/dist/runtime/daemon/runtime-root.d.ts.map +1 -1
  1678. package/dist/runtime/daemon/runtime-root.js +13 -17
  1679. package/dist/runtime/daemon/runtime-root.js.map +1 -1
  1680. package/dist/runtime/daemon/types.d.ts +18 -4
  1681. package/dist/runtime/daemon/types.d.ts.map +1 -1
  1682. package/dist/runtime/daemon/types.js +8 -1
  1683. package/dist/runtime/daemon/types.js.map +1 -1
  1684. package/dist/runtime/daemon/wait-deadline-resolver.d.ts +9 -2
  1685. package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
  1686. package/dist/runtime/daemon/wait-deadline-resolver.js +13 -12
  1687. package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
  1688. package/dist/runtime/decision/companion-behavior-eval-contract.d.ts +645 -0
  1689. package/dist/runtime/decision/companion-behavior-eval-contract.d.ts.map +1 -0
  1690. package/dist/runtime/decision/companion-behavior-eval-contract.js +263 -0
  1691. package/dist/runtime/decision/companion-behavior-eval-contract.js.map +1 -0
  1692. package/dist/runtime/decision/companion-character-policy-projection.d.ts +325 -0
  1693. package/dist/runtime/decision/companion-character-policy-projection.d.ts.map +1 -0
  1694. package/dist/runtime/decision/companion-character-policy-projection.js +231 -0
  1695. package/dist/runtime/decision/companion-character-policy-projection.js.map +1 -0
  1696. package/dist/runtime/decision/companion-decision-contract.d.ts +503 -0
  1697. package/dist/runtime/decision/companion-decision-contract.d.ts.map +1 -0
  1698. package/dist/runtime/decision/companion-decision-contract.js +128 -0
  1699. package/dist/runtime/decision/companion-decision-contract.js.map +1 -0
  1700. package/dist/runtime/decision/companion-gadget-planning.d.ts +2252 -0
  1701. package/dist/runtime/decision/companion-gadget-planning.d.ts.map +1 -0
  1702. package/dist/runtime/decision/companion-gadget-planning.js +534 -0
  1703. package/dist/runtime/decision/companion-gadget-planning.js.map +1 -0
  1704. package/dist/runtime/decision/core-companion-memory-projection.d.ts +3059 -0
  1705. package/dist/runtime/decision/core-companion-memory-projection.d.ts.map +1 -0
  1706. package/dist/runtime/decision/core-companion-memory-projection.js +449 -0
  1707. package/dist/runtime/decision/core-companion-memory-projection.js.map +1 -0
  1708. package/dist/runtime/decision/index.d.ts +11 -0
  1709. package/dist/runtime/decision/index.d.ts.map +1 -0
  1710. package/dist/runtime/decision/index.js +6 -0
  1711. package/dist/runtime/decision/index.js.map +1 -0
  1712. package/dist/runtime/dream-sidecar-review.d.ts.map +1 -1
  1713. package/dist/runtime/dream-sidecar-review.js +2 -2
  1714. package/dist/runtime/dream-sidecar-review.js.map +1 -1
  1715. package/dist/runtime/event/outbox-seq.d.ts +2 -0
  1716. package/dist/runtime/event/outbox-seq.d.ts.map +1 -0
  1717. package/dist/runtime/event/outbox-seq.js +11 -0
  1718. package/dist/runtime/event/outbox-seq.js.map +1 -0
  1719. package/dist/runtime/event/server-auth.d.ts +1 -1
  1720. package/dist/runtime/event/server-auth.d.ts.map +1 -1
  1721. package/dist/runtime/event/server-auth.js +3 -1
  1722. package/dist/runtime/event/server-auth.js.map +1 -1
  1723. package/dist/runtime/event/server-command-handler.d.ts.map +1 -1
  1724. package/dist/runtime/event/server-command-handler.js +45 -44
  1725. package/dist/runtime/event/server-command-handler.js.map +1 -1
  1726. package/dist/runtime/event/server-file-ingestion.d.ts +1 -0
  1727. package/dist/runtime/event/server-file-ingestion.d.ts.map +1 -1
  1728. package/dist/runtime/event/server-file-ingestion.js +18 -29
  1729. package/dist/runtime/event/server-file-ingestion.js.map +1 -1
  1730. package/dist/runtime/event/server-http.d.ts +2 -1
  1731. package/dist/runtime/event/server-http.d.ts.map +1 -1
  1732. package/dist/runtime/event/server-http.js +2 -18
  1733. package/dist/runtime/event/server-http.js.map +1 -1
  1734. package/dist/runtime/event/server-router.d.ts +2 -0
  1735. package/dist/runtime/event/server-router.d.ts.map +1 -1
  1736. package/dist/runtime/event/server-router.js +21 -12
  1737. package/dist/runtime/event/server-router.js.map +1 -1
  1738. package/dist/runtime/event/server-snapshot-reader.d.ts +10 -2
  1739. package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -1
  1740. package/dist/runtime/event/server-snapshot-reader.js +95 -64
  1741. package/dist/runtime/event/server-snapshot-reader.js.map +1 -1
  1742. package/dist/runtime/event/server-sse.d.ts.map +1 -1
  1743. package/dist/runtime/event/server-sse.js +3 -4
  1744. package/dist/runtime/event/server-sse.js.map +1 -1
  1745. package/dist/runtime/event/server-trigger-handler.d.ts.map +1 -1
  1746. package/dist/runtime/event/server-trigger-handler.js +7 -10
  1747. package/dist/runtime/event/server-trigger-handler.js.map +1 -1
  1748. package/dist/runtime/event/server-types.d.ts +4 -0
  1749. package/dist/runtime/event/server-types.d.ts.map +1 -1
  1750. package/dist/runtime/event/server.d.ts +1 -0
  1751. package/dist/runtime/event/server.d.ts.map +1 -1
  1752. package/dist/runtime/event/server.js +15 -4
  1753. package/dist/runtime/event/server.js.map +1 -1
  1754. package/dist/runtime/evidence-answer.d.ts +26 -0
  1755. package/dist/runtime/evidence-answer.d.ts.map +1 -1
  1756. package/dist/runtime/evidence-answer.js +134 -14
  1757. package/dist/runtime/evidence-answer.js.map +1 -1
  1758. package/dist/runtime/executor/goal-worker.d.ts +3 -3
  1759. package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
  1760. package/dist/runtime/executor/goal-worker.js +4 -4
  1761. package/dist/runtime/executor/goal-worker.js.map +1 -1
  1762. package/dist/runtime/executor/loop-supervisor.d.ts +13 -6
  1763. package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
  1764. package/dist/runtime/executor/loop-supervisor.js +91 -23
  1765. package/dist/runtime/executor/loop-supervisor.js.map +1 -1
  1766. package/dist/runtime/foreign-plugins/compatibility.d.ts +18 -1
  1767. package/dist/runtime/foreign-plugins/compatibility.d.ts.map +1 -1
  1768. package/dist/runtime/foreign-plugins/compatibility.js +183 -55
  1769. package/dist/runtime/foreign-plugins/compatibility.js.map +1 -1
  1770. package/dist/runtime/foreign-plugins/index.d.ts +2 -2
  1771. package/dist/runtime/foreign-plugins/index.d.ts.map +1 -1
  1772. package/dist/runtime/foreign-plugins/index.js +1 -1
  1773. package/dist/runtime/foreign-plugins/index.js.map +1 -1
  1774. package/dist/runtime/foreign-plugins/types.d.ts +347 -14
  1775. package/dist/runtime/foreign-plugins/types.d.ts.map +1 -1
  1776. package/dist/runtime/foreign-plugins/types.js +88 -1
  1777. package/dist/runtime/foreign-plugins/types.js.map +1 -1
  1778. package/dist/runtime/gateway/channel-adapter.d.ts +3 -0
  1779. package/dist/runtime/gateway/channel-adapter.d.ts.map +1 -1
  1780. package/dist/runtime/gateway/channel-display-policy.js +1 -1
  1781. package/dist/runtime/gateway/channel-display-policy.js.map +1 -1
  1782. package/dist/runtime/gateway/channel-policy.d.ts +55 -0
  1783. package/dist/runtime/gateway/channel-policy.d.ts.map +1 -1
  1784. package/dist/runtime/gateway/channel-policy.js +108 -0
  1785. package/dist/runtime/gateway/channel-policy.js.map +1 -1
  1786. package/dist/runtime/gateway/channel-presence-policy.d.ts +34 -0
  1787. package/dist/runtime/gateway/channel-presence-policy.d.ts.map +1 -0
  1788. package/dist/runtime/gateway/channel-presence-policy.js +118 -0
  1789. package/dist/runtime/gateway/channel-presence-policy.js.map +1 -0
  1790. package/dist/runtime/gateway/chat-event-rendering.d.ts +18 -27
  1791. package/dist/runtime/gateway/chat-event-rendering.d.ts.map +1 -1
  1792. package/dist/runtime/gateway/chat-event-rendering.js +49 -34
  1793. package/dist/runtime/gateway/chat-event-rendering.js.map +1 -1
  1794. package/dist/runtime/gateway/chat-session-dispatch.d.ts +13 -0
  1795. package/dist/runtime/gateway/chat-session-dispatch.d.ts.map +1 -1
  1796. package/dist/runtime/gateway/chat-session-dispatch.js +43 -6
  1797. package/dist/runtime/gateway/chat-session-dispatch.js.map +1 -1
  1798. package/dist/runtime/gateway/chat-session-port.d.ts +2 -0
  1799. package/dist/runtime/gateway/chat-session-port.d.ts.map +1 -1
  1800. package/dist/runtime/gateway/chat-session-port.js.map +1 -1
  1801. package/dist/runtime/gateway/config-json.d.ts +3 -0
  1802. package/dist/runtime/gateway/config-json.d.ts.map +1 -0
  1803. package/dist/runtime/gateway/config-json.js +27 -0
  1804. package/dist/runtime/gateway/config-json.js.map +1 -0
  1805. package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts +2 -0
  1806. package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts.map +1 -0
  1807. package/dist/runtime/gateway/direct-chat-latency-smoke.js +214 -0
  1808. package/dist/runtime/gateway/direct-chat-latency-smoke.js.map +1 -0
  1809. package/dist/runtime/gateway/discord-gateway-adapter.d.ts +1 -1
  1810. package/dist/runtime/gateway/discord-gateway-adapter.d.ts.map +1 -1
  1811. package/dist/runtime/gateway/discord-gateway-adapter.js +87 -43
  1812. package/dist/runtime/gateway/discord-gateway-adapter.js.map +1 -1
  1813. package/dist/runtime/gateway/gateway-progress-narration.d.ts +12 -0
  1814. package/dist/runtime/gateway/gateway-progress-narration.d.ts.map +1 -0
  1815. package/dist/runtime/gateway/gateway-progress-narration.js +294 -0
  1816. package/dist/runtime/gateway/gateway-progress-narration.js.map +1 -0
  1817. package/dist/runtime/gateway/http-channel-adapter.d.ts +1 -0
  1818. package/dist/runtime/gateway/http-channel-adapter.d.ts.map +1 -1
  1819. package/dist/runtime/gateway/http-channel-adapter.js +2 -0
  1820. package/dist/runtime/gateway/http-channel-adapter.js.map +1 -1
  1821. package/dist/runtime/gateway/index.d.ts +7 -0
  1822. package/dist/runtime/gateway/index.d.ts.map +1 -1
  1823. package/dist/runtime/gateway/index.js +5 -0
  1824. package/dist/runtime/gateway/index.js.map +1 -1
  1825. package/dist/runtime/gateway/ingress-gateway.d.ts.map +1 -1
  1826. package/dist/runtime/gateway/ingress-gateway.js +2 -6
  1827. package/dist/runtime/gateway/ingress-gateway.js.map +1 -1
  1828. package/dist/runtime/gateway/non-tui-display-projector.d.ts +5 -0
  1829. package/dist/runtime/gateway/non-tui-display-projector.d.ts.map +1 -1
  1830. package/dist/runtime/gateway/non-tui-display-projector.js +202 -27
  1831. package/dist/runtime/gateway/non-tui-display-projector.js.map +1 -1
  1832. package/dist/runtime/gateway/seedy-presence-projector.d.ts +74 -0
  1833. package/dist/runtime/gateway/seedy-presence-projector.d.ts.map +1 -0
  1834. package/dist/runtime/gateway/seedy-presence-projector.js +395 -0
  1835. package/dist/runtime/gateway/seedy-presence-projector.js.map +1 -0
  1836. package/dist/runtime/gateway/seedy-presence-rendering.d.ts +9 -0
  1837. package/dist/runtime/gateway/seedy-presence-rendering.d.ts.map +1 -0
  1838. package/dist/runtime/gateway/seedy-presence-rendering.js +103 -0
  1839. package/dist/runtime/gateway/seedy-presence-rendering.js.map +1 -0
  1840. package/dist/runtime/gateway/signal-gateway-adapter.d.ts +1 -0
  1841. package/dist/runtime/gateway/signal-gateway-adapter.d.ts.map +1 -1
  1842. package/dist/runtime/gateway/signal-gateway-adapter.js +67 -38
  1843. package/dist/runtime/gateway/signal-gateway-adapter.js.map +1 -1
  1844. package/dist/runtime/gateway/slack-channel-adapter.d.ts +1 -0
  1845. package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +1 -1
  1846. package/dist/runtime/gateway/slack-channel-adapter.js +85 -34
  1847. package/dist/runtime/gateway/slack-channel-adapter.js.map +1 -1
  1848. package/dist/runtime/gateway/telegram-gateway-adapter.d.ts +19 -4
  1849. package/dist/runtime/gateway/telegram-gateway-adapter.d.ts.map +1 -1
  1850. package/dist/runtime/gateway/telegram-gateway-adapter.js +428 -117
  1851. package/dist/runtime/gateway/telegram-gateway-adapter.js.map +1 -1
  1852. package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts +1 -1
  1853. package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts.map +1 -1
  1854. package/dist/runtime/gateway/whatsapp-gateway-adapter.js +86 -54
  1855. package/dist/runtime/gateway/whatsapp-gateway-adapter.js.map +1 -1
  1856. package/dist/runtime/gateway/ws-channel-adapter.d.ts.map +1 -1
  1857. package/dist/runtime/gateway/ws-channel-adapter.js +3 -4
  1858. package/dist/runtime/gateway/ws-channel-adapter.js.map +1 -1
  1859. package/dist/runtime/goal-lease-manager.d.ts +9 -14
  1860. package/dist/runtime/goal-lease-manager.d.ts.map +1 -1
  1861. package/dist/runtime/goal-lease-manager.js +85 -141
  1862. package/dist/runtime/goal-lease-manager.js.map +1 -1
  1863. package/dist/runtime/guardrails/backpressure-controller.d.ts +1 -1
  1864. package/dist/runtime/guardrails/backpressure-controller.d.ts.map +1 -1
  1865. package/dist/runtime/guardrails/backpressure-controller.js +5 -4
  1866. package/dist/runtime/guardrails/backpressure-controller.js.map +1 -1
  1867. package/dist/runtime/guardrails/backpressure-limits.d.ts +5 -0
  1868. package/dist/runtime/guardrails/backpressure-limits.d.ts.map +1 -0
  1869. package/dist/runtime/guardrails/backpressure-limits.js +13 -0
  1870. package/dist/runtime/guardrails/backpressure-limits.js.map +1 -0
  1871. package/dist/runtime/guardrails/guardrail-store.d.ts +8 -10
  1872. package/dist/runtime/guardrails/guardrail-store.d.ts.map +1 -1
  1873. package/dist/runtime/guardrails/guardrail-store.js +78 -55
  1874. package/dist/runtime/guardrails/guardrail-store.js.map +1 -1
  1875. package/dist/runtime/hook-manager.d.ts +2 -0
  1876. package/dist/runtime/hook-manager.d.ts.map +1 -1
  1877. package/dist/runtime/hook-manager.js +10 -4
  1878. package/dist/runtime/hook-manager.js.map +1 -1
  1879. package/dist/runtime/http-body.d.ts +8 -0
  1880. package/dist/runtime/http-body.d.ts.map +1 -0
  1881. package/dist/runtime/http-body.js +43 -0
  1882. package/dist/runtime/http-body.js.map +1 -0
  1883. package/dist/runtime/intention/companion-intention-state.d.ts +680 -0
  1884. package/dist/runtime/intention/companion-intention-state.d.ts.map +1 -0
  1885. package/dist/runtime/intention/companion-intention-state.js +146 -0
  1886. package/dist/runtime/intention/companion-intention-state.js.map +1 -0
  1887. package/dist/runtime/intention/index.d.ts +3 -0
  1888. package/dist/runtime/intention/index.d.ts.map +1 -0
  1889. package/dist/runtime/intention/index.js +2 -0
  1890. package/dist/runtime/intention/index.js.map +1 -0
  1891. package/dist/runtime/interactive-automation/browser-session-store.d.ts +8 -4
  1892. package/dist/runtime/interactive-automation/browser-session-store.d.ts.map +1 -1
  1893. package/dist/runtime/interactive-automation/browser-session-store.js +78 -9
  1894. package/dist/runtime/interactive-automation/browser-session-store.js.map +1 -1
  1895. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts +9 -4
  1896. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts.map +1 -1
  1897. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js +82 -9
  1898. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js.map +1 -1
  1899. package/dist/runtime/leader-lock-manager.d.ts +27 -4
  1900. package/dist/runtime/leader-lock-manager.d.ts.map +1 -1
  1901. package/dist/runtime/leader-lock-manager.js +102 -105
  1902. package/dist/runtime/leader-lock-manager.js.map +1 -1
  1903. package/dist/runtime/mcp/compatibility.d.ts +53 -0
  1904. package/dist/runtime/mcp/compatibility.d.ts.map +1 -0
  1905. package/dist/runtime/mcp/compatibility.js +94 -0
  1906. package/dist/runtime/mcp/compatibility.js.map +1 -0
  1907. package/dist/runtime/mcp/index.d.ts +3 -0
  1908. package/dist/runtime/mcp/index.d.ts.map +1 -0
  1909. package/dist/runtime/mcp/index.js +2 -0
  1910. package/dist/runtime/mcp/index.js.map +1 -0
  1911. package/dist/runtime/notification-routing.d.ts.map +1 -1
  1912. package/dist/runtime/notification-routing.js +2 -1
  1913. package/dist/runtime/notification-routing.js.map +1 -1
  1914. package/dist/runtime/observation/index.d.ts +3 -0
  1915. package/dist/runtime/observation/index.d.ts.map +1 -0
  1916. package/dist/runtime/observation/index.js +2 -0
  1917. package/dist/runtime/observation/index.js.map +1 -0
  1918. package/dist/runtime/observation/observation-contracts.d.ts +1518 -0
  1919. package/dist/runtime/observation/observation-contracts.d.ts.map +1 -0
  1920. package/dist/runtime/observation/observation-contracts.js +311 -0
  1921. package/dist/runtime/observation/observation-contracts.js.map +1 -0
  1922. package/dist/runtime/permission-dialogue.d.ts +87 -10
  1923. package/dist/runtime/permission-dialogue.d.ts.map +1 -1
  1924. package/dist/runtime/permission-dialogue.js +39 -4
  1925. package/dist/runtime/permission-dialogue.js.map +1 -1
  1926. package/dist/runtime/permission-grant-decision.d.ts +50 -0
  1927. package/dist/runtime/permission-grant-decision.d.ts.map +1 -0
  1928. package/dist/runtime/permission-grant-decision.js +139 -0
  1929. package/dist/runtime/permission-grant-decision.js.map +1 -0
  1930. package/dist/runtime/pid-manager.d.ts +1 -0
  1931. package/dist/runtime/pid-manager.d.ts.map +1 -1
  1932. package/dist/runtime/pid-manager.js +44 -21
  1933. package/dist/runtime/pid-manager.js.map +1 -1
  1934. package/dist/runtime/plugin-loader.d.ts +10 -1
  1935. package/dist/runtime/plugin-loader.d.ts.map +1 -1
  1936. package/dist/runtime/plugin-loader.js +104 -78
  1937. package/dist/runtime/plugin-loader.js.map +1 -1
  1938. package/dist/runtime/plugin-manifest-reader.d.ts +38 -0
  1939. package/dist/runtime/plugin-manifest-reader.d.ts.map +1 -0
  1940. package/dist/runtime/plugin-manifest-reader.js +163 -0
  1941. package/dist/runtime/plugin-manifest-reader.js.map +1 -0
  1942. package/dist/runtime/port-utils.d.ts.map +1 -1
  1943. package/dist/runtime/port-utils.js +20 -6
  1944. package/dist/runtime/port-utils.js.map +1 -1
  1945. package/dist/runtime/queue/journal-backed-queue.d.ts +8 -7
  1946. package/dist/runtime/queue/journal-backed-queue.d.ts.map +1 -1
  1947. package/dist/runtime/queue/journal-backed-queue.js +172 -122
  1948. package/dist/runtime/queue/journal-backed-queue.js.map +1 -1
  1949. package/dist/runtime/resident-runtime-interface.d.ts +1034 -0
  1950. package/dist/runtime/resident-runtime-interface.d.ts.map +1 -0
  1951. package/dist/runtime/resident-runtime-interface.js +429 -0
  1952. package/dist/runtime/resident-runtime-interface.js.map +1 -0
  1953. package/dist/runtime/run-spec/confirmation.d.ts +4 -1
  1954. package/dist/runtime/run-spec/confirmation.d.ts.map +1 -1
  1955. package/dist/runtime/run-spec/confirmation.js +101 -6
  1956. package/dist/runtime/run-spec/confirmation.js.map +1 -1
  1957. package/dist/runtime/run-spec/derive.d.ts +29 -29
  1958. package/dist/runtime/run-spec/derive.d.ts.map +1 -1
  1959. package/dist/runtime/run-spec/derive.js +8 -7
  1960. package/dist/runtime/run-spec/derive.js.map +1 -1
  1961. package/dist/runtime/run-spec/handoff.d.ts.map +1 -1
  1962. package/dist/runtime/run-spec/handoff.js +43 -39
  1963. package/dist/runtime/run-spec/handoff.js.map +1 -1
  1964. package/dist/runtime/run-spec/index.d.ts +2 -0
  1965. package/dist/runtime/run-spec/index.d.ts.map +1 -1
  1966. package/dist/runtime/run-spec/index.js +1 -0
  1967. package/dist/runtime/run-spec/index.js.map +1 -1
  1968. package/dist/runtime/run-spec/pending-dialogue-arbiter.d.ts +4 -4
  1969. package/dist/runtime/run-spec/pending-dialogue-arbiter.js +1 -1
  1970. package/dist/runtime/run-spec/pending-dialogue-arbiter.js.map +1 -1
  1971. package/dist/runtime/run-spec/run-spec-state-migration.d.ts +13 -0
  1972. package/dist/runtime/run-spec/run-spec-state-migration.d.ts.map +1 -0
  1973. package/dist/runtime/run-spec/run-spec-state-migration.js +117 -0
  1974. package/dist/runtime/run-spec/run-spec-state-migration.js.map +1 -0
  1975. package/dist/runtime/run-spec/store.d.ts +9 -3
  1976. package/dist/runtime/run-spec/store.d.ts.map +1 -1
  1977. package/dist/runtime/run-spec/store.js +68 -19
  1978. package/dist/runtime/run-spec/store.js.map +1 -1
  1979. package/dist/runtime/run-spec/types.d.ts +49 -44
  1980. package/dist/runtime/run-spec/types.d.ts.map +1 -1
  1981. package/dist/runtime/run-spec/types.js +11 -6
  1982. package/dist/runtime/run-spec/types.js.map +1 -1
  1983. package/dist/runtime/schedule/engine-execution.d.ts +7 -3
  1984. package/dist/runtime/schedule/engine-execution.d.ts.map +1 -1
  1985. package/dist/runtime/schedule/engine-execution.js +61 -26
  1986. package/dist/runtime/schedule/engine-execution.js.map +1 -1
  1987. package/dist/runtime/schedule/engine-heartbeat.d.ts.map +1 -1
  1988. package/dist/runtime/schedule/engine-heartbeat.js +15 -7
  1989. package/dist/runtime/schedule/engine-heartbeat.js.map +1 -1
  1990. package/dist/runtime/schedule/engine-layers.d.ts +4 -1
  1991. package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
  1992. package/dist/runtime/schedule/engine-layers.js +155 -12
  1993. package/dist/runtime/schedule/engine-layers.js.map +1 -1
  1994. package/dist/runtime/schedule/engine-mutations.js.map +1 -1
  1995. package/dist/runtime/schedule/engine.d.ts +7 -3
  1996. package/dist/runtime/schedule/engine.d.ts.map +1 -1
  1997. package/dist/runtime/schedule/engine.js +62 -13
  1998. package/dist/runtime/schedule/engine.js.map +1 -1
  1999. package/dist/runtime/schedule/entry-normalization.d.ts +9 -0
  2000. package/dist/runtime/schedule/entry-normalization.d.ts.map +1 -0
  2001. package/dist/runtime/schedule/entry-normalization.js +105 -0
  2002. package/dist/runtime/schedule/entry-normalization.js.map +1 -0
  2003. package/dist/runtime/schedule/entry-store.d.ts +7 -6
  2004. package/dist/runtime/schedule/entry-store.d.ts.map +1 -1
  2005. package/dist/runtime/schedule/entry-store.js +94 -67
  2006. package/dist/runtime/schedule/entry-store.js.map +1 -1
  2007. package/dist/runtime/schedule/history.d.ts +649 -9
  2008. package/dist/runtime/schedule/history.d.ts.map +1 -1
  2009. package/dist/runtime/schedule/history.js +66 -23
  2010. package/dist/runtime/schedule/history.js.map +1 -1
  2011. package/dist/runtime/schedule/legacy-cron-migration.d.ts.map +1 -1
  2012. package/dist/runtime/schedule/legacy-cron-migration.js +34 -8
  2013. package/dist/runtime/schedule/legacy-cron-migration.js.map +1 -1
  2014. package/dist/runtime/schedule/presets.d.ts +20 -20
  2015. package/dist/runtime/schedule/presets.d.ts.map +1 -1
  2016. package/dist/runtime/schedule/presets.js +4 -2
  2017. package/dist/runtime/schedule/presets.js.map +1 -1
  2018. package/dist/runtime/schedule/source.d.ts +30 -28
  2019. package/dist/runtime/schedule/source.d.ts.map +1 -1
  2020. package/dist/runtime/schedule/source.js +16 -5
  2021. package/dist/runtime/schedule/source.js.map +1 -1
  2022. package/dist/runtime/schedule/wait-projection.d.ts.map +1 -1
  2023. package/dist/runtime/schedule/wait-projection.js +6 -9
  2024. package/dist/runtime/schedule/wait-projection.js.map +1 -1
  2025. package/dist/runtime/session-registry/registry-helpers.d.ts +2 -0
  2026. package/dist/runtime/session-registry/registry-helpers.d.ts.map +1 -1
  2027. package/dist/runtime/session-registry/registry-helpers.js +34 -10
  2028. package/dist/runtime/session-registry/registry-helpers.js.map +1 -1
  2029. package/dist/runtime/session-registry/registry.d.ts +3 -2
  2030. package/dist/runtime/session-registry/registry.d.ts.map +1 -1
  2031. package/dist/runtime/session-registry/registry.js +118 -211
  2032. package/dist/runtime/session-registry/registry.js.map +1 -1
  2033. package/dist/runtime/session-registry/types.d.ts +160 -160
  2034. package/dist/runtime/session-registry/types.d.ts.map +1 -1
  2035. package/dist/runtime/session-registry/types.js +1 -0
  2036. package/dist/runtime/session-registry/types.js.map +1 -1
  2037. package/dist/runtime/skills/skill-bundle.d.ts +45 -0
  2038. package/dist/runtime/skills/skill-bundle.d.ts.map +1 -0
  2039. package/dist/runtime/skills/skill-bundle.js +203 -0
  2040. package/dist/runtime/skills/skill-bundle.js.map +1 -0
  2041. package/dist/runtime/skills/skill-parser.d.ts +1 -0
  2042. package/dist/runtime/skills/skill-parser.d.ts.map +1 -1
  2043. package/dist/runtime/skills/skill-parser.js +30 -11
  2044. package/dist/runtime/skills/skill-parser.js.map +1 -1
  2045. package/dist/runtime/skills/skill-registry.d.ts +5 -0
  2046. package/dist/runtime/skills/skill-registry.d.ts.map +1 -1
  2047. package/dist/runtime/skills/skill-registry.js +53 -9
  2048. package/dist/runtime/skills/skill-registry.js.map +1 -1
  2049. package/dist/runtime/store/approval-store.d.ts +5 -5
  2050. package/dist/runtime/store/approval-store.d.ts.map +1 -1
  2051. package/dist/runtime/store/approval-store.js +86 -81
  2052. package/dist/runtime/store/approval-store.js.map +1 -1
  2053. package/dist/runtime/store/artifact-retention.d.ts.map +1 -1
  2054. package/dist/runtime/store/artifact-retention.js +13 -2
  2055. package/dist/runtime/store/artifact-retention.js.map +1 -1
  2056. package/dist/runtime/store/attention-state-store.d.ts +195 -0
  2057. package/dist/runtime/store/attention-state-store.d.ts.map +1 -0
  2058. package/dist/runtime/store/attention-state-store.js +1186 -0
  2059. package/dist/runtime/store/attention-state-store.js.map +1 -0
  2060. package/dist/runtime/store/background-run-store.d.ts +233 -2
  2061. package/dist/runtime/store/background-run-store.d.ts.map +1 -1
  2062. package/dist/runtime/store/background-run-store.js +65 -9
  2063. package/dist/runtime/store/background-run-store.js.map +1 -1
  2064. package/dist/runtime/store/budget-store.d.ts +101 -48
  2065. package/dist/runtime/store/budget-store.d.ts.map +1 -1
  2066. package/dist/runtime/store/budget-store.js +226 -47
  2067. package/dist/runtime/store/budget-store.js.map +1 -1
  2068. package/dist/runtime/store/capability-registry-state-migration.d.ts +24 -0
  2069. package/dist/runtime/store/capability-registry-state-migration.d.ts.map +1 -0
  2070. package/dist/runtime/store/capability-registry-state-migration.js +208 -0
  2071. package/dist/runtime/store/capability-registry-state-migration.js.map +1 -0
  2072. package/dist/runtime/store/capability-registry-state-store.d.ts +36 -0
  2073. package/dist/runtime/store/capability-registry-state-store.d.ts.map +1 -0
  2074. package/dist/runtime/store/capability-registry-state-store.js +181 -0
  2075. package/dist/runtime/store/capability-registry-state-store.js.map +1 -0
  2076. package/dist/runtime/store/capability-verification-schemas.d.ts +184 -0
  2077. package/dist/runtime/store/capability-verification-schemas.d.ts.map +1 -0
  2078. package/dist/runtime/store/capability-verification-schemas.js +150 -0
  2079. package/dist/runtime/store/capability-verification-schemas.js.map +1 -0
  2080. package/dist/runtime/store/capability-verification-store.d.ts +31 -0
  2081. package/dist/runtime/store/capability-verification-store.d.ts.map +1 -0
  2082. package/dist/runtime/store/capability-verification-store.js +198 -0
  2083. package/dist/runtime/store/capability-verification-store.js.map +1 -0
  2084. package/dist/runtime/store/control-db/control-db.d.ts +80 -0
  2085. package/dist/runtime/store/control-db/control-db.d.ts.map +1 -0
  2086. package/dist/runtime/store/control-db/control-db.js +313 -0
  2087. package/dist/runtime/store/control-db/control-db.js.map +1 -0
  2088. package/dist/runtime/store/control-db/index.d.ts +7 -0
  2089. package/dist/runtime/store/control-db/index.d.ts.map +1 -0
  2090. package/dist/runtime/store/control-db/index.js +4 -0
  2091. package/dist/runtime/store/control-db/index.js.map +1 -0
  2092. package/dist/runtime/store/control-db/runtime-control-db.d.ts +11 -0
  2093. package/dist/runtime/store/control-db/runtime-control-db.d.ts.map +1 -0
  2094. package/dist/runtime/store/control-db/runtime-control-db.js +27 -0
  2095. package/dist/runtime/store/control-db/runtime-control-db.js.map +1 -0
  2096. package/dist/runtime/store/control-db/schema.d.ts +41 -0
  2097. package/dist/runtime/store/control-db/schema.d.ts.map +1 -0
  2098. package/dist/runtime/store/control-db/schema.js +2032 -0
  2099. package/dist/runtime/store/control-db/schema.js.map +1 -0
  2100. package/dist/runtime/store/curiosity-state-migration.d.ts +14 -0
  2101. package/dist/runtime/store/curiosity-state-migration.d.ts.map +1 -0
  2102. package/dist/runtime/store/curiosity-state-migration.js +98 -0
  2103. package/dist/runtime/store/curiosity-state-migration.js.map +1 -0
  2104. package/dist/runtime/store/curiosity-state-store.d.ts +19 -0
  2105. package/dist/runtime/store/curiosity-state-store.d.ts.map +1 -0
  2106. package/dist/runtime/store/curiosity-state-store.js +161 -0
  2107. package/dist/runtime/store/curiosity-state-store.js.map +1 -0
  2108. package/dist/runtime/store/daemon-state-store.d.ts +25 -0
  2109. package/dist/runtime/store/daemon-state-store.d.ts.map +1 -0
  2110. package/dist/runtime/store/daemon-state-store.js +145 -0
  2111. package/dist/runtime/store/daemon-state-store.js.map +1 -0
  2112. package/dist/runtime/store/dream-decision-heuristic-migration.d.ts +8 -0
  2113. package/dist/runtime/store/dream-decision-heuristic-migration.d.ts.map +1 -0
  2114. package/dist/runtime/store/dream-decision-heuristic-migration.js +89 -0
  2115. package/dist/runtime/store/dream-decision-heuristic-migration.js.map +1 -0
  2116. package/dist/runtime/store/dream-decision-heuristic-store.d.ts +13 -0
  2117. package/dist/runtime/store/dream-decision-heuristic-store.d.ts.map +1 -0
  2118. package/dist/runtime/store/dream-decision-heuristic-store.js +62 -0
  2119. package/dist/runtime/store/dream-decision-heuristic-store.js.map +1 -0
  2120. package/dist/runtime/store/ethics-log-migration.d.ts +12 -0
  2121. package/dist/runtime/store/ethics-log-migration.d.ts.map +1 -0
  2122. package/dist/runtime/store/ethics-log-migration.js +94 -0
  2123. package/dist/runtime/store/ethics-log-migration.js.map +1 -0
  2124. package/dist/runtime/store/ethics-log-store.d.ts +20 -0
  2125. package/dist/runtime/store/ethics-log-store.d.ts.map +1 -0
  2126. package/dist/runtime/store/ethics-log-store.js +90 -0
  2127. package/dist/runtime/store/ethics-log-store.js.map +1 -0
  2128. package/dist/runtime/store/evidence-ledger.d.ts +8 -203
  2129. package/dist/runtime/store/evidence-ledger.d.ts.map +1 -1
  2130. package/dist/runtime/store/evidence-ledger.js +172 -507
  2131. package/dist/runtime/store/evidence-ledger.js.map +1 -1
  2132. package/dist/runtime/store/evidence-types.d.ts +768 -749
  2133. package/dist/runtime/store/evidence-types.d.ts.map +1 -1
  2134. package/dist/runtime/store/evidence-types.js +7 -4
  2135. package/dist/runtime/store/evidence-types.js.map +1 -1
  2136. package/dist/runtime/store/execution-session-state-migration.d.ts +14 -0
  2137. package/dist/runtime/store/execution-session-state-migration.d.ts.map +1 -0
  2138. package/dist/runtime/store/execution-session-state-migration.js +184 -0
  2139. package/dist/runtime/store/execution-session-state-migration.js.map +1 -0
  2140. package/dist/runtime/store/execution-session-state-store.d.ts +21 -0
  2141. package/dist/runtime/store/execution-session-state-store.d.ts.map +1 -0
  2142. package/dist/runtime/store/execution-session-state-store.js +117 -0
  2143. package/dist/runtime/store/execution-session-state-store.js.map +1 -0
  2144. package/dist/runtime/store/experiment-queue-store.d.ts +76 -72
  2145. package/dist/runtime/store/experiment-queue-store.d.ts.map +1 -1
  2146. package/dist/runtime/store/experiment-queue-store.js +72 -9
  2147. package/dist/runtime/store/experiment-queue-store.js.map +1 -1
  2148. package/dist/runtime/store/feedback-ingestion-store.d.ts +19 -0
  2149. package/dist/runtime/store/feedback-ingestion-store.d.ts.map +1 -0
  2150. package/dist/runtime/store/feedback-ingestion-store.js +147 -0
  2151. package/dist/runtime/store/feedback-ingestion-store.js.map +1 -0
  2152. package/dist/runtime/store/goal-orchestration-state-migration.d.ts +14 -0
  2153. package/dist/runtime/store/goal-orchestration-state-migration.d.ts.map +1 -0
  2154. package/dist/runtime/store/goal-orchestration-state-migration.js +206 -0
  2155. package/dist/runtime/store/goal-orchestration-state-migration.js.map +1 -0
  2156. package/dist/runtime/store/goal-orchestration-state-store.d.ts +25 -0
  2157. package/dist/runtime/store/goal-orchestration-state-store.d.ts.map +1 -0
  2158. package/dist/runtime/store/goal-orchestration-state-store.js +101 -0
  2159. package/dist/runtime/store/goal-orchestration-state-store.js.map +1 -0
  2160. package/dist/runtime/store/goal-task-state-migration.d.ts +24 -0
  2161. package/dist/runtime/store/goal-task-state-migration.d.ts.map +1 -0
  2162. package/dist/runtime/store/goal-task-state-migration.js +554 -0
  2163. package/dist/runtime/store/goal-task-state-migration.js.map +1 -0
  2164. package/dist/runtime/store/goal-task-state-store.d.ts +85 -0
  2165. package/dist/runtime/store/goal-task-state-store.d.ts.map +1 -0
  2166. package/dist/runtime/store/goal-task-state-store.js +992 -0
  2167. package/dist/runtime/store/goal-task-state-store.js.map +1 -0
  2168. package/dist/runtime/store/health-store.d.ts +5 -2
  2169. package/dist/runtime/store/health-store.d.ts.map +1 -1
  2170. package/dist/runtime/store/health-store.js +70 -23
  2171. package/dist/runtime/store/health-store.js.map +1 -1
  2172. package/dist/runtime/store/index.d.ts +91 -4
  2173. package/dist/runtime/store/index.d.ts.map +1 -1
  2174. package/dist/runtime/store/index.js +49 -3
  2175. package/dist/runtime/store/index.js.map +1 -1
  2176. package/dist/runtime/store/knowledge-memory-state-migration.d.ts +14 -0
  2177. package/dist/runtime/store/knowledge-memory-state-migration.d.ts.map +1 -0
  2178. package/dist/runtime/store/knowledge-memory-state-migration.js +160 -0
  2179. package/dist/runtime/store/knowledge-memory-state-migration.js.map +1 -0
  2180. package/dist/runtime/store/knowledge-transfer-state-migration.d.ts +14 -0
  2181. package/dist/runtime/store/knowledge-transfer-state-migration.d.ts.map +1 -0
  2182. package/dist/runtime/store/knowledge-transfer-state-migration.js +210 -0
  2183. package/dist/runtime/store/knowledge-transfer-state-migration.js.map +1 -0
  2184. package/dist/runtime/store/knowledge-transfer-state-store.d.ts +658 -0
  2185. package/dist/runtime/store/knowledge-transfer-state-store.d.ts.map +1 -0
  2186. package/dist/runtime/store/knowledge-transfer-state-store.js +214 -0
  2187. package/dist/runtime/store/knowledge-transfer-state-store.js.map +1 -0
  2188. package/dist/runtime/store/learning-runtime-state-migration.d.ts +16 -0
  2189. package/dist/runtime/store/learning-runtime-state-migration.d.ts.map +1 -0
  2190. package/dist/runtime/store/learning-runtime-state-migration.js +202 -0
  2191. package/dist/runtime/store/learning-runtime-state-migration.js.map +1 -0
  2192. package/dist/runtime/store/learning-runtime-state-store.d.ts +53 -0
  2193. package/dist/runtime/store/learning-runtime-state-store.d.ts.map +1 -0
  2194. package/dist/runtime/store/learning-runtime-state-store.js +232 -0
  2195. package/dist/runtime/store/learning-runtime-state-store.js.map +1 -0
  2196. package/dist/runtime/store/memory-lifecycle-state-migration.d.ts +18 -0
  2197. package/dist/runtime/store/memory-lifecycle-state-migration.d.ts.map +1 -0
  2198. package/dist/runtime/store/memory-lifecycle-state-migration.js +344 -0
  2199. package/dist/runtime/store/memory-lifecycle-state-migration.js.map +1 -0
  2200. package/dist/runtime/store/metric-history.d.ts +4 -1
  2201. package/dist/runtime/store/metric-history.d.ts.map +1 -1
  2202. package/dist/runtime/store/metric-history.js +18 -3
  2203. package/dist/runtime/store/metric-history.js.map +1 -1
  2204. package/dist/runtime/store/operator-handoff-store.d.ts +19 -14
  2205. package/dist/runtime/store/operator-handoff-store.d.ts.map +1 -1
  2206. package/dist/runtime/store/operator-handoff-store.js +74 -7
  2207. package/dist/runtime/store/operator-handoff-store.js.map +1 -1
  2208. package/dist/runtime/store/outbox-store.d.ts +5 -3
  2209. package/dist/runtime/store/outbox-store.d.ts.map +1 -1
  2210. package/dist/runtime/store/outbox-store.js +76 -66
  2211. package/dist/runtime/store/outbox-store.js.map +1 -1
  2212. package/dist/runtime/store/permission-grant-store.d.ts +961 -0
  2213. package/dist/runtime/store/permission-grant-store.d.ts.map +1 -0
  2214. package/dist/runtime/store/permission-grant-store.js +525 -0
  2215. package/dist/runtime/store/permission-grant-store.js.map +1 -0
  2216. package/dist/runtime/store/permission-wait-plan-store.d.ts +633 -0
  2217. package/dist/runtime/store/permission-wait-plan-store.d.ts.map +1 -0
  2218. package/dist/runtime/store/permission-wait-plan-store.js +366 -0
  2219. package/dist/runtime/store/permission-wait-plan-store.js.map +1 -0
  2220. package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts +14 -0
  2221. package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts.map +1 -0
  2222. package/dist/runtime/store/plugin-channel-runtime-state-migration.js +204 -0
  2223. package/dist/runtime/store/plugin-channel-runtime-state-migration.js.map +1 -0
  2224. package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts +78 -0
  2225. package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts.map +1 -0
  2226. package/dist/runtime/store/plugin-channel-runtime-state-store.js +278 -0
  2227. package/dist/runtime/store/plugin-channel-runtime-state-store.js.map +1 -0
  2228. package/dist/runtime/store/postmortem-report.d.ts +10 -8
  2229. package/dist/runtime/store/postmortem-report.d.ts.map +1 -1
  2230. package/dist/runtime/store/postmortem-report.js +40 -18
  2231. package/dist/runtime/store/postmortem-report.js.map +1 -1
  2232. package/dist/runtime/store/proactive-intervention-store.d.ts +2376 -33
  2233. package/dist/runtime/store/proactive-intervention-store.d.ts.map +1 -1
  2234. package/dist/runtime/store/proactive-intervention-store.js +83 -37
  2235. package/dist/runtime/store/proactive-intervention-store.js.map +1 -1
  2236. package/dist/runtime/store/process-session-state-store.d.ts +83 -0
  2237. package/dist/runtime/store/process-session-state-store.d.ts.map +1 -0
  2238. package/dist/runtime/store/process-session-state-store.js +199 -0
  2239. package/dist/runtime/store/process-session-state-store.js.map +1 -0
  2240. package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts +17 -0
  2241. package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts.map +1 -0
  2242. package/dist/runtime/store/queue-daemon-schedule-state-migration.js +261 -0
  2243. package/dist/runtime/store/queue-daemon-schedule-state-migration.js.map +1 -0
  2244. package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts +13 -0
  2245. package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts.map +1 -0
  2246. package/dist/runtime/store/relationship-profile-proposal-state-migration.js +94 -0
  2247. package/dist/runtime/store/relationship-profile-proposal-state-migration.js.map +1 -0
  2248. package/dist/runtime/store/reproducibility-manifest.d.ts +33 -33
  2249. package/dist/runtime/store/reproducibility-manifest.d.ts.map +1 -1
  2250. package/dist/runtime/store/reproducibility-manifest.js +22 -11
  2251. package/dist/runtime/store/reproducibility-manifest.js.map +1 -1
  2252. package/dist/runtime/store/runtime-control-state-migration.d.ts +23 -0
  2253. package/dist/runtime/store/runtime-control-state-migration.d.ts.map +1 -0
  2254. package/dist/runtime/store/runtime-control-state-migration.js +151 -0
  2255. package/dist/runtime/store/runtime-control-state-migration.js.map +1 -0
  2256. package/dist/runtime/store/runtime-control-store-migration.d.ts +18 -0
  2257. package/dist/runtime/store/runtime-control-store-migration.d.ts.map +1 -0
  2258. package/dist/runtime/store/runtime-control-store-migration.js +119 -0
  2259. package/dist/runtime/store/runtime-control-store-migration.js.map +1 -0
  2260. package/dist/runtime/store/runtime-evidence-state-store.d.ts +34 -0
  2261. package/dist/runtime/store/runtime-evidence-state-store.d.ts.map +1 -0
  2262. package/dist/runtime/store/runtime-evidence-state-store.js +181 -0
  2263. package/dist/runtime/store/runtime-evidence-state-store.js.map +1 -0
  2264. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts +24 -0
  2265. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts.map +1 -0
  2266. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js +369 -0
  2267. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js.map +1 -0
  2268. package/dist/runtime/store/runtime-evidence-summary-types.d.ts +213 -0
  2269. package/dist/runtime/store/runtime-evidence-summary-types.d.ts.map +1 -0
  2270. package/dist/runtime/store/runtime-evidence-summary-types.js +2 -0
  2271. package/dist/runtime/store/runtime-evidence-summary-types.js.map +1 -0
  2272. package/dist/runtime/store/runtime-journal-state-migration.d.ts +20 -0
  2273. package/dist/runtime/store/runtime-journal-state-migration.d.ts.map +1 -0
  2274. package/dist/runtime/store/runtime-journal-state-migration.js +280 -0
  2275. package/dist/runtime/store/runtime-journal-state-migration.js.map +1 -0
  2276. package/dist/runtime/store/runtime-journal.d.ts +0 -11
  2277. package/dist/runtime/store/runtime-journal.d.ts.map +1 -1
  2278. package/dist/runtime/store/runtime-journal.js +0 -25
  2279. package/dist/runtime/store/runtime-journal.js.map +1 -1
  2280. package/dist/runtime/store/runtime-operation-companion.d.ts +13 -0
  2281. package/dist/runtime/store/runtime-operation-companion.d.ts.map +1 -0
  2282. package/dist/runtime/store/runtime-operation-companion.js +597 -0
  2283. package/dist/runtime/store/runtime-operation-companion.js.map +1 -0
  2284. package/dist/runtime/store/runtime-operation-schemas.d.ts +623 -34
  2285. package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
  2286. package/dist/runtime/store/runtime-operation-schemas.js +62 -1
  2287. package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
  2288. package/dist/runtime/store/runtime-operation-store.d.ts +19 -8
  2289. package/dist/runtime/store/runtime-operation-store.d.ts.map +1 -1
  2290. package/dist/runtime/store/runtime-operation-store.js +173 -36
  2291. package/dist/runtime/store/runtime-operation-store.js.map +1 -1
  2292. package/dist/runtime/store/runtime-paths.d.ts +4 -17
  2293. package/dist/runtime/store/runtime-paths.d.ts.map +1 -1
  2294. package/dist/runtime/store/runtime-paths.js +10 -61
  2295. package/dist/runtime/store/runtime-paths.js.map +1 -1
  2296. package/dist/runtime/store/runtime-schemas.d.ts +647 -194
  2297. package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
  2298. package/dist/runtime/store/runtime-schemas.js +72 -38
  2299. package/dist/runtime/store/runtime-schemas.js.map +1 -1
  2300. package/dist/runtime/store/safe-pause-store.d.ts +5 -2
  2301. package/dist/runtime/store/safe-pause-store.d.ts.map +1 -1
  2302. package/dist/runtime/store/safe-pause-store.js +46 -8
  2303. package/dist/runtime/store/safe-pause-store.js.map +1 -1
  2304. package/dist/runtime/store/stall-state-migration.d.ts +13 -0
  2305. package/dist/runtime/store/stall-state-migration.d.ts.map +1 -0
  2306. package/dist/runtime/store/stall-state-migration.js +143 -0
  2307. package/dist/runtime/store/stall-state-migration.js.map +1 -0
  2308. package/dist/runtime/store/stall-state-store.d.ts +22 -0
  2309. package/dist/runtime/store/stall-state-store.d.ts.map +1 -0
  2310. package/dist/runtime/store/stall-state-store.js +76 -0
  2311. package/dist/runtime/store/stall-state-store.js.map +1 -0
  2312. package/dist/runtime/store/strategy-dream-state-store.d.ts +65 -0
  2313. package/dist/runtime/store/strategy-dream-state-store.d.ts.map +1 -0
  2314. package/dist/runtime/store/strategy-dream-state-store.js +524 -0
  2315. package/dist/runtime/store/strategy-dream-state-store.js.map +1 -0
  2316. package/dist/runtime/store/supervisor-state-store.d.ts +71 -0
  2317. package/dist/runtime/store/supervisor-state-store.d.ts.map +1 -0
  2318. package/dist/runtime/store/supervisor-state-store.js +134 -0
  2319. package/dist/runtime/store/supervisor-state-store.js.map +1 -0
  2320. package/dist/runtime/store/transfer-trust-state-migration.d.ts +15 -0
  2321. package/dist/runtime/store/transfer-trust-state-migration.d.ts.map +1 -0
  2322. package/dist/runtime/store/transfer-trust-state-migration.js +281 -0
  2323. package/dist/runtime/store/transfer-trust-state-migration.js.map +1 -0
  2324. package/dist/runtime/store/transfer-trust-state-store.d.ts +62 -0
  2325. package/dist/runtime/store/transfer-trust-state-store.d.ts.map +1 -0
  2326. package/dist/runtime/store/transfer-trust-state-store.js +322 -0
  2327. package/dist/runtime/store/transfer-trust-state-store.js.map +1 -0
  2328. package/dist/runtime/store/trust-state-migration.d.ts +14 -0
  2329. package/dist/runtime/store/trust-state-migration.d.ts.map +1 -0
  2330. package/dist/runtime/store/trust-state-migration.js +99 -0
  2331. package/dist/runtime/store/trust-state-migration.js.map +1 -0
  2332. package/dist/runtime/store/trust-state-store.d.ts +18 -0
  2333. package/dist/runtime/store/trust-state-store.d.ts.map +1 -0
  2334. package/dist/runtime/store/trust-state-store.js +132 -0
  2335. package/dist/runtime/store/trust-state-store.js.map +1 -0
  2336. package/dist/runtime/trigger-mapper.d.ts +1 -0
  2337. package/dist/runtime/trigger-mapper.d.ts.map +1 -1
  2338. package/dist/runtime/trigger-mapper.js +83 -18
  2339. package/dist/runtime/trigger-mapper.js.map +1 -1
  2340. package/dist/runtime/trigger-mappings-json.d.ts +4 -0
  2341. package/dist/runtime/trigger-mappings-json.d.ts.map +1 -0
  2342. package/dist/runtime/trigger-mappings-json.js +10 -0
  2343. package/dist/runtime/trigger-mappings-json.js.map +1 -0
  2344. package/dist/runtime/types/capability-operation-plan.d.ts +580 -0
  2345. package/dist/runtime/types/capability-operation-plan.d.ts.map +1 -0
  2346. package/dist/runtime/types/capability-operation-plan.js +38 -0
  2347. package/dist/runtime/types/capability-operation-plan.js.map +1 -0
  2348. package/dist/runtime/types/companion-autonomy.d.ts +10283 -0
  2349. package/dist/runtime/types/companion-autonomy.d.ts.map +1 -0
  2350. package/dist/runtime/types/companion-autonomy.js +1091 -0
  2351. package/dist/runtime/types/companion-autonomy.js.map +1 -0
  2352. package/dist/runtime/types/companion-state.d.ts +8234 -0
  2353. package/dist/runtime/types/companion-state.d.ts.map +1 -0
  2354. package/dist/runtime/types/companion-state.js +403 -0
  2355. package/dist/runtime/types/companion-state.js.map +1 -0
  2356. package/dist/runtime/types/companion.d.ts +30 -28
  2357. package/dist/runtime/types/companion.d.ts.map +1 -1
  2358. package/dist/runtime/types/companion.js +3 -1
  2359. package/dist/runtime/types/companion.js.map +1 -1
  2360. package/dist/runtime/types/daemon.d.ts +2090 -2
  2361. package/dist/runtime/types/daemon.d.ts.map +1 -1
  2362. package/dist/runtime/types/daemon.js +69 -26
  2363. package/dist/runtime/types/daemon.js.map +1 -1
  2364. package/dist/runtime/types/envelope.d.ts +8 -8
  2365. package/dist/runtime/types/envelope.js +2 -2
  2366. package/dist/runtime/types/envelope.js.map +1 -1
  2367. package/dist/runtime/types/hook.d.ts.map +1 -1
  2368. package/dist/runtime/types/hook.js +2 -1
  2369. package/dist/runtime/types/hook.js.map +1 -1
  2370. package/dist/runtime/types/notification.d.ts +57 -56
  2371. package/dist/runtime/types/notification.d.ts.map +1 -1
  2372. package/dist/runtime/types/notification.js +24 -10
  2373. package/dist/runtime/types/notification.js.map +1 -1
  2374. package/dist/runtime/types/plugin.d.ts +8 -8
  2375. package/dist/runtime/types/plugin.d.ts.map +1 -1
  2376. package/dist/runtime/types/plugin.js +30 -15
  2377. package/dist/runtime/types/plugin.js.map +1 -1
  2378. package/dist/runtime/types/schedule.d.ts +1385 -97
  2379. package/dist/runtime/types/schedule.d.ts.map +1 -1
  2380. package/dist/runtime/types/schedule.js +120 -27
  2381. package/dist/runtime/types/schedule.js.map +1 -1
  2382. package/dist/runtime/types/trigger.d.ts +6 -6
  2383. package/dist/runtime/visibility/cognitive-replay-index.d.ts +1072 -0
  2384. package/dist/runtime/visibility/cognitive-replay-index.d.ts.map +1 -0
  2385. package/dist/runtime/visibility/cognitive-replay-index.js +226 -0
  2386. package/dist/runtime/visibility/cognitive-replay-index.js.map +1 -0
  2387. package/dist/runtime/visibility/companion-audit-visibility.d.ts +161 -0
  2388. package/dist/runtime/visibility/companion-audit-visibility.d.ts.map +1 -0
  2389. package/dist/runtime/visibility/companion-audit-visibility.js +565 -0
  2390. package/dist/runtime/visibility/companion-audit-visibility.js.map +1 -0
  2391. package/dist/runtime/visibility/index.d.ts +5 -0
  2392. package/dist/runtime/visibility/index.d.ts.map +1 -0
  2393. package/dist/runtime/visibility/index.js +3 -0
  2394. package/dist/runtime/visibility/index.js.map +1 -0
  2395. package/dist/runtime/watchdog.d.ts +9 -1
  2396. package/dist/runtime/watchdog.d.ts.map +1 -1
  2397. package/dist/runtime/watchdog.js +53 -11
  2398. package/dist/runtime/watchdog.js.map +1 -1
  2399. package/dist/tools/automation/InteractiveAutomationTools.d.ts +59 -219
  2400. package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +1 -1
  2401. package/dist/tools/automation/InteractiveAutomationTools.js +5 -117
  2402. package/dist/tools/automation/InteractiveAutomationTools.js.map +1 -1
  2403. package/dist/tools/automation/automation-tool-base.d.ts +37 -0
  2404. package/dist/tools/automation/automation-tool-base.d.ts.map +1 -0
  2405. package/dist/tools/automation/automation-tool-base.js +77 -0
  2406. package/dist/tools/automation/automation-tool-base.js.map +1 -0
  2407. package/dist/tools/automation/interactive-automation-schemas.d.ts +136 -0
  2408. package/dist/tools/automation/interactive-automation-schemas.d.ts.map +1 -0
  2409. package/dist/tools/automation/interactive-automation-schemas.js +54 -0
  2410. package/dist/tools/automation/interactive-automation-schemas.js.map +1 -0
  2411. package/dist/tools/builtin/factory.d.ts +4 -2
  2412. package/dist/tools/builtin/factory.d.ts.map +1 -1
  2413. package/dist/tools/builtin/factory.js +4 -2
  2414. package/dist/tools/builtin/factory.js.map +1 -1
  2415. package/dist/tools/capability-execution-records.d.ts +8 -0
  2416. package/dist/tools/capability-execution-records.d.ts.map +1 -0
  2417. package/dist/tools/capability-execution-records.js +165 -0
  2418. package/dist/tools/capability-execution-records.js.map +1 -0
  2419. package/dist/tools/execution/MemoryCorrectionTool/MemoryCorrectionTool.d.ts +4 -4
  2420. package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +28 -28
  2421. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts +2 -2
  2422. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts.map +1 -1
  2423. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js +1 -1
  2424. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js.map +1 -1
  2425. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +2 -2
  2426. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +1 -1
  2427. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +1 -1
  2428. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +1 -1
  2429. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts +2 -2
  2430. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts.map +1 -1
  2431. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js +1 -1
  2432. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js.map +1 -1
  2433. package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts +8 -8
  2434. package/dist/tools/execution/SoilImportTool/SoilImportTool.js +4 -4
  2435. package/dist/tools/execution/SoilImportTool/SoilImportTool.js.map +1 -1
  2436. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts +2 -2
  2437. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts.map +1 -1
  2438. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js +1 -1
  2439. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js.map +1 -1
  2440. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts +2 -2
  2441. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts.map +1 -1
  2442. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js +1 -1
  2443. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js.map +1 -1
  2444. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts +2 -2
  2445. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts.map +1 -1
  2446. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js +1 -1
  2447. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js.map +1 -1
  2448. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts +3 -2
  2449. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts.map +1 -1
  2450. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js +3 -2
  2451. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js.map +1 -1
  2452. package/dist/tools/execution-orchestrator.d.ts +2 -9
  2453. package/dist/tools/execution-orchestrator.d.ts.map +1 -1
  2454. package/dist/tools/execution-orchestrator.js.map +1 -1
  2455. package/dist/tools/executor.d.ts +2 -0
  2456. package/dist/tools/executor.d.ts.map +1 -1
  2457. package/dist/tools/executor.js +163 -22
  2458. package/dist/tools/executor.js.map +1 -1
  2459. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts +2 -2
  2460. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -1
  2461. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +1 -1
  2462. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -1
  2463. package/dist/tools/fs/FileEditTool/FileEditTool.d.ts +2 -2
  2464. package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +1 -1
  2465. package/dist/tools/fs/FileEditTool/FileEditTool.js +1 -1
  2466. package/dist/tools/fs/FileEditTool/FileEditTool.js.map +1 -1
  2467. package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts +2 -2
  2468. package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +1 -1
  2469. package/dist/tools/fs/FileWriteTool/FileWriteTool.js +1 -1
  2470. package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +1 -1
  2471. package/dist/tools/fs/GlobTool/GlobTool.d.ts +2 -2
  2472. package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +1 -1
  2473. package/dist/tools/fs/GlobTool/GlobTool.js +23 -9
  2474. package/dist/tools/fs/GlobTool/GlobTool.js.map +1 -1
  2475. package/dist/tools/fs/GrepTool/GrepTool.d.ts +8 -2
  2476. package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +1 -1
  2477. package/dist/tools/fs/GrepTool/GrepTool.js +53 -7
  2478. package/dist/tools/fs/GrepTool/GrepTool.js.map +1 -1
  2479. package/dist/tools/fs/GrepTool/prompt.d.ts +1 -1
  2480. package/dist/tools/fs/GrepTool/prompt.d.ts.map +1 -1
  2481. package/dist/tools/fs/GrepTool/prompt.js +1 -1
  2482. package/dist/tools/fs/GrepTool/prompt.js.map +1 -1
  2483. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +2 -2
  2484. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +1 -1
  2485. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +20 -5
  2486. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +1 -1
  2487. package/dist/tools/fs/JsonQueryTool/constants.d.ts +1 -0
  2488. package/dist/tools/fs/JsonQueryTool/constants.d.ts.map +1 -1
  2489. package/dist/tools/fs/JsonQueryTool/constants.js +1 -0
  2490. package/dist/tools/fs/JsonQueryTool/constants.js.map +1 -1
  2491. package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +2 -2
  2492. package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +1 -1
  2493. package/dist/tools/fs/ListDirTool/ListDirTool.js +7 -4
  2494. package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
  2495. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts +2 -2
  2496. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts.map +1 -1
  2497. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js +1 -1
  2498. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js.map +1 -1
  2499. package/dist/tools/fs/ReadTool/ReadTool.d.ts +2 -2
  2500. package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +1 -1
  2501. package/dist/tools/fs/ReadTool/ReadTool.js +51 -12
  2502. package/dist/tools/fs/ReadTool/ReadTool.js.map +1 -1
  2503. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts +2 -2
  2504. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts.map +1 -1
  2505. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js +1 -2
  2506. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js.map +1 -1
  2507. package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts +75 -2
  2508. package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts.map +1 -1
  2509. package/dist/tools/interaction/AskHumanTool/AskHumanTool.js +55 -6
  2510. package/dist/tools/interaction/AskHumanTool/AskHumanTool.js.map +1 -1
  2511. package/dist/tools/interaction/AskHumanTool/prompt.d.ts +1 -1
  2512. package/dist/tools/interaction/AskHumanTool/prompt.d.ts.map +1 -1
  2513. package/dist/tools/interaction/AskHumanTool/prompt.js +1 -1
  2514. package/dist/tools/interaction/AskHumanTool/prompt.js.map +1 -1
  2515. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts +2 -2
  2516. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts.map +1 -1
  2517. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js +4 -4
  2518. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js.map +1 -1
  2519. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts +2 -2
  2520. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts.map +1 -1
  2521. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js +14 -5
  2522. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js.map +1 -1
  2523. package/dist/tools/interaction/plan-utils.d.ts +3 -0
  2524. package/dist/tools/interaction/plan-utils.d.ts.map +1 -1
  2525. package/dist/tools/interaction/plan-utils.js +3 -0
  2526. package/dist/tools/interaction/plan-utils.js.map +1 -1
  2527. package/dist/tools/kaggle/KaggleExperimentTools.d.ts +2 -2
  2528. package/dist/tools/kaggle/KaggleExperimentTools.d.ts.map +1 -1
  2529. package/dist/tools/kaggle/KaggleExperimentTools.js +14 -320
  2530. package/dist/tools/kaggle/KaggleExperimentTools.js.map +1 -1
  2531. package/dist/tools/kaggle/KaggleSubmissionTools.d.ts +6 -6
  2532. package/dist/tools/kaggle/KaggleSubmissionTools.d.ts.map +1 -1
  2533. package/dist/tools/kaggle/KaggleSubmissionTools.js +7 -1
  2534. package/dist/tools/kaggle/KaggleSubmissionTools.js.map +1 -1
  2535. package/dist/tools/kaggle/experiment-artifacts.d.ts +16 -0
  2536. package/dist/tools/kaggle/experiment-artifacts.d.ts.map +1 -0
  2537. package/dist/tools/kaggle/experiment-artifacts.js +103 -0
  2538. package/dist/tools/kaggle/experiment-artifacts.js.map +1 -0
  2539. package/dist/tools/kaggle/metrics.d.ts +2 -2
  2540. package/dist/tools/kaggle/metrics.js +3 -1
  2541. package/dist/tools/kaggle/metrics.js.map +1 -1
  2542. package/dist/tools/kaggle/tee-wrapper.d.ts +2 -0
  2543. package/dist/tools/kaggle/tee-wrapper.d.ts.map +1 -0
  2544. package/dist/tools/kaggle/tee-wrapper.js +244 -0
  2545. package/dist/tools/kaggle/tee-wrapper.js.map +1 -0
  2546. package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts +2 -2
  2547. package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts.map +1 -1
  2548. package/dist/tools/media/ViewImageTool/ViewImageTool.js +1 -1
  2549. package/dist/tools/media/ViewImageTool/ViewImageTool.js.map +1 -1
  2550. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts +2 -2
  2551. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts.map +1 -1
  2552. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js +1 -1
  2553. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js.map +1 -1
  2554. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +2 -2
  2555. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +1 -1
  2556. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +1 -1
  2557. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +1 -1
  2558. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts +1 -1
  2559. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts.map +1 -1
  2560. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js +1 -1
  2561. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js.map +1 -1
  2562. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts +2 -2
  2563. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts.map +1 -1
  2564. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js +1 -1
  2565. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js.map +1 -1
  2566. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts +2 -2
  2567. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts.map +1 -1
  2568. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js +1 -1
  2569. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js.map +1 -1
  2570. package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts +2 -2
  2571. package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts.map +1 -1
  2572. package/dist/tools/mutation/SetGoalTool/SetGoalTool.js +1 -1
  2573. package/dist/tools/mutation/SetGoalTool/SetGoalTool.js.map +1 -1
  2574. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +8 -8
  2575. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts.map +1 -1
  2576. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js +8 -5
  2577. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js.map +1 -1
  2578. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +2 -2
  2579. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts.map +1 -1
  2580. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js +3 -3
  2581. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js.map +1 -1
  2582. package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts +2 -2
  2583. package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +1 -1
  2584. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +3 -3
  2585. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +1 -1
  2586. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +8 -8
  2587. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +1 -1
  2588. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +10 -7
  2589. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +1 -1
  2590. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts +2 -2
  2591. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts.map +1 -1
  2592. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js +1 -1
  2593. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js.map +1 -1
  2594. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts +2 -2
  2595. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts.map +1 -1
  2596. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js +1 -1
  2597. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js.map +1 -1
  2598. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts +2 -2
  2599. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts.map +1 -1
  2600. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js +1 -1
  2601. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js.map +1 -1
  2602. package/dist/tools/mutation/task-history-utils.d.ts.map +1 -1
  2603. package/dist/tools/mutation/task-history-utils.js +4 -7
  2604. package/dist/tools/mutation/task-history-utils.js.map +1 -1
  2605. package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +10 -10
  2606. package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts.map +1 -1
  2607. package/dist/tools/network/GitHubCliTool/GitHubCliTool.js +6 -5
  2608. package/dist/tools/network/GitHubCliTool/GitHubCliTool.js.map +1 -1
  2609. package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +2 -2
  2610. package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +1 -1
  2611. package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +19 -7
  2612. package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +1 -1
  2613. package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +14 -14
  2614. package/dist/tools/network/McpStdioTool/McpStdioTool.js +1 -1
  2615. package/dist/tools/network/McpStdioTool/McpStdioTool.js.map +1 -1
  2616. package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts +3 -3
  2617. package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts.map +1 -1
  2618. package/dist/tools/network/WebSearchTool/WebSearchTool.js +2 -2
  2619. package/dist/tools/network/WebSearchTool/WebSearchTool.js.map +1 -1
  2620. package/dist/tools/permission-grant-evaluator.d.ts +22 -0
  2621. package/dist/tools/permission-grant-evaluator.d.ts.map +1 -0
  2622. package/dist/tools/permission-grant-evaluator.js +289 -0
  2623. package/dist/tools/permission-grant-evaluator.js.map +1 -0
  2624. package/dist/tools/permission.d.ts.map +1 -1
  2625. package/dist/tools/permission.js +21 -1
  2626. package/dist/tools/permission.js.map +1 -1
  2627. package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts +2 -2
  2628. package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts.map +1 -1
  2629. package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +1 -1
  2630. package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +1 -1
  2631. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts +262 -12
  2632. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts.map +1 -1
  2633. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js +31 -13
  2634. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js.map +1 -1
  2635. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts +4 -4
  2636. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts.map +1 -1
  2637. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js +3 -3
  2638. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js.map +1 -1
  2639. package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts +4 -4
  2640. package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts.map +1 -1
  2641. package/dist/tools/query/CodeSearchTool/CodeSearchTool.js +12 -7
  2642. package/dist/tools/query/CodeSearchTool/CodeSearchTool.js.map +1 -1
  2643. package/dist/tools/query/ConfigTool/ConfigTool.d.ts +3 -3
  2644. package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +1 -1
  2645. package/dist/tools/query/ConfigTool/ConfigTool.js +17 -29
  2646. package/dist/tools/query/ConfigTool/ConfigTool.js.map +1 -1
  2647. package/dist/tools/query/ConfigTool/prompt.d.ts +1 -1
  2648. package/dist/tools/query/ConfigTool/prompt.d.ts.map +1 -1
  2649. package/dist/tools/query/ConfigTool/prompt.js +1 -1
  2650. package/dist/tools/query/ConfigTool/prompt.js.map +1 -1
  2651. package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts +2 -2
  2652. package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts.map +1 -1
  2653. package/dist/tools/query/GoalStateTool/GoalStateTool.js +1 -1
  2654. package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +1 -1
  2655. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts +2 -2
  2656. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +1 -1
  2657. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +1 -1
  2658. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +1 -1
  2659. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +10 -10
  2660. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts.map +1 -1
  2661. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js +1 -1
  2662. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js.map +1 -1
  2663. package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts +2 -2
  2664. package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts.map +1 -1
  2665. package/dist/tools/query/PluginStateTool/PluginStateTool.js +11 -7
  2666. package/dist/tools/query/PluginStateTool/PluginStateTool.js.map +1 -1
  2667. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts +2 -2
  2668. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts.map +1 -1
  2669. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js +1 -1
  2670. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js.map +1 -1
  2671. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts +8 -3
  2672. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts.map +1 -1
  2673. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js +29 -53
  2674. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js.map +1 -1
  2675. package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts +2 -2
  2676. package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts.map +1 -1
  2677. package/dist/tools/query/SkillSearchTool/SkillSearchTool.js +1 -1
  2678. package/dist/tools/query/SkillSearchTool/SkillSearchTool.js.map +1 -1
  2679. package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts +8 -8
  2680. package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts +2 -2
  2681. package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts.map +1 -1
  2682. package/dist/tools/query/TaskGetTool/TaskGetTool.js +2 -9
  2683. package/dist/tools/query/TaskGetTool/TaskGetTool.js.map +1 -1
  2684. package/dist/tools/query/TaskListTool/TaskListTool.d.ts +2 -2
  2685. package/dist/tools/query/TaskListTool/TaskListTool.d.ts.map +1 -1
  2686. package/dist/tools/query/TaskListTool/TaskListTool.js +2 -22
  2687. package/dist/tools/query/TaskListTool/TaskListTool.js.map +1 -1
  2688. package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts +2 -2
  2689. package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts.map +1 -1
  2690. package/dist/tools/query/ToolSearchTool/ToolSearchTool.js +2 -1
  2691. package/dist/tools/query/ToolSearchTool/ToolSearchTool.js.map +1 -1
  2692. package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts +6 -3
  2693. package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts.map +1 -1
  2694. package/dist/tools/query/TrustStateTool/TrustStateTool.js +10 -5
  2695. package/dist/tools/query/TrustStateTool/TrustStateTool.js.map +1 -1
  2696. package/dist/tools/query/runtime-dream-review-tool.d.ts +2 -2
  2697. package/dist/tools/query/runtime-dream-review-tool.d.ts.map +1 -1
  2698. package/dist/tools/query/runtime-dream-review-tool.js +1 -1
  2699. package/dist/tools/query/runtime-dream-review-tool.js.map +1 -1
  2700. package/dist/tools/query/runtime-session-tool-schemas.d.ts +211 -0
  2701. package/dist/tools/query/runtime-session-tool-schemas.d.ts.map +1 -0
  2702. package/dist/tools/query/runtime-session-tool-schemas.js +83 -0
  2703. package/dist/tools/query/runtime-session-tool-schemas.js.map +1 -0
  2704. package/dist/tools/query/runtime-session-tools.d.ts +72 -280
  2705. package/dist/tools/query/runtime-session-tools.d.ts.map +1 -1
  2706. package/dist/tools/query/runtime-session-tools.js +87 -294
  2707. package/dist/tools/query/runtime-session-tools.js.map +1 -1
  2708. package/dist/tools/registry.d.ts +1 -1
  2709. package/dist/tools/registry.d.ts.map +1 -1
  2710. package/dist/tools/registry.js +4 -2
  2711. package/dist/tools/registry.js.map +1 -1
  2712. package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +38 -548
  2713. package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -1
  2714. package/dist/tools/runtime/LongRunningRuntimeTools.js +29 -226
  2715. package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -1
  2716. package/dist/tools/runtime/RunSpecHandoffTools.d.ts.map +1 -1
  2717. package/dist/tools/runtime/RunSpecHandoffTools.js +13 -12
  2718. package/dist/tools/runtime/RunSpecHandoffTools.js.map +1 -1
  2719. package/dist/tools/runtime/SetupRuntimeControlTools.js +28 -16
  2720. package/dist/tools/runtime/SetupRuntimeControlTools.js.map +1 -1
  2721. package/dist/tools/runtime/long-running-report-render.d.ts +5 -0
  2722. package/dist/tools/runtime/long-running-report-render.d.ts.map +1 -0
  2723. package/dist/tools/runtime/long-running-report-render.js +53 -0
  2724. package/dist/tools/runtime/long-running-report-render.js.map +1 -0
  2725. package/dist/tools/runtime/long-running-runtime-paths.d.ts +8 -0
  2726. package/dist/tools/runtime/long-running-runtime-paths.d.ts.map +1 -0
  2727. package/dist/tools/runtime/long-running-runtime-paths.js +77 -0
  2728. package/dist/tools/runtime/long-running-runtime-paths.js.map +1 -0
  2729. package/dist/tools/runtime/long-running-runtime-schemas.d.ts +515 -0
  2730. package/dist/tools/runtime/long-running-runtime-schemas.d.ts.map +1 -0
  2731. package/dist/tools/runtime/long-running-runtime-schemas.js +92 -0
  2732. package/dist/tools/runtime/long-running-runtime-schemas.js.map +1 -0
  2733. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +509 -145
  2734. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
  2735. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js +14 -14
  2736. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js.map +1 -1
  2737. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts +2 -2
  2738. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts.map +1 -1
  2739. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js +1 -1
  2740. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js.map +1 -1
  2741. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +6 -6
  2742. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts.map +1 -1
  2743. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js +1 -1
  2744. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js.map +1 -1
  2745. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts +2 -2
  2746. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts.map +1 -1
  2747. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js +1 -1
  2748. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js.map +1 -1
  2749. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts +2 -2
  2750. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts.map +1 -1
  2751. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js +1 -1
  2752. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js.map +1 -1
  2753. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts +2 -2
  2754. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts.map +1 -1
  2755. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js +1 -1
  2756. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js.map +1 -1
  2757. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts +2 -2
  2758. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts.map +1 -1
  2759. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js +1 -1
  2760. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js.map +1 -1
  2761. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +594 -106
  2762. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
  2763. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js +8 -8
  2764. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js.map +1 -1
  2765. package/dist/tools/schedule/schedule-tool-input-schemas.d.ts +611 -0
  2766. package/dist/tools/schedule/schedule-tool-input-schemas.d.ts.map +1 -0
  2767. package/dist/tools/schedule/schedule-tool-input-schemas.js +152 -0
  2768. package/dist/tools/schedule/schedule-tool-input-schemas.js.map +1 -0
  2769. package/dist/tools/shared/parse-tool-output.d.ts.map +1 -1
  2770. package/dist/tools/shared/parse-tool-output.js +6 -3
  2771. package/dist/tools/shared/parse-tool-output.js.map +1 -1
  2772. package/dist/tools/system/EnvTool/EnvTool.d.ts +2 -2
  2773. package/dist/tools/system/EnvTool/EnvTool.d.ts.map +1 -1
  2774. package/dist/tools/system/EnvTool/EnvTool.js +1 -1
  2775. package/dist/tools/system/EnvTool/EnvTool.js.map +1 -1
  2776. package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +6 -6
  2777. package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +1 -1
  2778. package/dist/tools/system/GitDiffTool/GitDiffTool.js +1 -1
  2779. package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +1 -1
  2780. package/dist/tools/system/GitLogTool/GitLogTool.d.ts +2 -2
  2781. package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +1 -1
  2782. package/dist/tools/system/GitLogTool/GitLogTool.js +4 -2
  2783. package/dist/tools/system/GitLogTool/GitLogTool.js.map +1 -1
  2784. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +17 -14
  2785. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +1 -1
  2786. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +43 -54
  2787. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +1 -1
  2788. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts +3 -3
  2789. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts.map +1 -1
  2790. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js +43 -10
  2791. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js.map +1 -1
  2792. package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts +2 -2
  2793. package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +1 -1
  2794. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +3 -3
  2795. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +1 -1
  2796. package/dist/tools/system/ShellTool/ShellTool.d.ts +5 -2
  2797. package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
  2798. package/dist/tools/system/ShellTool/ShellTool.js +5 -2
  2799. package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
  2800. package/dist/tools/system/SleepTool/SleepTool.d.ts +2 -2
  2801. package/dist/tools/system/SleepTool/SleepTool.d.ts.map +1 -1
  2802. package/dist/tools/system/SleepTool/SleepTool.js +1 -1
  2803. package/dist/tools/system/SleepTool/SleepTool.js.map +1 -1
  2804. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +8 -6
  2805. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +1 -1
  2806. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +59 -44
  2807. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +1 -1
  2808. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts +4 -4
  2809. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +1 -1
  2810. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +6 -5
  2811. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -1
  2812. package/dist/tools/tool-definition-adapter.d.ts.map +1 -1
  2813. package/dist/tools/tool-definition-adapter.js +189 -20
  2814. package/dist/tools/tool-definition-adapter.js.map +1 -1
  2815. package/dist/tools/types.d.ts +98 -7
  2816. package/dist/tools/types.d.ts.map +1 -1
  2817. package/dist/tools/types.js +26 -8
  2818. package/dist/tools/types.js.map +1 -1
  2819. package/package.json +9 -2
  2820. package/dist/base/state/state-lock.d.ts +0 -17
  2821. package/dist/base/state/state-lock.d.ts.map +0 -1
  2822. package/dist/base/state/state-lock.js +0 -134
  2823. package/dist/base/state/state-lock.js.map +0 -1
  2824. package/dist/base/state/state-manager-goal-state.d.ts +0 -40
  2825. package/dist/base/state/state-manager-goal-state.d.ts.map +0 -1
  2826. package/dist/base/state/state-manager-goal-state.js +0 -235
  2827. package/dist/base/state/state-manager-goal-state.js.map +0 -1
  2828. package/dist/base/state/state-manager-goal-write.d.ts +0 -26
  2829. package/dist/base/state/state-manager-goal-write.d.ts.map +0 -1
  2830. package/dist/base/state/state-manager-goal-write.js +0 -116
  2831. package/dist/base/state/state-manager-goal-write.js.map +0 -1
  2832. package/dist/base/state/state-manager-wal.d.ts +0 -11
  2833. package/dist/base/state/state-manager-wal.d.ts.map +0 -1
  2834. package/dist/base/state/state-manager-wal.js +0 -101
  2835. package/dist/base/state/state-manager-wal.js.map +0 -1
  2836. package/dist/base/state/state-wal.d.ts.map +0 -1
  2837. package/dist/base/state/state-wal.js.map +0 -1
  2838. package/dist/interface/chat/freeform-route-classifier.d.ts +0 -21
  2839. package/dist/interface/chat/freeform-route-classifier.d.ts.map +0 -1
  2840. package/dist/interface/chat/freeform-route-classifier.js +0 -43
  2841. package/dist/interface/chat/freeform-route-classifier.js.map +0 -1
  2842. package/dist/orchestrator/ethics-gate.d.ts +0 -3
  2843. package/dist/orchestrator/ethics-gate.d.ts.map +0 -1
  2844. package/dist/orchestrator/ethics-gate.js +0 -2
  2845. package/dist/orchestrator/ethics-gate.js.map +0 -1
  2846. package/dist/orchestrator/loop/core-loop/capability.d.ts +0 -2
  2847. package/dist/orchestrator/loop/core-loop/capability.d.ts.map +0 -1
  2848. package/dist/orchestrator/loop/core-loop/capability.js +0 -2
  2849. package/dist/orchestrator/loop/core-loop/capability.js.map +0 -1
  2850. package/dist/orchestrator/loop/core-loop/contracts.d.ts +0 -2
  2851. package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +0 -1
  2852. package/dist/orchestrator/loop/core-loop/contracts.js +0 -2
  2853. package/dist/orchestrator/loop/core-loop/contracts.js.map +0 -1
  2854. package/dist/orchestrator/loop/core-loop/control.d.ts +0 -2
  2855. package/dist/orchestrator/loop/core-loop/control.d.ts.map +0 -1
  2856. package/dist/orchestrator/loop/core-loop/control.js +0 -2
  2857. package/dist/orchestrator/loop/core-loop/control.js.map +0 -1
  2858. package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +0 -2
  2859. package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +0 -1
  2860. package/dist/orchestrator/loop/core-loop/decision-engine.js +0 -2
  2861. package/dist/orchestrator/loop/core-loop/decision-engine.js.map +0 -1
  2862. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts +0 -2
  2863. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts.map +0 -1
  2864. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js +0 -2
  2865. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js.map +0 -1
  2866. package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +0 -2
  2867. package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +0 -1
  2868. package/dist/orchestrator/loop/core-loop/evidence-ledger.js +0 -2
  2869. package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +0 -1
  2870. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts +0 -2
  2871. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts.map +0 -1
  2872. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js +0 -2
  2873. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js.map +0 -1
  2874. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts +0 -2
  2875. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts.map +0 -1
  2876. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js +0 -2
  2877. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js.map +0 -1
  2878. package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +0 -2
  2879. package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +0 -1
  2880. package/dist/orchestrator/loop/core-loop/iteration-kernel.js +0 -2
  2881. package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +0 -1
  2882. package/dist/orchestrator/loop/core-loop/learning.d.ts +0 -2
  2883. package/dist/orchestrator/loop/core-loop/learning.d.ts.map +0 -1
  2884. package/dist/orchestrator/loop/core-loop/learning.js +0 -2
  2885. package/dist/orchestrator/loop/core-loop/learning.js.map +0 -1
  2886. package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +0 -2
  2887. package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +0 -1
  2888. package/dist/orchestrator/loop/core-loop/phase-policy.js +0 -2
  2889. package/dist/orchestrator/loop/core-loop/phase-policy.js.map +0 -1
  2890. package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +0 -2
  2891. package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +0 -1
  2892. package/dist/orchestrator/loop/core-loop/phase-runtime.js +0 -2
  2893. package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +0 -1
  2894. package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +0 -2
  2895. package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +0 -1
  2896. package/dist/orchestrator/loop/core-loop/phase-specs.js +0 -2
  2897. package/dist/orchestrator/loop/core-loop/phase-specs.js.map +0 -1
  2898. package/dist/orchestrator/loop/core-loop/preparation.d.ts +0 -2
  2899. package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +0 -1
  2900. package/dist/orchestrator/loop/core-loop/preparation.js +0 -2
  2901. package/dist/orchestrator/loop/core-loop/preparation.js.map +0 -1
  2902. package/dist/orchestrator/loop/core-loop/public-research.d.ts +0 -2
  2903. package/dist/orchestrator/loop/core-loop/public-research.d.ts.map +0 -1
  2904. package/dist/orchestrator/loop/core-loop/public-research.js +0 -2
  2905. package/dist/orchestrator/loop/core-loop/public-research.js.map +0 -1
  2906. package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts +0 -2
  2907. package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts.map +0 -1
  2908. package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +0 -2
  2909. package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +0 -1
  2910. package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts +0 -2
  2911. package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts.map +0 -1
  2912. package/dist/orchestrator/loop/core-loop/task-cycle-wait.js +0 -2
  2913. package/dist/orchestrator/loop/core-loop/task-cycle-wait.js.map +0 -1
  2914. package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +0 -2
  2915. package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +0 -1
  2916. package/dist/orchestrator/loop/core-loop/task-cycle.js +0 -2
  2917. package/dist/orchestrator/loop/core-loop/task-cycle.js.map +0 -1
  2918. package/dist/platform/dream/dream-log-store.d.ts +0 -22
  2919. package/dist/platform/dream/dream-log-store.d.ts.map +0 -1
  2920. package/dist/platform/dream/dream-log-store.js +0 -150
  2921. package/dist/platform/dream/dream-log-store.js.map +0 -1
  2922. package/dist/platform/ethics-gate.d.ts +0 -2
  2923. package/dist/platform/ethics-gate.d.ts.map +0 -1
  2924. package/dist/platform/ethics-gate.js +0 -2
  2925. package/dist/platform/ethics-gate.js.map +0 -1
@@ -11,6 +11,7 @@ export declare const SoilEdgeTypeSchema: z.ZodEnum<["supports", "contradicts", "
11
11
  export type SoilEdgeType = z.infer<typeof SoilEdgeTypeSchema>;
12
12
  export declare const SoilEmbeddingEncodingSchema: z.ZodEnum<["json", "f32le"]>;
13
13
  export type SoilEmbeddingEncoding = z.infer<typeof SoilEmbeddingEncodingSchema>;
14
+ export declare const SoilEmbeddingVectorSchema: z.ZodArray<z.ZodNumber, "many">;
14
15
  export declare const SoilLaneSchema: z.ZodEnum<["direct", "lexical", "dense", "hybrid", "recency", "rerank"]>;
15
16
  export type SoilLane = z.infer<typeof SoilLaneSchema>;
16
17
  export declare const SoilSortDirectionSchema: z.ZodEnum<["asc", "desc"]>;
@@ -65,7 +66,7 @@ export declare const SoilRecordSchema: z.ZodObject<{
65
66
  created_at: z.ZodString;
66
67
  updated_at: z.ZodString;
67
68
  }, "strip", z.ZodTypeAny, {
68
- status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
69
+ status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced";
69
70
  confidence: number | null;
70
71
  title: string;
71
72
  created_at: string;
@@ -74,49 +75,49 @@ export declare const SoilRecordSchema: z.ZodObject<{
74
75
  task_id: string | null;
75
76
  summary: string | null;
76
77
  source_id: string;
78
+ source_reliability: number | null;
77
79
  version: number;
78
- source_type: string;
80
+ valid_from: string | null;
81
+ valid_to: string | null;
79
82
  last_used_at: string | null;
83
+ record_id: string;
84
+ importance: number | null;
85
+ source_type: string;
80
86
  use_count: number;
81
87
  validated_count: number;
82
88
  negative_outcome_count: number;
83
- source_reliability: number | null;
84
- importance: number | null;
85
- valid_from: string | null;
86
- valid_to: string | null;
87
89
  soil_id: string;
88
- record_id: string;
89
90
  record_key: string;
90
- record_type: "observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow";
91
+ record_type: "observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow";
91
92
  canonical_text: string;
92
93
  supersedes_record_id: string | null;
93
94
  is_active: boolean;
94
95
  metadata_json: Record<string, unknown>;
95
96
  }, {
96
- status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
97
+ status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced";
97
98
  title: string;
98
99
  created_at: string;
99
100
  updated_at: string;
100
101
  source_id: string;
101
102
  version: number;
103
+ record_id: string;
102
104
  source_type: string;
103
105
  soil_id: string;
104
- record_id: string;
105
106
  record_key: string;
106
- record_type: "observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow";
107
+ record_type: "observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow";
107
108
  canonical_text: string;
108
109
  confidence?: number | null | undefined;
109
110
  goal_id?: string | null | undefined;
110
111
  task_id?: string | null | undefined;
111
112
  summary?: string | null | undefined;
113
+ source_reliability?: number | null | undefined;
114
+ valid_from?: string | null | undefined;
115
+ valid_to?: string | null | undefined;
112
116
  last_used_at?: string | null | undefined;
117
+ importance?: number | null | undefined;
113
118
  use_count?: number | undefined;
114
119
  validated_count?: number | undefined;
115
120
  negative_outcome_count?: number | undefined;
116
- source_reliability?: number | null | undefined;
117
- importance?: number | null | undefined;
118
- valid_from?: string | null | undefined;
119
- valid_to?: string | null | undefined;
120
121
  supersedes_record_id?: string | null | undefined;
121
122
  is_active?: boolean | undefined;
122
123
  metadata_json?: Record<string, unknown> | undefined;
@@ -136,25 +137,25 @@ export declare const SoilChunkSchema: z.ZodObject<{
136
137
  created_at: z.ZodString;
137
138
  }, "strip", z.ZodTypeAny, {
138
139
  created_at: string;
139
- soil_id: string;
140
+ record_id: string;
140
141
  checksum: string;
142
+ soil_id: string;
141
143
  chunk_id: string;
142
- token_count: number;
143
- record_id: string;
144
144
  chunk_index: number;
145
145
  chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
146
146
  heading_path_json: string[];
147
147
  chunk_text: string;
148
+ token_count: number;
148
149
  }, {
149
150
  created_at: string;
150
- soil_id: string;
151
+ record_id: string;
151
152
  checksum: string;
153
+ soil_id: string;
152
154
  chunk_id: string;
153
- token_count: number;
154
- record_id: string;
155
155
  chunk_index: number;
156
156
  chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
157
157
  chunk_text: string;
158
+ token_count: number;
158
159
  heading_path_json?: string[] | undefined;
159
160
  }>;
160
161
  export type SoilChunk = z.infer<typeof SoilChunkSchema>;
@@ -169,25 +170,25 @@ export declare const SoilPageSchema: z.ZodObject<{
169
170
  checksum: z.ZodString;
170
171
  projected_at: z.ZodString;
171
172
  }, "strip", z.ZodTypeAny, {
172
- status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated";
173
- kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay";
174
- soil_id: string;
175
- route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations";
173
+ status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated";
174
+ kind: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay";
175
+ projected_at: string;
176
176
  checksum: string;
177
- relative_path: string;
177
+ soil_id: string;
178
+ route: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline";
178
179
  page_id: string;
180
+ relative_path: string;
179
181
  markdown: string;
180
- projected_at: string;
181
182
  }, {
182
- status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated";
183
- kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay";
184
- soil_id: string;
185
- route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations";
183
+ status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated";
184
+ kind: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay";
185
+ projected_at: string;
186
186
  checksum: string;
187
- relative_path: string;
187
+ soil_id: string;
188
+ route: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline";
188
189
  page_id: string;
190
+ relative_path: string;
189
191
  markdown: string;
190
- projected_at: string;
191
192
  }>;
192
193
  export type SoilPage = z.infer<typeof SoilPageSchema>;
193
194
  export declare const SoilPageMemberSchema: z.ZodObject<{
@@ -210,7 +211,7 @@ export declare const SoilPageMemberSchema: z.ZodObject<{
210
211
  confidence?: number | null | undefined;
211
212
  }>;
212
213
  export type SoilPageMember = z.infer<typeof SoilPageMemberSchema>;
213
- export declare const SoilEmbeddingSchema: z.ZodObject<{
214
+ export declare const SoilEmbeddingSchema: z.ZodEffects<z.ZodObject<{
214
215
  chunk_id: z.ZodString;
215
216
  model: z.ZodString;
216
217
  embedding_version: z.ZodNumber;
@@ -231,6 +232,20 @@ export declare const SoilEmbeddingSchema: z.ZodObject<{
231
232
  embedding_version: number;
232
233
  embedded_at: string;
233
234
  encoding?: "json" | "f32le" | undefined;
235
+ }>, {
236
+ encoding: "json" | "f32le";
237
+ model: string;
238
+ embedding: number[] | Uint8Array<ArrayBuffer>;
239
+ chunk_id: string;
240
+ embedding_version: number;
241
+ embedded_at: string;
242
+ }, {
243
+ model: string;
244
+ embedding: number[] | Uint8Array<ArrayBuffer>;
245
+ chunk_id: string;
246
+ embedding_version: number;
247
+ embedded_at: string;
248
+ encoding?: "json" | "f32le" | undefined;
234
249
  }>;
235
250
  export type SoilEmbedding = z.infer<typeof SoilEmbeddingSchema>;
236
251
  export declare const SoilEdgeSchema: z.ZodObject<{
@@ -241,11 +256,11 @@ export declare const SoilEdgeSchema: z.ZodObject<{
241
256
  }, "strip", z.ZodTypeAny, {
242
257
  confidence: number | null;
243
258
  src_record_id: string;
244
- edge_type: "supports" | "contradicts" | "caused_by" | "references" | "derived_from" | "related_to" | "belongs_to";
259
+ edge_type: "supports" | "contradicts" | "derived_from" | "caused_by" | "references" | "related_to" | "belongs_to";
245
260
  dst_record_id: string;
246
261
  }, {
247
262
  src_record_id: string;
248
- edge_type: "supports" | "contradicts" | "caused_by" | "references" | "derived_from" | "related_to" | "belongs_to";
263
+ edge_type: "supports" | "contradicts" | "derived_from" | "caused_by" | "references" | "related_to" | "belongs_to";
249
264
  dst_record_id: string;
250
265
  confidence?: number | null | undefined;
251
266
  }>;
@@ -290,7 +305,7 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
290
305
  run_id?: string | undefined;
291
306
  }>>;
292
307
  }, "strict", z.ZodTypeAny, {
293
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
308
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
294
309
  id: string;
295
310
  scope?: {
296
311
  goal_id?: string | undefined;
@@ -298,7 +313,7 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
298
313
  run_id?: string | undefined;
299
314
  } | undefined;
300
315
  }, {
301
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
316
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
302
317
  id: string;
303
318
  scope?: {
304
319
  goal_id?: string | undefined;
@@ -324,7 +339,7 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
324
339
  run_id?: string | undefined;
325
340
  }>>;
326
341
  }, "strict", z.ZodTypeAny, {
327
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
342
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
328
343
  id: string;
329
344
  scope?: {
330
345
  goal_id?: string | undefined;
@@ -332,7 +347,7 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
332
347
  run_id?: string | undefined;
333
348
  } | undefined;
334
349
  }, {
335
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
350
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
336
351
  id: string;
337
352
  scope?: {
338
353
  goal_id?: string | undefined;
@@ -379,11 +394,6 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
379
394
  created_at: string;
380
395
  reason: string;
381
396
  schema_version: "memory-correction-entry-v1";
382
- audit: {
383
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
384
- retained_for_audit: boolean;
385
- destructive_delete_approved_at: string | null;
386
- };
387
397
  provenance: {
388
398
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
389
399
  confidence: number | null;
@@ -391,9 +401,13 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
391
401
  source_ref?: string | undefined;
392
402
  note?: string | undefined;
393
403
  };
394
- correction_id: string;
404
+ audit: {
405
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
406
+ retained_for_audit: boolean;
407
+ destructive_delete_approved_at: string | null;
408
+ };
395
409
  target_ref: {
396
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
410
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
397
411
  id: string;
398
412
  scope?: {
399
413
  goal_id?: string | undefined;
@@ -401,9 +415,10 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
401
415
  run_id?: string | undefined;
402
416
  } | undefined;
403
417
  };
404
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
418
+ correction_id: string;
419
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
405
420
  replacement_ref: {
406
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
421
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
407
422
  id: string;
408
423
  scope?: {
409
424
  goal_id?: string | undefined;
@@ -422,9 +437,8 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
422
437
  source_ref?: string | undefined;
423
438
  note?: string | undefined;
424
439
  };
425
- correction_id: string;
426
440
  target_ref: {
427
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
441
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
428
442
  id: string;
429
443
  scope?: {
430
444
  goal_id?: string | undefined;
@@ -432,7 +446,8 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
432
446
  run_id?: string | undefined;
433
447
  } | undefined;
434
448
  };
435
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
449
+ correction_id: string;
450
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
436
451
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
437
452
  schema_version?: "memory-correction-entry-v1" | undefined;
438
453
  audit?: {
@@ -441,7 +456,7 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
441
456
  destructive_delete_approved_at?: string | null | undefined;
442
457
  } | undefined;
443
458
  replacement_ref?: {
444
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
459
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
445
460
  id: string;
446
461
  scope?: {
447
462
  goal_id?: string | undefined;
@@ -453,11 +468,6 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
453
468
  created_at: string;
454
469
  reason: string;
455
470
  schema_version: "memory-correction-entry-v1";
456
- audit: {
457
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
458
- retained_for_audit: boolean;
459
- destructive_delete_approved_at: string | null;
460
- };
461
471
  provenance: {
462
472
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
463
473
  confidence: number | null;
@@ -465,9 +475,13 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
465
475
  source_ref?: string | undefined;
466
476
  note?: string | undefined;
467
477
  };
468
- correction_id: string;
478
+ audit: {
479
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
480
+ retained_for_audit: boolean;
481
+ destructive_delete_approved_at: string | null;
482
+ };
469
483
  target_ref: {
470
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
484
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
471
485
  id: string;
472
486
  scope?: {
473
487
  goal_id?: string | undefined;
@@ -475,9 +489,10 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
475
489
  run_id?: string | undefined;
476
490
  } | undefined;
477
491
  };
478
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
492
+ correction_id: string;
493
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
479
494
  replacement_ref: {
480
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
495
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
481
496
  id: string;
482
497
  scope?: {
483
498
  goal_id?: string | undefined;
@@ -496,9 +511,8 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
496
511
  source_ref?: string | undefined;
497
512
  note?: string | undefined;
498
513
  };
499
- correction_id: string;
500
514
  target_ref: {
501
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
515
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
502
516
  id: string;
503
517
  scope?: {
504
518
  goal_id?: string | undefined;
@@ -506,7 +520,8 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
506
520
  run_id?: string | undefined;
507
521
  } | undefined;
508
522
  };
509
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
523
+ correction_id: string;
524
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
510
525
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
511
526
  schema_version?: "memory-correction-entry-v1" | undefined;
512
527
  audit?: {
@@ -515,7 +530,7 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
515
530
  destructive_delete_approved_at?: string | null | undefined;
516
531
  } | undefined;
517
532
  replacement_ref?: {
518
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
533
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
519
534
  id: string;
520
535
  scope?: {
521
536
  goal_id?: string | undefined;
@@ -533,18 +548,18 @@ export declare const SoilPageFilterSchema: z.ZodObject<{
533
548
  page_statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>, "many">>;
534
549
  relative_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
535
550
  }, "strip", z.ZodTypeAny, {
536
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
551
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
537
552
  page_ids?: string[] | undefined;
538
553
  soil_ids?: string[] | undefined;
539
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
540
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
554
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
555
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
541
556
  relative_paths?: string[] | undefined;
542
557
  }, {
543
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
558
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
544
559
  page_ids?: string[] | undefined;
545
560
  soil_ids?: string[] | undefined;
546
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
547
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
561
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
562
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
548
563
  relative_paths?: string[] | undefined;
549
564
  }>;
550
565
  export type SoilPageFilter = z.infer<typeof SoilPageFilterSchema>;
@@ -564,26 +579,26 @@ export declare const SoilRecordFilterSchema: z.ZodObject<{
564
579
  updated_before: z.ZodOptional<z.ZodString>;
565
580
  }, "strip", z.ZodTypeAny, {
566
581
  active_only: boolean;
567
- goal_ids?: string[] | undefined;
568
- task_ids?: string[] | undefined;
569
582
  soil_ids?: string[] | undefined;
570
583
  record_ids?: string[] | undefined;
571
584
  record_keys?: string[] | undefined;
572
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
573
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
585
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
586
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
587
+ goal_ids?: string[] | undefined;
588
+ task_ids?: string[] | undefined;
574
589
  source_types?: string[] | undefined;
575
590
  source_ids?: string[] | undefined;
576
591
  valid_at?: string | undefined;
577
592
  updated_after?: string | undefined;
578
593
  updated_before?: string | undefined;
579
594
  }, {
580
- goal_ids?: string[] | undefined;
581
- task_ids?: string[] | undefined;
582
595
  soil_ids?: string[] | undefined;
583
596
  record_ids?: string[] | undefined;
584
597
  record_keys?: string[] | undefined;
585
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
586
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
598
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
599
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
600
+ goal_ids?: string[] | undefined;
601
+ task_ids?: string[] | undefined;
587
602
  source_types?: string[] | undefined;
588
603
  source_ids?: string[] | undefined;
589
604
  active_only?: boolean | undefined;
@@ -619,26 +634,26 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
619
634
  updated_before: z.ZodOptional<z.ZodString>;
620
635
  }, "strip", z.ZodTypeAny, {
621
636
  active_only: boolean;
622
- goal_ids?: string[] | undefined;
623
- task_ids?: string[] | undefined;
624
637
  soil_ids?: string[] | undefined;
625
638
  record_ids?: string[] | undefined;
626
639
  record_keys?: string[] | undefined;
627
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
628
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
640
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
641
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
642
+ goal_ids?: string[] | undefined;
643
+ task_ids?: string[] | undefined;
629
644
  source_types?: string[] | undefined;
630
645
  source_ids?: string[] | undefined;
631
646
  valid_at?: string | undefined;
632
647
  updated_after?: string | undefined;
633
648
  updated_before?: string | undefined;
634
649
  }, {
635
- goal_ids?: string[] | undefined;
636
- task_ids?: string[] | undefined;
637
650
  soil_ids?: string[] | undefined;
638
651
  record_ids?: string[] | undefined;
639
652
  record_keys?: string[] | undefined;
640
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
641
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
653
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
654
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
655
+ goal_ids?: string[] | undefined;
656
+ task_ids?: string[] | undefined;
642
657
  source_types?: string[] | undefined;
643
658
  source_ids?: string[] | undefined;
644
659
  active_only?: boolean | undefined;
@@ -654,18 +669,18 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
654
669
  page_statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>, "many">>;
655
670
  relative_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
656
671
  }, "strip", z.ZodTypeAny, {
657
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
672
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
658
673
  page_ids?: string[] | undefined;
659
674
  soil_ids?: string[] | undefined;
660
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
661
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
675
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
676
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
662
677
  relative_paths?: string[] | undefined;
663
678
  }, {
664
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
679
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
665
680
  page_ids?: string[] | undefined;
666
681
  soil_ids?: string[] | undefined;
667
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
668
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
682
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
683
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
669
684
  relative_paths?: string[] | undefined;
670
685
  }>>;
671
686
  }, "strip", z.ZodTypeAny, {
@@ -677,13 +692,13 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
677
692
  direct_lookup: boolean;
678
693
  record_filter: {
679
694
  active_only: boolean;
680
- goal_ids?: string[] | undefined;
681
- task_ids?: string[] | undefined;
682
695
  soil_ids?: string[] | undefined;
683
696
  record_ids?: string[] | undefined;
684
697
  record_keys?: string[] | undefined;
685
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
686
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
698
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
699
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
700
+ goal_ids?: string[] | undefined;
701
+ task_ids?: string[] | undefined;
687
702
  source_types?: string[] | undefined;
688
703
  source_ids?: string[] | undefined;
689
704
  valid_at?: string | undefined;
@@ -691,11 +706,11 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
691
706
  updated_before?: string | undefined;
692
707
  };
693
708
  page_filter: {
694
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
709
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
695
710
  page_ids?: string[] | undefined;
696
711
  soil_ids?: string[] | undefined;
697
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
698
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
712
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
713
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
699
714
  relative_paths?: string[] | undefined;
700
715
  };
701
716
  query_embedding?: number[] | undefined;
@@ -703,22 +718,22 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
703
718
  dense_candidate_record_ids?: string[] | undefined;
704
719
  }, {
705
720
  query: string;
706
- limit?: number | undefined;
707
721
  query_embedding?: number[] | undefined;
708
722
  query_embedding_model?: string | undefined;
723
+ limit?: number | undefined;
709
724
  lexical_top_k?: number | undefined;
710
725
  dense_top_k?: number | undefined;
711
726
  rerank_top_k?: number | undefined;
712
727
  dense_candidate_record_ids?: string[] | undefined;
713
728
  direct_lookup?: boolean | undefined;
714
729
  record_filter?: {
715
- goal_ids?: string[] | undefined;
716
- task_ids?: string[] | undefined;
717
730
  soil_ids?: string[] | undefined;
718
731
  record_ids?: string[] | undefined;
719
732
  record_keys?: string[] | undefined;
720
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
721
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
733
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
734
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
735
+ goal_ids?: string[] | undefined;
736
+ task_ids?: string[] | undefined;
722
737
  source_types?: string[] | undefined;
723
738
  source_ids?: string[] | undefined;
724
739
  active_only?: boolean | undefined;
@@ -727,11 +742,11 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
727
742
  updated_before?: string | undefined;
728
743
  } | undefined;
729
744
  page_filter?: {
730
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
745
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
731
746
  page_ids?: string[] | undefined;
732
747
  soil_ids?: string[] | undefined;
733
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
734
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
748
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
749
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
735
750
  relative_paths?: string[] | undefined;
736
751
  } | undefined;
737
752
  }>;
@@ -749,20 +764,20 @@ export declare const SoilCandidateSchema: z.ZodObject<{
749
764
  metadata_json: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
750
765
  }, "strip", z.ZodTypeAny, {
751
766
  score: number;
752
- soil_id: string;
753
- chunk_id: string;
767
+ lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
754
768
  record_id: string;
769
+ soil_id: string;
755
770
  metadata_json: Record<string, unknown>;
771
+ chunk_id: string;
756
772
  page_id: string | null;
757
- lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
758
773
  rank: number;
759
774
  snippet: string | null;
760
775
  }, {
761
776
  score: number;
777
+ lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
778
+ record_id: string;
762
779
  soil_id: string;
763
780
  chunk_id: string;
764
- record_id: string;
765
- lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
766
781
  rank: number;
767
782
  metadata_json?: Record<string, unknown> | undefined;
768
783
  page_id?: string | null | undefined;
@@ -796,26 +811,26 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
796
811
  updated_before: z.ZodOptional<z.ZodString>;
797
812
  }, "strip", z.ZodTypeAny, {
798
813
  active_only: boolean;
799
- goal_ids?: string[] | undefined;
800
- task_ids?: string[] | undefined;
801
814
  soil_ids?: string[] | undefined;
802
815
  record_ids?: string[] | undefined;
803
816
  record_keys?: string[] | undefined;
804
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
805
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
817
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
818
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
819
+ goal_ids?: string[] | undefined;
820
+ task_ids?: string[] | undefined;
806
821
  source_types?: string[] | undefined;
807
822
  source_ids?: string[] | undefined;
808
823
  valid_at?: string | undefined;
809
824
  updated_after?: string | undefined;
810
825
  updated_before?: string | undefined;
811
826
  }, {
812
- goal_ids?: string[] | undefined;
813
- task_ids?: string[] | undefined;
814
827
  soil_ids?: string[] | undefined;
815
828
  record_ids?: string[] | undefined;
816
829
  record_keys?: string[] | undefined;
817
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
818
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
830
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
831
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
832
+ goal_ids?: string[] | undefined;
833
+ task_ids?: string[] | undefined;
819
834
  source_types?: string[] | undefined;
820
835
  source_ids?: string[] | undefined;
821
836
  active_only?: boolean | undefined;
@@ -831,18 +846,18 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
831
846
  page_statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>, "many">>;
832
847
  relative_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
833
848
  }, "strip", z.ZodTypeAny, {
834
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
849
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
835
850
  page_ids?: string[] | undefined;
836
851
  soil_ids?: string[] | undefined;
837
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
838
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
852
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
853
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
839
854
  relative_paths?: string[] | undefined;
840
855
  }, {
841
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
856
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
842
857
  page_ids?: string[] | undefined;
843
858
  soil_ids?: string[] | undefined;
844
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
845
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
859
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
860
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
846
861
  relative_paths?: string[] | undefined;
847
862
  }>>;
848
863
  }, "strip", z.ZodTypeAny, {
@@ -854,13 +869,13 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
854
869
  direct_lookup: boolean;
855
870
  record_filter: {
856
871
  active_only: boolean;
857
- goal_ids?: string[] | undefined;
858
- task_ids?: string[] | undefined;
859
872
  soil_ids?: string[] | undefined;
860
873
  record_ids?: string[] | undefined;
861
874
  record_keys?: string[] | undefined;
862
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
863
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
875
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
876
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
877
+ goal_ids?: string[] | undefined;
878
+ task_ids?: string[] | undefined;
864
879
  source_types?: string[] | undefined;
865
880
  source_ids?: string[] | undefined;
866
881
  valid_at?: string | undefined;
@@ -868,11 +883,11 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
868
883
  updated_before?: string | undefined;
869
884
  };
870
885
  page_filter: {
871
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
886
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
872
887
  page_ids?: string[] | undefined;
873
888
  soil_ids?: string[] | undefined;
874
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
875
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
889
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
890
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
876
891
  relative_paths?: string[] | undefined;
877
892
  };
878
893
  query_embedding?: number[] | undefined;
@@ -880,22 +895,22 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
880
895
  dense_candidate_record_ids?: string[] | undefined;
881
896
  }, {
882
897
  query: string;
883
- limit?: number | undefined;
884
898
  query_embedding?: number[] | undefined;
885
899
  query_embedding_model?: string | undefined;
900
+ limit?: number | undefined;
886
901
  lexical_top_k?: number | undefined;
887
902
  dense_top_k?: number | undefined;
888
903
  rerank_top_k?: number | undefined;
889
904
  dense_candidate_record_ids?: string[] | undefined;
890
905
  direct_lookup?: boolean | undefined;
891
906
  record_filter?: {
892
- goal_ids?: string[] | undefined;
893
- task_ids?: string[] | undefined;
894
907
  soil_ids?: string[] | undefined;
895
908
  record_ids?: string[] | undefined;
896
909
  record_keys?: string[] | undefined;
897
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
898
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
910
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
911
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
912
+ goal_ids?: string[] | undefined;
913
+ task_ids?: string[] | undefined;
899
914
  source_types?: string[] | undefined;
900
915
  source_ids?: string[] | undefined;
901
916
  active_only?: boolean | undefined;
@@ -904,11 +919,11 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
904
919
  updated_before?: string | undefined;
905
920
  } | undefined;
906
921
  page_filter?: {
907
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
922
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
908
923
  page_ids?: string[] | undefined;
909
924
  soil_ids?: string[] | undefined;
910
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
911
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
925
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
926
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
912
927
  relative_paths?: string[] | undefined;
913
928
  } | undefined;
914
929
  }>;
@@ -924,20 +939,20 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
924
939
  metadata_json: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
925
940
  }, "strip", z.ZodTypeAny, {
926
941
  score: number;
927
- soil_id: string;
928
- chunk_id: string;
942
+ lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
929
943
  record_id: string;
944
+ soil_id: string;
930
945
  metadata_json: Record<string, unknown>;
946
+ chunk_id: string;
931
947
  page_id: string | null;
932
- lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
933
948
  rank: number;
934
949
  snippet: string | null;
935
950
  }, {
936
951
  score: number;
952
+ lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
953
+ record_id: string;
937
954
  soil_id: string;
938
955
  chunk_id: string;
939
- record_id: string;
940
- lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
941
956
  rank: number;
942
957
  metadata_json?: Record<string, unknown> | undefined;
943
958
  page_id?: string | null | undefined;
@@ -946,12 +961,12 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
946
961
  }, "strip", z.ZodTypeAny, {
947
962
  candidates: {
948
963
  score: number;
949
- soil_id: string;
950
- chunk_id: string;
964
+ lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
951
965
  record_id: string;
966
+ soil_id: string;
952
967
  metadata_json: Record<string, unknown>;
968
+ chunk_id: string;
953
969
  page_id: string | null;
954
- lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
955
970
  rank: number;
956
971
  snippet: string | null;
957
972
  }[];
@@ -964,13 +979,13 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
964
979
  direct_lookup: boolean;
965
980
  record_filter: {
966
981
  active_only: boolean;
967
- goal_ids?: string[] | undefined;
968
- task_ids?: string[] | undefined;
969
982
  soil_ids?: string[] | undefined;
970
983
  record_ids?: string[] | undefined;
971
984
  record_keys?: string[] | undefined;
972
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
973
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
985
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
986
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
987
+ goal_ids?: string[] | undefined;
988
+ task_ids?: string[] | undefined;
974
989
  source_types?: string[] | undefined;
975
990
  source_ids?: string[] | undefined;
976
991
  valid_at?: string | undefined;
@@ -978,11 +993,11 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
978
993
  updated_before?: string | undefined;
979
994
  };
980
995
  page_filter: {
981
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
996
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
982
997
  page_ids?: string[] | undefined;
983
998
  soil_ids?: string[] | undefined;
984
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
985
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
999
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
1000
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
986
1001
  relative_paths?: string[] | undefined;
987
1002
  };
988
1003
  query_embedding?: number[] | undefined;
@@ -992,10 +1007,10 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
992
1007
  }, {
993
1008
  candidates: {
994
1009
  score: number;
1010
+ lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
1011
+ record_id: string;
995
1012
  soil_id: string;
996
1013
  chunk_id: string;
997
- record_id: string;
998
- lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
999
1014
  rank: number;
1000
1015
  metadata_json?: Record<string, unknown> | undefined;
1001
1016
  page_id?: string | null | undefined;
@@ -1003,22 +1018,22 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
1003
1018
  }[];
1004
1019
  request: {
1005
1020
  query: string;
1006
- limit?: number | undefined;
1007
1021
  query_embedding?: number[] | undefined;
1008
1022
  query_embedding_model?: string | undefined;
1023
+ limit?: number | undefined;
1009
1024
  lexical_top_k?: number | undefined;
1010
1025
  dense_top_k?: number | undefined;
1011
1026
  rerank_top_k?: number | undefined;
1012
1027
  dense_candidate_record_ids?: string[] | undefined;
1013
1028
  direct_lookup?: boolean | undefined;
1014
1029
  record_filter?: {
1015
- goal_ids?: string[] | undefined;
1016
- task_ids?: string[] | undefined;
1017
1030
  soil_ids?: string[] | undefined;
1018
1031
  record_ids?: string[] | undefined;
1019
1032
  record_keys?: string[] | undefined;
1020
- record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
1021
- statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
1033
+ record_types?: ("observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow")[] | undefined;
1034
+ statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced")[] | undefined;
1035
+ goal_ids?: string[] | undefined;
1036
+ task_ids?: string[] | undefined;
1022
1037
  source_types?: string[] | undefined;
1023
1038
  source_ids?: string[] | undefined;
1024
1039
  active_only?: boolean | undefined;
@@ -1027,11 +1042,11 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
1027
1042
  updated_before?: string | undefined;
1028
1043
  } | undefined;
1029
1044
  page_filter?: {
1030
- routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations")[] | undefined;
1045
+ routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline")[] | undefined;
1031
1046
  page_ids?: string[] | undefined;
1032
1047
  soil_ids?: string[] | undefined;
1033
- kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay")[] | undefined;
1034
- page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated")[] | undefined;
1048
+ kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay")[] | undefined;
1049
+ page_statuses?: ("candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated")[] | undefined;
1035
1050
  relative_paths?: string[] | undefined;
1036
1051
  } | undefined;
1037
1052
  };
@@ -1059,19 +1074,19 @@ export declare const SoilContextRouteSchema: z.ZodObject<{
1059
1074
  last_evaluated_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1060
1075
  last_evaluation_result: z.ZodDefault<z.ZodEnum<["passed", "failed", "unknown"]>>;
1061
1076
  }, "strip", z.ZodTypeAny, {
1062
- status: "active" | "archived" | "superseded" | "deprecated" | "tombstoned";
1077
+ status: "active" | "archived" | "tombstoned" | "superseded" | "deprecated";
1063
1078
  created_at: string;
1064
1079
  updated_at: string;
1065
1080
  priority: number;
1066
1081
  reason: string;
1067
1082
  schema_version: "soil-context-route-v1";
1068
1083
  phases: string[];
1069
- goal_ids: string[];
1070
- task_categories: string[];
1071
1084
  soil_ids: string[];
1072
1085
  record_ids: string[];
1086
+ goal_ids: string[];
1073
1087
  route_id: string;
1074
1088
  path_globs: string[];
1089
+ task_categories: string[];
1075
1090
  source_observation_ids: string[];
1076
1091
  last_evaluated_at: string | null;
1077
1092
  last_evaluation_result: "unknown" | "passed" | "failed";
@@ -1080,15 +1095,15 @@ export declare const SoilContextRouteSchema: z.ZodObject<{
1080
1095
  updated_at: string;
1081
1096
  reason: string;
1082
1097
  route_id: string;
1083
- status?: "active" | "archived" | "superseded" | "deprecated" | "tombstoned" | undefined;
1098
+ status?: "active" | "archived" | "tombstoned" | "superseded" | "deprecated" | undefined;
1084
1099
  priority?: number | undefined;
1085
1100
  schema_version?: "soil-context-route-v1" | undefined;
1086
1101
  phases?: string[] | undefined;
1087
- goal_ids?: string[] | undefined;
1088
- task_categories?: string[] | undefined;
1089
1102
  soil_ids?: string[] | undefined;
1090
1103
  record_ids?: string[] | undefined;
1104
+ goal_ids?: string[] | undefined;
1091
1105
  path_globs?: string[] | undefined;
1106
+ task_categories?: string[] | undefined;
1092
1107
  source_observation_ids?: string[] | undefined;
1093
1108
  last_evaluated_at?: string | null | undefined;
1094
1109
  last_evaluation_result?: "unknown" | "passed" | "failed" | undefined;
@@ -1106,18 +1121,18 @@ export declare const SoilRetrievalDecisionSchema: z.ZodObject<{
1106
1121
  }, "strip", z.ZodTypeAny, {
1107
1122
  reason: string;
1108
1123
  score: number | null;
1109
- decision: "rejected" | "admitted" | "routed";
1124
+ decision: "admitted" | "rejected" | "routed";
1110
1125
  candidate_id: string;
1111
- soil_id: string | null;
1112
1126
  record_id: string | null;
1127
+ soil_id: string | null;
1113
1128
  route_id: string | null;
1114
1129
  }, {
1115
1130
  reason: string;
1116
- decision: "rejected" | "admitted" | "routed";
1131
+ decision: "admitted" | "rejected" | "routed";
1117
1132
  candidate_id: string;
1118
1133
  score?: number | null | undefined;
1119
- soil_id?: string | null | undefined;
1120
1134
  record_id?: string | null | undefined;
1135
+ soil_id?: string | null | undefined;
1121
1136
  route_id?: string | null | undefined;
1122
1137
  }>;
1123
1138
  export type SoilRetrievalDecision = z.infer<typeof SoilRetrievalDecisionSchema>;
@@ -1142,18 +1157,18 @@ export declare const SoilRetrievalTraceSchema: z.ZodObject<{
1142
1157
  }, "strip", z.ZodTypeAny, {
1143
1158
  reason: string;
1144
1159
  score: number | null;
1145
- decision: "rejected" | "admitted" | "routed";
1160
+ decision: "admitted" | "rejected" | "routed";
1146
1161
  candidate_id: string;
1147
- soil_id: string | null;
1148
1162
  record_id: string | null;
1163
+ soil_id: string | null;
1149
1164
  route_id: string | null;
1150
1165
  }, {
1151
1166
  reason: string;
1152
- decision: "rejected" | "admitted" | "routed";
1167
+ decision: "admitted" | "rejected" | "routed";
1153
1168
  candidate_id: string;
1154
1169
  score?: number | null | undefined;
1155
- soil_id?: string | null | undefined;
1156
1170
  record_id?: string | null | undefined;
1171
+ soil_id?: string | null | undefined;
1157
1172
  route_id?: string | null | undefined;
1158
1173
  }>, "many">>;
1159
1174
  warnings: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -1171,10 +1186,10 @@ export declare const SoilRetrievalTraceSchema: z.ZodObject<{
1171
1186
  decisions: {
1172
1187
  reason: string;
1173
1188
  score: number | null;
1174
- decision: "rejected" | "admitted" | "routed";
1189
+ decision: "admitted" | "rejected" | "routed";
1175
1190
  candidate_id: string;
1176
- soil_id: string | null;
1177
1191
  record_id: string | null;
1192
+ soil_id: string | null;
1178
1193
  route_id: string | null;
1179
1194
  }[];
1180
1195
  }, {
@@ -1190,11 +1205,11 @@ export declare const SoilRetrievalTraceSchema: z.ZodObject<{
1190
1205
  fallback_query?: string | null | undefined;
1191
1206
  decisions?: {
1192
1207
  reason: string;
1193
- decision: "rejected" | "admitted" | "routed";
1208
+ decision: "admitted" | "rejected" | "routed";
1194
1209
  candidate_id: string;
1195
1210
  score?: number | null | undefined;
1196
- soil_id?: string | null | undefined;
1197
1211
  record_id?: string | null | undefined;
1212
+ soil_id?: string | null | undefined;
1198
1213
  route_id?: string | null | undefined;
1199
1214
  }[] | undefined;
1200
1215
  }>;
@@ -1253,10 +1268,10 @@ export declare const SoilMemoryLintFindingSchema: z.ZodObject<{
1253
1268
  created_at: string;
1254
1269
  schema_version: "soil-memory-lint-finding-v1";
1255
1270
  resolved_at: string | null;
1256
- severity: "error" | "info" | "warning";
1271
+ record_id: string | null;
1257
1272
  source_path: string | null;
1273
+ severity: "error" | "info" | "warning";
1258
1274
  soil_id: string | null;
1259
- record_id: string | null;
1260
1275
  route_id: string | null;
1261
1276
  finding_id: string;
1262
1277
  }, {
@@ -1268,9 +1283,9 @@ export declare const SoilMemoryLintFindingSchema: z.ZodObject<{
1268
1283
  status?: "open" | "resolved" | "ignored" | undefined;
1269
1284
  schema_version?: "soil-memory-lint-finding-v1" | undefined;
1270
1285
  resolved_at?: string | null | undefined;
1286
+ record_id?: string | null | undefined;
1271
1287
  source_path?: string | null | undefined;
1272
1288
  soil_id?: string | null | undefined;
1273
- record_id?: string | null | undefined;
1274
1289
  route_id?: string | null | undefined;
1275
1290
  }>;
1276
1291
  export type SoilMemoryLintFinding = z.infer<typeof SoilMemoryLintFindingSchema>;
@@ -1304,7 +1319,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1304
1319
  created_at: z.ZodString;
1305
1320
  updated_at: z.ZodString;
1306
1321
  }, "strip", z.ZodTypeAny, {
1307
- status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
1322
+ status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced";
1308
1323
  confidence: number | null;
1309
1324
  title: string;
1310
1325
  created_at: string;
@@ -1313,49 +1328,49 @@ export declare const SoilMutationSchema: z.ZodObject<{
1313
1328
  task_id: string | null;
1314
1329
  summary: string | null;
1315
1330
  source_id: string;
1331
+ source_reliability: number | null;
1316
1332
  version: number;
1317
- source_type: string;
1333
+ valid_from: string | null;
1334
+ valid_to: string | null;
1318
1335
  last_used_at: string | null;
1336
+ record_id: string;
1337
+ importance: number | null;
1338
+ source_type: string;
1319
1339
  use_count: number;
1320
1340
  validated_count: number;
1321
1341
  negative_outcome_count: number;
1322
- source_reliability: number | null;
1323
- importance: number | null;
1324
- valid_from: string | null;
1325
- valid_to: string | null;
1326
1342
  soil_id: string;
1327
- record_id: string;
1328
1343
  record_key: string;
1329
- record_type: "observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow";
1344
+ record_type: "observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow";
1330
1345
  canonical_text: string;
1331
1346
  supersedes_record_id: string | null;
1332
1347
  is_active: boolean;
1333
1348
  metadata_json: Record<string, unknown>;
1334
1349
  }, {
1335
- status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
1350
+ status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced";
1336
1351
  title: string;
1337
1352
  created_at: string;
1338
1353
  updated_at: string;
1339
1354
  source_id: string;
1340
1355
  version: number;
1356
+ record_id: string;
1341
1357
  source_type: string;
1342
1358
  soil_id: string;
1343
- record_id: string;
1344
1359
  record_key: string;
1345
- record_type: "observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow";
1360
+ record_type: "observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow";
1346
1361
  canonical_text: string;
1347
1362
  confidence?: number | null | undefined;
1348
1363
  goal_id?: string | null | undefined;
1349
1364
  task_id?: string | null | undefined;
1350
1365
  summary?: string | null | undefined;
1366
+ source_reliability?: number | null | undefined;
1367
+ valid_from?: string | null | undefined;
1368
+ valid_to?: string | null | undefined;
1351
1369
  last_used_at?: string | null | undefined;
1370
+ importance?: number | null | undefined;
1352
1371
  use_count?: number | undefined;
1353
1372
  validated_count?: number | undefined;
1354
1373
  negative_outcome_count?: number | undefined;
1355
- source_reliability?: number | null | undefined;
1356
- importance?: number | null | undefined;
1357
- valid_from?: string | null | undefined;
1358
- valid_to?: string | null | undefined;
1359
1374
  supersedes_record_id?: string | null | undefined;
1360
1375
  is_active?: boolean | undefined;
1361
1376
  metadata_json?: Record<string, unknown> | undefined;
@@ -1373,25 +1388,25 @@ export declare const SoilMutationSchema: z.ZodObject<{
1373
1388
  created_at: z.ZodString;
1374
1389
  }, "strip", z.ZodTypeAny, {
1375
1390
  created_at: string;
1376
- soil_id: string;
1391
+ record_id: string;
1377
1392
  checksum: string;
1393
+ soil_id: string;
1378
1394
  chunk_id: string;
1379
- token_count: number;
1380
- record_id: string;
1381
1395
  chunk_index: number;
1382
1396
  chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
1383
1397
  heading_path_json: string[];
1384
1398
  chunk_text: string;
1399
+ token_count: number;
1385
1400
  }, {
1386
1401
  created_at: string;
1387
- soil_id: string;
1402
+ record_id: string;
1388
1403
  checksum: string;
1404
+ soil_id: string;
1389
1405
  chunk_id: string;
1390
- token_count: number;
1391
- record_id: string;
1392
1406
  chunk_index: number;
1393
1407
  chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
1394
1408
  chunk_text: string;
1409
+ token_count: number;
1395
1410
  heading_path_json?: string[] | undefined;
1396
1411
  }>, "many">>;
1397
1412
  pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1405,25 +1420,25 @@ export declare const SoilMutationSchema: z.ZodObject<{
1405
1420
  checksum: z.ZodString;
1406
1421
  projected_at: z.ZodString;
1407
1422
  }, "strip", z.ZodTypeAny, {
1408
- status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated";
1409
- kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay";
1410
- soil_id: string;
1411
- route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations";
1423
+ status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated";
1424
+ kind: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay";
1425
+ projected_at: string;
1412
1426
  checksum: string;
1413
- relative_path: string;
1427
+ soil_id: string;
1428
+ route: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline";
1414
1429
  page_id: string;
1430
+ relative_path: string;
1415
1431
  markdown: string;
1416
- projected_at: string;
1417
1432
  }, {
1418
- status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated";
1419
- kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay";
1420
- soil_id: string;
1421
- route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations";
1433
+ status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated";
1434
+ kind: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay";
1435
+ projected_at: string;
1422
1436
  checksum: string;
1423
- relative_path: string;
1437
+ soil_id: string;
1438
+ route: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline";
1424
1439
  page_id: string;
1440
+ relative_path: string;
1425
1441
  markdown: string;
1426
- projected_at: string;
1427
1442
  }>, "many">>;
1428
1443
  page_members: z.ZodDefault<z.ZodArray<z.ZodObject<{
1429
1444
  page_id: z.ZodString;
@@ -1444,7 +1459,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1444
1459
  ordinal: number;
1445
1460
  confidence?: number | null | undefined;
1446
1461
  }>, "many">>;
1447
- embeddings: z.ZodDefault<z.ZodArray<z.ZodObject<{
1462
+ embeddings: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
1448
1463
  chunk_id: z.ZodString;
1449
1464
  model: z.ZodString;
1450
1465
  embedding_version: z.ZodNumber;
@@ -1465,6 +1480,20 @@ export declare const SoilMutationSchema: z.ZodObject<{
1465
1480
  embedding_version: number;
1466
1481
  embedded_at: string;
1467
1482
  encoding?: "json" | "f32le" | undefined;
1483
+ }>, {
1484
+ encoding: "json" | "f32le";
1485
+ model: string;
1486
+ embedding: number[] | Uint8Array<ArrayBuffer>;
1487
+ chunk_id: string;
1488
+ embedding_version: number;
1489
+ embedded_at: string;
1490
+ }, {
1491
+ model: string;
1492
+ embedding: number[] | Uint8Array<ArrayBuffer>;
1493
+ chunk_id: string;
1494
+ embedding_version: number;
1495
+ embedded_at: string;
1496
+ encoding?: "json" | "f32le" | undefined;
1468
1497
  }>, "many">>;
1469
1498
  edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
1470
1499
  src_record_id: z.ZodString;
@@ -1474,11 +1503,11 @@ export declare const SoilMutationSchema: z.ZodObject<{
1474
1503
  }, "strip", z.ZodTypeAny, {
1475
1504
  confidence: number | null;
1476
1505
  src_record_id: string;
1477
- edge_type: "supports" | "contradicts" | "caused_by" | "references" | "derived_from" | "related_to" | "belongs_to";
1506
+ edge_type: "supports" | "contradicts" | "derived_from" | "caused_by" | "references" | "related_to" | "belongs_to";
1478
1507
  dst_record_id: string;
1479
1508
  }, {
1480
1509
  src_record_id: string;
1481
- edge_type: "supports" | "contradicts" | "caused_by" | "references" | "derived_from" | "related_to" | "belongs_to";
1510
+ edge_type: "supports" | "contradicts" | "derived_from" | "caused_by" | "references" | "related_to" | "belongs_to";
1482
1511
  dst_record_id: string;
1483
1512
  confidence?: number | null | undefined;
1484
1513
  }>, "many">>;
@@ -1521,7 +1550,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1521
1550
  run_id?: string | undefined;
1522
1551
  }>>;
1523
1552
  }, "strict", z.ZodTypeAny, {
1524
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1553
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1525
1554
  id: string;
1526
1555
  scope?: {
1527
1556
  goal_id?: string | undefined;
@@ -1529,7 +1558,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1529
1558
  run_id?: string | undefined;
1530
1559
  } | undefined;
1531
1560
  }, {
1532
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1561
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1533
1562
  id: string;
1534
1563
  scope?: {
1535
1564
  goal_id?: string | undefined;
@@ -1555,7 +1584,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1555
1584
  run_id?: string | undefined;
1556
1585
  }>>;
1557
1586
  }, "strict", z.ZodTypeAny, {
1558
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1587
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1559
1588
  id: string;
1560
1589
  scope?: {
1561
1590
  goal_id?: string | undefined;
@@ -1563,7 +1592,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1563
1592
  run_id?: string | undefined;
1564
1593
  } | undefined;
1565
1594
  }, {
1566
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1595
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1567
1596
  id: string;
1568
1597
  scope?: {
1569
1598
  goal_id?: string | undefined;
@@ -1610,11 +1639,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
1610
1639
  created_at: string;
1611
1640
  reason: string;
1612
1641
  schema_version: "memory-correction-entry-v1";
1613
- audit: {
1614
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
1615
- retained_for_audit: boolean;
1616
- destructive_delete_approved_at: string | null;
1617
- };
1618
1642
  provenance: {
1619
1643
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
1620
1644
  confidence: number | null;
@@ -1622,9 +1646,13 @@ export declare const SoilMutationSchema: z.ZodObject<{
1622
1646
  source_ref?: string | undefined;
1623
1647
  note?: string | undefined;
1624
1648
  };
1625
- correction_id: string;
1649
+ audit: {
1650
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
1651
+ retained_for_audit: boolean;
1652
+ destructive_delete_approved_at: string | null;
1653
+ };
1626
1654
  target_ref: {
1627
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1655
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1628
1656
  id: string;
1629
1657
  scope?: {
1630
1658
  goal_id?: string | undefined;
@@ -1632,9 +1660,10 @@ export declare const SoilMutationSchema: z.ZodObject<{
1632
1660
  run_id?: string | undefined;
1633
1661
  } | undefined;
1634
1662
  };
1635
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
1663
+ correction_id: string;
1664
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
1636
1665
  replacement_ref: {
1637
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1666
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1638
1667
  id: string;
1639
1668
  scope?: {
1640
1669
  goal_id?: string | undefined;
@@ -1653,9 +1682,8 @@ export declare const SoilMutationSchema: z.ZodObject<{
1653
1682
  source_ref?: string | undefined;
1654
1683
  note?: string | undefined;
1655
1684
  };
1656
- correction_id: string;
1657
1685
  target_ref: {
1658
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1686
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1659
1687
  id: string;
1660
1688
  scope?: {
1661
1689
  goal_id?: string | undefined;
@@ -1663,7 +1691,8 @@ export declare const SoilMutationSchema: z.ZodObject<{
1663
1691
  run_id?: string | undefined;
1664
1692
  } | undefined;
1665
1693
  };
1666
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
1694
+ correction_id: string;
1695
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
1667
1696
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
1668
1697
  schema_version?: "memory-correction-entry-v1" | undefined;
1669
1698
  audit?: {
@@ -1672,7 +1701,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1672
1701
  destructive_delete_approved_at?: string | null | undefined;
1673
1702
  } | undefined;
1674
1703
  replacement_ref?: {
1675
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1704
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1676
1705
  id: string;
1677
1706
  scope?: {
1678
1707
  goal_id?: string | undefined;
@@ -1684,11 +1713,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
1684
1713
  created_at: string;
1685
1714
  reason: string;
1686
1715
  schema_version: "memory-correction-entry-v1";
1687
- audit: {
1688
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
1689
- retained_for_audit: boolean;
1690
- destructive_delete_approved_at: string | null;
1691
- };
1692
1716
  provenance: {
1693
1717
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
1694
1718
  confidence: number | null;
@@ -1696,9 +1720,13 @@ export declare const SoilMutationSchema: z.ZodObject<{
1696
1720
  source_ref?: string | undefined;
1697
1721
  note?: string | undefined;
1698
1722
  };
1699
- correction_id: string;
1723
+ audit: {
1724
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
1725
+ retained_for_audit: boolean;
1726
+ destructive_delete_approved_at: string | null;
1727
+ };
1700
1728
  target_ref: {
1701
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1729
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1702
1730
  id: string;
1703
1731
  scope?: {
1704
1732
  goal_id?: string | undefined;
@@ -1706,9 +1734,10 @@ export declare const SoilMutationSchema: z.ZodObject<{
1706
1734
  run_id?: string | undefined;
1707
1735
  } | undefined;
1708
1736
  };
1709
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
1737
+ correction_id: string;
1738
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
1710
1739
  replacement_ref: {
1711
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1740
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1712
1741
  id: string;
1713
1742
  scope?: {
1714
1743
  goal_id?: string | undefined;
@@ -1727,9 +1756,8 @@ export declare const SoilMutationSchema: z.ZodObject<{
1727
1756
  source_ref?: string | undefined;
1728
1757
  note?: string | undefined;
1729
1758
  };
1730
- correction_id: string;
1731
1759
  target_ref: {
1732
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1760
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1733
1761
  id: string;
1734
1762
  scope?: {
1735
1763
  goal_id?: string | undefined;
@@ -1737,7 +1765,8 @@ export declare const SoilMutationSchema: z.ZodObject<{
1737
1765
  run_id?: string | undefined;
1738
1766
  } | undefined;
1739
1767
  };
1740
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
1768
+ correction_id: string;
1769
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
1741
1770
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
1742
1771
  schema_version?: "memory-correction-entry-v1" | undefined;
1743
1772
  audit?: {
@@ -1746,7 +1775,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1746
1775
  destructive_delete_approved_at?: string | null | undefined;
1747
1776
  } | undefined;
1748
1777
  replacement_ref?: {
1749
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1778
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1750
1779
  id: string;
1751
1780
  scope?: {
1752
1781
  goal_id?: string | undefined;
@@ -1756,37 +1785,8 @@ export declare const SoilMutationSchema: z.ZodObject<{
1756
1785
  } | null | undefined;
1757
1786
  }>, "many">>;
1758
1787
  }, "strip", z.ZodTypeAny, {
1759
- edges: {
1760
- confidence: number | null;
1761
- src_record_id: string;
1762
- edge_type: "supports" | "contradicts" | "caused_by" | "references" | "derived_from" | "related_to" | "belongs_to";
1763
- dst_record_id: string;
1764
- }[];
1765
- pages: {
1766
- status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated";
1767
- kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay";
1768
- soil_id: string;
1769
- route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations";
1770
- checksum: string;
1771
- relative_path: string;
1772
- page_id: string;
1773
- markdown: string;
1774
- projected_at: string;
1775
- }[];
1776
- chunks: {
1777
- created_at: string;
1778
- soil_id: string;
1779
- checksum: string;
1780
- chunk_id: string;
1781
- token_count: number;
1782
- record_id: string;
1783
- chunk_index: number;
1784
- chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
1785
- heading_path_json: string[];
1786
- chunk_text: string;
1787
- }[];
1788
1788
  records: {
1789
- status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
1789
+ status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced";
1790
1790
  confidence: number | null;
1791
1791
  title: string;
1792
1792
  created_at: string;
@@ -1795,34 +1795,80 @@ export declare const SoilMutationSchema: z.ZodObject<{
1795
1795
  task_id: string | null;
1796
1796
  summary: string | null;
1797
1797
  source_id: string;
1798
+ source_reliability: number | null;
1798
1799
  version: number;
1799
- source_type: string;
1800
+ valid_from: string | null;
1801
+ valid_to: string | null;
1800
1802
  last_used_at: string | null;
1803
+ record_id: string;
1804
+ importance: number | null;
1805
+ source_type: string;
1801
1806
  use_count: number;
1802
1807
  validated_count: number;
1803
1808
  negative_outcome_count: number;
1804
- source_reliability: number | null;
1805
- importance: number | null;
1806
- valid_from: string | null;
1807
- valid_to: string | null;
1808
1809
  soil_id: string;
1809
- record_id: string;
1810
1810
  record_key: string;
1811
- record_type: "observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow";
1811
+ record_type: "observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow";
1812
1812
  canonical_text: string;
1813
1813
  supersedes_record_id: string | null;
1814
1814
  is_active: boolean;
1815
1815
  metadata_json: Record<string, unknown>;
1816
1816
  }[];
1817
+ edges: {
1818
+ confidence: number | null;
1819
+ src_record_id: string;
1820
+ edge_type: "supports" | "contradicts" | "derived_from" | "caused_by" | "references" | "related_to" | "belongs_to";
1821
+ dst_record_id: string;
1822
+ }[];
1823
+ chunks: {
1824
+ created_at: string;
1825
+ record_id: string;
1826
+ checksum: string;
1827
+ soil_id: string;
1828
+ chunk_id: string;
1829
+ chunk_index: number;
1830
+ chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
1831
+ heading_path_json: string[];
1832
+ chunk_text: string;
1833
+ token_count: number;
1834
+ }[];
1835
+ pages: {
1836
+ status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated";
1837
+ kind: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay";
1838
+ projected_at: string;
1839
+ checksum: string;
1840
+ soil_id: string;
1841
+ route: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline";
1842
+ page_id: string;
1843
+ relative_path: string;
1844
+ markdown: string;
1845
+ }[];
1846
+ page_members: {
1847
+ confidence: number | null;
1848
+ role: "evidence" | "summary" | "primary" | "supporting" | "related";
1849
+ record_id: string;
1850
+ page_id: string;
1851
+ ordinal: number;
1852
+ }[];
1853
+ embeddings: {
1854
+ encoding: "json" | "f32le";
1855
+ model: string;
1856
+ embedding: number[] | Uint8Array<ArrayBuffer>;
1857
+ chunk_id: string;
1858
+ embedding_version: number;
1859
+ embedded_at: string;
1860
+ }[];
1861
+ tombstones: {
1862
+ reason: string;
1863
+ version: number | null;
1864
+ record_id: string | null;
1865
+ record_key: string | null;
1866
+ deleted_at: string;
1867
+ }[];
1817
1868
  corrections: {
1818
1869
  created_at: string;
1819
1870
  reason: string;
1820
1871
  schema_version: "memory-correction-entry-v1";
1821
- audit: {
1822
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
1823
- retained_for_audit: boolean;
1824
- destructive_delete_approved_at: string | null;
1825
- };
1826
1872
  provenance: {
1827
1873
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
1828
1874
  confidence: number | null;
@@ -1830,9 +1876,13 @@ export declare const SoilMutationSchema: z.ZodObject<{
1830
1876
  source_ref?: string | undefined;
1831
1877
  note?: string | undefined;
1832
1878
  };
1833
- correction_id: string;
1879
+ audit: {
1880
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
1881
+ retained_for_audit: boolean;
1882
+ destructive_delete_approved_at: string | null;
1883
+ };
1834
1884
  target_ref: {
1835
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1885
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1836
1886
  id: string;
1837
1887
  scope?: {
1838
1888
  goal_id?: string | undefined;
@@ -1840,9 +1890,10 @@ export declare const SoilMutationSchema: z.ZodObject<{
1840
1890
  run_id?: string | undefined;
1841
1891
  } | undefined;
1842
1892
  };
1843
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
1893
+ correction_id: string;
1894
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
1844
1895
  replacement_ref: {
1845
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1896
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1846
1897
  id: string;
1847
1898
  scope?: {
1848
1899
  goal_id?: string | undefined;
@@ -1852,87 +1903,87 @@ export declare const SoilMutationSchema: z.ZodObject<{
1852
1903
  } | null;
1853
1904
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
1854
1905
  }[];
1855
- page_members: {
1856
- confidence: number | null;
1857
- role: "evidence" | "summary" | "primary" | "supporting" | "related";
1858
- record_id: string;
1859
- page_id: string;
1860
- ordinal: number;
1861
- }[];
1862
- embeddings: {
1863
- encoding: "json" | "f32le";
1864
- model: string;
1865
- embedding: number[] | Uint8Array<ArrayBuffer>;
1866
- chunk_id: string;
1867
- embedding_version: number;
1868
- embedded_at: string;
1869
- }[];
1870
- tombstones: {
1871
- reason: string;
1872
- version: number | null;
1873
- record_id: string | null;
1874
- record_key: string | null;
1875
- deleted_at: string;
1876
- }[];
1877
1906
  }, {
1878
- edges?: {
1879
- src_record_id: string;
1880
- edge_type: "supports" | "contradicts" | "caused_by" | "references" | "derived_from" | "related_to" | "belongs_to";
1881
- dst_record_id: string;
1882
- confidence?: number | null | undefined;
1883
- }[] | undefined;
1884
- pages?: {
1885
- status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "confirmed" | "draft" | "deprecated";
1886
- kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "note" | "report" | "identity" | "timeline" | "operations" | "overlay";
1887
- soil_id: string;
1888
- route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "memory" | "index" | "inbox" | "health" | "report" | "identity" | "timeline" | "operations";
1889
- checksum: string;
1890
- relative_path: string;
1891
- page_id: string;
1892
- markdown: string;
1893
- projected_at: string;
1894
- }[] | undefined;
1895
- chunks?: {
1896
- created_at: string;
1897
- soil_id: string;
1898
- checksum: string;
1899
- chunk_id: string;
1900
- token_count: number;
1901
- record_id: string;
1902
- chunk_index: number;
1903
- chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
1904
- chunk_text: string;
1905
- heading_path_json?: string[] | undefined;
1906
- }[] | undefined;
1907
1907
  records?: {
1908
- status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
1908
+ status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "deleted" | "superseded" | "retracted" | "corrected" | "rejected" | "forgotten" | "draft" | "confirmed" | "quarantined" | "unreachable" | "replaced";
1909
1909
  title: string;
1910
1910
  created_at: string;
1911
1911
  updated_at: string;
1912
1912
  source_id: string;
1913
1913
  version: number;
1914
+ record_id: string;
1914
1915
  source_type: string;
1915
1916
  soil_id: string;
1916
- record_id: string;
1917
1917
  record_key: string;
1918
- record_type: "observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow";
1918
+ record_type: "observation" | "state" | "decision" | "preference" | "reflection" | "artifact" | "identity" | "fact" | "workflow";
1919
1919
  canonical_text: string;
1920
1920
  confidence?: number | null | undefined;
1921
1921
  goal_id?: string | null | undefined;
1922
1922
  task_id?: string | null | undefined;
1923
1923
  summary?: string | null | undefined;
1924
+ source_reliability?: number | null | undefined;
1925
+ valid_from?: string | null | undefined;
1926
+ valid_to?: string | null | undefined;
1924
1927
  last_used_at?: string | null | undefined;
1928
+ importance?: number | null | undefined;
1925
1929
  use_count?: number | undefined;
1926
1930
  validated_count?: number | undefined;
1927
1931
  negative_outcome_count?: number | undefined;
1928
- source_reliability?: number | null | undefined;
1929
- importance?: number | null | undefined;
1930
- valid_from?: string | null | undefined;
1931
- valid_to?: string | null | undefined;
1932
1932
  supersedes_record_id?: string | null | undefined;
1933
1933
  is_active?: boolean | undefined;
1934
1934
  metadata_json?: Record<string, unknown> | undefined;
1935
1935
  }[] | undefined;
1936
+ edges?: {
1937
+ src_record_id: string;
1938
+ edge_type: "supports" | "contradicts" | "derived_from" | "caused_by" | "references" | "related_to" | "belongs_to";
1939
+ dst_record_id: string;
1940
+ confidence?: number | null | undefined;
1941
+ }[] | undefined;
1942
+ chunks?: {
1943
+ created_at: string;
1944
+ record_id: string;
1945
+ checksum: string;
1946
+ soil_id: string;
1947
+ chunk_id: string;
1948
+ chunk_index: number;
1949
+ chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
1950
+ chunk_text: string;
1951
+ token_count: number;
1952
+ heading_path_json?: string[] | undefined;
1953
+ }[] | undefined;
1954
+ pages?: {
1955
+ status: "candidate" | "archived" | "stale" | "superseded" | "rejected" | "draft" | "confirmed" | "deprecated";
1956
+ kind: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "note" | "report" | "index" | "identity" | "timeline" | "overlay";
1957
+ projected_at: string;
1958
+ checksum: string;
1959
+ soil_id: string;
1960
+ route: "status" | "schedule" | "goal" | "task" | "decision" | "operations" | "knowledge" | "inbox" | "health" | "memory" | "report" | "index" | "identity" | "timeline";
1961
+ page_id: string;
1962
+ relative_path: string;
1963
+ markdown: string;
1964
+ }[] | undefined;
1965
+ page_members?: {
1966
+ role: "evidence" | "summary" | "primary" | "supporting" | "related";
1967
+ record_id: string;
1968
+ page_id: string;
1969
+ ordinal: number;
1970
+ confidence?: number | null | undefined;
1971
+ }[] | undefined;
1972
+ embeddings?: {
1973
+ model: string;
1974
+ embedding: number[] | Uint8Array<ArrayBuffer>;
1975
+ chunk_id: string;
1976
+ embedding_version: number;
1977
+ embedded_at: string;
1978
+ encoding?: "json" | "f32le" | undefined;
1979
+ }[] | undefined;
1980
+ tombstones?: {
1981
+ reason: string;
1982
+ deleted_at: string;
1983
+ version?: number | null | undefined;
1984
+ record_id?: string | null | undefined;
1985
+ record_key?: string | null | undefined;
1986
+ }[] | undefined;
1936
1987
  corrections?: {
1937
1988
  created_at: string;
1938
1989
  reason: string;
@@ -1943,9 +1994,8 @@ export declare const SoilMutationSchema: z.ZodObject<{
1943
1994
  source_ref?: string | undefined;
1944
1995
  note?: string | undefined;
1945
1996
  };
1946
- correction_id: string;
1947
1997
  target_ref: {
1948
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
1998
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1949
1999
  id: string;
1950
2000
  scope?: {
1951
2001
  goal_id?: string | undefined;
@@ -1953,7 +2003,8 @@ export declare const SoilMutationSchema: z.ZodObject<{
1953
2003
  run_id?: string | undefined;
1954
2004
  } | undefined;
1955
2005
  };
1956
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
2006
+ correction_id: string;
2007
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
1957
2008
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
1958
2009
  schema_version?: "memory-correction-entry-v1" | undefined;
1959
2010
  audit?: {
@@ -1962,7 +2013,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
1962
2013
  destructive_delete_approved_at?: string | null | undefined;
1963
2014
  } | undefined;
1964
2015
  replacement_ref?: {
1965
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
2016
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
1966
2017
  id: string;
1967
2018
  scope?: {
1968
2019
  goal_id?: string | undefined;
@@ -1971,28 +2022,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
1971
2022
  } | undefined;
1972
2023
  } | null | undefined;
1973
2024
  }[] | undefined;
1974
- page_members?: {
1975
- role: "evidence" | "summary" | "primary" | "supporting" | "related";
1976
- record_id: string;
1977
- page_id: string;
1978
- ordinal: number;
1979
- confidence?: number | null | undefined;
1980
- }[] | undefined;
1981
- embeddings?: {
1982
- model: string;
1983
- embedding: number[] | Uint8Array<ArrayBuffer>;
1984
- chunk_id: string;
1985
- embedding_version: number;
1986
- embedded_at: string;
1987
- encoding?: "json" | "f32le" | undefined;
1988
- }[] | undefined;
1989
- tombstones?: {
1990
- reason: string;
1991
- deleted_at: string;
1992
- version?: number | null | undefined;
1993
- record_id?: string | null | undefined;
1994
- record_key?: string | null | undefined;
1995
- }[] | undefined;
1996
2025
  }>;
1997
2026
  export type SoilMutation = z.infer<typeof SoilMutationSchema>;
1998
2027
  export type SoilMutationInput = z.input<typeof SoilMutationSchema>;