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.
Files changed (768) hide show
  1. package/CONTRIBUTING.md +14 -12
  2. package/README.md +5 -3
  3. package/client/dist/THIRD_PARTY_LICENSES.txt +3912 -0
  4. package/client/dist/assets/{PhosphorBackdrop-DRu16-Is.js → PhosphorBackdrop-BbR3xmfD.js} +1 -1
  5. package/client/dist/assets/{ThemedBackgroundShaderImpl-BLdwwQ4D.js → ThemedBackgroundShaderImpl-UMjbs9ZN.js} +1 -1
  6. package/client/dist/assets/XtermView-n135qz-f.js +10 -0
  7. package/client/dist/assets/{galleryEditor-CI8ClzBa.js → galleryEditor-CFSke4by.js} +1 -1
  8. package/client/dist/assets/index-CVJVD2Vn.css +1 -0
  9. package/client/dist/assets/index-DeoJbjI3.js +638 -0
  10. package/client/dist/index.html +3 -3
  11. package/client/src/App.tsx +42 -9
  12. package/client/src/components/AskUserQuestionNotice.tsx +37 -10
  13. package/client/src/components/AttachmentPill.tsx +3 -2
  14. package/client/src/components/AuthReloginNotice.tsx +25 -6
  15. package/client/src/components/AutomaticMessage.tsx +3 -1
  16. package/client/src/components/CatchMeUp.tsx +4 -1
  17. package/client/src/components/ChatMessage.tsx +43 -5
  18. package/client/src/components/ChatModeView.tsx +20 -4
  19. package/client/src/components/ChatPanel.tsx +5 -0
  20. package/client/src/components/ClusterActivityTab.tsx +9 -3
  21. package/client/src/components/ClusterComposerButtons.tsx +5 -3
  22. package/client/src/components/ClusterPlanTab.tsx +55 -8
  23. package/client/src/components/ClusterRightPanel/AddWorkerSection.tsx +38 -99
  24. package/client/src/components/ClusterRightPanel/AutoPickupControl.tsx +36 -12
  25. package/client/src/components/ClusterRightPanel/MailboxModal.tsx +61 -8
  26. package/client/src/components/ClusterRightPanel/MemberRow.tsx +46 -14
  27. package/client/src/components/ClusterRightPanel/PhoneMemberList.tsx +56 -0
  28. package/client/src/components/ClusterRightPanel/ReplaceMemberDialog.tsx +38 -9
  29. package/client/src/components/ClusterRightPanel/SkillsControl.tsx +6 -5
  30. package/client/src/components/ClusterRightPanel/index.tsx +188 -39
  31. package/client/src/components/ClusterRightPanel/memberSettings.ts +2 -2
  32. package/client/src/components/ClusterRightPanel/panels.ts +1 -0
  33. package/client/src/components/ClusterRightPanel/types.ts +5 -1
  34. package/client/src/components/ClusterRightPanel/useFreshMemberPicker.ts +82 -0
  35. package/client/src/components/ClusterTab.tsx +76 -23
  36. package/client/src/components/ClusterTaskBoardTab.tsx +35 -6
  37. package/client/src/components/Connections/Connections.tsx +5 -8
  38. package/client/src/components/Connections/model.ts +2 -2
  39. package/client/src/components/DialogShell.tsx +4 -0
  40. package/client/src/components/DirectorContinuePrompt.tsx +56 -0
  41. package/client/src/components/FileExplorer.tsx +54 -1
  42. package/client/src/components/FileViewerModal.tsx +39 -7
  43. package/client/src/components/FirstRun.tsx +3 -2
  44. package/client/src/components/ForwardMessages.tsx +6 -3
  45. package/client/src/components/GateApprovalNotice.tsx +7 -4
  46. package/client/src/components/GeminiSkillNotice.tsx +12 -0
  47. package/client/src/components/GeminiSubagentLine.tsx +5 -0
  48. package/client/src/components/GitDialog.tsx +15 -6
  49. package/client/src/components/GitOtherWork.tsx +2 -1
  50. package/client/src/components/HandoffDialog.tsx +3 -2
  51. package/client/src/components/HeaderVersionBox.tsx +6 -4
  52. package/client/src/components/HistoryTab.tsx +127 -108
  53. package/client/src/components/Home/HomeView.tsx +14 -3
  54. package/client/src/components/Home/ResearchLibrary.tsx +107 -0
  55. package/client/src/components/Home/home.css +6 -0
  56. package/client/src/components/LoginFlow.tsx +12 -5
  57. package/client/src/components/MemberCard.tsx +8 -2
  58. package/client/src/components/MemberPane.tsx +12 -4
  59. package/client/src/components/MobileNotices.tsx +26 -0
  60. package/client/src/components/MobileQuestionBar.tsx +35 -0
  61. package/client/src/components/MobileShell.tsx +811 -0
  62. package/client/src/components/MobileTextSize.tsx +27 -0
  63. package/client/src/components/NativeSubagentControls.tsx +12 -1
  64. package/client/src/components/NorthStarBar.tsx +2 -0
  65. package/client/src/components/NotificationToasts.tsx +6 -2
  66. package/client/src/components/OperatorQuestionNotice.tsx +2 -2
  67. package/client/src/components/PendingQuestionsButton.tsx +44 -5
  68. package/client/src/components/PhoneUpload.tsx +4 -2
  69. package/client/src/components/PlanComposerDialog.tsx +7 -7
  70. package/client/src/components/ProjectsSettings.tsx +3 -0
  71. package/client/src/components/ProvidersPopover.tsx +9 -6
  72. package/client/src/components/PurgeConversationModal.tsx +1 -1
  73. package/client/src/components/QueuedMessagesIndicator.tsx +1 -1
  74. package/client/src/components/Recall/RecallView.tsx +31 -8
  75. package/client/src/components/ResearchFolderSetting.tsx +64 -0
  76. package/client/src/components/RightPanel/ActivityTab.tsx +9 -4
  77. package/client/src/components/RightPanel/BlastRadiusTab.tsx +6 -8
  78. package/client/src/components/RightPanel/ConfigTab.tsx +18 -10
  79. package/client/src/components/RightPanel/FilesTab.tsx +34 -19
  80. package/client/src/components/RightPanel/PlanTab.tsx +67 -24
  81. package/client/src/components/RightPanel/UsageTab.tsx +30 -3
  82. package/client/src/components/RightPanel/index.tsx +42 -3
  83. package/client/src/components/RuntimeStateBanner.tsx +8 -0
  84. package/client/src/components/ScratchCloseDialog.tsx +124 -0
  85. package/client/src/components/SettingsPanel.tsx +221 -71
  86. package/client/src/components/SkillActivityIndicator.tsx +93 -0
  87. package/client/src/components/SystemHeader.tsx +2 -7
  88. package/client/src/components/SystemModal.tsx +37 -45
  89. package/client/src/components/TabBar.tsx +52 -8
  90. package/client/src/components/TabContextMenu.tsx +12 -102
  91. package/client/src/components/TaskCard.tsx +13 -17
  92. package/client/src/components/TaskChildComposer.tsx +24 -0
  93. package/client/src/components/TasksPanel.tsx +7 -17
  94. package/client/src/components/Terminal/FloatingTerminalWindow.tsx +11 -3
  95. package/client/src/components/Terminal/FloatingWindow.tsx +36 -14
  96. package/client/src/components/Terminal/XtermView.tsx +19 -2
  97. package/client/src/components/Terminal/phoneKeys.ts +9 -0
  98. package/client/src/components/TerminalInput.tsx +149 -32
  99. package/client/src/components/TranscriptWorkerDialog.tsx +2 -2
  100. package/client/src/components/UpdateAction.tsx +9 -6
  101. package/client/src/components/UsageBar.tsx +118 -10
  102. package/client/src/components/UserManual/MobileManualContent.tsx +58 -0
  103. package/client/src/components/WorkflowCreator/ClusterMembersSection.tsx +8 -5
  104. package/client/src/components/WorkflowCreator/PastChatsList.tsx +3 -1
  105. package/client/src/components/WorkflowCreator/ProjectPicker.tsx +3 -3
  106. package/client/src/components/WorkflowCreator/ResearchStartForm.tsx +335 -0
  107. package/client/src/components/WorkflowCreator/index.tsx +124 -36
  108. package/client/src/components/WorkflowCreator/memberProviders.ts +20 -5
  109. package/client/src/components/WorkflowCreator/pendingTemplateApply.ts +20 -0
  110. package/client/src/components/WorkflowCreator/types.ts +18 -0
  111. package/client/src/components/WorkflowStatusChip.tsx +1 -0
  112. package/client/src/components/WorkflowView.tsx +51 -13
  113. package/client/src/components/chatMessageLabel.ts +4 -0
  114. package/client/src/components/clusterActivity.helpers.ts +5 -1
  115. package/client/src/components/clusterNeedsYou.ts +3 -8
  116. package/client/src/components/clusterSurface.helpers.ts +6 -1
  117. package/client/src/components/composer/submitComposer.ts +7 -1
  118. package/client/src/components/help/HelpBanner.tsx +10 -5
  119. package/client/src/components/help/HelpPopover.tsx +5 -0
  120. package/client/src/components/media/MediaModalHost.tsx +13 -8
  121. package/client/src/components/plans/PhonePlanView.tsx +66 -0
  122. package/client/src/components/plans/phonePlanChecklist.ts +45 -0
  123. package/client/src/components/providerIndicator.ts +83 -0
  124. package/client/src/components/research/AddResearcherSection.tsx +50 -0
  125. package/client/src/components/research/ExportResearchDialog.tsx +52 -0
  126. package/client/src/components/research/QuickResearchOverview.tsx +92 -0
  127. package/client/src/components/research/RerunResearchDialog.tsx +61 -0
  128. package/client/src/components/research/ResearchCloseDialog.tsx +98 -0
  129. package/client/src/components/research/ResearchRemoveDialog.tsx +37 -0
  130. package/client/src/components/research/ResearchReopenDialog.tsx +160 -0
  131. package/client/src/components/research/ResearchResultsTab.css +289 -0
  132. package/client/src/components/research/ResearchResultsTab.tsx +207 -0
  133. package/client/src/components/research/ResearchRoundsStrip.tsx +127 -0
  134. package/client/src/components/research/SavedQuickKeep.tsx +58 -0
  135. package/client/src/components/research/SendResearchDialog.tsx +126 -0
  136. package/client/src/components/research/StartResearchProjectDialog.tsx +108 -0
  137. package/client/src/components/research/researchExports.ts +26 -0
  138. package/client/src/components/research/researchLinks.tsx +30 -0
  139. package/client/src/components/research/researchView.ts +64 -0
  140. package/client/src/components/research/researcherRow.tsx +104 -0
  141. package/client/src/components/settings/AppVersionSection.tsx +4 -2
  142. package/client/src/components/settings/SettingsLayout.tsx +23 -4
  143. package/client/src/components/settings/navigation.ts +4 -4
  144. package/client/src/components/settings/settings.css +18 -0
  145. package/client/src/components/usageVisibility.ts +4 -6
  146. package/client/src/components/workSurface/WorkSurfaceControls.tsx +7 -0
  147. package/client/src/explorer/StorageLens.tsx +10 -3
  148. package/client/src/help/content/chat.tsx +5 -8
  149. package/client/src/help/content/cluster.tsx +70 -30
  150. package/client/src/help/content/composer.tsx +13 -8
  151. package/client/src/help/content/header.tsx +18 -24
  152. package/client/src/help/content/media.tsx +2 -2
  153. package/client/src/help/content/misc.tsx +174 -38
  154. package/client/src/help/content/recall.tsx +2 -2
  155. package/client/src/help/content/rightPanel.tsx +8 -8
  156. package/client/src/help/content/settings.tsx +56 -17
  157. package/client/src/help/content/tabbar.tsx +6 -2
  158. package/client/src/help/manualSections/actions.tsx +7 -2
  159. package/client/src/help/manualSections/chat.tsx +16 -15
  160. package/client/src/help/manualSections/clusters.tsx +348 -69
  161. package/client/src/help/manualSections/configuration.tsx +27 -18
  162. package/client/src/help/manualSections/deepseek.tsx +4 -5
  163. package/client/src/help/manualSections/gettingStarted.tsx +30 -26
  164. package/client/src/help/manualSections/maintenance.tsx +16 -8
  165. package/client/src/help/manualSections/plans.tsx +4 -4
  166. package/client/src/help/manualSections/powerFeatures.tsx +51 -18
  167. package/client/src/help/manualSections/providers.tsx +56 -21
  168. package/client/src/help/manualSections/reference.tsx +6 -6
  169. package/client/src/help/manualSections/strata.tsx +8 -8
  170. package/client/src/help/manualSections/workflows.tsx +3 -3
  171. package/client/src/help/manualSections/workspace.tsx +115 -39
  172. package/client/src/hooks/useWebSocket.ts +21 -4
  173. package/client/src/layout/PhoneBottomSheet.tsx +71 -0
  174. package/client/src/layout/PhonePage.tsx +71 -0
  175. package/client/src/layout/SlideOut.tsx +36 -9
  176. package/client/src/layout/layoutRange.ts +41 -4
  177. package/client/src/layout/phoneChip.ts +14 -0
  178. package/client/src/layout/phoneOverlay.ts +81 -0
  179. package/client/src/layout/phonePageActions.ts +40 -0
  180. package/client/src/stores/appStore.ts +36 -10
  181. package/client/src/stores/appStore.types.ts +29 -3
  182. package/client/src/stores/appUpdateStore.ts +7 -1
  183. package/client/src/stores/directorContinueStore.ts +22 -0
  184. package/client/src/stores/draftStore.ts +56 -2
  185. package/client/src/stores/phoneStore.ts +196 -0
  186. package/client/src/stores/terminalStore.ts +8 -0
  187. package/client/src/styles/contextual-help.css +10 -0
  188. package/client/src/styles/global.css +293 -0
  189. package/client/src/themes/apply.ts +9 -1
  190. package/client/src/themes/bootstrap.ts +21 -1
  191. package/client/src/themes/providerThemes.ts +1 -0
  192. package/client/src/utils/codexAccountHome.ts +9 -0
  193. package/client/src/utils/format.ts +8 -2
  194. package/client/src/utils/gitBranchMark.ts +3 -0
  195. package/client/src/utils/homeModel.ts +7 -0
  196. package/client/src/utils/longPress.ts +64 -0
  197. package/client/src/utils/modelCatalog.ts +4 -0
  198. package/client/src/utils/providerStatusCheck.ts +30 -0
  199. package/client/src/utils/startupGate.ts +6 -0
  200. package/client/src/ws/handleServerMessage.ts +106 -7
  201. package/docs/ARCHITECTURE.md +63 -37
  202. package/docs/ARCHITECTURE_REVIEW.md +1 -1
  203. package/docs/BACKUP.md +60 -9
  204. package/docs/CHAT.md +15 -11
  205. package/docs/CHECKPOINTS.md +2 -0
  206. package/docs/CLIENT.md +70 -36
  207. package/docs/DEEPSEEK.md +9 -10
  208. package/docs/DIAGNOSTICS.md +8 -7
  209. package/docs/DOCKER.md +16 -2
  210. package/docs/EXTENDING.md +10 -26
  211. package/docs/FEATURES.md +23 -15
  212. package/docs/GENESIS.md +3 -1
  213. package/docs/GETTING_STARTED.md +82 -16
  214. package/docs/GIT_WORKBENCH.md +5 -5
  215. package/docs/GLOSSARY.md +36 -23
  216. package/docs/GOTCHAS.md +102 -67
  217. package/docs/HTTP_API.md +183 -87
  218. package/docs/INDEX.md +1 -0
  219. package/docs/KNOWLEDGE.md +2 -2
  220. package/docs/LOCAL_SERVICES.md +9 -8
  221. package/docs/MCP_REGISTRY.md +18 -13
  222. package/docs/MEDIA_STUDIO.md +7 -11
  223. package/docs/OPERATIONS.md +117 -32
  224. package/docs/OPERATOR_ACTIONS.md +24 -22
  225. package/docs/PERSISTENCE.md +65 -24
  226. package/docs/PHOSPHOR_DEMO.md +1 -4
  227. package/docs/PLAN_OR_BOARD.md +2 -2
  228. package/docs/PRIMITIVES.md +17 -17
  229. package/docs/PROTOCOL.md +61 -10
  230. package/docs/PROTOCOL_CLUSTER.md +92 -22
  231. package/docs/PROTOCOL_PRIMITIVES.md +10 -4
  232. package/docs/PROVIDERS.md +291 -145
  233. package/docs/RECALL.md +40 -31
  234. package/docs/REMOTE_MANAGEMENT.md +27 -51
  235. package/docs/REPO_LAYOUT.md +4 -3
  236. package/docs/RESEARCH.md +189 -0
  237. package/docs/RESUME_INDEX.md +10 -19
  238. package/docs/SERVICE_MODE.md +11 -5
  239. package/docs/SETTINGS.md +25 -16
  240. package/docs/STORAGE_PLAN.md +3 -3
  241. package/docs/STRATA.md +14 -11
  242. package/docs/TASK_LEDGER.md +19 -8
  243. package/docs/TERMINAL.md +14 -10
  244. package/docs/THIRD_PARTY.md +21 -4
  245. package/docs/VOICE.md +16 -28
  246. package/native/linux-arm64/manifest.json +1 -1
  247. package/node_modules/@arco/shared/dist/clusterCoordination.d.ts +1 -0
  248. package/node_modules/@arco/shared/dist/clusterCoordination.js +9 -1
  249. package/node_modules/@arco/shared/dist/clusterRolePresets.js +13 -4
  250. package/node_modules/@arco/shared/dist/index.d.ts +1 -0
  251. package/node_modules/@arco/shared/dist/index.js +1 -0
  252. package/node_modules/@arco/shared/dist/protocol/autoPickup.d.ts +7 -0
  253. package/node_modules/@arco/shared/dist/protocol/autoPickup.js +22 -11
  254. package/node_modules/@arco/shared/dist/protocol/chat.d.ts +1 -1
  255. package/node_modules/@arco/shared/dist/protocol/checkpoints.d.ts +1 -0
  256. package/node_modules/@arco/shared/dist/protocol/clientMessages.d.ts +18 -3
  257. package/node_modules/@arco/shared/dist/protocol/clusters.d.ts +177 -4
  258. package/node_modules/@arco/shared/dist/protocol/clusters.js +48 -2
  259. package/node_modules/@arco/shared/dist/protocol/handoffs.d.ts +1 -0
  260. package/node_modules/@arco/shared/dist/protocol/models.d.ts +6 -1
  261. package/node_modules/@arco/shared/dist/protocol/models.js +4 -3
  262. package/node_modules/@arco/shared/dist/protocol/providers.d.ts +3 -2
  263. package/node_modules/@arco/shared/dist/protocol/providers.js +1 -1
  264. package/node_modules/@arco/shared/dist/protocol/serverMessages.d.ts +29 -4
  265. package/node_modules/@arco/shared/dist/protocol/settings.d.ts +4 -0
  266. package/node_modules/@arco/shared/dist/protocol/settings.js +3 -1
  267. package/node_modules/@arco/shared/dist/protocol/tasks.d.ts +42 -0
  268. package/node_modules/@arco/shared/dist/protocol/tasks.js +17 -0
  269. package/node_modules/@arco/shared/dist/protocol/workflows.d.ts +4 -0
  270. package/node_modules/@arco/shared/dist/protocol/workflows.js +2 -0
  271. package/node_modules/@arco/shared/dist/researchActivity.d.ts +4 -0
  272. package/node_modules/@arco/shared/dist/researchActivity.js +29 -0
  273. package/node_modules/@arco/shared/package.json +1 -1
  274. package/package.json +3 -2
  275. package/scripts/packaging/services.mjs +19 -2
  276. package/scripts/packaging/update.mjs +92 -26
  277. package/server/dist/arcoHome.js +19 -3
  278. package/server/dist/auth.d.ts +4 -2
  279. package/server/dist/auth.js +42 -4
  280. package/server/dist/authLoginSession.d.ts +2 -1
  281. package/server/dist/authLoginSession.js +21 -3
  282. package/server/dist/capabilities.d.ts +2 -2
  283. package/server/dist/capabilities.js +11 -6
  284. package/server/dist/chatMode.d.ts +3 -0
  285. package/server/dist/chatMode.js +25 -2
  286. package/server/dist/checkedFile.d.ts +1 -1
  287. package/server/dist/checkedFile.js +48 -41
  288. package/server/dist/cliUpdateDecision.js +1 -1
  289. package/server/dist/clusterAutoTurn.d.ts +4 -1
  290. package/server/dist/clusterAutoTurn.js +25 -4
  291. package/server/dist/clusterBusyReminder.js +2 -1
  292. package/server/dist/clusterDirector.js +5 -2
  293. package/server/dist/clusterMailTally.d.ts +11 -0
  294. package/server/dist/clusterMailTally.js +29 -0
  295. package/server/dist/clusterMailbox.d.ts +8 -1
  296. package/server/dist/clusterMailbox.js +53 -4
  297. package/server/dist/clusterOpenWork.d.ts +22 -0
  298. package/server/dist/clusterOpenWork.js +85 -0
  299. package/server/dist/clusterPeerOps.d.ts +32 -5
  300. package/server/dist/clusterPeerOps.js +253 -49
  301. package/server/dist/clusterPlanBridge.d.ts +7 -1
  302. package/server/dist/clusterPlanBridge.js +58 -0
  303. package/server/dist/clusterPlanStore.d.ts +6 -0
  304. package/server/dist/clusterPlanStore.js +58 -0
  305. package/server/dist/clusterPresets.js +23 -3
  306. package/server/dist/clusterProgress.js +2 -2
  307. package/server/dist/clusterSkills.js +2 -2
  308. package/server/dist/clusterSnapshots.d.ts +1 -0
  309. package/server/dist/clusterSnapshots.js +7 -1
  310. package/server/dist/clusterStore.d.ts +34 -1
  311. package/server/dist/clusterStore.js +194 -21
  312. package/server/dist/clusterTurnOrigin.d.ts +2 -0
  313. package/server/dist/clusterTurnOrigin.js +19 -0
  314. package/server/dist/connectionCatalog.js +1 -0
  315. package/server/dist/cursorUsage.js +3 -3
  316. package/server/dist/defaults/models.md +11 -14
  317. package/server/dist/directorContinue.d.ts +47 -0
  318. package/server/dist/directorContinue.js +311 -0
  319. package/server/dist/directorContinueHook.d.ts +3 -0
  320. package/server/dist/directorContinueHook.js +16 -0
  321. package/server/dist/effortValidation.d.ts +3 -0
  322. package/server/dist/effortValidation.js +34 -0
  323. package/server/dist/fileAccessPolicy.js +1 -0
  324. package/server/dist/fileFetch.d.ts +7 -1
  325. package/server/dist/fileFetch.js +50 -29
  326. package/server/dist/geminiMembers.d.ts +8 -0
  327. package/server/dist/geminiMembers.js +113 -0
  328. package/server/dist/git.d.ts +3 -0
  329. package/server/dist/git.js +17 -24
  330. package/server/dist/gitOtherWork.js +5 -4
  331. package/server/dist/gitSnapshots.js +66 -5
  332. package/server/dist/http/authLoginRoutes.js +1 -1
  333. package/server/dist/http/clusterRoutes.js +466 -4
  334. package/server/dist/http/diagnosticsRoutes.js +8 -0
  335. package/server/dist/http/fileWriteRoutes.js +11 -3
  336. package/server/dist/http/phoneUploadRoutes.js +2 -1
  337. package/server/dist/http/readConfinement.d.ts +11 -0
  338. package/server/dist/http/readConfinement.js +30 -0
  339. package/server/dist/http/recallRoutes.js +1 -1
  340. package/server/dist/http/router.js +48 -11
  341. package/server/dist/http/storageRoutes.js +114 -7
  342. package/server/dist/http/workflowDataRoutes.js +20 -0
  343. package/server/dist/http/writeConfinement.js +12 -1
  344. package/server/dist/index.d.ts +13 -0
  345. package/server/dist/index.js +353 -56
  346. package/server/dist/initialProviders.js +1 -1
  347. package/server/dist/manualCompactCapability.js +1 -1
  348. package/server/dist/mcp/clusterMcpLoopback.d.ts +1 -0
  349. package/server/dist/mcp/clusterMcpLoopback.js +1 -0
  350. package/server/dist/mcp/clusterMcpServer.js +3 -2
  351. package/server/dist/mcp/clusterMcpTools.d.ts +3 -0
  352. package/server/dist/mcp/clusterMcpTools.js +79 -25
  353. package/server/dist/mcp/mcpConfigWriter.d.ts +1 -0
  354. package/server/dist/mcp/mcpConfigWriter.js +2 -0
  355. package/server/dist/mcp/workerMailBridge.d.ts +17 -0
  356. package/server/dist/mcp/workerMailBridge.js +104 -0
  357. package/server/dist/planStore.js +1 -0
  358. package/server/dist/primitives/seedWorker.d.ts +10 -1
  359. package/server/dist/primitives/seedWorker.js +14 -15
  360. package/server/dist/project/taskLedger.d.ts +3 -0
  361. package/server/dist/project/taskLedger.js +16 -0
  362. package/server/dist/providers/{cursor → acp}/acpJsonRpc.js +1 -1
  363. package/server/dist/providers/acp/permissionGate.d.ts +3 -0
  364. package/server/dist/providers/acp/permissionGate.js +46 -0
  365. package/server/dist/providers/antigravity/index.d.ts +15 -0
  366. package/server/dist/providers/antigravity/index.js +251 -0
  367. package/server/dist/providers/antigravity/researchSignIn.d.ts +24 -0
  368. package/server/dist/providers/antigravity/researchSignIn.js +93 -0
  369. package/server/dist/providers/antigravity/status.d.ts +18 -0
  370. package/server/dist/providers/antigravity/status.js +29 -0
  371. package/server/dist/providers/antigravity/usage.d.ts +7 -0
  372. package/server/dist/providers/antigravity/usage.js +36 -0
  373. package/server/dist/providers/claude/researcherFence.d.ts +7 -0
  374. package/server/dist/providers/claude/researcherFence.js +27 -0
  375. package/server/dist/providers/claude-native/catalog.d.ts +2 -1
  376. package/server/dist/providers/claude-native/catalog.js +4 -0
  377. package/server/dist/providers/claude-native/index.d.ts +1 -0
  378. package/server/dist/providers/claude-native/index.js +9 -1
  379. package/server/dist/providers/claude-native/peerTools.d.ts +1 -0
  380. package/server/dist/providers/claude-native/peerTools.js +26 -4
  381. package/server/dist/providers/claude-native/taskAdmission.d.ts +7 -1
  382. package/server/dist/providers/claude-native/taskAdmission.js +30 -8
  383. package/server/dist/providers/claude-native/tools.d.ts +1 -0
  384. package/server/dist/providers/claude-native/tools.js +47 -18
  385. package/server/dist/providers/claude-native/worker.d.ts +22 -1
  386. package/server/dist/providers/claude-native/worker.js +281 -51
  387. package/server/dist/providers/claude-native/workerHelpers.d.ts +5 -0
  388. package/server/dist/providers/claude-native/workerHelpers.js +95 -5
  389. package/server/dist/providers/claude.d.ts +2 -0
  390. package/server/dist/providers/claude.js +194 -22
  391. package/server/dist/providers/clusterTaskToolDefinitions.js +2 -1
  392. package/server/dist/providers/codex-appserver/heldCommands.d.ts +2 -2
  393. package/server/dist/providers/codex-appserver/heldCommands.js +9 -3
  394. package/server/dist/providers/codex-appserver/index.d.ts +9 -0
  395. package/server/dist/providers/codex-appserver/index.js +106 -5
  396. package/server/dist/providers/codex-appserver/lateCommands.js +1 -0
  397. package/server/dist/providers/codex-appserver/modelAvailability.d.ts +20 -0
  398. package/server/dist/providers/codex-appserver/modelAvailability.js +34 -0
  399. package/server/dist/providers/codex-appserver/worker.d.ts +11 -0
  400. package/server/dist/providers/codex-appserver/worker.js +199 -25
  401. package/server/dist/providers/codex.js +1 -0
  402. package/server/dist/providers/codexVersion.d.ts +2 -0
  403. package/server/dist/providers/codexVersion.js +8 -0
  404. package/server/dist/providers/codexWebSearch.js +1 -1
  405. package/server/dist/providers/cursor/agentEnv.d.ts +20 -0
  406. package/server/dist/providers/cursor/agentEnv.js +93 -0
  407. package/server/dist/providers/cursor/authState.js +2 -1
  408. package/server/dist/providers/cursor/authToken.d.ts +25 -2
  409. package/server/dist/providers/cursor/authToken.js +118 -27
  410. package/server/dist/providers/cursor/catalog.d.ts +6 -0
  411. package/server/dist/providers/cursor/catalog.js +91 -1
  412. package/server/dist/providers/cursor/chatSandbox.d.ts +3 -1
  413. package/server/dist/providers/cursor/chatSandbox.js +24 -8
  414. package/server/dist/providers/cursor/isolated.d.ts +6 -0
  415. package/server/dist/providers/cursor/isolated.js +313 -0
  416. package/server/dist/providers/cursor/isolatedVersion.d.ts +6 -0
  417. package/server/dist/providers/cursor/isolatedVersion.js +35 -0
  418. package/server/dist/providers/cursor/modelMap.js +9 -5
  419. package/server/dist/providers/cursor/print.js +10 -8
  420. package/server/dist/providers/cursor/worker.js +8 -3
  421. package/server/dist/providers/index.js +10 -2
  422. package/server/dist/providers/llamacpp.js +3 -2
  423. package/server/dist/providers/ollama.d.ts +3 -2
  424. package/server/dist/providers/ollama.js +29 -10
  425. package/server/dist/providers/ollamaTools.d.ts +3 -0
  426. package/server/dist/providers/ollamaTools.js +31 -29
  427. package/server/dist/research/exportResults.d.ts +15 -0
  428. package/server/dist/research/exportResults.js +60 -0
  429. package/server/dist/research/isolatedArtifact.d.ts +4 -0
  430. package/server/dist/research/isolatedArtifact.js +56 -0
  431. package/server/dist/research/quickPromotion.d.ts +27 -0
  432. package/server/dist/research/quickPromotion.js +402 -0
  433. package/server/dist/research/quickResearchChat.d.ts +4 -0
  434. package/server/dist/research/quickResearchChat.js +187 -0
  435. package/server/dist/research/researchClose.d.ts +31 -0
  436. package/server/dist/research/researchClose.js +373 -0
  437. package/server/dist/research/researchCopy.d.ts +16 -0
  438. package/server/dist/research/researchCopy.js +180 -0
  439. package/server/dist/research/researchCreate.d.ts +40 -0
  440. package/server/dist/research/researchCreate.js +334 -0
  441. package/server/dist/research/researchDoctrine.d.ts +2 -0
  442. package/server/dist/research/researchDoctrine.js +26 -0
  443. package/server/dist/research/researchFolder.d.ts +23 -0
  444. package/server/dist/research/researchFolder.js +191 -0
  445. package/server/dist/research/researchLibrary.d.ts +54 -0
  446. package/server/dist/research/researchLibrary.js +281 -0
  447. package/server/dist/research/researchRetry.d.ts +25 -0
  448. package/server/dist/research/researchRetry.js +96 -0
  449. package/server/dist/research/researchRounds.d.ts +108 -0
  450. package/server/dist/research/researchRounds.js +996 -0
  451. package/server/dist/research/researchState.d.ts +112 -0
  452. package/server/dist/research/researchState.js +191 -0
  453. package/server/dist/research/researchTools.d.ts +57 -0
  454. package/server/dist/research/researchTools.js +57 -0
  455. package/server/dist/research/researchTripwires.d.ts +18 -0
  456. package/server/dist/research/researchTripwires.js +196 -0
  457. package/server/dist/research/resultSelection.d.ts +27 -0
  458. package/server/dist/research/resultSelection.js +161 -0
  459. package/server/dist/research/savedQuickPromotion.d.ts +19 -0
  460. package/server/dist/research/savedQuickPromotion.js +259 -0
  461. package/server/dist/research/sendToProject.d.ts +36 -0
  462. package/server/dist/research/sendToProject.js +293 -0
  463. package/server/dist/server/broadcast.d.ts +5 -1
  464. package/server/dist/server/broadcast.js +45 -5
  465. package/server/dist/server/updateCheck.js +1 -0
  466. package/server/dist/settings.js +27 -3
  467. package/server/dist/skillActivity.d.ts +11 -0
  468. package/server/dist/skillActivity.js +33 -0
  469. package/server/dist/smartPickup.d.ts +1 -0
  470. package/server/dist/smartPickup.js +12 -4
  471. package/server/dist/smartPickupAdapters.js +3 -2
  472. package/server/dist/smartPickupEvaluator.d.ts +1 -0
  473. package/server/dist/smartPickupObserver.js +47 -14
  474. package/server/dist/storageActions.d.ts +9 -0
  475. package/server/dist/storageActions.js +5 -0
  476. package/server/dist/storageOverview.d.ts +1 -0
  477. package/server/dist/storageOverview.js +12 -5
  478. package/server/dist/taskDispatcher.js +3 -2
  479. package/server/dist/toolboxWorkflow.js +2 -1
  480. package/server/dist/updateCheck.d.ts +3 -2
  481. package/server/dist/updateCheck.js +53 -29
  482. package/server/dist/updateManager.d.ts +2 -4
  483. package/server/dist/updateManager.js +4 -1
  484. package/server/dist/windowsCommand.d.ts +15 -0
  485. package/server/dist/windowsCommand.js +85 -4
  486. package/server/dist/workers/StreamParser.d.ts +1 -0
  487. package/server/dist/workers/StreamParser.js +23 -1
  488. package/server/dist/workers/WorkerManager.d.ts +4 -0
  489. package/server/dist/workers/WorkerManager.js +5 -1
  490. package/server/dist/workers/antigravityIsolatedLaunch.d.ts +25 -0
  491. package/server/dist/workers/antigravityIsolatedLaunch.js +88 -0
  492. package/server/dist/workers/checkedLinuxWorker.d.ts +38 -0
  493. package/server/dist/workers/checkedLinuxWorker.js +192 -0
  494. package/server/dist/workers/claudeAccessLease.d.ts +24 -0
  495. package/server/dist/workers/claudeAccessLease.js +157 -0
  496. package/server/dist/workers/claudeAccessSource.d.ts +2 -0
  497. package/server/dist/workers/claudeAccessSource.js +27 -0
  498. package/server/dist/workers/claudeIsolatedLaunch.d.ts +19 -0
  499. package/server/dist/workers/claudeIsolatedLaunch.js +104 -0
  500. package/server/dist/workers/cliResearcherDoctrine.d.ts +4 -0
  501. package/server/dist/workers/cliResearcherDoctrine.js +20 -0
  502. package/server/dist/workers/codexAccessLease.d.ts +26 -0
  503. package/server/dist/workers/codexAccessLease.js +208 -0
  504. package/server/dist/workers/codexIsolatedLaunch.d.ts +21 -0
  505. package/server/dist/workers/codexIsolatedLaunch.js +95 -0
  506. package/server/dist/workers/codexIsolatedPolicy.d.ts +5 -0
  507. package/server/dist/workers/codexIsolatedPolicy.js +49 -0
  508. package/server/dist/workers/cursorIsolatedLaunch.d.ts +37 -0
  509. package/server/dist/workers/cursorIsolatedLaunch.js +178 -0
  510. package/server/dist/workers/isolatedCliHome.d.ts +4 -0
  511. package/server/dist/workers/isolatedCliHome.js +107 -0
  512. package/server/dist/workers/limits.js +1 -1
  513. package/server/dist/workers/linuxWorkerSandbox.d.ts +48 -0
  514. package/server/dist/workers/linuxWorkerSandbox.js +192 -0
  515. package/server/dist/workers/processKill.d.ts +2 -0
  516. package/server/dist/workers/processKill.js +28 -2
  517. package/server/dist/workers/providerRuntimeDiscovery.d.ts +13 -0
  518. package/server/dist/workers/providerRuntimeDiscovery.js +126 -0
  519. package/server/dist/workers/researchSandboxAvailability.d.ts +3 -0
  520. package/server/dist/workers/researchSandboxAvailability.js +78 -0
  521. package/server/dist/workers/workerAccessPass.d.ts +12 -0
  522. package/server/dist/workers/workerAccessPass.js +123 -0
  523. package/server/dist/workers/workerHiddenDirectories.d.ts +3 -0
  524. package/server/dist/workers/workerHiddenDirectories.js +16 -0
  525. package/server/dist/workers/workerSocketDirectory.d.ts +2 -0
  526. package/server/dist/workers/workerSocketDirectory.js +16 -0
  527. package/server/dist/workers/workerWebProxy.d.ts +28 -0
  528. package/server/dist/workers/workerWebProxy.js +206 -0
  529. package/server/dist/workflowMeta.d.ts +5 -0
  530. package/server/dist/workflowMeta.js +7 -3
  531. package/server/dist/workflowStore.js +43 -25
  532. package/server/dist/workflows/purgeWorkflow.js +15 -0
  533. package/server/dist/workflows/types.d.ts +6 -0
  534. package/server/dist/workspace.d.ts +1 -0
  535. package/server/dist/workspace.js +8 -0
  536. package/server/dist/ws/clusterHandlers.d.ts +5 -0
  537. package/server/dist/ws/clusterHandlers.js +373 -26
  538. package/server/dist/ws/clusterMembers.d.ts +5 -0
  539. package/server/dist/ws/clusterMembers.js +15 -5
  540. package/server/dist/ws/compactHandlers.js +43 -8
  541. package/server/dist/ws/compareHandlers.d.ts +12 -0
  542. package/server/dist/ws/compareHandlers.js +32 -14
  543. package/server/dist/ws/handoffHandlers.js +39 -3
  544. package/server/dist/ws/operatorQuestionHandlers.d.ts +5 -0
  545. package/server/dist/ws/operatorQuestionHandlers.js +17 -2
  546. package/server/dist/ws/taskLedgerHandlers.js +1 -0
  547. package/server/dist/ws/taskLifecycle.d.ts +25 -1
  548. package/server/dist/ws/taskLifecycle.js +53 -1
  549. package/server/dist/ws/turnEngine.d.ts +18 -1
  550. package/server/dist/ws/turnEngine.js +281 -52
  551. package/server/dist/ws/turnPrompt.js +3 -1
  552. package/server/dist/ws/updatePrimaryConfig.js +11 -3
  553. package/server/dist/ws/workflowHandlers.js +17 -4
  554. package/server/package.json +1 -1
  555. package/server/src/arcoHome.ts +16 -3
  556. package/server/src/auth.ts +50 -6
  557. package/server/src/authLoginSession.ts +18 -5
  558. package/server/src/capabilities.ts +13 -8
  559. package/server/src/chatMode.ts +24 -2
  560. package/server/src/checkedFile.ts +42 -31
  561. package/server/src/cliUpdateDecision.ts +1 -1
  562. package/server/src/clusterAutoTurn.ts +29 -5
  563. package/server/src/clusterBusyReminder.ts +2 -1
  564. package/server/src/clusterDirector.ts +5 -2
  565. package/server/src/clusterMailTally.ts +28 -0
  566. package/server/src/clusterMailbox.ts +49 -4
  567. package/server/src/clusterOpenWork.ts +94 -0
  568. package/server/src/clusterPeerOps.ts +238 -52
  569. package/server/src/clusterPlanBridge.ts +54 -1
  570. package/server/src/clusterPlanStore.ts +59 -0
  571. package/server/src/clusterPresets.ts +17 -3
  572. package/server/src/clusterProgress.ts +2 -2
  573. package/server/src/clusterSkills.ts +2 -2
  574. package/server/src/clusterSnapshots.ts +7 -1
  575. package/server/src/clusterStore.ts +192 -20
  576. package/server/src/clusterTurnOrigin.ts +19 -0
  577. package/server/src/connectionCatalog.ts +1 -0
  578. package/server/src/cursorUsage.ts +3 -3
  579. package/server/src/defaults/models.md +11 -14
  580. package/server/src/directorContinue.ts +309 -0
  581. package/server/src/directorContinueHook.ts +15 -0
  582. package/server/src/effortValidation.ts +31 -0
  583. package/server/src/fileAccessPolicy.ts +1 -0
  584. package/server/src/fileFetch.ts +47 -29
  585. package/server/src/geminiMembers.ts +116 -0
  586. package/server/src/git.ts +20 -22
  587. package/server/src/gitOtherWork.ts +5 -4
  588. package/server/src/gitSnapshots.ts +53 -5
  589. package/server/src/http/authLoginRoutes.ts +2 -2
  590. package/server/src/http/clusterRoutes.ts +314 -6
  591. package/server/src/http/diagnosticsRoutes.ts +9 -0
  592. package/server/src/http/fileWriteRoutes.ts +13 -5
  593. package/server/src/http/phoneUploadRoutes.ts +2 -1
  594. package/server/src/http/readConfinement.ts +30 -0
  595. package/server/src/http/recallRoutes.ts +1 -1
  596. package/server/src/http/router.ts +43 -10
  597. package/server/src/http/storageRoutes.ts +86 -7
  598. package/server/src/http/workflowDataRoutes.ts +20 -0
  599. package/server/src/http/writeConfinement.ts +10 -1
  600. package/server/src/index.ts +295 -18
  601. package/server/src/initialProviders.ts +1 -1
  602. package/server/src/manualCompactCapability.ts +1 -1
  603. package/server/src/mcp/clusterMcpLoopback.ts +2 -0
  604. package/server/src/mcp/clusterMcpServer.ts +3 -2
  605. package/server/src/mcp/clusterMcpTools.ts +83 -27
  606. package/server/src/mcp/mcpConfigWriter.ts +4 -0
  607. package/server/src/mcp/workerMailBridge.ts +99 -0
  608. package/server/src/planStore.ts +1 -0
  609. package/server/src/primitives/seedWorker.ts +19 -14
  610. package/server/src/project/taskLedger.ts +23 -0
  611. package/server/src/providers/{cursor → acp}/acpJsonRpc.ts +3 -3
  612. package/server/src/providers/acp/permissionGate.ts +47 -0
  613. package/server/src/providers/antigravity/index.ts +187 -0
  614. package/server/src/providers/antigravity/researchSignIn.ts +76 -0
  615. package/server/src/providers/antigravity/status.ts +25 -0
  616. package/server/src/providers/antigravity/usage.ts +30 -0
  617. package/server/src/providers/claude/researcherFence.ts +25 -0
  618. package/server/src/providers/claude-native/catalog.ts +5 -0
  619. package/server/src/providers/claude-native/index.ts +8 -1
  620. package/server/src/providers/claude-native/peerTools.ts +24 -4
  621. package/server/src/providers/claude-native/taskAdmission.ts +35 -9
  622. package/server/src/providers/claude-native/tools.ts +39 -19
  623. package/server/src/providers/claude-native/worker.ts +270 -52
  624. package/server/src/providers/claude-native/workerHelpers.ts +88 -5
  625. package/server/src/providers/claude.ts +160 -22
  626. package/server/src/providers/clusterTaskToolDefinitions.ts +2 -1
  627. package/server/src/providers/codex-appserver/heldCommands.ts +7 -3
  628. package/server/src/providers/codex-appserver/index.ts +87 -3
  629. package/server/src/providers/codex-appserver/lateCommands.ts +1 -0
  630. package/server/src/providers/codex-appserver/modelAvailability.ts +40 -0
  631. package/server/src/providers/codex-appserver/worker.ts +155 -25
  632. package/server/src/providers/codex.ts +1 -0
  633. package/server/src/providers/codexVersion.ts +9 -0
  634. package/server/src/providers/codexWebSearch.ts +1 -1
  635. package/server/src/providers/cursor/agentEnv.ts +103 -0
  636. package/server/src/providers/cursor/authState.ts +2 -1
  637. package/server/src/providers/cursor/authToken.ts +137 -31
  638. package/server/src/providers/cursor/catalog.ts +89 -1
  639. package/server/src/providers/cursor/chatSandbox.ts +20 -8
  640. package/server/src/providers/cursor/isolated.ts +282 -0
  641. package/server/src/providers/cursor/isolatedVersion.ts +33 -0
  642. package/server/src/providers/cursor/modelMap.ts +9 -5
  643. package/server/src/providers/cursor/print.ts +10 -8
  644. package/server/src/providers/cursor/worker.ts +8 -3
  645. package/server/src/providers/index.ts +10 -2
  646. package/server/src/providers/llamacpp.ts +3 -1
  647. package/server/src/providers/ollama.ts +30 -11
  648. package/server/src/providers/ollamaTools.ts +33 -27
  649. package/server/src/research/exportResults.ts +47 -0
  650. package/server/src/research/isolatedArtifact.ts +48 -0
  651. package/server/src/research/quickPromotion.ts +325 -0
  652. package/server/src/research/quickResearchChat.ts +147 -0
  653. package/server/src/research/researchClose.ts +340 -0
  654. package/server/src/research/researchCopy.ts +170 -0
  655. package/server/src/research/researchCreate.ts +306 -0
  656. package/server/src/research/researchDoctrine.ts +27 -0
  657. package/server/src/research/researchFolder.ts +202 -0
  658. package/server/src/research/researchLibrary.ts +306 -0
  659. package/server/src/research/researchRetry.ts +86 -0
  660. package/server/src/research/researchRounds.ts +891 -0
  661. package/server/src/research/researchState.ts +309 -0
  662. package/server/src/research/researchTools.ts +59 -0
  663. package/server/src/research/researchTripwires.ts +158 -0
  664. package/server/src/research/resultSelection.ts +127 -0
  665. package/server/src/research/savedQuickPromotion.ts +174 -0
  666. package/server/src/research/sendToProject.ts +220 -0
  667. package/server/src/server/broadcast.ts +39 -5
  668. package/server/src/server/updateCheck.ts +1 -0
  669. package/server/src/settings.ts +22 -5
  670. package/server/src/skillActivity.ts +35 -0
  671. package/server/src/smartPickup.ts +14 -4
  672. package/server/src/smartPickupAdapters.ts +3 -2
  673. package/server/src/smartPickupEvaluator.ts +3 -0
  674. package/server/src/smartPickupObserver.ts +38 -12
  675. package/server/src/storageActions.ts +6 -0
  676. package/server/src/storageOverview.ts +13 -6
  677. package/server/src/taskDispatcher.ts +3 -1
  678. package/server/src/toolboxWorkflow.ts +2 -1
  679. package/server/src/updateCheck.ts +50 -29
  680. package/server/src/updateManager.ts +5 -2
  681. package/server/src/windowsCommand.ts +83 -4
  682. package/server/src/workers/StreamParser.ts +20 -1
  683. package/server/src/workers/WorkerManager.ts +10 -1
  684. package/server/src/workers/antigravityIsolatedLaunch.ts +82 -0
  685. package/server/src/workers/checkedLinuxWorker.ts +212 -0
  686. package/server/src/workers/claudeAccessLease.ts +122 -0
  687. package/server/src/workers/claudeAccessSource.ts +20 -0
  688. package/server/src/workers/claudeIsolatedLaunch.ts +91 -0
  689. package/server/src/workers/cliResearcherDoctrine.ts +20 -0
  690. package/server/src/workers/codexAccessLease.ts +146 -0
  691. package/server/src/workers/codexIsolatedLaunch.ts +72 -0
  692. package/server/src/workers/codexIsolatedPolicy.ts +38 -0
  693. package/server/src/workers/cursorIsolatedLaunch.ts +159 -0
  694. package/server/src/workers/isolatedCliHome.ts +75 -0
  695. package/server/src/workers/limits.ts +1 -1
  696. package/server/src/workers/linuxWorkerSandbox.ts +193 -0
  697. package/server/src/workers/processKill.ts +34 -2
  698. package/server/src/workers/providerRuntimeDiscovery.ts +108 -0
  699. package/server/src/workers/researchSandboxAvailability.ts +68 -0
  700. package/server/src/workers/workerAccessPass.ts +96 -0
  701. package/server/src/workers/workerHiddenDirectories.ts +16 -0
  702. package/server/src/workers/workerSocketDirectory.ts +13 -0
  703. package/server/src/workers/workerWebProxy.ts +194 -0
  704. package/server/src/workflowMeta.ts +10 -3
  705. package/server/src/workflowStore.ts +39 -26
  706. package/server/src/workflows/purgeWorkflow.ts +18 -0
  707. package/server/src/workflows/types.ts +13 -0
  708. package/server/src/workspace.ts +8 -0
  709. package/server/src/ws/clusterHandlers.ts +302 -26
  710. package/server/src/ws/clusterMembers.ts +15 -5
  711. package/server/src/ws/compactHandlers.ts +37 -5
  712. package/server/src/ws/compareHandlers.ts +34 -11
  713. package/server/src/ws/handoffHandlers.ts +36 -3
  714. package/server/src/ws/operatorQuestionHandlers.ts +14 -2
  715. package/server/src/ws/taskLedgerHandlers.ts +1 -0
  716. package/server/src/ws/taskLifecycle.ts +58 -4
  717. package/server/src/ws/turnEngine.ts +265 -49
  718. package/server/src/ws/turnPrompt.ts +3 -1
  719. package/server/src/ws/updatePrimaryConfig.ts +10 -3
  720. package/server/src/ws/workflowHandlers.ts +15 -4
  721. package/shared/dist/clusterCoordination.d.ts +1 -0
  722. package/shared/dist/clusterCoordination.js +9 -1
  723. package/shared/dist/clusterRolePresets.js +13 -4
  724. package/shared/dist/index.d.ts +1 -0
  725. package/shared/dist/index.js +1 -0
  726. package/shared/dist/protocol/autoPickup.d.ts +7 -0
  727. package/shared/dist/protocol/autoPickup.js +22 -11
  728. package/shared/dist/protocol/chat.d.ts +1 -1
  729. package/shared/dist/protocol/checkpoints.d.ts +1 -0
  730. package/shared/dist/protocol/clientMessages.d.ts +18 -3
  731. package/shared/dist/protocol/clusters.d.ts +177 -4
  732. package/shared/dist/protocol/clusters.js +48 -2
  733. package/shared/dist/protocol/handoffs.d.ts +1 -0
  734. package/shared/dist/protocol/models.d.ts +6 -1
  735. package/shared/dist/protocol/models.js +4 -3
  736. package/shared/dist/protocol/providers.d.ts +3 -2
  737. package/shared/dist/protocol/providers.js +1 -1
  738. package/shared/dist/protocol/serverMessages.d.ts +29 -4
  739. package/shared/dist/protocol/settings.d.ts +4 -0
  740. package/shared/dist/protocol/settings.js +3 -1
  741. package/shared/dist/protocol/tasks.d.ts +42 -0
  742. package/shared/dist/protocol/tasks.js +17 -0
  743. package/shared/dist/protocol/workflows.d.ts +4 -0
  744. package/shared/dist/protocol/workflows.js +2 -0
  745. package/shared/dist/researchActivity.d.ts +4 -0
  746. package/shared/dist/researchActivity.js +29 -0
  747. package/shared/src/clusterCoordination.ts +12 -1
  748. package/shared/src/clusterRolePresets.ts +13 -4
  749. package/shared/src/index.ts +2 -0
  750. package/shared/src/protocol/autoPickup.ts +28 -11
  751. package/shared/src/protocol/chat.ts +1 -1
  752. package/shared/src/protocol/checkpoints.ts +1 -0
  753. package/shared/src/protocol/clientMessages.ts +14 -0
  754. package/shared/src/protocol/clusters.ts +231 -5
  755. package/shared/src/protocol/handoffs.ts +1 -0
  756. package/shared/src/protocol/models.ts +11 -4
  757. package/shared/src/protocol/providers.ts +6 -3
  758. package/shared/src/protocol/reviews.ts +2 -2
  759. package/shared/src/protocol/serverMessages.ts +29 -4
  760. package/shared/src/protocol/settings.ts +14 -1
  761. package/shared/src/protocol/tasks.ts +73 -0
  762. package/shared/src/protocol/workflows.ts +8 -0
  763. package/shared/src/researchActivity.ts +23 -0
  764. package/client/dist/assets/XtermView-Xk7_9JaH.js +0 -10
  765. package/client/dist/assets/index-BEFgrUJJ.css +0 -1
  766. package/client/dist/assets/index-C7WzZfsr.js +0 -614
  767. package/client/src/components/HeaderAuthChip.tsx +0 -207
  768. /package/server/dist/providers/{cursor → acp}/acpJsonRpc.d.ts +0 -0
