@shepai/cli 1.122.2 → 1.123.0-pr394.d6f806a

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 (349) hide show
  1. package/dist/packages/core/src/application/ports/output/repositories/feature-repository.interface.d.ts +11 -0
  2. package/dist/packages/core/src/application/ports/output/repositories/feature-repository.interface.d.ts.map +1 -1
  3. package/dist/packages/core/src/application/ports/output/services/worktree-service.interface.d.ts +25 -0
  4. package/dist/packages/core/src/application/ports/output/services/worktree-service.interface.d.ts.map +1 -1
  5. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts +48 -0
  6. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts.map +1 -0
  7. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.js +185 -0
  8. package/dist/packages/core/src/application/use-cases/features/branch-name-utils.d.ts +33 -0
  9. package/dist/packages/core/src/application/use-cases/features/branch-name-utils.d.ts.map +1 -0
  10. package/dist/packages/core/src/application/use-cases/features/branch-name-utils.js +77 -0
  11. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  12. package/dist/packages/core/src/infrastructure/di/container.js +5 -0
  13. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts +1 -0
  14. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
  15. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +8 -0
  16. package/dist/packages/core/src/infrastructure/services/git/worktree.service.d.ts +2 -0
  17. package/dist/packages/core/src/infrastructure/services/git/worktree.service.d.ts.map +1 -1
  18. package/dist/packages/core/src/infrastructure/services/git/worktree.service.js +39 -0
  19. package/dist/src/presentation/cli/commands/feat/adopt.command.d.ts +14 -0
  20. package/dist/src/presentation/cli/commands/feat/adopt.command.d.ts.map +1 -0
  21. package/dist/src/presentation/cli/commands/feat/adopt.command.js +46 -0
  22. package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
  23. package/dist/src/presentation/cli/commands/feat/index.js +3 -1
  24. package/dist/src/presentation/web/app/(dashboard)/@drawer/adopt/page.d.ts +10 -0
  25. package/dist/src/presentation/web/app/(dashboard)/@drawer/adopt/page.d.ts.map +1 -0
  26. package/dist/src/presentation/web/app/(dashboard)/@drawer/adopt/page.js +22 -0
  27. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts +6 -0
  28. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
  29. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +60 -0
  30. package/dist/src/presentation/web/app/actions/adopt-branch.d.ts +11 -0
  31. package/dist/src/presentation/web/app/actions/adopt-branch.d.ts.map +1 -0
  32. package/dist/src/presentation/web/app/actions/adopt-branch.js +20 -0
  33. package/dist/src/presentation/web/app/actions/get-feature-phase-timings.d.ts +2 -0
  34. package/dist/src/presentation/web/app/actions/get-feature-phase-timings.d.ts.map +1 -1
  35. package/dist/src/presentation/web/app/actions/get-feature-phase-timings.js +2 -0
  36. package/dist/src/presentation/web/app/actions/list-branches.d.ts +6 -0
  37. package/dist/src/presentation/web/app/actions/list-branches.d.ts.map +1 -0
  38. package/dist/src/presentation/web/app/actions/list-branches.js +18 -0
  39. package/dist/src/presentation/web/app/build-graph-nodes.d.ts +7 -0
  40. package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
  41. package/dist/src/presentation/web/app/build-graph-nodes.js +7 -0
  42. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.d.ts +13 -0
  43. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.d.ts.map +1 -0
  44. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.js +69 -0
  45. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.stories.d.ts +35 -0
  46. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.stories.d.ts.map +1 -0
  47. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.stories.js +135 -0
  48. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-drawer-client.d.ts +5 -0
  49. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-drawer-client.d.ts.map +1 -0
  50. package/dist/src/presentation/web/components/common/control-center-drawer/adopt-drawer-client.js +69 -0
  51. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  52. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +20 -9
  53. package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.d.ts.map +1 -1
  54. package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.js +130 -31
  55. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
  56. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +13 -0
  57. package/dist/src/presentation/web/components/common/feature-drawer-tabs/use-tab-data-fetch.d.ts.map +1 -1
  58. package/dist/src/presentation/web/components/common/feature-drawer-tabs/use-tab-data-fetch.js +18 -9
  59. package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts +8 -0
  60. package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts.map +1 -1
  61. package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -1
  62. package/dist/src/presentation/web/components/common/repository-node/repository-node.js +6 -6
  63. package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.d.ts +2 -0
  64. package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.d.ts.map +1 -1
  65. package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.js +107 -17
  66. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
  67. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +18 -18
  68. package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts.map +1 -1
  69. package/dist/src/presentation/web/components/features/control-center/control-center-inner.js +31 -17
  70. package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.d.ts.map +1 -1
  71. package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.js +29 -22
  72. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +1 -1
  73. package/dist/src/presentation/web/components/layouts/app-shell/app-shell.d.ts.map +1 -1
  74. package/dist/src/presentation/web/components/layouts/app-shell/app-shell.js +14 -5
  75. package/dist/src/presentation/web/hooks/sidebar-features-context.d.ts +2 -0
  76. package/dist/src/presentation/web/hooks/sidebar-features-context.d.ts.map +1 -1
  77. package/dist/src/presentation/web/hooks/sidebar-features-context.js +2 -1
  78. package/dist/src/presentation/web/lib/layout-with-dagre.js +1 -1
  79. package/dist/tsconfig.build.tsbuildinfo +1 -1
  80. package/package.json +1 -1
  81. package/web/.next/BUILD_ID +1 -1
  82. package/web/.next/app-path-routes-manifest.json +1 -0
  83. package/web/.next/build-manifest.json +4 -4
  84. package/web/.next/fallback-build-manifest.json +2 -2
  85. package/web/.next/prerender-manifest.json +3 -3
  86. package/web/.next/required-server-files.js +3 -3
  87. package/web/.next/required-server-files.json +3 -3
  88. package/web/.next/routes-manifest.json +6 -0
  89. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/app-paths-manifest.json +3 -0
  90. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +18 -0
  91. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/next-font-manifest.json +6 -0
  92. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/react-loadable-manifest.json +1 -0
  93. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +335 -0
  94. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +20 -0
  95. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.map +5 -0
  96. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -0
  97. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +2 -0
  98. package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +2 -2
  99. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +22 -22
  100. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +2 -2
  101. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  102. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  103. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +2 -2
  104. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +28 -28
  105. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -3
  106. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  107. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  108. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +2 -2
  109. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +28 -28
  110. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -3
  111. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  112. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  113. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +2 -2
  114. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +20 -20
  115. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +2 -2
  116. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  117. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  118. package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +2 -2
  119. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +22 -22
  120. package/web/.next/server/app/(dashboard)/create/page.js +2 -2
  121. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  122. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  123. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +2 -2
  124. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +28 -28
  125. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -3
  126. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  127. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  128. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +2 -2
  129. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +28 -28
  130. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -3
  131. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  132. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  133. package/web/.next/server/app/(dashboard)/page/build-manifest.json +2 -2
  134. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +20 -20
  135. package/web/.next/server/app/(dashboard)/page.js +2 -2
  136. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  137. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  138. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +2 -2
  139. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +20 -20
  140. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +2 -2
  141. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  142. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  143. package/web/.next/server/app/_global-error/page/build-manifest.json +2 -2
  144. package/web/.next/server/app/_global-error.html +2 -2
  145. package/web/.next/server/app/_global-error.rsc +1 -1
  146. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  147. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  148. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  149. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  150. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  151. package/web/.next/server/app/_not-found/page/build-manifest.json +2 -2
  152. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
  153. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  154. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  155. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  156. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  157. package/web/.next/server/app/api/graph-data/route.js +1 -1
  158. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  159. package/web/.next/server/app/settings/page/build-manifest.json +2 -2
  160. package/web/.next/server/app/settings/page/server-reference-manifest.json +6 -6
  161. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  162. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  163. package/web/.next/server/app/skills/page/build-manifest.json +2 -2
  164. package/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
  165. package/web/.next/server/app/skills/page.js +4 -4
  166. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  167. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  168. package/web/.next/server/app/tools/page/build-manifest.json +2 -2
  169. package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
  170. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  171. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  172. package/web/.next/server/app/version/page/build-manifest.json +2 -2
  173. package/web/.next/server/app/version/page/server-reference-manifest.json +1 -1
  174. package/web/.next/server/app/version/page.js.nft.json +1 -1
  175. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  176. package/web/.next/server/app-paths-manifest.json +1 -0
  177. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  178. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  179. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  180. package/web/.next/server/chunks/[root-of-the-server]__dcd4f847._.js +3 -0
  181. package/web/.next/server/chunks/{[root-of-the-server]__42b7ab55._.js.map → [root-of-the-server]__dcd4f847._.js.map} +1 -1
  182. package/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js +1 -1
  183. package/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js +1 -1
  184. package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_94d75bc3._.js +3 -0
  185. package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_94d75bc3._.js.map +1 -0
  186. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_cfc9281c.js +3 -0
  187. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_cfc9281c.js.map +1 -0
  188. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  189. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  190. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_f30d0343.js +1 -1
  191. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_f30d0343.js.map +1 -1
  192. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_9f1775bb.js +1 -1
  193. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_9f1775bb.js.map +1 -1
  194. package/web/.next/server/chunks/ssr/[root-of-the-server]__02c84e6b._.js +3 -0
  195. package/web/.next/server/chunks/ssr/[root-of-the-server]__02c84e6b._.js.map +1 -0
  196. package/web/.next/server/chunks/ssr/[root-of-the-server]__06fef644._.js +1 -1
  197. package/web/.next/server/chunks/ssr/{[root-of-the-server]__a022445f._.js → [root-of-the-server]__14664e9b._.js} +3 -3
  198. package/web/.next/server/chunks/ssr/{[root-of-the-server]__a022445f._.js.map → [root-of-the-server]__14664e9b._.js.map} +1 -1
  199. package/web/.next/server/chunks/ssr/[root-of-the-server]__4993a47c._.js +3 -0
  200. package/web/.next/server/chunks/ssr/[root-of-the-server]__4993a47c._.js.map +1 -0
  201. package/web/.next/server/chunks/ssr/[root-of-the-server]__6677a82c._.js +3 -0
  202. package/web/.next/server/chunks/ssr/{[root-of-the-server]__b724df9e._.js.map → [root-of-the-server]__6677a82c._.js.map} +1 -1
  203. package/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js +1 -1
  204. package/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js.map +1 -1
  205. package/web/.next/server/chunks/ssr/[root-of-the-server]__6bb00d90._.js +2 -2
  206. package/web/.next/server/chunks/ssr/[root-of-the-server]__6bb00d90._.js.map +1 -1
  207. package/web/.next/server/chunks/ssr/{[root-of-the-server]__8e3bf5d7._.js → [root-of-the-server]__7cbda1ea._.js} +2 -2
  208. package/web/.next/server/chunks/ssr/[root-of-the-server]__7cbda1ea._.js.map +1 -0
  209. package/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js +1 -1
  210. package/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js.map +1 -1
  211. package/web/.next/server/chunks/ssr/[root-of-the-server]__8c553503._.js +2 -2
  212. package/web/.next/server/chunks/ssr/{[root-of-the-server]__2698e9f4._.js → [root-of-the-server]__9e8b25ad._.js} +2 -2
  213. package/web/.next/server/chunks/ssr/[root-of-the-server]__9e8b25ad._.js.map +1 -0
  214. package/web/.next/server/chunks/ssr/[root-of-the-server]__a7de2711._.js +2 -2
  215. package/web/.next/server/chunks/ssr/{[root-of-the-server]__c07f9f79._.js → [root-of-the-server]__aed1d6f8._.js} +2 -2
  216. package/web/.next/server/chunks/ssr/[root-of-the-server]__aed1d6f8._.js.map +1 -0
  217. package/web/.next/server/chunks/ssr/{[root-of-the-server]__c605a375._.js → [root-of-the-server]__ce6057f6._.js} +2 -2
  218. package/web/.next/server/chunks/ssr/[root-of-the-server]__ce6057f6._.js.map +1 -0
  219. package/web/.next/server/chunks/ssr/[root-of-the-server]__e2227c0f._.js +3 -0
  220. package/web/.next/server/chunks/ssr/[root-of-the-server]__e2227c0f._.js.map +1 -0
  221. package/web/.next/server/chunks/ssr/[root-of-the-server]__f0589cc3._.js +3 -0
  222. package/web/.next/server/chunks/ssr/[root-of-the-server]__f0589cc3._.js.map +1 -0
  223. package/web/.next/server/chunks/ssr/_037585d1._.js +3 -0
  224. package/web/.next/server/chunks/ssr/_037585d1._.js.map +1 -0
  225. package/web/.next/server/chunks/ssr/_135edb9c._.js +1 -1
  226. package/web/.next/server/chunks/ssr/_135edb9c._.js.map +1 -1
  227. package/web/.next/server/chunks/ssr/_19a2fb35._.js +3 -0
  228. package/web/.next/server/chunks/ssr/_19a2fb35._.js.map +1 -0
  229. package/web/.next/server/chunks/ssr/{_42caff2c._.js → _1ccd3ed2._.js} +2 -2
  230. package/web/.next/server/chunks/ssr/_1ccd3ed2._.js.map +1 -0
  231. package/web/.next/server/chunks/ssr/_2f6f48b8._.js +1 -1
  232. package/web/.next/server/chunks/ssr/_2f6f48b8._.js.map +1 -1
  233. package/web/.next/server/chunks/ssr/_4093a637._.js +5 -0
  234. package/web/.next/server/chunks/ssr/_4093a637._.js.map +1 -0
  235. package/web/.next/server/chunks/ssr/_583a83fb._.js +3 -0
  236. package/web/.next/server/chunks/ssr/_583a83fb._.js.map +1 -0
  237. package/web/.next/server/chunks/ssr/_9f56cf8f._.js +3 -0
  238. package/web/.next/server/chunks/ssr/_9f56cf8f._.js.map +1 -0
  239. package/web/.next/server/chunks/ssr/_a187fd7e._.js +3 -0
  240. package/web/.next/server/chunks/ssr/_a187fd7e._.js.map +1 -0
  241. package/web/.next/server/chunks/ssr/_a5aa6371._.js +9 -0
  242. package/web/.next/server/chunks/ssr/_a5aa6371._.js.map +1 -0
  243. package/web/.next/server/chunks/ssr/_a9f57758._.js +3 -0
  244. package/web/.next/server/chunks/ssr/_a9f57758._.js.map +1 -0
  245. package/web/.next/server/chunks/ssr/_c5ef4913._.js +3 -0
  246. package/web/.next/server/chunks/ssr/_c5ef4913._.js.map +1 -0
  247. package/web/.next/server/chunks/ssr/_cc77a143._.js +1 -1
  248. package/web/.next/server/chunks/ssr/_cc77a143._.js.map +1 -1
  249. package/web/.next/server/chunks/ssr/_d5206f22._.js +4 -0
  250. package/web/.next/server/chunks/ssr/_d5206f22._.js.map +1 -0
  251. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  252. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  253. package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js +3 -0
  254. package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +1 -0
  255. package/web/.next/server/chunks/ssr/node_modules__pnpm_026172d1._.js +3 -0
  256. package/web/.next/server/chunks/ssr/node_modules__pnpm_026172d1._.js.map +1 -0
  257. package/web/.next/server/chunks/ssr/src_presentation_web_31752090._.js +3 -0
  258. package/web/.next/server/chunks/ssr/src_presentation_web_31752090._.js.map +1 -0
  259. package/web/.next/server/chunks/ssr/src_presentation_web_5f039db1._.js +2 -2
  260. package/web/.next/server/chunks/ssr/src_presentation_web_5f039db1._.js.map +1 -1
  261. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_2a52b697.js +1 -1
  262. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_2a52b697.js.map +1 -1
  263. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +1 -1
  264. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -1
  265. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +1 -1
  266. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -1
  267. package/web/.next/server/chunks/ssr/src_presentation_web_c4337169._.js +2 -2
  268. package/web/.next/server/chunks/ssr/src_presentation_web_c4337169._.js.map +1 -1
  269. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  270. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  271. package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js +1 -1
  272. package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js.map +1 -1
  273. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  274. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  275. package/web/.next/server/middleware-build-manifest.js +2 -2
  276. package/web/.next/server/pages/500.html +2 -2
  277. package/web/.next/server/server-reference-manifest.js +1 -1
  278. package/web/.next/server/server-reference-manifest.json +204 -34
  279. package/web/.next/static/chunks/{0110425f3a60fc18.js → 162d3214d45d81f0.js} +2 -2
  280. package/web/.next/static/chunks/3e3e9c6552a6574f.css +1 -0
  281. package/web/.next/static/chunks/3fc60746f8f5d44e.js +1 -0
  282. package/web/.next/static/chunks/4ca82115323f59bc.js +1 -0
  283. package/web/.next/static/chunks/570fb72b30a1ca7f.js +1 -0
  284. package/web/.next/static/chunks/6295f27fe47da052.js +1 -0
  285. package/web/.next/static/chunks/8080c842b0358904.js +1 -0
  286. package/web/.next/static/chunks/{ff81a9dd7b7bc56f.js → 82cdd0b1a767e038.js} +3 -3
  287. package/web/.next/static/chunks/85d7f7a7f24068fa.js +1 -0
  288. package/web/.next/static/chunks/{ed3a602003bcb31b.js → 89aac43287d73b02.js} +1 -1
  289. package/web/.next/static/chunks/98407cd4e335253e.js +1 -0
  290. package/web/.next/static/chunks/a8ba3f3e2b0f87aa.js +1 -0
  291. package/web/.next/static/chunks/ac7251026c1e2cdf.js +1 -0
  292. package/web/.next/static/chunks/{f464a486bd88502d.js → c08dbbbe4ffc485a.js} +1 -1
  293. package/web/.next/static/chunks/d04de4be30ab78ca.js +3 -0
  294. package/web/.next/static/chunks/{17d618a2fb4e9a11.js → d4b4168a34e9814a.js} +1 -1
  295. package/web/.next/static/chunks/e0e0806debb909ab.js +1 -0
  296. package/web/.next/static/chunks/ff4454254b77805c.js +2 -0
  297. package/web/.next/static/chunks/{turbopack-426d9bc2450816ba.js → turbopack-080e470ea902d0ba.js} +1 -1
  298. package/web/.next/server/chunks/[root-of-the-server]__42b7ab55._.js +0 -3
  299. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_d0119342._.js +0 -3
  300. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_d0119342._.js.map +0 -1
  301. package/web/.next/server/chunks/ssr/[root-of-the-server]__2698e9f4._.js.map +0 -1
  302. package/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js +0 -3
  303. package/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js.map +0 -1
  304. package/web/.next/server/chunks/ssr/[root-of-the-server]__545792ab._.js +0 -3
  305. package/web/.next/server/chunks/ssr/[root-of-the-server]__545792ab._.js.map +0 -1
  306. package/web/.next/server/chunks/ssr/[root-of-the-server]__8e3bf5d7._.js.map +0 -1
  307. package/web/.next/server/chunks/ssr/[root-of-the-server]__9f155c0e._.js +0 -3
  308. package/web/.next/server/chunks/ssr/[root-of-the-server]__9f155c0e._.js.map +0 -1
  309. package/web/.next/server/chunks/ssr/[root-of-the-server]__b724df9e._.js +0 -3
  310. package/web/.next/server/chunks/ssr/[root-of-the-server]__c07f9f79._.js.map +0 -1
  311. package/web/.next/server/chunks/ssr/[root-of-the-server]__c605a375._.js.map +0 -1
  312. package/web/.next/server/chunks/ssr/_0dc2cfd3._.js +0 -3
  313. package/web/.next/server/chunks/ssr/_0dc2cfd3._.js.map +0 -1
  314. package/web/.next/server/chunks/ssr/_3a4c94e3._.js +0 -3
  315. package/web/.next/server/chunks/ssr/_3a4c94e3._.js.map +0 -1
  316. package/web/.next/server/chunks/ssr/_42caff2c._.js.map +0 -1
  317. package/web/.next/server/chunks/ssr/_6d26a08f._.js +0 -3
  318. package/web/.next/server/chunks/ssr/_6d26a08f._.js.map +0 -1
  319. package/web/.next/server/chunks/ssr/_75f4ccb3._.js +0 -3
  320. package/web/.next/server/chunks/ssr/_75f4ccb3._.js.map +0 -1
  321. package/web/.next/server/chunks/ssr/_9ac70f88._.js +0 -5
  322. package/web/.next/server/chunks/ssr/_9ac70f88._.js.map +0 -1
  323. package/web/.next/server/chunks/ssr/_9b7b1c2b._.js +0 -3
  324. package/web/.next/server/chunks/ssr/_9b7b1c2b._.js.map +0 -1
  325. package/web/.next/server/chunks/ssr/_ecfef26e._.js +0 -3
  326. package/web/.next/server/chunks/ssr/_ecfef26e._.js.map +0 -1
  327. package/web/.next/server/chunks/ssr/_f1a649e3._.js +0 -9
  328. package/web/.next/server/chunks/ssr/_f1a649e3._.js.map +0 -1
  329. package/web/.next/server/chunks/ssr/node_modules__pnpm_b59e4b16._.js +0 -3
  330. package/web/.next/server/chunks/ssr/node_modules__pnpm_b59e4b16._.js.map +0 -1
  331. package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js +0 -3
  332. package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js.map +0 -1
  333. package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js +0 -3
  334. package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js.map +0 -1
  335. package/web/.next/static/chunks/0d2af96e64960ef5.css +0 -1
  336. package/web/.next/static/chunks/12f3ae6b693c8baf.js +0 -1
  337. package/web/.next/static/chunks/303a1217006489b9.js +0 -1
  338. package/web/.next/static/chunks/4562ee849ea13c3a.js +0 -1
  339. package/web/.next/static/chunks/52b56677c842e45f.js +0 -3
  340. package/web/.next/static/chunks/6339d1c357e7fea3.js +0 -2
  341. package/web/.next/static/chunks/83fed73369b40eaf.js +0 -1
  342. package/web/.next/static/chunks/845d8e58a91014e6.js +0 -1
  343. package/web/.next/static/chunks/8e5bdf9fb945ae6a.js +0 -1
  344. package/web/.next/static/chunks/96eeeb28e06de78c.js +0 -1
  345. package/web/.next/static/chunks/be0d245d0e672d44.js +0 -1
  346. package/web/.next/static/chunks/e6c0bf49bcd5d0fb.js +0 -1
  347. /package/web/.next/static/{DIjy_LTLHBNoz5RRTRhBy → qzazqUwIFQXV0QO3pUuYV}/_buildManifest.js +0 -0
  348. /package/web/.next/static/{DIjy_LTLHBNoz5RRTRhBy → qzazqUwIFQXV0QO3pUuYV}/_clientMiddlewareManifest.json +0 -0
  349. /package/web/.next/static/{DIjy_LTLHBNoz5RRTRhBy → qzazqUwIFQXV0QO3pUuYV}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../node_modules/.pnpm/%40radix-ui%2Breact-popover%401.1.15_%40types%2Breact-dom%4019.2.3_%40types%2Breact%4019.2.10__%40types%2Brea_6845413866e39bfed03c608b19c71ed1/node_modules/%40radix-ui/react-popover/dist/index.mjs","../../../../../../../src/presentation/web/components/ui/popover.tsx","../../../../../../../src/presentation/web/app/actions/data%3Aebf7a9%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3Ae6b478%20%3Ctext/javascript%3E","../../../../../../../node_modules/.pnpm/%40radix-ui%2Breact-switch%401.2.6_%40types%2Breact-dom%4019.2.3_%40types%2Breact%4019.2.10__%40types%2Breact_82f001e3bde9922eaefd6f7b0722a9bb/node_modules/%40radix-ui/react-switch/dist/index.mjs","../../../../../../../src/presentation/web/components/ui/switch.tsx","../../../../../../../src/presentation/web/components/features/settings/AgentModelPicker/index.tsx"],"sourcesContent":["\"use client\";\n\n// src/popover.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { hideOthers } from \"aria-hidden\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { jsx } from \"react/jsx-runtime\";\nvar POPOVER_NAME = \"Popover\";\nvar [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar [PopoverProvider, usePopoverContext] = createPopoverContext(POPOVER_NAME);\nvar Popover = (props) => {\n const {\n __scopePopover,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = false\n } = props;\n const popperScope = usePopperScope(__scopePopover);\n const triggerRef = React.useRef(null);\n const [hasCustomAnchor, setHasCustomAnchor] = React.useState(false);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: POPOVER_NAME\n });\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n PopoverProvider,\n {\n scope: __scopePopover,\n contentId: useId(),\n triggerRef,\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n hasCustomAnchor,\n onCustomAnchorAdd: React.useCallback(() => setHasCustomAnchor(true), []),\n onCustomAnchorRemove: React.useCallback(() => setHasCustomAnchor(false), []),\n modal,\n children\n }\n ) });\n};\nPopover.displayName = POPOVER_NAME;\nvar ANCHOR_NAME = \"PopoverAnchor\";\nvar PopoverAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...anchorProps } = props;\n const context = usePopoverContext(ANCHOR_NAME, __scopePopover);\n const popperScope = usePopperScope(__scopePopover);\n const { onCustomAnchorAdd, onCustomAnchorRemove } = context;\n React.useEffect(() => {\n onCustomAnchorAdd();\n return () => onCustomAnchorRemove();\n }, [onCustomAnchorAdd, onCustomAnchorRemove]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });\n }\n);\nPopoverAnchor.displayName = ANCHOR_NAME;\nvar TRIGGER_NAME = \"PopoverTrigger\";\nvar PopoverTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...triggerProps } = props;\n const context = usePopoverContext(TRIGGER_NAME, __scopePopover);\n const popperScope = usePopperScope(__scopePopover);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n const trigger = /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n return context.hasCustomAnchor ? trigger : /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: trigger });\n }\n);\nPopoverTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"PopoverPortal\";\nvar [PortalProvider, usePortalContext] = createPopoverContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar PopoverPortal = (props) => {\n const { __scopePopover, forceMount, children, container } = props;\n const context = usePopoverContext(PORTAL_NAME, __scopePopover);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nPopoverPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"PopoverContent\";\nvar PopoverContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopePopover);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nPopoverContent.displayName = CONTENT_NAME;\nvar Slot = createSlot(\"PopoverContent.RemoveScroll\");\nvar PopoverContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const isRightClickOutsideRef = React.useRef(false);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx(\n PopoverContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n if (!isRightClickOutsideRef.current) context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(\n props.onPointerDownOutside,\n (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n isRightClickOutsideRef.current = isRightClick;\n },\n { checkForDefaultPrevented: false }\n ),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault(),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nvar PopoverContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n PopoverContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar PopoverContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopover,\n trapFocus,\n onOpenAutoFocus,\n onCloseAutoFocus,\n disableOutsidePointerEvents,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n ...contentProps\n } = props;\n const context = usePopoverContext(CONTENT_NAME, __scopePopover);\n const popperScope = usePopperScope(__scopePopover);\n useFocusGuards();\n return /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents,\n onInteractOutside,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onDismiss: () => context.onOpenChange(false),\n children: /* @__PURE__ */ jsx(\n PopperPrimitive.Content,\n {\n \"data-state\": getState(context.open),\n role: \"dialog\",\n id: context.contentId,\n ...popperScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n ...contentProps.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-popover-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-popover-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-popover-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-popover-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-popover-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n )\n }\n )\n }\n );\n }\n);\nvar CLOSE_NAME = \"PopoverClose\";\nvar PopoverClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...closeProps } = props;\n const context = usePopoverContext(CLOSE_NAME, __scopePopover);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nPopoverClose.displayName = CLOSE_NAME;\nvar ARROW_NAME = \"PopoverArrow\";\nvar PopoverArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopePopover);\n return /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nPopoverArrow.displayName = ARROW_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root2 = Popover;\nvar Anchor2 = PopoverAnchor;\nvar Trigger = PopoverTrigger;\nvar Portal = PopoverPortal;\nvar Content2 = PopoverContent;\nvar Close = PopoverClose;\nvar Arrow2 = PopoverArrow;\nexport {\n Anchor2 as Anchor,\n Arrow2 as Arrow,\n Close,\n Content2 as Content,\n Popover,\n PopoverAnchor,\n PopoverArrow,\n PopoverClose,\n PopoverContent,\n PopoverPortal,\n PopoverTrigger,\n Portal,\n Root2 as Root,\n Trigger,\n createPopoverScope\n};\n//# sourceMappingURL=index.mjs.map\n","'use client';\n\nimport * as React from 'react';\nimport { Popover as PopoverPrimitive } from 'radix-ui';\n\nimport { cn } from '@/lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ComponentRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border p-4 shadow-md outline-none',\n className\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n","/* __next_internal_action_entry_do_not_use__ [{\"00493945c2f111b8220c6812e260b931cb7ee331f7\":\"getAllAgentModels\"},\"src/presentation/web/app/actions/get-all-agent-models.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"00493945c2f111b8220c6812e260b931cb7ee331f7\",callServer,void 0,findSourceMapURL,\"getAllAgentModels\");export{$$RSC_SERVER_ACTION_0 as getAllAgentModels};","/* __next_internal_action_entry_do_not_use__ [{\"60fb98e7c8028399b3d6785b84fff1f6e22154d110\":\"updateAgentAndModel\"},\"src/presentation/web/app/actions/update-agent-and-model.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"60fb98e7c8028399b3d6785b84fff1f6e22154d110\",callServer,void 0,findSourceMapURL,\"updateAgentAndModel\");export{$$RSC_SERVER_ACTION_0 as updateAgentAndModel};","\"use client\";\n\n// src/switch.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar SWITCH_NAME = \"Switch\";\nvar [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\nvar [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);\nvar Switch = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeSwitch,\n name,\n checked: checkedProp,\n defaultChecked,\n required,\n disabled,\n value = \"on\",\n onCheckedChange,\n form,\n ...switchProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n const [checked, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked ?? false,\n onChange: onCheckedChange,\n caller: SWITCH_NAME\n });\n return /* @__PURE__ */ jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...switchProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n setChecked((prevChecked) => !prevChecked);\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n SwitchBubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nSwitch.displayName = SWITCH_NAME;\nvar THUMB_NAME = \"SwitchThumb\";\nvar SwitchThumb = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeSwitch, ...thumbProps } = props;\n const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...thumbProps,\n ref: forwardedRef\n }\n );\n }\n);\nSwitchThumb.displayName = THUMB_NAME;\nvar BUBBLE_INPUT_NAME = \"SwitchBubbleInput\";\nvar SwitchBubbleInput = React.forwardRef(\n ({\n __scopeSwitch,\n control,\n checked,\n bubbles = true,\n ...props\n }, forwardedRef) => {\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(ref, forwardedRef);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n \"input\",\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n }\n);\nSwitchBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\nvar Root = Switch;\nvar Thumb = SwitchThumb;\nexport {\n Root,\n Switch,\n SwitchThumb,\n Thumb,\n createSwitchScope\n};\n//# sourceMappingURL=index.mjs.map\n","'use client';\n\nimport * as React from 'react';\nimport { Switch as SwitchPrimitive } from 'radix-ui';\n\nimport { cn } from '@/lib/utils';\n\nfunction Switch({\n className,\n size = 'default',\n ...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root> & {\n size?: 'sm' | 'default';\n}) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n data-size={size}\n className={cn(\n 'peer group/switch focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6',\n className\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className={cn(\n 'bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0'\n )}\n />\n </SwitchPrimitive.Root>\n );\n}\n\nexport { Switch };\n","'use client';\n\nimport * as React from 'react';\nimport { Check, ChevronLeft, ChevronRight } from 'lucide-react';\nimport { getAllAgentModels } from '@/app/actions/get-all-agent-models';\nimport type { AgentModelGroup } from '@/app/actions/get-all-agent-models';\nimport { updateAgentAndModel } from '@/app/actions/update-agent-and-model';\nimport { getAgentTypeIcon } from '@/components/common/feature-node/agent-type-icons';\nimport { getModelMeta } from '@/lib/model-metadata';\nimport { Button } from '@/components/ui/button';\nimport { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';\nimport { cn } from '@/lib/utils';\n\nexport interface AgentModelPickerProps {\n initialAgentType: string;\n initialModel: string;\n onAgentModelChange?: (agentType: string, model: string) => void;\n disabled?: boolean;\n className?: string;\n /** 'settings' persists to DB; 'override' only calls onAgentModelChange */\n mode: 'settings' | 'override';\n}\n\nexport function AgentModelPicker({\n initialAgentType,\n initialModel,\n onAgentModelChange,\n disabled,\n className,\n mode,\n}: AgentModelPickerProps) {\n const [open, setOpen] = React.useState(false);\n const [groups, setGroups] = React.useState<AgentModelGroup[]>([]);\n const [loading, setLoading] = React.useState(true);\n const [agentType, setAgentType] = React.useState(initialAgentType);\n const [model, setModel] = React.useState(initialModel);\n const [error, setError] = React.useState<string | null>(null);\n\n // 0 = agent list visible, 1 = model list visible\n const [level, setLevel] = React.useState(0);\n // Which agent's models to show (kept separate from level for animation)\n const [drillAgent, setDrillAgent] = React.useState<string | null>(null);\n\n React.useEffect(() => {\n getAllAgentModels()\n .then(setGroups)\n .finally(() => setLoading(false));\n }, []);\n\n // Reset drill-down when popover closes\n React.useEffect(() => {\n if (!open) {\n const t = setTimeout(() => {\n setLevel(0);\n setDrillAgent(null);\n }, 150);\n return () => clearTimeout(t);\n }\n }, [open]);\n\n const drillInto = (agent: string) => {\n setDrillAgent(agent);\n requestAnimationFrame(() => {\n requestAnimationFrame(() => setLevel(1));\n });\n };\n\n const drillBack = () => {\n setLevel(0);\n setTimeout(() => setDrillAgent(null), 220);\n };\n\n const handleSelect = async (newAgentType: string, newModel: string) => {\n setOpen(false);\n\n if (newAgentType === agentType && newModel === model) return;\n\n if (mode === 'override') {\n setAgentType(newAgentType);\n setModel(newModel);\n onAgentModelChange?.(newAgentType, newModel);\n return;\n }\n\n // mode === 'settings' — optimistically update, then persist\n const prevAgent = agentType;\n const prevModel = model;\n setAgentType(newAgentType);\n setModel(newModel);\n onAgentModelChange?.(newAgentType, newModel);\n\n setError(null);\n try {\n const result = await updateAgentAndModel(newAgentType, newModel || null);\n if (!result.ok) {\n // Revert on failure\n setAgentType(prevAgent);\n setModel(prevModel);\n onAgentModelChange?.(prevAgent, prevModel);\n setError(result.error ?? 'Failed to save');\n }\n } catch {\n setAgentType(prevAgent);\n setModel(prevModel);\n onAgentModelChange?.(prevAgent, prevModel);\n setError('Failed to save');\n }\n };\n\n const isDisabled = (disabled ?? false) || loading;\n\n const AgentIcon = getAgentTypeIcon(agentType);\n const agentLabel = groups.find((g) => g.agentType === agentType)?.label ?? agentType;\n const modelName = model ? getModelMeta(model).displayName || model : null;\n\n const activeGroup = drillAgent ? groups.find((g) => g.agentType === drillAgent) : null;\n\n return (\n <div className={cn('flex flex-col gap-1', className)}>\n <Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger asChild>\n <Button\n variant=\"outline\"\n role=\"combobox\"\n aria-expanded={open}\n disabled={isDisabled}\n className=\"w-auto cursor-pointer justify-start font-normal hover:border-violet-300 hover:bg-violet-50/50 dark:hover:border-violet-700 dark:hover:bg-violet-950/30\"\n >\n <span className=\"flex items-center gap-2 truncate\">\n <AgentIcon className=\"h-4 w-4 shrink-0\" />\n {loading ? (\n 'Loading…'\n ) : (\n <span className=\"flex items-center gap-1\">\n <span className=\"text-muted-foreground text-xs\">{agentLabel}</span>\n {modelName ? (\n <>\n <span className=\"text-muted-foreground/50 text-xs\">·</span>\n <span className=\"text-xs font-medium\">{modelName}</span>\n </>\n ) : null}\n </span>\n )}\n </span>\n </Button>\n </PopoverTrigger>\n <PopoverContent\n className=\"w-(--radix-popover-trigger-width) overflow-hidden p-0\"\n align=\"start\"\n >\n {/* Sliding container — both panels side by side, translateX controlled by level */}\n <div\n className=\"flex transition-transform duration-200 ease-in-out\"\n style={{ transform: `translateX(${level === 1 ? '-50%' : '0%'})`, width: '200%' }}\n >\n {/* ── Level 1: Agent list ── */}\n <div className=\"w-1/2 shrink-0\">\n <div className=\"text-muted-foreground border-b px-3 py-2 text-xs font-medium\">\n Select agent\n </div>\n {groups.map((group) => {\n const GroupIcon = getAgentTypeIcon(group.agentType);\n const isActive = agentType === group.agentType;\n const hasModels = group.models.length > 0;\n\n return (\n <button\n key={group.agentType}\n type=\"button\"\n className={cn(\n 'flex w-full cursor-pointer items-center gap-2.5 px-3 py-2 text-xs transition-colors',\n 'hover:bg-accent hover:text-accent-foreground',\n isActive && 'bg-accent/50'\n )}\n onClick={() => {\n if (hasModels) {\n drillInto(group.agentType);\n } else {\n handleSelect(group.agentType, '');\n }\n }}\n >\n <GroupIcon className=\"h-4 w-4 shrink-0\" />\n <span className=\"flex-1 text-left\">{group.label}</span>\n {isActive && !hasModels ? (\n <Check className=\"text-primary h-3.5 w-3.5 shrink-0\" />\n ) : null}\n {hasModels ? (\n <ChevronRight className=\"text-muted-foreground h-3.5 w-3.5 shrink-0\" />\n ) : null}\n </button>\n );\n })}\n </div>\n\n {/* ── Level 2: Model list for selected agent ── */}\n <div className=\"w-1/2 shrink-0\">\n {activeGroup ? (\n <>\n {/* Back header */}\n <button\n type=\"button\"\n className=\"text-muted-foreground hover:text-foreground flex w-full cursor-pointer items-center gap-1.5 border-b px-3 py-2 text-xs font-medium transition-colors\"\n onClick={drillBack}\n >\n <ChevronLeft className=\"h-3.5 w-3.5\" />\n {activeGroup.label}\n </button>\n\n {/* Model items */}\n {activeGroup.models.map((m) => {\n const isSelected = agentType === activeGroup.agentType && model === m.id;\n return (\n <button\n key={m.id}\n type=\"button\"\n className={cn(\n 'flex w-full cursor-pointer items-center gap-3 px-3 py-2 text-left transition-colors',\n 'hover:bg-accent hover:text-accent-foreground',\n isSelected && 'bg-accent/50'\n )}\n onClick={() => handleSelect(activeGroup.agentType, m.id)}\n >\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"text-xs font-medium\">{m.displayName}</span>\n <span className=\"text-muted-foreground text-xs\">{m.description}</span>\n </div>\n {isSelected ? (\n <Check className=\"text-primary h-3.5 w-3.5 shrink-0\" />\n ) : null}\n </button>\n );\n })}\n </>\n ) : null}\n </div>\n </div>\n </PopoverContent>\n </Popover>\n {Boolean(error) && <p className=\"text-destructive text-sm\">{error}</p>}\n </div>\n );\n}\n"],"names":[],"mappings":"wDCEA,EAAA,EAAA,CAAA,CAAA,ODEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EA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E,WAAW,MAE/D,EACC,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,KAAK,CAAA,CAAC,UAAU,sCACf,OAfC,EAAE,EAAE,CAkBf,MAEA,gBAKX,CAAQ,GAAU,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAE,UAAU,oCAA4B,MAGlE","ignoreList":[0,4]}
