@shepai/cli 1.170.0-pr513.cff27cb → 1.171.0-pr503.31863d2

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 (456) hide show
  1. package/apis/json-schema/AgentType.yaml +1 -0
  2. package/apis/json-schema/Feature.yaml +5 -17
  3. package/apis/json-schema/SdlcLifecycle.yaml +0 -1
  4. package/apis/json-schema/WorkflowConfig.yaml +5 -10
  5. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +2 -2
  6. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
  7. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +3 -4
  8. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
  9. package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +2 -2
  10. package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +2 -2
  11. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts.map +1 -1
  12. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.js +2 -3
  13. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +2 -2
  14. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
  15. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +7 -18
  16. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +2 -3
  17. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
  18. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
  19. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.js +0 -13
  20. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +2 -2
  21. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +1 -1
  22. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +3 -5
  23. package/dist/packages/core/src/application/use-cases/upgrade/upgrade-cli.use-case.d.ts +1 -0
  24. package/dist/packages/core/src/application/use-cases/upgrade/upgrade-cli.use-case.d.ts.map +1 -1
  25. package/dist/packages/core/src/application/use-cases/upgrade/upgrade-cli.use-case.js +59 -2
  26. package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
  27. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -2
  28. package/dist/packages/core/src/domain/generated/output.d.ts +5 -22
  29. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  30. package/dist/packages/core/src/domain/generated/output.js +1 -7
  31. package/dist/packages/core/src/domain/lifecycle-gates.d.ts +6 -21
  32. package/dist/packages/core/src/domain/lifecycle-gates.d.ts.map +1 -1
  33. package/dist/packages/core/src/domain/lifecycle-gates.js +6 -25
  34. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  35. package/dist/packages/core/src/infrastructure/di/container.js +3 -5
  36. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +1 -3
  37. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
  38. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +4 -10
  39. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +1 -2
  40. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  41. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +2 -7
  42. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
  43. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +3 -5
  44. package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -3
  45. package/dist/packages/core/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts.map +1 -1
  46. package/dist/packages/core/src/infrastructure/services/agents/common/agent-executor-factory.service.js +23 -0
  47. package/dist/packages/core/src/infrastructure/services/agents/common/agent-validator.service.d.ts.map +1 -1
  48. package/dist/packages/core/src/infrastructure/services/agents/common/agent-validator.service.js +1 -0
  49. package/dist/packages/core/src/infrastructure/services/agents/common/executors/copilot-cli-executor.service.d.ts +63 -0
  50. package/dist/packages/core/src/infrastructure/services/agents/common/executors/copilot-cli-executor.service.d.ts.map +1 -0
  51. package/dist/packages/core/src/infrastructure/services/agents/common/executors/copilot-cli-executor.service.js +494 -0
  52. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +0 -20
  53. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
  54. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +0 -68
  55. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
  56. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +2 -2
  57. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
  58. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +3 -3
  59. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +2 -2
  60. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
  61. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +8 -19
  62. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.d.ts.map +1 -1
  63. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.js +0 -1
  64. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  65. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +0 -1
  66. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +0 -4
  67. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
  68. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +0 -17
  69. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +1 -1
  70. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
  71. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +4 -7
  72. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/codex.json +32 -0
  73. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/copilot.json +32 -0
  74. package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
  75. package/dist/src/presentation/cli/commands/feat/index.js +1 -5
  76. package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
  77. package/dist/src/presentation/cli/commands/feat/new.command.js +5 -18
  78. package/dist/src/presentation/cli/commands/upgrade.command.d.ts.map +1 -1
  79. package/dist/src/presentation/cli/commands/upgrade.command.js +68 -3
  80. package/dist/src/presentation/tui/prompts/agent-select.prompt.d.ts.map +1 -1
  81. package/dist/src/presentation/tui/prompts/agent-select.prompt.js +5 -0
  82. package/dist/src/presentation/web/app/actions/check-agent-auth.d.ts.map +1 -1
  83. package/dist/src/presentation/web/app/actions/check-agent-auth.js +18 -0
  84. package/dist/src/presentation/web/app/actions/create-feature.d.ts +2 -3
  85. package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
  86. package/dist/src/presentation/web/app/actions/create-feature.js +3 -3
  87. package/dist/src/presentation/web/app/actions/get-all-agent-models.d.ts.map +1 -1
  88. package/dist/src/presentation/web/app/actions/get-all-agent-models.js +4 -2
  89. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +1 -2
  90. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
  91. package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +1 -2
  92. package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
  93. package/dist/src/presentation/web/app/api/agent-events/route.js +0 -1
  94. package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
  95. package/dist/src/presentation/web/app/build-feature-node-data.js +2 -4
  96. package/dist/src/presentation/web/app/build-graph-nodes.js +2 -4
  97. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts +1 -1
  98. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts.map +1 -1
  99. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.js +0 -3
  100. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
  101. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +1 -65
  102. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +2 -3
  103. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  104. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +11 -15
  105. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
  106. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +1 -2
  107. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts +1 -6
  108. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
  109. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +4 -16
  110. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.d.ts +1 -1
  111. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.d.ts.map +1 -1
  112. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.js +2 -0
  113. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.d.ts.map +1 -1
  114. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.js +1 -0
  115. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
  116. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +0 -2
  117. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +2 -6
  118. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  119. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +0 -12
  120. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  121. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +2 -7
  122. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/AgentModelPicker.stories.d.ts +1 -0
  123. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/AgentModelPicker.stories.d.ts.map +1 -1
  124. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/AgentModelPicker.stories.js +7 -0
  125. package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map +1 -1
  126. package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +11 -3
  127. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts +1 -0
  128. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts.map +1 -1
  129. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +8 -0
  130. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  131. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +6 -6
  132. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +3 -3
  133. package/dist/translations/ar/cli.json +2 -24
  134. package/dist/translations/ar/tui.json +4 -0
  135. package/dist/translations/ar/web.json +2 -6
  136. package/dist/translations/de/cli.json +2 -24
  137. package/dist/translations/de/tui.json +4 -0
  138. package/dist/translations/de/web.json +2 -6
  139. package/dist/translations/en/cli.json +2 -24
  140. package/dist/translations/en/tui.json +4 -0
  141. package/dist/translations/en/web.json +2 -6
  142. package/dist/translations/es/cli.json +2 -24
  143. package/dist/translations/es/tui.json +4 -0
  144. package/dist/translations/es/web.json +2 -6
  145. package/dist/translations/fr/cli.json +2 -24
  146. package/dist/translations/fr/tui.json +4 -0
  147. package/dist/translations/fr/web.json +2 -6
  148. package/dist/translations/he/cli.json +2 -24
  149. package/dist/translations/he/tui.json +4 -0
  150. package/dist/translations/he/web.json +2 -6
  151. package/dist/translations/pt/cli.json +2 -24
  152. package/dist/translations/pt/tui.json +4 -0
  153. package/dist/translations/pt/web.json +2 -6
  154. package/dist/translations/ru/cli.json +2 -24
  155. package/dist/translations/ru/tui.json +4 -0
  156. package/dist/translations/ru/web.json +2 -6
  157. package/dist/tsconfig.build.tsbuildinfo +1 -1
  158. package/package.json +3 -1
  159. package/web/.next/BUILD_ID +1 -1
  160. package/web/.next/build-manifest.json +2 -2
  161. package/web/.next/fallback-build-manifest.json +2 -2
  162. package/web/.next/prerender-manifest.json +3 -3
  163. package/web/.next/required-server-files.js +2 -2
  164. package/web/.next/required-server-files.json +2 -2
  165. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  166. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  167. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  168. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  169. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  170. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  171. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +30 -30
  172. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  173. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  174. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +76 -121
  175. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +1 -2
  176. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  177. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  178. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +76 -121
  179. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +1 -2
  180. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  181. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  182. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  183. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  184. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  185. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  186. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  187. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  188. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  189. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  190. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  191. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +30 -30
  192. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  193. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  194. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +76 -121
  195. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +1 -2
  196. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  197. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  198. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +76 -121
  199. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +1 -2
  200. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  201. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  202. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  203. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  204. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  205. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  206. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  207. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  208. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  209. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  210. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  211. package/web/.next/server/app/_global-error.html +2 -2
  212. package/web/.next/server/app/_global-error.rsc +1 -1
  213. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  214. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  215. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  216. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  217. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  218. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  219. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  220. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  221. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  222. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  223. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  224. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  225. package/web/.next/server/app/features/page/server-reference-manifest.json +6 -6
  226. package/web/.next/server/app/features/page.js.nft.json +1 -1
  227. package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
  228. package/web/.next/server/app/settings/page/server-reference-manifest.json +9 -9
  229. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  230. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  231. package/web/.next/server/app/skills/page/server-reference-manifest.json +13 -13
  232. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  233. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  234. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  235. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  236. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  237. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  238. package/web/.next/server/app/version/page.js.nft.json +1 -1
  239. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  240. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  241. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  242. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +1 -1
  243. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
  244. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  245. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
  246. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
  247. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
  248. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  249. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  250. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  251. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +3 -3
  252. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  253. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js +1 -1
  254. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js.map +1 -1
  255. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +1 -1
  256. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -1
  257. package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
  258. package/web/.next/server/chunks/ssr/[root-of-the-server]__4ed9b909._.js +1 -1
  259. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js +4 -0
  260. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js.map +1 -0
  261. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
  262. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
  263. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js +1 -1
  264. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +1 -1
  265. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +1 -1
  266. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +1 -1
  267. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js +4 -0
  268. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js.map +1 -0
  269. package/web/.next/server/chunks/ssr/[root-of-the-server]__92ffd5ee._.js +2 -2
  270. package/web/.next/server/chunks/ssr/[root-of-the-server]__92ffd5ee._.js.map +1 -1
  271. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js +2 -2
  272. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js.map +1 -1
  273. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +1 -1
  274. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -1
  275. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js +4 -0
  276. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js.map +1 -0
  277. package/web/.next/server/chunks/ssr/[root-of-the-server]__c1262d08._.js +1 -1
  278. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
  279. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
  280. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js +4 -0
  281. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js.map +1 -0
  282. package/web/.next/server/chunks/ssr/[root-of-the-server]__fa525872._.js +3 -0
  283. package/web/.next/server/chunks/ssr/[root-of-the-server]__fa525872._.js.map +1 -0
  284. package/web/.next/server/chunks/ssr/_02e01240._.js +1 -1
  285. package/web/.next/server/chunks/ssr/_02e01240._.js.map +1 -1
  286. package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
  287. package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
  288. package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
  289. package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
  290. package/web/.next/server/chunks/ssr/_18886033._.js +1 -1
  291. package/web/.next/server/chunks/ssr/_18886033._.js.map +1 -1
  292. package/web/.next/server/chunks/ssr/_22e00a14._.js +1 -1
  293. package/web/.next/server/chunks/ssr/_22e00a14._.js.map +1 -1
  294. package/web/.next/server/chunks/ssr/{_cac4abe6._.js → _27acd26e._.js} +2 -2
  295. package/web/.next/server/chunks/ssr/_27acd26e._.js.map +1 -0
  296. package/web/.next/server/chunks/ssr/{_34d897da._.js → _4136c477._.js} +2 -2
  297. package/web/.next/server/chunks/ssr/{_34d897da._.js.map → _4136c477._.js.map} +1 -1
  298. package/web/.next/server/chunks/ssr/_45496654._.js +1 -1
  299. package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -1
  300. package/web/.next/server/chunks/ssr/_4cbb7f95._.js +1 -1
  301. package/web/.next/server/chunks/ssr/_4cbb7f95._.js.map +1 -1
  302. package/web/.next/server/chunks/ssr/_5119a3df._.js +1 -1
  303. package/web/.next/server/chunks/ssr/_5119a3df._.js.map +1 -1
  304. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  305. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  306. package/web/.next/server/chunks/ssr/_a5a5901d._.js +1 -1
  307. package/web/.next/server/chunks/ssr/_a5a5901d._.js.map +1 -1
  308. package/web/.next/server/chunks/ssr/_a963dd3c._.js +3 -0
  309. package/web/.next/server/chunks/ssr/_a963dd3c._.js.map +1 -0
  310. package/web/.next/server/chunks/ssr/_ad09f271._.js +1 -1
  311. package/web/.next/server/chunks/ssr/_ad09f271._.js.map +1 -1
  312. package/web/.next/server/chunks/ssr/{_0fd635d7._.js → _b966b198._.js} +2 -2
  313. package/web/.next/server/chunks/ssr/_b966b198._.js.map +1 -0
  314. package/web/.next/server/chunks/ssr/_c3f595c6._.js +1 -1
  315. package/web/.next/server/chunks/ssr/_c3f595c6._.js.map +1 -1
  316. package/web/.next/server/chunks/ssr/_df737cce._.js +1 -1
  317. package/web/.next/server/chunks/ssr/_e3f14907._.js +9 -0
  318. package/web/.next/server/chunks/ssr/_e3f14907._.js.map +1 -0
  319. package/web/.next/server/chunks/ssr/_ea9e1556._.js +1 -1
  320. package/web/.next/server/chunks/ssr/_ea9e1556._.js.map +1 -1
  321. package/web/.next/server/chunks/ssr/_f1ba9be6._.js +2 -2
  322. package/web/.next/server/chunks/ssr/_f1ba9be6._.js.map +1 -1
  323. package/web/.next/server/chunks/ssr/_f33cd07e._.js +2 -2
  324. package/web/.next/server/chunks/ssr/_f33cd07e._.js.map +1 -1
  325. package/web/.next/server/chunks/ssr/_f8b45233._.js +1 -1
  326. package/web/.next/server/chunks/ssr/_f8b45233._.js.map +1 -1
  327. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  328. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  329. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  330. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  331. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
  332. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js.map +1 -1
  333. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  334. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  335. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  336. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  337. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  338. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  339. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +1 -1
  340. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -1
  341. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
  342. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js.map +1 -1
  343. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
  344. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
  345. package/web/.next/server/pages/500.html +2 -2
  346. package/web/.next/server/server-reference-manifest.js +1 -1
  347. package/web/.next/server/server-reference-manifest.json +202 -310
  348. package/web/.next/static/chunks/{52681a7f14138e48.js → 09a08b7f90098440.js} +1 -1
  349. package/web/.next/static/chunks/{37f9543560c58ea6.js → 2b896116f764da03.js} +1 -1
  350. package/web/.next/static/chunks/{09a25231e5fc1ab8.js → 3247ba648d634827.js} +3 -3
  351. package/web/.next/static/chunks/411a0c6bde7ad962.js +1 -0
  352. package/web/.next/static/chunks/{5e20f692bbfcfb94.js → 4559a403ee40dd19.js} +1 -1
  353. package/web/.next/static/chunks/{e93ae5725b0babeb.js → 50ece6880e22f161.js} +1 -1
  354. package/web/.next/static/chunks/{d5bf9c963b5346e1.js → 65ba91a6e2590493.js} +1 -1
  355. package/web/.next/static/chunks/{4219ddfde68a6d0b.js → 7109913081cd7349.js} +1 -1
  356. package/web/.next/static/chunks/{478adf5d5156f002.js → 8e557def478b46c0.js} +1 -1
  357. package/web/.next/static/chunks/{9a78b4c5dcd28196.js → a13b403c2902470e.js} +2 -2
  358. package/web/.next/static/chunks/b14085e99b88e7f7.css +1 -0
  359. package/web/.next/static/chunks/b65e555419a0c664.js +1 -0
  360. package/web/.next/static/chunks/cd93c39d2f159a18.js +5 -0
  361. package/web/.next/static/chunks/{2a9af061f4fbe7f5.js → d5366257d6b9f855.js} +1 -1
  362. package/web/.next/static/chunks/e84722a779b17648.js +1 -0
  363. package/web/.next/static/chunks/{0769c695d6b663c7.js → e9b4f53588a0cfab.js} +1 -1
  364. package/web/.next/static/chunks/{0f30a983f3467cd5.js → eb060a66a00aeea9.js} +1 -1
  365. package/web/.next/static/chunks/fa72d334e24bbdc2.js +1 -0
  366. package/web/.next/static/chunks/{fc595d95626ac9bb.js → ff9eaac63c44d1a6.js} +1 -1
  367. package/web/public/icons/agents/copilot.svg +12 -0
  368. package/apis/json-schema/FeatureMode.yaml +0 -8
  369. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts +0 -40
  370. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts.map +0 -1
  371. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.js +0 -125
  372. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts +0 -19
  373. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts.map +0 -1
  374. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.js +0 -46
  375. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts +0 -17
  376. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts.map +0 -1
  377. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.js +0 -37
  378. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts +0 -12
  379. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts.map +0 -1
  380. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.js +0 -17
  381. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts +0 -362
  382. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts.map +0 -1
  383. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.js +0 -72
  384. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts +0 -18
  385. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts.map +0 -1
  386. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.js +0 -52
  387. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts +0 -24
  388. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts.map +0 -1
  389. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.js +0 -38
  390. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts +0 -31
  391. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts.map +0 -1
  392. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.js +0 -240
  393. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts +0 -21
  394. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts.map +0 -1
  395. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.js +0 -134
  396. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts +0 -12
  397. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts.map +0 -1
  398. package/dist/src/presentation/cli/commands/feat/feedback.command.js +0 -64
  399. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts +0 -13
  400. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts.map +0 -1
  401. package/dist/src/presentation/cli/commands/feat/promote.command.js +0 -41
  402. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts +0 -9
  403. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts.map +0 -1
  404. package/dist/src/presentation/web/app/actions/discard-exploration.js +0 -29
  405. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts +0 -11
  406. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts.map +0 -1
  407. package/dist/src/presentation/web/app/actions/promote-exploration.js +0 -21
  408. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts +0 -12
  409. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts.map +0 -1
  410. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.js +0 -40
  411. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts +0 -8
  412. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts.map +0 -1
  413. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.js +0 -33
  414. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts +0 -10
  415. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts.map +0 -1
  416. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.js +0 -33
  417. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts +0 -11
  418. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts.map +0 -1
  419. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.js +0 -34
  420. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts +0 -16
  421. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts.map +0 -1
  422. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.js +0 -70
  423. package/dist/src/presentation/web/components/ui/toggle-group.d.ts +0 -10
  424. package/dist/src/presentation/web/components/ui/toggle-group.d.ts.map +0 -1
  425. package/dist/src/presentation/web/components/ui/toggle-group.js +0 -22
  426. package/dist/src/presentation/web/components/ui/toggle.d.ts +0 -10
  427. package/dist/src/presentation/web/components/ui/toggle.d.ts.map +0 -1
  428. package/dist/src/presentation/web/components/ui/toggle.js +0 -26
  429. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js +0 -4
  430. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js.map +0 -1
  431. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js +0 -4
  432. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js.map +0 -1
  433. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js +0 -3
  434. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js.map +0 -1
  435. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js +0 -4
  436. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js.map +0 -1
  437. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js +0 -4
  438. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js.map +0 -1
  439. package/web/.next/server/chunks/ssr/_0fd635d7._.js.map +0 -1
  440. package/web/.next/server/chunks/ssr/_30ddea9d._.js +0 -9
  441. package/web/.next/server/chunks/ssr/_30ddea9d._.js.map +0 -1
  442. package/web/.next/server/chunks/ssr/_6e79a2cc._.js +0 -3
  443. package/web/.next/server/chunks/ssr/_6e79a2cc._.js.map +0 -1
  444. package/web/.next/server/chunks/ssr/_cac4abe6._.js.map +0 -1
  445. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js +0 -3
  446. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js.map +0 -1
  447. package/web/.next/static/chunks/2ceebcc839ee0d4b.js +0 -1
  448. package/web/.next/static/chunks/5743a9c1c63e5261.js +0 -5
  449. package/web/.next/static/chunks/5cf9745e2ef3837c.js +0 -1
  450. package/web/.next/static/chunks/c80e8e3d0cf5baa6.css +0 -1
  451. package/web/.next/static/chunks/d60cee2e7318f425.js +0 -1
  452. package/web/.next/static/chunks/da565c85277c2461.js +0 -1
  453. package/web/.next/static/chunks/fb89cf91c10b2e8b.js +0 -1
  454. /package/web/.next/static/{G895CgnbZl4YvWN_DaRC- → uFeGUlh9baBGxVUJHDOXJ}/_buildManifest.js +0 -0
  455. /package/web/.next/static/{G895CgnbZl4YvWN_DaRC- → uFeGUlh9baBGxVUJHDOXJ}/_clientMiddlewareManifest.json +0 -0
  456. /package/web/.next/static/{G895CgnbZl4YvWN_DaRC- → uFeGUlh9baBGxVUJHDOXJ}/_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, FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
