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
|
@@ -20,7 +20,7 @@ import { mergeItems, rollupProjects, type ArtifactEntry, type DocEntry, type Pro
|
|
|
20
20
|
interface Props {
|
|
21
21
|
focusTick: number;
|
|
22
22
|
treeRoot?: string | null;
|
|
23
|
-
onOpen: (path: string) => void;
|
|
23
|
+
onOpen: (path: string, project?: string) => void;
|
|
24
24
|
onRevealInTree: (path: string) => void;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -32,7 +32,12 @@ function subdirOf(rel: string): string {
|
|
|
32
32
|
return i === -1 ? '·' : rel.slice(0, i) + '/';
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
interface LoadedEntries<T> {
|
|
35
|
+
interface LoadedEntries<T> {
|
|
36
|
+
entries: T[];
|
|
37
|
+
projects?: Array<Pick<ProjectSummary, 'cwd' | 'project'>>;
|
|
38
|
+
partial?: boolean;
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
36
41
|
|
|
37
42
|
async function loadEntries<T>(url: string, label: string): Promise<LoadedEntries<T>> {
|
|
38
43
|
try {
|
|
@@ -40,7 +45,7 @@ async function loadEntries<T>(url: string, label: string): Promise<LoadedEntries
|
|
|
40
45
|
if (!response.ok) throw new Error('List unavailable');
|
|
41
46
|
const body = await response.json();
|
|
42
47
|
if (!Array.isArray(body?.entries)) throw new Error('Invalid list response');
|
|
43
|
-
return { entries: body.entries, partial: body.partial === true };
|
|
48
|
+
return { entries: body.entries, partial: body.partial === true, projects: Array.isArray(body.projects) ? body.projects : undefined };
|
|
44
49
|
} catch {
|
|
45
50
|
return { entries: [], error: `${label} could not be loaded. Refocus this window to retry.` };
|
|
46
51
|
}
|
|
@@ -70,29 +75,30 @@ export function ArtifactsLens({ focusTick, treeRoot, onOpen, onRevealInTree }: P
|
|
|
70
75
|
.then(result => { if (!cancelled) setProjectDocs(result); });
|
|
71
76
|
return () => { cancelled = true; };
|
|
72
77
|
}, [selectedCwd, focusTick]);
|
|
73
|
-
const items = useMemo(() => mergeItems(artifacts?.entries ?? [],
|
|
74
|
-
? [...(docs?.entries ?? []).filter(doc => doc.cwd !== selectedCwd), ...projectDocs.entries]
|
|
75
|
-
: docs?.entries ?? []), [artifacts, docs, selectedCwd, projectDocs]);
|
|
78
|
+
const items = useMemo(() => mergeItems(artifacts?.entries ?? [], docs?.entries ?? []), [artifacts, docs]);
|
|
76
79
|
const currentDocs = selectedCwd ? projectDocs : docs;
|
|
77
80
|
const status = <div data-help="header.archive" style={{ fontSize: '12px', color: 'var(--color-fg-muted)', marginBottom: '10px' }}>
|
|
78
81
|
{artifacts === null ? <div>Loading artifacts...</div> : artifacts.error
|
|
79
82
|
? <div role="status">{artifacts.error}</div> : artifacts.entries.length === 0 ? <div>No artifacts found.</div> : null}
|
|
80
83
|
{currentDocs === null ? <div>Loading project documents...</div> : currentDocs.error
|
|
81
84
|
? <div role="status">{currentDocs.error}</div> : currentDocs.entries.length === 0 ? <div>No project documents found.</div> : null}
|
|
82
|
-
{currentDocs?.partial && <div>
|
|
85
|
+
{currentDocs?.partial && <div>{selectedCwd
|
|
86
|
+
? 'Some project documents were outside this scan.'
|
|
87
|
+
: 'Showing the newest ' + currentDocs.entries.length + '; open a project for more.'}</div>}
|
|
83
88
|
</div>;
|
|
84
89
|
|
|
85
|
-
const projects = useMemo
|
|
86
|
-
const recent = useMemo(() =>
|
|
87
|
-
const selected =
|
|
88
|
-
const
|
|
90
|
+
const projects = useMemo(() => rollupProjects(items, docs?.projects), [items, docs?.projects]);
|
|
91
|
+
const recent = useMemo(() => items.slice(0, RECENT_STRIP), [items]);
|
|
92
|
+
const selected = projects.find(p => p.cwd === selectedCwd);
|
|
93
|
+
const scopedItems = useMemo(() => {
|
|
89
94
|
if (!selectedCwd) return [];
|
|
95
|
+
if (!projectDocs || projectDocs.error) return items.filter(it => it.cwd === selectedCwd);
|
|
96
|
+
return mergeItems((artifacts?.entries ?? []).filter(it => it.cwd === selectedCwd), projectDocs.entries.filter(doc => doc.cwd === selectedCwd));
|
|
97
|
+
}, [selectedCwd, projectDocs, artifacts, items]);
|
|
98
|
+
const projectItems = useMemo(() => {
|
|
90
99
|
const q = filter.trim().toLowerCase();
|
|
91
|
-
return (
|
|
92
|
-
|
|
93
|
-
.filter((it) => !q || it.name.toLowerCase().includes(q) || (it.rel ?? '').toLowerCase().includes(q) || (it.tabTitle ?? '').toLowerCase().includes(q));
|
|
94
|
-
}, [items, selectedCwd, filter]);
|
|
95
|
-
|
|
100
|
+
return scopedItems.filter(it => !q || [it.name, it.rel, it.tabTitle, it.branch].some(value => value?.toLowerCase().includes(q)));
|
|
101
|
+
}, [scopedItems, filter]);
|
|
96
102
|
|
|
97
103
|
// ── PROJECT view ──────────────────────────────────────────────────────────
|
|
98
104
|
if (selected) {
|
|
@@ -104,11 +110,11 @@ export function ArtifactsLens({ focusTick, treeRoot, onOpen, onRevealInTree }: P
|
|
|
104
110
|
<div style={{ overflow: 'hidden' }}>
|
|
105
111
|
<div className="display-font glow-text-cyan" style={{ fontSize: '17px', letterSpacing: '1px' }}>{selected.project}</div>
|
|
106
112
|
<div style={{ fontSize: '12px', color: 'var(--color-fg-muted)' }} title={selected.cwd}>
|
|
107
|
-
{countLabel(selected)} · {selected.cwd}
|
|
113
|
+
{countLabel(rollupProjects(scopedItems)[0] ?? selected)} · {selected.cwd}
|
|
108
114
|
</div>
|
|
109
115
|
</div>
|
|
110
116
|
</div>
|
|
111
|
-
<input value={filter} onChange={(e) => setFilter(e.target.value)} placeholder="Filter by filename, folder, or tab title…" style={filterInputStyle} />
|
|
117
|
+
<input value={filter} onChange={(e) => setFilter(e.target.value)} placeholder="Filter by filename, folder, branch, or tab title…" style={filterInputStyle} />
|
|
112
118
|
<div style={{ flex: 1, overflowY: 'auto', marginTop: '10px' }}>
|
|
113
119
|
{projectItems.length === 0 ? (
|
|
114
120
|
<Centered text={filter ? 'Nothing matches that filter.' : 'No documents or artifacts in this project.'} />
|
|
@@ -144,8 +150,8 @@ export function ArtifactsLens({ focusTick, treeRoot, onOpen, onRevealInTree }: P
|
|
|
144
150
|
<div className="display-font" style={{ fontSize: '15px', letterSpacing: '0.5px', color: 'var(--color-accent-primary)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
|
|
145
151
|
{p.project}
|
|
146
152
|
</div>
|
|
147
|
-
<div style={{ fontSize: '12px', color: 'var(--color-fg-muted)', marginTop: '5px' }}>{countLabel(p)}</div>
|
|
148
|
-
<div style={{ fontSize: '11px', color: 'var(--color-fg-muted)', marginTop: '3px', opacity: 0.8 }}>updated {formatRelativeTime(p.lastMtime)}</div>
|
|
153
|
+
{p.count > 0 && <div style={{ fontSize: '12px', color: 'var(--color-fg-muted)', marginTop: '5px' }}>{countLabel(p)}</div>}
|
|
154
|
+
{p.lastMtime > 0 && <div style={{ fontSize: '11px', color: 'var(--color-fg-muted)', marginTop: '3px', opacity: 0.8 }}>updated {formatRelativeTime(p.lastMtime)}</div>}
|
|
149
155
|
</button>
|
|
150
156
|
))}
|
|
151
157
|
</div>
|
|
@@ -162,23 +168,26 @@ function countLabel(p: ProjectSummary): string {
|
|
|
162
168
|
return parts.join(' · ') || '0 files';
|
|
163
169
|
}
|
|
164
170
|
|
|
165
|
-
function ItemRow({ item, treeRoot, onOpen, onRevealInTree, showProject }: { item: ProjectItem; treeRoot?: string | null; onOpen:
|
|
166
|
-
const meta =
|
|
167
|
-
|
|
168
|
-
|
|
171
|
+
function ItemRow({ item, treeRoot, onOpen, onRevealInTree, showProject }: { item: ProjectItem; treeRoot?: string | null; onOpen: Props['onOpen']; onRevealInTree: (p: string) => void; showProject?: boolean }) {
|
|
172
|
+
const meta = [
|
|
173
|
+
...(item.kind === 'doc'
|
|
174
|
+
? [item.branch, showProject ? undefined : subdirOf(item.rel ?? '')]
|
|
175
|
+
: [item.tabTitle, item.provider]),
|
|
176
|
+
formatRelativeTime(item.mtime),
|
|
177
|
+
].filter(Boolean).join(' · ');
|
|
169
178
|
return (
|
|
170
179
|
<div className="archive-row" style={rowStyle} title={item.path}>
|
|
171
|
-
<button onClick={() => onOpen(item.path)} style={rowMainBtn}>
|
|
180
|
+
<button onClick={() => onOpen(item.path, item.branch ? item.cwd : undefined)} style={rowMainBtn}>
|
|
172
181
|
<span style={{ width: '18px', flexShrink: 0, color: item.kind === 'doc' ? 'var(--color-accent-primary-dim)' : 'var(--color-accent-secondary-dim)', fontSize: '12px' }}>
|
|
173
182
|
{item.kind === 'doc' ? '▤' : '⌸'}
|
|
174
183
|
</span>
|
|
175
184
|
<span style={{ flex: 1, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap', color: 'var(--color-accent-secondary-dim)' }}>{item.name}</span>
|
|
176
|
-
<span style={{ fontSize: '12px', color: 'var(--color-fg-muted)',
|
|
185
|
+
<span title={meta} style={{ fontSize: '12px', color: 'var(--color-fg-muted)', maxWidth: '55%', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
|
|
177
186
|
{showProject && <span style={{ color: 'var(--color-accent-primary-dim)' }}>{item.project} · </span>}
|
|
178
187
|
{meta}
|
|
179
188
|
</span>
|
|
180
189
|
</button>
|
|
181
|
-
{canRevealInTree(item.path, treeRoot) && (
|
|
190
|
+
{!item.branch && canRevealInTree(item.path, treeRoot) && (
|
|
182
191
|
<button data-help="header.archive" onClick={() => onRevealInTree(item.path)} className="display-font" title="Reveal in the file tree" style={revealBtn}>⊞</button>
|
|
183
192
|
)}
|
|
184
193
|
</div>
|
|
@@ -198,7 +207,7 @@ function Centered({ text }: { text: string }) {
|
|
|
198
207
|
}
|
|
199
208
|
|
|
200
209
|
const colStyle: React.CSSProperties = { flex: 1, minHeight: 0, display: 'flex', flexDirection: 'column', padding: '18px 20px', overflow: 'hidden' };
|
|
201
|
-
const cardGridStyle: React.CSSProperties = { display: 'grid', gridTemplateColumns: 'repeat(auto-fill, minmax(220px, 1fr))', gap: '12px', marginTop: '12px', overflowY: 'auto', paddingBottom: '8px', alignContent: 'start' };
|
|
210
|
+
const cardGridStyle: React.CSSProperties = { display: 'grid', gridTemplateColumns: 'repeat(auto-fill, minmax(min(220px, 100%), 1fr))', gap: '12px', marginTop: '12px', overflowY: 'auto', paddingBottom: '8px', alignContent: 'start' };
|
|
202
211
|
const cardStyle: React.CSSProperties = { textAlign: 'left', background: 'var(--color-bg-panel)', border: '1px solid var(--color-border-hairline)', borderRadius: '5px', padding: '14px' , cursor: 'pointer' };
|
|
203
212
|
const rowStyle: React.CSSProperties = { display: 'flex', alignItems: 'center', gap: '4px', width: '100%', borderBottom: '1px solid var(--color-border-hairline)' };
|
|
204
213
|
const rowMainBtn: React.CSSProperties = { display: 'flex', alignItems: 'center', gap: '10px', flex: 1, minWidth: 0, textAlign: 'left', background: 'transparent', border: 'none', color: 'var(--color-fg)', cursor: 'pointer', fontFamily: 'var(--font-body)', fontSize: '14px', padding: '9px 4px' };
|
|
@@ -37,7 +37,7 @@ const INITIAL_LENS: LensId = (() => {
|
|
|
37
37
|
export function ExplorerApp() {
|
|
38
38
|
const [lens, setLens] = useState<LensId>(INITIAL_LENS);
|
|
39
39
|
const [root, setRoot] = useState<string | null>(null);
|
|
40
|
-
const [
|
|
40
|
+
const [viewerFile, setViewerFile] = useState<{ path: string; project?: string } | null>(null);
|
|
41
41
|
// Reveal-in-tree (§4.3): switch to TREE with a target path. `.arco`
|
|
42
42
|
// artifacts are hidden, so only real project files (CHANGED FILES) trigger this.
|
|
43
43
|
const [reveal, setReveal] = useState<{ path: string; nonce: number } | null>(null);
|
|
@@ -144,10 +144,10 @@ export function ExplorerApp() {
|
|
|
144
144
|
|
|
145
145
|
<main style={{ flex: 1, minHeight: 0, display: 'flex', overflow: 'hidden' }}>
|
|
146
146
|
{activeLens.id === 'artifacts' && (
|
|
147
|
-
<ArtifactsLens focusTick={focusTick} treeRoot={root} onOpen={
|
|
147
|
+
<ArtifactsLens focusTick={focusTick} treeRoot={root} onOpen={(path, project) => setViewerFile({ path, project })} onRevealInTree={revealInTree} />
|
|
148
148
|
)}
|
|
149
149
|
{activeLens.id === 'recents' && (
|
|
150
|
-
<RecentsLens focusTick={focusTick} treeRoot={root} onOpen={
|
|
150
|
+
<RecentsLens focusTick={focusTick} treeRoot={root} onOpen={(path) => setViewerFile({ path })} onRevealInTree={revealInTree} />
|
|
151
151
|
)}
|
|
152
152
|
{activeLens.id === 'plans' && <PlansLens focusTick={focusTick} />}
|
|
153
153
|
{activeLens.id === 'storage' && <StorageLens focusTick={focusTick} />}
|
|
@@ -163,7 +163,8 @@ export function ExplorerApp() {
|
|
|
163
163
|
|
|
164
164
|
{/* Shared viewer for the ARTIFACTS/CHANGED FILES lenses. The TREE lens
|
|
165
165
|
(FileExplorer) opens its own modal internally. */}
|
|
166
|
-
{
|
|
166
|
+
{viewerFile && <FileViewerModal path={viewerFile.path} onClose={() => setViewerFile(null)}
|
|
167
|
+
readUrl={viewerFile.project ? '/api/file-content?' + new URLSearchParams({ path: viewerFile.path, cwd: viewerFile.project }) : undefined} />}
|
|
167
168
|
</div>
|
|
168
169
|
);
|
|
169
170
|
}
|
|
@@ -36,6 +36,7 @@ export interface DocEntry {
|
|
|
36
36
|
project: string;
|
|
37
37
|
cwd: string;
|
|
38
38
|
rel: string;
|
|
39
|
+
branch?: string;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
// One unified item the ARTIFACTS lens renders — a project document OR a workflow
|
|
@@ -47,7 +48,8 @@ export interface ProjectItem {
|
|
|
47
48
|
project: string;
|
|
48
49
|
cwd: string;
|
|
49
50
|
kind: 'doc' | 'artifact';
|
|
50
|
-
rel?: string; // doc: path relative to
|
|
51
|
+
rel?: string; // doc: path relative to its checkout (shows the subdir)
|
|
52
|
+
branch?: string; // doc: branch of a sibling worktree
|
|
51
53
|
tabTitle?: string; // artifact: the tab that produced it
|
|
52
54
|
provider?: string; // artifact
|
|
53
55
|
}
|
|
@@ -82,7 +84,7 @@ export function fileKind(name: string): FileKind {
|
|
|
82
84
|
return 'other';
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
export function rollupProjects(items: ProjectItem[]): ProjectSummary[] {
|
|
87
|
+
export function rollupProjects(items: ProjectItem[], known: Array<Pick<ProjectSummary, 'cwd' | 'project'>> = []): ProjectSummary[] {
|
|
86
88
|
const byCwd = new Map<string, ProjectSummary>();
|
|
87
89
|
for (const it of items) {
|
|
88
90
|
const cur = byCwd.get(it.cwd);
|
|
@@ -101,6 +103,9 @@ export function rollupProjects(items: ProjectItem[]): ProjectSummary[] {
|
|
|
101
103
|
});
|
|
102
104
|
}
|
|
103
105
|
}
|
|
106
|
+
for (const project of known) {
|
|
107
|
+
if (!byCwd.has(project.cwd)) byCwd.set(project.cwd, { ...project, count: 0, docCount: 0, artifactCount: 0, lastMtime: 0 });
|
|
108
|
+
}
|
|
104
109
|
return [...byCwd.values()].sort((a, b) => b.lastMtime - a.lastMtime);
|
|
105
110
|
}
|
|
106
111
|
|
|
@@ -111,7 +116,7 @@ export function mergeItems(artifacts: ArtifactEntry[], docs: DocEntry[]): Projec
|
|
|
111
116
|
const seen = new Set<string>();
|
|
112
117
|
const out: ProjectItem[] = [];
|
|
113
118
|
const push = (it: ProjectItem) => { if (!seen.has(it.path)) { seen.add(it.path); out.push(it); } };
|
|
114
|
-
for (const d of docs) push({ path: d.path, name: d.name, mtime: d.mtime, project: d.project, cwd: d.cwd, kind: 'doc', rel: d.rel });
|
|
119
|
+
for (const d of docs) push({ path: d.path, name: d.name, mtime: d.mtime, project: d.project, cwd: d.cwd, kind: 'doc', rel: d.rel, branch: d.branch });
|
|
115
120
|
for (const a of artifacts) push({ path: a.path, name: a.name, mtime: a.mtime, project: a.project, cwd: a.cwd, kind: 'artifact', tabTitle: a.tabTitle, provider: a.provider });
|
|
116
121
|
out.sort((x, y) => y.mtime - x.mtime);
|
|
117
122
|
return out;
|
|
@@ -2,6 +2,26 @@ import { C } from './shared';
|
|
|
2
2
|
import type { HelpEntry } from './shared';
|
|
3
3
|
|
|
4
4
|
export const clusterHelp: Record<string, HelpEntry> = {
|
|
5
|
+
'cluster.peer-message': {
|
|
6
|
+
title: 'Read peer mail',
|
|
7
|
+
body: <p>The card shows a short preview. Open it to read the full available message, sender, recipient and time. Older sent messages may contain only a saved preview. Close the dialog to return to the conversation.</p>,
|
|
8
|
+
manualSection: 'cluster-peer-messaging',
|
|
9
|
+
},
|
|
10
|
+
'cluster.skills': {
|
|
11
|
+
title: 'Cluster skill pins',
|
|
12
|
+
body: <><p><C>SKILLS</C> beside EFFICIENCY shows configured cluster pins, including missing or off skills. Open it to see each skill's source and All members or role target. Full text is added each turn for matching members; new and replaced members inherit it.</p><p>Only the operator pins or unpins. Use ADD SKILL to choose a skill and pin it to all members or one role. Settings > SKILLS also manages skills and pins. Tab, cluster and matching role pins share 12 unique skills and 64 KiB of text.</p></>,
|
|
13
|
+
manualSection: 'skills',
|
|
14
|
+
},
|
|
15
|
+
'cluster.skills.add': {
|
|
16
|
+
title: 'Add a cluster skill',
|
|
17
|
+
body: <p>Choose an available project or global skill, then choose all members or one role. Full text is included on matching members' next turns. Turn on or create skills in Settings > SKILLS.</p>,
|
|
18
|
+
manualSection: 'skills',
|
|
19
|
+
},
|
|
20
|
+
'cluster.skills.unpin': {
|
|
21
|
+
title: 'Unpin from the cluster',
|
|
22
|
+
body: <p>Removes this skill's cluster or role pin on the next turn. Direct tab pins stay in place. New and replaced members stop inheriting the removed pin. Running turns keep the instructions they started with.</p>,
|
|
23
|
+
manualSection: 'skills',
|
|
24
|
+
},
|
|
5
25
|
// ----------------------------------------------------- CLUSTERS
|
|
6
26
|
'cluster.tab': {
|
|
7
27
|
title: 'Cluster tab',
|
|
@@ -551,19 +571,20 @@ export const clusterHelp: Record<string, HelpEntry> = {
|
|
|
551
571
|
manualSection: 'cluster-member-replacement',
|
|
552
572
|
},
|
|
553
573
|
'cluster.replace.history': {
|
|
554
|
-
title: '
|
|
574
|
+
title: 'Replacement history',
|
|
555
575
|
body: (
|
|
556
576
|
<>
|
|
557
|
-
<p>
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
the
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
577
|
+
<p><C>NO HISTORY</C> is the default. <C>RECENT HISTORY</C> copies the last
|
|
578
|
+
10 whole turns; choose 1 to 50 within 128 KiB. Text stays word for
|
|
579
|
+
word, with receipts for tools and attached files.</p>
|
|
580
|
+
<p><C>FULL HISTORY</C> keeps the prior transcript and action digest when
|
|
581
|
+
they fit 512 KiB. Otherwise the newest whole turns that fit are copied
|
|
582
|
+
with tool/file receipts. The preview gives the count before REPLACE;
|
|
583
|
+
nothing is clipped. A zero-turn preview means no history is copied.</p>
|
|
584
|
+
<p>A partial copy adds one plain line to the new tab. Earlier history
|
|
585
|
+
stays in the previous conversation. A nonempty seed spends a model
|
|
586
|
+
call and never reuses the old provider session. History is unavailable
|
|
587
|
+
for <C>ISOLATED</C>.</p>
|
|
567
588
|
</>
|
|
568
589
|
),
|
|
569
590
|
manualSection: 'cluster-member-replacement',
|
|
@@ -592,6 +613,16 @@ export const clusterHelp: Record<string, HelpEntry> = {
|
|
|
592
613
|
),
|
|
593
614
|
manualSection: 'cluster-member-replacement',
|
|
594
615
|
},
|
|
616
|
+
'cluster.replace.cancel': {
|
|
617
|
+
title: 'Cancel replacement',
|
|
618
|
+
body: (
|
|
619
|
+
<p>
|
|
620
|
+
Closes the REPLACE form without creating a worker or changing the
|
|
621
|
+
roster. Choices in the form are discarded.
|
|
622
|
+
</p>
|
|
623
|
+
),
|
|
624
|
+
manualSection: 'cluster-member-replacement',
|
|
625
|
+
},
|
|
595
626
|
'cluster.right-panel.member-focus': {
|
|
596
627
|
title: 'Focus member',
|
|
597
628
|
body: <p>Click a member's name to focus that worker: its chat and controls take over the detail pane. Its status (<C>IDLE</C> or <C>BUSY</C>) and work size sit beside the name. Use PROMOTE or BACK TO CLUSTER to move a member into its own tab and back.</p>,
|
|
@@ -744,7 +775,7 @@ export const clusterHelp: Record<string, HelpEntry> = {
|
|
|
744
775
|
through the operator path; a plain click (under a 4px drag threshold)
|
|
745
776
|
opens the card drawer instead. Touch devices drag after a short press.
|
|
746
777
|
Moving a card to <C>done</C> or <C>archived</C> confirms first: those
|
|
747
|
-
terminal
|
|
778
|
+
direct terminal status changes stay operator-only.
|
|
748
779
|
</p>
|
|
749
780
|
),
|
|
750
781
|
manualSection: 'cluster-board',
|
|
@@ -793,7 +824,7 @@ export const clusterHelp: Record<string, HelpEntry> = {
|
|
|
793
824
|
Runs one deterministic dispatch sweep. Only <C>ready</C> tasks with an
|
|
794
825
|
explicit idle assignee are claimed, moved to <C>in_progress</C>, given a
|
|
795
826
|
run record, and sent to that member as a normal turn. Skips are logged
|
|
796
|
-
with stable reasons; terminal
|
|
827
|
+
with stable reasons; direct terminal status changes remain operator-only. The current assignment, dependencies, membership and idle worker are checked again before each claim.
|
|
797
828
|
</p>
|
|
798
829
|
),
|
|
799
830
|
manualSection: 'cluster-board',
|
|
@@ -872,9 +903,8 @@ export const clusterHelp: Record<string, HelpEntry> = {
|
|
|
872
903
|
<p>
|
|
873
904
|
Names each kind present: WAITING for a question that pauses an agent,
|
|
874
905
|
BLOCKED for a task blocked on you, ASKED for a question the agent can
|
|
875
|
-
continue past
|
|
876
|
-
|
|
877
|
-
muted. Accepting is optional; nothing waits on it. The badge is
|
|
906
|
+
continue past. Stopped kinds come first and use the warning colour.
|
|
907
|
+
ASKED is muted. The badge is
|
|
878
908
|
hidden when there are no items.
|
|
879
909
|
</p>
|
|
880
910
|
<p>
|
|
@@ -984,7 +1014,7 @@ export const clusterHelp: Record<string, HelpEntry> = {
|
|
|
984
1014
|
the existing RECHECK action. Accepting is optional; nothing waits on it.
|
|
985
1015
|
Edit is below and closed initially for REVIEW only. Other statuses keep
|
|
986
1016
|
their existing layout. Overview, links, dependencies, comments, recovery
|
|
987
|
-
controls and run records remain available.
|
|
1017
|
+
controls and run records remain available. Direct terminal status changes stay
|
|
988
1018
|
operator-only through the existing ledger update path.
|
|
989
1019
|
</p>
|
|
990
1020
|
),
|
|
@@ -1206,6 +1236,7 @@ export const clusterHelp: Record<string, HelpEntry> = {
|
|
|
1206
1236
|
<p><C>EFFICIENCY</C> guides coordination and testing each turn. Balanced is the new-cluster default: one test per real fault, at the lowest useful level; changed-area tests per change; the full check once before release. Browser tests cover real-screen journeys, one per journey, without layout, theme or size matrices.</p>
|
|
1207
1237
|
<p>Balanced asks before adding suites, gates, test tooling or CI checks, using the operator-question tool when available. It aims for a full check of about ten minutes and proposes cuts if longer. Flaky tests are fixed or deleted, not retried. Lean runs changed-area tests and adds tests only for faults found; the full check runs only when requested. Thorough tests new behaviour and faults, neighbouring tests, and the full check before handover.</p>
|
|
1208
1238
|
<p>Every level sorts product faults from test faults and states what a user would lose before a failure blocks work. Checks stay useful and green: product faults and faulty tests are fixed; cosmetic or momentary faults are noted. A faulty test is fixed or removed, never ignored, and releases do not go out over red checks. Project rules and plans take precedence when they ask for more or less testing. Safety checks, message guards, requested review and landing review stay unchanged.</p>
|
|
1239
|
+
<p>The Director keeps the 60-second wait rule. Other members and standalone agents wait for results their reports need, in steps of at most 120 seconds, checking messages between waits. They report when the result arrives. After a progress report or an answer while assigned work remains, non-Director members and standalone agents continue that work in the same turn; they end the turn only when it is done or with one stated blocker. If blocked or unable to finish within a reasonable time, they name the pending job and say that a nudge is needed before ending the turn. Automatic completion wakes are not added by this guidance.</p>
|
|
1209
1240
|
<p><C>NOTE</C> adds a standing instruction of your own for the whole cluster. Style and note apply on each member's next turn. The message guard beside it is a separate setting.</p>
|
|
1210
1241
|
</>
|
|
1211
1242
|
),
|
|
@@ -2,6 +2,26 @@ import { C } from './shared';
|
|
|
2
2
|
import type { HelpEntry } from './shared';
|
|
3
3
|
|
|
4
4
|
export const composerHelp: Record<string, HelpEntry> = {
|
|
5
|
+
'composer.transcript-worker': {
|
|
6
|
+
title: 'Copy turns to a new worker',
|
|
7
|
+
body: <><p>TRANSCRIPT can create a fresh Agent tab in any chosen working directory. In a cluster, choose NEW WORKER from the existing-member dialog. Copy 1-50 operator turns, default 3, with a typed preface before them. Spawn keeps its existing summary behavior.</p><p>Operator and visible agent text stay exact. Tools and attachments become receipts; files, hidden thinking and source pins are not copied. It starts a fresh provider conversation. The new folder's own settings apply.</p></>,
|
|
8
|
+
manualSection: 'transcript-worker',
|
|
9
|
+
},
|
|
10
|
+
'composer.transcript-worker-preview': {
|
|
11
|
+
title: 'Preview the exact copied seed',
|
|
12
|
+
body: <><p>PREVIEW reads the stored source at a fixed point, including history this page has not loaded. Include the running partial turn only when selected. The preface has a 4 KiB limit; the complete seed has a 32 KiB limit. Nothing is silently clipped.</p><p>Review the byte count and selected turns. Editing turns or preface requires another preview. Source appends do not change an accepted snapshot; rewound or changed history requires refreshing it.</p></>,
|
|
13
|
+
manualSection: 'transcript-worker',
|
|
14
|
+
},
|
|
15
|
+
'composer.transcript-worker-target': {
|
|
16
|
+
title: 'Choose the new worker',
|
|
17
|
+
body: <p>Choose an existing working directory, provider, model, effort and available account. Permission prompts start on. The worker gets a fresh provider conversation with no source cluster membership or standing pins. Existing sign-in files stay in place. Relative paths quoted in the seed belong to the source project.</p>,
|
|
18
|
+
manualSection: 'transcript-worker',
|
|
19
|
+
},
|
|
20
|
+
'composer.transcript-worker-send': {
|
|
21
|
+
title: 'Send the seed as the first message',
|
|
22
|
+
body: <p>Creates one new worker from the accepted preview and starts its first message with that exact seed. The seed becomes saved conversation history in the chosen project. A stale preview or invalid destination leaves this dialog and its preface available to correct. Existing-member sends and Spawn keep their current behavior.</p>,
|
|
23
|
+
manualSection: 'transcript-worker',
|
|
24
|
+
},
|
|
5
25
|
'composer.pending-edit': {
|
|
6
26
|
title: 'Edit a pending message',
|
|
7
27
|
body: <p>Remove this message from the queue and append its text to this tab's current draft. Its kind, attachments and selected skills return too. Skill choices merge with the tab's existing choices without duplicates and stay with that tab across navigation. Resending applies each selected skill once. The server confirms removal first. If delivery won the race, the draft stays unchanged and Arco says Already sent, nothing to edit. Reconnect before editing.</p>,
|
|
@@ -76,7 +96,7 @@ export const composerHelp: Record<string, HelpEntry> = {
|
|
|
76
96
|
},
|
|
77
97
|
'composer.turn-step': {
|
|
78
98
|
title: 'Current step',
|
|
79
|
-
body: <p>The current step and elapsed time appear in the conversation header while the agent works. Each step stays visible briefly. A step over 60 seconds is marked long-running. Hover over a shortened step to read it in full.</p>,
|
|
99
|
+
body: <p>The current step and elapsed time appear in the conversation header while the agent works. The elapsed time restarts when a new turn starts or when the matching step advances. Each step stays visible briefly. A step over 60 seconds is marked long-running. Hover over a shortened step to read it in full.</p>,
|
|
80
100
|
manualSection: 'composer',
|
|
81
101
|
},
|
|
82
102
|
'composer.send': {
|
|
@@ -112,6 +132,13 @@ export const composerHelp: Record<string, HelpEntry> = {
|
|
|
112
132
|
<p>SEND waits for every pending upload batch, including another paste or drop started while uploading. The upload folder must be a real folder, not a link.</p></>
|
|
113
133
|
),
|
|
114
134
|
},
|
|
135
|
+
'composer.upload-from-phone': {
|
|
136
|
+
title: 'Upload from phone',
|
|
137
|
+
body: (
|
|
138
|
+
<><p>Scan the code with a phone on the same private network as Arco. Use Take Photo or Choose Files. The files appear beside Attach in this conversation. Review them before pressing Send.</p><p>The code lasts five minutes. Close it when finished. It accepts up to 10 files, 20 MiB per file and 100 MiB total. The window lists private IPv4 origins as http://<ipv4>:<port> from the listener (LAN and Tailscale when present), never MagicDNS or the desktop page hostname. When several appear, choose one. Scan the full QR; the origin under the code is the address and port only. When Arco listens on this computer only (the default), opening the code starts a temporary listener for the phone page alone; nothing else in Arco becomes reachable. The phone must open the code's address directly; a path through Tailscale Serve or another reverse proxy is refused. Each address is marked UNVERIFIED until a file arrives through it, then VERIFIED BY UPLOAD with the time it last worked; Arco cannot tell from this computer whether the phone can reach an address, and More info says why. Settings can change, so an address that worked before can stop working. If one address does not open on the phone and another is offered, close the window, open it again and choose the other address. Each address, its mark and the time it last worked are on separate lines. More info, shown once in the window, lists what to check if the phone cannot open the page. The phone page uses the Arco theme that was active when the code was opened.</p><p>Same Wi-Fi: open UPLOAD FROM PHONE, pick the LAN origin if offered, scan the QR, and avoid guest Wi-Fi that blocks connections between devices; see Operations - Upload from phone. Same Tailscale network: pick the Tailscale http://100.x... origin in the chooser (not a MagicDNS name); both devices must be in the same tailnet; scan the QR; do not use Serve for the upload URL.</p></>
|
|
139
|
+
),
|
|
140
|
+
manualSection: 'composer',
|
|
141
|
+
},
|
|
115
142
|
'composer.remote': {
|
|
116
143
|
title: 'Remote monitoring',
|
|
117
144
|
body: (
|
|
@@ -504,6 +531,16 @@ export const composerHelp: Record<string, HelpEntry> = {
|
|
|
504
531
|
),
|
|
505
532
|
manualSection: 'run-as-picker',
|
|
506
533
|
},
|
|
534
|
+
'worker.header.late-command': {
|
|
535
|
+
title: 'Codex command still running',
|
|
536
|
+
body: (
|
|
537
|
+
<>
|
|
538
|
+
<p>Codex ended its reply while this command was still running. While the tab is WORKING, Arco waits for the command and then continues Codex with its result, once, without AUTO-PICKUP. The wait ends after 30 minutes in total; STOP ends it at once and leaves the command running.</p>
|
|
539
|
+
<p>A message you send ends the wait: Codex gets it now and the result when the command ends. Servers and watchers are not waited on. After the turn, the line stays up to five minutes and ACTIVITY records the exit. If the connection closes first, the tab says the result was lost.</p>
|
|
540
|
+
</>
|
|
541
|
+
),
|
|
542
|
+
manualSection: 'composer',
|
|
543
|
+
},
|
|
507
544
|
'worker.header.ctx': {
|
|
508
545
|
title: 'Context fill',
|
|
509
546
|
body: (
|
|
@@ -523,6 +560,7 @@ export const composerHelp: Record<string, HelpEntry> = {
|
|
|
523
560
|
against the live session via a background pty).
|
|
524
561
|
</p>
|
|
525
562
|
<p>If a saved provider conversation id was lost, <C>CTX: -</C> explains that the previous conversation cannot be resumed. The next message starts a new conversation and adds one notice; the replacement waits for its own reading. Earlier messages and usage stay in the tab. Missing metadata is recreated, but an already-lost id cannot be recovered.</p>
|
|
563
|
+
<p>Claude Native limits an uncached reconstruction parse to 1 GiB. A valid summary cache with a small tail can resume a larger history. A refused or failed rebuild adds one notice: the agent continues without earlier context, so include any needed context again. Claude CLI loading handles 2 GB separately; a session-history notice means its saved conversation is intact and new messages will appear when readable. Earlier messages remain in the tab.</p>
|
|
526
564
|
</>
|
|
527
565
|
),
|
|
528
566
|
manualSection: 'context-window',
|
|
@@ -555,6 +593,7 @@ export const composerHelp: Record<string, HelpEntry> = {
|
|
|
555
593
|
title: 'Current model & effort',
|
|
556
594
|
body: (
|
|
557
595
|
<>
|
|
596
|
+
<p>Codex also refreshes its cached catalog on the next request after its CLI changes the local model list. The browser polls every 30 minutes; reload the page to request it sooner without restarting Arco. The cold fallback includes GPT-6.2 Sol and Astra, with Sol as default; a live account catalog takes precedence.</p>
|
|
558
597
|
<p>FABLE 5.2 offers low, medium, high, xhigh and max effort. Switching a tab from 5.2 to another model drops its earlier reasoning; the request still works.</p>
|
|
559
598
|
<p>
|
|
560
599
|
The model + effort used for the next turn. Live-editable from the
|
|
@@ -277,6 +277,11 @@ export const headerHelp: Record<string, HelpEntry> = {
|
|
|
277
277
|
Release notes take keyboard focus on opening. Escape dismisses them;
|
|
278
278
|
closing returns focus to the opening version control when available.
|
|
279
279
|
</p>
|
|
280
|
+
<p>Click CURSOR to run <C>cursor-agent update</C> and recheck its version. CURSOR CHANGELOG opens the CLI notes separately. The flag reads the dated version from the public installer without running it. If metadata is unavailable or builds on the same date have unordered hashes, no flag appears; the update action still works. Arco never installs a second copy as a fallback.</p>
|
|
281
|
+
<p>llama.cpp checks recent published numeric build tags and flags an
|
|
282
|
+
older installed build. If a build cannot be read, no flag is shown.
|
|
283
|
+
Click its row for upstream releases and update manually; the check
|
|
284
|
+
does not install anything or load a model.</p>
|
|
280
285
|
<p>Arco checks the matching npm platform binary before installing.
|
|
281
286
|
An older npm CLI can use a pinned installable version; its self-updater
|
|
282
287
|
waits when the latest build is missing. A working installation is
|
|
@@ -291,6 +296,17 @@ export const headerHelp: Record<string, HelpEntry> = {
|
|
|
291
296
|
),
|
|
292
297
|
manualSection: 'provider-updates',
|
|
293
298
|
},
|
|
299
|
+
'header.cursor-changelog': {
|
|
300
|
+
title: 'CURSOR CHANGELOG',
|
|
301
|
+
manualSection: 'provider-updates',
|
|
302
|
+
body: (
|
|
303
|
+
<p>
|
|
304
|
+
Opens Cursor's CLI release notes in a new tab. It does not run an
|
|
305
|
+
update. Click the CURSOR version row to run <C>cursor-agent update</C>
|
|
306
|
+
and recheck the installed version.
|
|
307
|
+
</p>
|
|
308
|
+
),
|
|
309
|
+
},
|
|
294
310
|
'header.workflow-status': {
|
|
295
311
|
title: 'Provider throttling',
|
|
296
312
|
manualSection: 'header',
|
|
@@ -486,7 +502,8 @@ export const headerHelp: Record<string, HelpEntry> = {
|
|
|
486
502
|
title: 'Artifacts',
|
|
487
503
|
body: (
|
|
488
504
|
<>
|
|
489
|
-
<p>
|
|
505
|
+
<p>Open a project card in ARTIFACTS to see documents from its Git worktrees. The branch or detached commit appears on each worktree document. Open it in the read-only viewer. Arco checks Git again on open and refuses protected paths.</p>
|
|
506
|
+
<p>Artifacts load independently from project documents. The overview skips hidden folders, build and dependency folders, and nested Git checkouts. Scan limits can leave a partial list. Opening a project searches it separately. Switch away and return to retry a failed list.</p>
|
|
490
507
|
<p>
|
|
491
508
|
Opens the standalone <strong>ARTIFACTS</strong> window: a chromeless
|
|
492
509
|
project-artifact explorer in its own browser window
|
|
@@ -224,7 +224,7 @@ export const miscHelp: Record<string, HelpEntry> = {
|
|
|
224
224
|
},
|
|
225
225
|
'chat.message.agent': {
|
|
226
226
|
title: 'Agent reply',
|
|
227
|
-
body: <p>The primary's reply. Streams token-by-token while the turn is in flight. Outside Cursor, status updates for an existing tool call keep the reply together and the tool in its original position, including after reload. New tools, Cursor reasoning, Cursor tool updates and operator steering still separate reply segments. Ordinary JSON with application keys stays visible. Valid legacy envelopes and arco-artifact fences use compact summaries. Drive-qualified Windows and UNC filenames can be opened as file references.</p>,
|
|
227
|
+
body: <p>The primary's reply. Streams token-by-token while the turn is in flight. Outside Cursor, status updates for an existing tool call keep the reply together and the tool in its original position, including after reload. New tools, Cursor reasoning, Cursor tool updates and operator steering still separate reply segments. Ordinary JSON with application keys stays visible. Valid legacy envelopes and arco-artifact fences use compact summaries. Drive-qualified Windows and UNC filenames can be opened as file references. Conversation links can also open ordinary files in Git worktrees of the tab's repository. Arco checks the worktree on open.</p>,
|
|
228
228
|
},
|
|
229
229
|
'chat.message.thinking': {
|
|
230
230
|
title: 'Reasoning trace',
|
|
@@ -1946,6 +1946,7 @@ export const miscHelp: Record<string, HelpEntry> = {
|
|
|
1946
1946
|
'diagnostics.check-row': {
|
|
1947
1947
|
title: 'Diagnostic check',
|
|
1948
1948
|
body: (
|
|
1949
|
+
<>
|
|
1949
1950
|
<p>
|
|
1950
1951
|
One probe result. The glyph + status colour is the verdict -{' '}
|
|
1951
1952
|
<strong>OK</strong> (green) the thing works, <strong>WARN</strong>{' '}
|
|
@@ -1954,6 +1955,13 @@ export const miscHelp: Record<string, HelpEntry> = {
|
|
|
1954
1955
|
<strong>SKIPPED</strong> (grey) not probed on this platform/config. Click
|
|
1955
1956
|
to expand the detail line, any remediation hint, and the check id.
|
|
1956
1957
|
</p>
|
|
1958
|
+
<p>
|
|
1959
|
+
Only run <C>arco setup --repair-native</C> when Arco reports that a native
|
|
1960
|
+
part will not load. A failed repair shows the failing build step and
|
|
1961
|
+
decisive error when available. Installed native parts stay unchanged
|
|
1962
|
+
and keep working. The build tools may be missing, out of date or broken.
|
|
1963
|
+
</p>
|
|
1964
|
+
</>
|
|
1957
1965
|
),
|
|
1958
1966
|
manualSection: 'diagnostics',
|
|
1959
1967
|
},
|
|
@@ -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>The active tab or its cluster is selected when eligible; choose a different destination or role if needed. Settings names the destination after the pin is saved. 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',
|
|
@@ -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',
|