@@ -1,5 +1,5 @@
1
- module.exports=[24860,a=>{"use strict";var b=a.i(92658),c=a.i(33244);async function d(){let{workflow:a}=(0,c.getSettings)();return{approvalGates:{allowPrd:a.approvalGateDefaults.allowPrd,allowPlan:a.approvalGateDefaults.allowPlan,allowMerge:a.approvalGateDefaults.allowMerge},push:a.approvalGateDefaults.pushOnImplementationComplete,openPr:a.openPrOnImplementationComplete,ciWatchEnabled:a.ciWatchEnabled,enableEvidence:a.enableEvidence,commitEvidence:a.commitEvidence}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"0051173379728a019d3b27749f33e6c276ec3cdc99",null),a.s(["getWorkflowDefaults",()=>d])},77605,a=>{"use strict";var b=a.i(92658),c=a.i(96380);async function d(a){let{description:b,repositoryPath:d,attachments:e,sessionId:f,approvalGates:g,push:h,openPr:i,parentId:j,fast:k,pending:l,agentType:m,model:n}=a;if(!b?.trim())return{error:"description is required"};if(!d?.trim())return{error:"repositoryPath is required"};let o=function(a,b){if(!b||0===b.length)return a;let c=b.map(a=>`@${a.path}`).join(" ");return`${a}
1
+ module.exports=[24860,a=>{"use strict";var b=a.i(92658),c=a.i(33244);async function d(){let{workflow:a}=(0,c.getSettings)();return{approvalGates:{allowPrd:a.approvalGateDefaults.allowPrd,allowPlan:a.approvalGateDefaults.allowPlan,allowMerge:a.approvalGateDefaults.allowMerge},push:a.approvalGateDefaults.pushOnImplementationComplete,openPr:a.openPrOnImplementationComplete,ciWatchEnabled:a.ciWatchEnabled,enableEvidence:a.enableEvidence,commitEvidence:a.commitEvidence}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"0053ab1c33ed26dbefd6e54384e5d7d2542ddf2e28",null),a.s(["getWorkflowDefaults",()=>d])},77605,a=>{"use strict";var b=a.i(92658),c=a.i(96380);async function d(a){let{description:b,repositoryPath:d,attachments:e,sessionId:f,approvalGates:g,push:h,openPr:i,parentId:j,fast:k,pending:l,agentType:m,model:n}=a;if(!b?.trim())return{error:"description is required"};if(!d?.trim())return{error:"repositoryPath is required"};let o=function(a,b){if(!b||0===b.length)return a;let c=b.map(a=>`@${a.path}`).join(" ");return`${a}
2
2
 
3
- ${c}`}(b,e),p={allowPrd:g?.allowPrd??!1,allowPlan:g?.allowPlan??!1,allowMerge:g?.allowMerge??!1};try{let a=(0,c.resolve)("CreateFeatureUseCase"),{feature:e,shouldSpawn:g}=await a.createRecord({userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},description:b,...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{}});return a.initializeAndSpawn(e,{userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{},...f?{sessionId:f}:{}},g).catch(a=>{console.error("[createFeature] initializeAndSpawn failed:",a)}),{feature:e}}catch(a){return{error:a instanceof Error?a.message:"Failed to create feature"}}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"40728e671c100542d9b9916d8f938e1a02210df77e",null),a.s(["createFeature",()=>d],77605)},78575,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321),h=a.i(84095),i=a.i(56799),j=a.i(80496),k=a.i(41872),l=a.i(9959),m=a.i(23504),n=a.i(27900),o=a.i(50845),p=a.i(26604),q=a.i(54723),r=a.i(18942),s=a.i(49560),t=a.i(39353),u=a.i(29207),v=a.i(24860),w=a.i(77605);a.s([],59050),a.i(59050),a.s(["0019c183a964a009481c2f1ae71dd2a784a8a09d4a",()=>m.getAllAgentModels,"0051173379728a019d3b27749f33e6c276ec3cdc99",()=>v.getWorkflowDefaults,"006b2f5bdda52a92f659970cba3af0ef37ee9d86c2",()=>k.isAgentSetupComplete,"008bad08baae15fc2848bb94b585f5f7e1b8575f0a",()=>l.checkAgentAuth,"00932226ffa97ab61dedfb23f99ffe52690039d29a",()=>b.pickFolder,"400251450cc23c28f30fcdeb3dc161e877bb8037e0",()=>g.getDeploymentStatus,"401a272f091d40f6ea1b18be07b38cead0db7e3845",()=>s.addRepository,"401a91997dc8742a1fb1aa39f1accadc24eedb69b7",()=>e.deployRepository,"403164882c63c481f1f3f4354c30cda01973a4ef83",()=>t.deleteRepository,"4039ae807006c39dc902909eab5e4e6a481c89461f",()=>h.openIde,"404a3a3ae7d1aba7f4884e373bd2d86a102675234e",()=>r.stopFeature,"404d0d05d6eafa215c664b23c2a7138f1e660d11bf",()=>i.openShell,"40728e671c100542d9b9916d8f938e1a02210df77e",()=>w.createFeature,"407d6b05d5ee599f6eea118c89feff319377f4f16a",()=>f.stopDeployment,"40aec3ecb3900d786ec06946e2c7c93e0a1a2e174b",()=>q.startFeature,"40d0d8fa506f2183eeb35416a0863d2da974e46f3b",()=>d.deployFeature,"40d693518df58465090d33e1631148e06506548583",()=>j.openFolder,"40eb88131b7442fdea0b83600f9125fc948700807c",()=>c.getDeploymentLogs,"40ef26e04638ee4c5b9a06b1a736e817d8afe44bea",()=>u.getFeatureMetadata,"40f0797463642b41115888e735c5ec77e7ace7d6ed",()=>p.resumeFeature,"601b01f0974af1903fb8981c16fa55ca6d9b08b78c",()=>n.updateAgentAndModel,"70955d17f43d816bf9bb7de56e332b73aa66549d36",()=>o.deleteFeature],78575)}];
3
+ ${c}`}(b,e),p={allowPrd:g?.allowPrd??!1,allowPlan:g?.allowPlan??!1,allowMerge:g?.allowMerge??!1};try{let a=(0,c.resolve)("CreateFeatureUseCase"),{feature:e,shouldSpawn:g}=await a.createRecord({userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},description:b,...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{}});return a.initializeAndSpawn(e,{userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{},...f?{sessionId:f}:{}},g).catch(a=>{console.error("[createFeature] initializeAndSpawn failed:",a)}),{feature:e}}catch(a){return{error:a instanceof Error?a.message:"Failed to create feature"}}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"40d964202c27b370295540ddf2276c38124feffe0e",null),a.s(["createFeature",()=>d],77605)},78575,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321),h=a.i(84095),i=a.i(56799),j=a.i(80496),k=a.i(41872),l=a.i(9959),m=a.i(23504),n=a.i(27900),o=a.i(50845),p=a.i(26604),q=a.i(54723),r=a.i(18942),s=a.i(49560),t=a.i(39353),u=a.i(29207),v=a.i(24860),w=a.i(77605);a.s([],59050),a.i(59050),a.s(["00434def2bd648cfc724c571f8049b1d33330fed3a",()=>b.pickFolder,"00493945c2f111b8220c6812e260b931cb7ee331f7",()=>m.getAllAgentModels,"0053ab1c33ed26dbefd6e54384e5d7d2542ddf2e28",()=>v.getWorkflowDefaults,"0058d6860d4e5ea68228b9d728bc0750af637d11c4",()=>l.checkAgentAuth,"00b5fa4b6eaf5a2c39282d180856b031f4d8e88219",()=>k.isAgentSetupComplete,"400b0508cb7462692e50f22eeba3823e2c2b9fb100",()=>e.deployRepository,"400e128f7c634e70b47c68fc7cecb49db80fdc48ed",()=>c.getDeploymentLogs,"405ef9b53a25bb0b8b148f9c1484734a643c2d9109",()=>u.getFeatureMetadata,"40606fd1b8a995ffb8d4bab13148dbcf230373e54e",()=>s.addRepository,"40648dcaf7759d37a778f4a33f9e3ce6820461c860",()=>r.stopFeature,"406f2503e8f2686fc14751cf01ea9c9ed69bb6789e",()=>q.startFeature,"407eb72f7e86c61369ba525157623daae37ea7de7a",()=>t.deleteRepository,"40a2d3317cbe6b6b33363165d7776b4521c02dc0f5",()=>d.deployFeature,"40a34c0eb959dd5d4ffe14876cf1d8ce1db3a8a0b0",()=>h.openIde,"40ccc3190b93f5f9be9647d667410ca14800cbef4a",()=>j.openFolder,"40d964202c27b370295540ddf2276c38124feffe0e",()=>w.createFeature,"40e4d6da524f8caad0787f4d667be21cbcb61b1ab4",()=>i.openShell,"40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11",()=>f.stopDeployment,"40f2187a5c41c2e4754e2a9e891f6c95c9ae8f8be3",()=>p.resumeFeature,"40f83079992eaf7fe590fe689c24330e0925fbb10d",()=>g.getDeploymentStatus,"60fb98e7c8028399b3d6785b84fff1f6e22154d110",()=>n.updateAgentAndModel,"701144e3d4c1187984394e22ef575f5e3d5321b0e7",()=>o.deleteFeature],78575)}];
4
4
 
