@vellumai/web 0.12.2-staging.4 → 0.12.2-staging.5

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 (198) hide show
  1. package/dist/assets/{a2a-invite-C-d__v0P.js → a2a-invite-D7Z1FvN-.js} +1 -1
  2. package/dist/assets/{about-page-BMTVVfA2.js → about-page-JRNWZ7kb.js} +1 -1
  3. package/dist/assets/{account-page-Bu04CQvW.js → account-page-Fw9S3qL2.js} +1 -1
  4. package/dist/assets/{account-shell-0TviHaBf.js → account-shell-BZp2-g1N.js} +1 -1
  5. package/dist/assets/{acp-run-detail-panel-w4reCx6D.js → acp-run-detail-panel-2Nc7KPDZ.js} +1 -1
  6. package/dist/assets/{activation-list-route-CSuVtIeq.js → activation-list-route-L2lNhfTD.js} +1 -1
  7. package/dist/assets/{activity-redirect-page-Cgmmb8Rc.js → activity-redirect-page-ClzSvQoo.js} +1 -1
  8. package/dist/assets/{activity-steps-panel-C26DS_qd.js → activity-steps-panel-DSJiB6_Z.js} +1 -1
  9. package/dist/assets/{add-credits-modal-IIKnKS9l.js → add-credits-modal-CAUxaNjZ.js} +1 -1
  10. package/dist/assets/add-credits-modal-CXZ_HMMM.js +1 -0
  11. package/dist/assets/{ai-page-_iWq21vC.js → ai-page-yAJ8z8PM.js} +1 -1
  12. package/dist/assets/{android-billing-handoff-BVx_2Qs0.js → android-billing-handoff-BxVpZpp4.js} +1 -1
  13. package/dist/assets/{api-key-screen-xui6n8NR.js → api-key-screen-Ccta6gO2.js} +1 -1
  14. package/dist/assets/{app-info-4gR8gnBC.js → app-info-Csu7V_TE.js} +1 -1
  15. package/dist/assets/app-p4YU9h0P.js +392 -0
  16. package/dist/assets/{archive-redirect-page-D1zUz-Kn.js → archive-redirect-page-CzxO3IP6.js} +1 -1
  17. package/dist/assets/{assistant-status-panel-B-woG0mJ.js → assistant-status-panel-WAUlzwkS.js} +1 -1
  18. package/dist/assets/auth-store-Ck1z7eSl.js +1 -0
  19. package/dist/assets/{auth-welcome-screen-BsYIoTpq.js → auth-welcome-screen-pfPKjv5w.js} +1 -1
  20. package/dist/assets/avatar-bundled-components-D1XVsaGL.js +1 -0
  21. package/dist/assets/{avatar-random-DTCQMspt.js → avatar-random-Cki-Ly_C.js} +2 -2
  22. package/dist/assets/{await-org-header-settled-euao9G4w.js → await-org-header-settled-6bT0rbUs.js} +1 -1
  23. package/dist/assets/{background-task-detail-panel-Bm7wkZ5w.js → background-task-detail-panel-BYCUOtG5.js} +1 -1
  24. package/dist/assets/{billing-page-BkUfkbYS.js → billing-page-DUNd0r_e.js} +3 -3
  25. package/dist/assets/{billing-redirect-page-A8_L7A4l.js → billing-redirect-page-Dl__amIR.js} +1 -1
  26. package/dist/assets/{bookmarks-page-Db3QFcDm.js → bookmarks-page-5HR6Klms.js} +1 -1
  27. package/dist/assets/{bundle-confirm-page-Cnb49ExR.js → bundle-confirm-page-BxHGHYtw.js} +1 -1
  28. package/dist/assets/{channel-transcript-panel-DFDoSX5e.js → channel-transcript-panel-O29G6BfM.js} +1 -1
  29. package/dist/assets/{channels-page-route-9NljMyj4.js → channels-page-route-BsAycszP.js} +1 -1
  30. package/dist/assets/{chat-info-panel-BENFQ0tW.js → chat-info-panel-C3GOJkgC.js} +1 -1
  31. package/dist/assets/{checkout-continuation-C38t4ayV.js → checkout-continuation-CI0HG33e.js} +1 -1
  32. package/dist/assets/{checkout-page-B6HAgaEv.js → checkout-page-KqQmNMqQ.js} +1 -1
  33. package/dist/assets/checkout-return-target-B4WZzAGx.js +1 -0
  34. package/dist/assets/command-palette-BPcXUSG_.js +1 -0
  35. package/dist/assets/{command-palette-BIYpDozl.js → command-palette-DxolRnp8.js} +1 -1
  36. package/dist/assets/{command-palette-window-page-BMC7dzK0.js → command-palette-window-page-B4sEAiOF.js} +1 -1
  37. package/dist/assets/{community-page-BxDoLG0_.js → community-page-OsB5Ahr9.js} +1 -1
  38. package/dist/assets/{companion-accent-pu5Xu8Z6.js → companion-accent-BhdiAsTr.js} +1 -1
  39. package/dist/assets/{companion-dock-zones-page-BEfMdIVO.js → companion-dock-zones-page-xJmPXMgY.js} +1 -1
  40. package/dist/assets/{companion-layout-Ye64fIzN.js → companion-layout-BPhlz6Wp.js} +1 -1
  41. package/dist/assets/{companion-popover-Bs6A6445.js → companion-popover-BsbCOPDj.js} +1 -1
  42. package/dist/assets/{companion-popover-page-7jpYeiIN.js → companion-popover-page-4ULIStvW.js} +1 -1
  43. package/dist/assets/{companion-surface-page-BrMY3X-F.js → companion-surface-page-BU0SxRLT.js} +1 -1
  44. package/dist/assets/{companion-watch-frame-page-Bk0N7E-g.js → companion-watch-frame-page-BwKy3_MW.js} +1 -1
  45. package/dist/assets/{connect-page-Bf8bYBAk.js → connect-page-BDVFjuF6.js} +1 -1
  46. package/dist/assets/{consent-controls-N6cnmytV.js → consent-controls-BXRj0Z62.js} +1 -1
  47. package/dist/assets/{contacts-gateway-C_BunUUf.js → contacts-gateway-jgC2hJQu.js} +1 -1
  48. package/dist/assets/{contacts-page-route-DIxMGBde.js → contacts-page-route-C8DyP00R.js} +1 -1
  49. package/dist/assets/{credential-entry-page-2ek7NaCu.js → credential-entry-page-DZm1DSNe.js} +1 -1
  50. package/dist/assets/{credentials-page-D3PvFMgc.js → credentials-page-BFptIyXc.js} +1 -1
  51. package/dist/assets/{csv-preview-BB-EmIxC.js → csv-preview-DYuTN03x.js} +1 -1
  52. package/dist/assets/{danger-zone-redirect-page-BVmYzrKj.js → danger-zone-redirect-page-BgNNmPcD.js} +1 -1
  53. package/dist/assets/{debug-page-CJOt0BAt.js → debug-page-CsudFgfJ.js} +1 -1
  54. package/dist/assets/{deploy-dialogs-BSCor8jx.js → deploy-dialogs-BXow2FID.js} +1 -1
  55. package/dist/assets/deploy-dialogs-Bh91S82o.js +1 -0
  56. package/dist/assets/{desktop-preview-content-BIp4Vpgt.js → desktop-preview-content-DZb6VLVc.js} +2 -2
  57. package/dist/assets/{desktop-status-CHoj8auj.js → desktop-status-Dg1h8ABX.js} +1 -1
  58. package/dist/assets/{desktop-viewer-86gYrlm2.js → desktop-viewer-38EXOmZ4.js} +1 -1
  59. package/dist/assets/{detail-card-CGafPdBQ.js → detail-card-BpqiAUnN.js} +1 -1
  60. package/dist/assets/{detail-panel-stop-button-BqhRaB6y.js → detail-panel-stop-button-BFDJ5Gir.js} +1 -1
  61. package/dist/assets/{detail-primitives-DIBzx3XJ.js → detail-primitives-CYiljnNr.js} +1 -1
  62. package/dist/assets/{developer-page-p4Ylxemb.js → developer-page-BIPONPKj.js} +1 -1
  63. package/dist/assets/{devices-redirect-page-BcyaUgzH.js → devices-redirect-page-DwI95Deo.js} +1 -1
  64. package/dist/assets/{dictation-overlay-page-C9yEcxKh.js → dictation-overlay-page-Du7FXduO.js} +1 -1
  65. package/dist/assets/{document-load-CZeb0od7.js → document-load-B4r-kmWD.js} +1 -1
  66. package/dist/assets/document-load-Bcy7cK7m.js +1 -0
  67. package/dist/assets/{document-viewer-page-L_O7lYHa.js → document-viewer-page-BzftukxE.js} +1 -1
  68. package/dist/assets/{emails-page-fgZebuJ7.js → emails-page-Cp6XS4Jh.js} +1 -1
  69. package/dist/assets/{environment-store-7mW8BRRm.js → environment-store-DXa_IPIU.js} +1 -1
  70. package/dist/assets/{file-diff-view-B9dRfPbB.js → file-diff-view-DIBSfwHd.js} +1 -1
  71. package/dist/assets/{file-editor-DtbuATs6.js → file-editor-gXTdPzcn.js} +1 -1
  72. package/dist/assets/{general-page-iMRa5Ucp.js → general-page-Du-jPHaf.js} +1 -1
  73. package/dist/assets/{hatching-screen-C9GXGQ2P.js → hatching-screen-BZup1IEp.js} +1 -1
  74. package/dist/assets/{hosting-screen-D8bCW4Uz.js → hosting-screen-B1uKDCEA.js} +1 -1
  75. package/dist/assets/{identity-page-route-D0fpi7db.js → identity-page-route-Cm6K_bBR.js} +1 -1
  76. package/dist/assets/{inspect-page-C2T5Wpgw.js → inspect-page-iBkyiBTD.js} +3 -3
  77. package/dist/assets/{integrations-page-3cwkXYyq.js → integrations-page-CVmr89JP.js} +1 -1
  78. package/dist/assets/{intelligence-layout-jyahyAWu.js → intelligence-layout-CzYFqgC5.js} +1 -1
  79. package/dist/assets/intelligence-layout-slots-store-C5ni0SPd.js +1 -0
  80. package/dist/assets/{keyboard-shortcuts-redirect-page-Bcl-FjyB.js → keyboard-shortcuts-redirect-page-VOpK_vkw.js} +1 -1
  81. package/dist/assets/{latest-assistant-text-HB3-JTrf.js → latest-assistant-text-CRS_nZkk.js} +1 -1
  82. package/dist/assets/{library-detail-page-DTptYQAF.js → library-detail-page-CYDXCYR7.js} +1 -1
  83. package/dist/assets/{library-page-D0OfVER_.js → library-page-DU9_fODf.js} +1 -1
  84. package/dist/assets/local-mode-BwMCd1ly.js +1 -0
  85. package/dist/assets/{login-page-BA3GjFvS.js → login-page-OqpqflhY.js} +1 -1
  86. package/dist/assets/{logout-page-Dp--IQJm.js → logout-page-B75MMPkh.js} +1 -1
  87. package/dist/assets/{logs-layout-C4SjgNAl.js → logs-layout-Dj1ybnfw.js} +1 -1
  88. package/dist/assets/{markdown-preview-CBu26q1U.js → markdown-preview-r7bRpgS4.js} +1 -1
  89. package/dist/assets/{media-preview-CrddXQMc.js → media-preview-ozDVMMcK.js} +1 -1
  90. package/dist/assets/{memory-page-route-BzLfpam9.js → memory-page-route-DSoeQ_G0.js} +1 -1
  91. package/dist/assets/{memory-router-playground-page-CP0Eurny.js → memory-router-playground-page-Cica9Nbb.js} +1 -1
  92. package/dist/assets/{message-files-panel-CDzpeEx4.js → message-files-panel-DwXYI7Vj.js} +1 -1
  93. package/dist/assets/{metric-card-Dkx47Ug0.js → metric-card-CRZNAmE4.js} +1 -1
  94. package/dist/assets/native-attachment-pickers-DH76HUOD.js +1 -0
  95. package/dist/assets/native-file-AwxfXJFy.js +1 -0
  96. package/dist/assets/{notifications-page-1r0ehmHL.js → notifications-page-8XrbAs9c.js} +1 -1
  97. package/dist/assets/{oauth-complete-page-D8yKCOVn.js → oauth-complete-page-B-oiboUF.js} +1 -1
  98. package/dist/assets/{oauth-popup-complete-page-DzPqlG80.js → oauth-popup-complete-page-DbkS3Ktn.js} +1 -1
  99. package/dist/assets/paired-platform-identity-BN-Q3FiP.js +1 -0
  100. package/dist/assets/{pairing-page-DhmG1Tkg.js → pairing-page-CL3aDKN8.js} +1 -1
  101. package/dist/assets/password-reset-page-9EUcZrPc.js +1 -0
  102. package/dist/assets/{pdf-file-preview-ElX646lL.js → pdf-file-preview-DWb95OOo.js} +1 -1
  103. package/dist/assets/{personality-page-DXW5MuRz.js → personality-page-Cd4rs_nw.js} +1 -1
  104. package/dist/assets/{personality-page-BqW5uuDF.js → personality-page-DRi1SkGz.js} +1 -1
  105. package/dist/assets/{personality-sliders-BuInNb35.js → personality-sliders-r9DH0oqr.js} +1 -1
  106. package/dist/assets/{plans-page-B87o5Bm-.js → plans-page-3TPIVG-V.js} +1 -1
  107. package/dist/assets/{platform-loopback-page--ynU4rVO.js → platform-loopback-page-6AkvXRD1.js} +1 -1
  108. package/dist/assets/{plugin-detail-page-lbmmlIpx.js → plugin-detail-page-C2PIC2NZ.js} +1 -1
  109. package/dist/assets/{plugins-page-BM44sOv4.js → plugins-page-Y18LhhDz.js} +1 -1
  110. package/dist/assets/plugins-surface-rSnCf7eu.js +1 -0
  111. package/dist/assets/{preview-error-B6mdXJ98.js → preview-error-BWXX5254.js} +1 -1
  112. package/dist/assets/{privacy-page-BqqU59zB.js → privacy-page-zDZFH9JY.js} +1 -1
  113. package/dist/assets/{privacy-screen-CW2gbeYL.js → privacy-screen-BdvoQ-DB.js} +1 -1
  114. package/dist/assets/{provider-callback-page-PVHvQXqC.js → provider-callback-page-CFS4DEY_.js} +1 -1
  115. package/dist/assets/{provider-key-fvCko3IH.js → provider-key-CYTAv7Kh.js} +1 -1
  116. package/dist/assets/{provider-signup-page-D6kN0d9F.js → provider-signup-page-C89a_7j5.js} +1 -1
  117. package/dist/assets/{quick-input-page-DMs0592w.js → quick-input-page-5f0AEU1o.js} +1 -1
  118. package/dist/assets/referral-modal-BciUQDfu.js +1 -0
  119. package/dist/assets/{referral-modal-C5ePy9XT.js → referral-modal-Dk1Vo23P.js} +1 -1
  120. package/dist/assets/{research-mock-page-D3X9Fw83.js → research-mock-page-DWfJd3UP.js} +1 -1
  121. package/dist/assets/{research-onboarding-route-Bk2Zl9y9.js → research-onboarding-route-Bd2vn3i5.js} +1 -1
  122. package/dist/assets/{review-terms-screen-CU9h0Gz5.js → review-terms-screen-M8IjrJH-.js} +1 -1
  123. package/dist/assets/routes-D_UALtH1.js +1 -0
  124. package/dist/assets/{schedules-Cslj2E_n.js → schedules-C83Ua4R6.js} +1 -1
  125. package/dist/assets/{schedules-page-7QBCwWLg.js → schedules-page-lT5NcWNK.js} +1 -1
  126. package/dist/assets/{security-redirect-page-D6C5fIZt.js → security-redirect-page-BcTO6hEV.js} +1 -1
  127. package/dist/assets/{select-assistant-screen-BO9WTRBj.js → select-assistant-screen-DAwfV-mz.js} +1 -1
  128. package/dist/assets/{self-hosted-servers-sqp6RgAQ.js → self-hosted-servers-BmfZpV_S.js} +1 -1
  129. package/dist/assets/{service-form-controls-C5nQsTzh.js → service-form-controls-B3_1_Epi.js} +1 -1
  130. package/dist/assets/{setting-row-Dqextrfj.js → setting-row-Dz9SXznO.js} +1 -1
  131. package/dist/assets/{settings-divider-D-IFmB_l.js → settings-divider-C1j4hJMG.js} +1 -1
  132. package/dist/assets/{settings-layout-Bh7MaZ4H.js → settings-layout-CQfyqDUr.js} +1 -1
  133. package/dist/assets/{share-feedback-modal-DsaGXNnY.js → share-feedback-modal-Ka1FQwFE.js} +1 -1
  134. package/dist/assets/share-feedback-modal-sGkJieen.js +1 -0
  135. package/dist/assets/{sidebar-tree-BgVhUiEU.js → sidebar-tree-BSRyDJ-e.js} +1 -1
  136. package/dist/assets/{signup-page-CzQJSqzn.js → signup-page-CcJHavhm.js} +1 -1
  137. package/dist/assets/{signup-shell-C1cGo11n.js → signup-shell-D9ohM8Rf.js} +1 -1
  138. package/dist/assets/{skill-detail-page-BN8Rwzuu.js → skill-detail-page-CGtKgK0P.js} +1 -1
  139. package/dist/assets/{skill-detail-panel-DVrh3t_h.js → skill-detail-panel-Bpl_9hRY.js} +1 -1
  140. package/dist/assets/{skill-removal-dialog-CkduZswH.js → skill-removal-dialog-C91c4ZfS.js} +1 -1
  141. package/dist/assets/{skills-page-DS76T-t4.js → skills-page-DpwPDybh.js} +1 -1
  142. package/dist/assets/{sounds-page-Bqrv7A7h.js → sounds-page-CzL0Egaq.js} +1 -1
  143. package/dist/assets/{start-screen-Cz9LflKA.js → start-screen-Cph32ejI.js} +1 -1
  144. package/dist/assets/{stt-language-picker-modal-Ckz32Oh1.js → stt-language-picker-modal-3iCIcD10.js} +1 -1
  145. package/dist/assets/{subagent-detail-panel-C2AI9zu4.js → subagent-detail-panel-DF4ZXV2K.js} +1 -1
  146. package/dist/assets/{superpowers-page-CMOvPhlc.js → superpowers-page-DmqxKZ6y.js} +1 -1
  147. package/dist/assets/{system-events-page-D0fUUNzD.js → system-events-page-BP_Rw924.js} +1 -1
  148. package/dist/assets/{system-events-redirect-page-Dr4-w7Y1.js → system-events-redirect-page-sLsausvS.js} +1 -1
  149. package/dist/assets/{text-preview-DozGQuv6.js → text-preview-CKO4jBfL.js} +1 -1
  150. package/dist/assets/{theme-stage-page-CcBBPfjV.js → theme-stage-page-BIBA5J8a.js} +1 -1
  151. package/dist/assets/{tiptap-document-editor-Db4_RKhj.js → tiptap-document-editor-C3jfHfr_.js} +1 -1
  152. package/dist/assets/{tool-detail-panel-CNNnmtM6.js → tool-detail-panel-BkWuCCm0.js} +1 -1
  153. package/dist/assets/tool-detail-panel-msAhgoxJ.js +1 -0
  154. package/dist/assets/{trait-cycle-row-C1uqLkCi.js → trait-cycle-row-leO22btH.js} +1 -1
  155. package/dist/assets/{upgrade-cancel-page-CKZWRtvT.js → upgrade-cancel-page-B0iduvhi.js} +1 -1
  156. package/dist/assets/{upgrade-success-page-CkXzT8Ty.js → upgrade-success-page-BClAIdZm.js} +1 -1
  157. package/dist/assets/{usage-redirect-page-CRrl2BDL.js → usage-redirect-page-BxTlrAZu.js} +1 -1
  158. package/dist/assets/{use-app-delete-CFfw_T0x.js → use-app-delete-Cj0xy5H5.js} +1 -1
  159. package/dist/assets/{use-assistant-identity-details-CGJTkSlu.js → use-assistant-identity-details-Bj-VqGPz.js} +1 -1
  160. package/dist/assets/{use-checkout-dismiss-refresh-DB9VdW8-.js → use-checkout-dismiss-refresh-Clbra-UV.js} +1 -1
  161. package/dist/assets/{use-edge-swipe-back-DYPOVsUT.js → use-edge-swipe-back-D1eHj9sf.js} +1 -1
  162. package/dist/assets/{use-hotkey-recorder-Cj-vFxW2.js → use-hotkey-recorder-KK0SXCtP.js} +1 -1
  163. package/dist/assets/{use-invite-link-dialog-B4f3yyUN.js → use-invite-link-dialog-BYTs8NpU.js} +1 -1
  164. package/dist/assets/{use-platform-assistant-id-D8KGJAMf.js → use-platform-assistant-id-B1MuVrYX.js} +1 -1
  165. package/dist/assets/{use-return-to-short-circuit-Db6fiXSQ.js → use-return-to-short-circuit-CkdO0Q2j.js} +1 -1
  166. package/dist/assets/{use-side-list-room-CSNBqjJu.js → use-side-list-room-BSP_B7R_.js} +1 -1
  167. package/dist/assets/{use-skill-actions-BNpUjvgz.js → use-skill-actions-Dk64pbQd.js} +1 -1
  168. package/dist/assets/{use-skill-detail-files-C5BA-Phb.js → use-skill-detail-files-DmOW_S89.js} +1 -1
  169. package/dist/assets/use-supports-credentials-settings-BSQpJ09k.js +1 -0
  170. package/dist/assets/{use-transcript-message-by-id-ZVUnXf5k.js → use-transcript-message-by-id-diLlPoiw.js} +1 -1
  171. package/dist/assets/{voice-page-DDLtbhsC.js → voice-page-0iijkFuD.js} +1 -1
  172. package/dist/assets/{wake-detail-panel-C5K2zAvp.js → wake-detail-panel-DaKaOAfd.js} +1 -1
  173. package/dist/assets/{weather-forecast-display-CWGsPOa9.js → weather-forecast-display-ChYkwma2.js} +1 -1
  174. package/dist/assets/{welcome-screen-DuUuJIJ2.js → welcome-screen-Dwra_l1I.js} +1 -1
  175. package/dist/assets/{workflow-detail-panel-D6ip8R9Y.js → workflow-detail-panel-CgyFYiiF.js} +1 -1
  176. package/dist/assets/{workspace-page-D_4QLZh3.js → workspace-page-D-ZvFFGb.js} +1 -1
  177. package/dist/index.html +1 -1
  178. package/package.json +1 -1
  179. package/dist/assets/add-credits-modal-Byhxttdb.js +0 -1
  180. package/dist/assets/app-DFXcEvsi.js +0 -392
  181. package/dist/assets/auth-store-BFk7tSVA.js +0 -1
  182. package/dist/assets/avatar-bundled-components-B-TO2nC_.js +0 -1
  183. package/dist/assets/checkout-return-target-CrM-Nhda.js +0 -1
  184. package/dist/assets/command-palette-Dj-GW7dm.js +0 -1
  185. package/dist/assets/deploy-dialogs-DY0pTVu1.js +0 -1
  186. package/dist/assets/document-load-B9O1A5E9.js +0 -1
  187. package/dist/assets/intelligence-layout-slots-store-CI7IhmZv.js +0 -1
  188. package/dist/assets/local-mode-Dve-u3Zf.js +0 -1
  189. package/dist/assets/native-attachment-pickers-DVsB4Q0l.js +0 -1
  190. package/dist/assets/native-file-BKR4KkJt.js +0 -1
  191. package/dist/assets/paired-platform-identity-C4IGgtxq.js +0 -1
  192. package/dist/assets/password-reset-page-7yc-z_Pf.js +0 -1
  193. package/dist/assets/plugins-surface-2i_lZYet.js +0 -1
  194. package/dist/assets/referral-modal-VQ2vsPTh.js +0 -1
  195. package/dist/assets/routes-NC2Xyogy.js +0 -1
  196. package/dist/assets/share-feedback-modal-D44y3KhU.js +0 -1
  197. package/dist/assets/tool-detail-panel-PjXqpW5b.js +0 -1
  198. package/dist/assets/use-supports-credentials-settings-DIKVOLU1.js +0 -1
