@shepai/cli 1.118.0-pr381.402b548 → 1.119.0-pr381.415b252

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 (339) hide show
  1. package/apis/json-schema/PhaseTiming.yaml +22 -1
  2. package/apis/json-schema/WorkflowConfig.yaml +5 -0
  3. package/dist/packages/core/src/application/ports/output/agents/agent-session-repository.interface.d.ts +2 -0
  4. package/dist/packages/core/src/application/ports/output/agents/agent-session-repository.interface.d.ts.map +1 -1
  5. package/dist/packages/core/src/application/ports/output/agents/phase-timing-repository.interface.d.ts +3 -3
  6. package/dist/packages/core/src/application/ports/output/agents/phase-timing-repository.interface.d.ts.map +1 -1
  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 +1 -0
  9. package/dist/packages/core/src/domain/generated/output.d.ts +33 -1
  10. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  11. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +1 -0
  12. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  13. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +2 -0
  14. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/037-add-ci-watch-enabled.d.ts +11 -0
  15. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/037-add-ci-watch-enabled.d.ts.map +1 -0
  16. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/037-add-ci-watch-enabled.js +15 -0
  17. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/038-add-phase-execution-metadata.d.ts +11 -0
  18. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/038-add-phase-execution-metadata.d.ts.map +1 -0
  19. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/038-add-phase-execution-metadata.js +27 -0
  20. package/dist/packages/core/src/infrastructure/repositories/sqlite-phase-timing.repository.d.ts +1 -1
  21. package/dist/packages/core/src/infrastructure/repositories/sqlite-phase-timing.repository.d.ts.map +1 -1
  22. package/dist/packages/core/src/infrastructure/repositories/sqlite-phase-timing.repository.js +32 -0
  23. package/dist/packages/core/src/infrastructure/services/agents/common/executors/cursor-executor.service.d.ts.map +1 -1
  24. package/dist/packages/core/src/infrastructure/services/agents/common/executors/cursor-executor.service.js +38 -5
  25. package/dist/packages/core/src/infrastructure/services/agents/common/executors/dev-executor.service.d.ts.map +1 -1
  26. package/dist/packages/core/src/infrastructure/services/agents/common/executors/dev-executor.service.js +8 -1
  27. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.d.ts.map +1 -1
  28. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.js +29 -7
  29. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  30. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +19 -8
  31. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/phase-timing-context.d.ts +17 -3
  32. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/phase-timing-context.d.ts.map +1 -1
  33. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/phase-timing-context.js +11 -3
  34. package/dist/packages/core/src/infrastructure/services/agents/sessions/claude-code-session.repository.d.ts +7 -0
  35. package/dist/packages/core/src/infrastructure/services/agents/sessions/claude-code-session.repository.d.ts.map +1 -1
  36. package/dist/packages/core/src/infrastructure/services/agents/sessions/claude-code-session.repository.js +35 -11
  37. package/dist/src/presentation/web/app/(dashboard)/@drawer/create/page.d.ts +1 -0
  38. package/dist/src/presentation/web/app/(dashboard)/@drawer/create/page.d.ts.map +1 -1
  39. package/dist/src/presentation/web/app/(dashboard)/@drawer/create/page.js +2 -2
  40. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.d.ts.map +1 -1
  41. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +1 -0
  42. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/page.d.ts.map +1 -1
  43. package/dist/src/presentation/web/app/(dashboard)/@drawer/feature/[featureId]/page.js +1 -0
  44. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
  45. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +1 -0
  46. package/dist/src/presentation/web/app/actions/get-feature-phase-timings.d.ts +2 -0
  47. package/dist/src/presentation/web/app/actions/get-feature-phase-timings.d.ts.map +1 -1
  48. package/dist/src/presentation/web/app/actions/get-feature-phase-timings.js +2 -0
  49. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +1 -0
  50. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
  51. package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +1 -0
  52. package/dist/src/presentation/web/app/api/sessions/route.d.ts +24 -0
  53. package/dist/src/presentation/web/app/api/sessions/route.d.ts.map +1 -0
  54. package/dist/src/presentation/web/app/api/sessions/route.js +230 -0
  55. package/dist/src/presentation/web/app/build-feature-node-data.d.ts +2 -0
  56. package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
  57. package/dist/src/presentation/web/app/build-feature-node-data.js +1 -0
  58. package/dist/src/presentation/web/app/build-graph-nodes.d.ts +2 -0
  59. package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
  60. package/dist/src/presentation/web/app/build-graph-nodes.js +11 -0
  61. package/dist/src/presentation/web/components/common/control-center-drawer/create-drawer-client.d.ts +2 -1
  62. package/dist/src/presentation/web/components/common/control-center-drawer/create-drawer-client.d.ts.map +1 -1
  63. package/dist/src/presentation/web/components/common/control-center-drawer/create-drawer-client.js +2 -2
  64. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +4 -1
  65. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  66. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +16 -3
  67. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
  68. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +1 -0
  69. package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.d.ts.map +1 -1
  70. package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.js +36 -10
  71. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.js +2 -1
  72. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +4 -0
  73. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  74. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  75. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +2 -1
  76. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.d.ts +21 -0
  77. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.d.ts.map +1 -0
  78. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.js +138 -0
  79. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.stories.d.ts +9 -0
  80. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.stories.d.ts.map +1 -0
  81. package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.stories.js +77 -0
  82. package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -1
  83. package/dist/src/presentation/web/components/common/repository-node/repository-node.js +35 -2
  84. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  85. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +5 -0
  86. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +1 -1
  87. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +3 -1
  88. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +1 -1
  89. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +3 -0
  90. package/dist/tsconfig.build.tsbuildinfo +1 -1
  91. package/package.json +1 -1
  92. package/web/.next/BUILD_ID +1 -1
  93. package/web/.next/app-path-routes-manifest.json +1 -0
  94. package/web/.next/build-manifest.json +2 -2
  95. package/web/.next/fallback-build-manifest.json +2 -2
  96. package/web/.next/prerender-manifest.json +3 -3
  97. package/web/.next/required-server-files.js +2 -2
  98. package/web/.next/required-server-files.json +2 -2
  99. package/web/.next/routes-manifest.json +6 -0
  100. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +21 -21
  101. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +2 -2
  102. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  103. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  104. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +27 -27
  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/server-reference-manifest.json +27 -27
  109. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -3
  110. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  111. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  112. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +19 -19
  113. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +2 -2
  114. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  115. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  116. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +21 -21
  117. package/web/.next/server/app/(dashboard)/create/page.js +2 -2
  118. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  119. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  120. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +27 -27
  121. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -3
  122. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  123. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  124. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +27 -27
  125. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -3
  126. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  127. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  128. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +19 -19
  129. package/web/.next/server/app/(dashboard)/page.js +2 -2
  130. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  131. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  132. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +19 -19
  133. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +2 -2
  134. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  135. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  136. package/web/.next/server/app/_global-error.html +2 -2
  137. package/web/.next/server/app/_global-error.rsc +1 -1
  138. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  139. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  140. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  141. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  142. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  143. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
  144. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  145. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  146. package/web/.next/server/app/api/attachments/preview/route.js +1 -1
  147. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  148. package/web/.next/server/app/api/evidence/route.js +1 -1
  149. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  150. package/web/.next/server/app/api/graph-data/route.js +1 -1
  151. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  152. package/web/.next/server/app/api/sessions/route/app-paths-manifest.json +3 -0
  153. package/web/.next/server/app/api/sessions/route/build-manifest.json +11 -0
  154. package/web/.next/server/app/api/sessions/route/server-reference-manifest.json +4 -0
  155. package/web/.next/server/app/api/sessions/route.js +7 -0
  156. package/web/.next/server/app/api/sessions/route.js.map +5 -0
  157. package/web/.next/server/app/api/sessions/route.js.nft.json +1 -0
  158. package/web/.next/server/app/api/sessions/route_client-reference-manifest.js +2 -0
  159. package/web/.next/server/app/settings/page/server-reference-manifest.json +6 -6
  160. package/web/.next/server/app/settings/page.js +1 -1
  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/server-reference-manifest.json +6 -6
  164. package/web/.next/server/app/skills/page.js +1 -1
  165. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  166. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  167. package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
  168. package/web/.next/server/app/tools/page.js +1 -1
  169. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  170. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  171. package/web/.next/server/app/version/page/server-reference-manifest.json +1 -1
  172. package/web/.next/server/app/version/page.js +1 -1
  173. package/web/.next/server/app/version/page.js.nft.json +1 -1
  174. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  175. package/web/.next/server/app-paths-manifest.json +1 -0
  176. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  177. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  178. package/web/.next/server/chunks/[root-of-the-server]__0fe7788d._.js +3 -0
  179. package/web/.next/server/chunks/[root-of-the-server]__0fe7788d._.js.map +1 -0
  180. package/web/.next/server/chunks/[root-of-the-server]__42b7ab55._.js +3 -0
  181. package/web/.next/server/chunks/[root-of-the-server]__42b7ab55._.js.map +1 -0
  182. package/web/.next/server/chunks/{[root-of-the-server]__7d63f9a4._.js → [root-of-the-server]__53013576._.js} +2 -2
  183. package/web/.next/server/chunks/{[root-of-the-server]__a1c7c02a._.js → [root-of-the-server]__92078db6._.js} +2 -2
  184. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  185. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  186. package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_sessions_route_actions_c041a889.js +3 -0
  187. package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_sessions_route_actions_c041a889.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_ed372306.js +1 -1
  191. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_ed372306.js.map +1 -1
  192. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_32e26434.js +1 -1
  193. package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_32e26434.js.map +1 -1
  194. package/web/.next/server/chunks/ssr/{[root-of-the-server]__07a39ff2._.js → [root-of-the-server]__06fef644._.js} +2 -2
  195. package/web/.next/server/chunks/ssr/{[root-of-the-server]__07a39ff2._.js.map → [root-of-the-server]__06fef644._.js.map} +1 -1
  196. package/web/.next/server/chunks/ssr/[root-of-the-server]__3b14e5a0._.js +3 -0
  197. package/web/.next/server/chunks/ssr/[root-of-the-server]__3b14e5a0._.js.map +1 -0
  198. package/web/.next/server/chunks/ssr/[root-of-the-server]__545792ab._.js +3 -0
  199. package/web/.next/server/chunks/ssr/[root-of-the-server]__545792ab._.js.map +1 -0
  200. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
  201. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
  202. package/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js +1 -1
  203. package/web/.next/server/chunks/ssr/[root-of-the-server]__6b17a22d._.js.map +1 -1
  204. package/web/.next/server/chunks/ssr/[root-of-the-server]__6bb00d90._.js +2 -2
  205. package/web/.next/server/chunks/ssr/[root-of-the-server]__6bb00d90._.js.map +1 -1
  206. package/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js +1 -1
  207. package/web/.next/server/chunks/ssr/[root-of-the-server]__804c006d._.js.map +1 -1
  208. package/web/.next/server/chunks/ssr/[root-of-the-server]__8b59c03e._.js +3 -0
  209. package/web/.next/server/chunks/ssr/[root-of-the-server]__8b59c03e._.js.map +1 -0
  210. package/web/.next/server/chunks/ssr/[root-of-the-server]__8c553503._.js +4 -0
  211. package/web/.next/server/chunks/ssr/{[root-of-the-server]__2ff2daf6._.js.map → [root-of-the-server]__8c553503._.js.map} +1 -1
  212. package/web/.next/server/chunks/ssr/[root-of-the-server]__994ad9fe._.js +3 -0
  213. package/web/.next/server/chunks/ssr/[root-of-the-server]__994ad9fe._.js.map +1 -0
  214. package/web/.next/server/chunks/ssr/[root-of-the-server]__9f155c0e._.js +3 -0
  215. package/web/.next/server/chunks/ssr/[root-of-the-server]__9f155c0e._.js.map +1 -0
  216. package/web/.next/server/chunks/ssr/[root-of-the-server]__a022445f._.js +4 -0
  217. package/web/.next/server/chunks/ssr/[root-of-the-server]__a022445f._.js.map +1 -0
  218. package/web/.next/server/chunks/ssr/[root-of-the-server]__a7de2711._.js +4 -0
  219. package/web/.next/server/chunks/ssr/[root-of-the-server]__a7de2711._.js.map +1 -0
  220. package/web/.next/server/chunks/ssr/[root-of-the-server]__b724df9e._.js +3 -0
  221. package/web/.next/server/chunks/ssr/[root-of-the-server]__b724df9e._.js.map +1 -0
  222. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
  223. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
  224. package/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js +1 -1
  225. package/web/.next/server/chunks/ssr/[root-of-the-server]__c9777776._.js.map +1 -1
  226. package/web/.next/server/chunks/ssr/[root-of-the-server]__c9c1cfee._.js +3 -0
  227. package/web/.next/server/chunks/ssr/[root-of-the-server]__c9c1cfee._.js.map +1 -0
  228. package/web/.next/server/chunks/ssr/_135edb9c._.js +1 -1
  229. package/web/.next/server/chunks/ssr/_135edb9c._.js.map +1 -1
  230. package/web/.next/server/chunks/ssr/_1bb131c4._.js.map +1 -1
  231. package/web/.next/server/chunks/ssr/_1bb79fe8._.js +3 -0
  232. package/web/.next/server/chunks/ssr/_1bb79fe8._.js.map +1 -0
  233. package/web/.next/server/chunks/ssr/_2f6f48b8._.js +1 -1
  234. package/web/.next/server/chunks/ssr/_2f6f48b8._.js.map +1 -1
  235. package/web/.next/server/chunks/ssr/_435cd61a._.js +3 -0
  236. package/web/.next/server/chunks/ssr/_435cd61a._.js.map +1 -0
  237. package/web/.next/server/chunks/ssr/_75f4ccb3._.js +3 -0
  238. package/web/.next/server/chunks/ssr/_75f4ccb3._.js.map +1 -0
  239. package/web/.next/server/chunks/ssr/_ab069e13._.js +3 -0
  240. package/web/.next/server/chunks/ssr/_ab069e13._.js.map +1 -0
  241. package/web/.next/server/chunks/ssr/_c016175b._.js +3 -0
  242. package/web/.next/server/chunks/ssr/_c016175b._.js.map +1 -0
  243. package/web/.next/server/chunks/ssr/{_328ec309._.js → _c6b80726._.js} +2 -2
  244. package/web/.next/server/chunks/ssr/_c6b80726._.js.map +1 -0
  245. package/web/.next/server/chunks/ssr/_cc77a143._.js +1 -1
  246. package/web/.next/server/chunks/ssr/_cc77a143._.js.map +1 -1
  247. package/web/.next/server/chunks/ssr/_f605354c._.js +9 -0
  248. package/web/.next/server/chunks/ssr/_f605354c._.js.map +1 -0
  249. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  250. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  251. package/web/.next/server/chunks/ssr/node_modules__pnpm_b59e4b16._.js +3 -0
  252. package/web/.next/server/chunks/ssr/node_modules__pnpm_b59e4b16._.js.map +1 -0
  253. package/web/.next/server/chunks/ssr/src_presentation_web_0835b28e._.js +2 -2
  254. package/web/.next/server/chunks/ssr/src_presentation_web_0835b28e._.js.map +1 -1
  255. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_e99d78dd.js +1 -1
  256. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_e99d78dd.js.map +1 -1
  257. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +1 -1
  258. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -1
  259. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +1 -1
  260. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -1
  261. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  262. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  263. package/web/.next/server/chunks/ssr/src_presentation_web_components_bdcfba35._.js +3 -0
  264. package/web/.next/server/chunks/ssr/src_presentation_web_components_bdcfba35._.js.map +1 -0
  265. package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js +1 -1
  266. package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js +1 -1
  267. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  268. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  269. package/web/.next/server/chunks/ssr/src_presentation_web_e8034a29._.js +2 -2
  270. package/web/.next/server/chunks/ssr/src_presentation_web_e8034a29._.js.map +1 -1
  271. package/web/.next/server/pages/500.html +2 -2
  272. package/web/.next/server/server-reference-manifest.js +1 -1
  273. package/web/.next/server/server-reference-manifest.json +33 -33
  274. package/web/.next/static/chunks/{8abac7707fa570d4.js → 0f070bdb053b3579.js} +2 -2
  275. package/web/.next/static/chunks/139f46d14f2be0a6.js +1 -0
  276. package/web/.next/static/chunks/{f3afa7e73e477098.js → 3b27bd39bf11f076.js} +1 -1
  277. package/web/.next/static/chunks/418128e3931a55f3.js +1 -0
  278. package/web/.next/static/chunks/4562ee849ea13c3a.js +1 -0
  279. package/web/.next/static/chunks/{80756b33fba5cf0c.js → 485dfa2b1ba874ef.js} +1 -1
  280. package/web/.next/static/chunks/{da81c0c951208327.js → 66c4848bc7b13df8.js} +1 -1
  281. package/web/.next/static/chunks/{b5dae8fa9a8c6ac2.js → 7eb1d12ff4e0a545.js} +1 -1
  282. package/web/.next/static/chunks/845d8e58a91014e6.js +1 -0
  283. package/web/.next/static/chunks/96049ca80ceb10f0.js +11 -0
  284. package/web/.next/static/chunks/bb03051ee7c01e64.js +2 -0
  285. package/web/.next/static/chunks/cca0f5112a9260d8.js +1 -0
  286. package/web/.next/static/chunks/d2739454715e5ef2.css +1 -0
  287. package/web/.next/static/chunks/d8d23303021cea22.js +1 -0
  288. package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.js +0 -3
  289. package/web/.next/server/chunks/[root-of-the-server]__7d5492a0._.js.map +0 -1
  290. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_rocket_1575cd4d.js +0 -3
  291. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_rocket_1575cd4d.js.map +0 -1
  292. package/web/.next/server/chunks/ssr/[root-of-the-server]__2ff2daf6._.js +0 -4
  293. package/web/.next/server/chunks/ssr/[root-of-the-server]__3155add4._.js +0 -3
  294. package/web/.next/server/chunks/ssr/[root-of-the-server]__3155add4._.js.map +0 -1
  295. package/web/.next/server/chunks/ssr/[root-of-the-server]__6367aea0._.js +0 -3
  296. package/web/.next/server/chunks/ssr/[root-of-the-server]__6367aea0._.js.map +0 -1
  297. package/web/.next/server/chunks/ssr/[root-of-the-server]__7b707feb._.js +0 -4
  298. package/web/.next/server/chunks/ssr/[root-of-the-server]__7b707feb._.js.map +0 -1
  299. package/web/.next/server/chunks/ssr/[root-of-the-server]__8763fd7a._.js +0 -4
  300. package/web/.next/server/chunks/ssr/[root-of-the-server]__8763fd7a._.js.map +0 -1
  301. package/web/.next/server/chunks/ssr/[root-of-the-server]__9c56d724._.js +0 -3
  302. package/web/.next/server/chunks/ssr/[root-of-the-server]__9c56d724._.js.map +0 -1
  303. package/web/.next/server/chunks/ssr/[root-of-the-server]__cfc116d5._.js +0 -3
  304. package/web/.next/server/chunks/ssr/[root-of-the-server]__cfc116d5._.js.map +0 -1
  305. package/web/.next/server/chunks/ssr/[root-of-the-server]__d3841d9e._.js +0 -3
  306. package/web/.next/server/chunks/ssr/[root-of-the-server]__d3841d9e._.js.map +0 -1
  307. package/web/.next/server/chunks/ssr/[root-of-the-server]__db9afe04._.js +0 -3
  308. package/web/.next/server/chunks/ssr/[root-of-the-server]__db9afe04._.js.map +0 -1
  309. package/web/.next/server/chunks/ssr/_250a63ae._.js +0 -3
  310. package/web/.next/server/chunks/ssr/_250a63ae._.js.map +0 -1
  311. package/web/.next/server/chunks/ssr/_273d4632._.js +0 -3
  312. package/web/.next/server/chunks/ssr/_273d4632._.js.map +0 -1
  313. package/web/.next/server/chunks/ssr/_328ec309._.js.map +0 -1
  314. package/web/.next/server/chunks/ssr/_79c13a4c._.js +0 -3
  315. package/web/.next/server/chunks/ssr/_79c13a4c._.js.map +0 -1
  316. package/web/.next/server/chunks/ssr/_922aa39f._.js +0 -3
  317. package/web/.next/server/chunks/ssr/_922aa39f._.js.map +0 -1
  318. package/web/.next/server/chunks/ssr/_a68d7e1c._.js +0 -9
  319. package/web/.next/server/chunks/ssr/_a68d7e1c._.js.map +0 -1
  320. package/web/.next/server/chunks/ssr/_f5316e67._.js +0 -3
  321. package/web/.next/server/chunks/ssr/_f5316e67._.js.map +0 -1
  322. package/web/.next/server/chunks/ssr/_f70781c5._.js +0 -3
  323. package/web/.next/server/chunks/ssr/_f70781c5._.js.map +0 -1
  324. package/web/.next/server/chunks/ssr/src_presentation_web_components_a5e6c910._.js +0 -3
  325. package/web/.next/server/chunks/ssr/src_presentation_web_components_a5e6c910._.js.map +0 -1
  326. package/web/.next/static/chunks/0b3964436e809492.js +0 -1
  327. package/web/.next/static/chunks/35304f98003207af.js +0 -1
  328. package/web/.next/static/chunks/3a806cf059241bc9.js +0 -1
  329. package/web/.next/static/chunks/55c131b6fc504375.js +0 -1
  330. package/web/.next/static/chunks/62a8173911f8f130.css +0 -1
  331. package/web/.next/static/chunks/b1f3c0e8e9872ef8.js +0 -1
  332. package/web/.next/static/chunks/b76e77e6c165994d.js +0 -11
  333. package/web/.next/static/chunks/bd9285d40fe75608.js +0 -2
  334. package/web/.next/static/chunks/dff51e1d6c46ad32.js +0 -1
  335. /package/web/.next/server/chunks/{[root-of-the-server]__7d63f9a4._.js.map → [root-of-the-server]__53013576._.js.map} +0 -0
  336. /package/web/.next/server/chunks/{[root-of-the-server]__a1c7c02a._.js.map → [root-of-the-server]__92078db6._.js.map} +0 -0
  337. /package/web/.next/static/{LW_LUGRZfraMxIlSZq4Q- → VKrxBSI0iPzA7QL_Xgt6y}/_buildManifest.js +0 -0
  338. /package/web/.next/static/{LW_LUGRZfraMxIlSZq4Q- → VKrxBSI0iPzA7QL_Xgt6y}/_clientMiddlewareManifest.json +0 -0
  339. /package/web/.next/static/{LW_LUGRZfraMxIlSZq4Q- → VKrxBSI0iPzA7QL_Xgt6y}/_ssgManifest.js +0 -0
