@shepai/cli 1.166.0-pr505.69702c9 → 1.166.0-pr513.fdcdd56

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 (552) hide show
  1. package/apis/json-schema/Feature.yaml +17 -5
  2. package/apis/json-schema/FeatureFlags.yaml +0 -5
  3. package/apis/json-schema/FeatureMode.yaml +8 -0
  4. package/apis/json-schema/SdlcLifecycle.yaml +1 -0
  5. package/apis/json-schema/WorkflowConfig.yaml +10 -5
  6. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +2 -2
  7. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
  8. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +4 -3
  9. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
  10. package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +2 -2
  11. package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +2 -2
  12. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts.map +1 -1
  13. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.js +3 -2
  14. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +2 -2
  15. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
  16. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +18 -7
  17. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +3 -2
  18. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
  19. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
  20. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.js +13 -0
  21. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts +40 -0
  22. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts.map +1 -0
  23. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.js +125 -0
  24. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +2 -2
  25. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +1 -1
  26. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +5 -3
  27. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +2 -2
  28. package/dist/packages/core/src/domain/generated/output.d.ts +22 -8
  29. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  30. package/dist/packages/core/src/domain/generated/output.js +7 -0
  31. package/dist/packages/core/src/domain/lifecycle-gates.d.ts +21 -6
  32. package/dist/packages/core/src/domain/lifecycle-gates.d.ts.map +1 -1
  33. package/dist/packages/core/src/domain/lifecycle-gates.js +25 -6
  34. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  35. package/dist/packages/core/src/infrastructure/di/container.js +5 -0
  36. package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.d.ts.map +1 -1
  37. package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.js +0 -11
  38. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +3 -1
  39. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
  40. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +10 -4
  41. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +2 -2
  42. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  43. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +7 -4
  44. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts +19 -0
  45. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts.map +1 -0
  46. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.js +46 -0
  47. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts +17 -0
  48. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts.map +1 -0
  49. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.js +37 -0
  50. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts +12 -0
  51. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts.map +1 -0
  52. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.js +17 -0
  53. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts +3 -3
  54. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +3 -3
  55. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
  56. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +5 -3
  57. package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -3
  58. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts +362 -0
  59. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts.map +1 -0
  60. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.js +72 -0
  61. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +20 -0
  62. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
  63. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +68 -0
  64. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
  65. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +2 -2
  66. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
  67. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +3 -3
  68. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +2 -2
  69. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
  70. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +19 -8
  71. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.d.ts.map +1 -1
  72. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.js +1 -0
  73. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts +18 -0
  74. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts.map +1 -0
  75. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.js +52 -0
  76. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  77. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +1 -0
  78. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts +24 -0
  79. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts.map +1 -0
  80. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.js +38 -0
  81. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts +31 -0
  82. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts.map +1 -0
  83. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.js +240 -0
  84. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts +21 -0
  85. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts.map +1 -0
  86. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.js +134 -0
  87. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +4 -0
  88. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
  89. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +17 -0
  90. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +1 -1
  91. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
  92. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +7 -4
  93. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts +12 -0
  94. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts.map +1 -0
  95. package/dist/src/presentation/cli/commands/feat/feedback.command.js +64 -0
  96. package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
  97. package/dist/src/presentation/cli/commands/feat/index.js +5 -1
  98. package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
  99. package/dist/src/presentation/cli/commands/feat/new.command.js +18 -5
  100. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts +13 -0
  101. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts.map +1 -0
  102. package/dist/src/presentation/cli/commands/feat/promote.command.js +41 -0
  103. package/dist/src/presentation/web/app/actions/create-feature.d.ts +3 -2
  104. package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
  105. package/dist/src/presentation/web/app/actions/create-feature.js +3 -3
  106. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts +9 -0
  107. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts.map +1 -0
  108. package/dist/src/presentation/web/app/actions/discard-exploration.js +29 -0
  109. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +2 -1
  110. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
  111. package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +2 -1
  112. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts +11 -0
  113. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts.map +1 -0
  114. package/dist/src/presentation/web/app/actions/promote-exploration.js +21 -0
  115. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts +12 -0
  116. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts.map +1 -0
  117. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.js +40 -0
  118. package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
  119. package/dist/src/presentation/web/app/api/agent-events/route.js +1 -0
  120. package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
  121. package/dist/src/presentation/web/app/build-feature-node-data.js +4 -2
  122. package/dist/src/presentation/web/app/build-graph-nodes.js +4 -2
  123. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts +1 -1
  124. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts.map +1 -1
  125. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.js +3 -0
  126. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
  127. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +65 -1
  128. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +3 -2
  129. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  130. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +15 -11
  131. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
  132. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +2 -1
  133. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts +8 -0
  134. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts.map +1 -0
  135. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.js +33 -0
  136. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts +10 -0
  137. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts.map +1 -0
  138. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.js +33 -0
  139. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts +6 -1
  140. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
  141. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +16 -4
  142. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts +11 -0
  143. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts.map +1 -0
  144. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.js +34 -0
  145. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts +16 -0
  146. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts.map +1 -0
  147. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.js +70 -0
  148. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
  149. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +2 -0
  150. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +6 -2
  151. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  152. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +12 -0
  153. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  154. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +7 -2
  155. package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.d.ts.map +1 -1
  156. package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.js +0 -1
  157. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
  158. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +0 -3
  159. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
  160. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +0 -3
  161. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  162. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +6 -11
  163. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
  164. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +0 -1
  165. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +3 -3
  166. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
  167. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +2 -2
  168. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
  169. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +0 -1
  170. package/dist/src/presentation/web/components/ui/toggle-group.d.ts +10 -0
  171. package/dist/src/presentation/web/components/ui/toggle-group.d.ts.map +1 -0
  172. package/dist/src/presentation/web/components/ui/toggle-group.js +22 -0
  173. package/dist/src/presentation/web/components/ui/toggle.d.ts +10 -0
  174. package/dist/src/presentation/web/components/ui/toggle.d.ts.map +1 -0
  175. package/dist/src/presentation/web/components/ui/toggle.js +26 -0
  176. package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
  177. package/dist/src/presentation/web/hooks/feature-flags-context.js +0 -1
  178. package/dist/src/presentation/web/lib/feature-flags.d.ts +0 -2
  179. package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
  180. package/dist/src/presentation/web/lib/feature-flags.js +0 -5
  181. package/dist/translations/ar/cli.json +24 -0
  182. package/dist/translations/ar/web.json +6 -4
  183. package/dist/translations/de/cli.json +24 -0
  184. package/dist/translations/de/web.json +6 -4
  185. package/dist/translations/en/cli.json +24 -0
  186. package/dist/translations/en/web.json +6 -4
  187. package/dist/translations/es/cli.json +24 -0
  188. package/dist/translations/es/web.json +6 -4
  189. package/dist/translations/fr/cli.json +24 -0
  190. package/dist/translations/fr/web.json +6 -4
  191. package/dist/translations/he/cli.json +24 -0
  192. package/dist/translations/he/web.json +6 -4
  193. package/dist/translations/pt/cli.json +24 -0
  194. package/dist/translations/pt/web.json +6 -4
  195. package/dist/translations/ru/cli.json +24 -0
  196. package/dist/translations/ru/web.json +6 -4
  197. package/dist/tsconfig.build.tsbuildinfo +1 -1
  198. package/package.json +1 -1
  199. package/web/.next/BUILD_ID +1 -1
  200. package/web/.next/app-path-routes-manifest.json +0 -1
  201. package/web/.next/build-manifest.json +5 -5
  202. package/web/.next/fallback-build-manifest.json +2 -2
  203. package/web/.next/prerender-manifest.json +3 -3
  204. package/web/.next/required-server-files.js +1 -1
  205. package/web/.next/required-server-files.json +1 -1
  206. package/web/.next/routes-manifest.json +0 -6
  207. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +3 -3
  208. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  209. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +1 -1
  210. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  211. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  212. package/web/.next/server/app/(dashboard)/@drawer/chat/page/build-manifest.json +3 -3
  213. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  214. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +1 -1
  215. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  216. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  217. package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +3 -3
  218. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +30 -30
  219. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
  220. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  221. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  222. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  223. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +119 -74
  224. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -2
  225. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  226. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  227. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +3 -3
  228. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +119 -74
  229. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -2
  230. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  231. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  232. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  233. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  234. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +1 -1
  235. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  236. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  237. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +3 -3
  238. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  239. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
  240. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  241. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  242. package/web/.next/server/app/(dashboard)/chat/page/build-manifest.json +3 -3
  243. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  244. package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
  245. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  246. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  247. package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +3 -3
  248. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +30 -30
  249. package/web/.next/server/app/(dashboard)/create/page.js +1 -1
  250. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  251. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  252. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  253. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +119 -74
  254. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -2
  255. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  256. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  257. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +3 -3
  258. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +119 -74
  259. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -2
  260. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  261. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  262. package/web/.next/server/app/(dashboard)/page/build-manifest.json +3 -3
  263. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  264. package/web/.next/server/app/(dashboard)/page.js +1 -1
  265. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  266. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  267. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  268. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  269. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +1 -1
  270. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  271. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  272. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +3 -3
  273. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  274. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
  275. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  276. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  277. package/web/.next/server/app/_global-error/page/build-manifest.json +3 -3
  278. package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
  279. package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  280. package/web/.next/server/app/_global-error.html +2 -2
  281. package/web/.next/server/app/_global-error.rsc +1 -1
  282. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  283. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  284. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  285. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  286. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  287. package/web/.next/server/app/_not-found/page/build-manifest.json +3 -3
  288. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  289. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  290. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  291. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  292. package/web/.next/server/app/api/attachments/upload-from-path/route.js +1 -1
  293. package/web/.next/server/app/api/attachments/upload-from-path/route.js.nft.json +1 -1
  294. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  295. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  296. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  297. package/web/.next/server/app/settings/page/build-manifest.json +3 -3
  298. package/web/.next/server/app/settings/page/server-reference-manifest.json +9 -9
  299. package/web/.next/server/app/settings/page.js +1 -1
  300. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  301. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  302. package/web/.next/server/app/skills/page/build-manifest.json +3 -3
  303. package/web/.next/server/app/skills/page/server-reference-manifest.json +11 -11
  304. package/web/.next/server/app/skills/page.js +1 -1
  305. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  306. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  307. package/web/.next/server/app/tools/page/build-manifest.json +3 -3
  308. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  309. package/web/.next/server/app/tools/page.js +1 -1
  310. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  311. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  312. package/web/.next/server/app/version/page/build-manifest.json +3 -3
  313. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  314. package/web/.next/server/app/version/page.js.nft.json +1 -1
  315. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  316. package/web/.next/server/app-paths-manifest.json +0 -1
  317. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  318. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  319. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +1 -1
  320. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
  321. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  322. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
  323. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
  324. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
  325. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  326. package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js → [root-of-the-server]__ea653642._.js} +2 -2
  327. package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js.map → [root-of-the-server]__ea653642._.js.map} +1 -1
  328. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  329. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  330. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +3 -3
  331. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  332. package/web/.next/server/chunks/ssr/{[root-of-the-server]__b020c17d._.js → [root-of-the-server]__1abe77bb._.js} +3 -3
  333. package/web/.next/server/chunks/ssr/[root-of-the-server]__1abe77bb._.js.map +1 -0
  334. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +1 -1
  335. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -1
  336. package/web/.next/server/chunks/ssr/{[root-of-the-server]__851f6adb._.js → [root-of-the-server]__248ee887._.js} +2 -2
  337. package/web/.next/server/chunks/ssr/[root-of-the-server]__248ee887._.js.map +1 -0
  338. package/web/.next/server/chunks/ssr/{[root-of-the-server]__13fa44e4._.js → [root-of-the-server]__2d0c3840._.js} +2 -2
  339. package/web/.next/server/chunks/ssr/{[root-of-the-server]__13fa44e4._.js.map → [root-of-the-server]__2d0c3840._.js.map} +1 -1
  340. package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
  341. package/web/.next/server/chunks/ssr/[root-of-the-server]__4ed9b909._.js +1 -1
  342. package/web/.next/server/chunks/ssr/[root-of-the-server]__58a5b819._.js +4 -0
  343. package/web/.next/server/chunks/ssr/[root-of-the-server]__58a5b819._.js.map +1 -0
  344. package/web/.next/server/chunks/ssr/[root-of-the-server]__67a193c8._.js +4 -0
  345. package/web/.next/server/chunks/ssr/[root-of-the-server]__67a193c8._.js.map +1 -0
  346. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
  347. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
  348. package/web/.next/server/chunks/ssr/[root-of-the-server]__754fb18e._.js +4 -0
  349. package/web/.next/server/chunks/ssr/[root-of-the-server]__754fb18e._.js.map +1 -0
  350. package/web/.next/server/chunks/ssr/{[root-of-the-server]__7ffd3598._.js → [root-of-the-server]__7562afc6._.js} +3 -3
  351. package/web/.next/server/chunks/ssr/[root-of-the-server]__7562afc6._.js.map +1 -0
  352. package/web/.next/server/chunks/ssr/{[root-of-the-server]__e88da4ee._.js → [root-of-the-server]__8b0aac03._.js} +3 -3
  353. package/web/.next/server/chunks/ssr/{[root-of-the-server]__e88da4ee._.js.map → [root-of-the-server]__8b0aac03._.js.map} +1 -1
  354. package/web/.next/server/chunks/ssr/[root-of-the-server]__96ba046b._.js +4 -0
  355. package/web/.next/server/chunks/ssr/[root-of-the-server]__96ba046b._.js.map +1 -0
  356. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0c5452c3._.js → [root-of-the-server]__b062b383._.js} +2 -2
  357. package/web/.next/server/chunks/ssr/[root-of-the-server]__b062b383._.js.map +1 -0
  358. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +1 -1
  359. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -1
  360. package/web/.next/server/chunks/ssr/[root-of-the-server]__c1262d08._.js +1 -1
  361. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
  362. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
  363. package/web/.next/server/chunks/ssr/{[root-of-the-server]__69dd3217._.js → [root-of-the-server]__dffa13c5._.js} +2 -2
  364. package/web/.next/server/chunks/ssr/[root-of-the-server]__dffa13c5._.js.map +1 -0
  365. package/web/.next/server/chunks/ssr/_0020fddd._.js +1 -1
  366. package/web/.next/server/chunks/ssr/_0020fddd._.js.map +1 -1
  367. package/web/.next/server/chunks/ssr/_02e01240._.js +1 -1
  368. package/web/.next/server/chunks/ssr/_02e01240._.js.map +1 -1
  369. package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
  370. package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
  371. package/web/.next/server/chunks/ssr/_0727935d._.js +1 -1
  372. package/web/.next/server/chunks/ssr/_0727935d._.js.map +1 -1
  373. package/web/.next/server/chunks/ssr/_0dc06d07._.js +1 -1
  374. package/web/.next/server/chunks/ssr/_0dc06d07._.js.map +1 -1
  375. package/web/.next/server/chunks/ssr/_12c98a3d._.js +3 -0
  376. package/web/.next/server/chunks/ssr/_12c98a3d._.js.map +1 -0
  377. package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
  378. package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
  379. package/web/.next/server/chunks/ssr/_18886033._.js +1 -1
  380. package/web/.next/server/chunks/ssr/_18886033._.js.map +1 -1
  381. package/web/.next/server/chunks/ssr/_22e00a14._.js +1 -1
  382. package/web/.next/server/chunks/ssr/_22e00a14._.js.map +1 -1
  383. package/web/.next/server/chunks/ssr/_3bcda5d7._.js +3 -0
  384. package/web/.next/server/chunks/ssr/{_f79e241b._.js.map → _3bcda5d7._.js.map} +1 -1
  385. package/web/.next/server/chunks/ssr/{_407e5985._.js → _40c4d64e._.js} +2 -2
  386. package/web/.next/server/chunks/ssr/_40c4d64e._.js.map +1 -0
  387. package/web/.next/server/chunks/ssr/_5119a3df._.js +1 -1
  388. package/web/.next/server/chunks/ssr/_5119a3df._.js.map +1 -1
  389. package/web/.next/server/chunks/ssr/{_3edd669d._.js → _52567223._.js} +2 -2
  390. package/web/.next/server/chunks/ssr/{_3edd669d._.js.map → _52567223._.js.map} +1 -1
  391. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  392. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  393. package/web/.next/server/chunks/ssr/_5eb460b1._.js +3 -0
  394. package/web/.next/server/chunks/ssr/_5eb460b1._.js.map +1 -0
  395. package/web/.next/server/chunks/ssr/_997b560b._.js +3 -0
  396. package/web/.next/server/chunks/ssr/_997b560b._.js.map +1 -0
  397. package/web/.next/server/chunks/ssr/_a5a5901d._.js +1 -1
  398. package/web/.next/server/chunks/ssr/_a5a5901d._.js.map +1 -1
  399. package/web/.next/server/chunks/ssr/_acc5e43e._.js +9 -0
  400. package/web/.next/server/chunks/ssr/_acc5e43e._.js.map +1 -0
  401. package/web/.next/server/chunks/ssr/_ad09f271._.js +1 -1
  402. package/web/.next/server/chunks/ssr/_ad09f271._.js.map +1 -1
  403. package/web/.next/server/chunks/ssr/_b0efd563._.js +3 -0
  404. package/web/.next/server/chunks/ssr/_b0efd563._.js.map +1 -0
  405. package/web/.next/server/chunks/ssr/_b5fc318a._.js +3 -0
  406. package/web/.next/server/chunks/ssr/_b5fc318a._.js.map +1 -0
  407. package/web/.next/server/chunks/ssr/_c3f595c6._.js +1 -1
  408. package/web/.next/server/chunks/ssr/_c3f595c6._.js.map +1 -1
  409. package/web/.next/server/chunks/ssr/_ea9e1556._.js +1 -1
  410. package/web/.next/server/chunks/ssr/_ea9e1556._.js.map +1 -1
  411. package/web/.next/server/chunks/ssr/_f1ba9be6._.js +2 -2
  412. package/web/.next/server/chunks/ssr/_f1ba9be6._.js.map +1 -1
  413. package/web/.next/server/chunks/ssr/_f33cd07e._.js +2 -2
  414. package/web/.next/server/chunks/ssr/_f33cd07e._.js.map +1 -1
  415. package/web/.next/server/chunks/ssr/_f8b45233._.js +1 -1
  416. package/web/.next/server/chunks/ssr/_f8b45233._.js.map +1 -1
  417. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  418. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  419. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  420. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  421. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js +3 -0
  422. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js.map +1 -0
  423. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
  424. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  425. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  426. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  427. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  428. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  429. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  430. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
  431. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
  432. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
  433. package/web/.next/server/middleware-build-manifest.js +3 -3
  434. package/web/.next/server/pages/500.html +2 -2
  435. package/web/.next/server/server-reference-manifest.js +1 -1
  436. package/web/.next/server/server-reference-manifest.json +303 -237
  437. package/web/.next/static/chunks/04636196914be502.js +1 -0
  438. package/web/.next/static/chunks/16eea21868510afd.js +5 -0
  439. package/web/.next/static/chunks/{12108d8133ec11d7.js → 19e7ce7a45b9aba5.js} +1 -1
  440. package/web/.next/static/chunks/{d5366257d6b9f855.js → 2a9af061f4fbe7f5.js} +1 -1
  441. package/web/.next/static/chunks/2ceebcc839ee0d4b.js +1 -0
  442. package/web/.next/static/chunks/{a83939881726a6dd.js → 333b1f2c897337c9.js} +2 -2
  443. package/web/.next/static/chunks/3deefc76ea55047c.js +1 -0
  444. package/web/.next/static/chunks/40b6bcf1a2de4a0f.js +1 -0
  445. package/web/.next/static/chunks/517f9f7b52421b78.js +1 -0
  446. package/web/.next/static/chunks/51f2de96879281ea.js +1 -0
  447. package/web/.next/static/chunks/672e3da3ad26005b.js +1 -0
  448. package/web/.next/static/chunks/{c8347760a2f8ac4d.js → 785d6f99b66ca637.js} +1 -1
  449. package/web/.next/static/chunks/{5535b63f0dee9d4d.js → 81a9fa188d0bef95.js} +1 -1
  450. package/web/.next/static/chunks/85c9f8d4601354cd.js +1 -0
  451. package/web/.next/static/chunks/884fceb3e6a67215.js +1 -0
  452. package/web/.next/static/chunks/{0ed5cc117fa6b1fb.js → 8aa61c1b439f38d6.js} +1 -1
  453. package/web/.next/static/chunks/904f10ee1f7ed44f.js +5 -0
  454. package/web/.next/static/chunks/985b80ac9fd25d02.css +1 -0
  455. package/web/.next/static/chunks/b2b1a749ec72f3a3.js +3 -0
  456. package/web/.next/static/chunks/b474396c44f62500.js +1 -0
  457. package/web/.next/static/chunks/{5c09d2251510fc0d.js → b810ab3e01ffa9cb.js} +1 -1
  458. package/web/.next/static/chunks/c7e793951b20a67f.js +1 -0
  459. package/web/.next/static/chunks/ed6f26a65c6e7da9.js +7 -0
  460. package/web/.next/static/chunks/{turbopack-62782e656a49f322.js → turbopack-432ef324fc27240c.js} +1 -1
  461. package/web/package.json +0 -2
  462. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/050-add-feature-flag-inventory.d.ts +0 -11
  463. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/050-add-feature-flag-inventory.d.ts.map +0 -1
  464. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/050-add-feature-flag-inventory.js +0 -17
  465. package/dist/src/presentation/web/app/features/feature-tree-page-client.d.ts +0 -7
  466. package/dist/src/presentation/web/app/features/feature-tree-page-client.d.ts.map +0 -1
  467. package/dist/src/presentation/web/app/features/feature-tree-page-client.js +0 -13
  468. package/dist/src/presentation/web/app/features/get-feature-tree-data.d.ts +0 -10
  469. package/dist/src/presentation/web/app/features/get-feature-tree-data.d.ts.map +0 -1
  470. package/dist/src/presentation/web/app/features/get-feature-tree-data.js +0 -47
  471. package/dist/src/presentation/web/app/features/page.d.ts +0 -4
  472. package/dist/src/presentation/web/app/features/page.d.ts.map +0 -1
  473. package/dist/src/presentation/web/app/features/page.js +0 -9
  474. package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.d.ts +0 -36
  475. package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.d.ts.map +0 -1
  476. package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.js +0 -196
  477. package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.stories.d.ts +0 -12
  478. package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.stories.d.ts.map +0 -1
  479. package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.stories.js +0 -166
  480. package/dist/src/presentation/web/components/features/feature-tree-table/index.d.ts +0 -3
  481. package/dist/src/presentation/web/components/features/feature-tree-table/index.d.ts.map +0 -1
  482. package/dist/src/presentation/web/components/features/feature-tree-table/index.js +0 -1
  483. package/web/.next/server/app/features/page/app-paths-manifest.json +0 -3
  484. package/web/.next/server/app/features/page/build-manifest.json +0 -18
  485. package/web/.next/server/app/features/page/next-font-manifest.json +0 -6
  486. package/web/.next/server/app/features/page/react-loadable-manifest.json +0 -8
  487. package/web/.next/server/app/features/page/server-reference-manifest.json +0 -95
  488. package/web/.next/server/app/features/page.js +0 -18
  489. package/web/.next/server/app/features/page.js.map +0 -5
  490. package/web/.next/server/app/features/page.js.nft.json +0 -1
  491. package/web/.next/server/app/features/page_client-reference-manifest.js +0 -2
  492. package/web/.next/server/chunks/ssr/[root-of-the-server]__08c912ab._.js +0 -3
  493. package/web/.next/server/chunks/ssr/[root-of-the-server]__08c912ab._.js.map +0 -1
  494. package/web/.next/server/chunks/ssr/[root-of-the-server]__0c5452c3._.js.map +0 -1
  495. package/web/.next/server/chunks/ssr/[root-of-the-server]__563e4faf._.js +0 -4
  496. package/web/.next/server/chunks/ssr/[root-of-the-server]__563e4faf._.js.map +0 -1
  497. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +0 -1
  498. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +0 -4
  499. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +0 -1
  500. package/web/.next/server/chunks/ssr/[root-of-the-server]__7ffd3598._.js.map +0 -1
  501. package/web/.next/server/chunks/ssr/[root-of-the-server]__821a11c1._.js +0 -4
  502. package/web/.next/server/chunks/ssr/[root-of-the-server]__821a11c1._.js.map +0 -1
  503. package/web/.next/server/chunks/ssr/[root-of-the-server]__851f6adb._.js.map +0 -1
  504. package/web/.next/server/chunks/ssr/[root-of-the-server]__98740ee4._.js +0 -4
  505. package/web/.next/server/chunks/ssr/[root-of-the-server]__98740ee4._.js.map +0 -1
  506. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js.map +0 -1
  507. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba9f9e11._.js +0 -4
  508. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba9f9e11._.js.map +0 -1
  509. package/web/.next/server/chunks/ssr/_166f36df._.js +0 -3
  510. package/web/.next/server/chunks/ssr/_166f36df._.js.map +0 -1
  511. package/web/.next/server/chunks/ssr/_407e5985._.js.map +0 -1
  512. package/web/.next/server/chunks/ssr/_4a4709c5._.js +0 -4
  513. package/web/.next/server/chunks/ssr/_4a4709c5._.js.map +0 -1
  514. package/web/.next/server/chunks/ssr/_560f2971._.js +0 -3
  515. package/web/.next/server/chunks/ssr/_560f2971._.js.map +0 -1
  516. package/web/.next/server/chunks/ssr/_a69efc34._.js +0 -3
  517. package/web/.next/server/chunks/ssr/_a69efc34._.js.map +0 -1
  518. package/web/.next/server/chunks/ssr/_cc936cdc._.js +0 -9
  519. package/web/.next/server/chunks/ssr/_cc936cdc._.js.map +0 -1
  520. package/web/.next/server/chunks/ssr/_df737cce._.js +0 -3
  521. package/web/.next/server/chunks/ssr/_df737cce._.js.map +0 -1
  522. package/web/.next/server/chunks/ssr/_f535d854._.js +0 -3
  523. package/web/.next/server/chunks/ssr/_f535d854._.js.map +0 -1
  524. package/web/.next/server/chunks/ssr/_f79e241b._.js +0 -3
  525. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js +0 -3
  526. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js.map +0 -1
  527. package/web/.next/server/chunks/ssr/src_presentation_web_app_features_feature-tree-page-client_tsx_34c5cbbf._.js +0 -10
  528. package/web/.next/server/chunks/ssr/src_presentation_web_app_features_feature-tree-page-client_tsx_34c5cbbf._.js.map +0 -1
  529. package/web/.next/server/chunks/ssr/src_presentation_web_components_common_page-header_index_ts_bdf4db0b._.js +0 -3
  530. package/web/.next/server/chunks/ssr/src_presentation_web_components_common_page-header_index_ts_bdf4db0b._.js.map +0 -1
  531. package/web/.next/static/chunks/20f7cc98a013b11c.js +0 -1
  532. package/web/.next/static/chunks/2f711373a93c5bc3.css +0 -1
  533. package/web/.next/static/chunks/3e393d6a78b2ade4.js +0 -1
  534. package/web/.next/static/chunks/3e56f1c0d6fd597e.js +0 -1
  535. package/web/.next/static/chunks/4cec255f2754e5ec.js +0 -1
  536. package/web/.next/static/chunks/5c6d14681bec3a25.css +0 -1
  537. package/web/.next/static/chunks/5d4a8552d5b6a4a8.js +0 -1
  538. package/web/.next/static/chunks/5ed47e998707b519.js +0 -8
  539. package/web/.next/static/chunks/647140fe96a7c88a.js +0 -1
  540. package/web/.next/static/chunks/7d623e10e05fef54.js +0 -5
  541. package/web/.next/static/chunks/827b3cc73b7a2b34.js +0 -1
  542. package/web/.next/static/chunks/9bca6624c873b56f.js +0 -1
  543. package/web/.next/static/chunks/a825ba5207a10722.js +0 -7
  544. package/web/.next/static/chunks/a83f32d0b3e27624.js +0 -1
  545. package/web/.next/static/chunks/a93af66e94eeb5e0.js +0 -1
  546. package/web/.next/static/chunks/b85e74f20793ec84.js +0 -1
  547. package/web/.next/static/chunks/badd23a63c6342b7.js +0 -3
  548. package/web/.next/static/chunks/dc134f3f58cdf850.js +0 -5
  549. package/web/.next/static/chunks/f998b42b5cddafd6.js +0 -1
  550. /package/web/.next/static/{CTvT0XSlQD3ePT__3Kc2n → POB2JchXPeEvMtK9zhjns}/_buildManifest.js +0 -0
  551. /package/web/.next/static/{CTvT0XSlQD3ePT__3Kc2n → POB2JchXPeEvMtK9zhjns}/_clientMiddlewareManifest.json +0 -0
  552. /package/web/.next/static/{CTvT0XSlQD3ePT__3Kc2n → POB2JchXPeEvMtK9zhjns}/_ssgManifest.js +0 -0
