smithers-orchestrator 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1147) hide show
  1. package/README.md +247 -143
  2. package/package.json +53 -62
  3. package/src/agents/cli.ts +801 -0
  4. package/src/cli/index.ts +295 -0
  5. package/src/components.ts +88 -0
  6. package/src/context.ts +147 -0
  7. package/src/db/adapter.ts +272 -0
  8. package/src/db/ensure.ts +123 -0
  9. package/src/db/input.ts +16 -0
  10. package/src/db/internal-schema.ts +148 -0
  11. package/src/db/output.ts +161 -0
  12. package/src/db/schema-signature.ts +18 -0
  13. package/src/db/snapshot.ts +29 -0
  14. package/src/dom/extract.ts +169 -0
  15. package/src/dom/renderer.ts +193 -0
  16. package/src/engine/approvals.ts +74 -0
  17. package/src/engine/index.ts +1230 -0
  18. package/src/engine/scheduler.ts +191 -0
  19. package/src/events.ts +64 -0
  20. package/src/index.ts +275 -0
  21. package/src/jsx-runtime.ts +2 -0
  22. package/src/mdx-components.ts +102 -0
  23. package/src/mdx-plugin.ts +6 -0
  24. package/src/pi-plugin/index.ts +99 -0
  25. package/src/revert.ts +64 -0
  26. package/src/server/index.ts +642 -0
  27. package/src/tools/context.ts +30 -0
  28. package/src/tools/index.ts +306 -0
  29. package/src/tools/utils.ts +42 -0
  30. package/src/types.ts +327 -0
  31. package/src/utils/errors.ts +32 -0
  32. package/src/utils/hash.ts +7 -0
  33. package/src/utils/ids.ts +6 -0
  34. package/src/utils/time.ts +3 -0
  35. package/src/utils/tree-ids.ts +11 -0
  36. package/src/utils/xml.ts +28 -0
  37. package/src/vcs/jj.ts +41 -0
  38. package/src/zod-to-example.ts +61 -0
  39. package/src/zod-to-table.ts +139 -0
  40. package/bunfig.toml +0 -19
  41. package/dist/bin/cli.js +0 -63850
  42. package/dist/bin/highlights-eq9cgrbb.scm +0 -604
  43. package/dist/bin/highlights-ghv9g403.scm +0 -205
  44. package/dist/bin/highlights-hk7bwhj4.scm +0 -284
  45. package/dist/bin/highlights-r812a2qc.scm +0 -150
  46. package/dist/bin/highlights-x6tmsnaa.scm +0 -115
  47. package/dist/bin/injections-73j83es3.scm +0 -27
  48. package/dist/bin/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
  49. package/dist/bin/tree-sitter-markdown-411r6y9b.wasm +0 -0
  50. package/dist/bin/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
  51. package/dist/bin/tree-sitter-typescript-zxjzwt75.wasm +0 -0
  52. package/dist/bin/tree-sitter-zig-e78zbjpm.wasm +0 -0
  53. package/dist/src/commands/cli-utils.d.ts +0 -12
  54. package/dist/src/commands/cli-utils.d.ts.map +0 -1
  55. package/dist/src/commands/cli-utils.js +0 -52
  56. package/dist/src/commands/cli-utils.js.map +0 -1
  57. package/dist/src/commands/db/current-view.d.ts +0 -3
  58. package/dist/src/commands/db/current-view.d.ts.map +0 -1
  59. package/dist/src/commands/db/current-view.js +0 -44
  60. package/dist/src/commands/db/current-view.js.map +0 -1
  61. package/dist/src/commands/db/execution-view.d.ts +0 -3
  62. package/dist/src/commands/db/execution-view.d.ts.map +0 -1
  63. package/dist/src/commands/db/execution-view.js +0 -89
  64. package/dist/src/commands/db/execution-view.js.map +0 -1
  65. package/dist/src/commands/db/executions-view.d.ts +0 -3
  66. package/dist/src/commands/db/executions-view.d.ts.map +0 -1
  67. package/dist/src/commands/db/executions-view.js +0 -34
  68. package/dist/src/commands/db/executions-view.js.map +0 -1
  69. package/dist/src/commands/db/help.d.ts +0 -2
  70. package/dist/src/commands/db/help.d.ts.map +0 -1
  71. package/dist/src/commands/db/help.js +0 -19
  72. package/dist/src/commands/db/help.js.map +0 -1
  73. package/dist/src/commands/db/index.d.ts +0 -15
  74. package/dist/src/commands/db/index.d.ts.map +0 -1
  75. package/dist/src/commands/db/index.js +0 -83
  76. package/dist/src/commands/db/index.js.map +0 -1
  77. package/dist/src/commands/db/memories-view.d.ts +0 -3
  78. package/dist/src/commands/db/memories-view.d.ts.map +0 -1
  79. package/dist/src/commands/db/memories-view.js +0 -30
  80. package/dist/src/commands/db/memories-view.js.map +0 -1
  81. package/dist/src/commands/db/recovery-view.d.ts +0 -3
  82. package/dist/src/commands/db/recovery-view.d.ts.map +0 -1
  83. package/dist/src/commands/db/recovery-view.js +0 -36
  84. package/dist/src/commands/db/recovery-view.js.map +0 -1
  85. package/dist/src/commands/db/state-view.d.ts +0 -3
  86. package/dist/src/commands/db/state-view.d.ts.map +0 -1
  87. package/dist/src/commands/db/state-view.js +0 -37
  88. package/dist/src/commands/db/state-view.js.map +0 -1
  89. package/dist/src/commands/db/stats-view.d.ts +0 -3
  90. package/dist/src/commands/db/stats-view.d.ts.map +0 -1
  91. package/dist/src/commands/db/stats-view.js +0 -23
  92. package/dist/src/commands/db/stats-view.js.map +0 -1
  93. package/dist/src/commands/db/transitions-view.d.ts +0 -3
  94. package/dist/src/commands/db/transitions-view.d.ts.map +0 -1
  95. package/dist/src/commands/db/transitions-view.js +0 -22
  96. package/dist/src/commands/db/transitions-view.js.map +0 -1
  97. package/dist/src/commands/db/view-utils.d.ts +0 -9
  98. package/dist/src/commands/db/view-utils.d.ts.map +0 -1
  99. package/dist/src/commands/db/view-utils.js +0 -29
  100. package/dist/src/commands/db/view-utils.js.map +0 -1
  101. package/dist/src/commands/db.d.ts +0 -2
  102. package/dist/src/commands/db.d.ts.map +0 -1
  103. package/dist/src/commands/db.js +0 -2
  104. package/dist/src/commands/db.js.map +0 -1
  105. package/dist/src/commands/demo.d.ts +0 -2
  106. package/dist/src/commands/demo.d.ts.map +0 -1
  107. package/dist/src/commands/demo.js +0 -45
  108. package/dist/src/commands/demo.js.map +0 -1
  109. package/dist/src/commands/init.d.ts +0 -14
  110. package/dist/src/commands/init.d.ts.map +0 -1
  111. package/dist/src/commands/init.js +0 -124
  112. package/dist/src/commands/init.js.map +0 -1
  113. package/dist/src/commands/monitor.d.ts +0 -14
  114. package/dist/src/commands/monitor.d.ts.map +0 -1
  115. package/dist/src/commands/monitor.js +0 -140
  116. package/dist/src/commands/monitor.js.map +0 -1
  117. package/dist/src/commands/run.d.ts +0 -13
  118. package/dist/src/commands/run.d.ts.map +0 -1
  119. package/dist/src/commands/run.js +0 -62
  120. package/dist/src/commands/run.js.map +0 -1
  121. package/dist/src/commands/test-utils.d.ts +0 -3
  122. package/dist/src/commands/test-utils.d.ts.map +0 -1
  123. package/dist/src/commands/test-utils.js +0 -14
  124. package/dist/src/commands/test-utils.js.map +0 -1
  125. package/dist/src/commands/upgrade.d.ts +0 -21
  126. package/dist/src/commands/upgrade.d.ts.map +0 -1
  127. package/dist/src/commands/upgrade.js +0 -78
  128. package/dist/src/commands/upgrade.js.map +0 -1
  129. package/dist/src/components/AgentRenderer.d.ts +0 -32
  130. package/dist/src/components/AgentRenderer.d.ts.map +0 -1
  131. package/dist/src/components/AgentRenderer.js +0 -30
  132. package/dist/src/components/AgentRenderer.js.map +0 -1
  133. package/dist/src/components/Amp.d.ts +0 -6
  134. package/dist/src/components/Amp.d.ts.map +0 -1
  135. package/dist/src/components/Amp.js +0 -9
  136. package/dist/src/components/Amp.js.map +0 -1
  137. package/dist/src/components/Claude.d.ts +0 -6
  138. package/dist/src/components/Claude.d.ts.map +0 -1
  139. package/dist/src/components/Claude.js +0 -9
  140. package/dist/src/components/Claude.js.map +0 -1
  141. package/dist/src/components/ClaudeApi.d.ts +0 -12
  142. package/dist/src/components/ClaudeApi.d.ts.map +0 -1
  143. package/dist/src/components/ClaudeApi.js +0 -5
  144. package/dist/src/components/ClaudeApi.js.map +0 -1
  145. package/dist/src/components/Codex.d.ts +0 -6
  146. package/dist/src/components/Codex.d.ts.map +0 -1
  147. package/dist/src/components/Codex.js +0 -9
  148. package/dist/src/components/Codex.js.map +0 -1
  149. package/dist/src/components/Command.d.ts +0 -36
  150. package/dist/src/components/Command.d.ts.map +0 -1
  151. package/dist/src/components/Command.js +0 -186
  152. package/dist/src/components/Command.js.map +0 -1
  153. package/dist/src/components/Constraints.d.ts +0 -6
  154. package/dist/src/components/Constraints.d.ts.map +0 -1
  155. package/dist/src/components/Constraints.js +0 -5
  156. package/dist/src/components/Constraints.js.map +0 -1
  157. package/dist/src/components/Each.d.ts +0 -7
  158. package/dist/src/components/Each.d.ts.map +0 -1
  159. package/dist/src/components/Each.js +0 -5
  160. package/dist/src/components/Each.js.map +0 -1
  161. package/dist/src/components/End.d.ts +0 -22
  162. package/dist/src/components/End.d.ts.map +0 -1
  163. package/dist/src/components/End.js +0 -63
  164. package/dist/src/components/End.js.map +0 -1
  165. package/dist/src/components/ExecutionContext.d.ts +0 -11
  166. package/dist/src/components/ExecutionContext.d.ts.map +0 -1
  167. package/dist/src/components/ExecutionContext.js +0 -16
  168. package/dist/src/components/ExecutionContext.js.map +0 -1
  169. package/dist/src/components/ExecutionScope.d.ts +0 -14
  170. package/dist/src/components/ExecutionScope.d.ts.map +0 -1
  171. package/dist/src/components/ExecutionScope.js +0 -21
  172. package/dist/src/components/ExecutionScope.js.map +0 -1
  173. package/dist/src/components/Git/Commit.d.ts +0 -32
  174. package/dist/src/components/Git/Commit.d.ts.map +0 -1
  175. package/dist/src/components/Git/Commit.js +0 -112
  176. package/dist/src/components/Git/Commit.js.map +0 -1
  177. package/dist/src/components/Git/Notes.d.ts +0 -24
  178. package/dist/src/components/Git/Notes.d.ts.map +0 -1
  179. package/dist/src/components/Git/Notes.js +0 -46
  180. package/dist/src/components/Git/Notes.js.map +0 -1
  181. package/dist/src/components/Git/index.d.ts +0 -4
  182. package/dist/src/components/Git/index.d.ts.map +0 -1
  183. package/dist/src/components/Git/index.js +0 -4
  184. package/dist/src/components/Git/index.js.map +0 -1
  185. package/dist/src/components/Git/useGitOperation.d.ts +0 -16
  186. package/dist/src/components/Git/useGitOperation.d.ts.map +0 -1
  187. package/dist/src/components/Git/useGitOperation.js +0 -5
  188. package/dist/src/components/Git/useGitOperation.js.map +0 -1
  189. package/dist/src/components/Hooks/OnCIFailure.d.ts +0 -33
  190. package/dist/src/components/Hooks/OnCIFailure.d.ts.map +0 -1
  191. package/dist/src/components/Hooks/OnCIFailure.js +0 -176
  192. package/dist/src/components/Hooks/OnCIFailure.js.map +0 -1
  193. package/dist/src/components/Hooks/PostCommit.d.ts +0 -16
  194. package/dist/src/components/Hooks/PostCommit.d.ts.map +0 -1
  195. package/dist/src/components/Hooks/PostCommit.js +0 -153
  196. package/dist/src/components/Hooks/PostCommit.js.map +0 -1
  197. package/dist/src/components/Hooks/index.d.ts +0 -4
  198. package/dist/src/components/Hooks/index.d.ts.map +0 -1
  199. package/dist/src/components/Hooks/index.js +0 -4
  200. package/dist/src/components/Hooks/index.js.map +0 -1
  201. package/dist/src/components/Hooks/usePollingHook.d.ts +0 -16
  202. package/dist/src/components/Hooks/usePollingHook.d.ts.map +0 -1
  203. package/dist/src/components/Hooks/usePollingHook.js +0 -63
  204. package/dist/src/components/Hooks/usePollingHook.js.map +0 -1
  205. package/dist/src/components/Human.d.ts +0 -10
  206. package/dist/src/components/Human.d.ts.map +0 -1
  207. package/dist/src/components/Human.js +0 -58
  208. package/dist/src/components/Human.js.map +0 -1
  209. package/dist/src/components/If.d.ts +0 -7
  210. package/dist/src/components/If.d.ts.map +0 -1
  211. package/dist/src/components/If.js +0 -4
  212. package/dist/src/components/If.js.map +0 -1
  213. package/dist/src/components/JJ/Commit.d.ts +0 -10
  214. package/dist/src/components/JJ/Commit.d.ts.map +0 -1
  215. package/dist/src/components/JJ/Commit.js +0 -49
  216. package/dist/src/components/JJ/Commit.js.map +0 -1
  217. package/dist/src/components/JJ/Describe.d.ts +0 -9
  218. package/dist/src/components/JJ/Describe.d.ts.map +0 -1
  219. package/dist/src/components/JJ/Describe.js +0 -37
  220. package/dist/src/components/JJ/Describe.js.map +0 -1
  221. package/dist/src/components/JJ/Rebase.d.ts +0 -10
  222. package/dist/src/components/JJ/Rebase.d.ts.map +0 -1
  223. package/dist/src/components/JJ/Rebase.js +0 -102
  224. package/dist/src/components/JJ/Rebase.js.map +0 -1
  225. package/dist/src/components/JJ/Snapshot.d.ts +0 -8
  226. package/dist/src/components/JJ/Snapshot.d.ts.map +0 -1
  227. package/dist/src/components/JJ/Snapshot.js +0 -34
  228. package/dist/src/components/JJ/Snapshot.js.map +0 -1
  229. package/dist/src/components/JJ/Status.d.ts +0 -13
  230. package/dist/src/components/JJ/Status.d.ts.map +0 -1
  231. package/dist/src/components/JJ/Status.js +0 -48
  232. package/dist/src/components/JJ/Status.js.map +0 -1
  233. package/dist/src/components/JJ/index.d.ts +0 -8
  234. package/dist/src/components/JJ/index.d.ts.map +0 -1
  235. package/dist/src/components/JJ/index.js +0 -8
  236. package/dist/src/components/JJ/index.js.map +0 -1
  237. package/dist/src/components/JJ/useJJOperation.d.ts +0 -16
  238. package/dist/src/components/JJ/useJJOperation.d.ts.map +0 -1
  239. package/dist/src/components/JJ/useJJOperation.js +0 -5
  240. package/dist/src/components/JJ/useJJOperation.js.map +0 -1
  241. package/dist/src/components/MCP/Sqlite.d.ts +0 -11
  242. package/dist/src/components/MCP/Sqlite.d.ts.map +0 -1
  243. package/dist/src/components/MCP/Sqlite.js +0 -9
  244. package/dist/src/components/MCP/Sqlite.js.map +0 -1
  245. package/dist/src/components/MCP/index.d.ts +0 -2
  246. package/dist/src/components/MCP/index.d.ts.map +0 -1
  247. package/dist/src/components/MCP/index.js +0 -2
  248. package/dist/src/components/MCP/index.js.map +0 -1
  249. package/dist/src/components/OrchestrationController.d.ts +0 -13
  250. package/dist/src/components/OrchestrationController.d.ts.map +0 -1
  251. package/dist/src/components/OrchestrationController.js +0 -28
  252. package/dist/src/components/OrchestrationController.js.map +0 -1
  253. package/dist/src/components/Parallel.d.ts +0 -6
  254. package/dist/src/components/Parallel.d.ts.map +0 -1
  255. package/dist/src/components/Parallel.js +0 -37
  256. package/dist/src/components/Parallel.js.map +0 -1
  257. package/dist/src/components/Persona.d.ts +0 -7
  258. package/dist/src/components/Persona.d.ts.map +0 -1
  259. package/dist/src/components/Persona.js +0 -5
  260. package/dist/src/components/Persona.js.map +0 -1
  261. package/dist/src/components/Phase.d.ts +0 -10
  262. package/dist/src/components/Phase.d.ts.map +0 -1
  263. package/dist/src/components/Phase.js +0 -99
  264. package/dist/src/components/Phase.js.map +0 -1
  265. package/dist/src/components/PhaseContext.d.ts +0 -6
  266. package/dist/src/components/PhaseContext.d.ts.map +0 -1
  267. package/dist/src/components/PhaseContext.js +0 -6
  268. package/dist/src/components/PhaseContext.js.map +0 -1
  269. package/dist/src/components/PhaseRegistry.d.ts +0 -16
  270. package/dist/src/components/PhaseRegistry.d.ts.map +0 -1
  271. package/dist/src/components/PhaseRegistry.js +0 -100
  272. package/dist/src/components/PhaseRegistry.js.map +0 -1
  273. package/dist/src/components/Ralph.d.ts +0 -7
  274. package/dist/src/components/Ralph.d.ts.map +0 -1
  275. package/dist/src/components/Ralph.js +0 -7
  276. package/dist/src/components/Ralph.js.map +0 -1
  277. package/dist/src/components/Review/Review.d.ts +0 -4
  278. package/dist/src/components/Review/Review.d.ts.map +0 -1
  279. package/dist/src/components/Review/Review.js +0 -7
  280. package/dist/src/components/Review/Review.js.map +0 -1
  281. package/dist/src/components/Review/index.d.ts +0 -3
  282. package/dist/src/components/Review/index.d.ts.map +0 -1
  283. package/dist/src/components/Review/index.js +0 -2
  284. package/dist/src/components/Review/index.js.map +0 -1
  285. package/dist/src/components/Review/types.d.ts +0 -49
  286. package/dist/src/components/Review/types.d.ts.map +0 -1
  287. package/dist/src/components/Review/types.js +0 -2
  288. package/dist/src/components/Review/types.js.map +0 -1
  289. package/dist/src/components/Review.d.ts +0 -3
  290. package/dist/src/components/Review.d.ts.map +0 -1
  291. package/dist/src/components/Review.js +0 -2
  292. package/dist/src/components/Review.js.map +0 -1
  293. package/dist/src/components/Smithers.d.ts +0 -71
  294. package/dist/src/components/Smithers.d.ts.map +0 -1
  295. package/dist/src/components/Smithers.js +0 -8
  296. package/dist/src/components/Smithers.js.map +0 -1
  297. package/dist/src/components/SmithersProvider.d.ts +0 -50
  298. package/dist/src/components/SmithersProvider.d.ts.map +0 -1
  299. package/dist/src/components/SmithersProvider.js +0 -177
  300. package/dist/src/components/SmithersProvider.js.map +0 -1
  301. package/dist/src/components/Step.d.ts +0 -15
  302. package/dist/src/components/Step.d.ts.map +0 -1
  303. package/dist/src/components/Step.js +0 -211
  304. package/dist/src/components/Step.js.map +0 -1
  305. package/dist/src/components/StepContext.d.ts +0 -6
  306. package/dist/src/components/StepContext.d.ts.map +0 -1
  307. package/dist/src/components/StepContext.js +0 -6
  308. package/dist/src/components/StepContext.js.map +0 -1
  309. package/dist/src/components/StepRegistryProvider.d.ts +0 -23
  310. package/dist/src/components/StepRegistryProvider.d.ts.map +0 -1
  311. package/dist/src/components/StepRegistryProvider.js +0 -135
  312. package/dist/src/components/StepRegistryProvider.js.map +0 -1
  313. package/dist/src/components/Stop.d.ts +0 -7
  314. package/dist/src/components/Stop.d.ts.map +0 -1
  315. package/dist/src/components/Stop.js +0 -11
  316. package/dist/src/components/Stop.js.map +0 -1
  317. package/dist/src/components/StopConditionEvaluator.d.ts +0 -35
  318. package/dist/src/components/StopConditionEvaluator.d.ts.map +0 -1
  319. package/dist/src/components/StopConditionEvaluator.js +0 -36
  320. package/dist/src/components/StopConditionEvaluator.js.map +0 -1
  321. package/dist/src/components/Subagent.d.ts +0 -8
  322. package/dist/src/components/Subagent.d.ts.map +0 -1
  323. package/dist/src/components/Subagent.js +0 -5
  324. package/dist/src/components/Subagent.js.map +0 -1
  325. package/dist/src/components/Switch.d.ts +0 -19
  326. package/dist/src/components/Switch.d.ts.map +0 -1
  327. package/dist/src/components/Switch.js +0 -72
  328. package/dist/src/components/Switch.js.map +0 -1
  329. package/dist/src/components/Task.d.ts +0 -7
  330. package/dist/src/components/Task.d.ts.map +0 -1
  331. package/dist/src/components/Task.js +0 -5
  332. package/dist/src/components/Task.js.map +0 -1
  333. package/dist/src/components/TaskCompletionTracker.d.ts +0 -13
  334. package/dist/src/components/TaskCompletionTracker.d.ts.map +0 -1
  335. package/dist/src/components/TaskCompletionTracker.js +0 -54
  336. package/dist/src/components/TaskCompletionTracker.js.map +0 -1
  337. package/dist/src/components/VCS/useVcsOperation.d.ts +0 -28
  338. package/dist/src/components/VCS/useVcsOperation.d.ts.map +0 -1
  339. package/dist/src/components/VCS/useVcsOperation.js +0 -54
  340. package/dist/src/components/VCS/useVcsOperation.js.map +0 -1
  341. package/dist/src/components/While.d.ts +0 -21
  342. package/dist/src/components/While.d.ts.map +0 -1
  343. package/dist/src/components/While.js +0 -94
  344. package/dist/src/components/While.js.map +0 -1
  345. package/dist/src/components/Worktree.d.ts +0 -17
  346. package/dist/src/components/Worktree.d.ts.map +0 -1
  347. package/dist/src/components/Worktree.js +0 -103
  348. package/dist/src/components/Worktree.js.map +0 -1
  349. package/dist/src/components/WorktreeProvider.d.ts +0 -12
  350. package/dist/src/components/WorktreeProvider.d.ts.map +0 -1
  351. package/dist/src/components/WorktreeProvider.js +0 -10
  352. package/dist/src/components/WorktreeProvider.js.map +0 -1
  353. package/dist/src/components/agents/ClaudeCodeCLI.d.ts +0 -3
  354. package/dist/src/components/agents/ClaudeCodeCLI.d.ts.map +0 -1
  355. package/dist/src/components/agents/ClaudeCodeCLI.js +0 -10
  356. package/dist/src/components/agents/ClaudeCodeCLI.js.map +0 -1
  357. package/dist/src/components/agents/SmithersCLI.d.ts +0 -69
  358. package/dist/src/components/agents/SmithersCLI.d.ts.map +0 -1
  359. package/dist/src/components/agents/SmithersCLI.js +0 -254
  360. package/dist/src/components/agents/SmithersCLI.js.map +0 -1
  361. package/dist/src/components/agents/amp-cli/arg-builder.d.ts +0 -14
  362. package/dist/src/components/agents/amp-cli/arg-builder.d.ts.map +0 -1
  363. package/dist/src/components/agents/amp-cli/arg-builder.js +0 -62
  364. package/dist/src/components/agents/amp-cli/arg-builder.js.map +0 -1
  365. package/dist/src/components/agents/amp-cli/executor.d.ts +0 -4
  366. package/dist/src/components/agents/amp-cli/executor.d.ts.map +0 -1
  367. package/dist/src/components/agents/amp-cli/executor.js +0 -114
  368. package/dist/src/components/agents/amp-cli/executor.js.map +0 -1
  369. package/dist/src/components/agents/amp-cli/index.d.ts +0 -4
  370. package/dist/src/components/agents/amp-cli/index.d.ts.map +0 -1
  371. package/dist/src/components/agents/amp-cli/index.js +0 -4
  372. package/dist/src/components/agents/amp-cli/index.js.map +0 -1
  373. package/dist/src/components/agents/amp-cli/output-parser.d.ts +0 -32
  374. package/dist/src/components/agents/amp-cli/output-parser.d.ts.map +0 -1
  375. package/dist/src/components/agents/amp-cli/output-parser.js +0 -197
  376. package/dist/src/components/agents/amp-cli/output-parser.js.map +0 -1
  377. package/dist/src/components/agents/claude-cli/arg-builder.d.ts +0 -15
  378. package/dist/src/components/agents/claude-cli/arg-builder.d.ts.map +0 -1
  379. package/dist/src/components/agents/claude-cli/arg-builder.js +0 -87
  380. package/dist/src/components/agents/claude-cli/arg-builder.js.map +0 -1
  381. package/dist/src/components/agents/claude-cli/executor.d.ts +0 -11
  382. package/dist/src/components/agents/claude-cli/executor.d.ts.map +0 -1
  383. package/dist/src/components/agents/claude-cli/executor.js +0 -209
  384. package/dist/src/components/agents/claude-cli/executor.js.map +0 -1
  385. package/dist/src/components/agents/claude-cli/index.d.ts +0 -6
  386. package/dist/src/components/agents/claude-cli/index.d.ts.map +0 -1
  387. package/dist/src/components/agents/claude-cli/index.js +0 -5
  388. package/dist/src/components/agents/claude-cli/index.js.map +0 -1
  389. package/dist/src/components/agents/claude-cli/message-parser.d.ts +0 -33
  390. package/dist/src/components/agents/claude-cli/message-parser.d.ts.map +0 -1
  391. package/dist/src/components/agents/claude-cli/message-parser.js +0 -152
  392. package/dist/src/components/agents/claude-cli/message-parser.js.map +0 -1
  393. package/dist/src/components/agents/claude-cli/output-parser.d.ts +0 -18
  394. package/dist/src/components/agents/claude-cli/output-parser.d.ts.map +0 -1
  395. package/dist/src/components/agents/claude-cli/output-parser.js +0 -142
  396. package/dist/src/components/agents/claude-cli/output-parser.js.map +0 -1
  397. package/dist/src/components/agents/claude-cli/stop-conditions.d.ts +0 -9
  398. package/dist/src/components/agents/claude-cli/stop-conditions.d.ts.map +0 -1
  399. package/dist/src/components/agents/claude-cli/stop-conditions.js +0 -77
  400. package/dist/src/components/agents/claude-cli/stop-conditions.js.map +0 -1
  401. package/dist/src/components/agents/codex-cli/arg-builder.d.ts +0 -10
  402. package/dist/src/components/agents/codex-cli/arg-builder.d.ts.map +0 -1
  403. package/dist/src/components/agents/codex-cli/arg-builder.js +0 -95
  404. package/dist/src/components/agents/codex-cli/arg-builder.js.map +0 -1
  405. package/dist/src/components/agents/codex-cli/executor.d.ts +0 -9
  406. package/dist/src/components/agents/codex-cli/executor.d.ts.map +0 -1
  407. package/dist/src/components/agents/codex-cli/executor.js +0 -57
  408. package/dist/src/components/agents/codex-cli/executor.js.map +0 -1
  409. package/dist/src/components/agents/codex-cli/index.d.ts +0 -4
  410. package/dist/src/components/agents/codex-cli/index.d.ts.map +0 -1
  411. package/dist/src/components/agents/codex-cli/index.js +0 -4
  412. package/dist/src/components/agents/codex-cli/index.js.map +0 -1
  413. package/dist/src/components/agents/codex-cli/output-parser.d.ts +0 -14
  414. package/dist/src/components/agents/codex-cli/output-parser.d.ts.map +0 -1
  415. package/dist/src/components/agents/codex-cli/output-parser.js +0 -47
  416. package/dist/src/components/agents/codex-cli/output-parser.js.map +0 -1
  417. package/dist/src/components/agents/shared/cli-executor.d.ts +0 -63
  418. package/dist/src/components/agents/shared/cli-executor.d.ts.map +0 -1
  419. package/dist/src/components/agents/shared/cli-executor.js +0 -155
  420. package/dist/src/components/agents/shared/cli-executor.js.map +0 -1
  421. package/dist/src/components/agents/shared/index.d.ts +0 -2
  422. package/dist/src/components/agents/shared/index.d.ts.map +0 -1
  423. package/dist/src/components/agents/shared/index.js +0 -2
  424. package/dist/src/components/agents/shared/index.js.map +0 -1
  425. package/dist/src/components/agents/types/agents.d.ts +0 -197
  426. package/dist/src/components/agents/types/agents.d.ts.map +0 -1
  427. package/dist/src/components/agents/types/agents.js +0 -2
  428. package/dist/src/components/agents/types/agents.js.map +0 -1
  429. package/dist/src/components/agents/types/amp.d.ts +0 -182
  430. package/dist/src/components/agents/types/amp.d.ts.map +0 -1
  431. package/dist/src/components/agents/types/amp.js +0 -2
  432. package/dist/src/components/agents/types/amp.js.map +0 -1
  433. package/dist/src/components/agents/types/codex.d.ts +0 -222
  434. package/dist/src/components/agents/types/codex.d.ts.map +0 -1
  435. package/dist/src/components/agents/types/codex.js +0 -2
  436. package/dist/src/components/agents/types/codex.js.map +0 -1
  437. package/dist/src/components/agents/types/execution.d.ts +0 -132
  438. package/dist/src/components/agents/types/execution.d.ts.map +0 -1
  439. package/dist/src/components/agents/types/execution.js +0 -2
  440. package/dist/src/components/agents/types/execution.js.map +0 -1
  441. package/dist/src/components/agents/types/index.d.ts +0 -7
  442. package/dist/src/components/agents/types/index.d.ts.map +0 -1
  443. package/dist/src/components/agents/types/index.js +0 -2
  444. package/dist/src/components/agents/types/index.js.map +0 -1
  445. package/dist/src/components/agents/types/schema.d.ts +0 -11
  446. package/dist/src/components/agents/types/schema.d.ts.map +0 -1
  447. package/dist/src/components/agents/types/schema.js +0 -2
  448. package/dist/src/components/agents/types/schema.js.map +0 -1
  449. package/dist/src/components/agents/types/tools.d.ts +0 -5
  450. package/dist/src/components/agents/types/tools.d.ts.map +0 -1
  451. package/dist/src/components/agents/types/tools.js +0 -3
  452. package/dist/src/components/agents/types/tools.js.map +0 -1
  453. package/dist/src/components/agents/types.d.ts +0 -2
  454. package/dist/src/components/agents/types.d.ts.map +0 -1
  455. package/dist/src/components/agents/types.js +0 -2
  456. package/dist/src/components/agents/types.js.map +0 -1
  457. package/dist/src/components/index.d.ts +0 -44
  458. package/dist/src/components/index.d.ts.map +0 -1
  459. package/dist/src/components/index.js +0 -42
  460. package/dist/src/components/index.js.map +0 -1
  461. package/dist/src/control-plane/discover.d.ts +0 -6
  462. package/dist/src/control-plane/discover.d.ts.map +0 -1
  463. package/dist/src/control-plane/discover.js +0 -66
  464. package/dist/src/control-plane/discover.js.map +0 -1
  465. package/dist/src/control-plane/glob.d.ts +0 -7
  466. package/dist/src/control-plane/glob.d.ts.map +0 -1
  467. package/dist/src/control-plane/glob.js +0 -23
  468. package/dist/src/control-plane/glob.js.map +0 -1
  469. package/dist/src/control-plane/grep.d.ts +0 -19
  470. package/dist/src/control-plane/grep.d.ts.map +0 -1
  471. package/dist/src/control-plane/grep.js +0 -62
  472. package/dist/src/control-plane/grep.js.map +0 -1
  473. package/dist/src/control-plane/index.d.ts +0 -49
  474. package/dist/src/control-plane/index.d.ts.map +0 -1
  475. package/dist/src/control-plane/index.js +0 -26
  476. package/dist/src/control-plane/index.js.map +0 -1
  477. package/dist/src/control-plane/runner.d.ts +0 -26
  478. package/dist/src/control-plane/runner.d.ts.map +0 -1
  479. package/dist/src/control-plane/runner.js +0 -163
  480. package/dist/src/control-plane/runner.js.map +0 -1
  481. package/dist/src/control-plane/security.d.ts +0 -2
  482. package/dist/src/control-plane/security.d.ts.map +0 -1
  483. package/dist/src/control-plane/security.js +0 -18
  484. package/dist/src/control-plane/security.js.map +0 -1
  485. package/dist/src/control-plane/status.d.ts +0 -16
  486. package/dist/src/control-plane/status.d.ts.map +0 -1
  487. package/dist/src/control-plane/status.js +0 -106
  488. package/dist/src/control-plane/status.js.map +0 -1
  489. package/dist/src/control-plane/types.d.ts +0 -46
  490. package/dist/src/control-plane/types.d.ts.map +0 -1
  491. package/dist/src/control-plane/types.js +0 -2
  492. package/dist/src/control-plane/types.js.map +0 -1
  493. package/dist/src/control-plane/utils.d.ts +0 -3
  494. package/dist/src/control-plane/utils.d.ts.map +0 -1
  495. package/dist/src/control-plane/utils.js +0 -30
  496. package/dist/src/control-plane/utils.js.map +0 -1
  497. package/dist/src/core/index.d.ts +0 -3
  498. package/dist/src/core/index.d.ts.map +0 -1
  499. package/dist/src/core/index.js +0 -2
  500. package/dist/src/core/index.js.map +0 -1
  501. package/dist/src/db/agents.d.ts +0 -28
  502. package/dist/src/db/agents.d.ts.map +0 -1
  503. package/dist/src/db/agents.js +0 -133
  504. package/dist/src/db/agents.js.map +0 -1
  505. package/dist/src/db/artifacts.d.ts +0 -12
  506. package/dist/src/db/artifacts.d.ts.map +0 -1
  507. package/dist/src/db/artifacts.js +0 -45
  508. package/dist/src/db/artifacts.js.map +0 -1
  509. package/dist/src/db/build-state.d.ts +0 -22
  510. package/dist/src/db/build-state.d.ts.map +0 -1
  511. package/dist/src/db/build-state.js +0 -107
  512. package/dist/src/db/build-state.js.map +0 -1
  513. package/dist/src/db/execution.d.ts +0 -19
  514. package/dist/src/db/execution.d.ts.map +0 -1
  515. package/dist/src/db/execution.js +0 -88
  516. package/dist/src/db/execution.js.map +0 -1
  517. package/dist/src/db/human.d.ts +0 -69
  518. package/dist/src/db/human.d.ts.map +0 -1
  519. package/dist/src/db/human.js +0 -87
  520. package/dist/src/db/human.js.map +0 -1
  521. package/dist/src/db/index.d.ts +0 -58
  522. package/dist/src/db/index.d.ts.map +0 -1
  523. package/dist/src/db/index.js +0 -172
  524. package/dist/src/db/index.js.map +0 -1
  525. package/dist/src/db/memories.d.ts +0 -26
  526. package/dist/src/db/memories.d.ts.map +0 -1
  527. package/dist/src/db/memories.js +0 -104
  528. package/dist/src/db/memories.js.map +0 -1
  529. package/dist/src/db/phases.d.ts +0 -17
  530. package/dist/src/db/phases.d.ts.map +0 -1
  531. package/dist/src/db/phases.js +0 -48
  532. package/dist/src/db/phases.js.map +0 -1
  533. package/dist/src/db/query.d.ts +0 -8
  534. package/dist/src/db/query.d.ts.map +0 -1
  535. package/dist/src/db/query.js +0 -7
  536. package/dist/src/db/query.js.map +0 -1
  537. package/dist/src/db/render-frames.d.ts +0 -25
  538. package/dist/src/db/render-frames.d.ts.map +0 -1
  539. package/dist/src/db/render-frames.js +0 -69
  540. package/dist/src/db/render-frames.js.map +0 -1
  541. package/dist/src/db/schema.sql +0 -609
  542. package/dist/src/db/state.d.ts +0 -18
  543. package/dist/src/db/state.d.ts.map +0 -1
  544. package/dist/src/db/state.js +0 -77
  545. package/dist/src/db/state.js.map +0 -1
  546. package/dist/src/db/steps.d.ts +0 -23
  547. package/dist/src/db/steps.d.ts.map +0 -1
  548. package/dist/src/db/steps.js +0 -50
  549. package/dist/src/db/steps.js.map +0 -1
  550. package/dist/src/db/tasks.d.ts +0 -33
  551. package/dist/src/db/tasks.d.ts.map +0 -1
  552. package/dist/src/db/tasks.js +0 -84
  553. package/dist/src/db/tasks.js.map +0 -1
  554. package/dist/src/db/tools.d.ts +0 -15
  555. package/dist/src/db/tools.d.ts.map +0 -1
  556. package/dist/src/db/tools.js +0 -65
  557. package/dist/src/db/tools.js.map +0 -1
  558. package/dist/src/db/types.d.ts +0 -226
  559. package/dist/src/db/types.d.ts.map +0 -1
  560. package/dist/src/db/types.js +0 -2
  561. package/dist/src/db/types.js.map +0 -1
  562. package/dist/src/db/utils.d.ts +0 -8
  563. package/dist/src/db/utils.d.ts.map +0 -1
  564. package/dist/src/db/utils.js +0 -27
  565. package/dist/src/db/utils.js.map +0 -1
  566. package/dist/src/db/vcs-queue.d.ts +0 -21
  567. package/dist/src/db/vcs-queue.d.ts.map +0 -1
  568. package/dist/src/db/vcs-queue.js +0 -46
  569. package/dist/src/db/vcs-queue.js.map +0 -1
  570. package/dist/src/db/vcs.d.ts +0 -61
  571. package/dist/src/db/vcs.d.ts.map +0 -1
  572. package/dist/src/db/vcs.js +0 -229
  573. package/dist/src/db/vcs.js.map +0 -1
  574. package/dist/src/debug/index.d.ts +0 -41
  575. package/dist/src/debug/index.d.ts.map +0 -1
  576. package/dist/src/debug/index.js +0 -165
  577. package/dist/src/debug/index.js.map +0 -1
  578. package/dist/src/hooks/adapters/amp.d.ts +0 -4
  579. package/dist/src/hooks/adapters/amp.d.ts.map +0 -1
  580. package/dist/src/hooks/adapters/amp.js +0 -59
  581. package/dist/src/hooks/adapters/amp.js.map +0 -1
  582. package/dist/src/hooks/adapters/claude.d.ts +0 -4
  583. package/dist/src/hooks/adapters/claude.d.ts.map +0 -1
  584. package/dist/src/hooks/adapters/claude.js +0 -147
  585. package/dist/src/hooks/adapters/claude.js.map +0 -1
  586. package/dist/src/hooks/adapters/codex.d.ts +0 -4
  587. package/dist/src/hooks/adapters/codex.d.ts.map +0 -1
  588. package/dist/src/hooks/adapters/codex.js +0 -63
  589. package/dist/src/hooks/adapters/codex.js.map +0 -1
  590. package/dist/src/hooks/adapters/index.d.ts +0 -5
  591. package/dist/src/hooks/adapters/index.d.ts.map +0 -1
  592. package/dist/src/hooks/adapters/index.js +0 -4
  593. package/dist/src/hooks/adapters/index.js.map +0 -1
  594. package/dist/src/hooks/adapters/types.d.ts +0 -40
  595. package/dist/src/hooks/adapters/types.d.ts.map +0 -1
  596. package/dist/src/hooks/adapters/types.js +0 -2
  597. package/dist/src/hooks/adapters/types.js.map +0 -1
  598. package/dist/src/hooks/index.d.ts +0 -10
  599. package/dist/src/hooks/index.d.ts.map +0 -1
  600. package/dist/src/hooks/index.js +0 -10
  601. package/dist/src/hooks/index.js.map +0 -1
  602. package/dist/src/hooks/useAgentRunner.d.ts +0 -34
  603. package/dist/src/hooks/useAgentRunner.d.ts.map +0 -1
  604. package/dist/src/hooks/useAgentRunner.js +0 -244
  605. package/dist/src/hooks/useAgentRunner.js.map +0 -1
  606. package/dist/src/hooks/useAmp.d.ts +0 -7
  607. package/dist/src/hooks/useAmp.d.ts.map +0 -1
  608. package/dist/src/hooks/useAmp.js +0 -7
  609. package/dist/src/hooks/useAmp.js.map +0 -1
  610. package/dist/src/hooks/useCaptureRenderFrame.d.ts +0 -3
  611. package/dist/src/hooks/useCaptureRenderFrame.d.ts.map +0 -1
  612. package/dist/src/hooks/useCaptureRenderFrame.js +0 -20
  613. package/dist/src/hooks/useCaptureRenderFrame.js.map +0 -1
  614. package/dist/src/hooks/useClaude.d.ts +0 -7
  615. package/dist/src/hooks/useClaude.d.ts.map +0 -1
  616. package/dist/src/hooks/useClaude.js +0 -7
  617. package/dist/src/hooks/useClaude.js.map +0 -1
  618. package/dist/src/hooks/useCodex.d.ts +0 -7
  619. package/dist/src/hooks/useCodex.d.ts.map +0 -1
  620. package/dist/src/hooks/useCodex.js +0 -7
  621. package/dist/src/hooks/useCodex.js.map +0 -1
  622. package/dist/src/hooks/useHuman.d.ts +0 -10
  623. package/dist/src/hooks/useHuman.d.ts.map +0 -1
  624. package/dist/src/hooks/useHuman.js +0 -47
  625. package/dist/src/hooks/useHuman.js.map +0 -1
  626. package/dist/src/hooks/useHumanInteractive.d.ts +0 -36
  627. package/dist/src/hooks/useHumanInteractive.d.ts.map +0 -1
  628. package/dist/src/hooks/useHumanInteractive.js +0 -184
  629. package/dist/src/hooks/useHumanInteractive.js.map +0 -1
  630. package/dist/src/hooks/useRalphCount.d.ts +0 -2
  631. package/dist/src/hooks/useRalphCount.d.ts.map +0 -1
  632. package/dist/src/hooks/useRalphCount.js +0 -9
  633. package/dist/src/hooks/useRalphCount.js.map +0 -1
  634. package/dist/src/hooks/useReview.d.ts +0 -8
  635. package/dist/src/hooks/useReview.d.ts.map +0 -1
  636. package/dist/src/hooks/useReview.js +0 -261
  637. package/dist/src/hooks/useReview.js.map +0 -1
  638. package/dist/src/hooks/useSmithersSubagent.d.ts +0 -13
  639. package/dist/src/hooks/useSmithersSubagent.d.ts.map +0 -1
  640. package/dist/src/hooks/useSmithersSubagent.js +0 -215
  641. package/dist/src/hooks/useSmithersSubagent.js.map +0 -1
  642. package/dist/src/index.d.ts +0 -12
  643. package/dist/src/index.d.ts.map +0 -1
  644. package/dist/src/index.js +0 -13
  645. package/dist/src/index.js.map +0 -1
  646. package/dist/src/jsx-runtime.d.ts +0 -9
  647. package/dist/src/jsx-runtime.d.ts.map +0 -1
  648. package/dist/src/jsx-runtime.js +0 -8
  649. package/dist/src/jsx-runtime.js.map +0 -1
  650. package/dist/src/middleware/compose.d.ts +0 -3
  651. package/dist/src/middleware/compose.d.ts.map +0 -1
  652. package/dist/src/middleware/compose.js +0 -71
  653. package/dist/src/middleware/compose.js.map +0 -1
  654. package/dist/src/middleware/create-transform-middleware.d.ts +0 -5
  655. package/dist/src/middleware/create-transform-middleware.d.ts.map +0 -1
  656. package/dist/src/middleware/create-transform-middleware.js +0 -4
  657. package/dist/src/middleware/create-transform-middleware.js.map +0 -1
  658. package/dist/src/middleware/extract-json.d.ts +0 -6
  659. package/dist/src/middleware/extract-json.d.ts.map +0 -1
  660. package/dist/src/middleware/extract-json.js +0 -32
  661. package/dist/src/middleware/extract-json.js.map +0 -1
  662. package/dist/src/middleware/extract-reasoning.d.ts +0 -9
  663. package/dist/src/middleware/extract-reasoning.d.ts.map +0 -1
  664. package/dist/src/middleware/extract-reasoning.js +0 -25
  665. package/dist/src/middleware/extract-reasoning.js.map +0 -1
  666. package/dist/src/middleware/index.d.ts +0 -13
  667. package/dist/src/middleware/index.d.ts.map +0 -1
  668. package/dist/src/middleware/index.js +0 -7
  669. package/dist/src/middleware/index.js.map +0 -1
  670. package/dist/src/middleware/retry.d.ts +0 -11
  671. package/dist/src/middleware/retry.d.ts.map +0 -1
  672. package/dist/src/middleware/retry.js +0 -38
  673. package/dist/src/middleware/retry.js.map +0 -1
  674. package/dist/src/middleware/types.d.ts +0 -13
  675. package/dist/src/middleware/types.d.ts.map +0 -1
  676. package/dist/src/middleware/types.js +0 -2
  677. package/dist/src/middleware/types.js.map +0 -1
  678. package/dist/src/middleware/validation.d.ts +0 -11
  679. package/dist/src/middleware/validation.d.ts.map +0 -1
  680. package/dist/src/middleware/validation.js +0 -23
  681. package/dist/src/middleware/validation.js.map +0 -1
  682. package/dist/src/monitor/haiku-summarizer.d.ts +0 -26
  683. package/dist/src/monitor/haiku-summarizer.d.ts.map +0 -1
  684. package/dist/src/monitor/haiku-summarizer.js +0 -98
  685. package/dist/src/monitor/haiku-summarizer.js.map +0 -1
  686. package/dist/src/monitor/index.d.ts +0 -8
  687. package/dist/src/monitor/index.d.ts.map +0 -1
  688. package/dist/src/monitor/index.js +0 -5
  689. package/dist/src/monitor/index.js.map +0 -1
  690. package/dist/src/monitor/log-writer.d.ts +0 -61
  691. package/dist/src/monitor/log-writer.d.ts.map +0 -1
  692. package/dist/src/monitor/log-writer.js +0 -281
  693. package/dist/src/monitor/log-writer.js.map +0 -1
  694. package/dist/src/monitor/output-parser.d.ts +0 -22
  695. package/dist/src/monitor/output-parser.d.ts.map +0 -1
  696. package/dist/src/monitor/output-parser.js +0 -106
  697. package/dist/src/monitor/output-parser.js.map +0 -1
  698. package/dist/src/monitor/stream-formatter.d.ts +0 -27
  699. package/dist/src/monitor/stream-formatter.d.ts.map +0 -1
  700. package/dist/src/monitor/stream-formatter.js +0 -147
  701. package/dist/src/monitor/stream-formatter.js.map +0 -1
  702. package/dist/src/rate-limits/index.d.ts +0 -8
  703. package/dist/src/rate-limits/index.d.ts.map +0 -1
  704. package/dist/src/rate-limits/index.js +0 -7
  705. package/dist/src/rate-limits/index.js.map +0 -1
  706. package/dist/src/rate-limits/middleware.d.ts +0 -10
  707. package/dist/src/rate-limits/middleware.d.ts.map +0 -1
  708. package/dist/src/rate-limits/middleware.js +0 -18
  709. package/dist/src/rate-limits/middleware.js.map +0 -1
  710. package/dist/src/rate-limits/monitor.d.ts +0 -18
  711. package/dist/src/rate-limits/monitor.d.ts.map +0 -1
  712. package/dist/src/rate-limits/monitor.js +0 -116
  713. package/dist/src/rate-limits/monitor.js.map +0 -1
  714. package/dist/src/rate-limits/providers/anthropic.d.ts +0 -6
  715. package/dist/src/rate-limits/providers/anthropic.d.ts.map +0 -1
  716. package/dist/src/rate-limits/providers/anthropic.js +0 -58
  717. package/dist/src/rate-limits/providers/anthropic.js.map +0 -1
  718. package/dist/src/rate-limits/providers/openai.d.ts +0 -7
  719. package/dist/src/rate-limits/providers/openai.d.ts.map +0 -1
  720. package/dist/src/rate-limits/providers/openai.js +0 -84
  721. package/dist/src/rate-limits/providers/openai.js.map +0 -1
  722. package/dist/src/rate-limits/store.d.ts +0 -16
  723. package/dist/src/rate-limits/store.d.ts.map +0 -1
  724. package/dist/src/rate-limits/store.js +0 -65
  725. package/dist/src/rate-limits/store.js.map +0 -1
  726. package/dist/src/rate-limits/throttle.d.ts +0 -10
  727. package/dist/src/rate-limits/throttle.d.ts.map +0 -1
  728. package/dist/src/rate-limits/throttle.js +0 -52
  729. package/dist/src/rate-limits/throttle.js.map +0 -1
  730. package/dist/src/rate-limits/types.d.ts +0 -76
  731. package/dist/src/rate-limits/types.d.ts.map +0 -1
  732. package/dist/src/rate-limits/types.js +0 -2
  733. package/dist/src/rate-limits/types.js.map +0 -1
  734. package/dist/src/reactive-sqlite/database.d.ts +0 -113
  735. package/dist/src/reactive-sqlite/database.d.ts.map +0 -1
  736. package/dist/src/reactive-sqlite/database.js +0 -427
  737. package/dist/src/reactive-sqlite/database.js.map +0 -1
  738. package/dist/src/reactive-sqlite/hooks/context.d.ts +0 -59
  739. package/dist/src/reactive-sqlite/hooks/context.d.ts.map +0 -1
  740. package/dist/src/reactive-sqlite/hooks/context.js +0 -60
  741. package/dist/src/reactive-sqlite/hooks/context.js.map +0 -1
  742. package/dist/src/reactive-sqlite/hooks/index.d.ts +0 -12
  743. package/dist/src/reactive-sqlite/hooks/index.d.ts.map +0 -1
  744. package/dist/src/reactive-sqlite/hooks/index.js +0 -12
  745. package/dist/src/reactive-sqlite/hooks/index.js.map +0 -1
  746. package/dist/src/reactive-sqlite/hooks/shared.d.ts +0 -59
  747. package/dist/src/reactive-sqlite/hooks/shared.d.ts.map +0 -1
  748. package/dist/src/reactive-sqlite/hooks/shared.js +0 -142
  749. package/dist/src/reactive-sqlite/hooks/shared.js.map +0 -1
  750. package/dist/src/reactive-sqlite/hooks/useMutation.d.ts +0 -33
  751. package/dist/src/reactive-sqlite/hooks/useMutation.d.ts.map +0 -1
  752. package/dist/src/reactive-sqlite/hooks/useMutation.js +0 -88
  753. package/dist/src/reactive-sqlite/hooks/useMutation.js.map +0 -1
  754. package/dist/src/reactive-sqlite/hooks/useQuery.d.ts +0 -34
  755. package/dist/src/reactive-sqlite/hooks/useQuery.d.ts.map +0 -1
  756. package/dist/src/reactive-sqlite/hooks/useQuery.js +0 -115
  757. package/dist/src/reactive-sqlite/hooks/useQuery.js.map +0 -1
  758. package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts +0 -37
  759. package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts.map +0 -1
  760. package/dist/src/reactive-sqlite/hooks/useQueryOne.js +0 -44
  761. package/dist/src/reactive-sqlite/hooks/useQueryOne.js.map +0 -1
  762. package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts +0 -31
  763. package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts.map +0 -1
  764. package/dist/src/reactive-sqlite/hooks/useQueryValue.js +0 -40
  765. package/dist/src/reactive-sqlite/hooks/useQueryValue.js.map +0 -1
  766. package/dist/src/reactive-sqlite/hooks.d.ts +0 -7
  767. package/dist/src/reactive-sqlite/hooks.d.ts.map +0 -1
  768. package/dist/src/reactive-sqlite/hooks.js +0 -7
  769. package/dist/src/reactive-sqlite/hooks.js.map +0 -1
  770. package/dist/src/reactive-sqlite/index.d.ts +0 -38
  771. package/dist/src/reactive-sqlite/index.d.ts.map +0 -1
  772. package/dist/src/reactive-sqlite/index.js +0 -40
  773. package/dist/src/reactive-sqlite/index.js.map +0 -1
  774. package/dist/src/reactive-sqlite/parser.d.ts +0 -37
  775. package/dist/src/reactive-sqlite/parser.d.ts.map +0 -1
  776. package/dist/src/reactive-sqlite/parser.js +0 -267
  777. package/dist/src/reactive-sqlite/parser.js.map +0 -1
  778. package/dist/src/reactive-sqlite/types.d.ts +0 -64
  779. package/dist/src/reactive-sqlite/types.d.ts.map +0 -1
  780. package/dist/src/reactive-sqlite/types.js +0 -5
  781. package/dist/src/reactive-sqlite/types.js.map +0 -1
  782. package/dist/src/reconciler/hooks.d.ts +0 -17
  783. package/dist/src/reconciler/hooks.d.ts.map +0 -1
  784. package/dist/src/reconciler/hooks.js +0 -93
  785. package/dist/src/reconciler/hooks.js.map +0 -1
  786. package/dist/src/reconciler/host-config.d.ts +0 -7
  787. package/dist/src/reconciler/host-config.d.ts.map +0 -1
  788. package/dist/src/reconciler/host-config.js +0 -185
  789. package/dist/src/reconciler/host-config.js.map +0 -1
  790. package/dist/src/reconciler/index.d.ts +0 -9
  791. package/dist/src/reconciler/index.d.ts.map +0 -1
  792. package/dist/src/reconciler/index.js +0 -7
  793. package/dist/src/reconciler/index.js.map +0 -1
  794. package/dist/src/reconciler/jsx-runtime.d.ts +0 -13
  795. package/dist/src/reconciler/jsx-runtime.d.ts.map +0 -1
  796. package/dist/src/reconciler/jsx-runtime.js +0 -27
  797. package/dist/src/reconciler/jsx-runtime.js.map +0 -1
  798. package/dist/src/reconciler/methods.d.ts +0 -15
  799. package/dist/src/reconciler/methods.d.ts.map +0 -1
  800. package/dist/src/reconciler/methods.js +0 -82
  801. package/dist/src/reconciler/methods.js.map +0 -1
  802. package/dist/src/reconciler/root.d.ts +0 -13
  803. package/dist/src/reconciler/root.d.ts.map +0 -1
  804. package/dist/src/reconciler/root.js +0 -138
  805. package/dist/src/reconciler/root.js.map +0 -1
  806. package/dist/src/reconciler/serialize.d.ts +0 -3
  807. package/dist/src/reconciler/serialize.d.ts.map +0 -1
  808. package/dist/src/reconciler/serialize.js +0 -161
  809. package/dist/src/reconciler/serialize.js.map +0 -1
  810. package/dist/src/reconciler/types.d.ts +0 -37
  811. package/dist/src/reconciler/types.d.ts.map +0 -1
  812. package/dist/src/reconciler/types.js +0 -2
  813. package/dist/src/reconciler/types.js.map +0 -1
  814. package/dist/src/streaming/amp-parser.d.ts +0 -8
  815. package/dist/src/streaming/amp-parser.d.ts.map +0 -1
  816. package/dist/src/streaming/amp-parser.js +0 -60
  817. package/dist/src/streaming/amp-parser.js.map +0 -1
  818. package/dist/src/streaming/base-parser.d.ts +0 -10
  819. package/dist/src/streaming/base-parser.d.ts.map +0 -1
  820. package/dist/src/streaming/base-parser.js +0 -43
  821. package/dist/src/streaming/base-parser.js.map +0 -1
  822. package/dist/src/streaming/claude-parser.d.ts +0 -19
  823. package/dist/src/streaming/claude-parser.d.ts.map +0 -1
  824. package/dist/src/streaming/claude-parser.js +0 -162
  825. package/dist/src/streaming/claude-parser.js.map +0 -1
  826. package/dist/src/streaming/types.d.ts +0 -12
  827. package/dist/src/streaming/types.d.ts.map +0 -1
  828. package/dist/src/streaming/types.js +0 -2
  829. package/dist/src/streaming/types.js.map +0 -1
  830. package/dist/src/streaming/v3-compat.d.ts +0 -96
  831. package/dist/src/streaming/v3-compat.d.ts.map +0 -1
  832. package/dist/src/streaming/v3-compat.js +0 -2
  833. package/dist/src/streaming/v3-compat.js.map +0 -1
  834. package/dist/src/supersmithers/SuperSmithers.d.ts +0 -4
  835. package/dist/src/supersmithers/SuperSmithers.d.ts.map +0 -1
  836. package/dist/src/supersmithers/SuperSmithers.js +0 -210
  837. package/dist/src/supersmithers/SuperSmithers.js.map +0 -1
  838. package/dist/src/supersmithers/analyzer.d.ts +0 -13
  839. package/dist/src/supersmithers/analyzer.d.ts.map +0 -1
  840. package/dist/src/supersmithers/analyzer.js +0 -122
  841. package/dist/src/supersmithers/analyzer.js.map +0 -1
  842. package/dist/src/supersmithers/db.d.ts +0 -39
  843. package/dist/src/supersmithers/db.d.ts.map +0 -1
  844. package/dist/src/supersmithers/db.js +0 -99
  845. package/dist/src/supersmithers/db.js.map +0 -1
  846. package/dist/src/supersmithers/index.d.ts +0 -9
  847. package/dist/src/supersmithers/index.d.ts.map +0 -1
  848. package/dist/src/supersmithers/index.js +0 -21
  849. package/dist/src/supersmithers/index.js.map +0 -1
  850. package/dist/src/supersmithers/observer.d.ts +0 -6
  851. package/dist/src/supersmithers/observer.d.ts.map +0 -1
  852. package/dist/src/supersmithers/observer.js +0 -100
  853. package/dist/src/supersmithers/observer.js.map +0 -1
  854. package/dist/src/supersmithers/plugin.d.ts +0 -2
  855. package/dist/src/supersmithers/plugin.d.ts.map +0 -1
  856. package/dist/src/supersmithers/plugin.js +0 -73
  857. package/dist/src/supersmithers/plugin.js.map +0 -1
  858. package/dist/src/supersmithers/register.d.ts +0 -3
  859. package/dist/src/supersmithers/register.d.ts.map +0 -1
  860. package/dist/src/supersmithers/register.js +0 -10
  861. package/dist/src/supersmithers/register.js.map +0 -1
  862. package/dist/src/supersmithers/rewriter.d.ts +0 -32
  863. package/dist/src/supersmithers/rewriter.d.ts.map +0 -1
  864. package/dist/src/supersmithers/rewriter.js +0 -189
  865. package/dist/src/supersmithers/rewriter.js.map +0 -1
  866. package/dist/src/supersmithers/runtime.d.ts +0 -45
  867. package/dist/src/supersmithers/runtime.d.ts.map +0 -1
  868. package/dist/src/supersmithers/runtime.js +0 -91
  869. package/dist/src/supersmithers/runtime.js.map +0 -1
  870. package/dist/src/supersmithers/types.d.ts +0 -98
  871. package/dist/src/supersmithers/types.d.ts.map +0 -1
  872. package/dist/src/supersmithers/types.js +0 -7
  873. package/dist/src/supersmithers/types.js.map +0 -1
  874. package/dist/src/supersmithers/vcs.d.ts +0 -13
  875. package/dist/src/supersmithers/vcs.d.ts.map +0 -1
  876. package/dist/src/supersmithers/vcs.js +0 -123
  877. package/dist/src/supersmithers/vcs.js.map +0 -1
  878. package/dist/src/tools/ReportTool.d.ts +0 -25
  879. package/dist/src/tools/ReportTool.d.ts.map +0 -1
  880. package/dist/src/tools/ReportTool.js +0 -104
  881. package/dist/src/tools/ReportTool.js.map +0 -1
  882. package/dist/src/tools/createSmithersTool.d.ts +0 -39
  883. package/dist/src/tools/createSmithersTool.d.ts.map +0 -1
  884. package/dist/src/tools/createSmithersTool.js +0 -81
  885. package/dist/src/tools/createSmithersTool.js.map +0 -1
  886. package/dist/src/tools/index.d.ts +0 -8
  887. package/dist/src/tools/index.d.ts.map +0 -1
  888. package/dist/src/tools/index.js +0 -7
  889. package/dist/src/tools/index.js.map +0 -1
  890. package/dist/src/tools/legacy-mcp-server.d.ts +0 -17
  891. package/dist/src/tools/legacy-mcp-server.d.ts.map +0 -1
  892. package/dist/src/tools/legacy-mcp-server.js +0 -98
  893. package/dist/src/tools/legacy-mcp-server.js.map +0 -1
  894. package/dist/src/tools/legacy-tool-ipc.d.ts +0 -45
  895. package/dist/src/tools/legacy-tool-ipc.d.ts.map +0 -1
  896. package/dist/src/tools/legacy-tool-ipc.js +0 -173
  897. package/dist/src/tools/legacy-tool-ipc.js.map +0 -1
  898. package/dist/src/tools/legacy-tool-server.d.ts +0 -25
  899. package/dist/src/tools/legacy-tool-server.d.ts.map +0 -1
  900. package/dist/src/tools/legacy-tool-server.js +0 -34
  901. package/dist/src/tools/legacy-tool-server.js.map +0 -1
  902. package/dist/src/tools/mcp-jsonrpc.d.ts +0 -58
  903. package/dist/src/tools/mcp-jsonrpc.d.ts.map +0 -1
  904. package/dist/src/tools/mcp-jsonrpc.js +0 -145
  905. package/dist/src/tools/mcp-jsonrpc.js.map +0 -1
  906. package/dist/src/tools/registry.d.ts +0 -98
  907. package/dist/src/tools/registry.d.ts.map +0 -1
  908. package/dist/src/tools/registry.js +0 -119
  909. package/dist/src/tools/registry.js.map +0 -1
  910. package/dist/src/tools/smithers-mcp-server.d.ts +0 -16
  911. package/dist/src/tools/smithers-mcp-server.d.ts.map +0 -1
  912. package/dist/src/tools/smithers-mcp-server.js +0 -78
  913. package/dist/src/tools/smithers-mcp-server.js.map +0 -1
  914. package/dist/src/tools/tool-to-mcp.d.ts +0 -17
  915. package/dist/src/tools/tool-to-mcp.d.ts.map +0 -1
  916. package/dist/src/tools/tool-to-mcp.js +0 -35
  917. package/dist/src/tools/tool-to-mcp.js.map +0 -1
  918. package/dist/src/tools/types.d.ts +0 -54
  919. package/dist/src/tools/types.d.ts.map +0 -1
  920. package/dist/src/tools/types.js +0 -2
  921. package/dist/src/tools/types.js.map +0 -1
  922. package/dist/src/transport/smithers-chat-transport.d.ts +0 -55
  923. package/dist/src/transport/smithers-chat-transport.d.ts.map +0 -1
  924. package/dist/src/transport/smithers-chat-transport.js +0 -390
  925. package/dist/src/transport/smithers-chat-transport.js.map +0 -1
  926. package/dist/src/transport/types.d.ts +0 -49
  927. package/dist/src/transport/types.d.ts.map +0 -1
  928. package/dist/src/transport/types.js +0 -2
  929. package/dist/src/transport/types.js.map +0 -1
  930. package/dist/src/tui/App.d.ts +0 -16
  931. package/dist/src/tui/App.d.ts.map +0 -1
  932. package/dist/src/tui/App.js +0 -68
  933. package/dist/src/tui/App.js.map +0 -1
  934. package/dist/src/tui/appNavigation.d.ts +0 -22
  935. package/dist/src/tui/appNavigation.d.ts.map +0 -1
  936. package/dist/src/tui/appNavigation.js +0 -68
  937. package/dist/src/tui/appNavigation.js.map +0 -1
  938. package/dist/src/tui/components/index.d.ts +0 -4
  939. package/dist/src/tui/components/index.d.ts.map +0 -1
  940. package/dist/src/tui/components/index.js +0 -4
  941. package/dist/src/tui/components/index.js.map +0 -1
  942. package/dist/src/tui/components/layout/Header.d.ts +0 -6
  943. package/dist/src/tui/components/layout/Header.d.ts.map +0 -1
  944. package/dist/src/tui/components/layout/Header.js +0 -19
  945. package/dist/src/tui/components/layout/Header.js.map +0 -1
  946. package/dist/src/tui/components/layout/StatusBar.d.ts +0 -7
  947. package/dist/src/tui/components/layout/StatusBar.d.ts.map +0 -1
  948. package/dist/src/tui/components/layout/StatusBar.js +0 -17
  949. package/dist/src/tui/components/layout/StatusBar.js.map +0 -1
  950. package/dist/src/tui/components/layout/TabBar.d.ts +0 -8
  951. package/dist/src/tui/components/layout/TabBar.d.ts.map +0 -1
  952. package/dist/src/tui/components/layout/TabBar.js +0 -27
  953. package/dist/src/tui/components/layout/TabBar.js.map +0 -1
  954. package/dist/src/tui/components/layout/index.d.ts +0 -4
  955. package/dist/src/tui/components/layout/index.d.ts.map +0 -1
  956. package/dist/src/tui/components/layout/index.js +0 -4
  957. package/dist/src/tui/components/layout/index.js.map +0 -1
  958. package/dist/src/tui/components/shared/ScrollableList.d.ts +0 -20
  959. package/dist/src/tui/components/shared/ScrollableList.d.ts.map +0 -1
  960. package/dist/src/tui/components/shared/ScrollableList.js +0 -84
  961. package/dist/src/tui/components/shared/ScrollableList.js.map +0 -1
  962. package/dist/src/tui/components/shared/XMLViewer.d.ts +0 -7
  963. package/dist/src/tui/components/shared/XMLViewer.d.ts.map +0 -1
  964. package/dist/src/tui/components/shared/XMLViewer.js +0 -21
  965. package/dist/src/tui/components/shared/XMLViewer.js.map +0 -1
  966. package/dist/src/tui/components/shared/index.d.ts +0 -3
  967. package/dist/src/tui/components/shared/index.d.ts.map +0 -1
  968. package/dist/src/tui/components/shared/index.js +0 -3
  969. package/dist/src/tui/components/shared/index.js.map +0 -1
  970. package/dist/src/tui/components/views/ChatInterface.d.ts +0 -7
  971. package/dist/src/tui/components/views/ChatInterface.d.ts.map +0 -1
  972. package/dist/src/tui/components/views/ChatInterface.js +0 -43
  973. package/dist/src/tui/components/views/ChatInterface.js.map +0 -1
  974. package/dist/src/tui/components/views/DatabaseExplorer.d.ts +0 -7
  975. package/dist/src/tui/components/views/DatabaseExplorer.d.ts.map +0 -1
  976. package/dist/src/tui/components/views/DatabaseExplorer.js +0 -88
  977. package/dist/src/tui/components/views/DatabaseExplorer.js.map +0 -1
  978. package/dist/src/tui/components/views/ExecutionTimeline.d.ts +0 -7
  979. package/dist/src/tui/components/views/ExecutionTimeline.d.ts.map +0 -1
  980. package/dist/src/tui/components/views/ExecutionTimeline.js +0 -82
  981. package/dist/src/tui/components/views/ExecutionTimeline.js.map +0 -1
  982. package/dist/src/tui/components/views/HumanInteractionHandler.d.ts +0 -7
  983. package/dist/src/tui/components/views/HumanInteractionHandler.d.ts.map +0 -1
  984. package/dist/src/tui/components/views/HumanInteractionHandler.js +0 -77
  985. package/dist/src/tui/components/views/HumanInteractionHandler.js.map +0 -1
  986. package/dist/src/tui/components/views/RenderFrameInspector.d.ts +0 -7
  987. package/dist/src/tui/components/views/RenderFrameInspector.d.ts.map +0 -1
  988. package/dist/src/tui/components/views/RenderFrameInspector.js +0 -33
  989. package/dist/src/tui/components/views/RenderFrameInspector.js.map +0 -1
  990. package/dist/src/tui/components/views/ReportViewer.d.ts +0 -9
  991. package/dist/src/tui/components/views/ReportViewer.d.ts.map +0 -1
  992. package/dist/src/tui/components/views/ReportViewer.js +0 -66
  993. package/dist/src/tui/components/views/ReportViewer.js.map +0 -1
  994. package/dist/src/tui/components/views/index.d.ts +0 -7
  995. package/dist/src/tui/components/views/index.d.ts.map +0 -1
  996. package/dist/src/tui/components/views/index.js +0 -7
  997. package/dist/src/tui/components/views/index.js.map +0 -1
  998. package/dist/src/tui/hooks/index.d.ts +0 -8
  999. package/dist/src/tui/hooks/index.d.ts.map +0 -1
  1000. package/dist/src/tui/hooks/index.js +0 -8
  1001. package/dist/src/tui/hooks/index.js.map +0 -1
  1002. package/dist/src/tui/hooks/useClaudeChat.d.ts +0 -16
  1003. package/dist/src/tui/hooks/useClaudeChat.d.ts.map +0 -1
  1004. package/dist/src/tui/hooks/useClaudeChat.js +0 -60
  1005. package/dist/src/tui/hooks/useClaudeChat.js.map +0 -1
  1006. package/dist/src/tui/hooks/useHumanRequests.d.ts +0 -13
  1007. package/dist/src/tui/hooks/useHumanRequests.d.ts.map +0 -1
  1008. package/dist/src/tui/hooks/useHumanRequests.js +0 -66
  1009. package/dist/src/tui/hooks/useHumanRequests.js.map +0 -1
  1010. package/dist/src/tui/hooks/usePollEvents.d.ts +0 -11
  1011. package/dist/src/tui/hooks/usePollEvents.d.ts.map +0 -1
  1012. package/dist/src/tui/hooks/usePollEvents.js +0 -56
  1013. package/dist/src/tui/hooks/usePollEvents.js.map +0 -1
  1014. package/dist/src/tui/hooks/usePollTableData.d.ts +0 -11
  1015. package/dist/src/tui/hooks/usePollTableData.d.ts.map +0 -1
  1016. package/dist/src/tui/hooks/usePollTableData.js +0 -46
  1017. package/dist/src/tui/hooks/usePollTableData.js.map +0 -1
  1018. package/dist/src/tui/hooks/useRenderFrames.d.ts +0 -15
  1019. package/dist/src/tui/hooks/useRenderFrames.d.ts.map +0 -1
  1020. package/dist/src/tui/hooks/useRenderFrames.js +0 -66
  1021. package/dist/src/tui/hooks/useRenderFrames.js.map +0 -1
  1022. package/dist/src/tui/hooks/useReportGenerator.d.ts +0 -10
  1023. package/dist/src/tui/hooks/useReportGenerator.d.ts.map +0 -1
  1024. package/dist/src/tui/hooks/useReportGenerator.js +0 -57
  1025. package/dist/src/tui/hooks/useReportGenerator.js.map +0 -1
  1026. package/dist/src/tui/hooks/useSmithersConnection.d.ts +0 -26
  1027. package/dist/src/tui/hooks/useSmithersConnection.d.ts.map +0 -1
  1028. package/dist/src/tui/hooks/useSmithersConnection.js +0 -78
  1029. package/dist/src/tui/hooks/useSmithersConnection.js.map +0 -1
  1030. package/dist/src/tui/index.d.ts +0 -5
  1031. package/dist/src/tui/index.d.ts.map +0 -1
  1032. package/dist/src/tui/index.js +0 -15
  1033. package/dist/src/tui/index.js.map +0 -1
  1034. package/dist/src/tui/services/claude-assistant.d.ts +0 -12
  1035. package/dist/src/tui/services/claude-assistant.d.ts.map +0 -1
  1036. package/dist/src/tui/services/claude-assistant.js +0 -82
  1037. package/dist/src/tui/services/claude-assistant.js.map +0 -1
  1038. package/dist/src/tui/services/index.d.ts +0 -3
  1039. package/dist/src/tui/services/index.d.ts.map +0 -1
  1040. package/dist/src/tui/services/index.js +0 -3
  1041. package/dist/src/tui/services/index.js.map +0 -1
  1042. package/dist/src/tui/services/report-generator.d.ts +0 -13
  1043. package/dist/src/tui/services/report-generator.d.ts.map +0 -1
  1044. package/dist/src/tui/services/report-generator.js +0 -135
  1045. package/dist/src/tui/services/report-generator.js.map +0 -1
  1046. package/dist/src/tui/state.d.ts +0 -5
  1047. package/dist/src/tui/state.d.ts.map +0 -1
  1048. package/dist/src/tui/state.js +0 -41
  1049. package/dist/src/tui/state.js.map +0 -1
  1050. package/dist/src/tui/test-utils.d.ts +0 -11
  1051. package/dist/src/tui/test-utils.d.ts.map +0 -1
  1052. package/dist/src/tui/test-utils.js +0 -19
  1053. package/dist/src/tui/test-utils.js.map +0 -1
  1054. package/dist/src/tui/utils/colors.d.ts +0 -19
  1055. package/dist/src/tui/utils/colors.d.ts.map +0 -1
  1056. package/dist/src/tui/utils/colors.js +0 -33
  1057. package/dist/src/tui/utils/colors.js.map +0 -1
  1058. package/dist/src/tui/utils/format.d.ts +0 -6
  1059. package/dist/src/tui/utils/format.d.ts.map +0 -1
  1060. package/dist/src/tui/utils/format.js +0 -37
  1061. package/dist/src/tui/utils/format.js.map +0 -1
  1062. package/dist/src/tui/utils/index.d.ts +0 -3
  1063. package/dist/src/tui/utils/index.d.ts.map +0 -1
  1064. package/dist/src/tui/utils/index.js +0 -3
  1065. package/dist/src/tui/utils/index.js.map +0 -1
  1066. package/dist/src/utils/capture.d.ts +0 -59
  1067. package/dist/src/utils/capture.d.ts.map +0 -1
  1068. package/dist/src/utils/capture.js +0 -350
  1069. package/dist/src/utils/capture.js.map +0 -1
  1070. package/dist/src/utils/extract-text.d.ts +0 -3
  1071. package/dist/src/utils/extract-text.d.ts.map +0 -1
  1072. package/dist/src/utils/extract-text.js +0 -19
  1073. package/dist/src/utils/extract-text.js.map +0 -1
  1074. package/dist/src/utils/mcp-config.d.ts +0 -14
  1075. package/dist/src/utils/mcp-config.d.ts.map +0 -1
  1076. package/dist/src/utils/mcp-config.js +0 -111
  1077. package/dist/src/utils/mcp-config.js.map +0 -1
  1078. package/dist/src/utils/progress-logger.d.ts +0 -39
  1079. package/dist/src/utils/progress-logger.d.ts.map +0 -1
  1080. package/dist/src/utils/progress-logger.js +0 -125
  1081. package/dist/src/utils/progress-logger.js.map +0 -1
  1082. package/dist/src/utils/scope.d.ts +0 -4
  1083. package/dist/src/utils/scope.d.ts.map +0 -1
  1084. package/dist/src/utils/scope.js +0 -23
  1085. package/dist/src/utils/scope.js.map +0 -1
  1086. package/dist/src/utils/structured-output/index.d.ts +0 -5
  1087. package/dist/src/utils/structured-output/index.d.ts.map +0 -1
  1088. package/dist/src/utils/structured-output/index.js +0 -4
  1089. package/dist/src/utils/structured-output/index.js.map +0 -1
  1090. package/dist/src/utils/structured-output/prompt-generator.d.ts +0 -4
  1091. package/dist/src/utils/structured-output/prompt-generator.d.ts.map +0 -1
  1092. package/dist/src/utils/structured-output/prompt-generator.js +0 -31
  1093. package/dist/src/utils/structured-output/prompt-generator.js.map +0 -1
  1094. package/dist/src/utils/structured-output/types.d.ts +0 -13
  1095. package/dist/src/utils/structured-output/types.d.ts.map +0 -1
  1096. package/dist/src/utils/structured-output/types.js +0 -2
  1097. package/dist/src/utils/structured-output/types.js.map +0 -1
  1098. package/dist/src/utils/structured-output/validator.d.ts +0 -5
  1099. package/dist/src/utils/structured-output/validator.d.ts.map +0 -1
  1100. package/dist/src/utils/structured-output/validator.js +0 -115
  1101. package/dist/src/utils/structured-output/validator.js.map +0 -1
  1102. package/dist/src/utils/structured-output/zod-converter.d.ts +0 -5
  1103. package/dist/src/utils/structured-output/zod-converter.d.ts.map +0 -1
  1104. package/dist/src/utils/structured-output/zod-converter.js +0 -74
  1105. package/dist/src/utils/structured-output/zod-converter.js.map +0 -1
  1106. package/dist/src/utils/structured-output.d.ts +0 -2
  1107. package/dist/src/utils/structured-output.d.ts.map +0 -1
  1108. package/dist/src/utils/structured-output.js +0 -2
  1109. package/dist/src/utils/structured-output.js.map +0 -1
  1110. package/dist/src/utils/vcs/git.d.ts +0 -30
  1111. package/dist/src/utils/vcs/git.d.ts.map +0 -1
  1112. package/dist/src/utils/vcs/git.js +0 -226
  1113. package/dist/src/utils/vcs/git.js.map +0 -1
  1114. package/dist/src/utils/vcs/index.d.ts +0 -5
  1115. package/dist/src/utils/vcs/index.d.ts.map +0 -1
  1116. package/dist/src/utils/vcs/index.js +0 -7
  1117. package/dist/src/utils/vcs/index.js.map +0 -1
  1118. package/dist/src/utils/vcs/jj.d.ts +0 -19
  1119. package/dist/src/utils/vcs/jj.d.ts.map +0 -1
  1120. package/dist/src/utils/vcs/jj.js +0 -113
  1121. package/dist/src/utils/vcs/jj.js.map +0 -1
  1122. package/dist/src/utils/vcs/parsers.d.ts +0 -5
  1123. package/dist/src/utils/vcs/parsers.d.ts.map +0 -1
  1124. package/dist/src/utils/vcs/parsers.js +0 -62
  1125. package/dist/src/utils/vcs/parsers.js.map +0 -1
  1126. package/dist/src/utils/vcs/types.d.ts +0 -36
  1127. package/dist/src/utils/vcs/types.d.ts.map +0 -1
  1128. package/dist/src/utils/vcs/types.js +0 -2
  1129. package/dist/src/utils/vcs/types.js.map +0 -1
  1130. package/dist/src/utils/vcs.d.ts +0 -2
  1131. package/dist/src/utils/vcs.d.ts.map +0 -1
  1132. package/dist/src/utils/vcs.js +0 -2
  1133. package/dist/src/utils/vcs.js.map +0 -1
  1134. package/opencode/agents/explorer.md +0 -196
  1135. package/opencode/agents/librarian.md +0 -271
  1136. package/opencode/agents/monitor.md +0 -110
  1137. package/opencode/agents/oracle.md +0 -151
  1138. package/opencode/agents/planner.md +0 -122
  1139. package/opencode/agents/smithers.md +0 -144
  1140. package/opencode/opencode.json +0 -42
  1141. package/opencode/plugins/smithers.ts +0 -251
  1142. package/preload.ts +0 -9
  1143. package/templates/SmithersDemo.tsx +0 -327
  1144. package/templates/component.tsx.template +0 -104
  1145. package/templates/hook.tsx.template +0 -101
  1146. package/templates/main.tsx.template +0 -247
  1147. package/templates/simple-agent.tsx.template +0 -48
