arco-workbench 0.1.7 → 0.1.9
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 +63 -12
- package/README.md +21 -17
- package/client/dist/assets/{PhosphorBackdrop-DVQdBrTw.js → PhosphorBackdrop-DRu16-Is.js} +1 -1
- package/client/dist/assets/{ThemedBackgroundShaderImpl-BfSs2tB4.js → ThemedBackgroundShaderImpl-BLdwwQ4D.js} +1 -1
- package/client/dist/assets/{XtermView-DaMjC8Ny.js → XtermView-Xk7_9JaH.js} +1 -1
- package/client/dist/assets/{galleryEditor-BCQnXj7R.js → galleryEditor-CI8ClzBa.js} +1 -1
- package/client/dist/assets/{index-DD9kFGsF.css → index-BEFgrUJJ.css} +1 -1
- package/client/dist/assets/{index-COfbHCYv.js → index-C7WzZfsr.js} +257 -255
- package/client/dist/index.html +2 -2
- package/client/src/App.tsx +2 -0
- package/client/src/components/ChatMessage.tsx +33 -8
- package/client/src/components/ChatModeView.tsx +2 -0
- package/client/src/components/ClusterRightPanel/ReplaceMemberDialog.tsx +65 -15
- package/client/src/components/ClusterRightPanel/SkillsControl.tsx +124 -0
- package/client/src/components/ClusterRightPanel/index.tsx +4 -0
- package/client/src/components/ClusterTaskBoardTab.tsx +9 -22
- package/client/src/components/CodexLateCommand.tsx +34 -0
- package/client/src/components/DialogShell.tsx +2 -0
- package/client/src/components/MemberCard.tsx +4 -1
- package/client/src/components/MemberPane.tsx +3 -1
- package/client/src/components/NeedsYouBadge.tsx +3 -3
- package/client/src/components/PhoneUpload.tsx +288 -0
- package/client/src/components/PrimaryStatus.tsx +14 -6
- package/client/src/components/ProviderReleasesModal.tsx +8 -4
- package/client/src/components/ProvidersPopover.tsx +28 -23
- package/client/src/components/RuntimeStateBanner.tsx +5 -0
- package/client/src/components/SettingsPanel.tsx +2 -2
- package/client/src/components/SkillEditorDialog.tsx +2 -2
- package/client/src/components/SkillsSettings.tsx +21 -4
- package/client/src/components/TabBar.tsx +91 -9
- package/client/src/components/TerminalInput.tsx +15 -11
- package/client/src/components/TranscriptSendDialog.tsx +12 -8
- package/client/src/components/TranscriptWorkerDialog.tsx +119 -0
- package/client/src/components/WorkflowView.tsx +2 -0
- package/client/src/components/clusterNeedsYou.ts +11 -18
- package/client/src/explorer/ArtifactsLens.tsx +37 -28
- package/client/src/explorer/ExplorerApp.tsx +5 -4
- package/client/src/explorer/types.ts +8 -3
- package/client/src/help/content/cluster.tsx +48 -17
- package/client/src/help/content/composer.tsx +40 -1
- package/client/src/help/content/header.tsx +18 -1
- package/client/src/help/content/misc.tsx +9 -1
- package/client/src/help/content/settings.tsx +18 -4
- package/client/src/help/content/tabbar.tsx +5 -0
- package/client/src/help/manualSections/actions.tsx +31 -0
- package/client/src/help/manualSections/clusters.tsx +44 -20
- package/client/src/help/manualSections/configuration.tsx +20 -0
- package/client/src/help/manualSections/gettingStarted.tsx +4 -4
- package/client/src/help/manualSections/maintenance.tsx +25 -6
- package/client/src/help/manualSections/powerFeatures.tsx +3 -2
- package/client/src/help/manualSections/providers.tsx +32 -8
- package/client/src/help/manualSections/troubleshooting.tsx +2 -1
- package/client/src/help/manualSections/workflows.tsx +12 -0
- package/client/src/help/manualSections/workspace.tsx +36 -0
- package/client/src/stores/appStore.ts +7 -0
- package/client/src/stores/appStore.types.ts +4 -0
- package/client/src/styles/global.css +109 -0
- package/client/src/utils/phoneTheme.ts +38 -0
- package/client/src/utils/phoneUploadApi.ts +10 -0
- package/client/src/utils/transcriptWorkerRequest.ts +24 -0
- package/client/src/ws/handleServerMessage.ts +31 -8
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/CLIENT.md +16 -9
- package/docs/FEATURES.md +13 -7
- package/docs/GETTING_STARTED.md +12 -6
- package/docs/GOTCHAS.md +2 -1
- package/docs/INDEX.md +1 -1
- package/docs/OPERATIONS.md +213 -52
- package/docs/PERSISTENCE.md +7 -2
- package/docs/PRIMITIVES.md +42 -0
- package/docs/PROTOCOL_CLUSTER.md +51 -4
- package/docs/PROTOCOL_PRIMITIVES.md +39 -0
- package/docs/PROVIDERS.md +84 -13
- package/docs/SETTINGS.md +29 -3
- package/docs/TASK_LEDGER.md +7 -15
- 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 +2 -0
- package/node_modules/@arco/shared/dist/clusterCoordination.js +5 -1
- package/node_modules/@arco/shared/dist/protocol/chat.d.ts +1 -0
- package/node_modules/@arco/shared/dist/protocol/clientMessages.d.ts +3 -2
- package/node_modules/@arco/shared/dist/protocol/clusters.d.ts +15 -1
- package/node_modules/@arco/shared/dist/protocol/index.d.ts +1 -0
- package/node_modules/@arco/shared/dist/protocol/index.js +1 -0
- package/node_modules/@arco/shared/dist/protocol/models.d.ts +4 -3
- package/node_modules/@arco/shared/dist/protocol/models.js +26 -2
- package/node_modules/@arco/shared/dist/protocol/serverMessages.d.ts +13 -1
- package/node_modules/@arco/shared/dist/protocol/tasks.d.ts +4 -0
- package/node_modules/@arco/shared/dist/protocol/transcriptWorker.d.ts +47 -0
- package/node_modules/@arco/shared/dist/protocol/transcriptWorker.js +2 -0
- package/node_modules/@arco/shared/dist/protocol/workflows.d.ts +1 -0
- package/node_modules/@arco/shared/dist/runtimeVersions.d.ts +1 -0
- package/node_modules/@arco/shared/dist/runtimeVersions.js +14 -0
- package/node_modules/@arco/shared/package.json +1 -1
- package/package.json +2 -2
- package/scripts/packaging/arco.mjs +1 -1
- package/scripts/packaging/native-repair.mjs +32 -4
- package/server/dist/atomicFile.js +1 -2
- package/server/dist/capabilities.d.ts +5 -2
- package/server/dist/capabilities.js +59 -9
- package/server/dist/cliUpdateDecision.d.ts +1 -1
- package/server/dist/cliUpdateDecision.js +5 -3
- package/server/dist/clusterDirector.js +2 -1
- package/server/dist/clusterPeerOps.js +14 -8
- package/server/dist/clusterProgress.js +1 -1
- package/server/dist/clusterRehydrate.js +2 -0
- package/server/dist/clusterSkills.d.ts +13 -0
- package/server/dist/clusterSkills.js +81 -0
- package/server/dist/clusterSnapshots.js +2 -0
- package/server/dist/clusterStore.d.ts +7 -2
- package/server/dist/clusterStore.js +42 -1
- package/server/dist/diagnostics/codeSkew.js +1 -0
- package/server/dist/eventLog.d.ts +7 -0
- package/server/dist/eventLog.js +70 -13
- package/server/dist/explorerDocs.d.ts +10 -6
- package/server/dist/explorerDocs.js +75 -34
- package/server/dist/historyLimits.d.ts +1 -0
- package/server/dist/historyLimits.js +3 -0
- package/server/dist/http/attachmentUpload.d.ts +13 -0
- package/server/dist/http/attachmentUpload.js +38 -0
- package/server/dist/http/browserWorktrees.d.ts +23 -0
- package/server/dist/http/browserWorktrees.js +120 -0
- 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 +419 -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.js +5 -1
- package/server/dist/http/router.js +14 -25
- package/server/dist/http/writeConfinement.js +19 -2
- package/server/dist/index.js +24 -1
- package/server/dist/jsonlLines.d.ts +4 -0
- package/server/dist/jsonlLines.js +53 -0
- package/server/dist/management/identity.js +1 -0
- package/server/dist/mcp/clusterMcpTools.js +4 -4
- package/server/dist/primitives/seedWorker.d.ts +1 -0
- package/server/dist/primitives/seedWorker.js +2 -1
- package/server/dist/project/taskLedger.d.ts +4 -0
- package/server/dist/project/taskLedger.js +7 -4
- package/server/dist/providerConversation.d.ts +1 -0
- package/server/dist/providerConversation.js +17 -0
- package/server/dist/providers/claude-native/resumeSummary.d.ts +9 -0
- package/server/dist/providers/claude-native/resumeSummary.js +102 -49
- package/server/dist/providers/claude-native/worker.js +8 -4
- package/server/dist/providers/claude.js +2 -1
- package/server/dist/providers/clusterTaskToolDefinitions.js +4 -4
- package/server/dist/providers/codex-appserver/catalog.js +16 -1
- package/server/dist/providers/codex-appserver/heldCommands.d.ts +14 -0
- package/server/dist/providers/codex-appserver/heldCommands.js +54 -0
- package/server/dist/providers/codex-appserver/index.d.ts +52 -2
- package/server/dist/providers/codex-appserver/index.js +239 -21
- package/server/dist/providers/codex-appserver/lateCommands.d.ts +62 -0
- package/server/dist/providers/codex-appserver/lateCommands.js +195 -0
- package/server/dist/providers/codex-appserver/worker.d.ts +23 -1
- package/server/dist/providers/codex-appserver/worker.js +89 -20
- package/server/dist/providers/codex.js +2 -1
- package/server/dist/providers/codexCodeMode.d.ts +2 -1
- package/server/dist/providers/codexCodeMode.js +8 -3
- package/server/dist/providers/cursor/print.js +2 -1
- package/server/dist/providers/cursor/worker.js +2 -1
- package/server/dist/providers/llamacpp.js +17 -8
- package/server/dist/providers/ollamaRecovery.js +6 -6
- package/server/dist/providers/ollamaResilience.js +3 -3
- package/server/dist/providers/ollamaTokens.js +1 -1
- package/server/dist/quota.d.ts +0 -18
- package/server/dist/quota.js +0 -44
- package/server/dist/replacementHistory.d.ts +19 -0
- package/server/dist/replacementHistory.js +49 -0
- package/server/dist/server/broadcast.d.ts +2 -1
- package/server/dist/server/broadcast.js +1 -0
- package/server/dist/server/prompts.d.ts +1 -0
- package/server/dist/server/prompts.js +6 -1
- package/server/dist/sessionJsonl.d.ts +1 -1
- package/server/dist/sessionJsonl.js +115 -40
- package/server/dist/smartPickupAdapters.js +15 -2
- package/server/dist/transcriptWorker.d.ts +34 -0
- package/server/dist/transcriptWorker.js +201 -0
- package/server/dist/workers/WorkerManager.d.ts +1 -0
- package/server/dist/workers/WorkerManager.js +1 -0
- package/server/dist/workers/processKill.d.ts +9 -1
- package/server/dist/workers/processKill.js +26 -10
- package/server/dist/workflowStore.d.ts +1 -0
- package/server/dist/workflowStore.js +31 -0
- package/server/dist/ws/clusterHandlers.d.ts +1 -0
- package/server/dist/ws/clusterHandlers.js +62 -26
- package/server/dist/ws/handoffHandlers.js +7 -2
- package/server/dist/ws/transcriptWorkerHandlers.d.ts +25 -0
- package/server/dist/ws/transcriptWorkerHandlers.js +139 -0
- package/server/dist/ws/turnEngine.js +40 -9
- package/server/dist/ws/updatePrimaryConfig.js +27 -8
- package/server/dist/ws/workflowHandlers.d.ts +4 -1
- package/server/dist/ws/workflowHandlers.js +3 -1
- package/server/package.json +1 -1
- package/server/src/atomicFile.ts +1 -2
- package/server/src/capabilities.ts +58 -17
- package/server/src/cliUpdateDecision.ts +5 -4
- package/server/src/clusterDirector.ts +2 -1
- package/server/src/clusterPeerOps.ts +15 -9
- package/server/src/clusterProgress.ts +1 -1
- package/server/src/clusterRehydrate.ts +2 -0
- package/server/src/clusterSkills.ts +79 -0
- package/server/src/clusterSnapshots.ts +1 -0
- package/server/src/clusterStore.ts +38 -0
- package/server/src/diagnostics/codeSkew.ts +1 -0
- package/server/src/eventLog.ts +73 -13
- package/server/src/explorerDocs.ts +75 -34
- package/server/src/historyLimits.ts +2 -0
- package/server/src/http/attachmentUpload.ts +49 -0
- package/server/src/http/browserWorktrees.ts +124 -0
- 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 +398 -0
- package/server/src/http/phoneUploadTheme.ts +97 -0
- package/server/src/http/projectBinding.ts +3 -2
- package/server/src/http/readConfinement.ts +5 -1
- package/server/src/http/router.ts +12 -26
- package/server/src/http/writeConfinement.ts +13 -2
- package/server/src/index.ts +23 -0
- package/server/src/jsonlLines.ts +52 -0
- package/server/src/management/identity.ts +1 -0
- package/server/src/mcp/clusterMcpTools.ts +4 -4
- package/server/src/primitives/seedWorker.ts +3 -1
- package/server/src/project/taskLedger.ts +7 -5
- package/server/src/providerConversation.ts +15 -0
- package/server/src/providers/claude-native/resumeSummary.ts +98 -50
- package/server/src/providers/claude-native/worker.ts +8 -4
- package/server/src/providers/claude.ts +2 -1
- package/server/src/providers/clusterTaskToolDefinitions.ts +4 -4
- package/server/src/providers/codex-appserver/catalog.ts +14 -1
- package/server/src/providers/codex-appserver/heldCommands.ts +58 -0
- package/server/src/providers/codex-appserver/index.ts +222 -20
- package/server/src/providers/codex-appserver/lateCommands.ts +225 -0
- package/server/src/providers/codex-appserver/worker.ts +85 -21
- package/server/src/providers/codex.ts +2 -1
- package/server/src/providers/codexCodeMode.ts +9 -4
- package/server/src/providers/cursor/print.ts +2 -1
- package/server/src/providers/cursor/worker.ts +2 -1
- package/server/src/providers/llamacpp.ts +18 -7
- package/server/src/providers/llamacppRecovery.ts +2 -0
- package/server/src/providers/ollamaRecovery.ts +6 -6
- package/server/src/providers/ollamaResilience.ts +3 -3
- package/server/src/providers/ollamaTokens.ts +1 -1
- package/server/src/providers/ollamaToolSubset.ts +3 -3
- package/server/src/quota.ts +0 -50
- package/server/src/replacementHistory.ts +44 -0
- package/server/src/server/broadcast.ts +2 -0
- package/server/src/server/prompts.ts +8 -1
- package/server/src/sessionJsonl.ts +92 -32
- package/server/src/smartPickupAdapters.ts +17 -3
- package/server/src/transcriptWorker.ts +182 -0
- package/server/src/workers/WorkerManager.ts +2 -0
- package/server/src/workers/processKill.ts +35 -7
- package/server/src/workflowStore.ts +21 -0
- package/server/src/ws/clusterHandlers.ts +43 -25
- package/server/src/ws/handoffHandlers.ts +7 -1
- package/server/src/ws/transcriptWorkerHandlers.ts +126 -0
- package/server/src/ws/turnEngine.ts +35 -8
- package/server/src/ws/updatePrimaryConfig.ts +25 -6
- package/server/src/ws/workflowHandlers.ts +3 -1
- package/shared/dist/clusterCoordination.d.ts +2 -0
- package/shared/dist/clusterCoordination.js +5 -1
- package/shared/dist/protocol/chat.d.ts +1 -0
- package/shared/dist/protocol/clientMessages.d.ts +3 -2
- package/shared/dist/protocol/clusters.d.ts +15 -1
- package/shared/dist/protocol/index.d.ts +1 -0
- package/shared/dist/protocol/index.js +1 -0
- package/shared/dist/protocol/models.d.ts +4 -3
- package/shared/dist/protocol/models.js +26 -2
- package/shared/dist/protocol/serverMessages.d.ts +13 -1
- package/shared/dist/protocol/tasks.d.ts +4 -0
- package/shared/dist/protocol/transcriptWorker.d.ts +47 -0
- package/shared/dist/protocol/transcriptWorker.js +2 -0
- package/shared/dist/protocol/workflows.d.ts +1 -0
- package/shared/dist/runtimeVersions.d.ts +1 -0
- package/shared/dist/runtimeVersions.js +14 -0
- package/shared/src/clusterCoordination.ts +7 -1
- package/shared/src/protocol/chat.ts +1 -0
- package/shared/src/protocol/clientMessages.ts +5 -0
- package/shared/src/protocol/clusters.ts +20 -6
- package/shared/src/protocol/index.ts +1 -0
- package/shared/src/protocol/models.ts +31 -5
- package/shared/src/protocol/serverMessages.ts +13 -0
- package/shared/src/protocol/settings.ts +2 -3
- package/shared/src/protocol/tasks.ts +4 -7
- package/shared/src/protocol/transcriptWorker.ts +49 -0
- package/shared/src/protocol/workflows.ts +4 -0
- package/shared/src/runtimeVersions.ts +14 -0
package/docs/PROVIDERS.md
CHANGED
|
@@ -22,6 +22,12 @@ Diagnostics uses platform PATH lookup, including Windows PATHEXT suffixes, to fi
|
|
|
22
22
|
|
|
23
23
|
A missing workflow `meta.json` is repaired from the current configuration and any known live provider session id. If that id was already lost, Codex, Cursor and Claude CLI start a new provider conversation on the next message and say so once. Earlier messages stay visible, but are not a promise that the provider received the full earlier transcript. `CTX: -` explains the unavailable conversation or the replacement's pending reading. COMPACT on a lost Codex or Cursor conversation explains that the next message starts a new conversation. Claude Native and local replay-based history do not depend on an external id. See [Persistence](PERSISTENCE.md#metajson).
|
|
24
24
|
|
|
25
|
+
Claude configuration updates accept only `low`, `medium`, `high`, `xhigh` or
|
|
26
|
+
`max` effort. A malformed value is rejected before any fields in the update
|
|
27
|
+
change live state or saved metadata, so it cannot reach the CLI's `--effort`
|
|
28
|
+
argument. The model picker still offers the selected model's supported subset;
|
|
29
|
+
other providers retain their own effort values.
|
|
30
|
+
|
|
25
31
|
## Topics
|
|
26
32
|
|
|
27
33
|
| Topic |
|
|
@@ -76,6 +82,40 @@ ACTIVITY > BACKGROUND lists programs the agent started through a shell tool and
|
|
|
76
82
|
|
|
77
83
|
The tracker matches shell-tool commands to process arguments and follows their known children. Claude CLI, Codex exec and app-server, and Cursor ACP supply these events. Providers without a discoverable child-process id do not feed this process tracker. Native and local tool execution keep their existing task reporting.
|
|
78
84
|
|
|
85
|
+
|
|
86
|
+
When a Codex app-server turn ends with a shell command still running, the Arco
|
|
87
|
+
turn is not over. The tab and cluster member card stay WORKING and name the
|
|
88
|
+
command. When the command ends, Arco starts the next Codex turn on the same
|
|
89
|
+
thread with the command, its run time, exit code and the last 4,000 characters
|
|
90
|
+
of output, and shows a "Command ended" line. To the operator it is one turn.
|
|
91
|
+
This does not depend on AUTO-PICKUP and is never charged as a wake.
|
|
92
|
+
|
|
93
|
+
- One continuation when the last waited-on command ends, or at once when one
|
|
94
|
+
fails. Ends within two seconds of each other go into the same continuation;
|
|
95
|
+
a result that arrives while a Codex turn is running is added to that turn.
|
|
96
|
+
- Limits per Arco turn: 30 minutes of waiting in total and 20 continuations.
|
|
97
|
+
At either limit the turn ends with one line naming what still runs.
|
|
98
|
+
- STOP ends the wait at once and nothing continues afterwards. The command is
|
|
99
|
+
left running; its row in ACTIVITY still records how it ends.
|
|
100
|
+
- A message the operator sends during the wait, or an explicit nudge, ends the
|
|
101
|
+
wait: a steering message becomes the next Codex turn at once, a queued
|
|
102
|
+
follow-up runs next as its own turn and that turn receives the result.
|
|
103
|
+
Peer mail stays in the mailbox as during any turn; AUTO-PICKUP considers it
|
|
104
|
+
once the turn has ended.
|
|
105
|
+
- A program meant to keep running is not waited on: one the shell puts in the
|
|
106
|
+
background (`&`, `nohup`) ends its shell at once, and a known server or
|
|
107
|
+
watcher started in the foreground (`npm run dev`, `vite`, `uvicorn`,
|
|
108
|
+
`python -m http.server`, `--watch`, `tail -f`, `docker compose up` without
|
|
109
|
+
`-d`) is shown as running without holding the turn. Codex is told to start
|
|
110
|
+
such programs in the background.
|
|
111
|
+
- Losing the Codex connection, or Codex closing the thread, ends the wait with
|
|
112
|
+
the existing lost-result line.
|
|
113
|
+
|
|
114
|
+
A command that is not waited on keeps the "still running" line for up to five
|
|
115
|
+
minutes after the turn; ACTIVITY keeps its later exit on the original command.
|
|
116
|
+
The wait applies only to the app-server transport; `codex exec` ends its
|
|
117
|
+
process with the turn.
|
|
118
|
+
|
|
79
119
|
## The provider abstraction
|
|
80
120
|
|
|
81
121
|
Every provider implements `ProviderProcess` from `server/src/providers/types.ts`:
|
|
@@ -706,6 +746,8 @@ Native sessions are Arco-internal - there's no `~/.claude/projects/<sid>.jsonl`
|
|
|
706
746
|
|
|
707
747
|
On `ensureStarted`, if the workflow's `events.jsonl` has prior `user_message_echo` + `primary_text` entries, the worker reconstructs `this.messages` from them so a server restart picks up where it left off (replay-only - periodic snapshot deferred per 14 Q7). The reconstructed shape is logged to stderr under `[claude-native:<wfid>]` for forensic comparison; tool_use / tool_result events are not replayed (the next turn sees a clean USER/ASSISTANT history).
|
|
708
748
|
|
|
749
|
+
For histories using summary-and-tail replay, the older-turn resume digest is capped at 128 KiB (the same shared byte budget as replacement RECENT HISTORY). Existing compaction context and its kept-tail digest have priority; oldest whole turn notes are left out first. The same plain sentence tells the agent and the tab how many earlier turn notes were omitted. If compacted context alone exceeds the budget, it is shortened at a UTF-8 boundary, preserving its tail first, and that line says so. Histories and recent exact replay are unchanged; fitting digests remain byte-identical. Fitting existing summary caches stay valid; an oversized cached digest is rebuilt under the cap.
|
|
750
|
+
|
|
709
751
|
**Restore points / forks (Native-first).** A `revert_to_point_request` (HistoryTab "REWIND CONVERSATION" action) makes the server append a `leaf_move` event and set `meta.leafSeq`; a branch-aware replay pre-pass (`filterEventsToBranch` in `resumeSummary.ts`, driven by `replayMessagesWithResumePolicy`) then reconstructs `messages` along the active leaf only (absent `leafSeq` ⇒ byte-identical to the old linear replay). The rewind is reversible - "undo the undo" is just another `leaf_move`. Native-first: the button stays visible for every provider, disabled with the reason beside it when the worker is not Claude Native, and the server refuses those requests. `branch_summary` is RESERVED and unemitted - forks ship via `leaf_move`, not `branch_summary`. This is the active-branch behavior used when resuming the conversation.
|
|
710
752
|
|
|
711
753
|
#### Context management
|
|
@@ -1059,10 +1101,12 @@ The first-time-enable warning is a global flag - `settings.codex.appserverWarnin
|
|
|
1059
1101
|
|
|
1060
1102
|
#### Live model catalog
|
|
1061
1103
|
|
|
1062
|
-
`server/src/providers/codex-appserver/catalog.ts` mirrors the Claude catalog pattern: spawns a short-lived `codex app-server` once an hour to call the JSON-RPC `model/list` method, distills the response into a flat picker shape (`supportedReasoningEfforts` ascending, `description`, `defaultReasoningEffort`, `supportsImageInput`, `supportsPersonality`, `additionalSpeedTiers`), and caches in-memory for `REFRESH_INTERVAL_MS = 60 * 60 * 1000`. Refresh is lazy (next request after expiry); `?force=1` on `GET /api/codex/catalog` bypasses the cache.
|
|
1104
|
+
`server/src/providers/codex-appserver/catalog.ts` mirrors the Claude catalog pattern: spawns a short-lived `codex app-server` once an hour to call the JSON-RPC `model/list` method, distills the response into a flat picker shape (`supportedReasoningEfforts` ascending, `description`, `defaultReasoningEffort`, `supportsImageInput`, `supportsPersonality`, `additionalSpeedTiers`), and caches in-memory for `REFRESH_INTERVAL_MS = 60 * 60 * 1000`. Refresh is lazy (next request after expiry); `?force=1` on `GET /api/codex/catalog` bypasses the cache. A change to that account's `models_cache.json` also invalidates the snapshot on the next request, so a catalog refreshed by the Codex CLI does not wait for the hourly TTL. Failed refreshes retain the prior snapshot without renewing its timestamp.
|
|
1063
1105
|
|
|
1064
1106
|
**Per-account (multi-profile).** Codex is the only provider with per-account auth profiles (HOME / WORK), and model *availability* is entitlement-gated per account - a higher-tier WORK plan sees e.g. `gpt-5.6-sol` where HOME sees only Terra/Luna. So the cache is a `Map` keyed by `codexHome`: each profile is fetched by spawning app-server with that `CODEX_HOME` (the same seam `probeCodexLoggedIn` and both turn transports use). `GET /api/codex/catalog?account=<profileId>` resolves via `resolveProviderAccount('codex', id)` → `codexHome` (omit → ambient `~/.codex`; unknown id → first configured account). Client-side, `App.tsx` polls each configured profile into the `codexCatalogByAccount` store map; account-aware pickers read it via the `useCodexCatalogFor(accountRef)` hook (ConfigTab, TerminalInput, SpawnDialog, WorkflowCreator, AddWorkerSection), so flipping the ACCOUNT PROFILE toggle re-filters the model list live. The plain `codexCatalog` slice remains the default-account fallback for account-less surfaces (Handoff / Review / RunAs / TabContextMenu). Model *capabilities* (efforts, image input) are account-independent, so `getCachedCodexModelCapabilities` unions across every cached snapshot.
|
|
1065
1107
|
|
|
1108
|
+
The cold fallback includes `gpt-6.2-sol` and `gpt-6.2-astra`; Sol is the cold default, while a live account catalog supplies its own default and availability. Both currently advertise low through ultra effort and image input. The observed standard/MAX context values are 500,000/872,000 for Sol and 272,000/872,000 for Astra, with a 95% effective margin. Existing MAX policy, runtime window reporting and code-mode detection read these values without a model-name special case. The browser continues to poll every 30 minutes; reloading the page requests the catalog sooner without restarting Arco.
|
|
1109
|
+
|
|
1066
1110
|
Two consumers:
|
|
1067
1111
|
|
|
1068
1112
|
1. **Picker** - client polls `/api/codex/catalog` (per profile, see above) every 30 minutes. WorkflowCreator, SpawnDialog, HandoffDialog, ReviewDialog, RunAsPicker, RightPanel, and the TerminalInput chip popover all read from `codexCatalog` (or the account-scoped `useCodexCatalogFor`) with the static `CODEX_MODELS` list as cold-start fallback. The catalog's `description` field surfaces as the picker subline / pill `title=` tooltip ("Frontier model for complex coding...", "Ultra-fast coding model.", etc).
|
|
@@ -1145,6 +1189,20 @@ against isolated Vite with all API/WebSocket traffic stubbed.
|
|
|
1145
1189
|
|
|
1146
1190
|
## Cursor
|
|
1147
1191
|
|
|
1192
|
+
In the PROVIDERS panel, clicking CURSOR runs the existing `cursor-agent update`
|
|
1193
|
+
command and probes that CLI again. It never runs npm or an installation script
|
|
1194
|
+
as a fallback. The row uses the existing one-line update result and keeps a
|
|
1195
|
+
separate CURSOR CHANGELOG link. An updater failure remains a failure even if
|
|
1196
|
+
the old CLI still works; an unreadable version after the update is also a failure.
|
|
1197
|
+
|
|
1198
|
+
The update flag reads the dated version embedded in the public
|
|
1199
|
+
[Cursor installer](https://cursor.com/install) as bounded text, without executing
|
|
1200
|
+
it. A missing, malformed or unavailable value leaves the latest version unknown
|
|
1201
|
+
and shows no flag; the update action still works. Date-stamped builds compare by
|
|
1202
|
+
date. Different hashes on the same date have no known ordering, so they do not
|
|
1203
|
+
produce an update flag. An unchanged version is called latest only when the
|
|
1204
|
+
published version can be compared and confirms it.
|
|
1205
|
+
|
|
1148
1206
|
ACP and print output decode UTF-8 across pipe chunks, preserving multibyte text and filenames. Cancelling native compression finishes its cancellation wait when compression settles; its fallback timer cannot kill a later turn.
|
|
1149
1207
|
|
|
1150
1208
|
`server/src/providers/cursor/` - a long-lived per-workflow ACP worker (`worker.ts`) driving
|
|
@@ -1715,7 +1773,7 @@ tokens and milliseconds, summed across tool rounds. `primary_complete.genSpeed`
|
|
|
1715
1773
|
drives the Agent and Chat composer readout after each turn, excluding tool time.
|
|
1716
1774
|
PROVIDERS displays the installed engine from `/v1/status` and compares GitHub
|
|
1717
1775
|
releases at boot and every four hours; newer releases turn yellow and link to
|
|
1718
|
-
upstream release notes. FREE VRAM uses `/v1/unload` only on loopback, refuses
|
|
1776
|
+
upstream release notes. Opening the notes closes PROVIDERS; the release window is placed above the workspace and returns focus to the provider button when closed. FREE VRAM uses `/v1/unload` only on loopback, refuses
|
|
1719
1777
|
active local turns and reviewers, and blocks new local turns during unloading.
|
|
1720
1778
|
It also unloads local Ollama, managed llama.cpp and LM Studio LLMs, including
|
|
1721
1779
|
providers hidden in the picker. No model files or configured limits change.
|
|
@@ -1908,6 +1966,15 @@ OpenAI fragment-assembly: tool calls arrive across multiple SSE events, partial
|
|
|
1908
1966
|
|
|
1909
1967
|
Operator-declared in the catalog; no `--show`-equivalent on llama-server. Setting `capabilities.vision: true` without an `mmprojPath` is allowed (the validator doesn't reject it) but the provider drops images and emits a system_notice - guard at the UI layer where useful.
|
|
1910
1968
|
|
|
1969
|
+
The version check reads the newest numeric `b<build>` tag among the 20 most
|
|
1970
|
+
recent published GitHub releases, excluding drafts. Published daily builds
|
|
1971
|
+
marked as prereleases are included. The
|
|
1972
|
+
existing PROVIDERS row compares that build with the installed binary's build
|
|
1973
|
+
number and marks an older build. Semantic milestone versions are not used as
|
|
1974
|
+
build numbers. An unavailable feed or unknown build leaves the flag unset.
|
|
1975
|
+
Clicking the row still opens upstream releases; updates remain manual and no
|
|
1976
|
+
binary or model is installed or loaded.
|
|
1977
|
+
|
|
1911
1978
|
### Quirks
|
|
1912
1979
|
|
|
1913
1980
|
- **Cold-start latency.** First turn after a switch is 20-30s for a 17GB GGUF (mmap + VRAM transfer). UI shows nothing useful during this window today; status is queryable via `GET /api/llamacpp-live`.
|
|
@@ -1921,24 +1988,27 @@ Operator-declared in the catalog; no `--show`-equivalent on llama-server. Settin
|
|
|
1921
1988
|
|
|
1922
1989
|
### Auto-recovery
|
|
1923
1990
|
|
|
1924
|
-
Local thinking models fail in three specific ways that the lifecycle alone can't handle: reasoning runaway (model emits `reasoning_content` for minutes without ever committing), tool-cap exhaustion (
|
|
1991
|
+
Local thinking models fail in three specific ways that the lifecycle alone can't handle: reasoning runaway (model emits `reasoning_content` for minutes without ever committing), tool-cap exhaustion (25-turn cap fires on legitimately long work), and context fill (96K cap is small compared to Claude). The provider runs an in-place auto-recovery system that keeps the conversation going without operator intervention.
|
|
1925
1992
|
|
|
1926
1993
|
Distinct from the heavyweight Handoff primitive (which spawns a fresh workflow with a chosen summarizer model - tuned for Claude/Codex flows). Auto-recovery operates inside the same worker on the same workflow, just intelligently resetting the in-memory message stack when something goes sideways.
|
|
1927
1994
|
|
|
1928
|
-
|
|
1995
|
+
Each reply has a wall-clock limit of `ARCO_LLAMACPP_TURN_BUDGET_MS` (default 120s), even while text keeps arriving, and a no-data limit of `ARCO_LLAMACPP_STALL_TIMEOUT_MS` (default 90s). Both limits also apply when `ARCO_LLAMACPP_AUTO_RECOVER=off`. With recovery off, Arco cancels the stream, attempts to free its slot and reports one plain error without retrying. The wall-clock timer includes the request and resets for each reply in a tool loop.
|
|
1996
|
+
|
|
1997
|
+
With automatic recovery enabled (the default), the existing shared recovery budget and final-summary attempt remain in effect. The main detection paths are:
|
|
1929
1998
|
|
|
1930
1999
|
| Trigger | Detection | Recovery |
|
|
1931
2000
|
|---|---|---|
|
|
1932
|
-
| Reasoning runaway | `reasoning_content` exceeds `ARCO_LLAMACPP_REASONING_BUDGET` tokens (default
|
|
2001
|
+
| Reasoning runaway | `reasoning_content` exceeds `ARCO_LLAMACPP_REASONING_BUDGET` tokens (default 4000) | Abort stream, inject a fake assistant + user pair telling the model to commit to action. Continue. |
|
|
1933
2002
|
| Stream stall | No SSE event for `ARCO_LLAMACPP_STALL_TIMEOUT_MS` (default 90s) | Abort stream, build deterministic summary of progress so far, inject as user message, continue. |
|
|
1934
|
-
|
|
|
2003
|
+
| Wall-clock limit | A reply reaches `ARCO_LLAMACPP_TURN_BUDGET_MS` (default 120s), even with stream data arriving | Abort stream, inject a deterministic recap and continue within the existing recovery budget. |
|
|
2004
|
+
| Tool-cap hit | `MAX_TOOL_TURNS` (default 25) exhausted without final answer | Build deterministic recap of tool calls + files, inject as user message asking to continue or wrap up, reset counter. |
|
|
1935
2005
|
| Context fill | `lastInputTokens / ctxSize >= ARCO_LLAMACPP_COMPACT_THRESHOLD` (default 0.85), checked at clean turn boundaries only | Warn-only `system_notice` suggesting Handoff. The old in-turn compaction was removed 2026-09-25: it replaced a local message array (the next turn rebuilt the full transcript and overflowed again), streamed its summary into the persisted answer, and paid a generation every over-threshold turn. |
|
|
1936
2006
|
|
|
1937
|
-
The
|
|
2007
|
+
The recovering paths share one budget (the context-fill row only warns and no longer spends it): `ARCO_LLAMACPP_MAX_RECOVERIES` (default 1 per operator turn). Once exhausted, the provider requests one final summary before terminating if that attempt also fails. Each recovery emits a `system_notice` so the operator sees what happened without having to dig through logs.
|
|
1938
2008
|
|
|
1939
2009
|
The deterministic-summary path (used by stall + tool-cap recovery) walks the message stack and extracts: tools used + counts, files read, files written, last 10 Bash commands, last 3 substantial assistant text snippets. No LLM call required - works even when the model is unresponsive.
|
|
1940
2010
|
|
|
1941
|
-
The
|
|
2011
|
+
The context-fill path only warns and suggests Handoff. It does not make a compaction model call or replace the conversation history.
|
|
1942
2012
|
|
|
1943
2013
|
### Environment overrides
|
|
1944
2014
|
|
|
@@ -1948,12 +2018,13 @@ The compaction path (context fill) does require a model call. The model summariz
|
|
|
1948
2018
|
| `ARCO_LLAMACPP_PORT` | `8923` | Port the manager spawns llama-server on |
|
|
1949
2019
|
| `ARCO_LLAMACPP_HOST` | `127.0.0.1` | Bind host |
|
|
1950
2020
|
| `ARCO_LLAMACPP_KEEPALIVE_MS` | `600000` (10 min) | Idle eviction window. `0` = never evict. |
|
|
1951
|
-
| `ARCO_LLAMACPP_MAX_TOOL_TURNS` | `
|
|
1952
|
-
| `ARCO_LLAMACPP_AUTO_RECOVER` | `true` |
|
|
1953
|
-
| `ARCO_LLAMACPP_REASONING_BUDGET` | `
|
|
2021
|
+
| `ARCO_LLAMACPP_MAX_TOOL_TURNS` | `25` | Tool-loop iterations per operator turn before recovery (or failure if recovery exhausted) |
|
|
2022
|
+
| `ARCO_LLAMACPP_AUTO_RECOVER` | `true` | Enable recovery attempts; `off` still enforces the time limits |
|
|
2023
|
+
| `ARCO_LLAMACPP_REASONING_BUDGET` | `4000` | Reasoning tokens before runaway intervention |
|
|
1954
2024
|
| `ARCO_LLAMACPP_COMPACT_THRESHOLD` | `0.85` | Context fill fraction that raises the suggest-Handoff notice |
|
|
1955
|
-
| `ARCO_LLAMACPP_MAX_RECOVERIES` | `
|
|
1956
|
-
| `ARCO_LLAMACPP_STALL_TIMEOUT_MS` | `90000` |
|
|
2025
|
+
| `ARCO_LLAMACPP_MAX_RECOVERIES` | `1` | Total auto-recovery actions per operator turn |
|
|
2026
|
+
| `ARCO_LLAMACPP_STALL_TIMEOUT_MS` | `90000` | No stream data limit, enforced even with recovery off; range 10000-600000 ms |
|
|
2027
|
+
| `ARCO_LLAMACPP_TURN_BUDGET_MS` | `120000` | Wall-clock limit per reply, enforced even with recovery off; range 10000-1800000 ms |
|
|
1957
2028
|
| `ARCO_LOOP_COACH_THRESHOLD` | `2` | Identical (tool, args) calls before loop coach fires (shared with Ollama) |
|
|
1958
2029
|
|
|
1959
2030
|
---
|
package/docs/SETTINGS.md
CHANGED
|
@@ -76,7 +76,7 @@ Sections: 29.
|
|
|
76
76
|
| `auto-handoff-defaults` | Agents and clusters | Auto-handoff defaults | Global, for new workflows | Off by default; hand off after N compactions (default 5, 1 to 20) and summarizer, with Quick or written modes |
|
|
77
77
|
| `utility-agent` | Agents and clusters | Utility agent | Global | Provider and model for side jobs (Claude Native, Cursor, Codex, Ollama, LM Studio, llama.cpp, Strata, or DeepSeek through Xolotl); TEST, CLEAR; not chosen until saved. See [Utility agent](#utility-agent) |
|
|
78
78
|
| `notification-channels` | Notifications | Desktop and phone notifications | Global (switches kept by the server; the desktop permission is per browser) | Events (finished, failed, waiting) by place (this computer, phone); browser permission and desktop TEST; SHOW IN BELL controls quiet notices for other tabs; ntfy server, topic with GENERATE, optional token, TEST; message text switch; cluster finished source. See [Notifications](NOTIFICATIONS.md) |
|
|
79
|
-
| `board-auto-done` | Agents and clusters | Board auto-done | Global |
|
|
79
|
+
| `board-auto-done` | Agents and clusters | Board auto-done | Global | On by default; a new director met sign-off closes its task on the server |
|
|
80
80
|
| `skills` | Agents and clusters | Skills | Global or project (the active tab's folder) | Global and project skill lists with extra files, import source and missing referenced skills; NEW, EDIT, delete, IMPORT, UPDATE, TURN OFF/ON, MOVE TO GLOBAL/PROJECT, DUPLICATE, SHARE WITH REPOSITORY |
|
|
81
81
|
| `handoff-prompts` | Agents and clusters | Handoff prompts | Global or project (the active tab's folder) | Handoff prompt overrides per mode |
|
|
82
82
|
| `voice-setup` | Voice | Voice setup | Global | Local speech status, install log, microphone test, test phrase, model notices |
|
|
@@ -187,8 +187,16 @@ Smart: Automatic (wake proposals may start a turn after server gates and
|
|
|
187
187
|
limits; evaluator errors instead attempt ordinary pickup once through those same gates, never over a valid wait/ask or expired session). Smart modes need an evaluator (Claude Native, Cursor, Codex, Ollama, LM Studio, llama.cpp, Strata or DeepSeek through Xolotl). The same provider limits apply to the utility agent.
|
|
188
188
|
Change **Armed session length** under **AUTO-PICKUP > LIMITS** before arming (5 to 240 minutes, default 30). The dialog shows minutes remaining; expiry turns Smart Off and leaves mail waiting. The chip hover and accessible description explain failures, fallback and expiry. Capped evaluator requests have 8192 tokens of reasoning headroom above the visible-answer limit.
|
|
189
189
|
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
**PAUSE** beside TURN OFF stops automatic wakes, Smart evaluator requests and
|
|
191
|
+
busy reminders while keeping the mode, armed session and wake counts. The chip
|
|
192
|
+
says PAUSED. The Smart session clock freezes at the time left; hourly limits
|
|
193
|
+
keep real time. Mail stays waiting; NUDGE and running turns still work.
|
|
194
|
+
**RESUME** needs no confirmation and wakes each idle member with mail waiting
|
|
195
|
+
once through the ordinary pickup path (Observe-only still only records).
|
|
196
|
+
**RESET BUDGET** starts a fresh Rule-based arming budget and is separate from
|
|
197
|
+
RESUME; it is refused while paused. TURN OFF clears the pause and ends the
|
|
198
|
+
session. Limits, session expiry, STOP holds and counters are described in the
|
|
199
|
+
in-app manual section AUTO-PICKUP and Smart pickup and in
|
|
192
200
|
[cluster protocol](PROTOCOL_CLUSTER.md). Evaluator request contents and adapter
|
|
193
201
|
boundaries are in [SECURITY.md](../SECURITY.md#utility-agent-and-smart-auto-pickup-evaluator-requests).
|
|
194
202
|
|
|
@@ -208,6 +216,24 @@ ignored. `ARCO_CLUSTER_ALLOW_MULTIPLE_LOCAL=1` lifts the limit.
|
|
|
208
216
|
|
|
209
217
|
### Built-in skills
|
|
210
218
|
|
|
219
|
+
Settings > SKILLS offers PIN TO TAB for an Agent tab and PIN TO CLUSTER for all
|
|
220
|
+
members or one exact saved role, including a custom role. Project skills are
|
|
221
|
+
limited to their project; global skills can target any open tab or cluster. The
|
|
222
|
+
active tab or its cluster is selected when eligible. After a pin is saved,
|
|
223
|
+
Settings shows the skill, destination and role in one line.
|
|
224
|
+
The cluster SKILLS button beside EFFICIENCY lists sources, scope and availability.
|
|
225
|
+
ADD SKILL pins an available skill to all members or one role; UNPIN removes a pin. New and replaced members inherit cluster pins automatically;
|
|
226
|
+
only the operator controls them. A member's FROM CLUSTER button opens the same
|
|
227
|
+
list without mixing inherited pins into its direct tab settings.
|
|
228
|
+
|
|
229
|
+
The effective union is limited to 12 unique skills and 64 KiB of body text.
|
|
230
|
+
An addition that exceeds it is refused. Duplicates apply once. Missing or off
|
|
231
|
+
skills are skipped but stay visible for removal; moved or deleted references
|
|
232
|
+
are not silently retargeted. Edits are read next turn, and a skill that grows
|
|
233
|
+
beyond the limit is reported in the conversation. Pinning a project skill
|
|
234
|
+
explicitly approves that text even with project trust off. Save an EDITABLE
|
|
235
|
+
COPY before pinning a built-in skill. No pins are added by default.
|
|
236
|
+
|
|
211
237
|
Skill descriptions can be up to 300 characters. Settings > SKILLS lists the built-in skills with an OPERATOR or MODEL badge, TURN OFF and TURN ON. The composer SKILLS menu runs them or creates an EDITABLE COPY. A project or global skill with the same name replaces the built-in. Operator-run (slash): grill-me, grill-with-docs, wait-what, retro; Architecture review via `/improve-codebase-architecture`. Model-invoked (manifest / MODEL badge): proportionate-testing (Arco-owned), grilling, domain-modeling, tdd, diagnosing-bugs, codebase-design, prototype, writing-for-agents. `proportionate-testing` controls how much to test; `tdd` controls how to write one test. Keep it on to ask agents for one test per real fault and operator approval before new suites, gates, tooling or CI checks. Built-in third-party skills and their license are listed in [THIRD_PARTY_NOTICES](../THIRD_PARTY_NOTICES).
|
|
212
238
|
|
|
213
239
|
## Save outcomes and rapid edits
|
package/docs/TASK_LEDGER.md
CHANGED
|
@@ -59,17 +59,13 @@ Mutations are serialized **per-cwd** through a promise chain
|
|
|
59
59
|
(`server/src/ws/taskLedgerHandlers.ts`) so two tabs sharing one cwd cannot
|
|
60
60
|
clobber each other's load-mutate-save round.
|
|
61
61
|
|
|
62
|
-
##
|
|
62
|
+
## Terminal status and director sign-off
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
`status: 'archived'`.** No auto-done. Worker/model completion reports may be
|
|
66
|
-
recorded as reviewable evidence, but they are advisory and never derive a
|
|
67
|
-
terminal status by themselves.
|
|
64
|
+
Direct worker status changes cannot set `done` or `archived`. A director's new `met` sign-off closes the task on the server when Board auto-done is on. Worker completion reports remain reviewable evidence and do not close tasks.
|
|
68
65
|
|
|
69
66
|
- `newTask()` always produces `status: 'todo'`, there is no create-as-done
|
|
70
67
|
path.
|
|
71
|
-
- `applyUpdate()`
|
|
72
|
-
only when the operator's `task_ledger_update` patch carries that status.
|
|
68
|
+
- `applyUpdate()` sets terminal statuses when the operator requests them or when a director submits a `met` sign-off with Board auto-done enabled.
|
|
73
69
|
- `rebuildFromEvents()` only replays recorded operator events; it never derives
|
|
74
70
|
a status.
|
|
75
71
|
|
|
@@ -339,7 +335,7 @@ in the comment metadata, not in any separate field on the task itself.
|
|
|
339
335
|
|
|
340
336
|
**Terminal-status gate.** Items targeting `done` or `archived` (in
|
|
341
337
|
`task_create.status` or `task_update.patch.status`) are rejected before any
|
|
342
|
-
mutation fires. The
|
|
338
|
+
mutation fires. The proposal path does not mark tasks done.
|
|
343
339
|
|
|
344
340
|
**Inert suggestions.** The `OrchestrationAssistModelRef` on a proposal may
|
|
345
341
|
carry `provider` / `model` / `effort` suggestions. These are stored verbatim for
|
|
@@ -354,7 +350,7 @@ The D1 operator-confirmed terminal-status invariant is re-enforced here:
|
|
|
354
350
|
`operator_gated` *before* it touches the ledger. Workers may set only
|
|
355
351
|
`triage` / `todo` / `ready` / `in_progress` / `blocked` / `review`; they report
|
|
356
352
|
completion through `cluster_task_complete` (which moves to `review`) or via
|
|
357
|
-
`peer_send
|
|
353
|
+
`peer_send`. A director met sign-off can close the task if Board auto-done is enabled. The operator's
|
|
358
354
|
`task_ledger_update` WS path still reaches `applyUpdate` with terminal statuses
|
|
359
355
|
and succeeds. Asserted by `scripts/smoke/task-board.ts` steps (d) + (e).
|
|
360
356
|
Dependency graph behavior is asserted by `scripts/smoke/task-dependencies.ts`;
|
|
@@ -383,11 +379,7 @@ the same `task_ledger_update` path as the LEDGER tab; workers cannot do this)
|
|
|
383
379
|
and **RECHECK** (sends a templated note to the sign-off author). **ACCEPT ALL
|
|
384
380
|
MET** accepts every visible review task whose sign-off reads met. Done tasks
|
|
385
381
|
are shown by default and hidden when **SHOW DONE** is turned off (remembered); review tasks older than seven days fold behind
|
|
386
|
-
an older-count row.
|
|
387
|
-
tasks with a director sign-off, tasks blocked on an operator decision, and
|
|
388
|
-
members waiting on an answer; selecting an item opens the board or focuses that
|
|
389
|
-
member. Settings > Agents and clusters **Board auto-done** (off by default)
|
|
390
|
-
marks a met review task done without a separate ACCEPT click. The Board and Plan
|
|
382
|
+
an older-count row. The attention badge above the member cards counts tasks blocked on an operator decision and members with questions. Settings > Agents and clusters **Board auto-done** is on by default and closes a task on a new director met sign-off. Turn it off to accept tasks yourself; existing review tasks are not closed retroactively. The Board and Plan
|
|
391
383
|
tabs each carry a one-line purpose label so the two stay distinct.
|
|
392
384
|
|
|
393
385
|
**Release labels.** A task may carry an optional `release` label (for example `0.1.4`, at most 24 characters) set from the card drawer's RELEASE field or by the director through `cluster_task_create` / `cluster_task_update` (an empty string clears it). When any task is labeled, the board header offers a release filter (ALL RELEASES, each label, NO RELEASE); a chosen label shows how many tasks are in it, how many the operator accepted (done) and how many are left, and reads READY TO RELEASE when none are left. CATCH ME UP lists board changes in its range with their release label and adds a one-line movement summary; BRIEF on a cluster adds the board totals, release progress and the last day's movement. Boards with no labels, and ledgers written before labels existed, look and load as before.
|
|
@@ -483,6 +475,6 @@ reserved during claim persistence, then receives the validated task in its turn.
|
|
|
483
475
|
|
|
484
476
|
## Cluster attention and REVIEW drawers
|
|
485
477
|
|
|
486
|
-
The cluster member-header badge names
|
|
478
|
+
The cluster member-header badge names WAITING, BLOCKED and ASKED. Only WAITING and BLOCKED use warning colour and count in the compact mark; signed-off tasks do not appear.
|
|
487
479
|
|
|
488
480
|
A REVIEW drawer starts with the sign-off author, verdict and summary, or No sign-off yet. ACCEPT uses the same operator status update as its board card; RECHECK uses the existing request to the sign-off author and is unavailable without a suitable author/sender. Accepting is optional. Edit is below this summary and closed initially for REVIEW; every other status retains its existing layout. Overview, references, comments, recovery and run history remain available.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type ClusterEfficiencyLevel, type ClusterMessageGuard } from './protocol/clusters.js';
|
|
2
2
|
export declare const isClusterDirector: (role?: string) => boolean;
|
|
3
|
+
export declare const AGENT_TURN_WAIT = "For standalone agents and non-Director cluster members: when a report depends on a build, test run or CI result, wait inside the turn in steps of at most 120 seconds each, repeated as many times as the job needs. Use a foreground command within the tool timeout or check a background run between steps. Between waits, check for new messages (peer_read in a cluster) and act on them. Report when the result is in. End the turn early only when blocked or when the job clearly cannot finish within a reasonable time; then state in one line what you are waiting on and that you need a nudge. When you report progress or answer a question while assigned work is unfinished, continue that work in the same turn; end the turn only when it is done or with one stated blocker.";
|
|
4
|
+
export declare function buildTurnWaitInstructions(role?: string): string;
|
|
3
5
|
/** Explain why a role list cannot be used for a new cluster. */
|
|
4
6
|
export declare function clusterDirectorProblem(roles: readonly (string | undefined)[]): string | null;
|
|
5
7
|
export declare function buildClusterCoordination(level?: ClusterEfficiencyLevel, note?: string, role?: string): string;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
// Shared deterministic coordination wording for worker prompts and operator nudges.
|
|
2
2
|
import { CLUSTER_EFFICIENCY_ADDENDUM_MAX } from './protocol/clusters.js';
|
|
3
3
|
export const isClusterDirector = (role) => /^\s*(?:director|coordinator)\b/i.test(role ?? '');
|
|
4
|
+
const DIRECTOR_TURN_WAIT = 'Do not wait inside a turn for long-running checks: never sleep or poll for more than 60 seconds at a time. Start long runs in the background or hand them off, report what is running, and end the turn.';
|
|
5
|
+
export const AGENT_TURN_WAIT = 'For standalone agents and non-Director cluster members: when a report depends on a build, test run or CI result, wait inside the turn in steps of at most 120 seconds each, repeated as many times as the job needs. Use a foreground command within the tool timeout or check a background run between steps. Between waits, check for new messages (peer_read in a cluster) and act on them. Report when the result is in. End the turn early only when blocked or when the job clearly cannot finish within a reasonable time; then state in one line what you are waiting on and that you need a nudge. When you report progress or answer a question while assigned work is unfinished, continue that work in the same turn; end the turn only when it is done or with one stated blocker.';
|
|
6
|
+
export function buildTurnWaitInstructions(role) {
|
|
7
|
+
return isClusterDirector(role) ? DIRECTOR_TURN_WAIT : AGENT_TURN_WAIT;
|
|
8
|
+
}
|
|
4
9
|
/** Explain why a role list cannot be used for a new cluster. */
|
|
5
10
|
export function clusterDirectorProblem(roles) {
|
|
6
11
|
return roles.filter(isClusterDirector).length > 1
|
|
@@ -12,7 +17,6 @@ export function buildClusterCoordination(level = 'thorough', note, role) {
|
|
|
12
17
|
lines.push('Efficiency guides coordination and testing. Message guards, safety checks, operator-requested review and landing review stay unchanged.');
|
|
13
18
|
lines.push('Before sending, check that the message gives the recipient something to act on or something it is waiting for. A closing note to a member whose work is finished (landed, thanks, nothing further) does neither; record it on the board instead.');
|
|
14
19
|
lines.push("When a report states the sender's next step, no reply approves it; reply only to change that step, answer a question, or assign other work. Reports that continue on their own end with their next step.");
|
|
15
|
-
lines.push('Do not wait inside a turn for long-running checks: never sleep or poll for more than 60 seconds at a time. Start long runs in the background or hand them off, report what is running, and end the turn.');
|
|
16
20
|
if (isClusterDirector(role)) {
|
|
17
21
|
lines.push('Assign complete outcomes with exact placement, affected surfaces, constraints and dependencies. Builders own routine compatible choices within that scope. Ask them to say what was done, what was run and what is not covered.');
|
|
18
22
|
lines.push('Reconcile relevant tasks and new findings; read broader history when relevant or stale. Read the final diff and check that the project-required checks were run, then land accepted changes. Request more work only for concrete blockers or a changed relevant integration base.');
|
|
@@ -9,6 +9,7 @@ export interface ChatMessage {
|
|
|
9
9
|
id: string;
|
|
10
10
|
role: 'user' | 'assistant' | 'system' | 'peer-sent' | 'peer-received' | 'ctx-divider';
|
|
11
11
|
content: string;
|
|
12
|
+
peerFullContent?: string;
|
|
12
13
|
automaticKind?: AutomaticMessageKind;
|
|
13
14
|
authRecovery?: AuthRecoveryContext;
|
|
14
15
|
operatorQuestion?: OperatorQuestionState;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AutomaticMessageKind } from './chat.js';
|
|
2
|
+
import type { TranscriptWorkerPreviewMessage, TranscriptWorkerCreateMessage } from './transcriptWorker.js';
|
|
2
3
|
import type { OperatorQuestionReplyMessage, OperatorQuestionDismissMessage } from './operatorQuestions.js';
|
|
3
4
|
import type { VoiceToolResultMessage, ComputerContextControlMessage } from './voiceOperator.js';
|
|
4
5
|
import type { HubLinkSetEnabledMessage } from './remoteManagement.js';
|
|
@@ -24,7 +25,7 @@ import type { TaskLedgerCreateMessage, TaskLedgerUpdateMessage, TaskLedgerDelete
|
|
|
24
25
|
import type { McpRegistryCreateMessage, McpRegistryUpdateMessage, McpRegistryDeleteMessage, McpRegistryListMessage, McpWorkflowAllowMessage, McpProbeMessage } from './mcp.js';
|
|
25
26
|
import type { HandoffRequestMessage, HandoffCancelMessage, HandoffLockClearMessage, SpawnFromHereRequestMessage } from './handoffs.js';
|
|
26
27
|
import type { PlanAttachMessage, PlanDetachMessage, EnterPlanModeRequestMessage } from './plans.js';
|
|
27
|
-
import type { ClusterSubscribeMessage, ClusterMemberRehydrateMessage, ClusterUnsubscribeMessage, ClusterCreateMessage, ClusterDeleteMessage, ClusterBroadcastMessage, ClusterDispatchOnceMessage, ClusterDispatchToggleMessage, ClusterDispatchSettingsUpdateMessage, ClusterTaskBoardAttachSetMessage, ClusterTaskBoardModeSetMessage, ClusterSwarmCreateMessage, OperatorPeerSendMessage, ClusterRenameMessage, ClusterMemberRemoveMessage, ClusterMemberAddMessage, ClusterCreateWithFreshWorkersMessage, ClusterCreateFromScratchMessage, ClusterAddFreshWorkersMessage, ClusterMemberReplaceMessage, ClusterPlanSetMessage, ClusterPlanAttachMessage, ClusterPlanClearMessage, ClusterMemberRoleSetMessage, ClusterMemberTierSetMessage, ClusterMemberFocusSetMessage, ClusterIdleNudgerToggleMessage, ClusterEfficiencySetMessage, ClusterAutoCompactionSetMessage, ClusterRemoteSetMessage, ClusterGatesSetMessage, ClusterMemberReorderMessage, ClusterProgressSetMessage, RenameWorkflowMessage, AttachCodebaseMemoryMessage, DetachCodebaseMemoryMessage, ClusterAutoTurnToggleMessage, DebugClusterAutoTurnInjectMessage, ClusterSnapshotSaveMessage, ClusterSnapshotListMessage, ClusterSnapshotRestoreMessage, ClusterSnapshotDeleteMessage } from './clusters.js';
|
|
28
|
+
import type { ClusterSubscribeMessage, ClusterMemberRehydrateMessage, ClusterUnsubscribeMessage, ClusterCreateMessage, ClusterDeleteMessage, ClusterBroadcastMessage, ClusterDispatchOnceMessage, ClusterDispatchToggleMessage, ClusterDispatchSettingsUpdateMessage, ClusterTaskBoardAttachSetMessage, ClusterTaskBoardModeSetMessage, ClusterSwarmCreateMessage, OperatorPeerSendMessage, ClusterRenameMessage, ClusterMemberRemoveMessage, ClusterMemberAddMessage, ClusterCreateWithFreshWorkersMessage, ClusterCreateFromScratchMessage, ClusterAddFreshWorkersMessage, ClusterMemberReplaceMessage, ClusterPlanSetMessage, ClusterPlanAttachMessage, ClusterPlanClearMessage, ClusterMemberRoleSetMessage, ClusterMemberTierSetMessage, ClusterMemberFocusSetMessage, ClusterIdleNudgerToggleMessage, ClusterEfficiencySetMessage, ClusterSkillsSetMessage, ClusterAutoCompactionSetMessage, ClusterRemoteSetMessage, ClusterGatesSetMessage, ClusterMemberReorderMessage, ClusterProgressSetMessage, RenameWorkflowMessage, AttachCodebaseMemoryMessage, DetachCodebaseMemoryMessage, ClusterAutoTurnToggleMessage, DebugClusterAutoTurnInjectMessage, ClusterSnapshotSaveMessage, ClusterSnapshotListMessage, ClusterSnapshotRestoreMessage, ClusterSnapshotDeleteMessage } from './clusters.js';
|
|
28
29
|
export interface CreateWorkflowMessage {
|
|
29
30
|
type: 'create_workflow';
|
|
30
31
|
config: WorkflowConfig;
|
|
@@ -210,4 +211,4 @@ export interface DebugNativeAutoCompactProbeMessage {
|
|
|
210
211
|
contextPercent: number;
|
|
211
212
|
mode: 'off' | 'conservative' | 'aggressive';
|
|
212
213
|
}
|
|
213
|
-
export type ClientMessage = ComputerContextControlMessage | CreateWorkflowMessage | UserMessage | CancelMessage | CompactWorkflowMessage | FoldWorkflowMessage | SetToolPostureMessage | SetProjectTrustMessage | RemoveWorkflowMessage | RehydrateWorkflowsMessage | WorkspaceSyncMessage | UploadCompleteMessage | ReviewRequestMessage | CancelReviewMessage | ResearchRequestMessage | CancelResearchMessage | CompareRequestMessage | CompareVoteMessage | CompareSynthesizeMessage | CancelCompareMessage | DocEditRequestMessage | MdTuneupRequestMessage | MdTuneupAcceptMessage | MdTuneupCandidatesRequestMessage | MdTuneupUndoMessage | KnowledgeDistillRequestMessage | RecallSummaryRequestMessage | HandoffRequestMessage | HandoffCancelMessage | HandoffLockClearMessage | SpawnFromHereRequestMessage | UpdatePrimaryConfigMessage | CancelQueuedMessageMessage | LoadEarlierMessagesMessage | RecalibrateRequestMessage | PlanAttachMessage | PlanDetachMessage | SetPreviewPortMessage | ClearPreviewPortMessage | OperatorQuestionDismissMessage | OperatorQuestionReplyMessage | VoiceToolResultMessage | AskUserQuestionReplyMessage | GateReplyMessage | GateRevokeRequestMessage | EnterPlanModeRequestMessage | CreateLabelRequestMessage | RevertToPointRequestMessage | ClusterSubscribeMessage | ClusterMemberRehydrateMessage | ClusterUnsubscribeMessage | ClusterCreateMessage | ClusterDeleteMessage | ClusterBroadcastMessage | ClusterDispatchOnceMessage | ClusterDispatchToggleMessage | ClusterDispatchSettingsUpdateMessage | ClusterTaskBoardAttachSetMessage | ClusterTaskBoardModeSetMessage | ClusterSwarmCreateMessage | ClusterOrchestrationAssistRequestMessage | ClusterOrchestrationProposalListMessage | ClusterOrchestrationProposalRejectMessage | ClusterOrchestrationProposalAcceptMessage | ClusterOrchestrationProposalApplyMessage | OperatorPeerSendMessage | ClusterRenameMessage | ClusterMemberRemoveMessage | ClusterMemberAddMessage | ClusterCreateWithFreshWorkersMessage | ClusterCreateFromScratchMessage | ClusterAddFreshWorkersMessage | ClusterMemberReplaceMessage | ClusterPlanSetMessage | ClusterPlanAttachMessage | ClusterPlanClearMessage | ClusterMemberRoleSetMessage | ClusterMemberTierSetMessage | ClusterMemberFocusSetMessage | ClusterIdleNudgerToggleMessage | ClusterAutoCompactionSetMessage | ClusterEfficiencySetMessage | ClusterRemoteSetMessage | ClusterGatesSetMessage | ClusterMemberReorderMessage | ClusterProgressSetMessage | ClusterSnapshotSaveMessage | ClusterSnapshotListMessage | ClusterSnapshotRestoreMessage | ClusterSnapshotDeleteMessage | RenameWorkflowMessage | AttachCodebaseMemoryMessage | DetachCodebaseMemoryMessage | DebugNativePlanSetMessage | DebugNativeAutoCompactProbeMessage | ClusterAutoTurnToggleMessage | ClusterAutoPickupSetMessage | DebugClusterAutoTurnInjectMessage | RevertToCheckpointMessage | LiveChangesSubscribeMessage | LiveChangesUnsubscribeMessage | TerminalOpenMessage | TerminalKillMessage | TerminalCommandMessage | TerminalListMessage | TaskLedgerCreateMessage | TaskLedgerUpdateMessage | TaskLedgerDeleteMessage | TaskLedgerListMessage | TaskRunRecoverMessage | TaskWorktreeCreateMessage | TaskWorktreeRemoveMessage | McpRegistryCreateMessage | McpRegistryUpdateMessage | McpRegistryDeleteMessage | McpRegistryListMessage | McpWorkflowAllowMessage | McpProbeMessage | GenesisSeedUpdateMessage | GenesisScaffoldMessage | GenesisCreativeArmMessage | GenesisAssistRequestMessage | PreviewCaptureRequestMessage | BakeoffListMessage | BakeoffStartMessage | BakeoffPromoteMessage | BakeoffCleanupMessage | SetNotificationMutesMessage | HubLinkSetEnabledMessage;
|
|
214
|
+
export type ClientMessage = TranscriptWorkerPreviewMessage | TranscriptWorkerCreateMessage | ComputerContextControlMessage | CreateWorkflowMessage | UserMessage | CancelMessage | CompactWorkflowMessage | FoldWorkflowMessage | SetToolPostureMessage | SetProjectTrustMessage | RemoveWorkflowMessage | RehydrateWorkflowsMessage | WorkspaceSyncMessage | UploadCompleteMessage | ReviewRequestMessage | CancelReviewMessage | ResearchRequestMessage | CancelResearchMessage | CompareRequestMessage | CompareVoteMessage | CompareSynthesizeMessage | CancelCompareMessage | DocEditRequestMessage | MdTuneupRequestMessage | MdTuneupAcceptMessage | MdTuneupCandidatesRequestMessage | MdTuneupUndoMessage | KnowledgeDistillRequestMessage | RecallSummaryRequestMessage | HandoffRequestMessage | HandoffCancelMessage | HandoffLockClearMessage | SpawnFromHereRequestMessage | UpdatePrimaryConfigMessage | CancelQueuedMessageMessage | LoadEarlierMessagesMessage | RecalibrateRequestMessage | PlanAttachMessage | PlanDetachMessage | SetPreviewPortMessage | ClearPreviewPortMessage | OperatorQuestionDismissMessage | OperatorQuestionReplyMessage | VoiceToolResultMessage | AskUserQuestionReplyMessage | GateReplyMessage | GateRevokeRequestMessage | EnterPlanModeRequestMessage | CreateLabelRequestMessage | RevertToPointRequestMessage | ClusterSubscribeMessage | ClusterMemberRehydrateMessage | ClusterUnsubscribeMessage | ClusterCreateMessage | ClusterDeleteMessage | ClusterBroadcastMessage | ClusterDispatchOnceMessage | ClusterDispatchToggleMessage | ClusterDispatchSettingsUpdateMessage | ClusterTaskBoardAttachSetMessage | ClusterTaskBoardModeSetMessage | ClusterSwarmCreateMessage | ClusterOrchestrationAssistRequestMessage | ClusterOrchestrationProposalListMessage | ClusterOrchestrationProposalRejectMessage | ClusterOrchestrationProposalAcceptMessage | ClusterOrchestrationProposalApplyMessage | OperatorPeerSendMessage | ClusterRenameMessage | ClusterMemberRemoveMessage | ClusterMemberAddMessage | ClusterCreateWithFreshWorkersMessage | ClusterCreateFromScratchMessage | ClusterAddFreshWorkersMessage | ClusterMemberReplaceMessage | ClusterPlanSetMessage | ClusterPlanAttachMessage | ClusterPlanClearMessage | ClusterMemberRoleSetMessage | ClusterMemberTierSetMessage | ClusterMemberFocusSetMessage | ClusterIdleNudgerToggleMessage | ClusterAutoCompactionSetMessage | ClusterEfficiencySetMessage | ClusterSkillsSetMessage | ClusterRemoteSetMessage | ClusterGatesSetMessage | ClusterMemberReorderMessage | ClusterProgressSetMessage | ClusterSnapshotSaveMessage | ClusterSnapshotListMessage | ClusterSnapshotRestoreMessage | ClusterSnapshotDeleteMessage | RenameWorkflowMessage | AttachCodebaseMemoryMessage | DetachCodebaseMemoryMessage | DebugNativePlanSetMessage | DebugNativeAutoCompactProbeMessage | ClusterAutoTurnToggleMessage | ClusterAutoPickupSetMessage | DebugClusterAutoTurnInjectMessage | RevertToCheckpointMessage | LiveChangesSubscribeMessage | LiveChangesUnsubscribeMessage | TerminalOpenMessage | TerminalKillMessage | TerminalCommandMessage | TerminalListMessage | TaskLedgerCreateMessage | TaskLedgerUpdateMessage | TaskLedgerDeleteMessage | TaskLedgerListMessage | TaskRunRecoverMessage | TaskWorktreeCreateMessage | TaskWorktreeRemoveMessage | McpRegistryCreateMessage | McpRegistryUpdateMessage | McpRegistryDeleteMessage | McpRegistryListMessage | McpWorkflowAllowMessage | McpProbeMessage | GenesisSeedUpdateMessage | GenesisScaffoldMessage | GenesisCreativeArmMessage | GenesisAssistRequestMessage | PreviewCaptureRequestMessage | BakeoffListMessage | BakeoffStartMessage | BakeoffPromoteMessage | BakeoffCleanupMessage | SetNotificationMutesMessage | HubLinkSetEnabledMessage;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type { AutoCompactionPolicy } from './workflows.js';
|
|
1
|
+
import type { ArcoSkillRef, AutoCompactionPolicy } from './workflows.js';
|
|
2
|
+
export interface ClusterSkillPin extends ArcoSkillRef {
|
|
3
|
+
role?: string;
|
|
4
|
+
}
|
|
2
5
|
export type ClusterMemberProvider = 'claude' | 'codex' | 'ollama' | 'llamacpp' | 'cursor';
|
|
3
6
|
export declare const CLUSTER_MEMBER_PROVIDERS: readonly ["claude", "codex", "ollama", "llamacpp", "cursor"];
|
|
4
7
|
export declare function isClusterMemberProvider(v: unknown): v is ClusterMemberProvider;
|
|
@@ -12,6 +15,8 @@ export interface PeerMessageSentMessage {
|
|
|
12
15
|
from: string;
|
|
13
16
|
to: string;
|
|
14
17
|
contentPreview: string;
|
|
18
|
+
content?: string;
|
|
19
|
+
ts?: number;
|
|
15
20
|
chainDepth?: number;
|
|
16
21
|
}
|
|
17
22
|
export interface PeerMessageReceivedMessage {
|
|
@@ -85,6 +90,7 @@ export declare const CLUSTER_PROGRESS_LABELS: Record<ClusterProgressMode, {
|
|
|
85
90
|
blurb: string;
|
|
86
91
|
}>;
|
|
87
92
|
export interface ClusterStatePayload {
|
|
93
|
+
skillPins?: ClusterSkillPin[];
|
|
88
94
|
autoCompaction?: AutoCompactionPolicy;
|
|
89
95
|
clusterId: string;
|
|
90
96
|
cwd: string;
|
|
@@ -313,6 +319,9 @@ export interface ClusterMemberReplaceMessage extends ClusterMemberTuning {
|
|
|
313
319
|
name?: string;
|
|
314
320
|
role?: string;
|
|
315
321
|
includeHistory?: boolean;
|
|
322
|
+
historyMode?: 'none' | 'recent' | 'full';
|
|
323
|
+
historyTurns?: number;
|
|
324
|
+
historyToken?: string;
|
|
316
325
|
transferActiveTasks?: boolean;
|
|
317
326
|
}
|
|
318
327
|
export interface ClusterPlanSetMessage {
|
|
@@ -541,6 +550,11 @@ export interface ClusterEfficiencySetMessage {
|
|
|
541
550
|
addendum?: string;
|
|
542
551
|
messageGuard?: ClusterMessageGuard;
|
|
543
552
|
}
|
|
553
|
+
export interface ClusterSkillsSetMessage {
|
|
554
|
+
type: 'cluster_skills_set';
|
|
555
|
+
clusterId: string;
|
|
556
|
+
pins: ClusterSkillPin[];
|
|
557
|
+
}
|
|
544
558
|
export interface ClusterMemberReorderMessage {
|
|
545
559
|
type: 'cluster_member_reorder';
|
|
546
560
|
clusterId: string;
|
|
@@ -43,6 +43,7 @@ export * from './notifications.js';
|
|
|
43
43
|
export * from './orchestrationAssist.js';
|
|
44
44
|
export * from './clientMessages.js';
|
|
45
45
|
export * from './serverMessages.js';
|
|
46
|
+
export * from './transcriptWorker.js';
|
|
46
47
|
export * from './ollamaThinking.js';
|
|
47
48
|
export * from './localModels.js';
|
|
48
49
|
export * from './operatorQuestions.js';
|
|
@@ -47,6 +47,7 @@ export * from './notifications.js';
|
|
|
47
47
|
export * from './orchestrationAssist.js';
|
|
48
48
|
export * from './clientMessages.js';
|
|
49
49
|
export * from './serverMessages.js';
|
|
50
|
+
export * from './transcriptWorker.js';
|
|
50
51
|
export * from './ollamaThinking.js';
|
|
51
52
|
export * from './localModels.js';
|
|
52
53
|
export * from './operatorQuestions.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EffortLevel, ModelName } from './providers.js';
|
|
2
2
|
export declare const CLAUDE_MODELS: readonly ["haiku", "sonnet", "opus", "claude-fable-5-2", "claude-fable-5-1", "claude-fable-5", "claude-sonnet-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-opus-4-6", "opus[1m]"];
|
|
3
3
|
export declare const CLAUDE_MODEL_LABELS: Record<string, string>;
|
|
4
|
-
export declare const CODEX_MODELS: readonly ["gpt-6-astra", "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.5", "gpt-5.3-codex", "gpt-5.2-codex", "gpt-5.1-codex-max", "gpt-5.4-mini", "gpt-5.2", "gpt-5.1-codex-mini"];
|
|
4
|
+
export declare const CODEX_MODELS: readonly ["gpt-6.2-sol", "gpt-6.2-astra", "gpt-6-astra", "gpt-6.1-sol", "gpt-6-sol", "gpt-6-luna", "gpt-5.5", "gpt-5.3-codex", "gpt-5.2-codex", "gpt-5.1-codex-max", "gpt-5.4-mini", "gpt-5.2", "gpt-5.1-codex-mini"];
|
|
5
5
|
export interface CodexModelInfo {
|
|
6
6
|
id: string;
|
|
7
7
|
label: string;
|
|
@@ -13,8 +13,8 @@ export interface CodexModelInfo {
|
|
|
13
13
|
supportedEfforts?: EffortLevel[];
|
|
14
14
|
}
|
|
15
15
|
export declare const CODEX_MODEL_INFO: Record<string, CodexModelInfo>;
|
|
16
|
-
export declare const CODEX_PICKER_MODELS: ("gpt-6-astra" | "gpt-6.1-sol" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.5" | "gpt-5.3-codex" | "gpt-5.2-codex" | "gpt-5.1-codex-max" | "gpt-5.4-mini" | "gpt-5.2" | "gpt-5.1-codex-mini")[];
|
|
17
|
-
export declare const DEFAULT_CODEX_MODEL: "gpt-6-astra" | "gpt-6.1-sol" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.5" | "gpt-5.3-codex" | "gpt-5.2-codex" | "gpt-5.1-codex-max" | "gpt-5.4-mini" | "gpt-5.2" | "gpt-5.1-codex-mini";
|
|
16
|
+
export declare const CODEX_PICKER_MODELS: ("gpt-6.2-sol" | "gpt-6.2-astra" | "gpt-6-astra" | "gpt-6.1-sol" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.5" | "gpt-5.3-codex" | "gpt-5.2-codex" | "gpt-5.1-codex-max" | "gpt-5.4-mini" | "gpt-5.2" | "gpt-5.1-codex-mini")[];
|
|
17
|
+
export declare const DEFAULT_CODEX_MODEL: "gpt-6.2-sol" | "gpt-6.2-astra" | "gpt-6-astra" | "gpt-6.1-sol" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.5" | "gpt-5.3-codex" | "gpt-5.2-codex" | "gpt-5.1-codex-max" | "gpt-5.4-mini" | "gpt-5.2" | "gpt-5.1-codex-mini";
|
|
18
18
|
export interface ClaudeCatalogModel {
|
|
19
19
|
id: string;
|
|
20
20
|
displayName: string;
|
|
@@ -169,6 +169,7 @@ export interface Capabilities {
|
|
|
169
169
|
latestVersions?: {
|
|
170
170
|
claude?: string;
|
|
171
171
|
codex?: string;
|
|
172
|
+
cursor?: string;
|
|
172
173
|
ollama?: string;
|
|
173
174
|
strata?: string;
|
|
174
175
|
xolotl?: string;
|
|
@@ -37,6 +37,8 @@ export const CLAUDE_MODEL_LABELS = {
|
|
|
37
37
|
// re-pin the naming to a single generation, and don't assume a single-dash
|
|
38
38
|
// `gpt-<major>-<name>` shape: 6.1 brought the dotted minor back.
|
|
39
39
|
export const CODEX_MODELS = [
|
|
40
|
+
'gpt-6.2-sol',
|
|
41
|
+
'gpt-6.2-astra',
|
|
40
42
|
'gpt-6-astra',
|
|
41
43
|
'gpt-6.1-sol',
|
|
42
44
|
'gpt-6-sol',
|
|
@@ -50,8 +52,31 @@ export const CODEX_MODELS = [
|
|
|
50
52
|
'gpt-5.1-codex-mini',
|
|
51
53
|
];
|
|
52
54
|
export const CODEX_MODEL_INFO = {
|
|
55
|
+
// GPT-6.2 cold-catalog fallback. The live catalog is authoritative for
|
|
56
|
+
// availability, default choice, efforts and images. Both entries use the
|
|
57
|
+
// observed 872K catalog maximum with its 95% effective margin; the 128K
|
|
58
|
+
// output fallback is retained, not a newly advertised provider output cap.
|
|
59
|
+
'gpt-6.2-sol': {
|
|
60
|
+
id: 'gpt-6.2-sol',
|
|
61
|
+
label: '6.2 SOL',
|
|
62
|
+
picker: true,
|
|
63
|
+
defaultForCodex: true,
|
|
64
|
+
publishedContextWindow: 872_000,
|
|
65
|
+
publishedMaxOutput: 128_000,
|
|
66
|
+
fallbackOperationalWindow: 828_400,
|
|
67
|
+
supportedEfforts: ['low', 'medium', 'high', 'xhigh', 'max', 'ultra'],
|
|
68
|
+
},
|
|
69
|
+
'gpt-6.2-astra': {
|
|
70
|
+
id: 'gpt-6.2-astra',
|
|
71
|
+
label: '6.2 ASTRA',
|
|
72
|
+
picker: true,
|
|
73
|
+
publishedContextWindow: 872_000,
|
|
74
|
+
publishedMaxOutput: 128_000,
|
|
75
|
+
fallbackOperationalWindow: 828_400,
|
|
76
|
+
supportedEfforts: ['low', 'medium', 'high', 'xhigh', 'max', 'ultra'],
|
|
77
|
+
},
|
|
53
78
|
// GPT-6 Astra (2026-09-03). Codex's own catalog reports isDefault:true for it,
|
|
54
|
-
// so it
|
|
79
|
+
// so it was Arco's default then. Two things here are unlike every 5.x entry:
|
|
55
80
|
// Arco asks for the live catalog maximum by default. This fallback is the
|
|
56
81
|
// current 872K max after Codex's 95% effective-window margin. Its effort
|
|
57
82
|
// surface runs all the way to 'ultra'.
|
|
@@ -59,7 +84,6 @@ export const CODEX_MODEL_INFO = {
|
|
|
59
84
|
id: 'gpt-6-astra',
|
|
60
85
|
label: '6 ASTRA',
|
|
61
86
|
picker: true,
|
|
62
|
-
defaultForCodex: true,
|
|
63
87
|
publishedContextWindow: 1_050_000,
|
|
64
88
|
publishedMaxOutput: 128_000,
|
|
65
89
|
fallbackOperationalWindow: 828_400,
|