dorkos 0.125.3 → 0.126.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/dist/bin/cli.js +87749 -87287
  2. package/dist/browser/native/package-manifest.json +1 -1
  3. package/dist/browser/source-manifest.json +1 -1
  4. package/dist/client/assets/{AboutPage-DSSx1Gzx.js → AboutPage-2c9n8B32.js} +1 -1
  5. package/dist/client/assets/{ActivityErrorState-C-mLOmJm.js → ActivityErrorState-muwC_jif.js} +1 -1
  6. package/dist/client/assets/{ActivityPage-DsOjjulF.js → ActivityPage-2aUz3zv0.js} +1 -1
  7. package/dist/client/assets/{ActivityRow-ylgCMe7Y.js → ActivityRow-nQBqDCak.js} +1 -1
  8. package/dist/client/assets/{AdapterIcon-DT5OdFbe.js → AdapterIcon-ChpyilnO.js} +1 -1
  9. package/dist/client/assets/{AdapterSetupWizard-C6jxF55P.js → AdapterSetupWizard-DRKQp5Gh.js} +2 -2
  10. package/dist/client/assets/{AgentOptionRow-CtdBmX9G.js → AgentOptionRow-CeVPhvTq.js} +1 -1
  11. package/dist/client/assets/{AgentPicker--wr93sVO.js → AgentPicker-D8YX1P_q.js} +1 -1
  12. package/dist/client/assets/{AgentRequestCard-DVoE2cnk.js → AgentRequestCard-refCLvuV.js} +3 -3
  13. package/dist/client/assets/{AppearancePage-DR_g6BJO.js → AppearancePage-BDTIp3j0.js} +1 -1
  14. package/dist/client/assets/{ApplyToOverridesDialog-BqaoB6AS.js → ApplyToOverridesDialog-C-XL9N4W.js} +1 -1
  15. package/dist/client/assets/{AttentionSignalRow-CM0TrrbJ.js → AttentionSignalRow-Dn4rP542.js} +1 -1
  16. package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-DJ54CELa.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-B0sy0nRk.js} +1 -1
  17. package/dist/client/assets/{BindingDialog-JAPULq7H.js → BindingDialog-DMYB-vWm.js} +1 -1
  18. package/dist/client/assets/{BlintzCanvas-B3-FjszN.js → BlintzCanvas-D9ZLEDXc.js} +28 -28
  19. package/dist/client/assets/{CanvasCsvContent-Cmqry1BS.js → CanvasCsvContent-DMqGpNWm.js} +1 -1
  20. package/dist/client/assets/{CanvasFileContent-BMkxUF1r.js → CanvasFileContent-Bxhc86lv.js} +2 -2
  21. package/dist/client/assets/{CanvasModel3dContent-DBhuNbFD.js → CanvasModel3dContent-D783Ql7m.js} +2 -2
  22. package/dist/client/assets/ChannelComposer-BNlD-d2W.js +44 -0
  23. package/dist/client/assets/{ChatAppsOff-CY5_0lQH.js → ChatAppsOff-eRAfqzJR.js} +2 -2
  24. package/dist/client/assets/{CodeMirrorDiff-_EI44zW6.js → CodeMirrorDiff-CqEUAG6G.js} +1 -1
  25. package/dist/client/assets/{CodeMirrorEditor-x1lTuDQH.js → CodeMirrorEditor-BM1ANude.js} +1 -1
  26. package/dist/client/assets/{CommitmentList-D-CvccnF.js → CommitmentList-C3QvbbGF.js} +1 -1
  27. package/dist/client/assets/{CommitmentsPage-CLw1FRLv.js → CommitmentsPage-bmqKNd-Z.js} +1 -1
  28. package/dist/client/assets/{ComputerResourceView-QJnXivV4.js → ComputerResourceView-78falOZG.js} +1 -1
  29. package/dist/client/assets/{ComputerViewer-DbTGz3OL.js → ComputerViewer-DZ2RiDbn.js} +1 -1
  30. package/dist/client/assets/{ConnectionAccessLists-CB5UY0f0.js → ConnectionAccessLists-CXsNyR4U.js} +1 -1
  31. package/dist/client/assets/{ConnectionsPage-SpEJxCeF.js → ConnectionsPage-bpkRfRRK.js} +2 -2
  32. package/dist/client/assets/{ConventionPage-C2NIZjG3.js → ConventionPage-rYtICYjS.js} +3 -3
  33. package/dist/client/assets/{ExtensionPageRoute-Drr5uceG.js → ExtensionPageRoute-DXTqUrR4.js} +2 -2
  34. package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-kKteNmsx.js → FloatingTanStackRouterDevtools-CqogiFob-CCNB3_Gb.js} +1 -1
  35. package/dist/client/assets/ForwardConsentHost-BfVnJ6oD.js +1 -0
  36. package/dist/client/assets/HandlePage-BH_G4sMV.js +1 -0
  37. package/dist/client/assets/{HeartbeatPage-BLGTx_57.js → HeartbeatPage-DdAfcR81.js} +1 -1
  38. package/dist/client/assets/{KeyEntry-DgN8iewR.js → KeyEntry-CR7GBqXf.js} +1 -1
  39. package/dist/client/assets/{LexicalField-Bfj72GvX.js → LexicalField-RAoub3wq.js} +2 -2
  40. package/dist/client/assets/{ManagesPage-C3G1-Mep.js → ManagesPage-CEhYj9ov.js} +1 -1
  41. package/dist/client/assets/{Marketplace-Dg0bIo7_.js → Marketplace-DtxHDbF4.js} +2 -2
  42. package/dist/client/assets/{MarketplaceSourcesView-KPw8YYXi.js → MarketplaceSourcesView-CSFvFtV_.js} +1 -1
  43. package/dist/client/assets/{McpAppFrame-DjJ4EM39.js → McpAppFrame-1mPdRK9p.js} +2 -2
  44. package/dist/client/assets/{McpSigninBody-V6RSsDqe.js → McpSigninBody--HfjMnE1.js} +1 -1
  45. package/dist/client/assets/{Model3dViewer-woNPO5OC.js → Model3dViewer-BT2SY67i.js} +1 -1
  46. package/dist/client/assets/NamePage-CaJsVRhh.js +1 -0
  47. package/dist/client/assets/NewDirectMessageMenu-QUtJTzKI.js +1 -0
  48. package/dist/client/assets/{NotificationsPage-kUtiVsFS.js → NotificationsPage-D3fleW0i.js} +1 -1
  49. package/dist/client/assets/OpenMeshSwitch-8WEn0WrA.js +5 -0
  50. package/dist/client/assets/{OperatorIdentityForm-B29T-N9x.js → OperatorIdentityForm-BRKAQS0D.js} +1 -1
  51. package/dist/client/assets/{PermissionHistory-CV8cFJr3.js → PermissionHistory-5stLHBu8.js} +1 -1
  52. package/dist/client/assets/{PermissionsPage-_PKlbWde.js → PermissionsPage-C2pB1TCJ.js} +1 -1
  53. package/dist/client/assets/{PersonalityPopover-BOXTCA6E.js → PersonalityPopover-DIbsJ6HP.js} +1 -1
  54. package/dist/client/assets/PhotoPage-33Xh8sq1.js +1 -0
  55. package/dist/client/assets/{PreviewRefusedNotice-CdHja8fU.js → PreviewRefusedNotice-CjT7jQ45.js} +1 -1
  56. package/dist/client/assets/{ProfileFields-C48alR3i.js → ProfileFields-gZNaFBow.js} +1 -1
  57. package/dist/client/assets/{ProfilePanelContainer-BpJVbdUL.js → ProfilePanelContainer-DYf7L8xJ.js} +1 -1
  58. package/dist/client/assets/{ProfileRolePicker-DtuSZNaw.js → ProfileRolePicker-DclYXFSP.js} +1 -1
  59. package/dist/client/assets/{PromptSuggestionChips-DT-JdGeO.js → PromptSuggestionChips-k9HolS90.js} +1 -1
  60. package/dist/client/assets/{ReportsToPopover-BP2nxz2E.js → ReportsToPopover-Bh5KrFbJ.js} +1 -1
  61. package/dist/client/assets/RoomSurface-32U7Wl6Z.js +1 -0
  62. package/dist/client/assets/{RoomsPage-gDIy73MQ.js → RoomsPage-sdMZgHla.js} +1 -1
  63. package/dist/client/assets/{RunsOnPopover-DhXG88Uj.js → RunsOnPopover-B5_Jz7ir.js} +1 -1
  64. package/dist/client/assets/RuntimeConnectFlow-C_6ozpAK.js +1 -0
  65. package/dist/client/assets/RuntimeSetupDialog-BDvzruM4.js +1 -0
  66. package/dist/client/assets/SeenDevices-CZ--8ljN.js +19 -0
  67. package/dist/client/assets/{SessionsPage-C6nmCWVM.js → SessionsPage-BKyrJh1O.js} +1 -1
  68. package/dist/client/assets/SettingsDialog-E5hPag3F.js +12 -0
  69. package/dist/client/assets/{SkillsPage-DSIKEsHr.js → SkillsPage-BeL6zfgw.js} +1 -1
  70. package/dist/client/assets/{TaskDialogWrapper-Cst7UxoY.js → TaskDialogWrapper-B-IP5hYv.js} +1 -1
  71. package/dist/client/assets/TasksEmptyState-BcftWVbk.js +3 -0
  72. package/dist/client/assets/TasksPage-CmroTI1v.js +1 -0
  73. package/dist/client/assets/{TeamComputerEntry-uj1GcPP_.js → TeamComputerEntry-DbfoZrZz.js} +1 -1
  74. package/dist/client/assets/{ToolsPage-Qm6x37SO.js → ToolsPage-h-PS45fZ.js} +1 -1
  75. package/dist/client/assets/{TopologyGraph-2C3Ij6tO.js → TopologyGraph-Bk_0y0Yy.js} +15 -15
  76. package/dist/client/assets/{TourHost-BsV8lcXT.js → TourHost-D4La-1-E.js} +1 -1
  77. package/dist/client/assets/{UnlinkDialog-ClNn0nv6.js → UnlinkDialog-CWd4fhT4.js} +1 -1
  78. package/dist/client/assets/UnreadDivider-Bvg9QLn9.js +1 -0
  79. package/dist/client/assets/{WidgetErrorCard-oq5MKUX_.js → WidgetErrorCard-DictdlWO.js} +2 -2
  80. package/dist/client/assets/WorkView-DxThzZ0w.js +51 -0
  81. package/dist/client/assets/{_shell-D4V8GQqV.js → _shell-CX_gaQPE.js} +22 -22
  82. package/dist/client/assets/{_shell._home-DoaHLKk8.js → _shell._home-CBNsPEH4.js} +1 -1
  83. package/dist/client/assets/{_shell._home.activity-BP1byb8g.js → _shell._home.activity-DpSGWVSW.js} +1 -1
  84. package/dist/client/assets/_shell._home.index-BWH93iWg.js +3 -0
  85. package/dist/client/assets/_shell._home.tasks-Ive4UW8c.js +1 -0
  86. package/dist/client/assets/{_shell._home.workspaces-BcOiklL5.js → _shell._home.workspaces-3R3VtH7x.js} +1 -1
  87. package/dist/client/assets/{_shell.channels-DxSDnd-3.js → _shell.channels-DRslcaiA.js} +4 -4
  88. package/dist/client/assets/{_shell.connections-YKOm7ap5.js → _shell.connections-BPQxNUPD.js} +1 -1
  89. package/dist/client/assets/{_shell.feedback-requests-DC2Jw1EF.js → _shell.feedback-requests-DkXEk3qm.js} +2 -2
  90. package/dist/client/assets/_shell.marketplace-D8deZF5L.js +1 -0
  91. package/dist/client/assets/_shell.marketplace_.sources-BHG9MqWR.js +1 -0
  92. package/dist/client/assets/_shell.session-CkdA2hgF.js +1 -0
  93. package/dist/client/assets/{_shell.team-C9QJNwaK.js → _shell.team-CZu-l34d.js} +3 -3
  94. package/dist/client/assets/_shell.threads-Cz-EZQXr.js +1 -0
  95. package/dist/client/assets/_shell.x._extensionId-Cry6E5KK.js +1 -0
  96. package/dist/client/assets/_shell.x._extensionId_._-Cry6E5KK.js +1 -0
  97. package/dist/client/assets/{abnfDiagram-WEYOIA3C-sjxf16g2.js → abnfDiagram-WEYOIA3C-4hI8_uRi.js} +1 -1
  98. package/dist/client/assets/{access-copy-_81ChCG3.js → access-copy-BegDAoeR.js} +1 -1
  99. package/dist/client/assets/{arc-B-c5OGeX.js → arc-DgydwPM5.js} +1 -1
  100. package/dist/client/assets/{architectureDiagram-ZHVYKT53-CExq4B1X.js → architectureDiagram-ZHVYKT53-4kexDkbn.js} +1 -1
  101. package/dist/client/assets/{banner-BhzLIs7u.js → banner-CYV5jQI0.js} +2 -2
  102. package/dist/client/assets/{blockDiagram-RJAE7QA3-C1D5MR7Z.js → blockDiagram-RJAE7QA3-BUP4L5_m.js} +1 -1
  103. package/dist/client/assets/{c4Diagram-XDPPPE54-DMtF_wcg.js → c4Diagram-XDPPPE54-B4HK3S3o.js} +1 -1
  104. package/dist/client/assets/{card-Dsy8PPN6.js → card-6VNSI3kT.js} +1 -1
  105. package/dist/client/assets/channel-Bf4e4rlX.js +1 -0
  106. package/dist/client/assets/{chunk-2E7WHVMD-DCmxZwyD.js → chunk-2E7WHVMD-Bhw5hCVI.js} +1 -1
  107. package/dist/client/assets/{chunk-2Q5K7J3B-BXvjhtJ3.js → chunk-2Q5K7J3B-CeUgfCvO.js} +1 -1
  108. package/dist/client/assets/{chunk-4EMNKR2T-CR6qWjas.js → chunk-4EMNKR2T-DqSZunXx.js} +1 -1
  109. package/dist/client/assets/{chunk-55XCU76K-Bny7RY06.js → chunk-55XCU76K-Bigp9-bU.js} +1 -1
  110. package/dist/client/assets/{chunk-5VM5RSS4-B9aD4Uib.js → chunk-5VM5RSS4-DF1L8DrH.js} +1 -1
  111. package/dist/client/assets/{chunk-JWPE2WC7-D28Xa5gr.js → chunk-JWPE2WC7-lcFap_43.js} +1 -1
  112. package/dist/client/assets/{chunk-VQ5W62QI-CLgnUSgl.js → chunk-VQ5W62QI-Bgmsy9NF.js} +1 -1
  113. package/dist/client/assets/{chunk-XXDRQBXY-vMTRVR5A.js → chunk-XXDRQBXY-DFFzLm_u.js} +1 -1
  114. package/dist/client/assets/{chunk-ZCHMQSOR-Ck0VFEtd.js → chunk-ZCHMQSOR-B4aJwBdo.js} +2 -2
  115. package/dist/client/assets/{classDiagram-v2-4MYWR3UA-Dh4gPh4M.js → classDiagram-v2-4MYWR3UA-BdUAMGnS.js} +1 -1
  116. package/dist/client/assets/{command-CxjTPW0z.js → command-Dz2pZLle.js} +1 -1
  117. package/dist/client/assets/{cose-bilkent-JH36ORCC-BA-tF0x7.js → cose-bilkent-JH36ORCC-BdJxQmWe.js} +1 -1
  118. package/dist/client/assets/{cpu-SRODWAA1.js → cpu-CjKJ8pVl.js} +1 -1
  119. package/dist/client/assets/{cynefin-EF2NZ3EQ-B_kxrTf4.js → cynefin-EF2NZ3EQ-BvnDWKe0.js} +1 -1
  120. package/dist/client/assets/{cynefinDiagram-WF24UDRP-Be0brpVq.js → cynefinDiagram-WF24UDRP-DKL8UyvS.js} +1 -1
  121. package/dist/client/assets/{dagre-NK4GIZVX-zI9I0fUC.js → dagre-NK4GIZVX-CCuJpxlY.js} +1 -1
  122. package/dist/client/assets/{diagram-CBK3MWTC-jN0pUEKR.js → diagram-CBK3MWTC-C1jeuv8r.js} +1 -1
  123. package/dist/client/assets/{diagram-I5XIIV2D-BjRZmmQf.js → diagram-I5XIIV2D-CSnTyOU0.js} +1 -1
  124. package/dist/client/assets/{diagram-ODIL2UCW-BtnkiX3a.js → diagram-ODIL2UCW-9w6q1YKi.js} +1 -1
  125. package/dist/client/assets/{diagram-PFBEJUXE-Bteh9wpL.js → diagram-PFBEJUXE-BMFBmD0P.js} +1 -1
  126. package/dist/client/assets/{diagram-RJA3I4VV-hRmqKbOC.js → diagram-RJA3I4VV-D9Utl6qX.js} +1 -1
  127. package/dist/client/assets/{diagram-TYUNFSNR-NKdthGes.js → diagram-TYUNFSNR-u_ogc51l.js} +1 -1
  128. package/dist/client/assets/{ebnfDiagram-V4P3TTPT-CpkD13ID.js → ebnfDiagram-V4P3TTPT-Bg_smbFH.js} +1 -1
  129. package/dist/client/assets/{elk-QONTBCTQ-Dw4bdkn4.js → elk-QONTBCTQ-CtuwbIK2.js} +1 -1
  130. package/dist/client/assets/{empty-state-Xw8KQdod.js → empty-state-CbFKhqwB.js} +1 -1
  131. package/dist/client/assets/{erDiagram-KYQIGQAA-fiThyiH_.js → erDiagram-KYQIGQAA-MlvYHdZ7.js} +1 -1
  132. package/dist/client/assets/{execution-config-ryHuiBdx.js → execution-config-BjNjQoBp.js} +1 -1
  133. package/dist/client/assets/{file-CbZILJJL.js → file-JokR8lB2.js} +1 -1
  134. package/dist/client/assets/{file-exclamation-point-rCHuN_aY.js → file-exclamation-point-sl45DZYe.js} +1 -1
  135. package/dist/client/assets/{file-text-DGtefNvG.js → file-text-C4PxLfBm.js} +1 -1
  136. package/dist/client/assets/{find-latest-widget-fence-DJDfJAaN.js → find-latest-widget-fence-Bc1LICCy.js} +5 -5
  137. package/dist/client/assets/{flowDiagram-IUGLLWBU-ORyRd0wW.js → flowDiagram-IUGLLWBU-BlrKbUnh.js} +1 -1
  138. package/dist/client/assets/{form-USBlP2n_.js → form-1NlezfMg.js} +1 -1
  139. package/dist/client/assets/{format-cron-u8efK62G.js → format-cron-C57sE3sK.js} +1 -1
  140. package/dist/client/assets/{ganttDiagram-R7GPNTJY-BC-M9_Wi.js → ganttDiagram-R7GPNTJY-BhCCQ-d7.js} +3 -3
  141. package/dist/client/assets/{git-branch-jQqbJAvp.js → git-branch-BXEb1Sqq.js} +1 -1
  142. package/dist/client/assets/{gitGraphDiagram-PDYL7XHY-NIdjLN38.js → gitGraphDiagram-PDYL7XHY-Chl1aqHg.js} +1 -1
  143. package/dist/client/assets/{graph-CBIOKOiw.js → graph-DIIpUxLd.js} +1 -1
  144. package/dist/client/assets/{heart-CSbB9K4Q.js → heart-CUs7jdhV.js} +1 -1
  145. package/dist/client/assets/{highlighted-body-KPVGNVTW-OC8sqXXy.js → highlighted-body-KPVGNVTW-DlDHGjld.js} +1 -1
  146. package/dist/client/assets/image-lightbox-BczXKBTZ.js +1 -0
  147. package/dist/client/assets/image-off-Ch98GGBJ.js +6 -0
  148. package/dist/client/assets/{index-CiAb-mD4.js → index-0MDZSAdr.js} +1 -1
  149. package/dist/client/assets/{index-C5gtuueN.js → index-37h1E-65.js} +1 -1
  150. package/dist/client/assets/{index-CeJVF9AD.js → index-8FrM4Unx.js} +1 -1
  151. package/dist/client/assets/{index-CRPh-508.js → index-B0p2_o3r.js} +1 -1
  152. package/dist/client/assets/{index-BU_bmsP2.js → index-B0q1o1JU.js} +1 -1
  153. package/dist/client/assets/{index-Yr72qWri.js → index-BAnl5kwm.js} +1 -1
  154. package/dist/client/assets/{index-w4wyJU8q.js → index-BC41bN42.js} +1 -1
  155. package/dist/client/assets/{index-DfYJ-zxk.js → index-BNJa5z6K.js} +7 -7
  156. package/dist/client/assets/{index-DJyLZL6w.js → index-BQlnEL5t.js} +1 -1
  157. package/dist/client/assets/{index-DkcRrH0O.js → index-BRyEtRBO.js} +1 -1
  158. package/dist/client/assets/index-BThp0Av1.js +1 -0
  159. package/dist/client/assets/{index-LFeqJL-v.js → index-BVjrgWDa.js} +1 -1
  160. package/dist/client/assets/{index-D9Ej8fsx.js → index-BiyMpL0z.js} +1 -1
  161. package/dist/client/assets/{index-DeDh_2c1.js → index-BwHCH3tE.js} +1 -1
  162. package/dist/client/assets/index-ByIDaFWv.js +1 -0
  163. package/dist/client/assets/{index-RXFhiamo.js → index-BzqkXlms.js} +1 -1
  164. package/dist/client/assets/index-CFJcOzPD.js +1 -0
  165. package/dist/client/assets/{index-B5eM1_q1.js → index-CQTeDD0B.js} +1 -1
  166. package/dist/client/assets/{index-BOaou3k5.js → index-CSOhBvPV.js} +1 -1
  167. package/dist/client/assets/{index-Dk33a8Wz.js → index-CYhf-E_N.js} +1 -1
  168. package/dist/client/assets/{index-CWhDGAYM.js → index-CaVP52c1.js} +1 -1
  169. package/dist/client/assets/{index-CRTzTiNF.js → index-Cn1ZEy3S.js} +1 -1
  170. package/dist/client/assets/{index-C9UgTEuh.js → index-CnNGTb8f.js} +1 -1
  171. package/dist/client/assets/{index-BGGnQdij.js → index-Cnjpi7ar.js} +3 -3
  172. package/dist/client/assets/{index-BYxDsLTQ.js → index-CoHeCySh.js} +1 -1
  173. package/dist/client/assets/index-CujX3mpY.css +1 -0
  174. package/dist/client/assets/{index-C49AWTah.js → index-Cw0QRsnv.js} +1 -1
  175. package/dist/client/assets/{index-CuT_aCM-.js → index-Czar7aPT.js} +2 -2
  176. package/dist/client/assets/{index-Bz9CgPjs.js → index-D1Be28yK.js} +1 -1
  177. package/dist/client/assets/{index-j5szQcqb.js → index-D6NjBiAq.js} +1 -1
  178. package/dist/client/assets/{index-fAHI5hei.js → index-DMfV6rUz.js} +1 -1
  179. package/dist/client/assets/index-D_9H4FdK.js +1 -0
  180. package/dist/client/assets/{index-B9utW3HE.js → index-DaZdDh7o.js} +1 -1
  181. package/dist/client/assets/{index-CDslENFz.js → index-DlZ77Qfj.js} +1 -1
  182. package/dist/client/assets/index-Dv6HjbCS.js +1 -0
  183. package/dist/client/assets/index-DwrBsA10.js +1053 -0
  184. package/dist/client/assets/{index-CCohVfmo.js → index-DzLIbXMR.js} +1 -1
  185. package/dist/client/assets/{index-n6f9pLtt.js → index-Ev7FZl9a.js} +1 -1
  186. package/dist/client/assets/{index-DJlq_kd_.js → index-HnW-eS5i.js} +1 -1
  187. package/dist/client/assets/{index-DnyoNFRt.js → index-hyqRnlFg.js} +1 -1
  188. package/dist/client/assets/{index-jJbbnV9q.js → index-pQstFziR.js} +3 -3
  189. package/dist/client/assets/{index-BN02EVKP.js → index-rKEUwjq8.js} +1 -1
  190. package/dist/client/assets/{index-BAaqQW-m.js → index-slBSiB-H.js} +1 -1
  191. package/dist/client/assets/{index-DgnJZ7RZ.js → index-vU7itvE8.js} +1 -1
  192. package/dist/client/assets/{index.esm-Dyd3JXuK.js → index.esm-DM8Bqi3n.js} +1 -1
  193. package/dist/client/assets/{infoDiagram-MVDRKAX5-CPcm-36U.js → infoDiagram-MVDRKAX5-C0p1eP9j.js} +1 -1
  194. package/dist/client/assets/{inline-code-BjkmgK0M.js → inline-code-CNmpgW3O.js} +1 -1
  195. package/dist/client/assets/{ishikawaDiagram-HPEHV2GE-B8eVNEDQ.js → ishikawaDiagram-HPEHV2GE-COdxgYUT.js} +1 -1
  196. package/dist/client/assets/{journeyDiagram-BOSHW7O7-CGkIGaMV.js → journeyDiagram-BOSHW7O7-C84Ny9n9.js} +1 -1
  197. package/dist/client/assets/{kanban-definition-FNSA4HC5-BTDbT6UJ.js → kanban-definition-FNSA4HC5-ECSXhFX0.js} +1 -1
  198. package/dist/client/assets/{layers-DyShcAgn.js → layers-JgRwJGyf.js} +1 -1
  199. package/dist/client/assets/{lightbulb-QljDqLq7.js → lightbulb-BhQB8sFP.js} +1 -1
  200. package/dist/client/assets/{link-2-7SoeCkEs.js → link-2-B4byjdgg.js} +1 -1
  201. package/dist/client/assets/{list-runtime-types-DvfLx6v2.js → list-runtime-types-M5_gxIg1.js} +1 -1
  202. package/dist/client/assets/{markdown-content-D7t62wwm.js → markdown-content-C3qWcii6.js} +1 -1
  203. package/dist/client/assets/{mention-pill-DNQ2ICCW.js → mention-pill-DUbgdKmA.js} +1 -1
  204. package/dist/client/assets/{mermaid.core-NAyHAvFm.js → mermaid.core-BQiwaVjZ.js} +4 -4
  205. package/dist/client/assets/{message-square-off-D6K1M95g.js → message-square-off-AjtFFe_u.js} +1 -1
  206. package/dist/client/assets/{mindmap-definition-6OY57UG3-26dEepZx.js → mindmap-definition-6OY57UG3-BfA6EqgP.js} +1 -1
  207. package/dist/client/assets/{more-details-BJ_2FYn8.js → more-details-itSF4Fah.js} +1 -1
  208. package/dist/client/assets/{owner-notice-CIfb2Yr7.js → owner-notice-B6JRjE_c.js} +1 -1
  209. package/dist/client/assets/{package-CeRLwc1u.js → package-5YQSitlR.js} +1 -1
  210. package/dist/client/assets/{page-container-D2J6eon9.js → page-container-DBPUOYYM.js} +1 -1
  211. package/dist/client/assets/{pane-resize-handle-CXxva43c.js → pane-resize-handle-Kwb3zKa6.js} +1 -1
  212. package/dist/client/assets/{paperclip-DFuuQSWM.js → paperclip-IRKZTEQw.js} +1 -1
  213. package/dist/client/assets/{path-input-DhGxbEsh.js → path-input-BHkA4fFw.js} +1 -1
  214. package/dist/client/assets/{pegDiagram-ECIUJNBX-BJu6g9eg.js → pegDiagram-ECIUJNBX-CqIy9WDe.js} +1 -1
  215. package/dist/client/assets/{pieDiagram-GNMPY74T-CMf8TQF7.js → pieDiagram-GNMPY74T-C5yI3cvV.js} +1 -1
  216. package/dist/client/assets/{plug-Bqwk5g66.js → plug-CupdBXaG.js} +1 -1
  217. package/dist/client/assets/{primer-trigger-NAz78FSN.js → primer-trigger-Ci_XRRfX.js} +2 -2
  218. package/dist/client/assets/{profile-errors--0_JG2R0.js → profile-errors-aEsWNifs.js} +1 -1
  219. package/dist/client/assets/{progress-cQRXQehb.js → progress-Bpmb837n.js} +1 -1
  220. package/dist/client/assets/{quadrantDiagram-D57K4MC3-Bb92PcA9.js → quadrantDiagram-D57K4MC3-DyCDNvk7.js} +1 -1
  221. package/dist/client/assets/{query-error-state-C2QLFCgp.js → query-error-state-s6AJaHa3.js} +1 -1
  222. package/dist/client/assets/{radio-CBD2fSSB.js → radio-Ci6Ghks8.js} +1 -1
  223. package/dist/client/assets/{railroadDiagram-Y72NRBL7-YN2siyto.js → railroadDiagram-Y72NRBL7-B3u1B937.js} +1 -1
  224. package/dist/client/assets/registry-DatwH4jj.js +1 -0
  225. package/dist/client/assets/registry-NGfn1R2_.js +34 -0
  226. package/dist/client/assets/{relay-trace-schemas-yWn__06J.js → relay-trace-schemas-hOFIzdY-.js} +2 -2
  227. package/dist/client/assets/{repeat-CtIEyxm4.js → repeat-B1S2ceC2.js} +1 -1
  228. package/dist/client/assets/{requirementDiagram-EQYSW5RA-DJBQviv-.js → requirementDiagram-EQYSW5RA-CdG-unip.js} +1 -1
  229. package/dist/client/assets/{room-files-source-nnbGMKus.js → room-files-source-J7gnN1gx.js} +2 -2
  230. package/dist/client/assets/{rotate-ccw-clock-C2jXtg-P.js → rotate-ccw-clock-7Q2akPFi.js} +1 -1
  231. package/dist/client/assets/{rotate-cw-34X3Kx8Z.js → rotate-cw-DK3Rzmlh.js} +1 -1
  232. package/dist/client/assets/{sankeyDiagram-SY24JHO5-DH2qnwVI.js → sankeyDiagram-SY24JHO5-D3Z4Qk2b.js} +1 -1
  233. package/dist/client/assets/{scroll-area-DYTbXWMY.js → scroll-area-6Gelypei.js} +1 -1
  234. package/dist/client/assets/{search-x-DeFOvp_5.js → search-x-Be8VetKs.js} +2 -2
  235. package/dist/client/assets/{sequenceDiagram-BLEHNHQU-CkHcuOw2.js → sequenceDiagram-BLEHNHQU-RXPgeLr6.js} +1 -1
  236. package/dist/client/assets/{shield-x-bloGLifl.js → shield-x-D8lJ0Op0.js} +1 -1
  237. package/dist/client/assets/signed-in-NOeTLLso.js +1 -0
  238. package/dist/client/assets/{sizeCapture-INFHLROL-BXK-Cxjs.js → sizeCapture-INFHLROL-q7qki1pK.js} +1 -1
  239. package/dist/client/assets/{soul-file-DFPctfHR.js → soul-file-DTEcjDxP.js} +1 -1
  240. package/dist/client/assets/{stateDiagram-v2-A6IESKWZ-DP_cqXJO.js → stateDiagram-v2-A6IESKWZ-DFs6IVbj.js} +1 -1
  241. package/dist/client/assets/{swimlanes-B3ENRKFQ-BZxkK7Fr.js → swimlanes-B3ENRKFQ-D1A-3JE-.js} +1 -1
  242. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-hZFkkqUb.js +8 -0
  243. package/dist/client/assets/{table-B8zvHC0J.js → table-CuBPM_bg.js} +1 -1
  244. package/dist/client/assets/{timeline-definition-JXYKGLGB-BPZ64ADa.js → timeline-definition-JXYKGLGB-CLHy0rAb.js} +1 -1
  245. package/dist/client/assets/{trust-posture-C9r0jGhc.js → trust-posture-BXXe8F8n.js} +1 -1
  246. package/dist/client/assets/{unplug-DYZEcvkR.js → unplug-Cuej6sM6.js} +1 -1
  247. package/dist/client/assets/{unverified-catalog-notice-DAhwNpy_.js → unverified-catalog-notice-BbK4SCJp.js} +1 -1
  248. package/dist/client/assets/{use-adapter-catalog-DrDMqxhZ.js → use-adapter-catalog-Cy7ENVZN.js} +1 -1
  249. package/dist/client/assets/{use-bindings-Ci7hpEO4.js → use-bindings-Tj0BcF4m.js} +1 -1
  250. package/dist/client/assets/{use-composer-prefs-FpUdi_wE.js → use-composer-prefs-BrQVpwRi.js} +1 -1
  251. package/dist/client/assets/{use-connector-management-CinfkPZI.js → use-connector-management-CLZQXgln.js} +1 -1
  252. package/dist/client/assets/{use-deep-link-scroll-DZnA4iYZ.js → use-deep-link-scroll-BeqtUhj2.js} +1 -1
  253. package/dist/client/assets/{use-delete-binding-DDtaCc3v.js → use-delete-binding-d7ii9iFQ.js} +1 -1
  254. package/dist/client/assets/{use-dev-links-CtHwhTBj.js → use-dev-links-MYOV3h2q.js} +1 -1
  255. package/dist/client/assets/{use-direct-message-panel-Da9rkfA3.js → use-direct-message-panel-C_lXDYnB.js} +1 -1
  256. package/dist/client/assets/{use-external-adapter-catalog-CikM-LiV.js → use-external-adapter-catalog-kMFSEJGV.js} +1 -1
  257. package/dist/client/assets/use-full-activity-feed-MFSkvnza.js +1 -0
  258. package/dist/client/assets/use-is-below-desktop-CJJ4zMQO.js +1 -0
  259. package/dist/client/assets/{use-local-browser-ABoWOGv1.js → use-local-browser-1oVtlmXD.js} +1 -1
  260. package/dist/client/assets/{use-mesh-topology-C5njB0KY.js → use-mesh-topology-BJs6M6kh.js} +1 -1
  261. package/dist/client/assets/{use-mounted-ref-Bp9Wp7zY.js → use-mounted-ref-DitdlmSI.js} +1 -1
  262. package/dist/client/assets/{use-notification-prefs-DXww4pVV.js → use-notification-prefs-CXbRTRLF.js} +1 -1
  263. package/dist/client/assets/use-pending-read-CvX1lOb8.js +1 -0
  264. package/dist/client/assets/{use-personality-commit-DYQ3KVxd.js → use-personality-commit-DQrWyVGT.js} +1 -1
  265. package/dist/client/assets/{use-promo-activation-nURLgFxH.js → use-promo-activation-CgdBHk2f.js} +3 -3
  266. package/dist/client/assets/{use-promo-dismissals-BQkeHMCS.js → use-promo-dismissals-DprcDmfs.js} +1 -1
  267. package/dist/client/assets/{use-pulse-freshness-B8VeNnHj.js → use-pulse-freshness-BtMzHCs3.js} +1 -1
  268. package/dist/client/assets/{use-relay-config-D0BknsXK.js → use-relay-config-CGBlgXC2.js} +1 -1
  269. package/dist/client/assets/{use-room-follow-claim-BruRRf3z.js → use-room-follow-claim-Db5U7kWT.js} +1 -1
  270. package/dist/client/assets/{use-room-sessions-DGcrmZvE.js → use-room-sessions-K6mdH-Tb.js} +1 -1
  271. package/dist/client/assets/{use-roving-tab-list-YQ4MgIBO.js → use-roving-tab-list-B2zxa_F_.js} +1 -1
  272. package/dist/client/assets/{use-session-canvas-BaGypLR6.js → use-session-canvas-D4G5fO_a.js} +7 -7
  273. package/dist/client/assets/{use-status-budget-Q1ltHI80.js → use-status-budget-UccdTZ7o.js} +4 -4
  274. package/dist/client/assets/use-transform-BBj2pwbo.js +1 -0
  275. package/dist/client/assets/{use-unclaimed-chats-Bext8Aim.js → use-unclaimed-chats-BidDnyt8.js} +1 -1
  276. package/dist/client/assets/use-update-config-D8g4P42J.js +1 -0
  277. package/dist/client/assets/{useMutationState-C3WVn0hu.js → useMutationState-RYxTf1aD.js} +1 -1
  278. package/dist/client/assets/{usecaseDiagram-WPOLBNNX-Dg4P8nSr.js → usecaseDiagram-WPOLBNNX-Bjmcc2gK.js} +1 -1
  279. package/dist/client/assets/{vennDiagram-Q3Y3IDCW-B8Txoqsz.js → vennDiagram-Q3Y3IDCW-Cd6C9CxW.js} +1 -1
  280. package/dist/client/assets/{wardleyDiagram-IVAIDKWA-lgQBspKc.js → wardleyDiagram-IVAIDKWA-CzWWmwUL.js} +1 -1
  281. package/dist/client/assets/{xychartDiagram-4URNHDU4-Ct9-Lgo9.js → xychartDiagram-4URNHDU4-DSUn9rhA.js} +1 -1
  282. package/dist/client/index.html +2 -2
  283. package/dist/drizzle/20261025175042_dor3123_needs_attention.sql +7 -0
  284. package/dist/drizzle/meta/20261025175042_snapshot.json +14093 -0
  285. package/dist/drizzle/meta/_journal.json +7 -0
  286. package/dist/server/extension-child.cjs +188 -107
  287. package/dist/server/index.js +11572 -8338
  288. package/dist/server/index.js.map +2 -2
  289. package/package.json +7 -7
  290. package/dist/client/assets/ChannelComposer-WR3_Vvta.js +0 -44
  291. package/dist/client/assets/HandlePage-A1OCw0nr.js +0 -1
  292. package/dist/client/assets/NamePage-Du9m4rGe.js +0 -1
  293. package/dist/client/assets/NewDirectMessageMenu-CmCOFmXQ.js +0 -1
  294. package/dist/client/assets/OpenMeshSwitch-r6HJBjR6.js +0 -5
  295. package/dist/client/assets/PhotoPage-Dx-3Lhm5.js +0 -1
  296. package/dist/client/assets/RoomSurface-C_mTmn8g.js +0 -1
  297. package/dist/client/assets/RuntimeConnectFlow-BsZsQZS9.js +0 -1
  298. package/dist/client/assets/RuntimeSetupDialog-BSb5iK2A.js +0 -1
  299. package/dist/client/assets/SeenDevices-dzzlSeB2.js +0 -19
  300. package/dist/client/assets/SettingsDialog-5aEZ-DG6.js +0 -12
  301. package/dist/client/assets/TasksEmptyState-DityFi7P.js +0 -3
  302. package/dist/client/assets/TasksPage-BZx_Ku0k.js +0 -1
  303. package/dist/client/assets/UnreadDivider-CGKnJcx7.js +0 -1
  304. package/dist/client/assets/WorkView-wVnGvWAz.js +0 -63
  305. package/dist/client/assets/_shell._home.index-BB5pgiqt.js +0 -3
  306. package/dist/client/assets/_shell._home.tasks-B3w6mqyb.js +0 -1
  307. package/dist/client/assets/_shell.marketplace-BUh4boaf.js +0 -1
  308. package/dist/client/assets/_shell.marketplace_.sources-CnOFcGv1.js +0 -1
  309. package/dist/client/assets/_shell.session-BUP7x_Ra.js +0 -1
  310. package/dist/client/assets/_shell.threads-gs_o48eZ.js +0 -1
  311. package/dist/client/assets/_shell.x._extensionId-B-X7HuaQ.js +0 -1
  312. package/dist/client/assets/_shell.x._extensionId_._-B-X7HuaQ.js +0 -1
  313. package/dist/client/assets/channel-C6IoQ0kc.js +0 -1
  314. package/dist/client/assets/image-lightbox-DgWS2xlv.js +0 -1
  315. package/dist/client/assets/image-off-DziiNcIl.js +0 -6
  316. package/dist/client/assets/index-B-KhOLHd.js +0 -1
  317. package/dist/client/assets/index-BpsATTKn.js +0 -1
  318. package/dist/client/assets/index-CP7hD01s.js +0 -1
  319. package/dist/client/assets/index-CUKvspHB.js +0 -1
  320. package/dist/client/assets/index-DSYz85aL.js +0 -1053
  321. package/dist/client/assets/index-DYF1ER90.js +0 -23
  322. package/dist/client/assets/index-DtlBeLQB.css +0 -1
  323. package/dist/client/assets/index-YtJ82pkp.js +0 -1
  324. package/dist/client/assets/registry-CsiY3fnM.js +0 -1
  325. package/dist/client/assets/signed-in-DD2qV0PJ.js +0 -1
  326. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-DXRZtHKX.js +0 -8
  327. package/dist/client/assets/use-full-activity-feed-B6TQc-xB.js +0 -1
  328. package/dist/client/assets/use-is-below-desktop-DJQVU5CF.js +0 -1
  329. package/dist/client/assets/use-panel-tab-placements-DLQeHI7w.js +0 -1
  330. package/dist/client/assets/use-pending-read-CgR0BnSW.js +0 -1
  331. package/dist/client/assets/use-update-config-BJEw2LjV.js +0 -1
  332. /package/dist/client/assets/{WorkView-DIs3GY4I.css → registry-DIs3GY4I.css} +0 -0
