arco-workbench 0.1.9 → 0.2.1
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/CONTRIBUTING.md +14 -12
- package/README.md +5 -3
- package/client/dist/THIRD_PARTY_LICENSES.txt +3912 -0
- package/client/dist/assets/{PhosphorBackdrop-DRu16-Is.js → PhosphorBackdrop-BbR3xmfD.js} +1 -1
- package/client/dist/assets/{ThemedBackgroundShaderImpl-BLdwwQ4D.js → ThemedBackgroundShaderImpl-UMjbs9ZN.js} +1 -1
- package/client/dist/assets/XtermView-n135qz-f.js +10 -0
- package/client/dist/assets/{galleryEditor-CI8ClzBa.js → galleryEditor-CFSke4by.js} +1 -1
- package/client/dist/assets/index-CVJVD2Vn.css +1 -0
- package/client/dist/assets/index-DeoJbjI3.js +638 -0
- package/client/dist/index.html +3 -3
- package/client/src/App.tsx +42 -9
- package/client/src/components/AskUserQuestionNotice.tsx +37 -10
- package/client/src/components/AttachmentPill.tsx +3 -2
- package/client/src/components/AuthReloginNotice.tsx +25 -6
- package/client/src/components/AutomaticMessage.tsx +3 -1
- package/client/src/components/CatchMeUp.tsx +4 -1
- package/client/src/components/ChatMessage.tsx +43 -5
- package/client/src/components/ChatModeView.tsx +20 -4
- package/client/src/components/ChatPanel.tsx +5 -0
- package/client/src/components/ClusterActivityTab.tsx +9 -3
- package/client/src/components/ClusterComposerButtons.tsx +5 -3
- package/client/src/components/ClusterPlanTab.tsx +55 -8
- package/client/src/components/ClusterRightPanel/AddWorkerSection.tsx +38 -99
- package/client/src/components/ClusterRightPanel/AutoPickupControl.tsx +36 -12
- package/client/src/components/ClusterRightPanel/MailboxModal.tsx +61 -8
- package/client/src/components/ClusterRightPanel/MemberRow.tsx +46 -14
- package/client/src/components/ClusterRightPanel/PhoneMemberList.tsx +56 -0
- package/client/src/components/ClusterRightPanel/ReplaceMemberDialog.tsx +38 -9
- package/client/src/components/ClusterRightPanel/SkillsControl.tsx +6 -5
- package/client/src/components/ClusterRightPanel/index.tsx +188 -39
- package/client/src/components/ClusterRightPanel/memberSettings.ts +2 -2
- package/client/src/components/ClusterRightPanel/panels.ts +1 -0
- package/client/src/components/ClusterRightPanel/types.ts +5 -1
- package/client/src/components/ClusterRightPanel/useFreshMemberPicker.ts +82 -0
- package/client/src/components/ClusterTab.tsx +76 -23
- package/client/src/components/ClusterTaskBoardTab.tsx +35 -6
- package/client/src/components/Connections/Connections.tsx +5 -8
- package/client/src/components/Connections/model.ts +2 -2
- package/client/src/components/DialogShell.tsx +4 -0
- package/client/src/components/DirectorContinuePrompt.tsx +56 -0
- package/client/src/components/FileExplorer.tsx +54 -1
- package/client/src/components/FileViewerModal.tsx +39 -7
- package/client/src/components/FirstRun.tsx +3 -2
- package/client/src/components/ForwardMessages.tsx +6 -3
- package/client/src/components/GateApprovalNotice.tsx +7 -4
- package/client/src/components/GeminiSkillNotice.tsx +12 -0
- package/client/src/components/GeminiSubagentLine.tsx +5 -0
- package/client/src/components/GitDialog.tsx +15 -6
- package/client/src/components/GitOtherWork.tsx +2 -1
- package/client/src/components/HandoffDialog.tsx +3 -2
- package/client/src/components/HeaderVersionBox.tsx +6 -4
- package/client/src/components/HistoryTab.tsx +127 -108
- package/client/src/components/Home/HomeView.tsx +14 -3
- package/client/src/components/Home/ResearchLibrary.tsx +107 -0
- package/client/src/components/Home/home.css +6 -0
- package/client/src/components/LoginFlow.tsx +12 -5
- package/client/src/components/MemberCard.tsx +8 -2
- package/client/src/components/MemberPane.tsx +12 -4
- package/client/src/components/MobileNotices.tsx +26 -0
- package/client/src/components/MobileQuestionBar.tsx +35 -0
- package/client/src/components/MobileShell.tsx +811 -0
- package/client/src/components/MobileTextSize.tsx +27 -0
- package/client/src/components/NativeSubagentControls.tsx +12 -1
- package/client/src/components/NorthStarBar.tsx +2 -0
- package/client/src/components/NotificationToasts.tsx +6 -2
- package/client/src/components/OperatorQuestionNotice.tsx +2 -2
- package/client/src/components/PendingQuestionsButton.tsx +44 -5
- package/client/src/components/PhoneUpload.tsx +4 -2
- package/client/src/components/PlanComposerDialog.tsx +7 -7
- package/client/src/components/ProjectsSettings.tsx +3 -0
- package/client/src/components/ProvidersPopover.tsx +9 -6
- package/client/src/components/PurgeConversationModal.tsx +1 -1
- package/client/src/components/QueuedMessagesIndicator.tsx +1 -1
- package/client/src/components/Recall/RecallView.tsx +31 -8
- package/client/src/components/ResearchFolderSetting.tsx +64 -0
- package/client/src/components/RightPanel/ActivityTab.tsx +9 -4
- package/client/src/components/RightPanel/BlastRadiusTab.tsx +6 -8
- package/client/src/components/RightPanel/ConfigTab.tsx +18 -10
- package/client/src/components/RightPanel/FilesTab.tsx +34 -19
- package/client/src/components/RightPanel/PlanTab.tsx +67 -24
- package/client/src/components/RightPanel/UsageTab.tsx +30 -3
- package/client/src/components/RightPanel/index.tsx +42 -3
- package/client/src/components/RuntimeStateBanner.tsx +8 -0
- package/client/src/components/ScratchCloseDialog.tsx +124 -0
- package/client/src/components/SettingsPanel.tsx +221 -71
- package/client/src/components/SkillActivityIndicator.tsx +93 -0
- package/client/src/components/SystemHeader.tsx +2 -7
- package/client/src/components/SystemModal.tsx +37 -45
- package/client/src/components/TabBar.tsx +52 -8
- package/client/src/components/TabContextMenu.tsx +12 -102
- package/client/src/components/TaskCard.tsx +13 -17
- package/client/src/components/TaskChildComposer.tsx +24 -0
- package/client/src/components/TasksPanel.tsx +7 -17
- package/client/src/components/Terminal/FloatingTerminalWindow.tsx +11 -3
- package/client/src/components/Terminal/FloatingWindow.tsx +36 -14
- package/client/src/components/Terminal/XtermView.tsx +19 -2
- package/client/src/components/Terminal/phoneKeys.ts +9 -0
- package/client/src/components/TerminalInput.tsx +149 -32
- package/client/src/components/TranscriptWorkerDialog.tsx +2 -2
- package/client/src/components/UpdateAction.tsx +9 -6
- package/client/src/components/UsageBar.tsx +118 -10
- package/client/src/components/UserManual/MobileManualContent.tsx +58 -0
- package/client/src/components/WorkflowCreator/ClusterMembersSection.tsx +8 -5
- package/client/src/components/WorkflowCreator/PastChatsList.tsx +3 -1
- package/client/src/components/WorkflowCreator/ProjectPicker.tsx +3 -3
- package/client/src/components/WorkflowCreator/ResearchStartForm.tsx +335 -0
- package/client/src/components/WorkflowCreator/index.tsx +124 -36
- package/client/src/components/WorkflowCreator/memberProviders.ts +20 -5
- package/client/src/components/WorkflowCreator/pendingTemplateApply.ts +20 -0
- package/client/src/components/WorkflowCreator/types.ts +18 -0
- package/client/src/components/WorkflowStatusChip.tsx +1 -0
- package/client/src/components/WorkflowView.tsx +51 -13
- package/client/src/components/chatMessageLabel.ts +4 -0
- package/client/src/components/clusterActivity.helpers.ts +5 -1
- package/client/src/components/clusterNeedsYou.ts +3 -8
- package/client/src/components/clusterSurface.helpers.ts +6 -1
- package/client/src/components/composer/submitComposer.ts +7 -1
- package/client/src/components/help/HelpBanner.tsx +10 -5
- package/client/src/components/help/HelpPopover.tsx +5 -0
- package/client/src/components/media/MediaModalHost.tsx +13 -8
- package/client/src/components/plans/PhonePlanView.tsx +66 -0
- package/client/src/components/plans/phonePlanChecklist.ts +45 -0
- package/client/src/components/providerIndicator.ts +83 -0
- package/client/src/components/research/AddResearcherSection.tsx +50 -0
- package/client/src/components/research/ExportResearchDialog.tsx +52 -0
- package/client/src/components/research/QuickResearchOverview.tsx +92 -0
- package/client/src/components/research/RerunResearchDialog.tsx +61 -0
- package/client/src/components/research/ResearchCloseDialog.tsx +98 -0
- package/client/src/components/research/ResearchRemoveDialog.tsx +37 -0
- package/client/src/components/research/ResearchReopenDialog.tsx +160 -0
- package/client/src/components/research/ResearchResultsTab.css +289 -0
- package/client/src/components/research/ResearchResultsTab.tsx +207 -0
- package/client/src/components/research/ResearchRoundsStrip.tsx +127 -0
- package/client/src/components/research/SavedQuickKeep.tsx +58 -0
- package/client/src/components/research/SendResearchDialog.tsx +126 -0
- package/client/src/components/research/StartResearchProjectDialog.tsx +108 -0
- package/client/src/components/research/researchExports.ts +26 -0
- package/client/src/components/research/researchLinks.tsx +30 -0
- package/client/src/components/research/researchView.ts +64 -0
- package/client/src/components/research/researcherRow.tsx +104 -0
- package/client/src/components/settings/AppVersionSection.tsx +4 -2
- package/client/src/components/settings/SettingsLayout.tsx +23 -4
- package/client/src/components/settings/navigation.ts +4 -4
- package/client/src/components/settings/settings.css +18 -0
- package/client/src/components/usageVisibility.ts +4 -6
- package/client/src/components/workSurface/WorkSurfaceControls.tsx +7 -0
- package/client/src/explorer/StorageLens.tsx +10 -3
- package/client/src/help/content/chat.tsx +5 -8
- package/client/src/help/content/cluster.tsx +70 -30
- package/client/src/help/content/composer.tsx +13 -8
- package/client/src/help/content/header.tsx +18 -24
- package/client/src/help/content/media.tsx +2 -2
- package/client/src/help/content/misc.tsx +174 -38
- package/client/src/help/content/recall.tsx +2 -2
- package/client/src/help/content/rightPanel.tsx +8 -8
- package/client/src/help/content/settings.tsx +56 -17
- package/client/src/help/content/tabbar.tsx +6 -2
- package/client/src/help/manualSections/actions.tsx +7 -2
- package/client/src/help/manualSections/chat.tsx +16 -15
- package/client/src/help/manualSections/clusters.tsx +348 -69
- package/client/src/help/manualSections/configuration.tsx +27 -18
- package/client/src/help/manualSections/deepseek.tsx +4 -5
- package/client/src/help/manualSections/gettingStarted.tsx +30 -26
- package/client/src/help/manualSections/maintenance.tsx +16 -8
- package/client/src/help/manualSections/plans.tsx +4 -4
- package/client/src/help/manualSections/powerFeatures.tsx +51 -18
- package/client/src/help/manualSections/providers.tsx +56 -21
- package/client/src/help/manualSections/reference.tsx +6 -6
- package/client/src/help/manualSections/strata.tsx +8 -8
- package/client/src/help/manualSections/workflows.tsx +3 -3
- package/client/src/help/manualSections/workspace.tsx +115 -39
- package/client/src/hooks/useWebSocket.ts +21 -4
- package/client/src/layout/PhoneBottomSheet.tsx +71 -0
- package/client/src/layout/PhonePage.tsx +71 -0
- package/client/src/layout/SlideOut.tsx +36 -9
- package/client/src/layout/layoutRange.ts +41 -4
- package/client/src/layout/phoneChip.ts +14 -0
- package/client/src/layout/phoneOverlay.ts +81 -0
- package/client/src/layout/phonePageActions.ts +40 -0
- package/client/src/stores/appStore.ts +36 -10
- package/client/src/stores/appStore.types.ts +29 -3
- package/client/src/stores/appUpdateStore.ts +7 -1
- package/client/src/stores/directorContinueStore.ts +22 -0
- package/client/src/stores/draftStore.ts +56 -2
- package/client/src/stores/phoneStore.ts +196 -0
- package/client/src/stores/terminalStore.ts +8 -0
- package/client/src/styles/contextual-help.css +10 -0
- package/client/src/styles/global.css +293 -0
- package/client/src/themes/apply.ts +9 -1
- package/client/src/themes/bootstrap.ts +21 -1
- package/client/src/themes/providerThemes.ts +1 -0
- package/client/src/utils/codexAccountHome.ts +9 -0
- package/client/src/utils/format.ts +8 -2
- package/client/src/utils/gitBranchMark.ts +3 -0
- package/client/src/utils/homeModel.ts +7 -0
- package/client/src/utils/longPress.ts +64 -0
- package/client/src/utils/modelCatalog.ts +4 -0
- package/client/src/utils/providerStatusCheck.ts +30 -0
- package/client/src/utils/startupGate.ts +6 -0
- package/client/src/ws/handleServerMessage.ts +106 -7
- package/docs/ARCHITECTURE.md +63 -37
- package/docs/ARCHITECTURE_REVIEW.md +1 -1
- package/docs/BACKUP.md +60 -9
- package/docs/CHAT.md +15 -11
- package/docs/CHECKPOINTS.md +2 -0
- package/docs/CLIENT.md +70 -36
- package/docs/DEEPSEEK.md +9 -10
- package/docs/DIAGNOSTICS.md +8 -7
- package/docs/DOCKER.md +16 -2
- package/docs/EXTENDING.md +10 -26
- package/docs/FEATURES.md +23 -15
- package/docs/GENESIS.md +3 -1
- package/docs/GETTING_STARTED.md +82 -16
- package/docs/GIT_WORKBENCH.md +5 -5
- package/docs/GLOSSARY.md +36 -23
- package/docs/GOTCHAS.md +102 -67
- package/docs/HTTP_API.md +183 -87
- package/docs/INDEX.md +1 -0
- package/docs/KNOWLEDGE.md +2 -2
- package/docs/LOCAL_SERVICES.md +9 -8
- package/docs/MCP_REGISTRY.md +18 -13
- package/docs/MEDIA_STUDIO.md +7 -11
- package/docs/OPERATIONS.md +117 -32
- package/docs/OPERATOR_ACTIONS.md +24 -22
- package/docs/PERSISTENCE.md +65 -24
- package/docs/PHOSPHOR_DEMO.md +1 -4
- package/docs/PLAN_OR_BOARD.md +2 -2
- package/docs/PRIMITIVES.md +17 -17
- package/docs/PROTOCOL.md +61 -10
- package/docs/PROTOCOL_CLUSTER.md +92 -22
- package/docs/PROTOCOL_PRIMITIVES.md +10 -4
- package/docs/PROVIDERS.md +291 -145
- package/docs/RECALL.md +40 -31
- package/docs/REMOTE_MANAGEMENT.md +27 -51
- package/docs/REPO_LAYOUT.md +4 -3
- package/docs/RESEARCH.md +189 -0
- package/docs/RESUME_INDEX.md +10 -19
- package/docs/SERVICE_MODE.md +11 -5
- package/docs/SETTINGS.md +25 -16
- package/docs/STORAGE_PLAN.md +3 -3
- package/docs/STRATA.md +14 -11
- package/docs/TASK_LEDGER.md +19 -8
- package/docs/TERMINAL.md +14 -10
- package/docs/THIRD_PARTY.md +21 -4
- package/docs/VOICE.md +16 -28
- package/native/linux-arm64/manifest.json +1 -1
- package/node_modules/@arco/shared/dist/clusterCoordination.d.ts +1 -0
- package/node_modules/@arco/shared/dist/clusterCoordination.js +9 -1
- package/node_modules/@arco/shared/dist/clusterRolePresets.js +13 -4
- package/node_modules/@arco/shared/dist/index.d.ts +1 -0
- package/node_modules/@arco/shared/dist/index.js +1 -0
- package/node_modules/@arco/shared/dist/protocol/autoPickup.d.ts +7 -0
- package/node_modules/@arco/shared/dist/protocol/autoPickup.js +22 -11
- package/node_modules/@arco/shared/dist/protocol/chat.d.ts +1 -1
- package/node_modules/@arco/shared/dist/protocol/checkpoints.d.ts +1 -0
- package/node_modules/@arco/shared/dist/protocol/clientMessages.d.ts +18 -3
- package/node_modules/@arco/shared/dist/protocol/clusters.d.ts +177 -4
- package/node_modules/@arco/shared/dist/protocol/clusters.js +48 -2
- package/node_modules/@arco/shared/dist/protocol/handoffs.d.ts +1 -0
- package/node_modules/@arco/shared/dist/protocol/models.d.ts +6 -1
- package/node_modules/@arco/shared/dist/protocol/models.js +4 -3
- package/node_modules/@arco/shared/dist/protocol/providers.d.ts +3 -2
- package/node_modules/@arco/shared/dist/protocol/providers.js +1 -1
- package/node_modules/@arco/shared/dist/protocol/serverMessages.d.ts +29 -4
- package/node_modules/@arco/shared/dist/protocol/settings.d.ts +4 -0
- package/node_modules/@arco/shared/dist/protocol/settings.js +3 -1
- package/node_modules/@arco/shared/dist/protocol/tasks.d.ts +42 -0
- package/node_modules/@arco/shared/dist/protocol/tasks.js +17 -0
- package/node_modules/@arco/shared/dist/protocol/workflows.d.ts +4 -0
- package/node_modules/@arco/shared/dist/protocol/workflows.js +2 -0
- package/node_modules/@arco/shared/dist/researchActivity.d.ts +4 -0
- package/node_modules/@arco/shared/dist/researchActivity.js +29 -0
- package/node_modules/@arco/shared/package.json +1 -1
- package/package.json +3 -2
- package/scripts/packaging/services.mjs +19 -2
- package/scripts/packaging/update.mjs +92 -26
- package/server/dist/arcoHome.js +19 -3
- package/server/dist/auth.d.ts +4 -2
- package/server/dist/auth.js +42 -4
- package/server/dist/authLoginSession.d.ts +2 -1
- package/server/dist/authLoginSession.js +21 -3
- package/server/dist/capabilities.d.ts +2 -2
- package/server/dist/capabilities.js +11 -6
- package/server/dist/chatMode.d.ts +3 -0
- package/server/dist/chatMode.js +25 -2
- package/server/dist/checkedFile.d.ts +1 -1
- package/server/dist/checkedFile.js +48 -41
- package/server/dist/cliUpdateDecision.js +1 -1
- package/server/dist/clusterAutoTurn.d.ts +4 -1
- package/server/dist/clusterAutoTurn.js +25 -4
- package/server/dist/clusterBusyReminder.js +2 -1
- package/server/dist/clusterDirector.js +5 -2
- package/server/dist/clusterMailTally.d.ts +11 -0
- package/server/dist/clusterMailTally.js +29 -0
- package/server/dist/clusterMailbox.d.ts +8 -1
- package/server/dist/clusterMailbox.js +53 -4
- package/server/dist/clusterOpenWork.d.ts +22 -0
- package/server/dist/clusterOpenWork.js +85 -0
- package/server/dist/clusterPeerOps.d.ts +32 -5
- package/server/dist/clusterPeerOps.js +253 -49
- package/server/dist/clusterPlanBridge.d.ts +7 -1
- package/server/dist/clusterPlanBridge.js +58 -0
- package/server/dist/clusterPlanStore.d.ts +6 -0
- package/server/dist/clusterPlanStore.js +58 -0
- package/server/dist/clusterPresets.js +23 -3
- package/server/dist/clusterProgress.js +2 -2
- package/server/dist/clusterSkills.js +2 -2
- package/server/dist/clusterSnapshots.d.ts +1 -0
- package/server/dist/clusterSnapshots.js +7 -1
- package/server/dist/clusterStore.d.ts +34 -1
- package/server/dist/clusterStore.js +194 -21
- package/server/dist/clusterTurnOrigin.d.ts +2 -0
- package/server/dist/clusterTurnOrigin.js +19 -0
- package/server/dist/connectionCatalog.js +1 -0
- package/server/dist/cursorUsage.js +3 -3
- package/server/dist/defaults/models.md +11 -14
- package/server/dist/directorContinue.d.ts +47 -0
- package/server/dist/directorContinue.js +311 -0
- package/server/dist/directorContinueHook.d.ts +3 -0
- package/server/dist/directorContinueHook.js +16 -0
- package/server/dist/effortValidation.d.ts +3 -0
- package/server/dist/effortValidation.js +34 -0
- package/server/dist/fileAccessPolicy.js +1 -0
- package/server/dist/fileFetch.d.ts +7 -1
- package/server/dist/fileFetch.js +50 -29
- package/server/dist/geminiMembers.d.ts +8 -0
- package/server/dist/geminiMembers.js +113 -0
- package/server/dist/git.d.ts +3 -0
- package/server/dist/git.js +17 -24
- package/server/dist/gitOtherWork.js +5 -4
- package/server/dist/gitSnapshots.js +66 -5
- package/server/dist/http/authLoginRoutes.js +1 -1
- package/server/dist/http/clusterRoutes.js +466 -4
- package/server/dist/http/diagnosticsRoutes.js +8 -0
- package/server/dist/http/fileWriteRoutes.js +11 -3
- package/server/dist/http/phoneUploadRoutes.js +2 -1
- package/server/dist/http/readConfinement.d.ts +11 -0
- package/server/dist/http/readConfinement.js +30 -0
- package/server/dist/http/recallRoutes.js +1 -1
- package/server/dist/http/router.js +48 -11
- package/server/dist/http/storageRoutes.js +114 -7
- package/server/dist/http/workflowDataRoutes.js +20 -0
- package/server/dist/http/writeConfinement.js +12 -1
- package/server/dist/index.d.ts +13 -0
- package/server/dist/index.js +353 -56
- package/server/dist/initialProviders.js +1 -1
- package/server/dist/manualCompactCapability.js +1 -1
- package/server/dist/mcp/clusterMcpLoopback.d.ts +1 -0
- package/server/dist/mcp/clusterMcpLoopback.js +1 -0
- package/server/dist/mcp/clusterMcpServer.js +3 -2
- package/server/dist/mcp/clusterMcpTools.d.ts +3 -0
- package/server/dist/mcp/clusterMcpTools.js +79 -25
- package/server/dist/mcp/mcpConfigWriter.d.ts +1 -0
- package/server/dist/mcp/mcpConfigWriter.js +2 -0
- package/server/dist/mcp/workerMailBridge.d.ts +17 -0
- package/server/dist/mcp/workerMailBridge.js +104 -0
- package/server/dist/planStore.js +1 -0
- package/server/dist/primitives/seedWorker.d.ts +10 -1
- package/server/dist/primitives/seedWorker.js +14 -15
- package/server/dist/project/taskLedger.d.ts +3 -0
- package/server/dist/project/taskLedger.js +16 -0
- package/server/dist/providers/{cursor → acp}/acpJsonRpc.js +1 -1
- package/server/dist/providers/acp/permissionGate.d.ts +3 -0
- package/server/dist/providers/acp/permissionGate.js +46 -0
- package/server/dist/providers/antigravity/index.d.ts +15 -0
- package/server/dist/providers/antigravity/index.js +251 -0
- package/server/dist/providers/antigravity/researchSignIn.d.ts +24 -0
- package/server/dist/providers/antigravity/researchSignIn.js +93 -0
- package/server/dist/providers/antigravity/status.d.ts +18 -0
- package/server/dist/providers/antigravity/status.js +29 -0
- package/server/dist/providers/antigravity/usage.d.ts +7 -0
- package/server/dist/providers/antigravity/usage.js +36 -0
- package/server/dist/providers/claude/researcherFence.d.ts +7 -0
- package/server/dist/providers/claude/researcherFence.js +27 -0
- package/server/dist/providers/claude-native/catalog.d.ts +2 -1
- package/server/dist/providers/claude-native/catalog.js +4 -0
- package/server/dist/providers/claude-native/index.d.ts +1 -0
- package/server/dist/providers/claude-native/index.js +9 -1
- package/server/dist/providers/claude-native/peerTools.d.ts +1 -0
- package/server/dist/providers/claude-native/peerTools.js +26 -4
- package/server/dist/providers/claude-native/taskAdmission.d.ts +7 -1
- package/server/dist/providers/claude-native/taskAdmission.js +30 -8
- package/server/dist/providers/claude-native/tools.d.ts +1 -0
- package/server/dist/providers/claude-native/tools.js +47 -18
- package/server/dist/providers/claude-native/worker.d.ts +22 -1
- package/server/dist/providers/claude-native/worker.js +281 -51
- package/server/dist/providers/claude-native/workerHelpers.d.ts +5 -0
- package/server/dist/providers/claude-native/workerHelpers.js +95 -5
- package/server/dist/providers/claude.d.ts +2 -0
- package/server/dist/providers/claude.js +194 -22
- package/server/dist/providers/clusterTaskToolDefinitions.js +2 -1
- package/server/dist/providers/codex-appserver/heldCommands.d.ts +2 -2
- package/server/dist/providers/codex-appserver/heldCommands.js +9 -3
- package/server/dist/providers/codex-appserver/index.d.ts +9 -0
- package/server/dist/providers/codex-appserver/index.js +106 -5
- package/server/dist/providers/codex-appserver/lateCommands.js +1 -0
- package/server/dist/providers/codex-appserver/modelAvailability.d.ts +20 -0
- package/server/dist/providers/codex-appserver/modelAvailability.js +34 -0
- package/server/dist/providers/codex-appserver/worker.d.ts +11 -0
- package/server/dist/providers/codex-appserver/worker.js +199 -25
- package/server/dist/providers/codex.js +1 -0
- package/server/dist/providers/codexVersion.d.ts +2 -0
- package/server/dist/providers/codexVersion.js +8 -0
- package/server/dist/providers/codexWebSearch.js +1 -1
- package/server/dist/providers/cursor/agentEnv.d.ts +20 -0
- package/server/dist/providers/cursor/agentEnv.js +93 -0
- package/server/dist/providers/cursor/authState.js +2 -1
- package/server/dist/providers/cursor/authToken.d.ts +25 -2
- package/server/dist/providers/cursor/authToken.js +118 -27
- package/server/dist/providers/cursor/catalog.d.ts +6 -0
- package/server/dist/providers/cursor/catalog.js +91 -1
- package/server/dist/providers/cursor/chatSandbox.d.ts +3 -1
- package/server/dist/providers/cursor/chatSandbox.js +24 -8
- package/server/dist/providers/cursor/isolated.d.ts +6 -0
- package/server/dist/providers/cursor/isolated.js +313 -0
- package/server/dist/providers/cursor/isolatedVersion.d.ts +6 -0
- package/server/dist/providers/cursor/isolatedVersion.js +35 -0
- package/server/dist/providers/cursor/modelMap.js +9 -5
- package/server/dist/providers/cursor/print.js +10 -8
- package/server/dist/providers/cursor/worker.js +8 -3
- package/server/dist/providers/index.js +10 -2
- package/server/dist/providers/llamacpp.js +3 -2
- package/server/dist/providers/ollama.d.ts +3 -2
- package/server/dist/providers/ollama.js +29 -10
- package/server/dist/providers/ollamaTools.d.ts +3 -0
- package/server/dist/providers/ollamaTools.js +31 -29
- package/server/dist/research/exportResults.d.ts +15 -0
- package/server/dist/research/exportResults.js +60 -0
- package/server/dist/research/isolatedArtifact.d.ts +4 -0
- package/server/dist/research/isolatedArtifact.js +56 -0
- package/server/dist/research/quickPromotion.d.ts +27 -0
- package/server/dist/research/quickPromotion.js +402 -0
- package/server/dist/research/quickResearchChat.d.ts +4 -0
- package/server/dist/research/quickResearchChat.js +187 -0
- package/server/dist/research/researchClose.d.ts +31 -0
- package/server/dist/research/researchClose.js +373 -0
- package/server/dist/research/researchCopy.d.ts +16 -0
- package/server/dist/research/researchCopy.js +180 -0
- package/server/dist/research/researchCreate.d.ts +40 -0
- package/server/dist/research/researchCreate.js +334 -0
- package/server/dist/research/researchDoctrine.d.ts +2 -0
- package/server/dist/research/researchDoctrine.js +26 -0
- package/server/dist/research/researchFolder.d.ts +23 -0
- package/server/dist/research/researchFolder.js +191 -0
- package/server/dist/research/researchLibrary.d.ts +54 -0
- package/server/dist/research/researchLibrary.js +281 -0
- package/server/dist/research/researchRetry.d.ts +25 -0
- package/server/dist/research/researchRetry.js +96 -0
- package/server/dist/research/researchRounds.d.ts +108 -0
- package/server/dist/research/researchRounds.js +996 -0
- package/server/dist/research/researchState.d.ts +112 -0
- package/server/dist/research/researchState.js +191 -0
- package/server/dist/research/researchTools.d.ts +57 -0
- package/server/dist/research/researchTools.js +57 -0
- package/server/dist/research/researchTripwires.d.ts +18 -0
- package/server/dist/research/researchTripwires.js +196 -0
- package/server/dist/research/resultSelection.d.ts +27 -0
- package/server/dist/research/resultSelection.js +161 -0
- package/server/dist/research/savedQuickPromotion.d.ts +19 -0
- package/server/dist/research/savedQuickPromotion.js +259 -0
- package/server/dist/research/sendToProject.d.ts +36 -0
- package/server/dist/research/sendToProject.js +293 -0
- package/server/dist/server/broadcast.d.ts +5 -1
- package/server/dist/server/broadcast.js +45 -5
- package/server/dist/server/updateCheck.js +1 -0
- package/server/dist/settings.js +27 -3
- package/server/dist/skillActivity.d.ts +11 -0
- package/server/dist/skillActivity.js +33 -0
- package/server/dist/smartPickup.d.ts +1 -0
- package/server/dist/smartPickup.js +12 -4
- package/server/dist/smartPickupAdapters.js +3 -2
- package/server/dist/smartPickupEvaluator.d.ts +1 -0
- package/server/dist/smartPickupObserver.js +47 -14
- package/server/dist/storageActions.d.ts +9 -0
- package/server/dist/storageActions.js +5 -0
- package/server/dist/storageOverview.d.ts +1 -0
- package/server/dist/storageOverview.js +12 -5
- package/server/dist/taskDispatcher.js +3 -2
- package/server/dist/toolboxWorkflow.js +2 -1
- package/server/dist/updateCheck.d.ts +3 -2
- package/server/dist/updateCheck.js +53 -29
- package/server/dist/updateManager.d.ts +2 -4
- package/server/dist/updateManager.js +4 -1
- package/server/dist/windowsCommand.d.ts +15 -0
- package/server/dist/windowsCommand.js +85 -4
- package/server/dist/workers/StreamParser.d.ts +1 -0
- package/server/dist/workers/StreamParser.js +23 -1
- package/server/dist/workers/WorkerManager.d.ts +4 -0
- package/server/dist/workers/WorkerManager.js +5 -1
- package/server/dist/workers/antigravityIsolatedLaunch.d.ts +25 -0
- package/server/dist/workers/antigravityIsolatedLaunch.js +88 -0
- package/server/dist/workers/checkedLinuxWorker.d.ts +38 -0
- package/server/dist/workers/checkedLinuxWorker.js +192 -0
- package/server/dist/workers/claudeAccessLease.d.ts +24 -0
- package/server/dist/workers/claudeAccessLease.js +157 -0
- package/server/dist/workers/claudeAccessSource.d.ts +2 -0
- package/server/dist/workers/claudeAccessSource.js +27 -0
- package/server/dist/workers/claudeIsolatedLaunch.d.ts +19 -0
- package/server/dist/workers/claudeIsolatedLaunch.js +104 -0
- package/server/dist/workers/cliResearcherDoctrine.d.ts +4 -0
- package/server/dist/workers/cliResearcherDoctrine.js +20 -0
- package/server/dist/workers/codexAccessLease.d.ts +26 -0
- package/server/dist/workers/codexAccessLease.js +208 -0
- package/server/dist/workers/codexIsolatedLaunch.d.ts +21 -0
- package/server/dist/workers/codexIsolatedLaunch.js +95 -0
- package/server/dist/workers/codexIsolatedPolicy.d.ts +5 -0
- package/server/dist/workers/codexIsolatedPolicy.js +49 -0
- package/server/dist/workers/cursorIsolatedLaunch.d.ts +37 -0
- package/server/dist/workers/cursorIsolatedLaunch.js +178 -0
- package/server/dist/workers/isolatedCliHome.d.ts +4 -0
- package/server/dist/workers/isolatedCliHome.js +107 -0
- package/server/dist/workers/limits.js +1 -1
- package/server/dist/workers/linuxWorkerSandbox.d.ts +48 -0
- package/server/dist/workers/linuxWorkerSandbox.js +192 -0
- package/server/dist/workers/processKill.d.ts +2 -0
- package/server/dist/workers/processKill.js +28 -2
- package/server/dist/workers/providerRuntimeDiscovery.d.ts +13 -0
- package/server/dist/workers/providerRuntimeDiscovery.js +126 -0
- package/server/dist/workers/researchSandboxAvailability.d.ts +3 -0
- package/server/dist/workers/researchSandboxAvailability.js +78 -0
- package/server/dist/workers/workerAccessPass.d.ts +12 -0
- package/server/dist/workers/workerAccessPass.js +123 -0
- package/server/dist/workers/workerHiddenDirectories.d.ts +3 -0
- package/server/dist/workers/workerHiddenDirectories.js +16 -0
- package/server/dist/workers/workerSocketDirectory.d.ts +2 -0
- package/server/dist/workers/workerSocketDirectory.js +16 -0
- package/server/dist/workers/workerWebProxy.d.ts +28 -0
- package/server/dist/workers/workerWebProxy.js +206 -0
- package/server/dist/workflowMeta.d.ts +5 -0
- package/server/dist/workflowMeta.js +7 -3
- package/server/dist/workflowStore.js +43 -25
- package/server/dist/workflows/purgeWorkflow.js +15 -0
- package/server/dist/workflows/types.d.ts +6 -0
- package/server/dist/workspace.d.ts +1 -0
- package/server/dist/workspace.js +8 -0
- package/server/dist/ws/clusterHandlers.d.ts +5 -0
- package/server/dist/ws/clusterHandlers.js +373 -26
- package/server/dist/ws/clusterMembers.d.ts +5 -0
- package/server/dist/ws/clusterMembers.js +15 -5
- package/server/dist/ws/compactHandlers.js +43 -8
- package/server/dist/ws/compareHandlers.d.ts +12 -0
- package/server/dist/ws/compareHandlers.js +32 -14
- package/server/dist/ws/handoffHandlers.js +39 -3
- package/server/dist/ws/operatorQuestionHandlers.d.ts +5 -0
- package/server/dist/ws/operatorQuestionHandlers.js +17 -2
- package/server/dist/ws/taskLedgerHandlers.js +1 -0
- package/server/dist/ws/taskLifecycle.d.ts +25 -1
- package/server/dist/ws/taskLifecycle.js +53 -1
- package/server/dist/ws/turnEngine.d.ts +18 -1
- package/server/dist/ws/turnEngine.js +281 -52
- package/server/dist/ws/turnPrompt.js +3 -1
- package/server/dist/ws/updatePrimaryConfig.js +11 -3
- package/server/dist/ws/workflowHandlers.js +17 -4
- package/server/package.json +1 -1
- package/server/src/arcoHome.ts +16 -3
- package/server/src/auth.ts +50 -6
- package/server/src/authLoginSession.ts +18 -5
- package/server/src/capabilities.ts +13 -8
- package/server/src/chatMode.ts +24 -2
- package/server/src/checkedFile.ts +42 -31
- package/server/src/cliUpdateDecision.ts +1 -1
- package/server/src/clusterAutoTurn.ts +29 -5
- package/server/src/clusterBusyReminder.ts +2 -1
- package/server/src/clusterDirector.ts +5 -2
- package/server/src/clusterMailTally.ts +28 -0
- package/server/src/clusterMailbox.ts +49 -4
- package/server/src/clusterOpenWork.ts +94 -0
- package/server/src/clusterPeerOps.ts +238 -52
- package/server/src/clusterPlanBridge.ts +54 -1
- package/server/src/clusterPlanStore.ts +59 -0
- package/server/src/clusterPresets.ts +17 -3
- package/server/src/clusterProgress.ts +2 -2
- package/server/src/clusterSkills.ts +2 -2
- package/server/src/clusterSnapshots.ts +7 -1
- package/server/src/clusterStore.ts +192 -20
- package/server/src/clusterTurnOrigin.ts +19 -0
- package/server/src/connectionCatalog.ts +1 -0
- package/server/src/cursorUsage.ts +3 -3
- package/server/src/defaults/models.md +11 -14
- package/server/src/directorContinue.ts +309 -0
- package/server/src/directorContinueHook.ts +15 -0
- package/server/src/effortValidation.ts +31 -0
- package/server/src/fileAccessPolicy.ts +1 -0
- package/server/src/fileFetch.ts +47 -29
- package/server/src/geminiMembers.ts +116 -0
- package/server/src/git.ts +20 -22
- package/server/src/gitOtherWork.ts +5 -4
- package/server/src/gitSnapshots.ts +53 -5
- package/server/src/http/authLoginRoutes.ts +2 -2
- package/server/src/http/clusterRoutes.ts +314 -6
- package/server/src/http/diagnosticsRoutes.ts +9 -0
- package/server/src/http/fileWriteRoutes.ts +13 -5
- package/server/src/http/phoneUploadRoutes.ts +2 -1
- package/server/src/http/readConfinement.ts +30 -0
- package/server/src/http/recallRoutes.ts +1 -1
- package/server/src/http/router.ts +43 -10
- package/server/src/http/storageRoutes.ts +86 -7
- package/server/src/http/workflowDataRoutes.ts +20 -0
- package/server/src/http/writeConfinement.ts +10 -1
- package/server/src/index.ts +295 -18
- package/server/src/initialProviders.ts +1 -1
- package/server/src/manualCompactCapability.ts +1 -1
- package/server/src/mcp/clusterMcpLoopback.ts +2 -0
- package/server/src/mcp/clusterMcpServer.ts +3 -2
- package/server/src/mcp/clusterMcpTools.ts +83 -27
- package/server/src/mcp/mcpConfigWriter.ts +4 -0
- package/server/src/mcp/workerMailBridge.ts +99 -0
- package/server/src/planStore.ts +1 -0
- package/server/src/primitives/seedWorker.ts +19 -14
- package/server/src/project/taskLedger.ts +23 -0
- package/server/src/providers/{cursor → acp}/acpJsonRpc.ts +3 -3
- package/server/src/providers/acp/permissionGate.ts +47 -0
- package/server/src/providers/antigravity/index.ts +187 -0
- package/server/src/providers/antigravity/researchSignIn.ts +76 -0
- package/server/src/providers/antigravity/status.ts +25 -0
- package/server/src/providers/antigravity/usage.ts +30 -0
- package/server/src/providers/claude/researcherFence.ts +25 -0
- package/server/src/providers/claude-native/catalog.ts +5 -0
- package/server/src/providers/claude-native/index.ts +8 -1
- package/server/src/providers/claude-native/peerTools.ts +24 -4
- package/server/src/providers/claude-native/taskAdmission.ts +35 -9
- package/server/src/providers/claude-native/tools.ts +39 -19
- package/server/src/providers/claude-native/worker.ts +270 -52
- package/server/src/providers/claude-native/workerHelpers.ts +88 -5
- package/server/src/providers/claude.ts +160 -22
- package/server/src/providers/clusterTaskToolDefinitions.ts +2 -1
- package/server/src/providers/codex-appserver/heldCommands.ts +7 -3
- package/server/src/providers/codex-appserver/index.ts +87 -3
- package/server/src/providers/codex-appserver/lateCommands.ts +1 -0
- package/server/src/providers/codex-appserver/modelAvailability.ts +40 -0
- package/server/src/providers/codex-appserver/worker.ts +155 -25
- package/server/src/providers/codex.ts +1 -0
- package/server/src/providers/codexVersion.ts +9 -0
- package/server/src/providers/codexWebSearch.ts +1 -1
- package/server/src/providers/cursor/agentEnv.ts +103 -0
- package/server/src/providers/cursor/authState.ts +2 -1
- package/server/src/providers/cursor/authToken.ts +137 -31
- package/server/src/providers/cursor/catalog.ts +89 -1
- package/server/src/providers/cursor/chatSandbox.ts +20 -8
- package/server/src/providers/cursor/isolated.ts +282 -0
- package/server/src/providers/cursor/isolatedVersion.ts +33 -0
- package/server/src/providers/cursor/modelMap.ts +9 -5
- package/server/src/providers/cursor/print.ts +10 -8
- package/server/src/providers/cursor/worker.ts +8 -3
- package/server/src/providers/index.ts +10 -2
- package/server/src/providers/llamacpp.ts +3 -1
- package/server/src/providers/ollama.ts +30 -11
- package/server/src/providers/ollamaTools.ts +33 -27
- package/server/src/research/exportResults.ts +47 -0
- package/server/src/research/isolatedArtifact.ts +48 -0
- package/server/src/research/quickPromotion.ts +325 -0
- package/server/src/research/quickResearchChat.ts +147 -0
- package/server/src/research/researchClose.ts +340 -0
- package/server/src/research/researchCopy.ts +170 -0
- package/server/src/research/researchCreate.ts +306 -0
- package/server/src/research/researchDoctrine.ts +27 -0
- package/server/src/research/researchFolder.ts +202 -0
- package/server/src/research/researchLibrary.ts +306 -0
- package/server/src/research/researchRetry.ts +86 -0
- package/server/src/research/researchRounds.ts +891 -0
- package/server/src/research/researchState.ts +309 -0
- package/server/src/research/researchTools.ts +59 -0
- package/server/src/research/researchTripwires.ts +158 -0
- package/server/src/research/resultSelection.ts +127 -0
- package/server/src/research/savedQuickPromotion.ts +174 -0
- package/server/src/research/sendToProject.ts +220 -0
- package/server/src/server/broadcast.ts +39 -5
- package/server/src/server/updateCheck.ts +1 -0
- package/server/src/settings.ts +22 -5
- package/server/src/skillActivity.ts +35 -0
- package/server/src/smartPickup.ts +14 -4
- package/server/src/smartPickupAdapters.ts +3 -2
- package/server/src/smartPickupEvaluator.ts +3 -0
- package/server/src/smartPickupObserver.ts +38 -12
- package/server/src/storageActions.ts +6 -0
- package/server/src/storageOverview.ts +13 -6
- package/server/src/taskDispatcher.ts +3 -1
- package/server/src/toolboxWorkflow.ts +2 -1
- package/server/src/updateCheck.ts +50 -29
- package/server/src/updateManager.ts +5 -2
- package/server/src/windowsCommand.ts +83 -4
- package/server/src/workers/StreamParser.ts +20 -1
- package/server/src/workers/WorkerManager.ts +10 -1
- package/server/src/workers/antigravityIsolatedLaunch.ts +82 -0
- package/server/src/workers/checkedLinuxWorker.ts +212 -0
- package/server/src/workers/claudeAccessLease.ts +122 -0
- package/server/src/workers/claudeAccessSource.ts +20 -0
- package/server/src/workers/claudeIsolatedLaunch.ts +91 -0
- package/server/src/workers/cliResearcherDoctrine.ts +20 -0
- package/server/src/workers/codexAccessLease.ts +146 -0
- package/server/src/workers/codexIsolatedLaunch.ts +72 -0
- package/server/src/workers/codexIsolatedPolicy.ts +38 -0
- package/server/src/workers/cursorIsolatedLaunch.ts +159 -0
- package/server/src/workers/isolatedCliHome.ts +75 -0
- package/server/src/workers/limits.ts +1 -1
- package/server/src/workers/linuxWorkerSandbox.ts +193 -0
- package/server/src/workers/processKill.ts +34 -2
- package/server/src/workers/providerRuntimeDiscovery.ts +108 -0
- package/server/src/workers/researchSandboxAvailability.ts +68 -0
- package/server/src/workers/workerAccessPass.ts +96 -0
- package/server/src/workers/workerHiddenDirectories.ts +16 -0
- package/server/src/workers/workerSocketDirectory.ts +13 -0
- package/server/src/workers/workerWebProxy.ts +194 -0
- package/server/src/workflowMeta.ts +10 -3
- package/server/src/workflowStore.ts +39 -26
- package/server/src/workflows/purgeWorkflow.ts +18 -0
- package/server/src/workflows/types.ts +13 -0
- package/server/src/workspace.ts +8 -0
- package/server/src/ws/clusterHandlers.ts +302 -26
- package/server/src/ws/clusterMembers.ts +15 -5
- package/server/src/ws/compactHandlers.ts +37 -5
- package/server/src/ws/compareHandlers.ts +34 -11
- package/server/src/ws/handoffHandlers.ts +36 -3
- package/server/src/ws/operatorQuestionHandlers.ts +14 -2
- package/server/src/ws/taskLedgerHandlers.ts +1 -0
- package/server/src/ws/taskLifecycle.ts +58 -4
- package/server/src/ws/turnEngine.ts +265 -49
- package/server/src/ws/turnPrompt.ts +3 -1
- package/server/src/ws/updatePrimaryConfig.ts +10 -3
- package/server/src/ws/workflowHandlers.ts +15 -4
- package/shared/dist/clusterCoordination.d.ts +1 -0
- package/shared/dist/clusterCoordination.js +9 -1
- package/shared/dist/clusterRolePresets.js +13 -4
- package/shared/dist/index.d.ts +1 -0
- package/shared/dist/index.js +1 -0
- package/shared/dist/protocol/autoPickup.d.ts +7 -0
- package/shared/dist/protocol/autoPickup.js +22 -11
- package/shared/dist/protocol/chat.d.ts +1 -1
- package/shared/dist/protocol/checkpoints.d.ts +1 -0
- package/shared/dist/protocol/clientMessages.d.ts +18 -3
- package/shared/dist/protocol/clusters.d.ts +177 -4
- package/shared/dist/protocol/clusters.js +48 -2
- package/shared/dist/protocol/handoffs.d.ts +1 -0
- package/shared/dist/protocol/models.d.ts +6 -1
- package/shared/dist/protocol/models.js +4 -3
- package/shared/dist/protocol/providers.d.ts +3 -2
- package/shared/dist/protocol/providers.js +1 -1
- package/shared/dist/protocol/serverMessages.d.ts +29 -4
- package/shared/dist/protocol/settings.d.ts +4 -0
- package/shared/dist/protocol/settings.js +3 -1
- package/shared/dist/protocol/tasks.d.ts +42 -0
- package/shared/dist/protocol/tasks.js +17 -0
- package/shared/dist/protocol/workflows.d.ts +4 -0
- package/shared/dist/protocol/workflows.js +2 -0
- package/shared/dist/researchActivity.d.ts +4 -0
- package/shared/dist/researchActivity.js +29 -0
- package/shared/src/clusterCoordination.ts +12 -1
- package/shared/src/clusterRolePresets.ts +13 -4
- package/shared/src/index.ts +2 -0
- package/shared/src/protocol/autoPickup.ts +28 -11
- package/shared/src/protocol/chat.ts +1 -1
- package/shared/src/protocol/checkpoints.ts +1 -0
- package/shared/src/protocol/clientMessages.ts +14 -0
- package/shared/src/protocol/clusters.ts +231 -5
- package/shared/src/protocol/handoffs.ts +1 -0
- package/shared/src/protocol/models.ts +11 -4
- package/shared/src/protocol/providers.ts +6 -3
- package/shared/src/protocol/reviews.ts +2 -2
- package/shared/src/protocol/serverMessages.ts +29 -4
- package/shared/src/protocol/settings.ts +14 -1
- package/shared/src/protocol/tasks.ts +73 -0
- package/shared/src/protocol/workflows.ts +8 -0
- package/shared/src/researchActivity.ts +23 -0
- package/client/dist/assets/XtermView-Xk7_9JaH.js +0 -10
- package/client/dist/assets/index-BEFgrUJJ.css +0 -1
- package/client/dist/assets/index-C7WzZfsr.js +0 -614
- package/client/src/components/HeaderAuthChip.tsx +0 -207
- /package/server/dist/providers/{cursor → acp}/acpJsonRpc.d.ts +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { codexProfileHomeLabel } from '../utils/codexAccountHome';
|
|
1
2
|
import { NativeSubagentDefaults } from './NativeSubagentControls';
|
|
2
3
|
import { ProvidersPopover } from './ProvidersPopover';
|
|
3
4
|
import { PreviewPortsSection } from './settings/PreviewPortsSection';
|
|
@@ -14,14 +15,17 @@ import { SettingsLayout, SettingsSection } from './settings/SettingsLayout';
|
|
|
14
15
|
import { MediaAccessSettings } from './MediaAccessSettings';
|
|
15
16
|
import { VoiceSetupSettings } from './VoiceSetupSettings';
|
|
16
17
|
import { DeepSeekControls } from './DeepSeekControls';
|
|
17
|
-
import { useEffect, useRef, useState } from 'react';
|
|
18
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
18
19
|
import { useAppStore } from '../stores/appStore';
|
|
19
20
|
import { useStartupStore } from '../stores/startupStore';
|
|
21
|
+
import { useRecallStore } from '../stores/recallStore';
|
|
20
22
|
import { ClaudeNativeAuthRow } from './ClaudeNativeAuthRow';
|
|
21
|
-
import type { AuthStatus, AuthStatusByProvider, AuthLoginTarget, AuthLoginResult, ArcoSettings, ProviderName, ModelName, EffortLevel, ProviderAccountProfile, DiscoveredEndpoint, EndpointDiscoverResponse } from '@arco/shared';
|
|
23
|
+
import type { AuthStatus, AuthStatusByProvider, AuthLoginTarget, LoginSessionTarget, AuthLoginResult, ArcoSettings, ProviderName, ModelName, EffortLevel, ProviderAccountProfile, DiscoveredEndpoint, EndpointDiscoverResponse } from '@arco/shared';
|
|
22
24
|
import { activeProjectCwd } from '../utils/activeProject';
|
|
23
25
|
import { RunAsPicker, type RunAsSelection } from './RunAsPicker';
|
|
24
26
|
import { LoginCommand } from './LoginCommand';
|
|
27
|
+
import { LoginFlow } from './LoginFlow';
|
|
28
|
+
import { checkProviderStatus } from '../utils/providerStatusCheck';
|
|
25
29
|
import { THEME_REGISTRY, DEFAULT_THEME_ID } from '../themes/registry';
|
|
26
30
|
import type { Theme } from '../themes/types';
|
|
27
31
|
import { FONT_PACKS } from '../themes/fontPacks';
|
|
@@ -45,6 +49,10 @@ interface Props {
|
|
|
45
49
|
onClose: () => void;
|
|
46
50
|
}
|
|
47
51
|
|
|
52
|
+
function loginStatus(provider: AuthLoginTarget, status: AuthStatus | null | undefined): AuthStatus | null | undefined {
|
|
53
|
+
return provider === 'codex' ? status?.defaultAccount ?? status : status;
|
|
54
|
+
}
|
|
55
|
+
|
|
48
56
|
export function SettingsPanel({ onClose }: Props) {
|
|
49
57
|
const authStatus = useAppStore((s) => s.authStatus);
|
|
50
58
|
const setAuthStatus = useAppStore((s) => s.setAuthStatus);
|
|
@@ -87,7 +95,9 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
87
95
|
setTextBrightnessDraft(settings?.textBrightness ?? DEFAULT_TEXT_BRIGHTNESS);
|
|
88
96
|
}, [settings?.textBrightness]);
|
|
89
97
|
const messageBoxSize = useMessageBoxSize();
|
|
90
|
-
const layoutMode = useLayout()
|
|
98
|
+
const { mode: layoutMode, phone } = useLayout();
|
|
99
|
+
const summarizeOnClose = useRecallStore((s) => s.summarizeOnClose);
|
|
100
|
+
const setSummarizeOnClose = useRecallStore((s) => s.setSummarizeOnClose);
|
|
91
101
|
const saveUiScale = async (uiScale: number) => {
|
|
92
102
|
if (!settings) return;
|
|
93
103
|
const previous = settings;
|
|
@@ -105,9 +115,28 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
105
115
|
const capabilities = useAppStore((s) => s.capabilities);
|
|
106
116
|
const ollamaLive = useAppStore((s) => s.ollamaLive);
|
|
107
117
|
const llamacppLive = useAppStore((s) => s.llamacppLive);
|
|
108
|
-
const [loginPending, setLoginPending] = useState<
|
|
118
|
+
const [loginPending, setLoginPending] = useState<LoginSessionTarget | null>(null);
|
|
119
|
+
// Provider details (sign-in, status, endpoint) show only while the provider is enabled.
|
|
120
|
+
const on = (p: ProviderName): boolean => isProviderOn(settings?.enabledProviders, p);
|
|
121
|
+
// The Ollama endpoint stays reachable while its utility model (compaction, titles) is in use with Ollama off.
|
|
122
|
+
const ollamaEndpointShown = on('ollama') || (!!settings?.ollama?.utility?.model && settings.ollama.utility.enabled !== false);
|
|
123
|
+
// docs/RESEARCH.md "Gemini researchers": the separate research sign-in, shown when the sandbox can run Gemini.
|
|
124
|
+
const [geminiResearch, setGeminiResearch] = useState<{ available: boolean; linux: boolean; signIn?: 'missing' | 'ready' | 'expired' } | null>(null);
|
|
125
|
+
const refreshGeminiResearch = useCallback(async () => {
|
|
126
|
+
try {
|
|
127
|
+
const response = await fetch('/api/diagnostics/research-sandbox');
|
|
128
|
+
if (!response.ok) return;
|
|
129
|
+
const result = await response.json() as { gemini?: boolean; platform?: string; geminiSignIn?: 'missing' | 'ready' | 'expired' };
|
|
130
|
+
setGeminiResearch({ available: result.gemini === true, linux: result.platform === undefined || result.platform === 'linux', signIn: result.geminiSignIn });
|
|
131
|
+
} catch { /* the row stays hidden */ }
|
|
132
|
+
}, []);
|
|
133
|
+
useEffect(() => { void refreshGeminiResearch(); }, [refreshGeminiResearch]);
|
|
109
134
|
const [manualHint, setManualHint] = useState<string | null>(null);
|
|
110
135
|
const [loginCommand, setLoginCommand] = useState<string | null>(null);
|
|
136
|
+
// Providers whose sign-in runs inside Arco (the Connections flow) show it at
|
|
137
|
+
// their own row instead of a command at the bottom of the section.
|
|
138
|
+
const [inAppLogin, setInAppLogin] = useState<AuthLoginResult | null>(null);
|
|
139
|
+
const [inAppNote, setInAppNote] = useState<string | null>(null);
|
|
111
140
|
const [savingProvider, setSavingProvider] = useState<ProviderName | null>(null);
|
|
112
141
|
const pollRef = useRef<ReturnType<typeof setInterval> | null>(null);
|
|
113
142
|
|
|
@@ -117,6 +146,8 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
117
146
|
const [operatorSaving, setOperatorSaving] = useState(false);
|
|
118
147
|
const [ollamaBaseDraft, setOllamaBaseDraft] = useState<string>(settings?.ollama?.baseUrl ?? '');
|
|
119
148
|
const [ollamaBaseSaving, setOllamaBaseSaving] = useState(false);
|
|
149
|
+
const [ollamaSmallSaving, setOllamaSmallSaving] = useState(false);
|
|
150
|
+
const [ollamaSmallError, setOllamaSmallError] = useState('');
|
|
120
151
|
const [ollamaUtilitySaving, setOllamaUtilitySaving] = useState(false);
|
|
121
152
|
// Free-text model + host drafts: the utility model may live on a REMOTE host
|
|
122
153
|
// (not in the local /api/tags list), so a dropdown can't offer it — the
|
|
@@ -171,7 +202,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
171
202
|
|
|
172
203
|
const toggleProviderEnabled = async (provider: ProviderName) => {
|
|
173
204
|
if (savingProvider) return;
|
|
174
|
-
const current = settings?.enabledProviders
|
|
205
|
+
const current = isProviderOn(settings?.enabledProviders, provider);
|
|
175
206
|
const next: ArcoSettings = {
|
|
176
207
|
enabledProviders: {
|
|
177
208
|
claude: settings?.enabledProviders.claude !== false,
|
|
@@ -184,6 +215,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
184
215
|
strata: settings?.enabledProviders.strata !== false,
|
|
185
216
|
deepseek: settings?.enabledProviders.deepseek !== false,
|
|
186
217
|
cursor: settings?.enabledProviders.cursor !== false,
|
|
218
|
+
'antigravity-cli': settings?.enabledProviders['antigravity-cli'] === true,
|
|
187
219
|
[provider]: !current,
|
|
188
220
|
},
|
|
189
221
|
};
|
|
@@ -232,6 +264,15 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
232
264
|
}
|
|
233
265
|
};
|
|
234
266
|
|
|
267
|
+
const setOllamaSmallContext = async (enabled: boolean) => {
|
|
268
|
+
setOllamaSmallSaving(true); setOllamaSmallError('');
|
|
269
|
+
try {
|
|
270
|
+
const response = await fetch('/api/settings', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ ollama: { smallContextTools: enabled } }) });
|
|
271
|
+
setSettings(await readSavedSettings(response));
|
|
272
|
+
} catch { setOllamaSmallError('Could not save the Ollama small-context setting.'); }
|
|
273
|
+
finally { setOllamaSmallSaving(false); }
|
|
274
|
+
};
|
|
275
|
+
|
|
235
276
|
// M7/M8 — global compaction utility model (settings.ollama.utility.model).
|
|
236
277
|
// This is the small Ollama model that WRITES auto-compaction summaries; with
|
|
237
278
|
// none set, compaction falls back to a deterministic text digest. `null`
|
|
@@ -369,21 +410,28 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
369
410
|
const [catalogSaving, setCatalogSaving] = useState(false);
|
|
370
411
|
const [catalogError, setCatalogError] = useState<string | null>(null);
|
|
371
412
|
|
|
413
|
+
const catalogLoadId = useRef(0);
|
|
372
414
|
const openCatalogEditor = async () => {
|
|
415
|
+
// Every open reads the file again and SAVE stays off until that read
|
|
416
|
+
// succeeds, so a failed or in-flight load can never arm it.
|
|
417
|
+
const id = ++catalogLoadId.current;
|
|
373
418
|
setCatalogOpen(true);
|
|
374
419
|
setCatalogError(null);
|
|
375
|
-
|
|
420
|
+
setCatalogLoaded(false);
|
|
376
421
|
try {
|
|
377
422
|
const res = await fetch('/api/catalog');
|
|
378
|
-
const data = await res.json() as { contents
|
|
379
|
-
|
|
423
|
+
const data = await res.json() as { contents?: unknown; error?: string };
|
|
424
|
+
if (!res.ok || typeof data.contents !== 'string') throw new Error(data.error ?? `HTTP ${res.status}`);
|
|
425
|
+
if (id !== catalogLoadId.current) return;
|
|
426
|
+
setCatalogDraft(data.contents);
|
|
380
427
|
setCatalogLoaded(true);
|
|
381
428
|
} catch (err) {
|
|
382
|
-
setCatalogError(err instanceof Error ? err.message : String(err));
|
|
429
|
+
if (id === catalogLoadId.current) setCatalogError(err instanceof Error ? err.message : String(err));
|
|
383
430
|
}
|
|
384
431
|
};
|
|
385
432
|
|
|
386
433
|
const saveCatalog = async () => {
|
|
434
|
+
if (!catalogLoaded) return;
|
|
387
435
|
setCatalogSaving(true);
|
|
388
436
|
setCatalogError(null);
|
|
389
437
|
try {
|
|
@@ -404,17 +452,13 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
404
452
|
}
|
|
405
453
|
};
|
|
406
454
|
|
|
407
|
-
const cancelCatalogEdit =
|
|
408
|
-
//
|
|
455
|
+
const cancelCatalogEdit = () => {
|
|
456
|
+
// Discard the draft; the next open reads the file again.
|
|
457
|
+
catalogLoadId.current++;
|
|
409
458
|
setCatalogOpen(false);
|
|
410
459
|
setCatalogError(null);
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
const res = await fetch('/api/catalog');
|
|
414
|
-
const data = await res.json() as { contents: string };
|
|
415
|
-
setCatalogDraft(data.contents ?? '');
|
|
416
|
-
} catch { /* leave stale draft: edit button will re-read */ }
|
|
417
|
-
}
|
|
460
|
+
setCatalogLoaded(false);
|
|
461
|
+
setCatalogDraft('');
|
|
418
462
|
};
|
|
419
463
|
|
|
420
464
|
const refresh = async () => {
|
|
@@ -437,22 +481,36 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
437
481
|
return () => { if (pollRef.current) clearInterval(pollRef.current); };
|
|
438
482
|
}, [loginPending]);
|
|
439
483
|
|
|
484
|
+
// A finished in-app sign-in gives way to the row's LIVE state.
|
|
485
|
+
useEffect(() => {
|
|
486
|
+
const provider = inAppLogin?.session?.provider;
|
|
487
|
+
if (provider && provider !== 'antigravity-cli' && provider !== 'gemini-research' && loginStatus(provider, authStatus?.[provider])?.loggedIn) setInAppLogin(null);
|
|
488
|
+
}, [authStatus, inAppLogin]);
|
|
489
|
+
|
|
440
490
|
// Clear loginPending once the target provider flips to loggedIn.
|
|
441
491
|
useEffect(() => {
|
|
442
492
|
if (!loginPending || !authStatus) return;
|
|
443
|
-
if (authStatus[loginPending]?.loggedIn) {
|
|
493
|
+
if (loginPending !== 'antigravity-cli' && loginPending !== 'gemini-research' && loginStatus(loginPending, authStatus[loginPending])?.loggedIn) {
|
|
444
494
|
setLoginPending(null);
|
|
445
495
|
}
|
|
446
496
|
}, [authStatus, loginPending]);
|
|
447
497
|
|
|
448
|
-
const startLogin = async (provider:
|
|
498
|
+
const startLogin = async (provider: LoginSessionTarget) => {
|
|
449
499
|
setLoginPending(provider);
|
|
450
500
|
setManualHint(null);
|
|
451
501
|
setLoginCommand(null);
|
|
502
|
+
setInAppLogin(null);
|
|
503
|
+
setInAppNote(null);
|
|
504
|
+
const inApp = provider === 'codex' || provider === 'cursor' || provider === 'antigravity-cli' || provider === 'gemini-research';
|
|
452
505
|
try {
|
|
453
|
-
const res = await fetch(`/api/auth-login?provider=${provider}`, { method: 'POST' });
|
|
506
|
+
const res = await fetch(`/api/auth-login?provider=${provider}${inApp ? '&inApp=1' : ''}`, { method: 'POST' });
|
|
454
507
|
const data = (await res.json()) as AuthLoginResult;
|
|
455
|
-
if (
|
|
508
|
+
if (!res.ok) throw new Error();
|
|
509
|
+
if (inApp && data.session) {
|
|
510
|
+
// The flow at the row shows the link, progress and any failure.
|
|
511
|
+
setInAppLogin(data);
|
|
512
|
+
setLoginPending(null);
|
|
513
|
+
} else if (data.command) {
|
|
456
514
|
// Keep loginPending so the fast poll flips the row LIVE when it lands.
|
|
457
515
|
setLoginCommand(data.command);
|
|
458
516
|
setManualHint(data.manual ?? null);
|
|
@@ -466,6 +524,33 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
466
524
|
}
|
|
467
525
|
};
|
|
468
526
|
|
|
527
|
+
// After an in-app sign-in, run the same explicit check as Connections and
|
|
528
|
+
// publish it to the shared status, so the top bar and the pickers update now.
|
|
529
|
+
const finishInAppLogin = async (provider: LoginSessionTarget) => {
|
|
530
|
+
if (provider === 'gemini-research') {
|
|
531
|
+
setGeminiResearch(previous => previous ? { ...previous, signIn: 'ready' } : previous);
|
|
532
|
+
setInAppLogin(null); setInAppNote(null);
|
|
533
|
+
await refreshGeminiResearch();
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
if (provider === 'antigravity-cli') {
|
|
537
|
+
const current = useAppStore.getState().authStatus;
|
|
538
|
+
if (current) setAuthStatus({ ...current, 'antigravity-cli': { ...current['antigravity-cli'], loggedIn: true, probeFailed: false, signInRejected: false, error: undefined } });
|
|
539
|
+
setInAppLogin(null); setInAppNote(null);
|
|
540
|
+
void checkProviderStatus(provider);
|
|
541
|
+
return;
|
|
542
|
+
}
|
|
543
|
+
const status = await checkProviderStatus(provider);
|
|
544
|
+
const checkedStatus = loginStatus(provider, status);
|
|
545
|
+
if (!checkedStatus) {
|
|
546
|
+
setInAppNote('Sign-in finished, but Arco could not check the status. Press LOG IN to try again, or use Check connection in Connections.');
|
|
547
|
+
} else if (!checkedStatus.loggedIn) {
|
|
548
|
+
setInAppNote(checkedStatus.error ? `Sign-in finished, but the status still reads not signed in: ${checkedStatus.error}` : 'Sign-in finished, but the status still reads not signed in. Press LOG IN to try again.');
|
|
549
|
+
} else {
|
|
550
|
+
setInAppNote(null);
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
|
|
469
554
|
const phosphorActive = THEME_REGISTRY[activeThemeId]?.family === 'phosphor';
|
|
470
555
|
const llamacppReady = settings?.enabledProviders?.llamacpp !== false && !!authStatus?.llamacpp?.loggedIn;
|
|
471
556
|
|
|
@@ -734,11 +819,12 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
734
819
|
ENABLED PROVIDERS
|
|
735
820
|
</div>
|
|
736
821
|
<div style={{ display: 'flex', flexDirection: 'column', gap: '6px', marginBottom: '14px' }}>
|
|
737
|
-
{(['claude', 'codex', 'cursor', 'ollama', 'llamacpp', 'lmstudio', 'strata', 'deepseek'] as ProviderName[]).map((p) => {
|
|
738
|
-
const enabled =
|
|
822
|
+
{(['claude', 'codex', 'cursor', 'antigravity-cli', 'ollama', 'llamacpp', 'lmstudio', 'strata', 'deepseek'] as ProviderName[]).map((p) => {
|
|
823
|
+
const enabled = on(p);
|
|
739
824
|
const label = p === 'claude' ? 'CLAUDE'
|
|
740
825
|
: p === 'codex' ? 'CODEX'
|
|
741
826
|
: p === 'cursor' ? 'CURSOR'
|
|
827
|
+
: p === 'antigravity-cli' ? 'ANTIGRAVITY CLI'
|
|
742
828
|
: p === 'ollama' ? 'OLLAMA'
|
|
743
829
|
: p === 'deepseek' ? 'XOLOTL' : p === 'strata' ? 'STRATA' : p === 'lmstudio' ? 'LM STUDIO'
|
|
744
830
|
: 'LLAMA.CPP';
|
|
@@ -748,6 +834,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
748
834
|
? 'Local worker provider: manual model registry, vision-capable'
|
|
749
835
|
: p === 'deepseek' ? 'DeepSeek V4.1 Flash · Exact / Light · local inference' : p === 'strata' ? 'Standalone Qwen inference: web and image input' : p === 'lmstudio'
|
|
750
836
|
? 'Local worker provider: OpenAI-compatible endpoint (default :1234)'
|
|
837
|
+
: p === 'antigravity-cli' ? 'Interactive agent tabs through agy ACP'
|
|
751
838
|
: p === 'cursor'
|
|
752
839
|
? 'ACP Agent; print Chat/review: live model catalog (cursor-agent login)'
|
|
753
840
|
: p === 'codex'
|
|
@@ -806,6 +893,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
806
893
|
AUTHENTICATION
|
|
807
894
|
</div>
|
|
808
895
|
<div data-help="settings.authentication" style={{ display: 'flex', flexDirection: 'column', gap: '8px' }}>
|
|
896
|
+
{on('claude') && (<>
|
|
809
897
|
<div data-help="settings.claude-signin" id="claude-signin-group" className="claude-signin-group" style={{ display: 'flex', flexDirection: 'column', gap: '6px' }}>
|
|
810
898
|
<div className="display-font" style={{ fontSize: '10px', letterSpacing: '2px', color: 'var(--color-accent-primary-dim)' }}>CLAUDE</div>
|
|
811
899
|
<span style={{ fontSize: '10px', color: 'var(--color-fg-muted)', fontFamily: 'var(--font-body)' }}>
|
|
@@ -821,9 +909,19 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
821
909
|
/>
|
|
822
910
|
|
|
823
911
|
</div>
|
|
912
|
+
</>)}
|
|
913
|
+
{on('codex') && (<>
|
|
914
|
+
<ProviderRow label="CODEX (OPENAI)" provider="codex" status={loginStatus('codex', authStatus?.codex) ?? undefined} loginPending={loginPending === 'codex'} onLogin={() => startLogin('codex')} />
|
|
915
|
+
{inAppLogin?.session?.provider === 'codex' && (
|
|
916
|
+
<div data-testid="settings-codex-login" style={{ padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px' }}>
|
|
917
|
+
<LoginFlow result={inAppLogin} onRestart={() => void startLogin('codex')} onComplete={() => { void finishInAppLogin('codex'); }} />
|
|
918
|
+
</div>
|
|
919
|
+
)}
|
|
824
920
|
<CodexProfilesSection />
|
|
921
|
+
</>)}
|
|
825
922
|
|
|
826
923
|
|
|
924
|
+
{on('cursor') && (<>
|
|
827
925
|
<ProviderRow
|
|
828
926
|
label="CURSOR (ACP)"
|
|
829
927
|
provider="cursor"
|
|
@@ -831,7 +929,63 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
831
929
|
loginPending={loginPending === 'cursor'}
|
|
832
930
|
onLogin={() => startLogin('cursor')}
|
|
833
931
|
/>
|
|
932
|
+
{inAppLogin?.session?.provider === 'cursor' && (
|
|
933
|
+
<div data-testid="settings-cursor-login" style={{ padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px' }}>
|
|
934
|
+
<LoginFlow
|
|
935
|
+
result={inAppLogin}
|
|
936
|
+
onRestart={() => void startLogin('cursor')}
|
|
937
|
+
onComplete={() => { void finishInAppLogin('cursor'); }}
|
|
938
|
+
/>
|
|
939
|
+
</div>
|
|
940
|
+
)}
|
|
941
|
+
</>)}
|
|
942
|
+
{on('antigravity-cli') && (<>
|
|
943
|
+
<ProviderRow
|
|
944
|
+
label="ANTIGRAVITY CLI"
|
|
945
|
+
provider="antigravity-cli"
|
|
946
|
+
status={authStatus?.['antigravity-cli']}
|
|
947
|
+
loginPending={loginPending === 'antigravity-cli'}
|
|
948
|
+
onLogin={() => startLogin('antigravity-cli')}
|
|
949
|
+
/>
|
|
950
|
+
{inAppLogin?.session?.provider === 'antigravity-cli' && (
|
|
951
|
+
<div data-testid="settings-antigravity-login" style={{ padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px' }}>
|
|
952
|
+
<LoginFlow result={inAppLogin} onRestart={() => void startLogin('antigravity-cli')} onComplete={() => { void finishInAppLogin('antigravity-cli'); }} />
|
|
953
|
+
</div>
|
|
954
|
+
)}
|
|
955
|
+
{geminiResearch?.available && on('antigravity-cli') && (
|
|
956
|
+
<div data-help="settings.gemini-research" data-testid="settings-gemini-research">
|
|
957
|
+
<ProviderRow
|
|
958
|
+
label="GEMINI FOR RESEARCH"
|
|
959
|
+
status={{ loggedIn: geminiResearch.signIn === 'ready', ...(geminiResearch.signIn === 'expired' ? { error: 'sign-in expired; sign in again' } : {}) }}
|
|
960
|
+
loginPending={loginPending === 'gemini-research'}
|
|
961
|
+
onLogin={() => startLogin('gemini-research')}
|
|
962
|
+
/>
|
|
963
|
+
</div>
|
|
964
|
+
)}
|
|
965
|
+
{geminiResearch && !geminiResearch.linux && (
|
|
966
|
+
<p data-help="settings.gemini-research" data-testid="settings-gemini-research-linux-only" style={{ margin: 0, padding: '0 14px', fontSize: '10px', color: 'var(--color-fg-muted)', fontFamily: 'var(--font-body)' }}>
|
|
967
|
+
Gemini for Research is available only on Linux with the research sandbox. Gemini chat and agent tabs are not affected.
|
|
968
|
+
</p>
|
|
969
|
+
)}
|
|
970
|
+
{inAppLogin?.session?.provider === 'gemini-research' && (
|
|
971
|
+
<div data-testid="settings-gemini-research-login" style={{ padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px' }}>
|
|
972
|
+
<LoginFlow result={inAppLogin} onRestart={() => void startLogin('gemini-research')} onComplete={() => { void finishInAppLogin('gemini-research'); }} />
|
|
973
|
+
</div>
|
|
974
|
+
)}
|
|
975
|
+
</>)}
|
|
976
|
+
{inAppNote && (
|
|
977
|
+
<div role="alert" data-testid="settings-cursor-login-note" style={{ fontSize: '11px', color: 'var(--color-warning)', fontFamily: 'var(--font-body)', padding: '0 14px' }}>
|
|
978
|
+
{inAppNote}
|
|
979
|
+
</div>
|
|
980
|
+
)}
|
|
981
|
+
{ollamaEndpointShown && (<>
|
|
834
982
|
<div id="connection-advanced-ollama" style={{ display: 'flex', flexDirection: 'column', gap: '4px', padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px', background: 'var(--color-bg-sunken)' }}>
|
|
983
|
+
<label data-help="settings.ollama-small-context" style={{ display: 'flex', alignItems: 'center', gap: 8, minHeight: 44 }}>
|
|
984
|
+
<input type="checkbox" disabled={ollamaSmallSaving} checked={settings?.ollama?.smallContextTools === true} onChange={e => void setOllamaSmallContext(e.target.checked)} />
|
|
985
|
+
Small-context tools for Ollama cluster members
|
|
986
|
+
</label>
|
|
987
|
+
<p style={{ margin: '0 0 8px', color: 'var(--color-fg-muted)' }}>Keeps file, shell, mailbox and plan reading. WebSearch, WebFetch, board changes and plan changes are unavailable to these members while this is on.</p>
|
|
988
|
+
{ollamaSmallError && <p role="alert">{ollamaSmallError}</p>}
|
|
835
989
|
<label htmlFor="ollama-endpoint" className="display-font" style={{ fontSize: '10px', letterSpacing: '2px', color: 'var(--color-accent-primary-dim)' }}>
|
|
836
990
|
OLLAMA ENDPOINT
|
|
837
991
|
</label>
|
|
@@ -923,6 +1077,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
923
1077
|
)}
|
|
924
1078
|
</div>
|
|
925
1079
|
</div>
|
|
1080
|
+
</>)}
|
|
926
1081
|
<div style={{ display: 'flex', flexDirection: 'column', gap: '4px', padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px', background: 'var(--color-bg-sunken)' }}>
|
|
927
1082
|
<label className="display-font" style={{ fontSize: '10px', letterSpacing: '2px', color: 'var(--color-accent-primary-dim)' }}>
|
|
928
1083
|
OLLAMA COMPACTION UTILITY MODEL
|
|
@@ -1015,6 +1170,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1015
1170
|
ENABLED off pauses every utility job (compaction falls back to the deterministic digest, titles stop) while keeping the model + host saved. SESSION TITLES (opt-in) names RESUME-picker sessions with a short generated title. The small model that writes Ollama auto-compaction summaries (and any utility jobs). Type a model name: local models are offered as suggestions, but you can enter one that only exists on the remote host below. Blank ⇒ a deterministic text digest is used instead. Ollama-specific: Claude/Codex use their vendors' native compaction. Leave the host blank to use your default Ollama endpoint; set it to run the summarizer on a separate machine or GPU so it never competes with your primary model for VRAM.
|
|
1016
1171
|
</span>
|
|
1017
1172
|
</div>
|
|
1173
|
+
{on('lmstudio') && (<>
|
|
1018
1174
|
<div id="connection-advanced-lmstudio" style={{ display: 'flex', flexDirection: 'column', gap: '4px', padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px', background: 'var(--color-bg-sunken)' }}>
|
|
1019
1175
|
<label htmlFor="lmstudio-endpoint" className="display-font" style={{ fontSize: '10px', letterSpacing: '2px', color: 'var(--color-accent-primary-dim)' }}>
|
|
1020
1176
|
LM STUDIO ENDPOINT
|
|
@@ -1050,7 +1206,11 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1050
1206
|
OpenAI-compatible REST endpoint (LM Studio app → Developer → Start Server). The /v1 suffix is added automatically if omitted.
|
|
1051
1207
|
</span>
|
|
1052
1208
|
</div>
|
|
1209
|
+
</>)}
|
|
1210
|
+
{on('deepseek') && (<>
|
|
1053
1211
|
<DeepSeekControls />
|
|
1212
|
+
</>)}
|
|
1213
|
+
{on('strata') && (<>
|
|
1054
1214
|
<div data-help="settings.strata-endpoint" style={{ display: 'flex', flexDirection: 'column', gap: '4px', padding: '10px 14px', border: '1px solid var(--color-border-hairline)', borderRadius: '4px', background: 'var(--color-bg-sunken)' }}>
|
|
1055
1215
|
<label htmlFor="strata-endpoint" className="display-font" style={{ fontSize: '10px', letterSpacing: '2px', color: 'var(--color-accent-primary-dim)' }}>
|
|
1056
1216
|
STRATA ENDPOINT
|
|
@@ -1086,6 +1246,8 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1086
1246
|
Standalone Strata inference service. Prepared local profiles load on the next message; live context and image capabilities follow the service. The /v1 suffix is added automatically if omitted.
|
|
1087
1247
|
</span>
|
|
1088
1248
|
</div>
|
|
1249
|
+
</>)}
|
|
1250
|
+
{on('ollama') && (<>
|
|
1089
1251
|
<ProviderRow
|
|
1090
1252
|
label="OLLAMA (LOCAL)"
|
|
1091
1253
|
status={authStatus?.ollama}
|
|
@@ -1093,6 +1255,8 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1093
1255
|
onLogin={() => startLogin('ollama')}
|
|
1094
1256
|
variant="ollama"
|
|
1095
1257
|
/>
|
|
1258
|
+
</>)}
|
|
1259
|
+
{on('llamacpp') && (<>
|
|
1096
1260
|
<ProviderRow
|
|
1097
1261
|
label="LLAMA.CPP (LOCAL)"
|
|
1098
1262
|
status={authStatus?.llamacpp}
|
|
@@ -1101,6 +1265,8 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1101
1265
|
variant="llamacpp"
|
|
1102
1266
|
loadedModel={llamacppLive?.loadedModel ?? null}
|
|
1103
1267
|
/>
|
|
1268
|
+
</>)}
|
|
1269
|
+
{on('lmstudio') && (<>
|
|
1104
1270
|
<ProviderRow
|
|
1105
1271
|
label="LM STUDIO (LOCAL)"
|
|
1106
1272
|
status={authStatus?.lmstudio}
|
|
@@ -1108,6 +1274,8 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1108
1274
|
onLogin={() => { /* no-op: LM Studio has no login flow */ }}
|
|
1109
1275
|
variant="lmstudio"
|
|
1110
1276
|
/>
|
|
1277
|
+
</>)}
|
|
1278
|
+
{on('strata') && (<>
|
|
1111
1279
|
<ProviderRow
|
|
1112
1280
|
label="STRATA (LOCAL)"
|
|
1113
1281
|
status={authStatus?.strata}
|
|
@@ -1115,6 +1283,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1115
1283
|
onLogin={() => { /* no-op: Strata has no login flow */ }}
|
|
1116
1284
|
variant="strata"
|
|
1117
1285
|
/>
|
|
1286
|
+
</>)}
|
|
1118
1287
|
<ProviderRow
|
|
1119
1288
|
label="GITHUB (gh CLI)"
|
|
1120
1289
|
status={authStatus?.github}
|
|
@@ -1158,6 +1327,10 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1158
1327
|
|
|
1159
1328
|
<SettingsSection id="utility-agent">
|
|
1160
1329
|
<UtilityAgentPicker />
|
|
1330
|
+
{phone && <label data-help="recall.summarize-on-close" style={{ display: 'flex', alignItems: 'center', gap: 8, minHeight: 44 }}>
|
|
1331
|
+
<input type="checkbox" checked={summarizeOnClose} onChange={(e) => setSummarizeOnClose(e.target.checked)} />
|
|
1332
|
+
Summarize on tab close
|
|
1333
|
+
</label>}
|
|
1161
1334
|
</SettingsSection>
|
|
1162
1335
|
|
|
1163
1336
|
<SettingsSection id="notification-channels">
|
|
@@ -1204,10 +1377,8 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1204
1377
|
</SettingsSection>
|
|
1205
1378
|
|
|
1206
1379
|
{/* Slot 12 — model catalog editor. Inline expandable section instead
|
|
1207
|
-
of a separate modal; operator-edited models.md
|
|
1208
|
-
|
|
1209
|
-
"operator-configurable catalog overrides surfaced in UI" item
|
|
1210
|
-
without adding another header button. */}
|
|
1380
|
+
of a separate modal; operator-edited models.md is a free-form notes file that no turn reads;
|
|
1381
|
+
the editor is kept inline instead of in a separate modal. */}
|
|
1211
1382
|
<SettingsSection id="catalog">
|
|
1212
1383
|
<div data-help="settings.catalog">
|
|
1213
1384
|
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: '8px' }}>
|
|
@@ -1235,7 +1406,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1235
1406
|
</div>
|
|
1236
1407
|
{!catalogOpen && (
|
|
1237
1408
|
<div style={{ fontSize: '10px', color: 'var(--color-fg-muted)', fontFamily: 'var(--font-body)', lineHeight: '1.6' }}>
|
|
1238
|
-
~/.arco/models.md:
|
|
1409
|
+
~/.arco/models.md: free-form notes file. Arco does not read it into any turn.
|
|
1239
1410
|
</div>
|
|
1240
1411
|
)}
|
|
1241
1412
|
{catalogOpen && (
|
|
@@ -1268,7 +1439,7 @@ export function SettingsPanel({ onClose }: Props) {
|
|
|
1268
1439
|
<div style={{ display: 'flex', gap: '8px' }}>
|
|
1269
1440
|
<button
|
|
1270
1441
|
onClick={saveCatalog}
|
|
1271
|
-
disabled={catalogSaving}
|
|
1442
|
+
disabled={catalogSaving || !catalogLoaded}
|
|
1272
1443
|
className="display-font"
|
|
1273
1444
|
style={{
|
|
1274
1445
|
flex: 1,
|
|
@@ -1887,7 +2058,7 @@ function ProjectTrustSection({ activeCwd }: { activeCwd: string }) {
|
|
|
1887
2058
|
|
|
1888
2059
|
interface ProviderRowProps {
|
|
1889
2060
|
label: string;
|
|
1890
|
-
provider?:
|
|
2061
|
+
provider?: AuthLoginTarget;
|
|
1891
2062
|
status?: AuthStatus;
|
|
1892
2063
|
loginPending: boolean;
|
|
1893
2064
|
onLogin: () => void;
|
|
@@ -1912,7 +2083,6 @@ function defaultCodexProfileDraft(n: number): CodexProfileDraft {
|
|
|
1912
2083
|
id,
|
|
1913
2084
|
label,
|
|
1914
2085
|
shortLabel,
|
|
1915
|
-
codexHome: `~/.arco/provider-accounts/codex-${id}`,
|
|
1916
2086
|
authBrowser: { command: '' },
|
|
1917
2087
|
authArgsText: '',
|
|
1918
2088
|
};
|
|
@@ -1950,23 +2120,17 @@ function CodexProfilesSection() {
|
|
|
1950
2120
|
const authStatus = useAppStore((s) => s.authStatus);
|
|
1951
2121
|
const setAuthStatus = useAppStore((s) => s.setAuthStatus);
|
|
1952
2122
|
const [drafts, setDrafts] = useState<CodexProfileDraft[]>([]);
|
|
2123
|
+
const [expanded, setExpanded] = useState(false);
|
|
2124
|
+
const initialized = useRef(false);
|
|
1953
2125
|
const [saving, setSaving] = useState(false);
|
|
1954
2126
|
const [loginPending, setLoginPending] = useState<string | null>(null);
|
|
1955
2127
|
const [error, setError] = useState<string | null>(null);
|
|
1956
2128
|
const [loginCommand, setLoginCommand] = useState<{ id: string; command: string } | null>(null);
|
|
1957
2129
|
const [editingIds, setEditingIds] = useState<Set<string>>(new Set());
|
|
1958
2130
|
const savedProfileIds = new Set((settings?.providerAccounts?.codex ?? []).map((p) => p.id));
|
|
1959
|
-
const providerLoggedIn = authStatus?.codex?.loggedIn === true;
|
|
1960
|
-
const profileCount = settings?.providerAccounts?.codex?.length ?? 0;
|
|
1961
|
-
const liveProfileCount = authStatus?.codex?.accountStatuses?.filter((s) => s.loggedIn).length ?? 0;
|
|
1962
|
-
const codexSubline = profileCount > 0
|
|
1963
|
-
? `${profileCount} profile${profileCount === 1 ? '' : 's'} configured · ${liveProfileCount} live`
|
|
1964
|
-
: providerLoggedIn
|
|
1965
|
-
? (authStatus?.codex?.email ? `${authStatus.codex.email} · default Codex auth` : 'default Codex auth live')
|
|
1966
|
-
: (authStatus?.codex?.error || 'not authenticated');
|
|
1967
|
-
|
|
1968
2131
|
useEffect(() => {
|
|
1969
2132
|
const profiles = settings?.providerAccounts?.codex ?? [];
|
|
2133
|
+
if (settings && !initialized.current) { initialized.current = true; setExpanded(profiles.length > 0); }
|
|
1970
2134
|
setDrafts(profiles.map((p) => ({
|
|
1971
2135
|
...p,
|
|
1972
2136
|
authArgsText: p.authBrowser?.args?.join(' ') ?? '',
|
|
@@ -2057,30 +2221,10 @@ function CodexProfilesSection() {
|
|
|
2057
2221
|
};
|
|
2058
2222
|
|
|
2059
2223
|
return (
|
|
2060
|
-
<div
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
borderRadius: '4px',
|
|
2065
|
-
padding: '12px 14px',
|
|
2066
|
-
background: providerLoggedIn ? 'var(--color-accent-primary-a05)' : 'var(--color-bg-sunken)',
|
|
2067
|
-
}}
|
|
2068
|
-
>
|
|
2069
|
-
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: '10px', marginBottom: '10px' }}>
|
|
2070
|
-
<div style={{ display: 'flex', flexDirection: 'column', gap: '2px', minWidth: 0 }}>
|
|
2071
|
-
<span className="display-font" style={{ fontSize: '12px', letterSpacing: '2px', color: providerLoggedIn ? 'var(--color-accent-primary)' : 'var(--color-fg-muted)' }}>
|
|
2072
|
-
CODEX (OPENAI)
|
|
2073
|
-
</span>
|
|
2074
|
-
<span style={{ fontSize: '10px', color: providerLoggedIn ? 'var(--color-accent-primary-dim)' : 'var(--color-warning-dim)', fontFamily: 'var(--font-body)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
|
|
2075
|
-
{codexSubline}
|
|
2076
|
-
</span>
|
|
2077
|
-
</div>
|
|
2078
|
-
<div style={{ display: 'flex', gap: '6px' }}>
|
|
2079
|
-
{providerLoggedIn && (
|
|
2080
|
-
<span className="display-font" style={{ fontSize: '10px', letterSpacing: '1px', color: 'var(--color-accent-primary)', padding: '4px 10px', border: '1px solid var(--color-accent-primary)', borderRadius: '3px' }}>
|
|
2081
|
-
LIVE
|
|
2082
|
-
</span>
|
|
2083
|
-
)}
|
|
2224
|
+
<div data-help="settings.codex-profiles" style={{ border: '1px solid var(--color-border-hairline)', borderRadius: '4px', padding: '12px 14px', background: 'var(--color-bg-sunken)' }}>
|
|
2225
|
+
<button type="button" aria-expanded={expanded} onClick={() => setExpanded(!expanded)} className="display-font" style={{ background: 'transparent', border: 0, color: 'var(--color-accent-primary)', cursor: 'pointer', padding: '4px 0', fontSize: '11px', letterSpacing: '1px' }}>MORE ACCOUNTS</button>
|
|
2226
|
+
{expanded && <>
|
|
2227
|
+
<div style={{ display: 'flex', justifyContent: 'flex-end', gap: '6px', marginBottom: '10px' }}>
|
|
2084
2228
|
<button
|
|
2085
2229
|
onClick={() => setDrafts((prev) => [...prev, defaultCodexProfileDraft(prev.length + 1)])}
|
|
2086
2230
|
className="display-font"
|
|
@@ -2096,14 +2240,13 @@ function CodexProfilesSection() {
|
|
|
2096
2240
|
>
|
|
2097
2241
|
{saving ? 'SAVING...' : 'SAVE'}
|
|
2098
2242
|
</button>
|
|
2099
|
-
</div>
|
|
2100
2243
|
</div>
|
|
2101
2244
|
<div className="display-font" style={{ fontSize: '9px', letterSpacing: '1.5px', color: 'var(--color-accent-primary-dim)', marginBottom: '8px' }}>
|
|
2102
2245
|
PROFILES
|
|
2103
2246
|
</div>
|
|
2104
2247
|
{drafts.length === 0 && (
|
|
2105
2248
|
<div style={{ fontSize: '10px', color: 'var(--color-fg-muted)', fontFamily: 'var(--font-body)', marginBottom: '8px' }}>
|
|
2106
|
-
Add
|
|
2249
|
+
Add profiles for separate OpenAI accounts and route Codex tabs through their own CODEX_HOME directories.
|
|
2107
2250
|
</div>
|
|
2108
2251
|
)}
|
|
2109
2252
|
<div style={{ display: 'flex', flexDirection: 'column', gap: '8px' }}>
|
|
@@ -2163,7 +2306,7 @@ function CodexProfilesSection() {
|
|
|
2163
2306
|
<input
|
|
2164
2307
|
value={profile.codexHome ?? ''}
|
|
2165
2308
|
onChange={(e) => updateDraft(profile.id, { codexHome: e.target.value })}
|
|
2166
|
-
placeholder="
|
|
2309
|
+
placeholder="Default: Arco data folder / provider-accounts / codex-profile ID"
|
|
2167
2310
|
style={inputStyle}
|
|
2168
2311
|
title="CODEX_HOME"
|
|
2169
2312
|
/>
|
|
@@ -2193,7 +2336,7 @@ function CodexProfilesSection() {
|
|
|
2193
2336
|
</div>
|
|
2194
2337
|
<div style={{ display: 'flex', gap: '8px', minWidth: 0, fontSize: '10px', fontFamily: 'var(--font-body)', color: 'var(--color-fg-muted)' }}>
|
|
2195
2338
|
<span className="display-font" style={{ minWidth: '58px', color: 'var(--color-accent-primary-dim)', letterSpacing: '1px' }}>HOME</span>
|
|
2196
|
-
<span style={{ color: 'var(--color-accent-primary)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>{profile
|
|
2339
|
+
<span style={{ color: 'var(--color-accent-primary)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>{codexProfileHomeLabel(profile)}</span>
|
|
2197
2340
|
</div>
|
|
2198
2341
|
<div style={{ display: 'flex', gap: '8px', minWidth: 0, fontSize: '10px', fontFamily: 'var(--font-body)', color: 'var(--color-fg-muted)' }}>
|
|
2199
2342
|
<span className="display-font" style={{ minWidth: '58px', color: 'var(--color-accent-primary-dim)', letterSpacing: '1px' }}>BROWSER</span>
|
|
@@ -2280,10 +2423,16 @@ function CodexProfilesSection() {
|
|
|
2280
2423
|
{error}
|
|
2281
2424
|
</div>
|
|
2282
2425
|
)}
|
|
2426
|
+
</>}
|
|
2283
2427
|
</div>
|
|
2284
2428
|
);
|
|
2285
2429
|
}
|
|
2286
2430
|
|
|
2431
|
+
// One rule for the switches, the saved toggle and the detail blocks: Antigravity CLI is off until enabled, every other provider is on until disabled.
|
|
2432
|
+
export function isProviderOn(enabled: Record<string, boolean | undefined> | undefined, p: ProviderName): boolean {
|
|
2433
|
+
return p === 'antigravity-cli' ? enabled?.[p] === true : enabled?.[p] !== false;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2287
2436
|
function ProviderRow({ label, provider, status, loginPending, onLogin, variant, loadedModel }: ProviderRowProps) {
|
|
2288
2437
|
const loggedIn = status?.loggedIn ?? false;
|
|
2289
2438
|
const isOllama = variant === 'ollama';
|
|
@@ -2332,7 +2481,8 @@ function ProviderRow({ label, provider, status, loginPending, onLogin, variant,
|
|
|
2332
2481
|
return status?.email ? `${status.email} · ChatGPT OAuth` : 'ChatGPT OAuth';
|
|
2333
2482
|
}
|
|
2334
2483
|
if (loggedIn) return status?.email || 'authenticated';
|
|
2335
|
-
|
|
2484
|
+
if (status?.error) return status.probeFailed ? `status unknown: ${status.error}` : status.error;
|
|
2485
|
+
return 'not authenticated';
|
|
2336
2486
|
})();
|
|
2337
2487
|
return (
|
|
2338
2488
|
<div
|
|
@@ -2350,7 +2500,7 @@ function ProviderRow({ label, provider, status, loginPending, onLogin, variant,
|
|
|
2350
2500
|
<span className="display-font" style={{ fontSize: '12px', letterSpacing: '2px', color: loggedIn ? 'var(--color-accent-primary)' : 'var(--color-fg-muted)' }}>
|
|
2351
2501
|
{label}
|
|
2352
2502
|
</span>
|
|
2353
|
-
<span style={{ fontSize: '10px', color: usesOpenAiApiKey ? 'var(--color-warning)' : loggedIn ? 'var(--color-accent-primary-dim)' : 'var(--color-warning-dim)', fontFamily: 'var(--font-body)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
|
|
2503
|
+
<span style={{ fontSize: '10px', color: usesOpenAiApiKey ? 'var(--color-warning)' : loggedIn ? 'var(--color-accent-primary-dim)' : 'var(--color-warning-dim)', fontFamily: 'var(--font-body)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: !loggedIn && status?.error && !isLocalRuntime ? 'normal' : 'nowrap' }}>
|
|
2354
2504
|
{subline}
|
|
2355
2505
|
</span>
|
|
2356
2506
|
{usesOpenAiApiKey && (
|