arco-workbench 0.1.6 → 0.1.8
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 +52 -12
- package/README.md +20 -13
- package/client/dist/assets/{PhosphorBackdrop-BR-TgB5x.js → PhosphorBackdrop-D7jdAV_G.js} +1 -1
- package/client/dist/assets/{ThemedBackgroundShaderImpl-DgcFj6JN.js → ThemedBackgroundShaderImpl-DrDm60h8.js} +1 -1
- package/client/dist/assets/{XtermView-CflVBQgC.js → XtermView-BGFujb1e.js} +1 -1
- package/client/dist/assets/{galleryEditor-BB-emfmi.js → galleryEditor-D951A2sE.js} +1 -1
- package/client/dist/assets/{index-B_EqHDz3.js → index-CsVy3eZm.js} +248 -248
- package/client/dist/index.html +1 -1
- package/client/src/buildCheck.ts +3 -1
- package/client/src/components/AppUpdateNotice.tsx +2 -1
- package/client/src/components/ClusterRightPanel/AutoPickupControl.tsx +24 -12
- package/client/src/components/ClusterRightPanel/ReplaceMemberDialog.tsx +65 -15
- package/client/src/components/ClusterRightPanel/SkillsControl.tsx +107 -0
- package/client/src/components/ClusterRightPanel/index.tsx +6 -1
- package/client/src/components/ClusterTaskBoardTab.tsx +9 -22
- package/client/src/components/HeaderVersionBox.tsx +7 -4
- package/client/src/components/NeedsYouBadge.tsx +3 -3
- package/client/src/components/ProviderReleasesModal.tsx +8 -4
- package/client/src/components/ProvidersPopover.tsx +28 -23
- package/client/src/components/SettingsPanel.tsx +2 -2
- package/client/src/components/SkillsSettings.tsx +5 -0
- package/client/src/components/TabBar.tsx +91 -9
- package/client/src/components/TerminalInput.tsx +12 -10
- package/client/src/components/TranscriptSendDialog.tsx +12 -8
- package/client/src/components/TranscriptWorkerDialog.tsx +119 -0
- package/client/src/components/UpdateAction.tsx +18 -4
- package/client/src/components/UpdateResultNotice.tsx +3 -1
- package/client/src/components/clusterNeedsYou.ts +11 -18
- package/client/src/help/content/cluster.tsx +54 -22
- package/client/src/help/content/composer.tsx +22 -0
- package/client/src/help/content/header.tsx +19 -1
- package/client/src/help/content/misc.tsx +8 -0
- package/client/src/help/content/rightPanel.tsx +1 -1
- package/client/src/help/content/settings.tsx +19 -5
- 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 +58 -21
- package/client/src/help/manualSections/configuration.tsx +38 -4
- package/client/src/help/manualSections/maintenance.tsx +30 -0
- package/client/src/help/manualSections/plans.tsx +5 -1
- 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 +19 -0
- package/client/src/help/manualSections/workspace.tsx +6 -0
- package/client/src/stores/appUpdateStore.ts +29 -8
- package/client/src/utils/transcriptWorkerRequest.ts +24 -0
- package/client/src/utils/wsSession.ts +2 -1
- package/client/src/ws/handleServerMessage.ts +8 -2
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/CLIENT.md +9 -8
- package/docs/FEATURES.md +8 -5
- package/docs/GETTING_STARTED.md +9 -4
- package/docs/GOTCHAS.md +2 -1
- package/docs/OPERATIONS.md +37 -4
- package/docs/PERSISTENCE.md +25 -3
- package/docs/PRIMITIVES.md +42 -0
- package/docs/PROTOCOL_CLUSTER.md +51 -5
- package/docs/PROTOCOL_PRIMITIVES.md +39 -0
- package/docs/PROVIDERS.md +50 -13
- package/docs/SETTINGS.md +27 -3
- package/docs/TASK_LEDGER.md +7 -15
- 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/autoPickup.d.ts +3 -0
- package/node_modules/@arco/shared/dist/protocol/clientMessages.d.ts +3 -2
- package/node_modules/@arco/shared/dist/protocol/clusters.d.ts +13 -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 +2 -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/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 +78 -12
- package/scripts/packaging/update.mjs +5 -1
- 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/clusterAutoTurn.d.ts +4 -0
- package/server/dist/clusterAutoTurn.js +29 -25
- package/server/dist/clusterBusyReminder.js +1 -1
- package/server/dist/clusterDirector.js +1 -1
- package/server/dist/clusterPeerOps.js +10 -7
- package/server/dist/clusterProgress.js +1 -1
- 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 +10 -2
- package/server/dist/clusterStore.js +64 -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/historyLimits.d.ts +1 -0
- package/server/dist/historyLimits.js +3 -0
- package/server/dist/http/router.js +1 -1
- 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/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.js +2 -1
- package/server/dist/providers/codexCodeMode.d.ts +1 -1
- package/server/dist/providers/codexCodeMode.js +4 -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/smartPickup.d.ts +2 -1
- package/server/dist/smartPickup.js +28 -1
- package/server/dist/smartPickupAdapters.js +15 -2
- package/server/dist/smartPickupLedger.js +6 -4
- package/server/dist/smartPickupObserver.d.ts +1 -0
- package/server/dist/smartPickupObserver.js +24 -15
- package/server/dist/transcriptWorker.d.ts +34 -0
- package/server/dist/transcriptWorker.js +201 -0
- package/server/dist/workflowStore.d.ts +1 -0
- package/server/dist/workflowStore.js +31 -0
- package/server/dist/ws/clusterHandlers.d.ts +2 -0
- package/server/dist/ws/clusterHandlers.js +64 -27
- package/server/dist/ws/handoffHandlers.js +5 -2
- package/server/dist/ws/transcriptWorkerHandlers.d.ts +25 -0
- package/server/dist/ws/transcriptWorkerHandlers.js +139 -0
- package/server/dist/ws/turnEngine.js +23 -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/clusterAutoTurn.ts +26 -21
- package/server/src/clusterBusyReminder.ts +1 -1
- package/server/src/clusterDirector.ts +1 -1
- package/server/src/clusterPeerOps.ts +11 -8
- package/server/src/clusterProgress.ts +1 -1
- package/server/src/clusterSkills.ts +79 -0
- package/server/src/clusterSnapshots.ts +1 -0
- package/server/src/clusterStore.ts +64 -1
- package/server/src/diagnostics/codeSkew.ts +1 -0
- package/server/src/eventLog.ts +73 -13
- package/server/src/historyLimits.ts +2 -0
- package/server/src/http/router.ts +1 -1
- 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/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.ts +2 -1
- package/server/src/providers/codexCodeMode.ts +4 -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/smartPickup.ts +27 -3
- package/server/src/smartPickupAdapters.ts +17 -3
- package/server/src/smartPickupLedger.ts +6 -4
- package/server/src/smartPickupObserver.ts +20 -11
- package/server/src/transcriptWorker.ts +182 -0
- package/server/src/workflowStore.ts +21 -0
- package/server/src/ws/clusterHandlers.ts +46 -27
- package/server/src/ws/handoffHandlers.ts +5 -1
- package/server/src/ws/transcriptWorkerHandlers.ts +126 -0
- package/server/src/ws/turnEngine.ts +20 -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/autoPickup.d.ts +3 -0
- package/shared/dist/protocol/clientMessages.d.ts +3 -2
- package/shared/dist/protocol/clusters.d.ts +13 -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 +2 -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/runtimeVersions.d.ts +1 -0
- package/shared/dist/runtimeVersions.js +14 -0
- package/shared/src/clusterCoordination.ts +7 -1
- package/shared/src/protocol/autoPickup.ts +5 -0
- package/shared/src/protocol/clientMessages.ts +5 -0
- package/shared/src/protocol/clusters.ts +16 -1
- package/shared/src/protocol/index.ts +1 -0
- package/shared/src/protocol/models.ts +31 -5
- package/shared/src/protocol/serverMessages.ts +2 -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/runtimeVersions.ts +14 -0
|
@@ -2,6 +2,21 @@ import { C } from './shared';
|
|
|
2
2
|
import type { HelpEntry } from './shared';
|
|
3
3
|
|
|
4
4
|
export const settingsHelp: Record<string, HelpEntry> = {
|
|
5
|
+
'settings.skills.pin-tab': {
|
|
6
|
+
title: 'Pin a skill to a tab',
|
|
7
|
+
body: <p>Select an Agent tab to add the skill's full text on every turn. Project skills can be pinned within their project; global skills can be pinned anywhere. The tab's own pins and inherited cluster pins share one 12-skill, 64 KiB limit.</p>,
|
|
8
|
+
manualSection: 'skills',
|
|
9
|
+
},
|
|
10
|
+
'settings.skills.pin-cluster': {
|
|
11
|
+
title: 'Pin a skill to a cluster or role',
|
|
12
|
+
body: <p>Choose a cluster and All members or a role. New and replaced matching members inherit the pin. Custom role text must match exactly. The cluster SKILLS button lists these pins and lets the operator remove them. Agents cannot pin or unpin.</p>,
|
|
13
|
+
manualSection: 'skills',
|
|
14
|
+
},
|
|
15
|
+
'settings.skills.pin': {
|
|
16
|
+
title: 'Choose where the standing skill applies',
|
|
17
|
+
body: <><p>Select a tab or cluster, then the cluster role scope when offered. PIN adds the full skill text every turn. The dialog shows how many current members match; future matching members inherit it too.</p><p>Duplicate skill references apply once. More than 12 unique skills or 64 KiB with the existing pins is refused. Pinning a project skill is explicit approval to apply its text even with project trust off. CANCEL leaves the pins unchanged.</p></>,
|
|
18
|
+
manualSection: 'skills',
|
|
19
|
+
},
|
|
5
20
|
'settings.native-subagents-running': {
|
|
6
21
|
title: 'Maximum running at once',
|
|
7
22
|
body: <p>Settings - Agents and clusters - Claude Native sub-agents. Claude Native runs up to this many Task children for one parent. Additional admitted tasks queue and can be cancelled. Default: 4, including existing tabs. Blank uses Settings in a tab, or 4 in Settings. Applies next turn; CLI, Codex, Cursor and local providers do not use this limit.</p>,
|
|
@@ -342,10 +357,8 @@ export const settingsHelp: Record<string, HelpEntry> = {
|
|
|
342
357
|
title: 'Board auto-done',
|
|
343
358
|
body: (
|
|
344
359
|
<p>A refused or incomplete settings reply leaves the previous saved settings active; a save error is reported.
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
not-met sign-offs are left for you. Off by default, so you accept finished work
|
|
348
|
-
yourself.
|
|
360
|
+
On by default. A new director sign-off of <C>met</C> marks the task done on the server.
|
|
361
|
+
Turn it off to accept finished tasks yourself. Existing review tasks are unchanged; partial and not-met sign-offs do not close tasks.
|
|
349
362
|
</p>
|
|
350
363
|
),
|
|
351
364
|
manualSection: 'cluster-board',
|
|
@@ -366,6 +379,7 @@ export const settingsHelp: Record<string, HelpEntry> = {
|
|
|
366
379
|
frees VRAM immediately. <C>chatTemplate</C> and <C>extraArgs</C> are
|
|
367
380
|
preserved across edits even if not exposed in the form. Endpoint overrides use the same host and port for launch, health and inference. A server exit clears ready state; the next request can reload it.
|
|
368
381
|
</p>
|
|
382
|
+
<p>Each reply has a 120-second wall-clock limit and a 90-second no-data limit. Both apply with <C>ARCO_LLAMACPP_AUTO_RECOVER=off</C>; Arco then stops with one plain error and no retry. Override the limits with <C>ARCO_LLAMACPP_TURN_BUDGET_MS</C> and <C>ARCO_LLAMACPP_STALL_TIMEOUT_MS</C> in the server environment. With recovery on, the existing recovery budget and final-summary attempt still apply.</p>
|
|
369
383
|
</>
|
|
370
384
|
),
|
|
371
385
|
manualSection: 'provider-llamacpp',
|
|
@@ -547,7 +561,7 @@ export const settingsHelp: Record<string, HelpEntry> = {
|
|
|
547
561
|
'settings.update-result': {
|
|
548
562
|
title: 'Update result',
|
|
549
563
|
manualSection: 'arco-updates',
|
|
550
|
-
body: <p>Reports the completed update or
|
|
564
|
+
body: <p>Reports the completed update or failure after the server reconnects. The result appears beside an open update control, or in this separate notice when no update control is open. DISMISS hides this notice. If npm cannot be found, stop Arco and run npm install -g arco-workbench from a terminal where npm works, then start Arco again.</p>,
|
|
551
565
|
},
|
|
552
566
|
'settings.app-updates': {
|
|
553
567
|
title: 'Arco releases',
|
|
@@ -18,6 +18,11 @@ export const tabbarHelp: Record<string, HelpEntry> = {
|
|
|
18
18
|
),
|
|
19
19
|
manualSection: 'tab-bar',
|
|
20
20
|
},
|
|
21
|
+
'tabbar.scroll': {
|
|
22
|
+
title: 'Scroll tabs',
|
|
23
|
+
body: <p>Use the mouse wheel over the tab row to scroll sideways. Swipe horizontally on a touch screen or trackpad, or press the Previous tabs and Next tabs edge buttons. An edge button means more tabs are hidden in that direction. Opening a tab brings it into view. Tab focus also keeps its control visible.</p>,
|
|
24
|
+
manualSection: 'tab-bar',
|
|
25
|
+
},
|
|
21
26
|
'tabbar.status': {
|
|
22
27
|
title: 'Tab status',
|
|
23
28
|
body: (
|
|
@@ -240,6 +240,37 @@ export const actions: Section[] = [
|
|
|
240
240
|
</>
|
|
241
241
|
),
|
|
242
242
|
},
|
|
243
|
+
{
|
|
244
|
+
id: 'transcript-worker',
|
|
245
|
+
group: 'The six operator actions',
|
|
246
|
+
title: 'Copy turns to a new worker',
|
|
247
|
+
body: <>
|
|
248
|
+
<p>Open TRANSCRIPT in an Agent composer. A standalone tab opens the new
|
|
249
|
+
worker form directly. In a cluster, choose NEW WORKER from the member
|
|
250
|
+
delivery dialog. Existing member delivery stays available; Spawn still
|
|
251
|
+
asks an agent to write a summary in the same working directory.</p>
|
|
252
|
+
<p>Choose 1-50 operator turns, default 3, and type a preface placed before
|
|
253
|
+
them. Operator and visible agent text keep their exact whitespace and
|
|
254
|
+
order. Tools become one-line receipts; attachments become source-location
|
|
255
|
+
receipts without copied files. Hidden thinking and injected instructions
|
|
256
|
+
are excluded. Include the running partial turn only when selected.</p>
|
|
257
|
+
<p>Choose an existing working directory, provider, model, effort and
|
|
258
|
+
available account. Permission prompts start on. The worker starts a fresh
|
|
259
|
+
provider conversation without the source's pins or cluster membership.
|
|
260
|
+
The destination's own project settings apply. Copied relative paths refer
|
|
261
|
+
to the source project, not the new folder.</p>
|
|
262
|
+
<p>PREVIEW reads the stored conversation at a fixed point and shows the
|
|
263
|
+
exact seed. The preface may use 4096 UTF-8 bytes; the whole seed must fit
|
|
264
|
+
32768 bytes. Oversized selections are refused instead of clipped. Choose
|
|
265
|
+
fewer turns or shorten the preface. Editing either requires another preview.</p>
|
|
266
|
+
<p>SEND TO NEW WORKER saves that seed as the new tab's first message and
|
|
267
|
+
starts it once. The source continues independently. Later source messages
|
|
268
|
+
are outside the snapshot. A rewind or changed history requires refreshing
|
|
269
|
+
the preview. Rewound sources copy only their current branch; missing ancestry
|
|
270
|
+
refuses an exact preview. Errors keep the form and preface for correction.
|
|
271
|
+
Sign-in files and attachment files are never copied.</p>
|
|
272
|
+
</>,
|
|
273
|
+
},
|
|
243
274
|
{
|
|
244
275
|
id: 'live-config-swap',
|
|
245
276
|
group: 'The six operator actions',
|
|
@@ -653,15 +653,22 @@ export const clusters: Section[] = [
|
|
|
653
653
|
refused; Arco never switches to another account.
|
|
654
654
|
</p>
|
|
655
655
|
<p>
|
|
656
|
-
Two independent
|
|
656
|
+
Two independent choices control what crosses the boundary:
|
|
657
657
|
</p>
|
|
658
658
|
<ul>
|
|
659
659
|
<li>
|
|
660
|
-
<strong>
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
660
|
+
<strong>HISTORY</strong> starts at <strong>NO HISTORY</strong>.
|
|
661
|
+
<strong> RECENT HISTORY</strong> copies the last 10 whole turns by default;
|
|
662
|
+
choose 1 to 50 within 128 KiB. Text stays word for word, with tool calls and
|
|
663
|
+
attached files represented by receipts. <strong>FULL HISTORY</strong> keeps
|
|
664
|
+
the prior transcript and action digest when they fit 512 KiB. Above that
|
|
665
|
+
limit it copies the newest whole turns that fit, with receipts instead of
|
|
666
|
+
the full action digest. The preview says how many turns fit before REPLACE
|
|
667
|
+
becomes available. Nothing is clipped to fit. If no whole recent turn fits,
|
|
668
|
+
the preview says that no history will be copied.
|
|
669
|
+
A partial copy leaves one plain line in the replacement conversation; the
|
|
670
|
+
earlier history remains in the previous conversation. A nonempty imported
|
|
671
|
+
seed spends a model call and always starts a new provider conversation.
|
|
665
672
|
</li>
|
|
666
673
|
<li>
|
|
667
674
|
<strong>TRANSFER ACTIVE TASK ASSIGNMENTS</strong> reassigns the
|
|
@@ -975,6 +982,22 @@ export const clusters: Section[] = [
|
|
|
975
982
|
requested review and landing review stay unchanged.
|
|
976
983
|
</p>
|
|
977
984
|
<p>
|
|
985
|
+
The Director keeps waits under 60 seconds and delegates long checks.
|
|
986
|
+
Other members and standalone agents wait for results their reports need,
|
|
987
|
+
in steps of at most 120 seconds, repeated as needed. Between waits,
|
|
988
|
+
members check peer mail and act on it. They report when the result arrives.
|
|
989
|
+
</p>
|
|
990
|
+
<p>
|
|
991
|
+
After a progress report or an answer while assigned work remains, non-Director
|
|
992
|
+
members and standalone agents continue that work in the same turn; they end
|
|
993
|
+
the turn only when it is done or with one stated blocker.
|
|
994
|
+
</p>
|
|
995
|
+
<p>
|
|
996
|
+
If blocked or if a job clearly cannot finish within a reasonable time,
|
|
997
|
+
the agent names what it is waiting on and says that a nudge is needed
|
|
998
|
+
before ending its turn. This guidance adds no automatic completion wake.
|
|
999
|
+
</p>
|
|
1000
|
+
<p>
|
|
978
1001
|
Message guard is independent:
|
|
979
1002
|
</p>
|
|
980
1003
|
<ul>
|
|
@@ -1067,6 +1090,22 @@ export const clusters: Section[] = [
|
|
|
1067
1090
|
open the dialog. <Code>TURN OFF</Code> sets the mode to Off at once.
|
|
1068
1091
|
Default is Off.
|
|
1069
1092
|
</p>
|
|
1093
|
+
<p>
|
|
1094
|
+
<Code>PAUSE</Code> beside TURN OFF stops automatic pickup, Smart evaluator
|
|
1095
|
+
requests and busy reminders. The chip says PAUSED. Mail stays waiting;
|
|
1096
|
+
NUDGE and running turns still work. The mode, armed session, wake counts
|
|
1097
|
+
and pause survive a server restart. The Smart session clock freezes at its
|
|
1098
|
+
remaining time. Hourly rate limits keep real time. TURN OFF clears the pause
|
|
1099
|
+
and ends the session.
|
|
1100
|
+
</p>
|
|
1101
|
+
<p>
|
|
1102
|
+
<Code>RESUME</Code> needs no confirmation. It checks each idle member with
|
|
1103
|
+
waiting mail once through the normal guards and limits. Smart still evaluates
|
|
1104
|
+
that mail; Observe-only only records its answer. The session and wake counts
|
|
1105
|
+
stay unchanged except for work admitted after resuming. Smart continues with
|
|
1106
|
+
the time left at PAUSE. A spent Rule-based
|
|
1107
|
+
budget needs the separate RESET BUDGET action after resuming.
|
|
1108
|
+
</p>
|
|
1070
1109
|
<p><strong>Modes</strong></p>
|
|
1071
1110
|
<ul>
|
|
1072
1111
|
<li>
|
|
@@ -1098,7 +1137,7 @@ export const clusters: Section[] = [
|
|
|
1098
1137
|
<p>
|
|
1099
1138
|
Adjustable limits pause
|
|
1100
1139
|
alternating two-member wakes (default 4), cap each member at 6 wakes
|
|
1101
|
-
per hour and pause after 40 wakes per arming.
|
|
1140
|
+
per hour and pause after 40 wakes per arming. RESET BUDGET starts a fresh
|
|
1102
1141
|
arming budget; the hourly limit remains.
|
|
1103
1142
|
</p>
|
|
1104
1143
|
<p>
|
|
@@ -1665,16 +1704,15 @@ export const clusters: Section[] = [
|
|
|
1665
1704
|
</li>
|
|
1666
1705
|
</ul>
|
|
1667
1706
|
<Note>
|
|
1668
|
-
<strong
|
|
1669
|
-
operator-only
|
|
1707
|
+
<strong>Direct <Code>done</Code> / <Code>archived</Code> status changes are
|
|
1708
|
+
operator-only.</strong> A director met sign-off closes the task when Board
|
|
1709
|
+
auto-done is on.{' '}
|
|
1670
1710
|
<Code>cluster_task_update</Code> rejects either terminal status with{' '}
|
|
1671
1711
|
<Code>operator_gated</Code> - workers move finished work to{' '}
|
|
1672
1712
|
<Code>review</Code> through <Code>cluster_task_complete</Code> or
|
|
1673
|
-
report via <Code>peer_send</Code
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
re-enforces the operator-confirmed terminal-status rule at
|
|
1677
|
-
the peer layer.
|
|
1713
|
+
report via <Code>peer_send</Code>. The operator can accept a task from
|
|
1714
|
+
the LEDGER tab, by dragging the card to <Code>done</Code> with confirmation,
|
|
1715
|
+
or through the drawer status controls.
|
|
1678
1716
|
</Note>
|
|
1679
1717
|
<p>
|
|
1680
1718
|
Claims and updates are saved like operator edits. Every member's
|
|
@@ -1695,15 +1733,13 @@ export const clusters: Section[] = [
|
|
|
1695
1733
|
</p>
|
|
1696
1734
|
<ul>
|
|
1697
1735
|
<li><strong>PLAN</strong> - agents follow the plan and the operator approves changes.</li>
|
|
1698
|
-
<li><strong>BOARD</strong> - agents move tasks along; the operator
|
|
1736
|
+
<li><strong>BOARD</strong> - agents move tasks along; the operator can accept finished work and answers blocked tasks.</li>
|
|
1699
1737
|
</ul>
|
|
1700
1738
|
<ul>
|
|
1701
1739
|
<li>
|
|
1702
1740
|
The badge above the member cards names WAITING questions that pause an
|
|
1703
|
-
agent, tasks BLOCKED on you, ASKED questions the agent can continue past
|
|
1704
|
-
and
|
|
1705
|
-
warning colour; optional kinds are muted. Accepting is optional; nothing
|
|
1706
|
-
waits on it.
|
|
1741
|
+
agent, tasks BLOCKED on you, and ASKED questions the agent can continue past. Stopped kinds come first
|
|
1742
|
+
and use the warning colour; ASKED is muted.
|
|
1707
1743
|
</li>
|
|
1708
1744
|
<li>
|
|
1709
1745
|
Click the badge to jump to a task or member. In Narrow layout, the compact
|
|
@@ -1730,8 +1766,9 @@ export const clusters: Section[] = [
|
|
|
1730
1766
|
the board moved.
|
|
1731
1767
|
</li>
|
|
1732
1768
|
<li>
|
|
1733
|
-
Settings > Agents and clusters > Board auto-done
|
|
1734
|
-
|
|
1769
|
+
Settings > Agents and clusters > Board auto-done is on by default.
|
|
1770
|
+
A new director met sign-off closes the task on the server; turn the setting
|
|
1771
|
+
off to accept tasks yourself. Existing review tasks stay in review.
|
|
1735
1772
|
</li>
|
|
1736
1773
|
</ul>
|
|
1737
1774
|
</>
|
|
@@ -531,6 +531,24 @@ export const configuration: Section[] = [
|
|
|
531
531
|
</p>
|
|
532
532
|
<p>UPDATE checks every installed file against its REVIEW snapshot before replacing the folder. A later local edit refuses the update and remains intact. REVIEW again before applying.</p>
|
|
533
533
|
<p>Quotes and backslashes in skill names and descriptions survive repeated edits. IMPORT, MOVE, DUPLICATE and new skill creation keep collision suffixes within the 64-character folder-name limit.</p>
|
|
534
|
+
<Sub>Pin to a tab, cluster or role</Sub>
|
|
535
|
+
<p>In Settings > SKILLS, PIN TO TAB selects an Agent tab. PIN TO CLUSTER
|
|
536
|
+
selects a cluster and All members or one role. A custom role must match its
|
|
537
|
+
saved text exactly. Project skills stay within their project; global skills
|
|
538
|
+
can be pinned anywhere. Full text is added on every matching member's next turn.</p>
|
|
539
|
+
<p>The cluster SKILLS button beside EFFICIENCY shows the configured count.
|
|
540
|
+
Open it to see sources, scope, availability and UNPIN. New and replaced
|
|
541
|
+
members inherit the cluster's pins. A member's composer shows FROM CLUSTER;
|
|
542
|
+
its direct tab pins remain separate. Only the operator can pin or unpin.</p>
|
|
543
|
+
<p>Tab, cluster and matching role pins share a limit of 12 unique skills and
|
|
544
|
+
64 KiB of text. Duplicate references apply once. Additions over the limit are
|
|
545
|
+
refused with a reason. Running turns keep their existing instructions.
|
|
546
|
+
There are no default pins or Standing skills row during creation.</p>
|
|
547
|
+
<p>Missing, moved, deleted or off skills are skipped and remain visible for
|
|
548
|
+
removal. Edits take effect next turn; an enlarged skill that no longer fits
|
|
549
|
+
is reported in the conversation. Pinning project text applies it even with
|
|
550
|
+
project trust off. To pin a built-in, first save an EDITABLE COPY as a project
|
|
551
|
+
or global skill.</p>
|
|
534
552
|
<Sub>Built-in skills</Sub>
|
|
535
553
|
<p>Built-ins are on by default. Settings lists each with an OPERATOR or MODEL
|
|
536
554
|
badge and can turn each off. A project or
|
|
@@ -867,6 +885,22 @@ export const configuration: Section[] = [
|
|
|
867
885
|
compact themselves.
|
|
868
886
|
</p>
|
|
869
887
|
<p>
|
|
888
|
+
Between turns, after a successful automatic compaction, the next completed
|
|
889
|
+
turn at or above the threshold can compact again.
|
|
890
|
+
</p>
|
|
891
|
+
<p>
|
|
892
|
+
If three automatic compactions in a row each leave the context still at or
|
|
893
|
+
above the threshold at turn end, a notice says automatic compaction has run
|
|
894
|
+
after each of the last 3 turns, the context is still at or above the
|
|
895
|
+
threshold, and it keeps running. Large turns make that expected; otherwise
|
|
896
|
+
raise the threshold or use HANDOFF.
|
|
897
|
+
</p>
|
|
898
|
+
<p>
|
|
899
|
+
The same notice can appear again after a turn ends below the threshold or
|
|
900
|
+
COMPACT succeeds. A failed attempt waits for a reading more than five
|
|
901
|
+
percentage points below the threshold before retrying.
|
|
902
|
+
</p>
|
|
903
|
+
<p>
|
|
870
904
|
Claude Native also compacts inside one long turn. When a request reaches the
|
|
871
905
|
threshold (70% under Provider), Arco summarizes the earlier history before
|
|
872
906
|
the next request, keeps the tool call in progress and its result, and the
|
|
@@ -893,10 +927,10 @@ export const configuration: Section[] = [
|
|
|
893
927
|
The retained round's narration also survives a later worker rebuild, without appearing twice.
|
|
894
928
|
</p>
|
|
895
929
|
<p>
|
|
896
|
-
|
|
897
|
-
one notice says so. A failed summary changes nothing and
|
|
898
|
-
STOP cancels the whole multipart summary, including
|
|
899
|
-
leaves the prior history available.
|
|
930
|
+
That in-turn compaction runs at most once per crossing: if the context stays
|
|
931
|
+
above the threshold, one notice says so. A failed summary changes nothing and
|
|
932
|
+
the turn continues. STOP cancels the whole multipart summary, including
|
|
933
|
+
between requests, and leaves the prior history available.
|
|
900
934
|
Off turns it off, and so does Claude API compaction (beta).
|
|
901
935
|
</p>
|
|
902
936
|
<p>
|
|
@@ -132,6 +132,17 @@ export const maintenance: Section[] = [
|
|
|
132
132
|
Claude continues to use <Code>claude update</Code>.
|
|
133
133
|
</p>
|
|
134
134
|
<p>
|
|
135
|
+
Cursor uses <Code>cursor-agent update</Code> and rechecks its version.
|
|
136
|
+
The separate CURSOR CHANGELOG link opens the CLI release notes.
|
|
137
|
+
</p>
|
|
138
|
+
<p>
|
|
139
|
+
Cursor's update flag reads the dated release version from its public
|
|
140
|
+
installer without running the script. If that metadata cannot be read,
|
|
141
|
+
no flag appears and clicking the row still runs the updater. Builds with
|
|
142
|
+
different hashes on the same date have no known order and do not show
|
|
143
|
+
an update flag. Arco never installs a second copy as a fallback.
|
|
144
|
+
</p>
|
|
145
|
+
<p>
|
|
135
146
|
During an npm publication gap, an older npm CLI can use a pinned installable
|
|
136
147
|
version; a self-updater waits for the latest platform build instead.
|
|
137
148
|
Arco does not downgrade a working installation. The Codex flag uses that
|
|
@@ -139,6 +150,13 @@ export const maintenance: Section[] = [
|
|
|
139
150
|
Homebrew installations without recognised ownership require manual updates.
|
|
140
151
|
</p>
|
|
141
152
|
<p>
|
|
153
|
+
llama.cpp checks recent published numeric build tags and flags an older
|
|
154
|
+
installed build. Semantic milestone versions are not compared as build
|
|
155
|
+
numbers. If a build cannot be read, no update flag is shown. Click the row
|
|
156
|
+
to open upstream releases and update manually; the check does not install
|
|
157
|
+
anything or load a model.
|
|
158
|
+
</p>
|
|
159
|
+
<p>
|
|
142
160
|
Strata's installed engine version comes from its reachable service or
|
|
143
161
|
prepared BUILD.json while stopped. Arco compares engine component
|
|
144
162
|
versions at boot and every four hours; the app/Terminal 0.2 version
|
|
@@ -179,6 +197,10 @@ export const maintenance: Section[] = [
|
|
|
179
197
|
notice is dismissed. Clicking it opens the update dialog, or the version
|
|
180
198
|
details when Arco is up to date.
|
|
181
199
|
</p>
|
|
200
|
+
<p>
|
|
201
|
+
A release found with CHECK NOW appears
|
|
202
|
+
in the version box; select UPDATE AND RESTART to open its confirmation.
|
|
203
|
+
</p>
|
|
182
204
|
<Sub>Settings row and automatic checks</Sub>
|
|
183
205
|
<p>
|
|
184
206
|
Settings > Advanced > CLI and runtime versions includes an{' '}
|
|
@@ -212,6 +234,14 @@ export const maintenance: Section[] = [
|
|
|
212
234
|
refuses to proceed if the stop cannot be verified.
|
|
213
235
|
</p>
|
|
214
236
|
<p>
|
|
237
|
+
The result stays beside the open update control. Closing that control shows
|
|
238
|
+
a separate result notice with <strong>DISMISS</strong>. If npm cannot be found,
|
|
239
|
+
the update leaves the service running and lists the locations checked. In a
|
|
240
|
+
terminal where <Code>npm --version</Code> works, stop Arco, run{' '}
|
|
241
|
+
<Code>npm install -g arco-workbench</Code>, then start Arco again. Repair the
|
|
242
|
+
Node.js/npm installation first if that terminal cannot run npm either.
|
|
243
|
+
</p>
|
|
244
|
+
<p>
|
|
215
245
|
After a restart, Arco reloads a page automatically if its build changed or
|
|
216
246
|
its session cannot recover and no unsaved work is detected. Otherwise the
|
|
217
247
|
RELOAD banner stays visible. Save drafts and edits before selecting it.
|
|
@@ -491,7 +491,11 @@ export const plans: Section[] = [
|
|
|
491
491
|
<>
|
|
492
492
|
<p>
|
|
493
493
|
Review and handoff write durable markdown artifacts beside the workflow, so
|
|
494
|
-
their results outlive the session.
|
|
494
|
+
their results outlive the session. Files meant to stay in the project
|
|
495
|
+
belong in the project tree, not only under that conversation's{' '}
|
|
496
|
+
<Code>artifacts/</Code> folder. The project <Code>.arco/</Code> folder
|
|
497
|
+
is local state and is not committed, except a skill shared through
|
|
498
|
+
SHARE WITH REPOSITORY.
|
|
495
499
|
</p>
|
|
496
500
|
<ul>
|
|
497
501
|
<li>
|
|
@@ -427,14 +427,17 @@ export const providers: Section[] = [
|
|
|
427
427
|
</p>
|
|
428
428
|
<Sub>Models and effort</Sub>
|
|
429
429
|
<p>
|
|
430
|
-
|
|
430
|
+
The cold default is <Code>gpt-6.2-sol</Code>; a live account catalog supplies
|
|
431
|
+
its own default. The picker uses the
|
|
431
432
|
selected model's live catalog, so the effort levels offered follow the
|
|
432
433
|
model:
|
|
433
434
|
</p>
|
|
434
435
|
<Table
|
|
435
436
|
headers={['Model', 'Role', 'Effort levels']}
|
|
436
437
|
rows={[
|
|
437
|
-
[<Code key="
|
|
438
|
+
[<Code key="s62">gpt-6.2-sol</Code>, 'Cold default', 'low / medium / high / xhigh / max / ultra'],
|
|
439
|
+
[<Code key="a62">gpt-6.2-astra</Code>, 'Complex coding', 'low / medium / high / xhigh / max / ultra'],
|
|
440
|
+
[<Code key="a">gpt-6-astra</Code>, 'Earlier Astra', 'low / medium / high / xhigh / max / ultra'],
|
|
438
441
|
[<Code key="s">gpt-6-sol</Code>, 'Everyday coding workhorse', 'low / medium / high / xhigh / max / ultra'],
|
|
439
442
|
[<Code key="l">gpt-6-luna</Code>, 'Fast and affordable', 'Stops at max'],
|
|
440
443
|
['Older models', '-', 'Can expose fewer levels'],
|
|
@@ -445,6 +448,13 @@ export const providers: Section[] = [
|
|
|
445
448
|
value (currently about 828K effective for Astra). CONFIG can return a tab
|
|
446
449
|
to STANDARD (about 258K). A provider-reported window takes precedence.
|
|
447
450
|
</p>
|
|
451
|
+
<p>
|
|
452
|
+
The catalog refreshes when the CLI changes its local model list, on the next
|
|
453
|
+
Arco catalog request. The browser polls every 30 minutes; reload the page to
|
|
454
|
+
request it sooner without restarting Arco. GPT-6.2 Sol and Astra support image
|
|
455
|
+
input. STANDARD is about 475K effective for Sol and 258K for Astra; MAX is
|
|
456
|
+
about 828K for both. Provider-reported values take precedence.
|
|
457
|
+
</p>
|
|
448
458
|
<Note kind="warn">Codex describes ultra as maximum reasoning with automatic
|
|
449
459
|
task delegation. Provider-internal delegated-agent activity is not fully
|
|
450
460
|
represented in Arco's transcript. Choosing it does not create an Arco
|
|
@@ -910,8 +920,8 @@ export const providers: Section[] = [
|
|
|
910
920
|
<Sub>Auto-recovery</Sub>
|
|
911
921
|
<p>
|
|
912
922
|
Local thinking models fail in specific ways the lifecycle alone can't
|
|
913
|
-
handle. The provider runs
|
|
914
|
-
|
|
923
|
+
handle. The provider runs recovery paths in place (without spawning Handoff)
|
|
924
|
+
and a context-fill warning:
|
|
915
925
|
</p>
|
|
916
926
|
<ul>
|
|
917
927
|
<li><strong>Reasoning runaway</strong> - model emits{' '}
|
|
@@ -922,7 +932,12 @@ export const providers: Section[] = [
|
|
|
922
932
|
<Code>ARCO_LLAMACPP_STALL_TIMEOUT_MS</Code> (default 90 s). Builds a
|
|
923
933
|
deterministic summary (no LLM call) and continues.
|
|
924
934
|
</li>
|
|
925
|
-
<li><strong>
|
|
935
|
+
<li><strong>Wall-clock limit</strong> - a reply reaches{' '}
|
|
936
|
+
<Code>ARCO_LLAMACPP_TURN_BUDGET_MS</Code> (default 120 s), even while
|
|
937
|
+
text keeps arriving. Cancels the stream and continues with a recap
|
|
938
|
+
within the recovery budget.
|
|
939
|
+
</li>
|
|
940
|
+
<li><strong>Tool-cap exhaustion</strong> - 25-turn cap fires on a
|
|
926
941
|
legitimately long task. Same deterministic recap, reset counter, keep
|
|
927
942
|
going.
|
|
928
943
|
</li>
|
|
@@ -934,9 +949,18 @@ export const providers: Section[] = [
|
|
|
934
949
|
</li>
|
|
935
950
|
</ul>
|
|
936
951
|
<p>
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
952
|
+
Recovery paths share a budget (default 1 per operator turn), followed by
|
|
953
|
+
one final-summary attempt before terminating if it also fails. Each emits
|
|
954
|
+
a <Code>system_notice</Code> so the cause is visible without digging
|
|
955
|
+
through logs.
|
|
956
|
+
</p>
|
|
957
|
+
<p>
|
|
958
|
+
The wall-clock and no-data limits also apply with{' '}
|
|
959
|
+
<Code>ARCO_LLAMACPP_AUTO_RECOVER=off</Code>. Arco then cancels the stream,
|
|
960
|
+
attempts to free its slot and shows one plain error without retrying.
|
|
961
|
+
The wall-clock limit includes the request and resets for each reply in
|
|
962
|
+
a tool loop. Override these limits in the server environment when a
|
|
963
|
+
model needs longer.
|
|
940
964
|
</p>
|
|
941
965
|
<Sub>Serve-failure diagnosis</Sub>
|
|
942
966
|
<p>
|
|
@@ -513,7 +513,8 @@ New turns blocked for 60s. Recover via Handoff.`}</Pre>
|
|
|
513
513
|
<Sub>"Package install will not start or the page does not load"</Sub>
|
|
514
514
|
<ul>
|
|
515
515
|
<li>Run <Code>arco doctor</Code>: it reports the Node version (24 or newer), whether the native modules load, whether the port is free on loopback, which provider CLIs answer <Code>--version</Code>, and the service state.</li>
|
|
516
|
-
<li>
|
|
516
|
+
<li>Only run <Code>arco setup --repair-native</Code> when Arco reports that a native part will not load, including missing or incompatible native modules in <Code>arco doctor</Code>. A working platform build toolchain is required.</li>
|
|
517
|
+
<li>A failed repair names the compile or link step when available and repeats its decisive error. The installed native parts stay unchanged and keep working. Build tools may be missing, out of date or broken; resolve the reported error before retrying a needed repair.</li>
|
|
517
518
|
<li>If the port is in use, another Arco or a different program holds it. Stop the other process or set <Code>ARCO_PORT</Code>.</li>
|
|
518
519
|
<li>Run <Code>arco service logs</Code> to read the recent service logs.</li>
|
|
519
520
|
</ul>
|
|
@@ -21,6 +21,13 @@ export const workflows: Section[] = [
|
|
|
21
21
|
<li>Optional artifacts under <Code>artifacts/</Code> and <Code>handoffs/</Code> alongside.</li>
|
|
22
22
|
</ul>
|
|
23
23
|
<p>
|
|
24
|
+
Put files the operator wants kept in the project in the project tree, for
|
|
25
|
+
example <Code>docs/</Code>, not only under the conversation's{' '}
|
|
26
|
+
<Code>artifacts/</Code> folder. The project <Code>.arco/</Code> folder is
|
|
27
|
+
local state and is not committed, except a skill shared through SHARE WITH
|
|
28
|
+
REPOSITORY.
|
|
29
|
+
</p>
|
|
30
|
+
<p>
|
|
24
31
|
The server reloads workflows on boot. The client rehydrates from local storage,
|
|
25
32
|
and the server replays anything it missed.
|
|
26
33
|
</p>
|
|
@@ -130,6 +137,18 @@ codex exec resume <thread-id> "next prompt"
|
|
|
130
137
|
to the running server; it cannot recover an id already lost before restart.
|
|
131
138
|
Claude Native and local providers can replay retained history without that id.
|
|
132
139
|
</p>
|
|
140
|
+
<p>Claude Native rebuilds at most 1 GiB of uncached history in one parse.
|
|
141
|
+
A valid summary cache with a small tail can still resume a larger history.
|
|
142
|
+
If a rebuild exceeds the limit or fails, one notice says that the agent
|
|
143
|
+
continues without earlier context. Earlier messages stay in the tab; include
|
|
144
|
+
any context the next task needs again.</p>
|
|
145
|
+
<p>The older-turn digest used by Claude Native resume is limited to 128 KiB.
|
|
146
|
+
Compacted context and its kept-tail digest come first; oldest turn notes are
|
|
147
|
+
left out first. The tab and the agent receive the same line saying how many were left out.
|
|
148
|
+
If compacted context alone is too large, the same line says it was shortened.
|
|
149
|
+
Earlier messages remain in the conversation.</p>
|
|
150
|
+
<p>Claude CLI session loading handles 2 GB histories separately. If its session file cannot be read, a notice says
|
|
151
|
+
that the saved conversation is intact; new messages appear when readable.</p>
|
|
133
152
|
<p>COMPACT on a lost Codex or Cursor conversation explains that the next message
|
|
134
153
|
starts a new conversation. An empty tab still asks for its first turn.</p>
|
|
135
154
|
<Sub>Claude CLI</Sub>
|
|
@@ -178,6 +178,12 @@ export const workspace: Section[] = [
|
|
|
178
178
|
short account badge also appears. Click a tab to focus it; drag tabs to
|
|
179
179
|
reorder them.
|
|
180
180
|
</p>
|
|
181
|
+
<p>
|
|
182
|
+
Use the mouse wheel over the row to scroll sideways,
|
|
183
|
+
or swipe horizontally on a touch screen or trackpad. Previous tabs
|
|
184
|
+
and Next tabs buttons appear at edges with more tabs. Opening a tab
|
|
185
|
+
brings it into view; keyboard focus also keeps its control visible.
|
|
186
|
+
</p>
|
|
181
187
|
<p>
|
|
182
188
|
Click the <Code>×</Code> on a tab to close it: Arco asks for
|
|
183
189
|
confirmation first, and the prompt calls out an in-progress turn (it
|
|
@@ -8,10 +8,18 @@ export function isUpdateStatus(value: unknown): value is UpdateCheckStatus {
|
|
|
8
8
|
&& [s.latest, s.url, s.publishedAt, s.checkedAt].every((v) => v === null || typeof v === 'string');
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
let manualCheck = false;
|
|
12
|
+
let manualRelease: string | null = null;
|
|
13
|
+
|
|
11
14
|
export const useAppUpdateStore = create<{
|
|
12
15
|
status: UpdateCheckStatus | null;
|
|
13
16
|
notice: AppUpdateAvailableMessage | null;
|
|
14
17
|
updating: boolean;
|
|
18
|
+
resultSurfaces: string[];
|
|
19
|
+
showResultAt: (id: string, preferred?: boolean) => void;
|
|
20
|
+
removeResultSurface: (id: string) => void;
|
|
21
|
+
versionOpen: boolean;
|
|
22
|
+
setVersionOpen: (value: boolean) => void;
|
|
15
23
|
setUpdating: (value: boolean) => void;
|
|
16
24
|
receive: (notice: AppUpdateAvailableMessage) => void;
|
|
17
25
|
refresh: (force?: boolean) => Promise<void>;
|
|
@@ -20,20 +28,33 @@ export const useAppUpdateStore = create<{
|
|
|
20
28
|
status: null,
|
|
21
29
|
notice: null,
|
|
22
30
|
updating: false,
|
|
31
|
+
resultSurfaces: [],
|
|
32
|
+
showResultAt: (id, preferred = false) => set(({ resultSurfaces }) => {
|
|
33
|
+
const others = resultSurfaces.filter((value) => value !== id);
|
|
34
|
+
return { resultSurfaces: preferred ? [id, ...others] : [...others, id] };
|
|
35
|
+
}),
|
|
36
|
+
removeResultSurface: (id) => set(({ resultSurfaces }) => ({ resultSurfaces: resultSurfaces.filter((value) => value !== id) })),
|
|
37
|
+
versionOpen: false,
|
|
38
|
+
setVersionOpen: (versionOpen) => set({ versionOpen }),
|
|
23
39
|
setUpdating: (updating) => set({ updating }),
|
|
24
40
|
receive: (notice) => {
|
|
25
41
|
if (typeof notice.latest !== 'string' || typeof notice.url !== 'string' || !/^v\d+\.\d+\.\d+/.test(notice.latest) || !notice.url.startsWith('https://github.com/ghreprimand/arco/releases/tag/')) return;
|
|
42
|
+
if (manualCheck || notice.latest === manualRelease) return;
|
|
26
43
|
if (get().notice?.latest !== notice.latest) set({ notice });
|
|
27
44
|
},
|
|
28
45
|
refresh: async (force = false) => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
46
|
+
if (force) manualCheck = true;
|
|
47
|
+
try {
|
|
48
|
+
const response = await fetch('/api/update-check', { method: force ? 'POST' : 'GET' });
|
|
49
|
+
if (!response.ok) throw new Error('Release check unavailable');
|
|
50
|
+
const status: unknown = await response.json();
|
|
51
|
+
if (!isUpdateStatus(status)) throw new Error('Release check unavailable');
|
|
52
|
+
if (force) manualRelease = status.enabled && status.updateAvailable ? status.latest : null;
|
|
53
|
+
set({ status, ...(force ? { notice: null } : {}) });
|
|
54
|
+
if (status.enabled && status.updateAvailable && status.latest && status.url && status.publishedAt) {
|
|
55
|
+
get().receive({ type: 'app_update_available', current: status.current, latest: status.latest, url: status.url, publishedAt: status.publishedAt });
|
|
56
|
+
} else set({ notice: null });
|
|
57
|
+
} finally { if (force) manualCheck = false; }
|
|
37
58
|
},
|
|
38
59
|
clear: () => set({ notice: null }),
|
|
39
60
|
}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TranscriptWorkerCreateMessage, TranscriptWorkerPreviewMessage, TranscriptWorkerResultMessage } from '@arco/shared';
|
|
2
|
+
import { useAppStore } from '../stores/appStore';
|
|
3
|
+
|
|
4
|
+
const pending = new Map<string, { resolve: (result: TranscriptWorkerResultMessage) => void; reject: (error: Error) => void; timer: ReturnType<typeof setTimeout> }>();
|
|
5
|
+
|
|
6
|
+
export function requestTranscriptWorker(message: Omit<TranscriptWorkerPreviewMessage, 'requestId'> | Omit<TranscriptWorkerCreateMessage, 'requestId'>): Promise<TranscriptWorkerResultMessage> {
|
|
7
|
+
const state = useAppStore.getState();
|
|
8
|
+
if (!state.connected || !state.wsSendRaw) return Promise.reject(new Error('Reconnect before sending.'));
|
|
9
|
+
const requestId = crypto.randomUUID();
|
|
10
|
+
return new Promise((resolve, reject) => {
|
|
11
|
+
const timer = setTimeout(() => { pending.delete(requestId); reject(new Error('The request did not finish. Reconnect or refresh the preview before trying again.')); }, 30_000);
|
|
12
|
+
pending.set(requestId, { resolve, reject, timer });
|
|
13
|
+
try { state.wsSendRaw!({ ...message, requestId }); }
|
|
14
|
+
catch { clearTimeout(timer); pending.delete(requestId); reject(new Error('Reconnect before sending.')); }
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function finishTranscriptWorkerRequest(result: TranscriptWorkerResultMessage): void {
|
|
19
|
+
const entry = pending.get(result.requestId);
|
|
20
|
+
if (!entry) return;
|
|
21
|
+
clearTimeout(entry.timer); pending.delete(result.requestId);
|
|
22
|
+
if (result.error) entry.reject(new Error(result.error));
|
|
23
|
+
else entry.resolve(result);
|
|
24
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
import { reportRecovery } from '../buildCheck';
|
|
12
12
|
|
|
13
13
|
const REFRESH_MS = 20 * 60 * 1000;
|
|
14
|
+
const MINT_TIMEOUT_MS = 5000;
|
|
14
15
|
const nativeFetch: typeof fetch = window.fetch.bind(window);
|
|
15
16
|
let inflight: Promise<void> | null = null;
|
|
16
17
|
|
|
@@ -18,7 +19,7 @@ let inflight: Promise<void> | null = null;
|
|
|
18
19
|
// caller's normal error/reconnect path runs. Concurrent callers share one mint.
|
|
19
20
|
export function ensureWsSession(): Promise<void> {
|
|
20
21
|
if (!inflight) {
|
|
21
|
-
inflight = nativeFetch('/api/session', { method: 'POST', credentials: 'same-origin', cache: 'no-store' })
|
|
22
|
+
inflight = nativeFetch('/api/session', { method: 'POST', credentials: 'same-origin', cache: 'no-store', signal: AbortSignal.timeout(MINT_TIMEOUT_MS) })
|
|
22
23
|
.then(() => undefined, () => undefined)
|
|
23
24
|
.finally(() => { inflight = null; });
|
|
24
25
|
}
|