@@ -1,3 +0,0 @@
1
- import{kM as be,kN as ye,j as t,hV as $,hW as F,hX as L,hY as B,hZ as W,_ as I,ay as A,O as Se,Q as Ne,C as ke,U as we,kO as q,B as b,kP as Re,kQ as Ce,cj as z,e as C,G as y,s as H,r as m,J as Ie,kR as Ae,aj as Pe,ak as De,dV as Oe,aY as Me,X as oe,kS as Te,kT as Ee,aQ as $e,dW as ie,iL as Fe,by as Y,ar as R,T as Le,kU as Be,i_ as We,kV as qe,eG as ze,eH as He,iY as _e,j3 as Ue,kW as Ve,kX as Ye,eA as ae,eC as Ge,kY as Ke,c$ as re,ad as Qe,eD as Xe,iZ as Je,l as le,kZ as de,k_ as ce,gX as Ze,k$ as _,eB as et,bf as tt,a$ as st,hI as nt,gB as ot,l0 as it,as as at,gY as ue,g as rt,gk as me,l1 as G,ai as K,c7 as lt,l2 as dt,l3 as ct,l4 as ut,a1 as mt,l5 as ht,cf as gt,bP as ft,jl as pt,aP as xt,i6 as jt,eM as M,k8 as vt,q as Q,eb as bt,g$ as yt,l6 as St,n as Nt}from"./index-DSYz85aL.js";import{I as kt,p as wt}from"./ChannelComposer-WR3_Vvta.js";import{b as Rt}from"./index-DYF1ER90.js";import{R as Ct}from"./RoomSurface-C_mTmn8g.js";import{P as he}from"./PromptSuggestionChips-DT-JdGeO.js";import{S as U}from"./scroll-area-DYTbXWMY.js";import{d as It}from"./dead-letter-reasons-DtBHju9v.js";import{u as At}from"./use-mesh-topology-C5njB0KY.js";import{A as Pt}from"./AttentionSignalRow-CM0TrrbJ.js";import{u as ge}from"./use-promo-dismissals-BQkeHMCS.js";import{u as Dt,s as Ot,P as Mt,a as Tt}from"./use-promo-activation-nURLgFxH.js";import"./repeat-CtIEyxm4.js";import"./use-room-sessions-DGcrmZvE.js";import"./WidgetErrorCard-oq5MKUX_.js";import"./index-Yr72qWri.js";import"./card-Dsy8PPN6.js";import"./progress-cQRXQehb.js";import"./markdown-content-D7t62wwm.js";import"./table-B8zvHC0J.js";import"./package-CeRLwc1u.js";import"./heart-CSbB9K4Q.js";import"./git-branch-jQqbJAvp.js";import"./file-text-DGtefNvG.js";import"./file-CbZILJJL.js";import"./find-latest-widget-fence-DJDfJAaN.js";import"./format-duration-BCr6uzby.js";import"./RuntimeSetupDialog-BSb5iK2A.js";import"./inline-code-BjkmgK0M.js";import"./list-runtime-types-DvfLx6v2.js";import"./RuntimeConnectFlow-BsZsQZS9.js";import"./useMutationState-C3WVn0hu.js";import"./runtime-connect-Dn0T5YWv.js";import"./mention-pill-DNQ2ICCW.js";import"./rotate-ccw-clock-C2jXtg-P.js";import"./unplug-DYZEcvkR.js";import"./message-square-off-D6K1M95g.js";import"./registry-CsiY3fnM.js";import"./file-drag-GDx2qhdk.js";import"./paperclip-DFuuQSWM.js";import"./index-CDslENFz.js";import"./pane-resize-handle-CXxva43c.js";import"./UnreadDivider-CGKnJcx7.js";import"./use-room-follow-claim-BruRRf3z.js";import"./use-connector-management-CinfkPZI.js";import"./AgentRequestCard-DVoE2cnk.js";import"./access-copy-_81ChCG3.js";import"./query-error-state-C2QLFCgp.js";import"./empty-state-Xw8KQdod.js";import"./use-bindings-Ci7hpEO4.js";import"./connection-copy--MA7AN04.js";import"./KeyEntry-DgN8iewR.js";import"./use-update-config-BJEw2LjV.js";import"./use-relay-config-D0BknsXK.js";function Et({open:e,itemId:n,onClose:o}){const{data:s}=be(),i=ye(),a=(n==null?void 0:n.indexOf("::"))??-1,r=a>=0?n.slice(0,a):void 0,l=a>=0?n.slice(a+2):void 0,d=s==null?void 0:s.find(h=>h.source===r&&h.reason===l),c=()=>{!r||!l||i.mutate({source:r,reason:l},{onSuccess:o})};return t.jsx($,{open:e,onOpenChange:h=>!h&&o(),children:t.jsxs(F,{side:"right",children:[t.jsxs(L,{children:[t.jsx(B,{children:"Messages that never arrived"}),t.jsx(W,{children:r??"Source unknown"})]}),t.jsx(U,{className:"flex-1 px-4",children:d?t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx("p",{className:"text-muted-foreground text-sm",children:"These never reached an agent. Clearing them doesn’t send them."}),t.jsxs("p",{className:"text-foreground text-sm",children:[d.count," message",d.count===1?"":"s"," couldn’t be delivered"]}),t.jsx(I,{variant:"secondary",children:It(d.reason)})]}),t.jsxs("div",{className:"space-y-1 text-sm",children:[t.jsxs("p",{className:"text-muted-foreground",children:["First happened ",A(d.firstSeen)," ago"]}),t.jsxs("p",{className:"text-muted-foreground",children:["Last happened ",A(d.lastSeen)," ago"]})]}),d.sample!=null&&t.jsxs(Se,{children:[t.jsxs(Ne,{className:"text-muted-foreground hover:text-foreground group flex items-center gap-1 text-xs font-medium transition-colors",children:[t.jsx(ke,{className:"size-3 transition-transform group-data-[state=open]:rotate-90"}),"What one of them looked like"]}),t.jsx(we,{children:t.jsx("pre",{className:"bg-muted mt-1 overflow-x-auto rounded-md p-3 font-mono text-xs",children:JSON.stringify(d.sample,null,2)})})]})]}):t.jsx("p",{className:"text-muted-foreground py-8 text-center text-sm",children:"These are cleared already."})}),t.jsxs(q,{children:[d&&t.jsx(b,{variant:"destructive",onClick:c,disabled:i.isPending,children:i.isPending?"Clearing…":"Clear these"}),t.jsx(b,{variant:"outline",onClick:o,children:"Close"})]})]})})}function $t(e){const n=Math.floor(e/1e3);if(n<60)return`${n}s`;const o=Math.floor(n/60),s=n%60;if(o<60)return`${o}m ${s}s`;const i=Math.floor(o/60),a=o%60;return`${i}h ${a}m`}function Ft(e){switch(e){case"blocked":return{label:"Blocked",badge:"outline",tone:"warning",heading:"What it needed",title:"Run that couldn’t use its tools"};case"failed":return{label:"Didn’t finish",badge:"destructive",tone:"error",heading:"Error",title:"Run that didn’t finish"};case"cancelled":return{label:"Cancelled",badge:"secondary",tone:"neutral",heading:"Stopped",title:"Run that was stopped"};case"skipped":return{label:"Skipped",badge:"secondary",tone:"neutral",heading:"Why",title:"Run that never started"};case"running":return{label:"Running",badge:"secondary",tone:"neutral",heading:"Latest",title:"Run that is still going"};default:return{label:"Completed",badge:"secondary",tone:"neutral",heading:"Note",title:"Run that finished"}}}const Lt={error:{box:"bg-destructive/10 border-destructive/20",heading:"text-destructive",body:"text-destructive"},warning:{box:"bg-status-warning-bg border-status-warning-border",heading:"text-status-warning-fg",body:"text-status-warning-fg"},neutral:{box:"bg-muted border-border",heading:"text-foreground",body:"text-foreground/80"}};function Bt({open:e,itemId:n,onClose:o}){const{data:s,isLoading:i,isError:a}=Re(e?n??null:null),r=Ce(),l=z(),d=()=>{s!=null&&s.sessionId&&l(H({session:s.sessionId}))},c=()=>{s&&r.mutate(s.id)},h=s?Ft(s.status):null,g=h?Lt[h.tone]:null;return t.jsx($,{open:e,onOpenChange:f=>!f&&o(),children:t.jsxs(F,{side:"right",children:[t.jsxs(L,{children:[t.jsx(B,{children:(h==null?void 0:h.title)??"Run that needs a look"}),t.jsx(W,{children:n?n.slice(0,8):"Unknown"})]}),t.jsxs(U,{className:"flex-1 px-4",children:[i&&t.jsxs("div",{className:"space-y-4",children:[t.jsx(C,{className:"h-6 w-24"}),t.jsx(C,{className:"h-4 w-48"}),t.jsx(C,{className:"h-20 w-full"})]}),a&&t.jsx("p",{className:"text-destructive py-8 text-center text-sm",children:"Couldn’t load this run."}),!i&&!a&&!s&&t.jsx("p",{className:"text-muted-foreground py-8 text-center text-sm",children:"Already resolved."}),s&&t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"flex gap-2",children:[t.jsx(I,{variant:h.badge,children:h.label}),t.jsx(I,{variant:"secondary",children:s.trigger==="scheduled"?"Scheduled":"Manual"})]}),t.jsxs("div",{className:"space-y-1 text-sm",children:[s.startedAt&&t.jsxs("p",{className:"text-muted-foreground",children:["Started: ",A(s.startedAt)," ago"]}),s.finishedAt&&t.jsxs("p",{className:"text-muted-foreground",children:["Finished: ",A(s.finishedAt)," ago"]}),s.durationMs!=null&&t.jsxs("p",{className:"text-muted-foreground",children:["Duration: ",$t(s.durationMs)]})]}),s.error&&t.jsxs("div",{className:y("rounded-md border p-3",g.box),children:[t.jsx("p",{className:y("text-sm font-medium",g.heading),children:h.heading}),t.jsx("p",{className:y("mt-1 text-sm",g.body),children:s.error})]}),s.outputSummary&&t.jsxs("div",{className:"space-y-1",children:[t.jsx("p",{className:"text-muted-foreground text-xs font-medium",children:"Output"}),t.jsx("pre",{className:"bg-muted max-h-48 overflow-auto rounded-md p-3 font-mono text-xs",children:s.outputSummary})]})]})]}),t.jsxs(q,{children:[(s==null?void 0:s.sessionId)&&t.jsx(b,{variant:"default",onClick:d,children:"View chat"}),(s==null?void 0:s.status)==="running"&&t.jsx(b,{variant:"destructive",onClick:c,disabled:r.isPending,children:r.isPending?"Cancelling…":"Cancel run"}),t.jsx(b,{variant:"outline",onClick:o,children:"Close"})]})]})})}function Wt({agent:e}){const n=Ae(e,e.projectPath??"");return t.jsxs("div",{className:"flex items-center gap-3 py-2",children:[t.jsx(Pe,{color:n.color,emoji:n.emoji,size:"sm",className:"shrink-0"}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("p",{className:"text-foreground truncate text-sm font-medium",children:De(e)}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(I,{variant:"destructive",children:"Unreachable"}),e.runtime&&t.jsx(I,{variant:"secondary",children:Oe(e.runtime).label})]})]}),e.lastSeenAt&&t.jsxs("span",{className:"text-muted-foreground shrink-0 text-xs",children:[A(e.lastSeenAt)," ago"]})]})}function qt({open:e,onClose:n}){const{data:o}=At(void 0,e),s=m.useMemo(()=>o?o.namespaces.flatMap(i=>i.agents).filter(i=>i.healthStatus==="unreachable"):[],[o]);return t.jsx($,{open:e,onOpenChange:i=>!i&&n(),children:t.jsxs(F,{side:"right",children:[t.jsxs(L,{children:[t.jsx(B,{children:"Agents that aren’t answering"}),t.jsxs(W,{children:["DorkOS can’t reach ",s.length," agent",s.length===1?"":"s"," right now"]})]}),t.jsx(U,{className:"flex-1 px-4",children:s.length>0?t.jsx("div",{className:"divide-y",children:s.map(i=>t.jsx(Wt,{agent:i},i.id))}):t.jsxs("div",{className:"flex flex-col items-center gap-2 py-8",children:[t.jsx(Ie,{className:"text-status-success size-6"}),t.jsx("p",{className:"text-muted-foreground text-sm",children:"All agents are online"})]})}),t.jsx(q,{children:t.jsx(b,{variant:"outline",onClick:n,children:"Close"})})]})})}function zt(e){return e.content.suggestion!==void 0}function Ht(){const e=Dt(),{dismissedIds:n}=ge(),o=Me(s=>s.promoEnabled);return m.useMemo(()=>{if(!o)return null;const[s]=Ot(Mt.filter(zt),e,n,1);return s??null},[e,n,o])}function _t({suggestion:e,promoTitle:n,onAccept:o,onDismiss:s}){return t.jsxs("p",{"data-slot":"quiet-suggestion",className:"text-muted-foreground/70 text-2xs mt-1",children:[e.question," ",t.jsx("button",{type:"button",onClick:o,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm font-medium underline-offset-4 transition-colors hover:underline focus-visible:underline",children:e.action}),t.jsx("button",{type:"button","aria-label":`Dismiss suggestion: ${n}`,onClick:s,className:"text-muted-foreground/60 hover:text-foreground focus-ring -my-1.5 ml-0.5 inline-flex translate-y-[3px] items-center justify-center rounded-sm p-1.5 align-baseline transition-colors",children:t.jsx(oe,{className:"size-3"})})]})}function Ut({promo:e}){const{dismissPromo:n}=ge(),{activate:o,dialog:s}=Tt(e);return t.jsxs(t.Fragment,{children:[t.jsx(_t,{suggestion:e.content.suggestion,promoTitle:e.content.title,onAccept:o,onDismiss:()=>n(e.id)}),s]})}function Vt(){const e=Ht();return e===null?null:t.jsx(Ut,{promo:e},e.id)}const Yt=["report.daily"];function fe(){const{notifications:e}=Te({kinds:Yt,unread:!0});return m.useMemo(()=>e[0],[e])}function Gt({questions:e,requests:n,schedules:o,approvalsUnavailable:s,attention:i}){const a=[],r=[],l=e+n+o;return l>0?(a.push(`${Ee(e,n,o)} ${l===1?"is":"are"} waiting on you.`),r.push(`${l} waiting`)):s&&(a.push("Couldn’t read approvals."),r.push("Couldn’t read approvals")),i===1?(a.push("1 thing needs attention."),r.push("1 needs attention")):i>1&&(a.push(`${i} things need attention.`),r.push(`${i} need attention`)),{spoken:a.join(" "),compact:r.join(" · ")}}function Kt({notification:e,onDismiss:n}){return t.jsxs("div",{"data-slot":"shift-report-card",className:"border-border/60 bg-background/60 relative rounded-lg border p-3 pr-8",children:[t.jsxs("div",{className:"flex items-start gap-2.5",children:[t.jsx($e,{"aria-hidden":!0,className:"text-muted-foreground mt-0.5 size-3.5 shrink-0"}),t.jsxs("div",{className:"min-w-0 flex-1",children:[t.jsx("p",{className:"text-foreground text-xs font-medium",children:e.title}),e.body!==void 0&&t.jsx("p",{className:"text-muted-foreground mt-1 text-xs leading-relaxed",children:e.body})]})]}),t.jsx("button",{type:"button",onClick:n,"aria-label":"Dismiss",className:"text-muted-foreground hover:text-foreground focus-ring absolute top-2 right-2 rounded-md p-1 transition-colors",children:t.jsx(oe,{className:"size-3.5"})})]})}const Qt="max-h-[40svh] sm:max-h-[50svh]",Xt={initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0}};function T({title:e,tone:n="waiting",children:o}){const s=m.useId();return t.jsxs("section",{"aria-labelledby":s,className:"min-w-0",children:[t.jsx("h2",{id:s,className:y("mb-2 text-xs font-medium",n==="waiting"?"text-status-warning-fg":"text-muted-foreground"),children:e}),o]})}function X({edge:e}){return t.jsx("div",{"aria-hidden":"true","data-slot":`pinned-triage-fade-${e}`,className:y("from-background/95 via-background/65 pointer-events-none absolute inset-x-0 h-6 to-transparent",e==="bottom"?"bottom-0 bg-gradient-to-t":"top-0 bg-gradient-to-b")})}const J={animate:{transition:{staggerChildren:.04}}};function Jt(e){return e?0:.18}function Zt({approvals:e,asks:n,settlingAsks:o,askAgentNames:s,onOpenSession:i,approvalsUnavailable:a,onRetryApprovals:r,scheduleApprovals:l,errorSignals:d,activityItems:c,onOpenActivity:h,shiftReport:g,presence:f,condensed:j,onExpand:x,className:u}){const p=ie(),v=m.useRef(null),N=Fe(v),k=e.length>0||n.length>0||o.length>0||l.length>0||a,P=d.length>0,w=c.length>0,je=k||P||w||g!==void 0||(f==null?void 0:f.occupied)===!0,O=Gt({questions:n.length,requests:e.length,schedules:l.length,approvalsUnavailable:a,attention:d.length+c.length}),ve=j===!0&&O.compact!=="";return t.jsxs(t.Fragment,{children:[t.jsx("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:O.spoken}),t.jsxs(Y,{initial:!1,children:[ve&&t.jsx(R.div,{"data-slot":"pinned-triage-summary",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:Jt(p===!0)},className:y("bg-background/95 border-border/60 shrink-0 border-b backdrop-blur-sm",u),children:t.jsxs("button",{type:"button",onClick:x,className:"text-muted-foreground hover:text-foreground flex min-h-11 w-full min-w-0 items-center gap-2 px-[var(--msg-padding-x)] text-left text-xs",children:[t.jsx("span",{className:"bg-status-warning-dot size-1.5 shrink-0 rounded-full","aria-hidden":!0}),t.jsx("span",{className:"min-w-0 flex-1 truncate",children:O.compact}),t.jsx(Le,{className:"size-3.5 shrink-0","aria-hidden":!0})]})},"triage-summary"),je&&j!==!0&&t.jsxs(R.div,{"data-slot":"pinned-triage-header",...Xt,transition:{duration:p?0:.25,ease:[0,0,.2,1]},className:y("bg-background/95 border-border/60 relative shrink-0 overflow-hidden border-b backdrop-blur-sm",u),children:[t.jsxs("div",{ref:v,onScroll:N.onScroll,"data-slot":"pinned-triage-scroller",className:y("flex w-full min-w-0 scroll-py-6 flex-col gap-3 overflow-y-auto overscroll-contain px-[var(--msg-padding-x)] py-3",Qt),children:[k&&t.jsxs(T,{title:"Waiting on you",children:[(n.length>0||o.length>0)&&t.jsx(Be,{asks:n,agentNames:s,onOpenSession:i,emptyState:t.jsx("p",{className:"text-muted-foreground text-xs",children:"Nothing needs you"})}),e.length>0&&t.jsx(We,{approvals:e}),e.length===0&&a&&t.jsx(qe,{onRetry:r}),t.jsx(Y,{initial:!1,children:l.map(S=>t.jsx(ze,{task:S,className:"mt-2"},S.id))})]}),P&&t.jsx(T,{title:"Needs attention",children:t.jsx("div",{className:"border-status-warning-border/40 bg-background/60 rounded-lg border p-2",children:t.jsx(R.div,{variants:J,initial:"initial",animate:"animate",children:d.map(S=>t.jsx(Pt,{signal:S},S.id))})})}),g&&t.jsx(Kt,{notification:g.notification,onDismiss:g.onDismiss}),w&&t.jsx(T,{title:"Recent activity",tone:"neutral",children:t.jsx("div",{className:"border-border/60 bg-background/60 rounded-lg border p-2",children:t.jsx(R.div,{variants:J,initial:"initial",animate:"animate",children:c.map(S=>t.jsx(He,{notification:S,onOpen:()=>h(S)},S.id))})})}),f==null?void 0:f.node]}),N.start&&t.jsx(X,{edge:"top"}),N.end&&t.jsx(X,{edge:"bottom"})]},"triage-header")]})]})}function es({presence:e,composerFocused:n,onExpand:o,className:s}){const{approvals:i,isError:a,retry:r}=_e(),{interactions:l}=Ue(),d=Ve(),c=Ye(l),{schedules:h,errors:g,activity:f}=ae(),j=Ge(),x=fe(),{mutate:u}=Ke(),p=re({strict:!1}),v=z(),N=Qe(),k=Xe(h),P=Je(i),w=m.useCallback(()=>{v({...le.home(),search:{}})},[v]);return t.jsxs(t.Fragment,{children:[t.jsx(Zt,{approvals:P,asks:l,settlingAsks:d,askAgentNames:c,onOpenSession:V=>{v(H({session:V}))},approvalsUnavailable:a&&i.length===0,onRetryApprovals:r,scheduleApprovals:k,errorSignals:g,activityItems:f,onOpenActivity:j,shiftReport:x===void 0?void 0:{notification:x,onDismiss:()=>u(x.id)},presence:e,condensed:N&&n===!0,onExpand:o,className:s}),t.jsx(Et,{open:p.detail==="dead-letter",itemId:p.itemId,onClose:w}),t.jsx(Bt,{open:p.detail==="failed-run",itemId:p.itemId,onClose:w}),t.jsx(qt,{open:p.detail==="offline-agent",onClose:w})]})}const ts=["What can you help with?","Make my first agent","What’s in this project?","Set up a daily run"];function ss({roomId:e}){const n=m.useCallback(o=>{de.getState().set(e,o),ce.getState().requestFocus(e)},[e]);return t.jsx("div",{className:"w-full px-[var(--msg-padding-x)] pb-1",children:t.jsx(he,{suggestions:ts,onChipClick:n,ariaLabel:"Ways to start",size:"comfortable"})})}function ns(e){var a;const{data:n}=Ze(e),o=((a=n==null?void 0:n.members.find(r=>r.author.id===n.viewerAuthorId))==null?void 0:a.lastReadSeq)??null,[s,i]=m.useState({roomId:null,seq:null});return s.roomId===e?s.seq:o===null?null:(i({roomId:e,seq:o}),o)}function os(e,n){if(e===void 0)return null;let o=null,s=1/0;for(const i of e){if(!i.enabled||i.status!=="active")continue;const a=i.nextRun;if(a==null)continue;const r=Date.parse(a);Number.isNaN(r)||r<=n||r>=s||(s=r,o={name:i.displayName??i.name,at:a})}return o}function is(e,n){const o=new Date(e),s=o.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"}),i=as(new Date(n),o);return i===0?`today at ${s}`:i===1?`tomorrow at ${s}`:`on ${o.toLocaleDateString(void 0,{weekday:"long",month:"short",day:"numeric"})} at ${s}`}function as(e,n){const o=s=>new Date(s.getFullYear(),s.getMonth(),s.getDate()).getTime();return Math.round((o(n)-o(e))/864e5)}function rs(e,n){return e===null?null:`Next up: ${e.name} runs ${is(e.at,n)}.`}function ls({forwardLook:e,suggestion:n}){return t.jsx(R.div,{"data-slot":"home-quiet-state",initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:"border-border/60 shrink-0 border-b",children:t.jsxs("div",{className:"w-full px-[var(--msg-padding-x)] py-2",children:[t.jsxs("p",{className:"text-muted-foreground text-xs",children:[t.jsx("span",{className:"text-foreground/80 font-medium",children:"All quiet."}),e!==null&&t.jsxs(t.Fragment,{children:[" ",e]})]}),n]})})}function ds({roomId:e,presenceOccupied:n}){const o=_(e),s=ns(e),{items:i,isLoading:a,isAnyError:r}=et(),{total:l}=ae(),d=fe(),c=o!==void 0&&o.length>0,h=s!==null&&o!==void 0&&o.every(k=>k.seq<=s),g=i.length>0||a||r||l>0||d!==void 0||n,f=c&&h&&!g,[j,x]=m.useState("waiting");f&&j==="waiting"?x("shown"):!f&&j==="shown"&&x("retired");const u=f&&j!=="retired",p=tt(),{data:v}=st(p&&u),N=nt();return u?t.jsx(ls,{forwardLook:rs(os(v,N),N),suggestion:t.jsx(Vt,{})}):null}const pe="dorkos:home-opened-on";function Z(){const e=new Date,n=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0");return`${e.getFullYear()}-${n}-${o}`}function cs(){try{return localStorage.getItem(pe)}catch{return null}}function us(e){try{localStorage.setItem(pe,e)}catch{}}function ms(){const[e]=m.useState(()=>cs()!==Z());return m.useEffect(()=>{e&&us(Z())},[e]),e}function hs({children:e}){const n=ms(),o=ie(),s=n&&o!==!0;return t.jsx(R.div,{className:"h-full",initial:s?{opacity:0}:!1,animate:{opacity:1},transition:{duration:.45,ease:[0,0,.2,1]},children:e})}const ee="@dorkbot",gs="Build me a tracker for my customers",fs="Make a daily plan board",xe="Something else",ps=[gs,fs,xe];function xs({roomId:e,mode:n}){const o=Rt(),s=ot(),i=m.useCallback(a=>{if(a===xe){de.getState().set(e,`${ee} `),ce.getState().requestFocus(e);return}o.mutate({roomId:e,text:`${ee} ${a}`,clientId:it()})},[e,o]);return n==="starters"?t.jsx("div",{className:"w-full px-[var(--msg-padding-x)] pb-1","data-testid":"first-run-chips",children:t.jsx(he,{suggestions:ps,onChipClick:i,ariaLabel:"First jobs for DorkBot",size:"comfortable"})}):t.jsxs("div",{className:"flex w-full flex-wrap gap-2 px-[var(--msg-padding-x)] pb-1","data-testid":"first-run-connect-chips",children:[t.jsx(b,{size:"sm",onClick:()=>s.open("account"),children:"Continue with DorkOS"}),t.jsx(b,{size:"sm",variant:"outline",onClick:()=>s.open("runtimes"),children:"Use my own AI"})]})}function js(e){var r,l;const{data:n}=at(),o=_(e),s=ue(e,null),i=((r=n==null?void 0:n.onboarding)==null?void 0:r.welcomeEntryId)??null;if(e===null||i===null||!o||s.length>0)return null;const a=o.reduce((d,c)=>d===void 0||c.seq>d.seq?c:d,void 0);return(a==null?void 0:a.id)!==i?null:((l=n==null?void 0:n.onboarding)==null?void 0:l.firstRunPath)==="none"?"connect":"starters"}const vs=5,bs="relative after:absolute after:-inset-x-1 after:-inset-y-2.5 md:after:hidden";function ys(e,n){return e===null||n===null?null:Math.max(0,n-Date.parse(e))}function Ss({row:e,onFollow:n,onViewProfile:o}){const[s,i]=m.useState(null),a=ys(e.since,s),r=e.profileMemberId,l=o===void 0||r===null?void 0:()=>o(r);return t.jsx(kt,{onViewProfile:l,identity:{kind:e.face.kind,displayName:e.name,...e.handle!==null?{handle:e.handle}:{},color:e.face.color,...e.face.emoji!==void 0?{emoji:e.face.emoji}:{},...e.face.imageUrl!==void 0?{imageUrl:e.face.imageUrl}:{},...e.face.origin!==void 0?{origin:e.face.origin}:{},...e.face.kind==="agent"?{agent:{...e.runtime!==null?{runtime:e.runtime}:{},...a!==null?{working:{...e.roomTitle!==null?{room:e.roomTitle}:{},forMs:a}}:{}}}:{}},children:t.jsxs("button",{type:"button","aria-label":e.detail===null?`Watch ${e.name}`:`Watch ${e.name}: ${e.detail}`,onClick:()=>n(e.follow),onPointerEnter:()=>i(Date.now()),onPointerLeave:()=>i(null),onFocus:()=>i(Date.now()),onBlur:()=>i(null),className:y("focus-ring group/identity hover:bg-muted/60 flex min-w-0 items-center gap-1.5 rounded-full py-1 pr-2.5 pl-1 text-xs transition-colors",bs),children:[t.jsx(rt,{size:"xs",kind:e.face.kind,color:e.face.color,...e.face.emoji!==void 0?{emoji:e.face.emoji}:{},...e.face.imageUrl!==void 0?{imageUrl:e.face.imageUrl}:{},...e.face.origin!==void 0?{origin:e.face.origin}:{},fallback:e.face.fallback,status:"working"}),t.jsx("span",{className:"text-foreground shrink-0 font-medium",children:e.name}),e.detail!==null&&t.jsxs("span",{"aria-hidden":!0,className:"text-muted-foreground truncate",children:["· ",e.detail]})]})})}function Ns({rows:e,onFollow:n,onViewProfile:o,className:s}){if(e.length===0)return null;const i=e.slice(0,vs),a=e.length-i.length;return t.jsxs("ul",{"data-testid":"presence-strip","aria-label":"Working right now",className:y("flex items-center gap-x-2 overflow-hidden",s),children:[i.map(r=>t.jsx("li",{className:"min-w-0",children:t.jsx(Ss,{row:r,onFollow:n,onViewProfile:o})},r.id)),a>0&&t.jsx("li",{"aria-label":a===1?"1 more agent is working":`${a} more agents are working`,className:"text-muted-foreground shrink-0 text-xs",children:t.jsxs("span",{"aria-hidden":!0,children:["+",a," more"]})})]})}function ks(e){return`replying in ${e}`}const ws="working in a chat";function Rs(e,n){var i;const o=n.rosters[e];if(o!==void 0)return o.members.map(a=>({author:a.author,origin:a.origin}));const s=(i=n.rooms[e])==null?void 0:i.participants;return s==null?[]:s.map(a=>({author:a}))}function Cs(e){const n=new Map;for(const[o,s]of Object.entries(e))s!==null&&n.set(lt(o),{path:o,manifest:s});return n}function te(e){return{...e,line:ct(e.name,e.binding,e.state),detail:dt(e.binding,e.state)}}function Is(e){const n=Cs(e.agents),o=new Set(e.excludeRoomIds??[]),s=[],i=new Set;for(const l of e.claims){const d=Rs(l.roomId,e).find(f=>f.author.id===l.authorId);if(d===void 0)continue;const c=d.author.agentRef===void 0?void 0:n.get(d.author.agentRef);if(c!==void 0&&i.add(c.path),o.has(l.roomId))continue;const h=e.rooms[l.roomId],g=h===void 0?null:me(h);s.push(te({id:`room:${l.roomId}:${l.authorId}`,name:d.author.displayName,handle:d.author.handle,face:G({record:d.author,override:c===void 0?null:K(c.manifest),...d.origin!==void 0?{origin:d.origin}:{}}),binding:g===null?null:ks(g),state:l.state,since:l.since,roomTitle:g,runtime:(c==null?void 0:c.manifest.runtime)??null,profileMemberId:c===void 0?null:e.meshIdByPath[c.path]??null,follow:{kind:"room",roomId:l.roomId}}))}const a=new Set(i),r=[];for(const l of e.sessions){if(a.has(l.cwd))continue;const d=e.agents[l.cwd];if(d==null)continue;a.add(l.cwd);const c=d.displayName??d.name;r.push(te({id:`session:${l.sessionId}`,name:c,handle:null,face:G({record:{id:d.id,kind:"agent",displayName:c},override:K(d)}),binding:ws,state:"working",since:null,roomTitle:null,runtime:d.runtime,profileMemberId:e.meshIdByPath[l.cwd]??null,follow:{kind:"session",sessionId:l.sessionId,cwd:l.cwd}}))}return r.sort((l,d)=>l.name.localeCompare(d.name)||l.id.localeCompare(d.id)),[...s,...r]}function As(e,n,o){var a;const s=new Set(ut(Object.keys(n),Object.values(o))),i=[];for(const[r,l]of Object.entries(n))((a=e[r])==null?void 0:a.lifecycle)==="streaming"&&s.has(r)&&i.push({sessionId:r,cwd:l});return i}const se=[],Ps=[],ne="\0",D="";function Ds(){const e=M(m.useCallback(i=>i.statuses,[])),n=M(m.useCallback(i=>i.statusCwds,[])),o=M(m.useCallback(i=>i.sessions,[])),s=m.useMemo(()=>As(e,n,o).map(i=>`${i.sessionId}${ne}${i.cwd}`).sort().join(D),[e,n,o]);return m.useMemo(()=>s.length===0?Ps:s.split(D).map(i=>{const[a,r]=i.split(ne);return{sessionId:a,cwd:r}}),[s])}function Os(e=[]){const n=mt(),o=ht(),s=Ds(),{data:i}=gt(),{data:a}=ft(),r=m.useMemo(()=>[...new Set(o.map(u=>u.roomId))].sort().join(`
2
- `),[o]),l=m.useMemo(()=>r.length===0?[]:r.split(`
3
- `),[r]),d=pt({queries:l.map(u=>({queryKey:xt.detail(u),queryFn:()=>n.getRoom(u)})),combine:u=>{const p={};for(const v of u)v.data!==void 0&&(p[v.data.id]=v.data);return p}}),c=m.useMemo(()=>{const u={};for(const p of i??[])u[p.id]=p;return u},[i]),h=m.useMemo(()=>((a==null?void 0:a.agents)??[]).map(u=>u.projectPath),[a]),{data:g}=jt(h),f=m.useMemo(()=>g??{},[g]),j=m.useMemo(()=>{const u={};for(const p of(a==null?void 0:a.agents)??[])u[p.projectPath]=p.id;return u},[a]),x=e.join(D);return m.useMemo(()=>{if(o.length===0&&s.length===0)return se;const u=Is({claims:o,rosters:d,rooms:c,sessions:s,agents:f,meshIdByPath:j,excludeRoomIds:x.length===0?[]:x.split(D)});return u.length===0?se:u},[o,d,c,s,f,j,x])}function Ms(e=[]){const n=Os(e),o=z(),{open:s}=vt(),i=m.useCallback(r=>{if(r.kind==="room"){Q.getState().recordOpened("room",r.roomId),o({...le.channels(),search:{id:r.roomId}});return}r.cwd&&Q.getState().recordOpened("agent",r.cwd),o(H({session:r.sessionId,dir:r.cwd}))},[o]),a=m.useMemo(()=>t.jsx(Ns,{rows:n,onFollow:i,onViewProfile:s}),[n,i,s]);return{occupied:n.length>0,node:a}}function E({title:e,children:n,action:o}){return t.jsxs("div",{className:"text-muted-foreground flex h-full flex-col items-center justify-center gap-2 p-10 text-center text-sm",children:[t.jsx(Nt,{className:"text-muted-foreground/50 size-10","aria-hidden":!0}),t.jsx("p",{className:"text-foreground font-medium",children:e}),t.jsx("p",{className:"max-w-sm",children:n}),o]})}function Ts(){return t.jsxs(t.Fragment,{children:[t.jsx(bt,{children:"Home"}),t.jsx(Es,{})]})}function Es(){var f,j,x;const e=yt(),[n,o]=m.useState(!1),s=m.useCallback(()=>{const u=document.activeElement;wt(u)&&u.blur()},[]),{thread:i,entry:a}=re({strict:!1}),r=St(),l=Ms(e.room===null?[]:[e.room.id]),d=_(((f=e.room)==null?void 0:f.id)??null),c=ue(((j=e.room)==null?void 0:j.id)??null,null),h=d!==void 0&&d.length===0&&c.length===0,g=js(((x=e.room)==null?void 0:x.id)??null);if(e.status==="loading")return t.jsxs("div",{className:"flex h-full flex-col","aria-busy":!0,children:[t.jsxs("div",{className:"flex items-center gap-3 border-b px-4 py-3",children:[t.jsx(C,{className:"size-7 rounded-full"}),t.jsx(C,{className:"h-4 w-40"})]}),t.jsx("div",{className:"flex-1"})]});if(e.status==="error")return t.jsx(E,{title:"Couldn’t load your team room",action:t.jsx(b,{variant:"outline",size:"sm",className:"mt-2",onClick:e.retry,children:"Try again"}),children:"Its messages are safe."});if(e.status==="missing")return t.jsx(E,{title:"Your team room isn’t open yet",children:"DorkOS opens it at startup. Still missing? Restart DorkOS."});if(e.status==="archived"){const u=e.room;return t.jsx(E,{title:`${me(u)} is archived`,action:t.jsx(b,{variant:"outline",size:"sm",className:"mt-2",disabled:r.isPending,onClick:()=>r.mutate({roomId:u.id}),children:r.isPending?"Bringing it back…":"Bring it back"}),children:"Its messages are safe."})}return t.jsx(hs,{children:t.jsx(Ct,{roomId:e.room.id,threadId:i,entrySeq:a,threadRoute:"/",offerJumpBackIn:!0,onComposerFocusChange:o,aboveTimeline:t.jsxs(t.Fragment,{children:[t.jsx(es,{presence:l,composerFocused:n,onExpand:s}),t.jsx(ds,{roomId:e.room.id,presenceOccupied:l.occupied})]}),aboveComposer:g?t.jsx(xs,{roomId:e.room.id,mode:g}):h?t.jsx(ss,{roomId:e.room.id}):void 0})})}const $n=Ts;export{$n as component};
@@ -1 +0,0 @@
1
- import{e5 as k,r as i,e6 as w,e7 as C,e8 as E,j as e,e as R,e9 as o,ea as D,ar as x,B as M,cR as B,eb as _,bf as L,a$ as Q,cQ as z,b2 as G}from"./index-DSYz85aL.js";import{Q as H}from"./query-error-state-C2QLFCgp.js";import{P as F}from"./page-container-D2J6eon9.js";import{F as K,T as U,C as V}from"./TasksEmptyState-DityFi7P.js";import{i as W}from"./registry-CsiY3fnM.js";import{u as $,S as X}from"./search-x-DeFOvp_5.js";import{S as q}from"./scroll-area-DYTbXWMY.js";import"./empty-state-Xw8KQdod.js";import"./inline-code-BjkmgK0M.js";import"./form-USBlP2n_.js";import"./command-CxjTPW0z.js";import"./AgentPicker--wr93sVO.js";import"./AgentOptionRow-CtdBmX9G.js";import"./execution-config-ryHuiBdx.js";import"./settings-for-runtime-BoOa-ZFG.js";import"./list-runtime-types-DvfLx6v2.js";import"./format-cron-u8efK62G.js";const J=8,Y={visible:{transition:{staggerChildren:.04}},hidden:{}},Z={hidden:{opacity:0,y:8},visible:{opacity:1,y:0}};function ee({tasks:l,isLoading:c,agentMap:u,onEditTask:j,agentId:m}){const s=$(k,{debounce:{search:200}}),[r]=i.useState(0),[f,d]=i.useState(null),n=i.useMemo(()=>m?l.filter(t=>t.agentId===m):l,[l,m]),p=i.useMemo(()=>[...new Set(n.map(t=>t.agentId).filter(t=>!!t))],[n]),h=i.useMemo(()=>w(n,k,s.values,E,{field:s.sortField||C,direction:s.sortDirection}),[n,s.values,s.sortField,s.sortDirection]);return c?e.jsx("div",{className:"space-y-3 py-4",children:Array.from({length:3}).map((t,g)=>e.jsx(R,{className:"h-14 w-full rounded-xl"},g))}):e.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[e.jsxs(o,{state:s,className:"px-0",children:[e.jsx(o.Search,{placeholder:"Filter tasks…"}),e.jsx(o.Primary,{name:"status"}),e.jsx(o.AddFilter,{dynamicOptions:{agent:p}}),e.jsx(o.Sort,{options:E,defaultField:C}),e.jsx(o.ResultCount,{count:h.length,total:n.length,noun:"task"}),e.jsx(o.ActiveFilters,{})]}),e.jsx(q,{className:"min-h-0 flex-1","data-testid":D.tasksList,children:e.jsx("div",{className:"space-y-2 pb-4",children:h.length===0&&n.length>0?e.jsxs(x.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},className:"flex flex-col items-center justify-center gap-3 py-12 text-center",children:[e.jsx(X,{className:"text-muted-foreground/50 size-10"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:s.describeActive()?`No tasks match ${s.describeActive()}`:"No tasks match your filters"}),e.jsx(M,{variant:"outline",size:"sm",onClick:s.clearAll,children:"Clear filters"})]}):e.jsx(x.div,{initial:"hidden",animate:"visible",variants:Y,className:"space-y-2",children:h.map((t,g)=>e.jsx(x.div,{variants:g<J?Z:void 0,transition:{duration:.15},children:e.jsx(B,{task:t,agent:(t.agentId?u.get(t.agentId):void 0)??null,expanded:f===t.id,onToggleExpand:()=>d(f===t.id?null:t.id),onEdit:()=>j(t)})},t.id))},r)})})]})}function te(){return e.jsxs(e.Fragment,{children:[e.jsx(_,{children:"Schedules"}),e.jsx(se,{})]})}function se(){const l=L(),{data:c=[],isLoading:u,isError:j,refetch:m}=Q(l),[s,r]=i.useState(!1),[f,d]=i.useState(),[n,p]=i.useState(null),h=c.some(a=>a.agentId),{data:t}=z(void 0,h||!u),g=i.useMemo(()=>{const a=new Map;for(const S of(t==null?void 0:t.agents)??[])a.set(S.id,S);return a},[t]),{externalTrigger:T,clear:N}=G(),[v,y]=i.useState(!1);T&&!v&&!s?(y(!0),d(void 0),r(!0),N()):!T&&v&&y(!1);const A=a=>{p(a),d(void 0),r(!0)},b=()=>{p(null),d(void 0),r(!0)},O=a=>{d(a),r(!0)},P=a=>{r(a),a||p(null)};if(!l)return e.jsx(K,{icon:W.tasks,name:"Scheduling",description:"Agents run tasks on a schedule, even while you’re away.",command:"dorkos --tasks"});if(j)return e.jsx(H,{className:"h-full",title:"Couldn’t load your scheduled tasks",description:"The DorkOS server didn’t answer. Check that it’s running.",onRetry:()=>void m()});const I=c.length>0;return e.jsxs(e.Fragment,{children:[!I&&!u?e.jsx(x.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.15},className:"h-full min-h-0",children:e.jsx(F,{width:"full",children:e.jsx(U,{onCreateWithPreset:A,onCreateBlank:b})})}):e.jsx(x.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.15},className:"h-full min-h-0",children:e.jsx(F,{width:"full",scroll:!1,children:e.jsx(ee,{tasks:c,isLoading:u,agentMap:g,onEditTask:O})})}),e.jsx(V,{open:s,onOpenChange:P,editTask:f,initialPreset:n})]})}const ve=te;export{ve as component};
@@ -1 +0,0 @@
1
- import{j as t}from"./index-DSYz85aL.js";import{M as o}from"./Marketplace-Dg0bIo7_.js";import{P as r}from"./page-container-D2J6eon9.js";import"./PreviewRefusedNotice-CdHja8fU.js";import"./shield-x-bloGLifl.js";import"./card-Dsy8PPN6.js";import"./empty-state-Xw8KQdod.js";import"./markdown-content-D7t62wwm.js";import"./use-unclaimed-chats-Bext8Aim.js";import"./use-bindings-Ci7hpEO4.js";import"./UnlinkDialog-ClNn0nv6.js";import"./use-dev-links-CtHwhTBj.js";import"./more-details-BJ_2FYn8.js";import"./file-CbZILJJL.js";import"./AgentPicker--wr93sVO.js";import"./command-CxjTPW0z.js";import"./AgentOptionRow-CtdBmX9G.js";import"./useMutationState-C3WVn0hu.js";import"./file-exclamation-point-rCHuN_aY.js";import"./rotate-ccw-clock-C2jXtg-P.js";import"./path-input-DhGxbEsh.js";function i(){return t.jsx(r,{width:"wide",children:t.jsx(o,{})})}const R=i;export{R as component};
@@ -1 +0,0 @@
1
- import{j as o}from"./index-DSYz85aL.js";import{P as r}from"./page-container-D2J6eon9.js";import{M as e}from"./MarketplaceSourcesView-KPw8YYXi.js";import"./use-pending-read-CgR0BnSW.js";function t(){return o.jsx(r,{width:"reading",children:o.jsx(e,{})})}const s=t;export{s as component};
@@ -1 +0,0 @@
1
- import{S as o}from"./WorkView-wVnGvWAz.js";import"./index-DSYz85aL.js";import"./WidgetErrorCard-oq5MKUX_.js";import"./index-DYF1ER90.js";import"./PromptSuggestionChips-DT-JdGeO.js";import"./primer-trigger-NAz78FSN.js";import"./use-is-below-desktop-DJQVU5CF.js";import"./use-notification-prefs-DXww4pVV.js";import"./card-Dsy8PPN6.js";import"./use-status-budget-Q1ltHI80.js";import"./git-branch-jQqbJAvp.js";import"./use-update-config-BJEw2LjV.js";import"./settings-for-runtime-BoOa-ZFG.js";import"./RuntimeSetupDialog-BSb5iK2A.js";import"./inline-code-BjkmgK0M.js";import"./list-runtime-types-DvfLx6v2.js";import"./RuntimeConnectFlow-BsZsQZS9.js";import"./useMutationState-C3WVn0hu.js";import"./runtime-connect-Dn0T5YWv.js";import"./unverified-catalog-notice-DAhwNpy_.js";import"./layers-DyShcAgn.js";import"./cpu-SRODWAA1.js";import"./banner-BhzLIs7u.js";import"./UnreadDivider-CGKnJcx7.js";import"./composer-insert-BpyATrmR.js";import"./use-composer-prefs-FpUdi_wE.js";import"./McpAppFrame-DjJ4EM39.js";import"./more-details-BJ_2FYn8.js";import"./find-latest-widget-fence-DJDfJAaN.js";import"./file-CbZILJJL.js";import"./use-session-canvas-BaGypLR6.js";import"./rotate-cw-34X3Kx8Z.js";import"./query-keys-DeYqUDia.js";import"./index.esm-Dyd3JXuK.js";import"./file-text-DGtefNvG.js";import"./markdown-content-D7t62wwm.js";import"./shield-x-bloGLifl.js";import"./McpSigninBody-V6RSsDqe.js";import"./image-off-DziiNcIl.js";import"./format-duration-BCr6uzby.js";import"./use-connector-management-CinfkPZI.js";import"./AgentRequestCard-DVoE2cnk.js";import"./access-copy-_81ChCG3.js";import"./query-error-state-C2QLFCgp.js";import"./empty-state-Xw8KQdod.js";import"./use-bindings-Ci7hpEO4.js";import"./connection-copy--MA7AN04.js";import"./KeyEntry-DgN8iewR.js";import"./index-Yr72qWri.js";import"./progress-cQRXQehb.js";import"./table-B8zvHC0J.js";import"./package-CeRLwc1u.js";import"./heart-CSbB9K4Q.js";import"./file-drag-GDx2qhdk.js";import"./paperclip-DFuuQSWM.js";import"./index-CDslENFz.js";const mo=o;export{mo as component};
@@ -1 +0,0 @@
1
- import{a1 as R,a2 as C,aP as j,a3 as T,r as c,gW as S,gX as N,gk as A,j as t,G as M,e as x,gY as k,gZ as P,eb as q,B as v,g_ as _,cj as B,g$ as D,h0 as F,l as b}from"./index-DSYz85aL.js";import{C as O,P as Q}from"./index-DYF1ER90.js";import{t as H,u as K,a as $,A as L,R as z,C as G,b as Y,c as Z,d as W,e as X}from"./ChannelComposer-WR3_Vvta.js";import{E as J}from"./empty-state-Xw8KQdod.js";import{P as U}from"./page-container-D2J6eon9.js";import"./file-CbZILJJL.js";import"./file-drag-GDx2qhdk.js";import"./find-latest-widget-fence-DJDfJAaN.js";import"./WidgetErrorCard-oq5MKUX_.js";import"./index-Yr72qWri.js";import"./card-Dsy8PPN6.js";import"./progress-cQRXQehb.js";import"./markdown-content-D7t62wwm.js";import"./table-B8zvHC0J.js";import"./package-CeRLwc1u.js";import"./heart-CSbB9K4Q.js";import"./git-branch-jQqbJAvp.js";import"./file-text-DGtefNvG.js";import"./paperclip-DFuuQSWM.js";import"./index-CDslENFz.js";import"./RuntimeSetupDialog-BSb5iK2A.js";import"./inline-code-BjkmgK0M.js";import"./list-runtime-types-DvfLx6v2.js";import"./RuntimeConnectFlow-BsZsQZS9.js";import"./useMutationState-C3WVn0hu.js";import"./runtime-connect-Dn0T5YWv.js";import"./repeat-CtIEyxm4.js";import"./use-room-sessions-DGcrmZvE.js";import"./format-duration-BCr6uzby.js";import"./mention-pill-DNQ2ICCW.js";import"./rotate-ccw-clock-C2jXtg-P.js";import"./unplug-DYZEcvkR.js";import"./message-square-off-D6K1M95g.js";import"./registry-CsiY3fnM.js";const V=3e4;function ee(){const e=R();return C({queryKey:j.threads(),queryFn:()=>e.listThreads(),staleTime:V})}function te(e){const o=T(),n=c.useRef(null);c.useEffect(()=>{if(e===void 0)return;const r=n.current,i=new Map(e.map(s=>[s.rootEntryId,s.lastActivityAt]));if(n.current=i,r===null)return;const a=new Set;for(const s of e){const d=r.get(s.rootEntryId);d!==void 0&&d!==s.lastActivityAt&&a.add(s.roomId)}for(const s of a)o.invalidateQueries({queryKey:j.entries(s)})},[e,o])}const y=12;function oe(e){const[o,n]=c.useState(y),[r,i]=c.useState(null),a=c.useRef(new Set),s=c.useMemo(()=>e.filter((p,m)=>m<o||a.current.has(p.rootEntryId)),[e,o]);c.useEffect(()=>{for(const p of s)a.current.add(p.rootEntryId)},[s]);const d=e.length>s.length,f=c.useCallback(()=>{const p=new Set(s.map(u=>u.rootEntryId)),m=e.filter(u=>!p.has(u.rootEntryId));m.length<=y&&m[0]!==void 0&&i(m[0].rootEntryId),n(u=>u+y)},[e,s]),h=c.useCallback(()=>i(null),[]);return{visible:s,hasMore:d,showMore:f,focusId:r,focused:h}}function re(e,o){const r=S(e).data;return c.useMemo(()=>{let i;const a=[];for(const s of r??[])s.id===o?i=s:H(s)===o&&a.push(s);return{root:i,latest:a.slice(-2),loaded:r!==void 0}},[r,o])}function se(e){var n;return e.target.closest('button, a, input, textarea, [role="button"], [role="menuitem"]')?!1:(((n=window.getSelection())==null?void 0:n.toString())??"")===""}function ne({thread:e,agents:o,onOpen:n}){const i=N(e.roomId).data,a=A({kind:e.roomKind,slug:e.roomSlug,title:e.roomTitle});return t.jsxs("article",{"aria-label":`Thread in ${a}`,"data-testid":"thread-card","data-thread-root":e.rootEntryId,className:"bg-card rounded-lg border",children:[t.jsxs("header",{className:"flex items-center gap-2 border-b px-4 py-2",children:[t.jsx("button",{type:"button",onClick:()=>n(e),className:M("focus-ring hover:text-foreground min-w-0 truncate rounded text-sm",e.unreadCount>0?"text-foreground font-semibold":"text-muted-foreground"),children:a}),e.unreadCount>0&&t.jsxs("span",{className:"text-primary shrink-0 text-xs font-medium",children:[e.unreadCount," new"]})]}),i===void 0?t.jsx(ie,{}):t.jsx(ae,{room:i,thread:e,agents:o,onOpen:n})]})}function ae({room:e,thread:o,agents:n,onOpen:r}){const{root:i,latest:a,loaded:s}=re(e.id,o.rootEntryId),d=K({room:e,threadRootId:o.rootEntryId}),f=k(e.id,o.rootEntryId),[h,p]=c.useState(!1),m=P(e.members,e.viewerAuthorId),u=c.useMemo(()=>$(e.members,e.formerAuthors),[e.members,e.formerAuthors]),w=c.useMemo(()=>new Map([...u].map(([l,E])=>[l,E.displayName])),[u]),g=Math.max(0,o.replyCount-a.length),I=l=>t.jsx(Y,{roomId:e.id,entry:l,author:Z(W(l,u),u,n.faces),authorRef:u.get(l.authorId),authors:u,viewerAuthorId:e.viewerAuthorId,authorNames:w,reactionFrequents:e.reactionFrequents,isMember:m,grouping:{position:"only"}},l.id);return t.jsx(L,{known:n,children:t.jsxs(O.Root,{surface:"room",capabilities:z,target:d.target,anchor:"rail",children:[t.jsxs("div",{className:"py-2",children:[i!==void 0?t.jsx("div",{"data-testid":"thread-card-root",className:"cursor-pointer",onClick:l=>{se(l)&&r(o)},children:I(i)}):t.jsx("button",{type:"button",onClick:()=>r(o),className:"focus-ring text-foreground hover:bg-accent/40 mx-2 block w-[calc(100%-1rem)] rounded px-2 py-1.5 text-left text-sm",children:s?o.rootPreview||"A message with no text":t.jsx(x,{className:"h-4 w-2/3"})}),g>0&&t.jsx("button",{type:"button","data-testid":"thread-card-more",onClick:()=>r(o),className:"focus-ring text-muted-foreground hover:text-foreground mx-[var(--msg-padding-x)] my-1 rounded text-xs",children:g===1?"1 more reply":`${g} more replies`}),a.map(I),f.map(l=>t.jsx(Q,{post:l,viewerAuthorId:e.viewerAuthorId},l.clientId))]}),m&&t.jsx("div",{className:"border-t",children:h?t.jsx(G,{room:e,threadRootId:o.rootEntryId,attachments:d.attachments,focusOnMount:!0}):t.jsx("button",{type:"button","data-testid":"thread-card-reply",onClick:()=>p(!0),className:"focus-ring text-muted-foreground hover:text-foreground w-full rounded-b-lg px-4 py-2.5 text-left text-sm",children:"Reply…"})})]})})}function ie(){return t.jsxs("div",{className:"flex flex-col gap-2 px-4 py-3","aria-hidden":!0,children:[t.jsx(x,{className:"h-4 w-1/3"}),t.jsx(x,{className:"h-4 w-4/5"})]})}function de(){var n;const e=B(),o=((n=D().room)==null?void 0:n.id)??null;return c.useCallback(r=>{if(F.getState().openThread(r.roomId,r.rootEntryId,!1),r.roomId===o){e({...b.home(),search:{thread:r.rootEntryId}});return}e({...b.channels(),search:{id:r.roomId,thread:r.rootEntryId}})},[e,o])}const ce=[];function ue(){const e=ee(),o=X(),n=de(),r=oe(e.data??ce),i=c.useRef(null);te(e.data);const{focusId:a,focused:s}=r;return c.useEffect(()=>{var f,h;if(a===null)return;const d=(f=i.current)==null?void 0:f.querySelector(`[data-thread-root="${CSS.escape(a)}"]`);(h=d==null?void 0:d.querySelector("button"))==null||h.focus(),s()},[a,s]),t.jsxs(U,{width:"reading",children:[t.jsx("header",{className:"mb-4",children:t.jsx(q,{children:"Threads"})}),e.isPending?t.jsx("div",{className:"flex flex-col gap-3","aria-busy":!0,"data-testid":"threads-loading",children:[0,1,2].map(d=>t.jsx(x,{className:"h-32 w-full rounded-lg"},d))}):e.isError?t.jsxs("div",{className:"text-muted-foreground flex flex-col items-start gap-2 text-sm",children:[t.jsx("p",{children:"Couldn’t load your threads."}),t.jsx(v,{variant:"outline",size:"sm",onClick:()=>void e.refetch(),children:"Try again"})]}):e.data.length===0?t.jsx(J,{icon:_,headline:"No threads yet",description:"Reply to a message in any channel or DM, and the thread shows up here."}):t.jsxs(t.Fragment,{children:[t.jsx("ul",{ref:i,className:"flex flex-col gap-3","aria-label":"Your threads",children:r.visible.map(d=>t.jsx("li",{children:t.jsx(ne,{thread:d,agents:o,onOpen:n})},d.rootEntryId))}),r.hasMore&&t.jsx(v,{variant:"outline",size:"sm",className:"mt-3 self-start",onClick:r.showMore,children:"Show more"})]})]})}const ze=ue;export{ze as component};
@@ -1 +0,0 @@
1
- import{E as o}from"./ExtensionPageRoute-Drr5uceG.js";import"./index-DSYz85aL.js";import"./empty-state-Xw8KQdod.js";import"./page-container-D2J6eon9.js";import"./use-dev-links-CtHwhTBj.js";import"./UnlinkDialog-ClNn0nv6.js";const e=o;export{e as component};
@@ -1 +0,0 @@
1
- import{E as o}from"./ExtensionPageRoute-Drr5uceG.js";import"./index-DSYz85aL.js";import"./empty-state-Xw8KQdod.js";import"./page-container-D2J6eon9.js";import"./use-dev-links-CtHwhTBj.js";import"./UnlinkDialog-ClNn0nv6.js";const e=o;export{e as component};
@@ -1 +0,0 @@
1
- import{U as a,C as n}from"./mermaid.core-NAyHAvFm.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
@@ -1 +0,0 @@
1
- import{r as h,dW as te,j as i,dD as ne,dE as se,dF as oe,ar as _,dG as re,ed as ie,G as Y,ee as ce,X as ae,x as le,C as ue,ef as de}from"./index-DSYz85aL.js";import{T as fe,a as me}from"./index.esm-Dyd3JXuK.js";import{a as d}from"./index-Yr72qWri.js";import{u as z,a as he,I as pe}from"./image-off-DziiNcIl.js";const Q={"image/png":"png","image/jpeg":"jpg","image/gif":"gif","image/webp":"webp","image/avif":"avif","image/svg+xml":"svg"},xe=new Set(["png","jpg","jpeg","gif","webp","avif","svg"]);function K(n,s){var u;const o=/^(.*)\.([a-z0-9]{1,5})$/i.exec(n),e=(o?o[1]:n)||"image",c=(u=o==null?void 0:o[2])==null?void 0:u.toLowerCase(),a=(s?Q[s.split(";")[0].trim()]:void 0)??(c&&xe.has(c)?c:"png");return`${e}.${a}`}function ge(n){var s;if(n.downloadName)return n.downloadName;if(n.src.startsWith("data:")){const o=((s=/^data:([^;,]+)/.exec(n.src))==null?void 0:s[1])??"";return`image.${Q[o]??"png"}`}try{const o=new URL(n.src,"http://local").pathname.split("/").pop()??"",e=decodeURIComponent(o);return/\.[a-z0-9]{2,5}$/i.test(e)?e:"image"}catch{return"image"}}function $(n,s,o){const e=document.createElement("a");e.href=n,e.download=s,o&&(e.target="_blank",e.rel="noopener noreferrer"),document.body.append(e),e.click(),e.remove()}async function be(n){const s=ge(n);try{const o=await fetch(n.src);if(!o.ok)throw new Error(`HTTP ${o.status}`);const e=await o.blob(),c=URL.createObjectURL(e);$(c,K(s,e.type),!1),setTimeout(()=>URL.revokeObjectURL(c),1e3)}catch{$(n.src,K(s),!0)}}function H(n,s,o){const e=Math.min(s.width/n.width,s.height/n.height),c=o?e:Math.min(e,1),f=n.width*c,a=n.height*c;return{left:s.left+(s.width-f)/2,top:s.top+(s.height-a)/2,width:f,height:a}}function q(n,s,o){const e={width:n.naturalWidth,height:n.naturalHeight};if(e.width===0||e.height===0)return null;const c=n.getBoundingClientRect();if(c.width===0||c.height===0||!(c.bottom>0&&c.right>0&&c.top<o.height&&c.left<o.width))return null;const a=H(e,c,!0),u=H(e,s,!1);return{x:a.left+a.width/2-(s.left+s.width/2),y:a.top+a.height/2-(s.top+s.height/2),scale:a.width/u.width}}const ye=8,we=110,ve=70,V=.5,je=6,O={type:"spring",stiffness:520,damping:42};function Se(n){const s=h.useRef(n);h.useLayoutEffect(()=>{s.current=n});const o=h.useRef(new Set),e=h.useRef(null),c=h.useRef(null),f=h.useRef(!1),a=()=>{const{x:r,y:l,scale:x,backdrop:y}=s.current;d(r,0,O),d(l,0,O),d(x,1,O),d(y,1,O)},u=r=>{var l;if(c.current={x:r.clientX,y:r.clientY},f.current=!1,r.pointerType!=="mouse"){if(o.current.add(r.pointerId),o.current.size>1){(l=e.current)!=null&&l.axis&&a(),e.current=null;return}e.current=s.current.canGesture()?{id:r.pointerId,startX:r.clientX,startY:r.clientY,startTime:r.timeStamp,axis:null}:null}},j=r=>{c.current&&Math.hypot(r.clientX-c.current.x,r.clientY-c.current.y)>je&&(f.current=!0);const l=e.current;if(!l||l.id!==r.pointerId)return;const x=r.clientX-l.startX,y=r.clientY-l.startY;if(l.axis===null){if(Math.max(Math.abs(x),Math.abs(y))<ye)return;l.axis=Math.abs(y)>Math.abs(x)?"y":"x"}const{x:v,y:k,scale:C,backdrop:S,canStep:T}=s.current;if(l.axis==="y"){const N=Math.min(Math.abs(y)/320,1);k.set(y),C.set(1-N*.12),S.set(1-N*.7)}else v.set(T(x<0?1:-1)?x:x*.25)},p=r=>{o.current.delete(r.pointerId);const l=e.current;if(!l||l.id!==r.pointerId||(e.current=null,l.axis===null))return;const x=Math.max(r.timeStamp-l.startTime,1),{canStep:y,onDismiss:v,onStep:k}=s.current;if(r.type==="pointercancel"){a();return}if(l.axis==="y"){const N=r.clientY-l.startY;Math.abs(N)>we||Math.abs(N)/x>V?v():a();return}const C=r.clientX-l.startX,S=C<0?1:-1;(Math.abs(C)>ve||Math.abs(C)/x>V)&&y(S)?k(S):a()};return{handlers:{onPointerDown:u,onPointerMove:j,onPointerUp:p,onPointerCancel:p},endedDrag:()=>f.current}}const A={type:"spring",stiffness:360,damping:34,mass:.9},W={type:"spring",stiffness:420,damping:40},E={duration:.16,ease:"easeOut"},Z=72,w=n=>n.stopPropagation(),Ne={onClick:w,onDoubleClick:w,onContextMenu:w,onKeyDown:w,onKeyUp:w,onPointerDown:w,onPointerMove:w,onPointerUp:w,onPointerCancel:w,onTouchStart:w,onTouchMove:w,onTouchEnd:w,onWheel:w};function Pe({open:n,onOpenChange:s,images:o,index:e,onIndexChange:c,getTrigger:f}){const a=te()===!0,u=z(0),j=z(0),p=z(1),r=z(1),l=z(0),x=he(l,[.55,1],[0,1]),y=h.useRef(null),v=h.useRef("idle"),k=h.useRef(!1),C=h.useRef(async()=>{}),S=h.useRef(null),[T,N]=h.useState(null),[ee,U]=h.useState({}),g=o[e],P=o.length,B=g?ee[g.src]??"loading":"loading",L=g!==void 0&&T===g.src;h.useLayoutEffect(()=>{var I,R;if(!n)return;v.current="idle",k.current=!1,S.current=null,u.set(0),j.set(0),p.set(1),d(l,1,a?E:{duration:.24,ease:"easeOut"});const t=(I=f==null?void 0:f(e))==null?void 0:I.querySelector("img"),m=(R=y.current)==null?void 0:R.getBoundingClientRect(),b=!a&&t&&m?q(t,m,{width:window.innerWidth,height:window.innerHeight}):null;b?(u.set(b.x),j.set(b.y),p.set(b.scale),r.set(1),d(u,0,A),d(j,0,A),d(p,1,A)):(r.set(0),a||p.set(.96),d(r,1,E),d(p,1,E))},[n]),h.useLayoutEffect(()=>{const t=S.current;t!==null&&(S.current=null,j.set(0),p.set(1),u.set(a?0:t*Z),d(u,0,O),d(r,1,E).then(()=>{v.current="idle",k.current&&(k.current=!1,C.current())}))},[e,r,a,u,j,p]),h.useEffect(()=>{if(n)for(const t of[o[e-1],o[e+1]])t&&(new Image().src=t.src)},[n,o,e]);const D=h.useCallback(async()=>{var R,X;if(v.current==="closing")return;if(v.current==="stepping"){k.current=!0;return}v.current="closing",N(null);const t=(R=f==null?void 0:f(e))==null?void 0:R.querySelector("img"),m=(X=y.current)==null?void 0:X.getBoundingClientRect(),b=!a&&!L&&t&&m?q(t,m,{width:window.innerWidth,height:window.innerHeight}):null,I=d(l,0,a?E:{duration:.22,ease:"easeIn"});b?await Promise.all([d(u,b.x,W),d(j,b.y,W),d(p,b.scale,W),I]):await Promise.all([d(r,0,E),a?null:d(p,p.get()*.96,E),I]),s==null||s(!1)},[l,f,e,s,r,a,p,u,j,L]);h.useLayoutEffect(()=>{C.current=D},[D]);const M=h.useCallback(async t=>{const m=e+t;v.current!=="idle"||m<0||m>=P||(v.current="stepping",await Promise.all([a?null:d(u,-t*Z+u.get()*.5,E),d(r,0,{duration:.1})]),S.current=t,c(m))},[P,e,c,r,a,u]),G=Se({x:u,y:j,scale:p,backdrop:l,canGesture:()=>v.current==="idle"&&!L,canStep:t=>e+t>=0&&e+t<P,onDismiss:()=>void D(),onStep:t=>void M(t)});return g?i.jsx(ne,{open:n,onOpenChange:t=>{t||D()},children:i.jsx(se,{container:document.body,children:i.jsxs("div",{className:"contents",...Ne,children:[i.jsx(oe,{asChild:!0,children:i.jsx(_.div,{"data-slot":"image-lightbox-backdrop",style:{opacity:l},className:"bg-background/90 fixed inset-0 z-50 backdrop-blur-xl"})}),i.jsxs(re,{"data-slot":"image-lightbox","aria-describedby":void 0,onOpenAutoFocus:t=>{var m;t.preventDefault(),(m=t.currentTarget)==null||m.focus()},onFocusOutside:t=>t.preventDefault(),onCloseAutoFocus:t=>{const m=f==null?void 0:f(e);m&&(t.preventDefault(),m.focus({preventScroll:!0}))},onKeyDown:t=>{t.key==="ArrowRight"?M(1):t.key==="ArrowLeft"&&M(-1)},onClick:t=>{var R,X;const m=t.target;if(G.endedDrag()||m.closest("button"))return;const b=(X=(R=y.current)==null?void 0:R.querySelector("img"))==null?void 0:X.getBoundingClientRect();b!==void 0&&t.clientX>=b.left&&t.clientX<=b.right&&t.clientY>=b.top&&t.clientY<=b.bottom||D()},...G.handlers,className:"fixed inset-0 z-50 flex touch-none flex-col outline-none select-none",children:[i.jsx(ie,{className:"sr-only",children:g.alt||"Image"}),i.jsxs(_.div,{style:{opacity:x},className:"flex shrink-0 items-center justify-between gap-2 pt-[max(0.75rem,env(safe-area-inset-top))] pr-[max(0.75rem,env(safe-area-inset-right))] pb-2 pl-[max(0.75rem,env(safe-area-inset-left))]",children:[i.jsxs("p",{"aria-live":"polite",className:Y("text-muted-foreground px-2 text-sm tabular-nums",P<2&&"invisible"),children:[e+1," of ",P]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(F,{label:"Download image",onClick:()=>void be(g),children:i.jsx(ce,{className:"size-[18px]"})}),i.jsx(F,{label:"Close",onClick:()=>void D(),children:i.jsx(ae,{className:"size-5"})})]})]}),i.jsxs("div",{className:"relative min-h-0 flex-1 px-3 sm:px-20",children:[i.jsxs("div",{ref:y,className:"relative h-full w-full",children:[i.jsx(_.div,{style:{x:u,y:j,scale:p,opacity:r},className:"h-full w-full",children:i.jsx(fe,{centerOnInit:!0,minScale:1,maxScale:8,doubleClick:{mode:"toggle",step:1.2},wheel:{step:.15},panning:{disabled:!L,velocityDisabled:!0},onTransform:(t,m)=>N(m.scale>1.01?g.src:null),children:i.jsx(me,{wrapperClass:"!h-full !w-full",contentClass:"!h-full !w-full flex items-center justify-center",children:B==="error"?i.jsxs("p",{className:"text-muted-foreground flex items-center gap-2 text-sm",children:[i.jsx(pe,{"aria-hidden":!0,className:"size-4"}),"This image couldn’t be loaded."]}):i.jsx("img",{src:g.src,alt:g.alt,draggable:!1,onLoad:()=>U(t=>({...t,[g.src]:"loaded"})),onError:()=>U(t=>({...t,[g.src]:"error"})),className:Y("max-h-full max-w-full rounded-lg object-contain shadow-2xl shadow-black/25",L?"cursor-grab active:cursor-grabbing":"cursor-zoom-in")})})},g.src)}),B==="loading"&&i.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:i.jsx(le,{size:"md",label:"Loading image",className:"text-muted-foreground"})})]}),e>0&&i.jsx(J,{direction:-1,fade:x,onClick:()=>void M(-1)}),e<P-1&&i.jsx(J,{direction:1,fade:x,onClick:()=>void M(1)})]}),i.jsx(_.div,{style:{opacity:x},className:"flex min-h-12 shrink-0 items-center justify-center px-6 pt-2 pb-[max(0.75rem,env(safe-area-inset-bottom))]",children:g.alt&&i.jsx("p",{className:"text-muted-foreground line-clamp-2 max-w-prose text-center text-sm",children:g.alt})})]})]})})}):null}function F({label:n,onClick:s,fade:o,className:e,children:c}){return i.jsx(_.button,{type:"button","aria-label":n,title:n,onClick:s,style:o?{opacity:o}:void 0,className:Y("focus-ring bg-background/70 text-foreground border-border/60 hover:bg-background","flex size-10 items-center justify-center rounded-full border shadow-sm backdrop-blur-md","transition-colors duration-150 motion-reduce:transition-none",e),children:c})}function J({direction:n,fade:s,onClick:o}){return i.jsx(F,{label:n===1?"Next image":"Previous image",onClick:o,fade:s,className:Y("absolute top-1/2 hidden -translate-y-1/2 sm:flex",n===1?"right-4":"left-4"),children:n===1?i.jsx(ue,{className:"size-5"}):i.jsx(de,{className:"size-5"})})}export{Pe as ImageLightbox};
@@ -1,6 +0,0 @@
1
- import{fi as h,fj as f,fk as k,r as i,fl as x,fm as V,fn as C,fo as I,fp as y,W as j}from"./index-DSYz85aL.js";function E(...e){const n=!Array.isArray(e[0]),t=n?0:-1,s=e[0+t],o=e[1+t],a=e[2+t],c=e[3+t],r=h(o,a,c);return n?r(s):r}function L(e){const n=f(()=>k(e)),{isStatic:t}=i.useContext(x);if(t){const[,s]=i.useState(e);i.useEffect(()=>n.on("change",s),[])}return n}function m(e,n){const t=L(n()),s=()=>t.set(n());return s(),V(()=>{const o=()=>I.preRender(s,!1,!0),a=e.map(c=>c.on("change",o));return()=>{a.forEach(c=>c()),C(s)}}),t}function M(e){y.current=[],e();const n=m(y.current,e);return y.current=void 0,n}function b(e,n,t,s){if(typeof e=="function")return M(e);if(t!==void 0&&!Array.isArray(t)&&typeof n!="function")return p(e,n,t,s);const c=typeof n=="function"?n:E(n,t,s),r=Array.isArray(e)?l(e,c):l([e],([A])=>c(A)),u=Array.isArray(e)?void 0:e.accelerate;return u&&!u.isTransformed&&typeof n!="function"&&Array.isArray(t)&&(s==null?void 0:s.clamp)!==!1&&(r.accelerate={...u,times:n,keyframes:t,isTransformed:!0}),r}function l(e,n){const t=f(()=>[]);return m(e,()=>{t.length=0;const s=e.length;for(let o=0;o<s;o++)t[o]=e[o].get();return n(t)})}function p(e,n,t,s){const o=f(()=>Object.keys(t)),a=f(()=>({}));for(const c of o)a[c]=b(e,n,t[c],s);return a}/**
2
- * @license lucide-react v1.48.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const d={name:"image-off",size:24,node:[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]]};d.node;const v=j(d);export{v as I,b as a,L as u};
@@ -1 +0,0 @@
1
- import{m as y,s as k,W as M}from"./WorkView-wVnGvWAz.js";import{a as Us,b as Ys,c as $s,S as zs,d as Js,u as Xs}from"./WorkView-wVnGvWAz.js";import{a1 as P,a3 as w,r as m,a2 as T,aU as h,j as c,cL as A,cM as N,cN as b,cO as v,cP as C,aY as R,h as _,s as j}from"./index-DSYz85aL.js";import{u as I}from"./use-room-sessions-DGcrmZvE.js";import{u as L}from"./use-direct-message-panel-Da9rkfA3.js";import"./index-DYF1ER90.js";import"./WidgetErrorCard-oq5MKUX_.js";import"./PromptSuggestionChips-DT-JdGeO.js";import"./primer-trigger-NAz78FSN.js";import"./use-is-below-desktop-DJQVU5CF.js";import"./use-notification-prefs-DXww4pVV.js";import"./card-Dsy8PPN6.js";import"./use-status-budget-Q1ltHI80.js";import"./git-branch-jQqbJAvp.js";import"./use-update-config-BJEw2LjV.js";import"./settings-for-runtime-BoOa-ZFG.js";import"./RuntimeSetupDialog-BSb5iK2A.js";import"./inline-code-BjkmgK0M.js";import"./list-runtime-types-DvfLx6v2.js";import"./RuntimeConnectFlow-BsZsQZS9.js";import"./useMutationState-C3WVn0hu.js";import"./runtime-connect-Dn0T5YWv.js";import"./unverified-catalog-notice-DAhwNpy_.js";import"./layers-DyShcAgn.js";import"./cpu-SRODWAA1.js";import"./banner-BhzLIs7u.js";import"./UnreadDivider-CGKnJcx7.js";import"./composer-insert-BpyATrmR.js";import"./use-composer-prefs-FpUdi_wE.js";import"./McpAppFrame-DjJ4EM39.js";import"./more-details-BJ_2FYn8.js";import"./find-latest-widget-fence-DJDfJAaN.js";import"./file-CbZILJJL.js";import"./use-session-canvas-BaGypLR6.js";import"./rotate-cw-34X3Kx8Z.js";import"./query-keys-DeYqUDia.js";import"./index.esm-Dyd3JXuK.js";import"./file-text-DGtefNvG.js";import"./markdown-content-D7t62wwm.js";import"./shield-x-bloGLifl.js";import"./McpSigninBody-V6RSsDqe.js";import"./image-off-DziiNcIl.js";import"./format-duration-BCr6uzby.js";import"./use-connector-management-CinfkPZI.js";import"./AgentRequestCard-DVoE2cnk.js";import"./access-copy-_81ChCG3.js";import"./query-error-state-C2QLFCgp.js";import"./empty-state-Xw8KQdod.js";import"./use-bindings-Ci7hpEO4.js";import"./connection-copy--MA7AN04.js";import"./KeyEntry-DgN8iewR.js";import"./file-drag-GDx2qhdk.js";import"./paperclip-DFuuQSWM.js";import"./index-CDslENFz.js";import"./index-Yr72qWri.js";import"./progress-cQRXQehb.js";import"./table-B8zvHC0J.js";import"./package-CeRLwc1u.js";import"./heart-CSbB9K4Q.js";const O=[];function W(s,t){const o=P(),i=w(),n=m.useRef(t);m.useEffect(()=>{const r=n.current&&!t;n.current=t,r&&s!==null&&i.invalidateQueries({queryKey:["session-readout",s]})},[t,s,i]);const e=T({queryKey:["session-readout",s],queryFn:async()=>y((await o.getMessages(s)).messages),enabled:s!==null,staleTime:h.MESSAGE_STALE_TIME_MS,refetchInterval:t?h.ACTIVE_TAB_REFETCH_MS:!1});return{messages:e.data??O,isLoading:s!==null&&e.isLoading,isError:e.isError}}function Fs(){const s=L();return(s==null?void 0:s.kind)==="one-to-one"?c.jsx(q,{sessionId:s.sessionId,agentPath:s.agentPath,showSessions:s.showSessions}):(s==null?void 0:s.kind)==="group"?c.jsx(D,{roomId:s.roomId,members:s.members,working:s.working,showSessions:s.showSessions}):c.jsx("div",{className:"text-muted-foreground flex h-full items-center justify-center p-6 text-center text-xs",children:"Open a DM to see its work."})}function q({sessionId:s,agentPath:t,showSessions:o}){const i=A(s),{messages:n}=N(s),e=m.useMemo(()=>k(i,n),[i,n]),r=b(s)==="streaming",{name:l}=v(t),{openSessionView:S}=C();return c.jsx(M,{sessionId:s,messages:e,agentName:l,showSessions:o,onOpenSession:S,working:r})}function D({roomId:s,members:t,working:o,showSessions:i}){var g,E;const n=R(u=>u.explicitAgentPath),e=t.find(u=>u.agentPath===n)??null,r=I(s,{enabled:e!==null}),{refetch:l}=r,S=m.useRef(o);m.useEffect(()=>{S.current!==o&&(S.current=o,l())},[o,l]);const a=e===null?null:((E=(g=r.data)==null?void 0:g.bindings.find(u=>u.authorId===e.authorId))==null?void 0:E.sessionId)??null,d=W(a,o),f=_(),x=m.useCallback(()=>{a!==null&&f&&f(j({session:a}))},[f,a]);let p=null;return e===null?p="Pick a member above.":r.isError||d.isError?p="Couldn’t load these steps.":r.isPending||d.isLoading?p="Loading steps…":a===null&&(p=`${e.displayName} hasn’t worked in this DM yet.`),c.jsx(M,{sessionId:a,messages:d.messages,agentName:(e==null?void 0:e.displayName)??null,showSessions:i,onOpenSession:x,notice:p})}export{Us as SESSION_CAPABILITIES,Ys as SessionComposer,$s as SessionMessage,zs as SessionPage,Js as SessionTranscript,Fs as WorkPanel,Xs as useSessionTarget};
@@ -1 +0,0 @@
1
- import{A as p,T as a}from"./TeamComputerEntry-uj1GcPP_.js";import{C,a as n}from"./ComputerResourceView-QJnXivV4.js";import"./index-DSYz85aL.js";import"./ComputerViewer-DbTGz3OL.js";import"./use-is-below-desktop-DJQVU5CF.js";export{p as AgentComputerPanel,C as ComputerPanelView,n as ComputerPipView,a as TeamComputerEntry};
@@ -1 +0,0 @@
1
- import{ge as ce,j as e,gf as me,gg as ue,gh as P,gi as xe,gj as F,cQ as he,cf as U,r as k,ak as L,gk as C,H as A,aV as V,X,gl as ge,gm as pe,g3 as Y,g4 as Q,B as E,f as J,g5 as W,a2 as fe,a3 as je,a4 as ve,gn as Z,go as Ne,a7 as w,gp as ee,gq as be,gr as se,a0 as ye,bd as we,fN as Se,gs as ke,fH as Ce,fI as Ee,gt as $e,gu as Pe,T as Te,G as z,ew as Re,gv as B,gw as Ae,gx as _e,_ as I,$ as De,gy as Ie,gz as Le,gA as ze,gB as Oe,gC as Me,gD as Fe,gE as Be,gF as H,dX as He,gG as qe,gH as q}from"./index-DSYz85aL.js";import{gI as bs,gJ as ys,gK as ws,gL as Ss,gM as ks,fL as Cs}from"./index-DSYz85aL.js";import{u as Ge}from"./use-deep-link-scroll-DZnA4iYZ.js";import{M as te}from"./more-details-BJ_2FYn8.js";import{C as Ke}from"./card-Dsy8PPN6.js";import{u as Ue,a as Ve}from"./use-panel-tab-placements-DLQeHI7w.js";import{C as ne,a as ae,b as re,c as ie,d as T,e as R}from"./command-CxjTPW0z.js";import{F as oe}from"./file-text-DGtefNvG.js";const Xe=["server_crashed","server_out_of_memory","server_unresponsive","isolation_unavailable","server_start_failed","server_start_timeout"],Ye={server_crashed:s=>`${s} stopped unexpectedly 3 times. Reload it to try again.`,server_out_of_memory:s=>`${s} ran out of memory and stopped. Reload it to try again.`,server_unresponsive:s=>`${s} stopped responding, so DorkOS stopped it.`,isolation_unavailable:s=>`${s} can’t run with its limits on this computer.`,server_start_failed:s=>`${s} couldn’t start. Reload it to try again.`,server_start_timeout:s=>`${s} took too long to start. Reload it to try again.`};function O(s){return Xe.includes(s)}function Qe(s,r){return O(s)?Ye[s](r):null}function Je(s){return`Restarting ${s}…`}function We({extensionId:s}){const r=ce("right-panel").filter(i=>i.extensionId===s);return r.length===0?null:e.jsx("div",{className:"space-y-3 pt-1","data-testid":`panel-tab-placement-${s}`,children:r.map(i=>e.jsx(es,{tab:i,labelled:r.length>1},i.id))})}function Ze(){var i;const s=(i=he().data)==null?void 0:i.agents,r=U().data;return k.useMemo(()=>{const l=new Map((s??[]).map(n=>[n.id,L(n)])),o=new Map((r??[]).map(n=>[n.id,C(n)]));return{agents:s??[],rooms:r??[],agentNames:l,roomNames:o}},[s,r])}function es({tab:s,labelled:r}){const i=me(Ue(),s.id),{setPlacement:l}=Ve(),o=Ze(),n=ue(i,s.declaredPlacement),x=n.show.pages.includes(P),d=a=>l(s.id,{show:a.show,hide:a.hide}),u=a=>a.kind==="agents"?o.agentNames.get(a.id)??"An agent that is gone":a.kind==="rooms"?o.roomNames.get(a.id)??"A channel that is gone":ge(a.id),m=(a,h)=>["agents","rooms","pages"].flatMap(v=>a[v].filter(c=>h||c!==P).map(c=>({kind:v,id:c}))),t=(a,h)=>({...a,[h.kind]:a[h.kind].filter(v=>v!==h.id)}),f=m(n.show,!1),N=m(n.hide,!0);return e.jsxs("div",{className:"space-y-2","data-testid":`panel-tab-placement-${s.id}`,children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("span",{className:"text-sm",children:r?`${s.title} tab shows`:"Panel tab shows"}),e.jsxs(xe,{value:x?"everywhere":"only",onValueChange:a=>d({hide:n.hide,show:a==="everywhere"?{...n.show,pages:[P]}:{...n.show,pages:n.show.pages.filter(h=>h!==P)}}),"aria-label":`Where the ${s.title} tab shows`,children:[e.jsx(F,{value:"everywhere",children:"Everywhere"}),e.jsx(F,{value:"only",children:"Only in…"})]}),i&&e.jsx("button",{type:"button",onClick:()=>l(s.id,null),className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm text-xs underline underline-offset-2",children:s.declaredPlacement?"Use its default":"Reset"})]}),!x&&e.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[f.map(a=>e.jsx(G,{place:a,name:u(a),removeLabel:`Remove ${u(a)}`,onRemove:()=>d({...n,show:t(n.show,a)})},`${a.kind}:${a.id}`)),e.jsx(ts,{tabTitle:s.title,names:o,taken:n.show,onAdd:a=>d({show:{...n.show,[a.kind]:[...n.show[a.kind],a.id]},hide:t(n.hide,a)})}),f.length===0&&e.jsx("span",{className:"text-muted-foreground text-xs",children:"Shows nowhere yet. Add a place."})]}),N.length>0&&e.jsxs("div",{role:"group","aria-labelledby":`${s.id}-hidden-in`,className:"flex flex-wrap items-center gap-1.5",children:[e.jsx("span",{id:`${s.id}-hidden-in`,className:"text-muted-foreground text-xs",children:"Hidden in"}),N.map(a=>e.jsx(G,{place:a,name:u(a),removeLabel:`Show in ${u(a)} again`,onRemove:()=>d({...n,hide:t(n.hide,a)})},`${a.kind}:${a.id}`))]})]})}const ss={agents:V,rooms:A,pages:oe};function G({place:s,name:r,removeLabel:i,onRemove:l}){const o=ss[s.kind];return e.jsxs("span",{className:"bg-muted inline-flex h-6 items-center gap-1 rounded-md pr-0.5 pl-1.5 text-xs",children:[e.jsx(o,{className:"text-muted-foreground size-3","aria-hidden":!0}),e.jsx("span",{className:"max-w-40 truncate",children:r}),e.jsx("button",{type:"button",onClick:l,"aria-label":i,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm p-0.5",children:e.jsx(X,{className:"size-3"})})]})}function ts({tabTitle:s,names:r,taken:i,onAdd:l}){const[o,n]=k.useState(!1),x=t=>{l(t),n(!1)},d=pe.filter(t=>!i.pages.includes(t.key)),u=r.agents.filter(t=>!i.agents.includes(t.id)),m=r.rooms.filter(t=>!i.rooms.includes(t.id));return e.jsxs(Y,{open:o,onOpenChange:n,children:[e.jsx(Q,{asChild:!0,children:e.jsxs(E,{variant:"ghost",size:"sm",className:"h-6 px-1.5 text-xs","aria-label":`Add a place for the ${s} tab`,children:[e.jsx(J,{className:"size-3"}),"Add"]})}),e.jsx(W,{align:"start",className:"w-64 p-0",children:e.jsxs(ne,{children:[e.jsx(ae,{placeholder:"Find an agent, channel or page"}),e.jsxs(re,{className:"max-h-64",children:[e.jsx(ie,{children:"Nothing matches."}),u.length>0&&e.jsx(T,{heading:"Agents",children:u.map(t=>e.jsxs(R,{value:`agent ${L(t)} ${t.id}`,onSelect:()=>x({kind:"agents",id:t.id}),children:[e.jsx(V,{className:"size-3.5"}),L(t)]},t.id))}),m.length>0&&e.jsx(T,{heading:"Channels and DMs",children:m.map(t=>e.jsxs(R,{value:`room ${C(t)} ${t.id}`,onSelect:()=>x({kind:"rooms",id:t.id}),children:[e.jsx(A,{className:"size-3.5"}),C(t)]},t.id))}),d.length>0&&e.jsx(T,{heading:"Pages",children:d.map(t=>e.jsxs(R,{value:`page ${t.label}`,onSelect:()=>x({kind:"pages",id:t.key}),children:[e.jsx(oe,{className:"size-3.5"}),t.label]},t.key))})]})]})})]})}const de=s=>[...Ne.detail(s),"room-access"];function ns(s){return fe({queryKey:de(s),queryFn:async()=>{const r=await fetch(Z(`/extensions/${s}/room-access`));if(!r.ok)throw new Error(`Couldn’t load the rooms. The server answered ${r.status}.`);return(await r.json()).roomIds}})}function as(s){const r=je();return ve({mutationFn:async i=>{const l=await fetch(Z(`/extensions/${s}/room-access`),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({roomIds:i})});if(!l.ok){const o=await l.json().catch(()=>({}));throw new Error(o.message??o.error??"Couldn’t save the rooms. Try again.")}return(await l.json()).roomIds},onSuccess:i=>{r.setQueryData(de(s),i)}})}function rs({extensionId:s,name:r}){const i=ns(s).data??[],{mutate:l}=as(s),o=U().data,n=k.useMemo(()=>(o??[]).filter(m=>!m.bridge),[o]),x=k.useMemo(()=>new Map((o??[]).map(m=>[m.id,C(m)])),[o]),d=m=>l(m,{onError:t=>w.error(t.message)}),u=m=>x.get(m)??"A room that is gone";return e.jsxs("div",{className:"space-y-1.5 pt-1","data-testid":`room-access-${s}`,children:[e.jsx("p",{className:"text-sm",children:"Rooms it can use"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[i.map(m=>e.jsxs("span",{className:"bg-muted inline-flex h-6 items-center gap-1 rounded-md pr-0.5 pl-1.5 text-xs",children:[e.jsx(A,{className:"text-muted-foreground size-3","aria-hidden":!0}),e.jsx("span",{className:"max-w-40 truncate",children:u(m)}),e.jsx("button",{type:"button",onClick:()=>d(i.filter(t=>t!==m)),"aria-label":`Remove ${u(m)}`,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm p-0.5",children:e.jsx(X,{className:"size-3"})})]},m)),e.jsx(is,{name:r,rooms:n.filter(m=>!i.includes(m.id)),onAdd:m=>d([...i,m])})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:i.length===0?"None yet. It can’t read or reply anywhere.":"It reads and replies as you, only here."})]})}function is({name:s,rooms:r,onAdd:i}){const[l,o]=k.useState(!1);return e.jsxs(Y,{open:l,onOpenChange:o,children:[e.jsx(Q,{asChild:!0,children:e.jsxs(E,{variant:"ghost",size:"sm",className:"h-6 px-1.5 text-xs","aria-label":`Add a room for ${s}`,children:[e.jsx(J,{className:"size-3"}),"Add"]})}),e.jsx(W,{align:"start",className:"w-64 p-0",children:e.jsxs(ne,{children:[e.jsx(ae,{placeholder:"Find a channel or DM"}),e.jsxs(re,{className:"max-h-64",children:[e.jsx(ie,{children:"Nothing matches."}),r.length>0&&e.jsx(T,{heading:"Channels and DMs",children:r.map(n=>e.jsxs(R,{value:`room ${C(n)} ${n.id}`,onSelect:()=>{i(n.id),o(!1)},children:[e.jsx(A,{className:"size-3.5"}),C(n)]},n.id))})]})]})})]})}const os=new Set(["disabled","discovered","incompatible","invalid"]),ds="/marketplace?view=installed";function ls({extension:s,onToggle:r,isToggling:i,onSetRunApproval:l,isSettingApproval:o,onReload:n,isReloading:x}){var M;const{manifest:d,status:u,scope:m,error:t,serverError:f,origin:N,approvedToRun:a}=s,[h,v]=k.useState(!1),c=!os.has(u),g=u==="incompatible",b=u==="invalid",p=u==="compile_error"||u==="activate_error",S=!g&&!b,j=!(N==="core"&&d.canDisable===!1),$=s.hasServerEntry||s.hasDataProxy,y=ee(s),le=be(s.id,se(y)),_=p?"Not working":g?"Incompatible":b?"Can’t load":null;return e.jsx(Ke,{"data-slot":"extension-card","data-testid":`extension-card-${s.id}`,"data-section":s.id,radius:"lg",gap:"none",className:z(p&&"border-amber-500/50",(g||b)&&"opacity-70"),children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"min-w-0 flex-1 space-y-1.5",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[p&&e.jsx(ye,{className:"text-status-warning-dot size-4 shrink-0","aria-hidden":"true"}),(g||b)&&!p&&e.jsx(we,{className:"text-muted-foreground size-4 shrink-0","aria-hidden":"true"}),!p&&!g&&!b&&e.jsx(Se,{className:"text-muted-foreground size-4 shrink-0","aria-hidden":"true"}),e.jsx("span",{className:"font-medium",children:d.name}),e.jsxs("span",{className:"text-muted-foreground text-sm",children:["v",d.version]}),s.devLink&&e.jsx(ke,{})]}),s.devLink&&e.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1","data-testid":`extension-dev-link-${s.id}`,children:[e.jsx(Ce,{path:s.devLink.path,className:"min-w-0"}),e.jsx("button",{type:"button",onClick:()=>void Ee(ds),className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm text-xs underline underline-offset-2",children:"Unlink or switch"})]}),d.description&&e.jsx("p",{className:"text-muted-foreground text-sm",children:d.description}),e.jsx($e,{gifts:Pe(s),"data-testid":`extension-agent-gifts-${s.id}`}),c&&e.jsx(We,{extensionId:s.id}),((M=d.capabilities)==null?void 0:M.rooms)===!0&&e.jsx(rs,{extensionId:s.id,name:d.name}),g&&d.minHostVersion&&e.jsxs("p",{className:"text-muted-foreground text-sm",children:["Needs DorkOS ",d.minHostVersion," or newer"]}),p&&t&&e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"text-status-warning-fg text-sm",children:[u==="compile_error"?"Couldn’t build: ":"Couldn’t start: ",t.message]}),t.details&&e.jsxs("button",{type:"button",onClick:()=>v(D=>!D),className:"text-muted-foreground hover:text-foreground flex items-center gap-1 text-xs transition-colors","aria-expanded":h,children:[e.jsx(Te,{className:z("size-3 transition-transform",h&&"rotate-180")}),h?"Hide details":"Show details"]}),h&&t.details&&e.jsx("pre",{className:"bg-muted mt-1 max-h-32 overflow-auto rounded-md p-2 text-xs",children:t.details})]}),f&&O(f.code)&&e.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1","data-testid":`extension-server-status-${s.id}`,children:[e.jsx("p",{className:"text-status-warning-fg text-sm",children:f.message||Qe(f.code,d.name)}),e.jsx("button",{type:"button",onClick:n,disabled:x,className:"text-muted-foreground hover:text-foreground focus-ring rounded-sm text-xs underline underline-offset-2 disabled:opacity-50",children:"Reload"})]}),s.restartingAt&&!f&&e.jsx("p",{className:"text-muted-foreground text-sm",role:"status",children:Je(d.name)}),f&&!O(f.code)&&e.jsxs("p",{className:"text-status-warning-fg text-sm",children:["Couldn’t rebuild its server part: ",f.message,". The last version still runs."]}),N==="user"&&(a?e.jsxs("div",{className:"text-muted-foreground flex flex-wrap items-center gap-2 text-xs","data-testid":`extension-run-allowed-${s.id}`,children:[e.jsx(Re,{className:"size-3.5 shrink-0","aria-hidden":"true"}),e.jsx("span",{children:"You allowed this to run."}),s.originProblem==="changed"&&e.jsx("span",{children:"You approved its changed files. Any further change asks again."}),e.jsx("button",{type:"button",onClick:()=>l(s.id,!1),disabled:o,className:"hover:text-foreground underline underline-offset-2 disabled:opacity-50",children:"Stop it"}),e.jsx(B,{permissions:y,className:"basis-full","data-testid":`extension-permissions-${s.id}`})]}):e.jsxs("div",{className:"space-y-2 rounded-lg border border-amber-500/40 bg-amber-500/5 p-3","data-testid":`extension-needs-approval-${s.id}`,children:[e.jsx("p",{className:"text-sm font-medium",children:"This extension is waiting for you"}),s.originProblem&&e.jsx("p",{className:"text-status-warning-fg text-sm","data-testid":`extension-origin-problem-${s.id}`,children:s.originProblem==="changed"?"Its files changed after install, so DorkOS can’t vouch for it. Look it over first.":s.originProblem==="dev-link"?"It runs from your folder, so DorkOS can’t vouch for its source.":"Its plugin links to files elsewhere, so DorkOS can’t vouch for its source."}),e.jsx(B,{permissions:y,added:le,"data-testid":`extension-permissions-${s.id}`}),e.jsx("p",{className:"text-muted-foreground text-sm",children:Ae($,(y==null?void 0:y.runtime)==="subprocess")}),e.jsx("p",{className:"text-muted-foreground text-sm",children:_e}),e.jsx(E,{size:"sm",onClick:()=>l(s.id,!0),disabled:o,"data-testid":`extension-approve-run-${s.id}`,children:"Turn it on"})]})),e.jsxs("div",{className:"text-muted-foreground flex flex-wrap items-center gap-2 text-xs",children:[e.jsx(I,{variant:"outline",children:m}),_&&e.jsx(I,{variant:_==="Not working"?"destructive":"secondary","data-testid":`extension-health-${s.id}`,children:_}),d.author&&e.jsx("span",{children:d.author})]})]}),e.jsx("div",{className:"flex shrink-0 items-center pt-0.5",children:j?e.jsx(De,{checked:c,onCheckedChange:D=>r(s.id,D),disabled:!S||i,"aria-label":`${c?"Disable":"Enable"} ${d.name}`}):e.jsx(I,{variant:"secondary",title:"This extension is always on","data-testid":`extension-required-${s.id}`,children:"Required"})})]})})}function K(s){const r=new Date(s);return Number.isNaN(r.getTime())?"":r.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}function cs(){const{data:s=[]}=Ie(),{stop:r,pendingSource:i}=Le();return s.length===0?null:e.jsxs("section",{className:"space-y-3","data-testid":"trusted-sources-section",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("h3",{className:"text-sm font-semibold",children:"Trusted sources"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Extensions from these sources turn on without asking."}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Stop trusting one, and extensions already on keep running."}),e.jsx(te,{className:"text-muted-foreground text-sm",label:"If you stop trusting one",openLabel:"If you stop trusting one",children:e.jsx("p",{children:"Newer versions and new extensions from it wait for your yes."})})]}),e.jsx("ul",{className:"divide-y rounded-xl border",children:s.map(({source:l,trustedAt:o})=>e.jsxs("li",{className:"flex flex-wrap items-center justify-between gap-x-3 gap-y-1.5 px-3 py-2.5",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate font-mono text-sm",children:l}),K(o)&&e.jsxs("p",{className:"text-muted-foreground text-xs",children:["Trusted ",K(o)]})]}),e.jsx(E,{type:"button",variant:"outline",size:"sm",disabled:i===l,onClick:()=>r(l),children:"Stop trusting"})]},l))})]})}function js(){const{data:s=[],isLoading:r}=ze(),{section:i}=Oe();Ge(r?null:i);const l=Me(),o=Fe(),n=Be(),x=H(!0),d=H(!1),u=new Set([...l.variables?[l.variables]:[],...o.variables?[o.variables]:[]]),m=new Set([...x.isPending&&x.variables?[x.variables.id]:[],...d.isPending&&d.variables?[d.variables.id]:[]]);function t(c,g){const b=g?x:d,p=s.find(j=>j.id===c);if(!p)return;const S=g?se(ee(p)):void 0;b.mutate({id:c,version:p.manifest.version,plugin:p.sourcePlugin??null,...S?{permissions:S}:{}},{onSuccess:j=>{g&&q.getState().forget(c);const $=j.extension.manifest.name,y=j.extension.isolation?"":" inside DorkOS";w.success(g?`${$} can now run${y}`:`${$} stopped running`)},onError:j=>{if(j instanceof qe&&j.stale){S&&q.getState().remember(c,S),w.error(`${p.manifest.name} changed since you saw it. Check it again.`);return}w.error(g?"Couldn’t let it run.":"Couldn’t stop it running.",{description:j.message})}})}async function f(c,g){(g?l:o).mutate(c,{onError:p=>{w.error(g?"Couldn’t turn that on.":"Couldn’t turn that off.",{description:p.message})}})}function N(){n.mutate(void 0,{onSuccess:c=>{w.success(`Reloaded ${c.length} extension${c.length===1?"":"s"}`)},onError:c=>{w.error("Couldn’t reload your extensions.",{description:c.message})}})}if(r)return e.jsx("div",{className:"text-muted-foreground py-8 text-center text-sm",children:"Loading extensions…"});const a=s.filter(c=>c.origin==="core"),h=s.filter(c=>c.origin==="user"),v=c=>e.jsx(ls,{extension:c,onToggle:f,isToggling:u.has(c.id),onSetRunApproval:t,isSettingApproval:m.has(c.id),onReload:N,isReloading:n.isPending},c.id);return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"text-muted-foreground space-y-1 text-sm",children:[e.jsx("p",{children:"Extensions add new screens and tools to DorkOS."}),e.jsxs(te,{children:[e.jsx("p",{children:"Core extensions come with DorkOS."}),e.jsxs("p",{children:["Installed ones live in"," ",e.jsx("code",{className:"bg-muted rounded px-1",children:"~/.dork/extensions/"})," or your project’s"," ",e.jsx("code",{className:"bg-muted rounded px-1",children:".dork/extensions/"}),"."]})]})]}),s.length===0?e.jsx("div",{className:"text-muted-foreground py-8 text-center text-sm","data-testid":"no-extensions",children:e.jsx("p",{children:"No extensions installed."})}):e.jsxs(e.Fragment,{children:[a.length>0&&e.jsxs("section",{className:"space-y-3","data-testid":"core-extensions-section",children:[e.jsx("h3",{className:"text-sm font-semibold",children:"Core extensions"}),e.jsx("div",{className:"space-y-3",children:a.map(v)})]}),e.jsxs("section",{className:"space-y-3","data-testid":"installed-extensions-section",children:[e.jsx("h3",{className:"text-sm font-semibold",children:"Installed extensions"}),h.length>0?e.jsx("div",{className:"space-y-3",children:h.map(v)}):e.jsxs("div",{className:"text-muted-foreground rounded-xl border border-dashed p-4 text-sm","data-testid":"no-installed-extensions",children:["No extensions installed yet. Browse"," ",e.jsx("span",{className:"text-foreground font-medium",children:"Marketplace"})," to add some."]})]})]}),e.jsx(cs,{}),e.jsx("div",{className:"flex justify-end",children:e.jsxs(E,{variant:"outline",size:"sm",onClick:N,disabled:n.isPending,"data-testid":"reload-extensions-button",children:[e.jsx(He,{className:z("mr-2 size-4",n.isPending&&"animate-spin")}),"Reload extensions"]})})]})}export{bs as ExtensionEventBridge,ys as ExtensionLoader,ws as ExtensionProvider,js as ExtensionsSettingsTab,Ss as createExtensionAPI,ks as createExtensionEventBridge,Cs as useExtensions};
@@ -1 +0,0 @@
1
- import{I as n,M as h}from"./Marketplace-Dg0bIo7_.js";import{M as I,P as U,m as V,u as b,a as C}from"./index-DSYz85aL.js";import{M as j}from"./MarketplaceSourcesView-KPw8YYXi.js";import{U as v}from"./UnlinkDialog-ClNn0nv6.js";import"./PreviewRefusedNotice-CdHja8fU.js";import"./shield-x-bloGLifl.js";import"./card-Dsy8PPN6.js";import"./empty-state-Xw8KQdod.js";import"./markdown-content-D7t62wwm.js";import"./use-unclaimed-chats-Bext8Aim.js";import"./use-bindings-Ci7hpEO4.js";import"./more-details-BJ_2FYn8.js";import"./use-dev-links-CtHwhTBj.js";import"./file-CbZILJJL.js";import"./AgentPicker--wr93sVO.js";import"./command-CxjTPW0z.js";import"./AgentOptionRow-CtdBmX9G.js";import"./useMutationState-C3WVn0hu.js";import"./file-exclamation-point-rCHuN_aY.js";import"./rotate-ccw-clock-C2jXtg-P.js";import"./path-input-DhGxbEsh.js";import"./use-pending-read-CgR0BnSW.js";export{n as InstalledPackagesView,h as Marketplace,I as MarketplaceSidebar,j as MarketplaceSourcesView,U as PackageCard,v as UnlinkDialog,V as marketplaceSearchSchema,b as useMarketplaceParams,C as useMarketplaceStore};