@@ -54,7 +54,7 @@ export const clusters: Section[] = [
54
54
  title: 'The cluster tab',
55
55
  body: (
56
56
  <>
57
- <p>Sending to one member through TO preserves picked skills, steering intent and composer actions, including when another member is in view. After a successful send, TO returns to the member in view. Computer opens the chooser with the current recipients. Question options keep literal pipes and backslashes in one answer.</p>
57
+ <p>Sending to one member through TO preserves picked skills, steering intent and composer actions, including when another member is in view. Gemini messages do not receive picked or pinned Arco skill bodies. After a successful send, TO returns to the member in view. Computer opens the chooser with the current recipients. Question options keep literal pipes and backslashes in one answer.</p>
58
58
  <p>After reconnecting, missing members are requested again if their rehydrate reply was lost. Other members keep their existing state.</p>
59
59
  <p>
60
60
  The cluster parent tab takes over the full main pane: a member-card
@@ -68,7 +68,7 @@ export const clusters: Section[] = [
68
68
  </p>
69
69
  <ul>
70
70
  <li>
71
- <strong>WORKSPACE</strong> - MEMBERS / FILES.
71
+ <strong>WORKSPACE</strong> - MEMBERS / FILES (a research project adds RESULTS first).
72
72
  </li>
73
73
  <li>
74
74
  <strong>AGENT</strong> - ACTIVITY / REVIEWS / HANDOFFS / PLAN / BOARD /
@@ -100,7 +100,7 @@ export const clusters: Section[] = [
100
100
  <h4 className="manual-sub">Creating a cluster</h4>
101
101
  <p>
102
102
  Right-click any compatible tab
103
- (Claude, Codex, Ollama or llama.cpp pinned to a cwd that is not already part
103
+ (Claude, Codex, Antigravity CLI, Ollama or llama.cpp pinned to a cwd that is not already part
104
104
  of a cluster). An open Cursor tab cannot join, because its Cursor session
105
105
  started without the cluster peer tools; add Cursor members with + ADD FRESH
106
106
  in the cluster panel. Other providers cannot receive the peer tools, and the
@@ -115,8 +115,7 @@ export const clusters: Section[] = [
115
115
  </li>
116
116
  <li>
117
117
  <strong>CREATE WITH FRESH</strong> - spawn N (1-4) new workflows
118
- (Claude or Codex) using the provider, model and effort shown in the picker,
119
- including when the anchor uses Ollama or llama.cpp. Other settings inherit
118
+ using the enabled, connected provider, model, account and effort shown in the picker. Cursor and Gemini can be selected as fresh members. Other settings inherit
120
119
  from the anchor. The new workflows join it under a new cluster.
121
120
  </li>
122
121
  <li>
@@ -152,6 +151,17 @@ export const clusters: Section[] = [
152
151
  <Code>CLOSED CLUSTERS → REOPEN</Code>. This reconnects
153
152
  the original cluster and member IDs; it does not fork from a snapshot.
154
153
  </p>
154
+ <p>
155
+ The <Code>×</Code> on a cluster tab tears the cluster down. TEAR DOWN CLUSTER
156
+ offers <Code>KEEP MEMBERS WORKING</Code>, which leaves each member as an
157
+ ordinary tab without peer tools, and <Code>CLOSE CLUSTER + N MEMBERS</Code>,
158
+ which also closes the member tabs and cancels running turns.
159
+ </p>
160
+ <p>
161
+ Either way the
162
+ cluster is deleted and is not listed under CLOSED CLUSTERS; saved
163
+ conversations stay on disk. A research project has its own close.
164
+ </p>
155
165
  <ul>
156
166
  <li><Code>FILE</Code> exports an integrity-checked <Code>.arcocluster</Code> bundle.</li>
157
167
  <li>CLOUD snapshots are AES-256-GCM encrypted before upload to the tailnet management hub. The hub-host vault never receives the key.</li>
@@ -179,7 +189,7 @@ export const clusters: Section[] = [
179
189
  FILTER, OUTPUT STYLE and AUTO-COMPACT. They start from the first
180
190
  member&apos;s tab settings, with no work size, focus or own
181
191
  auto-compaction, and apply to every new worker. FAST MODE and TOOL
182
- FILTER are shown for Claude, OUTPUT STYLE for every provider.
192
+ FILTER are shown for Claude, OUTPUT STYLE for providers other than Antigravity.
183
193
  </p>
184
194
  <p>
185
195
  With no
@@ -196,7 +206,7 @@ export const clusters: Section[] = [
196
206
  </li>
197
207
  <li>
198
208
  Mixed clusters are supported for providers with peer-tool wiring.
199
- Claude and Codex use the native/MCP peer substrate; Ollama and
209
+ Claude, Codex and Antigravity CLI (Gemini) use the native/MCP peer substrate; Ollama and
200
210
  llama.cpp use Arco's local server-side tool registry, so local
201
211
  workers can also see <Code>peer_send</Code> / <Code>peer_read</Code>{' '}
202
212
  across the cluster.
@@ -204,7 +214,7 @@ export const clusters: Section[] = [
204
214
  <li>
205
215
  Providers without a peer-tool path remain ineligible. The cluster
206
216
  member fence is{' '}
207
- <strong>Claude / Codex / Ollama / llama.cpp / Cursor</strong>.
217
+ <strong>Claude / Codex / Antigravity CLI / Ollama / llama.cpp / Cursor</strong>.
208
218
  LM Studio, Strata and DeepSeek are not cluster members. Cursor
209
219
  is fresh-spawn membership only, wired via a loopback StreamableHTTP
210
220
  MCP server for peer tools.
@@ -247,9 +257,9 @@ export const clusters: Section[] = [
247
257
  SMALL / MEDIUM / LARGE under Settings &gt; Appearance.
248
258
  </p>
249
259
  <Note>
250
- Closing the cluster tab keeps its members alive as plain workflows
251
- (peer tools stay registered). Tear-down only happens when the{' '}
252
- <Code>×</Code> on the cluster tab is clicked and confirmed.
260
+ Switching to another tab leaves the cluster running. Tear-down only happens
261
+ when the <Code>×</Code> on the cluster tab is clicked and confirmed (see
262
+ Reopening an existing live cluster above).
253
263
  </Note>
254
264
  </>
255
265
  ),
@@ -274,7 +284,7 @@ export const clusters: Section[] = [
274
284
  <p>
275
285
  A 4 px splitter separates the grid from the focused-member detail
276
286
  pane on the right; drag to resize. The split position persists to
277
- localStorage as <Code>clusterGridSplit</Code>.
287
+ localStorage as <Code>arco.clusterGridSplit</Code>.
278
288
  </p>
279
289
  <p>
280
290
  Click any card to focus that member. The focused card gets an accent
@@ -290,7 +300,7 @@ export const clusters: Section[] = [
290
300
  busy; outlined while idle. A turn is working from acceptance until it settles, including when its first activity is a tool call.
291
301
  </li>
292
302
  <li>
293
- <strong>Friendly name</strong> in bold (operator-set rename, or
303
+ <strong>Friendly name</strong> in bold (operator-set rename, or{' '}
294
304
  <Code>wfid</Code> prefix as fallback) plus IDLE/WORKING tag. A{' '}
295
305
  mail mark with a count shows the messages waiting for the
296
306
  member; they are delivered at its next turn. It is muted while the
@@ -401,6 +411,223 @@ export const clusters: Section[] = [
401
411
  ),
402
412
  },
403
413
  {
414
+ id: 'research-start',
415
+ group: 'Clusters',
416
+ title: 'Start a research project',
417
+ body: (
418
+ <>
419
+ <p>
420
+ A research project sends one brief to several researchers who work
421
+ independently, and gives their reports to a Research Director you keep
422
+ talking to. Open <Code>+NEW</Code>, choose <strong>RESEARCH</strong>, give
423
+ a short <strong>Name</strong> (it names the tab and the folder), write the{' '}
424
+ <strong>Brief</strong> with everything that matters (question, budget,
425
+ must-haves, sources to avoid), then choose{' '}
426
+ <Code>START RESEARCH PROJECT</Code>.
427
+ </p>
428
+ <p>
429
+ The Director starts on the brief at once: it sends round 1, or asks you
430
+ one question if the brief is unclear.
431
+ </p>
432
+ <p>
433
+ Each researcher row has only Provider, Model and Effort, with{' '}
434
+ <Code>DUPLICATE</Code>, <Code>REMOVE</Code> and <Code>ADVANCED</Code>.
435
+ Researchers run on Claude Native, Ollama or llama.cpp. Claude CLI, Codex
436
+ and Cursor are also offered on Linux when signed in and their sandbox checks pass.
437
+ </p>
438
+ <p>
439
+ They can use a shell inside the sandbox. Each researcher row has a web
440
+ access switch, on by default. Codex requires CLI version 0.171.0 and
441
+ Cursor 2026.11.22 or later; the picker identifies an incompatible version.
442
+ A Cursor researcher searches with Cursor&apos;s web search while web access
443
+ is on and fetches pages with its shell.
444
+ </p>
445
+ <p>
446
+ <strong>ADVANCED</strong>{' '}
447
+ sets web searches per turn for Claude Native and the context size for Ollama.
448
+ More than 8 researchers asks once before starting.
449
+ </p>
450
+ <p>
451
+ <Code>ONE OF EACH PROVIDER</Code> fills one row per connected researcher
452
+ provider, <Code>SAME AS LAST TIME</Code> repeats your last panel, and{' '}
453
+ <Code>+ SAVE PANEL</Code> saves the rows and the Research Director as a
454
+ named panel shown beside them.
455
+ </p>
456
+ <p>
457
+ A Gemini Research Director waits for your NUDGE at every step, and the
458
+ rounds it sends wait for your NUDGE on each researcher. A researcher's
459
+ time limit starts when it reads the round. NUDGE and MAILBOX then appear,
460
+ so that mail can be reviewed or edited first.
461
+ </p>
462
+ <p>
463
+ A Gemini researcher needs Linux and <strong>GEMINI FOR RESEARCH</strong>{' '}
464
+ signed in, in Settings, Providers and models, Sign-in, accounts and local
465
+ endpoints. It takes each round only
466
+ when you press NUDGE on it, whichever provider directs the project.
467
+ </p>
468
+ <p>
469
+ The <strong>Research Director</strong> can use any connected provider. The
470
+ first project asks for the research folder and saves it; change it later in
471
+ Settings, Projects, <strong>Research folder</strong>. Each project gets its
472
+ own dated subfolder there. <strong>BLIND REPORTS</strong> is on by default:
473
+ the Director sees reports as A, B, C without provider or model.
474
+ </p>
475
+ <p>
476
+ Settings, Projects, <strong>Research time limit</strong> sets how long each
477
+ researcher has to reply to a round or catch-up, from 30 to 240 minutes; 45
478
+ when unset. A researcher still waiting at the deadline is timed out. With 5
479
+ minutes or less left and a researcher still waiting, +15 MIN on the rounds
480
+ strip moves the deadline 15 minutes later, up to 240 minutes in total.
481
+ </p>
482
+ </>
483
+ ),
484
+ },
485
+ {
486
+ id: 'research-project',
487
+ group: 'Clusters',
488
+ title: 'Work in a research project',
489
+ body: (
490
+ <>
491
+ <p>
492
+ A research project opens like a cluster: the Research Director and one card
493
+ per researcher, each with its live state and <Code>STOP</Code>. A
494
+ researcher's card adds its letter, provider and model, isolation, the web
495
+ searches it made and its state in the latest round. Typing to a researcher
496
+ sends a targeted message, recorded in the round record.
497
+ </p>
498
+ <p>
499
+ The <strong>rounds strip</strong> above the cards shows the name, the
500
+ brief behind <Code>BRIEF</Code>, and one row per round; a row opens each outcome and the
501
+ deadline. In a released round, each replied line opens that report.{' '}
502
+ <strong>RESULTS</strong> opens the brief, the summary, the
503
+ Director log, each released report and, under it, the files that researcher
504
+ returned. Failed outcomes include a provider refusal or last message when
505
+ available.
506
+ </p>
507
+ <p>
508
+ Researchers can attach long source lists and notes to their reports; RESULTS
509
+ lists them under the report, and copies are kept in sources/.
510
+ </p>
511
+ <p>
512
+ A researcher marked failed or timed out shows <Code>RETRY</Code> in its
513
+ round's details. Arco sends it a file with its work so far and asks it to
514
+ finish. An open round takes the report as usual. For a released round, the
515
+ report is added as a late report, marked late in RESULTS, and the Research
516
+ Director is asked to add it to the summary.
517
+ </p>
518
+ <p>
519
+ If the conversation could not be saved, resolve the storage problem before
520
+ using <Code>RETRY</Code>.
521
+ </p>
522
+ <p>
523
+ PLAN lets the Research Director attach and edit the plan; researchers cannot
524
+ read or change it. BOARD is not shown in a research project.
525
+ </p>
526
+ <p>
527
+ Quick research runs one round in Arco without a research folder. Its brief and researcher rows sit above the Director conversation; select a row to inspect activity. RESULTS opens the released material. KEEP AS PROJECT waits for idle members and creates a research folder without rerunning the round.
528
+ </p>
529
+ <p>
530
+ Closing Quick research keeps the Director conversation in Past Chats and offers to attach unsent researcher files. Open the saved Chat to use KEEP AS PROJECT after closing. The saved conversation is included in the project; deleting the Chat removes its Quick research sources but leaves a project already kept.
531
+ </p>
532
+ <p>
533
+ If research files cannot be saved on close, the project and the researchers&apos; files stay available. Resolve the save error before closing again.
534
+ </p>
535
+ <p>
536
+ On <Code>/mobile</Code>, projects appear under Research projects and Quick
537
+ research appears with Chats; PANELS includes RESULTS, ACTIVITY, PLAN and FILES.
538
+ </p>
539
+ <p>
540
+ RESULTS shows a project card and one card per round. Project actions sit below the file links once a round exists. In a round card each researcher has one row: <Code>Report</Code> opens the report, <Code>Files (n)</Code> lists its returned files, and <Code>Actions</Code> beside a summary or report holds its choices.
541
+ </p>
542
+ <p>
543
+ Use <Code>Send report</Code> or <Code>Send summary</Code> under a card's <Code>Actions</Code>, or <Code>Send project</Code> on the project card, in RESULTS to copy released research, including catch-up reports, into a project folder, an existing plan&apos;s references or an open conversation draft. Choose the destinations independently; the draft is not sent. A Research Director can propose a selection for <Code>REVIEW SEND</Code>. RESULTS reports partial copies and a failed export log separately.
544
+ </p>
545
+ <p>
546
+ The send dialog opens on the project folder this research last went to, or the project it was started from; <Code>CHANGE FOLDER</Code> picks another. Tick <Code>Attach to conversation draft</Code> to choose an open conversation.
547
+ </p>
548
+ <p><Code>Start project</Code> and <Code>Start from summary</Code> copy the whole released project into <Code>research/&lt;name&gt;/</Code> in a new project folder: a <Code>README.md</Code> index, the brief, the chosen summary as <Code>summary.md</Code>, the Director log, and one folder per round under <Code>rounds/</Code> with its round record, summary, reports and each researcher's returned files under their original names.</p>
549
+ <p>The dialog shows what will be copied and the folder tree before you choose the folder. <Code>Start from report</Code> copies that report, its returned files and the brief.</p>
550
+ <p>Then the usual Agent or cluster creator opens. Choose explicitly to use an existing folder; no existing file is overwritten. The first message names <Code>README.md</Code> and the starting summary, and stays in the new conversation draft. <Code>Send project</Code> uses the same layout.</p>
551
+ <p>The project row's <Code>Chat</Code> and a summary's <Code>Continue in Chat</Code> open a saved Chat with the summary and returned files attached; the operator sends the first message. <Code>Export</Code> copies Markdown, downloads a selected file or downloads a ZIP of the research folder. ZIP waits for rounds and catch-ups to finish and excludes Arco and provider state. The export log records a started download, not confirmation that a file was saved.</p>
552
+ <p><Code>Rerun</Code> loads the original round text and current panel. Start another round or edit a copy of the panel for a new research project. To change the current panel before another round, use MEMBERS first. From an Agent project, <Code>RESEARCH THIS</Code> copies the draft into a new research brief and remembers the project as the default destination for results.</p>
553
+ <p>
554
+ The strip shows where the project is
555
+ saved; <Code>OPEN FOLDER</Code> opens FILES. The default location is in
556
+ Settings &gt; Projects &gt; Research folder. Research wakes are folded under
557
+ a label for the brief or the released round. MEMBERS does not offer the
558
+ generic add, replace or detach controls; the cluster bar offers Auto-compaction
559
+ and SKILLS.
560
+ </p>
561
+ <p>
562
+ <Code>+ ADD RESEARCHER</Code> in MEMBERS adds the next lettered researcher
563
+ with the start dialog&apos;s row. It is left out of a round in progress and
564
+ joins from the next one. With <strong>Give it the original brief now</strong>,
565
+ it first answers the round 1 text alone; the strip shows a{' '}
566
+ <Code>CATCH-UP</Code> row and the report reaches the Research Director on its own.
567
+ </p>
568
+ <p>
569
+ <Code>REMOVE</Code> on a researcher card asks first. Earlier reports stay,
570
+ a round in progress is released without it and its workspace is deleted.
571
+ The last researcher cannot be removed, and letters are never reused.
572
+ </p>
573
+ <p>
574
+ Files a researcher sends as attachments must be regular workspace files.
575
+ Symbolic links, hard links and paths outside its workspace are refused.
576
+ </p>
577
+ <p>
578
+ If a round shows <strong>INDEPENDENCE CHECK FAILED</strong>, treat its
579
+ reports as contaminated. A <strong>SANDBOX ACCESS WARNING</strong> means
580
+ a researcher attempted a protected path or local address; inspect its
581
+ activity before relying on the round.
582
+ </p>
583
+ <p>
584
+ If Claude CLI or Codex sign-in needs renewing, use <Code>RE-LOGIN</Code> in the research
585
+ window. The researcher continues when sign-in completes, and keeps its
586
+ remaining round time while waiting.
587
+ </p>
588
+ <p>
589
+ While reports are blind, <Code>REVEAL</Code> writes which provider and model
590
+ wrote each report into the research folder and shows it to the Research
591
+ Director. You always see it on the cards. Reveal cannot be undone.
592
+ </p>
593
+ <p>
594
+ Closing the tab is the one moment of cleanup. Arco writes a one-page log
595
+ per researcher (searches, sources opened, failures) into the latest round
596
+ record, offers to move files a researcher saved but never sent into
597
+ sources/, then removes the researchers' workspaces and conversations. The
598
+ research folder and the Research Director's conversation are kept, and
599
+ Arco keeps a private record of which model wrote each report.
600
+ </p>
601
+ <h4 className="manual-sub">Research library and reopening</h4>
602
+ <p>
603
+ Home lists research projects under <strong>Research library</strong>:
604
+ name, question, status, dates, researchers and rounds. Projects in the
605
+ research folder appear even if made before the library. <Code>Open</Code>{' '}
606
+ brings back an open project&apos;s tab.
607
+ </p>
608
+ <p>
609
+ <Code>Reopen</Code> on a closed project asks who continues. The saved
610
+ Research Director resumes when its conversation is still in the folder and
611
+ its provider is signed in; otherwise the dialog says why and offers a new
612
+ one, which reads the project files first. Neither sends a round until you
613
+ ask.
614
+ </p>
615
+ <p>
616
+ A reopened project gets new researchers, prefilled from the earlier panel.
617
+ Letters continue, so a project closed with A and B reopens with C and D.
618
+ Earlier reports stay; a round left open at the close is released with the
619
+ replies that had arrived.
620
+ </p>
621
+ <p>
622
+ A moved or deleted folder shows <strong>Missing</strong>. <Code>Locate</Code>{' '}
623
+ points Arco at the folder that now holds its research.json;{' '}
624
+ <Code>Forget</Code> removes it from the library only. Arco never moves or
625
+ deletes a research folder.
626
+ </p>
627
+ </>
628
+ ),
629
+ },
630
+ {
404
631
  id: 'cluster-roles',
405
632
  group: 'Clusters',
406
633
  title: 'Role presets',
@@ -444,12 +671,12 @@ export const clusters: Section[] = [
444
671
  reports back via <Code>peer_send</Code>.
445
672
  </li>
446
673
  <li>
447
- <strong>REVIEWER</strong> - inspects another member's diff /
448
- output and reports concerns.
674
+ <strong>REVIEWER</strong> - reviews diffs, designs and plans, reports
675
+ findings via <Code>peer_send</Code> and does not change files.
449
676
  </li>
450
677
  <li>
451
- <strong>RESEARCHER</strong> - reads code / docs / external
452
- material and answers focused questions.
678
+ <strong>RESEARCHER</strong> - researches any subject, cites sources and
679
+ reports via <Code>peer_send</Code> without project edits.
453
680
  </li>
454
681
  <li>
455
682
  <strong>TESTER</strong> - runs project checks and tests peer work
@@ -457,9 +684,8 @@ export const clusters: Section[] = [
457
684
  modifies test files only.
458
685
  </li>
459
686
  <li>
460
- <strong>DOCUMENTER</strong> - reads peer work via{' '}
461
- <Code>peer_read</Code> and writes / updates docs (README, guides,
462
- comments); modifies docs only.
687
+ <strong>DOCUMENTER</strong> - writes and updates docs, manual, help text
688
+ and devlog for peer work; reports via <Code>peer_send</Code> and changes docs only.
463
689
  </li>
464
690
  <li>
465
691
  <strong>ADVISOR</strong> - gives the Director a second opinion on
@@ -467,8 +693,9 @@ export const clusters: Section[] = [
467
693
  no files, assigns no work and lands nothing; replies via <Code>peer_send</Code>.
468
694
  </li>
469
695
  <li>
470
- <strong>DESIGNER</strong> - owns screen layout, states, wording and
471
- accessibility. It changes UI files only and reports via <Code>peer_send</Code>.
696
+ <strong>DESIGNER</strong> - designs screens, states, wording and
697
+ accessibility, prototypes and reviews UI. Builders implement the screens;
698
+ it reports via <Code>peer_send</Code>.
472
699
  </li>
473
700
  </ul>
474
701
  <p>
@@ -476,6 +703,10 @@ export const clusters: Section[] = [
476
703
  decision or when the evidence is thin. The Director keeps the decision.
477
704
  Role hints guide the agent; they do not enforce file access.
478
705
  </p>
706
+ <p>A bare filename opened from a cluster conversation also searches the
707
+ members' artifact folders if the file is not found in the project or the
708
+ conversation's own artifacts. The viewer names the owner, asks which member
709
+ to open when several match, or names the folders searched.</p>
479
710
  <h4 className="manual-sub">Setting one</h4>
480
711
  <ol>
481
712
  <li>
@@ -562,7 +793,8 @@ export const clusters: Section[] = [
562
793
  <p>
563
794
  Each <Code>peer_list</Code>{' '}
564
795
  row carries <Code>workflowId</Code>, <Code>displayName</Code>,{' '}
565
- <Code>pendingForThem</Code>, and (optionally) <Code>tier</Code>.
796
+ <Code>pendingForThem</Code>, and, when set, <Code>role</Code>,{' '}
797
+ <Code>tier</Code> and <Code>focus</Code>.
566
798
  The <Code>peer_list</Code> tool description tells the model what
567
799
  each value means. Work size guides task choice; it does not change
568
800
  model or effort. The dispatcher does not auto-assign from work size,
@@ -657,7 +889,7 @@ export const clusters: Section[] = [
657
889
  </p>
658
890
  <ul>
659
891
  <li>
660
- <strong>HISTORY</strong> starts at <strong>NO HISTORY</strong>.
892
+ <strong>HISTORY</strong> starts at <strong>NO HISTORY</strong>.{' '}
661
893
  <strong> RECENT HISTORY</strong> copies the last 10 whole turns by default;
662
894
  choose 1 to 50 within 128 KiB. Text stays word for word, with tool calls and
663
895
  attached files represented by receipts. <strong>FULL HISTORY</strong> keeps
@@ -700,15 +932,19 @@ export const clusters: Section[] = [
700
932
  local APIs or workflow storage to recover the withheld state.
701
933
  </li>
702
934
  <li>
703
- <strong>ISOLATED</strong> - Claude Native only. The worker runs in
935
+ <strong>ISOLATED</strong> - Claude Native uses fenced tools. Claude CLI, Codex and Cursor
936
+ require a passing Linux sandbox check and can use a shell inside it. The worker runs in
704
937
  a private durable scratch directory at{' '}
705
938
  <Code>
706
939
  ~/.arco/clusters/&lt;clusterId&gt;/isolates/&lt;wfid&gt;/workspace
707
940
  </Code>{' '}
708
941
  and cannot read the project cwd, project instructions, knowledge,
709
- attachments, hooks, registry MCPs, or use a shell. It receives
942
+ attachments, hooks or registry MCPs. It receives
710
943
  only mailbox send/read for cluster communication. History and
711
- task transfer are forced OFF.
944
+ task transfer are forced OFF. The member row reports sandbox status and
945
+ offers WEB ON/OFF for the next turn. Off keeps provider connections but
946
+ blocks public web. Changing Codex web access restarts its app-server and
947
+ can stop its background commands.
712
948
  </li>
713
949
  </ul>
714
950
  <p>
@@ -776,11 +1012,12 @@ export const clusters: Section[] = [
776
1012
  kanban board.
777
1013
  </p>
778
1014
  <p>
779
- The header pill bar in VIEW mode mirrors the worker tab:{' '}
780
- <Code>EDIT</Code>, <Code>CLEAR PLAN</Code>, <Code>REVIEW PLAN</Code>,
781
- <Code>VERIFY WORK</Code>, <Code>CUSTOM REVIEW</Code>. Cluster-specific
782
- omissions: no DETACH / PROMOTE / MOVE / DONE (the cluster plan is the
783
- cluster plan - these do not apply).
1015
+ The header in VIEW mode holds <Code>CHOOSE PLAN</Code>,{' '}
1016
+ <Code>ALL PLANS</Code>, <Code>EDIT</Code>, <Code>INSERT GUARDRAILS</Code>,{' '}
1017
+ <Code>CLEAR PLAN</Code>, <Code>DUPLICATE PLAN</Code>,{' '}
1018
+ <Code>REVIEW PLAN</Code>, <Code>VERIFY WORK</Code> and{' '}
1019
+ <Code>CUSTOM REVIEW</Code>. The worker tab&apos;s PROMOTE TO CLUSTER,
1020
+ MOVE and MARK DONE do not apply to the cluster plan.
784
1021
  </p>
785
1022
  <p>
786
1023
  <strong>REVIEW and VERIFY open the review dialog directly</strong> on
@@ -900,13 +1137,14 @@ export const clusters: Section[] = [
900
1137
  notes to each other between operator turns.
901
1138
  </p>
902
1139
  <p>
903
- Every cluster member has three peer tools registered alongside its
904
- normal tool kit:
1140
+ Standard cluster members have three peer tools alongside their normal tool kit.
1141
+ Blind and isolated members have only peer_send and peer_read; researchers
1142
+ use the research mailbox:
905
1143
  </p>
906
1144
  <ul>
907
1145
  <li>
908
- <Code>peer_list</Code> - list other members by wfid prefix +
909
- display name + role.
1146
+ <Code>peer_list</Code> - list other members with workflow ID, display
1147
+ name, pending mail and, when set, role, work size and focus.
910
1148
  </li>
911
1149
  <li>
912
1150
  <Code>peer_send</Code> - drop a message in another member's
@@ -981,7 +1219,8 @@ export const clusters: Section[] = [
981
1219
  Every level sorts product faults from test faults and states what a user
982
1220
  would lose before a failure blocks work; product faults and faulty tests
983
1221
  are fixed, while cosmetic or momentary faults are noted. Project rules and plans win
984
- when they ask for more or less testing. Safety checks, message guards,
1222
+ over these instructions for testing, commits, documentation and delivery.
1223
+ Safety checks, message guards,
985
1224
  requested review and landing review stay unchanged.
986
1225
  </p>
987
1226
  <p>
@@ -1028,6 +1267,14 @@ export const clusters: Section[] = [
1028
1267
  remain independent.
1029
1268
  </p>
1030
1269
  <p>
1270
+ Each director turn also shows how many messages each member sent to each
1271
+ other member since its previous turn. This tally is feedback only: it
1272
+ limits, warns about and blocks nothing, and it starts again when the
1273
+ server restarts. The director is told to ask for one report per
1274
+ assignment and to use a lock, a file or the board, not mail, for routine
1275
+ coordination.
1276
+ </p>
1277
+ <p>
1031
1278
  NOTE appends an operator instruction, not a mode or budget. Style and
1032
1279
  NOTE apply next turn; guard edits apply on the next send without
1033
1280
  resetting the count. Existing clusters without guard fields keep their
@@ -1036,7 +1283,7 @@ export const clusters: Section[] = [
1036
1283
  <h4 className="manual-sub">KEEP CURRENT</h4>
1037
1284
  <p>PLAN keeps shared plan checkboxes current. BOARD keeps task statuses current. BOTH, the default, keeps the two in step. Instructions apply only to records attached to the cluster and reach members on their next turn.</p>
1038
1285
  <p>With PLAN or BOTH and an attached plan, the director adds uncovered approved work in the same turn, before assigning it. Related work gets one item per feature or batch of fixes, never one per bug.</p>
1039
- <p>The director's reply names the plan item added or changed with its id and a one-line description. Existing checkbox ticking rules still apply.</p>
1286
+ <p>The director's reply names the plan item added or changed with its id and a one-line description. A director can complete a whole numbered plan item with its met board sign-off. A task covering only one stage leaves the item open. If the sign-off says plan completion is pending, ask the director to retry the same reviewed item. If the plan changed, resolve the pending sign-off and review it again.</p>
1040
1287
  <p>
1041
1288
  New clusters use a cluster-local board and progress tracking set to Both. Saved
1042
1289
  choices and old-format snapshot fallbacks are preserved; existing
@@ -1215,31 +1462,35 @@ export const clusters: Section[] = [
1215
1462
  adapter sends are in <Code>SECURITY.md</Code>.
1216
1463
  </p>
1217
1464
  <p>
1218
- <strong>Adjustable Smart limits</strong> (defaults; range in
1465
+ <strong>Smart: Automatic presets</strong> select Short, Standard, Long or Custom before arming. The selector shows the maximum automatic turns and session length. LIMITS edits select Custom; the cluster remembers the last valid Custom when another preset is selected. Standard is the default for fresh settings. Existing default-armed Smart sessions retain the previous Short limits until rearmed.
1466
+ </p>
1467
+ <p>
1468
+ <strong>Adjustable Smart limits</strong> (Standard defaults; range in
1219
1469
  parentheses):
1220
1470
  </p>
1221
1471
  <ul>
1222
- <li>Evaluator requests at once in this cluster - 1 (1 to 4)</li>
1223
- <li>Evaluator requests per hour, whole cluster - 12 (1 to 120)</li>
1224
- <li>Evaluator requests per hour, each member - 3 (1 to 60)</li>
1225
- <li>Automatic wakes per hour, each member - 3 (1 to 60)</li>
1226
- <li>Automatic wakes per armed session - 12 (1 to 200)</li>
1227
- <li>Armed session length - 30 minutes (5 to 240)</li>
1228
- <li>Evaluator time limit - 30 seconds (5 to 120)</li>
1229
- <li>Most mail and context sent per request - 12288 bytes (2048 to 65536)</li>
1230
- <li>Longest evaluator answer - 64 tokens (16 to 512), with the existing visible-character bound. Capped provider requests add 8192 tokens for reasoning without enlarging the visible answer.</li>
1472
+ <li>Evaluator requests at once in this cluster - 2 (1 to 4)</li>
1473
+ <li>Evaluator requests per hour, whole cluster - 48 (1 to 120)</li>
1474
+ <li>Evaluator requests per hour, each member - 12 (1 to 60)</li>
1475
+ <li>Automatic wakes per hour, each member - 10 (1 to 60)</li>
1476
+ <li>Automatic wakes per armed session - 40 (1 to 200)</li>
1477
+ <li>Armed session length - 60 minutes (5 to 240)</li>
1478
+ <li>Evaluator time limit - 45 seconds (5 to 120)</li>
1479
+ <li>Most mail and context sent per request - 16384 bytes (2048 to 65536)</li>
1480
+ <li>Longest evaluator answer - 96 tokens (16 to 512), with the existing visible-character bound. Capped provider requests add 8192 tokens for reasoning without enlarging the visible answer.</li>
1481
+ <li>Maximum chain depth - 24 (1 to 64 turns). A server override takes precedence and is shown in LIMITS.</li>
1231
1482
  </ul>
1232
1483
  <p>
1233
1484
  Limits are counted durably, so a restart never resets them. The
1234
- Rule-based cooldown, per-minute ceiling and chain limit still apply in
1235
- Automatic mode.
1485
+ Rule-based cooldown and per-minute ceiling still apply in
1486
+ Automatic mode. A chain held at its limit leaves mail waiting.
1236
1487
  </p>
1237
1488
  <h4 className="manual-sub">Session expiry and re-arm</h4>
1238
1489
  <p>
1239
1490
  Each Smart arming starts a
1240
- new session. Set <strong>Armed session length</strong> under
1491
+ new session. Set <strong>Armed session length</strong> under{' '}
1241
1492
  <strong> AUTO-PICKUP &gt; LIMITS</strong> before arming: 5 to 240 minutes,
1242
- default 30. The dialog shows minutes remaining and the end time. When
1493
+ default 60. The dialog shows minutes remaining and the end time. When
1243
1494
  the session ends, or after a restart whose budget ledger cannot be read,
1244
1495
  Smart turns itself Off. Mail waits for rearming, Rule-based or NUDGE;
1245
1496
  expiry never grants another wake.
@@ -1351,8 +1602,8 @@ export const clusters: Section[] = [
1351
1602
  body: (
1352
1603
  <>
1353
1604
  <p>
1354
- <Code>cluster_plan_tick</Code> is a fourth peer tool on every cluster
1355
- member, alongside <Code>peer_list</Code> / <Code>peer_send</Code> /{' '}
1605
+ <Code>cluster_plan_tick</Code> is a peer tool on standard cluster
1606
+ members, alongside <Code>peer_list</Code> / <Code>peer_send</Code> /{' '}
1356
1607
  <Code>peer_read</Code>. The <strong>model</strong> calls it mid-turn
1357
1608
  to toggle a single <Code>- [ ]</Code> / <Code>- [x]</Code> checkbox
1358
1609
  in the shared cluster plan.
@@ -1441,7 +1692,7 @@ export const clusters: Section[] = [
1441
1692
  <>
1442
1693
  <p>
1443
1694
  <Code>cluster_plan_write</Code> authors or rewrites the shared plan
1444
- body. It is registered on every cluster member alongside{' '}
1695
+ body. It is registered on standard cluster members alongside{' '}
1445
1696
  <Code>peer_list</Code> / <Code>peer_send</Code> /{' '}
1446
1697
  <Code>peer_read</Code> / <Code>cluster_plan_read</Code> /{' '}
1447
1698
  <Code>cluster_plan_tick</Code>.
@@ -1616,7 +1867,7 @@ export const clusters: Section[] = [
1616
1867
  <Code>DISPATCHER</Code> row.
1617
1868
  </p>
1618
1869
  <p>
1619
- <strong>DISPATCH ONCE</strong> runs one operator-clicked sweep over
1870
+ <strong>DISPATCH ONCE</strong> runs one operator-clicked sweep over{' '}
1620
1871
  <Code>ready</Code> tasks. It fires only tasks that already have an
1621
1872
  explicit idle assignee in the cluster, records a run before starting
1622
1873
  the member&apos;s turn, and logs skipped ready tasks with reason codes.
@@ -1745,7 +1996,7 @@ export const clusters: Section[] = [
1745
1996
  and use the warning colour; ASKED is muted.
1746
1997
  </li>
1747
1998
  <li>
1748
- Click the badge to jump to a task or member. In Narrow layout, the compact
1999
+ Click the badge to jump to a task or member. In Narrow layout, the compact{' '}
1749
2000
  <Code> ! count</Code> includes only WAITING and BLOCKED; optional-only items
1750
2001
  show a plain muted number. Opening the member list moves the summary into
1751
2002
  its header. Choosing a task opens BOARD and closes the member list.
@@ -1756,6 +2007,13 @@ export const clusters: Section[] = [
1756
2007
  reads met. Partial, not-met, and unsigned tasks are left for you.
1757
2008
  </li>
1758
2009
  <li>
2010
+ In a task&apos;s drawer, <Code>APPROVE FOR HANDOFF</Code> approves it as it
2011
+ reads now. If a director turn ends without handing it off, the director chat
2012
+ offers <Code>CONTINUE DIRECTOR</Code> for one turn, or names the idle member
2013
+ whose unread handoff needs <Code>NUDGE</Code>. Editing the task makes the
2014
+ approval stale.
2015
+ </li>
2016
+ <li>
1759
2017
  <Code>SHOW DONE</Code> is on by default and lists done and archived
1760
2018
  tasks; turn it off to hide them (the choice is remembered). Review tasks older than 7 days fold into an{' '}
1761
2019
  <Code>N older</Code> row.
@@ -1958,10 +2216,9 @@ export const clusters: Section[] = [
1958
2216
  A cluster has exactly one shared <Code>cwd</Code> by construction, so
1959
2217
  the four cwd-anchored tabs from the per-workflow RightPanel
1960
2218
  (<Code>GITHUB</Code>, <Code>FILES</Code>, <Code>HISTORY</Code>,{' '}
1961
- <Code>PREVIEW</Code>) are mirrored onto the cluster panel.{' '}They sit to the right of the cluster-scoped tabs (<Code>MEMBERS</Code>,{' '}
1962
- <Code>MAILBOX</Code>, <Code>PLAN</Code>, <Code>ACTIVITY</Code>,{' '}
1963
- <Code>REVIEWS</Code>); the strip wraps onto a second row when the
1964
- panel is narrow.
2219
+ <Code>PREVIEW</Code>) are mirrored onto the cluster panel.{' '}FILES sits in the
2220
+ WORKSPACE group, HISTORY in MEMORY, and PREVIEW and GITHUB in RUNTIME; on a
2221
+ narrow panel the tab row collapses to a grouped dropdown.
1965
2222
  </p>
1966
2223
  <p>
1967
2224
  <strong><Code>GITHUB</Code></strong> and{' '}
@@ -2011,21 +2268,43 @@ export const clusters: Section[] = [
2011
2268
  ),
2012
2269
  },
2013
2270
  {
2271
+ id: 'cluster-gemini-members',
2272
+ group: 'Clusters',
2273
+ title: 'Gemini members',
2274
+ body: (
2275
+ <>
2276
+ <p>
2277
+ A Gemini model (Antigravity CLI) can be a cluster member in any role, including Director. The notice above the conversation lists each Gemini member by name. Choose GEMINI as the provider when creating the cluster, in + ADD FRESH or in REPLACE.
2278
+ </p>
2279
+ <p>
2280
+ Mail to or from a Gemini member waits until you press NUDGE on the recipient. AUTO-PICKUP, Smart pickup, busy reminders, CONTINUE DIRECTOR and messages to several members skip it. Review, edit or cancel the waiting mail in MAILBOX first; the recipient then reads it with <Code>peer_read</Code>.
2281
+ </p>
2282
+ <p>
2283
+ A message typed in a Gemini member&apos;s own composer also starts its turn. Its first NUDGE starts with its role, cluster instructions and available skill list, shown in the conversation. Every NUDGE asks it to read the current plan and mail before acting. The Auto-compaction control names the Gemini members it skips. To compact one manually, send <Code>/compact</Code> in its own session.
2284
+ </p>
2285
+ <p>
2286
+ Gemini members are not isolated outside research. A Gemini Research Director is allowed, and on Linux a Gemini researcher runs in the worker sandbox with the separate Gemini for research sign-in. A Gemini replacement starts with no history.
2287
+ </p>
2288
+ </>
2289
+ ),
2290
+ },
2291
+ {
2014
2292
  id: 'cluster-mailbox-modal',
2015
2293
  group: 'Clusters',
2016
- title: 'Mailbox modal - inspect + cancel',
2294
+ title: 'Mailbox modal - inspect, edit + cancel',
2017
2295
  body: (
2018
2296
  <>
2019
2297
  <p>
2020
- The MAILBOX sub-tab shows one row per member with a pending count. Context is read once per sender through live and sealed history, retaining only a bounded latest delivered-reply fact from history.
2298
+ The MAILBOX sub-tab shows one row per member with a pending count.
2021
2299
  Click a row to open the <strong>mailbox modal</strong> and inspect or
2022
2300
  cancel undrained peer messages.
2023
2301
  </p>
2024
2302
  <p>
2025
2303
  The modal lists every pending peer message addressed to that member,
2026
- with sender + timestamp + full content. Each row has a{' '}
2027
- <Code>CANCEL</Code> button that discards the message before the
2028
- recipient drains it.
2304
+ with sender + timestamp + full content. <Code>EDIT</Code> opens the
2305
+ text in an editable box; <Code>SAVE</Code> replaces it and keeps the
2306
+ sender, time and attachments. A message already read is not saved.{' '}
2307
+ <Code>CANCEL</Code> discards the message before the recipient drains it.
2029
2308
  </p>
2030
2309
  <p>
2031
2310
  Malformed messages are preserved aside and logged once rather than listed
@@ -2108,7 +2387,7 @@ export const clusters: Section[] = [
2108
2387
  </p>
2109
2388
  <p>
2110
2389
  Server-side this <strong>bypasses the per-turn budget and the
2111
- 60-second dedupe window</strong> that constrain model-issued
2390
+ 60-second dedupe window</strong> that constrain model-issued{' '}
2112
2391
  <Code>peer_send</Code> - the operator is in direct control, and
2113
2392
  two clicks on SEND are presumed intentional.{' '}The recipient sees
2114
2393
  no difference between an operator-driven and a model-driven send;
@@ -2294,8 +2573,8 @@ export const clusters: Section[] = [
2294
2573
  </li>
2295
2574
  </ul>
2296
2575
  <p>
2297
- The lookup is reactive - rename a member via the MEMBERS sub-tab
2298
- pencil affordance, or change their role via SET / EDIT, and every
2576
+ The lookup is reactive - rename a member with RENAME on its MEMBERS
2577
+ row, or change their role via SET / EDIT, and every
2299
2578
  existing peer row across all open tabs updates immediately.
2300
2579
  Members without a role set show just the display name.
2301
2580
  </p>