@stigmer/react 3.1.17 → 3.2.1

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 (832) hide show
  1. package/agent-instance/AgentInstanceList.d.ts.map +1 -1
  2. package/agent-instance/AgentInstanceList.js +11 -3
  3. package/agent-instance/AgentInstanceList.js.map +1 -1
  4. package/channel/AgentChannelsPanel.d.ts +60 -0
  5. package/channel/AgentChannelsPanel.d.ts.map +1 -0
  6. package/channel/AgentChannelsPanel.js +255 -0
  7. package/channel/AgentChannelsPanel.js.map +1 -0
  8. package/channel/ChannelConversationsDialog.d.ts +41 -0
  9. package/channel/ChannelConversationsDialog.d.ts.map +1 -0
  10. package/channel/ChannelConversationsDialog.js +94 -0
  11. package/channel/ChannelConversationsDialog.js.map +1 -0
  12. package/channel/ChannelCredentialsDialog.d.ts +37 -0
  13. package/channel/ChannelCredentialsDialog.d.ts.map +1 -0
  14. package/channel/ChannelCredentialsDialog.js +75 -0
  15. package/channel/ChannelCredentialsDialog.js.map +1 -0
  16. package/channel/ChannelToolCredentials.d.ts +31 -0
  17. package/channel/ChannelToolCredentials.d.ts.map +1 -0
  18. package/channel/ChannelToolCredentials.js +41 -0
  19. package/channel/ChannelToolCredentials.js.map +1 -0
  20. package/channel/ConnectSlackDialog.d.ts +61 -0
  21. package/channel/ConnectSlackDialog.d.ts.map +1 -0
  22. package/channel/ConnectSlackDialog.js +238 -0
  23. package/channel/ConnectSlackDialog.js.map +1 -0
  24. package/channel/ConnectWhatsAppDialog.d.ts +70 -0
  25. package/channel/ConnectWhatsAppDialog.d.ts.map +1 -0
  26. package/channel/ConnectWhatsAppDialog.js +256 -0
  27. package/channel/ConnectWhatsAppDialog.js.map +1 -0
  28. package/channel/SlackMarkIcon.d.ts +11 -0
  29. package/channel/SlackMarkIcon.d.ts.map +1 -0
  30. package/channel/SlackMarkIcon.js +13 -0
  31. package/channel/SlackMarkIcon.js.map +1 -0
  32. package/channel/WhatsAppMarkIcon.d.ts +12 -0
  33. package/channel/WhatsAppMarkIcon.d.ts.map +1 -0
  34. package/channel/WhatsAppMarkIcon.js +14 -0
  35. package/channel/WhatsAppMarkIcon.js.map +1 -0
  36. package/channel/connect/ServingAppSection.d.ts +57 -0
  37. package/channel/connect/ServingAppSection.d.ts.map +1 -0
  38. package/channel/connect/ServingAppSection.js +49 -0
  39. package/channel/connect/ServingAppSection.js.map +1 -0
  40. package/channel/connect/ToolCredentialsSection.d.ts +20 -0
  41. package/channel/connect/ToolCredentialsSection.d.ts.map +1 -0
  42. package/channel/connect/ToolCredentialsSection.js +22 -0
  43. package/channel/connect/ToolCredentialsSection.js.map +1 -0
  44. package/channel/connect/VerbatimRefusal.d.ts +16 -0
  45. package/channel/connect/VerbatimRefusal.d.ts.map +1 -0
  46. package/channel/connect/VerbatimRefusal.js +18 -0
  47. package/channel/connect/VerbatimRefusal.js.map +1 -0
  48. package/channel/connect/icons.d.ts +16 -0
  49. package/channel/connect/icons.d.ts.map +1 -0
  50. package/channel/connect/icons.js +21 -0
  51. package/channel/connect/icons.js.map +1 -0
  52. package/channel/index.d.ts +36 -0
  53. package/channel/index.d.ts.map +1 -0
  54. package/channel/index.js +19 -0
  55. package/channel/index.js.map +1 -0
  56. package/channel/providerPresentation.d.ts +44 -0
  57. package/channel/providerPresentation.d.ts.map +1 -0
  58. package/channel/providerPresentation.js +106 -0
  59. package/channel/providerPresentation.js.map +1 -0
  60. package/channel/providers.d.ts +62 -0
  61. package/channel/providers.d.ts.map +1 -0
  62. package/channel/providers.js +26 -0
  63. package/channel/providers.js.map +1 -0
  64. package/channel/useAgentChannel.d.ts +31 -0
  65. package/channel/useAgentChannel.d.ts.map +1 -0
  66. package/channel/useAgentChannel.js +34 -0
  67. package/channel/useAgentChannel.js.map +1 -0
  68. package/channel/useAgentChannelList.d.ts +43 -0
  69. package/channel/useAgentChannelList.d.ts.map +1 -0
  70. package/channel/useAgentChannelList.js +39 -0
  71. package/channel/useAgentChannelList.js.map +1 -0
  72. package/channel/useChannelSessions.d.ts +47 -0
  73. package/channel/useChannelSessions.d.ts.map +1 -0
  74. package/channel/useChannelSessions.js +38 -0
  75. package/channel/useChannelSessions.js.map +1 -0
  76. package/channel/useChannelToolReadiness.d.ts +23 -0
  77. package/channel/useChannelToolReadiness.d.ts.map +1 -0
  78. package/channel/useChannelToolReadiness.js +28 -0
  79. package/channel/useChannelToolReadiness.js.map +1 -0
  80. package/channel/useConnectSlackChannel.d.ts +75 -0
  81. package/channel/useConnectSlackChannel.d.ts.map +1 -0
  82. package/channel/useConnectSlackChannel.js +115 -0
  83. package/channel/useConnectSlackChannel.js.map +1 -0
  84. package/channel/useCreateAgentChannel.d.ts +42 -0
  85. package/channel/useCreateAgentChannel.d.ts.map +1 -0
  86. package/channel/useCreateAgentChannel.js +48 -0
  87. package/channel/useCreateAgentChannel.js.map +1 -0
  88. package/channel/useDeleteAgentChannel.d.ts +40 -0
  89. package/channel/useDeleteAgentChannel.d.ts.map +1 -0
  90. package/channel/useDeleteAgentChannel.js +44 -0
  91. package/channel/useDeleteAgentChannel.js.map +1 -0
  92. package/channel/useInstallChannel.d.ts +60 -0
  93. package/channel/useInstallChannel.d.ts.map +1 -0
  94. package/channel/useInstallChannel.js +63 -0
  95. package/channel/useInstallChannel.js.map +1 -0
  96. package/channel/useOrgAgentChannelList.d.ts +32 -0
  97. package/channel/useOrgAgentChannelList.d.ts.map +1 -0
  98. package/channel/useOrgAgentChannelList.js +29 -0
  99. package/channel/useOrgAgentChannelList.js.map +1 -0
  100. package/channel/useSaveAgentChannel.d.ts +63 -0
  101. package/channel/useSaveAgentChannel.d.ts.map +1 -0
  102. package/channel/useSaveAgentChannel.js +104 -0
  103. package/channel/useSaveAgentChannel.js.map +1 -0
  104. package/channel-app/ChannelAppDetailPanel.d.ts +46 -0
  105. package/channel-app/ChannelAppDetailPanel.d.ts.map +1 -0
  106. package/channel-app/ChannelAppDetailPanel.js +142 -0
  107. package/channel-app/ChannelAppDetailPanel.js.map +1 -0
  108. package/channel-app/ChannelAppListPanel.d.ts +36 -0
  109. package/channel-app/ChannelAppListPanel.d.ts.map +1 -0
  110. package/channel-app/ChannelAppListPanel.js +63 -0
  111. package/channel-app/ChannelAppListPanel.js.map +1 -0
  112. package/channel-app/CreateChannelAppForm.d.ts +54 -0
  113. package/channel-app/CreateChannelAppForm.d.ts.map +1 -0
  114. package/channel-app/CreateChannelAppForm.js +140 -0
  115. package/channel-app/CreateChannelAppForm.js.map +1 -0
  116. package/channel-app/index.d.ts +18 -0
  117. package/channel-app/index.d.ts.map +1 -0
  118. package/channel-app/index.js +10 -0
  119. package/channel-app/index.js.map +1 -0
  120. package/channel-app/internal.d.ts +33 -0
  121. package/channel-app/internal.d.ts.map +1 -0
  122. package/channel-app/internal.js +44 -0
  123. package/channel-app/internal.js.map +1 -0
  124. package/channel-app/slackAppSetup.d.ts +80 -0
  125. package/channel-app/slackAppSetup.d.ts.map +1 -0
  126. package/channel-app/slackAppSetup.js +123 -0
  127. package/channel-app/slackAppSetup.js.map +1 -0
  128. package/channel-app/useChannelAppList.d.ts +35 -0
  129. package/channel-app/useChannelAppList.d.ts.map +1 -0
  130. package/channel-app/useChannelAppList.js +34 -0
  131. package/channel-app/useChannelAppList.js.map +1 -0
  132. package/channel-app/useCreateChannelApp.d.ts +39 -0
  133. package/channel-app/useCreateChannelApp.d.ts.map +1 -0
  134. package/channel-app/useCreateChannelApp.js +50 -0
  135. package/channel-app/useCreateChannelApp.js.map +1 -0
  136. package/channel-app/useDeleteChannelApp.d.ts +31 -0
  137. package/channel-app/useDeleteChannelApp.d.ts.map +1 -0
  138. package/channel-app/useDeleteChannelApp.js +43 -0
  139. package/channel-app/useDeleteChannelApp.js.map +1 -0
  140. package/channel-app/useUpdateChannelApp.d.ts +39 -0
  141. package/channel-app/useUpdateChannelApp.d.ts.map +1 -0
  142. package/channel-app/useUpdateChannelApp.js +50 -0
  143. package/channel-app/useUpdateChannelApp.js.map +1 -0
  144. package/channel-app/whatsappAppSetup.d.ts +51 -0
  145. package/channel-app/whatsappAppSetup.d.ts.map +1 -0
  146. package/channel-app/whatsappAppSetup.js +57 -0
  147. package/channel-app/whatsappAppSetup.js.map +1 -0
  148. package/environment/index.d.ts +2 -0
  149. package/environment/index.d.ts.map +1 -1
  150. package/environment/index.js +1 -0
  151. package/environment/index.js.map +1 -1
  152. package/environment/useToolCredentialsReadiness.d.ts +52 -0
  153. package/environment/useToolCredentialsReadiness.d.ts.map +1 -0
  154. package/environment/useToolCredentialsReadiness.js +84 -0
  155. package/environment/useToolCredentialsReadiness.js.map +1 -0
  156. package/execution/ArtifactContentBody.d.ts.map +1 -1
  157. package/execution/ArtifactContentBody.js +5 -21
  158. package/execution/ArtifactContentBody.js.map +1 -1
  159. package/execution/ArtifactFileContent.d.ts +28 -0
  160. package/execution/ArtifactFileContent.d.ts.map +1 -0
  161. package/execution/ArtifactFileContent.js +36 -0
  162. package/execution/ArtifactFileContent.js.map +1 -0
  163. package/execution/ArtifactRow.d.ts +8 -20
  164. package/execution/ArtifactRow.d.ts.map +1 -1
  165. package/execution/ArtifactRow.js +12 -45
  166. package/execution/ArtifactRow.js.map +1 -1
  167. package/execution/ArtifactRowView.d.ts +43 -0
  168. package/execution/ArtifactRowView.d.ts.map +1 -0
  169. package/execution/ArtifactRowView.js +35 -0
  170. package/execution/ArtifactRowView.js.map +1 -0
  171. package/execution/FileChangesView.d.ts.map +1 -1
  172. package/execution/FileChangesView.js +1 -61
  173. package/execution/FileChangesView.js.map +1 -1
  174. package/execution/SubAgentSection.d.ts.map +1 -1
  175. package/execution/SubAgentSection.js +4 -15
  176. package/execution/SubAgentSection.js.map +1 -1
  177. package/execution/ToolCallItem.d.ts.map +1 -1
  178. package/execution/ToolCallItem.js +16 -61
  179. package/execution/ToolCallItem.js.map +1 -1
  180. package/execution/agent-execution-document.d.ts +31 -0
  181. package/execution/agent-execution-document.d.ts.map +1 -0
  182. package/execution/agent-execution-document.js +48 -0
  183. package/execution/agent-execution-document.js.map +1 -0
  184. package/{session → execution}/artifact-document.d.ts +2 -3
  185. package/execution/artifact-document.d.ts.map +1 -0
  186. package/execution/artifact-document.js +23 -0
  187. package/execution/artifact-document.js.map +1 -0
  188. package/execution/artifact-row-item.d.ts +56 -0
  189. package/execution/artifact-row-item.d.ts.map +1 -0
  190. package/execution/artifact-row-item.js +57 -0
  191. package/execution/artifact-row-item.js.map +1 -0
  192. package/execution/deriveExecutionFileChanges.d.ts +55 -0
  193. package/execution/deriveExecutionFileChanges.d.ts.map +1 -0
  194. package/execution/deriveExecutionFileChanges.js +216 -0
  195. package/execution/deriveExecutionFileChanges.js.map +1 -0
  196. package/execution/file-change-document.d.ts +22 -0
  197. package/execution/file-change-document.d.ts.map +1 -0
  198. package/execution/file-change-document.js +34 -0
  199. package/execution/file-change-document.js.map +1 -0
  200. package/execution/index.d.ts +14 -0
  201. package/execution/index.d.ts.map +1 -1
  202. package/execution/index.js +9 -0
  203. package/execution/index.js.map +1 -1
  204. package/execution/useArtifactContentById.d.ts +61 -0
  205. package/execution/useArtifactContentById.d.ts.map +1 -0
  206. package/execution/useArtifactContentById.js +63 -0
  207. package/execution/useArtifactContentById.js.map +1 -0
  208. package/execution/useArtifactDownload.d.ts +4 -3
  209. package/execution/useArtifactDownload.d.ts.map +1 -1
  210. package/execution/useArtifactDownload.js +4 -3
  211. package/execution/useArtifactDownload.js.map +1 -1
  212. package/execution/useCreateAgentExecution.d.ts +1 -1
  213. package/execution/useLiveAgentExecution.d.ts +59 -0
  214. package/execution/useLiveAgentExecution.d.ts.map +1 -0
  215. package/execution/useLiveAgentExecution.js +73 -0
  216. package/execution/useLiveAgentExecution.js.map +1 -0
  217. package/index.d.ts +15 -10
  218. package/index.d.ts.map +1 -1
  219. package/index.js +21 -6
  220. package/index.js.map +1 -1
  221. package/internal/DecisionButton.d.ts +4 -3
  222. package/internal/DecisionButton.d.ts.map +1 -1
  223. package/internal/DecisionButton.js +4 -3
  224. package/internal/DecisionButton.js.map +1 -1
  225. package/internal/oauthPopup.d.ts +101 -0
  226. package/internal/oauthPopup.d.ts.map +1 -0
  227. package/internal/oauthPopup.js +208 -0
  228. package/internal/oauthPopup.js.map +1 -0
  229. package/internal/store/index.d.ts +0 -2
  230. package/internal/store/index.d.ts.map +1 -1
  231. package/internal/store/index.js +0 -1
  232. package/internal/store/index.js.map +1 -1
  233. package/internal/store/workflow-execution-event-store.d.ts +34 -1
  234. package/internal/store/workflow-execution-event-store.d.ts.map +1 -1
  235. package/internal/store/workflow-execution-event-store.js +81 -3
  236. package/internal/store/workflow-execution-event-store.js.map +1 -1
  237. package/internal/store/workspace-file-selection-store.d.ts +1 -2
  238. package/internal/store/workspace-file-selection-store.d.ts.map +1 -1
  239. package/internal/store/workspace-file-selection-store.js +2 -5
  240. package/internal/store/workspace-file-selection-store.js.map +1 -1
  241. package/internal/thread-card/ThreadCardShell.d.ts +91 -0
  242. package/internal/thread-card/ThreadCardShell.d.ts.map +1 -0
  243. package/internal/thread-card/ThreadCardShell.js +41 -0
  244. package/internal/thread-card/ThreadCardShell.js.map +1 -0
  245. package/internal/thread-card/glyphs.d.ts +34 -0
  246. package/internal/thread-card/glyphs.d.ts.map +1 -0
  247. package/internal/thread-card/glyphs.js +50 -0
  248. package/internal/thread-card/glyphs.js.map +1 -0
  249. package/internal/thread-card/index.d.ts +3 -0
  250. package/internal/thread-card/index.d.ts.map +1 -0
  251. package/internal/thread-card/index.js +3 -0
  252. package/internal/thread-card/index.js.map +1 -0
  253. package/internal/useRevealLine.d.ts +2 -2
  254. package/internal/useRevealLine.js +2 -2
  255. package/mcp-server/OAuthCallbackHandler.js +1 -1
  256. package/mcp-server/OAuthCallbackHandler.js.map +1 -1
  257. package/mcp-server/useMcpServerOAuthConnect.d.ts +4 -23
  258. package/mcp-server/useMcpServerOAuthConnect.d.ts.map +1 -1
  259. package/mcp-server/useMcpServerOAuthConnect.js +12 -145
  260. package/mcp-server/useMcpServerOAuthConnect.js.map +1 -1
  261. package/package.json +4 -4
  262. package/session/NewSessionViewer.d.ts.map +1 -1
  263. package/session/NewSessionViewer.js +0 -1
  264. package/session/NewSessionViewer.js.map +1 -1
  265. package/session/SessionPanelChip.d.ts +7 -22
  266. package/session/SessionPanelChip.d.ts.map +1 -1
  267. package/session/SessionPanelChip.js +8 -36
  268. package/session/SessionPanelChip.js.map +1 -1
  269. package/session/SessionViewer.d.ts +7 -4
  270. package/session/SessionViewer.d.ts.map +1 -1
  271. package/session/SessionViewer.js +32 -30
  272. package/session/SessionViewer.js.map +1 -1
  273. package/session/audience.d.ts +15 -1
  274. package/session/audience.d.ts.map +1 -1
  275. package/session/channelOrigin.d.ts +33 -0
  276. package/session/channelOrigin.d.ts.map +1 -0
  277. package/session/channelOrigin.js +36 -0
  278. package/session/channelOrigin.js.map +1 -0
  279. package/session/facets/index.d.ts +0 -2
  280. package/session/facets/index.d.ts.map +1 -1
  281. package/session/facets/index.js +0 -1
  282. package/session/facets/index.js.map +1 -1
  283. package/session/index.d.ts +2 -2
  284. package/session/index.d.ts.map +1 -1
  285. package/session/index.js +5 -3
  286. package/session/index.js.map +1 -1
  287. package/session/useNewSessionFlow.d.ts +4 -0
  288. package/session/useNewSessionFlow.d.ts.map +1 -1
  289. package/session/useNewSessionFlow.js +33 -4
  290. package/session/useNewSessionFlow.js.map +1 -1
  291. package/session/usePersistedModel.d.ts +11 -0
  292. package/session/usePersistedModel.d.ts.map +1 -1
  293. package/session/usePersistedModel.js +14 -3
  294. package/session/usePersistedModel.js.map +1 -1
  295. package/session/useSessionFileChanges.d.ts +10 -34
  296. package/session/useSessionFileChanges.d.ts.map +1 -1
  297. package/session/useSessionFileChanges.js +9 -141
  298. package/session/useSessionFileChanges.js.map +1 -1
  299. package/session/useSessionPageFlow.d.ts.map +1 -1
  300. package/session/useSessionPageFlow.js +12 -1
  301. package/session/useSessionPageFlow.js.map +1 -1
  302. package/session/useSessionPanel.d.ts +5 -15
  303. package/session/useSessionPanel.d.ts.map +1 -1
  304. package/session/useSessionPanel.js +3 -35
  305. package/session/useSessionPanel.js.map +1 -1
  306. package/session/useSessionRailViews.d.ts +3 -6
  307. package/session/useSessionRailViews.d.ts.map +1 -1
  308. package/session/useSessionRailViews.js +3 -17
  309. package/session/useSessionRailViews.js.map +1 -1
  310. package/settings/ChannelAppsSection.d.ts +13 -0
  311. package/settings/ChannelAppsSection.d.ts.map +1 -0
  312. package/settings/ChannelAppsSection.js +48 -0
  313. package/settings/ChannelAppsSection.js.map +1 -0
  314. package/settings/index.d.ts +1 -0
  315. package/settings/index.d.ts.map +1 -1
  316. package/settings/index.js +1 -0
  317. package/settings/index.js.map +1 -1
  318. package/settings/settings-nav.d.ts.map +1 -1
  319. package/settings/settings-nav.js +6 -1
  320. package/settings/settings-nav.js.map +1 -1
  321. package/sharing/AgentShareList.d.ts.map +1 -1
  322. package/sharing/AgentShareList.js +11 -3
  323. package/sharing/AgentShareList.js.map +1 -1
  324. package/sharing/ShareAgentDialog.js +1 -1
  325. package/sharing/useShareToolReadiness.d.ts +9 -38
  326. package/sharing/useShareToolReadiness.d.ts.map +1 -1
  327. package/sharing/useShareToolReadiness.js +7 -72
  328. package/sharing/useShareToolReadiness.js.map +1 -1
  329. package/src/agent-instance/AgentInstanceList.tsx +60 -42
  330. package/src/agent-instance/__tests__/AgentInstanceList.test.tsx +161 -0
  331. package/src/channel/AgentChannelsPanel.tsx +688 -0
  332. package/src/channel/ChannelConversationsDialog.tsx +267 -0
  333. package/src/channel/ChannelCredentialsDialog.tsx +219 -0
  334. package/src/channel/ChannelToolCredentials.tsx +124 -0
  335. package/src/channel/ConnectSlackDialog.tsx +611 -0
  336. package/src/channel/ConnectWhatsAppDialog.tsx +624 -0
  337. package/src/channel/SlackMarkIcon.tsx +21 -0
  338. package/src/channel/WhatsAppMarkIcon.tsx +22 -0
  339. package/src/channel/__tests__/AgentChannelsPanel.test.tsx +638 -0
  340. package/src/channel/__tests__/ChannelConversationsDialog.test.tsx +114 -0
  341. package/src/channel/__tests__/ChannelCredentialsDialog.test.tsx +240 -0
  342. package/src/channel/__tests__/ConnectSlackDialog.test.tsx +659 -0
  343. package/src/channel/__tests__/ConnectWhatsAppDialog.test.tsx +564 -0
  344. package/src/channel/__tests__/providers.test.ts +118 -0
  345. package/src/channel/__tests__/useAgentChannel.test.tsx +116 -0
  346. package/src/channel/__tests__/useAgentChannelList.test.tsx +166 -0
  347. package/src/channel/__tests__/useChannelSessions.test.tsx +95 -0
  348. package/src/channel/__tests__/useChannelToolReadiness.test.tsx +158 -0
  349. package/src/channel/__tests__/useConnectSlackChannel.test.tsx +276 -0
  350. package/src/channel/__tests__/useDeleteAgentChannel.test.tsx +97 -0
  351. package/src/channel/__tests__/useInstallChannel.test.tsx +177 -0
  352. package/src/channel/__tests__/useSaveAgentChannel.test.tsx +294 -0
  353. package/src/channel/connect/ServingAppSection.tsx +185 -0
  354. package/src/channel/connect/ToolCredentialsSection.tsx +67 -0
  355. package/src/channel/connect/VerbatimRefusal.tsx +27 -0
  356. package/src/channel/connect/icons.tsx +42 -0
  357. package/src/channel/index.ts +65 -0
  358. package/src/channel/providerPresentation.ts +154 -0
  359. package/src/channel/providers.ts +73 -0
  360. package/src/channel/useAgentChannel.ts +58 -0
  361. package/src/channel/useAgentChannelList.ts +69 -0
  362. package/src/channel/useChannelSessions.ts +73 -0
  363. package/src/channel/useChannelToolReadiness.ts +39 -0
  364. package/src/channel/useConnectSlackChannel.ts +195 -0
  365. package/src/channel/useCreateAgentChannel.ts +73 -0
  366. package/src/channel/useDeleteAgentChannel.ts +71 -0
  367. package/src/channel/useInstallChannel.ts +117 -0
  368. package/src/channel/useOrgAgentChannelList.ts +60 -0
  369. package/src/channel/useSaveAgentChannel.ts +133 -0
  370. package/src/channel-app/ChannelAppDetailPanel.tsx +510 -0
  371. package/src/channel-app/ChannelAppListPanel.tsx +201 -0
  372. package/src/channel-app/CreateChannelAppForm.tsx +529 -0
  373. package/src/channel-app/__tests__/channelAppWhatsApp.test.tsx +270 -0
  374. package/src/channel-app/__tests__/slackAppSetup.test.ts +75 -0
  375. package/src/channel-app/__tests__/useChannelAppHooks.test.tsx +157 -0
  376. package/src/channel-app/__tests__/whatsappAppSetup.test.ts +39 -0
  377. package/src/channel-app/index.ts +30 -0
  378. package/src/channel-app/internal.tsx +180 -0
  379. package/src/channel-app/slackAppSetup.ts +153 -0
  380. package/src/channel-app/useChannelAppList.ts +59 -0
  381. package/src/channel-app/useCreateChannelApp.ts +70 -0
  382. package/src/channel-app/useDeleteChannelApp.ts +62 -0
  383. package/src/channel-app/useUpdateChannelApp.ts +70 -0
  384. package/src/channel-app/whatsappAppSetup.ts +62 -0
  385. package/src/environment/index.ts +2 -0
  386. package/src/environment/useToolCredentialsReadiness.ts +122 -0
  387. package/src/execution/ArtifactContentBody.tsx +6 -88
  388. package/src/execution/ArtifactFileContent.tsx +110 -0
  389. package/src/execution/ArtifactRow.tsx +28 -118
  390. package/src/execution/ArtifactRowView.tsx +137 -0
  391. package/src/execution/FileChangesView.tsx +4 -69
  392. package/src/execution/SubAgentSection.tsx +2 -36
  393. package/src/execution/ToolCallItem.tsx +48 -175
  394. package/src/execution/__tests__/ArtifactFileContent.test.tsx +60 -0
  395. package/src/execution/__tests__/ArtifactRowView.test.tsx +78 -0
  396. package/src/execution/__tests__/agent-execution-document.test.ts +45 -0
  397. package/src/execution/__tests__/artifact-row-item.test.ts +128 -0
  398. package/src/execution/__tests__/deriveExecutionFileChanges.test.ts +270 -0
  399. package/src/execution/__tests__/useArtifactContentById.test.tsx +85 -0
  400. package/src/execution/__tests__/useLiveAgentExecution.test.tsx +202 -0
  401. package/src/execution/agent-execution-document.ts +54 -0
  402. package/src/execution/artifact-document.ts +24 -0
  403. package/src/execution/artifact-row-item.ts +97 -0
  404. package/src/execution/deriveExecutionFileChanges.ts +237 -0
  405. package/src/execution/file-change-document.ts +37 -0
  406. package/src/execution/index.ts +36 -0
  407. package/src/execution/useArtifactContentById.ts +120 -0
  408. package/src/execution/useArtifactDownload.ts +4 -3
  409. package/src/execution/useCreateAgentExecution.ts +1 -1
  410. package/src/execution/useLiveAgentExecution.ts +127 -0
  411. package/src/index.ts +155 -11
  412. package/src/internal/DecisionButton.tsx +4 -3
  413. package/src/internal/__tests__/ThreadCardShell.test.tsx +105 -0
  414. package/src/internal/__tests__/oauthPopup.test.ts +245 -0
  415. package/src/internal/oauthPopup.ts +261 -0
  416. package/src/internal/store/__tests__/workflow-execution-event-store.test.ts +375 -5
  417. package/src/internal/store/index.ts +0 -3
  418. package/src/internal/store/workflow-execution-event-store.ts +123 -4
  419. package/src/internal/store/workspace-file-selection-store.ts +2 -5
  420. package/src/internal/thread-card/ThreadCardShell.tsx +189 -0
  421. package/src/internal/thread-card/glyphs.tsx +108 -0
  422. package/src/internal/thread-card/index.ts +19 -0
  423. package/src/internal/useRevealLine.ts +2 -2
  424. package/src/mcp-server/OAuthCallbackHandler.tsx +2 -2
  425. package/src/mcp-server/useMcpServerOAuthConnect.ts +22 -184
  426. package/src/session/NewSessionViewer.tsx +0 -1
  427. package/src/session/SessionPanelChip.tsx +10 -96
  428. package/src/session/SessionViewer.tsx +170 -144
  429. package/src/session/__tests__/SessionViewer-artifactTabs.test.tsx +1 -1
  430. package/src/session/__tests__/observerAudience.test.tsx +241 -0
  431. package/src/session/__tests__/useNewSessionFlow.test.tsx +64 -0
  432. package/src/session/__tests__/usePersistedModel.test.tsx +36 -0
  433. package/src/session/__tests__/useSessionPageFlow.guest.test.tsx +48 -1
  434. package/src/session/__tests__/useSessionPanel.test.ts +6 -61
  435. package/src/session/__tests__/useSessionRailViews.test.tsx +5 -27
  436. package/src/session/audience.ts +15 -1
  437. package/src/session/channelOrigin.ts +45 -0
  438. package/src/session/facets/index.ts +0 -3
  439. package/src/session/index.ts +9 -6
  440. package/src/session/useNewSessionFlow.ts +35 -4
  441. package/src/session/usePersistedModel.ts +25 -3
  442. package/src/session/useSessionFileChanges.ts +12 -153
  443. package/src/session/useSessionPageFlow.ts +13 -2
  444. package/src/session/useSessionPanel.ts +8 -51
  445. package/src/session/useSessionRailViews.tsx +2 -27
  446. package/src/settings/ChannelAppsSection.tsx +133 -0
  447. package/src/settings/index.ts +1 -0
  448. package/src/settings/settings-nav.ts +6 -0
  449. package/src/sharing/AgentShareList.tsx +85 -64
  450. package/src/sharing/ShareAgentDialog.tsx +1 -1
  451. package/src/sharing/__tests__/AgentShareList.test.tsx +92 -12
  452. package/src/sharing/useShareToolReadiness.ts +13 -101
  453. package/src/workflow/WorkflowAgentExecutionDocument.tsx +283 -0
  454. package/src/workflow/WorkflowApprovalList.tsx +158 -0
  455. package/src/workflow/WorkflowArtifactDocument.tsx +257 -0
  456. package/src/workflow/WorkflowExecutionGraph.tsx +40 -78
  457. package/src/workflow/WorkflowExecutionViewer.tsx +610 -287
  458. package/src/workflow/WorkflowFileReviewList.tsx +1 -1
  459. package/src/workflow/WorkflowTaskApprovalCard.tsx +5 -4
  460. package/src/workflow/WorkflowTaskApprovalSummary.tsx +6 -6
  461. package/src/workflow/__tests__/WorkflowAgentExecutionDocument.test.tsx +651 -0
  462. package/src/workflow/__tests__/WorkflowApprovalList.test.tsx +229 -0
  463. package/src/workflow/__tests__/WorkflowArtifactDocument.test.tsx +90 -0
  464. package/src/workflow/__tests__/WorkflowArtifactsTab.test.tsx +85 -0
  465. package/src/workflow/__tests__/WorkflowChangesTab.test.tsx +113 -0
  466. package/src/workflow/__tests__/WorkflowExecutionViewer.approvals.test.tsx +473 -0
  467. package/src/workflow/__tests__/WorkflowExecutionViewer.reconciliation.test.tsx +632 -0
  468. package/src/workflow/__tests__/WorkflowTaskApprovalSummary.test.tsx +1 -1
  469. package/src/workflow/__tests__/WorkflowTaskThread.test.tsx +947 -0
  470. package/src/workflow/__tests__/WorkflowUsageTab.test.tsx +163 -0
  471. package/src/workflow/__tests__/agent-call-live-experience.test.ts +6 -53
  472. package/src/workflow/__tests__/derive-execution-overlays.test.ts +4 -0
  473. package/src/workflow/__tests__/deriveWorkflowArtifactItems.test.ts +71 -0
  474. package/src/workflow/__tests__/deriveWorkflowUsageItems.test.ts +132 -0
  475. package/src/workflow/__tests__/execution-graph.test.ts +8 -0
  476. package/src/workflow/__tests__/project-thread-items.test.ts +428 -0
  477. package/src/workflow/__tests__/structured-data-viewer.test.tsx +1 -1
  478. package/src/workflow/__tests__/task-approval.test.ts +149 -0
  479. package/src/workflow/__tests__/task-detail-io.test.ts +40 -0
  480. package/src/workflow/__tests__/task-presentation.test.ts +479 -0
  481. package/src/workflow/__tests__/useActiveTaskName.test.ts +4 -0
  482. package/src/workflow/__tests__/useApprovalBoundary.test.ts +158 -0
  483. package/src/workflow/__tests__/useExecutionAnnouncements.test.ts +4 -0
  484. package/src/workflow/__tests__/useFollowExecution.test.ts +2 -89
  485. package/src/workflow/__tests__/useWorkflowExecutionFileChanges.test.tsx +412 -0
  486. package/src/workflow/__tests__/useWorkflowExecutionPanel.test.ts +297 -0
  487. package/src/workflow/__tests__/useWorkflowExecutionRailViews.test.tsx +115 -0
  488. package/src/workflow/deriveWorkflowArtifactItems.ts +59 -0
  489. package/src/workflow/deriveWorkflowUsageItems.ts +73 -0
  490. package/src/workflow/diagnosis-document.ts +31 -0
  491. package/src/workflow/execution/index.ts +0 -15
  492. package/src/workflow/facets/WorkflowArtifactsTab.tsx +99 -0
  493. package/src/workflow/facets/WorkflowChangesTab.tsx +129 -0
  494. package/src/workflow/facets/WorkflowUsageTab.tsx +258 -0
  495. package/src/workflow/format-utils.ts +2 -3
  496. package/src/workflow/index.ts +106 -62
  497. package/src/workflow/inspector/index.ts +0 -4
  498. package/src/workflow/instance/WorkflowInstanceList.tsx +59 -41
  499. package/src/workflow/instance/__tests__/WorkflowInstanceList.test.tsx +156 -0
  500. package/src/workflow/task-detail/index.ts +11 -0
  501. package/src/workflow/task-detail/task-approval.ts +158 -0
  502. package/src/workflow/task-detail/task-detail-io.ts +65 -0
  503. package/src/workflow/thread/WorkflowTaskThread.tsx +845 -0
  504. package/src/workflow/thread/project-thread-items.ts +235 -0
  505. package/src/workflow/thread/task-presentation.ts +427 -0
  506. package/src/workflow/thread/thread-presentation.ts +59 -0
  507. package/src/workflow/thread/useWorkflowThreadItems.ts +34 -0
  508. package/src/workflow/useApprovalBoundary.ts +72 -0
  509. package/src/workflow/useFollowExecution.ts +0 -26
  510. package/src/workflow/useWorkflowArtifactDownload.ts +68 -0
  511. package/src/workflow/useWorkflowExecutionActions.ts +3 -2
  512. package/src/workflow/useWorkflowExecutionFileChanges.ts +341 -0
  513. package/src/workflow/useWorkflowExecutionGraph.ts +3 -43
  514. package/src/workflow/useWorkflowExecutionPanel.ts +292 -0
  515. package/src/workflow/useWorkflowExecutionRailViews.tsx +173 -0
  516. package/src/workspace/FileViewer.tsx +3 -3
  517. package/src/workspace/PanelChip.tsx +103 -0
  518. package/src/workspace/WorkspaceSurface.tsx +50 -6
  519. package/src/workspace/__tests__/WorkspaceSurface.test.tsx +110 -0
  520. package/src/workspace/index.ts +3 -0
  521. package/styles.css +1 -1
  522. package/workflow/WorkflowAgentExecutionDocument.d.ts +79 -0
  523. package/workflow/WorkflowAgentExecutionDocument.d.ts.map +1 -0
  524. package/workflow/WorkflowAgentExecutionDocument.js +87 -0
  525. package/workflow/WorkflowAgentExecutionDocument.js.map +1 -0
  526. package/workflow/WorkflowApprovalList.d.ts +62 -0
  527. package/workflow/WorkflowApprovalList.d.ts.map +1 -0
  528. package/workflow/WorkflowApprovalList.js +52 -0
  529. package/workflow/WorkflowApprovalList.js.map +1 -0
  530. package/workflow/WorkflowArtifactDocument.d.ts +29 -0
  531. package/workflow/WorkflowArtifactDocument.d.ts.map +1 -0
  532. package/workflow/WorkflowArtifactDocument.js +89 -0
  533. package/workflow/WorkflowArtifactDocument.js.map +1 -0
  534. package/workflow/WorkflowExecutionGraph.d.ts +15 -13
  535. package/workflow/WorkflowExecutionGraph.d.ts.map +1 -1
  536. package/workflow/WorkflowExecutionGraph.js +18 -53
  537. package/workflow/WorkflowExecutionGraph.js.map +1 -1
  538. package/workflow/WorkflowExecutionViewer.d.ts +8 -5
  539. package/workflow/WorkflowExecutionViewer.d.ts.map +1 -1
  540. package/workflow/WorkflowExecutionViewer.js +329 -54
  541. package/workflow/WorkflowExecutionViewer.js.map +1 -1
  542. package/workflow/WorkflowFileReviewList.d.ts +1 -1
  543. package/workflow/WorkflowFileReviewList.js +1 -1
  544. package/workflow/WorkflowTaskApprovalCard.d.ts +4 -3
  545. package/workflow/WorkflowTaskApprovalCard.d.ts.map +1 -1
  546. package/workflow/WorkflowTaskApprovalCard.js +5 -4
  547. package/workflow/WorkflowTaskApprovalCard.js.map +1 -1
  548. package/workflow/WorkflowTaskApprovalSummary.d.ts +6 -6
  549. package/workflow/WorkflowTaskApprovalSummary.js +5 -5
  550. package/workflow/deriveWorkflowArtifactItems.d.ts +30 -0
  551. package/workflow/deriveWorkflowArtifactItems.d.ts.map +1 -0
  552. package/workflow/deriveWorkflowArtifactItems.js +38 -0
  553. package/workflow/deriveWorkflowArtifactItems.js.map +1 -0
  554. package/workflow/deriveWorkflowUsageItems.d.ts +36 -0
  555. package/workflow/deriveWorkflowUsageItems.d.ts.map +1 -0
  556. package/workflow/deriveWorkflowUsageItems.js +50 -0
  557. package/workflow/deriveWorkflowUsageItems.js.map +1 -0
  558. package/workflow/diagnosis-document.d.ts +17 -0
  559. package/workflow/diagnosis-document.d.ts.map +1 -0
  560. package/workflow/diagnosis-document.js +29 -0
  561. package/workflow/diagnosis-document.js.map +1 -0
  562. package/workflow/execution/index.d.ts +0 -2
  563. package/workflow/execution/index.d.ts.map +1 -1
  564. package/workflow/execution/index.js +0 -2
  565. package/workflow/execution/index.js.map +1 -1
  566. package/workflow/facets/WorkflowArtifactsTab.d.ts +26 -0
  567. package/workflow/facets/WorkflowArtifactsTab.d.ts.map +1 -0
  568. package/workflow/facets/WorkflowArtifactsTab.js +34 -0
  569. package/workflow/facets/WorkflowArtifactsTab.js.map +1 -0
  570. package/workflow/facets/WorkflowChangesTab.d.ts +37 -0
  571. package/workflow/facets/WorkflowChangesTab.d.ts.map +1 -0
  572. package/workflow/facets/WorkflowChangesTab.js +50 -0
  573. package/workflow/facets/WorkflowChangesTab.js.map +1 -0
  574. package/workflow/facets/WorkflowUsageTab.d.ts +27 -0
  575. package/workflow/facets/WorkflowUsageTab.d.ts.map +1 -0
  576. package/workflow/facets/WorkflowUsageTab.js +87 -0
  577. package/workflow/facets/WorkflowUsageTab.js.map +1 -0
  578. package/workflow/format-utils.d.ts +2 -3
  579. package/workflow/format-utils.d.ts.map +1 -1
  580. package/workflow/format-utils.js +2 -3
  581. package/workflow/format-utils.js.map +1 -1
  582. package/workflow/index.d.ts +21 -10
  583. package/workflow/index.d.ts.map +1 -1
  584. package/workflow/index.js +29 -14
  585. package/workflow/index.js.map +1 -1
  586. package/workflow/inspector/index.d.ts +0 -2
  587. package/workflow/inspector/index.d.ts.map +1 -1
  588. package/workflow/inspector/index.js +0 -2
  589. package/workflow/inspector/index.js.map +1 -1
  590. package/workflow/instance/WorkflowInstanceList.d.ts.map +1 -1
  591. package/workflow/instance/WorkflowInstanceList.js +11 -3
  592. package/workflow/instance/WorkflowInstanceList.js.map +1 -1
  593. package/workflow/task-detail/StructuredDataViewer.d.ts.map +1 -0
  594. package/workflow/task-detail/StructuredDataViewer.js.map +1 -0
  595. package/workflow/task-detail/index.d.ts +4 -0
  596. package/workflow/task-detail/index.d.ts.map +1 -0
  597. package/workflow/task-detail/index.js +4 -0
  598. package/workflow/task-detail/index.js.map +1 -0
  599. package/workflow/task-detail/task-approval.d.ts +89 -0
  600. package/workflow/task-detail/task-approval.d.ts.map +1 -0
  601. package/workflow/task-detail/task-approval.js +84 -0
  602. package/workflow/task-detail/task-approval.js.map +1 -0
  603. package/workflow/task-detail/task-detail-io.d.ts +39 -0
  604. package/workflow/task-detail/task-detail-io.d.ts.map +1 -0
  605. package/workflow/task-detail/task-detail-io.js +42 -0
  606. package/workflow/task-detail/task-detail-io.js.map +1 -0
  607. package/workflow/thread/WorkflowTaskThread.d.ts +91 -0
  608. package/workflow/thread/WorkflowTaskThread.d.ts.map +1 -0
  609. package/workflow/thread/WorkflowTaskThread.js +318 -0
  610. package/workflow/thread/WorkflowTaskThread.js.map +1 -0
  611. package/workflow/thread/project-thread-items.d.ts +108 -0
  612. package/workflow/thread/project-thread-items.d.ts.map +1 -0
  613. package/workflow/thread/project-thread-items.js +126 -0
  614. package/workflow/thread/project-thread-items.js.map +1 -0
  615. package/workflow/thread/task-presentation.d.ts +73 -0
  616. package/workflow/thread/task-presentation.d.ts.map +1 -0
  617. package/workflow/thread/task-presentation.js +331 -0
  618. package/workflow/thread/task-presentation.js.map +1 -0
  619. package/workflow/thread/thread-presentation.d.ts +28 -0
  620. package/workflow/thread/thread-presentation.d.ts.map +1 -0
  621. package/workflow/thread/thread-presentation.js +28 -0
  622. package/workflow/thread/thread-presentation.js.map +1 -0
  623. package/workflow/thread/useWorkflowThreadItems.d.ts +16 -0
  624. package/workflow/thread/useWorkflowThreadItems.d.ts.map +1 -0
  625. package/workflow/thread/useWorkflowThreadItems.js +22 -0
  626. package/workflow/thread/useWorkflowThreadItems.js.map +1 -0
  627. package/workflow/useApprovalBoundary.d.ts +38 -0
  628. package/workflow/useApprovalBoundary.d.ts.map +1 -0
  629. package/workflow/useApprovalBoundary.js +55 -0
  630. package/workflow/useApprovalBoundary.js.map +1 -0
  631. package/workflow/useFollowExecution.d.ts +0 -20
  632. package/workflow/useFollowExecution.d.ts.map +1 -1
  633. package/workflow/useFollowExecution.js +0 -17
  634. package/workflow/useFollowExecution.js.map +1 -1
  635. package/workflow/useWorkflowArtifactDownload.d.ts +28 -0
  636. package/workflow/useWorkflowArtifactDownload.d.ts.map +1 -0
  637. package/workflow/useWorkflowArtifactDownload.js +45 -0
  638. package/workflow/useWorkflowArtifactDownload.js.map +1 -0
  639. package/workflow/useWorkflowExecutionActions.d.ts +3 -2
  640. package/workflow/useWorkflowExecutionActions.d.ts.map +1 -1
  641. package/workflow/useWorkflowExecutionActions.js.map +1 -1
  642. package/workflow/useWorkflowExecutionFileChanges.d.ts +107 -0
  643. package/workflow/useWorkflowExecutionFileChanges.d.ts.map +1 -0
  644. package/workflow/useWorkflowExecutionFileChanges.js +244 -0
  645. package/workflow/useWorkflowExecutionFileChanges.js.map +1 -0
  646. package/workflow/useWorkflowExecutionGraph.d.ts +1 -14
  647. package/workflow/useWorkflowExecutionGraph.d.ts.map +1 -1
  648. package/workflow/useWorkflowExecutionGraph.js +2 -25
  649. package/workflow/useWorkflowExecutionGraph.js.map +1 -1
  650. package/workflow/useWorkflowExecutionPanel.d.ts +108 -0
  651. package/workflow/useWorkflowExecutionPanel.d.ts.map +1 -0
  652. package/workflow/useWorkflowExecutionPanel.js +103 -0
  653. package/workflow/useWorkflowExecutionPanel.js.map +1 -0
  654. package/workflow/useWorkflowExecutionRailViews.d.ts +46 -0
  655. package/workflow/useWorkflowExecutionRailViews.d.ts.map +1 -0
  656. package/workflow/useWorkflowExecutionRailViews.js +81 -0
  657. package/workflow/useWorkflowExecutionRailViews.js.map +1 -0
  658. package/workspace/FileViewer.d.ts +1 -1
  659. package/workspace/FileViewer.js +3 -3
  660. package/workspace/FileViewer.js.map +1 -1
  661. package/workspace/PanelChip.d.ts +27 -0
  662. package/workspace/PanelChip.d.ts.map +1 -0
  663. package/workspace/PanelChip.js +42 -0
  664. package/workspace/PanelChip.js.map +1 -0
  665. package/workspace/WorkspaceSurface.d.ts +25 -1
  666. package/workspace/WorkspaceSurface.d.ts.map +1 -1
  667. package/workspace/WorkspaceSurface.js +21 -9
  668. package/workspace/WorkspaceSurface.js.map +1 -1
  669. package/workspace/index.d.ts +3 -1
  670. package/workspace/index.d.ts.map +1 -1
  671. package/workspace/index.js +1 -0
  672. package/workspace/index.js.map +1 -1
  673. package/execution/ThreadSelectionContext.d.ts +0 -17
  674. package/execution/ThreadSelectionContext.d.ts.map +0 -1
  675. package/execution/ThreadSelectionContext.js +0 -18
  676. package/execution/ThreadSelectionContext.js.map +0 -1
  677. package/execution/useThreadSelection.d.ts +0 -35
  678. package/execution/useThreadSelection.d.ts.map +0 -1
  679. package/execution/useThreadSelection.js +0 -65
  680. package/execution/useThreadSelection.js.map +0 -1
  681. package/internal/store/selection-store.d.ts +0 -53
  682. package/internal/store/selection-store.d.ts.map +0 -1
  683. package/internal/store/selection-store.js +0 -88
  684. package/internal/store/selection-store.js.map +0 -1
  685. package/session/artifact-document.d.ts.map +0 -1
  686. package/session/artifact-document.js +0 -22
  687. package/session/artifact-document.js.map +0 -1
  688. package/session/facets/InspectTab.d.ts +0 -13
  689. package/session/facets/InspectTab.d.ts.map +0 -1
  690. package/session/facets/InspectTab.js +0 -19
  691. package/session/facets/InspectTab.js.map +0 -1
  692. package/src/execution/ThreadSelectionContext.tsx +0 -20
  693. package/src/execution/useThreadSelection.ts +0 -95
  694. package/src/internal/store/__tests__/selection-store.test.ts +0 -115
  695. package/src/internal/store/selection-store.ts +0 -112
  696. package/src/session/artifact-document.ts +0 -23
  697. package/src/session/facets/InspectTab.tsx +0 -57
  698. package/src/workflow/WorkflowExecutionApprovalCard.tsx +0 -154
  699. package/src/workflow/WorkflowExecutionArtifactPanel.tsx +0 -107
  700. package/src/workflow/WorkflowExecutionCostPanel.tsx +0 -120
  701. package/src/workflow/WorkflowExecutionTaskPanel.tsx +0 -129
  702. package/src/workflow/WorkflowExecutionTimeline.tsx +0 -151
  703. package/src/workflow/WorkflowExecutionTimelineEvent.tsx +0 -497
  704. package/src/workflow/__tests__/ExecutionInspector.test.tsx +0 -155
  705. package/src/workflow/__tests__/WorkflowExecutionApprovalCard.test.tsx +0 -129
  706. package/src/workflow/__tests__/derive-task-detail.test.ts +0 -1265
  707. package/src/workflow/__tests__/derive-waterfall-entries.test.ts +0 -521
  708. package/src/workflow/__tests__/execution-inspector.test.tsx +0 -332
  709. package/src/workflow/execution/derive-waterfall-entries.ts +0 -377
  710. package/src/workflow/execution/useWaterfallEntries.ts +0 -125
  711. package/src/workflow/execution-inspector/AgentCallTab.tsx +0 -169
  712. package/src/workflow/execution-inspector/ErrorTab.tsx +0 -110
  713. package/src/workflow/execution-inspector/EventLogTab.tsx +0 -79
  714. package/src/workflow/execution-inspector/ExecutionInspector.tsx +0 -341
  715. package/src/workflow/execution-inspector/InputOutputTab.tsx +0 -325
  716. package/src/workflow/execution-inspector/RetriesTab.tsx +0 -68
  717. package/src/workflow/execution-inspector/SummaryTab.tsx +0 -62
  718. package/src/workflow/execution-inspector/derive-task-detail.ts +0 -584
  719. package/src/workflow/execution-inspector/index.ts +0 -14
  720. package/src/workflow/execution-inspector/useExecutionTaskDetail.ts +0 -55
  721. package/src/workflow/inspector/ExecutionInspectorAdapter.tsx +0 -40
  722. package/src/workflow/waterfall/WaterfallBar.tsx +0 -167
  723. package/src/workflow/waterfall/WaterfallRow.tsx +0 -112
  724. package/src/workflow/waterfall/WaterfallScale.tsx +0 -52
  725. package/src/workflow/waterfall/WaterfallTimeline.tsx +0 -138
  726. package/src/workflow/waterfall/WaterfallTooltip.tsx +0 -74
  727. package/src/workflow/waterfall/index.ts +0 -5
  728. package/workflow/WorkflowExecutionApprovalCard.d.ts +0 -34
  729. package/workflow/WorkflowExecutionApprovalCard.d.ts.map +0 -1
  730. package/workflow/WorkflowExecutionApprovalCard.js +0 -46
  731. package/workflow/WorkflowExecutionApprovalCard.js.map +0 -1
  732. package/workflow/WorkflowExecutionArtifactPanel.d.ts +0 -15
  733. package/workflow/WorkflowExecutionArtifactPanel.d.ts.map +0 -1
  734. package/workflow/WorkflowExecutionArtifactPanel.js +0 -46
  735. package/workflow/WorkflowExecutionArtifactPanel.js.map +0 -1
  736. package/workflow/WorkflowExecutionCostPanel.d.ts +0 -18
  737. package/workflow/WorkflowExecutionCostPanel.d.ts.map +0 -1
  738. package/workflow/WorkflowExecutionCostPanel.js +0 -31
  739. package/workflow/WorkflowExecutionCostPanel.js.map +0 -1
  740. package/workflow/WorkflowExecutionTaskPanel.d.ts +0 -24
  741. package/workflow/WorkflowExecutionTaskPanel.d.ts.map +0 -1
  742. package/workflow/WorkflowExecutionTaskPanel.js +0 -51
  743. package/workflow/WorkflowExecutionTaskPanel.js.map +0 -1
  744. package/workflow/WorkflowExecutionTimeline.d.ts +0 -42
  745. package/workflow/WorkflowExecutionTimeline.d.ts.map +0 -1
  746. package/workflow/WorkflowExecutionTimeline.js +0 -52
  747. package/workflow/WorkflowExecutionTimeline.js.map +0 -1
  748. package/workflow/WorkflowExecutionTimelineEvent.d.ts +0 -25
  749. package/workflow/WorkflowExecutionTimelineEvent.d.ts.map +0 -1
  750. package/workflow/WorkflowExecutionTimelineEvent.js +0 -179
  751. package/workflow/WorkflowExecutionTimelineEvent.js.map +0 -1
  752. package/workflow/execution/derive-waterfall-entries.d.ts +0 -85
  753. package/workflow/execution/derive-waterfall-entries.d.ts.map +0 -1
  754. package/workflow/execution/derive-waterfall-entries.js +0 -268
  755. package/workflow/execution/derive-waterfall-entries.js.map +0 -1
  756. package/workflow/execution/useWaterfallEntries.d.ts +0 -25
  757. package/workflow/execution/useWaterfallEntries.d.ts.map +0 -1
  758. package/workflow/execution/useWaterfallEntries.js +0 -67
  759. package/workflow/execution/useWaterfallEntries.js.map +0 -1
  760. package/workflow/execution-inspector/AgentCallTab.d.ts +0 -21
  761. package/workflow/execution-inspector/AgentCallTab.d.ts.map +0 -1
  762. package/workflow/execution-inspector/AgentCallTab.js +0 -36
  763. package/workflow/execution-inspector/AgentCallTab.js.map +0 -1
  764. package/workflow/execution-inspector/ErrorTab.d.ts +0 -9
  765. package/workflow/execution-inspector/ErrorTab.d.ts.map +0 -1
  766. package/workflow/execution-inspector/ErrorTab.js +0 -29
  767. package/workflow/execution-inspector/ErrorTab.js.map +0 -1
  768. package/workflow/execution-inspector/EventLogTab.d.ts +0 -11
  769. package/workflow/execution-inspector/EventLogTab.d.ts.map +0 -1
  770. package/workflow/execution-inspector/EventLogTab.js +0 -47
  771. package/workflow/execution-inspector/EventLogTab.js.map +0 -1
  772. package/workflow/execution-inspector/ExecutionInspector.d.ts +0 -69
  773. package/workflow/execution-inspector/ExecutionInspector.d.ts.map +0 -1
  774. package/workflow/execution-inspector/ExecutionInspector.js +0 -145
  775. package/workflow/execution-inspector/ExecutionInspector.js.map +0 -1
  776. package/workflow/execution-inspector/InputOutputTab.d.ts +0 -20
  777. package/workflow/execution-inspector/InputOutputTab.d.ts.map +0 -1
  778. package/workflow/execution-inspector/InputOutputTab.js +0 -124
  779. package/workflow/execution-inspector/InputOutputTab.js.map +0 -1
  780. package/workflow/execution-inspector/RetriesTab.d.ts +0 -7
  781. package/workflow/execution-inspector/RetriesTab.d.ts.map +0 -1
  782. package/workflow/execution-inspector/RetriesTab.js +0 -11
  783. package/workflow/execution-inspector/RetriesTab.js.map +0 -1
  784. package/workflow/execution-inspector/StructuredDataViewer.d.ts.map +0 -1
  785. package/workflow/execution-inspector/StructuredDataViewer.js.map +0 -1
  786. package/workflow/execution-inspector/SummaryTab.d.ts +0 -7
  787. package/workflow/execution-inspector/SummaryTab.d.ts.map +0 -1
  788. package/workflow/execution-inspector/SummaryTab.js +0 -10
  789. package/workflow/execution-inspector/SummaryTab.js.map +0 -1
  790. package/workflow/execution-inspector/derive-task-detail.d.ts +0 -140
  791. package/workflow/execution-inspector/derive-task-detail.d.ts.map +0 -1
  792. package/workflow/execution-inspector/derive-task-detail.js +0 -366
  793. package/workflow/execution-inspector/derive-task-detail.js.map +0 -1
  794. package/workflow/execution-inspector/index.d.ts +0 -4
  795. package/workflow/execution-inspector/index.d.ts.map +0 -1
  796. package/workflow/execution-inspector/index.js +0 -4
  797. package/workflow/execution-inspector/index.js.map +0 -1
  798. package/workflow/execution-inspector/useExecutionTaskDetail.d.ts +0 -38
  799. package/workflow/execution-inspector/useExecutionTaskDetail.d.ts.map +0 -1
  800. package/workflow/execution-inspector/useExecutionTaskDetail.js +0 -37
  801. package/workflow/execution-inspector/useExecutionTaskDetail.js.map +0 -1
  802. package/workflow/inspector/ExecutionInspectorAdapter.d.ts +0 -26
  803. package/workflow/inspector/ExecutionInspectorAdapter.d.ts.map +0 -1
  804. package/workflow/inspector/ExecutionInspectorAdapter.js +0 -23
  805. package/workflow/inspector/ExecutionInspectorAdapter.js.map +0 -1
  806. package/workflow/waterfall/WaterfallBar.d.ts +0 -19
  807. package/workflow/waterfall/WaterfallBar.d.ts.map +0 -1
  808. package/workflow/waterfall/WaterfallBar.js +0 -70
  809. package/workflow/waterfall/WaterfallBar.js.map +0 -1
  810. package/workflow/waterfall/WaterfallRow.d.ts +0 -18
  811. package/workflow/waterfall/WaterfallRow.d.ts.map +0 -1
  812. package/workflow/waterfall/WaterfallRow.js +0 -45
  813. package/workflow/waterfall/WaterfallRow.js.map +0 -1
  814. package/workflow/waterfall/WaterfallScale.d.ts +0 -14
  815. package/workflow/waterfall/WaterfallScale.d.ts.map +0 -1
  816. package/workflow/waterfall/WaterfallScale.js +0 -22
  817. package/workflow/waterfall/WaterfallScale.js.map +0 -1
  818. package/workflow/waterfall/WaterfallTimeline.d.ts +0 -46
  819. package/workflow/waterfall/WaterfallTimeline.d.ts.map +0 -1
  820. package/workflow/waterfall/WaterfallTimeline.js +0 -60
  821. package/workflow/waterfall/WaterfallTimeline.js.map +0 -1
  822. package/workflow/waterfall/WaterfallTooltip.d.ts +0 -15
  823. package/workflow/waterfall/WaterfallTooltip.d.ts.map +0 -1
  824. package/workflow/waterfall/WaterfallTooltip.js +0 -20
  825. package/workflow/waterfall/WaterfallTooltip.js.map +0 -1
  826. package/workflow/waterfall/index.d.ts +0 -6
  827. package/workflow/waterfall/index.d.ts.map +0 -1
  828. package/workflow/waterfall/index.js +0 -6
  829. package/workflow/waterfall/index.js.map +0 -1
  830. /package/src/workflow/{execution-inspector → task-detail}/StructuredDataViewer.tsx +0 -0
  831. /package/workflow/{execution-inspector → task-detail}/StructuredDataViewer.d.ts +0 -0
  832. /package/workflow/{execution-inspector → task-detail}/StructuredDataViewer.js +0 -0
