@shepai/cli 1.116.3-pr372.74a25eb → 1.116.3-pr375.ea5b2a2

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 (323) hide show
  1. package/apis/json-schema/WorkflowConfig.yaml +0 -5
  2. package/dist/packages/core/src/application/ports/output/agents/agent-session-repository.interface.d.ts +0 -2
  3. package/dist/packages/core/src/application/ports/output/agents/agent-session-repository.interface.d.ts.map +1 -1
  4. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts +3 -1
  5. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -1
  6. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +4 -2
  7. package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
  8. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +0 -1
  9. package/dist/packages/core/src/domain/generated/output.d.ts +0 -4
  10. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  11. package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.d.ts.map +1 -1
  12. package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.js +0 -11
  13. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +0 -1
  14. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  15. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +0 -2
  16. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts +1 -1
  17. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +1 -1
  18. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.d.ts.map +1 -1
  19. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.js +2 -4
  20. package/dist/packages/core/src/infrastructure/services/agents/sessions/claude-code-session.repository.d.ts +0 -7
  21. package/dist/packages/core/src/infrastructure/services/agents/sessions/claude-code-session.repository.d.ts.map +1 -1
  22. package/dist/packages/core/src/infrastructure/services/agents/sessions/claude-code-session.repository.js +11 -35
  23. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.d.ts.map +1 -1
  24. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +0 -1
  25. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/page.d.ts.map +1 -1
  26. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/page.js +0 -1
  27. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
  28. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +0 -1
  29. package/dist/src/presentation/web/app/actions/approve-feature.d.ts.map +1 -1
  30. package/dist/src/presentation/web/app/actions/approve-feature.js +9 -0
  31. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +0 -1
  32. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
  33. package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +0 -1
  34. package/dist/src/presentation/web/app/actions/reject-feature.d.ts.map +1 -1
  35. package/dist/src/presentation/web/app/actions/reject-feature.js +9 -0
  36. package/dist/src/presentation/web/app/build-feature-node-data.d.ts +0 -2
  37. package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
  38. package/dist/src/presentation/web/app/build-feature-node-data.js +0 -1
  39. package/dist/src/presentation/web/app/build-graph-nodes.d.ts +0 -2
  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 +0 -11
  42. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +0 -1
  43. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  44. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +1 -8
  45. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
  46. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +0 -1
  47. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.js +1 -2
  48. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +0 -4
  49. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  50. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  51. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +1 -2
  52. package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -1
  53. package/dist/src/presentation/web/components/common/repository-node/repository-node.js +1 -2
  54. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  55. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +0 -5
  56. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +1 -1
  57. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +1 -3
  58. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +1 -1
  59. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +0 -3
  60. package/dist/tsconfig.build.tsbuildinfo +1 -1
  61. package/package.json +1 -1
  62. package/web/.next/BUILD_ID +1 -1
  63. package/web/.next/app-path-routes-manifest.json +0 -1
  64. package/web/.next/build-manifest.json +2 -2
  65. package/web/.next/fallback-build-manifest.json +2 -2
  66. package/web/.next/prerender-manifest.json +3 -3
  67. package/web/.next/required-server-files.js +1 -1
  68. package/web/.next/required-server-files.json +1 -1
  69. package/web/.next/routes-manifest.json +0 -6
  70. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +20 -20
  71. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +2 -2
  72. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  73. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  74. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +26 -26
  75. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -3
  76. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  77. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  78. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +26 -26
  79. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -3
  80. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  81. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  82. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +18 -18
  83. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +2 -2
  84. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  85. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  86. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +20 -20
  87. package/web/.next/server/app/(dashboard)/create/page.js +2 -2
  88. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  89. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  90. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +26 -26
  91. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -3
  92. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  93. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  94. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +26 -26
  95. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -3
  96. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  97. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  98. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +18 -18
  99. package/web/.next/server/app/(dashboard)/page.js +2 -2
  100. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  101. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  102. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +18 -18
  103. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +2 -2
  104. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  105. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  106. package/web/.next/server/app/_global-error.html +2 -2
  107. package/web/.next/server/app/_global-error.rsc +1 -1
  108. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  109. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  110. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  111. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  112. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  113. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
  114. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  115. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  116. package/web/.next/server/app/api/attachments/preview/route.js +1 -1
  117. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  118. package/web/.next/server/app/api/evidence/route.js +1 -1
  119. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  120. package/web/.next/server/app/api/graph-data/route.js +1 -1
  121. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  122. package/web/.next/server/app/settings/page/server-reference-manifest.json +5 -5
  123. package/web/.next/server/app/settings/page.js +1 -1
  124. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  125. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  126. package/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
  127. package/web/.next/server/app/skills/page.js +1 -1
  128. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  129. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  130. package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
  131. package/web/.next/server/app/tools/page.js +1 -1
  132. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  133. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  134. package/web/.next/server/app/version/page/server-reference-manifest.json +1 -1
  135. package/web/.next/server/app/version/page.js +1 -1
  136. package/web/.next/server/app/version/page.js.nft.json +1 -1
  137. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  138. package/web/.next/server/app-paths-manifest.json +0 -1
  139. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  140. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  141. package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.js +3 -0
  142. package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.js.map +1 -0
  143. package/web/.next/server/chunks/{[root-of-the-server]__53013576._.js → [root-of-the-server]__7d63f9a4._.js} +2 -2
  144. package/web/.next/server/chunks/{[root-of-the-server]__92078db6._.js → [root-of-the-server]__a1c7c02a._.js} +2 -2
  145. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  146. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  147. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  148. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  149. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_rocket_1575cd4d.js +3 -0
  150. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_rocket_1575cd4d.js.map +1 -0
  151. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_a1104008.js +1 -1
  152. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_a1104008.js.map +1 -1
  153. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_92642200.js +1 -1
  154. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_92642200.js.map +1 -1
  155. package/web/.next/server/chunks/ssr/[root-of-the-server]__039967e3._.js +3 -0
  156. package/web/.next/server/chunks/ssr/[root-of-the-server]__039967e3._.js.map +1 -0
  157. package/web/.next/server/chunks/ssr/{[root-of-the-server]__06fef644._.js → [root-of-the-server]__07a39ff2._.js} +2 -2
  158. package/web/.next/server/chunks/ssr/{[root-of-the-server]__06fef644._.js.map → [root-of-the-server]__07a39ff2._.js.map} +1 -1
  159. package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +1 -1
  160. package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js.map +1 -1
  161. package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js +4 -0
  162. package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js.map +1 -0
  163. package/web/.next/server/chunks/ssr/[root-of-the-server]__2773312c._.js +3 -0
  164. package/web/.next/server/chunks/ssr/[root-of-the-server]__2773312c._.js.map +1 -0
  165. package/web/.next/server/chunks/ssr/[root-of-the-server]__5d87af2e._.js +4 -0
  166. package/web/.next/server/chunks/ssr/[root-of-the-server]__5d87af2e._.js.map +1 -0
  167. package/web/.next/server/chunks/ssr/[root-of-the-server]__6367aea0._.js +3 -0
  168. package/web/.next/server/chunks/ssr/[root-of-the-server]__6367aea0._.js.map +1 -0
  169. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
  170. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
  171. package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js +4 -0
  172. package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js.map +1 -0
  173. package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +2 -2
  174. package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js.map +1 -1
  175. package/web/.next/server/chunks/ssr/[root-of-the-server]__b1e68e34._.js +3 -0
  176. package/web/.next/server/chunks/ssr/[root-of-the-server]__b1e68e34._.js.map +1 -0
  177. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
  178. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
  179. package/web/.next/server/chunks/ssr/[root-of-the-server]__cbd8062c._.js +3 -0
  180. package/web/.next/server/chunks/ssr/[root-of-the-server]__cbd8062c._.js.map +1 -0
  181. package/web/.next/server/chunks/ssr/[root-of-the-server]__e70c5627._.js +3 -0
  182. package/web/.next/server/chunks/ssr/[root-of-the-server]__e70c5627._.js.map +1 -0
  183. package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +1 -1
  184. package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js.map +1 -1
  185. package/web/.next/server/chunks/ssr/_135edb9c._.js +1 -1
  186. package/web/.next/server/chunks/ssr/_135edb9c._.js.map +1 -1
  187. package/web/.next/server/chunks/ssr/_1bb131c4._.js.map +1 -1
  188. package/web/.next/server/chunks/ssr/_250a63ae._.js +3 -0
  189. package/web/.next/server/chunks/ssr/_250a63ae._.js.map +1 -0
  190. package/web/.next/server/chunks/ssr/_273d4632._.js +3 -0
  191. package/web/.next/server/chunks/ssr/_273d4632._.js.map +1 -0
  192. package/web/.next/server/chunks/ssr/_86617fb9._.js +3 -0
  193. package/web/.next/server/chunks/ssr/_86617fb9._.js.map +1 -0
  194. package/web/.next/server/chunks/ssr/_8dacd1e7._.js +1 -1
  195. package/web/.next/server/chunks/ssr/_8dacd1e7._.js.map +1 -1
  196. package/web/.next/server/chunks/ssr/_922aa39f._.js +3 -0
  197. package/web/.next/server/chunks/ssr/_922aa39f._.js.map +1 -0
  198. package/web/.next/server/chunks/ssr/_a68d7e1c._.js +9 -0
  199. package/web/.next/server/chunks/ssr/_a68d7e1c._.js.map +1 -0
  200. package/web/.next/server/chunks/ssr/_b5d0b00e._.js +3 -0
  201. package/web/.next/server/chunks/ssr/_b5d0b00e._.js.map +1 -0
  202. package/web/.next/server/chunks/ssr/_cc77a143._.js +1 -1
  203. package/web/.next/server/chunks/ssr/_cc77a143._.js.map +1 -1
  204. package/web/.next/server/chunks/ssr/{_f700398b._.js → _f2f36bf9._.js} +2 -2
  205. package/web/.next/server/chunks/ssr/_f2f36bf9._.js.map +1 -0
  206. package/web/.next/server/chunks/ssr/_f5316e67._.js +3 -0
  207. package/web/.next/server/chunks/ssr/_f5316e67._.js.map +1 -0
  208. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  209. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  210. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_888633e1.js +1 -1
  211. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_888633e1.js.map +1 -1
  212. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +1 -1
  213. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -1
  214. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +1 -1
  215. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -1
  216. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  217. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  218. package/web/.next/server/chunks/ssr/src_presentation_web_ce7cbc3c._.js +2 -2
  219. package/web/.next/server/chunks/ssr/src_presentation_web_ce7cbc3c._.js.map +1 -1
  220. package/web/.next/server/chunks/ssr/src_presentation_web_components_a5e6c910._.js +3 -0
  221. package/web/.next/server/chunks/ssr/src_presentation_web_components_a5e6c910._.js.map +1 -0
  222. package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js +1 -1
  223. package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js.map +1 -1
  224. package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js +1 -1
  225. package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js.map +1 -1
  226. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  227. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  228. package/web/.next/server/chunks/ssr/src_presentation_web_e2604413._.js +2 -2
  229. package/web/.next/server/chunks/ssr/src_presentation_web_e2604413._.js.map +1 -1
  230. package/web/.next/server/pages/500.html +2 -2
  231. package/web/.next/server/server-reference-manifest.js +1 -1
  232. package/web/.next/server/server-reference-manifest.json +31 -31
  233. package/web/.next/static/chunks/{b6a6d6f997c7dc23.js → 053b644519f721f1.js} +1 -1
  234. package/web/.next/static/chunks/121a2e602cb9df92.js +11 -0
  235. package/web/.next/static/chunks/3a806cf059241bc9.js +1 -0
  236. package/web/.next/static/chunks/{87ebdd9c09d98098.js → 5225e7b93df59de9.js} +1 -1
  237. package/web/.next/static/chunks/55c131b6fc504375.js +1 -0
  238. package/web/.next/static/chunks/57b45edf86522369.css +1 -0
  239. package/web/.next/static/chunks/6770c61692fe5605.js +1 -0
  240. package/web/.next/static/chunks/{bbbb1dfab7e4f4d2.js → 763f6ecc4593dc10.js} +1 -1
  241. package/web/.next/static/chunks/{2c85955a119cb958.js → 8c3ff8561102a386.js} +1 -1
  242. package/web/.next/static/chunks/a1b3371ef3ffd58b.js +2 -0
  243. package/web/.next/static/chunks/b1f3c0e8e9872ef8.js +1 -0
  244. package/web/.next/static/chunks/bec349a77c5c5796.js +1 -0
  245. package/web/.next/static/chunks/e85bcc69a4ceb89e.js +1 -0
  246. package/web/.next/static/chunks/{c59d875a3ea688b4.js → f32b896b3ceae18d.js} +2 -2
  247. package/dist/src/presentation/web/app/api/sessions/route.d.ts +0 -25
  248. package/dist/src/presentation/web/app/api/sessions/route.d.ts.map +0 -1
  249. package/dist/src/presentation/web/app/api/sessions/route.js +0 -43
  250. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.d.ts +0 -16
  251. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.d.ts.map +0 -1
  252. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.js +0 -134
  253. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.stories.d.ts +0 -9
  254. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.stories.d.ts.map +0 -1
  255. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.stories.js +0 -77
  256. package/web/.next/server/app/api/sessions/route/app-paths-manifest.json +0 -3
  257. package/web/.next/server/app/api/sessions/route/build-manifest.json +0 -11
  258. package/web/.next/server/app/api/sessions/route/server-reference-manifest.json +0 -4
  259. package/web/.next/server/app/api/sessions/route.js +0 -7
  260. package/web/.next/server/app/api/sessions/route.js.map +0 -5
  261. package/web/.next/server/app/api/sessions/route.js.nft.json +0 -1
  262. package/web/.next/server/app/api/sessions/route_client-reference-manifest.js +0 -2
  263. package/web/.next/server/chunks/[externals]__42053d5c._.js +0 -3
  264. package/web/.next/server/chunks/[externals]__42053d5c._.js.map +0 -1
  265. package/web/.next/server/chunks/[root-of-the-server]__42b7ab55._.js +0 -3
  266. package/web/.next/server/chunks/[root-of-the-server]__42b7ab55._.js.map +0 -1
  267. package/web/.next/server/chunks/[root-of-the-server]__6ec95237._.js +0 -3
  268. package/web/.next/server/chunks/[root-of-the-server]__6ec95237._.js.map +0 -1
  269. package/web/.next/server/chunks/[root-of-the-server]__7939ee8d._.js +0 -3
  270. package/web/.next/server/chunks/[root-of-the-server]__7939ee8d._.js.map +0 -1
  271. package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_sessions_route_actions_c041a889.js +0 -3
  272. package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_sessions_route_actions_c041a889.js.map +0 -1
  273. package/web/.next/server/chunks/ssr/[root-of-the-server]__0023a364._.js +0 -4
  274. package/web/.next/server/chunks/ssr/[root-of-the-server]__0023a364._.js.map +0 -1
  275. package/web/.next/server/chunks/ssr/[root-of-the-server]__4170d245._.js +0 -3
  276. package/web/.next/server/chunks/ssr/[root-of-the-server]__4170d245._.js.map +0 -1
  277. package/web/.next/server/chunks/ssr/[root-of-the-server]__422945ee._.js +0 -3
  278. package/web/.next/server/chunks/ssr/[root-of-the-server]__422945ee._.js.map +0 -1
  279. package/web/.next/server/chunks/ssr/[root-of-the-server]__545792ab._.js +0 -3
  280. package/web/.next/server/chunks/ssr/[root-of-the-server]__545792ab._.js.map +0 -1
  281. package/web/.next/server/chunks/ssr/[root-of-the-server]__b724df9e._.js +0 -3
  282. package/web/.next/server/chunks/ssr/[root-of-the-server]__b724df9e._.js.map +0 -1
  283. package/web/.next/server/chunks/ssr/[root-of-the-server]__bf1d1145._.js +0 -3
  284. package/web/.next/server/chunks/ssr/[root-of-the-server]__bf1d1145._.js.map +0 -1
  285. package/web/.next/server/chunks/ssr/[root-of-the-server]__c4dc1b5a._.js +0 -4
  286. package/web/.next/server/chunks/ssr/[root-of-the-server]__c4dc1b5a._.js.map +0 -1
  287. package/web/.next/server/chunks/ssr/[root-of-the-server]__caa857f3._.js +0 -3
  288. package/web/.next/server/chunks/ssr/[root-of-the-server]__caa857f3._.js.map +0 -1
  289. package/web/.next/server/chunks/ssr/[root-of-the-server]__e98eda15._.js +0 -4
  290. package/web/.next/server/chunks/ssr/[root-of-the-server]__e98eda15._.js.map +0 -1
  291. package/web/.next/server/chunks/ssr/[root-of-the-server]__eaed6264._.js +0 -3
  292. package/web/.next/server/chunks/ssr/[root-of-the-server]__eaed6264._.js.map +0 -1
  293. package/web/.next/server/chunks/ssr/_0dc2cfd3._.js +0 -3
  294. package/web/.next/server/chunks/ssr/_0dc2cfd3._.js.map +0 -1
  295. package/web/.next/server/chunks/ssr/_1bb79fe8._.js +0 -3
  296. package/web/.next/server/chunks/ssr/_1bb79fe8._.js.map +0 -1
  297. package/web/.next/server/chunks/ssr/_39153813._.js +0 -3
  298. package/web/.next/server/chunks/ssr/_39153813._.js.map +0 -1
  299. package/web/.next/server/chunks/ssr/_75f4ccb3._.js +0 -3
  300. package/web/.next/server/chunks/ssr/_75f4ccb3._.js.map +0 -1
  301. package/web/.next/server/chunks/ssr/_e4aecdda._.js +0 -3
  302. package/web/.next/server/chunks/ssr/_e4aecdda._.js.map +0 -1
  303. package/web/.next/server/chunks/ssr/_f605354c._.js +0 -9
  304. package/web/.next/server/chunks/ssr/_f605354c._.js.map +0 -1
  305. package/web/.next/server/chunks/ssr/_f700398b._.js.map +0 -1
  306. package/web/.next/server/chunks/ssr/node_modules__pnpm_b59e4b16._.js +0 -3
  307. package/web/.next/server/chunks/ssr/node_modules__pnpm_b59e4b16._.js.map +0 -1
  308. package/web/.next/server/chunks/ssr/src_presentation_web_components_bdcfba35._.js +0 -3
  309. package/web/.next/server/chunks/ssr/src_presentation_web_components_bdcfba35._.js.map +0 -1
  310. package/web/.next/static/chunks/4562ee849ea13c3a.js +0 -1
  311. package/web/.next/static/chunks/734e1b96d65bc4e1.js +0 -1
  312. package/web/.next/static/chunks/845d8e58a91014e6.js +0 -1
  313. package/web/.next/static/chunks/85525df1b4d1aabf.js +0 -11
  314. package/web/.next/static/chunks/8bd4850f5ba10859.css +0 -1
  315. package/web/.next/static/chunks/9a8aeb9054d6763e.js +0 -1
  316. package/web/.next/static/chunks/a02878d540d8caac.js +0 -2
  317. package/web/.next/static/chunks/cca0f5112a9260d8.js +0 -1
  318. package/web/.next/static/chunks/d3e71bbe7e8203e9.js +0 -1
  319. /package/web/.next/server/chunks/{[root-of-the-server]__53013576._.js.map → [root-of-the-server]__7d63f9a4._.js.map} +0 -0
  320. /package/web/.next/server/chunks/{[root-of-the-server]__92078db6._.js.map → [root-of-the-server]__a1c7c02a._.js.map} +0 -0
  321. /package/web/.next/static/{Cl6Z3hNe9fIyRYkAXnEVa → Ci7i00ReHDH8Xv9NQW3By}/_buildManifest.js +0 -0
  322. /package/web/.next/static/{Cl6Z3hNe9fIyRYkAXnEVa → Ci7i00ReHDH8Xv9NQW3By}/_clientMiddlewareManifest.json +0 -0
  323. /package/web/.next/static/{Cl6Z3hNe9fIyRYkAXnEVa → Ci7i00ReHDH8Xv9NQW3By}/_ssgManifest.js +0 -0
