zidane-gui 9.1.3 → 9.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/out/main/index.js +128 -88
  2. package/out/preload/index.mjs +21 -4
  3. package/out/renderer/assets/{43YPWK3Q-BLwohgFu.js → 43YPWK3Q-z5jpEo82.js} +6 -6
  4. package/out/renderer/assets/{45MVAN6X-DCPmrh2y.js → 45MVAN6X-GiMurZcH.js} +5 -5
  5. package/out/renderer/assets/{46GJKBLZ-n_NiMQEY.js → 46GJKBLZ-BK9JvL-z.js} +10 -10
  6. package/out/renderer/assets/{63WH7YNF-B0-gnOSz.js → 63WH7YNF-oZNJFk32.js} +8 -8
  7. package/out/renderer/assets/{6DDU7VKX-BKAF5gyQ.js → 6DDU7VKX-Q8ape99y.js} +6 -6
  8. package/out/renderer/assets/{CLQLV5VT-BIZsXon4.js → CLQLV5VT-1CokruIk.js} +6 -6
  9. package/out/renderer/assets/{CUSPXG5M-Donlp74Y.js → CUSPXG5M-CXI47Yx3.js} +6 -6
  10. package/out/renderer/assets/{CodeEditor-80QT2Pyq.js → CodeEditor-D8TMSvb4.js} +3 -3
  11. package/out/renderer/assets/{ComposerEditor-CXpNHoo1.js → ComposerEditor-MwH3w7kQ.js} +2 -2
  12. package/out/renderer/assets/{D3L7O4X2-BCbmkNpB.js → D3L7O4X2-CZlDY3Xj.js} +4 -4
  13. package/out/renderer/assets/{D5TW5CPZ-Bp-wetYa.js → D5TW5CPZ-C04jssFu.js} +1 -1
  14. package/out/renderer/assets/{DiffsTab-Dy8a_hwG.js → DiffsTab-CD4Z6LsX.js} +5 -5
  15. package/out/renderer/assets/{EGADTWYV-CqSrkc7g.js → EGADTWYV-C6IiGlh0.js} +5 -5
  16. package/out/renderer/assets/{EOJSJZXM-BTI84tys.js → EOJSJZXM-Bw1Qp21K.js} +8 -8
  17. package/out/renderer/assets/{EditorWorkers-Durn1REy.js → EditorWorkers-D0xeQ5Kf.js} +4 -4
  18. package/out/renderer/assets/{FilesTab-h32FFVsw.js → FilesTab-Pp8_PSfd.js} +6 -6
  19. package/out/renderer/assets/{G2OEIG6X-CS8YUqSL.js → G2OEIG6X-foim2Z_m.js} +5 -5
  20. package/out/renderer/assets/{GXJ2T77W-BHaQFzB4.js → GXJ2T77W-FIOAlHlR.js} +6 -6
  21. package/out/renderer/assets/{HX3UMAK7-DOOY2pSg.js → HX3UMAK7-COan20yP.js} +5 -5
  22. package/out/renderer/assets/{IU7WZTP6-D7pwhQLH.js → IU7WZTP6-DeXscWir.js} +1 -1
  23. package/out/renderer/assets/{J5J2NR2G-SPjkbJgo.js → J5J2NR2G-B7up1iuZ.js} +4 -4
  24. package/out/renderer/assets/{JRCWTJEL-DT7JLR7k.js → JRCWTJEL-M4z7DV1k.js} +3 -3
  25. package/out/renderer/assets/{KHUP5TOH-BX0A2YHC.js → KHUP5TOH-0CDf31VX.js} +1 -1
  26. package/out/renderer/assets/{L74FQTH5-MbDLfIZo.js → L74FQTH5-xlC3E1u8.js} +4 -4
  27. package/out/renderer/assets/{LAV4ZXOS-ClHlsIHg.js → LAV4ZXOS-CWOm214F.js} +6 -6
  28. package/out/renderer/assets/{LBIZYCRR-DmofT7Vk.js → LBIZYCRR-BRMO_zpo.js} +7 -7
  29. package/out/renderer/assets/{LFFXNLRS-yLLLefJM.js → LFFXNLRS-CQDwxn8S.js} +3 -3
  30. package/out/renderer/assets/{LLLWOAQD-DNhT1-qV.js → LLLWOAQD-NLayfyRk.js} +1 -1
  31. package/out/renderer/assets/{LTYQZ5U5-BxUtiilS.js → LTYQZ5U5-CfgFK_8S.js} +8 -8
  32. package/out/renderer/assets/{NDSCUZ25-DltJ5xGa.js → NDSCUZ25-CRhHG4rp.js} +2 -2
  33. package/out/renderer/assets/{NMN3IKWL-BXUYzi9o.js → NMN3IKWL-pNFku5nG.js} +9 -9
  34. package/out/renderer/assets/{NMUA3R2D-CAVxt8OJ.js → NMUA3R2D-D5EpYecE.js} +7 -7
  35. package/out/renderer/assets/{NY5A6PPW-B3P5KUoQ.js → NY5A6PPW-BFqrOF96.js} +3 -3
  36. package/out/renderer/assets/{OHJ2EJXK-CKyEtj37.js → OHJ2EJXK-DUXRo20H.js} +1 -1
  37. package/out/renderer/assets/{OU2GIT2H-i9HfUuBk.js → OU2GIT2H-RERREQg4.js} +4 -4
  38. package/out/renderer/assets/{PDMLSE6I-BnbSSXbG.js → PDMLSE6I-B6VLJpYF.js} +2 -2
  39. package/out/renderer/assets/{PJ7X32S5-Do_rplzd.js → PJ7X32S5-CiX4IRfi.js} +5 -5
  40. package/out/renderer/assets/{RLLQ44NJ-SEvjKAya.js → RLLQ44NJ-DI-w7C3g.js} +7 -7
  41. package/out/renderer/assets/{S6DWMCK5-CK9P5x9H.js → S6DWMCK5-BFYfpKyU.js} +8 -8
  42. package/out/renderer/assets/{STIOTUT7-KYZS5tvF.js → STIOTUT7-BsXqNDoB.js} +6 -6
  43. package/out/renderer/assets/{SXSLPWUD-ylCpsia5.js → SXSLPWUD-DsiZBZ2L.js} +2 -2
  44. package/out/renderer/assets/{TR4WJQGX-DXlqK6NQ.js → TR4WJQGX-DdGw5EgP.js} +1 -1
  45. package/out/renderer/assets/{UWRPUF3N-7_KSfEv0.js → UWRPUF3N-B9f5cVuf.js} +1 -1
  46. package/out/renderer/assets/{VSWIZJ7B-qmPn48eQ.js → VSWIZJ7B-B67GWWkR.js} +1 -1
  47. package/out/renderer/assets/{WM7NR6YK-D4oWq6L3.js → WM7NR6YK-BjDcbecJ.js} +4 -4
  48. package/out/renderer/assets/{WXKV2YEK-DsK-bqP8.js → WXKV2YEK-DkO54WUi.js} +3 -3
  49. package/out/renderer/assets/{XLHPVVFU-4_9lhZe2.js → XLHPVVFU-CgBgWtsm.js} +1 -1
  50. package/out/renderer/assets/{YNX532HU-C1DPijVc.js → YNX532HU-GZs01vUI.js} +5 -5
  51. package/out/renderer/assets/{YUPSMAUO-0pM5w-ie.js → YUPSMAUO-3HW0N7cY.js} +1 -1
  52. package/out/renderer/assets/{ZFRCZTLK-4EIJek0V.js → ZFRCZTLK-Bv3j48XJ.js} +6 -6
  53. package/out/renderer/assets/{ZZDR4CN3-B_T2R-Zh.js → ZZDR4CN3-bxop59us.js} +4 -4
  54. package/out/renderer/assets/{core-2jWUG3m-.js → core-DUTJyMGZ.js} +1967 -1624
  55. package/out/renderer/assets/{file-tabs-DwqRIh1X.js → file-tabs-CDruoNmZ.js} +5 -5
  56. package/out/renderer/assets/{ghostty-web-DnI2p8KS.js → ghostty-web-CtIJ7i7e.js} +1 -1
  57. package/out/renderer/assets/{highlights-6LT5DvBO.js → highlights-26TXpsMP.js} +2 -2
  58. package/out/renderer/assets/{highlights-DmxOEap0.js → highlights-Bmhv1Dz1.js} +3 -3
  59. package/out/renderer/assets/{index-C-Dal-Bp.css → index-B5DcyIyT.css} +41 -2
  60. package/out/renderer/assets/{index-BnnCv70H.js → index-CpGbxp8B.js} +244 -40
  61. package/out/renderer/assets/{kit-CdRTRA2T.js → kit-u_PHwNWF.js} +3531 -1044
  62. package/out/renderer/assets/{langs-D9nZatrh.js → langs-DQ-AW7Q8.js} +1 -1
  63. package/out/renderer/assets/{lazy-C1DShJVi.js → lazy-xGoFzwfG.js} +3 -3
  64. package/out/renderer/assets/{loader-BlmA-DDi.js → loader-BwgXVB75.js} +1 -1
  65. package/out/renderer/assets/{pierre-theme-DpuLJ_93.js → pierre-theme-CwuG23St.js} +7 -7
  66. package/out/renderer/assets/{shiki-RupN-xqP.js → shiki-DCldjjSl.js} +3 -3
  67. package/out/renderer/assets/{stream-tokenizer-DLDzyMrK.js → stream-tokenizer-BJjKxfTj.js} +1 -1
  68. package/out/renderer/assets/{themes-B1aebwax.js → themes-Bt8pRd53.js} +2 -2
  69. package/out/renderer/assets/{useDetachCleanup-BXvhEVk-.js → useDetachCleanup-hiha0T2M.js} +2 -2
  70. package/out/renderer/assets/{useFolderChanges-BHQktE6l.js → useFolderChanges-AOk0dbsA.js} +144 -73
  71. package/out/renderer/index.html +4 -4
  72. package/package.json +2 -2
  73. package/scripts/app-installer.mjs +1 -1
