@vellumai/web 0.12.0-dev.202609112214.59bf6a0 → 0.12.0-dev.202609120042.5a89c34

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 (453) hide show
  1. package/dist/THIRD-PARTY-LICENSES.md +486 -0
  2. package/dist/assets/a2a-invite-Cy0oxBqE.js +1 -0
  3. package/dist/assets/about-page-Dxt1MWeo.js +1 -0
  4. package/dist/assets/account-page-C54TCFdJ.js +1 -0
  5. package/dist/assets/account-shell-q9B3nRLA.js +1 -0
  6. package/dist/assets/acp-run-detail-panel-BVXcfFvn.js +3 -0
  7. package/dist/assets/activation-list-route--x3gsphK.js +1 -0
  8. package/dist/assets/activity-redirect-page-mBwLw_o2.js +1 -0
  9. package/dist/assets/activity-steps-panel-N0imB1HP.js +1 -0
  10. package/dist/assets/add-credits-modal-CHzb7VIm.js +1 -0
  11. package/dist/assets/add-credits-modal-cKs0SKCV.js +1 -0
  12. package/dist/assets/ai-page-r81BiUfh.js +1 -0
  13. package/dist/assets/android-billing-handoff-ByE54gP3.js +1 -0
  14. package/dist/assets/api-key-screen-CS755paW.js +1 -0
  15. package/dist/assets/app-BITOqoMA.js +379 -0
  16. package/dist/assets/app-info-Ye5PrLP2.js +1 -0
  17. package/dist/assets/app-l3xu6PIW.css +2 -0
  18. package/dist/assets/archive-redirect-page-H3K6Y8GB.js +1 -0
  19. package/dist/assets/assistant-status-panel-DfvgwF6q.js +1 -0
  20. package/dist/assets/auth-store-nBYYew50.js +1 -0
  21. package/dist/assets/auth-welcome-screen-COaISsLd.js +1 -0
  22. package/dist/assets/avatar-bundled-components-DzMmtkGM.js +1 -0
  23. package/dist/assets/avatar-random-nSZ3gssm.js +2 -0
  24. package/dist/assets/await-org-header-settled-BkNGKJtP.js +1 -0
  25. package/dist/assets/background-task-detail-panel-axqr9FjD.js +1 -0
  26. package/dist/assets/billing-page-DpMCQoYV.js +3 -0
  27. package/dist/assets/billing-redirect-page-pecmg_IG.js +1 -0
  28. package/dist/assets/bookmarks-page-BWLYbk6a.js +1 -0
  29. package/dist/assets/bundle-confirm-page-Bp7dEQaI.js +1 -0
  30. package/dist/assets/channel-transcript-panel-3etrb3Ok.js +1 -0
  31. package/dist/assets/channels-page-route-CRPALG_5.js +1 -0
  32. package/dist/assets/chat-BM0MYbxW.js +3 -0
  33. package/dist/assets/chat-BdRI8YvG.js +3 -0
  34. package/dist/assets/chat-C-29Plvh.js +3 -0
  35. package/dist/assets/chat-C4WZJ5Rg.js +3 -0
  36. package/dist/assets/chat-info-panel-UASrJOxB.js +1 -0
  37. package/dist/assets/checkout-continuation-Dw9vlwg5.js +1 -0
  38. package/dist/assets/checkout-page-CgzF4aQD.js +1 -0
  39. package/dist/assets/checkout-return-target-Cb7Ze-Od.js +1 -0
  40. package/dist/assets/command-palette-BrRmxgfZ.js +1 -0
  41. package/dist/assets/command-palette-Dpd887r5.js +1 -0
  42. package/dist/assets/command-palette-window-page-DSb8Kf65.js +1 -0
  43. package/dist/assets/community-page-BXG0tn5S.js +1 -0
  44. package/dist/assets/companion-accent-UrPGMFv9.js +1 -0
  45. package/dist/assets/companion-dock-zones-page-CbaFDxhK.js +1 -0
  46. package/dist/assets/companion-layout-B5TgFSiB.js +1 -0
  47. package/dist/assets/companion-surface-page-CzMCdmWG.js +1 -0
  48. package/dist/assets/companion-watch-frame-page-BIM-YLJ-.js +1 -0
  49. package/dist/assets/connect-page-B2iNQ8eV.js +1 -0
  50. package/dist/assets/consent-controls-CM87ngFK.js +1 -0
  51. package/dist/assets/contacts-gateway-IuysUSVr.js +1 -0
  52. package/dist/assets/contacts-page-route-CCi656Rb.js +1 -0
  53. package/dist/assets/credential-entry-page-B2Vy-M7L.js +1 -0
  54. package/dist/assets/credentials-page-BJC0P3ci.js +1 -0
  55. package/dist/assets/{csv-preview-CuhaCB0C.js → csv-preview--msGOae0.js} +2 -2
  56. package/dist/assets/danger-zone-redirect-page-CdKMo1cY.js +1 -0
  57. package/dist/assets/debug-page-BGgWpNO6.js +4 -0
  58. package/dist/assets/deploy-dialogs-CTkpxfCg.js +1 -0
  59. package/dist/assets/deploy-dialogs-y_saynig.js +1 -0
  60. package/dist/assets/desktop-panel-DVA_la8D.js +2 -0
  61. package/dist/assets/desktop-viewer-BcQglHVQ.js +5 -0
  62. package/dist/assets/detail-card-B53TlqDc.js +1 -0
  63. package/dist/assets/detail-panel-stop-button-_e3vdX7u.js +1 -0
  64. package/dist/assets/detail-primitives-BwHY9P5i.js +1 -0
  65. package/dist/assets/developer-page-CTQDr5n_.js +1 -0
  66. package/dist/assets/devices-redirect-page-CvYBieii.js +1 -0
  67. package/dist/assets/dictation-overlay-page-CXEdk5ix.js +1 -0
  68. package/dist/assets/{diff-rows-RRbXF7yo.js → diff-rows-3sP9oR1n.js} +1 -1
  69. package/dist/assets/document-viewer-page-CuuYlmLi.js +1 -0
  70. package/dist/assets/{ellipsis-vertical-DqnIbNNJ.js → ellipsis-vertical-B6wLKZyo.js} +1 -1
  71. package/dist/assets/emails-page-CyJsKlVl.js +1 -0
  72. package/dist/assets/environment-store-odAKlMG1.js +1 -0
  73. package/dist/assets/{esm-DQStKNi6.js → esm-BRcjfEeB.js} +2 -2
  74. package/dist/assets/esm-BwJ7i-ZM.js +2 -0
  75. package/dist/assets/esm-C-J0RIg_.js +2 -0
  76. package/dist/assets/esm-C2FWZmJI.js +1 -0
  77. package/dist/assets/{esm-D0BVuyDj.js → esm-CAWj9bC0.js} +1 -1
  78. package/dist/assets/esm-CRpBUvYC.js +1 -0
  79. package/dist/assets/esm-D9RsYlTA.js +2 -0
  80. package/dist/assets/esm-DDU0AaWs.js +2 -0
  81. package/dist/assets/{esm-DzjpwOes.js → esm-DFLe6tRM.js} +1 -1
  82. package/dist/assets/esm-DOHCbDK5.js +2 -0
  83. package/dist/assets/{file-diff-view-BAZsBXke.js → file-diff-view-CmFtjhBA.js} +1 -1
  84. package/dist/assets/file-editor-Dfkf1XQB.js +1 -0
  85. package/dist/assets/general-page-NDeFbgaZ.js +2 -0
  86. package/dist/assets/hatching-screen-DhBHzPMc.js +1 -0
  87. package/dist/assets/hosting-screen-DVj20Kqw.js +1 -0
  88. package/dist/assets/{icons-BjnVKAw1.js → icons-bnwMda87.js} +1 -1
  89. package/dist/assets/identity-page-route-BIzTLeR9.js +7 -0
  90. package/dist/assets/inspect-page-BZJjcB0l.js +9 -0
  91. package/dist/assets/integrations-page-gpEJZ8Fn.js +1 -0
  92. package/dist/assets/intelligence-layout-CL1Xrw5o.js +1 -0
  93. package/dist/assets/intelligence-layout-slots-store-CFi7G1ed.js +1 -0
  94. package/dist/assets/keyboard-shortcuts-redirect-page-BQABy1XG.js +1 -0
  95. package/dist/assets/{latest-assistant-text-GKiKo0WF.js → latest-assistant-text-ATZLzwHN.js} +3 -3
  96. package/dist/assets/library-detail-page-HvugpZC1.js +1 -0
  97. package/dist/assets/library-page-_fbwKA5u.js +1 -0
  98. package/dist/assets/local-mode-DnWQJT_I.js +1 -0
  99. package/dist/assets/login-page-CvA5StAX.js +1 -0
  100. package/dist/assets/logout-page-CfCK4zpa.js +1 -0
  101. package/dist/assets/logs-layout-Cd_9jJvd.js +1 -0
  102. package/dist/assets/markdown-preview-a0K5vWzX.js +1 -0
  103. package/dist/assets/media-preview-SBXrf-G7.js +1 -0
  104. package/dist/assets/memory-page-route-CJidsHpm.js +2 -0
  105. package/dist/assets/memory-router-playground-page-Cyqykg4s.js +1 -0
  106. package/dist/assets/message-files-panel-D4h7fbmt.js +1 -0
  107. package/dist/assets/metric-card-CZEIaxTH.js +1 -0
  108. package/dist/assets/native-attachment-pickers-T5Aq4eRG.js +1 -0
  109. package/dist/assets/native-file-Be21vlJZ.js +1 -0
  110. package/dist/assets/notifications-page-Cz2E-1sD.js +1 -0
  111. package/dist/assets/{oauth-complete-page-B3_gFYtr.js → oauth-complete-page-CNPV1jfz.js} +2 -2
  112. package/dist/assets/{oauth-popup-complete-page-trXJEnNE.js → oauth-popup-complete-page-C1wzdRUz.js} +2 -2
  113. package/dist/assets/paired-platform-identity-CDKv3iq0.js +1 -0
  114. package/dist/assets/pairing-page-JyWoa4EF.js +1 -0
  115. package/dist/assets/password-reset-page-CdPwiEfM.js +1 -0
  116. package/dist/assets/{pdf-CfdA37P3.js → pdf-9yOYJn-K.js} +1 -1
  117. package/dist/assets/pdf-file-preview-BISZHTeA.js +1 -0
  118. package/dist/assets/{peeking-eyes-UBLOlKy3.js → peeking-eyes-DUFHWHwl.js} +1 -1
  119. package/dist/assets/personality-page-CBcJPglj.js +1 -0
  120. package/dist/assets/personality-page-CCs1ILXP.js +1 -0
  121. package/dist/assets/personality-sliders-BMEuo6bK.js +1 -0
  122. package/dist/assets/plans-page-CNy8zvqF.js +1 -0
  123. package/dist/assets/platform-loopback-page-DjBNIqpp.js +1 -0
  124. package/dist/assets/plugin-detail-page-2HJN4RCd.js +1 -0
  125. package/dist/assets/plugins-page-COpe-0j4.js +1 -0
  126. package/dist/assets/plugins-surface-y8jTAK0O.js +1 -0
  127. package/dist/assets/preview-error-BLYLVxuS.js +1 -0
  128. package/dist/assets/privacy-page-7WM7QuiL.js +1 -0
  129. package/dist/assets/privacy-screen-CMwJiZji.js +1 -0
  130. package/dist/assets/provider-callback-page-DCzbAn3J.js +1 -0
  131. package/dist/assets/provider-key-CBi90xy2.js +1 -0
  132. package/dist/assets/provider-signup-page-7th-oqFA.js +1 -0
  133. package/dist/assets/{provisioning-targets-DLikYE74.js → provisioning-targets-DHzysod6.js} +1 -1
  134. package/dist/assets/quick-input-page-CbFkuW3N.js +1 -0
  135. package/dist/assets/{rehype-katex-DtPKIVuN.js → rehype-katex-DODpmTKy.js} +1 -1
  136. package/dist/assets/research-mock-page-BUOt-TeK.js +1 -0
  137. package/dist/assets/research-onboarding-route-COyJ66Ht.js +50 -0
  138. package/dist/assets/review-terms-screen-5X9fVPo3.js +1 -0
  139. package/dist/assets/routes-D6Qd4SLI.js +1 -0
  140. package/dist/assets/schedules-page-jWL8dI7U.js +1 -0
  141. package/dist/assets/schedules-s_s5pH-g.js +1 -0
  142. package/dist/assets/security-redirect-page-CskblbeO.js +1 -0
  143. package/dist/assets/select-assistant-screen-50_vZsm1.js +1 -0
  144. package/dist/assets/self-hosted-servers-cLzOU3zf.js +1 -0
  145. package/dist/assets/service-form-controls-Pw9ETX63.js +1 -0
  146. package/dist/assets/setting-row-CzoFYJis.js +1 -0
  147. package/dist/assets/settings-divider-bwxT_OS3.js +1 -0
  148. package/dist/assets/settings-layout-BZvrJVcP.js +1 -0
  149. package/dist/assets/share-feedback-modal-BaeIbGBk.js +2 -0
  150. package/dist/assets/share-feedback-modal-C8JAjxnu.js +1 -0
  151. package/dist/assets/sidebar-tree-CiRDEhpi.js +1 -0
  152. package/dist/assets/signup-page-BtlGj7ha.js +1 -0
  153. package/dist/assets/signup-shell-vTUCq3AK.js +1 -0
  154. package/dist/assets/skill-detail-page-C6davFfC.js +2 -0
  155. package/dist/assets/skill-detail-panel-CPqsh_Rm.js +1 -0
  156. package/dist/assets/{skill-icon-BLxuCDE4.js → skill-icon-BcDAF5LL.js} +1 -1
  157. package/dist/assets/skill-removal-dialog-DLLK7woD.js +1 -0
  158. package/dist/assets/skills-page-Bfd-jIuK.js +1 -0
  159. package/dist/assets/sounds-page-aLZML7Z_.js +1 -0
  160. package/dist/assets/start-screen-Ax7mYwEK.js +1 -0
  161. package/dist/assets/{status-badge-pill-21nqPpM6.js → status-badge-pill-rM0ANoC5.js} +1 -1
  162. package/dist/assets/stt-language-picker-modal-sm7jthvt.js +1 -0
  163. package/dist/assets/subagent-detail-panel-DYo9uzPL.js +1 -0
  164. package/dist/assets/superpowers-page-BxHBgvvs.js +1 -0
  165. package/dist/assets/system-events-page-CPthIzYn.js +1 -0
  166. package/dist/assets/system-events-redirect-page-Cxewl7hT.js +1 -0
  167. package/dist/assets/text-preview-Bm3rmz2j.js +1 -0
  168. package/dist/assets/theme-stage-page-DUp78AbV.js +1 -0
  169. package/dist/assets/{tiptap-document-editor-BIz-tY1I.js → tiptap-document-editor-CS_9oCVn.js} +3 -3
  170. package/dist/assets/tool-detail-panel-DbwrDvHw.js +1 -0
  171. package/dist/assets/tool-detail-panel-YsS7uZ-l.js +15 -0
  172. package/dist/assets/trait-cycle-row-C5ytE5T0.js +1 -0
  173. package/dist/assets/upgrade-cancel-page-CqlkXiQy.js +1 -0
  174. package/dist/assets/upgrade-success-page-7HK8Zb9z.js +1 -0
  175. package/dist/assets/usage-redirect-page-6HZYCgpu.js +1 -0
  176. package/dist/assets/use-app-delete-BOCT10qP.js +1 -0
  177. package/dist/assets/use-assistant-identity-details-B_R9QbMQ.js +1 -0
  178. package/dist/assets/use-checkout-dismiss-refresh-C-CERRZ7.js +1 -0
  179. package/dist/assets/use-edge-swipe-back-C9ACmA5s.js +1 -0
  180. package/dist/assets/use-hotkey-recorder-BIK-arCX.js +1 -0
  181. package/dist/assets/use-invite-link-dialog-L9m46zM3.js +1 -0
  182. package/dist/assets/use-platform-assistant-id-DH57zx2q.js +1 -0
  183. package/dist/assets/use-return-to-short-circuit-BSQshTDU.js +1 -0
  184. package/dist/assets/use-side-list-room-B9dNhIvX.js +1 -0
  185. package/dist/assets/use-skill-actions-BBqHw_rc.js +1 -0
  186. package/dist/assets/use-skill-detail-files-5lliW-aA.js +1 -0
  187. package/dist/assets/use-supports-credentials-settings-DyE6LqX8.js +1 -0
  188. package/dist/assets/use-transcript-message-by-id-DeUrZnXv.js +1 -0
  189. package/dist/assets/{use-truncated-blob-text-DOEh7RiN.js → use-truncated-blob-text-0sHDgeEy.js} +1 -1
  190. package/dist/assets/vendor-DrQwXGxY.js +127 -0
  191. package/dist/assets/voice-page-6ddeUJHn.js +1 -0
  192. package/dist/assets/wake-detail-panel-VpY52t6L.js +1 -0
  193. package/dist/assets/weather-forecast-display-B7yPlgnF.js +1 -0
  194. package/dist/assets/{web-deJ_Ls-Z.js → web-6Gcr41E6.js} +1 -1
  195. package/dist/assets/{web-HO7yD6nP.js → web-BLbQiMgK.js} +1 -1
  196. package/dist/assets/{web-BXtZ39Sy.js → web-BQrk2fF0.js} +1 -1
  197. package/dist/assets/{web-D51aJOYR.js → web-BcGZQRuJ.js} +1 -1
  198. package/dist/assets/{web-wzbty3rF.js → web-Bd4yoqt5.js} +1 -1
  199. package/dist/assets/{web-DjJGnWsX.js → web-Be8rQuir.js} +1 -1
  200. package/dist/assets/{web-CKqFV5eI.js → web-BtllbeZB.js} +1 -1
  201. package/dist/assets/{web-BRdPi62Z.js → web-Cd-wMdYm.js} +1 -1
  202. package/dist/assets/{web-C215Osea.js → web-RsSx9Kz5.js} +1 -1
  203. package/dist/assets/welcome-screen-CrYLyIsl.js +1 -0
  204. package/dist/assets/workflow-detail-panel-f5JSc8d5.js +1 -0
  205. package/dist/assets/workspace-page-DccdxqTz.js +1 -0
  206. package/dist/index.html +6 -6
  207. package/package.json +1 -1
  208. package/dist/assets/a2a-invite-CR28Wmjz.js +0 -1
  209. package/dist/assets/about-page-BH_Orde8.js +0 -1
  210. package/dist/assets/account-page-BpeU1zog.js +0 -1
  211. package/dist/assets/account-shell-CU9V10mM.js +0 -1
  212. package/dist/assets/acp-run-detail-panel-C2BuCgbX.js +0 -3
  213. package/dist/assets/activation-list-route-D7r8wBFn.js +0 -1
  214. package/dist/assets/activity-redirect-page-CWSB0G4o.js +0 -1
  215. package/dist/assets/activity-steps-panel-B08_0C2K.js +0 -1
  216. package/dist/assets/add-credits-modal-BZL4pW0O.js +0 -1
  217. package/dist/assets/ai-page-BIdTDzVL.js +0 -1
  218. package/dist/assets/android-billing-handoff-BG1fOSZ-.js +0 -1
  219. package/dist/assets/api-key-screen-VaavZF_r.js +0 -1
  220. package/dist/assets/app-info-DRiQkUAa.js +0 -1
  221. package/dist/assets/archive-redirect-page-BN4oUguF.js +0 -1
  222. package/dist/assets/assistant-status-panel-CPze5ESp.js +0 -1
  223. package/dist/assets/auth-welcome-screen-D3Q752Nt.js +0 -1
  224. package/dist/assets/avatar-random-CPLbf0q2.js +0 -2
  225. package/dist/assets/await-org-header-settled-C4iHhmy7.js +0 -1
  226. package/dist/assets/background-task-detail-panel-BoVij0GE.js +0 -1
  227. package/dist/assets/billing-page-mXfEaQHL.js +0 -3
  228. package/dist/assets/billing-redirect-page-Ba7riHez.js +0 -1
  229. package/dist/assets/bookmarks-page-8OCd5P4t.js +0 -1
  230. package/dist/assets/bundle-confirm-page-DuZjsrXu.js +0 -1
  231. package/dist/assets/channel-transcript-panel-CNCRcCft.js +0 -1
  232. package/dist/assets/channels-page-route-BCFSqUKb.js +0 -1
  233. package/dist/assets/chat-BNnjEisJ.js +0 -3
  234. package/dist/assets/chat-CSMdWevz.js +0 -3
  235. package/dist/assets/chat-DntAXdZP.js +0 -3
  236. package/dist/assets/chat-VVy5AlED.js +0 -3
  237. package/dist/assets/chat-info-panel-BZcD3n5r.js +0 -1
  238. package/dist/assets/checkout-continuation-DkesKPQv.js +0 -1
  239. package/dist/assets/checkout-page-CochT3NE.js +0 -1
  240. package/dist/assets/checkout-return-target-BenJxDv4.js +0 -1
  241. package/dist/assets/command-palette-C8Ip5WFi.js +0 -1
  242. package/dist/assets/command-palette-window-page-D4YFXFeE.js +0 -1
  243. package/dist/assets/community-page-BMVLOHkP.js +0 -1
  244. package/dist/assets/companion-accent-DT0gLBzs.js +0 -1
  245. package/dist/assets/companion-dock-zones-page-D3WUlHNa.js +0 -1
  246. package/dist/assets/companion-layout-CQRAhDRW.js +0 -1
  247. package/dist/assets/companion-surface-page-CjbLNl6A.js +0 -1
  248. package/dist/assets/companion-watch-frame-page-QRfCSpL_.js +0 -1
  249. package/dist/assets/connect-page-yPxmLv79.js +0 -1
  250. package/dist/assets/consent-controls-DKwleBRb.js +0 -1
  251. package/dist/assets/contacts-gateway-BND5ieZ2.js +0 -1
  252. package/dist/assets/contacts-page-route-Cfe2ABn5.js +0 -1
  253. package/dist/assets/credential-entry-page-D8UTQAqJ.js +0 -1
  254. package/dist/assets/credentials-page-MvgehI28.js +0 -1
  255. package/dist/assets/danger-zone-redirect-page-DJ6m7ORn.js +0 -1
  256. package/dist/assets/debug-page-CziPI4SF.js +0 -4
  257. package/dist/assets/deploy-dialogs-i8m0qqhA.js +0 -1
  258. package/dist/assets/detail-card-CZMUf1CM.js +0 -1
  259. package/dist/assets/detail-panel-stop-button-DvlXgCDK.js +0 -1
  260. package/dist/assets/detail-primitives-BF0pYypF.js +0 -1
  261. package/dist/assets/developer-page-CaJao3I4.js +0 -1
  262. package/dist/assets/devices-redirect-page-BEVXVGmu.js +0 -1
  263. package/dist/assets/dictation-overlay-page-CL91tnHH.js +0 -1
  264. package/dist/assets/document-viewer-page-CI2tKZGI.js +0 -1
  265. package/dist/assets/emails-page-Df1ZaWXz.js +0 -1
  266. package/dist/assets/environment-store-DW6Gasxo.js +0 -1
  267. package/dist/assets/esm-BIhxd0Ag.js +0 -2
  268. package/dist/assets/esm-BK848pXl.js +0 -2
  269. package/dist/assets/esm-CHN66u3Q.js +0 -2
  270. package/dist/assets/esm-DiOXnFVq.js +0 -2
  271. package/dist/assets/esm-TAlUnktN.js +0 -1
  272. package/dist/assets/esm-jH1AHzYt.js +0 -2
  273. package/dist/assets/file-editor-n8vOlBwf.js +0 -1
  274. package/dist/assets/general-page-xfziIo3C.js +0 -2
  275. package/dist/assets/hatching-screen-Bzbil-VL.js +0 -1
  276. package/dist/assets/hosting-screen-FDbZz_ji.js +0 -1
  277. package/dist/assets/identity-page-route-DMRxSlGv.js +0 -7
  278. package/dist/assets/index-BelRAyOX.css +0 -2
  279. package/dist/assets/index-EvNuA4MK.js +0 -379
  280. package/dist/assets/inspect-page-Crekhfn0.js +0 -9
  281. package/dist/assets/integrations-page-C0QET61K.js +0 -1
  282. package/dist/assets/intelligence-layout-GAiyy1bz.js +0 -1
  283. package/dist/assets/intelligence-layout-slots-store-IZL7J0bB.js +0 -1
  284. package/dist/assets/keyboard-shortcuts-redirect-page-QnGuRV9S.js +0 -1
  285. package/dist/assets/library-detail-page-Dejqwnu9.js +0 -1
  286. package/dist/assets/library-page-DqakmtWF.js +0 -1
  287. package/dist/assets/login-page-gQiDonFf.js +0 -1
  288. package/dist/assets/logout-page-BgXISMmm.js +0 -1
  289. package/dist/assets/logs-layout-C_vFoy9X.js +0 -1
  290. package/dist/assets/markdown-preview-BaU9qCUi.js +0 -1
  291. package/dist/assets/media-preview-CrWjq6yF.js +0 -1
  292. package/dist/assets/memory-page-route-B5e0H6dN.js +0 -2
  293. package/dist/assets/memory-router-playground-page-CLs15KeI.js +0 -1
  294. package/dist/assets/message-files-panel-COc23ZiR.js +0 -1
  295. package/dist/assets/metric-card-xdwj1Pwq.js +0 -1
  296. package/dist/assets/notifications-page-BeVtQrmf.js +0 -1
  297. package/dist/assets/pairing-page-KBK9nxmD.js +0 -1
  298. package/dist/assets/password-reset-page-Cui6V8uy.js +0 -1
  299. package/dist/assets/pdf-file-preview-B9cjWA0j.js +0 -1
  300. package/dist/assets/personality-page-BIpRkz6p.js +0 -1
  301. package/dist/assets/personality-page-jN_UsNEt.js +0 -1
  302. package/dist/assets/personality-sliders-DC42qS7j.js +0 -1
  303. package/dist/assets/plans-page-Bd1_-Wf8.js +0 -1
  304. package/dist/assets/platform-loopback-page-DKKI5Z-5.js +0 -1
  305. package/dist/assets/plugin-detail-page-_SRhvW7w.js +0 -1
  306. package/dist/assets/plugins-page-Vry2-gPP.js +0 -1
  307. package/dist/assets/plugins-surface-CNlv_uPY.js +0 -1
  308. package/dist/assets/preview-error-D6G0rZRF.js +0 -1
  309. package/dist/assets/privacy-page-CJhcqHzc.js +0 -1
  310. package/dist/assets/privacy-screen-CbnQ2dl4.js +0 -1
  311. package/dist/assets/provider-callback-page-CNXZIToI.js +0 -1
  312. package/dist/assets/provider-key-Dj5GgGYz.js +0 -1
  313. package/dist/assets/provider-signup-page-B1j5mRcn.js +0 -1
  314. package/dist/assets/quick-input-page-C6YS_Jd4.js +0 -1
  315. package/dist/assets/research-mock-page-DAogCyMb.js +0 -1
  316. package/dist/assets/research-onboarding-route-EXHDxf6v.js +0 -50
  317. package/dist/assets/review-terms-screen-Ds5JK9a8.js +0 -1
  318. package/dist/assets/schedules-CEmMSGk2.js +0 -1
  319. package/dist/assets/schedules-page-Dzrzpa3J.js +0 -1
  320. package/dist/assets/security-redirect-page-By5wSJi6.js +0 -1
  321. package/dist/assets/select-assistant-screen-BGoy6cXq.js +0 -1
  322. package/dist/assets/self-hosted-servers-DpLWQ6ZD.js +0 -1
  323. package/dist/assets/service-form-controls-CaS_gcPU.js +0 -1
  324. package/dist/assets/setting-row-kBQGNBDz.js +0 -1
  325. package/dist/assets/settings-divider-NcQMwhb3.js +0 -1
  326. package/dist/assets/settings-layout-HsuwTzCB.js +0 -1
  327. package/dist/assets/share-feedback-modal-CWTd6qdb.js +0 -2
  328. package/dist/assets/sidebar-tree-BmnprN5v.js +0 -1
  329. package/dist/assets/signup-page-DmTIlM6S.js +0 -1
  330. package/dist/assets/signup-shell-DE7RRP9C.js +0 -1
  331. package/dist/assets/skill-detail-page-s40LmCym.js +0 -2
  332. package/dist/assets/skill-detail-panel-D5vTQBCj.js +0 -1
  333. package/dist/assets/skill-removal-dialog-Cw0DEn9G.js +0 -1
  334. package/dist/assets/skills-page-BSnAS_uV.js +0 -1
  335. package/dist/assets/sounds-page-eMmSJbmD.js +0 -1
  336. package/dist/assets/start-screen-7bOcspZw.js +0 -1
  337. package/dist/assets/stt-language-picker-modal-BefgY0He.js +0 -1
  338. package/dist/assets/subagent-detail-panel-DJK4P8Eg.js +0 -1
  339. package/dist/assets/superpowers-page-p5-K9S9M.js +0 -1
  340. package/dist/assets/system-events-page-CtR7EpyN.js +0 -1
  341. package/dist/assets/system-events-redirect-page-BuOUKdqj.js +0 -1
  342. package/dist/assets/text-preview-L5ihBtD7.js +0 -1
  343. package/dist/assets/theme-stage-page-Crvf2Kh7.js +0 -1
  344. package/dist/assets/tool-detail-panel-BlJU5kYo.js +0 -15
  345. package/dist/assets/trait-cycle-row-Cx_WFuiE.js +0 -1
  346. package/dist/assets/upgrade-cancel-page-Mi6qNpan.js +0 -1
  347. package/dist/assets/upgrade-success-page-DEuaRN4q.js +0 -1
  348. package/dist/assets/usage-redirect-page-DRGPI4LI.js +0 -1
  349. package/dist/assets/use-app-delete-SmquBvLJ.js +0 -1
  350. package/dist/assets/use-assistant-identity-details-uLUlZssw.js +0 -1
  351. package/dist/assets/use-checkout-dismiss-refresh-5Tg27uQi.js +0 -1
  352. package/dist/assets/use-edge-swipe-back-CYdfdnK-.js +0 -1
  353. package/dist/assets/use-hotkey-recorder-BtwD7aF5.js +0 -1
  354. package/dist/assets/use-invite-link-dialog-Ujl-tUby.js +0 -1
  355. package/dist/assets/use-platform-assistant-id-DUiGD4ph.js +0 -1
  356. package/dist/assets/use-return-to-short-circuit-BT6BLwfY.js +0 -1
  357. package/dist/assets/use-side-list-room-Pt8TSfX8.js +0 -1
  358. package/dist/assets/use-skill-actions-3bW3Wpbu.js +0 -1
  359. package/dist/assets/use-skill-detail-files-Re864fHK.js +0 -1
  360. package/dist/assets/use-supports-credentials-settings-_y0fiNaQ.js +0 -1
  361. package/dist/assets/use-transcript-message-by-id-4mjs8Hhp.js +0 -1
  362. package/dist/assets/vendor-DDWP5sE7.js +0 -127
  363. package/dist/assets/voice-page-BU0l8ay4.js +0 -1
  364. package/dist/assets/wake-detail-panel-B97IRoDT.js +0 -1
  365. package/dist/assets/weather-forecast-display-gIfVjSMJ.js +0 -1
  366. package/dist/assets/welcome-screen-BXmkzDpr.js +0 -1
  367. package/dist/assets/workflow-detail-panel-BbROQPp2.js +0 -1
  368. package/dist/assets/workspace-page-D2A4MX0E.js +0 -1
  369. /package/dist/assets/{account-DdeDvjhY.js → account-4Kl-O6vZ.js} +0 -0
  370. /package/dist/assets/{account-BkOXnexd.js → account-B8DTuZaj.js} +0 -0
  371. /package/dist/assets/{account-BGpcjulK.js → account-D1KqEh3v.js} +0 -0
  372. /package/dist/assets/{account-Dy1Ad68O.js → account-Dq_p4STL.js} +0 -0
  373. /package/dist/assets/{activation-CL8evY3Y.js → activation-BDRAJ53F.js} +0 -0
  374. /package/dist/assets/{activation-DMv1lxj0.js → activation-BYAGAleJ.js} +0 -0
  375. /package/dist/assets/{activation-p2jib0zC.js → activation-CgC5rmZW.js} +0 -0
  376. /package/dist/assets/{activation-ckp2PRSJ.js → activation-DEdwceum.js} +0 -0
  377. /package/dist/assets/{activation-tasks-DJsipDg5.js → activation-tasks--V6dLLJn.js} +0 -0
  378. /package/dist/assets/{activation-tasks-DlvSEdUZ.js → activation-tasks-BPpThHNG.js} +0 -0
  379. /package/dist/assets/{activation-tasks-BngQ_Fm6.js → activation-tasks-K8Swziqu.js} +0 -0
  380. /package/dist/assets/{activation-tasks-C-gk6esD.js → activation-tasks-wz108byj.js} +0 -0
  381. /package/dist/assets/{app-types-BYkXynEc.js → app-types-n_0nd3fk.js} +0 -0
  382. /package/dist/assets/{build.umd-Dyr7MyMs.js → build.umd-CQ6rqcj7.js} +0 -0
  383. /package/dist/assets/{channels-B1iCR2kD.js → channels-BS6FnF8v.js} +0 -0
  384. /package/dist/assets/{channels-DB8AwQ1m.js → channels-CP_F47Se.js} +0 -0
  385. /package/dist/assets/{channels--_24mqXQ.js → channels-CUtrsI0I.js} +0 -0
  386. /package/dist/assets/{channels-DP0eD7KL.js → channels-D2NEBFdZ.js} +0 -0
  387. /package/dist/assets/{common-uKiuUsnk.js → common-BvNsY-Wm.js} +0 -0
  388. /package/dist/assets/{common-DK8b63St.js → common-CMh1TStJ.js} +0 -0
  389. /package/dist/assets/{common-CJNtHFgP.js → common-Ch9-IT0h.js} +0 -0
  390. /package/dist/assets/{common-FYU4otds.js → common-Dc66scGB.js} +0 -0
  391. /package/dist/assets/{contacts-D1ap0ikp.js → contacts-CujEnje6.js} +0 -0
  392. /package/dist/assets/{contacts-BXTOnNRb.js → contacts-CyuwvMeB.js} +0 -0
  393. /package/dist/assets/{contacts-CdevqUss.js → contacts-DPRVw8Rh.js} +0 -0
  394. /package/dist/assets/{contacts-KIeQktWI.js → contacts-X8OVHPsY.js} +0 -0
  395. /package/dist/assets/{credential-requests-BCFHbOGQ.js → credential-requests-B_Oxi8Wn.js} +0 -0
  396. /package/dist/assets/{credential-requests-BwN3883r.js → credential-requests-BrbBCbU9.js} +0 -0
  397. /package/dist/assets/{credential-requests-CPIRAV7Q.js → credential-requests-C9_h0Hiq.js} +0 -0
  398. /package/dist/assets/{credential-requests-B4ev1rjC.js → credential-requests-hmXVT9Of.js} +0 -0
  399. /package/dist/assets/{definitions-BOAZXrGU.js → definitions-B5E7eevX.js} +0 -0
  400. /package/dist/assets/{definitions-4sI1zv9i.js → definitions-C6k0EQJc.js} +0 -0
  401. /package/dist/assets/{emoji-catalog-data-0ErKKUgg.js → emoji-catalog-data-DeXOztce.js} +0 -0
  402. /package/dist/assets/{format-countdown-D0r_o8GO.js → format-countdown-_yY7LyF2.js} +0 -0
  403. /package/dist/assets/{format-file-size-Daiq0gMr.js → format-file-size-CEqN0m2h.js} +0 -0
  404. /package/dist/assets/{home-7hRVfWcs.js → home-B8rWml8V.js} +0 -0
  405. /package/dist/assets/{home-CMUk0CsV.js → home-BkNnnmAA.js} +0 -0
  406. /package/dist/assets/{home-CPx14X0V.js → home-CbXpMMJY.js} +0 -0
  407. /package/dist/assets/{home-V-TI-WW1.js → home-CqtSmgpt.js} +0 -0
  408. /package/dist/assets/{intelligence-BLJszUdk.js → intelligence-B2vgZB7S.js} +0 -0
  409. /package/dist/assets/{intelligence-CLDRgkYc.js → intelligence-CwUj0Hm7.js} +0 -0
  410. /package/dist/assets/{intelligence-BmSDxLG-.js → intelligence-DFjC8e6b.js} +0 -0
  411. /package/dist/assets/{intelligence-Dinga0oL.js → intelligence-DzM8xH87.js} +0 -0
  412. /package/dist/assets/{library-CtcUj6Kk.js → library-B5G2M3mS.js} +0 -0
  413. /package/dist/assets/{library-PmgfPBZb.js → library-BQhu_CfU.js} +0 -0
  414. /package/dist/assets/{library-BIf4ckUu.js → library-C6Ka_NXK.js} +0 -0
  415. /package/dist/assets/{library-DzFr5lBY.js → library-COmFIEP1.js} +0 -0
  416. /package/dist/assets/{link-click-DI-vZsQ_.js → link-click-BwZ2MzcC.js} +0 -0
  417. /package/dist/assets/{logs-B5Qc15f4.js → logs-C8Dg98sG.js} +0 -0
  418. /package/dist/assets/{logs-Cvw08Aqu.js → logs-D5okASvd.js} +0 -0
  419. /package/dist/assets/{logs-6I_-FJZr.js → logs-DO0ZGiyK.js} +0 -0
  420. /package/dist/assets/{logs-CJqi7bPJ.js → logs-DoCrtVKm.js} +0 -0
  421. /package/dist/assets/{machine-sizes-C-G8Np-M.js → machine-sizes-BQMJl7cD.js} +0 -0
  422. /package/dist/assets/{onboarding-DTIuvvmt.js → onboarding-BOzy3XEZ.js} +0 -0
  423. /package/dist/assets/{onboarding-DeKU4jx5.js → onboarding-CD_WCQka.js} +0 -0
  424. /package/dist/assets/{onboarding-B10Xl9-6.js → onboarding-DQWqXyso.js} +0 -0
  425. /package/dist/assets/{onboarding-CyoKncVK.js → onboarding-D_8rahta.js} +0 -0
  426. /package/dist/assets/{onboarding-step-layout-DJkEo3-j.js → onboarding-step-layout-BSgcaKMk.js} +0 -0
  427. /package/dist/assets/{plugin-attribution-D093QJts.js → plugin-attribution-CpWygucM.js} +0 -0
  428. /package/dist/assets/{radio-card-nav--5I6r73A.js → radio-card-nav-BozEAAeT.js} +0 -0
  429. /package/dist/assets/{react-BJ4PZBJN.js → react-B9IgSVeK.js} +0 -0
  430. /package/dist/assets/{remote-web-Bpyj50vT.js → remote-web-DFkt9yN6.js} +0 -0
  431. /package/dist/assets/{remote-web-DNZxbrvS.js → remote-web-DHsqM3bv.js} +0 -0
  432. /package/dist/assets/{remote-web-Da8LdaG5.js → remote-web-DmV8KCor.js} +0 -0
  433. /package/dist/assets/{remote-web-DBMrn5Q_.js → remote-web-JoC6poSR.js} +0 -0
  434. /package/dist/assets/{schedules-Dgvq7yLf.js → schedules-BztQab7u.js} +0 -0
  435. /package/dist/assets/{schedules-DIfqhkXN.js → schedules-CYepcFyW.js} +0 -0
  436. /package/dist/assets/{schedules-C5svHqAI.js → schedules-ChALb9EI.js} +0 -0
  437. /package/dist/assets/{schedules-CVqH3RoD.js → schedules-DMNQbq7G.js} +0 -0
  438. /package/dist/assets/{settings-rJcBhxAd.js → settings-9gpNb7JV.js} +0 -0
  439. /package/dist/assets/{settings-C1EKvXRS.js → settings-B81c4-BH.js} +0 -0
  440. /package/dist/assets/{settings-D2N1-KU9.js → settings-DgARjwBf.js} +0 -0
  441. /package/dist/assets/{settings-DfLDQneH.js → settings-pwpYI0nl.js} +0 -0
  442. /package/dist/assets/{signup-onboarding-handoff-Cr1oX9ci.js → signup-onboarding-handoff-BsmkcSN6.js} +0 -0
  443. /package/dist/assets/{terminal-BJmiuxWW.js → terminal-9nHcmgY-.js} +0 -0
  444. /package/dist/assets/{terminal-BJQaabUe.js → terminal-CmC3k1Rd.js} +0 -0
  445. /package/dist/assets/{terminal-DHz_wUKh.js → terminal-DsVKMCj5.js} +0 -0
  446. /package/dist/assets/{terminal-CbhdQVxd.js → terminal-LUewi_zv.js} +0 -0
  447. /package/dist/assets/{usage-window-x5sTPG1H.js → usage-window-CXBfRlYi.js} +0 -0
  448. /package/dist/assets/{workspace-hcT1wr0M.js → workspace-BbGhpF8K.js} +0 -0
  449. /package/dist/assets/{workspace-Bm-E8fPV.js → workspace-CA8SMup2.js} +0 -0
  450. /package/dist/assets/{workspace-D9rGERWl.js → workspace-CE6pRQvC.js} +0 -0
  451. /package/dist/assets/{workspace-B5KV2V2m.js → workspace-DDoYE7I7.js} +0 -0
  452. /package/dist/assets/{xterm-DBh9hHnM.js → xterm-Cb3ZSFQ_.js} +0 -0
  453. /package/dist/assets/{xterm-addon-fit-CRONvQcn.js → xterm-addon-fit-Djclkc5v.js} +0 -0
