@shepai/cli 1.14.2 → 1.15.1
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 +191 -101
- package/dist/src/application/ports/output/{agent-executor-factory.interface.d.ts → agents/agent-executor-factory.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/agents/agent-executor-factory.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/{agent-executor.interface.d.ts → agents/agent-executor.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/agents/agent-executor.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/{agent-registry.interface.d.ts → agents/agent-registry.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/agents/agent-registry.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/{agent-run-repository.interface.d.ts → agents/agent-run-repository.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/agents/agent-run-repository.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/{agent-runner.interface.d.ts → agents/agent-runner.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/agents/agent-runner.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/{agent-validator.interface.d.ts → agents/agent-validator.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/agents/agent-validator.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/agents/feature-agent-process.interface.d.ts +44 -0
- package/dist/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/agents/feature-agent-process.interface.js +12 -0
- package/dist/src/application/ports/output/agents/index.d.ts +13 -0
- package/dist/src/application/ports/output/agents/index.d.ts.map +1 -0
- package/dist/src/application/ports/output/agents/index.js +6 -0
- package/dist/src/application/ports/output/index.d.ts +8 -11
- package/dist/src/application/ports/output/index.d.ts.map +1 -1
- package/dist/src/application/ports/output/index.js +5 -3
- package/dist/src/application/ports/output/repositories/feature-repository.interface.d.ts +76 -0
- package/dist/src/application/ports/output/repositories/feature-repository.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/repositories/feature-repository.interface.js +11 -0
- package/dist/src/application/ports/output/repositories/index.d.ts +8 -0
- package/dist/src/application/ports/output/repositories/index.d.ts.map +1 -0
- package/dist/src/application/ports/output/repositories/index.js +6 -0
- package/dist/src/application/ports/output/{settings.repository.interface.d.ts → repositories/settings.repository.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/repositories/settings.repository.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/external-issue-fetcher.interface.d.ts +69 -0
- package/dist/src/application/ports/output/services/external-issue-fetcher.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/external-issue-fetcher.interface.js +46 -0
- package/dist/src/application/ports/output/services/index.d.ts +13 -0
- package/dist/src/application/ports/output/services/index.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/index.js +7 -0
- package/dist/src/application/ports/output/services/spec-initializer.interface.d.ts +33 -0
- package/dist/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/spec-initializer.interface.js +8 -0
- package/dist/src/application/ports/output/{version-service.interface.d.ts → services/version-service.interface.d.ts} +1 -1
- package/dist/src/application/ports/output/services/version-service.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/web-server-service.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/worktree-service.interface.d.ts +83 -0
- package/dist/src/application/ports/output/services/worktree-service.interface.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/worktree-service.interface.js +30 -0
- package/dist/src/application/use-cases/agents/approve-agent-run.use-case.d.ts +22 -0
- package/dist/src/application/use-cases/agents/approve-agent-run.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/agents/approve-agent-run.use-case.js +67 -0
- package/dist/src/application/use-cases/agents/configure-agent.use-case.d.ts +2 -2
- package/dist/src/application/use-cases/agents/configure-agent.use-case.d.ts.map +1 -1
- package/dist/src/application/use-cases/agents/delete-agent-run.use-case.d.ts +16 -0
- package/dist/src/application/use-cases/agents/delete-agent-run.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/agents/delete-agent-run.use-case.js +46 -0
- package/dist/src/application/use-cases/agents/get-agent-run.use-case.d.ts +22 -0
- package/dist/src/application/use-cases/agents/get-agent-run.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/agents/get-agent-run.use-case.js +42 -0
- package/dist/src/application/use-cases/agents/list-agent-runs.use-case.d.ts +21 -0
- package/dist/src/application/use-cases/agents/list-agent-runs.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/agents/list-agent-runs.use-case.js +54 -0
- package/dist/src/application/use-cases/agents/reject-agent-run.use-case.d.ts +16 -0
- package/dist/src/application/use-cases/agents/reject-agent-run.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/agents/reject-agent-run.use-case.js +52 -0
- package/dist/src/application/use-cases/agents/run-agent.use-case.d.ts +2 -2
- package/dist/src/application/use-cases/agents/run-agent.use-case.d.ts.map +1 -1
- package/dist/src/application/use-cases/agents/show-agent-run.use-case.d.ts +24 -0
- package/dist/src/application/use-cases/agents/show-agent-run.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/agents/show-agent-run.use-case.js +52 -0
- package/dist/src/application/use-cases/agents/stop-agent-run.use-case.d.ts +15 -0
- package/dist/src/application/use-cases/agents/stop-agent-run.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/agents/stop-agent-run.use-case.js +86 -0
- package/dist/src/application/use-cases/agents/validate-agent-auth.use-case.d.ts +1 -1
- package/dist/src/application/use-cases/agents/validate-agent-auth.use-case.d.ts.map +1 -1
- package/dist/src/application/use-cases/features/create-feature.use-case.d.ts +43 -0
- package/dist/src/application/use-cases/features/create-feature.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/features/create-feature.use-case.js +166 -0
- package/dist/src/application/use-cases/features/delete-feature.use-case.d.ts +27 -0
- package/dist/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/features/delete-feature.use-case.js +83 -0
- package/dist/src/application/use-cases/features/list-features.use-case.d.ts +17 -0
- package/dist/src/application/use-cases/features/list-features.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/features/list-features.use-case.js +37 -0
- package/dist/src/application/use-cases/features/resume-feature.use-case.d.ts +24 -0
- package/dist/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/features/resume-feature.use-case.js +100 -0
- package/dist/src/application/use-cases/features/show-feature.use-case.d.ts +17 -0
- package/dist/src/application/use-cases/features/show-feature.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/features/show-feature.use-case.js +43 -0
- package/dist/src/application/use-cases/settings/initialize-settings.use-case.d.ts +1 -1
- package/dist/src/application/use-cases/settings/initialize-settings.use-case.d.ts.map +1 -1
- package/dist/src/application/use-cases/settings/load-settings.use-case.d.ts +1 -1
- package/dist/src/application/use-cases/settings/load-settings.use-case.d.ts.map +1 -1
- package/dist/src/application/use-cases/settings/update-settings.use-case.d.ts +1 -1
- package/dist/src/application/use-cases/settings/update-settings.use-case.d.ts.map +1 -1
- package/dist/src/domain/generated/output.d.ts +26 -1
- package/dist/src/domain/generated/output.d.ts.map +1 -1
- package/dist/src/domain/generated/output.js +1 -0
- package/dist/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/src/infrastructure/di/container.js +64 -14
- package/dist/src/infrastructure/persistence/sqlite/mappers/agent-run.mapper.d.ts +4 -0
- package/dist/src/infrastructure/persistence/sqlite/mappers/agent-run.mapper.d.ts.map +1 -1
- package/dist/src/infrastructure/persistence/sqlite/mappers/agent-run.mapper.js +8 -0
- package/dist/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +50 -0
- package/dist/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -0
- package/dist/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +62 -0
- package/dist/src/infrastructure/persistence/sqlite/migrations.d.ts.map +1 -1
- package/dist/src/infrastructure/persistence/sqlite/migrations.js +49 -0
- package/dist/src/infrastructure/repositories/agent-run.repository.d.ts +1 -1
- package/dist/src/infrastructure/repositories/agent-run.repository.d.ts.map +1 -1
- package/dist/src/infrastructure/repositories/agent-run.repository.js +30 -8
- package/dist/src/infrastructure/repositories/sqlite-feature.repository.d.ts +25 -0
- package/dist/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -0
- package/dist/src/infrastructure/repositories/sqlite-feature.repository.js +113 -0
- package/dist/src/infrastructure/repositories/sqlite-settings.repository.d.ts +1 -1
- package/dist/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/src/infrastructure/services/agents/{langgraph → analyze-repo}/analyze-repository-graph.d.ts +1 -23
- package/dist/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{langgraph → analyze-repo}/analyze-repository-graph.js +4 -11
- package/dist/src/infrastructure/services/agents/analyze-repo/prompts/analyze-repository.prompt.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{agent-executor-factory.service.d.ts → common/agent-executor-factory.service.d.ts} +3 -3
- package/dist/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{agent-registry.service.d.ts → common/agent-registry.service.d.ts} +1 -1
- package/dist/src/infrastructure/services/agents/common/agent-registry.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{agent-registry.service.js → common/agent-registry.service.js} +7 -1
- package/dist/src/infrastructure/services/agents/{agent-runner.service.d.ts → common/agent-runner.service.d.ts} +5 -5
- package/dist/src/infrastructure/services/agents/common/agent-runner.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{agent-runner.service.js → common/agent-runner.service.js} +4 -4
- package/dist/src/infrastructure/services/agents/{agent-validator.service.d.ts → common/agent-validator.service.d.ts} +2 -2
- package/dist/src/infrastructure/services/agents/common/agent-validator.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{langgraph → common}/checkpointer.d.ts +1 -0
- package/dist/src/infrastructure/services/agents/common/checkpointer.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{langgraph → common}/checkpointer.js +6 -0
- package/dist/src/infrastructure/services/agents/{executors → common/executors}/claude-code-executor.service.d.ts +9 -2
- package/dist/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/{executors → common/executors}/claude-code-executor.service.js +103 -6
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor-factory.service.d.ts +15 -0
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor-factory.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor-factory.service.js +16 -0
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor.service.d.ts +17 -0
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor.service.js +49 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +244 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-graph.js +36 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +20 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +90 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +31 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +236 -0
- package/dist/src/infrastructure/services/agents/feature-agent/heartbeat.d.ts +19 -0
- package/dist/src/infrastructure/services/agents/feature-agent/heartbeat.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/heartbeat.js +38 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/analyze.node.d.ts +7 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/analyze.node.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/analyze.node.js +9 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/implement.node.d.ts +11 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/implement.node.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/implement.node.js +23 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts +40 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +114 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/plan.node.d.ts +7 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/plan.node.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/plan.node.js +9 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/analyze.prompt.d.ts +9 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/analyze.prompt.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/analyze.prompt.js +94 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.d.ts +8 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.js +18 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/plan.prompt.d.ts +11 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/plan.prompt.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/plan.prompt.js +170 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/requirements.prompt.d.ts +10 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/requirements.prompt.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/requirements.prompt.js +116 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/research.prompt.d.ts +10 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/research.prompt.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/research.prompt.js +121 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/requirements.node.d.ts +7 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/requirements.node.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/requirements.node.js +9 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/research.node.d.ts +7 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/research.node.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/research.node.js +9 -0
- package/dist/src/infrastructure/services/agents/feature-agent/state.d.ts +39 -0
- package/dist/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -0
- package/dist/src/infrastructure/services/agents/feature-agent/state.js +27 -0
- package/dist/src/infrastructure/services/agents/streaming/streaming-executor-proxy.d.ts +1 -1
- package/dist/src/infrastructure/services/agents/streaming/streaming-executor-proxy.d.ts.map +1 -1
- package/dist/src/infrastructure/services/external/github-issue.service.d.ts +19 -0
- package/dist/src/infrastructure/services/external/github-issue.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/external/github-issue.service.js +59 -0
- package/dist/src/infrastructure/services/external/jira-ticket.service.d.ts +23 -0
- package/dist/src/infrastructure/services/external/jira-ticket.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/external/jira-ticket.service.js +57 -0
- package/dist/src/infrastructure/services/git/worktree.service.d.ts +28 -0
- package/dist/src/infrastructure/services/git/worktree.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/git/worktree.service.js +112 -0
- package/dist/src/infrastructure/services/spec/spec-initializer.service.d.ts +17 -0
- package/dist/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/spec/spec-initializer.service.js +281 -0
- package/dist/src/infrastructure/services/web-server.service.d.ts +1 -1
- package/dist/src/infrastructure/services/web-server.service.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/approve.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/agent/approve.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/approve.command.js +42 -0
- package/dist/src/presentation/cli/commands/agent/delete.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/agent/delete.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/delete.command.js +49 -0
- package/dist/src/presentation/cli/commands/agent/index.d.ts +21 -0
- package/dist/src/presentation/cli/commands/agent/index.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/index.js +38 -0
- package/dist/src/presentation/cli/commands/agent/logs.command.d.ts +13 -0
- package/dist/src/presentation/cli/commands/agent/logs.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/logs.command.js +163 -0
- package/dist/src/presentation/cli/commands/agent/ls.command.d.ts +12 -0
- package/dist/src/presentation/cli/commands/agent/ls.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/ls.command.js +111 -0
- package/dist/src/presentation/cli/commands/agent/reject.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/agent/reject.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/reject.command.js +43 -0
- package/dist/src/presentation/cli/commands/agent/resolve-run.d.ts +10 -0
- package/dist/src/presentation/cli/commands/agent/resolve-run.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/resolve-run.js +27 -0
- package/dist/src/presentation/cli/commands/agent/show.command.d.ts +12 -0
- package/dist/src/presentation/cli/commands/agent/show.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/show.command.js +202 -0
- package/dist/src/presentation/cli/commands/agent/stop.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/agent/stop.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/agent/stop.command.js +42 -0
- package/dist/src/presentation/cli/commands/feat/del.command.d.ts +17 -0
- package/dist/src/presentation/cli/commands/feat/del.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/del.command.js +55 -0
- package/dist/src/presentation/cli/commands/feat/index.d.ts +17 -0
- package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/index.js +29 -0
- package/dist/src/presentation/cli/commands/feat/ls.command.d.ts +15 -0
- package/dist/src/presentation/cli/commands/feat/ls.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/ls.command.js +112 -0
- package/dist/src/presentation/cli/commands/feat/new.command.d.ts +17 -0
- package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/new.command.js +64 -0
- package/dist/src/presentation/cli/commands/feat/resume.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/feat/resume.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/resume.command.js +33 -0
- package/dist/src/presentation/cli/commands/feat/show.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/feat/show.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/show.command.js +128 -0
- package/dist/src/presentation/cli/index.d.ts +8 -4
- package/dist/src/presentation/cli/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/index.js +12 -4
- package/dist/src/presentation/cli/ui/detail-view.d.ts +43 -0
- package/dist/src/presentation/cli/ui/detail-view.d.ts.map +1 -0
- package/dist/src/presentation/cli/ui/detail-view.js +57 -0
- package/dist/src/presentation/cli/ui/index.d.ts +2 -0
- package/dist/src/presentation/cli/ui/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/ui/index.js +2 -0
- package/dist/src/presentation/cli/ui/list-view.d.ts +34 -0
- package/dist/src/presentation/cli/ui/list-view.d.ts.map +1 -0
- package/dist/src/presentation/cli/ui/list-view.js +65 -0
- package/dist/src/presentation/cli/ui/symbols.d.ts +5 -1
- package/dist/src/presentation/cli/ui/symbols.d.ts.map +1 -1
- package/dist/src/presentation/cli/ui/symbols.js +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/build-manifest.json +2 -2
- package/web/.next/cache/.previewinfo +1 -1
- package/web/.next/cache/.rscinfo +1 -1
- package/web/.next/cache/config.json +3 -3
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.html +2 -2
- package/web/.next/server/app/_not-found.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/index.html +2 -2
- package/web/.next/server/app/index.rsc +1 -1
- package/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/version.html +2 -2
- package/web/.next/server/app/version.rsc +1 -1
- package/web/.next/server/app/version.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/version/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/version.segment.rsc +1 -1
- package/web/.next/server/chunks/ssr/_19be0743._.js +1 -1
- package/web/.next/server/pages/404.html +2 -2
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/dist/src/application/ports/output/agent-executor-factory.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agent-executor.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agent-registry.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agent-run-repository.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agent-runner.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agent-validator.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/settings.repository.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/version-service.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/web-server-service.interface.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/agent-executor-factory.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/agent-registry.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/agent-runner.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/agent-validator.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/executors/claude-code-executor.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/langgraph/analyze-repository-graph.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/langgraph/checkpointer.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/langgraph/prompts/analyze-repository.prompt.d.ts.map +0 -1
- /package/dist/src/application/ports/output/{agent-executor-factory.interface.js → agents/agent-executor-factory.interface.js} +0 -0
- /package/dist/src/application/ports/output/{agent-executor.interface.js → agents/agent-executor.interface.js} +0 -0
- /package/dist/src/application/ports/output/{agent-registry.interface.js → agents/agent-registry.interface.js} +0 -0
- /package/dist/src/application/ports/output/{agent-run-repository.interface.js → agents/agent-run-repository.interface.js} +0 -0
- /package/dist/src/application/ports/output/{agent-runner.interface.js → agents/agent-runner.interface.js} +0 -0
- /package/dist/src/application/ports/output/{agent-validator.interface.js → agents/agent-validator.interface.js} +0 -0
- /package/dist/src/application/ports/output/{settings.repository.interface.js → repositories/settings.repository.interface.js} +0 -0
- /package/dist/src/application/ports/output/{version-service.interface.js → services/version-service.interface.js} +0 -0
- /package/dist/src/application/ports/output/{web-server-service.interface.d.ts → services/web-server-service.interface.d.ts} +0 -0
- /package/dist/src/application/ports/output/{web-server-service.interface.js → services/web-server-service.interface.js} +0 -0
- /package/dist/src/infrastructure/services/agents/{langgraph → analyze-repo}/prompts/analyze-repository.prompt.d.ts +0 -0
- /package/dist/src/infrastructure/services/agents/{langgraph → analyze-repo}/prompts/analyze-repository.prompt.js +0 -0
- /package/dist/src/infrastructure/services/agents/{agent-executor-factory.service.js → common/agent-executor-factory.service.js} +0 -0
- /package/dist/src/infrastructure/services/agents/{agent-validator.service.js → common/agent-validator.service.js} +0 -0
- /package/web/.next/static/{rCkFI74-eja9LrkBfHFpp → iYaq62xFNOChDTbH3WMrr}/_buildManifest.js +0 -0
- /package/web/.next/static/{rCkFI74-eja9LrkBfHFpp → iYaq62xFNOChDTbH3WMrr}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{rCkFI74-eja9LrkBfHFpp → iYaq62xFNOChDTbH3WMrr}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../../../src/domain/generated/output.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,EAAE,EAAE,IAAI,CAAC;IACT;;OAEG;IACH,SAAS,EAAE,GAAG,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG;IAC5C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,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B;IACtC,YAAY,kBAAkB;CAC/B;AACD,MAAM,MAAM,YAAY,GAAG,sBAAsB,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;AAEzF,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,CAAC,OAAO,EAAE,UAAU,GAAG,WAAW,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,gBAAgB,IAAI,OAAO,CAAC;IAC5B,kBAAkB,IAAI,WAAW,EAAE,CAAC;IACpC,UAAU,IAAI,QAAQ,CAAC;IACvB,UAAU,IAAI,IAAI,CAAC;IACnB,mBAAmB,IAAI,IAAI,CAAC;IAC5B,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,GAAG,UAAU,CAAC;IAC7D,OAAO,CAAC,cAAc,EAAE,MAAM,GAAG,WAAW,CAAC;IAC7C,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAC;CACjC,CAAC"}
|
|
@@ -112,6 +112,7 @@ export var AgentRunStatus;
|
|
|
112
112
|
AgentRunStatus["failed"] = "failed";
|
|
113
113
|
AgentRunStatus["interrupted"] = "interrupted";
|
|
114
114
|
AgentRunStatus["cancelled"] = "cancelled";
|
|
115
|
+
AgentRunStatus["waitingApproval"] = "waiting_approval";
|
|
115
116
|
})(AgentRunStatus || (AgentRunStatus = {}));
|
|
116
117
|
export var AgentFeature;
|
|
117
118
|
(function (AgentFeature) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/di/container.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/di/container.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAgErC;;;;;GAKG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,OAAO,SAAS,CAAC,CA8GrE;AAED;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -13,16 +13,21 @@
|
|
|
13
13
|
import 'reflect-metadata';
|
|
14
14
|
import { container } from 'tsyringe';
|
|
15
15
|
import { SQLiteSettingsRepository } from '../repositories/sqlite-settings.repository.js';
|
|
16
|
-
import {
|
|
16
|
+
import { SQLiteFeatureRepository } from '../repositories/sqlite-feature.repository.js';
|
|
17
|
+
import { AgentValidatorService } from '../services/agents/common/agent-validator.service.js';
|
|
17
18
|
import { promisify } from 'node:util';
|
|
18
19
|
import { execFile } from 'node:child_process';
|
|
19
20
|
import { VersionService } from '../services/version.service.js';
|
|
20
21
|
import { WebServerService } from '../services/web-server.service.js';
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
22
|
+
import { WorktreeService } from '../services/git/worktree.service.js';
|
|
23
|
+
import { AgentExecutorFactory } from '../services/agents/common/agent-executor-factory.service.js';
|
|
24
|
+
import { MockAgentExecutorFactory } from '../services/agents/common/executors/mock-executor-factory.service.js';
|
|
25
|
+
import { AgentRegistryService } from '../services/agents/common/agent-registry.service.js';
|
|
26
|
+
import { AgentRunnerService } from '../services/agents/common/agent-runner.service.js';
|
|
24
27
|
import { SQLiteAgentRunRepository } from '../repositories/agent-run.repository.js';
|
|
25
|
-
import {
|
|
28
|
+
import { FeatureAgentProcessService } from '../services/agents/feature-agent/feature-agent-process.service.js';
|
|
29
|
+
import { SpecInitializerService } from '../services/spec/spec-initializer.service.js';
|
|
30
|
+
import { createCheckpointer } from '../services/agents/common/checkpointer.js';
|
|
26
31
|
import { spawn } from 'node:child_process';
|
|
27
32
|
// Use cases
|
|
28
33
|
import { InitializeSettingsUseCase } from '../../application/use-cases/settings/initialize-settings.use-case.js';
|
|
@@ -31,6 +36,17 @@ import { UpdateSettingsUseCase } from '../../application/use-cases/settings/upda
|
|
|
31
36
|
import { ConfigureAgentUseCase } from '../../application/use-cases/agents/configure-agent.use-case.js';
|
|
32
37
|
import { ValidateAgentAuthUseCase } from '../../application/use-cases/agents/validate-agent-auth.use-case.js';
|
|
33
38
|
import { RunAgentUseCase } from '../../application/use-cases/agents/run-agent.use-case.js';
|
|
39
|
+
import { GetAgentRunUseCase } from '../../application/use-cases/agents/get-agent-run.use-case.js';
|
|
40
|
+
import { ListAgentRunsUseCase } from '../../application/use-cases/agents/list-agent-runs.use-case.js';
|
|
41
|
+
import { StopAgentRunUseCase } from '../../application/use-cases/agents/stop-agent-run.use-case.js';
|
|
42
|
+
import { DeleteAgentRunUseCase } from '../../application/use-cases/agents/delete-agent-run.use-case.js';
|
|
43
|
+
import { ApproveAgentRunUseCase } from '../../application/use-cases/agents/approve-agent-run.use-case.js';
|
|
44
|
+
import { RejectAgentRunUseCase } from '../../application/use-cases/agents/reject-agent-run.use-case.js';
|
|
45
|
+
import { CreateFeatureUseCase } from '../../application/use-cases/features/create-feature.use-case.js';
|
|
46
|
+
import { ListFeaturesUseCase } from '../../application/use-cases/features/list-features.use-case.js';
|
|
47
|
+
import { ShowFeatureUseCase } from '../../application/use-cases/features/show-feature.use-case.js';
|
|
48
|
+
import { DeleteFeatureUseCase } from '../../application/use-cases/features/delete-feature.use-case.js';
|
|
49
|
+
import { ResumeFeatureUseCase } from '../../application/use-cases/features/resume-feature.use-case.js';
|
|
34
50
|
// Database connection
|
|
35
51
|
import { getSQLiteConnection } from '../persistence/sqlite/connection.js';
|
|
36
52
|
import { runSQLiteMigrations } from '../persistence/sqlite/migrations.js';
|
|
@@ -54,6 +70,12 @@ export async function initializeContainer() {
|
|
|
54
70
|
return new SQLiteSettingsRepository(database);
|
|
55
71
|
},
|
|
56
72
|
});
|
|
73
|
+
container.register('IFeatureRepository', {
|
|
74
|
+
useFactory: (c) => {
|
|
75
|
+
const database = c.resolve('Database');
|
|
76
|
+
return new SQLiteFeatureRepository(database);
|
|
77
|
+
},
|
|
78
|
+
});
|
|
57
79
|
// Register external dependencies as tokens
|
|
58
80
|
const execFileAsync = promisify(execFile);
|
|
59
81
|
container.registerInstance('ExecFunction', execFileAsync);
|
|
@@ -63,6 +85,7 @@ export async function initializeContainer() {
|
|
|
63
85
|
container.register('IWebServerService', {
|
|
64
86
|
useFactory: () => new WebServerService(),
|
|
65
87
|
});
|
|
88
|
+
container.registerSingleton('IWorktreeService', WorktreeService);
|
|
66
89
|
// Register agent infrastructure
|
|
67
90
|
container.register('IAgentRunRepository', {
|
|
68
91
|
useFactory: (c) => {
|
|
@@ -70,15 +93,22 @@ export async function initializeContainer() {
|
|
|
70
93
|
return new SQLiteAgentRunRepository(database);
|
|
71
94
|
},
|
|
72
95
|
});
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
96
|
+
if (process.env.SHEP_MOCK_EXECUTOR === '1') {
|
|
97
|
+
container.register('IAgentExecutorFactory', {
|
|
98
|
+
useFactory: () => new MockAgentExecutorFactory(),
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
container.register('IAgentExecutorFactory', {
|
|
103
|
+
useFactory: () => {
|
|
104
|
+
// Wrap spawn to ensure stdio is explicitly set to 'pipe'
|
|
105
|
+
const spawnWithPipe = (command, args, options) => {
|
|
106
|
+
return spawn(command, args, { ...options, stdio: 'pipe' });
|
|
107
|
+
};
|
|
108
|
+
return new AgentExecutorFactory(spawnWithPipe);
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
}
|
|
82
112
|
container.register('IAgentRegistry', {
|
|
83
113
|
useFactory: () => new AgentRegistryService(),
|
|
84
114
|
});
|
|
@@ -94,6 +124,15 @@ export async function initializeContainer() {
|
|
|
94
124
|
return new AgentRunnerService(registry, executorFactory, checkpointer, runRepository);
|
|
95
125
|
},
|
|
96
126
|
});
|
|
127
|
+
container.register('IFeatureAgentProcessService', {
|
|
128
|
+
useFactory: (c) => {
|
|
129
|
+
const runRepository = c.resolve('IAgentRunRepository');
|
|
130
|
+
return new FeatureAgentProcessService(runRepository);
|
|
131
|
+
},
|
|
132
|
+
});
|
|
133
|
+
container.register('ISpecInitializerService', {
|
|
134
|
+
useFactory: () => new SpecInitializerService(),
|
|
135
|
+
});
|
|
97
136
|
// Register use cases (singletons for performance)
|
|
98
137
|
container.registerSingleton(InitializeSettingsUseCase);
|
|
99
138
|
container.registerSingleton(LoadSettingsUseCase);
|
|
@@ -101,6 +140,17 @@ export async function initializeContainer() {
|
|
|
101
140
|
container.registerSingleton(ConfigureAgentUseCase);
|
|
102
141
|
container.registerSingleton(ValidateAgentAuthUseCase);
|
|
103
142
|
container.registerSingleton(RunAgentUseCase);
|
|
143
|
+
container.registerSingleton(GetAgentRunUseCase);
|
|
144
|
+
container.registerSingleton(ListAgentRunsUseCase);
|
|
145
|
+
container.registerSingleton(StopAgentRunUseCase);
|
|
146
|
+
container.registerSingleton(DeleteAgentRunUseCase);
|
|
147
|
+
container.registerSingleton(ApproveAgentRunUseCase);
|
|
148
|
+
container.registerSingleton(RejectAgentRunUseCase);
|
|
149
|
+
container.registerSingleton(CreateFeatureUseCase);
|
|
150
|
+
container.registerSingleton(ListFeaturesUseCase);
|
|
151
|
+
container.registerSingleton(ShowFeatureUseCase);
|
|
152
|
+
container.registerSingleton(DeleteFeatureUseCase);
|
|
153
|
+
container.registerSingleton(ResumeFeatureUseCase);
|
|
104
154
|
return container;
|
|
105
155
|
}
|
|
106
156
|
/**
|
|
@@ -28,8 +28,12 @@ export interface AgentRunRow {
|
|
|
28
28
|
started_at: number | null;
|
|
29
29
|
completed_at: number | null;
|
|
30
30
|
error: string | null;
|
|
31
|
+
feature_id: string | null;
|
|
32
|
+
repository_path: string | null;
|
|
31
33
|
created_at: number;
|
|
32
34
|
updated_at: number;
|
|
35
|
+
approval_mode: string | null;
|
|
36
|
+
approval_status: string | null;
|
|
33
37
|
}
|
|
34
38
|
/**
|
|
35
39
|
* Maps AgentRun domain object to database row.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-run.mapper.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/persistence/sqlite/mappers/agent-run.mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAGvE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-run.mapper.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/persistence/sqlite/mappers/agent-run.mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAGvE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,WAAW,CAyB1D;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,WAAW,GAAG,QAAQ,CAsBvD"}
|
|
@@ -31,8 +31,12 @@ export function toDatabase(agentRun) {
|
|
|
31
31
|
started_at: agentRun.startedAt instanceof Date ? agentRun.startedAt.getTime() : null,
|
|
32
32
|
completed_at: agentRun.completedAt instanceof Date ? agentRun.completedAt.getTime() : null,
|
|
33
33
|
error: agentRun.error ?? null,
|
|
34
|
+
feature_id: agentRun.featureId ?? null,
|
|
35
|
+
repository_path: agentRun.repositoryPath ?? null,
|
|
34
36
|
created_at: agentRun.createdAt instanceof Date ? agentRun.createdAt.getTime() : agentRun.createdAt,
|
|
35
37
|
updated_at: agentRun.updatedAt instanceof Date ? agentRun.updatedAt.getTime() : agentRun.updatedAt,
|
|
38
|
+
approval_mode: agentRun.approvalMode ?? null,
|
|
39
|
+
approval_status: agentRun.approvalStatus ?? null,
|
|
36
40
|
};
|
|
37
41
|
}
|
|
38
42
|
/**
|
|
@@ -60,5 +64,9 @@ export function fromDatabase(row) {
|
|
|
60
64
|
...(row.started_at !== null && { startedAt: new Date(row.started_at) }),
|
|
61
65
|
...(row.completed_at !== null && { completedAt: new Date(row.completed_at) }),
|
|
62
66
|
...(row.error !== null && { error: row.error }),
|
|
67
|
+
...(row.feature_id !== null && { featureId: row.feature_id }),
|
|
68
|
+
...(row.repository_path !== null && { repositoryPath: row.repository_path }),
|
|
69
|
+
...(row.approval_mode !== null && { approvalMode: row.approval_mode }),
|
|
70
|
+
...(row.approval_status !== null && { approvalStatus: row.approval_status }),
|
|
63
71
|
};
|
|
64
72
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Feature Database Mapper
|
|
3
|
+
*
|
|
4
|
+
* Maps between Feature domain objects and SQLite database rows.
|
|
5
|
+
*
|
|
6
|
+
* Mapping Rules:
|
|
7
|
+
* - TypeScript objects (camelCase) <-> SQL columns (snake_case)
|
|
8
|
+
* - Dates stored as INTEGER (unix milliseconds)
|
|
9
|
+
* - Optional fields stored as NULL when missing
|
|
10
|
+
* - Arrays/objects stored as JSON TEXT
|
|
11
|
+
* - SdlcLifecycle stored as string value
|
|
12
|
+
*/
|
|
13
|
+
import type { Feature } from '../../../../domain/generated/output.js';
|
|
14
|
+
/**
|
|
15
|
+
* Database row type matching the features table schema.
|
|
16
|
+
* Uses snake_case column names.
|
|
17
|
+
*/
|
|
18
|
+
export interface FeatureRow {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
slug: string;
|
|
22
|
+
description: string;
|
|
23
|
+
repository_path: string;
|
|
24
|
+
branch: string;
|
|
25
|
+
lifecycle: string;
|
|
26
|
+
messages: string;
|
|
27
|
+
plan: string | null;
|
|
28
|
+
related_artifacts: string;
|
|
29
|
+
agent_run_id: string | null;
|
|
30
|
+
spec_path: string | null;
|
|
31
|
+
created_at: number;
|
|
32
|
+
updated_at: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Maps Feature domain object to database row.
|
|
36
|
+
* Converts Date objects to unix milliseconds and complex fields to JSON for SQL storage.
|
|
37
|
+
*
|
|
38
|
+
* @param feature - Feature domain object
|
|
39
|
+
* @returns Database row object with snake_case columns
|
|
40
|
+
*/
|
|
41
|
+
export declare function toDatabase(feature: Feature): FeatureRow;
|
|
42
|
+
/**
|
|
43
|
+
* Maps database row to Feature domain object.
|
|
44
|
+
* Converts unix milliseconds back to Date objects and JSON strings to arrays/objects.
|
|
45
|
+
*
|
|
46
|
+
* @param row - Database row with snake_case columns
|
|
47
|
+
* @returns Feature domain object with camelCase properties
|
|
48
|
+
*/
|
|
49
|
+
export declare function fromDatabase(row: FeatureRow): Feature;
|
|
50
|
+
//# sourceMappingURL=feature.mapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.mapper.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/persistence/sqlite/mappers/feature.mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAGtE;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAiBvD;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAiBrD"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Feature Database Mapper
|
|
3
|
+
*
|
|
4
|
+
* Maps between Feature domain objects and SQLite database rows.
|
|
5
|
+
*
|
|
6
|
+
* Mapping Rules:
|
|
7
|
+
* - TypeScript objects (camelCase) <-> SQL columns (snake_case)
|
|
8
|
+
* - Dates stored as INTEGER (unix milliseconds)
|
|
9
|
+
* - Optional fields stored as NULL when missing
|
|
10
|
+
* - Arrays/objects stored as JSON TEXT
|
|
11
|
+
* - SdlcLifecycle stored as string value
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Maps Feature domain object to database row.
|
|
15
|
+
* Converts Date objects to unix milliseconds and complex fields to JSON for SQL storage.
|
|
16
|
+
*
|
|
17
|
+
* @param feature - Feature domain object
|
|
18
|
+
* @returns Database row object with snake_case columns
|
|
19
|
+
*/
|
|
20
|
+
export function toDatabase(feature) {
|
|
21
|
+
return {
|
|
22
|
+
id: feature.id,
|
|
23
|
+
name: feature.name,
|
|
24
|
+
slug: feature.slug,
|
|
25
|
+
description: feature.description,
|
|
26
|
+
repository_path: feature.repositoryPath,
|
|
27
|
+
branch: feature.branch,
|
|
28
|
+
lifecycle: feature.lifecycle,
|
|
29
|
+
messages: JSON.stringify(feature.messages),
|
|
30
|
+
plan: feature.plan !== undefined ? JSON.stringify(feature.plan) : null,
|
|
31
|
+
related_artifacts: JSON.stringify(feature.relatedArtifacts),
|
|
32
|
+
agent_run_id: feature.agentRunId ?? null,
|
|
33
|
+
spec_path: feature.specPath ?? null,
|
|
34
|
+
created_at: feature.createdAt instanceof Date ? feature.createdAt.getTime() : feature.createdAt,
|
|
35
|
+
updated_at: feature.updatedAt instanceof Date ? feature.updatedAt.getTime() : feature.updatedAt,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Maps database row to Feature domain object.
|
|
40
|
+
* Converts unix milliseconds back to Date objects and JSON strings to arrays/objects.
|
|
41
|
+
*
|
|
42
|
+
* @param row - Database row with snake_case columns
|
|
43
|
+
* @returns Feature domain object with camelCase properties
|
|
44
|
+
*/
|
|
45
|
+
export function fromDatabase(row) {
|
|
46
|
+
return {
|
|
47
|
+
id: row.id,
|
|
48
|
+
name: row.name,
|
|
49
|
+
slug: row.slug,
|
|
50
|
+
description: row.description,
|
|
51
|
+
repositoryPath: row.repository_path,
|
|
52
|
+
branch: row.branch,
|
|
53
|
+
lifecycle: row.lifecycle,
|
|
54
|
+
messages: JSON.parse(row.messages),
|
|
55
|
+
relatedArtifacts: JSON.parse(row.related_artifacts),
|
|
56
|
+
createdAt: new Date(row.created_at),
|
|
57
|
+
updatedAt: new Date(row.updated_at),
|
|
58
|
+
...(row.plan !== null && { plan: JSON.parse(row.plan) }),
|
|
59
|
+
...(row.agent_run_id !== null && { agentRunId: row.agent_run_id }),
|
|
60
|
+
...(row.spec_path !== null && { specPath: row.spec_path }),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/persistence/sqlite/migrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/persistence/sqlite/migrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AA6H3C;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,EAAE,EAAE,QAAQ,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB9E"}
|
|
@@ -69,6 +69,55 @@ CREATE TABLE agent_runs (
|
|
|
69
69
|
CREATE INDEX idx_agent_runs_status ON agent_runs(status);
|
|
70
70
|
CREATE INDEX idx_agent_runs_pid ON agent_runs(pid) WHERE pid IS NOT NULL;
|
|
71
71
|
CREATE INDEX idx_agent_runs_thread_id ON agent_runs(thread_id);
|
|
72
|
+
`,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
version: 4,
|
|
76
|
+
sql: `
|
|
77
|
+
-- Migration 004: Create Features Table
|
|
78
|
+
CREATE TABLE features (
|
|
79
|
+
id TEXT PRIMARY KEY,
|
|
80
|
+
name TEXT NOT NULL,
|
|
81
|
+
slug TEXT NOT NULL,
|
|
82
|
+
description TEXT NOT NULL,
|
|
83
|
+
repository_path TEXT NOT NULL,
|
|
84
|
+
branch TEXT NOT NULL,
|
|
85
|
+
lifecycle TEXT NOT NULL DEFAULT 'Requirements',
|
|
86
|
+
messages TEXT NOT NULL DEFAULT '[]',
|
|
87
|
+
plan TEXT,
|
|
88
|
+
related_artifacts TEXT NOT NULL DEFAULT '[]',
|
|
89
|
+
agent_run_id TEXT,
|
|
90
|
+
created_at INTEGER NOT NULL,
|
|
91
|
+
updated_at INTEGER NOT NULL
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
CREATE INDEX idx_features_slug ON features(slug, repository_path);
|
|
95
|
+
CREATE INDEX idx_features_repo ON features(repository_path);
|
|
96
|
+
CREATE INDEX idx_features_lifecycle ON features(lifecycle);
|
|
97
|
+
`,
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
version: 5,
|
|
101
|
+
sql: `
|
|
102
|
+
-- Migration 005: Add feature references to agent_runs
|
|
103
|
+
ALTER TABLE agent_runs ADD COLUMN feature_id TEXT;
|
|
104
|
+
ALTER TABLE agent_runs ADD COLUMN repository_path TEXT;
|
|
105
|
+
CREATE INDEX idx_agent_runs_feature ON agent_runs(feature_id) WHERE feature_id IS NOT NULL;
|
|
106
|
+
`,
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
version: 6,
|
|
110
|
+
sql: `
|
|
111
|
+
-- Migration 006: Add approval workflow columns to agent_runs
|
|
112
|
+
ALTER TABLE agent_runs ADD COLUMN approval_mode TEXT;
|
|
113
|
+
ALTER TABLE agent_runs ADD COLUMN approval_status TEXT;
|
|
114
|
+
`,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
version: 7,
|
|
118
|
+
sql: `
|
|
119
|
+
-- Migration 007: Add spec_path to features
|
|
120
|
+
ALTER TABLE features ADD COLUMN spec_path TEXT;
|
|
72
121
|
`,
|
|
73
122
|
},
|
|
74
123
|
];
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Uses prepared statements to prevent SQL injection.
|
|
6
6
|
*/
|
|
7
7
|
import type Database from 'better-sqlite3';
|
|
8
|
-
import type { IAgentRunRepository } from '../../application/ports/output/agent-run-repository.interface.js';
|
|
8
|
+
import type { IAgentRunRepository } from '../../application/ports/output/agents/agent-run-repository.interface.js';
|
|
9
9
|
import type { AgentRun, AgentRunStatus } from '../../domain/generated/output.js';
|
|
10
10
|
/**
|
|
11
11
|
* SQLite implementation of IAgentRunRepository.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-run.repository.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/repositories/agent-run.repository.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"agent-run.repository.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/repositories/agent-run.repository.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AACnH,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAkBjF;;;GAGG;AACH,qBACa,wBAAyB,YAAW,mBAAmB;IACtD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAE5C,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAwBzC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAW9C,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAW1D,YAAY,CAChB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,cAAc,EACtB,OAAO,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,GAC1B,OAAO,CAAC,IAAI,CAAC;IA0DV,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAOlD,IAAI,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAO3B,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAIxC"}
|
|
@@ -15,6 +15,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
15
15
|
};
|
|
16
16
|
import { injectable } from 'tsyringe';
|
|
17
17
|
import { toDatabase, fromDatabase, } from '../persistence/sqlite/mappers/agent-run.mapper.js';
|
|
18
|
+
/** Convert a Date, ISO string, or number to a Unix timestamp (ms). Returns null for invalid input. */
|
|
19
|
+
function toTimestamp(value) {
|
|
20
|
+
if (value instanceof Date)
|
|
21
|
+
return value.getTime();
|
|
22
|
+
if (typeof value === 'number')
|
|
23
|
+
return value;
|
|
24
|
+
if (typeof value === 'string') {
|
|
25
|
+
const ms = new Date(value).getTime();
|
|
26
|
+
return Number.isNaN(ms) ? null : ms;
|
|
27
|
+
}
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
18
30
|
/**
|
|
19
31
|
* SQLite implementation of IAgentRunRepository.
|
|
20
32
|
* Manages AgentRun persistence with CRUD operations.
|
|
@@ -31,12 +43,16 @@ let SQLiteAgentRunRepository = class SQLiteAgentRunRepository {
|
|
|
31
43
|
id, agent_type, agent_name, status, prompt, result,
|
|
32
44
|
session_id, thread_id, pid, last_heartbeat,
|
|
33
45
|
started_at, completed_at, error,
|
|
34
|
-
|
|
46
|
+
feature_id, repository_path,
|
|
47
|
+
created_at, updated_at,
|
|
48
|
+
approval_mode, approval_status
|
|
35
49
|
) VALUES (
|
|
36
50
|
@id, @agent_type, @agent_name, @status, @prompt, @result,
|
|
37
51
|
@session_id, @thread_id, @pid, @last_heartbeat,
|
|
38
52
|
@started_at, @completed_at, @error,
|
|
39
|
-
@
|
|
53
|
+
@feature_id, @repository_path,
|
|
54
|
+
@created_at, @updated_at,
|
|
55
|
+
@approval_mode, @approval_status
|
|
40
56
|
)
|
|
41
57
|
`);
|
|
42
58
|
stmt.run(row);
|
|
@@ -62,7 +78,7 @@ let SQLiteAgentRunRepository = class SQLiteAgentRunRepository {
|
|
|
62
78
|
const params = {
|
|
63
79
|
id,
|
|
64
80
|
status,
|
|
65
|
-
updated_at: updates?.updatedAt
|
|
81
|
+
updated_at: toTimestamp(updates?.updatedAt) ?? Date.now(),
|
|
66
82
|
};
|
|
67
83
|
if (updates?.result !== undefined) {
|
|
68
84
|
setClauses.push('result = @result');
|
|
@@ -78,22 +94,28 @@ let SQLiteAgentRunRepository = class SQLiteAgentRunRepository {
|
|
|
78
94
|
}
|
|
79
95
|
if (updates?.lastHeartbeat !== undefined) {
|
|
80
96
|
setClauses.push('last_heartbeat = @last_heartbeat');
|
|
81
|
-
params.last_heartbeat =
|
|
82
|
-
updates.lastHeartbeat instanceof Date ? updates.lastHeartbeat.getTime() : null;
|
|
97
|
+
params.last_heartbeat = toTimestamp(updates.lastHeartbeat);
|
|
83
98
|
}
|
|
84
99
|
if (updates?.startedAt !== undefined) {
|
|
85
100
|
setClauses.push('started_at = @started_at');
|
|
86
|
-
params.started_at = updates.startedAt
|
|
101
|
+
params.started_at = toTimestamp(updates.startedAt);
|
|
87
102
|
}
|
|
88
103
|
if (updates?.completedAt !== undefined) {
|
|
89
104
|
setClauses.push('completed_at = @completed_at');
|
|
90
|
-
params.completed_at =
|
|
91
|
-
updates.completedAt instanceof Date ? updates.completedAt.getTime() : null;
|
|
105
|
+
params.completed_at = toTimestamp(updates.completedAt);
|
|
92
106
|
}
|
|
93
107
|
if (updates?.error !== undefined) {
|
|
94
108
|
setClauses.push('error = @error');
|
|
95
109
|
params.error = updates.error;
|
|
96
110
|
}
|
|
111
|
+
if (updates?.approvalMode !== undefined) {
|
|
112
|
+
setClauses.push('approval_mode = @approval_mode');
|
|
113
|
+
params.approval_mode = updates.approvalMode;
|
|
114
|
+
}
|
|
115
|
+
if (updates?.approvalStatus !== undefined) {
|
|
116
|
+
setClauses.push('approval_status = @approval_status');
|
|
117
|
+
params.approval_status = updates.approvalStatus;
|
|
118
|
+
}
|
|
97
119
|
const stmt = this.db.prepare(`UPDATE agent_runs SET ${setClauses.join(', ')} WHERE id = @id`);
|
|
98
120
|
stmt.run(params);
|
|
99
121
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SQLite Feature Repository Implementation
|
|
3
|
+
*
|
|
4
|
+
* Implements IFeatureRepository using SQLite database.
|
|
5
|
+
* Uses prepared statements to prevent SQL injection.
|
|
6
|
+
*/
|
|
7
|
+
import type Database from 'better-sqlite3';
|
|
8
|
+
import type { IFeatureRepository, FeatureListFilters } from '../../application/ports/output/repositories/feature-repository.interface.js';
|
|
9
|
+
import type { Feature } from '../../domain/generated/output.js';
|
|
10
|
+
/**
|
|
11
|
+
* SQLite implementation of IFeatureRepository.
|
|
12
|
+
* Manages Feature persistence with CRUD operations.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SQLiteFeatureRepository implements IFeatureRepository {
|
|
15
|
+
private readonly db;
|
|
16
|
+
constructor(db: Database.Database);
|
|
17
|
+
create(feature: Feature): Promise<void>;
|
|
18
|
+
findById(id: string): Promise<Feature | null>;
|
|
19
|
+
findByIdPrefix(prefix: string): Promise<Feature | null>;
|
|
20
|
+
findBySlug(slug: string, repositoryPath: string): Promise<Feature | null>;
|
|
21
|
+
list(filters?: FeatureListFilters): Promise<Feature[]>;
|
|
22
|
+
update(feature: Feature): Promise<void>;
|
|
23
|
+
delete(id: string): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=sqlite-feature.repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-feature.repository.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/repositories/sqlite-feature.repository.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6EAA6E,CAAC;AACrF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAOhE;;;GAGG;AACH,qBACa,uBAAwB,YAAW,kBAAkB;IACpD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAE5C,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBvC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAW7C,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAcvD,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAWzE,IAAI,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAqBtD,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAuBvC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAIxC"}
|