5
5
  //# sourceMappingURL=src_presentation_web_5f039db1._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../src/presentation/web/app/actions/get-workflow-defaults.ts","../../../../../../../src/presentation/web/app/actions/create-feature.ts","../../../../../../../src/presentation/web/app/actions/compose-user-input.ts","../../../../../../../src/presentation/web/.next-internal/server/app/%28dashboard%29/create/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["'use server';\n\nimport { getSettings } from '@shepai/core/infrastructure/services/settings.service';\n\nexport interface WorkflowDefaults {\n approvalGates: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n };\n push: boolean;\n openPr: boolean;\n ciWatchEnabled: boolean;\n enableEvidence: boolean;\n commitEvidence: boolean;\n}\n\nexport async function getWorkflowDefaults(): Promise<WorkflowDefaults> {\n const settings = getSettings();\n const { workflow } = settings;\n\n return {\n approvalGates: {\n allowPrd: workflow.approvalGateDefaults.allowPrd,\n allowPlan: workflow.approvalGateDefaults.allowPlan,\n allowMerge: workflow.approvalGateDefaults.allowMerge,\n },\n push: workflow.approvalGateDefaults.pushOnImplementationComplete,\n openPr: workflow.openPrOnImplementationComplete,\n ciWatchEnabled: workflow.ciWatchEnabled,\n enableEvidence: workflow.enableEvidence,\n commitEvidence: workflow.commitEvidence,\n };\n}\n","'use server';\n\nimport { resolve } from '@/lib/server-container';\nimport type { CreateFeatureUseCase } from '@shepai/core/application/use-cases/features/create/create-feature.use-case';\nimport type { Feature } from '@shepai/core/domain/generated/output';\nimport { composeUserInput } from './compose-user-input';\n\ninterface Attachment {\n path: string;\n name: string;\n}\n\ninterface ApprovalGates {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n}\n\ninterface CreateFeatureInput {\n description: string;\n repositoryPath: string;\n attachments?: Attachment[];\n sessionId?: string;\n approvalGates?: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge?: boolean;\n };\n push?: boolean;\n openPr?: boolean;\n parentId?: string;\n /** When true, skip SDLC phases and implement directly from the prompt. */\n fast?: boolean;\n /** When true, create the feature in pending state (no agent spawned). */\n pending?: boolean;\n /** Optional agent type override for this feature run */\n agentType?: string;\n /** Optional model identifier for this feature run */\n model?: string;\n}\n\nexport async function createFeature(\n input: CreateFeatureInput\n): Promise<{ feature?: Feature; error?: string }> {\n const {\n description,\n repositoryPath,\n attachments,\n sessionId,\n approvalGates,\n push,\n openPr,\n parentId,\n fast,\n pending,\n agentType,\n model,\n } = input;\n\n if (!description?.trim()) {\n return { error: 'description is required' };\n }\n\n if (!repositoryPath?.trim()) {\n return { error: 'repositoryPath is required' };\n }\n\n const userInput = composeUserInput(description, attachments);\n const gates: ApprovalGates = {\n allowPrd: approvalGates?.allowPrd ?? false,\n allowPlan: approvalGates?.allowPlan ?? false,\n allowMerge: approvalGates?.allowMerge ?? false,\n };\n\n try {\n const createFeatureUseCase = resolve<CreateFeatureUseCase>('CreateFeatureUseCase');\n\n // Phase 1 (fast): create DB record with real UUID — returns immediately\n const { feature, shouldSpawn } = await createFeatureUseCase.createRecord({\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n description,\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n });\n\n // Phase 2 (background): metadata generation, worktree, spec, agent spawn\n // Fire-and-forget — the UI gets the real feature ID immediately\n createFeatureUseCase\n .initializeAndSpawn(\n feature,\n {\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n ...(sessionId ? { sessionId } : {}),\n },\n shouldSpawn\n )\n .catch((err: unknown) => {\n // eslint-disable-next-line no-console\n console.error('[createFeature] initializeAndSpawn failed:', err);\n });\n\n return { feature };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Failed to create feature';\n return { error: message };\n }\n}\n","interface Attachment {\n path: string;\n name: string;\n}\n\nexport function composeUserInput(\n description: string,\n attachments: Attachment[] | undefined\n): string {\n if (!attachments || attachments.length === 0) {\n return description;\n }\n\n const refs = attachments.map((a) => `@${a.path}`).join(' ');\n return `${description}\\n\\n${refs}`;\n}\n","export {pickFolder as '00932226ffa97ab61dedfb23f99ffe52690039d29a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '40eb88131b7442fdea0b83600f9125fc948700807c'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40d0d8fa506f2183eeb35416a0863d2da974e46f3b'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '401a91997dc8742a1fb1aa39f1accadc24eedb69b7'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '407d6b05d5ee599f6eea118c89feff319377f4f16a'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '400251450cc23c28f30fcdeb3dc161e877bb8037e0'} from 'ACTIONS_MODULE5'\nexport {openIde as '4039ae807006c39dc902909eab5e4e6a481c89461f'} from 'ACTIONS_MODULE6'\nexport {openShell as '404d0d05d6eafa215c664b23c2a7138f1e660d11bf'} from 'ACTIONS_MODULE7'\nexport {openFolder as '40d693518df58465090d33e1631148e06506548583'} from 'ACTIONS_MODULE8'\nexport {isAgentSetupComplete as '006b2f5bdda52a92f659970cba3af0ef37ee9d86c2'} from 'ACTIONS_MODULE9'\nexport {checkAgentAuth as '008bad08baae15fc2848bb94b585f5f7e1b8575f0a'} from 'ACTIONS_MODULE10'\nexport {getAllAgentModels as '0019c183a964a009481c2f1ae71dd2a784a8a09d4a'} from 'ACTIONS_MODULE11'\nexport {updateAgentAndModel as '601b01f0974af1903fb8981c16fa55ca6d9b08b78c'} from 'ACTIONS_MODULE12'\nexport {deleteFeature as '70955d17f43d816bf9bb7de56e332b73aa66549d36'} from 'ACTIONS_MODULE13'\nexport {resumeFeature as '40f0797463642b41115888e735c5ec77e7ace7d6ed'} from 'ACTIONS_MODULE14'\nexport {startFeature as '40aec3ecb3900d786ec06946e2c7c93e0a1a2e174b'} from 'ACTIONS_MODULE15'\nexport {stopFeature as '404a3a3ae7d1aba7f4884e373bd2d86a102675234e'} from 'ACTIONS_MODULE16'\nexport {addRepository as '401a272f091d40f6ea1b18be07b38cead0db7e3845'} from 'ACTIONS_MODULE17'\nexport {deleteRepository as '403164882c63c481f1f3f4354c30cda01973a4ef83'} from 'ACTIONS_MODULE18'\nexport {getFeatureMetadata as '40ef26e04638ee4c5b9a06b1a736e817d8afe44bea'} from 'ACTIONS_MODULE19'\nexport {getWorkflowDefaults as '0051173379728a019d3b27749f33e6c276ec3cdc99'} from 'ACTIONS_MODULE20'\nexport {createFeature as '40728e671c100542d9b9916d8f938e1a02210df77e'} from 'ACTIONS_MODULE21'\n"],"names":[],"mappings":"wDAEA,EAAA,EAAA,CAA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A,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"sources":["../../../../../../../src/presentation/web/app/actions/get-workflow-defaults.ts","../../../../../../../src/presentation/web/app/actions/create-feature.ts","../../../../../../../src/presentation/web/app/actions/compose-user-input.ts","../../../../../../../src/presentation/web/.next-internal/server/app/%28dashboard%29/create/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["'use server';\n\nimport { getSettings } from '@shepai/core/infrastructure/services/settings.service';\n\nexport interface WorkflowDefaults {\n approvalGates: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n };\n push: boolean;\n openPr: boolean;\n ciWatchEnabled: boolean;\n enableEvidence: boolean;\n commitEvidence: boolean;\n}\n\nexport async function getWorkflowDefaults(): Promise<WorkflowDefaults> {\n const settings = getSettings();\n const { workflow } = settings;\n\n return {\n approvalGates: {\n allowPrd: workflow.approvalGateDefaults.allowPrd,\n allowPlan: workflow.approvalGateDefaults.allowPlan,\n allowMerge: workflow.approvalGateDefaults.allowMerge,\n },\n push: workflow.approvalGateDefaults.pushOnImplementationComplete,\n openPr: workflow.openPrOnImplementationComplete,\n ciWatchEnabled: workflow.ciWatchEnabled,\n enableEvidence: workflow.enableEvidence,\n commitEvidence: workflow.commitEvidence,\n };\n}\n","'use server';\n\nimport { resolve } from '@/lib/server-container';\nimport type { CreateFeatureUseCase } from '@shepai/core/application/use-cases/features/create/create-feature.use-case';\nimport type { Feature } from '@shepai/core/domain/generated/output';\nimport { composeUserInput } from './compose-user-input';\n\ninterface Attachment {\n path: string;\n name: string;\n}\n\ninterface ApprovalGates {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n}\n\ninterface CreateFeatureInput {\n description: string;\n repositoryPath: string;\n attachments?: Attachment[];\n sessionId?: string;\n approvalGates?: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge?: boolean;\n };\n push?: boolean;\n openPr?: boolean;\n parentId?: string;\n /** When true, skip SDLC phases and implement directly from the prompt. */\n fast?: boolean;\n /** When true, create the feature in pending state (no agent spawned). */\n pending?: boolean;\n /** Optional agent type override for this feature run */\n agentType?: string;\n /** Optional model identifier for this feature run */\n model?: string;\n}\n\nexport async function createFeature(\n input: CreateFeatureInput\n): Promise<{ feature?: Feature; error?: string }> {\n const {\n description,\n repositoryPath,\n attachments,\n sessionId,\n approvalGates,\n push,\n openPr,\n parentId,\n fast,\n pending,\n agentType,\n model,\n } = input;\n\n if (!description?.trim()) {\n return { error: 'description is required' };\n }\n\n if (!repositoryPath?.trim()) {\n return { error: 'repositoryPath is required' };\n }\n\n const userInput = composeUserInput(description, attachments);\n const gates: ApprovalGates = {\n allowPrd: approvalGates?.allowPrd ?? false,\n allowPlan: approvalGates?.allowPlan ?? false,\n allowMerge: approvalGates?.allowMerge ?? false,\n };\n\n try {\n const createFeatureUseCase = resolve<CreateFeatureUseCase>('CreateFeatureUseCase');\n\n // Phase 1 (fast): create DB record with real UUID — returns immediately\n const { feature, shouldSpawn } = await createFeatureUseCase.createRecord({\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n description,\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n });\n\n // Phase 2 (background): metadata generation, worktree, spec, agent spawn\n // Fire-and-forget — the UI gets the real feature ID immediately\n createFeatureUseCase\n .initializeAndSpawn(\n feature,\n {\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n ...(sessionId ? { sessionId } : {}),\n },\n shouldSpawn\n )\n .catch((err: unknown) => {\n // eslint-disable-next-line no-console\n console.error('[createFeature] initializeAndSpawn failed:', err);\n });\n\n return { feature };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Failed to create feature';\n return { error: message };\n }\n}\n","interface Attachment {\n path: string;\n name: string;\n}\n\nexport function composeUserInput(\n description: string,\n attachments: Attachment[] | undefined\n): string {\n if (!attachments || attachments.length === 0) {\n return description;\n }\n\n const refs = attachments.map((a) => `@${a.path}`).join(' ');\n return `${description}\\n\\n${refs}`;\n}\n","export {pickFolder as '00434def2bd648cfc724c571f8049b1d33330fed3a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '400e128f7c634e70b47c68fc7cecb49db80fdc48ed'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40a2d3317cbe6b6b33363165d7776b4521c02dc0f5'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '400b0508cb7462692e50f22eeba3823e2c2b9fb100'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '40f83079992eaf7fe590fe689c24330e0925fbb10d'} from 'ACTIONS_MODULE5'\nexport {openIde as '40a34c0eb959dd5d4ffe14876cf1d8ce1db3a8a0b0'} from 'ACTIONS_MODULE6'\nexport {openShell as '40e4d6da524f8caad0787f4d667be21cbcb61b1ab4'} from 'ACTIONS_MODULE7'\nexport {openFolder as '40ccc3190b93f5f9be9647d667410ca14800cbef4a'} from 'ACTIONS_MODULE8'\nexport {isAgentSetupComplete as '00b5fa4b6eaf5a2c39282d180856b031f4d8e88219'} from 'ACTIONS_MODULE9'\nexport {checkAgentAuth as '0058d6860d4e5ea68228b9d728bc0750af637d11c4'} from 'ACTIONS_MODULE10'\nexport {getAllAgentModels as '00493945c2f111b8220c6812e260b931cb7ee331f7'} from 'ACTIONS_MODULE11'\nexport {updateAgentAndModel as '60fb98e7c8028399b3d6785b84fff1f6e22154d110'} from 'ACTIONS_MODULE12'\nexport {deleteFeature as '701144e3d4c1187984394e22ef575f5e3d5321b0e7'} from 'ACTIONS_MODULE13'\nexport {resumeFeature as '40f2187a5c41c2e4754e2a9e891f6c95c9ae8f8be3'} from 'ACTIONS_MODULE14'\nexport {startFeature as '406f2503e8f2686fc14751cf01ea9c9ed69bb6789e'} from 'ACTIONS_MODULE15'\nexport {stopFeature as '40648dcaf7759d37a778f4a33f9e3ce6820461c860'} from 'ACTIONS_MODULE16'\nexport {addRepository as '40606fd1b8a995ffb8d4bab13148dbcf230373e54e'} from 'ACTIONS_MODULE17'\nexport {deleteRepository as '407eb72f7e86c61369ba525157623daae37ea7de7a'} from 'ACTIONS_MODULE18'\nexport {getFeatureMetadata as '405ef9b53a25bb0b8b148f9c1484734a643c2d9109'} from 'ACTIONS_MODULE19'\nexport {getWorkflowDefaults as '0053ab1c33ed26dbefd6e54384e5d7d2542ddf2e28'} from 'ACTIONS_MODULE20'\nexport {createFeature as '40d964202c27b370295540ddf2276c38124feffe0e'} from 'ACTIONS_MODULE21'\n"],"names":[],"mappings":"wDAEA,EAAA,EAAA,CAAA,CAAA,OAeO,eAAe,IAEpB,GAAM,UAAE,CAAQ,CAAE,CADD,CAAA,CACI,CADJ,EAAA,WAAA,AAAW,IAG5B,MAAO,CACL,cAAe,CACb,SAAU,EAAS,oBAAoB,CAAC,QAAQ,CAChD,UAAW,EAAS,oBAAoB,CAA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,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