@@ -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,6 +68,7 @@ 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'))
73
74
  .option('--attach <path>', t('cli:commands.feat.new.attachOption'), collect, [])
@@ -119,7 +120,19 @@ export function createNewCommand() {
119
120
  attachmentPaths.push(resolved);
120
121
  }
121
122
  }
122
- const fast = options.fast ?? defaults.fast;
123
+ // Validate mutually exclusive mode flags
124
+ if (options.explore && options.fast) {
125
+ messages.error(t('cli:commands.feat.new.exploreAndFastConflict'));
126
+ process.exitCode = 1;
127
+ return;
128
+ }
129
+ const mode = options.explore
130
+ ? FeatureMode.Exploration
131
+ : options.fast
132
+ ? FeatureMode.Fast
133
+ : options.fast === false
134
+ ? FeatureMode.Regular
135
+ : defaults.defaultMode;
123
136
  const result = await spinner(t('cli:commands.feat.new.spinnerText'), () => useCase.execute({
124
137
  userInput: description,
125
138
  repositoryPath: repoPath,
@@ -128,7 +141,7 @@ export function createNewCommand() {
128
141
  openPr,
129
142
  ...(parentId !== undefined && { parentId }),
130
143
  ...(options.pending && { pending: true }),
131
- ...(fast && { fast: true }),
144
+ mode,
132
145
  ...(options.model !== undefined && { model: options.model }),
133
146
  ...(attachmentPaths.length > 0 && { attachmentPaths }),
134
147
  rebaseBeforeBranch: options.rebase,
@@ -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
+ }
@@ -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. */
@@ -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;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"}
@@ -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, } = 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 } : {}),
@@ -47,7 +47,7 @@ export async function createFeature(input) {
47
47
  push: push ?? false,
48
48
  openPr: openPr ?? false,
49
49
  ...(parentId ? { parentId } : {}),
50
- ...(fast ? { fast } : {}),
50
+ ...(mode ? { mode } : {}),
51
51
  ...(pending ? { pending } : {}),
52
52
  ...(forkAndPr != null ? { forkAndPr } : {}),
53
53
  ...(commitSpecs != null ? { commitSpecs } : {}),
@@ -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"}
@@ -0,0 +1,29 @@
1
+ 'use server';
2
+ import { resolve } from '../../lib/server-container.js';
3
+ import { FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
4
+ /**
5
+ * Discard an exploration feature, cleaning up the worktree and branch.
6
+ * Validates the feature is in exploration mode before deleting.
7
+ */
8
+ export async function discardExploration(featureId) {
9
+ if (!featureId.trim()) {
10
+ return { discarded: false, error: 'Feature id is required' };
11
+ }
12
+ try {
13
+ const featureRepo = resolve('IFeatureRepository');
14
+ const feature = await featureRepo.findById(featureId);
15
+ if (!feature) {
16
+ return { discarded: false, error: 'Feature not found' };
17
+ }
18
+ if (feature.mode !== FeatureMode.Exploration) {
19
+ return { discarded: false, error: 'Feature is not in exploration mode' };
20
+ }
21
+ const deleteUseCase = resolve('DeleteFeatureUseCase');
22
+ await deleteUseCase.execute(featureId, { cleanup: true });
23
+ return { discarded: true };
24
+ }
25
+ catch (error) {
26
+ const message = error instanceof Error ? error.message : 'Failed to discard exploration';
27
+ return { discarded: false, error: message };
28
+ }
29
+ }
@@ -1,3 +1,4 @@
1
+ import { FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
1
2
  export interface WorkflowDefaults {
2
3
  approvalGates: {
3
4
  allowPrd: boolean;
@@ -9,7 +10,7 @@ export interface WorkflowDefaults {
9
10
  ciWatchEnabled: boolean;
10
11
  enableEvidence: boolean;
11
12
  commitEvidence: boolean;
12
- fast: boolean;
13
+ defaultMode: FeatureMode;
13
14
  }
14
15
  export declare function getWorkflowDefaults(): Promise<WorkflowDefaults>;
15
16
  //# sourceMappingURL=get-workflow-defaults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-workflow-defaults.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/get-workflow-defaults.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,OAAO,CAAC;CACf;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAiBrE"}
1
+ {"version":3,"file":"get-workflow-defaults.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/get-workflow-defaults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAiBrE"}
@@ -1,5 +1,6 @@
1
1
  'use server';
2
2
  import { getSettings } from '../../../../../packages/core/src/infrastructure/services/settings.service.js';
3
+ import { FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
3
4
  export async function getWorkflowDefaults() {
4
5
  const settings = getSettings();
5
6
  const { workflow } = settings;
@@ -14,6 +15,6 @@ export async function getWorkflowDefaults() {
14
15
  ciWatchEnabled: workflow.ciWatchEnabled,
15
16
  enableEvidence: workflow.enableEvidence,
16
17
  commitEvidence: workflow.commitEvidence,
17
- fast: workflow.defaultFastMode,
18
+ defaultMode: workflow.defaultMode ?? FeatureMode.Fast,
18
19
  };
19
20
  }
@@ -0,0 +1,11 @@
1
+ import type { Feature, FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
2
+ /**
3
+ * Promote an exploration feature to Regular or Fast mode.
4
+ * Transitions the feature from Exploring lifecycle to the appropriate
5
+ * starting state and spawns the new agent graph.
6
+ */
7
+ export declare function promoteExploration(featureId: string, targetMode: FeatureMode.Regular | FeatureMode.Fast): Promise<{
8
+ feature?: Feature;
9
+ error?: string;
10
+ }>;
11
+ //# sourceMappingURL=promote-exploration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promote-exploration.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/promote-exploration.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEjF;;;;GAIG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,IAAI,GACjD,OAAO,CAAC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAahD"}
@@ -0,0 +1,21 @@
1
+ 'use server';
2
+ import { resolve } from '../../lib/server-container.js';
3
+ /**
4
+ * Promote an exploration feature to Regular or Fast mode.
5
+ * Transitions the feature from Exploring lifecycle to the appropriate
6
+ * starting state and spawns the new agent graph.
7
+ */
8
+ export async function promoteExploration(featureId, targetMode) {
9
+ if (!featureId.trim()) {
10
+ return { error: 'Feature id is required' };
11
+ }
12
+ try {
13
+ const useCase = resolve('PromoteExplorationUseCase');
14
+ const result = await useCase.execute({ featureId, targetMode });
15
+ return { feature: result.feature };
16
+ }
17
+ catch (error) {
18
+ const message = error instanceof Error ? error.message : 'Failed to promote exploration';
19
+ return { error: message };
20
+ }
21
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Submit feedback on an exploration prototype. This resumes the exploration
3
+ * graph with the feedback text, triggering the next iteration. Internally
4
+ * uses the RejectAgentRunUseCase since exploration feedback follows the
5
+ * same interrupt/resume mechanism as approval gate rejections.
6
+ */
7
+ export declare function submitExplorationFeedback(featureId: string, feedback: string): Promise<{
8
+ submitted: boolean;
9
+ iteration?: number;
10
+ error?: string;
11
+ }>;
12
+ //# sourceMappingURL=submit-exploration-feedback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submit-exploration-feedback.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/submit-exploration-feedback.ts"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAC7C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAqCrE"}
@@ -0,0 +1,40 @@
1
+ 'use server';
2
+ import { resolve } from '../../lib/server-container.js';
3
+ import { FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
4
+ /**
5
+ * Submit feedback on an exploration prototype. This resumes the exploration
6
+ * graph with the feedback text, triggering the next iteration. Internally
7
+ * uses the RejectAgentRunUseCase since exploration feedback follows the
8
+ * same interrupt/resume mechanism as approval gate rejections.
9
+ */
10
+ export async function submitExplorationFeedback(featureId, feedback) {
11
+ if (!featureId.trim()) {
12
+ return { submitted: false, error: 'Feature id is required' };
13
+ }
14
+ if (!feedback.trim()) {
15
+ return { submitted: false, error: 'Feedback is required' };
16
+ }
17
+ try {
18
+ const featureRepo = resolve('IFeatureRepository');
19
+ const feature = await featureRepo.findById(featureId);
20
+ if (!feature) {
21
+ return { submitted: false, error: 'Feature not found' };
22
+ }
23
+ if (feature.mode !== FeatureMode.Exploration) {
24
+ return { submitted: false, error: 'Feature is not in exploration mode' };
25
+ }
26
+ if (!feature.agentRunId) {
27
+ return { submitted: false, error: 'Feature has no agent run' };
28
+ }
29
+ const rejectUseCase = resolve('RejectAgentRunUseCase');
30
+ const result = await rejectUseCase.execute(feature.agentRunId, feedback);
31
+ if (!result.rejected) {
32
+ return { submitted: false, error: result.reason };
33
+ }
34
+ return { submitted: true, iteration: result.iteration };
35
+ }
36
+ catch (error) {
37
+ const message = error instanceof Error ? error.message : 'Failed to submit feedback';
38
+ return { submitted: false, error: message };
39
+ }
40
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/app/api/agent-events/route.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,eAAO,MAAM,OAAO,kBAAkB,CAAC;AAwEvC,oEAAoE;AACpE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EACA,6BAA6B,GAC7B,2BAA2B,GAC3B,6BAA6B,GAC7B,2BAA2B,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAOD,wBAAgB,GAAG,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,CAwV9C"}
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/app/api/agent-events/route.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,eAAO,MAAM,OAAO,kBAAkB,CAAC;AAyEvC,oEAAoE;AACpE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EACA,6BAA6B,GAC7B,2BAA2B,GAC3B,6BAA6B,GAC7B,2BAA2B,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAOD,wBAAgB,GAAG,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,CAwV9C"}
@@ -35,6 +35,7 @@ const LIFECYCLE_TO_NODE = {
35
35
  [SdlcLifecycle.Maintain]: 'maintain',
36
36
  [SdlcLifecycle.Blocked]: 'blocked',
37
37
  [SdlcLifecycle.Pending]: 'pending',
38
+ [SdlcLifecycle.Exploring]: 'exploring',
38
39
  [SdlcLifecycle.Deleting]: 'blocked',
39
40
  [SdlcLifecycle.AwaitingUpstream]: 'merge',
40
41
  [SdlcLifecycle.Archived]: 'archived',
@@ -1 +1 @@
1
- {"version":3,"file":"build-feature-node-data.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/app/build-feature-node-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAS9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,6EAA6E;IAC7E,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,QAAQ,GAAG,IAAI,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,eAAe,CAsDjB"}
1
+ {"version":3,"file":"build-feature-node-data.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/app/build-feature-node-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAS9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAExE,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,6EAA6E;IAC7E,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,QAAQ,GAAG,IAAI,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,eAAe,CAwDjB"}
@@ -1,4 +1,4 @@
1
- import { AgentRunStatus } from '../../../../packages/core/src/domain/generated/output.js';
1
+ import { AgentRunStatus, FeatureMode } from '../../../../packages/core/src/domain/generated/output.js';
2
2
  import { deriveNodeState, deriveProgress, deriveLifecycle, } from '../components/common/feature-node/derive-feature-state.js';
3
3
  import { isProcessAlive } from '../../../../packages/core/src/infrastructure/services/process/is-process-alive.js';
4
4
  import { computeWorktreePath } from '../../../../packages/core/src/infrastructure/services/ide-launchers/compute-worktree-path.js';
@@ -24,7 +24,9 @@ export function buildFeatureNodeData(feature, run, options) {
24
24
  summary: feature.description,
25
25
  userQuery: feature.userQuery,
26
26
  createdAt: feature.createdAt instanceof Date ? feature.createdAt.getTime() : feature.createdAt,
27
- ...(feature.fast && { fastMode: true }),
27
+ ...(feature.mode === FeatureMode.Fast && { fastMode: true }),
28
+ mode: feature.mode,
29
+ ...(feature.iterationCount > 0 && { iterationCount: feature.iterationCount }),
28
30
  approvalGates: feature.approvalGates,
29
31
  push: feature.push,
30
32
  openPr: feature.openPr,
@@ -1,4 +1,4 @@
1
- import { AgentRunStatus } from '../../../../packages/core/src/domain/generated/output.js';
1
+ import { AgentRunStatus, FeatureMode } from '../../../../packages/core/src/domain/generated/output.js';
2
2
  import { deriveNodeState, deriveProgress, deriveLifecycle, } from '../components/common/feature-node/derive-feature-state.js';
3
3
  import { isProcessAlive } from '../../../../packages/core/src/infrastructure/services/process/is-process-alive.js';
4
4
  import { computeWorktreePath } from '../../../../packages/core/src/infrastructure/services/ide-launchers/compute-worktree-path.js';
@@ -114,7 +114,9 @@ function appendFeatureNodes(repoFeatures, repoNodeId, allFeaturesWithRuns, nodes
114
114
  summary: feature.description,
115
115
  userQuery: feature.userQuery,
116
116
  createdAt: feature.createdAt instanceof Date ? feature.createdAt.getTime() : feature.createdAt,
117
- ...(feature.fast && { fastMode: true }),
117
+ ...(feature.mode === FeatureMode.Fast && { fastMode: true }),
118
+ mode: feature.mode,
119
+ ...(feature.iterationCount > 0 && { iterationCount: feature.iterationCount }),
118
120
  approvalGates: feature.approvalGates,
119
121
  push: feature.push,
120
122
  openPr: feature.openPr,
@@ -3,7 +3,7 @@ import type { RepositoryNodeData } from '../../common/repository-node/index.js';
3
3
  import type { ParentFeatureOption } from '../../common/feature-create-drawer/feature-create-drawer.js';
4
4
  import type { WorkflowDefaults } from '../../../app/actions/get-workflow-defaults.js';
5
5
  /** Tab key matching FeatureDrawerTabs */
6
- export type FeatureTabKey = 'overview' | 'activity' | 'log' | 'plan' | 'prd-review' | 'tech-decisions' | 'product-decisions' | 'merge-review' | 'chat';
6
+ export type FeatureTabKey = 'overview' | 'activity' | 'log' | 'plan' | 'prd-review' | 'tech-decisions' | 'product-decisions' | 'merge-review' | 'prototype' | 'chat';
7
7
  /** All valid tab key values — used for URL param validation. */
8
8
  export declare const VALID_TAB_KEYS: ReadonlySet<string>;
9
9
  /** Type-guard: returns the value as FeatureTabKey if valid, otherwise undefined. */
@@ -1 +1 @@
1
- {"version":3,"file":"drawer-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/control-center-drawer/drawer-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iEAAiE,CAAC;AAC3G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,yCAAyC;AACzC,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,UAAU,GACV,KAAK,GACL,MAAM,GACN,YAAY,GACZ,gBAAgB,GAChB,mBAAmB,GACnB,cAAc,GACd,MAAM,CAAC;AAEX,gEAAgE;AAChE,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,MAAM,CAU7C,CAAC;AAEH,oFAAoF;AACpF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAGvF;AAED;;;GAGG;AACH,MAAM,MAAM,UAAU;AACpB,qEAAqE;AACnE;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,eAAe,CAAC;IAAC,UAAU,EAAE,aAAa,CAAA;CAAE;AACvE,4BAA4B;GAC1B;IACE,IAAI,EAAE,gBAAgB,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AACH,8BAA8B;GAC5B;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAErD,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,eAAe,GAAG,aAAa,CAOrE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,GACjB,EAAE;IACD,YAAY,EAAE,eAAe,GAAG,IAAI,CAAC;IACrC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,sBAAsB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,gBAAgB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC5C,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAChD,GAAG,UAAU,GAAG,IAAI,CAoBpB"}
1
+ {"version":3,"file":"drawer-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/control-center-drawer/drawer-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iEAAiE,CAAC;AAC3G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,yCAAyC;AACzC,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,UAAU,GACV,KAAK,GACL,MAAM,GACN,YAAY,GACZ,gBAAgB,GAChB,mBAAmB,GACnB,cAAc,GACd,WAAW,GACX,MAAM,CAAC;AAEX,gEAAgE;AAChE,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,MAAM,CAW7C,CAAC;AAEH,oFAAoF;AACpF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAGvF;AAED;;;GAGG;AACH,MAAM,MAAM,UAAU;AACpB,qEAAqE;AACnE;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,eAAe,CAAC;IAAC,UAAU,EAAE,aAAa,CAAA;CAAE;AACvE,4BAA4B;GAC1B;IACE,IAAI,EAAE,gBAAgB,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AACH,8BAA8B;GAC5B;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAErD,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,eAAe,GAAG,aAAa,CAQrE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,GACjB,EAAE;IACD,YAAY,EAAE,eAAe,GAAG,IAAI,CAAC;IACrC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,sBAAsB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,gBAAgB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC5C,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAChD,GAAG,UAAU,GAAG,IAAI,CAoBpB"}
@@ -8,6 +8,7 @@ export const VALID_TAB_KEYS = new Set([
8
8
  'tech-decisions',
9
9
  'product-decisions',
10
10
  'merge-review',
11
+ 'prototype',
11
12
  'chat',
12
13
  ]);
13
14
  /** Type-guard: returns the value as FeatureTabKey if valid, otherwise undefined. */
@@ -18,6 +19,8 @@ export function parseTabKey(value) {
18
19
  }
19
20
  /** Derives the initial tab from node lifecycle + state. */
20
21
  export function deriveInitialTab(node) {
22
+ if (node.lifecycle === 'exploring')
23
+ return 'prototype';
21
24
  if (node.lifecycle === 'requirements' && node.state === 'action-required')
22
25
  return 'prd-review';
23
26
  if (node.lifecycle === 'implementation' && node.state === 'action-required')
@@ -1 +1 @@
1
- {"version":3,"file":"feature-drawer-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/control-center-drawer/feature-drawer-client.tsx"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK/D,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,8FAA8F;IAC9F,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,qFAAqF;IACrF,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EAAE,WAAW,EACjB,MAAM,EACN,uBAA8B,GAC/B,EAAE,wBAAwB,2CAoxB1B"}
1
+ {"version":3,"file":"feature-drawer-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/control-center-drawer/feature-drawer-client.tsx"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK/D,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,8FAA8F;IAC9F,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,qFAAqF;IACrF,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EAAE,WAAW,EACjB,MAAM,EACN,uBAA8B,GAC/B,EAAE,wBAAwB,2CAg2B1B"}
@@ -11,6 +11,9 @@ import { resumeFeature } from '../../../app/actions/resume-feature.js';
11
11
  import { startFeature } from '../../../app/actions/start-feature.js';
12
12
  import { stopFeature } from '../../../app/actions/stop-feature.js';
13
13
  import { rejectFeature } from '../../../app/actions/reject-feature.js';
14
+ import { submitExplorationFeedback } from '../../../app/actions/submit-exploration-feedback.js';
15
+ import { promoteExploration } from '../../../app/actions/promote-exploration.js';
16
+ import { discardExploration } from '../../../app/actions/discard-exploration.js';
14
17
  import { getFeatureArtifact } from '../../../app/actions/get-feature-artifact.js';
15
18
  import { getResearchArtifact } from '../../../app/actions/get-research-artifact.js';
16
19
  import { getMergeReviewData } from '../../../app/actions/get-merge-review-data.js';
@@ -133,6 +136,8 @@ export function FeatureDrawerClient({ view: initialView, urlTab, interactiveAgen
133
136
  setIsArchiving(false);
134
137
  }
135
138
  }, [archiveResetKey]);
139
+ // ── Exploration state ────────────────────────────────────────────────
140
+ const [isPrototypeSubmitting, setIsPrototypeSubmitting] = useState(false);
136
141
  // ── Shared reject state ────────────────────────────────────────────────
137
142
  const [isRejecting, setIsRejecting] = useState(false);
138
143
  const isRejectingRef = useRef(false);
@@ -374,6 +379,65 @@ export function FeatureDrawerClient({ view: initialView, urlTab, interactiveAgen
374
379
  return { ...prev, node: { ...prev.node, state: 'running' } };
375
380
  });
376
381
  }, []);
382
+ // ── Exploration handlers ─────────────────────────────────────────────
383
+ const handleSubmitFeedback = useCallback(async (feedback) => {
384
+ if (!featureNode?.featureId)
385
+ return;
386
+ setIsPrototypeSubmitting(true);
387
+ try {
388
+ const result = await submitExplorationFeedback(featureNode.featureId, feedback);
389
+ if (!result.submitted) {
390
+ toast.error(result.error ?? 'Failed to submit feedback');
391
+ return;
392
+ }
393
+ toast.success(`Feedback sent — generating iteration ${(result.iteration ?? 0) + 1}`);
394
+ window.dispatchEvent(new CustomEvent('shep:feature-approved', {
395
+ detail: { featureId: featureNode.featureId },
396
+ }));
397
+ }
398
+ finally {
399
+ setIsPrototypeSubmitting(false);
400
+ }
401
+ }, [featureNode]);
402
+ const handlePromote = useCallback(async (targetMode) => {
403
+ if (!featureNode?.featureId)
404
+ return;
405
+ setIsPrototypeSubmitting(true);
406
+ try {
407
+ const result = await promoteExploration(featureNode.featureId, targetMode);
408
+ if (result.error) {
409
+ toast.error(result.error);
410
+ return;
411
+ }
412
+ toast.success(`Exploration promoted to ${targetMode === 'Fast' ? 'fast' : 'regular'} mode`);
413
+ window.dispatchEvent(new CustomEvent('shep:feature-approved', {
414
+ detail: { featureId: featureNode.featureId },
415
+ }));
416
+ }
417
+ finally {
418
+ setIsPrototypeSubmitting(false);
419
+ }
420
+ }, [featureNode]);
421
+ const handleDiscardExploration = useCallback(async () => {
422
+ if (!featureNode?.featureId)
423
+ return;
424
+ setIsPrototypeSubmitting(true);
425
+ try {
426
+ const result = await discardExploration(featureNode.featureId);
427
+ if (!result.discarded) {
428
+ toast.error(result.error ?? 'Failed to discard exploration');
429
+ return;
430
+ }
431
+ toast.success('Exploration discarded');
432
+ window.dispatchEvent(new CustomEvent('shep:feature-delete-requested', {
433
+ detail: { featureId: featureNode.featureId, cleanup: true },
434
+ }));
435
+ router.push('/');
436
+ }
437
+ finally {
438
+ setIsPrototypeSubmitting(false);
439
+ }
440
+ }, [featureNode, router]);
377
441
  // ── Hooks (always called unconditionally per Rules of Hooks) ──────────
378
442
  const featureActionsInput = featureNode?.repositoryPath && featureNode?.branch
379
443
  ? {
@@ -449,7 +513,7 @@ export function FeatureDrawerClient({ view: initialView, urlTab, interactiveAgen
449
513
  ...(featureNode.state === 'error' && { onRetry: handleRetry }),
450
514
  ...(featureNode.state === 'pending' && { onStart: handleStart }),
451
515
  };
452
- body = (_jsx(FeatureDrawerTabs, { featureName: featureNode.name, headerContent: headerContent, featureNode: enrichedNode, featureId: featureNode.featureId, initialTab: view.initialTab, urlTab: urlTab, sseEvents: events, prdData: prdData, prdSelections: prdSelections, onPrdSelect: (qId, oId) => setPrdSelections((prev) => ({ ...prev, [qId]: oId })), onPrdApprove: handlePrdApprove, onPrdReject: handlePrdReject, isPrdLoading: isLoadingPrd, techData: techData, onTechApprove: handleTechApprove, onTechReject: handleTechReject, isTechLoading: isLoadingTech, productData: isLoadingTechProduct ? null : techProductData, mergeData: mergeData, onMergeApprove: handleMergeApprove, onMergeReject: handleMergeReject, isMergeLoading: isLoadingMerge, syncStatus: syncFeatureId ? syncData : undefined, syncLoading: syncLoading, syncError: syncError, onRefreshSync: syncFeatureId ? refreshSync : undefined, onRebaseOnMain: syncFeatureId ? featureActions.rebaseOnMain : undefined, rebaseLoading: featureActions.rebaseLoading, rebaseError: featureActions.rebaseError, isRejecting: isRejecting, chatInput: chatInput, onChatInputChange: setChatInput, interactiveAgentEnabled: interactiveAgentEnabled, onRetry: handleRetry, onStop: handleStop, onStart: handleStart }));
516
+ body = (_jsx(FeatureDrawerTabs, { featureName: featureNode.name, headerContent: headerContent, featureNode: enrichedNode, featureId: featureNode.featureId, initialTab: view.initialTab, urlTab: urlTab, sseEvents: events, prdData: prdData, prdSelections: prdSelections, onPrdSelect: (qId, oId) => setPrdSelections((prev) => ({ ...prev, [qId]: oId })), onPrdApprove: handlePrdApprove, onPrdReject: handlePrdReject, isPrdLoading: isLoadingPrd, techData: techData, onTechApprove: handleTechApprove, onTechReject: handleTechReject, isTechLoading: isLoadingTech, productData: isLoadingTechProduct ? null : techProductData, mergeData: mergeData, onMergeApprove: handleMergeApprove, onMergeReject: handleMergeReject, isMergeLoading: isLoadingMerge, syncStatus: syncFeatureId ? syncData : undefined, syncLoading: syncLoading, syncError: syncError, onRefreshSync: syncFeatureId ? refreshSync : undefined, onRebaseOnMain: syncFeatureId ? featureActions.rebaseOnMain : undefined, rebaseLoading: featureActions.rebaseLoading, rebaseError: featureActions.rebaseError, isRejecting: isRejecting, chatInput: chatInput, onChatInputChange: setChatInput, onSubmitFeedback: handleSubmitFeedback, onPromote: handlePromote, onDiscardExploration: handleDiscardExploration, isPrototypeSubmitting: isPrototypeSubmitting, interactiveAgentEnabled: interactiveAgentEnabled, onRetry: handleRetry, onStop: handleStop, onStart: handleStart }));
453
517
  }
454
518
  return (_jsx(BaseDrawer, { open: isOpen, onClose: attemptClose, size: "lg", modal: false, "data-testid": view.type === 'feature' ? 'feature-drawer' : 'repository-drawer', children: body }));
455
519
  }
@@ -1,4 +1,5 @@
1
1
  import type { WorkflowDefaults } from '../../../app/actions/get-workflow-defaults.js';
2
+ import { FeatureMode } from '../../../../../../packages/core/src/domain/generated/output.js';
2
3
  export type { FileAttachment } from '../../../../../../packages/core/src/infrastructure/services/file-dialog.service.js';
3
4
  /** Attachment record for the create form — supports both picker and upload sources. */
4
5
  export interface FormAttachment {
@@ -37,8 +38,8 @@ export interface FeatureCreatePayload {
37
38
  enableEvidence: boolean;
38
39
  commitEvidence: boolean;
39
40
  parentId?: string;
40
- /** When true, skip SDLC phases and implement directly from the prompt. */
41
- fast: boolean;
41
+ /** Execution mode: Regular (full SDLC), Fast (direct implementation), or Exploration (iterative prototyping). */
42
+ mode: FeatureMode;
42
43
  /** When true, create the feature in pending state (no agent spawned). */
43
44
  pending?: boolean;
44
45
  /** Fork repo and create PR to upstream at merge time. */
@@ -1 +1 @@
1
- {"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAU5E,YAAY,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAE/F,uFAAuF;AACvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,0DAA0D;AAC1D,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,iEAAiE;AACjE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,IAAI,EAAE,OAAO,CAAC;IACd,yEAAyE;IACzE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yDAAyD;IACzD,SAAS,EAAE,OAAO,CAAC;IACnB,uFAAuF;IACvF,WAAW,EAAE,OAAO,CAAC;IACrB,gFAAgF;IAChF,kBAAkB,EAAE,OAAO,CAAC;IAC5B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAyED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,qEAAqE;IACrE,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACjC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC,kGAAkG;IAClG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,cAAc,EACd,YAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,eAAe,GAChB,EAAE,wBAAwB,2CA09B1B;AAsJD,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,eAAe,EACf,QAAQ,GACT,EAAE,uBAAuB,2CAkNzB"}
1
+ {"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"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"}