@@ -7,26 +7,64 @@ import { WorkflowTaskKind } from "@stigmer/protos/ai/stigmer/agentic/workflow/v1
7
7
  import { useWorkflowExecution } from "./useWorkflowExecution.js";
8
8
  import { useWorkflowExecutionEventStream } from "./useWorkflowExecutionEventStream.js";
9
9
  import { useWorkflowExecutionArtifacts } from "./useWorkflowExecutionArtifacts.js";
10
+ import { useWorkflowExecutionFileChanges, } from "./useWorkflowExecutionFileChanges.js";
10
11
  import { useWorkflowExecutionActions } from "./useWorkflowExecutionActions.js";
11
12
  import { WorkflowExecutionHeader } from "./WorkflowExecutionHeader.js";
12
- import { WorkflowExecutionTimeline } from "./WorkflowExecutionTimeline.js";
13
- import { WaterfallTimeline } from "./waterfall/index.js";
14
- import { WorkflowExecutionCostPanel } from "./WorkflowExecutionCostPanel.js";
15
- import { WorkflowExecutionArtifactPanel } from "./WorkflowExecutionArtifactPanel.js";
16
13
  import { WorkflowRepairCard } from "./WorkflowRepairCard.js";
17
14
  import { WorkflowExecutionGraph } from "./WorkflowExecutionGraph.js";