@@ -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":"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"}
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,EAQL,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,SAAS,GACT,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,MAAM,qBAAqB,GAC7B,SAAS,GACT,cAAc,GACd,UAAU,GACV,gBAAgB,GAChB,QAAQ,GACR,QAAQ,GACR,UAAU,CAAC;AAEf,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAQxE,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAQvE,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,MAAM,CAAC;IACjB,8CAA8C;IAC9C,cAAc,EAAE,MAAM,CAAC;IACvB,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,EAAE,CAAC,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,QAAQ,CAAC;QACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,yDAAyD;IACzD,aAAa,CAAC,EAAE;QACd,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,4DAA4D;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gDAAgD;IAChD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sDAAsD;IACtD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,8DAA8D;IAC9D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mDAAmD;IACnD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kDAAkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,UAAU,CAAC,EAAE;QACX,MAAM,EAAE,eAAe,CAAC;QACxB,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,aAAa,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACnF,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAEnE,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,UAAU,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,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,CAiFnF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA4DnE,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,2CAyUA"}
1
+ {"version":3,"file":"feature-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-node.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA6DnE,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,2CA8UA"}
@@ -10,6 +10,7 @@ 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';
13
14
  function AgentIcon({ agentType, className }) {
14
15
  const IconComponent = getAgentTypeIcon(agentType);
15
16
  return _jsx(IconComponent, { className: className });
@@ -88,7 +89,7 @@ export function FeatureNode({ data, selected, }) {
88
89
  ? 'bg-blue-50 text-blue-700'
89
90
  : '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
90
91
  ? 'Deploying...'
91
- : (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: (() => {
92
+ : (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: (() => {
92
93
  const override = getActionRequiredBadgeClasses(data);
93
94
  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);
94
95
  })(), children: [(() => {
@@ -0,0 +1,21 @@
1
+ export interface SessionSummary {
2
+ id: string;
3
+ agentType?: string;
4
+ preview: string | null;
5
+ messageCount: number;
6
+ firstMessageAt: string | null;
7
+ lastMessageAt: string | null;
8
+ createdAt: string | null;
9
+ projectPath: string;
10
+ /** Absolute path to the session conversation file (e.g. JSONL) */
11
+ filePath?: string;
12
+ }
13
+ interface FeatureSessionsDropdownProps {
14
+ repositoryPath: string;
15
+ className?: string;
16
+ /** Callback to create a feature from a session. Only shown on repo nodes. */
17
+ onCreateFromSession?: (session: SessionSummary, sessionFilePath: string) => void;
18
+ }
19
+ export declare function FeatureSessionsDropdown({ repositoryPath, className, onCreateFromSession, }: FeatureSessionsDropdownProps): import("react/jsx-runtime").JSX.Element;
20
+ export {};
21
+ //# sourceMappingURL=feature-sessions-dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-sessions-dropdown.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-sessions-dropdown.tsx"],"names":[],"mappings":"AA8BA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,4BAA4B;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;CAClF;AAmDD,wBAAgB,uBAAuB,CAAC,EACtC,cAAc,EACd,SAAS,EACT,mBAAmB,GACpB,EAAE,4BAA4B,2CA2J9B"}
@@ -0,0 +1,138 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { useState, useCallback, useEffect, useRef } from 'react';
4
+ import { History, Copy, ExternalLink, Terminal, MessageSquare, Clock, Loader2, ChevronDown, Sparkles, } from 'lucide-react';
5
+ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, DropdownMenuPortal, } from '../../ui/dropdown-menu.js';
6
+ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../../ui/tooltip.js';
7
+ import { cn } from '../../../lib/utils.js';
8
+ import { getAgentTypeIcon } from '../../common/feature-node/agent-type-icons.js';
9
+ const ACTIVE_THRESHOLD_MS = 5 * 60 * 1000; // 5 minutes
10
+ const PREVIEW_COUNT = 3;
11
+ function isSessionActive(session) {
12
+ if (!session.lastMessageAt)
13
+ return false;
14
+ return Date.now() - new Date(session.lastMessageAt).getTime() < ACTIVE_THRESHOLD_MS;
15
+ }
16
+ function formatRelativeTime(dateStr) {
17
+ const date = new Date(dateStr);
18
+ const now = new Date();
19
+ const diffMs = now.getTime() - date.getTime();
20
+ const diffMins = Math.floor(diffMs / 60_000);
21
+ const diffHours = Math.floor(diffMs / 3_600_000);
22
+ const diffDays = Math.floor(diffMs / 86_400_000);
23
+ if (diffMins < 1)
24
+ return 'just now';
25
+ if (diffMins < 60)
26
+ return `${diffMins}m ago`;
27
+ if (diffHours < 24)
28
+ return `${diffHours}h ago`;
29
+ if (diffDays < 7)
30
+ return `${diffDays}d ago`;
31
+ return date.toLocaleDateString();
32
+ }
33
+ function truncatePreview(preview, maxLength = 40) {
34
+ if (!preview)
35
+ return 'No preview';
36
+ if (preview.length <= maxLength)
37
+ return preview;
38
+ return `${preview.slice(0, maxLength)}...`;
39
+ }
40
+ async function copyToClipboard(text) {
41
+ try {
42
+ await navigator.clipboard.writeText(text);
43
+ }
44
+ catch {
45
+ const textarea = document.createElement('textarea');
46
+ textarea.value = text;
47
+ textarea.style.position = 'fixed';
48
+ textarea.style.opacity = '0';
49
+ document.body.appendChild(textarea);
50
+ textarea.select();
51
+ document.execCommand('copy');
52
+ document.body.removeChild(textarea);
53
+ }
54
+ }
55
+ /** Stop both click and pointerDown from reaching React Flow's node selection handler */
56
+ function stopNodeEvent(e) {
57
+ e.stopPropagation();
58
+ }
59
+ export function FeatureSessionsDropdown({ repositoryPath, className, onCreateFromSession, }) {
60
+ const [sessions, setSessions] = useState([]);
61
+ const [loading, setLoading] = useState(false);
62
+ const [fetched, setFetched] = useState(false);
63
+ const [hasActiveSessions, setHasActiveSessions] = useState(false);
64
+ const [expanded, setExpanded] = useState(false);
65
+ const prevPathRef = useRef(repositoryPath);
66
+ // Reset when path changes
67
+ useEffect(() => {
68
+ if (prevPathRef.current !== repositoryPath) {
69
+ prevPathRef.current = repositoryPath;
70
+ setSessions([]);
71
+ setFetched(false);
72
+ setHasActiveSessions(false);
73
+ setExpanded(false);
74
+ }
75
+ }, [repositoryPath]);
76
+ // Fetch sessions on mount. Fast because we only scan the matching project directory.
77
+ // Populates count badge + active indicator, and pre-loads the dropdown.
78
+ useEffect(() => {
79
+ let cancelled = false;
80
+ const params = new URLSearchParams({ repositoryPath, limit: '10' });
81
+ fetch(`/api/sessions?${params.toString()}`)
82
+ .then((res) => (res.ok ? res.json() : null))
83
+ .then((data) => {
84
+ if (!cancelled && data?.sessions) {
85
+ setSessions(data.sessions);
86
+ setHasActiveSessions(data.sessions.some(isSessionActive));
87
+ setFetched(true);
88
+ }
89
+ })
90
+ .catch(() => undefined);
91
+ return () => {
92
+ cancelled = true;
93
+ };
94
+ }, [repositoryPath]);
95
+ // Re-fetch on dropdown open if not already loaded (e.g. path changed)
96
+ const doFetch = useCallback(async () => {
97
+ if (fetched)
98
+ return;
99
+ setLoading(true);
100
+ try {
101
+ const params = new URLSearchParams({ repositoryPath, limit: '10' });
102
+ const res = await fetch(`/api/sessions?${params.toString()}`);
103
+ if (res.ok) {
104
+ const data = (await res.json());
105
+ setSessions(data.sessions);
106
+ setHasActiveSessions(data.sessions.some(isSessionActive));
107
+ }
108
+ }
109
+ catch {
110
+ // Silently fail
111
+ }
112
+ finally {
113
+ setLoading(false);
114
+ setFetched(true);
115
+ }
116
+ }, [repositoryPath, fetched]);
117
+ const handleOpenChange = useCallback((open) => {
118
+ if (open)
119
+ void doFetch();
120
+ }, [doFetch]);
121
+ const visibleSessions = expanded ? sessions : sessions.slice(0, PREVIEW_COUNT);
122
+ const hasMore = sessions.length > PREVIEW_COUNT;
123
+ return (_jsxs(DropdownMenu, { modal: false, onOpenChange: handleOpenChange, children: [_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(DropdownMenuTrigger, { asChild: true, children: _jsxs("button", { type: "button", "aria-label": "View sessions", "data-testid": "feature-node-sessions-button", className: cn('nodrag relative flex h-5 cursor-pointer items-center gap-0.5 rounded px-0.5 text-[10px] transition-colors', hasActiveSessions
124
+ ? 'text-emerald-600 hover:bg-emerald-50 hover:text-emerald-700'
125
+ : 'text-muted-foreground hover:text-foreground hover:bg-muted', className), onClick: stopNodeEvent, onPointerDown: stopNodeEvent, children: [_jsx(History, { className: "h-3 w-3 shrink-0" }), sessions.length > 0 ? (_jsx("span", { "data-testid": "feature-node-sessions-count", children: sessions.length })) : null, hasActiveSessions ? (_jsx("span", { className: "absolute -top-0.5 -right-0.5 h-1.5 w-1.5 rounded-full bg-emerald-500" })) : null] }) }) }), _jsx(TooltipContent, { side: "bottom", children: hasActiveSessions ? 'Sessions (active)' : 'Sessions' })] }) }), _jsxs(DropdownMenuContent, { align: "start", side: "bottom", className: "w-80", onClick: stopNodeEvent, onPointerDown: stopNodeEvent, children: [_jsxs(DropdownMenuLabel, { className: "flex items-center gap-1.5 text-xs", children: [_jsx(History, { className: "h-3 w-3" }), "Agent Sessions"] }), _jsx(DropdownMenuSeparator, {}), loading ? (_jsxs("div", { className: "text-muted-foreground flex items-center justify-center gap-2 py-4 text-xs", children: [_jsx(Loader2, { className: "h-3.5 w-3.5 animate-spin" }), "Loading..."] })) : sessions.length === 0 ? (_jsx("div", { className: "text-muted-foreground py-4 text-center text-xs", children: "No sessions found" })) : (_jsxs(_Fragment, { children: [visibleSessions.map((session) => (_jsx(SessionRow, { session: session, repositoryPath: repositoryPath, onCreateFromSession: onCreateFromSession }, session.id))), hasMore ? (_jsxs(DropdownMenuItem, { className: "text-muted-foreground justify-center gap-1 py-1.5 text-[10px]", onClick: (e) => {
126
+ e.preventDefault();
127
+ setExpanded((v) => !v);
128
+ }, children: [_jsx(ChevronDown, { className: cn('h-3 w-3 transition-transform', expanded && 'rotate-180') }), expanded ? 'Show less' : `Show ${sessions.length - PREVIEW_COUNT} more`] })) : null] }))] })] }));
129
+ }
130
+ // ── Session row component ─────────────────────────────────────────────
131
+ function SessionRow({ session, repositoryPath, onCreateFromSession, }) {
132
+ const active = isSessionActive(session);
133
+ const AgentIcon = getAgentTypeIcon(session.agentType);
134
+ return (_jsxs(DropdownMenuSub, { children: [_jsxs(DropdownMenuSubTrigger, { className: "flex items-start gap-2 py-2 pr-2", children: [_jsxs("div", { className: "relative mt-0.5 shrink-0", children: [_jsx(AgentIcon, { className: "h-4 w-4" }), active ? (_jsx("span", { className: "border-background absolute -right-0.5 -bottom-0.5 h-2 w-2 rounded-full border bg-emerald-500" })) : null] }), _jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [_jsx("span", { className: "truncate text-xs leading-tight", children: truncatePreview(session.preview) }), _jsxs("div", { className: "text-muted-foreground flex items-center gap-2 text-[10px] leading-tight", children: [_jsxs("span", { className: "flex items-center gap-0.5", children: [_jsx(MessageSquare, { className: "h-2.5 w-2.5" }), session.messageCount] }), session.firstMessageAt ? (_jsxs("span", { className: "flex items-center gap-0.5", children: [_jsx(Clock, { className: "h-2.5 w-2.5" }), new Date(session.firstMessageAt).toLocaleDateString()] })) : null, session.lastMessageAt ? (_jsx("span", { className: cn('ml-auto shrink-0', active ? 'font-medium text-emerald-600' : ''), children: formatRelativeTime(session.lastMessageAt) })) : null] })] })] }), _jsx(DropdownMenuPortal, { children: _jsxs(DropdownMenuSubContent, { onClick: stopNodeEvent, onPointerDown: stopNodeEvent, children: [_jsxs(DropdownMenuItem, { className: "gap-2 text-xs", onClick: () => void copyToClipboard(`claude --resume ${session.id} --project ${repositoryPath}`), children: [_jsx(Terminal, { className: "h-3.5 w-3.5" }), "Copy resume command"] }), _jsxs(DropdownMenuItem, { className: "gap-2 text-xs", onClick: () => void copyToClipboard(session.id), children: [_jsx(Copy, { className: "h-3.5 w-3.5" }), "Copy session ID"] }), _jsxs(DropdownMenuItem, { className: "gap-2 text-xs", onClick: () => {
135
+ const vscodeUri = `vscode://file${repositoryPath}`;
136
+ window.open(vscodeUri, '_blank');
137
+ }, children: [_jsx(ExternalLink, { className: "h-3.5 w-3.5" }), "Open in IDE"] }), onCreateFromSession && session.filePath ? (_jsxs(_Fragment, { children: [_jsx(DropdownMenuSeparator, {}), _jsxs(DropdownMenuItem, { className: "gap-2 text-xs font-medium text-violet-700 focus:bg-violet-50 focus:text-violet-800", onClick: () => onCreateFromSession(session, session.filePath), children: [_jsx(Sparkles, { className: "h-3.5 w-3.5 text-violet-500" }), "Create feature from session"] })] })) : null] }) })] }));
138
+ }
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { FeatureSessionsDropdown } from './feature-sessions-dropdown.js';
3
+ declare const meta: Meta<typeof FeatureSessionsDropdown>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof FeatureSessionsDropdown>;
6
+ export declare const WithSessions: Story;
7
+ export declare const WithActiveSessions: Story;
8
+ export declare const Empty: Story;
9
+ //# sourceMappingURL=feature-sessions-dropdown.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-sessions-dropdown.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-node/feature-sessions-dropdown.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AA4DtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,uBAAuB,CAU9C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAEhC,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { FeatureSessionsDropdown } from './feature-sessions-dropdown.js';
3
+ const mockSessions = [
4
+ {
5
+ id: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
6
+ preview: 'Add authentication middleware with JWT token validation',
7
+ messageCount: 24,
8
+ firstMessageAt: new Date(Date.now() - 3_600_000).toISOString(),
9
+ lastMessageAt: new Date(Date.now() - 1_800_000).toISOString(),
10
+ createdAt: new Date(Date.now() - 3_600_000).toISOString(),
11
+ projectPath: '~/workspaces/my-project',
12
+ },
13
+ {
14
+ id: 'b2c3d4e5-f6a7-8901-bcde-f12345678901',
15
+ preview: 'Fix failing tests in user service module and update mocks',
16
+ messageCount: 12,
17
+ firstMessageAt: new Date(Date.now() - 86_400_000).toISOString(),
18
+ lastMessageAt: new Date(Date.now() - 82_800_000).toISOString(),
19
+ createdAt: new Date(Date.now() - 86_400_000).toISOString(),
20
+ projectPath: '~/workspaces/my-project',
21
+ },
22
+ {
23
+ id: 'c3d4e5f6-a7b8-9012-cdef-123456789012',
24
+ preview: 'Refactor database layer to use repository pattern',
25
+ messageCount: 42,
26
+ firstMessageAt: new Date(Date.now() - 172_800_000).toISOString(),
27
+ lastMessageAt: new Date(Date.now() - 169_200_000).toISOString(),
28
+ createdAt: new Date(Date.now() - 172_800_000).toISOString(),
29
+ projectPath: '~/workspaces/my-project',
30
+ },
31
+ ];
32
+ const mockActiveSession = {
33
+ id: 'd4e5f6a7-b8c9-0123-defa-234567890123',
34
+ preview: 'Implementing real-time session tracking feature',
35
+ messageCount: 8,
36
+ firstMessageAt: new Date(Date.now() - 180_000).toISOString(),
37
+ lastMessageAt: new Date(Date.now() - 60_000).toISOString(), // 1 min ago — active
38
+ createdAt: new Date(Date.now() - 180_000).toISOString(),
39
+ projectPath: '~/workspaces/my-project',
40
+ };
41
+ function createFetchMock(sessions) {
42
+ return (Story) => {
43
+ const originalFetch = window.fetch;
44
+ window.fetch = (async (input, init) => {
45
+ const url = typeof input === 'string' ? input : input instanceof URL ? input.href : input.url;
46
+ if (url.includes('/api/sessions')) {
47
+ return new Response(JSON.stringify({ sessions }), {
48
+ status: 200,
49
+ headers: { 'Content-Type': 'application/json' },
50
+ });
51
+ }
52
+ return originalFetch(input, init);
53
+ });
54
+ return _jsx(Story, {});
55
+ };
56
+ }
57
+ const meta = {
58
+ title: 'Composed/FeatureSessionsDropdown',
59
+ component: FeatureSessionsDropdown,
60
+ tags: ['autodocs'],
61
+ parameters: {
62
+ layout: 'centered',
63
+ },
64
+ args: {
65
+ repositoryPath: '/home/user/workspaces/my-project',
66
+ },
67
+ };
68
+ export default meta;
69
+ export const WithSessions = {
70
+ decorators: [createFetchMock(mockSessions)],
71
+ };
72
+ export const WithActiveSessions = {
73
+ decorators: [createFetchMock([mockActiveSession, ...mockSessions])],
74
+ };
75
+ export const Empty = {
76
+ decorators: [createFetchMock([])],
77
+ };
@@ -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;AAGnE,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,2CAkP5F"}
1
+ {"version":3,"file":"repository-node.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-node.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAOnE,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,2CAyR5F"}
@@ -1,7 +1,8 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { useState } from 'react';
3
+ import { useState, useCallback } from 'react';
4
4
  import { Handle, Position } from '@xyflow/react';
