arco-workbench 0.1.8 → 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 +11 -0
- package/README.md +7 -5
- package/client/dist/assets/{PhosphorBackdrop-D7jdAV_G.js → PhosphorBackdrop-DRu16-Is.js} +1 -1
- package/client/dist/assets/{ThemedBackgroundShaderImpl-DrDm60h8.js → ThemedBackgroundShaderImpl-BLdwwQ4D.js} +1 -1
- package/client/dist/assets/{XtermView-BGFujb1e.js → XtermView-Xk7_9JaH.js} +1 -1
- package/client/dist/assets/{galleryEditor-D951A2sE.js → galleryEditor-CI8ClzBa.js} +1 -1
- package/client/dist/assets/{index-DD9kFGsF.css → index-BEFgrUJJ.css} +1 -1
- package/client/dist/assets/{index-CsVy3eZm.js → index-C7WzZfsr.js} +246 -244
- 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/SkillsControl.tsx +25 -8
- 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/PhoneUpload.tsx +288 -0
- package/client/src/components/PrimaryStatus.tsx +14 -6
- package/client/src/components/RuntimeStateBanner.tsx +5 -0
- package/client/src/components/SkillEditorDialog.tsx +2 -2
- package/client/src/components/SkillsSettings.tsx +17 -5
- package/client/src/components/TerminalInput.tsx +3 -1
- package/client/src/components/WorkflowView.tsx +2 -0
- 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 +11 -1
- package/client/src/help/content/composer.tsx +18 -1
- package/client/src/help/content/header.tsx +2 -1
- package/client/src/help/content/misc.tsx +1 -1
- package/client/src/help/content/settings.tsx +1 -1
- package/client/src/help/manualSections/clusters.tsx +3 -0
- package/client/src/help/manualSections/configuration.tsx +3 -1
- package/client/src/help/manualSections/gettingStarted.tsx +4 -4
- package/client/src/help/manualSections/maintenance.tsx +7 -6
- package/client/src/help/manualSections/powerFeatures.tsx +3 -2
- package/client/src/help/manualSections/workspace.tsx +30 -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/ws/handleServerMessage.ts +23 -6
- package/docs/CLIENT.md +7 -1
- package/docs/FEATURES.md +6 -3
- package/docs/GETTING_STARTED.md +8 -3
- package/docs/INDEX.md +1 -1
- package/docs/OPERATIONS.md +199 -48
- package/docs/PROTOCOL_CLUSTER.md +9 -1
- package/docs/PROVIDERS.md +34 -0
- package/docs/SETTINGS.md +5 -3
- package/native/darwin-arm64/manifest.json +1 -1
- package/native/linux-x64/manifest.json +1 -1
- package/native/win32-x64/manifest.json +1 -1
- package/node_modules/@arco/shared/dist/protocol/chat.d.ts +1 -0
- package/node_modules/@arco/shared/dist/protocol/clusters.d.ts +2 -0
- package/node_modules/@arco/shared/dist/protocol/serverMessages.d.ts +11 -0
- package/node_modules/@arco/shared/dist/protocol/workflows.d.ts +1 -0
- package/node_modules/@arco/shared/package.json +1 -1
- package/package.json +2 -2
- package/server/dist/clusterDirector.js +1 -0
- package/server/dist/clusterPeerOps.js +4 -1
- package/server/dist/clusterRehydrate.js +2 -0
- package/server/dist/explorerDocs.d.ts +10 -6
- package/server/dist/explorerDocs.js +75 -34
- 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 +13 -24
- package/server/dist/http/writeConfinement.js +19 -2
- package/server/dist/primitives/seedWorker.d.ts +1 -0
- package/server/dist/primitives/seedWorker.js +2 -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 -2
- package/server/dist/providers/codexCodeMode.d.ts +2 -1
- package/server/dist/providers/codexCodeMode.js +7 -3
- 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/ws/handoffHandlers.js +2 -0
- package/server/dist/ws/turnEngine.js +17 -0
- package/server/package.json +1 -1
- package/server/src/clusterDirector.ts +1 -0
- package/server/src/clusterPeerOps.ts +4 -1
- package/server/src/clusterRehydrate.ts +2 -0
- package/server/src/explorerDocs.ts +75 -34
- 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 +11 -25
- package/server/src/http/writeConfinement.ts +13 -2
- package/server/src/primitives/seedWorker.ts +3 -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 -2
- package/server/src/providers/codexCodeMode.ts +8 -3
- package/server/src/workers/WorkerManager.ts +2 -0
- package/server/src/workers/processKill.ts +35 -7
- package/server/src/ws/handoffHandlers.ts +2 -0
- package/server/src/ws/turnEngine.ts +15 -0
- package/shared/dist/protocol/chat.d.ts +1 -0
- package/shared/dist/protocol/clusters.d.ts +2 -0
- package/shared/dist/protocol/serverMessages.d.ts +11 -0
- package/shared/dist/protocol/workflows.d.ts +1 -0
- package/shared/src/protocol/chat.ts +1 -0
- package/shared/src/protocol/clusters.ts +4 -5
- package/shared/src/protocol/serverMessages.ts +11 -0
- package/shared/src/protocol/workflows.ts +4 -0
|
@@ -410,6 +410,9 @@ export const workspace: Section[] = [
|
|
|
410
410
|
boundary, or runs as the next turn if the current turn finishes
|
|
411
411
|
first. Search results and reasoning from the current work remain intact.</li>
|
|
412
412
|
</ul>
|
|
413
|
+
<p>
|
|
414
|
+
If Codex finishes a reply while a shell command is still running, the tab stays WORKING and names the command. When it ends, Arco continues Codex with its result, without AUTO-PICKUP. The wait lasts at most 30 minutes per turn. STOP ends it and leaves the command running. A message you send ends the wait. Servers and watchers are not waited on; ACTIVITY records their exit.
|
|
415
|
+
</p>
|
|
413
416
|
<h4 className="manual-sub">Slash commands & references</h4>
|
|
414
417
|
<p><Code>/prompt name args</Code> expands a saved template. Inserted argument text remains literal; <Code>$$1</Code> in the template produces literal <Code>$1</Code>.</p>
|
|
415
418
|
<p>
|
|
@@ -443,6 +446,33 @@ export const workspace: Section[] = [
|
|
|
443
446
|
an image or file from the clipboard, or click <Code>+ FILE</Code>.
|
|
444
447
|
Arco fits images and sends them visually when the model reports vision support. SVG attachments include source text; image-capable models also receive a fitted preview when rendering succeeds, while text-only models receive an image-omission note.
|
|
445
448
|
</p>
|
|
449
|
+
<p>
|
|
450
|
+
Open <Code>UPLOAD FROM PHONE</Code> beside Attach and scan the code on the same private network. Take a photo or choose files. They appear in the original draft, even after switching tabs. Press Send to submit them.
|
|
451
|
+
</p>
|
|
452
|
+
<p>
|
|
453
|
+
The window lists private IPv4 origins as <Code>http://<ipv4>:<port></Code> from the listener (home LAN and Tailscale when present). It never lists MagicDNS names or the desktop page hostname. When several appear, choose one. Scan the full QR; the origin under the code is only the address and port.
|
|
454
|
+
</p>
|
|
455
|
+
<p>
|
|
456
|
+
When Arco listens on this computer only (the default), opening the code starts a temporary listener that serves the phone upload page alone and closes about a minute after no code is open and no upload is in progress.
|
|
457
|
+
</p>
|
|
458
|
+
<p>
|
|
459
|
+
The phone must open the code's address directly; a path through Tailscale Serve or another reverse proxy is refused. The phone page uses the Arco theme that was active when the code was opened.
|
|
460
|
+
</p>
|
|
461
|
+
<p>
|
|
462
|
+
Each address is marked <Code>UNVERIFIED</Code> until a file arrives through it, then <Code>VERIFIED BY UPLOAD</Code> with the time it last worked, each on its own line. Arco remembers this for each address and port, also after a restart.
|
|
463
|
+
</p>
|
|
464
|
+
<p>
|
|
465
|
+
Arco cannot tell from this computer whether the phone can reach an address, and settings can change after it has worked. <Code>More info</Code>, shown once in the window, explains this and lists what to check. If one address does not open on the phone and another is offered, close the window, open it again and choose the other address, for example the Tailscale IPv4 origin.
|
|
466
|
+
</p>
|
|
467
|
+
<p>
|
|
468
|
+
Same Wi-Fi: pick the LAN origin if offered, scan the QR, and avoid guest Wi-Fi that blocks connections between devices. Same Tailscale network: pick the Tailscale <Code>http://100.x...</Code> origin (not a MagicDNS name), keep both devices in the same tailnet, scan the QR, and do not put the upload URL behind Serve.
|
|
469
|
+
</p>
|
|
470
|
+
<p>
|
|
471
|
+
Full workbench access on a private network or via Serve is a separate bind; it is not the QR upload listener. Worked steps live under Operations - Upload from phone.
|
|
472
|
+
</p>
|
|
473
|
+
<p>
|
|
474
|
+
The code closes after five minutes or when Close is pressed. It accepts up to 10 files, 20 MiB each and 100 MiB total. Unsent phone files are removed after 30 minutes. Anyone who obtains the code on the private network can put files in that draft until it closes.
|
|
475
|
+
</p>
|
|
446
476
|
<p>
|
|
447
477
|
PDFs, office documents and notebooks are decoded before sending, including
|
|
448
478
|
Chat tabs without file tools. Other binaries return a file note.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { phoneUploadRequest } from '../utils/phoneUploadApi';
|
|
1
2
|
import { validateSettings } from '../utils/settingsResponse';
|
|
2
3
|
import { create } from 'zustand';
|
|
3
4
|
import { forgetGitDialog } from '../utils/gitDialogMemory';
|
|
@@ -1538,6 +1539,9 @@ export const useAppStore = create<AppState>()(persist((set, get) => ({
|
|
|
1538
1539
|
messages: j.messages.map((m) => (m.isStreaming ? { ...m, isStreaming: false } : m)),
|
|
1539
1540
|
}))),
|
|
1540
1541
|
|
|
1542
|
+
setCodexLateCommands: (jobId, next) =>
|
|
1543
|
+
set(s => updateJob(s, jobId, j => ({ codexLateCommands: next(j.codexLateCommands ?? []) }))),
|
|
1544
|
+
|
|
1541
1545
|
appendActivity: (jobId, entry) =>
|
|
1542
1546
|
set((s) => updateJob(s, jobId, (j) => {
|
|
1543
1547
|
// Defensive init: jobs that existed in memory before the activity
|
|
@@ -1661,6 +1665,9 @@ export const useAppStore = create<AppState>()(persist((set, get) => ({
|
|
|
1661
1665
|
const existing = s.attachments[jobId];
|
|
1662
1666
|
if (!existing || index < 0 || index >= existing.length) return {};
|
|
1663
1667
|
const removed = existing[index];
|
|
1668
|
+
if (removed.phoneUpload && removed.phoneUpload.expiresAt > Date.now()) {
|
|
1669
|
+
void phoneUploadRequest('/draft/' + removed.phoneUpload.id, { method: 'DELETE' }).catch(() => {});
|
|
1670
|
+
}
|
|
1664
1671
|
if (removed.previewUrl) URL.revokeObjectURL(removed.previewUrl);
|
|
1665
1672
|
const next = existing.filter((_, i) => i !== index);
|
|
1666
1673
|
if (next.length === 0) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CodexLateCommand } from '@arco/shared';
|
|
1
2
|
// Data-shape declarations for the app store. Extracted verbatim from
|
|
2
3
|
// appStore.ts (Phase 5 file-size refactor) — move-only, no behavior change.
|
|
3
4
|
// This module is dependency-light: it imports only from `@arco/shared`
|
|
@@ -81,6 +82,7 @@ export interface DraftAttachment {
|
|
|
81
82
|
path: string; // absolute path on the server's filesystem
|
|
82
83
|
previewUrl?: string; // URL.createObjectURL result; revoke in store actions
|
|
83
84
|
isImage: boolean;
|
|
85
|
+
phoneUpload?: { id: string; expiresAt: number };
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
// Phase 5 — entry-per-review for the right-pane Review tab. Built up from
|
|
@@ -301,6 +303,7 @@ export interface JobState {
|
|
|
301
303
|
// Long-running children of the primary CLI (typically Bash calls with
|
|
302
304
|
// run_in_background: true). Replaced wholesale by each `primary_activity`
|
|
303
305
|
// broadcast. Empty until the server's tracker emits its first tick.
|
|
306
|
+
codexLateCommands?: CodexLateCommand[];
|
|
304
307
|
primaryBackgroundJobs?: PrimaryBackgroundJob[];
|
|
305
308
|
// Phase 1 context robustness — chat built from Claude's session JSONL
|
|
306
309
|
// (not from events.jsonl). Empty for non-Claude providers. Not persisted —
|
|
@@ -967,6 +970,7 @@ export interface AppState {
|
|
|
967
970
|
// activity lingers so operators can read what just happened.
|
|
968
971
|
beginPrimaryTurn: (jobId: string, startedAt: number) => void;
|
|
969
972
|
endPrimaryTurn: (jobId: string) => void;
|
|
973
|
+
setCodexLateCommands: (jobId: string, next: (existing: CodexLateCommand[]) => CodexLateCommand[]) => void;
|
|
970
974
|
appendActivity: (jobId: string, entry: ActivityEntry) => void;
|
|
971
975
|
setPrimaryBackgroundJobs: (jobId: string, jobs: PrimaryBackgroundJob[]) => void;
|
|
972
976
|
// Clear activity on fresh user message (the NEW turn hasn't started yet
|
|
@@ -340,3 +340,112 @@ body {
|
|
|
340
340
|
[data-overflowed="true"] { display: none !important; }
|
|
341
341
|
|
|
342
342
|
.provider-status-link:focus-visible { outline: 2px solid var(--color-accent-primary); outline-offset: 3px; border-radius: 2px; }
|
|
343
|
+
|
|
344
|
+
.phone-upload-window {
|
|
345
|
+
position: fixed;
|
|
346
|
+
z-index: 1990;
|
|
347
|
+
inset: auto 1rem 1rem auto;
|
|
348
|
+
display: grid;
|
|
349
|
+
gap: .75rem;
|
|
350
|
+
box-sizing: border-box;
|
|
351
|
+
width: min(20rem, calc(100% - 2rem));
|
|
352
|
+
max-height: calc(100dvh / var(--ui-scale, 1) - 2rem);
|
|
353
|
+
overflow: auto;
|
|
354
|
+
padding: 1rem;
|
|
355
|
+
color: var(--color-fg);
|
|
356
|
+
background: var(--color-bg-elevated, var(--color-bg));
|
|
357
|
+
border: 1px solid var(--color-border);
|
|
358
|
+
border-radius: .5rem;
|
|
359
|
+
box-shadow: 0 .5rem 2rem rgb(0 0 0 / .4);
|
|
360
|
+
overflow-wrap: anywhere;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.phone-upload-window h2 {
|
|
364
|
+
margin: 0;
|
|
365
|
+
font-size: 1rem;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.phone-upload-window .phone-upload-unverified {
|
|
369
|
+
display: inline-block;
|
|
370
|
+
padding: 0 .3rem;
|
|
371
|
+
font-size: .7rem;
|
|
372
|
+
letter-spacing: .05em;
|
|
373
|
+
color: inherit;
|
|
374
|
+
border: 1px solid var(--color-border);
|
|
375
|
+
border-radius: .2rem;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.phone-upload-window .phone-upload-verified {
|
|
379
|
+
display: inline-block;
|
|
380
|
+
padding: 0 .3rem;
|
|
381
|
+
font-size: .7rem;
|
|
382
|
+
letter-spacing: .05em;
|
|
383
|
+
color: var(--color-success);
|
|
384
|
+
border: 1px solid currentColor;
|
|
385
|
+
border-radius: .2rem;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.phone-upload-window .phone-upload-last-worked {
|
|
389
|
+
font-size: .7rem;
|
|
390
|
+
color: var(--color-fg-muted);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.phone-upload-window .phone-upload-route {
|
|
394
|
+
font-size: .8rem;
|
|
395
|
+
text-align: start;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/* Address, status and last-worked time on separate lines, the same in the
|
|
399
|
+
chooser and under the code. */
|
|
400
|
+
.phone-upload-window .phone-upload-route-label {
|
|
401
|
+
display: grid;
|
|
402
|
+
gap: .25rem;
|
|
403
|
+
justify-items: start;
|
|
404
|
+
min-width: 0;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.phone-upload-window .phone-upload-address {
|
|
408
|
+
max-width: 100%;
|
|
409
|
+
font-family: var(--font-code, monospace);
|
|
410
|
+
overflow-wrap: anywhere;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.phone-upload-window .phone-upload-info {
|
|
414
|
+
font-size: .8rem;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.phone-upload-window .phone-upload-info summary {
|
|
418
|
+
padding-block: .75rem;
|
|
419
|
+
cursor: pointer;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.phone-upload-window .phone-upload-info summary:focus-visible {
|
|
423
|
+
outline: 2px solid var(--color-accent-primary);
|
|
424
|
+
outline-offset: 2px;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.phone-upload-window .phone-upload-info p {
|
|
428
|
+
margin: 0 0 .5rem;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.phone-upload-window .phone-upload-info p:last-child {
|
|
432
|
+
margin-bottom: 0;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.phone-upload-window img {
|
|
436
|
+
display: block;
|
|
437
|
+
width: min(100%, 16rem);
|
|
438
|
+
height: auto;
|
|
439
|
+
margin-inline: auto;
|
|
440
|
+
image-rendering: pixelated;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.phone-upload-window button {
|
|
444
|
+
min-height: 2.75rem;
|
|
445
|
+
padding: .35rem .65rem;
|
|
446
|
+
color: inherit;
|
|
447
|
+
background: var(--color-bg);
|
|
448
|
+
border: 1px solid var(--color-border);
|
|
449
|
+
border-radius: .3rem;
|
|
450
|
+
cursor: pointer;
|
|
451
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// A snapshot of the Arco theme as it is applied on this page, sent with a
|
|
2
|
+
// new phone upload code so the phone page can look the same. Colours and
|
|
3
|
+
// sizes are read back from the browser in one plain form; the server checks
|
|
4
|
+
// every value again and drops anything else.
|
|
5
|
+
const COLORS = [
|
|
6
|
+
'color-bg', 'color-bg-dialog', 'color-fg', 'color-fg-muted', 'color-border',
|
|
7
|
+
'color-accent-primary', 'color-control-fg', 'color-success', 'color-error',
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
export function phoneThemeSnapshot(): Record<string, string> {
|
|
11
|
+
const snapshot: Record<string, string> = {};
|
|
12
|
+
const root = getComputedStyle(document.documentElement);
|
|
13
|
+
const probe = document.createElement('span');
|
|
14
|
+
probe.style.display = 'none';
|
|
15
|
+
probe.style.borderStyle = 'solid';
|
|
16
|
+
document.body.append(probe);
|
|
17
|
+
try {
|
|
18
|
+
for (const key of COLORS) {
|
|
19
|
+
probe.style.color = `var(--${key})`;
|
|
20
|
+
const value = getComputedStyle(probe).color;
|
|
21
|
+
if (/^rgba?\(/.test(value)) snapshot[key] = value;
|
|
22
|
+
}
|
|
23
|
+
probe.style.borderTopWidth = 'var(--border-width)';
|
|
24
|
+
probe.style.borderTopLeftRadius = 'var(--radius-sm)';
|
|
25
|
+
const probed = getComputedStyle(probe);
|
|
26
|
+
snapshot['border-width'] = probed.borderTopWidth;
|
|
27
|
+
snapshot['radius-sm'] = probed.borderTopLeftRadius;
|
|
28
|
+
} finally {
|
|
29
|
+
probe.remove();
|
|
30
|
+
}
|
|
31
|
+
for (const key of ['font-display', 'font-body']) {
|
|
32
|
+
const value = root.getPropertyValue('--' + key).trim();
|
|
33
|
+
if (value) snapshot[key] = value;
|
|
34
|
+
}
|
|
35
|
+
const bg = /^rgba?\((\d+), (\d+), (\d+)/.exec(snapshot['color-bg'] ?? '');
|
|
36
|
+
if (bg) snapshot.scheme = (0.2126 * +bg[1] + 0.7152 * +bg[2] + 0.0722 * +bg[3]) / 255 < 0.5 ? 'dark' : 'light';
|
|
37
|
+
return snapshot;
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// The desktop page keeps its upload ownership when its normal operator cookie
|
|
2
|
+
// refreshes. The server still requires a valid operator cookie on every call.
|
|
3
|
+
let owner: string | undefined;
|
|
4
|
+
|
|
5
|
+
export function phoneUploadRequest(path = '', init: RequestInit = {}): Promise<Response> {
|
|
6
|
+
owner ??= Array.from(crypto.getRandomValues(new Uint8Array(32)), byte => byte.toString(16).padStart(2, '0')).join('');
|
|
7
|
+
const headers = new Headers(init.headers);
|
|
8
|
+
headers.set('X-Arco-Phone-Owner', owner);
|
|
9
|
+
return fetch('/api/phone-upload' + path, { ...init, headers });
|
|
10
|
+
}
|
|
@@ -1177,15 +1177,27 @@ export function handleServerMessage(msg: ServerMessage, deps: WsDeps): void {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
1179
|
case 'primary_tool_use': {
|
|
1180
|
+
const { itemId, lateCommand } = msg;
|
|
1181
|
+
if (itemId && lateCommand) {
|
|
1182
|
+
const { state, startedAt, waitingUntil, waiting } = lateCommand;
|
|
1183
|
+
store.setCodexLateCommands(msg.workflowId, existing => {
|
|
1184
|
+
const rest = existing.filter(item => item.itemId !== itemId);
|
|
1185
|
+
if (state === 'running' && waitingUntil > Date.now()) {
|
|
1186
|
+
rest.push({ itemId, input: msg.input, startedAt, waitingUntil, ...(waiting ? { waiting } : {}) });
|
|
1187
|
+
}
|
|
1188
|
+
return rest;
|
|
1189
|
+
});
|
|
1190
|
+
if (state !== 'finished') break;
|
|
1191
|
+
}
|
|
1180
1192
|
const existingTool = store.jobs[msg.workflowId]?.activity?.some(entry =>
|
|
1181
1193
|
entry.kind === 'tool_use' &&
|
|
1182
1194
|
((msg.itemId && entry.itemId === msg.itemId) ||
|
|
1183
1195
|
(msg.toolUseId && entry.toolUseId === msg.toolUseId)));
|
|
1184
1196
|
// Cursor ACP treats tool updates as reply-segment boundaries.
|
|
1185
1197
|
// Other providers can complete an existing tool mid-sentence.
|
|
1186
|
-
if (!existingTool || store.jobs[msg.workflowId]?.config.primaryProvider === 'cursor') splitPrimaryText(msg.workflowId);
|
|
1187
|
-
// §C1 — tool activity
|
|
1188
|
-
store.bumpPrimaryEvent(msg.workflowId, Date.now());
|
|
1198
|
+
if (!lateCommand && (!existingTool || store.jobs[msg.workflowId]?.config.primaryProvider === 'cursor')) splitPrimaryText(msg.workflowId);
|
|
1199
|
+
// §C1 — tool activity in the current turn refreshes the stuck clock.
|
|
1200
|
+
if (!lateCommand) store.bumpPrimaryEvent(msg.workflowId, Date.now());
|
|
1189
1201
|
// docs/PROVIDERS.md - count only settled tool calls.
|
|
1190
1202
|
// The 'completed'/'failed' filter avoids double-counting Codex's
|
|
1191
1203
|
// 'started'/'in_progress' deltas (which fire multiple times per
|
|
@@ -1207,7 +1219,7 @@ export function handleServerMessage(msg: ServerMessage, deps: WsDeps): void {
|
|
|
1207
1219
|
output: msg.output,
|
|
1208
1220
|
exitCode: msg.exitCode,
|
|
1209
1221
|
toolUseId: msg.toolUseId,
|
|
1210
|
-
at: Date.now(),
|
|
1222
|
+
at: existingTool ? Date.now() : lateCommand?.startedAt ?? Date.now(),
|
|
1211
1223
|
});
|
|
1212
1224
|
break;
|
|
1213
1225
|
|
|
@@ -1372,6 +1384,7 @@ export function handleServerMessage(msg: ServerMessage, deps: WsDeps): void {
|
|
|
1372
1384
|
// ghost workers and unstick the cancel button by finalizing
|
|
1373
1385
|
// streaming messages when the server isn't busy.
|
|
1374
1386
|
store.applyWorkflowSnapshot(msg.workflowId, msg.workers, msg.busy, msg.transcriptTail, msg.turnStartedAt);
|
|
1387
|
+
store.setCodexLateCommands(msg.workflowId, () => msg.codexLateCommands ?? []);
|
|
1375
1388
|
// Slot 2 — snapshot arrival is the signal that dismisses the
|
|
1376
1389
|
// per-job SYNCING gate; no-op until a disconnect resets it.
|
|
1377
1390
|
store.markSnapshotReceived(msg.workflowId);
|
|
@@ -2160,8 +2173,11 @@ export function handleServerMessage(msg: ServerMessage, deps: WsDeps): void {
|
|
|
2160
2173
|
// deterministic per msgId so a present-in-messages check makes the
|
|
2161
2174
|
// handler idempotent. Without this the chat grows unboundedly
|
|
2162
2175
|
// every restart.
|
|
2163
|
-
const existing = store.jobs[msg.workflowId]?.messages.
|
|
2164
|
-
if (existing)
|
|
2176
|
+
const existing = store.jobs[msg.workflowId]?.messages.find((m) => m.id === id);
|
|
2177
|
+
if (existing) {
|
|
2178
|
+
if (existing.peerFullContent === undefined && typeof msg.content === 'string') store.updateMessage(msg.workflowId, id, { peerFullContent: msg.content });
|
|
2179
|
+
break;
|
|
2180
|
+
}
|
|
2165
2181
|
splitPrimaryText(msg.workflowId);
|
|
2166
2182
|
const sentEntry: ChatMessage = {
|
|
2167
2183
|
id,
|
|
@@ -2169,6 +2185,7 @@ export function handleServerMessage(msg: ServerMessage, deps: WsDeps): void {
|
|
|
2169
2185
|
turnStartedAt: store.jobs[msg.workflowId]?.turnStartedAt,
|
|
2170
2186
|
eventSeq: (msg as { seq?: number }).seq,
|
|
2171
2187
|
content: msg.contentPreview,
|
|
2188
|
+
...(typeof msg.content === 'string' ? { peerFullContent: msg.content } : {}),
|
|
2172
2189
|
isStreaming: false,
|
|
2173
2190
|
timestamp: 'ts' in msg && typeof (msg as { ts?: number }).ts === 'number' ? (msg as { ts: number }).ts : Date.now(),
|
|
2174
2191
|
senderWorkflowId: msg.from,
|
package/docs/CLIENT.md
CHANGED
|
@@ -1120,6 +1120,10 @@ ClusterTab (App.tsx routes here when activeClusterId set)
|
|
|
1120
1120
|
|
|
1121
1121
|
**Peer-message rendering.** The store extends `ChatMessage.role` with `'peer-sent' | 'peer-received'` synthetic variants. `ws/handleServerMessage.ts` injects a synthetic ChatMessage entry on every `peer_message_sent` / `peer_message_received` event; `peer_send_rejected` becomes a `[PEER] Send rejected -> <to> (<reason>)` system row. `ChatMessage.tsx` renders these via a `PeerMessageBlock` early-return branch - colored left-border + sender label, color via stable djb2 hash of `senderWorkflowId` over an 8-color palette. Same sender = same color across the cluster. The rendering branch sits before the system-notice / handoff-seed / spawn-seed branches; ordering is load-bearing.
|
|
1122
1122
|
|
|
1123
|
+
Peer cards show a short preview. Selecting a sent or received card opens a read-only `DialogShell` with the full available text, sender, recipient and original time. The dialog preserves line breaks, scrolls long messages, and returns focus to the card on close. The selection checkbox and incoming message task action remain separate controls.
|
|
1124
|
+
|
|
1125
|
+
New `peer_message_sent` events carry their full body on the sender's workflow channel, alongside the preview. The WebSocket handler keeps it as `peerFullContent` on the synthetic `peer-sent` row; replay and pending-mail rehydration use the same workflow-scoped event. The recipient's `peer-received` row already carries its delivered body in `content`. Older sent records may contain only a preview; their dialog shows that preview and says the full body was not saved. No other workflow is read to populate the dialog.
|
|
1126
|
+
|
|
1123
1127
|
**One typing surface.** The cluster tab has no bottom broadcast composer. It opens with the director focused (the first member whose role starts with director or coordinator, else the first member) and lists the director first until the operator drags a card (a per-cluster flag in `localStorage`, `arco.clusterReordered.<id>`). The focused member's own message box is where the operator types. The empty composer's placeholder names the target: "Message the director, your main contact..." for the director, "Message <member name>..." for another member. Focus never changes on its own: the director card shows a quiet `NEW REPLY` mark when a finished reply has not been looked at, and a question toast from another member offers `GO TO DIRECTOR`. Helpers live in `components/clusterSurface.helpers.ts`.
|
|
1124
1128
|
|
|
1125
1129
|
**Cluster composer controls (TO, NUDGE, BRIEF).** The bottom row of the focused member's message box carries the cluster controls (`ClusterComposerButtons`, props passed `ClusterTab` -> `MemberPane` -> `TerminalInput` as `clusterControls`; single-workflow tabs have none). `TO: <NAME>` is the recipient chip; it starts as the member in view and opens a dialog with a per-member checkbox list and an EVERYONE button. Several recipients make the next send a `cluster_broadcast` (server unchanged) with `recipientWorkflowIds` omitted when every member is picked, plus the same local toast (`Sent to all M members`, `Sent to K of M members`, or `Queued for K of M members`); the chip then returns to the member in view, and also resets when focus moves. State is `ClusterTab`-local (`composerRecipients`, `recipientDraft`). BRIEF in the same row opens a two-item menu, THIS WORKER or WHOLE CLUSTER (`BriefControl` with `clusterId`). The header keeps only the LAYOUT row, the attention badge and the plan line. `NeedsYouBadge` groups WAITING, BLOCKED and ASKED with stopped groups first; only the first two use the theme warning colour. With the narrow member list closed, one compact badge appears below its opener: `! <count>` counts only WAITING and BLOCKED, while optional-only ASKED items show a plain muted number; opening the list moves the same summary into its header. Choosing a task reveals BOARD and closes the member list; "Members" in the plan line opens WORKSPACE > MEMBERS in the right panel.
|
|
@@ -1366,7 +1370,9 @@ MEASURE ARCO FOLDER measures Arco's own folder under the same rules, with headin
|
|
|
1366
1370
|
|
|
1367
1371
|
## Plans library
|
|
1368
1372
|
|
|
1369
|
-
ARTIFACTS loads workflow artifacts independently from project documents. Documents include readable files at the project root and under folders such as `docs/` and `Reports/`. The
|
|
1373
|
+
ARTIFACTS loads workflow artifacts independently from project documents. Documents include readable files at the project root and under folders such as `docs/` and `Reports/`. The overview skips hidden folders, build and dependency folders, and nested Git checkouts. Open a project card to include its Git-confirmed worktrees and see each document's branch or detached commit. Worktree documents open in the read-only viewer. A file link in a conversation can also open files in a worktree of that tab's repository. Arco checks Git again on open. Protected paths and worktree links that leave the checkout are refused.
|
|
1374
|
+
|
|
1375
|
+
The document scan visits at most 20,000 entries or 250 milliseconds per project, shared across its checkouts, and at most 50,000 entries or 650 milliseconds across known projects in the overview. An incomplete list keeps the documents found so far. Workflow artifacts under `.arco/workflows/<id>/artifacts` remain listed separately without a result-count cap. Each list has its own loading and empty state. A failed list shows a notice while the other results remain usable. Switch away from the window and return to retry.
|
|
1370
1376
|
|
|
1371
1377
|
ARTIFACTS > PLANS groups plans by project, remembers expanded projects and opens search matches. The current project opens by default. Repeated titles expand into versions. A group with an attached version stays in the normal list, where its unattached versions offer MARK DONE. In-use labels name attached tabs or clusters. Unattached plans with all checkboxes checked or no edits for 30 days appear under Probably finished; MARK DONE moves a selected plan to Completed. Nothing is marked done automatically. The counts follow the current filter.
|
|
1372
1378
|
|
package/docs/FEATURES.md
CHANGED
|
@@ -16,6 +16,7 @@ controls. For installation and first session, see
|
|
|
16
16
|
| Workspace Outputs | Collects artifacts, generated-file events, and scoped exports | FILES tab **OUTPUTS** sub-tab for the active workflow or cluster. By default it shows what was made for you (generated media, top-level artifact documents, reports and exports); code edits and files in artifact subfolders sit under **All files**. **Save a copy** and **Move** can use an ordinary home folder or an approved project or media folder; on systems with POSIX permissions **Save a copy** writes an owner-only file; the result stays in the dialog; **Download** is a button. MOVE TO PROJECT reviews a copy or keeps the artifact private; large binaries are scanned for readable text only and listed as not fully scanned, as are files past the findings limit. Folder browsers and content dialogs open at sizes suited to their content, scale with the window, can be resized, and remember the chosen size (**Reset size** restores the default). Large artifact warnings offer KEEP or DISMISS; a kept artifact shows **Kept** with **UNKEEP**. See [Outputs](OUTPUTS.md) |
|
|
17
17
|
| Clusters | Multi-member coordinated work | Seven size-ordered templates (Pair through Large team) plus Build my own; at most one director on new work; eight role presets including **ADVISOR** (second opinion; no files, assignments or landing) and **DESIGNER** (UI files only); work size only for repeated roles; member cards default to **ROWS**; AUTO-PICKUP modes Off, Rule-based (recommended automatic), Smart Observe-only, and Smart Automatic, with **PAUSE** beside TURN OFF, **RESUME**, and **RESET BUDGET** as a separate Rule-based action. Smart modes need an evaluator on Claude Native, Cursor, Codex, Ollama, LM Studio, llama.cpp, Strata, or DeepSeek through Xolotl. See [Getting started](GETTING_STARTED.md) and [Task ledger](TASK_LEDGER.md) |
|
|
18
18
|
| One status per tab | Shows at a glance which tabs need you | Workflow and cluster tabs show a colored status dot when not idle (hover for the status). **Needs you** (warning colour) means a question waits or an idle cluster member has mail; the dot pulses while a turn is still running and is solid only when nothing is running. Home Continue cards show a word: Working, Needs you, New reply (a turn finished while you were elsewhere; cleared when you open the tab; not saved across reloads) or Idle |
|
|
19
|
+
| Peer mail in chat | Read sent and received messages | Select a PEER card to open the full available message. Older sent records may have only a saved preview. See [Cluster protocol](PROTOCOL_CLUSTER.md#peer-messaging-workflow-scoped) |
|
|
19
20
|
| Waiting mail on member cards | Shows undelivered messages per member | The member card's mail mark shows the count, delivered at the member's next turn; muted while the member is busy; highlighted when it is idle with mail, and clicking it nudges that member, after which the card reads Nudged (and the composer NUDGE button reads NUDGED n) until the member starts its turn or two minutes pass. No sounds or pop-ups |
|
|
20
21
|
| Cluster attention and board accept | Shows waiting questions and blocked work | The badge names **WAITING**, **BLOCKED** and **ASKED**. A new director met sign-off closes its task by default; turn off **Board auto-done** in Settings > Agents and clusters to accept it yourself. Existing review tasks remain for **ACCEPT** or **ACCEPT ALL MET**. See [Task ledger](TASK_LEDGER.md) and [Settings](SETTINGS.md) |
|
|
21
22
|
| Utility agent | One operator-chosen provider and model for short side jobs | Settings > Agents and clusters (also offered on the last Welcome screen). Accepts only Claude with Native sign-in, Cursor, Codex, Ollama, LM Studio, llama.cpp, Strata, or DeepSeek through Xolotl. LM Studio, llama.cpp, Strata, and DeepSeek require the chosen model to be loaded; these requests never load or switch models. Replies that are cut off or exceed the limit are reported instead of used. Never chosen silently; **TEST** checks it; **USE UTILITY AGENT** can fill it into Smart AUTO-PICKUP, Research, document edit, and handoff summarizer pickers without changing saved choices. See [Settings](SETTINGS.md#utility-agent) |
|
|
@@ -42,7 +43,9 @@ controls. For installation and first session, see
|
|
|
42
43
|
| Native session interop | Arco Claude-CLI / Codex-exec sessions are native CLI sessions | Start in Arco, resume in a terminal with `claude --resume <uuid>`; start in a terminal, resume in Arco. Arco owns tab state; the provider owns conversation state |
|
|
43
44
|
| Inline tool-call pills | Compact rows for primary tool calls between assistant bubbles | Claude CLI tabs (read from the Claude session file); other transports list tool calls in ACTIVITY. Bash / Read / Grep / WebFetch and similar; click to expand full JSON input; click a file path to open it in the viewer modal |
|
|
44
45
|
| Interrupt and send | Stop the current turn and send the draft next in the same conversation | **INTERRUPT & SEND** or **Ctrl/Cmd+Enter** while a Claude or Codex Agent is working; both transports per provider; queued messages run afterward; completed edits remain. Adjacent **SEND** and Enter keep ordinary steering; Alt+Enter queues a follow-up |
|
|
45
|
-
|
|
|
46
|
+
| Upload from phone | Attach photos and files from a phone on the same private network | **UPLOAD FROM PHONE** beside Attach; five-minute code; limits 10 files / 20 MiB each / 100 MiB total; default loopback starts an upload-only temporary listener; each offered `http://<ipv4>:<port>` origin shows **UNVERIFIED** then **VERIFIED BY UPLOAD**; **More info**; scan the full QR (direct connection only; Serve and reverse proxies are refused). See [Upload from phone](OPERATIONS.md#upload-from-phone) |
|
|
47
|
+
| Codex wait-and-continue | Keep a Codex turn working while a waited-on command runs | The header stays **WORKING** while that command runs; when it ends Arco continues Codex once with the result, without AUTO-PICKUP. Commands that outlive the reply keep later exits in ACTIVITY. See [Providers](PROVIDERS.md) |
|
|
48
|
+
| Mid-turn delivery and working step | Display-only turn progress | A message sent while the agent is mid-turn shows **Queued** or **Delivered** until answered. The conversation header shows the current step and elapsed time, restarts that timer when a new turn or matching step starts, and marks steps over 60 seconds as long-running. Hover over a shortened step to read it in full. Cluster member cards retain the last settled reply or tool step |
|
|
46
49
|
| Per-tab transport toggles | Choose transport per Claude or Codex tab | Claude `cli` and `native` (new homes default `native`); Codex `exec` and `app-server` (new homes default `app-server`); project and per-tab settings can select either. Reviewers and handoff seeds use CLI or exec regardless of tab transport. Cursor `print` one-shot is routed automatically for read-only primitives, not toggled. Native unlocks server-side compaction, auto-handoff, plan-mode arming, and Task subagent fan-out; Codex app-server unlocks structured `turn/interrupt` cancel and non-destructive `turn/steer` mid-turn input |
|
|
47
50
|
| Per-project configuration | Provider, model, effort, and tool allowlist per tab | Live-editable from the CONFIG tab; same-provider model/effort swaps take effect on the next turn with no session rotation |
|
|
48
51
|
|
|
@@ -78,7 +81,7 @@ controls. For installation and first session, see
|
|
|
78
81
|
| RUN AS picker | Override provider/model/effort for GIT / DOCS one-offs | Unchanged: dispatches in-tab; changed: new tab opens with the picked config and runs there |
|
|
79
82
|
| Architecture review | Built-in operator-only skill that finds code that is hard to change | SKILLS > BUILT-IN > **RUN**: Arco measures largest, most-changed, untested and export-heavy files plus recorded decisions; the agent writes a report of candidates to the artifacts and changes no code. OUTPUTS > **CANDIDATES** offers **ADD TO PLAN** and **RECORD DECISION**; **EDITABLE COPY** saves your own version. Reviews and the director check the shape of a change (advisory). See [Architecture review](ARCHITECTURE_REVIEW.md) |
|
|
80
83
|
| Proportionate testing | Arco-owned model-invoked skill for choosing how much to test | Settings > SKILLS > BUILT-IN lists `proportionate-testing` with MODEL. It asks for one test per real fault, one happy-path browser check per journey, about ten minutes for the whole check and five for browsers, and operator approval before new suites, gates, tooling or CI checks. `tdd` describes how to write one test; the operator's instructions take priority |
|
|
81
|
-
| Skills | Reusable instructions for agents, project or global | Settings > SKILLS: NEW, EDIT, **IMPORT** (public GitHub link, folder or zip, every file and the security check shown first), **UPDATE** with a per-file diff, **TURN OFF**, **MOVE TO GLOBAL/PROJECT**, **DUPLICATE**, **SHARE WITH REPOSITORY** (an exception in `.arco/.gitignore`); rows show extra files, source and missing referenced skills. Composer SKILLS: APPLY ONCE, PIN TO TAB, IMPORT, built-in skills. **PIN TO CLUSTER** pins a skill to every member or one exact saved role; the cluster **SKILLS** button beside EFFICIENCY lists and unpins them; new and replaced members inherit cluster pins; tab, cluster and role pins share one limit of 12 unique skills and 64 KiB of text. See [Settings](SETTINGS.md) |
|
|
84
|
+
| Skills | Reusable instructions for agents, project or global | Settings > SKILLS: NEW, EDIT, **IMPORT** (public GitHub link, folder or zip, every file and the security check shown first), **UPDATE** with a per-file diff, **TURN OFF**, **MOVE TO GLOBAL/PROJECT**, **DUPLICATE**, **SHARE WITH REPOSITORY** (an exception in `.arco/.gitignore`); rows show extra files, source and missing referenced skills. Composer SKILLS: APPLY ONCE, PIN TO TAB, IMPORT, built-in skills. **PIN TO CLUSTER** pins a skill to every member or one exact saved role; the cluster **SKILLS** button beside EFFICIENCY lists and unpins them; from **CLUSTER SKILLS**, **ADD SKILL** pins to all members or one role; new and replaced members inherit cluster pins; tab, cluster and role pins share one limit of 12 unique skills and 64 KiB of text. See [Settings](SETTINGS.md) |
|
|
82
85
|
|
|
83
86
|
## Memory, knowledge, and scaffolding
|
|
84
87
|
|
|
@@ -118,7 +121,7 @@ controls. For installation and first session, see
|
|
|
118
121
|
| HISTORY tab | Read-only timeline of seq-stamped narrative events | **MEMORY > HISTORY** in the right panel (single-worker, chat and cluster tabs; a cluster tab follows the member in view). Actions: **LABEL THIS** (pin free-text label to `events.jsonl`); **REVIEW FROM HERE** (since-event Review); **SPAWN FROM HERE** (cutoff-aware Spawn so the new tab boots truncated at the chosen seq); **REWIND CONVERSATION** (move live head back to a chosen seq; current branch kept and returnable; fork markers inline; REWINDS filter). Works for Claude Native; for other providers and the Claude CLI the button stays visible, disabled, with the reason beside it |
|
|
119
122
|
| Tasks (Claude Native) | First-class workflows for Native `Task` tool sub-agents | Scoped to parent; inline `TaskCard`; TASKS sub-tab gated on non-empty children; parallel `Task` calls dispatch concurrently; depth-1 cap by design |
|
|
120
123
|
| Built-in GitHub browser | Browse repos, trees, source, PRs, issues, Actions runs, and clone | Authenticated via `gh auth`; GITHUB tab |
|
|
121
|
-
| ARTIFACTS explorer | Chromeless window for project artifacts, plans and storage across projects | Header **ARTIFACTS**: ARTIFACTS home (per-project cards + recent-across-all strip); CHANGED FILES, PLANS, STORAGE and TREE. PLANS groups projects, folds repeated titles, names attached tabs and offers MARK DONE for probably finished plans. STORAGE lists disk use by project and offers KEEP and UNKEEP for a whole conversation, COMPRESS OLD LOGS, ARCHIVE, RESTORE, DELETE and EMPTY SCRATCH, each after a confirmation. ARTIFACTS, CHANGED FILES and TREE are read-only. CHANGED FILES lists files changed by any program in the last 48 hours and adds current ledger attribution when available; Results truncated marks an incomplete sample. Zero model authority. See [Documentation index](INDEX.md) |
|
|
124
|
+
| ARTIFACTS explorer | Chromeless window for project artifacts, plans and storage across projects | Header **ARTIFACTS**: ARTIFACTS home (per-project cards + recent-across-all strip); CHANGED FILES, PLANS, STORAGE and TREE. Open a project card to list Git-confirmed worktree documents with each file's branch or detached commit; conversation links can open ordinary files in those worktrees (Git checked again on open). PLANS groups projects, folds repeated titles, names attached tabs and offers MARK DONE for probably finished plans. STORAGE lists disk use by project and offers KEEP and UNKEEP for a whole conversation, COMPRESS OLD LOGS, ARCHIVE, RESTORE, DELETE and EMPTY SCRATCH, each after a confirmation. ARTIFACTS, CHANGED FILES and TREE are read-only. CHANGED FILES lists files changed by any program in the last 48 hours and adds current ledger attribution when available; Results truncated marks an incomplete sample. Zero model authority. See [Documentation index](INDEX.md) and [Client](CLIENT.md) |
|
|
122
125
|
|
|
123
126
|
## Media, chrome, and themes
|
|
124
127
|
|
package/docs/GETTING_STARTED.md
CHANGED
|
@@ -153,9 +153,10 @@ If npm reports `EACCES` for a global install on Linux or macOS, use nvm or a
|
|
|
153
153
|
user-owned npm prefix (for example under Homebrew's Node, or a prefix you own
|
|
154
154
|
under your home directory). On Windows, run `arco.cmd` when the PowerShell
|
|
155
155
|
execution policy blocks the shim. On Windows, `EEXIST` on an existing `arco`
|
|
156
|
-
launcher
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
launcher can be caused by an earlier package or a linked checkout. Check the
|
|
157
|
+
active npm prefix and launcher targets in
|
|
158
|
+
[Windows install and launcher recovery](OPERATIONS.md#windows-install-and-launcher-recovery).
|
|
159
|
+
If `arco doctor` reports missing or incompatible native modules, install the
|
|
159
160
|
platform build tools and run:
|
|
160
161
|
|
|
161
162
|
```bash
|
|
@@ -289,6 +290,10 @@ work or start a session from a project card. The full control map is in
|
|
|
289
290
|
5. Select **LAUNCH WORKFLOW**, wait for the provider to connect, then send a
|
|
290
291
|
small request in the composer.
|
|
291
292
|
|
|
293
|
+
To attach a photo or file from a phone on the same private network without
|
|
294
|
+
opening the full workbench, use **UPLOAD FROM PHONE** beside Attach. Prefer the
|
|
295
|
+
worked paths under [Upload from phone](OPERATIONS.md#upload-from-phone).
|
|
296
|
+
|
|
292
297
|
### Chat without project tools
|
|
293
298
|
|
|
294
299
|
For a plain saved conversation without file or project tools, choose **CHAT** in
|
package/docs/INDEX.md
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
- [MCP Registry](MCP_REGISTRY.md): MCP server registration and per-workflow access.
|
|
50
50
|
- [Resume index](RESUME_INDEX.md): saved-session titles and resume controls.
|
|
51
|
-
- [Operations](OPERATIONS.md): startup, configuration, recovery, and network exposure.
|
|
51
|
+
- [Operations](OPERATIONS.md): startup, configuration, recovery, and network exposure. Includes [Upload from phone](OPERATIONS.md#upload-from-phone) for the QR path on a private LAN or Tailscale network.
|
|
52
52
|
- [Service mode](SERVICE_MODE.md): compiled server and background service lifecycle.
|
|
53
53
|
- [Docker](DOCKER.md): container setup, project mounts, provider login, and persistence.
|
|
54
54
|
- [Remote Management](REMOTE_MANAGEMENT.md): private-network console, agent, and remote actions.
|