18
- import { ExecutionInspector } from "./execution-inspector/index.js";
19
15
  import { ExecutionComparisonPicker } from "./execution-comparison/ExecutionComparisonPicker.js";
20
16
  import { ExecutionComparisonView } from "./execution-comparison/ExecutionComparisonView.js";
21
- import { WorkflowExecutionApprovalCard } from "./WorkflowExecutionApprovalCard.js";
22
- import { WorkflowFileReviewList } from "./WorkflowFileReviewList.js";
23
17
  import { ResizableSplit } from "../internal/ResizableSplit.js";
18
+ import { useWorkspaceEditors } from "../internal/store/index.js";
19
+ import { ARTIFACT_DOCUMENT_ENTRY_ID } from "../execution/artifact-document.js";
20
+ import { FILE_CHANGE_DOCUMENT_ENTRY_ID, fileChangeTabPath, } from "../execution/file-change-document.js";
21
+ import { AGENT_EXECUTION_DOCUMENT_ENTRY_ID, parseAgentExecutionTabPath, } from "../execution/agent-execution-document.js";
22
+ import { FileChangeDiff } from "../execution/FileChangesView.js";
23
+ import { WorkflowAgentExecutionDocument, } from "./WorkflowAgentExecutionDocument.js";
24
+ import { WorkspaceSurface, } from "../workspace/WorkspaceSurface.js";
25
+ import { PanelChip } from "../workspace/PanelChip.js";
26
+ import { useWorkflowExecutionPanel, workflowArtifactTabPath, } from "./useWorkflowExecutionPanel.js";
27
+ import { useWorkflowExecutionRailViews } from "./useWorkflowExecutionRailViews.js";
28
+ import { DIAGNOSIS_DOCUMENT_ENTRY_ID, DIAGNOSIS_DOCUMENT_PATH, } from "./diagnosis-document.js";
29
+ import { WorkflowArtifactDocument } from "./WorkflowArtifactDocument.js";
30
+ import { WorkflowTaskThread, } from "./thread/WorkflowTaskThread.js";
31
+ import { useExecutionAnnouncements } from "./useExecutionAnnouncements.js";
32
+ import { useApprovalBoundary, } from "./useApprovalBoundary.js";
33
+ // Versioned key (S9). The unversioned S8 key is deliberately ABANDONED, not
34
+ // migrated: S8 shipped the thread as an opt-in preview with Graph as the
35
+ // default, so a stored S8 value records exploration of that preview — not a
36
+ // deliberate preference against the thread-primary product direction. The
37
+ // version bump gives every user one fresh landing on the new default;
38
+ // choices made from there persist.
39
+ const CENTER_VIEW_STORAGE_KEY = "stgm-wf-exec-center-view.v2";
40
+ const LEGACY_CENTER_VIEW_STORAGE_KEY = "stgm-wf-exec-center-view";
41
+ /**
42
+ * Read the persisted center view, defaulting to the thread (the T02
43
+ * thread-primary pivot). Same lazy-`useState` + `localStorage` pattern as
44
+ * `ResizableSplit`'s persisted width.
45
+ */
46
+ function readStoredCenterView() {
47
+ try {
48
+ const stored = localStorage.getItem(CENTER_VIEW_STORAGE_KEY);
49
+ if (stored === "thread" || stored === "graph")
50
+ return stored;
51
+ }
52
+ catch {
53
+ /* localStorage may be unavailable */
54
+ }
55
+ return "thread";
56
+ }
24
57
  /**
25
58
  * Top-level composed viewer for a single workflow execution.
26
59
  *
27
- * Wires together all execution hooks and sub-components into a
28
- * two-region layout: an event timeline (main area) and a context
29
- * sidebar (tasks, budget, artifacts).
60
+ * Wires together all execution hooks and sub-components into a two-column
61
+ * layout: the center column (the session-style task thread by default, with
62
+ * the DAG graph behind a view toggle — a passive visualization) and a single
63
+ * collapsible `WorkspaceSurface` panel carrying the execution-level facets
64
+ * (Artifacts/Changes/Usage on the rail) and the rich documents (transcripts,
65
+ * diffs, artifacts, AI diagnosis in the editor area). A task's detail —
66
+ * preview, I/O, errors, and every HITL decision surface — lives on its
67
+ * thread card, the single home for task data (T06).
30
68
  *
31
69
  * This component is designed to work identically whether rendered
32
70
  * in the Stigmer Console or embedded in a third-party dashboard.
@@ -40,7 +78,7 @@ import { ResizableSplit } from "../internal/ResizableSplit.js";
40
78
  * />
41
79
  * ```
42
80
  */