18
+ import { SdlcLifecycle } 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
- defaultMode: FeatureMode.Fast,
37
+ fast: true,
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
- defaultMode: settings.workflow.defaultMode ?? FeatureMode.Fast,
48
+ fast: settings.workflow.defaultFastMode,
49
49
  };
50
50
  }
51
51
  /**
@@ -68,7 +68,6 @@ 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'))
72
71
  .option('--model <model>', t('cli:commands.feat.new.modelOption'))
73
72
  .option('--no-rebase', t('cli:commands.feat.new.noRebaseOption'))
74
73
  .option('--inject-skills', t('cli:commands.feat.new.injectSkillsOption'))
@@ -122,19 +121,7 @@ export function createNewCommand() {
122
121
  attachmentPaths.push(resolved);
123
122
  }
124
123
  }
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;
124
+ const fast = options.fast ?? defaults.fast;
138
125
  const result = await spinner(t('cli:commands.feat.new.spinnerText'), () => useCase.execute({
139
126
  userInput: description,
140
127
  repositoryPath: repoPath,
@@ -143,7 +130,7 @@ export function createNewCommand() {
143
130
  openPr,
144
131
  ...(parentId !== undefined && { parentId }),
145
132
  ...(options.pending && { pending: true }),
146
- mode,
133
+ ...(fast && { fast: true }),
147
134
  ...(options.model !== undefined && { model: options.model }),
148
135
  ...(attachmentPaths.length > 0 && { attachmentPaths }),
149
136
  ...(options.injectSkills !== undefined && { injectSkills: options.injectSkills }),
@@ -1 +1 @@
1
- {"version":3,"file":"upgrade.command.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/cli/commands/upgrade.command.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,IAAI,YAAY,EAAqB,MAAM,oBAAoB,CAAC;AAS9E,KAAK,OAAO,GAAG,OAAO,YAAY,CAAC;AA8EnC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,OAAsB,GAAG,OAAO,CAqE7E"}
1
+ {"version":3,"file":"upgrade.command.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/cli/commands/upgrade.command.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,IAAI,YAAY,EAAqB,MAAM,oBAAoB,CAAC;AAY9E,KAAK,OAAO,GAAG,OAAO,YAAY,CAAC;AA8InC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,OAAsB,GAAG,OAAO,CA6E7E"}
@@ -8,12 +8,16 @@
8
8
  */