@@ -1,15 +1,6 @@
1
- import { createHash } from 'node:crypto';
2
- import path from 'node:path';
3
1
  import { AgentRunStatus } from '../../../../packages/core/src/domain/generated/output.js';
4
2
  import { deriveNodeState, deriveProgress, deriveLifecycle, } from '../components/common/feature-node/derive-feature-state.js';
5
3
  import { isProcessAlive } from '../../../../packages/core/src/infrastructure/services/process/is-process-alive.js';
6
- import { getShepHomeDir } from '../../../../packages/core/src/infrastructure/services/filesystem/shep-directory.service.js';
7
- /** Compute the worktree path for a feature, matching WorktreeService.getWorktreePath() */
8
- function computeWorktreePath(repoPath, branch) {
9
- const repoHash = createHash('sha256').update(repoPath).digest('hex').slice(0, 16);
10
- const slug = branch.replace(/\//g, '-');
11
- return path.join(getShepHomeDir(), 'repos', repoHash, 'wt', slug).replace(/\\/g, '/');
12
- }
13
4
  export function buildGraphNodes(repositories, featuresWithRuns, options) {
14
5
  // Normalize path separators so Windows backslash paths match forward-slash paths
15
6
  const normalizePath = (p) => p.replace(/\\/g, '/');
@@ -106,7 +97,6 @@ function appendFeatureNodes(repoFeatures, repoNodeId, allFeaturesWithRuns, nodes
106
97
  lifecycle: deriveLifecycle(feature, run),
107
98
  repositoryPath: feature.repositoryPath,
108
99
  branch: feature.branch,
109
- worktreePath: feature.worktreePath ?? computeWorktreePath(feature.repositoryPath, feature.branch),
110
100
  specPath: feature.specPath,
111
101
  state: deriveNodeState(feature, run, pidAlive !== undefined ? { isPidAlive: pidAlive } : undefined),
112
102
  progress: deriveProgress(feature),
@@ -119,7 +109,6 @@ function appendFeatureNodes(repoFeatures, repoNodeId, allFeaturesWithRuns, nodes
119
109
  openPr: feature.openPr,
120
110
  ...(options?.enableEvidence != null && { enableEvidence: options.enableEvidence }),
121
111
  ...(options?.commitEvidence != null && { commitEvidence: options.commitEvidence }),
122
- ...(options?.ciWatchEnabled != null && { ciWatchEnabled: options.ciWatchEnabled }),
123
112
  ...(repoName && { repositoryName: repoName }),
124
113
  ...(run?.agentType && { agentType: run.agentType }),
125
114
  ...(run?.modelId && { modelId: run.modelId }),
@@ -31,7 +31,6 @@ export interface FeatureCreatePayload {
31
31
  };
32
32
  push: boolean;
33
33
  openPr: boolean;
34
- ciWatchEnabled: boolean;
35
34
  enableEvidence: boolean;
36
35
  commitEvidence: boolean;
37
36
  parentId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAO5E,YAAY,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAE/F,uFAAuF;AACvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;I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C;IACvB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,qEAAqE;IACrE,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACjC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC,kGAAkG;IAClG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,cAAc,EACd,YAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,EAAE,wBAAwB,2CA2wB1B;AAmJD,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,eAAe,EACf,QAAQ,GACT,EAAE,uBAAuB,2CA8JzB"}
1
+ {"version":3,"file":"feature-create-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAO5E,YAAY,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAE/F,uFAAuF;AACvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX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AgB,CAAC;IACpC,qEAAqE;IACrE,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACjC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC,kGAAkG;IAClG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,cAAc,EACd,YAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,EAAE,wBAAwB,2CAmvB1B;AAmJD,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,eAAe,EACf,QAAQ,GACT,EAAE,uBAAuB,2CA8JzB"}
@@ -98,7 +98,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
98
98
  const defaultGates = workflowDefaults?.approvalGates ?? EMPTY_GATES;
99
99
  const defaultPush = workflowDefaults?.push ?? false;
100
100
  const defaultOpenPr = workflowDefaults?.openPr ?? false;
101
- const defaultCiWatch = workflowDefaults?.ciWatchEnabled !== false;
102
101
  const defaultEnableEvidence = workflowDefaults?.enableEvidence ?? false;
103
102
  const defaultCommitEvidence = workflowDefaults?.commitEvidence ?? false;
104
103
  const [description, setDescription] = useState('');
@@ -106,7 +105,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
106
105
  const [approvalGates, setApprovalGates] = useState({ ...defaultGates });
107
106
  const [push, setPush] = useState(defaultPush);
108
107
  const [openPr, setOpenPr] = useState(defaultOpenPr);
109
- const [ciWatchEnabled, setCiWatchEnabled] = useState(workflowDefaults?.ciWatchEnabled !== false);
110
108
  const [enableEvidence, setEnableEvidence] = useState(defaultEnableEvidence);
111
109
  const [commitEvidence, setCommitEvidence] = useState(defaultCommitEvidence);
112
110
  const [parentId, setParentId] = useState(undefined);
@@ -128,7 +126,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
128
126
  setApprovalGates({ ...workflowDefaults.approvalGates });
129
127
  setPush(workflowDefaults.push);
130
128
  setOpenPr(workflowDefaults.openPr);
131
- setCiWatchEnabled(workflowDefaults.ciWatchEnabled !== false);
132
129
  setEnableEvidence(workflowDefaults.enableEvidence);
133
130
  setCommitEvidence(workflowDefaults.commitEvidence);
134
131
  }
@@ -149,7 +146,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
149
146
  setApprovalGates({ ...defaultGates });
150
147
  setPush(defaultPush);
151
148
  setOpenPr(defaultOpenPr);
152
- setCiWatchEnabled(defaultCiWatch);
153
149
  setEnableEvidence(defaultEnableEvidence);
154
150
  setCommitEvidence(defaultCommitEvidence);
155
151
  setParentId(undefined);
@@ -166,7 +162,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
166
162
  defaultPush,
167
163
  defaultOpenPr,
168
164
  defaultEnableEvidence,
169
- defaultCiWatch,
170
165
  defaultCommitEvidence,
171
166
  repositoryPath,
172
167
  repositories,
@@ -301,7 +296,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
301
296
  },
302
297
  push: push || openPr,
303
298
  openPr,
304
- ciWatchEnabled,
305
299
  enableEvidence,
306
300
  commitEvidence,
307
301
  fast,
@@ -321,7 +315,6 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
321
315
  push,
322
316
  openPr,
323
317
  enableEvidence,
324
- ciWatchEnabled,
325
318
  commitEvidence,
326
319
  fast,
327
320
  overrideAgent,
@@ -438,7 +431,7 @@ export function FeatureCreateDrawer({ open, onClose, onSubmit, repositoryPath, i
438
431
  setOpenPr(v);
439
432
  if (!v)
440
433
  setCommitEvidence(false);
441
- }, disabled: isSubmitting }), _jsx(Label, { htmlFor: "open-pr", className: "cursor-pointer text-xs font-medium", children: "PR" })] }) }), _jsx(TooltipContent, { side: "bottom", children: "Open a pull request after pushing." })] }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs("div", { className: "flex cursor-pointer items-center gap-1.5", children: [_jsx(Switch, { id: "ci-watch", size: "sm", checked: ciWatchEnabled, onCheckedChange: setCiWatchEnabled, disabled: isSubmitting }), _jsx(Label, { htmlFor: "ci-watch", className: "cursor-pointer text-xs font-medium", children: "Watch" })] }) }), _jsx(TooltipContent, { side: "bottom", children: "Watch CI and auto-fix after push." })] })] })] })] })] }) }) }) }));
434
+ }, disabled: isSubmitting }), _jsx(Label, { htmlFor: "open-pr", className: "cursor-pointer text-xs font-medium", children: "PR" })] }) }), _jsx(TooltipContent, { side: "bottom", children: "Open a pull request after pushing." })] })] })] })] })] }) }) }) }));
442
435
  }
