dorkos 0.115.0 → 0.116.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 (233) hide show
  1. package/dist/bin/cli.js +130 -69
  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-Cz8ijNrK.js → AboutPage-KW-6Y7Wm.js} +1 -1
  5. package/dist/client/assets/{ActivityErrorState-BzmfwxSZ.js → ActivityErrorState-C5xbcrFo.js} +1 -1
  6. package/dist/client/assets/{ActivityPage-BK7T3OiI.js → ActivityPage-DIeicP6l.js} +1 -1
  7. package/dist/client/assets/{ActivityRow-Ig5atv15.js → ActivityRow-Drxrnyea.js} +1 -1
  8. package/dist/client/assets/{AdapterIcon-BXPv5J8h.js → AdapterIcon-BEuzKbC6.js} +1 -1
  9. package/dist/client/assets/{AdapterSetupWizard-BEziztL3.js → AdapterSetupWizard-z_agWfDl.js} +2 -2
  10. package/dist/client/assets/{AgentOptionRow-BqFQvFeN.js → AgentOptionRow-DEwQwnKr.js} +1 -1
  11. package/dist/client/assets/{AgentPicker-dCfEIsU-.js → AgentPicker-CmyF25Oi.js} +1 -1
  12. package/dist/client/assets/{AgentRequestCard-BAhfGJxx.js → AgentRequestCard-BWtE34Nr.js} +3 -3
  13. package/dist/client/assets/{AppearancePage-7qHhFeEv.js → AppearancePage-BJO-Q3a4.js} +1 -1
  14. package/dist/client/assets/{ApplyToOverridesDialog-jqOFh0d1.js → ApplyToOverridesDialog-CsmbPbTh.js} +1 -1
  15. package/dist/client/assets/{AttentionSignalRow-3CgglXkd.js → AttentionSignalRow-2-aDCEdR.js} +1 -1
  16. package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-BMKtHI0D.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-CL7e4dO8.js} +1 -1
  17. package/dist/client/assets/{BindingDialog-DSBxRyzA.js → BindingDialog-CirNTa_m.js} +1 -1
  18. package/dist/client/assets/{BlintzCanvas-CyRuqAJV.js → BlintzCanvas-bfmQpoVE.js} +1 -1
  19. package/dist/client/assets/{CanvasCsvContent-Bd1c6TGx.js → CanvasCsvContent-x86ueAZo.js} +1 -1
  20. package/dist/client/assets/{CanvasFileContent-DelYwSH8.js → CanvasFileContent-DIQbKII9.js} +2 -2
  21. package/dist/client/assets/{CanvasModel3dContent-BExIu4RY.js → CanvasModel3dContent-DTAWG8IS.js} +2 -2
  22. package/dist/client/assets/{ChatAppsOff-SWemSaUp.js → ChatAppsOff-BQiTfHe3.js} +1 -1
  23. package/dist/client/assets/{CodeMirrorDiff-0WF4ITRZ.js → CodeMirrorDiff-DhNTAsQl.js} +1 -1
  24. package/dist/client/assets/{CodeMirrorEditor-Bg7wC_Q8.js → CodeMirrorEditor-BpIF0kLM.js} +1 -1
  25. package/dist/client/assets/{CommitmentList-CTvEGUV3.js → CommitmentList-B-B3E6yN.js} +1 -1
  26. package/dist/client/assets/{CommitmentsPage-C68etoLe.js → CommitmentsPage-BNoKIW7z.js} +1 -1
  27. package/dist/client/assets/ComputerResourceView-NMA65a8a.js +6 -0
  28. package/dist/client/assets/ComputerViewer-BjU1hfpc.js +1 -0
  29. package/dist/client/assets/{ConnectionAccessLists-9oeVn_GK.js → ConnectionAccessLists-Iy_T25Rw.js} +1 -1
  30. package/dist/client/assets/{ConnectionsPage-CJOY4-kp.js → ConnectionsPage-DPfoPshS.js} +2 -2
  31. package/dist/client/assets/{ConventionPage-DD-f5o6y.js → ConventionPage-CoLB6WVs.js} +1 -1
  32. package/dist/client/assets/{ExtensionPageRoute-C6fW17AG.js → ExtensionPageRoute-Y_Na63mr.js} +2 -2
  33. package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-Zccd0fv6.js → FloatingTanStackRouterDevtools-CqogiFob-DCj2Id-d.js} +1 -1
  34. package/dist/client/assets/HandlePage-WyPrFOtj.js +1 -0
  35. package/dist/client/assets/{HeartbeatPage-cJM6NuTD.js → HeartbeatPage-zzL8W_zA.js} +1 -1
  36. package/dist/client/assets/{KeyEntry-K5k_3TfU.js → KeyEntry-DCATqdIG.js} +2 -2
  37. package/dist/client/assets/{LexicalField-DB5V20zv.js → LexicalField-B7d9UWFk.js} +1 -1
  38. package/dist/client/assets/{ManagesPage-Cj0-hwfr.js → ManagesPage-CKTb1w3G.js} +1 -1
  39. package/dist/client/assets/{Marketplace-eWEtLmd9.js → Marketplace-Deq-aTM6.js} +2 -2
  40. package/dist/client/assets/{MarketplaceSourcesView-B1h70C20.js → MarketplaceSourcesView-B2qLtCVG.js} +1 -1
  41. package/dist/client/assets/{McpAppFrame-BaJ_r-QR.js → McpAppFrame-BKgYSUH-.js} +1 -1
  42. package/dist/client/assets/{McpSigninBody-Coaq5Fkf.js → McpSigninBody-Begd1UNn.js} +1 -1
  43. package/dist/client/assets/{Model3dViewer-cKa-Jnbl.js → Model3dViewer-CK6siI6q.js} +1 -1
  44. package/dist/client/assets/NamePage-DxDcIFAo.js +1 -0
  45. package/dist/client/assets/{NewDirectMessageMenu-C4zNIv9x.js → NewDirectMessageMenu-D4ORE1Lo.js} +1 -1
  46. package/dist/client/assets/{NotificationsPage-gKNClvNU.js → NotificationsPage-CjRyxKXv.js} +1 -1
  47. package/dist/client/assets/{OpenMeshSwitch-RzB2u6-Q.js → OpenMeshSwitch-C0C-f-dF.js} +2 -2
  48. package/dist/client/assets/{OperatorIdentityForm-B_78Vqh8.js → OperatorIdentityForm-I9zvI2go.js} +1 -1
  49. package/dist/client/assets/{PermissionHistory-DrtlA4YM.js → PermissionHistory-C9vTiyw5.js} +1 -1
  50. package/dist/client/assets/{PermissionsPage-O7kUVaQv.js → PermissionsPage-BR9LM1Bo.js} +1 -1
  51. package/dist/client/assets/{PersonalityPopover-DiNuuoWu.js → PersonalityPopover-BhFUSfRe.js} +1 -1
  52. package/dist/client/assets/PhotoPage-C4OhoBR2.js +1 -0
  53. package/dist/client/assets/{PresetPicker-BUFwg8RS.js → PresetPicker-CpTnkeZt.js} +3 -3
  54. package/dist/client/assets/{PreviewRefusedNotice-DXZp669C.js → PreviewRefusedNotice-R5LB9PuV.js} +1 -1
  55. package/dist/client/assets/{ProfileFields-BCfMzNcT.js → ProfileFields-8fFud5gT.js} +1 -1
  56. package/dist/client/assets/{ProfilePanelContainer-BzC2MGdi.js → ProfilePanelContainer-BJFOrUov.js} +1 -1
  57. package/dist/client/assets/{ProfileRolePicker-f0FKXLtu.js → ProfileRolePicker-C8hpW08c.js} +1 -1
  58. package/dist/client/assets/{PromptSuggestionChips-EgeMFibt.js → PromptSuggestionChips-1su17rvx.js} +1 -1
  59. package/dist/client/assets/{ReportsToPopover-CQ4Xxslu.js → ReportsToPopover-7H3_8Brz.js} +1 -1
  60. package/dist/client/assets/{RoomSurface-oDbc6jnO.js → RoomSurface-BkoesTVz.js} +5 -5
  61. package/dist/client/assets/{RoomsPage-D_EbiSZ3.js → RoomsPage-BrMOJQpt.js} +1 -1
  62. package/dist/client/assets/{RunsOnPopover-LtmmbIsD.js → RunsOnPopover-BB7T1Zln.js} +1 -1
  63. package/dist/client/assets/{RuntimeConnectFlow-Kv2ytk2m.js → RuntimeConnectFlow-oHwqp_fn.js} +1 -1
  64. package/dist/client/assets/{RuntimeSetupDialog-CiWxlcPc.js → RuntimeSetupDialog-BTT2-FM8.js} +1 -1
  65. package/dist/client/assets/{SessionsPage-1rDO0SGV.js → SessionsPage-PpKG9Phd.js} +1 -1
  66. package/dist/client/assets/{SettingsDialog-_ctp2AfE.js → SettingsDialog-Dxtq0E9R.js} +4 -4
  67. package/dist/client/assets/{SkillsPage-gPuQHKps.js → SkillsPage-CzzuhGH2.js} +1 -1
  68. package/dist/client/assets/{TaskDialogWrapper-BPFpCgsN.js → TaskDialogWrapper-DWVo-1P7.js} +1 -1
  69. package/dist/client/assets/{TasksEmptyState-D0Jlzmed.js → TasksEmptyState-DfR9p54p.js} +2 -2
  70. package/dist/client/assets/{TasksPage-DvGfg5Bk.js → TasksPage-5_XngIV9.js} +1 -1
  71. package/dist/client/assets/TeamComputerEntry-BE_gamkp.js +1 -0
  72. package/dist/client/assets/{ToolsPage-B0qZ85pR.js → ToolsPage-CefworrO.js} +2 -2
  73. package/dist/client/assets/{TopologyGraph-q1ammgpG.js → TopologyGraph-C1DaL02H.js} +2 -2
  74. package/dist/client/assets/{TourHost-Dc8qw1Ef.js → TourHost-pT1tIPF7.js} +1 -1
  75. package/dist/client/assets/{UnlinkDialog-DXdrLsGV.js → UnlinkDialog-oMOr8e6G.js} +1 -1
  76. package/dist/client/assets/{WidgetErrorCard-ChDNC060.js → WidgetErrorCard-CBFo1SMe.js} +7 -7
  77. package/dist/client/assets/_shell-BiAMGu0F.js +90 -0
  78. package/dist/client/assets/{_shell._home-DjGunhLV.js → _shell._home-Cx7ZsoQO.js} +1 -1
  79. package/dist/client/assets/{_shell._home.activity-B014dET1.js → _shell._home.activity-C3fnNXgc.js} +1 -1
  80. package/dist/client/assets/{_shell._home.index-DEmtTHZg.js → _shell._home.index-CixksaeD.js} +2 -2
  81. package/dist/client/assets/{_shell._home.tasks-CnDEbUOd.js → _shell._home.tasks-DZWUHfK_.js} +1 -1
  82. package/dist/client/assets/{_shell._home.workspaces-AQtMUWuu.js → _shell._home.workspaces-y-DAPB_X.js} +1 -1
  83. package/dist/client/assets/{_shell.channels-C8NOhmJd.js → _shell.channels-DEErD0f0.js} +4 -4
  84. package/dist/client/assets/{_shell.connections-Bxe0wxOB.js → _shell.connections-B36f6FWi.js} +1 -1
  85. package/dist/client/assets/{_shell.feedback-requests-C6ku9F5_.js → _shell.feedback-requests-B0QiSuDC.js} +2 -2
  86. package/dist/client/assets/_shell.marketplace-CardBSA_.js +1 -0
  87. package/dist/client/assets/_shell.marketplace_.sources-CVK8YKDA.js +1 -0
  88. package/dist/client/assets/{_shell.session-Dn0C0mEZ.js → _shell.session-Cl7qfi1Z.js} +3 -3
  89. package/dist/client/assets/_shell.team-DIdgc_vn.js +28 -0
  90. package/dist/client/assets/_shell.x._extensionId-BEPW8hvh.js +1 -0
  91. package/dist/client/assets/_shell.x._extensionId_._-BEPW8hvh.js +1 -0
  92. package/dist/client/assets/{access-copy-CBGtcTk0.js → access-copy-CE5oc1d9.js} +1 -1
  93. package/dist/client/assets/{agent-browser-DbcLtsAx.js → agent-browser-DV76U8Ny.js} +1 -1
  94. package/dist/client/assets/{banner-rPsz3suJ.js → banner-DIVQNO0O.js} +1 -1
  95. package/dist/client/assets/{card-BqN3lfJn.js → card-DVdPY08b.js} +1 -1
  96. package/dist/client/assets/{command-ZTLTCj0l.js → command-BhZ8sKG4.js} +1 -1
  97. package/dist/client/assets/{cpu-D70xMHl2.js → cpu-CtmIFRqs.js} +1 -1
  98. package/dist/client/assets/{empty-state-yl1dLwLN.js → empty-state-DHuumxZB.js} +1 -1
  99. package/dist/client/assets/{execution-config-BbBEe6FO.js → execution-config-JdnxoV1P.js} +1 -1
  100. package/dist/client/assets/{file-CGg2M6ED.js → file-Bc34j1rj.js} +1 -1
  101. package/dist/client/assets/{file-exclamation-point-DZrVsShR.js → file-exclamation-point-dxJUSR3k.js} +1 -1
  102. package/dist/client/assets/{file-text-BYq_4IAt.js → file-text-BNSVr0Hh.js} +1 -1
  103. package/dist/client/assets/{find-latest-widget-fence-CWs9nr10.js → find-latest-widget-fence-oI6Sl7rV.js} +1 -1
  104. package/dist/client/assets/{form-vPuXuaYT.js → form-FbjLEM3I.js} +1 -1
  105. package/dist/client/assets/{format-cron-D02Tnupo.js → format-cron-BaE7qyNN.js} +1 -1
  106. package/dist/client/assets/{git-branch-DbjXDO_F.js → git-branch-BBKObhlk.js} +1 -1
  107. package/dist/client/assets/{heart-Dblp_miM.js → heart-BdbxexAy.js} +1 -1
  108. package/dist/client/assets/{highlighted-body-KPVGNVTW-CaMXMak-.js → highlighted-body-KPVGNVTW-R3x8mG02.js} +1 -1
  109. package/dist/client/assets/{index-vRc1D4KI.js → index-0AgY877T.js} +1 -1
  110. package/dist/client/assets/{index-D16KF-iC.js → index-1-RB7sXm.js} +3 -3
  111. package/dist/client/assets/{index-BW98owO8.js → index-4irOzx9Q.js} +1 -1
  112. package/dist/client/assets/{index-P5j6zmcN.js → index-6ZmBCm_d.js} +1 -1
  113. package/dist/client/assets/{index-DzeYt-GT.js → index-7xf1fyHe.js} +1 -1
  114. package/dist/client/assets/{index-BxqUb-n7.js → index-BCT0tkN4.js} +1 -1
  115. package/dist/client/assets/{index-BKuzoeSn.js → index-BFh_VGhh.js} +1 -1
  116. package/dist/client/assets/{index-B-WvQ24u.js → index-BKnIV8YQ.js} +6 -6
  117. package/dist/client/assets/{index-D6m2SWHr.js → index-BQgJVNUB.js} +1 -1
  118. package/dist/client/assets/{index-BiIbMZ6d.js → index-BV0RP90y.js} +1 -1
  119. package/dist/client/assets/{index-BV0tZnYg.js → index-BWHsw5Qn.js} +1 -1
  120. package/dist/client/assets/{index-CMWMhbec.js → index-BbUZazTt.js} +1 -1
  121. package/dist/client/assets/{index-CWNsRK97.js → index-BcPMhqQ_.js} +1 -1
  122. package/dist/client/assets/{index-DwUdUliR.js → index-BeKz0Z7i.js} +1 -1
  123. package/dist/client/assets/index-C481yCZ2.js +1 -0
  124. package/dist/client/assets/{index-Db2EOzA3.js → index-C4vL5hUU.js} +1 -1
  125. package/dist/client/assets/{index-DDYi817r.js → index-C5n3OkTH.js} +1 -1
  126. package/dist/client/assets/{index-Z8YcKwIB.js → index-C76UofV4.js} +1 -1
  127. package/dist/client/assets/index-CB-aY4BF.js +1 -0
  128. package/dist/client/assets/{index-CN9fywRC.js → index-CDx26Vyr.js} +1 -1
  129. package/dist/client/assets/{index-Dg_bax15.js → index-CJW9tZhq.js} +5 -5
  130. package/dist/client/assets/{index-BPwUl0Bz.js → index-CJw16oEF.js} +1 -1
  131. package/dist/client/assets/{index-CaLw69VE.js → index-C_Pquyu-.js} +1 -1
  132. package/dist/client/assets/{index-Gq3gqBhY.js → index-CpAdYUxX.js} +1 -1
  133. package/dist/client/assets/{index-XE46wAj9.js → index-D1bAoT3D.js} +1 -1
  134. package/dist/client/assets/{index-Bd23EYYT.js → index-D7MytHQN.js} +2 -2
  135. package/dist/client/assets/index-DKubbEZd.css +1 -0
  136. package/dist/client/assets/{index-BOL391En.js → index-DShpGK7T.js} +1 -1
  137. package/dist/client/assets/{index-C88NZagl.js → index-DlWFe9SD.js} +1 -1
  138. package/dist/client/assets/{index-oWLYcpm4.js → index-DluIa1Dv.js} +1 -1
  139. package/dist/client/assets/index-Dm1Ngy2r.js +38 -0
  140. package/dist/client/assets/{index-CdKpQ1hI.js → index-DxTOTFWT.js} +280 -280
  141. package/dist/client/assets/{index-lNMJBFB0.js → index-DzRQN8yx.js} +1 -1
  142. package/dist/client/assets/index-Fl8NxGfN.js +119 -0
  143. package/dist/client/assets/{index-CrK4rKAq.js → index-fe27h49h.js} +1 -1
  144. package/dist/client/assets/{index-DdbHrvr0.js → index-hIJdyL6m.js} +1 -1
  145. package/dist/client/assets/{index-BPqkuMIa.js → index-hLWqos0I.js} +1 -1
  146. package/dist/client/assets/{index-CRZXSh_q.js → index-pKhRsSRA.js} +1 -1
  147. package/dist/client/assets/{index-CHvi6xUU.js → index-sRPmoNhi.js} +1 -1
  148. package/dist/client/assets/{index-BdVOtoFr.js → index-tPf4Bia7.js} +1 -1
  149. package/dist/client/assets/{index-Bi7Um5RU.js → index-vHt--4jg.js} +1 -1
  150. package/dist/client/assets/{inline-code-Cvn43Gqu.js → inline-code-CrAiSiKW.js} +1 -1
  151. package/dist/client/assets/{layers-Bmz62WF4.js → layers-QYiauDIw.js} +1 -1
  152. package/dist/client/assets/{lightbulb-CAd6slmc.js → lightbulb-Dc3wEED9.js} +1 -1
  153. package/dist/client/assets/{link-2-C0mn8T24.js → link-2-BUnfBMCd.js} +1 -1
  154. package/dist/client/assets/{list-runtime-types-DxwGcKLx.js → list-runtime-types-H-N7VUS4.js} +1 -1
  155. package/dist/client/assets/{markdown-content-1-B7PdbY.js → markdown-content-fIydDTfa.js} +1 -1
  156. package/dist/client/assets/{mention-pill-D_-KXznh.js → mention-pill-CONiQ9Xs.js} +1 -1
  157. package/dist/client/assets/{message-square-off-Di7kQvfe.js → message-square-off-BMD4bxOr.js} +1 -1
  158. package/dist/client/assets/{more-details-C6UGVeDE.js → more-details-DMD6Pqb5.js} +1 -1
  159. package/dist/client/assets/{owner-notice-CudDDBX4.js → owner-notice-BRcpYvJk.js} +1 -1
  160. package/dist/client/assets/{package-D2eMoFCI.js → package-CGgpgsfC.js} +1 -1
  161. package/dist/client/assets/{page-container-CDHAACRA.js → page-container-uyGtbP6Z.js} +1 -1
  162. package/dist/client/assets/{paperclip-p0W24D54.js → paperclip-CUxIVlMU.js} +1 -1
  163. package/dist/client/assets/{path-input-j04LMj9z.js → path-input-CeMu6ytc.js} +1 -1
  164. package/dist/client/assets/{primer-trigger-DkCcHf2Q.js → primer-trigger-x8IfRd6U.js} +2 -2
  165. package/dist/client/assets/{profile-errors-CqflLCzu.js → profile-errors-DyrpY2ry.js} +1 -1
  166. package/dist/client/assets/{progress-BcuH4Eod.js → progress-2cuTo9I-.js} +1 -1
  167. package/dist/client/assets/{query-error-state-CEZs7dhg.js → query-error-state-Cq1O4FGq.js} +1 -1
  168. package/dist/client/assets/{radio-DGWfQ5Rf.js → radio-H5ktIFzD.js} +1 -1
  169. package/dist/client/assets/registry-DNRE0Em-.js +1 -0
  170. package/dist/client/assets/{relay-trace-schemas-y0nd8fzi.js → relay-trace-schemas-Crc4Iceb.js} +2 -2
  171. package/dist/client/assets/{room-files-source-C1TCg4W_.js → room-files-source-thCvGi0E.js} +2 -2
  172. package/dist/client/assets/{rotate-ccw-clock-DcBojy-0.js → rotate-ccw-clock-DKP7zbQr.js} +1 -1
  173. package/dist/client/assets/{rotate-cw-D0vUyeR2.js → rotate-cw-Cwv_uaU3.js} +1 -1
  174. package/dist/client/assets/{scroll-area-CQ9lO56h.js → scroll-area-CaJ1TwhG.js} +1 -1
  175. package/dist/client/assets/{search-x-EJGj73JB.js → search-x-D-Un20jR.js} +2 -2
  176. package/dist/client/assets/{shield-check-Bp58y9u7.js → shield-check-CMhrOu-d.js} +1 -1
  177. package/dist/client/assets/{shield-x-jF_NCCvp.js → shield-x-DlaUufPM.js} +1 -1
  178. package/dist/client/assets/{soul-file-Cag2i87x.js → soul-file-C5-nKCwV.js} +1 -1
  179. package/dist/client/assets/{table-D89CWVJX.js → table-C7pi-jkJ.js} +1 -1
  180. package/dist/client/assets/{terminal-BUhNMZAt.js → terminal-IYkyS2eR.js} +1 -1
  181. package/dist/client/assets/{trust-posture-15DMDZTA.js → trust-posture-BxFTuKAo.js} +1 -1
  182. package/dist/client/assets/{unplug-opnrSXAi.js → unplug-Bv5BESa4.js} +1 -1
  183. package/dist/client/assets/{unverified-catalog-notice-DHM5Coia.js → unverified-catalog-notice-B9dzvyVq.js} +1 -1
  184. package/dist/client/assets/{use-adapter-catalog-ClMqVelU.js → use-adapter-catalog-DDD8zCQo.js} +1 -1
  185. package/dist/client/assets/{use-bindings-Ch6UUBvz.js → use-bindings-BXHWfTB2.js} +1 -1
  186. package/dist/client/assets/{use-composer-prefs-Qn7KRpYe.js → use-composer-prefs-DG8dQD3D.js} +1 -1
  187. package/dist/client/assets/{use-connector-management-dX_4x0d3.js → use-connector-management-l6Ii6UIU.js} +1 -1
  188. package/dist/client/assets/{use-deep-link-scroll-BV2fY4gy.js → use-deep-link-scroll-CPgyWLMM.js} +1 -1
  189. package/dist/client/assets/{use-delete-binding-BklxjB_c.js → use-delete-binding-NPl-TzUw.js} +1 -1
  190. package/dist/client/assets/{use-dev-links-D4Bqam6F.js → use-dev-links-DYaUSRn0.js} +1 -1
  191. package/dist/client/assets/{use-external-adapter-catalog-nHiD8BKZ.js → use-external-adapter-catalog-BrmKSNvG.js} +1 -1
  192. package/dist/client/assets/{use-full-activity-feed-vYU7wQWT.js → use-full-activity-feed-CEvmRK6d.js} +1 -1
  193. package/dist/client/assets/use-is-below-desktop-Cx2BL1BK.js +1 -0
  194. package/dist/client/assets/{use-jump-back-in-BVunjzyr.js → use-jump-back-in-BMgpYhK-.js} +2 -2
  195. package/dist/client/assets/{use-mesh-topology-NaUKSKol.js → use-mesh-topology-D82_pOi9.js} +1 -1
  196. package/dist/client/assets/{use-mounted-ref-BWpQ8f91.js → use-mounted-ref-Bs5osknq.js} +1 -1
  197. package/dist/client/assets/{use-notification-prefs-qO1zRRFN.js → use-notification-prefs-Bpzt57w3.js} +1 -1
  198. package/dist/client/assets/{use-panel-tab-placements-Db6p2vLD.js → use-panel-tab-placements-COBgt4Uh.js} +1 -1
  199. package/dist/client/assets/use-pending-read-DpJbidPK.js +1 -0
  200. package/dist/client/assets/{use-personality-commit-DUEKxHt_.js → use-personality-commit-D8Fqsrzc.js} +1 -1
  201. package/dist/client/assets/{use-promo-activation-CnGaw39P.js → use-promo-activation-sHnkQjl-.js} +2 -2
  202. package/dist/client/assets/{use-promo-dismissals-bkSHhGhj.js → use-promo-dismissals-BW_429t4.js} +1 -1
  203. package/dist/client/assets/{use-pulse-freshness-Oc_1gs-Y.js → use-pulse-freshness-BkYMwuUb.js} +1 -1
  204. package/dist/client/assets/{use-relay-config-Ba-S4wxY.js → use-relay-config-CsB8Q0cK.js} +1 -1
  205. package/dist/client/assets/{use-room-follow-claim-DqE5b95Z.js → use-room-follow-claim-DqvqzwBA.js} +1 -1
  206. package/dist/client/assets/{use-roving-tab-list-DnMqliqf.js → use-roving-tab-list-iDj1p8tT.js} +1 -1
  207. package/dist/client/assets/{use-session-canvas-OdljtBE8.js → use-session-canvas-DrKA7UHs.js} +4 -4
  208. package/dist/client/assets/{use-session-diagnostics-CtjxsM8_.js → use-session-diagnostics-D6wJVzUG.js} +2 -2
  209. package/dist/client/assets/{use-unclaimed-chats-5RCD5wIp.js → use-unclaimed-chats-bLDQhIiU.js} +1 -1
  210. package/dist/client/assets/use-update-config-Dk0MthxZ.js +1 -0
  211. package/dist/client/assets/{useMutationState-Mjr_y4xX.js → useMutationState-eZMPCch6.js} +1 -1
  212. package/dist/client/index.html +2 -2
  213. package/dist/server/extension-child.cjs +772 -36
  214. package/dist/server/index.js +5533 -4697
  215. package/dist/server/index.js.map +2 -2
  216. package/package.json +6 -5
  217. package/dist/client/assets/HandlePage-DOxlquWl.js +0 -1
  218. package/dist/client/assets/NamePage-W7Frb1yy.js +0 -1
  219. package/dist/client/assets/PhotoPage-DdBke3yj.js +0 -1
  220. package/dist/client/assets/_shell-BxPza3Lx.js +0 -88
  221. package/dist/client/assets/_shell.marketplace-CEnzWFmI.js +0 -1
  222. package/dist/client/assets/_shell.marketplace_.sources-BZq1d2ih.js +0 -1
  223. package/dist/client/assets/_shell.team-DoLdOMoC.js +0 -28
  224. package/dist/client/assets/_shell.x._extensionId-DhE3OYMF.js +0 -1
  225. package/dist/client/assets/_shell.x._extensionId_._-DhE3OYMF.js +0 -1
  226. package/dist/client/assets/index-BzczIyv5.js +0 -119
  227. package/dist/client/assets/index-C6NUjpzQ.js +0 -38
  228. package/dist/client/assets/index-O_HMols_.js +0 -1
  229. package/dist/client/assets/index-kktlr1TJ.css +0 -1
  230. package/dist/client/assets/registry-ChxwU0f4.js +0 -1
  231. package/dist/client/assets/use-is-below-desktop-G-mTu2Ga.js +0 -1
  232. package/dist/client/assets/use-pending-read-DUqJZUza.js +0 -1
  233. package/dist/client/assets/use-update-config-xkznZMHr.js +0 -1