@@ -1,8 +1,8 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./file-tabs-DwqRIh1X.js","./vendor-react-bPTwWURR.js","./EditorWorkers-Durn1REy.js","./pierre-theme-DpuLJ_93.js","./core-2jWUG3m-.js","./vendor-BpwX-s_O.js","./vendor-D_E2rLzO.css","./kit-CdRTRA2T.js","./vendor-motion-BgQeucLF.js","./vendor-editor-Cx3SvGyZ.js"])))=>i.map(i=>d[i]);
2
- import { ct as LOCAL_HOST_KEY, dP as sessionKey$1, cn as parseSessionKey$1, dQ as LOCAL_HOST_NAME, k as DEFAULT_SETTINGS, dR as ARTIFACT_BADGES_MAX, dS as spacesEnabled, dT as ARTIFACTS_PANEL_ID, dU as buildPanelCatalog, dV as MEDIA_BY_EXTENSION, dW as USAGE_BLOCK_ID, bj as CONNECTORS, bk as connectorInstalled, aZ as nativeExtensionByName, dX as nativeExtensionSource, df as connectorById, dY as connectorServerConfig, dZ as machineWaiting, d_ as SIDE_PANEL_ID, d$ as normalizeBrowserUrl, aR as INBOX_PANEL_ID, _ as __vitePreload, e0 as BROWSER_PANEL_ID, aQ as QUEUE_PANEL_ID, aS as TODOS_PANEL_ID, cO as TERMINAL_PANEL_ID, a0 as FILES_PANEL_ID, $ as DIFFS_PANEL_ID, aA as resolveSessionSpace, at as parseMachineKind, cm as accentColor, bB as DEFAULT_MODEL_PICK, e1 as decisionsEnabled, e2 as countNeighbors, e3 as selectableTurnIds, G as GITHUB_PULL_PROVIDER_ID, F as GITHUB_ISSUE_PROVIDER_ID, H as githubRefKey, e4 as runBlockOnHost, cs as parseRepoInput } from "./core-2jWUG3m-.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./file-tabs-CDruoNmZ.js","./vendor-react-bPTwWURR.js","./EditorWorkers-D0xeQ5Kf.js","./pierre-theme-CwuG23St.js","./core-DUTJyMGZ.js","./vendor-BpwX-s_O.js","./vendor-D_E2rLzO.css","./kit-u_PHwNWF.js","./vendor-motion-BgQeucLF.js","./vendor-editor-Cx3SvGyZ.js"])))=>i.map(i=>d[i]);
2
+ import { cF as LOCAL_HOST_KEY, e4 as sessionKey$1, cx as parseSessionKey$1, e5 as LOCAL_HOST_NAME, n as DEFAULT_SETTINGS, e6 as ARTIFACT_BADGES_MAX, e7 as spacesEnabled, e8 as ARTIFACTS_PANEL_ID, e9 as buildPanelCatalog, ea as MEDIA_BY_EXTENSION, eb as USAGE_BLOCK_ID, bq as CONNECTORS, br as connectorInstalled, b4 as nativeExtensionByName, ec as nativeExtensionSource, dx as connectorById, ed as connectorServerConfig, ee as machineWaiting, ef as SIDE_PANEL_ID, eg as normalizeBrowserUrl, aY as INBOX_PANEL_ID, _ as __vitePreload, eh as BROWSER_PANEL_ID, aX as REMINDERS_PANEL_ID, d5 as SECRETS_PANEL_ID, aV as QUEUE_PANEL_ID, c_ as TERMINAL_PANEL_ID, a1 as FILES_PANEL_ID, a0 as DIFFS_PANEL_ID, aF as resolveSessionSpace, ax as parseMachineKind, cw as accentColor, bI as DEFAULT_MODEL_PICK, ei as decisionsEnabled, ej as countNeighbors, ek as selectableTurnIds, G as GITHUB_PULL_PROVIDER_ID, H as GITHUB_ISSUE_PROVIDER_ID, I as githubRefKey, el as runBlockOnHost, cE as parseRepoInput } from "./core-DUTJyMGZ.js";
3
3
  import { r as reactExports, j as jsxRuntimeExports, e as ReactDomClient, f as ReactDom, h as ReactJsxRuntime, R as React, i as ReactDOM, c as React$1 } from "./vendor-react-bPTwWURR.js";
4
4
  import "./vendor-BpwX-s_O.js";
