smithers-orchestrator 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +247 -143
- package/package.json +53 -62
- package/src/agents/cli.ts +801 -0
- package/src/cli/index.ts +295 -0
- package/src/components.ts +88 -0
- package/src/context.ts +147 -0
- package/src/db/adapter.ts +272 -0
- package/src/db/ensure.ts +123 -0
- package/src/db/input.ts +16 -0
- package/src/db/internal-schema.ts +148 -0
- package/src/db/output.ts +161 -0
- package/src/db/schema-signature.ts +18 -0
- package/src/db/snapshot.ts +29 -0
- package/src/dom/extract.ts +169 -0
- package/src/dom/renderer.ts +193 -0
- package/src/engine/approvals.ts +74 -0
- package/src/engine/index.ts +1230 -0
- package/src/engine/scheduler.ts +191 -0
- package/src/events.ts +64 -0
- package/src/index.ts +275 -0
- package/src/jsx-runtime.ts +2 -0
- package/src/mdx-components.ts +102 -0
- package/src/mdx-plugin.ts +6 -0
- package/src/pi-plugin/index.ts +99 -0
- package/src/revert.ts +64 -0
- package/src/server/index.ts +642 -0
- package/src/tools/context.ts +30 -0
- package/src/tools/index.ts +306 -0
- package/src/tools/utils.ts +42 -0
- package/src/types.ts +327 -0
- package/src/utils/errors.ts +32 -0
- package/src/utils/hash.ts +7 -0
- package/src/utils/ids.ts +6 -0
- package/src/utils/time.ts +3 -0
- package/src/utils/tree-ids.ts +11 -0
- package/src/utils/xml.ts +28 -0
- package/src/vcs/jj.ts +41 -0
- package/src/zod-to-example.ts +61 -0
- package/src/zod-to-table.ts +139 -0
- package/bunfig.toml +0 -19
- package/dist/bin/cli.js +0 -63850
- package/dist/bin/highlights-eq9cgrbb.scm +0 -604
- package/dist/bin/highlights-ghv9g403.scm +0 -205
- package/dist/bin/highlights-hk7bwhj4.scm +0 -284
- package/dist/bin/highlights-r812a2qc.scm +0 -150
- package/dist/bin/highlights-x6tmsnaa.scm +0 -115
- package/dist/bin/injections-73j83es3.scm +0 -27
- package/dist/bin/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/bin/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/bin/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/bin/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/bin/tree-sitter-zig-e78zbjpm.wasm +0 -0
- package/dist/src/commands/cli-utils.d.ts +0 -12
- package/dist/src/commands/cli-utils.d.ts.map +0 -1
- package/dist/src/commands/cli-utils.js +0 -52
- package/dist/src/commands/cli-utils.js.map +0 -1
- package/dist/src/commands/db/current-view.d.ts +0 -3
- package/dist/src/commands/db/current-view.d.ts.map +0 -1
- package/dist/src/commands/db/current-view.js +0 -44
- package/dist/src/commands/db/current-view.js.map +0 -1
- package/dist/src/commands/db/execution-view.d.ts +0 -3
- package/dist/src/commands/db/execution-view.d.ts.map +0 -1
- package/dist/src/commands/db/execution-view.js +0 -89
- package/dist/src/commands/db/execution-view.js.map +0 -1
- package/dist/src/commands/db/executions-view.d.ts +0 -3
- package/dist/src/commands/db/executions-view.d.ts.map +0 -1
- package/dist/src/commands/db/executions-view.js +0 -34
- package/dist/src/commands/db/executions-view.js.map +0 -1
- package/dist/src/commands/db/help.d.ts +0 -2
- package/dist/src/commands/db/help.d.ts.map +0 -1
- package/dist/src/commands/db/help.js +0 -19
- package/dist/src/commands/db/help.js.map +0 -1
- package/dist/src/commands/db/index.d.ts +0 -15
- package/dist/src/commands/db/index.d.ts.map +0 -1
- package/dist/src/commands/db/index.js +0 -83
- package/dist/src/commands/db/index.js.map +0 -1
- package/dist/src/commands/db/memories-view.d.ts +0 -3
- package/dist/src/commands/db/memories-view.d.ts.map +0 -1
- package/dist/src/commands/db/memories-view.js +0 -30
- package/dist/src/commands/db/memories-view.js.map +0 -1
- package/dist/src/commands/db/recovery-view.d.ts +0 -3
- package/dist/src/commands/db/recovery-view.d.ts.map +0 -1
- package/dist/src/commands/db/recovery-view.js +0 -36
- package/dist/src/commands/db/recovery-view.js.map +0 -1
- package/dist/src/commands/db/state-view.d.ts +0 -3
- package/dist/src/commands/db/state-view.d.ts.map +0 -1
- package/dist/src/commands/db/state-view.js +0 -37
- package/dist/src/commands/db/state-view.js.map +0 -1
- package/dist/src/commands/db/stats-view.d.ts +0 -3
- package/dist/src/commands/db/stats-view.d.ts.map +0 -1
- package/dist/src/commands/db/stats-view.js +0 -23
- package/dist/src/commands/db/stats-view.js.map +0 -1
- package/dist/src/commands/db/transitions-view.d.ts +0 -3
- package/dist/src/commands/db/transitions-view.d.ts.map +0 -1
- package/dist/src/commands/db/transitions-view.js +0 -22
- package/dist/src/commands/db/transitions-view.js.map +0 -1
- package/dist/src/commands/db/view-utils.d.ts +0 -9
- package/dist/src/commands/db/view-utils.d.ts.map +0 -1
- package/dist/src/commands/db/view-utils.js +0 -29
- package/dist/src/commands/db/view-utils.js.map +0 -1
- package/dist/src/commands/db.d.ts +0 -2
- package/dist/src/commands/db.d.ts.map +0 -1
- package/dist/src/commands/db.js +0 -2
- package/dist/src/commands/db.js.map +0 -1
- package/dist/src/commands/demo.d.ts +0 -2
- package/dist/src/commands/demo.d.ts.map +0 -1
- package/dist/src/commands/demo.js +0 -45
- package/dist/src/commands/demo.js.map +0 -1
- package/dist/src/commands/init.d.ts +0 -14
- package/dist/src/commands/init.d.ts.map +0 -1
- package/dist/src/commands/init.js +0 -124
- package/dist/src/commands/init.js.map +0 -1
- package/dist/src/commands/monitor.d.ts +0 -14
- package/dist/src/commands/monitor.d.ts.map +0 -1
- package/dist/src/commands/monitor.js +0 -140
- package/dist/src/commands/monitor.js.map +0 -1
- package/dist/src/commands/run.d.ts +0 -13
- package/dist/src/commands/run.d.ts.map +0 -1
- package/dist/src/commands/run.js +0 -62
- package/dist/src/commands/run.js.map +0 -1
- package/dist/src/commands/test-utils.d.ts +0 -3
- package/dist/src/commands/test-utils.d.ts.map +0 -1
- package/dist/src/commands/test-utils.js +0 -14
- package/dist/src/commands/test-utils.js.map +0 -1
- package/dist/src/commands/upgrade.d.ts +0 -21
- package/dist/src/commands/upgrade.d.ts.map +0 -1
- package/dist/src/commands/upgrade.js +0 -78
- package/dist/src/commands/upgrade.js.map +0 -1
- package/dist/src/components/AgentRenderer.d.ts +0 -32
- package/dist/src/components/AgentRenderer.d.ts.map +0 -1
- package/dist/src/components/AgentRenderer.js +0 -30
- package/dist/src/components/AgentRenderer.js.map +0 -1
- package/dist/src/components/Amp.d.ts +0 -6
- package/dist/src/components/Amp.d.ts.map +0 -1
- package/dist/src/components/Amp.js +0 -9
- package/dist/src/components/Amp.js.map +0 -1
- package/dist/src/components/Claude.d.ts +0 -6
- package/dist/src/components/Claude.d.ts.map +0 -1
- package/dist/src/components/Claude.js +0 -9
- package/dist/src/components/Claude.js.map +0 -1
- package/dist/src/components/ClaudeApi.d.ts +0 -12
- package/dist/src/components/ClaudeApi.d.ts.map +0 -1
- package/dist/src/components/ClaudeApi.js +0 -5
- package/dist/src/components/ClaudeApi.js.map +0 -1
- package/dist/src/components/Codex.d.ts +0 -6
- package/dist/src/components/Codex.d.ts.map +0 -1
- package/dist/src/components/Codex.js +0 -9
- package/dist/src/components/Codex.js.map +0 -1
- package/dist/src/components/Command.d.ts +0 -36
- package/dist/src/components/Command.d.ts.map +0 -1
- package/dist/src/components/Command.js +0 -186
- package/dist/src/components/Command.js.map +0 -1
- package/dist/src/components/Constraints.d.ts +0 -6
- package/dist/src/components/Constraints.d.ts.map +0 -1
- package/dist/src/components/Constraints.js +0 -5
- package/dist/src/components/Constraints.js.map +0 -1
- package/dist/src/components/Each.d.ts +0 -7
- package/dist/src/components/Each.d.ts.map +0 -1
- package/dist/src/components/Each.js +0 -5
- package/dist/src/components/Each.js.map +0 -1
- package/dist/src/components/End.d.ts +0 -22
- package/dist/src/components/End.d.ts.map +0 -1
- package/dist/src/components/End.js +0 -63
- package/dist/src/components/End.js.map +0 -1
- package/dist/src/components/ExecutionContext.d.ts +0 -11
- package/dist/src/components/ExecutionContext.d.ts.map +0 -1
- package/dist/src/components/ExecutionContext.js +0 -16
- package/dist/src/components/ExecutionContext.js.map +0 -1
- package/dist/src/components/ExecutionScope.d.ts +0 -14
- package/dist/src/components/ExecutionScope.d.ts.map +0 -1
- package/dist/src/components/ExecutionScope.js +0 -21
- package/dist/src/components/ExecutionScope.js.map +0 -1
- package/dist/src/components/Git/Commit.d.ts +0 -32
- package/dist/src/components/Git/Commit.d.ts.map +0 -1
- package/dist/src/components/Git/Commit.js +0 -112
- package/dist/src/components/Git/Commit.js.map +0 -1
- package/dist/src/components/Git/Notes.d.ts +0 -24
- package/dist/src/components/Git/Notes.d.ts.map +0 -1
- package/dist/src/components/Git/Notes.js +0 -46
- package/dist/src/components/Git/Notes.js.map +0 -1
- package/dist/src/components/Git/index.d.ts +0 -4
- package/dist/src/components/Git/index.d.ts.map +0 -1
- package/dist/src/components/Git/index.js +0 -4
- package/dist/src/components/Git/index.js.map +0 -1
- package/dist/src/components/Git/useGitOperation.d.ts +0 -16
- package/dist/src/components/Git/useGitOperation.d.ts.map +0 -1
- package/dist/src/components/Git/useGitOperation.js +0 -5
- package/dist/src/components/Git/useGitOperation.js.map +0 -1
- package/dist/src/components/Hooks/OnCIFailure.d.ts +0 -33
- package/dist/src/components/Hooks/OnCIFailure.d.ts.map +0 -1
- package/dist/src/components/Hooks/OnCIFailure.js +0 -176
- package/dist/src/components/Hooks/OnCIFailure.js.map +0 -1
- package/dist/src/components/Hooks/PostCommit.d.ts +0 -16
- package/dist/src/components/Hooks/PostCommit.d.ts.map +0 -1
- package/dist/src/components/Hooks/PostCommit.js +0 -153
- package/dist/src/components/Hooks/PostCommit.js.map +0 -1
- package/dist/src/components/Hooks/index.d.ts +0 -4
- package/dist/src/components/Hooks/index.d.ts.map +0 -1
- package/dist/src/components/Hooks/index.js +0 -4
- package/dist/src/components/Hooks/index.js.map +0 -1
- package/dist/src/components/Hooks/usePollingHook.d.ts +0 -16
- package/dist/src/components/Hooks/usePollingHook.d.ts.map +0 -1
- package/dist/src/components/Hooks/usePollingHook.js +0 -63
- package/dist/src/components/Hooks/usePollingHook.js.map +0 -1
- package/dist/src/components/Human.d.ts +0 -10
- package/dist/src/components/Human.d.ts.map +0 -1
- package/dist/src/components/Human.js +0 -58
- package/dist/src/components/Human.js.map +0 -1
- package/dist/src/components/If.d.ts +0 -7
- package/dist/src/components/If.d.ts.map +0 -1
- package/dist/src/components/If.js +0 -4
- package/dist/src/components/If.js.map +0 -1
- package/dist/src/components/JJ/Commit.d.ts +0 -10
- package/dist/src/components/JJ/Commit.d.ts.map +0 -1
- package/dist/src/components/JJ/Commit.js +0 -49
- package/dist/src/components/JJ/Commit.js.map +0 -1
- package/dist/src/components/JJ/Describe.d.ts +0 -9
- package/dist/src/components/JJ/Describe.d.ts.map +0 -1
- package/dist/src/components/JJ/Describe.js +0 -37
- package/dist/src/components/JJ/Describe.js.map +0 -1
- package/dist/src/components/JJ/Rebase.d.ts +0 -10
- package/dist/src/components/JJ/Rebase.d.ts.map +0 -1
- package/dist/src/components/JJ/Rebase.js +0 -102
- package/dist/src/components/JJ/Rebase.js.map +0 -1
- package/dist/src/components/JJ/Snapshot.d.ts +0 -8
- package/dist/src/components/JJ/Snapshot.d.ts.map +0 -1
- package/dist/src/components/JJ/Snapshot.js +0 -34
- package/dist/src/components/JJ/Snapshot.js.map +0 -1
- package/dist/src/components/JJ/Status.d.ts +0 -13
- package/dist/src/components/JJ/Status.d.ts.map +0 -1
- package/dist/src/components/JJ/Status.js +0 -48
- package/dist/src/components/JJ/Status.js.map +0 -1
- package/dist/src/components/JJ/index.d.ts +0 -8
- package/dist/src/components/JJ/index.d.ts.map +0 -1
- package/dist/src/components/JJ/index.js +0 -8
- package/dist/src/components/JJ/index.js.map +0 -1
- package/dist/src/components/JJ/useJJOperation.d.ts +0 -16
- package/dist/src/components/JJ/useJJOperation.d.ts.map +0 -1
- package/dist/src/components/JJ/useJJOperation.js +0 -5
- package/dist/src/components/JJ/useJJOperation.js.map +0 -1
- package/dist/src/components/MCP/Sqlite.d.ts +0 -11
- package/dist/src/components/MCP/Sqlite.d.ts.map +0 -1
- package/dist/src/components/MCP/Sqlite.js +0 -9
- package/dist/src/components/MCP/Sqlite.js.map +0 -1
- package/dist/src/components/MCP/index.d.ts +0 -2
- package/dist/src/components/MCP/index.d.ts.map +0 -1
- package/dist/src/components/MCP/index.js +0 -2
- package/dist/src/components/MCP/index.js.map +0 -1
- package/dist/src/components/OrchestrationController.d.ts +0 -13
- package/dist/src/components/OrchestrationController.d.ts.map +0 -1
- package/dist/src/components/OrchestrationController.js +0 -28
- package/dist/src/components/OrchestrationController.js.map +0 -1
- package/dist/src/components/Parallel.d.ts +0 -6
- package/dist/src/components/Parallel.d.ts.map +0 -1
- package/dist/src/components/Parallel.js +0 -37
- package/dist/src/components/Parallel.js.map +0 -1
- package/dist/src/components/Persona.d.ts +0 -7
- package/dist/src/components/Persona.d.ts.map +0 -1
- package/dist/src/components/Persona.js +0 -5
- package/dist/src/components/Persona.js.map +0 -1
- package/dist/src/components/Phase.d.ts +0 -10
- package/dist/src/components/Phase.d.ts.map +0 -1
- package/dist/src/components/Phase.js +0 -99
- package/dist/src/components/Phase.js.map +0 -1
- package/dist/src/components/PhaseContext.d.ts +0 -6
- package/dist/src/components/PhaseContext.d.ts.map +0 -1
- package/dist/src/components/PhaseContext.js +0 -6
- package/dist/src/components/PhaseContext.js.map +0 -1
- package/dist/src/components/PhaseRegistry.d.ts +0 -16
- package/dist/src/components/PhaseRegistry.d.ts.map +0 -1
- package/dist/src/components/PhaseRegistry.js +0 -100
- package/dist/src/components/PhaseRegistry.js.map +0 -1
- package/dist/src/components/Ralph.d.ts +0 -7
- package/dist/src/components/Ralph.d.ts.map +0 -1
- package/dist/src/components/Ralph.js +0 -7
- package/dist/src/components/Ralph.js.map +0 -1
- package/dist/src/components/Review/Review.d.ts +0 -4
- package/dist/src/components/Review/Review.d.ts.map +0 -1
- package/dist/src/components/Review/Review.js +0 -7
- package/dist/src/components/Review/Review.js.map +0 -1
- package/dist/src/components/Review/index.d.ts +0 -3
- package/dist/src/components/Review/index.d.ts.map +0 -1
- package/dist/src/components/Review/index.js +0 -2
- package/dist/src/components/Review/index.js.map +0 -1
- package/dist/src/components/Review/types.d.ts +0 -49
- package/dist/src/components/Review/types.d.ts.map +0 -1
- package/dist/src/components/Review/types.js +0 -2
- package/dist/src/components/Review/types.js.map +0 -1
- package/dist/src/components/Review.d.ts +0 -3
- package/dist/src/components/Review.d.ts.map +0 -1
- package/dist/src/components/Review.js +0 -2
- package/dist/src/components/Review.js.map +0 -1
- package/dist/src/components/Smithers.d.ts +0 -71
- package/dist/src/components/Smithers.d.ts.map +0 -1
- package/dist/src/components/Smithers.js +0 -8
- package/dist/src/components/Smithers.js.map +0 -1
- package/dist/src/components/SmithersProvider.d.ts +0 -50
- package/dist/src/components/SmithersProvider.d.ts.map +0 -1
- package/dist/src/components/SmithersProvider.js +0 -177
- package/dist/src/components/SmithersProvider.js.map +0 -1
- package/dist/src/components/Step.d.ts +0 -15
- package/dist/src/components/Step.d.ts.map +0 -1
- package/dist/src/components/Step.js +0 -211
- package/dist/src/components/Step.js.map +0 -1
- package/dist/src/components/StepContext.d.ts +0 -6
- package/dist/src/components/StepContext.d.ts.map +0 -1
- package/dist/src/components/StepContext.js +0 -6
- package/dist/src/components/StepContext.js.map +0 -1
- package/dist/src/components/StepRegistryProvider.d.ts +0 -23
- package/dist/src/components/StepRegistryProvider.d.ts.map +0 -1
- package/dist/src/components/StepRegistryProvider.js +0 -135
- package/dist/src/components/StepRegistryProvider.js.map +0 -1
- package/dist/src/components/Stop.d.ts +0 -7
- package/dist/src/components/Stop.d.ts.map +0 -1
- package/dist/src/components/Stop.js +0 -11
- package/dist/src/components/Stop.js.map +0 -1
- package/dist/src/components/StopConditionEvaluator.d.ts +0 -35
- package/dist/src/components/StopConditionEvaluator.d.ts.map +0 -1
- package/dist/src/components/StopConditionEvaluator.js +0 -36
- package/dist/src/components/StopConditionEvaluator.js.map +0 -1
- package/dist/src/components/Subagent.d.ts +0 -8
- package/dist/src/components/Subagent.d.ts.map +0 -1
- package/dist/src/components/Subagent.js +0 -5
- package/dist/src/components/Subagent.js.map +0 -1
- package/dist/src/components/Switch.d.ts +0 -19
- package/dist/src/components/Switch.d.ts.map +0 -1
- package/dist/src/components/Switch.js +0 -72
- package/dist/src/components/Switch.js.map +0 -1
- package/dist/src/components/Task.d.ts +0 -7
- package/dist/src/components/Task.d.ts.map +0 -1
- package/dist/src/components/Task.js +0 -5
- package/dist/src/components/Task.js.map +0 -1
- package/dist/src/components/TaskCompletionTracker.d.ts +0 -13
- package/dist/src/components/TaskCompletionTracker.d.ts.map +0 -1
- package/dist/src/components/TaskCompletionTracker.js +0 -54
- package/dist/src/components/TaskCompletionTracker.js.map +0 -1
- package/dist/src/components/VCS/useVcsOperation.d.ts +0 -28
- package/dist/src/components/VCS/useVcsOperation.d.ts.map +0 -1
- package/dist/src/components/VCS/useVcsOperation.js +0 -54
- package/dist/src/components/VCS/useVcsOperation.js.map +0 -1
- package/dist/src/components/While.d.ts +0 -21
- package/dist/src/components/While.d.ts.map +0 -1
- package/dist/src/components/While.js +0 -94
- package/dist/src/components/While.js.map +0 -1
- package/dist/src/components/Worktree.d.ts +0 -17
- package/dist/src/components/Worktree.d.ts.map +0 -1
- package/dist/src/components/Worktree.js +0 -103
- package/dist/src/components/Worktree.js.map +0 -1
- package/dist/src/components/WorktreeProvider.d.ts +0 -12
- package/dist/src/components/WorktreeProvider.d.ts.map +0 -1
- package/dist/src/components/WorktreeProvider.js +0 -10
- package/dist/src/components/WorktreeProvider.js.map +0 -1
- package/dist/src/components/agents/ClaudeCodeCLI.d.ts +0 -3
- package/dist/src/components/agents/ClaudeCodeCLI.d.ts.map +0 -1
- package/dist/src/components/agents/ClaudeCodeCLI.js +0 -10
- package/dist/src/components/agents/ClaudeCodeCLI.js.map +0 -1
- package/dist/src/components/agents/SmithersCLI.d.ts +0 -69
- package/dist/src/components/agents/SmithersCLI.d.ts.map +0 -1
- package/dist/src/components/agents/SmithersCLI.js +0 -254
- package/dist/src/components/agents/SmithersCLI.js.map +0 -1
- package/dist/src/components/agents/amp-cli/arg-builder.d.ts +0 -14
- package/dist/src/components/agents/amp-cli/arg-builder.d.ts.map +0 -1
- package/dist/src/components/agents/amp-cli/arg-builder.js +0 -62
- package/dist/src/components/agents/amp-cli/arg-builder.js.map +0 -1
- package/dist/src/components/agents/amp-cli/executor.d.ts +0 -4
- package/dist/src/components/agents/amp-cli/executor.d.ts.map +0 -1
- package/dist/src/components/agents/amp-cli/executor.js +0 -114
- package/dist/src/components/agents/amp-cli/executor.js.map +0 -1
- package/dist/src/components/agents/amp-cli/index.d.ts +0 -4
- package/dist/src/components/agents/amp-cli/index.d.ts.map +0 -1
- package/dist/src/components/agents/amp-cli/index.js +0 -4
- package/dist/src/components/agents/amp-cli/index.js.map +0 -1
- package/dist/src/components/agents/amp-cli/output-parser.d.ts +0 -32
- package/dist/src/components/agents/amp-cli/output-parser.d.ts.map +0 -1
- package/dist/src/components/agents/amp-cli/output-parser.js +0 -197
- package/dist/src/components/agents/amp-cli/output-parser.js.map +0 -1
- package/dist/src/components/agents/claude-cli/arg-builder.d.ts +0 -15
- package/dist/src/components/agents/claude-cli/arg-builder.d.ts.map +0 -1
- package/dist/src/components/agents/claude-cli/arg-builder.js +0 -87
- package/dist/src/components/agents/claude-cli/arg-builder.js.map +0 -1
- package/dist/src/components/agents/claude-cli/executor.d.ts +0 -11
- package/dist/src/components/agents/claude-cli/executor.d.ts.map +0 -1
- package/dist/src/components/agents/claude-cli/executor.js +0 -209
- package/dist/src/components/agents/claude-cli/executor.js.map +0 -1
- package/dist/src/components/agents/claude-cli/index.d.ts +0 -6
- package/dist/src/components/agents/claude-cli/index.d.ts.map +0 -1
- package/dist/src/components/agents/claude-cli/index.js +0 -5
- package/dist/src/components/agents/claude-cli/index.js.map +0 -1
- package/dist/src/components/agents/claude-cli/message-parser.d.ts +0 -33
- package/dist/src/components/agents/claude-cli/message-parser.d.ts.map +0 -1
- package/dist/src/components/agents/claude-cli/message-parser.js +0 -152
- package/dist/src/components/agents/claude-cli/message-parser.js.map +0 -1
- package/dist/src/components/agents/claude-cli/output-parser.d.ts +0 -18
- package/dist/src/components/agents/claude-cli/output-parser.d.ts.map +0 -1
- package/dist/src/components/agents/claude-cli/output-parser.js +0 -142
- package/dist/src/components/agents/claude-cli/output-parser.js.map +0 -1
- package/dist/src/components/agents/claude-cli/stop-conditions.d.ts +0 -9
- package/dist/src/components/agents/claude-cli/stop-conditions.d.ts.map +0 -1
- package/dist/src/components/agents/claude-cli/stop-conditions.js +0 -77
- package/dist/src/components/agents/claude-cli/stop-conditions.js.map +0 -1
- package/dist/src/components/agents/codex-cli/arg-builder.d.ts +0 -10
- package/dist/src/components/agents/codex-cli/arg-builder.d.ts.map +0 -1
- package/dist/src/components/agents/codex-cli/arg-builder.js +0 -95
- package/dist/src/components/agents/codex-cli/arg-builder.js.map +0 -1
- package/dist/src/components/agents/codex-cli/executor.d.ts +0 -9
- package/dist/src/components/agents/codex-cli/executor.d.ts.map +0 -1
- package/dist/src/components/agents/codex-cli/executor.js +0 -57
- package/dist/src/components/agents/codex-cli/executor.js.map +0 -1
- package/dist/src/components/agents/codex-cli/index.d.ts +0 -4
- package/dist/src/components/agents/codex-cli/index.d.ts.map +0 -1
- package/dist/src/components/agents/codex-cli/index.js +0 -4
- package/dist/src/components/agents/codex-cli/index.js.map +0 -1
- package/dist/src/components/agents/codex-cli/output-parser.d.ts +0 -14
- package/dist/src/components/agents/codex-cli/output-parser.d.ts.map +0 -1
- package/dist/src/components/agents/codex-cli/output-parser.js +0 -47
- package/dist/src/components/agents/codex-cli/output-parser.js.map +0 -1
- package/dist/src/components/agents/shared/cli-executor.d.ts +0 -63
- package/dist/src/components/agents/shared/cli-executor.d.ts.map +0 -1
- package/dist/src/components/agents/shared/cli-executor.js +0 -155
- package/dist/src/components/agents/shared/cli-executor.js.map +0 -1
- package/dist/src/components/agents/shared/index.d.ts +0 -2
- package/dist/src/components/agents/shared/index.d.ts.map +0 -1
- package/dist/src/components/agents/shared/index.js +0 -2
- package/dist/src/components/agents/shared/index.js.map +0 -1
- package/dist/src/components/agents/types/agents.d.ts +0 -197
- package/dist/src/components/agents/types/agents.d.ts.map +0 -1
- package/dist/src/components/agents/types/agents.js +0 -2
- package/dist/src/components/agents/types/agents.js.map +0 -1
- package/dist/src/components/agents/types/amp.d.ts +0 -182
- package/dist/src/components/agents/types/amp.d.ts.map +0 -1
- package/dist/src/components/agents/types/amp.js +0 -2
- package/dist/src/components/agents/types/amp.js.map +0 -1
- package/dist/src/components/agents/types/codex.d.ts +0 -222
- package/dist/src/components/agents/types/codex.d.ts.map +0 -1
- package/dist/src/components/agents/types/codex.js +0 -2
- package/dist/src/components/agents/types/codex.js.map +0 -1
- package/dist/src/components/agents/types/execution.d.ts +0 -132
- package/dist/src/components/agents/types/execution.d.ts.map +0 -1
- package/dist/src/components/agents/types/execution.js +0 -2
- package/dist/src/components/agents/types/execution.js.map +0 -1
- package/dist/src/components/agents/types/index.d.ts +0 -7
- package/dist/src/components/agents/types/index.d.ts.map +0 -1
- package/dist/src/components/agents/types/index.js +0 -2
- package/dist/src/components/agents/types/index.js.map +0 -1
- package/dist/src/components/agents/types/schema.d.ts +0 -11
- package/dist/src/components/agents/types/schema.d.ts.map +0 -1
- package/dist/src/components/agents/types/schema.js +0 -2
- package/dist/src/components/agents/types/schema.js.map +0 -1
- package/dist/src/components/agents/types/tools.d.ts +0 -5
- package/dist/src/components/agents/types/tools.d.ts.map +0 -1
- package/dist/src/components/agents/types/tools.js +0 -3
- package/dist/src/components/agents/types/tools.js.map +0 -1
- package/dist/src/components/agents/types.d.ts +0 -2
- package/dist/src/components/agents/types.d.ts.map +0 -1
- package/dist/src/components/agents/types.js +0 -2
- package/dist/src/components/agents/types.js.map +0 -1
- package/dist/src/components/index.d.ts +0 -44
- package/dist/src/components/index.d.ts.map +0 -1
- package/dist/src/components/index.js +0 -42
- package/dist/src/components/index.js.map +0 -1
- package/dist/src/control-plane/discover.d.ts +0 -6
- package/dist/src/control-plane/discover.d.ts.map +0 -1
- package/dist/src/control-plane/discover.js +0 -66
- package/dist/src/control-plane/discover.js.map +0 -1
- package/dist/src/control-plane/glob.d.ts +0 -7
- package/dist/src/control-plane/glob.d.ts.map +0 -1
- package/dist/src/control-plane/glob.js +0 -23
- package/dist/src/control-plane/glob.js.map +0 -1
- package/dist/src/control-plane/grep.d.ts +0 -19
- package/dist/src/control-plane/grep.d.ts.map +0 -1
- package/dist/src/control-plane/grep.js +0 -62
- package/dist/src/control-plane/grep.js.map +0 -1
- package/dist/src/control-plane/index.d.ts +0 -49
- package/dist/src/control-plane/index.d.ts.map +0 -1
- package/dist/src/control-plane/index.js +0 -26
- package/dist/src/control-plane/index.js.map +0 -1
- package/dist/src/control-plane/runner.d.ts +0 -26
- package/dist/src/control-plane/runner.d.ts.map +0 -1
- package/dist/src/control-plane/runner.js +0 -163
- package/dist/src/control-plane/runner.js.map +0 -1
- package/dist/src/control-plane/security.d.ts +0 -2
- package/dist/src/control-plane/security.d.ts.map +0 -1
- package/dist/src/control-plane/security.js +0 -18
- package/dist/src/control-plane/security.js.map +0 -1
- package/dist/src/control-plane/status.d.ts +0 -16
- package/dist/src/control-plane/status.d.ts.map +0 -1
- package/dist/src/control-plane/status.js +0 -106
- package/dist/src/control-plane/status.js.map +0 -1
- package/dist/src/control-plane/types.d.ts +0 -46
- package/dist/src/control-plane/types.d.ts.map +0 -1
- package/dist/src/control-plane/types.js +0 -2
- package/dist/src/control-plane/types.js.map +0 -1
- package/dist/src/control-plane/utils.d.ts +0 -3
- package/dist/src/control-plane/utils.d.ts.map +0 -1
- package/dist/src/control-plane/utils.js +0 -30
- package/dist/src/control-plane/utils.js.map +0 -1
- package/dist/src/core/index.d.ts +0 -3
- package/dist/src/core/index.d.ts.map +0 -1
- package/dist/src/core/index.js +0 -2
- package/dist/src/core/index.js.map +0 -1
- package/dist/src/db/agents.d.ts +0 -28
- package/dist/src/db/agents.d.ts.map +0 -1
- package/dist/src/db/agents.js +0 -133
- package/dist/src/db/agents.js.map +0 -1
- package/dist/src/db/artifacts.d.ts +0 -12
- package/dist/src/db/artifacts.d.ts.map +0 -1
- package/dist/src/db/artifacts.js +0 -45
- package/dist/src/db/artifacts.js.map +0 -1
- package/dist/src/db/build-state.d.ts +0 -22
- package/dist/src/db/build-state.d.ts.map +0 -1
- package/dist/src/db/build-state.js +0 -107
- package/dist/src/db/build-state.js.map +0 -1
- package/dist/src/db/execution.d.ts +0 -19
- package/dist/src/db/execution.d.ts.map +0 -1
- package/dist/src/db/execution.js +0 -88
- package/dist/src/db/execution.js.map +0 -1
- package/dist/src/db/human.d.ts +0 -69
- package/dist/src/db/human.d.ts.map +0 -1
- package/dist/src/db/human.js +0 -87
- package/dist/src/db/human.js.map +0 -1
- package/dist/src/db/index.d.ts +0 -58
- package/dist/src/db/index.d.ts.map +0 -1
- package/dist/src/db/index.js +0 -172
- package/dist/src/db/index.js.map +0 -1
- package/dist/src/db/memories.d.ts +0 -26
- package/dist/src/db/memories.d.ts.map +0 -1
- package/dist/src/db/memories.js +0 -104
- package/dist/src/db/memories.js.map +0 -1
- package/dist/src/db/phases.d.ts +0 -17
- package/dist/src/db/phases.d.ts.map +0 -1
- package/dist/src/db/phases.js +0 -48
- package/dist/src/db/phases.js.map +0 -1
- package/dist/src/db/query.d.ts +0 -8
- package/dist/src/db/query.d.ts.map +0 -1
- package/dist/src/db/query.js +0 -7
- package/dist/src/db/query.js.map +0 -1
- package/dist/src/db/render-frames.d.ts +0 -25
- package/dist/src/db/render-frames.d.ts.map +0 -1
- package/dist/src/db/render-frames.js +0 -69
- package/dist/src/db/render-frames.js.map +0 -1
- package/dist/src/db/schema.sql +0 -609
- package/dist/src/db/state.d.ts +0 -18
- package/dist/src/db/state.d.ts.map +0 -1
- package/dist/src/db/state.js +0 -77
- package/dist/src/db/state.js.map +0 -1
- package/dist/src/db/steps.d.ts +0 -23
- package/dist/src/db/steps.d.ts.map +0 -1
- package/dist/src/db/steps.js +0 -50
- package/dist/src/db/steps.js.map +0 -1
- package/dist/src/db/tasks.d.ts +0 -33
- package/dist/src/db/tasks.d.ts.map +0 -1
- package/dist/src/db/tasks.js +0 -84
- package/dist/src/db/tasks.js.map +0 -1
- package/dist/src/db/tools.d.ts +0 -15
- package/dist/src/db/tools.d.ts.map +0 -1
- package/dist/src/db/tools.js +0 -65
- package/dist/src/db/tools.js.map +0 -1
- package/dist/src/db/types.d.ts +0 -226
- package/dist/src/db/types.d.ts.map +0 -1
- package/dist/src/db/types.js +0 -2
- package/dist/src/db/types.js.map +0 -1
- package/dist/src/db/utils.d.ts +0 -8
- package/dist/src/db/utils.d.ts.map +0 -1
- package/dist/src/db/utils.js +0 -27
- package/dist/src/db/utils.js.map +0 -1
- package/dist/src/db/vcs-queue.d.ts +0 -21
- package/dist/src/db/vcs-queue.d.ts.map +0 -1
- package/dist/src/db/vcs-queue.js +0 -46
- package/dist/src/db/vcs-queue.js.map +0 -1
- package/dist/src/db/vcs.d.ts +0 -61
- package/dist/src/db/vcs.d.ts.map +0 -1
- package/dist/src/db/vcs.js +0 -229
- package/dist/src/db/vcs.js.map +0 -1
- package/dist/src/debug/index.d.ts +0 -41
- package/dist/src/debug/index.d.ts.map +0 -1
- package/dist/src/debug/index.js +0 -165
- package/dist/src/debug/index.js.map +0 -1
- package/dist/src/hooks/adapters/amp.d.ts +0 -4
- package/dist/src/hooks/adapters/amp.d.ts.map +0 -1
- package/dist/src/hooks/adapters/amp.js +0 -59
- package/dist/src/hooks/adapters/amp.js.map +0 -1
- package/dist/src/hooks/adapters/claude.d.ts +0 -4
- package/dist/src/hooks/adapters/claude.d.ts.map +0 -1
- package/dist/src/hooks/adapters/claude.js +0 -147
- package/dist/src/hooks/adapters/claude.js.map +0 -1
- package/dist/src/hooks/adapters/codex.d.ts +0 -4
- package/dist/src/hooks/adapters/codex.d.ts.map +0 -1
- package/dist/src/hooks/adapters/codex.js +0 -63
- package/dist/src/hooks/adapters/codex.js.map +0 -1
- package/dist/src/hooks/adapters/index.d.ts +0 -5
- package/dist/src/hooks/adapters/index.d.ts.map +0 -1
- package/dist/src/hooks/adapters/index.js +0 -4
- package/dist/src/hooks/adapters/index.js.map +0 -1
- package/dist/src/hooks/adapters/types.d.ts +0 -40
- package/dist/src/hooks/adapters/types.d.ts.map +0 -1
- package/dist/src/hooks/adapters/types.js +0 -2
- package/dist/src/hooks/adapters/types.js.map +0 -1
- package/dist/src/hooks/index.d.ts +0 -10
- package/dist/src/hooks/index.d.ts.map +0 -1
- package/dist/src/hooks/index.js +0 -10
- package/dist/src/hooks/index.js.map +0 -1
- package/dist/src/hooks/useAgentRunner.d.ts +0 -34
- package/dist/src/hooks/useAgentRunner.d.ts.map +0 -1
- package/dist/src/hooks/useAgentRunner.js +0 -244
- package/dist/src/hooks/useAgentRunner.js.map +0 -1
- package/dist/src/hooks/useAmp.d.ts +0 -7
- package/dist/src/hooks/useAmp.d.ts.map +0 -1
- package/dist/src/hooks/useAmp.js +0 -7
- package/dist/src/hooks/useAmp.js.map +0 -1
- package/dist/src/hooks/useCaptureRenderFrame.d.ts +0 -3
- package/dist/src/hooks/useCaptureRenderFrame.d.ts.map +0 -1
- package/dist/src/hooks/useCaptureRenderFrame.js +0 -20
- package/dist/src/hooks/useCaptureRenderFrame.js.map +0 -1
- package/dist/src/hooks/useClaude.d.ts +0 -7
- package/dist/src/hooks/useClaude.d.ts.map +0 -1
- package/dist/src/hooks/useClaude.js +0 -7
- package/dist/src/hooks/useClaude.js.map +0 -1
- package/dist/src/hooks/useCodex.d.ts +0 -7
- package/dist/src/hooks/useCodex.d.ts.map +0 -1
- package/dist/src/hooks/useCodex.js +0 -7
- package/dist/src/hooks/useCodex.js.map +0 -1
- package/dist/src/hooks/useHuman.d.ts +0 -10
- package/dist/src/hooks/useHuman.d.ts.map +0 -1
- package/dist/src/hooks/useHuman.js +0 -47
- package/dist/src/hooks/useHuman.js.map +0 -1
- package/dist/src/hooks/useHumanInteractive.d.ts +0 -36
- package/dist/src/hooks/useHumanInteractive.d.ts.map +0 -1
- package/dist/src/hooks/useHumanInteractive.js +0 -184
- package/dist/src/hooks/useHumanInteractive.js.map +0 -1
- package/dist/src/hooks/useRalphCount.d.ts +0 -2
- package/dist/src/hooks/useRalphCount.d.ts.map +0 -1
- package/dist/src/hooks/useRalphCount.js +0 -9
- package/dist/src/hooks/useRalphCount.js.map +0 -1
- package/dist/src/hooks/useReview.d.ts +0 -8
- package/dist/src/hooks/useReview.d.ts.map +0 -1
- package/dist/src/hooks/useReview.js +0 -261
- package/dist/src/hooks/useReview.js.map +0 -1
- package/dist/src/hooks/useSmithersSubagent.d.ts +0 -13
- package/dist/src/hooks/useSmithersSubagent.d.ts.map +0 -1
- package/dist/src/hooks/useSmithersSubagent.js +0 -215
- package/dist/src/hooks/useSmithersSubagent.js.map +0 -1
- package/dist/src/index.d.ts +0 -12
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -13
- package/dist/src/index.js.map +0 -1
- package/dist/src/jsx-runtime.d.ts +0 -9
- package/dist/src/jsx-runtime.d.ts.map +0 -1
- package/dist/src/jsx-runtime.js +0 -8
- package/dist/src/jsx-runtime.js.map +0 -1
- package/dist/src/middleware/compose.d.ts +0 -3
- package/dist/src/middleware/compose.d.ts.map +0 -1
- package/dist/src/middleware/compose.js +0 -71
- package/dist/src/middleware/compose.js.map +0 -1
- package/dist/src/middleware/create-transform-middleware.d.ts +0 -5
- package/dist/src/middleware/create-transform-middleware.d.ts.map +0 -1
- package/dist/src/middleware/create-transform-middleware.js +0 -4
- package/dist/src/middleware/create-transform-middleware.js.map +0 -1
- package/dist/src/middleware/extract-json.d.ts +0 -6
- package/dist/src/middleware/extract-json.d.ts.map +0 -1
- package/dist/src/middleware/extract-json.js +0 -32
- package/dist/src/middleware/extract-json.js.map +0 -1
- package/dist/src/middleware/extract-reasoning.d.ts +0 -9
- package/dist/src/middleware/extract-reasoning.d.ts.map +0 -1
- package/dist/src/middleware/extract-reasoning.js +0 -25
- package/dist/src/middleware/extract-reasoning.js.map +0 -1
- package/dist/src/middleware/index.d.ts +0 -13
- package/dist/src/middleware/index.d.ts.map +0 -1
- package/dist/src/middleware/index.js +0 -7
- package/dist/src/middleware/index.js.map +0 -1
- package/dist/src/middleware/retry.d.ts +0 -11
- package/dist/src/middleware/retry.d.ts.map +0 -1
- package/dist/src/middleware/retry.js +0 -38
- package/dist/src/middleware/retry.js.map +0 -1
- package/dist/src/middleware/types.d.ts +0 -13
- package/dist/src/middleware/types.d.ts.map +0 -1
- package/dist/src/middleware/types.js +0 -2
- package/dist/src/middleware/types.js.map +0 -1
- package/dist/src/middleware/validation.d.ts +0 -11
- package/dist/src/middleware/validation.d.ts.map +0 -1
- package/dist/src/middleware/validation.js +0 -23
- package/dist/src/middleware/validation.js.map +0 -1
- package/dist/src/monitor/haiku-summarizer.d.ts +0 -26
- package/dist/src/monitor/haiku-summarizer.d.ts.map +0 -1
- package/dist/src/monitor/haiku-summarizer.js +0 -98
- package/dist/src/monitor/haiku-summarizer.js.map +0 -1
- package/dist/src/monitor/index.d.ts +0 -8
- package/dist/src/monitor/index.d.ts.map +0 -1
- package/dist/src/monitor/index.js +0 -5
- package/dist/src/monitor/index.js.map +0 -1
- package/dist/src/monitor/log-writer.d.ts +0 -61
- package/dist/src/monitor/log-writer.d.ts.map +0 -1
- package/dist/src/monitor/log-writer.js +0 -281
- package/dist/src/monitor/log-writer.js.map +0 -1
- package/dist/src/monitor/output-parser.d.ts +0 -22
- package/dist/src/monitor/output-parser.d.ts.map +0 -1
- package/dist/src/monitor/output-parser.js +0 -106
- package/dist/src/monitor/output-parser.js.map +0 -1
- package/dist/src/monitor/stream-formatter.d.ts +0 -27
- package/dist/src/monitor/stream-formatter.d.ts.map +0 -1
- package/dist/src/monitor/stream-formatter.js +0 -147
- package/dist/src/monitor/stream-formatter.js.map +0 -1
- package/dist/src/rate-limits/index.d.ts +0 -8
- package/dist/src/rate-limits/index.d.ts.map +0 -1
- package/dist/src/rate-limits/index.js +0 -7
- package/dist/src/rate-limits/index.js.map +0 -1
- package/dist/src/rate-limits/middleware.d.ts +0 -10
- package/dist/src/rate-limits/middleware.d.ts.map +0 -1
- package/dist/src/rate-limits/middleware.js +0 -18
- package/dist/src/rate-limits/middleware.js.map +0 -1
- package/dist/src/rate-limits/monitor.d.ts +0 -18
- package/dist/src/rate-limits/monitor.d.ts.map +0 -1
- package/dist/src/rate-limits/monitor.js +0 -116
- package/dist/src/rate-limits/monitor.js.map +0 -1
- package/dist/src/rate-limits/providers/anthropic.d.ts +0 -6
- package/dist/src/rate-limits/providers/anthropic.d.ts.map +0 -1
- package/dist/src/rate-limits/providers/anthropic.js +0 -58
- package/dist/src/rate-limits/providers/anthropic.js.map +0 -1
- package/dist/src/rate-limits/providers/openai.d.ts +0 -7
- package/dist/src/rate-limits/providers/openai.d.ts.map +0 -1
- package/dist/src/rate-limits/providers/openai.js +0 -84
- package/dist/src/rate-limits/providers/openai.js.map +0 -1
- package/dist/src/rate-limits/store.d.ts +0 -16
- package/dist/src/rate-limits/store.d.ts.map +0 -1
- package/dist/src/rate-limits/store.js +0 -65
- package/dist/src/rate-limits/store.js.map +0 -1
- package/dist/src/rate-limits/throttle.d.ts +0 -10
- package/dist/src/rate-limits/throttle.d.ts.map +0 -1
- package/dist/src/rate-limits/throttle.js +0 -52
- package/dist/src/rate-limits/throttle.js.map +0 -1
- package/dist/src/rate-limits/types.d.ts +0 -76
- package/dist/src/rate-limits/types.d.ts.map +0 -1
- package/dist/src/rate-limits/types.js +0 -2
- package/dist/src/rate-limits/types.js.map +0 -1
- package/dist/src/reactive-sqlite/database.d.ts +0 -113
- package/dist/src/reactive-sqlite/database.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/database.js +0 -427
- package/dist/src/reactive-sqlite/database.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks/context.d.ts +0 -59
- package/dist/src/reactive-sqlite/hooks/context.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks/context.js +0 -60
- package/dist/src/reactive-sqlite/hooks/context.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks/index.d.ts +0 -12
- package/dist/src/reactive-sqlite/hooks/index.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks/index.js +0 -12
- package/dist/src/reactive-sqlite/hooks/index.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks/shared.d.ts +0 -59
- package/dist/src/reactive-sqlite/hooks/shared.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks/shared.js +0 -142
- package/dist/src/reactive-sqlite/hooks/shared.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useMutation.d.ts +0 -33
- package/dist/src/reactive-sqlite/hooks/useMutation.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useMutation.js +0 -88
- package/dist/src/reactive-sqlite/hooks/useMutation.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useQuery.d.ts +0 -34
- package/dist/src/reactive-sqlite/hooks/useQuery.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useQuery.js +0 -115
- package/dist/src/reactive-sqlite/hooks/useQuery.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts +0 -37
- package/dist/src/reactive-sqlite/hooks/useQueryOne.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useQueryOne.js +0 -44
- package/dist/src/reactive-sqlite/hooks/useQueryOne.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts +0 -31
- package/dist/src/reactive-sqlite/hooks/useQueryValue.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks/useQueryValue.js +0 -40
- package/dist/src/reactive-sqlite/hooks/useQueryValue.js.map +0 -1
- package/dist/src/reactive-sqlite/hooks.d.ts +0 -7
- package/dist/src/reactive-sqlite/hooks.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/hooks.js +0 -7
- package/dist/src/reactive-sqlite/hooks.js.map +0 -1
- package/dist/src/reactive-sqlite/index.d.ts +0 -38
- package/dist/src/reactive-sqlite/index.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/index.js +0 -40
- package/dist/src/reactive-sqlite/index.js.map +0 -1
- package/dist/src/reactive-sqlite/parser.d.ts +0 -37
- package/dist/src/reactive-sqlite/parser.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/parser.js +0 -267
- package/dist/src/reactive-sqlite/parser.js.map +0 -1
- package/dist/src/reactive-sqlite/types.d.ts +0 -64
- package/dist/src/reactive-sqlite/types.d.ts.map +0 -1
- package/dist/src/reactive-sqlite/types.js +0 -5
- package/dist/src/reactive-sqlite/types.js.map +0 -1
- package/dist/src/reconciler/hooks.d.ts +0 -17
- package/dist/src/reconciler/hooks.d.ts.map +0 -1
- package/dist/src/reconciler/hooks.js +0 -93
- package/dist/src/reconciler/hooks.js.map +0 -1
- package/dist/src/reconciler/host-config.d.ts +0 -7
- package/dist/src/reconciler/host-config.d.ts.map +0 -1
- package/dist/src/reconciler/host-config.js +0 -185
- package/dist/src/reconciler/host-config.js.map +0 -1
- package/dist/src/reconciler/index.d.ts +0 -9
- package/dist/src/reconciler/index.d.ts.map +0 -1
- package/dist/src/reconciler/index.js +0 -7
- package/dist/src/reconciler/index.js.map +0 -1
- package/dist/src/reconciler/jsx-runtime.d.ts +0 -13
- package/dist/src/reconciler/jsx-runtime.d.ts.map +0 -1
- package/dist/src/reconciler/jsx-runtime.js +0 -27
- package/dist/src/reconciler/jsx-runtime.js.map +0 -1
- package/dist/src/reconciler/methods.d.ts +0 -15
- package/dist/src/reconciler/methods.d.ts.map +0 -1
- package/dist/src/reconciler/methods.js +0 -82
- package/dist/src/reconciler/methods.js.map +0 -1
- package/dist/src/reconciler/root.d.ts +0 -13
- package/dist/src/reconciler/root.d.ts.map +0 -1
- package/dist/src/reconciler/root.js +0 -138
- package/dist/src/reconciler/root.js.map +0 -1
- package/dist/src/reconciler/serialize.d.ts +0 -3
- package/dist/src/reconciler/serialize.d.ts.map +0 -1
- package/dist/src/reconciler/serialize.js +0 -161
- package/dist/src/reconciler/serialize.js.map +0 -1
- package/dist/src/reconciler/types.d.ts +0 -37
- package/dist/src/reconciler/types.d.ts.map +0 -1
- package/dist/src/reconciler/types.js +0 -2
- package/dist/src/reconciler/types.js.map +0 -1
- package/dist/src/streaming/amp-parser.d.ts +0 -8
- package/dist/src/streaming/amp-parser.d.ts.map +0 -1
- package/dist/src/streaming/amp-parser.js +0 -60
- package/dist/src/streaming/amp-parser.js.map +0 -1
- package/dist/src/streaming/base-parser.d.ts +0 -10
- package/dist/src/streaming/base-parser.d.ts.map +0 -1
- package/dist/src/streaming/base-parser.js +0 -43
- package/dist/src/streaming/base-parser.js.map +0 -1
- package/dist/src/streaming/claude-parser.d.ts +0 -19
- package/dist/src/streaming/claude-parser.d.ts.map +0 -1
- package/dist/src/streaming/claude-parser.js +0 -162
- package/dist/src/streaming/claude-parser.js.map +0 -1
- package/dist/src/streaming/types.d.ts +0 -12
- package/dist/src/streaming/types.d.ts.map +0 -1
- package/dist/src/streaming/types.js +0 -2
- package/dist/src/streaming/types.js.map +0 -1
- package/dist/src/streaming/v3-compat.d.ts +0 -96
- package/dist/src/streaming/v3-compat.d.ts.map +0 -1
- package/dist/src/streaming/v3-compat.js +0 -2
- package/dist/src/streaming/v3-compat.js.map +0 -1
- package/dist/src/supersmithers/SuperSmithers.d.ts +0 -4
- package/dist/src/supersmithers/SuperSmithers.d.ts.map +0 -1
- package/dist/src/supersmithers/SuperSmithers.js +0 -210
- package/dist/src/supersmithers/SuperSmithers.js.map +0 -1
- package/dist/src/supersmithers/analyzer.d.ts +0 -13
- package/dist/src/supersmithers/analyzer.d.ts.map +0 -1
- package/dist/src/supersmithers/analyzer.js +0 -122
- package/dist/src/supersmithers/analyzer.js.map +0 -1
- package/dist/src/supersmithers/db.d.ts +0 -39
- package/dist/src/supersmithers/db.d.ts.map +0 -1
- package/dist/src/supersmithers/db.js +0 -99
- package/dist/src/supersmithers/db.js.map +0 -1
- package/dist/src/supersmithers/index.d.ts +0 -9
- package/dist/src/supersmithers/index.d.ts.map +0 -1
- package/dist/src/supersmithers/index.js +0 -21
- package/dist/src/supersmithers/index.js.map +0 -1
- package/dist/src/supersmithers/observer.d.ts +0 -6
- package/dist/src/supersmithers/observer.d.ts.map +0 -1
- package/dist/src/supersmithers/observer.js +0 -100
- package/dist/src/supersmithers/observer.js.map +0 -1
- package/dist/src/supersmithers/plugin.d.ts +0 -2
- package/dist/src/supersmithers/plugin.d.ts.map +0 -1
- package/dist/src/supersmithers/plugin.js +0 -73
- package/dist/src/supersmithers/plugin.js.map +0 -1
- package/dist/src/supersmithers/register.d.ts +0 -3
- package/dist/src/supersmithers/register.d.ts.map +0 -1
- package/dist/src/supersmithers/register.js +0 -10
- package/dist/src/supersmithers/register.js.map +0 -1
- package/dist/src/supersmithers/rewriter.d.ts +0 -32
- package/dist/src/supersmithers/rewriter.d.ts.map +0 -1
- package/dist/src/supersmithers/rewriter.js +0 -189
- package/dist/src/supersmithers/rewriter.js.map +0 -1
- package/dist/src/supersmithers/runtime.d.ts +0 -45
- package/dist/src/supersmithers/runtime.d.ts.map +0 -1
- package/dist/src/supersmithers/runtime.js +0 -91
- package/dist/src/supersmithers/runtime.js.map +0 -1
- package/dist/src/supersmithers/types.d.ts +0 -98
- package/dist/src/supersmithers/types.d.ts.map +0 -1
- package/dist/src/supersmithers/types.js +0 -7
- package/dist/src/supersmithers/types.js.map +0 -1
- package/dist/src/supersmithers/vcs.d.ts +0 -13
- package/dist/src/supersmithers/vcs.d.ts.map +0 -1
- package/dist/src/supersmithers/vcs.js +0 -123
- package/dist/src/supersmithers/vcs.js.map +0 -1
- package/dist/src/tools/ReportTool.d.ts +0 -25
- package/dist/src/tools/ReportTool.d.ts.map +0 -1
- package/dist/src/tools/ReportTool.js +0 -104
- package/dist/src/tools/ReportTool.js.map +0 -1
- package/dist/src/tools/createSmithersTool.d.ts +0 -39
- package/dist/src/tools/createSmithersTool.d.ts.map +0 -1
- package/dist/src/tools/createSmithersTool.js +0 -81
- package/dist/src/tools/createSmithersTool.js.map +0 -1
- package/dist/src/tools/index.d.ts +0 -8
- package/dist/src/tools/index.d.ts.map +0 -1
- package/dist/src/tools/index.js +0 -7
- package/dist/src/tools/index.js.map +0 -1
- package/dist/src/tools/legacy-mcp-server.d.ts +0 -17
- package/dist/src/tools/legacy-mcp-server.d.ts.map +0 -1
- package/dist/src/tools/legacy-mcp-server.js +0 -98
- package/dist/src/tools/legacy-mcp-server.js.map +0 -1
- package/dist/src/tools/legacy-tool-ipc.d.ts +0 -45
- package/dist/src/tools/legacy-tool-ipc.d.ts.map +0 -1
- package/dist/src/tools/legacy-tool-ipc.js +0 -173
- package/dist/src/tools/legacy-tool-ipc.js.map +0 -1
- package/dist/src/tools/legacy-tool-server.d.ts +0 -25
- package/dist/src/tools/legacy-tool-server.d.ts.map +0 -1
- package/dist/src/tools/legacy-tool-server.js +0 -34
- package/dist/src/tools/legacy-tool-server.js.map +0 -1
- package/dist/src/tools/mcp-jsonrpc.d.ts +0 -58
- package/dist/src/tools/mcp-jsonrpc.d.ts.map +0 -1
- package/dist/src/tools/mcp-jsonrpc.js +0 -145
- package/dist/src/tools/mcp-jsonrpc.js.map +0 -1
- package/dist/src/tools/registry.d.ts +0 -98
- package/dist/src/tools/registry.d.ts.map +0 -1
- package/dist/src/tools/registry.js +0 -119
- package/dist/src/tools/registry.js.map +0 -1
- package/dist/src/tools/smithers-mcp-server.d.ts +0 -16
- package/dist/src/tools/smithers-mcp-server.d.ts.map +0 -1
- package/dist/src/tools/smithers-mcp-server.js +0 -78
- package/dist/src/tools/smithers-mcp-server.js.map +0 -1
- package/dist/src/tools/tool-to-mcp.d.ts +0 -17
- package/dist/src/tools/tool-to-mcp.d.ts.map +0 -1
- package/dist/src/tools/tool-to-mcp.js +0 -35
- package/dist/src/tools/tool-to-mcp.js.map +0 -1
- package/dist/src/tools/types.d.ts +0 -54
- package/dist/src/tools/types.d.ts.map +0 -1
- package/dist/src/tools/types.js +0 -2
- package/dist/src/tools/types.js.map +0 -1
- package/dist/src/transport/smithers-chat-transport.d.ts +0 -55
- package/dist/src/transport/smithers-chat-transport.d.ts.map +0 -1
- package/dist/src/transport/smithers-chat-transport.js +0 -390
- package/dist/src/transport/smithers-chat-transport.js.map +0 -1
- package/dist/src/transport/types.d.ts +0 -49
- package/dist/src/transport/types.d.ts.map +0 -1
- package/dist/src/transport/types.js +0 -2
- package/dist/src/transport/types.js.map +0 -1
- package/dist/src/tui/App.d.ts +0 -16
- package/dist/src/tui/App.d.ts.map +0 -1
- package/dist/src/tui/App.js +0 -68
- package/dist/src/tui/App.js.map +0 -1
- package/dist/src/tui/appNavigation.d.ts +0 -22
- package/dist/src/tui/appNavigation.d.ts.map +0 -1
- package/dist/src/tui/appNavigation.js +0 -68
- package/dist/src/tui/appNavigation.js.map +0 -1
- package/dist/src/tui/components/index.d.ts +0 -4
- package/dist/src/tui/components/index.d.ts.map +0 -1
- package/dist/src/tui/components/index.js +0 -4
- package/dist/src/tui/components/index.js.map +0 -1
- package/dist/src/tui/components/layout/Header.d.ts +0 -6
- package/dist/src/tui/components/layout/Header.d.ts.map +0 -1
- package/dist/src/tui/components/layout/Header.js +0 -19
- package/dist/src/tui/components/layout/Header.js.map +0 -1
- package/dist/src/tui/components/layout/StatusBar.d.ts +0 -7
- package/dist/src/tui/components/layout/StatusBar.d.ts.map +0 -1
- package/dist/src/tui/components/layout/StatusBar.js +0 -17
- package/dist/src/tui/components/layout/StatusBar.js.map +0 -1
- package/dist/src/tui/components/layout/TabBar.d.ts +0 -8
- package/dist/src/tui/components/layout/TabBar.d.ts.map +0 -1
- package/dist/src/tui/components/layout/TabBar.js +0 -27
- package/dist/src/tui/components/layout/TabBar.js.map +0 -1
- package/dist/src/tui/components/layout/index.d.ts +0 -4
- package/dist/src/tui/components/layout/index.d.ts.map +0 -1
- package/dist/src/tui/components/layout/index.js +0 -4
- package/dist/src/tui/components/layout/index.js.map +0 -1
- package/dist/src/tui/components/shared/ScrollableList.d.ts +0 -20
- package/dist/src/tui/components/shared/ScrollableList.d.ts.map +0 -1
- package/dist/src/tui/components/shared/ScrollableList.js +0 -84
- package/dist/src/tui/components/shared/ScrollableList.js.map +0 -1
- package/dist/src/tui/components/shared/XMLViewer.d.ts +0 -7
- package/dist/src/tui/components/shared/XMLViewer.d.ts.map +0 -1
- package/dist/src/tui/components/shared/XMLViewer.js +0 -21
- package/dist/src/tui/components/shared/XMLViewer.js.map +0 -1
- package/dist/src/tui/components/shared/index.d.ts +0 -3
- package/dist/src/tui/components/shared/index.d.ts.map +0 -1
- package/dist/src/tui/components/shared/index.js +0 -3
- package/dist/src/tui/components/shared/index.js.map +0 -1
- package/dist/src/tui/components/views/ChatInterface.d.ts +0 -7
- package/dist/src/tui/components/views/ChatInterface.d.ts.map +0 -1
- package/dist/src/tui/components/views/ChatInterface.js +0 -43
- package/dist/src/tui/components/views/ChatInterface.js.map +0 -1
- package/dist/src/tui/components/views/DatabaseExplorer.d.ts +0 -7
- package/dist/src/tui/components/views/DatabaseExplorer.d.ts.map +0 -1
- package/dist/src/tui/components/views/DatabaseExplorer.js +0 -88
- package/dist/src/tui/components/views/DatabaseExplorer.js.map +0 -1
- package/dist/src/tui/components/views/ExecutionTimeline.d.ts +0 -7
- package/dist/src/tui/components/views/ExecutionTimeline.d.ts.map +0 -1
- package/dist/src/tui/components/views/ExecutionTimeline.js +0 -82
- package/dist/src/tui/components/views/ExecutionTimeline.js.map +0 -1
- package/dist/src/tui/components/views/HumanInteractionHandler.d.ts +0 -7
- package/dist/src/tui/components/views/HumanInteractionHandler.d.ts.map +0 -1
- package/dist/src/tui/components/views/HumanInteractionHandler.js +0 -77
- package/dist/src/tui/components/views/HumanInteractionHandler.js.map +0 -1
- package/dist/src/tui/components/views/RenderFrameInspector.d.ts +0 -7
- package/dist/src/tui/components/views/RenderFrameInspector.d.ts.map +0 -1
- package/dist/src/tui/components/views/RenderFrameInspector.js +0 -33
- package/dist/src/tui/components/views/RenderFrameInspector.js.map +0 -1
- package/dist/src/tui/components/views/ReportViewer.d.ts +0 -9
- package/dist/src/tui/components/views/ReportViewer.d.ts.map +0 -1
- package/dist/src/tui/components/views/ReportViewer.js +0 -66
- package/dist/src/tui/components/views/ReportViewer.js.map +0 -1
- package/dist/src/tui/components/views/index.d.ts +0 -7
- package/dist/src/tui/components/views/index.d.ts.map +0 -1
- package/dist/src/tui/components/views/index.js +0 -7
- package/dist/src/tui/components/views/index.js.map +0 -1
- package/dist/src/tui/hooks/index.d.ts +0 -8
- package/dist/src/tui/hooks/index.d.ts.map +0 -1
- package/dist/src/tui/hooks/index.js +0 -8
- package/dist/src/tui/hooks/index.js.map +0 -1
- package/dist/src/tui/hooks/useClaudeChat.d.ts +0 -16
- package/dist/src/tui/hooks/useClaudeChat.d.ts.map +0 -1
- package/dist/src/tui/hooks/useClaudeChat.js +0 -60
- package/dist/src/tui/hooks/useClaudeChat.js.map +0 -1
- package/dist/src/tui/hooks/useHumanRequests.d.ts +0 -13
- package/dist/src/tui/hooks/useHumanRequests.d.ts.map +0 -1
- package/dist/src/tui/hooks/useHumanRequests.js +0 -66
- package/dist/src/tui/hooks/useHumanRequests.js.map +0 -1
- package/dist/src/tui/hooks/usePollEvents.d.ts +0 -11
- package/dist/src/tui/hooks/usePollEvents.d.ts.map +0 -1
- package/dist/src/tui/hooks/usePollEvents.js +0 -56
- package/dist/src/tui/hooks/usePollEvents.js.map +0 -1
- package/dist/src/tui/hooks/usePollTableData.d.ts +0 -11
- package/dist/src/tui/hooks/usePollTableData.d.ts.map +0 -1
- package/dist/src/tui/hooks/usePollTableData.js +0 -46
- package/dist/src/tui/hooks/usePollTableData.js.map +0 -1
- package/dist/src/tui/hooks/useRenderFrames.d.ts +0 -15
- package/dist/src/tui/hooks/useRenderFrames.d.ts.map +0 -1
- package/dist/src/tui/hooks/useRenderFrames.js +0 -66
- package/dist/src/tui/hooks/useRenderFrames.js.map +0 -1
- package/dist/src/tui/hooks/useReportGenerator.d.ts +0 -10
- package/dist/src/tui/hooks/useReportGenerator.d.ts.map +0 -1
- package/dist/src/tui/hooks/useReportGenerator.js +0 -57
- package/dist/src/tui/hooks/useReportGenerator.js.map +0 -1
- package/dist/src/tui/hooks/useSmithersConnection.d.ts +0 -26
- package/dist/src/tui/hooks/useSmithersConnection.d.ts.map +0 -1
- package/dist/src/tui/hooks/useSmithersConnection.js +0 -78
- package/dist/src/tui/hooks/useSmithersConnection.js.map +0 -1
- package/dist/src/tui/index.d.ts +0 -5
- package/dist/src/tui/index.d.ts.map +0 -1
- package/dist/src/tui/index.js +0 -15
- package/dist/src/tui/index.js.map +0 -1
- package/dist/src/tui/services/claude-assistant.d.ts +0 -12
- package/dist/src/tui/services/claude-assistant.d.ts.map +0 -1
- package/dist/src/tui/services/claude-assistant.js +0 -82
- package/dist/src/tui/services/claude-assistant.js.map +0 -1
- package/dist/src/tui/services/index.d.ts +0 -3
- package/dist/src/tui/services/index.d.ts.map +0 -1
- package/dist/src/tui/services/index.js +0 -3
- package/dist/src/tui/services/index.js.map +0 -1
- package/dist/src/tui/services/report-generator.d.ts +0 -13
- package/dist/src/tui/services/report-generator.d.ts.map +0 -1
- package/dist/src/tui/services/report-generator.js +0 -135
- package/dist/src/tui/services/report-generator.js.map +0 -1
- package/dist/src/tui/state.d.ts +0 -5
- package/dist/src/tui/state.d.ts.map +0 -1
- package/dist/src/tui/state.js +0 -41
- package/dist/src/tui/state.js.map +0 -1
- package/dist/src/tui/test-utils.d.ts +0 -11
- package/dist/src/tui/test-utils.d.ts.map +0 -1
- package/dist/src/tui/test-utils.js +0 -19
- package/dist/src/tui/test-utils.js.map +0 -1
- package/dist/src/tui/utils/colors.d.ts +0 -19
- package/dist/src/tui/utils/colors.d.ts.map +0 -1
- package/dist/src/tui/utils/colors.js +0 -33
- package/dist/src/tui/utils/colors.js.map +0 -1
- package/dist/src/tui/utils/format.d.ts +0 -6
- package/dist/src/tui/utils/format.d.ts.map +0 -1
- package/dist/src/tui/utils/format.js +0 -37
- package/dist/src/tui/utils/format.js.map +0 -1
- package/dist/src/tui/utils/index.d.ts +0 -3
- package/dist/src/tui/utils/index.d.ts.map +0 -1
- package/dist/src/tui/utils/index.js +0 -3
- package/dist/src/tui/utils/index.js.map +0 -1
- package/dist/src/utils/capture.d.ts +0 -59
- package/dist/src/utils/capture.d.ts.map +0 -1
- package/dist/src/utils/capture.js +0 -350
- package/dist/src/utils/capture.js.map +0 -1
- package/dist/src/utils/extract-text.d.ts +0 -3
- package/dist/src/utils/extract-text.d.ts.map +0 -1
- package/dist/src/utils/extract-text.js +0 -19
- package/dist/src/utils/extract-text.js.map +0 -1
- package/dist/src/utils/mcp-config.d.ts +0 -14
- package/dist/src/utils/mcp-config.d.ts.map +0 -1
- package/dist/src/utils/mcp-config.js +0 -111
- package/dist/src/utils/mcp-config.js.map +0 -1
- package/dist/src/utils/progress-logger.d.ts +0 -39
- package/dist/src/utils/progress-logger.d.ts.map +0 -1
- package/dist/src/utils/progress-logger.js +0 -125
- package/dist/src/utils/progress-logger.js.map +0 -1
- package/dist/src/utils/scope.d.ts +0 -4
- package/dist/src/utils/scope.d.ts.map +0 -1
- package/dist/src/utils/scope.js +0 -23
- package/dist/src/utils/scope.js.map +0 -1
- package/dist/src/utils/structured-output/index.d.ts +0 -5
- package/dist/src/utils/structured-output/index.d.ts.map +0 -1
- package/dist/src/utils/structured-output/index.js +0 -4
- package/dist/src/utils/structured-output/index.js.map +0 -1
- package/dist/src/utils/structured-output/prompt-generator.d.ts +0 -4
- package/dist/src/utils/structured-output/prompt-generator.d.ts.map +0 -1
- package/dist/src/utils/structured-output/prompt-generator.js +0 -31
- package/dist/src/utils/structured-output/prompt-generator.js.map +0 -1
- package/dist/src/utils/structured-output/types.d.ts +0 -13
- package/dist/src/utils/structured-output/types.d.ts.map +0 -1
- package/dist/src/utils/structured-output/types.js +0 -2
- package/dist/src/utils/structured-output/types.js.map +0 -1
- package/dist/src/utils/structured-output/validator.d.ts +0 -5
- package/dist/src/utils/structured-output/validator.d.ts.map +0 -1
- package/dist/src/utils/structured-output/validator.js +0 -115
- package/dist/src/utils/structured-output/validator.js.map +0 -1
- package/dist/src/utils/structured-output/zod-converter.d.ts +0 -5
- package/dist/src/utils/structured-output/zod-converter.d.ts.map +0 -1
- package/dist/src/utils/structured-output/zod-converter.js +0 -74
- package/dist/src/utils/structured-output/zod-converter.js.map +0 -1
- package/dist/src/utils/structured-output.d.ts +0 -2
- package/dist/src/utils/structured-output.d.ts.map +0 -1
- package/dist/src/utils/structured-output.js +0 -2
- package/dist/src/utils/structured-output.js.map +0 -1
- package/dist/src/utils/vcs/git.d.ts +0 -30
- package/dist/src/utils/vcs/git.d.ts.map +0 -1
- package/dist/src/utils/vcs/git.js +0 -226
- package/dist/src/utils/vcs/git.js.map +0 -1
- package/dist/src/utils/vcs/index.d.ts +0 -5
- package/dist/src/utils/vcs/index.d.ts.map +0 -1
- package/dist/src/utils/vcs/index.js +0 -7
- package/dist/src/utils/vcs/index.js.map +0 -1
- package/dist/src/utils/vcs/jj.d.ts +0 -19
- package/dist/src/utils/vcs/jj.d.ts.map +0 -1
- package/dist/src/utils/vcs/jj.js +0 -113
- package/dist/src/utils/vcs/jj.js.map +0 -1
- package/dist/src/utils/vcs/parsers.d.ts +0 -5
- package/dist/src/utils/vcs/parsers.d.ts.map +0 -1
- package/dist/src/utils/vcs/parsers.js +0 -62
- package/dist/src/utils/vcs/parsers.js.map +0 -1
- package/dist/src/utils/vcs/types.d.ts +0 -36
- package/dist/src/utils/vcs/types.d.ts.map +0 -1
- package/dist/src/utils/vcs/types.js +0 -2
- package/dist/src/utils/vcs/types.js.map +0 -1
- package/dist/src/utils/vcs.d.ts +0 -2
- package/dist/src/utils/vcs.d.ts.map +0 -1
- package/dist/src/utils/vcs.js +0 -2
- package/dist/src/utils/vcs.js.map +0 -1
- package/opencode/agents/explorer.md +0 -196
- package/opencode/agents/librarian.md +0 -271
- package/opencode/agents/monitor.md +0 -110
- package/opencode/agents/oracle.md +0 -151
- package/opencode/agents/planner.md +0 -122
- package/opencode/agents/smithers.md +0 -144
- package/opencode/opencode.json +0 -42
- package/opencode/plugins/smithers.ts +0 -251
- package/preload.ts +0 -9
- package/templates/SmithersDemo.tsx +0 -327
- package/templates/component.tsx.template +0 -104
- package/templates/hook.tsx.template +0 -101
- package/templates/main.tsx.template +0 -247
- package/templates/simple-agent.tsx.template +0 -48
package/README.md
CHANGED
|
@@ -1,220 +1,324 @@
|
|
|
1
1
|
# Smithers
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[](https://opensource.org/licenses/MIT)
|
|
3
|
+
**Declarative AI workflow orchestration with React.**
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Multi-agent workflows are messy. Prompt chains break. Error handling is ad hoc. State lives in variables that vanish when your process crashes. Smithers fixes this by letting you define AI workflows as React component trees — declarative, composable, and automatically durable.
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
```tsx
|
|
8
|
+
import { createSmithers, Task, Parallel, Ralph } from "smithers-orchestrator";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const { Workflow, smithers } = createSmithers({
|
|
11
|
+
discover: z.object({ issues: z.array(z.string()) }),
|
|
12
|
+
ticket: z.object({ title: z.string(), body: z.string() }),
|
|
13
|
+
review: z.object({ approved: z.boolean(), feedback: z.string() }),
|
|
14
|
+
});
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
export default smithers((ctx) => (
|
|
17
|
+
<Workflow name="triage">
|
|
18
|
+
<Task id="discover" output="discover" agent={analyst}>
|
|
19
|
+
Find issues in the codebase
|
|
20
|
+
</Task>
|
|
21
|
+
<Parallel>
|
|
22
|
+
{ctx.output("discover", { nodeId: "discover" }).issues.map((issue, i) => (
|
|
23
|
+
<Task key={i} id={`ticket-${i}`} output="ticket" agent={writer}>
|
|
24
|
+
{`Write a ticket for: ${issue}`}
|
|
25
|
+
</Task>
|
|
26
|
+
))}
|
|
27
|
+
</Parallel>
|
|
28
|
+
<Ralph until={ctx.latest("review", "review-0")?.approved} maxIterations={3}>
|
|
29
|
+
<Task id="review-0" output="review" agent={reviewer}>
|
|
30
|
+
{`Review the tickets. Previous feedback: ${ctx.latest("review", "review-0")?.feedback ?? "none"}`}
|
|
31
|
+
</Task>
|
|
32
|
+
</Ralph>
|
|
33
|
+
</Workflow>
|
|
34
|
+
));
|
|
35
|
+
```
|
|
13
36
|
|
|
14
|
-
|
|
15
|
-
#!/usr/bin/env smithers
|
|
16
|
-
import {
|
|
17
|
-
createSmithersRoot,
|
|
18
|
-
createSmithersDB,
|
|
19
|
-
SmithersProvider,
|
|
20
|
-
Claude,
|
|
21
|
-
} from "smithers-orchestrator";
|
|
22
|
-
|
|
23
|
-
const db = createSmithersDB({ path: ".smithers/demo.db" });
|
|
24
|
-
const executionId = db.execution.start("Demo", "demo.tsx");
|
|
25
|
-
|
|
26
|
-
function Demo() {
|
|
27
|
-
return (
|
|
28
|
-
<SmithersProvider db={db} executionId={executionId} maxIterations={5}>
|
|
29
|
-
<Claude model="sonnet" onFinished={(r) => console.log(r.output)}>
|
|
30
|
-
Fix the failing tests in this repository.
|
|
31
|
-
</Claude>
|
|
32
|
-
</SmithersProvider>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
37
|
+
Your workflow is a DAG. Each `<Task>` is a node. `<Sequence>`, `<Parallel>`, `<Branch>`, and `<Ralph>` control execution order. The tree re-renders after each task completes — just like React re-renders after state changes. Outputs are persisted to SQLite, so a crashed workflow resumes exactly where it left off.
|
|
35
38
|
|
|
36
|
-
|
|
37
|
-
await root.mount(Demo);
|
|
38
|
-
await db.close();
|
|
39
|
-
```
|
|
39
|
+
## Install
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Requires [Bun](https://bun.sh) >= 1.3.
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
smithers
|
|
44
|
+
bun add smithers-orchestrator ai @ai-sdk/anthropic zod
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
By evolving a declarative plan rather than wiring up every agent interaction, Smithers excels at:
|
|
47
|
+
## Quick Start
|
|
50
48
|
|
|
51
|
-
1.
|
|
52
|
-
2. **Long-running agents** that run for days or weeks
|
|
49
|
+
### 1. Define your schemas
|
|
53
50
|
|
|
54
|
-
|
|
51
|
+
Each task output is a Zod schema. Smithers auto-creates SQLite tables from them.
|
|
55
52
|
|
|
56
|
-
|
|
53
|
+
```ts
|
|
54
|
+
import { z } from "zod";
|
|
57
55
|
|
|
58
|
-
|
|
56
|
+
const analyzeSchema = z.object({
|
|
57
|
+
summary: z.string(),
|
|
58
|
+
severity: z.enum(["low", "medium", "high"]),
|
|
59
|
+
files: z.array(z.string()),
|
|
60
|
+
});
|
|
59
61
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
const fixSchema = z.object({
|
|
63
|
+
patch: z.string(),
|
|
64
|
+
explanation: z.string(),
|
|
65
|
+
});
|
|
66
|
+
```
|
|
65
67
|
|
|
66
|
-
|
|
68
|
+
### 2. Create your smithers instance
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
```ts
|
|
71
|
+
import { createSmithers, Task, Sequence } from "smithers-orchestrator";
|
|
72
|
+
import { ToolLoopAgent as Agent } from "ai";
|
|
73
|
+
import { anthropic } from "@ai-sdk/anthropic";
|
|
69
74
|
|
|
70
|
-
|
|
75
|
+
const { Workflow, useCtx, smithers } = createSmithers({
|
|
76
|
+
analyze: analyzeSchema,
|
|
77
|
+
fix: fixSchema,
|
|
78
|
+
});
|
|
79
|
+
```
|
|
71
80
|
|
|
72
|
-
|
|
73
|
-
2. Execute runnable agents
|
|
74
|
-
3. Agent output updates state
|
|
75
|
-
4. State change triggers re-render
|
|
76
|
-
5. Loop until done
|
|
81
|
+
`createSmithers` handles everything: SQLite database, Drizzle tables, schema validation, context provider. You get back a typed `Workflow` component, a `useCtx()` hook, and a `smithers()` function to export your workflow.
|
|
77
82
|
|
|
78
|
-
|
|
83
|
+
### 3. Define your agents
|
|
79
84
|
|
|
80
|
-
|
|
85
|
+
```ts
|
|
86
|
+
const analyzer = new Agent({
|
|
87
|
+
model: anthropic("claude-sonnet-4-20250514"),
|
|
88
|
+
instructions: "You are a code analyst. Return structured JSON.",
|
|
89
|
+
});
|
|
81
90
|
|
|
82
|
-
|
|
91
|
+
const fixer = new Agent({
|
|
92
|
+
model: anthropic("claude-sonnet-4-20250514"),
|
|
93
|
+
instructions: "You are a senior engineer who writes minimal, correct fixes.",
|
|
94
|
+
});
|
|
95
|
+
```
|
|
83
96
|
|
|
84
|
-
|
|
97
|
+
### 4. Build your workflow
|
|
85
98
|
|
|
86
|
-
|
|
99
|
+
```tsx
|
|
100
|
+
export default smithers((ctx) => (
|
|
101
|
+
<Workflow name="bugfix">
|
|
102
|
+
<Sequence>
|
|
103
|
+
<Task id="analyze" output="analyze" outputSchema={analyzeSchema} agent={analyzer}>
|
|
104
|
+
{`Analyze the bug: ${ctx.input.description}`}
|
|
105
|
+
</Task>
|
|
106
|
+
<Task id="fix" output="fix" outputSchema={fixSchema} agent={fixer}>
|
|
107
|
+
{`Fix this issue: ${ctx.output("analyze", { nodeId: "analyze" }).summary}`}
|
|
108
|
+
</Task>
|
|
109
|
+
</Sequence>
|
|
110
|
+
</Workflow>
|
|
111
|
+
));
|
|
112
|
+
```
|
|
87
113
|
|
|
88
|
-
|
|
114
|
+
### 5. Run it
|
|
89
115
|
|
|
90
|
-
|
|
116
|
+
```bash
|
|
117
|
+
bunx smithers run workflow.tsx --input '{"description": "Auth tokens expire silently"}'
|
|
118
|
+
```
|
|
91
119
|
|
|
92
|
-
|
|
120
|
+
Or programmatically:
|
|
93
121
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
- A massive ecosystem of reactive hooks to reuse
|
|
122
|
+
```ts
|
|
123
|
+
import { runWorkflow } from "smithers-orchestrator";
|
|
124
|
+
import workflow from "./workflow";
|
|
98
125
|
|
|
99
|
-
|
|
126
|
+
const result = await runWorkflow(workflow, {
|
|
127
|
+
input: { description: "Auth tokens expire silently" },
|
|
128
|
+
});
|
|
129
|
+
```
|
|
100
130
|
|
|
101
|
-
|
|
131
|
+
## Core Concepts
|
|
102
132
|
|
|
103
|
-
|
|
133
|
+
### Components as pipeline stages
|
|
104
134
|
|
|
105
|
-
|
|
135
|
+
Every stage in your pipeline is a React component. This means you get composition, reuse, and conditional rendering for free.
|
|
106
136
|
|
|
107
137
|
```tsx
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
### Parallel Agents
|
|
138
|
+
function CodeReview({ fileGlob }: { fileGlob: string }) {
|
|
139
|
+
const ctx = useCtx();
|
|
140
|
+
return (
|
|
141
|
+
<Sequence>
|
|
142
|
+
<Task id="lint" output="lint" outputSchema={lintSchema} agent={linter}>
|
|
143
|
+
{`Lint files matching ${fileGlob}`}
|
|
144
|
+
</Task>
|
|
145
|
+
<Task id="review" output="review" outputSchema={reviewSchema} agent={reviewer}>
|
|
146
|
+
{`Review the lint results: ${JSON.stringify(ctx.latest("lint", "lint"))}`}
|
|
147
|
+
</Task>
|
|
148
|
+
</Sequence>
|
|
149
|
+
);
|
|
150
|
+
}
|
|
124
151
|
|
|
125
|
-
|
|
152
|
+
// Reuse it
|
|
126
153
|
<Parallel>
|
|
127
|
-
<
|
|
128
|
-
<
|
|
129
|
-
<Claude>Fix API</Claude>
|
|
154
|
+
<CodeReview fileGlob="src/**/*.ts" />
|
|
155
|
+
<CodeReview fileGlob="tests/**/*.ts" />
|
|
130
156
|
</Parallel>
|
|
131
157
|
```
|
|
132
158
|
|
|
133
|
-
### Structured
|
|
159
|
+
### Structured output with Zod
|
|
134
160
|
|
|
135
|
-
|
|
136
|
-
const ReviewSchema = z.object({
|
|
137
|
-
approved: z.boolean(),
|
|
138
|
-
issues: z.array(z.string()),
|
|
139
|
-
});
|
|
161
|
+
Every task output is validated against its Zod schema. If the agent returns malformed JSON, Smithers automatically retries with the validation error appended to the prompt — the agent self-corrects.
|
|
140
162
|
|
|
141
|
-
|
|
142
|
-
|
|
163
|
+
```tsx
|
|
164
|
+
<Task
|
|
165
|
+
id="analyze"
|
|
166
|
+
output="analyze"
|
|
167
|
+
outputSchema={analyzeSchema}
|
|
168
|
+
agent={analyzer}
|
|
169
|
+
retries={2}
|
|
170
|
+
>
|
|
171
|
+
Analyze the codebase for security issues
|
|
172
|
+
</Task>
|
|
143
173
|
```
|
|
144
174
|
|
|
145
|
-
###
|
|
175
|
+
### MDX prompts
|
|
146
176
|
|
|
147
|
-
|
|
148
|
-
<Worktree branch="feature-auth" cleanup>
|
|
149
|
-
<Claude>Implement authentication</Claude>
|
|
150
|
-
</Worktree>
|
|
151
|
-
```
|
|
177
|
+
Complex prompts get unwieldy as template literals. Use MDX instead — it renders to clean markdown, not HTML.
|
|
152
178
|
|
|
153
|
-
|
|
179
|
+
```mdx
|
|
180
|
+
{/* prompts/analyze.mdx */}
|
|
181
|
+
# Security Analysis
|
|
154
182
|
|
|
155
|
-
|
|
183
|
+
Analyze **{props.target}** for vulnerabilities.
|
|
156
184
|
|
|
157
|
-
|
|
185
|
+
## Focus areas
|
|
186
|
+
- {props.focus}
|
|
187
|
+
- Input validation
|
|
188
|
+
- Authentication flows
|
|
189
|
+
```
|
|
158
190
|
|
|
159
191
|
```tsx
|
|
160
|
-
|
|
161
|
-
|
|
192
|
+
import { mdxPlugin } from "smithers-orchestrator";
|
|
193
|
+
import AnalyzePrompt from "./prompts/analyze.mdx";
|
|
162
194
|
|
|
163
|
-
//
|
|
164
|
-
const phase = db.state.get("phase");
|
|
195
|
+
mdxPlugin(); // register once
|
|
165
196
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
executionId = incomplete.id;
|
|
170
|
-
}
|
|
197
|
+
<Task id="analyze" output="analyze" agent={analyzer}>
|
|
198
|
+
<AnalyzePrompt target="src/auth" focus="token handling" />
|
|
199
|
+
</Task>
|
|
171
200
|
```
|
|
172
201
|
|
|
173
|
-
|
|
202
|
+
### Validation loops with Ralph
|
|
174
203
|
|
|
175
|
-
|
|
204
|
+
`<Ralph>` re-runs its children until a condition is met. Each iteration is tracked separately in the database with an `iteration` counter.
|
|
176
205
|
|
|
177
|
-
|
|
206
|
+
```tsx
|
|
207
|
+
<Ralph
|
|
208
|
+
until={ctx.latest("review", "validate")?.approved}
|
|
209
|
+
maxIterations={5}
|
|
210
|
+
>
|
|
211
|
+
<Task id="implement" output="implement" agent={coder}>
|
|
212
|
+
{`Fix based on feedback: ${ctx.latest("review", "validate")?.feedback ?? "Initial implementation"}`}
|
|
213
|
+
</Task>
|
|
214
|
+
<Task id="validate" output="review" agent={reviewer}>
|
|
215
|
+
{`Review the implementation: ${ctx.latest("implement", "implement")?.code}`}
|
|
216
|
+
</Task>
|
|
217
|
+
</Ralph>
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Dynamic branching
|
|
221
|
+
|
|
222
|
+
The workflow tree re-renders after each task. Use standard JSX conditionals to create dynamic plans.
|
|
178
223
|
|
|
179
224
|
```tsx
|
|
180
|
-
<
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
225
|
+
<Task id="assess" output="assess" agent={analyst}>
|
|
226
|
+
Assess the complexity of this task
|
|
227
|
+
</Task>
|
|
228
|
+
|
|
229
|
+
{ctx.output("assess", { nodeId: "assess" }).complexity === "high" ? (
|
|
230
|
+
<Sequence>
|
|
231
|
+
<Task id="plan" output="plan" agent={architect}>Plan the implementation</Task>
|
|
232
|
+
<Task id="implement" output="code" agent={coder}>
|
|
233
|
+
{`Follow this plan: ${ctx.output("plan", { nodeId: "plan" }).steps}`}
|
|
234
|
+
</Task>
|
|
235
|
+
</Sequence>
|
|
236
|
+
) : (
|
|
237
|
+
<Task id="implement" output="code" agent={coder}>
|
|
238
|
+
Quick fix for the issue
|
|
239
|
+
</Task>
|
|
240
|
+
)}
|
|
188
241
|
```
|
|
189
242
|
|
|
190
|
-
|
|
243
|
+
## Components
|
|
191
244
|
|
|
192
|
-
|
|
245
|
+
| Component | Purpose | Key Props |
|
|
246
|
+
|-----------|---------|-----------|
|
|
247
|
+
| `<Workflow>` | Root container | `name`, `cache` |
|
|
248
|
+
| `<Task>` | Single AI or static task | `id`, `output`, `agent`, `outputSchema`, `retries` |
|
|
249
|
+
| `<Sequence>` | Run children in order | `skipIf` |
|
|
250
|
+
| `<Parallel>` | Run children concurrently | `maxConcurrency`, `skipIf` |
|
|
251
|
+
| `<Branch>` | Conditional execution | `if`, `then`, `else` |
|
|
252
|
+
| `<Ralph>` | Loop until condition met | `until`, `maxIterations` |
|
|
193
253
|
|
|
194
|
-
##
|
|
254
|
+
## Context API
|
|
195
255
|
|
|
196
|
-
```
|
|
197
|
-
|
|
256
|
+
```tsx
|
|
257
|
+
ctx.input // workflow input
|
|
258
|
+
ctx.output("analyze", { nodeId: "analyze" }) // specific row by string key
|
|
259
|
+
ctx.output(table, { nodeId: "analyze" }) // specific row by table object
|
|
260
|
+
ctx.latest("analyze", "analyze") // latest iteration for a node
|
|
261
|
+
ctx.latestArray(value, zodSchema) // parse + validate array field
|
|
262
|
+
ctx.iterationCount("analyze", "analyze") // count iterations for a node
|
|
263
|
+
ctx.runId // current run ID
|
|
264
|
+
ctx.iteration // current Ralph iteration
|
|
198
265
|
```
|
|
199
266
|
|
|
200
|
-
|
|
267
|
+
Access context inside components with the `useCtx()` hook:
|
|
201
268
|
|
|
202
|
-
|
|
269
|
+
```tsx
|
|
270
|
+
const { Workflow, useCtx, smithers } = createSmithers({ ... });
|
|
203
271
|
|
|
272
|
+
function MyComponent() {
|
|
273
|
+
const ctx = useCtx();
|
|
274
|
+
return <>{`Process: ${ctx.input.description}`}</>;
|
|
275
|
+
}
|
|
204
276
|
```
|
|
205
|
-
|
|
277
|
+
|
|
278
|
+
## Built-in Tools
|
|
279
|
+
|
|
280
|
+
```tsx
|
|
281
|
+
import { read, edit, bash, grep, write } from "smithers-orchestrator/tools";
|
|
282
|
+
|
|
283
|
+
const codeAgent = new Agent({
|
|
284
|
+
model: anthropic("claude-sonnet-4-20250514"),
|
|
285
|
+
tools: { read, edit, bash, grep, write },
|
|
286
|
+
instructions: "You are a senior software engineer.",
|
|
287
|
+
});
|
|
206
288
|
```
|
|
207
289
|
|
|
208
|
-
|
|
290
|
+
All tools are sandboxed to the workflow root directory. `bash` is network-disabled by default.
|
|
291
|
+
|
|
292
|
+
## How It Works
|
|
293
|
+
|
|
294
|
+
1. **Define** — Zod schemas become SQLite tables. React components become your DAG.
|
|
295
|
+
2. **Render** — Smithers renders the React tree, identifies runnable tasks (depth-first, left-to-right).
|
|
296
|
+
3. **Execute** — The engine runs each task, validates output against the schema, writes to SQLite.
|
|
297
|
+
4. **Re-render** — The tree re-renders with updated context. Newly unblocked tasks become runnable.
|
|
298
|
+
5. **Repeat** — Until no runnable tasks remain. Crash at any point and resume from the last checkpoint.
|
|
209
299
|
|
|
210
|
-
|
|
300
|
+
Every task result is a row in SQLite keyed by `(runId, nodeId, iteration)`. There is no in-memory state to lose.
|
|
211
301
|
|
|
212
|
-
|
|
302
|
+
## CLI
|
|
213
303
|
|
|
214
|
-
|
|
304
|
+
```bash
|
|
305
|
+
smithers run workflow.tsx --input '{"description": "Fix bugs"}'
|
|
306
|
+
smithers resume workflow.tsx --run-id abc123
|
|
307
|
+
smithers list workflow.tsx
|
|
308
|
+
smithers approve workflow.tsx --run-id abc123 --node-id review
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
## Server Mode
|
|
312
|
+
|
|
313
|
+
```ts
|
|
314
|
+
import { startServer } from "smithers-orchestrator/server";
|
|
315
|
+
|
|
316
|
+
startServer({
|
|
317
|
+
port: 7331,
|
|
318
|
+
authToken: process.env.SMITHERS_API_KEY,
|
|
319
|
+
});
|
|
320
|
+
```
|
|
215
321
|
|
|
216
|
-
##
|
|
322
|
+
## License
|
|
217
323
|
|
|
218
|
-
|
|
219
|
-
- [Examples](./examples)
|
|
220
|
-
- [Contributing](./CONTRIBUTING.md)
|
|
324
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,71 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smithers-orchestrator",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "AI workflow orchestration with JSX",
|
|
5
|
+
"author": "William Cory",
|
|
5
6
|
"license": "MIT",
|
|
7
|
+
"module": "src/index.ts",
|
|
6
8
|
"type": "module",
|
|
7
|
-
"main": "./dist/src/index.js",
|
|
8
9
|
"bin": {
|
|
9
|
-
"smithers": "
|
|
10
|
+
"smithers": "src/cli/index.ts"
|
|
10
11
|
},
|
|
11
12
|
"exports": {
|
|
12
|
-
".": "./
|
|
13
|
-
"./jsx-runtime": "./
|
|
14
|
-
"./jsx-dev-runtime": "./
|
|
15
|
-
"./
|
|
16
|
-
"./
|
|
17
|
-
"./
|
|
18
|
-
"./
|
|
13
|
+
".": "./src/index.ts",
|
|
14
|
+
"./jsx-runtime": "./src/jsx-runtime.ts",
|
|
15
|
+
"./jsx-dev-runtime": "./src/jsx-runtime.ts",
|
|
16
|
+
"./tools": "./src/tools/index.ts",
|
|
17
|
+
"./server": "./src/server/index.ts",
|
|
18
|
+
"./pi-plugin": "./src/pi-plugin/index.ts",
|
|
19
|
+
"./mdx-plugin": "./src/mdx-plugin.ts",
|
|
20
|
+
"./dom/renderer": "./src/dom/renderer.ts"
|
|
19
21
|
},
|
|
20
22
|
"files": [
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"templates",
|
|
25
|
-
"preload.ts",
|
|
26
|
-
"bunfig.toml",
|
|
27
|
-
"plugin.json",
|
|
28
|
-
"README.md"
|
|
23
|
+
"src/",
|
|
24
|
+
"README.md",
|
|
25
|
+
"LICENSE"
|
|
29
26
|
],
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"build:assets": "cp src/db/schema.sql dist/src/db/",
|
|
33
|
-
"build:lib": "bun scripts/build-lib.ts",
|
|
34
|
-
"build:bin": "bun build ./bin/cli.ts --outdir dist/bin --target bun",
|
|
35
|
-
"typecheck": "tsc --noEmit",
|
|
36
|
-
"typecheck:docs": "bun --config=/dev/null scripts/typecheck-docs.ts",
|
|
37
|
-
"lint": "oxlint src/",
|
|
38
|
-
"lint:fix": "oxlint --fix src/",
|
|
39
|
-
"test": "bun test",
|
|
40
|
-
"test:watch": "bun test --watch",
|
|
41
|
-
"check": "bun run typecheck && bun run lint && bun run test",
|
|
42
|
-
"prepare": "husky"
|
|
27
|
+
"engines": {
|
|
28
|
+
"bun": ">=1.3.0"
|
|
43
29
|
},
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"@babel/core": "^7.28.6",
|
|
48
|
-
"@babel/preset-typescript": "^7.28.5",
|
|
49
|
-
"@electric-sql/pglite": "^0.3.15",
|
|
50
|
-
"@opencode-ai/plugin": "^1.1.31",
|
|
51
|
-
"@opentui/core": "^0.1.74",
|
|
52
|
-
"@opentui/react": "^0.1.74",
|
|
53
|
-
"commander": "^12.0.0",
|
|
54
|
-
"opencode-ai": "^1.1.31",
|
|
55
|
-
"react": "^19.0.0",
|
|
56
|
-
"react-reconciler": "^0.32.0",
|
|
57
|
-
"zod": "^4.3.5"
|
|
58
|
-
},
|
|
59
|
-
"peerDependencies": {
|
|
60
|
-
"bun": ">=1.0.0"
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/evmts/smithers.git"
|
|
61
33
|
},
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"@types/react-reconciler": "^0.28.9",
|
|
66
|
-
"husky": "^9.1.7",
|
|
67
|
-
"oxlint": "^1.39.0",
|
|
68
|
-
"typescript": "^5.7.2"
|
|
34
|
+
"homepage": "https://github.com/evmts/smithers#readme",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/evmts/smithers/issues"
|
|
69
37
|
},
|
|
70
38
|
"keywords": [
|
|
71
39
|
"ai",
|
|
@@ -74,14 +42,37 @@
|
|
|
74
42
|
"jsx",
|
|
75
43
|
"llm",
|
|
76
44
|
"claude",
|
|
77
|
-
"anthropic",
|
|
78
45
|
"orchestration",
|
|
46
|
+
"workflow",
|
|
79
47
|
"bun"
|
|
80
48
|
],
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
49
|
+
"scripts": {
|
|
50
|
+
"typecheck": "tsc --noEmit",
|
|
51
|
+
"cli": "bun run src/cli/index.ts",
|
|
52
|
+
"test": "bun test tests/*.test.ts tests/*.test.tsx",
|
|
53
|
+
"e2e": "playwright test",
|
|
54
|
+
"dev": "bun run --filter smithers-desktop dev"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@ai-sdk/anthropic": "^3.0.36",
|
|
58
|
+
"@mdx-js/esbuild": "^3.1.1",
|
|
59
|
+
"ai": "^6.0.69",
|
|
60
|
+
"diff": "^5.2.0",
|
|
61
|
+
"drizzle-orm": "^0.45.1",
|
|
62
|
+
"drizzle-zod": "^0.8.3",
|
|
63
|
+
"react": "^19.2.4",
|
|
64
|
+
"react-dom": "^19.2.4",
|
|
65
|
+
"react-reconciler": "^0.31.0",
|
|
66
|
+
"zod": "^4.3.6"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"typescript": "^5"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@types/bun": "latest",
|
|
73
|
+
"@types/diff": "^5.2.0",
|
|
74
|
+
"@types/react": "^19.2.10",
|
|
75
|
+
"@types/react-reconciler": "^0.28.9",
|
|
76
|
+
"@playwright/test": "^1.52.0"
|
|
86
77
|
}
|
|
87
78
|
}
|