@@ -1,3 +1,3 @@
1
- module.exports=[21755,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321),h=a.i(84095),i=a.i(56799),j=a.i(80496),k=a.i(41872),l=a.i(9959),m=a.i(23504),n=a.i(27900),o=a.i(50845),p=a.i(26604),q=a.i(54723),r=a.i(18942),s=a.i(49560),t=a.i(39353),u=a.i(29207);a.s([],69324),a.i(69324),a.s(["0019c183a964a009481c2f1ae71dd2a784a8a09d4a",()=>m.getAllAgentModels,"006b2f5bdda52a92f659970cba3af0ef37ee9d86c2",()=>k.isAgentSetupComplete,"008bad08baae15fc2848bb94b585f5f7e1b8575f0a",()=>l.checkAgentAuth,"00932226ffa97ab61dedfb23f99ffe52690039d29a",()=>b.pickFolder,"400251450cc23c28f30fcdeb3dc161e877bb8037e0",()=>g.getDeploymentStatus,"401a272f091d40f6ea1b18be07b38cead0db7e3845",()=>s.addRepository,"401a91997dc8742a1fb1aa39f1accadc24eedb69b7",()=>e.deployRepository,"403164882c63c481f1f3f4354c30cda01973a4ef83",()=>t.deleteRepository,"4039ae807006c39dc902909eab5e4e6a481c89461f",()=>h.openIde,"404a3a3ae7d1aba7f4884e373bd2d86a102675234e",()=>r.stopFeature,"404d0d05d6eafa215c664b23c2a7138f1e660d11bf",()=>i.openShell,"407d6b05d5ee599f6eea118c89feff319377f4f16a",()=>f.stopDeployment,"40aec3ecb3900d786ec06946e2c7c93e0a1a2e174b",()=>q.startFeature,"40d0d8fa506f2183eeb35416a0863d2da974e46f3b",()=>d.deployFeature,"40d693518df58465090d33e1631148e06506548583",()=>j.openFolder,"40eb88131b7442fdea0b83600f9125fc948700807c",()=>c.getDeploymentLogs,"40ef26e04638ee4c5b9a06b1a736e817d8afe44bea",()=>u.getFeatureMetadata,"40f0797463642b41115888e735c5ec77e7ace7d6ed",()=>p.resumeFeature,"601b01f0974af1903fb8981c16fa55ca6d9b08b78c",()=>n.updateAgentAndModel,"70955d17f43d816bf9bb7de56e332b73aa66549d36",()=>o.deleteFeature],21755)}];
1
+ module.exports=[21755,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321),h=a.i(84095),i=a.i(56799),j=a.i(80496),k=a.i(41872),l=a.i(9959),m=a.i(23504),n=a.i(27900),o=a.i(50845),p=a.i(26604),q=a.i(54723),r=a.i(18942),s=a.i(49560),t=a.i(39353),u=a.i(29207);a.s([],69324),a.i(69324),a.s(["00434def2bd648cfc724c571f8049b1d33330fed3a",()=>b.pickFolder,"00493945c2f111b8220c6812e260b931cb7ee331f7",()=>m.getAllAgentModels,"0058d6860d4e5ea68228b9d728bc0750af637d11c4",()=>l.checkAgentAuth,"00b5fa4b6eaf5a2c39282d180856b031f4d8e88219",()=>k.isAgentSetupComplete,"400b0508cb7462692e50f22eeba3823e2c2b9fb100",()=>e.deployRepository,"400e128f7c634e70b47c68fc7cecb49db80fdc48ed",()=>c.getDeploymentLogs,"405ef9b53a25bb0b8b148f9c1484734a643c2d9109",()=>u.getFeatureMetadata,"40606fd1b8a995ffb8d4bab13148dbcf230373e54e",()=>s.addRepository,"40648dcaf7759d37a778f4a33f9e3ce6820461c860",()=>r.stopFeature,"406f2503e8f2686fc14751cf01ea9c9ed69bb6789e",()=>q.startFeature,"407eb72f7e86c61369ba525157623daae37ea7de7a",()=>t.deleteRepository,"40a2d3317cbe6b6b33363165d7776b4521c02dc0f5",()=>d.deployFeature,"40a34c0eb959dd5d4ffe14876cf1d8ce1db3a8a0b0",()=>h.openIde,"40ccc3190b93f5f9be9647d667410ca14800cbef4a",()=>j.openFolder,"40e4d6da524f8caad0787f4d667be21cbcb61b1ab4",()=>i.openShell,"40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11",()=>f.stopDeployment,"40f2187a5c41c2e4754e2a9e891f6c95c9ae8f8be3",()=>p.resumeFeature,"40f83079992eaf7fe590fe689c24330e0925fbb10d",()=>g.getDeploymentStatus,"60fb98e7c8028399b3d6785b84fff1f6e22154d110",()=>n.updateAgentAndModel,"701144e3d4c1187984394e22ef575f5e3d5321b0e7",()=>o.deleteFeature],21755)}];
2
2
 
