@shepai/cli 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/README.md +168 -22
  2. package/dist/src/application/ports/output/{agent-executor-factory.interface.d.ts → agents/agent-executor-factory.interface.d.ts} +1 -1
  3. package/dist/src/application/ports/output/agents/agent-executor-factory.interface.d.ts.map +1 -0
  4. package/dist/src/application/ports/output/{agent-executor.interface.d.ts → agents/agent-executor.interface.d.ts} +3 -1
  5. package/dist/src/application/ports/output/agents/agent-executor.interface.d.ts.map +1 -0
  6. package/dist/src/application/ports/output/{agent-registry.interface.d.ts → agents/agent-registry.interface.d.ts} +1 -1
  7. package/dist/src/application/ports/output/agents/agent-registry.interface.d.ts.map +1 -0
  8. package/dist/src/application/ports/output/{agent-run-repository.interface.d.ts → agents/agent-run-repository.interface.d.ts} +1 -1
  9. package/dist/src/application/ports/output/agents/agent-run-repository.interface.d.ts.map +1 -0
  10. package/dist/src/application/ports/output/{agent-runner.interface.d.ts → agents/agent-runner.interface.d.ts} +1 -1
  11. package/dist/src/application/ports/output/agents/agent-runner.interface.d.ts.map +1 -0
  12. package/dist/src/application/ports/output/{agent-validator.interface.d.ts → agents/agent-validator.interface.d.ts} +1 -1
  13. package/dist/src/application/ports/output/agents/agent-validator.interface.d.ts.map +1 -0
  14. package/dist/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -0
  15. package/dist/src/application/ports/output/agents/index.d.ts +13 -0
  16. package/dist/src/application/ports/output/agents/index.d.ts.map +1 -0
  17. package/dist/src/application/ports/output/agents/index.js +6 -0
  18. package/dist/src/application/ports/output/index.d.ts +8 -14
  19. package/dist/src/application/ports/output/index.d.ts.map +1 -1
  20. package/dist/src/application/ports/output/index.js +5 -3
  21. package/dist/src/application/ports/output/{feature-repository.interface.d.ts → repositories/feature-repository.interface.d.ts} +1 -1
  22. package/dist/src/application/ports/output/repositories/feature-repository.interface.d.ts.map +1 -0
  23. package/dist/src/application/ports/output/repositories/index.d.ts +8 -0
  24. package/dist/src/application/ports/output/repositories/index.d.ts.map +1 -0
  25. package/dist/src/application/ports/output/repositories/index.js +6 -0
  26. package/dist/src/application/ports/output/{settings.repository.interface.d.ts → repositories/settings.repository.interface.d.ts} +1 -1
  27. package/dist/src/application/ports/output/repositories/settings.repository.interface.d.ts.map +1 -0
  28. package/dist/src/application/ports/output/services/external-issue-fetcher.interface.d.ts.map +1 -0
  29. package/dist/src/application/ports/output/services/index.d.ts +13 -0
  30. package/dist/src/application/ports/output/services/index.d.ts.map +1 -0
  31. package/dist/src/application/ports/output/services/index.js +7 -0
  32. package/dist/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -0
  33. package/dist/src/application/ports/output/{version-service.interface.d.ts → services/version-service.interface.d.ts} +1 -1
  34. package/dist/src/application/ports/output/services/version-service.interface.d.ts.map +1 -0
  35. package/dist/src/application/ports/output/services/web-server-service.interface.d.ts.map +1 -0
  36. package/dist/src/application/ports/output/services/worktree-service.interface.d.ts.map +1 -0
  37. package/dist/src/application/use-cases/agents/approve-agent-run.use-case.d.ts +4 -4
  38. package/dist/src/application/use-cases/agents/approve-agent-run.use-case.d.ts.map +1 -1
  39. package/dist/src/application/use-cases/agents/configure-agent.use-case.d.ts +2 -2
  40. package/dist/src/application/use-cases/agents/configure-agent.use-case.d.ts.map +1 -1
  41. package/dist/src/application/use-cases/agents/delete-agent-run.use-case.d.ts +1 -1
  42. package/dist/src/application/use-cases/agents/delete-agent-run.use-case.d.ts.map +1 -1
  43. package/dist/src/application/use-cases/agents/get-agent-run.use-case.d.ts +1 -1
  44. package/dist/src/application/use-cases/agents/get-agent-run.use-case.d.ts.map +1 -1
  45. package/dist/src/application/use-cases/agents/list-agent-runs.use-case.d.ts +1 -1
  46. package/dist/src/application/use-cases/agents/list-agent-runs.use-case.d.ts.map +1 -1
  47. package/dist/src/application/use-cases/agents/reject-agent-run.use-case.d.ts +1 -1
  48. package/dist/src/application/use-cases/agents/reject-agent-run.use-case.d.ts.map +1 -1
  49. package/dist/src/application/use-cases/agents/run-agent.use-case.d.ts +2 -2
  50. package/dist/src/application/use-cases/agents/run-agent.use-case.d.ts.map +1 -1
  51. package/dist/src/application/use-cases/agents/show-agent-run.use-case.d.ts +2 -2
  52. package/dist/src/application/use-cases/agents/show-agent-run.use-case.d.ts.map +1 -1
  53. package/dist/src/application/use-cases/agents/stop-agent-run.use-case.d.ts +1 -1
  54. package/dist/src/application/use-cases/agents/stop-agent-run.use-case.d.ts.map +1 -1
  55. package/dist/src/application/use-cases/agents/validate-agent-auth.use-case.d.ts +1 -1
  56. package/dist/src/application/use-cases/agents/validate-agent-auth.use-case.d.ts.map +1 -1
  57. package/dist/src/application/use-cases/features/create-feature.use-case.d.ts +6 -6
  58. package/dist/src/application/use-cases/features/create-feature.use-case.d.ts.map +1 -1
  59. package/dist/src/application/use-cases/features/create-feature.use-case.js +1 -0
  60. package/dist/src/application/use-cases/features/delete-feature.use-case.d.ts +4 -4
  61. package/dist/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
  62. package/dist/src/application/use-cases/features/list-features.use-case.d.ts +1 -1
  63. package/dist/src/application/use-cases/features/list-features.use-case.d.ts.map +1 -1
  64. package/dist/src/application/use-cases/features/resume-feature.use-case.d.ts +4 -4
  65. package/dist/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -1
  66. package/dist/src/application/use-cases/features/show-feature.use-case.d.ts +1 -1
  67. package/dist/src/application/use-cases/features/show-feature.use-case.d.ts.map +1 -1
  68. package/dist/src/application/use-cases/settings/initialize-settings.use-case.d.ts +1 -1
  69. package/dist/src/application/use-cases/settings/initialize-settings.use-case.d.ts.map +1 -1
  70. package/dist/src/application/use-cases/settings/load-settings.use-case.d.ts +1 -1
  71. package/dist/src/application/use-cases/settings/load-settings.use-case.d.ts.map +1 -1
  72. package/dist/src/application/use-cases/settings/update-settings.use-case.d.ts +1 -1
  73. package/dist/src/application/use-cases/settings/update-settings.use-case.d.ts.map +1 -1
  74. package/dist/src/infrastructure/repositories/agent-run.repository.d.ts +1 -1
  75. package/dist/src/infrastructure/repositories/agent-run.repository.d.ts.map +1 -1
  76. package/dist/src/infrastructure/repositories/sqlite-feature.repository.d.ts +1 -1
  77. package/dist/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
  78. package/dist/src/infrastructure/repositories/sqlite-settings.repository.d.ts +1 -1
  79. package/dist/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
  80. package/dist/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts +1 -1
  81. package/dist/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts.map +1 -1
  82. package/dist/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts +2 -2
  83. package/dist/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts.map +1 -1
  84. package/dist/src/infrastructure/services/agents/common/agent-registry.service.d.ts +1 -1
  85. package/dist/src/infrastructure/services/agents/common/agent-registry.service.d.ts.map +1 -1
  86. package/dist/src/infrastructure/services/agents/common/agent-runner.service.d.ts +4 -4
  87. package/dist/src/infrastructure/services/agents/common/agent-runner.service.d.ts.map +1 -1
  88. package/dist/src/infrastructure/services/agents/common/agent-validator.service.d.ts +1 -1
  89. package/dist/src/infrastructure/services/agents/common/agent-validator.service.d.ts.map +1 -1
  90. package/dist/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts +3 -1
  91. package/dist/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +1 -1
  92. package/dist/src/infrastructure/services/agents/common/executors/claude-code-executor.service.js +5 -0
  93. package/dist/src/infrastructure/services/agents/common/executors/mock-executor-factory.service.d.ts +2 -2
  94. package/dist/src/infrastructure/services/agents/common/executors/mock-executor-factory.service.d.ts.map +1 -1
  95. package/dist/src/infrastructure/services/agents/common/executors/mock-executor.service.d.ts +1 -1
  96. package/dist/src/infrastructure/services/agents/common/executors/mock-executor.service.d.ts.map +1 -1
  97. package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +1 -1
  98. package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
  99. package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +2 -2
  100. package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
  101. package/dist/src/infrastructure/services/agents/feature-agent/heartbeat.d.ts +1 -1
  102. package/dist/src/infrastructure/services/agents/feature-agent/heartbeat.d.ts.map +1 -1
  103. package/dist/src/infrastructure/services/agents/feature-agent/nodes/analyze.node.d.ts +1 -1
  104. package/dist/src/infrastructure/services/agents/feature-agent/nodes/analyze.node.d.ts.map +1 -1
  105. package/dist/src/infrastructure/services/agents/feature-agent/nodes/implement.node.d.ts +8 -7
  106. package/dist/src/infrastructure/services/agents/feature-agent/nodes/implement.node.d.ts.map +1 -1
  107. package/dist/src/infrastructure/services/agents/feature-agent/nodes/implement.node.js +140 -16
  108. package/dist/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts +1 -1
  109. package/dist/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  110. package/dist/src/infrastructure/services/agents/feature-agent/nodes/plan.node.d.ts +1 -1
  111. package/dist/src/infrastructure/services/agents/feature-agent/nodes/plan.node.d.ts.map +1 -1
  112. package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.d.ts +44 -4
  113. package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.d.ts.map +1 -1
  114. package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.js +86 -14
  115. package/dist/src/infrastructure/services/agents/feature-agent/nodes/requirements.node.d.ts +1 -1
  116. package/dist/src/infrastructure/services/agents/feature-agent/nodes/requirements.node.d.ts.map +1 -1
  117. package/dist/src/infrastructure/services/agents/feature-agent/nodes/research.node.d.ts +1 -1
  118. package/dist/src/infrastructure/services/agents/feature-agent/nodes/research.node.d.ts.map +1 -1
  119. package/dist/src/infrastructure/services/agents/streaming/streaming-executor-proxy.d.ts +1 -1
  120. package/dist/src/infrastructure/services/agents/streaming/streaming-executor-proxy.d.ts.map +1 -1
  121. package/dist/src/infrastructure/services/external/github-issue.service.d.ts +1 -1
  122. package/dist/src/infrastructure/services/external/github-issue.service.d.ts.map +1 -1
  123. package/dist/src/infrastructure/services/external/github-issue.service.js +1 -1
  124. package/dist/src/infrastructure/services/external/jira-ticket.service.d.ts +1 -1
  125. package/dist/src/infrastructure/services/external/jira-ticket.service.d.ts.map +1 -1
  126. package/dist/src/infrastructure/services/external/jira-ticket.service.js +1 -1
  127. package/dist/src/infrastructure/services/git/worktree.service.d.ts +1 -1
  128. package/dist/src/infrastructure/services/git/worktree.service.d.ts.map +1 -1
  129. package/dist/src/infrastructure/services/git/worktree.service.js +1 -1
  130. package/dist/src/infrastructure/services/spec/spec-initializer.service.d.ts +1 -1
  131. package/dist/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
  132. package/dist/src/infrastructure/services/web-server.service.d.ts +1 -1
  133. package/dist/src/infrastructure/services/web-server.service.d.ts.map +1 -1
  134. package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
  135. package/dist/src/presentation/cli/commands/feat/new.command.js +3 -3
  136. package/dist/src/presentation/cli/ui/index.d.ts +1 -0
  137. package/dist/src/presentation/cli/ui/index.d.ts.map +1 -1
  138. package/dist/src/presentation/cli/ui/index.js +1 -0
  139. package/dist/src/presentation/cli/ui/spinner.d.ts +21 -0
  140. package/dist/src/presentation/cli/ui/spinner.d.ts.map +1 -0
  141. package/dist/src/presentation/cli/ui/spinner.js +45 -0
  142. package/dist/tsconfig.build.tsbuildinfo +1 -1
  143. package/package.json +1 -1
  144. package/web/.next/BUILD_ID +1 -1
  145. package/web/.next/build-manifest.json +2 -2
  146. package/web/.next/cache/.previewinfo +1 -1
  147. package/web/.next/cache/.rscinfo +1 -1
  148. package/web/.next/cache/config.json +3 -3
  149. package/web/.next/fallback-build-manifest.json +2 -2
  150. package/web/.next/prerender-manifest.json +3 -3
  151. package/web/.next/required-server-files.js +1 -1
  152. package/web/.next/required-server-files.json +1 -1
  153. package/web/.next/server/app/_global-error.html +2 -2
  154. package/web/.next/server/app/_global-error.rsc +1 -1
  155. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  156. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  157. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  158. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  159. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  160. package/web/.next/server/app/_not-found.html +2 -2
  161. package/web/.next/server/app/_not-found.rsc +1 -1
  162. package/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  163. package/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  164. package/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  165. package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  166. package/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  167. package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  168. package/web/.next/server/app/index.html +2 -2
  169. package/web/.next/server/app/index.rsc +1 -1
  170. package/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  171. package/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
  172. package/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
  173. package/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
  174. package/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  175. package/web/.next/server/app/version.html +2 -2
  176. package/web/.next/server/app/version.rsc +1 -1
  177. package/web/.next/server/app/version.segments/_full.segment.rsc +1 -1
  178. package/web/.next/server/app/version.segments/_head.segment.rsc +1 -1
  179. package/web/.next/server/app/version.segments/_index.segment.rsc +1 -1
  180. package/web/.next/server/app/version.segments/_tree.segment.rsc +1 -1
  181. package/web/.next/server/app/version.segments/version/__PAGE__.segment.rsc +1 -1
  182. package/web/.next/server/app/version.segments/version.segment.rsc +1 -1
  183. package/web/.next/server/chunks/ssr/_19be0743._.js +1 -1
  184. package/web/.next/server/pages/404.html +2 -2
  185. package/web/.next/server/pages/500.html +2 -2
  186. package/web/.next/server/server-reference-manifest.js +1 -1
  187. package/web/.next/server/server-reference-manifest.json +1 -1
  188. package/web/.next/trace +1 -1
  189. package/web/.next/trace-build +1 -1
  190. package/dist/src/application/ports/output/agent-executor-factory.interface.d.ts.map +0 -1
  191. package/dist/src/application/ports/output/agent-executor.interface.d.ts.map +0 -1
  192. package/dist/src/application/ports/output/agent-registry.interface.d.ts.map +0 -1
  193. package/dist/src/application/ports/output/agent-run-repository.interface.d.ts.map +0 -1
  194. package/dist/src/application/ports/output/agent-runner.interface.d.ts.map +0 -1
  195. package/dist/src/application/ports/output/agent-validator.interface.d.ts.map +0 -1
  196. package/dist/src/application/ports/output/external-issue-fetcher.interface.d.ts.map +0 -1
  197. package/dist/src/application/ports/output/feature-agent-process.interface.d.ts.map +0 -1
  198. package/dist/src/application/ports/output/feature-repository.interface.d.ts.map +0 -1
  199. package/dist/src/application/ports/output/settings.repository.interface.d.ts.map +0 -1
  200. package/dist/src/application/ports/output/spec-initializer.interface.d.ts.map +0 -1
  201. package/dist/src/application/ports/output/version-service.interface.d.ts.map +0 -1
  202. package/dist/src/application/ports/output/web-server-service.interface.d.ts.map +0 -1
  203. package/dist/src/application/ports/output/worktree-service.interface.d.ts.map +0 -1
  204. /package/dist/src/application/ports/output/{agent-executor-factory.interface.js → agents/agent-executor-factory.interface.js} +0 -0
  205. /package/dist/src/application/ports/output/{agent-executor.interface.js → agents/agent-executor.interface.js} +0 -0
  206. /package/dist/src/application/ports/output/{agent-registry.interface.js → agents/agent-registry.interface.js} +0 -0
  207. /package/dist/src/application/ports/output/{agent-run-repository.interface.js → agents/agent-run-repository.interface.js} +0 -0
  208. /package/dist/src/application/ports/output/{agent-runner.interface.js → agents/agent-runner.interface.js} +0 -0
  209. /package/dist/src/application/ports/output/{agent-validator.interface.js → agents/agent-validator.interface.js} +0 -0
  210. /package/dist/src/application/ports/output/{feature-agent-process.interface.d.ts → agents/feature-agent-process.interface.d.ts} +0 -0
  211. /package/dist/src/application/ports/output/{feature-agent-process.interface.js → agents/feature-agent-process.interface.js} +0 -0
  212. /package/dist/src/application/ports/output/{feature-repository.interface.js → repositories/feature-repository.interface.js} +0 -0
  213. /package/dist/src/application/ports/output/{settings.repository.interface.js → repositories/settings.repository.interface.js} +0 -0
  214. /package/dist/src/application/ports/output/{external-issue-fetcher.interface.d.ts → services/external-issue-fetcher.interface.d.ts} +0 -0
  215. /package/dist/src/application/ports/output/{external-issue-fetcher.interface.js → services/external-issue-fetcher.interface.js} +0 -0
  216. /package/dist/src/application/ports/output/{spec-initializer.interface.d.ts → services/spec-initializer.interface.d.ts} +0 -0
  217. /package/dist/src/application/ports/output/{spec-initializer.interface.js → services/spec-initializer.interface.js} +0 -0
  218. /package/dist/src/application/ports/output/{version-service.interface.js → services/version-service.interface.js} +0 -0
  219. /package/dist/src/application/ports/output/{web-server-service.interface.d.ts → services/web-server-service.interface.d.ts} +0 -0
  220. /package/dist/src/application/ports/output/{web-server-service.interface.js → services/web-server-service.interface.js} +0 -0
  221. /package/dist/src/application/ports/output/{worktree-service.interface.d.ts → services/worktree-service.interface.d.ts} +0 -0
  222. /package/dist/src/application/ports/output/{worktree-service.interface.js → services/worktree-service.interface.js} +0 -0
  223. /package/web/.next/static/{XV-wYY85Xk9ANCuQDQ6_H → KqMr5DLdrvbaA-agLuHP1}/_buildManifest.js +0 -0
  224. /package/web/.next/static/{XV-wYY85Xk9ANCuQDQ6_H → KqMr5DLdrvbaA-agLuHP1}/_clientMiddlewareManifest.json +0 -0
  225. /package/web/.next/static/{XV-wYY85Xk9ANCuQDQ6_H → KqMr5DLdrvbaA-agLuHP1}/_ssgManifest.js +0 -0