443
436
  function ParentFeatureCombobox({ features, value, onChange, disabled, }) {
444
437
  const [open, setOpen] = useState(false);
@@ -1 +1 @@
1
- {"version":3,"file":"feature-create-drawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAU9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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W,EAAE,KAwCzB,CAAC;AAuCF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAM9B,CAAC;AA6BF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAMnC,CAAC"}
1
+ {"version":3,"file":"feature-create-drawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAU9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAgC1C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAmDlD,uFAAuF;AACvF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAMhC,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAgBjC,CAAC;AAcF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAWlC,CAAC;AAkDF,+EAA+E;AAC/E,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAwCF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAM/B,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAgBjC,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAC;AAMF,eAAO,MAAM,WAAW,EAAE,KAwCzB,CAAC;AAuCF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAM9B,CAAC;AA6BF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAMnC,CAAC"}
@@ -268,7 +268,6 @@ const SAMPLE_WORKFLOW_DEFAULTS = {
268
268
  approvalGates: { allowPrd: true, allowPlan: true, allowMerge: false },
269
269
  push: true,
270
270
  openPr: true,
271
- ciWatchEnabled: true,
272
271
  enableEvidence: true,
273
272
  commitEvidence: false,
274
273
  };
@@ -117,12 +117,11 @@ function FeatureSettings({ data }) {
117
117
  const hasSettings = data.approvalGates != null ||
118
118
  data.push != null ||
119
119
  data.openPr != null ||
120
- data.ciWatchEnabled != null ||
121
120
  data.enableEvidence != null ||
122
121
  data.modelId;
123
122
  if (!hasSettings)
124
123
  return null;
125
- return (_jsxs(_Fragment, { children: [_jsx(Separator, {}), _jsxs("div", { "data-testid": "feature-drawer-settings", className: "flex flex-col gap-3 p-4", children: [_jsx("span", { className: "text-muted-foreground text-xs font-semibold tracking-wider", children: "SETTINGS" }), data.modelId ? (_jsxs("div", { className: "flex flex-col gap-0.5", children: [_jsx("span", { className: "text-muted-foreground text-xs font-medium", children: "Model" }), _jsx("span", { className: "text-sm", children: getModelMeta(data.modelId).displayName || data.modelId })] })) : null, data.approvalGates ? (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-xs font-medium", children: [_jsx(ShieldCheck, { className: "h-3 w-3" }), "Auto-Approve"] }), _jsxs("div", { className: "flex flex-wrap gap-1.5", children: [_jsx(SettingBadge, { enabled: data.approvalGates.allowPrd, label: "PRD" }), _jsx(SettingBadge, { enabled: data.approvalGates.allowPlan, label: "Plan" }), _jsx(SettingBadge, { enabled: data.approvalGates.allowMerge, label: "Merge" })] })] })) : null, data.enableEvidence != null ? (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-xs font-medium", children: [_jsx(FileSearch, { className: "h-3 w-3" }), "Evidence"] }), _jsxs("div", { className: "flex flex-wrap gap-1.5", children: [_jsx(SettingBadge, { enabled: data.enableEvidence, label: "Collect" }), data.commitEvidence != null ? (_jsx(SettingBadge, { enabled: data.commitEvidence, label: "Add to PR" })) : null] })] })) : null, data.push != null || data.openPr != null || data.ciWatchEnabled != null ? (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-xs font-medium", children: [_jsx(GitBranch, { className: "h-3 w-3" }), "Git"] }), _jsxs("div", { className: "flex flex-wrap gap-1.5", children: [data.push != null ? _jsx(SettingBadge, { enabled: data.push, label: "Push" }) : null, data.openPr != null ? _jsx(SettingBadge, { enabled: data.openPr, label: "PR" }) : null, data.ciWatchEnabled != null ? (_jsx(SettingBadge, { enabled: data.ciWatchEnabled, label: "Watch" })) : null] })] })) : null] })] }));
124
+ return (_jsxs(_Fragment, { children: [_jsx(Separator, {}), _jsxs("div", { "data-testid": "feature-drawer-settings", className: "flex flex-col gap-3 p-4", children: [_jsx("span", { className: "text-muted-foreground text-xs font-semibold tracking-wider", children: "SETTINGS" }), data.modelId ? (_jsxs("div", { className: "flex flex-col gap-0.5", children: [_jsx("span", { className: "text-muted-foreground text-xs font-medium", children: "Model" }), _jsx("span", { className: "text-sm", children: getModelMeta(data.modelId).displayName || data.modelId })] })) : null, data.approvalGates ? (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-xs font-medium", children: [_jsx(ShieldCheck, { className: "h-3 w-3" }), "Auto-Approve"] }), _jsxs("div", { className: "flex flex-wrap gap-1.5", children: [_jsx(SettingBadge, { enabled: data.approvalGates.allowPrd, label: "PRD" }), _jsx(SettingBadge, { enabled: data.approvalGates.allowPlan, label: "Plan" }), _jsx(SettingBadge, { enabled: data.approvalGates.allowMerge, label: "Merge" })] })] })) : null, data.enableEvidence != null ? (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-xs font-medium", children: [_jsx(FileSearch, { className: "h-3 w-3" }), "Evidence"] }), _jsxs("div", { className: "flex flex-wrap gap-1.5", children: [_jsx(SettingBadge, { enabled: data.enableEvidence, label: "Collect" }), data.commitEvidence != null ? (_jsx(SettingBadge, { enabled: data.commitEvidence, label: "Add to PR" })) : null] })] })) : null, data.push != null || data.openPr != null ? (_jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-xs font-medium", children: [_jsx(GitBranch, { className: "h-3 w-3" }), "Git"] }), _jsxs("div", { className: "flex flex-wrap gap-1.5", children: [data.push != null ? _jsx(SettingBadge, { enabled: data.push, label: "Push" }) : null, data.openPr != null ? _jsx(SettingBadge, { enabled: data.openPr, label: "PR" }) : null] })] })) : null] })] }));
126
125
  }
127
126
  function DetailRow({ label, value }) {
128
127
  return (_jsxs("div", { className: "flex flex-col gap-0.5", children: [_jsx("span", { className: "text-muted-foreground text-xs font-medium", children: label }), _jsx("span", { className: "text-sm", children: value })] }));
@@ -20,8 +20,6 @@ export interface FeatureNodeData {
20
20
  repositoryPath: string;
21
21
  /** Git branch name for this feature */
22
22
  branch: string;
23
- /** Absolute path to the git worktree for this feature (sessions use this path) */
24
- worktreePath?: string;
25
23
  /** Absolute path to the specs folder on disk */
26
24
  specPath?: string;
27
25
  /** Epoch ms when the current agent run started (for elapsed-time in sidebar) */
@@ -71,8 +69,6 @@ export interface FeatureNodeData {
71
69
  push?: boolean;
72
70
  /** Whether to open a PR after implementation */
73
71
  openPr?: boolean;
74
- /** Whether CI watch/fix loop is enabled after push */
75
- ciWatchEnabled?: boolean;
76
72
  /** Whether evidence collection is enabled for this feature */
77
73
  enableEvidence?: boolean;
78
74
  /** Whether evidence is committed to the PR body */
@@ -1 +1 @@
1
- {"version":3,"file":"feature-node-state-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node-state-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAChG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GACxB,UAAU,GACV,SAAS,GACT,iBAAiB,GACjB,MAAM,GACN,SAAS,GACT,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,MAAM,qBAAqB,GAC7B,cAAc,GACd,UAAU,GACV,gBAAgB,GAChB,QAAQ,GACR,QAAQ,GACR,UAAU,CAAC;AAEf,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAOxE,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAOvE,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb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CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,gBAAgB,EAAE,sBAAsB,CAuEnF,CAAC"}
1
+ {"version":3,"file":"feature-node-state-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node-state-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAChG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GACxB,UAAU,GACV,SAAS,GACT,iBAAiB,GACjB,MAAM,GACN,SAAS,GACT,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,MAAM,qBAAqB,GAC7B,cAAc,GACd,UAAU,GACV,gBAAgB,GAChB,QAAQ,GACR,QAAQ,GACR,UAAU,CAAC;AAEf,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAOxE,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAOvE,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,qBAAqB,CAAC;IACjC,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,M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-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA2DnE,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,2CA2TA"}
1
+ {"version":3,"file":"feature-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA0DnE,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,2CAsTA"}
@@ -10,7 +10,6 @@ import { featureNodeStateConfig, lifecycleDisplayLabels, lifecycleRunningVerbs,
10
10
  import { getAgentTypeIcon, agentTypeLabels } from './agent-type-icons.js';
11
11
  import { getModelMeta } from '../../../lib/model-metadata.js';
12
12
  import { DeploymentState } from '../../../../../../packages/core/src/domain/generated/output.js';
13
- import { FeatureSessionsDropdown } from './feature-sessions-dropdown.js';
14
13
  function AgentIcon({ agentType, className }) {
15
14
  const IconComponent = getAgentTypeIcon(agentType);
16
15
  return _jsx(IconComponent, { className: className });
@@ -83,7 +82,7 @@ export function FeatureNode({ data, selected, }) {
83
82
  ? 'bg-blue-50 text-blue-700'
84
83
  : 'bg-green-50 text-green-700'), children: [data.deployment.status === DeploymentState.Booting ? (_jsx(Loader2, { className: "h-3 w-3 animate-spin" })) : (_jsx(Globe, { className: "h-3 w-3" })), _jsx("span", { className: "truncate", children: data.deployment.status === DeploymentState.Booting
85
84
  ? 'Deploying...'
86
- : (data.deployment.url ?? 'Live') })] })) : null, _jsx("div", { className: "mt-auto pt-2", children: data.state === 'deleting' ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mt-1.5 flex items-center gap-1.5 text-xs", children: [_jsx(Trash2, { className: "h-3.5 w-3.5 shrink-0 text-gray-400" }), _jsx("span", { className: "text-muted-foreground", children: "Deleting\u2026" })] }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "motion-safe:animate-indeterminate-progress bg-foreground/30 h-full w-1/3 rounded-full" }) })] })) : data.state === 'creating' ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mt-1.5 flex items-center gap-1.5 text-xs", children: [_jsx(Icon, { className: "h-3.5 w-3.5 shrink-0 animate-spin" }), _jsx("span", { className: "text-muted-foreground", children: getBadgeText(data) })] }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "motion-safe:animate-indeterminate-progress bg-foreground/30 h-full w-1/3 rounded-full" }) })] })) : data.state === 'running' ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mt-1.5 flex items-center gap-1.5 text-xs", children: [_jsx(AgentIcon, { agentType: data.agentType, className: "h-3.5 w-3.5 shrink-0" }), _jsx("span", { className: "text-muted-foreground", children: getBadgeText(data) })] }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "animate-indeterminate-progress bg-foreground/30 h-full w-1/3 rounded-full" }) })] })) : config.showProgressBar ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "text-muted-foreground flex items-center justify-end text-[10px]", children: _jsxs("span", { children: [data.progress, "%"] }) }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: cn('h-full rounded-full transition-all', config.progressClass), style: { width: `${data.progress}%` } }) })] })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "text-muted-foreground flex items-center justify-between text-[10px]", children: [_jsx("span", { children: data.featureId }), (data.worktreePath ?? data.repositoryPath) ? (_jsx(FeatureSessionsDropdown, { repositoryPath: data.worktreePath ?? data.repositoryPath })) : null] }), _jsxs("div", { className: "mt-1.5 flex items-center gap-1.5", children: [_jsxs("div", { "data-testid": "feature-node-badge", className: (() => {
85
+ : (data.deployment.url ?? 'Live') })] })) : null, _jsx("div", { className: "mt-auto pt-2", children: data.state === 'deleting' ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mt-1.5 flex items-center gap-1.5 text-xs", children: [_jsx(Trash2, { className: "h-3.5 w-3.5 shrink-0 text-gray-400" }), _jsx("span", { className: "text-muted-foreground", children: "Deleting\u2026" })] }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "motion-safe:animate-indeterminate-progress bg-foreground/30 h-full w-1/3 rounded-full" }) })] })) : data.state === 'creating' ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mt-1.5 flex items-center gap-1.5 text-xs", children: [_jsx(Icon, { className: "h-3.5 w-3.5 shrink-0 animate-spin" }), _jsx("span", { className: "text-muted-foreground", children: getBadgeText(data) })] }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "motion-safe:animate-indeterminate-progress bg-foreground/30 h-full w-1/3 rounded-full" }) })] })) : data.state === 'running' ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mt-1.5 flex items-center gap-1.5 text-xs", children: [_jsx(AgentIcon, { agentType: data.agentType, className: "h-3.5 w-3.5 shrink-0" }), _jsx("span", { className: "text-muted-foreground", children: getBadgeText(data) })] }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "animate-indeterminate-progress bg-foreground/30 h-full w-1/3 rounded-full" }) })] })) : config.showProgressBar ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "text-muted-foreground flex items-center justify-end text-[10px]", children: _jsxs("span", { children: [data.progress, "%"] }) }), _jsx("div", { "data-testid": "feature-node-progress-bar", className: "bg-muted mt-1.5 h-1 w-full overflow-hidden rounded-full", children: _jsx("div", { className: cn('h-full rounded-full transition-all', config.progressClass), style: { width: `${data.progress}%` } }) })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "text-muted-foreground text-[10px]", children: _jsx("span", { children: data.featureId }) }), _jsxs("div", { className: "mt-1.5 flex items-center gap-1.5", children: [_jsxs("div", { "data-testid": "feature-node-badge", className: (() => {
87
86
  const override = getActionRequiredBadgeClasses(data);