@@ -0,0 +1,486 @@
1
+ # Third-party licences
2
+
3
+ Licences and notices for third-party code distributed with the Vellum web
4
+ client. Served from the build root so the notice travels with the distributed
5
+ bundle.
6
+
7
+ The macOS and Windows clients package this same web build, so they carry this
8
+ file inside the application. The iOS and Android clients load the hosted web
9
+ app rather than embedding a bundle, so they reach this file over the network
10
+ from whichever deployment they are pointed at.
11
+
12
+ Most dependencies are permissive (MIT, Apache-2.0, ISC, BSD) and carry no
13
+ obligation beyond retaining their copyright headers, which bundling preserves.
14
+ Listed below are the ones whose licence asks for more.
15
+
16
+ ## noVNC
17
+
18
+ | | |
19
+ | ------------------ | --------------------------------------------------------- |
20
+ | Component | `@novnc/novnc` |
21
+ | Version | 1.7.0 |
22
+ | Copyright | Copyright (C) 2022 The noVNC authors |
23
+ | Licence | MPL-2.0 (Mozilla Public License 2.0) |
24
+ | Source | https://github.com/novnc/noVNC/tree/v1.7.0 |
25
+ | Package | https://registry.npmjs.org/@novnc/novnc/-/novnc-1.7.0.tgz |
26
+ | Modified by Vellum | **No.** Imported and used as published. |
27
+
28
+ noVNC is the VNC client that renders the assistant desktop viewer
29
+ (`clients/web/src/domains/chat/desktop/`).
30
+
31
+ The Mozilla Public License is a file-level licence. It covers noVNC's own
32
+ files, which are combined here into a Larger Work distributed under this
33
+ repository's MIT licence, as MPL-2.0 section 3.3 permits. If noVNC's files are
34
+ ever modified rather than merely imported, those modified files remain under
35
+ MPL-2.0 and their Source Code must be made available to recipients; update the
36
+ "Modified by Vellum" row above if that ever changes.
37
+
38
+ ### noVNC's own licence notice
39
+
40
+ Which noVNC files are MPL-2.0 and which carry more permissive licences,
41
+ verbatim from the package's `LICENSE.txt`:
42
+
43
+ ```
44
+ noVNC is Copyright (C) 2022 The noVNC authors
45
+ (./AUTHORS)
46
+
47
+ The noVNC core library files are licensed under the MPL 2.0 (Mozilla
48
+ Public License 2.0). The noVNC core library is composed of the
49
+ Javascript code necessary for full noVNC operation. This includes (but
50
+ is not limited to):
51
+
52
+ core/**/*.js
53
+ app/*.js
54
+ test/playback.js
55
+
56
+ The HTML, CSS, font and images files that included with the noVNC
57
+ source distibution (or repository) are not considered part of the
58
+ noVNC core library and are licensed under more permissive licenses.
59
+ The intent is to allow easy integration of noVNC into existing web
60
+ sites and web applications.
61
+
62
+ The HTML, CSS, font and image files are licensed as follows:
63
+
64
+ *.html : 2-Clause BSD license
65
+
66
+ app/styles/*.css : 2-Clause BSD license
67
+
68
+ app/styles/Orbitron* : SIL Open Font License 1.1
69
+ (Copyright 2009 Matt McInerney)
70
+
71
+ app/images/ : Creative Commons Attribution-ShareAlike
72
+ http://creativecommons.org/licenses/by-sa/3.0/
73
+
74
+ Some portions of noVNC are copyright to their individual authors.
75
+ Please refer to the individual source files and/or to the noVNC commit
76
+ history: https://github.com/novnc/noVNC/commits/master
77
+
78
+ The are several files and projects that have been incorporated into
79
+ the noVNC core library. Here is a list of those files and the original
80
+ licenses (all MPL 2.0 compatible):
81
+
82
+ core/base64.js : MPL 2.0
83
+
84
+ core/des.js : Various BSD style licenses
85
+
86
+ vendor/pako/ : MIT
87
+
88
+ Any other files not mentioned above are typically marked with
89
+ a copyright/license header at the top of the file. The default noVNC
90
+ license is MPL-2.0.
91
+
92
+ The following license texts are included:
93
+
94
+ docs/LICENSE.MPL-2.0
95
+ docs/LICENSE.OFL-1.1
96
+ docs/LICENSE.BSD-3-Clause (New BSD)
97
+ docs/LICENSE.BSD-2-Clause (Simplified BSD / FreeBSD)
98
+ vendor/pako/LICENSE (MIT)
99
+
100
+ Or alternatively the license texts may be found here:
101
+
102
+ http://www.mozilla.org/MPL/2.0/
103
+ http://scripts.sil.org/OFL
104
+ http://en.wikipedia.org/wiki/BSD_licenses
105
+ https://opensource.org/licenses/MIT
106
+ ```
107
+
108
+ ### Mozilla Public License 2.0
109
+
110
+ The full licence text, as published at https://mozilla.org/MPL/2.0/:
111
+
112
+ ```
113
+ Mozilla Public License Version 2.0
114
+ ==================================
115
+
116
+ 1. Definitions
117
+ --------------
118
+
119
+ 1.1. "Contributor"
120
+ means each individual or legal entity that creates, contributes to
121
+ the creation of, or owns Covered Software.
122
+
123
+ 1.2. "Contributor Version"
124
+ means the combination of the Contributions of others (if any) used
125
+ by a Contributor and that particular Contributor's Contribution.
126
+
127
+ 1.3. "Contribution"
128
+ means Covered Software of a particular Contributor.
129
+
130
+ 1.4. "Covered Software"
131
+ means Source Code Form to which the initial Contributor has attached
132
+ the notice in Exhibit A, the Executable Form of such Source Code
133
+ Form, and Modifications of such Source Code Form, in each case
134
+ including portions thereof.
135
+
136
+ 1.5. "Incompatible With Secondary Licenses"
137
+ means
138
+
139
+ (a) that the initial Contributor has attached the notice described
140
+ in Exhibit B to the Covered Software; or
141
+
142
+ (b) that the Covered Software was made available under the terms of
143
+ version 1.1 or earlier of the License, but not also under the
144
+ terms of a Secondary License.
145
+
146
+ 1.6. "Executable Form"
147
+ means any form of the work other than Source Code Form.
148
+
149
+ 1.7. "Larger Work"
150
+ means a work that combines Covered Software with other material, in
151
+ a separate file or files, that is not Covered Software.
152
+
153
+ 1.8. "License"
154
+ means this document.
155
+
156
+ 1.9. "Licensable"
157
+ means having the right to grant, to the maximum extent possible,
158
+ whether at the time of the initial grant or subsequently, any and
159
+ all of the rights conveyed by this License.
160
+
161
+ 1.10. "Modifications"
162
+ means any of the following:
163
+
164
+ (a) any file in Source Code Form that results from an addition to,
165
+ deletion from, or modification of the contents of Covered
166
+ Software; or
167
+
168
+ (b) any new file in Source Code Form that contains any Covered
169
+ Software.
170
+
171
+ 1.11. "Patent Claims" of a Contributor
172
+ means any patent claim(s), including without limitation, method,
173
+ process, and apparatus claims, in any patent Licensable by such
174
+ Contributor that would be infringed, but for the grant of the
175
+ License, by the making, using, selling, offering for sale, having
176
+ made, import, or transfer of either its Contributions or its
177
+ Contributor Version.
178
+
179
+ 1.12. "Secondary License"
180
+ means either the GNU General Public License, Version 2.0, the GNU
181
+ Lesser General Public License, Version 2.1, the GNU Affero General
182
+ Public License, Version 3.0, or any later versions of those
183
+ licenses.
184
+
185
+ 1.13. "Source Code Form"
186
+ means the form of the work preferred for making modifications.
187
+
188
+ 1.14. "You" (or "Your")
189
+ means an individual or a legal entity exercising rights under this
190
+ License. For legal entities, "You" includes any entity that
191
+ controls, is controlled by, or is under common control with You. For
192
+ purposes of this definition, "control" means (a) the power, direct
193
+ or indirect, to cause the direction or management of such entity,
194
+ whether by contract or otherwise, or (b) ownership of more than
195
+ fifty percent (50%) of the outstanding shares or beneficial
196
+ ownership of such entity.
197
+
198
+ 2. License Grants and Conditions
199
+ --------------------------------
200
+
201
+ 2.1. Grants
202
+
203
+ Each Contributor hereby grants You a world-wide, royalty-free,
204
+ non-exclusive license:
205
+
206
+ (a) under intellectual property rights (other than patent or trademark)
207
+ Licensable by such Contributor to use, reproduce, make available,
208
+ modify, display, perform, distribute, and otherwise exploit its
209
+ Contributions, either on an unmodified basis, with Modifications, or
210
+ as part of a Larger Work; and
211
+
212
+ (b) under Patent Claims of such Contributor to make, use, sell, offer
213
+ for sale, have made, import, and otherwise transfer either its
214
+ Contributions or its Contributor Version.
215
+
216
+ 2.2. Effective Date
217
+
218
+ The licenses granted in Section 2.1 with respect to any Contribution
219
+ become effective for each Contribution on the date the Contributor first
220
+ distributes such Contribution.
221
+
222
+ 2.3. Limitations on Grant Scope
223
+
224
+ The licenses granted in this Section 2 are the only rights granted under
225
+ this License. No additional rights or licenses will be implied from the
226
+ distribution or licensing of Covered Software under this License.
227
+ Notwithstanding Section 2.1(b) above, no patent license is granted by a
228
+ Contributor:
229
+
230
+ (a) for any code that a Contributor has removed from Covered Software;
231
+ or
232
+
233
+ (b) for infringements caused by: (i) Your and any other third party's
234
+ modifications of Covered Software, or (ii) the combination of its
235
+ Contributions with other software (except as part of its Contributor
236
+ Version); or
237
+
238
+ (c) under Patent Claims infringed by Covered Software in the absence of
239
+ its Contributions.
240
+
241
+ This License does not grant any rights in the trademarks, service marks,
242
+ or logos of any Contributor (except as may be necessary to comply with
243
+ the notice requirements in Section 3.4).
244
+
245
+ 2.4. Subsequent Licenses
246
+
247
+ No Contributor makes additional grants as a result of Your choice to
248
+ distribute the Covered Software under a subsequent version of this
249
+ License (see Section 10.2) or under the terms of a Secondary License (if
250
+ permitted under the terms of Section 3.3).
251
+
252
+ 2.5. Representation
253
+
254
+ Each Contributor represents that the Contributor believes its
255
+ Contributions are its original creation(s) or it has sufficient rights
256
+ to grant the rights to its Contributions conveyed by this License.
257
+
258
+ 2.6. Fair Use
259
+
260
+ This License is not intended to limit any rights You have under
261
+ applicable copyright doctrines of fair use, fair dealing, or other
262
+ equivalents.
263
+
264
+ 2.7. Conditions
265
+
266
+ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
267
+ in Section 2.1.
268
+
269
+ 3. Responsibilities
270
+ -------------------
271
+
272
+ 3.1. Distribution of Source Form
273
+
274
+ All distribution of Covered Software in Source Code Form, including any
275
+ Modifications that You create or to which You contribute, must be under
276
+ the terms of this License. You must inform recipients that the Source
277
+ Code Form of the Covered Software is governed by the terms of this
278
+ License, and how they can obtain a copy of this License. You may not
279
+ attempt to alter or restrict the recipients' rights in the Source Code
280
+ Form.
281
+
282
+ 3.2. Distribution of Executable Form
283
+
284
+ If You distribute Covered Software in Executable Form then:
285
+
286
+ (a) such Covered Software must also be made available in Source Code
287
+ Form, as described in Section 3.1, and You must inform recipients of
288
+ the Executable Form how they can obtain a copy of such Source Code
289
+ Form by reasonable means in a timely manner, at a charge no more
290
+ than the cost of distribution to the recipient; and
291
+
292
+ (b) You may distribute such Executable Form under the terms of this
293
+ License, or sublicense it under different terms, provided that the
294
+ license for the Executable Form does not attempt to limit or alter
295
+ the recipients' rights in the Source Code Form under this License.
296
+
297
+ 3.3. Distribution of a Larger Work
298
+
299
+ You may create and distribute a Larger Work under terms of Your choice,
300
+ provided that You also comply with the requirements of this License for
301
+ the Covered Software. If the Larger Work is a combination of Covered
302
+ Software with a work governed by one or more Secondary Licenses, and the
303
+ Covered Software is not Incompatible With Secondary Licenses, this
304
+ License permits You to additionally distribute such Covered Software
305
+ under the terms of such Secondary License(s), so that the recipient of
306
+ the Larger Work may, at their option, further distribute the Covered
307
+ Software under the terms of either this License or such Secondary
308
+ License(s).
309
+
310
+ 3.4. Notices
311
+
312
+ You may not remove or alter the substance of any license notices
313
+ (including copyright notices, patent notices, disclaimers of warranty,
314
+ or limitations of liability) contained within the Source Code Form of
315
+ the Covered Software, except that You may alter any license notices to
316
+ the extent required to remedy known factual inaccuracies.
317
+
318
+ 3.5. Application of Additional Terms
319
+
320
+ You may choose to offer, and to charge a fee for, warranty, support,
321
+ indemnity or liability obligations to one or more recipients of Covered
322
+ Software. However, You may do so only on Your own behalf, and not on
323
+ behalf of any Contributor. You must make it absolutely clear that any
324
+ such warranty, support, indemnity, or liability obligation is offered by
325
+ You alone, and You hereby agree to indemnify every Contributor for any
326
+ liability incurred by such Contributor as a result of warranty, support,
327
+ indemnity or liability terms You offer. You may include additional
328
+ disclaimers of warranty and limitations of liability specific to any
329
+ jurisdiction.
330
+
331
+ 4. Inability to Comply Due to Statute or Regulation
332
+ ---------------------------------------------------
333
+
334
+ If it is impossible for You to comply with any of the terms of this
335
+ License with respect to some or all of the Covered Software due to
336
+ statute, judicial order, or regulation then You must: (a) comply with
337
+ the terms of this License to the maximum extent possible; and (b)
338
+ describe the limitations and the code they affect. Such description must
339
+ be placed in a text file included with all distributions of the Covered
340
+ Software under this License. Except to the extent prohibited by statute
341
+ or regulation, such description must be sufficiently detailed for a
342
+ recipient of ordinary skill to be able to understand it.
343
+
344
+ 5. Termination
345
+ --------------
346
+
347
+ 5.1. The rights granted under this License will terminate automatically
348
+ if You fail to comply with any of its terms. However, if You become
349
+ compliant, then the rights granted under this License from a particular
350
+ Contributor are reinstated (a) provisionally, unless and until such
351
+ Contributor explicitly and finally terminates Your grants, and (b) on an
352
+ ongoing basis, if such Contributor fails to notify You of the
353
+ non-compliance by some reasonable means prior to 60 days after You have
354
+ come back into compliance. Moreover, Your grants from a particular
355
+ Contributor are reinstated on an ongoing basis if such Contributor
356
+ notifies You of the non-compliance by some reasonable means, this is the
357
+ first time You have received notice of non-compliance with this License
358
+ from such Contributor, and You become compliant prior to 30 days after
359
+ Your receipt of the notice.
360
+
361
+ 5.2. If You initiate litigation against any entity by asserting a patent
362
+ infringement claim (excluding declaratory judgment actions,
363
+ counter-claims, and cross-claims) alleging that a Contributor Version
364
+ directly or indirectly infringes any patent, then the rights granted to
365
+ You by any and all Contributors for the Covered Software under Section
366
+ 2.1 of this License shall terminate.
367
+
368
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
369
+ end user license agreements (excluding distributors and resellers) which
370
+ have been validly granted by You or Your distributors under this License
371
+ prior to termination shall survive termination.
372
+
373
+ ************************************************************************
374
+ * *
375
+ * 6. Disclaimer of Warranty *
376
+ * ------------------------- *
377
+ * *
378
+ * Covered Software is provided under this License on an "as is" *
379
+ * basis, without warranty of any kind, either expressed, implied, or *
380
+ * statutory, including, without limitation, warranties that the *
381
+ * Covered Software is free of defects, merchantable, fit for a *
382
+ * particular purpose or non-infringing. The entire risk as to the *
383
+ * quality and performance of the Covered Software is with You. *
384
+ * Should any Covered Software prove defective in any respect, You *
385
+ * (not any Contributor) assume the cost of any necessary servicing, *
386
+ * repair, or correction. This disclaimer of warranty constitutes an *
387
+ * essential part of this License. No use of any Covered Software is *
388
+ * authorized under this License except under this disclaimer. *
389
+ * *
390
+ ************************************************************************
391
+
392
+ ************************************************************************
393
+ * *
394
+ * 7. Limitation of Liability *
395
+ * -------------------------- *
396
+ * *
397
+ * Under no circumstances and under no legal theory, whether tort *
398
+ * (including negligence), contract, or otherwise, shall any *
399
+ * Contributor, or anyone who distributes Covered Software as *
400
+ * permitted above, be liable to You for any direct, indirect, *
401
+ * special, incidental, or consequential damages of any character *
402
+ * including, without limitation, damages for lost profits, loss of *
403
+ * goodwill, work stoppage, computer failure or malfunction, or any *
404
+ * and all other commercial damages or losses, even if such party *
405
+ * shall have been informed of the possibility of such damages. This *
406
+ * limitation of liability shall not apply to liability for death or *
407
+ * personal injury resulting from such party's negligence to the *
408
+ * extent applicable law prohibits such limitation. Some *
409
+ * jurisdictions do not allow the exclusion or limitation of *
410
+ * incidental or consequential damages, so this exclusion and *
411
+ * limitation may not apply to You. *
412
+ * *
413
+ ************************************************************************
414
+
415
+ 8. Litigation
416
+ -------------
417
+
418
+ Any litigation relating to this License may be brought only in the
419
+ courts of a jurisdiction where the defendant maintains its principal
420
+ place of business and such litigation shall be governed by laws of that
421
+ jurisdiction, without reference to its conflict-of-law provisions.
422
+ Nothing in this Section shall prevent a party's ability to bring
423
+ cross-claims or counter-claims.
424
+
425
+ 9. Miscellaneous
426
+ ----------------
427
+
428
+ This License represents the complete agreement concerning the subject
429
+ matter hereof. If any provision of this License is held to be
430
+ unenforceable, such provision shall be reformed only to the extent
431
+ necessary to make it enforceable. Any law or regulation which provides
432
+ that the language of a contract shall be construed against the drafter
433
+ shall not be used to construe this License against a Contributor.
434
+
435
+ 10. Versions of the License
436
+ ---------------------------
437
+
438
+ 10.1. New Versions
439
+
440
+ Mozilla Foundation is the license steward. Except as provided in Section
441
+ 10.3, no one other than the license steward has the right to modify or
442
+ publish new versions of this License. Each version will be given a
443
+ distinguishing version number.
444
+
445
+ 10.2. Effect of New Versions
446
+
447
+ You may distribute the Covered Software under the terms of the version
448
+ of the License under which You originally received the Covered Software,
449
+ or under the terms of any subsequent version published by the license
450
+ steward.
451
+
452
+ 10.3. Modified Versions
453
+
454
+ If you create software not governed by this License, and you want to
455
+ create a new license for such software, you may create and use a
456
+ modified version of this License if you rename the license and remove
457
+ any references to the name of the license steward (except to note that
458
+ such modified license differs from this License).
459
+
460
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary
461
+ Licenses
462
+
463
+ If You choose to distribute Source Code Form that is Incompatible With
464
+ Secondary Licenses under the terms of this version of the License, the
465
+ notice described in Exhibit B of this License must be attached.
466
+
467
+ Exhibit A - Source Code Form License Notice
468
+ -------------------------------------------
469
+
470
+ This Source Code Form is subject to the terms of the Mozilla Public
471
+ License, v. 2.0. If a copy of the MPL was not distributed with this
472
+ file, You can obtain one at https://mozilla.org/MPL/2.0/.
473
+
474
+ If it is not possible or desirable to put the notice in a particular
475
+ file, then You may include the notice in a location (such as a LICENSE
476
+ file in a relevant directory) where a recipient would be likely to look
477
+ for such a notice.
478
+
479
+ You may add additional accurate notices of copyright ownership.
480
+
481
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
482
+ ---------------------------------------------------------
483
+
484
+ This Source Code Form is "Incompatible With Secondary Licenses", as
485
+ defined by the Mozilla Public License, v. 2.0.
486
+ ```
@@ -0,0 +1 @@
1
+ import{Ry as e}from"./app-BITOqoMA.js";function t(t){let n=typeof window<`u`?window.location.origin:``,r=new URLSearchParams({senderAssistantId:t.senderAssistantId,token:t.token});return`${n}${e.connect}?${r.toString()}`}function n(e){let t=e.get(`senderAssistantId`)?.trim(),n=e.get(`token`)?.trim();return!t||!n?null:{senderAssistantId:t,token:n}}export{n,t};
@@ -0,0 +1 @@
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{km as t,zy as n}from"./app-BITOqoMA.js";import{j as r}from"./vendor-DrQwXGxY.js";import{t as i,x as a}from"./react-B9IgSVeK.js";import{n as o,t as s}from"./app-info-Ye5PrLP2.js";var c=e(a(),1),l=i();function u(){let{t:e}=r(),i=t(),[a,u]=(0,c.useState)(null);(0,c.useEffect)(()=>{s().then(u)},[]);let f=a??d;return(0,l.jsxs)(`div`,{className:`flex h-svh w-screen flex-col items-center justify-center bg-background px-8 pt-14 pb-8 text-center text-foreground select-none`,children:[(0,l.jsx)(`h1`,{className:`mt-4 text-2xl font-semibold`,children:f.appName}),(0,l.jsx)(`p`,{className:`text-muted-foreground mt-1 mb-7 text-xs`,children:e(i===`windows`?`aboutPage.taglineWindows`:`aboutPage.taglineMacOS`)}),(0,l.jsxs)(`dl`,{className:`mb-7 grid grid-cols-[auto_auto] gap-x-4 gap-y-1.5 text-sm`,children:[(0,l.jsx)(`dt`,{className:`text-muted-foreground text-right`,children:e(`aboutPage.version`)}),(0,l.jsx)(`dd`,{className:`text-left font-mono tabular-nums select-text`,children:f.version}),(0,l.jsx)(`dt`,{className:`text-muted-foreground text-right`,children:e(`aboutPage.build`)}),(0,l.jsx)(`dd`,{className:`text-left font-mono tabular-nums select-text`,children:f.commitSha})]}),(0,l.jsx)(`a`,{href:f.website,className:`text-primary text-sm hover:underline`,onClick:e=>{n()&&(e.preventDefault(),o())},children:new URL(f.website).host}),(0,l.jsx)(`div`,{className:`text-muted-foreground mt-auto pt-6 text-[11px]`,children:f.copyright})]})}var d={appName:`Vellum`,version:`—`,commitSha:`—`,copyright:`© ${new Date().getFullYear()} Vellum`,website:`https://vellum.ai`};export{u as AboutPage};
@@ -0,0 +1 @@
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ep as t,Ry as n,jp as r,kp as i,m_ as a,ns as o,ts as s,us as c}from"./app-BITOqoMA.js";import{j as l}from"./vendor-DrQwXGxY.js";import{n as u,t as d,x as f}from"./react-B9IgSVeK.js";import{r as p,t as m}from"./account-shell-q9B3nRLA.js";var h=e(f(),1),g=d();function _(){let{t:e}=l(`account`),d=i(),f=r(),_=t.use.user(),v=t.use.logout(),[y,b]=(0,h.useState)(null),[x,S]=(0,h.useState)(!1),C=async()=>{b(null),S(!0);try{await a(o,s)}catch(t){console.error(`[account] auth flow failed:`,t),b(e(`authErrors.genericFailure`)),S(!1)}};return f?(0,g.jsx)(m,{children:(0,g.jsx)(p,{title:e(`accountPage.loading`)})}):d?(0,g.jsxs)(m,{children:[(0,g.jsx)(p,{title:_?.username?e(`accountPage.signedInTitleNamed`,{name:_.username}):e(`accountPage.signedInTitle`),subtitle:e(`accountPage.signedInSubtitle`)}),(0,g.jsxs)(`div`,{className:`flex flex-col items-center gap-4`,children:[(0,g.jsx)(u,{to:n.assistant,className:`inline-flex w-full items-center justify-center gap-2 rounded-lg bg-[var(--primary-base)] px-6 py-3 text-sm font-medium text-[var(--content-inset)] no-underline transition-colors hover:bg-[var(--primary-hover)]`,children:e(`accountPage.goToAssistant`)}),(0,g.jsx)(`button`,{type:`button`,onClick:async()=>{await v(),c(n.account.login)},className:`cursor-pointer bg-transparent text-sm font-normal text-[var(--content-secondary)] transition-colors hover:text-[var(--content-default)]`,children:e(`accountPage.signOut`)})]})]}):(0,g.jsxs)(m,{children:[(0,g.jsx)(p,{title:e(`accountPage.welcomeTitle`),subtitle:e(`accountPage.welcomeSubtitle`)}),y&&(0,g.jsx)(`p`,{className:`text-center text-sm text-[var(--system-negative-strong)]`,children:y}),(0,g.jsx)(`div`,{className:`flex flex-col items-center gap-4`,children:(0,g.jsx)(`button`,{type:`button`,onClick:()=>void C(),disabled:x,className:`inline-flex w-full cursor-pointer items-center justify-center gap-2 rounded-lg bg-[var(--primary-base)] px-6 py-3 text-sm font-medium text-[var(--content-inset)] transition-colors hover:bg-[var(--primary-hover)] disabled:opacity-50`,children:e(`accountPage.signIn`)})})]})}export{_ as AccountPage};
@@ -0,0 +1 @@
1
+ import{Qb as e}from"./app-BITOqoMA.js";import{t}from"./react-B9IgSVeK.js";var n=t(),r=(0,n.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`path`,{d:`M7.5 15L12.5 10L7.5 5`,stroke:`currentColor`,strokeWidth:`1.67`,strokeLinecap:`round`,strokeLinejoin:`round`})});function i({onSubmit:t,error:i,children:a,submitLabel:o,submittingLabel:s,isSubmitting:c,footer:l}){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(`form`,{onSubmit:t,className:`flex flex-col gap-4`,children:[i&&(0,n.jsx)(e,{tone:`error`,children:i}),(0,n.jsx)(`div`,{className:`flex flex-col gap-3`,children:a}),(0,n.jsxs)(`button`,{type:`submit`,disabled:c,className:`mt-2 inline-flex w-full cursor-pointer items-center justify-center gap-2 rounded-lg bg-[var(--primary-base)] px-6 py-3 text-sm font-medium text-[var(--content-inset)] transition-colors hover:bg-[var(--primary-hover)] disabled:cursor-wait disabled:opacity-50`,children:[c?s:o,r]})]}),l&&(0,n.jsx)(`div`,{className:`mt-8 text-center`,children:l})]})}function a(e){return(0,n.jsx)(`input`,{...e,className:`w-full rounded-lg border border-[var(--border-base)] bg-[var(--surface-overlay)] px-4 py-3 text-sm text-[var(--content-default)] outline-none placeholder:text-[var(--content-tertiary)] focus:border-[var(--primary-base)]/50`})}function o({title:e,subtitle:t}){return(0,n.jsxs)(`div`,{className:`mb-8 text-center`,children:[(0,n.jsx)(`h1`,{className:`mb-2 font-serif text-[2rem] font-bold italic text-[var(--content-default)]`,children:e}),t&&(0,n.jsx)(`p`,{className:`text-sm text-[var(--content-secondary)]`,children:t})]})}function s({children:e}){return(0,n.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-[var(--surface-base)]`,children:(0,n.jsx)(`div`,{className:`w-full max-w-[480px] px-6`,children:(0,n.jsx)(`div`,{className:`flex flex-col items-center gap-10`,children:(0,n.jsx)(`div`,{className:`w-full`,children:e})})})})}export{a as i,i as n,o as r,s as t};
@@ -0,0 +1,3 @@
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Jb as t,Jn as n,Kn as r,Ky as i,Xn as a,_r as o,bn as s,br as c,ex as l,ix as u,kn as d,qn as f,tx as p,vr as m,yr as h}from"./app-BITOqoMA.js";import{I as g,j as _}from"./vendor-DrQwXGxY.js";import{t as v,x as y}from"./react-B9IgSVeK.js";import{Ba as b,E as x,Gi as S,Li as C,N as w,Oi as T,Ot as E,Pi as D,Q as O,Rr as k,Ui as A,Wi as ee,Zn as te,_t as ne,fi as re,gt as ie,jr as ae,k as oe,pa as j,qa as M,xr as N,za as P}from"./icons-bnwMda87.js";import{i as se,n as ce,r as F,t as I}from"./metric-card-CZEIaxTH.js";import{t as le}from"./file-diff-view-CmFtjhBA.js";import{t as ue}from"./detail-panel-stop-button-_e3vdX7u.js";import{t as de}from"./status-badge-pill-rM0ANoC5.js";var fe=M(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),L=e(y(),1),R=``;function z(e,t){switch(e){case`complete`:case`completed`:return`completed`;case`failed`:case`error`:return`error`;case void 0:return t;default:return`running`}}function B(e){return(e.messageId?.startsWith(`local-marker-`)??!1)||(e.content?.startsWith(`↻ Steering: `)??!1)}function V(e){let t=e??``;return t.startsWith(`↻ Steering: `)?t.slice(o.length):t}function H(e){let t=e[e.length-1];t&&(t.kind===`agent`||t.kind===`thinking`)&&!t.isComplete&&(e[e.length-1]={...t,isComplete:!0})}function U(e,t){if(t.updateType===`agent_message_chunk`&&B(t)){H(e),e.push({kind:`user`,id:t.messageId??`steer-${e.length}`,content:V(t.content)});return}switch(t.updateType){case`user_message_chunk`:{let n=t.messageId??R,r=V(t.content),i=e[e.length-1];i&&i.kind===`user`&&i.id===n?e[e.length-1]={...i,content:i.content+r}:(H(e),e.push({kind:`user`,id:n,content:r}));let a=e[e.length-1].content;for(let t=0;t<e.length-1;t++){let n=e[t];if(n.kind===`user`&&n.id.startsWith(`local-marker-`)&&n.content===a){e.splice(t,1);break}}return}case`agent_message_chunk`:{let n=t.messageId??R,r=e[e.length-1];if(r&&r.kind===`agent`&&r.messageId===n){e[e.length-1]={...r,content:r.content+(t.content??``)};return}if(n!==R&&r&&r.kind===`agent`&&r.messageId===R&&!r.isComplete&&r.content===(t.content??``)){e[e.length-1]={...r,messageId:n};return}H(e),e.push({kind:`agent`,messageId:n,content:t.content??``,isComplete:!1});return}case`agent_thought_chunk`:{let n=t.messageId??R,r=e[e.length-1];if(r&&r.kind===`thinking`&&r.messageId===n){e[e.length-1]={...r,content:r.content+(t.content??``)};return}H(e),e.push({kind:`thinking`,messageId:n,content:t.content??``,isComplete:!1});return}case`tool_call`:{let n=t.toolCallId;if(n===void 0)return;H(e),e.push({kind:`tool`,toolCallId:n,title:t.toolTitle??``,toolKind:t.toolKind,status:z(t.toolStatus,`running`),content:t.content,locations:W(t),rawInput:t.rawInput,rawOutput:t.rawOutput});return}case`tool_call_update`:{let n=t.toolCallId;if(n===void 0)return;let r=e.findIndex(e=>e.kind===`tool`&&e.toolCallId===n);if(r===-1)return;let i=e[r],a=W(t);e[r]={...i,title:t.toolTitle??i.title,toolKind:t.toolKind??i.toolKind,status:z(t.toolStatus,i.status),content:t.content??i.content,locations:a??i.locations,rawInput:t.rawInput===void 0?i.rawInput:t.rawInput,rawOutput:t.rawOutput===void 0?i.rawOutput:t.rawOutput};return}case`plan`:{let n=pe(t.content);if(n===null)return;let r=e.findIndex(e=>e.kind===`plan`),i={kind:`plan`,entries:n};r===-1?(H(e),e.push(i)):e[r]=i;return}}}function W(e){let t=e.locations;if(!Array.isArray(t))return;let n=[];for(let e of t){let t=e??{};typeof t.path==`string`&&n.push(typeof t.line==`number`?{path:t.path,line:t.line}:{path:t.path})}return n}function pe(e){if(!e)return null;let t;try{t=JSON.parse(e)}catch{return null}let n=Array.isArray(t)?t:Array.isArray(t?.entries)?t.entries:null;return n===null?null:n.map(e=>{let t=e??{},n=t.content??t.label??``;return{label:typeof n==`string`?n:String(n),checked:t.checked===!0||t.status===`completed`}})}function me(e){let t=[];for(let n of e)U(t,n);return t}function he(e,t){if(e===t)return{kind:`identity`};if(e===null)return{kind:`first`};if(t.length<e.length)return{kind:`fallback`};for(let n=0;n<e.length;n++)if(e[n]!==t[n])return n===e.length-1&&t.length===e.length?{kind:`mutate-last`}:{kind:`fallback`};return t.length===e.length?{kind:`identity`}:{kind:`append`,from:e.length}}function ge(){let e=null,t=[];function n(n){return t=me(n),e=n,t}function r(r){let i=he(e,r);switch(i.kind){case`identity`:return t;case`first`:return n(r);case`append`:{let n=t.slice();for(let e=i.from;e<r.length;e++)U(n,r[e]);return e=r,t=n,t}case`mutate-last`:case`fallback`:return n(r)}}return{project:r}}function _e(e){let t=(0,L.useRef)(null);return t.current??=ge(),t.current.project(e)}function G(e){if(!e)return[];let t;try{t=JSON.parse(e)}catch{let t=e.trimStart();return t.startsWith(`{`)||t.startsWith(`[`)?[]:[{type:`content`,text:e}]}let n=Array.isArray(t)?t:[t],r=[];for(let e of n){let t=ve(e);t&&r.push(t)}return r}function ve(e){if(typeof e!=`object`||!e)return null;let t=e;switch(t.type){case`content`:return{type:`content`,text:ye(t.content)};case`diff`:return typeof t.path!=`string`||typeof t.newText!=`string`?null:{type:`diff`,path:t.path,newText:t.newText,...typeof t.oldText==`string`?{oldText:t.oldText}:{}};case`terminal`:{let e=be(t);return e===void 0?{type:`terminal`}:{type:`terminal`,text:e}}default:return null}}function ye(e){if(typeof e==`string`)return e;if(typeof e==`object`&&e){let t=e.text;if(typeof t==`string`)return t}return``}function be(e){if(typeof e.text==`string`)return e.text;if(typeof e.output==`string`)return e.output;if(typeof e.content==`string`)return e.content;if(typeof e.content==`object`&&e.content!==null){let t=e.content.text;if(typeof t==`string`)return t}}function K(e){if(typeof e!=`object`||!e)return;let t=e.command;return typeof t==`string`?t:void 0}function q(e){return G(e).filter(e=>e.type===`content`||e.type===`terminal`).map(e=>`text`in e?e.text??``:``).filter(e=>e.length>0).join(`
2
+ `)}function J(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`object`)try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)}}function Y(e,t){let n=new Map;for(let t of e)t.type===`diff`&&n.set(t.path,{path:t.path,newText:t.newText,...t.oldText===void 0?{}:{oldText:t.oldText}});for(let e of t??[])n.has(e.path)||n.set(e.path,{path:e.path});return Array.from(n.values())}var X=v();function Z({content:e,isComplete:t,assistantId:n}){return(0,X.jsxs)(`div`,{"data-testid":`acp-chat-agent-message`,className:`flex w-full flex-col items-start text-chat text-[var(--content-default)]`,children:[(0,X.jsx)(s,{content:e,assistantId:n}),!t&&(0,X.jsx)(d,{className:`mt-1`,"data-testid":`acp-chat-agent-streaming`})]})}function xe({entries:e}){let{t}=_(`chat`);return e.length===0?null:(0,X.jsxs)(`div`,{"data-testid":`acp-chat-plan-block`,className:`w-full rounded-lg border border-[var(--border-base)] bg-[var(--surface-overlay)] p-3`,children:[(0,X.jsxs)(`div`,{className:`mb-2 flex items-center gap-1.5 text-[var(--content-tertiary)]`,children:[(0,X.jsx)(te,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}),(0,X.jsx)(l,{variant:`body-small-emphasised`,className:`text-inherit`,children:t(`acpChatPlanBlock.plan`)})]}),(0,X.jsx)(`ul`,{className:`flex flex-col gap-1.5`,children:e.map((e,t)=>(0,X.jsxs)(`li`,{"data-testid":`acp-chat-plan-entry`,"data-checked":e.checked,className:`flex items-start gap-2`,children:[e.checked?(0,X.jsx)(C,{"aria-hidden":!0,className:`mt-0.5 h-4 w-4 shrink-0 text-[var(--system-positive-strong)]`}):(0,X.jsx)(T,{"aria-hidden":!0,className:`mt-0.5 h-4 w-4 shrink-0 text-[var(--content-disabled)]`}),(0,X.jsx)(`span`,{className:e.checked?`text-body-small-default text-[var(--content-tertiary)] line-through`:`text-body-small-default text-[var(--content-default)]`,children:e.label})]},t))})]})}function Se(e){switch(e){case`max_tokens`:case`max_turn_requests`:return g(`chat:acpChatTerminalBlock.stoppedLimitReached`);case`refusal`:return g(`chat:acpChatTerminalBlock.refused`);case`cancelled`:return g(`chat:acpChatTerminalBlock.cancelled`);default:return g(`chat:acpChatTerminalBlock.completed`)}}function Ce(e){return new Date(e).toLocaleTimeString([],{hour:`numeric`,minute:`2-digit`})}function Q({completedAt:e}){let{t}=_(`chat`);return e===void 0?null:(0,X.jsx)(`span`,{"data-testid":`acp-chat-terminal-time`,children:t(`acpChatTerminalBlock.atTime`,{time:Ce(e)})})}function we({status:e,stopReason:t,error:n,completedAt:r}){let{t:i}=_(`chat`);if(c(e))return null;if(e===`failed`)return(0,X.jsxs)(`div`,{"data-testid":`acp-chat-terminal-block`,"data-terminal-kind":`failed`,className:`flex items-start gap-2 rounded-md bg-[var(--system-negative-weak)] px-3 py-2 text-body-small-default text-[var(--system-negative-strong)]`,children:[(0,X.jsx)(`span`,{"aria-hidden":!0,"data-testid":`acp-chat-terminal-failed-icon`,className:`flex h-[12px] w-4 shrink-0 items-center justify-center`,children:(0,X.jsx)(x,{className:`h-4 w-4`})}),(0,X.jsx)(`span`,{children:n??i(`acpChatTerminalBlock.runFailed`)})]});if(e===`cancelled`)return(0,X.jsxs)(`div`,{"data-testid":`acp-chat-terminal-block`,"data-terminal-kind":`cancelled`,className:`flex items-center gap-2 text-body-small-default text-[var(--content-tertiary)]`,children:[(0,X.jsx)(D,{"aria-hidden":!0,className:`h-4 w-4 shrink-0`}),(0,X.jsx)(`span`,{children:i(`acpChatTerminalBlock.cancelled`)}),(0,X.jsx)(Q,{completedAt:r})]});let a=Se(t);return(0,X.jsxs)(`div`,{"data-testid":`acp-chat-terminal-block`,"data-terminal-kind":`completed`,className:`flex items-center gap-2 text-body-small-default text-[var(--content-tertiary)]`,children:[(0,X.jsx)(C,{"aria-hidden":!0,className:`h-4 w-4 shrink-0 text-[var(--system-positive-strong)]`}),(0,X.jsx)(`span`,{children:a}),(0,X.jsx)(Q,{completedAt:r})]})}function Te({showDot:e,isLast:t,children:n}){return(0,X.jsxs)(`div`,{className:`relative flex items-start gap-2${t?``:` pb-4`}`,children:[!t&&(0,X.jsx)(`div`,{"aria-hidden":!0,className:`absolute bottom-0 left-[6.5px] w-px bg-[var(--border-element)] ${e?`top-[16px]`:`top-0`}`}),e?(0,X.jsx)(`span`,{"aria-hidden":!0,"data-testid":`acp-chat-timeline-dot`,className:`flex h-[14px] w-[14px] shrink-0 items-center justify-center`,children:(0,X.jsx)(`span`,{className:`h-[5px] w-[5px] rounded-full bg-[var(--content-disabled)]`})}):(0,X.jsx)(`span`,{"aria-hidden":!0,className:`h-[14px] w-[14px] shrink-0`}),(0,X.jsx)(`div`,{className:`min-w-0 flex-1`,children:n})]})}function Ee({content:e,isComplete:t,assistantId:n}){let[r,i]=(0,L.useState)(null),a=r??!t,o=e.trim().length>0,c=t?`Thought process`:`Thinking`,l=t?(0,X.jsx)(j,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}):(0,X.jsx)(d,{dotSize:5,className:`shrink-0`,"data-testid":`acp-chat-thinking-streaming`});return o?(0,X.jsxs)(`div`,{"data-testid":`acp-chat-thinking-block`,className:`w-full`,children:[(0,X.jsxs)(`button`,{type:`button`,"aria-expanded":a,onClick:()=>i(!a),"data-testid":`acp-chat-thinking-toggle`,className:`flex w-full items-center gap-1.5 text-body-small-default text-[var(--content-tertiary)] transition-colors hover:text-[var(--content-secondary)]`,children:[a?(0,X.jsx)(S,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}):(0,X.jsx)(A,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}),l,(0,X.jsx)(`span`,{children:c})]}),a&&(0,X.jsx)(`div`,{"data-testid":`acp-chat-thinking-body`,className:`mt-1.5 border-l-2 border-[var(--border-base)] pl-3 text-body-small-default text-[var(--content-tertiary)]`,children:(0,X.jsx)(s,{content:e,assistantId:n})})]}):(0,X.jsx)(`div`,{"data-testid":`acp-chat-thinking-block`,className:`w-full`,children:(0,X.jsxs)(`div`,{className:`flex w-full items-center gap-1.5 text-body-small-default text-[var(--content-tertiary)]`,children:[l,(0,X.jsx)(`span`,{children:c})]})})}var De={running:`neutral`,completed:`positive`,error:`negative`,ended:`neutral`},Oe={running:`Running`,completed:`Completed`,error:`Failed`,ended:`Ended`},ke={read:`Read file`,edit:`Edit file`,delete:`Delete file`,move:`Move file`,search:`Search`,execute:`Run command`,think:`Thinking`,fetch:`Fetch`,switch_mode:`Switch mode`},Ae=`Tool call`,je={read:k,edit:fe,delete:oe,move:ae,search:ne,execute:w,think:j,fetch:N,switch_mode:E},Me=new Set([`read`,`edit`,`delete`,`move`]);function Ne({toolKind:e}){return(0,X.jsx)(e&&je[e]||re,{"aria-hidden":!0,className:`h-4 w-4 shrink-0 text-[var(--content-tertiary)]`})}function $({label:e,value:t,testId:n}){return(0,X.jsxs)(`div`,{"data-testid":n,children:[(0,X.jsx)(`div`,{className:`mb-1 text-body-small-default text-[var(--content-tertiary)]`,children:e}),(0,X.jsx)(`pre`,{className:`max-h-60 overflow-auto rounded-md border border-[var(--border-element)] bg-[var(--surface-base)] p-2.5 font-mono text-body-small-default text-[var(--content-secondary)]`,children:t})]})}function Pe({block:e,isTerminal:n=!1,onOpenDiff:r,onOpenOutput:i}){let{t:a}=_(`chat`),[o,s]=(0,L.useState)(!1),c=(0,L.useMemo)(()=>G(e.content),[e.content]),u=(0,L.useMemo)(()=>q(e.content),[e.content]),f=(0,L.useMemo)(()=>u.split(`
3
+ `).map(e=>e.trim()).find(e=>e.length>0&&!e.startsWith("```"))||`View output`,[u]),p=(0,L.useMemo)(()=>Y(c,e.locations),[c,e.locations]),m=n&&e.status===`running`?`ended`:e.status,h=m===`running`,g=e.toolKind&&ke[e.toolKind]||Ae,v=K(e.rawInput)??e.title,y=v&&v!==g&&(!Me.has(e.toolKind??``)||p.length===0)?v:null,b=J(e.rawInput),x=J(e.rawOutput),C=b!==void 0||x!==void 0;return(0,X.jsxs)(`div`,{"data-testid":`acp-chat-tool-card`,"data-status":e.status,className:`w-full rounded-lg border border-[var(--border-base)] bg-[var(--surface-overlay)] p-3`,children:[(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(Ne,{toolKind:e.toolKind}),(0,X.jsx)(l,{variant:`body-small-emphasised`,className:`min-w-0 flex-1 truncate text-[var(--content-default)]`,title:e.title,children:g}),(0,X.jsx)(t,{tone:De[m],"data-testid":`acp-chat-tool-status`,children:Oe[m]}),h&&(0,X.jsx)(d,{className:`shrink-0`,"data-testid":`acp-chat-tool-running`})]}),y&&(0,X.jsx)(`div`,{"data-testid":`acp-chat-tool-detail`,className:`mt-1.5 font-mono text-body-small-default whitespace-pre-wrap break-words text-[var(--content-secondary)]`,children:y}),p.length>0&&(0,X.jsx)(`div`,{className:`mt-2 flex flex-wrap gap-1.5`,children:p.map(t=>{let n=t.oldText!==void 0||t.newText!==void 0,i=`flex max-w-full items-center gap-1.5 rounded-md border border-[var(--border-base)] bg-[var(--surface-base)] px-2 py-1 text-body-small-default text-[var(--content-secondary)]`;return n?(0,X.jsxs)(`button`,{type:`button`,"data-testid":`acp-chat-tool-file-chip`,onClick:()=>r(e.toolCallId,t),title:t.path,className:`${i} cursor-pointer transition-colors hover:bg-[var(--surface-hover)] focus-visible:outline focus-visible:outline-2 focus-visible:outline-[var(--border-focus)]`,children:[(0,X.jsx)(k,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}),(0,X.jsx)(`span`,{className:`truncate font-mono`,children:t.path})]},t.path):(0,X.jsxs)(`span`,{"data-testid":`acp-chat-tool-file-ref`,title:t.path,className:i,children:[(0,X.jsx)(k,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}),(0,X.jsx)(`span`,{className:`truncate font-mono`,children:t.path})]},t.path)})}),u.length>0&&(0,X.jsxs)(`button`,{type:`button`,"data-testid":`acp-chat-tool-output-open`,onClick:()=>i?.(e.toolCallId),className:`mt-2 flex w-full items-center gap-2 rounded-md border border-[var(--border-element)] bg-[var(--surface-base)] px-2.5 py-2 text-left transition-colors hover:bg-[var(--surface-hover)] focus-visible:outline focus-visible:outline-2 focus-visible:outline-[var(--border-focus)]`,children:[(0,X.jsx)(w,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0 text-[var(--content-tertiary)]`}),(0,X.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-mono text-body-small-default text-[var(--content-secondary)]`,children:f}),(0,X.jsx)(A,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0 text-[var(--content-tertiary)]`})]}),C&&(0,X.jsxs)(`div`,{className:`mt-2`,"data-testid":`acp-chat-tool-raw`,children:[(0,X.jsxs)(`button`,{type:`button`,"data-testid":`acp-chat-tool-raw-toggle`,"aria-expanded":o,onClick:()=>s(e=>!e),className:`flex items-center gap-1 text-body-small-default text-[var(--content-tertiary)] transition-colors hover:text-[var(--content-default)]`,children:[o?(0,X.jsx)(S,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}):(0,X.jsx)(A,{"aria-hidden":!0,className:`h-3.5 w-3.5 shrink-0`}),(0,X.jsx)(`span`,{children:a(o?`acpChatToolCard.hideRaw`:`acpChatToolCard.showRaw`)})]}),o&&(0,X.jsxs)(`div`,{className:`mt-1.5 flex flex-col gap-2`,children:[b!==void 0&&(0,X.jsx)($,{label:a(`acpChatToolCard.rawInput`),value:b,testId:`acp-chat-tool-raw-input`}),x!==void 0&&(0,X.jsx)($,{label:a(`acpChatToolCard.rawOutput`),value:x,testId:`acp-chat-tool-raw-output`})]})]})]})}function Fe({content:e}){return(0,X.jsx)(`div`,{"data-testid":`acp-chat-user-turn`,className:`flex w-full justify-end`,children:(0,X.jsx)(`div`,{className:`max-w-[80%] rounded-lg bg-[var(--surface-lift)] px-4 py-3 whitespace-pre-wrap text-chat text-[var(--content-default)]`,children:e})})}function Ie({model:e,options:t}){let{t:n}=_(`chat`),r=t?.find(t=>t.value===e)?.label??e;return(0,X.jsx)(ce,{icon:(0,X.jsx)(O,{className:`h-4 w-4 shrink-0`,style:{color:`var(--content-secondary)`}}),value:r,valueTitle:r,label:n(`acpRunChatView.modelLabel`)})}function Le({content:e,assistantId:t}){return(0,X.jsx)(`div`,{"data-testid":`acp-chat-command-output`,className:`rounded-lg border border-[var(--border-base)] bg-[var(--surface-overlay)] p-3 [&_pre]:!max-h-none`,children:(0,X.jsx)(s,{content:q(e),hardLineBreaks:!0,assistantId:t})})}var Re=80;function ze(e){return e.scrollHeight-e.clientHeight-e.scrollTop<=Re}function Be(e){let t=(0,L.useRef)(null),n=(0,L.useRef)(!0),[r,i]=(0,L.useState)(!1),a=(0,L.useCallback)(()=>{let e=t.current;e&&(e.scrollTop=e.scrollHeight)},[]),o=(0,L.useCallback)(()=>{let e=t.current;if(!e)return;let r=ze(e);n.current=r,i(e=>e===!r?e:!r)},[]),s=(0,L.useCallback)(()=>{n.current=!0,a(),i(!1)},[a]),c=(0,L.useCallback)(e=>{let r=t.current;r&&r.removeEventListener(`scroll`,o),t.current=e,e&&(e.addEventListener(`scroll`,o,{passive:!0}),n.current?e.scrollTop=e.scrollHeight:o())},[o]);return(0,L.useLayoutEffect)(()=>{n.current?a():o()},[e,a,o]),{scrollRef:c,showScrollToLatest:r,scrollToLatest:s}}function Ve(e,t){switch(e.kind){case`user`:return`user-${e.id||t}`;case`agent`:return`agent-${e.messageId||t}`;case`thinking`:return`thinking-${e.messageId||t}`;case`tool`:return`tool-${e.toolCallId}`;case`plan`:return`plan`}}var He=[];function Ue({entry:e,onClose:t,assistantId:n}){let{t:r}=_(`chat`),i=c(e.status),{model:a}=e,o=e.inputTokens!==void 0||e.outputTokens!==void 0,s=_e(m(t=>t.byId[e.acpSessionId]?.events??He)),[d,f]=(0,L.useState)(null),[h,g]=(0,L.useState)(e.acpSessionId);h!==e.acpSessionId&&(g(e.acpSessionId),f(null));let v=(0,L.useCallback)((e,t)=>f({kind:`diff`,toolCallId:e,path:t.path}),[]),y=(0,L.useCallback)(e=>f({kind:`output`,toolCallId:e}),[]),x=(0,L.useCallback)(()=>f(null),[]),S=(0,L.useMemo)(()=>d?s.find(e=>e.kind===`tool`&&e.toolCallId===d.toolCallId)??null:null,[d,s]),C=(0,L.useMemo)(()=>d?.kind!==`diff`||!S?null:Y(G(S.content),S.locations).find(e=>e.path===d.path)??null,[d,S]),w=d?.kind===`diff`?d.path:S?K(S.rawInput)??S.title??`Output`:`Output`,{scrollRef:T,showScrollToLatest:E,scrollToLatest:D}=Be((0,L.useMemo)(()=>({blocks:s,status:e.status,completedAt:e.completedAt}),[s,e.status,e.completedAt])),O=!i;return(0,X.jsxs)(`div`,{className:`flex h-full flex-col overflow-hidden rounded-xl bg-[var(--surface-lift)]`,children:[d&&(0,X.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 border-b border-[var(--border-hover)] px-5 py-3`,children:[(0,X.jsx)(`button`,{type:`button`,onClick:x,title:e.agent,className:`min-w-0 shrink cursor-pointer truncate text-left text-[var(--content-default)] hover:underline`,children:(0,X.jsx)(l,{variant:`body-small-default`,as:`span`,children:e.agent})}),(0,X.jsx)(A,{className:`h-2.5 w-2.5 shrink-0 text-[var(--content-tertiary)]`,"aria-hidden":!0}),(0,X.jsx)(l,{variant:`body-small-default`,as:`span`,title:w,className:`min-w-0 shrink truncate font-mono text-[var(--content-secondary)]`,children:w})]}),(0,X.jsx)(We,{entry:e,isRunning:i,onClose:t,showBack:!!d,onBack:x},`header-${e.acpSessionId}`),d?(0,X.jsx)(`div`,{className:`flex-1 overflow-y-auto px-5 py-5`,children:d.kind===`diff`?(0,X.jsx)(le,{path:d.path,oldText:C?.oldText,newText:C?.newText}):(0,X.jsx)(Le,{content:S?.content,assistantId:n})}):(0,X.jsxs)(`div`,{className:`relative min-h-0 flex-1`,children:[(0,X.jsxs)(`div`,{ref:T,"data-testid":`acp-chat-conversation`,className:`flex h-full flex-col gap-4 overflow-y-auto px-5 py-5`,children:[(o||a!==void 0)&&(0,X.jsxs)(`div`,{className:u(`grid gap-3`,o?`grid-cols-2`:`grid-cols-1`),"data-testid":`acp-run-metrics`,children:[o&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(I,{icon:(0,X.jsx)(b,{className:`h-4 w-4 shrink-0`,style:{color:`var(--content-secondary)`}}),target:e.inputTokens??0,format:e=>F(Math.round(e)),label:r(`acpRunChatView.inputLabel`)}),(0,X.jsx)(I,{icon:(0,X.jsx)(se,{className:`h-4 w-4 shrink-0`,style:{color:`var(--content-secondary)`}}),target:e.outputTokens??0,format:e=>F(Math.round(e)),label:r(`acpRunChatView.outputLabel`)})]}),a!==void 0&&(0,X.jsx)(`div`,{className:o?`col-span-2`:void 0,children:(0,X.jsx)(Ie,{model:a,options:e.availableModels})})]}),(0,X.jsx)(Ge,{task:e.task}),(0,X.jsx)(`div`,{className:`flex flex-col`,"data-testid":`acp-chat-timeline`,children:s.map((e,t)=>(0,X.jsx)(Te,{showDot:t===0||t===s.length-1||e.kind===`tool`||e.kind===`plan`,isLast:t===s.length-1,children:(0,X.jsx)(Ke,{block:e,isTerminal:O,onOpenDiff:v,onOpenOutput:y,assistantId:n})},Ve(e,t)))}),!i&&(0,X.jsx)(we,{status:e.status,stopReason:e.stopReason,error:e.error,completedAt:e.completedAt})]}),E&&(0,X.jsx)(p,{variant:`outlined`,size:`compact`,iconOnly:(0,X.jsx)(P,{}),onClick:D,"aria-label":r(`acpRunChatView.goToNewest`),tooltip:r(`acpRunChatView.goToNewest`),"data-testid":`acp-chat-scroll-to-latest`,className:`absolute bottom-3 left-1/2 -translate-x-1/2 rounded-full shadow-md`})]}),i&&!d&&(0,X.jsx)(qe,{acpSessionId:e.acpSessionId},`steer-${e.acpSessionId}`)]})}function We({entry:e,isRunning:t,onClose:r,showBack:o=!1,onBack:s}){let{t:c}=_(`chat`),[l,u]=(0,L.useState)(!1),d=h(e.status,e.stopReason),m=(0,L.useCallback)(()=>{u(!0),f(e.acpSessionId).catch(e=>{u(!1),i(e,{context:`AcpRunChatView.stop`})})},[e.acpSessionId]);return(0,X.jsx)(a,{icon:(0,X.jsxs)(X.Fragment,{children:[o&&(0,X.jsx)(p,{variant:`outlined`,iconOnly:(0,X.jsx)(ee,{}),onClick:s,"aria-label":c(`acpRunChatView.backToConversationAria`),tooltip:c(`acpRunChatView.backTooltip`),"data-testid":`acp-chat-diff-back`,className:`shrink-0`}),(0,X.jsx)(n,{agent:e.agent,className:`h-5 w-5 shrink-0`})]}),title:e.agent,headerTrailing:(0,X.jsx)(de,{color:d.color,label:d.label}),headerActions:t?(0,X.jsx)(ue,{onStop:m,ariaLabel:c(`acpRunChatView.stopRunAria`),disabled:l}):void 0,closeLabel:c(`acpRunChatView.closeRunDetail`),onClose:r})}function Ge({task:e}){let{t}=_(`chat`);return e?(0,X.jsxs)(`div`,{"data-testid":`acp-chat-objective`,children:[(0,X.jsx)(l,{variant:`body-medium-default`,as:`h3`,className:`mb-1 text-[var(--content-emphasised)]`,children:t(`acpRunChatView.objective`)}),(0,X.jsx)(l,{variant:`body-medium-lighter`,as:`p`,className:`whitespace-pre-wrap break-words leading-relaxed text-[var(--content-default)]`,children:e}),(0,X.jsx)(`div`,{className:`mt-4 h-px w-full bg-[var(--border-hover)]`})]}):null}function Ke({block:e,isTerminal:t,onOpenDiff:n,onOpenOutput:r,assistantId:i}){switch(e.kind){case`user`:return(0,X.jsx)(Fe,{content:e.content});case`agent`:return(0,X.jsx)(Z,{content:e.content,isComplete:e.isComplete||t,assistantId:i});case`thinking`:return(0,X.jsx)(Ee,{content:e.content,isComplete:e.isComplete||t,assistantId:i});case`tool`:return(0,X.jsx)(Pe,{block:e,isTerminal:t,onOpenDiff:n,onOpenOutput:r});case`plan`:return(0,X.jsx)(xe,{entries:e.entries})}}function qe({acpSessionId:e}){let{t}=_(`chat`),[n,a]=(0,L.useState)(``),[s,c]=(0,L.useState)(!1);return(0,X.jsx)(`form`,{onSubmit:(0,L.useCallback)(t=>{t.preventDefault();let l=n.trim();if(!l||s)return;c(!0);let u=m.getState().appendLocalMarker({acpSessionId:e,content:`${o}${l}`});r(e,l).then(()=>a(``)).catch(t=>{u&&m.getState().removeLocalMarker({acpSessionId:e,markerId:u}),i(t,{context:`AcpRunChatView.steer`})}).finally(()=>c(!1))},[n,s,e]),"data-testid":`acp-chat-steer-form`,className:`sticky bottom-0 z-10 shrink-0 border-t border-[var(--border-hover)] bg-[var(--surface-lift)] px-5 py-3`,children:(0,X.jsxs)(`div`,{className:`flex items-center gap-2 rounded-md bg-[var(--surface-base)] px-3 py-2`,children:[(0,X.jsx)(`input`,{type:`text`,value:n,onChange:e=>a(e.target.value),placeholder:t(`acpRunChatView.steerPlaceholder`),disabled:s,"aria-label":t(`acpRunChatView.steerAria`),className:`text-body-medium-default min-w-0 flex-1 bg-transparent text-[color:var(--content-default)] placeholder:text-[color:var(--content-tertiary)] focus:outline-none disabled:opacity-50`}),(0,X.jsx)(p,{type:`submit`,variant:`primary`,size:`compact`,iconOnly:(0,X.jsx)(ie,{}),disabled:s||n.trim()===``,"aria-label":t(`acpRunChatView.sendSteerAria`),className:`shrink-0`})]})})}function Je({entry:e,onClose:t,assistantId:n}){return(0,X.jsx)(Ue,{entry:e,onClose:t,assistantId:n})}export{Je as AcpRunDetailPanel};
@@ -0,0 +1 @@
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Js as t,Ry as n,a as r,c as i,di as a,fi as o,l as s,pi as c,s as l,xv as u}from"./app-BITOqoMA.js";import{j as d}from"./vendor-DrQwXGxY.js";import{f,r as p,t as m,x as h}from"./react-B9IgSVeK.js";var g=e(h(),1),_=m();function v(){let e=f(),{t:m}=d(`activation`),h=u.use.activeAssistantId(),v=a(),y=c(),{data:b}=o(),{starters:x,items:S}=s(v??``),{launch:C,pendingTaskIds:w}=i(v??``),T=(0,g.useMemo)(()=>[...x,...S],[x,S]),E=(0,g.useCallback)(async n=>{l(await C(n),m,n=>{t(e,n)})},[C,e,m]);return v===null?y?(0,_.jsx)(p,{to:n.assistant,replace:!0}):null:(0,_.jsx)(r,{tasks:T,progress:b?.tasks,pendingTaskIds:w,onLaunch:e=>{E(e)},onOpenConversation:n=>{t(e,n)},assistantId:h??void 0})}export{v as ActivationListRoute};
@@ -0,0 +1 @@
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ry as t}from"./app-BITOqoMA.js";import{d as n,f as r,x as i}from"./react-B9IgSVeK.js";var a=e(i(),1);function o(){let e=r(),{search:i,hash:o}=n();return(0,a.useEffect)(()=>{e(`${t.assistant}${i}${o}`,{replace:!0})},[e,i,o]),null}export{o as ActivityRedirectPage};
@@ -0,0 +1 @@
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Er as t,Fn as n,Ft as r,In as i,It as a,Nn as o,Pn as s,Qn as c,Rn as l,Rt as u,St as d,Vn as f,Yn as p,_n as m,_t as h,bn as g,bt as _,ex as v,gt as y,ht as b,jn as x,mt as S,pc as C,tx as w,vr as T,wt as E,xt as D,yt as O,zt as k}from"./app-BITOqoMA.js";import{j as A}from"./vendor-DrQwXGxY.js";import{t as j,x as M}from"./react-B9IgSVeK.js";import{Wi as N}from"./icons-bnwMda87.js";import{a as P,n as F,t as I}from"./tool-detail-panel-YsS7uZ-l.js";import{t as L}from"./use-transcript-message-by-id-DeUrZnXv.js";var R=e(M(),1);function z(e,t,n){let i=a(t,n.workflow),o=e=>{let t=k(e,n.workflow.byToolUseId);if(t!==null&&i.has(t))return!0;let a=r(e,n.acpByToolUseId);if(a!==null&&n.acpById[a]!==void 0)return!0;let o=u(e);return o!==void 0&&n.backgroundTaskById[o]!==void 0},s=t.filter(e=>!o(e));if(s.length===t.length)return{items:e,toolCalls:t};let c=new Set(s.map(e=>e.id));return{items:e.filter(e=>e.kind!==`toolCall`||c.has(e.toolCall.id)),toolCalls:s}}function B(e,r){let a=L(e),o=m(),c=C.use.byId(),l=C.use.byToolUseId(),u=C.use.notFoundRunIds(),d=C.use.hydrationFailedRunIds(),f=T.use.byId(),p=T.use.byToolUseId(),h=t.use.byId();return(0,R.useMemo)(()=>{if(!a||r==null)return null;let e=n(a.contentBlocks??[],i(a,o))[r];if(!e||e.type!==`activity`)return null;let{cardItems:t,toolCalls:m}=s(e.items);return z(t,m,{workflow:{byId:c,byToolUseId:l,notFoundRunIds:u,hydrationFailedRunIds:d},acpById:f,acpByToolUseId:p,backgroundTaskById:h})},[a,r,o,c,l,u,d,f,p,h])}var V=j(),H=60;function U({payload:e,onClose:t,assistantId:n}){let{t:r}=A(`chat`),[i,a]=(0,R.useState)(null),o=B(e.messageId,e.groupIndex),s=o?.items??e.items,l=o?.toolCalls??e.toolCalls,u=h(s),d=b(u.steps),f=y(u.state,u.steps),m=f===`loading`,g=S(f,u.totalDurationLabel??``,d.failed),_=m&&u.currentStepTitle||g,C=new Map(l.map(e=>[e.id,e]));return(0,V.jsx)(p,{icon:i?(0,V.jsx)(w,{variant:`outlined`,iconOnly:(0,V.jsx)(N,{}),"aria-label":r(`activityStepsPanel.backAria`),tooltip:r(`activityStepsPanel.backTooltip`),onClick:()=>a(null),className:`shrink-0`}):void 0,titleNode:i?i.kind===`thinking`?(0,V.jsx)(v,{variant:`title-medium`,className:`min-w-0 shrink truncate py-0.5 leading-snug text-[var(--content-default)]`,children:r(`activityStepsPanel.thinkingTitle`)}):(0,V.jsx)(F,{detail:i}):(0,V.jsx)(c,{title:m?(0,V.jsx)(x,{children:_}):_,count:u.stepCount}),closeLabel:r(`activityStepsPanel.closeSteps`),onClose:t,children:i?(0,V.jsx)(G,{detail:i,assistantId:n}):(0,V.jsx)(E,{steps:u.steps,timeline:!0,renderStep:t=>(0,V.jsx)(W,{step:t,activeDetail:i,onOpenDetail:a,lookupToolCall:e=>C.get(e),messageId:e.messageId,groupIndex:e.groupIndex})})})}function W({step:e,activeDetail:t,onOpenDetail:n,lookupToolCall:r,messageId:i,groupIndex:a}){let{t:s}=A(`chat`);if(e.kind===`thinking`){let t=i!=null&&e.thinkingItemIndex!=null?{messageId:i,thinkingGroupIndex:a,thinkingItemIndex:e.thinkingItemIndex}:{};return(0,V.jsx)(D,{iconName:`brain`,label:f(l(e.text),H),ariaLabel:s(`activityStepsPanel.viewThinkingAria`),active:!1,onClick:()=>n({kind:`thinking`,toolCallId:``,toolName:``,title:s(`activityStepsPanel.thinkingTitle`),activity:``,input:{},status:`completed`,thinkingText:e.text,...t})})}if(e.kind===`web_search`)return(0,V.jsx)(_,{step:e});if(e.kind===`web_search_error`)return(0,V.jsx)(O,{step:e});if(e.kind!==`tool`)return(0,V.jsx)(d,{step:e});let c=r(e.toolCallId);return(0,V.jsx)(D,{iconName:e.iconName,label:e.activity||e.info||e.title,active:t?.toolCallId===e.toolCallId,onClick:()=>{c&&n(o(c))}})}function G({detail:e,assistantId:t}){let n=P(e.kind===`thinking`?e.messageId:void 0,e.thinkingGroupIndex,e.thinkingItemIndex);return(0,V.jsx)(`div`,{className:`flex flex-col gap-4`,children:e.kind===`thinking`?(0,V.jsx)(g,{content:n??e.thinkingText??``,hardLineBreaks:!0,assistantId:t}):(0,V.jsx)(I,{detail:e,assistantId:t})})}export{U as ActivityStepsPanel};
@@ -0,0 +1 @@
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Bl as t,Lb as n,Rl as r,Ry as i,Tb as a,Tu as o,d_ as s,tx as c,u_ as l}from"./app-BITOqoMA.js";import{Jn as u,Zn as d,j as f}from"./vendor-DrQwXGxY.js";import{_ as p,d as m,n as h,t as g,x as _}from"./react-B9IgSVeK.js";import{Ui as v,Vi as y,qn as b}from"./icons-bnwMda87.js";import{n as x}from"./android-billing-handoff-ByE54gP3.js";import{t as S}from"./checkout-return-target-Cb7Ze-Od.js";var C=e(_(),1),w=g(),T=[`10.00`,`20.00`,`30.00`,`40.00`,`50.00`,`60.00`,`70.00`,`80.00`,`90.00`,`100.00`];function E(e){let t=parseFloat(e);if(Number.isNaN(t))return`0 credits`;let n=t.toLocaleString(`en-US`,{minimumFractionDigits:2,maximumFractionDigits:2});return`${n.endsWith(`.00`)?n.slice(0,-3):n} credits`}function D(e){if(e&&typeof e==`object`){let t=e.amount;if(Array.isArray(t)&&typeof t[0]==`string`)return t[0]}return`Failed to create checkout session. Please try again.`}function O({open:e,onOpenChange:g}){let{t:_}=f(),{pathname:x}=m(),[O]=p(),k=O.toString()?`${x}?${O.toString()}`:x,{data:A,isLoading:j}=d(r()),M=A?.allowed_top_up_amounts?.length?A.allowed_top_up_amounts:T,[N,P]=(0,C.useState)(null),F=N&&M.includes(N)?N:M[0]??T[0],I=u(t());return(0,C.useEffect)(()=>s(()=>{g(!1)}),[g]),o(`deeplink.billingCheckoutComplete`,({flow:e})=>{e===`top_up`&&g(!1)}),(0,w.jsx)(n.Root,{open:e,onOpenChange:g,children:(0,w.jsxs)(n.Content,{size:`sm`,children:[(0,w.jsxs)(n.Header,{children:[(0,w.jsx)(n.Title,{children:_(`addCreditsModal.title`)}),(0,w.jsx)(n.Description,{children:_(`addCreditsModal.description`)})]}),(0,w.jsx)(n.Body,{children:(0,w.jsxs)(`div`,{className:`space-y-4`,children:[(0,w.jsxs)(`div`,{children:[(0,w.jsx)(`label`,{htmlFor:`add-credits-amount`,className:`block text-body-small-default text-[var(--content-tertiary)]`,children:_(`addCreditsModal.amount`)}),(0,w.jsx)(a,{id:`add-credits-amount`,value:F,onChange:e=>{P(e),I.isError&&I.reset()},disabled:j||!A,options:M.map(e=>({value:e,label:E(e)}))})]}),I.isError&&(0,w.jsxs)(`div`,{className:`flex items-center gap-2 text-body-small-default text-[var(--system-negative-strong)]`,children:[(0,w.jsx)(y,{className:`h-3.5 w-3.5 shrink-0`}),D(I.error)]}),(0,w.jsxs)(h,{to:i.settings.usageBillingConfigureTopUps,className:`flex items-center gap-1 text-body-small-default text-[var(--content-tertiary)] hover:text-[var(--content-secondary)]`,onClick:()=>g(!1),children:[_(`addCreditsModal.configureAutoReload`),(0,w.jsx)(v,{className:`size-4`})]}),(0,w.jsx)(`div`,{className:`h-px w-full bg-[var(--border-subtle)]`})]})}),(0,w.jsxs)(n.Footer,{children:[(0,w.jsx)(n.Close,{asChild:!0,children:(0,w.jsx)(c,{variant:`outlined`,children:_(`addCreditsModal.cancel`)})}),(0,w.jsx)(c,{variant:`primary`,leftIcon:I.isPending?(0,w.jsx)(b,{className:`animate-spin`}):void 0,onClick:()=>{I.isPending||I.mutate({body:{amount:F,return_path:k,return_target:S()}},{onSuccess:e=>{l(e.checkout_url)}})},disabled:I.isPending||j||!A,children:_(`addCreditsModal.continue`)})]})]})})}function k(e){return x({open:e.open,path:i.settings.usageBilling,onClose:()=>e.onOpenChange(!1)})?null:(0,w.jsx)(O,{...e})}export{k as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./add-credits-modal-CHzb7VIm.js";export{e as AddCreditsModal};