9
9
  import { Command } from 'commander';
10
10
  import { spawn as defaultSpawn } from 'node:child_process';
11
+ import { mkdtempSync, rmSync } from 'node:fs';
12
+ import { tmpdir } from 'node:os';
13
+ import { join } from 'node:path';
11
14
  import { container } from '../../../../packages/core/src/infrastructure/di/container.js';
12
15
  import { messages } from '../ui/index.js';
13
16
  import { getCliI18n } from '../i18n.js';
14
17
  import { stopDaemon } from './daemon/stop-daemon.js';
15
18
  import { startDaemon } from './daemon/start-daemon.js';
16
19
  const VERSION_CHECK_TIMEOUT_MS = 10_000;
20
+ const NPM_CACHE_ADD_TIMEOUT_MS = 120_000;
17
21
  /** On Windows, npm is a .cmd batch file — spawn() needs shell: true to resolve it. */
18
22
  const IS_WINDOWS = process.platform === 'win32';
19
23
  /**
@@ -61,13 +65,67 @@ function getLatestVersion(spawnFn) {
61
65
  });
62
66
  });
63
67
  }
68
+ /**
69
+ * Pre-download the package AND all transitive dependencies into npm's cache.
70
+ * Uses `npm install --prefix <tmpdir>` which resolves the full dependency tree
71
+ * and populates the cache. The temp directory is cleaned up afterwards.
72
+ * Returns true if the pre-download succeeded, false otherwise (fail-open).
73
+ */
74
+ function preDownloadPackage(spawnFn) {
75
+ let tmpDir;
76
+ try {
77
+ tmpDir = mkdtempSync(join(tmpdir(), 'shep-upgrade-'));
78
+ }
79
+ catch {
80
+ return Promise.resolve(false);
81
+ }
82
+ const cleanup = () => {
83
+ try {
84
+ rmSync(tmpDir, { recursive: true, force: true });
85
+ }
86
+ catch {
87
+ /* best-effort */
88
+ }
89
+ };
90
+ return new Promise((resolve) => {
91
+ let settled = false;
92
+ const child = spawnFn('npm', ['install', '--prefix', tmpDir, '--ignore-scripts', '@shepai/cli@latest'], {
93
+ stdio: ['ignore', 'ignore', 'pipe'],
94
+ ...(IS_WINDOWS && { shell: true }),
95
+ });
96
+ const timeout = setTimeout(() => {
97
+ if (!settled) {
98
+ settled = true;
99
+ child.kill();
100
+ cleanup();
101
+ resolve(false);
102
+ }
103
+ }, NPM_CACHE_ADD_TIMEOUT_MS);
104
+ child.on('close', (code) => {
105
+ if (!settled) {
106
+ settled = true;
107
+ clearTimeout(timeout);
108
+ cleanup();
109
+ resolve(code === 0);
110
+ }
111
+ });
112
+ child.on('error', () => {
113
+ if (!settled) {
114
+ settled = true;
115
+ clearTimeout(timeout);
116
+ cleanup();
117
+ resolve(false);
118
+ }
119
+ });
120
+ });
121
+ }
64
122
  /**
65
123
  * Run npm i -g @shepai/cli@latest with inherited stdio.
66
124
  * Returns the exit code, or rejects on spawn error.
67
125
  */
