@shepai/cli 1.169.1 → 1.170.0-pr513.cff27cb

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 (546) hide show
  1. package/apis/json-schema/Feature.yaml +27 -5
  2. package/apis/json-schema/FeatureMode.yaml +8 -0
  3. package/apis/json-schema/SdlcLifecycle.yaml +1 -0
  4. package/apis/json-schema/SkillInjectionConfig.yaml +17 -0
  5. package/apis/json-schema/SkillSource.yaml +21 -0
  6. package/apis/json-schema/SkillSourceType.yaml +7 -0
  7. package/apis/json-schema/WorkflowConfig.yaml +13 -5
  8. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +2 -2
  9. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
  10. package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts +8 -0
  11. package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts.map +1 -1
  12. package/dist/packages/core/src/application/ports/output/services/index.d.ts +1 -0
  13. package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
  14. package/dist/packages/core/src/application/ports/output/services/skill-injector.interface.d.ts +39 -0
  15. package/dist/packages/core/src/application/ports/output/services/skill-injector.interface.d.ts.map +1 -0
  16. package/dist/packages/core/src/application/ports/output/services/skill-injector.interface.js +8 -0
  17. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +4 -3
  18. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
  19. package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +2 -2
  20. package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +2 -2
  21. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts.map +1 -1
  22. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.js +4 -2
  23. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +2 -2
  24. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts +3 -1
  25. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
  26. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +40 -10
  27. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +5 -2
  28. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
  29. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
  30. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.js +13 -0
  31. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts +40 -0
  32. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts.map +1 -0
  33. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.js +125 -0
  34. package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.d.ts.map +1 -1
  35. package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.js +23 -2
  36. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +2 -2
  37. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +1 -1
  38. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +5 -3
  39. package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
  40. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +57 -2
  41. package/dist/packages/core/src/domain/generated/output.d.ts +72 -4
  42. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  43. package/dist/packages/core/src/domain/generated/output.js +12 -0
  44. package/dist/packages/core/src/domain/lifecycle-gates.d.ts +21 -6
  45. package/dist/packages/core/src/domain/lifecycle-gates.d.ts.map +1 -1
  46. package/dist/packages/core/src/domain/lifecycle-gates.js +25 -6
  47. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  48. package/dist/packages/core/src/infrastructure/di/container.js +7 -0
  49. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +5 -1
  50. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
  51. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +16 -4
  52. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +4 -1
  53. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  54. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +34 -2
  55. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts +19 -0
  56. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts.map +1 -0
  57. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.js +46 -0
  58. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts +17 -0
  59. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts.map +1 -0
  60. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.js +37 -0
  61. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts +12 -0
  62. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts.map +1 -0
  63. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.js +17 -0
  64. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-skill-injection-config.d.ts +15 -0
  65. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-skill-injection-config.d.ts.map +1 -0
  66. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-skill-injection-config.js +23 -0
  67. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-injected-skills-to-features.d.ts +11 -0
  68. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-injected-skills-to-features.d.ts.map +1 -0
  69. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-injected-skills-to-features.js +19 -0
  70. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
  71. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +13 -7
  72. package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -3
  73. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.d.ts +21 -0
  74. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.d.ts.map +1 -1
  75. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.prompt.js +61 -0
  76. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts +16 -0
  77. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts.map +1 -1
  78. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.js +47 -4
  79. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts +362 -0
  80. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts.map +1 -0
  81. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.js +72 -0
  82. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +20 -0
  83. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
  84. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +68 -0
  85. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
  86. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +2 -2
  87. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
  88. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +3 -3
  89. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +2 -2
  90. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
  91. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +19 -8
  92. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.d.ts.map +1 -1
  93. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.js +1 -0
  94. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts +18 -0
  95. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts.map +1 -0
  96. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.js +52 -0
  97. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.d.ts.map +1 -1
  98. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.js +39 -20
  99. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  100. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +1 -0
  101. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts +24 -0
  102. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts.map +1 -0
  103. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.js +38 -0
  104. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts +31 -0
  105. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts.map +1 -0
  106. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.js +240 -0
  107. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts +21 -0
  108. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts.map +1 -0
  109. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.js +134 -0
  110. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +4 -0
  111. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
  112. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +17 -0
  113. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.d.ts +5 -0
  114. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.d.ts.map +1 -1
  115. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.js +34 -0
  116. package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts +1 -0
  117. package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts.map +1 -1
  118. package/dist/packages/core/src/infrastructure/services/git/git-pr.service.js +8 -0
  119. package/dist/packages/core/src/infrastructure/services/skill-injector.service.d.ts +26 -0
  120. package/dist/packages/core/src/infrastructure/services/skill-injector.service.d.ts.map +1 -0
  121. package/dist/packages/core/src/infrastructure/services/skill-injector.service.js +201 -0
  122. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +1 -1
  123. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
  124. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +7 -4
  125. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts +12 -0
  126. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts.map +1 -0
  127. package/dist/src/presentation/cli/commands/feat/feedback.command.js +64 -0
  128. package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
  129. package/dist/src/presentation/cli/commands/feat/index.js +5 -1
  130. package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
  131. package/dist/src/presentation/cli/commands/feat/new.command.js +21 -5
  132. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts +13 -0
  133. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts.map +1 -0
  134. package/dist/src/presentation/cli/commands/feat/promote.command.js +41 -0
  135. package/dist/src/presentation/web/app/actions/add-injected-skill.d.ts +7 -0
  136. package/dist/src/presentation/web/app/actions/add-injected-skill.d.ts.map +1 -0
  137. package/dist/src/presentation/web/app/actions/add-injected-skill.js +34 -0
  138. package/dist/src/presentation/web/app/actions/create-feature.d.ts +5 -2
  139. package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
  140. package/dist/src/presentation/web/app/actions/create-feature.js +5 -3
  141. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts +9 -0
  142. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts.map +1 -0
  143. package/dist/src/presentation/web/app/actions/discard-exploration.js +29 -0
  144. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +3 -1
  145. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
  146. package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +3 -1
  147. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts +11 -0
  148. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts.map +1 -0
  149. package/dist/src/presentation/web/app/actions/promote-exploration.js +21 -0
  150. package/dist/src/presentation/web/app/actions/remove-injected-skill.d.ts +6 -0
  151. package/dist/src/presentation/web/app/actions/remove-injected-skill.d.ts.map +1 -0
  152. package/dist/src/presentation/web/app/actions/remove-injected-skill.js +35 -0
  153. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts +12 -0
  154. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts.map +1 -0
  155. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.js +40 -0
  156. package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
  157. package/dist/src/presentation/web/app/api/agent-events/route.js +1 -0
  158. package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
  159. package/dist/src/presentation/web/app/build-feature-node-data.js +6 -2
  160. package/dist/src/presentation/web/app/build-graph-nodes.js +4 -2
  161. package/dist/src/presentation/web/app/skills/page.d.ts.map +1 -1
  162. package/dist/src/presentation/web/app/skills/page.js +6 -1
  163. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts +1 -1
  164. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts.map +1 -1
  165. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.js +3 -0
  166. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
  167. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +65 -1
  168. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +5 -2
  169. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  170. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +20 -12
  171. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
  172. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +3 -1
  173. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts +8 -0
  174. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts.map +1 -0
  175. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.js +33 -0
  176. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts +10 -0
  177. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts.map +1 -0
  178. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.js +33 -0
  179. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts +6 -1
  180. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
  181. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +16 -4
  182. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.d.ts.map +1 -1
  183. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.js +10 -4
  184. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.d.ts +2 -0
  185. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.d.ts.map +1 -1
  186. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.js +12 -0
  187. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts +11 -0
  188. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts.map +1 -0
  189. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.js +34 -0
  190. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts +16 -0
  191. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts.map +1 -0
  192. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.js +70 -0
  193. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
  194. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +2 -0
  195. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +10 -2
  196. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  197. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +12 -0
  198. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  199. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +7 -2
  200. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  201. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +6 -6
  202. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +3 -3
  203. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.d.ts +10 -0
  204. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.d.ts.map +1 -0
  205. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.js +56 -0
  206. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.stories.d.ts +16 -0
  207. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.stories.d.ts.map +1 -0
  208. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.stories.js +66 -0
  209. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.d.ts +8 -0
  210. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.d.ts.map +1 -0
  211. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.js +42 -0
  212. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.stories.d.ts +16 -0
  213. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.stories.d.ts.map +1 -0
  214. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.stories.js +69 -0
  215. package/dist/src/presentation/web/components/features/skills/skills-page-client.d.ts +3 -1
  216. package/dist/src/presentation/web/components/features/skills/skills-page-client.d.ts.map +1 -1
  217. package/dist/src/presentation/web/components/features/skills/skills-page-client.js +5 -3
  218. package/dist/src/presentation/web/components/features/skills/skills-page-client.stories.d.ts +1 -0
  219. package/dist/src/presentation/web/components/features/skills/skills-page-client.stories.d.ts.map +1 -1
  220. package/dist/src/presentation/web/components/features/skills/skills-page-client.stories.js +27 -0
  221. package/dist/src/presentation/web/components/ui/toggle-group.d.ts +10 -0
  222. package/dist/src/presentation/web/components/ui/toggle-group.d.ts.map +1 -0
  223. package/dist/src/presentation/web/components/ui/toggle-group.js +22 -0
  224. package/dist/src/presentation/web/components/ui/toggle.d.ts +10 -0
  225. package/dist/src/presentation/web/components/ui/toggle.d.ts.map +1 -0
  226. package/dist/src/presentation/web/components/ui/toggle.js +26 -0
  227. package/dist/translations/ar/cli.json +26 -0
  228. package/dist/translations/ar/web.json +21 -13
  229. package/dist/translations/de/cli.json +26 -0
  230. package/dist/translations/de/web.json +41 -19
  231. package/dist/translations/en/cli.json +26 -0
  232. package/dist/translations/en/web.json +10 -2
  233. package/dist/translations/es/cli.json +26 -0
  234. package/dist/translations/es/web.json +22 -14
  235. package/dist/translations/fr/cli.json +26 -0
  236. package/dist/translations/fr/web.json +22 -14
  237. package/dist/translations/he/cli.json +26 -0
  238. package/dist/translations/he/web.json +22 -14
  239. package/dist/translations/pt/cli.json +26 -0
  240. package/dist/translations/pt/web.json +22 -14
  241. package/dist/translations/ru/cli.json +26 -0
  242. package/dist/translations/ru/web.json +22 -14
  243. package/dist/tsconfig.build.tsbuildinfo +1 -1
  244. package/package.json +1 -1
  245. package/web/.next/BUILD_ID +1 -1
  246. package/web/.next/build-manifest.json +5 -5
  247. package/web/.next/fallback-build-manifest.json +2 -2
  248. package/web/.next/prerender-manifest.json +3 -3
  249. package/web/.next/required-server-files.js +3 -3
  250. package/web/.next/required-server-files.json +3 -3
  251. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +3 -3
  252. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  253. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +1 -1
  254. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  255. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  256. package/web/.next/server/app/(dashboard)/@drawer/chat/page/build-manifest.json +3 -3
  257. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  258. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +1 -1
  259. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  260. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  261. package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +3 -3
  262. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +30 -30
  263. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
  264. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  265. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  266. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  267. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +121 -76
  268. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -2
  269. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  270. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  271. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +3 -3
  272. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +121 -76
  273. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -2
  274. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  275. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  276. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  277. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  278. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +1 -1
  279. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  280. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  281. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +3 -3
  282. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  283. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
  284. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  285. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  286. package/web/.next/server/app/(dashboard)/chat/page/build-manifest.json +3 -3
  287. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  288. package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
  289. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  290. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  291. package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +3 -3
  292. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +30 -30
  293. package/web/.next/server/app/(dashboard)/create/page.js +1 -1
  294. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  295. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  296. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  297. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +121 -76
  298. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -2
  299. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  300. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  301. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +3 -3
  302. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +121 -76
  303. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -2
  304. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  305. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  306. package/web/.next/server/app/(dashboard)/page/build-manifest.json +3 -3
  307. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  308. package/web/.next/server/app/(dashboard)/page.js +1 -1
  309. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  310. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  311. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  312. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  313. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +1 -1
  314. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  315. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  316. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +3 -3
  317. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  318. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
  319. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  320. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  321. package/web/.next/server/app/_global-error/page/build-manifest.json +3 -3
  322. package/web/.next/server/app/_global-error.html +2 -2
  323. package/web/.next/server/app/_global-error.rsc +1 -1
  324. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  325. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  326. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  327. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  328. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  329. package/web/.next/server/app/_not-found/page/build-manifest.json +3 -3
  330. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  331. package/web/.next/server/app/_not-found/page.js +1 -1
  332. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  333. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  334. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  335. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  336. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  337. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  338. package/web/.next/server/app/features/page/build-manifest.json +3 -3
  339. package/web/.next/server/app/features/page/server-reference-manifest.json +6 -6
  340. package/web/.next/server/app/features/page.js +1 -1
  341. package/web/.next/server/app/features/page.js.nft.json +1 -1
  342. package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
  343. package/web/.next/server/app/settings/page/build-manifest.json +3 -3
  344. package/web/.next/server/app/settings/page/server-reference-manifest.json +9 -9
  345. package/web/.next/server/app/settings/page.js +3 -3
  346. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  347. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  348. package/web/.next/server/app/skills/page/build-manifest.json +3 -3
  349. package/web/.next/server/app/skills/page/server-reference-manifest.json +52 -22
  350. package/web/.next/server/app/skills/page.js +3 -2
  351. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  352. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  353. package/web/.next/server/app/tools/page/build-manifest.json +3 -3
  354. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  355. package/web/.next/server/app/tools/page.js +1 -1
  356. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  357. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  358. package/web/.next/server/app/version/page/build-manifest.json +3 -3
  359. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  360. package/web/.next/server/app/version/page.js +1 -1
  361. package/web/.next/server/app/version/page.js.nft.json +1 -1
  362. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  363. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  364. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  365. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +1 -1
  366. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
  367. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  368. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
  369. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
  370. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
  371. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  372. package/web/.next/server/chunks/ssr/{_0727935d._.js → 403f9_next_8a33ddee._.js} +2 -2
  373. package/web/.next/server/chunks/ssr/403f9_next_8a33ddee._.js.map +1 -0
  374. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  375. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  376. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +3 -3
  377. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  378. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js +4 -0
  379. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js.map +1 -0
  380. package/web/.next/server/chunks/ssr/{[root-of-the-server]__e88da4ee._.js → [root-of-the-server]__1cd4327c._.js} +2 -2
  381. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js.map +1 -0
  382. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +1 -1
  383. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -1
  384. package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
  385. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js +4 -0
  386. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js.map +1 -0
  387. package/web/.next/server/chunks/ssr/[root-of-the-server]__4ed9b909._.js +1 -1
  388. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
  389. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
  390. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js +1 -1
  391. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +1 -1
  392. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +1 -1
  393. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +1 -1
  394. package/web/.next/server/chunks/ssr/{[root-of-the-server]__7ffd3598._.js → [root-of-the-server]__92ffd5ee._.js} +3 -3
  395. package/web/.next/server/chunks/ssr/[root-of-the-server]__92ffd5ee._.js.map +1 -0
  396. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js +2 -2
  397. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js.map +1 -1
  398. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +1 -1
  399. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -1
  400. package/web/.next/server/chunks/ssr/[root-of-the-server]__c1262d08._.js +1 -1
  401. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
  402. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
  403. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js +3 -0
  404. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js.map +1 -0
  405. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js +4 -0
  406. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js.map +1 -0
  407. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js +4 -0
  408. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js.map +1 -0
  409. package/web/.next/server/chunks/ssr/_02e01240._.js +1 -1
  410. package/web/.next/server/chunks/ssr/_02e01240._.js.map +1 -1
  411. package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
  412. package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
  413. package/web/.next/server/chunks/ssr/{_fe058119._.js → _0fd635d7._.js} +2 -2
  414. package/web/.next/server/chunks/ssr/_0fd635d7._.js.map +1 -0
  415. package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
  416. package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
  417. package/web/.next/server/chunks/ssr/_18886033._.js +1 -1
  418. package/web/.next/server/chunks/ssr/_18886033._.js.map +1 -1
  419. package/web/.next/server/chunks/ssr/_22e00a14._.js +1 -1
  420. package/web/.next/server/chunks/ssr/_22e00a14._.js.map +1 -1
  421. package/web/.next/server/chunks/ssr/_30ddea9d._.js +9 -0
  422. package/web/.next/server/chunks/ssr/_30ddea9d._.js.map +1 -0
  423. package/web/.next/server/chunks/ssr/{_a8b338ec._.js → _34d897da._.js} +2 -2
  424. package/web/.next/server/chunks/ssr/{_a8b338ec._.js.map → _34d897da._.js.map} +1 -1
  425. package/web/.next/server/chunks/ssr/_45496654._.js +3 -0
  426. package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -0
  427. package/web/.next/server/chunks/ssr/_4cbb7f95._.js +1 -1
  428. package/web/.next/server/chunks/ssr/_4cbb7f95._.js.map +1 -1
  429. package/web/.next/server/chunks/ssr/_5119a3df._.js +1 -1
  430. package/web/.next/server/chunks/ssr/_5119a3df._.js.map +1 -1
  431. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  432. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  433. package/web/.next/server/chunks/ssr/_6e79a2cc._.js +3 -0
  434. package/web/.next/server/chunks/ssr/_6e79a2cc._.js.map +1 -0
  435. package/web/.next/server/chunks/ssr/_6f35fb9a._.js +3 -0
  436. package/web/.next/server/chunks/ssr/_6f35fb9a._.js.map +1 -0
  437. package/web/.next/server/chunks/ssr/_a5a5901d._.js +1 -1
  438. package/web/.next/server/chunks/ssr/_a5a5901d._.js.map +1 -1
  439. package/web/.next/server/chunks/ssr/_ad09f271._.js +1 -1
  440. package/web/.next/server/chunks/ssr/_ad09f271._.js.map +1 -1
  441. package/web/.next/server/chunks/ssr/_c3f595c6._.js +1 -1
  442. package/web/.next/server/chunks/ssr/_c3f595c6._.js.map +1 -1
  443. package/web/.next/server/chunks/ssr/{_9b964adc._.js → _cac4abe6._.js} +2 -2
  444. package/web/.next/server/chunks/ssr/_cac4abe6._.js.map +1 -0
  445. package/web/.next/server/chunks/ssr/_df737cce._.js +3 -0
  446. package/web/.next/server/chunks/ssr/_df737cce._.js.map +1 -0
  447. package/web/.next/server/chunks/ssr/_ea9e1556._.js +1 -1
  448. package/web/.next/server/chunks/ssr/_ea9e1556._.js.map +1 -1
  449. package/web/.next/server/chunks/ssr/_f1ba9be6._.js +2 -2
  450. package/web/.next/server/chunks/ssr/_f1ba9be6._.js.map +1 -1
  451. package/web/.next/server/chunks/ssr/_f33cd07e._.js +2 -2
  452. package/web/.next/server/chunks/ssr/_f33cd07e._.js.map +1 -1
  453. package/web/.next/server/chunks/ssr/_f8b45233._.js +1 -1
  454. package/web/.next/server/chunks/ssr/_f8b45233._.js.map +1 -1
  455. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  456. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  457. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  458. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  459. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js +3 -0
  460. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js.map +1 -0
  461. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js +3 -0
  462. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js.map +1 -0
  463. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
  464. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  465. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  466. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  467. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  468. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  469. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  470. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +3 -0
  471. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -0
  472. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
  473. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js.map +1 -1
  474. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
  475. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
  476. package/web/.next/server/middleware-build-manifest.js +3 -3
  477. package/web/.next/server/pages/500.html +2 -2
  478. package/web/.next/server/server-reference-manifest.js +1 -1
  479. package/web/.next/server/server-reference-manifest.json +349 -211
  480. package/web/.next/static/chunks/0769c695d6b663c7.js +1 -0
  481. package/web/.next/static/chunks/09a25231e5fc1ab8.js +3 -0
  482. package/web/.next/static/chunks/{d6c39780c2f75ecd.js → 0f30a983f3467cd5.js} +1 -1
  483. package/web/.next/static/chunks/185e4f36cb6efb24.js +1 -0
  484. package/web/.next/static/chunks/{d5366257d6b9f855.js → 2a9af061f4fbe7f5.js} +1 -1
  485. package/web/.next/static/chunks/2ceebcc839ee0d4b.js +1 -0
  486. package/web/.next/static/chunks/{04c874f52a7cd435.js → 37f9543560c58ea6.js} +1 -1
  487. package/web/.next/static/chunks/{caf7d7e1b439b29e.js → 4219ddfde68a6d0b.js} +1 -1
  488. package/web/.next/static/chunks/{562c70303d910295.js → 478adf5d5156f002.js} +1 -1
  489. package/web/.next/static/chunks/52681a7f14138e48.js +1 -0
  490. package/web/.next/static/chunks/5743a9c1c63e5261.js +5 -0
  491. package/web/.next/static/chunks/5cf9745e2ef3837c.js +1 -0
  492. package/web/.next/static/chunks/5e20f692bbfcfb94.js +7 -0
  493. package/web/.next/static/chunks/74729cbad964be13.js +1 -0
  494. package/web/.next/static/chunks/{c5d89c12a73e0461.js → 9a78b4c5dcd28196.js} +2 -2
  495. package/web/.next/static/chunks/c80e8e3d0cf5baa6.css +1 -0
  496. package/web/.next/static/chunks/cc5fe8d1d9e1e519.js +5 -0
  497. package/web/.next/static/chunks/d5bf9c963b5346e1.js +1 -0
  498. package/web/.next/static/chunks/d60cee2e7318f425.js +1 -0
  499. package/web/.next/static/chunks/da565c85277c2461.js +1 -0
  500. package/web/.next/static/chunks/e93ae5725b0babeb.js +1 -0
  501. package/web/.next/static/chunks/fb89cf91c10b2e8b.js +1 -0
  502. package/web/.next/static/chunks/{021c9b0effb6d688.js → fc595d95626ac9bb.js} +1 -1
  503. package/web/.next/static/chunks/{turbopack-57bb0674e2cd1d31.js → turbopack-b38a68b1b1c41a87.js} +1 -1
  504. package/web/.next/server/chunks/ssr/[root-of-the-server]__20a36a42._.js +0 -3
  505. package/web/.next/server/chunks/ssr/[root-of-the-server]__20a36a42._.js.map +0 -1
  506. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js +0 -4
  507. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js.map +0 -1
  508. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js +0 -4
  509. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js.map +0 -1
  510. package/web/.next/server/chunks/ssr/[root-of-the-server]__7ffd3598._.js.map +0 -1
  511. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js +0 -4
  512. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js.map +0 -1
  513. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js +0 -4
  514. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js.map +0 -1
  515. package/web/.next/server/chunks/ssr/[root-of-the-server]__e88da4ee._.js.map +0 -1
  516. package/web/.next/server/chunks/ssr/_0727935d._.js.map +0 -1
  517. package/web/.next/server/chunks/ssr/_0dc06d07._.js +0 -3
  518. package/web/.next/server/chunks/ssr/_0dc06d07._.js.map +0 -1
  519. package/web/.next/server/chunks/ssr/_682fc996._.js +0 -9
  520. package/web/.next/server/chunks/ssr/_682fc996._.js.map +0 -1
  521. package/web/.next/server/chunks/ssr/_6892e3b9._.js +0 -3
  522. package/web/.next/server/chunks/ssr/_6892e3b9._.js.map +0 -1
  523. package/web/.next/server/chunks/ssr/_9b964adc._.js.map +0 -1
  524. package/web/.next/server/chunks/ssr/_a1068852._.js +0 -3
  525. package/web/.next/server/chunks/ssr/_a1068852._.js.map +0 -1
  526. package/web/.next/server/chunks/ssr/_fe058119._.js.map +0 -1
  527. package/web/.next/server/chunks/ssr/node_modules__pnpm_12a7ede0._.js +0 -3
  528. package/web/.next/server/chunks/ssr/node_modules__pnpm_12a7ede0._.js.map +0 -1
  529. package/web/.next/static/chunks/20f7cc98a013b11c.js +0 -1
  530. package/web/.next/static/chunks/4cec255f2754e5ec.js +0 -1
  531. package/web/.next/static/chunks/5b7275374d2696b3.css +0 -1
  532. package/web/.next/static/chunks/647140fe96a7c88a.js +0 -1
  533. package/web/.next/static/chunks/6d6f70ff5151b8cb.js +0 -7
  534. package/web/.next/static/chunks/84792d40edc4b027.js +0 -5
  535. package/web/.next/static/chunks/8800875bb3d56192.js +0 -3
  536. package/web/.next/static/chunks/8d581adafe8d1dd0.js +0 -1
  537. package/web/.next/static/chunks/982aef195c118996.js +0 -1
  538. package/web/.next/static/chunks/a052c19c18e9eced.js +0 -1
  539. package/web/.next/static/chunks/a6b5e739d2f89c6b.js +0 -1
  540. package/web/.next/static/chunks/b0e2fb3d4eb42f3d.js +0 -1
  541. package/web/.next/static/chunks/c3ef3b892f7794ec.js +0 -1
  542. package/web/.next/static/chunks/dc134f3f58cdf850.js +0 -5
  543. package/web/.next/static/chunks/ff9e33615f5c856c.js +0 -1
  544. /package/web/.next/static/{lFiCv3l4nIAIpZmj6eehh → G895CgnbZl4YvWN_DaRC-}/_buildManifest.js +0 -0
  545. /package/web/.next/static/{lFiCv3l4nIAIpZmj6eehh → G895CgnbZl4YvWN_DaRC-}/_clientMiddlewareManifest.json +0 -0
  546. /package/web/.next/static/{lFiCv3l4nIAIpZmj6eehh → G895CgnbZl4YvWN_DaRC-}/_ssgManifest.js +0 -0
