@shepai/cli 1.175.0 → 1.175.1-pr536.17338e9

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 (457) hide show
  1. package/apis/json-schema/Application.yaml +40 -0
  2. package/apis/json-schema/ApplicationStatus.yaml +8 -0
  3. package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts +17 -0
  4. package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts.map +1 -0
  5. package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.js +6 -0
  6. package/dist/packages/core/src/application/ports/output/repositories/index.d.ts +1 -0
  7. package/dist/packages/core/src/application/ports/output/repositories/index.d.ts.map +1 -1
  8. package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts +29 -0
  9. package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts.map +1 -0
  10. package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.js +128 -0
  11. package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts +15 -0
  12. package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts.map +1 -0
  13. package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.js +45 -0
  14. package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts +13 -0
  15. package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts.map +1 -0
  16. package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.js +33 -0
  17. package/dist/packages/core/src/application/use-cases/applications/index.d.ts +13 -0
  18. package/dist/packages/core/src/application/use-cases/applications/index.d.ts.map +1 -0
  19. package/dist/packages/core/src/application/use-cases/applications/index.js +10 -0
  20. package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts +13 -0
  21. package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts.map +1 -0
  22. package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.js +33 -0
  23. package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts +14 -0
  24. package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts.map +1 -0
  25. package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.js +33 -0
  26. package/dist/packages/core/src/application/use-cases/repositories/create-project.use-case.d.ts +32 -0
  27. package/dist/packages/core/src/application/use-cases/repositories/create-project.use-case.d.ts.map +1 -0
  28. package/dist/packages/core/src/application/use-cases/repositories/create-project.use-case.js +120 -0
  29. package/dist/packages/core/src/domain/generated/output.d.ts +42 -0
  30. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  31. package/dist/packages/core/src/domain/generated/output.js +6 -0
  32. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  33. package/dist/packages/core/src/infrastructure/di/container.js +37 -0
  34. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts +37 -0
  35. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts.map +1 -0
  36. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.js +52 -0
  37. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts +5 -0
  38. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts.map +1 -0
  39. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.js +34 -0
  40. package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts +21 -0
  41. package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts.map +1 -0
  42. package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.js +98 -0
  43. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.d.ts.map +1 -1
  44. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.js +44 -4
  45. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +1 -1
  46. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
  47. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +11 -1
  48. package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts +7 -0
  49. package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts.map +1 -0
  50. package/dist/src/presentation/web/app/actions/check-all-agents-status.js +30 -0
  51. package/dist/src/presentation/web/app/actions/create-application.d.ts +13 -0
  52. package/dist/src/presentation/web/app/actions/create-application.d.ts.map +1 -0
  53. package/dist/src/presentation/web/app/actions/create-application.js +20 -0
  54. package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts +20 -0
  55. package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts.map +1 -0
  56. package/dist/src/presentation/web/app/actions/create-project-and-feature.js +70 -0
  57. package/dist/src/presentation/web/app/actions/delete-application.d.ts +4 -0
  58. package/dist/src/presentation/web/app/actions/delete-application.d.ts.map +1 -0
  59. package/dist/src/presentation/web/app/actions/delete-application.js +16 -0
  60. package/dist/src/presentation/web/app/application/[id]/page.d.ts +11 -0
  61. package/dist/src/presentation/web/app/application/[id]/page.d.ts.map +1 -0
  62. package/dist/src/presentation/web/app/application/[id]/page.js +16 -0
  63. package/dist/src/presentation/web/app/build-graph-nodes.d.ts +3 -1
  64. package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
  65. package/dist/src/presentation/web/app/build-graph-nodes.js +19 -0
  66. package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts +24 -0
  67. package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts.map +1 -0
  68. package/dist/src/presentation/web/components/common/application-node/application-node-config.js +1 -0
  69. package/dist/src/presentation/web/components/common/application-node/application-node.d.ts +7 -0
  70. package/dist/src/presentation/web/components/common/application-node/application-node.d.ts.map +1 -0
  71. package/dist/src/presentation/web/components/common/application-node/application-node.js +41 -0
  72. package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts +12 -0
  73. package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts.map +1 -0
  74. package/dist/src/presentation/web/components/common/application-node/application-node.stories.js +100 -0
  75. package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.d.ts.map +1 -1
  76. package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.js +1 -1
  77. package/dist/src/presentation/web/components/features/application-page/application-page.d.ts +8 -0
  78. package/dist/src/presentation/web/components/features/application-page/application-page.d.ts.map +1 -0
  79. package/dist/src/presentation/web/components/features/application-page/application-page.js +86 -0
  80. package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts +9 -0
  81. package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts.map +1 -0
  82. package/dist/src/presentation/web/components/features/application-page/application-page.stories.js +51 -0
  83. package/dist/src/presentation/web/components/features/chat/ChatSheet.d.ts.map +1 -1
  84. package/dist/src/presentation/web/components/features/chat/ChatSheet.js +4 -2
  85. package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts +5 -1
  86. package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts.map +1 -1
  87. package/dist/src/presentation/web/components/features/chat/ChatTab.js +3 -3
  88. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts +3 -1
  89. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
  90. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +189 -118
  91. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts +4 -16
  92. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts.map +1 -1
  93. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.js +16 -109
  94. package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts.map +1 -1
  95. package/dist/src/presentation/web/components/features/control-center/control-center-inner.js +43 -3
  96. package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +4 -0
  97. package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts.map +1 -1
  98. package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js +25 -1
  99. package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.d.ts.map +1 -1
  100. package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.js +2 -2
  101. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts +2 -1
  102. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -1
  103. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +2 -0
  104. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts +3 -1
  105. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts.map +1 -1
  106. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.js +9 -4
  107. package/dist/src/presentation/web/hooks/use-graph-state.d.ts +5 -0
  108. package/dist/src/presentation/web/hooks/use-graph-state.d.ts.map +1 -1
  109. package/dist/src/presentation/web/hooks/use-graph-state.js +37 -2
  110. package/dist/src/presentation/web/lib/derive-graph.d.ts +11 -1
  111. package/dist/src/presentation/web/lib/derive-graph.d.ts.map +1 -1
  112. package/dist/src/presentation/web/lib/derive-graph.js +35 -1
  113. package/dist/src/presentation/web/lib/layout-with-dagre.d.ts.map +1 -1
  114. package/dist/src/presentation/web/lib/layout-with-dagre.js +1 -0
  115. package/dist/translations/ar/web.json +6 -1
  116. package/dist/translations/de/web.json +6 -1
  117. package/dist/translations/en/web.json +6 -1
  118. package/dist/translations/es/web.json +6 -1
  119. package/dist/translations/fr/web.json +6 -1
  120. package/dist/translations/he/web.json +6 -1
  121. package/dist/translations/pt/web.json +6 -1
  122. package/dist/translations/ru/web.json +6 -1
  123. package/dist/tsconfig.build.tsbuildinfo +1 -1
  124. package/package.json +1 -1
  125. package/web/.next/BUILD_ID +1 -1
  126. package/web/.next/app-path-routes-manifest.json +1 -0
  127. package/web/.next/build-manifest.json +2 -2
  128. package/web/.next/fallback-build-manifest.json +2 -2
  129. package/web/.next/prerender-manifest.json +3 -3
  130. package/web/.next/required-server-files.js +3 -3
  131. package/web/.next/required-server-files.json +3 -3
  132. package/web/.next/routes-manifest.json +8 -0
  133. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +94 -79
  134. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +3 -3
  135. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  136. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  137. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +90 -75
  138. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +3 -3
  139. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  140. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  141. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +96 -81
  142. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +3 -3
  143. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  144. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  145. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +112 -97
  146. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -3
  147. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  148. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  149. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +112 -97
  150. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -3
  151. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  152. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  153. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +92 -77
  154. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +3 -3
  155. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  156. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  157. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +92 -77
  158. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +3 -3
  159. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  160. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  161. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +90 -75
  162. package/web/.next/server/app/(dashboard)/chat/page.js +3 -3
  163. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  164. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  165. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +96 -81
  166. package/web/.next/server/app/(dashboard)/create/page.js +3 -3
  167. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  168. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  169. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +112 -97
  170. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -3
  171. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  172. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  173. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +112 -97
  174. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -3
  175. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  176. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  177. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +90 -75
  178. package/web/.next/server/app/(dashboard)/page.js +3 -3
  179. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  180. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  181. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +92 -77
  182. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +3 -3
  183. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  184. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  185. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +92 -77
  186. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +3 -3
  187. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  188. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  189. package/web/.next/server/app/_global-error/page.js +1 -1
  190. package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
  191. package/web/.next/server/app/_global-error.html +2 -2
  192. package/web/.next/server/app/_global-error.rsc +1 -1
  193. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  194. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  195. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  196. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  197. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  198. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +27 -12
  199. package/web/.next/server/app/_not-found/page.js +2 -2
  200. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  201. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  202. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  203. package/web/.next/server/app/api/attachments/upload-from-path/route.js +1 -1
  204. package/web/.next/server/app/api/attachments/upload-from-path/route.js.nft.json +1 -1
  205. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  206. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  207. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  208. package/web/.next/server/app/application/[id]/page/app-paths-manifest.json +3 -0
  209. package/web/.next/server/app/application/[id]/page/build-manifest.json +18 -0
  210. package/web/.next/server/app/application/[id]/page/next-font-manifest.json +6 -0
  211. package/web/.next/server/app/application/[id]/page/react-loadable-manifest.json +1 -0
  212. package/web/.next/server/app/application/[id]/page/server-reference-manifest.json +110 -0
  213. package/web/.next/server/app/application/[id]/page.js +18 -0
  214. package/web/.next/server/app/application/[id]/page.js.map +5 -0
  215. package/web/.next/server/app/application/[id]/page.js.nft.json +1 -0
  216. package/web/.next/server/app/application/[id]/page_client-reference-manifest.js +2 -0
  217. package/web/.next/server/app/features/page/server-reference-manifest.json +27 -12
  218. package/web/.next/server/app/features/page.js +2 -2
  219. package/web/.next/server/app/features/page.js.nft.json +1 -1
  220. package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
  221. package/web/.next/server/app/settings/page/server-reference-manifest.json +33 -18
  222. package/web/.next/server/app/settings/page.js +2 -2
  223. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  224. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  225. package/web/.next/server/app/skills/page/server-reference-manifest.json +41 -26
  226. package/web/.next/server/app/skills/page.js +2 -2
  227. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  228. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  229. package/web/.next/server/app/tools/page/server-reference-manifest.json +37 -22
  230. package/web/.next/server/app/tools/page.js +2 -2
  231. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  232. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  233. package/web/.next/server/app/version/page/server-reference-manifest.json +27 -12
  234. package/web/.next/server/app/version/page.js +2 -2
  235. package/web/.next/server/app/version/page.js.nft.json +1 -1
  236. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  237. package/web/.next/server/app-paths-manifest.json +1 -0
  238. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  239. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  240. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  241. package/web/.next/server/chunks/{[root-of-the-server]__ea653642._.js → [root-of-the-server]__a5879003._.js} +2 -2
  242. package/web/.next/server/chunks/{[root-of-the-server]__ea653642._.js.map → [root-of-the-server]__a5879003._.js.map} +1 -1
  243. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
  244. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
  245. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
  246. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  247. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_c4b92435.js +3 -0
  248. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_c4b92435.js.map +1 -0
  249. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_e4478080.js +3 -0
  250. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_e4478080.js.map +1 -0
  251. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_9b144ef8.js +3 -0
  252. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_9b144ef8.js.map +1 -0
  253. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  254. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  255. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +2 -2
  256. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  257. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js +1 -1
  258. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js.map +1 -1
  259. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js +1 -1
  260. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js.map +1 -1
  261. package/web/.next/server/chunks/ssr/[root-of-the-server]__00efb844._.js +4 -0
  262. package/web/.next/server/chunks/ssr/[root-of-the-server]__00efb844._.js.map +1 -0
  263. package/web/.next/server/chunks/ssr/{[root-of-the-server]__d1040bd1._.js → [root-of-the-server]__090f24cb._.js} +2 -2
  264. package/web/.next/server/chunks/ssr/{[root-of-the-server]__d1040bd1._.js.map → [root-of-the-server]__090f24cb._.js.map} +1 -1
  265. package/web/.next/server/chunks/ssr/[root-of-the-server]__0d64745d._.js +3 -0
  266. package/web/.next/server/chunks/ssr/[root-of-the-server]__0d64745d._.js.map +1 -0
  267. package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js +4 -0
  268. package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js.map +1 -0
  269. package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js +4 -0
  270. package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js.map +1 -0
  271. package/web/.next/server/chunks/ssr/{[root-of-the-server]__51ec77a8._.js → [root-of-the-server]__234748ae._.js} +2 -2
  272. package/web/.next/server/chunks/ssr/{[root-of-the-server]__aa72e794._.js.map → [root-of-the-server]__234748ae._.js.map} +1 -1
  273. package/web/.next/server/chunks/ssr/[root-of-the-server]__23b5ca2c._.js +1 -1
  274. package/web/.next/server/chunks/ssr/{[root-of-the-server]__66047a1b._.js → [root-of-the-server]__2a2005ad._.js} +2 -2
  275. package/web/.next/server/chunks/ssr/{[root-of-the-server]__a932cd3a._.js.map → [root-of-the-server]__2a2005ad._.js.map} +1 -1
  276. package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
  277. package/web/.next/server/chunks/ssr/{[root-of-the-server]__22d17c66._.js → [root-of-the-server]__3a6d2b30._.js} +2 -2
  278. package/web/.next/server/chunks/ssr/[root-of-the-server]__3a6d2b30._.js.map +1 -0
  279. package/web/.next/server/chunks/ssr/[root-of-the-server]__540c615f._.js +2 -2
  280. package/web/.next/server/chunks/ssr/[root-of-the-server]__540c615f._.js.map +1 -1
  281. package/web/.next/server/chunks/ssr/{[root-of-the-server]__a932cd3a._.js → [root-of-the-server]__5d481a91._.js} +2 -2
  282. package/web/.next/server/chunks/ssr/{[root-of-the-server]__51ec77a8._.js.map → [root-of-the-server]__5d481a91._.js.map} +1 -1
  283. package/web/.next/server/chunks/ssr/[root-of-the-server]__63272afd._.js +4 -0
  284. package/web/.next/server/chunks/ssr/[root-of-the-server]__63272afd._.js.map +1 -0
  285. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7e2919._.js +3 -0
  286. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7e2919._.js.map +1 -0
  287. package/web/.next/server/chunks/ssr/[root-of-the-server]__7528eb6f._.js +1 -1
  288. package/web/.next/server/chunks/ssr/{[root-of-the-server]__efeeaed4._.js → [root-of-the-server]__7aa484f5._.js} +2 -2
  289. package/web/.next/server/chunks/ssr/{[root-of-the-server]__efeeaed4._.js.map → [root-of-the-server]__7aa484f5._.js.map} +1 -1
  290. package/web/.next/server/chunks/ssr/[root-of-the-server]__86ff0bc5._.js +2 -2
  291. package/web/.next/server/chunks/ssr/[root-of-the-server]__86ff0bc5._.js.map +1 -1
  292. package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js +4 -0
  293. package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js.map +1 -0
  294. package/web/.next/server/chunks/ssr/{[root-of-the-server]__aa72e794._.js → [root-of-the-server]__e7504e4a._.js} +2 -2
  295. package/web/.next/server/chunks/ssr/{[root-of-the-server]__66047a1b._.js.map → [root-of-the-server]__e7504e4a._.js.map} +1 -1
  296. package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
  297. package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
  298. package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
  299. package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
  300. package/web/.next/server/chunks/ssr/_1879404a._.js +1 -1
  301. package/web/.next/server/chunks/ssr/_1879404a._.js.map +1 -1
  302. package/web/.next/server/chunks/ssr/_295fffde._.js.map +1 -1
  303. package/web/.next/server/chunks/ssr/_2bea8166._.js +4 -0
  304. package/web/.next/server/chunks/ssr/_2bea8166._.js.map +1 -0
  305. package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -1
  306. package/web/.next/server/chunks/ssr/_46a35540._.js +3 -0
  307. package/web/.next/server/chunks/ssr/_46a35540._.js.map +1 -0
  308. package/web/.next/server/chunks/ssr/_4e42f1b7._.js +3 -0
  309. package/web/.next/server/chunks/ssr/_4e42f1b7._.js.map +1 -0
  310. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  311. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  312. package/web/.next/server/chunks/ssr/_6f66d7ac._.js +3 -0
  313. package/web/.next/server/chunks/ssr/_6f66d7ac._.js.map +1 -0
  314. package/web/.next/server/chunks/ssr/_73e62e34._.js +7 -0
  315. package/web/.next/server/chunks/ssr/_73e62e34._.js.map +1 -0
  316. package/web/.next/server/chunks/ssr/{_af6b8b94._.js → _946a7fc6._.js} +3 -3
  317. package/web/.next/server/chunks/ssr/_946a7fc6._.js.map +1 -0
  318. package/web/.next/server/chunks/ssr/{_e0dd6fcf._.js → _a0ddd745._.js} +2 -2
  319. package/web/.next/server/chunks/ssr/{_e0dd6fcf._.js.map → _a0ddd745._.js.map} +1 -1
  320. package/web/.next/server/chunks/ssr/_b0311e50._.js +3 -0
  321. package/web/.next/server/chunks/ssr/_b0311e50._.js.map +1 -0
  322. package/web/.next/server/chunks/ssr/_b7a43c05._.js +1 -1
  323. package/web/.next/server/chunks/ssr/_b7a43c05._.js.map +1 -1
  324. package/web/.next/server/chunks/ssr/_d485d3b9._.js +3 -0
  325. package/web/.next/server/chunks/ssr/_d485d3b9._.js.map +1 -0
  326. package/web/.next/server/chunks/ssr/_f3cd7f63._.js +9 -0
  327. package/web/.next/server/chunks/ssr/_f3cd7f63._.js.map +1 -0
  328. package/web/.next/server/chunks/ssr/{_4cbb7f95._.js → _f86fc1bf._.js} +2 -2
  329. package/web/.next/server/chunks/ssr/_f86fc1bf._.js.map +1 -0
  330. package/web/.next/server/chunks/ssr/_f8c55130._.js +1 -1
  331. package/web/.next/server/chunks/ssr/_f8c55130._.js.map +1 -1
  332. package/web/.next/server/chunks/ssr/_f916587a._.js +3 -0
  333. package/web/.next/server/chunks/ssr/_f916587a._.js.map +1 -0
  334. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  335. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  336. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  337. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  338. package/web/.next/server/chunks/ssr/src_presentation_web_139547d4._.js +3 -0
  339. package/web/.next/server/chunks/ssr/src_presentation_web_139547d4._.js.map +1 -0
  340. package/web/.next/server/chunks/ssr/src_presentation_web_5b7ef96a._.js +3 -0
  341. package/web/.next/server/chunks/ssr/{src_presentation_web_807cba76._.js.map → src_presentation_web_5b7ef96a._.js.map} +1 -1
  342. package/web/.next/server/chunks/ssr/src_presentation_web_5f6f6651._.js +3 -0
  343. package/web/.next/server/chunks/ssr/src_presentation_web_5f6f6651._.js.map +1 -0
  344. package/web/.next/server/chunks/ssr/src_presentation_web_9cd4b94c._.js +3 -0
  345. package/web/.next/server/chunks/ssr/{src_presentation_web_e3a30e30._.js.map → src_presentation_web_9cd4b94c._.js.map} +1 -1
  346. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_bc9fae39.js +3 -0
  347. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_bc9fae39.js.map +1 -0
  348. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1619f987.js +3 -0
  349. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1619f987.js.map +1 -0
  350. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_1b3c83ff.js +3 -0
  351. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_1b3c83ff.js.map +1 -0
  352. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +30 -1
  353. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js.map +1 -1
  354. package/web/.next/server/chunks/ssr/src_presentation_web_b3759f18._.js +3 -0
  355. package/web/.next/server/chunks/ssr/{src_presentation_web_17d39233._.js.map → src_presentation_web_b3759f18._.js.map} +1 -1
  356. package/web/.next/server/chunks/ssr/src_presentation_web_bceeb973._.js +3 -0
  357. package/web/.next/server/chunks/ssr/{src_presentation_web_e1cd1869._.js.map → src_presentation_web_bceeb973._.js.map} +1 -1
  358. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  359. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  360. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  361. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  362. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  363. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  364. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +1 -1
  365. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -1
  366. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
  367. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
  368. package/web/.next/server/pages/500.html +2 -2
  369. package/web/.next/server/server-reference-manifest.js +1 -1
  370. package/web/.next/server/server-reference-manifest.json +883 -686
  371. package/web/.next/static/chunks/0dbc8228223540f0.js +1 -0
  372. package/web/.next/static/chunks/2090882dcaad5f8f.js +3 -0
  373. package/web/.next/static/chunks/{238fdbed09dc61b6.js → 288a6a7b2abf36ae.js} +2 -2
  374. package/web/.next/static/chunks/357c3d4c713a444b.js +1 -0
  375. package/web/.next/static/chunks/{39054eabee156e55.js → 39cd2f842b9377e5.js} +3 -3
  376. package/web/.next/static/chunks/{873e837cd1179cdd.js → 4b63765a2c9294db.js} +1 -1
  377. package/web/.next/static/chunks/67499ef845dda801.js +1 -0
  378. package/web/.next/static/chunks/{940c842293a6ee9b.js → 6a5b9181d2b5160c.js} +1 -1
  379. package/web/.next/static/chunks/771b8283dff48366.js +5 -0
  380. package/web/.next/static/chunks/79f687a9b9f2dca3.js +1 -0
  381. package/web/.next/static/chunks/7acc65394c377946.js +1 -0
  382. package/web/.next/static/chunks/{bc41a393614b1192.js → 89a6fefe537cca64.js} +1 -1
  383. package/web/.next/static/chunks/8da227cb5d5c25b1.js +7 -0
  384. package/web/.next/static/chunks/90cce661ba250a41.js +1 -0
  385. package/web/.next/static/chunks/{a22ee308ae1509ca.js → 97a84c58c17399ee.js} +1 -1
  386. package/web/.next/static/chunks/994f0ac30cd8661a.js +1 -0
  387. package/web/.next/static/chunks/{09edd35d194bec06.js → bcbae49e0f6d65ca.js} +3 -3
  388. package/web/.next/static/chunks/bdd3467bb34c2b76.css +1 -0
  389. package/web/.next/static/chunks/bf5da7f887552cca.js +1 -0
  390. package/web/.next/static/chunks/c9bd1dea77920749.js +1 -0
  391. package/web/.next/static/chunks/ce8d4b5094c4dd62.js +1 -0
  392. package/web/.next/static/chunks/d2f65dc6c7e99186.js +1 -0
  393. package/web/.next/static/chunks/{2ad924f5ba5ec0a6.js → e9ab2deb269fa340.js} +1 -1
  394. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_ad0071c9.js +0 -3
  395. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_ad0071c9.js.map +0 -1
  396. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_90d98b2b.js +0 -3
  397. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_90d98b2b.js.map +0 -1
  398. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_d3828105.js +0 -3
  399. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_d3828105.js.map +0 -1
  400. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js +0 -4
  401. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js.map +0 -1
  402. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +0 -4
  403. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +0 -1
  404. package/web/.next/server/chunks/ssr/[root-of-the-server]__22d17c66._.js.map +0 -1
  405. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js +0 -3
  406. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +0 -1
  407. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +0 -4
  408. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +0 -1
  409. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +0 -4
  410. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +0 -1
  411. package/web/.next/server/chunks/ssr/_2b021b35._.js +0 -3
  412. package/web/.next/server/chunks/ssr/_2b021b35._.js.map +0 -1
  413. package/web/.next/server/chunks/ssr/_43ba79e7._.js +0 -3
  414. package/web/.next/server/chunks/ssr/_43ba79e7._.js.map +0 -1
  415. package/web/.next/server/chunks/ssr/_4cbb7f95._.js.map +0 -1
  416. package/web/.next/server/chunks/ssr/_6abfa39e._.js +0 -3
  417. package/web/.next/server/chunks/ssr/_6abfa39e._.js.map +0 -1
  418. package/web/.next/server/chunks/ssr/_7cb0396e._.js +0 -3
  419. package/web/.next/server/chunks/ssr/_7cb0396e._.js.map +0 -1
  420. package/web/.next/server/chunks/ssr/_af6b8b94._.js.map +0 -1
  421. package/web/.next/server/chunks/ssr/_d9c0a97a._.js +0 -7
  422. package/web/.next/server/chunks/ssr/_d9c0a97a._.js.map +0 -1
  423. package/web/.next/server/chunks/ssr/_e680c57c._.js +0 -9
  424. package/web/.next/server/chunks/ssr/_e680c57c._.js.map +0 -1
  425. package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js +0 -3
  426. package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js.map +0 -1
  427. package/web/.next/server/chunks/ssr/src_presentation_web_17d39233._.js +0 -3
  428. package/web/.next/server/chunks/ssr/src_presentation_web_54b02639._.js +0 -5
  429. package/web/.next/server/chunks/ssr/src_presentation_web_54b02639._.js.map +0 -1
  430. package/web/.next/server/chunks/ssr/src_presentation_web_7b7b9e3b._.js +0 -5
  431. package/web/.next/server/chunks/ssr/src_presentation_web_7b7b9e3b._.js.map +0 -1
  432. package/web/.next/server/chunks/ssr/src_presentation_web_807cba76._.js +0 -3
  433. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_90b5e66e.js +0 -3
  434. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_90b5e66e.js.map +0 -1
  435. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_4ce30db7.js +0 -3
  436. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_4ce30db7.js.map +0 -1
  437. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_e4032193.js +0 -3
  438. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_e4032193.js.map +0 -1
  439. package/web/.next/server/chunks/ssr/src_presentation_web_e1cd1869._.js +0 -3
  440. package/web/.next/server/chunks/ssr/src_presentation_web_e3a30e30._.js +0 -3
  441. package/web/.next/static/chunks/0b07ee72b0c639ef.js +0 -7
  442. package/web/.next/static/chunks/1b336d1266a0aa3d.js +0 -1
  443. package/web/.next/static/chunks/28f6b1cab38ab025.js +0 -3
  444. package/web/.next/static/chunks/46e2693dbc9262fd.js +0 -5
  445. package/web/.next/static/chunks/8b0a9cb5109fe899.js +0 -1
  446. package/web/.next/static/chunks/971e52f3f386ccfd.js +0 -1
  447. package/web/.next/static/chunks/a20f2d6f76f469b7.css +0 -1
  448. package/web/.next/static/chunks/b2aa69e4b0b032d9.js +0 -1
  449. package/web/.next/static/chunks/b63e6727c84f30e2.js +0 -1
  450. package/web/.next/static/chunks/b65e555419a0c664.js +0 -1
  451. package/web/.next/static/chunks/b7b5d65a5dd2fff1.js +0 -1
  452. package/web/.next/static/chunks/ba0e0fa2d1a650bb.js +0 -1
  453. package/web/.next/static/chunks/c10c0d6d458453bc.js +0 -1
  454. package/web/.next/static/chunks/d26542df5ecc8717.js +0 -1
  455. /package/web/.next/static/{9rcv3ICw0kZNuv3TVdO8E → GfIqHvmVtZCXK5PAbtkQf}/_buildManifest.js +0 -0
  456. /package/web/.next/static/{9rcv3ICw0kZNuv3TVdO8E → GfIqHvmVtZCXK5PAbtkQf}/_clientMiddlewareManifest.json +0 -0
  457. /package/web/.next/static/{9rcv3ICw0kZNuv3TVdO8E → GfIqHvmVtZCXK5PAbtkQf}/_ssgManifest.js +0 -0