68
126
  function runNpmInstall(spawnFn) {
69
127
  return new Promise((resolve, reject) => {
70
- const child = spawnFn('npm', ['i', '-g', '@shepai/cli@latest'], {
128
+ const child = spawnFn('npm', ['i', '-g', '@shepai/cli@latest', '--prefer-offline'], {
71
129
  stdio: 'inherit',
72
130
  ...(IS_WINDOWS && { shell: true }),
73
131
  });
@@ -107,7 +165,14 @@ export function createUpgradeCommand(spawnFn = defaultSpawn) {
107
165
  else {
108
166
  messages.info(t('cli:commands.upgrade.upgradingToLatest', { current: currentVersion }));
109
167
  }
110
- // 4. Check daemon state before install (FR-1)
168
+ // 4. Pre-download the package into npm cache BEFORE stopping the daemon.
169
+ // This minimizes downtime — the actual install will read from cache.
170
+ messages.info(t('cli:commands.upgrade.downloadingPackage'));
171
+ const cached = await preDownloadPackage(spawnFn);
172
+ if (!cached) {
173
+ messages.warning(t('cli:commands.upgrade.downloadFailed'));
174
+ }
175
+ // 5. Check daemon state and stop if running
111
176
  const daemonService = container.resolve('IDaemonService');
112
177
  const daemonState = await daemonService.read();
113
178
  const daemonWasRunning = daemonState !== null && daemonService.isAlive(daemonState.pid);
@@ -116,7 +181,7 @@ export function createUpgradeCommand(spawnFn = defaultSpawn) {
116
181
  messages.info(t('cli:commands.upgrade.stoppingDaemon'));
117
182
  await stopDaemon(daemonService);
118
183
  }
119
- // 5. Run npm i -g @shepai/cli@latest; always restore daemon in finally (FR-2, FR-3)
184
+ // 6. Run npm i -g @shepai/cli@latest; always restore daemon in finally
120
185
  let installExitCode = 1;
121
186
  try {
122
187
  installExitCode = await runNpmInstall(spawnFn);
@@ -1 +1 @@
1
- {"version":3,"file":"agent-select.prompt.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/prompts/agent-select.prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAIzD;;;;;GAKG;AACH,wBAAgB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;EA2CtC"}
1
+ {"version":3,"file":"agent-select.prompt.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/tui/prompts/agent-select.prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAIzD;;;;;GAKG;AACH,wBAAgB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;EAgDtC"}
@@ -33,6 +33,11 @@ export function createAgentSelectConfig() {
33
33
  value: AgentType.CodexCli,
34
34
  description: t('tui:prompts.selectAgent.choices.codexCli.description'),
35
35
  },
36
+ {
37
+ name: t('tui:prompts.selectAgent.choices.copilotCli.name'),
38
+ value: AgentType.CopilotCli,
39
+ description: t('tui:prompts.selectAgent.choices.copilotCli.description'),
40
+ },
36
41
  {
37
42
  name: t('tui:prompts.selectAgent.choices.cursor.name'),
38
43
  value: AgentType.Cursor,
@@ -1 +1 @@
1
- {"version":3,"file":"check-agent-auth.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/check-agent-auth.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,SAAS,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,aAAa,EAAE,OAAO,CAAC;IACvB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0FAA0F;IAC1F,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,wDAAwD;IACxD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AA6FD;;;GAGG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,eAAe,CAAC,CAwF/D"}
1
+ {"version":3,"file":"check-agent-auth.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/check-agent-auth.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,SAAS,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,aAAa,EAAE,OAAO,CAAC;IACvB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0FAA0F;IAC1F,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,wDAAwD;IACxD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AA6GD;;;GAGG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,eAAe,CAAC,CAwF/D"}
@@ -11,6 +11,7 @@ const AGENT_LABELS = {
11
11
  cursor: 'Cursor Agent',
12
12
  'gemini-cli': 'Gemini CLI',
13
13
  aider: 'Aider',
14
+ copilot: 'Copilot CLI',
14
15
  continue: 'Continue',
15
16
  dev: 'Demo',
16
17
  };
@@ -18,11 +19,13 @@ const AGENT_TOOL_MAP = {
18
19
  'claude-code': 'claude-code',
19
20
  cursor: 'cursor-cli',
20
21
  'gemini-cli': 'gemini-cli',
22
+ copilot: 'copilot-cli',
21
23
  };
22
24
  const AGENT_BINARY_MAP = {
23
25
  'claude-code': 'claude',
24
26
  cursor: 'cursor-agent',
25
27
  'gemini-cli': 'gemini',
28
+ copilot: 'copilot',
26
29
  };
27
30
  /**
28
31
  * Tier 1: Instant credential/env check (~5ms, no subprocess).
@@ -60,6 +63,17 @@ function tier1AuthCheck(agentType) {
60
63
  const accountsPath = join(home, '.gemini', 'google_accounts.json');
61
64
  return existsSync(accountsPath);
62
65
  }
66
+ case 'copilot-cli': {
67
+ if (process.env['GITHUB_TOKEN'])
68
+ return true;
69
+ if (process.env['GH_TOKEN'])
70
+ return true;
71
+ if (process.env['GITHUB_AUTH_TOKEN'])
72
+ return true;
73
+ // GitHub CLI stores creds after `gh auth login` — check common locations
74
+ const ghDir = IS_WINDOWS ? join(home, '.copilot') : join(home, '.config', 'gh');
75
+ return existsSync(ghDir);
76
+ }
63
77
  default:
64
78
  // dev, aider, continue — assume no auth needed
65
79
  return true;
@@ -82,6 +96,10 @@ function tier2AuthVerify(agentType, binaryName) {
82
96
  cmd = binaryName;
83
97
  args = ['status'];
84
98
  break;
99
+ case 'copilot-cli':
100
+ cmd = 'gh';
101
+ args = ['auth', 'status'];
102
+ break;
85
103
  default:
86
104
  // No tier 2 command available — trust tier 1
87
105
  resolve(true);
@@ -1,5 +1,4 @@
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';
3
2
  interface Attachment {
4
3
  path: string;
5
4
  name: string;
@@ -18,8 +17,8 @@ interface CreateFeatureInput {
18
17
  push?: boolean;
19
18
  openPr?: boolean;
20
19
  parentId?: string;
21
- /** Execution mode: Regular (full SDLC), Fast (direct implementation), or Exploration (iterative prototyping). */
22
- mode?: FeatureMode;
20
+ /** When true, skip SDLC phases and implement directly from the prompt. */
21
+ fast?: boolean;
23
22
  /** When true, create the feature in pending state (no agent spawned). */
24
23
  pending?: boolean;
25
24
  /** 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;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"}
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;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, mode, pending, forkAndPr, commitSpecs, ciWatchEnabled, enableEvidence, commitEvidence, agentType, model, rebaseBeforeBranch, injectSkills, } = input;
5
+ const { description, repositoryPath, attachments, sessionId, approvalGates, push, openPr, parentId, fast, 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
- ...(mode ? { mode } : {}),
29
+ ...(fast ? { fast } : {}),
30
30
  ...(pending ? { pending } : {}),
31
31
  ...(forkAndPr != null ? { forkAndPr } : {}),
32
32
  ...(commitSpecs != null ? { commitSpecs } : {}),
@@ -48,7 +48,7 @@ export async function createFeature(input) {
48
48
  push: push ?? false,
49
49
  openPr: openPr ?? false,
50
50
  ...(parentId ? { parentId } : {}),
51
- ...(mode ? { mode } : {}),
51
+ ...(fast ? { fast } : {}),
52
52
  ...(pending ? { pending } : {}),
53
53
  ...(forkAndPr != null ? { forkAndPr } : {}),
54
54
  ...(commitSpecs != null ? { commitSpecs } : {}),
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-agent-models.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/get-all-agent-models.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAmBD,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC,CA+BpE"}
1
+ {"version":3,"file":"get-all-agent-models.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/get-all-agent-models.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAqBD,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC,CA+BpE"}
@@ -4,6 +4,7 @@ import { getModelMeta } from '../../lib/model-metadata.js';
4
4
  const AGENT_LABELS = {
5
5
  'claude-code': 'Claude Code',
6
6
  'codex-cli': 'Codex CLI',
7
+ 'copilot-cli': 'Copilot CLI',
7
8
  cursor: 'Cursor CLI',
8
9
  'gemini-cli': 'Gemini CLI',
9
10
  dev: 'Demo',
@@ -12,8 +13,9 @@ const AGENT_LABELS = {
12
13
  const AGENT_ORDER = {
13
14
  'claude-code': 0,
14
15
  'codex-cli': 1,
15
- cursor: 2,
16
- 'gemini-cli': 3,
16
+ 'copilot-cli': 2,
17
+ cursor: 3,
18
+ 'gemini-cli': 4,
17
19
  dev: 99,
18
20
  };
19
21
  export async function getAllAgentModels() {
@@ -1,4 +1,3 @@
1
- import { FeatureMode } from '../../../../../packages/core/src/domain/generated/output.js';
2
1
  export interface WorkflowDefaults {
3
2
  approvalGates: {
4
3
  allowPrd: boolean;
@@ -10,7 +9,7 @@ export interface WorkflowDefaults {
10
9
  ciWatchEnabled: boolean;
11
10
  enableEvidence: boolean;
12
11
  commitEvidence: boolean;
13
- defaultMode: FeatureMode;
12
+ fast: boolean;
14
13
  injectSkills: boolean;
15
14
  }
16
15
  export declare function getWorkflowDefaults(): Promise<WorkflowDefaults>;
@@ -1 +1 @@
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;IACzB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAkBrE"}
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;IACd,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAkBrE"}
@@ -1,6 +1,5 @@
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';
4
3
  export async function getWorkflowDefaults() {
5
4
  const settings = getSettings();
6
5
  const { workflow } = settings;
@@ -15,7 +14,7 @@ export async function getWorkflowDefaults() {
15
14
  ciWatchEnabled: workflow.ciWatchEnabled,
16
15
  enableEvidence: workflow.enableEvidence,
17
16
  commitEvidence: workflow.commitEvidence,
18
- defaultMode: workflow.defaultMode ?? FeatureMode.Fast,
17
+ fast: workflow.defaultFastMode,
19
18
  injectSkills: workflow.skillInjection?.enabled ?? false,
20
19
  };
21
20
  }
@@ -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;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"}
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"}
@@ -35,7 +35,6 @@ const LIFECYCLE_TO_NODE = {
35
35
  [SdlcLifecycle.Maintain]: 'maintain',
36
36
  [SdlcLifecycle.Blocked]: 'blocked',
37
37
  [SdlcLifecycle.Pending]: 'pending',
38
- [SdlcLifecycle.Exploring]: 'exploring',
39
38
  [SdlcLifecycle.Deleting]: 'blocked',
40
39
  [SdlcLifecycle.AwaitingUpstream]: 'merge',
41
40
  [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,CA0DjB"}
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, FeatureMode } from '../../../../packages/core/src/domain/generated/output.js';
1
+ import { AgentRunStatus } 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,9 +24,7 @@ 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.mode === FeatureMode.Fast && { fastMode: true }),
28
- mode: feature.mode,
29
- ...(feature.iterationCount > 0 && { iterationCount: feature.iterationCount }),
27
+ ...(feature.fast && { fastMode: true }),
30
28
  approvalGates: feature.approvalGates,
31
29
  push: feature.push,
32
30
  openPr: feature.openPr,
@@ -1,4 +1,4 @@
1
- import { AgentRunStatus, FeatureMode } from '../../../../packages/core/src/domain/generated/output.js';
1
+ import { AgentRunStatus } 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,9 +114,7 @@ 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.mode === FeatureMode.Fast && { fastMode: true }),
118
- mode: feature.mode,
119
- ...(feature.iterationCount > 0 && { iterationCount: feature.iterationCount }),
117
+ ...(feature.fast && { fastMode: true }),
120
118
  approvalGates: feature.approvalGates,
121
119
  push: feature.push,
122
120
  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' | 'prototype' | 'chat';
6
+ export type FeatureTabKey = 'overview' | 'activity' | 'log' | 'plan' | 'prd-review' | 'tech-decisions' | 'product-decisions' | 'merge-review' | '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,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"}
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"}
@@ -8,7 +8,6 @@ export const VALID_TAB_KEYS = new Set([
8
8
  'tech-decisions',
9
9
  'product-decisions',
10
10
  'merge-review',
11
- 'prototype',
12
11
  'chat',
13
12
  ]);
14
13
  /** Type-guard: returns the value as FeatureTabKey if valid, otherwise undefined. */
@@ -19,8 +18,6 @@ export function parseTabKey(value) {
19
18
  }
20
19
  /** Derives the initial tab from node lifecycle + state. */
21
20
  export function deriveInitialTab(node) {
22
- if (node.lifecycle === 'exploring')
23
- return 'prototype';
24
21
  if (node.lifecycle === 'requirements' && node.state === 'action-required')
25
22
  return 'prd-review';
26
23
  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":"AA2CA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAW/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,2CAi9B1B"}
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;AAW/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,2CAq4B1B"}
@@ -11,9 +11,6 @@ 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';
17
14
  import { getFeatureArtifact } from '../../../app/actions/get-feature-artifact.js';
18
15
  import { getResearchArtifact } from '../../../app/actions/get-research-artifact.js';
19
16
  import { getMergeReviewData } from '../../../app/actions/get-merge-review-data.js';
@@ -162,8 +159,6 @@ export function FeatureDrawerClient({ view: initialView, urlTab, interactiveAgen
162
159
  setIsArchiving(false);
163
160
  }
164
161
  }, [archiveResetKey]);
165
- // ── Exploration state ────────────────────────────────────────────────
166
- const [isPrototypeSubmitting, setIsPrototypeSubmitting] = useState(false);
167
162
  // ── Shared reject state ────────────────────────────────────────────────
168
163
  const [isRejecting, setIsRejecting] = useState(false);
169
164
  const isRejectingRef = useRef(false);
@@ -463,65 +458,6 @@ export function FeatureDrawerClient({ view: initialView, urlTab, interactiveAgen
463
458
  setPinnedConfigSaving(false);
464
459
  }
465
460
  }, [featureNode, lastSavedPinnedConfig]);
466
- // ── Exploration handlers ─────────────────────────────────────────────
467
- const handleSubmitFeedback = useCallback(async (feedback) => {
468
- if (!featureNode?.featureId)
469
- return;
470
- setIsPrototypeSubmitting(true);
471
- try {
472
- const result = await submitExplorationFeedback(featureNode.featureId, feedback);
473
- if (!result.submitted) {
474
- toast.error(result.error ?? 'Failed to submit feedback');
475
- return;
476
- }
477
- toast.success(`Feedback sent — generating iteration ${(result.iteration ?? 0) + 1}`);
478
- window.dispatchEvent(new CustomEvent('shep:feature-approved', {
479
- detail: { featureId: featureNode.featureId },
480
- }));
481
- }
482
- finally {
483
- setIsPrototypeSubmitting(false);
484
- }
485
- }, [featureNode]);
486
- const handlePromote = useCallback(async (targetMode) => {
487
- if (!featureNode?.featureId)
488
- return;
489
- setIsPrototypeSubmitting(true);
490
- try {
491
- const result = await promoteExploration(featureNode.featureId, targetMode);
492
- if (result.error) {
493
- toast.error(result.error);
494
- return;
495
- }
496
- toast.success(`Exploration promoted to ${targetMode === 'Fast' ? 'fast' : 'regular'} mode`);
497
- window.dispatchEvent(new CustomEvent('shep:feature-approved', {
498
- detail: { featureId: featureNode.featureId },
499
- }));
500
- }
501
- finally {
502
- setIsPrototypeSubmitting(false);
503
- }
504
- }, [featureNode]);
505
- const handleDiscardExploration = useCallback(async () => {
506
- if (!featureNode?.featureId)
507
- return;
508
- setIsPrototypeSubmitting(true);
509
- try {
510
- const result = await discardExploration(featureNode.featureId);
511
- if (!result.discarded) {
512
- toast.error(result.error ?? 'Failed to discard exploration');
513
- return;
514
- }
515
- toast.success('Exploration discarded');
516
- window.dispatchEvent(new CustomEvent('shep:feature-delete-requested', {
517
- detail: { featureId: featureNode.featureId, cleanup: true },
518
- }));
519
- router.push('/');
520
- }
521
- finally {
522
- setIsPrototypeSubmitting(false);
523
- }
524
- }, [featureNode, router]);
525
461
  // ── Hooks (always called unconditionally per Rules of Hooks) ──────────
526
462
  const featureActionsInput = featureNode?.repositoryPath && featureNode?.branch
527
463
  ? {
@@ -604,7 +540,7 @@ export function FeatureDrawerClient({ view: initialView, urlTab, interactiveAgen
604
540
  error: pinnedConfigError,
605
541
  onSave: handlePinnedConfigSave,
606
542
  }
607
- : undefined, continuationActionsDisabled: pinnedConfigSaving, onSubmitFeedback: handleSubmitFeedback, onPromote: handlePromote, onDiscardExploration: handleDiscardExploration, isPrototypeSubmitting: isPrototypeSubmitting, interactiveAgentEnabled: interactiveAgentEnabled, onRetry: handleRetry, onStop: handleStop, onStart: handleStart }));
543
+ : undefined, continuationActionsDisabled: pinnedConfigSaving, interactiveAgentEnabled: interactiveAgentEnabled, onRetry: handleRetry, onStop: handleStop, onStart: handleStart }));
608
544
  }
609
545
  return (_jsx(BaseDrawer, { open: isOpen, onClose: attemptClose, size: "lg", modal: false, "data-testid": view.type === 'feature' ? 'feature-drawer' : 'repository-drawer', children: body }));
610
546
  }
@@ -1,5 +1,4 @@
1
1
  import type { WorkflowDefaults } from '../../../app/actions/get-workflow-defaults.js';
2
- import { FeatureMode } from '../../../../../../packages/core/src/domain/generated/output.js';
3
2
  export type { FileAttachment } from '../../../../../../packages/core/src/infrastructure/services/file-dialog.service.js';
4
3
  /** Attachment record for the create form — supports both picker and upload sources. */
5
4
  export interface FormAttachment {
@@ -38,8 +37,8 @@ export interface FeatureCreatePayload {
38
37
  enableEvidence: boolean;
39
38
  commitEvidence: boolean;
40
39
  parentId?: string;
41
- /** Execution mode: Regular (full SDLC), Fast (direct implementation), or Exploration (iterative prototyping). */
42
- mode: FeatureMode;
40
+ /** When true, skip SDLC phases and implement directly from the prompt. */
41
+ fast: boolean;
43
42
  /** When true, create the feature in pending state (no agent spawned). */
44
43
  pending?: boolean;
45
44
  /** 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;AAO5E,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAKnE,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,iHAAiH;IACjH,IAAI,EAAE,WAAW,CAAC;IAClB,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,uDAAuD;IACvD,YAAY,EAAE,OAAO,CAAC;IACtB,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,2CAo/B1B;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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"}