5
- import { aj as createResourceStore, ak as useResource, al as readableResource, am as writable, an as keyedSettingsResources, ao as createSettingsResource, ap as toSettingsError, aq as settingsMcpServerOf, ar as createPresenceStore, as as createOnlineMachines, at as createMachineLists, au as lazyReadable, av as createHostSyncReads, aw as useSettingsHost, ax as SettingsProvider$1, ay as useSettings, ai as useReadable, az as PathDisplayProvider, aA as MachinesProvider, aB as createLayoutMemory, aC as useScopeLayout$1, aD as createDraftScopeStore, aE as draftScopeOf, aF as createRunMeter, aG as createSessionBadges, aH as createSessionActivity, aI as createRunEstimates, aJ as createCompactionProgress, aK as createTerminalStore, aL as usePeekSessionEvents, aM as useSessionStreamActions, aN as useIsSessionHydrated, aO as useSessionEvents$1, aP as useSessionEventsSelector$1, aQ as createSessionStreams, aR as SessionStreamsProvider, aS as RunEstimatesProvider, aT as useSessionStreams$1, aU as usePeekRunSeq$1, aV as usePeekSessionRunning, aW as useSessionRunning, aX as createSidebarViews, aY as createSessionDirectory, aZ as useSessionDirectoryView, a_ as useNewSessionDefaults, a$ as writePersisted, b0 as DEFAULT_SIDEBAR_LABELS, b1 as useCaptureRunState, b2 as pinnedSessions, b3 as useCycleAgent$1, b4 as createPanelFocusStore, b5 as pickTab, b6 as useWorkspaceView, b7 as useWorkspaceRequests, b8 as useWorkspaceContent, b9 as useExtensionPanels, ba as WorkspaceHostProvider, bb as WorkspaceProvider, bc as useWorkspaceActions, bd as createSidebarCollapsed, ah as useAppearanceState, be as LayoutBudgetProvider, bf as LIMITS, bg as useTurnCommands, bh as useTurnMenu$1, bi as createOpenTarget, bj as CommandScopeContext, bk as findCommand, bl as hasInteractionBody, bm as InteractionToolBody, bn as InlineChipText, bo as ProseMarkdown, bp as useTranscriptActions, bq as PromptEcho, br as createModelPickerPrefs, bs as ComposerHostProvider$1, bt as modelNamesOf, bu as useSelectTurn, bv as useTranscriptOptions, bw as useSessionRetry, bx as pushComposerPrompt, by as MarkdownContext, bz as TranscriptRenderersProvider, bA as TranscriptActionsProvider, bB as PathDisplayScope, bC as Transcript, bD as TranscriptSearch$1, bE as useSessionPresence$1, bF as usePresenceMap$1, bG as createSidebarLive, bH as useSessionApprovalHead, bI as useInteractionHead, bJ as useRunElapsedSec, bK as ZidaneUiExtensionsKit, bL as ZidaneUiExtensions, bM as EXTENSION_TOKENS, bN as ExtensionsHostError, bO as createUiEffectChannel, bP as createDialogQueue, bQ as sidebarContributionsOf, bR as ExtensionsProvider, bS as useProjectIcons, bT as useConfirmDeleteSession, bU as useMoveSession, bV as basename, bW as useSessionMenuItems, bX as SessionListRow, bY as moveSubject, bZ as useWorkspaceHost, b_ as useLinkRouter, b$ as PanelSessionRowProvider, c0 as ProjectHome, c1 as ProjectIconGlyph, c2 as WelcomeScreen$1, c3 as modelKnobsOf, c4 as commitModelPick$1, c5 as createStorageBoot, c6 as createStorageAppearancePrefs, c7 as codeThemeTypeOf, c8 as constant, c9 as EFFORT_LEVELS, ca as BUILTIN_THEMES, cb as useModal, cc as useAppearance, cd as OnboardingProvider, ce as OnboardingFlow, cf as createSiteIcons, cg as useEnvironmentChoices, ch as BranchMenu$1, ci as GitBar$1, cj as createKeybindingOverrides, ck as useSessionFallbackModel, cl as getMergedKeybindings, K as KeyHint, cm as ComposerStatusPills, cn as ComposerControls, co as RetryPill, cp as useLayoutBudgetOptional, cq as ConversationBadges$1, cr as hostReachable, cs as useLentServers, ct as ServerOfflineBanner, cu as ArchivedBanner, cv as HostRemovedBanner, cw as ComposerNotice, cx as ConnectProviderCard, cy as ComposerDock, cz as SelectTurnHint, cA as ApprovalDock, cB as ErrorBoundary, cC as RichComposer, cD as codeAttachmentLabel, cE as WherePicker, cF as RemoteFolderPicker, cG as ServerScopeToggle, cH as ScopeToggle, cI as MachineWaitingBanner, U as Tooltip, V as IconButton, cJ as useSidebarHost, cK as useSidebarLabels, cL as useEnvironmentCommands, cM as useEnvironmentActions, cN as sessionMenuItems, cO as useReferenceMatches, cP as SessionHeader$1, cQ as HostStatusDot, cR as ReferenceText, cS as useComposerSearch$1, cT as createSideRequests, cU as DEFAULT_SESSION_LABELS, cV as useSendPrompt$1, cW as useSessionHost, cX as useSessionPage, cY as useTranscriptScroll$1, cZ as useSessionMeters, c_ as useDraftTarget, c$ as useSettledReveal, d0 as LoadEarlierRow, d1 as SearchHighlightStyle, d2 as ArtifactsPanel$1, d3 as BTN_SECONDARY, d4 as BTN_PRIMARY, b as pushComposerAttachment, c as textAttachment, d5 as focusComposer, n as usePanelVisible, d6 as subscribeLayoutAnimating, d7 as isLayoutAnimating, d8 as useSiteIcon, d9 as useKeybindings, da as usePaletteSource, db as NavButton, dc as AddressBar, dd as Popover, de as SectionLabel, df as MenuRow, dg as Menu, dh as MenuSection, di as MenuSeparator, dj as relativeTime, R as RowActionsMenu, dk as InboxPanel, dl as attachmentLightboxItems, dm as AttachmentRow, dn as QueueTab$1, dp as SideChat, dq as HostModelPicker, dr as HostModelOptionsPicker, ds as TerminalPanelTab, dt as TodosPanel, du as PanelContentView, dv as useLayoutBudget, dw as panelCornerWidth, dx as PanelCorner, dy as countArtifacts, dz as useSessionArtifacts, dA as splitPanelWidth, dB as SidePanel$1, dC as TAB_REGION_PROPS, dD as panelDragResult, dE as TerminalDrawer, dF as SidebarFooter, dG as SidebarSignInPrompt, dH as DaemonMenu, dI as useProviderUsage, dJ as SidebarUsageIndicator, dK as useCompactionProgress, dL as Presence, dM as SidebarCompactingIndicator, dN as useProjectSessionActions, dO as SpaceSwitcher, dP as SessionSidebar, dQ as useSaveViewAsSpace, dR as SidebarFilterMenu, dS as ExtensionSlot, dT as CreateExtensionDialog, dU as useTerminalsEnabled, dV as useTerminalStore, dW as useScopeTerminals, dX as RunningWorkDialog, dY as renderSessionModalShell, dZ as useAgentProfiles$1, d_ as useConfirm, d$ as useSessionCacheReport, e0 as useColors, e1 as useDisplayPath, e2 as compactPath, e3 as SessionDetailsDialog, e4 as renderWideSessionModalShell, e5 as SessionCacheFacts, e6 as deleteSessionPrompt, e7 as useExtensionsHost, e8 as extensionsErrorOf, e9 as BTN_LG_SECONDARY, ea as SettingsTutorial, eb as McpSection, ec as ServerProvidersSection, ed as ProvidersSection, ee as ExtensionsSection, ef as SkillsSection, eg as InstructionsSection, eh as KeybindingsSection, ei as EditorSection, ej as AppearanceSection, ek as HostCatalogSection, el as PluginsSection, em as PerformanceSection, en as LogsSection, eo as EnvironmentsSection, ep as HostsSection, eq as ROW_BUTTON_CLASS, er as RowText, es as useSettingsSection, et as useServerSyncStatus, eu as agentDefaultsOf, ev as SettingsRowsPage, ew as SpacesDefaultsSection, ex as ConversationPresetsRow, ey as CompactionModelRow, ez as DecisionModelRow, eA as TextModelRow, eB as AgentDefaultsRows, eC as SyncMarker, eD as ApprovalModeRow, eE as agentDefaultsPatch, eF as settingsPageCounts, eG as listLength, eH as KEYBINDING_ROW_COUNT, eI as SegmentSpinner, eJ as SettingsHostSwitcher, eK as ScreenShell, eL as visiblePages, eM as useExtensionSettingsSections, eN as layoutSections, eO as SettingsHeadingText, eP as SettingsShell, eQ as UsagePanel, eR as TurnDetailsDialog, eS as usePanelGroupHandlers$1, eT as InboxAttention$1, eU as TodosAttention$1, eV as QueueAttention$1, eW as PerformanceHud, eX as DEFAULT_EDITOR, eY as EDITOR_STORAGE_KEY, eZ as parseEditor, e_ as createPaletteRows, e$ as usePaletteHost, f0 as usePaletteLabels, f1 as useSessionRank, f2 as sessionsSource, f3 as conversationsSource, f4 as useActionsPaletteSource, f5 as panelsSource, f6 as spacesSource, f7 as commandsSource, f8 as useImportRepo, f9 as repoSource, fa as filesSource, fb as settingsSource, fc as prefsSource, fd as extensionsSource, fe as setupSource, ff as usePaletteModalSlot, fg as PaletteDialog, fh as pushComposerInsert, fi as useExtensionEffects, fj as ExtensionDialogHost, fk as matchesBinding, fl as registerTabScope, fm as serializeTerminalExcerpt, fn as hasComposerFor, fo as TerminalProvider, fp as ModalProvider, fq as KeyCommandsProvider, fr as useSessionContextStatus, fs as useProviderReadyPoll, ft as useClaudeImportAvailable, fu as AgentPickerDialog, fv as effortPickerTarget, fw as EffortPickerDialog, fx as createSessionActions, fy as useHelpKey, fz as useTranscriptFind, fA as ModelPickerDialog, fB as usePaletteActions, fC as useWorkspaceKeyCommands, fD as useMainSession, fE as useSelectTurnKeys, fF as zoomKeyCommands, fG as sessionKeyCommands, fH as useKeyCommands, fI as ClaudeImportDialog, fJ as SafelistPanel, fK as ModalShell, fL as SidebarToggleButton, fM as hostSettingsFocus, fN as createPendingApprovals, fO as createSafelist, fP as ApprovalsProvider, fQ as createRunningWorkState, fR as createArtifactsState, fS as createQueueState, fT as createTodosState, fU as SessionProvider, fV as ProviderUsageProvider, fW as FilesProvider, fX as createChatBlockRuns, fY as ChatProvider, fZ as useHasFocusedComposer, f_ as hasFocusedComposer, d as pushComposerMention, f$ as OpenSessionContext, g0 as BadgeMenuProvider, g1 as createStorageRecents, g2 as PaletteProvider, g3 as WorkerWrapper, g4 as LabelsProvider, g5 as PromptHistoryProvider, g6 as SelectTurnProvider, g7 as KeybindingsProvider, g8 as GitProvider, g9 as SidebarHostProvider, ga as useShikiTheme, T as useEditorPrefs, gb as CodeHighlightProvider, gc as CodeWrapProvider, gd as createCodeHighlighter, ge as WorkerWrapper$1, gf as AppearanceProvider, gg as EditorEnvironmentRoot, gh as configureErrorReports, gi as installRendererErrorHandlers, gj as watchRuntimeIcons, gk as reportRendererError, G as buttonClass, gl as readMotionMs, gm as crispPhosphor } from "./kit-CdRTRA2T.js";
5
+ import { ak as createResourceStore, al as useResource, am as readableResource, an as writable, ao as keyedSettingsResources, ap as createSettingsResource, aq as toSettingsError, ar as settingsMcpServerOf, as as createPresenceStore, at as createOnlineMachines, au as createMachineLists, av as lazyReadable, aw as createHostSyncReads, ax as useSettingsHost, ay as SettingsProvider$1, az as useSettings, aj as useReadable, aA as PathDisplayProvider, aB as MachinesProvider, aC as createLayoutMemory, aD as useScopeLayout$1, aE as createDraftScopeStore, aF as draftScopeOf, aG as createRunMeter, aH as createSessionBadges, aI as createSessionActivity, aJ as createRunEstimates, aK as createCompactionProgress, aL as createTerminalStore, aM as usePeekSessionEvents, aN as useSessionStreamActions, aO as useIsSessionHydrated, aP as useSessionEvents$1, aQ as useSessionEventsSelector$1, aR as createSessionStreams, aS as SessionStreamsProvider, aT as RunEstimatesProvider, aU as useSessionStreams$1, aV as usePeekRunSeq$1, aW as usePeekSessionRunning, aX as useSessionRunning, aY as createSessionHistory, aZ as createSidebarViews, a_ as createSessionDirectory, a$ as useSessionDirectoryView, b0 as useNewSessionDefaults, b1 as writePersisted, b2 as DEFAULT_SIDEBAR_LABELS, b3 as useCaptureRunState, b4 as pinnedSessions, b5 as useCycleAgent$1, b6 as createPanelFocusStore, b7 as pickTab, b8 as useWorkspaceView, b9 as useWorkspaceRequests, ba as useWorkspaceContent, bb as useExtensionPanels, bc as WorkspaceHostProvider, bd as WorkspaceProvider, be as useWorkspaceActions, bf as createSidebarCollapsed, ai as useAppearanceState, bg as LayoutBudgetProvider, bh as LIMITS, bi as useTurnCommands, bj as useTurnMenu$1, bk as createOpenTarget, bl as CommandScopeContext, bm as findCommand, bn as hasInteractionBody, bo as InteractionToolBody, bp as InlineChipText, bq as ProseMarkdown, br as useTranscriptActions, bs as PromptEcho, bt as createModelPickerPrefs, bu as ComposerHostProvider$1, bv as modelNamesOf, bw as useSelectTurn, bx as useTranscriptOptions, by as useSessionRetry, bz as pushComposerPrompt, bA as MarkdownContext, bB as TranscriptRenderersProvider, bC as TranscriptActionsProvider, bD as PathDisplayScope, bE as Transcript, bF as TranscriptSearch$1, bG as useSessionPresence$1, bH as usePresenceMap$1, bI as createSidebarLive, bJ as useSessionApprovalHead, bK as useInteractionHead, bL as useRunElapsedSec, bM as ZidaneUiExtensionsKit, bN as ZidaneUiExtensions, bO as EXTENSION_TOKENS, bP as ExtensionsHostError, bQ as createUiEffectChannel, bR as createDialogQueue, bS as sidebarContributionsOf, bT as ExtensionsProvider, bU as useProjectIcons, bV as useConfirmDeleteSession, bW as useMoveSession, bX as basename, bY as useSessionMenuItems, bZ as SessionListRow, b_ as moveSubject, b$ as useWorkspaceHost, c0 as useLinkRouter, c1 as useStartFromPanel, c2 as PanelSessionRowProvider, c3 as ProjectHome, c4 as ProjectIconGlyph, c5 as WelcomeScreen$1, c6 as modelKnobsOf, c7 as commitModelPick$1, c8 as createStorageBoot, c9 as createStorageAppearancePrefs, ca as codeThemeTypeOf, cb as constant, cc as EFFORT_LEVELS, cd as BUILTIN_THEMES, ce as useModal, cf as useAppearance, cg as OnboardingProvider, ch as OnboardingFlow, ci as createSiteIcons, cj as useEnvironmentChoices, ck as BranchMenu$1, cl as GitBar$1, cm as createKeybindingOverrides, cn as useSessionFallbackModel, co as getMergedKeybindings, K as KeyHint, cp as ComposerStatusPills, cq as ComposerControls, cr as RetryPill, cs as useLayoutBudgetOptional, ct as ConversationBadges$1, cu as hostReachable, cv as useLentServers, cw as ServerOfflineBanner, cx as ArchivedBanner, cy as HostRemovedBanner, cz as ComposerNotice, cA as ConnectProviderCard, cB as ComposerDock, cC as SelectTurnHint, cD as ApprovalDock, cE as ErrorBoundary, cF as RichComposer, cG as codeAttachmentLabel, cH as WherePicker, cI as RemoteFolderPicker, cJ as ServerScopeToggle, cK as ScopeToggle, cL as MachineWaitingBanner, U as Tooltip, V as IconButton, cM as useSidebarHost, cN as useSidebarLabels, cO as useEnvironmentCommands, cP as useEnvironmentActions, cQ as sessionMenuItems, cR as useReferenceMatches, cS as SessionHeader$1, cT as HostStatusDot, cU as ReferenceText, cV as useComposerSearch$1, cW as createSideRequests, cX as DEFAULT_SESSION_LABELS, cY as useSendPrompt$1, cZ as useSessionHost, c_ as useSessionPage, c$ as useTranscriptScroll$1, d0 as useSessionMeters, d1 as useDraftTarget, d2 as useSettledReveal, d3 as LoadEarlierRow, d4 as SearchHighlightStyle, d5 as ArtifactsPanel$1, d6 as BTN_SECONDARY, d7 as BTN_PRIMARY, b as pushComposerAttachment, c as textAttachment, d8 as focusComposer, n as usePanelVisible, d9 as subscribeLayoutAnimating, da as isLayoutAnimating, db as useSiteIcon, dc as useKeybindings, dd as usePaletteSource, de as NavButton, df as AddressBar, dg as Popover, dh as SectionLabel, di as MenuRow, dj as Menu, dk as MenuSection, dl as MenuSeparator, dm as relativeTime, R as RowActionsMenu, dn as useInboxPlans, dp as InboxPanel, dq as RecentPlans, dr as PlanTracker, ds as attachmentLightboxItems, dt as AttachmentRow, du as QueueTab$1, dv as SideChat, dw as HostModelPicker, dx as HostModelOptionsPicker, dy as TerminalPanelTab, dz as RemindersPanel, dA as SecretsPanel, dB as PanelContentView, dC as useLayoutBudget, dD as panelCornerWidth, dE as PanelCorner, dF as countArtifacts, dG as useSessionArtifacts, dH as splitPanelWidth, dI as SidePanel$1, dJ as TAB_REGION_PROPS, dK as panelDragResult, dL as TerminalDrawer, dM as SidebarFooter, dN as SidebarSignInPrompt, dO as DaemonMenu, dP as useProviderUsage, dQ as SidebarUsageIndicator, dR as useCompactionProgress, dS as Presence, dT as SidebarCompactingIndicator, dU as useProjectSessionActions, dV as SpaceSwitcher, dW as SessionSidebar, dX as useSaveViewAsSpace, dY as SidebarFilterMenu, dZ as ExtensionSlot, d_ as CreateExtensionDialog, d$ as useTerminalsEnabled, e0 as useTerminalStore, e1 as useScopeTerminals, e2 as RunningWorkDialog, e3 as renderSessionModalShell, e4 as useAgentProfiles$1, e5 as useConfirm, e6 as useSessionCacheReport, e7 as useColors, e8 as useDisplayPath, e9 as compactPath, ea as SessionDetailsDialog, eb as renderWideSessionModalShell, ec as SessionCacheFacts, ed as deleteSessionPrompt, ee as useExtensionsHost, ef as extensionsErrorOf, eg as BTN_LG_SECONDARY, eh as SettingsTutorial, ei as McpSection, ej as ServerProvidersSection, ek as ProvidersSection, el as ExtensionsSection, em as SkillsSection, en as InstructionsSection, eo as KeybindingsSection, ep as EditorSection, eq as AppearanceSection, er as HostCatalogSection, es as PluginsSection, et as PerformanceSection, eu as LogsSection, ev as EnvironmentsSection, ew as HostsSection, ex as ROW_BUTTON_CLASS, ey as RowText, ez as useSettingsSection, eA as useServerSyncStatus, eB as agentDefaultsOf, eC as SettingsRowsPage, eD as SpacesDefaultsSection, eE as ConversationPresetsRow, eF as CompactionModelRow, eG as DecisionModelRow, eH as TextModelRow, eI as AgentDefaultsRows, eJ as SyncMarker, eK as ApprovalModeRow, eL as agentDefaultsPatch, eM as settingsPageCounts, eN as listLength, eO as KEYBINDING_ROW_COUNT, eP as SegmentSpinner, eQ as SettingsHostSwitcher, eR as ScreenShell, eS as visiblePages, eT as useExtensionSettingsSections, eU as layoutSections, eV as SettingsHeadingText, eW as SettingsShell, eX as UsagePanel, eY as TurnDetailsDialog, eZ as usePanelGroupHandlers$1, e_ as InboxAttention$1, e$ as QueueAttention$1, f0 as SecretsAttention$1, f1 as PerformanceHud, f2 as DEFAULT_EDITOR, f3 as EDITOR_STORAGE_KEY, f4 as parseEditor, f5 as createPaletteRows, f6 as usePaletteHost, f7 as usePaletteLabels, f8 as useSessionRank, f9 as sessionsSource, fa as conversationsSource, fb as useActionsPaletteSource, fc as panelsSource, fd as spacesSource, fe as commandsSource, ff as useImportRepo, fg as repoSource, fh as filesSource, fi as settingsSource, fj as prefsSource, fk as extensionsSource, fl as setupSource, fm as usePaletteModalSlot, fn as panelTabMark, fo as PaletteDialog, fp as pushComposerInsert, fq as useExtensionEffects, fr as ExtensionDialogHost, fs as matchesBinding, ft as registerTabScope, fu as serializeTerminalExcerpt, fv as hasComposerFor, fw as TerminalProvider, fx as ModalProvider, fy as KeyCommandsProvider, fz as useSessionContextStatus, fA as useProviderReadyPoll, fB as useClaudeImportAvailable, fC as AgentPickerDialog, fD as effortPickerTarget, fE as EffortPickerDialog, fF as createSessionActions, fG as useHelpKey, fH as useTranscriptFind, fI as ModelPickerDialog, fJ as usePaletteActions, fK as useWorkspaceKeyCommands, fL as useMainSession, fM as useSelectTurnKeys, fN as zoomKeyCommands, fO as sessionKeyCommands, fP as useKeyCommands, fQ as ClaudeImportDialog, fR as SafelistPanel, fS as ModalShell, fT as SidebarToggleButton, fU as accountsKeyFocusId, fV as accountsFocusId, fW as hostSettingsFocus, fX as createPendingApprovals, fY as createSafelist, fZ as ApprovalsProvider, f_ as createRunningWorkState, f$ as createSchedulesState, g0 as createSecretsState, g1 as createArtifactsState, g2 as createQueueState, g3 as createPlansState, g4 as SessionProvider, g5 as ProviderUsageProvider, g6 as FilesProvider, g7 as createChatBlockRuns, g8 as ChatProvider, g9 as useHasFocusedComposer, ga as hasFocusedComposer, d as pushComposerMention, gb as OpenSessionContext, gc as BadgeMenuProvider, gd as createStorageRecents, ge as PaletteProvider, gf as WorkerWrapper, gg as LabelsProvider, gh as PromptHistoryProvider, gi as SelectTurnProvider, gj as KeybindingsProvider, gk as GitProvider, gl as SidebarHostProvider, gm as useShikiTheme, T as useEditorPrefs, gn as CodeHighlightProvider, go as CodeWrapProvider, gp as createCodeHighlighter, gq as WorkerWrapper$1, gr as AppearanceProvider, gs as EditorEnvironmentRoot, gt as configureErrorReports, gu as installRendererErrorHandlers, gv as watchRuntimeIcons, gw as reportRendererError, G as buttonClass, gx as readMotionMs, gy as crispPhosphor } from "./kit-u_PHwNWF.js";
6
6
  import "./vendor-motion-BgQeucLF.js";