3
3
  //# sourceMappingURL=src_presentation_web__next-internal_server_app_%28dashboard%29_page_actions_2a52b697.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../src/presentation/web/.next-internal/server/app/%28dashboard%29/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {pickFolder as '00932226ffa97ab61dedfb23f99ffe52690039d29a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '40eb88131b7442fdea0b83600f9125fc948700807c'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40d0d8fa506f2183eeb35416a0863d2da974e46f3b'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '401a91997dc8742a1fb1aa39f1accadc24eedb69b7'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '407d6b05d5ee599f6eea118c89feff319377f4f16a'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '400251450cc23c28f30fcdeb3dc161e877bb8037e0'} from 'ACTIONS_MODULE5'\nexport {openIde as '4039ae807006c39dc902909eab5e4e6a481c89461f'} from 'ACTIONS_MODULE6'\nexport {openShell as '404d0d05d6eafa215c664b23c2a7138f1e660d11bf'} from 'ACTIONS_MODULE7'\nexport {openFolder as '40d693518df58465090d33e1631148e06506548583'} from 'ACTIONS_MODULE8'\nexport {isAgentSetupComplete as '006b2f5bdda52a92f659970cba3af0ef37ee9d86c2'} from 'ACTIONS_MODULE9'\nexport {checkAgentAuth as '008bad08baae15fc2848bb94b585f5f7e1b8575f0a'} from 'ACTIONS_MODULE10'\nexport {getAllAgentModels as '0019c183a964a009481c2f1ae71dd2a784a8a09d4a'} from 'ACTIONS_MODULE11'\nexport {updateAgentAndModel as '601b01f0974af1903fb8981c16fa55ca6d9b08b78c'} from 'ACTIONS_MODULE12'\nexport {deleteFeature as '70955d17f43d816bf9bb7de56e332b73aa66549d36'} from 'ACTIONS_MODULE13'\nexport {resumeFeature as '40f0797463642b41115888e735c5ec77e7ace7d6ed'} from 'ACTIONS_MODULE14'\nexport {startFeature as '40aec3ecb3900d786ec06946e2c7c93e0a1a2e174b'} from 'ACTIONS_MODULE15'\nexport {stopFeature as '404a3a3ae7d1aba7f4884e373bd2d86a102675234e'} from 'ACTIONS_MODULE16'\nexport {addRepository as '401a272f091d40f6ea1b18be07b38cead0db7e3845'} from 'ACTIONS_MODULE17'\nexport {deleteRepository as '403164882c63c481f1f3f4354c30cda01973a4ef83'} from 'ACTIONS_MODULE18'\nexport {getFeatureMetadata as '40ef26e04638ee4c5b9a06b1a736e817d8afe44bea'} from 'ACTIONS_MODULE19'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"sources":["../../../../../../../src/presentation/web/.next-internal/server/app/%28dashboard%29/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {pickFolder as '00434def2bd648cfc724c571f8049b1d33330fed3a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '400e128f7c634e70b47c68fc7cecb49db80fdc48ed'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40a2d3317cbe6b6b33363165d7776b4521c02dc0f5'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '400b0508cb7462692e50f22eeba3823e2c2b9fb100'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '40f83079992eaf7fe590fe689c24330e0925fbb10d'} from 'ACTIONS_MODULE5'\nexport {openIde as '40a34c0eb959dd5d4ffe14876cf1d8ce1db3a8a0b0'} from 'ACTIONS_MODULE6'\nexport {openShell as '40e4d6da524f8caad0787f4d667be21cbcb61b1ab4'} from 'ACTIONS_MODULE7'\nexport {openFolder as '40ccc3190b93f5f9be9647d667410ca14800cbef4a'} from 'ACTIONS_MODULE8'\nexport {isAgentSetupComplete as '00b5fa4b6eaf5a2c39282d180856b031f4d8e88219'} from 'ACTIONS_MODULE9'\nexport {checkAgentAuth as '0058d6860d4e5ea68228b9d728bc0750af637d11c4'} from 'ACTIONS_MODULE10'\nexport {getAllAgentModels as '00493945c2f111b8220c6812e260b931cb7ee331f7'} from 'ACTIONS_MODULE11'\nexport {updateAgentAndModel as '60fb98e7c8028399b3d6785b84fff1f6e22154d110'} from 'ACTIONS_MODULE12'\nexport {deleteFeature as '701144e3d4c1187984394e22ef575f5e3d5321b0e7'} from 'ACTIONS_MODULE13'\nexport {resumeFeature as '40f2187a5c41c2e4754e2a9e891f6c95c9ae8f8be3'} from 'ACTIONS_MODULE14'\nexport {startFeature as '406f2503e8f2686fc14751cf01ea9c9ed69bb6789e'} from 'ACTIONS_MODULE15'\nexport {stopFeature as '40648dcaf7759d37a778f4a33f9e3ce6820461c860'} from 'ACTIONS_MODULE16'\nexport {addRepository as '40606fd1b8a995ffb8d4bab13148dbcf230373e54e'} from 'ACTIONS_MODULE17'\nexport {deleteRepository as '407eb72f7e86c61369ba525157623daae37ea7de7a'} from 'ACTIONS_MODULE18'\nexport {getFeatureMetadata as '405ef9b53a25bb0b8b148f9c1484734a643c2d9109'} from 'ACTIONS_MODULE19'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