@@ -1 +1 @@
1
- import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Tb as t}from"./app-DFXcEvsi.js";import{f as n,x as r}from"./react-B9IgSVeK.js";var i=e(r(),1);function a(){let e=n();return(0,i.useEffect)(()=>{e(`${t.settings.debug}?tab=archive`,{replace:!0})},[e]),null}export{a as ArchiveRedirectPage};
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Tb as t}from"./app-p4YU9h0P.js";import{f as n,x as r}from"./react-B9IgSVeK.js";var i=e(r(),1);function a(){let e=n();return(0,i.useEffect)(()=>{e(`${t.settings.debug}?tab=archive`,{replace:!0})},[e]),null}export{a as ArchiveRedirectPage};
@@ -1 +1 @@
1
- import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Cx as t,Hh as n,Lb as r,Pb as i,Vd as a,bm as o,et as s,rd as c}from"./app-DFXcEvsi.js";import{I as l,Zn as u,j as d}from"./vendor-DYOeoIwg.js";import{t as f,x as p}from"./react-B9IgSVeK.js";import{qn as m}from"./icons-QG1KAFmx.js";import"./environment-store-7mW8BRRm.js";var h=e(p(),1),g=f();function _({value:e,max:t,caption:n}){let r=t>0?Math.max(0,Math.min(e/t*100,100)):0,i=r>90;return(0,g.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,g.jsx)(`div`,{className:`h-2 w-full overflow-hidden rounded-full bg-[var(--surface-active)]`,children:(0,g.jsx)(`div`,{className:`h-full rounded-full transition-[width] duration-200`,style:{width:`${r}%`,backgroundColor:i?`var(--system-negative-strong)`:`var(--system-positive-strong)`}})}),n&&(0,g.jsx)(`span`,{className:`text-label-medium-default text-[var(--content-tertiary)]`,children:n})]})}var v=7,y=2e3;function b(e){let t=(0,h.useRef)(0),n=(0,h.useRef)(null),[r,i]=(0,h.useState)(null),a=(0,h.useCallback)(()=>{if(t.current+=1,t.current>=v){t.current=0;let r=c.getState(),a=!r.settingsDeveloperNav;r.setFlag(`settingsDeveloperNav`,a,e),i(l(a?`settings:devModeVersionUnlock.enabled`:`settings:devModeVersionUnlock.disabled`)),n.current!==null&&clearTimeout(n.current),n.current=setTimeout(()=>{i(null),n.current=null},y)}},[e]);return(0,h.useEffect)(()=>()=>{n.current!==null&&clearTimeout(n.current)},[]),{onTap:a,message:r}}function x({version:e,loading:t,assistantId:n}){let{t:r}=d(`settings`),{onTap:i,message:a}=b(n);return t?(0,g.jsxs)(`span`,{className:`flex items-center gap-2 text-body-medium-lighter text-[var(--content-tertiary)]`,children:[(0,g.jsx)(m,{className:`h-4 w-4 animate-spin`}),r(`devModeVersionUnlock.loading`)]}):e?(0,g.jsxs)(`div`,{children:[(0,g.jsx)(`button`,{type:`button`,className:`break-all text-left text-body-medium-lighter text-[var(--content-default)]`,onClick:i,children:e}),a&&(0,g.jsx)(`p`,{className:`mt-1 text-body-small-default text-[var(--content-accent)]`,children:a})]}):(0,g.jsx)(`span`,{className:`text-body-medium-lighter text-[var(--content-tertiary)]`,children:`—`})}var S=`currentAssistant`,C=4e3,w=9e4;function T(e,t){return(e.memory?.maxMb??null)!==(t.memory?.maxMb??null)||(e.cpu?.maxCores??null)!==(t.cpu?.maxCores??null)}function E(e,t,n){return t===null||n>=t.until?!1:e===void 0||t.baseline===null?C:T(e,t.baseline)?!1:C}function D(){let e=s(),{data:c=null,isLoading:d,refetch:f}=u({queryKey:[S,e],queryFn:async()=>{let t=await n(e);return t.ok?t.data:null},retry:!1}),p=o(),m=(0,h.useMemo)(()=>a({path:{assistant_id:e}}),[e]),[g,_]=(0,h.useState)(null),{data:v=null,isLoading:y,isFetching:b,error:x,refetch:C}=u({...m,enabled:p===`ready`,retry:!1,staleTime:0,refetchInterval:e=>E(e.state.data,g,Date.now())}),T=y||p===`resolving`,D=g!==null;return(0,h.useEffect)(()=>{x===null||v!==null||r(x)||(i(x,{context:`fetch_assistant_healthz`}),t.error(l(`settings:assistantStatusPanel.loadHealthzFailed`)))},[x,v]),(0,h.useEffect)(()=>{if(g===null)return;if(g.baseline===null&&v!==null){_({...g,baseline:v});return}if(E(v??void 0,g,Date.now())===!1){_(null);return}let e=setTimeout(()=>_(null),Math.max(0,g.until-Date.now()));return()=>clearTimeout(e)},[g,v]),(0,h.useEffect)(()=>{_(null)},[e]),{assistant:c,assistantLoading:d,healthz:v,healthzLoading:T,healthzFetching:b,healthzPolling:D,refetch:(0,h.useCallback)(async()=>{await Promise.all([f(),C()])},[f,C]),refetchUntilResized:(0,h.useCallback)(e=>{f(),_({baseline:e,until:Date.now()+w})},[f])}}function O(e){return e>=1024?`${(e/1024).toFixed(1)} GB`:`${e.toFixed(0)} MB`}export{_ as a,b as i,D as n,x as r,O as t};
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Cx as t,Hh as n,Lb as r,Pb as i,Vd as a,bm as o,et as s,rd as c}from"./app-p4YU9h0P.js";import{I as l,Zn as u,j as d}from"./vendor-DYOeoIwg.js";import{t as f,x as p}from"./react-B9IgSVeK.js";import{qn as m}from"./icons-QG1KAFmx.js";import"./environment-store-DXa_IPIU.js";var h=e(p(),1),g=f();function _({value:e,max:t,caption:n}){let r=t>0?Math.max(0,Math.min(e/t*100,100)):0,i=r>90;return(0,g.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,g.jsx)(`div`,{className:`h-2 w-full overflow-hidden rounded-full bg-[var(--surface-active)]`,children:(0,g.jsx)(`div`,{className:`h-full rounded-full transition-[width] duration-200`,style:{width:`${r}%`,backgroundColor:i?`var(--system-negative-strong)`:`var(--system-positive-strong)`}})}),n&&(0,g.jsx)(`span`,{className:`text-label-medium-default text-[var(--content-tertiary)]`,children:n})]})}var v=7,y=2e3;function b(e){let t=(0,h.useRef)(0),n=(0,h.useRef)(null),[r,i]=(0,h.useState)(null),a=(0,h.useCallback)(()=>{if(t.current+=1,t.current>=v){t.current=0;let r=c.getState(),a=!r.settingsDeveloperNav;r.setFlag(`settingsDeveloperNav`,a,e),i(l(a?`settings:devModeVersionUnlock.enabled`:`settings:devModeVersionUnlock.disabled`)),n.current!==null&&clearTimeout(n.current),n.current=setTimeout(()=>{i(null),n.current=null},y)}},[e]);return(0,h.useEffect)(()=>()=>{n.current!==null&&clearTimeout(n.current)},[]),{onTap:a,message:r}}function x({version:e,loading:t,assistantId:n}){let{t:r}=d(`settings`),{onTap:i,message:a}=b(n);return t?(0,g.jsxs)(`span`,{className:`flex items-center gap-2 text-body-medium-lighter text-[var(--content-tertiary)]`,children:[(0,g.jsx)(m,{className:`h-4 w-4 animate-spin`}),r(`devModeVersionUnlock.loading`)]}):e?(0,g.jsxs)(`div`,{children:[(0,g.jsx)(`button`,{type:`button`,className:`break-all text-left text-body-medium-lighter text-[var(--content-default)]`,onClick:i,children:e}),a&&(0,g.jsx)(`p`,{className:`mt-1 text-body-small-default text-[var(--content-accent)]`,children:a})]}):(0,g.jsx)(`span`,{className:`text-body-medium-lighter text-[var(--content-tertiary)]`,children:`—`})}var S=`currentAssistant`,C=4e3,w=9e4;function T(e,t){return(e.memory?.maxMb??null)!==(t.memory?.maxMb??null)||(e.cpu?.maxCores??null)!==(t.cpu?.maxCores??null)}function E(e,t,n){return t===null||n>=t.until?!1:e===void 0||t.baseline===null?C:T(e,t.baseline)?!1:C}function D(){let e=s(),{data:c=null,isLoading:d,refetch:f}=u({queryKey:[S,e],queryFn:async()=>{let t=await n(e);return t.ok?t.data:null},retry:!1}),p=o(),m=(0,h.useMemo)(()=>a({path:{assistant_id:e}}),[e]),[g,_]=(0,h.useState)(null),{data:v=null,isLoading:y,isFetching:b,error:x,refetch:C}=u({...m,enabled:p===`ready`,retry:!1,staleTime:0,refetchInterval:e=>E(e.state.data,g,Date.now())}),T=y||p===`resolving`,D=g!==null;return(0,h.useEffect)(()=>{x===null||v!==null||r(x)||(i(x,{context:`fetch_assistant_healthz`}),t.error(l(`settings:assistantStatusPanel.loadHealthzFailed`)))},[x,v]),(0,h.useEffect)(()=>{if(g===null)return;if(g.baseline===null&&v!==null){_({...g,baseline:v});return}if(E(v??void 0,g,Date.now())===!1){_(null);return}let e=setTimeout(()=>_(null),Math.max(0,g.until-Date.now()));return()=>clearTimeout(e)},[g,v]),(0,h.useEffect)(()=>{_(null)},[e]),{assistant:c,assistantLoading:d,healthz:v,healthzLoading:T,healthzFetching:b,healthzPolling:D,refetch:(0,h.useCallback)(async()=>{await Promise.all([f(),C()])},[f,C]),refetchUntilResized:(0,h.useCallback)(e=>{f(),_({baseline:e,until:Date.now()+w})},[f])}}function O(e){return e>=1024?`${(e/1024).toFixed(1)} GB`:`${e.toFixed(0)} MB`}export{_ as a,b as i,D as n,x as r,O as t};
@@ -0,0 +1 @@
1
+ import{Ap as e,wp as t}from"./app-p4YU9h0P.js";export{t as useAuthStore,e as whenPlatformSessionSettled};
@@ -1 +1 @@
1
- import{Eb as e,Hr as t,Ux as n,hs as r}from"./app-DFXcEvsi.js";import{j as i}from"./vendor-DYOeoIwg.js";import{n as a,t as o}from"./react-B9IgSVeK.js";var s=o();function c({children:e,animateAvatarWaveIn:n=!1,fillsViewport:r=!1}){let i=(0,s.jsx)(t,{avatarWave:`around`,animateAvatarWaveIn:n,children:(0,s.jsx)(`div`,{className:`mx-auto flex min-h-full w-full max-w-xl flex-col items-center px-6 pb-40 text-[var(--content-default)] md:pb-0`,children:(0,s.jsx)(`div`,{className:`flex flex-1 flex-col items-center justify-center`,children:e})})});return r?(0,s.jsx)(`div`,{className:`h-dvh`,children:i}):i}function l({error:e,children:t}){let{t:n}=i(`onboarding`);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(`h1`,{className:`text-5xl font-normal tracking-tight md:text-4xl lg:text-5xl xl:text-6xl`,style:{fontFamily:`var(--font-serif)`,animation:`fadeInUp 0.5s ease-out 0.1s both`},children:n(`welcome.title`)}),(0,s.jsx)(`p`,{className:`mt-3 text-center text-body-large-lighter text-[var(--content-tertiary)]`,style:{animation:`fadeInUp 0.5s ease-out 0.3s both`},children:n(`welcome.body`)}),e&&(0,s.jsx)(`p`,{className:`mt-4 text-body-small-default text-[var(--system-negative-strong)]`,children:e}),(0,s.jsx)(`div`,{className:`${e?`mt-4`:`mt-15`} flex w-full max-w-sm flex-col gap-3`,style:{animation:`fadeInUp 0.5s ease-out 0.5s both`},children:t})]})}function u({returnTo:t,secondary:o,errorContext:u,fillsViewport:d=!1}){let{t:f}=i(`onboarding`),{loading:p,error:m,login:h,cancel:g}=r(t,{errorContext:u}),_=e(),v=p&&!_,y=()=>{p&&g(),o.onSelect?.()},b=`h-11 text-base`,x=o.href?(0,s.jsx)(n,{variant:`ghost`,size:`regular`,fullWidth:!0,className:b,asChild:!0,children:(0,s.jsx)(a,{to:o.href,onClick:y,children:o.label})}):(0,s.jsx)(n,{variant:`ghost`,size:`regular`,fullWidth:!0,className:b,onClick:y,children:o.label});return(0,s.jsx)(c,{animateAvatarWaveIn:!0,fillsViewport:d,children:(0,s.jsxs)(l,{error:m,children:[(0,s.jsx)(n,{variant:`primary`,size:`regular`,fullWidth:!0,className:`h-11 text-base`,disabled:v,onClick:p&&_?g:()=>void h(),children:f(p&&_?`actions.cancel`:`actions.logIn`)}),x]})})}export{l as n,c as r,u as t};
1
+ import{Eb as e,Hr as t,Ux as n,hs as r}from"./app-p4YU9h0P.js";import{j as i}from"./vendor-DYOeoIwg.js";import{n as a,t as o}from"./react-B9IgSVeK.js";var s=o();function c({children:e,animateAvatarWaveIn:n=!1,fillsViewport:r=!1}){let i=(0,s.jsx)(t,{avatarWave:`around`,animateAvatarWaveIn:n,children:(0,s.jsx)(`div`,{className:`mx-auto flex min-h-full w-full max-w-xl flex-col items-center px-6 pb-40 text-[var(--content-default)] md:pb-0`,children:(0,s.jsx)(`div`,{className:`flex flex-1 flex-col items-center justify-center`,children:e})})});return r?(0,s.jsx)(`div`,{className:`h-dvh`,children:i}):i}function l({error:e,children:t}){let{t:n}=i(`onboarding`);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(`h1`,{className:`text-5xl font-normal tracking-tight md:text-4xl lg:text-5xl xl:text-6xl`,style:{fontFamily:`var(--font-serif)`,animation:`fadeInUp 0.5s ease-out 0.1s both`},children:n(`welcome.title`)}),(0,s.jsx)(`p`,{className:`mt-3 text-center text-body-large-lighter text-[var(--content-tertiary)]`,style:{animation:`fadeInUp 0.5s ease-out 0.3s both`},children:n(`welcome.body`)}),e&&(0,s.jsx)(`p`,{className:`mt-4 text-body-small-default text-[var(--system-negative-strong)]`,children:e}),(0,s.jsx)(`div`,{className:`${e?`mt-4`:`mt-15`} flex w-full max-w-sm flex-col gap-3`,style:{animation:`fadeInUp 0.5s ease-out 0.5s both`},children:t})]})}function u({returnTo:t,secondary:o,errorContext:u,fillsViewport:d=!1}){let{t:f}=i(`onboarding`),{loading:p,error:m,login:h,cancel:g}=r(t,{errorContext:u}),_=e(),v=p&&!_,y=()=>{p&&g(),o.onSelect?.()},b=`h-11 text-base`,x=o.href?(0,s.jsx)(n,{variant:`ghost`,size:`regular`,fullWidth:!0,className:b,asChild:!0,children:(0,s.jsx)(a,{to:o.href,onClick:y,children:o.label})}):(0,s.jsx)(n,{variant:`ghost`,size:`regular`,fullWidth:!0,className:b,onClick:y,children:o.label});return(0,s.jsx)(c,{animateAvatarWaveIn:!0,fillsViewport:d,children:(0,s.jsxs)(l,{error:m,children:[(0,s.jsx)(n,{variant:`primary`,size:`regular`,fullWidth:!0,className:`h-11 text-base`,disabled:v,onClick:p&&_?g:()=>void h(),children:f(p&&_?`actions.cancel`:`actions.logIn`)}),x]})})}export{l as n,c as r,u as t};
@@ -0,0 +1 @@
1
+ import{Si as e}from"./app-p4YU9h0P.js";export{e as BUNDLED_COMPONENTS};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/local-mode-Dve-u3Zf.js","assets/app-DFXcEvsi.js","assets/rolldown-runtime-BM3Ffeng.js","assets/react-B9IgSVeK.js","assets/vendor-DYOeoIwg.js","assets/icons-QG1KAFmx.js","assets/app-BNL3dwNm.css"])))=>i.map(i=>d[i]);
2
- import{Hh as e,Oy as t,Pb as n,Sm as r,Uh as i,bg as a,cm as o,sg as s,wm as c,wv as l,xg as u,yg as d}from"./app-DFXcEvsi.js";import{v as f}from"./react-B9IgSVeK.js";import{c as p}from"./machine-sizes-Cyr9sICv.js";import{a as m,n as h,r as g}from"./provisioning-targets-B5flnyHy.js";async function _(e,t,i){try{await r(e)||await c(e,t),i.invalidateQueries({queryKey:o(e)})}catch(e){n(e,{context:`onboarding_avatar_sync`})}}function v(e){if(!e)return;let t=new Date().toISOString();l(e,t),f(()=>import(`./local-mode-Dve-u3Zf.js`).then(n=>n.markLockfileAssistantOnboarded(e,t)),__vite__mapDeps([0,1,2,3,4,5,6])).catch(e=>{console.warn(`Failed to stamp onboardedAt on the lockfile entry`,e)})}var y=3e3,b=3e5,x=9e4;async function S(n){let{assistantId:r,postCheckoutReturn:o,managedHatch:c,hatchStartMs:l,isCancelled:f,onResizeWait:_,registerTimer:v}=n,b=e=>new Promise(t=>{if(f()){t();return}let n=setTimeout(()=>{v?.(null),t()},e);v?.(n)});if(t()&&!c)return`ready`;let S=!1,C=()=>{S||d({throwOnError:!1}).then(e=>{e.data!=null&&!h(e.data)&&(S=!0)}).catch(()=>{})},w=async()=>{for(;!f();){try{if((await i(r)).ok)return`ready`}catch{}if(Date.now()-l>=3e5)return`health_timeout`;await b(y)}return`ready`},T=Date.now()+x,E=null;for(;!f();){C();let e=`unknown`;try{let t=await u({throwOnError:!1});if(f())return`ready`;t.data&&(e=t.data.plan_id===`pro`?`pro`:`non_pro`)}catch{}try{let e=await a({throwOnError:!1});if(f())return`ready`;let t=e.data;t&&(E={machineSize:p(t.max_machine_tier),storageGib:t.selected_storage_gib??null})}catch{}let t=E!=null&&(E.machineSize!=null||E.storageGib!=null);if(e===`non_pro`&&!o)return`ready`;if(e===`pro`&&t)break;if(Date.now()>=T)return w();await b(y)}if(f())return`ready`;for(_?.();!f();){C();let t=null;try{let n=await e(r);if(f())return`ready`;n.ok&&(t={machineSize:n.data.machine_size??null,storageGib:n.data.provisioned_storage_gib??null})}catch{}let n=!0;try{let e=await s({path:{id:r},throwOnError:!1});if(f())return`ready`;e.data&&(n=g(e.data))}catch{n=!0}if(m(E,t)&&!n||Date.now()>=T)break;await b(y)}return f()?`ready`:w()}function C(e){return e===`windows`?`actions.downloadWindowsApp`:`actions.downloadMacOSApp`}function w(e){let t=e=>e[Math.floor(Math.random()*e.length)];return{bodyShape:t(e.bodyShapes).id,eyeStyle:t(e.eyeStyles).id,color:t(e.colors).id}}export{S as a,y as i,C as n,v as o,b as r,_ as s,w as t};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/local-mode-BwMCd1ly.js","assets/app-p4YU9h0P.js","assets/rolldown-runtime-BM3Ffeng.js","assets/react-B9IgSVeK.js","assets/vendor-DYOeoIwg.js","assets/icons-QG1KAFmx.js","assets/app-BNL3dwNm.css"])))=>i.map(i=>d[i]);
2
+ import{Hh as e,Oy as t,Pb as n,Sm as r,Uh as i,bg as a,cm as o,sg as s,wm as c,wv as l,xg as u,yg as d}from"./app-p4YU9h0P.js";import{v as f}from"./react-B9IgSVeK.js";import{c as p}from"./machine-sizes-Cyr9sICv.js";import{a as m,n as h,r as g}from"./provisioning-targets-B5flnyHy.js";async function _(e,t,i){try{await r(e)||await c(e,t),i.invalidateQueries({queryKey:o(e)})}catch(e){n(e,{context:`onboarding_avatar_sync`})}}function v(e){if(!e)return;let t=new Date().toISOString();l(e,t),f(()=>import(`./local-mode-BwMCd1ly.js`).then(n=>n.markLockfileAssistantOnboarded(e,t)),__vite__mapDeps([0,1,2,3,4,5,6])).catch(e=>{console.warn(`Failed to stamp onboardedAt on the lockfile entry`,e)})}var y=3e3,b=3e5,x=9e4;async function S(n){let{assistantId:r,postCheckoutReturn:o,managedHatch:c,hatchStartMs:l,isCancelled:f,onResizeWait:_,registerTimer:v}=n,b=e=>new Promise(t=>{if(f()){t();return}let n=setTimeout(()=>{v?.(null),t()},e);v?.(n)});if(t()&&!c)return`ready`;let S=!1,C=()=>{S||d({throwOnError:!1}).then(e=>{e.data!=null&&!h(e.data)&&(S=!0)}).catch(()=>{})},w=async()=>{for(;!f();){try{if((await i(r)).ok)return`ready`}catch{}if(Date.now()-l>=3e5)return`health_timeout`;await b(y)}return`ready`},T=Date.now()+x,E=null;for(;!f();){C();let e=`unknown`;try{let t=await u({throwOnError:!1});if(f())return`ready`;t.data&&(e=t.data.plan_id===`pro`?`pro`:`non_pro`)}catch{}try{let e=await a({throwOnError:!1});if(f())return`ready`;let t=e.data;t&&(E={machineSize:p(t.max_machine_tier),storageGib:t.selected_storage_gib??null})}catch{}let t=E!=null&&(E.machineSize!=null||E.storageGib!=null);if(e===`non_pro`&&!o)return`ready`;if(e===`pro`&&t)break;if(Date.now()>=T)return w();await b(y)}if(f())return`ready`;for(_?.();!f();){C();let t=null;try{let n=await e(r);if(f())return`ready`;n.ok&&(t={machineSize:n.data.machine_size??null,storageGib:n.data.provisioned_storage_gib??null})}catch{}let n=!0;try{let e=await s({path:{id:r},throwOnError:!1});if(f())return`ready`;e.data&&(n=g(e.data))}catch{n=!0}if(m(E,t)&&!n||Date.now()>=T)break;await b(y)}return f()?`ready`:w()}function C(e){return e===`windows`?`actions.downloadWindowsApp`:`actions.downloadMacOSApp`}function w(e){let t=e=>e[Math.floor(Math.random()*e.length)];return{bodyShape:t(e.bodyShapes).id,eyeStyle:t(e.eyeStyles).id,color:t(e.colors).id}}export{S as a,y as i,C as n,v as o,b as r,_ as s,w as t};
@@ -1 +1 @@
1
- import{vm as e}from"./app-DFXcEvsi.js";var t=100;async function n({isCancelled:n,registerTimer:r,alsoReady:i,onWaiting:a}={}){let o=Date.now(),s=!1,c=()=>new Promise(e=>{if(n?.()===!0){e();return}let i=setTimeout(()=>{r?.(null),e()},t);r?.(i)});for(;;){if(n?.()===!0)return`cancelled`;let t=e();if(t===`ready`&&(i?.()??!0))return`ready`;if(!s&&t===`ready`&&(s=!0,o=Date.now()),a?.(t)!==!0&&(t===`unavailable`||Date.now()-o>=5e3))return`failed`;await c()}}export{n as t};
1
+ import{vm as e}from"./app-p4YU9h0P.js";var t=100;async function n({isCancelled:n,registerTimer:r,alsoReady:i,onWaiting:a}={}){let o=Date.now(),s=!1,c=()=>new Promise(e=>{if(n?.()===!0){e();return}let i=setTimeout(()=>{r?.(null),e()},t);r?.(i)});for(;;){if(n?.()===!0)return`cancelled`;let t=e();if(t===`ready`&&(i?.()??!0))return`ready`;if(!s&&t===`ready`&&(s=!0,o=Date.now()),a?.(t)!==!0&&(t===`unavailable`||Date.now()-o>=5e3))return`failed`;await c()}}export{n as t};
@@ -1 +1 @@
1
- import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Cr as t,Hx as n,Jn as r,Pb as i,Sr as a,Tr as o,nn as s,rn as c,wr as l}from"./app-DFXcEvsi.js";import{j as u}from"./vendor-DYOeoIwg.js";import{t as d,x as f}from"./react-B9IgSVeK.js";import{t as p}from"./detail-panel-stop-button-BqhRaB6y.js";import{t as m}from"./status-badge-pill-Dw3L9IOE.js";import{r as h,t as g}from"./detail-primitives-DIBzx3XJ.js";var _=e(f(),1),v=d();function y({status:e}){return(0,v.jsx)(m,{color:a(e),label:t(e)})}function b({entry:e,onClose:t}){let{t:a}=u(`chat`),d=o(e.status),f=!d,m=f&&e.output!==void 0&&e.output!==``,b=f&&e.exitCode!=null,[x,S]=(0,_.useState)(!1),C=(0,_.useCallback)(()=>{S(!0),s(e.id).catch(e=>{S(!1),i(e,{context:`BackgroundTaskDetailPanel.stop`})})},[e.id]);return(0,v.jsxs)(r,{Glyph:c(e.toolName),title:l(e.status),headerTrailing:(0,v.jsx)(y,{status:e.status}),headerActions:d?(0,v.jsx)(p,{onStop:C,ariaLabel:a(`backgroundTaskDetailPanel.stopCommandAria`),disabled:x}):void 0,closeVariant:`outlined`,closeLabel:a(`backgroundTaskDetailPanel.closeDetail`),onClose:t,children:[(0,v.jsxs)(`div`,{children:[(0,v.jsx)(h,{children:a(`backgroundTaskDetailPanel.command`)}),(0,v.jsx)(g,{text:e.command})]}),m&&(0,v.jsxs)(`div`,{className:`mt-5`,children:[(0,v.jsx)(h,{children:a(`backgroundTaskDetailPanel.output`)}),(0,v.jsx)(g,{text:e.output})]}),b&&(0,v.jsx)(n,{variant:`body-small-default`,as:`p`,className:`mt-2 text-[var(--content-tertiary)]`,children:a(`backgroundTaskDetailPanel.exitCode`,{code:e.exitCode})})]})}export{b as BackgroundTaskDetailPanel};
1
+ import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Cr as t,Hx as n,Jn as r,Pb as i,Sr as a,Tr as o,nn as s,rn as c,wr as l}from"./app-p4YU9h0P.js";import{j as u}from"./vendor-DYOeoIwg.js";import{t as d,x as f}from"./react-B9IgSVeK.js";import{t as p}from"./detail-panel-stop-button-BFDJ5Gir.js";import{t as m}from"./status-badge-pill-Dw3L9IOE.js";import{r as h,t as g}from"./detail-primitives-CYiljnNr.js";var _=e(f(),1),v=d();function y({status:e}){return(0,v.jsx)(m,{color:a(e),label:t(e)})}function b({entry:e,onClose:t}){let{t:a}=u(`chat`),d=o(e.status),f=!d,m=f&&e.output!==void 0&&e.output!==``,b=f&&e.exitCode!=null,[x,S]=(0,_.useState)(!1),C=(0,_.useCallback)(()=>{S(!0),s(e.id).catch(e=>{S(!1),i(e,{context:`BackgroundTaskDetailPanel.stop`})})},[e.id]);return(0,v.jsxs)(r,{Glyph:c(e.toolName),title:l(e.status),headerTrailing:(0,v.jsx)(y,{status:e.status}),headerActions:d?(0,v.jsx)(p,{onStop:C,ariaLabel:a(`backgroundTaskDetailPanel.stopCommandAria`),disabled:x}):void 0,closeVariant:`outlined`,closeLabel:a(`backgroundTaskDetailPanel.closeDetail`),onClose:t,children:[(0,v.jsxs)(`div`,{children:[(0,v.jsx)(h,{children:a(`backgroundTaskDetailPanel.command`)}),(0,v.jsx)(g,{text:e.command})]}),m&&(0,v.jsxs)(`div`,{className:`mt-5`,children:[(0,v.jsx)(h,{children:a(`backgroundTaskDetailPanel.output`)}),(0,v.jsx)(g,{text:e.output})]}),b&&(0,v.jsx)(n,{variant:`body-small-default`,as:`p`,className:`mt-2 text-[var(--content-tertiary)]`,children:a(`backgroundTaskDetailPanel.exitCode`,{code:e.exitCode})})]})}export{b as BackgroundTaskDetailPanel};