43
- export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ executionId, org, onNavigateToAgentExecution, onNavigateToWorkflowEditor, additionalActions, headerActions, nodesDraggable, className, }) {
81
+ export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ executionId, org, onNavigateToAgentExecution, onNavigateToWorkflowEditor, headerActions, nodesDraggable, className, }) {
44
82
  const { execution, isLoading: isLoadingExecution, error: executionError, refetch: refetchExecution, } = useWorkflowExecution(executionId);
45
83
  const phase = execution?.status?.phase;
46
84
  const isRunning = phase === ExecutionPhase.EXECUTION_PENDING || phase === ExecutionPhase.EXECUTION_IN_PROGRESS;
@@ -99,34 +137,152 @@ export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ e
99
137
  currentToolName: "",
100
138
  messagesCount: 0,
101
139
  toolCallsCount: 0,
140
+ // No event log → no truncated summaries and no gate record. The
141
+ // card body still renders full I/O from this same snapshot
142
+ // (`status.tasks[]`), so the fallback path is never a blank card
143
+ // (T04); a decided human_input degrades to its raw output there.
144
+ inputSummary: null,
145
+ outputSummary: null,
146
+ approvalRequest: null,
147
+ approvalResolution: null,
102
148
  });
103
149
  }
104
150
  return map;