@@ -1,3 +1,3 @@
1
- module.exports=[87596,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321);a.s([],78455),a.i(78455),a.s(["00932226ffa97ab61dedfb23f99ffe52690039d29a",()=>b.pickFolder,"400251450cc23c28f30fcdeb3dc161e877bb8037e0",()=>g.getDeploymentStatus,"401a91997dc8742a1fb1aa39f1accadc24eedb69b7",()=>e.deployRepository,"407d6b05d5ee599f6eea118c89feff319377f4f16a",()=>f.stopDeployment,"40d0d8fa506f2183eeb35416a0863d2da974e46f3b",()=>d.deployFeature,"40eb88131b7442fdea0b83600f9125fc948700807c",()=>c.getDeploymentLogs],87596)}];
1
+ module.exports=[87596,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321);a.s([],78455),a.i(78455),a.s(["00434def2bd648cfc724c571f8049b1d33330fed3a",()=>b.pickFolder,"400b0508cb7462692e50f22eeba3823e2c2b9fb100",()=>e.deployRepository,"400e128f7c634e70b47c68fc7cecb49db80fdc48ed",()=>c.getDeploymentLogs,"40a2d3317cbe6b6b33363165d7776b4521c02dc0f5",()=>d.deployFeature,"40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11",()=>f.stopDeployment,"40f83079992eaf7fe590fe689c24330e0925fbb10d",()=>g.getDeploymentStatus],87596)}];
2
2
 
3
3
  //# sourceMappingURL=src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../src/presentation/web/.next-internal/server/app/skills/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {pickFolder as '00932226ffa97ab61dedfb23f99ffe52690039d29a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '40eb88131b7442fdea0b83600f9125fc948700807c'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40d0d8fa506f2183eeb35416a0863d2da974e46f3b'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '401a91997dc8742a1fb1aa39f1accadc24eedb69b7'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '407d6b05d5ee599f6eea118c89feff319377f4f16a'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '400251450cc23c28f30fcdeb3dc161e877bb8037e0'} from 'ACTIONS_MODULE5'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"sources":["../../../../../../../src/presentation/web/.next-internal/server/app/skills/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {pickFolder as '00434def2bd648cfc724c571f8049b1d33330fed3a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '400e128f7c634e70b47c68fc7cecb49db80fdc48ed'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40a2d3317cbe6b6b33363165d7776b4521c02dc0f5'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '400b0508cb7462692e50f22eeba3823e2c2b9fb100'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '40f83079992eaf7fe590fe689c24330e0925fbb10d'} from 'ACTIONS_MODULE5'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
@@ -1,3 +1,3 @@
1
- module.exports=[90322,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321);a.s([],9775),a.i(9775),a.s(["00932226ffa97ab61dedfb23f99ffe52690039d29a",()=>b.pickFolder,"400251450cc23c28f30fcdeb3dc161e877bb8037e0",()=>g.getDeploymentStatus,"401a91997dc8742a1fb1aa39f1accadc24eedb69b7",()=>e.deployRepository,"407d6b05d5ee599f6eea118c89feff319377f4f16a",()=>f.stopDeployment,"40d0d8fa506f2183eeb35416a0863d2da974e46f3b",()=>d.deployFeature,"40eb88131b7442fdea0b83600f9125fc948700807c",()=>c.getDeploymentLogs],90322)}];
1
+ module.exports=[90322,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321);a.s([],9775),a.i(9775),a.s(["00434def2bd648cfc724c571f8049b1d33330fed3a",()=>b.pickFolder,"400b0508cb7462692e50f22eeba3823e2c2b9fb100",()=>e.deployRepository,"400e128f7c634e70b47c68fc7cecb49db80fdc48ed",()=>c.getDeploymentLogs,"40a2d3317cbe6b6b33363165d7776b4521c02dc0f5",()=>d.deployFeature,"40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11",()=>f.stopDeployment,"40f83079992eaf7fe590fe689c24330e0925fbb10d",()=>g.getDeploymentStatus],90322)}];
2
2
 
3
3
  //# sourceMappingURL=src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../src/presentation/web/.next-internal/server/app/tools/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {pickFolder as '00932226ffa97ab61dedfb23f99ffe52690039d29a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '40eb88131b7442fdea0b83600f9125fc948700807c'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40d0d8fa506f2183eeb35416a0863d2da974e46f3b'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '401a91997dc8742a1fb1aa39f1accadc24eedb69b7'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '407d6b05d5ee599f6eea118c89feff319377f4f16a'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '400251450cc23c28f30fcdeb3dc161e877bb8037e0'} from 'ACTIONS_MODULE5'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"sources":["../../../../../../../src/presentation/web/.next-internal/server/app/tools/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {pickFolder as '00434def2bd648cfc724c571f8049b1d33330fed3a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '400e128f7c634e70b47c68fc7cecb49db80fdc48ed'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40a2d3317cbe6b6b33363165d7776b4521c02dc0f5'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '400b0508cb7462692e50f22eeba3823e2c2b9fb100'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '40f83079992eaf7fe590fe689c24330e0925fbb10d'} from 'ACTIONS_MODULE5'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- module.exports=[24860,a=>{"use strict";var b=a.i(92658),c=a.i(33244);async function d(){let{workflow:a}=(0,c.getSettings)();return{approvalGates:{allowPrd:a.approvalGateDefaults.allowPrd,allowPlan:a.approvalGateDefaults.allowPlan,allowMerge:a.approvalGateDefaults.allowMerge},push:a.approvalGateDefaults.pushOnImplementationComplete,openPr:a.openPrOnImplementationComplete,ciWatchEnabled:a.ciWatchEnabled,enableEvidence:a.enableEvidence,commitEvidence:a.commitEvidence}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"0051173379728a019d3b27749f33e6c276ec3cdc99",null),a.s(["getWorkflowDefaults",()=>d])},77605,a=>{"use strict";var b=a.i(92658),c=a.i(96380);async function d(a){let{description:b,repositoryPath:d,attachments:e,sessionId:f,approvalGates:g,push:h,openPr:i,parentId:j,fast:k,pending:l,agentType:m,model:n}=a;if(!b?.trim())return{error:"description is required"};if(!d?.trim())return{error:"repositoryPath is required"};let o=function(a,b){if(!b||0===b.length)return a;let c=b.map(a=>`@${a.path}`).join(" ");return`${a}