88
87
  return cn('flex min-w-0 flex-1 items-center justify-center gap-1.5 rounded-full px-2.5 py-1 text-[11px] font-medium', override?.badgeBgClass ?? config.badgeBgClass, override?.badgeClass ?? config.badgeClass);
89
88
  })(), children: [(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"repository-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-node.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAInE,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,2CAmP5F"}
1
+ {"version":3,"file":"repository-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-node.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,2CAkP5F"}
@@ -12,7 +12,6 @@ import { DeploymentStatusBadge } from '../../common/deployment-status-badge/inde
12
12
  import { useDeployAction } from '../../../hooks/use-deploy-action.js';
13
13
  import { useFeatureFlags } from '../../../hooks/feature-flags-context.js';
14
14
  import { useRepositoryActions } from './use-repository-actions.js';
15
- import { FeatureSessionsDropdown } from '../../common/feature-node/feature-sessions-dropdown.js';
16
15
  export function RepositoryNode({ data }) {
17
16
  const featureFlags = useFeatureFlags();
18
17
  const [confirmOpen, setConfirmOpen] = useState(false);
@@ -40,7 +39,7 @@ export function RepositoryNode({ data }) {
40
39
  e.stopPropagation();
41
40
  data.onClick?.();
42
41
  }
43
- }, className: "nodrag bg-card flex min-w-[18rem] cursor-pointer items-center gap-3 rounded-full border px-4 py-3 shadow-sm", children: [_jsx(Github, { className: "text-muted-foreground h-5 w-5 shrink-0" }), _jsx("span", { "data-testid": "repository-node-name", className: "min-w-0 truncate text-sm font-medium", children: data.name }), _jsxs("div", { className: cn('flex shrink-0 items-center gap-2', (data.repositoryPath ?? data.onAdd) && 'ml-auto'), onClick: (e) => e.stopPropagation(), children: [data.repositoryPath ? (_jsxs(_Fragment, { children: [_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: "Open in IDE", onClick: actions.openInIde, loading: actions.ideLoading, error: !!actions.ideError, icon: Code2, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: "Open in IDE" })] }) }), _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: "Open in Shell", onClick: actions.openInShell, loading: actions.shellLoading, error: !!actions.shellError, icon: Terminal, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: "Open in Shell" })] }) }), _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: "Open Folder", onClick: actions.openFolder, loading: actions.folderLoading, error: !!actions.folderError, icon: FolderOpen, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: "Open Folder" })] }) }), _jsx(FeatureSessionsDropdown, { repositoryPath: data.repositoryPath }), featureFlags.envDeploy ? (_jsxs(_Fragment, { children: [_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: isDeploymentActive ? 'Stop Dev Server' : 'Start Dev Server', onClick: isDeploymentActive ? deployAction.stop : deployAction.deploy, loading: deployAction.deployLoading || deployAction.stopLoading, error: !!deployAction.deployError, icon: isDeploymentActive ? Square : Play, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: isDeploymentActive ? 'Stop Dev Server' : 'Start Dev Server' })] }) }), isDeploymentActive ? (_jsx(DeploymentStatusBadge, { status: deployAction.status, url: deployAction.url, targetId: data.repositoryPath })) : null] })) : null] })) : null, data.onAdd ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { "aria-label": "Add feature", "data-testid": "repository-node-add-button", onClick: (e) => {
42
+ }, className: "nodrag bg-card flex min-w-[18rem] cursor-pointer items-center gap-3 rounded-full border px-4 py-3 shadow-sm", children: [_jsx(Github, { className: "text-muted-foreground h-5 w-5 shrink-0" }), _jsx("span", { "data-testid": "repository-node-name", className: "min-w-0 truncate text-sm font-medium", children: data.name }), _jsxs("div", { className: cn('flex shrink-0 items-center gap-2', (data.repositoryPath ?? data.onAdd) && 'ml-auto'), onClick: (e) => e.stopPropagation(), children: [data.repositoryPath ? (_jsxs(_Fragment, { children: [_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: "Open in IDE", onClick: actions.openInIde, loading: actions.ideLoading, error: !!actions.ideError, icon: Code2, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: "Open in IDE" })] }) }), _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: "Open in Shell", onClick: actions.openInShell, loading: actions.shellLoading, error: !!actions.shellError, icon: Terminal, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: "Open in Shell" })] }) }), _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: "Open Folder", onClick: actions.openFolder, loading: actions.folderLoading, error: !!actions.folderError, icon: FolderOpen, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: "Open Folder" })] }) }), featureFlags.envDeploy ? (_jsxs(_Fragment, { children: [_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "flex items-center", children: _jsx(ActionButton, { label: isDeploymentActive ? 'Stop Dev Server' : 'Start Dev Server', onClick: isDeploymentActive ? deployAction.stop : deployAction.deploy, loading: deployAction.deployLoading || deployAction.stopLoading, error: !!deployAction.deployError, icon: isDeploymentActive ? Square : Play, iconOnly: true, variant: "ghost", size: "icon-xs" }) }) }), _jsx(TooltipContent, { children: isDeploymentActive ? 'Stop Dev Server' : 'Start Dev Server' })] }) }), isDeploymentActive ? (_jsx(DeploymentStatusBadge, { status: deployAction.status, url: deployAction.url, targetId: data.repositoryPath })) : null] })) : null] })) : null, data.onAdd ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { "aria-label": "Add feature", "data-testid": "repository-node-add-button", onClick: (e) => {
44
43
  e.stopPropagation();
45
44
  data.onAdd?.();
46
45
  }, className: cn('text-muted-foreground hover:bg-accent dark:hover:bg-accent/50 flex h-6 w-6 shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors hover:text-blue-500', data.pulseAdd &&
@@ -1 +1 @@
1
- {"version":3,"file":"settings-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,sCAAsC,CAAC;AAyB9C,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AA6QD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,uBAAuB,2CA+1B7F"}
1
+ {"version":3,"file":"settings-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,sCAAsC,CAAC;AAyB9C,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AA6QD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,uBAAuB,2CAi1B7F"}
@@ -132,7 +132,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
132
132
  const [allowMerge, setAllowMerge] = useState(settings.workflow.approvalGateDefaults.allowMerge);
133
133
  const [enableEvidence, setEnableEvidence] = useState(settings.workflow.enableEvidence);
134
134
  const [commitEvidence, setCommitEvidence] = useState(settings.workflow.commitEvidence);
135
- const [ciWatchEnabled, setCiWatchEnabled] = useState(settings.workflow.ciWatchEnabled !== false);
136
135
  const [ciMaxFix, setCiMaxFix] = useState(settings.workflow.ciMaxFixAttempts != null ? String(settings.workflow.ciMaxFixAttempts) : '');
137
136
  const [ciTimeout, setCiTimeout] = useState(settings.workflow.ciWatchTimeoutMs != null
138
137
  ? String(Math.round(settings.workflow.ciWatchTimeoutMs / 1000))
@@ -180,7 +179,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
180
179
  },
181
180
  enableEvidence: overrides.enableEvidence ?? enableEvidence,
182
181
  commitEvidence: overrides.commitEvidence ?? commitEvidence,
183
- ciWatchEnabled: overrides.ciWatchEnabled ?? ciWatchEnabled,
184
182
  ciMaxFixAttempts: parseOptionalInt(overrides.ciMaxFix ?? ciMaxFix),
185
183
  ciWatchTimeoutMs: timeoutSeconds != null ? timeoutSeconds * 1000 : undefined,
186
184
  ciLogMaxChars: parseOptionalInt(overrides.ciLogMax ?? ciLogMax),
@@ -295,9 +293,6 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize }) {
295
293
  else {
296
294
  save(buildWorkflowPayload({ openPr: v }));
297
295
  }
298
- } }), _jsx(SwitchRow, { label: "Watch CI after push", description: "Monitor CI and auto-fix failures. Disable to avoid rate limits.", id: "ci-watch-enabled", testId: "switch-ci-watch-enabled", checked: ciWatchEnabled, onChange: (v) => {
299
- setCiWatchEnabled(v);
300
- save(buildWorkflowPayload({ ciWatchEnabled: v }));
301
296
  } })] }), _jsx(SectionHint, { links: [
302
297
  {
303
298
  label: 'Approval gates',
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAE3E,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,EAAE,QAAQ,EAAE,EAAE,4BAA4B,2CAkRjF"}
1
+ {"version":3,"file":"workflow-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAE3E,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,wBAAgB,uBAAuB,CAAC,EAAE,QAAQ,EAAE,EAAE,4BAA4B,2CAgQjF"}
@@ -15,7 +15,6 @@ export function WorkflowSettingsSection({ workflow }) {
15
15
  const [allowPrd, setAllowPrd] = useState(workflow.approvalGateDefaults.allowPrd);
16
16
  const [allowPlan, setAllowPlan] = useState(workflow.approvalGateDefaults.allowPlan);
17
17
  const [allowMerge, setAllowMerge] = useState(workflow.approvalGateDefaults.allowMerge);
18
- const [ciWatchEnabled, setCiWatchEnabled] = useState(workflow.ciWatchEnabled !== false);
19
18
  const [ciMaxFix, setCiMaxFix] = useState(workflow.ciMaxFixAttempts != null ? String(workflow.ciMaxFixAttempts) : '');
20
19
  const [ciTimeout, setCiTimeout] = useState(workflow.ciWatchTimeoutMs != null ? String(Math.round(workflow.ciWatchTimeoutMs / 1000)) : '');
21
20
  const [ciLogMax, setCiLogMax] = useState(workflow.ciLogMaxChars != null ? String(workflow.ciLogMaxChars) : '');
@@ -47,7 +46,6 @@ export function WorkflowSettingsSection({ workflow }) {
47
46
  allowPlan: overrides.allowPlan ?? allowPlan,
48
47
  allowMerge: overrides.allowMerge ?? allowMerge,
49
48
  },
50
- ciWatchEnabled: overrides.ciWatchEnabled ?? ciWatchEnabled,
51
49
  ciMaxFixAttempts: parseOptionalInt(overrides.ciMaxFix ?? ciMaxFix),
52
50
  ciWatchTimeoutMs: timeoutSeconds != null ? timeoutSeconds * 1000 : undefined,
53
51
  ciLogMaxChars: parseOptionalInt(overrides.ciLogMax ?? ciLogMax),
@@ -74,5 +72,5 @@ export function WorkflowSettingsSection({ workflow }) {
74
72
  const originalCiMaxFix = workflow.ciMaxFixAttempts != null ? String(workflow.ciMaxFixAttempts) : '';
75
73
  const originalCiTimeout = workflow.ciWatchTimeoutMs != null ? String(Math.round(workflow.ciWatchTimeoutMs / 1000)) : '';
76
74
  const originalCiLogMax = workflow.ciLogMaxChars != null ? String(workflow.ciLogMaxChars) : '';
77
- return (_jsxs(Card, { id: "workflow", className: "scroll-mt-6", "data-testid": "workflow-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(GitBranch, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Workflow" })] }), isPending ? _jsx("span", { className: "text-muted-foreground text-xs", children: "Saving..." }) : null, showSaved && !isPending ? (_jsxs("span", { className: "flex items-center gap-1 text-xs text-green-600", children: [_jsx(Check, { className: "h-3 w-3" }), "Saved"] })) : null] }), _jsx(CardDescription, { children: "Configure PR behavior, approval gates, and CI settings" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "open-pr", children: "Open PR on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Automatically create a pull request when the agent finishes" })] }), _jsx(Switch, { id: "open-pr", "data-testid": "switch-open-pr", checked: openPr, onCheckedChange: (v) => handleSwitchChange('openPr', setOpenPr, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "push-on-complete", children: "Push on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Push the branch to remote when implementation is done" })] }), _jsx(Switch, { id: "push-on-complete", "data-testid": "switch-push-on-complete", checked: pushOnComplete, onCheckedChange: (v) => handleSwitchChange('pushOnComplete', setPushOnComplete, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Approval Gates" }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-prd", children: "PRD auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for product requirement documents" })] }), _jsx(Switch, { id: "allow-prd", "data-testid": "switch-allow-prd", checked: allowPrd, onCheckedChange: (v) => handleSwitchChange('allowPrd', setAllowPrd, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-plan", children: "Plan auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for implementation plans" })] }), _jsx(Switch, { id: "allow-plan", "data-testid": "switch-allow-plan", checked: allowPlan, onCheckedChange: (v) => handleSwitchChange('allowPlan', setAllowPlan, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-merge", children: "Merge auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for PR merges" })] }), _jsx(Switch, { id: "allow-merge", "data-testid": "switch-allow-merge", checked: allowMerge, onCheckedChange: (v) => handleSwitchChange('allowMerge', setAllowMerge, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "CI Settings" }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "ci-watch-enabled", children: "CI watch/fix loop" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Watch CI status after push and auto-fix failures. Disable to avoid GitHub API rate limits." })] }), _jsx(Switch, { id: "ci-watch-enabled", "data-testid": "switch-ci-watch-enabled", checked: ciWatchEnabled, onCheckedChange: (v) => handleSwitchChange('ciWatchEnabled', setCiWatchEnabled, v) })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-max-fix", children: "Max fix attempts" }), _jsx(Input, { id: "ci-max-fix", "data-testid": "ci-max-fix-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", min: 1, max: 10, placeholder: "e.g., 3", value: ciMaxFix, onChange: (e) => setCiMaxFix(e.target.value), onBlur: () => handleCiFieldBlur('ciMaxFix', ciMaxFix, originalCiMaxFix) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How many times the agent retries fixing CI failures" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-timeout", children: "Watch timeout (seconds)" }), _jsx(Input, { id: "ci-timeout", "data-testid": "ci-timeout-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 300", value: ciTimeout, onChange: (e) => setCiTimeout(e.target.value), onBlur: () => handleCiFieldBlur('ciTimeout', ciTimeout, originalCiTimeout) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How long to wait for CI to complete before timing out" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-log-max", children: "Max log characters" }), _jsx(Input, { id: "ci-log-max", "data-testid": "ci-log-max-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 50000", value: ciLogMax, onChange: (e) => setCiLogMax(e.target.value), onBlur: () => handleCiFieldBlur('ciLogMax', ciLogMax, originalCiLogMax) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum characters to capture from CI logs" })] })] })] })] }));
75
+ return (_jsxs(Card, { id: "workflow", className: "scroll-mt-6", "data-testid": "workflow-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(GitBranch, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Workflow" })] }), isPending ? _jsx("span", { className: "text-muted-foreground text-xs", children: "Saving..." }) : null, showSaved && !isPending ? (_jsxs("span", { className: "flex items-center gap-1 text-xs text-green-600", children: [_jsx(Check, { className: "h-3 w-3" }), "Saved"] })) : null] }), _jsx(CardDescription, { children: "Configure PR behavior, approval gates, and CI settings" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-3", children: [_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "open-pr", children: "Open PR on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Automatically create a pull request when the agent finishes" })] }), _jsx(Switch, { id: "open-pr", "data-testid": "switch-open-pr", checked: openPr, onCheckedChange: (v) => handleSwitchChange('openPr', setOpenPr, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "push-on-complete", children: "Push on implementation complete" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Push the branch to remote when implementation is done" })] }), _jsx(Switch, { id: "push-on-complete", "data-testid": "switch-push-on-complete", checked: pushOnComplete, onCheckedChange: (v) => handleSwitchChange('pushOnComplete', setPushOnComplete, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Approval Gates" }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-prd", children: "PRD auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for product requirement documents" })] }), _jsx(Switch, { id: "allow-prd", "data-testid": "switch-allow-prd", checked: allowPrd, onCheckedChange: (v) => handleSwitchChange('allowPrd', setAllowPrd, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-plan", children: "Plan auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for implementation plans" })] }), _jsx(Switch, { id: "allow-plan", "data-testid": "switch-allow-plan", checked: allowPlan, onCheckedChange: (v) => handleSwitchChange('allowPlan', setAllowPlan, v) })] }), _jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsxs("div", { className: "space-y-0.5", children: [_jsx(Label, { htmlFor: "allow-merge", children: "Merge auto-approval" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Skip manual approval for PR merges" })] }), _jsx(Switch, { id: "allow-merge", "data-testid": "switch-allow-merge", checked: allowMerge, onCheckedChange: (v) => handleSwitchChange('allowMerge', setAllowMerge, v) })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "CI Settings" }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-max-fix", children: "Max fix attempts" }), _jsx(Input, { id: "ci-max-fix", "data-testid": "ci-max-fix-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", min: 1, max: 10, placeholder: "e.g., 3", value: ciMaxFix, onChange: (e) => setCiMaxFix(e.target.value), onBlur: () => handleCiFieldBlur('ciMaxFix', ciMaxFix, originalCiMaxFix) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How many times the agent retries fixing CI failures" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-timeout", children: "Watch timeout (seconds)" }), _jsx(Input, { id: "ci-timeout", "data-testid": "ci-timeout-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 300", value: ciTimeout, onChange: (e) => setCiTimeout(e.target.value), onBlur: () => handleCiFieldBlur('ciTimeout', ciTimeout, originalCiTimeout) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How long to wait for CI to complete before timing out" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-log-max", children: "Max log characters" }), _jsx(Input, { id: "ci-log-max", "data-testid": "ci-log-max-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 50000", value: ciLogMax, onChange: (e) => setCiLogMax(e.target.value), onBlur: () => handleCiFieldBlur('ciLogMax', ciLogMax, originalCiLogMax) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum characters to capture from CI logs" })] })] })] })] }));
78
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,QAAA,MAAM,IAAI;;;;;;;CAOsC,CAAC;AAEjD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAkB5B,CAAC"}
1
+ {"version":3,"file":"workflow-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,QAAA,MAAM,IAAI;;;;;;;CAOsC,CAAC;AAEjD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAiBxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAiB5B,CAAC"}
@@ -18,7 +18,6 @@ export const Default = {
18
18
  allowMerge: false,
19
19
  pushOnImplementationComplete: false,
20
20
  },
21
- ciWatchEnabled: true,
22
21
  enableEvidence: false,
23
22
  commitEvidence: false,
24
23
  },
@@ -37,7 +36,6 @@ export const AllEnabled = {
37
36
  ciMaxFixAttempts: 3,
38
37
  ciWatchTimeoutMs: 300000,
39
38
  ciLogMaxChars: 50000,
40
- ciWatchEnabled: true,
41
39
  enableEvidence: true,
42
40
  commitEvidence: true,
43
41
  },
@@ -56,7 +54,6 @@ export const WithCiSettings = {
56
54
  ciMaxFixAttempts: 5,
57
55
  ciWatchTimeoutMs: 600000,
58
56
  ciLogMaxChars: 100000,
59
- ciWatchEnabled: true,
60
57
  enableEvidence: false,
61
58
  commitEvidence: false,
62
59
  },