105
151
  }, [events.length, streamState.stage, execution?.status?.tasks]);
106
152
  const effectiveTaskStates = fallbackTaskStates ?? taskStates;
107
153
  const effectiveTotalTasks = fallbackTaskStates ? fallbackTaskStates.size : totalTasks;
108
- const executionDurationMs = useMemo(() => {
109
- const startedAt = execution?.status?.startedAt;
110
- const completedAt = execution?.status?.completedAt;
111
- if (startedAt && completedAt) {
112
- return new Date(completedAt).getTime() - new Date(startedAt).getTime();
154
+ // Per-task snapshot lookup for the thread cards' I/O bodies (T04): an
155
+ // O(1) map, rebuilt only when the snapshot refetches — never on stream
156
+ // event appends — so memoized cards keep bailing during streaming.
157
+ const taskSnapshotsByName = useMemo(() => {
158
+ const tasks = execution?.status?.tasks;
159
+ if (!tasks || tasks.length === 0)
160
+ return undefined;
161
+ const map = new Map();
162
+ for (const t of tasks) {
163
+ if (t.taskName)
164
+ map.set(t.taskName, t);
113
165
  }
114
- return undefined;
115
- }, [execution?.status?.startedAt, execution?.status?.completedAt]);
116
- const { artifacts, isLoading: isLoadingArtifacts, } = useWorkflowExecutionArtifacts(executionId);
166
+ return map;
167
+ }, [execution?.status?.tasks]);
168
+ const { artifacts } = useWorkflowExecutionArtifacts(executionId);
169
+ // File-change rollup across AGENT_CALL children (Changes facet). Owner-level
170
+ // like the artifacts hook — the fetched children must survive panel
171
+ // collapse/expand cycles (the panel's content unmounts while collapsed).
172
+ const fileChangesState = useWorkflowExecutionFileChanges({
173
+ executionId,
174
+ taskStates: effectiveTaskStates,
175
+ taskSnapshots: execution?.status?.tasks,
176
+ });
117
177
  const actions = useWorkflowExecutionActions(executionId, {
118
178
  onSuccess: refetchExecution,
119
179
  });
120
- const [selectedTaskName, setSelectedTaskName] = useState(null);
121
- const [showDiagnosis, setShowDiagnosis] = useState(false);
180
+ // The child-gate HITL wiring — ONE bundle from the single actions
181
+ // instance, narrowed to the six child-gate fields, consumed by the
182
+ // in-place transcript documents (S5, as `WorkflowAgentExecutionHitl`), so
183
+ // a gate's spinner/error is pixel-identical on every surface. Deps are
184
+ // the individual fields (DD-010): the bundle's ref must survive unrelated
185
+ // churn on `actions` (a lifecycle action's isSubmitting flip), so
186
+ // consumers re-render only when a gate's own in-flight/error state moves.
187
+ const childGateHitl = useMemo(() => ({
188
+ submitApproval: actions.submitApproval,
189
+ approvalSubmittingToolCallIds: actions.approvalSubmittingToolCallIds,
190
+ approvalErrorsByToolCallId: actions.approvalErrorsByToolCallId,
191
+ submitFileDecision: actions.submitFileDecision,
192
+ fileDecisionSubmittingKeys: actions.fileDecisionSubmittingKeys,
193
+ fileDecisionErrorsByKey: actions.fileDecisionErrorsByKey,
194
+ }), [
195
+ actions.submitApproval,
196
+ actions.approvalSubmittingToolCallIds,
197
+ actions.approvalErrorsByToolCallId,
198
+ actions.submitFileDecision,
199
+ actions.fileDecisionSubmittingKeys,
200
+ actions.fileDecisionErrorsByKey,
201
+ ]);
202
+ // The thread's HITL bundle (T06): the child-gate fields PLUS the
203
+ // task-level (human_input) approval wiring — since the gating card is
204
+ // the only decision surface, the thread carries all three gate kinds.
205
+ // A separate memo from `childGateHitl` so a human_input decision's
206
+ // in-flight flip re-renders the gating card, never the open transcript
207
+ // documents (DD-010).
208
+ const threadHitl = useMemo(() => ({
209
+ ...childGateHitl,
210
+ submitTaskApproval: actions.submitTaskApproval,
211
+ taskApprovalSubmittingTaskNames: actions.taskApprovalSubmittingTaskNames,
212
+ taskApprovalErrorsByTaskName: actions.taskApprovalErrorsByTaskName,
213
+ }), [
214
+ childGateHitl,
215
+ actions.submitTaskApproval,
216
+ actions.taskApprovalSubmittingTaskNames,
217
+ actions.taskApprovalErrorsByTaskName,
218
+ ]);
219
+ // The execution-level workspace panel (facets + virtual document
220
+ // tabs). The controller lives at the owner level — the editors-store
221
+ // SUBSCRIPTION stays inside ExecutionWorkspacePanel so tab churn re-renders
222
+ // only the panel subtree, never the streaming graph (DD-009/DD-010).
223
+ const panel = useWorkflowExecutionPanel();
122
224
  const [showComparePicker, setShowComparePicker] = useState(false);
123
225
  const [compareTargetId, setCompareTargetId] = useState(null);
124
- const handleDiagnose = useCallback(() => {
125
- setShowDiagnosis(true);
226
+ // Center-column view (S8/S9). Both views stay mounted with the inactive
227
+ // one CSS-hidden — the `collapsedPane` discipline — so toggling never
228
+ // remounts React Flow or drops the event stream (DD-009).
229
+ const [centerView, setCenterView] = useState(readStoredCenterView);
230
+ const handleCenterViewChange = useCallback((view) => {
231
+ setCenterView(view);
232
+ try {
233
+ localStorage.setItem(CENTER_VIEW_STORAGE_KEY, view);
234
+ }
235
+ catch {
236
+ /* quota or security error */
237
+ }
126
238
  }, []);
127
- const handleCloseDiagnosis = useCallback(() => {
128
- setShowDiagnosis(false);
239
+ // One-time cleanup of the abandoned S8 key (an effect, not the read path —
240
+ // reads must stay side-effect-free).
241
+ useEffect(() => {
242
+ try {
243
+ localStorage.removeItem(LEGACY_CENTER_VIEW_STORAGE_KEY);
244
+ }
245
+ catch {
246
+ /* localStorage may be unavailable */
247
+ }
129
248
  }, []);
249
+ // Screen reader announcements for task state changes. Owned by the viewer
250
+ // (not the graph): `display:none` removes content from the accessibility
251
+ // tree, so a live region inside the CSS-hidden graph would go silent in
252
+ // Thread view. One always-visible announcer serves both center views.
253
+ const announcement = useExecutionAnnouncements(effectiveTaskStates);
254
+ // Terminal-phase snapshot refetch (T04, DD-T04-4). While a run streams,
255
+ // the cards' collapsed lines and bodies work from the TRUNCATED event
256
+ // summaries; the full per-task output lands on `status.tasks[]` only when
257
+ // the runner persists the terminal snapshot. The stream store's stage is
258
+ // the live end-of-run signal (`"complete"` on the terminal event) — the
259
+ // snapshot's own `phase` cannot be the trigger, since it only moves on a
260
+ // refetch (the circularity behind the stale "Pending" header, R1-5).
261
+ // Scoped to the live→complete TRANSITION: a terminal-replay mount starts
262
+ // at "complete" without ever streaming and already fetched a settled
263
+ // snapshot, so it must not refetch again.
264
+ const prevStreamStageRef = useRef(streamState.stage);
265
+ useEffect(() => {
266
+ const prev = prevStreamStageRef.current;
267
+ prevStreamStageRef.current = streamState.stage;
268
+ if (streamState.stage === "complete" &&
269
+ (prev === "streaming" || prev === "reconnecting")) {
270
+ refetchExecution();
271
+ }
272
+ }, [streamState.stage, refetchExecution]);
273
+ // Snapshot freshness across HITL boundaries (S9, the drawer's
274
+ // replacement). A `waiting_approval` boundary crossing — in EITHER
275
+ // direction — means the mount snapshot's gate lists are stale → refetch
276
+ // (stale-while-revalidate; no skeleton): the thread's in-card gates read
277
+ // those lists. No auto-select accompanies it (T06 — selection is gone):
278
+ // the gating card is amber, carries its decision surface, and the aria
279
+ // announcer + auto-follow + jump-to-latest cover attention. Gated on
280
+ // `isRunning` so terminal-execution history replay (which crosses the
281
+ // boundary for long-decided gates) never refetches.
282
+ const handleApprovalBoundary = useCallback((_crossing) => {
283
+ refetchExecution();
284
+ }, [refetchExecution]);
285
+ useApprovalBoundary(effectiveTaskStates, isRunning, handleApprovalBoundary);
130
286
  const handleOpenComparePicker = useCallback(() => {
131
287
  setShowComparePicker(true);
132
288
  }, []);
@@ -158,40 +314,159 @@ export const WorkflowExecutionViewer = memo(function WorkflowExecutionViewer({ e
158
314
  if (!execution) {
159
315
  return (_jsx("div", { className: cn("flex h-full items-center justify-center text-sm text-muted-foreground", className), children: "Execution not found" }));
160
316
  }
161
- return (_jsxs("div", { className: cn("flex h-full flex-col overflow-hidden", className), children: [_jsx(WorkflowExecutionHeader, { execution: execution, streamState: streamState, costSummary: costSummary, actions: actions, onDiagnose: org ? handleDiagnose : undefined, isDiagnosing: showDiagnosis, onCompare: handleOpenComparePicker, headerActions: headerActions }), _jsx(ExecutionComparisonPicker, { open: showComparePicker, workflowId: execution.spec?.workflowId ?? execution.spec?.workflowInstanceId ?? "", baseExecutionId: executionId, basePhase: phase ?? 0, onConfirm: handleCompareConfirm, onClose: handleCloseComparePicker }), actions.error && (_jsxs("div", { className: "flex items-center gap-2 border-b border-destructive/20 bg-destructive/5 px-4 py-2", children: [_jsx("p", { className: "flex-1 text-xs text-destructive", children: actions.error.message }), _jsx("button", { type: "button", onClick: actions.clearError, className: "shrink-0 rounded border border-destructive/30 px-2 py-1 text-xs text-destructive hover:bg-destructive/10", children: "Dismiss" })] })), compareTargetId ? (_jsx("div", { className: "min-h-0 flex-1 overflow-y-auto p-4", children: _jsx(ExecutionComparisonView, { baseExecutionId: executionId, compareExecutionId: compareTargetId, onBack: handleExitComparison }) })) : (_jsxs(_Fragment, { children: [streamError && (_jsxs("div", { className: "flex items-center gap-2 border-b border-destructive/20 bg-destructive/5 px-4 py-2", children: [_jsx("p", { className: "flex-1 text-xs text-destructive", children: streamError.message }), _jsx("button", { type: "button", onClick: reconnect, className: "shrink-0 rounded border border-destructive/30 px-2 py-1 text-xs text-destructive hover:bg-destructive/10", children: "Reconnect" })] })), _jsxs("div", { className: "flex min-h-0 flex-1 flex-col", children: [_jsx(ResizableSplit, { defaultSize: showDiagnosis ? 440 : 384, minSize: 280, maxSize: 800, storageKey: "stgm-wf-exec-inspector-width", primary: _jsx(WorkflowExecutionGraph, { executionId: executionId, execution: execution, taskStates: effectiveTaskStates, onTaskSelect: setSelectedTaskName, onAutoSelectTask: setSelectedTaskName, followExecution: isRunning, nodesDraggable: nodesDraggable, className: "h-full" }), secondary: _jsx("aside", { className: "flex h-full flex-col overflow-hidden", children: showDiagnosis && org ? (_jsx(WorkflowRepairCard, { executionId: executionId, org: org, onApplyFix: onNavigateToWorkflowEditor ? handleApplyFix : undefined, onClose: handleCloseDiagnosis, className: "h-full" })) : (_jsxs("div", { className: "flex min-h-0 flex-1 flex-col overflow-hidden", children: [_jsx(ExecutionInspector, { selectedTaskName: selectedTaskName, events: events, taskStates: effectiveTaskStates, taskSnapshots: execution?.status?.tasks ?? undefined, onNavigateToAgentExecution: onNavigateToAgentExecution, pendingApprovals: execution?.status?.pendingApprovals, onSubmitApproval: actions.submitApproval, approvalSubmittingToolCallIds: actions.approvalSubmittingToolCallIds, approvalErrorsByToolCallId: actions.approvalErrorsByToolCallId, onSubmitTaskApproval: actions.submitTaskApproval, taskApprovalSubmittingTaskNames: actions.taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName: actions.taskApprovalErrorsByTaskName, className: "min-h-0 flex-1" }), _jsx("div", { className: "border-t border-[var(--stgm-border,#e5e5e5)]", children: _jsx(WorkflowExecutionCostPanel, { costSummary: costSummary }) }), artifacts.length > 0 && (_jsx("div", { className: "border-t border-[var(--stgm-border,#e5e5e5)]", children: _jsx(WorkflowExecutionArtifactPanel, { artifacts: artifacts }) })), additionalActions && (_jsx("div", { className: "border-t border-[var(--stgm-border,#e5e5e5)] px-3 py-2", children: additionalActions }))] })) }) }), _jsx(ExecutionBottomPanel, { events: events, streamState: streamState, executionStartIso: execution.status?.startedAt ?? "", executionDurationMs: executionDurationMs, selectedTaskName: selectedTaskName, onTaskSelect: setSelectedTaskName, onNavigateToAgentExecution: onNavigateToAgentExecution, taskStates: effectiveTaskStates, onSubmitTaskApproval: actions.submitTaskApproval, taskApprovalSubmittingTaskNames: actions.taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName: actions.taskApprovalErrorsByTaskName, pendingApprovals: execution?.status?.pendingApprovals, onSubmitApproval: actions.submitApproval, approvalSubmittingToolCallIds: actions.approvalSubmittingToolCallIds, approvalErrorsByToolCallId: actions.approvalErrorsByToolCallId, pendingFileReviews: execution?.status?.pendingFileReviews, onSubmitFileDecision: actions.submitFileDecision, fileDecisionSubmittingKeys: actions.fileDecisionSubmittingKeys, fileDecisionErrorsByKey: actions.fileDecisionErrorsByKey })] })] }))] }));
317
+ return (_jsxs("div", { className: cn("flex h-full flex-col overflow-hidden", className), children: [_jsx(WorkflowExecutionHeader, { execution: execution, streamState: streamState, costSummary: costSummary, actions: actions,
318
+ // Diagnose opens (or focuses) the singleton diagnosis document tab —
319
+ // the tab itself is the "diagnosis is active" state, so there is no
320
+ // owner-level isDiagnosing boolean to keep in sync (SSOT).
321
+ onDiagnose: org ? panel.openDiagnosis : undefined, onCompare: handleOpenComparePicker, headerActions: _jsxs(_Fragment, { children: [headerActions, _jsx(PanelChip, { isOpen: panel.isOpen, onToggle: panel.isOpen ? panel.closePanel : panel.openPanel, badgeCount: artifacts.length })] }) }), _jsx(ExecutionComparisonPicker, { open: showComparePicker, workflowId: execution.spec?.workflowId ?? execution.spec?.workflowInstanceId ?? "", baseExecutionId: executionId, basePhase: phase ?? 0, onConfirm: handleCompareConfirm, onClose: handleCloseComparePicker }), actions.error && (_jsxs("div", { className: "flex items-center gap-2 border-b border-destructive/20 bg-destructive/5 px-4 py-2", children: [_jsx("p", { className: "flex-1 text-xs text-destructive", children: actions.error.message }), _jsx("button", { type: "button", onClick: actions.clearError, className: "shrink-0 rounded border border-destructive/30 px-2 py-1 text-xs text-destructive hover:bg-destructive/10", children: "Dismiss" })] })), compareTargetId ? (_jsx("div", { className: "min-h-0 flex-1 overflow-y-auto p-4", children: _jsx(ExecutionComparisonView, { baseExecutionId: executionId, compareExecutionId: compareTargetId, onBack: handleExitComparison }) })) : (_jsxs(_Fragment, { children: [streamError && (_jsxs("div", { className: "flex items-center gap-2 border-b border-destructive/20 bg-destructive/5 px-4 py-2", children: [_jsx("p", { className: "flex-1 text-xs text-destructive", children: streamError.message }), _jsx("button", { type: "button", onClick: reconnect, className: "shrink-0 rounded border border-destructive/30 px-2 py-1 text-xs text-destructive hover:bg-destructive/10", children: "Reconnect" })] })), _jsx(ResizableSplit, { resizablePane: "secondary", collapsedPane: panel.isOpen ? "none" : "secondary", defaultSize: 560, minSize: 360, maxSize: 960, storageKey: "stgm-wf-exec-panel-width", ariaLabel: "Resize execution panel", className: "min-h-0 flex-1", primary: _jsxs("div", { className: "flex h-full min-h-0 flex-1 flex-col", children: [_jsx(CenterViewSwitcher, { view: centerView, onChange: handleCenterViewChange }), _jsx("div", { role: "log", "aria-live": "polite", "aria-atomic": "false", className: "sr-only", children: announcement }), _jsx("div", { "data-center-view": "thread", className: cn("min-h-0 flex-1", centerView !== "thread" && "hidden"), children: _jsx(WorkflowTaskThread, { taskStates: effectiveTaskStates, totalTasks: effectiveTotalTasks, isRunning: isRunning, onOpenAgentExecution: panel.openAgentExecution,
322
+ // In-card HITL (S10/T06): all three gate kinds decide on the
323
+ // gating card, backed by the snapshot gate lists (kept fresh
324
+ // by the approval boundary's refetch above).
325
+ hitl: threadHitl, pendingApprovals: execution?.status?.pendingApprovals, pendingFileReviews: execution?.status?.pendingFileReviews,
326
+ // Full per-task I/O for the card bodies (T04) — an O(1)
327
+ // per-card snapshot lookup.
328
+ taskSnapshotsByName: taskSnapshotsByName, className: "h-full" }) }), _jsx("div", { "data-center-view": "graph", className: cn("min-h-0 flex-1", centerView !== "graph" && "hidden"), children: _jsx(WorkflowExecutionGraph, { executionId: executionId, execution: execution, taskStates: effectiveTaskStates,
329
+ // Gated on the graph being visible: camera moves against a
330
+ // display:none (zero-size) viewport are degenerate.
331
+ followExecution: isRunning && centerView === "graph",
332
+ // The viewer owns the one always-visible announcer above; the
333
+ // graph's own would go silent while CSS-hidden in Thread view.
334
+ announceTaskStates: false, nodesDraggable: nodesDraggable, className: "h-full" }) })] }), secondary:
335
+ // Content unmounts while collapsed (matching the session panel
336
+ // region); the editors store lives on the controller, so open tabs
337
+ // survive a collapse/expand cycle.
338
+ panel.isOpen ? (_jsx(ExecutionWorkspacePanel, { panel: panel, executionId: executionId, org: org, artifacts: artifacts, fileChangesState: fileChangesState, costSummary: costSummary, taskStates: effectiveTaskStates, onNavigateToAgentExecution: onNavigateToAgentExecution, onApplyFix: onNavigateToWorkflowEditor ? handleApplyFix : undefined, transcriptHitl: childGateHitl })) : null })] }))] }));
162
339
  });
340
+ // ---------------------------------------------------------------------------
341
+ // Execution workspace panel — WorkspaceSurface + facets (Artifacts/Changes/Usage)
342
+ // ---------------------------------------------------------------------------
343
+ /**
344
+ * The workflow analog of the session viewer's panel region: subscribes to the
345
+ * open-editor group (keeping that subscription out of the streaming owner),
346
+ * assembles the rail facets, and resolves open virtual-document tabs back to
347
+ * their records (artifact tabs → `Artifact`, file-change tabs → the current
348
+ * net `FileChange`, transcript tabs → their child id, the diagnosis tab →
349
+ * `WorkflowRepairCard`).
350
+ */
351
+ function ExecutionWorkspacePanel({ panel, executionId, org, artifacts, fileChangesState, costSummary, taskStates, onNavigateToAgentExecution, onApplyFix, transcriptHitl, }) {
352
+ const { editors, activeFile } = useWorkspaceEditors(panel.editorsStore);
353
+ // The Changes list highlights the row of the open diff tab — only a
354
+ // file-change document's path counts (an artifact tab must not highlight a
355
+ // coincidentally-named change).
356
+ const activeFileChangePath = activeFile?.entryId === FILE_CHANGE_DOCUMENT_ENTRY_ID
357
+ ? activeFile.path
358
+ : null;
359
+ const railViews = useWorkflowExecutionRailViews({
360
+ artifacts,
361
+ onOpenArtifact: panel.openArtifact,
362
+ onActivateArtifact: panel.pinArtifact,
363
+ fileChanges: fileChangesState.fileChanges,
364
+ fileChangesLoading: fileChangesState.isLoading,
365
+ fileChangesRefetching: fileChangesState.isRefetching,
366
+ fileChangesError: fileChangesState.error,
367
+ activeFileChangePath,
368
+ onOpenFileChange: panel.openFileChange,
369
+ costSummary,
370
+ taskStates,
371
+ });
372
+ // Resolve open artifact tabs to their records by the same tab-path identity
373
+ // used to open them (single source of truth). A tab whose artifact vanished
374
+ // (e.g. expired and dropped from a refetch) degrades to an honest notice
375
+ // rather than vanishing.
376
+ const artifactByTabPath = useMemo(() => new Map(artifacts.map((a) => [workflowArtifactTabPath(a), a])), [artifacts]);
377
+ // File-change tabs resolve the same way: tab path → net FileChange. The
378
+ // rollup is re-derived at task boundaries, so an open tab always renders
379
+ // the CURRENT net diff for its path (never a stale copy captured at open
380
+ // time); a path that dropped out of the rollup degrades to a notice.
381
+ const fileChangeByTabPath = useMemo(() => new Map(fileChangesState.fileChanges.map((c) => [fileChangeTabPath(c), c])), [fileChangesState.fileChanges]);
382
+ const virtualDocuments = useMemo(() => editors
383
+ .filter((editor) => editor.entryId === ARTIFACT_DOCUMENT_ENTRY_ID ||
384
+ editor.entryId === FILE_CHANGE_DOCUMENT_ENTRY_ID ||
385
+ editor.entryId === AGENT_EXECUTION_DOCUMENT_ENTRY_ID ||
386
+ editor.entryId === DIAGNOSIS_DOCUMENT_ENTRY_ID)
387
+ .map((editor) => {
388
+ if (editor.entryId === DIAGNOSIS_DOCUMENT_ENTRY_ID) {
389
+ // The singleton AI-diagnosis conversation (opened by the header's
390
+ // Diagnose button via `panel.openDiagnosis`). Keyed by the fixed
391
+ // path so the streaming diagnosis flow survives unrelated editor
392
+ // churn; its close button closes the tab — the tab IS the
393
+ // "diagnosis is active" state.
394
+ return {
395
+ entryId: DIAGNOSIS_DOCUMENT_ENTRY_ID,
396
+ path: editor.path,
397
+ content: (_jsx(WorkflowRepairCard, { executionId: executionId, org: org ?? "", onApplyFix: onApplyFix, onClose: () => panel.closeEditor(DIAGNOSIS_DOCUMENT_ENTRY_ID, DIAGNOSIS_DOCUMENT_PATH) }, editor.path)),
398
+ };
399
+ }
400
+ if (editor.entryId === AGENT_EXECUTION_DOCUMENT_ENTRY_ID) {
401
+ // The tab path CARRIES the child id (no lookup map — unlike the
402
+ // artifact/change families, a transcript needs only its id to
403
+ // fetch/stream itself). The suffix is the AGENT_CALL task name;
404
+ // its live state provides the agent slug for the header.
405
+ const childExecutionId = parseAgentExecutionTabPath(editor.path);
406
+ const taskName = editor.path.slice(childExecutionId.length + 1);
407
+ return {
408
+ entryId: AGENT_EXECUTION_DOCUMENT_ENTRY_ID,
409
+ path: editor.path,
410
+ // Keyed by tab path so the mounted fetch/stream survives
411
+ // unrelated editors churn while this tab stays active.
412
+ content: (_jsx(WorkflowAgentExecutionDocument, { childExecutionId: childExecutionId, taskName: taskName, agentSlug: taskStates.get(taskName)?.agentSlug || undefined, onNavigateToAgentExecution: onNavigateToAgentExecution, hitl: transcriptHitl }, editor.path)),
413
+ };
414
+ }
415
+ if (editor.entryId === FILE_CHANGE_DOCUMENT_ENTRY_ID) {
416
+ const change = fileChangeByTabPath.get(editor.path);
417
+ return {
418
+ entryId: FILE_CHANGE_DOCUMENT_ENTRY_ID,
419
+ path: editor.path,
420
+ content: change ? (_jsx("div", { className: "mx-auto w-full max-w-5xl px-4 py-4", children: _jsx(FileChangeDiff, { change: change }, editor.path) })) : (_jsx(FileChangeUnavailableNotice, {})),
421
+ };
422
+ }
423
+ const artifact = artifactByTabPath.get(editor.path);
424
+ return {
425
+ entryId: ARTIFACT_DOCUMENT_ENTRY_ID,
426
+ path: editor.path,
427
+ content: artifact ? (_jsx(WorkflowArtifactDocument, { artifact: artifact }, editor.path)) : (_jsx(ArtifactUnavailableNotice, {})),
428
+ };
429
+ }), [
430
+ editors,
431
+ artifactByTabPath,
432
+ fileChangeByTabPath,
433
+ taskStates,
434
+ onNavigateToAgentExecution,
435
+ transcriptHitl,
436
+ executionId,
437
+ org,
438
+ onApplyFix,
439
+ panel.closeEditor,
440
+ ]);
441
+ return (_jsx(WorkspaceSurface, { entries: [], lister: undefined, reader: undefined,
442
+ // Facet-only rail until a workspace-source slice wires a lister —
443
+ // inert Explorer/Search icons would be dishonest chrome here.
444
+ builtInViews: [], view: panel.view, onViewChange: panel.setView, extraViews: railViews, virtualDocuments: virtualDocuments, editors: editors, selectedFile: activeFile, onOpenFile: panel.openFile, onActivateEditor: panel.activateEditor, onPinEditor: panel.pinEditor, onCloseEditor: panel.closeEditor, onCollapse: panel.closePanel, className: "h-full" }));
445
+ }
446
+ function FileChangeUnavailableNotice() {
447
+ return (_jsxs("div", { role: "status", className: "mx-auto flex w-full max-w-3xl flex-col items-center gap-1 px-4 py-8 text-center", children: [_jsx("p", { className: "text-xs font-medium text-foreground", children: "This file change is no longer available." }), _jsx("p", { className: "text-xs text-muted-foreground", children: "The rollup was refreshed and this file no longer appears among the execution's changes." })] }));
448
+ }
449
+ function ArtifactUnavailableNotice() {
450
+ return (_jsxs("div", { role: "status", className: "mx-auto flex w-full max-w-3xl flex-col items-center gap-1 px-4 py-8 text-center", children: [_jsx("p", { className: "text-xs font-medium text-foreground", children: "This artifact is no longer available." }), _jsx("p", { className: "text-xs text-muted-foreground", children: "It may have expired or been removed from storage." })] }));
451
+ }
163
452
  function LoadingSkeleton() {
164
453
  return (_jsxs("div", { className: "flex w-full flex-col gap-3 p-6", children: [_jsx("div", { className: "h-4 w-48 animate-pulse rounded bg-muted" }), _jsx("div", { className: "h-3 w-32 animate-pulse rounded bg-muted" }), _jsx("div", { className: "mt-4 space-y-2", children: Array.from({ length: 5 }, (_, i) => (_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "size-3 animate-pulse rounded-full bg-muted" }), _jsx("div", { className: "h-3 flex-1 animate-pulse rounded bg-muted" })] }, i))) })] }));
165
454
  }
166
- function ExecutionBottomPanel({ events, streamState, executionStartIso, executionDurationMs, selectedTaskName, onTaskSelect, onNavigateToAgentExecution, taskStates, onSubmitTaskApproval, taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName, pendingApprovals, onSubmitApproval, approvalSubmittingToolCallIds, approvalErrorsByToolCallId, pendingFileReviews, onSubmitFileDecision, fileDecisionSubmittingKeys, fileDecisionErrorsByKey, }) {
167
- const [collapsed, setCollapsed] = useState(false);
168
- const [activeTab, setActiveTab] = useState("waterfall");
169
- const prevHitlCountRef = useRef(0);
170
- const approvalCount = pendingApprovals?.length ?? 0;
171
- const fileReviewCount = pendingFileReviews?.length ?? 0;
172
- // Both HITL kinds (tool approvals + file reviews) share the one "Approvals" tab.
173
- const hitlCount = approvalCount + fileReviewCount;
174
- const hasHitl = hitlCount > 0;
175
- // Auto-switch to the Approvals tab when a new HITL gate (approval or file
176
- // review) arrives; leave it when everything is resolved.
177
- useEffect(() => {
178
- if (hitlCount > prevHitlCountRef.current && hitlCount > 0) {
179
- setActiveTab("approvals");
180
- setCollapsed(false);
181
- }
182
- if (hitlCount === 0 && activeTab === "approvals") {
183
- setActiveTab("waterfall");
184
- }
185
- prevHitlCountRef.current = hitlCount;
186
- }, [hitlCount, activeTab]);
187
- return (_jsxs("div", { className: "border-t border-[var(--stgm-border,#e5e5e5)]", children: [_jsxs("div", { className: "flex items-center gap-0 border-b border-[var(--stgm-border,#e5e5e5)]", children: [_jsx("button", { type: "button", onClick: () => setCollapsed(!collapsed), className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-[var(--stgm-muted-foreground,#737373)] hover:bg-[var(--stgm-muted,#f5f5f5)]", "aria-label": collapsed ? "Expand bottom panel" : "Collapse bottom panel", children: _jsx("svg", { width: "10", height: "10", viewBox: "0 0 10 10", className: cn("transition-transform", !collapsed && "rotate-180"), "aria-hidden": "true", children: _jsx("path", { d: "M2 4L5 7L8 4", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }), _jsx(TabButton, { label: "Waterfall", isActive: activeTab === "waterfall", onClick: () => { setActiveTab("waterfall"); setCollapsed(false); } }), _jsx(TabButton, { label: `Events (${events.length})`, isActive: activeTab === "events", onClick: () => { setActiveTab("events"); setCollapsed(false); } }), hasHitl && (_jsx(TabButton, { label: `Approvals (${hitlCount})`, isActive: activeTab === "approvals", onClick: () => { setActiveTab("approvals"); setCollapsed(false); } }))] }), !collapsed && (_jsxs("div", { className: "h-52", children: [activeTab === "waterfall" && (_jsx(WaterfallTimeline, { events: events, streamState: streamState, executionStartIso: executionStartIso, executionDurationMs: executionDurationMs, selectedTaskName: selectedTaskName, onTaskSelect: onTaskSelect, className: "h-full" })), activeTab === "events" && (_jsx(WorkflowExecutionTimeline, { events: events, streamState: streamState, onNavigateToAgentExecution: onNavigateToAgentExecution, taskStates: taskStates, onSubmitTaskApproval: onSubmitTaskApproval, taskApprovalSubmittingTaskNames: taskApprovalSubmittingTaskNames, taskApprovalErrorsByTaskName: taskApprovalErrorsByTaskName, className: "h-full" })), activeTab === "approvals" && (_jsx("div", { className: "h-full overflow-y-auto px-4 py-3", children: _jsxs("div", { className: "space-y-3", children: [pendingApprovals && onSubmitApproval && pendingApprovals.map((pa) => {
188
- const toolCallId = pa.approval?.toolCallId ?? "";
189
- return (_jsx(WorkflowExecutionApprovalCard, { prompt: pa.approval?.message || `Tool "${pa.approval?.toolName}" requires approval`, toolCallId: toolCallId, approvers: [], timeoutSeconds: 0, onSubmitApproval: onSubmitApproval, isSubmitting: approvalSubmittingToolCallIds.has(toolCallId), error: approvalErrorsByToolCallId.get(toolCallId) ?? null }, toolCallId || pa.childAgentExecutionId));
190
- }), pendingFileReviews && pendingFileReviews.length > 0 && (_jsx(WorkflowFileReviewList, { pendingFileReviews: pendingFileReviews, onSubmitFileDecision: onSubmitFileDecision, submittingDecisionKeys: fileDecisionSubmittingKeys, decisionErrors: fileDecisionErrorsByKey, onNavigateToAgentExecution: onNavigateToAgentExecution }))] }) }))] }))] }));
455
+ // ---------------------------------------------------------------------------
456
+ // Center-column view switcher (S9: Thread | Graph — thread-primary order)
457
+ // ---------------------------------------------------------------------------
458
+ /**
459
+ * Slim segmented control above the center column. A radiogroup (the two
460
+ * views are mutually exclusive), matching the facet rail's radio semantics.
461
+ * Thread leads: it is the primary view (T02 pivot); the DAG is the
462
+ * secondary, topology-oriented lens.
463
+ */
464
+ function CenterViewSwitcher({ view, onChange, }) {
465
+ return (_jsxs("div", { role: "radiogroup", "aria-label": "Center view", className: "flex items-center gap-0.5 border-b border-[var(--stgm-border,#e5e5e5)] px-2 py-1", children: [_jsx(CenterViewButton, { label: "Thread", isActive: view === "thread", onClick: () => onChange("thread") }), _jsx(CenterViewButton, { label: "Graph", isActive: view === "graph", onClick: () => onChange("graph") })] }));
191
466
  }