1
+ module.exports=[24860,a=>{"use strict";var b=a.i(92658),c=a.i(33244);async function d(){let{workflow:a}=(0,c.getSettings)();return{approvalGates:{allowPrd:a.approvalGateDefaults.allowPrd,allowPlan:a.approvalGateDefaults.allowPlan,allowMerge:a.approvalGateDefaults.allowMerge},push:a.approvalGateDefaults.pushOnImplementationComplete,openPr:a.openPrOnImplementationComplete,ciWatchEnabled:a.ciWatchEnabled,enableEvidence:a.enableEvidence,commitEvidence:a.commitEvidence}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"0053ab1c33ed26dbefd6e54384e5d7d2542ddf2e28",null),a.s(["getWorkflowDefaults",()=>d])},77605,a=>{"use strict";var b=a.i(92658),c=a.i(96380);async function d(a){let{description:b,repositoryPath:d,attachments:e,sessionId:f,approvalGates:g,push:h,openPr:i,parentId:j,fast:k,pending:l,agentType:m,model:n}=a;if(!b?.trim())return{error:"description is required"};if(!d?.trim())return{error:"repositoryPath is required"};let o=function(a,b){if(!b||0===b.length)return a;let c=b.map(a=>`@${a.path}`).join(" ");return`${a}
2
2
 
3
- ${c}`}(b,e),p={allowPrd:g?.allowPrd??!1,allowPlan:g?.allowPlan??!1,allowMerge:g?.allowMerge??!1};try{let a=(0,c.resolve)("CreateFeatureUseCase"),{feature:e,shouldSpawn:g}=await a.createRecord({userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},description:b,...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{}});return a.initializeAndSpawn(e,{userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{},...f?{sessionId:f}:{}},g).catch(a=>{console.error("[createFeature] initializeAndSpawn failed:",a)}),{feature:e}}catch(a){return{error:a instanceof Error?a.message:"Failed to create feature"}}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"40728e671c100542d9b9916d8f938e1a02210df77e",null),a.s(["createFeature",()=>d],77605)},36765,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321),h=a.i(84095),i=a.i(56799),j=a.i(80496),k=a.i(41872),l=a.i(9959),m=a.i(23504),n=a.i(27900),o=a.i(50845),p=a.i(26604),q=a.i(54723),r=a.i(18942),s=a.i(49560),t=a.i(39353),u=a.i(29207),v=a.i(24860),w=a.i(77605);a.s([],21974),a.i(21974),a.s(["0019c183a964a009481c2f1ae71dd2a784a8a09d4a",()=>m.getAllAgentModels,"0051173379728a019d3b27749f33e6c276ec3cdc99",()=>v.getWorkflowDefaults,"006b2f5bdda52a92f659970cba3af0ef37ee9d86c2",()=>k.isAgentSetupComplete,"008bad08baae15fc2848bb94b585f5f7e1b8575f0a",()=>l.checkAgentAuth,"00932226ffa97ab61dedfb23f99ffe52690039d29a",()=>b.pickFolder,"400251450cc23c28f30fcdeb3dc161e877bb8037e0",()=>g.getDeploymentStatus,"401a272f091d40f6ea1b18be07b38cead0db7e3845",()=>s.addRepository,"401a91997dc8742a1fb1aa39f1accadc24eedb69b7",()=>e.deployRepository,"403164882c63c481f1f3f4354c30cda01973a4ef83",()=>t.deleteRepository,"4039ae807006c39dc902909eab5e4e6a481c89461f",()=>h.openIde,"404a3a3ae7d1aba7f4884e373bd2d86a102675234e",()=>r.stopFeature,"404d0d05d6eafa215c664b23c2a7138f1e660d11bf",()=>i.openShell,"40728e671c100542d9b9916d8f938e1a02210df77e",()=>w.createFeature,"407d6b05d5ee599f6eea118c89feff319377f4f16a",()=>f.stopDeployment,"40aec3ecb3900d786ec06946e2c7c93e0a1a2e174b",()=>q.startFeature,"40d0d8fa506f2183eeb35416a0863d2da974e46f3b",()=>d.deployFeature,"40d693518df58465090d33e1631148e06506548583",()=>j.openFolder,"40eb88131b7442fdea0b83600f9125fc948700807c",()=>c.getDeploymentLogs,"40ef26e04638ee4c5b9a06b1a736e817d8afe44bea",()=>u.getFeatureMetadata,"40f0797463642b41115888e735c5ec77e7ace7d6ed",()=>p.resumeFeature,"601b01f0974af1903fb8981c16fa55ca6d9b08b78c",()=>n.updateAgentAndModel,"70955d17f43d816bf9bb7de56e332b73aa66549d36",()=>o.deleteFeature],36765)}];
3
+ ${c}`}(b,e),p={allowPrd:g?.allowPrd??!1,allowPlan:g?.allowPlan??!1,allowMerge:g?.allowMerge??!1};try{let a=(0,c.resolve)("CreateFeatureUseCase"),{feature:e,shouldSpawn:g}=await a.createRecord({userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},description:b,...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{}});return a.initializeAndSpawn(e,{userInput:o,repositoryPath:d,approvalGates:p,push:h??!1,openPr:i??!1,...j?{parentId:j}:{},...k?{fast:k}:{},...l?{pending:l}:{},...m?{agentType:m}:{},...n?{model:n}:{},...f?{sessionId:f}:{}},g).catch(a=>{console.error("[createFeature] initializeAndSpawn failed:",a)}),{feature:e}}catch(a){return{error:a instanceof Error?a.message:"Failed to create feature"}}}(0,a.i(12581).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"40d964202c27b370295540ddf2276c38124feffe0e",null),a.s(["createFeature",()=>d],77605)},36765,a=>{"use strict";var b=a.i(12513),c=a.i(94691),d=a.i(33841),e=a.i(46646),f=a.i(68670),g=a.i(85321),h=a.i(84095),i=a.i(56799),j=a.i(80496),k=a.i(41872),l=a.i(9959),m=a.i(23504),n=a.i(27900),o=a.i(50845),p=a.i(26604),q=a.i(54723),r=a.i(18942),s=a.i(49560),t=a.i(39353),u=a.i(29207),v=a.i(24860),w=a.i(77605);a.s([],21974),a.i(21974),a.s(["00434def2bd648cfc724c571f8049b1d33330fed3a",()=>b.pickFolder,"00493945c2f111b8220c6812e260b931cb7ee331f7",()=>m.getAllAgentModels,"0053ab1c33ed26dbefd6e54384e5d7d2542ddf2e28",()=>v.getWorkflowDefaults,"0058d6860d4e5ea68228b9d728bc0750af637d11c4",()=>l.checkAgentAuth,"00b5fa4b6eaf5a2c39282d180856b031f4d8e88219",()=>k.isAgentSetupComplete,"400b0508cb7462692e50f22eeba3823e2c2b9fb100",()=>e.deployRepository,"400e128f7c634e70b47c68fc7cecb49db80fdc48ed",()=>c.getDeploymentLogs,"405ef9b53a25bb0b8b148f9c1484734a643c2d9109",()=>u.getFeatureMetadata,"40606fd1b8a995ffb8d4bab13148dbcf230373e54e",()=>s.addRepository,"40648dcaf7759d37a778f4a33f9e3ce6820461c860",()=>r.stopFeature,"406f2503e8f2686fc14751cf01ea9c9ed69bb6789e",()=>q.startFeature,"407eb72f7e86c61369ba525157623daae37ea7de7a",()=>t.deleteRepository,"40a2d3317cbe6b6b33363165d7776b4521c02dc0f5",()=>d.deployFeature,"40a34c0eb959dd5d4ffe14876cf1d8ce1db3a8a0b0",()=>h.openIde,"40ccc3190b93f5f9be9647d667410ca14800cbef4a",()=>j.openFolder,"40d964202c27b370295540ddf2276c38124feffe0e",()=>w.createFeature,"40e4d6da524f8caad0787f4d667be21cbcb61b1ab4",()=>i.openShell,"40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11",()=>f.stopDeployment,"40f2187a5c41c2e4754e2a9e891f6c95c9ae8f8be3",()=>p.resumeFeature,"40f83079992eaf7fe590fe689c24330e0925fbb10d",()=>g.getDeploymentStatus,"60fb98e7c8028399b3d6785b84fff1f6e22154d110",()=>n.updateAgentAndModel,"701144e3d4c1187984394e22ef575f5e3d5321b0e7",()=>o.deleteFeature],36765)}];
4
4
 
5
5
  //# sourceMappingURL=src_presentation_web_c4337169._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../src/presentation/web/app/actions/get-workflow-defaults.ts","../../../../../../../src/presentation/web/app/actions/create-feature.ts","../../../../../../../src/presentation/web/app/actions/compose-user-input.ts","../../../../../../../src/presentation/web/.next-internal/server/app/%28dashboard%29/%40drawer/create/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["'use server';\n\nimport { getSettings } from '@shepai/core/infrastructure/services/settings.service';\n\nexport interface WorkflowDefaults {\n approvalGates: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n };\n push: boolean;\n openPr: boolean;\n ciWatchEnabled: boolean;\n enableEvidence: boolean;\n commitEvidence: boolean;\n}\n\nexport async function getWorkflowDefaults(): Promise<WorkflowDefaults> {\n const settings = getSettings();\n const { workflow } = settings;\n\n return {\n approvalGates: {\n allowPrd: workflow.approvalGateDefaults.allowPrd,\n allowPlan: workflow.approvalGateDefaults.allowPlan,\n allowMerge: workflow.approvalGateDefaults.allowMerge,\n },\n push: workflow.approvalGateDefaults.pushOnImplementationComplete,\n openPr: workflow.openPrOnImplementationComplete,\n ciWatchEnabled: workflow.ciWatchEnabled,\n enableEvidence: workflow.enableEvidence,\n commitEvidence: workflow.commitEvidence,\n };\n}\n","'use server';\n\nimport { resolve } from '@/lib/server-container';\nimport type { CreateFeatureUseCase } from '@shepai/core/application/use-cases/features/create/create-feature.use-case';\nimport type { Feature } from '@shepai/core/domain/generated/output';\nimport { composeUserInput } from './compose-user-input';\n\ninterface Attachment {\n path: string;\n name: string;\n}\n\ninterface ApprovalGates {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n}\n\ninterface CreateFeatureInput {\n description: string;\n repositoryPath: string;\n attachments?: Attachment[];\n sessionId?: string;\n approvalGates?: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge?: boolean;\n };\n push?: boolean;\n openPr?: boolean;\n parentId?: string;\n /** When true, skip SDLC phases and implement directly from the prompt. */\n fast?: boolean;\n /** When true, create the feature in pending state (no agent spawned). */\n pending?: boolean;\n /** Optional agent type override for this feature run */\n agentType?: string;\n /** Optional model identifier for this feature run */\n model?: string;\n}\n\nexport async function createFeature(\n input: CreateFeatureInput\n): Promise<{ feature?: Feature; error?: string }> {\n const {\n description,\n repositoryPath,\n attachments,\n sessionId,\n approvalGates,\n push,\n openPr,\n parentId,\n fast,\n pending,\n agentType,\n model,\n } = input;\n\n if (!description?.trim()) {\n return { error: 'description is required' };\n }\n\n if (!repositoryPath?.trim()) {\n return { error: 'repositoryPath is required' };\n }\n\n const userInput = composeUserInput(description, attachments);\n const gates: ApprovalGates = {\n allowPrd: approvalGates?.allowPrd ?? false,\n allowPlan: approvalGates?.allowPlan ?? false,\n allowMerge: approvalGates?.allowMerge ?? false,\n };\n\n try {\n const createFeatureUseCase = resolve<CreateFeatureUseCase>('CreateFeatureUseCase');\n\n // Phase 1 (fast): create DB record with real UUID — returns immediately\n const { feature, shouldSpawn } = await createFeatureUseCase.createRecord({\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n description,\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n });\n\n // Phase 2 (background): metadata generation, worktree, spec, agent spawn\n // Fire-and-forget — the UI gets the real feature ID immediately\n createFeatureUseCase\n .initializeAndSpawn(\n feature,\n {\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n ...(sessionId ? { sessionId } : {}),\n },\n shouldSpawn\n )\n .catch((err: unknown) => {\n // eslint-disable-next-line no-console\n console.error('[createFeature] initializeAndSpawn failed:', err);\n });\n\n return { feature };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Failed to create feature';\n return { error: message };\n }\n}\n","interface Attachment {\n path: string;\n name: string;\n}\n\nexport function composeUserInput(\n description: string,\n attachments: Attachment[] | undefined\n): string {\n if (!attachments || attachments.length === 0) {\n return description;\n }\n\n const refs = attachments.map((a) => `@${a.path}`).join(' ');\n return `${description}\\n\\n${refs}`;\n}\n","export {pickFolder as '00932226ffa97ab61dedfb23f99ffe52690039d29a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '40eb88131b7442fdea0b83600f9125fc948700807c'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40d0d8fa506f2183eeb35416a0863d2da974e46f3b'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '401a91997dc8742a1fb1aa39f1accadc24eedb69b7'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '407d6b05d5ee599f6eea118c89feff319377f4f16a'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '400251450cc23c28f30fcdeb3dc161e877bb8037e0'} from 'ACTIONS_MODULE5'\nexport {openIde as '4039ae807006c39dc902909eab5e4e6a481c89461f'} from 'ACTIONS_MODULE6'\nexport {openShell as '404d0d05d6eafa215c664b23c2a7138f1e660d11bf'} from 'ACTIONS_MODULE7'\nexport {openFolder as '40d693518df58465090d33e1631148e06506548583'} from 'ACTIONS_MODULE8'\nexport {isAgentSetupComplete as '006b2f5bdda52a92f659970cba3af0ef37ee9d86c2'} from 'ACTIONS_MODULE9'\nexport {checkAgentAuth as '008bad08baae15fc2848bb94b585f5f7e1b8575f0a'} from 'ACTIONS_MODULE10'\nexport {getAllAgentModels as '0019c183a964a009481c2f1ae71dd2a784a8a09d4a'} from 'ACTIONS_MODULE11'\nexport {updateAgentAndModel as '601b01f0974af1903fb8981c16fa55ca6d9b08b78c'} from 'ACTIONS_MODULE12'\nexport {deleteFeature as '70955d17f43d816bf9bb7de56e332b73aa66549d36'} from 'ACTIONS_MODULE13'\nexport {resumeFeature as '40f0797463642b41115888e735c5ec77e7ace7d6ed'} from 'ACTIONS_MODULE14'\nexport {startFeature as '40aec3ecb3900d786ec06946e2c7c93e0a1a2e174b'} from 'ACTIONS_MODULE15'\nexport {stopFeature as '404a3a3ae7d1aba7f4884e373bd2d86a102675234e'} from 'ACTIONS_MODULE16'\nexport {addRepository as '401a272f091d40f6ea1b18be07b38cead0db7e3845'} from 'ACTIONS_MODULE17'\nexport {deleteRepository as '403164882c63c481f1f3f4354c30cda01973a4ef83'} from 'ACTIONS_MODULE18'\nexport {getFeatureMetadata as '40ef26e04638ee4c5b9a06b1a736e817d8afe44bea'} from 'ACTIONS_MODULE19'\nexport {getWorkflowDefaults as '0051173379728a019d3b27749f33e6c276ec3cdc99'} from 'ACTIONS_MODULE20'\nexport {createFeature as '40728e671c100542d9b9916d8f938e1a02210df77e'} from 'ACTIONS_MODULE21'\n"],"names":[],"mappings":"wDAEA,EAAA,EAAA,CAAA,CAAA,OAeO,eAAe,IAEpB,GAAM,UAAE,CAAQ,CAAE,CADD,CAAA,CACI,CADJ,EAAA,WAAA,AAAW,IAG5B,MAAO,CACL,cAAe,CACb,SAAU,EAAS,oBAAoB,CAAC,QAAQ,CAChD,UAAW,EAAS,oBAAoB,CAAC,SAAS,CAClD,WAAY,EAAS,oBAAoB,CAAC,UAAU,AACtD,EACA,KAAM,EAAS,oBAAoB,CAAC,4BAA4B,CAChE,OAAQ,EAAS,8BAA8B,CAC/C,eAAgB,EAAS,cAAc,CACvC,eAAgB,EAAS,cAAc,CACvC,eAAgB,EAAS,cAAc,AACzC,CACF,0CAhBsB,IAAA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,kFCftB,EAAA,EAAA,CAAA,CAAA,OAuCO,eAAe,EACpB,CAAyB,EAEzB,GAAM,aACJ,CAAW,gBACX,CAAc,aACd,CAAW,WACX,CAAS,CACT,eAAa,MACb,CAAI,CACJ,QAAM,UACN,CAAQ,MAC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C,CACxB,GAAI,EAAU,SAAE,CAAQ,EAAI,CAAC,CAAC,CAC9B,GAAI,EAAY,WAAE,CAAU,EAAI,CAAC,CAAC,CAClC,GAAI,EAAQ,CAAE,OAAM,EAAI,CAAC,CAAC,CAC1B,GAAI,EAAY,WAAE,CAAU,EAAI,CAAC,CACnC,AADoC,EAEpC,GAED,KAAK,CAAC,AAAC,IAEN,QAAQ,KAAK,CAAC,6CAA8C,EAC9D,GAEK,SAAE,CAAQ,CACnB,CAAE,MAAO,EAAgB,CAEvB,MAAO,CAAE,MADO,CACA,YADiB,MAAQ,EAAM,OAAO,CAAG,0BACjC,CAC1B,CACF,0CAjFsB,IAAA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,iEEzCtB,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"sources":["../../../../../../../src/presentation/web/app/actions/get-workflow-defaults.ts","../../../../../../../src/presentation/web/app/actions/create-feature.ts","../../../../../../../src/presentation/web/app/actions/compose-user-input.ts","../../../../../../../src/presentation/web/.next-internal/server/app/%28dashboard%29/%40drawer/create/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["'use server';\n\nimport { getSettings } from '@shepai/core/infrastructure/services/settings.service';\n\nexport interface WorkflowDefaults {\n approvalGates: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n };\n push: boolean;\n openPr: boolean;\n ciWatchEnabled: boolean;\n enableEvidence: boolean;\n commitEvidence: boolean;\n}\n\nexport async function getWorkflowDefaults(): Promise<WorkflowDefaults> {\n const settings = getSettings();\n const { workflow } = settings;\n\n return {\n approvalGates: {\n allowPrd: workflow.approvalGateDefaults.allowPrd,\n allowPlan: workflow.approvalGateDefaults.allowPlan,\n allowMerge: workflow.approvalGateDefaults.allowMerge,\n },\n push: workflow.approvalGateDefaults.pushOnImplementationComplete,\n openPr: workflow.openPrOnImplementationComplete,\n ciWatchEnabled: workflow.ciWatchEnabled,\n enableEvidence: workflow.enableEvidence,\n commitEvidence: workflow.commitEvidence,\n };\n}\n","'use server';\n\nimport { resolve } from '@/lib/server-container';\nimport type { CreateFeatureUseCase } from '@shepai/core/application/use-cases/features/create/create-feature.use-case';\nimport type { Feature } from '@shepai/core/domain/generated/output';\nimport { composeUserInput } from './compose-user-input';\n\ninterface Attachment {\n path: string;\n name: string;\n}\n\ninterface ApprovalGates {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge: boolean;\n}\n\ninterface CreateFeatureInput {\n description: string;\n repositoryPath: string;\n attachments?: Attachment[];\n sessionId?: string;\n approvalGates?: {\n allowPrd: boolean;\n allowPlan: boolean;\n allowMerge?: boolean;\n };\n push?: boolean;\n openPr?: boolean;\n parentId?: string;\n /** When true, skip SDLC phases and implement directly from the prompt. */\n fast?: boolean;\n /** When true, create the feature in pending state (no agent spawned). */\n pending?: boolean;\n /** Optional agent type override for this feature run */\n agentType?: string;\n /** Optional model identifier for this feature run */\n model?: string;\n}\n\nexport async function createFeature(\n input: CreateFeatureInput\n): Promise<{ feature?: Feature; error?: string }> {\n const {\n description,\n repositoryPath,\n attachments,\n sessionId,\n approvalGates,\n push,\n openPr,\n parentId,\n fast,\n pending,\n agentType,\n model,\n } = input;\n\n if (!description?.trim()) {\n return { error: 'description is required' };\n }\n\n if (!repositoryPath?.trim()) {\n return { error: 'repositoryPath is required' };\n }\n\n const userInput = composeUserInput(description, attachments);\n const gates: ApprovalGates = {\n allowPrd: approvalGates?.allowPrd ?? false,\n allowPlan: approvalGates?.allowPlan ?? false,\n allowMerge: approvalGates?.allowMerge ?? false,\n };\n\n try {\n const createFeatureUseCase = resolve<CreateFeatureUseCase>('CreateFeatureUseCase');\n\n // Phase 1 (fast): create DB record with real UUID — returns immediately\n const { feature, shouldSpawn } = await createFeatureUseCase.createRecord({\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n description,\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n });\n\n // Phase 2 (background): metadata generation, worktree, spec, agent spawn\n // Fire-and-forget — the UI gets the real feature ID immediately\n createFeatureUseCase\n .initializeAndSpawn(\n feature,\n {\n userInput,\n repositoryPath,\n approvalGates: gates,\n push: push ?? false,\n openPr: openPr ?? false,\n ...(parentId ? { parentId } : {}),\n ...(fast ? { fast } : {}),\n ...(pending ? { pending } : {}),\n ...(agentType ? { agentType } : {}),\n ...(model ? { model } : {}),\n ...(sessionId ? { sessionId } : {}),\n },\n shouldSpawn\n )\n .catch((err: unknown) => {\n // eslint-disable-next-line no-console\n console.error('[createFeature] initializeAndSpawn failed:', err);\n });\n\n return { feature };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Failed to create feature';\n return { error: message };\n }\n}\n","interface Attachment {\n path: string;\n name: string;\n}\n\nexport function composeUserInput(\n description: string,\n attachments: Attachment[] | undefined\n): string {\n if (!attachments || attachments.length === 0) {\n return description;\n }\n\n const refs = attachments.map((a) => `@${a.path}`).join(' ');\n return `${description}\\n\\n${refs}`;\n}\n","export {pickFolder as '00434def2bd648cfc724c571f8049b1d33330fed3a'} from 'ACTIONS_MODULE0'\nexport {getDeploymentLogs as '400e128f7c634e70b47c68fc7cecb49db80fdc48ed'} from 'ACTIONS_MODULE1'\nexport {deployFeature as '40a2d3317cbe6b6b33363165d7776b4521c02dc0f5'} from 'ACTIONS_MODULE2'\nexport {deployRepository as '400b0508cb7462692e50f22eeba3823e2c2b9fb100'} from 'ACTIONS_MODULE3'\nexport {stopDeployment as '40ed5d2d14859a44b5503bbc4d6bad0293b8d43b11'} from 'ACTIONS_MODULE4'\nexport {getDeploymentStatus as '40f83079992eaf7fe590fe689c24330e0925fbb10d'} from 'ACTIONS_MODULE5'\nexport {openIde as '40a34c0eb959dd5d4ffe14876cf1d8ce1db3a8a0b0'} from 'ACTIONS_MODULE6'\nexport {openShell as '40e4d6da524f8caad0787f4d667be21cbcb61b1ab4'} from 'ACTIONS_MODULE7'\nexport {openFolder as '40ccc3190b93f5f9be9647d667410ca14800cbef4a'} from 'ACTIONS_MODULE8'\nexport {isAgentSetupComplete as '00b5fa4b6eaf5a2c39282d180856b031f4d8e88219'} from 'ACTIONS_MODULE9'\nexport {checkAgentAuth as '0058d6860d4e5ea68228b9d728bc0750af637d11c4'} from 'ACTIONS_MODULE10'\nexport {getAllAgentModels as '00493945c2f111b8220c6812e260b931cb7ee331f7'} from 'ACTIONS_MODULE11'\nexport {updateAgentAndModel as '60fb98e7c8028399b3d6785b84fff1f6e22154d110'} from 'ACTIONS_MODULE12'\nexport {deleteFeature as '701144e3d4c1187984394e22ef575f5e3d5321b0e7'} from 'ACTIONS_MODULE13'\nexport {resumeFeature as '40f2187a5c41c2e4754e2a9e891f6c95c9ae8f8be3'} from 'ACTIONS_MODULE14'\nexport {startFeature as '406f2503e8f2686fc14751cf01ea9c9ed69bb6789e'} from 'ACTIONS_MODULE15'\nexport {stopFeature as '40648dcaf7759d37a778f4a33f9e3ce6820461c860'} from 'ACTIONS_MODULE16'\nexport {addRepository as '40606fd1b8a995ffb8d4bab13148dbcf230373e54e'} from 'ACTIONS_MODULE17'\nexport {deleteRepository as '407eb72f7e86c61369ba525157623daae37ea7de7a'} from 'ACTIONS_MODULE18'\nexport {getFeatureMetadata as '405ef9b53a25bb0b8b148f9c1484734a643c2d9109'} from 'ACTIONS_MODULE19'\nexport {getWorkflowDefaults as '0053ab1c33ed26dbefd6e54384e5d7d2542ddf2e28'} from 'ACTIONS_MODULE20'\nexport {createFeature as '40d964202c27b370295540ddf2276c38124feffe0e'} from 'ACTIONS_MODULE21'\n"],"names":[],"mappings":"wDAEA,EAAA,EAAA,CAAA,CAAA,OAeO,eAAe,IAEpB,GAAM,UAAE,CAAQ,CAAE,CADD,CAAA,CACI,CADJ,EAAA,WAAA,AAAW,IAG5B,MAAO,CACL,cAAe,CACb,SAAU,EAAS,oBAAoB,CAAC,QAAQ,CAChD,UAAW,EAAS,oBAAoB,CAAC,SAAS,CAClD,WAAY,EAAS,oBAAoB,CAAC,UAAU,AACtD,EACA,KAAM,EAAS,oBAAoB,CAAC,4BAA4B,CAChE,OAAQ,EAAS,8BAA8B,CAC/C,eAAgB,EAAS,cAAc,CACvC,eAAgB,EAAS,cAAc,CACvC,eAAgB,EAAS,cAAc,AACzC,CACF,0CAhBsB,IAAA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,kFCftB,EAAA,EAAA,CAAA,CAAA,OAuCO,eAAe,EACpB,CAAyB,EAEzB,GAAM,aACJ,CAAW,gBACX,CAAc,aACd,CAAW,WACX,CAAS,CACT,eAAa,MACb,CAAI,CACJ,QAAM,UACN,CAAQ,MACR,CAAI,SACJ,CAAO,WACP,CAAS,CACT,OAAK,CACN,CAAG,EAEJ,GAAI,CAAC,GAAa,OAChB,CADwB,KACjB,CAAE,MAAO,yBAA0B,EAG5C,GAAI,CAAC,GAAgB,OACnB,CAD2B,KACpB,CAAE,MAAO,4BA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