@halcyonlabs/app 0.47.0-halcyon.21 → 0.47.0-halcyon.22
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-4BQFC118.js → AddMachineDialog-BlVfh9PM.js} +1 -1
- package/app/dist/assets/AddMachineDialog-BlVfh9PM.js.br +0 -0
- package/app/dist/assets/AddMachineDialog-BlVfh9PM.js.gz +0 -0
- package/app/dist/assets/{AppCommandShortcutHint-BlXOfa_n.js → AppCommandShortcutHint-C1mIupNX.js} +1 -1
- package/app/dist/assets/{AppFileExternalNavigationDispatcher-fGD_vTns.js → AppFileExternalNavigationDispatcher-zdrgMBvF.js} +1 -1
- package/app/dist/assets/AppFileExternalNavigationDispatcher-zdrgMBvF.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-zdrgMBvF.js.gz +0 -0
- package/app/dist/assets/{AppToasterView-DzbjTKdn.js → AppToasterView-C6IQDk4H.js} +1 -1
- package/app/dist/assets/{BbDiff-BkqgAZD9.js → BbDiff-CORXfK92.js} +1 -1
- package/app/dist/assets/BbDiff-CORXfK92.js.br +0 -0
- package/app/dist/assets/BbDiff-CORXfK92.js.gz +0 -0
- package/app/dist/assets/{BbDiffSplit-DTvWaW-n.js → BbDiffSplit-By8A1QN-.js} +2 -2
- package/app/dist/assets/BbDiffSplit-By8A1QN-.js.br +0 -0
- package/app/dist/assets/BbDiffSplit-By8A1QN-.js.gz +0 -0
- package/app/dist/assets/{BbSourceCode-Dqw4VrLu.js → BbSourceCode-C3we2GZp.js} +1 -1
- package/app/dist/assets/BbSourceCode-C3we2GZp.js.br +0 -0
- package/app/dist/assets/BbSourceCode-C3we2GZp.js.gz +0 -0
- package/app/dist/assets/{BrowserTabDeck-CuHEyZd6.js → BrowserTabDeck-BtVycavD.js} +1 -1
- package/app/dist/assets/BrowserTabDeck-BtVycavD.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-BtVycavD.js.gz +0 -0
- package/app/dist/assets/{CommandPaletteBody-DynxiDg6.js → CommandPaletteBody-JfQwJqGn.js} +1 -1
- package/app/dist/assets/CommandPaletteBody-JfQwJqGn.js.br +0 -0
- package/app/dist/assets/CommandPaletteBody-JfQwJqGn.js.gz +0 -0
- package/app/dist/assets/{DiffHost-3UTZIJNs.js → DiffHost-DEYVmsVa.js} +1 -1
- package/app/dist/assets/DiffHost-DEYVmsVa.js.br +0 -0
- package/app/dist/assets/DiffHost-DEYVmsVa.js.gz +0 -0
- package/app/dist/assets/{ExperimentalFileLinkMenu-C0RXVabs.js → ExperimentalFileLinkMenu-B-B8GXE8.js} +1 -1
- package/app/dist/assets/ExperimentalFileLinkMenu-B-B8GXE8.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-B-B8GXE8.js.gz +0 -0
- package/app/dist/assets/{FilePreview-BxgJ2jjI.js → FilePreview-BHoPmg-c.js} +1 -1
- package/app/dist/assets/FilePreview-BHoPmg-c.js.br +0 -0
- package/app/dist/assets/FilePreview-BHoPmg-c.js.gz +0 -0
- package/app/dist/assets/{GitDiffCardHeader-Ce736y-m.js → GitDiffCardHeader-6LP_7oWh.js} +1 -1
- package/app/dist/assets/GitDiffCardHeader-6LP_7oWh.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-6LP_7oWh.js.gz +0 -0
- package/app/dist/assets/{InlineMessageEditorFrame-Dud8h1It.js → InlineMessageEditorFrame-DyVCSKBJ.js} +1 -1
- package/app/dist/assets/InlineMessageEditorFrame-DyVCSKBJ.js.br +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-DyVCSKBJ.js.gz +0 -0
- package/app/dist/assets/{MachineRenameDialog-C_ZV5gEB.js → MachineRenameDialog-HGiXO0UG.js} +1 -1
- package/app/dist/assets/MachineRenameDialog-HGiXO0UG.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-HGiXO0UG.js.gz +0 -0
- package/app/dist/assets/{MachineSettingsView-BWSIpenw.js → MachineSettingsView-C4q9cbRr.js} +1 -1
- package/app/dist/assets/MachineSettingsView-C4q9cbRr.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-C4q9cbRr.js.gz +0 -0
- package/app/dist/assets/{MicrophonePreferences-CNEhQgAS.js → MicrophonePreferences-qaOpiph1.js} +1 -1
- package/app/dist/assets/MicrophonePreferences-qaOpiph1.js.br +0 -0
- package/app/dist/assets/MicrophonePreferences-qaOpiph1.js.gz +0 -0
- package/app/dist/assets/{ModelReasoningMenu-BeNCpeQf.js → ModelReasoningMenu-CVmIvyBC.js} +1 -1
- package/app/dist/assets/ModelReasoningMenu-CVmIvyBC.js.br +0 -0
- package/app/dist/assets/ModelReasoningMenu-CVmIvyBC.js.gz +0 -0
- package/app/dist/assets/{NewTabPage-CsPDV6iC.js → NewTabPage-BD3LFok4.js} +1 -1
- package/app/dist/assets/NewTabPage-BD3LFok4.js.br +0 -0
- package/app/dist/assets/NewTabPage-BD3LFok4.js.gz +0 -0
- package/app/dist/assets/{NewThreadComposer-BY0jUSbs.js → NewThreadComposer-C2ZKRVh2.js} +1 -1
- package/app/dist/assets/NewThreadComposer-C2ZKRVh2.js.br +0 -0
- package/app/dist/assets/NewThreadComposer-C2ZKRVh2.js.gz +0 -0
- package/app/dist/assets/{OnboardingFlow-BQdrTtHC.js → OnboardingFlow-D7-YF2ZM.js} +1 -1
- package/app/dist/assets/OnboardingFlow-D7-YF2ZM.js.br +0 -0
- package/app/dist/assets/OnboardingFlow-D7-YF2ZM.js.gz +0 -0
- package/app/dist/assets/{OptionPicker-sql35hd_.js → OptionPicker-DzY4ri8R.js} +1 -1
- package/app/dist/assets/OptionPicker-DzY4ri8R.js.br +0 -0
- package/app/dist/assets/OptionPicker-DzY4ri8R.js.gz +0 -0
- package/app/dist/assets/{PaletteShell-B9KeWKsT.js → PaletteShell-4enjLs-M.js} +1 -1
- package/app/dist/assets/PaletteShell-4enjLs-M.js.br +0 -0
- package/app/dist/assets/PaletteShell-4enjLs-M.js.gz +0 -0
- package/app/dist/assets/{PaneMaximizeButton-CGBzyikf.js → PaneMaximizeButton-40ZGXf3w.js} +1 -1
- package/app/dist/assets/PaneMaximizeButton-40ZGXf3w.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-40ZGXf3w.js.gz +0 -0
- package/app/dist/assets/{PierreLineSelectionActions-BYL6I0xE.js → PierreLineSelectionActions-DrQj-N__.js} +1 -1
- package/app/dist/assets/PierreLineSelectionActions-DrQj-N__.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-DrQj-N__.js.gz +0 -0
- package/app/dist/assets/{PluginPanelRightPanelHost-Dj-wS_Ki.js → PluginPanelRightPanelHost-Ha0PrCa9.js} +1 -1
- package/app/dist/assets/PluginPanelRightPanelHost-Ha0PrCa9.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-Ha0PrCa9.js.gz +0 -0
- package/app/dist/assets/{PluginThreadChat-Dh-No9s-.js → PluginThreadChat-D_tbXHEo.js} +1 -1
- package/app/dist/assets/PluginThreadChat-D_tbXHEo.js.br +0 -0
- package/app/dist/assets/PluginThreadChat-D_tbXHEo.js.gz +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-Ckp-m-c0.js +1 -0
- package/app/dist/assets/ProjectDetailSettingsView-Ckp-m-c0.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-Ckp-m-c0.js.gz +0 -0
- package/app/dist/assets/{ProjectMachineSetupDialog-BW4gUYj0.js → ProjectMachineSetupDialog-Bn43xkw-.js} +1 -1
- package/app/dist/assets/ProjectMachineSetupDialog-Bn43xkw-.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-Bn43xkw-.js.gz +0 -0
- package/app/dist/assets/{ProjectsSettingsSection-BI_xhcA2.js → ProjectsSettingsSection-DXHostGl.js} +1 -1
- package/app/dist/assets/ProjectsSettingsSection-DXHostGl.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-DXHostGl.js.gz +0 -0
- package/app/dist/assets/{QueuedMessagesList-BEyivVSE.js → QueuedMessagesList-C53i8_rz.js} +1 -1
- package/app/dist/assets/QueuedMessagesList-C53i8_rz.js.br +0 -0
- package/app/dist/assets/QueuedMessagesList-C53i8_rz.js.gz +0 -0
- package/app/dist/assets/{RemotePathBrowser-DVW5AwBs.js → RemotePathBrowser-CsCxZdUk.js} +1 -1
- package/app/dist/assets/RemotePathBrowser-CsCxZdUk.js.br +0 -0
- package/app/dist/assets/RemotePathBrowser-CsCxZdUk.js.gz +0 -0
- package/app/dist/assets/{RootComposeView-Cbnwq7j_.js → RootComposeView-CsV3Ut7E.js} +1 -1
- package/app/dist/assets/RootComposeView-CsV3Ut7E.js.br +0 -0
- package/app/dist/assets/RootComposeView-CsV3Ut7E.js.gz +0 -0
- package/app/dist/assets/{SecondaryPanelLayout-fG8BuYv-.js → SecondaryPanelLayout-BPTIpQ2F.js} +1 -1
- package/app/dist/assets/SecondaryPanelLayout-BPTIpQ2F.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-BPTIpQ2F.js.gz +0 -0
- package/app/dist/assets/{ServerMoveOverlayView-CPWZimVv.js → ServerMoveOverlayView-DxwZdF-Z.js} +1 -1
- package/app/dist/assets/ServerMoveOverlayView-DxwZdF-Z.js.br +0 -0
- package/app/dist/assets/ServerMoveOverlayView-DxwZdF-Z.js.gz +0 -0
- package/app/dist/assets/{SettingsSidebar-DxfoXXKW.js → SettingsSidebar-CYEXglCo.js} +1 -1
- package/app/dist/assets/SettingsSidebar-CYEXglCo.js.br +0 -0
- package/app/dist/assets/SettingsSidebar-CYEXglCo.js.gz +0 -0
- package/app/dist/assets/{SettingsView-D_DkKpuv.js → SettingsView-B3HpJfUo.js} +1 -1
- package/app/dist/assets/SettingsView-B3HpJfUo.js.br +0 -0
- package/app/dist/assets/SettingsView-B3HpJfUo.js.gz +0 -0
- package/app/dist/assets/{SidebarFooterCustomize-VQoenr5y.js → SidebarFooterCustomize-BGXeu0og.js} +1 -1
- package/app/dist/assets/SidebarFooterCustomize-BGXeu0og.js.br +0 -0
- package/app/dist/assets/SidebarFooterCustomize-BGXeu0og.js.gz +0 -0
- package/app/dist/assets/{SidebarVisibilityCustomize-DUKnlz9Y.js → SidebarVisibilityCustomize-Qy7hHO5j.js} +1 -1
- package/app/dist/assets/SidebarVisibilityCustomize-Qy7hHO5j.js.br +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-Qy7hHO5j.js.gz +0 -0
- package/app/dist/assets/{SourceCodeHost-BlXLvWv2.js → SourceCodeHost-CJpVOgCd.js} +2 -2
- package/app/dist/assets/SourceCodeHost-CJpVOgCd.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-CJpVOgCd.js.gz +0 -0
- package/app/dist/assets/{SplitWorkspaceRoute-6w4G23kc.js → SplitWorkspaceRoute-CWPCkdjo.js} +2 -2
- package/app/dist/assets/SplitWorkspaceRoute-CWPCkdjo.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-CWPCkdjo.js.gz +0 -0
- package/app/dist/assets/{TerminalOutputBlock-BxBSWJr_.js → TerminalOutputBlock-BzxpJ5H3.js} +1 -1
- package/app/dist/assets/TerminalOutputBlock-BzxpJ5H3.js.br +0 -0
- package/app/dist/assets/TerminalOutputBlock-BzxpJ5H3.js.gz +0 -0
- package/app/dist/assets/{ThreadActionsMenu-ChpSKv80.js → ThreadActionsMenu-DfUIyx3e.js} +1 -1
- package/app/dist/assets/ThreadActionsMenu-DfUIyx3e.js.br +0 -0
- package/app/dist/assets/ThreadActionsMenu-DfUIyx3e.js.gz +0 -0
- package/app/dist/assets/{ThreadDetailView-CfH3uWo-.js → ThreadDetailView-BqzwklQd.js} +3 -3
- package/app/dist/assets/ThreadDetailView-BqzwklQd.js.br +0 -0
- package/app/dist/assets/ThreadDetailView-BqzwklQd.js.gz +0 -0
- package/app/dist/assets/{ThreadSearchPaletteMode-B72v3f5V.js → ThreadSearchPaletteMode-Dni8lJt2.js} +1 -1
- package/app/dist/assets/ThreadSearchPaletteMode-Dni8lJt2.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-Dni8lJt2.js.gz +0 -0
- package/app/dist/assets/{ThreadSecondaryPanel-4nIZy4h9.js → ThreadSecondaryPanel-Cfah9-yR.js} +1 -1
- package/app/dist/assets/ThreadSecondaryPanel-Cfah9-yR.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-Cfah9-yR.js.gz +0 -0
- package/app/dist/assets/{ThreadSecondaryPanelTabContent-8-e35_Me.js → ThreadSecondaryPanelTabContent-ByMkWr4B.js} +1 -1
- package/app/dist/assets/ThreadSecondaryPanelTabContent-ByMkWr4B.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-ByMkWr4B.js.gz +0 -0
- package/app/dist/assets/{ThreadStatusGlyph-C9tzRtlV.js → ThreadStatusGlyph-MjAgpNtv.js} +1 -1
- package/app/dist/assets/ThreadStatusGlyph-MjAgpNtv.js.br +0 -0
- package/app/dist/assets/ThreadStatusGlyph-MjAgpNtv.js.gz +0 -0
- package/app/dist/assets/{ThreadTerminalPanel-CqTk9L2y.js → ThreadTerminalPanel-2UtGqd1Z.js} +1 -1
- package/app/dist/assets/ThreadTerminalPanel-2UtGqd1Z.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-2UtGqd1Z.js.gz +0 -0
- package/app/dist/assets/{ThreadTerminalView-B6XNBrJ9.js → ThreadTerminalView-BqsCrU1_.js} +1 -1
- package/app/dist/assets/ThreadTerminalView-BqsCrU1_.js.br +0 -0
- package/app/dist/assets/ThreadTerminalView-BqsCrU1_.js.gz +0 -0
- package/app/dist/assets/{ThreadTimelineNavigationContext-DbZHHZfY.js → ThreadTimelineNavigationContext-B_vg4bPl.js} +2 -2
- package/app/dist/assets/ThreadTimelineNavigationContext-B_vg4bPl.js.br +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-B_vg4bPl.js.gz +0 -0
- package/app/dist/assets/{ThreadUnarchiveButton-CtjS9UkR.js → ThreadUnarchiveButton-CnlHu7Dv.js} +1 -1
- package/app/dist/assets/{TimelineDetailScroll-CpFZhWhU.js → TimelineDetailScroll-CIXDGLcx.js} +1 -1
- package/app/dist/assets/TimelineDetailScroll-CIXDGLcx.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-CIXDGLcx.js.gz +0 -0
- package/app/dist/assets/{TimelineFileDiffBlock-JiOlR3O8.js → TimelineFileDiffBlock-Cy_6X6XY.js} +1 -1
- package/app/dist/assets/TimelineFileDiffBlock-Cy_6X6XY.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-Cy_6X6XY.js.gz +0 -0
- package/app/dist/assets/{TimelineSelectionMenu-DT4qwoFI.js → TimelineSelectionMenu-DzrSCC7e.js} +1 -1
- package/app/dist/assets/TimelineSelectionMenu-DzrSCC7e.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DzrSCC7e.js.gz +0 -0
- package/app/dist/assets/{ToolsView-nAAic88Z.js → ToolsView-B8oDS6Ek.js} +1 -1
- package/app/dist/assets/ToolsView-B8oDS6Ek.js.br +0 -0
- package/app/dist/assets/ToolsView-B8oDS6Ek.js.gz +0 -0
- package/app/dist/assets/{ToolsViewSplits-Blo3GJMQ.js → ToolsViewSplits-JK-JmYIg.js} +2 -2
- package/app/dist/assets/ToolsViewSplits-JK-JmYIg.js.br +0 -0
- package/app/dist/assets/ToolsViewSplits-JK-JmYIg.js.gz +0 -0
- package/app/dist/assets/{WaveformVisualizer-BrH_nwc4.js → WaveformVisualizer-GDJ4mJRx.js} +1 -1
- package/app/dist/assets/WaveformVisualizer-GDJ4mJRx.js.br +0 -0
- package/app/dist/assets/WaveformVisualizer-GDJ4mJRx.js.gz +0 -0
- package/app/dist/assets/{absolute-file-path-W_eh4kPq.js → absolute-file-path-B-cUOroV.js} +1 -1
- package/app/dist/assets/{app-fixed-tab-navigation-DX9s-gCj.js → app-fixed-tab-navigation-BpDuGNDS.js} +1 -1
- package/app/dist/assets/app-fixed-tab-navigation-BpDuGNDS.js.br +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-BpDuGNDS.js.gz +0 -0
- package/app/dist/assets/{audio-input-device-preference-DsU6GGNE.js → audio-input-device-preference-BeKjzmnK.js} +1 -1
- package/app/dist/assets/audio-input-device-preference-BeKjzmnK.js.br +0 -0
- package/app/dist/assets/audio-input-device-preference-BeKjzmnK.js.gz +0 -0
- package/app/dist/assets/{bottom-anchored-scroll-body-C8n22V_o.js → bottom-anchored-scroll-body-DaHi9M7W.js} +1 -1
- package/app/dist/assets/bottom-anchored-scroll-body-DaHi9M7W.js.br +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-DaHi9M7W.js.gz +0 -0
- package/app/dist/assets/{browser-url-B0SjaYti.js → browser-url-BdtGkCbj.js} +1 -1
- package/app/dist/assets/browser-url-BdtGkCbj.js.br +0 -0
- package/app/dist/assets/browser-url-BdtGkCbj.js.gz +0 -0
- package/app/dist/assets/{checkbox-Ct38DhHB.js → checkbox-5zZ_V1_F.js} +1 -1
- package/app/dist/assets/checkbox-5zZ_V1_F.js.br +0 -0
- package/app/dist/assets/checkbox-5zZ_V1_F.js.gz +0 -0
- package/app/dist/assets/{code-loading-skeletons-C_099GEq.js → code-loading-skeletons-DzoCzgll.js} +1 -1
- package/app/dist/assets/code-loading-skeletons-DzoCzgll.js.br +0 -0
- package/app/dist/assets/code-loading-skeletons-DzoCzgll.js.gz +0 -0
- package/app/dist/assets/{code-rendering-OxBy5zPr.js → code-rendering-A15j47Uy.js} +1 -1
- package/app/dist/assets/{code-theme-registration-BokyXo30.js → code-theme-registration-q5iRcekZ.js} +1 -1
- package/app/dist/assets/{detail-card-Cj628JNK.js → detail-card-BvFcq0Ru.js} +1 -1
- package/app/dist/assets/detail-card-BvFcq0Ru.js.br +0 -0
- package/app/dist/assets/detail-card-BvFcq0Ru.js.gz +0 -0
- package/app/dist/assets/{diff-stats-tally-MtORWItG.js → diff-stats-tally-DA41wrwM.js} +1 -1
- package/app/dist/assets/diff-stats-tally-DA41wrwM.js.br +0 -0
- package/app/dist/assets/diff-stats-tally-DA41wrwM.js.gz +0 -0
- package/app/dist/assets/{environment-mutations-rP4eROm2.js → environment-mutations-Bl2PK8kR.js} +1 -1
- package/app/dist/assets/environment-mutations-Bl2PK8kR.js.br +0 -0
- package/app/dist/assets/environment-mutations-Bl2PK8kR.js.gz +0 -0
- package/app/dist/assets/{environment-workspace-display-O1JRHfbV.js → environment-workspace-display-DdMsNL4x.js} +3 -3
- package/app/dist/assets/environment-workspace-display-DdMsNL4x.js.br +0 -0
- package/app/dist/assets/environment-workspace-display-DdMsNL4x.js.gz +0 -0
- package/app/dist/assets/{event-code-block-DqUZCAii.js → event-code-block-DT4pyQ5R.js} +1 -1
- package/app/dist/assets/event-code-block-DT4pyQ5R.js.br +0 -0
- package/app/dist/assets/event-code-block-DT4pyQ5R.js.gz +0 -0
- package/app/dist/assets/{expandable-text-herJC70e.js → expandable-text-CtGFLpBX.js} +1 -1
- package/app/dist/assets/expandable-text-CtGFLpBX.js.br +0 -0
- package/app/dist/assets/expandable-text-CtGFLpBX.js.gz +0 -0
- package/app/dist/assets/{file-opener-preference-BEeek6dm.js → file-opener-preference-B5sOAhVM.js} +1 -1
- package/app/dist/assets/{file-path-link-Cni9Azi2.js → file-path-link-xsn9GiAq.js} +1 -1
- package/app/dist/assets/file-path-link-xsn9GiAq.js.br +0 -0
- package/app/dist/assets/file-path-link-xsn9GiAq.js.gz +0 -0
- package/app/dist/assets/{host-mutations-Ckc-eVys.js → host-mutations-Bf4idS3m.js} +1 -1
- package/app/dist/assets/host-mutations-Bf4idS3m.js.br +0 -0
- package/app/dist/assets/host-mutations-Bf4idS3m.js.gz +0 -0
- package/app/dist/assets/{icon-extended-DDFkslJU.js → icon-extended-C7x9E4W9.js} +1 -1
- package/app/dist/assets/icon-extended-C7x9E4W9.js.br +0 -0
- package/app/dist/assets/icon-extended-C7x9E4W9.js.gz +0 -0
- package/app/dist/assets/{image-lightbox-BW1bqQJM.js → image-lightbox-CzY6y14n.js} +1 -1
- package/app/dist/assets/image-lightbox-CzY6y14n.js.br +0 -0
- package/app/dist/assets/image-lightbox-CzY6y14n.js.gz +0 -0
- package/app/dist/assets/index-B-RDC4LU.js +395 -0
- package/app/dist/assets/index-B-RDC4LU.js.br +0 -0
- package/app/dist/assets/index-B-RDC4LU.js.gz +0 -0
- package/app/dist/assets/{inline-rename-editor-wjwfk7v2.js → inline-rename-editor-DUVacR_R.js} +1 -1
- package/app/dist/assets/inline-rename-editor-DUVacR_R.js.br +0 -0
- package/app/dist/assets/inline-rename-editor-DUVacR_R.js.gz +0 -0
- package/app/dist/assets/{launcherRow-rIW7Z6Xm.js → launcherRow-C9Htfook.js} +1 -1
- package/app/dist/assets/launcherRow-C9Htfook.js.br +0 -0
- package/app/dist/assets/launcherRow-C9Htfook.js.gz +0 -0
- package/app/dist/assets/{localhost-link-rewrite-description-Bovg3W--.js → localhost-link-rewrite-description-DfPXtfPs.js} +1 -1
- package/app/dist/assets/localhost-link-rewrite-description-DfPXtfPs.js.br +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-DfPXtfPs.js.gz +0 -0
- package/app/dist/assets/{machine-provider-queries-CRlWTEz7.js → machine-provider-queries-By9Ipha4.js} +1 -1
- package/app/dist/assets/machine-provider-queries-By9Ipha4.js.br +0 -0
- package/app/dist/assets/machine-provider-queries-By9Ipha4.js.gz +0 -0
- package/app/dist/assets/{machine-server-access-D3hixOIC.js → machine-server-access-6584jQ7-.js} +1 -1
- package/app/dist/assets/{markdown-file-image-routing-DAIVjxLg.js → markdown-file-image-routing-0_tf5d6g.js} +1 -1
- package/app/dist/assets/{markdown-html-B-Kyh3zI.js → markdown-html-JK4Gnuli.js} +1 -1
- package/app/dist/assets/markdown-html-JK4Gnuli.js.br +0 -0
- package/app/dist/assets/markdown-html-JK4Gnuli.js.gz +0 -0
- package/app/dist/assets/{markdown-local-file-link-C89PR8d5.js → markdown-local-file-link-DXjnoCIE.js} +1 -1
- package/app/dist/assets/markdown-local-file-link-DXjnoCIE.js.br +0 -0
- package/app/dist/assets/markdown-local-file-link-DXjnoCIE.js.gz +0 -0
- package/app/dist/assets/{markdown-preview-B7BmqIlu.js → markdown-preview-Bfwf40CC.js} +2 -2
- package/app/dist/assets/markdown-preview-Bfwf40CC.js.br +0 -0
- package/app/dist/assets/markdown-preview-Bfwf40CC.js.gz +0 -0
- package/app/dist/assets/{markdown-prompt-mentions-B0JRhgrI.js → markdown-prompt-mentions-BuHEkhJs.js} +1 -1
- package/app/dist/assets/markdown-prompt-mentions-BuHEkhJs.js.br +0 -0
- package/app/dist/assets/markdown-prompt-mentions-BuHEkhJs.js.gz +0 -0
- package/app/dist/assets/{model-load-error-message-B-HKqgUD.js → model-load-error-message-CnA6byT0.js} +1 -1
- package/app/dist/assets/model-load-error-message-CnA6byT0.js.br +0 -0
- package/app/dist/assets/model-load-error-message-CnA6byT0.js.gz +0 -0
- package/app/dist/assets/onboarding-telemetry-D6SXoh98.js +1 -0
- package/app/dist/assets/{open-in-editor-button-CQGreiCk.js → open-in-editor-button-jScMiuob.js} +1 -1
- package/app/dist/assets/open-in-editor-button-jScMiuob.js.br +0 -0
- package/app/dist/assets/open-in-editor-button-jScMiuob.js.gz +0 -0
- package/app/dist/assets/{page-shell-BHTOdeQn.js → page-shell-ClYdhKtX.js} +1 -1
- package/app/dist/assets/page-shell-ClYdhKtX.js.br +0 -0
- package/app/dist/assets/page-shell-ClYdhKtX.js.gz +0 -0
- package/app/dist/assets/{pierre-worker-pool-Bm9cLA-c.js → pierre-worker-pool-D1nZ9Lcz.js} +1 -1
- package/app/dist/assets/pierre-worker-pool-D1nZ9Lcz.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-D1nZ9Lcz.js.gz +0 -0
- package/app/dist/assets/{plugin-detail-navigation-CmSGTNyL.js → plugin-detail-navigation-BD4jDXuP.js} +1 -1
- package/app/dist/assets/plugin-detail-navigation-BD4jDXuP.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-BD4jDXuP.js.gz +0 -0
- package/app/dist/assets/{plugin-frontend-BdQdYbWd.js → plugin-frontend-qfGFykt-.js} +3 -3
- package/app/dist/assets/plugin-frontend-qfGFykt-.js.br +0 -0
- package/app/dist/assets/plugin-frontend-qfGFykt-.js.gz +0 -0
- package/app/dist/assets/{plugin-ui-DyNDyPD9.js → plugin-ui-DfbeKd73.js} +1 -1
- package/app/dist/assets/plugin-ui-DfbeKd73.js.br +0 -0
- package/app/dist/assets/plugin-ui-DfbeKd73.js.gz +0 -0
- package/app/dist/assets/{project-default-execution-options-query-h6eTG6_Q.js → project-default-execution-options-query-DQKDDkRo.js} +1 -1
- package/app/dist/assets/{queued-editor-typeahead-layout-BKui5z7C.js → queued-editor-typeahead-layout-DKGYsvQ-.js} +1 -1
- package/app/dist/assets/queued-editor-typeahead-layout-DKGYsvQ-.js.br +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-DKGYsvQ-.js.gz +0 -0
- package/app/dist/assets/{queued-messages-layout-BuEilXwP.js → queued-messages-layout-ClZkWHAV.js} +1 -1
- package/app/dist/assets/queued-messages-layout-ClZkWHAV.js.br +0 -0
- package/app/dist/assets/queued-messages-layout-ClZkWHAV.js.gz +0 -0
- package/app/dist/assets/{resource-list-B6MkAu8v.js → resource-list-CC7zN47b.js} +1 -1
- package/app/dist/assets/resource-list-CC7zN47b.js.br +0 -0
- package/app/dist/assets/resource-list-CC7zN47b.js.gz +0 -0
- package/app/dist/assets/root-compose-create-preference-z0-Xe1ss.js +1 -0
- package/app/dist/assets/{save-file-DYAtq7A9.js → save-file-Cs9LWQ4E.js} +1 -1
- package/app/dist/assets/{settings-nav-DbICcozy.js → settings-nav-BKMVpc5b.js} +1 -1
- package/app/dist/assets/settings-nav-BKMVpc5b.js.br +0 -0
- package/app/dist/assets/settings-nav-BKMVpc5b.js.gz +0 -0
- package/app/dist/assets/{settings-sections-Cq0VX9E8.js → settings-sections-LqqPm8q3.js} +1 -1
- package/app/dist/assets/settings-sections-LqqPm8q3.js.br +0 -0
- package/app/dist/assets/settings-sections-LqqPm8q3.js.gz +0 -0
- package/app/dist/assets/{shortcut-pill-DldxrKgx.js → shortcut-pill-DOMeVrnR.js} +1 -1
- package/app/dist/assets/{sidebarTouchSensor-D7jKXrfM.js → sidebarTouchSensor-PP8-SQld.js} +1 -1
- package/app/dist/assets/sidebarTouchSensor-PP8-SQld.js.br +0 -0
- package/app/dist/assets/sidebarTouchSensor-PP8-SQld.js.gz +0 -0
- package/app/dist/assets/{switch-CzvlSesf.js → switch-B9nrFpZc.js} +1 -1
- package/app/dist/assets/switch-B9nrFpZc.js.br +0 -0
- package/app/dist/assets/switch-B9nrFpZc.js.gz +0 -0
- package/app/dist/assets/{textarea-9yaIMD7J.js → textarea-2fJEsqsi.js} +1 -1
- package/app/dist/assets/{thread-event-parser-BqVpKC6z.js → thread-event-parser-DedSEtmp.js} +1 -1
- package/app/dist/assets/thread-event-parser-DedSEtmp.js.br +0 -0
- package/app/dist/assets/thread-event-parser-DedSEtmp.js.gz +0 -0
- package/app/dist/assets/{thread-panel-queries-C3MI4mdc.js → thread-panel-queries-5N40syTx.js} +1 -1
- package/app/dist/assets/thread-panel-queries-5N40syTx.js.br +0 -0
- package/app/dist/assets/thread-panel-queries-5N40syTx.js.gz +0 -0
- package/app/dist/assets/{thread-runtime-mutations-Cr1H7KSz.js → thread-runtime-mutations-BY5xzme0.js} +1 -1
- package/app/dist/assets/thread-runtime-mutations-BY5xzme0.js.br +0 -0
- package/app/dist/assets/thread-runtime-mutations-BY5xzme0.js.gz +0 -0
- package/app/dist/assets/{thread-terminal-queries-B4JkOWS2.js → thread-terminal-queries-BF7AB7qh.js} +1 -1
- package/app/dist/assets/thread-terminal-queries-BF7AB7qh.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-BF7AB7qh.js.gz +0 -0
- package/app/dist/assets/{threadRecentItems-DI2mgj7S.js → threadRecentItems-CYYbbS1r.js} +1 -1
- package/app/dist/assets/threadRecentItems-CYYbbS1r.js.br +0 -0
- package/app/dist/assets/threadRecentItems-CYYbbS1r.js.gz +0 -0
- package/app/dist/assets/{threadWorkspaceOpenPath-BQgtUYL5.js → threadWorkspaceOpenPath-B5anoH2-.js} +1 -1
- package/app/dist/assets/threadWorkspaceOpenPath-B5anoH2-.js.br +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-B5anoH2-.js.gz +0 -0
- package/app/dist/assets/{title-bar-scroll-fade-CxbgbTcm.js → title-bar-scroll-fade-BfqL4WEJ.js} +1 -1
- package/app/dist/assets/title-bar-scroll-fade-BfqL4WEJ.js.br +0 -0
- package/app/dist/assets/title-bar-scroll-fade-BfqL4WEJ.js.gz +0 -0
- package/app/dist/assets/{truncate-start-CaCnKnh9.js → truncate-start-D-P3rLti.js} +1 -1
- package/app/dist/assets/{use-hover-popover-CyIdak3c.js → use-hover-popover-Bb8PuVyu.js} +1 -1
- package/app/dist/assets/use-hover-popover-Bb8PuVyu.js.br +0 -0
- package/app/dist/assets/use-hover-popover-Bb8PuVyu.js.gz +0 -0
- package/app/dist/assets/{useElementWidth-CL3Nb-eq.js → useElementWidth-vSwGqg9a.js} +1 -1
- package/app/dist/assets/useElementWidth-vSwGqg9a.js.br +0 -0
- package/app/dist/assets/useElementWidth-vSwGqg9a.js.gz +0 -0
- package/app/dist/assets/{useLocalOpenTargets-yzd9-Ceh.js → useLocalOpenTargets-DqjYzi0b.js} +1 -1
- package/app/dist/assets/useLocalOpenTargets-DqjYzi0b.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-DqjYzi0b.js.gz +0 -0
- package/app/dist/assets/{usePanelResizeSnap-dys9IwEk.js → usePanelResizeSnap-Dvi7sa3e.js} +1 -1
- package/app/dist/assets/usePanelResizeSnap-Dvi7sa3e.js.br +0 -0
- package/app/dist/assets/usePanelResizeSnap-Dvi7sa3e.js.gz +0 -0
- package/app/dist/assets/{usePanelTerminals-BN8UCJFO.js → usePanelTerminals-B9MNSur4.js} +1 -1
- package/app/dist/assets/usePanelTerminals-B9MNSur4.js.br +0 -0
- package/app/dist/assets/usePanelTerminals-B9MNSur4.js.gz +0 -0
- package/app/dist/assets/{usePathSuggestions-DkeFAE7l.js → usePathSuggestions-zhZ-4fh8.js} +1 -1
- package/app/dist/assets/usePathSuggestions-zhZ-4fh8.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-zhZ-4fh8.js.gz +0 -0
- package/app/dist/assets/{useResolvedLiveFileTarget-43fAKgDx.js → useResolvedLiveFileTarget-CZZwqw4L.js} +1 -1
- package/app/dist/assets/useResolvedLiveFileTarget-CZZwqw4L.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-CZZwqw4L.js.gz +0 -0
- package/app/dist/assets/{useThreadTerminalController-DcWLbe8W.js → useThreadTerminalController-CvXy-5HP.js} +1 -1
- package/app/dist/assets/useThreadTerminalController-CvXy-5HP.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-CvXy-5HP.js.gz +0 -0
- package/app/dist/assets/{workspace-change-summary-Bd3p-LXz.js → workspace-change-summary-CY01JLmJ.js} +1 -1
- package/app/dist/assets/workspace-change-summary-CY01JLmJ.js.br +0 -0
- package/app/dist/assets/workspace-change-summary-CY01JLmJ.js.gz +0 -0
- package/app/dist/assets/{workspace-checkout-display-DMp28yCr.js → workspace-checkout-display-C9B0QPLi.js} +4 -4
- package/app/dist/assets/workspace-checkout-display-C9B0QPLi.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-C9B0QPLi.js.gz +0 -0
- package/app/dist/index.html +17 -17
- package/app/dist/index.html.br +0 -0
- package/app/dist/index.html.gz +0 -0
- package/dist/index.d.ts +35 -6
- package/dist/index.js +9 -5
- package/host-daemon/dist/bb +2 -2
- package/host-daemon/dist/bb-chunks/{browser-DVIVPPSL.js → browser-3RYUCU4H.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-ATDR5E2C.js → chunk-CZ4K4Z4T.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-ZWBRH7R6.js → chunk-DCRUVPRR.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-7EOZF4HA.js → chunk-F7XCHQA3.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-JWA6VJYL.js → chunk-FYCUA6H6.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-5ZMA4MIX.js → chunk-FZ76WJJG.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-UXSJP3YM.js → chunk-GVXLVAX4.js} +1 -1
- package/host-daemon/dist/bb-chunks/chunk-HDUE2YKX.js +2199 -0
- package/host-daemon/dist/bb-chunks/{chunk-REEBSQ75.js → chunk-L5UJ4QUD.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-QE47NRKX.js → chunk-NZY63D4X.js} +1 -1
- package/host-daemon/dist/bb-chunks/{chunk-MLYXPSJC.js → chunk-UCNQXYXP.js} +1 -1
- package/host-daemon/dist/bb-chunks/chunk-WMCZMPZ4.js +2 -0
- package/host-daemon/dist/bb-chunks/{client-YJBBA4JS.js → client-NLWJKXJ2.js} +1 -1
- package/host-daemon/dist/bb-chunks/{commander-errors-P6LP2OHL.js → commander-errors-GDOJDU37.js} +1 -1
- package/host-daemon/dist/bb-chunks/{context-env-LJ5IITUO.js → context-env-VLEFLYWD.js} +1 -1
- package/host-daemon/dist/bb-chunks/{context-hints-MUUUMT2P.js → context-hints-FXEXGMFT.js} +1 -1
- package/host-daemon/dist/bb-chunks/{diagnostics-5EMHJNW7.js → diagnostics-ZKJGPJUH.js} +1 -1
- package/host-daemon/dist/bb-chunks/{environment-ZRSQFVHG.js → environment-CY5JUFSR.js} +1 -1
- package/host-daemon/dist/bb-chunks/{file-AEVJYJAY.js → file-KGZLZ36T.js} +1 -1
- package/host-daemon/dist/bb-chunks/{guide-GLY5UY4M.js → guide-MXAVSGKZ.js} +1 -1
- package/host-daemon/dist/bb-chunks/{machine-Z5QSPWEE.js → machine-Y7XFS7EJ.js} +1 -1
- package/host-daemon/dist/bb-chunks/{marketplace-4CGZ3NTM.js → marketplace-QLPRDZTC.js} +1 -1
- package/host-daemon/dist/bb-chunks/{plugin-VO7RP4JU.js → plugin-K276UYTK.js} +1 -1
- package/host-daemon/dist/bb-chunks/{plugin-cli-proxy-6Y6TTP7A.js → plugin-cli-proxy-QE7C6YLF.js} +1 -1
- package/host-daemon/dist/bb-chunks/project-QD44GO6S.js +2 -0
- package/host-daemon/dist/bb-chunks/{prompt-history-ZNIBNYER.js → prompt-history-YGK557NG.js} +1 -1
- package/host-daemon/dist/bb-chunks/{provider-TJ4DGKBX.js → provider-FAAY2EKV.js} +1 -1
- package/host-daemon/dist/bb-chunks/{server-YMSYCILC.js → server-Y7FRWA4U.js} +1 -1
- package/host-daemon/dist/bb-chunks/{settings-5CKNFTFZ.js → settings-76RZ35GN.js} +1 -1
- package/host-daemon/dist/bb-chunks/{skill-BMQPIFAD.js → skill-HMSLPSPW.js} +1 -1
- package/host-daemon/dist/bb-chunks/{status-2DJ3O6QU.js → status-GJFZ5YDD.js} +1 -1
- package/host-daemon/dist/bb-chunks/{terminal-NWC5PO4A.js → terminal-LSZHPIET.js} +1 -1
- package/host-daemon/dist/bb-chunks/{theme-OEOGYFXJ.js → theme-BMV5THCU.js} +1 -1
- package/host-daemon/dist/bb-chunks/{thread-AI6SXNXK.js → thread-UZ44ZBA2.js} +1 -1
- package/host-daemon/dist/bb-chunks/thread-event-parser-SIFYMDOV.js +2 -0
- package/host-daemon/dist/bb-chunks/{updates-DFLJJDO4.js → updates-IDCLXRIV.js} +1 -1
- package/host-daemon/dist/bb-chunks/{voice-ZSACREC3.js → voice-EXZARJ2J.js} +1 -1
- package/host-daemon/dist/daemon-bundle.mjs +102 -102
- package/package.json +1 -1
- package/server/dist/builtin-plugins/orbit/dist/assets/orbit/revision +1 -1
- package/server/dist/builtin-plugins/orbit/dist/server.js +52 -52
- package/server/dist/drizzle/0147_project_permission_escalation.sql +1 -0
- package/server/dist/drizzle/meta/0147_snapshot.json +5295 -0
- package/server/dist/drizzle/meta/_journal.json +7 -0
- package/server/dist/start-server.js +26 -7
- package/app/dist/assets/AddMachineDialog-4BQFC118.js.br +0 -0
- package/app/dist/assets/AddMachineDialog-4BQFC118.js.gz +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-fGD_vTns.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-fGD_vTns.js.gz +0 -0
- package/app/dist/assets/BbDiff-BkqgAZD9.js.br +0 -0
- package/app/dist/assets/BbDiff-BkqgAZD9.js.gz +0 -0
- package/app/dist/assets/BbDiffSplit-DTvWaW-n.js.br +0 -0
- package/app/dist/assets/BbDiffSplit-DTvWaW-n.js.gz +0 -0
- package/app/dist/assets/BbSourceCode-Dqw4VrLu.js.br +0 -0
- package/app/dist/assets/BbSourceCode-Dqw4VrLu.js.gz +0 -0
- package/app/dist/assets/BrowserTabDeck-CuHEyZd6.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-CuHEyZd6.js.gz +0 -0
- package/app/dist/assets/CommandPaletteBody-DynxiDg6.js.br +0 -0
- package/app/dist/assets/CommandPaletteBody-DynxiDg6.js.gz +0 -0
- package/app/dist/assets/DiffHost-3UTZIJNs.js.br +0 -0
- package/app/dist/assets/DiffHost-3UTZIJNs.js.gz +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-C0RXVabs.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-C0RXVabs.js.gz +0 -0
- package/app/dist/assets/FilePreview-BxgJ2jjI.js.br +0 -0
- package/app/dist/assets/FilePreview-BxgJ2jjI.js.gz +0 -0
- package/app/dist/assets/GitDiffCardHeader-Ce736y-m.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-Ce736y-m.js.gz +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-Dud8h1It.js.br +0 -0
- package/app/dist/assets/InlineMessageEditorFrame-Dud8h1It.js.gz +0 -0
- package/app/dist/assets/MachineRenameDialog-C_ZV5gEB.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-C_ZV5gEB.js.gz +0 -0
- package/app/dist/assets/MachineSettingsView-BWSIpenw.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-BWSIpenw.js.gz +0 -0
- package/app/dist/assets/MicrophonePreferences-CNEhQgAS.js.br +0 -0
- package/app/dist/assets/MicrophonePreferences-CNEhQgAS.js.gz +0 -0
- package/app/dist/assets/ModelReasoningMenu-BeNCpeQf.js.br +0 -0
- package/app/dist/assets/ModelReasoningMenu-BeNCpeQf.js.gz +0 -0
- package/app/dist/assets/NewTabPage-CsPDV6iC.js.br +0 -0
- package/app/dist/assets/NewTabPage-CsPDV6iC.js.gz +0 -0
- package/app/dist/assets/NewThreadComposer-BY0jUSbs.js.br +0 -0
- package/app/dist/assets/NewThreadComposer-BY0jUSbs.js.gz +0 -0
- package/app/dist/assets/OnboardingFlow-BQdrTtHC.js.br +0 -0
- package/app/dist/assets/OnboardingFlow-BQdrTtHC.js.gz +0 -0
- package/app/dist/assets/OptionPicker-sql35hd_.js.br +0 -0
- package/app/dist/assets/OptionPicker-sql35hd_.js.gz +0 -0
- package/app/dist/assets/PaletteShell-B9KeWKsT.js.br +0 -0
- package/app/dist/assets/PaletteShell-B9KeWKsT.js.gz +0 -0
- package/app/dist/assets/PaneMaximizeButton-CGBzyikf.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-CGBzyikf.js.gz +0 -0
- package/app/dist/assets/PierreLineSelectionActions-BYL6I0xE.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-BYL6I0xE.js.gz +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-Dj-wS_Ki.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-Dj-wS_Ki.js.gz +0 -0
- package/app/dist/assets/PluginThreadChat-Dh-No9s-.js.br +0 -0
- package/app/dist/assets/PluginThreadChat-Dh-No9s-.js.gz +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-BOV7URzQ.js +0 -1
- package/app/dist/assets/ProjectDetailSettingsView-BOV7URzQ.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-BOV7URzQ.js.gz +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-BW4gUYj0.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-BW4gUYj0.js.gz +0 -0
- package/app/dist/assets/ProjectsSettingsSection-BI_xhcA2.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-BI_xhcA2.js.gz +0 -0
- package/app/dist/assets/QueuedMessagesList-BEyivVSE.js.br +0 -0
- package/app/dist/assets/QueuedMessagesList-BEyivVSE.js.gz +0 -0
- package/app/dist/assets/RemotePathBrowser-DVW5AwBs.js.br +0 -0
- package/app/dist/assets/RemotePathBrowser-DVW5AwBs.js.gz +0 -0
- package/app/dist/assets/RootComposeView-Cbnwq7j_.js.br +0 -0
- package/app/dist/assets/RootComposeView-Cbnwq7j_.js.gz +0 -0
- package/app/dist/assets/SecondaryPanelLayout-fG8BuYv-.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-fG8BuYv-.js.gz +0 -0
- package/app/dist/assets/ServerMoveOverlayView-CPWZimVv.js.br +0 -0
- package/app/dist/assets/ServerMoveOverlayView-CPWZimVv.js.gz +0 -0
- package/app/dist/assets/SettingsSidebar-DxfoXXKW.js.br +0 -0
- package/app/dist/assets/SettingsSidebar-DxfoXXKW.js.gz +0 -0
- package/app/dist/assets/SettingsView-D_DkKpuv.js.br +0 -0
- package/app/dist/assets/SettingsView-D_DkKpuv.js.gz +0 -0
- package/app/dist/assets/SidebarFooterCustomize-VQoenr5y.js.br +0 -0
- package/app/dist/assets/SidebarFooterCustomize-VQoenr5y.js.gz +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-DUKnlz9Y.js.br +0 -0
- package/app/dist/assets/SidebarVisibilityCustomize-DUKnlz9Y.js.gz +0 -0
- package/app/dist/assets/SourceCodeHost-BlXLvWv2.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-BlXLvWv2.js.gz +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-6w4G23kc.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-6w4G23kc.js.gz +0 -0
- package/app/dist/assets/TerminalOutputBlock-BxBSWJr_.js.br +0 -0
- package/app/dist/assets/TerminalOutputBlock-BxBSWJr_.js.gz +0 -0
- package/app/dist/assets/ThreadActionsMenu-ChpSKv80.js.br +0 -0
- package/app/dist/assets/ThreadActionsMenu-ChpSKv80.js.gz +0 -0
- package/app/dist/assets/ThreadDetailView-CfH3uWo-.js.br +0 -0
- package/app/dist/assets/ThreadDetailView-CfH3uWo-.js.gz +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-B72v3f5V.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-B72v3f5V.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-4nIZy4h9.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-4nIZy4h9.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-8-e35_Me.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-8-e35_Me.js.gz +0 -0
- package/app/dist/assets/ThreadStatusGlyph-C9tzRtlV.js.br +0 -0
- package/app/dist/assets/ThreadStatusGlyph-C9tzRtlV.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalPanel-CqTk9L2y.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-CqTk9L2y.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalView-B6XNBrJ9.js.br +0 -0
- package/app/dist/assets/ThreadTerminalView-B6XNBrJ9.js.gz +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-DbZHHZfY.js.br +0 -0
- package/app/dist/assets/ThreadTimelineNavigationContext-DbZHHZfY.js.gz +0 -0
- package/app/dist/assets/TimelineDetailScroll-CpFZhWhU.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-CpFZhWhU.js.gz +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-JiOlR3O8.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-JiOlR3O8.js.gz +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DT4qwoFI.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-DT4qwoFI.js.gz +0 -0
- package/app/dist/assets/ToolsView-nAAic88Z.js.br +0 -0
- package/app/dist/assets/ToolsView-nAAic88Z.js.gz +0 -0
- package/app/dist/assets/ToolsViewSplits-Blo3GJMQ.js.br +0 -0
- package/app/dist/assets/ToolsViewSplits-Blo3GJMQ.js.gz +0 -0
- package/app/dist/assets/WaveformVisualizer-BrH_nwc4.js.br +0 -0
- package/app/dist/assets/WaveformVisualizer-BrH_nwc4.js.gz +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-DX9s-gCj.js.br +0 -0
- package/app/dist/assets/app-fixed-tab-navigation-DX9s-gCj.js.gz +0 -0
- package/app/dist/assets/audio-input-device-preference-DsU6GGNE.js.br +0 -0
- package/app/dist/assets/audio-input-device-preference-DsU6GGNE.js.gz +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-C8n22V_o.js.br +0 -0
- package/app/dist/assets/bottom-anchored-scroll-body-C8n22V_o.js.gz +0 -0
- package/app/dist/assets/browser-url-B0SjaYti.js.br +0 -0
- package/app/dist/assets/browser-url-B0SjaYti.js.gz +0 -0
- package/app/dist/assets/checkbox-Ct38DhHB.js.br +0 -0
- package/app/dist/assets/checkbox-Ct38DhHB.js.gz +0 -0
- package/app/dist/assets/code-loading-skeletons-C_099GEq.js.br +0 -5
- package/app/dist/assets/code-loading-skeletons-C_099GEq.js.gz +0 -0
- package/app/dist/assets/detail-card-Cj628JNK.js.br +0 -0
- package/app/dist/assets/detail-card-Cj628JNK.js.gz +0 -0
- package/app/dist/assets/diff-stats-tally-MtORWItG.js.br +0 -0
- package/app/dist/assets/diff-stats-tally-MtORWItG.js.gz +0 -0
- package/app/dist/assets/environment-mutations-rP4eROm2.js.br +0 -0
- package/app/dist/assets/environment-mutations-rP4eROm2.js.gz +0 -0
- package/app/dist/assets/environment-workspace-display-O1JRHfbV.js.br +0 -0
- package/app/dist/assets/environment-workspace-display-O1JRHfbV.js.gz +0 -0
- package/app/dist/assets/event-code-block-DqUZCAii.js.br +0 -0
- package/app/dist/assets/event-code-block-DqUZCAii.js.gz +0 -0
- package/app/dist/assets/expandable-text-herJC70e.js.br +0 -0
- package/app/dist/assets/expandable-text-herJC70e.js.gz +0 -0
- package/app/dist/assets/file-path-link-Cni9Azi2.js.br +0 -0
- package/app/dist/assets/file-path-link-Cni9Azi2.js.gz +0 -0
- package/app/dist/assets/host-mutations-Ckc-eVys.js.br +0 -0
- package/app/dist/assets/host-mutations-Ckc-eVys.js.gz +0 -0
- package/app/dist/assets/icon-extended-DDFkslJU.js.br +0 -0
- package/app/dist/assets/icon-extended-DDFkslJU.js.gz +0 -0
- package/app/dist/assets/image-lightbox-BW1bqQJM.js.br +0 -0
- package/app/dist/assets/image-lightbox-BW1bqQJM.js.gz +0 -0
- package/app/dist/assets/index-BBxUiLNy.js +0 -395
- package/app/dist/assets/index-BBxUiLNy.js.br +0 -0
- package/app/dist/assets/index-BBxUiLNy.js.gz +0 -0
- package/app/dist/assets/inline-rename-editor-wjwfk7v2.js.br +0 -0
- package/app/dist/assets/inline-rename-editor-wjwfk7v2.js.gz +0 -0
- package/app/dist/assets/launcherRow-rIW7Z6Xm.js.br +0 -0
- package/app/dist/assets/launcherRow-rIW7Z6Xm.js.gz +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-Bovg3W--.js.br +0 -0
- package/app/dist/assets/localhost-link-rewrite-description-Bovg3W--.js.gz +0 -0
- package/app/dist/assets/machine-provider-queries-CRlWTEz7.js.br +0 -0
- package/app/dist/assets/machine-provider-queries-CRlWTEz7.js.gz +0 -0
- package/app/dist/assets/markdown-html-B-Kyh3zI.js.br +0 -0
- package/app/dist/assets/markdown-html-B-Kyh3zI.js.gz +0 -0
- package/app/dist/assets/markdown-local-file-link-C89PR8d5.js.br +0 -0
- package/app/dist/assets/markdown-local-file-link-C89PR8d5.js.gz +0 -0
- package/app/dist/assets/markdown-preview-B7BmqIlu.js.br +0 -0
- package/app/dist/assets/markdown-preview-B7BmqIlu.js.gz +0 -0
- package/app/dist/assets/markdown-prompt-mentions-B0JRhgrI.js.br +0 -0
- package/app/dist/assets/markdown-prompt-mentions-B0JRhgrI.js.gz +0 -0
- package/app/dist/assets/model-load-error-message-B-HKqgUD.js.br +0 -0
- package/app/dist/assets/model-load-error-message-B-HKqgUD.js.gz +0 -0
- package/app/dist/assets/onboarding-telemetry-C21cbjI_.js +0 -1
- package/app/dist/assets/open-in-editor-button-CQGreiCk.js.br +0 -0
- package/app/dist/assets/open-in-editor-button-CQGreiCk.js.gz +0 -0
- package/app/dist/assets/page-shell-BHTOdeQn.js.br +0 -0
- package/app/dist/assets/page-shell-BHTOdeQn.js.gz +0 -0
- package/app/dist/assets/pierre-worker-pool-Bm9cLA-c.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-Bm9cLA-c.js.gz +0 -0
- package/app/dist/assets/plugin-detail-navigation-CmSGTNyL.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-CmSGTNyL.js.gz +0 -0
- package/app/dist/assets/plugin-frontend-BdQdYbWd.js.br +0 -0
- package/app/dist/assets/plugin-frontend-BdQdYbWd.js.gz +0 -0
- package/app/dist/assets/plugin-ui-DyNDyPD9.js.br +0 -0
- package/app/dist/assets/plugin-ui-DyNDyPD9.js.gz +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-BKui5z7C.js.br +0 -0
- package/app/dist/assets/queued-editor-typeahead-layout-BKui5z7C.js.gz +0 -0
- package/app/dist/assets/queued-messages-layout-BuEilXwP.js.br +0 -0
- package/app/dist/assets/queued-messages-layout-BuEilXwP.js.gz +0 -0
- package/app/dist/assets/resource-list-B6MkAu8v.js.br +0 -0
- package/app/dist/assets/resource-list-B6MkAu8v.js.gz +0 -0
- package/app/dist/assets/root-compose-create-preference-DDv947dq.js +0 -1
- package/app/dist/assets/settings-nav-DbICcozy.js.br +0 -0
- package/app/dist/assets/settings-nav-DbICcozy.js.gz +0 -0
- package/app/dist/assets/settings-sections-Cq0VX9E8.js.br +0 -0
- package/app/dist/assets/settings-sections-Cq0VX9E8.js.gz +0 -0
- package/app/dist/assets/sidebarTouchSensor-D7jKXrfM.js.br +0 -0
- package/app/dist/assets/sidebarTouchSensor-D7jKXrfM.js.gz +0 -0
- package/app/dist/assets/switch-CzvlSesf.js.br +0 -0
- package/app/dist/assets/switch-CzvlSesf.js.gz +0 -0
- package/app/dist/assets/thread-event-parser-BqVpKC6z.js.br +0 -0
- package/app/dist/assets/thread-event-parser-BqVpKC6z.js.gz +0 -0
- package/app/dist/assets/thread-panel-queries-C3MI4mdc.js.br +0 -0
- package/app/dist/assets/thread-panel-queries-C3MI4mdc.js.gz +0 -0
- package/app/dist/assets/thread-runtime-mutations-Cr1H7KSz.js.br +0 -0
- package/app/dist/assets/thread-runtime-mutations-Cr1H7KSz.js.gz +0 -0
- package/app/dist/assets/thread-terminal-queries-B4JkOWS2.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-B4JkOWS2.js.gz +0 -0
- package/app/dist/assets/threadRecentItems-DI2mgj7S.js.br +0 -0
- package/app/dist/assets/threadRecentItems-DI2mgj7S.js.gz +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-BQgtUYL5.js.br +0 -0
- package/app/dist/assets/threadWorkspaceOpenPath-BQgtUYL5.js.gz +0 -0
- package/app/dist/assets/title-bar-scroll-fade-CxbgbTcm.js.br +0 -0
- package/app/dist/assets/title-bar-scroll-fade-CxbgbTcm.js.gz +0 -0
- package/app/dist/assets/use-hover-popover-CyIdak3c.js.br +0 -0
- package/app/dist/assets/use-hover-popover-CyIdak3c.js.gz +0 -0
- package/app/dist/assets/useElementWidth-CL3Nb-eq.js.br +0 -0
- package/app/dist/assets/useElementWidth-CL3Nb-eq.js.gz +0 -0
- package/app/dist/assets/useLocalOpenTargets-yzd9-Ceh.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-yzd9-Ceh.js.gz +0 -0
- package/app/dist/assets/usePanelResizeSnap-dys9IwEk.js.br +0 -0
- package/app/dist/assets/usePanelResizeSnap-dys9IwEk.js.gz +0 -0
- package/app/dist/assets/usePanelTerminals-BN8UCJFO.js.br +0 -0
- package/app/dist/assets/usePanelTerminals-BN8UCJFO.js.gz +0 -0
- package/app/dist/assets/usePathSuggestions-DkeFAE7l.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-DkeFAE7l.js.gz +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-43fAKgDx.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-43fAKgDx.js.gz +0 -0
- package/app/dist/assets/useThreadTerminalController-DcWLbe8W.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-DcWLbe8W.js.gz +0 -0
- package/app/dist/assets/workspace-change-summary-Bd3p-LXz.js.br +0 -0
- package/app/dist/assets/workspace-change-summary-Bd3p-LXz.js.gz +0 -0
- package/app/dist/assets/workspace-checkout-display-DMp28yCr.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-DMp28yCr.js.gz +0 -0
- package/host-daemon/dist/bb-chunks/chunk-CLMP7PJ2.js +0 -2
- package/host-daemon/dist/bb-chunks/chunk-SDZLOCRA.js +0 -2186
- package/host-daemon/dist/bb-chunks/project-J3U36Y4U.js +0 -2
- package/host-daemon/dist/bb-chunks/thread-event-parser-VC3WTCLZ.js +0 -2
package/app/dist/assets/{SecondaryPanelLayout-fG8BuYv-.js → SecondaryPanelLayout-BPTIpQ2F.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ct as t,Or as n,mi as r,ni as i,pi as a}from"./boot-vendor-BBLG7GwQ.js";import{t as o}from"./plugin-detail-navigation-CmSGTNyL.js";import{Ad as ee,Cn as s,Nd as c,Xf as te,_f as ne,_o as re,bf as ie,ca as l,hf as ae,ir as u,oh as oe,vf as se,vo as ce,xf as le,yf as ue}from"./index-BBxUiLNy.js";import{C as de,S as fe,_ as pe,h as me,w as d,y as f}from"./ToolsViewSplits-Blo3GJMQ.js";var he=n(),p=e(r(),1),ge=e(a(),1),m=e(i(),1),_e=`[transition:translate_220ms_cubic-bezier(0.32,0.72,0,1),width_220ms_cubic-bezier(0.32,0.72,0,1)] motion-reduce:transition-none!`,ve=220,h=`translate 220ms cubic-bezier(0.32, 0.72, 0, 1)`;function ye(e){let t=(0,he.c)(61),{children:n,onClose:r,onContentAnimationEnd:i,onOpen:a,open:o,srLabel:ee}=e,s=(0,p.useId)(),c=(0,p.useRef)(null),te=(0,p.useRef)(null),u=o?`full`:`closed`,ce=(0,p.useRef)(r),le,de;t[0]===r?(le=t[1],de=t[2]):(le=()=>{ce.current=r},de=[r],t[0]=r,t[1]=le,t[2]=de),(0,p.useLayoutEffect)(le,de);let fe;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(fe=()=>ce.current(),t[3]=fe):fe=t[3];let pe=fe,me=(0,p.useRef)(a),d,f;t[4]===a?(d=t[5],f=t[6]):(d=()=>{me.current=a},f=[a],t[4]=a,t[5]=d,t[6]=f),(0,p.useLayoutEffect)(d,f);let ye=(0,p.useRef)(null),g=a!==void 0&&!o,Se;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(Se=()=>{let e=te.current;e!==null&&(e.style.translate=``,e.style.transition=``,te.current=null)},t[7]=Se):Se=t[7];let Ce=Se,we;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(we=e=>{let{progress:t,width:n,settling:r}=e,i=c.current;if(i===null)return;let a=i.ownerDocument.querySelector(`[data-sidebar="inset"]`);a instanceof HTMLElement&&(te.current=a,a.style.translate=`${-n*t}px`,a.style.transition=r?h:`none`)},t[8]=we):we=t[8];let Te=we,_;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>c.current?.clientWidth??0,t[9]=_):_=t[9];let v;t[10]!==o||t[11]!==u?(v={direction:`right`,dismissTiming:`immediate`,enabled:o,getWidth:_,onClear:Ce,onDismiss:pe,onProgress:Te,resetKey:u,shouldBeginDrag:xe,suppressClick:!1},t[10]=o,t[11]=u,t[12]=v):v=t[12];let{beginPointerDrag:y,beginTouchDrag:b}=ae(v),x;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(x=()=>{ue(!1);let e=ye.current;if(e===null)return;e.style.translate=``,e.style.transition=``,ye.current=null;let t=c.current;t!==null&&(t.style.visibility=``,t.style.width=``,t.style.transition=``)},t[13]=x):x=t[13];let S=x,C;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(C=e=>{let{progress:t,width:n,settling:r}=e,i=c.current;if(i===null)return;let a=i.ownerDocument.querySelector(`[data-sidebar="inset"]`);a instanceof HTMLElement&&(ye.current=a,ue(!0),a.style.translate=`${-n*(1-t)}px`,a.style.transition=r?h:`none`,i.style.visibility=`visible`,i.style.width=`100%`,i.style.transition=`none`)},t[14]=C):C=t[14];let w=C,T;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(T=()=>{let e=c.current?.ownerDocument.querySelector(`[data-sidebar="inset"]`);return!ie()&&e?.getAttribute(`data-sidebar-shelf`)!==`open`},t[15]=T):T=t[15];let Ee=T,E;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{(0,ge.flushSync)(()=>me.current?.()),S()},t[16]=E):E=t[16];let D=E,O;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>c.current?.ownerDocument.documentElement.clientWidth??0,t[17]=O):O=t[17];let k;t[18]!==g||t[19]!==u?(k={direction:`left`,dismissTiming:`settled`,enabled:g,getWidth:O,onClear:S,onDismiss:D,onProgress:w,resetKey:u,shouldBeginDrag:Ee,suppressClick:!0},t[18]=g,t[19]=u,t[20]=k):k=t[20];let{beginNativePointerDrag:A,beginNativeTouchDrag:De}=ae(k),[j,Oe]=(0,p.useState)(null),M,N;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(M=()=>{Oe(document.body)},N=[],t[21]=M,t[22]=N):(M=t[21],N=t[22]),(0,p.useEffect)(M,N);let ke,P;t[23]!==A||t[24]!==De||t[25]!==g||t[26]!==j?(ke=()=>{if(!g||j===null)return;let e=j.ownerDocument.querySelector(`[data-sidebar="inset"]`);if(!(e instanceof HTMLElement))return;let t=t=>{ie()||A(t,e)},n=t=>{ie()||De(t,e)};return e.addEventListener(`pointerdown`,t,{passive:!0}),e.addEventListener(`touchstart`,n,{passive:!0}),()=>{e.removeEventListener(`pointerdown`,t),e.removeEventListener(`touchstart`,n)}},P=[A,De,g,j],t[23]=A,t[24]=De,t[25]=g,t[26]=j,t[27]=ke,t[28]=P):(ke=t[27],P=t[28]),(0,p.useEffect)(ke,P);let F=o&&j!==null,I;t[29]===F?I=t[30]:(I={open:F,panelRef:c,requestClose:pe},t[29]=F,t[30]=I),re(I);let L,R;t[31]===o?(L=t[32],R=t[33]):(L=()=>{if(o)return;let e=c.current;e!==null&&ne(e)&&e.ownerDocument.getSelection()?.removeAllRanges()},R=[o],t[31]=o,t[32]=L,t[33]=R),(0,p.useLayoutEffect)(L,R);let z,B;t[34]===u?(z=t[35],B=t[36]):(z=()=>(se(u),be),B=[u],t[34]=u,t[35]=z,t[36]=B),(0,p.useEffect)(z,B);let V,H;if(t[37]!==i||t[38]!==o?(V=()=>{if(i===void 0)return;let e=window.setTimeout(()=>i(o),ve);return()=>window.clearTimeout(e)},H=[i,o],t[37]=i,t[38]=o,t[39]=V,t[40]=H):(V=t[39],H=t[40]),(0,p.useEffect)(V,H),j===null)return null;let U=!o,W=u===`full`?l.secondaryPanelFullPage:l.secondaryPanel,G;t[41]===W?G=t[42]:(G={zIndex:W},t[41]=W,t[42]=G);let K;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(K=oe(`fixed inset-y-0 right-0 flex h-(--bb-shell-height) flex-col overflow-hidden border-l border-border-seam bg-sidebar pt-[env(safe-area-inset-top)] pr-[env(safe-area-inset-right)] pb-[var(--bb-safe-area-bottom,env(safe-area-inset-bottom))] pl-[env(safe-area-inset-left)] outline-none`,`w-(--secondary-panel-width-mobile) data-[state=full]:w-full data-[state=full]:border-l-0`,_e,`data-[state=closed]:invisible data-[state=closed]:[transition:visibility_0s_linear_220ms]`),t[43]=K):K=t[43];let q;t[44]!==s||t[45]!==ee?(q=(0,m.jsx)(`span`,{id:s,className:`sr-only`,children:ee}),t[44]=s,t[45]=ee,t[46]=q):q=t[46];let J;t[47]===n?J=t[48]:(J=(0,m.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:n}),t[47]=n,t[48]=J);let Y;t[49]!==y||t[50]!==b||t[51]!==s||t[52]!==u||t[53]!==U||t[54]!==G||t[55]!==q||t[56]!==J?(Y=(0,m.jsxs)(`div`,{ref:c,role:`dialog`,"aria-modal":`true`,"aria-labelledby":s,"data-bb-portaled-overlay":``,tabIndex:-1,inert:U,"data-testid":`secondary-panel-shelf`,"data-state":u,style:G,className:K,onPointerDown:y,onTouchStart:b,children:[q,J]}),t[49]=y,t[50]=b,t[51]=s,t[52]=u,t[53]=U,t[54]=G,t[55]=q,t[56]=J,t[57]=Y):Y=t[57];let X;return t[58]!==j||t[59]!==Y?(X=(0,ge.createPortal)(Y,j),t[58]=j,t[59]=Y,t[60]=X):X=t[60],X}function be(){return se(`closed`)}function xe(){return!0}var g=100;function Se(){}function Ce(e){let n=(0,he.c)(113),{open:r,onToggle:i,onClose:a,onSwipeOpen:ne,panelGroupKey:re,resetKey:l,contentKey:ae,drawerLabel:se,drawerFallback:ue,mainPanelId:ge,mainHeader:_e,main:ve,collapse:h,renderPanel:be,renderHostedPanel:xe,composerHost:Ce}=e,{ref:Te,minimum:_}=pe(),v=ee(),y=(0,p.useContext)(o),b;n[0]!==y||n[1]!==be?(b=e=>(0,m.jsx)(o.Provider,{value:y,children:be(e)}),n[0]=y,n[1]=be,n[2]=b):b=n[2];let x=b,S=v?.secondaryPanelHost??null,C=te(),w=(0,p.useSyncExternalStore)(le,ie,we),T=(0,p.useRef)(w),Ee,E;n[3]!==a||n[4]!==r||n[5]!==C||n[6]!==w?(Ee=()=>{let e=w&&!T.current;T.current=w,!(!C||!r||!e)&&a()},E=[a,r,C,w],n[3]=a,n[4]=r,n[5]=C,n[6]=w,n[7]=Ee,n[8]=E):(Ee=n[7],E=n[8]),(0,p.useEffect)(Ee,E);let D=de(l,!C),O=t(u),k=r&&!C&&h?.active===!0,A=(0,p.useRef)(null),De=(0,p.useRef)(O),j,Oe;n[9]===O?(j=n[10],Oe=n[11]):(j=()=>{De.current=O},Oe=[O],n[9]=O,n[10]=j,n[11]=Oe),(0,p.useEffect)(j,Oe);let M,N;n[12]!==k||n[13]!==r||n[14]!==C?(M=()=>{let e=A.current;if(e===null||C||e.getLayout().length!==2)return;if(!r){e.setLayout([g,0]);return}if(k){e.setLayout([0,g]);return}let t=De.current;e.setLayout([g-t,t])},N=[k,r,C],n[12]=k,n[13]=r,n[14]=C,n[15]=M,n[16]=N):(M=n[15],N=n[16]),(0,p.useLayoutEffect)(M,N);let[ke,P]=(0,p.useState)(!1),F;n[17]!==r||n[18]!==C?(F={open:r,enabled:C},n[17]=r,n[18]=C,n[19]=F):F=n[19];let{isContentRealized:I,realizeContent:L}=ce(F),R=(0,p.useRef)(null),z=(0,p.useRef)(0),B;n[20]!==r||n[21]!==C||n[22]!==l?(B={open:r,renderAsDrawer:C,resetKey:l},n[20]=r,n[21]=C,n[22]=l,n[23]=B):B=n[23];let V=(0,p.useRef)(B),H,U;n[24]!==r||n[25]!==C||n[26]!==l?(H=()=>{V.current={open:r,renderAsDrawer:C,resetKey:l}},U=[r,C,l],n[24]=r,n[25]=C,n[26]=l,n[27]=H,n[28]=U):(H=n[27],U=n[28]),(0,p.useLayoutEffect)(H,U);let W;n[29]===Symbol.for(`react.memo_cache_sentinel`)?(W=()=>{z.current+=1,R.current!==null&&(window.cancelAnimationFrame(R.current),R.current=null)},n[29]=W):W=n[29];let G=W,K;n[30]===Symbol.for(`react.memo_cache_sentinel`)?(K=()=>{G(),P(!1)},n[30]=K):K=n[30];let q;n[31]!==r||n[32]!==C||n[33]!==l?(q=[G,r,C,l],n[31]=r,n[32]=C,n[33]=l,n[34]=q):q=n[34],(0,p.useLayoutEffect)(K,q);let J,Y;n[35]===Symbol.for(`react.memo_cache_sentinel`)?(J=()=>()=>{G()},Y=[G],n[35]=J,n[36]=Y):(J=n[35],Y=n[36]),(0,p.useLayoutEffect)(J,Y);let X;n[37]===L?X=n[38]:(X=e=>{if(!e)return;let t=V.current;if(!t.open||!t.renderAsDrawer)return;G();let n=z.current,r=t.resetKey;R.current=window.requestAnimationFrame(()=>{R.current=null;let e=V.current;if(z.current!==n||e.resetKey!==r||!e.open||!e.renderAsDrawer)return;s();let t=V.current;z.current===n&&t.resetKey===r&&t.open&&t.renderAsDrawer&&(P(!0),L())})},n[37]=L,n[38]=X);let Ae=X,je=C?r&&ke:r&&(S===null||v?.isFocused===!0),Me=S===null||v===null?void 0:`thread-detail-secondary-panel-${v.paneId}`;h?.onToggle;let Ne;n[39]!==je||n[40]!==h?.onToggle||n[41]!==k||n[42]!==C||n[43]!==x||n[44]!==Me?(Ne=C?null:x({presentation:`inline`,canShowNativeBrowserView:je,isMainCollapsed:k,onToggleMainCollapse:h?.onToggle??Se,resizablePanelId:Me}),n[39]=je,n[40]=h?.onToggle,n[41]=k,n[42]=C,n[43]=x,n[44]=Me,n[45]=Ne):Ne=n[45];let Z=Ne,Pe;n[46]!==je||n[47]!==h?.onToggle||n[48]!==C||n[49]!==x?(Pe=()=>C?x({presentation:`drawer`,canShowNativeBrowserView:je,isMainCollapsed:!1,onToggleMainCollapse:h?.onToggle??Se}):null,n[46]=je,n[47]=h?.onToggle,n[48]=C,n[49]=x,n[50]=Pe):Pe=n[50],h?.onToggle;let Fe;n[51]===Pe?Fe=n[52]:(Fe=Pe(),n[51]=Pe,n[52]=Fe);let Ie=Fe,Le;n[53]!==Z||n[54]!==xe?(Le=xe?.(Z)??Z,n[53]=Z,n[54]=xe,n[55]=Le):Le=n[55];let Re;n[56]!==Ce||n[57]!==ae||n[58]!==k||n[59]!==i||n[60]!==r||n[61]!==Le||n[62]!==D?(Re={composerHost:Ce,contentKey:ae,isMainCollapsed:k,isOpen:r,panel:Le,onToggle:i,transitionsReady:D},n[56]=Ce,n[57]=ae,n[58]=k,n[59]=i,n[60]=r,n[61]=Le,n[62]=D,n[63]=Re):Re=n[63],c(S,Re);let ze=S===null?v?.paneId:void 0,Be=S===null&&`h-full`,Ve=k&&`opacity-0`,He;n[64]!==Be||n[65]!==Ve?(He=oe(`flex min-h-0 min-w-0 flex-1 flex-col transition-opacity`,Be,f,Ve),n[64]=Be,n[65]=Ve,n[66]=He):He=n[66];let Ue=S===null?_e:null,We;n[67]!==k||n[68]!==ve||n[69]!==ze||n[70]!==He||n[71]!==Ue?(We=(0,m.jsxs)(`div`,{"data-split-pane-id":ze,inert:k,className:He,children:[Ue,ve]}),n[67]=k,n[68]=ve,n[69]=ze,n[70]=He,n[71]=Ue,n[72]=We):We=n[72];let Ge=We;if(S!==null){let e;return n[73]!==Ge||n[74]!==_e?(e=(0,m.jsxs)(m.Fragment,{children:[_e,Ge]}),n[73]=Ge,n[74]=_e,n[75]=e):e=n[75],e}let Ke=re??l,qe;n[76]===D?qe=n[77]:(qe=fe(D),n[76]=D,n[77]=qe);let Je;n[78]===qe?Je=n[79]:(Je={overflow:`clip`,...qe},n[78]=qe,n[79]=Je);let Q;n[80]===h?Q=n[81]:(Q=h===void 0?{}:{collapsible:!0,collapsedSize:0},n[80]=h,n[81]=Q);let Ye=k?0:r&&!C?g-O:g,Xe=_.min*100,Ze;n[82]===Symbol.for(`react.memo_cache_sentinel`)?(Ze=oe(`min-w-0 overflow-clip transition-[flex-grow,flex-basis]`,f),n[82]=Ze):Ze=n[82];let Qe;n[83]!==Ge||n[84]!==ge||n[85]!==Q||n[86]!==Ye||n[87]!==Xe?(Qe=(0,m.jsx)(d.Panel,{id:ge,...Q,defaultSize:Ye,minSize:Xe,order:1,className:Ze,children:Ge}),n[83]=Ge,n[84]=ge,n[85]=Q,n[86]=Ye,n[87]=Xe,n[88]=Qe):Qe=n[88];let $e;n[89]!==Z||n[90]!==_?($e=(0,m.jsx)(me.Provider,{value:_,children:Z}),n[89]=Z,n[90]=_,n[91]=$e):$e=n[91];let et;n[92]!==Ke||n[93]!==Je||n[94]!==Qe||n[95]!==$e?(et=(0,m.jsxs)(d.PanelGroup,{ref:A,"data-split-resize-grid-root":``,direction:`horizontal`,className:`@container h-full min-w-0 flex-1`,style:Je,children:[Qe,$e]},Ke),n[92]=Ke,n[93]=Je,n[94]=Qe,n[95]=$e,n[96]=et):et=n[96];let $;n[97]!==Te||n[98]!==et?($=(0,m.jsx)(`div`,{ref:Te,className:`flex min-h-0 w-full min-w-0 flex-1`,children:et}),n[97]=Te,n[98]=et,n[99]=$):$=n[99];let tt;n[100]!==ue||n[101]!==se||n[102]!==Ie||n[103]!==Ae||n[104]!==I||n[105]!==a||n[106]!==ne||n[107]!==r||n[108]!==C?(tt=C?(0,m.jsx)(ye,{open:r,onClose:a,onOpen:ne,srLabel:se,onContentAnimationEnd:Ae,children:I?Ie:ue}):null,n[100]=ue,n[101]=se,n[102]=Ie,n[103]=Ae,n[104]=I,n[105]=a,n[106]=ne,n[107]=r,n[108]=C,n[109]=tt):tt=n[109];let nt;return n[110]!==$||n[111]!==tt?(nt=(0,m.jsxs)(m.Fragment,{children:[$,tt]}),n[110]=$,n[111]=tt,n[112]=nt):nt=n[112],nt}function we(){return!1}export{Ce as t};
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ct as t,Or as n,mi as r,ni as i,pi as a}from"./boot-vendor-BBLG7GwQ.js";import{t as o}from"./plugin-detail-navigation-BD4jDXuP.js";import{Ad as ee,Cn as s,Nd as c,Xf as te,_f as ne,_o as re,bf as ie,ca as l,hf as ae,ir as u,oh as oe,vf as se,vo as ce,xf as le,yf as ue}from"./index-B-RDC4LU.js";import{C as de,S as fe,_ as pe,h as me,w as d,y as f}from"./ToolsViewSplits-JK-JmYIg.js";var he=n(),p=e(r(),1),ge=e(a(),1),m=e(i(),1),_e=`[transition:translate_220ms_cubic-bezier(0.32,0.72,0,1),width_220ms_cubic-bezier(0.32,0.72,0,1)] motion-reduce:transition-none!`,ve=220,h=`translate 220ms cubic-bezier(0.32, 0.72, 0, 1)`;function ye(e){let t=(0,he.c)(61),{children:n,onClose:r,onContentAnimationEnd:i,onOpen:a,open:o,srLabel:ee}=e,s=(0,p.useId)(),c=(0,p.useRef)(null),te=(0,p.useRef)(null),u=o?`full`:`closed`,ce=(0,p.useRef)(r),le,de;t[0]===r?(le=t[1],de=t[2]):(le=()=>{ce.current=r},de=[r],t[0]=r,t[1]=le,t[2]=de),(0,p.useLayoutEffect)(le,de);let fe;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(fe=()=>ce.current(),t[3]=fe):fe=t[3];let pe=fe,me=(0,p.useRef)(a),d,f;t[4]===a?(d=t[5],f=t[6]):(d=()=>{me.current=a},f=[a],t[4]=a,t[5]=d,t[6]=f),(0,p.useLayoutEffect)(d,f);let ye=(0,p.useRef)(null),g=a!==void 0&&!o,Se;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(Se=()=>{let e=te.current;e!==null&&(e.style.translate=``,e.style.transition=``,te.current=null)},t[7]=Se):Se=t[7];let Ce=Se,we;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(we=e=>{let{progress:t,width:n,settling:r}=e,i=c.current;if(i===null)return;let a=i.ownerDocument.querySelector(`[data-sidebar="inset"]`);a instanceof HTMLElement&&(te.current=a,a.style.translate=`${-n*t}px`,a.style.transition=r?h:`none`)},t[8]=we):we=t[8];let Te=we,_;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>c.current?.clientWidth??0,t[9]=_):_=t[9];let v;t[10]!==o||t[11]!==u?(v={direction:`right`,dismissTiming:`immediate`,enabled:o,getWidth:_,onClear:Ce,onDismiss:pe,onProgress:Te,resetKey:u,shouldBeginDrag:xe,suppressClick:!1},t[10]=o,t[11]=u,t[12]=v):v=t[12];let{beginPointerDrag:y,beginTouchDrag:b}=ae(v),x;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(x=()=>{ue(!1);let e=ye.current;if(e===null)return;e.style.translate=``,e.style.transition=``,ye.current=null;let t=c.current;t!==null&&(t.style.visibility=``,t.style.width=``,t.style.transition=``)},t[13]=x):x=t[13];let S=x,C;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(C=e=>{let{progress:t,width:n,settling:r}=e,i=c.current;if(i===null)return;let a=i.ownerDocument.querySelector(`[data-sidebar="inset"]`);a instanceof HTMLElement&&(ye.current=a,ue(!0),a.style.translate=`${-n*(1-t)}px`,a.style.transition=r?h:`none`,i.style.visibility=`visible`,i.style.width=`100%`,i.style.transition=`none`)},t[14]=C):C=t[14];let w=C,T;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(T=()=>{let e=c.current?.ownerDocument.querySelector(`[data-sidebar="inset"]`);return!ie()&&e?.getAttribute(`data-sidebar-shelf`)!==`open`},t[15]=T):T=t[15];let Ee=T,E;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{(0,ge.flushSync)(()=>me.current?.()),S()},t[16]=E):E=t[16];let D=E,O;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>c.current?.ownerDocument.documentElement.clientWidth??0,t[17]=O):O=t[17];let k;t[18]!==g||t[19]!==u?(k={direction:`left`,dismissTiming:`settled`,enabled:g,getWidth:O,onClear:S,onDismiss:D,onProgress:w,resetKey:u,shouldBeginDrag:Ee,suppressClick:!0},t[18]=g,t[19]=u,t[20]=k):k=t[20];let{beginNativePointerDrag:A,beginNativeTouchDrag:De}=ae(k),[j,Oe]=(0,p.useState)(null),M,N;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(M=()=>{Oe(document.body)},N=[],t[21]=M,t[22]=N):(M=t[21],N=t[22]),(0,p.useEffect)(M,N);let ke,P;t[23]!==A||t[24]!==De||t[25]!==g||t[26]!==j?(ke=()=>{if(!g||j===null)return;let e=j.ownerDocument.querySelector(`[data-sidebar="inset"]`);if(!(e instanceof HTMLElement))return;let t=t=>{ie()||A(t,e)},n=t=>{ie()||De(t,e)};return e.addEventListener(`pointerdown`,t,{passive:!0}),e.addEventListener(`touchstart`,n,{passive:!0}),()=>{e.removeEventListener(`pointerdown`,t),e.removeEventListener(`touchstart`,n)}},P=[A,De,g,j],t[23]=A,t[24]=De,t[25]=g,t[26]=j,t[27]=ke,t[28]=P):(ke=t[27],P=t[28]),(0,p.useEffect)(ke,P);let F=o&&j!==null,I;t[29]===F?I=t[30]:(I={open:F,panelRef:c,requestClose:pe},t[29]=F,t[30]=I),re(I);let L,R;t[31]===o?(L=t[32],R=t[33]):(L=()=>{if(o)return;let e=c.current;e!==null&&ne(e)&&e.ownerDocument.getSelection()?.removeAllRanges()},R=[o],t[31]=o,t[32]=L,t[33]=R),(0,p.useLayoutEffect)(L,R);let z,B;t[34]===u?(z=t[35],B=t[36]):(z=()=>(se(u),be),B=[u],t[34]=u,t[35]=z,t[36]=B),(0,p.useEffect)(z,B);let V,H;if(t[37]!==i||t[38]!==o?(V=()=>{if(i===void 0)return;let e=window.setTimeout(()=>i(o),ve);return()=>window.clearTimeout(e)},H=[i,o],t[37]=i,t[38]=o,t[39]=V,t[40]=H):(V=t[39],H=t[40]),(0,p.useEffect)(V,H),j===null)return null;let U=!o,W=u===`full`?l.secondaryPanelFullPage:l.secondaryPanel,G;t[41]===W?G=t[42]:(G={zIndex:W},t[41]=W,t[42]=G);let K;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(K=oe(`fixed inset-y-0 right-0 flex h-(--bb-shell-height) flex-col overflow-hidden border-l border-border-seam bg-sidebar pt-[env(safe-area-inset-top)] pr-[env(safe-area-inset-right)] pb-[var(--bb-safe-area-bottom,env(safe-area-inset-bottom))] pl-[env(safe-area-inset-left)] outline-none`,`w-(--secondary-panel-width-mobile) data-[state=full]:w-full data-[state=full]:border-l-0`,_e,`data-[state=closed]:invisible data-[state=closed]:[transition:visibility_0s_linear_220ms]`),t[43]=K):K=t[43];let q;t[44]!==s||t[45]!==ee?(q=(0,m.jsx)(`span`,{id:s,className:`sr-only`,children:ee}),t[44]=s,t[45]=ee,t[46]=q):q=t[46];let J;t[47]===n?J=t[48]:(J=(0,m.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:n}),t[47]=n,t[48]=J);let Y;t[49]!==y||t[50]!==b||t[51]!==s||t[52]!==u||t[53]!==U||t[54]!==G||t[55]!==q||t[56]!==J?(Y=(0,m.jsxs)(`div`,{ref:c,role:`dialog`,"aria-modal":`true`,"aria-labelledby":s,"data-bb-portaled-overlay":``,tabIndex:-1,inert:U,"data-testid":`secondary-panel-shelf`,"data-state":u,style:G,className:K,onPointerDown:y,onTouchStart:b,children:[q,J]}),t[49]=y,t[50]=b,t[51]=s,t[52]=u,t[53]=U,t[54]=G,t[55]=q,t[56]=J,t[57]=Y):Y=t[57];let X;return t[58]!==j||t[59]!==Y?(X=(0,ge.createPortal)(Y,j),t[58]=j,t[59]=Y,t[60]=X):X=t[60],X}function be(){return se(`closed`)}function xe(){return!0}var g=100;function Se(){}function Ce(e){let n=(0,he.c)(113),{open:r,onToggle:i,onClose:a,onSwipeOpen:ne,panelGroupKey:re,resetKey:l,contentKey:ae,drawerLabel:se,drawerFallback:ue,mainPanelId:ge,mainHeader:_e,main:ve,collapse:h,renderPanel:be,renderHostedPanel:xe,composerHost:Ce}=e,{ref:Te,minimum:_}=pe(),v=ee(),y=(0,p.useContext)(o),b;n[0]!==y||n[1]!==be?(b=e=>(0,m.jsx)(o.Provider,{value:y,children:be(e)}),n[0]=y,n[1]=be,n[2]=b):b=n[2];let x=b,S=v?.secondaryPanelHost??null,C=te(),w=(0,p.useSyncExternalStore)(le,ie,we),T=(0,p.useRef)(w),Ee,E;n[3]!==a||n[4]!==r||n[5]!==C||n[6]!==w?(Ee=()=>{let e=w&&!T.current;T.current=w,!(!C||!r||!e)&&a()},E=[a,r,C,w],n[3]=a,n[4]=r,n[5]=C,n[6]=w,n[7]=Ee,n[8]=E):(Ee=n[7],E=n[8]),(0,p.useEffect)(Ee,E);let D=de(l,!C),O=t(u),k=r&&!C&&h?.active===!0,A=(0,p.useRef)(null),De=(0,p.useRef)(O),j,Oe;n[9]===O?(j=n[10],Oe=n[11]):(j=()=>{De.current=O},Oe=[O],n[9]=O,n[10]=j,n[11]=Oe),(0,p.useEffect)(j,Oe);let M,N;n[12]!==k||n[13]!==r||n[14]!==C?(M=()=>{let e=A.current;if(e===null||C||e.getLayout().length!==2)return;if(!r){e.setLayout([g,0]);return}if(k){e.setLayout([0,g]);return}let t=De.current;e.setLayout([g-t,t])},N=[k,r,C],n[12]=k,n[13]=r,n[14]=C,n[15]=M,n[16]=N):(M=n[15],N=n[16]),(0,p.useLayoutEffect)(M,N);let[ke,P]=(0,p.useState)(!1),F;n[17]!==r||n[18]!==C?(F={open:r,enabled:C},n[17]=r,n[18]=C,n[19]=F):F=n[19];let{isContentRealized:I,realizeContent:L}=ce(F),R=(0,p.useRef)(null),z=(0,p.useRef)(0),B;n[20]!==r||n[21]!==C||n[22]!==l?(B={open:r,renderAsDrawer:C,resetKey:l},n[20]=r,n[21]=C,n[22]=l,n[23]=B):B=n[23];let V=(0,p.useRef)(B),H,U;n[24]!==r||n[25]!==C||n[26]!==l?(H=()=>{V.current={open:r,renderAsDrawer:C,resetKey:l}},U=[r,C,l],n[24]=r,n[25]=C,n[26]=l,n[27]=H,n[28]=U):(H=n[27],U=n[28]),(0,p.useLayoutEffect)(H,U);let W;n[29]===Symbol.for(`react.memo_cache_sentinel`)?(W=()=>{z.current+=1,R.current!==null&&(window.cancelAnimationFrame(R.current),R.current=null)},n[29]=W):W=n[29];let G=W,K;n[30]===Symbol.for(`react.memo_cache_sentinel`)?(K=()=>{G(),P(!1)},n[30]=K):K=n[30];let q;n[31]!==r||n[32]!==C||n[33]!==l?(q=[G,r,C,l],n[31]=r,n[32]=C,n[33]=l,n[34]=q):q=n[34],(0,p.useLayoutEffect)(K,q);let J,Y;n[35]===Symbol.for(`react.memo_cache_sentinel`)?(J=()=>()=>{G()},Y=[G],n[35]=J,n[36]=Y):(J=n[35],Y=n[36]),(0,p.useLayoutEffect)(J,Y);let X;n[37]===L?X=n[38]:(X=e=>{if(!e)return;let t=V.current;if(!t.open||!t.renderAsDrawer)return;G();let n=z.current,r=t.resetKey;R.current=window.requestAnimationFrame(()=>{R.current=null;let e=V.current;if(z.current!==n||e.resetKey!==r||!e.open||!e.renderAsDrawer)return;s();let t=V.current;z.current===n&&t.resetKey===r&&t.open&&t.renderAsDrawer&&(P(!0),L())})},n[37]=L,n[38]=X);let Ae=X,je=C?r&&ke:r&&(S===null||v?.isFocused===!0),Me=S===null||v===null?void 0:`thread-detail-secondary-panel-${v.paneId}`;h?.onToggle;let Ne;n[39]!==je||n[40]!==h?.onToggle||n[41]!==k||n[42]!==C||n[43]!==x||n[44]!==Me?(Ne=C?null:x({presentation:`inline`,canShowNativeBrowserView:je,isMainCollapsed:k,onToggleMainCollapse:h?.onToggle??Se,resizablePanelId:Me}),n[39]=je,n[40]=h?.onToggle,n[41]=k,n[42]=C,n[43]=x,n[44]=Me,n[45]=Ne):Ne=n[45];let Z=Ne,Pe;n[46]!==je||n[47]!==h?.onToggle||n[48]!==C||n[49]!==x?(Pe=()=>C?x({presentation:`drawer`,canShowNativeBrowserView:je,isMainCollapsed:!1,onToggleMainCollapse:h?.onToggle??Se}):null,n[46]=je,n[47]=h?.onToggle,n[48]=C,n[49]=x,n[50]=Pe):Pe=n[50],h?.onToggle;let Fe;n[51]===Pe?Fe=n[52]:(Fe=Pe(),n[51]=Pe,n[52]=Fe);let Ie=Fe,Le;n[53]!==Z||n[54]!==xe?(Le=xe?.(Z)??Z,n[53]=Z,n[54]=xe,n[55]=Le):Le=n[55];let Re;n[56]!==Ce||n[57]!==ae||n[58]!==k||n[59]!==i||n[60]!==r||n[61]!==Le||n[62]!==D?(Re={composerHost:Ce,contentKey:ae,isMainCollapsed:k,isOpen:r,panel:Le,onToggle:i,transitionsReady:D},n[56]=Ce,n[57]=ae,n[58]=k,n[59]=i,n[60]=r,n[61]=Le,n[62]=D,n[63]=Re):Re=n[63],c(S,Re);let ze=S===null?v?.paneId:void 0,Be=S===null&&`h-full`,Ve=k&&`opacity-0`,He;n[64]!==Be||n[65]!==Ve?(He=oe(`flex min-h-0 min-w-0 flex-1 flex-col transition-opacity`,Be,f,Ve),n[64]=Be,n[65]=Ve,n[66]=He):He=n[66];let Ue=S===null?_e:null,We;n[67]!==k||n[68]!==ve||n[69]!==ze||n[70]!==He||n[71]!==Ue?(We=(0,m.jsxs)(`div`,{"data-split-pane-id":ze,inert:k,className:He,children:[Ue,ve]}),n[67]=k,n[68]=ve,n[69]=ze,n[70]=He,n[71]=Ue,n[72]=We):We=n[72];let Ge=We;if(S!==null){let e;return n[73]!==Ge||n[74]!==_e?(e=(0,m.jsxs)(m.Fragment,{children:[_e,Ge]}),n[73]=Ge,n[74]=_e,n[75]=e):e=n[75],e}let Ke=re??l,qe;n[76]===D?qe=n[77]:(qe=fe(D),n[76]=D,n[77]=qe);let Je;n[78]===qe?Je=n[79]:(Je={overflow:`clip`,...qe},n[78]=qe,n[79]=Je);let Q;n[80]===h?Q=n[81]:(Q=h===void 0?{}:{collapsible:!0,collapsedSize:0},n[80]=h,n[81]=Q);let Ye=k?0:r&&!C?g-O:g,Xe=_.min*100,Ze;n[82]===Symbol.for(`react.memo_cache_sentinel`)?(Ze=oe(`min-w-0 overflow-clip transition-[flex-grow,flex-basis]`,f),n[82]=Ze):Ze=n[82];let Qe;n[83]!==Ge||n[84]!==ge||n[85]!==Q||n[86]!==Ye||n[87]!==Xe?(Qe=(0,m.jsx)(d.Panel,{id:ge,...Q,defaultSize:Ye,minSize:Xe,order:1,className:Ze,children:Ge}),n[83]=Ge,n[84]=ge,n[85]=Q,n[86]=Ye,n[87]=Xe,n[88]=Qe):Qe=n[88];let $e;n[89]!==Z||n[90]!==_?($e=(0,m.jsx)(me.Provider,{value:_,children:Z}),n[89]=Z,n[90]=_,n[91]=$e):$e=n[91];let et;n[92]!==Ke||n[93]!==Je||n[94]!==Qe||n[95]!==$e?(et=(0,m.jsxs)(d.PanelGroup,{ref:A,"data-split-resize-grid-root":``,direction:`horizontal`,className:`@container h-full min-w-0 flex-1`,style:Je,children:[Qe,$e]},Ke),n[92]=Ke,n[93]=Je,n[94]=Qe,n[95]=$e,n[96]=et):et=n[96];let $;n[97]!==Te||n[98]!==et?($=(0,m.jsx)(`div`,{ref:Te,className:`flex min-h-0 w-full min-w-0 flex-1`,children:et}),n[97]=Te,n[98]=et,n[99]=$):$=n[99];let tt;n[100]!==ue||n[101]!==se||n[102]!==Ie||n[103]!==Ae||n[104]!==I||n[105]!==a||n[106]!==ne||n[107]!==r||n[108]!==C?(tt=C?(0,m.jsx)(ye,{open:r,onClose:a,onOpen:ne,srLabel:se,onContentAnimationEnd:Ae,children:I?Ie:ue}):null,n[100]=ue,n[101]=se,n[102]=Ie,n[103]=Ae,n[104]=I,n[105]=a,n[106]=ne,n[107]=r,n[108]=C,n[109]=tt):tt=n[109];let nt;return n[110]!==$||n[111]!==tt?(nt=(0,m.jsxs)(m.Fragment,{children:[$,tt]}),n[110]=$,n[111]=tt,n[112]=nt):nt=n[112],nt}function we(){return!1}export{Ce as t};
|
|
Binary file
|
|
Binary file
|
package/app/dist/assets/{ServerMoveOverlayView-CPWZimVv.js → ServerMoveOverlayView-DxwZdF-Z.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,mi as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{Qm as i,nh as a,oh as o,x as s}from"./index-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,mi as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{Qm as i,nh as a,oh as o,x as s}from"./index-B-RDC4LU.js";var c=t(),l=e(n(),1),u=e(r(),1),d={pending:{icon:`Circle`,iconClassName:`text-subtle-foreground/60`,label:`Waiting`},running:{icon:`Spinner`,iconClassName:`animate-spin text-foreground`,label:`In progress`},done:{icon:`CircleCheck`,iconClassName:`text-foreground`,label:`Done`},failed:{icon:`CircleX`,iconClassName:`text-destructive-text`,label:`Failed`},skipped:{icon:`Circle`,iconClassName:`text-subtle-foreground/40`,label:`Skipped`}};function f(e){let t=(0,c.c)(43),{content:n,cancelPending:r,cancelError:i,onCancel:a,onClose:s,presentation:d}=e,f=d===void 0?`overlay`:d,h=(0,l.useId)(),g=(0,l.useId)(),{move:x}=n,S=n.kind===`ended`&&x.state===`failed`,C;t[0]===n?C=t[1]:(C=y(n),t[0]=n,t[1]=C);let w=C,T;t[2]===n?T=t[3]:(T=_(n),t[2]=n,t[3]=T);let E;t[4]!==T||t[5]!==h?(E=(0,u.jsx)(`h2`,{id:h,className:`text-base leading-tight font-semibold tracking-tight text-foreground`,children:T}),t[4]=T,t[5]=h,t[6]=E):E=t[6];let D=S?`text-destructive-text`:`text-muted-foreground`,O;t[7]===D?O=t[8]:(O=o(`text-sm break-words`,D),t[7]=D,t[8]=O);let k;t[9]===n?k=t[10]:(k=v(n),t[9]=n,t[10]=k);let A;t[11]!==g||t[12]!==O||t[13]!==k?(A=(0,u.jsx)(`p`,{id:g,className:O,children:k}),t[11]=g,t[12]=O,t[13]=k,t[14]=A):A=t[14];let j;t[15]===w?j=t[16]:(j=w===null?null:(0,u.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:w}),t[15]=w,t[16]=j);let M;t[17]!==E||t[18]!==A||t[19]!==j?(M=(0,u.jsxs)(`div`,{className:`space-y-1.5`,children:[E,A,j]}),t[17]=E,t[18]=A,t[19]=j,t[20]=M):M=t[20];let N;t[21]!==x.steps||t[22]!==x.targetHostName?(N=x.steps.length===0?null:(0,u.jsx)(b,{steps:x.steps,targetHostName:x.targetHostName}),t[21]=x.steps,t[22]=x.targetHostName,t[23]=N):N=t[23];let P;t[24]===i?P=t[25]:(P=i===null?null:(0,u.jsx)(`p`,{role:`alert`,className:`text-sm text-destructive-text`,children:i}),t[24]=i,t[25]=P);let F;t[26]!==r||t[27]!==n||t[28]!==a||t[29]!==s?(F=(0,u.jsx)(m,{content:n,cancelPending:r,onCancel:a,onClose:s}),t[26]=r,t[27]=n,t[28]=a,t[29]=s,t[30]=F):F=t[30];let I;t[31]!==M||t[32]!==N||t[33]!==P||t[34]!==F?(I=(0,u.jsxs)(`div`,{className:`grid w-full max-w-md grid-cols-[minmax(0,1fr)] gap-4 rounded-lg border border-border bg-background p-6 shadow-lg`,children:[M,N,P,F]}),t[31]=M,t[32]=N,t[33]=P,t[34]=F,t[35]=I):I=t[35];let L=I;if(f===`inline`){let e;return t[36]!==L||t[37]!==h?(e=(0,u.jsx)(`div`,{role:`group`,"aria-labelledby":h,className:`w-full max-w-md`,children:L}),t[36]=L,t[37]=h,t[38]=e):e=t[38],e}let R;return t[39]!==L||t[40]!==g||t[41]!==h?(R=(0,u.jsx)(p,{titleId:h,descriptionId:g,children:L}),t[39]=L,t[40]=g,t[41]=h,t[42]=R):R=t[42],R}function p(e){let t=(0,c.c)(6),{titleId:n,descriptionId:r,children:i}=e,a=(0,l.useRef)(null),o,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=()=>{a.current?.focus({preventScroll:!0})},s=[],t[0]=o,t[1]=s):(o=t[0],s=t[1]),(0,l.useEffect)(o,s);let d;return t[2]!==i||t[3]!==r||t[4]!==n?(d=(0,u.jsx)(`div`,{ref:a,role:`dialog`,"aria-modal":`true`,"aria-labelledby":n,"aria-describedby":r,tabIndex:-1,"data-server-move-overlay":!0,className:`fixed inset-0 z-60 flex items-center justify-center overflow-y-auto bg-surface-scrim p-4 outline-none`,children:i}),t[2]=i,t[3]=r,t[4]=n,t[5]=d):d=t[5],d}function m(e){let t=(0,c.c)(12),{content:n,cancelPending:r,onCancel:i,onClose:o}=e;if(n.kind===`progress`){if(!n.move.cancellable)return null;let e=r?`Cancelling…`:`Cancel move`,o;return t[0]!==r||t[1]!==i||t[2]!==e?(o=(0,u.jsx)(`div`,{className:`flex justify-end`,children:(0,u.jsx)(a,{type:`button`,variant:`outline`,disabled:r,onClick:i,children:e})}),t[0]=r,t[1]=i,t[2]=e,t[3]=o):o=t[3],o}if(n.kind===`recovery`){let e;return t[4]!==r||t[5]!==n.move.targetHostName||t[6]!==i?(e=(0,u.jsx)(h,{targetHostName:n.move.targetHostName,cancelPending:r,onAbandon:i}),t[4]=r,t[5]=n.move.targetHostName,t[6]=i,t[7]=e):e=t[7],e}if(n.kind===`redirecting`){let e;return t[8]===n.destination?e=t[9]:(e=(0,u.jsx)(`div`,{className:`flex justify-end`,children:(0,u.jsx)(a,{asChild:!0,variant:`outline`,children:(0,u.jsx)(`a`,{href:n.destination,children:`Open the new address`})})}),t[8]=n.destination,t[9]=e),e}if(n.kind===`reconnecting`||n.kind===`waiting`)return null;let s;return t[10]===o?s=t[11]:(s=(0,u.jsx)(`div`,{className:`flex justify-end`,children:(0,u.jsx)(a,{type:`button`,onClick:o,children:`Close`})}),t[10]=o,t[11]=s),s}function h(e){let t=(0,c.c)(16),{targetHostName:n,cancelPending:r,onAbandon:i}=e,[o,s]=(0,l.useState)(!1);if(!o){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,u.jsx)(`div`,{className:`flex justify-end`,children:(0,u.jsx)(a,{type:`button`,variant:`outline`,onClick:()=>s(!0),children:`Abandon move…`})}),t[0]=e):e=t[0],e}let d=`Abandon only if ${n} isn't running the server. If it already took over, two servers will run with the same data.`,f;t[1]===d?f=t[2]:(f=(0,u.jsx)(`p`,{className:`text-sm text-destructive-text`,children:d}),t[1]=d,t[2]=f);let p;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=()=>s(!1),t[3]=p):p=t[3];let m;t[4]===r?m=t[5]:(m=(0,u.jsx)(a,{type:`button`,variant:`outline`,disabled:r,onClick:p,children:`Keep waiting`}),t[4]=r,t[5]=m);let h=r?`Abandoning…`:`Abandon move`,g;t[6]!==r||t[7]!==i||t[8]!==h?(g=(0,u.jsx)(a,{type:`button`,variant:`destructive`,disabled:r,onClick:i,children:h}),t[6]=r,t[7]=i,t[8]=h,t[9]=g):g=t[9];let _;t[10]!==m||t[11]!==g?(_=(0,u.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[m,g]}),t[10]=m,t[11]=g,t[12]=_):_=t[12];let v;return t[13]!==f||t[14]!==_?(v=(0,u.jsxs)(`div`,{className:`space-y-3`,children:[f,_]}),t[13]=f,t[14]=_,t[15]=v):v=t[15],v}function g(e){return e.state===`cancelled`&&e.error?.step===`switch`}function _(e){let t=e.move.targetHostName;switch(e.kind){case`progress`:return`Moving server to ${t}`;case`recovery`:return`Couldn't confirm the switch to ${t}`;case`waiting`:return`Starting the server on ${t}…`;case`redirecting`:return`Server moved to ${t}`;case`reconnecting`:return`Reconnecting to ${t}…`;case`ended`:return g(e.move)?`Server move abandoned`:e.move.state===`cancelled`?`Server move cancelled`:`Couldn't move the server to ${t}`;case`abandoned`:return`Server move stopped`}}function v(e){let t=e.move.targetHostName;switch(e.kind){case`progress`:return e.move.state===`switching`?`Every machine and app is switching over to ${t}. The move can't be cancelled now.`:`bb is copying the server to ${t}.`;case`recovery`:return`${t} didn't confirm that it took over, so this server stays up but read-only. bb keeps checking and finishes the move as soon as ${t} answers.`;case`waiting`:return e.destinationState===`activating`?`${t} is switching over to the new server. This page opens it as soon as it's ready.`:`The server on ${t} is starting. This page opens ${e.move.serverUrl} as soon as it answers.`;case`redirecting`:return`Opening the server at ${e.move.serverUrl}…`;case`reconnecting`:return`The server on ${t} is starting. This page reconnects as soon as it answers.`;case`ended`:return g(e.move)?`The server keeps running here. If ${t} took over anyway, stop the server there.`:e.move.state===`cancelled`?`The server keeps running where it was.`:e.move.error?.message??`The move stopped before it finished.`;case`abandoned`:return`The server restarted before the move to ${t} finished, so nothing switched over.`}}function y(e){return e.kind===`recovery`?`If ${e.move.targetHostName} isn't running the server, abandon the move to keep the server here. If this server stops, run bb server unlock on this computer.`:e.kind===`ended`&&e.move.state===`failed`&&e.move.error?.step!==`switch`?`The server keeps running where it was.`:null}function b(e){let t=(0,c.c)(7),{steps:n,targetHostName:r}=e,a;if(t[0]!==n||t[1]!==r){let e;t[3]===r?e=t[4]:(e=e=>{let t=d[e.status];return(0,u.jsxs)(`li`,{"data-step":e.id,"data-status":e.status,className:`flex items-start gap-2.5`,children:[(0,u.jsx)(i,{name:t.icon,"aria-hidden":!0,className:o(`mt-0.5 size-4 shrink-0`,t.iconClassName)}),(0,u.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,u.jsxs)(`p`,{className:o(`text-sm`,e.status===`failed`?`text-destructive-text`:e.status===`pending`||e.status===`skipped`?`text-muted-foreground`:`text-foreground`),children:[(0,u.jsx)(`span`,{children:s(e.id,r)}),(0,u.jsx)(`span`,{className:`sr-only`,children:`, ${t.label}`})]}),e.status===`skipped`?(0,u.jsx)(`p`,{className:`text-xs text-subtle-foreground`,children:`Skipped`}):e.message===null?null:(0,u.jsx)(`p`,{className:`text-xs break-words text-subtle-foreground`,children:e.message})]})]},e.id)},t[3]=r,t[4]=e),a=n.map(e),t[0]=n,t[1]=r,t[2]=a}else a=t[2];let l;return t[5]===a?l=t[6]:(l=(0,u.jsx)(`ol`,{className:`space-y-2`,"aria-label":`Move steps`,children:a}),t[5]=a,t[6]=l),l}export{f as ServerMoveOverlayView};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Lr as t,Or as n,Qr as r,mi as i,ni as a,zr as o}from"./boot-vendor-BBLG7GwQ.js";import{Cp as s,G as c,Gf as l,Jd as u,K as d,Kf as f,Kp as p,Mf as m,Po as h,Qd as g,Qm as _,Rf as v,Sg as y,U as b,W as x,Wd as S,Wl as C,bg as w,ff as ee,gh as T,gt as E,in as D,ko as O,lo as k,nh as A,nn as j,oh as M,pi as N,q as P,rn as F}from"./index-BBxUiLNy.js";import{n as I}from"./settings-sections-Cq0VX9E8.js";import{n as L}from"./settings-nav-DbICcozy.js";import{t as R}from"./shortcut-pill-DldxrKgx.js";import{a as te,n as ne,r as re,t as z}from"./localhost-link-rewrite-description-Bovg3W--.js";var B=e(i(),1),V=n();function H(e){let t=(0,V.c)(12),{enabled:n,pluginEntries:i}=e,a,o,s;if(t[0]!==n||t[1]!==i){a=i.filter(G).map(W),s=r;let e;t[5]===n?e=t[6]:(e=e=>({...T(e),enabled:n}),t[5]=n,t[6]=e),o=a.map(e),t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s}else a=t[2],o=t[3],s=t[4];let c;t[7]===a?c=t[8]:(c=e=>({entries:e.flatMap((e,t)=>{let n=a[t];return n===void 0?[]:Object.entries(e.data?.schema??{}).map(e=>{let[t,r]=e;return{description:r.description??null,key:t,label:r.label,pluginId:n}})}),isLoading:e.some(U)}),t[7]=a,t[8]=c);let l;return t[9]!==o||t[10]!==c?(l={queries:o,combine:c},t[9]=o,t[10]=c,t[11]=l):l=t[11],s(l)}function U(e){return e.isLoading}function W(e){return e.id}function G(e){return e.hasSettingsForm}function K(){let e=(0,V.c)(41),{composers:t,diffRenderers:n,experimentalSidebarNavigations:r,fileOpeners:i,sourceCodeRenderers:a,threadLists:o,homes:c}=s(),{accessState:l}=N(),u=O().data?.supported??!1,d=h().data?.performanceDiagnosticsAvailable??!1,[f]=(0,B.useState)(ee),[p]=(0,B.useState)(Y),m;e[0]===i?m=e[1]:(m=i.some(J),e[0]=i,e[1]=m);let g=m,_=t.length>0,v=n.length>0,y=a.length>0,b=o.length>0,x=c.length>0,S=r.length>0,C=l!==`unavailable`,w;e[2]===u?w=e[3]:(w=[`cliCommand`,u],e[2]=u,e[3]=w);let T;e[4]===_?T=e[5]:(T=[`composers`,_],e[4]=_,e[5]=T);let E;e[6]===f?E=e[7]:(E=[`desktopBrowser`,f],e[6]=f,e[7]=E);let D;e[8]===v?D=e[9]:(D=[`diffRenderers`,v],e[8]=v,e[9]=D);let k;e[10]===g?k=e[11]:(k=[`fileOpeners`,g],e[10]=g,e[11]=k);let A;e[12]===C?A=e[13]:(A=[`filePreferences`,C],e[12]=C,e[13]=A);let j;e[14]===p?j=e[15]:(j=[`localhostLinkRewrite`,p],e[14]=p,e[15]=j);let M;e[16]===d?M=e[17]:(M=[`performanceDiagnostics`,d],e[16]=d,e[17]=M);let P;e[18]===S?P=e[19]:(P=[`sidebarNavigations`,S],e[18]=S,e[19]=P);let F;e[20]===y?F=e[21]:(F=[`sourceCodeRenderers`,y],e[20]=y,e[21]=F);let I;e[22]===b?I=e[23]:(I=[`threadLists`,b],e[22]=b,e[23]=I);let L;e[24]===x?L=e[25]:(L=[`homes`,x],e[24]=x,e[25]=L);let R;e[26]!==w||e[27]!==F||e[28]!==I||e[29]!==L||e[30]!==T||e[31]!==E||e[32]!==D||e[33]!==k||e[34]!==A||e[35]!==j||e[36]!==M||e[37]!==P?(R=[w,T,E,D,k,A,j,M,P,F,I,L],e[26]=w,e[27]=F,e[28]=I,e[29]=L,e[30]=T,e[31]=E,e[32]=D,e[33]=k,e[34]=A,e[35]=j,e[36]=M,e[37]=P,e[38]=R):R=e[38];let te=R,ne;return e[39]===te?ne=e[40]:(ne=new Set(te.flatMap(q)),e[39]=te,e[40]=ne),ne}function q(e){let[t,n]=e;return n?[t]:[]}function J(e){return e.extensions.length>0}function Y(){return z(typeof window>`u`?void 0:window.location.hostname)!==null}var X=e(a(),1),ie={label:`/`},ae=`[role="dialog"], [role="menu"], [role="listbox"]`;function oe(e){let t=(0,V.c)(6),{isCompactViewport:n,open:r,setOpen:i}=u(),a,o;t[0]!==e||t[1]!==n||t[2]!==r||t[3]!==i?(a=()=>{let t=t=>{if(!(t.key!==`/`||n||t.defaultPrevented||t.isComposing||t.metaKey||t.ctrlKey||t.altKey||k(t.target)||t.target instanceof HTMLElement&&t.target.closest(ae)!==null)){if(t.preventDefault(),r){e.current?.focus();return}i(!0),window.requestAnimationFrame(()=>e.current?.focus())}};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},o=[e,n,r,i],t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o):(a=t[4],o=t[5]),(0,B.useEffect)(a,o)}function se(e){let t=(0,V.c)(22),{activeOptionId:n,inputRef:r,listboxId:i,onClear:a,onFocus:o,onKeyDown:s,onQueryChange:c,query:u}=e,d=E(),p;t[0]===d?p=t[1]:(p=M(j,D,l,g,`min-w-0 flex-1 cursor-text pr-1 text-muted-foreground hover:bg-sidebar-accent focus-within:bg-sidebar-accent`,d),t[0]=d,t[1]=p);let h;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(_,{name:`Search`,"aria-hidden":!0,className:M(`shrink-0`,v)}),t[2]=h):h=t[2];let y;t[3]===c?y=t[4]:(y=e=>c(e.target.value),t[3]=c,t[4]=y);let b=i!==void 0,x;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(x=M(f,`min-w-0 flex-1 bg-transparent text-sidebar-foreground outline-none placeholder:text-muted-foreground`),t[5]=x):x=t[5];let S;t[6]!==n||t[7]!==r||t[8]!==i||t[9]!==o||t[10]!==s||t[11]!==u||t[12]!==y||t[13]!==b?(S=(0,X.jsx)(`input`,{ref:r,type:`text`,autoComplete:`off`,spellCheck:!1,value:u,onChange:y,onFocus:o,onKeyDown:s,placeholder:`Search`,"aria-label":`Search settings`,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":b,"aria-controls":i,"aria-activedescendant":n,className:x}),t[6]=n,t[7]=r,t[8]=i,t[9]=o,t[10]=s,t[11]=u,t[12]=y,t[13]=b,t[14]=S):S=t[14];let C;t[15]!==a||t[16]!==u.length?(C=u.length>0?(0,X.jsx)(A,{type:`button`,variant:`ghost`,size:`icon`,className:M(m,`h-6 w-6 shrink-0 text-muted-foreground hover:text-sidebar-foreground`),"aria-label":`Clear settings search`,onClick:a,children:(0,X.jsx)(_,{name:`X`,"aria-hidden":!0})}):(0,X.jsx)(R,{shortcut:ie,className:`mr-1 max-md:pointer-coarse:hidden`}),t[15]=a,t[16]=u.length,t[17]=C):C=t[17];let w;return t[18]!==p||t[19]!==S||t[20]!==C?(w=(0,X.jsxs)(`label`,{className:p,children:[h,S,C]}),t[18]=p,t[19]=S,t[20]=C,t[21]=w):w=t[21],w}function ce(e){let t=(0,V.c)(5),{item:n}=e,r;return t[0]!==n.icon.icon||t[1]!==n.icon.kind||t[2]!==n.icon.name||t[3]!==n.icon.pluginId?(r=n.icon.kind===`section`?(0,X.jsx)(c,{name:n.icon.name}):(0,X.jsx)(C,{pluginId:n.icon.pluginId,icon:n.icon.icon,className:`size-4 shrink-0`}),t[0]=n.icon.icon,t[1]=n.icon.kind,t[2]=n.icon.name,t[3]=n.icon.pluginId,t[4]=r):r=t[4],r}function le(e,t){return`${e}-option-${t}`}function ue(e){let t=(0,V.c)(15),{activeIndex:n,isLoading:r,listboxId:i,onActiveIndexChange:a,onOpen:o,results:s}=e;if(s.length===0){if(r)return null;let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,X.jsx)(`p`,{role:`status`,className:`px-2 py-6 text-center text-xs text-subtle-foreground`,children:`No settings found`}),t[0]=e):e=t[0],e}let c;if(t[1]!==n||t[2]!==i||t[3]!==a||t[4]!==o||t[5]!==s){let e;t[7]!==n||t[8]!==i||t[9]!==a||t[10]!==o?(e=(e,t)=>(0,X.jsxs)(A,{id:le(i,t),type:`button`,role:`option`,"aria-selected":t===n,tabIndex:-1,size:`sm`,variant:`ghost`,className:M(j,D,F,`h-auto min-w-0 items-start justify-start overflow-hidden py-1.5 font-normal max-md:pointer-coarse:[&_[data-icon-root]]:size-5`,t===n&&`bg-sidebar-accent text-sidebar-foreground`),onPointerMove:()=>a(t),onClick:()=>o(e),children:[(0,X.jsx)(`span`,{className:`flex h-5 shrink-0 items-center`,children:(0,X.jsx)(ce,{item:e})}),(0,X.jsxs)(`span`,{className:`min-w-0 flex-1 text-left`,children:[(0,X.jsx)(`span`,{className:`block truncate leading-5`,children:e.title}),e.context===null?null:(0,X.jsx)(`span`,{className:`block truncate text-xs text-subtle-foreground`,children:e.context})]})]},e.id),t[7]=n,t[8]=i,t[9]=a,t[10]=o,t[11]=e):e=t[11],c=s.map(e),t[1]=n,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c}else c=t[6];let l;return t[12]!==i||t[13]!==c?(l=(0,X.jsx)(`div`,{id:i,role:`listbox`,"aria-label":`Settings search results`,className:`mt-1 space-y-0.5`,children:c}),t[12]=i,t[13]=c,t[14]=l):l=t[14],l}function de(e){let n=(0,V.c)(56),{backTo:r,onResizeMouseDown:i,isResizing:a,navigation:s,pluginSettingSearch:l,searchConditions:u,testIdPrefix:f}=e,m=f===void 0?`settings`:f,{activePluginId:h,activeSection:g,pluginEntries:_,sections:v}=s,y=_.length>0,ee=o(),{pathname:T}=t(),E=S(),D=(0,B.useRef)(null),O=(0,B.useId)(),[k,A]=(0,B.useState)(``),[j,M]=(0,B.useState)(0),N;n[0]!==_||n[1]!==l.entries||n[2]!==u||n[3]!==v?(N=re({conditions:u,pluginEntries:_,pluginSettings:l.entries,sections:v}),n[0]=_,n[1]=l.entries,n[2]=u,n[3]=v,n[4]=N):N=n[4];let F=N,L;n[5]!==k||n[6]!==F?(L=te(k,F),n[5]=k,n[6]=F,n[7]=L):L=n[7];let R=L,z;n[8]===k?z=n[9]:(z=k.trim(),n[8]=k,n[9]=z);let H=z.length>0,U=Math.min(j,R.length-1);oe(D);let W;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(W=e=>{A(e),M(0)},n[10]=W):W=n[10];let G=W,K;n[11]!==E||n[12]!==ee||n[13]!==T?(K=e=>{G(``),E(),ee(e.to,{replace:T===e.to,state:e.anchor===null?null:{[ne]:e.anchor}})},n[11]=E,n[12]=ee,n[13]=T,n[14]=K):K=n[14];let q=K,J;n[15]!==U||n[16]!==R.length||n[17]!==O?(J=e=>{let t=(U+e+R.length)%R.length;M(t),document.getElementById(le(O,t))?.scrollIntoView({block:`nearest`})},n[15]=U,n[16]=R.length,n[17]=O,n[18]=J):J=n[18];let Y=J,ie;n[19]!==U||n[20]!==Y||n[21]!==q||n[22]!==k.length||n[23]!==R?(ie=e=>{if(e.nativeEvent.isComposing)return;if(e.key===`Escape`){if(k.length===0)return;e.preventDefault(),e.stopPropagation(),G(``);return}let t=R[U];t!==void 0&&(e.key===`ArrowDown`?(e.preventDefault(),Y(1)):e.key===`ArrowUp`?(e.preventDefault(),Y(-1)):e.key===`Enter`&&(e.preventDefault(),q(t)))},n[19]=U,n[20]=Y,n[21]=q,n[22]=k.length,n[23]=R,n[24]=ie):ie=n[24];let ae=ie,ce;n[25]===Symbol.for(`react.memo_cache_sentinel`)?(ce=()=>{G(``),D.current?.focus()},n[25]=ce):ce=n[25];let de=H&&R.length>0?O:void 0,Z;n[26]!==U||n[27]!==H||n[28]!==R.length||n[29]!==O?(Z=H&&R.length>0?le(O,U):void 0,n[26]=U,n[27]=H,n[28]=R.length,n[29]=O,n[30]=Z):Z=n[30];let Q;n[31]!==ae||n[32]!==l.onActivate||n[33]!==k||n[34]!==de||n[35]!==Z?(Q=(0,X.jsx)(se,{inputRef:D,query:k,onQueryChange:G,onFocus:l.onActivate,onKeyDown:ae,onClear:ce,listboxId:de,activeOptionId:Z}),n[31]=ae,n[32]=l.onActivate,n[33]=k,n[34]=de,n[35]=Z,n[36]=Q):Q=n[36];let $;n[37]!==U||n[38]!==h||n[39]!==g||n[40]!==y||n[41]!==H||n[42]!==q||n[43]!==_||n[44]!==l.isLoading||n[45]!==R||n[46]!==O||n[47]!==v?($=H?(0,X.jsx)(ue,{activeIndex:U,isLoading:l.isLoading,listboxId:O,onActiveIndexChange:M,onOpen:q,results:R}):(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:v.filter(he).map(e=>(0,X.jsx)(P,{active:g===e.id,label:e.label,to:I(e.id),children:(0,X.jsx)(c,{name:e.icon})},e.id))}),y?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(d,{children:`Plugins`})}),(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:_.map(e=>(0,X.jsx)(P,{active:h===e.id,label:e.label,to:p({pluginId:e.id}),children:(0,X.jsx)(C,{pluginId:e.id,icon:e.icon,className:`size-4 shrink-0`})},e.id))})]}):null,w()?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(d,{children:`This phone`})}),(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:(0,X.jsx)(x,{label:`This device`,testId:`settings-nav-native-device`,onClick:me,children:(0,X.jsx)(c,{name:`Smartphone`})})})]}):null,v.some(pe)?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(d,{children:`Archived`})}),(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:v.filter(fe).map(e=>(0,X.jsx)(P,{active:g===e.id,label:e.label,to:I(e.id),children:(0,X.jsx)(c,{name:e.icon})},e.id))})]}):null]}),n[37]=U,n[38]=h,n[39]=g,n[40]=y,n[41]=H,n[42]=q,n[43]=_,n[44]=l.isLoading,n[45]=R,n[46]=O,n[47]=v,n[48]=$):$=n[48];let ge;return n[49]!==r||n[50]!==a||n[51]!==i||n[52]!==Q||n[53]!==$||n[54]!==m?(ge=(0,X.jsx)(b,{backTo:r,title:`Settings`,isResizing:a,onResizeMouseDown:i,testIdPrefix:m,headerSlot:Q,children:$}),n[49]=r,n[50]=a,n[51]=i,n[52]=Q,n[53]=$,n[54]=m,n[55]=ge):ge=n[55],ge}function fe(e){return e.id===`archived`}function pe(e){return e.id===`archived`}function me(){return y(`device-settings`)}function he(e){return e.id!==`archived`}function Z(e){let t=(0,V.c)(14),{backTo:n,onResizeMouseDown:r,isResizing:i}=e,a=L(),o=K(),[s,c]=(0,B.useState)(!1),l;t[0]!==a.pluginEntries||t[1]!==s?(l={enabled:s,pluginEntries:a.pluginEntries},t[0]=a.pluginEntries,t[1]=s,t[2]=l):l=t[2];let u=H(l),d;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>c(!0),t[3]=d):d=t[3];let f;t[4]!==u.entries||t[5]!==u.isLoading?(f={entries:u.entries,isLoading:u.isLoading,onActivate:d},t[4]=u.entries,t[5]=u.isLoading,t[6]=f):f=t[6];let p;return t[7]!==n||t[8]!==i||t[9]!==a||t[10]!==r||t[11]!==o||t[12]!==f?(p=(0,X.jsx)(de,{backTo:n,isResizing:i,navigation:a,onResizeMouseDown:r,pluginSettingSearch:f,searchConditions:o}),t[7]=n,t[8]=i,t[9]=a,t[10]=r,t[11]=o,t[12]=f,t[13]=p):p=t[13],p}export{Z as SettingsSidebar};
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Lr as t,Or as n,Qr as r,mi as i,ni as a,zr as o}from"./boot-vendor-BBLG7GwQ.js";import{Cp as s,G as c,Gf as l,Jd as u,K as d,Kf as f,Kp as p,Mf as m,Po as h,Qd as g,Qm as _,Rf as v,Sg as y,U as b,W as x,Wd as S,Wl as C,bg as w,ff as ee,gh as T,gt as E,in as D,ko as O,lo as k,nh as A,nn as j,oh as M,pi as N,q as P,rn as F}from"./index-B-RDC4LU.js";import{n as I}from"./settings-sections-LqqPm8q3.js";import{n as L}from"./settings-nav-BKMVpc5b.js";import{t as R}from"./shortcut-pill-DOMeVrnR.js";import{a as te,n as ne,r as re,t as z}from"./localhost-link-rewrite-description-DfPXtfPs.js";var B=e(i(),1),V=n();function H(e){let t=(0,V.c)(12),{enabled:n,pluginEntries:i}=e,a,o,s;if(t[0]!==n||t[1]!==i){a=i.filter(G).map(W),s=r;let e;t[5]===n?e=t[6]:(e=e=>({...T(e),enabled:n}),t[5]=n,t[6]=e),o=a.map(e),t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s}else a=t[2],o=t[3],s=t[4];let c;t[7]===a?c=t[8]:(c=e=>({entries:e.flatMap((e,t)=>{let n=a[t];return n===void 0?[]:Object.entries(e.data?.schema??{}).map(e=>{let[t,r]=e;return{description:r.description??null,key:t,label:r.label,pluginId:n}})}),isLoading:e.some(U)}),t[7]=a,t[8]=c);let l;return t[9]!==o||t[10]!==c?(l={queries:o,combine:c},t[9]=o,t[10]=c,t[11]=l):l=t[11],s(l)}function U(e){return e.isLoading}function W(e){return e.id}function G(e){return e.hasSettingsForm}function K(){let e=(0,V.c)(41),{composers:t,diffRenderers:n,experimentalSidebarNavigations:r,fileOpeners:i,sourceCodeRenderers:a,threadLists:o,homes:c}=s(),{accessState:l}=N(),u=O().data?.supported??!1,d=h().data?.performanceDiagnosticsAvailable??!1,[f]=(0,B.useState)(ee),[p]=(0,B.useState)(Y),m;e[0]===i?m=e[1]:(m=i.some(J),e[0]=i,e[1]=m);let g=m,_=t.length>0,v=n.length>0,y=a.length>0,b=o.length>0,x=c.length>0,S=r.length>0,C=l!==`unavailable`,w;e[2]===u?w=e[3]:(w=[`cliCommand`,u],e[2]=u,e[3]=w);let T;e[4]===_?T=e[5]:(T=[`composers`,_],e[4]=_,e[5]=T);let E;e[6]===f?E=e[7]:(E=[`desktopBrowser`,f],e[6]=f,e[7]=E);let D;e[8]===v?D=e[9]:(D=[`diffRenderers`,v],e[8]=v,e[9]=D);let k;e[10]===g?k=e[11]:(k=[`fileOpeners`,g],e[10]=g,e[11]=k);let A;e[12]===C?A=e[13]:(A=[`filePreferences`,C],e[12]=C,e[13]=A);let j;e[14]===p?j=e[15]:(j=[`localhostLinkRewrite`,p],e[14]=p,e[15]=j);let M;e[16]===d?M=e[17]:(M=[`performanceDiagnostics`,d],e[16]=d,e[17]=M);let P;e[18]===S?P=e[19]:(P=[`sidebarNavigations`,S],e[18]=S,e[19]=P);let F;e[20]===y?F=e[21]:(F=[`sourceCodeRenderers`,y],e[20]=y,e[21]=F);let I;e[22]===b?I=e[23]:(I=[`threadLists`,b],e[22]=b,e[23]=I);let L;e[24]===x?L=e[25]:(L=[`homes`,x],e[24]=x,e[25]=L);let R;e[26]!==w||e[27]!==F||e[28]!==I||e[29]!==L||e[30]!==T||e[31]!==E||e[32]!==D||e[33]!==k||e[34]!==A||e[35]!==j||e[36]!==M||e[37]!==P?(R=[w,T,E,D,k,A,j,M,P,F,I,L],e[26]=w,e[27]=F,e[28]=I,e[29]=L,e[30]=T,e[31]=E,e[32]=D,e[33]=k,e[34]=A,e[35]=j,e[36]=M,e[37]=P,e[38]=R):R=e[38];let te=R,ne;return e[39]===te?ne=e[40]:(ne=new Set(te.flatMap(q)),e[39]=te,e[40]=ne),ne}function q(e){let[t,n]=e;return n?[t]:[]}function J(e){return e.extensions.length>0}function Y(){return z(typeof window>`u`?void 0:window.location.hostname)!==null}var X=e(a(),1),ie={label:`/`},ae=`[role="dialog"], [role="menu"], [role="listbox"]`;function oe(e){let t=(0,V.c)(6),{isCompactViewport:n,open:r,setOpen:i}=u(),a,o;t[0]!==e||t[1]!==n||t[2]!==r||t[3]!==i?(a=()=>{let t=t=>{if(!(t.key!==`/`||n||t.defaultPrevented||t.isComposing||t.metaKey||t.ctrlKey||t.altKey||k(t.target)||t.target instanceof HTMLElement&&t.target.closest(ae)!==null)){if(t.preventDefault(),r){e.current?.focus();return}i(!0),window.requestAnimationFrame(()=>e.current?.focus())}};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},o=[e,n,r,i],t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o):(a=t[4],o=t[5]),(0,B.useEffect)(a,o)}function se(e){let t=(0,V.c)(22),{activeOptionId:n,inputRef:r,listboxId:i,onClear:a,onFocus:o,onKeyDown:s,onQueryChange:c,query:u}=e,d=E(),p;t[0]===d?p=t[1]:(p=M(j,D,l,g,`min-w-0 flex-1 cursor-text pr-1 text-muted-foreground hover:bg-sidebar-accent focus-within:bg-sidebar-accent`,d),t[0]=d,t[1]=p);let h;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(_,{name:`Search`,"aria-hidden":!0,className:M(`shrink-0`,v)}),t[2]=h):h=t[2];let y;t[3]===c?y=t[4]:(y=e=>c(e.target.value),t[3]=c,t[4]=y);let b=i!==void 0,x;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(x=M(f,`min-w-0 flex-1 bg-transparent text-sidebar-foreground outline-none placeholder:text-muted-foreground`),t[5]=x):x=t[5];let S;t[6]!==n||t[7]!==r||t[8]!==i||t[9]!==o||t[10]!==s||t[11]!==u||t[12]!==y||t[13]!==b?(S=(0,X.jsx)(`input`,{ref:r,type:`text`,autoComplete:`off`,spellCheck:!1,value:u,onChange:y,onFocus:o,onKeyDown:s,placeholder:`Search`,"aria-label":`Search settings`,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":b,"aria-controls":i,"aria-activedescendant":n,className:x}),t[6]=n,t[7]=r,t[8]=i,t[9]=o,t[10]=s,t[11]=u,t[12]=y,t[13]=b,t[14]=S):S=t[14];let C;t[15]!==a||t[16]!==u.length?(C=u.length>0?(0,X.jsx)(A,{type:`button`,variant:`ghost`,size:`icon`,className:M(m,`h-6 w-6 shrink-0 text-muted-foreground hover:text-sidebar-foreground`),"aria-label":`Clear settings search`,onClick:a,children:(0,X.jsx)(_,{name:`X`,"aria-hidden":!0})}):(0,X.jsx)(R,{shortcut:ie,className:`mr-1 max-md:pointer-coarse:hidden`}),t[15]=a,t[16]=u.length,t[17]=C):C=t[17];let w;return t[18]!==p||t[19]!==S||t[20]!==C?(w=(0,X.jsxs)(`label`,{className:p,children:[h,S,C]}),t[18]=p,t[19]=S,t[20]=C,t[21]=w):w=t[21],w}function ce(e){let t=(0,V.c)(5),{item:n}=e,r;return t[0]!==n.icon.icon||t[1]!==n.icon.kind||t[2]!==n.icon.name||t[3]!==n.icon.pluginId?(r=n.icon.kind===`section`?(0,X.jsx)(c,{name:n.icon.name}):(0,X.jsx)(C,{pluginId:n.icon.pluginId,icon:n.icon.icon,className:`size-4 shrink-0`}),t[0]=n.icon.icon,t[1]=n.icon.kind,t[2]=n.icon.name,t[3]=n.icon.pluginId,t[4]=r):r=t[4],r}function le(e,t){return`${e}-option-${t}`}function ue(e){let t=(0,V.c)(15),{activeIndex:n,isLoading:r,listboxId:i,onActiveIndexChange:a,onOpen:o,results:s}=e;if(s.length===0){if(r)return null;let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,X.jsx)(`p`,{role:`status`,className:`px-2 py-6 text-center text-xs text-subtle-foreground`,children:`No settings found`}),t[0]=e):e=t[0],e}let c;if(t[1]!==n||t[2]!==i||t[3]!==a||t[4]!==o||t[5]!==s){let e;t[7]!==n||t[8]!==i||t[9]!==a||t[10]!==o?(e=(e,t)=>(0,X.jsxs)(A,{id:le(i,t),type:`button`,role:`option`,"aria-selected":t===n,tabIndex:-1,size:`sm`,variant:`ghost`,className:M(j,D,F,`h-auto min-w-0 items-start justify-start overflow-hidden py-1.5 font-normal max-md:pointer-coarse:[&_[data-icon-root]]:size-5`,t===n&&`bg-sidebar-accent text-sidebar-foreground`),onPointerMove:()=>a(t),onClick:()=>o(e),children:[(0,X.jsx)(`span`,{className:`flex h-5 shrink-0 items-center`,children:(0,X.jsx)(ce,{item:e})}),(0,X.jsxs)(`span`,{className:`min-w-0 flex-1 text-left`,children:[(0,X.jsx)(`span`,{className:`block truncate leading-5`,children:e.title}),e.context===null?null:(0,X.jsx)(`span`,{className:`block truncate text-xs text-subtle-foreground`,children:e.context})]})]},e.id),t[7]=n,t[8]=i,t[9]=a,t[10]=o,t[11]=e):e=t[11],c=s.map(e),t[1]=n,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c}else c=t[6];let l;return t[12]!==i||t[13]!==c?(l=(0,X.jsx)(`div`,{id:i,role:`listbox`,"aria-label":`Settings search results`,className:`mt-1 space-y-0.5`,children:c}),t[12]=i,t[13]=c,t[14]=l):l=t[14],l}function de(e){let n=(0,V.c)(56),{backTo:r,onResizeMouseDown:i,isResizing:a,navigation:s,pluginSettingSearch:l,searchConditions:u,testIdPrefix:f}=e,m=f===void 0?`settings`:f,{activePluginId:h,activeSection:g,pluginEntries:_,sections:v}=s,y=_.length>0,ee=o(),{pathname:T}=t(),E=S(),D=(0,B.useRef)(null),O=(0,B.useId)(),[k,A]=(0,B.useState)(``),[j,M]=(0,B.useState)(0),N;n[0]!==_||n[1]!==l.entries||n[2]!==u||n[3]!==v?(N=re({conditions:u,pluginEntries:_,pluginSettings:l.entries,sections:v}),n[0]=_,n[1]=l.entries,n[2]=u,n[3]=v,n[4]=N):N=n[4];let F=N,L;n[5]!==k||n[6]!==F?(L=te(k,F),n[5]=k,n[6]=F,n[7]=L):L=n[7];let R=L,z;n[8]===k?z=n[9]:(z=k.trim(),n[8]=k,n[9]=z);let H=z.length>0,U=Math.min(j,R.length-1);oe(D);let W;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(W=e=>{A(e),M(0)},n[10]=W):W=n[10];let G=W,K;n[11]!==E||n[12]!==ee||n[13]!==T?(K=e=>{G(``),E(),ee(e.to,{replace:T===e.to,state:e.anchor===null?null:{[ne]:e.anchor}})},n[11]=E,n[12]=ee,n[13]=T,n[14]=K):K=n[14];let q=K,J;n[15]!==U||n[16]!==R.length||n[17]!==O?(J=e=>{let t=(U+e+R.length)%R.length;M(t),document.getElementById(le(O,t))?.scrollIntoView({block:`nearest`})},n[15]=U,n[16]=R.length,n[17]=O,n[18]=J):J=n[18];let Y=J,ie;n[19]!==U||n[20]!==Y||n[21]!==q||n[22]!==k.length||n[23]!==R?(ie=e=>{if(e.nativeEvent.isComposing)return;if(e.key===`Escape`){if(k.length===0)return;e.preventDefault(),e.stopPropagation(),G(``);return}let t=R[U];t!==void 0&&(e.key===`ArrowDown`?(e.preventDefault(),Y(1)):e.key===`ArrowUp`?(e.preventDefault(),Y(-1)):e.key===`Enter`&&(e.preventDefault(),q(t)))},n[19]=U,n[20]=Y,n[21]=q,n[22]=k.length,n[23]=R,n[24]=ie):ie=n[24];let ae=ie,ce;n[25]===Symbol.for(`react.memo_cache_sentinel`)?(ce=()=>{G(``),D.current?.focus()},n[25]=ce):ce=n[25];let de=H&&R.length>0?O:void 0,Z;n[26]!==U||n[27]!==H||n[28]!==R.length||n[29]!==O?(Z=H&&R.length>0?le(O,U):void 0,n[26]=U,n[27]=H,n[28]=R.length,n[29]=O,n[30]=Z):Z=n[30];let Q;n[31]!==ae||n[32]!==l.onActivate||n[33]!==k||n[34]!==de||n[35]!==Z?(Q=(0,X.jsx)(se,{inputRef:D,query:k,onQueryChange:G,onFocus:l.onActivate,onKeyDown:ae,onClear:ce,listboxId:de,activeOptionId:Z}),n[31]=ae,n[32]=l.onActivate,n[33]=k,n[34]=de,n[35]=Z,n[36]=Q):Q=n[36];let $;n[37]!==U||n[38]!==h||n[39]!==g||n[40]!==y||n[41]!==H||n[42]!==q||n[43]!==_||n[44]!==l.isLoading||n[45]!==R||n[46]!==O||n[47]!==v?($=H?(0,X.jsx)(ue,{activeIndex:U,isLoading:l.isLoading,listboxId:O,onActiveIndexChange:M,onOpen:q,results:R}):(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:v.filter(he).map(e=>(0,X.jsx)(P,{active:g===e.id,label:e.label,to:I(e.id),children:(0,X.jsx)(c,{name:e.icon})},e.id))}),y?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(d,{children:`Plugins`})}),(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:_.map(e=>(0,X.jsx)(P,{active:h===e.id,label:e.label,to:p({pluginId:e.id}),children:(0,X.jsx)(C,{pluginId:e.id,icon:e.icon,className:`size-4 shrink-0`})},e.id))})]}):null,w()?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(d,{children:`This phone`})}),(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:(0,X.jsx)(x,{label:`This device`,testId:`settings-nav-native-device`,onClick:me,children:(0,X.jsx)(c,{name:`Smartphone`})})})]}):null,v.some(pe)?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(d,{children:`Archived`})}),(0,X.jsx)(`div`,{className:`mt-1 space-y-0.5`,children:v.filter(fe).map(e=>(0,X.jsx)(P,{active:g===e.id,label:e.label,to:I(e.id),children:(0,X.jsx)(c,{name:e.icon})},e.id))})]}):null]}),n[37]=U,n[38]=h,n[39]=g,n[40]=y,n[41]=H,n[42]=q,n[43]=_,n[44]=l.isLoading,n[45]=R,n[46]=O,n[47]=v,n[48]=$):$=n[48];let ge;return n[49]!==r||n[50]!==a||n[51]!==i||n[52]!==Q||n[53]!==$||n[54]!==m?(ge=(0,X.jsx)(b,{backTo:r,title:`Settings`,isResizing:a,onResizeMouseDown:i,testIdPrefix:m,headerSlot:Q,children:$}),n[49]=r,n[50]=a,n[51]=i,n[52]=Q,n[53]=$,n[54]=m,n[55]=ge):ge=n[55],ge}function fe(e){return e.id===`archived`}function pe(e){return e.id===`archived`}function me(){return y(`device-settings`)}function he(e){return e.id!==`archived`}function Z(e){let t=(0,V.c)(14),{backTo:n,onResizeMouseDown:r,isResizing:i}=e,a=L(),o=K(),[s,c]=(0,B.useState)(!1),l;t[0]!==a.pluginEntries||t[1]!==s?(l={enabled:s,pluginEntries:a.pluginEntries},t[0]=a.pluginEntries,t[1]=s,t[2]=l):l=t[2];let u=H(l),d;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>c(!0),t[3]=d):d=t[3];let f;t[4]!==u.entries||t[5]!==u.isLoading?(f={entries:u.entries,isLoading:u.isLoading,onActivate:d},t[4]=u.entries,t[5]=u.isLoading,t[6]=f):f=t[6];let p;return t[7]!==n||t[8]!==i||t[9]!==a||t[10]!==r||t[11]!==o||t[12]!==f?(p=(0,X.jsx)(de,{backTo:n,isResizing:i,navigation:a,onResizeMouseDown:r,pluginSettingSearch:f,searchConditions:o}),t[7]=n,t[8]=i,t[9]=a,t[10]=r,t[11]=o,t[12]=f,t[13]=p):p=t[13],p}export{Z as SettingsSidebar};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ar as t,Br as n,Ir as r,Kr as i,Lr as a,Mr as o,Or as s,St as c,Xn as l,Zr as u,mi as d,ni as f,ti as p,zr as m}from"./boot-vendor-BBLG7GwQ.js";import{A as h}from"./environment-workspace-display-O1JRHfbV.js";import{t as g}from"./permission-mode-options-BrNWKCMS.js";import{$p as _,$t as v,A as y,Aa as b,Ao as x,At as S,B as C,Bo as w,Bp as T,Bt as E,C as D,C_ as O,Cf as k,Cp as A,Ct as j,Dn as M,Dr as N,Dt as P,E_ as F,Es as I,Et as L,Ft as R,G_ as z,H_ as B,Hp as V,Ht as H,I_ as U,Ii as W,Io as ee,It as te,J_ as G,Ji as K,Js as ne,Jt as re,K_ as ie,Ki as ae,Kt as oe,L as se,L_ as ce,Lr as le,Ls as ue,Lt as de,M as fe,Mt as pe,Na as me,No as he,Og as ge,Oo as _e,Ot as ve,P as ye,Po as be,Pt as xe,Qi as Se,Qm as q,Qo as Ce,R as we,Rf as Te,Rg as Ee,Rr as De,Rt as Oe,Ru as ke,Sa as Ae,Sf as je,Si as Me,So as Ne,Sp as Pe,Ta as Fe,Tc as Ie,Tf as Le,Tt as Re,U_ as ze,Ui as Be,V_ as Ve,Vi as He,W_ as Ue,Ws as We,X_ as Ge,Xi as Ke,Y_ as qe,Ya as Je,Yi as Ye,Ym as Xe,Z_ as Ze,Zo as Qe,Zs as $e,_ as et,_d as tt,ac as nt,am as rt,ao as it,bn as at,bt as ot,c as st,d as ct,df as lt,dn as ut,do as dt,ea as ft,em as pt,ep as mt,es as ht,f as gt,ff as _t,fi as vt,fn as yt,fo as bt,ft as xt,gd as St,gn as Ct,go as wt,gu as Tt,h as Et,hd as Dt,ho as Ot,ht as kt,ia as At,io as jt,is as Mt,j as Nt,jt as Pt,k as Ft,kg as It,ko as Lt,kt as Rt,l as zt,m as Bt,md as Vt,mo as Ht,nh as J,oh as Y,oo as Ut,p as Wt,ph as Gt,pi as Kt,po as qt,pr as Jt,q_ as Yt,qi as Xt,qt as Zt,rh as Qt,ro as $t,rs as en,ts as tn,u as nn,uf as rn,uo as an,w_ as on,wf as sn,wt as cn,xd as ln,xg as un,xn as dn,xr as fn,xt as pn,yn as mn,yt as hn,zo as gn,zt as _n}from"./index-BBxUiLNy.js";import{n as vn}from"./settings-nav-DbICcozy.js";import{B as yn,C as bn,I as xn,R as Sn,S as Cn,V as X,_ as wn,b as Tn,y as En,z as Dn}from"./resource-list-B6MkAu8v.js";import{r as On,t as kn}from"./AddMachineDialog-4BQFC118.js";import{M as An,O as jn}from"./plugin-ui-DyNDyPD9.js";import{t as Mn}from"./expandable-text-herJC70e.js";import{t as Nn}from"./checkbox-Ct38DhHB.js";import{t as Pn}from"./switch-CzvlSesf.js";import{a as Fn,i as In,n as Ln,o as Rn,r as zn}from"./useLocalOpenTargets-yzd9-Ceh.js";import{t as Bn}from"./file-opener-preference-BEeek6dm.js";import{r as Vn,t as Hn}from"./machine-provider-queries-CRlWTEz7.js";import{t as Un}from"./page-shell-BHTOdeQn.js";import{i as Wn,r as Gn}from"./audio-input-device-preference-DsU6GGNE.js";import{t as Kn}from"./shortcut-pill-DldxrKgx.js";import{f as qn,n as Jn,p as Yn}from"./markdown-preview-B7BmqIlu.js";import{t as Xn}from"./lib-Cs9r5T_d.js";import{f as Zn,p as Qn}from"./ThreadTimelineNavigationContext-DbZHHZfY.js";import{t as $n}from"./search-flash-BgeOY2Uc.js";import{n as er,o as tr,s as nr,t as rr}from"./sortable.esm-DrqbbDDw.js";import{i as ir,r as ar}from"./code-rendering-OxBy5zPr.js";import{n as or,t as sr}from"./use-reorder-dnd-B-xEV6w8.js";import{i as cr,t as lr}from"./localhost-link-rewrite-description-Bovg3W--.js";import{n as ur}from"./NewThreadComposer-BY0jUSbs.js";import{n as dr,r as fr,t as pr}from"./update-state-DCxKj9tm.js";import{a as mr,i as hr,o as gr,r as _r,s as vr}from"./host-mutations-Ckc-eVys.js";import{i as yr,l as br,n as xr,o as Sr,r as Cr,t as wr,u as Tr}from"./MachineRenameDialog-C_ZV5gEB.js";import{a as Er,i as Dr,o as Or,t as kr}from"./ProjectsSettingsSection-BI_xhcA2.js";import"./icon-extended-DDFkslJU.js";import{t as Ar}from"./root-compose-create-preference-DDv947dq.js";import{PluginDetailPaneView as jr,a as Mr,i as Nr,n as Pr,o as Fr,r as Ir,t as Lr}from"./ToolsView-nAAic88Z.js";import{t as Rr}from"./ThreadUnarchiveButton-CtjS9UkR.js";var Z=s(),Q=e(f(),1);function zr(e){let t=(0,Z.c)(7),{platform:n}=e,r=n===`ios`?16:20,i=n===`ios`?16:20,a=n===`ios`?`block -translate-y-px`:`block`,o=n===`ios`?`M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701`:`M18.4395 5.5586c-.675 1.1664-1.352 2.3318-2.0274 3.498-.0366-.0155-.0742-.0286-.1113-.043-1.8249-.6957-3.484-.8-4.42-.787-1.8551.0185-3.3544.4643-4.2597.8203-.084-.1494-1.7526-3.021-2.0215-3.4864a1.1451 1.1451 0 0 0-.1406-.1914c-.3312-.364-.9054-.4859-1.379-.203-.475.282-.7136.9361-.3886 1.5019 1.9466 3.3696-.0966-.2158 1.9473 3.3593.0172.031-.4946.2642-1.3926 1.0177C2.8987 12.176.452 14.772 0 18.9902h24c-.119-1.1108-.3686-2.099-.7461-3.0683-.7438-1.9118-1.8435-3.2928-2.7402-4.1836a12.1048 12.1048 0 0 0-2.1309-1.6875c.6594-1.122 1.312-2.2559 1.9649-3.3848.2077-.3615.1886-.7956-.0079-1.1191a1.1001 1.1001 0 0 0-.8515-.5332c-.5225-.0536-.9392.3128-1.0488.5449zm-.0391 8.461c.3944.5926.324 1.3306-.1563 1.6503-.4799.3197-1.188.0985-1.582-.4941-.3944-.5927-.324-1.3307.1563-1.6504.4727-.315 1.1812-.1086 1.582.4941zM7.207 13.5273c.4803.3197.5506 1.0577.1563 1.6504-.394.5926-1.1038.8138-1.584.4941-.48-.3197-.5503-1.0577-.1563-1.6504.4008-.6021 1.1087-.8106 1.584-.4941z`,s;t[0]===o?s=t[1]:(s=(0,Q.jsx)(`path`,{d:o}),t[0]=o,t[1]=s);let c;return t[2]!==r||t[3]!==i||t[4]!==a||t[5]!==s?(c=(0,Q.jsx)(`span`,{className:`flex size-5 shrink-0 items-center justify-center`,children:(0,Q.jsx)(`svg`,{viewBox:`0 0 24 24`,width:r,height:i,fill:`currentColor`,"aria-hidden":`true`,className:a,children:s})}),t[2]=r,t[3]=i,t[4]=a,t[5]=s,t[6]=c):c=t[6],c}function Br(){let e=(0,Z.c)(19),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={queryKey:[`system`,`mobile-app-releases`],queryFn:Hr,staleTime:3e5,retry:!1},e[0]=t):t=e[0];let n=u(t),r=n.data?.android,i=un()?.handshake,a=i?.platform===`android`?i:null,o,s;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h2`,{className:`text-base font-semibold`,children:`Mobile apps`}),(0,Q.jsx)(`p`,{className:`mt-1 text-sm text-subtle-foreground`,children:`Use bb from your phone`})]}),s=(0,Q.jsx)(On,{title:`Accessing bb from your phone`,children:Vr}),e[1]=o,e[2]=s):(o=e[1],s=e[2]);let c;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,Q.jsx)(zr,{platform:`ios`}),`iOS`]}),e[3]=c):c=e[3];let l;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsxs)(`p`,{className:`text-sm text-subtle-foreground`,children:[`Install`,` `,(0,Q.jsx)(`a`,{href:`https://apps.apple.com/app/testflight/id899247664`,target:`_blank`,rel:`noopener noreferrer`,className:`underline underline-offset-2`,children:`TestFlight`}),`, then join the bb beta to install the app on your iPhone.`]}),e[4]=l):l=e[4];let d;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsxs)(yn,{title:c,description:`Available through TestFlight`,bodyClassName:`space-y-4`,children:[l,(0,Q.jsx)(`a`,{href:Ee.ios,target:`_blank`,rel:`noopener noreferrer`,className:Qt(),children:`Join iOS TestFlight`})]}),e[5]=d):d=e[5];let f;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,Q.jsx)(zr,{platform:`android`}),`Android`]}),e[6]=f):f=e[6];let p,m;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Q.jsx)(`p`,{className:`text-sm text-subtle-foreground`,children:`Download the APK and open it on your phone to install. Allow installation from your browser if prompted.`}),m=(0,Q.jsx)(`p`,{className:`text-sm text-subtle-foreground`,children:`Google Play access is under review. For now, return here for updates.`}),e[7]=p,e[8]=m):(p=e[7],m=e[8]);let h;e[9]!==r||e[10]!==n.isPending?(h=a&&(0,Q.jsxs)(`div`,{className:`space-y-1 text-sm`,children:[(0,Q.jsxs)(`p`,{children:[`Installed: `,a.appVersion,a.androidVersionCode!==void 0&&` (build ${a.androidVersionCode})`]}),(0,Q.jsx)(`p`,{role:`status`,children:a.androidVersionCode===void 0?`This app does not report its build number. Download the latest APK to check for updates.`:n.isPending?`Checking for updates…`:r?a.androidVersionCode<r.versionCode?`Update available`:a.androidVersionCode===r.versionCode?`You’re up to date`:`You’re running a newer build than the latest published release`:`Unable to check for updates. You can still download the latest APK.`})]}),e[9]=r,e[10]=n.isPending,e[11]=h):h=e[11];let g;e[12]!==r||e[13]!==n.isPending?(g=r?(0,Q.jsxs)(`dl`,{className:`grid grid-cols-[auto_1fr] gap-x-4 gap-y-1 text-sm`,children:[(0,Q.jsx)(`dt`,{className:`text-subtle-foreground`,children:`Version`}),(0,Q.jsxs)(`dd`,{children:[r.version,` (build `,r.versionCode,`)`]}),(0,Q.jsx)(`dt`,{className:`text-subtle-foreground`,children:`Updated`}),(0,Q.jsx)(`dd`,{children:(0,Q.jsx)(`time`,{dateTime:r.updatedAt,children:new Date(r.updatedAt).toLocaleDateString(void 0,{year:`numeric`,month:`short`,day:`numeric`})})}),(0,Q.jsx)(`dt`,{className:`text-subtle-foreground`,children:`Download size`}),(0,Q.jsxs)(`dd`,{children:[Math.ceil(r.size/1024/1024),` MB`]})]}):(0,Q.jsx)(`p`,{className:`text-sm text-subtle-foreground`,role:`status`,children:n.isPending?`Checking the latest release…`:`Release details are unavailable. You can still download the APK.`}),e[12]=r,e[13]=n.isPending,e[14]=g):g=e[14];let _;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(`a`,{href:Ee.android,target:`_blank`,rel:`noopener noreferrer`,className:Qt(),children:`Download Android APK`}),e[15]=_):_=e[15];let v;return e[16]!==g||e[17]!==h?(v=(0,Q.jsxs)(`section`,{"aria-label":`Mobile app downloads`,className:`space-y-5`,children:[o,s,(0,Q.jsxs)(`div`,{className:`space-y-5`,children:[d,(0,Q.jsxs)(yn,{title:f,description:`Direct download for Android phones`,bodyClassName:`space-y-4`,children:[p,m,h,g,_]})]})]}),e[16]=g,e[17]=h,e[18]=v):v=e[18],v}function Vr(e){return(0,Q.jsx)(An,{pluginId:e})}function Hr(){return Vt.system.mobileAppReleases()}var $=e(d(),1);function Ur(){Ft(),fe(),se()}function Wr(e){y(Nt(e)),ye(e.resolvedCodeTheme),se()}function Gr(){let e=(0,Z.c)(4),t=p(),n=(0,$.useRef)(0),r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>()=>{n.current+=1,Ur()},i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,$.useEffect)(r,i);let a;return e[2]===t?a=e[3]:(a={prefetchThemes(e){for(let n of e)t.prefetchQuery(_e(n))},previewTheme(e){n.current+=1;let r=n.current;if(e===null){Ur();return}t.fetchQuery(_e(e)).then(e=>{n.current===r&&Wr(e)},Kr)}},e[2]=t,e[3]=a),a}function Kr(){}function qr(){let e=(0,Z.c)(3),t=p(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={errorMessage:`Could not change provider availability.`},e[0]=n):n=e[0];let r;return e[1]===t?r=e[2]:(r={meta:n,mutationFn:Jr,onSuccess:e=>H({queryClient:t,catalog:e})},e[1]=t,e[2]=r),i(r)}function Jr(e){return Vt.providers.setEnabled(e)}function Yr(e){return e===0?`ASAP`:`${e} minutes`}function Xr(e,t){if(t===null||e.length!==t.length||e.some(e=>!t.includes(e.id)))return e;let n=new Map(e.map(e=>[e.id,e]));return t.flatMap(e=>{let t=n.get(e);return t===void 0?[]:[t]})}function Zr(e,t,n){let r=e.indexOf(t),i=e.indexOf(n);return r===-1||i===-1||r===i?null:er([...e],r,i)}function Qr(e,t,n){let r=Object.fromEntries(Object.entries(e.providerCompletedTurnDisplay).filter(([e])=>e!==t.id));return{providerCompletedTurnDisplay:n===t.completedTurnDisplay?r:{...r,[t.id]:n}}}function $r(e){let t=(0,Z.c)(2),{provider:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Q.jsx)(`span`,{className:`flex size-5 shrink-0 items-center justify-center`,children:(0,Q.jsx)(hn,{providerKind:`agent`,provider:n,className:Te})}),t[0]=n,t[1]=r),r}function ei(e){let t=(0,Z.c)(20),{provider:n,enabled:r,isDefault:i,disabled:a,onToggle:o,onMakeDefault:s}=e,c=`Actions for ${n.displayName}`,l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(q,{name:`MoreHorizontal`}),t[0]=l):l=t[0];let u;t[1]===c?u=t[2]:(u=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsx)(J,{variant:`ghost`,size:`icon`,className:`size-8 shrink-0 text-muted-foreground data-[state=open]:bg-state-active data-[state=open]:text-foreground`,"aria-label":c,children:l})}),t[1]=c,t[2]=u);let d;t[3]!==a||t[4]!==r||t[5]!==i||t[6]!==s?(d=r?(0,Q.jsx)(Ye,{checked:i,disabled:a||s===null,onCheckedChange:e=>{e&&s?.()},children:`Default`}):null,t[3]=a,t[4]=r,t[5]=i,t[6]=s,t[7]=d):d=t[7];let f=r?`destructive`:`default`,p=r?`Disable`:`Enable`,m;t[8]!==a||t[9]!==o||t[10]!==f||t[11]!==p?(m=(0,Q.jsx)(Se,{disabled:a,onSelect:o,variant:f,children:p}),t[8]=a,t[9]=o,t[10]=f,t[11]=p,t[12]=m):m=t[12];let h;t[13]!==n.displayName||t[14]!==d||t[15]!==m?(h=(0,Q.jsxs)(Ke,{align:`end`,mobileTitle:n.displayName,children:[d,m]}),t[13]=n.displayName,t[14]=d,t[15]=m,t[16]=h):h=t[16];let g;return t[17]!==u||t[18]!==h?(g=(0,Q.jsxs)(K,{children:[u,h]}),t[17]=u,t[18]=h,t[19]=g):g=t[19],g}function ti(e){let t=(0,Z.c)(32),{disabled:n,generalSettings:r,index:i,onGeneralSettingsChange:a,provider:o,onDisable:s}=e,c;t[0]!==n||t[1]!==o.displayName||t[2]!==o.id?(c={id:o.id,disabled:n,label:o.displayName},t[0]=n,t[1]=o.displayName,t[2]=o.id,t[3]=c):c=t[3];let{setNodeRef:l,style:u,isDragging:d,handle:f}=Er(c),p=r.defaultProviderId===o.id||r.defaultProviderId===null&&i===0,m=d&&`relative z-10 rounded-md bg-card opacity-90 shadow-lift`,h;t[4]===m?h=t[5]:(h=Y(`group/provider-row`,m),t[4]=m,t[5]=h);let g;t[6]===o?g=t[7]:(g=(0,Q.jsx)($r,{provider:o}),t[6]=o,t[7]=g);let _;t[8]===o.displayName?_=t[9]:(_=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-medium`,children:o.displayName}),t[8]=o.displayName,t[9]=_);let v;t[10]!==p||t[11]!==o.available?(v=o.available?p?(0,Q.jsx)(xn,{children:`Default`}):null:(0,Q.jsx)(xn,{children:`Unavailable`}),t[10]=p,t[11]=o.available,t[12]=v):v=t[12];let y;t[13]!==a||t[14]!==o.available||t[15]!==o.id?(y=o.available?()=>{a({defaultProviderId:o.id})}:null,t[13]=a,t[14]=o.available,t[15]=o.id,t[16]=y):y=t[16];let b;t[17]!==n||t[18]!==p||t[19]!==s||t[20]!==o||t[21]!==y?(b=(0,Q.jsx)(ei,{provider:o,enabled:!0,isDefault:p,disabled:n,onToggle:s,onMakeDefault:y}),t[17]=n,t[18]=p,t[19]=s,t[20]=o,t[21]=y,t[22]=b):b=t[22];let x;return t[23]!==f||t[24]!==l||t[25]!==u||t[26]!==h||t[27]!==g||t[28]!==_||t[29]!==v||t[30]!==b?(x=(0,Q.jsxs)(Sn,{ref:l,style:u,className:h,children:[f,g,_,v,b]}),t[23]=f,t[24]=l,t[25]=u,t[26]=h,t[27]=g,t[28]=_,t[29]=v,t[30]=b,t[31]=x):x=t[31],x}function ni(e){let t=(0,Z.c)(17),{disabled:n,generalSettings:r,onGeneralSettingsChange:i,provider:a}=e,o=r.providerCompletedTurnDisplay[a.id]??a.completedTurnDisplay,s;t[0]===a?s=t[1]:(s=(0,Q.jsx)($r,{provider:a}),t[0]=a,t[1]=s);let c;t[2]===a.displayName?c=t[3]:(c=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-medium`,children:a.displayName}),t[2]=a.displayName,t[3]=c);let l=o===`collapse`,u=`Collapse finished ${a.displayName} turns`,d;t[4]!==r||t[5]!==i||t[6]!==a?(d=e=>i(Qr(r,a,e?`collapse`:`flat`)),t[4]=r,t[5]=i,t[6]=a,t[7]=d):d=t[7];let f;t[8]!==n||t[9]!==l||t[10]!==u||t[11]!==d?(f=(0,Q.jsx)(Pn,{checked:l,disabled:n,"aria-label":u,onCheckedChange:d}),t[8]=n,t[9]=l,t[10]=u,t[11]=d,t[12]=f):f=t[12];let p;return t[13]!==s||t[14]!==c||t[15]!==f?(p=(0,Q.jsxs)(Sn,{children:[s,c,f]}),t[13]=s,t[14]=c,t[15]=f,t[16]=p):p=t[16],p}function ri(e){let t=(0,Z.c)(32),{disabled:n,generalSettings:r,onGeneralSettingsChange:i}=e,a=gn(),o=ee(),s=qr(),c=(o.data??[]).filter(oi),l=n||s.isPending,u=a.data??[],[d,f]=(0,$.useState)(null),p=Xr(u,d),m=p.map(ai),h=a.isPending?(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading providers…`}):p.length===0&&c.length===0?(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No providers available. Install a provider plugin in Settings → Plugins.`}):(0,Q.jsxs)(Dr,{ids:m,disabled:n,onReorder:(e,t)=>{let n=Zr(m,e,t);if(n===null)return;f(n);let r;try{r=i({providerOrder:n})}catch{f(null);return}Promise.resolve(r).catch(ii).finally(()=>f(null))},children:[p.map((e,t)=>(0,Q.jsx)(ti,{disabled:l,onDisable:()=>s.mutate({providerId:e.id,enabled:!1}),generalSettings:r,index:t,onGeneralSettingsChange:i,provider:e},e.id)),c.map(e=>(0,Q.jsxs)(Sn,{className:`text-muted-foreground`,children:[(0,Q.jsx)(`span`,{className:`-ml-2 w-7 shrink-0`,"aria-hidden":`true`}),(0,Q.jsx)(`span`,{className:`shrink-0 opacity-60 grayscale`,children:(0,Q.jsx)($r,{provider:e.info??e})}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-medium`,children:e.displayName}),(0,Q.jsx)(xn,{children:`Disabled`}),(0,Q.jsx)(ei,{provider:e,enabled:!1,isDefault:!1,disabled:l,onToggle:()=>s.mutate({providerId:e.id,enabled:!0}),onMakeDefault:null})]},e.id))]}),g;t[0]===h?g=t[1]:(g=(0,Q.jsx)(yn,{title:`Providers`,description:`Choose which agents you use in BB. Drag to reorder them in provider pickers.`,children:h}),t[0]=h,t[1]=g);let _=yn,v;t[2]===i?v=t[3]:(v=e=>i({allowFastServiceTier:e}),t[2]=i,t[3]=v);let y;t[4]!==n||t[5]!==r.allowFastServiceTier||t[6]!==v?(y=(0,Q.jsx)(X,{label:`Allow faster service tiers`,description:`Turn this off to use the default service tier for all new turns, including those from queued messages and automations.`,children:(0,Q.jsx)(Pn,{checked:r.allowFastServiceTier,disabled:n,onCheckedChange:v,"aria-label":`Allow faster service tiers`})}),t[4]=n,t[5]=r.allowFastServiceTier,t[6]=v,t[7]=y):y=t[7];let b;t[8]===r.idleProviderSessionTimeoutMinutes?b=t[9]:(b=Yr(r.idleProviderSessionTimeoutMinutes),t[8]=r.idleProviderSessionTimeoutMinutes,t[9]=b);let x;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[10]=x):x=t[10];let S;t[11]!==n||t[12]!==b?(S=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:Fr,disabled:n,"aria-label":`Release idle agent sessions`,children:[b,x]})}),t[11]=n,t[12]=b,t[13]=S):S=t[13];let C;t[14]!==r.idleProviderSessionTimeoutMinutes||t[15]!==i?(C=qe.map(e=>(0,Q.jsxs)(Se,{onSelect:()=>i({idleProviderSessionTimeoutMinutes:e}),children:[Yr(e),e===Ge.idleProviderSessionTimeoutMinutes?` (default)`:null,(0,Q.jsx)(q,{name:`Check`,className:Y(`ml-auto`,e!==r.idleProviderSessionTimeoutMinutes&&`opacity-0`,Te)})]},e)),t[14]=r.idleProviderSessionTimeoutMinutes,t[15]=i,t[16]=C):C=t[16];let w;t[17]===C?w=t[18]:(w=(0,Q.jsx)(Ke,{align:`end`,className:Mr,children:C}),t[17]=C,t[18]=w);let T;t[19]!==w||t[20]!==S?(T=(0,Q.jsx)(X,{label:`Release idle agent sessions`,description:`Stop agents that have been idle this long to free memory. Threads keep their history and pick up on your next message. Checked every 5 minutes.`,children:(0,Q.jsxs)(K,{children:[S,w]})}),t[19]=w,t[20]=S,t[21]=T):T=t[21];let E;t[22]!==T||t[23]!==y?(E=(0,Q.jsxs)(`div`,{className:`space-y-5`,children:[y,T]}),t[22]=T,t[23]=y,t[24]=E):E=t[24];let D=p.length===0?null:(0,Q.jsxs)(`div`,{className:`mt-4 space-y-3 border-t border-border pt-4`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h3`,{className:`text-sm font-medium text-foreground`,children:`Collapse finished turns`}),(0,Q.jsx)(`p`,{className:`mt-0.5 text-xs leading-snug text-subtle-foreground/75`,children:`When a turn finishes, fold its work into one Worked for row and keep the final answer visible. Turn off collapsing to keep every step of a finished turn visible.`})]}),(0,Q.jsx)(Dn,{children:p.map(e=>(0,Q.jsx)(ni,{disabled:n,generalSettings:r,onGeneralSettingsChange:i,provider:e},e.id))})]}),O;t[25]!==_||t[26]!==E||t[27]!==D?(O=(0,Q.jsxs)(_,{title:`Configuration`,children:[E,D]}),t[25]=_,t[26]=E,t[27]=D,t[28]=O):O=t[28];let k;return t[29]!==O||t[30]!==g?(k=(0,Q.jsxs)(Q.Fragment,{children:[g,O]}),t[29]=O,t[30]=g,t[31]=k):k=t[31],k}function ii(){}function ai(e){return e.id}function oi(e){return!e.enabled||!e.pluginEnabled}function si(e){let t=(0,Z.c)(26),{label:n,description:r,triggerAriaLabel:i,options:a,selected:o,onSelect:s,disabled:c,children:l}=e,u=c===void 0?!1:c,d;t[0]===o.title?d=t[1]:(d=(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:o.title}),t[0]=o.title,t[1]=d);let f;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[2]=f):f=t[2];let p;t[3]!==u||t[4]!==d||t[5]!==i?(p=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:`min-w-0 flex-1 justify-between @min-[36rem]/settings:w-40 @min-[36rem]/settings:flex-none`,"aria-label":i,disabled:u,children:[d,f]})}),t[3]=u,t[4]=d,t[5]=i,t[6]=p):p=t[6];let m;if(t[7]!==s||t[8]!==a||t[9]!==o.key){let e;t[11]!==s||t[12]!==o.key?(e=e=>(0,Q.jsxs)(Se,{disabled:e.disabled,onSelect:()=>s(e.key),className:`flex items-start gap-2`,children:[(0,Q.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,Q.jsx)(`span`,{className:`truncate`,children:e.title}),(0,Q.jsx)(`span`,{className:`whitespace-normal break-words text-xs text-muted-foreground`,children:e.description})]}),(0,Q.jsx)(q,{name:`Check`,className:Y(`ml-auto mt-0.5`,o.key!==e.key&&`opacity-0`,Te)})]},e.key),t[11]=s,t[12]=o.key,t[13]=e):e=t[13],m=a.map(e),t[7]=s,t[8]=a,t[9]=o.key,t[10]=m}else m=t[10];let h;t[14]===m?h=t[15]:(h=(0,Q.jsx)(Ke,{align:`end`,className:`w-72`,children:m}),t[14]=m,t[15]=h);let g;t[16]!==p||t[17]!==h?(g=(0,Q.jsxs)(K,{children:[p,h]}),t[16]=p,t[17]=h,t[18]=g):g=t[18];let _;t[19]!==l||t[20]!==g?(_=(0,Q.jsxs)(`div`,{className:`flex w-full min-w-0 items-center gap-2 @min-[36rem]/settings:w-auto`,children:[g,l]}),t[19]=l,t[20]=g,t[21]=_):_=t[21];let v;return t[22]!==r||t[23]!==n||t[24]!==_?(v=(0,Q.jsx)(X,{label:n,description:r,children:_}),t[22]=r,t[23]=n,t[24]=_,t[25]=v):v=t[25],v}function ci(e){let t=(0,Z.c)(44),{label:n,description:r,triggerAriaLabel:i,builtInDescription:a,allowAutomatic:o,preferenceAtom:s,slots:l}=e,u=o===void 0?!0:o,[d,f]=c(s),p=Pe(),m;t[0]===p?m=t[1]:(m=e=>p.has(e.pluginId),t[0]=p,t[1]=m);let h=m,g,_,v,y,b;if(t[2]!==p||t[3]!==h||t[4]!==l){b=Symbol.for(`react.early_return_sentinel`);bb0:{let e=ht(l,p);if(e===void 0){b=null;break bb0}v=Qe,y=`Automatic`,g=e.title,_=h(e)?`built-in`:e.pluginId}t[2]=p,t[3]=h,t[4]=l,t[5]=g,t[6]=_,t[7]=v,t[8]=y,t[9]=b}else g=t[5],_=t[6],v=t[7],y=t[8],b=t[9];if(b!==Symbol.for(`react.early_return_sentinel`))return b;let x=`Chooses ${g} (${_}).`,S;t[10]!==v||t[11]!==y||t[12]!==x?(S={key:v,title:y,description:x},t[10]=v,t[11]=y,t[12]=x,t[13]=S):S=t[13];let C=S,w;t[14]===a?w=t[15]:(w=a===void 0?null:{key:Ce,title:`bb (built-in)`,description:a},t[14]=a,t[15]=w);let T=w,E;t[16]===h?E=t[17]:(E=e=>h(e)?{key:tn(e),title:`${e.title} (built-in)`,description:e.description??``}:{key:tn(e),title:e.title,description:e.description===void 0?`From the ${e.pluginId} plugin.`:`${e.pluginId} plugin. ${e.description}`},t[16]=h,t[17]=E);let D=E,O;t[18]!==u||t[19]!==C?(O=u?[C]:[],t[18]=u,t[19]=C,t[20]=O):O=t[20];let k;if(t[21]!==T||t[22]!==h||t[23]!==D||t[24]!==l||t[25]!==O){let e;t[27]===h?e=t[28]:(e=e=>!h(e),t[27]=h,t[28]=e);let n;t[29]===T?n=t[30]:(n=T===null?[]:[T],t[29]=T,t[30]=n),k=[...O,...l.filter(e).map(D),...l.filter(h).map(D),...n],t[21]=T,t[22]=h,t[23]=D,t[24]=l,t[25]=O,t[26]=k}else k=t[26];let A=k,j;t[31]!==u||t[32]!==C||t[33]!==T||t[34]!==A||t[35]!==d?(j=A.find(e=>e.key===d)??T??(u?C:{key:d,title:`Unavailable plugin`}),t[31]=u,t[32]=C,t[33]=T,t[34]=A,t[35]=d,t[36]=j):j=t[36];let M=j,N;return t[37]!==r||t[38]!==n||t[39]!==A||t[40]!==M||t[41]!==f||t[42]!==i?(N=(0,Q.jsx)(si,{label:n,description:r,triggerAriaLabel:i,options:A,selected:M,onSelect:f}),t[37]=r,t[38]=n,t[39]=A,t[40]=M,t[41]=f,t[42]=i,t[43]=N):N=t[43],N}function li(){let e=(0,Z.c)(10),{sourceCodeRenderers:t,diffRenderers:n,composers:r}=A(),i;e[0]===t?i=e[1]:(i=(0,Q.jsx)(ci,{label:`Source code`,triggerAriaLabel:`Source code`,description:`Choose automatic activation, BB's viewer, or a specific plugin on this device.`,builtInDescription:`Syntax highlighting and gutters from the bb code theme.`,preferenceAtom:ir,slots:t}),e[0]=t,e[1]=i);let a;e[2]===n?a=e[3]:(a=(0,Q.jsx)(ci,{label:`Diffs`,triggerAriaLabel:`Diffs`,description:`Applies to file diffs in threads, the diff panel, and plugin views.`,builtInDescription:`Unified and split diffs from the bb code theme.`,preferenceAtom:ar,slots:n}),e[2]=n,e[3]=a);let o;e[4]===r?o=e[5]:(o=(0,Q.jsx)(ci,{label:`Composer`,triggerAriaLabel:`Composer`,description:`The prompt box in threads, the New thread screen, and message editors.`,preferenceAtom:h,slots:r}),e[4]=r,e[5]=o);let s;return e[6]!==i||e[7]!==a||e[8]!==o?(s=(0,Q.jsxs)(Q.Fragment,{children:[i,a,o]}),e[6]=i,e[7]=a,e[8]=o,e[9]=s):s=e[9],s}function ui(){let e=(0,Z.c)(2),{threadLists:t}=A(),n;return e[0]===t?n=e[1]:(n=(0,Q.jsx)(ci,{label:`Sidebar thread list`,triggerAriaLabel:`Sidebar thread list`,description:`Which plugin draws your threads in the sidebar.`,preferenceAtom:Ct,slots:t}),e[0]=t,e[1]=n),n}function di(){let e=(0,Z.c)(2),{homes:t}=A(),n;return e[0]===t?n=e[1]:(n=(0,Q.jsx)(ci,{label:`Home page`,triggerAriaLabel:`Home page`,description:`Which page opens at home. New thread is always at /new.`,builtInDescription:`bb's new-thread page.`,preferenceAtom:Ne,slots:t}),e[0]=t,e[1]=n),n}function fi(){let e=(0,Z.c)(2),{experimentalSidebarNavigations:t}=A(),n;return e[0]===t?n=e[1]:(n=(0,Q.jsx)(ci,{label:`Navigation`,triggerAriaLabel:`Sidebar navigation`,description:`What draws New thread, Plugins, Skills, and plugin pages in the sidebar.`,preferenceAtom:yt,slots:t}),e[0]=t,e[1]=n),n}function pi(){let e=(0,Z.c)(15),t=ut(),n;e[0]===t?n=e[1]:(n={onDragEnd(e){typeof e.active.id==`string`&&typeof e.over?.id==`string`&&t.move(e.active.id,e.over.id)}},e[0]=t,e[1]=n);let{dndContextProps:r,onClickCapture:i}=sr(n),a;e[2]===t.items?a=e[3]:(a=t.items.map(mi),e[2]=t.items,e[3]=a);let o;e[4]===t?o=e[5]:(o=t.items.map(e=>(0,Q.jsx)(hi,{item:e,visible:t.footer.includes(e),disabled:t.isFull&&!t.footer.includes(e),onVisibleChange:n=>n?t.addToFooter(e.key):t.hideFromFooter(e.key)},e.key)),e[4]=t,e[5]=o);let s;e[6]!==a||e[7]!==o?(s=(0,Q.jsx)(rr,{items:a,strategy:tr,children:o}),e[6]=a,e[7]=o,e[8]=s):s=e[8];let c;e[9]!==r||e[10]!==s?(c=(0,Q.jsx)(nr,{...r,children:s}),e[9]=r,e[10]=s,e[11]=c):c=e[11];let l;return e[12]!==i||e[13]!==c?(l=(0,Q.jsx)(X,{label:`Sidebar footer`,description:`Drag to reorder.`,controlPlacement:`below`,children:(0,Q.jsx)(`div`,{className:`rounded-md border border-border`,onClickCapture:i,children:c})}),e[12]=i,e[13]=c,e[14]=l):l=e[14],l}function mi(e){return e.key}function hi({item:e,visible:t,disabled:n,onVisibleChange:r}){let{dragBindings:i,setNodeRef:a,style:o}=or({id:e.key,disabled:!1});return(0,Q.jsxs)(`div`,{ref:a,style:o,className:`flex items-center gap-2 border-b border-border px-2 py-2 last:border-b-0`,"data-footer-setting":e.key,children:[(0,Q.jsx)(J,{variant:`ghost`,size:`icon`,className:`size-7 touch-none text-muted-foreground`,ref:i.setActivatorNodeRef,...i.attributes,...i.listeners,"aria-label":`Reorder ${e.label}`,children:(0,Q.jsx)(q,{name:`DragDropVertical`,className:`size-4`})}),(0,Q.jsx)(v,{item:e}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-sm`,children:e.label}),(0,Q.jsx)(Pn,{checked:t,disabled:n,onCheckedChange:r,"aria-label":`Show ${e.label} in footer`})]})}var gi=`Fade inactive splits`;function _i(){let e=(0,Z.c)(3),[t,n]=c(Tt),r;return e[0]!==t||e[1]!==n?(r=(0,Q.jsx)(X,{label:gi,description:`Fade out splits that do not have focus.`,children:(0,Q.jsx)(Pn,{checked:t,onCheckedChange:n,"aria-label":gi})}),e[0]=t,e[1]=n,e[2]=r):r=e[2],r}var vi=5e3;function yi(e){for(let t of document.querySelectorAll(`[data-settings-anchor]`))if(t.dataset.settingsAnchor===e)return t;return null}function bi(e){let t=yi(e);return t===null?!1:(t.scrollIntoView({block:t.tagName===`SECTION`?`start`:`center`}),$n(t),!0)}function xi(){let e=(0,Z.c)(8),t=a(),r=n(),i;e[0]!==t.state||e[1]!==r?(i=r===`POP`?null:cr(t.state),e[0]=t.state,e[1]=r,e[2]=i):i=e[2];let o=i,s=t.key,c;e[3]===o?c=e[4]:(c=()=>{if(o===null||bi(o))return;let e=()=>{t.disconnect(),window.clearTimeout(n)},t=new MutationObserver(()=>{bi(o)&&e()}),n=window.setTimeout(e,vi);return t.observe(document.body,{childList:!0,subtree:!0}),e},e[3]=o,e[4]=c);let l;e[5]!==o||e[6]!==s?(l=[o,s],e[5]=o,e[6]=s,e[7]=l):l=e[7],(0,$.useEffect)(c,l)}var Si=`__automatic__`,Ci=`Built-in preview`;function wi(){let e=(0,Z.c)(13),{fileOpeners:t}=A(),[n,r]=Bn(),i;e[0]===t?i=e[1]:(i=[...new Set(t.flatMap(Ti))].sort(),e[0]=t,e[1]=i);let a=i;if(a.length===0)return null;let o;if(e[2]!==a||e[3]!==t||e[4]!==n||e[5]!==r){let i;e[7]!==t||e[8]!==n||e[9]!==r?(i=e=>(0,Q.jsx)(Ei,{extension:e,openers:t.filter(t=>t.extensions.includes(e)),preference:n[e]??Si,onSelect:t=>r(n=>{let r={...n};return t===Si?delete r[e]:r[e]=t,r})},e),e[7]=t,e[8]=n,e[9]=r,e[10]=i):i=e[10],o=a.map(i),e[2]=a,e[3]=t,e[4]=n,e[5]=r,e[6]=o}else o=e[6];let s;return e[11]===o?s=e[12]:(s=(0,Q.jsx)(yn,{title:`File openers`,description:`Automatically use matching plugins, or choose a viewer for each file type. Right-click a file link for a one-off choice.`,children:(0,Q.jsx)(`div`,{className:`space-y-5`,children:o})}),e[11]=o,e[12]=s),s}function Ti(e){return e.extensions}function Ei(e){let t=(0,Z.c)(25),{extension:n,onSelect:r,openers:i,preference:a}=e,o=i[0];if(o===void 0)return null;let s=`Automatic (${o.title})`,c;t[0]===s?c=t[1]:(c={key:Si,label:s},t[0]=s,t[1]=c);let l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l={key:en,label:Ci},t[2]=l):l=t[2];let u;t[3]!==i||t[4]!==c?(u=[c,l,...i.map(Di)],t[3]=i,t[4]=c,t[5]=u):u=t[5];let d=u,f;t[6]!==d||t[7]!==a?(f=d.find(e=>e.key===a)??d[1],t[6]=d,t[7]=a,t[8]=f):f=t[8];let p=f;if(p===void 0)return null;let m=`.${n} files`,h=`Default opener for .${n} files`,g;t[9]===p.label?g=t[10]:(g=(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:p.label}),t[9]=p.label,t[10]=g);let _;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[11]=_):_=t[11];let v;t[12]!==h||t[13]!==g?(v=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:Fr,"aria-label":h,children:[g,_]})}),t[12]=h,t[13]=g,t[14]=v):v=t[14];let y;t[15]!==r||t[16]!==d||t[17]!==p.key?(y=(0,Q.jsx)(Ke,{align:`end`,className:Mr,children:d.map(e=>(0,Q.jsxs)(Se,{onSelect:()=>r(e.key),children:[(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:e.label}),(0,Q.jsx)(q,{name:`Check`,className:Y(`ml-auto`,p.key!==e.key&&`opacity-0`,Te)})]},e.key))}),t[15]=r,t[16]=d,t[17]=p.key,t[18]=y):y=t[18];let b;t[19]!==v||t[20]!==y?(b=(0,Q.jsxs)(K,{children:[v,y]}),t[19]=v,t[20]=y,t[21]=b):b=t[21];let x;return t[22]!==b||t[23]!==m?(x=(0,Q.jsx)(X,{label:m,children:b}),t[22]=b,t[23]=m,t[24]=x):x=t[24],x}function Di(e){return{key:Mt(e),label:`${e.title} (${e.pluginId})`}}var Oi=`System default`,ki=`Microphone`;function Ai({devices:e,isSupported:t,preferredDeviceId:n}){return t?n===null?Oi:e.find(e=>e.deviceId===n)?.label??Oi:`Unsupported`}function ji({devices:e,errorMessage:t,isLoading:n,isSupported:r,preferredDeviceId:i,onRequestAccess:a}){return r?n?`Loading microphones.`:t===null?e.length===0?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`button`,{type:`button`,className:`rounded-sm underline underline-offset-2 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,onClick:a,children:`Check microphone access`}),` `,`to see available devices.`]}):i!==null&&e.every(e=>e.deviceId!==i)?`Preferred microphone is disconnected. Using another input until it reconnects.`:`Used for prompt voice input.`:t:`This browser does not expose microphone devices.`}function Mi(e){let t=(0,Z.c)(50),{devices:n,errorMessage:r,isLoading:i,isSupported:a,onRefresh:o,preferredDeviceId:s}=e,[c,l]=(0,$.useState)(!1),u;t[0]!==n||t[1]!==a||t[2]!==s?(u=Ai({devices:n,isSupported:a,preferredDeviceId:s}),t[0]=n,t[1]=a,t[2]=s,t[3]=u):u=t[3];let d=u,f=!a||i,p;t[4]===o?p=t[5]:(p=()=>o(!0),t[4]=o,t[5]=p);let m=i?`Loading microphones`:`Load microphones`,h=i&&`animate-spin`,g;t[6]===h?g=t[7]:(g=Y(`size-3.5`,h),t[6]=h,t[7]=g);let _;t[8]===g?_=t[9]:(_=(0,Q.jsx)(q,{name:`RotateCcw`,className:g}),t[8]=g,t[9]=_);let v;t[10]!==f||t[11]!==p||t[12]!==m||t[13]!==_?(v=(0,Q.jsx)(Le,{asChild:!0,children:(0,Q.jsx)(J,{variant:`ghost`,size:`icon`,className:`size-7 text-muted-foreground hover:text-foreground`,disabled:f,onClick:p,"aria-label":m,children:_})}),t[10]=f,t[11]=p,t[12]=m,t[13]=_,t[14]=v):v=t[14];let y;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Q.jsx)(k,{side:`bottom`,children:`Load microphones`}),t[15]=y):y=t[15];let x;t[16]===v?x=t[17]:(x=(0,Q.jsxs)(je,{delayDuration:300,disableHoverableContent:!0,children:[v,y]}),t[16]=v,t[17]=x);let S;t[18]===o?S=t[19]:(S=()=>o(!0),t[18]=o,t[19]=S);let C;t[20]!==n||t[21]!==r||t[22]!==i||t[23]!==a||t[24]!==s||t[25]!==S?(C=ji({onRequestAccess:S,devices:n,errorMessage:r,isLoading:i,isSupported:a,preferredDeviceId:s}),t[20]=n,t[21]=r,t[22]=i,t[23]=a,t[24]=s,t[25]=S,t[26]=C):C=t[26];let w;t[27]===o?w=t[28]:(w=e=>{l(e),o(!1)},t[27]=o,t[28]=w);let T=!a,E;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,Q.jsx)(q,{name:`Mic`,className:`size-3.5 shrink-0`}),t[29]=E):E=t[29];let D;t[30]===d?D=t[31]:(D=(0,Q.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[E,(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:d})]}),t[30]=d,t[31]=D);let O;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[32]=O):O=t[32];let A;t[33]!==T||t[34]!==D?(A=(0,Q.jsx)(me,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:Fr,...Qn.intentProps,"aria-label":ki,disabled:T,children:[D,O]})}),t[33]=T,t[34]=D,t[35]=A):A=t[35];let j;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(j=()=>l(!1),t[36]=j):j=t[36];let M;t[37]===c?M=t[38]:(M=(0,Q.jsx)(Zn,{open:c,onClose:j,warning:null,align:`end`,side:`bottom`}),t[37]=c,t[38]=M);let N;t[39]!==c||t[40]!==w||t[41]!==A||t[42]!==M?(N=(0,Q.jsxs)(b,{open:c,onOpenChange:w,children:[A,M]}),t[39]=c,t[40]=w,t[41]=A,t[42]=M,t[43]=N):N=t[43];let P;t[44]!==C||t[45]!==N?(P=(0,Q.jsx)(X,{label:ki,description:C,children:N}),t[44]=C,t[45]=N,t[46]=P):P=t[46];let F;return t[47]!==x||t[48]!==P?(F=(0,Q.jsx)(yn,{title:`Voice Input`,actionPlacement:`inline`,action:x,children:P}),t[47]=x,t[48]=P,t[49]=F):F=t[49],F}function Ni(){let e=(0,Z.c)(9),t=Gn(),{devices:n,errorMessage:r,isLoading:i,isSupported:a,refresh:o}=Wn(),s;e[0]===o?s=e[1]:(s=e=>{o({requestPermission:e})},e[0]=o,e[1]=s);let c;return e[2]!==n||e[3]!==r||e[4]!==i||e[5]!==a||e[6]!==t||e[7]!==s?(c=(0,Q.jsx)(Mi,{devices:n,errorMessage:r,isLoading:i,isSupported:a,onRefresh:s,preferredDeviceId:t}),e[2]=n,e[3]=r,e[4]=i,e[5]=a,e[6]=t,e[7]=s,e[8]=c):c=e[8],c}var Pi=`automatic`,Fi=`off`,Ii=[{task:`thread-title`,label:`Thread titles`,hint:`Branch names follow the title.`,offDescription:`Titles use the start of the prompt.`,testTask:`thread-title`},{task:`commit-message`,label:`Commit messages`,hint:`Written when you use the Commit action.`,offDescription:`Commits say “bb: automated commit”.`,testTask:`commit-message`},{task:`voice`,label:`Voice input`,hint:`Transcribes the microphone in the composer.`,offDescription:`Hides the microphone.`,testTask:null}];function Li(e){return`service:${e.pluginId}:${e.id}`}function Ri(e){return e.mode===`service`?Li({id:e.serviceId,pluginId:e.pluginId}):e.mode}function zi(e,t){return e.services.filter(e=>e.automaticRank!==null&&e.tasks.includes(t)&&e.status.ready).sort((e,t)=>(e.automaticRank??0)-(t.automaticRank??0))[0]??null}function Bi(e){return e.status.ready?`From the ${e.pluginId} plugin.`:e.status.message}function Vi(e,t){let n=zi(e,t.task);return[{key:Pi,title:`Automatic`,description:n===null?`Nothing bb ships is ready right now.`:`Currently using ${n.displayName}.`},...e.services.filter(e=>e.tasks.includes(t.task)).map(e=>({key:Li(e),title:e.displayName,description:Bi(e)})),{key:Fi,title:`Off`,description:t.offDescription}]}function Hi(e,t){if(t===Pi)return{mode:`automatic`};if(t===Fi)return{mode:`off`};let n=e.services.find(e=>Li(e)===t);return n===void 0?null:{mode:`service`,pluginId:n.pluginId,serviceId:n.id}}function Ui(e,t,n){let r=e.selections[t.task],i=``;if(r.mode===`automatic`){let n=zi(e,t.task);i=n===null?` Nothing is ready, so bb falls back.`:` Using ${n.displayName}.`}else if(r.mode===`service`){let t=e.services.find(e=>e.id===r.serviceId&&e.pluginId===r.pluginId);i=t===void 0?` The ${r.pluginId} plugin is not loaded.`:t.status.ready?``:` ${t.status.message}`}let a=n===void 0?``:n.ok?` Test: “${n.text}” from ${n.displayName} in ${n.durationMs} ms.`:` Test failed: ${n.message}`;return`${t.hint}${i}${a}`}function Wi(){let e=p(),t=he(),[n,r]=(0,$.useState)({}),a=i({meta:{showErrorToast:!1},mutationFn:e=>Vt.system.setAiServiceSelection(e),onSuccess:t=>{Me(e,t)},onError:e=>{Xe.error(`Changing the AI service failed`,{description:e instanceof Error?e.message:void 0})}}),o=i({meta:{showErrorToast:!1},mutationFn:e=>Vt.system.testAiService({task:e}),onSuccess:(e,t)=>{r(n=>({...n,[t]:e}))},onError:(e,t)=>{let n=e instanceof Error&&e.message.trim().length>0?e.message:`The request failed`;r(e=>({...e,[t]:{ok:!1,message:n}}))}}),s=t.data;return(0,Q.jsx)(yn,{title:`AI services`,description:`Choose services for thread titles, commit messages, and voice input. Automatic prefers bb cloud, then other available services. A service you choose stays selected.`,children:(0,Q.jsx)(`div`,{className:`space-y-5`,children:Ii.map(e=>{if(s===void 0)return(0,Q.jsx)(si,{label:e.label,description:e.hint,triggerAriaLabel:e.label,options:[],selected:{key:Pi,title:`Loading`},onSelect:()=>void 0,disabled:!0},e.task);let t=Vi(s,e),i=Ri(s.selections[e.task]),c=t.find(e=>e.key===i)??{key:i,title:`Unavailable plugin`},l=e.testTask;return(0,Q.jsx)(si,{label:e.label,description:Ui(s,e,l===null?void 0:n[l]),triggerAriaLabel:e.label,options:t,selected:c,disabled:a.isPending,onSelect:t=>{let n=Hi(s,t);n!==null&&(r(e=>{if(l===null)return e;let{[l]:t,...n}=e;return n}),a.mutate({task:e.task,selection:n}))},children:l===null?null:(0,Q.jsx)(J,{variant:`ghost`,size:`sm`,"aria-label":`Test ${e.label.toLowerCase()}`,disabled:o.isPending,onClick:()=>o.mutate(l),children:o.isPending&&o.variables===l?`Testing…`:`Test`})},e.task)})})})}var Gi=`https://discord.gg/kvBU6tJhcJ`,Ki=`https://github.com/get-bb/bb`;function qi(e){let t=(0,Z.c)(16),{description:n,href:r,icon:i,iconClassName:a,label:o,openLabel:s}=e,c;t[0]===r?c=t[1]:(c=()=>{xt(r)},t[0]=r,t[1]=c);let l;t[2]===a?l=t[3]:(l=Y(`size-3.5 shrink-0`,a),t[2]=a,t[3]=l);let u;t[4]!==i||t[5]!==l?(u=(0,Q.jsx)(q,{name:i,className:l}),t[4]=i,t[5]=l,t[6]=u):u=t[6];let d;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(q,{name:`ExternalLink`,className:`size-3 shrink-0 text-muted-foreground`}),t[7]=d):d=t[7];let f;t[8]!==s||t[9]!==c||t[10]!==u?(f=(0,Q.jsxs)(J,{type:`button`,variant:`outline`,size:`sm`,className:`h-7 gap-1.5 px-2.5 text-xs`,"aria-label":s,onClick:c,children:[u,s,d]}),t[8]=s,t[9]=c,t[10]=u,t[11]=f):f=t[11];let p;return t[12]!==n||t[13]!==o||t[14]!==f?(p=(0,Q.jsx)(X,{label:o,description:n,children:f}),t[12]=n,t[13]=o,t[14]=f,t[15]=p):p=t[15],p}function Ji(){let e=(0,Z.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(yn,{title:`Community`,description:`Chat with other bb users and follow development on GitHub.`,children:(0,Q.jsxs)(`div`,{className:`space-y-5`,children:[(0,Q.jsx)(qi,{label:`Discord`,description:`Join the server for support, feedback, and announcements.`,href:Gi,icon:`DiscordLogo`,iconClassName:`text-brand-discord`,openLabel:`Join Discord`}),(0,Q.jsx)(qi,{label:`GitHub`,description:`Source code, issues, and releases for the bb project.`,href:Ki,icon:`GithubLogo`,openLabel:`View on GitHub`})]})}),e[0]=t):t=e[0],t}var Yi=!1,Xi=new Set;function Zi(){for(let e of Xi)e()}function Qi(e){return Xi.add(e),()=>{Xi.delete(e)}}function $i(){return Yi}function ea(e){return e instanceof Error&&e.message.length>0?e.message:`The update check did not complete.`}function ta(e){Yi||(Yi=!0,Zi(),e().catch(e=>{Xe.error(`Update check failed`,{description:ea(e)})}).finally(()=>{Yi=!1,Zi()}))}var na=`# Changelog
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ar as t,Br as n,Ir as r,Kr as i,Lr as a,Mr as o,Or as s,St as c,Xn as l,Zr as u,mi as d,ni as f,ti as p,zr as m}from"./boot-vendor-BBLG7GwQ.js";import{A as h}from"./environment-workspace-display-DdMsNL4x.js";import{t as g}from"./permission-mode-options-BrNWKCMS.js";import{$p as _,$t as v,A as y,Aa as b,Ao as x,At as S,B as C,Bo as w,Bp as T,Bt as E,C as D,C_ as O,Cf as k,Cp as A,Ct as j,Dn as M,Dr as N,Dt as P,E_ as F,Es as I,Et as L,Ft as R,G_ as z,H_ as B,Hp as V,Ht as H,I_ as U,Ii as W,Io as ee,It as te,J_ as G,Ji as K,Js as ne,Jt as re,K_ as ie,Ki as ae,Kt as oe,L as se,L_ as ce,Lr as le,Ls as ue,Lt as de,M as fe,Mt as pe,Na as me,No as he,Og as ge,Oo as _e,Ot as ve,P as ye,Po as be,Pt as xe,Qi as Se,Qm as q,Qo as Ce,R as we,Rf as Te,Rg as Ee,Rr as De,Rt as Oe,Ru as ke,Sa as Ae,Sf as je,Si as Me,So as Ne,Sp as Pe,Ta as Fe,Tc as Ie,Tf as Le,Tt as Re,U_ as ze,Ui as Be,V_ as Ve,Vi as He,W_ as Ue,Ws as We,X_ as Ge,Xi as Ke,Y_ as qe,Ya as Je,Yi as Ye,Ym as Xe,Z_ as Ze,Zo as Qe,Zs as $e,_ as et,_d as tt,ac as nt,am as rt,ao as it,bn as at,bt as ot,c as st,d as ct,df as lt,dn as ut,do as dt,ea as ft,em as pt,ep as mt,es as ht,f as gt,ff as _t,fi as vt,fn as yt,fo as bt,ft as xt,gd as St,gn as Ct,go as wt,gu as Tt,h as Et,hd as Dt,ho as Ot,ht as kt,ia as At,io as jt,is as Mt,j as Nt,jt as Pt,k as Ft,kg as It,ko as Lt,kt as Rt,l as zt,m as Bt,md as Vt,mo as Ht,nh as J,oh as Y,oo as Ut,p as Wt,ph as Gt,pi as Kt,po as qt,pr as Jt,q_ as Yt,qi as Xt,qt as Zt,rh as Qt,ro as $t,rs as en,ts as tn,u as nn,uf as rn,uo as an,w_ as on,wf as sn,wt as cn,xd as ln,xg as un,xn as dn,xr as fn,xt as pn,yn as mn,yt as hn,zo as gn,zt as _n}from"./index-B-RDC4LU.js";import{n as vn}from"./settings-nav-BKMVpc5b.js";import{B as yn,C as bn,I as xn,R as Sn,S as Cn,V as X,_ as wn,b as Tn,y as En,z as Dn}from"./resource-list-CC7zN47b.js";import{r as On,t as kn}from"./AddMachineDialog-BlVfh9PM.js";import{M as An,O as jn}from"./plugin-ui-DfbeKd73.js";import{t as Mn}from"./expandable-text-CtGFLpBX.js";import{t as Nn}from"./checkbox-5zZ_V1_F.js";import{t as Pn}from"./switch-B9nrFpZc.js";import{a as Fn,i as In,n as Ln,o as Rn,r as zn}from"./useLocalOpenTargets-DqjYzi0b.js";import{t as Bn}from"./file-opener-preference-B5sOAhVM.js";import{r as Vn,t as Hn}from"./machine-provider-queries-By9Ipha4.js";import{t as Un}from"./page-shell-ClYdhKtX.js";import{i as Wn,r as Gn}from"./audio-input-device-preference-BeKjzmnK.js";import{t as Kn}from"./shortcut-pill-DOMeVrnR.js";import{f as qn,n as Jn,p as Yn}from"./markdown-preview-Bfwf40CC.js";import{t as Xn}from"./lib-Cs9r5T_d.js";import{f as Zn,p as Qn}from"./ThreadTimelineNavigationContext-B_vg4bPl.js";import{t as $n}from"./search-flash-BgeOY2Uc.js";import{n as er,o as tr,s as nr,t as rr}from"./sortable.esm-DrqbbDDw.js";import{i as ir,r as ar}from"./code-rendering-A15j47Uy.js";import{n as or,t as sr}from"./use-reorder-dnd-B-xEV6w8.js";import{i as cr,t as lr}from"./localhost-link-rewrite-description-DfPXtfPs.js";import{n as ur}from"./NewThreadComposer-C2ZKRVh2.js";import{n as dr,r as fr,t as pr}from"./update-state-DCxKj9tm.js";import{a as mr,i as hr,o as gr,r as _r,s as vr}from"./host-mutations-Bf4idS3m.js";import{i as yr,l as br,n as xr,o as Sr,r as Cr,t as wr,u as Tr}from"./MachineRenameDialog-HGiXO0UG.js";import{a as Er,i as Dr,o as Or,t as kr}from"./ProjectsSettingsSection-DXHostGl.js";import"./icon-extended-C7x9E4W9.js";import{t as Ar}from"./root-compose-create-preference-z0-Xe1ss.js";import{PluginDetailPaneView as jr,a as Mr,i as Nr,n as Pr,o as Fr,r as Ir,t as Lr}from"./ToolsView-B8oDS6Ek.js";import{t as Rr}from"./ThreadUnarchiveButton-CnlHu7Dv.js";var Z=s(),Q=e(f(),1);function zr(e){let t=(0,Z.c)(7),{platform:n}=e,r=n===`ios`?16:20,i=n===`ios`?16:20,a=n===`ios`?`block -translate-y-px`:`block`,o=n===`ios`?`M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701`:`M18.4395 5.5586c-.675 1.1664-1.352 2.3318-2.0274 3.498-.0366-.0155-.0742-.0286-.1113-.043-1.8249-.6957-3.484-.8-4.42-.787-1.8551.0185-3.3544.4643-4.2597.8203-.084-.1494-1.7526-3.021-2.0215-3.4864a1.1451 1.1451 0 0 0-.1406-.1914c-.3312-.364-.9054-.4859-1.379-.203-.475.282-.7136.9361-.3886 1.5019 1.9466 3.3696-.0966-.2158 1.9473 3.3593.0172.031-.4946.2642-1.3926 1.0177C2.8987 12.176.452 14.772 0 18.9902h24c-.119-1.1108-.3686-2.099-.7461-3.0683-.7438-1.9118-1.8435-3.2928-2.7402-4.1836a12.1048 12.1048 0 0 0-2.1309-1.6875c.6594-1.122 1.312-2.2559 1.9649-3.3848.2077-.3615.1886-.7956-.0079-1.1191a1.1001 1.1001 0 0 0-.8515-.5332c-.5225-.0536-.9392.3128-1.0488.5449zm-.0391 8.461c.3944.5926.324 1.3306-.1563 1.6503-.4799.3197-1.188.0985-1.582-.4941-.3944-.5927-.324-1.3307.1563-1.6504.4727-.315 1.1812-.1086 1.582.4941zM7.207 13.5273c.4803.3197.5506 1.0577.1563 1.6504-.394.5926-1.1038.8138-1.584.4941-.48-.3197-.5503-1.0577-.1563-1.6504.4008-.6021 1.1087-.8106 1.584-.4941z`,s;t[0]===o?s=t[1]:(s=(0,Q.jsx)(`path`,{d:o}),t[0]=o,t[1]=s);let c;return t[2]!==r||t[3]!==i||t[4]!==a||t[5]!==s?(c=(0,Q.jsx)(`span`,{className:`flex size-5 shrink-0 items-center justify-center`,children:(0,Q.jsx)(`svg`,{viewBox:`0 0 24 24`,width:r,height:i,fill:`currentColor`,"aria-hidden":`true`,className:a,children:s})}),t[2]=r,t[3]=i,t[4]=a,t[5]=s,t[6]=c):c=t[6],c}function Br(){let e=(0,Z.c)(19),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={queryKey:[`system`,`mobile-app-releases`],queryFn:Hr,staleTime:3e5,retry:!1},e[0]=t):t=e[0];let n=u(t),r=n.data?.android,i=un()?.handshake,a=i?.platform===`android`?i:null,o,s;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h2`,{className:`text-base font-semibold`,children:`Mobile apps`}),(0,Q.jsx)(`p`,{className:`mt-1 text-sm text-subtle-foreground`,children:`Use bb from your phone`})]}),s=(0,Q.jsx)(On,{title:`Accessing bb from your phone`,children:Vr}),e[1]=o,e[2]=s):(o=e[1],s=e[2]);let c;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,Q.jsx)(zr,{platform:`ios`}),`iOS`]}),e[3]=c):c=e[3];let l;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsxs)(`p`,{className:`text-sm text-subtle-foreground`,children:[`Install`,` `,(0,Q.jsx)(`a`,{href:`https://apps.apple.com/app/testflight/id899247664`,target:`_blank`,rel:`noopener noreferrer`,className:`underline underline-offset-2`,children:`TestFlight`}),`, then join the bb beta to install the app on your iPhone.`]}),e[4]=l):l=e[4];let d;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsxs)(yn,{title:c,description:`Available through TestFlight`,bodyClassName:`space-y-4`,children:[l,(0,Q.jsx)(`a`,{href:Ee.ios,target:`_blank`,rel:`noopener noreferrer`,className:Qt(),children:`Join iOS TestFlight`})]}),e[5]=d):d=e[5];let f;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,Q.jsx)(zr,{platform:`android`}),`Android`]}),e[6]=f):f=e[6];let p,m;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Q.jsx)(`p`,{className:`text-sm text-subtle-foreground`,children:`Download the APK and open it on your phone to install. Allow installation from your browser if prompted.`}),m=(0,Q.jsx)(`p`,{className:`text-sm text-subtle-foreground`,children:`Google Play access is under review. For now, return here for updates.`}),e[7]=p,e[8]=m):(p=e[7],m=e[8]);let h;e[9]!==r||e[10]!==n.isPending?(h=a&&(0,Q.jsxs)(`div`,{className:`space-y-1 text-sm`,children:[(0,Q.jsxs)(`p`,{children:[`Installed: `,a.appVersion,a.androidVersionCode!==void 0&&` (build ${a.androidVersionCode})`]}),(0,Q.jsx)(`p`,{role:`status`,children:a.androidVersionCode===void 0?`This app does not report its build number. Download the latest APK to check for updates.`:n.isPending?`Checking for updates…`:r?a.androidVersionCode<r.versionCode?`Update available`:a.androidVersionCode===r.versionCode?`You’re up to date`:`You’re running a newer build than the latest published release`:`Unable to check for updates. You can still download the latest APK.`})]}),e[9]=r,e[10]=n.isPending,e[11]=h):h=e[11];let g;e[12]!==r||e[13]!==n.isPending?(g=r?(0,Q.jsxs)(`dl`,{className:`grid grid-cols-[auto_1fr] gap-x-4 gap-y-1 text-sm`,children:[(0,Q.jsx)(`dt`,{className:`text-subtle-foreground`,children:`Version`}),(0,Q.jsxs)(`dd`,{children:[r.version,` (build `,r.versionCode,`)`]}),(0,Q.jsx)(`dt`,{className:`text-subtle-foreground`,children:`Updated`}),(0,Q.jsx)(`dd`,{children:(0,Q.jsx)(`time`,{dateTime:r.updatedAt,children:new Date(r.updatedAt).toLocaleDateString(void 0,{year:`numeric`,month:`short`,day:`numeric`})})}),(0,Q.jsx)(`dt`,{className:`text-subtle-foreground`,children:`Download size`}),(0,Q.jsxs)(`dd`,{children:[Math.ceil(r.size/1024/1024),` MB`]})]}):(0,Q.jsx)(`p`,{className:`text-sm text-subtle-foreground`,role:`status`,children:n.isPending?`Checking the latest release…`:`Release details are unavailable. You can still download the APK.`}),e[12]=r,e[13]=n.isPending,e[14]=g):g=e[14];let _;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(`a`,{href:Ee.android,target:`_blank`,rel:`noopener noreferrer`,className:Qt(),children:`Download Android APK`}),e[15]=_):_=e[15];let v;return e[16]!==g||e[17]!==h?(v=(0,Q.jsxs)(`section`,{"aria-label":`Mobile app downloads`,className:`space-y-5`,children:[o,s,(0,Q.jsxs)(`div`,{className:`space-y-5`,children:[d,(0,Q.jsxs)(yn,{title:f,description:`Direct download for Android phones`,bodyClassName:`space-y-4`,children:[p,m,h,g,_]})]})]}),e[16]=g,e[17]=h,e[18]=v):v=e[18],v}function Vr(e){return(0,Q.jsx)(An,{pluginId:e})}function Hr(){return Vt.system.mobileAppReleases()}var $=e(d(),1);function Ur(){Ft(),fe(),se()}function Wr(e){y(Nt(e)),ye(e.resolvedCodeTheme),se()}function Gr(){let e=(0,Z.c)(4),t=p(),n=(0,$.useRef)(0),r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>()=>{n.current+=1,Ur()},i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,$.useEffect)(r,i);let a;return e[2]===t?a=e[3]:(a={prefetchThemes(e){for(let n of e)t.prefetchQuery(_e(n))},previewTheme(e){n.current+=1;let r=n.current;if(e===null){Ur();return}t.fetchQuery(_e(e)).then(e=>{n.current===r&&Wr(e)},Kr)}},e[2]=t,e[3]=a),a}function Kr(){}function qr(){let e=(0,Z.c)(3),t=p(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={errorMessage:`Could not change provider availability.`},e[0]=n):n=e[0];let r;return e[1]===t?r=e[2]:(r={meta:n,mutationFn:Jr,onSuccess:e=>H({queryClient:t,catalog:e})},e[1]=t,e[2]=r),i(r)}function Jr(e){return Vt.providers.setEnabled(e)}function Yr(e){return e===0?`ASAP`:`${e} minutes`}function Xr(e,t){if(t===null||e.length!==t.length||e.some(e=>!t.includes(e.id)))return e;let n=new Map(e.map(e=>[e.id,e]));return t.flatMap(e=>{let t=n.get(e);return t===void 0?[]:[t]})}function Zr(e,t,n){let r=e.indexOf(t),i=e.indexOf(n);return r===-1||i===-1||r===i?null:er([...e],r,i)}function Qr(e,t,n){let r=Object.fromEntries(Object.entries(e.providerCompletedTurnDisplay).filter(([e])=>e!==t.id));return{providerCompletedTurnDisplay:n===t.completedTurnDisplay?r:{...r,[t.id]:n}}}function $r(e){let t=(0,Z.c)(2),{provider:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Q.jsx)(`span`,{className:`flex size-5 shrink-0 items-center justify-center`,children:(0,Q.jsx)(hn,{providerKind:`agent`,provider:n,className:Te})}),t[0]=n,t[1]=r),r}function ei(e){let t=(0,Z.c)(20),{provider:n,enabled:r,isDefault:i,disabled:a,onToggle:o,onMakeDefault:s}=e,c=`Actions for ${n.displayName}`,l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Q.jsx)(q,{name:`MoreHorizontal`}),t[0]=l):l=t[0];let u;t[1]===c?u=t[2]:(u=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsx)(J,{variant:`ghost`,size:`icon`,className:`size-8 shrink-0 text-muted-foreground data-[state=open]:bg-state-active data-[state=open]:text-foreground`,"aria-label":c,children:l})}),t[1]=c,t[2]=u);let d;t[3]!==a||t[4]!==r||t[5]!==i||t[6]!==s?(d=r?(0,Q.jsx)(Ye,{checked:i,disabled:a||s===null,onCheckedChange:e=>{e&&s?.()},children:`Default`}):null,t[3]=a,t[4]=r,t[5]=i,t[6]=s,t[7]=d):d=t[7];let f=r?`destructive`:`default`,p=r?`Disable`:`Enable`,m;t[8]!==a||t[9]!==o||t[10]!==f||t[11]!==p?(m=(0,Q.jsx)(Se,{disabled:a,onSelect:o,variant:f,children:p}),t[8]=a,t[9]=o,t[10]=f,t[11]=p,t[12]=m):m=t[12];let h;t[13]!==n.displayName||t[14]!==d||t[15]!==m?(h=(0,Q.jsxs)(Ke,{align:`end`,mobileTitle:n.displayName,children:[d,m]}),t[13]=n.displayName,t[14]=d,t[15]=m,t[16]=h):h=t[16];let g;return t[17]!==u||t[18]!==h?(g=(0,Q.jsxs)(K,{children:[u,h]}),t[17]=u,t[18]=h,t[19]=g):g=t[19],g}function ti(e){let t=(0,Z.c)(32),{disabled:n,generalSettings:r,index:i,onGeneralSettingsChange:a,provider:o,onDisable:s}=e,c;t[0]!==n||t[1]!==o.displayName||t[2]!==o.id?(c={id:o.id,disabled:n,label:o.displayName},t[0]=n,t[1]=o.displayName,t[2]=o.id,t[3]=c):c=t[3];let{setNodeRef:l,style:u,isDragging:d,handle:f}=Er(c),p=r.defaultProviderId===o.id||r.defaultProviderId===null&&i===0,m=d&&`relative z-10 rounded-md bg-card opacity-90 shadow-lift`,h;t[4]===m?h=t[5]:(h=Y(`group/provider-row`,m),t[4]=m,t[5]=h);let g;t[6]===o?g=t[7]:(g=(0,Q.jsx)($r,{provider:o}),t[6]=o,t[7]=g);let _;t[8]===o.displayName?_=t[9]:(_=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-medium`,children:o.displayName}),t[8]=o.displayName,t[9]=_);let v;t[10]!==p||t[11]!==o.available?(v=o.available?p?(0,Q.jsx)(xn,{children:`Default`}):null:(0,Q.jsx)(xn,{children:`Unavailable`}),t[10]=p,t[11]=o.available,t[12]=v):v=t[12];let y;t[13]!==a||t[14]!==o.available||t[15]!==o.id?(y=o.available?()=>{a({defaultProviderId:o.id})}:null,t[13]=a,t[14]=o.available,t[15]=o.id,t[16]=y):y=t[16];let b;t[17]!==n||t[18]!==p||t[19]!==s||t[20]!==o||t[21]!==y?(b=(0,Q.jsx)(ei,{provider:o,enabled:!0,isDefault:p,disabled:n,onToggle:s,onMakeDefault:y}),t[17]=n,t[18]=p,t[19]=s,t[20]=o,t[21]=y,t[22]=b):b=t[22];let x;return t[23]!==f||t[24]!==l||t[25]!==u||t[26]!==h||t[27]!==g||t[28]!==_||t[29]!==v||t[30]!==b?(x=(0,Q.jsxs)(Sn,{ref:l,style:u,className:h,children:[f,g,_,v,b]}),t[23]=f,t[24]=l,t[25]=u,t[26]=h,t[27]=g,t[28]=_,t[29]=v,t[30]=b,t[31]=x):x=t[31],x}function ni(e){let t=(0,Z.c)(17),{disabled:n,generalSettings:r,onGeneralSettingsChange:i,provider:a}=e,o=r.providerCompletedTurnDisplay[a.id]??a.completedTurnDisplay,s;t[0]===a?s=t[1]:(s=(0,Q.jsx)($r,{provider:a}),t[0]=a,t[1]=s);let c;t[2]===a.displayName?c=t[3]:(c=(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-medium`,children:a.displayName}),t[2]=a.displayName,t[3]=c);let l=o===`collapse`,u=`Collapse finished ${a.displayName} turns`,d;t[4]!==r||t[5]!==i||t[6]!==a?(d=e=>i(Qr(r,a,e?`collapse`:`flat`)),t[4]=r,t[5]=i,t[6]=a,t[7]=d):d=t[7];let f;t[8]!==n||t[9]!==l||t[10]!==u||t[11]!==d?(f=(0,Q.jsx)(Pn,{checked:l,disabled:n,"aria-label":u,onCheckedChange:d}),t[8]=n,t[9]=l,t[10]=u,t[11]=d,t[12]=f):f=t[12];let p;return t[13]!==s||t[14]!==c||t[15]!==f?(p=(0,Q.jsxs)(Sn,{children:[s,c,f]}),t[13]=s,t[14]=c,t[15]=f,t[16]=p):p=t[16],p}function ri(e){let t=(0,Z.c)(32),{disabled:n,generalSettings:r,onGeneralSettingsChange:i}=e,a=gn(),o=ee(),s=qr(),c=(o.data??[]).filter(oi),l=n||s.isPending,u=a.data??[],[d,f]=(0,$.useState)(null),p=Xr(u,d),m=p.map(ai),h=a.isPending?(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading providers…`}):p.length===0&&c.length===0?(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No providers available. Install a provider plugin in Settings → Plugins.`}):(0,Q.jsxs)(Dr,{ids:m,disabled:n,onReorder:(e,t)=>{let n=Zr(m,e,t);if(n===null)return;f(n);let r;try{r=i({providerOrder:n})}catch{f(null);return}Promise.resolve(r).catch(ii).finally(()=>f(null))},children:[p.map((e,t)=>(0,Q.jsx)(ti,{disabled:l,onDisable:()=>s.mutate({providerId:e.id,enabled:!1}),generalSettings:r,index:t,onGeneralSettingsChange:i,provider:e},e.id)),c.map(e=>(0,Q.jsxs)(Sn,{className:`text-muted-foreground`,children:[(0,Q.jsx)(`span`,{className:`-ml-2 w-7 shrink-0`,"aria-hidden":`true`}),(0,Q.jsx)(`span`,{className:`shrink-0 opacity-60 grayscale`,children:(0,Q.jsx)($r,{provider:e.info??e})}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate font-medium`,children:e.displayName}),(0,Q.jsx)(xn,{children:`Disabled`}),(0,Q.jsx)(ei,{provider:e,enabled:!1,isDefault:!1,disabled:l,onToggle:()=>s.mutate({providerId:e.id,enabled:!0}),onMakeDefault:null})]},e.id))]}),g;t[0]===h?g=t[1]:(g=(0,Q.jsx)(yn,{title:`Providers`,description:`Choose which agents you use in BB. Drag to reorder them in provider pickers.`,children:h}),t[0]=h,t[1]=g);let _=yn,v;t[2]===i?v=t[3]:(v=e=>i({allowFastServiceTier:e}),t[2]=i,t[3]=v);let y;t[4]!==n||t[5]!==r.allowFastServiceTier||t[6]!==v?(y=(0,Q.jsx)(X,{label:`Allow faster service tiers`,description:`Turn this off to use the default service tier for all new turns, including those from queued messages and automations.`,children:(0,Q.jsx)(Pn,{checked:r.allowFastServiceTier,disabled:n,onCheckedChange:v,"aria-label":`Allow faster service tiers`})}),t[4]=n,t[5]=r.allowFastServiceTier,t[6]=v,t[7]=y):y=t[7];let b;t[8]===r.idleProviderSessionTimeoutMinutes?b=t[9]:(b=Yr(r.idleProviderSessionTimeoutMinutes),t[8]=r.idleProviderSessionTimeoutMinutes,t[9]=b);let x;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[10]=x):x=t[10];let S;t[11]!==n||t[12]!==b?(S=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:Fr,disabled:n,"aria-label":`Release idle agent sessions`,children:[b,x]})}),t[11]=n,t[12]=b,t[13]=S):S=t[13];let C;t[14]!==r.idleProviderSessionTimeoutMinutes||t[15]!==i?(C=qe.map(e=>(0,Q.jsxs)(Se,{onSelect:()=>i({idleProviderSessionTimeoutMinutes:e}),children:[Yr(e),e===Ge.idleProviderSessionTimeoutMinutes?` (default)`:null,(0,Q.jsx)(q,{name:`Check`,className:Y(`ml-auto`,e!==r.idleProviderSessionTimeoutMinutes&&`opacity-0`,Te)})]},e)),t[14]=r.idleProviderSessionTimeoutMinutes,t[15]=i,t[16]=C):C=t[16];let w;t[17]===C?w=t[18]:(w=(0,Q.jsx)(Ke,{align:`end`,className:Mr,children:C}),t[17]=C,t[18]=w);let T;t[19]!==w||t[20]!==S?(T=(0,Q.jsx)(X,{label:`Release idle agent sessions`,description:`Stop agents that have been idle this long to free memory. Threads keep their history and pick up on your next message. Checked every 5 minutes.`,children:(0,Q.jsxs)(K,{children:[S,w]})}),t[19]=w,t[20]=S,t[21]=T):T=t[21];let E;t[22]!==T||t[23]!==y?(E=(0,Q.jsxs)(`div`,{className:`space-y-5`,children:[y,T]}),t[22]=T,t[23]=y,t[24]=E):E=t[24];let D=p.length===0?null:(0,Q.jsxs)(`div`,{className:`mt-4 space-y-3 border-t border-border pt-4`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h3`,{className:`text-sm font-medium text-foreground`,children:`Collapse finished turns`}),(0,Q.jsx)(`p`,{className:`mt-0.5 text-xs leading-snug text-subtle-foreground/75`,children:`When a turn finishes, fold its work into one Worked for row and keep the final answer visible. Turn off collapsing to keep every step of a finished turn visible.`})]}),(0,Q.jsx)(Dn,{children:p.map(e=>(0,Q.jsx)(ni,{disabled:n,generalSettings:r,onGeneralSettingsChange:i,provider:e},e.id))})]}),O;t[25]!==_||t[26]!==E||t[27]!==D?(O=(0,Q.jsxs)(_,{title:`Configuration`,children:[E,D]}),t[25]=_,t[26]=E,t[27]=D,t[28]=O):O=t[28];let k;return t[29]!==O||t[30]!==g?(k=(0,Q.jsxs)(Q.Fragment,{children:[g,O]}),t[29]=O,t[30]=g,t[31]=k):k=t[31],k}function ii(){}function ai(e){return e.id}function oi(e){return!e.enabled||!e.pluginEnabled}function si(e){let t=(0,Z.c)(26),{label:n,description:r,triggerAriaLabel:i,options:a,selected:o,onSelect:s,disabled:c,children:l}=e,u=c===void 0?!1:c,d;t[0]===o.title?d=t[1]:(d=(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:o.title}),t[0]=o.title,t[1]=d);let f;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[2]=f):f=t[2];let p;t[3]!==u||t[4]!==d||t[5]!==i?(p=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:`min-w-0 flex-1 justify-between @min-[36rem]/settings:w-40 @min-[36rem]/settings:flex-none`,"aria-label":i,disabled:u,children:[d,f]})}),t[3]=u,t[4]=d,t[5]=i,t[6]=p):p=t[6];let m;if(t[7]!==s||t[8]!==a||t[9]!==o.key){let e;t[11]!==s||t[12]!==o.key?(e=e=>(0,Q.jsxs)(Se,{disabled:e.disabled,onSelect:()=>s(e.key),className:`flex items-start gap-2`,children:[(0,Q.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,Q.jsx)(`span`,{className:`truncate`,children:e.title}),(0,Q.jsx)(`span`,{className:`whitespace-normal break-words text-xs text-muted-foreground`,children:e.description})]}),(0,Q.jsx)(q,{name:`Check`,className:Y(`ml-auto mt-0.5`,o.key!==e.key&&`opacity-0`,Te)})]},e.key),t[11]=s,t[12]=o.key,t[13]=e):e=t[13],m=a.map(e),t[7]=s,t[8]=a,t[9]=o.key,t[10]=m}else m=t[10];let h;t[14]===m?h=t[15]:(h=(0,Q.jsx)(Ke,{align:`end`,className:`w-72`,children:m}),t[14]=m,t[15]=h);let g;t[16]!==p||t[17]!==h?(g=(0,Q.jsxs)(K,{children:[p,h]}),t[16]=p,t[17]=h,t[18]=g):g=t[18];let _;t[19]!==l||t[20]!==g?(_=(0,Q.jsxs)(`div`,{className:`flex w-full min-w-0 items-center gap-2 @min-[36rem]/settings:w-auto`,children:[g,l]}),t[19]=l,t[20]=g,t[21]=_):_=t[21];let v;return t[22]!==r||t[23]!==n||t[24]!==_?(v=(0,Q.jsx)(X,{label:n,description:r,children:_}),t[22]=r,t[23]=n,t[24]=_,t[25]=v):v=t[25],v}function ci(e){let t=(0,Z.c)(44),{label:n,description:r,triggerAriaLabel:i,builtInDescription:a,allowAutomatic:o,preferenceAtom:s,slots:l}=e,u=o===void 0?!0:o,[d,f]=c(s),p=Pe(),m;t[0]===p?m=t[1]:(m=e=>p.has(e.pluginId),t[0]=p,t[1]=m);let h=m,g,_,v,y,b;if(t[2]!==p||t[3]!==h||t[4]!==l){b=Symbol.for(`react.early_return_sentinel`);bb0:{let e=ht(l,p);if(e===void 0){b=null;break bb0}v=Qe,y=`Automatic`,g=e.title,_=h(e)?`built-in`:e.pluginId}t[2]=p,t[3]=h,t[4]=l,t[5]=g,t[6]=_,t[7]=v,t[8]=y,t[9]=b}else g=t[5],_=t[6],v=t[7],y=t[8],b=t[9];if(b!==Symbol.for(`react.early_return_sentinel`))return b;let x=`Chooses ${g} (${_}).`,S;t[10]!==v||t[11]!==y||t[12]!==x?(S={key:v,title:y,description:x},t[10]=v,t[11]=y,t[12]=x,t[13]=S):S=t[13];let C=S,w;t[14]===a?w=t[15]:(w=a===void 0?null:{key:Ce,title:`bb (built-in)`,description:a},t[14]=a,t[15]=w);let T=w,E;t[16]===h?E=t[17]:(E=e=>h(e)?{key:tn(e),title:`${e.title} (built-in)`,description:e.description??``}:{key:tn(e),title:e.title,description:e.description===void 0?`From the ${e.pluginId} plugin.`:`${e.pluginId} plugin. ${e.description}`},t[16]=h,t[17]=E);let D=E,O;t[18]!==u||t[19]!==C?(O=u?[C]:[],t[18]=u,t[19]=C,t[20]=O):O=t[20];let k;if(t[21]!==T||t[22]!==h||t[23]!==D||t[24]!==l||t[25]!==O){let e;t[27]===h?e=t[28]:(e=e=>!h(e),t[27]=h,t[28]=e);let n;t[29]===T?n=t[30]:(n=T===null?[]:[T],t[29]=T,t[30]=n),k=[...O,...l.filter(e).map(D),...l.filter(h).map(D),...n],t[21]=T,t[22]=h,t[23]=D,t[24]=l,t[25]=O,t[26]=k}else k=t[26];let A=k,j;t[31]!==u||t[32]!==C||t[33]!==T||t[34]!==A||t[35]!==d?(j=A.find(e=>e.key===d)??T??(u?C:{key:d,title:`Unavailable plugin`}),t[31]=u,t[32]=C,t[33]=T,t[34]=A,t[35]=d,t[36]=j):j=t[36];let M=j,N;return t[37]!==r||t[38]!==n||t[39]!==A||t[40]!==M||t[41]!==f||t[42]!==i?(N=(0,Q.jsx)(si,{label:n,description:r,triggerAriaLabel:i,options:A,selected:M,onSelect:f}),t[37]=r,t[38]=n,t[39]=A,t[40]=M,t[41]=f,t[42]=i,t[43]=N):N=t[43],N}function li(){let e=(0,Z.c)(10),{sourceCodeRenderers:t,diffRenderers:n,composers:r}=A(),i;e[0]===t?i=e[1]:(i=(0,Q.jsx)(ci,{label:`Source code`,triggerAriaLabel:`Source code`,description:`Choose automatic activation, BB's viewer, or a specific plugin on this device.`,builtInDescription:`Syntax highlighting and gutters from the bb code theme.`,preferenceAtom:ir,slots:t}),e[0]=t,e[1]=i);let a;e[2]===n?a=e[3]:(a=(0,Q.jsx)(ci,{label:`Diffs`,triggerAriaLabel:`Diffs`,description:`Applies to file diffs in threads, the diff panel, and plugin views.`,builtInDescription:`Unified and split diffs from the bb code theme.`,preferenceAtom:ar,slots:n}),e[2]=n,e[3]=a);let o;e[4]===r?o=e[5]:(o=(0,Q.jsx)(ci,{label:`Composer`,triggerAriaLabel:`Composer`,description:`The prompt box in threads, the New thread screen, and message editors.`,preferenceAtom:h,slots:r}),e[4]=r,e[5]=o);let s;return e[6]!==i||e[7]!==a||e[8]!==o?(s=(0,Q.jsxs)(Q.Fragment,{children:[i,a,o]}),e[6]=i,e[7]=a,e[8]=o,e[9]=s):s=e[9],s}function ui(){let e=(0,Z.c)(2),{threadLists:t}=A(),n;return e[0]===t?n=e[1]:(n=(0,Q.jsx)(ci,{label:`Sidebar thread list`,triggerAriaLabel:`Sidebar thread list`,description:`Which plugin draws your threads in the sidebar.`,preferenceAtom:Ct,slots:t}),e[0]=t,e[1]=n),n}function di(){let e=(0,Z.c)(2),{homes:t}=A(),n;return e[0]===t?n=e[1]:(n=(0,Q.jsx)(ci,{label:`Home page`,triggerAriaLabel:`Home page`,description:`Which page opens at home. New thread is always at /new.`,builtInDescription:`bb's new-thread page.`,preferenceAtom:Ne,slots:t}),e[0]=t,e[1]=n),n}function fi(){let e=(0,Z.c)(2),{experimentalSidebarNavigations:t}=A(),n;return e[0]===t?n=e[1]:(n=(0,Q.jsx)(ci,{label:`Navigation`,triggerAriaLabel:`Sidebar navigation`,description:`What draws New thread, Plugins, Skills, and plugin pages in the sidebar.`,preferenceAtom:yt,slots:t}),e[0]=t,e[1]=n),n}function pi(){let e=(0,Z.c)(15),t=ut(),n;e[0]===t?n=e[1]:(n={onDragEnd(e){typeof e.active.id==`string`&&typeof e.over?.id==`string`&&t.move(e.active.id,e.over.id)}},e[0]=t,e[1]=n);let{dndContextProps:r,onClickCapture:i}=sr(n),a;e[2]===t.items?a=e[3]:(a=t.items.map(mi),e[2]=t.items,e[3]=a);let o;e[4]===t?o=e[5]:(o=t.items.map(e=>(0,Q.jsx)(hi,{item:e,visible:t.footer.includes(e),disabled:t.isFull&&!t.footer.includes(e),onVisibleChange:n=>n?t.addToFooter(e.key):t.hideFromFooter(e.key)},e.key)),e[4]=t,e[5]=o);let s;e[6]!==a||e[7]!==o?(s=(0,Q.jsx)(rr,{items:a,strategy:tr,children:o}),e[6]=a,e[7]=o,e[8]=s):s=e[8];let c;e[9]!==r||e[10]!==s?(c=(0,Q.jsx)(nr,{...r,children:s}),e[9]=r,e[10]=s,e[11]=c):c=e[11];let l;return e[12]!==i||e[13]!==c?(l=(0,Q.jsx)(X,{label:`Sidebar footer`,description:`Drag to reorder.`,controlPlacement:`below`,children:(0,Q.jsx)(`div`,{className:`rounded-md border border-border`,onClickCapture:i,children:c})}),e[12]=i,e[13]=c,e[14]=l):l=e[14],l}function mi(e){return e.key}function hi({item:e,visible:t,disabled:n,onVisibleChange:r}){let{dragBindings:i,setNodeRef:a,style:o}=or({id:e.key,disabled:!1});return(0,Q.jsxs)(`div`,{ref:a,style:o,className:`flex items-center gap-2 border-b border-border px-2 py-2 last:border-b-0`,"data-footer-setting":e.key,children:[(0,Q.jsx)(J,{variant:`ghost`,size:`icon`,className:`size-7 touch-none text-muted-foreground`,ref:i.setActivatorNodeRef,...i.attributes,...i.listeners,"aria-label":`Reorder ${e.label}`,children:(0,Q.jsx)(q,{name:`DragDropVertical`,className:`size-4`})}),(0,Q.jsx)(v,{item:e}),(0,Q.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-sm`,children:e.label}),(0,Q.jsx)(Pn,{checked:t,disabled:n,onCheckedChange:r,"aria-label":`Show ${e.label} in footer`})]})}var gi=`Fade inactive splits`;function _i(){let e=(0,Z.c)(3),[t,n]=c(Tt),r;return e[0]!==t||e[1]!==n?(r=(0,Q.jsx)(X,{label:gi,description:`Fade out splits that do not have focus.`,children:(0,Q.jsx)(Pn,{checked:t,onCheckedChange:n,"aria-label":gi})}),e[0]=t,e[1]=n,e[2]=r):r=e[2],r}var vi=5e3;function yi(e){for(let t of document.querySelectorAll(`[data-settings-anchor]`))if(t.dataset.settingsAnchor===e)return t;return null}function bi(e){let t=yi(e);return t===null?!1:(t.scrollIntoView({block:t.tagName===`SECTION`?`start`:`center`}),$n(t),!0)}function xi(){let e=(0,Z.c)(8),t=a(),r=n(),i;e[0]!==t.state||e[1]!==r?(i=r===`POP`?null:cr(t.state),e[0]=t.state,e[1]=r,e[2]=i):i=e[2];let o=i,s=t.key,c;e[3]===o?c=e[4]:(c=()=>{if(o===null||bi(o))return;let e=()=>{t.disconnect(),window.clearTimeout(n)},t=new MutationObserver(()=>{bi(o)&&e()}),n=window.setTimeout(e,vi);return t.observe(document.body,{childList:!0,subtree:!0}),e},e[3]=o,e[4]=c);let l;e[5]!==o||e[6]!==s?(l=[o,s],e[5]=o,e[6]=s,e[7]=l):l=e[7],(0,$.useEffect)(c,l)}var Si=`__automatic__`,Ci=`Built-in preview`;function wi(){let e=(0,Z.c)(13),{fileOpeners:t}=A(),[n,r]=Bn(),i;e[0]===t?i=e[1]:(i=[...new Set(t.flatMap(Ti))].sort(),e[0]=t,e[1]=i);let a=i;if(a.length===0)return null;let o;if(e[2]!==a||e[3]!==t||e[4]!==n||e[5]!==r){let i;e[7]!==t||e[8]!==n||e[9]!==r?(i=e=>(0,Q.jsx)(Ei,{extension:e,openers:t.filter(t=>t.extensions.includes(e)),preference:n[e]??Si,onSelect:t=>r(n=>{let r={...n};return t===Si?delete r[e]:r[e]=t,r})},e),e[7]=t,e[8]=n,e[9]=r,e[10]=i):i=e[10],o=a.map(i),e[2]=a,e[3]=t,e[4]=n,e[5]=r,e[6]=o}else o=e[6];let s;return e[11]===o?s=e[12]:(s=(0,Q.jsx)(yn,{title:`File openers`,description:`Automatically use matching plugins, or choose a viewer for each file type. Right-click a file link for a one-off choice.`,children:(0,Q.jsx)(`div`,{className:`space-y-5`,children:o})}),e[11]=o,e[12]=s),s}function Ti(e){return e.extensions}function Ei(e){let t=(0,Z.c)(25),{extension:n,onSelect:r,openers:i,preference:a}=e,o=i[0];if(o===void 0)return null;let s=`Automatic (${o.title})`,c;t[0]===s?c=t[1]:(c={key:Si,label:s},t[0]=s,t[1]=c);let l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l={key:en,label:Ci},t[2]=l):l=t[2];let u;t[3]!==i||t[4]!==c?(u=[c,l,...i.map(Di)],t[3]=i,t[4]=c,t[5]=u):u=t[5];let d=u,f;t[6]!==d||t[7]!==a?(f=d.find(e=>e.key===a)??d[1],t[6]=d,t[7]=a,t[8]=f):f=t[8];let p=f;if(p===void 0)return null;let m=`.${n} files`,h=`Default opener for .${n} files`,g;t[9]===p.label?g=t[10]:(g=(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:p.label}),t[9]=p.label,t[10]=g);let _;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[11]=_):_=t[11];let v;t[12]!==h||t[13]!==g?(v=(0,Q.jsx)(At,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:Fr,"aria-label":h,children:[g,_]})}),t[12]=h,t[13]=g,t[14]=v):v=t[14];let y;t[15]!==r||t[16]!==d||t[17]!==p.key?(y=(0,Q.jsx)(Ke,{align:`end`,className:Mr,children:d.map(e=>(0,Q.jsxs)(Se,{onSelect:()=>r(e.key),children:[(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:e.label}),(0,Q.jsx)(q,{name:`Check`,className:Y(`ml-auto`,p.key!==e.key&&`opacity-0`,Te)})]},e.key))}),t[15]=r,t[16]=d,t[17]=p.key,t[18]=y):y=t[18];let b;t[19]!==v||t[20]!==y?(b=(0,Q.jsxs)(K,{children:[v,y]}),t[19]=v,t[20]=y,t[21]=b):b=t[21];let x;return t[22]!==b||t[23]!==m?(x=(0,Q.jsx)(X,{label:m,children:b}),t[22]=b,t[23]=m,t[24]=x):x=t[24],x}function Di(e){return{key:Mt(e),label:`${e.title} (${e.pluginId})`}}var Oi=`System default`,ki=`Microphone`;function Ai({devices:e,isSupported:t,preferredDeviceId:n}){return t?n===null?Oi:e.find(e=>e.deviceId===n)?.label??Oi:`Unsupported`}function ji({devices:e,errorMessage:t,isLoading:n,isSupported:r,preferredDeviceId:i,onRequestAccess:a}){return r?n?`Loading microphones.`:t===null?e.length===0?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`button`,{type:`button`,className:`rounded-sm underline underline-offset-2 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,onClick:a,children:`Check microphone access`}),` `,`to see available devices.`]}):i!==null&&e.every(e=>e.deviceId!==i)?`Preferred microphone is disconnected. Using another input until it reconnects.`:`Used for prompt voice input.`:t:`This browser does not expose microphone devices.`}function Mi(e){let t=(0,Z.c)(50),{devices:n,errorMessage:r,isLoading:i,isSupported:a,onRefresh:o,preferredDeviceId:s}=e,[c,l]=(0,$.useState)(!1),u;t[0]!==n||t[1]!==a||t[2]!==s?(u=Ai({devices:n,isSupported:a,preferredDeviceId:s}),t[0]=n,t[1]=a,t[2]=s,t[3]=u):u=t[3];let d=u,f=!a||i,p;t[4]===o?p=t[5]:(p=()=>o(!0),t[4]=o,t[5]=p);let m=i?`Loading microphones`:`Load microphones`,h=i&&`animate-spin`,g;t[6]===h?g=t[7]:(g=Y(`size-3.5`,h),t[6]=h,t[7]=g);let _;t[8]===g?_=t[9]:(_=(0,Q.jsx)(q,{name:`RotateCcw`,className:g}),t[8]=g,t[9]=_);let v;t[10]!==f||t[11]!==p||t[12]!==m||t[13]!==_?(v=(0,Q.jsx)(Le,{asChild:!0,children:(0,Q.jsx)(J,{variant:`ghost`,size:`icon`,className:`size-7 text-muted-foreground hover:text-foreground`,disabled:f,onClick:p,"aria-label":m,children:_})}),t[10]=f,t[11]=p,t[12]=m,t[13]=_,t[14]=v):v=t[14];let y;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Q.jsx)(k,{side:`bottom`,children:`Load microphones`}),t[15]=y):y=t[15];let x;t[16]===v?x=t[17]:(x=(0,Q.jsxs)(je,{delayDuration:300,disableHoverableContent:!0,children:[v,y]}),t[16]=v,t[17]=x);let S;t[18]===o?S=t[19]:(S=()=>o(!0),t[18]=o,t[19]=S);let C;t[20]!==n||t[21]!==r||t[22]!==i||t[23]!==a||t[24]!==s||t[25]!==S?(C=ji({onRequestAccess:S,devices:n,errorMessage:r,isLoading:i,isSupported:a,preferredDeviceId:s}),t[20]=n,t[21]=r,t[22]=i,t[23]=a,t[24]=s,t[25]=S,t[26]=C):C=t[26];let w;t[27]===o?w=t[28]:(w=e=>{l(e),o(!1)},t[27]=o,t[28]=w);let T=!a,E;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,Q.jsx)(q,{name:`Mic`,className:`size-3.5 shrink-0`}),t[29]=E):E=t[29];let D;t[30]===d?D=t[31]:(D=(0,Q.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[E,(0,Q.jsx)(`span`,{className:`min-w-0 truncate`,children:d})]}),t[30]=d,t[31]=D);let O;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,Q.jsx)(q,{name:`ChevronDown`,className:`size-3.5 text-muted-foreground`}),t[32]=O):O=t[32];let A;t[33]!==T||t[34]!==D?(A=(0,Q.jsx)(me,{asChild:!0,children:(0,Q.jsxs)(J,{variant:`outline`,size:`sm`,className:Fr,...Qn.intentProps,"aria-label":ki,disabled:T,children:[D,O]})}),t[33]=T,t[34]=D,t[35]=A):A=t[35];let j;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(j=()=>l(!1),t[36]=j):j=t[36];let M;t[37]===c?M=t[38]:(M=(0,Q.jsx)(Zn,{open:c,onClose:j,warning:null,align:`end`,side:`bottom`}),t[37]=c,t[38]=M);let N;t[39]!==c||t[40]!==w||t[41]!==A||t[42]!==M?(N=(0,Q.jsxs)(b,{open:c,onOpenChange:w,children:[A,M]}),t[39]=c,t[40]=w,t[41]=A,t[42]=M,t[43]=N):N=t[43];let P;t[44]!==C||t[45]!==N?(P=(0,Q.jsx)(X,{label:ki,description:C,children:N}),t[44]=C,t[45]=N,t[46]=P):P=t[46];let F;return t[47]!==x||t[48]!==P?(F=(0,Q.jsx)(yn,{title:`Voice Input`,actionPlacement:`inline`,action:x,children:P}),t[47]=x,t[48]=P,t[49]=F):F=t[49],F}function Ni(){let e=(0,Z.c)(9),t=Gn(),{devices:n,errorMessage:r,isLoading:i,isSupported:a,refresh:o}=Wn(),s;e[0]===o?s=e[1]:(s=e=>{o({requestPermission:e})},e[0]=o,e[1]=s);let c;return e[2]!==n||e[3]!==r||e[4]!==i||e[5]!==a||e[6]!==t||e[7]!==s?(c=(0,Q.jsx)(Mi,{devices:n,errorMessage:r,isLoading:i,isSupported:a,onRefresh:s,preferredDeviceId:t}),e[2]=n,e[3]=r,e[4]=i,e[5]=a,e[6]=t,e[7]=s,e[8]=c):c=e[8],c}var Pi=`automatic`,Fi=`off`,Ii=[{task:`thread-title`,label:`Thread titles`,hint:`Branch names follow the title.`,offDescription:`Titles use the start of the prompt.`,testTask:`thread-title`},{task:`commit-message`,label:`Commit messages`,hint:`Written when you use the Commit action.`,offDescription:`Commits say “bb: automated commit”.`,testTask:`commit-message`},{task:`voice`,label:`Voice input`,hint:`Transcribes the microphone in the composer.`,offDescription:`Hides the microphone.`,testTask:null}];function Li(e){return`service:${e.pluginId}:${e.id}`}function Ri(e){return e.mode===`service`?Li({id:e.serviceId,pluginId:e.pluginId}):e.mode}function zi(e,t){return e.services.filter(e=>e.automaticRank!==null&&e.tasks.includes(t)&&e.status.ready).sort((e,t)=>(e.automaticRank??0)-(t.automaticRank??0))[0]??null}function Bi(e){return e.status.ready?`From the ${e.pluginId} plugin.`:e.status.message}function Vi(e,t){let n=zi(e,t.task);return[{key:Pi,title:`Automatic`,description:n===null?`Nothing bb ships is ready right now.`:`Currently using ${n.displayName}.`},...e.services.filter(e=>e.tasks.includes(t.task)).map(e=>({key:Li(e),title:e.displayName,description:Bi(e)})),{key:Fi,title:`Off`,description:t.offDescription}]}function Hi(e,t){if(t===Pi)return{mode:`automatic`};if(t===Fi)return{mode:`off`};let n=e.services.find(e=>Li(e)===t);return n===void 0?null:{mode:`service`,pluginId:n.pluginId,serviceId:n.id}}function Ui(e,t,n){let r=e.selections[t.task],i=``;if(r.mode===`automatic`){let n=zi(e,t.task);i=n===null?` Nothing is ready, so bb falls back.`:` Using ${n.displayName}.`}else if(r.mode===`service`){let t=e.services.find(e=>e.id===r.serviceId&&e.pluginId===r.pluginId);i=t===void 0?` The ${r.pluginId} plugin is not loaded.`:t.status.ready?``:` ${t.status.message}`}let a=n===void 0?``:n.ok?` Test: “${n.text}” from ${n.displayName} in ${n.durationMs} ms.`:` Test failed: ${n.message}`;return`${t.hint}${i}${a}`}function Wi(){let e=p(),t=he(),[n,r]=(0,$.useState)({}),a=i({meta:{showErrorToast:!1},mutationFn:e=>Vt.system.setAiServiceSelection(e),onSuccess:t=>{Me(e,t)},onError:e=>{Xe.error(`Changing the AI service failed`,{description:e instanceof Error?e.message:void 0})}}),o=i({meta:{showErrorToast:!1},mutationFn:e=>Vt.system.testAiService({task:e}),onSuccess:(e,t)=>{r(n=>({...n,[t]:e}))},onError:(e,t)=>{let n=e instanceof Error&&e.message.trim().length>0?e.message:`The request failed`;r(e=>({...e,[t]:{ok:!1,message:n}}))}}),s=t.data;return(0,Q.jsx)(yn,{title:`AI services`,description:`Choose services for thread titles, commit messages, and voice input. Automatic prefers bb cloud, then other available services. A service you choose stays selected.`,children:(0,Q.jsx)(`div`,{className:`space-y-5`,children:Ii.map(e=>{if(s===void 0)return(0,Q.jsx)(si,{label:e.label,description:e.hint,triggerAriaLabel:e.label,options:[],selected:{key:Pi,title:`Loading`},onSelect:()=>void 0,disabled:!0},e.task);let t=Vi(s,e),i=Ri(s.selections[e.task]),c=t.find(e=>e.key===i)??{key:i,title:`Unavailable plugin`},l=e.testTask;return(0,Q.jsx)(si,{label:e.label,description:Ui(s,e,l===null?void 0:n[l]),triggerAriaLabel:e.label,options:t,selected:c,disabled:a.isPending,onSelect:t=>{let n=Hi(s,t);n!==null&&(r(e=>{if(l===null)return e;let{[l]:t,...n}=e;return n}),a.mutate({task:e.task,selection:n}))},children:l===null?null:(0,Q.jsx)(J,{variant:`ghost`,size:`sm`,"aria-label":`Test ${e.label.toLowerCase()}`,disabled:o.isPending,onClick:()=>o.mutate(l),children:o.isPending&&o.variables===l?`Testing…`:`Test`})},e.task)})})})}var Gi=`https://discord.gg/kvBU6tJhcJ`,Ki=`https://github.com/get-bb/bb`;function qi(e){let t=(0,Z.c)(16),{description:n,href:r,icon:i,iconClassName:a,label:o,openLabel:s}=e,c;t[0]===r?c=t[1]:(c=()=>{xt(r)},t[0]=r,t[1]=c);let l;t[2]===a?l=t[3]:(l=Y(`size-3.5 shrink-0`,a),t[2]=a,t[3]=l);let u;t[4]!==i||t[5]!==l?(u=(0,Q.jsx)(q,{name:i,className:l}),t[4]=i,t[5]=l,t[6]=u):u=t[6];let d;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Q.jsx)(q,{name:`ExternalLink`,className:`size-3 shrink-0 text-muted-foreground`}),t[7]=d):d=t[7];let f;t[8]!==s||t[9]!==c||t[10]!==u?(f=(0,Q.jsxs)(J,{type:`button`,variant:`outline`,size:`sm`,className:`h-7 gap-1.5 px-2.5 text-xs`,"aria-label":s,onClick:c,children:[u,s,d]}),t[8]=s,t[9]=c,t[10]=u,t[11]=f):f=t[11];let p;return t[12]!==n||t[13]!==o||t[14]!==f?(p=(0,Q.jsx)(X,{label:o,description:n,children:f}),t[12]=n,t[13]=o,t[14]=f,t[15]=p):p=t[15],p}function Ji(){let e=(0,Z.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(yn,{title:`Community`,description:`Chat with other bb users and follow development on GitHub.`,children:(0,Q.jsxs)(`div`,{className:`space-y-5`,children:[(0,Q.jsx)(qi,{label:`Discord`,description:`Join the server for support, feedback, and announcements.`,href:Gi,icon:`DiscordLogo`,iconClassName:`text-brand-discord`,openLabel:`Join Discord`}),(0,Q.jsx)(qi,{label:`GitHub`,description:`Source code, issues, and releases for the bb project.`,href:Ki,icon:`GithubLogo`,openLabel:`View on GitHub`})]})}),e[0]=t):t=e[0],t}var Yi=!1,Xi=new Set;function Zi(){for(let e of Xi)e()}function Qi(e){return Xi.add(e),()=>{Xi.delete(e)}}function $i(){return Yi}function ea(e){return e instanceof Error&&e.message.length>0?e.message:`The update check did not complete.`}function ta(e){Yi||(Yi=!0,Zi(),e().catch(e=>{Xe.error(`Update check failed`,{description:ea(e)})}).finally(()=>{Yi=!1,Zi()}))}var na=`# Changelog
|
|
2
2
|
|
|
3
3
|
## 0.47.0
|
|
4
4
|
|
|
Binary file
|
|
Binary file
|
package/app/dist/assets/{SidebarFooterCustomize-VQoenr5y.js → SidebarFooterCustomize-BGXeu0og.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,mi as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{$t as i,Cf as a,Qm as o,Sf as s,Tf as c,Z as l,dn as u,oh as d,tn as f,un as p}from"./index-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,mi as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{$t as i,Cf as a,Qm as o,Sf as s,Tf as c,Z as l,dn as u,oh as d,tn as f,un as p}from"./index-B-RDC4LU.js";import{o as m,p as h,r as g,s as _,t as v}from"./sortable.esm-DrqbbDDw.js";import{n as y}from"./use-reorder-dnd-B-xEV6w8.js";import{n as b,t as x}from"./sidebarTouchSensor-PP8-SQld.js";var S=t(),C=e(n(),1),w=e(r(),1),T=`flex size-4 cursor-pointer items-center justify-center rounded-full border border-sidebar-border bg-sidebar text-sidebar-foreground outline-none after:absolute after:-inset-1.5 after:content-[''] hover:bg-sidebar-accent focus-visible:ring-2 focus-visible:ring-sidebar-ring disabled:cursor-default disabled:opacity-40`;function E(e){let t=(0,S.c)(38),{onDone:n}=e,r=u(),i=(0,C.useRef)(null),a=(0,C.useRef)(null),o=(0,C.useRef)(null);p(a,o);let s;t[0]===r?s=t[1]:(s=e=>{let{active:t,over:n}=e;typeof t.id==`string`&&typeof n?.id==`string`&&r.move(t.id,n.id)},t[0]=r,t[1]=s);let c=s,y;t[2]===c?y=t[3]:(y={axis:`free`,collisionDetection:h,onDragEnd:c,touchSensor:x},t[2]=c,t[3]=y);let T=b(y),E;t[4]===c?E=t[5]:(E={onDragEnd:c,touchSensor:x},t[4]=c,t[5]=E);let N=b(E),P,F;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(P=()=>{i.current?.querySelector(`[data-footer-placement-toggle]`)?.focus()},F=[],t[6]=P,t[7]=F):(P=t[6],F=t[7]),(0,C.useEffect)(P,F);let I=Math.max(0,(r.capacity??0)-r.footer.length),L,R;t[8]===n?(L=t[9],R=t[10]):(L=e=>{e.key!==`Escape`||e.defaultPrevented||(e.preventDefault(),n())},R=(0,w.jsx)(l,{onDone:n}),t[8]=n,t[9]=L,t[10]=R);let z=T.onClickCapture,B=T.dndContextProps,V;t[11]===r.footer?V=t[12]:(V=r.footer.map(k),t[11]=r.footer,t[12]=V);let H;t[13]===r?H=t[14]:(H=r.footer.map(e=>(0,w.jsx)(j,{item:e,reorderDisabled:r.footer.length<2,onRemove:()=>r.removeFromFooter(e.key)},e.key)),t[13]=r,t[14]=H);let U;t[15]!==V||t[16]!==H?(U=(0,w.jsx)(v,{items:V,strategy:g,children:H}),t[15]=V,t[16]=H,t[17]=U):U=t[17];let W;t[18]!==T.dndContextProps||t[19]!==U?(W=(0,w.jsx)(_,{...B,children:U}),t[18]=T.dndContextProps,t[19]=U,t[20]=W):W=t[20];let G;t[21]===I?G=t[22]:(G=Array.from({length:I},O),t[21]=I,t[22]=G);let K;t[23]!==T.onClickCapture||t[24]!==W||t[25]!==G?(K=(0,w.jsxs)(`ul`,{"aria-label":`Footer icons`,className:`flex min-w-0 flex-1 items-center justify-between gap-1`,onClickCapture:z,children:[W,G]}),t[23]=T.onClickCapture,t[24]=W,t[25]=G,t[26]=K):K=t[26];let q;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(q=(0,w.jsx)(`span`,{ref:o,"aria-hidden":`true`,className:d(f,`invisible absolute pointer-events-none`)}),t[27]=q):q=t[27];let J;t[28]===K?J=t[29]:(J=(0,w.jsxs)(`div`,{ref:a,className:`relative flex items-center gap-1 overflow-hidden bg-sidebar-accent px-3 py-2`,children:[K,q]}),t[28]=K,t[29]=J);let Y;t[30]!==N||t[31]!==r?(Y=r.more.length>0&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(A,{label:`More menu`}),(0,w.jsx)(`ul`,{"aria-label":`More menu items`,className:`space-y-0.5 px-2`,onClickCapture:N.onClickCapture,children:(0,w.jsx)(_,{...N.dndContextProps,children:(0,w.jsx)(v,{items:r.more.map(D),strategy:m,children:r.more.map(e=>(0,w.jsx)(M,{item:e,reorderDisabled:r.more.length<2,addDisabled:r.isFull,onAdd:()=>r.addToFooter(e.key)},e.key))})})})]}),t[30]=N,t[31]=r,t[32]=Y):Y=t[32];let X;return t[33]!==J||t[34]!==Y||t[35]!==L||t[36]!==R?(X=(0,w.jsxs)(`div`,{ref:i,className:`rounded-lg bg-sidebar-accent/40 py-1`,"data-testid":`sidebar-footer-customize-inline`,onKeyDown:L,children:[R,J,Y]}),t[33]=J,t[34]=Y,t[35]=L,t[36]=R,t[37]=X):X=t[37],X}function D(e){return e.key}function O(e,t){return(0,w.jsx)(`li`,{"aria-hidden":`true`,className:d(f,`shrink-0 rounded-md border border-dashed border-sidebar-foreground/20`)},t)}function k(e){return e.key}function A(e){let t=(0,S.c)(2),{label:n}=e,r;return t[0]===n?r=t[1]:(r=(0,w.jsx)(`div`,{className:`px-3 pb-1 pt-2 text-xs text-muted-foreground`,children:n}),t[0]=n,t[1]=r),r}function j({item:e,reorderDisabled:t,onRemove:n}){let{dragBindings:r,setNodeRef:l,style:u}=y({id:e.key,disabled:t});return(0,w.jsxs)(`li`,{ref:l,style:u,className:`relative flex shrink-0`,children:[(0,w.jsxs)(s,{children:[(0,w.jsx)(c,{asChild:!0,children:(0,w.jsx)(`button`,{type:`button`,ref:r.setActivatorNodeRef,...r.attributes,...r.listeners,"aria-label":`Reorder ${e.label}`,"data-footer-icon":e.key,className:d(f,`flex touch-none items-center justify-center rounded-md border border-sidebar-foreground/15 bg-sidebar outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring`,!t&&`cursor-grab active:cursor-grabbing`),children:(0,w.jsx)(i,{item:e})})}),(0,w.jsx)(a,{side:`top`,children:e.label})]}),(0,w.jsx)(`button`,{type:`button`,"aria-label":`Remove ${e.label} from footer`,"data-footer-placement-toggle":e.key,className:d(T,`absolute -top-1.5 right-0`),onPointerDown:e=>e.stopPropagation(),onClick:n,children:(0,w.jsx)(o,{name:`Minus`,className:`size-3`})})]})}function M({item:e,reorderDisabled:t,addDisabled:n,onAdd:r}){let{dragBindings:a,setNodeRef:s,style:c}=y({id:e.key,disabled:t});return(0,w.jsxs)(`li`,{ref:s,style:c,className:`flex min-h-7 items-center gap-1 rounded-md px-1 text-xs text-sidebar-foreground hover:bg-sidebar-accent focus-within:bg-sidebar-accent`,"data-footer-more-item":e.key,children:[(0,w.jsx)(`button`,{type:`button`,ref:a.setActivatorNodeRef,...a.attributes,...a.listeners,"aria-label":`Reorder ${e.label}`,className:`flex size-6 shrink-0 cursor-grab touch-none items-center justify-center rounded-sm text-subtle-foreground/60 hover:text-sidebar-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring active:cursor-grabbing`,children:(0,w.jsx)(o,{name:`DragDropVertical`,className:`size-4`})}),(0,w.jsx)(i,{item:e}),(0,w.jsx)(`span`,{className:`min-w-0 flex-1 truncate px-1`,children:e.label}),(0,w.jsx)(`span`,{className:`relative flex size-6 shrink-0 items-center justify-center`,children:(0,w.jsx)(`button`,{type:`button`,"aria-label":`Add ${e.label} to footer`,"data-footer-placement-toggle":e.key,disabled:n,className:d(T,`relative`),onClick:r,children:(0,w.jsx)(o,{name:`Plus`,className:`size-3`})})})]})}export{E as SidebarFooterCustomize};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,mi as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{Ff as i,Qm as a,Rf as o,Wf as s,Y as c,oh as l}from"./index-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,mi as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{Ff as i,Qm as a,Rf as o,Wf as s,Y as c,oh as l}from"./index-B-RDC4LU.js";import{t as u}from"./checkbox-5zZ_V1_F.js";import{o as d,s as f,t as p}from"./sortable.esm-DrqbbDDw.js";import{n as m}from"./use-reorder-dnd-B-xEV6w8.js";import{n as h,t as g}from"./sidebarTouchSensor-PP8-SQld.js";var _=t(),v=e(n(),1),y=e(r(),1);function b(e){let t=(0,_.c)(39),{items:n,listLabel:r,onActivate:i,onDone:a,onExit:o,onReorder:s,onVisibleChange:l,testIdPrefix:u,title:m,touchSensor:g,variant:v,visibleIds:b}=e,C=u===void 0?`sidebar-navigation`:u,w;t[0]===n?w=t[1]:(w=n.map(x),t[0]=n,t[1]=w);let T=w,E;t[2]===b?E=t[3]:(E=new Set(b),t[2]=b,t[3]=E);let D=E,O;t[4]===s?O=t[5]:(O=e=>{typeof e.active.id!=`string`||typeof e.over?.id!=`string`||s(e.active.id,e.over.id)},t[4]=s,t[5]=O);let k=O,A;t[6]!==k||t[7]!==g?(A={onDragEnd:k,touchSensor:g},t[6]=k,t[7]=g,t[8]=A):A=t[8];let{dndContextProps:j,onClickCapture:M}=h(A),N;if(t[9]!==n||t[10]!==i||t[11]!==o||t[12]!==l||t[13]!==C||t[14]!==D){let e;t[16]!==n.length||t[17]!==i||t[18]!==o||t[19]!==l||t[20]!==C||t[21]!==D?(e=e=>(0,y.jsx)(S,{item:e,checked:D.has(e.id),reorderDisabled:n.length<2,onActivate:i?t=>{i(e,t),o?.()}:void 0,onCheckedChange:t=>l(e.id,t),testIdPrefix:C},e.id),t[16]=n.length,t[17]=i,t[18]=o,t[19]=l,t[20]=C,t[21]=D,t[22]=e):e=t[22],N=n.map(e),t[9]=n,t[10]=i,t[11]=o,t[12]=l,t[13]=C,t[14]=D,t[15]=N}else N=t[15];let P;t[23]!==T||t[24]!==N?(P=(0,y.jsx)(p,{items:T,strategy:d,children:N}),t[23]=T,t[24]=N,t[25]=P):P=t[25];let F;t[26]!==j||t[27]!==P?(F=(0,y.jsx)(f,{...j,children:P}),t[26]=j,t[27]=P,t[28]=F):F=t[28];let I;t[29]!==r||t[30]!==M||t[31]!==F?(I=(0,y.jsx)(`div`,{role:`list`,"aria-label":r,className:`space-y-0.5`,onClickCapture:M,children:F}),t[29]=r,t[30]=M,t[31]=F,t[32]=I):I=t[32];let L=I,R;return t[33]!==L||t[34]!==a||t[35]!==C||t[36]!==m||t[37]!==v?(R=(0,y.jsx)(c,{onDone:a,testIdPrefix:C,title:m,variant:v,children:L}),t[33]=L,t[34]=a,t[35]=C,t[36]=m,t[37]=v,t[38]=R):R=t[38],R}function x(e){return e.id}function S({checked:e,item:t,onActivate:n,onCheckedChange:r,reorderDisabled:c,testIdPrefix:d}){let f=(0,v.useId)(),{dragBindings:p,setNodeRef:h,style:g}=m({id:t.id,disabled:c}),_=d===`sidebar-navigation`;return(0,y.jsxs)(`div`,{ref:h,style:g,role:`listitem`,className:l(`group relative flex min-h-7 select-none items-center rounded-md px-1 text-xs`,i,`text-sidebar-foreground hover:bg-sidebar-accent focus-within:bg-sidebar-accent`),"data-sidebar-customize-item":t.id,"data-plugin-nav-customize-item":_?t.id:void 0,children:[(0,y.jsx)(`button`,{type:`button`,ref:p.setActivatorNodeRef,...p.attributes,...p.listeners,"aria-label":`Reorder ${t.title}`,className:l(`relative z-10 flex size-6 shrink-0 cursor-grab touch-none items-center justify-center rounded-sm text-subtle-foreground/60 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring active:cursor-grabbing`,s,`hover:text-sidebar-foreground focus-visible:text-sidebar-foreground`),onClick:e=>e.stopPropagation(),"data-plugin-nav-customize-drag-handle":_?t.id:void 0,children:(0,y.jsx)(a,{name:`DragDropVertical`,className:o})}),(0,y.jsxs)(`button`,{type:`button`,disabled:t.disabled,className:l(`flex min-w-0 flex-1 cursor-pointer items-center gap-2 rounded-sm px-1 text-left outline-none after:absolute after:inset-0 after:rounded-md after:content-[''] disabled:cursor-default disabled:opacity-50`,i),onClick:t=>{n?n({metaKey:t.metaKey,ctrlKey:t.ctrlKey}):r(!e)},"data-sidebar-customize-launch":t.id,"data-sidebar-navigation-customize-launch":_?t.id:void 0,children:[t.icon?(0,y.jsx)(`span`,{className:`flex size-4 shrink-0 items-center justify-center`,children:t.icon}):null,(0,y.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:t.title})]}),(0,y.jsx)(`label`,{htmlFor:f,className:l(s,`relative flex shrink-0 cursor-pointer items-center justify-center`),onClick:e=>e.stopPropagation(),children:(0,y.jsx)(u,{id:f,checked:e,"aria-label":`Show ${t.title} in sidebar`,onCheckedChange:e=>r(e===!0),"data-plugin-nav-customize-checkbox":_?t.id:void 0})})]})}function C(e){let t=(0,_.c)(2),n;return t[0]===e?n=t[1]:(n=(0,y.jsx)(b,{...e,touchSensor:g}),t[0]=e,t[1]=n),n}export{C as SidebarVisibilityCustomize};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BbSourceCode-
|
|
2
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,Ur as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{X as i,np as a}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BbSourceCode-C3we2GZp.js","assets/rolldown-runtime-BM3Ffeng.js","assets/index-B-RDC4LU.js","assets/boot-vendor-BBLG7GwQ.js","assets/index-BR1pQoni.css","assets/code-loading-skeletons-DzoCzgll.js","assets/source-code-budget-DkjqujJR.js","assets/PierreLineSelectionActions-DrQj-N__.js","assets/git-diff-patch-text-Cs-divFw.js","assets/dist-CXXcNKpg.js","assets/ccount-Ddbz1Ovh.js","assets/lib-B4H0r8OP.js","assets/space-separated-tokens-DGOpQRo8.js","assets/lib-D0BdwZRm.js","assets/zwitch-Pm92m0zx.js","assets/TimelineSelectionMenu-DzrSCC7e.js","assets/pierre-strict-mode-recovery-BhJkQvXP.js","assets/pierre-worker-pool-gate-DzlPWuU3.js","assets/File-D-Dyu8Un.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Or as t,Ur as n,ni as r}from"./boot-vendor-BBLG7GwQ.js";import{X as i,np as a}from"./index-B-RDC4LU.js";import{n as o}from"./code-loading-skeletons-DzoCzgll.js";import{o as s,t as c}from"./code-rendering-A15j47Uy.js";var l=t(),u=e(r(),1),d=`sourceCodeRenderer`,f=a({id:`bb-source-code`,load:()=>n(()=>import(`./BbSourceCode-C3we2GZp.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,18])),loading:()=>(0,u.jsx)(o,{}),tier:`intent`});function p(e){let t=(0,l.c)(19),{content:n,path:r,cacheKey:a,overflow:o,highlightedLines:p,className:m,scrollToHighlightedLines:h,onSelectionAddToChat:g}=e,_=o===void 0?c:o,v=p===void 0?null:p,y=s(),b;t[0]!==a||t[1]!==m||t[2]!==n||t[3]!==v||t[4]!==g||t[5]!==_||t[6]!==r||t[7]!==h?(b=(0,u.jsx)(f,{content:n,path:r,cacheKey:a,overflow:_,highlightedLines:v,className:m,scrollToHighlightedLines:h,onSelectionAddToChat:g}),t[0]=a,t[1]=m,t[2]=n,t[3]=v,t[4]=g,t[5]=_,t[6]=r,t[7]=h,t[8]=b):b=t[8];let x=b,S;t[9]!==m||t[10]!==n||t[11]!==v||t[12]!==_||t[13]!==r?(S=(e,t)=>(0,u.jsx)(`div`,{className:m,children:(0,u.jsx)(e.component,{content:n,path:r,overflow:_,highlightedLines:v,Original:t})}),t[9]=m,t[10]=n,t[11]=v,t[12]=_,t[13]=r,t[14]=S):S=t[14];let C;return t[15]!==x||t[16]!==y||t[17]!==S?(C=(0,u.jsx)(i,{replacement:y,original:x,slotKind:d,children:S}),t[15]=x,t[16]=y,t[17]=S,t[18]=C):C=t[18],C}export{p as n,f as t};
|
|
Binary file
|
|
Binary file
|