5
+ import { useRouter } from 'next/navigation';
5
6
  import { Github, Plus, Code2, Terminal, FolderOpen, Trash2, Play, Square } from 'lucide-react';
6
7
  import { cn } from '../../../lib/utils.js';
7
8
  import { ActionButton } from '../../common/action-button/index.js';
@@ -12,7 +13,9 @@ import { DeploymentStatusBadge } from '../../common/deployment-status-badge/inde
12
13
  import { useDeployAction } from '../../../hooks/use-deploy-action.js';
13
14
  import { useFeatureFlags } from '../../../hooks/feature-flags-context.js';
14
15
  import { useRepositoryActions } from './use-repository-actions.js';
16
+ import { FeatureSessionsDropdown, } from '../../common/feature-node/feature-sessions-dropdown.js';
15
17
  export function RepositoryNode({ data }) {
18
+ const router = useRouter();
16
19
  const featureFlags = useFeatureFlags();
17
20
  const [confirmOpen, setConfirmOpen] = useState(false);
18
21
  const actions = useRepositoryActions(data.repositoryPath ? { repositoryPath: data.repositoryPath } : null);
@@ -24,6 +27,36 @@ export function RepositoryNode({ data }) {
24
27
  }
25
28
  : null);
26
29
  const isDeploymentActive = deployAction.status === 'Booting' || deployAction.status === 'Ready';
