@halcyonlabs/app 0.47.0-halcyon.607 → 0.47.0-halcyon.617
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/app/dist/assets/{AddMachineDialog-CG2ZZhp-.js → AddMachineDialog-Dl8463-H.js} +1 -1
- package/app/dist/assets/AddMachineDialog-Dl8463-H.js.br +0 -0
- package/app/dist/assets/AddMachineDialog-Dl8463-H.js.gz +0 -0
- package/app/dist/assets/{AppCommandShortcutHint-CCVkbqD1.js → AppCommandShortcutHint-BFFp1FEJ.js} +1 -1
- package/app/dist/assets/{AppFileExternalNavigationDispatcher-DETVZfBW.js → AppFileExternalNavigationDispatcher-Drn52GtO.js} +1 -1
- package/app/dist/assets/AppFileExternalNavigationDispatcher-Drn52GtO.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-Drn52GtO.js.gz +0 -0
- package/app/dist/assets/{AppToasterView-BpJaGVQ1.js → AppToasterView-C38q0zKd.js} +1 -1
- package/app/dist/assets/BrowserTabDeck-C1WR3N8t.js +1 -0
- package/app/dist/assets/BrowserTabDeck-C1WR3N8t.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-C1WR3N8t.js.gz +0 -0
- package/app/dist/assets/{CommandPaletteBody-BeiWvSTK.js → CommandPaletteBody-DYF_dqYa.js} +1 -1
- package/app/dist/assets/CommandPaletteBody-DYF_dqYa.js.br +0 -0
- package/app/dist/assets/CommandPaletteBody-DYF_dqYa.js.gz +0 -0
- package/app/dist/assets/DiffHost-BWn6U0v1.js +1 -0
- package/app/dist/assets/DiffHost-BWn6U0v1.js.br +0 -0
- package/app/dist/assets/DiffHost-BWn6U0v1.js.gz +0 -0
- package/app/dist/assets/{ExperimentalFileLinkMenu-CDVoETHe.js → ExperimentalFileLinkMenu-BKYFmwiR.js} +1 -1
- package/app/dist/assets/ExperimentalFileLinkMenu-BKYFmwiR.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-BKYFmwiR.js.gz +0 -0
- package/app/dist/assets/{FilePreview-CzacGZ35.js → FilePreview-U1tgNJMa.js} +2 -2
- package/app/dist/assets/FilePreview-U1tgNJMa.js.br +0 -0
- package/app/dist/assets/FilePreview-U1tgNJMa.js.gz +0 -0
- package/app/dist/assets/{GitDiffCardHeader-CJtFaq1K.js → GitDiffCardHeader-BzQWJkXM.js} +1 -1
- package/app/dist/assets/GitDiffCardHeader-BzQWJkXM.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-BzQWJkXM.js.gz +0 -0
- package/app/dist/assets/{InlineMessageEditorFrame-C0rqOlNn.js → InlineMessageEditorFrame-DBKxXp7v.js} +1 -1
- package/app/dist/assets/InlineMessageEditorFrame-DBKxXp7v.js.br +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-DBKxXp7v.js.gz +0 -0
- package/app/dist/assets/{MachineLabel-vUI5j8ve.js → MachineLabel-DS8PSJc_.js} +1 -1
- package/app/dist/assets/MachineLabel-DS8PSJc_.js.br +0 -0
- package/app/dist/assets/MachineLabel-DS8PSJc_.js.gz +0 -0
- package/app/dist/assets/{MachineRenameDialog-CrnZuppe.js → MachineRenameDialog-CQx4XFLY.js} +1 -1
- package/app/dist/assets/MachineRenameDialog-CQx4XFLY.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-CQx4XFLY.js.gz +0 -0
- package/app/dist/assets/MachineSettingsView-C72F-k0u.js +1 -0
- package/app/dist/assets/MachineSettingsView-C72F-k0u.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-C72F-k0u.js.gz +0 -0
- package/app/dist/assets/{MicrophonePreferences-wMQ36e_Q.js → MicrophonePreferences-CHIX4UC2.js} +1 -1
- package/app/dist/assets/MicrophonePreferences-CHIX4UC2.js.br +0 -0
- package/app/dist/assets/MicrophonePreferences-CHIX4UC2.js.gz +0 -0
- package/app/dist/assets/ModelReasoningMenu-CqzyGKPV.js +1 -0
- package/app/dist/assets/ModelReasoningMenu-CqzyGKPV.js.br +0 -0
- package/app/dist/assets/ModelReasoningMenu-CqzyGKPV.js.gz +0 -0
- package/app/dist/assets/MoonletDiff-Cn_8GRyT.js +1 -0
- package/app/dist/assets/MoonletDiff-Cn_8GRyT.js.br +0 -0
- package/app/dist/assets/MoonletDiff-Cn_8GRyT.js.gz +0 -0
- package/app/dist/assets/MoonletDiffSplit-BGjCtQ2R.js +2 -0
- package/app/dist/assets/MoonletDiffSplit-BGjCtQ2R.js.br +0 -0
- package/app/dist/assets/MoonletDiffSplit-BGjCtQ2R.js.gz +0 -0
- package/app/dist/assets/MoonletSourceCode-DxMzgoHq.js +2 -0
- package/app/dist/assets/MoonletSourceCode-DxMzgoHq.js.br +0 -0
- package/app/dist/assets/MoonletSourceCode-DxMzgoHq.js.gz +0 -0
- package/app/dist/assets/{NewTabPage-BOqCqqLe.js → NewTabPage-BFN-aWBP.js} +2 -2
- package/app/dist/assets/NewTabPage-BFN-aWBP.js.br +0 -0
- package/app/dist/assets/NewTabPage-BFN-aWBP.js.gz +0 -0
- package/app/dist/assets/NewThreadComposer-hC_11bnI.js +1 -0
- package/app/dist/assets/NewThreadComposer-hC_11bnI.js.br +0 -0
- package/app/dist/assets/NewThreadComposer-hC_11bnI.js.gz +0 -0
- package/app/dist/assets/OnboardingFlow-CojLVjXc.js +1 -0
- package/app/dist/assets/OnboardingFlow-CojLVjXc.js.br +0 -0
- package/app/dist/assets/OnboardingFlow-CojLVjXc.js.gz +0 -0
- package/app/dist/assets/OptionPicker-BqVSa33I.js +1 -0
- package/app/dist/assets/OptionPicker-BqVSa33I.js.br +0 -0
- package/app/dist/assets/OptionPicker-BqVSa33I.js.gz +0 -0
- package/app/dist/assets/{PaletteShell-BMkwhUdz.js → PaletteShell-B6LeovGF.js} +1 -1
- package/app/dist/assets/PaletteShell-B6LeovGF.js.br +0 -0
- package/app/dist/assets/PaletteShell-B6LeovGF.js.gz +0 -0
- package/app/dist/assets/{PaneMaximizeButton-DgXn2p5T.js → PaneMaximizeButton-CRY2ZNg8.js} +1 -1
- package/app/dist/assets/PaneMaximizeButton-CRY2ZNg8.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-CRY2ZNg8.js.gz +0 -0
- package/app/dist/assets/{PierreLineSelectionActions-V_GPrVau.js → PierreLineSelectionActions-iQ58D4fK.js} +1 -1
- package/app/dist/assets/PierreLineSelectionActions-iQ58D4fK.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-iQ58D4fK.js.gz +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-DtG4vnDS.js +1 -0
- package/app/dist/assets/PluginPanelRightPanelHost-DtG4vnDS.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-DtG4vnDS.js.gz +0 -0
- package/app/dist/assets/{PluginSettingsSections-ZnUNrvlJ.js → PluginSettingsSections-BNhCRdhP.js} +2 -2
- package/app/dist/assets/PluginSettingsSections-BNhCRdhP.js.br +0 -0
- package/app/dist/assets/PluginSettingsSections-BNhCRdhP.js.gz +0 -0
- package/app/dist/assets/{PluginThreadChat-DtIyKaqq.js → PluginThreadChat-BGmTPVqg.js} +1 -1
- package/app/dist/assets/PluginThreadChat-BGmTPVqg.js.br +0 -0
- package/app/dist/assets/PluginThreadChat-BGmTPVqg.js.gz +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-ZnMhDqoI.js +1 -0
- package/app/dist/assets/ProjectDetailSettingsView-ZnMhDqoI.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-ZnMhDqoI.js.gz +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-Dm9AuMWJ.js +1 -0
- package/app/dist/assets/ProjectMachineSetupDialog-Dm9AuMWJ.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-Dm9AuMWJ.js.gz +0 -0
- package/app/dist/assets/{ProjectsSettingsSection-CIshX8Xc.js → ProjectsSettingsSection-BeLBrzeB.js} +3 -3
- package/app/dist/assets/ProjectsSettingsSection-BeLBrzeB.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-BeLBrzeB.js.gz +0 -0
- package/app/dist/assets/QueuedMessagesList-DMbZRCEm.js +3 -0
- package/app/dist/assets/QueuedMessagesList-DMbZRCEm.js.br +0 -0
- package/app/dist/assets/QueuedMessagesList-DMbZRCEm.js.gz +0 -0
- package/app/dist/assets/RemotePathBrowser-DLztiVGH.js +1 -0
- package/app/dist/assets/RemotePathBrowser-DLztiVGH.js.br +0 -0
- package/app/dist/assets/RemotePathBrowser-DLztiVGH.js.gz +0 -0
- package/app/dist/assets/RootComposeView-DUgxvM9u.js +1 -0
- package/app/dist/assets/RootComposeView-DUgxvM9u.js.br +0 -0
- package/app/dist/assets/RootComposeView-DUgxvM9u.js.gz +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BCmpBdPU.js +1 -0
- package/app/dist/assets/SecondaryPanelLayout-BCmpBdPU.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BCmpBdPU.js.gz +0 -0
- package/app/dist/assets/{ServerMoveOverlayView-BSJahQeB.js → ServerMoveOverlayView-C2OCw9Kf.js} +1 -1
- package/app/dist/assets/ServerMoveOverlayView-C2OCw9Kf.js.br +0 -0
- package/app/dist/assets/ServerMoveOverlayView-C2OCw9Kf.js.gz +0 -0
- package/app/dist/assets/SettingsSidebar-p9_ibXT8.js +1 -0
- package/app/dist/assets/SettingsSidebar-p9_ibXT8.js.br +0 -0
- package/app/dist/assets/SettingsSidebar-p9_ibXT8.js.gz +0 -0
- package/app/dist/assets/SettingsView-BKRQE25G.js +7 -0
- package/app/dist/assets/SettingsView-BKRQE25G.js.br +0 -0
- package/app/dist/assets/SettingsView-BKRQE25G.js.gz +0 -0
- package/app/dist/assets/SidebarFooterCustomize-DbS8mpRZ.js +1 -0
- package/app/dist/assets/SidebarFooterCustomize-DbS8mpRZ.js.br +0 -0
- package/app/dist/assets/SidebarFooterCustomize-DbS8mpRZ.js.gz +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-CHL1v-5j.js +1 -0
- package/app/dist/assets/SidebarVisibilityCustomize-CHL1v-5j.js.br +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-CHL1v-5j.js.gz +0 -0
- package/app/dist/assets/SourceCodeHost-HqsxZuJa.js +2 -0
- package/app/dist/assets/SourceCodeHost-HqsxZuJa.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-HqsxZuJa.js.gz +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-DGc30R4l.js +2 -0
- package/app/dist/assets/SplitWorkspaceRoute-DGc30R4l.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-DGc30R4l.js.gz +0 -0
- package/app/dist/assets/{TerminalOutputBlock-DKsNjK8s.js → TerminalOutputBlock-jTcwIxVj.js} +1 -1
- package/app/dist/assets/TerminalOutputBlock-jTcwIxVj.js.br +0 -0
- package/app/dist/assets/TerminalOutputBlock-jTcwIxVj.js.gz +0 -0
- package/app/dist/assets/ThreadActionsMenu-D_7lWawN.js +1 -0
- package/app/dist/assets/ThreadActionsMenu-D_7lWawN.js.br +0 -0
- package/app/dist/assets/ThreadActionsMenu-D_7lWawN.js.gz +0 -0
- package/app/dist/assets/ThreadDetailView-s8_9uPY3.js +6 -0
- package/app/dist/assets/ThreadDetailView-s8_9uPY3.js.br +0 -0
- package/app/dist/assets/ThreadDetailView-s8_9uPY3.js.gz +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-bFrWtr14.js +1 -0
- package/app/dist/assets/ThreadSearchPaletteMode-bFrWtr14.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-bFrWtr14.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-ByRjsBee.js +1 -0
- package/app/dist/assets/ThreadSecondaryPanel-ByRjsBee.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-ByRjsBee.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-CS-0RsBb.js +3 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-CS-0RsBb.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-CS-0RsBb.js.gz +0 -0
- package/app/dist/assets/ThreadStatusGlyph-BpAxP0Tu.js +1 -0
- package/app/dist/assets/ThreadStatusGlyph-BpAxP0Tu.js.br +0 -0
- package/app/dist/assets/ThreadStatusGlyph-BpAxP0Tu.js.gz +0 -0
- package/app/dist/assets/{ThreadTerminalPanel-Cfe76daj.js → ThreadTerminalPanel-CO1mCoJe.js} +1 -1
- package/app/dist/assets/ThreadTerminalPanel-CO1mCoJe.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-CO1mCoJe.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalView-N_bmnfJo.js +1 -0
- package/app/dist/assets/ThreadTerminalView-N_bmnfJo.js.br +0 -0
- package/app/dist/assets/ThreadTerminalView-N_bmnfJo.js.gz +0 -0
- package/app/dist/assets/{ThreadTimelineNavigationContext-2--wIUmU.js → ThreadTimelineNavigationContext-Dpli_fFK.js} +2 -2
- package/app/dist/assets/ThreadTimelineNavigationContext-Dpli_fFK.js.br +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-Dpli_fFK.js.gz +0 -0
- package/app/dist/assets/{ThreadUnarchiveButton-CiDbuPzJ.js → ThreadUnarchiveButton-CW3uEz1Q.js} +1 -1
- package/app/dist/assets/{TimelineDetailScroll-DnMC8nYC.js → TimelineDetailScroll-BLU-5S7-.js} +1 -1
- package/app/dist/assets/TimelineDetailScroll-BLU-5S7-.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-BLU-5S7-.js.gz +0 -0
- package/app/dist/assets/{TimelineFileDiffBlock-D8pKEcE0.js → TimelineFileDiffBlock-Bb0-OH7e.js} +1 -1
- package/app/dist/assets/TimelineFileDiffBlock-Bb0-OH7e.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-Bb0-OH7e.js.gz +0 -0
- package/app/dist/assets/{TimelineSelectionMenu-DDYrgVgK.js → TimelineSelectionMenu-CgAxp7QF.js} +1 -1
- package/app/dist/assets/TimelineSelectionMenu-CgAxp7QF.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-CgAxp7QF.js.gz +0 -0
- package/app/dist/assets/ToolsView-DYdtuuCy.js +4 -0
- package/app/dist/assets/ToolsView-DYdtuuCy.js.br +0 -0
- package/app/dist/assets/ToolsView-DYdtuuCy.js.gz +0 -0
- package/app/dist/assets/{ToolsViewSplits-VIMb0WxO.js → ToolsViewSplits-D-KM5VbR.js} +2 -2
- package/app/dist/assets/ToolsViewSplits-D-KM5VbR.js.br +0 -0
- package/app/dist/assets/ToolsViewSplits-D-KM5VbR.js.gz +0 -0
- package/app/dist/assets/{WaveformVisualizer-CyOfIcDU.js → WaveformVisualizer-VFrU7IdS.js} +1 -1
- package/app/dist/assets/WaveformVisualizer-VFrU7IdS.js.br +0 -0
- package/app/dist/assets/WaveformVisualizer-VFrU7IdS.js.gz +0 -0
- package/app/dist/assets/absolute-file-path-CugCBUdo.js +1 -0
- package/app/dist/assets/{app-fixed-tab-navigation-nG5duhr6.js → app-fixed-tab-navigation-C3t3sTTR.js} +1 -1
- package/app/dist/assets/app-fixed-tab-navigation-C3t3sTTR.js.br +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-C3t3sTTR.js.gz +0 -0
- package/app/dist/assets/{audio-input-device-preference-Civxk2e_.js → audio-input-device-preference-wrxvijvs.js} +1 -1
- package/app/dist/assets/audio-input-device-preference-wrxvijvs.js.br +0 -0
- package/app/dist/assets/audio-input-device-preference-wrxvijvs.js.gz +0 -0
- package/app/dist/assets/{bottom-anchored-scroll-body-izL_2xQo.js → bottom-anchored-scroll-body-DrFjjITd.js} +1 -1
- package/app/dist/assets/bottom-anchored-scroll-body-DrFjjITd.js.br +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-DrFjjITd.js.gz +0 -0
- package/app/dist/assets/{browser-url-DQsPFWqd.js → browser-url-CRNmQmct.js} +1 -1
- package/app/dist/assets/browser-url-CRNmQmct.js.br +0 -0
- package/app/dist/assets/browser-url-CRNmQmct.js.gz +0 -0
- package/app/dist/assets/{checkbox-Dxs9oAMl.js → checkbox-1HfQvu2d.js} +1 -1
- package/app/dist/assets/checkbox-1HfQvu2d.js.br +0 -0
- package/app/dist/assets/checkbox-1HfQvu2d.js.gz +0 -0
- package/app/dist/assets/{code-loading-skeletons-CkiXPS0M.js → code-loading-skeletons-DtdoAfrj.js} +1 -1
- package/app/dist/assets/code-loading-skeletons-DtdoAfrj.js.br +4 -0
- package/app/dist/assets/code-loading-skeletons-DtdoAfrj.js.gz +0 -0
- package/app/dist/assets/code-rendering-CHgc25DA.js +1 -0
- package/app/dist/assets/{code-theme-registration-DWaGQiqG.js → code-theme-registration-BogeZhC7.js} +1 -1
- package/app/dist/assets/detail-card-D4_D7Wq-.js +1 -0
- package/app/dist/assets/detail-card-D4_D7Wq-.js.br +0 -0
- package/app/dist/assets/detail-card-D4_D7Wq-.js.gz +0 -0
- package/app/dist/assets/{diff-stats-tally-DQHS3tHN.js → diff-stats-tally-dxAKjCQi.js} +1 -1
- package/app/dist/assets/diff-stats-tally-dxAKjCQi.js.br +0 -0
- package/app/dist/assets/diff-stats-tally-dxAKjCQi.js.gz +0 -0
- package/app/dist/assets/{dist-DCULoGTS.js → dist-CgnI8mYy.js} +1 -1
- package/app/dist/assets/dist-CgnI8mYy.js.br +0 -0
- package/app/dist/assets/dist-CgnI8mYy.js.gz +0 -0
- package/app/dist/assets/{environment-mutations-Zes88JN-.js → environment-mutations-CHDn6qee.js} +1 -1
- package/app/dist/assets/environment-mutations-CHDn6qee.js.br +0 -0
- package/app/dist/assets/environment-mutations-CHDn6qee.js.gz +0 -0
- package/app/dist/assets/environment-workspace-display-aXNFFHRN.js +4 -0
- package/app/dist/assets/environment-workspace-display-aXNFFHRN.js.br +0 -0
- package/app/dist/assets/environment-workspace-display-aXNFFHRN.js.gz +0 -0
- package/app/dist/assets/{event-code-block-QXnzoFqm.js → event-code-block-989B1EqM.js} +1 -1
- package/app/dist/assets/event-code-block-989B1EqM.js.br +0 -0
- package/app/dist/assets/event-code-block-989B1EqM.js.gz +0 -0
- package/app/dist/assets/{expandable-text-DkUA9RQT.js → expandable-text-BQmCrn1r.js} +1 -1
- package/app/dist/assets/expandable-text-BQmCrn1r.js.br +0 -0
- package/app/dist/assets/expandable-text-BQmCrn1r.js.gz +0 -0
- package/app/dist/assets/{file-opener-preference-CXZHmESv.js → file-opener-preference-Yd0VIEdJ.js} +1 -1
- package/app/dist/assets/{file-path-link-D7DFjBWZ.js → file-path-link-BnuQ7GOP.js} +1 -1
- package/app/dist/assets/file-path-link-BnuQ7GOP.js.br +0 -0
- package/app/dist/assets/file-path-link-BnuQ7GOP.js.gz +0 -0
- package/app/dist/assets/{host-mutations-Fl0RjER0.js → host-mutations-BFX2sxxm.js} +1 -1
- package/app/dist/assets/host-mutations-BFX2sxxm.js.br +0 -0
- package/app/dist/assets/host-mutations-BFX2sxxm.js.gz +0 -0
- package/app/dist/assets/{icon-extended-C0LTNXfN.js → icon-extended-CVTvSZPU.js} +1 -1
- package/app/dist/assets/icon-extended-CVTvSZPU.js.br +0 -0
- package/app/dist/assets/icon-extended-CVTvSZPU.js.gz +0 -0
- package/app/dist/assets/{image-lightbox-DhNslR-8.js → image-lightbox-CYq-aV6a.js} +1 -1
- package/app/dist/assets/image-lightbox-CYq-aV6a.js.br +0 -0
- package/app/dist/assets/image-lightbox-CYq-aV6a.js.gz +0 -0
- package/app/dist/assets/index-DcGF-i5V.js +395 -0
- package/app/dist/assets/index-DcGF-i5V.js.br +0 -0
- package/app/dist/assets/index-DcGF-i5V.js.gz +0 -0
- package/app/dist/assets/index-DeeEkTuL.css +2 -0
- package/app/dist/assets/index-DeeEkTuL.css.br +0 -0
- package/app/dist/assets/index-DeeEkTuL.css.gz +0 -0
- package/app/dist/assets/{inline-rename-editor-nrH2d_Gy.js → inline-rename-editor-DsTTMQeQ.js} +1 -1
- package/app/dist/assets/inline-rename-editor-DsTTMQeQ.js.br +0 -0
- package/app/dist/assets/inline-rename-editor-DsTTMQeQ.js.gz +0 -0
- package/app/dist/assets/{launcherRow-CVYGyeOl.js → launcherRow-Mm64WYs2.js} +1 -1
- package/app/dist/assets/launcherRow-Mm64WYs2.js.br +0 -0
- package/app/dist/assets/launcherRow-Mm64WYs2.js.gz +0 -0
- package/app/dist/assets/{localhost-link-rewrite-description-C0FphFZq.js → localhost-link-rewrite-description-Da9LQDcz.js} +1 -1
- package/app/dist/assets/localhost-link-rewrite-description-Da9LQDcz.js.br +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-Da9LQDcz.js.gz +0 -0
- package/app/dist/assets/{machine-provider-queries-BTz8Sz3J.js → machine-provider-queries-D3D5u7xT.js} +1 -1
- package/app/dist/assets/{machine-server-access-CGfd5e1r.js → machine-server-access-BBZR2E-e.js} +1 -1
- package/app/dist/assets/markdown-file-image-routing-BW14VUGE.js +1 -0
- package/app/dist/assets/{markdown-html-CLi3FhDR.js → markdown-html-BVwgNf0A.js} +1 -1
- package/app/dist/assets/markdown-html-BVwgNf0A.js.br +0 -0
- package/app/dist/assets/markdown-html-BVwgNf0A.js.gz +0 -0
- package/app/dist/assets/{markdown-local-file-link-BROpdQPF.js → markdown-local-file-link-Dhlzsjvu.js} +1 -1
- package/app/dist/assets/markdown-local-file-link-Dhlzsjvu.js.br +0 -0
- package/app/dist/assets/markdown-local-file-link-Dhlzsjvu.js.gz +0 -0
- package/app/dist/assets/{markdown-preview-CGXXNhJo.js → markdown-preview-BFrQHjqt.js} +9 -9
- package/app/dist/assets/markdown-preview-BFrQHjqt.js.br +0 -0
- package/app/dist/assets/markdown-preview-BFrQHjqt.js.gz +0 -0
- package/app/dist/assets/{markdown-prompt-mentions-CPWKCtMa.js → markdown-prompt-mentions-B_hjpVwF.js} +2 -2
- package/app/dist/assets/markdown-prompt-mentions-B_hjpVwF.js.br +0 -0
- package/app/dist/assets/markdown-prompt-mentions-B_hjpVwF.js.gz +0 -0
- package/app/dist/assets/{model-load-error-message-CH_k4E7q.js → model-load-error-message-C_DsOzNx.js} +1 -1
- package/app/dist/assets/model-load-error-message-C_DsOzNx.js.br +0 -0
- package/app/dist/assets/model-load-error-message-C_DsOzNx.js.gz +0 -0
- package/app/dist/assets/onboarding-telemetry-DepO9NTK.js +1 -0
- package/app/dist/assets/{open-in-editor-button-tA10Nkqn.js → open-in-editor-button-Jn2gF-rw.js} +1 -1
- package/app/dist/assets/open-in-editor-button-Jn2gF-rw.js.br +0 -0
- package/app/dist/assets/open-in-editor-button-Jn2gF-rw.js.gz +0 -0
- package/app/dist/assets/{page-shell-CNCVT3Uj.js → page-shell-CL1JEzGN.js} +1 -1
- package/app/dist/assets/page-shell-CL1JEzGN.js.br +0 -0
- package/app/dist/assets/page-shell-CL1JEzGN.js.gz +0 -0
- package/app/dist/assets/{pierre-worker-pool-pXJFsMd7.js → pierre-worker-pool-DDCagStH.js} +1 -1
- package/app/dist/assets/pierre-worker-pool-DDCagStH.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-DDCagStH.js.gz +0 -0
- package/app/dist/assets/plugin-detail-navigation-CJq8d7f0.js +1 -0
- package/app/dist/assets/plugin-detail-navigation-CJq8d7f0.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-CJq8d7f0.js.gz +0 -0
- package/app/dist/assets/{plugin-frontend-DoWZV45B.js → plugin-frontend-D_R6h69s.js} +3 -3
- package/app/dist/assets/plugin-frontend-D_R6h69s.js.br +0 -0
- package/app/dist/assets/plugin-frontend-D_R6h69s.js.gz +0 -0
- package/app/dist/assets/{plugin-ui-Cu8MrXLJ.js → plugin-ui-BS-kYzwm.js} +1 -1
- package/app/dist/assets/plugin-ui-BS-kYzwm.js.br +0 -0
- package/app/dist/assets/plugin-ui-BS-kYzwm.js.gz +0 -0
- package/app/dist/assets/{project-default-execution-options-query-gaQEWNK0.js → project-default-execution-options-query-D-0QJ6Qt.js} +1 -1
- package/app/dist/assets/{queued-editor-typeahead-layout-DTUSPVuA.js → queued-editor-typeahead-layout-DyiJC3nu.js} +1 -1
- package/app/dist/assets/queued-editor-typeahead-layout-DyiJC3nu.js.br +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-DyiJC3nu.js.gz +0 -0
- package/app/dist/assets/queued-messages-layout-CghcpVJY.js +3 -0
- package/app/dist/assets/queued-messages-layout-CghcpVJY.js.br +0 -0
- package/app/dist/assets/queued-messages-layout-CghcpVJY.js.gz +0 -0
- package/app/dist/assets/{resource-list-DLZLjUCf.js → resource-list-QtZbobOx.js} +1 -1
- package/app/dist/assets/resource-list-QtZbobOx.js.br +0 -0
- package/app/dist/assets/resource-list-QtZbobOx.js.gz +0 -0
- package/app/dist/assets/root-compose-create-preference-CpyRZea5.js +1 -0
- package/app/dist/assets/{save-file-B8sl9wgP.js → save-file-D1NL0mtk.js} +1 -1
- package/app/dist/assets/settings-nav-CUMx1aUt.js +1 -0
- package/app/dist/assets/settings-nav-CUMx1aUt.js.br +0 -0
- package/app/dist/assets/settings-nav-CUMx1aUt.js.gz +0 -0
- package/app/dist/assets/{settings-sections-Dfo35J2q.js → settings-sections-DLsEgaeq.js} +1 -1
- package/app/dist/assets/settings-sections-DLsEgaeq.js.br +0 -0
- package/app/dist/assets/settings-sections-DLsEgaeq.js.gz +0 -0
- package/app/dist/assets/{shortcut-pill-BMlNncTw.js → shortcut-pill-D97ehvHS.js} +1 -1
- package/app/dist/assets/{sidebarTouchSensor-Da_E8eSx.js → sidebarTouchSensor-Cb66p7gD.js} +1 -1
- package/app/dist/assets/sidebarTouchSensor-Cb66p7gD.js.br +0 -0
- package/app/dist/assets/sidebarTouchSensor-Cb66p7gD.js.gz +0 -0
- package/app/dist/assets/{switch-BRYzbFH-.js → switch-Bnugzgln.js} +1 -1
- package/app/dist/assets/switch-Bnugzgln.js.br +0 -0
- package/app/dist/assets/switch-Bnugzgln.js.gz +0 -0
- package/app/dist/assets/{textarea-DpRLVuDl.js → textarea-CmXpn-W-.js} +1 -1
- package/app/dist/assets/{thread-event-parser-BrLyjs4v.js → thread-event-parser-BZ2rhDfl.js} +1 -1
- package/app/dist/assets/thread-event-parser-BZ2rhDfl.js.br +0 -0
- package/app/dist/assets/thread-event-parser-BZ2rhDfl.js.gz +0 -0
- package/app/dist/assets/thread-panel-queries-Km3N9Osi.js +1 -0
- package/app/dist/assets/thread-panel-queries-Km3N9Osi.js.br +0 -0
- package/app/dist/assets/thread-panel-queries-Km3N9Osi.js.gz +0 -0
- package/app/dist/assets/thread-runtime-mutations-0LwFE8jq.js +3 -0
- package/app/dist/assets/thread-runtime-mutations-0LwFE8jq.js.br +0 -0
- package/app/dist/assets/thread-runtime-mutations-0LwFE8jq.js.gz +0 -0
- package/app/dist/assets/{thread-terminal-queries-Blou76c_.js → thread-terminal-queries-B26oP9UT.js} +1 -1
- package/app/dist/assets/thread-terminal-queries-B26oP9UT.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-B26oP9UT.js.gz +0 -0
- package/app/dist/assets/{threadRecentItems-BiCe3SkL.js → threadRecentItems-Cmjzl7bQ.js} +1 -1
- package/app/dist/assets/threadRecentItems-Cmjzl7bQ.js.br +0 -0
- package/app/dist/assets/threadRecentItems-Cmjzl7bQ.js.gz +0 -0
- package/app/dist/assets/{threadWorkspaceOpenPath-C9eC_XGN.js → threadWorkspaceOpenPath-Bmp_PIxV.js} +1 -1
- package/app/dist/assets/threadWorkspaceOpenPath-Bmp_PIxV.js.br +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-Bmp_PIxV.js.gz +0 -0
- package/app/dist/assets/{title-bar-scroll-fade-OrK4M84v.js → title-bar-scroll-fade-aNQrbfIG.js} +1 -1
- package/app/dist/assets/title-bar-scroll-fade-aNQrbfIG.js.br +0 -0
- package/app/dist/assets/title-bar-scroll-fade-aNQrbfIG.js.gz +0 -0
- package/app/dist/assets/{truncate-start-Ck1IPV62.js → truncate-start-Bny9cWRF.js} +1 -1
- package/app/dist/assets/{use-hover-popover-uokpMJ80.js → use-hover-popover-BdiH_Tfy.js} +1 -1
- package/app/dist/assets/use-hover-popover-BdiH_Tfy.js.br +0 -0
- package/app/dist/assets/use-hover-popover-BdiH_Tfy.js.gz +0 -0
- package/app/dist/assets/{useElementWidth-EbzKQ0bg.js → useElementWidth-DWdvxoro.js} +1 -1
- package/app/dist/assets/useElementWidth-DWdvxoro.js.br +0 -0
- package/app/dist/assets/useElementWidth-DWdvxoro.js.gz +0 -0
- package/app/dist/assets/{useLocalOpenTargets-CtvcdlZg.js → useLocalOpenTargets-zowTaKCQ.js} +1 -1
- package/app/dist/assets/useLocalOpenTargets-zowTaKCQ.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-zowTaKCQ.js.gz +0 -0
- package/app/dist/assets/{usePanelResizeSnap-CuwA4rg3.js → usePanelResizeSnap-B_dDez74.js} +1 -1
- package/app/dist/assets/usePanelResizeSnap-B_dDez74.js.br +0 -0
- package/app/dist/assets/usePanelResizeSnap-B_dDez74.js.gz +0 -0
- package/app/dist/assets/usePanelTerminals-BAudrwH4.js +1 -0
- package/app/dist/assets/usePanelTerminals-BAudrwH4.js.br +0 -0
- package/app/dist/assets/usePanelTerminals-BAudrwH4.js.gz +0 -0
- package/app/dist/assets/{usePathSuggestions-DZ1XPM_t.js → usePathSuggestions-DMFe0E0a.js} +1 -1
- package/app/dist/assets/usePathSuggestions-DMFe0E0a.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-DMFe0E0a.js.gz +0 -0
- package/app/dist/assets/{useResolvedLiveFileTarget-DlZUgf7A.js → useResolvedLiveFileTarget-G_UQNMF1.js} +1 -1
- package/app/dist/assets/useResolvedLiveFileTarget-G_UQNMF1.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-G_UQNMF1.js.gz +0 -0
- package/app/dist/assets/{useThreadTerminalController-D4Cr2aY0.js → useThreadTerminalController-JoWrmPHn.js} +1 -1
- package/app/dist/assets/useThreadTerminalController-JoWrmPHn.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-JoWrmPHn.js.gz +0 -0
- package/app/dist/assets/{workspace-change-summary-C1EKX0Np.js → workspace-change-summary-BtZwT2e6.js} +1 -1
- package/app/dist/assets/workspace-change-summary-BtZwT2e6.js.br +0 -0
- package/app/dist/assets/workspace-change-summary-BtZwT2e6.js.gz +0 -0
- package/app/dist/assets/{workspace-checkout-display-DRAc3j4u.js → workspace-checkout-display-DnaC1zwT.js} +7 -7
- package/app/dist/assets/workspace-checkout-display-DnaC1zwT.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-DnaC1zwT.js.gz +0 -0
- package/app/dist/index.html +31 -17
- package/app/dist/index.html.br +0 -0
- package/app/dist/index.html.gz +0 -0
- package/dist/index.d.ts +61 -60
- package/dist/index.js +21 -3
- package/host-daemon/dist/bb +2 -2
- package/host-daemon/dist/daemon-bundle.mjs +109 -109
- package/host-daemon/dist/moonlet +2 -2
- package/host-daemon/dist/moonlet-chunks/{browser-3YADF5CZ.js → browser-44ZQ3FOI.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-ZY4JRPPT.js → chunk-JBLSGIQQ.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-DYWN65E6.js → chunk-JXM67MRW.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-Z7UFAOBI.js → chunk-PMU3UDAI.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-UASCWFYV.js → chunk-QAWZMDCJ.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-UZIJUXRX.js → chunk-QDRMQGXG.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-VRIDG567.js → chunk-URPVHDSN.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-UBCGVKZ2.js → chunk-VLBDIUPP.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{chunk-CJVCV7LA.js → chunk-XLQMIU5E.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/chunk-YKNGHXJL.js +2 -0
- package/host-daemon/dist/moonlet-chunks/{chunk-GJNT53PW.js → chunk-ZIPJ3D34.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{client-HJ57QVLD.js → client-QUJX2VXF.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{commander-errors-VI7J6RNT.js → commander-errors-NYPVEQE6.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{context-env-C4YEBBVX.js → context-env-UZULKJG3.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{context-hints-FZ224BCX.js → context-hints-NIGZFDZ2.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{diagnostics-OU2KW3CN.js → diagnostics-ZMN3WD5F.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{environment-45XH2PJT.js → environment-LFNVVRTR.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{file-OHC2H5AH.js → file-VMCXXBWE.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{guide-T2HEZTCZ.js → guide-JMDCPBCD.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{machine-7DB7FE7G.js → machine-FG42HUJ4.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{marketplace-GSP2IPGS.js → marketplace-BUVTLJBV.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{permissions-SOZPETLR.js → permissions-OLVTX7QS.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{plugin-672NQWPG.js → plugin-TREJAZTC.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{plugin-cli-proxy-YK6LMDCS.js → plugin-cli-proxy-XYQ4P6CO.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{project-KMNJH6RG.js → project-PVNIZCFU.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{prompt-history-H3Y2IHDY.js → prompt-history-BYCO2ZB3.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{provider-EKKSYF2D.js → provider-K7IJAPU7.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{schedule-KVSISSIR.js → schedule-QTGQ2OQJ.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{server-53I6IGAP.js → server-TNYQLXN4.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/settings-X5E35QAK.js +4 -0
- package/host-daemon/dist/moonlet-chunks/{skill-DXINIPQ3.js → skill-D3TXRI2H.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{status-BSMUYEAO.js → status-ZON5QALD.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{terminal-VKBGZFLN.js → terminal-RMTHR7AY.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{theme-3YCCZBGC.js → theme-K6MCVSLL.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{thread-PFBPLD4F.js → thread-SVRDPK2D.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{updates-OO7GE7UB.js → updates-M6NCKC4T.js} +1 -1
- package/host-daemon/dist/moonlet-chunks/{voice-ZJOSAJW7.js → voice-AYXDFHQ4.js} +1 -1
- package/package.json +2 -2
- package/server/dist/builtin-plugins/github/dist/app.css +1 -1
- package/server/dist/builtin-plugins/github/dist/app.js +1 -1
- package/server/dist/builtin-plugins/mail/skills/mail/SKILL.md +14 -12
- package/server/dist/builtin-plugins/notify-feed/dist/app.css +1 -1
- package/server/dist/builtin-plugins/notify-feed/dist/app.js +3 -3
- package/server/dist/builtin-plugins/orbit/dist/app.css +1 -1
- package/server/dist/builtin-plugins/orbit/dist/app.js +83 -83
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/migrations/task-index-tail.json +10 -0
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/fixed-runner/linux-x64/manifest.json +4 -4
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/revision +1 -1
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/source.json +1 -1
- package/server/dist/builtin-plugins/orbit/dist/host.js +1 -1
- package/server/dist/builtin-plugins/orbit/dist/host.meta.json +1 -1
- package/server/dist/builtin-plugins/orbit/dist/server.js +420 -420
- package/server/dist/start-server.js +21 -3
- package/app/dist/assets/AddMachineDialog-CG2ZZhp-.js.br +0 -0
- package/app/dist/assets/AddMachineDialog-CG2ZZhp-.js.gz +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-DETVZfBW.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-DETVZfBW.js.gz +0 -0
- package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js +0 -1
- package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-c6VRKA-g.js.gz +0 -0
- package/app/dist/assets/CommandPaletteBody-BeiWvSTK.js.br +0 -0
- package/app/dist/assets/CommandPaletteBody-BeiWvSTK.js.gz +0 -0
- package/app/dist/assets/DiffHost-xesYsZUt.js +0 -1
- package/app/dist/assets/DiffHost-xesYsZUt.js.br +0 -0
- package/app/dist/assets/DiffHost-xesYsZUt.js.gz +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-CDVoETHe.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-CDVoETHe.js.gz +0 -0
- package/app/dist/assets/FilePreview-CzacGZ35.js.br +0 -0
- package/app/dist/assets/FilePreview-CzacGZ35.js.gz +0 -0
- package/app/dist/assets/GitDiffCardHeader-CJtFaq1K.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-CJtFaq1K.js.gz +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-C0rqOlNn.js.br +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-C0rqOlNn.js.gz +0 -0
- package/app/dist/assets/MachineLabel-vUI5j8ve.js.br +0 -0
- package/app/dist/assets/MachineLabel-vUI5j8ve.js.gz +0 -0
- package/app/dist/assets/MachineRenameDialog-CrnZuppe.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-CrnZuppe.js.gz +0 -0
- package/app/dist/assets/MachineSettingsView-BR6qseai.js +0 -1
- package/app/dist/assets/MachineSettingsView-BR6qseai.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-BR6qseai.js.gz +0 -0
- package/app/dist/assets/MicrophonePreferences-wMQ36e_Q.js.br +0 -0
- package/app/dist/assets/MicrophonePreferences-wMQ36e_Q.js.gz +0 -0
- package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js +0 -1
- package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js.br +0 -0
- package/app/dist/assets/ModelReasoningMenu-Do0jyo5Q.js.gz +0 -0
- package/app/dist/assets/MoonletDiff-CCvaiEEC.js +0 -1
- package/app/dist/assets/MoonletDiff-CCvaiEEC.js.br +0 -0
- package/app/dist/assets/MoonletDiff-CCvaiEEC.js.gz +0 -0
- package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js +0 -2
- package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js.br +0 -0
- package/app/dist/assets/MoonletDiffSplit-3xEwFpfu.js.gz +0 -0
- package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js +0 -2
- package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js.br +0 -0
- package/app/dist/assets/MoonletSourceCode-BgaVW-e6.js.gz +0 -0
- package/app/dist/assets/NewTabPage-BOqCqqLe.js.br +0 -0
- package/app/dist/assets/NewTabPage-BOqCqqLe.js.gz +0 -0
- package/app/dist/assets/NewThreadComposer-DyB52pmS.js +0 -1
- package/app/dist/assets/NewThreadComposer-DyB52pmS.js.br +0 -0
- package/app/dist/assets/NewThreadComposer-DyB52pmS.js.gz +0 -0
- package/app/dist/assets/OnboardingFlow-DTPixZrb.js +0 -1
- package/app/dist/assets/OnboardingFlow-DTPixZrb.js.br +0 -0
- package/app/dist/assets/OnboardingFlow-DTPixZrb.js.gz +0 -0
- package/app/dist/assets/OptionPicker-CxOGHDd8.js +0 -1
- package/app/dist/assets/OptionPicker-CxOGHDd8.js.br +0 -0
- package/app/dist/assets/OptionPicker-CxOGHDd8.js.gz +0 -0
- package/app/dist/assets/PaletteShell-BMkwhUdz.js.br +0 -0
- package/app/dist/assets/PaletteShell-BMkwhUdz.js.gz +0 -0
- package/app/dist/assets/PaneMaximizeButton-DgXn2p5T.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-DgXn2p5T.js.gz +0 -0
- package/app/dist/assets/PierreLineSelectionActions-V_GPrVau.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-V_GPrVau.js.gz +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js +0 -1
- package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-CRDSntoM.js.gz +0 -0
- package/app/dist/assets/PluginSettingsSections-ZnUNrvlJ.js.br +0 -0
- package/app/dist/assets/PluginSettingsSections-ZnUNrvlJ.js.gz +0 -0
- package/app/dist/assets/PluginThreadChat-DtIyKaqq.js.br +0 -0
- package/app/dist/assets/PluginThreadChat-DtIyKaqq.js.gz +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js +0 -1
- package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-B3apTKMj.js.gz +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js +0 -1
- package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-C43S09Ex.js.gz +0 -0
- package/app/dist/assets/ProjectsSettingsSection-CIshX8Xc.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-CIshX8Xc.js.gz +0 -0
- package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js +0 -3
- package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js.br +0 -0
- package/app/dist/assets/QueuedMessagesList-Dh5dxmNK.js.gz +0 -0
- package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js +0 -1
- package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js.br +0 -0
- package/app/dist/assets/RemotePathBrowser-1A5-qAxD.js.gz +0 -0
- package/app/dist/assets/RootComposeView-BIZpqYG3.js +0 -1
- package/app/dist/assets/RootComposeView-BIZpqYG3.js.br +0 -0
- package/app/dist/assets/RootComposeView-BIZpqYG3.js.gz +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js +0 -1
- package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BIQDxJLi.js.gz +0 -0
- package/app/dist/assets/ServerMoveOverlayView-BSJahQeB.js.br +0 -0
- package/app/dist/assets/ServerMoveOverlayView-BSJahQeB.js.gz +0 -0
- package/app/dist/assets/SettingsSidebar-DY_kbv4v.js +0 -1
- package/app/dist/assets/SettingsSidebar-DY_kbv4v.js.br +0 -0
- package/app/dist/assets/SettingsSidebar-DY_kbv4v.js.gz +0 -0
- package/app/dist/assets/SettingsView-CR1GzBCl.js +0 -7
- package/app/dist/assets/SettingsView-CR1GzBCl.js.br +0 -0
- package/app/dist/assets/SettingsView-CR1GzBCl.js.gz +0 -0
- package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js +0 -1
- package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js.br +0 -0
- package/app/dist/assets/SidebarFooterCustomize-pIj856Zr.js.gz +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js +0 -1
- package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js.br +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-CR7hQOIF.js.gz +0 -0
- package/app/dist/assets/SourceCodeHost-DkoXO-RM.js +0 -2
- package/app/dist/assets/SourceCodeHost-DkoXO-RM.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-DkoXO-RM.js.gz +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js +0 -2
- package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-DN3j-Nio.js.gz +0 -0
- package/app/dist/assets/TerminalOutputBlock-DKsNjK8s.js.br +0 -0
- package/app/dist/assets/TerminalOutputBlock-DKsNjK8s.js.gz +0 -0
- package/app/dist/assets/ThreadActionsMenu-BulopjpY.js +0 -1
- package/app/dist/assets/ThreadActionsMenu-BulopjpY.js.br +0 -0
- package/app/dist/assets/ThreadActionsMenu-BulopjpY.js.gz +0 -0
- package/app/dist/assets/ThreadDetailView-C6cu9JmT.js +0 -6
- package/app/dist/assets/ThreadDetailView-C6cu9JmT.js.br +0 -0
- package/app/dist/assets/ThreadDetailView-C6cu9JmT.js.gz +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js +0 -1
- package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-D0MKJ8PL.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js +0 -1
- package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-CzjhigwP.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js +0 -3
- package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-BX5A98YK.js.gz +0 -0
- package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js +0 -1
- package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js.br +0 -0
- package/app/dist/assets/ThreadStatusGlyph-BYavMHiP.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalPanel-Cfe76daj.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-Cfe76daj.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js +0 -1
- package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js.br +0 -0
- package/app/dist/assets/ThreadTerminalView-CgMKh6rk.js.gz +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-2--wIUmU.js.br +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-2--wIUmU.js.gz +0 -0
- package/app/dist/assets/TimelineDetailScroll-DnMC8nYC.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-DnMC8nYC.js.gz +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-D8pKEcE0.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-D8pKEcE0.js.gz +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DDYrgVgK.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DDYrgVgK.js.gz +0 -0
- package/app/dist/assets/ToolsView-CXmmNmMz.js +0 -4
- package/app/dist/assets/ToolsView-CXmmNmMz.js.br +0 -0
- package/app/dist/assets/ToolsView-CXmmNmMz.js.gz +0 -0
- package/app/dist/assets/ToolsViewSplits-VIMb0WxO.js.br +0 -0
- package/app/dist/assets/ToolsViewSplits-VIMb0WxO.js.gz +0 -0
- package/app/dist/assets/WaveformVisualizer-CyOfIcDU.js.br +0 -0
- package/app/dist/assets/WaveformVisualizer-CyOfIcDU.js.gz +0 -0
- package/app/dist/assets/absolute-file-path-BxWHDkiV.js +0 -1
- package/app/dist/assets/app-fixed-tab-navigation-nG5duhr6.js.br +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-nG5duhr6.js.gz +0 -0
- package/app/dist/assets/audio-input-device-preference-Civxk2e_.js.br +0 -0
- package/app/dist/assets/audio-input-device-preference-Civxk2e_.js.gz +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-izL_2xQo.js.br +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-izL_2xQo.js.gz +0 -0
- package/app/dist/assets/browser-url-DQsPFWqd.js.br +0 -0
- package/app/dist/assets/browser-url-DQsPFWqd.js.gz +0 -0
- package/app/dist/assets/checkbox-Dxs9oAMl.js.br +0 -0
- package/app/dist/assets/checkbox-Dxs9oAMl.js.gz +0 -0
- package/app/dist/assets/code-loading-skeletons-CkiXPS0M.js.br +0 -0
- package/app/dist/assets/code-loading-skeletons-CkiXPS0M.js.gz +0 -0
- package/app/dist/assets/code-rendering-DjLdb6cB.js +0 -1
- package/app/dist/assets/detail-card-BFm1NEQz.js +0 -1
- package/app/dist/assets/detail-card-BFm1NEQz.js.br +0 -0
- package/app/dist/assets/detail-card-BFm1NEQz.js.gz +0 -0
- package/app/dist/assets/diff-stats-tally-DQHS3tHN.js.br +0 -0
- package/app/dist/assets/diff-stats-tally-DQHS3tHN.js.gz +0 -0
- package/app/dist/assets/dist-DCULoGTS.js.br +0 -0
- package/app/dist/assets/dist-DCULoGTS.js.gz +0 -0
- package/app/dist/assets/environment-mutations-Zes88JN-.js.br +0 -0
- package/app/dist/assets/environment-mutations-Zes88JN-.js.gz +0 -0
- package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js +0 -4
- package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js.br +0 -0
- package/app/dist/assets/environment-workspace-display-Blt7U9Mn.js.gz +0 -0
- package/app/dist/assets/event-code-block-QXnzoFqm.js.br +0 -0
- package/app/dist/assets/event-code-block-QXnzoFqm.js.gz +0 -0
- package/app/dist/assets/expandable-text-DkUA9RQT.js.br +0 -0
- package/app/dist/assets/expandable-text-DkUA9RQT.js.gz +0 -0
- package/app/dist/assets/file-path-link-D7DFjBWZ.js.br +0 -0
- package/app/dist/assets/file-path-link-D7DFjBWZ.js.gz +0 -0
- package/app/dist/assets/host-mutations-Fl0RjER0.js.br +0 -0
- package/app/dist/assets/host-mutations-Fl0RjER0.js.gz +0 -0
- package/app/dist/assets/icon-extended-C0LTNXfN.js.br +0 -0
- package/app/dist/assets/icon-extended-C0LTNXfN.js.gz +0 -0
- package/app/dist/assets/image-lightbox-DhNslR-8.js.br +0 -0
- package/app/dist/assets/image-lightbox-DhNslR-8.js.gz +0 -0
- package/app/dist/assets/index-C2K528W0.css +0 -2
- package/app/dist/assets/index-C2K528W0.css.br +0 -0
- package/app/dist/assets/index-C2K528W0.css.gz +0 -0
- package/app/dist/assets/index-DCps_qBD.js +0 -395
- package/app/dist/assets/index-DCps_qBD.js.br +0 -0
- package/app/dist/assets/index-DCps_qBD.js.gz +0 -0
- package/app/dist/assets/inline-rename-editor-nrH2d_Gy.js.br +0 -0
- package/app/dist/assets/inline-rename-editor-nrH2d_Gy.js.gz +0 -0
- package/app/dist/assets/launcherRow-CVYGyeOl.js.br +0 -0
- package/app/dist/assets/launcherRow-CVYGyeOl.js.gz +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-C0FphFZq.js.br +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-C0FphFZq.js.gz +0 -0
- package/app/dist/assets/markdown-file-image-routing-BhGjphhz.js +0 -1
- package/app/dist/assets/markdown-html-CLi3FhDR.js.br +0 -0
- package/app/dist/assets/markdown-html-CLi3FhDR.js.gz +0 -0
- package/app/dist/assets/markdown-local-file-link-BROpdQPF.js.br +0 -0
- package/app/dist/assets/markdown-local-file-link-BROpdQPF.js.gz +0 -0
- package/app/dist/assets/markdown-preview-CGXXNhJo.js.br +0 -0
- package/app/dist/assets/markdown-preview-CGXXNhJo.js.gz +0 -0
- package/app/dist/assets/markdown-prompt-mentions-CPWKCtMa.js.br +0 -0
- package/app/dist/assets/markdown-prompt-mentions-CPWKCtMa.js.gz +0 -0
- package/app/dist/assets/model-load-error-message-CH_k4E7q.js.br +0 -0
- package/app/dist/assets/model-load-error-message-CH_k4E7q.js.gz +0 -0
- package/app/dist/assets/onboarding-telemetry-BXIyQ5F4.js +0 -1
- package/app/dist/assets/open-in-editor-button-tA10Nkqn.js.br +0 -0
- package/app/dist/assets/open-in-editor-button-tA10Nkqn.js.gz +0 -0
- package/app/dist/assets/page-shell-CNCVT3Uj.js.br +0 -0
- package/app/dist/assets/page-shell-CNCVT3Uj.js.gz +0 -0
- package/app/dist/assets/pierre-worker-pool-pXJFsMd7.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-pXJFsMd7.js.gz +0 -0
- package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js +0 -1
- package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-SAqiVR3K.js.gz +0 -0
- package/app/dist/assets/plugin-frontend-DoWZV45B.js.br +0 -0
- package/app/dist/assets/plugin-frontend-DoWZV45B.js.gz +0 -0
- package/app/dist/assets/plugin-ui-Cu8MrXLJ.js.br +0 -0
- package/app/dist/assets/plugin-ui-Cu8MrXLJ.js.gz +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-DTUSPVuA.js.br +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-DTUSPVuA.js.gz +0 -0
- package/app/dist/assets/queued-messages-layout-Bj1foecI.js +0 -3
- package/app/dist/assets/queued-messages-layout-Bj1foecI.js.br +0 -0
- package/app/dist/assets/queued-messages-layout-Bj1foecI.js.gz +0 -0
- package/app/dist/assets/resource-list-DLZLjUCf.js.br +0 -0
- package/app/dist/assets/resource-list-DLZLjUCf.js.gz +0 -0
- package/app/dist/assets/root-compose-create-preference-Bv_dFEsH.js +0 -1
- package/app/dist/assets/settings-nav-D5tWYG52.js +0 -1
- package/app/dist/assets/settings-nav-D5tWYG52.js.br +0 -0
- package/app/dist/assets/settings-nav-D5tWYG52.js.gz +0 -0
- package/app/dist/assets/settings-sections-Dfo35J2q.js.br +0 -0
- package/app/dist/assets/settings-sections-Dfo35J2q.js.gz +0 -0
- package/app/dist/assets/sidebarTouchSensor-Da_E8eSx.js.br +0 -0
- package/app/dist/assets/sidebarTouchSensor-Da_E8eSx.js.gz +0 -0
- package/app/dist/assets/switch-BRYzbFH-.js.br +0 -0
- package/app/dist/assets/switch-BRYzbFH-.js.gz +0 -0
- package/app/dist/assets/thread-event-parser-BrLyjs4v.js.br +0 -0
- package/app/dist/assets/thread-event-parser-BrLyjs4v.js.gz +0 -0
- package/app/dist/assets/thread-panel-queries-s8vzntf7.js +0 -1
- package/app/dist/assets/thread-panel-queries-s8vzntf7.js.br +0 -0
- package/app/dist/assets/thread-panel-queries-s8vzntf7.js.gz +0 -0
- package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js +0 -3
- package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js.br +0 -0
- package/app/dist/assets/thread-runtime-mutations-BOdkZ-H-.js.gz +0 -0
- package/app/dist/assets/thread-terminal-queries-Blou76c_.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-Blou76c_.js.gz +0 -0
- package/app/dist/assets/threadRecentItems-BiCe3SkL.js.br +0 -0
- package/app/dist/assets/threadRecentItems-BiCe3SkL.js.gz +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-C9eC_XGN.js.br +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-C9eC_XGN.js.gz +0 -0
- package/app/dist/assets/title-bar-scroll-fade-OrK4M84v.js.br +0 -0
- package/app/dist/assets/title-bar-scroll-fade-OrK4M84v.js.gz +0 -0
- package/app/dist/assets/use-hover-popover-uokpMJ80.js.br +0 -0
- package/app/dist/assets/use-hover-popover-uokpMJ80.js.gz +0 -0
- package/app/dist/assets/useElementWidth-EbzKQ0bg.js.br +0 -0
- package/app/dist/assets/useElementWidth-EbzKQ0bg.js.gz +0 -0
- package/app/dist/assets/useLocalOpenTargets-CtvcdlZg.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-CtvcdlZg.js.gz +0 -0
- package/app/dist/assets/usePanelResizeSnap-CuwA4rg3.js.br +0 -0
- package/app/dist/assets/usePanelResizeSnap-CuwA4rg3.js.gz +0 -0
- package/app/dist/assets/usePanelTerminals-BZhTVWNX.js +0 -1
- package/app/dist/assets/usePanelTerminals-BZhTVWNX.js.br +0 -0
- package/app/dist/assets/usePanelTerminals-BZhTVWNX.js.gz +0 -0
- package/app/dist/assets/usePathSuggestions-DZ1XPM_t.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-DZ1XPM_t.js.gz +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-DlZUgf7A.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-DlZUgf7A.js.gz +0 -0
- package/app/dist/assets/useThreadTerminalController-D4Cr2aY0.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-D4Cr2aY0.js.gz +0 -0
- package/app/dist/assets/workspace-change-summary-C1EKX0Np.js.br +0 -0
- package/app/dist/assets/workspace-change-summary-C1EKX0Np.js.gz +0 -0
- package/app/dist/assets/workspace-checkout-display-DRAc3j4u.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-DRAc3j4u.js.gz +0 -0
- package/host-daemon/dist/moonlet-chunks/chunk-MNJOOMMT.js +0 -2
- package/host-daemon/dist/moonlet-chunks/settings-MKGSGNIO.js +0 -4
|
@@ -14364,7 +14364,7 @@ function parseUiPreferenceValue(key, value) {
|
|
|
14364
14364
|
message: parsed.error.issues.map((issue2) => issue2.message).join("; ")
|
|
14365
14365
|
};
|
|
14366
14366
|
}
|
|
14367
|
-
var UI_PREFERENCE_STRING_MAX_LENGTH, UI_PREFERENCE_LIST_MAX_LENGTH, sidebarOrganizationModeSchema, sidebarChronologicalSortSchema, sidebarThreadGroupingSchema, uiPreferenceStringSchema, uiPreferenceStringListSchema, sidebarHiddenGroupsSchema, UI_PREFERENCE_KEYS, uiPreferenceKeySchema, uiPreferenceDefinitions, defaultUiPreferences;
|
|
14367
|
+
var UI_PREFERENCE_STRING_MAX_LENGTH, UI_PREFERENCE_LIST_MAX_LENGTH, sidebarOrganizationModeSchema, sidebarChronologicalSortSchema, sidebarThreadGroupingSchema, uiPreferenceStringSchema, uiPreferenceStringListSchema, sidebarHiddenGroupsSchema, TEXT_SIZE_PERCENTS, DEFAULT_TEXT_SIZE_PERCENT, textSizePercentSchema, UI_PREFERENCE_KEYS, uiPreferenceKeySchema, uiPreferenceDefinitions, defaultUiPreferences;
|
|
14368
14368
|
var init_ui_preferences = __esm({
|
|
14369
14369
|
"../../packages/domain/src/ui-preferences.ts"() {
|
|
14370
14370
|
"use strict";
|
|
@@ -14386,6 +14386,18 @@ var init_ui_preferences = __esm({
|
|
|
14386
14386
|
uiPreferenceStringSchema = external_exports.string().min(1).max(UI_PREFERENCE_STRING_MAX_LENGTH);
|
|
14387
14387
|
uiPreferenceStringListSchema = external_exports.array(uiPreferenceStringSchema).max(UI_PREFERENCE_LIST_MAX_LENGTH);
|
|
14388
14388
|
sidebarHiddenGroupsSchema = external_exports.array(uiPreferenceStringSchema.regex(/^(project|section|machine):\S+$/)).max(UI_PREFERENCE_LIST_MAX_LENGTH).transform((value) => [...new Set(value)]);
|
|
14389
|
+
TEXT_SIZE_PERCENTS = [
|
|
14390
|
+
80,
|
|
14391
|
+
90,
|
|
14392
|
+
100,
|
|
14393
|
+
110,
|
|
14394
|
+
120,
|
|
14395
|
+
130,
|
|
14396
|
+
140,
|
|
14397
|
+
150
|
|
14398
|
+
];
|
|
14399
|
+
DEFAULT_TEXT_SIZE_PERCENT = 100;
|
|
14400
|
+
textSizePercentSchema = external_exports.literal(TEXT_SIZE_PERCENTS);
|
|
14389
14401
|
UI_PREFERENCE_KEYS = [
|
|
14390
14402
|
"sidebar.organizationMode",
|
|
14391
14403
|
"sidebar.threadGrouping.environment",
|
|
@@ -14403,7 +14415,8 @@ var init_ui_preferences = __esm({
|
|
|
14403
14415
|
"sidebar.threadListProvider",
|
|
14404
14416
|
"composer.provider",
|
|
14405
14417
|
"home.provider",
|
|
14406
|
-
"infoPanel.collapsedSections"
|
|
14418
|
+
"infoPanel.collapsedSections",
|
|
14419
|
+
"appearance.textSize"
|
|
14407
14420
|
];
|
|
14408
14421
|
uiPreferenceKeySchema = external_exports.enum(UI_PREFERENCE_KEYS);
|
|
14409
14422
|
uiPreferenceDefinitions = {
|
|
@@ -14495,6 +14508,11 @@ var init_ui_preferences = __esm({
|
|
|
14495
14508
|
uiPreferenceStringListSchema,
|
|
14496
14509
|
[],
|
|
14497
14510
|
"Thread Info panel section ids that are collapsed, such as commits, uncommittedChanges, forks, threadStorage, or <pluginId>/<sectionId> for plugin sections."
|
|
14511
|
+
),
|
|
14512
|
+
"appearance.textSize": defineUiPreference(
|
|
14513
|
+
textSizePercentSchema,
|
|
14514
|
+
DEFAULT_TEXT_SIZE_PERCENT,
|
|
14515
|
+
"Text size as a percent of the default: 80, 90, 100, 110, 120, 130, 140, or 150. Applies to every device and window, including code views and the terminal. On phones, base-size text such as the composer stays at least 16px so iOS does not zoom into it."
|
|
14498
14516
|
)
|
|
14499
14517
|
};
|
|
14500
14518
|
defaultUiPreferences = Object.fromEntries(
|
|
@@ -47960,7 +47978,7 @@ var init_templates_generated = __esm({
|
|
|
47960
47978
|
},
|
|
47961
47979
|
{
|
|
47962
47980
|
"id": "bbGuideCustomization",
|
|
47963
|
-
"body": "Customization commands\n\nBundled plugins such as Keep Awake, Concurrency limit, Thread list, and Push\nnotifications own their settings and commands; run `moonlet guide plugins`.\n\nTheming \u2014 the app-wide palette and typography\n\n`moonlet theme` controls a set of CSS-variable overrides for the app palette and\ntypography, persisted server-side and applied live to every open window.\nLight/dark mode is a separate per-client setting the theme layers on top of.\nCustom themes live on\ndisk, one folder per theme, at <bb-data-dir>/theme/<name>/theme.css (the packaged\napp uses ~/.bb/theme/\u2026). The folder name is the theme id.\n\nmoonlet theme list Built-in and custom themes; shows the active one\nmoonlet theme dir Print the custom-theme directory (where to author)\nmoonlet theme set <id> [--favicon-color <color>]\nActivate a theme (built-ins: default, nord,\ndracula, solarized, gruvbox, catppuccin),\npreserving the favicon color unless the flag\nsupplies the complete selection\nmoonlet theme show [id] [--css] Print the active palette, or resolve <id> without\nactivating it; --css dumps the CSS\nmoonlet theme reset Back to the default theme; preserve favicon color\nmoonlet theme favicon set <color> Set favicon color; preserve the active theme\nmoonlet theme favicon reset Reset favicon color; preserve the active theme\n\nTo author a custom theme, run `moonlet theme dir`, write <that-dir>/<name>/theme.css,\nthen `moonlet theme set <name>`. A name has at most 64 characters, starts with a\nletter or digit, then uses letters, digits, `.`, `_`, or `-`; avoid built-in\nids. Optional `pierre-dark.json` / `pierre-light.json`\n(or a `theme.json` `codeTheme` field) ship the matching code colors. Built-in\npalettes use the matching Shiki pair. The full design-token reference is in\nthe bb-cli skill (references/theming.md).\n\nTheme CSS can override typography as well as colors. `--font-terminal` controls\nthe integrated terminal's font family independently of `--font-mono`; set it in\nthe theme's `:root, .light` block and end the stack with a generic fallback.\n\nFavicon colors are `default`, `red`, `orange`, `yellow`, `green`, `teal`,\n`blue`, `purple`, and `pink`. Theme and favicon-only commands carry the other\nappearance value forward explicitly.\n\nHovering a palette in Settings \u2192 Appearance previews it live in that window\nwithout saving; `moonlet theme show <id>` is the CLI counterpart.\n\nAdd --json to any theme command for machine-readable output.\n\nPermissions\n\nSettings \u2192 Permissions brings policy, question levels, recipients and standing\npermissions together. Secret inputs name stored items and fields, never values.\nThe same operations are available through `sdk.experimental_permissions` and:\n\n- `moonlet permissions show` \u2014 policy references, approval controls, grants and recipients as JSON.\n- `moonlet permissions edit <file>` \u2014 a JSON object with `base`, `section` and `value`.\n Sections are `network`, `capability`, `login`, `secret_use` and `backup`; use\n `show` to get the current base and preserve unrelated fields when editing a row.\n For `backup`, `value` is the nightly backup's store (`type`, `path`, `options`,\n optional vault `item`, `recipient` public key), or `null` to turn it off.\n- `moonlet permissions export`, `import <file> --base <base>`, `history [id]` \u2014 the full\n policy and saved versions. Import saves; it does not apply to machines.\n- `moonlet permissions ability <name> <file>` \u2014 JSON with `level`, `sensitive` and\n `expireMinutes`. Levels: `never-ask`, `ask-changes`, `always-ask`, `read-only`.\n- `moonlet permissions revoke <id>` \u2014 revoke an exact-command grant.\n- `moonlet permissions take-back <id>` \u2014 open that standing permission\u2019s original\n protected question. This command does not answer it.\n- `moonlet permissions recipients <file>`, `relay-targets <file>`, `relay-hosts <file>` \u2014\n save the corresponding JSON list. Existing Ask/Allow rules and limits apply.\n- `moonlet permissions check-sign-ins <machine>` \u2014 check configured item titles without\n reading credential values, on macOS or Linux.\n- `moonlet permissions review <machines...>`, `apply <machines...>`, `jobs` \u2014 preview,\n apply through the existing deployment approval, and read progress/results.\n\nThese commands use authenticated settings routes. The machine gate refuses them;\nthere is no approval-answer command or alternate path after a refusal.\n\nActivity\n\nActivity in the rail collects Waiting for you, Changes, Approvals and Messages.\nChanges keeps Undo, details and remembered declines with Forget. Messages keeps\nnamed-message history, relay history, limits and delivery status. Waiting for you\nincludes held messages with Deliver and Discard and the original job questions.\nRecipient lists and live permission controls stay in Settings \u2192 Permissions.\n\nExisting SDK operations are unchanged: plugin RPCs `owner-changes.history`,\n`owner-changes.details`, `owner-changes.undo`, `owner-changes.forget`,\n`messages.state`, `messages.history`, `messages.deliver`, `messages.discard`,\n`relay.state` and `approvals.state` keep their original inputs and authorization.\n`messages.state` adds a `held` list, newest first, queried directly from held\nrecords independently of the latest history page.\nUse `sdk.plugins.callRpc({ pluginId: \"orbit\", method, input, outputSchema })` from an authenticated\nclient, with an output schema matching the existing RPC contract.\n`sdk.experimental_permissions.approvals()` also reads approval history.\nThe CLI counterparts are `moonlet changes list|show|undo|forget`,\n`moonlet messages list|read` and `moonlet permissions show`.\nUse `moonlet plugin rpc call orbit <method> --input-file <json-file> --json` for\nowner-only history, Deliver, Discard and Forget, with the same inputs as the SDK.\nFor example, `messages.deliver` and `messages.discard` take `{ \"id\": 123 }`,\n`owner-changes.forget` takes `{ \"target\": \"prefs:example\" }`, and `relay.state`\ntakes null (omit the input file). These commands keep their existing caller restrictions;\nthere is no CLI command to answer a protected job question.\n\nServer-backed settings\n\nSettings stored server-side apply to every window and survive restarts.\n\nmoonlet settings show\nmoonlet settings ai-services\nmoonlet settings ai-services set <thread-title|commit-message|voice> <automatic|off|service-id> [--plugin <plugin-id>]\nmoonlet settings ai-services test <thread-title|commit-message>\nmoonlet settings general <key> <value>\nmoonlet settings replay-onboarding\nmoonlet settings completed-turns [provider-id] [collapse|flat|default]\nmoonlet settings experiment <key> <value>\nmoonlet settings usage [--machine <id-or-name>] [--refresh]\nmoonlet settings cli-command [install|remove]\nmoonlet settings version [--force]\nmoonlet settings reload Reload bb-managed configuration\n\nAI services: `moonlet settings ai-services` shows which AI service writes thread\ntitles (and so branch names), commit messages, and voice transcripts, plus\nevery service a plugin registers and whether it is ready. `set` picks\n`automatic` (Moonlet cloud first, then all other compatible services by plugin id\nand service id in lexicographic order, including third-party plugins), `off`,\nor one service id; a picked service is never swapped for another. A service is\nidentified by its plugin and its id, so two plugins may use the same id; pass\n`--plugin <plugin-id>` when they do. `test` runs a sample title or commit\nmessage through the current choice. Settings \u2192 Providers has the same\ncontrols. Each plugin chooses its own model. The removed `BB_INFERENCE`,\n`BB_INFERENCE_FALLBACK`, and `BB_TRANSCRIPTION` variables are ignored with a\nwarning in `~/.bb/config.json`, and `bb-app config set` refuses them.\n\nGeneral keys: `moonlet settings general` accepts any key from `generalSettings` in\n`moonlet settings show`; an unknown key or wrongly shaped value is rejected with the\nlist of known keys. Boolean preferences take `true`, `false`, `on`, or `off`,\nand `null` clears a preference that can be unset. Most appear in Settings \u2192\nGeneral. Machine-related keys (`machineServerUrl`, `defaultMachineAccess`,\n`machineGitCredentialsEnabled`) are covered in `moonlet guide machines`.\n\n- `timeZone` (default `null`, server default; Settings \u2192 General \u2192 Time zone) is the clock for reminders, routines and deadlines. Set an IANA name with `moonlet settings general timeZone Europe/London`; `moonlet settings general timeZone null` follows the server again. SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, timeZone: \"Europe/London\" })`. Existing saved assistant time zones carry over.\n- `showDiagnosticEvents` (default false) shows provider environment resolution\n and unhandled provider events in the timeline. Warnings, errors, and model\n fallback stay visible either way.\n- `steerActiveThreadOnEnter` (default true for a new install; an earlier\n install with saved settings or work keeps false): when on, Enter steers a\n running thread and Command+Enter queues a follow-up; when off, those are\n reversed. Shift+Enter inserts a newline.\n- `showGitChanges` (default true; Settings \u2192 General \u2192 Show Git changes and\n Commit button): false hides the git summary, expanded file list,\n pull-request status and actions above the composer, and Commit action in the\n thread header and overflow menu for every thread and connected client. Thread\n relationships and workspace warnings remain visible.\n- `keepHistoryAfterContextClear` (default false; Settings \u2192 General \u2192 Show\n messages from before a context clear): true keeps a cleared thread's earlier\n messages above the `Context cleared` boundary in the timeline, outline, and\n message lookups. The next prompt still starts a fresh provider conversation,\n and the context meter still resets.\n- `summarizeShellCommands` (default true; Settings \u2192 General \u2192 Summarize shell\n commands): false stops titling shell commands that read, list, or search files\n with a summary such as `Searched for X`. Each command row then shows its\n command and expands to the command and its output.\n- `resumeThreadsAfterRestart` (default false; Settings \u2192 General \u2192 Resume\n interrupted threads after a restart): true retries a turn that a quit, crash,\n update or machine restart cut off, and wakes an idle thread whose background\n work the restart stopped, a few seconds after the machine's daemon comes\n back; it also sends queued retries ahead of the thread's other queued rows.\n Set it with `moonlet settings general resumeThreadsAfterRestart true`; SDK\n callers use `system.updateGeneralSettings({ ...config.generalSettings,\n resumeThreadsAfterRestart: true })`. See `moonlet guide thread-lifecycle`.\n- `confirmThreadArchive` (default true): set false to archive parent and child\n threads in the app without the confirmation popup; the toast still offers\n Undo. CLI and SDK archive calls are always non-interactive.\n- `terminalCopyOnSelect` (default true; Settings \u2192 General \u2192 Terminals \u2192 Copy\n on select) copies completed terminal selections exactly and shows \"Selection\n copied\". Text elsewhere in the app is unchanged. Set it with\n `moonlet settings general terminalCopyOnSelect <true|false|on|off>` or SDK\n `system.updateGeneralSettings`. Explicit Copy/Paste work when off. Supported\n Linux browsers use native primary selection for middle-click paste,\n independently of this preference, never the regular clipboard as a fallback.\n- `streamerMode` (default false) hides every `customModels` entry from\n `~/.bb/config.json` in all model lists (pickers, `moonlet provider models`, and\n the SDK) during a screen share. The entries stay in the config file; a\n request that names a hidden model still runs with it, and default model\n resolution still sees the full list.\n- `allowFastServiceTier` (default true; Settings \u2192 Providers): false hides the\n service tier control and runs new turns at the default service tier,\n including explicit requests for any other tier (fast, Codex ultrafast), saved\n project defaults, automations, and messages queued before the change. Project\n defaults saved while it was off retain the default tier.\n- `managedBranchPrefix` (default `bb/`, at most 64 characters) prefixes every\n branch Moonlet creates for a worktree or a new checkout branch: the default gives\n `bb/fix-login-flow-thr_ab12cd34ef`, `sawyer/wt-` gives\n `sawyer/wt-fix-login-flow-thr_ab12cd34ef`, and an empty value gives no\n prefix. Moonlet rejects a prefix that cannot start a valid git branch name.\n Existing branches keep their names.\n- `providerOrder` (default `[]`) is a JSON array of provider ids, and\n `defaultProviderId` (default `null`) names the default provider; `null`\n clears it.\n- `idleProviderSessionTimeoutMinutes` (default `30`; Settings \u2192 Providers \u2192 Configuration \u2192 Release idle agent sessions) sets how long an agent can sit idle after its last turn before every machine stops its provider process. Allowed values are `0` (ASAP), `5`, `10`, `30`, and `60`, for example `moonlet settings general idleProviderSessionTimeoutMinutes 5`. Machines check every five minutes, so release can take up to five minutes beyond the timeout. Changes apply live and on reconnect. Only restorable sessions without active or pending work are eligible; threads keep their history and resume on the next message. `moonlet thread stop` still releases a runtime manually. This is not a limit on loaded processes or memory. Read the value with `moonlet settings show`; SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, idleProviderSessionTimeoutMinutes: 5 })`.\n- `telemetryEnabled`: see Telemetry below.\n\n`moonlet settings replay-onboarding` clears `onboardingCompletedAt`, so the\nfirst-run setup guide (connect an agent, any steps plugins add, add projects,\npick plugins, connect integrations, set up devices) shows again in every open\nclient. Settings \u2192 General \u2192 Setup guide has the same button; SDK callers use\n`system.experimental_replayFirstRun()`. An install whose setup is finished is\nnever shown it again until it is replayed. The Integrations step appears only\nwhen a plugin places a section in Settings \u2192 Integrations, and shows those\nsame sections.\n\n`moonlet settings usage --refresh` fetches fresh provider usage; ordinary reads may\nreuse results for 10 seconds. The SDK equivalent is\n`bb.sdk.system.usageLimits({ refresh: true })`.\n\nCommand line: Settings \u2192 General \u2192 Command line puts the `bb` command on PATH\non the computer that runs the Moonlet server, so the user, a script, or an agent\nrunning outside Moonlet (such as Claude Code or Codex) can control Moonlet; threads in Moonlet\nalready have `bb`. `moonlet settings cli-command` shows the state, and `install` or\n`remove` changes it. Install links the launcher at `~/.bb/bin/bb` into a PATH\nfolder such as `~/.local/bin` (on Windows it adds `~/.bb/bin` to the user\nPATH). Moonlet never replaces another `bb`: install is refused while one runs first\nin a new terminal. Only an installed Moonlet (`npx bb-app` or the desktop app)\noffers this; a source checkout does not.\n\nCompleted turns: `moonlet settings completed-turns` lists how each provider shows a\nfinished turn: `collapse` folds the turn's work into one \"Worked for\" row and\nkeeps the final answer visible, and `flat` keeps every step visible. Each\nprovider has a default (Claude Code is `flat`, the other first-party providers\n`collapse`); `--json` shows whether each value comes from your setting or that\ndefault. `moonlet settings completed-turns <provider-id> <collapse|flat>` overrides\nit for that provider, and `default` removes the override. It applies to\nexisting threads too, including `moonlet thread log`. Settings \u2192 Providers has the\nsame per-provider switch.\n\nExperiments: `moonlet settings experiment <key> <true|false>` toggles a default-off\nexperiment (Settings \u2192 Experiments). `changelogPreview` shows the latest\nrelease notes as a dismissible card on Settings \u2192 Updates. Experiments that\ngate a feature are documented with it: `serverMove` in `moonlet guide machines`,\n`performanceDiagnostics` under Server performance diagnostics below.\n`timelinePush` sends an open thread's timeline updates over the live\nconnection as row deltas instead of reloading the latest window after each\nupdate. `compactExpiredCache` offers a Compact chip in the composer when an idle\nthread's prompt cache has expired and its context holds at least 100k tokens;\nsee `moonlet guide thread-messaging` for `--compact-first`.\n`sidebarMultiSelect` lets the built-in thread list sidebar select several threads with\nCmd/Ctrl-click and Shift-click for bulk actions and drag; while it is off,\nCmd/Ctrl-click opens a thread in a split.\n`moonlet settings general earlyAdopter on` (Settings \u2192 Experiments \u2192 Become an early\nadopter) turns on the experiments marked Early adopter, currently\n`timelinePush`, `compactExpiredCache`, and `sidebarMultiSelect`; an experiment you set yourself keeps\nyour value.\n\nLauncher settings\n\n`bb-app config` and `bb-app env` reload runtime settings in a running server,\nbut the CLI identifies settings that are startup-only, including binding/ports,\ndata and the dev-app port, telemetry, inherited skill roots, and\n`BB_LOG_LEVEL`. Use `bb-app config`, not `bb-app env`, to change `BB_APP_URL`\nlive. After a startup-only change, run `bb-app stop && bb-app start` or restart\nthe desktop app; until then, changing or unsetting `BB_SERVER_BIND_HOST` does\nnot close a previous `0.0.0.0` listener.\n\n`--server-bind-host 0.0.0.0` (or `BB_SERVER_BIND_HOST=0.0.0.0`) listens on\nevery interface for direct remote access; containers must also publish the\nport. Moonlet accepts request hosts that are `localhost`, IP addresses (including\nLAN and Tailscale IPs), or the hostname in `BB_APP_URL`. For a custom DNS name\nor reverse proxy, run `npx bb-app config set BB_APP_URL https://bb.example.com`\nbefore connecting, including from the CLI or SDK; forwarded host headers cannot\nauthorize an unconfigured name. Moonlet Connect needs no additional configuration.\n\nKeyboard shortcuts\n\nSettings \u2192 Keyboard records per-command shortcut overrides, persisted\nserver-side and applied live to every connected window, including desktop menu\naccelerators. Reset removes an override and returns to Moonlet's current default;\n`disabled` explicitly unbinds a command. `Mod` means Command on macOS and\nControl on Windows/Linux. The complete default table is in docs/configuration.md.\n\nmoonlet settings keyboard list\nmoonlet settings keyboard hints <true|false>\nmoonlet settings keyboard set <command> <shortcut|disabled> [--platform mac|windows|linux]\nmoonlet settings keyboard reset [command] [--platform mac|windows|linux]\n\n`keyboard list` prints core command ids with their effective bindings, plus\nevery saved override; examples include `panel.previousTab` / `panel.nextTab`,\n`pane.focus.left|right|up|down`, `pane.maximize.toggle`, and the initially\nunbound `panel.fullScreen.toggle`. `hints` (default true) shows or hides the\ndelayed shortcut badges shown while holding the modifier key; shortcuts work\neither way.\n\n`history.back` / `history.forward` (`Mod+[` / `Mod+]`) follow the pages opened\nin the current window, like the sidebar arrows. `thread.previous` /\n`thread.next` follow sidebar order instead: `Mod+Shift+[` / `Mod+Shift+]`\non desktop and `Control+Shift+[` / `Control+Shift+]` on the web.\n\nAn override can be scoped with `--platform`; without it, it applies on all\nplatforms. A platform-specific override takes precedence over a general one,\nincluding when disabled. Scoped `set` and `reset` keep other platforms'\noverrides; unscoped `set` updates the general override, and unscoped `reset`\nclears every scope for the command (or every command if omitted). The SDK uses\n`system.updateKeyboardSettings` to write and `system.config` to read bindings.\n\nPlugin commands use `plugin:<plugin-id>/<command-id>` as their binding ID, for\nexample `moonlet settings keyboard set plugin:example/open-issue Mod+Shift+I`;\n`reset` restores the plugin's default. Overrides survive plugin disable,\nre-enable, and reload. Commands without defaults start unbound, and\nconflicting plugin defaults stay unbound. Plugin defaults resolve in each app\nwindow, not in `keyboard list`, so CLI/SDK callers should clear conflicting\nexplicit bindings in the same update.\n\nSidebar preferences\n\n`moonlet settings ui` reads and writes server-side sidebar preferences shared by\nevery window, device, and the CLI. The same registry stores which thread Info\npanel sections are collapsed (`infoPanel.collapsedSections`).\n\nmoonlet settings ui list [--json]\nmoonlet settings ui get <key> [--json]\nmoonlet settings ui set <key> <value> [--json]\nmoonlet settings ui reset <key> [--json]\n\n`list` prints every key with its value, revision, and a short description.\n`set` takes plain strings for enum and provider keys and JSON for lists and\n`null`; it retries once if another writer changed the key. `reset` writes the\ndefault. The SDK offers `sdk.system.uiPreferences.list()`, `.set()`, and\n`.reset()`.\n\nThe thread list is drawn by `sidebar.threadListProvider`, which defaults to\n`__automatic__`: the first installed thread list plugin other than the bundled\nThread list plugin (`thread-list/thread-list`), or the bundled plugin when\nthere is none, so installing a thread list plugin switches to it. Select one\nwith `moonlet settings ui set sidebar.threadListProvider <plugin-id>/<slot-id>`, or\nreset to restore Automatic. The bundled Thread list plugin keeps its own\nlayout (organization mode, sort, grouping, hidden and collapsed groups) and\ncopies the legacy `sidebar.*` layout keys from here only once; change its\nlayout with `bb thread-list prefs` (see `moonlet guide plugins`).\n\nThe composer's input box is drawn by `composer.provider`, which defaults to\n`__automatic__`: the first composer plugin you installed, or the bundled\nComposer plugin (`bb--composer/composer`) when there is none. Pick one with\n`moonlet settings ui set composer.provider <plugin-id>/<slot-id>`, or reset to\nrestore Automatic. With no composer plugin enabled, no composer is shown.\n\nA vertical rail of destinations sits on the left edge of the sidebar on every\nscreen size. Home is at the top and returns to the last thread; the visible\ndestinations (Plugins, Skills, and plugin panels) follow; More holds hidden\ndestinations and Customize navigation; Settings is at the bottom. On wide\nwindows the rail shows each destination's name beside its icon; the\nCollapse control at the bottom of the rail shrinks it to icons (names move\nto tooltips) and Show names widens it again. That choice is remembered on\neach device, not synced, so there is no `moonlet settings ui` key for it; plugins\ncan change it through `experimental_useSidebar()`. Phones and narrow windows\nalways use icons.\nNew thread sits in the sidebar header and cannot be hidden from the rail. The list beside the rail swaps between\nthe thread list, Plugins, Skills, and Settings, and collapsing the sidebar\nhides that list and leaves the rail. Rail order and visibility are\n`sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`. In the macOS\ndesktop app, wide windows add a title bar holding the window controls, Back\nand Forward, and the sidebar toggle; the sidebar and page sit in a card below\nit. On narrow windows and phones the rail sits inside the drawer: Home,\nPlugins, Skills, and Settings swap the list beside it and leave the drawer\nopen, and a plugin page closes it.\n\nThe rail and the top list below are the two layouts of the bundled Navigation\nplugin, a built-in you can fork like the thread list.\n`sidebar.navigationProvider` picks what draws the navigation:\n`navigation/rail` (the rail above), `navigation/top-list` (labeled rows above\nthe thread list), another navigation plugin as `<plugin-id>/<slot-id>`, or\n`__automatic__` (the default: the first navigation from another plugin, else\n`navigation/rail`). Pick one in Settings \u2192 Appearance \u2192 Navigation, or:\n\nmoonlet settings ui set sidebar.navigationProvider navigation/top-list\nmoonlet settings ui reset sidebar.navigationProvider\n\nThe top list puts the visible destinations, New thread among them, and More\nabove the thread list, moves Settings into the footer, and adds a Back to app\nrow to the Settings, Plugins, and Skills lists. New thread can be reordered\nand hidden like any other row there. Collapsing hides the whole sidebar, and\nthe macOS desktop app drops the separate title bar. A navigation plugin\ndeclares whether it draws a rail or a list, and gets the matching layout; a\nlist navigation can also bring its own controls beside the sidebar toggle.\nThe same order and visibility keys apply to every provider.\n\nFooter actions: `sidebar.footerOrder` and `sidebar.hiddenFooterItems` are\nstring lists of `builtin:settings` (top list only), `builtin:mobile`,\n`builtin:report-bug`, or\n`plugin:<encoded pluginId>/<encoded registrationId>`. They survive plugin\nreloads and temporarily unavailable plugins; new items are visible by default.\n\nmoonlet settings ui set sidebar.hiddenFooterItems '[\"plugin:bb--provider-usage/usage\"]'\nmoonlet settings ui reset sidebar.hiddenFooterItems\n\nIn the app, the sidebar footer's More menu holds hidden actions and actions\nthat don't fit; Settings \u2192 Appearance \u2192 Sidebar footer, or right-clicking an\naction, edits the footer.\n\nThe command palette's thread search has its own Active/Archived filter, which\nis browser-local: it is not a server setting or a CLI/SDK option. The sidebar\nthread list's Active/Archived filter is the Thread list plugin's\n`threadLifecycles` preference.\n\nSidebar width and open state are per window and stay local to the browser.\n\nHost files and voice transcription\n\nmoonlet file read|write|list|paths|mkdir|move|remove ...\nmoonlet voice transcribe <audio-file> [--type <mime>] [--prompt <context>]\n--type defaults to audio/webm\n\n`moonlet file` supports `--host` for remote machines and `--root` on mutating\ncommands to confine access beneath an absolute directory. `moonlet file write`\ntakes exactly one of `--content` or `--stdin`; `moonlet file paths` lists files and\ndirectories unless `--files` or `--directories` narrows it. `moonlet file list` and\n`moonlet file paths` include dot-prefixed entries; pass `--no-hidden` to skip them.\nBoth skip a default set of dependency and cache directories such as\n`node_modules`, `.venv`, `.pnpm-store`, and root-relative `.claude/worktrees`;\n`--exclude <names...>` replaces that set. Entries match basenames at any depth\nor exact root-relative paths using `/` separators. Use\n`--json` for metadata and machine-readable results.\n\n`moonlet file remove` needs `--yes` without a terminal. `moonlet file remove --recursive`\nand `sdk.files.remove({ recursive: true, ... })` first stop processes whose\nworking directory is inside the directory, including dev servers in nested\ncheckouts (macOS and Linux only).\n\nVoice transcription uses the Voice input service chosen with\n`moonlet settings ai-services set voice <automatic|off|service-id>`. Moonlet accepts\nrecordings up to 25 MB, and each service may set a lower limit; Codex takes up\nto 20 MB. These limits apply to the app, SDK, and CLI. The app's microphone\nchoice is per browser and has no `bb` command. Right-click the composer\nmicrophone, press Shift+F10, or click the Microphone control in Settings \u2192\nVoice Input to open preferences in a desktop popover or mobile drawer.\nOpening starts a local waveform preview; closing releases it. Recording\ncontrols contain cancel, stop, and send; preferences are available while idle.\n\nMissing or unreadable inputs fall back to the system default, then other\navailable inputs. Permission denials do not trigger fallback. A disconnect\nswitches inputs in the same recorder, preserving captured audio. A reconnected\npreferred device is used on the next recording. A missing preference alone\nshows no warning. Capture failures warn on the idle microphone; five seconds\nof near-silent audio warns in the preview or recording row without switching\ninputs or stopping capture. Preview audio is never saved or transcribed.\n\nTelemetry\n\nAnonymous usage telemetry is off by default and has no destination by default.\nIt sends only when all three are on: `BB_POSTHOG_API_KEY` is set and\n`BB_TELEMETRY=true` (both read at startup, for example through `bb-app env`),\nand the saved preference is on: Settings \u2192 General \u2192 Privacy & diagnostics,\n`moonlet settings general telemetryEnabled true`, or SDK\n`system.updateGeneralSettings` with `telemetryEnabled`. The saved preference\ntakes effect immediately. `BB_TELEMETRY=false` always disables telemetry, even\nwhen the saved preference is enabled.\n\nMobile app downloads\n\nSettings \u2192 Remote access links the iOS TestFlight\n(https://testflight.apple.com/join/T9MayTMb) and the Android APK from the\npublic `matt0x6F/moonlet-releases` GitHub `android-testing` release (`bb-android.apk`), and\npairs either app through Add mobile device. `moonlet settings mobile-app --json` or\nSDK `system.mobileAppDownloads()` returns both links. Add `--details --json`\nor call `system.mobileAppReleases()` for the Android version, build, size, and\nupload date; `android` is `null` when that metadata is unavailable, and the\nlinks still work. Inside the Android app, this page compares the installed\nnative build number with the published APK. Older apps without build reporting\ncannot determine update status. Installed version and build are device-local;\nCLI and SDK metadata report the published APK.\n\nServer performance diagnostics\n\nStart with `bb-app --perf-diagnostics` or `BB_PERF_DIAGNOSTICS=1` (restart to\nchange), then run `moonlet settings experiment performanceDiagnostics true|false`.\nCollection needs both; it adds overhead and writes CPU profiles every 30 seconds\nto `$BB_DATA_DIR/logs/performance/` (kept 12 hours), which contain local paths.\nOpen a `.cpuprofile` in Chrome DevTools.\n\nDesktop Settings \u2192 Server \u2192 **Show This Mac** (or **Show This Computer** off macOS)\ndefaults to checked and is disabled while This Mac/Computer is selected.\nUnchecking hides the built-in server from server choices\nwhile another server is active and alternatives exist. It stays listed when\nactive or when it is the only choice. This setting does not stop the local\nruntime or change the active server.\n\nThe desktop stores `showBuiltinServer: false` in `<userData>/server-target.json`;\nmissing means shown, and saving the default omits the field. Other top-level\nmetadata is preserved. This is a desktop-local preference, with no server\nsettings CLI/SDK endpoint. Builds with tolerant readers ignore the field and\nmay drop it on save; older strict readers can reject the whole file, so keep a\nbackup before rolling back to a build predating the tolerant-reader fix #5286.\n\n## Schedules\n\nSettings \u2192 Schedules lists reminders, routines, saved checks and automations,\nincluding their machine, zone and recent outcomes. Turn off stops future runs\nand keeps the definition, saved check and history. It does not stop a running check.\n\n`moonlet schedule list --json` returns the same records and revisions.\n`moonlet schedule disable <id> --revision <number>` turns one off if its revision still\nmatches. These base endpoints are owner-only. The assistant and its authorized\nforks continue to use `moonlet schedule add|list|cancel` through their scoped\ncompatibility route; check approval requirements are unchanged.\n\n## Dormant reply release policy\n\n`replyRelease` is an object accepted by `moonlet settings general replyRelease '<JSON object>'`\nand SDK `system.updateGeneralSettings({ ...config.generalSettings, replyRelease })`.\nRead the current object with `moonlet settings show` or `system.config()` first.\nIts defaults are `enabled: false`, `unavailable: \"release\"`, `reviewerPublicKey: null`,\n`critic: \"gpt-6-luna\"`, and `instruction: \"\"`. It configures the new internal server\nrelease foundation; existing replies are not routed through it yet. The outage\npolicy waits up to one minute, then releases with a not-reviewed mark, or holds\nwhen `unavailable` is `\"hold\"`. The instruction and pinned reviewer public key are\nowner-controlled policy. An absent key or empty instruction means review is\nunavailable. Do not enable it as a way to change today's reply routes.",
|
|
47981
|
+
"body": "Customization commands\n\nBundled plugins such as Keep Awake, Concurrency limit, Thread list, and Push\nnotifications own their settings and commands; run `moonlet guide plugins`.\n\nTheming \u2014 the app-wide palette and typography\n\n`moonlet theme` controls a set of CSS-variable overrides for the app palette and\ntypography, persisted server-side and applied live to every open window.\nLight/dark mode is a separate per-client setting the theme layers on top of.\nCustom themes live on\ndisk, one folder per theme, at <bb-data-dir>/theme/<name>/theme.css (the packaged\napp uses ~/.bb/theme/\u2026). The folder name is the theme id.\n\nmoonlet theme list Built-in and custom themes; shows the active one\nmoonlet theme dir Print the custom-theme directory (where to author)\nmoonlet theme set <id> [--favicon-color <color>]\nActivate a theme (built-ins: default, nord,\ndracula, solarized, gruvbox, catppuccin),\npreserving the favicon color unless the flag\nsupplies the complete selection\nmoonlet theme show [id] [--css] Print the active palette, or resolve <id> without\nactivating it; --css dumps the CSS\nmoonlet theme reset Back to the default theme; preserve favicon color\nmoonlet theme favicon set <color> Set favicon color; preserve the active theme\nmoonlet theme favicon reset Reset favicon color; preserve the active theme\n\nTo author a custom theme, run `moonlet theme dir`, write <that-dir>/<name>/theme.css,\nthen `moonlet theme set <name>`. A name has at most 64 characters, starts with a\nletter or digit, then uses letters, digits, `.`, `_`, or `-`; avoid built-in\nids. Optional `pierre-dark.json` / `pierre-light.json`\n(or a `theme.json` `codeTheme` field) ship the matching code colors. Built-in\npalettes use the matching Shiki pair. The full design-token reference is in\nthe bb-cli skill (references/theming.md).\n\nTheme CSS can override typography as well as colors. `--font-terminal` controls\nthe integrated terminal's font family independently of `--font-mono`; set it in\nthe theme's `:root, .light` block and end the stack with a generic fallback.\n\nFavicon colors are `default`, `red`, `orange`, `yellow`, `green`, `teal`,\n`blue`, `purple`, and `pink`. Theme and favicon-only commands carry the other\nappearance value forward explicitly.\n\nHovering a palette in Settings \u2192 Appearance previews it live in that window\nwithout saving; `moonlet theme show <id>` is the CLI counterpart.\n\nAdd --json to any theme command for machine-readable output.\n\nPermissions\n\nSettings \u2192 Permissions brings policy, question levels, recipients and standing\npermissions together. Secret inputs name stored items and fields, never values.\nThe same operations are available through `sdk.experimental_permissions` and:\n\n- `moonlet permissions show` \u2014 policy references, approval controls, grants and recipients as JSON.\n- `moonlet permissions edit <file>` \u2014 a JSON object with `base`, `section` and `value`.\n Sections are `network`, `capability`, `login`, `secret_use` and `backup`; use\n `show` to get the current base and preserve unrelated fields when editing a row.\n For `backup`, `value` is the nightly backup's store (`type`, `path`, `options`,\n optional vault `item`, `recipient` public key), or `null` to turn it off.\n- `moonlet permissions export`, `import <file> --base <base>`, `history [id]` \u2014 the full\n policy and saved versions. Import saves; it does not apply to machines.\n- `moonlet permissions ability <name> <file>` \u2014 JSON with `level`, `sensitive` and\n `expireMinutes`. Levels: `never-ask`, `ask-changes`, `always-ask`, `read-only`.\n- `moonlet permissions revoke <id>` \u2014 revoke an exact-command grant.\n- `moonlet permissions take-back <id>` \u2014 open that standing permission\u2019s original\n protected question. This command does not answer it.\n- `moonlet permissions recipients <file>`, `relay-targets <file>`, `relay-hosts <file>` \u2014\n save the corresponding JSON list. Existing Ask/Allow rules and limits apply.\n- `moonlet permissions check-sign-ins <machine>` \u2014 check configured item titles without\n reading credential values, on macOS or Linux.\n- `moonlet permissions review <machines...>`, `apply <machines...>`, `jobs` \u2014 preview,\n apply through the existing deployment approval, and read progress/results.\n\nThese commands use authenticated settings routes. The machine gate refuses them;\nthere is no approval-answer command or alternate path after a refusal.\n\nActivity\n\nActivity in the rail collects Waiting for you, Changes, Approvals and Messages.\nChanges keeps Undo, details and remembered declines with Forget. Messages keeps\nnamed-message history, relay history, limits and delivery status. Waiting for you\nincludes held messages with Deliver and Discard and the original job questions.\nRecipient lists and live permission controls stay in Settings \u2192 Permissions.\n\nExisting SDK operations are unchanged: plugin RPCs `owner-changes.history`,\n`owner-changes.details`, `owner-changes.undo`, `owner-changes.forget`,\n`messages.state`, `messages.history`, `messages.deliver`, `messages.discard`,\n`relay.state` and `approvals.state` keep their original inputs and authorization.\n`messages.state` adds a `held` list, newest first, queried directly from held\nrecords independently of the latest history page.\nUse `sdk.plugins.callRpc({ pluginId: \"orbit\", method, input, outputSchema })` from an authenticated\nclient, with an output schema matching the existing RPC contract.\n`sdk.experimental_permissions.approvals()` also reads approval history.\nThe CLI counterparts are `moonlet changes list|show|undo|forget`,\n`moonlet messages list|read` and `moonlet permissions show`.\nUse `moonlet plugin rpc call orbit <method> --input-file <json-file> --json` for\nowner-only history, Deliver, Discard and Forget, with the same inputs as the SDK.\nFor example, `messages.deliver` and `messages.discard` take `{ \"id\": 123 }`,\n`owner-changes.forget` takes `{ \"target\": \"prefs:example\" }`, and `relay.state`\ntakes null (omit the input file). These commands keep their existing caller restrictions;\nthere is no CLI command to answer a protected job question.\n\nServer-backed settings\n\nSettings stored server-side apply to every window and survive restarts.\n\nmoonlet settings show\nmoonlet settings ai-services\nmoonlet settings ai-services set <thread-title|commit-message|voice> <automatic|off|service-id> [--plugin <plugin-id>]\nmoonlet settings ai-services test <thread-title|commit-message>\nmoonlet settings general <key> <value>\nmoonlet settings replay-onboarding\nmoonlet settings completed-turns [provider-id] [collapse|flat|default]\nmoonlet settings experiment <key> <value>\nmoonlet settings usage [--machine <id-or-name>] [--refresh]\nmoonlet settings cli-command [install|remove]\nmoonlet settings version [--force]\nmoonlet settings reload Reload bb-managed configuration\n\nAI services: `moonlet settings ai-services` shows which AI service writes thread\ntitles (and so branch names), commit messages, and voice transcripts, plus\nevery service a plugin registers and whether it is ready. `set` picks\n`automatic` (Moonlet cloud first, then all other compatible services by plugin id\nand service id in lexicographic order, including third-party plugins), `off`,\nor one service id; a picked service is never swapped for another. A service is\nidentified by its plugin and its id, so two plugins may use the same id; pass\n`--plugin <plugin-id>` when they do. `test` runs a sample title or commit\nmessage through the current choice. Settings \u2192 Providers has the same\ncontrols. Each plugin chooses its own model. The removed `BB_INFERENCE`,\n`BB_INFERENCE_FALLBACK`, and `BB_TRANSCRIPTION` variables are ignored with a\nwarning in `~/.bb/config.json`, and `bb-app config set` refuses them.\n\nGeneral keys: `moonlet settings general` accepts any key from `generalSettings` in\n`moonlet settings show`; an unknown key or wrongly shaped value is rejected with the\nlist of known keys. Boolean preferences take `true`, `false`, `on`, or `off`,\nand `null` clears a preference that can be unset. Most appear in Settings \u2192\nGeneral. Machine-related keys (`machineServerUrl`, `defaultMachineAccess`,\n`machineGitCredentialsEnabled`) are covered in `moonlet guide machines`.\n\n- `timeZone` (default `null`, server default; Settings \u2192 General \u2192 Time zone) is the clock for reminders, routines and deadlines. Set an IANA name with `moonlet settings general timeZone Europe/London`; `moonlet settings general timeZone null` follows the server again. SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, timeZone: \"Europe/London\" })`. Existing saved assistant time zones carry over.\n- `showDiagnosticEvents` (default false) shows provider environment resolution\n and unhandled provider events in the timeline. Warnings, errors, and model\n fallback stay visible either way.\n- `steerActiveThreadOnEnter` (default true for a new install; an earlier\n install with saved settings or work keeps false): when on, Enter steers a\n running thread and Command+Enter queues a follow-up; when off, those are\n reversed. Shift+Enter inserts a newline.\n- `showGitChanges` (default true; Settings \u2192 General \u2192 Show Git changes and\n Commit button): false hides the git summary, expanded file list,\n pull-request status and actions above the composer, and Commit action in the\n thread header and overflow menu for every thread and connected client. Thread\n relationships and workspace warnings remain visible.\n- `keepHistoryAfterContextClear` (default false; Settings \u2192 General \u2192 Show\n messages from before a context clear): true keeps a cleared thread's earlier\n messages above the `Context cleared` boundary in the timeline, outline, and\n message lookups. The next prompt still starts a fresh provider conversation,\n and the context meter still resets.\n- `summarizeShellCommands` (default true; Settings \u2192 General \u2192 Summarize shell\n commands): false stops titling shell commands that read, list, or search files\n with a summary such as `Searched for X`. Each command row then shows its\n command and expands to the command and its output.\n- `resumeThreadsAfterRestart` (default false; Settings \u2192 General \u2192 Resume\n interrupted threads after a restart): true retries a turn that a quit, crash,\n update or machine restart cut off, and wakes an idle thread whose background\n work the restart stopped, a few seconds after the machine's daemon comes\n back; it also sends queued retries ahead of the thread's other queued rows.\n Set it with `moonlet settings general resumeThreadsAfterRestart true`; SDK\n callers use `system.updateGeneralSettings({ ...config.generalSettings,\n resumeThreadsAfterRestart: true })`. See `moonlet guide thread-lifecycle`.\n- `confirmThreadArchive` (default true): set false to archive parent and child\n threads in the app without the confirmation popup; the toast still offers\n Undo. CLI and SDK archive calls are always non-interactive.\n- `terminalCopyOnSelect` (default true; Settings \u2192 General \u2192 Terminals \u2192 Copy\n on select) copies completed terminal selections exactly and shows \"Selection\n copied\". Text elsewhere in the app is unchanged. Set it with\n `moonlet settings general terminalCopyOnSelect <true|false|on|off>` or SDK\n `system.updateGeneralSettings`. Explicit Copy/Paste work when off. Supported\n Linux browsers use native primary selection for middle-click paste,\n independently of this preference, never the regular clipboard as a fallback.\n- `streamerMode` (default false) hides every `customModels` entry from\n `~/.bb/config.json` in all model lists (pickers, `moonlet provider models`, and\n the SDK) during a screen share. The entries stay in the config file; a\n request that names a hidden model still runs with it, and default model\n resolution still sees the full list.\n- `allowFastServiceTier` (default true; Settings \u2192 Providers): false hides the\n service tier control and runs new turns at the default service tier,\n including explicit requests for any other tier (fast, Codex ultrafast), saved\n project defaults, automations, and messages queued before the change. Project\n defaults saved while it was off retain the default tier.\n- `managedBranchPrefix` (default `bb/`, at most 64 characters) prefixes every\n branch Moonlet creates for a worktree or a new checkout branch: the default gives\n `bb/fix-login-flow-thr_ab12cd34ef`, `sawyer/wt-` gives\n `sawyer/wt-fix-login-flow-thr_ab12cd34ef`, and an empty value gives no\n prefix. Moonlet rejects a prefix that cannot start a valid git branch name.\n Existing branches keep their names.\n- `providerOrder` (default `[]`) is a JSON array of provider ids, and\n `defaultProviderId` (default `null`) names the default provider; `null`\n clears it.\n- `idleProviderSessionTimeoutMinutes` (default `30`; Settings \u2192 Providers \u2192 Configuration \u2192 Release idle agent sessions) sets how long an agent can sit idle after its last turn before every machine stops its provider process. Allowed values are `0` (ASAP), `5`, `10`, `30`, and `60`, for example `moonlet settings general idleProviderSessionTimeoutMinutes 5`. Machines check every five minutes, so release can take up to five minutes beyond the timeout. Changes apply live and on reconnect. Only restorable sessions without active or pending work are eligible; threads keep their history and resume on the next message. `moonlet thread stop` still releases a runtime manually. This is not a limit on loaded processes or memory. Read the value with `moonlet settings show`; SDK callers use `system.config()` and `system.updateGeneralSettings({ ...config.generalSettings, idleProviderSessionTimeoutMinutes: 5 })`.\n- `telemetryEnabled`: see Telemetry below.\n\n`moonlet settings replay-onboarding` clears `onboardingCompletedAt`, so the\nfirst-run setup guide (connect an agent, any steps plugins add, add projects,\npick plugins, connect integrations, set up devices) shows again in every open\nclient. Settings \u2192 General \u2192 Setup guide has the same button; SDK callers use\n`system.experimental_replayFirstRun()`. An install whose setup is finished is\nnever shown it again until it is replayed. The Integrations step appears only\nwhen a plugin places a section in Settings \u2192 Integrations, and shows those\nsame sections.\n\n`moonlet settings usage --refresh` fetches fresh provider usage; ordinary reads may\nreuse results for 10 seconds. The SDK equivalent is\n`bb.sdk.system.usageLimits({ refresh: true })`.\n\nCommand line: Settings \u2192 General \u2192 Command line puts the `bb` command on PATH\non the computer that runs the Moonlet server, so the user, a script, or an agent\nrunning outside Moonlet (such as Claude Code or Codex) can control Moonlet; threads in Moonlet\nalready have `bb`. `moonlet settings cli-command` shows the state, and `install` or\n`remove` changes it. Install links the launcher at `~/.bb/bin/bb` into a PATH\nfolder such as `~/.local/bin` (on Windows it adds `~/.bb/bin` to the user\nPATH). Moonlet never replaces another `bb`: install is refused while one runs first\nin a new terminal. Only an installed Moonlet (`npx bb-app` or the desktop app)\noffers this; a source checkout does not.\n\nCompleted turns: `moonlet settings completed-turns` lists how each provider shows a\nfinished turn: `collapse` folds the turn's work into one \"Worked for\" row and\nkeeps the final answer visible, and `flat` keeps every step visible. Each\nprovider has a default (Claude Code is `flat`, the other first-party providers\n`collapse`); `--json` shows whether each value comes from your setting or that\ndefault. `moonlet settings completed-turns <provider-id> <collapse|flat>` overrides\nit for that provider, and `default` removes the override. It applies to\nexisting threads too, including `moonlet thread log`. Settings \u2192 Providers has the\nsame per-provider switch.\n\nExperiments: `moonlet settings experiment <key> <true|false>` toggles a default-off\nexperiment (Settings \u2192 Experiments). `changelogPreview` shows the latest\nrelease notes as a dismissible card on Settings \u2192 Updates. Experiments that\ngate a feature are documented with it: `serverMove` in `moonlet guide machines`,\n`performanceDiagnostics` under Server performance diagnostics below.\n`timelinePush` sends an open thread's timeline updates over the live\nconnection as row deltas instead of reloading the latest window after each\nupdate. `compactExpiredCache` offers a Compact chip in the composer when an idle\nthread's prompt cache has expired and its context holds at least 100k tokens;\nsee `moonlet guide thread-messaging` for `--compact-first`.\n`sidebarMultiSelect` lets the built-in thread list sidebar select several threads with\nCmd/Ctrl-click and Shift-click for bulk actions and drag; while it is off,\nCmd/Ctrl-click opens a thread in a split.\n`moonlet settings general earlyAdopter on` (Settings \u2192 Experiments \u2192 Become an early\nadopter) turns on the experiments marked Early adopter, currently\n`timelinePush`, `compactExpiredCache`, and `sidebarMultiSelect`; an experiment you set yourself keeps\nyour value.\n\nLauncher settings\n\n`bb-app config` and `bb-app env` reload runtime settings in a running server,\nbut the CLI identifies settings that are startup-only, including binding/ports,\ndata and the dev-app port, telemetry, inherited skill roots, and\n`BB_LOG_LEVEL`. Use `bb-app config`, not `bb-app env`, to change `BB_APP_URL`\nlive. After a startup-only change, run `bb-app stop && bb-app start` or restart\nthe desktop app; until then, changing or unsetting `BB_SERVER_BIND_HOST` does\nnot close a previous `0.0.0.0` listener.\n\n`--server-bind-host 0.0.0.0` (or `BB_SERVER_BIND_HOST=0.0.0.0`) listens on\nevery interface for direct remote access; containers must also publish the\nport. Moonlet accepts request hosts that are `localhost`, IP addresses (including\nLAN and Tailscale IPs), or the hostname in `BB_APP_URL`. For a custom DNS name\nor reverse proxy, run `npx bb-app config set BB_APP_URL https://bb.example.com`\nbefore connecting, including from the CLI or SDK; forwarded host headers cannot\nauthorize an unconfigured name. Moonlet Connect needs no additional configuration.\n\nKeyboard shortcuts\n\nSettings \u2192 Keyboard records per-command shortcut overrides, persisted\nserver-side and applied live to every connected window, including desktop menu\naccelerators. Reset removes an override and returns to Moonlet's current default;\n`disabled` explicitly unbinds a command. `Mod` means Command on macOS and\nControl on Windows/Linux. The complete default table is in docs/configuration.md.\n\nmoonlet settings keyboard list\nmoonlet settings keyboard hints <true|false>\nmoonlet settings keyboard set <command> <shortcut|disabled> [--platform mac|windows|linux]\nmoonlet settings keyboard reset [command] [--platform mac|windows|linux]\n\n`keyboard list` prints core command ids with their effective bindings, plus\nevery saved override; examples include `panel.previousTab` / `panel.nextTab`,\n`pane.focus.left|right|up|down`, `pane.maximize.toggle`, and the initially\nunbound `panel.fullScreen.toggle`. `hints` (default true) shows or hides the\ndelayed shortcut badges shown while holding the modifier key; shortcuts work\neither way.\n\n`history.back` / `history.forward` (`Mod+[` / `Mod+]`) follow the pages opened\nin the current window, like the sidebar arrows. `thread.previous` /\n`thread.next` follow sidebar order instead: `Mod+Shift+[` / `Mod+Shift+]`\non desktop and `Control+Shift+[` / `Control+Shift+]` on the web.\n\nAn override can be scoped with `--platform`; without it, it applies on all\nplatforms. A platform-specific override takes precedence over a general one,\nincluding when disabled. Scoped `set` and `reset` keep other platforms'\noverrides; unscoped `set` updates the general override, and unscoped `reset`\nclears every scope for the command (or every command if omitted). The SDK uses\n`system.updateKeyboardSettings` to write and `system.config` to read bindings.\n\nPlugin commands use `plugin:<plugin-id>/<command-id>` as their binding ID, for\nexample `moonlet settings keyboard set plugin:example/open-issue Mod+Shift+I`;\n`reset` restores the plugin's default. Overrides survive plugin disable,\nre-enable, and reload. Commands without defaults start unbound, and\nconflicting plugin defaults stay unbound. Plugin defaults resolve in each app\nwindow, not in `keyboard list`, so CLI/SDK callers should clear conflicting\nexplicit bindings in the same update.\n\nSidebar preferences\n\n`moonlet settings ui` reads and writes server-side sidebar preferences shared by\nevery window, device, and the CLI. The same registry stores which thread Info\npanel sections are collapsed (`infoPanel.collapsedSections`) and the app's text\nsize (`appearance.textSize`, a percent from 80 to 150 in steps of 10; Settings\n\u2192 Appearance \u2192 Text size).\n\nmoonlet settings ui list [--json]\nmoonlet settings ui get <key> [--json]\nmoonlet settings ui set <key> <value> [--json]\nmoonlet settings ui reset <key> [--json]\n\n`list` prints every key with its value, revision, and a short description.\n`moonlet settings ui set appearance.textSize 120` makes text 20% larger on\nevery device, code views and the terminal included; `reset` returns it to 100.\n`set` takes plain strings for enum and provider keys and JSON for lists and\n`null`; it retries once if another writer changed the key. `reset` writes the\ndefault. The SDK offers `sdk.system.uiPreferences.list()`, `.set()`, and\n`.reset()`.\n\nThe thread list is drawn by `sidebar.threadListProvider`, which defaults to\n`__automatic__`: the first installed thread list plugin other than the bundled\nThread list plugin (`thread-list/thread-list`), or the bundled plugin when\nthere is none, so installing a thread list plugin switches to it. Select one\nwith `moonlet settings ui set sidebar.threadListProvider <plugin-id>/<slot-id>`, or\nreset to restore Automatic. The bundled Thread list plugin keeps its own\nlayout (organization mode, sort, grouping, hidden and collapsed groups) and\ncopies the legacy `sidebar.*` layout keys from here only once; change its\nlayout with `bb thread-list prefs` (see `moonlet guide plugins`).\n\nThe composer's input box is drawn by `composer.provider`, which defaults to\n`__automatic__`: the first composer plugin you installed, or the bundled\nComposer plugin (`bb--composer/composer`) when there is none. Pick one with\n`moonlet settings ui set composer.provider <plugin-id>/<slot-id>`, or reset to\nrestore Automatic. With no composer plugin enabled, no composer is shown.\n\nA vertical rail of destinations sits on the left edge of the sidebar on every\nscreen size. Home is at the top and returns to the last thread; the visible\ndestinations (Plugins, Skills, and plugin panels) follow; More holds hidden\ndestinations and Customize navigation; Settings is at the bottom. On wide\nwindows the rail shows each destination's name beside its icon; the\nCollapse control at the bottom of the rail shrinks it to icons (names move\nto tooltips) and Show names widens it again. That choice is remembered on\neach device, not synced, so there is no `moonlet settings ui` key for it; plugins\ncan change it through `experimental_useSidebar()`. Phones and narrow windows\nalways use icons.\nNew thread sits in the sidebar header and cannot be hidden from the rail. The list beside the rail swaps between\nthe thread list, Plugins, Skills, and Settings, and collapsing the sidebar\nhides that list and leaves the rail. Rail order and visibility are\n`sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`. In the macOS\ndesktop app, wide windows add a title bar holding the window controls, Back\nand Forward, and the sidebar toggle; the sidebar and page sit in a card below\nit. On narrow windows and phones the rail sits inside the drawer: Home,\nPlugins, Skills, and Settings swap the list beside it and leave the drawer\nopen, and a plugin page closes it.\n\nThe rail and the top list below are the two layouts of the bundled Navigation\nplugin, a built-in you can fork like the thread list.\n`sidebar.navigationProvider` picks what draws the navigation:\n`navigation/rail` (the rail above), `navigation/top-list` (labeled rows above\nthe thread list), another navigation plugin as `<plugin-id>/<slot-id>`, or\n`__automatic__` (the default: the first navigation from another plugin, else\n`navigation/rail`). Pick one in Settings \u2192 Appearance \u2192 Navigation, or:\n\nmoonlet settings ui set sidebar.navigationProvider navigation/top-list\nmoonlet settings ui reset sidebar.navigationProvider\n\nThe top list puts the visible destinations, New thread among them, and More\nabove the thread list, moves Settings into the footer, and adds a Back to app\nrow to the Settings, Plugins, and Skills lists. New thread can be reordered\nand hidden like any other row there. Collapsing hides the whole sidebar, and\nthe macOS desktop app drops the separate title bar. A navigation plugin\ndeclares whether it draws a rail or a list, and gets the matching layout; a\nlist navigation can also bring its own controls beside the sidebar toggle.\nThe same order and visibility keys apply to every provider.\n\nFooter actions: `sidebar.footerOrder` and `sidebar.hiddenFooterItems` are\nstring lists of `builtin:settings` (top list only), `builtin:mobile`,\n`builtin:report-bug`, or\n`plugin:<encoded pluginId>/<encoded registrationId>`. They survive plugin\nreloads and temporarily unavailable plugins; new items are visible by default.\n\nmoonlet settings ui set sidebar.hiddenFooterItems '[\"plugin:bb--provider-usage/usage\"]'\nmoonlet settings ui reset sidebar.hiddenFooterItems\n\nIn the app, the sidebar footer's More menu holds hidden actions and actions\nthat don't fit; Settings \u2192 Appearance \u2192 Sidebar footer, or right-clicking an\naction, edits the footer.\n\nThe command palette's thread search has its own Active/Archived filter, which\nis browser-local: it is not a server setting or a CLI/SDK option. The sidebar\nthread list's Active/Archived filter is the Thread list plugin's\n`threadLifecycles` preference.\n\nSidebar width and open state are per window and stay local to the browser.\n\nHost files and voice transcription\n\nmoonlet file read|write|list|paths|mkdir|move|remove ...\nmoonlet voice transcribe <audio-file> [--type <mime>] [--prompt <context>]\n--type defaults to audio/webm\n\n`moonlet file` supports `--host` for remote machines and `--root` on mutating\ncommands to confine access beneath an absolute directory. `moonlet file write`\ntakes exactly one of `--content` or `--stdin`; `moonlet file paths` lists files and\ndirectories unless `--files` or `--directories` narrows it. `moonlet file list` and\n`moonlet file paths` include dot-prefixed entries; pass `--no-hidden` to skip them.\nBoth skip a default set of dependency and cache directories such as\n`node_modules`, `.venv`, `.pnpm-store`, and root-relative `.claude/worktrees`;\n`--exclude <names...>` replaces that set. Entries match basenames at any depth\nor exact root-relative paths using `/` separators. Use\n`--json` for metadata and machine-readable results.\n\n`moonlet file remove` needs `--yes` without a terminal. `moonlet file remove --recursive`\nand `sdk.files.remove({ recursive: true, ... })` first stop processes whose\nworking directory is inside the directory, including dev servers in nested\ncheckouts (macOS and Linux only).\n\nVoice transcription uses the Voice input service chosen with\n`moonlet settings ai-services set voice <automatic|off|service-id>`. Moonlet accepts\nrecordings up to 25 MB, and each service may set a lower limit; Codex takes up\nto 20 MB. These limits apply to the app, SDK, and CLI. The app's microphone\nchoice is per browser and has no `bb` command. Right-click the composer\nmicrophone, press Shift+F10, or click the Microphone control in Settings \u2192\nVoice Input to open preferences in a desktop popover or mobile drawer.\nOpening starts a local waveform preview; closing releases it. Recording\ncontrols contain cancel, stop, and send; preferences are available while idle.\n\nMissing or unreadable inputs fall back to the system default, then other\navailable inputs. Permission denials do not trigger fallback. A disconnect\nswitches inputs in the same recorder, preserving captured audio. A reconnected\npreferred device is used on the next recording. A missing preference alone\nshows no warning. Capture failures warn on the idle microphone; five seconds\nof near-silent audio warns in the preview or recording row without switching\ninputs or stopping capture. Preview audio is never saved or transcribed.\n\nTelemetry\n\nAnonymous usage telemetry is off by default and has no destination by default.\nIt sends only when all three are on: `BB_POSTHOG_API_KEY` is set and\n`BB_TELEMETRY=true` (both read at startup, for example through `bb-app env`),\nand the saved preference is on: Settings \u2192 General \u2192 Privacy & diagnostics,\n`moonlet settings general telemetryEnabled true`, or SDK\n`system.updateGeneralSettings` with `telemetryEnabled`. The saved preference\ntakes effect immediately. `BB_TELEMETRY=false` always disables telemetry, even\nwhen the saved preference is enabled.\n\nMobile app downloads\n\nSettings \u2192 Remote access links the iOS TestFlight\n(https://testflight.apple.com/join/T9MayTMb) and the Android APK from the\npublic `matt0x6F/moonlet-releases` GitHub `android-testing` release (`bb-android.apk`), and\npairs either app through Add mobile device. `moonlet settings mobile-app --json` or\nSDK `system.mobileAppDownloads()` returns both links. Add `--details --json`\nor call `system.mobileAppReleases()` for the Android version, build, size, and\nupload date; `android` is `null` when that metadata is unavailable, and the\nlinks still work. Inside the Android app, this page compares the installed\nnative build number with the published APK. Older apps without build reporting\ncannot determine update status. Installed version and build are device-local;\nCLI and SDK metadata report the published APK.\n\nServer performance diagnostics\n\nStart with `bb-app --perf-diagnostics` or `BB_PERF_DIAGNOSTICS=1` (restart to\nchange), then run `moonlet settings experiment performanceDiagnostics true|false`.\nCollection needs both; it adds overhead and writes CPU profiles every 30 seconds\nto `$BB_DATA_DIR/logs/performance/` (kept 12 hours), which contain local paths.\nOpen a `.cpuprofile` in Chrome DevTools.\n\nDesktop Settings \u2192 Server \u2192 **Show This Mac** (or **Show This Computer** off macOS)\ndefaults to checked and is disabled while This Mac/Computer is selected.\nUnchecking hides the built-in server from server choices\nwhile another server is active and alternatives exist. It stays listed when\nactive or when it is the only choice. This setting does not stop the local\nruntime or change the active server.\n\nThe desktop stores `showBuiltinServer: false` in `<userData>/server-target.json`;\nmissing means shown, and saving the default omits the field. Other top-level\nmetadata is preserved. This is a desktop-local preference, with no server\nsettings CLI/SDK endpoint. Builds with tolerant readers ignore the field and\nmay drop it on save; older strict readers can reject the whole file, so keep a\nbackup before rolling back to a build predating the tolerant-reader fix #5286.\n\n## Schedules\n\nSettings \u2192 Schedules lists reminders, routines, saved checks and automations,\nincluding their machine, zone and recent outcomes. Turn off stops future runs\nand keeps the definition, saved check and history. It does not stop a running check.\n\n`moonlet schedule list --json` returns the same records and revisions.\n`moonlet schedule disable <id> --revision <number>` turns one off if its revision still\nmatches. These base endpoints are owner-only. The assistant and its authorized\nforks continue to use `moonlet schedule add|list|cancel` through their scoped\ncompatibility route; check approval requirements are unchanged.\n\n## Dormant reply release policy\n\n`replyRelease` is an object accepted by `moonlet settings general replyRelease '<JSON object>'`\nand SDK `system.updateGeneralSettings({ ...config.generalSettings, replyRelease })`.\nRead the current object with `moonlet settings show` or `system.config()` first.\nIts defaults are `enabled: false`, `unavailable: \"release\"`, `reviewerPublicKey: null`,\n`critic: \"gpt-6-luna\"`, and `instruction: \"\"`. It configures the new internal server\nrelease foundation; existing replies are not routed through it yet. The outage\npolicy waits up to one minute, then releases with a not-reviewed mark, or holds\nwhen `unavailable` is `\"hold\"`. The instruction and pinned reviewer public key are\nowner-controlled policy. An absent key or empty instruction means review is\nunavailable. Do not enable it as a way to change today's reply routes.",
|
|
47964
47982
|
"variables": {}
|
|
47965
47983
|
},
|
|
47966
47984
|
{
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Cr as t,Et as n,St as r,bt as i,dr as a,hi as o,kr as s,ri as c,t as l,vr as u,yr as d}from"./boot-vendor-CKEhulXz.js";import{Cr as f,Dh as p,Dp as m,Fh as h,Gd as g,Hf as _,Ia as v,Ir as y,Mo as b,Na as x,On as S,Rm as C,Sc as w,Sr as T,Vf as E,Vm as D,_o as O,br as k,bv as A,co as j,dd as M,dp as N,em as P,ht as F,jh as I,ki as L,mp as R,nt as z,uo as B,up as V,wp as H}from"./index-DCps_qBD.js";import{n as U,r as W,t as G}from"./browser-url-DQsPFWqd.js";import{r as ee}from"./panelChromeClasses-BubpnwAb.js";import{a as K,i as q,n as J,r as te}from"./launcherRow-CVYGyeOl.js";var Y=e(o(),1),X=s(),ne=`bb.thread.browserHistory`,re=`1`,ie=24,Z=a(d({url:t().min(1),title:t().min(1).nullable(),visitedAt:u().int().nonnegative()}).strict()),ae=[],oe=M({parse:(e,t)=>{if(e===null)return t;try{let n=Z.safeParse(JSON.parse(e));return n.success?n.data:t}catch{return t}},serialize:e=>JSON.stringify(e)});function se(e){return`${ne}-${encodeURIComponent(e.trim())}-${re}`}var ce=n(ae),le=l(e=>i(se(e),ae,oe,{getOnInit:!0}));function ue(e){return e!=null&&e.trim().length>0}function de(e){let t=(0,X.c)(10),n;t[0]===e?n=t[1]:(n=ue(e)?le(e):ce,t[0]=e,t[1]=n);let[i,a]=r(n),o;t[2]===a?o=t[3]:(o=e=>{let{url:t,title:n}=e;t.length!==0&&a(e=>[{url:t,title:n,visitedAt:Date.now()},...e.filter(e=>e.url!==t)].slice(0,ie))},t[2]=a,t[3]=o);let s=o,c;t[4]===a?c=t[5]:(c=()=>{a(ae)},t[4]=a,t[5]=c);let l=c,u;return t[6]!==l||t[7]!==i||t[8]!==s?(u={entries:i,recordVisit:s,clear:l},t[6]=l,t[7]=i,t[8]=s,t[9]=u):u=t[9],u}var Q=e(c(),1);function fe(e){return e===null?null:`${e.activeMatchOrdinal}/${e.matches}`}function pe(e){let t=(0,X.c)(9),{icon:n,label:r,disabled:i,onClick:a,shortcut:o}=e,s=o?`${r} (${o.label})`:r,c=o?.ariaKeyshortcuts,l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=h(`flex shrink-0 items-center justify-center transition-colors hover:bg-state-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-40`,R,z),t[0]=l):l=t[0];let u;t[1]===n?u=t[2]:(u=(0,Q.jsx)(p,{name:n,"aria-hidden":!0}),t[1]=n,t[2]=u);let d;return t[3]!==s||t[4]!==i||t[5]!==a||t[6]!==c||t[7]!==u?(d=(0,Q.jsx)(`button`,{type:`button`,onClick:a,disabled:i,"aria-label":s,"aria-keyshortcuts":c,className:l,children:u}),t[3]=s,t[4]=i,t[5]=a,t[6]=c,t[7]=u,t[8]=d):d=t[8],d}function me(e){let t=(0,X.c)(36),{inputRef:n,query:r,matches:i,onQueryChange:a,onFindNext:o,onFindPrevious:s,onClose:c,shortcut:l}=e,u;t[0]===i?u=t[1]:(u=fe(i),t[0]=i,t[1]=u);let d=u,f=i!==null&&i.matches>0,p=i!==null&&i.matches===0,m;t[2]!==c||t[3]!==o||t[4]!==s?(m=e=>{if(!e.nativeEvent.isComposing){if(e.key===`Enter`){e.preventDefault(),e.shiftKey?s():o();return}e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),c())}},t[2]=c,t[3]=o,t[4]=s,t[5]=m):m=t[5];let g=m,_;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(_=h(`flex h-9 shrink-0 items-center gap-1 border-b border-border/70 py-1 pl-2 pr-2`,ee),t[6]=_):_=t[6];let v;t[7]===a?v=t[8]:(v=e=>a(e.target.value),t[7]=a,t[8]=v);let y=l?`Find in page (${l.label})`:`Find in page`,b=l?.ariaKeyshortcuts,x;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(x=h(`min-w-0 flex-1 bg-transparent text-foreground outline-none placeholder:text-muted-foreground`,H),t[9]=x):x=t[9];let S;t[10]!==g||t[11]!==n||t[12]!==r||t[13]!==v||t[14]!==y||t[15]!==b?(S=(0,Q.jsx)(`input`,{ref:n,type:`text`,value:r,onChange:v,onKeyDown:g,placeholder:`Find in page`,"aria-label":y,"aria-keyshortcuts":b,autoComplete:`off`,spellCheck:!1,maxLength:C,className:x}),t[10]=g,t[11]=n,t[12]=r,t[13]=v,t[14]=y,t[15]=b,t[16]=S):S=t[16];let w;t[17]!==d||t[18]!==p?(w=d===null?null:(0,Q.jsx)(`span`,{"data-testid":`browser-find-match-count`,"aria-live":`polite`,className:h(`shrink-0 tabular-nums`,p?`text-destructive`:`text-muted-foreground`,H),children:d}),t[17]=d,t[18]=p,t[19]=w):w=t[19];let T;t[20]!==S||t[21]!==w?(T=(0,Q.jsxs)(`div`,{className:`flex h-7 min-w-0 flex-1 items-center gap-2 rounded-md border border-border/70 bg-background/70 px-2`,children:[S,w]}),t[20]=S,t[21]=w,t[22]=T):T=t[22];let E=!f,D;t[23]!==s||t[24]!==E?(D=(0,Q.jsx)(pe,{icon:`ChevronUp`,label:`Previous match`,disabled:E,onClick:s}),t[23]=s,t[24]=E,t[25]=D):D=t[25];let O=!f,k;t[26]!==o||t[27]!==O?(k=(0,Q.jsx)(pe,{icon:`ChevronDown`,label:`Next match`,disabled:O,onClick:o}),t[26]=o,t[27]=O,t[28]=k):k=t[28];let A;t[29]===c?A=t[30]:(A=(0,Q.jsx)(pe,{icon:`X`,label:`Close find bar`,onClick:c}),t[29]=c,t[30]=A);let j;return t[31]!==T||t[32]!==D||t[33]!==k||t[34]!==A?(j=(0,Q.jsxs)(`div`,{"data-testid":`browser-find-bar`,role:`search`,"aria-label":`Find in page`,className:_,children:[T,D,k,A]}),t[31]=T,t[32]=D,t[33]=k,t[34]=A,t[35]=j):j=t[35],j}function he(e){let t=(0,X.c)(17),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({onFocus:r,onBlur:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=(0,Y.useRef)(null),o=(0,Y.useRef)(!1),s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=()=>{let e=()=>{o.current=!0,a.current=null},t=()=>{o.current=!1};return window.addEventListener(`blur`,e),window.addEventListener(`keydown`,t,!0),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`keydown`,t,!0)}},c=[],t[4]=s,t[5]=c):(s=t[4],c=t[5]),(0,Y.useEffect)(s,c);let l,u,d;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=e=>{a.current=e.button===0&&(o.current||document.activeElement!==e.currentTarget)?{x:e.clientX,y:e.clientY}:null,o.current=!1},u=e=>{let t=a.current;t!==null&&Math.hypot(e.clientX-t.x,e.clientY-t.y)>4&&(a.current=null)},d=e=>{a.current!==null&&(a.current=null,e.preventDefault(),e.currentTarget.select())},t[6]=l,t[7]=u,t[8]=d):(l=t[6],u=t[7],d=t[8]);let f;t[9]===r?f=t[10]:(f=e=>{a.current===null&&!o.current&&e.currentTarget.select(),r?.(e)},t[9]=r,t[10]=f);let p;t[11]===n?p=t[12]:(p=e=>{a.current=null,n?.(e)},t[11]=n,t[12]=p);let m;return t[13]!==i||t[14]!==f||t[15]!==p?(m=(0,Q.jsx)(`input`,{type:`text`,placeholder:`Enter a URL`,autoComplete:`off`,spellCheck:!1,...i,onMouseDown:l,onMouseMove:u,onMouseUp:d,onFocus:f,onBlur:p}),t[13]=i,t[14]=f,t[15]=p,t[16]=m):m=t[16],m}function ge(e){let t=(0,X.c)(27),{entry:n,now:r,onNavigate:i}=e,a;t[0]===n.url?a=t[1]:(a=G(n.url),t[0]=n.url,t[1]=a);let o=a,s;t[2]===n.title?s=t[3]:(s=n.title?.trim(),t[2]=n.title,t[3]=s);let c=s,l=c&&c.length>0?c:o,u;t[4]!==n.visitedAt||t[5]!==r?(u=x({timestamp:n.visitedAt,now:r}),t[4]=n.visitedAt,t[5]=r,t[6]=u):u=t[6];let d=u,f;t[7]!==n.url||t[8]!==i?(f=()=>i(n.url),t[7]=n.url,t[8]=i,t[9]=f):f=t[9];let m=n.url,g;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(g=h(J,`hover:bg-state-hover`),t[10]=g):g=t[10];let _;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(`span`,{className:te,children:(0,Q.jsx)(p,{name:`Browser`,className:V,"aria-hidden":!0})}),t[11]=_):_=t[11];let v;t[12]===l?v=t[13]:(v=(0,Q.jsx)(`span`,{className:`truncate text-foreground`,children:l}),t[12]=l,t[13]=v);let y;t[14]!==o||t[15]!==l?(y=l===o?null:(0,Q.jsx)(`span`,{className:`truncate font-mono text-muted-foreground [flex-shrink:9999]`,children:o}),t[14]=o,t[15]=l,t[16]=y):y=t[16];let b;t[17]!==v||t[18]!==y?(b=(0,Q.jsxs)(`span`,{className:`flex min-w-0 flex-1 items-center gap-1.5`,children:[v,y]}),t[17]=v,t[18]=y,t[19]=b):b=t[19];let S;t[20]===d?S=t[21]:(S=(0,Q.jsx)(q,{idle:d,isActive:!1}),t[20]=d,t[21]=S);let C;return t[22]!==n.url||t[23]!==b||t[24]!==S||t[25]!==f?(C=(0,Q.jsxs)(`button`,{type:`button`,onClick:f,title:m,className:g,children:[_,b,S]}),t[22]=n.url,t[23]=b,t[24]=S,t[25]=f,t[26]=C):C=t[26],C}function _e(e){let t=(0,X.c)(17),{onNavigateInput:n,recent:r,onClearRecent:i}=e,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=Date.now(),t[0]=a):a=t[0];let o=a;if(r.length===0)return null;let s=r.length,c;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(c=h(`rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,H),t[1]=c):c=t[1];let l;t[2]===i?l=t[3]:(l=(0,Q.jsx)(`button`,{type:`button`,onClick:i,"aria-label":`Clear recently visited`,className:c,children:`Clear`}),t[2]=i,t[3]=l);let u;t[4]!==r.length||t[5]!==l?(u=(0,Q.jsx)(K,{label:`Recently visited`,count:s,action:l}),t[4]=r.length,t[5]=l,t[6]=u):u=t[6];let d;if(t[7]!==n||t[8]!==r){let e;t[10]===n?e=t[11]:(e=e=>(0,Q.jsx)(`li`,{children:(0,Q.jsx)(ge,{entry:e,now:o,onNavigate:n})},e.url),t[10]=n,t[11]=e),d=r.map(e),t[7]=n,t[8]=r,t[9]=d}else d=t[9];let f;t[12]===d?f=t[13]:(f=(0,Q.jsx)(`ul`,{"aria-label":`Recently visited`,className:`flex flex-col gap-px`,children:d}),t[12]=d,t[13]=f);let p;return t[14]!==u||t[15]!==f?(p=(0,Q.jsx)(`div`,{className:`flex h-full flex-col overflow-y-auto px-4 pb-6 pt-8`,children:(0,Q.jsx)(`div`,{className:`mx-auto flex w-full max-w-xl flex-col gap-6`,children:(0,Q.jsxs)(`section`,{children:[u,f]})})}),t[14]=u,t[15]=f,t[16]=p):p=t[16],p}function ve({desktopBrowser:e,pluginId:t,tabId:n}){let r=e?.evaluate,i=e?.onPageMessage;return r===void 0||i===void 0?null:{async evaluate(e,i){let a=await r({tabId:n,expression:e,world:i?.world??`isolated`,channel:t});if(!a.ok)throw Error(a.error);return a.value},onMessage(e){return i(r=>{r.tabId===n&&r.channel===t&&e(r.data)})}}}function ye(e){let t=(0,X.c)(18),{slot:n,threadId:r,tabId:i,url:a,isCompactViewport:o}=e,s;t[0]!==n.pluginId||t[1]!==i?(s=ve({desktopBrowser:E(),pluginId:n.pluginId,tabId:i}),t[0]=n.pluginId,t[1]=i,t[2]=s):s=t[2];let c=s,l=n.component,u=`${r}/${i}`,d;t[3]!==l||t[4]!==o||t[5]!==c||t[6]!==i||t[7]!==r||t[8]!==a?(d=(0,Q.jsx)(l,{threadId:r,tabId:i,url:a,isCompactViewport:o,experimental_page:c}),t[3]=l,t[4]=o,t[5]=c,t[6]=i,t[7]=r,t[8]=a,t[9]=d):d=t[9];let f;t[10]!==n.title||t[11]!==d?(f=(0,Q.jsx)(`span`,{role:`group`,"aria-label":n.title,className:`flex shrink-0 items-center`,children:d}),t[10]=n.title,t[11]=d,t[12]=f):f=t[12];let p;return t[13]!==n.id||t[14]!==n.pluginId||t[15]!==u||t[16]!==f?(p=(0,Q.jsx)(y,{pluginId:n.pluginId,slotKind:`browserToolbarAction`,slotId:n.id,instanceId:u,crashFallback:null,children:f}),t[13]=n.id,t[14]=n.pluginId,t[15]=u,t[16]=f,t[17]=p):p=t[17],p}function be(e){let t=(0,X.c)(11),{threadId:n,tabId:r,url:i,isCompactViewport:a}=e,{browserToolbarActions:o}=P();if(o.length===0)return null;let s;if(t[0]!==o||t[1]!==a||t[2]!==r||t[3]!==n||t[4]!==i){let e;t[6]!==a||t[7]!==r||t[8]!==n||t[9]!==i?(e=e=>(0,Q.jsx)(ye,{slot:e,threadId:n,tabId:r,url:i,isCompactViewport:a},`${e.pluginId}/${e.id}/${e.generation}/${n}/${r}`),t[6]=a,t[7]=r,t[8]=n,t[9]=i,t[10]=e):e=t[10],s=o.map(e),t[0]=o,t[1]=a,t[2]=r,t[3]=n,t[4]=i,t[5]=s}else s=t[5];return s}var xe={x:0,y:0,width:0,height:0};function Se(e){return{x:Math.round(e.left),y:Math.round(e.top),width:Math.round(e.width),height:Math.round(e.height)}}function Ce(){return{width:window.innerWidth,height:window.innerHeight}}function we(e){return D({bounds:Se(e.element.getBoundingClientRect()),viewport:Ce()})}function Te(e){return e===`flex-grow`||e===`flex-basis`}function Ee(e){return e.a.x===e.b.x&&e.a.y===e.b.y&&e.a.width===e.b.width&&e.a.height===e.b.height}function De(e){return L(e.url)?`Server not reachable`:e.errorText.includes(`ERR_BLOCKED_BY_CLIENT`)?`Page blocked`:`Page unavailable`}function Oe(e){let t=(0,X.c)(48),{addressDraft:n,isEditing:r,state:i,currentUrl:a,addressInputRef:o,onAddressChange:s,onAddressFocus:c,onAddressBlur:l,onAddressKeyDown:u,onSubmit:d,onBack:f,onForward:m,onReloadOrStop:g,onOpenExternal:_,locationShortcut:v,reloadShortcut:y,pluginActions:b}=e,x=i?.isLoading??!1,S;t[0]===a?S=t[1]:(S=U(a),t[0]=a,t[1]=S);let C=S,w=r?n:a,T,E;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(T=h(`relative h-11 shrink-0 overflow-hidden focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ring max-md:pointer-coarse:h-[52px]`,ee),E=h(`absolute inset-x-0 top-0 flex h-11 translate-y-0 items-center gap-1 py-1.5 pl-2 pr-4 opacity-100 max-md:pointer-coarse:h-[52px]`),t[2]=T,t[3]=E):(T=t[2],E=t[3]);let D=!(i?.canGoBack??!1),O;t[4]!==f||t[5]!==D?(O=(0,Q.jsx)(pe,{icon:`ChevronLeft`,label:`Go back`,disabled:D,onClick:f}),t[4]=f,t[5]=D,t[6]=O):O=t[6];let k=!(i?.canGoForward??!1),A;t[7]!==m||t[8]!==k?(A=(0,Q.jsx)(pe,{icon:`ChevronRight`,label:`Go forward`,disabled:k,onClick:m}),t[7]=m,t[8]=k,t[9]=A):A=t[9];let j=x?`X`:`RotateCcw`,M=x?`Stop loading`:`Reload`,P=x?null:y,F;t[10]!==g||t[11]!==P||t[12]!==j||t[13]!==M?(F=(0,Q.jsx)(pe,{icon:j,label:M,shortcut:P,onClick:g}),t[10]=g,t[11]=P,t[12]=j,t[13]=M,t[14]=F):F=t[14];let I;t[15]===C?I=t[16]:(I=C===`secure`?(0,Q.jsx)(p,{name:`Lock`,className:h(N,`text-success`),"aria-label":`Secure connection`}):C===`insecure`?(0,Q.jsx)(p,{name:`AlertTriangle`,className:h(N,`text-warning`),"aria-label":`Connection not secure`}):(0,Q.jsx)(p,{name:`Search`,className:h(N,`text-muted-foreground`),"aria-hidden":!0}),t[15]=C,t[16]=I);let L;t[17]===s?L=t[18]:(L=e=>s(e.target.value),t[17]=s,t[18]=L);let R=v?`Address and search bar (${v.label})`:`Address and search bar`,z=v?.ariaKeyshortcuts,B;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(B=h(`min-w-0 flex-1 bg-transparent font-mono text-foreground outline-none placeholder:font-sans placeholder:text-muted-foreground`,H),t[19]=B):B=t[19];let V;t[20]!==o||t[21]!==w||t[22]!==l||t[23]!==c||t[24]!==u||t[25]!==L||t[26]!==R||t[27]!==z?(V=(0,Q.jsx)(he,{ref:o,value:w,onChange:L,onFocus:c,onBlur:l,onKeyDown:u,"aria-label":R,"aria-keyshortcuts":z,className:B}),t[20]=o,t[21]=w,t[22]=l,t[23]=c,t[24]=u,t[25]=L,t[26]=R,t[27]=z,t[28]=V):V=t[28];let W;t[29]!==I||t[30]!==V?(W=(0,Q.jsxs)(`div`,{className:`flex h-8 items-center gap-2 rounded-full border border-border/70 bg-background/70 px-3 max-md:pointer-coarse:h-10`,children:[I,V]}),t[29]=I,t[30]=V,t[31]=W):W=t[31];let G;t[32]!==d||t[33]!==W?(G=(0,Q.jsx)(`form`,{onSubmit:d,className:`min-w-0 flex-1`,children:W}),t[32]=d,t[33]=W,t[34]=G):G=t[34];let K=a.length===0,q;t[35]!==_||t[36]!==K?(q=(0,Q.jsx)(pe,{icon:`ExternalLink`,label:`Open in external browser`,disabled:K,onClick:_}),t[35]=_,t[36]=K,t[37]=q):q=t[37];let J;t[38]===x?J=t[39]:(J=x?(0,Q.jsx)(`span`,{className:`absolute inset-x-0 bottom-0 h-0.5 overflow-hidden`,children:(0,Q.jsx)(`span`,{className:`block h-full w-1/3 animate-pulse bg-ring/70 motion-reduce:animate-none`})}):null,t[38]=x,t[39]=J);let te;return t[40]!==b||t[41]!==F||t[42]!==G||t[43]!==q||t[44]!==J||t[45]!==O||t[46]!==A?(te=(0,Q.jsx)(`div`,{role:`region`,"aria-label":`Browser navigation`,tabIndex:-1,className:T,children:(0,Q.jsxs)(`div`,{className:E,children:[O,A,F,G,b,q,J]})}),t[40]=b,t[41]=F,t[42]=G,t[43]=q,t[44]=J,t[45]=O,t[46]=A,t[47]=te):te=t[47],te}function ke(){let e=(0,X.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsxs)(`div`,{className:`flex h-full flex-col items-center justify-center gap-3 px-6 text-center`,children:[(0,Q.jsx)(`span`,{className:`flex size-11 items-center justify-center rounded-lg border border-border bg-card text-muted-foreground`,children:(0,Q.jsx)(p,{name:`Globe`,className:`size-6`,"aria-hidden":!0})}),(0,Q.jsx)(`div`,{className:`text-sm font-medium text-foreground`,children:`Browser tabs need the desktop app`}),(0,Q.jsx)(`p`,{className:h(`max-w-xs text-muted-foreground`,H),children:`The in-app web browser runs in the Moonlet desktop app. Open this thread there to browse the web.`})]}),e[0]=t):t=e[0],t}function Ae(e){let t=(0,X.c)(32),{errorText:n,onOpenExternal:r,onRetry:i,url:a}=e,o;t[0]===a?o=t[1]:(o=G(a),t[0]=a,t[1]=o);let s=o,c;t[2]!==n||t[3]!==a?(c=De({errorText:n,url:a}),t[2]=n,t[3]=a,t[4]=c):c=t[4];let l=c,u;t[5]!==s||t[6]!==a?(u=L(a)?`The browser could not reach ${s||`this local server`}. Start the server, then reload.`:`The browser could not load this page. Try reloading or opening it externally.`,t[5]=s,t[6]=a,t[7]=u):u=t[7];let d=u,f;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsx)(`span`,{className:`flex size-11 items-center justify-center rounded-lg border border-border bg-surface-recessed text-muted-foreground`,children:(0,Q.jsx)(p,{name:`Globe`,className:`size-6`,"aria-hidden":!0})}),t[8]=f):f=t[8];let m;t[9]===l?m=t[10]:(m=(0,Q.jsx)(`p`,{className:`text-sm font-medium text-foreground`,children:l}),t[9]=l,t[10]=m);let g;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(g=h(`mt-1 text-muted-foreground`,H),t[11]=g):g=t[11];let _;t[12]===d?_=t[13]:(_=(0,Q.jsx)(`p`,{className:g,children:d}),t[12]=d,t[13]=_);let v;t[14]!==m||t[15]!==_?(v=(0,Q.jsxs)(`div`,{children:[m,_]}),t[14]=m,t[15]=_,t[16]=v):v=t[16];let y;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Q.jsx)(p,{name:`RotateCcw`,className:`size-3.5`,"aria-hidden":!0}),t[17]=y):y=t[17];let b;t[18]===i?b=t[19]:(b=(0,Q.jsxs)(`button`,{type:`button`,onClick:i,className:`inline-flex h-8 items-center gap-1.5 rounded-md border border-border bg-background px-2.5 text-xs font-medium text-foreground transition-colors hover:bg-state-hover`,children:[y,`Reload`]}),t[18]=i,t[19]=b);let x;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Q.jsx)(p,{name:`ExternalLink`,className:`size-3.5`,"aria-hidden":!0}),t[20]=x):x=t[20];let S;t[21]===r?S=t[22]:(S=(0,Q.jsxs)(`button`,{type:`button`,onClick:r,className:`inline-flex h-8 items-center gap-1.5 rounded-md px-2.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-state-hover hover:text-foreground`,children:[x,`Open externally`]}),t[21]=r,t[22]=S);let C;t[23]!==b||t[24]!==S?(C=(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center justify-center gap-2 pt-1`,children:[b,S]}),t[23]=b,t[24]=S,t[25]=C):C=t[25];let w;t[26]===n?w=t[27]:(w=(0,Q.jsx)(`p`,{className:`max-w-full truncate pt-1 font-mono text-[11px] text-subtle-foreground`,children:n}),t[26]=n,t[27]=w);let T;return t[28]!==C||t[29]!==w||t[30]!==v?(T=(0,Q.jsx)(`div`,{className:`flex h-full flex-col items-center justify-center px-6 text-center`,children:(0,Q.jsxs)(`div`,{className:`flex w-full max-w-sm flex-col items-center gap-3`,children:[f,v,C,w]})}),t[28]=C,t[29]=w,t[30]=v,t[31]=T):T=t[31],T}function je({tabId:e,desktopTarget:t,existingOnly:n,initialUrl:r,addressFocusRequest:i,onAddressFocusRequestConsumed:a,canShowNativeBrowserView:o,canHandleBrowserCommands:s=o,onNativeFocus:c,visibilityCoordinator:l,environmentId:u,threadId:d,onUpdate:p,onOpenInNewTab:h}){let g=B(`browser.focusLocation`),v=B(`browser.reload`),y=B(`browser.find`),x=(0,Y.useMemo)(()=>E(),[]),D=(0,Y.useRef)(null),k=(0,Y.useRef)(null),M=(0,Y.useRef)(null),N=w(),P=m(),{entries:F,recordVisit:I,clear:L}=de(d),[R,z]=(0,Y.useState)(null),[V,H]=(0,Y.useState)(null);(0,Y.useEffect)(()=>{let t=!0,n=!1;H(null);let r=n=>{t&&n.tabId===e&&n.threadId===d&&H(n.control)},i=x?.onControl?.(t=>{t.tabId!==e||t.threadId!==d||(n=!0,r(t))});return x?.getControl?.(e).then(e=>{e!==null&&!n&&r(e)}).catch(()=>void 0),()=>{t=!1,i?.()}},[x,e,d]);let[U,G]=(0,Y.useState)(r),[ee,K]=(0,Y.useState)(r),[q,J]=(0,Y.useState)(!1),[te,X]=(0,Y.useState)(!1),[ne,re]=(0,Y.useState)(!1),ie=(0,Y.useRef)(!1);ie.current=ne;let[Z,ae]=(0,Y.useState)(``),[oe,se]=(0,Y.useState)(null),[ce,le]=(0,Y.useState)(null),ue=(0,Y.useRef)(p),fe=(0,Y.useRef)(I);ue.current=p,fe.current=I;let pe=(0,Y.useRef)(r),he=(0,Y.useRef)(n),ge=(0,Y.useRef)(t),[ve,ye]=(0,Y.useState)(null),Se=ve!==null&&ve.environmentId===u&&ve.tabId===e&&ve.threadId===d,Ce=U.length>0,De=x?.focus!==void 0&&x.onFocus!==void 0&&x.setVisibleWithoutFocus!==void 0,je=R?.errorText??null,Me=je!==null&&Ce,Ne=b(),Pe=(0,Y.useRef)(null),Fe=(0,Y.useCallback)(()=>{let e=D.current;return e===null?null:we({element:e})},[]),Ie=(0,Y.useCallback)(t=>{x!==null&&(Pe.current=t,x.setBounds({tabId:e,bounds:t}))},[x,e]),Le=(0,Y.useCallback)(({force:e})=>{let t=Fe();if(t===null)return;let n=Pe.current;!e&&n!==null&&Ee({a:n,b:t})||Ie(t)},[Fe,Ie]),Re=(0,Y.useCallback)(()=>{Le({force:!0})},[Le]),$=(0,Y.useCallback)(()=>{Le({force:!1})},[Le]),ze=(0,Y.useCallback)(()=>{let e=Fe();return Pe.current=e,e??xe},[Fe]);(0,Y.useEffect)(()=>{if(x===null)return;let t=ze(),n=pe.current;T({environmentId:u,tabId:e,threadId:d});let r=ge.current,i=he.current===!0&&(r===void 0||!f(e,r));x.attach({tabId:e,threadId:d,...i?{existingOnly:!0}:{},url:n,bounds:t,visible:!1}),ye({environmentId:u,tabId:e,threadId:d});let a=null,o=x.onState(t=>{t.tabId===e&&(a!==null&&(a.url!==t.url||t.isLoading&&!a.isLoading)&&se(null),a=t,z(t),G(t.url),ue.current({tabId:e,url:t.url,title:t.title}),!t.isLoading&&t.url.length>0&&fe.current({url:t.url,title:t.title}))}),s=x.onSnapshot?.(t=>{t.tabId===e&&le(t.dataUrl)}),c=x.onFindResult?.(t=>{t.tabId===e&&se({activeMatchOrdinal:t.activeMatchOrdinal,matches:t.matches})});return()=>{o(),s?.(),c?.(),ie.current&&x.stopFindInPage?.({tabId:e,action:`clearSelection`}),l?.release(e)}},[x,u,ze,l,e,d]),(0,Y.useEffect)(()=>{let e=D.current;if(e===null||x===null)return;let t=new ResizeObserver(()=>{$()});return t.observe(e),()=>{t.disconnect()}},[x,$]),(0,Y.useEffect)(()=>{if(x===null)return;let e=e=>{Te(e.propertyName)&&$()};return window.addEventListener(S,$),window.addEventListener(`resize`,$),document.addEventListener(`transitionend`,e,!0),document.addEventListener(`transitioncancel`,e,!0),()=>{window.removeEventListener(S,$),window.removeEventListener(`resize`,$),document.removeEventListener(`transitionend`,e,!0),document.removeEventListener(`transitioncancel`,e,!0)}},[x,$]);let Be=o&&(s||De)&&Ce&&!Me&&Se&&!Ne;(0,Y.useLayoutEffect)(()=>{if(l!==null){if(Be)return l.show(e,Re,{focus:!1}),()=>{l.hide(e)};l.hide(e)}},[l,e,Be,Re]),(0,Y.useLayoutEffect)(()=>{if(te){if(!o||!s||Me||Ne){X(!1);return}Be&&(X(!1),x?.focus?.(e))}},[te,o,s,Me,Ne,Be,x,e]),(0,Y.useEffect)(()=>{if(!(x?.onFocus===void 0||c===void 0))return x.onFocus(t=>{t===e&&c()})},[x,c,e]),(0,Y.useEffect)(()=>{if(i===null||i.tabId!==e)return;if(N){a?.(i);return}K(U),J(!0),k.current?.focus({preventScroll:!0});let t=requestAnimationFrame(()=>{k.current?.focus({preventScroll:!0}),a?.(i)});return()=>cancelAnimationFrame(t)},[i,U,N,a,e]);let Ve=(0,Y.useCallback)(t=>{let n=W(t);n!==null&&(G(n),J(!1),k.current?.blur(),x?.navigate({tabId:e,url:n}),X(!0))},[x,e]),He=(0,Y.useCallback)(e=>{e.preventDefault(),Ve(ee)},[ee,Ve]),Ue=(0,Y.useCallback)(e=>{if(e.nativeEvent.isComposing)return;if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),K(U);let t=e.currentTarget;window.requestAnimationFrame(()=>{document.activeElement===t&&t.select()});return}if(h===null||e.key!==`Enter`||e.shiftKey||e.ctrlKey||!(A(O())?e.metaKey&&!e.altKey:e.altKey&&!e.metaKey))return;e.preventDefault();let t=W(ee);t!==null&&(K(U),J(!1),k.current?.blur(),h(t))},[ee,U,h]),We=(0,Y.useCallback)(()=>{K(U),J(!0)},[U]),Ge=(0,Y.useCallback)(()=>{if(R?.isLoading??!1){x?.stop(e);return}x?.reload(e)},[x,R?.isLoading,e]);j(`browser.focusLocation`,(0,Y.useCallback)(()=>!s||x===null?!1:(K(U),J(!0),k.current?.focus({preventScroll:!0}),window.requestAnimationFrame(()=>{k.current?.focus({preventScroll:!0}),k.current?.select()}),!0),[s,U,x]),100);let Ke=o&&x!==null&&x.findInPage!==void 0&&Ce,qe=(0,Y.useCallback)(t=>{x?.findInPage?.({tabId:e,...t})},[x,e]),Je=(0,Y.useCallback)(()=>{x?.stopFindInPage?.({tabId:e,action:`clearSelection`}),se(null)},[x,e]),Ye=(0,Y.useCallback)(()=>{M.current?.focus({preventScroll:!0}),window.requestAnimationFrame(()=>{M.current?.focus({preventScroll:!0}),M.current?.select()})},[]),Xe=(0,Y.useCallback)(e=>{let t=e.slice(0,C);if(ae(t),t.length===0){Je();return}qe({text:t,forward:!0,newSession:!0})},[Je,qe]),Ze=(0,Y.useCallback)(()=>{Z.length!==0&&qe({text:Z,forward:!0,newSession:!1})},[Z,qe]),Qe=(0,Y.useCallback)(()=>{Z.length!==0&&qe({text:Z,forward:!1,newSession:!1})},[Z,qe]),$e=(0,Y.useCallback)(()=>{re(!1),Je()},[Je]);j(`browser.find`,(0,Y.useCallback)(()=>Ke?(re(!0),Z.length>0&&qe({text:Z,forward:!0,newSession:!0}),Ye(),!0):!1,[Ke,Z,Ye,qe]),100),(0,Y.useEffect)(()=>{ne&&!Ke&&(re(!1),Je())},[Ke,Je,ne]),j(`browser.reload`,()=>!s||x===null||!Ce?!1:(x.reload(e),!0),100);let et=(0,Y.useCallback)(()=>{_()?.openExternalUrl(U)},[U]);return x===null?(0,Q.jsx)(ke,{}):(0,Q.jsxs)(`div`,{"data-app-browser":!0,className:`flex h-full min-h-0 flex-col`,children:[(0,Q.jsx)(Oe,{addressDraft:ee,isEditing:q,state:R,currentUrl:U,addressInputRef:k,onAddressChange:K,onAddressFocus:We,onAddressBlur:()=>J(!1),onAddressKeyDown:Ue,onSubmit:He,onBack:()=>{x.goBack(e)},onForward:()=>{x.goForward(e)},onReloadOrStop:Ge,onOpenExternal:et,locationShortcut:g,reloadShortcut:v,pluginActions:(0,Q.jsx)(be,{threadId:d,tabId:e,url:U,isCompactViewport:P})}),V===null?null:(0,Q.jsxs)(`div`,{role:`status`,className:`flex shrink-0 items-center gap-3 border-b border-border bg-surface-recessed px-3 py-2 text-xs`,children:[(0,Q.jsxs)(`span`,{className:`min-w-0 flex-1 truncate`,children:[V.controllerLabel,` is controlling this tab`]}),(0,Q.jsx)(`button`,{type:`button`,className:`rounded px-2 py-1 hover:bg-state-hover`,onClick:()=>x.releaseControl?.(e),children:`Stop`}),(0,Q.jsx)(`button`,{type:`button`,className:`rounded px-2 py-1 hover:bg-state-hover`,onClick:()=>{x.releaseControl?.(e),x.focus?.(e)},children:`Take over`})]}),ne?(0,Q.jsx)(me,{inputRef:M,query:Z,matches:oe,onQueryChange:Xe,onFindNext:Ze,onFindPrevious:Qe,onClose:$e,shortcut:y}):null,(0,Q.jsxs)(`div`,{ref:D,className:`relative min-h-0 flex-1`,children:[Me?(0,Q.jsx)(Ae,{errorText:je,onOpenExternal:et,onRetry:Ge,url:U}):Ce&&!Ne?null:(0,Q.jsx)(_e,{onNavigateInput:Ve,recent:F,onClearRecent:L}),Ce&&ce!==null?(0,Q.jsx)(`img`,{src:ce,alt:``,draggable:!1,className:`absolute inset-0 size-full`}):null]})]})}function Me(e,t){return t===null?null:e.find(e=>e.id===t)??null}var Ne=4,Pe=32,Fe=2e3;function Ie(e){return Math.min(250*2**(e-1),Fe)}function Le(e,t){if(e===void 0)return`open`;if(t.status===`pending`)return`pending`;let n=t.target;return n===null||n.hostId!==e.hostId?`unavailable`:n.instanceId===e.instanceId?`attach`:`check-saved-window`}function Re(e){let t=(0,X.c)(40),{browserTabs:n,activeBrowserTabId:r,addressFocusRequest:i,onAddressFocusRequestConsumed:a,environmentId:o,canShowNativeBrowserView:s,canHandleBrowserCommands:c,onNativeFocus:l,threadId:u,onUpdate:d,onOpenInNewTab:f}=e,p=i===void 0?null:i,m=c===void 0?s:c,h;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=E(),t[0]=h):h=t[0];let _=h,v;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(v=_===null?null:k(_),t[1]=v):v=t[1];let y=v,b=Me(n,r),x=b?.desktopTarget,S=x?.hostId,C;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(C=()=>_?.getTarget===void 0?{status:`ready`,target:null}:{status:`pending`},t[2]=C):C=t[2];let[w,T]=(0,Y.useState)(C),[D,O]=(0,Y.useState)(0),A=x===void 0?null:`${b?.id}:${D}:${x.hostId}:${x.instanceId}:${x.generation}`,[j,M]=(0,Y.useState)(null),N;t[3]!==A||t[4]!==M?(N=()=>{let e=_?.getTarget?.bind(_);if(e===void 0)return;let t=!0,n=0,r,i=()=>{e().catch(ze).then(e=>{if(t){if(e!==null){T({status:`ready`,target:e});return}if(n+=1,n>=Ne&&T({status:`ready`,target:null}),n>=Pe){M(A);return}r=setTimeout(i,Ie(n))}})};return i(),()=>{t=!1,clearTimeout(r)}},t[3]=A,t[4]=M,t[5]=N):N=t[5],(0,Y.useEffect)(N,[_,S,x?.instanceId,x?.generation,A]);let P=Le(x,w),F=P===`check-saved-window`?A:null,[I,L]=(0,Y.useState)(null),R=x?.instanceId,z;t[6]!==A||t[7]!==R||t[8]!==F||t[9]!==M||t[10]!==S?(z=()=>{if(F===null||S===void 0||R===void 0)return;let e=!0,t=0,n,r=()=>{g.experimental_desktopBrowsers.listInstances({hostId:S}).then(t=>{let{instances:n}=t;e&&L({key:F,status:n.some(e=>e.instanceId===R)?`live`:`gone`})},()=>{if(e){if(t+=1,t>=Ne&&L({key:F,status:`unknown`}),t>=Pe){M(A);return}n=setTimeout(r,Ie(t))}})};return r(),()=>{e=!1,clearTimeout(n)}},t[6]=A,t[7]=R,t[8]=F,t[9]=M,t[10]=S,t[11]=z):z=t[11];let B;if(t[12]!==A||t[13]!==R||t[14]!==F||t[15]!==S?(B=[F,S,R,A],t[12]=A,t[13]=R,t[14]=F,t[15]=S,t[16]=B):B=t[16],(0,Y.useEffect)(z,B),b===null)return null;let V=I?.key===F?I.status:null,H=A!==null&&j===A;if(P===`pending`||P===`check-saved-window`&&V===null){let e;return t[17]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 bg-sidebar`}),t[17]=e):e=t[17],e}if(P===`unavailable`||P===`check-saved-window`&&V!==`gone`){let e;t[18]!==H||t[19]!==V||t[20]!==O?(e=H||V===`live`?()=>O($):null,t[18]=H,t[19]=V,t[20]=O,t[21]=e):e=t[21];let n=_===null?`desktop-required`:V===`live`?`other-window`:w.status===`ready`&&w.target!==null&&w.target.hostId!==x?.hostId?`other-computer`:H?`unreachable`:`reconnecting`,r;return t[22]!==b.url||t[23]!==n||t[24]!==e?(r=(0,Q.jsx)(Ve,{url:b.url,onRetry:e,reason:n}),t[22]=b.url,t[23]=n,t[24]=e,t[25]=r):r=t[25],r}let U=P===`attach`?!0:void 0,W=p?.tabId===b.id?p:null,G;return t[26]!==b.id||t[27]!==b.url||t[28]!==m||t[29]!==s||t[30]!==o||t[31]!==a||t[32]!==l||t[33]!==f||t[34]!==d||t[35]!==W||t[36]!==U||t[37]!==x||t[38]!==u?(G=(0,Q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col bg-sidebar`,children:(0,Q.jsx)(je,{tabId:b.id,desktopTarget:x,existingOnly:U,initialUrl:b.url,addressFocusRequest:W,onAddressFocusRequestConsumed:a,canShowNativeBrowserView:s,canHandleBrowserCommands:m,onNativeFocus:l,visibilityCoordinator:y,environmentId:o,threadId:u,onUpdate:d,onOpenInNewTab:f},b.id)}),t[26]=b.id,t[27]=b.url,t[28]=m,t[29]=s,t[30]=o,t[31]=a,t[32]=l,t[33]=f,t[34]=d,t[35]=W,t[36]=U,t[37]=x,t[38]=u,t[39]=G):G=t[39],G}function $(e){return e+1}function ze(){return null}var Be={"desktop-required":{title:`Browser tabs need the desktop app`,body:`This tab is open in the Moonlet desktop app.`},"other-window":{title:`This tab is open in another Moonlet window`,body:`Switch to that window to keep browsing.`},"other-computer":{title:`This tab is open on another computer`,body:`It was opened in Moonlet on a different computer.`},reconnecting:{title:`Reconnecting to this tab`,body:`The tab opens again as soon as Moonlet reconnects.`},unreachable:{title:`Can't reach this tab`,body:`Moonlet couldn't reconnect. Try again in a moment.`}};function Ve(e){let t=(0,X.c)(24),{url:n,reason:r,onRetry:i}=e,a=Be[r],o;t[0]===n?o=t[1]:(o=URL.canParse(n)?new URL(n):null,t[0]=n,t[1]=o);let s=o,c=s?.protocol===`https:`||s?.protocol===`http:`,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(`span`,{className:`flex size-11 items-center justify-center rounded-lg border border-border bg-card text-muted-foreground`,children:(0,Q.jsx)(p,{name:`Globe`,className:`size-6`,"aria-hidden":!0})}),t[2]=l):l=t[2];let u;t[3]===a.title?u=t[4]:(u=(0,Q.jsx)(`div`,{className:`text-sm font-medium text-foreground`,children:a.title}),t[3]=a.title,t[4]=u);let d;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=h(`max-w-xs text-muted-foreground`,H),t[5]=d):d=t[5];let f;t[6]===a.body?f=t[7]:(f=(0,Q.jsx)(`p`,{className:d,children:a.body}),t[6]=a.body,t[7]=f);let m;t[8]===n?m=t[9]:(m=n.length>0?(0,Q.jsx)(`p`,{className:h(`max-w-full truncate font-mono text-muted-foreground select-text`,H),title:n,children:n}):null,t[8]=n,t[9]=m);let g;t[10]===i?g=t[11]:(g=i===null?null:(0,Q.jsxs)(I,{type:`button`,variant:`outline`,size:`sm`,onClick:i,children:[(0,Q.jsx)(p,{name:`RotateCcw`,"aria-hidden":!0}),`Try again`]}),t[10]=i,t[11]=g);let _;t[12]!==c||t[13]!==i||t[14]!==n?(_=n.length>0?(0,Q.jsxs)(Q.Fragment,{children:[c?(0,Q.jsxs)(I,{type:`button`,variant:i===null?`outline`:`ghost`,size:`sm`,onClick:()=>F(n),children:[(0,Q.jsx)(p,{name:`ExternalLink`,"aria-hidden":!0}),`Open in browser`]}):null,(0,Q.jsxs)(I,{type:`button`,variant:`ghost`,size:`sm`,onClick:()=>{v(n,{successMessage:`Link copied`})},children:[(0,Q.jsx)(p,{name:`Copy`,"aria-hidden":!0}),`Copy link`]})]}):null,t[12]=c,t[13]=i,t[14]=n,t[15]=_):_=t[15];let y;t[16]!==g||t[17]!==_?(y=(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:[g,_]}),t[16]=g,t[17]=_,t[18]=y):y=t[18];let b;return t[19]!==u||t[20]!==f||t[21]!==m||t[22]!==y?(b=(0,Q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col items-center justify-center gap-3 bg-sidebar px-6 text-center`,children:[l,u,f,m,y]}),t[19]=u,t[20]=f,t[21]=m,t[22]=y,t[23]=b):b=t[23],b}export{Re as BrowserTabDeck};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{kr as t,ri as n}from"./boot-vendor-CKEhulXz.js";import{$ as r}from"./index-DCps_qBD.js";import{r as i}from"./git-diff-patch-text-SHpUxhZL.js";import{t as a}from"./MoonletDiffSplit-3xEwFpfu.js";import{a as o,n as s,t as c}from"./code-rendering-DjLdb6cB.js";var l=t(),u=e(n(),1),d=`diffRenderer`;function f(e){let t=(0,l.c)(25),{file:n,patchText:f,fullFileContents:p,view:m,overflow:h,showLineNumbers:g,className:_,onSelectionAddToChat:v}=e,y=m===void 0?s:m,b=h===void 0?c:h,x=g===void 0?!0:g,S=o(),C=S.kind===`plugin`,w;t[0]!==n||t[1]!==C||t[2]!==f?(w=C?f??i(n):``,t[0]=n,t[1]=C,t[2]=f,t[3]=w):w=t[3];let T=w,E;t[4]!==_||t[5]!==n||t[6]!==p||t[7]!==v||t[8]!==b||t[9]!==f||t[10]!==x||t[11]!==y?(E=(0,u.jsx)(a,{file:n,patchText:f,fullFileContents:p,view:y,overflow:b,showLineNumbers:x,className:_,onSelectionAddToChat:v}),t[4]=_,t[5]=n,t[6]=p,t[7]=v,t[8]=b,t[9]=f,t[10]=x,t[11]=y,t[12]=E):E=t[12];let D=E,O;t[13]!==_||t[14]!==n.name||t[15]!==p||t[16]!==b||t[17]!==T||t[18]!==x||t[19]!==y?(O=(e,t)=>(0,u.jsx)(`div`,{className:_,children:(0,u.jsx)(e.component,{patch:T,path:n.name,view:y,overflow:b,showLineNumbers:x,experimental_fullFileContents:p,Original:t})}),t[13]=_,t[14]=n.name,t[15]=p,t[16]=b,t[17]=T,t[18]=x,t[19]=y,t[20]=O):O=t[20];let k;return t[21]!==D||t[22]!==S||t[23]!==O?(k=(0,u.jsx)(r,{replacement:S,original:D,slotKind:d,children:O}),t[21]=D,t[22]=S,t[23]=O,t[24]=k):k=t[24],k}export{f as t};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Br as t,Hr as n,hi as r,jr as i,kr as a,ri as o}from"./boot-vendor-CKEhulXz.js";import{t as s}from"./permission-mode-options-BrNWKCMS.js";import{$o as c,$t as l,Am as u,Ci as d,Ct as f,D as p,Dh as m,Do as h,Eo as g,Fh as _,Go as v,Jr as y,Lc as b,Lt as x,Na as S,Qi as C,Rr as w,St as T,T as E,To as D,Xo as O,Zo as k,ea as ee,en as A,jh as j,jm as te,wh as M,wo as N,xt as ne,y as P}from"./index-DCps_qBD.js";import{a as F,i as I,n as re,o as L,r as ie}from"./dist-DCULoGTS.js";import{b as ae}from"./resource-list-DLZLjUCf.js";import{t as oe}from"./machine-provider-queries-BTz8Sz3J.js";import{n as se}from"./MachineLabel-vUI5j8ve.js";import{t as ce}from"./page-shell-CNCVT3Uj.js";import{a as le,c as ue,d as de,i as fe,l as pe,n as me,o as he,r as ge,s as _e,t as ve,u as ye}from"./MachineRenameDialog-CrnZuppe.js";import{a as be,c as xe,i as Se,o as Ce,r as we,s as Te}from"./host-mutations-Fl0RjER0.js";var R=a(),z=e(o(),1);function Ee(e){let t=(0,R.c)(5),{notice:n}=e;if(n===null||n.message===null)return null;let r=n.phase===`suspending`||n.phase===`resuming`?`text-subtle-foreground`:`text-destructive-text`,i;t[0]===r?i=t[1]:(i=_(`min-w-0 text-xs`,r),t[0]=r,t[1]=i);let a;return t[2]!==n.message||t[3]!==i?(a=(0,z.jsx)(`p`,{role:`status`,"aria-label":`Machine maintenance`,className:i,children:n.message}),t[2]=n.message,t[3]=i,t[4]=a):a=t[4],a}var De=e(r(),1);function Oe(e,t){return t!==null&&t.fromHostId===e.id&&t.oldCopyDeletedAt===null}function ke(e,t){let n=`The server moved from ${e.name} to ${t.toHostName}. The old server data is still on ${e.name}, locked so Moonlet won't start a server from it. Keep it as a backup, or delete it once the new server works.`;return e.status===`connected`?n:`${n} ${e.name} has to be online to delete it.`}function Ae(e){let t=(0,R.c)(33),{host:n,lastMove:r}=e,i=p(),[a,o]=(0,De.useState)(!1),s;t[0]===i?s=t[1]:(s=()=>{i.reset(),o(!0)},t[0]=i,t[1]=s);let c;t[2]!==n||t[3]!==r||t[4]!==s?(c=(0,z.jsx)(B,{host:n,lastMove:r,onDelete:s}),t[2]=n,t[3]=r,t[4]=s,t[5]=c):c=t[5];let l;t[6]===i?l=t[7]:(l=e=>{!e&&!i.isPending&&(i.reset(),o(!1))},t[6]=i,t[7]=l);let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,z.jsx)(h,{children:`Delete the old server copy?`}),t[8]=u):u=t[8];let d;t[9]!==n.name||t[10]!==r.toHostName?(d=(0,z.jsxs)(g,{children:[u,(0,z.jsxs)(N,{children:[`This permanently deletes the database, settings and plugin data`,` `,n.name,` kept when the server moved to `,r.toHostName,`. The server on `,r.toHostName,` is not affected.`]})]}),t[9]=n.name,t[10]=r.toHostName,t[11]=d):d=t[11];let f;t[12]!==i.error||t[13]!==i.isError||t[14]!==n.name?(f=i.isError?(0,z.jsx)(`p`,{className:`text-sm text-destructive-text`,role:`alert`,children:k({error:i.error,fallbackMessage:`Couldn't delete the old server copy on ${n.name}.`})}):null,t[12]=i.error,t[13]=i.isError,t[14]=n.name,t[15]=f):f=t[15];let m;t[16]!==i||t[17]!==n.id||t[18]!==n.name?(m=()=>i.mutate(n.id,{onSuccess:e=>{o(!1),M.success(e.deleted?`Deleted the old server copy on ${n.name}`:`No old server copy was left on ${n.name}`)}}),t[16]=i,t[17]=n.id,t[18]=n.name,t[19]=m):m=t[19];let _=i.isPending?`Deleting…`:`Delete old copy`,v;t[20]!==i.isPending||t[21]!==m||t[22]!==_?(v=(0,z.jsx)(D,{children:(0,z.jsx)(j,{type:`button`,variant:`destructive`,disabled:i.isPending,onClick:m,children:_})}),t[20]=i.isPending,t[21]=m,t[22]=_,t[23]=v):v=t[23];let b;t[24]!==a||t[25]!==l||t[26]!==d||t[27]!==f||t[28]!==v?(b=(0,z.jsxs)(y,{modal:!1,open:a,onOpenChange:l,children:[d,f,v]}),t[24]=a,t[25]=l,t[26]=d,t[27]=f,t[28]=v,t[29]=b):b=t[29];let x;return t[30]!==b||t[31]!==c?(x=(0,z.jsxs)(z.Fragment,{children:[c,b]}),t[30]=b,t[31]=c,t[32]=x):x=t[32],x}function B(e){let t=(0,R.c)(9),{host:n,lastMove:r,onDelete:i}=e,a;t[0]!==n||t[1]!==r?(a=ke(n,r),t[0]=n,t[1]=r,t[2]=a):a=t[2];let o=n.status!==`connected`,s;t[3]!==i||t[4]!==o?(s=(0,z.jsx)(F,{children:(0,z.jsx)(I,{children:(0,z.jsx)(j,{type:`button`,variant:`destructive`,size:`sm`,disabled:o,onClick:i,children:`Delete old copy`})})}),t[3]=i,t[4]=o,t[5]=s):s=t[5];let c;return t[6]!==a||t[7]!==s?(c=(0,z.jsx)(L,{title:`Old server copy`,description:a,children:s}),t[6]=a,t[7]=s,t[8]=c):c=t[8],c}var je=`Highest permission mode any thread on the selected machine may run with. Threads that ask for more resolve down to it, and a provider that supports nothing this low can't run here.`,Me={darwin:`macOS`,linux:`Linux`,wsl:`WSL`,win32:`Windows`,unknown:null};function V({host:e,platformLabel:t,now:n}){let r=[pe({host:e,now:n})];return t!==null&&r.push(t),r.push(`paired ${S({timestamp:e.createdAt,now:n})}`),r.join(` · `)}function Ne(e){let t=(0,R.c)(6),{disabled:n,onSelect:r,value:i}=e,a;t[0]!==n||t[1]!==r||t[2]!==i?(a=s.map(e=>{let t=e.value===i;return(0,z.jsx)(I,{className:`items-start`,children:(0,z.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":t,disabled:n,onClick:()=>{t||r(e.value)},className:_(`flex w-full items-start gap-3 rounded-md text-left outline-none focus-visible:ring-2 focus-visible:ring-ring`,n&&`opacity-70`),children:[(0,z.jsx)(`span`,{className:_(`mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border`,t?`border-foreground`:`border-input`),children:t?(0,z.jsx)(`span`,{className:`size-2 rounded-full bg-foreground`}):null}),(0,z.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,z.jsx)(`span`,{className:`block text-sm text-foreground`,children:e.label}),e.description?(0,z.jsx)(`span`,{className:`mt-0.5 block text-xs leading-snug text-subtle-foreground/75`,children:e.description}):null]})]})},e.value)}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):a=t[3];let o;return t[4]===a?o=t[5]:(o=(0,z.jsx)(`div`,{role:`radiogroup`,"aria-label":`Permission limit`,children:(0,z.jsx)(F,{children:a})}),t[4]=a,t[5]=o),o}function Pe(e){let t=(0,R.c)(57),{host:n,machineProvider:r,platformLabel:a,now:o,isPrimary:s,isThisMachine:c,showServerBadge:l,lifecycleNotice:u,lifecycleActionPending:d,onSuspend:f,onResume:p,onRetryCleanup:h,onRename:g,onReconnect:_,canMoveServerHere:v,onMoveServerHere:y}=e,b;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(b=te(`machines`),t[0]=b):b=t[0];let x;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,z.jsxs)(i,{to:b,className:`inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground`,children:[(0,z.jsx)(m,{name:`ChevronLeft`,className:`size-3.5`}),`Machines`]}),t[1]=x):x=t[1];let S;t[2]!==n||t[3]!==r?(S=(0,z.jsx)(`h1`,{className:`min-w-0 text-sm font-semibold text-foreground`,children:(0,z.jsx)(se,{host:n,machineProvider:r})}),t[2]=n,t[3]=r,t[4]=S):S=t[4];let C;t[5]===c?C=t[6]:(C=c?(0,z.jsx)(re,{children:`This machine`}):null,t[5]=c,t[6]=C);let w;t[7]===l?w=t[8]:(w=l?(0,z.jsx)(re,{children:`Server`}):null,t[7]=l,t[8]=w);let T;t[9]!==S||t[10]!==C||t[11]!==w?(T=(0,z.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[S,C,w]}),t[9]=S,t[10]=C,t[11]=w,t[12]=T):T=t[12];let E;t[13]===n?E=t[14]:(E=ye(n),t[13]=n,t[14]=E);let D;t[15]===E?D=t[16]:(D=(0,z.jsx)(ee,{tone:E}),t[15]=E,t[16]=D);let O;t[17]!==n||t[18]!==o||t[19]!==a?(O=V({host:n,platformLabel:a,now:o}),t[17]=n,t[18]=o,t[19]=a,t[20]=O):O=t[20];let k;t[21]===O?k=t[22]:(k=(0,z.jsx)(`p`,{className:`min-w-0 text-xs text-subtle-foreground/75`,children:O}),t[21]=O,t[22]=k);let A;t[23]!==k||t[24]!==D?(A=(0,z.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[D,k]}),t[23]=k,t[24]=D,t[25]=A):A=t[25];let j;t[26]===u?j=t[27]:(j=(0,z.jsx)(Ee,{notice:u}),t[26]=u,t[27]=j);let M;t[28]!==A||t[29]!==j||t[30]!==T?(M=(0,z.jsxs)(`div`,{className:`min-w-0 space-y-1`,children:[T,A,j]}),t[28]=A,t[29]=j,t[30]=T,t[31]=M):M=t[31];let N;t[32]!==n||t[33]!==d||t[34]!==r||t[35]!==p||t[36]!==h||t[37]!==f?(N=(0,z.jsx)(le,{host:n,machineProvider:r,pending:d,onSuspend:f,onResume:p,onRetryCleanup:h}),t[32]=n,t[33]=d,t[34]=r,t[35]=p,t[36]=h,t[37]=f,t[38]=N):N=t[38];let ne=`${n.name} actions`,P;t[39]!==v||t[40]!==n||t[41]!==s||t[42]!==d||t[43]!==r||t[44]!==y||t[45]!==_||t[46]!==g?(P=fe({host:n,machineProvider:r,isPrimary:s,canMoveServerHere:v,lifecycleActionPending:d,onRename:g,onReconnect:_,onMoveServerHere:y}),t[39]=v,t[40]=n,t[41]=s,t[42]=d,t[43]=r,t[44]=y,t[45]=_,t[46]=g,t[47]=P):P=t[47];let F;t[48]!==ne||t[49]!==P?(F=(0,z.jsx)(ae,{label:ne,items:P}),t[48]=ne,t[49]=P,t[50]=F):F=t[50];let I;t[51]!==N||t[52]!==F?(I=(0,z.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2`,children:[N,F]}),t[51]=N,t[52]=F,t[53]=I):I=t[53];let L;return t[54]!==M||t[55]!==I?(L=(0,z.jsxs)(`div`,{className:`space-y-3`,children:[x,(0,z.jsxs)(`div`,{className:`flex min-w-0 items-start justify-between gap-3`,children:[M,I]})]}),t[54]=M,t[55]=I,t[56]=L):L=t[56],L}function Fe(){let e=(0,R.c)(120),{hostId:r}=n(),a=t(),o=C(),{providers:s}=oe(),l=v(),{localDaemonHostId:u,platform:p}=d(),h=b(),g=ne(),_=we(),y=Ce(),S=Te(),D=Se(),ee=be(),N=xe(),re=E(),[ae,se]=(0,De.useState)(!1),[le,fe]=(0,De.useState)(!1),[pe,ye]=(0,De.useState)(!1),[Ee,ke]=(0,De.useState)(!1),B=o.data,V=B?.find(e=>e.id===r)??null,Fe=V?.lifecycle.message??null,Be=V===null?null:{phase:V.lifecycle.phase,message:Fe},Ve=l.data?.primaryHostId??null,H=l.data?.experiments.serverMove??!1,U=V!==null&&V.id===Ve,He;e[0]===B?He=e[1]:(He=B?.filter(ze).length??0,e[0]=B,e[1]=He);let Ue=He>1&&V!==null&&V.id===u,We=V?.machineProviderId===null||V?.machineProviderId===void 0?null:s?.find(e=>e.id===V.machineProviderId)??null,Ge;if(e[2]!==r||e[3]!==h.data?.projects){let t=h.data?.projects??[],n;e[5]===r?n=e[6]:(n=e=>e.sources.some(e=>e.hostId===r),e[5]=r,e[6]=n),Ge=t.filter(n).map(Re),e[2]=r,e[3]=h.data?.projects,e[4]=Ge}else Ge=e[4];let Ke=Ge,W,qe;if(e[7]!==r||e[8]!==g.machines){let t;e[11]===r?t=e[12]:(t=e=>e.host.id===r,e[11]=r,e[12]=t),W=g.machines.find(t),qe=(W?.issues??[]).filter(x),e[7]=r,e[8]=g.machines,e[9]=W,e[10]=qe}else W=e[9],qe=e[10];let Je=qe.length,Ye=O().data;W?.providerStatus;let Xe;bb0:{let t=W?.providerStatus;if(!t){let t;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(t=[],e[13]=t):t=e[13],Xe=t;break bb0}let n;e[14]!==Ye||e[15]!==t?(n=Object.entries(t).flatMap(e=>{let[t,n]=e;if(!n.installed)return[];let r=Ye?.find(e=>e.id===t);return[{...n,providerId:t,provider:r,ProviderIcon:A(`agent`,t,r??null)?.icon}]}),e[14]=Ye,e[15]=t,e[16]=n):n=e[16],Xe=n}let Ze=Xe,Qe;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(Qe=Date.now(),e[17]=Qe):Qe=e[17];let $e=Qe,et=V!==null&&V.id===u&&p!==null?Me[p]:U&&l.data?.primaryHostPlatform?Me[l.data.primaryHostPlatform]:null;if(B===void 0){let t;return e[18]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,z.jsx)(ce,{contentClassName:`pt-4 md:pt-5`,children:(0,z.jsx)(`div`,{className:`mx-auto w-full max-w-3xl`,children:(0,z.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`})})}),e[18]=t):t=e[18],t}if(V===null){let t;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(t=te(`machines`),e[19]=t):t=e[19];let n;return e[20]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,z.jsx)(ce,{contentClassName:`pt-4 md:pt-5`,children:(0,z.jsxs)(`div`,{className:`mx-auto w-full max-w-3xl space-y-3`,children:[(0,z.jsxs)(i,{to:t,className:`inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground`,children:[(0,z.jsx)(m,{name:`ChevronLeft`,className:`size-3.5`}),`Machines`]}),(0,z.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Machine is no longer paired.`})]})}),e[20]=n):n=e[20],n}let tt=T(V),nt=re.data?.lastMove??null,rt=ce,it=Pe,at=S.isPending||D.isPending||ee.isPending,ot=()=>S.mutate(V.id),st=()=>D.mutate(V.id),ct=()=>ee.mutate(V.id),G;e[21]===_?G=e[22]:(G=()=>{_.reset(),se(!0)},e[21]=_,e[22]=G);let lt=l.data!==void 0&&P({host:V,primaryHostId:Ve,move:re.data?.move??null,serverMoveEnabled:H}),ut,dt;e[23]===Symbol.for(`react.memo_cache_sentinel`)?(ut=()=>ke(!0),dt=()=>ye(!0),e[23]=ut,e[24]=dt):(ut=e[23],dt=e[24]);let ft;e[25]!==it||e[26]!==V||e[27]!==U||e[28]!==Ue||e[29]!==Be||e[30]!==We||e[31]!==$e||e[32]!==et||e[33]!==ct||e[34]!==G||e[35]!==lt||e[36]!==at||e[37]!==ot||e[38]!==st?(ft=(0,z.jsx)(it,{host:V,machineProvider:We,platformLabel:et,now:$e,isPrimary:U,isThisMachine:Ue,showServerBadge:U,lifecycleNotice:Be,lifecycleActionPending:at,onSuspend:ot,onResume:st,onRetryCleanup:ct,onRename:G,canMoveServerHere:lt,onReconnect:ut,onMoveServerHere:dt}),e[25]=it,e[26]=V,e[27]=U,e[28]=Ue,e[29]=Be,e[30]=We,e[31]=$e,e[32]=et,e[33]=ct,e[34]=G,e[35]=lt,e[36]=at,e[37]=ot,e[38]=st,e[39]=ft):ft=e[39];let K;e[40]!==V.id||e[41]!==V.name||e[42]!==N?(K=e=>N.mutate({hostId:V.id,maxPermissionMode:e},{onError:e=>{c({error:e,fallbackMessage:`Couldn't change the permission limit for ${V.name}.`})}}),e[40]=V.id,e[41]=V.name,e[42]=N,e[43]=K):K=e[43];let q;e[44]!==V.maxPermissionMode||e[45]!==K||e[46]!==N.isPending?(q=(0,z.jsx)(L,{title:`Permission limit`,description:je,children:(0,z.jsx)(Ne,{value:V.maxPermissionMode,disabled:N.isPending,onSelect:K})}),e[44]=V.maxPermissionMode,e[45]=K,e[46]=N.isPending,e[47]=q):q=e[47];let J;e[48]!==V.status||e[49]!==Ze||e[50]!==W?.statusError||e[51]!==W?.statusPending||e[52]!==Je?(J=(0,z.jsx)(L,{title:`Provider CLIs`,children:(0,z.jsx)(F,{children:(0,z.jsx)(ie,{label:`Installed`,children:V.status===`connected`?W?.statusPending?(0,z.jsx)(`span`,{children:`Checking…`}):W?.statusError?(0,z.jsx)(`span`,{children:`Status unavailable`}):(0,z.jsxs)(z.Fragment,{children:[Ze.length>0?(0,z.jsx)(`span`,{className:`flex min-w-0 flex-wrap items-center justify-start gap-x-3 gap-y-1 @min-[36rem]/settings:justify-end`,children:Ze.map(Le)}):(0,z.jsx)(`span`,{children:`None installed`}),Je>0?(0,z.jsx)(i,{to:te(`updates`),className:`shrink-0 rounded outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`,children:(0,z.jsxs)(w,{variant:`outline`,size:`sm`,className:`border-attention/50 bg-surface-attention text-warning-text transition-colors hover:border-attention hover:text-foreground`,children:[Je,` to fix`]})}):null]}):(0,z.jsx)(`span`,{children:`Unavailable while offline`})})})}),e[48]=V.status,e[49]=Ze,e[50]=W?.statusError,e[51]=W?.statusPending,e[52]=Je,e[53]=J):J=e[53];let Y;e[54]===V.id?Y=e[55]:(Y=(0,z.jsx)(de,{hostId:V.id}),e[54]=V.id,e[55]=Y);let X;e[56]===Ke?X=e[57]:(X=(0,z.jsx)(ie,{label:`Projects`,children:Ke.length===0?(0,z.jsx)(`span`,{children:`None`}):(0,z.jsx)(`span`,{className:`min-w-0 truncate`,children:Ke.map(Ie)})}),e[56]=Ke,e[57]=X);let pt=tt??`Up to date`,Z;e[58]===pt?Z=e[59]:(Z=(0,z.jsx)(`span`,{children:pt}),e[58]=pt,e[59]=Z);let mt;e[60]!==V||e[61]!==y?(mt=f(V)?(0,z.jsx)(j,{type:`button`,variant:`outline`,size:`sm`,className:`h-6 px-2 text-xs`,disabled:y.isPending,onClick:()=>y.mutate(V.id,{onSuccess:()=>{M.success(`Update retry requested for ${V.name}`)}}),children:y.isPending?`Retrying…`:`Retry update`}):null,e[60]=V,e[61]=y,e[62]=mt):mt=e[62];let ht;e[63]!==Z||e[64]!==mt?(ht=(0,z.jsxs)(ie,{label:`Updates`,children:[Z,mt]}),e[63]=Z,e[64]=mt,e[65]=ht):ht=e[65];let gt;e[66]!==X||e[67]!==ht?(gt=(0,z.jsx)(L,{title:`Machine information`,children:(0,z.jsxs)(F,{children:[X,ht]})}),e[66]=X,e[67]=ht,e[68]=gt):gt=e[68];let _t;e[69]!==V||e[70]!==nt||e[71]!==H?(_t=H&&Oe(V,nt)?(0,z.jsx)(Ae,{host:V,lastMove:nt}):null,e[69]=V,e[70]=nt,e[71]=H,e[72]=_t):_t=e[72];let vt;e[73]!==V||e[74]!==U||e[75]!==H?(vt=U?ue(H):`Revokes ${V.name}'s access to this server. ${_e(V)}`,e[73]=V,e[74]=U,e[75]=H,e[76]=vt):vt=e[76];let yt;e[77]===Symbol.for(`react.memo_cache_sentinel`)?(yt=()=>fe(!0),e[77]=yt):yt=e[77];let bt;e[78]===U?bt=e[79]:(bt=(0,z.jsx)(F,{children:(0,z.jsx)(I,{children:(0,z.jsx)(j,{type:`button`,variant:`destructive`,size:`sm`,disabled:U,onClick:yt,children:`Remove machine`})})}),e[78]=U,e[79]=bt);let Q;e[80]!==vt||e[81]!==bt?(Q=(0,z.jsx)(L,{title:`Danger zone`,description:vt,children:bt}),e[80]=vt,e[81]=bt,e[82]=Q):Q=e[82];let xt;e[83]!==ft||e[84]!==q||e[85]!==J||e[86]!==Y||e[87]!==gt||e[88]!==_t||e[89]!==Q?(xt=(0,z.jsxs)(`div`,{className:`mx-auto w-full max-w-3xl space-y-6 pb-10`,children:[ft,q,J,Y,gt,_t,Q]}),e[83]=ft,e[84]=q,e[85]=J,e[86]=Y,e[87]=gt,e[88]=_t,e[89]=Q,e[90]=xt):xt=e[90];let St=ae?V:null,Ct;e[91]!==_.error||e[92]!==_.isError?(Ct=_.isError?k({error:_.error,fallbackMessage:`Couldn't rename the machine.`}):null,e[91]=_.error,e[92]=_.isError,e[93]=Ct):Ct=e[93];let wt;e[94]===_.isPending?wt=e[95]:(wt=e=>{!e&&!_.isPending&&se(!1)},e[94]=_.isPending,e[95]=wt);let Tt;e[96]===_?Tt=e[97]:(Tt=(e,t)=>_.mutate({hostId:e.id,name:t},{onSuccess:()=>se(!1)}),e[96]=_,e[97]=Tt);let Et;e[98]!==_.isPending||e[99]!==St||e[100]!==Ct||e[101]!==wt||e[102]!==Tt?(Et=(0,z.jsx)(ve,{target:St,pending:_.isPending,errorMessage:Ct,onOpenChange:wt,onRename:Tt}),e[98]=_.isPending,e[99]=St,e[100]=Ct,e[101]=wt,e[102]=Tt,e[103]=Et):Et=e[103];let Dt=le?V:null,Ot;e[104]===a?Ot=e[105]:(Ot=()=>a(te(`machines`)),e[104]=a,e[105]=Ot);let kt;e[106]!==Dt||e[107]!==Ot?(kt=(0,z.jsx)(he,{target:Dt,onOpenChange:fe,onRemoved:Ot}),e[106]=Dt,e[107]=Ot,e[108]=kt):kt=e[108];let At=Ee?V:null,jt;e[109]===At?jt=e[110]:(jt=(0,z.jsx)(ge,{target:At,onOpenChange:ke}),e[109]=At,e[110]=jt);let Mt=pe?V:null,$;e[111]===Mt?$=e[112]:($=(0,z.jsx)(me,{target:Mt,onOpenChange:ye}),e[111]=Mt,e[112]=$);let Nt;return e[113]!==rt||e[114]!==xt||e[115]!==Et||e[116]!==kt||e[117]!==jt||e[118]!==$?(Nt=(0,z.jsxs)(rt,{contentClassName:`pt-4 md:pt-5`,children:[xt,Et,kt,jt,$]}),e[113]=rt,e[114]=xt,e[115]=Et,e[116]=kt,e[117]=jt,e[118]=$,e[119]=Nt):Nt=e[119],Nt}function Ie(e,t){return(0,z.jsxs)(`span`,{children:[t>0?` · `:``,(0,z.jsx)(i,{to:u(e.id),className:`hover:text-foreground`,children:e.name})]},e.id)}function Le(e){return(0,z.jsxs)(`span`,{className:`inline-flex min-w-0 items-center gap-1.5`,children:[e.ProviderIcon?(0,z.jsx)(`span`,{"data-provider-icon":e.providerId,"aria-hidden":!0,className:`flex size-3.5 shrink-0 items-center justify-center`,children:e.provider===void 0?(0,z.jsx)(e.ProviderIcon,{className:`size-3.5`}):(0,z.jsx)(l,{provider:e.provider,icon:e.ProviderIcon,className:`size-3.5`})}):null,(0,z.jsx)(`span`,{children:e.displayName}),e.currentVersion?(0,z.jsx)(`span`,{children:e.currentVersion}):null]},e.providerId)}function Re(e){return{id:e.id,name:e.name}}function ze(e){return e.type===`persistent`}export{Fe as MachineSettingsView};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{It as t,J as n,Qt as r,X as i,Xn as a,Y as o,Yt as s,Z as c,Zt as l,hi as u,kr as d,ri as f}from"./boot-vendor-CKEhulXz.js";import{Dh as p,Dp as m,Fh as h,Ha as g,Ov as _,Ph as v,Ua as y,Va as b,_a as ee,ga as x,gp as te,va as S}from"./index-DCps_qBD.js";import{t as C}from"./switch-BRYzbFH-.js";import{a as w,i as T,o as E,r as D,s as O,t as k}from"./model-load-error-message-CH_k4E7q.js";var A=d(),j=e(u(),1),M=e(f(),1),N=`Toggle`,P=j.forwardRef((e,n)=>{let{pressed:i,defaultPressed:a,onPressedChange:o,...c}=e,[l,u]=t({prop:i,onChange:o,defaultProp:a??!1,caller:N});return(0,M.jsx)(s.button,{type:`button`,"aria-pressed":l,"data-state":l?`on`:`off`,"data-disabled":e.disabled?``:void 0,...c,ref:n,onClick:r(e.onClick,()=>{e.disabled||u(!l)})})});P.displayName=N;var F=P,I=`ToggleGroup`,[L,R]=l(I,[i]),z=i(),B=j.forwardRef((e,t)=>{let{type:n,...r}=e;if(n===`single`)return(0,M.jsx)(ne,{role:`radiogroup`,...r,ref:t});if(n===`multiple`)return(0,M.jsx)(re,{role:`toolbar`,...r,ref:t});throw Error(`Missing prop \`type\` expected on \`${I}\``)});B.displayName=I;var[V,H]=L(I),ne=j.forwardRef((e,n)=>{let{value:r,defaultValue:i,onValueChange:a=()=>{},...o}=e,[s,c]=t({prop:r,defaultProp:i??``,onChange:a,caller:I});return(0,M.jsx)(V,{scope:e.__scopeToggleGroup,type:`single`,value:j.useMemo(()=>s?[s]:[],[s]),onItemActivate:c,onItemDeactivate:j.useCallback(()=>c(``),[c]),children:(0,M.jsx)(W,{...o,ref:n})})}),re=j.forwardRef((e,n)=>{let{value:r,defaultValue:i,onValueChange:a=()=>{},...o}=e,[s,c]=t({prop:r,defaultProp:i??[],onChange:a,caller:I}),l=j.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=j.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,M.jsx)(V,{scope:e.__scopeToggleGroup,type:`multiple`,value:s,onItemActivate:l,onItemDeactivate:u,children:(0,M.jsx)(W,{...o,ref:n})})});B.displayName=I;var[U,ie]=L(I),W=j.forwardRef((e,t)=>{let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:a,dir:l,loop:u=!0,...d}=e,f=z(n),p=c(l),m={dir:p,...d};return(0,M.jsx)(U,{scope:n,rovingFocus:i,disabled:r,children:i?(0,M.jsx)(o,{asChild:!0,...f,orientation:a,dir:p,loop:u,children:(0,M.jsx)(s.div,{...m,ref:t})}):(0,M.jsx)(s.div,{...m,ref:t})})}),G=`ToggleGroupItem`,K=j.forwardRef((e,t)=>{let r=H(G,e.__scopeToggleGroup),i=ie(G,e.__scopeToggleGroup),a=z(e.__scopeToggleGroup),o=r.value.includes(e.value),s=i.disabled||e.disabled,c={...e,pressed:o,disabled:s},l=j.useRef(null);return i.rovingFocus?(0,M.jsx)(n,{asChild:!0,...a,focusable:!s,active:o,ref:l,children:(0,M.jsx)(q,{...c,ref:t})}):(0,M.jsx)(q,{...c,ref:t})});K.displayName=G;var q=j.forwardRef((e,t)=>{let{__scopeToggleGroup:n,value:r,...i}=e,a=H(G,n),o={role:`radio`,"aria-checked":e.pressed,"aria-pressed":void 0};return(0,M.jsx)(P,{...a.type===`single`?o:void 0,...i,ref:t,onPressedChange:e=>{e?a.onItemActivate(r):a.onItemDeactivate(r)}})}),J=a(`inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_[data-icon-root]]:pointer-events-none [&_[data-icon-root]]:size-4 [&_[data-icon-root]]:shrink-0`,{variants:{variant:{default:`bg-transparent`,outline:`border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground`},size:{default:`h-9 px-2 min-w-9`,sm:`h-8 px-1.5 min-w-8`,lg:`h-10 px-2.5 min-w-10`}},defaultVariants:{variant:`default`,size:`default`}}),ae=j.forwardRef((e,t)=>{let n=(0,A.c)(13),r,i,a,o;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4]):({className:r,variant:o,size:a,...i}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o);let s;n[5]!==r||n[6]!==a||n[7]!==o?(s=h(J({variant:o,size:a,className:r})),n[5]=r,n[6]=a,n[7]=o,n[8]=s):s=n[8];let c;return n[9]!==i||n[10]!==t||n[11]!==s?(c=(0,M.jsx)(F,{ref:t,className:s,...i}),n[9]=i,n[10]=t,n[11]=s,n[12]=c):c=n[12],c});ae.displayName=F.displayName;var oe=j.createContext({size:`default`,variant:`default`}),se=j.forwardRef((e,t)=>{let n=(0,A.c)(19),r,i,a,o,s;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4],s=n[5]):({className:i,variant:s,size:o,children:r,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o,n[5]=s);let c;n[6]===i?c=n[7]:(c=h(`flex items-center justify-center gap-1`,i),n[6]=i,n[7]=c);let l;n[8]!==o||n[9]!==s?(l={variant:s,size:o},n[8]=o,n[9]=s,n[10]=l):l=n[10];let u;n[11]!==r||n[12]!==l?(u=(0,M.jsx)(oe.Provider,{value:l,children:r}),n[11]=r,n[12]=l,n[13]=u):u=n[13];let d;return n[14]!==a||n[15]!==t||n[16]!==c||n[17]!==u?(d=(0,M.jsx)(B,{ref:t,className:c,...a,children:u}),n[14]=a,n[15]=t,n[16]=c,n[17]=u,n[18]=d):d=n[18],d});se.displayName=B.displayName;var Y=j.forwardRef((e,t)=>{let n=(0,A.c)(17),r,i,a,o,s;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4],s=n[5]):({className:i,children:r,variant:s,size:o,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o,n[5]=s);let c=j.useContext(oe),l;n[6]!==i||n[7]!==c.size||n[8]!==c.variant||n[9]!==o||n[10]!==s?(l=h(J({variant:c.variant||s,size:c.size||o}),i),n[6]=i,n[7]=c.size,n[8]=c.variant,n[9]=o,n[10]=s,n[11]=l):l=n[11];let u;return n[12]!==r||n[13]!==a||n[14]!==t||n[15]!==l?(u=(0,M.jsx)(K,{ref:t,className:l,...a,children:r}),n[12]=r,n[13]=a,n[14]=t,n[15]=l,n[16]=u):u=n[16],u});Y.displayName=K.displayName;function ce(e){let t=(0,A.c)(64),{listRef:n,providerId:r,provider:i,providerLabel:a,listboxId:o,optionId:s,modelIsLoading:c,isShowingModelError:l,hasModelOptions:u,modelLoadError:d,modelLoadFailed:f,navRows:g,highlightedIndex:y,isSearching:b,showMoreModels:x,onToggleMoreModels:te,moreModelOptions:S,moreModelsOpen:w,onMoreModelsOpenChange:T,isPreviewing:N,modelValue:P,selectionBlocked:F,onModelSelect:I,showReasoningSection:L,reasoningValue:R,reasoningOptions:z,onReasoningSelect:B,serviceTierOptions:V,serviceTierValue:H,onServiceTierChange:ne,agentSections:re,onAgentOptionChange:U,onStartHandoff:ie}=e,W=m(),G=i?.brandPrefix,K=V.length===1?V[0]:void 0,q=K?`${K.label} mode`:``,J=V.some(e=>e.id===H)?H:_,ae;t[0]===T?ae=t[1]:(ae=()=>{T(!0)},t[0]=T,t[1]=ae);let oe=ae,Y=r||`no-provider`,ce=o?`listbox`:void 0,ye=o?`Models`:void 0,be=!W&&`max-h-64`,X;t[2]===be?X=t[3]:(X=h(`min-h-0 flex-1 overflow-y-auto overscroll-contain px-1 pb-1 pt-0`,be),t[2]=be,t[3]=X);let Z;t[4]===l?Z=t[5]:(Z=l?null:(0,M.jsx)(me,{children:`Model`}),t[4]=l,t[5]=Z);let Q;t[6]!==G||t[7]!==u||t[8]!==y||t[9]!==W||t[10]!==N||t[11]!==b||t[12]!==o||t[13]!==c||t[14]!==d||t[15]!==f||t[16]!==P||t[17]!==S||t[18]!==w||t[19]!==g||t[20]!==I||t[21]!==T||t[22]!==te||t[23]!==oe||t[24]!==s||t[25]!==i||t[26]!==a||t[27]!==F||t[28]!==x?(Q=c?(0,M.jsx)(E,{label:`Loading models`,rowDataAttribute:`data-model-loading-row`}):u?(0,M.jsxs)(M.Fragment,{children:[g.map((e,t)=>{let n=y===t,r=s(t);if(e.kind===`more-toggle`)return(0,M.jsx)(he,{id:r,isActive:n,expanded:x,onToggle:te},`more-toggle`);let i=e.option;return(0,M.jsx)(_e,{id:r,role:o?`option`:void 0,isActive:n,label:O(i.label,G),qualifier:i.routeProviderId,selected:!N&&i.value===P,disabled:F||i.disabled===!0,disabledReason:i.disabledReason,onClick:()=>I(i.value)},i.value)}),!W&&!b&&S.length>0?(0,M.jsx)(ge,{open:w,onOpenChange:T,openSub:oe,activeBrandPrefix:G,isPreviewing:N,modelValue:P,options:S,onSelect:I}):null,b&&g.length===0?(0,M.jsx)(`div`,{className:h(`px-2 text-xs text-muted-foreground`,`py-[0.3125rem] max-md:pointer-coarse:py-2`),children:`No models match your search`}):null]}):(0,M.jsx)(`div`,{className:h(`px-2 text-xs leading-relaxed text-muted-foreground`,`pb-2 pt-1.5 max-md:pointer-coarse:pb-3 max-md:pointer-coarse:pt-2`),title:d?D({error:d,providerLabel:a}):void 0,children:d?(0,M.jsx)(k,{error:d,providerLabel:a,...i?.installUrl===void 0?{}:{installUrl:i.installUrl}}):f?`Could not load models.`:`No models available`}),t[6]=G,t[7]=u,t[8]=y,t[9]=W,t[10]=N,t[11]=b,t[12]=o,t[13]=c,t[14]=d,t[15]=f,t[16]=P,t[17]=S,t[18]=w,t[19]=g,t[20]=I,t[21]=T,t[22]=te,t[23]=oe,t[24]=s,t[25]=i,t[26]=a,t[27]=F,t[28]=x,t[29]=Q):Q=t[29];let $;t[30]!==n||t[31]!==o||t[32]!==Y||t[33]!==ce||t[34]!==ye||t[35]!==X||t[36]!==Z||t[37]!==Q?($=(0,M.jsxs)(`div`,{ref:n,role:ce,id:o,"aria-label":ye,className:X,children:[Z,Q]},Y),t[30]=n,t[31]=o,t[32]=Y,t[33]=ce,t[34]=ye,t[35]=X,t[36]=Z,t[37]=Q,t[38]=$):$=t[38];let xe;t[39]!==B||t[40]!==z||t[41]!==R||t[42]!==F||t[43]!==L?(xe=L?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`div`,{className:`shrink-0 border-t border-border`}),(0,M.jsxs)(`div`,{className:`shrink-0 px-2 py-2.5`,children:[(0,M.jsx)(me,{className:`mb-2 px-1 py-0`,children:`Reasoning`}),(0,M.jsx)(se,{type:`single`,"aria-label":`Reasoning`,value:R,onValueChange:e=>{let t=z.find(t=>t.value===e);t&&B(t.value)},disabled:F,className:`flex gap-1`,children:z.map(pe)})]})]}):null,t[39]=B,t[40]=z,t[41]=R,t[42]=F,t[43]=L,t[44]=xe):xe=t[44];let Se;t[45]!==ne||t[46]!==J||t[47]!==V||t[48]!==K||t[49]!==q?(Se=K?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`div`,{className:`shrink-0 border-t border-border`}),(0,M.jsx)(`div`,{className:`shrink-0 p-1`,children:(0,M.jsxs)(`div`,{className:`flex items-center justify-between gap-3 rounded-sm px-2 py-[0.3125rem] text-xs`,title:K.description,children:[(0,M.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,M.jsx)(p,{name:`Zap`,className:`size-4 fill-current text-muted-foreground`}),(0,M.jsx)(`span`,{children:q})]}),(0,M.jsx)(C,{checked:J===K.id,onCheckedChange:e=>ne(e?K.id:_),"aria-label":q,className:h(v,`[&>span]:size-3.5`)})]})})]}):V.length>1?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`div`,{className:`shrink-0 border-t border-border`}),(0,M.jsxs)(`div`,{className:`shrink-0 px-2 py-2.5`,children:[(0,M.jsx)(me,{className:`mb-2 px-1 py-0`,children:`Speed`}),(0,M.jsx)(se,{type:`single`,"aria-label":`Speed`,value:J,onValueChange:e=>{(e===`default`||V.some(t=>t.id===e))&&ne(e)},className:`flex flex-wrap gap-1`,children:[{id:_,label:`Default`},...V].map(fe)})]})]}):null,t[45]=ne,t[46]=J,t[47]=V,t[48]=K,t[49]=q,t[50]=Se):Se=t[50];let Ce;if(t[51]!==re||t[52]!==U){let e;t[54]===U?e=t[55]:(e=e=>{let t=e.appliesOnNextTurn?(0,M.jsx)(`span`,{className:`ml-1.5 font-normal text-subtle-foreground`,children:`from the next turn`}):null,n=e.items.find(de);return n===void 0?(0,M.jsxs)(j.Fragment,{children:[(0,M.jsx)(`div`,{className:`shrink-0 border-t border-border`}),(0,M.jsxs)(`div`,{className:`shrink-0 px-2 py-2.5`,children:[(0,M.jsxs)(me,{className:`mb-2 px-1 py-0`,children:[e.label,t]}),(0,M.jsx)(se,{type:`single`,"aria-label":e.label,value:e.items.find(ue)?.key??``,onValueChange:t=>{let n=e.items.find(e=>e.key===t);n!==void 0&&U(e.id,n.value)},className:`flex flex-wrap gap-1`,children:e.items.map(le)})]})]},e.id):(0,M.jsxs)(j.Fragment,{children:[(0,M.jsx)(`div`,{className:`shrink-0 border-t border-border`}),(0,M.jsx)(`div`,{className:`shrink-0 p-1`,children:(0,M.jsxs)(`div`,{className:`flex items-center justify-between gap-3 rounded-sm px-2 py-[0.3125rem] text-xs`,title:e.description??void 0,children:[(0,M.jsxs)(`span`,{className:`min-w-0 truncate`,children:[e.label,t]}),(0,M.jsx)(C,{checked:n.selected,onCheckedChange:t=>U(e.id,t),"aria-label":e.label,className:h(v,`[&>span]:size-3.5`)})]})})]},e.id)},t[54]=U,t[55]=e),Ce=re.map(e),t[51]=re,t[52]=U,t[53]=Ce}else Ce=t[53];let we;t[56]===ie?we=t[57]:(we=ie?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`div`,{className:`shrink-0 border-t border-border`}),(0,M.jsx)(`div`,{className:`shrink-0 p-1`,children:(0,M.jsx)(ve,{label:`Handoff to new thread`,iconName:`MessageSquarePlus`,onClick:ie})})]}):null,t[56]=ie,t[57]=we);let Te;return t[58]!==xe||t[59]!==Se||t[60]!==Ce||t[61]!==we||t[62]!==$?(Te=(0,M.jsx)(ee,{children:(0,M.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:[$,xe,Se,Ce,we]})}),t[58]=xe,t[59]=Se,t[60]=Ce,t[61]=we,t[62]=$,t[63]=Te):Te=t[63],Te}function le(e){return(0,M.jsx)(Y,{value:e.key,title:e.description??void 0,className:h(`h-6 min-w-0 flex-auto shrink-0 whitespace-nowrap rounded-sm px-1 text-xs font-normal shadow-none hover:bg-state-hover hover:text-foreground data-[state=on]:bg-state-active data-[state=on]:text-foreground data-[state=on]:hover:bg-state-active`,`max-md:pointer-coarse:h-9 max-md:pointer-coarse:text-sm`,v),children:e.label},e.key)}function ue(e){return e.selected}function de(e){return e.value===!0}function fe(e){return(0,M.jsx)(Y,{value:e.id,title:e.description,className:h(`h-6 min-w-0 flex-auto shrink-0 whitespace-nowrap rounded-sm px-1 text-xs font-normal shadow-none hover:bg-state-hover hover:text-foreground data-[state=on]:bg-state-active data-[state=on]:text-foreground data-[state=on]:hover:bg-state-active`,`max-md:pointer-coarse:h-9 max-md:pointer-coarse:text-sm`,v),children:e.label},e.id)}function pe(e){return(0,M.jsx)(Y,{value:e.value,"aria-label":e.label,className:h(`h-6 min-w-0 flex-auto shrink-0 whitespace-nowrap rounded-sm px-1 text-xs font-normal shadow-none hover:bg-state-hover hover:text-foreground data-[state=on]:bg-state-active data-[state=on]:text-foreground data-[state=on]:hover:bg-state-active`,`max-md:pointer-coarse:h-9 max-md:pointer-coarse:text-sm`,v),children:e.label===`Medium`||e.label===`Extra High`?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(`span`,{className:`max-[360px]:hidden`,children:e.label}),(0,M.jsx)(`span`,{className:`hidden max-[360px]:inline`,children:e.label===`Medium`?`Med`:`XHigh`})]}):e.label},e.value)}function me(e){let t=(0,A.c)(5),{children:n,className:r}=e,i;t[0]===r?i=t[1]:(i=h(`sticky top-0 z-10 bg-background px-2 text-xs font-medium text-muted-foreground`,`pb-[0.3125rem] pt-2 max-md:pointer-coarse:pb-1.5`,r),t[0]=r,t[1]=i);let a;return t[2]!==n||t[3]!==i?(a=(0,M.jsx)(`div`,{className:i,children:n}),t[2]=n,t[3]=i,t[4]=a):a=t[4],a}function he(e){let t=(0,A.c)(14),{expanded:n,onToggle:r,isActive:i,id:a}=e,{hoverProps:o}=S(),s=i&&`bg-state-active`,c;t[0]===s?c=t[1]:(c=h(`relative flex w-full cursor-default select-none items-center gap-1 rounded-sm px-2 text-xs text-muted-foreground outline-none hover:bg-state-hover hover:text-foreground`,v,x,s,`py-[0.3125rem] max-md:pointer-coarse:py-2`),t[0]=s,t[1]=c);let l=n?`Fewer models`:`More models`,u;t[2]===l?u=t[3]:(u=(0,M.jsx)(`span`,{children:l}),t[2]=l,t[3]=u);let d=n?`ChevronUp`:`ChevronDown`,f;t[4]===d?f=t[5]:(f=(0,M.jsx)(p,{name:d,className:`size-3.5 shrink-0`}),t[4]=d,t[5]=f);let m;return t[6]!==n||t[7]!==o||t[8]!==a||t[9]!==r||t[10]!==c||t[11]!==u||t[12]!==f?(m=(0,M.jsxs)(`button`,{type:`button`,id:a,onClick:r,"aria-expanded":n,className:c,...o,children:[u,f]}),t[6]=n,t[7]=o,t[8]=a,t[9]=r,t[10]=c,t[11]=u,t[12]=f,t[13]=m):m=t[13],m}function ge(e){let t=(0,A.c)(46),{open:n,onOpenChange:r,openSub:i,activeBrandPrefix:a,isPreviewing:o,modelValue:s,options:c,onSelect:l}=e,{isLastHovered:u,hoverProps:d}=S(),f=(0,j.useRef)(null),m=(0,j.useRef)(null),_;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>{window.setTimeout(()=>{m.current?.querySelector(`button`)?.focus()},0)},t[0]=_):_=t[0];let te=_,C,w;t[1]!==u||t[2]!==r||t[3]!==n?(C=()=>{n&&!u&&r(!1)},w=[n,u,r],t[1]=u,t[2]=r,t[3]=n,t[4]=C,t[5]=w):(C=t[4],w=t[5]),(0,j.useEffect)(C,w);let E;t[6]!==d||t[7]!==i?(E=e=>{d.onPointerEnter(e),i()},t[6]=d,t[7]=i,t[8]=E):E=t[8];let D;t[9]!==d||t[10]!==r||t[11]!==i?(D=e=>{if(d.onKeyDown(e),e.key===`Enter`||e.key===` `||e.key===`Spacebar`||e.key===`ArrowRight`){e.preventDefault(),i(),te();return}(e.key===`Escape`||e.key===`ArrowLeft`)&&(e.preventDefault(),r(!1))},t[9]=d,t[10]=r,t[11]=i,t[12]=D):D=t[12];let k;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(k=h(`relative flex w-full cursor-default select-none items-center gap-1 rounded-sm px-2 py-[0.3125rem] text-xs text-muted-foreground outline-none hover:bg-state-hover hover:text-foreground`,v,x),t[13]=k):k=t[13];let N=d[`data-last-hovered`],P,F;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,M.jsx)(`span`,{children:`More models`}),F=(0,M.jsx)(p,{name:`ChevronRight`,className:`size-3.5 shrink-0`}),t[14]=P,t[15]=F):(P=t[14],F=t[15]);let I;t[16]!==n||t[17]!==i||t[18]!==E||t[19]!==D||t[20]!==N?(I=(0,M.jsx)(g,{asChild:!0,children:(0,M.jsxs)(`button`,{ref:f,type:`button`,"aria-haspopup":`menu`,"aria-expanded":n,onClick:i,onPointerEnter:E,onKeyDown:D,className:k,"data-last-hovered":N,children:[P,F]})}),t[16]=n,t[17]=i,t[18]=E,t[19]=D,t[20]=N,t[21]=I):I=t[21];let L;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(L=h(`max-h-[min(20rem,var(--radix-popover-content-available-height),calc(100dvh-0.5rem))] overflow-y-auto overscroll-contain p-1 data-[state=closed]:animate-none`,T),t[22]=L):L=t[22];let R;t[23]===r?R=t[24]:(R=e=>{(e.key===`Escape`||e.key===`ArrowLeft`)&&(e.preventDefault(),r(!1),f.current?.focus())},t[23]=r,t[24]=R);let z;if(t[25]!==a||t[26]!==o||t[27]!==s||t[28]!==l||t[29]!==c){let e;t[31]!==a||t[32]!==o||t[33]!==s||t[34]!==l?(e=e=>(0,M.jsx)(_e,{label:O(e.label,a),qualifier:e.routeProviderId,selected:!o&&e.value===s,onClick:()=>l(e.value)},e.value),t[31]=a,t[32]=o,t[33]=s,t[34]=l,t[35]=e):e=t[35],z=c.map(e),t[25]=a,t[26]=o,t[27]=s,t[28]=l,t[29]=c,t[30]=z}else z=t[30];let B;t[36]===z?B=t[37]:(B=(0,M.jsx)(ee,{children:z}),t[36]=z,t[37]=B);let V;t[38]!==R||t[39]!==B?(V=(0,M.jsx)(y,{ref:m,side:`right`,align:`start`,sideOffset:6,className:L,onKeyDown:R,children:B}),t[38]=R,t[39]=B,t[40]=V):V=t[40];let H;return t[41]!==r||t[42]!==n||t[43]!==I||t[44]!==V?(H=(0,M.jsxs)(b,{open:n,onOpenChange:r,children:[I,V]}),t[41]=r,t[42]=n,t[43]=I,t[44]=V,t[45]=H):H=t[45],H}function _e(e){let t=(0,A.c)(28),{label:n,qualifier:r,selected:i,disabled:a,disabledReason:o,onClick:s,isActive:c,id:l,role:u}=e,d=a===void 0?!1:a,{hoverProps:f}=S(),m;t[0]===n?m=t[1]:(m=w(n),t[0]=n,t[1]=m);let{base:g,tag:_}=m,y=u===`option`?!!c:void 0,b=c&&`bg-state-active`,ee=d&&`cursor-not-allowed opacity-60`,C;t[2]!==b||t[3]!==ee?(C=h(`relative flex w-full cursor-default select-none items-center justify-between gap-3 rounded-sm px-2 text-xs outline-none hover:bg-state-hover hover:text-foreground`,v,x,b,ee,`py-[0.3125rem] max-md:pointer-coarse:py-2`),t[2]=b,t[3]=ee,t[4]=C):C=t[4];let T=o??(r?`${n} · ${r}`:n),E;t[5]===_?E=t[6]:(E=_?(0,M.jsx)(`span`,{className:`ml-1.5 text-subtle-foreground`,children:_}):null,t[5]=_,t[6]=E);let D;t[7]===r?D=t[8]:(D=r?(0,M.jsx)(`span`,{className:`ml-1.5 text-subtle-foreground`,children:r}):null,t[7]=r,t[8]=D);let O;t[9]!==g||t[10]!==T||t[11]!==E||t[12]!==D?(O=(0,M.jsxs)(`span`,{className:`truncate`,title:T,children:[g,E,D]}),t[9]=g,t[10]=T,t[11]=E,t[12]=D,t[13]=O):O=t[13];let k=i?`opacity-100`:`opacity-0`,j;t[14]===k?j=t[15]:(j=h(te,`text-subtle-foreground`,k),t[14]=k,t[15]=j);let N;t[16]===j?N=t[17]:(N=(0,M.jsx)(`span`,{className:`flex shrink-0 items-center gap-1.5`,children:(0,M.jsx)(p,{name:`Check`,className:j})}),t[16]=j,t[17]=N);let P;return t[18]!==d||t[19]!==f||t[20]!==l||t[21]!==s||t[22]!==u||t[23]!==O||t[24]!==N||t[25]!==y||t[26]!==C?(P=(0,M.jsxs)(`button`,{type:`button`,id:l,role:u,disabled:d,"aria-selected":y,onClick:s,className:C,...f,children:[O,N]}),t[18]=d,t[19]=f,t[20]=l,t[21]=s,t[22]=u,t[23]=O,t[24]=N,t[25]=y,t[26]=C,t[27]=P):P=t[27],P}function ve(e){let t=(0,A.c)(10),{label:n,iconName:r,onClick:i}=e,{hoverProps:a}=S(),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=h(`relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 text-xs outline-none hover:bg-state-hover hover:text-foreground`,v,x,`py-[0.3125rem] max-md:pointer-coarse:py-2`),t[0]=o):o=t[0];let s;t[1]===r?s=t[2]:(s=(0,M.jsx)(p,{name:r,className:`size-3.5 shrink-0`,"aria-hidden":!0}),t[1]=r,t[2]=s);let c;t[3]===n?c=t[4]:(c=(0,M.jsx)(`span`,{className:`min-w-0 truncate`,children:n}),t[3]=n,t[4]=c);let l;return t[5]!==a||t[6]!==i||t[7]!==s||t[8]!==c?(l=(0,M.jsxs)(`button`,{type:`button`,onClick:i,className:o,...a,children:[s,c]}),t[5]=a,t[6]=i,t[7]=s,t[8]=c,t[9]=l):l=t[9],l}export{ce as ModelReasoningMenu};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{hi as t,kr as n,ri as r}from"./boot-vendor-CKEhulXz.js";import{Fh as i,R as a,V as ee}from"./index-DCps_qBD.js";import{t as o}from"./code-loading-skeletons-CkiXPS0M.js";import{n as s,t as c}from"./pierre-strict-mode-recovery-CogG8fEr.js";import{t as l}from"./FileDiff-BRQrZnWt.js";import{a as u,n as te,r as d,t as f}from"./git-diff-patch-text-SHpUxhZL.js";import{t as p}from"./PierreLineSelectionActions-V_GPrVau.js";import{i as m}from"./pierre-worker-pool-gate-B91n9XZl.js";var h=n(),g=e(t(),1),_=e(r(),1),v={"--diffs-font-size":`12px`,"--diffs-line-height":`18px`},y=30;function b(e){let t=(0,h.c)(47),{file:n,patchText:r,fullFileContents:b,view:x,overflow:S,showLineNumbers:C,className:w,onSelectionAddToChat:T}=e,E=b?.old.path,D=b?.old.content,O=b?.new.path,k=b?.new.content,A;bb0:{if(E===void 0||D===void 0||O===void 0||k===void 0){A=n;break bb0}let e;t[0]!==n||t[1]!==k||t[2]!==O||t[3]!==D||t[4]!==E||t[5]!==r?(e=u({fileDiff:n,oldFile:{name:E,contents:D},newFile:{name:O,contents:k},patchText:r??d(n)}),t[0]=n,t[1]=k,t[2]=O,t[3]=D,t[4]=E,t[5]=r,t[6]=e):e=t[6],A=e}let j=A,M=j!==n&&j.isPartial===!1?y:void 0,N=(0,g.useRef)(null),P=a(),F=ee(),I;t[7]!==j||t[8]!==x?(I=e=>te({displayStyle:x,fileDiff:j,range:e}),t[7]=j,t[8]=x,t[9]=I):I=t[9];let L=I,R;t[10]===j?R=t[11]:(R=e=>{let{containerElement:t}=e;return f({containerElement:t,fileDiff:j})},t[10]=j,t[11]=R);let z=R,B=T!==void 0,V;t[12]!==z||t[13]!==L||t[14]!==T||t[15]!==B?(V={buildFallbackSelectionText:z,buildSelectionText:L,containerRef:N,enabled:B,onSelectionAddToChat:T},t[12]=z,t[13]=L,t[14]=T,t[15]=B,t[16]=V):V=t[16];let H=p(V),U=!C,W;t[17]===M?W=t[18]:(W=M===void 0?{}:{expansionLineCount:M},t[17]=M,t[18]=W);let G=T!==void 0,K=T!==void 0,q=T===void 0?`disabled`:`number`,J=T===void 0?void 0:H.onGutterUtilityClick,Y;t[19]!==P||t[20]!==H.onLineSelectionChange||t[21]!==H.onLineSelectionEnd||t[22]!==H.onLineSelectionStart||t[23]!==S||t[24]!==q||t[25]!==J||t[26]!==U||t[27]!==W||t[28]!==G||t[29]!==K||t[30]!==F||t[31]!==x?(Y={diffStyle:x,overflow:S,disableLineNumbers:U,disableFileHeader:!0,...W,themeType:F,theme:P,enableGutterUtility:G,enableLineSelection:K,lineHoverHighlight:q,onGutterUtilityClick:J,onLineSelectionChange:H.onLineSelectionChange,onLineSelectionEnd:H.onLineSelectionEnd,onLineSelectionStart:H.onLineSelectionStart},t[19]=P,t[20]=H.onLineSelectionChange,t[21]=H.onLineSelectionEnd,t[22]=H.onLineSelectionStart,t[23]=S,t[24]=q,t[25]=J,t[26]=U,t[27]=W,t[28]=G,t[29]=K,t[30]=F,t[31]=x,t[32]=Y):Y=t[32];let X=c(Y);if(!m()){let e;return t[33]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,_.jsx)(o,{}),t[33]=e):e=t[33],e}let Z;t[34]===w?Z=t[35]:(Z=i(`overflow-x-auto`,w),t[34]=w,t[35]=Z);let Q;t[36]!==H.selectedRange||t[37]!==X||t[38]!==j?(Q=(0,_.jsx)(`div`,{className:`w-full max-w-full`,style:v,children:(0,_.jsx)(s,{children:(0,_.jsx)(l,{fileDiff:j,options:X,selectedLines:H.selectedRange})})}),t[36]=H.selectedRange,t[37]=X,t[38]=j,t[39]=Q):Q=t[39];let $;return t[40]!==H.menu||t[41]!==H.onPointerDownCapture||t[42]!==H.onPointerMoveCapture||t[43]!==H.onPointerUpCapture||t[44]!==Z||t[45]!==Q?($=(0,_.jsxs)(`div`,{ref:N,className:Z,onPointerDownCapture:H.onPointerDownCapture,onPointerMoveCapture:H.onPointerMoveCapture,onPointerUpCapture:H.onPointerUpCapture,children:[Q,H.menu]}),t[40]=H.menu,t[41]=H.onPointerDownCapture,t[42]=H.onPointerMoveCapture,t[43]=H.onPointerUpCapture,t[44]=Z,t[45]=Q,t[46]=$):$=t[46],$}export{b as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MoonletDiff-CCvaiEEC.js","assets/rolldown-runtime-BM3Ffeng.js","assets/index-DCps_qBD.js","assets/boot-vendor-CKEhulXz.js","assets/index-C2K528W0.css","assets/code-loading-skeletons-CkiXPS0M.js","assets/PierreLineSelectionActions-V_GPrVau.js","assets/git-diff-patch-text-SHpUxhZL.js","assets/dist-Cnn0QS5H.js","assets/ccount-DeutX-gO.js","assets/lib-BlhQaCll.js","assets/space-separated-tokens-yqTL2Lfu.js","assets/lib-BvD6d5X8.js","assets/zwitch-D6h6J3PA.js","assets/TimelineSelectionMenu-DDYrgVgK.js","assets/pierre-strict-mode-recovery-CogG8fEr.js","assets/pierre-worker-pool-gate-B91n9XZl.js","assets/FileDiff-BRQrZnWt.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Wr as t,ri as n}from"./boot-vendor-CKEhulXz.js";import{Np as r}from"./index-DCps_qBD.js";import{t as i}from"./code-loading-skeletons-CkiXPS0M.js";var a=e(n(),1),o=r({id:`bb-diff`,load:()=>t(()=>import(`./MoonletDiff-CCvaiEEC.js`).then(e=>e.default),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17])),loading:()=>(0,a.jsx)(i,{}),tier:`intent`});export{o as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{hi as t,kr as n,ri as r}from"./boot-vendor-CKEhulXz.js";import{Fh as i,R as a,V as o,jh as s}from"./index-DCps_qBD.js";import{n as c}from"./code-loading-skeletons-CkiXPS0M.js";import{i as l,n as ee,t as te}from"./pierre-strict-mode-recovery-CogG8fEr.js";import{a as u}from"./dist-Cnn0QS5H.js";import{t as ne}from"./File-BVsvNxhh.js";import{i as d}from"./git-diff-patch-text-SHpUxhZL.js";import{t as re}from"./PierreLineSelectionActions-V_GPrVau.js";import{i as ie,n as ae}from"./pierre-worker-pool-gate-B91n9XZl.js";import{n as oe}from"./source-code-budget-8FZFTU2T.js";var se=n(),f=e(t(),1),p=e(r(),1),m=18,h=16,ce={"--diffs-font-size":`12px`,"--diffs-line-height":`${m}px`,"--diffs-gap-block":`${h}px`},le={hunkLineCount:50,lineHeight:m,diffHeaderHeight:0,spacing:h};function g(e){return[e,...d(e)]}function ue(e){for(let t of g(e)){let e=t.querySelectorAll(`[data-bb-source-code-target-line]`);for(let t of e)t.removeAttribute(`data-bb-source-code-target-line`),t.removeAttribute(`data-selected-line`)}}function de(e,t){let n=g(e);for(let e of n){let n=e.querySelectorAll(`[data-line="${t}"]`);for(let e of n)if(e instanceof HTMLElement&&e.dataset.lineIndex!==void 0)return e}for(let e of n){let n=e.querySelectorAll(`[data-line="${t}"]`);for(let e of n)if(e instanceof HTMLElement)return e}return null}function _(e){return e.querySelector(`[data-bb-source-code-viewport]`)}function fe(e,t){let n=_(e);if(n===null)return;let r=n.getBoundingClientRect(),i=r.height/2,a=v(e);if(a===null){let e=h+(t-1)*m;n.scrollTop=Math.max(0,e-i);return}let{firstLineNumber:o,firstTop:s,lastLineNumber:c,lastBottom:l}=a;if(t>c){let e=l-r.top+(t-c-1)*m;n.scrollTop+=Math.max(0,e-i)}else if(t<o){let e=r.top-s+(o-t)*m;n.scrollTop=Math.max(0,n.scrollTop-e-i)}}function v(e){let t=null;for(let n of g(e))for(let e of n.querySelectorAll(`[data-line][data-line-index]`)){let n=Number(e.dataset.line);if(!Number.isFinite(n))continue;let r=e.getBoundingClientRect();if(t===null){t={firstLineNumber:n,firstTop:r.top,lastLineNumber:n,lastBottom:r.bottom};continue}n<t.firstLineNumber&&(t.firstLineNumber=n,t.firstTop=r.top),n>t.lastLineNumber&&(t.lastLineNumber=n,t.lastBottom=r.bottom)}return t}function pe(e,t){let n=_(e);if(n===null)return;let r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),a=r.top+r.height/2,o=i.top+i.height/2;n.scrollTop+=a-o}function y(e,t){return e===t?String(e):`${e}-${t}`}function me({contents:e,path:t,range:n}){let r=Math.max(1,Math.min(n.start,n.end)),i=Math.max(r,Math.max(n.start,n.end)),a=e.split(/\r\n|\n|\r/).slice(r-1,i);if(a.length===0)return null;let o=a.join(`
|
|
2
|
-
`).trimEnd();return o.trim().length===0?null:`${t}:${y(r,i)}\n${o}`}function b(e){let t=(0,se.c)(74),{content:n,path:r,cacheKey:s,overflow:l,highlightedLines:u,className:d,scrollToHighlightedLines:m,onSelectionAddToChat:h}=e,g=m===void 0?!1:m,v=s??r,y;t[0]!==n||t[1]!==v||t[2]!==r?(y={name:r,contents:n,cacheKey:v},t[0]=n,t[1]=v,t[2]=r,t[3]=y):y=t[3];let b=y,x=o(),ye=a(),S=(0,f.useRef)(null),be=ie(),C=ae(),xe=(0,f.useRef)(null),[Se,Ce]=(0,f.useState)(null),[,w]=(0,f.useState)(0),T=v,E;t[4]===n?E=t[5]:(E=oe(n),t[4]=n,t[5]=E);let D=E,[we,Te]=(0,f.useState)(null),O;t[6]!==n||t[7]!==r?(O=e=>me({contents:n,path:r,range:e}),t[6]=n,t[7]=r,t[8]=O):O=t[8];let k=O,A=h!==void 0,j;t[9]!==k||t[10]!==h||t[11]!==A?(j={buildSelectionText:k,containerRef:S,enabled:A,onSelectionAddToChat:h},t[9]=k,t[10]=h,t[11]=A,t[12]=j):j=t[12];let M=re(j),N=h!==void 0,P=u!==null||h!==void 0,Ee=h===void 0?`disabled`:`number`,De=h===void 0?void 0:M.onGutterUtilityClick,F;t[13]!==ye||t[14]!==M.onLineSelectionChange||t[15]!==M.onLineSelectionEnd||t[16]!==M.onLineSelectionStart||t[17]!==l||t[18]!==x||t[19]!==De||t[20]!==N||t[21]!==P||t[22]!==Ee?(F={themeType:x,theme:ye,overflow:l,disableFileHeader:!0,enableGutterUtility:N,enableLineSelection:P,lineHoverHighlight:Ee,onGutterUtilityClick:De,onLineSelectionChange:M.onLineSelectionChange,onLineSelectionEnd:M.onLineSelectionEnd,onLineSelectionStart:M.onLineSelectionStart},t[13]=ye,t[14]=M.onLineSelectionChange,t[15]=M.onLineSelectionEnd,t[16]=M.onLineSelectionStart,t[17]=l,t[18]=x,t[19]=De,t[20]=N,t[21]=P,t[22]=Ee,t[23]=F):F=t[23];let Oe=te(F),ke;bb0:{if(M.selectedRange!==null){ke=M.selectedRange;break bb0}let e;t[24]===u?e=t[25]:(e=u===null?null:{start:u.start,end:u.end},t[24]=u,t[25]=e),ke=e}let I=ke,L=g?I?.start??null:null,R=D===null||we===T||L!==null&&L>D.renderedLineCount,Ae;bb1:{if(R||D===null){Ae=b;break bb1}let e=`${v}:head`,n;t[26]!==b||t[27]!==e||t[28]!==D.contents?(n={...b,cacheKey:e,contents:D.contents},t[26]=b,t[27]=e,t[28]=D.contents,t[29]=n):n=t[29],Ae=n}let z=Ae,B=R||D===null?v:`${v}:head`,je=(0,f.useRef)(null),V;t[30]===T?V=t[31]:(V=()=>{je.current=(S.current===null?null:_(S.current))?.scrollTop??null,Te(T)},t[30]=T,t[31]=V);let Me=V,H;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(H=()=>{let e=je.current;if(e===null)return;je.current=null;let t=S.current===null?null:_(S.current);if(t===null)return;t.scrollTop=e;let n=window.requestAnimationFrame(()=>{t.scrollTop=e});return()=>window.cancelAnimationFrame(n)},t[32]=H):H=t[32];let U;t[33]===B?U=t[34]:(U=[B],t[33]=B,t[34]=U),(0,f.useLayoutEffect)(H,U);let W;t[35]!==w||t[36]!==C?(W=()=>{if(!C){Ce(null);return}return xe.current=null,C.subscribeToStatChanges(e=>{Ce(e);let t=[e.managerState,e.workersFailed,e.busyWorkers,e.queuedTasks,e.activeTasks,e.fileCacheSize].join(`:`);xe.current!==t&&(xe.current=t,w(he))})},t[35]=w,t[36]=C,t[37]=W):W=t[37];let G;t[38]!==b.contents||t[39]!==b.name||t[40]!==C?(G=[b.contents,b.name,C],t[38]=b.contents,t[39]=b.name,t[40]=C,t[41]=G):G=t[41],(0,f.useEffect)(W,G);let K=C!==void 0&&Se?.managerState!==`initialized`&&Se?.workersFailed!==!0,Ne=C?.getFileResultCache(z)===void 0?`plain`:`highlighted`,q;t[42]===L?q=t[43]:(q=()=>{let e=S.current,t=null,n=0,r=function(){t=window.requestAnimationFrame(i)};function i(){let e=S.current;if(!e||(ue(e),L===null))return;let t=de(e,L);if(t){t.setAttribute(`data-bb-source-code-target-line`,``),t.setAttribute(`data-selected-line`,`single`),pe(e,t);return}fe(e,L),n+=1,n<ge&&r()}return i(),()=>{e&&ue(e),t!==null&&window.cancelAnimationFrame(t)}},t[42]=L,t[43]=q);let J;if(t[44]!==z.contents||t[45]!==z.name||t[46]!==K||t[47]!==L||t[48]!==Ne?(J=[z.contents,z.name,K,L,Ne],t[44]=z.contents,t[45]=z.name,t[46]=K,t[47]=L,t[48]=Ne,t[49]=J):J=t[49],(0,f.useEffect)(q,J),K||!be){let e;return t[50]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,p.jsx)(c,{}),t[50]=e):e=t[50],e}let Y;t[51]===d?Y=t[52]:(Y=i(`flex min-h-0 flex-1 flex-col`,d),t[51]=d,t[52]=Y);let Pe=L??void 0,Fe=Se?.workersFailed===!0,X;t[53]!==Oe||t[54]!==z||t[55]!==B||t[56]!==I||t[57]!==Fe?(X=(0,p.jsx)(ne,{disableWorkerPool:Fe,file:z,metrics:le,options:Oe,selectedLines:I},B),t[53]=Oe,t[54]=z,t[55]=B,t[56]=I,t[57]=Fe,t[58]=X):X=t[58];let Z;t[59]!==Me||t[60]!==R||t[61]!==D?(Z=D!==null&&!R?(0,p.jsx)(ve,{truncation:D,onLoadFullFile:Me}):null,t[59]=Me,t[60]=R,t[61]=D,t[62]=Z):Z=t[62];let Q;t[63]!==X||t[64]!==Z?(Q=(0,p.jsx)(ee,{children:(0,p.jsxs)(_e,{children:[X,Z]})}),t[63]=X,t[64]=Z,t[65]=Q):Q=t[65];let $;return t[66]!==M.menu||t[67]!==M.onPointerDownCapture||t[68]!==M.onPointerMoveCapture||t[69]!==M.onPointerUpCapture||t[70]!==Y||t[71]!==Pe||t[72]!==Q?($=(0,p.jsxs)(`div`,{ref:S,className:Y,style:ce,"data-bb-source-code-line-number":Pe,onPointerDownCapture:M.onPointerDownCapture,onPointerMoveCapture:M.onPointerMoveCapture,onPointerUpCapture:M.onPointerUpCapture,children:[Q,M.menu]}),t[66]=M.menu,t[67]=M.onPointerDownCapture,t[68]=M.onPointerMoveCapture,t[69]=M.onPointerUpCapture,t[70]=Y,t[71]=Pe,t[72]=Q,t[73]=$):$=t[73],$}function he(e){return e+1}var ge=40;function _e(e){let t=(0,se.c)(10),{children:n}=e,[r]=(0,f.useState)(x),i;t[0]===r?i=t[1]:(i=e=>{e===null?r?.cleanUp():r?.setup(e)},t[0]=r,t[1]=i);let a=i,o;t[2]===n?o=t[3]:(o=(0,p.jsx)(`div`,{children:n}),t[2]=n,t[3]=o);let s;t[4]!==o||t[5]!==a?(s=(0,p.jsx)(`div`,{ref:a,className:`min-h-0 flex-1 overflow-y-auto`,"data-bb-source-code-viewport":!0,children:o}),t[4]=o,t[5]=a,t[6]=s):s=t[6];let c;return t[7]!==s||t[8]!==r?(c=(0,p.jsx)(l.Provider,{value:r,children:s}),t[7]=s,t[8]=r,t[9]=c):c=t[9],c}function x(){return typeof window>`u`?void 0:new u}function ve(e){let t=(0,se.c)(12),{truncation:n,onLoadFullFile:r}=e,i;t[0]===n.renderedLineCount?i=t[1]:(i=n.renderedLineCount.toLocaleString(),t[0]=n.renderedLineCount,t[1]=i);let a;t[2]===n.totalLineCount?a=t[3]:(a=n.totalLineCount.toLocaleString(),t[2]=n.totalLineCount,t[3]=a);let o;t[4]!==i||t[5]!==a?(o=(0,p.jsxs)(`span`,{children:[`Showing the first `,i,` of`,` `,a,` lines.`]}),t[4]=i,t[5]=a,t[6]=o):o=t[6];let c;t[7]===r?c=t[8]:(c=(0,p.jsx)(s,{type:`button`,variant:`link`,size:`sm`,className:`h-auto p-0 text-xs underline underline-offset-4 hover:underline`,onClick:r,children:`Load full file`}),t[7]=r,t[8]=c);let l;return t[9]!==o||t[10]!==c?(l=(0,p.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-2 gap-y-1 px-4 py-3 text-xs text-muted-foreground`,children:[o,c]}),t[9]=o,t[10]=c,t[11]=l):l=t[11],l}export{b as default};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|