package/README.md CHANGED
@@ -1,220 +1,324 @@
1
1
  # Smithers
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/smithers-orchestrator.svg)](https://www.npmjs.com/package/smithers-orchestrator)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3
+ **Declarative AI workflow orchestration with React.**
5
4
 
6
- **Ralph the plan, not the agent.**
5
+ Multi-agent workflows are messy. Prompt chains break. Error handling is ad hoc. State lives in variables that vanish when your process crashes. Smithers fixes this by letting you define AI workflows as React component trees — declarative, composable, and automatically durable.
7
6
 
8
- **Status: Alpha - not ready for production use.**
7
+ ```tsx
8
+ import { createSmithers, Task, Parallel, Ralph } from "smithers-orchestrator";
9
9
 
10
- Your orchestrating agent writes React code that spawns and controls other agents. [Let your agents write agents](https://smithers.sh/harness-integration#claude-code-plugin).
10
+ const { Workflow, smithers } = createSmithers({
11
+ discover: z.object({ issues: z.array(z.string()) }),
12
+ ticket: z.object({ title: z.string(), body: z.string() }),
13
+ review: z.object({ approved: z.boolean(), feedback: z.string() }),
14
+ });
11
15
 
12
- Used to orchestrate coding agents that run for days, ship PRs autonomously, and self-heal when they fail.
16
+ export default smithers((ctx) => (
17
+ <Workflow name="triage">
18
+ <Task id="discover" output="discover" agent={analyst}>
19
+ Find issues in the codebase
20
+ </Task>
21
+ <Parallel>
22
+ {ctx.output("discover", { nodeId: "discover" }).issues.map((issue, i) => (
23
+ <Task key={i} id={`ticket-${i}`} output="ticket" agent={writer}>
24
+ {`Write a ticket for: ${issue}`}
25
+ </Task>
26
+ ))}
27
+ </Parallel>
28
+ <Ralph until={ctx.latest("review", "review-0")?.approved} maxIterations={3}>
29
+ <Task id="review-0" output="review" agent={reviewer}>
30
+ {`Review the tickets. Previous feedback: ${ctx.latest("review", "review-0")?.feedback ?? "none"}`}
31
+ </Task>
32
+ </Ralph>
33
+ </Workflow>
34
+ ));
35
+ ```
13
36
 
14
- ```tsx
15
- #!/usr/bin/env smithers
16
- import {
17
- createSmithersRoot,
18
- createSmithersDB,
19
- SmithersProvider,
20
- Claude,
21
- } from "smithers-orchestrator";
22
-
23
- const db = createSmithersDB({ path: ".smithers/demo.db" });
24
- const executionId = db.execution.start("Demo", "demo.tsx");
25
-
26
- function Demo() {
27
- return (
28
- <SmithersProvider db={db} executionId={executionId} maxIterations={5}>
29
- <Claude model="sonnet" onFinished={(r) => console.log(r.output)}>
30
- Fix the failing tests in this repository.
31
- </Claude>
32
- </SmithersProvider>
33
- );
34
- }
37
+ Your workflow is a DAG. Each `<Task>` is a node. `<Sequence>`, `<Parallel>`, `<Branch>`, and `<Ralph>` control execution order. The tree re-renders after each task completes — just like React re-renders after state changes. Outputs are persisted to SQLite, so a crashed workflow resumes exactly where it left off.
35
38
 
36
- const root = createSmithersRoot();
37
- await root.mount(Demo);
38
- await db.close();
39
- ```
39
+ ## Install
40
40
 
41
- Run it and monitor the execution frame by frame:
41
+ Requires [Bun](https://bun.sh) >= 1.3.
42
42
 
43
43
  ```bash
44
- smithers demo.tsx
44
+ bun add smithers-orchestrator ai @ai-sdk/anthropic zod
45
45
  ```
46
46
 
47
- Smithers is a React framework for coding agents. Write the plan in any coding harness, then monitor your agents as they execute it. The plan is a mix of hardcoded logic and agent output that evolves reactively.
48
-
49
- By evolving a declarative plan rather than wiring up every agent interaction, Smithers excels at:
47
+ ## Quick Start
50
48
 
51
- 1. **One-time agents** that accomplish a task and discard
52
- 2. **Long-running agents** that run for days or weeks
49
+ ### 1. Define your schemas
53
50
 
54
- ---
51
+ Each task output is a Zod schema. Smithers auto-creates SQLite tables from them.
55
52
 
56
- ## Core Idea
53
+ ```ts
54
+ import { z } from "zod";
57
55
 
58
- You program the **plan**, not the agents. The plan is real executable code: React components that declare what should happen.
56
+ const analyzeSchema = z.object({
57
+ summary: z.string(),
58
+ severity: z.enum(["low", "medium", "high"]),
59
+ files: z.array(z.string()),
60
+ });
59
61
 
60
- | Other Frameworks | Smithers |
61
- | -------------------- | -------------------------- |
62
- | `agent.do_step_1()` | `<Phase name="implement">` |
63
- | `agent.do_step_2()` | `<Step name="code">` |
64
- | `if failed: retry()` | `<Claude>Fix it</Claude>` |
62
+ const fixSchema = z.object({
63
+ patch: z.string(),
64
+ explanation: z.string(),
65
+ });
66
+ ```
65
67
 
66
- The plan is declarative. Plans evolve in an easy-to-understand way over time, and if the plan breaks for any reason, your monitoring agent can edit the code and restart.
68
+ ### 2. Create your smithers instance
67
69
 
68
- What renders is the current state of the multi-agent setup as readable XML, with SQLite durably persisting state.
70
+ ```ts
71
+ import { createSmithers, Task, Sequence } from "smithers-orchestrator";
72
+ import { ToolLoopAgent as Agent } from "ai";
73
+ import { anthropic } from "@ai-sdk/anthropic";
69
74
 
70
- Each iteration:
75
+ const { Workflow, useCtx, smithers } = createSmithers({
76
+ analyze: analyzeSchema,
77
+ fix: fixSchema,
78
+ });
79
+ ```
71
80
 
72
- 1. Render React to execution plan
73
- 2. Execute runnable agents
74
- 3. Agent output updates state
75
- 4. State change triggers re-render
76
- 5. Loop until done
81
+ `createSmithers` handles everything: SQLite database, Drizzle tables, schema validation, context provider. You get back a typed `Workflow` component, a `useCtx()` hook, and a `smithers()` function to export your workflow.
77
82
 
78
- The plan runs as deterministic code, but agents can read it to understand the larger context they're operating within.
83
+ ### 3. Define your agents
79
84
 
80
- Ralph (the [autonomous agent loop pattern](https://ghuntley.com/ralph/)) handles the render cycle, allowing the plan to run and evolve indefinitely. React handles the diffing.
85
+ ```ts
86
+ const analyzer = new Agent({
87
+ model: anthropic("claude-sonnet-4-20250514"),
88
+ instructions: "You are a code analyst. Return structured JSON.",
89
+ });
81
90
 
82
- ---
91
+ const fixer = new Agent({
92
+ model: anthropic("claude-sonnet-4-20250514"),
93
+ instructions: "You are a senior engineer who writes minimal, correct fixes.",
94
+ });
95
+ ```
83
96
 
84
- ## Why React?
97
+ ### 4. Build your workflow
85
98
 
86
- LLMs and humans perform well writing declarative React code. All coding agents can one-shot valid Smithers workflows naturally.
99
+ ```tsx
100
+ export default smithers((ctx) => (
101
+ <Workflow name="bugfix">
102
+ <Sequence>
103
+ <Task id="analyze" output="analyze" outputSchema={analyzeSchema} agent={analyzer}>
104
+ {`Analyze the bug: ${ctx.input.description}`}
105
+ </Task>
106
+ <Task id="fix" output="fix" outputSchema={fixSchema} agent={fixer}>
107
+ {`Fix this issue: ${ctx.output("analyze", { nodeId: "analyze" }).summary}`}
108
+ </Task>
109
+ </Sequence>
110
+ </Workflow>
111
+ ));
112
+ ```
87
113
 
88
- Most multi-agent frameworks fail. They add coordination overhead that costs more than it saves, and you end up worse than a simple while loop. Smithers avoids this by making the plan declarative and the state durable. React's functional nature makes even complex multiagent setups easy to modularize and easy to reason about.
114
+ ### 5. Run it
89
115
 
90
- React has a rich ecosystem that works well with agents: Zustand, React Query, and reactive versions of most libraries plug directly into React's reactivity system. This lets you compose declarative plans from battle-tested primitives.
116
+ ```bash
117
+ bunx smithers run workflow.tsx --input '{"description": "Auth tokens expire silently"}'
118
+ ```
91
119
 
92
- React gives you:
120
+ Or programmatically:
93
121
 
94
- - Composition and reuse
95
- - Version control diffs that make sense
96
- - Agent-generated code you can review
97
- - A massive ecosystem of reactive hooks to reuse
122
+ ```ts
123
+ import { runWorkflow } from "smithers-orchestrator";
124
+ import workflow from "./workflow";
98
125
 
99
- **React Hook Compatibility**: All [TanStack AI](https://tanstack.com/ai/latest/docs) and [Vercel AI SDK](https://ai-sdk.dev/docs) React hooks work in Smithers components.
126
+ const result = await runWorkflow(workflow, {
127
+ input: { description: "Auth tokens expire silently" },
128
+ });
129
+ ```
100
130
 
101
- ---
131
+ ## Core Concepts
102
132
 
103
- ## Quick Examples
133
+ ### Components as pipeline stages
104
134
 
105
- ### Sequential Phases
135
+ Every stage in your pipeline is a React component. This means you get composition, reuse, and conditional rendering for free.
106
136
 
107
137
  ```tsx
108
- <SmithersProvider db={db} executionId={executionId} maxIterations={10}>
109
- <Phase name="implement">
110
- <Step name="code">
111
- <Claude>Implement the feature</Claude>
112
- </Step>
113
- <Step name="test">
114
- <Claude>Write tests</Claude>
115
- </Step>
116
- </Phase>
117
- <Phase name="review">
118
- <Claude>Review the changes</Claude>
119
- </Phase>
120
- </SmithersProvider>
121
- ```
122
-
123
- ### Parallel Agents
138
+ function CodeReview({ fileGlob }: { fileGlob: string }) {
139
+ const ctx = useCtx();
140
+ return (
141
+ <Sequence>
142
+ <Task id="lint" output="lint" outputSchema={lintSchema} agent={linter}>
143
+ {`Lint files matching ${fileGlob}`}
144
+ </Task>
145
+ <Task id="review" output="review" outputSchema={reviewSchema} agent={reviewer}>
146
+ {`Review the lint results: ${JSON.stringify(ctx.latest("lint", "lint"))}`}
147
+ </Task>
148
+ </Sequence>
149
+ );
150
+ }
124
151
 
125
- ```tsx
152
+ // Reuse it
126
153
  <Parallel>
127
- <Claude>Fix auth</Claude>
128
- <Claude>Fix database</Claude>
129
- <Claude>Fix API</Claude>
154
+ <CodeReview fileGlob="src/**/*.ts" />
155
+ <CodeReview fileGlob="tests/**/*.ts" />
130
156
  </Parallel>
131
157
  ```
132
158
 
133
- ### Structured Output
159
+ ### Structured output with Zod
134
160
 
135
- ```tsx
136
- const ReviewSchema = z.object({
137
- approved: z.boolean(),
138
- issues: z.array(z.string()),
139
- });
161
+ Every task output is validated against its Zod schema. If the agent returns malformed JSON, Smithers automatically retries with the validation error appended to the prompt — the agent self-corrects.
140
162
 
141
- <Claude schema={ReviewSchema}>Review the PR.</Claude>;
142
- // result.structured: { approved: boolean, issues: string[] }
163
+ ```tsx
164
+ <Task
165
+ id="analyze"
166
+ output="analyze"
167
+ outputSchema={analyzeSchema}
168
+ agent={analyzer}
169
+ retries={2}
170
+ >
171
+ Analyze the codebase for security issues
172
+ </Task>
143
173
  ```
144
174
 
145
- ### Worktree Isolation
175
+ ### MDX prompts
146
176
 
147
- ```tsx
148
- <Worktree branch="feature-auth" cleanup>
149
- <Claude>Implement authentication</Claude>
150
- </Worktree>
151
- ```
177
+ Complex prompts get unwieldy as template literals. Use MDX instead — it renders to clean markdown, not HTML.
152
178
 
153
- ---
179
+ ```mdx
180
+ {/* prompts/analyze.mdx */}
181
+ # Security Analysis
154
182
 
155
- ## Persistence
183
+ Analyze **{props.target}** for vulnerabilities.
156
184
 
157
- State lives in SQLite. Survives restarts.
185
+ ## Focus areas
186
+ - {props.focus}
187
+ - Input validation
188
+ - Authentication flows
189
+ ```
158
190
 
159
191
  ```tsx
160
- // Set state
161
- db.state.set("phase", "review");
192
+ import { mdxPlugin } from "smithers-orchestrator";
193
+ import AnalyzePrompt from "./prompts/analyze.mdx";
162
194
 
163
- // Get state
164
- const phase = db.state.get("phase");
195
+ mdxPlugin(); // register once
165
196
 
166
- // Resume after crash
167
- const incomplete = db.execution.findIncomplete();
168
- if (incomplete) {
169
- executionId = incomplete.id;
170
- }
197
+ <Task id="analyze" output="analyze" agent={analyzer}>
198
+ <AnalyzePrompt target="src/auth" focus="token handling" />
199
+ </Task>
171
200
  ```
172
201
 
173
- ---
202
+ ### Validation loops with Ralph
174
203
 
175
- ## Observability
204
+ `<Ralph>` re-runs its children until a condition is met. Each iteration is tracked separately in the database with an `iteration` counter.
176
205
 
177
- The React tree is the observability. What you write is what gets logged.
206
+ ```tsx
207
+ <Ralph
208
+ until={ctx.latest("review", "validate")?.approved}
209
+ maxIterations={5}
210
+ >
211
+ <Task id="implement" output="implement" agent={coder}>
212
+ {`Fix based on feedback: ${ctx.latest("review", "validate")?.feedback ?? "Initial implementation"}`}
213
+ </Task>
214
+ <Task id="validate" output="review" agent={reviewer}>
215
+ {`Review the implementation: ${ctx.latest("implement", "implement")?.code}`}
216
+ </Task>
217
+ </Ralph>
218
+ ```
219
+
220
+ ### Dynamic branching
221
+
222
+ The workflow tree re-renders after each task. Use standard JSX conditionals to create dynamic plans.
178
223
 
179
224
  ```tsx
180
- <Phase name="deploy">
181
- <Step name="build" status="completed">
182
- ...
183
- </Step>
184
- <Step name="test" status="running">
185
- ...
186
- </Step>
187
- </Phase>
225
+ <Task id="assess" output="assess" agent={analyst}>
226
+ Assess the complexity of this task
227
+ </Task>
228
+
229
+ {ctx.output("assess", { nodeId: "assess" }).complexity === "high" ? (
230
+ <Sequence>
231
+ <Task id="plan" output="plan" agent={architect}>Plan the implementation</Task>
232
+ <Task id="implement" output="code" agent={coder}>
233
+ {`Follow this plan: ${ctx.output("plan", { nodeId: "plan" }).steps}`}
234
+ </Task>
235
+ </Sequence>
236
+ ) : (
237
+ <Task id="implement" output="code" agent={coder}>
238
+ Quick fix for the issue
239
+ </Task>
240
+ )}
188
241
  ```
189
242
 
190
- SQLite stores every frame. Use version control to rewind.
243
+ ## Components
191
244
 
192
- ---
245
+ | Component | Purpose | Key Props |
246
+ |-----------|---------|-----------|
247
+ | `<Workflow>` | Root container | `name`, `cache` |
248
+ | `<Task>` | Single AI or static task | `id`, `output`, `agent`, `outputSchema`, `retries` |
249
+ | `<Sequence>` | Run children in order | `skipIf` |
250
+ | `<Parallel>` | Run children concurrently | `maxConcurrency`, `skipIf` |
251
+ | `<Branch>` | Conditional execution | `if`, `then`, `else` |
252
+ | `<Ralph>` | Loop until condition met | `until`, `maxIterations` |
193
253
 
194
- ## Install
254
+ ## Context API
195
255
 
196
- ```bash
197
- bun add -g smithers-orchestrator
256
+ ```tsx
257
+ ctx.input // workflow input
258
+ ctx.output("analyze", { nodeId: "analyze" }) // specific row by string key
259
+ ctx.output(table, { nodeId: "analyze" }) // specific row by table object
260
+ ctx.latest("analyze", "analyze") // latest iteration for a node
261
+ ctx.latestArray(value, zodSchema) // parse + validate array field
262
+ ctx.iterationCount("analyze", "analyze") // count iterations for a node
263
+ ctx.runId // current run ID
264
+ ctx.iteration // current Ralph iteration
198
265
  ```
199
266
 
200
- This installs the `smithers` CLI globally. Requires [Bun](https://bun.sh/) 1.0+.
267
+ Access context inside components with the `useCtx()` hook:
201
268
 
202
- Or install the Claude Code plugin:
269
+ ```tsx
270
+ const { Workflow, useCtx, smithers } = createSmithers({ ... });
203
271
 
272
+ function MyComponent() {
273
+ const ctx = useCtx();
274
+ return <>{`Process: ${ctx.input.description}`}</>;
275
+ }
204
276
  ```
205
- /plugin add evmts/smithers
277
+
278
+ ## Built-in Tools
279
+
280
+ ```tsx
281
+ import { read, edit, bash, grep, write } from "smithers-orchestrator/tools";
282
+
283
+ const codeAgent = new Agent({
284
+ model: anthropic("claude-sonnet-4-20250514"),
285
+ tools: { read, edit, bash, grep, write },
286
+ instructions: "You are a senior software engineer.",
287
+ });
206
288
  ```
207
289
 
208
- ---
290
+ All tools are sandboxed to the workflow root directory. `bash` is network-disabled by default.
291
+
292
+ ## How It Works
293
+
294
+ 1. **Define** — Zod schemas become SQLite tables. React components become your DAG.
295
+ 2. **Render** — Smithers renders the React tree, identifies runnable tasks (depth-first, left-to-right).
296
+ 3. **Execute** — The engine runs each task, validates output against the schema, writes to SQLite.
297
+ 4. **Re-render** — The tree re-renders with updated context. Newly unblocked tasks become runnable.
298
+ 5. **Repeat** — Until no runnable tasks remain. Crash at any point and resume from the last checkpoint.
209
299
 
210
- ## Roadmap
300
+ Every task result is a row in SQLite keyed by `(runId, nodeId, iteration)`. There is no in-memory state to lose.
211
301
 
212
- **North Star: SuperSmithers**: A meta-agent that watches your agents and rewrites their code to optimize. The architecture is ready. Coming soon.
302
+ ## CLI
213
303
 
214
- ---
304
+ ```bash
305
+ smithers run workflow.tsx --input '{"description": "Fix bugs"}'
306
+ smithers resume workflow.tsx --run-id abc123
307
+ smithers list workflow.tsx
308
+ smithers approve workflow.tsx --run-id abc123 --node-id review
309
+ ```
310
+
311
+ ## Server Mode
312
+
313
+ ```ts
314
+ import { startServer } from "smithers-orchestrator/server";
315
+
316
+ startServer({
317
+ port: 7331,
318
+ authToken: process.env.SMITHERS_API_KEY,
319
+ });
320
+ ```
215
321
 
216
- ## More
322
+ ## License
217
323
 
218
- - [Documentation](https://smithers.sh)
219
- - [Examples](./examples)
220
- - [Contributing](./CONTRIBUTING.md)
324
+ MIT
package/package.json CHANGED
@@ -1,71 +1,39 @@
1
1
  {
2
2
  "name": "smithers-orchestrator",
3
- "version": "0.3.0",
4
- "description": "Build AI agents with React - Declarative JSX for Claude orchestration",
3
+ "version": "0.4.0",
4
+ "description": "AI workflow orchestration with JSX",
5
+ "author": "William Cory",
5
6
  "license": "MIT",
7
+ "module": "src/index.ts",
6
8
  "type": "module",
7
- "main": "./dist/src/index.js",
8
9
  "bin": {
9
- "smithers": "./dist/bin/cli.js"
10
+ "smithers": "src/cli/index.ts"
10
11
  },
11
12
  "exports": {
12
- ".": "./dist/src/index.js",
13
- "./jsx-runtime": "./dist/src/reconciler/jsx-runtime.js",
14
- "./jsx-dev-runtime": "./dist/src/reconciler/jsx-runtime.js",
15
- "./db": "./dist/src/db/index.js",
16
- "./supersmithers": "./dist/src/supersmithers/index.js",
17
- "./supersmithers/runtime": "./dist/src/supersmithers/runtime.js",
18
- "./supersmithers/register": "./dist/src/supersmithers/register.js"
13
+ ".": "./src/index.ts",
14
+ "./jsx-runtime": "./src/jsx-runtime.ts",
15
+ "./jsx-dev-runtime": "./src/jsx-runtime.ts",
16
+ "./tools": "./src/tools/index.ts",
17
+ "./server": "./src/server/index.ts",
18
+ "./pi-plugin": "./src/pi-plugin/index.ts",
19
+ "./mdx-plugin": "./src/mdx-plugin.ts",
20
+ "./dom/renderer": "./src/dom/renderer.ts"
19
21
  },
20
22
  "files": [
21
- "dist",
22
- "opencode",
23
- "skills",
24
- "templates",
25
- "preload.ts",
26
- "bunfig.toml",
27
- "plugin.json",
28
- "README.md"
23
+ "src/",
24
+ "README.md",
25
+ "LICENSE"
29
26
  ],
30
- "scripts": {
31
- "build": "bun build:lib && bun build:bin && bun build:assets",
32
- "build:assets": "cp src/db/schema.sql dist/src/db/",
33
- "build:lib": "bun scripts/build-lib.ts",
34
- "build:bin": "bun build ./bin/cli.ts --outdir dist/bin --target bun",
35
- "typecheck": "tsc --noEmit",
36
- "typecheck:docs": "bun --config=/dev/null scripts/typecheck-docs.ts",
37
- "lint": "oxlint src/",
38
- "lint:fix": "oxlint --fix src/",
39
- "test": "bun test",
40
- "test:watch": "bun test --watch",
41
- "check": "bun run typecheck && bun run lint && bun run test",
42
- "prepare": "husky"
27
+ "engines": {
28
+ "bun": ">=1.3.0"
43
29
  },
44
- "dependencies": {
45
- "@anthropic-ai/claude-agent-sdk": "^0.1.76",
46
- "@anthropic-ai/sdk": "^0.71.2",
47
- "@babel/core": "^7.28.6",
48
- "@babel/preset-typescript": "^7.28.5",
49
- "@electric-sql/pglite": "^0.3.15",
50
- "@opencode-ai/plugin": "^1.1.31",
51
- "@opentui/core": "^0.1.74",
52
- "@opentui/react": "^0.1.74",
53
- "commander": "^12.0.0",
54
- "opencode-ai": "^1.1.31",
55
- "react": "^19.0.0",
56
- "react-reconciler": "^0.32.0",
57
- "zod": "^4.3.5"
58
- },
59
- "peerDependencies": {
60
- "bun": ">=1.0.0"
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/evmts/smithers.git"
61
33
  },
62
- "devDependencies": {
63
- "@types/bun": "latest",
64
- "@types/react": "^19.0.0",
65
- "@types/react-reconciler": "^0.28.9",
66
- "husky": "^9.1.7",
67
- "oxlint": "^1.39.0",
68
- "typescript": "^5.7.2"
34
+ "homepage": "https://github.com/evmts/smithers#readme",
35
+ "bugs": {
36
+ "url": "https://github.com/evmts/smithers/issues"
69
37
  },
70
38
  "keywords": [
71
39
  "ai",
@@ -74,14 +42,37 @@
74
42
  "jsx",
75
43
  "llm",
76
44
  "claude",
77
- "anthropic",
78
45
  "orchestration",
46
+ "workflow",
79
47
  "bun"
80
48
  ],
81
- "author": "William Cory",
82
- "license": "MIT",
83
- "repository": {
84
- "type": "git",
85
- "url": "git+https://github.com/evmts/smithers.git"
49
+ "scripts": {
50
+ "typecheck": "tsc --noEmit",
51
+ "cli": "bun run src/cli/index.ts",
52
+ "test": "bun test tests/*.test.ts tests/*.test.tsx",
53
+ "e2e": "playwright test",
54
+ "dev": "bun run --filter smithers-desktop dev"
55
+ },
56
+ "dependencies": {
57
+ "@ai-sdk/anthropic": "^3.0.36",
58
+ "@mdx-js/esbuild": "^3.1.1",
59
+ "ai": "^6.0.69",
60
+ "diff": "^5.2.0",
61
+ "drizzle-orm": "^0.45.1",
62
+ "drizzle-zod": "^0.8.3",
63
+ "react": "^19.2.4",
64
+ "react-dom": "^19.2.4",
65
+ "react-reconciler": "^0.31.0",
66
+ "zod": "^4.3.6"
67
+ },
68
+ "peerDependencies": {
69
+ "typescript": "^5"
70
+ },
71
+ "devDependencies": {
72
+ "@types/bun": "latest",
73
+ "@types/diff": "^5.2.0",
74
+ "@types/react": "^19.2.10",
75
+ "@types/react-reconciler": "^0.28.9",
76
+ "@playwright/test": "^1.52.0"
86
77
  }
87
78
  }