@@ -3,6 +3,7 @@ import type { FeatureNodeData } from '../../common/feature-node/index.js';
3
3
  import type { RepositoryNodeData } from '../../common/repository-node/index.js';
4
4
  import type { CanvasNodeType } from '../../features/features-canvas/index.js';
5
5
  import { type LayoutDirection } from '../../../lib/layout-with-dagre.js';
6
+ import type { ApplicationNodeData } from '../../common/application-node/application-node-config.js';
6
7
  import { type GraphCallbacks } from '../../../hooks/use-graph-state.js';
7
8
  export interface ControlCenterState {
8
9
  nodes: CanvasNodeType[];
@@ -22,7 +23,10 @@ export interface ControlCenterState {
22
23
  handleStopFeature: (featureId: string) => void;
23
24
  handleUnarchiveFeature: (featureId: string) => void;
24
25
  handleDeleteRepository: (repositoryId: string) => Promise<void>;
26
+ handleDeleteApplication: (applicationId: string) => Promise<void>;
25
27
  createFeatureNode: (sourceNodeId: string | null, dataOverride?: Partial<FeatureNodeData>, edgeType?: string) => string;
28
+ /** Add an application node to the canvas optimistically. */
29
+ addApplication: (nodeId: string, data: ApplicationNodeData) => void;
26
30
  /** Whether archived features are shown on the canvas. */
27
31
  showArchived: boolean;
28
32
  /** Toggle archived feature visibility. */
@@ -1 +1 @@
1
- {"version":3,"file":"use-control-center-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/pres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AC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,sBAAsB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,sBAAsB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,iBAAiB,EAAE,CACjB,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,YAAY,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,EACvC,QAAQ,CAAC,EAAE,MAAM,KACd,MAAM,CAAC;IACZ,yDAAyD;IACzD,YAAY,EAAE,OAAO,CAAC;IACtB,0CAA0C;IAC1C,eAAe,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,wDAAwD;IACxD,wBAAwB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACxE,gDAAgD;IAChD,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAC;IACtE,0EAA0E;IAC1E,YAAY,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,IAAI,CAAC;CACnD;AAQD,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,cAAc,EAAE,EAC9B,YAAY,EAAE,IAAI,EAAE,GACnB,kBAAkB,CAilBpB"}
1
+ {"version":3,"file":"use-control-center-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/use-control-center-state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,yBA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E,CACjB,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,YAAY,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,EACvC,QAAQ,CAAC,EAAE,MAAM,KACd,MAAM,CAAC;IACZ,4DAA4D;IAC5D,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACpE,yDAAyD;IACzD,YAAY,EAAE,OAAO,CAAC;IACtB,0CAA0C;IAC1C,eAAe,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,wDAAwD;IACxD,wBAAwB,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACxE,gDAAgD;IAChD,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAC;IACtE,0EAA0E;IAC1E,YAAY,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,IAAI,CAAC;CACnD;AAQD,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,cAAc,EAAE,EAC9B,YAAY,EAAE,IAAI,EAAE,GACnB,kBAAkB,CA8mBpB"}
@@ -11,6 +11,7 @@ import { stopFeature } from '../../../app/actions/stop-feature.js';
11
11
  import { unarchiveFeature } from '../../../app/actions/unarchive-feature.js';
12
12
  import { addRepository } from '../../../app/actions/add-repository.js';
13
13
  import { deleteRepository } from '../../../app/actions/delete-repository.js';
14
+ import { deleteApplication } from '../../../app/actions/delete-application.js';
14
15
  import { getFeatureMetadata } from '../../../app/actions/get-feature-metadata.js';
15
16
  import { useAgentEventsContext } from '../../../hooks/agent-events-provider.js';
16
17
  import { useSoundAction } from '../../../hooks/use-sound-action.js';
@@ -29,7 +30,7 @@ export function useControlCenterState(initialNodes, initialEdges) {
29
30
  const createSound = useSoundAction('create');
30
31
  // Archive toggle: persists during session, resets on page reload (FR-10)
31
32
  const [showArchived, setShowArchived] = useState(false);
32
- const { nodes, edges, reconcile, updateFeature, addPendingFeature, removeFeature, restoreFeature, addRepository: addRepositoryToMap, removeRepository, replaceRepository, getFeatureRepositoryPath, getRepositoryData, getRepoMapSize, setCallbacks, beginMutation, endMutation, isMutating, } = useGraphState(initialNodes, initialEdges, showArchived);
33
+ const { nodes, edges, reconcile, updateFeature, addPendingFeature, removeFeature, restoreFeature, addRepository: addRepositoryToMap, removeRepository, replaceRepository, getFeatureRepositoryPath, getRepositoryData, getRepoMapSize, addApplication: addApplicationToMap, removeApplication, setCallbacks, beginMutation, endMutation, isMutating, } = useGraphState(initialNodes, initialEdges, showArchived);
33
34
  // Refs for stable access to latest nodes/edges without callback recreation
34
35
  const nodesRef = useRef(nodes);
35
36
  const edgesRef = useRef(edges);
@@ -440,6 +441,27 @@ export function useControlCenterState(initialNodes, initialEdges) {
440
441
  beginMutation,
441
442
  endMutation,
442
443
  ]);
444
+ const handleDeleteApplication = useCallback(async (applicationId) => {
445
+ const appNodeId = `app-${applicationId}`;
446
+ // Optimistic: remove application node
447
+ beginMutation();
448
+ removeApplication(appNodeId);
449
+ deleteSound.play();
450
+ try {
451
+ const result = await deleteApplication(applicationId);
452
+ if (result.error) {
453
+ toast.error(result.error);
454
+ // Rollback would require storing the previous data; for now we let
455
+ // the next polling reconcile restore it if the delete actually failed.
456
+ }
457
+ }
458
+ catch {
459
+ toast.error('Failed to delete application');
460
+ }
461
+ finally {
462
+ endMutation();
463
+ }
464
+ }, [deleteSound, removeApplication, beginMutation, endMutation]);
443
465
  const handleLayout = useCallback((direction) => {
444
466
  // Layout is applied via reconcile on next server prop update.
445
467
  // For immediate re-layout, we apply dagre and trigger a reconcile-like update.
@@ -510,7 +532,9 @@ export function useControlCenterState(initialNodes, initialEdges) {
510
532
  handleStopFeature,
511
533
  handleUnarchiveFeature,
512
534
  handleDeleteRepository,
535
+ handleDeleteApplication,
513
536
  createFeatureNode,
537
+ addApplication: addApplicationToMap,
514
538
  showArchived,
515
539
  setShowArchived,
516
540
  getFeatureRepositoryPath,
@@ -1 +1 @@
1
- {"version":3,"file":"welcome-agent-setup.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/welcome-agent-setup.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,sBAAsB,2CAkPlF"}
1
+ {"version":3,"file":"welcome-agent-setup.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/control-center/welcome-agent-setup.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,sBAAsB,2CA4NlF"}
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useState, useEffect, useCallback, useRef } from 'react';
4
- import { ChevronLeft, Loader2, AlertTriangle } from 'lucide-react';
4
+ import { ChevronLeft, Loader2 } from 'lucide-react';
5
5
  import { useTranslation } from 'react-i18next';
6
6
  import { getAllAgentModels } from '../../../app/actions/get-all-agent-models.js';
7
7
  import { updateAgentAndModel } from '../../../app/actions/update-agent-and-model.js';
@@ -95,7 +95,7 @@ export function WelcomeAgentSetup({ onComplete, className }) {
95
95
  : activeGroup
96
96
  ? t('welcome.chooseModelSubtitle', { label: activeGroup.label })
97
97
  : '';
98
- return (_jsxs("div", { "data-testid": "welcome-agent-setup", className: cn('flex w-full flex-col items-center', className), children: [_jsx("div", { className: "mb-8 flex w-full max-w-xs items-center gap-1.5", children: STEPS.map((s, i) => (_jsx("div", { className: cn('h-[3px] flex-1 rounded-full transition-colors duration-300', i <= stepIndex ? 'bg-foreground/60' : 'bg-muted') }, s))) }), _jsxs("div", { className: cn('flex w-full flex-col items-center transition-opacity duration-200', visible && !transitioning ? 'opacity-100' : 'opacity-0'), children: [_jsx("h1", { className: "text-foreground/90 text-center text-5xl font-extralight tracking-tight", children: heroTitle }), _jsx("p", { className: "text-muted-foreground mt-3 text-center text-lg leading-relaxed font-light", children: heroSubtitle }), step === 'select-agent' && (_jsxs("div", { "data-testid": "gh-cli-notice", className: "mt-5 flex items-start gap-2 rounded-lg border border-amber-200 bg-amber-50 px-4 py-3 dark:border-amber-900 dark:bg-amber-950/40", children: [_jsx(AlertTriangle, { className: "mt-0.5 h-4 w-4 shrink-0 text-amber-500" }), _jsxs("p", { className: "text-sm leading-relaxed text-amber-800 dark:text-amber-300", children: [_jsx("span", { className: "font-medium", children: t('welcome.ghCliRequired') }), ' ', t('welcome.ghCliRequiredText'), ' ', _jsx("a", { href: "https://cli.github.com/", target: "_blank", rel: "noopener noreferrer", className: "underline underline-offset-2 hover:text-amber-900 dark:hover:text-amber-200", children: t('welcome.installHere') }), "."] })] })), _jsxs("div", { className: "mt-8 flex w-full flex-col items-center", children: [step === 'select-agent' && (_jsx("div", { "data-testid": "agent-list", className: "grid w-full max-w-lg gap-3", style: {
98
+ return (_jsxs("div", { "data-testid": "welcome-agent-setup", className: cn('flex w-full flex-col items-center', className), children: [_jsx("div", { className: "mb-8 flex w-full max-w-xs items-center gap-1.5", children: STEPS.map((s, i) => (_jsx("div", { className: cn('h-[3px] flex-1 rounded-full transition-colors duration-300', i <= stepIndex ? 'bg-foreground/60' : 'bg-muted') }, s))) }), _jsxs("div", { className: cn('flex w-full flex-col items-center transition-opacity duration-200', visible && !transitioning ? 'opacity-100' : 'opacity-0'), children: [_jsx("h1", { className: "text-foreground/90 text-center text-5xl font-extralight tracking-tight", children: heroTitle }), _jsx("p", { className: "text-muted-foreground mt-3 text-center text-lg leading-relaxed font-light", children: heroSubtitle }), _jsxs("div", { className: "mt-8 flex w-full flex-col items-center", children: [step === 'select-agent' && (_jsx("div", { "data-testid": "agent-list", className: "grid w-full max-w-lg gap-3", style: {
99
99
  gridTemplateColumns: `repeat(${Math.min(groups.length, 4)}, minmax(0, 1fr))`,
100
100
  }, children: groups.map((group) => {
101
101
  const GroupIcon = getAgentTypeIcon(group.agentType);
@@ -1,7 +1,8 @@
1
1
  import type { Connection, Edge, NodeChange, OnMoveEnd, Viewport } from '@xyflow/react';
2
2
  import type { FeatureNodeType } from '../../common/feature-node/index.js';
3
3
  import type { RepositoryNodeType } from '../../common/repository-node/index.js';
4
- export type CanvasNodeType = FeatureNodeType | RepositoryNodeType;
4
+ import type { ApplicationNodeType } from '../../common/application-node/application-node-config.js';
5
+ export type CanvasNodeType = FeatureNodeType | RepositoryNodeType | ApplicationNodeType;
5
6
  export interface FeaturesCanvasProps {
6
7
  nodes: CanvasNodeType[];
7
8
  edges: Edge[];
@@ -1 +1 @@
1
- {"version":3,"file":"features-canvas.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/features-canvas/features-canvas.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAOvF,OAAO,KAAK,EAAE,eAAe,EAAmB,MAAM,kCAAkC,CAAC;AAEzF,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,qCAAqC,CAAC;AAGlG,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,kBAAkB,CAAC;AAElE,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAChE,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,CAAC;IAChE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAID,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,SAAS,EACT,OAAO,EACP,UAAU,GACX,EAAE,mBAAmB,2CA0IrB"}
1
+ {"version":3,"file":"features-canvas.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/features-canvas/features-canvas.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAOvF,OAAO,KAAK,EAAE,eAAe,EAAmB,MAAM,kCAAkC,CAAC;AAEzF,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,qCAAqC,CAAC;AAElG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AAGxG,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,kBAAkB,GAAG,mBAAmB,CAAC;AAExF,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAChE,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,CAAC;IAChE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAID,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,SAAS,EACT,OAAO,EACP,UAAU,GACX,EAAE,mBAAmB,2CA2IrB"}
@@ -9,6 +9,7 @@ import { Button } from '../../ui/button.js';
9
9
  import { EmptyState } from '../../common/empty-state/index.js';
10
10
  import { FeatureNode } from '../../common/feature-node/index.js';
11
11
  import { RepositoryNode } from '../../common/repository-node/index.js';
12
+ import { ApplicationNode } from '../../common/application-node/application-node.js';
12
13
  import { DependencyEdge } from './dependency-edge.js';
13
14
  const FALLBACK_VIEWPORT = { x: 30, y: 30, zoom: 0.85 };
14
15
  export function FeaturesCanvas({ nodes, edges, selectedFeatureId, selectedRepository, defaultViewport, onNodesChange, onAddFeature, onConnect, onNodeClick, onPaneClick, onCanvasDrag, onMoveEnd, toolbar, emptyState, }) {
@@ -16,6 +17,7 @@ export function FeaturesCanvas({ nodes, edges, selectedFeatureId, selectedReposi
16
17
  const nodeTypes = useMemo(() => ({
17
18
  featureNode: FeatureNode,
18
19
  repositoryNode: RepositoryNode,
20
+ applicationNode: ApplicationNode,
19
21
  }), []);
20
22
  const edgeTypes = useMemo(() => ({
21
23
  dependencyEdge: DependencyEdge,
@@ -11,10 +11,12 @@ export interface AgentModelPickerProps {
11
11
  className?: string;
12
12
  /** 'settings' persists to DB; 'override' only calls onAgentModelChange */
13
13
  mode: 'settings' | 'override';
14
+ /** Show installed/not-installed badges next to agent names */
15
+ showInstallStatus?: boolean;
14
16
  }
15
17
  export interface AgentModelPickerSaveResult {
16
18
  ok: boolean;
17
19
  error?: string;
18
20
  }
19
- export declare function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode, }: AgentModelPickerProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode, showInstallStatus, }: AgentModelPickerProps): import("react/jsx-runtime").JSX.Element;
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/settings/AgentModelPicker/index.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAC;IAC1F,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;CAC/B;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,gBAAgB,EAChB,YAAY,EACZ,SAAS,EAAE,mBAAmB,EAC9B,KAAK,EAAE,eAAe,EACtB,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GACL,EAAE,qBAAqB,2CAiOvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/settings/AgentModelPicker/index.tsx"],"names":[],"mappings":"AAeA,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAC;IAC1F,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9B,8DAA8D;IAC9D,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,gBAAgB,EAChB,YAAY,EACZ,SAAS,EAAE,mBAAmB,EAC9B,KAAK,EAAE,eAAe,EACtB,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,iBAAiB,GAClB,EAAE,qBAAqB,2CA4OvB"}
@@ -1,18 +1,20 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import * as React from 'react';
4
- import { Check, ChevronLeft, ChevronRight } from 'lucide-react';
4
+ import { Check, ChevronLeft, ChevronRight, CircleCheck, CircleMinus } from 'lucide-react';
5
5
  import { getAllAgentModels } from '../../../../app/actions/get-all-agent-models.js';
6
+ import { checkAllAgentsStatus } from '../../../../app/actions/check-all-agents-status.js';
6
7
  import { updateAgentAndModel } from '../../../../app/actions/update-agent-and-model.js';
7
8
  import { getAgentTypeIcon } from '../../../common/feature-node/agent-type-icons.js';
8
9
  import { getModelMeta } from '../../../../lib/model-metadata.js';
9
10
  import { Button } from '../../../ui/button.js';
10
11
  import { Popover, PopoverContent, PopoverTrigger } from '../../../ui/popover.js';
11
12
  import { cn } from '../../../../lib/utils.js';
12
- export function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode, }) {
13
+ export function AgentModelPicker({ initialAgentType, initialModel, agentType: controlledAgentType, model: controlledModel, onAgentModelChange, onSave, saveError, saving, disabled, className, mode, showInstallStatus, }) {
13
14
  const [open, setOpen] = React.useState(false);
14
15
  const [groups, setGroups] = React.useState([]);
15
16
  const [loading, setLoading] = React.useState(true);
17
+ const [installMap, setInstallMap] = React.useState({});
16
18
  const [agentType, setAgentType] = React.useState(controlledAgentType ?? initialAgentType);
17
19
  const [model, setModel] = React.useState(controlledModel ?? initialModel);
18
20
  const [internalSaving, setInternalSaving] = React.useState(false);
@@ -25,7 +27,10 @@ export function AgentModelPicker({ initialAgentType, initialModel, agentType: co
25
27
  getAllAgentModels()
26
28
  .then(setGroups)
27
29
  .finally(() => setLoading(false));
28
- }, []);
30
+ if (showInstallStatus) {
31
+ checkAllAgentsStatus().then(setInstallMap);
32
+ }
33
+ }, [showInstallStatus]);
29
34
  React.useEffect(() => {
30
35
  setAgentType(controlledAgentType ?? initialAgentType);
31
36
  }, [controlledAgentType, initialAgentType]);
@@ -103,7 +108,7 @@ export function AgentModelPicker({ initialAgentType, initialModel, agentType: co
103
108
  else {
104
109
  handleSelect(group.agentType, '');
105
110
  }
106
- }, children: [_jsx(GroupIcon, { className: "h-4 w-4 shrink-0" }), _jsx("span", { className: "flex-1 text-start", children: group.label }), isActive && !hasModels ? (_jsx(Check, { className: "text-primary h-3.5 w-3.5 shrink-0" })) : null, hasModels ? (_jsx(ChevronRight, { className: "text-muted-foreground h-3.5 w-3.5 shrink-0" })) : null] }, group.agentType));
111
+ }, children: [_jsx(GroupIcon, { className: "h-4 w-4 shrink-0" }), _jsx("span", { className: "flex-1 text-start", children: group.label }), showInstallStatus && group.agentType in installMap ? (installMap[group.agentType] ? (_jsx(CircleCheck, { className: "h-3 w-3 shrink-0 text-emerald-500" })) : (_jsx(CircleMinus, { className: "text-muted-foreground/40 h-3 w-3 shrink-0" }))) : null, isActive && !hasModels ? (_jsx(Check, { className: "text-primary h-3.5 w-3.5 shrink-0" })) : null, hasModels ? (_jsx(ChevronRight, { className: "text-muted-foreground h-3.5 w-3.5 shrink-0" })) : null] }, group.agentType));
107
112
  })] }), _jsx("div", { className: "w-1/2 shrink-0", children: activeGroup ? (_jsxs(_Fragment, { children: [_jsxs("button", { type: "button", className: "text-muted-foreground hover:text-foreground flex w-full cursor-pointer items-center gap-1.5 border-b px-3 py-2 text-xs font-medium transition-colors", onClick: drillBack, children: [_jsx(ChevronLeft, { className: "h-3.5 w-3.5" }), activeGroup.label] }), activeGroup.models.map((m) => {
108
113
  const isSelected = agentType === activeGroup.agentType && model === m.id;
109
114
  return (_jsxs("button", { type: "button", className: cn('flex w-full cursor-pointer items-center gap-3 px-3 py-2 text-start transition-colors', 'hover:bg-accent hover:text-accent-foreground', isSelected && 'bg-accent/50'), onClick: () => handleSelect(activeGroup.agentType, m.id), children: [_jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [_jsx("span", { className: "text-xs font-medium", children: m.displayName }), _jsx("span", { className: "text-muted-foreground text-xs", children: m.description })] }), isSelected ? (_jsx(Check, { className: "text-primary h-3.5 w-3.5 shrink-0" })) : null] }, m.id));
@@ -2,6 +2,7 @@ import type { Edge } from '@xyflow/react';
2
2
  import type { CanvasNodeType } from '../components/features/features-canvas/index.js';
3
3
  import type { FeatureNodeData } from '../components/common/feature-node/index.js';
4
4
  import type { RepositoryNodeData } from '../components/common/repository-node/index.js';
5
+ import type { ApplicationNodeData } from '../components/common/application-node/application-node-config.js';
5
6
  import { type FeatureEntry, type GraphCallbacks } from '../lib/derive-graph.js';
6
7
  export type { GraphCallbacks } from '../lib/derive-graph.js';
7
8
  export interface UseGraphStateReturn {
@@ -37,6 +38,10 @@ export interface UseGraphStateReturn {
37
38
  getRepositoryData: (nodeId: string) => RepositoryNodeData | undefined;
38
39
  /** Stable lookup: get the current number of repositories in the domain Map. */
39
40
  getRepoMapSize: () => number;
41
+ /** Add an application node. */
42
+ addApplication: (nodeId: string, data: ApplicationNodeData) => void;
43
+ /** Remove an application node. */
44
+ removeApplication: (nodeId: string) => void;
40
45
  /** Update callbacks injected into node data (does NOT trigger re-render). */
41
46
  setCallbacks: (callbacks: GraphCallbacks) => void;
42
47
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"use-graph-state.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/hooks/use-graph-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAY,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAG5B,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAClC,mDAAmD;IACnD,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,mDAAmD;IACnD,KAAK,EAAE,IAAI,EAAE,CAAC;IACd;;;;OAIG;IACH,SAAS,EAAE,CAAC,QAAQ,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClE,uEAAuE;IACvE,aAAa,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC5E,kEAAkE;IAClE,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1F,yDAAyD;IACzD,oBAAo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B,YAAY,EAAE,IAAI,EAAE,EACpB,YAAY,UAAQ,GACnB,mBAAmB,CAkerB"}
@@ -14,6 +14,7 @@ function parseMaps(initialNodes, initialEdges) {
14
14
  }
15
15
  const featureMap = new Map();
16
16
  const repoMap = new Map();
17
+ const applicationMap = new Map();
17
18
  for (const node of initialNodes) {
18
19
  if (node.type === 'featureNode') {
19
20
  featureMap.set(node.id, {
@@ -28,8 +29,14 @@ function parseMaps(initialNodes, initialEdges) {
28
29
  data: node.data,
29
30
  });
30
31
  }
32
+ else if (node.type === 'applicationNode') {
33
+ applicationMap.set(node.id, {
34
+ nodeId: node.id,
35
+ data: node.data,
36
+ });
37
+ }
31
38
  }
32
- return { featureMap, repoMap };
39
+ return { featureMap, repoMap, applicationMap };
33
40
  }
34
41
  function isFeatureDataUnchanged(data, updates) {
35
42
  return ((updates.state === undefined || updates.state === data.state) &&
@@ -64,6 +71,7 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
64
71
  const init = useMemo(() => parseMaps(initialNodes, initialEdges), []);
65
72
  const [featureMap, setFeatureMap] = useState(init.featureMap);
66
73
  const [repoMap, setRepoMap] = useState(init.repoMap);
74
+ const [applicationMap, setApplicationMap] = useState(init.applicationMap);
67
75
  const [pendingMap, setPendingMap] = useState(new Map());
68
76
  // Buffer for SSE updates that arrive before their feature is in featureMap.
69
77
  // When reconcile adds new features, buffered updates are applied automatically.
@@ -99,6 +107,8 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
99
107
  onStartFeature: (featureId) => callbacksRef.current.onStartFeature?.(featureId),
100
108
  onArchiveFeature: (featureId) => callbacksRef.current.onArchiveFeature?.(featureId),
101
109
  onUnarchiveFeature: (featureId) => callbacksRef.current.onUnarchiveFeature?.(featureId),
110
+ onApplicationClick: (applicationId) => callbacksRef.current.onApplicationClick?.(applicationId),
111
+ onApplicationDelete: (applicationId) => callbacksRef.current.onApplicationDelete?.(applicationId),
102
112
  }), []);
103
113
  // Stable refs for domain Maps (for use in callbacks without depending on state)
104
114
  const featureMapRef = useRef(featureMap);
@@ -119,7 +129,7 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
119
129
  return filtered.size === featureMap.size ? featureMap : filtered;
120
130
  }, [featureMap, showArchived]);
121
131
  // Derive graph from domain Maps (runs on every Map change, but dagre only on topology change)
122
- const derived = useMemo(() => deriveGraph(visibleFeatureMap, repoMap, pendingMap, stableCallbacks), [visibleFeatureMap, repoMap, pendingMap, stableCallbacks]);
132
+ const derived = useMemo(() => deriveGraph(visibleFeatureMap, repoMap, pendingMap, stableCallbacks, applicationMap), [visibleFeatureMap, repoMap, pendingMap, stableCallbacks, applicationMap]);
123
133
  // Cache dagre layout positions — only re-run when node set or edge connections change
124
134
  const layoutCacheRef = useRef({ key: '', positions: new Map() });
125
135
  const { nodes, edges } = useMemo(() => {
@@ -291,6 +301,13 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
291
301
  return currentRepoMap;
292
302
  return merged;
293
303
  });
304
+ // Reconcile applicationMap
305
+ const { applicationMap: newApplicationMap } = parseMaps(newNodes, newEdges);
306
+ setApplicationMap((currentAppMap) => {
307
+ if (mapsEqual(currentAppMap, newApplicationMap))
308
+ return currentAppMap;
309
+ return newApplicationMap;
310
+ });
294
311
  }, []);
295
312
  const updateFeature = useCallback((featureNodeId, updates) => {
296
313
  setFeatureMap((prev) => {
@@ -387,6 +404,22 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
387
404
  return next;
388
405
  });
389
406
  }, []);
407
+ const addApplication = useCallback((nodeId, data) => {
408
+ setApplicationMap((prev) => {
409
+ const next = new Map(prev);
410
+ next.set(nodeId, { nodeId, data });
411
+ return next;
412
+ });
413
+ }, []);
414
+ const removeApplication = useCallback((nodeId) => {
415
+ setApplicationMap((prev) => {
416
+ if (!prev.has(nodeId))
417
+ return prev;
418
+ const next = new Map(prev);
419
+ next.delete(nodeId);
420
+ return next;
421
+ });
422
+ }, []);
390
423
  const getFeatureRepositoryPath = useCallback((featureNodeId) => {
391
424
  return featureMapRef.current.get(featureNodeId)?.data.repositoryPath;
392
425
  }, []);
@@ -436,6 +469,8 @@ export function useGraphState(initialNodes, initialEdges, showArchived = false)
436
469
  getFeatureRepositoryPath,
437
470
  getRepositoryData,
438
471
  getRepoMapSize,
472
+ addApplication,
473
+ removeApplication,
439
474
  setCallbacks,
440
475
  beginMutation,
441
476
  endMutation,
@@ -9,6 +9,7 @@ import type { Edge } from '@xyflow/react';
9
9
  import type { CanvasNodeType } from '../components/features/features-canvas/index.js';
10
10
  import type { FeatureNodeData } from '../components/common/feature-node/index.js';
11
11
  import type { RepositoryNodeData } from '../components/common/repository-node/index.js';
12
+ import type { ApplicationNodeData } from '../components/common/application-node/application-node-config.js';
12
13
  /** A feature node entry stored in the domain Map. */
13
14
  export interface FeatureEntry {
14
15
  nodeId: string;
@@ -21,6 +22,11 @@ export interface RepoEntry {
21
22
  nodeId: string;
22
23
  data: RepositoryNodeData;
23
24
  }
25
+ /** An application node entry stored in the domain Map. */
26
+ export interface ApplicationEntry {
27
+ nodeId: string;
28
+ data: ApplicationNodeData;
29
+ }
24
30
  /** Stable callbacks passed by the consumer, injected into derived node data. */
25
31
  export interface GraphCallbacks {
26
32
  /** Called when the user triggers an action on a feature node (e.g., adds a sub-feature). */
@@ -45,6 +51,10 @@ export interface GraphCallbacks {
45
51
  onArchiveFeature?: (featureId: string) => void;
46
52
  /** Called when the user unarchives a feature. */
47
53
  onUnarchiveFeature?: (featureId: string) => void;
54
+ /** Called when the user clicks an application node to navigate to its detail page. */
55
+ onApplicationClick?: (applicationId: string) => void;
56
+ /** Called when the user deletes an application. */
57
+ onApplicationDelete?: (applicationId: string) => void;
48
58
  }
49
59
  /**
50
60
  * Derives React Flow nodes and edges from domain Maps.
@@ -55,7 +65,7 @@ export interface GraphCallbacks {
55
65
  * - Pending feature nodes (creating state) from pendingMap → same rules, no action callbacks
56
66
  * - Callbacks are injected into node data via closures
57
67
  */
58
- export declare function deriveGraph(featureMap: Map<string, FeatureEntry>, repoMap: Map<string, RepoEntry>, pendingMap: Map<string, FeatureEntry>, callbacks?: GraphCallbacks): {
68
+ export declare function deriveGraph(featureMap: Map<string, FeatureEntry>, repoMap: Map<string, RepoEntry>, pendingMap: Map<string, FeatureEntry>, callbacks?: GraphCallbacks, applicationMap?: Map<string, ApplicationEntry>): {
59
69
  nodes: CanvasNodeType[];
60
70
  edges: Edge[];
61
71
  };
@@ -1 +1 @@
1
- {"version":3,"file":"derive-graph.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/derive-graph.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,qDAAqD;AACrD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,eAAe,CAAC;IACtB,sGAAsG;IACtG,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wDAAwD;AACxD,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,gFAAgF;AAChF,MAAM,WAAW,cAAc;IAC7B,4FAA4F;IAC5F,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,qEAAqE;IACrE,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,8CAA8C;IAC9C,eAAe,CAAC,EAAE,CAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,OAAO,EACjB,aAAa,CAAC,EAAE,OAAO,EACvB,OAAO,CAAC,EAAE,OAAO,KACd,IAA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IAAI,CAAC;IAC7C,qDAAqD;IACrD,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,oDAAoD;IACpD,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,mDAAmD;IACnD,mBAAmB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CACzB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EACrC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,EAC/B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EACrC,SAAS,CAAC,EAAE,cAAc,EAC1B,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAC7C;IAAE,KAAK,EAAE,cAAc,EAAE,CAAC;IAAC,KAAK,EAAE,IAAI,EAAE,CAAA;CAAE,CAqN5C"}
@@ -14,7 +14,7 @@
14
14
  * - Pending feature nodes (creating state) from pendingMap → same rules, no action callbacks
15
15
  * - Callbacks are injected into node data via closures
16
16
  */
17
- export function deriveGraph(featureMap, repoMap, pendingMap, callbacks) {
17
+ export function deriveGraph(featureMap, repoMap, pendingMap, callbacks, applicationMap) {
18
18
  const nodes = [];
19
19
  const edges = [];
20
20
  // Normalize path separators so Windows backslash paths match forward-slash paths
@@ -158,6 +158,40 @@ export function deriveGraph(featureMap, repoMap, pendingMap, callbacks) {
158
158
  });
159
159
  }
160
160
  }
161
+ // Add application nodes and derive repo→app edges (matched by repositoryPath).
162
+ if (applicationMap) {
163
+ for (const [nodeId, entry] of applicationMap) {
164
+ const appNodeId = nodeId;
165
+ const data = {
166
+ ...entry.data,
167
+ ...(callbacks?.onApplicationClick && {
168
+ onClick: () => callbacks.onApplicationClick(entry.data.id),
169
+ }),
170
+ ...(callbacks?.onApplicationDelete && {
171
+ onDelete: callbacks.onApplicationDelete,
172
+ }),
173
+ };
174
+ nodes.push({
175
+ id: appNodeId,
176
+ type: 'applicationNode',
177
+ position: { x: 0, y: 0 },
178
+ data,
179
+ });
180
+ // Derive app→repo edge (application on LEFT, repo on RIGHT)
181
+ if (entry.data.repositoryPath) {
182
+ const repoPath = entry.data.repositoryPath.replace(/\\/g, '/');
183
+ const repoNodeId = repoByPath.get(repoPath);
184
+ if (repoNodeId) {
185
+ edges.push({
186
+ id: `edge-${appNodeId}-${repoNodeId}`,
187
+ source: appNodeId,
188
+ target: repoNodeId,
189
+ style: { strokeDasharray: '5 5' },
190
+ });
191
+ }
192
+ }
193
+ }
194
+ }
161
195
  // Build set of feature node IDs that have children (are dependency edge sources)
162
196
  const parentNodeIds = new Set();
163
197
  for (const edge of edges) {
@@ -1 +1 @@
1
- {"version":3,"file":"layout-with-dagre.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/web/lib/layout-with-dagre.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,iEAAiE;IACjE,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,0DAA0D;IAC1D,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,qDAAqD;IACrD,OAAO,C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C5C,KAAK,EAAE,CAAC,EAAE,EACV,KAAK,EAAE,IAAI,EAAE,EACb,IAAI,GAAE,aAAkB,GACvB;IAAE,KAAK,EAAE,CAAC,EAAE,CAAC;IAAC,KAAK,EAAE,IAAI,EAAE,CAAA;CAAE,CAqL/B"}
@@ -13,6 +13,7 @@ export function getCanvasLayoutDefaults(dir = 'ltr') {
13
13
  const NODE_DIMENSIONS = {
14
14
  featureNode: { width: 388, height: 140 },
15
15
  repositoryNode: { width: 400, height: 140 },
16
+ applicationNode: { width: 416, height: 220 },
16
17
  };
17
18
  function getNodeSize(node, defaultSize) {
18
19
  // Prefer per-node size from data, then type-based lookup, then default
@@ -406,7 +406,12 @@
406
406
  "newFeature": "ميزة جديدة",
407
407
  "localFolder": "مجلد محلي",
408
408
  "adoptBranch": "تبني فرع",
409
- "fromGithub": "من GitHub"
409
+ "fromGithub": "من GitHub",
410
+ "newApplication": "تطبيق جديد",
411
+ "newApplicationDescription": "صف التطبيق الذي تريد بناءه وسيقوم Shep بإعداده لك.",
412
+ "newApplicationPlaceholder": "صف ما تريد بناءه...",
413
+ "creating": "جارٍ الإنشاء...",
414
+ "create": "إنشاء"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "محادثة Shep",
@@ -406,7 +406,12 @@
406
406
  "newFeature": "Neues Feature",
407
407
  "localFolder": "Lokaler Ordner",
408
408
  "adoptBranch": "Branch übernehmen",
409
- "fromGithub": "Von GitHub"
409
+ "fromGithub": "Von GitHub",
410
+ "newApplication": "Neue Anwendung",
411
+ "newApplicationDescription": "Beschreiben Sie die Anwendung, die Sie erstellen möchten, und Shep richtet sie für Sie ein.",
412
+ "newApplicationPlaceholder": "Beschreiben Sie, was Sie erstellen möchten...",
413
+ "creating": "Wird erstellt...",
414
+ "create": "Erstellen"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "Shep Chat",
@@ -406,7 +406,12 @@
406
406
  "newFeature": "New Feature",
407
407
  "localFolder": "Local Folder",
408
408
  "adoptBranch": "Adopt Branch",
409
- "fromGithub": "From GitHub"
409
+ "fromGithub": "From GitHub",
410
+ "newApplication": "New Application",
411
+ "newApplicationDescription": "Describe the application you want to build and Shep will set it up for you.",
412
+ "newApplicationPlaceholder": "Describe what you want to build...",
413
+ "creating": "Creating...",
414
+ "create": "Create"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "Shep Chat",
@@ -406,7 +406,12 @@
406
406
  "newFeature": "Nueva función",
407
407
  "localFolder": "Carpeta local",
408
408
  "adoptBranch": "Adoptar rama",
409
- "fromGithub": "Desde GitHub"
409
+ "fromGithub": "Desde GitHub",
410
+ "newApplication": "Nueva Aplicación",
411
+ "newApplicationDescription": "Describe la aplicación que quieres construir y Shep la configurará por ti.",
412
+ "newApplicationPlaceholder": "Describe lo que quieres construir...",
413
+ "creating": "Creando...",
414
+ "create": "Crear"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "Shep Chat",
@@ -406,7 +406,12 @@
406
406
  "newFeature": "Nouvelle fonctionnalité",
407
407
  "localFolder": "Dossier local",
408
408
  "adoptBranch": "Adopter une branche",
409
- "fromGithub": "Depuis GitHub"
409
+ "fromGithub": "Depuis GitHub",
410
+ "newApplication": "Nouvelle application",
411
+ "newApplicationDescription": "Décrivez l'application que vous souhaitez créer et Shep la configurera pour vous.",
412
+ "newApplicationPlaceholder": "Décrivez ce que vous voulez construire...",
413
+ "creating": "Création...",
414
+ "create": "Créer"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "Shep Chat",
@@ -406,7 +406,12 @@
406
406
  "newFeature": "פיצ'ר חדש",
407
407
  "localFolder": "תיקייה מקומית",
408
408
  "adoptBranch": "אימוץ ענף",
409
- "fromGithub": "מ-GitHub"
409
+ "fromGithub": "מ-GitHub",
410
+ "newApplication": "אפליקציה חדשה",
411
+ "newApplicationDescription": "תאר את האפליקציה שאתה רוצה לבנות ו-Shep יגדיר אותה עבורך.",
412
+ "newApplicationPlaceholder": "תאר מה אתה רוצה לבנות...",
413
+ "creating": "יוצר...",
414
+ "create": "יצירה"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "צ'אט Shep",
@@ -406,7 +406,12 @@
406
406
  "newFeature": "Nova funcionalidade",
407
407
  "localFolder": "Pasta local",
408
408
  "adoptBranch": "Adotar branch",
409
- "fromGithub": "Do GitHub"
409
+ "fromGithub": "Do GitHub",
410
+ "newApplication": "Nova Aplicação",
411
+ "newApplicationDescription": "Descreva a aplicação que deseja construir e o Shep irá configurá-la para você.",
412
+ "newApplicationPlaceholder": "Descreva o que você quer construir...",
413
+ "creating": "Criando...",
414
+ "create": "Criar"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "Shep Chat",
@@ -406,7 +406,12 @@
406
406
  "newFeature": "Новая функция",
407
407
  "localFolder": "Локальная папка",
408
408
  "adoptBranch": "Принять ветку",
409
- "fromGithub": "Из GitHub"
409
+ "fromGithub": "Из GitHub",
410
+ "newApplication": "Новое приложение",
411
+ "newApplicationDescription": "Опишите приложение, которое вы хотите создать, и Shep настроит его для вас.",
412
+ "newApplicationPlaceholder": "Опишите, что вы хотите создать...",
413
+ "creating": "Создание...",
414
+ "create": "Создать"
410
415
  },
411
416
  "chat": {
412
417
  "shepChat": "Shep Чат",