@shepai/cli 1.179.1 → 1.180.0

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 (912) hide show
  1. package/apis/json-schema/Application.yaml +40 -0
  2. package/apis/json-schema/ApplicationStatus.yaml +8 -0
  3. package/apis/json-schema/InteractiveMessage.yaml +3 -0
  4. package/apis/json-schema/WorkflowStep.yaml +53 -0
  5. package/apis/json-schema/WorkflowStepStatus.yaml +10 -0
  6. package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts +17 -0
  7. package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts.map +1 -0
  8. package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.js +6 -0
  9. package/dist/packages/core/src/application/ports/output/repositories/index.d.ts +1 -0
  10. package/dist/packages/core/src/application/ports/output/repositories/index.d.ts.map +1 -1
  11. package/dist/packages/core/src/application/ports/output/repositories/interactive-session-repository.interface.d.ts +13 -0
  12. package/dist/packages/core/src/application/ports/output/repositories/interactive-session-repository.interface.d.ts.map +1 -1
  13. package/dist/packages/core/src/application/ports/output/repositories/workflow-step-repository.interface.d.ts +52 -0
  14. package/dist/packages/core/src/application/ports/output/repositories/workflow-step-repository.interface.d.ts.map +1 -0
  15. package/dist/packages/core/src/application/ports/output/repositories/workflow-step-repository.interface.js +11 -0
  16. package/dist/packages/core/src/application/ports/output/services/application-brief-store.interface.d.ts +36 -0
  17. package/dist/packages/core/src/application/ports/output/services/application-brief-store.interface.d.ts.map +1 -0
  18. package/dist/packages/core/src/application/ports/output/services/application-brief-store.interface.js +22 -0
  19. package/dist/packages/core/src/application/ports/output/services/application-creation-prompt-builder.interface.d.ts +116 -0
  20. package/dist/packages/core/src/application/ports/output/services/application-creation-prompt-builder.interface.d.ts.map +1 -0
  21. package/dist/packages/core/src/application/ports/output/services/application-creation-prompt-builder.interface.js +27 -0
  22. package/dist/packages/core/src/application/ports/output/services/application-file-system-service.interface.d.ts +100 -0
  23. package/dist/packages/core/src/application/ports/output/services/application-file-system-service.interface.d.ts.map +1 -0
  24. package/dist/packages/core/src/application/ports/output/services/application-file-system-service.interface.js +20 -0
  25. package/dist/packages/core/src/application/ports/output/services/index.d.ts +4 -0
  26. package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
  27. package/dist/packages/core/src/application/ports/output/services/index.js +1 -0
  28. package/dist/packages/core/src/application/ports/output/services/interactive-session-service.interface.d.ts +111 -5
  29. package/dist/packages/core/src/application/ports/output/services/interactive-session-service.interface.d.ts.map +1 -1
  30. package/dist/packages/core/src/application/ports/output/services/terminal-session-service.interface.d.ts +46 -0
  31. package/dist/packages/core/src/application/ports/output/services/terminal-session-service.interface.d.ts.map +1 -0
  32. package/dist/packages/core/src/application/ports/output/services/terminal-session-service.interface.js +9 -0
  33. package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts +92 -0
  34. package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts.map +1 -0
  35. package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.js +305 -0
  36. package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts +15 -0
  37. package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts.map +1 -0
  38. package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.js +45 -0
  39. package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts +13 -0
  40. package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts.map +1 -0
  41. package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.js +33 -0
  42. package/dist/packages/core/src/application/use-cases/applications/index.d.ts +13 -0
  43. package/dist/packages/core/src/application/use-cases/applications/index.d.ts.map +1 -0
  44. package/dist/packages/core/src/application/use-cases/applications/index.js +10 -0
  45. package/dist/packages/core/src/application/use-cases/applications/list-application-files.use-case.d.ts +18 -0
  46. package/dist/packages/core/src/application/use-cases/applications/list-application-files.use-case.d.ts.map +1 -0
  47. package/dist/packages/core/src/application/use-cases/applications/list-application-files.use-case.js +41 -0
  48. package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts +13 -0
  49. package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts.map +1 -0
  50. package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.js +33 -0
  51. package/dist/packages/core/src/application/use-cases/applications/read-application-file-raw.use-case.d.ts +22 -0
  52. package/dist/packages/core/src/application/use-cases/applications/read-application-file-raw.use-case.d.ts.map +1 -0
  53. package/dist/packages/core/src/application/use-cases/applications/read-application-file-raw.use-case.js +46 -0
  54. package/dist/packages/core/src/application/use-cases/applications/read-application-file.use-case.d.ts +19 -0
  55. package/dist/packages/core/src/application/use-cases/applications/read-application-file.use-case.d.ts.map +1 -0
  56. package/dist/packages/core/src/application/use-cases/applications/read-application-file.use-case.js +43 -0
  57. package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts +14 -0
  58. package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts.map +1 -0
  59. package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.js +33 -0
  60. package/dist/packages/core/src/application/use-cases/applications/watch-application-files.use-case.d.ts +21 -0
  61. package/dist/packages/core/src/application/use-cases/applications/watch-application-files.use-case.d.ts.map +1 -0
  62. package/dist/packages/core/src/application/use-cases/applications/watch-application-files.use-case.js +43 -0
  63. package/dist/packages/core/src/application/use-cases/applications/write-application-file.use-case.d.ts +22 -0
  64. package/dist/packages/core/src/application/use-cases/applications/write-application-file.use-case.d.ts.map +1 -0
  65. package/dist/packages/core/src/application/use-cases/applications/write-application-file.use-case.js +44 -0
  66. package/dist/packages/core/src/application/use-cases/interactive/send-interactive-message.use-case.d.ts +18 -0
  67. package/dist/packages/core/src/application/use-cases/interactive/send-interactive-message.use-case.d.ts.map +1 -1
  68. package/dist/packages/core/src/application/use-cases/interactive/send-interactive-message.use-case.js +1 -1
  69. package/dist/packages/core/src/application/use-cases/terminal/create-terminal-session.use-case.d.ts +19 -0
  70. package/dist/packages/core/src/application/use-cases/terminal/create-terminal-session.use-case.d.ts.map +1 -0
  71. package/dist/packages/core/src/application/use-cases/terminal/create-terminal-session.use-case.js +42 -0
  72. package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts +77 -0
  73. package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts.map +1 -0
  74. package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.js +191 -0
  75. package/dist/packages/core/src/application/workflows/application-creation.workflow.d.ts +50 -0
  76. package/dist/packages/core/src/application/workflows/application-creation.workflow.d.ts.map +1 -0
  77. package/dist/packages/core/src/application/workflows/application-creation.workflow.js +138 -0
  78. package/dist/packages/core/src/domain/generated/output.d.ts +102 -0
  79. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  80. package/dist/packages/core/src/domain/generated/output.js +14 -0
  81. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  82. package/dist/packages/core/src/infrastructure/di/container.js +93 -1
  83. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts +37 -0
  84. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts.map +1 -0
  85. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.js +52 -0
  86. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/interactive-message.mapper.d.ts +1 -0
  87. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/interactive-message.mapper.d.ts.map +1 -1
  88. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/interactive-message.mapper.js +2 -0
  89. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-step.mapper.d.ts +25 -0
  90. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-step.mapper.d.ts.map +1 -0
  91. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-step.mapper.js +50 -0
  92. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts +5 -0
  93. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts.map +1 -0
  94. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.js +34 -0
  95. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/057-workflow-steps.d.ts +31 -0
  96. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/057-workflow-steps.d.ts.map +1 -0
  97. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/057-workflow-steps.js +72 -0
  98. package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts +21 -0
  99. package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts.map +1 -0
  100. package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.js +98 -0
  101. package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-message.repository.js +2 -2
  102. package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-session.repository.d.ts +1 -0
  103. package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-session.repository.d.ts.map +1 -1
  104. package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-session.repository.js +16 -0
  105. package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-step.repository.d.ts +29 -0
  106. package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-step.repository.d.ts.map +1 -0
  107. package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-step.repository.js +157 -0
  108. package/dist/packages/core/src/infrastructure/services/agents/application-creation/application-creation-prompt.builder.d.ts +25 -0
  109. package/dist/packages/core/src/infrastructure/services/agents/application-creation/application-creation-prompt.builder.d.ts.map +1 -0
  110. package/dist/packages/core/src/infrastructure/services/agents/application-creation/application-creation-prompt.builder.js +95 -0
  111. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/brand.d.ts +2 -0
  112. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/brand.d.ts.map +1 -0
  113. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/brand.js +11 -0
  114. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/dynamic.d.ts +14 -0
  115. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/dynamic.d.ts.map +1 -0
  116. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/dynamic.js +50 -0
  117. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/mission.d.ts +2 -0
  118. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/mission.d.ts.map +1 -0
  119. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/mission.js +10 -0
  120. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/output-contract.d.ts +2 -0
  121. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/output-contract.d.ts.map +1 -0
  122. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/output-contract.js +20 -0
  123. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/quality.d.ts +2 -0
  124. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/quality.d.ts.map +1 -0
  125. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/quality.js +12 -0
  126. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/role.d.ts +2 -0
  127. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/role.d.ts.map +1 -0
  128. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/role.js +9 -0
  129. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/tech-stack.d.ts +2 -0
  130. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/tech-stack.d.ts.map +1 -0
  131. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/tech-stack.js +23 -0
  132. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/user-interaction.d.ts +2 -0
  133. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/user-interaction.d.ts.map +1 -0
  134. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/user-interaction.js +29 -0
  135. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/workflow.d.ts +15 -0
  136. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/workflow.d.ts.map +1 -0
  137. package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/workflow.js +40 -0
  138. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.d.ts.map +1 -1
  139. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.js +14 -8
  140. package/dist/packages/core/src/infrastructure/services/filesystem/application-brief.store.d.ts +20 -0
  141. package/dist/packages/core/src/infrastructure/services/filesystem/application-brief.store.d.ts.map +1 -0
  142. package/dist/packages/core/src/infrastructure/services/filesystem/application-brief.store.js +40 -0
  143. package/dist/packages/core/src/infrastructure/services/filesystem/node-application-file-system.service.d.ts +18 -0
  144. package/dist/packages/core/src/infrastructure/services/filesystem/node-application-file-system.service.d.ts.map +1 -0
  145. package/dist/packages/core/src/infrastructure/services/filesystem/node-application-file-system.service.js +292 -0
  146. package/dist/packages/core/src/infrastructure/services/interactive/interactive-session.service.d.ts +49 -10
  147. package/dist/packages/core/src/infrastructure/services/interactive/interactive-session.service.d.ts.map +1 -1
  148. package/dist/packages/core/src/infrastructure/services/interactive/interactive-session.service.js +323 -149
  149. package/dist/packages/core/src/infrastructure/services/terminal/pty-terminal-session.service.d.ts +22 -0
  150. package/dist/packages/core/src/infrastructure/services/terminal/pty-terminal-session.service.d.ts.map +1 -0
  151. package/dist/packages/core/src/infrastructure/services/terminal/pty-terminal-session.service.js +182 -0
  152. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
  153. package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +11 -1
  154. package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts +7 -0
  155. package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts.map +1 -0
  156. package/dist/src/presentation/web/app/actions/check-all-agents-status.js +30 -0
  157. package/dist/src/presentation/web/app/actions/create-application.d.ts +33 -0
  158. package/dist/src/presentation/web/app/actions/create-application.d.ts.map +1 -0
  159. package/dist/src/presentation/web/app/actions/create-application.js +29 -0
  160. package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts +20 -0
  161. package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts.map +1 -0
  162. package/dist/src/presentation/web/app/actions/create-project-and-feature.js +84 -0
  163. package/dist/src/presentation/web/app/actions/delete-application.d.ts +4 -0
  164. package/dist/src/presentation/web/app/actions/delete-application.d.ts.map +1 -0
  165. package/dist/src/presentation/web/app/actions/delete-application.js +16 -0
  166. package/dist/src/presentation/web/app/actions/deploy-application.d.ts +20 -0
  167. package/dist/src/presentation/web/app/actions/deploy-application.d.ts.map +1 -0
  168. package/dist/src/presentation/web/app/actions/deploy-application.js +62 -0
  169. package/dist/src/presentation/web/app/actions/get-application-debug-prompt.d.ts +25 -0
  170. package/dist/src/presentation/web/app/actions/get-application-debug-prompt.d.ts.map +1 -0
  171. package/dist/src/presentation/web/app/actions/get-application-debug-prompt.js +37 -0
  172. package/dist/src/presentation/web/app/actions/get-git-log.js +2 -2
  173. package/dist/src/presentation/web/app/actions/update-application.d.ts +5 -0
  174. package/dist/src/presentation/web/app/actions/update-application.d.ts.map +1 -0
  175. package/dist/src/presentation/web/app/actions/update-application.js +21 -0
  176. package/dist/src/presentation/web/app/api/applications/[id]/files/content/route.d.ts +17 -0
  177. package/dist/src/presentation/web/app/api/applications/[id]/files/content/route.d.ts.map +1 -0
  178. package/dist/src/presentation/web/app/api/applications/[id]/files/content/route.js +63 -0
  179. package/dist/src/presentation/web/app/api/applications/[id]/files/raw/route.d.ts +17 -0
  180. package/dist/src/presentation/web/app/api/applications/[id]/files/raw/route.d.ts.map +1 -0
  181. package/dist/src/presentation/web/app/api/applications/[id]/files/raw/route.js +55 -0
  182. package/dist/src/presentation/web/app/api/applications/[id]/files/route.d.ts +16 -0
  183. package/dist/src/presentation/web/app/api/applications/[id]/files/route.d.ts.map +1 -0
  184. package/dist/src/presentation/web/app/api/applications/[id]/files/route.js +23 -0
  185. package/dist/src/presentation/web/app/api/applications/[id]/files/watch/route.d.ts +21 -0
  186. package/dist/src/presentation/web/app/api/applications/[id]/files/watch/route.d.ts.map +1 -0
  187. package/dist/src/presentation/web/app/api/applications/[id]/files/watch/route.js +86 -0
  188. package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.d.ts +15 -6
  189. package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.d.ts.map +1 -1
  190. package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.js +36 -20
  191. package/dist/src/presentation/web/app/api/interactive/chat/turn-statuses/stream/route.d.ts +21 -0
  192. package/dist/src/presentation/web/app/api/interactive/chat/turn-statuses/stream/route.d.ts.map +1 -0
  193. package/dist/src/presentation/web/app/api/interactive/chat/turn-statuses/stream/route.js +82 -0
  194. package/dist/src/presentation/web/app/api/terminal/[sessionId]/input/route.d.ts +15 -0
  195. package/dist/src/presentation/web/app/api/terminal/[sessionId]/input/route.d.ts.map +1 -0
  196. package/dist/src/presentation/web/app/api/terminal/[sessionId]/input/route.js +27 -0
  197. package/dist/src/presentation/web/app/api/terminal/[sessionId]/resize/route.d.ts +15 -0
  198. package/dist/src/presentation/web/app/api/terminal/[sessionId]/resize/route.d.ts.map +1 -0
  199. package/dist/src/presentation/web/app/api/terminal/[sessionId]/resize/route.js +27 -0
  200. package/dist/src/presentation/web/app/api/terminal/[sessionId]/route.d.ts +15 -0
  201. package/dist/src/presentation/web/app/api/terminal/[sessionId]/route.d.ts.map +1 -0
  202. package/dist/src/presentation/web/app/api/terminal/[sessionId]/route.js +20 -0
  203. package/dist/src/presentation/web/app/api/terminal/[sessionId]/stream/route.d.ts +17 -0
  204. package/dist/src/presentation/web/app/api/terminal/[sessionId]/stream/route.d.ts.map +1 -0
  205. package/dist/src/presentation/web/app/api/terminal/[sessionId]/stream/route.js +76 -0
  206. package/dist/src/presentation/web/app/api/terminal/route.d.ts +12 -0
  207. package/dist/src/presentation/web/app/api/terminal/route.d.ts.map +1 -0
  208. package/dist/src/presentation/web/app/api/terminal/route.js +34 -0
  209. package/dist/src/presentation/web/app/application/[id]/page.d.ts +8 -0
  210. package/dist/src/presentation/web/app/application/[id]/page.d.ts.map +1 -0
  211. package/dist/src/presentation/web/app/application/[id]/page.js +65 -0
  212. package/dist/src/presentation/web/app/build-graph-nodes.d.ts +3 -1
  213. package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
  214. package/dist/src/presentation/web/app/build-graph-nodes.js +19 -0
  215. package/dist/src/presentation/web/components/assistant-ui/thread.d.ts +5 -1
  216. package/dist/src/presentation/web/components/assistant-ui/thread.d.ts.map +1 -1
  217. package/dist/src/presentation/web/components/assistant-ui/thread.js +19 -5
  218. package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts +24 -0
  219. package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts.map +1 -0
  220. package/dist/src/presentation/web/components/common/application-node/application-node-config.js +1 -0
  221. package/dist/src/presentation/web/components/common/application-node/application-node.d.ts +7 -0
  222. package/dist/src/presentation/web/components/common/application-node/application-node.d.ts.map +1 -0
  223. package/dist/src/presentation/web/components/common/application-node/application-node.js +156 -0
  224. package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts +12 -0
  225. package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts.map +1 -0
  226. package/dist/src/presentation/web/components/common/application-node/application-node.stories.js +100 -0
  227. package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.d.ts.map +1 -1
  228. package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.js +1 -1
  229. package/dist/src/presentation/web/components/features/application-page/application-page.d.ts +31 -0
  230. package/dist/src/presentation/web/components/features/application-page/application-page.d.ts.map +1 -0
  231. package/dist/src/presentation/web/components/features/application-page/application-page.js +330 -0
  232. package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts +9 -0
  233. package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts.map +1 -0
  234. package/dist/src/presentation/web/components/features/application-page/application-page.stories.js +51 -0
  235. package/dist/src/presentation/web/components/features/application-page/ide-tab/api.d.ts +11 -0
  236. package/dist/src/presentation/web/components/features/application-page/ide-tab/api.d.ts.map +1 -0
  237. package/dist/src/presentation/web/components/features/application-page/ide-tab/api.js +35 -0
  238. package/dist/src/presentation/web/components/features/application-page/ide-tab/editor-pane.d.ts +27 -0
  239. package/dist/src/presentation/web/components/features/application-page/ide-tab/editor-pane.d.ts.map +1 -0
  240. package/dist/src/presentation/web/components/features/application-page/ide-tab/editor-pane.js +147 -0
  241. package/dist/src/presentation/web/components/features/application-page/ide-tab/file-tree-panel.d.ts +19 -0
  242. package/dist/src/presentation/web/components/features/application-page/ide-tab/file-tree-panel.d.ts.map +1 -0
  243. package/dist/src/presentation/web/components/features/application-page/ide-tab/file-tree-panel.js +85 -0
  244. package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.d.ts +16 -0
  245. package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.d.ts.map +1 -0
  246. package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.js +53 -0
  247. package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.stories.d.ts +9 -0
  248. package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.stories.d.ts.map +1 -0
  249. package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.stories.js +111 -0
  250. package/dist/src/presentation/web/components/features/application-page/ide-tab/image-viewer.d.ts +27 -0
  251. package/dist/src/presentation/web/components/features/application-page/ide-tab/image-viewer.d.ts.map +1 -0
  252. package/dist/src/presentation/web/components/features/application-page/ide-tab/image-viewer.js +162 -0
  253. package/dist/src/presentation/web/components/features/application-page/ide-tab/index.d.ts +3 -0
  254. package/dist/src/presentation/web/components/features/application-page/ide-tab/index.d.ts.map +1 -0
  255. package/dist/src/presentation/web/components/features/application-page/ide-tab/index.js +1 -0
  256. package/dist/src/presentation/web/components/features/application-page/ide-tab/types.d.ts +56 -0
  257. package/dist/src/presentation/web/components/features/application-page/ide-tab/types.d.ts.map +1 -0
  258. package/dist/src/presentation/web/components/features/application-page/ide-tab/types.js +35 -0
  259. package/dist/src/presentation/web/components/features/application-page/ide-tab/use-ide-state.d.ts +39 -0
  260. package/dist/src/presentation/web/components/features/application-page/ide-tab/use-ide-state.d.ts.map +1 -0
  261. package/dist/src/presentation/web/components/features/application-page/ide-tab/use-ide-state.js +238 -0
  262. package/dist/src/presentation/web/components/features/application-page/ide-tab/use-resolved-theme.d.ts +14 -0
  263. package/dist/src/presentation/web/components/features/application-page/ide-tab/use-resolved-theme.d.ts.map +1 -0
  264. package/dist/src/presentation/web/components/features/application-page/ide-tab/use-resolved-theme.js +37 -0
  265. package/dist/src/presentation/web/components/features/application-page/run-dev-button.d.ts +19 -0
  266. package/dist/src/presentation/web/components/features/application-page/run-dev-button.d.ts.map +1 -0
  267. package/dist/src/presentation/web/components/features/application-page/run-dev-button.js +80 -0
  268. package/dist/src/presentation/web/components/features/application-page/terminal-tab.d.ts +9 -0
  269. package/dist/src/presentation/web/components/features/application-page/terminal-tab.d.ts.map +1 -0
  270. package/dist/src/presentation/web/components/features/application-page/terminal-tab.js +224 -0
  271. package/dist/src/presentation/web/components/features/application-page/web-preview-tab.d.ts +6 -0
  272. package/dist/src/presentation/web/components/features/application-page/web-preview-tab.d.ts.map +1 -0
  273. package/dist/src/presentation/web/components/features/application-page/web-preview-tab.js +57 -0
  274. package/dist/src/presentation/web/components/features/chat/ChatSheet.d.ts.map +1 -1
  275. package/dist/src/presentation/web/components/features/chat/ChatSheet.js +4 -2
  276. package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts +38 -1
  277. package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts.map +1 -1
  278. package/dist/src/presentation/web/components/features/chat/ChatTab.js +53 -8
  279. package/dist/src/presentation/web/components/features/chat/StepTracker.d.ts +36 -0
  280. package/dist/src/presentation/web/components/features/chat/StepTracker.d.ts.map +1 -0
  281. package/dist/src/presentation/web/components/features/chat/StepTracker.js +133 -0
  282. package/dist/src/presentation/web/components/features/chat/StepTracker.stories.d.ts +11 -0
  283. package/dist/src/presentation/web/components/features/chat/StepTracker.stories.d.ts.map +1 -0
  284. package/dist/src/presentation/web/components/features/chat/StepTracker.stories.js +121 -0
  285. package/dist/src/presentation/web/components/features/chat/chat-state-query.d.ts +12 -0
  286. package/dist/src/presentation/web/components/features/chat/chat-state-query.d.ts.map +1 -0
  287. package/dist/src/presentation/web/components/features/chat/chat-state-query.js +20 -0
  288. package/dist/src/presentation/web/components/features/chat/tool-bubble/detect.d.ts +38 -0
  289. package/dist/src/presentation/web/components/features/chat/tool-bubble/detect.d.ts.map +1 -0
  290. package/dist/src/presentation/web/components/features/chat/tool-bubble/detect.js +91 -0
  291. package/dist/src/presentation/web/components/features/chat/tool-bubble/file-card.d.ts +17 -0
  292. package/dist/src/presentation/web/components/features/chat/tool-bubble/file-card.d.ts.map +1 -0
  293. package/dist/src/presentation/web/components/features/chat/tool-bubble/file-card.js +25 -0
  294. package/dist/src/presentation/web/components/features/chat/tool-bubble/generic-bubble.d.ts +11 -0
  295. package/dist/src/presentation/web/components/features/chat/tool-bubble/generic-bubble.d.ts.map +1 -0
  296. package/dist/src/presentation/web/components/features/chat/tool-bubble/generic-bubble.js +15 -0
  297. package/dist/src/presentation/web/components/features/chat/tool-bubble/index.d.ts +21 -0
  298. package/dist/src/presentation/web/components/features/chat/tool-bubble/index.d.ts.map +1 -0
  299. package/dist/src/presentation/web/components/features/chat/tool-bubble/index.js +37 -0
  300. package/dist/src/presentation/web/components/features/chat/tool-bubble/tool-chip.d.ts +14 -0
  301. package/dist/src/presentation/web/components/features/chat/tool-bubble/tool-chip.d.ts.map +1 -0
  302. package/dist/src/presentation/web/components/features/chat/tool-bubble/tool-chip.js +13 -0
  303. package/dist/src/presentation/web/components/features/chat/useChatRuntime.d.ts +52 -1
  304. package/dist/src/presentation/web/components/features/chat/useChatRuntime.d.ts.map +1 -1
  305. package/dist/src/presentation/web/components/features/chat/useChatRuntime.js +360 -28
  306. package/dist/src/presentation/web/components/features/chat/workflow-placeholder.d.ts +21 -0
  307. package/dist/src/presentation/web/components/features/chat/workflow-placeholder.d.ts.map +1 -0
  308. package/dist/src/presentation/web/components/features/chat/workflow-placeholder.js +40 -0
  309. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts +3 -1
  310. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
  311. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +183 -120
  312. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts +4 -16
  313. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts.map +1 -1
  314. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.js +16 -109
  315. package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts.map +1 -1
  316. package/dist/src/presentation/web/components/features/control-center/control-center-inner.js +40 -17
  317. package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +4 -0
  318. package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts.map +1 -1
  319. package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js +25 -1
  320. package/dist/src/presentation/web/components/features/control-center/use-fab-actions.d.ts +2 -1
  321. package/dist/src/presentation/web/components/features/control-center/use-fab-actions.d.ts.map +1 -1
  322. package/dist/src/presentation/web/components/features/control-center/use-fab-actions.js +9 -2
  323. package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.d.ts.map +1 -1
  324. package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.js +2 -9
  325. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts +2 -1
  326. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -1
  327. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +2 -0
  328. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts +3 -1
  329. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts.map +1 -1
  330. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.js +9 -4
  331. package/dist/src/presentation/web/hooks/deployment-status-provider.d.ts +1 -1
  332. package/dist/src/presentation/web/hooks/deployment-status-provider.d.ts.map +1 -1
  333. package/dist/src/presentation/web/hooks/deployment-status-provider.js +4 -1
  334. package/dist/src/presentation/web/hooks/use-graph-state.d.ts +5 -0
  335. package/dist/src/presentation/web/hooks/use-graph-state.d.ts.map +1 -1
  336. package/dist/src/presentation/web/hooks/use-graph-state.js +37 -2
  337. package/dist/src/presentation/web/hooks/use-turn-statuses.d.ts +13 -3
  338. package/dist/src/presentation/web/hooks/use-turn-statuses.d.ts.map +1 -1
  339. package/dist/src/presentation/web/hooks/use-turn-statuses.js +73 -13
  340. package/dist/src/presentation/web/lib/derive-graph.d.ts +11 -1
  341. package/dist/src/presentation/web/lib/derive-graph.d.ts.map +1 -1
  342. package/dist/src/presentation/web/lib/derive-graph.js +35 -1
  343. package/dist/src/presentation/web/lib/layout-with-dagre.d.ts +8 -1
  344. package/dist/src/presentation/web/lib/layout-with-dagre.d.ts.map +1 -1
  345. package/dist/src/presentation/web/lib/layout-with-dagre.js +27 -3
  346. package/dist/src/presentation/web/next.config.d.ts.map +1 -1
  347. package/dist/src/presentation/web/next.config.js +1 -0
  348. package/dist/translations/ar/web.json +2 -1
  349. package/dist/translations/de/web.json +2 -1
  350. package/dist/translations/en/web.json +2 -1
  351. package/dist/translations/es/web.json +2 -1
  352. package/dist/translations/fr/web.json +2 -1
  353. package/dist/translations/he/web.json +2 -1
  354. package/dist/translations/pt/web.json +2 -1
  355. package/dist/translations/ru/web.json +2 -1
  356. package/dist/translations/uk/web.json +2 -1
  357. package/dist/tsconfig.build.tsbuildinfo +1 -1
  358. package/package.json +5 -3
  359. package/web/.next/BUILD_ID +1 -1
  360. package/web/.next/app-path-routes-manifest.json +11 -0
  361. package/web/.next/build-manifest.json +5 -5
  362. package/web/.next/fallback-build-manifest.json +2 -2
  363. package/web/.next/prerender-manifest.json +3 -3
  364. package/web/.next/required-server-files.js +3 -2
  365. package/web/.next/required-server-files.json +3 -2
  366. package/web/.next/routes-manifest.json +84 -0
  367. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +3 -3
  368. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +111 -81
  369. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +6 -5
  370. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  371. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  372. package/web/.next/server/app/(dashboard)/@drawer/chat/page/build-manifest.json +3 -3
  373. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +107 -77
  374. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +6 -5
  375. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  376. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  377. package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +3 -3
  378. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +113 -83
  379. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +6 -5
  380. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  381. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  382. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  383. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +129 -99
  384. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +6 -5
  385. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  386. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  387. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +3 -3
  388. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +129 -99
  389. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +6 -5
  390. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  391. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  392. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  393. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +109 -79
  394. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +6 -5
  395. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  396. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  397. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +3 -3
  398. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +109 -79
  399. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +6 -5
  400. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  401. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  402. package/web/.next/server/app/(dashboard)/chat/page/build-manifest.json +3 -3
  403. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +107 -77
  404. package/web/.next/server/app/(dashboard)/chat/page.js +6 -5
  405. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  406. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  407. package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +3 -3
  408. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +113 -83
  409. package/web/.next/server/app/(dashboard)/create/page.js +6 -5
  410. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  411. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  412. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  413. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +129 -99
  414. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +6 -5
  415. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  416. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  417. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +3 -3
  418. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +129 -99
  419. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +6 -5
  420. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  421. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  422. package/web/.next/server/app/(dashboard)/page/build-manifest.json +3 -3
  423. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +107 -77
  424. package/web/.next/server/app/(dashboard)/page.js +6 -5
  425. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  426. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  427. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  428. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +109 -79
  429. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +6 -5
  430. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  431. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  432. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +3 -3
  433. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +109 -79
  434. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +6 -5
  435. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  436. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  437. package/web/.next/server/app/_global-error/page/build-manifest.json +3 -3
  438. package/web/.next/server/app/_global-error/page.js +1 -1
  439. package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
  440. package/web/.next/server/app/_global-error.html +2 -2
  441. package/web/.next/server/app/_global-error.rsc +1 -1
  442. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  443. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  444. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  445. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  446. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  447. package/web/.next/server/app/_not-found/page/build-manifest.json +3 -3
  448. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +27 -12
  449. package/web/.next/server/app/_not-found/page.js +2 -2
  450. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  451. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  452. package/web/.next/server/app/api/applications/[id]/files/content/route/app-paths-manifest.json +3 -0
  453. package/web/.next/server/app/api/applications/[id]/files/content/route/build-manifest.json +11 -0
  454. package/web/.next/server/app/api/applications/[id]/files/content/route/server-reference-manifest.json +4 -0
  455. package/web/.next/server/app/api/applications/[id]/files/content/route.js +6 -0
  456. package/web/.next/server/app/api/applications/[id]/files/content/route.js.map +5 -0
  457. package/web/.next/server/app/api/applications/[id]/files/content/route.js.nft.json +1 -0
  458. package/web/.next/server/app/api/applications/[id]/files/content/route_client-reference-manifest.js +2 -0
  459. package/web/.next/server/app/api/applications/[id]/files/raw/route/app-paths-manifest.json +3 -0
  460. package/web/.next/server/app/api/applications/[id]/files/raw/route/build-manifest.json +11 -0
  461. package/web/.next/server/app/api/applications/[id]/files/raw/route/server-reference-manifest.json +4 -0
  462. package/web/.next/server/app/api/applications/[id]/files/raw/route.js +7 -0
  463. package/web/.next/server/app/api/applications/[id]/files/raw/route.js.map +5 -0
  464. package/web/.next/server/app/api/applications/[id]/files/raw/route.js.nft.json +1 -0
  465. package/web/.next/server/app/api/applications/[id]/files/raw/route_client-reference-manifest.js +2 -0
  466. package/web/.next/server/app/api/applications/[id]/files/route/app-paths-manifest.json +3 -0
  467. package/web/.next/server/app/api/applications/[id]/files/route/build-manifest.json +11 -0
  468. package/web/.next/server/app/api/applications/[id]/files/route/server-reference-manifest.json +4 -0
  469. package/web/.next/server/app/api/applications/[id]/files/route.js +6 -0
  470. package/web/.next/server/app/api/applications/[id]/files/route.js.map +5 -0
  471. package/web/.next/server/app/api/applications/[id]/files/route.js.nft.json +1 -0
  472. package/web/.next/server/app/api/applications/[id]/files/route_client-reference-manifest.js +2 -0
  473. package/web/.next/server/app/api/applications/[id]/files/watch/route/app-paths-manifest.json +3 -0
  474. package/web/.next/server/app/api/applications/[id]/files/watch/route/build-manifest.json +11 -0
  475. package/web/.next/server/app/api/applications/[id]/files/watch/route/server-reference-manifest.json +4 -0
  476. package/web/.next/server/app/api/applications/[id]/files/watch/route.js +6 -0
  477. package/web/.next/server/app/api/applications/[id]/files/watch/route.js.map +5 -0
  478. package/web/.next/server/app/api/applications/[id]/files/watch/route.js.nft.json +1 -0
  479. package/web/.next/server/app/api/applications/[id]/files/watch/route_client-reference-manifest.js +2 -0
  480. package/web/.next/server/app/api/attachments/preview/route.js +1 -1
  481. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  482. package/web/.next/server/app/api/directory/list/route.js +1 -1
  483. package/web/.next/server/app/api/directory/list/route.js.nft.json +1 -1
  484. package/web/.next/server/app/api/evidence/route.js +1 -1
  485. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  486. package/web/.next/server/app/api/feature-logs/route.js +1 -1
  487. package/web/.next/server/app/api/feature-logs/route.js.nft.json +1 -1
  488. package/web/.next/server/app/api/graph-data/route.js +1 -1
  489. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  490. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js +1 -1
  491. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  492. package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route/app-paths-manifest.json +3 -0
  493. package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route/build-manifest.json +11 -0
  494. package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route/server-reference-manifest.json +4 -0
  495. package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route.js +6 -0
  496. package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route.js.map +5 -0
  497. package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route.js.nft.json +1 -0
  498. package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route_client-reference-manifest.js +2 -0
  499. package/web/.next/server/app/api/sessions/route.js +1 -1
  500. package/web/.next/server/app/api/sessions/route.js.nft.json +1 -1
  501. package/web/.next/server/app/api/sessions-batch/route.js +1 -1
  502. package/web/.next/server/app/api/sessions-batch/route.js.nft.json +1 -1
  503. package/web/.next/server/app/api/terminal/[sessionId]/input/route/app-paths-manifest.json +3 -0
  504. package/web/.next/server/app/api/terminal/[sessionId]/input/route/build-manifest.json +11 -0
  505. package/web/.next/server/app/api/terminal/[sessionId]/input/route/server-reference-manifest.json +4 -0
  506. package/web/.next/server/app/api/terminal/[sessionId]/input/route.js +6 -0
  507. package/web/.next/server/app/api/terminal/[sessionId]/input/route.js.map +5 -0
  508. package/web/.next/server/app/api/terminal/[sessionId]/input/route.js.nft.json +1 -0
  509. package/web/.next/server/app/api/terminal/[sessionId]/input/route_client-reference-manifest.js +2 -0
  510. package/web/.next/server/app/api/terminal/[sessionId]/resize/route/app-paths-manifest.json +3 -0
  511. package/web/.next/server/app/api/terminal/[sessionId]/resize/route/build-manifest.json +11 -0
  512. package/web/.next/server/app/api/terminal/[sessionId]/resize/route/server-reference-manifest.json +4 -0
  513. package/web/.next/server/app/api/terminal/[sessionId]/resize/route.js +6 -0
  514. package/web/.next/server/app/api/terminal/[sessionId]/resize/route.js.map +5 -0
  515. package/web/.next/server/app/api/terminal/[sessionId]/resize/route.js.nft.json +1 -0
  516. package/web/.next/server/app/api/terminal/[sessionId]/resize/route_client-reference-manifest.js +2 -0
  517. package/web/.next/server/app/api/terminal/[sessionId]/route/app-paths-manifest.json +3 -0
  518. package/web/.next/server/app/api/terminal/[sessionId]/route/build-manifest.json +11 -0
  519. package/web/.next/server/app/api/terminal/[sessionId]/route/server-reference-manifest.json +4 -0
  520. package/web/.next/server/app/api/terminal/[sessionId]/route.js +6 -0
  521. package/web/.next/server/app/api/terminal/[sessionId]/route.js.map +5 -0
  522. package/web/.next/server/app/api/terminal/[sessionId]/route.js.nft.json +1 -0
  523. package/web/.next/server/app/api/terminal/[sessionId]/route_client-reference-manifest.js +2 -0
  524. package/web/.next/server/app/api/terminal/[sessionId]/stream/route/app-paths-manifest.json +3 -0
  525. package/web/.next/server/app/api/terminal/[sessionId]/stream/route/build-manifest.json +11 -0
  526. package/web/.next/server/app/api/terminal/[sessionId]/stream/route/server-reference-manifest.json +4 -0
  527. package/web/.next/server/app/api/terminal/[sessionId]/stream/route.js +6 -0
  528. package/web/.next/server/app/api/terminal/[sessionId]/stream/route.js.map +5 -0
  529. package/web/.next/server/app/api/terminal/[sessionId]/stream/route.js.nft.json +1 -0
  530. package/web/.next/server/app/api/terminal/[sessionId]/stream/route_client-reference-manifest.js +2 -0
  531. package/web/.next/server/app/api/terminal/route/app-paths-manifest.json +3 -0
  532. package/web/.next/server/app/api/terminal/route/build-manifest.json +11 -0
  533. package/web/.next/server/app/api/terminal/route/server-reference-manifest.json +4 -0
  534. package/web/.next/server/app/api/terminal/route.js +6 -0
  535. package/web/.next/server/app/api/terminal/route.js.map +5 -0
  536. package/web/.next/server/app/api/terminal/route.js.nft.json +1 -0
  537. package/web/.next/server/app/api/terminal/route_client-reference-manifest.js +2 -0
  538. package/web/.next/server/app/application/[id]/page/app-paths-manifest.json +3 -0
  539. package/web/.next/server/app/application/[id]/page/build-manifest.json +18 -0
  540. package/web/.next/server/app/application/[id]/page/next-font-manifest.json +6 -0
  541. package/web/.next/server/app/application/[id]/page/react-loadable-manifest.json +8 -0
  542. package/web/.next/server/app/application/[id]/page/server-reference-manifest.json +230 -0
  543. package/web/.next/server/app/application/[id]/page.js +19 -0
  544. package/web/.next/server/app/application/[id]/page.js.map +5 -0
  545. package/web/.next/server/app/application/[id]/page.js.nft.json +1 -0
  546. package/web/.next/server/app/application/[id]/page_client-reference-manifest.js +2 -0
  547. package/web/.next/server/app/features/page/build-manifest.json +3 -3
  548. package/web/.next/server/app/features/page/server-reference-manifest.json +27 -12
  549. package/web/.next/server/app/features/page.js +2 -2
  550. package/web/.next/server/app/features/page.js.nft.json +1 -1
  551. package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
  552. package/web/.next/server/app/settings/page/build-manifest.json +3 -3
  553. package/web/.next/server/app/settings/page/server-reference-manifest.json +33 -18
  554. package/web/.next/server/app/settings/page.js +2 -2
  555. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  556. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  557. package/web/.next/server/app/skills/page/build-manifest.json +3 -3
  558. package/web/.next/server/app/skills/page/server-reference-manifest.json +56 -26
  559. package/web/.next/server/app/skills/page.js +4 -3
  560. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  561. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  562. package/web/.next/server/app/tools/page/build-manifest.json +3 -3
  563. package/web/.next/server/app/tools/page/server-reference-manifest.json +52 -22
  564. package/web/.next/server/app/tools/page.js +3 -2
  565. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  566. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  567. package/web/.next/server/app/version/page/build-manifest.json +3 -3
  568. package/web/.next/server/app/version/page/server-reference-manifest.json +27 -12
  569. package/web/.next/server/app/version/page.js +3 -3
  570. package/web/.next/server/app/version/page.js.nft.json +1 -1
  571. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  572. package/web/.next/server/app-paths-manifest.json +11 -0
  573. package/web/.next/server/chunks/0d725_next-internal_server_app_api_applications_[id]_files_raw_route_actions_69e55b18.js +3 -0
  574. package/web/.next/server/chunks/0d725_next-internal_server_app_api_applications_[id]_files_raw_route_actions_69e55b18.js.map +1 -0
  575. package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_resize_route_actions_068451e5.js +3 -0
  576. package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_resize_route_actions_068451e5.js.map +1 -0
  577. package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_stream_route_actions_475d5f68.js +3 -0
  578. package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_stream_route_actions_475d5f68.js.map +1 -0
  579. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  580. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  581. package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_terminal_[sessionId]_route_actions_20e0d9a3.js +3 -0
  582. package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_terminal_[sessionId]_route_actions_20e0d9a3.js.map +1 -0
  583. package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_content_route_actions_b0c05593.js +3 -0
  584. package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_content_route_actions_b0c05593.js.map +1 -0
  585. package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_watch_route_actions_30d3aeeb.js +3 -0
  586. package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_watch_route_actions_30d3aeeb.js.map +1 -0
  587. package/web/.next/server/chunks/8ba4b_server_app_api_interactive_chat_turn-statuses_stream_route_actions_52514889.js +3 -0
  588. package/web/.next/server/chunks/8ba4b_server_app_api_interactive_chat_turn-statuses_stream_route_actions_52514889.js.map +1 -0
  589. package/web/.next/server/chunks/[root-of-the-server]__038012df._.js +3 -0
  590. package/web/.next/server/chunks/[root-of-the-server]__038012df._.js.map +1 -0
  591. package/web/.next/server/chunks/[root-of-the-server]__0e3323be._.js +3 -0
  592. package/web/.next/server/chunks/[root-of-the-server]__0e3323be._.js.map +1 -0
  593. package/web/.next/server/chunks/[root-of-the-server]__38b9b39e._.js +3 -0
  594. package/web/.next/server/chunks/[root-of-the-server]__38b9b39e._.js.map +1 -0
  595. package/web/.next/server/chunks/[root-of-the-server]__3c22f57d._.js +3 -0
  596. package/web/.next/server/chunks/[root-of-the-server]__3c22f57d._.js.map +1 -0
  597. package/web/.next/server/chunks/[root-of-the-server]__4906ab60._.js +3 -0
  598. package/web/.next/server/chunks/[root-of-the-server]__4906ab60._.js.map +1 -0
  599. package/web/.next/server/chunks/{[root-of-the-server]__2f61738a._.js → [root-of-the-server]__4eb2c4e4._.js} +2 -2
  600. package/web/.next/server/chunks/{[root-of-the-server]__acea6565._.js → [root-of-the-server]__5e3c6f3a._.js} +2 -2
  601. package/web/.next/server/chunks/[root-of-the-server]__72175657._.js +9 -0
  602. package/web/.next/server/chunks/[root-of-the-server]__72175657._.js.map +1 -0
  603. package/web/.next/server/chunks/{[root-of-the-server]__31598852._.js → [root-of-the-server]__86965b92._.js} +2 -2
  604. package/web/.next/server/chunks/[root-of-the-server]__8a281f8d._.js +19 -13
  605. package/web/.next/server/chunks/[root-of-the-server]__8a281f8d._.js.map +1 -1
  606. package/web/.next/server/chunks/[root-of-the-server]__92409aeb._.js +3 -0
  607. package/web/.next/server/chunks/[root-of-the-server]__92409aeb._.js.map +1 -0
  608. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  609. package/web/.next/server/chunks/[root-of-the-server]__a52f55af._.js +6 -0
  610. package/web/.next/server/chunks/[root-of-the-server]__a52f55af._.js.map +1 -0
  611. package/web/.next/server/chunks/{[root-of-the-server]__2b1074db._.js → [root-of-the-server]__ac92afe7._.js} +2 -2
  612. package/web/.next/server/chunks/{[root-of-the-server]__2b1074db._.js.map → [root-of-the-server]__ac92afe7._.js.map} +1 -1
  613. package/web/.next/server/chunks/[root-of-the-server]__b2a4bfcc._.js +3 -0
  614. package/web/.next/server/chunks/{[root-of-the-server]__c78383b1._.js.map → [root-of-the-server]__b2a4bfcc._.js.map} +1 -1
  615. package/web/.next/server/chunks/{[root-of-the-server]__e3692208._.js → [root-of-the-server]__c8f90b29._.js} +2 -2
  616. package/web/.next/server/chunks/{[root-of-the-server]__2b71641f._.js → [root-of-the-server]__cbf5b20b._.js} +2 -2
  617. package/web/.next/server/chunks/{[root-of-the-server]__2b71641f._.js.map → [root-of-the-server]__cbf5b20b._.js.map} +1 -1
  618. package/web/.next/server/chunks/[root-of-the-server]__ccfcaa08._.js +3 -0
  619. package/web/.next/server/chunks/[root-of-the-server]__ccfcaa08._.js.map +1 -0
  620. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
  621. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  622. package/web/.next/server/chunks/[root-of-the-server]__deb67d81._.js +9 -0
  623. package/web/.next/server/chunks/[root-of-the-server]__deb67d81._.js.map +1 -0
  624. package/web/.next/server/chunks/{[root-of-the-server]__fc6fd958._.js → [root-of-the-server]__ecd08b79._.js} +2 -2
  625. package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_terminal_route_actions_f93ca3cb.js +3 -0
  626. package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_terminal_route_actions_f93ca3cb.js.map +1 -0
  627. package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_applications_[id]_files_route_actions_e1af3c3a.js +3 -0
  628. package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_applications_[id]_files_route_actions_e1af3c3a.js.map +1 -0
  629. package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_terminal_[sessionId]_input_route_actions_b7785e18.js +3 -0
  630. package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_terminal_[sessionId]_input_route_actions_b7785e18.js.map +1 -0
  631. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  632. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  633. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +2 -2
  634. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  635. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_5da25833._.js +3 -0
  636. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_5da25833._.js.map +1 -0
  637. package/web/.next/server/chunks/ssr/[root-of-the-server]__013a0318._.js +3 -0
  638. package/web/.next/server/chunks/ssr/[root-of-the-server]__013a0318._.js.map +1 -0
  639. package/web/.next/server/chunks/ssr/{[root-of-the-server]__d1040bd1._.js → [root-of-the-server]__090f24cb._.js} +2 -2
  640. package/web/.next/server/chunks/ssr/{[root-of-the-server]__d1040bd1._.js.map → [root-of-the-server]__090f24cb._.js.map} +1 -1
  641. package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js +4 -0
  642. package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js.map +1 -0
  643. package/web/.next/server/chunks/ssr/[root-of-the-server]__1925bef0._.js +4 -0
  644. package/web/.next/server/chunks/ssr/[root-of-the-server]__1925bef0._.js.map +1 -0
  645. package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js +4 -0
  646. package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js.map +1 -0
  647. package/web/.next/server/chunks/ssr/[root-of-the-server]__24756fa9._.js +12 -0
  648. package/web/.next/server/chunks/ssr/[root-of-the-server]__24756fa9._.js.map +1 -0
  649. package/web/.next/server/chunks/ssr/[root-of-the-server]__4ee8be85._.js +4 -0
  650. package/web/.next/server/chunks/ssr/[root-of-the-server]__4ee8be85._.js.map +1 -0
  651. package/web/.next/server/chunks/ssr/[root-of-the-server]__70986695._.js +3 -0
  652. package/web/.next/server/chunks/ssr/[root-of-the-server]__70986695._.js.map +1 -0
  653. package/web/.next/server/chunks/ssr/{[root-of-the-server]__efeeaed4._.js → [root-of-the-server]__7aa484f5._.js} +2 -2
  654. package/web/.next/server/chunks/ssr/{[root-of-the-server]__efeeaed4._.js.map → [root-of-the-server]__7aa484f5._.js.map} +1 -1
  655. package/web/.next/server/chunks/ssr/{[root-of-the-server]__86ff0bc5._.js → [root-of-the-server]__87bc4dac._.js} +3 -3
  656. package/web/.next/server/chunks/ssr/[root-of-the-server]__87bc4dac._.js.map +1 -0
  657. package/web/.next/server/chunks/ssr/{[root-of-the-server]__e0592c69._.js → [root-of-the-server]__894882ab._.js} +2 -2
  658. package/web/.next/server/chunks/ssr/[root-of-the-server]__a3a4ddef._.js +3 -0
  659. package/web/.next/server/chunks/ssr/[root-of-the-server]__a3a4ddef._.js.map +1 -0
  660. package/web/.next/server/chunks/ssr/[root-of-the-server]__a4222b95._.js +3 -0
  661. package/web/.next/server/chunks/ssr/[root-of-the-server]__a4222b95._.js.map +1 -0
  662. package/web/.next/server/chunks/ssr/[root-of-the-server]__a5ea76a6._.js +3 -0
  663. package/web/.next/server/chunks/ssr/[root-of-the-server]__a5ea76a6._.js.map +1 -0
  664. package/web/.next/server/chunks/ssr/[root-of-the-server]__a6f2b763._.js +3 -0
  665. package/web/.next/server/chunks/ssr/[root-of-the-server]__a6f2b763._.js.map +1 -0
  666. package/web/.next/server/chunks/ssr/[root-of-the-server]__bb391c45._.js +4 -0
  667. package/web/.next/server/chunks/ssr/[root-of-the-server]__bb391c45._.js.map +1 -0
  668. package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js +4 -0
  669. package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js.map +1 -0
  670. package/web/.next/server/chunks/ssr/{[root-of-the-server]__357d99f9._.js → [root-of-the-server]__e265da61._.js} +2 -2
  671. package/web/.next/server/chunks/ssr/[root-of-the-server]__f3ca7bea._.js +3 -0
  672. package/web/.next/server/chunks/ssr/[root-of-the-server]__f3ca7bea._.js.map +1 -0
  673. package/web/.next/server/chunks/ssr/_0277d3b5._.js +21 -0
  674. package/web/.next/server/chunks/ssr/_0277d3b5._.js.map +1 -0
  675. package/web/.next/server/chunks/ssr/_1879404a._.js +1 -1
  676. package/web/.next/server/chunks/ssr/_1879404a._.js.map +1 -1
  677. package/web/.next/server/chunks/ssr/_1e08a336._.js +1 -1
  678. package/web/.next/server/chunks/ssr/_295fffde._.js.map +1 -1
  679. package/web/.next/server/chunks/ssr/_2bea8166._.js +4 -0
  680. package/web/.next/server/chunks/ssr/_2bea8166._.js.map +1 -0
  681. package/web/.next/server/chunks/ssr/_36489f2b._.js +3 -0
  682. package/web/.next/server/chunks/ssr/_36489f2b._.js.map +1 -0
  683. package/web/.next/server/chunks/ssr/_44531b76._.js +9 -0
  684. package/web/.next/server/chunks/ssr/_44531b76._.js.map +1 -0
  685. package/web/.next/server/chunks/ssr/_45496654._.js +1 -1
  686. package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -1
  687. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  688. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  689. package/web/.next/server/chunks/ssr/_5bf2415e._.js +7 -0
  690. package/web/.next/server/chunks/ssr/_5bf2415e._.js.map +1 -0
  691. package/web/.next/server/chunks/ssr/_63fc4647._.js +3 -0
  692. package/web/.next/server/chunks/ssr/_63fc4647._.js.map +1 -0
  693. package/web/.next/server/chunks/ssr/_82c47cc2._.js +3 -0
  694. package/web/.next/server/chunks/ssr/{_bb09579b._.js.map → _82c47cc2._.js.map} +1 -1
  695. package/web/.next/server/chunks/ssr/_869a3a15._.js +3 -0
  696. package/web/.next/server/chunks/ssr/_869a3a15._.js.map +1 -0
  697. package/web/.next/server/chunks/ssr/_8caadb9a._.js +3 -0
  698. package/web/.next/server/chunks/ssr/_8caadb9a._.js.map +1 -0
  699. package/web/.next/server/chunks/ssr/{_7d50fed0._.js → _946a7fc6._.js} +3 -3
  700. package/web/.next/server/chunks/ssr/_946a7fc6._.js.map +1 -0
  701. package/web/.next/server/chunks/ssr/_b227ff50._.js +3 -0
  702. package/web/.next/server/chunks/ssr/_b227ff50._.js.map +1 -0
  703. package/web/.next/server/chunks/ssr/_b8e8b690._.js +3 -0
  704. package/web/.next/server/chunks/ssr/_b8e8b690._.js.map +1 -0
  705. package/web/.next/server/chunks/ssr/{_5889596f._.js → _d44d091a._.js} +2 -2
  706. package/web/.next/server/chunks/ssr/_d44d091a._.js.map +1 -0
  707. package/web/.next/server/chunks/ssr/_e071ba48._.js +3 -0
  708. package/web/.next/server/chunks/ssr/_e071ba48._.js.map +1 -0
  709. package/web/.next/server/chunks/ssr/_eff1b518._.js +3 -0
  710. package/web/.next/server/chunks/ssr/_eff1b518._.js.map +1 -0
  711. package/web/.next/server/chunks/ssr/_f227429a._.js +3 -0
  712. package/web/.next/server/chunks/ssr/_f227429a._.js.map +1 -0
  713. package/web/.next/server/chunks/ssr/{_496c9117._.js → _f86fc1bf._.js} +2 -2
  714. package/web/.next/server/chunks/ssr/_f86fc1bf._.js.map +1 -0
  715. package/web/.next/server/chunks/ssr/_f8c55130._.js +4 -0
  716. package/web/.next/server/chunks/ssr/_f8c55130._.js.map +1 -0
  717. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  718. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  719. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  720. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  721. package/web/.next/server/chunks/ssr/{_1b7dae9a._.js → f7870_sonner_dist_index_mjs_dbf63824._.js} +2 -2
  722. package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +1 -0
  723. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js +3 -0
  724. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js.map +1 -0
  725. package/web/.next/server/chunks/ssr/src_presentation_web_36f2bc45._.js +3 -0
  726. package/web/.next/server/chunks/ssr/src_presentation_web_36f2bc45._.js.map +1 -0
  727. package/web/.next/server/chunks/ssr/src_presentation_web_486908de._.js +3 -0
  728. package/web/.next/server/chunks/ssr/src_presentation_web_486908de._.js.map +1 -0
  729. package/web/.next/server/chunks/ssr/src_presentation_web_5c3596bc._.js +3 -0
  730. package/web/.next/server/chunks/ssr/src_presentation_web_5c3596bc._.js.map +1 -0
  731. package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js +3 -0
  732. package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js.map +1 -0
  733. package/web/.next/server/chunks/ssr/src_presentation_web_6326f81e._.js +3 -0
  734. package/web/.next/server/chunks/ssr/src_presentation_web_6326f81e._.js.map +1 -0
  735. package/web/.next/server/chunks/ssr/src_presentation_web_6b2fdcd8._.js +3 -0
  736. package/web/.next/server/chunks/ssr/src_presentation_web_6b2fdcd8._.js.map +1 -0
  737. package/web/.next/server/chunks/ssr/src_presentation_web_74703c9f._.js +3 -0
  738. package/web/.next/server/chunks/ssr/src_presentation_web_74703c9f._.js.map +1 -0
  739. package/web/.next/server/chunks/ssr/src_presentation_web_a8056dac._.js +3 -0
  740. package/web/.next/server/chunks/ssr/src_presentation_web_a8056dac._.js.map +1 -0
  741. package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js +3 -0
  742. package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js.map +1 -0
  743. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +32 -0
  744. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js.map +1 -0
  745. package/web/.next/server/chunks/ssr/src_presentation_web_b00bfb08._.js +3 -0
  746. package/web/.next/server/chunks/ssr/src_presentation_web_b00bfb08._.js.map +1 -0
  747. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +3 -0
  748. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -0
  749. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  750. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  751. package/web/.next/server/chunks/ssr/src_presentation_web_components_common_base-drawer_base-drawer_tsx_97dfbbc8._.js +3 -0
  752. package/web/.next/server/chunks/ssr/src_presentation_web_components_common_base-drawer_base-drawer_tsx_97dfbbc8._.js.map +1 -0
  753. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +3 -0
  754. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -0
  755. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +1 -1
  756. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -1
  757. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_3d0aa70c._.js +1 -1
  758. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_3d0aa70c._.js.map +1 -1
  759. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
  760. package/web/.next/server/chunks/ssr/src_presentation_web_f1edcf5e._.js +3 -0
  761. package/web/.next/server/chunks/ssr/src_presentation_web_f1edcf5e._.js.map +1 -0
  762. package/web/.next/server/chunks/ssr/src_presentation_web_f9436804._.js +3 -0
  763. package/web/.next/server/chunks/ssr/src_presentation_web_f9436804._.js.map +1 -0
  764. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
  765. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
  766. package/web/.next/server/middleware-build-manifest.js +3 -3
  767. package/web/.next/server/pages/500.html +2 -2
  768. package/web/.next/server/server-reference-manifest.js +1 -1
  769. package/web/.next/server/server-reference-manifest.json +1084 -703
  770. package/web/.next/static/chunks/06b9d6dbf635c370.css +1 -0
  771. package/web/.next/static/chunks/11ef340e4cfbdbe6.js +1 -0
  772. package/web/.next/static/chunks/1ae0cf5be30ef398.js +1 -0
  773. package/web/.next/static/chunks/1bc12075020723ed.js +1 -0
  774. package/web/.next/static/chunks/1fa1574b87bd2eb1.js +1 -0
  775. package/web/.next/static/chunks/{f5c61237675acc89.js → 26e2ca76ab6c38b4.js} +1 -1
  776. package/web/.next/static/chunks/2fe20598e1b4793a.js +5 -0
  777. package/web/.next/static/chunks/490667b2a9bb58e2.js +1 -0
  778. package/web/.next/static/chunks/{eb1ca1b0a34166f5.js → 66261997e6f830f1.js} +1 -1
  779. package/web/.next/static/chunks/{d26d0a7bc1a9b5a4.js → 7849c6797be7c6ca.js} +2 -2
  780. package/web/.next/static/chunks/7bc7028587490fff.js +1 -0
  781. package/web/.next/static/chunks/7c3fe3c694874dea.js +1 -0
  782. package/web/.next/static/chunks/{5a2bdbc57ed1368e.js → 8746807722de67a8.js} +1 -1
  783. package/web/.next/static/chunks/893a2a76546c66a7.js +1 -0
  784. package/web/.next/static/chunks/927442d2628f6e22.js +1 -0
  785. package/web/.next/static/chunks/a1098522326428d1.js +1 -0
  786. package/web/.next/static/chunks/b7b85a15f387ab7c.css +1 -0
  787. package/web/.next/static/chunks/b99506a6f7bc2fa8.js +1 -0
  788. package/web/.next/static/chunks/be89c20c257247ad.js +7 -0
  789. package/web/.next/static/chunks/c0bd3ffcf94d1845.js +7 -0
  790. package/web/.next/static/chunks/dfdcccf73de56960.js +1 -0
  791. package/web/.next/static/chunks/e2f9e224d1fa1faa.js +1 -0
  792. package/web/.next/static/chunks/e7da54dde18e7fb2.js +19 -0
  793. package/web/.next/static/chunks/f28aef9cf5107c4b.js +1 -0
  794. package/web/.next/static/chunks/{fb7211d94190d010.js → f6d47ff35d612852.js} +3 -3
  795. package/web/.next/static/chunks/fe8bcc8ff36a61c0.js +1 -0
  796. package/web/.next/static/chunks/{turbopack-fa58b7ea4a4b26e7.js → turbopack-d16f2f815897af68.js} +1 -1
  797. package/web/next.config.mjs +1 -1
  798. package/web/package.json +7 -0
  799. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +0 -3
  800. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_bdff55d6.js +0 -3
  801. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_bdff55d6.js.map +0 -1
  802. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_6aa77d75.js +0 -3
  803. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_6aa77d75.js.map +0 -1
  804. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_24adb073.js +0 -3
  805. package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_24adb073.js.map +0 -1
  806. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js +0 -3
  807. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js.map +0 -1
  808. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js +0 -3
  809. package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js.map +0 -1
  810. package/web/.next/server/chunks/ssr/[root-of-the-server]__16c1388b._.js +0 -3
  811. package/web/.next/server/chunks/ssr/[root-of-the-server]__16c1388b._.js.map +0 -1
  812. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +0 -4
  813. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +0 -1
  814. package/web/.next/server/chunks/ssr/[root-of-the-server]__22d17c66._.js +0 -3
  815. package/web/.next/server/chunks/ssr/[root-of-the-server]__22d17c66._.js.map +0 -1
  816. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +0 -4
  817. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +0 -1
  818. package/web/.next/server/chunks/ssr/[root-of-the-server]__75070d2e._.js +0 -3
  819. package/web/.next/server/chunks/ssr/[root-of-the-server]__75070d2e._.js.map +0 -1
  820. package/web/.next/server/chunks/ssr/[root-of-the-server]__7c634c0f._.js +0 -4
  821. package/web/.next/server/chunks/ssr/[root-of-the-server]__7c634c0f._.js.map +0 -1
  822. package/web/.next/server/chunks/ssr/[root-of-the-server]__86ff0bc5._.js.map +0 -1
  823. package/web/.next/server/chunks/ssr/[root-of-the-server]__8f02b364._.js +0 -4
  824. package/web/.next/server/chunks/ssr/[root-of-the-server]__8f02b364._.js.map +0 -1
  825. package/web/.next/server/chunks/ssr/[root-of-the-server]__9dde817e._.js +0 -3
  826. package/web/.next/server/chunks/ssr/[root-of-the-server]__9dde817e._.js.map +0 -1
  827. package/web/.next/server/chunks/ssr/[root-of-the-server]__a00db173._.js +0 -3
  828. package/web/.next/server/chunks/ssr/[root-of-the-server]__a00db173._.js.map +0 -1
  829. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +0 -4
  830. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +0 -1
  831. package/web/.next/server/chunks/ssr/[root-of-the-server]__cf751517._.js +0 -4
  832. package/web/.next/server/chunks/ssr/[root-of-the-server]__cf751517._.js.map +0 -1
  833. package/web/.next/server/chunks/ssr/[root-of-the-server]__e5f31e9a._.js +0 -3
  834. package/web/.next/server/chunks/ssr/[root-of-the-server]__e5f31e9a._.js.map +0 -1
  835. package/web/.next/server/chunks/ssr/_15f6bbd4._.js +0 -3
  836. package/web/.next/server/chunks/ssr/_15f6bbd4._.js.map +0 -1
  837. package/web/.next/server/chunks/ssr/_1b7dae9a._.js.map +0 -1
  838. package/web/.next/server/chunks/ssr/_396a6887._.js +0 -3
  839. package/web/.next/server/chunks/ssr/_396a6887._.js.map +0 -1
  840. package/web/.next/server/chunks/ssr/_43ba79e7._.js +0 -3
  841. package/web/.next/server/chunks/ssr/_43ba79e7._.js.map +0 -1
  842. package/web/.next/server/chunks/ssr/_496c9117._.js.map +0 -1
  843. package/web/.next/server/chunks/ssr/_49b8d085._.js +0 -3
  844. package/web/.next/server/chunks/ssr/_49b8d085._.js.map +0 -1
  845. package/web/.next/server/chunks/ssr/_5889596f._.js.map +0 -1
  846. package/web/.next/server/chunks/ssr/_6abfa39e._.js +0 -3
  847. package/web/.next/server/chunks/ssr/_6abfa39e._.js.map +0 -1
  848. package/web/.next/server/chunks/ssr/_74a1a173._.js +0 -7
  849. package/web/.next/server/chunks/ssr/_74a1a173._.js.map +0 -1
  850. package/web/.next/server/chunks/ssr/_7cb0396e._.js +0 -3
  851. package/web/.next/server/chunks/ssr/_7cb0396e._.js.map +0 -1
  852. package/web/.next/server/chunks/ssr/_7d50fed0._.js.map +0 -1
  853. package/web/.next/server/chunks/ssr/_9bbdd461._.js +0 -4
  854. package/web/.next/server/chunks/ssr/_9bbdd461._.js.map +0 -1
  855. package/web/.next/server/chunks/ssr/_b7a43c05._.js +0 -3
  856. package/web/.next/server/chunks/ssr/_b7a43c05._.js.map +0 -1
  857. package/web/.next/server/chunks/ssr/_bb09579b._.js +0 -3
  858. package/web/.next/server/chunks/ssr/_bcd239dd._.js +0 -3
  859. package/web/.next/server/chunks/ssr/_bcd239dd._.js.map +0 -1
  860. package/web/.next/server/chunks/ssr/_e680c57c._.js +0 -9
  861. package/web/.next/server/chunks/ssr/_e680c57c._.js.map +0 -1
  862. package/web/.next/server/chunks/ssr/node_modules__pnpm_63d47a3e._.js +0 -3
  863. package/web/.next/server/chunks/ssr/node_modules__pnpm_63d47a3e._.js.map +0 -1
  864. package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js +0 -3
  865. package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js.map +0 -1
  866. package/web/.next/server/chunks/ssr/src_presentation_web_0338c789._.js +0 -3
  867. package/web/.next/server/chunks/ssr/src_presentation_web_0338c789._.js.map +0 -1
  868. package/web/.next/server/chunks/ssr/src_presentation_web_071f1e80._.js +0 -5
  869. package/web/.next/server/chunks/ssr/src_presentation_web_071f1e80._.js.map +0 -1
  870. package/web/.next/server/chunks/ssr/src_presentation_web_55c1ff7d._.js +0 -3
  871. package/web/.next/server/chunks/ssr/src_presentation_web_55c1ff7d._.js.map +0 -1
  872. package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js +0 -3
  873. package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js.map +0 -1
  874. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ad14a90f.js +0 -3
  875. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ad14a90f.js.map +0 -1
  876. package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js +0 -3
  877. package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js.map +0 -1
  878. package/web/.next/server/chunks/ssr/src_presentation_web_d5838156._.js +0 -3
  879. package/web/.next/server/chunks/ssr/src_presentation_web_d5838156._.js.map +0 -1
  880. package/web/.next/server/chunks/ssr/src_presentation_web_dc28bc60._.js +0 -5
  881. package/web/.next/server/chunks/ssr/src_presentation_web_dc28bc60._.js.map +0 -1
  882. package/web/.next/server/chunks/ssr/src_presentation_web_dcb020e3._.js +0 -3
  883. package/web/.next/server/chunks/ssr/src_presentation_web_dcb020e3._.js.map +0 -1
  884. package/web/.next/static/chunks/09edd35d194bec06.js +0 -5
  885. package/web/.next/static/chunks/124b79a5d2a760fb.css +0 -1
  886. package/web/.next/static/chunks/200e07d995bd9a42.js +0 -1
  887. package/web/.next/static/chunks/22e3a3738308da2e.js +0 -1
  888. package/web/.next/static/chunks/25d3c4d18b8aecff.js +0 -7
  889. package/web/.next/static/chunks/2ceebcc839ee0d4b.js +0 -1
  890. package/web/.next/static/chunks/34444901ca3a1c3b.js +0 -1
  891. package/web/.next/static/chunks/3cf86457869c47bc.js +0 -1
  892. package/web/.next/static/chunks/4052a4971fbbac9c.js +0 -1
  893. package/web/.next/static/chunks/55060446f5490f20.js +0 -3
  894. package/web/.next/static/chunks/59bff7b33ebe5f68.js +0 -1
  895. package/web/.next/static/chunks/8b0a9cb5109fe899.js +0 -1
  896. package/web/.next/static/chunks/971e52f3f386ccfd.js +0 -1
  897. package/web/.next/static/chunks/981c6f3f1db99b4e.js +0 -1
  898. package/web/.next/static/chunks/b63e6727c84f30e2.js +0 -1
  899. package/web/.next/static/chunks/c10c0d6d458453bc.js +0 -1
  900. package/web/.next/static/chunks/c94a6a3d54dd4997.js +0 -5
  901. package/web/.next/static/chunks/d04d868f0971941d.js +0 -1
  902. package/web/.next/static/chunks/e7502fb670f32235.js +0 -1
  903. /package/web/.next/server/chunks/{[root-of-the-server]__2f61738a._.js.map → [root-of-the-server]__4eb2c4e4._.js.map} +0 -0
  904. /package/web/.next/server/chunks/{[root-of-the-server]__acea6565._.js.map → [root-of-the-server]__5e3c6f3a._.js.map} +0 -0
  905. /package/web/.next/server/chunks/{[root-of-the-server]__31598852._.js.map → [root-of-the-server]__86965b92._.js.map} +0 -0
  906. /package/web/.next/server/chunks/{[root-of-the-server]__e3692208._.js.map → [root-of-the-server]__c8f90b29._.js.map} +0 -0
  907. /package/web/.next/server/chunks/{[root-of-the-server]__fc6fd958._.js.map → [root-of-the-server]__ecd08b79._.js.map} +0 -0
  908. /package/web/.next/server/chunks/ssr/{[root-of-the-server]__e0592c69._.js.map → [root-of-the-server]__894882ab._.js.map} +0 -0
  909. /package/web/.next/server/chunks/ssr/{[root-of-the-server]__357d99f9._.js.map → [root-of-the-server]__e265da61._.js.map} +0 -0
  910. /package/web/.next/static/{mLJ1Qa4FUFmmZm0crRH2U → GQFJf3UCD4D5C4NCn8eXl}/_buildManifest.js +0 -0
  911. /package/web/.next/static/{mLJ1Qa4FUFmmZm0crRH2U → GQFJf3UCD4D5C4NCn8eXl}/_clientMiddlewareManifest.json +0 -0
  912. /package/web/.next/static/{mLJ1Qa4FUFmmZm0crRH2U → GQFJf3UCD4D5C4NCn8eXl}/_ssgManifest.js +0 -0
