smithers-orchestrator 0.2.9 → 0.3.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 (1096) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +125 -431
  3. package/bunfig.toml +11 -1
  4. package/dist/bin/cli.js +59139 -57762
  5. package/dist/src/commands/cli-utils.d.ts +12 -0
  6. package/dist/src/commands/cli-utils.d.ts.map +1 -0
  7. package/dist/src/commands/cli-utils.js +52 -0
  8. package/dist/src/commands/cli-utils.js.map +1 -0
  9. package/dist/src/commands/db/current-view.d.ts +3 -0
  10. package/dist/src/commands/db/current-view.d.ts.map +1 -0
  11. package/dist/src/commands/db/current-view.js +44 -0
  12. package/dist/src/commands/db/current-view.js.map +1 -0
  13. package/dist/src/commands/db/execution-view.d.ts +3 -0
  14. package/dist/src/commands/db/execution-view.d.ts.map +1 -0
  15. package/dist/src/commands/db/execution-view.js +89 -0
  16. package/dist/src/commands/db/execution-view.js.map +1 -0
  17. package/dist/src/commands/db/executions-view.d.ts +3 -0
  18. package/dist/src/commands/db/executions-view.d.ts.map +1 -0
  19. package/dist/src/commands/db/executions-view.js +34 -0
  20. package/dist/src/commands/db/executions-view.js.map +1 -0
  21. package/dist/src/commands/db/help.d.ts +2 -0
  22. package/dist/src/commands/db/help.d.ts.map +1 -0
  23. package/dist/src/commands/db/help.js +19 -0
  24. package/dist/src/commands/db/help.js.map +1 -0
  25. package/dist/src/commands/db/index.d.ts +15 -0
  26. package/dist/src/commands/db/index.d.ts.map +1 -0
  27. package/dist/src/commands/db/index.js +83 -0
  28. package/dist/src/commands/db/index.js.map +1 -0
  29. package/dist/src/commands/db/memories-view.d.ts +3 -0
  30. package/dist/src/commands/db/memories-view.d.ts.map +1 -0
  31. package/dist/src/commands/db/memories-view.js +30 -0
  32. package/dist/src/commands/db/memories-view.js.map +1 -0
  33. package/dist/src/commands/db/recovery-view.d.ts +3 -0
  34. package/dist/src/commands/db/recovery-view.d.ts.map +1 -0
  35. package/dist/src/commands/db/recovery-view.js +36 -0
  36. package/dist/src/commands/db/recovery-view.js.map +1 -0
  37. package/dist/src/commands/db/state-view.d.ts +3 -0
  38. package/dist/src/commands/db/state-view.d.ts.map +1 -0
  39. package/dist/src/commands/db/state-view.js +37 -0
  40. package/dist/src/commands/db/state-view.js.map +1 -0
  41. package/dist/src/commands/db/stats-view.d.ts +3 -0
  42. package/dist/src/commands/db/stats-view.d.ts.map +1 -0
  43. package/dist/src/commands/db/stats-view.js +23 -0
  44. package/dist/src/commands/db/stats-view.js.map +1 -0
  45. package/dist/src/commands/db/transitions-view.d.ts +3 -0
  46. package/dist/src/commands/db/transitions-view.d.ts.map +1 -0
  47. package/dist/src/commands/db/transitions-view.js +22 -0
  48. package/dist/src/commands/db/transitions-view.js.map +1 -0
  49. package/dist/src/commands/db/view-utils.d.ts +9 -0
  50. package/dist/src/commands/db/view-utils.d.ts.map +1 -0
  51. package/dist/src/commands/db/view-utils.js +29 -0
  52. package/dist/src/commands/db/view-utils.js.map +1 -0
  53. package/dist/src/commands/db.d.ts +2 -0
  54. package/dist/src/commands/db.d.ts.map +1 -0
  55. package/dist/src/commands/db.js +2 -0
  56. package/dist/src/commands/db.js.map +1 -0
  57. package/dist/src/commands/demo.d.ts +2 -0
  58. package/dist/src/commands/demo.d.ts.map +1 -0
  59. package/dist/src/commands/demo.js +45 -0
  60. package/dist/src/commands/demo.js.map +1 -0
  61. package/dist/src/commands/init.d.ts +14 -0
  62. package/dist/src/commands/init.d.ts.map +1 -0
  63. package/dist/src/commands/init.js +124 -0
  64. package/dist/src/commands/init.js.map +1 -0
  65. package/dist/src/commands/monitor.d.ts +14 -0
  66. package/dist/src/commands/monitor.d.ts.map +1 -0
  67. package/dist/src/commands/monitor.js +140 -0
  68. package/dist/src/commands/monitor.js.map +1 -0
  69. package/dist/src/commands/run.d.ts +13 -0
  70. package/dist/src/commands/run.d.ts.map +1 -0
  71. package/dist/src/commands/run.js +62 -0
  72. package/dist/src/commands/run.js.map +1 -0
  73. package/dist/src/commands/test-utils.d.ts +3 -0
  74. package/dist/src/commands/test-utils.d.ts.map +1 -0
  75. package/dist/src/commands/test-utils.js +14 -0
  76. package/dist/src/commands/test-utils.js.map +1 -0
  77. package/dist/src/commands/upgrade.d.ts +21 -0
  78. package/dist/src/commands/upgrade.d.ts.map +1 -0
  79. package/dist/src/commands/upgrade.js +78 -0
  80. package/dist/src/commands/upgrade.js.map +1 -0
  81. package/dist/src/components/AgentRenderer.d.ts +32 -0
  82. package/dist/src/components/AgentRenderer.d.ts.map +1 -0
  83. package/dist/src/components/AgentRenderer.js +30 -0
  84. package/dist/src/components/AgentRenderer.js.map +1 -0
  85. package/dist/src/components/Amp.d.ts +6 -0
  86. package/dist/src/components/Amp.d.ts.map +1 -0
  87. package/dist/src/components/Amp.js +9 -0
  88. package/dist/src/components/Amp.js.map +1 -0
  89. package/dist/src/components/Claude.d.ts +6 -0
  90. package/dist/src/components/Claude.d.ts.map +1 -0
  91. package/dist/src/components/Claude.js +9 -0
  92. package/dist/src/components/Claude.js.map +1 -0
  93. package/dist/src/components/ClaudeApi.d.ts +12 -0
  94. package/dist/src/components/ClaudeApi.d.ts.map +1 -0
  95. package/dist/src/components/ClaudeApi.js +5 -0
  96. package/dist/src/components/ClaudeApi.js.map +1 -0
  97. package/dist/src/components/Codex.d.ts +6 -0
  98. package/dist/src/components/Codex.d.ts.map +1 -0
  99. package/dist/src/components/Codex.js +9 -0
  100. package/dist/src/components/Codex.js.map +1 -0
  101. package/dist/src/components/Command.d.ts +36 -0
  102. package/dist/src/components/Command.d.ts.map +1 -0
  103. package/dist/src/components/Command.js +186 -0
  104. package/dist/src/components/Command.js.map +1 -0
  105. package/dist/src/components/Constraints.d.ts +6 -0
  106. package/dist/src/components/Constraints.d.ts.map +1 -0
  107. package/dist/src/components/Constraints.js +5 -0
  108. package/dist/src/components/Constraints.js.map +1 -0
  109. package/dist/src/components/Each.d.ts +7 -0
  110. package/dist/src/components/Each.d.ts.map +1 -0
  111. package/dist/src/components/Each.js +5 -0
  112. package/dist/src/components/Each.js.map +1 -0
  113. package/dist/src/components/End.d.ts +22 -0
  114. package/dist/src/components/End.d.ts.map +1 -0
  115. package/dist/src/components/End.js +63 -0
  116. package/dist/src/components/End.js.map +1 -0
  117. package/dist/src/components/ExecutionContext.d.ts +11 -0
  118. package/dist/src/components/ExecutionContext.d.ts.map +1 -0
  119. package/dist/src/components/ExecutionContext.js +16 -0
  120. package/dist/src/components/ExecutionContext.js.map +1 -0
  121. package/dist/src/components/ExecutionScope.d.ts +14 -0
  122. package/dist/src/components/ExecutionScope.d.ts.map +1 -0
  123. package/dist/src/components/ExecutionScope.js +21 -0
  124. package/dist/src/components/ExecutionScope.js.map +1 -0
  125. package/dist/src/components/Git/Commit.d.ts +32 -0
  126. package/dist/src/components/Git/Commit.d.ts.map +1 -0
  127. package/dist/src/components/Git/Commit.js +112 -0
  128. package/dist/src/components/Git/Commit.js.map +1 -0
  129. package/dist/src/components/Git/Notes.d.ts +24 -0
  130. package/dist/src/components/Git/Notes.d.ts.map +1 -0
  131. package/dist/src/components/Git/Notes.js +46 -0
  132. package/dist/src/components/Git/Notes.js.map +1 -0
  133. package/dist/src/components/Git/index.d.ts +4 -0
  134. package/dist/src/components/Git/index.d.ts.map +1 -0
  135. package/dist/src/components/Git/index.js +4 -1697
  136. package/dist/src/components/Git/index.js.map +1 -0
  137. package/dist/src/components/Git/useGitOperation.d.ts +16 -0
  138. package/dist/src/components/Git/useGitOperation.d.ts.map +1 -0
  139. package/dist/src/components/Git/useGitOperation.js +5 -0
  140. package/dist/src/components/Git/useGitOperation.js.map +1 -0
  141. package/dist/src/components/Hooks/OnCIFailure.d.ts +33 -0
  142. package/dist/src/components/Hooks/OnCIFailure.d.ts.map +1 -0
  143. package/dist/src/components/Hooks/OnCIFailure.js +176 -0
  144. package/dist/src/components/Hooks/OnCIFailure.js.map +1 -0
  145. package/dist/src/components/Hooks/PostCommit.d.ts +16 -0
  146. package/dist/src/components/Hooks/PostCommit.d.ts.map +1 -0
  147. package/dist/src/components/Hooks/PostCommit.js +153 -0
  148. package/dist/src/components/Hooks/PostCommit.js.map +1 -0
  149. package/dist/src/components/Hooks/index.d.ts +4 -0
  150. package/dist/src/components/Hooks/index.d.ts.map +1 -0
  151. package/dist/src/components/Hooks/index.js +4 -1718
  152. package/dist/src/components/Hooks/index.js.map +1 -0
  153. package/dist/src/components/Hooks/usePollingHook.d.ts +16 -0
  154. package/dist/src/components/Hooks/usePollingHook.d.ts.map +1 -0
  155. package/dist/src/components/Hooks/usePollingHook.js +63 -0
  156. package/dist/src/components/Hooks/usePollingHook.js.map +1 -0
  157. package/dist/src/components/Human.d.ts +10 -0
  158. package/dist/src/components/Human.d.ts.map +1 -0
  159. package/dist/src/components/Human.js +58 -0
  160. package/dist/src/components/Human.js.map +1 -0
  161. package/dist/src/components/If.d.ts +7 -0
  162. package/dist/src/components/If.d.ts.map +1 -0
  163. package/dist/src/components/If.js +4 -0
  164. package/dist/src/components/If.js.map +1 -0
  165. package/dist/src/components/JJ/Commit.d.ts +10 -0
  166. package/dist/src/components/JJ/Commit.d.ts.map +1 -0
  167. package/dist/src/components/JJ/Commit.js +49 -0
  168. package/dist/src/components/JJ/Commit.js.map +1 -0
  169. package/dist/src/components/JJ/Describe.d.ts +9 -0
  170. package/dist/src/components/JJ/Describe.d.ts.map +1 -0
  171. package/dist/src/components/JJ/Describe.js +37 -0
  172. package/dist/src/components/JJ/Describe.js.map +1 -0
  173. package/dist/src/components/JJ/Rebase.d.ts +10 -0
  174. package/dist/src/components/JJ/Rebase.d.ts.map +1 -0
  175. package/dist/src/components/JJ/Rebase.js +102 -0
  176. package/dist/src/components/JJ/Rebase.js.map +1 -0
  177. package/dist/src/components/JJ/Snapshot.d.ts +8 -0
  178. package/dist/src/components/JJ/Snapshot.d.ts.map +1 -0
  179. package/dist/src/components/JJ/Snapshot.js +34 -0
  180. package/dist/src/components/JJ/Snapshot.js.map +1 -0
  181. package/dist/src/components/JJ/Status.d.ts +13 -0
  182. package/dist/src/components/JJ/Status.d.ts.map +1 -0
  183. package/dist/src/components/JJ/Status.js +48 -0
  184. package/dist/src/components/JJ/Status.js.map +1 -0
  185. package/dist/src/components/JJ/index.d.ts +8 -0
  186. package/dist/src/components/JJ/index.d.ts.map +1 -0
  187. package/dist/src/components/JJ/index.js +8 -1859
  188. package/dist/src/components/JJ/index.js.map +1 -0
  189. package/dist/src/components/JJ/useJJOperation.d.ts +16 -0
  190. package/dist/src/components/JJ/useJJOperation.d.ts.map +1 -0
  191. package/dist/src/components/JJ/useJJOperation.js +5 -0
  192. package/dist/src/components/JJ/useJJOperation.js.map +1 -0
  193. package/dist/src/components/MCP/Sqlite.d.ts +11 -0
  194. package/dist/src/components/MCP/Sqlite.d.ts.map +1 -0
  195. package/dist/src/components/MCP/Sqlite.js +9 -0
  196. package/dist/src/components/MCP/Sqlite.js.map +1 -0
  197. package/dist/src/components/MCP/index.d.ts +2 -0
  198. package/dist/src/components/MCP/index.d.ts.map +1 -0
  199. package/dist/src/components/MCP/index.js +2 -44
  200. package/dist/src/components/MCP/index.js.map +1 -0
  201. package/dist/src/components/OrchestrationController.d.ts +13 -0
  202. package/dist/src/components/OrchestrationController.d.ts.map +1 -0
  203. package/dist/src/components/OrchestrationController.js +28 -0
  204. package/dist/src/components/OrchestrationController.js.map +1 -0
  205. package/dist/src/components/Parallel.d.ts +6 -0
  206. package/dist/src/components/Parallel.d.ts.map +1 -0
  207. package/dist/src/components/Parallel.js +37 -0
  208. package/dist/src/components/Parallel.js.map +1 -0
  209. package/dist/src/components/Persona.d.ts +7 -0
  210. package/dist/src/components/Persona.d.ts.map +1 -0
  211. package/dist/src/components/Persona.js +5 -0
  212. package/dist/src/components/Persona.js.map +1 -0
  213. package/dist/src/components/Phase.d.ts +10 -0
  214. package/dist/src/components/Phase.d.ts.map +1 -0
  215. package/dist/src/components/Phase.js +99 -0
  216. package/dist/src/components/Phase.js.map +1 -0
  217. package/dist/src/components/PhaseContext.d.ts +6 -0
  218. package/dist/src/components/PhaseContext.d.ts.map +1 -0
  219. package/dist/src/components/PhaseContext.js +6 -0
  220. package/dist/src/components/PhaseContext.js.map +1 -0
  221. package/dist/src/components/PhaseRegistry.d.ts +16 -0
  222. package/dist/src/components/PhaseRegistry.d.ts.map +1 -0
  223. package/dist/src/components/PhaseRegistry.js +100 -0
  224. package/dist/src/components/PhaseRegistry.js.map +1 -0
  225. package/dist/src/components/Ralph.d.ts +7 -0
  226. package/dist/src/components/Ralph.d.ts.map +1 -0
  227. package/dist/src/components/Ralph.js +7 -0
  228. package/dist/src/components/Ralph.js.map +1 -0
  229. package/dist/src/components/Review/Review.d.ts +4 -0
  230. package/dist/src/components/Review/Review.d.ts.map +1 -0
  231. package/dist/src/components/Review/Review.js +7 -0
  232. package/dist/src/components/Review/Review.js.map +1 -0
  233. package/dist/src/components/Review/index.d.ts +3 -0
  234. package/dist/src/components/Review/index.d.ts.map +1 -0
  235. package/dist/src/components/Review/index.js +2 -0
  236. package/dist/src/components/Review/index.js.map +1 -0
  237. package/dist/src/components/Review/types.d.ts +49 -0
  238. package/dist/src/components/Review/types.d.ts.map +1 -0
  239. package/dist/src/components/Review/types.js +2 -0
  240. package/dist/src/components/Review/types.js.map +1 -0
  241. package/dist/src/components/Review.d.ts +3 -0
  242. package/dist/src/components/Review.d.ts.map +1 -0
  243. package/dist/src/components/Review.js +2 -0
  244. package/dist/src/components/Review.js.map +1 -0
  245. package/dist/src/components/Smithers.d.ts +71 -0
  246. package/dist/src/components/Smithers.d.ts.map +1 -0
  247. package/dist/src/components/Smithers.js +8 -0
  248. package/dist/src/components/Smithers.js.map +1 -0
  249. package/dist/src/components/SmithersProvider.d.ts +50 -0
  250. package/dist/src/components/SmithersProvider.d.ts.map +1 -0
  251. package/dist/src/components/SmithersProvider.js +177 -0
  252. package/dist/src/components/SmithersProvider.js.map +1 -0
  253. package/dist/src/components/Step.d.ts +15 -0
  254. package/dist/src/components/Step.d.ts.map +1 -0
  255. package/dist/src/components/Step.js +211 -0
  256. package/dist/src/components/Step.js.map +1 -0
  257. package/dist/src/components/StepContext.d.ts +6 -0
  258. package/dist/src/components/StepContext.d.ts.map +1 -0
  259. package/dist/src/components/StepContext.js +6 -0
  260. package/dist/src/components/StepContext.js.map +1 -0
  261. package/dist/src/components/StepRegistryProvider.d.ts +23 -0
  262. package/dist/src/components/StepRegistryProvider.d.ts.map +1 -0
  263. package/dist/src/components/StepRegistryProvider.js +135 -0
  264. package/dist/src/components/StepRegistryProvider.js.map +1 -0
  265. package/dist/src/components/Stop.d.ts +7 -0
  266. package/dist/src/components/Stop.d.ts.map +1 -0
  267. package/dist/src/components/Stop.js +11 -0
  268. package/dist/src/components/Stop.js.map +1 -0
  269. package/dist/src/components/StopConditionEvaluator.d.ts +35 -0
  270. package/dist/src/components/StopConditionEvaluator.d.ts.map +1 -0
  271. package/dist/src/components/StopConditionEvaluator.js +36 -0
  272. package/dist/src/components/StopConditionEvaluator.js.map +1 -0
  273. package/dist/src/components/Subagent.d.ts +8 -0
  274. package/dist/src/components/Subagent.d.ts.map +1 -0
  275. package/dist/src/components/Subagent.js +5 -0
  276. package/dist/src/components/Subagent.js.map +1 -0
  277. package/dist/src/components/Switch.d.ts +19 -0
  278. package/dist/src/components/Switch.d.ts.map +1 -0
  279. package/dist/src/components/Switch.js +72 -0
  280. package/dist/src/components/Switch.js.map +1 -0
  281. package/dist/src/components/Task.d.ts +7 -0
  282. package/dist/src/components/Task.d.ts.map +1 -0
  283. package/dist/src/components/Task.js +5 -0
  284. package/dist/src/components/Task.js.map +1 -0
  285. package/dist/src/components/TaskCompletionTracker.d.ts +13 -0
  286. package/dist/src/components/TaskCompletionTracker.d.ts.map +1 -0
  287. package/dist/src/components/TaskCompletionTracker.js +54 -0
  288. package/dist/src/components/TaskCompletionTracker.js.map +1 -0
  289. package/dist/src/components/VCS/useVcsOperation.d.ts +28 -0
  290. package/dist/src/components/VCS/useVcsOperation.d.ts.map +1 -0
  291. package/dist/src/components/VCS/useVcsOperation.js +54 -0
  292. package/dist/src/components/VCS/useVcsOperation.js.map +1 -0
  293. package/dist/src/components/While.d.ts +21 -0
  294. package/dist/src/components/While.d.ts.map +1 -0
  295. package/dist/src/components/While.js +94 -0
  296. package/dist/src/components/While.js.map +1 -0
  297. package/dist/src/components/Worktree.d.ts +17 -0
  298. package/dist/src/components/Worktree.d.ts.map +1 -0
  299. package/dist/src/components/Worktree.js +103 -0
  300. package/dist/src/components/Worktree.js.map +1 -0
  301. package/dist/src/components/WorktreeProvider.d.ts +12 -0
  302. package/dist/src/components/WorktreeProvider.d.ts.map +1 -0
  303. package/dist/src/components/WorktreeProvider.js +10 -0
  304. package/dist/src/components/WorktreeProvider.js.map +1 -0
  305. package/dist/src/components/agents/ClaudeCodeCLI.d.ts +3 -0
  306. package/dist/src/components/agents/ClaudeCodeCLI.d.ts.map +1 -0
  307. package/dist/src/components/agents/ClaudeCodeCLI.js +10 -0
  308. package/dist/src/components/agents/ClaudeCodeCLI.js.map +1 -0
  309. package/dist/src/components/agents/SmithersCLI.d.ts +69 -0
  310. package/dist/src/components/agents/SmithersCLI.d.ts.map +1 -0
  311. package/dist/src/components/agents/SmithersCLI.js +254 -0
  312. package/dist/src/components/agents/SmithersCLI.js.map +1 -0
  313. package/dist/src/components/agents/amp-cli/arg-builder.d.ts +14 -0
  314. package/dist/src/components/agents/amp-cli/arg-builder.d.ts.map +1 -0
  315. package/dist/src/components/agents/amp-cli/arg-builder.js +62 -0
  316. package/dist/src/components/agents/amp-cli/arg-builder.js.map +1 -0
  317. package/dist/src/components/agents/amp-cli/executor.d.ts +4 -0
  318. package/dist/src/components/agents/amp-cli/executor.d.ts.map +1 -0
  319. package/dist/src/components/agents/amp-cli/executor.js +114 -0
  320. package/dist/src/components/agents/amp-cli/executor.js.map +1 -0
  321. package/dist/src/components/agents/amp-cli/index.d.ts +4 -0
  322. package/dist/src/components/agents/amp-cli/index.d.ts.map +1 -0
  323. package/dist/src/components/agents/amp-cli/index.js +4 -0
  324. package/dist/src/components/agents/amp-cli/index.js.map +1 -0
  325. package/dist/src/components/agents/amp-cli/output-parser.d.ts +32 -0
  326. package/dist/src/components/agents/amp-cli/output-parser.d.ts.map +1 -0
  327. package/dist/src/components/agents/amp-cli/output-parser.js +197 -0
  328. package/dist/src/components/agents/amp-cli/output-parser.js.map +1 -0
  329. package/dist/src/components/agents/claude-cli/arg-builder.d.ts +15 -0
  330. package/dist/src/components/agents/claude-cli/arg-builder.d.ts.map +1 -0
  331. package/dist/src/components/agents/claude-cli/arg-builder.js +87 -0
  332. package/dist/src/components/agents/claude-cli/arg-builder.js.map +1 -0
  333. package/dist/src/components/agents/claude-cli/executor.d.ts +11 -0
  334. package/dist/src/components/agents/claude-cli/executor.d.ts.map +1 -0
  335. package/dist/src/components/agents/claude-cli/executor.js +209 -0
  336. package/dist/src/components/agents/claude-cli/executor.js.map +1 -0
  337. package/dist/src/components/agents/claude-cli/index.d.ts +6 -0
  338. package/dist/src/components/agents/claude-cli/index.d.ts.map +1 -0
  339. package/dist/src/components/agents/claude-cli/index.js +5 -0
  340. package/dist/src/components/agents/claude-cli/index.js.map +1 -0
  341. package/dist/src/components/agents/claude-cli/message-parser.d.ts +33 -0
  342. package/dist/src/components/agents/claude-cli/message-parser.d.ts.map +1 -0
  343. package/dist/src/components/agents/claude-cli/message-parser.js +152 -0
  344. package/dist/src/components/agents/claude-cli/message-parser.js.map +1 -0
  345. package/dist/src/components/agents/claude-cli/output-parser.d.ts +18 -0
  346. package/dist/src/components/agents/claude-cli/output-parser.d.ts.map +1 -0
  347. package/dist/src/components/agents/claude-cli/output-parser.js +142 -0
  348. package/dist/src/components/agents/claude-cli/output-parser.js.map +1 -0
  349. package/dist/src/components/agents/claude-cli/stop-conditions.d.ts +9 -0
  350. package/dist/src/components/agents/claude-cli/stop-conditions.d.ts.map +1 -0
  351. package/dist/src/components/agents/claude-cli/stop-conditions.js +77 -0
  352. package/dist/src/components/agents/claude-cli/stop-conditions.js.map +1 -0
  353. package/dist/src/components/agents/codex-cli/arg-builder.d.ts +10 -0
  354. package/dist/src/components/agents/codex-cli/arg-builder.d.ts.map +1 -0
  355. package/dist/src/components/agents/codex-cli/arg-builder.js +95 -0
  356. package/dist/src/components/agents/codex-cli/arg-builder.js.map +1 -0
  357. package/dist/src/components/agents/codex-cli/executor.d.ts +9 -0
  358. package/dist/src/components/agents/codex-cli/executor.d.ts.map +1 -0
  359. package/dist/src/components/agents/codex-cli/executor.js +57 -0
  360. package/dist/src/components/agents/codex-cli/executor.js.map +1 -0
  361. package/dist/src/components/agents/codex-cli/index.d.ts +4 -0
  362. package/dist/src/components/agents/codex-cli/index.d.ts.map +1 -0
  363. package/dist/src/components/agents/codex-cli/index.js +4 -0
  364. package/dist/src/components/agents/codex-cli/index.js.map +1 -0
  365. package/dist/src/components/agents/codex-cli/output-parser.d.ts +14 -0
  366. package/dist/src/components/agents/codex-cli/output-parser.d.ts.map +1 -0
  367. package/dist/src/components/agents/codex-cli/output-parser.js +47 -0
  368. package/dist/src/components/agents/codex-cli/output-parser.js.map +1 -0
  369. package/dist/src/components/agents/shared/cli-executor.d.ts +63 -0
  370. package/dist/src/components/agents/shared/cli-executor.d.ts.map +1 -0
  371. package/dist/src/components/agents/shared/cli-executor.js +155 -0
  372. package/dist/src/components/agents/shared/cli-executor.js.map +1 -0
  373. package/dist/src/components/agents/shared/index.d.ts +2 -0
  374. package/dist/src/components/agents/shared/index.d.ts.map +1 -0
  375. package/dist/src/components/agents/shared/index.js +2 -0
  376. package/dist/src/components/agents/shared/index.js.map +1 -0
  377. package/dist/src/components/agents/types/agents.d.ts +197 -0
  378. package/dist/src/components/agents/types/agents.d.ts.map +1 -0
  379. package/dist/src/components/agents/types/agents.js +2 -0
  380. package/dist/src/components/agents/types/agents.js.map +1 -0
  381. package/dist/src/components/agents/types/amp.d.ts +182 -0
  382. package/dist/src/components/agents/types/amp.d.ts.map +1 -0
  383. package/dist/src/components/agents/types/amp.js +2 -0
  384. package/dist/src/components/agents/types/amp.js.map +1 -0
  385. package/dist/src/components/agents/types/codex.d.ts +222 -0
  386. package/dist/src/components/agents/types/codex.d.ts.map +1 -0
  387. package/dist/src/components/agents/types/codex.js +2 -0
  388. package/dist/src/components/agents/types/codex.js.map +1 -0
  389. package/dist/src/components/agents/types/execution.d.ts +132 -0
  390. package/dist/src/components/agents/types/execution.d.ts.map +1 -0
  391. package/dist/src/components/agents/types/execution.js +2 -0
  392. package/dist/src/components/agents/types/execution.js.map +1 -0
  393. package/dist/src/components/agents/types/index.d.ts +7 -0
  394. package/dist/src/components/agents/types/index.d.ts.map +1 -0
  395. package/dist/src/components/agents/types/index.js +2 -0
  396. package/dist/src/components/agents/types/index.js.map +1 -0
  397. package/dist/src/components/agents/types/schema.d.ts +11 -0
  398. package/dist/src/components/agents/types/schema.d.ts.map +1 -0
  399. package/dist/src/components/agents/types/schema.js +2 -0
  400. package/dist/src/components/agents/types/schema.js.map +1 -0
  401. package/dist/src/components/agents/types/tools.d.ts +5 -0
  402. package/dist/src/components/agents/types/tools.d.ts.map +1 -0
  403. package/dist/src/components/agents/types/tools.js +3 -0
  404. package/dist/src/components/agents/types/tools.js.map +1 -0
  405. package/dist/src/components/agents/types.d.ts +2 -0
  406. package/dist/src/components/agents/types.d.ts.map +1 -0
  407. package/dist/src/components/agents/types.js +2 -0
  408. package/dist/src/components/agents/types.js.map +1 -0
  409. package/dist/src/components/index.d.ts +44 -0
  410. package/dist/src/components/index.d.ts.map +1 -0
  411. package/dist/src/components/index.js +42 -5038
  412. package/dist/src/components/index.js.map +1 -0
  413. package/dist/src/control-plane/discover.d.ts +6 -0
  414. package/dist/src/control-plane/discover.d.ts.map +1 -0
  415. package/dist/src/control-plane/discover.js +66 -0
  416. package/dist/src/control-plane/discover.js.map +1 -0
  417. package/dist/src/control-plane/glob.d.ts +7 -0
  418. package/dist/src/control-plane/glob.d.ts.map +1 -0
  419. package/dist/src/control-plane/glob.js +23 -0
  420. package/dist/src/control-plane/glob.js.map +1 -0
  421. package/dist/src/control-plane/grep.d.ts +19 -0
  422. package/dist/src/control-plane/grep.d.ts.map +1 -0
  423. package/dist/src/control-plane/grep.js +62 -0
  424. package/dist/src/control-plane/grep.js.map +1 -0
  425. package/dist/src/control-plane/index.d.ts +49 -0
  426. package/dist/src/control-plane/index.d.ts.map +1 -0
  427. package/dist/src/control-plane/index.js +26 -0
  428. package/dist/src/control-plane/index.js.map +1 -0
  429. package/dist/src/control-plane/runner.d.ts +26 -0
  430. package/dist/src/control-plane/runner.d.ts.map +1 -0
  431. package/dist/src/control-plane/runner.js +163 -0
  432. package/dist/src/control-plane/runner.js.map +1 -0
  433. package/dist/src/control-plane/security.d.ts +2 -0
  434. package/dist/src/control-plane/security.d.ts.map +1 -0
  435. package/dist/src/control-plane/security.js +18 -0
  436. package/dist/src/control-plane/security.js.map +1 -0
  437. package/dist/src/control-plane/status.d.ts +16 -0
  438. package/dist/src/control-plane/status.d.ts.map +1 -0
  439. package/dist/src/control-plane/status.js +106 -0
  440. package/dist/src/control-plane/status.js.map +1 -0
  441. package/dist/src/control-plane/types.d.ts +46 -0
  442. package/dist/src/control-plane/types.d.ts.map +1 -0
  443. package/dist/src/control-plane/types.js +2 -0
  444. package/dist/src/control-plane/types.js.map +1 -0
  445. package/dist/src/control-plane/utils.d.ts +3 -0
  446. package/dist/src/control-plane/utils.d.ts.map +1 -0
  447. package/dist/src/control-plane/utils.js +30 -0
  448. package/dist/src/control-plane/utils.js.map +1 -0
  449. package/dist/src/core/index.d.ts +3 -0
  450. package/dist/src/core/index.d.ts.map +1 -0
  451. package/dist/src/core/index.js +2 -179
  452. package/dist/src/core/index.js.map +1 -0
  453. package/dist/src/db/agents.d.ts +28 -0
  454. package/dist/src/db/agents.d.ts.map +1 -0
  455. package/dist/src/db/agents.js +133 -0
  456. package/dist/src/db/agents.js.map +1 -0
  457. package/dist/src/db/artifacts.d.ts +12 -0
  458. package/dist/src/db/artifacts.d.ts.map +1 -0
  459. package/dist/src/db/artifacts.js +45 -0
  460. package/dist/src/db/artifacts.js.map +1 -0
  461. package/dist/src/db/build-state.d.ts +22 -0
  462. package/dist/src/db/build-state.d.ts.map +1 -0
  463. package/dist/src/db/build-state.js +107 -0
  464. package/dist/src/db/build-state.js.map +1 -0
  465. package/dist/src/db/execution.d.ts +19 -0
  466. package/dist/src/db/execution.d.ts.map +1 -0
  467. package/dist/src/db/execution.js +88 -0
  468. package/dist/src/db/execution.js.map +1 -0
  469. package/dist/src/db/human.d.ts +69 -0
  470. package/dist/src/db/human.d.ts.map +1 -0
  471. package/dist/src/db/human.js +87 -0
  472. package/dist/src/db/human.js.map +1 -0
  473. package/dist/src/db/index.d.ts +58 -0
  474. package/dist/src/db/index.d.ts.map +1 -0
  475. package/dist/src/db/index.js +162 -2163
  476. package/dist/src/db/index.js.map +1 -0
  477. package/dist/src/db/memories.d.ts +26 -0
  478. package/dist/src/db/memories.d.ts.map +1 -0
  479. package/dist/src/db/memories.js +104 -0
  480. package/dist/src/db/memories.js.map +1 -0
  481. package/dist/src/db/phases.d.ts +17 -0
  482. package/dist/src/db/phases.d.ts.map +1 -0
  483. package/dist/src/db/phases.js +48 -0
  484. package/dist/src/db/phases.js.map +1 -0
  485. package/dist/src/db/query.d.ts +8 -0
  486. package/dist/src/db/query.d.ts.map +1 -0
  487. package/dist/src/db/query.js +7 -0
  488. package/dist/src/db/query.js.map +1 -0
  489. package/dist/src/db/render-frames.d.ts +25 -0
  490. package/dist/src/db/render-frames.d.ts.map +1 -0
  491. package/dist/src/db/render-frames.js +69 -0
  492. package/dist/src/db/render-frames.js.map +1 -0
  493. package/dist/src/db/schema.sql +65 -42
  494. package/dist/src/db/state.d.ts +18 -0
  495. package/dist/src/db/state.d.ts.map +1 -0
  496. package/dist/src/db/state.js +77 -0
  497. package/dist/src/db/state.js.map +1 -0
  498. package/dist/src/db/steps.d.ts +23 -0
  499. package/dist/src/db/steps.d.ts.map +1 -0
  500. package/dist/src/db/steps.js +50 -0
  501. package/dist/src/db/steps.js.map +1 -0
  502. package/dist/src/db/tasks.d.ts +33 -0
  503. package/dist/src/db/tasks.d.ts.map +1 -0
  504. package/dist/src/db/tasks.js +84 -0
  505. package/dist/src/db/tasks.js.map +1 -0
  506. package/dist/src/db/tools.d.ts +15 -0
  507. package/dist/src/db/tools.d.ts.map +1 -0
  508. package/dist/src/db/tools.js +65 -0
  509. package/dist/src/db/tools.js.map +1 -0
  510. package/dist/src/db/types.d.ts +226 -0
  511. package/dist/src/db/types.d.ts.map +1 -0
  512. package/dist/src/db/types.js +2 -0
  513. package/dist/src/db/types.js.map +1 -0
  514. package/dist/src/db/utils.d.ts +8 -0
  515. package/dist/src/db/utils.d.ts.map +1 -0
  516. package/dist/src/db/utils.js +27 -0
  517. package/dist/src/db/utils.js.map +1 -0
  518. package/dist/src/db/vcs-queue.d.ts +21 -0
  519. package/dist/src/db/vcs-queue.d.ts.map +1 -0
  520. package/dist/src/db/vcs-queue.js +46 -0
  521. package/dist/src/db/vcs-queue.js.map +1 -0
  522. package/dist/src/db/vcs.d.ts +61 -0
  523. package/dist/src/db/vcs.d.ts.map +1 -0
  524. package/dist/src/db/vcs.js +229 -0
  525. package/dist/src/db/vcs.js.map +1 -0
  526. package/dist/src/debug/index.d.ts +41 -0
  527. package/dist/src/debug/index.d.ts.map +1 -0
  528. package/dist/src/debug/index.js +165 -0
  529. package/dist/src/debug/index.js.map +1 -0
  530. package/dist/src/hooks/adapters/amp.d.ts +4 -0
  531. package/dist/src/hooks/adapters/amp.d.ts.map +1 -0
  532. package/dist/src/hooks/adapters/amp.js +59 -0
  533. package/dist/src/hooks/adapters/amp.js.map +1 -0
  534. package/dist/src/hooks/adapters/claude.d.ts +4 -0
  535. package/dist/src/hooks/adapters/claude.d.ts.map +1 -0
  536. package/dist/src/hooks/adapters/claude.js +147 -0
  537. package/dist/src/hooks/adapters/claude.js.map +1 -0
  538. package/dist/src/hooks/adapters/codex.d.ts +4 -0
  539. package/dist/src/hooks/adapters/codex.d.ts.map +1 -0
  540. package/dist/src/hooks/adapters/codex.js +63 -0
  541. package/dist/src/hooks/adapters/codex.js.map +1 -0
  542. package/dist/src/hooks/adapters/index.d.ts +5 -0
  543. package/dist/src/hooks/adapters/index.d.ts.map +1 -0
  544. package/dist/src/hooks/adapters/index.js +4 -0
  545. package/dist/src/hooks/adapters/index.js.map +1 -0
  546. package/dist/src/hooks/adapters/types.d.ts +40 -0
  547. package/dist/src/hooks/adapters/types.d.ts.map +1 -0
  548. package/dist/src/hooks/adapters/types.js +2 -0
  549. package/dist/src/hooks/adapters/types.js.map +1 -0
  550. package/dist/src/hooks/index.d.ts +10 -0
  551. package/dist/src/hooks/index.d.ts.map +1 -0
  552. package/dist/src/hooks/index.js +10 -1834
  553. package/dist/src/hooks/index.js.map +1 -0
  554. package/dist/src/hooks/useAgentRunner.d.ts +34 -0
  555. package/dist/src/hooks/useAgentRunner.d.ts.map +1 -0
  556. package/dist/src/hooks/useAgentRunner.js +244 -0
  557. package/dist/src/hooks/useAgentRunner.js.map +1 -0
  558. package/dist/src/hooks/useAmp.d.ts +7 -0
  559. package/dist/src/hooks/useAmp.d.ts.map +1 -0
  560. package/dist/src/hooks/useAmp.js +7 -0
  561. package/dist/src/hooks/useAmp.js.map +1 -0
  562. package/dist/src/hooks/useCaptureRenderFrame.d.ts +3 -0
  563. package/dist/src/hooks/useCaptureRenderFrame.d.ts.map +1 -0
  564. package/dist/src/hooks/useCaptureRenderFrame.js +20 -0
  565. package/dist/src/hooks/useCaptureRenderFrame.js.map +1 -0
  566. package/dist/src/hooks/useClaude.d.ts +7 -0
  567. package/dist/src/hooks/useClaude.d.ts.map +1 -0
  568. package/dist/src/hooks/useClaude.js +7 -0
  569. package/dist/src/hooks/useClaude.js.map +1 -0
  570. package/dist/src/hooks/useCodex.d.ts +7 -0
  571. package/dist/src/hooks/useCodex.d.ts.map +1 -0
  572. package/dist/src/hooks/useCodex.js +7 -0
  573. package/dist/src/hooks/useCodex.js.map +1 -0
  574. package/dist/src/hooks/useHuman.d.ts +10 -0
  575. package/dist/src/hooks/useHuman.d.ts.map +1 -0
  576. package/dist/src/hooks/useHuman.js +47 -0
  577. package/dist/src/hooks/useHuman.js.map +1 -0
  578. package/dist/src/hooks/useHumanInteractive.d.ts +36 -0
  579. package/dist/src/hooks/useHumanInteractive.d.ts.map +1 -0
  580. package/dist/src/hooks/useHumanInteractive.js +184 -0
  581. package/dist/src/hooks/useHumanInteractive.js.map +1 -0
  582. package/dist/src/hooks/useRalphCount.d.ts +2 -0
  583. package/dist/src/hooks/useRalphCount.d.ts.map +1 -0
  584. package/dist/src/hooks/useRalphCount.js +9 -0
  585. package/dist/src/hooks/useRalphCount.js.map +1 -0
  586. package/dist/src/hooks/useReview.d.ts +8 -0
  587. package/dist/src/hooks/useReview.d.ts.map +1 -0
  588. package/dist/src/hooks/useReview.js +261 -0
  589. package/dist/src/hooks/useReview.js.map +1 -0
  590. package/dist/src/hooks/useSmithersSubagent.d.ts +13 -0
  591. package/dist/src/hooks/useSmithersSubagent.d.ts.map +1 -0
  592. package/dist/src/hooks/useSmithersSubagent.js +215 -0
  593. package/dist/src/hooks/useSmithersSubagent.js.map +1 -0
  594. package/dist/src/index.d.ts +12 -0
  595. package/dist/src/index.d.ts.map +1 -0
  596. package/dist/src/index.js +13 -11848
  597. package/dist/src/index.js.map +1 -0
  598. package/dist/src/jsx-runtime.d.ts +9 -0
  599. package/dist/src/jsx-runtime.d.ts.map +1 -0
  600. package/dist/src/jsx-runtime.js +8 -0
  601. package/dist/src/jsx-runtime.js.map +1 -0
  602. package/dist/src/middleware/compose.d.ts +3 -0
  603. package/dist/src/middleware/compose.d.ts.map +1 -0
  604. package/dist/src/middleware/compose.js +71 -0
  605. package/dist/src/middleware/compose.js.map +1 -0
  606. package/dist/src/middleware/create-transform-middleware.d.ts +5 -0
  607. package/dist/src/middleware/create-transform-middleware.d.ts.map +1 -0
  608. package/dist/src/middleware/create-transform-middleware.js +4 -0
  609. package/dist/src/middleware/create-transform-middleware.js.map +1 -0
  610. package/dist/src/middleware/extract-json.d.ts +6 -0
  611. package/dist/src/middleware/extract-json.d.ts.map +1 -0
  612. package/dist/src/middleware/extract-json.js +32 -0
  613. package/dist/src/middleware/extract-json.js.map +1 -0
  614. package/dist/src/middleware/extract-reasoning.d.ts +9 -0
  615. package/dist/src/middleware/extract-reasoning.d.ts.map +1 -0
  616. package/dist/src/middleware/extract-reasoning.js +25 -0
  617. package/dist/src/middleware/extract-reasoning.js.map +1 -0
  618. package/dist/src/middleware/index.d.ts +13 -0
  619. package/dist/src/middleware/index.d.ts.map +1 -0
  620. package/dist/src/middleware/index.js +7 -698
  621. package/dist/src/middleware/index.js.map +1 -0
  622. package/dist/src/middleware/retry.d.ts +11 -0
  623. package/dist/src/middleware/retry.d.ts.map +1 -0
  624. package/dist/src/middleware/retry.js +38 -0
  625. package/dist/src/middleware/retry.js.map +1 -0
  626. package/dist/src/middleware/types.d.ts +13 -0
  627. package/dist/src/middleware/types.d.ts.map +1 -0
  628. package/dist/src/middleware/types.js +2 -0
  629. package/dist/src/middleware/types.js.map +1 -0
  630. package/dist/src/middleware/validation.d.ts +11 -0
  631. package/dist/src/middleware/validation.d.ts.map +1 -0
  632. package/dist/src/middleware/validation.js +23 -0
  633. package/dist/src/middleware/validation.js.map +1 -0
  634. package/dist/src/monitor/haiku-summarizer.d.ts +26 -0
  635. package/dist/src/monitor/haiku-summarizer.d.ts.map +1 -0
  636. package/dist/src/monitor/haiku-summarizer.js +98 -0
  637. package/dist/src/monitor/haiku-summarizer.js.map +1 -0
  638. package/dist/src/monitor/index.d.ts +8 -0
  639. package/dist/src/monitor/index.d.ts.map +1 -0
  640. package/dist/src/monitor/index.js +5 -4388
  641. package/dist/src/monitor/index.js.map +1 -0
  642. package/dist/src/monitor/log-writer.d.ts +61 -0
  643. package/dist/src/monitor/log-writer.d.ts.map +1 -0
  644. package/dist/src/monitor/log-writer.js +281 -0
  645. package/dist/src/monitor/log-writer.js.map +1 -0
  646. package/dist/src/monitor/output-parser.d.ts +22 -0
  647. package/dist/src/monitor/output-parser.d.ts.map +1 -0
  648. package/dist/src/monitor/output-parser.js +106 -0
  649. package/dist/src/monitor/output-parser.js.map +1 -0
  650. package/dist/src/monitor/stream-formatter.d.ts +27 -0
  651. package/dist/src/monitor/stream-formatter.d.ts.map +1 -0
  652. package/dist/src/monitor/stream-formatter.js +147 -0
  653. package/dist/src/monitor/stream-formatter.js.map +1 -0
  654. package/dist/src/rate-limits/index.d.ts +8 -0
  655. package/dist/src/rate-limits/index.d.ts.map +1 -0
  656. package/dist/src/rate-limits/index.js +7 -4309
  657. package/dist/src/rate-limits/index.js.map +1 -0
  658. package/dist/src/rate-limits/middleware.d.ts +10 -0
  659. package/dist/src/rate-limits/middleware.d.ts.map +1 -0
  660. package/dist/src/rate-limits/middleware.js +18 -0
  661. package/dist/src/rate-limits/middleware.js.map +1 -0
  662. package/dist/src/rate-limits/monitor.d.ts +18 -0
  663. package/dist/src/rate-limits/monitor.d.ts.map +1 -0
  664. package/dist/src/rate-limits/monitor.js +116 -0
  665. package/dist/src/rate-limits/monitor.js.map +1 -0
  666. package/dist/src/rate-limits/providers/anthropic.d.ts +6 -0
  667. package/dist/src/rate-limits/providers/anthropic.d.ts.map +1 -0
  668. package/dist/src/rate-limits/providers/anthropic.js +58 -0
  669. package/dist/src/rate-limits/providers/anthropic.js.map +1 -0
  670. package/dist/src/rate-limits/providers/openai.d.ts +7 -0
  671. package/dist/src/rate-limits/providers/openai.d.ts.map +1 -0
  672. package/dist/src/rate-limits/providers/openai.js +84 -0
  673. package/dist/src/rate-limits/providers/openai.js.map +1 -0
  674. package/dist/src/rate-limits/store.d.ts +16 -0
  675. package/dist/src/rate-limits/store.d.ts.map +1 -0
  676. package/dist/src/rate-limits/store.js +65 -0
  677. package/dist/src/rate-limits/store.js.map +1 -0
  678. package/dist/src/rate-limits/throttle.d.ts +10 -0
  679. package/dist/src/rate-limits/throttle.d.ts.map +1 -0
  680. package/dist/src/rate-limits/throttle.js +52 -0
  681. package/dist/src/rate-limits/throttle.js.map +1 -0
  682. package/dist/src/rate-limits/types.d.ts +76 -0
  683. package/dist/src/rate-limits/types.d.ts.map +1 -0
  684. package/dist/src/rate-limits/types.js +2 -0
  685. package/dist/src/rate-limits/types.js.map +1 -0
  686. package/dist/src/reactive-sqlite/database.d.ts +113 -0
  687. package/dist/src/reactive-sqlite/database.d.ts.map +1 -0
  688. package/dist/src/reactive-sqlite/database.js +427 -0
  689. package/dist/src/reactive-sqlite/database.js.map +1 -0
  690. package/dist/src/reactive-sqlite/hooks/context.d.ts +59 -0
  691. package/dist/src/reactive-sqlite/hooks/context.d.ts.map +1 -0
  692. package/dist/src/reactive-sqlite/hooks/context.js +60 -0
  693. package/dist/src/reactive-sqlite/hooks/context.js.map +1 -0
  694. package/dist/src/reactive-sqlite/hooks/index.d.ts +12 -0
  695. package/dist/src/reactive-sqlite/hooks/index.d.ts.map +1 -0
  696. package/dist/src/reactive-sqlite/hooks/index.js +12 -0
  697. package/dist/src/reactive-sqlite/hooks/index.js.map +1 -0
  698. package/dist/src/reactive-sqlite/hooks/shared.d.ts +59 -0
  699. package/dist/src/reactive-sqlite/hooks/shared.d.ts.map +1 -0
  700. package/dist/src/reactive-sqlite/hooks/shared.js +142 -0
  701. package/dist/src/reactive-sqlite/hooks/shared.js.map +1 -0
  702. package/dist/src/reactive-sqlite/hooks/useMutation.d.ts +33 -0
  703. package/dist/src/reactive-sqlite/hooks/useMutation.d.ts.map +1 -0
  704. package/dist/src/reactive-sqlite/hooks/useMutation.js +88 -0
  705. package/dist/src/reactive-sqlite/hooks/useMutation.js.map +1 -0
  706. package/dist/src/reactive-sqlite/hooks/useQuery.d.ts +34 -0
  707. package/dist/src/reactive-sqlite/hooks/useQuery.d.ts.map +1 -0
  708. package/dist/src/reactive-sqlite/hooks/useQuery.js +115 -0
  709. package/dist/src/reactive-sqlite/hooks/useQuery.js.map +1 -0
  710. package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts +37 -0
  711. package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts.map +1 -0
  712. package/dist/src/reactive-sqlite/hooks/useQueryOne.js +44 -0
  713. package/dist/src/reactive-sqlite/hooks/useQueryOne.js.map +1 -0
  714. package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts +31 -0
  715. package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts.map +1 -0
  716. package/dist/src/reactive-sqlite/hooks/useQueryValue.js +40 -0
  717. package/dist/src/reactive-sqlite/hooks/useQueryValue.js.map +1 -0
  718. package/dist/src/reactive-sqlite/hooks.d.ts +7 -0
  719. package/dist/src/reactive-sqlite/hooks.d.ts.map +1 -0
  720. package/dist/src/reactive-sqlite/hooks.js +7 -0
  721. package/dist/src/reactive-sqlite/hooks.js.map +1 -0
  722. package/dist/src/reactive-sqlite/index.d.ts +38 -0
  723. package/dist/src/reactive-sqlite/index.d.ts.map +1 -0
  724. package/dist/src/reactive-sqlite/index.js +40 -765
  725. package/dist/src/reactive-sqlite/index.js.map +1 -0
  726. package/dist/src/reactive-sqlite/parser.d.ts +37 -0
  727. package/dist/src/reactive-sqlite/parser.d.ts.map +1 -0
  728. package/dist/src/reactive-sqlite/parser.js +267 -0
  729. package/dist/src/reactive-sqlite/parser.js.map +1 -0
  730. package/dist/src/reactive-sqlite/types.d.ts +64 -0
  731. package/dist/src/reactive-sqlite/types.d.ts.map +1 -0
  732. package/dist/src/reactive-sqlite/types.js +5 -0
  733. package/dist/src/reactive-sqlite/types.js.map +1 -0
  734. package/dist/src/reconciler/hooks.d.ts +17 -0
  735. package/dist/src/reconciler/hooks.d.ts.map +1 -0
  736. package/dist/src/reconciler/hooks.js +93 -0
  737. package/dist/src/reconciler/hooks.js.map +1 -0
  738. package/dist/src/reconciler/host-config.d.ts +7 -0
  739. package/dist/src/reconciler/host-config.d.ts.map +1 -0
  740. package/dist/src/reconciler/host-config.js +185 -0
  741. package/dist/src/reconciler/host-config.js.map +1 -0
  742. package/dist/src/reconciler/index.d.ts +9 -0
  743. package/dist/src/reconciler/index.d.ts.map +1 -0
  744. package/dist/src/reconciler/index.js +7 -1976
  745. package/dist/src/reconciler/index.js.map +1 -0
  746. package/dist/src/reconciler/jsx-runtime.d.ts +13 -0
  747. package/dist/src/reconciler/jsx-runtime.d.ts.map +1 -0
  748. package/dist/src/reconciler/jsx-runtime.js +21 -58
  749. package/dist/src/reconciler/jsx-runtime.js.map +1 -0
  750. package/dist/src/reconciler/methods.d.ts +15 -0
  751. package/dist/src/reconciler/methods.d.ts.map +1 -0
  752. package/dist/src/reconciler/methods.js +82 -0
  753. package/dist/src/reconciler/methods.js.map +1 -0
  754. package/dist/src/reconciler/root.d.ts +13 -0
  755. package/dist/src/reconciler/root.d.ts.map +1 -0
  756. package/dist/src/reconciler/root.js +138 -0
  757. package/dist/src/reconciler/root.js.map +1 -0
  758. package/dist/src/reconciler/serialize.d.ts +3 -0
  759. package/dist/src/reconciler/serialize.d.ts.map +1 -0
  760. package/dist/src/reconciler/serialize.js +161 -0
  761. package/dist/src/reconciler/serialize.js.map +1 -0
  762. package/dist/src/reconciler/types.d.ts +37 -0
  763. package/dist/src/reconciler/types.d.ts.map +1 -0
  764. package/dist/src/reconciler/types.js +2 -0
  765. package/dist/src/reconciler/types.js.map +1 -0
  766. package/dist/src/streaming/amp-parser.d.ts +8 -0
  767. package/dist/src/streaming/amp-parser.d.ts.map +1 -0
  768. package/dist/src/streaming/amp-parser.js +60 -0
  769. package/dist/src/streaming/amp-parser.js.map +1 -0
  770. package/dist/src/streaming/base-parser.d.ts +10 -0
  771. package/dist/src/streaming/base-parser.d.ts.map +1 -0
  772. package/dist/src/streaming/base-parser.js +43 -0
  773. package/dist/src/streaming/base-parser.js.map +1 -0
  774. package/dist/src/streaming/claude-parser.d.ts +19 -0
  775. package/dist/src/streaming/claude-parser.d.ts.map +1 -0
  776. package/dist/src/streaming/claude-parser.js +162 -0
  777. package/dist/src/streaming/claude-parser.js.map +1 -0
  778. package/dist/src/streaming/types.d.ts +12 -0
  779. package/dist/src/streaming/types.d.ts.map +1 -0
  780. package/dist/src/streaming/types.js +2 -0
  781. package/dist/src/streaming/types.js.map +1 -0
  782. package/dist/src/streaming/v3-compat.d.ts +96 -0
  783. package/dist/src/streaming/v3-compat.d.ts.map +1 -0
  784. package/dist/src/streaming/v3-compat.js +2 -0
  785. package/dist/src/streaming/v3-compat.js.map +1 -0
  786. package/dist/src/supersmithers/SuperSmithers.d.ts +4 -0
  787. package/dist/src/supersmithers/SuperSmithers.d.ts.map +1 -0
  788. package/dist/src/supersmithers/SuperSmithers.js +210 -0
  789. package/dist/src/supersmithers/SuperSmithers.js.map +1 -0
  790. package/dist/src/supersmithers/analyzer.d.ts +13 -0
  791. package/dist/src/supersmithers/analyzer.d.ts.map +1 -0
  792. package/dist/src/supersmithers/analyzer.js +122 -0
  793. package/dist/src/supersmithers/analyzer.js.map +1 -0
  794. package/dist/src/supersmithers/db.d.ts +39 -0
  795. package/dist/src/supersmithers/db.d.ts.map +1 -0
  796. package/dist/src/supersmithers/db.js +99 -0
  797. package/dist/src/supersmithers/db.js.map +1 -0
  798. package/dist/src/supersmithers/index.d.ts +9 -0
  799. package/dist/src/supersmithers/index.d.ts.map +1 -0
  800. package/dist/src/supersmithers/index.js +21 -0
  801. package/dist/src/supersmithers/index.js.map +1 -0
  802. package/dist/src/supersmithers/observer.d.ts +6 -0
  803. package/dist/src/supersmithers/observer.d.ts.map +1 -0
  804. package/dist/src/supersmithers/observer.js +100 -0
  805. package/dist/src/supersmithers/observer.js.map +1 -0
  806. package/dist/src/supersmithers/plugin.d.ts +2 -0
  807. package/dist/src/supersmithers/plugin.d.ts.map +1 -0
  808. package/dist/src/supersmithers/plugin.js +73 -0
  809. package/dist/src/supersmithers/plugin.js.map +1 -0
  810. package/dist/src/supersmithers/register.d.ts +3 -0
  811. package/dist/src/supersmithers/register.d.ts.map +1 -0
  812. package/dist/src/supersmithers/register.js +10 -0
  813. package/dist/src/supersmithers/register.js.map +1 -0
  814. package/dist/src/supersmithers/rewriter.d.ts +32 -0
  815. package/dist/src/supersmithers/rewriter.d.ts.map +1 -0
  816. package/dist/src/supersmithers/rewriter.js +189 -0
  817. package/dist/src/supersmithers/rewriter.js.map +1 -0
  818. package/dist/src/supersmithers/runtime.d.ts +45 -0
  819. package/dist/src/supersmithers/runtime.d.ts.map +1 -0
  820. package/dist/src/supersmithers/runtime.js +91 -0
  821. package/dist/src/supersmithers/runtime.js.map +1 -0
  822. package/dist/src/supersmithers/types.d.ts +98 -0
  823. package/dist/src/supersmithers/types.d.ts.map +1 -0
  824. package/dist/src/supersmithers/types.js +7 -0
  825. package/dist/src/supersmithers/types.js.map +1 -0
  826. package/dist/src/supersmithers/vcs.d.ts +13 -0
  827. package/dist/src/supersmithers/vcs.d.ts.map +1 -0
  828. package/dist/src/supersmithers/vcs.js +123 -0
  829. package/dist/src/supersmithers/vcs.js.map +1 -0
  830. package/dist/src/tools/ReportTool.d.ts +25 -0
  831. package/dist/src/tools/ReportTool.d.ts.map +1 -0
  832. package/dist/src/tools/ReportTool.js +104 -0
  833. package/dist/src/tools/ReportTool.js.map +1 -0
  834. package/dist/src/tools/createSmithersTool.d.ts +39 -0
  835. package/dist/src/tools/createSmithersTool.d.ts.map +1 -0
  836. package/dist/src/tools/createSmithersTool.js +81 -0
  837. package/dist/src/tools/createSmithersTool.js.map +1 -0
  838. package/dist/src/tools/index.d.ts +8 -0
  839. package/dist/src/tools/index.d.ts.map +1 -0
  840. package/dist/src/tools/index.js +7 -13875
  841. package/dist/src/tools/index.js.map +1 -0
  842. package/dist/src/tools/legacy-mcp-server.d.ts +17 -0
  843. package/dist/src/tools/legacy-mcp-server.d.ts.map +1 -0
  844. package/dist/src/tools/legacy-mcp-server.js +98 -0
  845. package/dist/src/tools/legacy-mcp-server.js.map +1 -0
  846. package/dist/src/tools/legacy-tool-ipc.d.ts +45 -0
  847. package/dist/src/tools/legacy-tool-ipc.d.ts.map +1 -0
  848. package/dist/src/tools/legacy-tool-ipc.js +173 -0
  849. package/dist/src/tools/legacy-tool-ipc.js.map +1 -0
  850. package/dist/src/tools/legacy-tool-server.d.ts +25 -0
  851. package/dist/src/tools/legacy-tool-server.d.ts.map +1 -0
  852. package/dist/src/tools/legacy-tool-server.js +34 -0
  853. package/dist/src/tools/legacy-tool-server.js.map +1 -0
  854. package/dist/src/tools/mcp-jsonrpc.d.ts +58 -0
  855. package/dist/src/tools/mcp-jsonrpc.d.ts.map +1 -0
  856. package/dist/src/tools/mcp-jsonrpc.js +145 -0
  857. package/dist/src/tools/mcp-jsonrpc.js.map +1 -0
  858. package/dist/src/tools/registry.d.ts +98 -0
  859. package/dist/src/tools/registry.d.ts.map +1 -0
  860. package/dist/src/tools/registry.js +119 -0
  861. package/dist/src/tools/registry.js.map +1 -0
  862. package/dist/src/tools/smithers-mcp-server.d.ts +16 -0
  863. package/dist/src/tools/smithers-mcp-server.d.ts.map +1 -0
  864. package/dist/src/tools/smithers-mcp-server.js +78 -0
  865. package/dist/src/tools/smithers-mcp-server.js.map +1 -0
  866. package/dist/src/tools/tool-to-mcp.d.ts +17 -0
  867. package/dist/src/tools/tool-to-mcp.d.ts.map +1 -0
  868. package/dist/src/tools/tool-to-mcp.js +35 -0
  869. package/dist/src/tools/tool-to-mcp.js.map +1 -0
  870. package/dist/src/tools/types.d.ts +54 -0
  871. package/dist/src/tools/types.d.ts.map +1 -0
  872. package/dist/src/tools/types.js +2 -0
  873. package/dist/src/tools/types.js.map +1 -0
  874. package/dist/src/transport/smithers-chat-transport.d.ts +55 -0
  875. package/dist/src/transport/smithers-chat-transport.d.ts.map +1 -0
  876. package/dist/src/transport/smithers-chat-transport.js +390 -0
  877. package/dist/src/transport/smithers-chat-transport.js.map +1 -0
  878. package/dist/src/transport/types.d.ts +49 -0
  879. package/dist/src/transport/types.d.ts.map +1 -0
  880. package/dist/src/transport/types.js +2 -0
  881. package/dist/src/transport/types.js.map +1 -0
  882. package/dist/src/tui/App.d.ts +16 -0
  883. package/dist/src/tui/App.d.ts.map +1 -0
  884. package/dist/src/tui/App.js +68 -0
  885. package/dist/src/tui/App.js.map +1 -0
  886. package/dist/src/tui/appNavigation.d.ts +22 -0
  887. package/dist/src/tui/appNavigation.d.ts.map +1 -0
  888. package/dist/src/tui/appNavigation.js +68 -0
  889. package/dist/src/tui/appNavigation.js.map +1 -0
  890. package/dist/src/tui/components/index.d.ts +4 -0
  891. package/dist/src/tui/components/index.d.ts.map +1 -0
  892. package/dist/src/tui/components/index.js +4 -0
  893. package/dist/src/tui/components/index.js.map +1 -0
  894. package/dist/src/tui/components/layout/Header.d.ts +6 -0
  895. package/dist/src/tui/components/layout/Header.d.ts.map +1 -0
  896. package/dist/src/tui/components/layout/Header.js +19 -0
  897. package/dist/src/tui/components/layout/Header.js.map +1 -0
  898. package/dist/src/tui/components/layout/StatusBar.d.ts +7 -0
  899. package/dist/src/tui/components/layout/StatusBar.d.ts.map +1 -0
  900. package/dist/src/tui/components/layout/StatusBar.js +17 -0
  901. package/dist/src/tui/components/layout/StatusBar.js.map +1 -0
  902. package/dist/src/tui/components/layout/TabBar.d.ts +8 -0
  903. package/dist/src/tui/components/layout/TabBar.d.ts.map +1 -0
  904. package/dist/src/tui/components/layout/TabBar.js +27 -0
  905. package/dist/src/tui/components/layout/TabBar.js.map +1 -0
  906. package/dist/src/tui/components/layout/index.d.ts +4 -0
  907. package/dist/src/tui/components/layout/index.d.ts.map +1 -0
  908. package/dist/src/tui/components/layout/index.js +4 -0
  909. package/dist/src/tui/components/layout/index.js.map +1 -0
  910. package/dist/src/tui/components/shared/ScrollableList.d.ts +20 -0
  911. package/dist/src/tui/components/shared/ScrollableList.d.ts.map +1 -0
  912. package/dist/src/tui/components/shared/ScrollableList.js +84 -0
  913. package/dist/src/tui/components/shared/ScrollableList.js.map +1 -0
  914. package/dist/src/tui/components/shared/XMLViewer.d.ts +7 -0
  915. package/dist/src/tui/components/shared/XMLViewer.d.ts.map +1 -0
  916. package/dist/src/tui/components/shared/XMLViewer.js +21 -0
  917. package/dist/src/tui/components/shared/XMLViewer.js.map +1 -0
  918. package/dist/src/tui/components/shared/index.d.ts +3 -0
  919. package/dist/src/tui/components/shared/index.d.ts.map +1 -0
  920. package/dist/src/tui/components/shared/index.js +3 -0
  921. package/dist/src/tui/components/shared/index.js.map +1 -0
  922. package/dist/src/tui/components/views/ChatInterface.d.ts +7 -0
  923. package/dist/src/tui/components/views/ChatInterface.d.ts.map +1 -0
  924. package/dist/src/tui/components/views/ChatInterface.js +43 -0
  925. package/dist/src/tui/components/views/ChatInterface.js.map +1 -0
  926. package/dist/src/tui/components/views/DatabaseExplorer.d.ts +7 -0
  927. package/dist/src/tui/components/views/DatabaseExplorer.d.ts.map +1 -0
  928. package/dist/src/tui/components/views/DatabaseExplorer.js +88 -0
  929. package/dist/src/tui/components/views/DatabaseExplorer.js.map +1 -0
  930. package/dist/src/tui/components/views/ExecutionTimeline.d.ts +7 -0
  931. package/dist/src/tui/components/views/ExecutionTimeline.d.ts.map +1 -0
  932. package/dist/src/tui/components/views/ExecutionTimeline.js +82 -0
  933. package/dist/src/tui/components/views/ExecutionTimeline.js.map +1 -0
  934. package/dist/src/tui/components/views/HumanInteractionHandler.d.ts +7 -0
  935. package/dist/src/tui/components/views/HumanInteractionHandler.d.ts.map +1 -0
  936. package/dist/src/tui/components/views/HumanInteractionHandler.js +77 -0
  937. package/dist/src/tui/components/views/HumanInteractionHandler.js.map +1 -0
  938. package/dist/src/tui/components/views/RenderFrameInspector.d.ts +7 -0
  939. package/dist/src/tui/components/views/RenderFrameInspector.d.ts.map +1 -0
  940. package/dist/src/tui/components/views/RenderFrameInspector.js +33 -0
  941. package/dist/src/tui/components/views/RenderFrameInspector.js.map +1 -0
  942. package/dist/src/tui/components/views/ReportViewer.d.ts +9 -0
  943. package/dist/src/tui/components/views/ReportViewer.d.ts.map +1 -0
  944. package/dist/src/tui/components/views/ReportViewer.js +66 -0
  945. package/dist/src/tui/components/views/ReportViewer.js.map +1 -0
  946. package/dist/src/tui/components/views/index.d.ts +7 -0
  947. package/dist/src/tui/components/views/index.d.ts.map +1 -0
  948. package/dist/src/tui/components/views/index.js +7 -0
  949. package/dist/src/tui/components/views/index.js.map +1 -0
  950. package/dist/src/tui/hooks/index.d.ts +8 -0
  951. package/dist/src/tui/hooks/index.d.ts.map +1 -0
  952. package/dist/src/tui/hooks/index.js +8 -0
  953. package/dist/src/tui/hooks/index.js.map +1 -0
  954. package/dist/src/tui/hooks/useClaudeChat.d.ts +16 -0
  955. package/dist/src/tui/hooks/useClaudeChat.d.ts.map +1 -0
  956. package/dist/src/tui/hooks/useClaudeChat.js +60 -0
  957. package/dist/src/tui/hooks/useClaudeChat.js.map +1 -0
  958. package/dist/src/tui/hooks/useHumanRequests.d.ts +13 -0
  959. package/dist/src/tui/hooks/useHumanRequests.d.ts.map +1 -0
  960. package/dist/src/tui/hooks/useHumanRequests.js +66 -0
  961. package/dist/src/tui/hooks/useHumanRequests.js.map +1 -0
  962. package/dist/src/tui/hooks/usePollEvents.d.ts +11 -0
  963. package/dist/src/tui/hooks/usePollEvents.d.ts.map +1 -0
  964. package/dist/src/tui/hooks/usePollEvents.js +56 -0
  965. package/dist/src/tui/hooks/usePollEvents.js.map +1 -0
  966. package/dist/src/tui/hooks/usePollTableData.d.ts +11 -0
  967. package/dist/src/tui/hooks/usePollTableData.d.ts.map +1 -0
  968. package/dist/src/tui/hooks/usePollTableData.js +46 -0
  969. package/dist/src/tui/hooks/usePollTableData.js.map +1 -0
  970. package/dist/src/tui/hooks/useRenderFrames.d.ts +15 -0
  971. package/dist/src/tui/hooks/useRenderFrames.d.ts.map +1 -0
  972. package/dist/src/tui/hooks/useRenderFrames.js +66 -0
  973. package/dist/src/tui/hooks/useRenderFrames.js.map +1 -0
  974. package/dist/src/tui/hooks/useReportGenerator.d.ts +10 -0
  975. package/dist/src/tui/hooks/useReportGenerator.d.ts.map +1 -0
  976. package/dist/src/tui/hooks/useReportGenerator.js +57 -0
  977. package/dist/src/tui/hooks/useReportGenerator.js.map +1 -0
  978. package/dist/src/tui/hooks/useSmithersConnection.d.ts +26 -0
  979. package/dist/src/tui/hooks/useSmithersConnection.d.ts.map +1 -0
  980. package/dist/src/tui/hooks/useSmithersConnection.js +78 -0
  981. package/dist/src/tui/hooks/useSmithersConnection.js.map +1 -0
  982. package/dist/src/tui/index.d.ts +5 -0
  983. package/dist/src/tui/index.d.ts.map +1 -0
  984. package/dist/src/tui/index.js +15 -0
  985. package/dist/src/tui/index.js.map +1 -0
  986. package/dist/src/tui/services/claude-assistant.d.ts +12 -0
  987. package/dist/src/tui/services/claude-assistant.d.ts.map +1 -0
  988. package/dist/src/tui/services/claude-assistant.js +82 -0
  989. package/dist/src/tui/services/claude-assistant.js.map +1 -0
  990. package/dist/src/tui/services/index.d.ts +3 -0
  991. package/dist/src/tui/services/index.d.ts.map +1 -0
  992. package/dist/src/tui/services/index.js +3 -0
  993. package/dist/src/tui/services/index.js.map +1 -0
  994. package/dist/src/tui/services/report-generator.d.ts +13 -0
  995. package/dist/src/tui/services/report-generator.d.ts.map +1 -0
  996. package/dist/src/tui/services/report-generator.js +135 -0
  997. package/dist/src/tui/services/report-generator.js.map +1 -0
  998. package/dist/src/tui/state.d.ts +5 -0
  999. package/dist/src/tui/state.d.ts.map +1 -0
  1000. package/dist/src/tui/state.js +41 -0
  1001. package/dist/src/tui/state.js.map +1 -0
  1002. package/dist/src/tui/test-utils.d.ts +11 -0
  1003. package/dist/src/tui/test-utils.d.ts.map +1 -0
  1004. package/dist/src/tui/test-utils.js +19 -0
  1005. package/dist/src/tui/test-utils.js.map +1 -0
  1006. package/dist/src/tui/utils/colors.d.ts +19 -0
  1007. package/dist/src/tui/utils/colors.d.ts.map +1 -0
  1008. package/dist/src/tui/utils/colors.js +33 -0
  1009. package/dist/src/tui/utils/colors.js.map +1 -0
  1010. package/dist/src/tui/utils/format.d.ts +6 -0
  1011. package/dist/src/tui/utils/format.d.ts.map +1 -0
  1012. package/dist/src/tui/utils/format.js +37 -0
  1013. package/dist/src/tui/utils/format.js.map +1 -0
  1014. package/dist/src/tui/utils/index.d.ts +3 -0
  1015. package/dist/src/tui/utils/index.d.ts.map +1 -0
  1016. package/dist/src/tui/utils/index.js +3 -0
  1017. package/dist/src/tui/utils/index.js.map +1 -0
  1018. package/dist/src/utils/capture.d.ts +59 -0
  1019. package/dist/src/utils/capture.d.ts.map +1 -0
  1020. package/dist/src/utils/capture.js +350 -0
  1021. package/dist/src/utils/capture.js.map +1 -0
  1022. package/dist/src/utils/extract-text.d.ts +3 -0
  1023. package/dist/src/utils/extract-text.d.ts.map +1 -0
  1024. package/dist/src/utils/extract-text.js +19 -0
  1025. package/dist/src/utils/extract-text.js.map +1 -0
  1026. package/dist/src/utils/mcp-config.d.ts +14 -0
  1027. package/dist/src/utils/mcp-config.d.ts.map +1 -0
  1028. package/dist/src/utils/mcp-config.js +111 -0
  1029. package/dist/src/utils/mcp-config.js.map +1 -0
  1030. package/dist/src/utils/progress-logger.d.ts +39 -0
  1031. package/dist/src/utils/progress-logger.d.ts.map +1 -0
  1032. package/dist/src/utils/progress-logger.js +125 -0
  1033. package/dist/src/utils/progress-logger.js.map +1 -0
  1034. package/dist/src/utils/scope.d.ts +4 -0
  1035. package/dist/src/utils/scope.d.ts.map +1 -0
  1036. package/dist/src/utils/scope.js +23 -0
  1037. package/dist/src/utils/scope.js.map +1 -0
  1038. package/dist/src/utils/structured-output/index.d.ts +5 -0
  1039. package/dist/src/utils/structured-output/index.d.ts.map +1 -0
  1040. package/dist/src/utils/structured-output/index.js +4 -0
  1041. package/dist/src/utils/structured-output/index.js.map +1 -0
  1042. package/dist/src/utils/structured-output/prompt-generator.d.ts +4 -0
  1043. package/dist/src/utils/structured-output/prompt-generator.d.ts.map +1 -0
  1044. package/dist/src/utils/structured-output/prompt-generator.js +31 -0
  1045. package/dist/src/utils/structured-output/prompt-generator.js.map +1 -0
  1046. package/dist/src/utils/structured-output/types.d.ts +13 -0
  1047. package/dist/src/utils/structured-output/types.d.ts.map +1 -0
  1048. package/dist/src/utils/structured-output/types.js +2 -0
  1049. package/dist/src/utils/structured-output/types.js.map +1 -0
  1050. package/dist/src/utils/structured-output/validator.d.ts +5 -0
  1051. package/dist/src/utils/structured-output/validator.d.ts.map +1 -0
  1052. package/dist/src/utils/structured-output/validator.js +115 -0
  1053. package/dist/src/utils/structured-output/validator.js.map +1 -0
  1054. package/dist/src/utils/structured-output/zod-converter.d.ts +5 -0
  1055. package/dist/src/utils/structured-output/zod-converter.d.ts.map +1 -0
  1056. package/dist/src/utils/structured-output/zod-converter.js +74 -0
  1057. package/dist/src/utils/structured-output/zod-converter.js.map +1 -0
  1058. package/dist/src/utils/structured-output.d.ts +2 -0
  1059. package/dist/src/utils/structured-output.d.ts.map +1 -0
  1060. package/dist/src/utils/structured-output.js +2 -0
  1061. package/dist/src/utils/structured-output.js.map +1 -0
  1062. package/dist/src/utils/vcs/git.d.ts +30 -0
  1063. package/dist/src/utils/vcs/git.d.ts.map +1 -0
  1064. package/dist/src/utils/vcs/git.js +226 -0
  1065. package/dist/src/utils/vcs/git.js.map +1 -0
  1066. package/dist/src/utils/vcs/index.d.ts +5 -0
  1067. package/dist/src/utils/vcs/index.d.ts.map +1 -0
  1068. package/dist/src/utils/vcs/index.js +7 -0
  1069. package/dist/src/utils/vcs/index.js.map +1 -0
  1070. package/dist/src/utils/vcs/jj.d.ts +19 -0
  1071. package/dist/src/utils/vcs/jj.d.ts.map +1 -0
  1072. package/dist/src/utils/vcs/jj.js +113 -0
  1073. package/dist/src/utils/vcs/jj.js.map +1 -0
  1074. package/dist/src/utils/vcs/parsers.d.ts +5 -0
  1075. package/dist/src/utils/vcs/parsers.d.ts.map +1 -0
  1076. package/dist/src/utils/vcs/parsers.js +62 -0
  1077. package/dist/src/utils/vcs/parsers.js.map +1 -0
  1078. package/dist/src/utils/vcs/types.d.ts +36 -0
  1079. package/dist/src/utils/vcs/types.d.ts.map +1 -0
  1080. package/dist/src/utils/vcs/types.js +2 -0
  1081. package/dist/src/utils/vcs/types.js.map +1 -0
  1082. package/dist/src/utils/vcs.d.ts +2 -0
  1083. package/dist/src/utils/vcs.d.ts.map +1 -0
  1084. package/dist/src/utils/vcs.js +2 -0
  1085. package/dist/src/utils/vcs.js.map +1 -0
  1086. package/opencode/agents/explorer.md +196 -0
  1087. package/opencode/agents/librarian.md +271 -0
  1088. package/opencode/agents/monitor.md +110 -0
  1089. package/opencode/agents/oracle.md +151 -0
  1090. package/opencode/agents/planner.md +122 -0
  1091. package/opencode/agents/smithers.md +144 -0
  1092. package/opencode/opencode.json +42 -0
  1093. package/opencode/plugins/smithers.ts +251 -0
  1094. package/package.json +13 -19
  1095. package/templates/SmithersDemo.tsx +327 -0
  1096. package/dist/src/hooks/ai-sdk.js +0 -27
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 William Cory
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,525 +2,219 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/smithers-orchestrator.svg)](https://www.npmjs.com/package/smithers-orchestrator)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue.svg)](https://www.typescriptlang.org/)
6
- [![Bun](https://img.shields.io/badge/Bun-1.0+-black.svg)](https://bun.sh/)
7
5
 
8
- **Let your agent write agents.**
6
+ **Ralph the plan, not the agent.**
9
7
 
10
- React-style orchestration your coding agent can generate, then run safely as durable Ralph loops.
8
+ **Status: Alpha - not ready for production use.**
11
9
 
12
- <!-- TODO: Add GIF demo -->
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).
13
11
 
14
- ![Smithers Demo](https://via.placeholder.com/800x400?text=Demo+GIF+Coming+Soon)
15
-
16
- ```
17
- ┌─────────────────────────────────────────────────────────────────────────────┐
18
- │ React tree ──▶ Smithers executor ──▶ Tools + Claude ──▶ SQLite DB │
19
- │ │
20
- │ "React syntax, non-UI renderer" │
21
- └─────────────────────────────────────────────────────────────────────────────┘
22
- ```
23
-
24
- - **Agent-native syntax** - Easy for Claude Code to generate, easy for humans to review
25
- - **Sophisticated loops** - Multi-phase, parallel agents, conditional branches
26
- - **Composable** - Build complex workflows from simple React components
27
-
28
- ---
29
-
30
- ## Table of Contents
31
-
32
- - [Why Smithers](#why-smithers)
33
- - [Getting Started](#getting-started)
34
- - [Starter Workflows](#starter-workflows)
35
- - [Features](#features)
36
- - [Claude Component](#claude-component)
37
- - [Sophisticated Ralph Loops](#sophisticated-ralph-loops)
38
- - [Structured Output with Zod](#structured-output-with-zod)
39
- - [MCP Tool Integration](#mcp-tool-integration)
40
- - [Smithers Subagent](#smithers-subagent)
41
- - [Git/JJ VCS Integration](#gitjj-vcs-integration)
42
- - [PhaseRegistry & Step](#phaseregistry--step)
43
- - [Parallel Execution](#parallel-execution)
44
- - [Database Persistence](#database-persistence)
45
- - [FAQ](#faq)
46
- - [Contributing](#contributing)
47
-
48
- ---
49
-
50
- ## Why Smithers
51
-
52
- ### The Problem
53
-
54
- Simple Ralph loops work great for basic iteration. But as workflows grow complex:
55
- - Multi-phase orchestration becomes hard to manage
56
- - Parallel agents need coordination
57
- - Plans live in prompts, not reviewable code
58
- - Manual orchestration doesn't scale
59
-
60
- ### The Solution
61
-
62
- Smithers uses React's component model + markup-like syntax to define execution plans. This isn't UI - it renders to **execution**.
63
-
64
- **One syntax both humans and agents can work with:**
65
- - You can read and review it
66
- - Claude Code can generate it reliably
67
- - Git can version it
68
-
69
- **Sophisticated Ralph loops that stay reliable:**
70
- - Multi-phase workflows with parallel agents
71
- - Conditional branches, phases, steps
72
- - Composable components you can reuse
73
- - Persist state and audit history when you need it
74
-
75
- ---
76
-
77
- ## Getting Started
78
-
79
- ### Prerequisites
80
-
81
- - **[Bun](https://bun.sh/)** v1.0+ (JavaScript runtime)
82
- - **[Claude Code](https://www.npmjs.com/package/@anthropic-ai/claude-code)** - `bun install -g @anthropic-ai/claude-code`
83
-
84
- ### Install
85
-
86
- ```bash
87
- bun add smithers-orchestrator
88
- ```
89
-
90
- ### Let Claude Write It
91
-
92
- **You don't have to write Smithers yourself.** Describe what you want:
93
-
94
- ```
95
- User: "Create a workflow that monitors my CI, fixes failures automatically,
96
- and escalates after 3 failed attempts"
97
-
98
- Claude: *generates ci-recovery.tsx*
99
- ```
100
-
101
- ### Run It
102
-
103
- ```bash
104
- bun my-workflow.tsx
105
- ```
106
-
107
- ### Inspect History
108
-
109
- ```bash
110
- smithers db executions # View execution history
111
- smithers db state --execution-id abc123 # Inspect specific run
112
- ```
113
-
114
- ---
115
-
116
- ## Starter Workflows
117
-
118
- ### 1. Night Shift: Run Until Tests Pass
119
-
120
- Goal: Keep iterating until all tests pass, with incremental commits.
12
+ Used to orchestrate coding agents that run for days, ship PRs autonomously, and self-heal when they fail.
121
13
 
122
14
  ```tsx
123
- #!/usr/bin/env bun
124
- import { createSmithersRoot, createSmithersDB, SmithersProvider, Claude } from "smithers-orchestrator";
125
-
126
- const db = await createSmithersDB({ path: ".smithers/night-shift" });
127
- const executionId = await db.execution.start("Night Shift", "night-shift.tsx");
128
-
129
- function NightShift() {
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() {
130
27
  return (
131
- <SmithersProvider db={db} executionId={executionId} maxIterations={50}>
132
- <Claude
133
- model="sonnet"
134
- onFinished={(result) => {
135
- if (result.output.includes("All tests pass")) {
136
- db.state.set("complete", "true");
137
- }
138
- }}
139
- >
140
- Run tests. If any fail, fix them and commit the fix. Repeat until all tests pass.
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.
141
31
  </Claude>
142
32
  </SmithersProvider>
143
33
  );
144
34
  }
145
35
 
146
36
  const root = createSmithersRoot();
147
- await root.mount(NightShift);
37
+ await root.mount(Demo);
148
38
  await db.close();
149
39
  ```
150
40
 
41
+ Run it and monitor the execution frame by frame:
42
+
151
43
  ```bash
152
- bun night-shift.tsx
44
+ smithers demo.tsx
153
45
  ```
154
46
 
155
- ### 2. PRD to Implementation
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.
156
48
 
157
- Goal: Plan, implement, test, produce PR summary.
49
+ By evolving a declarative plan rather than wiring up every agent interaction, Smithers excels at:
158
50
 
159
- ```tsx
160
- #!/usr/bin/env bun
161
- import { createSmithersRoot, createSmithersDB, SmithersProvider, Phase, Step, Claude } from "smithers-orchestrator";
51
+ 1. **One-time agents** that accomplish a task and discard
52
+ 2. **Long-running agents** that run for days or weeks
162
53
 
163
- const db = await createSmithersDB({ path: ".smithers/prd-impl" });
164
- const executionId = await db.execution.start("PRD Implementation", "prd-impl.tsx");
54
+ ---
165
55
 
166
- function PRDToImplementation() {
167
- return (
168
- <SmithersProvider db={db} executionId={executionId} maxIterations={20}>
169
- <Phase name="Plan">
170
- <Step name="analyze-prd">
171
- <Claude model="sonnet">
172
- Read PRD.md. Create implementation plan with acceptance criteria.
173
- </Claude>
174
- </Step>
175
- </Phase>
176
-
177
- <Phase name="Implement">
178
- <Step name="write-code">
179
- <Claude model="sonnet">
180
- Implement the plan. Commit after each logical unit of work.
181
- </Claude>
182
- </Step>
183
- <Step name="write-tests">
184
- <Claude model="sonnet">
185
- Write tests for the implementation. Ensure all pass.
186
- </Claude>
187
- </Step>
188
- </Phase>
189
-
190
- <Phase name="Summary">
191
- <Step name="pr-summary">
192
- <Claude model="sonnet">
193
- Generate PR summary with what changed and why.
194
- </Claude>
195
- </Step>
196
- </Phase>
197
- </SmithersProvider>
198
- );
199
- }
56
+ ## Core Idea
200
57
 
201
- const root = createSmithersRoot();
202
- await root.mount(PRDToImplementation);
203
- await db.close();
204
- ```
58
+ You program the **plan**, not the agents. The plan is real executable code: React components that declare what should happen.
205
59
 
206
- ### 3. Refactor with Checkpoints
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>` |
207
65
 
208
- Goal: Staged refactoring with checkpoints and rollback capability.
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.
209
67
 
210
- ```tsx
211
- #!/usr/bin/env bun
212
- import { createSmithersRoot, createSmithersDB, SmithersProvider, Phase, Step, Claude, Worktree } from "smithers-orchestrator";
68
+ What renders is the current state of the multi-agent setup as readable XML, with SQLite durably persisting state.
213
69
 
214
- const db = await createSmithersDB({ path: ".smithers/refactor" });
215
- const executionId = await db.execution.start("Refactor", "refactor.tsx");
70
+ Each iteration:
216
71
 
217
- function RefactorWorkflow() {
218
- return (
219
- <SmithersProvider db={db} executionId={executionId} maxIterations={30}>
220
- <Worktree branch="smithers/refactor" cleanup>
221
- <Phase name="Analyze">
222
- <Step name="identify-targets">
223
- <Claude model="sonnet">
224
- Identify code that needs refactoring. Create a prioritized list.
225
- </Claude>
226
- </Step>
227
- </Phase>
228
-
229
- <Phase name="Refactor">
230
- <Step name="refactor-code" snapshotBefore commitAfter>
231
- <Claude model="sonnet">
232
- Refactor each item. Run tests after each change. Commit if green.
233
- </Claude>
234
- </Step>
235
- </Phase>
236
-
237
- <Phase name="Verify">
238
- <Step name="final-check">
239
- <Claude model="sonnet">
240
- Run full test suite. Document all changes made.
241
- </Claude>
242
- </Step>
243
- </Phase>
244
- </Worktree>
245
- </SmithersProvider>
246
- );
247
- }
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
248
77
 
249
- const root = createSmithersRoot();
250
- await root.mount(RefactorWorkflow);
251
- await db.close();
252
- ```
78
+ The plan runs as deterministic code, but agents can read it to understand the larger context they're operating within.
79
+
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.
253
81
 
254
82
  ---
255
83
 
256
- ## Features
84
+ ## Why React?
257
85
 
258
- ### Claude Component
86
+ LLMs and humans perform well writing declarative React code. All coding agents can one-shot valid Smithers workflows naturally.
259
87
 
260
- The core agent component that executes Claude with full tool access:
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.
261
89
 
262
- ```tsx
263
- <Claude
264
- model="sonnet" // opus | sonnet | haiku
265
- maxTurns={10} // Limit agentic loops
266
- permissionMode="acceptEdits" // Auto-accept file edits
267
- systemPrompt="You are a senior engineer..."
268
- allowedTools={["Read", "Edit", "Bash"]}
269
- stopConditions={[
270
- { type: "token_limit", value: 50000 },
271
- { type: "pattern", value: /DONE/i },
272
- ]}
273
- onProgress={(msg) => console.log(msg)}
274
- onFinished={(result) => handleResult(result)}
275
- onError={(err) => handleError(err)}
276
- >
277
- Your prompt here
278
- </Claude>
279
- ```
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.
280
91
 
281
- ### Sophisticated Ralph Loops
92
+ React gives you:
282
93
 
283
- Ralphing = continuous agent iteration with verification gates. Smithers lets you build **complex** Ralph loops with structure:
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
284
98
 
285
- ```tsx
286
- <SmithersProvider db={db} executionId={executionId} maxIterations={50}>
287
- <Phase name="Implement">
288
- <Parallel>
289
- <Claude model="sonnet">Fix auth module</Claude>
290
- <Claude model="sonnet">Fix database module</Claude>
291
- </Parallel>
292
- </Phase>
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.
293
100
 
294
- <Phase name="Verify">
295
- <Claude
296
- model="sonnet"
297
- onFinished={(result) => {
298
- if (result.output.includes("All tests pass")) {
299
- db.state.set("complete", "true");
300
- }
301
- }}
302
- >
303
- Run tests. If failures, iterate.
304
- </Claude>
305
- </Phase>
306
- </SmithersProvider>
307
- ```
308
-
309
- **What Smithers adds:**
310
- - Multi-phase workflows with conditional transitions
311
- - Parallel agent execution with coordination
312
- - Composable, reusable components
313
- - Optional persistence for long-running workflows
101
+ ---
314
102
 
315
- ### Structured Output with Zod
103
+ ## Quick Examples
316
104
 
317
- Get typed, validated responses with automatic retry:
105
+ ### Sequential Phases
318
106
 
319
107
  ```tsx
320
- const UserSchema = z.object({
321
- name: z.string(),
322
- email: z.string().email(),
323
- })
324
-
325
- <Claude schema={UserSchema} schemaRetries={2}>
326
- Extract user info from: John Doe (john@example.com)
327
- </Claude>
328
- // result.structured: { name: string, email: string }
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>
329
121
  ```
330
122
 
331
- ### MCP Tool Integration
332
-
333
- Give Claude access to external tools via Model Context Protocol:
123
+ ### Parallel Agents
334
124
 
335
125
  ```tsx
336
- <Claude>
337
- <Sqlite path="./data.db" readOnly>
338
- Database schema: users(id, name, email), orders(id, user_id, total)
339
- </Sqlite>
340
- Generate a report of top customers by order value.
341
- </Claude>
126
+ <Parallel>
127
+ <Claude>Fix auth</Claude>
128
+ <Claude>Fix database</Claude>
129
+ <Claude>Fix API</Claude>
130
+ </Parallel>
342
131
  ```
343
132
 
344
- ### AI SDK Tool Format
345
-
346
- Define tools with Zod schemas and pass them to Claude:
133
+ ### Structured Output
347
134
 
348
135
  ```tsx
349
- import { z } from "zod";
350
- import { createSmithersTool } from "smithers-orchestrator/tools";
351
-
352
- const reportTool = createSmithersTool({
353
- name: "report",
354
- description: "Report progress to the orchestrator",
355
- inputSchema: z.object({
356
- message: z.string(),
357
- severity: z.enum(["info", "warning", "error"]).optional(),
358
- }),
359
- execute: async ({ message, severity }, { db }) => {
360
- await db.vcs.addReport({
361
- type: "progress",
362
- title: "Agent Report",
363
- content: message,
364
- severity: severity ?? "info",
365
- });
366
- return { success: true };
367
- },
136
+ const ReviewSchema = z.object({
137
+ approved: z.boolean(),
138
+ issues: z.array(z.string()),
368
139
  });
369
140
 
370
- <Claude tools={[reportTool]}>
371
- Report progress as you go.
372
- </Claude>
373
- ```
374
-
375
- ### Smithers Subagent
376
-
377
- Spawn a new Smithers instance to plan and execute complex subtasks:
378
-
379
- ```tsx
380
- <Smithers
381
- plannerModel="opus" // Model for planning the script
382
- executionModel="sonnet" // Model for agents in the script
383
- timeout={600000} // 10 minute timeout
384
- keepScript // Save the generated script for debugging
385
- >
386
- Create a new REST API endpoint with full CRUD operations, database migrations,
387
- and comprehensive test coverage.
388
- </Smithers>
141
+ <Claude schema={ReviewSchema}>Review the PR.</Claude>;
142
+ // result.structured: { approved: boolean, issues: string[] }
389
143
  ```
390
144
 
391
- ### Worktree
392
-
393
- Run agents in isolated git worktrees:
145
+ ### Worktree Isolation
394
146
 
395
147
  ```tsx
396
148
  <Worktree branch="feature-auth" cleanup>
397
- <Claude>Implement user authentication</Claude>
149
+ <Claude>Implement authentication</Claude>
398
150
  </Worktree>
399
151
  ```
400
152
 
401
- ### Git/JJ VCS Integration
402
-
403
- First-class version control support:
404
-
405
- ```tsx
406
- // Git
407
- <Commit message="feat: Add user auth" notes={{ smithers: true }} />
408
-
409
- // Jujutsu (jj)
410
- <Snapshot description="Before refactoring" />
411
- <Commit autoDescribe />
412
- ```
413
-
414
- ### Orchestration Lifecycle
415
-
416
- Global timeout and completion logic for workflows:
417
-
418
- ```tsx
419
- <Orchestration
420
- globalTimeout={3600000} // 1 hour max
421
- onComplete={() => console.log("Workflow finished")}
422
- onTimeout={() => console.log("Workflow timed out")}
423
- >
424
- {/* Your workflow components */}
425
- </Orchestration>
426
- ```
427
-
428
- ### PhaseRegistry & Step
429
-
430
- Manage multi-phase sequential execution:
431
-
432
- ```tsx
433
- <PhaseRegistry>
434
- <Phase name="implement">
435
- <Step name="write-code" snapshotBefore commitAfter commitMessage="feat: Implementation">
436
- <Claude>Implement the feature</Claude>
437
- </Step>
438
- <Step name="write-tests">
439
- <Claude>Write tests for the implementation</Claude>
440
- </Step>
441
- </Phase>
442
- <Phase name="review">
443
- <Review target={{ type: "diff", ref: "main" }} />
444
- </Phase>
445
- </PhaseRegistry>
446
- ```
447
-
448
- ### Parallel Execution
449
-
450
- Run multiple agents concurrently within a step:
451
-
452
- ```tsx
453
- <Parallel>
454
- <Claude model="haiku">Quick task 1</Claude>
455
- <Claude model="haiku">Quick task 2</Claude>
456
- <Claude model="haiku">Quick task 3</Claude>
457
- </Parallel>
458
- ```
153
+ ---
459
154
 
460
- ### Database Persistence
155
+ ## Persistence
461
156
 
462
- Every run is a "flight recorder" - all state persists in SQLite:
157
+ State lives in SQLite. Survives restarts.
463
158
 
464
159
  ```tsx
465
- // Set state (survives restarts)
466
- await db.state.set("phase", "review");
160
+ // Set state
161
+ db.state.set("phase", "review");
467
162
 
468
163
  // Get state
469
- const phase = await db.state.get("phase");
164
+ const phase = db.state.get("phase");
470
165
 
471
- // Query history - see how state evolved
472
- const history = await db.state.getHistory("phase");
473
-
474
- // Resume incomplete executions
475
- const incomplete = await db.execution.findIncomplete();
166
+ // Resume after crash
167
+ const incomplete = db.execution.findIncomplete();
476
168
  if (incomplete) {
477
- // Pick up exactly where you left off
478
169
  executionId = incomplete.id;
479
170
  }
480
171
  ```
481
172
 
482
- ```bash
483
- # Inspect from CLI
484
- smithers db executions # List all runs
485
- smithers db state --execution-id abc123 # See state for a run
486
- smithers db stats # Database statistics
487
- ```
488
-
489
173
  ---
490
174
 
491
- ## FAQ
175
+ ## Observability
492
176
 
493
- ### Is this actually React? Do I need to run a UI?
177
+ The React tree is the observability. What you write is what gets logged.
494
178
 
495
- No UI. React is a component model + markup-like syntax. People already use it to render to non-DOM targets (CLI, PDFs, native). Smithers renders to **execution**, not DOM.
179
+ ```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>
188
+ ```
496
189
 
497
- ### Why not YAML/JSON for workflows?
190
+ SQLite stores every frame. Use version control to rewind.
498
191
 
499
- Because you want:
500
- - Composition and reuse
501
- - Version control diffs that make sense
502
- - Something your coding agent can generate AND you can review like normal code
503
-
504
- ### How does this relate to Ralphing?
192
+ ---
505
193
 
506
- Ralphing is the outer loop (iterate until verification passes). Smithers gives it structure, persistence, and inspectability. Think: "Smithers productionizes Ralph loops."
194
+ ## Install
507
195
 
508
- ### What's a Ralph loop?
196
+ ```bash
197
+ bun add -g smithers-orchestrator
198
+ ```
509
199
 
510
- From [vercel-labs/ralph-loop-agent](https://github.com/vercel-labs/ralph-loop-agent): continuous autonomy where the agent loops until the task is actually done, with verification gates (tests/linters). Smithers makes these loops durable.
200
+ This installs the `smithers` CLI globally. Requires [Bun](https://bun.sh/) 1.0+.
511
201
 
512
- ---
202
+ Or install the Claude Code plugin:
513
203
 
514
- ## Contributing
204
+ ```
205
+ /plugin add evmts/smithers
206
+ ```
515
207
 
516
- We accept **vibe-coded contributions** as long as you include your original prompt in a git note:
208
+ ---
517
209
 
518
- ```bash
519
- git notes add -m "User prompt: <your prompt here>"
520
- ```
210
+ ## Roadmap
521
211
 
522
- See [CONTRIBUTING.md](./CONTRIBUTING.md) for details.
212
+ **North Star: SuperSmithers**: A meta-agent that watches your agents and rewrites their code to optimize. The architecture is ready. Coming soon.
523
213
 
524
214
  ---
525
215
 
526
- **Let your agent write agents. Built with React, powered by Claude.**
216
+ ## More
217
+
218
+ - [Documentation](https://smithers.sh)
219
+ - [Examples](./examples)
220
+ - [Contributing](./CONTRIBUTING.md)