dorkos 0.127.0 → 0.128.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.
- package/THIRD-PARTY-NOTICES.md +61 -0
- package/dist/bin/cli.js +1890 -1099
- package/dist/browser/native/package-manifest.json +1 -1
- package/dist/browser/source-manifest.json +1 -1
- package/dist/client/assets/{AboutPage-BnnwvwU1.js → AboutPage-CmQERFxo.js} +1 -1
- package/dist/client/assets/{ActivityErrorState-DW-plne9.js → ActivityErrorState-Dw231W2w.js} +1 -1
- package/dist/client/assets/{ActivityPage-BMrtNC9t.js → ActivityPage-DVfeyA9u.js} +1 -1
- package/dist/client/assets/{ActivityRow-BnBDxJqK.js → ActivityRow-DIBH4v9c.js} +1 -1
- package/dist/client/assets/{AdapterIcon-J2UUIfEX.js → AdapterIcon-NqCDzgCI.js} +1 -1
- package/dist/client/assets/{AdapterSetupWizard-MDV6zwYC.js → AdapterSetupWizard-Dle_b9qc.js} +1 -1
- package/dist/client/assets/{AgentOptionRow-Dj2MlE6E.js → AgentOptionRow-BRJfZo2y.js} +1 -1
- package/dist/client/assets/{AgentPicker-D6MsFN_H.js → AgentPicker-B7upjYRk.js} +1 -1
- package/dist/client/assets/{AgentRequestCard-BTyuNOhU.js → AgentRequestCard-DXJnLk6q.js} +1 -1
- package/dist/client/assets/{AppearancePage-DJfJUAkw.js → AppearancePage-DXbhUt2e.js} +1 -1
- package/dist/client/assets/{ApplyToOverridesDialog-Akw0_458.js → ApplyToOverridesDialog-C_QQhNIf.js} +1 -1
- package/dist/client/assets/{AttentionSignalRow-Cx9-sStN.js → AttentionSignalRow-5E7TkG98.js} +1 -1
- package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-CRlmlore.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-G7vrCqeA.js} +1 -1
- package/dist/client/assets/{BindingDialog-ZAX-h6D4.js → BindingDialog-q--8SDJF.js} +1 -1
- package/dist/client/assets/{BlintzCanvas-fEMJgpNx.js → BlintzCanvas-DruVZcDU.js} +3 -3
- package/dist/client/assets/{CanvasCsvContent-CUoIFG7g.js → CanvasCsvContent-CtLpZnTs.js} +1 -1
- package/dist/client/assets/{CanvasFileContent-Cg2jcXse.js → CanvasFileContent-BThy5fjD.js} +2 -2
- package/dist/client/assets/{CanvasModel3dContent-BL-UiHAj.js → CanvasModel3dContent-BbgR73jh.js} +2 -2
- package/dist/client/assets/ChannelComposer-qhk0KtW7.js +44 -0
- package/dist/client/assets/{ChatAppsOff-CSSu_yVC.js → ChatAppsOff-CCZUzDIH.js} +1 -1
- package/dist/client/assets/{CodeMirrorDiff-dfcDpguR.js → CodeMirrorDiff-BCpYdhgZ.js} +1 -1
- package/dist/client/assets/{CodeMirrorEditor-C1YQ35ki.js → CodeMirrorEditor-BeCubxHV.js} +1 -1
- package/dist/client/assets/{CommitmentList-B6RG_hWB.js → CommitmentList-BZtfTnwg.js} +1 -1
- package/dist/client/assets/{CommitmentsPage-CDFvo1lt.js → CommitmentsPage-DmurDgxV.js} +1 -1
- package/dist/client/assets/{ComputerResourceView-vJ8UfRNm.js → ComputerResourceView-Bik6GLKp.js} +1 -1
- package/dist/client/assets/{ComputerViewer-BTqPuZyh.js → ComputerViewer-CksBDqdu.js} +1 -1
- package/dist/client/assets/{ConnectionAccessLists-DPnmOuiA.js → ConnectionAccessLists-DRwO1v0V.js} +1 -1
- package/dist/client/assets/{ConnectionsPage-CSHnGkha.js → ConnectionsPage-Cgg36gDY.js} +1 -1
- package/dist/client/assets/{ConventionPage-C6WsAvm4.js → ConventionPage-CNhpF6Z1.js} +1 -1
- package/dist/client/assets/{ExtensionPageRoute-CGjw2Cwy.js → ExtensionPageRoute-C2zue_Pw.js} +1 -1
- package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-CKlmwuIc.js → FloatingTanStackRouterDevtools-CqogiFob-3v1TfY1P.js} +1 -1
- package/dist/client/assets/{ForwardConsentHost-D8rVtTRp.js → ForwardConsentHost-Mbo0D-zk.js} +1 -1
- package/dist/client/assets/HandlePage-B4qbFi40.js +1 -0
- package/dist/client/assets/{HeartbeatPage-DQImR4dY.js → HeartbeatPage-BnNbQLCW.js} +1 -1
- package/dist/client/assets/{KeyEntry-BerpQFQT.js → KeyEntry-C43vkwpA.js} +1 -1
- package/dist/client/assets/{LexicalField-CkcKNJGL.js → LexicalField-iAHcvRmI.js} +1 -1
- package/dist/client/assets/{ManagesPage-CV4xieFk.js → ManagesPage-BUIJvLmv.js} +1 -1
- package/dist/client/assets/{Marketplace-Cp0e4Nv8.js → Marketplace-DbdLWz0-.js} +1 -1
- package/dist/client/assets/{MarketplaceSourcesView-ZBNnVSuv.js → MarketplaceSourcesView-BZODwhxu.js} +1 -1
- package/dist/client/assets/{McpAppFrame-BtKAUDBg.js → McpAppFrame-D15nxVaI.js} +1 -1
- package/dist/client/assets/{McpSigninBody-DjGrp_sO.js → McpSigninBody-DmBxqgxN.js} +1 -1
- package/dist/client/assets/{Model3dViewer-BSX1QGsE.js → Model3dViewer-RGXeJd6a.js} +1 -1
- package/dist/client/assets/NamePage-fhxyWDDY.js +1 -0
- package/dist/client/assets/{NewDirectMessageMenu-DTQ7vFsa.js → NewDirectMessageMenu-DBAdvv5p.js} +1 -1
- package/dist/client/assets/{NotificationsPage-q7BDVKOz.js → NotificationsPage-NRfyiinS.js} +1 -1
- package/dist/client/assets/{OpenMeshSwitch-aAMKDAyc.js → OpenMeshSwitch-CgQ6uefo.js} +1 -1
- package/dist/client/assets/{OperatorIdentityForm-CCAvadEZ.js → OperatorIdentityForm-Bls5Vo_u.js} +1 -1
- package/dist/client/assets/{PermissionHistory-_8m4ohGq.js → PermissionHistory-DPEPq8D9.js} +1 -1
- package/dist/client/assets/{PermissionsPage-DHl8sCfQ.js → PermissionsPage--k-xutbJ.js} +1 -1
- package/dist/client/assets/{PersonalityPopover-DOql0nWB.js → PersonalityPopover-DMMptmPS.js} +1 -1
- package/dist/client/assets/PhotoPage-CNHcXbz4.js +1 -0
- package/dist/client/assets/{PreviewRefusedNotice-BfvSYL-w.js → PreviewRefusedNotice-Ds4IO32o.js} +1 -1
- package/dist/client/assets/{ProfileFields-CX2mdPAV.js → ProfileFields-DbPJ7fvN.js} +1 -1
- package/dist/client/assets/{ProfilePanelContainer-Cj_57NEG.js → ProfilePanelContainer-CzwhrIlw.js} +1 -1
- package/dist/client/assets/{ProfileRolePicker-D7F0PDw9.js → ProfileRolePicker-CZEXvlJm.js} +1 -1
- package/dist/client/assets/{PromptSuggestionChips-BopMvYe7.js → PromptSuggestionChips-BXxC799Q.js} +1 -1
- package/dist/client/assets/{ReportsToPopover-CG_hjT_U.js → ReportsToPopover-YOwGLJy5.js} +1 -1
- package/dist/client/assets/{RoomSurface-Mt3dk4_6.js → RoomSurface-DgH3a_Fv.js} +1 -1
- package/dist/client/assets/{RoomsPage-ByHhS_HA.js → RoomsPage-CoXjZMWL.js} +1 -1
- package/dist/client/assets/{RunsOnPopover-DS8_Au0B.js → RunsOnPopover-CEkkjrGg.js} +1 -1
- package/dist/client/assets/{RuntimeConnectFlow-hhvWVRMu.js → RuntimeConnectFlow-DXWGgvCW.js} +1 -1
- package/dist/client/assets/{RuntimeSetupDialog-NKy3mLEH.js → RuntimeSetupDialog-D6L1QhMF.js} +1 -1
- package/dist/client/assets/{SeenDevices-65oxnxk6.js → SeenDevices-Bh2yh-PW.js} +1 -1
- package/dist/client/assets/{SessionsPage-WbWf0huR.js → SessionsPage-CFvkbT9X.js} +1 -1
- package/dist/client/assets/{SettingsDialog-e33ltTb6.js → SettingsDialog-BOOqWKcj.js} +1 -1
- package/dist/client/assets/{SkillsPage-Cj3XrV8s.js → SkillsPage-ntCEhUIM.js} +1 -1
- package/dist/client/assets/{TaskDialogWrapper-DJAGQuab.js → TaskDialogWrapper-vBWAWwTY.js} +1 -1
- package/dist/client/assets/{TasksEmptyState-DNI1C274.js → TasksEmptyState-C_3UkAbA.js} +1 -1
- package/dist/client/assets/{TasksPage-Dc1j_X1K.js → TasksPage-D0Zi6Mve.js} +1 -1
- package/dist/client/assets/{TeamComputerEntry-DWenh1bP.js → TeamComputerEntry-CY9eLVad.js} +1 -1
- package/dist/client/assets/{ToolsPage-CXKq_axq.js → ToolsPage-0_vx5P-F.js} +1 -1
- package/dist/client/assets/{TopologyGraph-DgTGLoaA.js → TopologyGraph-DUZLZZrB.js} +1 -1
- package/dist/client/assets/{TourHost-C4KKDX9k.js → TourHost-B69XAKpE.js} +1 -1
- package/dist/client/assets/{UnlinkDialog-GfsbP91q.js → UnlinkDialog-ptZy3IN4.js} +1 -1
- package/dist/client/assets/UnreadDivider-Ckey1IWn.js +1 -0
- package/dist/client/assets/{WidgetErrorCard-BZkAK-Ke.js → WidgetErrorCard-BlqaIsPK.js} +7 -7
- package/dist/client/assets/{WithheldExtensionsNotice-Dt51QZLT.js → WithheldExtensionsNotice-7Vu1Jctn.js} +1 -1
- package/dist/client/assets/WorkView-BekLkR4O.js +51 -0
- package/dist/client/assets/{_shell-BScdINMH.js → _shell-Du0F-5fK.js} +1 -1
- package/dist/client/assets/{_shell._home-CUusDXBM.js → _shell._home-BRIXhYLg.js} +1 -1
- package/dist/client/assets/{_shell._home.activity-DPjJ1_vZ.js → _shell._home.activity-5rihXoYF.js} +1 -1
- package/dist/client/assets/{_shell._home.index-CTBWy5Au.js → _shell._home.index-BsLNqt4f.js} +1 -1
- package/dist/client/assets/{_shell._home.tasks-DWFh5Qbq.js → _shell._home.tasks-Cxs5tLWA.js} +1 -1
- package/dist/client/assets/{_shell._home.workspaces-DWjB1sCd.js → _shell._home.workspaces-CEHDdfbP.js} +1 -1
- package/dist/client/assets/{_shell.channels-C6v3yOzH.js → _shell.channels-Bx6q9xVH.js} +1 -1
- package/dist/client/assets/{_shell.connections-jXaP35mN.js → _shell.connections-Bm0WmgXH.js} +1 -1
- package/dist/client/assets/{_shell.feedback-requests-CyV-aboj.js → _shell.feedback-requests-DFznTGbN.js} +1 -1
- package/dist/client/assets/_shell.marketplace-CsQ60Mlc.js +1 -0
- package/dist/client/assets/_shell.marketplace_.sources-DNyShS1x.js +1 -0
- package/dist/client/assets/_shell.session-BN42bV3w.js +1 -0
- package/dist/client/assets/{_shell.team-BPevCu33.js → _shell.team-DmA09abY.js} +3 -3
- package/dist/client/assets/{_shell.threads-gzYSpt7x.js → _shell.threads-HH4EvufJ.js} +1 -1
- package/dist/client/assets/_shell.x._extensionId-3ZlJV1iu.js +1 -0
- package/dist/client/assets/_shell.x._extensionId_._-3ZlJV1iu.js +1 -0
- package/dist/client/assets/{abnfDiagram-WEYOIA3C-iUnN9Com.js → abnfDiagram-WEYOIA3C-DxgtVd9I.js} +1 -1
- package/dist/client/assets/{access-copy-CP0B1ZT9.js → access-copy-Dqct36mi.js} +1 -1
- package/dist/client/assets/{arc-BVSQ4HBO.js → arc-C-67Ef0p.js} +1 -1
- package/dist/client/assets/{architectureDiagram-ZHVYKT53-_zlUU8PS.js → architectureDiagram-ZHVYKT53-B7TjdT-_.js} +1 -1
- package/dist/client/assets/{banner-DTCBttcQ.js → banner-C9qTs6-C.js} +1 -1
- package/dist/client/assets/{blockDiagram-RJAE7QA3-COqNq2ny.js → blockDiagram-RJAE7QA3-DNqxJ3Ww.js} +1 -1
- package/dist/client/assets/{c4Diagram-XDPPPE54-Caa3QxQ_.js → c4Diagram-XDPPPE54-D3jNLV0j.js} +1 -1
- package/dist/client/assets/{card-D9DO5nt4.js → card-DUmTNXJJ.js} +1 -1
- package/dist/client/assets/channel-B7zgJbnU.js +1 -0
- package/dist/client/assets/{chunk-2E7WHVMD-BqirxZIN.js → chunk-2E7WHVMD-C6OKx0ty.js} +1 -1
- package/dist/client/assets/{chunk-2Q5K7J3B-CYGt3XQf.js → chunk-2Q5K7J3B-Dr_6hHrZ.js} +1 -1
- package/dist/client/assets/{chunk-4EMNKR2T-Bx234GPP.js → chunk-4EMNKR2T-CSrZVDEt.js} +1 -1
- package/dist/client/assets/{chunk-55XCU76K-CAA7du3_.js → chunk-55XCU76K-CIazeRXO.js} +1 -1
- package/dist/client/assets/{chunk-5VM5RSS4-Dxl-FvVz.js → chunk-5VM5RSS4-C8IJ3zTR.js} +1 -1
- package/dist/client/assets/{chunk-JWPE2WC7-CjcTenhr.js → chunk-JWPE2WC7-D9DGXb79.js} +1 -1
- package/dist/client/assets/{chunk-VQ5W62QI-COdK9J2i.js → chunk-VQ5W62QI-B0LNYdif.js} +1 -1
- package/dist/client/assets/{chunk-XXDRQBXY-DeXzMeSy.js → chunk-XXDRQBXY-C7IAIbvZ.js} +1 -1
- package/dist/client/assets/{chunk-ZCHMQSOR-C7r0u2k6.js → chunk-ZCHMQSOR-C79hvjlu.js} +2 -2
- package/dist/client/assets/{classDiagram-v2-4MYWR3UA-BSI2Eza3.js → classDiagram-v2-4MYWR3UA-0Di1C2ZB.js} +1 -1
- package/dist/client/assets/{command-C7Cl56dV.js → command-BVQb6I3_.js} +1 -1
- package/dist/client/assets/{cose-bilkent-JH36ORCC-CLzQXbOG.js → cose-bilkent-JH36ORCC-rZumaV4b.js} +1 -1
- package/dist/client/assets/{cpu-CLfYM0zq.js → cpu-DeRuDMl4.js} +1 -1
- package/dist/client/assets/{cynefin-EF2NZ3EQ-e_0nKhb5.js → cynefin-EF2NZ3EQ-CI9l9xhM.js} +1 -1
- package/dist/client/assets/{cynefinDiagram-WF24UDRP-Cflfw_GE.js → cynefinDiagram-WF24UDRP-C8CdorJJ.js} +1 -1
- package/dist/client/assets/{dagre-NK4GIZVX-D66Simjb.js → dagre-NK4GIZVX-AHpsTq1O.js} +1 -1
- package/dist/client/assets/{diagram-CBK3MWTC-CJEeUCUY.js → diagram-CBK3MWTC-BpPLL30n.js} +1 -1
- package/dist/client/assets/{diagram-I5XIIV2D-BPSiDLoN.js → diagram-I5XIIV2D-D6loMn3G.js} +1 -1
- package/dist/client/assets/{diagram-ODIL2UCW-DJptgW_s.js → diagram-ODIL2UCW-BaGNd5eN.js} +1 -1
- package/dist/client/assets/{diagram-PFBEJUXE-BECklqVg.js → diagram-PFBEJUXE-BnDdKu_g.js} +1 -1
- package/dist/client/assets/{diagram-RJA3I4VV-B-veBl7Z.js → diagram-RJA3I4VV-UXagB0_c.js} +1 -1
- package/dist/client/assets/{diagram-TYUNFSNR-U8kleemE.js → diagram-TYUNFSNR-C-whBP-S.js} +1 -1
- package/dist/client/assets/{ebnfDiagram-V4P3TTPT-DlwBfJCe.js → ebnfDiagram-V4P3TTPT-BbG481iS.js} +1 -1
- package/dist/client/assets/{elk-QONTBCTQ-DnFzEb3y.js → elk-QONTBCTQ-FtssIxOc.js} +1 -1
- package/dist/client/assets/{empty-state-2mQX7azC.js → empty-state-CACt-76q.js} +1 -1
- package/dist/client/assets/{erDiagram-KYQIGQAA-CYTM37Ws.js → erDiagram-KYQIGQAA-PpFgUf4C.js} +1 -1
- package/dist/client/assets/{execution-config-COqY7hHn.js → execution-config-CGL73sRn.js} +1 -1
- package/dist/client/assets/{file-CKSjJRX5.js → file-D80JE_L0.js} +1 -1
- package/dist/client/assets/{file-exclamation-point-ad7FedZ9.js → file-exclamation-point-CcJ_e4_m.js} +1 -1
- package/dist/client/assets/{file-text-DXPPkxAL.js → file-text-Ds9edaTZ.js} +1 -1
- package/dist/client/assets/{find-latest-widget-fence-BsDq4SYp.js → find-latest-widget-fence-BtqFMP_f.js} +1 -1
- package/dist/client/assets/{flowDiagram-IUGLLWBU-DD259OPj.js → flowDiagram-IUGLLWBU-BIva66g9.js} +1 -1
- package/dist/client/assets/{form-C9cPRNOV.js → form-D93N5lrK.js} +1 -1
- package/dist/client/assets/{format-cron-DIw9_M6c.js → format-cron-BpGrgPLu.js} +1 -1
- package/dist/client/assets/{ganttDiagram-R7GPNTJY-BmoAVY6N.js → ganttDiagram-R7GPNTJY-CZqips_4.js} +1 -1
- package/dist/client/assets/{git-branch-DlUQMA-U.js → git-branch-B8JNwQ6q.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-PDYL7XHY-Db8GGxGr.js → gitGraphDiagram-PDYL7XHY-DoIc3lda.js} +1 -1
- package/dist/client/assets/{graph-BqwkokGk.js → graph-yizM0vwL.js} +1 -1
- package/dist/client/assets/{heart-CRoafWCm.js → heart-BavUIV45.js} +1 -1
- package/dist/client/assets/{highlighted-body-KPVGNVTW-D-QIuqsv.js → highlighted-body-KPVGNVTW-CGr3AgaU.js} +1 -1
- package/dist/client/assets/{image-lightbox-BZBT_ptW.js → image-lightbox-vgPEvSCc.js} +1 -1
- package/dist/client/assets/{image-off-Bc6AP3w0.js → image-off-C1uTDs9-.js} +1 -1
- package/dist/client/assets/{index-sCJ7YWzB.js → index-1QfQImuJ.js} +3 -3
- package/dist/client/assets/{index-CTFwtIJP.js → index-56EOd-zy.js} +1 -1
- package/dist/client/assets/{index-AxYQRAoO.js → index-7XeZCCDI.js} +1 -1
- package/dist/client/assets/{index-bSzhhjtG.js → index-B36osK_S.js} +1 -1
- package/dist/client/assets/{index-BHNwprrd.js → index-B446r3dL.js} +1 -1
- package/dist/client/assets/{index-Cpy9wOYc.js → index-BGo1YiUE.js} +1 -1
- package/dist/client/assets/{index-DV5hFlfw.js → index-BJEt9R_G.js} +1 -1
- package/dist/client/assets/{index-y1yAU07O.js → index-BKWJiERs.js} +1 -1
- package/dist/client/assets/{index-DfWZORsm.js → index-BO3yPJt-.js} +1 -1
- package/dist/client/assets/{index-Cs9yQ5zH.js → index-BOEPL6hN.js} +1 -1
- package/dist/client/assets/{index-CFV7Ggyj.js → index-BOhSPP-6.js} +1 -1
- package/dist/client/assets/{index-okP_lDUw.js → index-BkJlIXqM.js} +1 -1
- package/dist/client/assets/{index-zSj20f3H.js → index-Br6xDNvu.js} +1 -1
- package/dist/client/assets/{index-CNsZn6QE.js → index-C4t0UTU-.js} +1 -1
- package/dist/client/assets/{index-BeCzlnZ3.js → index-C8ZpJXTQ.js} +1 -1
- package/dist/client/assets/{index-Cx2slDvh.js → index-CJXMgnYp.js} +1 -1
- package/dist/client/assets/{index-CoFRHepD.js → index-CXBYgGja.js} +1 -1
- package/dist/client/assets/{index-a8LKmWxN.js → index-Cdod8zEY.js} +1 -1
- package/dist/client/assets/{index-CWfreKgt.js → index-CeDn1Ak1.js} +1 -1
- package/dist/client/assets/{index-Bw1l5I4w.js → index-CiGYtR9O.js} +1 -1
- package/dist/client/assets/{index-Hf3kLtiJ.js → index-CoKNU2F9.js} +1 -1
- package/dist/client/assets/{index-mrbr3BaJ.js → index-CoNMlH37.js} +1 -1
- package/dist/client/assets/{index-jIAsl-Y5.js → index-CrTmY12y.js} +2 -2
- package/dist/client/assets/{index-CMWttCLt.js → index-DE6uOpn4.js} +1 -1
- package/dist/client/assets/{index-CptdhVbC.js → index-DEiSJbvu.js} +1 -1
- package/dist/client/assets/{index-Dtb34mrg.js → index-DW4KUPHp.js} +1 -1
- package/dist/client/assets/{index-x0XGESNQ.js → index-DYEmUa5t.js} +1 -1
- package/dist/client/assets/index-Dag1qeZI.js +1 -0
- package/dist/client/assets/{index-CWx_JEio.js → index-Dcd4NqFB.js} +1 -1
- package/dist/client/assets/{index-Clr1ssap.js → index-Dm0Tav7v.js} +1 -1
- package/dist/client/assets/{index-CZ4wx2F3.js → index-DqkFtcGQ.js} +1 -1
- package/dist/client/assets/{index-eF6QtmU6.js → index-FI_y_dND.js} +1 -1
- package/dist/client/assets/{index-DMlo5rLX.js → index-FhWMRBQP.js} +1 -1
- package/dist/client/assets/{index-DDGc0Nfu.js → index-LwL5BpE4.js} +1 -1
- package/dist/client/assets/{index-B48IJBNm.js → index-OQuvRZTD.js} +250 -250
- package/dist/client/assets/{index-zIfhHvVv.js → index-QSXJR98z.js} +1 -1
- package/dist/client/assets/{index-78G8l1M7.js → index-SOKlO1zZ.js} +1 -1
- package/dist/client/assets/{index-Be3_cvW0.js → index-X282DRZf.js} +1 -1
- package/dist/client/assets/{index-BwOvHDL2.js → index-YSHcMqHa.js} +1 -1
- package/dist/client/assets/{index-DwyVu2Mh.js → index-ZR5f82z2.js} +1 -1
- package/dist/client/assets/index-eVrGefuq.js +1 -0
- package/dist/client/assets/{index-ByyXrDny.js → index-n_pnc-CO.js} +1 -1
- package/dist/client/assets/{index-B_i3pTpf.js → index-tgbcsB6H.js} +1 -1
- package/dist/client/assets/{index.esm-uC5dql6Q.js → index.esm-CAeUe7uQ.js} +1 -1
- package/dist/client/assets/{infoDiagram-MVDRKAX5-y6U3OQ5m.js → infoDiagram-MVDRKAX5-DweUdYSy.js} +1 -1
- package/dist/client/assets/{inline-code-BCFlKPIb.js → inline-code-SYHTKcle.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-HPEHV2GE-D32SA0vX.js → ishikawaDiagram-HPEHV2GE-DKNQIv7P.js} +1 -1
- package/dist/client/assets/{journeyDiagram-BOSHW7O7-D1X0dI8X.js → journeyDiagram-BOSHW7O7-DPD7F4VO.js} +1 -1
- package/dist/client/assets/{kanban-definition-FNSA4HC5-gU9KcKa4.js → kanban-definition-FNSA4HC5-B_uPSwxC.js} +1 -1
- package/dist/client/assets/{layers-A4MxcGWV.js → layers-F4mvrI2l.js} +1 -1
- package/dist/client/assets/{lightbulb-Dh2dYHMS.js → lightbulb-a6nNsrzy.js} +1 -1
- package/dist/client/assets/{link-2-qEUih2FP.js → link-2-yI2Tlm7Q.js} +1 -1
- package/dist/client/assets/{list-runtime-types-B1J9AtqH.js → list-runtime-types-CsGil5te.js} +1 -1
- package/dist/client/assets/{markdown-content-BA0KEJH_.js → markdown-content-Cjhsscbn.js} +1 -1
- package/dist/client/assets/{mention-pill-0aHe3D1A.js → mention-pill-BsOeTJ2f.js} +1 -1
- package/dist/client/assets/{mermaid.core-Birdr1kF.js → mermaid.core-9PwG-9fN.js} +4 -4
- package/dist/client/assets/{message-square-off-DvVenheW.js → message-square-off-aV4NMCjd.js} +1 -1
- package/dist/client/assets/{mindmap-definition-6OY57UG3-CLlh3nSF.js → mindmap-definition-6OY57UG3-BRbWmQkj.js} +1 -1
- package/dist/client/assets/{more-details-Bo2AAXHj.js → more-details-CRLU2HN4.js} +1 -1
- package/dist/client/assets/{owner-notice-DReCUEf1.js → owner-notice-CTJbhUak.js} +1 -1
- package/dist/client/assets/{package-CxZe6vve.js → package-sPggO7Dr.js} +1 -1
- package/dist/client/assets/{page-container-Bx1sr900.js → page-container-CnfDuiDC.js} +1 -1
- package/dist/client/assets/{pane-resize-handle-ojhYGmDs.js → pane-resize-handle-63OC5vfI.js} +1 -1
- package/dist/client/assets/{paperclip-D3-8ygf1.js → paperclip-WhPo3_WD.js} +1 -1
- package/dist/client/assets/{path-input-D_o1_pAa.js → path-input-C2KIXdON.js} +1 -1
- package/dist/client/assets/{pegDiagram-ECIUJNBX-BeMd_oXJ.js → pegDiagram-ECIUJNBX-Ct9Li_PA.js} +1 -1
- package/dist/client/assets/{pieDiagram-GNMPY74T-CXUXnp_A.js → pieDiagram-GNMPY74T-BAB5RA5v.js} +1 -1
- package/dist/client/assets/{plug-Du5LK0oZ.js → plug-_q5iqunq.js} +1 -1
- package/dist/client/assets/{primer-trigger-BxofQe1n.js → primer-trigger-B2tjuHBx.js} +1 -1
- package/dist/client/assets/{profile-errors-C0BgTjzk.js → profile-errors-COcBx7w5.js} +1 -1
- package/dist/client/assets/{progress-AKcr8opu.js → progress-77FCPL2y.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-D57K4MC3-FTkKRlZm.js → quadrantDiagram-D57K4MC3-BqPJVmMS.js} +1 -1
- package/dist/client/assets/{query-error-state-CRmZMMkL.js → query-error-state-5236P3z0.js} +1 -1
- package/dist/client/assets/{radio-DQHR6Su5.js → radio-C8xmfoqO.js} +1 -1
- package/dist/client/assets/{railroadDiagram-Y72NRBL7-D5TdGrPg.js → railroadDiagram-Y72NRBL7-B8U11nT6.js} +1 -1
- package/dist/client/assets/{registry-BxY1lah6.js → registry-BzXBOE9h.js} +13 -13
- package/dist/client/assets/registry-sfhDu9q2.js +1 -0
- package/dist/client/assets/{relay-trace-schemas---fuhTF2.js → relay-trace-schemas-B80E4EUn.js} +1 -1
- package/dist/client/assets/{repeat-zL9y24zY.js → repeat-CHmB_vD7.js} +1 -1
- package/dist/client/assets/{requirementDiagram-EQYSW5RA-Dxiv9lE0.js → requirementDiagram-EQYSW5RA-CzJ1gzTh.js} +1 -1
- package/dist/client/assets/{room-files-source-B0WR4gIC.js → room-files-source-B0gc97Ri.js} +1 -1
- package/dist/client/assets/{rotate-ccw-clock-BUhy2_cF.js → rotate-ccw-clock-CCU6SVnv.js} +1 -1
- package/dist/client/assets/{rotate-cw-CCrNd4eJ.js → rotate-cw-B8WQa8O-.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-SY24JHO5-C3jjstXq.js → sankeyDiagram-SY24JHO5-D4vQwyve.js} +1 -1
- package/dist/client/assets/{scroll-area-D6gNpFjK.js → scroll-area-FwZwM74Q.js} +1 -1
- package/dist/client/assets/{search-x-CUZ1LRYe.js → search-x-Q18Wm-C5.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-BLEHNHQU-CIDmjz0x.js → sequenceDiagram-BLEHNHQU-BVnIsPQe.js} +1 -1
- package/dist/client/assets/{shield-x-Ch7sY2XD.js → shield-x-ijIbRppV.js} +1 -1
- package/dist/client/assets/{signed-in-BQ44fFH5.js → signed-in-DEOMBWVX.js} +1 -1
- package/dist/client/assets/{sizeCapture-INFHLROL-Dkp-75Wy.js → sizeCapture-INFHLROL-DGb1rAJL.js} +1 -1
- package/dist/client/assets/{soul-file-CTFcpRMh.js → soul-file-CXgYs25S.js} +1 -1
- package/dist/client/assets/{stateDiagram-v2-A6IESKWZ-L_51UnwV.js → stateDiagram-v2-A6IESKWZ-DeX3IKTm.js} +1 -1
- package/dist/client/assets/{swimlanes-B3ENRKFQ-D-etAQQd.js → swimlanes-B3ENRKFQ-DN5ljYhG.js} +1 -1
- package/dist/client/assets/swimlanesDiagram-AYQRV4AK-D8kHFWtL.js +8 -0
- package/dist/client/assets/{table-D6BUawIb.js → table-D9ww_3Ij.js} +1 -1
- package/dist/client/assets/{timeline-definition-JXYKGLGB-DNxnC3VG.js → timeline-definition-JXYKGLGB-DpRthC3r.js} +1 -1
- package/dist/client/assets/{trust-posture-5IWBJmA5.js → trust-posture-Dn2ciEE0.js} +1 -1
- package/dist/client/assets/{unplug-BVIT6OSL.js → unplug-BZ8zSvfB.js} +1 -1
- package/dist/client/assets/{unverified-catalog-notice-BA7_V-80.js → unverified-catalog-notice-CGy05tAO.js} +1 -1
- package/dist/client/assets/{use-bindings-DdWRXvtd.js → use-bindings-BLAWQRpe.js} +1 -1
- package/dist/client/assets/{use-composer-prefs-DC5w4eWw.js → use-composer-prefs-ICOpilWK.js} +1 -1
- package/dist/client/assets/{use-connector-management-DDlpD6tk.js → use-connector-management-DEMGZy9N.js} +1 -1
- package/dist/client/assets/{use-deep-link-scroll-Cvv0VcXx.js → use-deep-link-scroll-DxGYrks3.js} +1 -1
- package/dist/client/assets/{use-delete-binding-D585ISkL.js → use-delete-binding-Bnv3J5Fu.js} +1 -1
- package/dist/client/assets/{use-dev-links-BwS5hgur.js → use-dev-links-BOcktLiE.js} +1 -1
- package/dist/client/assets/{use-direct-message-panel--unflmj8.js → use-direct-message-panel-D38tSozW.js} +1 -1
- package/dist/client/assets/{use-external-adapter-catalog-DUyh1bH1.js → use-external-adapter-catalog-9qiNBqpc.js} +1 -1
- package/dist/client/assets/{use-full-activity-feed-DsNOIkL8.js → use-full-activity-feed-CtQquOBW.js} +1 -1
- package/dist/client/assets/use-is-below-desktop-CAGEAsCC.js +1 -0
- package/dist/client/assets/{use-local-browser-DGIut7R4.js → use-local-browser-B1huJhdg.js} +1 -1
- package/dist/client/assets/{use-mesh-topology-DNXD7seM.js → use-mesh-topology-BTYAy6zc.js} +1 -1
- package/dist/client/assets/{use-mounted-ref-7xoMthh4.js → use-mounted-ref-CaPc6Prv.js} +1 -1
- package/dist/client/assets/{use-notification-prefs-CzibxpTZ.js → use-notification-prefs-u76DPoP0.js} +1 -1
- package/dist/client/assets/use-pending-read-D0y6i7G9.js +1 -0
- package/dist/client/assets/{use-personality-commit-isaMS7W5.js → use-personality-commit-C3h8upDo.js} +1 -1
- package/dist/client/assets/{use-promo-activation-DesLEeyi.js → use-promo-activation-5HG08FlB.js} +1 -1
- package/dist/client/assets/{use-promo-dismissals-DQi8tey8.js → use-promo-dismissals-CO7-qhEl.js} +1 -1
- package/dist/client/assets/{use-pulse-freshness-DPplpvcq.js → use-pulse-freshness-D07Mv-Sa.js} +1 -1
- package/dist/client/assets/{use-room-follow-claim-C4UikQzz.js → use-room-follow-claim-DRQBuAIe.js} +1 -1
- package/dist/client/assets/{use-room-sessions-C6wsszcG.js → use-room-sessions-Bzk7rM40.js} +1 -1
- package/dist/client/assets/{use-roving-tab-list-DEh387tR.js → use-roving-tab-list-CcznVldj.js} +1 -1
- package/dist/client/assets/use-session-canvas-CpgE7tFb.js +27 -0
- package/dist/client/assets/{use-status-budget-CltxSIUD.js → use-status-budget-Xn2sIeM1.js} +2 -2
- package/dist/client/assets/{use-transform-CNLqlc2h.js → use-transform-ByJGn3hq.js} +1 -1
- package/dist/client/assets/{use-unclaimed-chats-DJyl7A1E.js → use-unclaimed-chats-C-z5fstJ.js} +1 -1
- package/dist/client/assets/use-update-config-L5NCTj3t.js +1 -0
- package/dist/client/assets/{useMutationState-BX-ggHVY.js → useMutationState-BF1EFtIZ.js} +1 -1
- package/dist/client/assets/{usecaseDiagram-WPOLBNNX-2l6yZUUH.js → usecaseDiagram-WPOLBNNX-efVKbRIX.js} +1 -1
- package/dist/client/assets/{vennDiagram-Q3Y3IDCW-DIOfjNDq.js → vennDiagram-Q3Y3IDCW-Bravmwce.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-IVAIDKWA-B5Hx1we8.js → wardleyDiagram-IVAIDKWA-fR77zByv.js} +1 -1
- package/dist/client/assets/{xychartDiagram-4URNHDU4-sy90CqIK.js → xychartDiagram-4URNHDU4-BphORSLh.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/drizzle/20261030041403_dor3376_project_only_schedules.sql +1 -0
- package/dist/drizzle/meta/20261030041403_snapshot.json +14101 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/server/index.js +26499 -23006
- package/dist/server/index.js.map +2 -2
- package/package.json +6 -5
- package/dist/client/assets/ChannelComposer-BHxXoQwT.js +0 -44
- package/dist/client/assets/HandlePage-BciCIffv.js +0 -1
- package/dist/client/assets/NamePage-tBV32PJI.js +0 -1
- package/dist/client/assets/PhotoPage-DtX2GEvQ.js +0 -1
- package/dist/client/assets/UnreadDivider-C52_nmrB.js +0 -1
- package/dist/client/assets/WorkView-YozVoXhb.js +0 -51
- package/dist/client/assets/_shell.marketplace-Cp2Udmlv.js +0 -1
- package/dist/client/assets/_shell.marketplace_.sources-Dg0YgG-u.js +0 -1
- package/dist/client/assets/_shell.session-DyKnijqi.js +0 -1
- package/dist/client/assets/_shell.x._extensionId-BA0u_ZTU.js +0 -1
- package/dist/client/assets/_shell.x._extensionId_._-BA0u_ZTU.js +0 -1
- package/dist/client/assets/channel-CenDG0-I.js +0 -1
- package/dist/client/assets/index-DSt16Y0s.js +0 -1
- package/dist/client/assets/index-sZ8Dddnp.js +0 -1
- package/dist/client/assets/registry-CWK5lzYs.js +0 -1
- package/dist/client/assets/swimlanesDiagram-AYQRV4AK-zjIBWGY4.js +0 -8
- package/dist/client/assets/use-is-below-desktop-C-4kc5lS.js +0 -1
- package/dist/client/assets/use-pending-read-BTR5-HXf.js +0 -1
- package/dist/client/assets/use-session-canvas-B2CM1KZu.js +0 -27
- package/dist/client/assets/use-update-config-B2rsDnxk.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Bu=Object.defineProperty;var zu=(e,t,s)=>t in e?Bu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var bn=(e,t,s)=>zu(e,typeof t!="symbol"?t+"":t,s);import{s0 as Uu,r as u,f9 as Ho,s1 as Ku,f7 as Yr,j as n,s2 as Hu,s3 as Gi,fa as Wu,k8 as Vr,a1 as ae,a2 as Ie,aG as Be,f5 as _e,fW as Rn,s4 as Gs,k5 as as,s5 as Gu,s6 as qu,a3 as le,an as pe,jS as Wo,s7 as Yu,O as Ge,es as js,ap as se,B as L,X as Ue,G as K,jv as qi,s8 as Vu,x as De,a0 as Yi,bv as Vi,bc as ks,dG as ze,aX as Qu,s9 as Go,sa as Xu,bQ as Ju,aF as Qi,cs as Pe,aL as Le,s as $t,kq as Zu,kr as Xi,dD as ce,lw as Ln,lx as jt,ly as Ji,aW as P,rD as em,eS as kt,dV as is,iY as an,sb as tm,a4 as Wt,eF as Zi,fx as Qr,da as Xr,as as Gt,sc as qo,jR as nm,jW as ec,jQ as sm,pS as Jr,ju as Fn,J as cn,it as Zr,er as nn,l as je,aH as tc,eP as nc,e9 as sc,ea as rc,eQ as rm,sd as om,ee as it,bx as ln,by as dn,U as qt,bz as un,bB as mn,C as hn,en as We,eo as am,mP as oc,l7 as ac,aN as Ke,se as im,gM as ic,bR as Yo,sf as cm,g as cs,k4 as vr,z as eo,e3 as lt,hI as rt,gd as to,fC as Ss,kj as no,f as At,b7 as cc,eE as Cs,sg as lc,el as lm,ak as so,_ as Tn,dj as fn,dk as pn,dl as gn,ai as $e,ao as Ns,nR as dc,sh as dm,si as um,cZ as mm,dU as ls,bw as Xe,kx as As,kw as en,d0 as xt,d1 as bt,d3 as ht,d4 as tt,d5 as ft,eC as St,dN as tn,dL as hm,cm as $n,ey as uc,sj as fm,ck as mc,gv as hc,h6 as Vo,sk as pm,ig as ds,kf as gm,kh as xm,h4 as fc,sl as bm,g0 as Es,g1 as Is,g3 as Rs,sm as pc,g4 as Qe,sn as Bn,g6 as es,h as ro,so as oo,sp as ym,g2 as vm,qQ as wm,sq as gc,jH as jm,sr as km,ss as Sm,st as Cm,hn as xc,su as Nm,sv as Am,iX as Em,sw as Im,sx as Rm,av as Tm,gm as bc,ab as Fe,hl as Ts,sy as Dm,sz as Om,gn as Mm,rW as Qo,i1 as _m,mN as Pm,i3 as Lm,i4 as Fm,i5 as $m,jk as yc,sA as Bm,sB as me,sC as zm,sD as vc,sE as ao,sF as wr,sG as wc,sH as io,sI as co,b6 as zn,sJ as Ds,sK as Um,sL as Km,sM as Hm,sN as Wm,sO as Gm,sP as qm,sQ as Ym,sR as Tt,k6 as Vm,jA as Qm,oq as Xm,sS as Xo,bb as Jm,hU as jc,sT as Bt,sU as sn,sV as Zm,sW as eh,sX as th,sY as nh,fB as kc,c4 as Dt,sZ as Sc,s_ as us,s$ as Cc,t0 as sh,t1 as rh,t2 as Nc,t3 as Ac,t4 as oh,t5 as ah,i9 as Ec,ia as Ic,t6 as zt,t7 as ih,t8 as ch,eu as lh,t9 as Dn,ta as dh,aZ as Rc,tb as uh,tc as mh,td as hh,te as fh,tf as ph,tg as Tc,th as Ot,fA as Ct,fI as ct,fG as Un,fH as he,fL as Kn,fK as _t,fO as xe,I as gt,pd as Dc,pn as Oc,nk as Ut,nj as rn,co as Os,k$ as gh,ni as Mc,eT as _c,rN as Pc,oy as xh,nh as bh,ti as yh,tj as Jo,tk as vh,tl as on,tm as Lc,bY as Ms,ih as Fc,tn as wh,q9 as jh,to as kh,tp as $c,tq as Sh,tr as Ch,gw as Nh,aY as lo,nl as uo,ts as Ah,gp as _s,tt as Sn,tu as mo,q as ms,lB as Bc,tv as Eh,o as zc,tw as Ih,ks as Zo,mg as Rh,oQ as Th,tx as Dh,ca as Oh,ty as Mh,ah as ho,ag as fo,ns as Uc,nr as Kc,tz as _h,dE as Ps,kM as Hc,tA as Ph,tB as Lh,tC as Fh,tD as $h,tE as Bh,tF as zh,tG as Uh,hh as po,pR as Kh,tH as Wc,nU as Hh,l5 as jr,e5 as Wh,tI as Ls,nn as Fs,tJ as $s,tK as Gh,nm as qh,im as go,no as Gc,tL as Yh,qK as Vh,tM as Qh,tN as Xh,tO as ea,tP as Jh,tQ as Zh,tR as ef,tS as tf,tT as ta,tU as nf,tV as sf,tW as rf,tX as of,tY as na,e as Pt,tZ as af,t_ as cf,l3 as Bs,lN as qc,t$ as lf,gr as Yc,lI as df,lU as uf,u0 as mf,b4 as hf,jI as ff,u1 as pf,u2 as hs,m1 as Vc,u3 as Qc,u4 as gf,u5 as xf,u6 as Xc,u7 as sa,u8 as ra,u9 as Jc,b3 as bf,ua as yf,ub as Zc,uc as qn,ud as vf,ue as wf,uf as jf,ug as el,go as zs,uh as kr,ui as kf,cB as yn,H as tl,aT as Sf,uj as nl,eR as oa,kl as xo,bh as Cf,t as Nf,iy as Sr,i0 as Af,aO as bo,id as sl,uk as Ef,m7 as If,m8 as Rf,ph as Tf,l2 as Df,ul as Of,l4 as aa,lV as rl,bH as Mf,bI as _f,bJ as Pf,bK as Lf,bL as Ff,bM as $f,bN as Bf,um as zf,un as Cr,uo as Uf,up as qs,uq as Kf,ur as Hf,us as On,ut as Wf,uu as ia,mZ as Gf,lO as qf,uv as Yf,k9 as Vf,ka as Qf,b8 as fs,kb as Xf,kc as ca,mp as la,mn as Jf,mo as da,uw as Zf,m0 as ep,ux as tp,uy as np,fe as sp,uz as rp,uA as op,uB as ap,b$ as ip,uC as cp,uD as ol,uE as al,Q as yo,T as vo,V as wo,uF as lp,uG as dp,bV as up,f_ as mp,uH as Ys,ha as hp,uI as fp,uJ as pp,uK as gp,uL as xp,uM as bp,uN as yp,uO as vp,uP as wp,uQ as jp,uR as ua,jG as kp,bU as Sp,uS as il,uT as Cp,fD as Np,uU as ma,h$ as Ap,uV as Ep,uW as Ip,pi as Rp,uX as Tp,uY as Dp,cj as Op,uZ as Mp,u_ as ha,u$ as _p,v0 as Pp,pc as Lp,pv as Fp,j_ as $p,ec as Bp,v1 as zp,a7 as cl,v2 as Up,jU as Kp,jV as Hp,kN as Wp,fk as ll,fl as dl,fm as ul,fn as ml,dH as Gp,eq as qp,fi as Yp,fj as Vp,j8 as Qp,jf as Xp,kR as Jp,j9 as Zp,v3 as eg,ew as tg,kS as ng,v4 as hl,v5 as sg,v6 as rg,kQ as og,kP as ag,ja as ig,ez as cg,k3 as lg,i$ as dg,v7 as ug,v8 as fl,v9 as Us,bg as pl,$ as gl,va as xl,pU as mg,be as hg,bf as fg,eW as fa,bd as pg,gO as Vs,gW as Qs,ep as gg,vb as jo,n as xg,aQ as pa,pg as bg,bA as bl,vc as yl,vd as vl,q3 as yg,ve as vg,vf as wg,vg as Zt,dr as jg,vh as ga,nz as kg,nB as wl,dM as Sg,jP as Cg,oP as Ng,vi as Nr,f$ as Ag,ix as Eg,nM as ut,nO as Ig,rC as Rg,ok as xa,cU as Tg,vj as Dg,vk as Og,vl as Mg,vm as _g,vn as Pg,vo as Lg,vp as Fg,vq as $g,vr as Bg,r$ as zg,kG as Ug,h8 as Kg,vs as Hg,vt as Wg,vu as Gg,vv as qg,vw as Yg,vx as Vg,cv as Qg,vy as Xg,vz as Jg,jj as Zg,d9 as ex}from"./index-B48IJBNm.js";import{u as tx,g as nx}from"./use-connector-management-DDlpD6tk.js";import{D as Nt,a as sx}from"./TourHost-C4KKDX9k.js";import{r as rx,f as ox,b as ax,K as ix}from"./RuntimeConnectFlow-hhvWVRMu.js";import{O as cx,B as jl}from"./banner-DTCBttcQ.js";import{u as Ks,P as kl,a as lx}from"./ProfileRolePicker-D7F0PDw9.js";import{u as dx}from"./use-dev-links-BwS5hgur.js";import{B as ux,u as mx}from"./use-bindings-DdWRXvtd.js";import{C as ko,o as Sl,O as Cl,p as at,H as hx,q as wt,I as nt,t as ps,s as Hn,v as Nl,x as fx,y as Al,z as px,u as El,r as gx,w as xx,b as bx,j as yx,D as Ar,A as vx,T as wx,a as jx,P as kx,B as Sx,e as Il,E as Rl,F as Tl,G as Cx,J as Nx,h as Ax,S as ba,n as Ex,L as Ix}from"./SeenDevices-65oxnxk6.js";import{d as Rx}from"./untrusted-text-BDygHCRk.js";import{S as Nn}from"./scroll-area-D6gNpFjK.js";import{T as Dl,a as Ol,b as ts,c as Xs,u as Tx,i as Dx,d as Ox,P as Ml}from"./PreviewRefusedNotice-BfvSYL-w.js";import{P as Mx}from"./paperclip-D3-8ygf1.js";import{L as _x}from"./lightbulb-Dh2dYHMS.js";import{u as Wn}from"./use-update-config-B2rsDnxk.js";import{a as Px,u as Lx,S as Fx,s as $x,b as Bx,P as zx}from"./ApplyToOverridesDialog-Akw0_458.js";import{r as _l,s as ya,e as Ux}from"./access-copy-CP0B1ZT9.js";import{t as Kx,I as va}from"./trust-posture-5IWBJmA5.js";import{a as Hx}from"./use-pulse-freshness-DPplpvcq.js";import{c as Wx,B as Gx,w as qx,b as Yx,a as Vx,e as Qx}from"./primer-trigger-BxofQe1n.js";import{M as Xx,u as Jx,s as Zx,P as eb,a as tb}from"./use-promo-activation-DesLEeyi.js";import{u as Pl}from"./use-promo-dismissals-DQi8tey8.js";import{u as Ll}from"./use-pending-read-BTR5-HXf.js";import{a as pt}from"./dorkbot-templates-8Yu9POWJ.js";import{i as nb,O as Fl,c as sb,b as rb}from"./OperatorIdentityForm-CCAvadEZ.js";import{A as $l}from"./repeat-zL9y24zY.js";import{S as Bl,P as ob}from"./progress-AKcr8opu.js";import{P as ab,M as ib}from"./plug-Du5LK0oZ.js";import{i as So,a as cb,u as lb}from"./use-notification-prefs-CzibxpTZ.js";import{R as db}from"./rotate-cw-CCrNd4eJ.js";import{b as ub,u as mb,O as hb,c as fb}from"./OpenMeshSwitch-aAMKDAyc.js";import{u as pb,a as gb,C as xb,N as bb}from"./NewDirectMessageMenu-DTQ7vFsa.js";import{P as yb,C as vb,f as wb,a as jb}from"./find-latest-widget-fence-BsDq4SYp.js";import{o as kb}from"./owner-notice-DReCUEf1.js";import{a as zl,C as Sb}from"./cpu-CLfYM0zq.js";import{U as Cb}from"./unplug-BVIT6OSL.js";import{c as Nb,H as Ul,a as Kl,b as Hl}from"./RuntimeSetupDialog-NKy3mLEH.js";import{a as Ab,u as Eb,F as Ib}from"./ForwardConsentHost-D8rVtTRp.js";import{P as wa}from"./page-container-Bx1sr900.js";import{A as Rb}from"./AttentionSignalRow-Cx9-sStN.js";import{u as Tb}from"./use-roving-tab-list-DEh387tR.js";import{R as Wl}from"./rotate-ccw-clock-BUhy2_cF.js";import{d as et,e as Ce,f as ja,g as Gl,C as ql,a as Yl,b as Vl,c as Db}from"./command-C7Cl56dV.js";import{A as Ob,M as Mb}from"./McpAppFrame-BtKAUDBg.js";import{L as _b}from"./layers-A4MxcGWV.js";import{A as Pb}from"./AgentOptionRow-Dj2MlE6E.js";import{R as Lb}from"./radio-DQHR6Su5.js";import{a as Fb}from"./sound-D3r8dGFH.js";import{d as $b}from"./connection-copy--MA7AN04.js";import{P as Bb}from"./path-input-D_o1_pAa.js";import"./WidgetErrorCard-BZkAK-Ke.js";import{a as zb}from"./ComputerResourceView-vJ8UfRNm.js";import{P as Ub,u as Kb}from"./pane-resize-handle-ojhYGmDs.js";import{u as Ql}from"./use-is-below-desktop-C-4kc5lS.js";import{W as Hb}from"./WithheldExtensionsNotice-Dt51QZLT.js";import{u as Wb}from"./use-direct-message-panel--unflmj8.js";import{u as Gb}from"./ComputerViewer-BTqPuZyh.js";import{a as qb}from"./use-local-browser-DGIut7R4.js";import{F as Yb}from"./file-text-DXPPkxAL.js";import"./use-external-adapter-catalog-DUyh1bH1.js";import"./inline-code-BCFlKPIb.js";import"./useMutationState-BX-ggHVY.js";import"./runtime-connect-Dn0T5YWv.js";import"./execution-config-COqY7hHn.js";import"./settings-for-runtime-BoOa-ZFG.js";import"./shield-x-Ch7sY2XD.js";import"./use-full-activity-feed-DsNOIkL8.js";import"./profile-errors-C0BgTjzk.js";import"./use-mounted-ref-7xoMthh4.js";import"./ProfileFields-CX2mdPAV.js";import"./use-mesh-topology-DNXD7seM.js";import"./card-D9DO5nt4.js";import"./list-runtime-types-B1J9AtqH.js";import"./more-details-Bo2AAXHj.js";import"./index-Hf3kLtiJ.js";import"./markdown-content-BA0KEJH_.js";import"./table-D6BUawIb.js";import"./package-CxZe6vve.js";import"./heart-CRoafWCm.js";import"./git-branch-DlUQMA-U.js";import"./file-CKSjJRX5.js";function Vb({children:e,isValidProp:t,...s}){t&&Uu(t);const r=u.useContext(Ho);s={...r,...s},s.transition=Ku(s.transition,r.transition),s.isStatic=Yr(()=>s.isStatic);const o=u.useMemo(()=>s,[JSON.stringify(s.transition),s.transformPagePoint,s.reducedMotion,s.skipAnimations]);return n.jsx(Ho.Provider,{value:o,children:e})}function Qb(e){e.values.forEach(t=>t.stop())}function Er(e,t){[...t].reverse().forEach(r=>{const o=e.getVariant(r);o&&Gi(e,o),e.variantChildren&&e.variantChildren.forEach(a=>{Er(a,t)})})}function Xb(e,t){if(Array.isArray(t))return Er(e,t);if(typeof t=="string")return Er(e,[t]);Gi(e,t)}function Jb(){const e=new Set,t={subscribe(s){return e.add(s),()=>void e.delete(s)},start(s,r){const o=[];return e.forEach(a=>{o.push(Hu(a,s,{transitionOverride:r}))}),Promise.all(o)},set(s){return e.forEach(r=>{Xb(r,s)})},stop(){e.forEach(s=>{Qb(s)})},mount(){return()=>{t.stop()}}};return t}function Zb(){const e=Yr(Jb);return Wu(e.mount,[]),e}class ey{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,s){this.componentControls.forEach(r=>{r.start(t.nativeEvent||t,s)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const ty=()=>new ey;function ny(){return Yr(ty)}const sy=`${Vr.repo}/issues/new`,ry={"tunnel.enabled":"boolean","tasks.enabled":"boolean","relay.enabled":"boolean","scheduler.enabled":"boolean","mesh.enabled":"boolean","mcp.enabled":"boolean","telemetry.install":"boolean","telemetry.heartbeat":"boolean","telemetry.errorReporting":"boolean","auth.enabled":"boolean","workspace.enabled":"boolean","harness.autoSync":"boolean","harness.autoAdopt":"boolean","runtimes.codex.enabled":"boolean","runtimes.opencode.enabled":"boolean","runtimes.default":"enum","logging.level":"enum","ui.theme":"enum"},oy={"runtimes.default":["claude-code","codex","opencode","doe"],"logging.level":["fatal","error","warn","info","debug","trace"],"ui.theme":["light","dark","system"]},ay=/^[a-z0-9][a-z0-9._-]{0,31}$/,iy={bug:["bug"],feature:["enhancement"],runtime:["bug"]},cy={bug:"Bug: (describe what went wrong)",feature:"Feature: (describe what you want)",runtime:"Runtime issue: (describe what went wrong)"};function ly(e){return e.replace(/\b(?:sk-|pk-|rk-|ghp_|gho_|ghu_|ghs_|github_pat_|glpat-|npm_|xox[baprsc]-)[A-Za-z0-9._-]+/g,"[redacted]").replace(/\b(?:AKIA|ASIA|AGPA|AIDA|AROA|ANPA)[0-9A-Z]{16}\b/g,"[redacted]").replace(/\bBearer\s+[A-Za-z0-9._-]+/gi,"[redacted]")}function Co(e){return ly(e).replace(/[^\s/@]+@[^\s/@]+\.[^\s/@]+/g,"[email]").replace(/\b\d{1,3}(?:\.\d{1,3}){3}\b/g,"[ip]").replace(/\b(?:[A-Fa-f0-9]{1,4}:){2,7}[A-Fa-f0-9]{1,4}\b/g,"[ip]").replace(new RegExp("(?<![\\w:.])(?:[A-Fa-f0-9]{1,4})?(?::[A-Fa-f0-9]{0,4}){2,}(?![\\w:.])","g"),"[ip]").replace(/\\\\[^\s\\]+(?:\\[^\s\\]+)+/g,"[path]").replace(/(^|[\s"'`(<[{])\/\/[^\s"'`)>\]}/]+\/[^\s"'`)>\]}]+/g,"$1[path]").replace(/\b[A-Za-z]:\\[^\r\n]*/g,"[path]").replace(/(^|[\s"'`(<[{/:])(~|\/(?:Users|home))\/[^\s"'`)>\]}]+/g,"$1[home]").replace(/(^|[\s"'`(<[{])\/[\w.-]+(?:\/[\w.-]*)+/g,"$1[path]").replace(/\b(?=[A-Za-z0-9_-]*\d)[A-Za-z0-9_-]{24,}\b/g,"[redacted]")}function dy(e,t){const s=oy[e];return s?s.includes(t):ay.test(t)&&Co(t)===t}function uy(e){const t={};for(const[s,r]of Object.entries(ry)){const o=e[s];o!=null&&(r==="boolean"&&typeof o=="boolean"||r==="number"&&typeof o=="number"&&Number.isFinite(o)||r==="enum"&&typeof o=="string"&&dy(s,o))&&(t[s]=o)}return t}const my=["details","summary"];function No(e){return Rx(Co(e),my)}function hy(e){const t=e.runtimes.length>0?e.runtimes.join(", "):"none configured",s=Object.entries(e.flags).map(([o,a])=>`- ${o}: ${String(a)}`).join(`
|
|
1
|
+
var Bu=Object.defineProperty;var zu=(e,t,s)=>t in e?Bu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var bn=(e,t,s)=>zu(e,typeof t!="symbol"?t+"":t,s);import{s0 as Uu,r as u,f9 as Ho,s1 as Ku,f7 as Yr,j as n,s2 as Hu,s3 as Gi,fa as Wu,k8 as Vr,a1 as ae,a2 as Ie,aG as Be,f5 as _e,fW as Rn,s4 as Gs,k5 as as,s5 as Gu,s6 as qu,a3 as le,an as pe,jS as Wo,s7 as Yu,O as Ge,es as js,ap as se,B as L,X as Ue,G as K,jv as qi,s8 as Vu,x as De,a0 as Yi,bv as Vi,bc as ks,dG as ze,aX as Qu,s9 as Go,sa as Xu,bQ as Ju,aF as Qi,cs as Pe,aL as Le,s as $t,kq as Zu,kr as Xi,dD as ce,lw as Ln,lx as jt,ly as Ji,aW as P,rD as em,eS as kt,dV as is,iY as an,sb as tm,a4 as Wt,eF as Zi,fx as Qr,da as Xr,as as Gt,sc as qo,jR as nm,jW as ec,jQ as sm,pS as Jr,ju as Fn,J as cn,it as Zr,er as nn,l as je,aH as tc,eP as nc,e9 as sc,ea as rc,eQ as rm,sd as om,ee as it,bx as ln,by as dn,U as qt,bz as un,bB as mn,C as hn,en as We,eo as am,mP as oc,l7 as ac,aN as Ke,se as im,gM as ic,bR as Yo,sf as cm,g as cs,k4 as vr,z as eo,e3 as lt,hI as rt,gd as to,fC as Ss,kj as no,f as At,b7 as cc,eE as Cs,sg as lc,el as lm,ak as so,_ as Tn,dj as fn,dk as pn,dl as gn,ai as $e,ao as Ns,nR as dc,sh as dm,si as um,cZ as mm,dU as ls,bw as Xe,kx as As,kw as en,d0 as xt,d1 as bt,d3 as ht,d4 as tt,d5 as ft,eC as St,dN as tn,dL as hm,cm as $n,ey as uc,sj as fm,ck as mc,gv as hc,h6 as Vo,sk as pm,ig as ds,kf as gm,kh as xm,h4 as fc,sl as bm,g0 as Es,g1 as Is,g3 as Rs,sm as pc,g4 as Qe,sn as Bn,g6 as es,h as ro,so as oo,sp as ym,g2 as vm,qQ as wm,sq as gc,jH as jm,sr as km,ss as Sm,st as Cm,hn as xc,su as Nm,sv as Am,iX as Em,sw as Im,sx as Rm,av as Tm,gm as bc,ab as Fe,hl as Ts,sy as Dm,sz as Om,gn as Mm,rW as Qo,i1 as _m,mN as Pm,i3 as Lm,i4 as Fm,i5 as $m,jk as yc,sA as Bm,sB as me,sC as zm,sD as vc,sE as ao,sF as wr,sG as wc,sH as io,sI as co,b6 as zn,sJ as Ds,sK as Um,sL as Km,sM as Hm,sN as Wm,sO as Gm,sP as qm,sQ as Ym,sR as Tt,k6 as Vm,jA as Qm,oa as Xm,sS as Xo,bb as Jm,hU as jc,sT as Bt,sU as sn,sV as Zm,sW as eh,sX as th,sY as nh,fB as kc,c4 as Dt,sZ as Sc,s_ as us,s$ as Cc,t0 as sh,t1 as rh,t2 as Nc,t3 as Ac,t4 as oh,t5 as ah,i9 as Ec,ia as Ic,t6 as zt,t7 as ih,t8 as ch,eu as lh,t9 as Dn,ta as dh,aZ as Rc,tb as uh,tc as mh,td as hh,te as fh,tf as ph,tg as Tc,th as Ot,fA as Ct,fI as ct,fG as Un,fH as he,fL as Kn,fK as _t,fO as xe,I as gt,pd as Dc,pn as Oc,nk as Ut,nj as rn,co as Os,k$ as gh,ni as Mc,eT as _c,rN as Pc,oy as xh,nh as bh,ti as yh,tj as Jo,tk as vh,tl as on,tm as Lc,bY as Ms,ih as Fc,tn as wh,q9 as jh,to as kh,tp as $c,tq as Sh,tr as Ch,gw as Nh,aY as lo,nl as uo,ts as Ah,gp as _s,tt as Sn,tu as mo,q as ms,lB as Bc,tv as Eh,o as zc,tw as Ih,ks as Zo,mg as Rh,oQ as Th,tx as Dh,ca as Oh,ty as Mh,ah as ho,ag as fo,ns as Uc,nr as Kc,tz as _h,dE as Ps,kM as Hc,tA as Ph,tB as Lh,tC as Fh,tD as $h,tE as Bh,tF as zh,tG as Uh,hh as po,pR as Kh,tH as Wc,nU as Hh,l5 as jr,e5 as Wh,tI as Ls,nn as Fs,tJ as $s,tK as Gh,nm as qh,im as go,no as Gc,tL as Yh,qK as Vh,tM as Qh,tN as Xh,tO as ea,tP as Jh,tQ as Zh,tR as ef,tS as tf,tT as ta,tU as nf,tV as sf,tW as rf,tX as of,tY as na,e as Pt,tZ as af,t_ as cf,l3 as Bs,lN as qc,t$ as lf,gr as Yc,lI as df,lU as uf,u0 as mf,b4 as hf,jI as ff,u1 as pf,u2 as hs,m1 as Vc,u3 as Qc,u4 as gf,u5 as xf,u6 as Xc,u7 as sa,u8 as ra,u9 as Jc,b3 as bf,ua as yf,ub as Zc,uc as qn,ud as vf,ue as wf,uf as jf,ug as el,go as zs,uh as kr,ui as kf,cB as yn,H as tl,aT as Sf,uj as nl,eR as oa,kl as xo,bh as Cf,t as Nf,iy as Sr,i0 as Af,aO as bo,id as sl,uk as Ef,m7 as If,m8 as Rf,ph as Tf,l2 as Df,ul as Of,l4 as aa,lV as rl,bH as Mf,bI as _f,bJ as Pf,bK as Lf,bL as Ff,bM as $f,bN as Bf,um as zf,un as Cr,uo as Uf,up as qs,uq as Kf,ur as Hf,us as On,ut as Wf,uu as ia,mZ as Gf,lO as qf,uv as Yf,k9 as Vf,ka as Qf,b8 as fs,kb as Xf,kc as ca,mp as la,mn as Jf,mo as da,uw as Zf,m0 as ep,ux as tp,uy as np,fe as sp,uz as rp,uA as op,uB as ap,b$ as ip,uC as cp,uD as ol,uE as al,Q as yo,T as vo,V as wo,uF as lp,uG as dp,bV as up,f_ as mp,uH as Ys,ha as hp,uI as fp,uJ as pp,uK as gp,uL as xp,uM as bp,uN as yp,uO as vp,uP as wp,uQ as jp,uR as ua,jG as kp,bU as Sp,uS as il,uT as Cp,fD as Np,uU as ma,h$ as Ap,uV as Ep,uW as Ip,pi as Rp,uX as Tp,uY as Dp,cj as Op,uZ as Mp,u_ as ha,u$ as _p,v0 as Pp,pc as Lp,pv as Fp,j_ as $p,ec as Bp,v1 as zp,a7 as cl,v2 as Up,jU as Kp,jV as Hp,kN as Wp,fk as ll,fl as dl,fm as ul,fn as ml,dH as Gp,eq as qp,fi as Yp,fj as Vp,j8 as Qp,jf as Xp,kR as Jp,j9 as Zp,v3 as eg,ew as tg,kS as ng,v4 as hl,v5 as sg,v6 as rg,kQ as og,kP as ag,ja as ig,ez as cg,k3 as lg,i$ as dg,v7 as ug,v8 as fl,v9 as Us,bg as pl,$ as gl,va as xl,pU as mg,be as hg,bf as fg,eW as fa,bd as pg,gO as Vs,gW as Qs,ep as gg,vb as jo,n as xg,aQ as pa,pg as bg,bA as bl,vc as yl,vd as vl,q3 as yg,ve as vg,vf as wg,vg as Zt,dr as jg,vh as ga,nz as kg,nB as wl,dM as Sg,jP as Cg,oP as Ng,vi as Nr,f$ as Ag,ix as Eg,nM as ut,nO as Ig,rC as Rg,o4 as xa,cU as Tg,vj as Dg,vk as Og,vl as Mg,vm as _g,vn as Pg,vo as Lg,vp as Fg,vq as $g,vr as Bg,r$ as zg,kG as Ug,h8 as Kg,vs as Hg,vt as Wg,vu as Gg,vv as qg,vw as Yg,vx as Vg,cv as Qg,vy as Xg,vz as Jg,jj as Zg,d9 as ex}from"./index-OQuvRZTD.js";import{u as tx,g as nx}from"./use-connector-management-DEMGZy9N.js";import{D as Nt,a as sx}from"./TourHost-B69XAKpE.js";import{r as rx,f as ox,b as ax,K as ix}from"./RuntimeConnectFlow-DXWGgvCW.js";import{O as cx,B as jl}from"./banner-C9qTs6-C.js";import{u as Ks,P as kl,a as lx}from"./ProfileRolePicker-CZEXvlJm.js";import{u as dx}from"./use-dev-links-BOcktLiE.js";import{B as ux,u as mx}from"./use-bindings-BLAWQRpe.js";import{C as ko,o as Sl,O as Cl,p as at,H as hx,q as wt,I as nt,t as ps,s as Hn,v as Nl,x as fx,y as Al,z as px,u as El,r as gx,w as xx,b as bx,j as yx,D as Ar,A as vx,T as wx,a as jx,P as kx,B as Sx,e as Il,E as Rl,F as Tl,G as Cx,J as Nx,h as Ax,S as ba,n as Ex,L as Ix}from"./SeenDevices-Bh2yh-PW.js";import{d as Rx}from"./untrusted-text-BDygHCRk.js";import{S as Nn}from"./scroll-area-FwZwM74Q.js";import{T as Dl,a as Ol,b as ts,c as Xs,u as Tx,i as Dx,d as Ox,P as Ml}from"./PreviewRefusedNotice-Ds4IO32o.js";import{P as Mx}from"./paperclip-WhPo3_WD.js";import{L as _x}from"./lightbulb-a6nNsrzy.js";import{u as Wn}from"./use-update-config-L5NCTj3t.js";import{a as Px,u as Lx,S as Fx,s as $x,b as Bx,P as zx}from"./ApplyToOverridesDialog-C_QQhNIf.js";import{r as _l,s as ya,e as Ux}from"./access-copy-Dqct36mi.js";import{t as Kx,I as va}from"./trust-posture-Dn2ciEE0.js";import{a as Hx}from"./use-pulse-freshness-D07Mv-Sa.js";import{c as Wx,B as Gx,w as qx,b as Yx,a as Vx,e as Qx}from"./primer-trigger-B2tjuHBx.js";import{M as Xx,u as Jx,s as Zx,P as eb,a as tb}from"./use-promo-activation-5HG08FlB.js";import{u as Pl}from"./use-promo-dismissals-CO7-qhEl.js";import{u as Ll}from"./use-pending-read-D0y6i7G9.js";import{a as pt}from"./dorkbot-templates-8Yu9POWJ.js";import{i as nb,O as Fl,c as sb,b as rb}from"./OperatorIdentityForm-Bls5Vo_u.js";import{A as $l}from"./repeat-CHmB_vD7.js";import{S as Bl,P as ob}from"./progress-77FCPL2y.js";import{P as ab,M as ib}from"./plug-_q5iqunq.js";import{i as So,a as cb,u as lb}from"./use-notification-prefs-u76DPoP0.js";import{R as db}from"./rotate-cw-B8WQa8O-.js";import{b as ub,u as mb,O as hb,c as fb}from"./OpenMeshSwitch-CgQ6uefo.js";import{u as pb,a as gb,C as xb,N as bb}from"./NewDirectMessageMenu-DBAdvv5p.js";import{P as yb,C as vb,f as wb,a as jb}from"./find-latest-widget-fence-BtqFMP_f.js";import{o as kb}from"./owner-notice-CTJbhUak.js";import{a as zl,C as Sb}from"./cpu-DeRuDMl4.js";import{U as Cb}from"./unplug-BZ8zSvfB.js";import{c as Nb,H as Ul,a as Kl,b as Hl}from"./RuntimeSetupDialog-D6L1QhMF.js";import{a as Ab,u as Eb,F as Ib}from"./ForwardConsentHost-Mbo0D-zk.js";import{P as wa}from"./page-container-CnfDuiDC.js";import{A as Rb}from"./AttentionSignalRow-5E7TkG98.js";import{u as Tb}from"./use-roving-tab-list-CcznVldj.js";import{R as Wl}from"./rotate-ccw-clock-CCU6SVnv.js";import{d as et,e as Ce,f as ja,g as Gl,C as ql,a as Yl,b as Vl,c as Db}from"./command-BVQb6I3_.js";import{A as Ob,M as Mb}from"./McpAppFrame-D15nxVaI.js";import{L as _b}from"./layers-F4mvrI2l.js";import{A as Pb}from"./AgentOptionRow-BRJfZo2y.js";import{R as Lb}from"./radio-C8xmfoqO.js";import{a as Fb}from"./sound-D3r8dGFH.js";import{d as $b}from"./connection-copy--MA7AN04.js";import{P as Bb}from"./path-input-C2KIXdON.js";import"./WidgetErrorCard-BlqaIsPK.js";import{a as zb}from"./ComputerResourceView-Bik6GLKp.js";import{P as Ub,u as Kb}from"./pane-resize-handle-63OC5vfI.js";import{u as Ql}from"./use-is-below-desktop-CAGEAsCC.js";import{W as Hb}from"./WithheldExtensionsNotice-7Vu1Jctn.js";import{u as Wb}from"./use-direct-message-panel-D38tSozW.js";import{u as Gb}from"./ComputerViewer-CksBDqdu.js";import{a as qb}from"./use-local-browser-B1huJhdg.js";import{F as Yb}from"./file-text-Ds9edaTZ.js";import"./use-external-adapter-catalog-9qiNBqpc.js";import"./inline-code-SYHTKcle.js";import"./useMutationState-BF1EFtIZ.js";import"./runtime-connect-Dn0T5YWv.js";import"./execution-config-CGL73sRn.js";import"./settings-for-runtime-BoOa-ZFG.js";import"./shield-x-ijIbRppV.js";import"./use-full-activity-feed-CtQquOBW.js";import"./profile-errors-COcBx7w5.js";import"./use-mounted-ref-CaPc6Prv.js";import"./ProfileFields-DbPJ7fvN.js";import"./use-mesh-topology-BTYAy6zc.js";import"./card-DUmTNXJJ.js";import"./list-runtime-types-CsGil5te.js";import"./more-details-CRLU2HN4.js";import"./index-CoKNU2F9.js";import"./markdown-content-Cjhsscbn.js";import"./table-D9ww_3Ij.js";import"./package-sPggO7Dr.js";import"./heart-BavUIV45.js";import"./git-branch-B8JNwQ6q.js";import"./file-D80JE_L0.js";function Vb({children:e,isValidProp:t,...s}){t&&Uu(t);const r=u.useContext(Ho);s={...r,...s},s.transition=Ku(s.transition,r.transition),s.isStatic=Yr(()=>s.isStatic);const o=u.useMemo(()=>s,[JSON.stringify(s.transition),s.transformPagePoint,s.reducedMotion,s.skipAnimations]);return n.jsx(Ho.Provider,{value:o,children:e})}function Qb(e){e.values.forEach(t=>t.stop())}function Er(e,t){[...t].reverse().forEach(r=>{const o=e.getVariant(r);o&&Gi(e,o),e.variantChildren&&e.variantChildren.forEach(a=>{Er(a,t)})})}function Xb(e,t){if(Array.isArray(t))return Er(e,t);if(typeof t=="string")return Er(e,[t]);Gi(e,t)}function Jb(){const e=new Set,t={subscribe(s){return e.add(s),()=>void e.delete(s)},start(s,r){const o=[];return e.forEach(a=>{o.push(Hu(a,s,{transitionOverride:r}))}),Promise.all(o)},set(s){return e.forEach(r=>{Xb(r,s)})},stop(){e.forEach(s=>{Qb(s)})},mount(){return()=>{t.stop()}}};return t}function Zb(){const e=Yr(Jb);return Wu(e.mount,[]),e}class ey{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,s){this.componentControls.forEach(r=>{r.start(t.nativeEvent||t,s)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const ty=()=>new ey;function ny(){return Yr(ty)}const sy=`${Vr.repo}/issues/new`,ry={"tunnel.enabled":"boolean","tasks.enabled":"boolean","relay.enabled":"boolean","scheduler.enabled":"boolean","mesh.enabled":"boolean","mcp.enabled":"boolean","telemetry.install":"boolean","telemetry.heartbeat":"boolean","telemetry.errorReporting":"boolean","auth.enabled":"boolean","workspace.enabled":"boolean","harness.autoSync":"boolean","harness.autoAdopt":"boolean","runtimes.codex.enabled":"boolean","runtimes.opencode.enabled":"boolean","runtimes.default":"enum","logging.level":"enum","ui.theme":"enum"},oy={"runtimes.default":["claude-code","codex","opencode","doe"],"logging.level":["fatal","error","warn","info","debug","trace"],"ui.theme":["light","dark","system"]},ay=/^[a-z0-9][a-z0-9._-]{0,31}$/,iy={bug:["bug"],feature:["enhancement"],runtime:["bug"]},cy={bug:"Bug: (describe what went wrong)",feature:"Feature: (describe what you want)",runtime:"Runtime issue: (describe what went wrong)"};function ly(e){return e.replace(/\b(?:sk-|pk-|rk-|ghp_|gho_|ghu_|ghs_|github_pat_|glpat-|npm_|xox[baprsc]-)[A-Za-z0-9._-]+/g,"[redacted]").replace(/\b(?:AKIA|ASIA|AGPA|AIDA|AROA|ANPA)[0-9A-Z]{16}\b/g,"[redacted]").replace(/\bBearer\s+[A-Za-z0-9._-]+/gi,"[redacted]")}function Co(e){return ly(e).replace(/[^\s/@]+@[^\s/@]+\.[^\s/@]+/g,"[email]").replace(/\b\d{1,3}(?:\.\d{1,3}){3}\b/g,"[ip]").replace(/\b(?:[A-Fa-f0-9]{1,4}:){2,7}[A-Fa-f0-9]{1,4}\b/g,"[ip]").replace(new RegExp("(?<![\\w:.])(?:[A-Fa-f0-9]{1,4})?(?::[A-Fa-f0-9]{0,4}){2,}(?![\\w:.])","g"),"[ip]").replace(/\\\\[^\s\\]+(?:\\[^\s\\]+)+/g,"[path]").replace(/(^|[\s"'`(<[{])\/\/[^\s"'`)>\]}/]+\/[^\s"'`)>\]}]+/g,"$1[path]").replace(/\b[A-Za-z]:\\[^\r\n]*/g,"[path]").replace(/(^|[\s"'`(<[{/:])(~|\/(?:Users|home))\/[^\s"'`)>\]}]+/g,"$1[home]").replace(/(^|[\s"'`(<[{])\/[\w.-]+(?:\/[\w.-]*)+/g,"$1[path]").replace(/\b(?=[A-Za-z0-9_-]*\d)[A-Za-z0-9_-]{24,}\b/g,"[redacted]")}function dy(e,t){const s=oy[e];return s?s.includes(t):ay.test(t)&&Co(t)===t}function uy(e){const t={};for(const[s,r]of Object.entries(ry)){const o=e[s];o!=null&&(r==="boolean"&&typeof o=="boolean"||r==="number"&&typeof o=="number"&&Number.isFinite(o)||r==="enum"&&typeof o=="string"&&dy(s,o))&&(t[s]=o)}return t}const my=["details","summary"];function No(e){return Rx(Co(e),my)}function hy(e){const t=e.runtimes.length>0?e.runtimes.join(", "):"none configured",s=Object.entries(e.flags).map(([o,a])=>`- ${o}: ${String(a)}`).join(`
|
|
2
2
|
`),r=[`- DorkOS version: ${e.version}`,`- OS / arch: ${e.platform}`,`- Runtimes configured: ${t}`,`- Reported from: ${e.surface}`,"","Settings (on/off values only, no secrets or file paths):",s.length>0?s:"- (none available)"];return Co(r.join(`
|
|
3
3
|
`))}function fy(e){var s;const t=(s=e.body)==null?void 0:s.trim();return t?[No(t)]:e.kind==="feature"?["## What do you want DorkOS to do?","","","## Why would it help?","",""]:["## What happened?","","","## What did you expect?","","","## Steps to reproduce","","1. ","2. ","3. "]}function py(e){return["<details><summary>Environment</summary>","",hy(e),"","</details>","","DorkOS filled in the details above. Please check them and remove anything you do not want to share.","","---","",...fy(e)].join(`
|
|
4
4
|
`)}function Js(e){var r;const t=(r=e.title)==null?void 0:r.trim(),s=new URLSearchParams({title:No(t||cy[e.kind]),body:py(e),labels:iy[e.kind].join(",")});return`${sy}?${s.toString()}`}const gy=6e3,ka=`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as o,d9 as t}from"./index-
|
|
1
|
+
import{j as o,d9 as t}from"./index-OQuvRZTD.js";function e(){return o.jsx("div",{className:"h-full min-h-0 overflow-hidden",children:o.jsx(t,{})})}const s=e;export{s as component};
|
package/dist/client/assets/{_shell._home.activity-DPjJ1_vZ.js → _shell._home.activity-5rihXoYF.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cs as R,da as D,r as l,iW as C,iX as O,j as e,bw as V,ap as g,B as M,X as Y,G as x,A as j,hp as G,hq as k,_ as q,e as v,x as K,a1 as z,a2 as U,iY as X,hl as Q,iZ as Z,ey as J,e1 as ee}from"./index-B48IJBNm.js";import{P as te}from"./page-container-Bx1sr900.js";import{g as se,A as ne,a as ie,b as ae}from"./ActivityErrorState-DW-plne9.js";import{u as re}from"./use-full-activity-feed-DsNOIkL8.js";import{C as w,A as oe}from"./ActivityRow-BnBDxJqK.js";import{T as P,a as _,b as ce,c as p}from"./table-D6BUawIb.js";import{E as b}from"./empty-state-2mQX7azC.js";import{u as le,W as ue}from"./WithheldExtensionsNotice-Dt51QZLT.js";const S=["categories","actorType","actorId","since"];function A(){const s=R(),n=D({strict:!1}),t={categories:n.categories,actorType:n.actorType,actorId:n.actorId,since:n.since},i=S.some(c=>n[c]!==void 0),a={};t.categories&&(a.categories=t.categories),t.actorType&&(a.actorType=t.actorType),t.actorId&&(a.actorId=t.actorId),t.since&&(a.since=t.since);const r=l.useCallback(c=>{s({search:c})},[s]),o=l.useCallback(c=>{r(f=>{const y=f.categories?f.categories.split(","):[],N=y.includes(c)?y.filter(B=>B!==c):[...y,c];return{...f,categories:N.length>0?N.join(","):void 0}})},[r]),d=l.useCallback(c=>{r(f=>({...f,actorType:c}))},[r]),m=l.useCallback(c=>{r(f=>({...f,actorId:c}))},[r]),u=l.useCallback(c=>{r(f=>({...f,since:c}))},[r]),h=l.useCallback(()=>{r(c=>{const f={...c};for(const y of S)delete f[y];return f})},[r]);return{filters:t,queryFilters:a,isFiltered:i,toggleCategory:o,setActorType:d,setActorId:m,setSince:u,clearAll:h}}function de(){const s=R(),t=D({strict:!1}).view==="all"?"all":"activity",i=l.useCallback(a=>{s({search:(r=>({...r,view:a==="all"?"all":void 0}))})},[s]);return{view:t,setView:i}}function me(){const[s]=l.useState(()=>C.getState().lastSeenAt);return l.useEffect(()=>{const{markSeen:n,setViewing:t}=C.getState();return n(),t(!0),()=>{n(),t(!1)}},[]),s}function he(s){const n=l.useRef(null),t=l.useCallback(i=>{var d,m,u;const a=n.current;if(!a)return;const r=a.querySelectorAll("[data-activity-row]"),o=Array.from(r).findIndex(h=>h===document.activeElement||h.contains(document.activeElement));switch(i.key){case"ArrowDown":{i.preventDefault();const h=Math.min(o+1,r.length-1);(d=r[h])==null||d.focus();break}case"ArrowUp":{i.preventDefault();const h=Math.max(o-1,0);(m=r[h])==null||m.focus();break}case"Escape":{(u=document.activeElement)==null||u.blur();break}}},[s]);return{containerRef:n,handleKeyDown:t}}const xe=["tasks","relay","agent","config","system","permissions"],L="group inline-flex min-h-11 shrink-0 items-center outline-none md:min-h-0",$="inline-flex h-6 items-center rounded-full px-2.5 text-xs font-medium transition-colors group-focus-visible:ring-ring group-focus-visible:ring-2 group-focus-visible:ring-offset-1";function fe({category:s,isActive:n,onToggle:t}){const i=w[s];return e.jsx(g.button,{type:"button",layout:!0,onClick:t,"aria-pressed":n,transition:{duration:.15},className:L,children:e.jsx("span",{className:x($,n?x(i.bg,i.text):"text-muted-foreground group-hover:bg-muted group-hover:text-foreground"),children:i.label})})}function ge({isActive:s,onClick:n}){return e.jsx(g.button,{type:"button",layout:!0,onClick:n,"aria-pressed":s,transition:{duration:.15},className:L,children:e.jsx("span",{className:x($,s?"bg-foreground text-background":"text-muted-foreground group-hover:bg-muted group-hover:text-foreground"),children:"All"})})}function ye({className:s}){const{filters:n,isFiltered:t,toggleCategory:i,clearAll:a}=A(),r=l.useRef(null),o=O(r,"horizontal"),d=new Set(n.categories?n.categories.split(","):[]),m=()=>{t&&a()};return e.jsxs("div",{className:x("relative",s),children:[e.jsxs("div",{ref:r,onScroll:o.onScroll,"data-slot":"activity-filter-bar",className:"flex items-center gap-1 overflow-x-auto",children:[e.jsx(ge,{isActive:!t,onClick:m}),xe.map(u=>e.jsx(fe,{category:u,isActive:d.has(u),onToggle:()=>i(u)},u)),e.jsx(V,{children:t&&e.jsx(g.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},children:e.jsxs(M,{variant:"ghost",size:"xs",className:"ml-1",onClick:a,children:[e.jsx(Y,{"aria-hidden":!0}),"Clear"]})},"clear-filters")})]}),o.start&&e.jsx("div",{"aria-hidden":!0,"data-testid":"activity-filter-bar-fade-start",className:"from-background via-background/70 pointer-events-none absolute inset-y-0 left-0 w-8 bg-gradient-to-r to-transparent"}),o.end&&e.jsx("div",{"aria-hidden":!0,"data-testid":"activity-filter-bar-fade-end",className:"from-background via-background/70 pointer-events-none absolute inset-y-0 right-0 w-8 bg-gradient-to-l to-transparent"})]})}function pe({isFiltered:s=!1,view:n="activity",className:t}){const{filters:i,clearAll:a}=A();return n==="all"?e.jsx(b,{className:t,icon:j,headline:"No actions yet",description:"Every action a person or agent takes shows up here."}):s?e.jsx(b,{className:t,icon:j,headline:`No ${ve(i.categories)} activity found`,description:"Try other filters.",action:{label:"Clear filters",onClick:a,variant:"outline"}}):e.jsx(b,{className:t,icon:j,headline:"No activity yet",description:"Your agents’ work shows up here."})}function ve(s){if(!s)return"matching";const t=s.split(",").map(r=>{var o;return((o=w[r])==null?void 0:o.label)??r});if(t.length===1)return t[0];const i=t[t.length-1];return`${t.slice(0,-1).join(", ")} or ${i}`}function je({view:s,onViewChange:n,className:t}){return e.jsxs(G,{"aria-label":"Which list to show",className:x("w-fit shrink-0",t),value:s,onValueChange:i=>n(i),children:[e.jsx(k,{value:"activity",children:"Activity"}),e.jsx(k,{value:"all",children:"All actions"})]})}function be(s){const n=Date.now()-new Date(s).getTime(),t=Math.floor(n/36e5);return t<1?"recently":t<24?`${t}h ago`:`${Math.floor(t/24)}d ago`}function we(s,n){const t=new Date(n),i={};for(const a of s)new Date(a.occurredAt)>t&&(i[a.category]=(i[a.category]??0)+1);return i}function Ae(s){const n={tasks:"scheduled run",relay:"message",agent:"agent update",config:"settings change",system:"system event",permissions:"permission change"};return Object.entries(s).filter(([,t])=>t>0).map(([t,i])=>{const a=n[t];return`${i} ${i===1?a:`${a}s`}`}).join(" · ")}function Ne({lastVisitedAt:s,items:n,className:t}){if(!s)return null;const i=we(n,s);if(Object.values(i).reduce((d,m)=>d+(m??0),0)===0)return null;const r=be(s),o=Ae(i);return e.jsxs(g.div,{"data-slot":"activity-since-last-visit",initial:{opacity:0,y:-6},animate:{opacity:1,y:0},transition:{duration:.2,ease:"easeOut"},className:x("rounded-lg border px-4 py-3","bg-card border-border",t),children:[e.jsxs("p",{className:"text-muted-foreground text-xs",children:[e.jsx("span",{className:"text-foreground font-medium",children:"Since your last visit"})," ",e.jsxs("span",{children:["(",r,")"]})]}),e.jsx("p",{className:"text-foreground/80 mt-0.5 text-sm",children:o}),e.jsx("div",{className:"mt-2 flex flex-wrap gap-2",children:Object.keys(i).map(d=>{const m=i[d];if(!m)return null;const u=w[d];return e.jsxs(q,{shape:"pill",className:x("border-transparent",u.bg,u.text),children:[m," ",u.label]},d)})})]})}const Ce={initial:{opacity:0,y:6},animate:{opacity:1,y:0,transition:{duration:.2,ease:"easeOut"}}};function ke(){const s=l.useId(),n=l.useMemo(()=>`${s.split("").reduce((i,a)=>i+a.charCodeAt(0),0)%40+50}%`,[s]);return e.jsxs(ce,{children:[e.jsx(p,{className:"w-28 py-1.5 pr-0 pl-2 max-sm:hidden",children:e.jsx(v,{className:"h-3 w-20"})}),e.jsx(p,{className:"w-24 py-1.5 pr-0 max-sm:hidden",children:e.jsx(v,{className:"h-5 w-20 rounded-full"})}),e.jsx(p,{className:"py-1.5 max-sm:pl-2",children:e.jsx(v,{className:"h-3 rounded",style:{width:n}})}),e.jsx(p,{className:"w-16 py-1.5 max-sm:w-10"})]})}function Se(){return e.jsxs("div",{"data-slot":"activity-timeline-skeleton",className:"space-y-1",children:[e.jsx("div",{className:"py-2",children:e.jsx(v,{className:"h-3 w-16 rounded"})}),e.jsx(P,{children:e.jsx(_,{children:Array.from({length:5}).map((s,n)=>e.jsx(ke,{},n))})})]})}function H({items:s,isLoading:n,isError:t,onRetry:i,isFiltered:a,view:r="activity",className:o}){const d=l.useMemo(()=>se(s,new Date),[s]),{containerRef:m,handleKeyDown:u}=he(s.length);return n&&s.length===0?e.jsx("div",{"data-slot":"activity-timeline",className:x(o),children:e.jsx(Se,{})}):t&&s.length===0?e.jsx("div",{"data-slot":"activity-timeline",className:x(o),children:e.jsx(ne,{onRetry:i})}):s.length===0?e.jsx("div",{"data-slot":"activity-timeline",className:x(o),children:e.jsx(pe,{isFiltered:a,view:r})}):e.jsx("div",{ref:m,onKeyDown:u,"data-slot":"activity-timeline",className:x(o),children:d.map(h=>e.jsxs("section",{children:[e.jsx(ie,{label:h.label}),e.jsx(g.div,{variants:Ce,initial:"initial",animate:"animate",children:e.jsx(P,{children:e.jsx(_,{children:h.items.map(c=>e.jsx(oe,{item:c},c.id))})})})]},h.label))})}function W({onLoadMore:s,isFetching:n,hasNextPage:t,className:i}){return t?e.jsx(g.div,{"data-slot":"activity-load-more",initial:{opacity:0},animate:{opacity:1},transition:{duration:.2,delay:.1},className:x("flex justify-center py-4",i),children:e.jsxs(M,{variant:"outline",size:"sm",onClick:s,disabled:n,className:"gap-2",children:[n&&e.jsx(K,{size:"xs"}),"Load 50 more events"]})}):null}const T=7;function Te(){var t;const s=z(),{data:n}=U({queryKey:X.dailyCounts(T),queryFn:()=>s.getSessionDailyCounts(T),staleTime:6e4});return!n||n.dailyCounts.length===0?null:{dailyCounts:n.dailyCounts,degraded:(((t=n.warnings)==null?void 0:t.length)??0)>0}}function Ie(s,n){const t=s.reduce((a,r)=>a+r,0),i=t===1?"session":"sessions";return n?t===0?"This week’s count is incomplete":`Your agents started at least ${t} ${i} this week`:t===0?"Your agents started no chats this week":`Your agents started ${t} ${i} this week`}const I=10,Ee=4,E=30,F=1;function Fe({data:s,className:n}){const t=Math.max(...s,1);return e.jsx("svg",{viewBox:"0 0 100 30",className:x("text-muted-foreground",n),"aria-hidden":"true",children:s.map((i,a)=>{const r=i/t*E;return e.jsx("rect",{x:a*(I+Ee)+1,y:E-Math.max(r,F),width:I,height:Math.max(r,F),rx:2,fill:"currentColor",opacity:.6},a)})})}function Re(){const s=Te();return s===null?null:e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("p",{className:"text-muted-foreground text-sm",children:Ie(s.dailyCounts,s.degraded)}),e.jsx(Fe,{data:s.dailyCounts,className:"h-6 w-24 shrink-0"})]})}function De(){const s=l.useId(),n=Q("dashboard.sections"),t=l.useMemo(()=>n.filter(a=>Z(a.id)&&(!a.visibleWhen||a.visibleWhen())),[n]),i=le("dashboard.sections");return t.length===0&&i.length===0?null:e.jsxs("section",{className:"space-y-3","aria-labelledby":s,children:[e.jsx("h2",{id:s,className:"text-muted-foreground text-xs font-medium tracking-widest uppercase",children:"From your extensions"}),e.jsx(ue,{slot:"dashboard.sections",onReview:()=>J()}),e.jsx("div",{className:"space-y-4",children:t.map(a=>e.jsx(a.component,{},a.id))})]})}function Me(){const{view:s,setView:n}=de();return e.jsxs(e.Fragment,{children:[e.jsx(ee,{children:"Activity"}),e.jsxs(te,{width:"wide",className:"space-y-4",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[e.jsx(je,{view:s,onViewChange:n}),s==="activity"&&e.jsx(ye,{className:"min-w-0 flex-1"})]}),e.jsx(Re,{}),e.jsx(De,{}),s==="all"?e.jsx(_e,{}):e.jsx(Pe,{})]})]})}function Pe(){const{queryFilters:s,isFiltered:n}=A(),t=me(),{data:i,isLoading:a,isError:r,refetch:o,isFetchingNextPage:d,hasNextPage:m,fetchNextPage:u}=re(s),h=l.useMemo(()=>(i==null?void 0:i.pages.flatMap(c=>c.items))??[],[i]);return e.jsxs(e.Fragment,{children:[e.jsx(Ne,{lastVisitedAt:t,items:h}),e.jsx(H,{items:h,isLoading:a,isError:r,onRetry:()=>void o(),isFiltered:n}),e.jsx(W,{onLoadMore:()=>void u(),isFetching:d,hasNextPage:!!m})]})}function _e(){const{data:s,isLoading:n,isError:t,refetch:i,isFetchingNextPage:a,hasNextPage:r,fetchNextPage:o}=ae();return e.jsxs(e.Fragment,{children:[e.jsx(H,{items:s??[],isLoading:n,isError:t,onRetry:()=>void i(),isFiltered:!1,view:"all"}),e.jsx(W,{onLoadMore:()=>void o(),isFetching:a,hasNextPage:!!r})]})}const Ge=Me;export{Ge as component};
|
|
1
|
+
import{cs as R,da as D,r as l,iW as C,iX as O,j as e,bw as V,ap as g,B as M,X as Y,G as x,A as j,hp as G,hq as k,_ as q,e as v,x as K,a1 as z,a2 as U,iY as X,hl as Q,iZ as Z,ey as J,e1 as ee}from"./index-OQuvRZTD.js";import{P as te}from"./page-container-CnfDuiDC.js";import{g as se,A as ne,a as ie,b as ae}from"./ActivityErrorState-Dw231W2w.js";import{u as re}from"./use-full-activity-feed-CtQquOBW.js";import{C as w,A as oe}from"./ActivityRow-DIBH4v9c.js";import{T as P,a as _,b as ce,c as p}from"./table-D9ww_3Ij.js";import{E as b}from"./empty-state-CACt-76q.js";import{u as le,W as ue}from"./WithheldExtensionsNotice-7Vu1Jctn.js";const S=["categories","actorType","actorId","since"];function A(){const s=R(),n=D({strict:!1}),t={categories:n.categories,actorType:n.actorType,actorId:n.actorId,since:n.since},i=S.some(c=>n[c]!==void 0),a={};t.categories&&(a.categories=t.categories),t.actorType&&(a.actorType=t.actorType),t.actorId&&(a.actorId=t.actorId),t.since&&(a.since=t.since);const r=l.useCallback(c=>{s({search:c})},[s]),o=l.useCallback(c=>{r(f=>{const y=f.categories?f.categories.split(","):[],N=y.includes(c)?y.filter(B=>B!==c):[...y,c];return{...f,categories:N.length>0?N.join(","):void 0}})},[r]),d=l.useCallback(c=>{r(f=>({...f,actorType:c}))},[r]),m=l.useCallback(c=>{r(f=>({...f,actorId:c}))},[r]),u=l.useCallback(c=>{r(f=>({...f,since:c}))},[r]),h=l.useCallback(()=>{r(c=>{const f={...c};for(const y of S)delete f[y];return f})},[r]);return{filters:t,queryFilters:a,isFiltered:i,toggleCategory:o,setActorType:d,setActorId:m,setSince:u,clearAll:h}}function de(){const s=R(),t=D({strict:!1}).view==="all"?"all":"activity",i=l.useCallback(a=>{s({search:(r=>({...r,view:a==="all"?"all":void 0}))})},[s]);return{view:t,setView:i}}function me(){const[s]=l.useState(()=>C.getState().lastSeenAt);return l.useEffect(()=>{const{markSeen:n,setViewing:t}=C.getState();return n(),t(!0),()=>{n(),t(!1)}},[]),s}function he(s){const n=l.useRef(null),t=l.useCallback(i=>{var d,m,u;const a=n.current;if(!a)return;const r=a.querySelectorAll("[data-activity-row]"),o=Array.from(r).findIndex(h=>h===document.activeElement||h.contains(document.activeElement));switch(i.key){case"ArrowDown":{i.preventDefault();const h=Math.min(o+1,r.length-1);(d=r[h])==null||d.focus();break}case"ArrowUp":{i.preventDefault();const h=Math.max(o-1,0);(m=r[h])==null||m.focus();break}case"Escape":{(u=document.activeElement)==null||u.blur();break}}},[s]);return{containerRef:n,handleKeyDown:t}}const xe=["tasks","relay","agent","config","system","permissions"],L="group inline-flex min-h-11 shrink-0 items-center outline-none md:min-h-0",$="inline-flex h-6 items-center rounded-full px-2.5 text-xs font-medium transition-colors group-focus-visible:ring-ring group-focus-visible:ring-2 group-focus-visible:ring-offset-1";function fe({category:s,isActive:n,onToggle:t}){const i=w[s];return e.jsx(g.button,{type:"button",layout:!0,onClick:t,"aria-pressed":n,transition:{duration:.15},className:L,children:e.jsx("span",{className:x($,n?x(i.bg,i.text):"text-muted-foreground group-hover:bg-muted group-hover:text-foreground"),children:i.label})})}function ge({isActive:s,onClick:n}){return e.jsx(g.button,{type:"button",layout:!0,onClick:n,"aria-pressed":s,transition:{duration:.15},className:L,children:e.jsx("span",{className:x($,s?"bg-foreground text-background":"text-muted-foreground group-hover:bg-muted group-hover:text-foreground"),children:"All"})})}function ye({className:s}){const{filters:n,isFiltered:t,toggleCategory:i,clearAll:a}=A(),r=l.useRef(null),o=O(r,"horizontal"),d=new Set(n.categories?n.categories.split(","):[]),m=()=>{t&&a()};return e.jsxs("div",{className:x("relative",s),children:[e.jsxs("div",{ref:r,onScroll:o.onScroll,"data-slot":"activity-filter-bar",className:"flex items-center gap-1 overflow-x-auto",children:[e.jsx(ge,{isActive:!t,onClick:m}),xe.map(u=>e.jsx(fe,{category:u,isActive:d.has(u),onToggle:()=>i(u)},u)),e.jsx(V,{children:t&&e.jsx(g.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},children:e.jsxs(M,{variant:"ghost",size:"xs",className:"ml-1",onClick:a,children:[e.jsx(Y,{"aria-hidden":!0}),"Clear"]})},"clear-filters")})]}),o.start&&e.jsx("div",{"aria-hidden":!0,"data-testid":"activity-filter-bar-fade-start",className:"from-background via-background/70 pointer-events-none absolute inset-y-0 left-0 w-8 bg-gradient-to-r to-transparent"}),o.end&&e.jsx("div",{"aria-hidden":!0,"data-testid":"activity-filter-bar-fade-end",className:"from-background via-background/70 pointer-events-none absolute inset-y-0 right-0 w-8 bg-gradient-to-l to-transparent"})]})}function pe({isFiltered:s=!1,view:n="activity",className:t}){const{filters:i,clearAll:a}=A();return n==="all"?e.jsx(b,{className:t,icon:j,headline:"No actions yet",description:"Every action a person or agent takes shows up here."}):s?e.jsx(b,{className:t,icon:j,headline:`No ${ve(i.categories)} activity found`,description:"Try other filters.",action:{label:"Clear filters",onClick:a,variant:"outline"}}):e.jsx(b,{className:t,icon:j,headline:"No activity yet",description:"Your agents’ work shows up here."})}function ve(s){if(!s)return"matching";const t=s.split(",").map(r=>{var o;return((o=w[r])==null?void 0:o.label)??r});if(t.length===1)return t[0];const i=t[t.length-1];return`${t.slice(0,-1).join(", ")} or ${i}`}function je({view:s,onViewChange:n,className:t}){return e.jsxs(G,{"aria-label":"Which list to show",className:x("w-fit shrink-0",t),value:s,onValueChange:i=>n(i),children:[e.jsx(k,{value:"activity",children:"Activity"}),e.jsx(k,{value:"all",children:"All actions"})]})}function be(s){const n=Date.now()-new Date(s).getTime(),t=Math.floor(n/36e5);return t<1?"recently":t<24?`${t}h ago`:`${Math.floor(t/24)}d ago`}function we(s,n){const t=new Date(n),i={};for(const a of s)new Date(a.occurredAt)>t&&(i[a.category]=(i[a.category]??0)+1);return i}function Ae(s){const n={tasks:"scheduled run",relay:"message",agent:"agent update",config:"settings change",system:"system event",permissions:"permission change"};return Object.entries(s).filter(([,t])=>t>0).map(([t,i])=>{const a=n[t];return`${i} ${i===1?a:`${a}s`}`}).join(" · ")}function Ne({lastVisitedAt:s,items:n,className:t}){if(!s)return null;const i=we(n,s);if(Object.values(i).reduce((d,m)=>d+(m??0),0)===0)return null;const r=be(s),o=Ae(i);return e.jsxs(g.div,{"data-slot":"activity-since-last-visit",initial:{opacity:0,y:-6},animate:{opacity:1,y:0},transition:{duration:.2,ease:"easeOut"},className:x("rounded-lg border px-4 py-3","bg-card border-border",t),children:[e.jsxs("p",{className:"text-muted-foreground text-xs",children:[e.jsx("span",{className:"text-foreground font-medium",children:"Since your last visit"})," ",e.jsxs("span",{children:["(",r,")"]})]}),e.jsx("p",{className:"text-foreground/80 mt-0.5 text-sm",children:o}),e.jsx("div",{className:"mt-2 flex flex-wrap gap-2",children:Object.keys(i).map(d=>{const m=i[d];if(!m)return null;const u=w[d];return e.jsxs(q,{shape:"pill",className:x("border-transparent",u.bg,u.text),children:[m," ",u.label]},d)})})]})}const Ce={initial:{opacity:0,y:6},animate:{opacity:1,y:0,transition:{duration:.2,ease:"easeOut"}}};function ke(){const s=l.useId(),n=l.useMemo(()=>`${s.split("").reduce((i,a)=>i+a.charCodeAt(0),0)%40+50}%`,[s]);return e.jsxs(ce,{children:[e.jsx(p,{className:"w-28 py-1.5 pr-0 pl-2 max-sm:hidden",children:e.jsx(v,{className:"h-3 w-20"})}),e.jsx(p,{className:"w-24 py-1.5 pr-0 max-sm:hidden",children:e.jsx(v,{className:"h-5 w-20 rounded-full"})}),e.jsx(p,{className:"py-1.5 max-sm:pl-2",children:e.jsx(v,{className:"h-3 rounded",style:{width:n}})}),e.jsx(p,{className:"w-16 py-1.5 max-sm:w-10"})]})}function Se(){return e.jsxs("div",{"data-slot":"activity-timeline-skeleton",className:"space-y-1",children:[e.jsx("div",{className:"py-2",children:e.jsx(v,{className:"h-3 w-16 rounded"})}),e.jsx(P,{children:e.jsx(_,{children:Array.from({length:5}).map((s,n)=>e.jsx(ke,{},n))})})]})}function H({items:s,isLoading:n,isError:t,onRetry:i,isFiltered:a,view:r="activity",className:o}){const d=l.useMemo(()=>se(s,new Date),[s]),{containerRef:m,handleKeyDown:u}=he(s.length);return n&&s.length===0?e.jsx("div",{"data-slot":"activity-timeline",className:x(o),children:e.jsx(Se,{})}):t&&s.length===0?e.jsx("div",{"data-slot":"activity-timeline",className:x(o),children:e.jsx(ne,{onRetry:i})}):s.length===0?e.jsx("div",{"data-slot":"activity-timeline",className:x(o),children:e.jsx(pe,{isFiltered:a,view:r})}):e.jsx("div",{ref:m,onKeyDown:u,"data-slot":"activity-timeline",className:x(o),children:d.map(h=>e.jsxs("section",{children:[e.jsx(ie,{label:h.label}),e.jsx(g.div,{variants:Ce,initial:"initial",animate:"animate",children:e.jsx(P,{children:e.jsx(_,{children:h.items.map(c=>e.jsx(oe,{item:c},c.id))})})})]},h.label))})}function W({onLoadMore:s,isFetching:n,hasNextPage:t,className:i}){return t?e.jsx(g.div,{"data-slot":"activity-load-more",initial:{opacity:0},animate:{opacity:1},transition:{duration:.2,delay:.1},className:x("flex justify-center py-4",i),children:e.jsxs(M,{variant:"outline",size:"sm",onClick:s,disabled:n,className:"gap-2",children:[n&&e.jsx(K,{size:"xs"}),"Load 50 more events"]})}):null}const T=7;function Te(){var t;const s=z(),{data:n}=U({queryKey:X.dailyCounts(T),queryFn:()=>s.getSessionDailyCounts(T),staleTime:6e4});return!n||n.dailyCounts.length===0?null:{dailyCounts:n.dailyCounts,degraded:(((t=n.warnings)==null?void 0:t.length)??0)>0}}function Ie(s,n){const t=s.reduce((a,r)=>a+r,0),i=t===1?"session":"sessions";return n?t===0?"This week’s count is incomplete":`Your agents started at least ${t} ${i} this week`:t===0?"Your agents started no chats this week":`Your agents started ${t} ${i} this week`}const I=10,Ee=4,E=30,F=1;function Fe({data:s,className:n}){const t=Math.max(...s,1);return e.jsx("svg",{viewBox:"0 0 100 30",className:x("text-muted-foreground",n),"aria-hidden":"true",children:s.map((i,a)=>{const r=i/t*E;return e.jsx("rect",{x:a*(I+Ee)+1,y:E-Math.max(r,F),width:I,height:Math.max(r,F),rx:2,fill:"currentColor",opacity:.6},a)})})}function Re(){const s=Te();return s===null?null:e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("p",{className:"text-muted-foreground text-sm",children:Ie(s.dailyCounts,s.degraded)}),e.jsx(Fe,{data:s.dailyCounts,className:"h-6 w-24 shrink-0"})]})}function De(){const s=l.useId(),n=Q("dashboard.sections"),t=l.useMemo(()=>n.filter(a=>Z(a.id)&&(!a.visibleWhen||a.visibleWhen())),[n]),i=le("dashboard.sections");return t.length===0&&i.length===0?null:e.jsxs("section",{className:"space-y-3","aria-labelledby":s,children:[e.jsx("h2",{id:s,className:"text-muted-foreground text-xs font-medium tracking-widest uppercase",children:"From your extensions"}),e.jsx(ue,{slot:"dashboard.sections",onReview:()=>J()}),e.jsx("div",{className:"space-y-4",children:t.map(a=>e.jsx(a.component,{},a.id))})]})}function Me(){const{view:s,setView:n}=de();return e.jsxs(e.Fragment,{children:[e.jsx(ee,{children:"Activity"}),e.jsxs(te,{width:"wide",className:"space-y-4",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[e.jsx(je,{view:s,onViewChange:n}),s==="activity"&&e.jsx(ye,{className:"min-w-0 flex-1"})]}),e.jsx(Re,{}),e.jsx(De,{}),s==="all"?e.jsx(_e,{}):e.jsx(Pe,{})]})]})}function Pe(){const{queryFilters:s,isFiltered:n}=A(),t=me(),{data:i,isLoading:a,isError:r,refetch:o,isFetchingNextPage:d,hasNextPage:m,fetchNextPage:u}=re(s),h=l.useMemo(()=>(i==null?void 0:i.pages.flatMap(c=>c.items))??[],[i]);return e.jsxs(e.Fragment,{children:[e.jsx(Ne,{lastVisitedAt:t,items:h}),e.jsx(H,{items:h,isLoading:a,isError:r,onRetry:()=>void o(),isFiltered:n}),e.jsx(W,{onLoadMore:()=>void u(),isFetching:d,hasNextPage:!!m})]})}function _e(){const{data:s,isLoading:n,isError:t,refetch:i,isFetchingNextPage:a,hasNextPage:r,fetchNextPage:o}=ae();return e.jsxs(e.Fragment,{children:[e.jsx(H,{items:s??[],isLoading:n,isError:t,onRetry:()=>void i(),isFiltered:!1,view:"all"}),e.jsx(W,{onLoadMore:()=>void o(),isFetching:a,hasNextPage:!!r})]})}const Ge=Me;export{Ge as component};
|
package/dist/client/assets/{_shell._home.index-CTBWy5Au.js → _shell._home.index-BsLNqt4f.js}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{kH as be,kI as ye,j as t,i1 as $,i2 as F,i3 as L,i4 as q,i5 as z,_ as I,at as A,Q as Se,T as Ne,C as ke,V as we,kJ as B,B as b,kK as Re,kL as Ce,cs as W,e as C,G as y,s as H,r as m,J as Ie,kM as Ae,ah as Pe,ai as De,ee as Oe,aW as Me,X as oe,kN as Te,kO as Ee,aO as $e,e3 as ie,iX as Fe,bw as V,ap as R,U as Le,kP as qe,ja as ze,kQ as Be,ez as We,eA as He,j8 as _e,jf as Ue,kR as Ke,kS as Ve,et as ae,ev as Ge,kT as Qe,da as re,ab as Ye,ew as Xe,j9 as Je,l as le,kU as de,kV as ce,gv as Ze,kW as _,eu as et,bd as tt,aZ as st,hh as nt,hI as ot,kX as it,aL as at,gx as ue,g as rt,gw as me,kY as G,ag as Q,cg as lt,kZ as dt,k_ as ct,k$ as ut,a1 as mt,l0 as ht,co as gt,bY as ft,jx as pt,aN as xt,im as jt,eS as M,kl as vt,q as Y,e1 as bt,gA as yt,l1 as St,n as Nt}from"./index-B48IJBNm.js";import{I as kt,p as wt}from"./ChannelComposer-BHxXoQwT.js";import{b as Rt}from"./registry-BxY1lah6.js";import{R as Ct}from"./RoomSurface-Mt3dk4_6.js";import{P as he}from"./PromptSuggestionChips-BopMvYe7.js";import{S as U}from"./scroll-area-D6gNpFjK.js";import{d as It}from"./dead-letter-reasons-DtBHju9v.js";import{u as At}from"./use-mesh-topology-DNXD7seM.js";import{A as Pt}from"./AttentionSignalRow-Cx9-sStN.js";import{u as ge}from"./use-promo-dismissals-DQi8tey8.js";import{u as Dt,s as Ot,P as Mt,a as Tt}from"./use-promo-activation-DesLEeyi.js";import"./WidgetErrorCard-BZkAK-Ke.js";import"./index-Hf3kLtiJ.js";import"./card-D9DO5nt4.js";import"./progress-AKcr8opu.js";import"./markdown-content-BA0KEJH_.js";import"./table-D6BUawIb.js";import"./package-CxZe6vve.js";import"./heart-CRoafWCm.js";import"./git-branch-DlUQMA-U.js";import"./file-text-DXPPkxAL.js";import"./file-CKSjJRX5.js";import"./repeat-zL9y24zY.js";import"./use-room-sessions-C6wsszcG.js";import"./find-latest-widget-fence-BsDq4SYp.js";import"./format-duration-BCr6uzby.js";import"./RuntimeSetupDialog-NKy3mLEH.js";import"./inline-code-BCFlKPIb.js";import"./list-runtime-types-B1J9AtqH.js";import"./RuntimeConnectFlow-hhvWVRMu.js";import"./useMutationState-BX-ggHVY.js";import"./runtime-connect-Dn0T5YWv.js";import"./mention-pill-0aHe3D1A.js";import"./rotate-ccw-clock-BUhy2_cF.js";import"./unplug-BVIT6OSL.js";import"./message-square-off-DvVenheW.js";import"./registry-CWK5lzYs.js";import"./file-drag-GDx2qhdk.js";import"./paperclip-D3-8ygf1.js";import"./index-ByyXrDny.js";import"./use-transform-CNLqlc2h.js";import"./pane-resize-handle-ojhYGmDs.js";import"./UnreadDivider-C52_nmrB.js";import"./use-room-follow-claim-C4UikQzz.js";import"./use-connector-management-DDlpD6tk.js";import"./AgentRequestCard-BTyuNOhU.js";import"./access-copy-CP0B1ZT9.js";import"./query-error-state-CRmZMMkL.js";import"./empty-state-2mQX7azC.js";import"./use-bindings-DdWRXvtd.js";import"./connection-copy--MA7AN04.js";import"./KeyEntry-BerpQFQT.js";import"./use-update-config-B2rsDnxk.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(q,{children:"Messages that never arrived"}),t.jsx(z,{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(B,{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"needs_attention":return{label:"Needs attention",badge:"destructive",tone:"error",heading:"What it needed",title:"Run that was refused a tool"};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"},neutral:{box:"bg-muted border-border",heading:"text-foreground",body:"text-foreground/80"}};function qt({open:e,itemId:n,onClose:o}){const{data:s,isLoading:i,isError:a}=Re(e?n??null:null),r=Ce(),l=W(),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(q,{children:(h==null?void 0:h.title)??"Run that needs a look"}),t.jsx(z,{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(B,{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 zt({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 Bt({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(q,{children:"Agents that aren’t answering"}),t.jsxs(z,{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(zt,{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(B,{children:t.jsx(b,{variant:"outline",onClick:n,children:"Close"})})]})})}function Wt(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(Wt),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 Kt(){const e=Ht();return e===null?null:t.jsx(Ut,{promo:e},e.id)}const Vt=["report.daily"];function fe(){const{notifications:e}=Te({kinds:Vt,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 Qt({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 Yt="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(V,{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",Yt),children:[k&&t.jsxs(T,{title:"Waiting on you",children:[(n.length>0||o.length>0)&&t.jsx(qe,{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(ze,{approvals:e}),e.length===0&&a&&t.jsx(Be,{onRetry:r}),t.jsx(V,{initial:!1,children:l.map(S=>t.jsx(We,{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(Qt,{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=Ke(),c=Ve(l),{schedules:h,errors:g,activity:f}=ae(),j=Ge(),x=fe(),{mutate:u}=Qe(),p=re({strict:!1}),v=W(),N=Ye(),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:K=>{v(H({session:K}))},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(qt,{open:p.detail==="failed-run",itemId:p.itemId,onClose:w}),t.jsx(Bt,{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(Kt,{})}):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:Q(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:Q(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(`
|
|
1
|
+
import{kH as be,kI as ye,j as t,i1 as $,i2 as F,i3 as L,i4 as q,i5 as z,_ as I,at as A,Q as Se,T as Ne,C as ke,V as we,kJ as B,B as b,kK as Re,kL as Ce,cs as W,e as C,G as y,s as H,r as m,J as Ie,kM as Ae,ah as Pe,ai as De,ee as Oe,aW as Me,X as oe,kN as Te,kO as Ee,aO as $e,e3 as ie,iX as Fe,bw as V,ap as R,U as Le,kP as qe,ja as ze,kQ as Be,ez as We,eA as He,j8 as _e,jf as Ue,kR as Ke,kS as Ve,et as ae,ev as Ge,kT as Qe,da as re,ab as Ye,ew as Xe,j9 as Je,l as le,kU as de,kV as ce,gv as Ze,kW as _,eu as et,bd as tt,aZ as st,hh as nt,hI as ot,kX as it,aL as at,gx as ue,g as rt,gw as me,kY as G,ag as Q,cg as lt,kZ as dt,k_ as ct,k$ as ut,a1 as mt,l0 as ht,co as gt,bY as ft,jx as pt,aN as xt,im as jt,eS as M,kl as vt,q as Y,e1 as bt,gA as yt,l1 as St,n as Nt}from"./index-OQuvRZTD.js";import{I as kt,p as wt}from"./ChannelComposer-qhk0KtW7.js";import{b as Rt}from"./registry-BzXBOE9h.js";import{R as Ct}from"./RoomSurface-DgH3a_Fv.js";import{P as he}from"./PromptSuggestionChips-BXxC799Q.js";import{S as U}from"./scroll-area-FwZwM74Q.js";import{d as It}from"./dead-letter-reasons-DtBHju9v.js";import{u as At}from"./use-mesh-topology-BTYAy6zc.js";import{A as Pt}from"./AttentionSignalRow-5E7TkG98.js";import{u as ge}from"./use-promo-dismissals-CO7-qhEl.js";import{u as Dt,s as Ot,P as Mt,a as Tt}from"./use-promo-activation-5HG08FlB.js";import"./WidgetErrorCard-BlqaIsPK.js";import"./index-CoKNU2F9.js";import"./card-DUmTNXJJ.js";import"./progress-77FCPL2y.js";import"./markdown-content-Cjhsscbn.js";import"./table-D9ww_3Ij.js";import"./package-sPggO7Dr.js";import"./heart-BavUIV45.js";import"./git-branch-B8JNwQ6q.js";import"./file-text-Ds9edaTZ.js";import"./file-D80JE_L0.js";import"./repeat-CHmB_vD7.js";import"./use-room-sessions-Bzk7rM40.js";import"./find-latest-widget-fence-BtqFMP_f.js";import"./format-duration-BCr6uzby.js";import"./RuntimeSetupDialog-D6L1QhMF.js";import"./inline-code-SYHTKcle.js";import"./list-runtime-types-CsGil5te.js";import"./RuntimeConnectFlow-DXWGgvCW.js";import"./useMutationState-BF1EFtIZ.js";import"./runtime-connect-Dn0T5YWv.js";import"./mention-pill-BsOeTJ2f.js";import"./rotate-ccw-clock-CCU6SVnv.js";import"./unplug-BZ8zSvfB.js";import"./message-square-off-aV4NMCjd.js";import"./registry-sfhDu9q2.js";import"./file-drag-GDx2qhdk.js";import"./paperclip-WhPo3_WD.js";import"./index-n_pnc-CO.js";import"./use-transform-ByJGn3hq.js";import"./pane-resize-handle-63OC5vfI.js";import"./UnreadDivider-Ckey1IWn.js";import"./use-room-follow-claim-DRQBuAIe.js";import"./use-connector-management-DEMGZy9N.js";import"./AgentRequestCard-DXJnLk6q.js";import"./access-copy-Dqct36mi.js";import"./query-error-state-5236P3z0.js";import"./empty-state-CACt-76q.js";import"./use-bindings-BLAWQRpe.js";import"./connection-copy--MA7AN04.js";import"./KeyEntry-C43vkwpA.js";import"./use-update-config-L5NCTj3t.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(q,{children:"Messages that never arrived"}),t.jsx(z,{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(B,{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"needs_attention":return{label:"Needs attention",badge:"destructive",tone:"error",heading:"What it needed",title:"Run that was refused a tool"};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"},neutral:{box:"bg-muted border-border",heading:"text-foreground",body:"text-foreground/80"}};function qt({open:e,itemId:n,onClose:o}){const{data:s,isLoading:i,isError:a}=Re(e?n??null:null),r=Ce(),l=W(),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(q,{children:(h==null?void 0:h.title)??"Run that needs a look"}),t.jsx(z,{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(B,{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 zt({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 Bt({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(q,{children:"Agents that aren’t answering"}),t.jsxs(z,{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(zt,{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(B,{children:t.jsx(b,{variant:"outline",onClick:n,children:"Close"})})]})})}function Wt(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(Wt),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 Kt(){const e=Ht();return e===null?null:t.jsx(Ut,{promo:e},e.id)}const Vt=["report.daily"];function fe(){const{notifications:e}=Te({kinds:Vt,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 Qt({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 Yt="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(V,{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",Yt),children:[k&&t.jsxs(T,{title:"Waiting on you",children:[(n.length>0||o.length>0)&&t.jsx(qe,{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(ze,{approvals:e}),e.length===0&&a&&t.jsx(Be,{onRetry:r}),t.jsx(V,{initial:!1,children:l.map(S=>t.jsx(We,{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(Qt,{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=Ke(),c=Ve(l),{schedules:h,errors:g,activity:f}=ae(),j=Ge(),x=fe(),{mutate:u}=Qe(),p=re({strict:!1}),v=W(),N=Ye(),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:K=>{v(H({session:K}))},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(qt,{open:p.detail==="failed-run",itemId:p.itemId,onClose:w}),t.jsx(Bt,{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(Kt,{})}):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:Q(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:Q(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
2
|
`),[o]),l=m.useMemo(()=>r.length===0?[]:r.split(`
|
|
3
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=W(),{open:s}=vt(),i=m.useCallback(r=>{if(r.kind==="room"){Y.getState().recordOpened("room",r.roomId),o({...le.channels(),search:{id:r.roomId}});return}r.cwd&&Y.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};
|
package/dist/client/assets/{_shell._home.tasks-DWFh5Qbq.js → _shell._home.tasks-Cxs5tLWA.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,G as R,ap as f,bc as _,B as E,eX as C,r as n,eY as D,eZ as b,e_ as F,e$ as M,f0 as B,e as L,f1 as u,f2 as z,c_ as H,e1 as G,bd as U,aZ as Z,cZ as K,b0 as Q}from"./index-
|
|
1
|
+
import{j as e,G as R,ap as f,bc as _,B as E,eX as C,r as n,eY as D,eZ as b,e_ as F,e$ as M,f0 as B,e as L,f1 as u,f2 as z,c_ as H,e1 as G,bd as U,aZ as Z,cZ as K,b0 as Q}from"./index-OQuvRZTD.js";import{Q as V}from"./query-error-state-5236P3z0.js";import{P as N}from"./page-container-CnfDuiDC.js";import{F as W,T as X,C as $}from"./TasksEmptyState-C_3UkAbA.js";import{i as Y}from"./registry-sfhDu9q2.js";import{u as q,S as J}from"./search-x-Q18Wm-C5.js";import{S as ee}from"./scroll-area-FwZwM74Q.js";import"./empty-state-CACt-76q.js";import"./inline-code-SYHTKcle.js";import"./form-D93N5lrK.js";import"./command-BVQb6I3_.js";import"./AgentPicker-B7upjYRk.js";import"./AgentOptionRow-BRJfZo2y.js";import"./execution-config-CGL73sRn.js";import"./settings-for-runtime-BoOa-ZFG.js";import"./list-runtime-types-CsGil5te.js";import"./format-cron-BpGrgPLu.js";const te="relative after:absolute after:-inset-x-1 after:-inset-y-2 md:after:hidden";function se({count:a,active:r,onToggle:d}){return e.jsxs("button",{type:"button","data-slot":"tasks-failing-chip","aria-pressed":r,onClick:d,className:R("text-destructive hover:bg-destructive/10 inline-flex h-7 items-center gap-1.5 rounded-md border px-2.5 text-xs",te,r?"border-destructive/50 bg-destructive/10":"border-input"),children:["Failing",e.jsx("span",{className:"font-medium tabular-nums",children:a})]})}function ae({count:a,onShow:r}){return e.jsxs(e.Fragment,{children:[e.jsx("span",{"aria-hidden":!0,children:"·"}),e.jsxs("button",{type:"button","data-slot":"tasks-failing-count",onClick:r,className:"text-destructive rounded-sm underline-offset-2 hover:underline",children:[a," failing"]})]})}function ie({onShowAll:a}){return e.jsxs(f.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},"data-slot":"tasks-nothing-failing",className:"flex flex-col items-center justify-center gap-3 py-12 text-center",children:[e.jsx(_,{className:"text-muted-foreground/50 size-10","aria-hidden":!0}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Nothing is failing. Every schedule’s last run did its job."}),e.jsx(E,{variant:"outline",size:"sm",onClick:a,children:"Show all"})]})}const ne=8,re={visible:{transition:{staggerChildren:.04}},hidden:{}},oe={hidden:{opacity:0,y:8},visible:{opacity:1,y:0}};function le({tasks:a,isLoading:r,agentMap:d,onEditTask:k,agentId:x}){const s=q(C,{debounce:{search:200}}),[c]=n.useState(0),[v,h]=n.useState(null),o=n.useMemo(()=>x?a.filter(t=>t.agentId===x):a,[a,x]),j=n.useMemo(()=>[...new Set(o.map(t=>t.agentId).filter(t=>!!t))],[o]),m=n.useMemo(()=>{const t=D(o,C,s.values,F,{field:s.sortField||b,direction:s.sortDirection});return s.sortField?t:M(t)},[o,s.values,s.sortField,s.sortDirection]),l=n.useMemo(()=>o.filter(B).length,[o]),g=s.values.health==="failing",y=()=>s.set("health",g?"":"failing");return r?e.jsx("div",{className:"space-y-3 py-4",children:Array.from({length:3}).map((t,p)=>e.jsx(L,{className:"h-14 w-full rounded-xl"},p))}):e.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[e.jsxs(u,{state:s,className:"px-0",children:[e.jsx(u.Search,{placeholder:"Filter tasks…"}),(l>0||g)&&e.jsx(se,{count:l,active:g,onToggle:y}),e.jsx(u.Primary,{name:"status"}),e.jsx(u.AddFilter,{dynamicOptions:{agent:j}}),e.jsx(u.Sort,{options:F,defaultField:b}),e.jsx(u.ResultCount,{count:m.length,total:o.length,noun:"schedule",children:l>0&&e.jsx(ae,{count:l,onShow:()=>s.set("health","failing")})}),e.jsx(u.ActiveFilters,{})]}),e.jsx(ee,{className:"min-h-0 flex-1","data-testid":z.tasksList,children:e.jsx("div",{className:"space-y-2 pb-4",children:m.length===0&&g&&l===0?e.jsx(ie,{onShowAll:()=>s.clear("health")}):m.length===0&&o.length>0?e.jsxs(f.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(J,{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(E,{variant:"outline",size:"sm",onClick:s.clearAll,children:"Clear filters"})]}):e.jsx(f.div,{initial:"hidden",animate:"visible",variants:re,className:"space-y-2",children:m.map((t,p)=>e.jsx(f.div,{variants:p<ne?oe:void 0,transition:{duration:.15},children:e.jsx(H,{task:t,agent:(t.agentId?d.get(t.agentId):void 0)??null,expanded:v===t.id,onToggleExpand:()=>h(v===t.id?null:t.id),onEdit:()=>k(t)})},t.id))},c)})})]})}function de(){return e.jsxs(e.Fragment,{children:[e.jsx(G,{children:"Schedules"}),e.jsx(ce,{})]})}function ce(){const a=U(),{data:r=[],isLoading:d,isError:k,refetch:x}=Z(a),[s,c]=n.useState(!1),[v,h]=n.useState(),[o,j]=n.useState(null),m=r.some(i=>i.agentId),{data:l}=K(void 0,m||!d),g=n.useMemo(()=>{const i=new Map;for(const S of(l==null?void 0:l.agents)??[])i.set(S.id,S);return i},[l]),{externalTrigger:y,clear:t}=Q(),[p,T]=n.useState(!1);y&&!p&&!s?(T(!0),h(void 0),c(!0),t()):!y&&p&&T(!1);const A=i=>{j(i),h(void 0),c(!0)},O=()=>{j(null),h(void 0),c(!0)},w=i=>{h(i),c(!0)},P=i=>{c(i),i||j(null)};if(!a)return e.jsx(W,{icon:Y.tasks,name:"Scheduling",description:"Agents run tasks on a schedule, even while you’re away.",command:"dorkos --tasks"});if(k)return e.jsx(V,{className:"h-full",title:"Couldn’t load your scheduled tasks",description:"The DorkOS server didn’t answer. Check that it’s running.",onRetry:()=>void x()});const I=r.length>0;return e.jsxs(e.Fragment,{children:[!I&&!d?e.jsx(f.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.15},className:"h-full min-h-0",children:e.jsx(N,{width:"full",children:e.jsx(X,{onCreateWithPreset:A,onCreateBlank:O})})}):e.jsx(f.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.15},className:"h-full min-h-0",children:e.jsx(N,{width:"full",scroll:!1,children:e.jsx(le,{tasks:r,isLoading:d,agentMap:g,onEditTask:w})})}),e.jsx($,{open:s,onOpenChange:P,editTask:v,initialPreset:o})]})}const Ee=de;export{Ee as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a1 as j,a2 as g,r as f,j as e,e1 as N,ak as i,a0 as b,e2 as y,_ as u,b6 as w}from"./index-
|
|
1
|
+
import{a1 as j,a2 as g,r as f,j as e,e1 as N,ak as i,a0 as b,e2 as y,_ as u,b6 as w}from"./index-OQuvRZTD.js";import{I as C}from"./inline-code-SYHTKcle.js";import{T,d as v,b as p,e as c,a as k,c as d}from"./table-D9ww_3Ij.js";import{P as S}from"./page-container-CnfDuiDC.js";import{G as L}from"./git-branch-B8JNwQ6q.js";const F=["workspaces","scan"],P=6e4;function W(){var a,n,l;const s=j(),t=g({queryKey:F,queryFn:()=>s.scanWorktrees(),staleTime:P,refetchOnWindowFocus:!0});return{root:((a=t.data)==null?void 0:a.root)??null,worktrees:((n=t.data)==null?void 0:n.worktrees)??[],warnings:((l=t.data)==null?void 0:l.warnings)??[],isLoading:t.isLoading,isError:t.isError}}const m="—";function A(s){return s.changedFiles===null?m:s.changedFiles===0?"Clean":`${s.changedFiles} changed`}function B(s){const{ahead:t,behind:a,upstreamGone:n}=s;return n?"Branch merged or deleted":t===null||a===null?m:t===0&&a===0?"In sync":[t>0&&`${t} ahead`,a>0&&`${a} behind`].filter(Boolean).join(" · ")}function E({worktree:s}){const t=(s.changedFiles??0)>0;return e.jsxs(p,{children:[e.jsxs(d,{className:"max-w-0",children:[e.jsx("div",{className:"truncate font-medium",children:s.name}),e.jsx("div",{className:"text-muted-foreground truncate text-xs",title:s.path,children:i(s.path)})]}),e.jsx(d,{className:"max-w-0",children:s.readable?s.branch?e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(L,{className:"text-muted-foreground size-3.5 shrink-0"}),e.jsx("span",{className:"truncate text-xs",children:s.branch})]}):e.jsx("span",{className:"text-muted-foreground text-xs",children:"No branch"}):e.jsx(u,{variant:"outline",title:"DorkOS couldn’t read this folder with git.",children:"Can’t read"})}),e.jsx(d,{className:t?"text-status-warning-fg":"text-muted-foreground",children:e.jsx("span",{className:"text-xs whitespace-nowrap",children:A(s)})}),e.jsx(d,{className:"text-muted-foreground hidden md:table-cell",children:e.jsx("span",{className:"text-xs whitespace-nowrap",children:B(s)})}),e.jsx(d,{className:"text-muted-foreground hidden sm:table-cell",children:e.jsx("span",{className:"text-xs whitespace-nowrap",children:s.lastCommitAt?w(s.lastCommitAt):m})})]})}function G({project:s,worktrees:t}){return e.jsxs("section",{children:[e.jsxs("h2",{className:"mb-3 flex items-center gap-2 text-sm font-semibold",children:[s,e.jsx(u,{variant:"secondary",children:t.length})]}),e.jsx("div",{className:"bg-card rounded-lg border",children:e.jsxs(T,{children:[e.jsx(v,{children:e.jsxs(p,{children:[e.jsx(c,{children:"Folder"}),e.jsx(c,{children:"Branch"}),e.jsx(c,{children:"Changes"}),e.jsx(c,{className:"hidden md:table-cell",children:"Compared to remote"}),e.jsx(c,{className:"hidden sm:table-cell",children:"Last commit"})]})}),e.jsx(k,{children:t.map(a=>e.jsx(E,{worktree:a},a.path))})]})})]})}function H(){const{root:s,worktrees:t,warnings:a,isLoading:n,isError:l}=W(),x=f.useMemo(()=>{const r=new Map;for(const o of t){const h=r.get(o.project)??[];h.push(o),r.set(o.project,h)}return[...r.entries()]},[t]);return e.jsxs(S,{width:"wide",children:[e.jsx(N,{children:"Workspaces"}),e.jsx("p",{className:"text-muted-foreground mb-6 text-sm",children:"Copies of your code, per agent."}),a.length>0&&e.jsxs("div",{className:"mb-6 rounded-lg border border-amber-600/40 bg-amber-500/10 p-4",children:[e.jsx("p",{className:"text-sm font-medium",children:"Some folders couldn’t be read"}),e.jsx("p",{className:"text-muted-foreground mt-1 text-sm",children:"This list may be missing what’s inside them."}),e.jsx("ul",{className:"text-muted-foreground mt-2 space-y-0.5 text-xs",children:a.map(r=>e.jsxs("li",{className:"truncate",title:r.path,children:[i(r.path)," (",r.reason,")"]},r.path))})]}),n?e.jsx("p",{className:"text-muted-foreground text-sm",children:"Looking for your worktrees…"}):l?e.jsxs("div",{className:"bg-card rounded-xl border p-10 text-center",children:[e.jsx(b,{className:"text-muted-foreground/60 mx-auto size-8"}),e.jsx("p",{className:"mt-3 font-medium",children:"Couldn’t check your worktrees"}),e.jsx("p",{className:"text-muted-foreground mt-1 text-sm",children:"The scan didn’t finish. DorkOS tries again on its own."})]}):x.length===0?e.jsxs("div",{className:"bg-card rounded-xl border p-10 text-center",children:[e.jsx(y,{className:"text-muted-foreground/60 mx-auto size-8"}),e.jsx("p",{className:"mt-3 font-medium",children:"No worktrees yet"}),e.jsx("p",{className:"text-muted-foreground mt-1 text-sm",children:"A worktree is a copy of your project, so agents’ edits never collide."}),s&&e.jsxs("p",{className:"text-muted-foreground mt-3 truncate text-xs",title:s,"data-slot":"workspaces-root-path",children:["Looking in ",e.jsx(C,{children:i(s)})]})]}):e.jsx("div",{className:"flex flex-col gap-8",children:x.map(([r,o])=>e.jsx(G,{project:r,worktrees:o},r))})]})}const K=H;export{K as component};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{O as Jt,r as f,j as e,gs as Qt,a1 as V,lw as mt,a2 as ft,lx as Y,a3 as ce,a4 as $e,ly as Wt,lz as fe,lA as X,co as Gt,lB as Vt,cf as Xt,gA as Zt,cs as Ie,l as Ne,lC as es,lD as ts,lE as ss,lF as Se,lG as Fe,B as S,lH as ns,cZ as ht,lI as pt,en as re,eg as xt,eh as gt,ei as yt,ej as vt,ek as _e,I as qe,bH as jt,h1 as as,bI as Nt,bJ as wt,bK as bt,bL as Ct,bM as St,bN as Rt,bP as rs,$ as is,lJ as os,lK as ls,lL as cs,l3 as he,d0 as He,d1 as Be,d3 as Je,d4 as Qe,d5 as We,eC as Ge,dN as Ve,dD as kt,lo as ds,lp as us,h$ as ms,lM as fs,lN as Xe,lO as hs,lP as ps,lQ as At,lR as xs,lS as Dt,lT as Tt,lU as gs,e1 as Mt,lV as ys,lW as vs,lX as js,ju as Ns,a0 as ws,er as bs,fA as Cs,lY as Ss,lZ as Rs,G as ve,b8 as Re,eq as Ze,Y as De,h2 as ks,l_ as As,l$ as rt,m0 as it,da as Et,m1 as Ds,m2 as Ts,kx as Ms,ab as Es,n as ot}from"./index-
|
|
1
|
+
import{O as Jt,r as f,j as e,gs as Qt,a1 as V,lw as mt,a2 as ft,lx as Y,a3 as ce,a4 as $e,ly as Wt,lz as fe,lA as X,co as Gt,lB as Vt,cf as Xt,gA as Zt,cs as Ie,l as Ne,lC as es,lD as ts,lE as ss,lF as Se,lG as Fe,B as S,lH as ns,cZ as ht,lI as pt,en as re,eg as xt,eh as gt,ei as yt,ej as vt,ek as _e,I as qe,bH as jt,h1 as as,bI as Nt,bJ as wt,bK as bt,bL as Ct,bM as St,bN as Rt,bP as rs,$ as is,lJ as os,lK as ls,lL as cs,l3 as he,d0 as He,d1 as Be,d3 as Je,d4 as Qe,d5 as We,eC as Ge,dN as Ve,dD as kt,lo as ds,lp as us,h$ as ms,lM as fs,lN as Xe,lO as hs,lP as ps,lQ as At,lR as xs,lS as Dt,lT as Tt,lU as gs,e1 as Mt,lV as ys,lW as vs,lX as js,ju as Ns,a0 as ws,er as bs,fA as Cs,lY as Ss,lZ as Rs,G as ve,b8 as Re,eq as Ze,Y as De,h2 as ks,l_ as As,l$ as rt,m0 as it,da as Et,m1 as Ds,m2 as Ts,kx as Ms,ab as Es,n as ot}from"./index-OQuvRZTD.js";import{T as Os,a as $s,R as Is}from"./RoomSurface-DgH3a_Fv.js";import{c as ge,C as ke}from"./registry-BzXBOE9h.js";import{M as Ls}from"./markdown-content-Cjhsscbn.js";import{o as Us,a as zs,c as Fs}from"./owner-notice-CTJbhUak.js";import{B as Ps}from"./banner-C9qTs6-C.js";import"./ChannelComposer-qhk0KtW7.js";import"./pane-resize-handle-63OC5vfI.js";import"./UnreadDivider-Ckey1IWn.js";import"./use-room-follow-claim-DRQBuAIe.js";import"./use-connector-management-DEMGZy9N.js";import"./AgentRequestCard-DXJnLk6q.js";import"./access-copy-Dqct36mi.js";import"./query-error-state-5236P3z0.js";import"./empty-state-CACt-76q.js";import"./use-bindings-BLAWQRpe.js";import"./connection-copy--MA7AN04.js";import"./KeyEntry-C43vkwpA.js";import"./use-room-sessions-Bzk7rM40.js";import"./file-D80JE_L0.js";import"./file-drag-GDx2qhdk.js";import"./find-latest-widget-fence-BtqFMP_f.js";import"./WidgetErrorCard-BlqaIsPK.js";import"./index-CoKNU2F9.js";import"./card-DUmTNXJJ.js";import"./progress-77FCPL2y.js";import"./table-D9ww_3Ij.js";import"./package-sPggO7Dr.js";import"./heart-BavUIV45.js";import"./git-branch-B8JNwQ6q.js";import"./file-text-Ds9edaTZ.js";import"./paperclip-WhPo3_WD.js";import"./index-n_pnc-CO.js";import"./RuntimeSetupDialog-D6L1QhMF.js";import"./inline-code-SYHTKcle.js";import"./list-runtime-types-CsGil5te.js";import"./RuntimeConnectFlow-DXWGgvCW.js";import"./useMutationState-BF1EFtIZ.js";import"./runtime-connect-Dn0T5YWv.js";import"./use-transform-ByJGn3hq.js";import"./repeat-CHmB_vD7.js";import"./format-duration-BCr6uzby.js";import"./mention-pill-BsOeTJ2f.js";import"./rotate-ccw-clock-CCU6SVnv.js";import"./unplug-BZ8zSvfB.js";import"./message-square-off-aV4NMCjd.js";import"./registry-sfhDu9q2.js";/**
|
|
2
2
|
* @license lucide-react v1.48.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|