7
7
  import "./vendor-editor-Cx3SvGyZ.js";
8
8
  const LOCAL_SESSION_HOST = LOCAL_HOST_KEY;
@@ -1614,6 +1614,12 @@ function electronSidebarViews(api = window.api.sidebar) {
1614
1614
  setSpace: (spaceId) => api.setSpace(spaceId)
1615
1615
  };
1616
1616
  }
1617
+ function electronPageHistory(api = () => window.api.sidebar) {
1618
+ return {
1619
+ load: () => api().getHistory(),
1620
+ save: ({ entries, index }) => api().setHistory({ entries: [...entries], index })
1621
+ };
1622
+ }
1617
1623
  const electronDirectorySignals = {
1618
1624
  onRunEnd: (listener) => onStreamSignal((signal) => {
1619
1625
  if (signal.kind === "run:end") listener(signal.sessionId, signal.ok);
@@ -2021,6 +2027,12 @@ function useSessionStream(sessionId) {
2021
2027
  );
2022
2028
  return { events, running, reset, appendUserPrompt };
2023
2029
  }
2030
+ const pageHistory = pinnedSession ? null : createSessionHistory({
2031
+ store: electronPageHistory(),
2032
+ onError: (what, err) => console.warn(`[history] ${what} failed`, err)
2033
+ });
2034
+ const noHistory = { subscribe: () => () => {
2035
+ }, get: () => null };
2024
2036
  function useDirectoryStreams() {
2025
2037
  const hooks = {
2026
2038
  captureRunState: useCaptureRunState(),
@@ -2091,6 +2103,7 @@ function SessionsProvider({ children }) {
2091
2103
  onRemoved: (id) => {
2092
2104
  browserStore.close(id);
2093
2105
  forgetScopeLayout(id);
2106
+ pageHistory?.forget(id);
2094
2107
  },
2095
2108
  onError: (err) => console.warn("[sessions] refresh failed", err),
2096
2109
  saveSpace: async (space) => {
@@ -2134,6 +2147,37 @@ function SessionsProvider({ children }) {
2134
2147
  return standaloneWindows.subscribe(check);
2135
2148
  }, [directory]);
2136
2149
  useShowRequests(directory.setActive, !pinnedSession);
2150
+ reactExports.useEffect(() => {
2151
+ if (!pageHistory) return void 0;
2152
+ const follow = () => pageHistory.visit(directory.state.get().activeSessionId);
2153
+ follow();
2154
+ void pageHistory.load();
2155
+ return directory.state.subscribe(follow);
2156
+ }, [directory]);
2157
+ const canOpenPage = reactExports.useCallback(
2158
+ (id) => {
2159
+ if (!directory.state.get().allSessions.some((s) => s.id === id)) return false;
2160
+ const parts = standaloneWindows.partsOf(id);
2161
+ return !(parts && hasChat(parts));
2162
+ },
2163
+ [directory]
2164
+ );
2165
+ const history = pageHistory?.state ?? noHistory;
2166
+ const historyState = reactExports.useSyncExternalStore(history.subscribe, history.get, history.get);
2167
+ const windowsOpen = reactExports.useSyncExternalStore(standaloneWindows.subscribe, standaloneWindows.get, standaloneWindows.get);
2168
+ const [canGoBack, canGoForward] = reactExports.useMemo(
2169
+ () => historyState && pageHistory ? [pageHistory.peek("back", canOpenPage) !== void 0, pageHistory.peek("forward", canOpenPage) !== void 0] : [false, false],
2170
+ // `allSessions`: an entry opens once its session is listed; `windowsOpen`: or once its own window closes.
2171
+ [historyState, allSessions, windowsOpen, canOpenPage]
2172
+ );
2173
+ const goBack = reactExports.useCallback(() => {
2174
+ const page = pageHistory?.back(canOpenPage);
2175
+ if (page !== void 0) directory.select(page);
2176
+ }, [directory, canOpenPage]);
2177
+ const goForward = reactExports.useCallback(() => {
2178
+ const page = pageHistory?.forward(canOpenPage);
2179
+ if (page !== void 0) directory.select(page);
2180
+ }, [directory, canOpenPage]);
2137
2181
  const setActiveSessionId = reactExports.useCallback(
2138
2182
  (id) => {
2139
2183
  if (pinnedSession) {
@@ -2163,6 +2207,8 @@ function SessionsProvider({ children }) {
2163
2207
  renewDraft();
2164
2208
  }
2165
2209
  await directory.refresh();
2210
+ const shown = pageHistory?.state.get();
2211
+ if (draft2?.draft && shown && shown.entries[shown.index] === null) pageHistory?.replace(created.id);
2166
2212
  setActiveSessionId(created.id);
2167
2213
  return created;
2168
2214
  },
@@ -2217,6 +2263,8 @@ function SessionsProvider({ children }) {
2217
2263
  defaultModelId: defaults.defaultModelId,
2218
2264
  defaultAccount: defaults.defaultAccount,
2219
2265
  hostNotice: view.hostNotice,
2266
+ canGoBack,
2267
+ canGoForward,
2220
2268
  switcherSpaces: view.switcherSpaces,
2221
2269
  hiddenSpaces: view.hiddenSpaces,
2222
2270
  query: view.query
@@ -2233,7 +2281,9 @@ function SessionsProvider({ children }) {
2233
2281
  defaults.newSessionKnobs,
2234
2282
  defaults.defaultProviderKey,
2235
2283
  defaults.defaultModelId,
2236
- defaults.defaultAccount
2284
+ defaults.defaultAccount,
2285
+ canGoBack,
2286
+ canGoForward
2237
2287
  ]
2238
2288
  );
2239
2289
  const { setDefaultFolder, setDefaultAgentId, setDefaultModel } = defaults;
@@ -2266,7 +2316,9 @@ function SessionsProvider({ children }) {
2266
2316
  attachSidebarContributions: directory.attachContributions,
2267
2317
  saveViewAsSpace: (name) => directory.saveViewAsSpace?.(name) ?? Promise.reject(new Error("unavailable")),
2268
2318
  refresh: directory.refresh,
2269
- dismissHostNotice: directory.dismissHostNotice
2319
+ dismissHostNotice: directory.dismissHostNotice,
2320
+ goBack,
2321
+ goForward
2270
2322
  }),
2271
2323
  [
2272
2324
  directory,
@@ -2277,7 +2329,9 @@ function SessionsProvider({ children }) {
2277
2329
  createSession,
2278
2330
  deleteSession,
2279
2331
  deleteSessions,
2280
- patchView
2332
+ patchView,
2333
+ goBack,
2334
+ goForward
2281
2335
  ]
2282
2336
  );
2283
2337
  return /* @__PURE__ */ jsxRuntimeExports.jsx(SessionsStateContext.Provider, { value: state2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SessionsActionsContext.Provider, { value: actions, children: /* @__PURE__ */ jsxRuntimeExports.jsx(NotificationStoreContext.Provider, { value: directory.notifications, children }) }) });
@@ -2435,16 +2489,29 @@ function PanelsProvider({ children }) {
2435
2489
  ...browserOn ? [] : ["browser"],
2436
2490
  ...terminalOn ? [] : ["terminal"],
2437
2491
  // A session's own data: hidden without one (kept in the stored strip).
2438
- ...bound ? [] : ["todos", "inbox", "queue"],
2492
+ ...bound ? [] : ["inbox", "queue"],
2439
2493
  // `/side` chats live in this computer's store.
2440
2494
  ...bound && !onServer ? [] : ["side"]
2441
2495
  ];
2442
2496
  return buildPanelCatalog(extensionPanels, {
2443
2497
  showArtifacts: settings.artifacts !== false && bound,
2498
+ // `Settings.secrets` on: the session project's saved secrets.
2499
+ showSecrets: settings.secrets === true && bound,
2500
+ // `Settings.schedules` on: the reminders of This computer's sessions (a server keeps its own).
2501
+ showReminders: settings.schedules === true && bound && !onServer,
2444
2502
  ...omit.length > 0 ? { omitBuiltins: omit } : {},
2445
2503
  ...bound ? {} : { unbound: true }
2446
2504
  });
2447
- }, [extensionPanels, settings.artifacts, browserOn, terminalOn, bound, onServer]);
2505
+ }, [
2506
+ extensionPanels,
2507
+ settings.artifacts,
2508
+ settings.secrets,
2509
+ settings.schedules,
2510
+ browserOn,
2511
+ terminalOn,
2512
+ bound,
2513
+ onServer
2514
+ ]);
2448
2515
  const workspaceScope = reactExports.useMemo(() => scope ? workspaceScopeOf(scope) : null, [scope]);
2449
2516
  const content = reactExports.useMemo(() => cwd ? { cwd, sessionId } : null, [cwd, sessionId]);
2450
2517
  const loadContext = reactExports.useCallback(
@@ -2700,6 +2767,31 @@ function useChipOpener(cwd) {
2700
2767
  [openTarget, cwd]
2701
2768
  );
2702
2769
  }
2770
+ let authSettingsOpener = null;
2771
+ function setAuthSettingsOpener(open) {
2772
+ authSettingsOpener = open;
2773
+ }
2774
+ const serverAccounts = /* @__PURE__ */ new Map();
2775
+ function accountsOnServer(hostId) {
2776
+ let accounts = serverAccounts.get(hostId);
2777
+ if (!accounts) {
2778
+ accounts = createElectronSettingsAccounts(window.api, { hostId });
2779
+ serverAccounts.set(hostId, accounts);
2780
+ }
2781
+ return accounts;
2782
+ }
2783
+ function useTranscriptAccounts(hostId, cwd) {
2784
+ const local = useSettingsHost();
2785
+ return reactExports.useMemo(() => {
2786
+ const { providers, mcp } = hostId ? accountsOnServer(hostId) : local;
2787
+ return {
2788
+ cwd,
2789
+ ...providers ? { providers } : {},
2790
+ ...mcp?.signIn ? { mcp } : {},
2791
+ openSettings: (target) => authSettingsOpener?.(target, hostId)
2792
+ };
2793
+ }, [hostId, cwd, local]);
2794
+ }
2703
2795
  const CATALOG_TTL_MS = 3e4;
2704
2796
  const SIDE_COMMAND = {
2705
2797
  name: "side",
@@ -3072,6 +3164,7 @@ const Timeline = reactExports.memo(({ events, isStreaming, sessionId }) => {
3072
3164
  () => sessionId && hasSession2 && settings.terminal !== false && session?.archived !== true ? scopeOfSession({ id: sessionId, cwd: scopeCwd, projectRoot: scopeRoot, workspace: scopeWorkspace }) : null,
3073
3165
  [sessionId, hasSession2, settings.terminal, session?.archived, scopeCwd, scopeRoot, scopeWorkspace]
3074
3166
  );
3167
+ const accounts = useTranscriptAccounts(sessionId ? serverIdOf(sessionId) : null, scopeCwd);
3075
3168
  const actions = reactExports.useMemo(
3076
3169
  () => ({
3077
3170
  sessionId,
@@ -3089,9 +3182,10 @@ const Timeline = reactExports.memo(({ events, isStreaming, sessionId }) => {
3089
3182
  ...sessionId && serverIdOf(sessionId) === null && scopeCwd ? {
3090
3183
  openFile: (path, event) => void openTarget.file(`${scopeCwd.replace(/\/+$/, "")}/${path}`, event)
3091
3184
  } : {},
3092
- ...terminalScope ? { runInTerminal: (input) => void terminalStore.runIn(terminalScope, input) } : {}
3185
+ ...terminalScope ? { runInTerminal: (input) => void terminalStore.runIn(terminalScope, input) } : {},
3186
+ accounts
3093
3187
  }),
3094
- [sessionId, openSession, modelName, openTarget, scopeCwd, terminalScope]
3188
+ [sessionId, openSession, modelName, openTarget, scopeCwd, terminalScope, accounts]
3095
3189
  );
3096
3190
  return /* @__PURE__ */ jsxRuntimeExports.jsx(MarkdownContext.Provider, { value: markdownCtx, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CommandScopeContext.Provider, { value: commandScope, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TranscriptRenderersProvider, { value: GUI_TRANSCRIPT_RENDERERS, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TranscriptActionsProvider, { value: actions, children: /* @__PURE__ */ jsxRuntimeExports.jsx(PathDisplayScope, { hostId: sessionId ? serverIdOf(sessionId) : null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
3097
3191
  Transcript,
@@ -3998,6 +4092,7 @@ function ProjectHomeScreen({ draft: draft2 }) {
3998
4092
  const server = draft2.server;
3999
4093
  const folder = server ? draft2.remoteFolder ?? draft2.remoteRoot ?? "" : draft2.folderPath ?? "";
4000
4094
  const root = server ? folder : scope?.root || folder;
4095
+ const startSession = useStartFromPanel(draft2, folder);
4001
4096
  const serverId = server?.id;
4002
4097
  reactExports.useEffect(() => {
4003
4098
  publishHomeProject(root ? { path: root, ...serverId ? { hostId: serverId } : {} } : null);
@@ -4047,6 +4142,7 @@ function ProjectHomeScreen({ draft: draft2 }) {
4047
4142
  ...server ? { blocksUnavailable: true } : host2?.panels ? { panels: host2.panels } : {},
4048
4143
  onOpenSession: (id) => setActiveSessionId(localSessionKey(id)),
4049
4144
  onOpenPath,
4145
+ ...server ? {} : { onStartSession: startSession },
4050
4146
  ...server ? {} : {
4051
4147
  // A folder on this computer: its repository, its files, Finder, the editor.
4052
4148
  ...repo ? {
@@ -6653,6 +6749,7 @@ function displayUrl(url) {
6653
6749
  function InboxTab({ sessionId }) {
6654
6750
  const { focusRequest } = usePanelRequests();
6655
6751
  const { takeFocusRequest } = usePanelActions();
6752
+ const { current, recent } = useInboxPlans(sessionId);
6656
6753
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
6657
6754
  InboxPanel,
6658
6755
  {
@@ -6660,7 +6757,9 @@ function InboxTab({ sessionId }) {
6660
6757
  focus: focusRequest === INBOX_PANEL_ID,
6661
6758
  onFocusTaken: takeFocusRequest,
6662
6759
  onEscape: focusComposer,
6663
- Markdown: ProseMarkdown
6760
+ Markdown: ProseMarkdown,
6761
+ inProgress: current && /* @__PURE__ */ jsxRuntimeExports.jsx(PlanTracker, { sessionId, plan: current }),
6762
+ recent: recent.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(RecentPlans, { sessionId, plans: recent })
6664
6763
  }
6665
6764
  );
6666
6765
  }
@@ -6798,8 +6897,8 @@ function SideTab({ parentId, cwd }) {
6798
6897
  }
6799
6898
  );
6800
6899
  }
6801
- const DesktopDiffsTab = reactExports.lazy(() => __vitePreload(() => import("./file-tabs-DwqRIh1X.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((m) => ({ default: m.DesktopDiffsTab })));
6802
- const DesktopFilesTab = reactExports.lazy(() => __vitePreload(() => import("./file-tabs-DwqRIh1X.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((m) => ({ default: m.DesktopFilesTab })));
6900
+ const DesktopDiffsTab = reactExports.lazy(() => __vitePreload(() => import("./file-tabs-CDruoNmZ.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((m) => ({ default: m.DesktopDiffsTab })));
6901
+ const DesktopFilesTab = reactExports.lazy(() => __vitePreload(() => import("./file-tabs-CDruoNmZ.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((m) => ({ default: m.DesktopFilesTab })));
6803
6902
  const KEEP_ALIVE = /* @__PURE__ */ new Set([
6804
6903
  ARTIFACTS_PANEL_ID,
6805
6904
  BROWSER_PANEL_ID,
@@ -6807,8 +6906,9 @@ const KEEP_ALIVE = /* @__PURE__ */ new Set([
6807
6906
  FILES_PANEL_ID,
6808
6907
  INBOX_PANEL_ID,
6809
6908
  QUEUE_PANEL_ID,
6810
- SIDE_PANEL_ID,
6811
- TODOS_PANEL_ID
6909
+ REMINDERS_PANEL_ID,
6910
+ SECRETS_PANEL_ID,
6911
+ SIDE_PANEL_ID
6812
6912
  ]);
6813
6913
  const DESCRIPTIONS = {
6814
6914
  [ARTIFACTS_PANEL_ID]: "Pull requests, branches and commits the session made",
@@ -6816,10 +6916,11 @@ const DESCRIPTIONS = {
6816
6916
  [FILES_PANEL_ID]: "The folder as a tree, with a viewer and an editor",
6817
6917
  [TERMINAL_PANEL_ID]: "Terminals where the session runs",
6818
6918
  [BROWSER_PANEL_ID]: "A browser for the app you are building",
6819
- [INBOX_PANEL_ID]: "Plans and questions waiting for you",
6820
- [TODOS_PANEL_ID]: "The agent's todo list",
6919
+ [INBOX_PANEL_ID]: "What waits on you, the plan in progress and the recent ones",
6821
6920
  [QUEUE_PANEL_ID]: "Messages waiting for the run to end",
6822
- [SIDE_PANEL_ID]: "A side chat beside this session"
6921
+ [SIDE_PANEL_ID]: "A side chat beside this session",
6922
+ [SECRETS_PANEL_ID]: "API keys and tokens saved for this project",
6923
+ [REMINDERS_PANEL_ID]: "Prompts set to reach this session at a set time"
6823
6924
  };
6824
6925
  function tabBodyKey(scope) {
6825
6926
  return [scopeKey(scope), scope.cwd, scope.root, scope.workspace ?? ""].join("\0");
@@ -6858,14 +6959,16 @@ function TabBody({ tab, scope }) {
6858
6959
  switch (tab.id) {
6859
6960
  case INBOX_PANEL_ID:
6860
6961
  return /* @__PURE__ */ jsxRuntimeExports.jsx(InboxTab, { sessionId: scope.session });
6861
- case TODOS_PANEL_ID:
6862
- return /* @__PURE__ */ jsxRuntimeExports.jsx(TodosPanel, { sessionId: scope.session });
6863
6962
  case QUEUE_PANEL_ID:
6864
6963
  return /* @__PURE__ */ jsxRuntimeExports.jsx(QueueTab, { sessionId: scope.session });
6865
6964
  case BROWSER_PANEL_ID:
6866
6965
  return /* @__PURE__ */ jsxRuntimeExports.jsx(BrowserTab, { sessionId: scope.session });
6867
6966
  case SIDE_PANEL_ID:
6868
6967
  return /* @__PURE__ */ jsxRuntimeExports.jsx(SideTab, { parentId: scope.session, cwd: scope.cwd });
6968
+ case SECRETS_PANEL_ID:
6969
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SecretsPanel, { sessionId: scope.session });
6970
+ case REMINDERS_PANEL_ID:
6971
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(RemindersPanel, { sessionId: scope.session });
6869
6972
  default:
6870
6973
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ArtifactsPanel, { sessionId: scope.session });
6871
6974
  }
@@ -7437,6 +7540,7 @@ function Sidebar({ onNewSession, hasAuth, onOpenAuth, onOpenSettings }) {
7437
7540
  function SidebarFilters() {
7438
7541
  const { availableProjects, query, spacesOn, spaces, patchView, saveViewAsSpace } = useSessions();
7439
7542
  const { enabled: remoteHosts } = useHosts();
7543
+ const { settings } = useSettings();
7440
7544
  const onSaveView = useSaveViewAsSpace(saveViewAsSpace, spaces);
7441
7545
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
7442
7546
  SidebarFilterMenu,
@@ -7445,6 +7549,7 @@ function SidebarFilters() {
7445
7549
  projects: availableProjects,
7446
7550
  onChange: patchView,
7447
7551
  hosts: remoteHosts,
7552
+ origin: settings.schedules === true,
7448
7553
  agents: query.agents,
7449
7554
  query,
7450
7555
  ...spacesOn && onSaveView ? { onSaveView } : {}
@@ -8510,15 +8615,15 @@ function InboxAttention() {
8510
8615
  const overlayShowing = overlay && state2.open && !budget.panelHidden;
8511
8616
  return /* @__PURE__ */ jsxRuntimeExports.jsx(InboxAttention$1, { sessionId: activeSessionId, actions, reveal: !overlay || overlayShowing });
8512
8617
  }
8513
- function TodosAttention() {
8618
+ function QueueAttention() {
8514
8619
  const actions = usePanelActions();
8515
8620
  const { activeSessionId } = useSessions();
8516
- return /* @__PURE__ */ jsxRuntimeExports.jsx(TodosAttention$1, { sessionId: activeSessionId, actions });
8621
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(QueueAttention$1, { sessionId: activeSessionId, actions });
8517
8622
  }
8518
- function QueueAttention() {
8623
+ function SecretsAttention() {
8519
8624
  const actions = usePanelActions();
8520
8625
  const { activeSessionId } = useSessions();
8521
- return /* @__PURE__ */ jsxRuntimeExports.jsx(QueueAttention$1, { sessionId: activeSessionId, actions });
8626
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SecretsAttention$1, { sessionId: activeSessionId, actions });
8522
8627
  }
8523
8628
  const WINDOWS_SOURCE_ID = "builtin:windows";
8524
8629
  const ITEMS = [
@@ -8889,7 +8994,11 @@ function PaletteHost({
8889
8994
  return {
8890
8995
  open: p.state.open,
8891
8996
  activeTabId: p.activeTab?.id,
8892
- tabs: p.tabs.map((t) => ({ id: t.id, label: t.label, icon: t.icon?.gui })),
8997
+ // A row's icon is a class: an extension's logo or letter leaves it out.
8998
+ tabs: p.tabs.map((t) => {
8999
+ const mark = panelTabMark(t);
9000
+ return { id: t.id, label: t.label, icon: mark?.kind === "icon" ? mark.gui : void 0 };
9001
+ }),
8893
9002
  attention: p.attention,
8894
9003
  toggle: p.toggle,
8895
9004
  close: p.close,
@@ -9484,7 +9593,11 @@ function AppShell({ appearanceFirstRun: appearanceFirstRun2 }) {
9484
9593
  deleteSession,
9485
9594
  spacesOn,
9486
9595
  stepSpace,
9487
- setFavorite
9596
+ setFavorite,
9597
+ canGoBack,
9598
+ canGoForward,
9599
+ goBack,
9600
+ goForward
9488
9601
  } = useSessions();
9489
9602
  const { hostById } = useHosts();
9490
9603
  const { isOpen: modalIsOpen, open: openModal, close: closeModal } = useModal();
@@ -9515,7 +9628,7 @@ function AppShell({ appearanceFirstRun: appearanceFirstRun2 }) {
9515
9628
  useProviderReadyPoll(providerStatus, modalIsOpen);
9516
9629
  const claudeImportAvailable = useClaudeImportAvailable();
9517
9630
  const openSettings = reactExports.useCallback(
9518
- (initialTab, initialFocus) => {
9631
+ (initialTab, initialFocus, initialHostId) => {
9519
9632
  const settingsCwd = activeSession?.hostId ? defaultFolder : activeSession?.cwd ?? defaultFolder;
9520
9633
  const activeServer = activeSession?.hostId ? hostById(activeSession.hostId) : void 0;
9521
9634
  const actions = [
@@ -9574,6 +9687,7 @@ function AppShell({ appearanceFirstRun: appearanceFirstRun2 }) {
9574
9687
  actions,
9575
9688
  initialTab,
9576
9689
  initialFocus,
9690
+ ...initialHostId ? { initialHostId } : {},
9577
9691
  onCreateExtension: () => modal.open(
9578
9692
  /* @__PURE__ */ jsxRuntimeExports.jsx(
9579
9693
  CreateExtensionModal,
@@ -9782,10 +9896,39 @@ function AppShell({ appearanceFirstRun: appearanceFirstRun2 }) {
9782
9896
  settings.terminal
9783
9897
  ]);
9784
9898
  useKeyCommands(handlers);
9899
+ const historyHandlers = reactExports.useMemo(
9900
+ () => ({
9901
+ ...canGoBack ? { navigateBack: goBack } : {},
9902
+ ...canGoForward ? { navigateForward: goForward } : {}
9903
+ }),
9904
+ [canGoBack, canGoForward, goBack, goForward]
9905
+ );
9906
+ useKeyCommands(historyHandlers);
9907
+ reactExports.useEffect(() => {
9908
+ if (standalone) return void 0;
9909
+ const onMouseUp = (event) => {
9910
+ if (event.button !== 3 && event.button !== 4 || modalOwnsInput()) return;
9911
+ event.preventDefault();
9912
+ if (event.button === 3) goBack();
9913
+ else goForward();
9914
+ };
9915
+ window.addEventListener("mouseup", onMouseUp);
9916
+ return () => window.removeEventListener("mouseup", onMouseUp);
9917
+ }, [goBack, goForward, modalOwnsInput]);
9785
9918
  reactExports.useEffect(() => {
9786
9919
  setTerminalSettingsOpener(() => openSettings("advanced", "useDaemon"));
9787
9920
  return () => setTerminalSettingsOpener(null);
9788
9921
  }, [openSettings]);
9922
+ reactExports.useEffect(() => {
9923
+ setAuthSettingsOpener(
9924
+ (target, hostId) => target.source === "mcp" ? openSettings("mcp", void 0, hostId ?? void 0) : openSettings(
9925
+ "accounts",
9926
+ target.source === "provider" ? target.field === "apikey" ? accountsKeyFocusId(target.provider) : accountsFocusId(target.provider) : void 0,
9927
+ hostId ?? void 0
9928
+ )
9929
+ );
9930
+ return () => setAuthSettingsOpener(null);
9931
+ }, [openSettings]);
9789
9932
  reactExports.useEffect(() => {
9790
9933
  setHostSettingsOpener((hostId) => openSettings("hosts", hostSettingsFocus(hostId)));
9791
9934
  return () => setHostSettingsOpener(null);
@@ -9806,8 +9949,8 @@ function AppShell({ appearanceFirstRun: appearanceFirstRun2 }) {
9806
9949
  /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { region: "Browser", resetKey: regionKey, fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(BrowserHost, {}) }),
9807
9950
  /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { region: "Browser requests", resetKey: regionKey, fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(BrowserRequests, {}) }),
9808
9951
  /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { region: "Inbox", resetKey: regionKey, fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(InboxAttention, {}) }),
9809
- /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { region: "Todos", resetKey: regionKey, fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TodosAttention, {}) }),
9810
9952
  /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { region: "Queue", resetKey: regionKey, fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(QueueAttention, {}) }),
9953
+ settings.secrets === true && /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { region: "Secrets", resetKey: regionKey, fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SecretsAttention, {}) }),
9811
9954
  /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { region: "Performance overlay", fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(PerfHudMount, { onOpen: () => openSettings("performance") }) }),
9812
9955
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col h-full w-full", children: windowRole.kind === "session" && windowRole.parts === "panels" ? (
9813
9956
  // The session's side panels, alone in their window.
@@ -9895,8 +10038,8 @@ function ApprovalsHostProvider({ children }) {
9895
10038
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ApprovalsProvider, { host: host2, children });
9896
10039
  }
9897
10040
  const key = (sessionId) => sessionId;
9898
- function createElectronSessionHost(api, onStreamSignal2) {
9899
- const todos = createTodosState((sessionId) => api.todos.get(key(sessionId)));
10041
+ function createElectronSessionHost(api, onStreamSignal2, onSettingsWritten) {
10042
+ const plans = createPlansState((sessionId) => api.plans.get(key(sessionId)));
9900
10043
  const queue = createQueueState({
9901
10044
  list: (sessionId) => api.queue.list(key(sessionId)),
9902
10045
  remove: (sessionId, id) => api.queue.remove(key(sessionId), id),
@@ -9904,12 +10047,26 @@ function createElectronSessionHost(api, onStreamSignal2) {
9904
10047
  });
9905
10048
  const artifacts = createArtifactsState((sessionId) => api.artifacts.list({ sessionId: key(sessionId) }));
9906
10049
  const work = createRunningWorkState((sessionId) => api.chat.listWork(key(sessionId)));
10050
+ const secrets = createSecretsState((sessionId) => api.secrets.list(key(sessionId)));
10051
+ const schedules = createSchedulesState({ status: () => api.schedules.status(), list: () => api.schedules.list() });
10052
+ const unwrapped = async (call) => {
10053
+ try {
10054
+ return await call();
10055
+ } catch (err) {
10056
+ throw new Error(ipcErrorMessage(err));
10057
+ }
10058
+ };
9907
10059
  const ownerKey = (sessionId, owner) => owner === void 0 ? key(sessionId) : siblingSessionKey(key(sessionId), owner);
9908
10060
  return {
9909
- todos: {
9910
- snapshot: todos.snapshot,
9911
- refresh: todos.refresh,
9912
- set: async (sessionId, items) => await api.todos.set(key(sessionId), items) !== null,
10061
+ plans: {
10062
+ snapshot: plans.snapshot,
10063
+ refresh: plans.refresh,
10064
+ edit: async (sessionId, planId, op) => {
10065
+ plans.push(sessionId, await unwrapped(() => api.plans.edit(key(sessionId), planId, op)));
10066
+ },
10067
+ control: async (sessionId, planId, action) => {
10068
+ plans.push(sessionId, await unwrapped(() => api.plans.control(key(sessionId), planId, action)));
10069
+ },
9913
10070
  retry: async (sessionId, message) => {
9914
10071
  await api.chat.pushQueued(key(sessionId), message);
9915
10072
  }
@@ -9931,6 +10088,36 @@ function createElectronSessionHost(api, onStreamSignal2) {
9931
10088
  await api.artifacts.refresh(ownerKey(sessionId, artifact.sessionId), artifact, options?.force ? { force: true } : void 0).catch(() => void 0);
9932
10089
  }
9933
10090
  },
10091
+ secrets: {
10092
+ entries: secrets.entries,
10093
+ refresh: secrets.refresh,
10094
+ save: (sessionId, input) => unwrapped(() => api.secrets.save(key(sessionId), { name: input.name, value: input.value, ttl: input.ttl })),
10095
+ revoke: async (sessionId, name) => (await unwrapped(() => api.secrets.revoke(key(sessionId), name))).removed
10096
+ },
10097
+ schedules: {
10098
+ status: schedules.status,
10099
+ all: schedules.all,
10100
+ forSession: schedules.forSession,
10101
+ refresh: schedules.refresh,
10102
+ ensure: schedules.ensure,
10103
+ create: async (input) => {
10104
+ const created = await unwrapped(() => api.schedules.create(input));
10105
+ schedules.apply(created);
10106
+ return created;
10107
+ },
10108
+ update: async (id, patch) => {
10109
+ const updated = await unwrapped(() => api.schedules.update(id, patch));
10110
+ schedules.apply(updated);
10111
+ return updated;
10112
+ },
10113
+ remove: async (id) => {
10114
+ const removed = await unwrapped(() => api.schedules.delete(id));
10115
+ schedules.drop(id);
10116
+ return removed;
10117
+ },
10118
+ runNow: (id) => unwrapped(() => api.schedules.runNow(id)),
10119
+ fires: (id, limit) => unwrapped(() => api.schedules.fires(id, limit))
10120
+ },
9934
10121
  runningWork: {
9935
10122
  items: work.items,
9936
10123
  refresh: work.refresh,
@@ -9988,16 +10175,25 @@ function createElectronSessionHost(api, onStreamSignal2) {
9988
10175
  connect() {
9989
10176
  const off = [
9990
10177
  onStreamSignal2((signal) => {
9991
- if (signal.kind === "todos:snapshot") todos.push(signal.sessionId, signal.snapshot);
10178
+ if (signal.kind === "plans:snapshot") plans.push(signal.sessionId, signal.snapshot);
9992
10179
  else if (signal.kind === "work:snapshot") work.push(signal.sessionId, signal.items);
9993
10180
  else if (signal.kind === "artifact:recorded" || signal.kind === "artifact:changed")
9994
10181
  artifacts.wake(signal.sessionId);
10182
+ else if (signal.kind === "secrets:changed") secrets.wakeAll();
10183
+ else if (signal.kind === "schedules:changed") schedules.wake();
9995
10184
  }),
9996
10185
  api.sessions.onChanged((signal) => {
9997
- if (signal.op === "delete") todos.forget(signal.sessionId);
10186
+ if (signal.op === "delete") {
10187
+ plans.forget(signal.sessionId);
10188
+ secrets.forget(signal.sessionId);
10189
+ }
9998
10190
  }),
9999
10191
  api.queue.onChanged((signal) => queue.replace(signal.sessionId, signal.items)),
10000
- api.daemon.onState(({ connected }) => queue.reset(connected))
10192
+ api.daemon.onState(({ connected }) => {
10193
+ queue.reset(connected);
10194
+ schedules.wake();
10195
+ }),
10196
+ ...onSettingsWritten ? [onSettingsWritten(() => schedules.wake())] : []
10001
10197
  ];
10002
10198
  return () => {
10003
10199
  for (const stop of off) stop();
@@ -10006,7 +10202,13 @@ function createElectronSessionHost(api, onStreamSignal2) {
10006
10202
  };
10007
10203
  }
10008
10204
  function SessionHostProvider({ children }) {
10009
- const [host2] = reactExports.useState(() => createElectronSessionHost(window.api, onStreamSignal));
10205
+ const [host2] = reactExports.useState(
10206
+ () => createElectronSessionHost(
10207
+ window.api,
10208
+ onStreamSignal,
10209
+ (cb) => subscribeInvalidation({ topics: ["settings"], scope: hostScope(null) }, () => cb())
10210
+ )
10211
+ );
10010
10212
  reactExports.useEffect(() => host2.connect(), [host2]);
10011
10213
  const { settings } = useSettings();
10012
10214
  return /* @__PURE__ */ jsxRuntimeExports.jsx(SessionProvider, { host: host2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ProviderUsageProvider, { autoLoad: settings.subscriptionUsage !== false, children }) });
@@ -10407,7 +10609,9 @@ function createElectronChatHost(api, streams, options = {}) {
10407
10609
  pending,
10408
10610
  all: () => allInteractions,
10409
10611
  async answer(requestId, response) {
10410
- await api.interactions.respond(requestId, response);
10612
+ await api.interactions.respond(requestId, response).catch((err) => {
10613
+ throw new Error(ipcErrorMessage(err));
10614
+ });
10411
10615
  resolveInteraction(requestId);
10412
10616
  },
10413
10617
  async cancel(requestId, reason) {
@@ -10787,7 +10991,7 @@ const subscribe = (listener) => {
10787
10991
  listeners.add(listener);
10788
10992
  return () => void listeners.delete(listener);
10789
10993
  };
10790
- const EditorWorkerPool = reactExports.lazy(() => __vitePreload(() => import("./EditorWorkers-Durn1REy.js"), true ? __vite__mapDeps([2,1,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((m) => ({ default: m.EditorWorkerPool })));
10994
+ const EditorWorkerPool = reactExports.lazy(() => __vitePreload(() => import("./EditorWorkers-D0xeQ5Kf.js"), true ? __vite__mapDeps([2,1,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((m) => ({ default: m.EditorWorkerPool })));
10791
10995
  function EditorWorkersHold() {
10792
10996
  const on2 = reactExports.useSyncExternalStore(
10793
10997
  subscribe,