@@ -0,0 +1,201 @@
1
+ /**
2
+ * Skill Injector Service Implementation
3
+ *
4
+ * Injects curated agent skills into worktrees during feature creation.
5
+ * Handles local skill copying via fs.cp, remote skill installation via npx,
6
+ * SKILL.md idempotency checks, and .gitignore management.
7
+ *
8
+ * Uses constructor-injected ExecFunction for process execution (npx, git)
9
+ * and direct fs/promises imports for filesystem operations, following
10
+ * the established codebase conventions.
11
+ */
12
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
15
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
16
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
17
+ };
18
+ var __metadata = (this && this.__metadata) || function (k, v) {
19
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
+ };
21
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
22
+ return function (target, key) { decorator(target, key, paramIndex); }
23
+ };
24
+ import { access, cp, mkdir, readFile, writeFile } from 'node:fs/promises';
25
+ import { join } from 'node:path';
26
+ import { injectable, inject } from 'tsyringe';
27
+ import { SkillSourceType } from '../../domain/generated/output.js';
28
+ const SKILLS_DIR = '.claude/skills';
29
+ const SKILL_MARKER = 'SKILL.md';
30
+ const REMOTE_SKILL_TIMEOUT_MS = 30_000;
31
+ /** Shell metacharacters that must not appear in skill source strings */
32
+ const SHELL_METACHAR_PATTERN = /[;|&$`\\(){}< >]/;
33
+ /** Patterns that indicate path traversal in skill names */
34
+ const PATH_TRAVERSAL_PATTERN = /\.\./;
35
+ let SkillInjectorService = class SkillInjectorService {
36
+ execFile;
37
+ constructor(execFile) {
38
+ this.execFile = execFile;
39
+ }
40
+ async inject(worktreePath, config, repoRoot) {
41
+ // Validate worktree path exists
42
+ await access(worktreePath);
43
+ const result = {
44
+ injected: [],
45
+ skipped: [],
46
+ failed: [],
47
+ };
48
+ if (!config.skills.length) {
49
+ return result;
50
+ }
51
+ // Bootstrap .claude/skills/ directory
52
+ const skillsDir = join(worktreePath, SKILLS_DIR);
53
+ await mkdir(skillsDir, { recursive: true });
54
+ // Process each skill
55
+ for (const skill of config.skills) {
56
+ // Validate skill name and source
57
+ const validationError = this.validateSkill(skill);
58
+ if (validationError) {
59
+ result.failed.push({ name: skill.name, error: validationError });
60
+ continue;
61
+ }
62
+ // Idempotency check: skip if SKILL.md already exists
63
+ if (await this.isSkillPresent(worktreePath, skill.name)) {
64
+ result.skipped.push(skill.name);
65
+ continue;
66
+ }
67
+ // Inject based on type
68
+ if (skill.type === SkillSourceType.Local) {
69
+ await this.injectLocalSkill(worktreePath, skill, repoRoot, result);
70
+ }
71
+ else {
72
+ await this.injectRemoteSkill(worktreePath, skill, result);
73
+ }
74
+ }
75
+ // Update .gitignore for injected and skipped untracked skills
76
+ const allSkillNames = [...result.injected, ...result.skipped];
77
+ await this.updateGitignore(worktreePath, allSkillNames);
78
+ return result;
79
+ }
80
+ validateSkill(skill) {
81
+ // Validate skill name
82
+ if (PATH_TRAVERSAL_PATTERN.test(skill.name)) {
83
+ return `invalid skill name '${skill.name}': contains path traversal`;
84
+ }
85
+ if (skill.name.startsWith('/')) {
86
+ return `invalid skill name '${skill.name}': absolute path not allowed`;
87
+ }
88
+ if (skill.name.includes('\\')) {
89
+ return `invalid skill name '${skill.name}': backslash not allowed`;
90
+ }
91
+ // Validate source for remote skills (shell injection prevention)
92
+ if (skill.type === SkillSourceType.Remote && SHELL_METACHAR_PATTERN.test(skill.source)) {
93
+ return `invalid source '${skill.source}': contains shell metacharacters`;
94
+ }
95
+ return undefined;
96
+ }
97
+ async isSkillPresent(worktreePath, skillName) {
98
+ try {
99
+ await access(join(worktreePath, SKILLS_DIR, skillName, SKILL_MARKER));
100
+ return true;
101
+ }
102
+ catch {
103
+ return false;
104
+ }
105
+ }
106
+ async injectLocalSkill(worktreePath, skill, repoRoot, result) {
107
+ const sourcePath = repoRoot ? join(repoRoot, skill.source) : skill.source;
108
+ const destPath = join(worktreePath, SKILLS_DIR, skill.name);
109
+ try {
110
+ await cp(sourcePath, destPath, { recursive: true });
111
+ result.injected.push(skill.name);
112
+ }
113
+ catch (error) {
114
+ const message = error instanceof Error ? error.message : String(error);
115
+ result.failed.push({ name: skill.name, error: message });
116
+ }
117
+ }
118
+ async injectRemoteSkill(worktreePath, skill, result) {
119
+ const controller = new AbortController();
120
+ const timer = setTimeout(() => controller.abort(), REMOTE_SKILL_TIMEOUT_MS);
121
+ try {
122
+ const args = ['skills', 'add', skill.source, '--yes'];
123
+ if (skill.remoteSkillName) {
124
+ args.push('--skill', skill.remoteSkillName);
125
+ }
126
+ await this.execFile('npx', args, {
127
+ cwd: worktreePath,
128
+ signal: controller.signal,
129
+ });
130
+ result.injected.push(skill.name);
131
+ }
132
+ catch (error) {
133
+ const isTimeout = error instanceof Error && error.name === 'AbortError';
134
+ const message = isTimeout
135
+ ? `timeout: remote skill installation exceeded ${REMOTE_SKILL_TIMEOUT_MS / 1000}s`
136
+ : error instanceof Error
137
+ ? error.message
138
+ : String(error);
139
+ result.failed.push({ name: skill.name, error: message });
140
+ }
141
+ finally {
142
+ clearTimeout(timer);
143
+ }
144
+ }
145
+ async isTrackedInGit(worktreePath, skillName) {
146
+ try {
147
+ await this.execFile('git', ['ls-files', '--error-unmatch', `${SKILLS_DIR}/${skillName}/`], {
148
+ cwd: worktreePath,
149
+ });
150
+ return true;
151
+ }
152
+ catch {
153
+ return false;
154
+ }
155
+ }
156
+ async updateGitignore(worktreePath, skillNames) {
157
+ if (!skillNames.length)
158
+ return;
159
+ // Determine which skills need .gitignore entries (untracked only)
160
+ const untrackedSkills = [];
161
+ for (const name of skillNames) {
162
+ if (!(await this.isTrackedInGit(worktreePath, name))) {
163
+ untrackedSkills.push(name);
164
+ }
165
+ }
166
+ if (!untrackedSkills.length)
167
+ return;
168
+ const gitignorePath = join(worktreePath, '.gitignore');
169
+ // Read existing .gitignore (or start with empty string)
170
+ let existingContent = '';
171
+ try {
172
+ const content = await readFile(gitignorePath, 'utf-8');
173
+ existingContent = typeof content === 'string' ? content : '';
174
+ }
175
+ catch {
176
+ // File doesn't exist — will create it
177
+ }
178
+ // Determine which entries are new
179
+ const existingLines = new Set(existingContent.split('\n').map((line) => line.trim()));
180
+ const newEntries = [];
181
+ for (const name of untrackedSkills) {
182
+ const pattern = `${SKILLS_DIR}/${name}/`;
183
+ if (!existingLines.has(pattern)) {
184
+ newEntries.push(pattern);
185
+ }
186
+ }
187
+ if (!newEntries.length)
188
+ return;
189
+ // Append new entries, ensuring trailing newline
190
+ const needsNewline = existingContent.length > 0 && !existingContent.endsWith('\n');
191
+ const separator = needsNewline ? '\n' : '';
192
+ const updatedContent = `${existingContent + separator + newEntries.join('\n')}\n`;
193
+ await writeFile(gitignorePath, updatedContent);
194
+ }
195
+ };
196
+ SkillInjectorService = __decorate([
197
+ injectable(),
198
+ __param(0, inject('ExecFunction')),
199
+ __metadata("design:paramtypes", [Function])
200
+ ], SkillInjectorService);
201
+ export { SkillInjectorService };
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import type { ISpecInitializerService, SpecInitializerResult } from '../../../application/ports/output/services/spec-initializer.interface.js';
9
9
  export declare class SpecInitializerService implements ISpecInitializerService {
10
- initialize(basePath: string, slug: string, featureNumber: number, description: string, mode?: 'fast'): Promise<SpecInitializerResult>;
10
+ initialize(basePath: string, slug: string, featureNumber: number, description: string, mode?: 'fast' | 'exploration'): Promise<SpecInitializerResult>;
11
11
  /**
12
12
  * Scan specs/ for existing NNN-* directories and return the next available number.
13
13
  * Uses the DB-derived hint as a minimum, but always respects filesystem state.
@@ -1 +1 @@
1
- {"version":3,"file":"spec-initializer.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/spec/spec-initializer.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,mEAAmE,CAAC;AA8P3E,qBAAa,sBAAuB,YAAW,uBAAuB;IAC9D,UAAU,CACd,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,qBAAqB,CAAC;IAqCjC;;;OAGG;YACW,iBAAiB;CAoBhC"}
1
+ {"version":3,"file":"spec-initializer.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/spec/spec-initializer.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,mEAAmE,CAAC;AA8P3E,qBAAa,sBAAuB,YAAW,uBAAuB;IAC9D,UAAU,CACd,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,MAAM,GAAG,aAAa,GAC5B,OAAO,CAAC,qBAAqB,CAAC;IAwCjC;;;OAGG;YACW,iBAAiB;CAoBhC"}
@@ -254,10 +254,13 @@ export class SpecInitializerService {
254
254
  const timestamp = now.toISOString().replace(/\.\d{3}Z$/, 'Z');
255
255
  const vars = { nnn, slug, featureNumber: resolvedNumber, date, timestamp, description };
256
256
  // In fast mode, write feature.yaml + spec.yaml (spec.yaml stores the user query
257
- // which the fast-implement node reads; no research/plan/tasks needed)
258
- const templates = mode === 'fast'
259
- ? TEMPLATES.filter(({ filename }) => filename === 'feature.yaml' || filename === 'spec.yaml')
260
- : TEMPLATES;
257
+ // which the fast-implement node reads; no research/plan/tasks needed).
258
+ // In exploration mode, write only feature.yaml (no SDLC spec artifacts).
259
+ const templates = mode === 'exploration'
260
+ ? TEMPLATES.filter(({ filename }) => filename === 'feature.yaml')
261
+ : mode === 'fast'
262
+ ? TEMPLATES.filter(({ filename }) => filename === 'feature.yaml' || filename === 'spec.yaml')
263
+ : TEMPLATES;
261
264
  // Write template files
262
265
  await Promise.all(templates.map(({ filename, content }) => writeFile(join(specDir, filename), applyTemplate(content, vars), 'utf-8')));
263
266
  return { specDir, featureNumber: nnn };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Feature Feedback Command
3
+ *
4
+ * Sends feedback on an exploration prototype to iterate on the design.
5
+ * Resumes the interrupted exploration agent graph with the provided feedback.
6
+ *
7
+ * Usage:
8
+ * shep feat feedback <id> <feedback-text>
9
+ */
10
+ import { Command } from 'commander';
11
+ export declare function createFeedbackCommand(): Command;
12
+ //# sourceMappingURL=feedback.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/feedback.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,wBAAgB,qBAAqB,IAAI,OAAO,CA+D/C"}
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Feature Feedback Command
3
+ *
4
+ * Sends feedback on an exploration prototype to iterate on the design.
5
+ * Resumes the interrupted exploration agent graph with the provided feedback.
6
+ *
7
+ * Usage:
8
+ * shep feat feedback <id> <feedback-text>
9
+ */
10
+ import { Command } from 'commander';
11
+ import { container } from '../../../../../packages/core/src/infrastructure/di/container.js';
12
+ import { RejectAgentRunUseCase } from '../../../../../packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js';
13
+ import { FeatureMode, SdlcLifecycle } from '../../../../../packages/core/src/domain/generated/output.js';
14
+ import { colors, messages } from '../../ui/index.js';
15
+ import { getCliI18n } from '../../i18n.js';
16
+ export function createFeedbackCommand() {
17
+ const t = getCliI18n().t;
18
+ return new Command('feedback')
19
+ .description(t('cli:commands.feat.feedback.description'))
20
+ .argument('<id>', t('cli:commands.feat.feedback.idArgument'))
21
+ .argument('<feedback>', t('cli:commands.feat.feedback.feedbackArgument'))
22
+ .action(async (featureId, feedback) => {
23
+ try {
24
+ const featureRepo = container.resolve('IFeatureRepository');
25
+ const runRepo = container.resolve('IAgentRunRepository');
26
+ const feature = (await featureRepo.findById(featureId)) ?? (await featureRepo.findByIdPrefix(featureId));
27
+ if (!feature) {
28
+ throw new Error(`Feature not found: ${featureId}`);
29
+ }
30
+ if (feature.mode !== FeatureMode.Exploration ||
31
+ feature.lifecycle !== SdlcLifecycle.Exploring) {
32
+ messages.error(t('cli:commands.feat.feedback.notExploration', {
33
+ name: feature.name,
34
+ mode: feature.mode,
35
+ lifecycle: feature.lifecycle,
36
+ }));
37
+ process.exitCode = 1;
38
+ return;
39
+ }
40
+ if (!feature.agentRunId) {
41
+ throw new Error(`Feature "${feature.name}" has no agent run`);
42
+ }
43
+ const run = await runRepo.findById(feature.agentRunId);
44
+ if (!run) {
45
+ throw new Error(`Agent run not found: ${feature.agentRunId}`);
46
+ }
47
+ const rejectUseCase = container.resolve(RejectAgentRunUseCase);
48
+ const result = await rejectUseCase.execute(run.id, feedback);
49
+ if (!result.rejected) {
50
+ throw new Error(result.reason);
51
+ }
52
+ messages.newline();
53
+ messages.success(t('cli:commands.feat.feedback.feedbackSubmitted', { name: feature.name }));
54
+ console.log(` ${colors.muted(t('cli:commands.feat.feedback.iterationLabel'))} ${result.iteration}`);
55
+ console.log(` ${colors.muted(t('cli:commands.feat.feedback.agentLabel'))} ${t('cli:commands.feat.feedback.agentIterating')}`);
56
+ messages.newline();
57
+ }
58
+ catch (error) {
59
+ const err = error instanceof Error ? error : new Error(String(error));
60
+ messages.error(t('cli:commands.feat.feedback.failedToSubmit'), err);
61
+ process.exitCode = 1;
62
+ }
63
+ });
64
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAgB3C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBpC;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAkB3C"}
@@ -24,6 +24,8 @@ import { createLogsCommand } from './logs.command.js';
24
24
  import { createAdoptCommand } from './adopt.command.js';
25
25
  import { createArchiveCommand } from './archive.command.js';
26
26
  import { createUnarchiveCommand } from './unarchive.command.js';
27
+ import { createFeedbackCommand } from './feedback.command.js';
28
+ import { createPromoteCommand } from './promote.command.js';
27
29
  /**
28
30
  * Create the feat command group
29
31
  */
@@ -42,5 +44,7 @@ export function createFeatCommand() {
42
44
  .addCommand(createLogsCommand())
43
45
  .addCommand(createAdoptCommand())
44
46
  .addCommand(createArchiveCommand())
45
- .addCommand(createUnarchiveCommand());
47
+ .addCommand(createUnarchiveCommand())
48
+ .addCommand(createFeedbackCommand())
49
+ .addCommand(createPromoteCommand());
46
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"new.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/new.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwEpC;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAmK1C"}
1
+ {"version":3,"file":"new.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/new.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0EpC;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAoL1C"}
@@ -15,7 +15,7 @@ import { existsSync } from 'node:fs';
15
15
  import { join, resolve } from 'node:path';
16
16
  import { container } from '../../../../../packages/core/src/infrastructure/di/container.js';
17
17
  import { CreateFeatureUseCase } from '../../../../../packages/core/src/application/use-cases/features/create/create-feature.use-case.js';
18
- import { SdlcLifecycle } from '../../../../../packages/core/src/domain/generated/output.js';
18
+ import { SdlcLifecycle, FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
19
19
  import { colors, messages, spinner } from '../../ui/index.js';
20
20
  import { getCliI18n } from '../../i18n.js';
21
21
  import { getShepHomeDir } from '../../../../../packages/core/src/infrastructure/services/filesystem/shep-directory.service.js';
@@ -34,7 +34,7 @@ function getWorkflowDefaults() {
34
34
  allowPlan: false,
35
35
  allowMerge: false,
36
36
  push: false,
37
- fast: true,
37
+ defaultMode: FeatureMode.Fast,
38
38
  };
39
39
  }
40
40
  const settings = getSettings();
@@ -45,7 +45,7 @@ function getWorkflowDefaults() {
45
45
  allowPlan: gates.allowPlan,
46
46
  allowMerge: gates.allowMerge,
47
47
  push: gates.pushOnImplementationComplete,
48
- fast: settings.workflow.defaultFastMode,
48
+ defaultMode: settings.workflow.defaultMode ?? FeatureMode.Fast,
49
49
  };
50
50
  }
51
51
  /**
@@ -68,8 +68,11 @@ export function createNewCommand() {
68
68
  .option('--pending', t('cli:commands.feat.new.pendingOption'))
69
69
  .option('--fast', t('cli:commands.feat.new.fastOption'))
70
70
  .option('--no-fast', t('cli:commands.feat.new.noFastOption'))
71
+ .option('--explore', t('cli:commands.feat.new.exploreOption'))
71
72
  .option('--model <model>', t('cli:commands.feat.new.modelOption'))
72
73
  .option('--no-rebase', t('cli:commands.feat.new.noRebaseOption'))
74
+ .option('--inject-skills', t('cli:commands.feat.new.injectSkillsOption'))
75
+ .option('--no-inject-skills', t('cli:commands.feat.new.noInjectSkillsOption'))
73
76
  .option('--attach <path>', t('cli:commands.feat.new.attachOption'), collect, [])
74
77
  .action(async (description, options) => {
75
78
  try {
@@ -119,7 +122,19 @@ export function createNewCommand() {
119
122
  attachmentPaths.push(resolved);
120
123
  }
121
124
  }
122
- const fast = options.fast ?? defaults.fast;
125
+ // Validate mutually exclusive mode flags
126
+ if (options.explore && options.fast) {
127
+ messages.error(t('cli:commands.feat.new.exploreAndFastConflict'));
128
+ process.exitCode = 1;
129
+ return;
130
+ }
131
+ const mode = options.explore
132
+ ? FeatureMode.Exploration
133
+ : options.fast
134
+ ? FeatureMode.Fast
135
+ : options.fast === false
136
+ ? FeatureMode.Regular
137
+ : defaults.defaultMode;
123
138
  const result = await spinner(t('cli:commands.feat.new.spinnerText'), () => useCase.execute({
124
139
  userInput: description,
125
140
  repositoryPath: repoPath,
@@ -128,9 +143,10 @@ export function createNewCommand() {
128
143
  openPr,
129
144
  ...(parentId !== undefined && { parentId }),
130
145
  ...(options.pending && { pending: true }),
131
- ...(fast && { fast: true }),
146
+ mode,
132
147
  ...(options.model !== undefined && { model: options.model }),
133
148
  ...(attachmentPaths.length > 0 && { attachmentPaths }),
149
+ ...(options.injectSkills !== undefined && { injectSkills: options.injectSkills }),
134
150
  rebaseBeforeBranch: options.rebase,
135
151
  }));
136
152
  const { feature, warning } = result;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Feature Promote Command
3
+ *
4
+ * Promotes an exploration feature to Regular or Fast mode via
5
+ * in-place mode transition using PromoteExplorationUseCase.
6
+ *
7
+ * Usage:
8
+ * shep feat promote <id> # Promote to Regular mode
9
+ * shep feat promote <id> --fast # Promote to Fast mode
10
+ */
11
+ import { Command } from 'commander';
12
+ export declare function createPromoteCommand(): Command;
13
+ //# sourceMappingURL=promote.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promote.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/promote.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,wBAAgB,oBAAoB,IAAI,OAAO,CAiC9C"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Feature Promote Command
3
+ *
4
+ * Promotes an exploration feature to Regular or Fast mode via
5
+ * in-place mode transition using PromoteExplorationUseCase.
6
+ *
7
+ * Usage:
8
+ * shep feat promote <id> # Promote to Regular mode
9
+ * shep feat promote <id> --fast # Promote to Fast mode
10
+ */
11
+ import { Command } from 'commander';
12
+ import { container } from '../../../../../packages/core/src/infrastructure/di/container.js';
13
+ import { PromoteExplorationUseCase } from '../../../../../packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.js';
14
+ import { FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
15
+ import { colors, messages, spinner } from '../../ui/index.js';
16
+ import { getCliI18n } from '../../i18n.js';
17
+ export function createPromoteCommand() {
18
+ const t = getCliI18n().t;
19
+ return new Command('promote')
20
+ .description(t('cli:commands.feat.promote.description'))
21
+ .argument('<id>', t('cli:commands.feat.promote.idArgument'))
22
+ .option('--fast', t('cli:commands.feat.promote.fastOption'))
23
+ .action(async (featureId, options) => {
24
+ try {
25
+ const targetMode = options.fast ? FeatureMode.Fast : FeatureMode.Regular;
26
+ const useCase = container.resolve(PromoteExplorationUseCase);
27
+ const { feature } = await spinner(t('cli:commands.feat.promote.description'), () => useCase.execute({ featureId, targetMode }));
28
+ messages.newline();
29
+ messages.success(t('cli:commands.feat.promote.promoted', { name: feature.name }));
30
+ console.log(` ${colors.muted(t('cli:commands.feat.promote.modeLabel'))} ${feature.mode}`);
31
+ console.log(` ${colors.muted(t('cli:commands.feat.promote.statusLabel'))} ${feature.lifecycle}`);
32
+ console.log(` ${colors.muted(t('cli:commands.feat.promote.agentLabel'))} ${t('cli:commands.feat.promote.agentSpawned', { mode: targetMode })}`);
33
+ messages.newline();
34
+ }
35
+ catch (error) {
36
+ const err = error instanceof Error ? error : new Error(String(error));
37
+ messages.error(t('cli:commands.feat.promote.failedToPromote'), err);
38
+ process.exitCode = 1;
39
+ }
40
+ });
41
+ }
@@ -0,0 +1,7 @@
1
+ import type { SkillSource } from '../../../../../packages/core/src/domain/generated/output.js';
2
+ export interface AddInjectedSkillResult {
3
+ success: boolean;
4
+ error?: string;
5
+ }
6
+ export declare function addInjectedSkill(skill: SkillSource): Promise<AddInjectedSkillResult>;
7
+ //# sourceMappingURL=add-injected-skill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-injected-skill.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/add-injected-skill.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAExE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAgC1F"}
@@ -0,0 +1,34 @@
1
+ 'use server';
2
+ import { revalidatePath } from 'next/cache';
3
+ import { resolve } from '../../lib/server-container.js';
4
+ import { updateSettings as updateSettingsSingleton } from '../../../../../packages/core/src/infrastructure/services/settings.service.js';
5
+ export async function addInjectedSkill(skill) {
6
+ try {
7
+ const loadUseCase = resolve('LoadSettingsUseCase');
8
+ const current = await loadUseCase.execute();
9
+ const existingSkills = current.workflow.skillInjection?.skills ?? [];
10
+ if (existingSkills.some((s) => s.name === skill.name)) {
11
+ return { success: false, error: `Skill "${skill.name}" is already configured` };
12
+ }
13
+ const updated = {
14
+ ...current,
15
+ workflow: {
16
+ ...current.workflow,
17
+ skillInjection: {
18
+ enabled: current.workflow.skillInjection?.enabled ?? true,
19
+ skills: [...existingSkills, skill],
20
+ },
21
+ },
22
+ updatedAt: new Date(),
23
+ };
24
+ const updateUseCase = resolve('UpdateSettingsUseCase');
25
+ await updateUseCase.execute(updated);
26
+ updateSettingsSingleton(updated);
27
+ revalidatePath('/skills');
28
+ return { success: true };
29
+ }
30
+ catch (error) {
31
+ const message = error instanceof Error ? error.message : 'Failed to add skill';
32
+ return { success: false, error: message };
33
+ }
34
+ }
@@ -1,4 +1,5 @@
1
1
  import type { Feature } from '../../../../../packages/core/src/domain/generated/output.js';
2
+ import { type FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
2
3
  interface Attachment {
3
4
  path: string;
4
5
  name: string;
@@ -17,8 +18,8 @@ interface CreateFeatureInput {
17
18
  push?: boolean;
18
19
  openPr?: boolean;
19
20
  parentId?: string;
20
- /** When true, skip SDLC phases and implement directly from the prompt. */
21
- fast?: boolean;
21
+ /** Execution mode: Regular (full SDLC), Fast (direct implementation), or Exploration (iterative prototyping). */
22
+ mode?: FeatureMode;
22
23
  /** When true, create the feature in pending state (no agent spawned). */
23
24
  pending?: boolean;
24
25
  /** Fork repo and create PR to upstream at merge time. */
@@ -37,6 +38,8 @@ interface CreateFeatureInput {
37
38
  model?: string;
38
39
  /** Sync main from remote before creating the feature branch (default: true). */
39
40
  rebaseBeforeBranch?: boolean;
41
+ /** Inject curated skills into the feature worktree. */
42
+ injectSkills?: boolean;
40
43
  }
41
44
  export declare function createFeature(input: CreateFeatureInput): Promise<{
42
45
  feature?: Feature;
@@ -1 +1 @@
1
- {"version":3,"file":"create-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/create-feature.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAGpE,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAQD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE;QACd,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,yEAAyE;IACzE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uFAAuF;IACvF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,6BAA6B;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAiGhD"}
1
+ {"version":3,"file":"create-feature.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/create-feature.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAGxE,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAQD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE;QACd,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iHAAiH;IACjH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,yEAAyE;IACzE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uFAAuF;IACvF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,6BAA6B;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,uDAAuD;IACvD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAoGhD"}
@@ -2,7 +2,7 @@
2
2
  import { resolve } from '../../lib/server-container.js';
3
3
  import { composeUserInput } from './compose-user-input.js';
4
4
  export async function createFeature(input) {
5
- const { description, repositoryPath, attachments, sessionId, approvalGates, push, openPr, parentId, fast, pending, forkAndPr, commitSpecs, ciWatchEnabled, enableEvidence, commitEvidence, agentType, model, rebaseBeforeBranch, } = input;
5
+ const { description, repositoryPath, attachments, sessionId, approvalGates, push, openPr, parentId, mode, pending, forkAndPr, commitSpecs, ciWatchEnabled, enableEvidence, commitEvidence, agentType, model, rebaseBeforeBranch, injectSkills, } = input;
6
6
  if (!description?.trim()) {
7
7
  return { error: 'description is required' };
8
8
  }
@@ -26,7 +26,7 @@ export async function createFeature(input) {
26
26
  openPr: openPr ?? false,
27
27
  ...(parentId ? { parentId } : {}),
28
28
  description,
29
- ...(fast ? { fast } : {}),
29
+ ...(mode ? { mode } : {}),
30
30
  ...(pending ? { pending } : {}),
31
31
  ...(forkAndPr != null ? { forkAndPr } : {}),
32
32
  ...(commitSpecs != null ? { commitSpecs } : {}),
@@ -36,6 +36,7 @@ export async function createFeature(input) {
36
36
  ...(agentType ? { agentType } : {}),
37
37
  ...(model ? { model } : {}),
38
38
  ...(rebaseBeforeBranch != null ? { rebaseBeforeBranch } : {}),
39
+ ...(injectSkills != null ? { injectSkills } : {}),
39
40
  });
40
41
  // Phase 2 (background): metadata generation, worktree, spec, agent spawn
41
42
  // Fire-and-forget — the UI gets the real feature ID immediately
@@ -47,7 +48,7 @@ export async function createFeature(input) {
47
48
  push: push ?? false,
48
49
  openPr: openPr ?? false,
49
50
  ...(parentId ? { parentId } : {}),
50
- ...(fast ? { fast } : {}),
51
+ ...(mode ? { mode } : {}),
51
52
  ...(pending ? { pending } : {}),
52
53
  ...(forkAndPr != null ? { forkAndPr } : {}),
53
54
  ...(commitSpecs != null ? { commitSpecs } : {}),
@@ -58,6 +59,7 @@ export async function createFeature(input) {
58
59
  ...(model ? { model } : {}),
59
60
  ...(sessionId ? { sessionId } : {}),
60
61
  ...(rebaseBeforeBranch != null ? { rebaseBeforeBranch } : {}),
62
+ ...(injectSkills != null ? { injectSkills } : {}),
61
63
  }, shouldSpawn)
62
64
  .catch((err) => {
63
65
  // eslint-disable-next-line no-console
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Discard an exploration feature, cleaning up the worktree and branch.
3
+ * Validates the feature is in exploration mode before deleting.
4
+ */
5
+ export declare function discardExploration(featureId: string): Promise<{
6
+ discarded: boolean;
7
+ error?: string;
8
+ }>;
9
+ //# sourceMappingURL=discard-exploration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discard-exploration.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/discard-exploration.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAwBjD"}