@@ -1,38 +0,0 @@
1
- var Ne=Object.defineProperty;var Re=(t,n,s)=>n in t?Ne(t,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[n]=s;var U=(t,n,s)=>Re(t,typeof n!="symbol"?n+"":n,s);import{a2 as C,a8 as P,hs as De,r as f,aS as Ie,ht as X,aQ as ze,j as e,hl as _,hu as Me,g as B,hv as H,hw as V,Q as O,hx as Se,hy as Te,X as Fe,hz as Ae,B as w,dD as Oe,W as S,aT as _e,hA as Ee,ft as Le,hB as Ue,hC as $e,hD as Pe,hE as Be,hF as He,hG as Z,R as Ve,aa as Ye,b0 as y,hH as Ke,hI as We,hJ as qe,ae as ee,hK as Ge,hL as Je,hM as Qe}from"./index-CdKpQ1hI.js";import{u as Xe}from"./use-roving-tab-list-DnMqliqf.js";import{F as ne,a as Ze,b as te,c as et,R as tt,C as se}from"./use-session-canvas-OdljtBE8.js";import{d as on,e as rn,f as ln,g as cn,h as dn}from"./use-session-canvas-OdljtBE8.js";import{A as nt}from"./McpAppFrame-BaJ_r-QR.js";import{F as st}from"./file-CGg2M6ED.js";import{F as ae}from"./file-text-BYq_4IAt.js";import{R as at}from"./rotate-cw-D0vUyeR2.js";import{u as ot}from"./use-room-follow-claim-DqE5b95Z.js";import{c as rt,F as it}from"./room-files-source-C1TCg4W_.js";import"./WidgetErrorCard-ChDNC060.js";import"./card-BqN3lfJn.js";import"./progress-BcuH4Eod.js";import"./markdown-content-1-B7PdbY.js";import"./table-D89CWVJX.js";import"./terminal-BUhNMZAt.js";import"./package-D2eMoFCI.js";import"./heart-Dblp_miM.js";import"./git-branch-DbjXDO_F.js";import"./more-details-C6UGVeDE.js";import"./file-exclamation-point-DZrVsShR.js";/**
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 oe={name:"box",size:24,node:[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]};oe.node;const lt=C(oe);/**
7
- * @license lucide-react v1.48.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */const re={name:"braces",size:24,node:[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],aliases:["curly-braces"]};re.node;const ie=C(re);/**
12
- * @license lucide-react v1.48.0 - ISC
13
- *
14
- * This source code is licensed under the ISC license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */const le={name:"file-headphone",size:24,node:[["path",{d:"M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343",key:"1vfytu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0",key:"1etmh7"}]],aliases:["file-audio","file-audio-2"]};le.node;const ct=C(le);/**
17
- * @license lucide-react v1.48.0 - ISC
18
- *
19
- * This source code is licensed under the ISC license.
20
- * See the LICENSE file in the root directory of this source tree.
21
- */const ce={name:"file-play",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z",key:"1tzo1f"}]],aliases:["file-video"]};ce.node;const dt=C(ce);/**
22
- * @license lucide-react v1.48.0 - ISC
23
- *
24
- * This source code is licensed under the ISC license.
25
- * See the LICENSE file in the root directory of this source tree.
26
- */const de={name:"git-compare",size:24,node:[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]]};de.node;const ut=C(de);/**
27
- * @license lucide-react v1.48.0 - ISC
28
- *
29
- * This source code is licensed under the ISC license.
30
- * See the LICENSE file in the root directory of this source tree.
31
- */const ue={name:"image",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]};ue.node;const mt=C(ue);/**
32
- * @license lucide-react v1.48.0 - ISC
33
- *
34
- * This source code is licensed under the ISC license.
35
- * See the LICENSE file in the root directory of this source tree.
36
- */const me={name:"table",size:24,node:[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]};me.node;const pt=C(me);function ht(t){const n=P(),{roomId:s,viewerAuthorId:r,documentId:i,url:p,readScrollY:u,subscribe:d}=t,a=De(s,r),g=f.useRef({roomId:s,documentId:i,url:p,readScrollY:u});g.current={roomId:s,documentId:i,url:p,readScrollY:u};const m=f.useRef(null),x=f.useRef(0);f.useEffect(()=>{if(!a||s===null||i===null)return;const j=()=>{m.current=null,x.current=Date.now();const b=g.current;if(b.roomId===null||b.documentId===null)return;const F=b.roomId,E={documentId:b.documentId,...b.url!==void 0?{url:b.url}:{},...b.readScrollY?{scrollY:Math.max(0,Math.round(b.readScrollY()))}:{}};n.publishRoomView(F,E).then(L=>{!L.followed&&r!==null&&ze.getState().noteNobodyFollowing(F,r)}).catch(()=>{})},c=()=>{if(m.current!==null)return;const b=Date.now()-x.current;if(b>=X){j();return}m.current=setTimeout(j,X-b)};c();const R=d==null?void 0:d(c),T=setInterval(c,Ie);return()=>{clearInterval(T),R==null||R()}},[n,a,s,r,i,p,d]),f.useEffect(()=>()=>{m.current!==null&&clearTimeout(m.current)},[])}const ft={url:_,markdown:ae,json:ie,image:mt,pdf:st,widget:Me,mcp_app:nt,file:ne,model3d:lt,audio:ct,video:dt,csv:pt,browser:_,diff:ut},xt="after:absolute after:inset-x-0 after:-inset-y-2 md:after:hidden";function Y(t){return t==="browser"?"browser-panel":"canvas-panel"}const yt={canvas:"Open canvas documents",browser:"Open browser pages"};function K(t){return`canvas-tab-${t}`}const vt=3;function gt(t){const n=t.map(r=>r.displayName);if(n.length===0)return null;if(n.length===1)return`${n[0]} is looking at this.`;if(n.length===2)return`${n[0]} and ${n[1]} are looking at this.`;const s=n.length-2;return`${n[0]}, ${n[1]} and ${s} ${s===1?"other":"others"} are looking at this.`}function bt({watchers:t}){const n=gt(t);if(n===null)return null;const s=t.slice(0,vt),r=t.length-s.length;return e.jsxs(e.Fragment,{children:[e.jsxs("span",{"data-slot":"canvas-tab-watchers","aria-hidden":!0,className:"flex shrink-0 -space-x-1",children:[s.map(i=>e.jsx(B,{size:"xs",className:"ring-background size-3.5 text-[8px] ring-1",kind:i.kind,color:i.color??V(i.id),emoji:i.emoji,imageUrl:i.imageUrl,badge:null,fallback:H(i.displayName)},i.id)),r>0&&e.jsxs("span",{className:"bg-muted text-muted-foreground ring-background flex size-3.5 shrink-0 items-center justify-center rounded-full text-[8px] ring-1",children:["+",r]})]}),e.jsx("span",{className:"sr-only",children:n})]})}function pe({view:t,documents:n,activeDocumentId:s,onActivate:r,onClose:i,onPin:p}){const u=Y(t),{getTabProps:d}=Xe({orderedIds:n.map(a=>a.id),activeId:s,onActivate:a=>r(a),onClose:a=>i(a),getFallbackFocus:()=>document.getElementById(u)});return n.length===0?null:e.jsx("div",{role:"tablist","aria-label":yt[t],className:"flex items-stretch gap-1 overflow-x-auto border-b px-2 py-1",children:n.map(a=>{const g=ft[a.contentType],m=a.id===s,x=a.author;return e.jsxs("div",{role:"presentation",className:"group relative flex shrink-0",children:[e.jsxs("button",{type:"button",role:"tab","aria-selected":m,id:K(a.id),"aria-controls":m?u:void 0,...d(a.id),className:O("focus-ring flex items-center gap-1.5 rounded-md py-3 pl-2 text-xs transition-colors md:py-1",p?"pr-12":"pr-7",m?"bg-muted text-foreground":"text-muted-foreground hover:bg-muted/60 hover:text-foreground"),children:[x&&e.jsx(B,{"aria-hidden":!0,size:"xs",className:"size-3.5 shrink-0 text-[8px]",kind:x.kind,color:x.color??V(x.id),emoji:x.emoji,imageUrl:x.imageUrl,badge:null,fallback:H(x.displayName)}),e.jsx(g,{className:"size-3.5 shrink-0"}),e.jsx("span",{className:"max-w-40 truncate font-medium",children:a.sourceLabel}),a.watchers&&a.watchers.length>0&&e.jsx(bt,{watchers:a.watchers}),a.unread&&e.jsx("span",{"data-slot":"canvas-tab-unread","aria-hidden":!0,className:"bg-primary size-1.5 shrink-0 rounded-full"})]}),p&&e.jsx("button",{type:"button",tabIndex:-1,onClick:()=>p(a.id,!a.pinned),"aria-label":a.pinned?`Unpin ${a.sourceLabel}`:`Pin ${a.sourceLabel}`,className:O("focus-ring hover:bg-background/80 absolute top-1/2 right-6 -translate-y-1/2 rounded-sm p-1.5 transition-opacity md:p-0.5",a.pinned?"opacity-100":"opacity-0 group-hover:opacity-60"),children:a.pinned?e.jsx(Se,{className:"size-3"}):e.jsx(Te,{className:"size-3"})}),e.jsx("button",{type:"button",tabIndex:-1,onClick:()=>i(a.id),"aria-label":`Close ${a.sourceLabel}`,className:O("focus-ring hover:bg-background/80 absolute top-1/2 right-1 -translate-y-1/2 rounded-sm p-1.5 opacity-60 transition-opacity group-hover:opacity-100 md:p-0.5",xt),children:e.jsx(Fe,{className:"size-3"})})]},a.id)})})}function jt({error:t,onRetry:n}){const s=Ae(t);return e.jsxs("div",{className:"text-muted-foreground flex h-full flex-col items-center justify-center gap-3 p-8 text-center",children:[e.jsx("p",{children:"This tab hit a problem"}),s?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm",children:"The app may have updated. Reloading usually fixes it."}),e.jsx(w,{type:"button",size:"sm",onClick:()=>window.location.reload(),children:"Reload DorkOS"})]}):e.jsxs(w,{type:"button",variant:"outline",size:"sm",onClick:n,children:[e.jsx(at,{className:"size-4"}),"Try again"]})]})}class he extends f.Component{constructor(){super(...arguments);U(this,"state",{error:null,retryKey:0});U(this,"handleRetry",()=>{this.setState(s=>({error:null,retryKey:s.retryKey+1}))})}static getDerivedStateFromError(s){return{error:s}}componentDidCatch(s,r){console.error(`[Canvas] Document viewer error (${this.props.documentId}):`,s,r)}render(){const{error:s,retryKey:r}=this.state;return s?e.jsx(jt,{error:s,onRetry:this.handleRetry}):e.jsx(f.Fragment,{children:this.props.children},r)}}function kt({onReload:t,onKeepMine:n}){return e.jsxs("div",{role:"status",className:"border-border/60 bg-muted/40 mx-2 mt-2 space-y-2 rounded-md border px-3 py-2 text-sm",children:[e.jsx("p",{children:"Your agent changed this while you were editing. Your edit is safe."}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(w,{type:"button",variant:"outline",size:"sm",onClick:t,children:"Reload"}),e.jsx(w,{type:"button",variant:"ghost",size:"sm",onClick:n,children:"Keep mine"})]}),e.jsx("p",{className:"text-muted-foreground text-xs",children:"Reload shows its version and ends your edit. Keep mine discards it."})]})}const wt={canvas:{heading:"A blank canvas",blurb:"Your agent can show documents, data and files here.",actions:[{icon:ae,label:"Markdown",description:"Render a document",action:()=>({type:"markdown",content:`# Untitled
37
-
38
- Start writing…`,title:"Document"})},{icon:ie,label:"JSON",description:"Inspect structured data",action:()=>({type:"json",data:{message:"Your data here"},title:"JSON data"})}]},browser:{heading:"No page open",blurb:"This tab shows web pages: your files, dev servers, or sites from your agent.",actions:[{icon:_,label:"Web page",description:"Open a page, then type any address",action:()=>({type:"url",url:Ee.site,title:"Web Page"})}]}};function $(t,n,s,r){return t.split("").reduce((p,u)=>p+u.charCodeAt(0),0)*(n+1)*7%(r-s)+s}function fe({view:t,onAction:n}){const s=Oe(),r=f.useId(),i=wt[t],p=f.useMemo(()=>Array.from({length:6},(u,d)=>({x:$(r,d*3,10,90),y:$(r,d*3+1,10,80),size:$(r,d*3+2,24,56),delay:d*.4})),[r]);return e.jsxs("div",{className:"relative flex h-full flex-col items-center justify-center overflow-hidden px-6",children:[!s&&p.map((u,d)=>e.jsx(S.div,{className:"border-border/40 absolute rounded-lg border",style:{left:`${u.x}%`,top:`${u.y}%`,width:u.size,height:u.size},initial:{opacity:0,scale:.6,rotate:-10},animate:{opacity:[0,.15,.08,.15],scale:[.6,1,.9,1],rotate:[-10,0,5,0]},transition:{duration:8,delay:u.delay,repeat:1/0,repeatType:"reverse",ease:"easeInOut"}},d)),e.jsxs(S.div,{className:"relative z-10 flex max-w-sm flex-col items-center gap-6 text-center",initial:s?!1:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.4,ease:"easeOut"},children:[e.jsx(S.div,{className:"bg-muted/50 text-muted-foreground flex size-14 items-center justify-center rounded-2xl",initial:s?!1:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.3,delay:.1},children:t==="browser"?e.jsx(_,{className:"size-7"}):e.jsx(_e,{className:"size-7"})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h2",{className:"text-lg font-semibold tracking-tight",children:i.heading}),e.jsxs("p",{className:"text-muted-foreground text-sm leading-relaxed",children:[i.blurb,e.jsx("br",{}),"Or pick a starting point below."]})]}),e.jsx(S.div,{className:"mt-2 flex w-full flex-col gap-2",initial:"hidden",animate:"visible",variants:s?{}:{visible:{transition:{staggerChildren:.08,delayChildren:.25}}},children:i.actions.map(({icon:u,label:d,description:a,action:g})=>e.jsxs(S.button,{variants:s?{}:{hidden:{opacity:0,y:8},visible:{opacity:1,y:0}},transition:{duration:.25},className:"border-border hover:bg-accent/50 flex items-center gap-3 rounded-lg border px-4 py-3 text-left transition-colors",onClick:()=>n(g()),children:[e.jsx(u,{className:"text-muted-foreground size-4 shrink-0"}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"text-sm font-medium",children:d}),e.jsx("span",{className:"text-muted-foreground ml-2 text-xs",children:a})]})]},d))})]})]})}function Ct({sourceLabel:t,people:n,following:s,onFollow:r,onStopFollowing:i,onDiscuss:p,discussing:u=!1}){const d=n.find(a=>a.id===s)??null;return t===void 0&&n.length===0&&p===void 0?null:e.jsxs("div",{className:"text-muted-foreground flex items-center gap-2 border-b px-3 py-1 text-xs",children:[t!==void 0&&e.jsx("span",{className:"min-w-0 flex-1 truncate",children:t}),t===void 0&&e.jsx("span",{className:"flex-1"}),p&&e.jsxs(w,{type:"button",variant:"ghost",size:"sm",className:"h-6 gap-1 px-1.5",disabled:u,onClick:p,children:[e.jsx(Le,{className:"size-3.5"}),"Discuss"]}),n.length>0&&e.jsxs(Ue,{children:[e.jsx($e,{asChild:!0,children:e.jsxs(w,{type:"button",variant:"ghost",size:"sm",className:O("h-6 gap-1 px-1.5",d&&"text-foreground"),children:[e.jsx(Pe,{className:"size-3.5"}),d?`Following ${d.displayName}`:"Follow"]})}),e.jsxs(Be,{align:"end",children:[e.jsx(He,{children:"Follow somebody’s browser"}),n.map(a=>e.jsxs(Z,{onSelect:()=>a.id===s?i():r(a.id),children:[e.jsx(B,{"aria-hidden":!0,size:"xs",className:"size-4 shrink-0 text-[9px]",kind:a.kind,color:a.color??V(a.id),emoji:a.emoji,imageUrl:a.imageUrl,badge:null,fallback:H(a.displayName)}),e.jsx("span",{className:"min-w-0 flex-1 truncate",children:a.displayName}),a.id===s&&e.jsx(Ve,{className:"size-3.5 shrink-0"})]},a.id)),d&&e.jsx(Z,{onSelect:i,children:"Stop following"})]})]})]})}function Nt({roomId:t,document:n,reading:s}){const r=P(),i=Ye(),[p,u]=f.useState(null),d=f.useMemo(()=>rt({transport:r,queryClient:i,roomId:t}),[r,i,t]);return e.jsxs("div",{className:"flex h-full items-start justify-center p-6",children:[e.jsxs("div",{className:"bg-card shadow-soft w-full max-w-md space-y-3 rounded-lg border p-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(ne,{className:"text-muted-foreground size-4 shrink-0"}),e.jsx("span",{className:"truncate text-sm font-medium",children:n.title||s.sourcePath})]}),e.jsx("p",{className:"text-muted-foreground font-mono text-xs break-all",children:s.sourcePath}),s.kind==="elsewhere"?e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:s.sentence}):e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:"A room file. Each save is recorded with your name."}),e.jsx(w,{type:"button",size:"sm",onClick:()=>u(s.sourcePath),children:"Open file"})]})]}),s.kind==="room-file"&&e.jsx(it,{source:d,path:p,onClose:()=>u(null)})]})}const Rt=["image","pdf","audio","video","csv","model3d"];function Dt(t){return/^(https?:|data:)/.test(t)}function It(t){if(t.type==="file"||t.type==="diff")return t.sourcePath;if(t.type==="markdown")return t.sourcePath??null;if(Rt.includes(t.type)){const n=t.src;return Dt(n)?null:n}return null}function zt(t){return t.type==="file"||t.type==="diff"||t.type==="markdown"}function Mt(t){const n=/^(?:in )?(.+?)['’]s /.exec(t.sourceLabel??"");return(n==null?void 0:n[1])??"another member"}function St(t){const n=It(t.content);if(n===null)return{kind:"inline"};if(t.treeKind==="room-main"||t.treeKind===void 0)return zt(t.content)?{kind:"room-file",sourcePath:n}:{kind:"elsewhere",sourcePath:n,sentence:"This file is in the room’s files. Open it from Files in the Room tab."};if(t.content.type==="diff"&&t.treeKind==="worktree"&&typeof t.aheadOfMain=="number"&&t.aheadOfMain>0)return{kind:"worktree-diff",sourcePath:n,content:t.content};if(t.content.type==="markdown")return{kind:"inline"};const s=Mt(t);return{kind:"elsewhere",sourcePath:n,sentence:`${s.charAt(0).toUpperCase()}${s.slice(1)}’s project isn’t open to you. Ask them to share it, or open your copy.`}}function Tt(t){return t.title||t.contentType}function Ft({roomId:t,document:n,onUpdate:s}){const r=St(n);return r.kind==="worktree-diff"?e.jsx(Je,{roomId:t,content:r.content,documentId:n.id,authorId:n.authorId}):r.kind!=="inline"?e.jsx(Nt,{roomId:t,document:n,reading:r}):n.content.type==="markdown"?e.jsx(tt,{roomId:t,document:n,content:n.content,onSave:s}):e.jsx(se,{documentId:n.id,content:n.content,onContentChange:()=>{}})}function xe({roomId:t,view:n}){var G;const s=y(o=>o.roomCanvasDocuments[t]),r=y(o=>{var l;return((l=o.roomCanvasActive[t])==null?void 0:l[n])??null}),i=y(o=>{var l;return(l=o.roomCanvasUnread[t])==null?void 0:l[n]}),p=y(o=>o.activateRoomCanvasDocument),u=y(o=>o.clearRoomCanvasUnread),d=y(o=>o.roomCanvasPresence[t]),a=Ze(t),g=Ke(t),m=P(),x=((G=g.data)==null?void 0:G.viewerAuthorId)??null,j=y(o=>o.roomCanvasEditing[t]??null),c=We(o=>o.openThread),[R,T]=f.useState(!1),b=n==="browser"?t:null,{following:F,follow:E,stop:L}=ot(b),k=qe(b),D=f.useRef(null),A=f.useCallback(async(o,l)=>{try{return await l(),!0}catch(z){return ee.error(o,{description:te(z)}),!1}},[]),I=f.useMemo(()=>Ge(s??[],n),[s,n]),v=I.find(o=>o.id===r)??null,W=(i==null?void 0:i.length)??0;f.useEffect(()=>{W>0&&u(t,n)},[W,u,t,n]);const ve=f.useMemo(()=>{var J;const o=new Map(((J=g.data)==null?void 0:J.members.map(h=>[h.author.id,h.author]))??[]),l=h=>({id:h.id,displayName:h.displayName,kind:h.kind,...h.emoji?{emoji:h.emoji}:{},...h.color?{color:h.color}:{},...h.imageUrl?{imageUrl:h.imageUrl}:{}}),z=new Map;for(const[h,M]of Object.entries(d??{})){if(h===x)continue;const N=o.get(h);if(!N)continue;const Q=z.get(M);Q?Q.push(l(N)):z.set(M,[l(N)])}return I.map(h=>{const M=o.get(h.authorId),N=z.get(h.id);return{id:h.id,sourceLabel:Tt(h),contentType:h.content.type,pinned:h.pinned,unread:(i==null?void 0:i.includes(h.id))??!1,...M?{author:l(M)}:{},...N?{watchers:N}:{}}})},[I,g.data,i,d,x]);et(t,(v==null?void 0:v.id)??null);const ge=f.useMemo(()=>{var o;return(((o=g.data)==null?void 0:o.members)??[]).map(l=>l.author).filter(l=>l.kind==="human"&&l.id!==x).map(l=>({id:l.id,displayName:l.displayName,kind:l.kind,emoji:l.emoji,color:l.color,imageUrl:l.imageUrl}))},[g.data,x]),be=y(o=>{if(r===null)return;const l=o.browserHistories[r];return l?l.stack[l.cursor]:void 0}),je=f.useCallback(()=>{var o;return((o=D.current)==null?void 0:o.scrollTop)??0},[]),ke=f.useCallback(o=>{const l=D.current;return l?(l.addEventListener("scroll",o,{passive:!0}),()=>l.removeEventListener("scroll",o)):()=>{}},[]);ht({roomId:b,viewerAuthorId:x,documentId:r,url:be,readScrollY:je,subscribe:ke});const q=f.useMemo(()=>I.map(o=>o.id).join("\0"),[I]);f.useEffect(()=>{if(!(k===null||j!==null)&&q.split("\0").includes(k.documentId)){if(k.documentId!==r){p(t,k.documentId);return}k.scrollY!==void 0&&D.current&&(D.current.scrollTop=k.scrollY)}},[k,j,r,q,p,t]);const we=f.useCallback(()=>{v!==null&&(T(!0),m.discussCanvasDocument(t,v.id).then(o=>c(t,o.threadRootEntryId,!1)).catch(o=>{ee.error("Couldn’t start a discussion.",{description:te(o)})}).finally(()=>T(!1)))},[v,m,t,c]),Ce=Y(n);return e.jsxs(e.Fragment,{children:[e.jsx(pe,{view:n,documents:ve,activeDocumentId:r,onActivate:o=>p(t,o),onClose:o=>void A("Couldn’t take that off the canvas.",()=>a.close(o)),onPin:(o,l)=>void A(l?"Couldn’t pin that.":"Couldn’t unpin that.",()=>a.pin(o,l))}),e.jsx(Ct,{sourceLabel:v==null?void 0:v.sourceLabel,people:n==="browser"?ge:[],following:F,onFollow:E,onStopFollowing:L,onDiscuss:v===null?void 0:we,discussing:R}),e.jsx("div",{id:Ce,ref:D,tabIndex:-1,className:"min-h-0 flex-1 overflow-auto focus-visible:outline-none",...v?{role:"tabpanel","aria-labelledby":K(v.id)}:{},children:v?e.jsx(he,{documentId:v.id,children:e.jsx(Ft,{roomId:t,document:v,onUpdate:(o,l)=>A("Couldn’t save that for the room.",()=>a.update(o,l))})},v.id):e.jsx(fe,{view:n,onAction:o=>void A("Couldn’t put that on the canvas.",()=>a.open(o))})})]})}function ye({view:t}){const n=y(c=>c.openDocuments),s=y(c=>t==="browser"?c.activeBrowserDocumentId:c.activeCanvasDocumentId),r=y(c=>c.activateCanvasDocument),i=y(c=>c.closeCanvasDocument),p=y(c=>c.setDocumentContent),u=y(c=>c.openCanvasDocument),d=y(c=>c.applyHeldUpdate),a=y(c=>c.discardHeldUpdate),g=Qe(n,t),m=g.find(c=>c.id===s)??null,x=g.map(c=>({id:c.id,sourceLabel:c.sourceLabel,contentType:c.content.type})),j=Y(t);return e.jsxs(e.Fragment,{children:[e.jsx(pe,{view:t,documents:x,activeDocumentId:s,onActivate:r,onClose:i}),(m==null?void 0:m.heldUpdate)&&e.jsx(kt,{onReload:()=>d(m.id),onKeepMine:()=>a(m.id)}),e.jsx("div",{id:j,tabIndex:-1,className:"min-h-0 flex-1 overflow-auto focus-visible:outline-none",...m?{role:"tabpanel","aria-labelledby":K(m.id)}:{},children:m?e.jsx(he,{documentId:m.id,children:e.jsx(se,{documentId:m.id,content:m.content,onContentChange:c=>p(m.id,c)})},m.id):e.jsx(fe,{view:t,onAction:u})})]})}function tn(){const t=y(n=>n.roomCanvasLiveRoomId);return e.jsx("div",{"data-slot":"canvas",className:"flex h-full flex-col overflow-hidden",children:t?e.jsx(xe,{roomId:t,view:"canvas"}):e.jsx(ye,{view:"canvas"})})}function nn(){const t=y(n=>n.roomCanvasLiveRoomId);return e.jsx("div",{"data-slot":"browser",className:"flex h-full flex-col overflow-hidden",children:t?e.jsx(xe,{roomId:t,view:"browser"}):e.jsx(ye,{view:"browser"})})}export{nn as BrowserContent,tn as CanvasContent,on as CanvasWidgetContent,rn as resetSessionCanvasImport,ln as useDevtoolsBridge,cn as useDocChannel,dn as useSessionCanvas};
@@ -1 +0,0 @@
1
- import{I as h,M as w}from"./Marketplace-eWEtLmd9.js";import{M as U,P as V,m as b,u as C,a as D}from"./index-CdKpQ1hI.js";import{M as q}from"./MarketplaceSourcesView-B1h70C20.js";import{U as y}from"./UnlinkDialog-DXdrLsGV.js";import"./PreviewRefusedNotice-DXZp669C.js";import"./shield-x-jF_NCCvp.js";import"./card-BqN3lfJn.js";import"./empty-state-yl1dLwLN.js";import"./markdown-content-1-B7PdbY.js";import"./use-unclaimed-chats-5RCD5wIp.js";import"./use-bindings-Ch6UUBvz.js";import"./more-details-C6UGVeDE.js";import"./use-dev-links-D4Bqam6F.js";import"./terminal-BUhNMZAt.js";import"./file-CGg2M6ED.js";import"./AgentPicker-dCfEIsU-.js";import"./command-ZTLTCj0l.js";import"./AgentOptionRow-BqFQvFeN.js";import"./useMutationState-Mjr_y4xX.js";import"./file-exclamation-point-DZrVsShR.js";import"./rotate-ccw-clock-DcBojy-0.js";import"./path-input-j04LMj9z.js";import"./use-pending-read-DUqJZUza.js";export{h as InstalledPackagesView,w as Marketplace,U as MarketplaceSidebar,q as MarketplaceSourcesView,V as PackageCard,y as UnlinkDialog,b as marketplaceSearchSchema,C as useMarketplaceParams,D as useMarketplaceStore};