@@ -4,7 +4,7 @@
4
4
  * Rejects a paused agent run (waiting_approval status) and
5
5
  * marks it as cancelled with the rejection reason.
6
6
  */
7
- import type { IAgentRunRepository } from '../../ports/output/agent-run-repository.interface.js';
7
+ import type { IAgentRunRepository } from '../../ports/output/agents/agent-run-repository.interface.js';
8
8
  export declare class RejectAgentRunUseCase {
9
9
  private readonly agentRunRepository;
10
10
  constructor(agentRunRepository: IAgentRunRepository);
@@ -1 +1 @@
1
- {"version":3,"file":"reject-agent-run.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/reject-agent-run.use-case.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAGhG,qBACa,qBAAqB;IAG9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAGpD,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAuB3F"}
1
+ {"version":3,"file":"reject-agent-run.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/reject-agent-run.use-case.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAGvG,qBACa,qBAAqB;IAG9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAGpD,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAuB3F"}
@@ -10,8 +10,8 @@
10
10
  * - Options are passed through to the runner as-is
11
11
  */
12
12
  import type { AgentRun, AgentRunEvent } from '../../../domain/generated/output.js';
13
- import type { IAgentRunner, AgentRunOptions } from '../../ports/output/agent-runner.interface.js';
14
- import type { IAgentRegistry } from '../../ports/output/agent-registry.interface.js';
13
+ import type { IAgentRunner, AgentRunOptions } from '../../ports/output/agents/agent-runner.interface.js';
14
+ import type { IAgentRegistry } from '../../ports/output/agents/agent-registry.interface.js';
15
15
  /**
16
16
  * Input for running an agent workflow.
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"run-agent.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/run-agent.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,qBACa,eAAe;IAGxB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAFb,WAAW,EAAE,YAAY,EAEzB,aAAa,EAAE,cAAc;IAGhD;;;;;;OAMG;IACG,OAAO,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAYtD;;;;;;OAMG;IACI,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;CAWzE"}
1
+ {"version":3,"file":"run-agent.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/run-agent.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EAChB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uDAAuD,CAAC;AAE5F;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,qBACa,eAAe;IAGxB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAFb,WAAW,EAAE,YAAY,EAEzB,aAAa,EAAE,cAAc;IAGhD;;;;;;OAMG;IACG,OAAO,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAYtD;;;;;;OAMG;IACI,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;CAWzE"}
@@ -9,8 +9,8 @@
9
9
  * - Checks process liveness for runs that have a pid
10
10
  */
11
11
  import type { AgentRun } from '../../../domain/generated/output.js';
12
- import type { IAgentRunRepository } from '../../ports/output/agent-run-repository.interface.js';
13
- import type { IFeatureAgentProcessService } from '../../ports/output/feature-agent-process.interface.js';
12
+ import type { IAgentRunRepository } from '../../ports/output/agents/agent-run-repository.interface.js';
13
+ import type { IFeatureAgentProcessService } from '../../ports/output/agents/feature-agent-process.interface.js';
14
14
  export interface ShowAgentRunResult {
15
15
  run: AgentRun;
16
16
  isAlive: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"show-agent-run.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/show-agent-run.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AAEzG,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,QAAQ,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAFd,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B;IAGxD,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAkB1D"}
1
+ {"version":3,"file":"show-agent-run.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/show-agent-run.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAEhH,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,QAAQ,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAFd,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B;IAGxD,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAkB1D"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Sends SIGTERM to a running agent's worker process and marks it as cancelled.
5
5
  */
6
- import type { IAgentRunRepository } from '../../ports/output/agent-run-repository.interface.js';
6
+ import type { IAgentRunRepository } from '../../ports/output/agents/agent-run-repository.interface.js';
7
7
  export declare class StopAgentRunUseCase {
8
8
  private readonly agentRunRepository;
9
9
  constructor(agentRunRepository: IAgentRunRepository);
@@ -1 +1 @@
1
- {"version":3,"file":"stop-agent-run.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/stop-agent-run.use-case.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAGhG,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAGpD,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CA4DzE"}
1
+ {"version":3,"file":"stop-agent-run.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/stop-agent-run.use-case.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAGvG,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAGpD,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CA4DzE"}
@@ -9,7 +9,7 @@
9
9
  * - Returns validation result with version or error details
10
10
  */
11
11
  import type { AgentType } from '../../../domain/generated/output.js';
12
- import type { IAgentValidator, AgentValidationResult } from '../../ports/output/agent-validator.interface.js';
12
+ import type { IAgentValidator, AgentValidationResult } from '../../ports/output/agents/agent-validator.interface.js';
13
13
  /**
14
14
  * Use case for validating agent availability.
15
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"validate-agent-auth.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/validate-agent-auth.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACtB,MAAM,iDAAiD,CAAC;AAEzD;;;;;;GAMG;AACH,qBACa,wBAAwB;IAGjC,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,eAAe;IAGlD;;;;;OAKG;IACG,OAAO,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAGpE"}
1
+ {"version":3,"file":"validate-agent-auth.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/agents/validate-agent-auth.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACtB,MAAM,wDAAwD,CAAC;AAEhE;;;;;;GAMG;AACH,qBACa,wBAAwB;IAGjC,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,eAAe;IAGlD;;;;;OAKG;IACG,OAAO,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAGpE"}
@@ -17,12 +17,12 @@
17
17
  * - Initial lifecycle is Requirements
18
18
  */
19
19
  import type { Feature } from '../../../domain/generated/output.js';
20
- import type { IFeatureRepository } from '../../ports/output/feature-repository.interface.js';
21
- import type { IWorktreeService } from '../../ports/output/worktree-service.interface.js';
22
- import type { IFeatureAgentProcessService } from '../../ports/output/feature-agent-process.interface.js';
23
- import type { IAgentRunRepository } from '../../ports/output/agent-run-repository.interface.js';
24
- import type { ISpecInitializerService } from '../../ports/output/spec-initializer.interface.js';
25
- import type { IAgentExecutorFactory } from '../../ports/output/agent-executor-factory.interface.js';
20
+ import type { IFeatureRepository } from '../../ports/output/repositories/feature-repository.interface.js';
21
+ import type { IWorktreeService } from '../../ports/output/services/worktree-service.interface.js';
22
+ import type { IFeatureAgentProcessService } from '../../ports/output/agents/feature-agent-process.interface.js';
23
+ import type { IAgentRunRepository } from '../../ports/output/agents/agent-run-repository.interface.js';
24
+ import type { ISpecInitializerService } from '../../ports/output/services/spec-initializer.interface.js';
25
+ import type { IAgentExecutorFactory } from '../../ports/output/agents/agent-executor-factory.interface.js';
26
26
  export interface CreateFeatureInput {
27
27
  userInput: string;
28
28
  repositoryPath: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/create-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAOpG,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAQD,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAVf,WAAW,EAAE,kBAAkB,EAE/B,eAAe,EAAE,gBAAgB,EAEjC,YAAY,EAAE,2BAA2B,EAEzC,aAAa,EAAE,mBAAmB,EAElC,eAAe,EAAE,uBAAuB,EAExC,eAAe,EAAE,qBAAqB;IAGnD,OAAO,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;YA8E5C,gBAAgB;IA6C9B,OAAO,CAAC,MAAM;CAQf"}
1
+ {"version":3,"file":"create-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/create-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAClG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAChH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAO3G,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAQD,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAVf,WAAW,EAAE,kBAAkB,EAE/B,eAAe,EAAE,gBAAgB,EAEjC,YAAY,EAAE,2BAA2B,EAEzC,aAAa,EAAE,mBAAmB,EAElC,eAAe,EAAE,uBAAuB,EAExC,eAAe,EAAE,qBAAqB;IAGnD,OAAO,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;YA8E5C,gBAAgB;IA8C9B,OAAO,CAAC,MAAM;CAQf"}
@@ -124,6 +124,7 @@ JSON only, no markdown fences.`;
124
124
  const result = await executor.execute(prompt, {
125
125
  maxTurns: 1,
126
126
  allowedTools: [],
127
+ silent: true,
127
128
  });
128
129
  const parsed = JSON.parse(result.result);
129
130
  if (!parsed.slug || !parsed.name || !parsed.description) {
@@ -12,10 +12,10 @@
12
12
  * - Gracefully handles worktree removal failures
13
13
  */
14
14
  import type { Feature } from '../../../domain/generated/output.js';
15
- import type { IFeatureRepository } from '../../ports/output/feature-repository.interface.js';
16
- import type { IWorktreeService } from '../../ports/output/worktree-service.interface.js';
17
- import type { IFeatureAgentProcessService } from '../../ports/output/feature-agent-process.interface.js';
18
- import type { IAgentRunRepository } from '../../ports/output/agent-run-repository.interface.js';
15
+ import type { IFeatureRepository } from '../../ports/output/repositories/feature-repository.interface.js';
16
+ import type { IWorktreeService } from '../../ports/output/services/worktree-service.interface.js';
17
+ import type { IFeatureAgentProcessService } from '../../ports/output/agents/feature-agent-process.interface.js';
18
+ import type { IAgentRunRepository } from '../../ports/output/agents/agent-run-repository.interface.js';
19
19
  export declare class DeleteFeatureUseCase {
20
20
  private readonly featureRepo;
21
21
  private readonly worktreeService;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/delete-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,qBACa,oBAAoB;IAEC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC9B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAE5D,OAAO,CAAC,QAAQ,CAAC,cAAc;IACA,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAJR,WAAW,EAAE,kBAAkB,EACjC,eAAe,EAAE,gBAAgB,EAE7D,cAAc,EAAE,2BAA2B,EACZ,OAAO,EAAE,mBAAmB;IAGxE,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAyCnD"}
1
+ {"version":3,"file":"delete-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/delete-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAClG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAChH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAEvG,qBACa,oBAAoB;IAEC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC9B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAE5D,OAAO,CAAC,QAAQ,CAAC,cAAc;IACA,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAJR,WAAW,EAAE,kBAAkB,EACjC,eAAe,EAAE,gBAAgB,EAE7D,cAAc,EAAE,2BAA2B,EACZ,OAAO,EAAE,mBAAmB;IAGxE,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAyCnD"}
@@ -8,7 +8,7 @@
8
8
  * - Filters are passed through to the repository
9
9
  */
10
10
  import type { Feature } from '../../../domain/generated/output.js';
11
- import type { IFeatureRepository, FeatureListFilters } from '../../ports/output/feature-repository.interface.js';
11
+ import type { IFeatureRepository, FeatureListFilters } from '../../ports/output/repositories/feature-repository.interface.js';
12
12
  export declare class ListFeaturesUseCase {
13
13
  private readonly featureRepo;
14
14
  constructor(featureRepo: IFeatureRepository);
@@ -1 +1 @@
1
- {"version":3,"file":"list-features.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/list-features.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,oDAAoD,CAAC;AAE5D,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAG5C,OAAO,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAGhE"}
1
+ {"version":3,"file":"list-features.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/list-features.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,iEAAiE,CAAC;AAEzE,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAG5C,OAAO,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAGhE"}
@@ -5,10 +5,10 @@
5
5
  * Creates a new AgentRun record and spawns a worker with --resume flag.
6
6
  */
7
7
  import type { Feature, AgentRun } from '../../../domain/generated/output.js';
8
- import type { IFeatureRepository } from '../../ports/output/feature-repository.interface.js';
9
- import type { IAgentRunRepository } from '../../ports/output/agent-run-repository.interface.js';
10
- import type { IFeatureAgentProcessService } from '../../ports/output/feature-agent-process.interface.js';
11
- import type { IWorktreeService } from '../../ports/output/worktree-service.interface.js';
8
+ import type { IFeatureRepository } from '../../ports/output/repositories/feature-repository.interface.js';
9
+ import type { IAgentRunRepository } from '../../ports/output/agents/agent-run-repository.interface.js';
10
+ import type { IFeatureAgentProcessService } from '../../ports/output/agents/feature-agent-process.interface.js';
11
+ import type { IWorktreeService } from '../../ports/output/services/worktree-service.interface.js';
12
12
  export interface ResumeFeatureResult {
13
13
  feature: Feature;
14
14
  newRun: AgentRun;
@@ -1 +1 @@
1
- {"version":3,"file":"resume-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/resume-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAQzF,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBANf,WAAW,EAAE,kBAAkB,EAE/B,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B,EAE3C,eAAe,EAAE,gBAAgB;IAG9C,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAwE/D"}
1
+ {"version":3,"file":"resume-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/resume-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAQlG,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBANf,WAAW,EAAE,kBAAkB,EAE/B,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B,EAE3C,eAAe,EAAE,gBAAgB;IAG9C,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAwE/D"}
@@ -8,7 +8,7 @@
8
8
  * - Error message includes the requested ID for debugging
9
9
  */
10
10
  import type { Feature } from '../../../domain/generated/output.js';
11
- import type { IFeatureRepository } from '../../ports/output/feature-repository.interface.js';
11
+ import type { IFeatureRepository } from '../../ports/output/repositories/feature-repository.interface.js';
12
12
  export declare class ShowFeatureUseCase {
13
13
  private readonly featureRepo;
14
14
  constructor(featureRepo: IFeatureRepository);
@@ -1 +1 @@
1
- {"version":3,"file":"show-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/show-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAE7F,qBACa,kBAAkB;IAG3B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAG5C,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAUnD"}
1
+ {"version":3,"file":"show-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/features/show-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAE1G,qBACa,kBAAkB;IAG3B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,kBAAkB;IAG5C,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAUnD"}
@@ -10,7 +10,7 @@
10
10
  * - Idempotent: safe to call multiple times
11
11
  */
12
12
  import type { Settings } from '../../../domain/generated/output.js';
13
- import type { ISettingsRepository } from '../../ports/output/settings.repository.interface.js';
13
+ import type { ISettingsRepository } from '../../ports/output/repositories/settings.repository.interface.js';
14
14
  /**
15
15
  * Use case for initializing global settings.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"initialize-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/settings/initialize-settings.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAG/F;;;;;;;;GAQG;AACH,qBACa,yBAAyB;IAGlC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAG1D;;;;OAIG;IACG,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC;CAgBnC"}
1
+ {"version":3,"file":"initialize-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/settings/initialize-settings.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAG5G;;;;;;;;GAQG;AACH,qBACa,yBAAyB;IAGlC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAG1D;;;;OAIG;IACG,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC;CAgBnC"}
@@ -10,7 +10,7 @@
10
10
  * - Read-only operation (no mutations)
11
11
  */
12
12
  import type { Settings } from '../../../domain/generated/output.js';
13
- import type { ISettingsRepository } from '../../ports/output/settings.repository.interface.js';
13
+ import type { ISettingsRepository } from '../../ports/output/repositories/settings.repository.interface.js';
14
14
  /**
15
15
  * Use case for loading existing settings.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"load-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/settings/load-settings.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F;;;;;;;GAOG;AACH,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAG1D;;;;;OAKG;IACG,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC;CASnC"}
1
+ {"version":3,"file":"load-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/settings/load-settings.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAE5G;;;;;;;GAOG;AACH,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAG1D;;;;;OAKG;IACG,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC;CASnC"}
@@ -10,7 +10,7 @@
10
10
  * - Returns updated settings after persistence
11
11
  */
12
12
  import type { Settings } from '../../../domain/generated/output.js';
13
- import type { ISettingsRepository } from '../../ports/output/settings.repository.interface.js';
13
+ import type { ISettingsRepository } from '../../ports/output/repositories/settings.repository.interface.js';
14
14
  /**
15
15
  * Use case for updating existing settings.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"update-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/settings/update-settings.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F;;;;;;;GAOG;AACH,qBACa,qBAAqB;IAG9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAG1D;;;;;OAKG;IACG,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;CAOrD"}
1
+ {"version":3,"file":"update-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../src/application/use-cases/settings/update-settings.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAE5G;;;;;;;GAOG;AACH,qBACa,qBAAqB;IAG9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAG1D;;;;;OAKG;IACG,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;CAOrD"}
@@ -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,kEAAkE,CAAC;AAC5G,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"}
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"}
@@ -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 { IFeatureRepository, FeatureListFilters } from '../../application/ports/output/feature-repository.interface.js';
8
+ import type { IFeatureRepository, FeatureListFilters } from '../../application/ports/output/repositories/feature-repository.interface.js';
9
9
  import type { Feature } from '../../domain/generated/output.js';
10
10
  /**
11
11
  * SQLite implementation of IFeatureRepository.
@@ -1 +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,gEAAgE,CAAC;AACxE,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"}
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"}
@@ -6,7 +6,7 @@
6
6
  * Uses prepared statements to prevent SQL injection.
7
7
  */
8
8
  import type Database from 'better-sqlite3';
9
- import type { ISettingsRepository } from '../../application/ports/output/settings.repository.interface.js';
9
+ import type { ISettingsRepository } from '../../application/ports/output/repositories/settings.repository.interface.js';
10
10
  import type { Settings } from '../../domain/generated/output.js';
11
11
  /**
12
12
  * SQLite implementation of ISettingsRepository.
@@ -1 +1 @@
1
- {"version":3,"file":"sqlite-settings.repository.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/repositories/sqlite-settings.repository.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iEAAiE,CAAC;AAC3G,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAOjE;;;GAGG;AACH,qBACa,wBAAyB,YAAW,mBAAmB;IACtD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAElD;;;;;;OAMG;IACG,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAiCnD;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAgBtC;;;;;OAKG;IACG,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAwChD"}
1
+ {"version":3,"file":"sqlite-settings.repository.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/repositories/sqlite-settings.repository.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8EAA8E,CAAC;AACxH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAOjE;;;GAGG;AACH,qBACa,wBAAyB,YAAW,mBAAmB;IACtD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAElD;;;;;;OAMG;IACG,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAiCnD;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAgBtC;;;;;OAKG;IACG,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAwChD"}
@@ -1,5 +1,5 @@
1
1
  import { type BaseCheckpointSaver } from '@langchain/langgraph';
2
- import type { IAgentExecutor } from '../../../../application/ports/output/agent-executor.interface.js';
2
+ import type { IAgentExecutor } from '../../../../application/ports/output/agents/agent-executor.interface.js';
3
3
  /**
4
4
  * State annotation for the analyze-repository graph.
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"analyze-repository-graph.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACpG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAG7F;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,OAAO,sBAAsB,CAAC,KAAK,CAAC;AAyB7E;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,cAAc,EACxB,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQnC"}
1
+ {"version":3,"file":"analyze-repository-graph.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACpG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAGpG;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,OAAO,sBAAsB,CAAC,KAAK,CAAC;AAyB7E;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,cAAc,EACxB,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQnC"}
@@ -8,8 +8,8 @@
8
8
  * to enable testability without mocking node:child_process directly.
9
9
  */
10
10
  import type { AgentType, AgentConfig } from '../../../../domain/generated/output.js';
11
- import type { IAgentExecutor } from '../../../../application/ports/output/agent-executor.interface.js';
12
- import type { IAgentExecutorFactory } from '../../../../application/ports/output/agent-executor-factory.interface.js';
11
+ import type { IAgentExecutor } from '../../../../application/ports/output/agents/agent-executor.interface.js';
12
+ import type { IAgentExecutorFactory } from '../../../../application/ports/output/agents/agent-executor-factory.interface.js';
13
13
  import { type SpawnFunction } from './executors/claude-code-executor.service.js';
14
14
  /**
15
15
  * Factory that creates and caches agent executor instances.
@@ -1 +1 @@
1
- {"version":3,"file":"agent-executor-factory.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-executor-factory.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAC;AACvG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0EAA0E,CAAC;AACtH,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,6CAA6C,CAAC;AAErD;;;;;GAKG;AACH,qBAAa,oBAAqB,YAAW,qBAAqB;IAMpD,OAAO,CAAC,QAAQ,CAAC,KAAK;IALlC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAqC;IAE3D;;OAEG;gBAC0B,KAAK,EAAE,aAAa;IAEjD;;;;;;;OAOG;IACH,cAAc,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,GAAG,cAAc;IAoB9E;;;;OAIG;IACH,kBAAkB,IAAI,SAAS,EAAE;CAGlC"}
1
+ {"version":3,"file":"agent-executor-factory.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-executor-factory.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AAC9G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iFAAiF,CAAC;AAC7H,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,6CAA6C,CAAC;AAErD;;;;;GAKG;AACH,qBAAa,oBAAqB,YAAW,qBAAqB;IAMpD,OAAO,CAAC,QAAQ,CAAC,KAAK;IALlC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAqC;IAE3D;;OAEG;gBAC0B,KAAK,EAAE,aAAa;IAEjD;;;;;;;OAOG;IACH,cAAc,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,GAAG,cAAc;IAoB9E;;;;OAIG;IACH,kBAAkB,IAAI,SAAS,EAAE;CAGlC"}
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Pre-registers built-in agents (analyze-repository) at construction time.
9
9
  */
10
- import type { IAgentRegistry, AgentDefinitionWithFactory } from '../../../../application/ports/output/agent-registry.interface.js';
10
+ import type { IAgentRegistry, AgentDefinitionWithFactory } from '../../../../application/ports/output/agents/agent-registry.interface.js';
11
11
  export declare class AgentRegistryService implements IAgentRegistry {
12
12
  private readonly agents;
13
13
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"agent-registry.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-registry.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,cAAc,EACd,0BAA0B,EAC3B,MAAM,wDAAwD,CAAC;AAIhE,qBAAa,oBAAqB,YAAW,cAAc;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiD;;IAiBxE,QAAQ,CAAC,UAAU,EAAE,0BAA0B,GAAG,IAAI;IAItD,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS;IAIzD,IAAI,IAAI,0BAA0B,EAAE;CAGrC"}
1
+ {"version":3,"file":"agent-registry.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-registry.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,cAAc,EACd,0BAA0B,EAC3B,MAAM,+DAA+D,CAAC;AAIvE,qBAAa,oBAAqB,YAAW,cAAc;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiD;;IAiBxE,QAAQ,CAAC,UAAU,EAAE,0BAA0B,GAAG,IAAI;IAItD,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS;IAIzD,IAAI,IAAI,0BAA0B,EAAE;CAGrC"}
@@ -7,10 +7,10 @@
7
7
  * in the repository.
8
8
  */
9
9
  import type { BaseCheckpointSaver } from '@langchain/langgraph';
10
- import type { IAgentRunner, AgentRunOptions } from '../../../../application/ports/output/agent-runner.interface.js';
11
- import type { IAgentRegistry } from '../../../../application/ports/output/agent-registry.interface.js';
12
- import type { IAgentExecutorFactory } from '../../../../application/ports/output/agent-executor-factory.interface.js';
13
- import type { IAgentRunRepository } from '../../../../application/ports/output/agent-run-repository.interface.js';
10
+ import type { IAgentRunner, AgentRunOptions } from '../../../../application/ports/output/agents/agent-runner.interface.js';
11
+ import type { IAgentRegistry } from '../../../../application/ports/output/agents/agent-registry.interface.js';
12
+ import type { IAgentExecutorFactory } from '../../../../application/ports/output/agents/agent-executor-factory.interface.js';
13
+ import type { IAgentRunRepository } from '../../../../application/ports/output/agents/agent-run-repository.interface.js';
14
14
  import type { AgentRun, AgentRunEvent } from '../../../../domain/generated/output.js';
15
15
  export declare class AgentRunnerService implements IAgentRunner {
16
16
  private readonly registry;
@@ -1 +1 @@
1
- {"version":3,"file":"agent-runner.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-runner.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EAChB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAC7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AAExG,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAM5E,qBAAa,kBAAmB,YAAW,YAAY;IAEnD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAHb,QAAQ,EAAE,cAAc,EACxB,eAAe,EAAE,qBAAqB,EACtC,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB;IAG/C,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,QAAQ,CAAC;IAmBxF,cAAc,CACnB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe,GACxB,aAAa,CAAC,aAAa,CAAC;YAwCjB,QAAQ;YAwCR,aAAa;YAUb,UAAU;CAQzB"}
1
+ {"version":3,"file":"agent-runner.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-runner.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EAChB,MAAM,6DAA6D,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AACpG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uEAAuE,CAAC;AACnH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAE/G,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAM5E,qBAAa,kBAAmB,YAAW,YAAY;IAEnD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAHb,QAAQ,EAAE,cAAc,EACxB,eAAe,EAAE,qBAAqB,EACtC,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB;IAG/C,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,QAAQ,CAAC;IAmBxF,cAAc,CACnB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe,GACxB,aAAa,CAAC,aAAa,CAAC;YAwCjB,QAAQ;YAwCR,aAAa;YAUb,UAAU;CAQzB"}
@@ -9,7 +9,7 @@
9
9
  * to enable testability without mocking node:child_process directly.
10
10
  */
11
11
  import type { AgentType } from '../../../../domain/generated/output.js';
12
- import type { IAgentValidator, AgentValidationResult } from '../../../../application/ports/output/agent-validator.interface.js';
12
+ import type { IAgentValidator, AgentValidationResult } from '../../../../application/ports/output/agents/agent-validator.interface.js';
13
13
  /**
14
14
  * Type for the command executor dependency.
15
15
  * Matches the promisified signature of child_process.execFile.
@@ -1 +1 @@
1
- {"version":3,"file":"agent-validator.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-validator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACtB,MAAM,mEAAmE,CAAC;AAE3E;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,CACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EAAE,KACX,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AASjD;;;;;GAKG;AACH,qBACa,qBAAsB,YAAW,eAAe;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IAEtC;;;OAGG;gBACiC,MAAM,EAAE,YAAY;IAIxD;;;;;OAKG;IACG,WAAW,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC;CA2BxE"}
1
+ {"version":3,"file":"agent-validator.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/common/agent-validator.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACtB,MAAM,0EAA0E,CAAC;AAElF;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,CACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EAAE,KACX,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AASjD;;;;;GAKG;AACH,qBACa,qBAAsB,YAAW,eAAe;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IAEtC;;;OAGG;gBACiC,MAAM,EAAE,YAAY;IAIxD;;;;;OAKG;IACG,WAAW,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC;CA2BxE"}
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { ChildProcess } from 'node:child_process';
12
12
  import type { AgentType, AgentFeature } from '../../../../../domain/generated/output.js';
13
- import type { IAgentExecutor, AgentExecutionOptions, AgentExecutionResult, AgentExecutionStreamEvent } from '../../../../../application/ports/output/agent-executor.interface.js';
13
+ import type { IAgentExecutor, AgentExecutionOptions, AgentExecutionResult, AgentExecutionStreamEvent } from '../../../../../application/ports/output/agents/agent-executor.interface.js';
14
14
  /**
15
15
  * Type for the spawn dependency.
16
16
  * Matches the signature of child_process.spawn.
@@ -24,6 +24,8 @@ export type SpawnFunction = (command: string, args: string[], options?: object)
24
24
  export declare class ClaudeCodeExecutorService implements IAgentExecutor {
25
25
  private readonly spawn;
26
26
  readonly agentType: AgentType;
27
+ /** When true, suppresses debug logging (set per-call via options.silent) */
28
+ private silent;
27
29
  constructor(spawn: SpawnFunction);
28
30
  /** Debug logging — writes to stdout so it appears in the worker log file */
29
31
  private log;
@@ -1 +1 @@
1
- {"version":3,"file":"claude-code-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/common/executors/claude-code-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,qEAAqE,CAAC;AAE7E;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC;AAUhG;;;GAGG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAGlD,OAAO,CAAC,QAAQ,CAAC,KAAK;IAFlC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAA8B;gBAE9B,KAAK,EAAE,aAAa;IAEjD,4EAA4E;IAC5E,OAAO,CAAC,GAAG;IAKL,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAkHtF,aAAa,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC;IA+F3C;;;OAGG;IACH,OAAO,CAAC,cAAc;IAmCtB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO;IAI/C,OAAO,CAAC,SAAS;IAWjB,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;IAiCvB,OAAO,CAAC,eAAe;CAkExB"}
1
+ {"version":3,"file":"claude-code-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/common/executors/claude-code-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,4EAA4E,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC;AAUhG;;;GAGG;AACH,qBAAa,yBAA0B,YAAW,cAAc;IAMlD,OAAO,CAAC,QAAQ,CAAC,KAAK;IALlC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAA8B;IAE3D,4EAA4E;IAC5E,OAAO,CAAC,MAAM,CAAS;gBAEM,KAAK,EAAE,aAAa;IAEjD,4EAA4E;IAC5E,OAAO,CAAC,GAAG;IAML,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAmHtF,aAAa,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC;IA+F3C;;;OAGG;IACH,OAAO,CAAC,cAAc;IAmCtB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO;IAI/C,OAAO,CAAC,SAAS;IAWjB,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;IAiCvB,OAAO,CAAC,eAAe;CAkExB"}
@@ -22,15 +22,20 @@ const SUPPORTED_FEATURES = new Set([
22
22
  export class ClaudeCodeExecutorService {
23
23
  spawn;
24
24
  agentType = 'claude-code';
25
+ /** When true, suppresses debug logging (set per-call via options.silent) */
26
+ silent = false;
25
27
  constructor(spawn) {
26
28
  this.spawn = spawn;
27
29
  }
28
30
  /** Debug logging — writes to stdout so it appears in the worker log file */
29
31
  log(message) {
32
+ if (this.silent)
33
+ return;
30
34
  const ts = new Date().toISOString();
31
35
  process.stdout.write(`[${ts}] [claude-executor] ${message}\n`);
32
36
  }
33
37
  async execute(prompt, options) {
38
+ this.silent = options?.silent ?? false;
34
39
  // Use stream-json so we get real-time events in the worker log
35
40
  // instead of zero output for minutes with --output-format json
36
41
  const args = this.buildStreamArgs(prompt, options);
@@ -5,8 +5,8 @@
5
5
  * Activated via SHEP_MOCK_EXECUTOR=1 environment variable.
6
6
  */
7
7
  import type { AgentType, AgentConfig } from '../../../../../domain/generated/output.js';
8
- import type { IAgentExecutor } from '../../../../../application/ports/output/agent-executor.interface.js';
9
- import type { IAgentExecutorFactory } from '../../../../../application/ports/output/agent-executor-factory.interface.js';
8
+ import type { IAgentExecutor } from '../../../../../application/ports/output/agents/agent-executor.interface.js';
9
+ import type { IAgentExecutorFactory } from '../../../../../application/ports/output/agents/agent-executor-factory.interface.js';
10
10
  export declare class MockAgentExecutorFactory implements IAgentExecutorFactory {
11
11
  private readonly executor;
12
12
  createExecutor(_agentType: AgentType, _authConfig: AgentConfig): IAgentExecutor;
@@ -1 +1 @@
1
- {"version":3,"file":"mock-executor-factory.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/common/executors/mock-executor-factory.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qEAAqE,CAAC;AAC1G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6EAA6E,CAAC;AAGzH,qBAAa,wBAAyB,YAAW,qBAAqB;IACpE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAkC;IAE3D,cAAc,CAAC,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,GAAG,cAAc;IAI/E,kBAAkB,IAAI,SAAS,EAAE;CAGlC"}
1
+ {"version":3,"file":"mock-executor-factory.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/common/executors/mock-executor-factory.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4EAA4E,CAAC;AACjH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oFAAoF,CAAC;AAGhI,qBAAa,wBAAyB,YAAW,qBAAqB;IACpE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAkC;IAE3D,cAAc,CAAC,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,GAAG,cAAc;IAI/E,kBAAkB,IAAI,SAAS,EAAE;CAGlC"}
@@ -7,7 +7,7 @@
7
7
  * Activated via SHEP_MOCK_EXECUTOR=1 environment variable.
8
8
  */
9
9
  import type { AgentType, AgentFeature } from '../../../../../domain/generated/output.js';
10
- import type { IAgentExecutor, AgentExecutionOptions, AgentExecutionResult, AgentExecutionStreamEvent } from '../../../../../application/ports/output/agent-executor.interface.js';
10
+ import type { IAgentExecutor, AgentExecutionOptions, AgentExecutionResult, AgentExecutionStreamEvent } from '../../../../../application/ports/output/agents/agent-executor.interface.js';
11
11
  export declare class MockAgentExecutorService implements IAgentExecutor {
12
12
  readonly agentType: AgentType;
13
13
  execute(prompt: string, _options?: AgentExecutionOptions): Promise<AgentExecutionResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"mock-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/common/executors/mock-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,qEAAqE,CAAC;AAwB7E,qBAAa,wBAAyB,YAAW,cAAc;IAC7D,QAAQ,CAAC,SAAS,EAAE,SAAS,CAA8B;IAErD,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAevF,aAAa,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC;IAK3C,eAAe,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO;CAGjD"}
1
+ {"version":3,"file":"mock-executor.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/common/executors/mock-executor.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,4EAA4E,CAAC;AAwBpF,qBAAa,wBAAyB,YAAW,cAAc;IAC7D,QAAQ,CAAC,SAAS,EAAE,SAAS,CAA8B;IAErD,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAevF,aAAa,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC;IAK3C,eAAe,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO;CAGjD"}
@@ -1,5 +1,5 @@
1
1
  import { type BaseCheckpointSaver } from '@langchain/langgraph';
2
- import type { IAgentExecutor } from '../../../../application/ports/output/agent-executor.interface.js';
2
+ import type { IAgentExecutor } from '../../../../application/ports/output/agents/agent-executor.interface.js';
3
3
  export { FeatureAgentAnnotation, type FeatureAgentState } from './state.js';
4
4
  /**
5
5
  * Factory function that creates and compiles the feature-agent LangGraph.
@@ -1 +1 @@
1
- {"version":3,"file":"feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/feature-agent/feature-agent-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAS7F,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,cAAc,EACxB,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgBnC"}
1
+ {"version":3,"file":"feature-agent-graph.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/feature-agent/feature-agent-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AASpG,OAAO,EAAE,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5E;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,cAAc,EACxB,YAAY,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgBnC"}
@@ -5,8 +5,8 @@
5
5
  * Manages background worker processes for feature agent execution
6
6
  * using Node.js child_process.fork().
7
7
  */
8
- import type { IFeatureAgentProcessService } from '../../../../application/ports/output/feature-agent-process.interface.js';
9
- import type { IAgentRunRepository } from '../../../../application/ports/output/agent-run-repository.interface.js';
8
+ import type { IFeatureAgentProcessService } from '../../../../application/ports/output/agents/feature-agent-process.interface.js';
9
+ import type { IAgentRunRepository } from '../../../../application/ports/output/agents/agent-run-repository.interface.js';
10
10
  export declare class FeatureAgentProcessService implements IFeatureAgentProcessService {
11
11
  private readonly runRepository;
12
12
  constructor(runRepository: IAgentRunRepository);
@@ -1 +1 @@
1
- {"version":3,"file":"feature-agent-process.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/feature-agent/feature-agent-process.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AACjH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AAaxG,qBAAa,0BAA2B,YAAW,2BAA2B;IAChE,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,mBAAmB;IAE/D,KAAK,CACH,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,GACpD,MAAM;IA4CT,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IASvB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAexD"}
1
+ {"version":3,"file":"feature-agent-process.service.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/feature-agent/feature-agent-process.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sEAAsE,CAAC;AACxH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAa/G,qBAAa,0BAA2B,YAAW,2BAA2B;IAChE,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,mBAAmB;IAE/D,KAAK,CACH,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,GACpD,MAAM;IA4CT,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IASvB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAexD"}
@@ -5,7 +5,7 @@
5
5
  * call reportNodeStart() to update the DB with the current node name.
6
6
  * This is a module-level singleton since only one worker runs per process.
7
7
  */
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
  /**
10
10
  * Set the heartbeat context. Called once by the worker after DI init.
11
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"heartbeat.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/feature-agent/heartbeat.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AAMxG;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB,GAAG,IAAI,CAGxF;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAgBtD"}
1
+ {"version":3,"file":"heartbeat.d.ts","sourceRoot":"","sources":["../../../../../../src/infrastructure/services/agents/feature-agent/heartbeat.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAM/G;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB,GAAG,IAAI,CAGxF;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAgBtD"}
@@ -1,4 +1,4 @@
1
- import type { IAgentExecutor } from '../../../../../application/ports/output/agent-executor.interface.js';
1
+ import type { IAgentExecutor } from '../../../../../application/ports/output/agents/agent-executor.interface.js';
2
2
  /**
3
3
  * Creates the analyze node that explores the repository and writes
4
4
  * codebase analysis, complexity estimate, and affected areas to spec.yaml.
@@ -1 +1 @@
1
- {"version":3,"file":"analyze.node.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/feature-agent/nodes/analyze.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAI7F;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,cAAc,iHAEzD"}
1
+ {"version":3,"file":"analyze.node.d.ts","sourceRoot":"","sources":["../../../../../../../src/infrastructure/services/agents/feature-agent/nodes/analyze.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAIpG;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,cAAc,iHAEzD"}