@@ -0,0 +1,133 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useState } from 'react';
4
+ import { Collapsible } from 'radix-ui';
5
+ import { Check, ChevronDown, ChevronRight, Circle, AlertTriangle } from 'lucide-react';
6
+ import Markdown from 'react-markdown';
7
+ import { cn } from '../../../lib/utils.js';
8
+ import { Spinner } from '../../ui/spinner.js';
9
+ import { ToolBubble, parseToolEvent } from './tool-bubble/index.js';
10
+ const markdownComponents = {
11
+ p: ({ children }) => _jsx("p", { className: "mb-2 leading-relaxed last:mb-0", children: children }),
12
+ strong: ({ children }) => _jsx("strong", { className: "font-semibold", children: children }),
13
+ em: ({ children }) => _jsx("em", { className: "italic", children: children }),
14
+ code: ({ children, className }) => className ? (_jsx("code", { className: `${className} text-[11px]`, children: children })) : (_jsx("code", { className: "bg-background/50 rounded-md px-1.5 py-0.5 font-mono text-[11px]", children: children })),
15
+ pre: ({ children }) => (_jsx("pre", { className: "bg-background/50 my-2 overflow-x-auto rounded-md p-3 font-mono text-[11px] leading-relaxed", children: children })),
16
+ ul: ({ children }) => _jsx("ul", { className: "mb-2 list-disc ps-4 last:mb-0", children: children }),
17
+ ol: ({ children }) => _jsx("ol", { className: "mb-2 list-decimal ps-4 last:mb-0", children: children }),
18
+ li: ({ children }) => _jsx("li", { className: "mb-0.5", children: children }),
19
+ h1: ({ children }) => _jsx("h1", { className: "mb-1 text-sm font-bold", children: children }),
20
+ h2: ({ children }) => _jsx("h2", { className: "mb-1 text-sm font-bold", children: children }),
21
+ h3: ({ children }) => _jsx("h3", { className: "mb-1 text-xs font-semibold", children: children }),
22
+ a: ({ children, href }) => (_jsx("a", { href: href, className: "text-blue-500 underline", target: "_blank", rel: "noopener noreferrer", children: children })),
23
+ };
24
+ /**
25
+ * Vertical list of workflow step cards with a status indicator,
26
+ * friendly title/description, and an expandable body. The expanded
27
+ * view shows the step's metadata summary and any tool-event
28
+ * messages (Bash, Read, Write, Edit, …) that the agent produced
29
+ * while this step was active — the same bubble component the
30
+ * regular thread would have used, just grouped by step.
31
+ */
32
+ export function StepTracker({ steps, className, collapsedSummary, activeStepId, liveStatus, }) {
33
+ const [expandedOverride, setExpandedOverride] = useState(false);
34
+ if (steps.length === 0)
35
+ return null;
36
+ if (collapsedSummary && !expandedOverride) {
37
+ const doneCount = steps.filter((s) => s.status === 'done').length;
38
+ return (_jsx("div", { className: cn('p-4', className), children: _jsxs("button", { type: "button", onClick: () => setExpandedOverride(true), className: "hover:bg-muted/40 border-border bg-background flex w-full items-center gap-3 rounded-lg border px-3 py-2.5 text-left transition-colors", children: [_jsx("div", { className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-emerald-500 text-white", children: _jsx(Check, { className: "h-4 w-4", strokeWidth: 3 }) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "text-sm font-medium", children: "Initial setup complete" }), _jsxs("div", { className: "text-muted-foreground text-xs", children: [doneCount, " of ", steps.length, " steps finished \u2014 click to review"] })] }), _jsx(ChevronRight, { className: "text-muted-foreground h-4 w-4 shrink-0" })] }) }));
39
+ }
40
+ return (_jsxs("ol", { className: cn('flex flex-col gap-2 p-4', className), children: [collapsedSummary ? (_jsx("li", { children: _jsxs("button", { type: "button", onClick: () => setExpandedOverride(false), className: "text-muted-foreground hover:text-foreground mb-1 inline-flex items-center gap-1 text-[10px] tracking-wide uppercase", children: [_jsx(ChevronDown, { className: "h-3 w-3" }), "Collapse setup"] }) })) : null, steps.map((step, idx) => (
41
+ // Each card fades + slides in on mount, briefly staggered so
42
+ // the tracker assembles itself instead of popping in all at
43
+ // once. Capped at 6 indexes so very long step lists don't
44
+ // turn into a long cascade.
45
+ _jsx(StepCard, { step: step, liveStatus: step.definition.id === activeStepId ? (liveStatus ?? null) : null, mountIndex: idx }, step.definition.id)))] }));
46
+ }
47
+ function classifyMessages(messages) {
48
+ const items = [];
49
+ for (const m of messages) {
50
+ const content = m.content?.trim() ?? '';
51
+ if (!content)
52
+ continue;
53
+ if (parseToolEvent(content)) {
54
+ items.push({ kind: 'tool', message: m });
55
+ }
56
+ else {
57
+ items.push({ kind: 'text', message: m });
58
+ }
59
+ }
60
+ return items;
61
+ }
62
+ function StepCard({ step, liveStatus, mountIndex }) {
63
+ const [expanded, setExpanded] = useState(false);
64
+ const { status, definition, metadata, toolMessages } = step;
65
+ const details = readStringArray(metadata, 'details');
66
+ const error = readString(metadata, 'error');
67
+ const items = classifyMessages(toolMessages);
68
+ // Note: the `summary` metadata field is populated by the orchestrator
69
+ // with `definition.title` on every step (see RunWorkflowUseCase), so
70
+ // it is always a duplicate of the card header and is intentionally
71
+ // NOT rendered — otherwise the expanded body would open with a copy
72
+ // of the title right above the real content.
73
+ const hasBody = items.length > 0 || details.length > 0 || !!error;
74
+ return (_jsx(Collapsible.Root, { asChild: true, open: expanded, onOpenChange: setExpanded, children: _jsxs("li", { className: cn(
75
+ // `transition-colors` glides the border + background tint
76
+ // when the status changes (pending → running → done) so the
77
+ // tracker feels alive instead of snapping.
78
+ 'rounded-lg border transition-[background-color,border-color] duration-300 ease-out',
79
+ // Mount animation: each card slides + fades in. The
80
+ // staggered animationDelay below makes the whole tracker
81
+ // assemble itself instead of popping in.
82
+ 'animate-in fade-in-0 slide-in-from-top-2',
83
+ // Green is reserved for the DONE state (the universal "this
84
+ // finished cleanly" signal). The running card uses Shep's
85
+ // indigo/violet brand accent so the in-progress step is
86
+ // visually distinct from anything that has already completed.
87
+ status === 'running' && 'border-violet-500/40 bg-violet-500/5', status === 'done' && 'border-border bg-background', status === 'pending' && 'border-border/40 bg-muted/20', status === 'failed' && 'border-red-500/40 bg-red-500/5', status === 'interrupted' && 'border-amber-500/40 bg-amber-500/5'), style: { animationDelay: `${Math.min(mountIndex, 6) * 40}ms`, animationDuration: '300ms' }, children: [_jsx(Collapsible.Trigger, { asChild: true, children: _jsxs("button", { type: "button", disabled: !hasBody, className: cn('flex w-full items-center gap-3 px-3 py-1.5 text-left transition-colors duration-200', hasBody && 'hover:bg-muted/40 cursor-pointer', !hasBody && 'cursor-default'), children: [_jsx(StatusIcon, { status: status }), _jsxs("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [_jsx("span", { className: cn('shrink-0 truncate text-sm font-medium transition-colors duration-300', status === 'pending' && 'text-muted-foreground/60'), children: definition.title }), liveStatus && status === 'running' ? (
88
+ // While the step is running, the live status preempts
89
+ // the static description — same slot, more useful
90
+ // information. The only place agent in-flight activity
91
+ // surfaces while the workflow is active. Color matches
92
+ // the card accent (violet) so green stays exclusive to
93
+ // "done". `key={liveStatus}` retriggers the fade-in
94
+ // every time the status text rotates, so consecutive
95
+ // tool calls feel like they tick instead of swap.
96
+ _jsxs("span", { className: "flex min-w-0 items-baseline gap-1.5 text-xs text-violet-700 dark:text-violet-300", children: [_jsx("span", { className: "inline-flex h-1 w-1 shrink-0 translate-y-[-1px] animate-pulse rounded-full bg-violet-500" }), _jsx("span", { className: "animate-in fade-in-0 slide-in-from-left-1 truncate duration-300", children: liveStatus }, liveStatus)] })) : definition.description ? (_jsx("span", { className: cn('min-w-0 truncate text-xs font-normal', status === 'pending' ? 'text-muted-foreground/40' : 'text-muted-foreground/70'), children: definition.description })) : null] }), items.length > 0 ? (_jsx("span", { className: "text-muted-foreground/60 animate-in fade-in-0 zoom-in-95 mr-1 shrink-0 text-[10px] tabular-nums duration-200", children: items.length }, items.length)) : null, hasBody ? (_jsx(ChevronRight, { className: cn('text-muted-foreground h-4 w-4 shrink-0 transition-transform duration-200 ease-out', expanded && 'rotate-90') })) : null] }) }), _jsx(Collapsible.Content, { className: cn('overflow-hidden',
97
+ // The keyframes (defined in globals.css) animate from
98
+ // height: 0 ↔ var(--radix-collapsible-content-height) so
99
+ // the body smoothly slides open and back. Both directions
100
+ // get matching cubic-bezier curves — one ease-out for
101
+ // open, one ease-in for close — so the motion never feels
102
+ // lopsided.
103
+ 'data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up'), children: _jsxs("div", { className: "border-border/40 space-y-2 border-t px-3 py-2.5 text-xs", children: [error ? (_jsx("p", { className: "rounded bg-red-500/10 p-2 text-red-600 dark:text-red-400", children: error })) : null, details.length > 0 ? (_jsx("ul", { className: "text-muted-foreground list-disc space-y-0.5 ps-4", children: details.map((d) => (_jsx("li", { children: d }, d))) })) : null, items.length > 0 ? (_jsx("div", { className: "-mx-1 flex flex-col gap-1", children: items.map((item, idx) => item.kind === 'tool' ? (_jsx("div", { className: "animate-in fade-in-0 slide-in-from-top-1 duration-200", style: { animationDelay: `${Math.min(idx, 6) * 30}ms` }, children: _jsx(ToolBubble, { text: item.message.content }) }, item.message.id)) : (_jsx("div", { className: "text-foreground animate-in fade-in-0 slide-in-from-top-1 px-1 text-xs leading-relaxed duration-200", style: { animationDelay: `${Math.min(idx, 6) * 30}ms` }, children: _jsx(Markdown, { components: markdownComponents, children: item.message.content }) }, item.message.id))) })) : null] }) })] }) }));
104
+ }
105
+ function StatusIcon({ status }) {
106
+ if (status === 'running') {
107
+ return _jsx(Spinner, { size: "sm", className: "shrink-0 text-violet-500" });
108
+ }
109
+ if (status === 'done') {
110
+ return (_jsx("div", { className: "flex h-4 w-4 shrink-0 items-center justify-center rounded-full bg-emerald-500 text-white", children: _jsx(Check, { className: "h-3 w-3", strokeWidth: 3 }) }));
111
+ }
112
+ if (status === 'failed') {
113
+ return (_jsx("div", { className: "flex h-4 w-4 shrink-0 items-center justify-center rounded-full bg-red-500 text-white", children: _jsx(AlertTriangle, { className: "h-2.5 w-2.5", strokeWidth: 3 }) }));
114
+ }
115
+ if (status === 'interrupted') {
116
+ return _jsx(AlertTriangle, { className: "h-4 w-4 shrink-0 text-amber-500" });
117
+ }
118
+ return _jsx(Circle, { className: "text-muted-foreground/30 h-4 w-4 shrink-0" });
119
+ }
120
+ function readString(metadata, key) {
121
+ if (!metadata)
122
+ return '';
123
+ const v = metadata[key];
124
+ return typeof v === 'string' ? v : '';
125
+ }
126
+ function readStringArray(metadata, key) {
127
+ if (!metadata)
128
+ return [];
129
+ const v = metadata[key];
130
+ if (!Array.isArray(v))
131
+ return [];
132
+ return v.filter((x) => typeof x === 'string');
133
+ }
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { StepTracker } from './StepTracker.js';
3
+ declare const meta: Meta<typeof StepTracker>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof StepTracker>;
6
+ export declare const AllPending: Story;
7
+ export declare const InProgress: Story;
8
+ export declare const AllDone: Story;
9
+ export declare const FailedMidway: Story;
10
+ export declare const InterruptedAfterCrash: Story;
11
+ //# sourceMappingURL=StepTracker.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepTracker.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/chat/StepTracker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAWlC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAyE1C,eAAO,MAAM,UAAU,EAAE,KAAoC,CAAC;AAE9D,eAAO,MAAM,UAAU,EAAE,KAiBxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAOnC,CAAC"}
@@ -0,0 +1,121 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { StepTracker } from './StepTracker.js';
3
+ const meta = {
4
+ title: 'Features/Chat/StepTracker',
5
+ component: StepTracker,
6
+ parameters: { layout: 'centered' },
7
+ decorators: [
8
+ (Story) => (_jsx("div", { className: "w-[480px] rounded-xl border", children: _jsx(Story, {}) })),
9
+ ],
10
+ };
11
+ export default meta;
12
+ const DEFS = [
13
+ {
14
+ id: 's-1',
15
+ stepKey: 'scaffold',
16
+ title: 'Setting up your project',
17
+ description: 'Creating the foundation files',
18
+ },
19
+ {
20
+ id: 's-2',
21
+ stepKey: 'deps',
22
+ title: 'Installing design tools',
23
+ description: 'Adding Tailwind and essentials',
24
+ },
25
+ {
26
+ id: 's-3',
27
+ stepKey: 'plan',
28
+ title: 'Sketching the app',
29
+ description: 'Planning screens and data',
30
+ },
31
+ {
32
+ id: 's-4',
33
+ stepKey: 'components',
34
+ title: 'Building the pieces',
35
+ description: 'Creating reusable parts',
36
+ },
37
+ {
38
+ id: 's-5',
39
+ stepKey: 'content',
40
+ title: 'Adding realistic content',
41
+ description: 'Writing copy and sample data',
42
+ },
43
+ {
44
+ id: 's-6',
45
+ stepKey: 'wire',
46
+ title: 'Connecting everything',
47
+ description: 'Wiring navigation and forms',
48
+ },
49
+ {
50
+ id: 's-7',
51
+ stepKey: 'style',
52
+ title: 'Polishing the look',
53
+ description: 'Applying colors, spacing, and motion',
54
+ },
55
+ {
56
+ id: 's-8',
57
+ stepKey: 'verify',
58
+ title: 'Double-checking',
59
+ description: 'Making sure it runs cleanly',
60
+ },
61
+ {
62
+ id: 's-9',
63
+ stepKey: 'report',
64
+ title: 'Your app is ready',
65
+ description: 'Summary of what was built',
66
+ },
67
+ ];
68
+ function build(overrides = {}) {
69
+ return DEFS.map((d) => {
70
+ const o = overrides[d.stepKey] ?? {};
71
+ return {
72
+ definition: d,
73
+ status: o.status ?? 'pending',
74
+ metadata: o.metadata ?? null,
75
+ toolMessages: o.toolMessages ?? [],
76
+ };
77
+ });
78
+ }
79
+ export const AllPending = { args: { steps: build() } };
80
+ export const InProgress = {
81
+ args: {
82
+ steps: build({
83
+ scaffold: {
84
+ status: 'done',
85
+ metadata: {
86
+ summary: 'Created a new Vite + React project',
87
+ details: ['package.json', 'vite.config.ts'],
88
+ },
89
+ },
90
+ deps: {
91
+ status: 'done',
92
+ metadata: { summary: 'Installed Tailwind and a handful of utilities' },
93
+ },
94
+ plan: { status: 'running' },
95
+ }),
96
+ },
97
+ };
98
+ export const AllDone = {
99
+ args: {
100
+ steps: build(Object.fromEntries(DEFS.map((d) => [
101
+ d.stepKey,
102
+ { status: 'done', metadata: { summary: `${d.title} — finished cleanly` } },
103
+ ]))),
104
+ },
105
+ };
106
+ export const FailedMidway = {
107
+ args: {
108
+ steps: build({
109
+ scaffold: { status: 'done', metadata: { summary: 'Scaffold complete' } },
110
+ deps: { status: 'failed', metadata: { error: 'npm install exited with code 1' } },
111
+ }),
112
+ },
113
+ };
114
+ export const InterruptedAfterCrash = {
115
+ args: {
116
+ steps: build({
117
+ scaffold: { status: 'done', metadata: { summary: 'Scaffold complete' } },
118
+ deps: { status: 'interrupted' },
119
+ }),
120
+ },
121
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Shared TanStack Query key + fetcher for the per-feature chat state.
3
+ *
4
+ * Both `useChatRuntime` (inside ChatTab) and the application page's
5
+ * top bar subscribe to the SAME cached entry so a single SSE stream
6
+ * updates every consumer at once. Keep the key and fetcher here so
7
+ * there's exactly one source of truth.
8
+ */
9
+ import type { ChatState } from '../../../../../../packages/core/src/application/ports/output/services/interactive-session-service.interface.js';
10
+ export declare function chatQueryKey(featureId: string): readonly ["chat-messages", string];
11
+ export declare function fetchChatState(featureId: string): Promise<ChatState>;
12
+ //# sourceMappingURL=chat-state-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-state-query.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/chat/chat-state-query.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sFAAsF,CAAC;AAEtH,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,sCAE7C;AAED,wBAAsB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAQ1E"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Shared TanStack Query key + fetcher for the per-feature chat state.
3
+ *
4
+ * Both `useChatRuntime` (inside ChatTab) and the application page's
5
+ * top bar subscribe to the SAME cached entry so a single SSE stream
6
+ * updates every consumer at once. Keep the key and fetcher here so
7
+ * there's exactly one source of truth.
8
+ */
9
+ export function chatQueryKey(featureId) {
10
+ return ['chat-messages', featureId];
11
+ }
12
+ export async function fetchChatState(featureId) {
13
+ const res = await fetch(`/api/interactive/chat/${featureId}/messages`);
14
+ if (!res.ok) {
15
+ // eslint-disable-next-line no-console
16
+ console.error(`[ChatState] fetch failed: ${res.status}`, await res.text().catch(() => ''));
17
+ throw new Error(`Failed to fetch chat state: ${res.status}`);
18
+ }
19
+ return res.json();
20
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Parse the persisted content of a tool-event chat message.
3
+ *
4
+ * `persistToolEvent` in the interactive session service writes
5
+ * messages in one of two shapes:
6
+ *
7
+ * 1. `**<Label>** \`<detail>\`` — most tool calls, detail usually JSON
8
+ * 2. `**<Label>**` — label-only events (e.g. "Session started")
9
+ *
10
+ * Anything that doesn't match either shape is not a tool event and
11
+ * should fall through to regular markdown rendering.
12
+ */
13
+ export type ToolEvent = {
14
+ kind: 'tool';
15
+ /** Tool name, e.g. "Bash", "Read", "Write", "Edit", "Glob", "Grep" */
16
+ name: string;
17
+ /** Raw detail string as persisted (may be JSON). */
18
+ detail: string;
19
+ /** Parsed object if `detail` was valid JSON, otherwise null. */
20
+ parsed: Record<string, unknown> | null;
21
+ } | {
22
+ kind: 'label-only';
23
+ name: string;
24
+ };
25
+ export declare function parseToolEvent(text: string): ToolEvent | null;
26
+ /** True when the tool is a file mutation (Write / Edit / MultiEdit). */
27
+ export declare function isFileWriteTool(name: string): boolean;
28
+ /** Extract the file path from a parsed tool payload, if present. */
29
+ export declare function extractFilePath(parsed: Record<string, unknown> | null): string | null;
30
+ /** Extract the file content from a parsed tool payload, if present. */
31
+ export declare function extractFileContent(parsed: Record<string, unknown> | null): string | null;
32
+ /**
33
+ * Build a short one-line summary from a parsed tool payload, e.g. the
34
+ * command for Bash, the file_path for Read, the pattern for Grep.
35
+ * Falls back to a truncated version of the raw detail string.
36
+ */
37
+ export declare function summarizeToolDetail(parsed: Record<string, unknown> | null, fallback: string, maxLen?: number): string;
38
+ //# sourceMappingURL=detect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/chat/tool-bubble/detect.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,MAAM,SAAS,GACjB;IACE,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACxC,GACD;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAKzC,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAwB7D;AAED,wEAAwE;AACxE,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAErD;AAED,oEAAoE;AACpE,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAOrF;AAED,uEAAuE;AACvE,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAaxF;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EACtC,QAAQ,EAAE,MAAM,EAChB,MAAM,SAAK,GACV,MAAM,CAWR"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Parse the persisted content of a tool-event chat message.
3
+ *
4
+ * `persistToolEvent` in the interactive session service writes
5
+ * messages in one of two shapes:
6
+ *
7
+ * 1. `**<Label>** \`<detail>\`` — most tool calls, detail usually JSON
8
+ * 2. `**<Label>**` — label-only events (e.g. "Session started")
9
+ *
10
+ * Anything that doesn't match either shape is not a tool event and
11
+ * should fall through to regular markdown rendering.
12
+ */
13
+ const TOOL_WITH_DETAIL_RE = /^\*\*(.+?)\*\*\s+`([\s\S]+)`\s*$/;
14
+ const LABEL_ONLY_RE = /^\*\*(.+?)\*\*\s*$/;
15
+ export function parseToolEvent(text) {
16
+ const trimmed = text.trim();
17
+ const withDetail = trimmed.match(TOOL_WITH_DETAIL_RE);
18
+ if (withDetail) {
19
+ const [, name, detail] = withDetail;
20
+ let parsed = null;
21
+ try {
22
+ const maybe = JSON.parse(detail);
23
+ if (maybe && typeof maybe === 'object' && !Array.isArray(maybe)) {
24
+ parsed = maybe;
25
+ }
26
+ }
27
+ catch {
28
+ // Not JSON — leave parsed null, bubble will show the raw string.
29
+ }
30
+ return { kind: 'tool', name: name.trim(), detail, parsed };
31
+ }
32
+ const labelOnly = trimmed.match(LABEL_ONLY_RE);
33
+ if (labelOnly) {
34
+ return { kind: 'label-only', name: labelOnly[1].trim() };
35
+ }
36
+ return null;
37
+ }
38
+ /** True when the tool is a file mutation (Write / Edit / MultiEdit). */
39
+ export function isFileWriteTool(name) {
40
+ return /^(Write|Edit|MultiEdit|Update)$/i.test(name);
41
+ }
42
+ /** Extract the file path from a parsed tool payload, if present. */
43
+ export function extractFilePath(parsed) {
44
+ if (!parsed)
45
+ return null;
46
+ const candidates = [parsed.file_path, parsed.path, parsed.filePath, parsed.filepath];
47
+ for (const c of candidates) {
48
+ if (typeof c === 'string' && c.length > 0)
49
+ return c;
50
+ }
51
+ return null;
52
+ }
53
+ /** Extract the file content from a parsed tool payload, if present. */
54
+ export function extractFileContent(parsed) {
55
+ if (!parsed)
56
+ return null;
57
+ const candidates = [
58
+ parsed.content,
59
+ parsed.new_string,
60
+ parsed.newString,
61
+ parsed.new_content,
62
+ parsed.text,
63
+ ];
64
+ for (const c of candidates) {
65
+ if (typeof c === 'string')
66
+ return c;
67
+ }
68
+ return null;
69
+ }
70
+ /**
71
+ * Build a short one-line summary from a parsed tool payload, e.g. the
72
+ * command for Bash, the file_path for Read, the pattern for Grep.
73
+ * Falls back to a truncated version of the raw detail string.
74
+ */
75
+ export function summarizeToolDetail(parsed, fallback, maxLen = 80) {
76
+ if (parsed) {
77
+ const fields = ['command', 'file_path', 'path', 'pattern', 'query', 'url'];
78
+ for (const field of fields) {
79
+ const v = parsed[field];
80
+ if (typeof v === 'string' && v.length > 0) {
81
+ return truncate(v, maxLen);
82
+ }
83
+ }
84
+ }
85
+ return truncate(fallback.replace(/\s+/g, ' ').trim(), maxLen);
86
+ }
87
+ function truncate(s, max) {
88
+ if (s.length <= max)
89
+ return s;
90
+ return `${s.slice(0, max - 1)}…`;
91
+ }
@@ -0,0 +1,17 @@
1
+ export interface FileWriteCardProps {
2
+ /** Tool name as it was emitted — "Write", "Edit", "MultiEdit". */
3
+ toolName: string;
4
+ /** Absolute or relative path the agent acted on. */
5
+ filePath: string;
6
+ /** File content (Write) or new_string (Edit). Null if not parseable. */
7
+ content: string | null;
8
+ }
9
+ /**
10
+ * Specialized bubble for Write/Edit tool events.
11
+ *
12
+ * Collapsed: a pill showing the file icon, basename, and tool verb.
13
+ * Expanded: a full preview panel with a back button that returns to the pill.
14
+ * The preview scrolls internally so long files don't blow up the chat height.
15
+ */
16
+ export declare function FileWriteCard({ toolName, filePath, content }: FileWriteCardProps): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=file-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-card.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/chat/tool-bubble/file-card.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,kBAAkB;IACjC,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,kBAAkB,2CA0EhF"}
@@ -0,0 +1,25 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useState } from 'react';
4
+ import { ChevronLeft, FileText, PencilLine } from 'lucide-react';
5
+ import { cn } from '../../../../lib/utils.js';
6
+ /**
7
+ * Specialized bubble for Write/Edit tool events.
8
+ *
9
+ * Collapsed: a pill showing the file icon, basename, and tool verb.
10
+ * Expanded: a full preview panel with a back button that returns to the pill.
11
+ * The preview scrolls internally so long files don't blow up the chat height.
12
+ */
13
+ export function FileWriteCard({ toolName, filePath, content }) {
14
+ const [expanded, setExpanded] = useState(false);
15
+ const basename = filePath.split(/[\\/]/).pop() ?? filePath;
16
+ const lineCount = content ? content.split('\n').length : 0;
17
+ const verb = toolName.toLowerCase();
18
+ const isEdit = /edit/i.test(toolName);
19
+ if (!expanded) {
20
+ return (_jsxs("button", { type: "button", onClick: () => setExpanded(true), title: filePath, className: cn('group inline-flex max-w-full items-center gap-2 rounded-lg border px-3 py-1.5 text-xs transition-all', isEdit
21
+ ? 'border-sky-500/25 bg-sky-500/10 hover:border-sky-500/40 hover:bg-sky-500/15'
22
+ : 'border-emerald-500/25 bg-emerald-500/10 hover:border-emerald-500/40 hover:bg-emerald-500/15'), children: [_jsx("div", { className: cn('flex h-6 w-6 shrink-0 items-center justify-center rounded', isEdit ? 'bg-sky-500/15 text-sky-500' : 'bg-emerald-500/15 text-emerald-500'), children: isEdit ? _jsx(PencilLine, { className: "h-3.5 w-3.5" }) : _jsx(FileText, { className: "h-3.5 w-3.5" }) }), _jsxs("div", { className: "flex min-w-0 flex-col items-start", children: [_jsx("span", { className: "truncate font-mono text-[11px] font-medium", children: basename }), _jsxs("span", { className: "text-muted-foreground/70 font-mono text-[9px] tracking-wide uppercase", children: [verb, lineCount ? ` · ${lineCount} line${lineCount === 1 ? '' : 's'}` : ''] })] })] }));
23
+ }
24
+ return (_jsxs("div", { className: "border-border/60 bg-background/50 flex max-w-full flex-col overflow-hidden rounded-lg border", children: [_jsxs("div", { className: "bg-muted/60 border-border/60 flex items-center justify-between gap-2 border-b px-3 py-1.5", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [isEdit ? (_jsx(PencilLine, { className: "h-3.5 w-3.5 shrink-0 text-sky-500" })) : (_jsx(FileText, { className: "h-3.5 w-3.5 shrink-0 text-emerald-500" })), _jsx("span", { className: "truncate font-mono text-[11px] font-medium", title: filePath, children: basename }), _jsx("span", { className: "text-muted-foreground/60 shrink-0 font-mono text-[9px] tracking-wide uppercase", children: verb })] }), _jsxs("button", { type: "button", onClick: () => setExpanded(false), className: "text-muted-foreground hover:text-foreground inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 text-[10px] transition-colors", "aria-label": "Collapse file preview", children: [_jsx(ChevronLeft, { className: "h-3 w-3" }), "Back"] })] }), _jsx("pre", { className: "max-h-[420px] overflow-auto px-3 py-2 font-mono text-[10px] leading-relaxed", children: content ?? '(no content available)' }), _jsx("div", { className: "text-muted-foreground/60 border-border/60 border-t px-3 py-1 font-mono text-[9px]", children: filePath })] }));
25
+ }
@@ -0,0 +1,11 @@
1
+ export interface GenericToolBubbleProps {
2
+ name: string;
3
+ detail: string;
4
+ parsed: Record<string, unknown> | null;
5
+ }
6
+ /**
7
+ * Collapsed-by-default tool bubble. Clicking the chip expands a
8
+ * pretty-printed view of the tool's payload underneath.
9
+ */
10
+ export declare function GenericToolBubble({ name, detail, parsed }: GenericToolBubbleProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=generic-bubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generic-bubble.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/chat/tool-bubble/generic-bubble.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CACxC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,sBAAsB,2CAqBjF"}
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useState } from 'react';
4
+ import { ToolChip } from './tool-chip.js';
5
+ import { summarizeToolDetail } from './detect.js';
6
+ /**
7
+ * Collapsed-by-default tool bubble. Clicking the chip expands a
8
+ * pretty-printed view of the tool's payload underneath.
9
+ */
10
+ export function GenericToolBubble({ name, detail, parsed }) {
11
+ const [expanded, setExpanded] = useState(false);
12
+ const summary = summarizeToolDetail(parsed, detail);
13
+ const body = parsed ? JSON.stringify(parsed, null, 2) : detail;
14
+ return (_jsxs("div", { className: "inline-flex max-w-full flex-col", children: [_jsx(ToolChip, { name: name, summary: expanded ? null : summary, expanded: expanded, onToggle: () => setExpanded((v) => !v) }), expanded ? (_jsx("pre", { className: "border-border/60 bg-background/40 text-foreground/70 max-h-[300px] max-w-full overflow-auto rounded-md rounded-tl-none border px-3 py-2 font-mono text-[10px] leading-relaxed", children: body })) : null] }));
15
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Public entry for the chat tool-bubble module.
3
+ *
4
+ * `ToolBubble` inspects a persisted assistant-message text string and
5
+ * returns the right compact bubble:
6
+ *
7
+ * - Write / Edit / MultiEdit → <FileWriteCard> (file preview, expand to full content)
8
+ * - Anything else → <GenericToolBubble> (collapsible chip + JSON)
9
+ *
10
+ * Non-tool text returns `null` so the caller can fall through to the
11
+ * normal markdown renderer.
12
+ */
13
+ export interface ToolBubbleProps {
14
+ text: string;
15
+ }
16
+ export declare function ToolBubble({ text }: ToolBubbleProps): import("react/jsx-runtime").JSX.Element | null;
17
+ /** Re-export the detector for callers that need to branch on tool events
18
+ * before deciding which shell to render (e.g. AssistantMessage skipping
19
+ * its bubble wrapper). */
20
+ export { parseToolEvent, isFileWriteTool } from './detect.js';
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/chat/tool-bubble/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,eAAe,kDAwBnD;AAED;;2BAE2B;AAC3B,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * Public entry for the chat tool-bubble module.
4
+ *
5
+ * `ToolBubble` inspects a persisted assistant-message text string and
6
+ * returns the right compact bubble:
7
+ *
8
+ * - Write / Edit / MultiEdit → <FileWriteCard> (file preview, expand to full content)
9
+ * - Anything else → <GenericToolBubble> (collapsible chip + JSON)
10
+ *
11
+ * Non-tool text returns `null` so the caller can fall through to the
12
+ * normal markdown renderer.
13
+ */
14
+ import { parseToolEvent, isFileWriteTool, extractFilePath, extractFileContent } from './detect.js';
15
+ import { GenericToolBubble } from './generic-bubble.js';
16
+ import { FileWriteCard } from './file-card.js';
17
+ export function ToolBubble({ text }) {
18
+ const event = parseToolEvent(text);
19
+ if (!event)
20
+ return null;
21
+ if (event.kind === 'label-only') {
22
+ return _jsx(GenericToolBubble, { name: event.name, detail: "", parsed: null });
23
+ }
24
+ if (isFileWriteTool(event.name)) {
25
+ const filePath = extractFilePath(event.parsed);
26
+ if (filePath) {
27
+ return (_jsx(FileWriteCard, { toolName: event.name, filePath: filePath, content: extractFileContent(event.parsed) }));
28
+ }
29
+ // Fall through to the generic bubble if the payload didn't carry
30
+ // a file path (shouldn't happen for real Write/Edit, but be safe).
31
+ }
32
+ return _jsx(GenericToolBubble, { name: event.name, detail: event.detail, parsed: event.parsed });
33
+ }
34
+ /** Re-export the detector for callers that need to branch on tool events
35
+ * before deciding which shell to render (e.g. AssistantMessage skipping
36
+ * its bubble wrapper). */
37
+ export { parseToolEvent, isFileWriteTool } from './detect.js';
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface ToolChipProps {
3
+ name: string;
4
+ summary?: string | null;
5
+ expanded: boolean;
6
+ onToggle: () => void;
7
+ /** Optional icon override. Defaults to a generic wrench. */
8
+ icon?: ReactNode;
9
+ /** Optional accent tint (used for Write/Edit file cards). */
10
+ tint?: 'default' | 'green' | 'blue';
11
+ }
12
+ /** Compact collapsed-state chip for any tool event. */
13
+ export declare function ToolChip({ name, summary, expanded, onToggle, icon, tint, }: ToolChipProps): import("react/jsx-runtime").JSX.Element;
14
+ //# sourceMappingURL=tool-chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-chip.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/web/components/features/chat/tool-bubble/tool-chip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CACrC;AAQD,uDAAuD;AACvD,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,IAAgB,GACjB,EAAE,aAAa,2CAuBf"}
@@ -0,0 +1,13 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { ChevronDown, ChevronRight, Wrench } from 'lucide-react';
4
+ import { cn } from '../../../../lib/utils.js';
5
+ const TINT_CLASS = {
6
+ default: 'bg-muted/40 hover:bg-muted/70',
7
+ green: 'bg-emerald-500/8 hover:bg-emerald-500/15 border-emerald-500/20',
8
+ blue: 'bg-sky-500/8 hover:bg-sky-500/15 border-sky-500/20',
9
+ };
10
+ /** Compact collapsed-state chip for any tool event. */
11
+ export function ToolChip({ name, summary, expanded, onToggle, icon, tint = 'default', }) {
12
+ return (_jsxs("button", { type: "button", onClick: onToggle, className: cn('border-border/60 text-foreground/90 group inline-flex max-w-full items-center gap-1.5 rounded-md border px-2 py-0.5 font-mono text-[11px] transition-colors', TINT_CLASS[tint], expanded && 'rounded-b-none border-b-0'), children: [expanded ? (_jsx(ChevronDown, { className: "h-3 w-3 shrink-0 opacity-60" })) : (_jsx(ChevronRight, { className: "h-3 w-3 shrink-0 opacity-60" })), icon ?? _jsx(Wrench, { className: "h-3 w-3 shrink-0 opacity-60" }), _jsx("span", { className: "shrink-0 font-medium", children: name }), summary ? (_jsx("span", { className: "text-muted-foreground/70 max-w-[360px] truncate", children: summary })) : null] }));
13
+ }