30
+ const handleCreateFromSession = useCallback((session, sessionFilePath) => {
31
+ if (!data.repositoryPath)
32
+ return;
33
+ const preview = session.preview ? session.preview.slice(0, 200) : 'Unknown conversation';
34
+ const prompt = [
35
+ `Continue work from a previous agent session.`,
36
+ ``,
37
+ `## Session Context`,
38
+ `- Session ID: ${session.id}`,
39
+ `- Messages: ${session.messageCount}`,
40
+ session.lastMessageAt ? `- Last active: ${session.lastMessageAt}` : '',
41
+ `- Conversation file: ${sessionFilePath}`,
42
+ ``,
43
+ `## Session Preview`,
44
+ `> ${preview}`,
45
+ ``,
46
+ `## Instructions`,
47
+ `1. Read the full conversation history from the file above`,
48
+ `2. Analyze the current state of the repository — what was done, what remains`,
49
+ `3. Create or update spec files to accurately reflect the current state and remaining work`,
50
+ `4. Continue implementing any unfinished work from the conversation`,
51
+ ]
52
+ .filter(Boolean)
53
+ .join('\n');
54
+ const params = new URLSearchParams({
55
+ repo: data.repositoryPath,
56
+ prompt,
57
+ });
58
+ router.push(`/create?${params.toString()}`);
59
+ }, [data.repositoryPath, router]);
27
60
  return (_jsxs("div", { className: cn('group relative', data.onDelete && data.id && 'pl-10'), children: [data.showHandles ? (_jsx(Handle, { type: "target", position: Position.Left, isConnectable: false, className: "opacity-0!" })) : null, data.onDelete && data.id ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "absolute top-1/2 left-0 -translate-y-1/2 opacity-0 transition-opacity group-hover:opacity-100", children: _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { "aria-label": "Remove repository", "data-testid": "repository-node-delete-button", onClick: (e) => {
28
61
  e.stopPropagation();
29
62
  setConfirmOpen(true);
@@ -39,7 +72,7 @@ export function RepositoryNode({ data }) {
39
72
  e.stopPropagation();
40
73
  data.onClick?.();
41
74
  }
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) => {
75
+ }, 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, onCreateFromSession: handleCreateFromSession }), 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) => {
43
76
  e.stopPropagation();
44
77
  data.onAdd?.();
45
78
  }, 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":"AA4CA,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAgC/E,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AA6QD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,GACnB,EAAE,uBAAuB,2CA2pCzB"}
1
+ {"version":3,"file":"settings-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/settings-page-client.tsx"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAgC/E,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AA6QD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,kBAAkB,GACnB,EAAE,uBAAuB,2CAyqCzB"}
@@ -144,6 +144,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
144
144
  const [allowMerge, setAllowMerge] = useState(settings.workflow.approvalGateDefaults.allowMerge);
145
145
  const [enableEvidence, setEnableEvidence] = useState(settings.workflow.enableEvidence);
146
146
  const [commitEvidence, setCommitEvidence] = useState(settings.workflow.commitEvidence);
147
+ const [ciWatchEnabled, setCiWatchEnabled] = useState(settings.workflow.ciWatchEnabled !== false);
147
148
  const [ciMaxFix, setCiMaxFix] = useState(settings.workflow.ciMaxFixAttempts != null ? String(settings.workflow.ciMaxFixAttempts) : '');
148
149
  const [ciTimeout, setCiTimeout] = useState(settings.workflow.ciWatchTimeoutMs != null
149
150
  ? String(Math.round(settings.workflow.ciWatchTimeoutMs / 1000))
@@ -236,6 +237,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
236
237
  },
237
238
  enableEvidence: overrides.enableEvidence ?? enableEvidence,
238
239
  commitEvidence: overrides.commitEvidence ?? commitEvidence,
240
+ ciWatchEnabled: overrides.ciWatchEnabled ?? ciWatchEnabled,
239
241
  ciMaxFixAttempts: parseOptionalInt(overrides.ciMaxFix ?? ciMaxFix),
240
242
  ciWatchTimeoutMs: timeoutSeconds != null ? timeoutSeconds * 1000 : undefined,
241
243
  ciLogMaxChars: parseOptionalInt(overrides.ciLogMax ?? ciLogMax),
@@ -384,6 +386,9 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
384
386
  else {
385
387
  save(buildWorkflowPayload({ openPr: v }));
386
388
  }
389
+ } }), _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) => {
390
+ setCiWatchEnabled(v);
391
+ save(buildWorkflowPayload({ ciWatchEnabled: v }));
387
392
  } })] }), _jsx(SectionHint, { links: [
388
393
  {
389
394
  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":"AAYA,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,2CAqcjF"}
1
+ {"version":3,"file":"workflow-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/workflow-settings-section.tsx"],"names":[],"mappings":"AAYA,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,2CAudjF"}
@@ -16,6 +16,7 @@ export function WorkflowSettingsSection({ workflow }) {
16
16
  const [allowPrd, setAllowPrd] = useState(workflow.approvalGateDefaults.allowPrd);
17
17
  const [allowPlan, setAllowPlan] = useState(workflow.approvalGateDefaults.allowPlan);
18
18
  const [allowMerge, setAllowMerge] = useState(workflow.approvalGateDefaults.allowMerge);
19
+ const [ciWatchEnabled, setCiWatchEnabled] = useState(workflow.ciWatchEnabled !== false);
19
20
  const [ciMaxFix, setCiMaxFix] = useState(workflow.ciMaxFixAttempts != null ? String(workflow.ciMaxFixAttempts) : '');
20
21
  const [ciTimeout, setCiTimeout] = useState(workflow.ciWatchTimeoutMs != null ? String(Math.round(workflow.ciWatchTimeoutMs / 1000)) : '');
21
22
  const [ciLogMax, setCiLogMax] = useState(workflow.ciLogMaxChars != null ? String(workflow.ciLogMaxChars) : '');
@@ -64,6 +65,7 @@ export function WorkflowSettingsSection({ workflow }) {
64
65
  allowPlan: overrides.allowPlan ?? allowPlan,
65
66
  allowMerge: overrides.allowMerge ?? allowMerge,
66
67
  },
68
+ ciWatchEnabled: overrides.ciWatchEnabled ?? ciWatchEnabled,
67
69
  ciMaxFixAttempts: parseOptionalInt(overrides.ciMaxFix ?? ciMaxFix),
68
70
  ciWatchTimeoutMs: timeoutSeconds != null ? timeoutSeconds * 1000 : undefined,
69
71
  ciLogMaxChars: parseOptionalInt(overrides.ciLogMax ?? ciLogMax),
@@ -170,5 +172,5 @@ export function WorkflowSettingsSection({ workflow }) {
170
172
  original: originalAnalyzeRepoTimeout,
171
173
  },
172
174
  ];
173
- 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: () => handleFieldBlur('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: () => handleFieldBlur('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: () => handleFieldBlur('ciLogMax', ciLogMax, originalCiLogMax) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum characters to capture from CI logs" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-poll-interval", children: "Poll interval (seconds)" }), _jsx(Input, { id: "ci-poll-interval", "data-testid": "ci-poll-interval-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 30", value: ciPollInterval, onChange: (e) => setCiPollInterval(e.target.value), onBlur: () => handleFieldBlur('ciPollInterval', ciPollInterval, originalCiPollInterval) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How often to poll GitHub for CI run status updates" })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Stage Timeouts" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum execution time per agent stage" }), _jsx("h4", { className: "text-muted-foreground text-xs font-semibold tracking-wider uppercase", children: "Feature Agent" }), FEATURE_AGENT_FIELDS.map((field) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsx(Label, { htmlFor: `stage-timeout-${field.key}`, children: field.label }), _jsx(TimeoutSlider, { id: `stage-timeout-${field.key}`, testId: `stage-timeout-${field.key}-input`, value: field.state, onChange: field.setter, onBlur: () => handleFieldBlur(field.key, field.state, field.original), defaultSeconds: field.defaultSeconds })] }, field.key))), _jsx("h4", { className: "text-muted-foreground pt-2 text-xs font-semibold tracking-wider uppercase", children: "Analyze Repository Agent" }), ANALYZE_REPO_FIELDS.map((field) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsx(Label, { htmlFor: `stage-timeout-${field.key}`, children: field.label }), _jsx(TimeoutSlider, { id: `stage-timeout-${field.key}`, testId: `stage-timeout-${field.key}-input`, value: field.state, onChange: field.setter, onBlur: () => handleFieldBlur(field.key, field.state, field.original), defaultSeconds: field.defaultSeconds })] }, field.key)))] })] })] }));
175
+ 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: () => handleFieldBlur('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: () => handleFieldBlur('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: () => handleFieldBlur('ciLogMax', ciLogMax, originalCiLogMax) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum characters to capture from CI logs" })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx(Label, { htmlFor: "ci-poll-interval", children: "Poll interval (seconds)" }), _jsx(Input, { id: "ci-poll-interval", "data-testid": "ci-poll-interval-input", type: "text", inputMode: "numeric", pattern: "[0-9]*", placeholder: "e.g., 30", value: ciPollInterval, onChange: (e) => setCiPollInterval(e.target.value), onBlur: () => handleFieldBlur('ciPollInterval', ciPollInterval, originalCiPollInterval) }), _jsx("p", { className: "text-muted-foreground text-xs", children: "How often to poll GitHub for CI run status updates" })] })] }), _jsx(Separator, {}), _jsxs("div", { className: "space-y-3", children: [_jsx("h3", { className: "text-sm font-semibold", children: "Stage Timeouts" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Maximum execution time per agent stage" }), _jsx("h4", { className: "text-muted-foreground text-xs font-semibold tracking-wider uppercase", children: "Feature Agent" }), FEATURE_AGENT_FIELDS.map((field) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsx(Label, { htmlFor: `stage-timeout-${field.key}`, children: field.label }), _jsx(TimeoutSlider, { id: `stage-timeout-${field.key}`, testId: `stage-timeout-${field.key}-input`, value: field.state, onChange: field.setter, onBlur: () => handleFieldBlur(field.key, field.state, field.original), defaultSeconds: field.defaultSeconds })] }, field.key))), _jsx("h4", { className: "text-muted-foreground pt-2 text-xs font-semibold tracking-wider uppercase", children: "Analyze Repository Agent" }), ANALYZE_REPO_FIELDS.map((field) => (_jsxs("div", { className: "flex items-center justify-between gap-4", children: [_jsx(Label, { htmlFor: `stage-timeout-${field.key}`, children: field.label }), _jsx(TimeoutSlider, { id: `stage-timeout-${field.key}`, testId: `stage-timeout-${field.key}-input`, value: field.state, onChange: field.setter, onBlur: () => handleFieldBlur(field.key, field.state, field.original), defaultSeconds: field.defaultSeconds })] }, field.key)))] })] })] }));
174
176
  }
@@ -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,KAcrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KA4BxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KA4B5B,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,KAerB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KA6BxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KA6B5B,CAAC"}
@@ -18,6 +18,7 @@ export const Default = {
18
18
  allowMerge: false,
19
19
  pushOnImplementationComplete: false,
20
20
  },
21
+ ciWatchEnabled: true,
21
22
  enableEvidence: false,
22
23
  commitEvidence: false,
23
24
  },
@@ -47,6 +48,7 @@ export const AllEnabled = {
47
48
  analyzeRepoTimeouts: {
48
49
  analyzeMs: 600000,
49
50
  },
51
+ ciWatchEnabled: true,
50
52
  enableEvidence: true,
51
53
  commitEvidence: true,
52
54
  },
@@ -76,6 +78,7 @@ export const WithCiSettings = {
76
78
  analyzeRepoTimeouts: {
77
79
  analyzeMs: 1200000,
78
80
  },
81
+ ciWatchEnabled: true,
79
82
  enableEvidence: false,
80
83
  commitEvidence: false,
81
84
  },