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.
- package/LICENSE +21 -0
- package/README.md +125 -431
- package/bunfig.toml +11 -1
- package/dist/bin/cli.js +59139 -57762
- package/dist/src/commands/cli-utils.d.ts +12 -0
- package/dist/src/commands/cli-utils.d.ts.map +1 -0
- package/dist/src/commands/cli-utils.js +52 -0
- package/dist/src/commands/cli-utils.js.map +1 -0
- package/dist/src/commands/db/current-view.d.ts +3 -0
- package/dist/src/commands/db/current-view.d.ts.map +1 -0
- package/dist/src/commands/db/current-view.js +44 -0
- package/dist/src/commands/db/current-view.js.map +1 -0
- package/dist/src/commands/db/execution-view.d.ts +3 -0
- package/dist/src/commands/db/execution-view.d.ts.map +1 -0
- package/dist/src/commands/db/execution-view.js +89 -0
- package/dist/src/commands/db/execution-view.js.map +1 -0
- package/dist/src/commands/db/executions-view.d.ts +3 -0
- package/dist/src/commands/db/executions-view.d.ts.map +1 -0
- package/dist/src/commands/db/executions-view.js +34 -0
- package/dist/src/commands/db/executions-view.js.map +1 -0
- package/dist/src/commands/db/help.d.ts +2 -0
- package/dist/src/commands/db/help.d.ts.map +1 -0
- package/dist/src/commands/db/help.js +19 -0
- package/dist/src/commands/db/help.js.map +1 -0
- package/dist/src/commands/db/index.d.ts +15 -0
- package/dist/src/commands/db/index.d.ts.map +1 -0
- package/dist/src/commands/db/index.js +83 -0
- package/dist/src/commands/db/index.js.map +1 -0
- package/dist/src/commands/db/memories-view.d.ts +3 -0
- package/dist/src/commands/db/memories-view.d.ts.map +1 -0
- package/dist/src/commands/db/memories-view.js +30 -0
- package/dist/src/commands/db/memories-view.js.map +1 -0
- package/dist/src/commands/db/recovery-view.d.ts +3 -0
- package/dist/src/commands/db/recovery-view.d.ts.map +1 -0
- package/dist/src/commands/db/recovery-view.js +36 -0
- package/dist/src/commands/db/recovery-view.js.map +1 -0
- package/dist/src/commands/db/state-view.d.ts +3 -0
- package/dist/src/commands/db/state-view.d.ts.map +1 -0
- package/dist/src/commands/db/state-view.js +37 -0
- package/dist/src/commands/db/state-view.js.map +1 -0
- package/dist/src/commands/db/stats-view.d.ts +3 -0
- package/dist/src/commands/db/stats-view.d.ts.map +1 -0
- package/dist/src/commands/db/stats-view.js +23 -0
- package/dist/src/commands/db/stats-view.js.map +1 -0
- package/dist/src/commands/db/transitions-view.d.ts +3 -0
- package/dist/src/commands/db/transitions-view.d.ts.map +1 -0
- package/dist/src/commands/db/transitions-view.js +22 -0
- package/dist/src/commands/db/transitions-view.js.map +1 -0
- package/dist/src/commands/db/view-utils.d.ts +9 -0
- package/dist/src/commands/db/view-utils.d.ts.map +1 -0
- package/dist/src/commands/db/view-utils.js +29 -0
- package/dist/src/commands/db/view-utils.js.map +1 -0
- package/dist/src/commands/db.d.ts +2 -0
- package/dist/src/commands/db.d.ts.map +1 -0
- package/dist/src/commands/db.js +2 -0
- package/dist/src/commands/db.js.map +1 -0
- package/dist/src/commands/demo.d.ts +2 -0
- package/dist/src/commands/demo.d.ts.map +1 -0
- package/dist/src/commands/demo.js +45 -0
- package/dist/src/commands/demo.js.map +1 -0
- package/dist/src/commands/init.d.ts +14 -0
- package/dist/src/commands/init.d.ts.map +1 -0
- package/dist/src/commands/init.js +124 -0
- package/dist/src/commands/init.js.map +1 -0
- package/dist/src/commands/monitor.d.ts +14 -0
- package/dist/src/commands/monitor.d.ts.map +1 -0
- package/dist/src/commands/monitor.js +140 -0
- package/dist/src/commands/monitor.js.map +1 -0
- package/dist/src/commands/run.d.ts +13 -0
- package/dist/src/commands/run.d.ts.map +1 -0
- package/dist/src/commands/run.js +62 -0
- package/dist/src/commands/run.js.map +1 -0
- package/dist/src/commands/test-utils.d.ts +3 -0
- package/dist/src/commands/test-utils.d.ts.map +1 -0
- package/dist/src/commands/test-utils.js +14 -0
- package/dist/src/commands/test-utils.js.map +1 -0
- package/dist/src/commands/upgrade.d.ts +21 -0
- package/dist/src/commands/upgrade.d.ts.map +1 -0
- package/dist/src/commands/upgrade.js +78 -0
- package/dist/src/commands/upgrade.js.map +1 -0
- package/dist/src/components/AgentRenderer.d.ts +32 -0
- package/dist/src/components/AgentRenderer.d.ts.map +1 -0
- package/dist/src/components/AgentRenderer.js +30 -0
- package/dist/src/components/AgentRenderer.js.map +1 -0
- package/dist/src/components/Amp.d.ts +6 -0
- package/dist/src/components/Amp.d.ts.map +1 -0
- package/dist/src/components/Amp.js +9 -0
- package/dist/src/components/Amp.js.map +1 -0
- package/dist/src/components/Claude.d.ts +6 -0
- package/dist/src/components/Claude.d.ts.map +1 -0
- package/dist/src/components/Claude.js +9 -0
- package/dist/src/components/Claude.js.map +1 -0
- package/dist/src/components/ClaudeApi.d.ts +12 -0
- package/dist/src/components/ClaudeApi.d.ts.map +1 -0
- package/dist/src/components/ClaudeApi.js +5 -0
- package/dist/src/components/ClaudeApi.js.map +1 -0
- package/dist/src/components/Codex.d.ts +6 -0
- package/dist/src/components/Codex.d.ts.map +1 -0
- package/dist/src/components/Codex.js +9 -0
- package/dist/src/components/Codex.js.map +1 -0
- package/dist/src/components/Command.d.ts +36 -0
- package/dist/src/components/Command.d.ts.map +1 -0
- package/dist/src/components/Command.js +186 -0
- package/dist/src/components/Command.js.map +1 -0
- package/dist/src/components/Constraints.d.ts +6 -0
- package/dist/src/components/Constraints.d.ts.map +1 -0
- package/dist/src/components/Constraints.js +5 -0
- package/dist/src/components/Constraints.js.map +1 -0
- package/dist/src/components/Each.d.ts +7 -0
- package/dist/src/components/Each.d.ts.map +1 -0
- package/dist/src/components/Each.js +5 -0
- package/dist/src/components/Each.js.map +1 -0
- package/dist/src/components/End.d.ts +22 -0
- package/dist/src/components/End.d.ts.map +1 -0
- package/dist/src/components/End.js +63 -0
- package/dist/src/components/End.js.map +1 -0
- package/dist/src/components/ExecutionContext.d.ts +11 -0
- package/dist/src/components/ExecutionContext.d.ts.map +1 -0
- package/dist/src/components/ExecutionContext.js +16 -0
- package/dist/src/components/ExecutionContext.js.map +1 -0
- package/dist/src/components/ExecutionScope.d.ts +14 -0
- package/dist/src/components/ExecutionScope.d.ts.map +1 -0
- package/dist/src/components/ExecutionScope.js +21 -0
- package/dist/src/components/ExecutionScope.js.map +1 -0
- package/dist/src/components/Git/Commit.d.ts +32 -0
- package/dist/src/components/Git/Commit.d.ts.map +1 -0
- package/dist/src/components/Git/Commit.js +112 -0
- package/dist/src/components/Git/Commit.js.map +1 -0
- package/dist/src/components/Git/Notes.d.ts +24 -0
- package/dist/src/components/Git/Notes.d.ts.map +1 -0
- package/dist/src/components/Git/Notes.js +46 -0
- package/dist/src/components/Git/Notes.js.map +1 -0
- package/dist/src/components/Git/index.d.ts +4 -0
- package/dist/src/components/Git/index.d.ts.map +1 -0
- package/dist/src/components/Git/index.js +4 -1697
- package/dist/src/components/Git/index.js.map +1 -0
- package/dist/src/components/Git/useGitOperation.d.ts +16 -0
- package/dist/src/components/Git/useGitOperation.d.ts.map +1 -0
- package/dist/src/components/Git/useGitOperation.js +5 -0
- package/dist/src/components/Git/useGitOperation.js.map +1 -0
- package/dist/src/components/Hooks/OnCIFailure.d.ts +33 -0
- package/dist/src/components/Hooks/OnCIFailure.d.ts.map +1 -0
- package/dist/src/components/Hooks/OnCIFailure.js +176 -0
- package/dist/src/components/Hooks/OnCIFailure.js.map +1 -0
- package/dist/src/components/Hooks/PostCommit.d.ts +16 -0
- package/dist/src/components/Hooks/PostCommit.d.ts.map +1 -0
- package/dist/src/components/Hooks/PostCommit.js +153 -0
- package/dist/src/components/Hooks/PostCommit.js.map +1 -0
- package/dist/src/components/Hooks/index.d.ts +4 -0
- package/dist/src/components/Hooks/index.d.ts.map +1 -0
- package/dist/src/components/Hooks/index.js +4 -1718
- package/dist/src/components/Hooks/index.js.map +1 -0
- package/dist/src/components/Hooks/usePollingHook.d.ts +16 -0
- package/dist/src/components/Hooks/usePollingHook.d.ts.map +1 -0
- package/dist/src/components/Hooks/usePollingHook.js +63 -0
- package/dist/src/components/Hooks/usePollingHook.js.map +1 -0
- package/dist/src/components/Human.d.ts +10 -0
- package/dist/src/components/Human.d.ts.map +1 -0
- package/dist/src/components/Human.js +58 -0
- package/dist/src/components/Human.js.map +1 -0
- package/dist/src/components/If.d.ts +7 -0
- package/dist/src/components/If.d.ts.map +1 -0
- package/dist/src/components/If.js +4 -0
- package/dist/src/components/If.js.map +1 -0
- package/dist/src/components/JJ/Commit.d.ts +10 -0
- package/dist/src/components/JJ/Commit.d.ts.map +1 -0
- package/dist/src/components/JJ/Commit.js +49 -0
- package/dist/src/components/JJ/Commit.js.map +1 -0
- package/dist/src/components/JJ/Describe.d.ts +9 -0
- package/dist/src/components/JJ/Describe.d.ts.map +1 -0
- package/dist/src/components/JJ/Describe.js +37 -0
- package/dist/src/components/JJ/Describe.js.map +1 -0
- package/dist/src/components/JJ/Rebase.d.ts +10 -0
- package/dist/src/components/JJ/Rebase.d.ts.map +1 -0
- package/dist/src/components/JJ/Rebase.js +102 -0
- package/dist/src/components/JJ/Rebase.js.map +1 -0
- package/dist/src/components/JJ/Snapshot.d.ts +8 -0
- package/dist/src/components/JJ/Snapshot.d.ts.map +1 -0
- package/dist/src/components/JJ/Snapshot.js +34 -0
- package/dist/src/components/JJ/Snapshot.js.map +1 -0
- package/dist/src/components/JJ/Status.d.ts +13 -0
- package/dist/src/components/JJ/Status.d.ts.map +1 -0
- package/dist/src/components/JJ/Status.js +48 -0
- package/dist/src/components/JJ/Status.js.map +1 -0
- package/dist/src/components/JJ/index.d.ts +8 -0
- package/dist/src/components/JJ/index.d.ts.map +1 -0
- package/dist/src/components/JJ/index.js +8 -1859
- package/dist/src/components/JJ/index.js.map +1 -0
- package/dist/src/components/JJ/useJJOperation.d.ts +16 -0
- package/dist/src/components/JJ/useJJOperation.d.ts.map +1 -0
- package/dist/src/components/JJ/useJJOperation.js +5 -0
- package/dist/src/components/JJ/useJJOperation.js.map +1 -0
- package/dist/src/components/MCP/Sqlite.d.ts +11 -0
- package/dist/src/components/MCP/Sqlite.d.ts.map +1 -0
- package/dist/src/components/MCP/Sqlite.js +9 -0
- package/dist/src/components/MCP/Sqlite.js.map +1 -0
- package/dist/src/components/MCP/index.d.ts +2 -0
- package/dist/src/components/MCP/index.d.ts.map +1 -0
- package/dist/src/components/MCP/index.js +2 -44
- package/dist/src/components/MCP/index.js.map +1 -0
- package/dist/src/components/OrchestrationController.d.ts +13 -0
- package/dist/src/components/OrchestrationController.d.ts.map +1 -0
- package/dist/src/components/OrchestrationController.js +28 -0
- package/dist/src/components/OrchestrationController.js.map +1 -0
- package/dist/src/components/Parallel.d.ts +6 -0
- package/dist/src/components/Parallel.d.ts.map +1 -0
- package/dist/src/components/Parallel.js +37 -0
- package/dist/src/components/Parallel.js.map +1 -0
- package/dist/src/components/Persona.d.ts +7 -0
- package/dist/src/components/Persona.d.ts.map +1 -0
- package/dist/src/components/Persona.js +5 -0
- package/dist/src/components/Persona.js.map +1 -0
- package/dist/src/components/Phase.d.ts +10 -0
- package/dist/src/components/Phase.d.ts.map +1 -0
- package/dist/src/components/Phase.js +99 -0
- package/dist/src/components/Phase.js.map +1 -0
- package/dist/src/components/PhaseContext.d.ts +6 -0
- package/dist/src/components/PhaseContext.d.ts.map +1 -0
- package/dist/src/components/PhaseContext.js +6 -0
- package/dist/src/components/PhaseContext.js.map +1 -0
- package/dist/src/components/PhaseRegistry.d.ts +16 -0
- package/dist/src/components/PhaseRegistry.d.ts.map +1 -0
- package/dist/src/components/PhaseRegistry.js +100 -0
- package/dist/src/components/PhaseRegistry.js.map +1 -0
- package/dist/src/components/Ralph.d.ts +7 -0
- package/dist/src/components/Ralph.d.ts.map +1 -0
- package/dist/src/components/Ralph.js +7 -0
- package/dist/src/components/Ralph.js.map +1 -0
- package/dist/src/components/Review/Review.d.ts +4 -0
- package/dist/src/components/Review/Review.d.ts.map +1 -0
- package/dist/src/components/Review/Review.js +7 -0
- package/dist/src/components/Review/Review.js.map +1 -0
- package/dist/src/components/Review/index.d.ts +3 -0
- package/dist/src/components/Review/index.d.ts.map +1 -0
- package/dist/src/components/Review/index.js +2 -0
- package/dist/src/components/Review/index.js.map +1 -0
- package/dist/src/components/Review/types.d.ts +49 -0
- package/dist/src/components/Review/types.d.ts.map +1 -0
- package/dist/src/components/Review/types.js +2 -0
- package/dist/src/components/Review/types.js.map +1 -0
- package/dist/src/components/Review.d.ts +3 -0
- package/dist/src/components/Review.d.ts.map +1 -0
- package/dist/src/components/Review.js +2 -0
- package/dist/src/components/Review.js.map +1 -0
- package/dist/src/components/Smithers.d.ts +71 -0
- package/dist/src/components/Smithers.d.ts.map +1 -0
- package/dist/src/components/Smithers.js +8 -0
- package/dist/src/components/Smithers.js.map +1 -0
- package/dist/src/components/SmithersProvider.d.ts +50 -0
- package/dist/src/components/SmithersProvider.d.ts.map +1 -0
- package/dist/src/components/SmithersProvider.js +177 -0
- package/dist/src/components/SmithersProvider.js.map +1 -0
- package/dist/src/components/Step.d.ts +15 -0
- package/dist/src/components/Step.d.ts.map +1 -0
- package/dist/src/components/Step.js +211 -0
- package/dist/src/components/Step.js.map +1 -0
- package/dist/src/components/StepContext.d.ts +6 -0
- package/dist/src/components/StepContext.d.ts.map +1 -0
- package/dist/src/components/StepContext.js +6 -0
- package/dist/src/components/StepContext.js.map +1 -0
- package/dist/src/components/StepRegistryProvider.d.ts +23 -0
- package/dist/src/components/StepRegistryProvider.d.ts.map +1 -0
- package/dist/src/components/StepRegistryProvider.js +135 -0
- package/dist/src/components/StepRegistryProvider.js.map +1 -0
- package/dist/src/components/Stop.d.ts +7 -0
- package/dist/src/components/Stop.d.ts.map +1 -0
- package/dist/src/components/Stop.js +11 -0
- package/dist/src/components/Stop.js.map +1 -0
- package/dist/src/components/StopConditionEvaluator.d.ts +35 -0
- package/dist/src/components/StopConditionEvaluator.d.ts.map +1 -0
- package/dist/src/components/StopConditionEvaluator.js +36 -0
- package/dist/src/components/StopConditionEvaluator.js.map +1 -0
- package/dist/src/components/Subagent.d.ts +8 -0
- package/dist/src/components/Subagent.d.ts.map +1 -0
- package/dist/src/components/Subagent.js +5 -0
- package/dist/src/components/Subagent.js.map +1 -0
- package/dist/src/components/Switch.d.ts +19 -0
- package/dist/src/components/Switch.d.ts.map +1 -0
- package/dist/src/components/Switch.js +72 -0
- package/dist/src/components/Switch.js.map +1 -0
- package/dist/src/components/Task.d.ts +7 -0
- package/dist/src/components/Task.d.ts.map +1 -0
- package/dist/src/components/Task.js +5 -0
- package/dist/src/components/Task.js.map +1 -0
- package/dist/src/components/TaskCompletionTracker.d.ts +13 -0
- package/dist/src/components/TaskCompletionTracker.d.ts.map +1 -0
- package/dist/src/components/TaskCompletionTracker.js +54 -0
- package/dist/src/components/TaskCompletionTracker.js.map +1 -0
- package/dist/src/components/VCS/useVcsOperation.d.ts +28 -0
- package/dist/src/components/VCS/useVcsOperation.d.ts.map +1 -0
- package/dist/src/components/VCS/useVcsOperation.js +54 -0
- package/dist/src/components/VCS/useVcsOperation.js.map +1 -0
- package/dist/src/components/While.d.ts +21 -0
- package/dist/src/components/While.d.ts.map +1 -0
- package/dist/src/components/While.js +94 -0
- package/dist/src/components/While.js.map +1 -0
- package/dist/src/components/Worktree.d.ts +17 -0
- package/dist/src/components/Worktree.d.ts.map +1 -0
- package/dist/src/components/Worktree.js +103 -0
- package/dist/src/components/Worktree.js.map +1 -0
- package/dist/src/components/WorktreeProvider.d.ts +12 -0
- package/dist/src/components/WorktreeProvider.d.ts.map +1 -0
- package/dist/src/components/WorktreeProvider.js +10 -0
- package/dist/src/components/WorktreeProvider.js.map +1 -0
- package/dist/src/components/agents/ClaudeCodeCLI.d.ts +3 -0
- package/dist/src/components/agents/ClaudeCodeCLI.d.ts.map +1 -0
- package/dist/src/components/agents/ClaudeCodeCLI.js +10 -0
- package/dist/src/components/agents/ClaudeCodeCLI.js.map +1 -0
- package/dist/src/components/agents/SmithersCLI.d.ts +69 -0
- package/dist/src/components/agents/SmithersCLI.d.ts.map +1 -0
- package/dist/src/components/agents/SmithersCLI.js +254 -0
- package/dist/src/components/agents/SmithersCLI.js.map +1 -0
- package/dist/src/components/agents/amp-cli/arg-builder.d.ts +14 -0
- package/dist/src/components/agents/amp-cli/arg-builder.d.ts.map +1 -0
- package/dist/src/components/agents/amp-cli/arg-builder.js +62 -0
- package/dist/src/components/agents/amp-cli/arg-builder.js.map +1 -0
- package/dist/src/components/agents/amp-cli/executor.d.ts +4 -0
- package/dist/src/components/agents/amp-cli/executor.d.ts.map +1 -0
- package/dist/src/components/agents/amp-cli/executor.js +114 -0
- package/dist/src/components/agents/amp-cli/executor.js.map +1 -0
- package/dist/src/components/agents/amp-cli/index.d.ts +4 -0
- package/dist/src/components/agents/amp-cli/index.d.ts.map +1 -0
- package/dist/src/components/agents/amp-cli/index.js +4 -0
- package/dist/src/components/agents/amp-cli/index.js.map +1 -0
- package/dist/src/components/agents/amp-cli/output-parser.d.ts +32 -0
- package/dist/src/components/agents/amp-cli/output-parser.d.ts.map +1 -0
- package/dist/src/components/agents/amp-cli/output-parser.js +197 -0
- package/dist/src/components/agents/amp-cli/output-parser.js.map +1 -0
- package/dist/src/components/agents/claude-cli/arg-builder.d.ts +15 -0
- package/dist/src/components/agents/claude-cli/arg-builder.d.ts.map +1 -0
- package/dist/src/components/agents/claude-cli/arg-builder.js +87 -0
- package/dist/src/components/agents/claude-cli/arg-builder.js.map +1 -0
- package/dist/src/components/agents/claude-cli/executor.d.ts +11 -0
- package/dist/src/components/agents/claude-cli/executor.d.ts.map +1 -0
- package/dist/src/components/agents/claude-cli/executor.js +209 -0
- package/dist/src/components/agents/claude-cli/executor.js.map +1 -0
- package/dist/src/components/agents/claude-cli/index.d.ts +6 -0
- package/dist/src/components/agents/claude-cli/index.d.ts.map +1 -0
- package/dist/src/components/agents/claude-cli/index.js +5 -0
- package/dist/src/components/agents/claude-cli/index.js.map +1 -0
- package/dist/src/components/agents/claude-cli/message-parser.d.ts +33 -0
- package/dist/src/components/agents/claude-cli/message-parser.d.ts.map +1 -0
- package/dist/src/components/agents/claude-cli/message-parser.js +152 -0
- package/dist/src/components/agents/claude-cli/message-parser.js.map +1 -0
- package/dist/src/components/agents/claude-cli/output-parser.d.ts +18 -0
- package/dist/src/components/agents/claude-cli/output-parser.d.ts.map +1 -0
- package/dist/src/components/agents/claude-cli/output-parser.js +142 -0
- package/dist/src/components/agents/claude-cli/output-parser.js.map +1 -0
- package/dist/src/components/agents/claude-cli/stop-conditions.d.ts +9 -0
- package/dist/src/components/agents/claude-cli/stop-conditions.d.ts.map +1 -0
- package/dist/src/components/agents/claude-cli/stop-conditions.js +77 -0
- package/dist/src/components/agents/claude-cli/stop-conditions.js.map +1 -0
- package/dist/src/components/agents/codex-cli/arg-builder.d.ts +10 -0
- package/dist/src/components/agents/codex-cli/arg-builder.d.ts.map +1 -0
- package/dist/src/components/agents/codex-cli/arg-builder.js +95 -0
- package/dist/src/components/agents/codex-cli/arg-builder.js.map +1 -0
- package/dist/src/components/agents/codex-cli/executor.d.ts +9 -0
- package/dist/src/components/agents/codex-cli/executor.d.ts.map +1 -0
- package/dist/src/components/agents/codex-cli/executor.js +57 -0
- package/dist/src/components/agents/codex-cli/executor.js.map +1 -0
- package/dist/src/components/agents/codex-cli/index.d.ts +4 -0
- package/dist/src/components/agents/codex-cli/index.d.ts.map +1 -0
- package/dist/src/components/agents/codex-cli/index.js +4 -0
- package/dist/src/components/agents/codex-cli/index.js.map +1 -0
- package/dist/src/components/agents/codex-cli/output-parser.d.ts +14 -0
- package/dist/src/components/agents/codex-cli/output-parser.d.ts.map +1 -0
- package/dist/src/components/agents/codex-cli/output-parser.js +47 -0
- package/dist/src/components/agents/codex-cli/output-parser.js.map +1 -0
- package/dist/src/components/agents/shared/cli-executor.d.ts +63 -0
- package/dist/src/components/agents/shared/cli-executor.d.ts.map +1 -0
- package/dist/src/components/agents/shared/cli-executor.js +155 -0
- package/dist/src/components/agents/shared/cli-executor.js.map +1 -0
- package/dist/src/components/agents/shared/index.d.ts +2 -0
- package/dist/src/components/agents/shared/index.d.ts.map +1 -0
- package/dist/src/components/agents/shared/index.js +2 -0
- package/dist/src/components/agents/shared/index.js.map +1 -0
- package/dist/src/components/agents/types/agents.d.ts +197 -0
- package/dist/src/components/agents/types/agents.d.ts.map +1 -0
- package/dist/src/components/agents/types/agents.js +2 -0
- package/dist/src/components/agents/types/agents.js.map +1 -0
- package/dist/src/components/agents/types/amp.d.ts +182 -0
- package/dist/src/components/agents/types/amp.d.ts.map +1 -0
- package/dist/src/components/agents/types/amp.js +2 -0
- package/dist/src/components/agents/types/amp.js.map +1 -0
- package/dist/src/components/agents/types/codex.d.ts +222 -0
- package/dist/src/components/agents/types/codex.d.ts.map +1 -0
- package/dist/src/components/agents/types/codex.js +2 -0
- package/dist/src/components/agents/types/codex.js.map +1 -0
- package/dist/src/components/agents/types/execution.d.ts +132 -0
- package/dist/src/components/agents/types/execution.d.ts.map +1 -0
- package/dist/src/components/agents/types/execution.js +2 -0
- package/dist/src/components/agents/types/execution.js.map +1 -0
- package/dist/src/components/agents/types/index.d.ts +7 -0
- package/dist/src/components/agents/types/index.d.ts.map +1 -0
- package/dist/src/components/agents/types/index.js +2 -0
- package/dist/src/components/agents/types/index.js.map +1 -0
- package/dist/src/components/agents/types/schema.d.ts +11 -0
- package/dist/src/components/agents/types/schema.d.ts.map +1 -0
- package/dist/src/components/agents/types/schema.js +2 -0
- package/dist/src/components/agents/types/schema.js.map +1 -0
- package/dist/src/components/agents/types/tools.d.ts +5 -0
- package/dist/src/components/agents/types/tools.d.ts.map +1 -0
- package/dist/src/components/agents/types/tools.js +3 -0
- package/dist/src/components/agents/types/tools.js.map +1 -0
- package/dist/src/components/agents/types.d.ts +2 -0
- package/dist/src/components/agents/types.d.ts.map +1 -0
- package/dist/src/components/agents/types.js +2 -0
- package/dist/src/components/agents/types.js.map +1 -0
- package/dist/src/components/index.d.ts +44 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/components/index.js +42 -5038
- package/dist/src/components/index.js.map +1 -0
- package/dist/src/control-plane/discover.d.ts +6 -0
- package/dist/src/control-plane/discover.d.ts.map +1 -0
- package/dist/src/control-plane/discover.js +66 -0
- package/dist/src/control-plane/discover.js.map +1 -0
- package/dist/src/control-plane/glob.d.ts +7 -0
- package/dist/src/control-plane/glob.d.ts.map +1 -0
- package/dist/src/control-plane/glob.js +23 -0
- package/dist/src/control-plane/glob.js.map +1 -0
- package/dist/src/control-plane/grep.d.ts +19 -0
- package/dist/src/control-plane/grep.d.ts.map +1 -0
- package/dist/src/control-plane/grep.js +62 -0
- package/dist/src/control-plane/grep.js.map +1 -0
- package/dist/src/control-plane/index.d.ts +49 -0
- package/dist/src/control-plane/index.d.ts.map +1 -0
- package/dist/src/control-plane/index.js +26 -0
- package/dist/src/control-plane/index.js.map +1 -0
- package/dist/src/control-plane/runner.d.ts +26 -0
- package/dist/src/control-plane/runner.d.ts.map +1 -0
- package/dist/src/control-plane/runner.js +163 -0
- package/dist/src/control-plane/runner.js.map +1 -0
- package/dist/src/control-plane/security.d.ts +2 -0
- package/dist/src/control-plane/security.d.ts.map +1 -0
- package/dist/src/control-plane/security.js +18 -0
- package/dist/src/control-plane/security.js.map +1 -0
- package/dist/src/control-plane/status.d.ts +16 -0
- package/dist/src/control-plane/status.d.ts.map +1 -0
- package/dist/src/control-plane/status.js +106 -0
- package/dist/src/control-plane/status.js.map +1 -0
- package/dist/src/control-plane/types.d.ts +46 -0
- package/dist/src/control-plane/types.d.ts.map +1 -0
- package/dist/src/control-plane/types.js +2 -0
- package/dist/src/control-plane/types.js.map +1 -0
- package/dist/src/control-plane/utils.d.ts +3 -0
- package/dist/src/control-plane/utils.d.ts.map +1 -0
- package/dist/src/control-plane/utils.js +30 -0
- package/dist/src/control-plane/utils.js.map +1 -0
- package/dist/src/core/index.d.ts +3 -0
- package/dist/src/core/index.d.ts.map +1 -0
- package/dist/src/core/index.js +2 -179
- package/dist/src/core/index.js.map +1 -0
- package/dist/src/db/agents.d.ts +28 -0
- package/dist/src/db/agents.d.ts.map +1 -0
- package/dist/src/db/agents.js +133 -0
- package/dist/src/db/agents.js.map +1 -0
- package/dist/src/db/artifacts.d.ts +12 -0
- package/dist/src/db/artifacts.d.ts.map +1 -0
- package/dist/src/db/artifacts.js +45 -0
- package/dist/src/db/artifacts.js.map +1 -0
- package/dist/src/db/build-state.d.ts +22 -0
- package/dist/src/db/build-state.d.ts.map +1 -0
- package/dist/src/db/build-state.js +107 -0
- package/dist/src/db/build-state.js.map +1 -0
- package/dist/src/db/execution.d.ts +19 -0
- package/dist/src/db/execution.d.ts.map +1 -0
- package/dist/src/db/execution.js +88 -0
- package/dist/src/db/execution.js.map +1 -0
- package/dist/src/db/human.d.ts +69 -0
- package/dist/src/db/human.d.ts.map +1 -0
- package/dist/src/db/human.js +87 -0
- package/dist/src/db/human.js.map +1 -0
- package/dist/src/db/index.d.ts +58 -0
- package/dist/src/db/index.d.ts.map +1 -0
- package/dist/src/db/index.js +162 -2163
- package/dist/src/db/index.js.map +1 -0
- package/dist/src/db/memories.d.ts +26 -0
- package/dist/src/db/memories.d.ts.map +1 -0
- package/dist/src/db/memories.js +104 -0
- package/dist/src/db/memories.js.map +1 -0
- package/dist/src/db/phases.d.ts +17 -0
- package/dist/src/db/phases.d.ts.map +1 -0
- package/dist/src/db/phases.js +48 -0
- package/dist/src/db/phases.js.map +1 -0
- package/dist/src/db/query.d.ts +8 -0
- package/dist/src/db/query.d.ts.map +1 -0
- package/dist/src/db/query.js +7 -0
- package/dist/src/db/query.js.map +1 -0
- package/dist/src/db/render-frames.d.ts +25 -0
- package/dist/src/db/render-frames.d.ts.map +1 -0
- package/dist/src/db/render-frames.js +69 -0
- package/dist/src/db/render-frames.js.map +1 -0
- package/dist/src/db/schema.sql +65 -42
- package/dist/src/db/state.d.ts +18 -0
- package/dist/src/db/state.d.ts.map +1 -0
- package/dist/src/db/state.js +77 -0
- package/dist/src/db/state.js.map +1 -0
- package/dist/src/db/steps.d.ts +23 -0
- package/dist/src/db/steps.d.ts.map +1 -0
- package/dist/src/db/steps.js +50 -0
- package/dist/src/db/steps.js.map +1 -0
- package/dist/src/db/tasks.d.ts +33 -0
- package/dist/src/db/tasks.d.ts.map +1 -0
- package/dist/src/db/tasks.js +84 -0
- package/dist/src/db/tasks.js.map +1 -0
- package/dist/src/db/tools.d.ts +15 -0
- package/dist/src/db/tools.d.ts.map +1 -0
- package/dist/src/db/tools.js +65 -0
- package/dist/src/db/tools.js.map +1 -0
- package/dist/src/db/types.d.ts +226 -0
- package/dist/src/db/types.d.ts.map +1 -0
- package/dist/src/db/types.js +2 -0
- package/dist/src/db/types.js.map +1 -0
- package/dist/src/db/utils.d.ts +8 -0
- package/dist/src/db/utils.d.ts.map +1 -0
- package/dist/src/db/utils.js +27 -0
- package/dist/src/db/utils.js.map +1 -0
- package/dist/src/db/vcs-queue.d.ts +21 -0
- package/dist/src/db/vcs-queue.d.ts.map +1 -0
- package/dist/src/db/vcs-queue.js +46 -0
- package/dist/src/db/vcs-queue.js.map +1 -0
- package/dist/src/db/vcs.d.ts +61 -0
- package/dist/src/db/vcs.d.ts.map +1 -0
- package/dist/src/db/vcs.js +229 -0
- package/dist/src/db/vcs.js.map +1 -0
- package/dist/src/debug/index.d.ts +41 -0
- package/dist/src/debug/index.d.ts.map +1 -0
- package/dist/src/debug/index.js +165 -0
- package/dist/src/debug/index.js.map +1 -0
- package/dist/src/hooks/adapters/amp.d.ts +4 -0
- package/dist/src/hooks/adapters/amp.d.ts.map +1 -0
- package/dist/src/hooks/adapters/amp.js +59 -0
- package/dist/src/hooks/adapters/amp.js.map +1 -0
- package/dist/src/hooks/adapters/claude.d.ts +4 -0
- package/dist/src/hooks/adapters/claude.d.ts.map +1 -0
- package/dist/src/hooks/adapters/claude.js +147 -0
- package/dist/src/hooks/adapters/claude.js.map +1 -0
- package/dist/src/hooks/adapters/codex.d.ts +4 -0
- package/dist/src/hooks/adapters/codex.d.ts.map +1 -0
- package/dist/src/hooks/adapters/codex.js +63 -0
- package/dist/src/hooks/adapters/codex.js.map +1 -0
- package/dist/src/hooks/adapters/index.d.ts +5 -0
- package/dist/src/hooks/adapters/index.d.ts.map +1 -0
- package/dist/src/hooks/adapters/index.js +4 -0
- package/dist/src/hooks/adapters/index.js.map +1 -0
- package/dist/src/hooks/adapters/types.d.ts +40 -0
- package/dist/src/hooks/adapters/types.d.ts.map +1 -0
- package/dist/src/hooks/adapters/types.js +2 -0
- package/dist/src/hooks/adapters/types.js.map +1 -0
- package/dist/src/hooks/index.d.ts +10 -0
- package/dist/src/hooks/index.d.ts.map +1 -0
- package/dist/src/hooks/index.js +10 -1834
- package/dist/src/hooks/index.js.map +1 -0
- package/dist/src/hooks/useAgentRunner.d.ts +34 -0
- package/dist/src/hooks/useAgentRunner.d.ts.map +1 -0
- package/dist/src/hooks/useAgentRunner.js +244 -0
- package/dist/src/hooks/useAgentRunner.js.map +1 -0
- package/dist/src/hooks/useAmp.d.ts +7 -0
- package/dist/src/hooks/useAmp.d.ts.map +1 -0
- package/dist/src/hooks/useAmp.js +7 -0
- package/dist/src/hooks/useAmp.js.map +1 -0
- package/dist/src/hooks/useCaptureRenderFrame.d.ts +3 -0
- package/dist/src/hooks/useCaptureRenderFrame.d.ts.map +1 -0
- package/dist/src/hooks/useCaptureRenderFrame.js +20 -0
- package/dist/src/hooks/useCaptureRenderFrame.js.map +1 -0
- package/dist/src/hooks/useClaude.d.ts +7 -0
- package/dist/src/hooks/useClaude.d.ts.map +1 -0
- package/dist/src/hooks/useClaude.js +7 -0
- package/dist/src/hooks/useClaude.js.map +1 -0
- package/dist/src/hooks/useCodex.d.ts +7 -0
- package/dist/src/hooks/useCodex.d.ts.map +1 -0
- package/dist/src/hooks/useCodex.js +7 -0
- package/dist/src/hooks/useCodex.js.map +1 -0
- package/dist/src/hooks/useHuman.d.ts +10 -0
- package/dist/src/hooks/useHuman.d.ts.map +1 -0
- package/dist/src/hooks/useHuman.js +47 -0
- package/dist/src/hooks/useHuman.js.map +1 -0
- package/dist/src/hooks/useHumanInteractive.d.ts +36 -0
- package/dist/src/hooks/useHumanInteractive.d.ts.map +1 -0
- package/dist/src/hooks/useHumanInteractive.js +184 -0
- package/dist/src/hooks/useHumanInteractive.js.map +1 -0
- package/dist/src/hooks/useRalphCount.d.ts +2 -0
- package/dist/src/hooks/useRalphCount.d.ts.map +1 -0
- package/dist/src/hooks/useRalphCount.js +9 -0
- package/dist/src/hooks/useRalphCount.js.map +1 -0
- package/dist/src/hooks/useReview.d.ts +8 -0
- package/dist/src/hooks/useReview.d.ts.map +1 -0
- package/dist/src/hooks/useReview.js +261 -0
- package/dist/src/hooks/useReview.js.map +1 -0
- package/dist/src/hooks/useSmithersSubagent.d.ts +13 -0
- package/dist/src/hooks/useSmithersSubagent.d.ts.map +1 -0
- package/dist/src/hooks/useSmithersSubagent.js +215 -0
- package/dist/src/hooks/useSmithersSubagent.js.map +1 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +13 -11848
- package/dist/src/index.js.map +1 -0
- package/dist/src/jsx-runtime.d.ts +9 -0
- package/dist/src/jsx-runtime.d.ts.map +1 -0
- package/dist/src/jsx-runtime.js +8 -0
- package/dist/src/jsx-runtime.js.map +1 -0
- package/dist/src/middleware/compose.d.ts +3 -0
- package/dist/src/middleware/compose.d.ts.map +1 -0
- package/dist/src/middleware/compose.js +71 -0
- package/dist/src/middleware/compose.js.map +1 -0
- package/dist/src/middleware/create-transform-middleware.d.ts +5 -0
- package/dist/src/middleware/create-transform-middleware.d.ts.map +1 -0
- package/dist/src/middleware/create-transform-middleware.js +4 -0
- package/dist/src/middleware/create-transform-middleware.js.map +1 -0
- package/dist/src/middleware/extract-json.d.ts +6 -0
- package/dist/src/middleware/extract-json.d.ts.map +1 -0
- package/dist/src/middleware/extract-json.js +32 -0
- package/dist/src/middleware/extract-json.js.map +1 -0
- package/dist/src/middleware/extract-reasoning.d.ts +9 -0
- package/dist/src/middleware/extract-reasoning.d.ts.map +1 -0
- package/dist/src/middleware/extract-reasoning.js +25 -0
- package/dist/src/middleware/extract-reasoning.js.map +1 -0
- package/dist/src/middleware/index.d.ts +13 -0
- package/dist/src/middleware/index.d.ts.map +1 -0
- package/dist/src/middleware/index.js +7 -698
- package/dist/src/middleware/index.js.map +1 -0
- package/dist/src/middleware/retry.d.ts +11 -0
- package/dist/src/middleware/retry.d.ts.map +1 -0
- package/dist/src/middleware/retry.js +38 -0
- package/dist/src/middleware/retry.js.map +1 -0
- package/dist/src/middleware/types.d.ts +13 -0
- package/dist/src/middleware/types.d.ts.map +1 -0
- package/dist/src/middleware/types.js +2 -0
- package/dist/src/middleware/types.js.map +1 -0
- package/dist/src/middleware/validation.d.ts +11 -0
- package/dist/src/middleware/validation.d.ts.map +1 -0
- package/dist/src/middleware/validation.js +23 -0
- package/dist/src/middleware/validation.js.map +1 -0
- package/dist/src/monitor/haiku-summarizer.d.ts +26 -0
- package/dist/src/monitor/haiku-summarizer.d.ts.map +1 -0
- package/dist/src/monitor/haiku-summarizer.js +98 -0
- package/dist/src/monitor/haiku-summarizer.js.map +1 -0
- package/dist/src/monitor/index.d.ts +8 -0
- package/dist/src/monitor/index.d.ts.map +1 -0
- package/dist/src/monitor/index.js +5 -4388
- package/dist/src/monitor/index.js.map +1 -0
- package/dist/src/monitor/log-writer.d.ts +61 -0
- package/dist/src/monitor/log-writer.d.ts.map +1 -0
- package/dist/src/monitor/log-writer.js +281 -0
- package/dist/src/monitor/log-writer.js.map +1 -0
- package/dist/src/monitor/output-parser.d.ts +22 -0
- package/dist/src/monitor/output-parser.d.ts.map +1 -0
- package/dist/src/monitor/output-parser.js +106 -0
- package/dist/src/monitor/output-parser.js.map +1 -0
- package/dist/src/monitor/stream-formatter.d.ts +27 -0
- package/dist/src/monitor/stream-formatter.d.ts.map +1 -0
- package/dist/src/monitor/stream-formatter.js +147 -0
- package/dist/src/monitor/stream-formatter.js.map +1 -0
- package/dist/src/rate-limits/index.d.ts +8 -0
- package/dist/src/rate-limits/index.d.ts.map +1 -0
- package/dist/src/rate-limits/index.js +7 -4309
- package/dist/src/rate-limits/index.js.map +1 -0
- package/dist/src/rate-limits/middleware.d.ts +10 -0
- package/dist/src/rate-limits/middleware.d.ts.map +1 -0
- package/dist/src/rate-limits/middleware.js +18 -0
- package/dist/src/rate-limits/middleware.js.map +1 -0
- package/dist/src/rate-limits/monitor.d.ts +18 -0
- package/dist/src/rate-limits/monitor.d.ts.map +1 -0
- package/dist/src/rate-limits/monitor.js +116 -0
- package/dist/src/rate-limits/monitor.js.map +1 -0
- package/dist/src/rate-limits/providers/anthropic.d.ts +6 -0
- package/dist/src/rate-limits/providers/anthropic.d.ts.map +1 -0
- package/dist/src/rate-limits/providers/anthropic.js +58 -0
- package/dist/src/rate-limits/providers/anthropic.js.map +1 -0
- package/dist/src/rate-limits/providers/openai.d.ts +7 -0
- package/dist/src/rate-limits/providers/openai.d.ts.map +1 -0
- package/dist/src/rate-limits/providers/openai.js +84 -0
- package/dist/src/rate-limits/providers/openai.js.map +1 -0
- package/dist/src/rate-limits/store.d.ts +16 -0
- package/dist/src/rate-limits/store.d.ts.map +1 -0
- package/dist/src/rate-limits/store.js +65 -0
- package/dist/src/rate-limits/store.js.map +1 -0
- package/dist/src/rate-limits/throttle.d.ts +10 -0
- package/dist/src/rate-limits/throttle.d.ts.map +1 -0
- package/dist/src/rate-limits/throttle.js +52 -0
- package/dist/src/rate-limits/throttle.js.map +1 -0
- package/dist/src/rate-limits/types.d.ts +76 -0
- package/dist/src/rate-limits/types.d.ts.map +1 -0
- package/dist/src/rate-limits/types.js +2 -0
- package/dist/src/rate-limits/types.js.map +1 -0
- package/dist/src/reactive-sqlite/database.d.ts +113 -0
- package/dist/src/reactive-sqlite/database.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/database.js +427 -0
- package/dist/src/reactive-sqlite/database.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks/context.d.ts +59 -0
- package/dist/src/reactive-sqlite/hooks/context.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks/context.js +60 -0
- package/dist/src/reactive-sqlite/hooks/context.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks/index.d.ts +12 -0
- package/dist/src/reactive-sqlite/hooks/index.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks/index.js +12 -0
- package/dist/src/reactive-sqlite/hooks/index.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks/shared.d.ts +59 -0
- package/dist/src/reactive-sqlite/hooks/shared.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks/shared.js +142 -0
- package/dist/src/reactive-sqlite/hooks/shared.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useMutation.d.ts +33 -0
- package/dist/src/reactive-sqlite/hooks/useMutation.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useMutation.js +88 -0
- package/dist/src/reactive-sqlite/hooks/useMutation.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useQuery.d.ts +34 -0
- package/dist/src/reactive-sqlite/hooks/useQuery.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useQuery.js +115 -0
- package/dist/src/reactive-sqlite/hooks/useQuery.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts +37 -0
- package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useQueryOne.js +44 -0
- package/dist/src/reactive-sqlite/hooks/useQueryOne.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts +31 -0
- package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks/useQueryValue.js +40 -0
- package/dist/src/reactive-sqlite/hooks/useQueryValue.js.map +1 -0
- package/dist/src/reactive-sqlite/hooks.d.ts +7 -0
- package/dist/src/reactive-sqlite/hooks.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/hooks.js +7 -0
- package/dist/src/reactive-sqlite/hooks.js.map +1 -0
- package/dist/src/reactive-sqlite/index.d.ts +38 -0
- package/dist/src/reactive-sqlite/index.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/index.js +40 -765
- package/dist/src/reactive-sqlite/index.js.map +1 -0
- package/dist/src/reactive-sqlite/parser.d.ts +37 -0
- package/dist/src/reactive-sqlite/parser.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/parser.js +267 -0
- package/dist/src/reactive-sqlite/parser.js.map +1 -0
- package/dist/src/reactive-sqlite/types.d.ts +64 -0
- package/dist/src/reactive-sqlite/types.d.ts.map +1 -0
- package/dist/src/reactive-sqlite/types.js +5 -0
- package/dist/src/reactive-sqlite/types.js.map +1 -0
- package/dist/src/reconciler/hooks.d.ts +17 -0
- package/dist/src/reconciler/hooks.d.ts.map +1 -0
- package/dist/src/reconciler/hooks.js +93 -0
- package/dist/src/reconciler/hooks.js.map +1 -0
- package/dist/src/reconciler/host-config.d.ts +7 -0
- package/dist/src/reconciler/host-config.d.ts.map +1 -0
- package/dist/src/reconciler/host-config.js +185 -0
- package/dist/src/reconciler/host-config.js.map +1 -0
- package/dist/src/reconciler/index.d.ts +9 -0
- package/dist/src/reconciler/index.d.ts.map +1 -0
- package/dist/src/reconciler/index.js +7 -1976
- package/dist/src/reconciler/index.js.map +1 -0
- package/dist/src/reconciler/jsx-runtime.d.ts +13 -0
- package/dist/src/reconciler/jsx-runtime.d.ts.map +1 -0
- package/dist/src/reconciler/jsx-runtime.js +21 -58
- package/dist/src/reconciler/jsx-runtime.js.map +1 -0
- package/dist/src/reconciler/methods.d.ts +15 -0
- package/dist/src/reconciler/methods.d.ts.map +1 -0
- package/dist/src/reconciler/methods.js +82 -0
- package/dist/src/reconciler/methods.js.map +1 -0
- package/dist/src/reconciler/root.d.ts +13 -0
- package/dist/src/reconciler/root.d.ts.map +1 -0
- package/dist/src/reconciler/root.js +138 -0
- package/dist/src/reconciler/root.js.map +1 -0
- package/dist/src/reconciler/serialize.d.ts +3 -0
- package/dist/src/reconciler/serialize.d.ts.map +1 -0
- package/dist/src/reconciler/serialize.js +161 -0
- package/dist/src/reconciler/serialize.js.map +1 -0
- package/dist/src/reconciler/types.d.ts +37 -0
- package/dist/src/reconciler/types.d.ts.map +1 -0
- package/dist/src/reconciler/types.js +2 -0
- package/dist/src/reconciler/types.js.map +1 -0
- package/dist/src/streaming/amp-parser.d.ts +8 -0
- package/dist/src/streaming/amp-parser.d.ts.map +1 -0
- package/dist/src/streaming/amp-parser.js +60 -0
- package/dist/src/streaming/amp-parser.js.map +1 -0
- package/dist/src/streaming/base-parser.d.ts +10 -0
- package/dist/src/streaming/base-parser.d.ts.map +1 -0
- package/dist/src/streaming/base-parser.js +43 -0
- package/dist/src/streaming/base-parser.js.map +1 -0
- package/dist/src/streaming/claude-parser.d.ts +19 -0
- package/dist/src/streaming/claude-parser.d.ts.map +1 -0
- package/dist/src/streaming/claude-parser.js +162 -0
- package/dist/src/streaming/claude-parser.js.map +1 -0
- package/dist/src/streaming/types.d.ts +12 -0
- package/dist/src/streaming/types.d.ts.map +1 -0
- package/dist/src/streaming/types.js +2 -0
- package/dist/src/streaming/types.js.map +1 -0
- package/dist/src/streaming/v3-compat.d.ts +96 -0
- package/dist/src/streaming/v3-compat.d.ts.map +1 -0
- package/dist/src/streaming/v3-compat.js +2 -0
- package/dist/src/streaming/v3-compat.js.map +1 -0
- package/dist/src/supersmithers/SuperSmithers.d.ts +4 -0
- package/dist/src/supersmithers/SuperSmithers.d.ts.map +1 -0
- package/dist/src/supersmithers/SuperSmithers.js +210 -0
- package/dist/src/supersmithers/SuperSmithers.js.map +1 -0
- package/dist/src/supersmithers/analyzer.d.ts +13 -0
- package/dist/src/supersmithers/analyzer.d.ts.map +1 -0
- package/dist/src/supersmithers/analyzer.js +122 -0
- package/dist/src/supersmithers/analyzer.js.map +1 -0
- package/dist/src/supersmithers/db.d.ts +39 -0
- package/dist/src/supersmithers/db.d.ts.map +1 -0
- package/dist/src/supersmithers/db.js +99 -0
- package/dist/src/supersmithers/db.js.map +1 -0
- package/dist/src/supersmithers/index.d.ts +9 -0
- package/dist/src/supersmithers/index.d.ts.map +1 -0
- package/dist/src/supersmithers/index.js +21 -0
- package/dist/src/supersmithers/index.js.map +1 -0
- package/dist/src/supersmithers/observer.d.ts +6 -0
- package/dist/src/supersmithers/observer.d.ts.map +1 -0
- package/dist/src/supersmithers/observer.js +100 -0
- package/dist/src/supersmithers/observer.js.map +1 -0
- package/dist/src/supersmithers/plugin.d.ts +2 -0
- package/dist/src/supersmithers/plugin.d.ts.map +1 -0
- package/dist/src/supersmithers/plugin.js +73 -0
- package/dist/src/supersmithers/plugin.js.map +1 -0
- package/dist/src/supersmithers/register.d.ts +3 -0
- package/dist/src/supersmithers/register.d.ts.map +1 -0
- package/dist/src/supersmithers/register.js +10 -0
- package/dist/src/supersmithers/register.js.map +1 -0
- package/dist/src/supersmithers/rewriter.d.ts +32 -0
- package/dist/src/supersmithers/rewriter.d.ts.map +1 -0
- package/dist/src/supersmithers/rewriter.js +189 -0
- package/dist/src/supersmithers/rewriter.js.map +1 -0
- package/dist/src/supersmithers/runtime.d.ts +45 -0
- package/dist/src/supersmithers/runtime.d.ts.map +1 -0
- package/dist/src/supersmithers/runtime.js +91 -0
- package/dist/src/supersmithers/runtime.js.map +1 -0
- package/dist/src/supersmithers/types.d.ts +98 -0
- package/dist/src/supersmithers/types.d.ts.map +1 -0
- package/dist/src/supersmithers/types.js +7 -0
- package/dist/src/supersmithers/types.js.map +1 -0
- package/dist/src/supersmithers/vcs.d.ts +13 -0
- package/dist/src/supersmithers/vcs.d.ts.map +1 -0
- package/dist/src/supersmithers/vcs.js +123 -0
- package/dist/src/supersmithers/vcs.js.map +1 -0
- package/dist/src/tools/ReportTool.d.ts +25 -0
- package/dist/src/tools/ReportTool.d.ts.map +1 -0
- package/dist/src/tools/ReportTool.js +104 -0
- package/dist/src/tools/ReportTool.js.map +1 -0
- package/dist/src/tools/createSmithersTool.d.ts +39 -0
- package/dist/src/tools/createSmithersTool.d.ts.map +1 -0
- package/dist/src/tools/createSmithersTool.js +81 -0
- package/dist/src/tools/createSmithersTool.js.map +1 -0
- package/dist/src/tools/index.d.ts +8 -0
- package/dist/src/tools/index.d.ts.map +1 -0
- package/dist/src/tools/index.js +7 -13875
- package/dist/src/tools/index.js.map +1 -0
- package/dist/src/tools/legacy-mcp-server.d.ts +17 -0
- package/dist/src/tools/legacy-mcp-server.d.ts.map +1 -0
- package/dist/src/tools/legacy-mcp-server.js +98 -0
- package/dist/src/tools/legacy-mcp-server.js.map +1 -0
- package/dist/src/tools/legacy-tool-ipc.d.ts +45 -0
- package/dist/src/tools/legacy-tool-ipc.d.ts.map +1 -0
- package/dist/src/tools/legacy-tool-ipc.js +173 -0
- package/dist/src/tools/legacy-tool-ipc.js.map +1 -0
- package/dist/src/tools/legacy-tool-server.d.ts +25 -0
- package/dist/src/tools/legacy-tool-server.d.ts.map +1 -0
- package/dist/src/tools/legacy-tool-server.js +34 -0
- package/dist/src/tools/legacy-tool-server.js.map +1 -0
- package/dist/src/tools/mcp-jsonrpc.d.ts +58 -0
- package/dist/src/tools/mcp-jsonrpc.d.ts.map +1 -0
- package/dist/src/tools/mcp-jsonrpc.js +145 -0
- package/dist/src/tools/mcp-jsonrpc.js.map +1 -0
- package/dist/src/tools/registry.d.ts +98 -0
- package/dist/src/tools/registry.d.ts.map +1 -0
- package/dist/src/tools/registry.js +119 -0
- package/dist/src/tools/registry.js.map +1 -0
- package/dist/src/tools/smithers-mcp-server.d.ts +16 -0
- package/dist/src/tools/smithers-mcp-server.d.ts.map +1 -0
- package/dist/src/tools/smithers-mcp-server.js +78 -0
- package/dist/src/tools/smithers-mcp-server.js.map +1 -0
- package/dist/src/tools/tool-to-mcp.d.ts +17 -0
- package/dist/src/tools/tool-to-mcp.d.ts.map +1 -0
- package/dist/src/tools/tool-to-mcp.js +35 -0
- package/dist/src/tools/tool-to-mcp.js.map +1 -0
- package/dist/src/tools/types.d.ts +54 -0
- package/dist/src/tools/types.d.ts.map +1 -0
- package/dist/src/tools/types.js +2 -0
- package/dist/src/tools/types.js.map +1 -0
- package/dist/src/transport/smithers-chat-transport.d.ts +55 -0
- package/dist/src/transport/smithers-chat-transport.d.ts.map +1 -0
- package/dist/src/transport/smithers-chat-transport.js +390 -0
- package/dist/src/transport/smithers-chat-transport.js.map +1 -0
- package/dist/src/transport/types.d.ts +49 -0
- package/dist/src/transport/types.d.ts.map +1 -0
- package/dist/src/transport/types.js +2 -0
- package/dist/src/transport/types.js.map +1 -0
- package/dist/src/tui/App.d.ts +16 -0
- package/dist/src/tui/App.d.ts.map +1 -0
- package/dist/src/tui/App.js +68 -0
- package/dist/src/tui/App.js.map +1 -0
- package/dist/src/tui/appNavigation.d.ts +22 -0
- package/dist/src/tui/appNavigation.d.ts.map +1 -0
- package/dist/src/tui/appNavigation.js +68 -0
- package/dist/src/tui/appNavigation.js.map +1 -0
- package/dist/src/tui/components/index.d.ts +4 -0
- package/dist/src/tui/components/index.d.ts.map +1 -0
- package/dist/src/tui/components/index.js +4 -0
- package/dist/src/tui/components/index.js.map +1 -0
- package/dist/src/tui/components/layout/Header.d.ts +6 -0
- package/dist/src/tui/components/layout/Header.d.ts.map +1 -0
- package/dist/src/tui/components/layout/Header.js +19 -0
- package/dist/src/tui/components/layout/Header.js.map +1 -0
- package/dist/src/tui/components/layout/StatusBar.d.ts +7 -0
- package/dist/src/tui/components/layout/StatusBar.d.ts.map +1 -0
- package/dist/src/tui/components/layout/StatusBar.js +17 -0
- package/dist/src/tui/components/layout/StatusBar.js.map +1 -0
- package/dist/src/tui/components/layout/TabBar.d.ts +8 -0
- package/dist/src/tui/components/layout/TabBar.d.ts.map +1 -0
- package/dist/src/tui/components/layout/TabBar.js +27 -0
- package/dist/src/tui/components/layout/TabBar.js.map +1 -0
- package/dist/src/tui/components/layout/index.d.ts +4 -0
- package/dist/src/tui/components/layout/index.d.ts.map +1 -0
- package/dist/src/tui/components/layout/index.js +4 -0
- package/dist/src/tui/components/layout/index.js.map +1 -0
- package/dist/src/tui/components/shared/ScrollableList.d.ts +20 -0
- package/dist/src/tui/components/shared/ScrollableList.d.ts.map +1 -0
- package/dist/src/tui/components/shared/ScrollableList.js +84 -0
- package/dist/src/tui/components/shared/ScrollableList.js.map +1 -0
- package/dist/src/tui/components/shared/XMLViewer.d.ts +7 -0
- package/dist/src/tui/components/shared/XMLViewer.d.ts.map +1 -0
- package/dist/src/tui/components/shared/XMLViewer.js +21 -0
- package/dist/src/tui/components/shared/XMLViewer.js.map +1 -0
- package/dist/src/tui/components/shared/index.d.ts +3 -0
- package/dist/src/tui/components/shared/index.d.ts.map +1 -0
- package/dist/src/tui/components/shared/index.js +3 -0
- package/dist/src/tui/components/shared/index.js.map +1 -0
- package/dist/src/tui/components/views/ChatInterface.d.ts +7 -0
- package/dist/src/tui/components/views/ChatInterface.d.ts.map +1 -0
- package/dist/src/tui/components/views/ChatInterface.js +43 -0
- package/dist/src/tui/components/views/ChatInterface.js.map +1 -0
- package/dist/src/tui/components/views/DatabaseExplorer.d.ts +7 -0
- package/dist/src/tui/components/views/DatabaseExplorer.d.ts.map +1 -0
- package/dist/src/tui/components/views/DatabaseExplorer.js +88 -0
- package/dist/src/tui/components/views/DatabaseExplorer.js.map +1 -0
- package/dist/src/tui/components/views/ExecutionTimeline.d.ts +7 -0
- package/dist/src/tui/components/views/ExecutionTimeline.d.ts.map +1 -0
- package/dist/src/tui/components/views/ExecutionTimeline.js +82 -0
- package/dist/src/tui/components/views/ExecutionTimeline.js.map +1 -0
- package/dist/src/tui/components/views/HumanInteractionHandler.d.ts +7 -0
- package/dist/src/tui/components/views/HumanInteractionHandler.d.ts.map +1 -0
- package/dist/src/tui/components/views/HumanInteractionHandler.js +77 -0
- package/dist/src/tui/components/views/HumanInteractionHandler.js.map +1 -0
- package/dist/src/tui/components/views/RenderFrameInspector.d.ts +7 -0
- package/dist/src/tui/components/views/RenderFrameInspector.d.ts.map +1 -0
- package/dist/src/tui/components/views/RenderFrameInspector.js +33 -0
- package/dist/src/tui/components/views/RenderFrameInspector.js.map +1 -0
- package/dist/src/tui/components/views/ReportViewer.d.ts +9 -0
- package/dist/src/tui/components/views/ReportViewer.d.ts.map +1 -0
- package/dist/src/tui/components/views/ReportViewer.js +66 -0
- package/dist/src/tui/components/views/ReportViewer.js.map +1 -0
- package/dist/src/tui/components/views/index.d.ts +7 -0
- package/dist/src/tui/components/views/index.d.ts.map +1 -0
- package/dist/src/tui/components/views/index.js +7 -0
- package/dist/src/tui/components/views/index.js.map +1 -0
- package/dist/src/tui/hooks/index.d.ts +8 -0
- package/dist/src/tui/hooks/index.d.ts.map +1 -0
- package/dist/src/tui/hooks/index.js +8 -0
- package/dist/src/tui/hooks/index.js.map +1 -0
- package/dist/src/tui/hooks/useClaudeChat.d.ts +16 -0
- package/dist/src/tui/hooks/useClaudeChat.d.ts.map +1 -0
- package/dist/src/tui/hooks/useClaudeChat.js +60 -0
- package/dist/src/tui/hooks/useClaudeChat.js.map +1 -0
- package/dist/src/tui/hooks/useHumanRequests.d.ts +13 -0
- package/dist/src/tui/hooks/useHumanRequests.d.ts.map +1 -0
- package/dist/src/tui/hooks/useHumanRequests.js +66 -0
- package/dist/src/tui/hooks/useHumanRequests.js.map +1 -0
- package/dist/src/tui/hooks/usePollEvents.d.ts +11 -0
- package/dist/src/tui/hooks/usePollEvents.d.ts.map +1 -0
- package/dist/src/tui/hooks/usePollEvents.js +56 -0
- package/dist/src/tui/hooks/usePollEvents.js.map +1 -0
- package/dist/src/tui/hooks/usePollTableData.d.ts +11 -0
- package/dist/src/tui/hooks/usePollTableData.d.ts.map +1 -0
- package/dist/src/tui/hooks/usePollTableData.js +46 -0
- package/dist/src/tui/hooks/usePollTableData.js.map +1 -0
- package/dist/src/tui/hooks/useRenderFrames.d.ts +15 -0
- package/dist/src/tui/hooks/useRenderFrames.d.ts.map +1 -0
- package/dist/src/tui/hooks/useRenderFrames.js +66 -0
- package/dist/src/tui/hooks/useRenderFrames.js.map +1 -0
- package/dist/src/tui/hooks/useReportGenerator.d.ts +10 -0
- package/dist/src/tui/hooks/useReportGenerator.d.ts.map +1 -0
- package/dist/src/tui/hooks/useReportGenerator.js +57 -0
- package/dist/src/tui/hooks/useReportGenerator.js.map +1 -0
- package/dist/src/tui/hooks/useSmithersConnection.d.ts +26 -0
- package/dist/src/tui/hooks/useSmithersConnection.d.ts.map +1 -0
- package/dist/src/tui/hooks/useSmithersConnection.js +78 -0
- package/dist/src/tui/hooks/useSmithersConnection.js.map +1 -0
- package/dist/src/tui/index.d.ts +5 -0
- package/dist/src/tui/index.d.ts.map +1 -0
- package/dist/src/tui/index.js +15 -0
- package/dist/src/tui/index.js.map +1 -0
- package/dist/src/tui/services/claude-assistant.d.ts +12 -0
- package/dist/src/tui/services/claude-assistant.d.ts.map +1 -0
- package/dist/src/tui/services/claude-assistant.js +82 -0
- package/dist/src/tui/services/claude-assistant.js.map +1 -0
- package/dist/src/tui/services/index.d.ts +3 -0
- package/dist/src/tui/services/index.d.ts.map +1 -0
- package/dist/src/tui/services/index.js +3 -0
- package/dist/src/tui/services/index.js.map +1 -0
- package/dist/src/tui/services/report-generator.d.ts +13 -0
- package/dist/src/tui/services/report-generator.d.ts.map +1 -0
- package/dist/src/tui/services/report-generator.js +135 -0
- package/dist/src/tui/services/report-generator.js.map +1 -0
- package/dist/src/tui/state.d.ts +5 -0
- package/dist/src/tui/state.d.ts.map +1 -0
- package/dist/src/tui/state.js +41 -0
- package/dist/src/tui/state.js.map +1 -0
- package/dist/src/tui/test-utils.d.ts +11 -0
- package/dist/src/tui/test-utils.d.ts.map +1 -0
- package/dist/src/tui/test-utils.js +19 -0
- package/dist/src/tui/test-utils.js.map +1 -0
- package/dist/src/tui/utils/colors.d.ts +19 -0
- package/dist/src/tui/utils/colors.d.ts.map +1 -0
- package/dist/src/tui/utils/colors.js +33 -0
- package/dist/src/tui/utils/colors.js.map +1 -0
- package/dist/src/tui/utils/format.d.ts +6 -0
- package/dist/src/tui/utils/format.d.ts.map +1 -0
- package/dist/src/tui/utils/format.js +37 -0
- package/dist/src/tui/utils/format.js.map +1 -0
- package/dist/src/tui/utils/index.d.ts +3 -0
- package/dist/src/tui/utils/index.d.ts.map +1 -0
- package/dist/src/tui/utils/index.js +3 -0
- package/dist/src/tui/utils/index.js.map +1 -0
- package/dist/src/utils/capture.d.ts +59 -0
- package/dist/src/utils/capture.d.ts.map +1 -0
- package/dist/src/utils/capture.js +350 -0
- package/dist/src/utils/capture.js.map +1 -0
- package/dist/src/utils/extract-text.d.ts +3 -0
- package/dist/src/utils/extract-text.d.ts.map +1 -0
- package/dist/src/utils/extract-text.js +19 -0
- package/dist/src/utils/extract-text.js.map +1 -0
- package/dist/src/utils/mcp-config.d.ts +14 -0
- package/dist/src/utils/mcp-config.d.ts.map +1 -0
- package/dist/src/utils/mcp-config.js +111 -0
- package/dist/src/utils/mcp-config.js.map +1 -0
- package/dist/src/utils/progress-logger.d.ts +39 -0
- package/dist/src/utils/progress-logger.d.ts.map +1 -0
- package/dist/src/utils/progress-logger.js +125 -0
- package/dist/src/utils/progress-logger.js.map +1 -0
- package/dist/src/utils/scope.d.ts +4 -0
- package/dist/src/utils/scope.d.ts.map +1 -0
- package/dist/src/utils/scope.js +23 -0
- package/dist/src/utils/scope.js.map +1 -0
- package/dist/src/utils/structured-output/index.d.ts +5 -0
- package/dist/src/utils/structured-output/index.d.ts.map +1 -0
- package/dist/src/utils/structured-output/index.js +4 -0
- package/dist/src/utils/structured-output/index.js.map +1 -0
- package/dist/src/utils/structured-output/prompt-generator.d.ts +4 -0
- package/dist/src/utils/structured-output/prompt-generator.d.ts.map +1 -0
- package/dist/src/utils/structured-output/prompt-generator.js +31 -0
- package/dist/src/utils/structured-output/prompt-generator.js.map +1 -0
- package/dist/src/utils/structured-output/types.d.ts +13 -0
- package/dist/src/utils/structured-output/types.d.ts.map +1 -0
- package/dist/src/utils/structured-output/types.js +2 -0
- package/dist/src/utils/structured-output/types.js.map +1 -0
- package/dist/src/utils/structured-output/validator.d.ts +5 -0
- package/dist/src/utils/structured-output/validator.d.ts.map +1 -0
- package/dist/src/utils/structured-output/validator.js +115 -0
- package/dist/src/utils/structured-output/validator.js.map +1 -0
- package/dist/src/utils/structured-output/zod-converter.d.ts +5 -0
- package/dist/src/utils/structured-output/zod-converter.d.ts.map +1 -0
- package/dist/src/utils/structured-output/zod-converter.js +74 -0
- package/dist/src/utils/structured-output/zod-converter.js.map +1 -0
- package/dist/src/utils/structured-output.d.ts +2 -0
- package/dist/src/utils/structured-output.d.ts.map +1 -0
- package/dist/src/utils/structured-output.js +2 -0
- package/dist/src/utils/structured-output.js.map +1 -0
- package/dist/src/utils/vcs/git.d.ts +30 -0
- package/dist/src/utils/vcs/git.d.ts.map +1 -0
- package/dist/src/utils/vcs/git.js +226 -0
- package/dist/src/utils/vcs/git.js.map +1 -0
- package/dist/src/utils/vcs/index.d.ts +5 -0
- package/dist/src/utils/vcs/index.d.ts.map +1 -0
- package/dist/src/utils/vcs/index.js +7 -0
- package/dist/src/utils/vcs/index.js.map +1 -0
- package/dist/src/utils/vcs/jj.d.ts +19 -0
- package/dist/src/utils/vcs/jj.d.ts.map +1 -0
- package/dist/src/utils/vcs/jj.js +113 -0
- package/dist/src/utils/vcs/jj.js.map +1 -0
- package/dist/src/utils/vcs/parsers.d.ts +5 -0
- package/dist/src/utils/vcs/parsers.d.ts.map +1 -0
- package/dist/src/utils/vcs/parsers.js +62 -0
- package/dist/src/utils/vcs/parsers.js.map +1 -0
- package/dist/src/utils/vcs/types.d.ts +36 -0
- package/dist/src/utils/vcs/types.d.ts.map +1 -0
- package/dist/src/utils/vcs/types.js +2 -0
- package/dist/src/utils/vcs/types.js.map +1 -0
- package/dist/src/utils/vcs.d.ts +2 -0
- package/dist/src/utils/vcs.d.ts.map +1 -0
- package/dist/src/utils/vcs.js +2 -0
- package/dist/src/utils/vcs.js.map +1 -0
- package/opencode/agents/explorer.md +196 -0
- package/opencode/agents/librarian.md +271 -0
- package/opencode/agents/monitor.md +110 -0
- package/opencode/agents/oracle.md +151 -0
- package/opencode/agents/planner.md +122 -0
- package/opencode/agents/smithers.md +144 -0
- package/opencode/opencode.json +42 -0
- package/opencode/plugins/smithers.ts +251 -0
- package/package.json +13 -19
- package/templates/SmithersDemo.tsx +327 -0
- 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
|
[](https://www.npmjs.com/package/smithers-orchestrator)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
|
-
[](https://www.typescriptlang.org/)
|
|
6
|
-
[](https://bun.sh/)
|
|
7
5
|
|
|
8
|
-
**
|
|
6
|
+
**Ralph the plan, not the agent.**
|
|
9
7
|
|
|
10
|
-
|
|
8
|
+
**Status: Alpha - not ready for production use.**
|
|
11
9
|
|
|
12
|
-
|
|
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
|
-
|
|
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
|
|
124
|
-
import {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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={
|
|
132
|
-
<Claude
|
|
133
|
-
|
|
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(
|
|
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
|
-
|
|
44
|
+
smithers demo.tsx
|
|
153
45
|
```
|
|
154
46
|
|
|
155
|
-
|
|
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
|
-
|
|
49
|
+
By evolving a declarative plan rather than wiring up every agent interaction, Smithers excels at:
|
|
158
50
|
|
|
159
|
-
|
|
160
|
-
|
|
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
|
-
|
|
164
|
-
const executionId = await db.execution.start("PRD Implementation", "prd-impl.tsx");
|
|
54
|
+
---
|
|
165
55
|
|
|
166
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
215
|
-
const executionId = await db.execution.start("Refactor", "refactor.tsx");
|
|
70
|
+
Each iteration:
|
|
216
71
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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
|
-
|
|
250
|
-
|
|
251
|
-
|
|
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
|
-
##
|
|
84
|
+
## Why React?
|
|
257
85
|
|
|
258
|
-
|
|
86
|
+
LLMs and humans perform well writing declarative React code. All coding agents can one-shot valid Smithers workflows naturally.
|
|
259
87
|
|
|
260
|
-
|
|
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
|
-
|
|
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
|
-
|
|
92
|
+
React gives you:
|
|
282
93
|
|
|
283
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
103
|
+
## Quick Examples
|
|
316
104
|
|
|
317
|
-
|
|
105
|
+
### Sequential Phases
|
|
318
106
|
|
|
319
107
|
```tsx
|
|
320
|
-
|
|
321
|
-
name
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
<
|
|
326
|
-
|
|
327
|
-
</
|
|
328
|
-
|
|
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
|
-
###
|
|
332
|
-
|
|
333
|
-
Give Claude access to external tools via Model Context Protocol:
|
|
123
|
+
### Parallel Agents
|
|
334
124
|
|
|
335
125
|
```tsx
|
|
336
|
-
<
|
|
337
|
-
<
|
|
338
|
-
|
|
339
|
-
</
|
|
340
|
-
|
|
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
|
-
###
|
|
345
|
-
|
|
346
|
-
Define tools with Zod schemas and pass them to Claude:
|
|
133
|
+
### Structured Output
|
|
347
134
|
|
|
348
135
|
```tsx
|
|
349
|
-
|
|
350
|
-
|
|
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
|
|
371
|
-
|
|
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
|
|
149
|
+
<Claude>Implement authentication</Claude>
|
|
398
150
|
</Worktree>
|
|
399
151
|
```
|
|
400
152
|
|
|
401
|
-
|
|
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
|
-
|
|
155
|
+
## Persistence
|
|
461
156
|
|
|
462
|
-
|
|
157
|
+
State lives in SQLite. Survives restarts.
|
|
463
158
|
|
|
464
159
|
```tsx
|
|
465
|
-
// Set state
|
|
466
|
-
|
|
160
|
+
// Set state
|
|
161
|
+
db.state.set("phase", "review");
|
|
467
162
|
|
|
468
163
|
// Get state
|
|
469
|
-
const phase =
|
|
164
|
+
const phase = db.state.get("phase");
|
|
470
165
|
|
|
471
|
-
//
|
|
472
|
-
const
|
|
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
|
-
##
|
|
175
|
+
## Observability
|
|
492
176
|
|
|
493
|
-
|
|
177
|
+
The React tree is the observability. What you write is what gets logged.
|
|
494
178
|
|
|
495
|
-
|
|
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
|
-
|
|
190
|
+
SQLite stores every frame. Use version control to rewind.
|
|
498
191
|
|
|
499
|
-
|
|
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
|
-
|
|
194
|
+
## Install
|
|
507
195
|
|
|
508
|
-
|
|
196
|
+
```bash
|
|
197
|
+
bun add -g smithers-orchestrator
|
|
198
|
+
```
|
|
509
199
|
|
|
510
|
-
|
|
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
|
-
|
|
204
|
+
```
|
|
205
|
+
/plugin add evmts/smithers
|
|
206
|
+
```
|
|
515
207
|
|
|
516
|
-
|
|
208
|
+
---
|
|
517
209
|
|
|
518
|
-
|
|
519
|
-
git notes add -m "User prompt: <your prompt here>"
|
|
520
|
-
```
|
|
210
|
+
## Roadmap
|
|
521
211
|
|
|
522
|
-
|
|
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
|
-
|
|
216
|
+
## More
|
|
217
|
+
|
|
218
|
+
- [Documentation](https://smithers.sh)
|
|
219
|
+
- [Examples](./examples)
|
|
220
|
+
- [Contributing](./CONTRIBUTING.md)
|