pulseed 0.4.16 → 0.4.18

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 (3422) hide show
  1. package/README.md +8 -2
  2. package/package.json +15 -8
  3. package/dist/adapters/agents/a2a-adapter.d.ts +0 -49
  4. package/dist/adapters/agents/a2a-adapter.d.ts.map +0 -1
  5. package/dist/adapters/agents/a2a-adapter.js +0 -211
  6. package/dist/adapters/agents/a2a-adapter.js.map +0 -1
  7. package/dist/adapters/agents/a2a-client.d.ts +0 -28
  8. package/dist/adapters/agents/a2a-client.d.ts.map +0 -1
  9. package/dist/adapters/agents/a2a-client.js +0 -178
  10. package/dist/adapters/agents/a2a-client.js.map +0 -1
  11. package/dist/adapters/agents/agent-profile-loader.d.ts +0 -26
  12. package/dist/adapters/agents/agent-profile-loader.d.ts.map +0 -1
  13. package/dist/adapters/agents/agent-profile-loader.js +0 -88
  14. package/dist/adapters/agents/agent-profile-loader.js.map +0 -1
  15. package/dist/adapters/agents/claude-api.d.ts +0 -10
  16. package/dist/adapters/agents/claude-api.d.ts.map +0 -1
  17. package/dist/adapters/agents/claude-api.js +0 -64
  18. package/dist/adapters/agents/claude-api.js.map +0 -1
  19. package/dist/adapters/agents/claude-code-cli.d.ts +0 -21
  20. package/dist/adapters/agents/claude-code-cli.d.ts.map +0 -1
  21. package/dist/adapters/agents/claude-code-cli.js +0 -69
  22. package/dist/adapters/agents/claude-code-cli.js.map +0 -1
  23. package/dist/adapters/agents/native-agent-loop.d.ts +0 -7
  24. package/dist/adapters/agents/native-agent-loop.d.ts.map +0 -1
  25. package/dist/adapters/agents/native-agent-loop.js +0 -19
  26. package/dist/adapters/agents/native-agent-loop.js.map +0 -1
  27. package/dist/adapters/agents/openai-codex.d.ts +0 -35
  28. package/dist/adapters/agents/openai-codex.d.ts.map +0 -1
  29. package/dist/adapters/agents/openai-codex.js +0 -83
  30. package/dist/adapters/agents/openai-codex.js.map +0 -1
  31. package/dist/adapters/datasources/file-existence-datasource.d.ts +0 -16
  32. package/dist/adapters/datasources/file-existence-datasource.d.ts.map +0 -1
  33. package/dist/adapters/datasources/file-existence-datasource.js +0 -71
  34. package/dist/adapters/datasources/file-existence-datasource.js.map +0 -1
  35. package/dist/adapters/datasources/github-issue-datasource.d.ts +0 -58
  36. package/dist/adapters/datasources/github-issue-datasource.d.ts.map +0 -1
  37. package/dist/adapters/datasources/github-issue-datasource.js +0 -309
  38. package/dist/adapters/datasources/github-issue-datasource.js.map +0 -1
  39. package/dist/adapters/datasources/mcp-datasource.d.ts +0 -20
  40. package/dist/adapters/datasources/mcp-datasource.d.ts.map +0 -1
  41. package/dist/adapters/datasources/mcp-datasource.js +0 -116
  42. package/dist/adapters/datasources/mcp-datasource.js.map +0 -1
  43. package/dist/adapters/datasources/shell-datasource.d.ts +0 -36
  44. package/dist/adapters/datasources/shell-datasource.d.ts.map +0 -1
  45. package/dist/adapters/datasources/shell-datasource.js +0 -138
  46. package/dist/adapters/datasources/shell-datasource.js.map +0 -1
  47. package/dist/adapters/github-issue.d.ts +0 -93
  48. package/dist/adapters/github-issue.d.ts.map +0 -1
  49. package/dist/adapters/github-issue.js +0 -492
  50. package/dist/adapters/github-issue.js.map +0 -1
  51. package/dist/adapters/mcp-client-manager.d.ts +0 -22
  52. package/dist/adapters/mcp-client-manager.d.ts.map +0 -1
  53. package/dist/adapters/mcp-client-manager.js +0 -131
  54. package/dist/adapters/mcp-client-manager.js.map +0 -1
  55. package/dist/adapters/spawn-helper.d.ts +0 -34
  56. package/dist/adapters/spawn-helper.d.ts.map +0 -1
  57. package/dist/adapters/spawn-helper.js +0 -109
  58. package/dist/adapters/spawn-helper.js.map +0 -1
  59. package/dist/adapters/types/a2a.d.ts +0 -721
  60. package/dist/adapters/types/a2a.d.ts.map +0 -1
  61. package/dist/adapters/types/a2a.js +0 -114
  62. package/dist/adapters/types/a2a.js.map +0 -1
  63. package/dist/adapters/types/agent-profile.d.ts +0 -32
  64. package/dist/adapters/types/agent-profile.d.ts.map +0 -1
  65. package/dist/adapters/types/agent-profile.js +0 -16
  66. package/dist/adapters/types/agent-profile.js.map +0 -1
  67. package/dist/adapters/types/mcp.d.ts +0 -170
  68. package/dist/adapters/types/mcp.d.ts.map +0 -1
  69. package/dist/adapters/types/mcp.js +0 -30
  70. package/dist/adapters/types/mcp.js.map +0 -1
  71. package/dist/base/config/config-metadata.d.ts +0 -2
  72. package/dist/base/config/config-metadata.d.ts.map +0 -1
  73. package/dist/base/config/config-metadata.js +0 -4
  74. package/dist/base/config/config-metadata.js.map +0 -1
  75. package/dist/base/config/global-config.d.ts +0 -63
  76. package/dist/base/config/global-config.d.ts.map +0 -1
  77. package/dist/base/config/global-config.js +0 -81
  78. package/dist/base/config/global-config.js.map +0 -1
  79. package/dist/base/config/identity-loader.d.ts +0 -15
  80. package/dist/base/config/identity-loader.d.ts.map +0 -1
  81. package/dist/base/config/identity-loader.js +0 -94
  82. package/dist/base/config/identity-loader.js.map +0 -1
  83. package/dist/base/config/tool-metadata.d.ts +0 -28
  84. package/dist/base/config/tool-metadata.d.ts.map +0 -1
  85. package/dist/base/config/tool-metadata.js +0 -135
  86. package/dist/base/config/tool-metadata.js.map +0 -1
  87. package/dist/base/llm/base-llm-client.d.ts +0 -83
  88. package/dist/base/llm/base-llm-client.d.ts.map +0 -1
  89. package/dist/base/llm/base-llm-client.js +0 -210
  90. package/dist/base/llm/base-llm-client.js.map +0 -1
  91. package/dist/base/llm/codex-llm-client.d.ts +0 -51
  92. package/dist/base/llm/codex-llm-client.d.ts.map +0 -1
  93. package/dist/base/llm/codex-llm-client.js +0 -203
  94. package/dist/base/llm/codex-llm-client.js.map +0 -1
  95. package/dist/base/llm/json-sanitizer.d.ts +0 -34
  96. package/dist/base/llm/json-sanitizer.d.ts.map +0 -1
  97. package/dist/base/llm/json-sanitizer.js +0 -110
  98. package/dist/base/llm/json-sanitizer.js.map +0 -1
  99. package/dist/base/llm/llm-client.d.ts +0 -105
  100. package/dist/base/llm/llm-client.d.ts.map +0 -1
  101. package/dist/base/llm/llm-client.js +0 -281
  102. package/dist/base/llm/llm-client.js.map +0 -1
  103. package/dist/base/llm/ollama-client.d.ts +0 -28
  104. package/dist/base/llm/ollama-client.d.ts.map +0 -1
  105. package/dist/base/llm/ollama-client.js +0 -112
  106. package/dist/base/llm/ollama-client.js.map +0 -1
  107. package/dist/base/llm/openai-client.d.ts +0 -39
  108. package/dist/base/llm/openai-client.d.ts.map +0 -1
  109. package/dist/base/llm/openai-client.js +0 -246
  110. package/dist/base/llm/openai-client.js.map +0 -1
  111. package/dist/base/llm/provider-config.d.ts +0 -130
  112. package/dist/base/llm/provider-config.d.ts.map +0 -1
  113. package/dist/base/llm/provider-config.js +0 -458
  114. package/dist/base/llm/provider-config.js.map +0 -1
  115. package/dist/base/llm/provider-factory.d.ts +0 -24
  116. package/dist/base/llm/provider-factory.d.ts.map +0 -1
  117. package/dist/base/llm/provider-factory.js +0 -174
  118. package/dist/base/llm/provider-factory.js.map +0 -1
  119. package/dist/base/state/checkpoint-trust-port.d.ts +0 -4
  120. package/dist/base/state/checkpoint-trust-port.d.ts.map +0 -1
  121. package/dist/base/state/checkpoint-trust-port.js +0 -2
  122. package/dist/base/state/checkpoint-trust-port.js.map +0 -1
  123. package/dist/base/state/state-lock.d.ts +0 -17
  124. package/dist/base/state/state-lock.d.ts.map +0 -1
  125. package/dist/base/state/state-lock.js +0 -134
  126. package/dist/base/state/state-lock.js.map +0 -1
  127. package/dist/base/state/state-manager-goal-write.d.ts +0 -26
  128. package/dist/base/state/state-manager-goal-write.d.ts.map +0 -1
  129. package/dist/base/state/state-manager-goal-write.js +0 -116
  130. package/dist/base/state/state-manager-goal-write.js.map +0 -1
  131. package/dist/base/state/state-manager-wal.d.ts +0 -11
  132. package/dist/base/state/state-manager-wal.d.ts.map +0 -1
  133. package/dist/base/state/state-manager-wal.js +0 -101
  134. package/dist/base/state/state-manager-wal.js.map +0 -1
  135. package/dist/base/state/state-manager.d.ts +0 -145
  136. package/dist/base/state/state-manager.d.ts.map +0 -1
  137. package/dist/base/state/state-manager.js +0 -727
  138. package/dist/base/state/state-manager.js.map +0 -1
  139. package/dist/base/state/state-persistence.d.ts +0 -12
  140. package/dist/base/state/state-persistence.d.ts.map +0 -1
  141. package/dist/base/state/state-persistence.js +0 -58
  142. package/dist/base/state/state-persistence.js.map +0 -1
  143. package/dist/base/state/state-snapshot.d.ts +0 -12
  144. package/dist/base/state/state-snapshot.d.ts.map +0 -1
  145. package/dist/base/state/state-snapshot.js +0 -61
  146. package/dist/base/state/state-snapshot.js.map +0 -1
  147. package/dist/base/state/state-wal.d.ts +0 -27
  148. package/dist/base/state/state-wal.d.ts.map +0 -1
  149. package/dist/base/state/state-wal.js +0 -93
  150. package/dist/base/state/state-wal.js.map +0 -1
  151. package/dist/base/state/types/state.d.ts +0 -245
  152. package/dist/base/state/types/state.d.ts.map +0 -1
  153. package/dist/base/state/types/state.js +0 -36
  154. package/dist/base/state/types/state.js.map +0 -1
  155. package/dist/base/types/a2a.d.ts +0 -2
  156. package/dist/base/types/a2a.d.ts.map +0 -1
  157. package/dist/base/types/a2a.js +0 -3
  158. package/dist/base/types/a2a.js.map +0 -1
  159. package/dist/base/types/agent-profile.d.ts +0 -2
  160. package/dist/base/types/agent-profile.d.ts.map +0 -1
  161. package/dist/base/types/agent-profile.js +0 -3
  162. package/dist/base/types/agent-profile.js.map +0 -1
  163. package/dist/base/types/capability.d.ts +0 -2
  164. package/dist/base/types/capability.d.ts.map +0 -1
  165. package/dist/base/types/capability.js +0 -3
  166. package/dist/base/types/capability.js.map +0 -1
  167. package/dist/base/types/character.d.ts +0 -2
  168. package/dist/base/types/character.d.ts.map +0 -1
  169. package/dist/base/types/character.js +0 -3
  170. package/dist/base/types/character.js.map +0 -1
  171. package/dist/base/types/checkpoint.d.ts +0 -2
  172. package/dist/base/types/checkpoint.d.ts.map +0 -1
  173. package/dist/base/types/checkpoint.js +0 -3
  174. package/dist/base/types/checkpoint.js.map +0 -1
  175. package/dist/base/types/core.d.ts +0 -175
  176. package/dist/base/types/core.d.ts.map +0 -1
  177. package/dist/base/types/core.js +0 -159
  178. package/dist/base/types/core.js.map +0 -1
  179. package/dist/base/types/cron.d.ts +0 -2
  180. package/dist/base/types/cron.d.ts.map +0 -1
  181. package/dist/base/types/cron.js +0 -3
  182. package/dist/base/types/cron.js.map +0 -1
  183. package/dist/base/types/cross-portfolio.d.ts +0 -2
  184. package/dist/base/types/cross-portfolio.d.ts.map +0 -1
  185. package/dist/base/types/cross-portfolio.js +0 -3
  186. package/dist/base/types/cross-portfolio.js.map +0 -1
  187. package/dist/base/types/curiosity.d.ts +0 -2
  188. package/dist/base/types/curiosity.d.ts.map +0 -1
  189. package/dist/base/types/curiosity.js +0 -3
  190. package/dist/base/types/curiosity.js.map +0 -1
  191. package/dist/base/types/daemon.d.ts +0 -2
  192. package/dist/base/types/daemon.d.ts.map +0 -1
  193. package/dist/base/types/daemon.js +0 -3
  194. package/dist/base/types/daemon.js.map +0 -1
  195. package/dist/base/types/data-source.d.ts +0 -2
  196. package/dist/base/types/data-source.d.ts.map +0 -1
  197. package/dist/base/types/data-source.js +0 -3
  198. package/dist/base/types/data-source.js.map +0 -1
  199. package/dist/base/types/dependency.d.ts +0 -2
  200. package/dist/base/types/dependency.d.ts.map +0 -1
  201. package/dist/base/types/dependency.js +0 -3
  202. package/dist/base/types/dependency.js.map +0 -1
  203. package/dist/base/types/drive.d.ts +0 -2
  204. package/dist/base/types/drive.d.ts.map +0 -1
  205. package/dist/base/types/drive.js +0 -3
  206. package/dist/base/types/drive.js.map +0 -1
  207. package/dist/base/types/embedding.d.ts +0 -2
  208. package/dist/base/types/embedding.d.ts.map +0 -1
  209. package/dist/base/types/embedding.js +0 -3
  210. package/dist/base/types/embedding.js.map +0 -1
  211. package/dist/base/types/ethics.d.ts +0 -2
  212. package/dist/base/types/ethics.d.ts.map +0 -1
  213. package/dist/base/types/ethics.js +0 -3
  214. package/dist/base/types/ethics.js.map +0 -1
  215. package/dist/base/types/gap.d.ts +0 -2
  216. package/dist/base/types/gap.d.ts.map +0 -1
  217. package/dist/base/types/gap.js +0 -3
  218. package/dist/base/types/gap.js.map +0 -1
  219. package/dist/base/types/goal-refiner.d.ts +0 -2
  220. package/dist/base/types/goal-refiner.d.ts.map +0 -1
  221. package/dist/base/types/goal-refiner.js +0 -3
  222. package/dist/base/types/goal-refiner.js.map +0 -1
  223. package/dist/base/types/goal-tree.d.ts +0 -2
  224. package/dist/base/types/goal-tree.d.ts.map +0 -1
  225. package/dist/base/types/goal-tree.js +0 -3
  226. package/dist/base/types/goal-tree.js.map +0 -1
  227. package/dist/base/types/goal.d.ts +0 -2
  228. package/dist/base/types/goal.d.ts.map +0 -1
  229. package/dist/base/types/goal.js +0 -3
  230. package/dist/base/types/goal.js.map +0 -1
  231. package/dist/base/types/guardrail.d.ts +0 -2
  232. package/dist/base/types/guardrail.d.ts.map +0 -1
  233. package/dist/base/types/guardrail.js +0 -3
  234. package/dist/base/types/guardrail.js.map +0 -1
  235. package/dist/base/types/hook.d.ts +0 -2
  236. package/dist/base/types/hook.d.ts.map +0 -1
  237. package/dist/base/types/hook.js +0 -3
  238. package/dist/base/types/hook.js.map +0 -1
  239. package/dist/base/types/index.d.ts +0 -33
  240. package/dist/base/types/index.d.ts.map +0 -1
  241. package/dist/base/types/index.js +0 -33
  242. package/dist/base/types/index.js.map +0 -1
  243. package/dist/base/types/knowledge.d.ts +0 -2
  244. package/dist/base/types/knowledge.d.ts.map +0 -1
  245. package/dist/base/types/knowledge.js +0 -3
  246. package/dist/base/types/knowledge.js.map +0 -1
  247. package/dist/base/types/learning.d.ts +0 -2
  248. package/dist/base/types/learning.d.ts.map +0 -1
  249. package/dist/base/types/learning.js +0 -3
  250. package/dist/base/types/learning.js.map +0 -1
  251. package/dist/base/types/mcp.d.ts +0 -2
  252. package/dist/base/types/mcp.d.ts.map +0 -1
  253. package/dist/base/types/mcp.js +0 -3
  254. package/dist/base/types/mcp.js.map +0 -1
  255. package/dist/base/types/memory-lifecycle.d.ts +0 -2
  256. package/dist/base/types/memory-lifecycle.d.ts.map +0 -1
  257. package/dist/base/types/memory-lifecycle.js +0 -3
  258. package/dist/base/types/memory-lifecycle.js.map +0 -1
  259. package/dist/base/types/negotiation.d.ts +0 -2
  260. package/dist/base/types/negotiation.d.ts.map +0 -1
  261. package/dist/base/types/negotiation.js +0 -3
  262. package/dist/base/types/negotiation.js.map +0 -1
  263. package/dist/base/types/notification.d.ts +0 -2
  264. package/dist/base/types/notification.d.ts.map +0 -1
  265. package/dist/base/types/notification.js +0 -3
  266. package/dist/base/types/notification.js.map +0 -1
  267. package/dist/base/types/pipeline.d.ts +0 -2
  268. package/dist/base/types/pipeline.d.ts.map +0 -1
  269. package/dist/base/types/pipeline.js +0 -3
  270. package/dist/base/types/pipeline.js.map +0 -1
  271. package/dist/base/types/plugin.d.ts +0 -2
  272. package/dist/base/types/plugin.d.ts.map +0 -1
  273. package/dist/base/types/plugin.js +0 -3
  274. package/dist/base/types/plugin.js.map +0 -1
  275. package/dist/base/types/portfolio.d.ts +0 -2
  276. package/dist/base/types/portfolio.d.ts.map +0 -1
  277. package/dist/base/types/portfolio.js +0 -3
  278. package/dist/base/types/portfolio.js.map +0 -1
  279. package/dist/base/types/reflection.d.ts +0 -2
  280. package/dist/base/types/reflection.d.ts.map +0 -1
  281. package/dist/base/types/reflection.js +0 -3
  282. package/dist/base/types/reflection.js.map +0 -1
  283. package/dist/base/types/report.d.ts +0 -2
  284. package/dist/base/types/report.d.ts.map +0 -1
  285. package/dist/base/types/report.js +0 -3
  286. package/dist/base/types/report.js.map +0 -1
  287. package/dist/base/types/satisficing.d.ts +0 -2
  288. package/dist/base/types/satisficing.d.ts.map +0 -1
  289. package/dist/base/types/satisficing.js +0 -3
  290. package/dist/base/types/satisficing.js.map +0 -1
  291. package/dist/base/types/schedule.d.ts +0 -2
  292. package/dist/base/types/schedule.d.ts.map +0 -1
  293. package/dist/base/types/schedule.js +0 -3
  294. package/dist/base/types/schedule.js.map +0 -1
  295. package/dist/base/types/session.d.ts +0 -2
  296. package/dist/base/types/session.d.ts.map +0 -1
  297. package/dist/base/types/session.js +0 -3
  298. package/dist/base/types/session.js.map +0 -1
  299. package/dist/base/types/stall.d.ts +0 -2
  300. package/dist/base/types/stall.d.ts.map +0 -1
  301. package/dist/base/types/stall.js +0 -3
  302. package/dist/base/types/stall.js.map +0 -1
  303. package/dist/base/types/state.d.ts +0 -2
  304. package/dist/base/types/state.d.ts.map +0 -1
  305. package/dist/base/types/state.js +0 -3
  306. package/dist/base/types/state.js.map +0 -1
  307. package/dist/base/types/strategy.d.ts +0 -2
  308. package/dist/base/types/strategy.d.ts.map +0 -1
  309. package/dist/base/types/strategy.js +0 -3
  310. package/dist/base/types/strategy.js.map +0 -1
  311. package/dist/base/types/suggest.d.ts +0 -2
  312. package/dist/base/types/suggest.d.ts.map +0 -1
  313. package/dist/base/types/suggest.js +0 -3
  314. package/dist/base/types/suggest.js.map +0 -1
  315. package/dist/base/types/task-group.d.ts +0 -2
  316. package/dist/base/types/task-group.d.ts.map +0 -1
  317. package/dist/base/types/task-group.js +0 -3
  318. package/dist/base/types/task-group.js.map +0 -1
  319. package/dist/base/types/task.d.ts +0 -2
  320. package/dist/base/types/task.d.ts.map +0 -1
  321. package/dist/base/types/task.js +0 -3
  322. package/dist/base/types/task.js.map +0 -1
  323. package/dist/base/types/time-horizon.d.ts +0 -194
  324. package/dist/base/types/time-horizon.d.ts.map +0 -1
  325. package/dist/base/types/time-horizon.js +0 -59
  326. package/dist/base/types/time-horizon.js.map +0 -1
  327. package/dist/base/types/trigger.d.ts +0 -2
  328. package/dist/base/types/trigger.d.ts.map +0 -1
  329. package/dist/base/types/trigger.js +0 -3
  330. package/dist/base/types/trigger.js.map +0 -1
  331. package/dist/base/types/trust.d.ts +0 -2
  332. package/dist/base/types/trust.d.ts.map +0 -1
  333. package/dist/base/types/trust.js +0 -3
  334. package/dist/base/types/trust.js.map +0 -1
  335. package/dist/base/utils/errors.d.ts +0 -21
  336. package/dist/base/utils/errors.d.ts.map +0 -1
  337. package/dist/base/utils/errors.js +0 -42
  338. package/dist/base/utils/errors.js.map +0 -1
  339. package/dist/base/utils/execFileNoThrow.d.ts +0 -20
  340. package/dist/base/utils/execFileNoThrow.d.ts.map +0 -1
  341. package/dist/base/utils/execFileNoThrow.js +0 -33
  342. package/dist/base/utils/execFileNoThrow.js.map +0 -1
  343. package/dist/base/utils/json-io.d.ts +0 -33
  344. package/dist/base/utils/json-io.d.ts.map +0 -1
  345. package/dist/base/utils/json-io.js +0 -85
  346. package/dist/base/utils/json-io.js.map +0 -1
  347. package/dist/base/utils/paths.d.ts +0 -15
  348. package/dist/base/utils/paths.d.ts.map +0 -1
  349. package/dist/base/utils/paths.js +0 -41
  350. package/dist/base/utils/paths.js.map +0 -1
  351. package/dist/base/utils/pulseed-meta.d.ts +0 -4
  352. package/dist/base/utils/pulseed-meta.d.ts.map +0 -1
  353. package/dist/base/utils/pulseed-meta.js +0 -32
  354. package/dist/base/utils/pulseed-meta.js.map +0 -1
  355. package/dist/base/utils/sleep.d.ts +0 -2
  356. package/dist/base/utils/sleep.d.ts.map +0 -1
  357. package/dist/base/utils/sleep.js +0 -4
  358. package/dist/base/utils/sleep.js.map +0 -1
  359. package/dist/index.d.ts +0 -145
  360. package/dist/index.d.ts.map +0 -1
  361. package/dist/index.js +0 -113
  362. package/dist/index.js.map +0 -1
  363. package/dist/interface/chat/chat-event-state.d.ts +0 -10
  364. package/dist/interface/chat/chat-event-state.d.ts.map +0 -1
  365. package/dist/interface/chat/chat-event-state.js +0 -63
  366. package/dist/interface/chat/chat-event-state.js.map +0 -1
  367. package/dist/interface/chat/chat-events.d.ts +0 -67
  368. package/dist/interface/chat/chat-events.d.ts.map +0 -1
  369. package/dist/interface/chat/chat-events.js +0 -2
  370. package/dist/interface/chat/chat-events.js.map +0 -1
  371. package/dist/interface/chat/chat-history.d.ts +0 -193
  372. package/dist/interface/chat/chat-history.d.ts.map +0 -1
  373. package/dist/interface/chat/chat-history.js +0 -152
  374. package/dist/interface/chat/chat-history.js.map +0 -1
  375. package/dist/interface/chat/chat-runner.d.ts +0 -208
  376. package/dist/interface/chat/chat-runner.d.ts.map +0 -1
  377. package/dist/interface/chat/chat-runner.js +0 -1830
  378. package/dist/interface/chat/chat-runner.js.map +0 -1
  379. package/dist/interface/chat/chat-session-store.d.ts +0 -71
  380. package/dist/interface/chat/chat-session-store.d.ts.map +0 -1
  381. package/dist/interface/chat/chat-session-store.js +0 -378
  382. package/dist/interface/chat/chat-session-store.js.map +0 -1
  383. package/dist/interface/chat/chat-verifier.d.ts +0 -14
  384. package/dist/interface/chat/chat-verifier.d.ts.map +0 -1
  385. package/dist/interface/chat/chat-verifier.js +0 -41
  386. package/dist/interface/chat/chat-verifier.js.map +0 -1
  387. package/dist/interface/chat/cross-platform-session.d.ts +0 -78
  388. package/dist/interface/chat/cross-platform-session.d.ts.map +0 -1
  389. package/dist/interface/chat/cross-platform-session.js +0 -288
  390. package/dist/interface/chat/cross-platform-session.js.map +0 -1
  391. package/dist/interface/chat/escalation.d.ts +0 -30
  392. package/dist/interface/chat/escalation.d.ts.map +0 -1
  393. package/dist/interface/chat/escalation.js +0 -53
  394. package/dist/interface/chat/escalation.js.map +0 -1
  395. package/dist/interface/chat/event-subscriber.d.ts +0 -36
  396. package/dist/interface/chat/event-subscriber.d.ts.map +0 -1
  397. package/dist/interface/chat/event-subscriber.js +0 -254
  398. package/dist/interface/chat/event-subscriber.js.map +0 -1
  399. package/dist/interface/chat/grounding.d.ts +0 -10
  400. package/dist/interface/chat/grounding.d.ts.map +0 -1
  401. package/dist/interface/chat/grounding.js +0 -150
  402. package/dist/interface/chat/grounding.js.map +0 -1
  403. package/dist/interface/chat/mutation-tool-defs.d.ts +0 -36
  404. package/dist/interface/chat/mutation-tool-defs.d.ts.map +0 -1
  405. package/dist/interface/chat/mutation-tool-defs.js +0 -149
  406. package/dist/interface/chat/mutation-tool-defs.js.map +0 -1
  407. package/dist/interface/chat/self-knowledge-mutation-tools.d.ts +0 -12
  408. package/dist/interface/chat/self-knowledge-mutation-tools.d.ts.map +0 -1
  409. package/dist/interface/chat/self-knowledge-mutation-tools.js +0 -261
  410. package/dist/interface/chat/self-knowledge-mutation-tools.js.map +0 -1
  411. package/dist/interface/chat/self-knowledge-tools.d.ts +0 -34
  412. package/dist/interface/chat/self-knowledge-tools.d.ts.map +0 -1
  413. package/dist/interface/chat/self-knowledge-tools.js +0 -258
  414. package/dist/interface/chat/self-knowledge-tools.js.map +0 -1
  415. package/dist/interface/chat/tend-command.d.ts +0 -51
  416. package/dist/interface/chat/tend-command.d.ts.map +0 -1
  417. package/dist/interface/chat/tend-command.js +0 -183
  418. package/dist/interface/chat/tend-command.js.map +0 -1
  419. package/dist/interface/cli/cli-command-registry.d.ts +0 -16
  420. package/dist/interface/cli/cli-command-registry.d.ts.map +0 -1
  421. package/dist/interface/cli/cli-command-registry.js +0 -446
  422. package/dist/interface/cli/cli-command-registry.js.map +0 -1
  423. package/dist/interface/cli/cli-logger.d.ts +0 -3
  424. package/dist/interface/cli/cli-logger.d.ts.map +0 -1
  425. package/dist/interface/cli/cli-logger.js +0 -12
  426. package/dist/interface/cli/cli-logger.js.map +0 -1
  427. package/dist/interface/cli/cli-runner.d.ts +0 -32
  428. package/dist/interface/cli/cli-runner.d.ts.map +0 -1
  429. package/dist/interface/cli/cli-runner.js +0 -131
  430. package/dist/interface/cli/cli-runner.js.map +0 -1
  431. package/dist/interface/cli/commands/approval.d.ts +0 -3
  432. package/dist/interface/cli/commands/approval.d.ts.map +0 -1
  433. package/dist/interface/cli/commands/approval.js +0 -112
  434. package/dist/interface/cli/commands/approval.js.map +0 -1
  435. package/dist/interface/cli/commands/config.d.ts +0 -14
  436. package/dist/interface/cli/commands/config.d.ts.map +0 -1
  437. package/dist/interface/cli/commands/config.js +0 -546
  438. package/dist/interface/cli/commands/config.js.map +0 -1
  439. package/dist/interface/cli/commands/daemon.d.ts +0 -8
  440. package/dist/interface/cli/commands/daemon.d.ts.map +0 -1
  441. package/dist/interface/cli/commands/daemon.js +0 -667
  442. package/dist/interface/cli/commands/daemon.js.map +0 -1
  443. package/dist/interface/cli/commands/doctor.d.ts +0 -23
  444. package/dist/interface/cli/commands/doctor.d.ts.map +0 -1
  445. package/dist/interface/cli/commands/doctor.js +0 -533
  446. package/dist/interface/cli/commands/doctor.js.map +0 -1
  447. package/dist/interface/cli/commands/goal-dispatch.d.ts +0 -13
  448. package/dist/interface/cli/commands/goal-dispatch.d.ts.map +0 -1
  449. package/dist/interface/cli/commands/goal-dispatch.js +0 -208
  450. package/dist/interface/cli/commands/goal-dispatch.js.map +0 -1
  451. package/dist/interface/cli/commands/goal-infer.d.ts +0 -9
  452. package/dist/interface/cli/commands/goal-infer.d.ts.map +0 -1
  453. package/dist/interface/cli/commands/goal-infer.js +0 -71
  454. package/dist/interface/cli/commands/goal-infer.js.map +0 -1
  455. package/dist/interface/cli/commands/goal-raw.d.ts +0 -9
  456. package/dist/interface/cli/commands/goal-raw.d.ts.map +0 -1
  457. package/dist/interface/cli/commands/goal-raw.js +0 -106
  458. package/dist/interface/cli/commands/goal-raw.js.map +0 -1
  459. package/dist/interface/cli/commands/goal-read.d.ts +0 -9
  460. package/dist/interface/cli/commands/goal-read.d.ts.map +0 -1
  461. package/dist/interface/cli/commands/goal-read.js +0 -248
  462. package/dist/interface/cli/commands/goal-read.js.map +0 -1
  463. package/dist/interface/cli/commands/goal-utils.d.ts +0 -70
  464. package/dist/interface/cli/commands/goal-utils.d.ts.map +0 -1
  465. package/dist/interface/cli/commands/goal-utils.js +0 -311
  466. package/dist/interface/cli/commands/goal-utils.js.map +0 -1
  467. package/dist/interface/cli/commands/goal-write.d.ts +0 -15
  468. package/dist/interface/cli/commands/goal-write.d.ts.map +0 -1
  469. package/dist/interface/cli/commands/goal-write.js +0 -351
  470. package/dist/interface/cli/commands/goal-write.js.map +0 -1
  471. package/dist/interface/cli/commands/goal.d.ts +0 -3
  472. package/dist/interface/cli/commands/goal.d.ts.map +0 -1
  473. package/dist/interface/cli/commands/goal.js +0 -6
  474. package/dist/interface/cli/commands/goal.js.map +0 -1
  475. package/dist/interface/cli/commands/install.d.ts +0 -17
  476. package/dist/interface/cli/commands/install.d.ts.map +0 -1
  477. package/dist/interface/cli/commands/install.js +0 -155
  478. package/dist/interface/cli/commands/install.js.map +0 -1
  479. package/dist/interface/cli/commands/knowledge.d.ts +0 -5
  480. package/dist/interface/cli/commands/knowledge.d.ts.map +0 -1
  481. package/dist/interface/cli/commands/knowledge.js +0 -127
  482. package/dist/interface/cli/commands/knowledge.js.map +0 -1
  483. package/dist/interface/cli/commands/logs.d.ts +0 -2
  484. package/dist/interface/cli/commands/logs.d.ts.map +0 -1
  485. package/dist/interface/cli/commands/logs.js +0 -201
  486. package/dist/interface/cli/commands/logs.js.map +0 -1
  487. package/dist/interface/cli/commands/notify.d.ts +0 -2
  488. package/dist/interface/cli/commands/notify.d.ts.map +0 -1
  489. package/dist/interface/cli/commands/notify.js +0 -289
  490. package/dist/interface/cli/commands/notify.js.map +0 -1
  491. package/dist/interface/cli/commands/plugin.d.ts +0 -9
  492. package/dist/interface/cli/commands/plugin.d.ts.map +0 -1
  493. package/dist/interface/cli/commands/plugin.js +0 -308
  494. package/dist/interface/cli/commands/plugin.js.map +0 -1
  495. package/dist/interface/cli/commands/presets/root-presets.d.ts +0 -19
  496. package/dist/interface/cli/commands/presets/root-presets.d.ts.map +0 -1
  497. package/dist/interface/cli/commands/presets/root-presets.js +0 -65
  498. package/dist/interface/cli/commands/presets/root-presets.js.map +0 -1
  499. package/dist/interface/cli/commands/report.d.ts +0 -3
  500. package/dist/interface/cli/commands/report.d.ts.map +0 -1
  501. package/dist/interface/cli/commands/report.js +0 -29
  502. package/dist/interface/cli/commands/report.js.map +0 -1
  503. package/dist/interface/cli/commands/run.d.ts +0 -7
  504. package/dist/interface/cli/commands/run.d.ts.map +0 -1
  505. package/dist/interface/cli/commands/run.js +0 -106
  506. package/dist/interface/cli/commands/run.js.map +0 -1
  507. package/dist/interface/cli/commands/schedule/cost.d.ts +0 -3
  508. package/dist/interface/cli/commands/schedule/cost.d.ts.map +0 -1
  509. package/dist/interface/cli/commands/schedule/cost.js +0 -84
  510. package/dist/interface/cli/commands/schedule/cost.js.map +0 -1
  511. package/dist/interface/cli/commands/schedule/edit.d.ts +0 -4
  512. package/dist/interface/cli/commands/schedule/edit.d.ts.map +0 -1
  513. package/dist/interface/cli/commands/schedule/edit.js +0 -92
  514. package/dist/interface/cli/commands/schedule/edit.js.map +0 -1
  515. package/dist/interface/cli/commands/schedule/history.d.ts +0 -3
  516. package/dist/interface/cli/commands/schedule/history.d.ts.map +0 -1
  517. package/dist/interface/cli/commands/schedule/history.js +0 -39
  518. package/dist/interface/cli/commands/schedule/history.js.map +0 -1
  519. package/dist/interface/cli/commands/schedule/run-now.d.ts +0 -5
  520. package/dist/interface/cli/commands/schedule/run-now.d.ts.map +0 -1
  521. package/dist/interface/cli/commands/schedule/run-now.js +0 -94
  522. package/dist/interface/cli/commands/schedule/run-now.js.map +0 -1
  523. package/dist/interface/cli/commands/schedule/shared.d.ts +0 -12
  524. package/dist/interface/cli/commands/schedule/shared.d.ts.map +0 -1
  525. package/dist/interface/cli/commands/schedule/shared.js +0 -63
  526. package/dist/interface/cli/commands/schedule/shared.js.map +0 -1
  527. package/dist/interface/cli/commands/schedule.d.ts +0 -4
  528. package/dist/interface/cli/commands/schedule.d.ts.map +0 -1
  529. package/dist/interface/cli/commands/schedule.js +0 -303
  530. package/dist/interface/cli/commands/schedule.js.map +0 -1
  531. package/dist/interface/cli/commands/setup/import/apply.d.ts +0 -3
  532. package/dist/interface/cli/commands/setup/import/apply.d.ts.map +0 -1
  533. package/dist/interface/cli/commands/setup/import/apply.js +0 -233
  534. package/dist/interface/cli/commands/setup/import/apply.js.map +0 -1
  535. package/dist/interface/cli/commands/setup/import/constants.d.ts +0 -5
  536. package/dist/interface/cli/commands/setup/import/constants.d.ts.map +0 -1
  537. package/dist/interface/cli/commands/setup/import/constants.js +0 -24
  538. package/dist/interface/cli/commands/setup/import/constants.js.map +0 -1
  539. package/dist/interface/cli/commands/setup/import/discovery.d.ts +0 -3
  540. package/dist/interface/cli/commands/setup/import/discovery.d.ts.map +0 -1
  541. package/dist/interface/cli/commands/setup/import/discovery.js +0 -241
  542. package/dist/interface/cli/commands/setup/import/discovery.js.map +0 -1
  543. package/dist/interface/cli/commands/setup/import/flow.d.ts +0 -5
  544. package/dist/interface/cli/commands/setup/import/flow.d.ts.map +0 -1
  545. package/dist/interface/cli/commands/setup/import/flow.js +0 -147
  546. package/dist/interface/cli/commands/setup/import/flow.js.map +0 -1
  547. package/dist/interface/cli/commands/setup/import/fs-utils.d.ts +0 -10
  548. package/dist/interface/cli/commands/setup/import/fs-utils.d.ts.map +0 -1
  549. package/dist/interface/cli/commands/setup/import/fs-utils.js +0 -109
  550. package/dist/interface/cli/commands/setup/import/fs-utils.js.map +0 -1
  551. package/dist/interface/cli/commands/setup/import/mcp.d.ts +0 -4
  552. package/dist/interface/cli/commands/setup/import/mcp.d.ts.map +0 -1
  553. package/dist/interface/cli/commands/setup/import/mcp.js +0 -73
  554. package/dist/interface/cli/commands/setup/import/mcp.js.map +0 -1
  555. package/dist/interface/cli/commands/setup/import/parse.d.ts +0 -7
  556. package/dist/interface/cli/commands/setup/import/parse.d.ts.map +0 -1
  557. package/dist/interface/cli/commands/setup/import/parse.js +0 -40
  558. package/dist/interface/cli/commands/setup/import/parse.js.map +0 -1
  559. package/dist/interface/cli/commands/setup/import/provider.d.ts +0 -6
  560. package/dist/interface/cli/commands/setup/import/provider.d.ts.map +0 -1
  561. package/dist/interface/cli/commands/setup/import/provider.js +0 -252
  562. package/dist/interface/cli/commands/setup/import/provider.js.map +0 -1
  563. package/dist/interface/cli/commands/setup/import/telegram.d.ts +0 -5
  564. package/dist/interface/cli/commands/setup/import/telegram.d.ts.map +0 -1
  565. package/dist/interface/cli/commands/setup/import/telegram.js +0 -109
  566. package/dist/interface/cli/commands/setup/import/telegram.js.map +0 -1
  567. package/dist/interface/cli/commands/setup/import/types.d.ts +0 -66
  568. package/dist/interface/cli/commands/setup/import/types.d.ts.map +0 -1
  569. package/dist/interface/cli/commands/setup/import/types.js +0 -2
  570. package/dist/interface/cli/commands/setup/import/types.js.map +0 -1
  571. package/dist/interface/cli/commands/setup/steps-adapter.d.ts +0 -3
  572. package/dist/interface/cli/commands/setup/steps-adapter.d.ts.map +0 -1
  573. package/dist/interface/cli/commands/setup/steps-adapter.js +0 -50
  574. package/dist/interface/cli/commands/setup/steps-adapter.js.map +0 -1
  575. package/dist/interface/cli/commands/setup/steps-identity.d.ts +0 -6
  576. package/dist/interface/cli/commands/setup/steps-identity.d.ts.map +0 -1
  577. package/dist/interface/cli/commands/setup/steps-identity.js +0 -72
  578. package/dist/interface/cli/commands/setup/steps-identity.js.map +0 -1
  579. package/dist/interface/cli/commands/setup/steps-notification.d.ts +0 -4
  580. package/dist/interface/cli/commands/setup/steps-notification.d.ts.map +0 -1
  581. package/dist/interface/cli/commands/setup/steps-notification.js +0 -62
  582. package/dist/interface/cli/commands/setup/steps-notification.js.map +0 -1
  583. package/dist/interface/cli/commands/setup/steps-provider.d.ts +0 -12
  584. package/dist/interface/cli/commands/setup/steps-provider.d.ts.map +0 -1
  585. package/dist/interface/cli/commands/setup/steps-provider.js +0 -255
  586. package/dist/interface/cli/commands/setup/steps-provider.js.map +0 -1
  587. package/dist/interface/cli/commands/setup/steps-runtime.d.ts +0 -10
  588. package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +0 -1
  589. package/dist/interface/cli/commands/setup/steps-runtime.js +0 -157
  590. package/dist/interface/cli/commands/setup/steps-runtime.js.map +0 -1
  591. package/dist/interface/cli/commands/setup/utils.d.ts +0 -2
  592. package/dist/interface/cli/commands/setup/utils.d.ts.map +0 -1
  593. package/dist/interface/cli/commands/setup/utils.js +0 -9
  594. package/dist/interface/cli/commands/setup/utils.js.map +0 -1
  595. package/dist/interface/cli/commands/setup-shared.d.ts +0 -26
  596. package/dist/interface/cli/commands/setup-shared.d.ts.map +0 -1
  597. package/dist/interface/cli/commands/setup-shared.js +0 -101
  598. package/dist/interface/cli/commands/setup-shared.js.map +0 -1
  599. package/dist/interface/cli/commands/setup-wizard.d.ts +0 -2
  600. package/dist/interface/cli/commands/setup-wizard.d.ts.map +0 -1
  601. package/dist/interface/cli/commands/setup-wizard.js +0 -625
  602. package/dist/interface/cli/commands/setup-wizard.js.map +0 -1
  603. package/dist/interface/cli/commands/setup.d.ts +0 -2
  604. package/dist/interface/cli/commands/setup.d.ts.map +0 -1
  605. package/dist/interface/cli/commands/setup.js +0 -155
  606. package/dist/interface/cli/commands/setup.js.map +0 -1
  607. package/dist/interface/cli/commands/skills.d.ts +0 -3
  608. package/dist/interface/cli/commands/skills.d.ts.map +0 -1
  609. package/dist/interface/cli/commands/skills.js +0 -90
  610. package/dist/interface/cli/commands/skills.js.map +0 -1
  611. package/dist/interface/cli/commands/suggest-normalizer.d.ts +0 -21
  612. package/dist/interface/cli/commands/suggest-normalizer.d.ts.map +0 -1
  613. package/dist/interface/cli/commands/suggest-normalizer.js +0 -359
  614. package/dist/interface/cli/commands/suggest-normalizer.js.map +0 -1
  615. package/dist/interface/cli/commands/suggest.d.ts +0 -5
  616. package/dist/interface/cli/commands/suggest.d.ts.map +0 -1
  617. package/dist/interface/cli/commands/suggest.js +0 -238
  618. package/dist/interface/cli/commands/suggest.js.map +0 -1
  619. package/dist/interface/cli/commands/task-read.d.ts +0 -4
  620. package/dist/interface/cli/commands/task-read.d.ts.map +0 -1
  621. package/dist/interface/cli/commands/task-read.js +0 -195
  622. package/dist/interface/cli/commands/task-read.js.map +0 -1
  623. package/dist/interface/cli/commands/telegram.d.ts +0 -2
  624. package/dist/interface/cli/commands/telegram.d.ts.map +0 -1
  625. package/dist/interface/cli/commands/telegram.js +0 -171
  626. package/dist/interface/cli/commands/telegram.js.map +0 -1
  627. package/dist/interface/cli/data-source-bootstrap.d.ts +0 -11
  628. package/dist/interface/cli/data-source-bootstrap.d.ts.map +0 -1
  629. package/dist/interface/cli/data-source-bootstrap.js +0 -68
  630. package/dist/interface/cli/data-source-bootstrap.js.map +0 -1
  631. package/dist/interface/cli/ensure-api-key.d.ts +0 -22
  632. package/dist/interface/cli/ensure-api-key.d.ts.map +0 -1
  633. package/dist/interface/cli/ensure-api-key.js +0 -96
  634. package/dist/interface/cli/ensure-api-key.js.map +0 -1
  635. package/dist/interface/cli/setup.d.ts +0 -49
  636. package/dist/interface/cli/setup.d.ts.map +0 -1
  637. package/dist/interface/cli/setup.js +0 -346
  638. package/dist/interface/cli/setup.js.map +0 -1
  639. package/dist/interface/cli/utils/loop-runner.d.ts +0 -8
  640. package/dist/interface/cli/utils/loop-runner.d.ts.map +0 -1
  641. package/dist/interface/cli/utils/loop-runner.js +0 -74
  642. package/dist/interface/cli/utils/loop-runner.js.map +0 -1
  643. package/dist/interface/cli/utils.d.ts +0 -10
  644. package/dist/interface/cli/utils.d.ts.map +0 -1
  645. package/dist/interface/cli/utils.js +0 -163
  646. package/dist/interface/cli/utils.js.map +0 -1
  647. package/dist/interface/mcp-server/index.d.ts +0 -4
  648. package/dist/interface/mcp-server/index.d.ts.map +0 -1
  649. package/dist/interface/mcp-server/index.js +0 -67
  650. package/dist/interface/mcp-server/index.js.map +0 -1
  651. package/dist/interface/mcp-server/tools.d.ts +0 -35
  652. package/dist/interface/mcp-server/tools.d.ts.map +0 -1
  653. package/dist/interface/mcp-server/tools.js +0 -160
  654. package/dist/interface/mcp-server/tools.js.map +0 -1
  655. package/dist/interface/tui/actions.d.ts +0 -39
  656. package/dist/interface/tui/actions.d.ts.map +0 -1
  657. package/dist/interface/tui/actions.js +0 -231
  658. package/dist/interface/tui/actions.js.map +0 -1
  659. package/dist/interface/tui/app.d.ts +0 -39
  660. package/dist/interface/tui/app.d.ts.map +0 -1
  661. package/dist/interface/tui/app.js +0 -425
  662. package/dist/interface/tui/app.js.map +0 -1
  663. package/dist/interface/tui/approval-overlay.d.ts +0 -8
  664. package/dist/interface/tui/approval-overlay.d.ts.map +0 -1
  665. package/dist/interface/tui/approval-overlay.js +0 -21
  666. package/dist/interface/tui/approval-overlay.js.map +0 -1
  667. package/dist/interface/tui/bash-mode.d.ts +0 -11
  668. package/dist/interface/tui/bash-mode.d.ts.map +0 -1
  669. package/dist/interface/tui/bash-mode.js +0 -64
  670. package/dist/interface/tui/bash-mode.js.map +0 -1
  671. package/dist/interface/tui/chat/scroll.d.ts +0 -26
  672. package/dist/interface/tui/chat/scroll.d.ts.map +0 -1
  673. package/dist/interface/tui/chat/scroll.js +0 -82
  674. package/dist/interface/tui/chat/scroll.js.map +0 -1
  675. package/dist/interface/tui/chat/suggestions.d.ts +0 -8
  676. package/dist/interface/tui/chat/suggestions.d.ts.map +0 -1
  677. package/dist/interface/tui/chat/suggestions.js +0 -106
  678. package/dist/interface/tui/chat/suggestions.js.map +0 -1
  679. package/dist/interface/tui/chat/types.d.ts +0 -31
  680. package/dist/interface/tui/chat/types.d.ts.map +0 -1
  681. package/dist/interface/tui/chat/types.js +0 -2
  682. package/dist/interface/tui/chat/types.js.map +0 -1
  683. package/dist/interface/tui/chat/viewport.d.ts +0 -3
  684. package/dist/interface/tui/chat/viewport.d.ts.map +0 -1
  685. package/dist/interface/tui/chat/viewport.js +0 -77
  686. package/dist/interface/tui/chat/viewport.js.map +0 -1
  687. package/dist/interface/tui/chat.d.ts +0 -28
  688. package/dist/interface/tui/chat.d.ts.map +0 -1
  689. package/dist/interface/tui/chat.js +0 -403
  690. package/dist/interface/tui/chat.js.map +0 -1
  691. package/dist/interface/tui/checkerboard-spinner.d.ts +0 -3
  692. package/dist/interface/tui/checkerboard-spinner.d.ts.map +0 -1
  693. package/dist/interface/tui/checkerboard-spinner.js +0 -20
  694. package/dist/interface/tui/checkerboard-spinner.js.map +0 -1
  695. package/dist/interface/tui/clipboard.d.ts +0 -3
  696. package/dist/interface/tui/clipboard.d.ts.map +0 -1
  697. package/dist/interface/tui/clipboard.js +0 -49
  698. package/dist/interface/tui/clipboard.js.map +0 -1
  699. package/dist/interface/tui/cursor-tracker.d.ts +0 -41
  700. package/dist/interface/tui/cursor-tracker.d.ts.map +0 -1
  701. package/dist/interface/tui/cursor-tracker.js +0 -141
  702. package/dist/interface/tui/cursor-tracker.js.map +0 -1
  703. package/dist/interface/tui/dashboard.d.ts +0 -9
  704. package/dist/interface/tui/dashboard.d.ts.map +0 -1
  705. package/dist/interface/tui/dashboard.js +0 -48
  706. package/dist/interface/tui/dashboard.js.map +0 -1
  707. package/dist/interface/tui/debug-log.d.ts +0 -4
  708. package/dist/interface/tui/debug-log.d.ts.map +0 -1
  709. package/dist/interface/tui/debug-log.js +0 -39
  710. package/dist/interface/tui/debug-log.js.map +0 -1
  711. package/dist/interface/tui/entry.d.ts +0 -7
  712. package/dist/interface/tui/entry.d.ts.map +0 -1
  713. package/dist/interface/tui/entry.js +0 -646
  714. package/dist/interface/tui/entry.js.map +0 -1
  715. package/dist/interface/tui/flicker/AlternateScreen.d.ts +0 -23
  716. package/dist/interface/tui/flicker/AlternateScreen.d.ts.map +0 -1
  717. package/dist/interface/tui/flicker/AlternateScreen.js +0 -30
  718. package/dist/interface/tui/flicker/AlternateScreen.js.map +0 -1
  719. package/dist/interface/tui/flicker/MouseTracking.d.ts +0 -11
  720. package/dist/interface/tui/flicker/MouseTracking.d.ts.map +0 -1
  721. package/dist/interface/tui/flicker/MouseTracking.js +0 -23
  722. package/dist/interface/tui/flicker/MouseTracking.js.map +0 -1
  723. package/dist/interface/tui/flicker/dec.d.ts +0 -31
  724. package/dist/interface/tui/flicker/dec.d.ts.map +0 -1
  725. package/dist/interface/tui/flicker/dec.js +0 -37
  726. package/dist/interface/tui/flicker/dec.js.map +0 -1
  727. package/dist/interface/tui/flicker/frame-writer.d.ts +0 -16
  728. package/dist/interface/tui/flicker/frame-writer.d.ts.map +0 -1
  729. package/dist/interface/tui/flicker/frame-writer.js +0 -113
  730. package/dist/interface/tui/flicker/frame-writer.js.map +0 -1
  731. package/dist/interface/tui/flicker/index.d.ts +0 -11
  732. package/dist/interface/tui/flicker/index.d.ts.map +0 -1
  733. package/dist/interface/tui/flicker/index.js +0 -21
  734. package/dist/interface/tui/flicker/index.js.map +0 -1
  735. package/dist/interface/tui/flicker/terminal-detect.d.ts +0 -9
  736. package/dist/interface/tui/flicker/terminal-detect.d.ts.map +0 -1
  737. package/dist/interface/tui/flicker/terminal-detect.js +0 -52
  738. package/dist/interface/tui/flicker/terminal-detect.js.map +0 -1
  739. package/dist/interface/tui/flicker-overlay.d.ts +0 -7
  740. package/dist/interface/tui/flicker-overlay.d.ts.map +0 -1
  741. package/dist/interface/tui/flicker-overlay.js +0 -74
  742. package/dist/interface/tui/flicker-overlay.js.map +0 -1
  743. package/dist/interface/tui/fullscreen-chat.d.ts +0 -15
  744. package/dist/interface/tui/fullscreen-chat.d.ts.map +0 -1
  745. package/dist/interface/tui/fullscreen-chat.js +0 -849
  746. package/dist/interface/tui/fullscreen-chat.js.map +0 -1
  747. package/dist/interface/tui/fuzzy.d.ts +0 -16
  748. package/dist/interface/tui/fuzzy.d.ts.map +0 -1
  749. package/dist/interface/tui/fuzzy.js +0 -66
  750. package/dist/interface/tui/fuzzy.js.map +0 -1
  751. package/dist/interface/tui/git-branch.d.ts +0 -2
  752. package/dist/interface/tui/git-branch.d.ts.map +0 -1
  753. package/dist/interface/tui/git-branch.js +0 -14
  754. package/dist/interface/tui/git-branch.js.map +0 -1
  755. package/dist/interface/tui/help-overlay.d.ts +0 -6
  756. package/dist/interface/tui/help-overlay.d.ts.map +0 -1
  757. package/dist/interface/tui/help-overlay.js +0 -13
  758. package/dist/interface/tui/help-overlay.js.map +0 -1
  759. package/dist/interface/tui/intent-recognizer.d.ts +0 -19
  760. package/dist/interface/tui/intent-recognizer.d.ts.map +0 -1
  761. package/dist/interface/tui/intent-recognizer.js +0 -134
  762. package/dist/interface/tui/intent-recognizer.js.map +0 -1
  763. package/dist/interface/tui/markdown-renderer.d.ts +0 -56
  764. package/dist/interface/tui/markdown-renderer.d.ts.map +0 -1
  765. package/dist/interface/tui/markdown-renderer.js +0 -301
  766. package/dist/interface/tui/markdown-renderer.js.map +0 -1
  767. package/dist/interface/tui/output-controller.d.ts +0 -10
  768. package/dist/interface/tui/output-controller.d.ts.map +0 -1
  769. package/dist/interface/tui/output-controller.js +0 -79
  770. package/dist/interface/tui/output-controller.js.map +0 -1
  771. package/dist/interface/tui/render-output.d.ts +0 -2
  772. package/dist/interface/tui/render-output.d.ts.map +0 -1
  773. package/dist/interface/tui/render-output.js +0 -5
  774. package/dist/interface/tui/render-output.js.map +0 -1
  775. package/dist/interface/tui/report-view.d.ts +0 -7
  776. package/dist/interface/tui/report-view.d.ts.map +0 -1
  777. package/dist/interface/tui/report-view.js +0 -82
  778. package/dist/interface/tui/report-view.js.map +0 -1
  779. package/dist/interface/tui/seedy-art.d.ts +0 -44
  780. package/dist/interface/tui/seedy-art.d.ts.map +0 -1
  781. package/dist/interface/tui/seedy-art.js +0 -210
  782. package/dist/interface/tui/seedy-art.js.map +0 -1
  783. package/dist/interface/tui/settings-overlay.d.ts +0 -7
  784. package/dist/interface/tui/settings-overlay.d.ts.map +0 -1
  785. package/dist/interface/tui/settings-overlay.js +0 -66
  786. package/dist/interface/tui/settings-overlay.js.map +0 -1
  787. package/dist/interface/tui/shimmer-text.d.ts +0 -6
  788. package/dist/interface/tui/shimmer-text.d.ts.map +0 -1
  789. package/dist/interface/tui/shimmer-text.js +0 -33
  790. package/dist/interface/tui/shimmer-text.js.map +0 -1
  791. package/dist/interface/tui/spinner-verbs.d.ts +0 -9
  792. package/dist/interface/tui/spinner-verbs.d.ts.map +0 -1
  793. package/dist/interface/tui/spinner-verbs.js +0 -124
  794. package/dist/interface/tui/spinner-verbs.js.map +0 -1
  795. package/dist/interface/tui/terminal-output.d.ts +0 -6
  796. package/dist/interface/tui/terminal-output.d.ts.map +0 -1
  797. package/dist/interface/tui/terminal-output.js +0 -11
  798. package/dist/interface/tui/terminal-output.js.map +0 -1
  799. package/dist/interface/tui/test-app.d.ts +0 -9
  800. package/dist/interface/tui/test-app.d.ts.map +0 -1
  801. package/dist/interface/tui/test-app.js +0 -84
  802. package/dist/interface/tui/test-app.js.map +0 -1
  803. package/dist/interface/tui/test-entry.d.ts +0 -3
  804. package/dist/interface/tui/test-entry.d.ts.map +0 -1
  805. package/dist/interface/tui/test-entry.js +0 -73
  806. package/dist/interface/tui/test-entry.js.map +0 -1
  807. package/dist/interface/tui/text-width.d.ts +0 -3
  808. package/dist/interface/tui/text-width.d.ts.map +0 -1
  809. package/dist/interface/tui/text-width.js +0 -8
  810. package/dist/interface/tui/text-width.js.map +0 -1
  811. package/dist/interface/tui/theme.d.ts +0 -47
  812. package/dist/interface/tui/theme.d.ts.map +0 -1
  813. package/dist/interface/tui/theme.js +0 -115
  814. package/dist/interface/tui/theme.js.map +0 -1
  815. package/dist/interface/tui/use-loop.d.ts +0 -59
  816. package/dist/interface/tui/use-loop.d.ts.map +0 -1
  817. package/dist/interface/tui/use-loop.js +0 -249
  818. package/dist/interface/tui/use-loop.js.map +0 -1
  819. package/dist/orchestrator/ethics-gate.d.ts +0 -3
  820. package/dist/orchestrator/ethics-gate.d.ts.map +0 -1
  821. package/dist/orchestrator/ethics-gate.js +0 -2
  822. package/dist/orchestrator/ethics-gate.js.map +0 -1
  823. package/dist/orchestrator/execution/adapter-layer.d.ts +0 -119
  824. package/dist/orchestrator/execution/adapter-layer.d.ts.map +0 -1
  825. package/dist/orchestrator/execution/adapter-layer.js +0 -123
  826. package/dist/orchestrator/execution/adapter-layer.js.map +0 -1
  827. package/dist/orchestrator/execution/agent-loop/agent-loop-budget.d.ts +0 -15
  828. package/dist/orchestrator/execution/agent-loop/agent-loop-budget.d.ts.map +0 -1
  829. package/dist/orchestrator/execution/agent-loop/agent-loop-budget.js +0 -12
  830. package/dist/orchestrator/execution/agent-loop/agent-loop-budget.js.map +0 -1
  831. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts +0 -9
  832. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts.map +0 -1
  833. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js +0 -40
  834. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js.map +0 -1
  835. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts +0 -33
  836. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts.map +0 -1
  837. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js +0 -68
  838. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js.map +0 -1
  839. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts +0 -41
  840. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +0 -1
  841. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +0 -133
  842. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +0 -1
  843. package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.d.ts +0 -76
  844. package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.d.ts.map +0 -1
  845. package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.js +0 -164
  846. package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.js.map +0 -1
  847. package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.d.ts +0 -46
  848. package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.d.ts.map +0 -1
  849. package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.js +0 -75
  850. package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.js.map +0 -1
  851. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +0 -98
  852. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +0 -1
  853. package/dist/orchestrator/execution/agent-loop/agent-loop-events.js +0 -6
  854. package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +0 -1
  855. package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts +0 -8
  856. package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts.map +0 -1
  857. package/dist/orchestrator/execution/agent-loop/agent-loop-history.js +0 -7
  858. package/dist/orchestrator/execution/agent-loop/agent-loop-history.js.map +0 -1
  859. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.d.ts +0 -9
  860. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.d.ts.map +0 -1
  861. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.js +0 -22
  862. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.js.map +0 -1
  863. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts +0 -13
  864. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +0 -1
  865. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +0 -81
  866. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +0 -1
  867. package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.d.ts +0 -10
  868. package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.d.ts.map +0 -1
  869. package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.js +0 -26
  870. package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.js.map +0 -1
  871. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +0 -88
  872. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +0 -1
  873. package/dist/orchestrator/execution/agent-loop/agent-loop-model.js +0 -22
  874. package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +0 -1
  875. package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts +0 -8
  876. package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts.map +0 -1
  877. package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js +0 -31
  878. package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js.map +0 -1
  879. package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.d.ts +0 -2
  880. package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.d.ts.map +0 -1
  881. package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.js +0 -362
  882. package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.js.map +0 -1
  883. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +0 -42
  884. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +0 -1
  885. package/dist/orchestrator/execution/agent-loop/agent-loop-result.js +0 -2
  886. package/dist/orchestrator/execution/agent-loop/agent-loop-result.js.map +0 -1
  887. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts +0 -15
  888. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts.map +0 -1
  889. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js +0 -26
  890. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js.map +0 -1
  891. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +0 -40
  892. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +0 -1
  893. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +0 -125
  894. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +0 -1
  895. package/dist/orchestrator/execution/agent-loop/agent-loop-session.d.ts +0 -21
  896. package/dist/orchestrator/execution/agent-loop/agent-loop-session.d.ts.map +0 -1
  897. package/dist/orchestrator/execution/agent-loop/agent-loop-session.js +0 -16
  898. package/dist/orchestrator/execution/agent-loop/agent-loop-session.js.map +0 -1
  899. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts +0 -21
  900. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts.map +0 -1
  901. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.js +0 -2
  902. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.js.map +0 -1
  903. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts +0 -19
  904. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts.map +0 -1
  905. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js +0 -34
  906. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js.map +0 -1
  907. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +0 -21
  908. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +0 -1
  909. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +0 -114
  910. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +0 -1
  911. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts +0 -18
  912. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts.map +0 -1
  913. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js +0 -31
  914. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +0 -1
  915. package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts +0 -39
  916. package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts.map +0 -1
  917. package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js +0 -5
  918. package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js.map +0 -1
  919. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts +0 -23
  920. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +0 -1
  921. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +0 -156
  922. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +0 -1
  923. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +0 -38
  924. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +0 -1
  925. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +0 -476
  926. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +0 -1
  927. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +0 -71
  928. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +0 -1
  929. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +0 -117
  930. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +0 -1
  931. package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts +0 -33
  932. package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts.map +0 -1
  933. package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js +0 -89
  934. package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js.map +0 -1
  935. package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts +0 -32
  936. package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +0 -1
  937. package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +0 -40
  938. package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +0 -1
  939. package/dist/orchestrator/execution/agent-loop/execution-policy.d.ts +0 -26
  940. package/dist/orchestrator/execution/agent-loop/execution-policy.d.ts.map +0 -1
  941. package/dist/orchestrator/execution/agent-loop/execution-policy.js +0 -45
  942. package/dist/orchestrator/execution/agent-loop/execution-policy.js.map +0 -1
  943. package/dist/orchestrator/execution/agent-loop/index.d.ts +0 -37
  944. package/dist/orchestrator/execution/agent-loop/index.d.ts.map +0 -1
  945. package/dist/orchestrator/execution/agent-loop/index.js +0 -37
  946. package/dist/orchestrator/execution/agent-loop/index.js.map +0 -1
  947. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts +0 -18
  948. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts.map +0 -1
  949. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js +0 -148
  950. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js.map +0 -1
  951. package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.d.ts +0 -16
  952. package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.d.ts.map +0 -1
  953. package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.js +0 -74
  954. package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.js.map +0 -1
  955. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts +0 -28
  956. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +0 -1
  957. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +0 -81
  958. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +0 -1
  959. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.d.ts +0 -28
  960. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.d.ts.map +0 -1
  961. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js +0 -108
  962. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js.map +0 -1
  963. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +0 -54
  964. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +0 -1
  965. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +0 -61
  966. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +0 -1
  967. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +0 -50
  968. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +0 -1
  969. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +0 -73
  970. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +0 -1
  971. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts +0 -5
  972. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts.map +0 -1
  973. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js +0 -94
  974. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js.map +0 -1
  975. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts +0 -23
  976. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +0 -1
  977. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +0 -145
  978. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +0 -1
  979. package/dist/orchestrator/execution/checkpoint-manager.d.ts +0 -49
  980. package/dist/orchestrator/execution/checkpoint-manager.d.ts.map +0 -1
  981. package/dist/orchestrator/execution/checkpoint-manager.js +0 -143
  982. package/dist/orchestrator/execution/checkpoint-manager.js.map +0 -1
  983. package/dist/orchestrator/execution/context/context-budget.d.ts +0 -35
  984. package/dist/orchestrator/execution/context/context-budget.d.ts.map +0 -1
  985. package/dist/orchestrator/execution/context/context-budget.js +0 -73
  986. package/dist/orchestrator/execution/context/context-budget.js.map +0 -1
  987. package/dist/orchestrator/execution/context/context-builder.d.ts +0 -52
  988. package/dist/orchestrator/execution/context/context-builder.d.ts.map +0 -1
  989. package/dist/orchestrator/execution/context/context-builder.js +0 -170
  990. package/dist/orchestrator/execution/context/context-builder.js.map +0 -1
  991. package/dist/orchestrator/execution/context/dimension-selector.d.ts +0 -20
  992. package/dist/orchestrator/execution/context/dimension-selector.d.ts.map +0 -1
  993. package/dist/orchestrator/execution/context/dimension-selector.js +0 -61
  994. package/dist/orchestrator/execution/context/dimension-selector.js.map +0 -1
  995. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +0 -19
  996. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +0 -1
  997. package/dist/orchestrator/execution/context/issue-context-fetcher.js +0 -73
  998. package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +0 -1
  999. package/dist/orchestrator/execution/impact-analyzer.d.ts +0 -24
  1000. package/dist/orchestrator/execution/impact-analyzer.d.ts.map +0 -1
  1001. package/dist/orchestrator/execution/impact-analyzer.js +0 -88
  1002. package/dist/orchestrator/execution/impact-analyzer.js.map +0 -1
  1003. package/dist/orchestrator/execution/parallel-execution-types.d.ts +0 -7
  1004. package/dist/orchestrator/execution/parallel-execution-types.d.ts.map +0 -1
  1005. package/dist/orchestrator/execution/parallel-execution-types.js +0 -2
  1006. package/dist/orchestrator/execution/parallel-execution-types.js.map +0 -1
  1007. package/dist/orchestrator/execution/parallel-executor.d.ts +0 -34
  1008. package/dist/orchestrator/execution/parallel-executor.d.ts.map +0 -1
  1009. package/dist/orchestrator/execution/parallel-executor.js +0 -172
  1010. package/dist/orchestrator/execution/parallel-executor.js.map +0 -1
  1011. package/dist/orchestrator/execution/pipeline-executor.d.ts +0 -55
  1012. package/dist/orchestrator/execution/pipeline-executor.d.ts.map +0 -1
  1013. package/dist/orchestrator/execution/pipeline-executor.js +0 -281
  1014. package/dist/orchestrator/execution/pipeline-executor.js.map +0 -1
  1015. package/dist/orchestrator/execution/reflection-generator.d.ts +0 -24
  1016. package/dist/orchestrator/execution/reflection-generator.d.ts.map +0 -1
  1017. package/dist/orchestrator/execution/reflection-generator.js +0 -143
  1018. package/dist/orchestrator/execution/reflection-generator.js.map +0 -1
  1019. package/dist/orchestrator/execution/result-reconciler.d.ts +0 -23
  1020. package/dist/orchestrator/execution/result-reconciler.d.ts.map +0 -1
  1021. package/dist/orchestrator/execution/result-reconciler.js +0 -134
  1022. package/dist/orchestrator/execution/result-reconciler.js.map +0 -1
  1023. package/dist/orchestrator/execution/session-manager.d.ts +0 -153
  1024. package/dist/orchestrator/execution/session-manager.d.ts.map +0 -1
  1025. package/dist/orchestrator/execution/session-manager.js +0 -393
  1026. package/dist/orchestrator/execution/session-manager.js.map +0 -1
  1027. package/dist/orchestrator/execution/task/task-approval-check.d.ts +0 -9
  1028. package/dist/orchestrator/execution/task/task-approval-check.d.ts.map +0 -1
  1029. package/dist/orchestrator/execution/task/task-approval-check.js +0 -14
  1030. package/dist/orchestrator/execution/task/task-approval-check.js.map +0 -1
  1031. package/dist/orchestrator/execution/task/task-approval.d.ts +0 -22
  1032. package/dist/orchestrator/execution/task/task-approval.d.ts.map +0 -1
  1033. package/dist/orchestrator/execution/task/task-approval.js +0 -147
  1034. package/dist/orchestrator/execution/task/task-approval.js.map +0 -1
  1035. package/dist/orchestrator/execution/task/task-context-enricher.d.ts +0 -13
  1036. package/dist/orchestrator/execution/task/task-context-enricher.d.ts.map +0 -1
  1037. package/dist/orchestrator/execution/task/task-context-enricher.js +0 -35
  1038. package/dist/orchestrator/execution/task/task-context-enricher.js.map +0 -1
  1039. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +0 -29
  1040. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +0 -1
  1041. package/dist/orchestrator/execution/task/task-execution-helpers.js +0 -115
  1042. package/dist/orchestrator/execution/task/task-execution-helpers.js.map +0 -1
  1043. package/dist/orchestrator/execution/task/task-execution-types.d.ts +0 -20
  1044. package/dist/orchestrator/execution/task/task-execution-types.d.ts.map +0 -1
  1045. package/dist/orchestrator/execution/task/task-execution-types.js +0 -10
  1046. package/dist/orchestrator/execution/task/task-execution-types.js.map +0 -1
  1047. package/dist/orchestrator/execution/task/task-executor.d.ts +0 -31
  1048. package/dist/orchestrator/execution/task/task-executor.d.ts.map +0 -1
  1049. package/dist/orchestrator/execution/task/task-executor.js +0 -222
  1050. package/dist/orchestrator/execution/task/task-executor.js.map +0 -1
  1051. package/dist/orchestrator/execution/task/task-generation.d.ts +0 -157
  1052. package/dist/orchestrator/execution/task/task-generation.d.ts.map +0 -1
  1053. package/dist/orchestrator/execution/task/task-generation.js +0 -478
  1054. package/dist/orchestrator/execution/task/task-generation.js.map +0 -1
  1055. package/dist/orchestrator/execution/task/task-health-check.d.ts +0 -40
  1056. package/dist/orchestrator/execution/task/task-health-check.d.ts.map +0 -1
  1057. package/dist/orchestrator/execution/task/task-health-check.js +0 -100
  1058. package/dist/orchestrator/execution/task/task-health-check.js.map +0 -1
  1059. package/dist/orchestrator/execution/task/task-lifecycle.d.ts +0 -166
  1060. package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +0 -1
  1061. package/dist/orchestrator/execution/task/task-lifecycle.js +0 -516
  1062. package/dist/orchestrator/execution/task/task-lifecycle.js.map +0 -1
  1063. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +0 -83
  1064. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +0 -1
  1065. package/dist/orchestrator/execution/task/task-outcome-ledger.js +0 -247
  1066. package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +0 -1
  1067. package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts +0 -15
  1068. package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts.map +0 -1
  1069. package/dist/orchestrator/execution/task/task-pipeline-cycle.js +0 -132
  1070. package/dist/orchestrator/execution/task/task-pipeline-cycle.js.map +0 -1
  1071. package/dist/orchestrator/execution/task/task-pipeline-types.d.ts +0 -39
  1072. package/dist/orchestrator/execution/task/task-pipeline-types.d.ts.map +0 -1
  1073. package/dist/orchestrator/execution/task/task-pipeline-types.js +0 -2
  1074. package/dist/orchestrator/execution/task/task-pipeline-types.js.map +0 -1
  1075. package/dist/orchestrator/execution/task/task-post-execution.d.ts +0 -27
  1076. package/dist/orchestrator/execution/task/task-post-execution.d.ts.map +0 -1
  1077. package/dist/orchestrator/execution/task/task-post-execution.js +0 -24
  1078. package/dist/orchestrator/execution/task/task-post-execution.js.map +0 -1
  1079. package/dist/orchestrator/execution/task/task-prompt-builder.d.ts +0 -9
  1080. package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +0 -1
  1081. package/dist/orchestrator/execution/task/task-prompt-builder.js +0 -300
  1082. package/dist/orchestrator/execution/task/task-prompt-builder.js.map +0 -1
  1083. package/dist/orchestrator/execution/task/task-side-effects.d.ts +0 -23
  1084. package/dist/orchestrator/execution/task/task-side-effects.d.ts.map +0 -1
  1085. package/dist/orchestrator/execution/task/task-side-effects.js +0 -42
  1086. package/dist/orchestrator/execution/task/task-side-effects.js.map +0 -1
  1087. package/dist/orchestrator/execution/task/task-verifier-llm.d.ts +0 -25
  1088. package/dist/orchestrator/execution/task/task-verifier-llm.d.ts.map +0 -1
  1089. package/dist/orchestrator/execution/task/task-verifier-llm.js +0 -191
  1090. package/dist/orchestrator/execution/task/task-verifier-llm.js.map +0 -1
  1091. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +0 -31
  1092. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +0 -1
  1093. package/dist/orchestrator/execution/task/task-verifier-rules.js +0 -321
  1094. package/dist/orchestrator/execution/task/task-verifier-rules.js.map +0 -1
  1095. package/dist/orchestrator/execution/task/task-verifier-types.d.ts +0 -99
  1096. package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +0 -1
  1097. package/dist/orchestrator/execution/task/task-verifier-types.js +0 -9
  1098. package/dist/orchestrator/execution/task/task-verifier-types.js.map +0 -1
  1099. package/dist/orchestrator/execution/task/task-verifier.d.ts +0 -48
  1100. package/dist/orchestrator/execution/task/task-verifier.d.ts.map +0 -1
  1101. package/dist/orchestrator/execution/task/task-verifier.js +0 -544
  1102. package/dist/orchestrator/execution/task/task-verifier.js.map +0 -1
  1103. package/dist/orchestrator/execution/toolset-lock.d.ts +0 -27
  1104. package/dist/orchestrator/execution/toolset-lock.d.ts.map +0 -1
  1105. package/dist/orchestrator/execution/toolset-lock.js +0 -49
  1106. package/dist/orchestrator/execution/toolset-lock.js.map +0 -1
  1107. package/dist/orchestrator/execution/types/checkpoint.d.ts +0 -133
  1108. package/dist/orchestrator/execution/types/checkpoint.d.ts.map +0 -1
  1109. package/dist/orchestrator/execution/types/checkpoint.js +0 -38
  1110. package/dist/orchestrator/execution/types/checkpoint.js.map +0 -1
  1111. package/dist/orchestrator/execution/types/pipeline.d.ts +0 -191
  1112. package/dist/orchestrator/execution/types/pipeline.d.ts.map +0 -1
  1113. package/dist/orchestrator/execution/types/pipeline.js +0 -62
  1114. package/dist/orchestrator/execution/types/pipeline.js.map +0 -1
  1115. package/dist/orchestrator/execution/types/session.d.ts +0 -95
  1116. package/dist/orchestrator/execution/types/session.d.ts.map +0 -1
  1117. package/dist/orchestrator/execution/types/session.js +0 -37
  1118. package/dist/orchestrator/execution/types/session.js.map +0 -1
  1119. package/dist/orchestrator/execution/types/task-group.d.ts +0 -246
  1120. package/dist/orchestrator/execution/types/task-group.d.ts.map +0 -1
  1121. package/dist/orchestrator/execution/types/task-group.js +0 -14
  1122. package/dist/orchestrator/execution/types/task-group.js.map +0 -1
  1123. package/dist/orchestrator/execution/types/task.d.ts +0 -267
  1124. package/dist/orchestrator/execution/types/task.d.ts.map +0 -1
  1125. package/dist/orchestrator/execution/types/task.js +0 -70
  1126. package/dist/orchestrator/execution/types/task.js.map +0 -1
  1127. package/dist/orchestrator/goal/goal-decomposer.d.ts +0 -30
  1128. package/dist/orchestrator/goal/goal-decomposer.d.ts.map +0 -1
  1129. package/dist/orchestrator/goal/goal-decomposer.js +0 -167
  1130. package/dist/orchestrator/goal/goal-decomposer.js.map +0 -1
  1131. package/dist/orchestrator/goal/goal-dependency-graph.d.ts +0 -124
  1132. package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +0 -1
  1133. package/dist/orchestrator/goal/goal-dependency-graph.js +0 -337
  1134. package/dist/orchestrator/goal/goal-dependency-graph.js.map +0 -1
  1135. package/dist/orchestrator/goal/goal-negotiator.d.ts +0 -72
  1136. package/dist/orchestrator/goal/goal-negotiator.d.ts.map +0 -1
  1137. package/dist/orchestrator/goal/goal-negotiator.js +0 -300
  1138. package/dist/orchestrator/goal/goal-negotiator.js.map +0 -1
  1139. package/dist/orchestrator/goal/goal-refiner.d.ts +0 -46
  1140. package/dist/orchestrator/goal/goal-refiner.d.ts.map +0 -1
  1141. package/dist/orchestrator/goal/goal-refiner.js +0 -297
  1142. package/dist/orchestrator/goal/goal-refiner.js.map +0 -1
  1143. package/dist/orchestrator/goal/goal-suggest.d.ts +0 -93
  1144. package/dist/orchestrator/goal/goal-suggest.d.ts.map +0 -1
  1145. package/dist/orchestrator/goal/goal-suggest.js +0 -254
  1146. package/dist/orchestrator/goal/goal-suggest.js.map +0 -1
  1147. package/dist/orchestrator/goal/goal-tree-manager.d.ts +0 -72
  1148. package/dist/orchestrator/goal/goal-tree-manager.d.ts.map +0 -1
  1149. package/dist/orchestrator/goal/goal-tree-manager.js +0 -572
  1150. package/dist/orchestrator/goal/goal-tree-manager.js.map +0 -1
  1151. package/dist/orchestrator/goal/goal-tree-pruner.d.ts +0 -25
  1152. package/dist/orchestrator/goal/goal-tree-pruner.d.ts.map +0 -1
  1153. package/dist/orchestrator/goal/goal-tree-pruner.js +0 -93
  1154. package/dist/orchestrator/goal/goal-tree-pruner.js.map +0 -1
  1155. package/dist/orchestrator/goal/goal-tree-quality.d.ts +0 -22
  1156. package/dist/orchestrator/goal/goal-tree-quality.d.ts.map +0 -1
  1157. package/dist/orchestrator/goal/goal-tree-quality.js +0 -183
  1158. package/dist/orchestrator/goal/goal-tree-quality.js.map +0 -1
  1159. package/dist/orchestrator/goal/goal-validation.d.ts +0 -20
  1160. package/dist/orchestrator/goal/goal-validation.d.ts.map +0 -1
  1161. package/dist/orchestrator/goal/goal-validation.js +0 -93
  1162. package/dist/orchestrator/goal/goal-validation.js.map +0 -1
  1163. package/dist/orchestrator/goal/milestone-evaluator.d.ts +0 -33
  1164. package/dist/orchestrator/goal/milestone-evaluator.d.ts.map +0 -1
  1165. package/dist/orchestrator/goal/milestone-evaluator.js +0 -130
  1166. package/dist/orchestrator/goal/milestone-evaluator.js.map +0 -1
  1167. package/dist/orchestrator/goal/negotiator-context.d.ts +0 -16
  1168. package/dist/orchestrator/goal/negotiator-context.d.ts.map +0 -1
  1169. package/dist/orchestrator/goal/negotiator-context.js +0 -196
  1170. package/dist/orchestrator/goal/negotiator-context.js.map +0 -1
  1171. package/dist/orchestrator/goal/negotiator-feasibility.d.ts +0 -10
  1172. package/dist/orchestrator/goal/negotiator-feasibility.d.ts.map +0 -1
  1173. package/dist/orchestrator/goal/negotiator-feasibility.js +0 -55
  1174. package/dist/orchestrator/goal/negotiator-feasibility.js.map +0 -1
  1175. package/dist/orchestrator/goal/negotiator-prompts.d.ts +0 -31
  1176. package/dist/orchestrator/goal/negotiator-prompts.d.ts.map +0 -1
  1177. package/dist/orchestrator/goal/negotiator-prompts.js +0 -65
  1178. package/dist/orchestrator/goal/negotiator-prompts.js.map +0 -1
  1179. package/dist/orchestrator/goal/negotiator-steps.d.ts +0 -54
  1180. package/dist/orchestrator/goal/negotiator-steps.d.ts.map +0 -1
  1181. package/dist/orchestrator/goal/negotiator-steps.js +0 -217
  1182. package/dist/orchestrator/goal/negotiator-steps.js.map +0 -1
  1183. package/dist/orchestrator/goal/refiner-prompts.d.ts +0 -10
  1184. package/dist/orchestrator/goal/refiner-prompts.d.ts.map +0 -1
  1185. package/dist/orchestrator/goal/refiner-prompts.js +0 -59
  1186. package/dist/orchestrator/goal/refiner-prompts.js.map +0 -1
  1187. package/dist/orchestrator/goal/state-aggregator.d.ts +0 -89
  1188. package/dist/orchestrator/goal/state-aggregator.d.ts.map +0 -1
  1189. package/dist/orchestrator/goal/state-aggregator.js +0 -331
  1190. package/dist/orchestrator/goal/state-aggregator.js.map +0 -1
  1191. package/dist/orchestrator/goal/subgoal-curriculum.d.ts +0 -30
  1192. package/dist/orchestrator/goal/subgoal-curriculum.d.ts.map +0 -1
  1193. package/dist/orchestrator/goal/subgoal-curriculum.js +0 -53
  1194. package/dist/orchestrator/goal/subgoal-curriculum.js.map +0 -1
  1195. package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts +0 -109
  1196. package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts.map +0 -1
  1197. package/dist/orchestrator/goal/tree-loop-orchestrator.js +0 -301
  1198. package/dist/orchestrator/goal/tree-loop-orchestrator.js.map +0 -1
  1199. package/dist/orchestrator/goal/types/dependency.d.ts +0 -108
  1200. package/dist/orchestrator/goal/types/dependency.d.ts.map +0 -1
  1201. package/dist/orchestrator/goal/types/dependency.js +0 -21
  1202. package/dist/orchestrator/goal/types/dependency.js.map +0 -1
  1203. package/dist/orchestrator/goal/types/goal-refiner.d.ts +0 -108
  1204. package/dist/orchestrator/goal/types/goal-refiner.d.ts.map +0 -1
  1205. package/dist/orchestrator/goal/types/goal-refiner.js +0 -39
  1206. package/dist/orchestrator/goal/types/goal-refiner.js.map +0 -1
  1207. package/dist/orchestrator/goal/types/goal-tree.d.ts +0 -180
  1208. package/dist/orchestrator/goal/types/goal-tree.d.ts.map +0 -1
  1209. package/dist/orchestrator/goal/types/goal-tree.js +0 -73
  1210. package/dist/orchestrator/goal/types/goal-tree.js.map +0 -1
  1211. package/dist/orchestrator/goal/types/goal.d.ts +0 -1342
  1212. package/dist/orchestrator/goal/types/goal.d.ts.map +0 -1
  1213. package/dist/orchestrator/goal/types/goal.js +0 -141
  1214. package/dist/orchestrator/goal/types/goal.js.map +0 -1
  1215. package/dist/orchestrator/goal/types/negotiation.d.ts +0 -450
  1216. package/dist/orchestrator/goal/types/negotiation.d.ts.map +0 -1
  1217. package/dist/orchestrator/goal/types/negotiation.js +0 -84
  1218. package/dist/orchestrator/goal/types/negotiation.js.map +0 -1
  1219. package/dist/orchestrator/goal/types/suggest.d.ts +0 -92
  1220. package/dist/orchestrator/goal/types/suggest.d.ts.map +0 -1
  1221. package/dist/orchestrator/goal/types/suggest.js +0 -15
  1222. package/dist/orchestrator/goal/types/suggest.js.map +0 -1
  1223. package/dist/orchestrator/goal-loop.d.ts +0 -33
  1224. package/dist/orchestrator/goal-loop.d.ts.map +0 -1
  1225. package/dist/orchestrator/goal-loop.js +0 -72
  1226. package/dist/orchestrator/goal-loop.js.map +0 -1
  1227. package/dist/orchestrator/knowledge/knowledge-manager.d.ts +0 -2
  1228. package/dist/orchestrator/knowledge/knowledge-manager.d.ts.map +0 -1
  1229. package/dist/orchestrator/knowledge/knowledge-manager.js +0 -2
  1230. package/dist/orchestrator/knowledge/knowledge-manager.js.map +0 -1
  1231. package/dist/orchestrator/knowledge/transfer/knowledge-transfer.d.ts +0 -2
  1232. package/dist/orchestrator/knowledge/transfer/knowledge-transfer.d.ts.map +0 -1
  1233. package/dist/orchestrator/knowledge/transfer/knowledge-transfer.js +0 -2
  1234. package/dist/orchestrator/knowledge/transfer/knowledge-transfer.js.map +0 -1
  1235. package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts +0 -28
  1236. package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +0 -1
  1237. package/dist/orchestrator/loop/checkpoint-manager-loop.js +0 -62
  1238. package/dist/orchestrator/loop/checkpoint-manager-loop.js.map +0 -1
  1239. package/dist/orchestrator/loop/core-loop/capability.d.ts +0 -22
  1240. package/dist/orchestrator/loop/core-loop/capability.d.ts.map +0 -1
  1241. package/dist/orchestrator/loop/core-loop/capability.js +0 -151
  1242. package/dist/orchestrator/loop/core-loop/capability.js.map +0 -1
  1243. package/dist/orchestrator/loop/core-loop/contracts.d.ts +0 -254
  1244. package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +0 -1
  1245. package/dist/orchestrator/loop/core-loop/contracts.js +0 -40
  1246. package/dist/orchestrator/loop/core-loop/contracts.js.map +0 -1
  1247. package/dist/orchestrator/loop/core-loop/control.d.ts +0 -27
  1248. package/dist/orchestrator/loop/core-loop/control.d.ts.map +0 -1
  1249. package/dist/orchestrator/loop/core-loop/control.js +0 -72
  1250. package/dist/orchestrator/loop/core-loop/control.js.map +0 -1
  1251. package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +0 -79
  1252. package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +0 -1
  1253. package/dist/orchestrator/loop/core-loop/decision-engine.js +0 -141
  1254. package/dist/orchestrator/loop/core-loop/decision-engine.js.map +0 -1
  1255. package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +0 -22
  1256. package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +0 -1
  1257. package/dist/orchestrator/loop/core-loop/evidence-ledger.js +0 -36
  1258. package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +0 -1
  1259. package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +0 -34
  1260. package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +0 -1
  1261. package/dist/orchestrator/loop/core-loop/iteration-kernel.js +0 -356
  1262. package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +0 -1
  1263. package/dist/orchestrator/loop/core-loop/learning.d.ts +0 -31
  1264. package/dist/orchestrator/loop/core-loop/learning.d.ts.map +0 -1
  1265. package/dist/orchestrator/loop/core-loop/learning.js +0 -92
  1266. package/dist/orchestrator/loop/core-loop/learning.js.map +0 -1
  1267. package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +0 -20
  1268. package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +0 -1
  1269. package/dist/orchestrator/loop/core-loop/phase-policy.js +0 -96
  1270. package/dist/orchestrator/loop/core-loop/phase-policy.js.map +0 -1
  1271. package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +0 -29
  1272. package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +0 -1
  1273. package/dist/orchestrator/loop/core-loop/phase-runtime.js +0 -62
  1274. package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +0 -1
  1275. package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +0 -180
  1276. package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +0 -1
  1277. package/dist/orchestrator/loop/core-loop/phase-specs.js +0 -116
  1278. package/dist/orchestrator/loop/core-loop/phase-specs.js.map +0 -1
  1279. package/dist/orchestrator/loop/core-loop/preparation.d.ts +0 -59
  1280. package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +0 -1
  1281. package/dist/orchestrator/loop/core-loop/preparation.js +0 -368
  1282. package/dist/orchestrator/loop/core-loop/preparation.js.map +0 -1
  1283. package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +0 -37
  1284. package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +0 -1
  1285. package/dist/orchestrator/loop/core-loop/task-cycle.js +0 -685
  1286. package/dist/orchestrator/loop/core-loop/task-cycle.js.map +0 -1
  1287. package/dist/orchestrator/loop/core-loop.d.ts +0 -71
  1288. package/dist/orchestrator/loop/core-loop.d.ts.map +0 -1
  1289. package/dist/orchestrator/loop/core-loop.js +0 -338
  1290. package/dist/orchestrator/loop/core-loop.js.map +0 -1
  1291. package/dist/orchestrator/loop/iteration-budget.d.ts +0 -39
  1292. package/dist/orchestrator/loop/iteration-budget.d.ts.map +0 -1
  1293. package/dist/orchestrator/loop/iteration-budget.js +0 -57
  1294. package/dist/orchestrator/loop/iteration-budget.js.map +0 -1
  1295. package/dist/orchestrator/loop/learning-evidence.d.ts +0 -12
  1296. package/dist/orchestrator/loop/learning-evidence.d.ts.map +0 -1
  1297. package/dist/orchestrator/loop/learning-evidence.js +0 -37
  1298. package/dist/orchestrator/loop/learning-evidence.js.map +0 -1
  1299. package/dist/orchestrator/loop/loop-report-helper.d.ts +0 -14
  1300. package/dist/orchestrator/loop/loop-report-helper.d.ts.map +0 -1
  1301. package/dist/orchestrator/loop/loop-report-helper.js +0 -57
  1302. package/dist/orchestrator/loop/loop-report-helper.js.map +0 -1
  1303. package/dist/orchestrator/loop/loop-result-types.d.ts +0 -90
  1304. package/dist/orchestrator/loop/loop-result-types.d.ts.map +0 -1
  1305. package/dist/orchestrator/loop/loop-result-types.js +0 -27
  1306. package/dist/orchestrator/loop/loop-result-types.js.map +0 -1
  1307. package/dist/orchestrator/loop/parallel-dispatch.d.ts +0 -16
  1308. package/dist/orchestrator/loop/parallel-dispatch.d.ts.map +0 -1
  1309. package/dist/orchestrator/loop/parallel-dispatch.js +0 -103
  1310. package/dist/orchestrator/loop/parallel-dispatch.js.map +0 -1
  1311. package/dist/orchestrator/loop/post-loop-hooks.d.ts +0 -30
  1312. package/dist/orchestrator/loop/post-loop-hooks.d.ts.map +0 -1
  1313. package/dist/orchestrator/loop/post-loop-hooks.js +0 -138
  1314. package/dist/orchestrator/loop/post-loop-hooks.js.map +0 -1
  1315. package/dist/orchestrator/loop/stall-evidence.d.ts +0 -12
  1316. package/dist/orchestrator/loop/stall-evidence.d.ts.map +0 -1
  1317. package/dist/orchestrator/loop/stall-evidence.js +0 -33
  1318. package/dist/orchestrator/loop/stall-evidence.js.map +0 -1
  1319. package/dist/orchestrator/loop/state-diff.d.ts +0 -41
  1320. package/dist/orchestrator/loop/state-diff.d.ts.map +0 -1
  1321. package/dist/orchestrator/loop/state-diff.js +0 -86
  1322. package/dist/orchestrator/loop/state-diff.js.map +0 -1
  1323. package/dist/orchestrator/loop/tree-loop-runner.d.ts +0 -28
  1324. package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +0 -1
  1325. package/dist/orchestrator/loop/tree-loop-runner.js +0 -225
  1326. package/dist/orchestrator/loop/tree-loop-runner.js.map +0 -1
  1327. package/dist/orchestrator/loop/verification-layer1.d.ts +0 -38
  1328. package/dist/orchestrator/loop/verification-layer1.d.ts.map +0 -1
  1329. package/dist/orchestrator/loop/verification-layer1.js +0 -81
  1330. package/dist/orchestrator/loop/verification-layer1.js.map +0 -1
  1331. package/dist/orchestrator/observation/capability-detector.d.ts +0 -2
  1332. package/dist/orchestrator/observation/capability-detector.d.ts.map +0 -1
  1333. package/dist/orchestrator/observation/capability-detector.js +0 -2
  1334. package/dist/orchestrator/observation/capability-detector.js.map +0 -1
  1335. package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts +0 -115
  1336. package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +0 -1
  1337. package/dist/orchestrator/strategy/cross-goal-portfolio.js +0 -397
  1338. package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +0 -1
  1339. package/dist/orchestrator/strategy/portfolio-allocation.d.ts +0 -70
  1340. package/dist/orchestrator/strategy/portfolio-allocation.d.ts.map +0 -1
  1341. package/dist/orchestrator/strategy/portfolio-allocation.js +0 -265
  1342. package/dist/orchestrator/strategy/portfolio-allocation.js.map +0 -1
  1343. package/dist/orchestrator/strategy/portfolio-manager.d.ts +0 -147
  1344. package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +0 -1
  1345. package/dist/orchestrator/strategy/portfolio-manager.js +0 -344
  1346. package/dist/orchestrator/strategy/portfolio-manager.js.map +0 -1
  1347. package/dist/orchestrator/strategy/portfolio-momentum.d.ts +0 -11
  1348. package/dist/orchestrator/strategy/portfolio-momentum.d.ts.map +0 -1
  1349. package/dist/orchestrator/strategy/portfolio-momentum.js +0 -64
  1350. package/dist/orchestrator/strategy/portfolio-momentum.js.map +0 -1
  1351. package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +0 -75
  1352. package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +0 -1
  1353. package/dist/orchestrator/strategy/portfolio-rebalance.js +0 -261
  1354. package/dist/orchestrator/strategy/portfolio-rebalance.js.map +0 -1
  1355. package/dist/orchestrator/strategy/portfolio-scheduling.d.ts +0 -25
  1356. package/dist/orchestrator/strategy/portfolio-scheduling.d.ts.map +0 -1
  1357. package/dist/orchestrator/strategy/portfolio-scheduling.js +0 -133
  1358. package/dist/orchestrator/strategy/portfolio-scheduling.js.map +0 -1
  1359. package/dist/orchestrator/strategy/strategy-helpers.d.ts +0 -119
  1360. package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +0 -1
  1361. package/dist/orchestrator/strategy/strategy-helpers.js +0 -178
  1362. package/dist/orchestrator/strategy/strategy-helpers.js.map +0 -1
  1363. package/dist/orchestrator/strategy/strategy-manager-base.d.ts +0 -133
  1364. package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +0 -1
  1365. package/dist/orchestrator/strategy/strategy-manager-base.js +0 -537
  1366. package/dist/orchestrator/strategy/strategy-manager-base.js.map +0 -1
  1367. package/dist/orchestrator/strategy/strategy-manager.d.ts +0 -81
  1368. package/dist/orchestrator/strategy/strategy-manager.d.ts.map +0 -1
  1369. package/dist/orchestrator/strategy/strategy-manager.js +0 -325
  1370. package/dist/orchestrator/strategy/strategy-manager.js.map +0 -1
  1371. package/dist/orchestrator/strategy/strategy-template-registry.d.ts +0 -84
  1372. package/dist/orchestrator/strategy/strategy-template-registry.d.ts.map +0 -1
  1373. package/dist/orchestrator/strategy/strategy-template-registry.js +0 -350
  1374. package/dist/orchestrator/strategy/strategy-template-registry.js.map +0 -1
  1375. package/dist/orchestrator/strategy/strategy-workspace.d.ts +0 -53
  1376. package/dist/orchestrator/strategy/strategy-workspace.d.ts.map +0 -1
  1377. package/dist/orchestrator/strategy/strategy-workspace.js +0 -121
  1378. package/dist/orchestrator/strategy/strategy-workspace.js.map +0 -1
  1379. package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +0 -378
  1380. package/dist/orchestrator/strategy/types/cross-portfolio.d.ts.map +0 -1
  1381. package/dist/orchestrator/strategy/types/cross-portfolio.js +0 -155
  1382. package/dist/orchestrator/strategy/types/cross-portfolio.js.map +0 -1
  1383. package/dist/orchestrator/strategy/types/portfolio.d.ts +0 -146
  1384. package/dist/orchestrator/strategy/types/portfolio.d.ts.map +0 -1
  1385. package/dist/orchestrator/strategy/types/portfolio.js +0 -55
  1386. package/dist/orchestrator/strategy/types/portfolio.js.map +0 -1
  1387. package/dist/orchestrator/strategy/types/strategy.d.ts +0 -526
  1388. package/dist/orchestrator/strategy/types/strategy.d.ts.map +0 -1
  1389. package/dist/orchestrator/strategy/types/strategy.js +0 -77
  1390. package/dist/orchestrator/strategy/types/strategy.js.map +0 -1
  1391. package/dist/orchestrator/strategy-manager.d.ts +0 -2
  1392. package/dist/orchestrator/strategy-manager.d.ts.map +0 -1
  1393. package/dist/orchestrator/strategy-manager.js +0 -2
  1394. package/dist/orchestrator/strategy-manager.js.map +0 -1
  1395. package/dist/platform/dream/dream-activation-artifacts.d.ts +0 -5
  1396. package/dist/platform/dream/dream-activation-artifacts.d.ts.map +0 -1
  1397. package/dist/platform/dream/dream-activation-artifacts.js +0 -35
  1398. package/dist/platform/dream/dream-activation-artifacts.js.map +0 -1
  1399. package/dist/platform/dream/dream-activation.d.ts +0 -59
  1400. package/dist/platform/dream/dream-activation.d.ts.map +0 -1
  1401. package/dist/platform/dream/dream-activation.js +0 -240
  1402. package/dist/platform/dream/dream-activation.js.map +0 -1
  1403. package/dist/platform/dream/dream-analyzer.d.ts +0 -53
  1404. package/dist/platform/dream/dream-analyzer.d.ts.map +0 -1
  1405. package/dist/platform/dream/dream-analyzer.js +0 -489
  1406. package/dist/platform/dream/dream-analyzer.js.map +0 -1
  1407. package/dist/platform/dream/dream-config.d.ts +0 -6
  1408. package/dist/platform/dream/dream-config.d.ts.map +0 -1
  1409. package/dist/platform/dream/dream-config.js +0 -20
  1410. package/dist/platform/dream/dream-config.js.map +0 -1
  1411. package/dist/platform/dream/dream-consolidator.d.ts +0 -85
  1412. package/dist/platform/dream/dream-consolidator.d.ts.map +0 -1
  1413. package/dist/platform/dream/dream-consolidator.js +0 -655
  1414. package/dist/platform/dream/dream-consolidator.js.map +0 -1
  1415. package/dist/platform/dream/dream-event-workflows.d.ts +0 -115
  1416. package/dist/platform/dream/dream-event-workflows.d.ts.map +0 -1
  1417. package/dist/platform/dream/dream-event-workflows.js +0 -328
  1418. package/dist/platform/dream/dream-event-workflows.js.map +0 -1
  1419. package/dist/platform/dream/dream-importance.d.ts +0 -24
  1420. package/dist/platform/dream/dream-importance.d.ts.map +0 -1
  1421. package/dist/platform/dream/dream-importance.js +0 -71
  1422. package/dist/platform/dream/dream-importance.js.map +0 -1
  1423. package/dist/platform/dream/dream-log-collector.d.ts +0 -73
  1424. package/dist/platform/dream/dream-log-collector.d.ts.map +0 -1
  1425. package/dist/platform/dream/dream-log-collector.js +0 -256
  1426. package/dist/platform/dream/dream-log-collector.js.map +0 -1
  1427. package/dist/platform/dream/dream-log-store.d.ts +0 -22
  1428. package/dist/platform/dream/dream-log-store.d.ts.map +0 -1
  1429. package/dist/platform/dream/dream-log-store.js +0 -150
  1430. package/dist/platform/dream/dream-log-store.js.map +0 -1
  1431. package/dist/platform/dream/dream-schedule-suggestions.d.ts +0 -26
  1432. package/dist/platform/dream/dream-schedule-suggestions.d.ts.map +0 -1
  1433. package/dist/platform/dream/dream-schedule-suggestions.js +0 -195
  1434. package/dist/platform/dream/dream-schedule-suggestions.js.map +0 -1
  1435. package/dist/platform/dream/dream-soil-mutation.d.ts +0 -28
  1436. package/dist/platform/dream/dream-soil-mutation.d.ts.map +0 -1
  1437. package/dist/platform/dream/dream-soil-mutation.js +0 -605
  1438. package/dist/platform/dream/dream-soil-mutation.js.map +0 -1
  1439. package/dist/platform/dream/dream-soil-sync.d.ts +0 -32
  1440. package/dist/platform/dream/dream-soil-sync.d.ts.map +0 -1
  1441. package/dist/platform/dream/dream-soil-sync.js +0 -106
  1442. package/dist/platform/dream/dream-soil-sync.js.map +0 -1
  1443. package/dist/platform/dream/dream-types.d.ts +0 -3172
  1444. package/dist/platform/dream/dream-types.d.ts.map +0 -1
  1445. package/dist/platform/dream/dream-types.js +0 -335
  1446. package/dist/platform/dream/dream-types.js.map +0 -1
  1447. package/dist/platform/dream/index.d.ts +0 -10
  1448. package/dist/platform/dream/index.d.ts.map +0 -1
  1449. package/dist/platform/dream/index.js +0 -10
  1450. package/dist/platform/dream/index.js.map +0 -1
  1451. package/dist/platform/drive/drive-scorer.d.ts +0 -96
  1452. package/dist/platform/drive/drive-scorer.d.ts.map +0 -1
  1453. package/dist/platform/drive/drive-scorer.js +0 -243
  1454. package/dist/platform/drive/drive-scorer.js.map +0 -1
  1455. package/dist/platform/drive/drive-system.d.ts +0 -107
  1456. package/dist/platform/drive/drive-system.d.ts.map +0 -1
  1457. package/dist/platform/drive/drive-system.js +0 -371
  1458. package/dist/platform/drive/drive-system.js.map +0 -1
  1459. package/dist/platform/drive/gap-calculator-tools.d.ts +0 -29
  1460. package/dist/platform/drive/gap-calculator-tools.d.ts.map +0 -1
  1461. package/dist/platform/drive/gap-calculator-tools.js +0 -84
  1462. package/dist/platform/drive/gap-calculator-tools.js.map +0 -1
  1463. package/dist/platform/drive/gap-calculator.d.ts +0 -88
  1464. package/dist/platform/drive/gap-calculator.d.ts.map +0 -1
  1465. package/dist/platform/drive/gap-calculator.js +0 -243
  1466. package/dist/platform/drive/gap-calculator.js.map +0 -1
  1467. package/dist/platform/drive/progress-predictor.d.ts +0 -24
  1468. package/dist/platform/drive/progress-predictor.d.ts.map +0 -1
  1469. package/dist/platform/drive/progress-predictor.js +0 -93
  1470. package/dist/platform/drive/progress-predictor.js.map +0 -1
  1471. package/dist/platform/drive/reward-log.d.ts +0 -51
  1472. package/dist/platform/drive/reward-log.d.ts.map +0 -1
  1473. package/dist/platform/drive/reward-log.js +0 -48
  1474. package/dist/platform/drive/reward-log.js.map +0 -1
  1475. package/dist/platform/drive/satisficing-helpers.d.ts +0 -28
  1476. package/dist/platform/drive/satisficing-helpers.d.ts.map +0 -1
  1477. package/dist/platform/drive/satisficing-helpers.js +0 -111
  1478. package/dist/platform/drive/satisficing-helpers.js.map +0 -1
  1479. package/dist/platform/drive/satisficing-judge.d.ts +0 -140
  1480. package/dist/platform/drive/satisficing-judge.d.ts.map +0 -1
  1481. package/dist/platform/drive/satisficing-judge.js +0 -441
  1482. package/dist/platform/drive/satisficing-judge.js.map +0 -1
  1483. package/dist/platform/drive/satisficing-propagation.d.ts +0 -30
  1484. package/dist/platform/drive/satisficing-propagation.d.ts.map +0 -1
  1485. package/dist/platform/drive/satisficing-propagation.js +0 -196
  1486. package/dist/platform/drive/satisficing-propagation.js.map +0 -1
  1487. package/dist/platform/drive/stall-detector.d.ts +0 -143
  1488. package/dist/platform/drive/stall-detector.d.ts.map +0 -1
  1489. package/dist/platform/drive/stall-detector.js +0 -567
  1490. package/dist/platform/drive/stall-detector.js.map +0 -1
  1491. package/dist/platform/drive/types/drive.d.ts +0 -215
  1492. package/dist/platform/drive/types/drive.d.ts.map +0 -1
  1493. package/dist/platform/drive/types/drive.js +0 -82
  1494. package/dist/platform/drive/types/drive.js.map +0 -1
  1495. package/dist/platform/drive/types/gap.d.ts +0 -147
  1496. package/dist/platform/drive/types/gap.d.ts.map +0 -1
  1497. package/dist/platform/drive/types/gap.js +0 -41
  1498. package/dist/platform/drive/types/gap.js.map +0 -1
  1499. package/dist/platform/drive/types/satisficing.d.ts +0 -130
  1500. package/dist/platform/drive/types/satisficing.d.ts.map +0 -1
  1501. package/dist/platform/drive/types/satisficing.js +0 -54
  1502. package/dist/platform/drive/types/satisficing.js.map +0 -1
  1503. package/dist/platform/drive/types/stall.d.ts +0 -68
  1504. package/dist/platform/drive/types/stall.d.ts.map +0 -1
  1505. package/dist/platform/drive/types/stall.js +0 -28
  1506. package/dist/platform/drive/types/stall.js.map +0 -1
  1507. package/dist/platform/ethics-gate.d.ts +0 -2
  1508. package/dist/platform/ethics-gate.d.ts.map +0 -1
  1509. package/dist/platform/ethics-gate.js +0 -2
  1510. package/dist/platform/ethics-gate.js.map +0 -1
  1511. package/dist/platform/execution/task/task-lifecycle.d.ts +0 -2
  1512. package/dist/platform/execution/task/task-lifecycle.d.ts.map +0 -1
  1513. package/dist/platform/execution/task/task-lifecycle.js +0 -2
  1514. package/dist/platform/execution/task/task-lifecycle.js.map +0 -1
  1515. package/dist/platform/knowledge/drive-score-adapter.d.ts +0 -39
  1516. package/dist/platform/knowledge/drive-score-adapter.d.ts.map +0 -1
  1517. package/dist/platform/knowledge/drive-score-adapter.js +0 -32
  1518. package/dist/platform/knowledge/drive-score-adapter.js.map +0 -1
  1519. package/dist/platform/knowledge/embedding-client.d.ts +0 -49
  1520. package/dist/platform/knowledge/embedding-client.d.ts.map +0 -1
  1521. package/dist/platform/knowledge/embedding-client.js +0 -141
  1522. package/dist/platform/knowledge/embedding-client.js.map +0 -1
  1523. package/dist/platform/knowledge/knowledge-decisions.d.ts +0 -41
  1524. package/dist/platform/knowledge/knowledge-decisions.d.ts.map +0 -1
  1525. package/dist/platform/knowledge/knowledge-decisions.js +0 -223
  1526. package/dist/platform/knowledge/knowledge-decisions.js.map +0 -1
  1527. package/dist/platform/knowledge/knowledge-graph.d.ts +0 -74
  1528. package/dist/platform/knowledge/knowledge-graph.d.ts.map +0 -1
  1529. package/dist/platform/knowledge/knowledge-graph.js +0 -207
  1530. package/dist/platform/knowledge/knowledge-graph.js.map +0 -1
  1531. package/dist/platform/knowledge/knowledge-manager-lint.d.ts +0 -10
  1532. package/dist/platform/knowledge/knowledge-manager-lint.d.ts.map +0 -1
  1533. package/dist/platform/knowledge/knowledge-manager-lint.js +0 -137
  1534. package/dist/platform/knowledge/knowledge-manager-lint.js.map +0 -1
  1535. package/dist/platform/knowledge/knowledge-manager-query.d.ts +0 -87
  1536. package/dist/platform/knowledge/knowledge-manager-query.d.ts.map +0 -1
  1537. package/dist/platform/knowledge/knowledge-manager-query.js +0 -287
  1538. package/dist/platform/knowledge/knowledge-manager-query.js.map +0 -1
  1539. package/dist/platform/knowledge/knowledge-manager.d.ts +0 -215
  1540. package/dist/platform/knowledge/knowledge-manager.d.ts.map +0 -1
  1541. package/dist/platform/knowledge/knowledge-manager.js +0 -642
  1542. package/dist/platform/knowledge/knowledge-manager.js.map +0 -1
  1543. package/dist/platform/knowledge/knowledge-revalidation.d.ts +0 -27
  1544. package/dist/platform/knowledge/knowledge-revalidation.d.ts.map +0 -1
  1545. package/dist/platform/knowledge/knowledge-revalidation.js +0 -130
  1546. package/dist/platform/knowledge/knowledge-revalidation.js.map +0 -1
  1547. package/dist/platform/knowledge/knowledge-search.d.ts +0 -42
  1548. package/dist/platform/knowledge/knowledge-search.d.ts.map +0 -1
  1549. package/dist/platform/knowledge/knowledge-search.js +0 -108
  1550. package/dist/platform/knowledge/knowledge-search.js.map +0 -1
  1551. package/dist/platform/knowledge/learning/learning-cross-goal.d.ts +0 -19
  1552. package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +0 -1
  1553. package/dist/platform/knowledge/learning/learning-cross-goal.js +0 -177
  1554. package/dist/platform/knowledge/learning/learning-cross-goal.js.map +0 -1
  1555. package/dist/platform/knowledge/learning/learning-exports.d.ts +0 -4
  1556. package/dist/platform/knowledge/learning/learning-exports.d.ts.map +0 -1
  1557. package/dist/platform/knowledge/learning/learning-exports.js +0 -3
  1558. package/dist/platform/knowledge/learning/learning-exports.js.map +0 -1
  1559. package/dist/platform/knowledge/learning/learning-feedback.d.ts +0 -26
  1560. package/dist/platform/knowledge/learning/learning-feedback.d.ts.map +0 -1
  1561. package/dist/platform/knowledge/learning/learning-feedback.js +0 -183
  1562. package/dist/platform/knowledge/learning/learning-feedback.js.map +0 -1
  1563. package/dist/platform/knowledge/learning/learning-pipeline-prompts.d.ts +0 -134
  1564. package/dist/platform/knowledge/learning/learning-pipeline-prompts.d.ts.map +0 -1
  1565. package/dist/platform/knowledge/learning/learning-pipeline-prompts.js +0 -103
  1566. package/dist/platform/knowledge/learning/learning-pipeline-prompts.js.map +0 -1
  1567. package/dist/platform/knowledge/learning/learning-pipeline.d.ts +0 -105
  1568. package/dist/platform/knowledge/learning/learning-pipeline.d.ts.map +0 -1
  1569. package/dist/platform/knowledge/learning/learning-pipeline.js +0 -465
  1570. package/dist/platform/knowledge/learning/learning-pipeline.js.map +0 -1
  1571. package/dist/platform/knowledge/memory/memory-compression.d.ts +0 -44
  1572. package/dist/platform/knowledge/memory/memory-compression.d.ts.map +0 -1
  1573. package/dist/platform/knowledge/memory/memory-compression.js +0 -291
  1574. package/dist/platform/knowledge/memory/memory-compression.js.map +0 -1
  1575. package/dist/platform/knowledge/memory/memory-distill.d.ts +0 -31
  1576. package/dist/platform/knowledge/memory/memory-distill.d.ts.map +0 -1
  1577. package/dist/platform/knowledge/memory/memory-distill.js +0 -170
  1578. package/dist/platform/knowledge/memory/memory-distill.js.map +0 -1
  1579. package/dist/platform/knowledge/memory/memory-exports.d.ts +0 -7
  1580. package/dist/platform/knowledge/memory/memory-exports.d.ts.map +0 -1
  1581. package/dist/platform/knowledge/memory/memory-exports.js +0 -6
  1582. package/dist/platform/knowledge/memory/memory-exports.js.map +0 -1
  1583. package/dist/platform/knowledge/memory/memory-index.d.ts +0 -11
  1584. package/dist/platform/knowledge/memory/memory-index.d.ts.map +0 -1
  1585. package/dist/platform/knowledge/memory/memory-index.js +0 -134
  1586. package/dist/platform/knowledge/memory/memory-index.js.map +0 -1
  1587. package/dist/platform/knowledge/memory/memory-lifecycle.d.ts +0 -169
  1588. package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +0 -1
  1589. package/dist/platform/knowledge/memory/memory-lifecycle.js +0 -402
  1590. package/dist/platform/knowledge/memory/memory-lifecycle.js.map +0 -1
  1591. package/dist/platform/knowledge/memory/memory-persistence.d.ts +0 -30
  1592. package/dist/platform/knowledge/memory/memory-persistence.d.ts.map +0 -1
  1593. package/dist/platform/knowledge/memory/memory-persistence.js +0 -135
  1594. package/dist/platform/knowledge/memory/memory-persistence.js.map +0 -1
  1595. package/dist/platform/knowledge/memory/memory-query.d.ts +0 -4
  1596. package/dist/platform/knowledge/memory/memory-query.d.ts.map +0 -1
  1597. package/dist/platform/knowledge/memory/memory-query.js +0 -64
  1598. package/dist/platform/knowledge/memory/memory-query.js.map +0 -1
  1599. package/dist/platform/knowledge/memory/memory-selection.d.ts +0 -73
  1600. package/dist/platform/knowledge/memory/memory-selection.d.ts.map +0 -1
  1601. package/dist/platform/knowledge/memory/memory-selection.js +0 -328
  1602. package/dist/platform/knowledge/memory/memory-selection.js.map +0 -1
  1603. package/dist/platform/knowledge/memory/memory-stats.d.ts +0 -7
  1604. package/dist/platform/knowledge/memory/memory-stats.d.ts.map +0 -1
  1605. package/dist/platform/knowledge/memory/memory-stats.js +0 -162
  1606. package/dist/platform/knowledge/memory/memory-stats.js.map +0 -1
  1607. package/dist/platform/knowledge/memory/memory-tier.d.ts +0 -65
  1608. package/dist/platform/knowledge/memory/memory-tier.d.ts.map +0 -1
  1609. package/dist/platform/knowledge/memory/memory-tier.js +0 -243
  1610. package/dist/platform/knowledge/memory/memory-tier.js.map +0 -1
  1611. package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts +0 -48
  1612. package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts.map +0 -1
  1613. package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js +0 -227
  1614. package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js.map +0 -1
  1615. package/dist/platform/knowledge/transfer/knowledge-transfer-detect.d.ts +0 -28
  1616. package/dist/platform/knowledge/transfer/knowledge-transfer-detect.d.ts.map +0 -1
  1617. package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js +0 -160
  1618. package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js.map +0 -1
  1619. package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.d.ts +0 -22
  1620. package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.d.ts.map +0 -1
  1621. package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.js +0 -109
  1622. package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.js.map +0 -1
  1623. package/dist/platform/knowledge/transfer/knowledge-transfer-meta.d.ts +0 -38
  1624. package/dist/platform/knowledge/transfer/knowledge-transfer-meta.d.ts.map +0 -1
  1625. package/dist/platform/knowledge/transfer/knowledge-transfer-meta.js +0 -180
  1626. package/dist/platform/knowledge/transfer/knowledge-transfer-meta.js.map +0 -1
  1627. package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.d.ts +0 -46
  1628. package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.d.ts.map +0 -1
  1629. package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.js +0 -75
  1630. package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.js.map +0 -1
  1631. package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts +0 -20
  1632. package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts.map +0 -1
  1633. package/dist/platform/knowledge/transfer/knowledge-transfer-types.js +0 -25
  1634. package/dist/platform/knowledge/transfer/knowledge-transfer-types.js.map +0 -1
  1635. package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +0 -100
  1636. package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +0 -1
  1637. package/dist/platform/knowledge/transfer/knowledge-transfer.js +0 -269
  1638. package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +0 -1
  1639. package/dist/platform/knowledge/transfer/transfer-trust.d.ts +0 -40
  1640. package/dist/platform/knowledge/transfer/transfer-trust.d.ts.map +0 -1
  1641. package/dist/platform/knowledge/transfer/transfer-trust.js +0 -137
  1642. package/dist/platform/knowledge/transfer/transfer-trust.js.map +0 -1
  1643. package/dist/platform/knowledge/types/agent-memory.d.ts +0 -218
  1644. package/dist/platform/knowledge/types/agent-memory.d.ts.map +0 -1
  1645. package/dist/platform/knowledge/types/agent-memory.js +0 -47
  1646. package/dist/platform/knowledge/types/agent-memory.js.map +0 -1
  1647. package/dist/platform/knowledge/types/embedding.d.ts +0 -59
  1648. package/dist/platform/knowledge/types/embedding.d.ts.map +0 -1
  1649. package/dist/platform/knowledge/types/embedding.js +0 -22
  1650. package/dist/platform/knowledge/types/embedding.js.map +0 -1
  1651. package/dist/platform/knowledge/types/knowledge.d.ts +0 -402
  1652. package/dist/platform/knowledge/types/knowledge.d.ts.map +0 -1
  1653. package/dist/platform/knowledge/types/knowledge.js +0 -116
  1654. package/dist/platform/knowledge/types/knowledge.js.map +0 -1
  1655. package/dist/platform/knowledge/types/learning.d.ts +0 -292
  1656. package/dist/platform/knowledge/types/learning.d.ts.map +0 -1
  1657. package/dist/platform/knowledge/types/learning.js +0 -117
  1658. package/dist/platform/knowledge/types/learning.js.map +0 -1
  1659. package/dist/platform/knowledge/types/memory-lifecycle.d.ts +0 -615
  1660. package/dist/platform/knowledge/types/memory-lifecycle.d.ts.map +0 -1
  1661. package/dist/platform/knowledge/types/memory-lifecycle.js +0 -159
  1662. package/dist/platform/knowledge/types/memory-lifecycle.js.map +0 -1
  1663. package/dist/platform/knowledge/vector-index.d.ts +0 -65
  1664. package/dist/platform/knowledge/vector-index.d.ts.map +0 -1
  1665. package/dist/platform/knowledge/vector-index.js +0 -158
  1666. package/dist/platform/knowledge/vector-index.js.map +0 -1
  1667. package/dist/platform/observation/capability-dependencies.d.ts +0 -45
  1668. package/dist/platform/observation/capability-dependencies.d.ts.map +0 -1
  1669. package/dist/platform/observation/capability-dependencies.js +0 -208
  1670. package/dist/platform/observation/capability-dependencies.js.map +0 -1
  1671. package/dist/platform/observation/capability-detector.d.ts +0 -80
  1672. package/dist/platform/observation/capability-detector.d.ts.map +0 -1
  1673. package/dist/platform/observation/capability-detector.js +0 -440
  1674. package/dist/platform/observation/capability-detector.js.map +0 -1
  1675. package/dist/platform/observation/capability-registry.d.ts +0 -48
  1676. package/dist/platform/observation/capability-registry.d.ts.map +0 -1
  1677. package/dist/platform/observation/capability-registry.js +0 -135
  1678. package/dist/platform/observation/capability-registry.js.map +0 -1
  1679. package/dist/platform/observation/context-provider.d.ts +0 -63
  1680. package/dist/platform/observation/context-provider.d.ts.map +0 -1
  1681. package/dist/platform/observation/context-provider.js +0 -400
  1682. package/dist/platform/observation/context-provider.js.map +0 -1
  1683. package/dist/platform/observation/data-source-adapter.d.ts +0 -62
  1684. package/dist/platform/observation/data-source-adapter.d.ts.map +0 -1
  1685. package/dist/platform/observation/data-source-adapter.js +0 -396
  1686. package/dist/platform/observation/data-source-adapter.js.map +0 -1
  1687. package/dist/platform/observation/dimension-pre-checker.d.ts +0 -26
  1688. package/dist/platform/observation/dimension-pre-checker.d.ts.map +0 -1
  1689. package/dist/platform/observation/dimension-pre-checker.js +0 -130
  1690. package/dist/platform/observation/dimension-pre-checker.js.map +0 -1
  1691. package/dist/platform/observation/engine/observe-context.d.ts +0 -4
  1692. package/dist/platform/observation/engine/observe-context.d.ts.map +0 -1
  1693. package/dist/platform/observation/engine/observe-context.js +0 -26
  1694. package/dist/platform/observation/engine/observe-context.js.map +0 -1
  1695. package/dist/platform/observation/engine/observe-datasource-stage.d.ts +0 -33
  1696. package/dist/platform/observation/engine/observe-datasource-stage.d.ts.map +0 -1
  1697. package/dist/platform/observation/engine/observe-datasource-stage.js +0 -66
  1698. package/dist/platform/observation/engine/observe-datasource-stage.js.map +0 -1
  1699. package/dist/platform/observation/engine/observe-llm-stage.d.ts +0 -25
  1700. package/dist/platform/observation/engine/observe-llm-stage.d.ts.map +0 -1
  1701. package/dist/platform/observation/engine/observe-llm-stage.js +0 -79
  1702. package/dist/platform/observation/engine/observe-llm-stage.js.map +0 -1
  1703. package/dist/platform/observation/engine/observe-precheck.d.ts +0 -21
  1704. package/dist/platform/observation/engine/observe-precheck.d.ts.map +0 -1
  1705. package/dist/platform/observation/engine/observe-precheck.js +0 -51
  1706. package/dist/platform/observation/engine/observe-precheck.js.map +0 -1
  1707. package/dist/platform/observation/engine/observe-self-report.d.ts +0 -18
  1708. package/dist/platform/observation/engine/observe-self-report.d.ts.map +0 -1
  1709. package/dist/platform/observation/engine/observe-self-report.js +0 -26
  1710. package/dist/platform/observation/engine/observe-self-report.js.map +0 -1
  1711. package/dist/platform/observation/engine/observe-tool-stage.d.ts +0 -21
  1712. package/dist/platform/observation/engine/observe-tool-stage.d.ts.map +0 -1
  1713. package/dist/platform/observation/engine/observe-tool-stage.js +0 -49
  1714. package/dist/platform/observation/engine/observe-tool-stage.js.map +0 -1
  1715. package/dist/platform/observation/observation-apply.d.ts +0 -18
  1716. package/dist/platform/observation/observation-apply.d.ts.map +0 -1
  1717. package/dist/platform/observation/observation-apply.js +0 -178
  1718. package/dist/platform/observation/observation-apply.js.map +0 -1
  1719. package/dist/platform/observation/observation-datasource.d.ts +0 -21
  1720. package/dist/platform/observation/observation-datasource.d.ts.map +0 -1
  1721. package/dist/platform/observation/observation-datasource.js +0 -103
  1722. package/dist/platform/observation/observation-datasource.js.map +0 -1
  1723. package/dist/platform/observation/observation-engine.d.ts +0 -171
  1724. package/dist/platform/observation/observation-engine.d.ts.map +0 -1
  1725. package/dist/platform/observation/observation-engine.js +0 -360
  1726. package/dist/platform/observation/observation-engine.js.map +0 -1
  1727. package/dist/platform/observation/observation-helpers.d.ts +0 -122
  1728. package/dist/platform/observation/observation-helpers.d.ts.map +0 -1
  1729. package/dist/platform/observation/observation-helpers.js +0 -175
  1730. package/dist/platform/observation/observation-helpers.js.map +0 -1
  1731. package/dist/platform/observation/observation-llm.d.ts +0 -64
  1732. package/dist/platform/observation/observation-llm.d.ts.map +0 -1
  1733. package/dist/platform/observation/observation-llm.js +0 -430
  1734. package/dist/platform/observation/observation-llm.js.map +0 -1
  1735. package/dist/platform/observation/observation-task.d.ts +0 -29
  1736. package/dist/platform/observation/observation-task.d.ts.map +0 -1
  1737. package/dist/platform/observation/observation-task.js +0 -51
  1738. package/dist/platform/observation/observation-task.js.map +0 -1
  1739. package/dist/platform/observation/observation-tools.d.ts +0 -22
  1740. package/dist/platform/observation/observation-tools.d.ts.map +0 -1
  1741. package/dist/platform/observation/observation-tools.js +0 -86
  1742. package/dist/platform/observation/observation-tools.js.map +0 -1
  1743. package/dist/platform/observation/types/capability.d.ts +0 -292
  1744. package/dist/platform/observation/types/capability.d.ts.map +0 -1
  1745. package/dist/platform/observation/types/capability.js +0 -53
  1746. package/dist/platform/observation/types/capability.js.map +0 -1
  1747. package/dist/platform/observation/types/data-source.d.ts +0 -323
  1748. package/dist/platform/observation/types/data-source.d.ts.map +0 -1
  1749. package/dist/platform/observation/types/data-source.js +0 -54
  1750. package/dist/platform/observation/types/data-source.js.map +0 -1
  1751. package/dist/platform/observation/workspace-context.d.ts +0 -9
  1752. package/dist/platform/observation/workspace-context.d.ts.map +0 -1
  1753. package/dist/platform/observation/workspace-context.js +0 -327
  1754. package/dist/platform/observation/workspace-context.js.map +0 -1
  1755. package/dist/platform/runtime/plugin-loader.d.ts +0 -2
  1756. package/dist/platform/runtime/plugin-loader.d.ts.map +0 -1
  1757. package/dist/platform/runtime/plugin-loader.js +0 -2
  1758. package/dist/platform/runtime/plugin-loader.js.map +0 -1
  1759. package/dist/platform/soil/checksum.d.ts +0 -2
  1760. package/dist/platform/soil/checksum.d.ts.map +0 -1
  1761. package/dist/platform/soil/checksum.js +0 -17
  1762. package/dist/platform/soil/checksum.js.map +0 -1
  1763. package/dist/platform/soil/compiled-memory-projections.d.ts +0 -12
  1764. package/dist/platform/soil/compiled-memory-projections.d.ts.map +0 -1
  1765. package/dist/platform/soil/compiled-memory-projections.js +0 -238
  1766. package/dist/platform/soil/compiled-memory-projections.js.map +0 -1
  1767. package/dist/platform/soil/compiler.d.ts +0 -27
  1768. package/dist/platform/soil/compiler.d.ts.map +0 -1
  1769. package/dist/platform/soil/compiler.js +0 -78
  1770. package/dist/platform/soil/compiler.js.map +0 -1
  1771. package/dist/platform/soil/config.d.ts +0 -16
  1772. package/dist/platform/soil/config.d.ts.map +0 -1
  1773. package/dist/platform/soil/config.js +0 -29
  1774. package/dist/platform/soil/config.js.map +0 -1
  1775. package/dist/platform/soil/content-projections.d.ts +0 -20
  1776. package/dist/platform/soil/content-projections.d.ts.map +0 -1
  1777. package/dist/platform/soil/content-projections.js +0 -451
  1778. package/dist/platform/soil/content-projections.js.map +0 -1
  1779. package/dist/platform/soil/context-compiler.d.ts +0 -34
  1780. package/dist/platform/soil/context-compiler.d.ts.map +0 -1
  1781. package/dist/platform/soil/context-compiler.js +0 -298
  1782. package/dist/platform/soil/context-compiler.js.map +0 -1
  1783. package/dist/platform/soil/context-evaluation.d.ts +0 -63
  1784. package/dist/platform/soil/context-evaluation.d.ts.map +0 -1
  1785. package/dist/platform/soil/context-evaluation.js +0 -90
  1786. package/dist/platform/soil/context-evaluation.js.map +0 -1
  1787. package/dist/platform/soil/contracts.d.ts +0 -1366
  1788. package/dist/platform/soil/contracts.d.ts.map +0 -1
  1789. package/dist/platform/soil/contracts.js +0 -281
  1790. package/dist/platform/soil/contracts.js.map +0 -1
  1791. package/dist/platform/soil/ddl.d.ts +0 -8
  1792. package/dist/platform/soil/ddl.d.ts.map +0 -1
  1793. package/dist/platform/soil/ddl.js +0 -150
  1794. package/dist/platform/soil/ddl.js.map +0 -1
  1795. package/dist/platform/soil/display/index.d.ts +0 -4
  1796. package/dist/platform/soil/display/index.d.ts.map +0 -1
  1797. package/dist/platform/soil/display/index.js +0 -4
  1798. package/dist/platform/soil/display/index.js.map +0 -1
  1799. package/dist/platform/soil/display/materialize.d.ts +0 -3
  1800. package/dist/platform/soil/display/materialize.d.ts.map +0 -1
  1801. package/dist/platform/soil/display/materialize.js +0 -381
  1802. package/dist/platform/soil/display/materialize.js.map +0 -1
  1803. package/dist/platform/soil/display/registry.d.ts +0 -4
  1804. package/dist/platform/soil/display/registry.d.ts.map +0 -1
  1805. package/dist/platform/soil/display/registry.js +0 -19
  1806. package/dist/platform/soil/display/registry.js.map +0 -1
  1807. package/dist/platform/soil/display/types.d.ts +0 -28
  1808. package/dist/platform/soil/display/types.d.ts.map +0 -1
  1809. package/dist/platform/soil/display/types.js +0 -2
  1810. package/dist/platform/soil/display/types.js.map +0 -1
  1811. package/dist/platform/soil/doctor.d.ts +0 -38
  1812. package/dist/platform/soil/doctor.d.ts.map +0 -1
  1813. package/dist/platform/soil/doctor.js +0 -473
  1814. package/dist/platform/soil/doctor.js.map +0 -1
  1815. package/dist/platform/soil/feedback-store.d.ts +0 -10
  1816. package/dist/platform/soil/feedback-store.d.ts.map +0 -1
  1817. package/dist/platform/soil/feedback-store.js +0 -38
  1818. package/dist/platform/soil/feedback-store.js.map +0 -1
  1819. package/dist/platform/soil/frontmatter.d.ts +0 -15
  1820. package/dist/platform/soil/frontmatter.d.ts.map +0 -1
  1821. package/dist/platform/soil/frontmatter.js +0 -82
  1822. package/dist/platform/soil/frontmatter.js.map +0 -1
  1823. package/dist/platform/soil/health.d.ts +0 -35
  1824. package/dist/platform/soil/health.d.ts.map +0 -1
  1825. package/dist/platform/soil/health.js +0 -126
  1826. package/dist/platform/soil/health.js.map +0 -1
  1827. package/dist/platform/soil/importer.d.ts +0 -118
  1828. package/dist/platform/soil/importer.d.ts.map +0 -1
  1829. package/dist/platform/soil/importer.js +0 -145
  1830. package/dist/platform/soil/importer.js.map +0 -1
  1831. package/dist/platform/soil/index-store.d.ts +0 -89
  1832. package/dist/platform/soil/index-store.d.ts.map +0 -1
  1833. package/dist/platform/soil/index-store.js +0 -408
  1834. package/dist/platform/soil/index-store.js.map +0 -1
  1835. package/dist/platform/soil/index.d.ts +0 -25
  1836. package/dist/platform/soil/index.d.ts.map +0 -1
  1837. package/dist/platform/soil/index.js +0 -25
  1838. package/dist/platform/soil/index.js.map +0 -1
  1839. package/dist/platform/soil/io.d.ts +0 -18
  1840. package/dist/platform/soil/io.d.ts.map +0 -1
  1841. package/dist/platform/soil/io.js +0 -56
  1842. package/dist/platform/soil/io.js.map +0 -1
  1843. package/dist/platform/soil/open.d.ts +0 -32
  1844. package/dist/platform/soil/open.d.ts.map +0 -1
  1845. package/dist/platform/soil/open.js +0 -80
  1846. package/dist/platform/soil/open.js.map +0 -1
  1847. package/dist/platform/soil/paths.d.ts +0 -9
  1848. package/dist/platform/soil/paths.d.ts.map +0 -1
  1849. package/dist/platform/soil/paths.js +0 -78
  1850. package/dist/platform/soil/paths.js.map +0 -1
  1851. package/dist/platform/soil/projection-support.d.ts +0 -48
  1852. package/dist/platform/soil/projection-support.d.ts.map +0 -1
  1853. package/dist/platform/soil/projection-support.js +0 -107
  1854. package/dist/platform/soil/projection-support.js.map +0 -1
  1855. package/dist/platform/soil/projections.d.ts +0 -16
  1856. package/dist/platform/soil/projections.d.ts.map +0 -1
  1857. package/dist/platform/soil/projections.js +0 -265
  1858. package/dist/platform/soil/projections.js.map +0 -1
  1859. package/dist/platform/soil/publish/apple-notes.d.ts +0 -15
  1860. package/dist/platform/soil/publish/apple-notes.d.ts.map +0 -1
  1861. package/dist/platform/soil/publish/apple-notes.js +0 -58
  1862. package/dist/platform/soil/publish/apple-notes.js.map +0 -1
  1863. package/dist/platform/soil/publish/config.d.ts +0 -14
  1864. package/dist/platform/soil/publish/config.d.ts.map +0 -1
  1865. package/dist/platform/soil/publish/config.js +0 -59
  1866. package/dist/platform/soil/publish/config.js.map +0 -1
  1867. package/dist/platform/soil/publish/index.d.ts +0 -7
  1868. package/dist/platform/soil/publish/index.d.ts.map +0 -1
  1869. package/dist/platform/soil/publish/index.js +0 -7
  1870. package/dist/platform/soil/publish/index.js.map +0 -1
  1871. package/dist/platform/soil/publish/notion.d.ts +0 -51
  1872. package/dist/platform/soil/publish/notion.d.ts.map +0 -1
  1873. package/dist/platform/soil/publish/notion.js +0 -201
  1874. package/dist/platform/soil/publish/notion.js.map +0 -1
  1875. package/dist/platform/soil/publish/publisher.d.ts +0 -13
  1876. package/dist/platform/soil/publish/publisher.d.ts.map +0 -1
  1877. package/dist/platform/soil/publish/publisher.js +0 -57
  1878. package/dist/platform/soil/publish/publisher.js.map +0 -1
  1879. package/dist/platform/soil/publish/snapshot.d.ts +0 -4
  1880. package/dist/platform/soil/publish/snapshot.d.ts.map +0 -1
  1881. package/dist/platform/soil/publish/snapshot.js +0 -40
  1882. package/dist/platform/soil/publish/snapshot.js.map +0 -1
  1883. package/dist/platform/soil/publish/types.d.ts +0 -169
  1884. package/dist/platform/soil/publish/types.d.ts.map +0 -1
  1885. package/dist/platform/soil/publish/types.js +0 -32
  1886. package/dist/platform/soil/publish/types.js.map +0 -1
  1887. package/dist/platform/soil/retriever.d.ts +0 -52
  1888. package/dist/platform/soil/retriever.d.ts.map +0 -1
  1889. package/dist/platform/soil/retriever.js +0 -262
  1890. package/dist/platform/soil/retriever.js.map +0 -1
  1891. package/dist/platform/soil/runtime-rebuild.d.ts +0 -33
  1892. package/dist/platform/soil/runtime-rebuild.d.ts.map +0 -1
  1893. package/dist/platform/soil/runtime-rebuild.js +0 -200
  1894. package/dist/platform/soil/runtime-rebuild.js.map +0 -1
  1895. package/dist/platform/soil/sqlite-repository.d.ts +0 -25
  1896. package/dist/platform/soil/sqlite-repository.d.ts.map +0 -1
  1897. package/dist/platform/soil/sqlite-repository.js +0 -929
  1898. package/dist/platform/soil/sqlite-repository.js.map +0 -1
  1899. package/dist/platform/soil/types.d.ts +0 -506
  1900. package/dist/platform/soil/types.d.ts.map +0 -1
  1901. package/dist/platform/soil/types.js +0 -146
  1902. package/dist/platform/soil/types.js.map +0 -1
  1903. package/dist/platform/time/effect-latency-estimator.d.ts +0 -15
  1904. package/dist/platform/time/effect-latency-estimator.d.ts.map +0 -1
  1905. package/dist/platform/time/effect-latency-estimator.js +0 -39
  1906. package/dist/platform/time/effect-latency-estimator.js.map +0 -1
  1907. package/dist/platform/time/time-horizon-engine.d.ts +0 -18
  1908. package/dist/platform/time/time-horizon-engine.d.ts.map +0 -1
  1909. package/dist/platform/time/time-horizon-engine.js +0 -215
  1910. package/dist/platform/time/time-horizon-engine.js.map +0 -1
  1911. package/dist/platform/tools/executor.d.ts +0 -2
  1912. package/dist/platform/tools/executor.d.ts.map +0 -1
  1913. package/dist/platform/tools/executor.js +0 -2
  1914. package/dist/platform/tools/executor.js.map +0 -1
  1915. package/dist/platform/traits/character-config.d.ts +0 -34
  1916. package/dist/platform/traits/character-config.d.ts.map +0 -1
  1917. package/dist/platform/traits/character-config.js +0 -53
  1918. package/dist/platform/traits/character-config.js.map +0 -1
  1919. package/dist/platform/traits/curiosity-engine.d.ts +0 -177
  1920. package/dist/platform/traits/curiosity-engine.d.ts.map +0 -1
  1921. package/dist/platform/traits/curiosity-engine.js +0 -523
  1922. package/dist/platform/traits/curiosity-engine.js.map +0 -1
  1923. package/dist/platform/traits/curiosity-proposals.d.ts +0 -38
  1924. package/dist/platform/traits/curiosity-proposals.d.ts.map +0 -1
  1925. package/dist/platform/traits/curiosity-proposals.js +0 -259
  1926. package/dist/platform/traits/curiosity-proposals.js.map +0 -1
  1927. package/dist/platform/traits/curiosity-transfer.d.ts +0 -27
  1928. package/dist/platform/traits/curiosity-transfer.d.ts.map +0 -1
  1929. package/dist/platform/traits/curiosity-transfer.js +0 -50
  1930. package/dist/platform/traits/curiosity-transfer.js.map +0 -1
  1931. package/dist/platform/traits/ethics-gate.d.ts +0 -77
  1932. package/dist/platform/traits/ethics-gate.d.ts.map +0 -1
  1933. package/dist/platform/traits/ethics-gate.js +0 -245
  1934. package/dist/platform/traits/ethics-gate.js.map +0 -1
  1935. package/dist/platform/traits/ethics-rules.d.ts +0 -10
  1936. package/dist/platform/traits/ethics-rules.d.ts.map +0 -1
  1937. package/dist/platform/traits/ethics-rules.js +0 -332
  1938. package/dist/platform/traits/ethics-rules.js.map +0 -1
  1939. package/dist/platform/traits/guardrail-runner.d.ts +0 -29
  1940. package/dist/platform/traits/guardrail-runner.d.ts.map +0 -1
  1941. package/dist/platform/traits/guardrail-runner.js +0 -81
  1942. package/dist/platform/traits/guardrail-runner.js.map +0 -1
  1943. package/dist/platform/traits/trust-manager.d.ts +0 -90
  1944. package/dist/platform/traits/trust-manager.d.ts.map +0 -1
  1945. package/dist/platform/traits/trust-manager.js +0 -276
  1946. package/dist/platform/traits/trust-manager.js.map +0 -1
  1947. package/dist/platform/traits/types/character.d.ts +0 -20
  1948. package/dist/platform/traits/types/character.d.ts.map +0 -1
  1949. package/dist/platform/traits/types/character.js +0 -10
  1950. package/dist/platform/traits/types/character.js.map +0 -1
  1951. package/dist/platform/traits/types/curiosity.d.ts +0 -443
  1952. package/dist/platform/traits/types/curiosity.d.ts.map +0 -1
  1953. package/dist/platform/traits/types/curiosity.js +0 -86
  1954. package/dist/platform/traits/types/curiosity.js.map +0 -1
  1955. package/dist/platform/traits/types/ethics.d.ts +0 -169
  1956. package/dist/platform/traits/types/ethics.d.ts.map +0 -1
  1957. package/dist/platform/traits/types/ethics.js +0 -47
  1958. package/dist/platform/traits/types/ethics.js.map +0 -1
  1959. package/dist/platform/traits/types/guardrail.d.ts +0 -104
  1960. package/dist/platform/traits/types/guardrail.d.ts.map +0 -1
  1961. package/dist/platform/traits/types/guardrail.js +0 -34
  1962. package/dist/platform/traits/types/guardrail.js.map +0 -1
  1963. package/dist/platform/traits/types/trust.d.ts +0 -126
  1964. package/dist/platform/traits/types/trust.d.ts.map +0 -1
  1965. package/dist/platform/traits/types/trust.js +0 -38
  1966. package/dist/platform/traits/types/trust.js.map +0 -1
  1967. package/dist/prompt/context-assembler.d.ts +0 -118
  1968. package/dist/prompt/context-assembler.d.ts.map +0 -1
  1969. package/dist/prompt/context-assembler.js +0 -371
  1970. package/dist/prompt/context-assembler.js.map +0 -1
  1971. package/dist/prompt/formatters.d.ts +0 -50
  1972. package/dist/prompt/formatters.d.ts.map +0 -1
  1973. package/dist/prompt/formatters.js +0 -135
  1974. package/dist/prompt/formatters.js.map +0 -1
  1975. package/dist/prompt/gateway.d.ts +0 -30
  1976. package/dist/prompt/gateway.d.ts.map +0 -1
  1977. package/dist/prompt/gateway.js +0 -110
  1978. package/dist/prompt/gateway.js.map +0 -1
  1979. package/dist/prompt/index.d.ts +0 -12
  1980. package/dist/prompt/index.d.ts.map +0 -1
  1981. package/dist/prompt/index.js +0 -9
  1982. package/dist/prompt/index.js.map +0 -1
  1983. package/dist/prompt/purposes/capability.d.ts +0 -64
  1984. package/dist/prompt/purposes/capability.d.ts.map +0 -1
  1985. package/dist/prompt/purposes/capability.js +0 -38
  1986. package/dist/prompt/purposes/capability.js.map +0 -1
  1987. package/dist/prompt/purposes/checkpoint.d.ts +0 -22
  1988. package/dist/prompt/purposes/checkpoint.d.ts.map +0 -1
  1989. package/dist/prompt/purposes/checkpoint.js +0 -17
  1990. package/dist/prompt/purposes/checkpoint.js.map +0 -1
  1991. package/dist/prompt/purposes/curiosity.d.ts +0 -41
  1992. package/dist/prompt/purposes/curiosity.d.ts.map +0 -1
  1993. package/dist/prompt/purposes/curiosity.js +0 -19
  1994. package/dist/prompt/purposes/curiosity.js.map +0 -1
  1995. package/dist/prompt/purposes/dependency.d.ts +0 -34
  1996. package/dist/prompt/purposes/dependency.d.ts.map +0 -1
  1997. package/dist/prompt/purposes/dependency.js +0 -21
  1998. package/dist/prompt/purposes/dependency.js.map +0 -1
  1999. package/dist/prompt/purposes/dream.d.ts +0 -9
  2000. package/dist/prompt/purposes/dream.d.ts.map +0 -1
  2001. package/dist/prompt/purposes/dream.js +0 -71
  2002. package/dist/prompt/purposes/dream.js.map +0 -1
  2003. package/dist/prompt/purposes/ethics.d.ts +0 -47
  2004. package/dist/prompt/purposes/ethics.d.ts.map +0 -1
  2005. package/dist/prompt/purposes/ethics.js +0 -89
  2006. package/dist/prompt/purposes/ethics.js.map +0 -1
  2007. package/dist/prompt/purposes/final-migration.d.ts +0 -15
  2008. package/dist/prompt/purposes/final-migration.d.ts.map +0 -1
  2009. package/dist/prompt/purposes/final-migration.js +0 -15
  2010. package/dist/prompt/purposes/final-migration.js.map +0 -1
  2011. package/dist/prompt/purposes/goal-decomposition.d.ts +0 -46
  2012. package/dist/prompt/purposes/goal-decomposition.d.ts.map +0 -1
  2013. package/dist/prompt/purposes/goal-decomposition.js +0 -20
  2014. package/dist/prompt/purposes/goal-decomposition.js.map +0 -1
  2015. package/dist/prompt/purposes/goal-quality.d.ts +0 -61
  2016. package/dist/prompt/purposes/goal-quality.d.ts.map +0 -1
  2017. package/dist/prompt/purposes/goal-quality.js +0 -37
  2018. package/dist/prompt/purposes/goal-quality.js.map +0 -1
  2019. package/dist/prompt/purposes/index.d.ts +0 -30
  2020. package/dist/prompt/purposes/index.d.ts.map +0 -1
  2021. package/dist/prompt/purposes/index.js +0 -321
  2022. package/dist/prompt/purposes/index.js.map +0 -1
  2023. package/dist/prompt/purposes/knowledge-transfer.d.ts +0 -81
  2024. package/dist/prompt/purposes/knowledge-transfer.d.ts.map +0 -1
  2025. package/dist/prompt/purposes/knowledge-transfer.js +0 -33
  2026. package/dist/prompt/purposes/knowledge-transfer.js.map +0 -1
  2027. package/dist/prompt/purposes/knowledge.d.ts +0 -88
  2028. package/dist/prompt/purposes/knowledge.d.ts.map +0 -1
  2029. package/dist/prompt/purposes/knowledge.js +0 -59
  2030. package/dist/prompt/purposes/knowledge.js.map +0 -1
  2031. package/dist/prompt/purposes/learning.d.ts +0 -70
  2032. package/dist/prompt/purposes/learning.d.ts.map +0 -1
  2033. package/dist/prompt/purposes/learning.js +0 -32
  2034. package/dist/prompt/purposes/learning.js.map +0 -1
  2035. package/dist/prompt/purposes/memory-distill.d.ts +0 -75
  2036. package/dist/prompt/purposes/memory-distill.d.ts.map +0 -1
  2037. package/dist/prompt/purposes/memory-distill.js +0 -27
  2038. package/dist/prompt/purposes/memory-distill.js.map +0 -1
  2039. package/dist/prompt/purposes/observation.d.ts +0 -25
  2040. package/dist/prompt/purposes/observation.d.ts.map +0 -1
  2041. package/dist/prompt/purposes/observation.js +0 -17
  2042. package/dist/prompt/purposes/observation.js.map +0 -1
  2043. package/dist/prompt/purposes/strategy-template.d.ts +0 -57
  2044. package/dist/prompt/purposes/strategy-template.d.ts.map +0 -1
  2045. package/dist/prompt/purposes/strategy-template.js +0 -31
  2046. package/dist/prompt/purposes/strategy-template.js.map +0 -1
  2047. package/dist/prompt/purposes/strategy.d.ts +0 -11
  2048. package/dist/prompt/purposes/strategy.d.ts.map +0 -1
  2049. package/dist/prompt/purposes/strategy.js +0 -29
  2050. package/dist/prompt/purposes/strategy.js.map +0 -1
  2051. package/dist/prompt/purposes/task-generation.d.ts +0 -26
  2052. package/dist/prompt/purposes/task-generation.d.ts.map +0 -1
  2053. package/dist/prompt/purposes/task-generation.js +0 -22
  2054. package/dist/prompt/purposes/task-generation.js.map +0 -1
  2055. package/dist/prompt/purposes/verification.d.ts +0 -25
  2056. package/dist/prompt/purposes/verification.d.ts.map +0 -1
  2057. package/dist/prompt/purposes/verification.js +0 -17
  2058. package/dist/prompt/purposes/verification.js.map +0 -1
  2059. package/dist/prompt/slot-definitions.d.ts +0 -33
  2060. package/dist/prompt/slot-definitions.d.ts.map +0 -1
  2061. package/dist/prompt/slot-definitions.js +0 -383
  2062. package/dist/prompt/slot-definitions.js.map +0 -1
  2063. package/dist/reflection/dream-consolidation.d.ts +0 -11
  2064. package/dist/reflection/dream-consolidation.d.ts.map +0 -1
  2065. package/dist/reflection/dream-consolidation.js +0 -61
  2066. package/dist/reflection/dream-consolidation.js.map +0 -1
  2067. package/dist/reflection/evening-catchup.d.ts +0 -13
  2068. package/dist/reflection/evening-catchup.d.ts.map +0 -1
  2069. package/dist/reflection/evening-catchup.js +0 -82
  2070. package/dist/reflection/evening-catchup.js.map +0 -1
  2071. package/dist/reflection/index.d.ts +0 -7
  2072. package/dist/reflection/index.d.ts.map +0 -1
  2073. package/dist/reflection/index.js +0 -6
  2074. package/dist/reflection/index.js.map +0 -1
  2075. package/dist/reflection/morning-planning.d.ts +0 -13
  2076. package/dist/reflection/morning-planning.d.ts.map +0 -1
  2077. package/dist/reflection/morning-planning.js +0 -68
  2078. package/dist/reflection/morning-planning.js.map +0 -1
  2079. package/dist/reflection/reflection-utils.d.ts +0 -16
  2080. package/dist/reflection/reflection-utils.d.ts.map +0 -1
  2081. package/dist/reflection/reflection-utils.js +0 -56
  2082. package/dist/reflection/reflection-utils.js.map +0 -1
  2083. package/dist/reflection/types/reflection.d.ts +0 -34
  2084. package/dist/reflection/types/reflection.d.ts.map +0 -1
  2085. package/dist/reflection/types/reflection.js +0 -14
  2086. package/dist/reflection/types/reflection.js.map +0 -1
  2087. package/dist/reflection/types.d.ts +0 -168
  2088. package/dist/reflection/types.d.ts.map +0 -1
  2089. package/dist/reflection/types.js +0 -58
  2090. package/dist/reflection/types.js.map +0 -1
  2091. package/dist/reflection/weekly-review.d.ts +0 -11
  2092. package/dist/reflection/weekly-review.d.ts.map +0 -1
  2093. package/dist/reflection/weekly-review.js +0 -106
  2094. package/dist/reflection/weekly-review.js.map +0 -1
  2095. package/dist/reporting/report-formatters.d.ts +0 -19
  2096. package/dist/reporting/report-formatters.d.ts.map +0 -1
  2097. package/dist/reporting/report-formatters.js +0 -155
  2098. package/dist/reporting/report-formatters.js.map +0 -1
  2099. package/dist/reporting/reporting-engine.d.ts +0 -37
  2100. package/dist/reporting/reporting-engine.d.ts.map +0 -1
  2101. package/dist/reporting/reporting-engine.js +0 -429
  2102. package/dist/reporting/reporting-engine.js.map +0 -1
  2103. package/dist/reporting/reporting-types.d.ts +0 -25
  2104. package/dist/reporting/reporting-types.d.ts.map +0 -1
  2105. package/dist/reporting/reporting-types.js +0 -2
  2106. package/dist/reporting/reporting-types.js.map +0 -1
  2107. package/dist/reporting/types/report.d.ts +0 -112
  2108. package/dist/reporting/types/report.d.ts.map +0 -1
  2109. package/dist/reporting/types/report.js +0 -34
  2110. package/dist/reporting/types/report.js.map +0 -1
  2111. package/dist/runtime/approval-broker.d.ts +0 -44
  2112. package/dist/runtime/approval-broker.d.ts.map +0 -1
  2113. package/dist/runtime/approval-broker.js +0 -164
  2114. package/dist/runtime/approval-broker.js.map +0 -1
  2115. package/dist/runtime/builtin-integrations.d.ts +0 -4
  2116. package/dist/runtime/builtin-integrations.d.ts.map +0 -1
  2117. package/dist/runtime/builtin-integrations.js +0 -67
  2118. package/dist/runtime/builtin-integrations.js.map +0 -1
  2119. package/dist/runtime/change-detector.d.ts +0 -6
  2120. package/dist/runtime/change-detector.d.ts.map +0 -1
  2121. package/dist/runtime/change-detector.js +0 -53
  2122. package/dist/runtime/change-detector.js.map +0 -1
  2123. package/dist/runtime/channels/email-channel.d.ts +0 -4
  2124. package/dist/runtime/channels/email-channel.d.ts.map +0 -1
  2125. package/dist/runtime/channels/email-channel.js +0 -65
  2126. package/dist/runtime/channels/email-channel.js.map +0 -1
  2127. package/dist/runtime/channels/http-post.d.ts +0 -6
  2128. package/dist/runtime/channels/http-post.d.ts.map +0 -1
  2129. package/dist/runtime/channels/http-post.js +0 -50
  2130. package/dist/runtime/channels/http-post.js.map +0 -1
  2131. package/dist/runtime/channels/slack-channel.d.ts +0 -4
  2132. package/dist/runtime/channels/slack-channel.d.ts.map +0 -1
  2133. package/dist/runtime/channels/slack-channel.js +0 -87
  2134. package/dist/runtime/channels/slack-channel.js.map +0 -1
  2135. package/dist/runtime/channels/webhook-channel.d.ts +0 -4
  2136. package/dist/runtime/channels/webhook-channel.d.ts.map +0 -1
  2137. package/dist/runtime/channels/webhook-channel.js +0 -47
  2138. package/dist/runtime/channels/webhook-channel.js.map +0 -1
  2139. package/dist/runtime/command-dispatcher.d.ts +0 -38
  2140. package/dist/runtime/command-dispatcher.d.ts.map +0 -1
  2141. package/dist/runtime/command-dispatcher.js +0 -165
  2142. package/dist/runtime/command-dispatcher.js.map +0 -1
  2143. package/dist/runtime/control/daemon-runtime-control-executor.d.ts +0 -13
  2144. package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +0 -1
  2145. package/dist/runtime/control/daemon-runtime-control-executor.js +0 -46
  2146. package/dist/runtime/control/daemon-runtime-control-executor.js.map +0 -1
  2147. package/dist/runtime/control/index.d.ts +0 -7
  2148. package/dist/runtime/control/index.d.ts.map +0 -1
  2149. package/dist/runtime/control/index.js +0 -4
  2150. package/dist/runtime/control/index.js.map +0 -1
  2151. package/dist/runtime/control/runtime-control-intent.d.ts +0 -7
  2152. package/dist/runtime/control/runtime-control-intent.d.ts.map +0 -1
  2153. package/dist/runtime/control/runtime-control-intent.js +0 -31
  2154. package/dist/runtime/control/runtime-control-intent.js.map +0 -1
  2155. package/dist/runtime/control/runtime-control-service.d.ts +0 -44
  2156. package/dist/runtime/control/runtime-control-service.d.ts.map +0 -1
  2157. package/dist/runtime/control/runtime-control-service.js +0 -143
  2158. package/dist/runtime/control/runtime-control-service.js.map +0 -1
  2159. package/dist/runtime/cron-scheduler.d.ts +0 -13
  2160. package/dist/runtime/cron-scheduler.d.ts.map +0 -1
  2161. package/dist/runtime/cron-scheduler.js +0 -90
  2162. package/dist/runtime/cron-scheduler.js.map +0 -1
  2163. package/dist/runtime/daemon/client.d.ts +0 -105
  2164. package/dist/runtime/daemon/client.d.ts.map +0 -1
  2165. package/dist/runtime/daemon/client.js +0 -403
  2166. package/dist/runtime/daemon/client.js.map +0 -1
  2167. package/dist/runtime/daemon/health.d.ts +0 -31
  2168. package/dist/runtime/daemon/health.d.ts.map +0 -1
  2169. package/dist/runtime/daemon/health.js +0 -113
  2170. package/dist/runtime/daemon/health.js.map +0 -1
  2171. package/dist/runtime/daemon/index.d.ts +0 -9
  2172. package/dist/runtime/daemon/index.d.ts.map +0 -1
  2173. package/dist/runtime/daemon/index.js +0 -8
  2174. package/dist/runtime/daemon/index.js.map +0 -1
  2175. package/dist/runtime/daemon/maintenance.d.ts +0 -105
  2176. package/dist/runtime/daemon/maintenance.d.ts.map +0 -1
  2177. package/dist/runtime/daemon/maintenance.js +0 -334
  2178. package/dist/runtime/daemon/maintenance.js.map +0 -1
  2179. package/dist/runtime/daemon/persistence.d.ts +0 -20
  2180. package/dist/runtime/daemon/persistence.d.ts.map +0 -1
  2181. package/dist/runtime/daemon/persistence.js +0 -125
  2182. package/dist/runtime/daemon/persistence.js.map +0 -1
  2183. package/dist/runtime/daemon/runner-errors.d.ts +0 -28
  2184. package/dist/runtime/daemon/runner-errors.d.ts.map +0 -1
  2185. package/dist/runtime/daemon/runner-errors.js +0 -41
  2186. package/dist/runtime/daemon/runner-errors.js.map +0 -1
  2187. package/dist/runtime/daemon/runner-lifecycle.d.ts +0 -34
  2188. package/dist/runtime/daemon/runner-lifecycle.d.ts.map +0 -1
  2189. package/dist/runtime/daemon/runner-lifecycle.js +0 -59
  2190. package/dist/runtime/daemon/runner-lifecycle.js.map +0 -1
  2191. package/dist/runtime/daemon/runner-recovery.d.ts +0 -12
  2192. package/dist/runtime/daemon/runner-recovery.d.ts.map +0 -1
  2193. package/dist/runtime/daemon/runner-recovery.js +0 -146
  2194. package/dist/runtime/daemon/runner-recovery.js.map +0 -1
  2195. package/dist/runtime/daemon/runner.d.ts +0 -295
  2196. package/dist/runtime/daemon/runner.d.ts.map +0 -1
  2197. package/dist/runtime/daemon/runner.js +0 -1667
  2198. package/dist/runtime/daemon/runner.js.map +0 -1
  2199. package/dist/runtime/daemon/runtime-ownership.d.ts +0 -40
  2200. package/dist/runtime/daemon/runtime-ownership.d.ts.map +0 -1
  2201. package/dist/runtime/daemon/runtime-ownership.js +0 -241
  2202. package/dist/runtime/daemon/runtime-ownership.js.map +0 -1
  2203. package/dist/runtime/daemon/signals.d.ts +0 -17
  2204. package/dist/runtime/daemon/signals.d.ts.map +0 -1
  2205. package/dist/runtime/daemon/signals.js +0 -31
  2206. package/dist/runtime/daemon/signals.js.map +0 -1
  2207. package/dist/runtime/daemon/types.d.ts +0 -8
  2208. package/dist/runtime/daemon/types.d.ts.map +0 -1
  2209. package/dist/runtime/daemon/types.js +0 -2
  2210. package/dist/runtime/daemon/types.js.map +0 -1
  2211. package/dist/runtime/daemon-client.d.ts +0 -2
  2212. package/dist/runtime/daemon-client.d.ts.map +0 -1
  2213. package/dist/runtime/daemon-client.js +0 -2
  2214. package/dist/runtime/daemon-client.js.map +0 -1
  2215. package/dist/runtime/daemon-runner.d.ts +0 -2
  2216. package/dist/runtime/daemon-runner.d.ts.map +0 -1
  2217. package/dist/runtime/daemon-runner.js +0 -2
  2218. package/dist/runtime/daemon-runner.js.map +0 -1
  2219. package/dist/runtime/event/dispatcher.d.ts +0 -34
  2220. package/dist/runtime/event/dispatcher.d.ts.map +0 -1
  2221. package/dist/runtime/event/dispatcher.js +0 -124
  2222. package/dist/runtime/event/dispatcher.js.map +0 -1
  2223. package/dist/runtime/event/index.d.ts +0 -5
  2224. package/dist/runtime/event/index.d.ts.map +0 -1
  2225. package/dist/runtime/event/index.js +0 -5
  2226. package/dist/runtime/event/index.js.map +0 -1
  2227. package/dist/runtime/event/server-snapshot-reader.d.ts +0 -31
  2228. package/dist/runtime/event/server-snapshot-reader.d.ts.map +0 -1
  2229. package/dist/runtime/event/server-snapshot-reader.js +0 -94
  2230. package/dist/runtime/event/server-snapshot-reader.js.map +0 -1
  2231. package/dist/runtime/event/server-sse.d.ts +0 -25
  2232. package/dist/runtime/event/server-sse.d.ts.map +0 -1
  2233. package/dist/runtime/event/server-sse.js +0 -148
  2234. package/dist/runtime/event/server-sse.js.map +0 -1
  2235. package/dist/runtime/event/server.d.ts +0 -148
  2236. package/dist/runtime/event/server.d.ts.map +0 -1
  2237. package/dist/runtime/event/server.js +0 -959
  2238. package/dist/runtime/event/server.js.map +0 -1
  2239. package/dist/runtime/event-server.d.ts +0 -2
  2240. package/dist/runtime/event-server.d.ts.map +0 -1
  2241. package/dist/runtime/event-server.js +0 -2
  2242. package/dist/runtime/event-server.js.map +0 -1
  2243. package/dist/runtime/executor/goal-worker.d.ts +0 -35
  2244. package/dist/runtime/executor/goal-worker.d.ts.map +0 -1
  2245. package/dist/runtime/executor/goal-worker.js +0 -90
  2246. package/dist/runtime/executor/goal-worker.js.map +0 -1
  2247. package/dist/runtime/executor/index.d.ts +0 -3
  2248. package/dist/runtime/executor/index.d.ts.map +0 -1
  2249. package/dist/runtime/executor/index.js +0 -3
  2250. package/dist/runtime/executor/index.js.map +0 -1
  2251. package/dist/runtime/executor/loop-supervisor.d.ts +0 -78
  2252. package/dist/runtime/executor/loop-supervisor.d.ts.map +0 -1
  2253. package/dist/runtime/executor/loop-supervisor.js +0 -404
  2254. package/dist/runtime/executor/loop-supervisor.js.map +0 -1
  2255. package/dist/runtime/foreign-plugins/compatibility.d.ts +0 -7
  2256. package/dist/runtime/foreign-plugins/compatibility.d.ts.map +0 -1
  2257. package/dist/runtime/foreign-plugins/compatibility.js +0 -175
  2258. package/dist/runtime/foreign-plugins/compatibility.js.map +0 -1
  2259. package/dist/runtime/foreign-plugins/index.d.ts +0 -3
  2260. package/dist/runtime/foreign-plugins/index.d.ts.map +0 -1
  2261. package/dist/runtime/foreign-plugins/index.js +0 -2
  2262. package/dist/runtime/foreign-plugins/index.js.map +0 -1
  2263. package/dist/runtime/foreign-plugins/types.d.ts +0 -25
  2264. package/dist/runtime/foreign-plugins/types.d.ts.map +0 -1
  2265. package/dist/runtime/foreign-plugins/types.js +0 -2
  2266. package/dist/runtime/foreign-plugins/types.js.map +0 -1
  2267. package/dist/runtime/gateway/channel-adapter.d.ts +0 -21
  2268. package/dist/runtime/gateway/channel-adapter.d.ts.map +0 -1
  2269. package/dist/runtime/gateway/channel-adapter.js +0 -2
  2270. package/dist/runtime/gateway/channel-adapter.js.map +0 -1
  2271. package/dist/runtime/gateway/channel-policy.d.ts +0 -40
  2272. package/dist/runtime/gateway/channel-policy.d.ts.map +0 -1
  2273. package/dist/runtime/gateway/channel-policy.js +0 -55
  2274. package/dist/runtime/gateway/channel-policy.js.map +0 -1
  2275. package/dist/runtime/gateway/http-channel-adapter.d.ts +0 -23
  2276. package/dist/runtime/gateway/http-channel-adapter.d.ts.map +0 -1
  2277. package/dist/runtime/gateway/http-channel-adapter.js +0 -51
  2278. package/dist/runtime/gateway/http-channel-adapter.js.map +0 -1
  2279. package/dist/runtime/gateway/index.d.ts +0 -8
  2280. package/dist/runtime/gateway/index.d.ts.map +0 -1
  2281. package/dist/runtime/gateway/index.js +0 -5
  2282. package/dist/runtime/gateway/index.js.map +0 -1
  2283. package/dist/runtime/gateway/ingress-gateway.d.ts +0 -39
  2284. package/dist/runtime/gateway/ingress-gateway.d.ts.map +0 -1
  2285. package/dist/runtime/gateway/ingress-gateway.js +0 -147
  2286. package/dist/runtime/gateway/ingress-gateway.js.map +0 -1
  2287. package/dist/runtime/gateway/slack-channel-adapter.d.ts +0 -48
  2288. package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +0 -1
  2289. package/dist/runtime/gateway/slack-channel-adapter.js +0 -148
  2290. package/dist/runtime/gateway/slack-channel-adapter.js.map +0 -1
  2291. package/dist/runtime/gateway/ws-channel-adapter.d.ts +0 -40
  2292. package/dist/runtime/gateway/ws-channel-adapter.d.ts.map +0 -1
  2293. package/dist/runtime/gateway/ws-channel-adapter.js +0 -104
  2294. package/dist/runtime/gateway/ws-channel-adapter.js.map +0 -1
  2295. package/dist/runtime/goal-lease-manager.d.ts +0 -35
  2296. package/dist/runtime/goal-lease-manager.d.ts.map +0 -1
  2297. package/dist/runtime/goal-lease-manager.js +0 -191
  2298. package/dist/runtime/goal-lease-manager.js.map +0 -1
  2299. package/dist/runtime/hook-manager.d.ts +0 -45
  2300. package/dist/runtime/hook-manager.d.ts.map +0 -1
  2301. package/dist/runtime/hook-manager.js +0 -207
  2302. package/dist/runtime/hook-manager.js.map +0 -1
  2303. package/dist/runtime/interactive-automation/default-registry.d.ts +0 -9
  2304. package/dist/runtime/interactive-automation/default-registry.d.ts.map +0 -1
  2305. package/dist/runtime/interactive-automation/default-registry.js +0 -24
  2306. package/dist/runtime/interactive-automation/default-registry.js.map +0 -1
  2307. package/dist/runtime/interactive-automation/index.d.ts +0 -9
  2308. package/dist/runtime/interactive-automation/index.d.ts.map +0 -1
  2309. package/dist/runtime/interactive-automation/index.js +0 -9
  2310. package/dist/runtime/interactive-automation/index.js.map +0 -1
  2311. package/dist/runtime/interactive-automation/providers/anthropic-computer-use.d.ts +0 -14
  2312. package/dist/runtime/interactive-automation/providers/anthropic-computer-use.d.ts.map +0 -1
  2313. package/dist/runtime/interactive-automation/providers/anthropic-computer-use.js +0 -33
  2314. package/dist/runtime/interactive-automation/providers/anthropic-computer-use.js.map +0 -1
  2315. package/dist/runtime/interactive-automation/providers/codex-app.d.ts +0 -29
  2316. package/dist/runtime/interactive-automation/providers/codex-app.d.ts.map +0 -1
  2317. package/dist/runtime/interactive-automation/providers/codex-app.js +0 -67
  2318. package/dist/runtime/interactive-automation/providers/codex-app.js.map +0 -1
  2319. package/dist/runtime/interactive-automation/providers/manus-browser.d.ts +0 -23
  2320. package/dist/runtime/interactive-automation/providers/manus-browser.d.ts.map +0 -1
  2321. package/dist/runtime/interactive-automation/providers/manus-browser.js +0 -88
  2322. package/dist/runtime/interactive-automation/providers/manus-browser.js.map +0 -1
  2323. package/dist/runtime/interactive-automation/providers/noop.d.ts +0 -21
  2324. package/dist/runtime/interactive-automation/providers/noop.d.ts.map +0 -1
  2325. package/dist/runtime/interactive-automation/providers/noop.js +0 -59
  2326. package/dist/runtime/interactive-automation/providers/noop.js.map +0 -1
  2327. package/dist/runtime/interactive-automation/providers/perplexity-research.d.ts +0 -25
  2328. package/dist/runtime/interactive-automation/providers/perplexity-research.d.ts.map +0 -1
  2329. package/dist/runtime/interactive-automation/providers/perplexity-research.js +0 -124
  2330. package/dist/runtime/interactive-automation/providers/perplexity-research.js.map +0 -1
  2331. package/dist/runtime/interactive-automation/registry.d.ts +0 -20
  2332. package/dist/runtime/interactive-automation/registry.d.ts.map +0 -1
  2333. package/dist/runtime/interactive-automation/registry.js +0 -55
  2334. package/dist/runtime/interactive-automation/registry.js.map +0 -1
  2335. package/dist/runtime/interactive-automation/types.d.ts +0 -132
  2336. package/dist/runtime/interactive-automation/types.d.ts.map +0 -1
  2337. package/dist/runtime/interactive-automation/types.js +0 -8
  2338. package/dist/runtime/interactive-automation/types.js.map +0 -1
  2339. package/dist/runtime/leader-lock-manager.d.ts +0 -30
  2340. package/dist/runtime/leader-lock-manager.d.ts.map +0 -1
  2341. package/dist/runtime/leader-lock-manager.js +0 -161
  2342. package/dist/runtime/leader-lock-manager.js.map +0 -1
  2343. package/dist/runtime/logger.d.ts +0 -57
  2344. package/dist/runtime/logger.d.ts.map +0 -1
  2345. package/dist/runtime/logger.js +0 -254
  2346. package/dist/runtime/logger.js.map +0 -1
  2347. package/dist/runtime/notification-batcher.d.ts +0 -28
  2348. package/dist/runtime/notification-batcher.d.ts.map +0 -1
  2349. package/dist/runtime/notification-batcher.js +0 -100
  2350. package/dist/runtime/notification-batcher.js.map +0 -1
  2351. package/dist/runtime/notification-dispatcher.d.ts +0 -56
  2352. package/dist/runtime/notification-dispatcher.d.ts.map +0 -1
  2353. package/dist/runtime/notification-dispatcher.js +0 -280
  2354. package/dist/runtime/notification-dispatcher.js.map +0 -1
  2355. package/dist/runtime/notification-routing.d.ts +0 -16
  2356. package/dist/runtime/notification-routing.d.ts.map +0 -1
  2357. package/dist/runtime/notification-routing.js +0 -147
  2358. package/dist/runtime/notification-routing.js.map +0 -1
  2359. package/dist/runtime/notifier-registry.d.ts +0 -26
  2360. package/dist/runtime/notifier-registry.d.ts.map +0 -1
  2361. package/dist/runtime/notifier-registry.js +0 -36
  2362. package/dist/runtime/notifier-registry.js.map +0 -1
  2363. package/dist/runtime/pid-manager.d.ts +0 -68
  2364. package/dist/runtime/pid-manager.d.ts.map +0 -1
  2365. package/dist/runtime/pid-manager.js +0 -399
  2366. package/dist/runtime/pid-manager.js.map +0 -1
  2367. package/dist/runtime/plugin-loader.d.ts +0 -87
  2368. package/dist/runtime/plugin-loader.d.ts.map +0 -1
  2369. package/dist/runtime/plugin-loader.js +0 -389
  2370. package/dist/runtime/plugin-loader.js.map +0 -1
  2371. package/dist/runtime/port-utils.d.ts +0 -6
  2372. package/dist/runtime/port-utils.d.ts.map +0 -1
  2373. package/dist/runtime/port-utils.js +0 -37
  2374. package/dist/runtime/port-utils.js.map +0 -1
  2375. package/dist/runtime/queue/index.d.ts +0 -6
  2376. package/dist/runtime/queue/index.d.ts.map +0 -1
  2377. package/dist/runtime/queue/index.js +0 -4
  2378. package/dist/runtime/queue/index.js.map +0 -1
  2379. package/dist/runtime/queue/journal-backed-queue.d.ts +0 -80
  2380. package/dist/runtime/queue/journal-backed-queue.d.ts.map +0 -1
  2381. package/dist/runtime/queue/journal-backed-queue.js +0 -511
  2382. package/dist/runtime/queue/journal-backed-queue.js.map +0 -1
  2383. package/dist/runtime/queue/priority-queue.d.ts +0 -13
  2384. package/dist/runtime/queue/priority-queue.d.ts.map +0 -1
  2385. package/dist/runtime/queue/priority-queue.js +0 -56
  2386. package/dist/runtime/queue/priority-queue.js.map +0 -1
  2387. package/dist/runtime/queue/queue-claim-sweeper.d.ts +0 -15
  2388. package/dist/runtime/queue/queue-claim-sweeper.d.ts.map +0 -1
  2389. package/dist/runtime/queue/queue-claim-sweeper.js +0 -28
  2390. package/dist/runtime/queue/queue-claim-sweeper.js.map +0 -1
  2391. package/dist/runtime/schedule/engine-layers.d.ts +0 -44
  2392. package/dist/runtime/schedule/engine-layers.d.ts.map +0 -1
  2393. package/dist/runtime/schedule/engine-layers.js +0 -554
  2394. package/dist/runtime/schedule/engine-layers.js.map +0 -1
  2395. package/dist/runtime/schedule/engine.d.ts +0 -133
  2396. package/dist/runtime/schedule/engine.d.ts.map +0 -1
  2397. package/dist/runtime/schedule/engine.js +0 -1111
  2398. package/dist/runtime/schedule/engine.js.map +0 -1
  2399. package/dist/runtime/schedule/entry-resolver.d.ts +0 -6
  2400. package/dist/runtime/schedule/entry-resolver.d.ts.map +0 -1
  2401. package/dist/runtime/schedule/entry-resolver.js +0 -21
  2402. package/dist/runtime/schedule/entry-resolver.js.map +0 -1
  2403. package/dist/runtime/schedule/history.d.ts +0 -93
  2404. package/dist/runtime/schedule/history.d.ts.map +0 -1
  2405. package/dist/runtime/schedule/history.js +0 -69
  2406. package/dist/runtime/schedule/history.js.map +0 -1
  2407. package/dist/runtime/schedule/index.d.ts +0 -6
  2408. package/dist/runtime/schedule/index.d.ts.map +0 -1
  2409. package/dist/runtime/schedule/index.js +0 -6
  2410. package/dist/runtime/schedule/index.js.map +0 -1
  2411. package/dist/runtime/schedule/presets.d.ts +0 -649
  2412. package/dist/runtime/schedule/presets.d.ts.map +0 -1
  2413. package/dist/runtime/schedule/presets.js +0 -190
  2414. package/dist/runtime/schedule/presets.js.map +0 -1
  2415. package/dist/runtime/schedule/source.d.ts +0 -80
  2416. package/dist/runtime/schedule/source.d.ts.map +0 -1
  2417. package/dist/runtime/schedule/source.js +0 -21
  2418. package/dist/runtime/schedule/source.js.map +0 -1
  2419. package/dist/runtime/schedule-engine.d.ts +0 -2
  2420. package/dist/runtime/schedule-engine.d.ts.map +0 -1
  2421. package/dist/runtime/schedule-engine.js +0 -2
  2422. package/dist/runtime/schedule-engine.js.map +0 -1
  2423. package/dist/runtime/schedule-presets.d.ts +0 -2
  2424. package/dist/runtime/schedule-presets.d.ts.map +0 -1
  2425. package/dist/runtime/schedule-presets.js +0 -2
  2426. package/dist/runtime/schedule-presets.js.map +0 -1
  2427. package/dist/runtime/skills/skill-parser.d.ts +0 -13
  2428. package/dist/runtime/skills/skill-parser.d.ts.map +0 -1
  2429. package/dist/runtime/skills/skill-parser.js +0 -64
  2430. package/dist/runtime/skills/skill-parser.js.map +0 -1
  2431. package/dist/runtime/skills/skill-registry.d.ts +0 -31
  2432. package/dist/runtime/skills/skill-registry.d.ts.map +0 -1
  2433. package/dist/runtime/skills/skill-registry.js +0 -108
  2434. package/dist/runtime/skills/skill-registry.js.map +0 -1
  2435. package/dist/runtime/store/approval-store.d.ts +0 -33
  2436. package/dist/runtime/store/approval-store.d.ts.map +0 -1
  2437. package/dist/runtime/store/approval-store.js +0 -163
  2438. package/dist/runtime/store/approval-store.js.map +0 -1
  2439. package/dist/runtime/store/health-store.d.ts +0 -17
  2440. package/dist/runtime/store/health-store.d.ts.map +0 -1
  2441. package/dist/runtime/store/health-store.js +0 -188
  2442. package/dist/runtime/store/health-store.js.map +0 -1
  2443. package/dist/runtime/store/index.d.ts +0 -13
  2444. package/dist/runtime/store/index.d.ts.map +0 -1
  2445. package/dist/runtime/store/index.js +0 -9
  2446. package/dist/runtime/store/index.js.map +0 -1
  2447. package/dist/runtime/store/outbox-store.d.ts +0 -25
  2448. package/dist/runtime/store/outbox-store.d.ts.map +0 -1
  2449. package/dist/runtime/store/outbox-store.js +0 -116
  2450. package/dist/runtime/store/outbox-store.js.map +0 -1
  2451. package/dist/runtime/store/runtime-journal.d.ts +0 -19
  2452. package/dist/runtime/store/runtime-journal.d.ts.map +0 -1
  2453. package/dist/runtime/store/runtime-journal.js +0 -77
  2454. package/dist/runtime/store/runtime-journal.js.map +0 -1
  2455. package/dist/runtime/store/runtime-operation-schemas.d.ts +0 -213
  2456. package/dist/runtime/store/runtime-operation-schemas.d.ts.map +0 -1
  2457. package/dist/runtime/store/runtime-operation-schemas.js +0 -62
  2458. package/dist/runtime/store/runtime-operation-schemas.js.map +0 -1
  2459. package/dist/runtime/store/runtime-operation-store.d.ts +0 -17
  2460. package/dist/runtime/store/runtime-operation-store.d.ts.map +0 -1
  2461. package/dist/runtime/store/runtime-operation-store.js +0 -57
  2462. package/dist/runtime/store/runtime-operation-store.js.map +0 -1
  2463. package/dist/runtime/store/runtime-paths.d.ts +0 -35
  2464. package/dist/runtime/store/runtime-paths.d.ts.map +0 -1
  2465. package/dist/runtime/store/runtime-paths.js +0 -108
  2466. package/dist/runtime/store/runtime-paths.js.map +0 -1
  2467. package/dist/runtime/store/runtime-schemas.d.ts +0 -742
  2468. package/dist/runtime/store/runtime-schemas.d.ts.map +0 -1
  2469. package/dist/runtime/store/runtime-schemas.js +0 -170
  2470. package/dist/runtime/store/runtime-schemas.js.map +0 -1
  2471. package/dist/runtime/terminal/backend.d.ts +0 -25
  2472. package/dist/runtime/terminal/backend.d.ts.map +0 -1
  2473. package/dist/runtime/terminal/backend.js +0 -92
  2474. package/dist/runtime/terminal/backend.js.map +0 -1
  2475. package/dist/runtime/trigger-mapper.d.ts +0 -26
  2476. package/dist/runtime/trigger-mapper.d.ts.map +0 -1
  2477. package/dist/runtime/trigger-mapper.js +0 -89
  2478. package/dist/runtime/trigger-mapper.js.map +0 -1
  2479. package/dist/runtime/types/builtin-integration.d.ts +0 -13
  2480. package/dist/runtime/types/builtin-integration.d.ts.map +0 -1
  2481. package/dist/runtime/types/builtin-integration.js +0 -2
  2482. package/dist/runtime/types/builtin-integration.js.map +0 -1
  2483. package/dist/runtime/types/cron.d.ts +0 -59
  2484. package/dist/runtime/types/cron.d.ts.map +0 -1
  2485. package/dist/runtime/types/cron.js +0 -13
  2486. package/dist/runtime/types/cron.js.map +0 -1
  2487. package/dist/runtime/types/daemon.d.ts +0 -306
  2488. package/dist/runtime/types/daemon.d.ts.map +0 -1
  2489. package/dist/runtime/types/daemon.js +0 -84
  2490. package/dist/runtime/types/daemon.js.map +0 -1
  2491. package/dist/runtime/types/envelope.d.ts +0 -90
  2492. package/dist/runtime/types/envelope.d.ts.map +0 -1
  2493. package/dist/runtime/types/envelope.js +0 -41
  2494. package/dist/runtime/types/envelope.js.map +0 -1
  2495. package/dist/runtime/types/hook.d.ts +0 -142
  2496. package/dist/runtime/types/hook.d.ts.map +0 -1
  2497. package/dist/runtime/types/hook.js +0 -44
  2498. package/dist/runtime/types/hook.js.map +0 -1
  2499. package/dist/runtime/types/notification.d.ts +0 -1007
  2500. package/dist/runtime/types/notification.d.ts.map +0 -1
  2501. package/dist/runtime/types/notification.js +0 -92
  2502. package/dist/runtime/types/notification.js.map +0 -1
  2503. package/dist/runtime/types/plugin.d.ts +0 -335
  2504. package/dist/runtime/types/plugin.d.ts.map +0 -1
  2505. package/dist/runtime/types/plugin.js +0 -61
  2506. package/dist/runtime/types/plugin.js.map +0 -1
  2507. package/dist/runtime/types/schedule.d.ts +0 -1189
  2508. package/dist/runtime/types/schedule.d.ts.map +0 -1
  2509. package/dist/runtime/types/schedule.js +0 -134
  2510. package/dist/runtime/types/schedule.js.map +0 -1
  2511. package/dist/runtime/types/trigger.d.ts +0 -77
  2512. package/dist/runtime/types/trigger.d.ts.map +0 -1
  2513. package/dist/runtime/types/trigger.js +0 -21
  2514. package/dist/runtime/types/trigger.js.map +0 -1
  2515. package/dist/runtime/watchdog.d.ts +0 -73
  2516. package/dist/runtime/watchdog.d.ts.map +0 -1
  2517. package/dist/runtime/watchdog.js +0 -281
  2518. package/dist/runtime/watchdog.js.map +0 -1
  2519. package/dist/tools/automation/InteractiveAutomationTools.d.ts +0 -333
  2520. package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +0 -1
  2521. package/dist/tools/automation/InteractiveAutomationTools.js +0 -424
  2522. package/dist/tools/automation/InteractiveAutomationTools.js.map +0 -1
  2523. package/dist/tools/automation/index.d.ts +0 -2
  2524. package/dist/tools/automation/index.d.ts.map +0 -1
  2525. package/dist/tools/automation/index.js +0 -2
  2526. package/dist/tools/automation/index.js.map +0 -1
  2527. package/dist/tools/builtin/index.d.ts +0 -111
  2528. package/dist/tools/builtin/index.d.ts.map +0 -1
  2529. package/dist/tools/builtin/index.js +0 -263
  2530. package/dist/tools/builtin/index.js.map +0 -1
  2531. package/dist/tools/concurrency.d.ts +0 -20
  2532. package/dist/tools/concurrency.d.ts.map +0 -1
  2533. package/dist/tools/concurrency.js +0 -58
  2534. package/dist/tools/concurrency.js.map +0 -1
  2535. package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.d.ts +0 -50
  2536. package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.d.ts.map +0 -1
  2537. package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.js +0 -84
  2538. package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.js.map +0 -1
  2539. package/dist/tools/execution/MemoryConsolidateTool/constants.d.ts +0 -7
  2540. package/dist/tools/execution/MemoryConsolidateTool/constants.d.ts.map +0 -1
  2541. package/dist/tools/execution/MemoryConsolidateTool/constants.js +0 -7
  2542. package/dist/tools/execution/MemoryConsolidateTool/constants.js.map +0 -1
  2543. package/dist/tools/execution/MemoryConsolidateTool/prompt.d.ts +0 -2
  2544. package/dist/tools/execution/MemoryConsolidateTool/prompt.d.ts.map +0 -1
  2545. package/dist/tools/execution/MemoryConsolidateTool/prompt.js +0 -2
  2546. package/dist/tools/execution/MemoryConsolidateTool/prompt.js.map +0 -1
  2547. package/dist/tools/execution/MemoryLintTool/MemoryLintTool.d.ts +0 -42
  2548. package/dist/tools/execution/MemoryLintTool/MemoryLintTool.d.ts.map +0 -1
  2549. package/dist/tools/execution/MemoryLintTool/MemoryLintTool.js +0 -84
  2550. package/dist/tools/execution/MemoryLintTool/MemoryLintTool.js.map +0 -1
  2551. package/dist/tools/execution/MemoryLintTool/constants.d.ts +0 -7
  2552. package/dist/tools/execution/MemoryLintTool/constants.d.ts.map +0 -1
  2553. package/dist/tools/execution/MemoryLintTool/constants.js +0 -7
  2554. package/dist/tools/execution/MemoryLintTool/constants.js.map +0 -1
  2555. package/dist/tools/execution/MemoryLintTool/prompt.d.ts +0 -2
  2556. package/dist/tools/execution/MemoryLintTool/prompt.d.ts.map +0 -1
  2557. package/dist/tools/execution/MemoryLintTool/prompt.js +0 -2
  2558. package/dist/tools/execution/MemoryLintTool/prompt.js.map +0 -1
  2559. package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +0 -52
  2560. package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts.map +0 -1
  2561. package/dist/tools/execution/MemorySaveTool/MemorySaveTool.js +0 -70
  2562. package/dist/tools/execution/MemorySaveTool/MemorySaveTool.js.map +0 -1
  2563. package/dist/tools/execution/MemorySaveTool/constants.d.ts +0 -7
  2564. package/dist/tools/execution/MemorySaveTool/constants.d.ts.map +0 -1
  2565. package/dist/tools/execution/MemorySaveTool/constants.js +0 -7
  2566. package/dist/tools/execution/MemorySaveTool/constants.js.map +0 -1
  2567. package/dist/tools/execution/MemorySaveTool/prompt.d.ts +0 -2
  2568. package/dist/tools/execution/MemorySaveTool/prompt.d.ts.map +0 -1
  2569. package/dist/tools/execution/MemorySaveTool/prompt.js +0 -2
  2570. package/dist/tools/execution/MemorySaveTool/prompt.js.map +0 -1
  2571. package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.d.ts +0 -28
  2572. package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.d.ts.map +0 -1
  2573. package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.js +0 -56
  2574. package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.js.map +0 -1
  2575. package/dist/tools/execution/ObserveGoalTool/constants.d.ts +0 -5
  2576. package/dist/tools/execution/ObserveGoalTool/constants.d.ts.map +0 -1
  2577. package/dist/tools/execution/ObserveGoalTool/constants.js +0 -5
  2578. package/dist/tools/execution/ObserveGoalTool/constants.js.map +0 -1
  2579. package/dist/tools/execution/ObserveGoalTool/prompt.d.ts +0 -2
  2580. package/dist/tools/execution/ObserveGoalTool/prompt.d.ts.map +0 -1
  2581. package/dist/tools/execution/ObserveGoalTool/prompt.js +0 -2
  2582. package/dist/tools/execution/ObserveGoalTool/prompt.js.map +0 -1
  2583. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts +0 -40
  2584. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts.map +0 -1
  2585. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js +0 -58
  2586. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js.map +0 -1
  2587. package/dist/tools/execution/QueryDataSourceTool/constants.d.ts +0 -5
  2588. package/dist/tools/execution/QueryDataSourceTool/constants.d.ts.map +0 -1
  2589. package/dist/tools/execution/QueryDataSourceTool/constants.js +0 -5
  2590. package/dist/tools/execution/QueryDataSourceTool/constants.js.map +0 -1
  2591. package/dist/tools/execution/QueryDataSourceTool/prompt.d.ts +0 -2
  2592. package/dist/tools/execution/QueryDataSourceTool/prompt.d.ts.map +0 -1
  2593. package/dist/tools/execution/QueryDataSourceTool/prompt.js +0 -2
  2594. package/dist/tools/execution/QueryDataSourceTool/prompt.js.map +0 -1
  2595. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +0 -40
  2596. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +0 -1
  2597. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +0 -87
  2598. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +0 -1
  2599. package/dist/tools/execution/RunAdapterTool/constants.d.ts +0 -5
  2600. package/dist/tools/execution/RunAdapterTool/constants.d.ts.map +0 -1
  2601. package/dist/tools/execution/RunAdapterTool/constants.js +0 -5
  2602. package/dist/tools/execution/RunAdapterTool/constants.js.map +0 -1
  2603. package/dist/tools/execution/RunAdapterTool/prompt.d.ts +0 -2
  2604. package/dist/tools/execution/RunAdapterTool/prompt.d.ts.map +0 -1
  2605. package/dist/tools/execution/RunAdapterTool/prompt.js +0 -2
  2606. package/dist/tools/execution/RunAdapterTool/prompt.js.map +0 -1
  2607. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts +0 -43
  2608. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts.map +0 -1
  2609. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js +0 -83
  2610. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js.map +0 -1
  2611. package/dist/tools/execution/SoilDoctorTool/constants.d.ts +0 -8
  2612. package/dist/tools/execution/SoilDoctorTool/constants.d.ts.map +0 -1
  2613. package/dist/tools/execution/SoilDoctorTool/constants.js +0 -8
  2614. package/dist/tools/execution/SoilDoctorTool/constants.js.map +0 -1
  2615. package/dist/tools/execution/SoilDoctorTool/prompt.d.ts +0 -2
  2616. package/dist/tools/execution/SoilDoctorTool/prompt.d.ts.map +0 -1
  2617. package/dist/tools/execution/SoilDoctorTool/prompt.js +0 -2
  2618. package/dist/tools/execution/SoilDoctorTool/prompt.js.map +0 -1
  2619. package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts +0 -109
  2620. package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts.map +0 -1
  2621. package/dist/tools/execution/SoilImportTool/SoilImportTool.js +0 -72
  2622. package/dist/tools/execution/SoilImportTool/SoilImportTool.js.map +0 -1
  2623. package/dist/tools/execution/SoilImportTool/constants.d.ts +0 -6
  2624. package/dist/tools/execution/SoilImportTool/constants.d.ts.map +0 -1
  2625. package/dist/tools/execution/SoilImportTool/constants.js +0 -6
  2626. package/dist/tools/execution/SoilImportTool/constants.js.map +0 -1
  2627. package/dist/tools/execution/SoilImportTool/prompt.d.ts +0 -2
  2628. package/dist/tools/execution/SoilImportTool/prompt.d.ts.map +0 -1
  2629. package/dist/tools/execution/SoilImportTool/prompt.js +0 -2
  2630. package/dist/tools/execution/SoilImportTool/prompt.js.map +0 -1
  2631. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts +0 -46
  2632. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts.map +0 -1
  2633. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js +0 -64
  2634. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js.map +0 -1
  2635. package/dist/tools/execution/SoilOpenTool/constants.d.ts +0 -6
  2636. package/dist/tools/execution/SoilOpenTool/constants.d.ts.map +0 -1
  2637. package/dist/tools/execution/SoilOpenTool/constants.js +0 -6
  2638. package/dist/tools/execution/SoilOpenTool/constants.js.map +0 -1
  2639. package/dist/tools/execution/SoilOpenTool/prompt.d.ts +0 -2
  2640. package/dist/tools/execution/SoilOpenTool/prompt.d.ts.map +0 -1
  2641. package/dist/tools/execution/SoilOpenTool/prompt.js +0 -2
  2642. package/dist/tools/execution/SoilOpenTool/prompt.js.map +0 -1
  2643. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts +0 -49
  2644. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts.map +0 -1
  2645. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js +0 -71
  2646. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js.map +0 -1
  2647. package/dist/tools/execution/SoilPublishTool/constants.d.ts +0 -6
  2648. package/dist/tools/execution/SoilPublishTool/constants.d.ts.map +0 -1
  2649. package/dist/tools/execution/SoilPublishTool/constants.js +0 -6
  2650. package/dist/tools/execution/SoilPublishTool/constants.js.map +0 -1
  2651. package/dist/tools/execution/SoilPublishTool/prompt.d.ts +0 -2
  2652. package/dist/tools/execution/SoilPublishTool/prompt.d.ts.map +0 -1
  2653. package/dist/tools/execution/SoilPublishTool/prompt.js +0 -2
  2654. package/dist/tools/execution/SoilPublishTool/prompt.js.map +0 -1
  2655. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts +0 -34
  2656. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts.map +0 -1
  2657. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js +0 -66
  2658. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js.map +0 -1
  2659. package/dist/tools/execution/SoilRebuildTool/constants.d.ts +0 -6
  2660. package/dist/tools/execution/SoilRebuildTool/constants.d.ts.map +0 -1
  2661. package/dist/tools/execution/SoilRebuildTool/constants.js +0 -6
  2662. package/dist/tools/execution/SoilRebuildTool/constants.js.map +0 -1
  2663. package/dist/tools/execution/SoilRebuildTool/prompt.d.ts +0 -2
  2664. package/dist/tools/execution/SoilRebuildTool/prompt.d.ts.map +0 -1
  2665. package/dist/tools/execution/SoilRebuildTool/prompt.js +0 -2
  2666. package/dist/tools/execution/SoilRebuildTool/prompt.js.map +0 -1
  2667. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts +0 -78
  2668. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts.map +0 -1
  2669. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js +0 -84
  2670. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js.map +0 -1
  2671. package/dist/tools/execution/SpawnSessionTool/constants.d.ts +0 -5
  2672. package/dist/tools/execution/SpawnSessionTool/constants.d.ts.map +0 -1
  2673. package/dist/tools/execution/SpawnSessionTool/constants.js +0 -5
  2674. package/dist/tools/execution/SpawnSessionTool/constants.js.map +0 -1
  2675. package/dist/tools/execution/SpawnSessionTool/prompt.d.ts +0 -2
  2676. package/dist/tools/execution/SpawnSessionTool/prompt.d.ts.map +0 -1
  2677. package/dist/tools/execution/SpawnSessionTool/prompt.js +0 -2
  2678. package/dist/tools/execution/SpawnSessionTool/prompt.js.map +0 -1
  2679. package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.d.ts +0 -46
  2680. package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.d.ts.map +0 -1
  2681. package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.js +0 -73
  2682. package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.js.map +0 -1
  2683. package/dist/tools/execution/WriteKnowledgeTool/constants.d.ts +0 -5
  2684. package/dist/tools/execution/WriteKnowledgeTool/constants.d.ts.map +0 -1
  2685. package/dist/tools/execution/WriteKnowledgeTool/constants.js +0 -5
  2686. package/dist/tools/execution/WriteKnowledgeTool/constants.js.map +0 -1
  2687. package/dist/tools/execution/WriteKnowledgeTool/prompt.d.ts +0 -2
  2688. package/dist/tools/execution/WriteKnowledgeTool/prompt.d.ts.map +0 -1
  2689. package/dist/tools/execution/WriteKnowledgeTool/prompt.js +0 -2
  2690. package/dist/tools/execution/WriteKnowledgeTool/prompt.js.map +0 -1
  2691. package/dist/tools/executor.d.ts +0 -39
  2692. package/dist/tools/executor.d.ts.map +0 -1
  2693. package/dist/tools/executor.js +0 -238
  2694. package/dist/tools/executor.js.map +0 -1
  2695. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts +0 -38
  2696. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +0 -1
  2697. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +0 -247
  2698. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +0 -1
  2699. package/dist/tools/fs/FileEditTool/FileEditTool.d.ts +0 -48
  2700. package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +0 -1
  2701. package/dist/tools/fs/FileEditTool/FileEditTool.js +0 -126
  2702. package/dist/tools/fs/FileEditTool/FileEditTool.js.map +0 -1
  2703. package/dist/tools/fs/FileEditTool/constants.d.ts +0 -5
  2704. package/dist/tools/fs/FileEditTool/constants.d.ts.map +0 -1
  2705. package/dist/tools/fs/FileEditTool/constants.js +0 -5
  2706. package/dist/tools/fs/FileEditTool/constants.js.map +0 -1
  2707. package/dist/tools/fs/FileEditTool/prompt.d.ts +0 -2
  2708. package/dist/tools/fs/FileEditTool/prompt.d.ts.map +0 -1
  2709. package/dist/tools/fs/FileEditTool/prompt.js +0 -2
  2710. package/dist/tools/fs/FileEditTool/prompt.js.map +0 -1
  2711. package/dist/tools/fs/FileValidationTool/FileValidationTool.d.ts +0 -6
  2712. package/dist/tools/fs/FileValidationTool/FileValidationTool.d.ts.map +0 -1
  2713. package/dist/tools/fs/FileValidationTool/FileValidationTool.js +0 -5
  2714. package/dist/tools/fs/FileValidationTool/FileValidationTool.js.map +0 -1
  2715. package/dist/tools/fs/FileValidationTool/protected-path-policy.d.ts +0 -12
  2716. package/dist/tools/fs/FileValidationTool/protected-path-policy.d.ts.map +0 -1
  2717. package/dist/tools/fs/FileValidationTool/protected-path-policy.js +0 -58
  2718. package/dist/tools/fs/FileValidationTool/protected-path-policy.js.map +0 -1
  2719. package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts +0 -41
  2720. package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +0 -1
  2721. package/dist/tools/fs/FileWriteTool/FileWriteTool.js +0 -85
  2722. package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +0 -1
  2723. package/dist/tools/fs/FileWriteTool/constants.d.ts +0 -5
  2724. package/dist/tools/fs/FileWriteTool/constants.d.ts.map +0 -1
  2725. package/dist/tools/fs/FileWriteTool/constants.js +0 -5
  2726. package/dist/tools/fs/FileWriteTool/constants.js.map +0 -1
  2727. package/dist/tools/fs/FileWriteTool/prompt.d.ts +0 -2
  2728. package/dist/tools/fs/FileWriteTool/prompt.d.ts.map +0 -1
  2729. package/dist/tools/fs/FileWriteTool/prompt.js +0 -2
  2730. package/dist/tools/fs/FileWriteTool/prompt.js.map +0 -1
  2731. package/dist/tools/fs/GlobTool/GlobTool.d.ts +0 -37
  2732. package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +0 -1
  2733. package/dist/tools/fs/GlobTool/GlobTool.js +0 -70
  2734. package/dist/tools/fs/GlobTool/GlobTool.js.map +0 -1
  2735. package/dist/tools/fs/GlobTool/constants.d.ts +0 -6
  2736. package/dist/tools/fs/GlobTool/constants.d.ts.map +0 -1
  2737. package/dist/tools/fs/GlobTool/constants.js +0 -6
  2738. package/dist/tools/fs/GlobTool/constants.js.map +0 -1
  2739. package/dist/tools/fs/GlobTool/prompt.d.ts +0 -3
  2740. package/dist/tools/fs/GlobTool/prompt.d.ts.map +0 -1
  2741. package/dist/tools/fs/GlobTool/prompt.js +0 -3
  2742. package/dist/tools/fs/GlobTool/prompt.js.map +0 -1
  2743. package/dist/tools/fs/GrepTool/GrepTool.d.ts +0 -61
  2744. package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +0 -1
  2745. package/dist/tools/fs/GrepTool/GrepTool.js +0 -95
  2746. package/dist/tools/fs/GrepTool/GrepTool.js.map +0 -1
  2747. package/dist/tools/fs/GrepTool/constants.d.ts +0 -6
  2748. package/dist/tools/fs/GrepTool/constants.d.ts.map +0 -1
  2749. package/dist/tools/fs/GrepTool/constants.js +0 -6
  2750. package/dist/tools/fs/GrepTool/constants.js.map +0 -1
  2751. package/dist/tools/fs/GrepTool/prompt.d.ts +0 -2
  2752. package/dist/tools/fs/GrepTool/prompt.d.ts.map +0 -1
  2753. package/dist/tools/fs/GrepTool/prompt.js +0 -2
  2754. package/dist/tools/fs/GrepTool/prompt.js.map +0 -1
  2755. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +0 -32
  2756. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +0 -1
  2757. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +0 -67
  2758. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +0 -1
  2759. package/dist/tools/fs/JsonQueryTool/constants.d.ts +0 -6
  2760. package/dist/tools/fs/JsonQueryTool/constants.d.ts.map +0 -1
  2761. package/dist/tools/fs/JsonQueryTool/constants.js +0 -6
  2762. package/dist/tools/fs/JsonQueryTool/constants.js.map +0 -1
  2763. package/dist/tools/fs/JsonQueryTool/prompt.d.ts +0 -2
  2764. package/dist/tools/fs/JsonQueryTool/prompt.d.ts.map +0 -1
  2765. package/dist/tools/fs/JsonQueryTool/prompt.js +0 -2
  2766. package/dist/tools/fs/JsonQueryTool/prompt.js.map +0 -1
  2767. package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +0 -48
  2768. package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +0 -1
  2769. package/dist/tools/fs/ListDirTool/ListDirTool.js +0 -99
  2770. package/dist/tools/fs/ListDirTool/ListDirTool.js.map +0 -1
  2771. package/dist/tools/fs/ListDirTool/constants.d.ts +0 -6
  2772. package/dist/tools/fs/ListDirTool/constants.d.ts.map +0 -1
  2773. package/dist/tools/fs/ListDirTool/constants.js +0 -6
  2774. package/dist/tools/fs/ListDirTool/constants.js.map +0 -1
  2775. package/dist/tools/fs/ListDirTool/prompt.d.ts +0 -2
  2776. package/dist/tools/fs/ListDirTool/prompt.d.ts.map +0 -1
  2777. package/dist/tools/fs/ListDirTool/prompt.js +0 -2
  2778. package/dist/tools/fs/ListDirTool/prompt.js.map +0 -1
  2779. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts +0 -25
  2780. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts.map +0 -1
  2781. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js +0 -90
  2782. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js.map +0 -1
  2783. package/dist/tools/fs/ReadPulseedFileTool/constants.d.ts +0 -6
  2784. package/dist/tools/fs/ReadPulseedFileTool/constants.d.ts.map +0 -1
  2785. package/dist/tools/fs/ReadPulseedFileTool/constants.js +0 -6
  2786. package/dist/tools/fs/ReadPulseedFileTool/constants.js.map +0 -1
  2787. package/dist/tools/fs/ReadPulseedFileTool/prompt.d.ts +0 -2
  2788. package/dist/tools/fs/ReadPulseedFileTool/prompt.d.ts.map +0 -1
  2789. package/dist/tools/fs/ReadPulseedFileTool/prompt.js +0 -2
  2790. package/dist/tools/fs/ReadPulseedFileTool/prompt.js.map +0 -1
  2791. package/dist/tools/fs/ReadTool/ReadTool.d.ts +0 -37
  2792. package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +0 -1
  2793. package/dist/tools/fs/ReadTool/ReadTool.js +0 -77
  2794. package/dist/tools/fs/ReadTool/ReadTool.js.map +0 -1
  2795. package/dist/tools/fs/ReadTool/constants.d.ts +0 -6
  2796. package/dist/tools/fs/ReadTool/constants.d.ts.map +0 -1
  2797. package/dist/tools/fs/ReadTool/constants.js +0 -6
  2798. package/dist/tools/fs/ReadTool/constants.js.map +0 -1
  2799. package/dist/tools/fs/ReadTool/prompt.d.ts +0 -2
  2800. package/dist/tools/fs/ReadTool/prompt.d.ts.map +0 -1
  2801. package/dist/tools/fs/ReadTool/prompt.js +0 -2
  2802. package/dist/tools/fs/ReadTool/prompt.js.map +0 -1
  2803. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts +0 -31
  2804. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts.map +0 -1
  2805. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js +0 -135
  2806. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js.map +0 -1
  2807. package/dist/tools/fs/WritePulseedFileTool/constants.d.ts +0 -6
  2808. package/dist/tools/fs/WritePulseedFileTool/constants.d.ts.map +0 -1
  2809. package/dist/tools/fs/WritePulseedFileTool/constants.js +0 -6
  2810. package/dist/tools/fs/WritePulseedFileTool/constants.js.map +0 -1
  2811. package/dist/tools/fs/WritePulseedFileTool/prompt.d.ts +0 -2
  2812. package/dist/tools/fs/WritePulseedFileTool/prompt.d.ts.map +0 -1
  2813. package/dist/tools/fs/WritePulseedFileTool/prompt.js +0 -2
  2814. package/dist/tools/fs/WritePulseedFileTool/prompt.js.map +0 -1
  2815. package/dist/tools/index.d.ts +0 -13
  2816. package/dist/tools/index.d.ts.map +0 -1
  2817. package/dist/tools/index.js +0 -9
  2818. package/dist/tools/index.js.map +0 -1
  2819. package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts +0 -31
  2820. package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts.map +0 -1
  2821. package/dist/tools/interaction/AskHumanTool/AskHumanTool.js +0 -61
  2822. package/dist/tools/interaction/AskHumanTool/AskHumanTool.js.map +0 -1
  2823. package/dist/tools/interaction/AskHumanTool/constants.d.ts +0 -5
  2824. package/dist/tools/interaction/AskHumanTool/constants.d.ts.map +0 -1
  2825. package/dist/tools/interaction/AskHumanTool/constants.js +0 -5
  2826. package/dist/tools/interaction/AskHumanTool/constants.js.map +0 -1
  2827. package/dist/tools/interaction/AskHumanTool/prompt.d.ts +0 -2
  2828. package/dist/tools/interaction/AskHumanTool/prompt.d.ts.map +0 -1
  2829. package/dist/tools/interaction/AskHumanTool/prompt.js +0 -2
  2830. package/dist/tools/interaction/AskHumanTool/prompt.js.map +0 -1
  2831. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts +0 -37
  2832. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts.map +0 -1
  2833. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js +0 -63
  2834. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js.map +0 -1
  2835. package/dist/tools/interaction/CreatePlanTool/constants.d.ts +0 -5
  2836. package/dist/tools/interaction/CreatePlanTool/constants.d.ts.map +0 -1
  2837. package/dist/tools/interaction/CreatePlanTool/constants.js +0 -5
  2838. package/dist/tools/interaction/CreatePlanTool/constants.js.map +0 -1
  2839. package/dist/tools/interaction/CreatePlanTool/prompt.d.ts +0 -2
  2840. package/dist/tools/interaction/CreatePlanTool/prompt.d.ts.map +0 -1
  2841. package/dist/tools/interaction/CreatePlanTool/prompt.js +0 -2
  2842. package/dist/tools/interaction/CreatePlanTool/prompt.js.map +0 -1
  2843. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts +0 -25
  2844. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts.map +0 -1
  2845. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js +0 -69
  2846. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js.map +0 -1
  2847. package/dist/tools/interaction/ReadPlanTool/constants.d.ts +0 -5
  2848. package/dist/tools/interaction/ReadPlanTool/constants.d.ts.map +0 -1
  2849. package/dist/tools/interaction/ReadPlanTool/constants.js +0 -5
  2850. package/dist/tools/interaction/ReadPlanTool/constants.js.map +0 -1
  2851. package/dist/tools/interaction/ReadPlanTool/prompt.d.ts +0 -2
  2852. package/dist/tools/interaction/ReadPlanTool/prompt.d.ts.map +0 -1
  2853. package/dist/tools/interaction/ReadPlanTool/prompt.js +0 -2
  2854. package/dist/tools/interaction/ReadPlanTool/prompt.js.map +0 -1
  2855. package/dist/tools/interaction/plan-utils.d.ts +0 -3
  2856. package/dist/tools/interaction/plan-utils.d.ts.map +0 -1
  2857. package/dist/tools/interaction/plan-utils.js +0 -7
  2858. package/dist/tools/interaction/plan-utils.js.map +0 -1
  2859. package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts +0 -31
  2860. package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts.map +0 -1
  2861. package/dist/tools/media/ViewImageTool/ViewImageTool.js +0 -53
  2862. package/dist/tools/media/ViewImageTool/ViewImageTool.js.map +0 -1
  2863. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts +0 -34
  2864. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts.map +0 -1
  2865. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js +0 -87
  2866. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js.map +0 -1
  2867. package/dist/tools/mutation/ArchiveGoalTool/constants.d.ts +0 -5
  2868. package/dist/tools/mutation/ArchiveGoalTool/constants.d.ts.map +0 -1
  2869. package/dist/tools/mutation/ArchiveGoalTool/constants.js +0 -5
  2870. package/dist/tools/mutation/ArchiveGoalTool/constants.js.map +0 -1
  2871. package/dist/tools/mutation/ArchiveGoalTool/prompt.d.ts +0 -2
  2872. package/dist/tools/mutation/ArchiveGoalTool/prompt.d.ts.map +0 -1
  2873. package/dist/tools/mutation/ArchiveGoalTool/prompt.js +0 -2
  2874. package/dist/tools/mutation/ArchiveGoalTool/prompt.js.map +0 -1
  2875. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +0 -25
  2876. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +0 -1
  2877. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +0 -59
  2878. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +0 -1
  2879. package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.d.ts +0 -5
  2880. package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.d.ts.map +0 -1
  2881. package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.js +0 -5
  2882. package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.js.map +0 -1
  2883. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts +0 -2
  2884. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts.map +0 -1
  2885. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js +0 -5
  2886. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js.map +0 -1
  2887. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts +0 -28
  2888. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts.map +0 -1
  2889. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js +0 -89
  2890. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js.map +0 -1
  2891. package/dist/tools/mutation/DeleteGoalTool/constants.d.ts +0 -5
  2892. package/dist/tools/mutation/DeleteGoalTool/constants.d.ts.map +0 -1
  2893. package/dist/tools/mutation/DeleteGoalTool/constants.js +0 -5
  2894. package/dist/tools/mutation/DeleteGoalTool/constants.js.map +0 -1
  2895. package/dist/tools/mutation/DeleteGoalTool/prompt.d.ts +0 -2
  2896. package/dist/tools/mutation/DeleteGoalTool/prompt.d.ts.map +0 -1
  2897. package/dist/tools/mutation/DeleteGoalTool/prompt.js +0 -2
  2898. package/dist/tools/mutation/DeleteGoalTool/prompt.js.map +0 -1
  2899. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts +0 -40
  2900. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts.map +0 -1
  2901. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js +0 -84
  2902. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js.map +0 -1
  2903. package/dist/tools/mutation/ResetTrustTool/constants.d.ts +0 -5
  2904. package/dist/tools/mutation/ResetTrustTool/constants.d.ts.map +0 -1
  2905. package/dist/tools/mutation/ResetTrustTool/constants.js +0 -5
  2906. package/dist/tools/mutation/ResetTrustTool/constants.js.map +0 -1
  2907. package/dist/tools/mutation/ResetTrustTool/prompt.d.ts +0 -2
  2908. package/dist/tools/mutation/ResetTrustTool/prompt.d.ts.map +0 -1
  2909. package/dist/tools/mutation/ResetTrustTool/prompt.js +0 -2
  2910. package/dist/tools/mutation/ResetTrustTool/prompt.js.map +0 -1
  2911. package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts +0 -28
  2912. package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts.map +0 -1
  2913. package/dist/tools/mutation/SetGoalTool/SetGoalTool.js +0 -84
  2914. package/dist/tools/mutation/SetGoalTool/SetGoalTool.js.map +0 -1
  2915. package/dist/tools/mutation/SetGoalTool/constants.d.ts +0 -5
  2916. package/dist/tools/mutation/SetGoalTool/constants.d.ts.map +0 -1
  2917. package/dist/tools/mutation/SetGoalTool/constants.js +0 -5
  2918. package/dist/tools/mutation/SetGoalTool/constants.js.map +0 -1
  2919. package/dist/tools/mutation/SetGoalTool/prompt.d.ts +0 -2
  2920. package/dist/tools/mutation/SetGoalTool/prompt.d.ts.map +0 -1
  2921. package/dist/tools/mutation/SetGoalTool/prompt.js +0 -2
  2922. package/dist/tools/mutation/SetGoalTool/prompt.js.map +0 -1
  2923. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +0 -216
  2924. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts.map +0 -1
  2925. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js +0 -104
  2926. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js.map +0 -1
  2927. package/dist/tools/mutation/TaskCreateTool/constants.d.ts +0 -5
  2928. package/dist/tools/mutation/TaskCreateTool/constants.d.ts.map +0 -1
  2929. package/dist/tools/mutation/TaskCreateTool/constants.js +0 -5
  2930. package/dist/tools/mutation/TaskCreateTool/constants.js.map +0 -1
  2931. package/dist/tools/mutation/TaskCreateTool/prompt.d.ts +0 -2
  2932. package/dist/tools/mutation/TaskCreateTool/prompt.d.ts.map +0 -1
  2933. package/dist/tools/mutation/TaskCreateTool/prompt.js +0 -2
  2934. package/dist/tools/mutation/TaskCreateTool/prompt.js.map +0 -1
  2935. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +0 -46
  2936. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts.map +0 -1
  2937. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js +0 -95
  2938. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js.map +0 -1
  2939. package/dist/tools/mutation/TaskOutputTool/constants.d.ts +0 -5
  2940. package/dist/tools/mutation/TaskOutputTool/constants.d.ts.map +0 -1
  2941. package/dist/tools/mutation/TaskOutputTool/constants.js +0 -5
  2942. package/dist/tools/mutation/TaskOutputTool/constants.js.map +0 -1
  2943. package/dist/tools/mutation/TaskOutputTool/prompt.d.ts +0 -2
  2944. package/dist/tools/mutation/TaskOutputTool/prompt.d.ts.map +0 -1
  2945. package/dist/tools/mutation/TaskOutputTool/prompt.js +0 -2
  2946. package/dist/tools/mutation/TaskOutputTool/prompt.js.map +0 -1
  2947. package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts +0 -40
  2948. package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +0 -1
  2949. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +0 -95
  2950. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +0 -1
  2951. package/dist/tools/mutation/TaskStopTool/constants.d.ts +0 -5
  2952. package/dist/tools/mutation/TaskStopTool/constants.d.ts.map +0 -1
  2953. package/dist/tools/mutation/TaskStopTool/constants.js +0 -5
  2954. package/dist/tools/mutation/TaskStopTool/constants.js.map +0 -1
  2955. package/dist/tools/mutation/TaskStopTool/prompt.d.ts +0 -2
  2956. package/dist/tools/mutation/TaskStopTool/prompt.d.ts.map +0 -1
  2957. package/dist/tools/mutation/TaskStopTool/prompt.js +0 -2
  2958. package/dist/tools/mutation/TaskStopTool/prompt.js.map +0 -1
  2959. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +0 -270
  2960. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +0 -1
  2961. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +0 -137
  2962. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +0 -1
  2963. package/dist/tools/mutation/TaskUpdateTool/constants.d.ts +0 -5
  2964. package/dist/tools/mutation/TaskUpdateTool/constants.d.ts.map +0 -1
  2965. package/dist/tools/mutation/TaskUpdateTool/constants.js +0 -5
  2966. package/dist/tools/mutation/TaskUpdateTool/constants.js.map +0 -1
  2967. package/dist/tools/mutation/TaskUpdateTool/prompt.d.ts +0 -2
  2968. package/dist/tools/mutation/TaskUpdateTool/prompt.d.ts.map +0 -1
  2969. package/dist/tools/mutation/TaskUpdateTool/prompt.js +0 -2
  2970. package/dist/tools/mutation/TaskUpdateTool/prompt.js.map +0 -1
  2971. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts +0 -31
  2972. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts.map +0 -1
  2973. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js +0 -55
  2974. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js.map +0 -1
  2975. package/dist/tools/mutation/TogglePluginTool/constants.d.ts +0 -5
  2976. package/dist/tools/mutation/TogglePluginTool/constants.d.ts.map +0 -1
  2977. package/dist/tools/mutation/TogglePluginTool/constants.js +0 -5
  2978. package/dist/tools/mutation/TogglePluginTool/constants.js.map +0 -1
  2979. package/dist/tools/mutation/TogglePluginTool/prompt.d.ts +0 -2
  2980. package/dist/tools/mutation/TogglePluginTool/prompt.d.ts.map +0 -1
  2981. package/dist/tools/mutation/TogglePluginTool/prompt.js +0 -2
  2982. package/dist/tools/mutation/TogglePluginTool/prompt.js.map +0 -1
  2983. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts +0 -31
  2984. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts.map +0 -1
  2985. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js +0 -77
  2986. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js.map +0 -1
  2987. package/dist/tools/mutation/UpdateConfigTool/constants.d.ts +0 -5
  2988. package/dist/tools/mutation/UpdateConfigTool/constants.d.ts.map +0 -1
  2989. package/dist/tools/mutation/UpdateConfigTool/constants.js +0 -5
  2990. package/dist/tools/mutation/UpdateConfigTool/constants.js.map +0 -1
  2991. package/dist/tools/mutation/UpdateConfigTool/prompt.d.ts +0 -2
  2992. package/dist/tools/mutation/UpdateConfigTool/prompt.d.ts.map +0 -1
  2993. package/dist/tools/mutation/UpdateConfigTool/prompt.js +0 -2
  2994. package/dist/tools/mutation/UpdateConfigTool/prompt.js.map +0 -1
  2995. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts +0 -40
  2996. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts.map +0 -1
  2997. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js +0 -73
  2998. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js.map +0 -1
  2999. package/dist/tools/mutation/UpdateGoalTool/constants.d.ts +0 -5
  3000. package/dist/tools/mutation/UpdateGoalTool/constants.d.ts.map +0 -1
  3001. package/dist/tools/mutation/UpdateGoalTool/constants.js +0 -5
  3002. package/dist/tools/mutation/UpdateGoalTool/constants.js.map +0 -1
  3003. package/dist/tools/mutation/UpdateGoalTool/prompt.d.ts +0 -2
  3004. package/dist/tools/mutation/UpdateGoalTool/prompt.d.ts.map +0 -1
  3005. package/dist/tools/mutation/UpdateGoalTool/prompt.js +0 -2
  3006. package/dist/tools/mutation/UpdateGoalTool/prompt.js.map +0 -1
  3007. package/dist/tools/mutation/task-history-utils.d.ts +0 -4
  3008. package/dist/tools/mutation/task-history-utils.d.ts.map +0 -1
  3009. package/dist/tools/mutation/task-history-utils.js +0 -32
  3010. package/dist/tools/mutation/task-history-utils.js.map +0 -1
  3011. package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +0 -144
  3012. package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts.map +0 -1
  3013. package/dist/tools/network/GitHubCliTool/GitHubCliTool.js +0 -245
  3014. package/dist/tools/network/GitHubCliTool/GitHubCliTool.js.map +0 -1
  3015. package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +0 -71
  3016. package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +0 -1
  3017. package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +0 -295
  3018. package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +0 -1
  3019. package/dist/tools/network/HttpFetchTool/constants.d.ts +0 -6
  3020. package/dist/tools/network/HttpFetchTool/constants.d.ts.map +0 -1
  3021. package/dist/tools/network/HttpFetchTool/constants.js +0 -6
  3022. package/dist/tools/network/HttpFetchTool/constants.js.map +0 -1
  3023. package/dist/tools/network/HttpFetchTool/prompt.d.ts +0 -2
  3024. package/dist/tools/network/HttpFetchTool/prompt.d.ts.map +0 -1
  3025. package/dist/tools/network/HttpFetchTool/prompt.js +0 -2
  3026. package/dist/tools/network/HttpFetchTool/prompt.js.map +0 -1
  3027. package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +0 -109
  3028. package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts.map +0 -1
  3029. package/dist/tools/network/McpStdioTool/McpStdioTool.js +0 -121
  3030. package/dist/tools/network/McpStdioTool/McpStdioTool.js.map +0 -1
  3031. package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts +0 -49
  3032. package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts.map +0 -1
  3033. package/dist/tools/network/WebSearchTool/WebSearchTool.js +0 -99
  3034. package/dist/tools/network/WebSearchTool/WebSearchTool.js.map +0 -1
  3035. package/dist/tools/network/WebSearchTool/constants.d.ts +0 -6
  3036. package/dist/tools/network/WebSearchTool/constants.d.ts.map +0 -1
  3037. package/dist/tools/network/WebSearchTool/constants.js +0 -6
  3038. package/dist/tools/network/WebSearchTool/constants.js.map +0 -1
  3039. package/dist/tools/network/WebSearchTool/prompt.d.ts +0 -2
  3040. package/dist/tools/network/WebSearchTool/prompt.d.ts.map +0 -1
  3041. package/dist/tools/network/WebSearchTool/prompt.js +0 -2
  3042. package/dist/tools/network/WebSearchTool/prompt.js.map +0 -1
  3043. package/dist/tools/permission.d.ts +0 -43
  3044. package/dist/tools/permission.d.ts.map +0 -1
  3045. package/dist/tools/permission.js +0 -134
  3046. package/dist/tools/permission.js.map +0 -1
  3047. package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts +0 -25
  3048. package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts.map +0 -1
  3049. package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +0 -100
  3050. package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +0 -1
  3051. package/dist/tools/query/ArchitectureTool/constants.d.ts +0 -6
  3052. package/dist/tools/query/ArchitectureTool/constants.d.ts.map +0 -1
  3053. package/dist/tools/query/ArchitectureTool/constants.js +0 -6
  3054. package/dist/tools/query/ArchitectureTool/constants.js.map +0 -1
  3055. package/dist/tools/query/ArchitectureTool/prompt.d.ts +0 -2
  3056. package/dist/tools/query/ArchitectureTool/prompt.d.ts.map +0 -1
  3057. package/dist/tools/query/ArchitectureTool/prompt.js +0 -2
  3058. package/dist/tools/query/ArchitectureTool/prompt.js.map +0 -1
  3059. package/dist/tools/query/ConfigTool/ConfigTool.d.ts +0 -25
  3060. package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +0 -1
  3061. package/dist/tools/query/ConfigTool/ConfigTool.js +0 -90
  3062. package/dist/tools/query/ConfigTool/ConfigTool.js.map +0 -1
  3063. package/dist/tools/query/ConfigTool/constants.d.ts +0 -6
  3064. package/dist/tools/query/ConfigTool/constants.d.ts.map +0 -1
  3065. package/dist/tools/query/ConfigTool/constants.js +0 -6
  3066. package/dist/tools/query/ConfigTool/constants.js.map +0 -1
  3067. package/dist/tools/query/ConfigTool/prompt.d.ts +0 -2
  3068. package/dist/tools/query/ConfigTool/prompt.d.ts.map +0 -1
  3069. package/dist/tools/query/ConfigTool/prompt.js +0 -2
  3070. package/dist/tools/query/ConfigTool/prompt.js.map +0 -1
  3071. package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts +0 -36
  3072. package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts.map +0 -1
  3073. package/dist/tools/query/GoalStateTool/GoalStateTool.js +0 -128
  3074. package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +0 -1
  3075. package/dist/tools/query/GoalStateTool/constants.d.ts +0 -6
  3076. package/dist/tools/query/GoalStateTool/constants.d.ts.map +0 -1
  3077. package/dist/tools/query/GoalStateTool/constants.js +0 -6
  3078. package/dist/tools/query/GoalStateTool/constants.js.map +0 -1
  3079. package/dist/tools/query/GoalStateTool/prompt.d.ts +0 -2
  3080. package/dist/tools/query/GoalStateTool/prompt.d.ts.map +0 -1
  3081. package/dist/tools/query/GoalStateTool/prompt.js +0 -2
  3082. package/dist/tools/query/GoalStateTool/prompt.js.map +0 -1
  3083. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts +0 -61
  3084. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +0 -1
  3085. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +0 -118
  3086. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +0 -1
  3087. package/dist/tools/query/KnowledgeQueryTool/constants.d.ts +0 -6
  3088. package/dist/tools/query/KnowledgeQueryTool/constants.d.ts.map +0 -1
  3089. package/dist/tools/query/KnowledgeQueryTool/constants.js +0 -6
  3090. package/dist/tools/query/KnowledgeQueryTool/constants.js.map +0 -1
  3091. package/dist/tools/query/KnowledgeQueryTool/prompt.d.ts +0 -2
  3092. package/dist/tools/query/KnowledgeQueryTool/prompt.d.ts.map +0 -1
  3093. package/dist/tools/query/KnowledgeQueryTool/prompt.js +0 -2
  3094. package/dist/tools/query/KnowledgeQueryTool/prompt.js.map +0 -1
  3095. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +0 -69
  3096. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts.map +0 -1
  3097. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js +0 -98
  3098. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js.map +0 -1
  3099. package/dist/tools/query/MemoryRecallTool/constants.d.ts +0 -6
  3100. package/dist/tools/query/MemoryRecallTool/constants.d.ts.map +0 -1
  3101. package/dist/tools/query/MemoryRecallTool/constants.js +0 -6
  3102. package/dist/tools/query/MemoryRecallTool/constants.js.map +0 -1
  3103. package/dist/tools/query/MemoryRecallTool/prompt.d.ts +0 -2
  3104. package/dist/tools/query/MemoryRecallTool/prompt.d.ts.map +0 -1
  3105. package/dist/tools/query/MemoryRecallTool/prompt.js +0 -2
  3106. package/dist/tools/query/MemoryRecallTool/prompt.js.map +0 -1
  3107. package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts +0 -28
  3108. package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts.map +0 -1
  3109. package/dist/tools/query/PluginStateTool/PluginStateTool.js +0 -91
  3110. package/dist/tools/query/PluginStateTool/PluginStateTool.js.map +0 -1
  3111. package/dist/tools/query/PluginStateTool/constants.d.ts +0 -6
  3112. package/dist/tools/query/PluginStateTool/constants.d.ts.map +0 -1
  3113. package/dist/tools/query/PluginStateTool/constants.js +0 -6
  3114. package/dist/tools/query/PluginStateTool/constants.js.map +0 -1
  3115. package/dist/tools/query/PluginStateTool/prompt.d.ts +0 -2
  3116. package/dist/tools/query/PluginStateTool/prompt.d.ts.map +0 -1
  3117. package/dist/tools/query/PluginStateTool/prompt.js +0 -2
  3118. package/dist/tools/query/PluginStateTool/prompt.js.map +0 -1
  3119. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts +0 -57
  3120. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts.map +0 -1
  3121. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js +0 -143
  3122. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js.map +0 -1
  3123. package/dist/tools/query/ProgressHistoryTool/constants.d.ts +0 -6
  3124. package/dist/tools/query/ProgressHistoryTool/constants.d.ts.map +0 -1
  3125. package/dist/tools/query/ProgressHistoryTool/constants.js +0 -6
  3126. package/dist/tools/query/ProgressHistoryTool/constants.js.map +0 -1
  3127. package/dist/tools/query/ProgressHistoryTool/prompt.d.ts +0 -2
  3128. package/dist/tools/query/ProgressHistoryTool/prompt.d.ts.map +0 -1
  3129. package/dist/tools/query/ProgressHistoryTool/prompt.js +0 -2
  3130. package/dist/tools/query/ProgressHistoryTool/prompt.js.map +0 -1
  3131. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts +0 -42
  3132. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts.map +0 -1
  3133. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js +0 -118
  3134. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js.map +0 -1
  3135. package/dist/tools/query/SessionHistoryTool/constants.d.ts +0 -6
  3136. package/dist/tools/query/SessionHistoryTool/constants.d.ts.map +0 -1
  3137. package/dist/tools/query/SessionHistoryTool/constants.js +0 -6
  3138. package/dist/tools/query/SessionHistoryTool/constants.js.map +0 -1
  3139. package/dist/tools/query/SessionHistoryTool/prompt.d.ts +0 -2
  3140. package/dist/tools/query/SessionHistoryTool/prompt.d.ts.map +0 -1
  3141. package/dist/tools/query/SessionHistoryTool/prompt.js +0 -2
  3142. package/dist/tools/query/SessionHistoryTool/prompt.js.map +0 -1
  3143. package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts +0 -28
  3144. package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts.map +0 -1
  3145. package/dist/tools/query/SkillSearchTool/SkillSearchTool.js +0 -44
  3146. package/dist/tools/query/SkillSearchTool/SkillSearchTool.js.map +0 -1
  3147. package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts +0 -118
  3148. package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts.map +0 -1
  3149. package/dist/tools/query/SoilQueryTool/SoilQueryTool.js +0 -335
  3150. package/dist/tools/query/SoilQueryTool/SoilQueryTool.js.map +0 -1
  3151. package/dist/tools/query/SoilQueryTool/constants.d.ts +0 -8
  3152. package/dist/tools/query/SoilQueryTool/constants.d.ts.map +0 -1
  3153. package/dist/tools/query/SoilQueryTool/constants.js +0 -8
  3154. package/dist/tools/query/SoilQueryTool/constants.js.map +0 -1
  3155. package/dist/tools/query/SoilQueryTool/prompt.d.ts +0 -2
  3156. package/dist/tools/query/SoilQueryTool/prompt.d.ts.map +0 -1
  3157. package/dist/tools/query/SoilQueryTool/prompt.js +0 -2
  3158. package/dist/tools/query/SoilQueryTool/prompt.js.map +0 -1
  3159. package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts +0 -34
  3160. package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts.map +0 -1
  3161. package/dist/tools/query/TaskGetTool/TaskGetTool.js +0 -77
  3162. package/dist/tools/query/TaskGetTool/TaskGetTool.js.map +0 -1
  3163. package/dist/tools/query/TaskGetTool/constants.d.ts +0 -6
  3164. package/dist/tools/query/TaskGetTool/constants.d.ts.map +0 -1
  3165. package/dist/tools/query/TaskGetTool/constants.js +0 -6
  3166. package/dist/tools/query/TaskGetTool/constants.js.map +0 -1
  3167. package/dist/tools/query/TaskGetTool/prompt.d.ts +0 -2
  3168. package/dist/tools/query/TaskGetTool/prompt.d.ts.map +0 -1
  3169. package/dist/tools/query/TaskGetTool/prompt.js +0 -2
  3170. package/dist/tools/query/TaskGetTool/prompt.js.map +0 -1
  3171. package/dist/tools/query/TaskListTool/TaskListTool.d.ts +0 -58
  3172. package/dist/tools/query/TaskListTool/TaskListTool.d.ts.map +0 -1
  3173. package/dist/tools/query/TaskListTool/TaskListTool.js +0 -101
  3174. package/dist/tools/query/TaskListTool/TaskListTool.js.map +0 -1
  3175. package/dist/tools/query/TaskListTool/constants.d.ts +0 -6
  3176. package/dist/tools/query/TaskListTool/constants.d.ts.map +0 -1
  3177. package/dist/tools/query/TaskListTool/constants.js +0 -6
  3178. package/dist/tools/query/TaskListTool/constants.js.map +0 -1
  3179. package/dist/tools/query/TaskListTool/prompt.d.ts +0 -2
  3180. package/dist/tools/query/TaskListTool/prompt.d.ts.map +0 -1
  3181. package/dist/tools/query/TaskListTool/prompt.js +0 -2
  3182. package/dist/tools/query/TaskListTool/prompt.js.map +0 -1
  3183. package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts +0 -40
  3184. package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts.map +0 -1
  3185. package/dist/tools/query/ToolSearchTool/ToolSearchTool.js +0 -48
  3186. package/dist/tools/query/ToolSearchTool/ToolSearchTool.js.map +0 -1
  3187. package/dist/tools/query/ToolSearchTool/constants.d.ts +0 -6
  3188. package/dist/tools/query/ToolSearchTool/constants.d.ts.map +0 -1
  3189. package/dist/tools/query/ToolSearchTool/constants.js +0 -6
  3190. package/dist/tools/query/ToolSearchTool/constants.js.map +0 -1
  3191. package/dist/tools/query/ToolSearchTool/prompt.d.ts +0 -2
  3192. package/dist/tools/query/ToolSearchTool/prompt.d.ts.map +0 -1
  3193. package/dist/tools/query/ToolSearchTool/prompt.js +0 -2
  3194. package/dist/tools/query/ToolSearchTool/prompt.js.map +0 -1
  3195. package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts +0 -30
  3196. package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts.map +0 -1
  3197. package/dist/tools/query/TrustStateTool/TrustStateTool.js +0 -92
  3198. package/dist/tools/query/TrustStateTool/TrustStateTool.js.map +0 -1
  3199. package/dist/tools/query/TrustStateTool/constants.d.ts +0 -6
  3200. package/dist/tools/query/TrustStateTool/constants.d.ts.map +0 -1
  3201. package/dist/tools/query/TrustStateTool/constants.js +0 -6
  3202. package/dist/tools/query/TrustStateTool/constants.js.map +0 -1
  3203. package/dist/tools/query/TrustStateTool/prompt.d.ts +0 -2
  3204. package/dist/tools/query/TrustStateTool/prompt.d.ts.map +0 -1
  3205. package/dist/tools/query/TrustStateTool/prompt.js +0 -2
  3206. package/dist/tools/query/TrustStateTool/prompt.js.map +0 -1
  3207. package/dist/tools/registry.d.ts +0 -44
  3208. package/dist/tools/registry.d.ts.map +0 -1
  3209. package/dist/tools/registry.js +0 -132
  3210. package/dist/tools/registry.js.map +0 -1
  3211. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +0 -1790
  3212. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +0 -1
  3213. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js +0 -86
  3214. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js.map +0 -1
  3215. package/dist/tools/schedule/CreateScheduleTool/constants.d.ts +0 -5
  3216. package/dist/tools/schedule/CreateScheduleTool/constants.d.ts.map +0 -1
  3217. package/dist/tools/schedule/CreateScheduleTool/constants.js +0 -5
  3218. package/dist/tools/schedule/CreateScheduleTool/constants.js.map +0 -1
  3219. package/dist/tools/schedule/CreateScheduleTool/prompt.d.ts +0 -2
  3220. package/dist/tools/schedule/CreateScheduleTool/prompt.d.ts.map +0 -1
  3221. package/dist/tools/schedule/CreateScheduleTool/prompt.js +0 -2
  3222. package/dist/tools/schedule/CreateScheduleTool/prompt.js.map +0 -1
  3223. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts +0 -28
  3224. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts.map +0 -1
  3225. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js +0 -66
  3226. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js.map +0 -1
  3227. package/dist/tools/schedule/GetScheduleTool/constants.d.ts +0 -6
  3228. package/dist/tools/schedule/GetScheduleTool/constants.d.ts.map +0 -1
  3229. package/dist/tools/schedule/GetScheduleTool/constants.js +0 -6
  3230. package/dist/tools/schedule/GetScheduleTool/constants.js.map +0 -1
  3231. package/dist/tools/schedule/GetScheduleTool/prompt.d.ts +0 -2
  3232. package/dist/tools/schedule/GetScheduleTool/prompt.d.ts.map +0 -1
  3233. package/dist/tools/schedule/GetScheduleTool/prompt.js +0 -2
  3234. package/dist/tools/schedule/GetScheduleTool/prompt.js.map +0 -1
  3235. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +0 -40
  3236. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts.map +0 -1
  3237. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js +0 -83
  3238. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js.map +0 -1
  3239. package/dist/tools/schedule/ListSchedulesTool/constants.d.ts +0 -6
  3240. package/dist/tools/schedule/ListSchedulesTool/constants.d.ts.map +0 -1
  3241. package/dist/tools/schedule/ListSchedulesTool/constants.js +0 -6
  3242. package/dist/tools/schedule/ListSchedulesTool/constants.js.map +0 -1
  3243. package/dist/tools/schedule/ListSchedulesTool/prompt.d.ts +0 -2
  3244. package/dist/tools/schedule/ListSchedulesTool/prompt.d.ts.map +0 -1
  3245. package/dist/tools/schedule/ListSchedulesTool/prompt.js +0 -2
  3246. package/dist/tools/schedule/ListSchedulesTool/prompt.js.map +0 -1
  3247. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts +0 -32
  3248. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts.map +0 -1
  3249. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js +0 -81
  3250. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js.map +0 -1
  3251. package/dist/tools/schedule/PauseScheduleTool/constants.d.ts +0 -5
  3252. package/dist/tools/schedule/PauseScheduleTool/constants.d.ts.map +0 -1
  3253. package/dist/tools/schedule/PauseScheduleTool/constants.js +0 -5
  3254. package/dist/tools/schedule/PauseScheduleTool/constants.js.map +0 -1
  3255. package/dist/tools/schedule/PauseScheduleTool/prompt.d.ts +0 -2
  3256. package/dist/tools/schedule/PauseScheduleTool/prompt.d.ts.map +0 -1
  3257. package/dist/tools/schedule/PauseScheduleTool/prompt.js +0 -2
  3258. package/dist/tools/schedule/PauseScheduleTool/prompt.js.map +0 -1
  3259. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts +0 -35
  3260. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts.map +0 -1
  3261. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js +0 -87
  3262. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js.map +0 -1
  3263. package/dist/tools/schedule/RemoveScheduleTool/constants.d.ts +0 -5
  3264. package/dist/tools/schedule/RemoveScheduleTool/constants.d.ts.map +0 -1
  3265. package/dist/tools/schedule/RemoveScheduleTool/constants.js +0 -5
  3266. package/dist/tools/schedule/RemoveScheduleTool/constants.js.map +0 -1
  3267. package/dist/tools/schedule/RemoveScheduleTool/prompt.d.ts +0 -2
  3268. package/dist/tools/schedule/RemoveScheduleTool/prompt.d.ts.map +0 -1
  3269. package/dist/tools/schedule/RemoveScheduleTool/prompt.js +0 -2
  3270. package/dist/tools/schedule/RemoveScheduleTool/prompt.js.map +0 -1
  3271. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts +0 -32
  3272. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts.map +0 -1
  3273. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js +0 -81
  3274. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js.map +0 -1
  3275. package/dist/tools/schedule/ResumeScheduleTool/constants.d.ts +0 -5
  3276. package/dist/tools/schedule/ResumeScheduleTool/constants.d.ts.map +0 -1
  3277. package/dist/tools/schedule/ResumeScheduleTool/constants.js +0 -5
  3278. package/dist/tools/schedule/ResumeScheduleTool/constants.js.map +0 -1
  3279. package/dist/tools/schedule/ResumeScheduleTool/prompt.d.ts +0 -2
  3280. package/dist/tools/schedule/ResumeScheduleTool/prompt.d.ts.map +0 -1
  3281. package/dist/tools/schedule/ResumeScheduleTool/prompt.js +0 -2
  3282. package/dist/tools/schedule/ResumeScheduleTool/prompt.js.map +0 -1
  3283. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts +0 -40
  3284. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts.map +0 -1
  3285. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js +0 -126
  3286. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js.map +0 -1
  3287. package/dist/tools/schedule/RunScheduleTool/constants.d.ts +0 -5
  3288. package/dist/tools/schedule/RunScheduleTool/constants.d.ts.map +0 -1
  3289. package/dist/tools/schedule/RunScheduleTool/constants.js +0 -5
  3290. package/dist/tools/schedule/RunScheduleTool/constants.js.map +0 -1
  3291. package/dist/tools/schedule/RunScheduleTool/prompt.d.ts +0 -2
  3292. package/dist/tools/schedule/RunScheduleTool/prompt.d.ts.map +0 -1
  3293. package/dist/tools/schedule/RunScheduleTool/prompt.js +0 -2
  3294. package/dist/tools/schedule/RunScheduleTool/prompt.js.map +0 -1
  3295. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +0 -784
  3296. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +0 -1
  3297. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js +0 -118
  3298. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js.map +0 -1
  3299. package/dist/tools/schedule/UpdateScheduleTool/constants.d.ts +0 -5
  3300. package/dist/tools/schedule/UpdateScheduleTool/constants.d.ts.map +0 -1
  3301. package/dist/tools/schedule/UpdateScheduleTool/constants.js +0 -5
  3302. package/dist/tools/schedule/UpdateScheduleTool/constants.js.map +0 -1
  3303. package/dist/tools/schedule/UpdateScheduleTool/prompt.d.ts +0 -2
  3304. package/dist/tools/schedule/UpdateScheduleTool/prompt.d.ts.map +0 -1
  3305. package/dist/tools/schedule/UpdateScheduleTool/prompt.js +0 -2
  3306. package/dist/tools/schedule/UpdateScheduleTool/prompt.js.map +0 -1
  3307. package/dist/tools/shared/parse-tool-output.d.ts +0 -18
  3308. package/dist/tools/shared/parse-tool-output.d.ts.map +0 -1
  3309. package/dist/tools/shared/parse-tool-output.js +0 -53
  3310. package/dist/tools/shared/parse-tool-output.js.map +0 -1
  3311. package/dist/tools/system/EnvTool/EnvTool.d.ts +0 -35
  3312. package/dist/tools/system/EnvTool/EnvTool.d.ts.map +0 -1
  3313. package/dist/tools/system/EnvTool/EnvTool.js +0 -127
  3314. package/dist/tools/system/EnvTool/EnvTool.js.map +0 -1
  3315. package/dist/tools/system/EnvTool/constants.d.ts +0 -6
  3316. package/dist/tools/system/EnvTool/constants.d.ts.map +0 -1
  3317. package/dist/tools/system/EnvTool/constants.js +0 -6
  3318. package/dist/tools/system/EnvTool/constants.js.map +0 -1
  3319. package/dist/tools/system/EnvTool/prompt.d.ts +0 -2
  3320. package/dist/tools/system/EnvTool/prompt.d.ts.map +0 -1
  3321. package/dist/tools/system/EnvTool/prompt.js +0 -2
  3322. package/dist/tools/system/EnvTool/prompt.js.map +0 -1
  3323. package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +0 -43
  3324. package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +0 -1
  3325. package/dist/tools/system/GitDiffTool/GitDiffTool.js +0 -133
  3326. package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +0 -1
  3327. package/dist/tools/system/GitDiffTool/constants.d.ts +0 -6
  3328. package/dist/tools/system/GitDiffTool/constants.d.ts.map +0 -1
  3329. package/dist/tools/system/GitDiffTool/constants.js +0 -6
  3330. package/dist/tools/system/GitDiffTool/constants.js.map +0 -1
  3331. package/dist/tools/system/GitDiffTool/prompt.d.ts +0 -2
  3332. package/dist/tools/system/GitDiffTool/prompt.d.ts.map +0 -1
  3333. package/dist/tools/system/GitDiffTool/prompt.js +0 -2
  3334. package/dist/tools/system/GitDiffTool/prompt.js.map +0 -1
  3335. package/dist/tools/system/GitLogTool/GitLogTool.d.ts +0 -61
  3336. package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +0 -1
  3337. package/dist/tools/system/GitLogTool/GitLogTool.js +0 -111
  3338. package/dist/tools/system/GitLogTool/GitLogTool.js.map +0 -1
  3339. package/dist/tools/system/GitLogTool/constants.d.ts +0 -6
  3340. package/dist/tools/system/GitLogTool/constants.d.ts.map +0 -1
  3341. package/dist/tools/system/GitLogTool/constants.js +0 -6
  3342. package/dist/tools/system/GitLogTool/constants.js.map +0 -1
  3343. package/dist/tools/system/GitLogTool/prompt.d.ts +0 -2
  3344. package/dist/tools/system/GitLogTool/prompt.d.ts.map +0 -1
  3345. package/dist/tools/system/GitLogTool/prompt.js +0 -2
  3346. package/dist/tools/system/GitLogTool/prompt.js.map +0 -1
  3347. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +0 -220
  3348. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +0 -1
  3349. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +0 -354
  3350. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +0 -1
  3351. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts +0 -61
  3352. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts.map +0 -1
  3353. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js +0 -147
  3354. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js.map +0 -1
  3355. package/dist/tools/system/ProcessStatusTool/constants.d.ts +0 -6
  3356. package/dist/tools/system/ProcessStatusTool/constants.d.ts.map +0 -1
  3357. package/dist/tools/system/ProcessStatusTool/constants.js +0 -6
  3358. package/dist/tools/system/ProcessStatusTool/constants.js.map +0 -1
  3359. package/dist/tools/system/ProcessStatusTool/prompt.d.ts +0 -2
  3360. package/dist/tools/system/ProcessStatusTool/prompt.d.ts.map +0 -1
  3361. package/dist/tools/system/ProcessStatusTool/prompt.js +0 -2
  3362. package/dist/tools/system/ProcessStatusTool/prompt.js.map +0 -1
  3363. package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts +0 -44
  3364. package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +0 -1
  3365. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +0 -40
  3366. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +0 -1
  3367. package/dist/tools/system/ShellTool/ShellTool.d.ts +0 -48
  3368. package/dist/tools/system/ShellTool/ShellTool.d.ts.map +0 -1
  3369. package/dist/tools/system/ShellTool/ShellTool.js +0 -68
  3370. package/dist/tools/system/ShellTool/ShellTool.js.map +0 -1
  3371. package/dist/tools/system/ShellTool/command-policy.d.ts +0 -14
  3372. package/dist/tools/system/ShellTool/command-policy.d.ts.map +0 -1
  3373. package/dist/tools/system/ShellTool/command-policy.js +0 -121
  3374. package/dist/tools/system/ShellTool/command-policy.js.map +0 -1
  3375. package/dist/tools/system/ShellTool/constants.d.ts +0 -5
  3376. package/dist/tools/system/ShellTool/constants.d.ts.map +0 -1
  3377. package/dist/tools/system/ShellTool/constants.js +0 -5
  3378. package/dist/tools/system/ShellTool/constants.js.map +0 -1
  3379. package/dist/tools/system/ShellTool/prompt.d.ts +0 -2
  3380. package/dist/tools/system/ShellTool/prompt.d.ts.map +0 -1
  3381. package/dist/tools/system/ShellTool/prompt.js +0 -2
  3382. package/dist/tools/system/ShellTool/prompt.js.map +0 -1
  3383. package/dist/tools/system/SleepTool/SleepTool.d.ts +0 -35
  3384. package/dist/tools/system/SleepTool/SleepTool.d.ts.map +0 -1
  3385. package/dist/tools/system/SleepTool/SleepTool.js +0 -50
  3386. package/dist/tools/system/SleepTool/SleepTool.js.map +0 -1
  3387. package/dist/tools/system/SleepTool/constants.d.ts +0 -6
  3388. package/dist/tools/system/SleepTool/constants.d.ts.map +0 -1
  3389. package/dist/tools/system/SleepTool/constants.js +0 -6
  3390. package/dist/tools/system/SleepTool/constants.js.map +0 -1
  3391. package/dist/tools/system/SleepTool/prompt.d.ts +0 -2
  3392. package/dist/tools/system/SleepTool/prompt.d.ts.map +0 -1
  3393. package/dist/tools/system/SleepTool/prompt.js +0 -2
  3394. package/dist/tools/system/SleepTool/prompt.js.map +0 -1
  3395. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +0 -53
  3396. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +0 -1
  3397. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +0 -183
  3398. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +0 -1
  3399. package/dist/tools/system/TestRunnerTool/constants.d.ts +0 -5
  3400. package/dist/tools/system/TestRunnerTool/constants.d.ts.map +0 -1
  3401. package/dist/tools/system/TestRunnerTool/constants.js +0 -5
  3402. package/dist/tools/system/TestRunnerTool/constants.js.map +0 -1
  3403. package/dist/tools/system/TestRunnerTool/prompt.d.ts +0 -2
  3404. package/dist/tools/system/TestRunnerTool/prompt.d.ts.map +0 -1
  3405. package/dist/tools/system/TestRunnerTool/prompt.js +0 -2
  3406. package/dist/tools/system/TestRunnerTool/prompt.js.map +0 -1
  3407. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts +0 -61
  3408. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +0 -1
  3409. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +0 -42
  3410. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +0 -1
  3411. package/dist/tools/system/test-runner.d.ts +0 -3
  3412. package/dist/tools/system/test-runner.d.ts.map +0 -1
  3413. package/dist/tools/system/test-runner.js +0 -2
  3414. package/dist/tools/system/test-runner.js.map +0 -1
  3415. package/dist/tools/tool-definition-adapter.d.ts +0 -20
  3416. package/dist/tools/tool-definition-adapter.d.ts.map +0 -1
  3417. package/dist/tools/tool-definition-adapter.js +0 -52
  3418. package/dist/tools/tool-definition-adapter.js.map +0 -1
  3419. package/dist/tools/types.d.ts +0 -234
  3420. package/dist/tools/types.d.ts.map +0 -1
  3421. package/dist/tools/types.js +0 -73
  3422. package/dist/tools/types.js.map +0 -1
@@ -1,1667 +0,0 @@
1
- import * as fs from "node:fs";
2
- import * as path from "node:path";
3
- import { spawnSync } from "node:child_process";
4
- import { getProviderRuntimeFingerprint } from "../../base/llm/provider-config.js";
5
- import { EventServer } from "../event/server.js";
6
- import { DaemonConfigSchema, DaemonStateSchema, ResidentActivitySchema } from "../../base/types/daemon.js";
7
- import { resolveScheduleEntry } from "../schedule/entry-resolver.js";
8
- import { lintAgentMemory } from "../../platform/knowledge/knowledge-manager-lint.js";
9
- import { DreamAnalyzer } from "../../platform/dream/dream-analyzer.js";
10
- import { DreamConsolidator } from "../../platform/dream/dream-consolidator.js";
11
- import { DreamScheduleSuggestionStore } from "../../platform/dream/dream-schedule-suggestions.js";
12
- import { createRuntimeDreamSoilSyncService } from "../../platform/dream/dream-soil-sync.js";
13
- import { runDreamConsolidation } from "../../reflection/dream-consolidation.js";
14
- import { generateCronEntry } from "./signals.js";
15
- import { rotateDaemonLog, calculateAdaptiveInterval as calcAdaptiveInterval } from "./health.js";
16
- import { HttpChannelAdapter } from "../gateway/index.js";
17
- import { PulSeedEventSchema } from "../../base/types/drive.js";
18
- import { LoopSupervisor } from "../executor/index.js";
19
- import { ApprovalStore, OutboxStore, RuntimeHealthStore, RuntimeOperationStore, createRuntimeStorePaths, } from "../store/index.js";
20
- import { LeaderLockManager } from "../leader-lock-manager.js";
21
- import { GoalLeaseManager } from "../goal-lease-manager.js";
22
- import { JournalBackedQueue } from "../queue/journal-backed-queue.js";
23
- import { QueueClaimSweeper } from "../queue/queue-claim-sweeper.js";
24
- import { ApprovalBroker } from "../approval-broker.js";
25
- import { CommandDispatcher } from "../command-dispatcher.js";
26
- import { EventDispatcher } from "../event/dispatcher.js";
27
- import { RuntimeOwnershipCoordinator, } from "./runtime-ownership.js";
28
- import { ProcessShutdownCoordinator, startDaemonStatusHeartbeat, } from "./runner-lifecycle.js";
29
- import { handleCriticalDaemonError, handleDaemonLoopError, runCommandWithHealth as runCommandWithHealthFn, } from "./runner-errors.js";
30
- import { reconcileInterruptedExecutions as reconcileInterruptedExecutionsFn } from "./runner-recovery.js";
31
- import { checkCrashRecoveryMarker, cleanupDaemonRun, collectGoalCycleScheduleSnapshot, deleteShutdownMarkerFile, determineActiveGoalsForCycle, expireOldCronTasks, getMaxGapScoreForGoals, getNextIntervalForGoals, processCronTasksForDaemon, processScheduleEntriesForDaemon, runRuntimeStoreMaintenanceCycle, readShutdownMarkerFile, restoreInterruptedGoals, runProactiveMaintenance, runSupervisorMaintenanceCycleForDaemon, saveDaemonStateFile, writeChatMessageEvent, writeShutdownMarkerFile, } from "./index.js";
32
- const RUNTIME_JOURNAL_MAX_ATTEMPTS = 1_000;
33
- function resolveResidentWorkspaceDir(configuredPath) {
34
- const trimmed = configuredPath?.trim();
35
- return trimmed ? path.resolve(trimmed) : process.cwd();
36
- }
37
- function gatherResidentWorkspaceContext(workspaceDir, seedDescription) {
38
- const parts = [`Workspace: ${workspaceDir}`];
39
- const seed = seedDescription?.trim();
40
- if (seed) {
41
- parts.push(`Resident trigger hint: ${seed}`);
42
- }
43
- try {
44
- const pkgPath = path.join(workspaceDir, "package.json");
45
- const pkgRaw = fs.readFileSync(pkgPath, "utf-8");
46
- const pkg = JSON.parse(pkgRaw);
47
- const name = typeof pkg.name === "string" ? pkg.name : "";
48
- const description = typeof pkg.description === "string" ? pkg.description : "";
49
- const scripts = pkg.scripts && typeof pkg.scripts === "object"
50
- ? Object.keys(pkg.scripts).join(", ")
51
- : "";
52
- const prefix = name ? `Node.js project '${name}'` : "Node.js project";
53
- const descPart = description ? `. ${description}` : "";
54
- const scriptsPart = scripts ? `. Scripts: ${scripts}` : "";
55
- parts.push(`${prefix}${descPart}${scriptsPart}`);
56
- }
57
- catch {
58
- // No package metadata available.
59
- }
60
- try {
61
- const entries = fs.readdirSync(workspaceDir);
62
- const dirs = entries.filter((entry) => {
63
- try {
64
- return fs.statSync(path.join(workspaceDir, entry)).isDirectory();
65
- }
66
- catch {
67
- return false;
68
- }
69
- });
70
- const files = entries.filter((entry) => {
71
- try {
72
- return fs.statSync(path.join(workspaceDir, entry)).isFile();
73
- }
74
- catch {
75
- return false;
76
- }
77
- });
78
- const visibleEntries = [
79
- dirs.slice(0, 10).map((entry) => `${entry}/`).join(", "),
80
- files.slice(0, 5).join(", "),
81
- ].filter(Boolean).join(", ");
82
- if (visibleEntries) {
83
- parts.push(`Files: ${visibleEntries}`);
84
- }
85
- }
86
- catch {
87
- // Workspace listing is best-effort.
88
- }
89
- const gitResult = spawnSync("git", ["log", "--oneline", "-5", "--format=%s"], {
90
- cwd: workspaceDir,
91
- encoding: "utf-8",
92
- });
93
- if (gitResult.status === 0 && gitResult.stdout.trim().length > 0) {
94
- parts.push(`Recent changes: ${gitResult.stdout.trim().split("\n").join("; ")}`);
95
- }
96
- return parts.join(". ");
97
- }
98
- // Re-exports for callers that imported these from daemon-runner
99
- export { generateCronEntry } from "./signals.js";
100
- export { rotateDaemonLog, calculateAdaptiveInterval } from "./health.js";
101
- const RUNTIME_LEADER_LEASE_MS = 30_000;
102
- const RUNTIME_LEADER_HEARTBEAT_MS = 10_000;
103
- const MAX_IDLE_SLEEP_MS = 5_000;
104
- export class DaemonRunner {
105
- coreLoop;
106
- curiosityEngine;
107
- goalNegotiator;
108
- driveSystem;
109
- stateManager;
110
- pidManager;
111
- logger;
112
- config;
113
- running = false;
114
- shuttingDown = false;
115
- state;
116
- baseDir;
117
- logDir;
118
- logPath;
119
- eventServer;
120
- approvalFn;
121
- sleepAbortController = null;
122
- currentGoalIds = [];
123
- currentLoopIndex = 0;
124
- lastProactiveTickAt = 0;
125
- llmClient;
126
- reportingEngine;
127
- cronScheduler;
128
- scheduleEngine;
129
- memoryLifecycle;
130
- knowledgeManager;
131
- consecutiveIdleCycles = 0;
132
- gateway;
133
- supervisor = null;
134
- lastGoalReviewAt = Date.now();
135
- cronScheduleInterval = null;
136
- shutdownResolve = null;
137
- shutdownCoordinator = null;
138
- stopStatusHeartbeat = null;
139
- lastRuntimeStoreMaintenanceAt = 0;
140
- startupRuntimeStoreMaintenancePromise = null;
141
- startupRuntimeStoreMaintenanceError = null;
142
- deps;
143
- runtimeRoot = null;
144
- approvalStore = null;
145
- outboxStore = null;
146
- runtimeHealthStore = null;
147
- leaderLockManager = null;
148
- goalLeaseManager = null;
149
- journalQueue = null;
150
- queueClaimSweeper = null;
151
- approvalBroker = null;
152
- commandDispatcher = null;
153
- eventDispatcher = null;
154
- runtimeOwnership;
155
- getProviderRuntimeFingerprintFn;
156
- refreshResidentDeps;
157
- providerRuntimeFingerprint = null;
158
- constructor(deps) {
159
- this.deps = deps;
160
- this.coreLoop = deps.coreLoop;
161
- this.curiosityEngine = deps.curiosityEngine;
162
- this.goalNegotiator = deps.goalNegotiator;
163
- this.driveSystem = deps.driveSystem;
164
- this.stateManager = deps.stateManager;
165
- this.pidManager = deps.pidManager;
166
- this.logger = deps.logger;
167
- this.eventServer = deps.eventServer;
168
- this.llmClient = deps.llmClient;
169
- this.reportingEngine = deps.reportingEngine;
170
- this.cronScheduler = deps.cronScheduler;
171
- this.scheduleEngine = deps.scheduleEngine;
172
- this.memoryLifecycle = deps.memoryLifecycle;
173
- this.knowledgeManager = deps.knowledgeManager;
174
- this.gateway = deps.gateway;
175
- this.supervisor = deps.supervisor ?? null;
176
- this.lastProactiveTickAt = Date.now();
177
- // Parse config with defaults via DaemonConfigSchema.parse()
178
- this.config = DaemonConfigSchema.parse(deps.config ?? {});
179
- // Resolve base directory from stateManager
180
- this.baseDir = this.stateManager.getBaseDir();
181
- // Pre-compute log paths used by rotateLog
182
- this.logDir = path.join(this.baseDir, this.config.log_dir);
183
- this.logPath = path.join(this.logDir, "pulseed.log");
184
- this.runtimeRoot = this.resolveRuntimeRoot();
185
- const runtimePaths = createRuntimeStorePaths(this.runtimeRoot);
186
- this.approvalStore = new ApprovalStore(runtimePaths);
187
- this.outboxStore = new OutboxStore(runtimePaths);
188
- this.runtimeHealthStore = new RuntimeHealthStore(runtimePaths);
189
- this.leaderLockManager = new LeaderLockManager(this.runtimeRoot);
190
- this.goalLeaseManager = new GoalLeaseManager(this.runtimeRoot);
191
- this.approvalBroker = new ApprovalBroker({
192
- store: this.approvalStore,
193
- logger: this.logger,
194
- });
195
- this.journalQueue = new JournalBackedQueue({
196
- journalPath: path.join(this.runtimeRoot, "queue.json"),
197
- maxAttempts: RUNTIME_JOURNAL_MAX_ATTEMPTS,
198
- });
199
- this.queueClaimSweeper = new QueueClaimSweeper({
200
- queue: this.journalQueue,
201
- });
202
- this.runtimeOwnership = new RuntimeOwnershipCoordinator({
203
- baseDir: this.baseDir,
204
- runtimeRoot: this.runtimeRoot,
205
- logger: this.logger,
206
- approvalStore: this.approvalStore,
207
- outboxStore: this.outboxStore,
208
- runtimeHealthStore: this.runtimeHealthStore,
209
- leaderLockManager: this.leaderLockManager,
210
- onLeadershipLost: (reason) => this.failRuntimeLeadership(reason),
211
- });
212
- this.getProviderRuntimeFingerprintFn =
213
- deps.getProviderRuntimeFingerprint ?? getProviderRuntimeFingerprint;
214
- this.refreshResidentDeps = deps.refreshResidentDeps;
215
- // Initialize daemon state
216
- this.state = DaemonStateSchema.parse({
217
- pid: process.pid,
218
- started_at: new Date().toISOString(),
219
- last_loop_at: null,
220
- loop_count: 0,
221
- active_goals: [],
222
- status: "stopped",
223
- crash_count: 0,
224
- last_error: null,
225
- last_resident_at: null,
226
- resident_activity: null,
227
- });
228
- }
229
- refreshOperationalState() {
230
- this.state.active_goals = [...this.currentGoalIds];
231
- if (this.state.status === "crashed" || this.state.status === "stopping") {
232
- return;
233
- }
234
- this.state.status = this.currentGoalIds.length === 0 ? "idle" : "running";
235
- }
236
- resolveRuntimeRoot() {
237
- const configuredRoot = this.config.runtime_root;
238
- if (!configuredRoot || configuredRoot.trim() === "") {
239
- return path.join(this.baseDir, "runtime");
240
- }
241
- return path.isAbsolute(configuredRoot)
242
- ? configuredRoot
243
- : path.resolve(this.baseDir, configuredRoot);
244
- }
245
- // ─── Public API ───
246
- /**
247
- * Start daemon loop for given goals.
248
- * Throws if daemon is already running.
249
- */
250
- async start(goalIds) {
251
- let startupReady = false;
252
- try {
253
- // 2. Rotate log if needed, then check for crash recovery marker
254
- await this.rotateLog();
255
- await this.checkCrashRecovery();
256
- await this.initializeRuntimeFoundation();
257
- await this.acquireRuntimeLeadership();
258
- // 2c. Start EventServer (always-on) and file watcher
259
- if (!this.eventServer) {
260
- const esPort = this.config.event_server_port ?? 41700;
261
- this.eventServer = new EventServer(this.driveSystem, {
262
- port: esPort,
263
- stateManager: this.stateManager,
264
- outboxStore: this.outboxStore ?? undefined,
265
- }, this.logger);
266
- }
267
- if (this.outboxStore) {
268
- this.eventServer.setOutboxStore?.(this.outboxStore);
269
- }
270
- this.eventServer.setActiveWorkersProvider?.(() => {
271
- const workers = this.supervisor?.getState().workers ?? [];
272
- return workers
273
- .filter((worker) => worker.goalId !== null)
274
- .map((worker) => ({
275
- worker_id: worker.workerId,
276
- goal_id: worker.goalId,
277
- started_at: worker.startedAt,
278
- iterations: worker.iterations,
279
- }));
280
- });
281
- if (this.approvalBroker) {
282
- this.approvalBroker.setBroadcast((eventType, data) => {
283
- void this.eventServer?.broadcast?.(eventType, data);
284
- });
285
- this.eventServer.setApprovalBroker?.(this.approvalBroker);
286
- }
287
- this.eventServer.setCommandEnvelopeHook?.(async (envelope) => this.handleInboundEnvelope(envelope));
288
- if (this.gateway) {
289
- // Phase A: Route through Gateway → Envelope → writeEvent
290
- const httpAdapter = new HttpChannelAdapter(this.eventServer);
291
- this.gateway.registerAdapter(httpAdapter);
292
- this.gateway.onEnvelope(async (envelope) => this.handleInboundEnvelope(envelope));
293
- // Wire onHighPriority to abort sleep — done via the abortSleep() public method.
294
- // Callers who construct buses should pass: onHighPriority: () => daemon.abortSleep()
295
- // The daemon provides abortSleep() below for this purpose.
296
- await this.gateway.start();
297
- this.logger.info("Gateway started with HTTP adapter", { port: this.eventServer.getPort() });
298
- }
299
- else {
300
- await this.eventServer.start();
301
- this.eventServer.startFileWatcher();
302
- this.logger.info("EventServer started", { port: this.eventServer.getPort() });
303
- }
304
- // Wire approval bridge if not already provided
305
- if (!this.approvalFn && this.eventServer) {
306
- const es = this.eventServer;
307
- this.approvalFn = async (task) => {
308
- const goalId = String(task["goal_id"] ?? "unknown");
309
- const description = String(task["description"] ?? "");
310
- const action = String(task["action"] ?? "");
311
- const taskId = String(task["id"] ?? "");
312
- if (this.reportingEngine) {
313
- try {
314
- await this.reportingEngine.generateNotification("approval_required", {
315
- goalId,
316
- message: description || action || taskId || "Task approval required",
317
- details: [`task_id: ${taskId || "(none)"}`, `action: ${action || "(none)"}`].join("\n"),
318
- });
319
- }
320
- catch (err) {
321
- this.logger.warn("Approval notification dispatch failed", {
322
- goalId,
323
- error: err instanceof Error ? err.message : String(err),
324
- });
325
- }
326
- }
327
- return es.requestApproval(goalId, {
328
- id: taskId,
329
- description,
330
- action,
331
- });
332
- };
333
- }
334
- this.stopStatusHeartbeat = startDaemonStatusHeartbeat({
335
- eventServer: this.eventServer,
336
- getSnapshot: () => ({
337
- status: this.state.status,
338
- activeGoals: this.state.active_goals,
339
- loopCount: this.state.loop_count,
340
- startedAt: this.state.started_at,
341
- }),
342
- });
343
- this.driveSystem.startWatcher((event) => this.onEventReceived(event));
344
- this.shuttingDown = false;
345
- const shutdownTimeout = this.config.crash_recovery.graceful_shutdown_timeout_ms ?? 30_000;
346
- this.shutdownCoordinator = new ProcessShutdownCoordinator({
347
- logger: this.logger,
348
- gracefulShutdownTimeoutMs: shutdownTimeout,
349
- onShutdown: () => this.beginGracefulShutdown(),
350
- onForceStop: () => {
351
- this.running = false;
352
- },
353
- signalTarget: this.deps.shutdownSignalTarget,
354
- });
355
- this.shutdownCoordinator.activate();
356
- // 4. Restore state from previous interrupted run
357
- const restoredGoalIds = await this.restoreState(goalIds);
358
- const reconciledGoalIds = await this.reconcileInterruptedExecutions();
359
- const mergedGoalIds = Array.from(new Set([...restoredGoalIds, ...reconciledGoalIds]));
360
- // 5. Save initial daemon state
361
- this.running = true;
362
- this.currentGoalIds = mergedGoalIds;
363
- this.currentLoopIndex = 0;
364
- this.state = DaemonStateSchema.parse({
365
- pid: process.pid,
366
- started_at: new Date().toISOString(),
367
- last_loop_at: null,
368
- loop_count: 0,
369
- active_goals: mergedGoalIds,
370
- status: mergedGoalIds.length === 0 ? "idle" : "running",
371
- crash_count: 0,
372
- last_error: null,
373
- last_resident_at: null,
374
- resident_activity: null,
375
- });
376
- this.providerRuntimeFingerprint = await this.captureProviderRuntimeFingerprint();
377
- await this.saveDaemonState();
378
- // 5b. Write "running" shutdown marker (crash detection on next startup)
379
- await this.writeShutdownMarker({
380
- goal_ids: mergedGoalIds,
381
- loop_index: 0,
382
- timestamp: new Date().toISOString(),
383
- reason: "startup",
384
- state: "running",
385
- });
386
- // 6. Log start
387
- this.logger.info("Daemon started", {
388
- pid: process.pid,
389
- goals: mergedGoalIds,
390
- check_interval_ms: this.config.check_interval_ms,
391
- });
392
- const sweepResult = this.queueClaimSweeper?.sweep();
393
- if (sweepResult && (sweepResult.reclaimed > 0 || sweepResult.deadlettered > 0)) {
394
- this.logger.info("Recovered stale runtime claims on startup", {
395
- reclaimed: sweepResult.reclaimed,
396
- deadlettered: sweepResult.deadlettered,
397
- expiredClaimTokens: sweepResult.expiredClaimTokens,
398
- });
399
- }
400
- this.queueClaimSweeper?.start();
401
- // 7. Create supervisor if not already provided.
402
- if (!this.supervisor) {
403
- const factory = this.deps.coreLoopFactory ?? (() => this.coreLoop);
404
- this.supervisor = new LoopSupervisor({
405
- coreLoopFactory: factory,
406
- journalQueue: this.journalQueue,
407
- goalLeaseManager: this.goalLeaseManager,
408
- driveSystem: this.driveSystem,
409
- stateManager: this.stateManager,
410
- logger: this.logger,
411
- onGoalComplete: async (goalId, result) => this.handleGoalCompletion(goalId, result),
412
- onEscalation: (goalId, crashCount, lastError) => {
413
- this.logger.error(`Goal ${goalId} suspended after ${crashCount} crashes: ${lastError}`);
414
- },
415
- }, {
416
- concurrency: this.config.max_concurrent_goals,
417
- iterationsPerCycle: this.config.iterations_per_cycle,
418
- stateFilePath: path.join(this.runtimeRoot, "supervisor-state.json"),
419
- });
420
- }
421
- if (!this.eventDispatcher) {
422
- this.eventDispatcher = new EventDispatcher({
423
- journalQueue: this.journalQueue,
424
- logger: this.logger,
425
- onGoalActivate: async (goalId) => this.handleGoalStartCommand(goalId),
426
- onExternalEvent: async (event) => this.driveSystem.writeEvent(PulSeedEventSchema.parse(event)),
427
- onCronTaskDue: async (task) => this.handleCronTaskDue(task.id),
428
- });
429
- }
430
- if (!this.commandDispatcher) {
431
- this.commandDispatcher = new CommandDispatcher({
432
- journalQueue: this.journalQueue,
433
- logger: this.logger,
434
- onGoalStart: async (goalId) => this.runCommandWithHealth("goal_start", () => this.handleGoalStartCommand(goalId)),
435
- onGoalStop: async (goalId) => this.runCommandWithHealth("goal_stop", () => this.handleGoalStopCommand(goalId)),
436
- onChatMessage: async (goalId, message) => this.runCommandWithHealth("chat_message", () => this.handleChatMessageCommand(goalId, message)),
437
- onApprovalResponse: async (goalId, requestId, approved) => this.runCommandWithHealth("approval_response", () => this.handleApprovalResponseCommand(goalId, requestId, approved)),
438
- onRuntimeControl: async (operationId, kind) => this.runCommandWithHealth("runtime_control", () => this.handleRuntimeControlCommand(operationId, kind)),
439
- onScheduleRunNow: async (scheduleId, allowEscalation) => this.runCommandWithHealth("schedule_run_now", () => this.handleScheduleRunNowCommand(scheduleId, allowEscalation)),
440
- });
441
- }
442
- await this.saveRuntimeHealthSnapshot(this.supervisor
443
- ? "execution_ownership_durable"
444
- : "foundation_only", {
445
- gateway: this.gateway || this.eventServer ? "ok" : "degraded",
446
- queue: "ok",
447
- leases: "ok",
448
- approval: "ok",
449
- outbox: "ok",
450
- supervisor: this.supervisor ? "ok" : "degraded",
451
- });
452
- this.startStartupRuntimeStoreMaintenance();
453
- // 8. Run main loop — supervisor mode when supervisor is injected via deps,
454
- // fallback to sequential runLoop otherwise.
455
- startupReady = true;
456
- let cleanupHandled = false;
457
- try {
458
- await this.eventDispatcher?.start();
459
- await this.commandDispatcher?.start();
460
- if (this.supervisor) {
461
- // Supervisor handles goal execution; cron/schedule must also run in this mode.
462
- await this.supervisor.start(mergedGoalIds);
463
- const maintenanceIntervalMs = this.config.check_interval_ms;
464
- await this.runSupervisorMaintenanceCycle();
465
- await this.reconcileRuntimeControlOperationsAfterStartup();
466
- this.cronScheduleInterval = setInterval(async () => {
467
- if (this.shuttingDown)
468
- return;
469
- await this.runSupervisorMaintenanceCycle();
470
- }, maintenanceIntervalMs);
471
- // Block until stop() is called.
472
- await new Promise((resolve) => {
473
- this.shutdownResolve = resolve;
474
- // If already stopped before we get here, resolve immediately.
475
- if (!this.running)
476
- resolve();
477
- });
478
- }
479
- else {
480
- // Fallback: sequential mode
481
- await this.reconcileRuntimeControlOperationsAfterStartup();
482
- await this.runLoop();
483
- cleanupHandled = true;
484
- }
485
- }
486
- finally {
487
- this.queueClaimSweeper?.stop();
488
- this.shutdownCoordinator?.dispose();
489
- this.shutdownCoordinator = null;
490
- this.stopStatusHeartbeat?.();
491
- this.stopStatusHeartbeat = null;
492
- if (this.cronScheduleInterval !== null) {
493
- clearInterval(this.cronScheduleInterval);
494
- this.cronScheduleInterval = null;
495
- }
496
- await this.supervisor?.shutdown();
497
- await this.eventDispatcher?.shutdown();
498
- await this.commandDispatcher?.shutdown();
499
- this.driveSystem.stopWatcher();
500
- if (this.gateway) {
501
- await this.gateway.stop();
502
- this.logger.info("Gateway stopped");
503
- }
504
- else if (this.eventServer) {
505
- this.eventServer.stopFileWatcher();
506
- await this.eventServer.stop();
507
- this.logger.info("EventServer stopped");
508
- }
509
- if (!cleanupHandled) {
510
- await this.cleanup();
511
- }
512
- }
513
- }
514
- catch (err) {
515
- if (!startupReady) {
516
- try {
517
- await this.drainStartupRuntimeStoreMaintenance();
518
- }
519
- finally {
520
- await this.releaseStartupOwnership();
521
- }
522
- }
523
- throw err;
524
- }
525
- }
526
- async initializeRuntimeFoundation() {
527
- await this.runtimeOwnership.initializeFoundation();
528
- }
529
- async saveRuntimeHealthSnapshot(phase, components) {
530
- await this.runtimeOwnership.saveRuntimeHealthSnapshot(phase, components);
531
- }
532
- async acquireRuntimeLeadership() {
533
- await this.runtimeOwnership.acquireLeadership(RUNTIME_LEADER_LEASE_MS, RUNTIME_LEADER_HEARTBEAT_MS);
534
- }
535
- failRuntimeLeadership(reason) {
536
- if (this.state.status === "crashed") {
537
- return;
538
- }
539
- this.logger.error("Lost runtime leadership; stopping daemon", {
540
- error: reason,
541
- });
542
- this.state.status = "crashed";
543
- this.state.last_error = reason;
544
- this.state.interrupted_goals = [...this.state.active_goals];
545
- this.running = false;
546
- this.shuttingDown = true;
547
- this.shutdownResolve?.();
548
- this.sleepAbortController?.abort();
549
- void this.saveDaemonState();
550
- }
551
- async releaseStartupOwnership() {
552
- await this.runtimeOwnership.releaseLeadership();
553
- }
554
- /** Expose approvalFn for callers (e.g. cmdStart) to wire into TaskLifecycle */
555
- getApprovalFn() {
556
- return this.approvalFn;
557
- }
558
- /**
559
- * Abort the current sleep cycle immediately.
560
- */
561
- abortSleep() {
562
- this.sleepAbortController?.abort();
563
- }
564
- /**
565
- * Signal daemon to stop after current iteration completes.
566
- * Saves interrupted_goals so they can be restored on next start.
567
- */
568
- stop() {
569
- this.running = false;
570
- this.shutdownResolve?.();
571
- this.sleepAbortController?.abort();
572
- this.state.status = "stopping";
573
- // Save current active_goals as interrupted_goals for state restoration
574
- this.state.interrupted_goals = [...this.state.active_goals];
575
- // Do NOT persist here — cleanup() will save the final state after the loop exits.
576
- // Calling saveDaemonState() here would race with cleanup()'s save and corrupt the file.
577
- this.logger.info("Stop requested — daemon will stop after current iteration");
578
- }
579
- // ─── Private: Main Loop ───
580
- /**
581
- * Main daemon loop. Runs until this.running is false or a critical error occurs.
582
- */
583
- async runLoop() {
584
- while (this.running && !this.shuttingDown) {
585
- try {
586
- const goalIds = [...this.currentGoalIds];
587
- this.refreshOperationalState();
588
- const cycleSnapshot = await this.collectGoalCycleSnapshot(goalIds);
589
- // 1. Determine which goals need activation
590
- const activeGoals = await this.determineActiveGoals(goalIds, cycleSnapshot);
591
- await this.maybeRefreshProviderRuntime(activeGoals.length);
592
- if (activeGoals.length === 0) {
593
- this.logger.info("No goals need activation this cycle", {
594
- checked: goalIds.length,
595
- });
596
- }
597
- // 2. Execute loop for each active goal
598
- for (const goalId of activeGoals) {
599
- if (!this.running)
600
- break;
601
- this.logger.info(`Running loop for goal: ${goalId}`);
602
- try {
603
- const iterationsPerCycle = this.config.iterations_per_cycle ?? 1;
604
- const result = await this.coreLoop.run(goalId, { maxIterations: iterationsPerCycle });
605
- this.state.loop_count++;
606
- this.currentLoopIndex = this.state.loop_count;
607
- this.state.last_loop_at = new Date().toISOString();
608
- this.logger.info(`Loop completed for goal: ${goalId}`, {
609
- status: result.finalStatus,
610
- iterations: result.totalIterations,
611
- });
612
- if (this.eventServer) {
613
- const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
614
- void this.eventServer.broadcast?.("iteration_complete", {
615
- goalId,
616
- loopCount: this.state.loop_count,
617
- status: goal?.status ?? "unknown",
618
- });
619
- }
620
- await this.broadcastGoalUpdated(goalId, result.finalStatus);
621
- }
622
- catch (err) {
623
- this.handleLoopError(goalId, err);
624
- }
625
- // Bail out of goal iteration if crash limit exceeded
626
- if (!this.running)
627
- break;
628
- }
629
- // 3. Save state
630
- this.refreshOperationalState();
631
- await this.saveDaemonState();
632
- if (this.eventServer) {
633
- void this.eventServer.broadcast?.("daemon_status", {
634
- status: this.state.status,
635
- activeGoals: this.state.active_goals,
636
- loopCount: this.state.loop_count,
637
- lastLoopAt: this.state.last_loop_at,
638
- });
639
- }
640
- // 3b. Process due cron-scheduled tasks
641
- await this.processCronTasks();
642
- // 3b2. Process schedule engine entries
643
- await this.processScheduleEntries();
644
- // 3c. Expire old cron tasks periodically (every 100 cycles)
645
- if (this.state.loop_count > 0 && this.state.loop_count % 100 === 0) {
646
- await this.expireCronTasks();
647
- }
648
- // 4. Proactive tick: fire every cycle (not only when idle) so long-running goals
649
- // do not block proactive actions indefinitely.
650
- if (this.running) {
651
- await this.proactiveTick();
652
- }
653
- if (this.running) {
654
- await this.runRuntimeStoreMaintenance();
655
- }
656
- // 5. Track idle cycles for adaptive sleep
657
- if (activeGoals.length > 0) {
658
- this.consecutiveIdleCycles = 0;
659
- }
660
- else {
661
- this.consecutiveIdleCycles++;
662
- }
663
- // 6. Wait for next check interval
664
- if (this.running) {
665
- const baseIntervalMs = this.getNextInterval(goalIds);
666
- const maxGapScore = await this.getMaxGapScore(goalIds, cycleSnapshot);
667
- const intervalMs = this.calculateAdaptiveInterval(baseIntervalMs, activeGoals.length, maxGapScore, this.consecutiveIdleCycles);
668
- const sleepIntervalMs = activeGoals.length === 0 ? Math.min(intervalMs, MAX_IDLE_SLEEP_MS) : intervalMs;
669
- this.logger.info(`Sleeping for ${sleepIntervalMs}ms until next check`);
670
- await this.sleep(sleepIntervalMs);
671
- }
672
- }
673
- catch (err) {
674
- await this.handleCriticalError(err);
675
- }
676
- }
677
- // Cleanup after loop exits
678
- await this.cleanup();
679
- }
680
- // ─── Private: Goal Activation ───
681
- /**
682
- * Determine which goals should be activated this cycle.
683
- * Uses DriveSystem.shouldActivate() for each goal, then sorts by priority.
684
- */
685
- async determineActiveGoals(goalIds, snapshot) {
686
- return determineActiveGoalsForCycle(this.driveSystem, goalIds, snapshot);
687
- }
688
- async collectGoalCycleSnapshot(goalIds) {
689
- return collectGoalCycleScheduleSnapshot(this.driveSystem, goalIds);
690
- }
691
- // ─── Private: Interval Calculation ───
692
- /**
693
- * Calculate the next check interval in milliseconds.
694
- * Uses per-goal override from config.goal_intervals if configured,
695
- * otherwise falls back to config.check_interval_ms.
696
- * Returns the minimum interval across all goals (so the daemon checks
697
- * as soon as the earliest goal is due).
698
- */
699
- getNextInterval(goalIds) {
700
- return getNextIntervalForGoals(this.config, goalIds);
701
- }
702
- // ─── Private: Error Handling ───
703
- /**
704
- * Handle a non-critical loop error for a single goal.
705
- * Increments crash_count and stops daemon if max_retries exceeded.
706
- */
707
- handleLoopError(goalId, err) {
708
- const { shouldStop } = handleDaemonLoopError({
709
- goalId,
710
- error: err,
711
- state: this.state,
712
- maxRetries: this.config.crash_recovery.max_retries,
713
- logger: this.logger,
714
- observeTaskExecution: (status, reason) => this.runtimeOwnership.observeTaskExecution(status, reason),
715
- });
716
- if (shouldStop) {
717
- this.running = false;
718
- }
719
- }
720
- /**
721
- * Handle a critical daemon-level error (outer loop catch).
722
- * Marks state as crashed and stops the loop.
723
- */
724
- async handleCriticalError(err) {
725
- await handleCriticalDaemonError({
726
- error: err,
727
- state: this.state,
728
- logger: this.logger,
729
- observeTaskExecution: (status, reason) => this.runtimeOwnership.observeTaskExecution(status, reason),
730
- saveDaemonState: () => this.saveDaemonState(),
731
- });
732
- this.running = false;
733
- }
734
- // ─── Private: State Persistence ───
735
- /**
736
- * Save daemon state to {baseDir}/daemon-state.json atomically.
737
- */
738
- async saveDaemonState() {
739
- await saveDaemonStateFile(this.baseDir, this.state, this.logger);
740
- }
741
- /**
742
- * Restore state from a previous interrupted run.
743
- * Merges interrupted_goals from daemon-state.json with the given goalIds (deduped).
744
- * Returns the merged goal ID array.
745
- */
746
- async restoreState(goalIds) {
747
- return restoreInterruptedGoals(this.baseDir, goalIds, this.logger);
748
- }
749
- async reconcileInterruptedExecutions() {
750
- return reconcileInterruptedExecutionsFn({
751
- baseDir: this.baseDir,
752
- stateManager: this.stateManager,
753
- logger: this.logger,
754
- });
755
- }
756
- async reconcileRuntimeControlOperationsAfterStartup() {
757
- const operationStore = new RuntimeOperationStore(this.runtimeRoot ?? undefined);
758
- const pending = await operationStore.listPending();
759
- const now = new Date().toISOString();
760
- for (const operation of pending) {
761
- if (operation.state !== "restarting" ||
762
- (operation.kind !== "restart_daemon" && operation.kind !== "restart_gateway")) {
763
- continue;
764
- }
765
- await operationStore.save({
766
- ...operation,
767
- state: "verified",
768
- updated_at: now,
769
- completed_at: now,
770
- result: {
771
- ok: true,
772
- message: operation.kind === "restart_gateway"
773
- ? "gateway restart verified after daemon startup."
774
- : "daemon restart verified after startup.",
775
- daemon_status: this.state.status,
776
- },
777
- });
778
- this.logger.info("Runtime control restart operation verified after startup", {
779
- operation_id: operation.operation_id,
780
- kind: operation.kind,
781
- });
782
- }
783
- }
784
- // ─── Private: Cleanup ───
785
- /**
786
- * Perform cleanup after the loop exits and write the final runtime health snapshot.
787
- * Also writes "clean_shutdown" marker to enable crash-vs-clean detection on next startup.
788
- */
789
- async cleanup() {
790
- let startupMaintenanceError = null;
791
- try {
792
- await this.drainStartupRuntimeStoreMaintenance();
793
- }
794
- catch (err) {
795
- startupMaintenanceError = err;
796
- }
797
- await cleanupDaemonRun({
798
- baseDir: this.baseDir,
799
- state: this.state,
800
- currentGoalIds: this.currentGoalIds,
801
- currentLoopIndex: this.currentLoopIndex,
802
- runtimeOwnership: this.runtimeOwnership,
803
- logger: this.logger,
804
- });
805
- if (startupMaintenanceError) {
806
- throw startupMaintenanceError;
807
- }
808
- }
809
- beginGracefulShutdown() {
810
- if (this.shuttingDown) {
811
- return;
812
- }
813
- this.shuttingDown = true;
814
- this.logger.info("Shutting down gracefully...");
815
- this.running = false;
816
- this.state.status = "stopping";
817
- this.state.interrupted_goals = [...this.state.active_goals];
818
- this.shutdownResolve?.();
819
- this.sleepAbortController?.abort();
820
- }
821
- // ─── Private: Cron Scheduler ───
822
- /**
823
- * Process due cron-scheduled tasks.
824
- * Logs each task, executes based on type, and marks as fired.
825
- */
826
- async processCronTasks() {
827
- await processCronTasksForDaemon({
828
- cronScheduler: this.cronScheduler,
829
- logger: this.logger,
830
- acceptRuntimeEnvelope: (envelope) => this.acceptRuntimeEnvelope(envelope),
831
- });
832
- }
833
- /**
834
- * Process due schedule engine entries.
835
- */
836
- async processScheduleEntries() {
837
- await processScheduleEntriesForDaemon({
838
- scheduleEngine: this.scheduleEngine,
839
- logger: this.logger,
840
- acceptRuntimeEnvelope: (envelope) => this.acceptRuntimeEnvelope(envelope),
841
- });
842
- }
843
- async broadcastGoalUpdated(goalId, fallbackStatus) {
844
- if (!this.eventServer) {
845
- return;
846
- }
847
- const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
848
- await this.eventServer.broadcast?.("goal_updated", {
849
- goalId,
850
- status: goal?.status ?? fallbackStatus ?? "unknown",
851
- loopStatus: goal?.loop_status ?? null,
852
- progress: null,
853
- });
854
- }
855
- async broadcastChatResponse(goalId, message) {
856
- if (!this.eventServer) {
857
- return;
858
- }
859
- await this.eventServer.broadcast?.("chat_response", {
860
- goalId,
861
- message,
862
- status: "queued",
863
- });
864
- }
865
- /**
866
- * Expire old non-permanent cron tasks.
867
- */
868
- async expireCronTasks() {
869
- await expireOldCronTasks(this.cronScheduler, this.logger);
870
- }
871
- // ─── Private: Sleep ───
872
- /**
873
- * Sleep for the given number of milliseconds.
874
- * Can be aborted early via sleepAbortController (e.g. when an event arrives).
875
- */
876
- sleep(ms) {
877
- this.sleepAbortController = new AbortController();
878
- const abortController = this.sleepAbortController;
879
- return new Promise((resolve) => {
880
- const timer = setTimeout(resolve, ms);
881
- abortController.signal.addEventListener("abort", () => {
882
- clearTimeout(timer);
883
- resolve();
884
- });
885
- }).finally(() => {
886
- this.sleepAbortController = null;
887
- });
888
- }
889
- // ─── Private: Event Handling ───
890
- /**
891
- * Called when a file-watcher event arrives from DriveSystem.
892
- * Aborts the current sleep so the loop runs immediately.
893
- */
894
- onEventReceived(event) {
895
- this.logger.info("Event received, triggering immediate loop", {
896
- event_type: event.type,
897
- });
898
- this.sleepAbortController?.abort();
899
- }
900
- acceptRuntimeEnvelope(envelope) {
901
- if (!this.journalQueue)
902
- return true;
903
- const result = this.journalQueue.accept(envelope);
904
- if (result.accepted) {
905
- return true;
906
- }
907
- this.logger.info("Runtime journal skipped envelope", {
908
- id: envelope.id,
909
- name: envelope.name,
910
- type: envelope.type,
911
- duplicate: result.duplicate,
912
- runtime_root: this.runtimeRoot,
913
- });
914
- return false;
915
- }
916
- async handleInboundEnvelope(envelope) {
917
- if (!this.acceptRuntimeEnvelope(envelope)) {
918
- return;
919
- }
920
- }
921
- async handleGoalStartCommand(goalId) {
922
- if (!this.currentGoalIds.includes(goalId)) {
923
- this.currentGoalIds.push(goalId);
924
- }
925
- this.refreshOperationalState();
926
- await this.saveDaemonState();
927
- this.supervisor?.activateGoal(goalId);
928
- this.abortSleep();
929
- await this.broadcastGoalUpdated(goalId, "active");
930
- }
931
- async handleGoalStopCommand(goalId) {
932
- this.currentGoalIds = this.currentGoalIds.filter((id) => id !== goalId);
933
- this.refreshOperationalState();
934
- if (this.state.interrupted_goals) {
935
- this.state.interrupted_goals = this.state.interrupted_goals.filter((id) => id !== goalId);
936
- }
937
- await this.saveDaemonState();
938
- this.supervisor?.deactivateGoal(goalId);
939
- this.abortSleep();
940
- await this.broadcastGoalUpdated(goalId, "stopped");
941
- }
942
- async handleRuntimeControlCommand(operationId, kind) {
943
- const operationStore = new RuntimeOperationStore(this.runtimeRoot ?? undefined);
944
- const operation = await operationStore.load(operationId);
945
- if (!operation) {
946
- this.logger.warn("Runtime control operation not found", { operation_id: operationId, kind });
947
- return;
948
- }
949
- if (kind !== "restart_daemon" && kind !== "restart_gateway") {
950
- const now = new Date().toISOString();
951
- await operationStore.save({
952
- ...operation,
953
- state: "failed",
954
- updated_at: now,
955
- completed_at: now,
956
- result: {
957
- ok: false,
958
- message: `Runtime control operation ${kind} is not implemented yet.`,
959
- },
960
- });
961
- return;
962
- }
963
- const now = new Date().toISOString();
964
- await operationStore.save({
965
- ...operation,
966
- state: "restarting",
967
- started_at: operation.started_at ?? now,
968
- updated_at: now,
969
- result: {
970
- ok: true,
971
- message: kind === "restart_gateway"
972
- ? "gateway restart is being handled by a daemon restart because the gateway runs in-process."
973
- : "daemon restart was accepted by the runtime command dispatcher.",
974
- },
975
- });
976
- this.logger.info("Runtime control requested daemon restart", { operation_id: operationId, kind });
977
- setTimeout(() => {
978
- this.beginGracefulShutdown();
979
- }, 25).unref?.();
980
- }
981
- async handleScheduleRunNowCommand(scheduleId, allowEscalation) {
982
- if (!this.scheduleEngine) {
983
- throw new Error("ScheduleEngine is not configured");
984
- }
985
- await this.scheduleEngine.loadEntries();
986
- const entry = resolveScheduleEntry(this.scheduleEngine.getEntries(), scheduleId);
987
- if (!entry) {
988
- throw new Error(`Schedule not found: ${scheduleId}`);
989
- }
990
- const run = await this.scheduleEngine.runEntryNow(entry.id, {
991
- allowEscalation,
992
- preserveEnabled: true,
993
- });
994
- if (!run) {
995
- throw new Error(`Schedule not found: ${scheduleId}`);
996
- }
997
- this.logger.info("Schedule run-now completed", {
998
- schedule_id: entry.id,
999
- schedule_name: entry.name,
1000
- status: run.result.status,
1001
- reason: run.reason,
1002
- allow_escalation: allowEscalation,
1003
- });
1004
- }
1005
- async handleGoalCompletion(goalId, result) {
1006
- this.state.loop_count++;
1007
- this.currentLoopIndex = this.state.loop_count;
1008
- this.state.last_loop_at = new Date().toISOString();
1009
- await this.saveDaemonState();
1010
- await this.runtimeOwnership.observeTaskExecution(result.status === "error"
1011
- ? "failed"
1012
- : result.status === "stalled"
1013
- ? "degraded"
1014
- : "ok", result.status === "error"
1015
- ? `goal ${goalId} execution failed`
1016
- : result.status === "stalled"
1017
- ? `goal ${goalId} stalled`
1018
- : undefined);
1019
- if (this.eventServer) {
1020
- const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
1021
- void this.eventServer.broadcast?.("iteration_complete", {
1022
- goalId,
1023
- loopCount: this.state.loop_count,
1024
- status: goal?.status ?? result.status,
1025
- iterations: result.totalIterations,
1026
- });
1027
- void this.eventServer.broadcast?.("daemon_status", {
1028
- status: this.state.status,
1029
- activeGoals: this.state.active_goals,
1030
- loopCount: this.state.loop_count,
1031
- lastLoopAt: this.state.last_loop_at,
1032
- });
1033
- }
1034
- await this.broadcastGoalUpdated(goalId, result.status);
1035
- }
1036
- async loadExistingGoalTitles() {
1037
- const goalIds = await this.stateManager.listGoalIds().catch(() => []);
1038
- const titles = [];
1039
- for (const goalId of goalIds) {
1040
- const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
1041
- if (goal?.title) {
1042
- titles.push(goal.title);
1043
- }
1044
- }
1045
- return titles;
1046
- }
1047
- async loadKnownGoals() {
1048
- const goalIds = await this.stateManager.listGoalIds().catch(() => []);
1049
- const goals = [];
1050
- for (const goalId of goalIds) {
1051
- const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
1052
- if (goal) {
1053
- goals.push(goal);
1054
- }
1055
- }
1056
- return goals;
1057
- }
1058
- async persistResidentActivity(activity) {
1059
- const residentActivity = ResidentActivitySchema.parse({
1060
- ...activity,
1061
- recorded_at: activity.recorded_at ?? new Date().toISOString(),
1062
- });
1063
- this.state.last_resident_at = residentActivity.recorded_at;
1064
- this.state.resident_activity = residentActivity;
1065
- await this.saveDaemonState();
1066
- }
1067
- async triggerResidentGoalDiscovery(details) {
1068
- if (!this.goalNegotiator) {
1069
- await this.persistResidentActivity({
1070
- kind: "skipped",
1071
- trigger: "proactive_tick",
1072
- summary: "Resident discovery skipped because goal negotiation is unavailable.",
1073
- });
1074
- return;
1075
- }
1076
- if (this.currentGoalIds.length > 0) {
1077
- await this.persistResidentActivity({
1078
- kind: "skipped",
1079
- trigger: "proactive_tick",
1080
- summary: "Resident discovery skipped because active goals are already running.",
1081
- });
1082
- return;
1083
- }
1084
- const hintedDescription = typeof details?.["description"] === "string" ? details["description"].trim() : "";
1085
- const hintedTitle = typeof details?.["title"] === "string" ? details["title"].trim() : "";
1086
- try {
1087
- const workspaceDir = resolveResidentWorkspaceDir(this.config.workspace_path);
1088
- const workspaceContext = gatherResidentWorkspaceContext(workspaceDir, hintedDescription);
1089
- const existingTitles = await this.loadExistingGoalTitles();
1090
- const suggestions = await this.goalNegotiator.suggestGoals(workspaceContext, {
1091
- maxSuggestions: 1,
1092
- existingGoals: existingTitles,
1093
- repoPath: workspaceDir,
1094
- });
1095
- const suggestion = suggestions[0];
1096
- const suggestionTitle = suggestion?.title ?? hintedTitle;
1097
- const negotiationDescription = suggestion?.description ?? hintedDescription;
1098
- if (!negotiationDescription) {
1099
- await this.persistResidentActivity({
1100
- kind: "suggestion",
1101
- trigger: "proactive_tick",
1102
- summary: "Resident discovery ran but found no actionable goal to negotiate.",
1103
- suggestion_title: suggestionTitle || undefined,
1104
- });
1105
- return;
1106
- }
1107
- const { goal } = await this.goalNegotiator.negotiate(negotiationDescription, {
1108
- workspaceContext,
1109
- timeoutMs: 30_000,
1110
- });
1111
- if (!this.currentGoalIds.includes(goal.id)) {
1112
- this.currentGoalIds.push(goal.id);
1113
- }
1114
- this.refreshOperationalState();
1115
- await this.persistResidentActivity({
1116
- kind: "negotiation",
1117
- trigger: "proactive_tick",
1118
- summary: `Resident discovery negotiated a new goal: ${suggestionTitle || goal.title}`,
1119
- suggestion_title: suggestionTitle || goal.title,
1120
- goal_id: goal.id,
1121
- });
1122
- this.supervisor?.activateGoal(goal.id);
1123
- this.abortSleep();
1124
- }
1125
- catch (err) {
1126
- const message = err instanceof Error ? err.message : String(err);
1127
- this.logger.warn("Resident discovery failed", { error: message });
1128
- await this.persistResidentActivity({
1129
- kind: "error",
1130
- trigger: "proactive_tick",
1131
- summary: `Resident discovery failed: ${message}`,
1132
- });
1133
- }
1134
- }
1135
- async runResidentCuriosityCycle(options) {
1136
- if (!this.curiosityEngine) {
1137
- if (options?.skipWhenNoTriggers) {
1138
- return false;
1139
- }
1140
- await this.persistResidentActivity({
1141
- kind: "skipped",
1142
- trigger: options?.activityTrigger ?? "proactive_tick",
1143
- summary: "Resident investigation skipped because curiosity wiring is unavailable.",
1144
- });
1145
- return true;
1146
- }
1147
- try {
1148
- const goals = await this.loadKnownGoals();
1149
- const triggers = await this.curiosityEngine.evaluateTriggers(goals);
1150
- const focus = options?.focus?.trim() ?? "";
1151
- if (triggers.length === 0) {
1152
- if (options?.skipWhenNoTriggers) {
1153
- return false;
1154
- }
1155
- await this.persistResidentActivity({
1156
- kind: "curiosity",
1157
- trigger: options?.activityTrigger ?? "proactive_tick",
1158
- summary: options?.reviewLabel
1159
- ? `Resident ${options.reviewLabel} ran and found no curiosity triggers.`
1160
- : `Resident investigation ran${focus ? ` for ${focus}` : ""} and found nothing actionable.`,
1161
- });
1162
- return true;
1163
- }
1164
- const proposals = await this.curiosityEngine.generateProposals(triggers, goals);
1165
- if (proposals.length === 0) {
1166
- await this.persistResidentActivity({
1167
- kind: "curiosity",
1168
- trigger: options?.activityTrigger ?? "proactive_tick",
1169
- summary: options?.reviewLabel
1170
- ? `Resident ${options.reviewLabel} ran but produced no curiosity proposals.`
1171
- : `Resident investigation ran${focus ? ` for ${focus}` : ""} but produced no curiosity proposals.`,
1172
- });
1173
- return true;
1174
- }
1175
- const proposal = proposals[0];
1176
- await this.persistResidentActivity({
1177
- kind: "curiosity",
1178
- trigger: options?.activityTrigger ?? "proactive_tick",
1179
- summary: options?.reviewLabel
1180
- ? `Resident ${options.reviewLabel} created ${proposals.length} curiosity proposal(s); next focus: ${proposal.proposed_goal.description}`
1181
- : `Resident investigation created ${proposals.length} curiosity proposal(s); next focus: ${proposal.proposed_goal.description}`,
1182
- suggestion_title: proposal.proposed_goal.description,
1183
- });
1184
- return true;
1185
- }
1186
- catch (err) {
1187
- const message = err instanceof Error ? err.message : String(err);
1188
- this.logger.warn("Resident investigation failed", { error: message });
1189
- await this.persistResidentActivity({
1190
- kind: "error",
1191
- trigger: options?.activityTrigger ?? "proactive_tick",
1192
- summary: `Resident investigation failed: ${message}`,
1193
- });
1194
- return true;
1195
- }
1196
- }
1197
- async triggerResidentInvestigation(details) {
1198
- const focus = typeof details?.["what"] === "string" ? details["what"].trim() : "";
1199
- await this.runResidentCuriosityCycle({
1200
- activityTrigger: "proactive_tick",
1201
- focus,
1202
- skipWhenNoTriggers: false,
1203
- });
1204
- }
1205
- async runScheduledGoalReview() {
1206
- if (!this.curiosityEngine || !this.config.proactive_mode) {
1207
- return false;
1208
- }
1209
- const now = Date.now();
1210
- if (now - this.lastGoalReviewAt < this.config.goal_review_interval_ms) {
1211
- return false;
1212
- }
1213
- this.lastGoalReviewAt = now;
1214
- return this.runResidentCuriosityCycle({
1215
- activityTrigger: "schedule",
1216
- reviewLabel: "goal review",
1217
- skipWhenNoTriggers: false,
1218
- });
1219
- }
1220
- async tryApplyPendingDreamSuggestion() {
1221
- const dreamStore = new DreamScheduleSuggestionStore(this.baseDir);
1222
- const pendingSuggestion = (await dreamStore.list()).find((suggestion) => suggestion.status === "pending");
1223
- if (!pendingSuggestion || !this.scheduleEngine) {
1224
- return null;
1225
- }
1226
- return dreamStore.applySuggestion(pendingSuggestion.id, this.scheduleEngine);
1227
- }
1228
- async runDreamAnalysis(tier) {
1229
- const analyzer = new DreamAnalyzer({
1230
- baseDir: this.baseDir,
1231
- llmClient: this.llmClient,
1232
- logger: this.logger,
1233
- });
1234
- return analyzer.run({ tier });
1235
- }
1236
- async runPlatformDreamConsolidation(tier) {
1237
- try {
1238
- const knowledgeManager = this.knowledgeManager;
1239
- const llmClient = this.llmClient;
1240
- const consolidator = new DreamConsolidator({
1241
- baseDir: this.baseDir,
1242
- logger: this.logger,
1243
- syncService: createRuntimeDreamSoilSyncService(),
1244
- memoryQualityService: knowledgeManager && llmClient
1245
- ? {
1246
- run: async (input) => {
1247
- const result = await lintAgentMemory({
1248
- km: knowledgeManager,
1249
- llmCall: async (prompt) => {
1250
- const response = await llmClient.sendMessage([{ role: "user", content: prompt }], { max_tokens: 2000, model_tier: "light" });
1251
- return response.content;
1252
- },
1253
- autoRepair: input.autoRepair,
1254
- minAutoRepairConfidence: input.minAutoRepairConfidence,
1255
- });
1256
- return {
1257
- findings: result.findings.length,
1258
- contradictionsFound: result.findings.filter((finding) => finding.type === "contradiction").length,
1259
- stalenessFound: result.findings.filter((finding) => finding.type === "staleness").length,
1260
- redundancyFound: result.findings.filter((finding) => finding.type === "redundancy").length,
1261
- repairsApplied: result.repairs_applied,
1262
- entriesFlagged: result.entries_flagged,
1263
- };
1264
- },
1265
- }
1266
- : undefined,
1267
- legacyConsolidationService: tier === "deep"
1268
- ? {
1269
- run: () => runDreamConsolidation({
1270
- stateManager: this.stateManager,
1271
- memoryLifecycle: this.memoryLifecycle,
1272
- knowledgeManager: this.knowledgeManager,
1273
- baseDir: this.baseDir,
1274
- }),
1275
- }
1276
- : undefined,
1277
- });
1278
- return await consolidator.run({ tier });
1279
- }
1280
- catch (error) {
1281
- this.logger.warn("Platform Dream consolidation failed", {
1282
- error: error instanceof Error ? error.message : String(error),
1283
- });
1284
- return null;
1285
- }
1286
- }
1287
- legacyReportFromPlatformDream(report) {
1288
- const category = report?.categories.find((result) => result.category === "legacyReflectionCompatibility");
1289
- if (!category || category.status !== "completed") {
1290
- return null;
1291
- }
1292
- const legacy = report?.operational?.legacy_reflection;
1293
- return legacy
1294
- ? {
1295
- goals_consolidated: legacy.goals_consolidated,
1296
- entries_compressed: legacy.entries_compressed,
1297
- stale_entries_found: legacy.stale_entries_found,
1298
- revalidation_tasks_created: legacy.revalidation_tasks_created,
1299
- }
1300
- : null;
1301
- }
1302
- async triggerResidentDreamMaintenance(details, tier = "deep") {
1303
- try {
1304
- const appliedBeforeAnalysis = await this.tryApplyPendingDreamSuggestion();
1305
- if (appliedBeforeAnalysis) {
1306
- await this.persistResidentActivity({
1307
- kind: "dream",
1308
- trigger: "proactive_tick",
1309
- summary: appliedBeforeAnalysis.duplicate
1310
- ? `Resident dream linked pending suggestion "${appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.id}" to existing schedule ${appliedBeforeAnalysis.entry.id}.`
1311
- : `Resident dream applied pending suggestion "${appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.id}" into schedule ${appliedBeforeAnalysis.entry.id}.`,
1312
- suggestion_title: appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.reason,
1313
- });
1314
- return;
1315
- }
1316
- const analysisReport = await this.runDreamAnalysis(tier);
1317
- const appliedAfterAnalysis = tier === "deep" ? await this.tryApplyPendingDreamSuggestion() : null;
1318
- const platformReport = await this.runPlatformDreamConsolidation(tier);
1319
- const consolidationReport = tier === "deep"
1320
- ? this.legacyReportFromPlatformDream(platformReport) ?? await runDreamConsolidation({
1321
- stateManager: this.stateManager,
1322
- memoryLifecycle: this.memoryLifecycle,
1323
- knowledgeManager: this.knowledgeManager,
1324
- baseDir: this.baseDir,
1325
- })
1326
- : null;
1327
- const requestedGoalId = typeof details?.["goal_id"] === "string" ? details["goal_id"].trim() : "";
1328
- const goalHint = requestedGoalId ? ` for ${requestedGoalId}` : "";
1329
- await this.persistResidentActivity({
1330
- kind: "dream",
1331
- trigger: "proactive_tick",
1332
- summary: tier === "light"
1333
- ? `Resident dream light analysis ran${goalHint}; processed ${analysisReport.goalsProcessed.length} goals, persisted ${analysisReport.patternsPersisted} patterns, and generated ${analysisReport.scheduleSuggestions} schedule suggestion(s).`
1334
- : `Resident dream deep analysis ran${goalHint}; processed ${analysisReport.goalsProcessed.length} goals, persisted ${analysisReport.patternsPersisted} patterns, generated ${analysisReport.scheduleSuggestions} schedule suggestion(s), compressed ${consolidationReport?.entries_compressed ?? 0} entries, and created ${consolidationReport?.revalidation_tasks_created ?? 0} revalidation tasks${appliedAfterAnalysis ? ` while applying "${appliedAfterAnalysis.suggestion.name ?? appliedAfterAnalysis.suggestion.id}"` : ""}.`,
1335
- });
1336
- }
1337
- catch (err) {
1338
- const message = err instanceof Error ? err.message : String(err);
1339
- this.logger.warn("Resident dream maintenance failed", { error: message });
1340
- await this.persistResidentActivity({
1341
- kind: "error",
1342
- trigger: "proactive_tick",
1343
- summary: `Resident dream maintenance failed: ${message}`,
1344
- });
1345
- }
1346
- }
1347
- async triggerResidentPreemptiveCheck(details) {
1348
- const goalId = typeof details?.["goal_id"] === "string" ? details["goal_id"].trim() : "";
1349
- if (!goalId) {
1350
- await this.persistResidentActivity({
1351
- kind: "skipped",
1352
- trigger: "proactive_tick",
1353
- summary: "Resident preemptive check skipped because no goal_id was provided.",
1354
- });
1355
- return;
1356
- }
1357
- try {
1358
- const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
1359
- if (!goal) {
1360
- await this.persistResidentActivity({
1361
- kind: "skipped",
1362
- trigger: "proactive_tick",
1363
- summary: `Resident preemptive check skipped because goal "${goalId}" was not found.`,
1364
- goal_id: goalId,
1365
- });
1366
- return;
1367
- }
1368
- await this.driveSystem.writeEvent(PulSeedEventSchema.parse({
1369
- type: "external",
1370
- source: "resident-proactive",
1371
- timestamp: new Date().toISOString(),
1372
- data: {
1373
- event_type: "preemptive_check",
1374
- goal_id: goalId,
1375
- requested_by: "resident-daemon",
1376
- },
1377
- }));
1378
- if (!this.currentGoalIds.includes(goalId)) {
1379
- this.currentGoalIds.push(goalId);
1380
- }
1381
- this.refreshOperationalState();
1382
- this.supervisor?.activateGoal(goalId);
1383
- this.abortSleep();
1384
- await this.persistResidentActivity({
1385
- kind: "observation",
1386
- trigger: "proactive_tick",
1387
- summary: `Resident preemptive check queued an observation wake-up for goal "${goalId}".`,
1388
- goal_id: goalId,
1389
- });
1390
- }
1391
- catch (err) {
1392
- const message = err instanceof Error ? err.message : String(err);
1393
- this.logger.warn("Resident preemptive check failed", { error: message, goal_id: goalId });
1394
- await this.persistResidentActivity({
1395
- kind: "error",
1396
- trigger: "proactive_tick",
1397
- summary: `Resident preemptive check failed: ${message}`,
1398
- goal_id: goalId || undefined,
1399
- });
1400
- }
1401
- }
1402
- async triggerIdleResidentMaintenance() {
1403
- if (this.currentGoalIds.length > 0) {
1404
- return;
1405
- }
1406
- const dreamSuggestionPath = path.join(this.baseDir, "dream", "schedule-suggestions.json");
1407
- const hasDreamSuggestionFile = fs.existsSync(dreamSuggestionPath);
1408
- if (!hasDreamSuggestionFile && !this.memoryLifecycle && !this.knowledgeManager && !this.llmClient) {
1409
- return;
1410
- }
1411
- await this.triggerResidentDreamMaintenance(undefined, "light");
1412
- }
1413
- async runSupervisorMaintenanceCycle() {
1414
- this.refreshOperationalState();
1415
- await this.maybeRefreshProviderRuntime((this.supervisor?.getState().workers ?? []).filter((worker) => worker.goalId !== null).length);
1416
- await runSupervisorMaintenanceCycleForDaemon({
1417
- currentGoalIds: this.currentGoalIds,
1418
- driveSystem: this.driveSystem,
1419
- supervisor: this.supervisor,
1420
- processCronTasks: () => this.processCronTasks(),
1421
- processScheduleEntries: () => this.processScheduleEntries(),
1422
- proactiveTick: () => this.proactiveTick(),
1423
- saveDaemonState: () => this.saveDaemonState(),
1424
- eventServer: this.eventServer,
1425
- state: this.state,
1426
- runRuntimeStoreMaintenance: () => this.runRuntimeStoreMaintenance(),
1427
- });
1428
- }
1429
- async captureProviderRuntimeFingerprint() {
1430
- try {
1431
- return await this.getProviderRuntimeFingerprintFn();
1432
- }
1433
- catch (error) {
1434
- this.logger.warn("Failed to capture provider runtime fingerprint", {
1435
- error: error instanceof Error ? error.message : String(error),
1436
- });
1437
- return null;
1438
- }
1439
- }
1440
- async maybeRefreshProviderRuntime(activeGoalCount) {
1441
- if (!this.refreshResidentDeps || activeGoalCount > 0) {
1442
- return;
1443
- }
1444
- const currentFingerprint = await this.captureProviderRuntimeFingerprint();
1445
- if (!currentFingerprint || currentFingerprint === this.providerRuntimeFingerprint) {
1446
- return;
1447
- }
1448
- try {
1449
- const freshDeps = await this.refreshResidentDeps();
1450
- this.coreLoop = freshDeps.coreLoop;
1451
- this.curiosityEngine = freshDeps.curiosityEngine;
1452
- this.goalNegotiator = freshDeps.goalNegotiator;
1453
- this.llmClient = freshDeps.llmClient;
1454
- this.reportingEngine = freshDeps.reportingEngine;
1455
- this.scheduleEngine = freshDeps.scheduleEngine;
1456
- this.memoryLifecycle = freshDeps.memoryLifecycle;
1457
- this.knowledgeManager = freshDeps.knowledgeManager;
1458
- this.supervisor?.replaceIdleWorkers(() => this.coreLoop);
1459
- this.providerRuntimeFingerprint = currentFingerprint;
1460
- this.logger.info("Refreshed resident daemon dependencies after provider drift", {
1461
- fingerprint_changed: true,
1462
- });
1463
- }
1464
- catch (error) {
1465
- this.logger.warn("Failed to refresh resident daemon dependencies after provider drift", {
1466
- error: error instanceof Error ? error.message : String(error),
1467
- });
1468
- }
1469
- }
1470
- async handleChatMessageCommand(goalId, message) {
1471
- await writeChatMessageEvent(this.driveSystem, goalId, message);
1472
- await this.broadcastChatResponse(goalId, message);
1473
- this.abortSleep();
1474
- }
1475
- async runCommandWithHealth(commandName, fn) {
1476
- return runCommandWithHealthFn(commandName, fn, (status, reason) => this.runtimeOwnership.observeCommandAcceptance(status, reason));
1477
- }
1478
- async handleApprovalResponseCommand(goalId, requestId, approved) {
1479
- if (this.approvalBroker) {
1480
- await this.approvalBroker.resolveApproval(requestId, approved, "dispatcher");
1481
- return;
1482
- }
1483
- if (goalId && this.eventServer) {
1484
- await this.eventServer.resolveApproval(requestId, approved);
1485
- }
1486
- }
1487
- async handleCronTaskDue(taskId) {
1488
- if (!this.cronScheduler) {
1489
- return;
1490
- }
1491
- try {
1492
- await this.cronScheduler.markFired(taskId);
1493
- this.logger.info(`Cron task fired: ${taskId}`);
1494
- }
1495
- catch (err) {
1496
- this.logger.warn(`Cron task ${taskId} failed`, {
1497
- error: err instanceof Error ? err.message : String(err),
1498
- });
1499
- await this.cronScheduler.markFired(taskId);
1500
- }
1501
- }
1502
- async runRuntimeStoreMaintenance(force = false) {
1503
- if (!this.runtimeRoot) {
1504
- return;
1505
- }
1506
- const now = Date.now();
1507
- if (!force && now - this.lastRuntimeStoreMaintenanceAt < this.config.check_interval_ms) {
1508
- return;
1509
- }
1510
- this.lastRuntimeStoreMaintenanceAt = now;
1511
- await runRuntimeStoreMaintenanceCycle({
1512
- runtimeRoot: this.runtimeRoot,
1513
- approvalStore: this.approvalStore ?? undefined,
1514
- outboxStore: this.outboxStore ?? undefined,
1515
- runtimeHealthStore: this.runtimeHealthStore ?? undefined,
1516
- logger: this.logger,
1517
- now,
1518
- });
1519
- }
1520
- startStartupRuntimeStoreMaintenance() {
1521
- if (this.startupRuntimeStoreMaintenancePromise) {
1522
- return;
1523
- }
1524
- this.startupRuntimeStoreMaintenanceError = null;
1525
- this.startupRuntimeStoreMaintenancePromise = this.runRuntimeStoreMaintenance(true)
1526
- .catch((err) => {
1527
- this.startupRuntimeStoreMaintenanceError = err;
1528
- this.logger.error("Startup runtime store maintenance failed", {
1529
- error: err instanceof Error ? err.message : String(err),
1530
- });
1531
- });
1532
- }
1533
- async drainStartupRuntimeStoreMaintenance() {
1534
- const maintenancePromise = this.startupRuntimeStoreMaintenancePromise;
1535
- if (!maintenancePromise) {
1536
- return;
1537
- }
1538
- await maintenancePromise;
1539
- this.startupRuntimeStoreMaintenancePromise = null;
1540
- const maintenanceError = this.startupRuntimeStoreMaintenanceError;
1541
- this.startupRuntimeStoreMaintenanceError = null;
1542
- if (maintenanceError) {
1543
- throw maintenanceError;
1544
- }
1545
- }
1546
- // ─── Private: Proactive Tick ───
1547
- /**
1548
- * Ask the LLM for a proactive action when no goals were activated this cycle.
1549
- * Fires only if proactive_mode is enabled and enough time has passed since last tick.
1550
- * Errors are caught and logged — they never affect the daemon loop.
1551
- */
1552
- async proactiveTick() {
1553
- if (!this.config.proactive_mode) {
1554
- return;
1555
- }
1556
- if (await this.runScheduledGoalReview()) {
1557
- return;
1558
- }
1559
- const curiosityTriggered = await this.runResidentCuriosityCycle({
1560
- activityTrigger: "proactive_tick",
1561
- skipWhenNoTriggers: true,
1562
- });
1563
- if (curiosityTriggered) {
1564
- return;
1565
- }
1566
- const result = await runProactiveMaintenance({
1567
- config: this.config,
1568
- llmClient: this.llmClient,
1569
- state: this.state,
1570
- lastProactiveTickAt: this.lastProactiveTickAt,
1571
- logger: this.logger,
1572
- });
1573
- this.lastProactiveTickAt = result.lastProactiveTickAt;
1574
- if (!result.decision) {
1575
- return;
1576
- }
1577
- if (result.decision.action === "sleep") {
1578
- await this.persistResidentActivity({
1579
- kind: "sleep",
1580
- trigger: "proactive_tick",
1581
- summary: "Resident proactive tick stayed idle.",
1582
- });
1583
- await this.triggerIdleResidentMaintenance();
1584
- return;
1585
- }
1586
- if (result.decision.action === "suggest_goal") {
1587
- await this.triggerResidentGoalDiscovery(result.decision.details);
1588
- return;
1589
- }
1590
- if (result.decision.action === "investigate") {
1591
- await this.triggerResidentInvestigation(result.decision.details);
1592
- return;
1593
- }
1594
- if (result.decision.action === "preemptive_check") {
1595
- await this.triggerResidentPreemptiveCheck(result.decision.details);
1596
- return;
1597
- }
1598
- await this.persistResidentActivity({
1599
- kind: "skipped",
1600
- trigger: "proactive_tick",
1601
- summary: `Resident proactive tick requested ${result.decision.action}, but no resident executor is wired for it yet.`,
1602
- });
1603
- }
1604
- // ─── Private: Adaptive Sleep ───
1605
- /**
1606
- * Get the highest gap score across all active goals.
1607
- * Falls back to 0 if no gap data is available.
1608
- */
1609
- async getMaxGapScore(goalIds, snapshot) {
1610
- return getMaxGapScoreForGoals(this.driveSystem, goalIds, snapshot);
1611
- }
1612
- /**
1613
- * Thin wrapper delegating to the standalone calculateAdaptiveInterval function.
1614
- * Passes this.config.adaptive_sleep as the config parameter.
1615
- * Kept as a class method so tests can call daemon.calculateAdaptiveInterval(...).
1616
- */
1617
- calculateAdaptiveInterval(baseInterval, goalsActivatedThisCycle, maxGapScore, consecutiveIdleCycles) {
1618
- return calcAdaptiveInterval(baseInterval, goalsActivatedThisCycle, maxGapScore, consecutiveIdleCycles, this.config.adaptive_sleep);
1619
- }
1620
- // ─── Private: Shutdown Marker ───
1621
- /**
1622
- * Write shutdown-state.json to baseDir (async, atomic).
1623
- */
1624
- async writeShutdownMarker(marker) {
1625
- await writeShutdownMarkerFile(this.baseDir, marker, this.logger);
1626
- }
1627
- /**
1628
- * Read shutdown-state.json from baseDir.
1629
- * Returns null if file doesn't exist or fails to parse.
1630
- */
1631
- async readShutdownMarker() {
1632
- return readShutdownMarkerFile(this.baseDir);
1633
- }
1634
- /**
1635
- * Delete shutdown-state.json (after successful resume).
1636
- */
1637
- async deleteShutdownMarker() {
1638
- await deleteShutdownMarkerFile(this.baseDir);
1639
- }
1640
- /**
1641
- * Check for a previous shutdown marker and log recovery information.
1642
- * Called at startup before the main loop begins.
1643
- */
1644
- async checkCrashRecovery() {
1645
- await checkCrashRecoveryMarker(this.baseDir, this.logger);
1646
- }
1647
- // ─── Log Rotation (delegates to daemon-health) ───
1648
- /**
1649
- * Rotate the main log file if it exceeds the configured size limit.
1650
- * Delegates to rotateDaemonLog() with explicit config params.
1651
- * Called at daemon startup.
1652
- */
1653
- async rotateLog() {
1654
- const maxSizeBytes = this.config.log_rotation.max_size_mb * 1024 * 1024;
1655
- const maxFiles = this.config.log_rotation.max_files;
1656
- await rotateDaemonLog(this.logPath, this.logDir, maxSizeBytes, maxFiles, this.logger);
1657
- }
1658
- // ─── Static Utilities (delegates to daemon-signals) ───
1659
- /**
1660
- * Generate a crontab entry that runs `pulseed run --goal <goalId>` on a schedule.
1661
- * Delegates to the standalone generateCronEntry() function in daemon-signals.ts.
1662
- */
1663
- static generateCronEntry(goalId, intervalMinutes = 60) {
1664
- return generateCronEntry(goalId, intervalMinutes);
1665
- }
1666
- }
1667
- //# sourceMappingURL=runner.js.map