192
- function TabButton({ label, isActive, onClick, }) {
193
- return (_jsx("button", { type: "button", onClick: onClick, className: cn("px-3 py-1.5 text-xs font-medium transition-colors", isActive
194
- ? "border-b-2 border-[var(--stgm-primary,#3b82f6)] text-[var(--stgm-foreground,#171717)]"
467
+ function CenterViewButton({ label, isActive, onClick, }) {
468
+ return (_jsx("button", { type: "button", role: "radio", "aria-checked": isActive, onClick: onClick, className: cn("rounded px-2 py-0.5 text-xs font-medium transition-colors", isActive
469
+ ? "bg-[var(--stgm-muted,#f5f5f5)] text-[var(--stgm-foreground,#171717)]"
195
470
  : "text-[var(--stgm-muted-foreground,#737373)] hover:text-[var(--stgm-foreground,#171717)]"), children: label }));
196
471
  }
197
472
  //# sourceMappingURL=WorkflowExecutionViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowExecutionViewer.js","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionViewer.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;A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,sBAAsB,EAAE,0BAA0B,EAClD,cAAc,EAAE,uBAAuB,EACvC,0BAA0B,EAAE,0BAA0B,GACtD,CACH,IACG,GACF,CACP,IACG,CACP,IACG,CACP,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,EACjB,KAAK,EACL,QAAQ,EACR,OAAO,GAKR;IACC,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,EAAE,CACX,mDAAmD,EACnD,QAAQ;YACN,CAAC,CAAC,uFAAuF;YACzF,CAAC,CAAC,yFAAyF,CAC9F,YAEA,KAAK,GACC,CACV,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"WorkflowExecutionViewer.js","sourceRoot":"","sources":["../../src/workflow/WorkflowExecutionViewer.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAChG,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iEAAiE,CAAC;AAErH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EACL,+BAA+B,GAEhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BA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AAS,EAAC,2CAA2C,GAAG,KAFrD,CAAC,CAGL,CACP,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC;AAID,8EAA8E;AAC9E,0EAA0E;AAC1E,8EAA8E;AAE9E;;;;;GAKG;AACH,SAAS,kBAAkB,CAAC,EAC1B,IAAI,EACJ,QAAQ,GAIT;IACC,OAAO,CACL,eACE,IAAI,EAAC,YAAY,gBACN,aAAa,EACxB,SAAS,EAAC,kFAAkF,aAE5F,KAAC,gBAAgB,IACf,KAAK,EAAC,QAAQ,EACd,QAAQ,EAAE,IAAI,KAAK,QAAQ,EAC3B,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,GACjC,EACF,KAAC,gBAAgB,IACf,KAAK,EAAC,OAAO,EACb,QAAQ,EAAE,IAAI,KAAK,OAAO,EAC1B,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,GAChC,IACE,CACP,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,OAAO,GAKR;IACC,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,OAAO,kBACE,QAAQ,EACtB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,EAAE,CACX,2DAA2D,EAC3D,QAAQ;YACN,CAAC,CAAC,sEAAsE;YACxE,CAAC,CAAC,yFAAyF,CAC9F,YAEA,KAAK,GACC,CACV,CAAC;AACJ,CAAC"}
@@ -40,7 +40,7 @@ export interface WorkflowFileReviewListProps {
40
40
  * A decision is forwarded to the child via `WorkflowExecution.submitFileDecision`.
41
41
  *
42
42
  * This is the file-review sibling of the workflow tool-approval surface
43
- * (`WorkflowExecutionApprovalCard`). Empty `pendingFileReviews` renders nothing.
43
+ * (`WorkflowApprovalList`). Empty `pendingFileReviews` renders nothing.
44
44
  */
45
45
  export declare function WorkflowFileReviewList({ pendingFileReviews, onSubmitFileDecision, submittingDecisionKeys, decisionErrors, onNavigateToAgentExecution, className, }: WorkflowFileReviewListProps): React.ReactElement | null;
46
46
  //# sourceMappingURL=WorkflowFileReviewList.d.ts.map
@@ -17,7 +17,7 @@ import { useExecutionStream } from "../execution/useExecutionStream.js";
17
17
  * A decision is forwarded to the child via `WorkflowExecution.submitFileDecision`.
18
18
  *
19
19
  * This is the file-review sibling of the workflow tool-approval surface
20
- * (`WorkflowExecutionApprovalCard`). Empty `pendingFileReviews` renders nothing.
20
+ * (`WorkflowApprovalList`). Empty `pendingFileReviews` renders nothing.
21
21
  */
22
22
  export function WorkflowFileReviewList({ pendingFileReviews, onSubmitFileDecision, submittingDecisionKeys, decisionErrors, onNavigateToAgentExecution, className, }) {
23
23
  if (pendingFileReviews.length === 0)
@@ -60,9 +60,10 @@ export interface WorkflowTaskApprovalCardProps {
60
60
  * Designed for inline rendering in the execution timeline when a
61
61
  * human_input task is in `waiting_approval` state.
62
62
  *
63
- * Distinct from `WorkflowExecutionApprovalCard` (which handles agent
64
- * tool approvals with `toolCallId` + `ApprovalAction`). This component
65
- * uses `taskName` + `outcome` string + optional `formData`.
63
+ * Distinct from `WorkflowApprovalList` (which handles agent tool
64
+ * approvals with `toolCallId` + `ApprovalAction` via the shared
65
+ * `ApprovalCard`). This component uses `taskName` + `outcome` string +
66
+ * optional `formData`.
66
67
  *
67
68
  * Follows SDK component standards:
68
69
  * - All colors via `--stgm-*` tokens (DD-005)
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowTaskApprovalCard.d.ts","sourceRoot":"","sources":["../../src/workflow/WorkflowTaskApprovalCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAQhE,2CAA2C;AAC3C,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC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AAwD;IACxD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9C;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,OAAO,CAAC,EAAE,MAAM,KACb,OAAO,CAAC,OAAO,CAAC,CAAC;IACtB,0DAA0D;IAC1D,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC9B,yDAAyD;IACzD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,wBAAwB,qEA+JnC,CAAC"}
@@ -7,7 +7,7 @@ import { MARKDOWN_COMPONENTS, REMARK_PLUGINS } from "../internal/markdown-compon
7
7
  import { DecisionButton } from "../internal/DecisionButton.js";
8
8
  import { InCardDecisionError } from "../internal/InCardDecisionError.js";
9
9
  import { formatJson } from "../execution/tool-rendering-primitives.js";
10
- import { StructuredDataViewer } from "./execution-inspector/StructuredDataViewer.js";
10
+ import { StructuredDataViewer } from "./task-detail/StructuredDataViewer.js";
11
11
  const DEFAULT_OUTCOMES = [
12
12
  { name: "approve", label: "Approve" },
13
13
  { name: "reject", label: "Reject" },
@@ -20,9 +20,10 @@ const DEFAULT_OUTCOMES = [
20
20
  * Designed for inline rendering in the execution timeline when a
21
21
  * human_input task is in `waiting_approval` state.
22
22
  *
23
- * Distinct from `WorkflowExecutionApprovalCard` (which handles agent
24
- * tool approvals with `toolCallId` + `ApprovalAction`). This component
25
- * uses `taskName` + `outcome` string + optional `formData`.
23
+ * Distinct from `WorkflowApprovalList` (which handles agent tool
24
+ * approvals with `toolCallId` + `ApprovalAction` via the shared
25
+ * `ApprovalCard`). This component uses `taskName` + `outcome` string +
26
+ * optional `formData`.
26
27
  *
27
28
  * Follows SDK component standards:
28
29
  * - All colors via `--stgm-*` tokens (DD-005)