arco-workbench 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +25 -12
- package/README.md +12 -8
- package/client/dist/THIRD_PARTY_LICENSES.txt +3912 -0
- package/client/dist/assets/{PhosphorBackdrop-D7jdAV_G.js → PhosphorBackdrop-9jNRO1ZM.js} +1 -1
- package/client/dist/assets/{ThemedBackgroundShaderImpl-DrDm60h8.js → ThemedBackgroundShaderImpl-tUi3k54Y.js} +1 -1
- package/client/dist/assets/XtermView-B7BOSnVo.js +10 -0
- package/client/dist/assets/{galleryEditor-D951A2sE.js → galleryEditor-Ohc2h9cD.js} +1 -1
- package/client/dist/assets/index-CVJVD2Vn.css +1 -0
- package/client/dist/assets/index-ILGXWriO.js +638 -0
- package/client/dist/index.html +3 -3
- package/client/src/App.tsx +44 -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 +76 -13
- package/client/src/components/ChatModeView.tsx +21 -3
- 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 +30 -12
- 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/CodexLateCommand.tsx +34 -0
- package/client/src/components/Connections/Connections.tsx +5 -8
- package/client/src/components/Connections/model.ts +2 -2
- package/client/src/components/DialogShell.tsx +6 -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 -2
- 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 +12 -3
- package/client/src/components/MemberPane.tsx +15 -5
- 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 +290 -0
- package/client/src/components/PlanComposerDialog.tsx +7 -7
- package/client/src/components/PrimaryStatus.tsx +14 -6
- 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 +13 -0
- package/client/src/components/ScratchCloseDialog.tsx +124 -0
- package/client/src/components/SettingsPanel.tsx +181 -69
- package/client/src/components/SkillActivityIndicator.tsx +93 -0
- package/client/src/components/SkillEditorDialog.tsx +2 -2
- package/client/src/components/SkillsSettings.tsx +17 -5
- 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 +151 -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 +53 -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 +2 -0
- 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/ArtifactsLens.tsx +37 -28
- package/client/src/explorer/ExplorerApp.tsx +5 -4
- package/client/src/explorer/StorageLens.tsx +10 -3
- package/client/src/explorer/types.ts +8 -3
- package/client/src/help/content/chat.tsx +5 -8
- package/client/src/help/content/cluster.tsx +79 -29
- package/client/src/help/content/composer.tsx +29 -7
- package/client/src/help/content/header.tsx +19 -25
- package/client/src/help/content/media.tsx +2 -2
- package/client/src/help/content/misc.tsx +175 -39
- 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 +48 -14
- 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 +351 -69
- package/client/src/help/manualSections/configuration.tsx +28 -19
- package/client/src/help/manualSections/deepseek.tsx +4 -5
- package/client/src/help/manualSections/gettingStarted.tsx +34 -30
- package/client/src/help/manualSections/maintenance.tsx +16 -11
- package/client/src/help/manualSections/plans.tsx +4 -4
- package/client/src/help/manualSections/powerFeatures.tsx +54 -20
- 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 +143 -37
- 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 +43 -10
- package/client/src/stores/appStore.types.ts +33 -3
- 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 +402 -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/phoneTheme.ts +38 -0
- package/client/src/utils/phoneUploadApi.ts +10 -0
- package/client/src/utils/providerStatusCheck.ts +30 -0
- package/client/src/utils/startupGate.ts +6 -0
- package/client/src/ws/handleServerMessage.ts +129 -13
- 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 +77 -37
- 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 +28 -17
- package/docs/GENESIS.md +3 -1
- package/docs/GETTING_STARTED.md +90 -19
- package/docs/GIT_WORKBENCH.md +5 -5
- package/docs/GLOSSARY.md +36 -23
- package/docs/GOTCHAS.md +102 -67
- package/docs/HTTP_API.md +182 -86
- package/docs/INDEX.md +2 -1
- 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 +300 -72
- 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 +60 -9
- package/docs/PROTOCOL_CLUSTER.md +100 -22
- package/docs/PROTOCOL_PRIMITIVES.md +10 -4
- package/docs/PROVIDERS.md +324 -144
- 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 +22 -15
- 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/darwin-arm64/manifest.json +1 -1
- package/native/linux-arm64/manifest.json +1 -1
- package/native/linux-x64/manifest.json +1 -1
- package/native/win32-x64/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 +2 -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 +179 -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 +39 -3
- 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 +5 -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 +9 -0
- 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 +13 -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 -1
- 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 +257 -50
- 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/clusterRehydrate.js +2 -0
- 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/explorerDocs.d.ts +10 -6
- package/server/dist/explorerDocs.js +75 -34
- 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/attachmentUpload.d.ts +13 -0
- package/server/dist/http/attachmentUpload.js +38 -0
- package/server/dist/http/authLoginRoutes.js +1 -1
- package/server/dist/http/browserWorktrees.d.ts +23 -0
- package/server/dist/http/browserWorktrees.js +120 -0
- 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/phoneUploadDrafts.d.ts +13 -0
- package/server/dist/http/phoneUploadDrafts.js +125 -0
- package/server/dist/http/phoneUploadListener.d.ts +17 -0
- package/server/dist/http/phoneUploadListener.js +81 -0
- package/server/dist/http/phoneUploadNetwork.d.ts +9 -0
- package/server/dist/http/phoneUploadNetwork.js +106 -0
- package/server/dist/http/phoneUploadPage.d.ts +2 -0
- package/server/dist/http/phoneUploadPage.js +136 -0
- package/server/dist/http/phoneUploadRouteHistory.d.ts +4 -0
- package/server/dist/http/phoneUploadRouteHistory.js +72 -0
- package/server/dist/http/phoneUploadRoutes.d.ts +4 -0
- package/server/dist/http/phoneUploadRoutes.js +420 -0
- package/server/dist/http/phoneUploadTheme.d.ts +17 -0
- package/server/dist/http/phoneUploadTheme.js +96 -0
- package/server/dist/http/projectBinding.d.ts +1 -0
- package/server/dist/http/projectBinding.js +3 -2
- package/server/dist/http/readConfinement.d.ts +11 -0
- package/server/dist/http/readConfinement.js +35 -1
- package/server/dist/http/recallRoutes.js +1 -1
- package/server/dist/http/router.js +61 -35
- package/server/dist/http/storageRoutes.js +114 -7
- package/server/dist/http/workflowDataRoutes.js +20 -0
- package/server/dist/http/writeConfinement.js +31 -3
- 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 +11 -1
- package/server/dist/primitives/seedWorker.js +15 -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 +28 -0
- package/server/dist/providers/antigravity/usage.d.ts +7 -0
- package/server/dist/providers/antigravity/usage.js +35 -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 +14 -0
- package/server/dist/providers/codex-appserver/heldCommands.js +60 -0
- package/server/dist/providers/codex-appserver/index.d.ts +61 -2
- package/server/dist/providers/codex-appserver/index.js +340 -21
- package/server/dist/providers/codex-appserver/lateCommands.d.ts +62 -0
- package/server/dist/providers/codex-appserver/lateCommands.js +196 -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 +34 -1
- package/server/dist/providers/codex-appserver/worker.js +288 -45
- package/server/dist/providers/codex.js +3 -2
- package/server/dist/providers/codexCodeMode.d.ts +2 -1
- package/server/dist/providers/codexCodeMode.js +7 -3
- 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 +39 -1
- package/server/dist/workers/StreamParser.d.ts +1 -0
- package/server/dist/workers/StreamParser.js +23 -1
- package/server/dist/workers/WorkerManager.d.ts +5 -0
- package/server/dist/workers/WorkerManager.js +6 -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 +11 -1
- package/server/dist/workers/processKill.js +54 -12
- 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 +41 -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 +298 -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 +10 -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 -1
- 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 +242 -53
- 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/clusterRehydrate.ts +2 -0
- 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/explorerDocs.ts +75 -34
- 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/attachmentUpload.ts +49 -0
- package/server/src/http/authLoginRoutes.ts +2 -2
- package/server/src/http/browserWorktrees.ts +124 -0
- 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/phoneUploadDrafts.ts +118 -0
- package/server/src/http/phoneUploadListener.ts +96 -0
- package/server/src/http/phoneUploadNetwork.ts +117 -0
- package/server/src/http/phoneUploadPage.ts +137 -0
- package/server/src/http/phoneUploadRouteHistory.ts +73 -0
- package/server/src/http/phoneUploadRoutes.ts +399 -0
- package/server/src/http/phoneUploadTheme.ts +97 -0
- package/server/src/http/projectBinding.ts +3 -2
- package/server/src/http/readConfinement.ts +35 -1
- package/server/src/http/recallRoutes.ts +1 -1
- package/server/src/http/router.ts +54 -35
- package/server/src/http/storageRoutes.ts +86 -7
- package/server/src/http/workflowDataRoutes.ts +20 -0
- package/server/src/http/writeConfinement.ts +23 -3
- 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 +21 -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 +24 -0
- package/server/src/providers/antigravity/usage.ts +29 -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 +62 -0
- package/server/src/providers/codex-appserver/index.ts +306 -20
- package/server/src/providers/codex-appserver/lateCommands.ts +226 -0
- package/server/src/providers/codex-appserver/modelAvailability.ts +40 -0
- package/server/src/providers/codex-appserver/worker.ts +240 -46
- package/server/src/providers/codex.ts +3 -2
- package/server/src/providers/codexCodeMode.ts +8 -3
- 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 +31 -3
- package/server/src/workers/StreamParser.ts +20 -1
- package/server/src/workers/WorkerManager.ts +12 -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 +69 -9
- 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 +38 -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 +280 -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 +2 -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 +179 -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 +39 -3
- 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 +5 -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 +2 -1
- package/shared/src/protocol/checkpoints.ts +1 -0
- package/shared/src/protocol/clientMessages.ts +14 -0
- package/shared/src/protocol/clusters.ts +235 -10
- 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 +38 -2
- package/shared/src/protocol/settings.ts +14 -1
- package/shared/src/protocol/tasks.ts +73 -0
- package/shared/src/protocol/workflows.ts +12 -0
- package/shared/src/researchActivity.ts +23 -0
- package/client/dist/assets/XtermView-BGFujb1e.js +0 -10
- package/client/dist/assets/index-CsVy3eZm.js +0 -612
- package/client/dist/assets/index-DD9kFGsF.css +0 -1
- package/client/src/components/HeaderAuthChip.tsx +0 -207
- /package/server/dist/providers/{cursor → acp}/acpJsonRpc.d.ts +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { usePhoneLayout } from '../../layout/layoutRange';
|
|
2
|
+
import { usePhoneStore } from '../../stores/phoneStore';
|
|
3
|
+
import { PhonePageVisible, usePhonePageActions } from '../../layout/phonePageActions';
|
|
1
4
|
import type { PreviewCaptureKind, PreviewViewport } from '@arco/shared';
|
|
2
5
|
import { AutoCompactionThreshold } from '../AutoCompactionThreshold';
|
|
3
6
|
import { useOutputNavigation } from '../../utils/outputNavigation';
|
|
@@ -18,7 +21,7 @@ import { usePlanGenesisStore } from '../../stores/planGenesisStore';
|
|
|
18
21
|
// members. Reads from each member's job.activity (already in store) and
|
|
19
22
|
// filters on entry kind.
|
|
20
23
|
|
|
21
|
-
import { useEffect, useRef, useState } from 'react';
|
|
24
|
+
import { useEffect, useId, useRef, useState } from 'react';
|
|
22
25
|
import { useAppStore } from '../../stores/appStore';
|
|
23
26
|
import { useHubLinkStore } from '../../stores/hubLinkStore';
|
|
24
27
|
import { clusterDisplayName } from '../TabBar';
|
|
@@ -29,12 +32,13 @@ import { GitHubPanel } from '../GitHubPanel';
|
|
|
29
32
|
import { HistoryTab } from '../HistoryTab';
|
|
30
33
|
import { PreviewTab } from '../PreviewTab';
|
|
31
34
|
import { ProjectUsageTab } from '../RightPanel/UsageTab';
|
|
32
|
-
import { findDirector } from '../clusterSurface.helpers';
|
|
35
|
+
import { findDirector, geminiMemberNames } from '../clusterSurface.helpers';
|
|
33
36
|
import { ConfigTab } from '../RightPanel/ConfigTab';
|
|
34
37
|
import { ClusterFilesTabBody, type ClusterFilesSubTab } from '../RightPanel/FilesTab';
|
|
35
38
|
import type { ClusterStatePayload, ClusterTaskBoardMode } from '@arco/shared';
|
|
36
39
|
import type { PeerMessage, Props, SubTab } from './types';
|
|
37
40
|
import { MemberRow } from './MemberRow';
|
|
41
|
+
import { PhoneMemberList } from './PhoneMemberList';
|
|
38
42
|
import { AddWorkerSection } from './AddWorkerSection';
|
|
39
43
|
import { ClusterHandoffsTab } from './ClusterHandoffsTab';
|
|
40
44
|
import { ClusterReviewsList } from './ClusterReviewsList';
|
|
@@ -49,14 +53,31 @@ import { SavedClustersList } from '../SavedClustersList';
|
|
|
49
53
|
import { requestClusterSnapshotSave } from '../../stores/clusterSnapshotsStore';
|
|
50
54
|
|
|
51
55
|
import { CLUSTER_PANELS as TABS } from './panels';
|
|
56
|
+
import { ResearchResultsTab } from '../research/ResearchResultsTab';
|
|
57
|
+
import { AddResearcherSection } from '../research/AddResearcherSection';
|
|
52
58
|
|
|
53
59
|
type GroupId = 'workspace' | 'agent' | 'memory' | 'runtime';
|
|
54
60
|
const GROUPS: { id: GroupId; label: string; tabs: SubTab[] }[] = [
|
|
55
|
-
{ id: 'workspace', label: 'WORKSPACE', tabs: ['members', 'files'] },
|
|
61
|
+
{ id: 'workspace', label: 'WORKSPACE', tabs: ['results', 'members', 'files'] },
|
|
56
62
|
{ id: 'agent', label: 'AGENT', tabs: ['activity', 'reviews', 'handoffs', 'plan', 'board', 'mailbox'] },
|
|
57
63
|
{ id: 'memory', label: 'MEMORY', tabs: ['history', 'usage'] },
|
|
58
64
|
{ id: 'runtime', label: 'RUNTIME', tabs: ['preview', 'config', 'github'] },
|
|
59
65
|
];
|
|
66
|
+
// docs/RESEARCH.md - a research project shows RESULTS and hides BOARD;
|
|
67
|
+
// every other cluster hides RESULTS. MAILBOX stays in a research project
|
|
68
|
+
// with a Gemini member, whose mail waits there for the operator's NUDGE.
|
|
69
|
+
function groupsFor(research: boolean, gemini = false): typeof GROUPS {
|
|
70
|
+
return GROUPS.map((g) => ({ ...g, tabs: g.tabs.filter((t) => research ? !researchHidden(t, gemini) : t !== 'results') }));
|
|
71
|
+
}
|
|
72
|
+
// Mobile view, ALL PANELS: pages rarely used on a phone are listed last under MORE.
|
|
73
|
+
const PHONE_MORE: SubTab[] = ['preview', 'github'];
|
|
74
|
+
function phoneGroups(groups: typeof GROUPS): { id: string; label: string; tabs: SubTab[] }[] {
|
|
75
|
+
const more = groups.flatMap((g) => g.tabs.filter((t) => PHONE_MORE.includes(t)));
|
|
76
|
+
return [...groups.map((g) => ({ ...g, tabs: g.tabs.filter((t) => !PHONE_MORE.includes(t)) })), { id: 'more', label: 'MORE', tabs: more }].filter((g) => g.tabs.length > 0);
|
|
77
|
+
}
|
|
78
|
+
function researchHidden(t: string, gemini: boolean): boolean {
|
|
79
|
+
return ['board', 'reviews', 'handoffs', 'github'].includes(t) || (t === 'mailbox' && !gemini);
|
|
80
|
+
}
|
|
60
81
|
const STORAGE_KEY = 'arco.clusterSidePanelTab.byCluster';
|
|
61
82
|
const NARROW_PX = 360;
|
|
62
83
|
|
|
@@ -84,12 +105,15 @@ function tabForCluster(map: Record<string, SubTab>, clusterId: string): SubTab {
|
|
|
84
105
|
return 'members';
|
|
85
106
|
}
|
|
86
107
|
|
|
87
|
-
export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest, planTabRequest, membersTabRequest, onFocusMember, onRename, onAddFreshWorkers, onAddExistingMember, onSetPlan, onAttachPlan, onClearPlan, onSetMemberRole, onSetMemberTier, onSetMemberFocus, onDetachMember, onToggleIdleNudger, onToggleAutoTurn, onSetTaskBoardMode, onSetTaskBoardAttached, onSetEfficiency, onSetAutoCompaction, onSetRemote, onSetGates, onSetProgress, onDispatchOnce, onToggleDispatcher, onUpdateDispatcherSettings, onUpdateTaskStatus, onReassignTask, onReclaimRun, onTerminateRun, onCreateSwarm, onSpawnPhase, onReviewMember, onCancelReview, onCancelHandoff, onClearHandoffLock, onReviewViaMember, onAttachPlanToMember, onUpdateMemberPrimary, onAttachCodebaseMemory, onDetachCodebaseMemory, mcp }: Props) {
|
|
108
|
+
export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest, planTabRequest, membersTabRequest, onFocusMember, onRename, onAddFreshWorkers, onAddExistingMember, onSetPlan, onAttachPlan, onClearPlan, onSetMemberRole, onSetMemberTier, onSetMemberFocus, onDetachMember, onAddResearcher, onRemoveResearcher, onToggleIdleNudger, onToggleAutoTurn, onSetTaskBoardMode, onSetTaskBoardAttached, onSetEfficiency, onSetAutoCompaction, onSetRemote, onSetGates, onSetProgress, onDispatchOnce, onToggleDispatcher, onUpdateDispatcherSettings, onUpdateTaskStatus, onReassignTask, onReclaimRun, onTerminateRun, onCreateSwarm, onSpawnPhase, onReviewMember, onCancelReview, onCancelHandoff, onClearHandoffLock, onReviewViaMember, onAttachPlanToMember, onUpdateMemberPrimary, onAttachCodebaseMemory, onDetachCodebaseMemory, mcp }: Props) {
|
|
88
109
|
const hubConnected = useHubLinkStore(s => s.known && s.connected);
|
|
110
|
+
const geminiNames = useAppStore(s => geminiMemberNames(cluster.members, s.jobs));
|
|
111
|
+
const hasGemini = !!geminiNames;
|
|
112
|
+
const compactionNoteId = useId();
|
|
89
113
|
const rootRef = useRef<HTMLDivElement>(null);
|
|
90
114
|
const [narrow, setNarrow] = useState(false);
|
|
91
115
|
const [tabsByCluster, setTabsByCluster] = useState<Record<string, SubTab>>(loadTabsByCluster);
|
|
92
|
-
const tab = tabForCluster(tabsByCluster, cluster.clusterId);
|
|
116
|
+
const tab = cluster.research && !tabsByCluster[cluster.clusterId] ? 'results' : tabForCluster(tabsByCluster, cluster.clusterId);
|
|
93
117
|
const setTab = (next: SubTab) => {
|
|
94
118
|
setTabsByCluster((prev) => {
|
|
95
119
|
const updated = { ...prev, [cluster.clusterId]: next };
|
|
@@ -106,7 +130,19 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
106
130
|
useEffect(() => { if (planTabRequest) setTab('plan'); }, [planTabRequest, cluster.clusterId]);
|
|
107
131
|
useEffect(() => { if (membersTabRequest) setTab('members'); }, [membersTabRequest, cluster.clusterId]);
|
|
108
132
|
useEffect(() => { if (tabRequest && TABS.some((t) => t.id === tabRequest.tab)) setTab(tabRequest.tab as SubTab); }, [tabRequest, cluster.clusterId]);
|
|
133
|
+
// docs/RESEARCH.md - a stored BOARD tab becomes RESULTS in a research
|
|
134
|
+
// project, and RESULTS falls back to MEMBERS elsewhere.
|
|
135
|
+
useEffect(() => {
|
|
136
|
+
if (cluster.research && researchHidden(tab, hasGemini)) setTab('results');
|
|
137
|
+
else if (!cluster.research && tab === 'results') setTab('members');
|
|
138
|
+
}, [cluster.research, tab, hasGemini]);
|
|
109
139
|
const [settingsOpen, setSettingsOpen] = useState(false);
|
|
140
|
+
// Mobile view: the panel is one page under the mobile header. The tab rows
|
|
141
|
+
// become a list of pages, and the cluster settings a page of their own.
|
|
142
|
+
const phone = usePhoneLayout();
|
|
143
|
+
const panelIndex = usePhoneStore((st) => st.panelIndex);
|
|
144
|
+
const [phoneSettings, setPhoneSettings] = useState(false);
|
|
145
|
+
useEffect(() => { if (!panelIndex) return; setPhoneSettings(false); }, [panelIndex]);
|
|
110
146
|
useEffect(() => {
|
|
111
147
|
if (voicePanel?.id === cluster.clusterId && TABS.some((t) => t.id === voicePanel.panel)) setTab(voicePanel.panel as SubTab);
|
|
112
148
|
}, [voicePanel, cluster.clusterId]);
|
|
@@ -121,6 +157,17 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
121
157
|
const jobs = useAppStore((s) => s.jobs);
|
|
122
158
|
const wsSendRaw = useAppStore((s) => s.wsSendRaw);
|
|
123
159
|
const activeGroup = groupOf(tab);
|
|
160
|
+
const groups = groupsFor(!!cluster.research, hasGemini);
|
|
161
|
+
useEffect(() => {
|
|
162
|
+
if (phone) usePhoneStore.setState({ pageTitle: panelIndex ? 'ALL PANELS' : phoneSettings ? (cluster.research ? 'PROJECT SETTINGS' : 'CLUSTER SETTINGS') : labelOf(tab) });
|
|
163
|
+
}, [phone, panelIndex, phoneSettings, tab, cluster.research]);
|
|
164
|
+
useEffect(() => { if (tabRequest) setPhoneSettings(false); }, [tabRequest]);
|
|
165
|
+
// Mobile view, MEMBERS page: one row per member; adding, saved clusters and
|
|
166
|
+
// the cluster's name and SAVE STATE come from `+` and `...`.
|
|
167
|
+
const membersPage = phone && !panelIndex && !phoneSettings && tab === 'members';
|
|
168
|
+
const [phoneMembers, setPhoneMembers] = useState<'list' | 'add' | 'saved'>('list');
|
|
169
|
+
const [configMember, setConfigMember] = useState<{ id: string; seq: number } | null>(null);
|
|
170
|
+
useEffect(() => { if (!membersPage) setPhoneMembers('list'); }, [membersPage]);
|
|
124
171
|
|
|
125
172
|
// §10.7 P12.5 — peer→task bridge. Promote a pending peer message into a
|
|
126
173
|
// durable board task via the operator task_ledger_create path (first member is
|
|
@@ -141,7 +188,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
141
188
|
links: [{ kind: 'workflow', ref: fromWorkflowId }],
|
|
142
189
|
});
|
|
143
190
|
};
|
|
144
|
-
const activeGroupTabs =
|
|
191
|
+
const activeGroupTabs = groups.find((g) => g.id === activeGroup)?.tabs ?? [];
|
|
145
192
|
useEffect(() => {
|
|
146
193
|
const el = rootRef.current;
|
|
147
194
|
if (!el || typeof ResizeObserver === 'undefined') return;
|
|
@@ -162,6 +209,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
162
209
|
const [mailboxLoading, setMailboxLoading] = useState(false);
|
|
163
210
|
const [mailboxError, setMailboxError] = useState<string | null>(null);
|
|
164
211
|
const [filesSubTab, setFilesSubTab] = useState<ClusterFilesSubTab>('files');
|
|
212
|
+
useEffect(() => { if (cluster.research && tabRequest?.tab === 'files') setFilesSubTab('files'); }, [tabRequest, cluster.research]);
|
|
165
213
|
useOutputNavigation(cluster.members.map(member => member.workflowId), () => { setTab('files'); setFilesSubTab('outputs'); });
|
|
166
214
|
useWorktreeNavigation(cluster.members.map(member => member.workflowId), () => { setTab('files'); setFilesSubTab('changes'); });
|
|
167
215
|
const selectedDepth = mailboxWfid ? (cluster.mailboxDepth[mailboxWfid] ?? 0) : 0;
|
|
@@ -196,6 +244,22 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
196
244
|
setMailboxError(err instanceof Error ? err.message : String(err));
|
|
197
245
|
}
|
|
198
246
|
};
|
|
247
|
+
// EDIT in the mailbox modal: rewrite a pending message in place. A message
|
|
248
|
+
// already delivered or cancelled is refused with a short reason.
|
|
249
|
+
const onEditMessage = async (msgId: string, content: string): Promise<boolean> => {
|
|
250
|
+
if (!mailboxWfid) return false;
|
|
251
|
+
try {
|
|
252
|
+
const r = await fetch(`/api/clusters/${cluster.clusterId}/mailbox/${mailboxWfid}/${msgId}`, { method: 'PUT', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ content }) });
|
|
253
|
+
const body = await r.json().catch(() => ({})) as { error?: string; message?: string };
|
|
254
|
+
if (!r.ok) { setMailboxError(body.message ?? body.error ?? `edit failed (${r.status})`); return false; }
|
|
255
|
+
setMailboxError(null);
|
|
256
|
+
setMailboxMsgs((prev) => prev?.map((m) => m.msgId === msgId ? { ...m, content } : m) ?? prev);
|
|
257
|
+
return true;
|
|
258
|
+
} catch (err) {
|
|
259
|
+
setMailboxError(err instanceof Error ? err.message : String(err));
|
|
260
|
+
return false;
|
|
261
|
+
}
|
|
262
|
+
};
|
|
199
263
|
// Slice 6a — rename UI lives on the Members tab header. Edit mode toggles
|
|
200
264
|
// an inline input pre-filled with the current effective name.
|
|
201
265
|
const [renameOpen, setRenameOpen] = useState(false);
|
|
@@ -220,6 +284,12 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
220
284
|
useEffect(() => {
|
|
221
285
|
if (!renameOpen) setRenameDraft(cluster.name ?? '');
|
|
222
286
|
}, [cluster.name, renameOpen]);
|
|
287
|
+
const canAdd = cluster.research ? !!onAddResearcher : !!(onAddFreshWorkers || onAddExistingMember);
|
|
288
|
+
usePhonePageActions(membersPage, [
|
|
289
|
+
{ id: 'rename', label: cluster.research ? 'RENAME PROJECT' : 'RENAME CLUSTER', show: !!onRename, onSelect: () => { setPhoneMembers('list'); setRenameDraft(cluster.name ?? ''); setRenameOpen(true); } },
|
|
290
|
+
{ id: 'save', label: 'SAVE STATE', show: !cluster.research, disabled: !anchorWfid, onSelect: () => { setPhoneMembers('list'); setSnapshotDraft(effectiveName); setSnapshotOpen(true); } },
|
|
291
|
+
{ id: 'saved', label: 'SAVED CLUSTERS', show: !cluster.research, onSelect: () => setPhoneMembers('saved') },
|
|
292
|
+
], { subtitle: `${cluster.members.length} ${cluster.members.length === 1 ? 'member' : 'members'}`, primary: canAdd ? { label: cluster.research ? 'Add researcher' : 'Add member', onSelect: () => setPhoneMembers('add') } : null });
|
|
223
293
|
|
|
224
294
|
return (
|
|
225
295
|
<div
|
|
@@ -243,7 +313,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
243
313
|
server caps + suppression invariants live there. The
|
|
244
314
|
efficiency selector rides the same bar. The bar renders when either
|
|
245
315
|
arming surface is wired (both come from the same parent). */}
|
|
246
|
-
{compactSettings && (onToggleIdleNudger || onSetTaskBoardMode || onSetTaskBoardAttached || onSetEfficiency || onSetRemote || onSetProgress) && (() => {
|
|
316
|
+
{!phone && !cluster.research && compactSettings && (onToggleIdleNudger || onSetTaskBoardMode || onSetTaskBoardAttached || onSetEfficiency || onSetRemote || onSetProgress) && (() => {
|
|
247
317
|
// Medium and wide layouts: one summary line; SETTINGS opens the full block.
|
|
248
318
|
const pickupState = autoPickupStateOf(cluster);
|
|
249
319
|
const pickup = `${AUTO_PICKUP_MODE_LABELS[pickupState.mode].chip}${pickupState.paused ? ' - PAUSED' : ''}`;
|
|
@@ -262,7 +332,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
262
332
|
</div>
|
|
263
333
|
);
|
|
264
334
|
})()}
|
|
265
|
-
{(!compactSettings || settingsOpen) && (onToggleIdleNudger || onSetTaskBoardMode || onSetTaskBoardAttached || onSetEfficiency || onSetRemote || onSetProgress) && (
|
|
335
|
+
{(phone ? phoneSettings && !panelIndex : (!!cluster.research || !compactSettings || settingsOpen)) && (onToggleIdleNudger || onSetTaskBoardMode || onSetTaskBoardAttached || onSetEfficiency || onSetRemote || onSetProgress) && (
|
|
266
336
|
<div
|
|
267
337
|
style={{
|
|
268
338
|
display: 'flex',
|
|
@@ -274,7 +344,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
274
344
|
flexWrap: 'wrap',
|
|
275
345
|
}}
|
|
276
346
|
>
|
|
277
|
-
{onToggleIdleNudger && (
|
|
347
|
+
{!cluster.research && onToggleIdleNudger && (
|
|
278
348
|
<>
|
|
279
349
|
<span
|
|
280
350
|
className="display-font"
|
|
@@ -321,13 +391,24 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
321
391
|
{/* AUTO-PICKUP mode chip and dialog. Off, Rule-based and the two
|
|
322
392
|
Smart modes; see AutoPickupControl. Shown where the legacy
|
|
323
393
|
toggle was offered. */}
|
|
324
|
-
{onToggleAutoTurn && <AutoPickupControl cluster={cluster} />}
|
|
394
|
+
{!cluster.research && onToggleAutoTurn && <AutoPickupControl cluster={cluster} />}
|
|
325
395
|
{onSetAutoCompaction && (
|
|
326
|
-
<
|
|
327
|
-
<
|
|
328
|
-
|
|
396
|
+
<div className="arco-field-label">
|
|
397
|
+
<label title="Provider: Claude CLI and Codex compact themselves; Claude Native and Ollama compact automatically near the limit." className="arco-field-label">
|
|
398
|
+
Auto-compaction:
|
|
399
|
+
<select className="arco-field" aria-label="Cluster auto-compaction" aria-describedby={hasGemini ? compactionNoteId : undefined}
|
|
400
|
+
value={cluster.autoCompaction ? (cluster.autoCompaction.enabled ? 'on' : 'off') : 'legacy'}
|
|
401
|
+
onChange={(e) => onSetAutoCompaction(cluster.clusterId, e.target.value === 'legacy' ? null : { enabled: e.target.value === 'on', thresholdPercent: cluster.autoCompaction?.thresholdPercent ?? 80 })}>
|
|
402
|
+
<option value="legacy">Provider</option><option value="off">Off</option><option value="on">On</option>
|
|
403
|
+
</select>
|
|
404
|
+
</label>
|
|
405
|
+
{cluster.autoCompaction && <AutoCompactionThreshold key={`${cluster.clusterId}:${cluster.autoCompaction.enabled}`} label="Cluster auto-compaction threshold percent" value={cluster.autoCompaction.thresholdPercent} onCommit={(thresholdPercent) => onSetAutoCompaction(cluster.clusterId, { ...cluster.autoCompaction!, thresholdPercent })} />}
|
|
406
|
+
{hasGemini && <p id={compactionNoteId} className="arco-field-help" data-help="cluster.gemini-members" style={{ fontSize: 12, color: 'var(--color-fg)' }}>
|
|
407
|
+
Auto-compaction skips {geminiNames}. To compact manually, send <code>/compact</code> in the member's own session.
|
|
408
|
+
</p>}
|
|
409
|
+
</div>
|
|
329
410
|
)}
|
|
330
|
-
{onSetEfficiency && (
|
|
411
|
+
{!cluster.research && onSetEfficiency && (
|
|
331
412
|
<EfficiencyControl
|
|
332
413
|
clusterId={cluster.clusterId}
|
|
333
414
|
level={cluster.efficiencyLevel ?? 'thorough'}
|
|
@@ -339,15 +420,15 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
339
420
|
<SkillsControl cluster={cluster} />
|
|
340
421
|
{/* DD7 — cluster-wide project trust for the pinned cwd. Self-hiding
|
|
341
422
|
when the repo ships nothing the gate suppresses. */}
|
|
342
|
-
<ProjectTrustChip cwd={cluster.cwd} />
|
|
343
|
-
{onSetProgress && (
|
|
423
|
+
{!cluster.research && <ProjectTrustChip cwd={cluster.cwd} />}
|
|
424
|
+
{!cluster.research && onSetProgress && (
|
|
344
425
|
<ProgressControl
|
|
345
426
|
clusterId={cluster.clusterId}
|
|
346
427
|
mode={cluster.progressTracking ?? 'both'}
|
|
347
428
|
onSetProgress={onSetProgress}
|
|
348
429
|
/>
|
|
349
430
|
)}
|
|
350
|
-
{hubConnected && onSetRemote && (
|
|
431
|
+
{!cluster.research && hubConnected && onSetRemote && (
|
|
351
432
|
<button
|
|
352
433
|
className="display-font"
|
|
353
434
|
data-help="cluster.remote"
|
|
@@ -370,7 +451,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
370
451
|
{cluster.remoteEnabled ? '◉ REMOTE' : '◎ REMOTE: OFF'}
|
|
371
452
|
</button>
|
|
372
453
|
)}
|
|
373
|
-
{hubConnected && onSetGates && cluster.remoteEnabled && (
|
|
454
|
+
{!cluster.research && hubConnected && onSetGates && cluster.remoteEnabled && (
|
|
374
455
|
<button
|
|
375
456
|
className="display-font"
|
|
376
457
|
data-help="cluster.remote-gates"
|
|
@@ -393,7 +474,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
393
474
|
{cluster.remoteGatesEnabled ? '⛨ GATES' : '⛨ GATES: DESK'}
|
|
394
475
|
</button>
|
|
395
476
|
)}
|
|
396
|
-
{(onSetTaskBoardMode || onSetTaskBoardAttached) && (
|
|
477
|
+
{!cluster.research && (onSetTaskBoardMode || onSetTaskBoardAttached) && (
|
|
397
478
|
<BoardModeControl
|
|
398
479
|
cluster={cluster}
|
|
399
480
|
onSetMode={onSetTaskBoardMode}
|
|
@@ -411,12 +492,13 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
411
492
|
ref={rootRef}
|
|
412
493
|
className="display-font"
|
|
413
494
|
style={{
|
|
495
|
+
display: phone ? 'none' : undefined,
|
|
414
496
|
borderBottom: '1px solid var(--color-border-hairline)',
|
|
415
497
|
flexShrink: 0,
|
|
416
498
|
}}
|
|
417
499
|
>
|
|
418
500
|
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '2px', padding: '2px 2px 0' }}>
|
|
419
|
-
{
|
|
501
|
+
{groups.map((g) => {
|
|
420
502
|
const active = activeGroup === g.id;
|
|
421
503
|
return (
|
|
422
504
|
<button
|
|
@@ -460,7 +542,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
460
542
|
fontFamily: 'var(--font-display)',
|
|
461
543
|
}}
|
|
462
544
|
>
|
|
463
|
-
{
|
|
545
|
+
{groups.map((g) => (
|
|
464
546
|
<optgroup key={g.id} label={g.label}>
|
|
465
547
|
{g.tabs.map((id) => (
|
|
466
548
|
<option key={id} value={id}>{labelOf(id)}</option>
|
|
@@ -478,6 +560,8 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
478
560
|
? 'cluster.right-panel.members'
|
|
479
561
|
: t === 'mailbox'
|
|
480
562
|
? 'cluster.mailbox'
|
|
563
|
+
: t === 'results'
|
|
564
|
+
? 'research.results'
|
|
481
565
|
: t === 'plan'
|
|
482
566
|
? 'cluster.plan-tab'
|
|
483
567
|
: t === 'board'
|
|
@@ -517,13 +601,36 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
517
601
|
)}
|
|
518
602
|
</div>
|
|
519
603
|
|
|
520
|
-
|
|
604
|
+
{phone && panelIndex && (
|
|
605
|
+
<div data-testid="phone-panel-index" style={{ flex: 1, minHeight: 0, overflowY: 'auto', padding: '4px 0 16px' }}>
|
|
606
|
+
{phoneGroups(groups).map((g) => (
|
|
607
|
+
<div key={g.id}>
|
|
608
|
+
<div className="display-font" style={{ fontSize: '12px', fontWeight: 700, letterSpacing: '1.5px', color: 'var(--color-fg)', padding: '14px 14px 6px' }}>{g.label}</div>
|
|
609
|
+
{g.tabs.map((id) => (
|
|
610
|
+
<button key={id} type="button" data-testid="phone-panel-page" className="display-font"
|
|
611
|
+
onClick={() => { setTab(id); setPhoneSettings(false); usePhoneStore.setState({ panelIndex: false, panelFromIndex: true }); }}
|
|
612
|
+
style={{ display: 'flex', alignItems: 'center', width: '100%', minHeight: '52px', padding: '0 14px', textAlign: 'left', background: tab === id ? 'var(--color-accent-primary-a08)' : 'transparent', border: 0, borderBottom: '1px solid var(--color-border-hairline)', borderRadius: 0, color: 'var(--color-fg)', fontSize: '14px', letterSpacing: '1.5px', cursor: 'pointer' }}>
|
|
613
|
+
<span style={{ flex: 1 }}>{labelOf(id)}</span><span aria-hidden="true" style={{ color: 'var(--color-accent-primary)' }}>{'\u203A'}</span>
|
|
614
|
+
</button>
|
|
615
|
+
))}
|
|
616
|
+
</div>
|
|
617
|
+
))}
|
|
618
|
+
<div className="display-font" style={{ fontSize: '12px', fontWeight: 700, letterSpacing: '1.5px', color: 'var(--color-fg)', padding: '14px 14px 6px' }}>{cluster.research ? 'PROJECT' : 'CLUSTER'}</div>
|
|
619
|
+
<button type="button" data-testid="phone-panel-settings-page" className="display-font"
|
|
620
|
+
onClick={() => { setPhoneSettings(true); usePhoneStore.setState({ panelIndex: false, panelFromIndex: true }); }}
|
|
621
|
+
style={{ display: 'flex', alignItems: 'center', width: '100%', minHeight: '52px', padding: '0 14px', textAlign: 'left', background: 'transparent', border: 0, borderBottom: '1px solid var(--color-border-hairline)', borderRadius: 0, color: 'var(--color-fg)', fontSize: '14px', letterSpacing: '1.5px', cursor: 'pointer' }}>
|
|
622
|
+
<span style={{ flex: 1 }}>SETTINGS</span><span aria-hidden="true" style={{ color: 'var(--color-accent-primary)' }}>{'\u203A'}</span>
|
|
623
|
+
</button>
|
|
624
|
+
</div>
|
|
625
|
+
)}
|
|
626
|
+
<PhonePageVisible.Provider value={!(phone && (panelIndex || phoneSettings))}>
|
|
627
|
+
<div style={{ flex: 1, minHeight: 0, overflowY: 'auto', padding: '12px', ...(tab === 'preview' ? { display: 'flex', flexDirection: 'column' } : {}), ...(phone && (panelIndex || phoneSettings) ? { display: 'none' } : {}) }}>
|
|
521
628
|
{tab === 'members' && (
|
|
522
629
|
<div style={{ display: 'flex', flexDirection: 'column', gap: '6px' }}>
|
|
523
630
|
{/* Slice 6a — cluster name + rename affordance. Click the
|
|
524
631
|
pencil to edit; ↵ commits, Esc cancels, empty input clears
|
|
525
|
-
to the derived default. */}
|
|
526
|
-
<div
|
|
632
|
+
to the derived default. Mobile view: reached from `...`. */}
|
|
633
|
+
{(!membersPage || renameOpen) && <div
|
|
527
634
|
data-help="cluster.rename"
|
|
528
635
|
style={{
|
|
529
636
|
display: 'flex',
|
|
@@ -624,7 +731,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
624
731
|
RENAME
|
|
625
732
|
</button>
|
|
626
733
|
)}
|
|
627
|
-
<button
|
|
734
|
+
{!cluster.research && <button
|
|
628
735
|
onClick={() => { setSnapshotDraft(effectiveName); setSnapshotOpen(true); }}
|
|
629
736
|
disabled={!anchorWfid}
|
|
630
737
|
data-help="cluster.save-state"
|
|
@@ -643,10 +750,10 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
643
750
|
}}
|
|
644
751
|
>
|
|
645
752
|
SAVE STATE
|
|
646
|
-
</button>
|
|
753
|
+
</button>}
|
|
647
754
|
</>
|
|
648
755
|
)}
|
|
649
|
-
</div>
|
|
756
|
+
</div>}
|
|
650
757
|
{/* SAVE STATE — inline name input. Shares the RENAME affordance
|
|
651
758
|
shape: ↵ commits, Esc cancels, ≤64 chars (server re-validates +
|
|
652
759
|
fences uniqueness). */}
|
|
@@ -736,14 +843,39 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
736
843
|
</button>
|
|
737
844
|
</div>
|
|
738
845
|
)}
|
|
739
|
-
{
|
|
846
|
+
{membersPage && phoneMembers !== 'list' && (
|
|
847
|
+
<button type="button" data-testid="phone-members-done" className="display-font" onClick={() => setPhoneMembers('list')}
|
|
848
|
+
style={{ alignSelf: 'flex-start', padding: '0 14px', background: 'transparent', border: '1px solid var(--color-border-hairline)', color: 'var(--color-fg)', fontSize: '13px', letterSpacing: '1px', cursor: 'pointer' }}>{'\u2039'} MEMBERS</button>
|
|
849
|
+
)}
|
|
850
|
+
{(!membersPage || phoneMembers === 'add') && cluster.research && onAddResearcher && <AddResearcherSection research={cluster.research} onAdd={(request) => onAddResearcher(cluster.clusterId, request)} />}
|
|
851
|
+
{(!membersPage || phoneMembers === 'add') && !cluster.research && (onAddFreshWorkers || onAddExistingMember) && (
|
|
740
852
|
<AddWorkerSection
|
|
741
853
|
cluster={cluster}
|
|
742
854
|
onAddFresh={onAddFreshWorkers}
|
|
743
855
|
onAddExisting={onAddExistingMember}
|
|
744
856
|
/>
|
|
745
857
|
)}
|
|
746
|
-
{
|
|
858
|
+
{membersPage && phoneMembers === 'list' && (
|
|
859
|
+
<PhoneMemberList
|
|
860
|
+
cluster={cluster}
|
|
861
|
+
nameOf={(id) => jobs[id]?.config.name?.toUpperCase() ?? id.slice(0, 8)}
|
|
862
|
+
onOpenConversation={onFocusMember}
|
|
863
|
+
onOpenConfig={(id) => { setConfigMember({ id, seq: Date.now() }); setTab('config'); }}
|
|
864
|
+
renderManage={(m) => (
|
|
865
|
+
<MemberRow
|
|
866
|
+
cluster={cluster}
|
|
867
|
+
member={m}
|
|
868
|
+
memberName={jobs[m.workflowId]?.config.name?.toUpperCase() ?? m.workflowId.slice(0, 8)}
|
|
869
|
+
onSetRole={onSetMemberRole}
|
|
870
|
+
onSetTier={onSetMemberTier}
|
|
871
|
+
onSetFocus={onSetMemberFocus}
|
|
872
|
+
onDetach={onDetachMember}
|
|
873
|
+
onRemoveResearcher={onRemoveResearcher}
|
|
874
|
+
/>
|
|
875
|
+
)}
|
|
876
|
+
/>
|
|
877
|
+
)}
|
|
878
|
+
{!membersPage && cluster.members.map((m) => (
|
|
747
879
|
<MemberRow
|
|
748
880
|
key={m.workflowId}
|
|
749
881
|
cluster={cluster}
|
|
@@ -754,6 +886,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
754
886
|
onSetTier={onSetMemberTier}
|
|
755
887
|
onSetFocus={onSetMemberFocus}
|
|
756
888
|
onDetach={onDetachMember}
|
|
889
|
+
onRemoveResearcher={onRemoveResearcher}
|
|
757
890
|
/>
|
|
758
891
|
))}
|
|
759
892
|
{/* SAVED CLUSTERS — restore a previously captured snapshot as a
|
|
@@ -761,9 +894,9 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
761
894
|
broadcast, so the new cluster tab opens with members + full
|
|
762
895
|
history replayed. No targetCwd here → restores into the
|
|
763
896
|
snapshot's original cwd. */}
|
|
764
|
-
<div style={{ marginTop: '12px', paddingTop: '10px', borderTop: '1px solid var(--color-border-hairline)' }}>
|
|
897
|
+
{!cluster.research && (!membersPage || phoneMembers === 'saved') && <div style={{ marginTop: '12px', paddingTop: '10px', borderTop: '1px solid var(--color-border-hairline)' }}>
|
|
765
898
|
<SavedClustersList scopeCwd={cluster.cwd} />
|
|
766
|
-
</div>
|
|
899
|
+
</div>}
|
|
767
900
|
</div>
|
|
768
901
|
)}
|
|
769
902
|
|
|
@@ -809,11 +942,17 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
809
942
|
</button>
|
|
810
943
|
);
|
|
811
944
|
})}
|
|
812
|
-
<div style={{ marginTop: '8px', fontSize: '10px', color: 'var(--color-fg-muted)' }}>
|
|
945
|
+
{!phone && <div style={{ marginTop: '8px', fontSize: '10px', color: 'var(--color-fg-muted)' }}>
|
|
813
946
|
Click a row with pending mail to inspect / cancel undelivered
|
|
814
947
|
messages. Drain destroys files; the durable record lives in
|
|
815
948
|
each member's events.jsonl.
|
|
816
|
-
</div>
|
|
949
|
+
</div>}
|
|
950
|
+
{/* Mobile view: the help sentence is behind an info row. */}
|
|
951
|
+
{phone && <details style={{ fontSize: '14px', color: 'var(--color-fg-muted)' }}>
|
|
952
|
+
<summary className="display-font" style={{ minHeight: '44px', display: 'flex', alignItems: 'center', fontSize: '12px', letterSpacing: '1px', cursor: 'pointer' }}>ABOUT THE MAILBOX</summary>
|
|
953
|
+
Tap a member with waiting mail to read or cancel messages that are not delivered yet.
|
|
954
|
+
The durable record stays in each member's events.jsonl.
|
|
955
|
+
</details>}
|
|
817
956
|
</div>
|
|
818
957
|
)}
|
|
819
958
|
{mailboxWfid && (
|
|
@@ -825,6 +964,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
825
964
|
error={mailboxError}
|
|
826
965
|
onClose={() => { setMailboxWfid(null); setMailboxMsgs(null); setMailboxError(null); }}
|
|
827
966
|
onCancel={onCancelMessage}
|
|
967
|
+
onEdit={onEditMessage}
|
|
828
968
|
onMakeTask={cluster.taskBoardMode !== 'none' && wsSendRaw ? onMakeTaskFromMessage : undefined}
|
|
829
969
|
/>
|
|
830
970
|
)}
|
|
@@ -858,6 +998,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
858
998
|
<DetachedBoardPanel cluster={cluster} onSetMode={onSetTaskBoardMode} onAttach={onSetTaskBoardAttached} />
|
|
859
999
|
)
|
|
860
1000
|
)}
|
|
1001
|
+
{tab === 'results' && cluster.research && <ResearchResultsTab clusterId={cluster.clusterId} research={cluster.research} />}
|
|
861
1002
|
{tab === 'activity' && <ClusterActivityTab cluster={cluster} />}
|
|
862
1003
|
{tab === 'reviews' && <ClusterReviewsList cluster={cluster} onCancelReview={onCancelReview} />}
|
|
863
1004
|
{tab === 'handoffs' && <ClusterHandoffsTab cluster={cluster} onCancelHandoff={onCancelHandoff} onClearHandoffLock={onClearHandoffLock} />}
|
|
@@ -872,10 +1013,11 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
872
1013
|
covers every member. */}
|
|
873
1014
|
{tab === 'history' && <ClusterAnchoredHistory cluster={cluster} />}
|
|
874
1015
|
{tab === 'preview' && <ClusterAnchoredPreview cluster={cluster} />}
|
|
875
|
-
{tab === 'usage' && <ProjectUsageTab cwd={cluster.cwd} note="Covers every conversation saved in this project folder, all members included." />}
|
|
1016
|
+
{tab === 'usage' && <ProjectUsageTab cwd={cluster.cwd} note="Covers every conversation saved in this project folder, all members included." scratchMembers={cluster.research ? undefined : cluster.members.map((member) => ({ id: member.workflowId, name: member.displayName }))} />}
|
|
876
1017
|
{tab === 'config' && (
|
|
877
1018
|
<ClusterConfigTab
|
|
878
1019
|
cluster={cluster}
|
|
1020
|
+
requested={configMember}
|
|
879
1021
|
onUpdateMemberPrimary={onUpdateMemberPrimary}
|
|
880
1022
|
onAttachCodebaseMemory={onAttachCodebaseMemory}
|
|
881
1023
|
onDetachCodebaseMemory={onDetachCodebaseMemory}
|
|
@@ -883,6 +1025,7 @@ export function ClusterRightPanel({ cluster, compactSettings = false, tabRequest
|
|
|
883
1025
|
/>
|
|
884
1026
|
)}
|
|
885
1027
|
</div>
|
|
1028
|
+
</PhonePageVisible.Provider>
|
|
886
1029
|
</div>
|
|
887
1030
|
);
|
|
888
1031
|
}
|
|
@@ -1027,9 +1170,12 @@ function ClusterConfigTab({
|
|
|
1027
1170
|
onAttachCodebaseMemory,
|
|
1028
1171
|
onDetachCodebaseMemory,
|
|
1029
1172
|
mcp,
|
|
1030
|
-
|
|
1173
|
+
requested,
|
|
1174
|
+
}: Pick<Props, 'cluster' | 'onUpdateMemberPrimary' | 'onAttachCodebaseMemory' | 'onDetachCodebaseMemory' | 'mcp'> & { requested?: { id: string; seq: number } | null }) {
|
|
1031
1175
|
const jobs = useAppStore((s) => s.jobs);
|
|
1032
|
-
const [selectedWfid, setSelectedWfid] = useState<string>('');
|
|
1176
|
+
const [selectedWfid, setSelectedWfid] = useState<string>(requested?.id ?? '');
|
|
1177
|
+
// Mobile view: a member's sheet opens CONFIG on that member.
|
|
1178
|
+
useEffect(() => { if (requested) setSelectedWfid(requested.id); }, [requested]);
|
|
1033
1179
|
const available = cluster.members.filter((m) => jobs[m.workflowId]);
|
|
1034
1180
|
const effectiveWfid = available.some((m) => m.workflowId === selectedWfid)
|
|
1035
1181
|
? selectedWfid
|
|
@@ -1086,6 +1232,7 @@ function ClusterConfigTab({
|
|
|
1086
1232
|
</div>
|
|
1087
1233
|
<ConfigTab
|
|
1088
1234
|
job={job}
|
|
1235
|
+
hideCwd={!!cluster.research}
|
|
1089
1236
|
onUpdatePrimary={onUpdateMemberPrimary
|
|
1090
1237
|
? (update) => onUpdateMemberPrimary(effectiveWfid, update)
|
|
1091
1238
|
: undefined}
|
|
@@ -1108,11 +1255,13 @@ function useMemberInView(cluster: ClusterStatePayload) {
|
|
|
1108
1255
|
// another member (the same as clicking its card).
|
|
1109
1256
|
function MemberInViewHeader({ cluster, memberId, what }: { cluster: ClusterStatePayload; memberId: string; what: string }) {
|
|
1110
1257
|
const setFocused = useAppStore((s) => s.setClusterFocusedMember);
|
|
1258
|
+
// Mobile view: the member picker is the page's first line, full width.
|
|
1259
|
+
const phone = usePhoneLayout();
|
|
1111
1260
|
return (
|
|
1112
|
-
<label data-help="cluster.right-panel.member-in-view" style={{ display: 'flex', alignItems: 'center', gap: '6px', padding: '4px 8px', fontSize: '10px', letterSpacing: '1px', color: 'var(--color-fg-muted)' }} className="display-font">
|
|
1113
|
-
{what} OF
|
|
1261
|
+
<label data-help="cluster.right-panel.member-in-view" style={{ display: 'flex', alignItems: 'center', gap: '6px', padding: phone ? '0 0 8px' : '4px 8px', fontSize: phone ? '12px' : '10px', letterSpacing: '1px', color: 'var(--color-fg-muted)' }} className="display-font">
|
|
1262
|
+
{phone ? 'MEMBER' : `${what} OF`}
|
|
1114
1263
|
<select aria-label={`${what} of member`} value={memberId} onChange={(e) => setFocused(cluster.clusterId, e.target.value)}
|
|
1115
|
-
style={{ background: 'var(--color-bg-sunken)', color: 'var(--color-accent-primary)', border: '1px solid var(--color-border-hairline)', fontSize: '11px', padding: '1px 4px' }}>
|
|
1264
|
+
style={{ background: 'var(--color-bg-sunken)', color: 'var(--color-accent-primary)', border: '1px solid var(--color-border-hairline)', fontSize: phone ? '15px' : '11px', padding: phone ? '0 8px' : '1px 4px', ...(phone ? { flex: 1, minWidth: 0, minHeight: '44px' } : {}) }}>
|
|
1116
1265
|
{cluster.members.map((m) => (
|
|
1117
1266
|
<option key={m.workflowId} value={m.workflowId}>{m.displayName || m.workflowId.slice(0, 8)}{m.role ? ` (${m.role})` : ''}</option>
|
|
1118
1267
|
))}
|
|
@@ -32,9 +32,9 @@ export function memberSettingsFrom(
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// Which settings apply to a provider: fast mode and the tool-result filter
|
|
35
|
-
// are Claude settings;
|
|
35
|
+
// are Claude settings; Antigravity does not apply the output style.
|
|
36
36
|
export function memberSettingsShown(provider: ClusterMemberProvider): { fastMode: boolean; toolFilter: boolean; outputStyle: boolean } {
|
|
37
|
-
return { fastMode: provider === 'claude', toolFilter: provider === 'claude', outputStyle:
|
|
37
|
+
return { fastMode: provider === 'claude', toolFilter: provider === 'claude', outputStyle: provider !== 'antigravity-cli' };
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
// The request fields. A setting the provider does not use is sent as off, so
|
|
@@ -3,6 +3,7 @@ import type { SubTab } from './types';
|
|
|
3
3
|
export const CLUSTER_PANELS: { id: SubTab; label: string }[] = [
|
|
4
4
|
{ id: 'members', label: 'MEMBERS' },
|
|
5
5
|
{ id: 'files', label: 'FILES' },
|
|
6
|
+
{ id: 'results', label: 'RESULTS' },
|
|
6
7
|
{ id: 'activity', label: 'ACTIVITY' },
|
|
7
8
|
{ id: 'reviews', label: 'REVIEWS' },
|
|
8
9
|
{ id: 'handoffs', label: 'HANDOFFS' },
|
|
@@ -61,6 +61,8 @@ export type ClusterMemberPrimaryUpdate = {
|
|
|
61
61
|
// surface. GITHUB / FILES take only the cwd and so are pure cluster ops.
|
|
62
62
|
export type SubTab =
|
|
63
63
|
| 'members'
|
|
64
|
+
// docs/RESEARCH.md - research projects only.
|
|
65
|
+
| 'results'
|
|
64
66
|
| 'mailbox'
|
|
65
67
|
| 'plan'
|
|
66
68
|
// §D3 — kanban view over the cluster cwd's task ledger. Sits next to PLAN
|
|
@@ -113,7 +115,7 @@ export interface Props {
|
|
|
113
115
|
onAddFreshWorkers?: (
|
|
114
116
|
clusterId: string,
|
|
115
117
|
count: number,
|
|
116
|
-
opts?: { provider?: ClusterMemberProvider; model?: string; effort?: string; providerAccountRef?: string; accessMode?: import('@arco/shared').ClusterMemberAccessMode; name?: string; role?: string } & import('@arco/shared').ClusterMemberTuning,
|
|
118
|
+
opts?: { provider?: ClusterMemberProvider; model?: string; effort?: string; providerAccountRef?: string; accessMode?: import('@arco/shared').ClusterMemberAccessMode; name?: string; role?: string; webAccess?: boolean; claudeTransport?: 'native' | 'cli' } & import('@arco/shared').ClusterMemberTuning,
|
|
117
119
|
) => void;
|
|
118
120
|
onAddExistingMember?: (clusterId: string, workflowId: string) => void;
|
|
119
121
|
// Phase 2.6 — shared cluster plan + per-member role editors.
|
|
@@ -132,6 +134,8 @@ export interface Props {
|
|
|
132
134
|
// bottom-row × on the tab bar). Same wire (`cluster_member_remove`);
|
|
133
135
|
// guarded by window.confirm at the call site.
|
|
134
136
|
onDetachMember?: (clusterId: string, workflowId: string) => void;
|
|
137
|
+
onAddResearcher?: (clusterId: string, request: import('../research/AddResearcherSection').ResearcherAddRequest) => void;
|
|
138
|
+
onRemoveResearcher?: (clusterId: string, letter: string, moveUnsent: boolean) => void;
|
|
135
139
|
// Phase 5 — operator-armed idle-nudger toggle. The chip in the cluster
|
|
136
140
|
// header makes the armed state visible at all times so it's never
|
|
137
141
|
// invisible (autonomy-test answer #4: reversibility surfaced).
|