@andorra-labs/code 0.1.10 → 0.1.12
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/README.md +31 -205
- package/THIRD_PARTY_NOTICES.md +30 -0
- package/dist/src/agent-execution.js +50 -2
- package/dist/src/agent-mcp.js +5 -0
- package/dist/src/app-server/protocol.d.ts +9 -1
- package/dist/src/app-server/protocol.js +1 -1
- package/dist/src/app-server.d.ts +49 -1
- package/dist/src/app-server.js +353 -64
- package/dist/src/automation-service.js +1 -1
- package/dist/src/browser-panel-tool.d.ts +24 -3
- package/dist/src/browser-panel-tool.js +80 -6
- package/dist/src/browser-runner.js +3 -1
- package/dist/src/browser-session.d.ts +8 -0
- package/dist/src/browser-session.js +27 -1
- package/dist/src/browser-ui/app.js +237 -15
- package/dist/src/browser-ui/index.html +5 -5
- package/dist/src/browser-ui/style.css +110 -65
- package/dist/src/browser-ui/tokens.css +27 -26
- package/dist/src/browser-view.d.ts +16 -0
- package/dist/src/browser-view.js +38 -2
- package/dist/src/claude-provider.js +15 -2
- package/dist/src/cli.d.ts +2 -1
- package/dist/src/cli.js +175 -43
- package/dist/src/code-intelligence/CodeIntelligenceManager.js +1 -1
- package/dist/src/codex-provider.js +6 -3
- package/dist/src/coding-tools.d.ts +26 -1
- package/dist/src/coding-tools.js +104 -33
- package/dist/src/command-screens.js +1 -1
- package/dist/src/commands.js +1 -1
- package/dist/src/completion-gates.d.ts +42 -7
- package/dist/src/completion-gates.js +55 -9
- package/dist/src/completion.d.ts +51 -1
- package/dist/src/completion.js +164 -5
- package/dist/src/config.d.ts +1 -0
- package/dist/src/config.js +2 -0
- package/dist/src/dashboard-view.js +2 -2
- package/dist/src/deadline.js +4 -0
- package/dist/src/decision/PreparedSteps.js +1 -1
- package/dist/src/delegation-changes.js +19 -2
- package/dist/src/diff-preview.d.ts +1 -0
- package/dist/src/diff-preview.js +12 -3
- package/dist/src/engine-streams.d.ts +22 -0
- package/dist/src/engine-streams.js +16 -0
- package/dist/src/extensions.js +17 -6
- package/dist/src/file-read-key.d.ts +8 -0
- package/dist/src/file-read-key.js +12 -0
- package/dist/src/graph-editor-session.js +2 -1
- package/dist/src/graph-health.d.ts +21 -0
- package/dist/src/graph-health.js +46 -0
- package/dist/src/graph-manager-chat.d.ts +52 -3
- package/dist/src/graph-manager-chat.js +62 -17
- package/dist/src/graph-runner.js +62 -5
- package/dist/src/graph-server.d.ts +1 -1
- package/dist/src/graph-server.js +48 -27
- package/dist/src/graph-sync.d.ts +8 -0
- package/dist/src/graph-sync.js +54 -3
- package/dist/src/graph-tool.js +1 -1
- package/dist/src/graph-ui/app.js +362 -123
- package/dist/src/graph-ui/controls.css +95 -22
- package/dist/src/graph-ui/controls.js +31 -1
- package/dist/src/graph-ui/embed.js +62 -13
- package/dist/src/graph-ui/icons.js +7 -0
- package/dist/src/graph-ui/index.html +4 -4
- package/dist/src/graph-ui/manager-state.js +143 -5
- package/dist/src/graph-ui/manager.css +21 -20
- package/dist/src/graph-ui/manager.js +337 -75
- package/dist/src/graph-ui/model-picker.js +279 -0
- package/dist/src/graph-ui/provider-glyphs/alibaba-cloud.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/anthropic.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/aws-bedrock.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/claude.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/deepseek.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/fireworks.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/kimi.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/minimax.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/openai.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/opencode.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/openrouter.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/xai.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/xiaomi-mimo.png +0 -0
- package/dist/src/graph-ui/provider-glyphs/zai.png +0 -0
- package/dist/src/graph-ui/skill-picker.js +1 -1
- package/dist/src/graph-ui/studio-canvas.js +8 -8
- package/dist/src/graph-ui/studio.css +18 -15
- package/dist/src/graph-ui/studio.js +92 -35
- package/dist/src/graph-ui/style.css +122 -79
- package/dist/src/graph-ui/theme.js +2 -2
- package/dist/src/graph-ui/tokens.css +33 -29
- package/dist/src/graphs.d.ts +5 -2
- package/dist/src/graphs.js +10 -9
- package/dist/src/mcp.d.ts +52 -14
- package/dist/src/mcp.js +285 -128
- package/dist/src/membership-errors.d.ts +7 -1
- package/dist/src/membership-errors.js +9 -3
- package/dist/src/memory/ProjectMemory.d.ts +77 -0
- package/dist/src/memory/ProjectMemory.js +310 -0
- package/dist/src/memory/index.d.ts +1 -0
- package/dist/src/memory/index.js +1 -0
- package/dist/src/opencode-provider.js +5 -6
- package/dist/src/package-name.d.ts +3 -0
- package/dist/src/package-name.js +3 -0
- package/dist/src/provider-engine.js +2 -2
- package/dist/src/pull-requests.d.ts +42 -6
- package/dist/src/pull-requests.js +11 -3
- package/dist/src/qa/runtime/PtyManager.js +2 -1
- package/dist/src/react-runtime.js +137 -22
- package/dist/src/read-document-doc.d.ts +20 -0
- package/dist/src/read-document-doc.js +524 -0
- package/dist/src/read-document-docx.d.ts +21 -0
- package/dist/src/read-document-docx.js +584 -0
- package/dist/src/read-document-text.d.ts +29 -0
- package/dist/src/read-document-text.js +67 -0
- package/dist/src/read-document-tool.d.ts +48 -0
- package/dist/src/read-document-tool.js +162 -0
- package/dist/src/read-document.d.ts +78 -0
- package/dist/src/read-document.js +353 -0
- package/dist/src/read-image.d.ts +29 -2
- package/dist/src/read-image.js +42 -17
- package/dist/src/remote/cert.d.ts +1 -1
- package/dist/src/remote/cert.js +2 -7
- package/dist/src/remote/client.js +1 -1
- package/dist/src/remote/pem.d.ts +6 -0
- package/dist/src/remote/pem.js +11 -0
- package/dist/src/run-records.js +49 -10
- package/dist/src/runtime.d.ts +21 -0
- package/dist/src/runtime.js +10 -1
- package/dist/src/session-changes.d.ts +6 -1
- package/dist/src/session-changes.js +13 -5
- package/dist/src/sessions.d.ts +3 -1
- package/dist/src/sessions.js +5 -3
- package/dist/src/side-panel.d.ts +6 -1
- package/dist/src/side-panel.js +12 -10
- package/dist/src/sign-in-detection.d.ts +82 -0
- package/dist/src/sign-in-detection.js +197 -0
- package/dist/src/sign-in-offer.d.ts +35 -0
- package/dist/src/sign-in-offer.js +116 -0
- package/dist/src/skills/bundled/create-skill/SKILL.md +1 -1
- package/dist/src/skills/bundled/diagram/SKILL.md +1 -1
- package/dist/src/skills/bundled/graph-manager/SKILL.md +59 -7
- package/dist/src/skills/bundled/graph-manager/patterns.md +27 -0
- package/dist/src/skills/bundled/provenance.json +4 -4
- package/dist/src/skills/runtime-skills.d.ts +6 -0
- package/dist/src/skills/runtime-skills.js +16 -3
- package/dist/src/stall-recovery.d.ts +6 -2
- package/dist/src/stall-recovery.js +7 -2
- package/dist/src/stray-files.d.ts +14 -0
- package/dist/src/stray-files.js +81 -0
- package/dist/src/subagent-run.js +6 -1
- package/dist/src/terminal-ui.d.ts +1 -1
- package/dist/src/terminal-ui.js +11 -5
- package/dist/src/time-limit.d.ts +53 -0
- package/dist/src/time-limit.js +79 -0
- package/dist/src/tool-activity.js +1 -1
- package/dist/src/tool-schema-compatibility.d.ts +7 -2
- package/dist/src/tool-schema-compatibility.js +8 -4
- package/dist/src/tools.js +92 -7
- package/dist/src/transcript.d.ts +5 -0
- package/dist/src/transcript.js +12 -4
- package/dist/src/types.d.ts +8 -0
- package/dist/src/untracked-file-removal.d.ts +3 -0
- package/dist/src/untracked-file-removal.js +125 -0
- package/dist/src/update-check.js +1 -1
- package/dist/src/update.d.ts +11 -1
- package/dist/src/update.js +27 -5
- package/dist/src/usage-analytics.d.ts +3 -1
- package/dist/src/usage-analytics.js +16 -2
- package/dist/src/workspace-git-metadata.d.ts +15 -0
- package/dist/src/workspace-git-metadata.js +50 -1
- package/dist/src/workspace-instructions.js +1 -1
- package/package.json +6 -26
- package/docs/README.md +0 -36
- package/docs/agents/README.md +0 -62
- package/docs/agents/install-for-agents.md +0 -56
- package/docs/agents/mcp-server.md +0 -212
- package/docs/agents/subagent-mode.md +0 -149
- package/docs/concepts/README.md +0 -47
- package/docs/concepts/jev-actionable-routing.md +0 -113
- package/docs/concepts/jev-decision-thresholds.md +0 -412
- package/docs/concepts/jev-efficiency.md +0 -217
- package/docs/concepts/jev-eval-2026-11-01.md +0 -78
- package/docs/concepts/limits.md +0 -52
- package/docs/concepts/memory.md +0 -10
- package/docs/concepts/security.md +0 -50
- package/docs/concepts/workspace-instructions.md +0 -29
- package/docs/getting-started/README.md +0 -82
- package/docs/getting-started/accounts.md +0 -78
- package/docs/getting-started/configure-providers.md +0 -132
- package/docs/guides/README.md +0 -13
- package/docs/guides/browser.md +0 -39
- package/docs/guides/desktop-app.md +0 -414
- package/docs/guides/extensions.md +0 -102
- package/docs/guides/graph-builder.md +0 -116
- package/docs/guides/headless.md +0 -46
- package/docs/guides/tui.md +0 -75
- package/docs/guides/update.md +0 -70
- package/docs/guides/web-search.md +0 -51
- package/docs/guides/windows-code-signing.md +0 -319
- package/docs/llms.txt +0 -45
- package/docs/reference/README.md +0 -7
- package/docs/reference/cli.md +0 -76
- package/docs/reference/config.md +0 -91
- package/docs/reference/slash-commands.md +0 -59
- package/docs/superpowers/plans/2026-11-01-claude-console-sign-in.md +0 -111
- package/docs/superpowers/plans/2026-11-01-jev-node-opt-in.md +0 -910
- package/docs/superpowers/plans/2026-11-02-workflow-pane.md +0 -398
- package/docs/superpowers/plans/2026-11-06-graph-soft-delete.md +0 -125
- package/docs/superpowers/plans/2026-11-09-orchestrator-delegation.md +0 -295
- package/docs/superpowers/plans/2026-11-13-graph-manager-chat.md +0 -203
- package/docs/superpowers/plans/2026-11-14-jev-fair-use-pricing.md +0 -79
- package/docs/superpowers/specs/2026-10-31-work-line-summary-design.md +0 -50
- package/docs/superpowers/specs/2026-11-01-claude-console-sign-in-design.md +0 -176
- package/docs/superpowers/specs/2026-11-01-jev-node-opt-in-design.md +0 -164
- package/docs/superpowers/specs/2026-11-01-pr-section-design.md +0 -111
- package/docs/superpowers/specs/2026-11-02-workflow-pane-design.md +0 -130
- package/docs/superpowers/specs/2026-11-06-bundled-skills-design.md +0 -206
- package/docs/superpowers/specs/2026-11-09-orchestrator-delegation-design.md +0 -291
- package/docs/superpowers/specs/2026-11-13-graph-manager-chat-design.md +0 -182
- package/docs/superpowers/specs/2026-11-14-jev-fair-use-pricing-design.md +0 -156
- package/scripts/jev-efficiency-eval.mjs +0 -187
- package/scripts/jev-efficiency-live.mjs +0 -193
- package/scripts/zcode-engine-replay.mjs +0 -223
- package/tests/agent-centric-mcp-test-plan.md +0 -208
- package/tests/analytics-settings-test-plan.md +0 -165
- package/tests/browser-cli-smoke.mjs +0 -276
- package/tests/browser-test-plan.md +0 -280
- package/tests/chat-side-panel-test-plan.md +0 -309
- package/tests/decision-engine-test-plan.md +0 -163
- package/tests/default-active-jev-test-plan.md +0 -85
- package/tests/harness-extensions-test-plan.md +0 -113
- package/tests/jev-all-decisions-test-plan.md +0 -156
- package/tests/jev-efficiency/criteria.json +0 -158
- package/tests/jev-efficiency/workloads.mjs +0 -242
- package/tests/jev-efficiency-test-plan.md +0 -198
- package/tests/permissions-sandbox-probe.mjs +0 -74
- package/tests/permissions-test-plan.md +0 -191
- package/tests/product-telemetry-test-plan.md +0 -536
- package/tests/thinking-stream-preview-test-plan.md +0 -136
- package/tests/zcode-react-engine-test-plan.md +0 -396
|
@@ -1,414 +0,0 @@
|
|
|
1
|
-
# Andorra Code desktop client
|
|
2
|
-
|
|
3
|
-
The desktop client is a window onto the same agent runtime the terminal uses. It adds projects, a
|
|
4
|
-
conversation surface, provider and graph settings, a terminal, a file and change browser, run
|
|
5
|
-
records, and the door to the graph editor. It does not reimplement any of them: the engine is the
|
|
6
|
-
`andorra` CLI installed on the computer, driven by the window. The app ships no engine of its own.
|
|
7
|
-
|
|
8
|
-
## Requirements
|
|
9
|
-
|
|
10
|
-
| Requirement | Notes |
|
|
11
|
-
| --- | --- |
|
|
12
|
-
| Node.js 22.19 or newer | Required. The CLI the window runs is a Node program, and the app does not include a Node runtime. |
|
|
13
|
-
| The Andorra CLI | Required, at the same version as the app: `npm install -g @andorra-labs/code@<app version>`. The Windows installer runs that command for you. Source development installs the latest npm release of `@andorra-labs/code` into `desktop/node_modules`. Explicit custom engines must support `app-server --stdio`. |
|
|
14
|
-
| Rust 1.90+ and the Tauri CLI | Only to build the shell. The Tauri CLI is installed by `npm install` in `desktop/`. |
|
|
15
|
-
| Platform webview | WebView2 on Windows, WKWebView on macOS, WebKitGTK on Linux. |
|
|
16
|
-
|
|
17
|
-
### Which engine the window starts
|
|
18
|
-
|
|
19
|
-
An installed release starts the Andorra Code CLI installed on the computer: a global npm install
|
|
20
|
-
of `@andorra-labs/code` (`%APPDATA%\npm`, `NPM_CONFIG_PREFIX`, `/usr/local`, Homebrew, nvm), then
|
|
21
|
-
`andorra` on `PATH`. The app and the CLI must be the same version, because the window and the
|
|
22
|
-
engine speak one protocol per release. When several installs are found, the one that matches the
|
|
23
|
-
app is started, including one in a custom npm prefix (set in `.npmrc`) that only `PATH` reaches.
|
|
24
|
-
|
|
25
|
-
**The installer's prerequisite (Windows).** Setup checks whether `andorra --version` already
|
|
26
|
-
reports the app's version. If it does not, setup runs
|
|
27
|
-
`npm install -g @andorra-labs/code@<app version>` into your own npm prefix, without elevation.
|
|
28
|
-
Node.js itself is not installed: without Node.js 22.19 or newer, setup offers to open the Node.js
|
|
29
|
-
download page and stop. If npm fails (no network, a registry error), setup says so and asks whether
|
|
30
|
-
to install the app anyway. An in-app update runs the same step silently and never stops on it. The
|
|
31
|
-
macOS and Linux bundles have no installer step.
|
|
32
|
-
|
|
33
|
-
**The check at startup (every platform).** Before the window starts an engine it reads the
|
|
34
|
-
installed CLI's `package.json` (it does not run it). A missing CLI, or one from another version,
|
|
35
|
-
stops at the startup screen with the reason and the command that fixes it, for example
|
|
36
|
-
`npm install -g @andorra-labs/code@0.1.10`; **Check again** retries after you run it. This is what
|
|
37
|
-
you see after an in-app update on macOS or Linux, where nothing installs the new CLI for you, and
|
|
38
|
-
after updating or removing the CLI by hand. An `andorra` launcher on `PATH` whose package cannot
|
|
39
|
-
be located is started without a version check.
|
|
40
|
-
|
|
41
|
-
To deliberately use a different engine, pick one under **Settings → Appearance → Engine**, or set
|
|
42
|
-
`ANDORRA_CLI` to the absolute path of a `cli.js`. These choices take precedence over the installed
|
|
43
|
-
CLI, are not version-checked, and remain your responsibility to update. The **Node executable**
|
|
44
|
-
setting overrides the interpreter used for a JavaScript entry point, and `ANDORRA_NODE` applies
|
|
45
|
-
when that field is empty.
|
|
46
|
-
|
|
47
|
-
Source-development builds are not held to the version rule. They start the client's own dependency,
|
|
48
|
-
`desktop/node_modules/@andorra-labs/code`, then global npm installations, then `andorra` on `PATH`.
|
|
49
|
-
That dependency is the latest npm release, not the checkout: every `npm install` or `npm ci` in
|
|
50
|
-
`desktop/` ends by asking npm which release the `latest` tag names and, when it is newer than the
|
|
51
|
-
installed one, installing it with `--no-save`, so `package.json` and `package-lock.json` stay as
|
|
52
|
-
committed. The step never fails the install and never downgrades; offline, it keeps the installed
|
|
53
|
-
engine and says so. Set `ANDORRA_DESKTOP_ENGINE_LATEST=0` to keep the lockfile's engine for a
|
|
54
|
-
reproducible build. Installers are unaffected: they carry no engine.
|
|
55
|
-
|
|
56
|
-
To drive this checkout's engine from a development window instead — to try engine changes in the
|
|
57
|
-
window — build it in the repository root (`npm install`, `npm run build`) and select its
|
|
58
|
-
`dist/src/cli.js` under **Settings → Appearance → Engine**, or set `ANDORRA_CLI` to that path.
|
|
59
|
-
|
|
60
|
-
The engine the window resolved — interpreter and entry point — is shown as **Resolved command**
|
|
61
|
-
under Settings → Appearance → Engine, which is how a window driving a checkout is told apart from
|
|
62
|
-
one driving an installed CLI.
|
|
63
|
-
|
|
64
|
-
### The terminal's `andorra`
|
|
65
|
-
|
|
66
|
-
The desktop and a global npm installation of the CLI share `~/.andorracode`, but updating the
|
|
67
|
-
desktop leaves the global installation where it was. When the global `andorra` is older than the
|
|
68
|
-
engine this desktop version ships, **Settings → Appearance & engine** shows a note, **Terminal CLI
|
|
69
|
-
is out of date**, with both versions and a copyable command to run in a terminal: `andorra update`
|
|
70
|
-
(see [Update](update.md)) for 0.1.5 and later, or `npm install -g @andorra-labs/code@latest` for an
|
|
71
|
-
older release, whose `andorra update` only updates a Git checkout and refuses an npm installation.
|
|
72
|
-
The window never runs npm or the global CLI itself: it reads the version from the installation's
|
|
73
|
-
`package.json`.
|
|
74
|
-
|
|
75
|
-
The note compares the first global installation found, in the order a source build searches them
|
|
76
|
-
(`%APPDATA%\npm`, `%LOCALAPPDATA%\npm`, `NPM_CONFIG_PREFIX`, `/usr/local`, `/usr/lib`,
|
|
77
|
-
`/opt/homebrew`, then nvm's default Node version and the rest newest first). It shows nothing when
|
|
78
|
-
there is no global installation, when that installation is the same version or newer, or when it
|
|
79
|
-
is a source checkout linked with `npm link`, whose `package.json` says nothing about the code that
|
|
80
|
-
was last built. The check runs each time the page opens.
|
|
81
|
-
|
|
82
|
-
A checkout's own `cli.js` is never executed unless you select it: the launch directory is not
|
|
83
|
-
searched, so starting the window from an untrusted checkout cannot run that checkout's engine. Set
|
|
84
|
-
the **Entry point** setting, or `ANDORRA_CLI`, to point at a build you trust.
|
|
85
|
-
|
|
86
|
-
Setting **Configuration home** (or `ANDORRACODE_HOME` for the window's own environment) points both
|
|
87
|
-
clients at a throwaway home, which is how you keep a window's settings away from a real
|
|
88
|
-
installation.
|
|
89
|
-
|
|
90
|
-
## Run it
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
cd desktop
|
|
94
|
-
npm install # the shell toolchain, and the latest npm release of @andorra-labs/code as the client's engine
|
|
95
|
-
npm run desktop:dev # builds the shell and opens the window with the dev server
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
Run `npm install` in `desktop/` again to move the client's engine to a newer npm release.
|
|
99
|
-
|
|
100
|
-
Other scripts:
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
npm run dev # renderer only, in a browser (no engine: the window shows the failure state)
|
|
104
|
-
npm test # renderer unit tests
|
|
105
|
-
npm run build # typecheck and build the renderer bundle
|
|
106
|
-
npm run icons # regenerate the application icons after changing the mark
|
|
107
|
-
npm run desktop:build # produce installers for the current platform
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
`npm run desktop:build` writes installers under `desktop/src-tauri/target/release/bundle/`: NSIS on
|
|
111
|
-
Windows, `app` and `dmg` on macOS, and `appimage` on Linux. Linux ships as an AppImage only.
|
|
112
|
-
Cross-compiling is not supported; build each platform on its own runner.
|
|
113
|
-
|
|
114
|
-
### Closing the window
|
|
115
|
-
|
|
116
|
-
On Windows, closing the window — the title bar's close button, `Alt+F4`, or the taskbar's Close
|
|
117
|
-
window — hides it to the notification area instead of quitting: engines that are mid-run keep
|
|
118
|
-
running, and unsaved editor state is kept as it was. A left click on the tray icon (a double click
|
|
119
|
-
works too) shows the window again, a right click opens the tray menu, and that menu's **Exit** is
|
|
120
|
-
the way to quit for real — it asks before dropping an unsaved provider draft. Launching the app
|
|
121
|
-
again while it is hidden reveals the running instance rather than starting a second one. macOS and
|
|
122
|
-
Linux close the window and quit as before.
|
|
123
|
-
|
|
124
|
-
## How the window drives the engine
|
|
125
|
-
|
|
126
|
-
The window talks to the `andorra` CLI over a line-delimited JSON protocol on standard input and
|
|
127
|
-
output: one request object in, one response or event object out. The protocol is internal to the
|
|
128
|
-
window and the CLI — you do not speak it directly.
|
|
129
|
-
|
|
130
|
-
A process runs one task, so **a task started while another is working gets an engine of its own**.
|
|
131
|
-
The window keeps one engine for browsing — projects, sessions, configuration, terminals, the run
|
|
132
|
-
history — and a small pool of task engines: a task is offered to the free ones first, and another
|
|
133
|
-
engine is started when they are all busy. Rows, approvals, questions, and Stop are routed to the
|
|
134
|
-
engine executing that task, so two tasks can be read and steered side by side. The window caps one
|
|
135
|
-
window at 16 live engines.
|
|
136
|
-
|
|
137
|
-
An engine is a process that takes a few seconds to load, so the window does not wait for a task to
|
|
138
|
-
start one: it keeps **one idle task engine ready**. The first is started once the window has
|
|
139
|
-
connected and its first screen has loaded, and another is started behind each task that takes the
|
|
140
|
-
idle one. The pool therefore holds one more engine than the tasks that are working — the same state
|
|
141
|
-
a finished task leaves behind. A task sent while the spare is still starting waits for it rather
|
|
142
|
-
than starting a second process, and if the spare could not be started the task starts its own
|
|
143
|
-
engine and reports any failure as before.
|
|
144
|
-
|
|
145
|
-
The idle engine is also **prepared for the project on screen**. The first task an engine runs in a
|
|
146
|
-
folder has to open that folder's code index and synchronize it with the files before its first
|
|
147
|
-
node can ask it anything — a walk of the repository, seconds on a large one. The window asks the
|
|
148
|
-
engine the next task would reach to do that ahead of time: when the engine is up, when the open
|
|
149
|
-
project or its permission mode changes, and when a task ends (which is also when the index is
|
|
150
|
-
brought up to date with what that task changed). Read Only and Plan prepare nothing, because the
|
|
151
|
-
index is a cache in the workspace that those modes do not let the engine write, and a project that
|
|
152
|
-
already has a task working in it is left alone until that task ends. Nothing is reported if the
|
|
153
|
-
preparation fails or was never asked for: the task synchronizes the index itself, as before.
|
|
154
|
-
|
|
155
|
-
Everything durable is the CLI's own: `config.json`, `sessions/*.json`, `runs/*.jsonl`,
|
|
156
|
-
`trajectories/<sessionId>.jsonl` (one sanitized per-session debug log of the model calls, appended
|
|
157
|
-
across runs and resumes), and the OS-stored account session. Nothing the desktop does can put the
|
|
158
|
-
two clients out of step, and a session started in the window resumes in the terminal with
|
|
159
|
-
`/session`.
|
|
160
|
-
|
|
161
|
-
## What the window does
|
|
162
|
-
|
|
163
|
-
The window is the **rail** (projects and their tasks), the **surface** (the task conversation, or one
|
|
164
|
-
of the other surfaces), and the **terminal drawer** along the bottom.
|
|
165
|
-
|
|
166
|
-
A window opens on the **New task** screen — the project, branch, graph, permission, and model choices
|
|
167
|
-
a task is written with — because a fresh window has no task open, and the conversation surface with
|
|
168
|
-
nothing selected is an empty transcript. It is the same screen the rail's **New task** button and
|
|
169
|
-
each project's plus open; selecting a task replaces it with that task's conversation.
|
|
170
|
-
|
|
171
|
-
- **Rail.** Add a folder with the platform picker; every project is listed with its tasks nested
|
|
172
|
-
underneath, newest first and capped at six per project with **Show more** for the rest. A task
|
|
173
|
-
opens with a click, renames on a double-click, and deletes from its context menu; a project is
|
|
174
|
-
removed from its own context menu, and neither action touches the folder on disk. The search field
|
|
175
|
-
filters the loaded task list by name, last task, and project — it does not search conversation
|
|
176
|
-
text. The footer holds the account, the surface menu (task, code, runs, studio), the terminal
|
|
177
|
-
drawer's toggle, and settings. The rail is resizable: drag the divider on its right edge, or focus
|
|
178
|
-
it and use Left/Right arrows for 20px steps and Home/End for the current bounds. It ships at
|
|
179
|
-
232px, runs from 180px to 480px, and never takes more than half the window. The chosen width is
|
|
180
|
-
remembered in `andorra.desktop.railWidth`.
|
|
181
|
-
- **Task.** The transcript is built from the runtime's own events: assistant messages, tool calls
|
|
182
|
-
with their arguments and results, and run notices. A completed run writes a turn row from the
|
|
183
|
-
record the engine saved. Approvals and clarification questions appear above the composer and block
|
|
184
|
-
the run until answered. The latest turn's observed span is shown above the composer as
|
|
185
|
-
"Worked for" ("Working for" while it runs); a restored session has no measured span and shows none.
|
|
186
|
-
The checklist a run publishes appears above that line — its own state beside the conversation, not
|
|
187
|
-
a message in it.
|
|
188
|
-
- **Markdown.** Assistant messages and turn summaries are rendered as Markdown — headings, emphasis,
|
|
189
|
-
inline and fenced code, lists (including task lists), quotes, tables, and rules. No HTML is
|
|
190
|
-
generated or inserted, so a message can style the transcript but cannot add markup to the window;
|
|
191
|
-
raw HTML an agent writes is shown as text, and an image becomes its alt text and address rather
|
|
192
|
-
than a fetch from the transcript. A link copies its address when clicked instead of navigating,
|
|
193
|
-
since a message must not be able to replace the application with a page of its choosing. Text with
|
|
194
|
-
no markdown renders exactly as written, and the task text you typed is never reinterpreted.
|
|
195
|
-
- **Composer.** One card: a text area over a row of quiet controls — permission mode (accented when
|
|
196
|
-
it is the mode that stops asking), graph, provider, model, and reasoning effort (which writes the
|
|
197
|
-
provider entry; OpenAI-compatible and OpenCode Go providers accept it, and the engine applies it only while a
|
|
198
|
-
run uses that provider's own model), then the run spinner, the context ring, and the send action,
|
|
199
|
-
which becomes stop while a run holds the engine. The graph control is locked on **Default** without
|
|
200
|
-
paid membership, because every other graph is refused by the run's own membership preflight. The
|
|
201
|
-
metrics strip beneath the card is described below.
|
|
202
|
-
- **Changing permissions while a task runs.** A permission mode picked while a task is running applies
|
|
203
|
-
to that task at once, and is saved as the project's mode for the next task too. An approval card
|
|
204
|
-
waiting on screen is checked again under the new mode: switching to **Full Access** answers it, and
|
|
205
|
-
the tool runs without anyone pressing Approve. A stricter mode reaches the task's next tool call, so
|
|
206
|
-
a write that would have gone through asks first. The transcript notes where the change landed.
|
|
207
|
-
**Project default** names no mode of its own, so picking it changes only what the next task sends.
|
|
208
|
-
A scheduled job's run keeps such a change to itself, as it does its saved mode.
|
|
209
|
-
- **Model override.** A multi-agent graph whose nodes each name their own provider decides its
|
|
210
|
-
models by itself, which leaves the composer nothing to steer with. The **Override models** control
|
|
211
|
-
on the New task screen's row asks for a provider and a model and widens that pair to the whole
|
|
212
|
-
graph: every agent node of the run, its delegated subagents and its retry fallbacks all run it.
|
|
213
|
-
The control appears only where a run has more than one model decision to unify: a graph with
|
|
214
|
-
more than one agent node, or a path that names a provider or model of its own instead of
|
|
215
|
-
inheriting both from the session — a node that pins only a model, a retry fallback, or an
|
|
216
|
-
installed `specific`/`per-role` delegation. Those are the paths the ordinary model picker cannot
|
|
217
|
-
name, because it writes provider and model as one pair. The bundled Default runs one engineer
|
|
218
|
-
node beside its `end` marker, names nothing, disables delegation and has no fallback, so it
|
|
219
|
-
offers no override control. An override
|
|
220
|
-
that is already armed stays reachable on any graph, because its panel is the only way to clear it.
|
|
221
|
-
The
|
|
222
|
-
override belongs to the run, not to the graph — the saved graph keeps its own selections, and a
|
|
223
|
-
run without the override uses them again. The setting itself is per project and stays armed
|
|
224
|
-
until it is cleared, so every later task of that project runs on the same pair until **Clear**
|
|
225
|
-
says otherwise. Beyond that, the control is offered whenever the window cannot prove the engine
|
|
226
|
-
would refuse it, because the engines it holds may be from a build that is no longer on disk; a
|
|
227
|
-
start that asks for the override against an engine that cannot honour it is refused with the
|
|
228
|
-
reason, rather than silently running the graph's own models. A paired workspace is the exception:
|
|
229
|
-
its providers live on that machine, so an override cannot be chosen for it from here. The chat
|
|
230
|
-
screen's runs honour the same setting as well.
|
|
231
|
-
- **Terminal drawer.** Shells in the project folder, running in the engine process through a PTY,
|
|
232
|
-
with their elapsed time, along the bottom of the window. It is opened from the rail footer or from
|
|
233
|
-
the Code surface's commit route, and it starts closed: revealing the section starts the first shell
|
|
234
|
-
and only the first, and a project switch closes the shells it holds, because a shell belongs to the
|
|
235
|
-
folder it was started in. Hiding the drawer keeps them: the views are hidden, never unmounted.
|
|
236
|
-
- **Code.** The project's files, one file's contents, and the Git working tree with diffs — the
|
|
237
|
-
branch, the changed files with their status marks, and a per-file or whole-tree diff. This is where
|
|
238
|
-
the working tree is read. The surface reports and diffs only: there is no stage, commit, or push
|
|
239
|
-
action, so **Commit or push** on the Changes tab opens a terminal in the project folder, where git
|
|
240
|
-
runs with your own credentials and hooks. Reads go through the engine, which refuses a path
|
|
241
|
-
outside the project.
|
|
242
|
-
- **Runs.** Every run record on the machine, including runs the terminal started: outcome, usage
|
|
243
|
-
including cache traffic, the graph the run used, the completion, and the event journal.
|
|
244
|
-
Right-clicking a run copies or reveals its stored record, and — when the engine writes session
|
|
245
|
-
trajectories — the session's own log beside it, so the debug log survives a resume where a single
|
|
246
|
-
run's journal restarts.
|
|
247
|
-
- **Studio.** The graph list with selection, the extension inventory, and a button that opens the
|
|
248
|
-
graph editor inside the current Tauri window.
|
|
249
|
-
- **Account.** The account portal: the profile the owner types, what their use has been, and their
|
|
250
|
-
plan. It opens from the account name in the rail footer and from **Account** in the rail's list.
|
|
251
|
-
The profile is stored with the account, so it follows the account to every machine that signs in;
|
|
252
|
-
the session and token totals are this machine's, because that is where the work ran.
|
|
253
|
-
- **Automations.** Create recurring jobs that start fresh sessions in a local project with a saved
|
|
254
|
-
prompt, provider/model/graph and permission mode. Choose a five-field CRON expression or a daily
|
|
255
|
-
local time with an explicit IANA timezone. The page lists jobs created by you and by agents, with
|
|
256
|
-
edit, pause, delete, run-now and last-session controls. Agents use the provider-visible
|
|
257
|
-
`automations` tool; `set_timer` still continues the current conversation once. Jobs persist across
|
|
258
|
-
restarts, skip occurrences at least a minute overdue and never overlap themselves. They run while
|
|
259
|
-
Andorra is open, or while its optional background scheduler runs. **Start background scheduler**
|
|
260
|
-
keeps scheduling after the window closes; Windows **Start at sign-in** registers a per-user logon
|
|
261
|
-
task against the current CLI installation. Keep that installation path stable, and uninstall the
|
|
262
|
-
task before moving it. The computer must stay awake and signed in. Unattended sessions deny
|
|
263
|
-
approval prompts and stop for user questions; open the saved session to inspect the result.
|
|
264
|
-
A job's saved permission mode applies only to its own run. It does not change the project's
|
|
265
|
-
interactive permission default, including when the job fails or is interrupted.
|
|
266
|
-
Jobs created from a terminal agent retain that run's provider, model, graph selection and valid
|
|
267
|
-
reasoning effort, including command-line overrides.
|
|
268
|
-
See [the automation QA plan](../../tests/automations-test-plan.md) for exact commands and limits.
|
|
269
|
-
- **Settings.** Account and membership, providers and models (with model discovery from the
|
|
270
|
-
endpoint), graph selection and an in-app **Open Graph Editor** button under **Graphs**, MCP and
|
|
271
|
-
extension inventory, runtime bounds, appearance, and **Analytics** — anonymous product
|
|
272
|
-
telemetry, which is included with the Free and Legacy plans and can be turned off by a Paid
|
|
273
|
-
account. The preference is stored in the same configuration file the CLI reads
|
|
274
|
-
(`/feedback on|off|status`); on a plan that includes collection, `/feedback off` explains why it
|
|
275
|
-
cannot be changed instead of writing a preference that has no effect.
|
|
276
|
-
|
|
277
|
-
### Crash logs
|
|
278
|
-
|
|
279
|
-
When the app, its engine, or its window fails, the app writes a crash log on your computer and
|
|
280
|
-
sends nothing. The next time you start the app it asks whether to send the log to Andorra Labs.
|
|
281
|
-
**See exactly what will be sent** shows the full text first. **Don't send** keeps the log on your
|
|
282
|
-
computer and the app does not ask about it again.
|
|
283
|
-
|
|
284
|
-
A log holds the error message, a stack or the engine's last error lines, the exit code, the app
|
|
285
|
-
version, and the operating system. Before it is written, file paths are cut to their last two
|
|
286
|
-
segments, and your user name, computer name, e-mail addresses, URL query strings, IP addresses, and
|
|
287
|
-
anything shaped like a key or token are replaced. A log holds no prompts, code, file contents, or
|
|
288
|
-
account. An app that was force-closed or lost power leaves a local note with no error in it, which
|
|
289
|
-
is never offered for sending.
|
|
290
|
-
|
|
291
|
-
Logs are kept in the `crashes` folder of the app's data folder (`%APPDATA%\com.andorralabs.code` on
|
|
292
|
-
Windows, `~/Library/Application Support/com.andorralabs.code` on macOS,
|
|
293
|
-
`~/.local/share/com.andorralabs.code` on Linux). The newest 20 are kept for up to 30 days. See
|
|
294
|
-
[the crash reports QA plan](../../tests/crash-reports-test-plan.md).
|
|
295
|
-
|
|
296
|
-
### Adding a model provider
|
|
297
|
-
|
|
298
|
-
Open **Settings > Providers & Models > Add Provider** to search the preset catalog, then choose
|
|
299
|
-
your provider. Official provider logos appear in A-Z name order, with Custom pinned first. AWS
|
|
300
|
-
Bedrock (Mantle, Bedrock API bearer key) and Fireworks AI presets are included. Review the suggested
|
|
301
|
-
identifier, endpoint and API type, add your credentials and
|
|
302
|
-
model IDs, and select **Save provider**. Regional presets include guidance for matching the endpoint
|
|
303
|
-
to your account. Subscription providers retain their fixed endpoints and sign-in behavior.
|
|
304
|
-
**Create custom provider** opens the manual setup form for local servers or other endpoints.
|
|
305
|
-
**Back to providers** lets you choose another preset after confirming draft disposal; nothing is
|
|
306
|
-
stored until Save. Existing connections keep their Edit, model discovery and testing controls.
|
|
307
|
-
|
|
308
|
-
See [the provider preset QA plan](../../tests/provider-presets-test-plan.md) for workflows and limits.
|
|
309
|
-
|
|
310
|
-
For **Codex**, select **Sign in with ChatGPT** at the top of the form before selecting a model or
|
|
311
|
-
saving a provider. Complete sign-in in your browser; the form shows waiting and cancellation controls,
|
|
312
|
-
then verified account status and a model selector. A current official Codex CLI must be installed on
|
|
313
|
-
this computer. It manages the subscription credentials used by inference. Existing Codex sign-in is
|
|
314
|
-
reused; **Refresh sign-in status** reads it again. A verified connected account shows **Sign out**,
|
|
315
|
-
which signs out the local Codex subscription without deleting provider settings or signing out your
|
|
316
|
-
Andorra account. The same controls appear on saved Codex connections and their Edit form.
|
|
317
|
-
|
|
318
|
-
The first successful catalog load in a new Codex setup adds all models returned by Codex, including
|
|
319
|
-
hidden catalog entries, with its default selected unless you already chose a model. Refreshing keeps
|
|
320
|
-
your configured list and manual selections; saved providers are not silently expanded. The catalog
|
|
321
|
-
contains Codex models, which can differ from models available only in the ChatGPT website. A listed
|
|
322
|
-
model does not establish inference entitlement. Model rows provide compact context-window controls.
|
|
323
|
-
|
|
324
|
-
Browser sign-in is available for the local engine. For a remote workspace, sign in with the Codex CLI
|
|
325
|
-
on the remote machine or switch to Local. See [the desktop ChatGPT sign-in QA plan](../../tests/codex-desktop-signin-test-plan.md)
|
|
326
|
-
for compatibility, cancellation and verification details.
|
|
327
|
-
|
|
328
|
-
### Embedded Graph Studio
|
|
329
|
-
|
|
330
|
-
In **Settings → Graphs**, select **Open Graph Editor** to work in the full application content
|
|
331
|
-
area. The same action is available from **Studio**. A Back button closes the editor and restores
|
|
332
|
-
the Settings/Studio screen. The account-scoped graph list is refreshed after closing, so newly
|
|
333
|
-
saved revisions can be selected immediately.
|
|
334
|
-
|
|
335
|
-
The editor runs on a local loopback port and is shown inside the window rather than in an external
|
|
336
|
-
browser tab. Its access token stays in memory and is never logged or persisted. The same editor is
|
|
337
|
-
still available separately from the CLI with `andorra graph`; the CLI version needs the same
|
|
338
|
-
framing allowance, or older engines will refuse to show it.
|
|
339
|
-
|
|
340
|
-
### The metrics strip
|
|
341
|
-
|
|
342
|
-
The strip under the composer reports the following, measured from the run's own events:
|
|
343
|
-
|
|
344
|
-
```text
|
|
345
|
-
3 turns · 12 steps | LLM 45.2s · Tool call 2m42s | Cache hit 95% | Input 12.2K tok · Output 3.4K tok
|
|
346
|
-
```
|
|
347
|
-
|
|
348
|
-
Groups are separated by a pipe and figures inside a group by a mid dot. A group whose measurement is
|
|
349
|
-
missing is dropped whole rather than printed as a zero. Sources:
|
|
350
|
-
|
|
351
|
-
| Figure | Source |
|
|
352
|
-
| --- | --- |
|
|
353
|
-
| Turns, steps | Assistant turns in the session record; iteration events for the run in flight. |
|
|
354
|
-
| LLM time | Measured between an iteration starting and its model completion arriving. |
|
|
355
|
-
| Tool time | Summed from each tool completion's own `durationMs`. |
|
|
356
|
-
| Cache hit | Cache-read over prompt tokens across the session's local-model requests, never rounded up to 100% while a miss exists; omitted entirely when no local request reported cache traffic. The context ring's panel shows this same figure. |
|
|
357
|
-
| Input / output | Session totals; the engine's saved usage is authoritative after each run. |
|
|
358
|
-
|
|
359
|
-
Context occupancy lives on the ring beside the send button, and one fact has one home: the ring
|
|
360
|
-
shows the last measured prompt size against the model's context window. Generation speed (tok/s)
|
|
361
|
-
lives on the node chips' usage line at the top of the transcript, not on this strip.
|
|
362
|
-
|
|
363
|
-
## Accounts
|
|
364
|
-
|
|
365
|
-
The window signs in through the same flow as `andorra login`: a browser opens the hosted sign-in
|
|
366
|
-
page, and the callback returns to a loopback port. The session is stored in the operating system's
|
|
367
|
-
credential store under the same identity, so signing in or out in one client is visible in the
|
|
368
|
-
other. Signed-out use is fully supported for local providers; hosted decisions and premium features
|
|
369
|
-
need the account.
|
|
370
|
-
|
|
371
|
-
The account label in the rail footer names the plan — `Free`, `Legacy`, or `Paid` — and opens the
|
|
372
|
-
account portal when pressed. **Legacy** is the pre-release cohort: free of charge, and carrying the
|
|
373
|
-
same features as a paid account. See [Accounts](../getting-started/accounts.md#plans).
|
|
374
|
-
|
|
375
|
-
## Remote Workspace
|
|
376
|
-
|
|
377
|
-
Pairing this window to another machine — or another machine to this one — makes the paired window a
|
|
378
|
-
full client of the other machine's engine: the same authority as a window opened on that machine.
|
|
379
|
-
|
|
380
|
-
Shipped: pairing and the security model, read-only browsing of a browse-grant pairing, and — for a
|
|
381
|
-
full-grant pairing over TLS where both ends speak the engine relay — the full client surface:
|
|
382
|
-
sessions, tasks that run on the workstation, the streaming transcript, approvals and questions,
|
|
383
|
-
stop and resume, terminals, and workspace reads, as if the window sat at that machine.
|
|
384
|
-
|
|
385
|
-
From the CLI, the same feature is `andorra remote serve` on the machine you want to drive,
|
|
386
|
-
`andorra remote pair <pairing-code>` on the machine that drives it, and `andorra remote devices`,
|
|
387
|
-
`revoke`, `status`, `code`, `share`, `unshare`, `workspaces`, `unpair` and `rotate-cert` to manage
|
|
388
|
-
pairings and sharing. See [CLI](../reference/cli.md).
|
|
389
|
-
|
|
390
|
-
## Known limits
|
|
391
|
-
|
|
392
|
-
- A remote window's authority follows its pairing: browse-only pairings (including credentials
|
|
393
|
-
minted before the grant model) stay read-only with a pill that says so, and the message names
|
|
394
|
-
the fix — a full-access code from the host's Settings, or the owner granting full access there.
|
|
395
|
-
A host whose Andorra predates the relay, or a window whose installed CLI cannot proxy, says
|
|
396
|
-
which side to update.
|
|
397
|
-
- Remote tasks run on the paired machine's own engine pool, so a paired window does not spend a
|
|
398
|
-
local engine on them; attachments cannot travel to the paired machine yet and are refused with a
|
|
399
|
-
message before the start, and the graph editor and host engine logs are not proxied yet.
|
|
400
|
-
- One task per engine, and the window runs an engine per task in flight. Two tasks in the same
|
|
401
|
-
project share one working tree, so concurrent tasks belong in different projects or worktrees.
|
|
402
|
-
- A window reload does not attach to a run in progress. The completed turns are re-read from the
|
|
403
|
-
session record, and the engine the run is in finishes it and writes that turn.
|
|
404
|
-
- A message sent while a run is live steers it when the engine advertises `run.steer`, and falls
|
|
405
|
-
back to interrupt-and-continue otherwise. Pausing a run is not exposed yet; the engine supports
|
|
406
|
-
cancellation and the approval exchange. Continuing a stopped attempt is: the Resume control
|
|
407
|
-
continues it as it was, and a message typed after the stop continues it with that text as its
|
|
408
|
-
direction. Only the message falls back: when the engine answers that there is nothing left to
|
|
409
|
-
continue, the text becomes a new run in a forked session, because it is a new task in its own
|
|
410
|
-
right. The bare Resume control has no new task to turn into, so the same answer is reported as
|
|
411
|
-
an error — restarting the stopped attempt's own task over is exactly what Resume must not do.
|
|
412
|
-
- The in-app graph editor uses the CLI's local Graph Studio server inside a sandboxed Tauri frame.
|
|
413
|
-
It is not a second graph implementation and does not open an external browser tab. The same editor
|
|
414
|
-
is still available separately from the CLI with `andorra graph`.
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# Skills, MCP servers, plugins, and sign-out
|
|
2
|
-
|
|
3
|
-
Start `andorra` in a terminal after configuring a provider in `/providers`. Type `/skills`, `/mcp`, or `/plugins`; use Up/Down and Enter to select, and Escape to return. These commands also appear in slash completion and `/help`. Changes apply to the next task. Configuration updates retain provider, memory, code intelligence, and limit settings in `config.json`.
|
|
4
|
-
|
|
5
|
-
The default home is `%USERPROFILE%\.andorracode` on Windows and `~/.andorracode` elsewhere. `ANDORRACODE_HOME` overrides the whole directory. Skill files live in `skills/`, plugins in `plugins/`, and disabled ids plus directly configured MCP servers in `config.json`.
|
|
6
|
-
|
|
7
|
-
## Skills
|
|
8
|
-
|
|
9
|
-
Choose **List skills** to inspect installed names, descriptions, status and paths. Select a skill to enable, disable or uninstall it. Choose **Install skill** and enter a local directory containing `SKILL.md`, a GitHub repository with `SKILL.md` at its root, or a GitHub subdirectory URL, for example `https://github.com/owner/repo/tree/main/skills/example`. Repository URLs accept `#branch-or-tag`; tree URLs require a single-segment ref (use a local checkout for refs containing slashes). A GitHub installation requires network access and a publicly accessible GitHub archive. For private repositories, use an authenticated local checkout and install its directory. The source directory or selected subdirectory name becomes the skill id; existing ids are rejected rather than overwritten.
|
|
10
|
-
|
|
11
|
-
Example local directory:
|
|
12
|
-
|
|
13
|
-
```text
|
|
14
|
-
example/
|
|
15
|
-
SKILL.md
|
|
16
|
-
references/style.md
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
```markdown
|
|
20
|
-
---
|
|
21
|
-
name: example
|
|
22
|
-
description: Apply the project's writing conventions.
|
|
23
|
-
---
|
|
24
|
-
Read references/style.md before editing documentation.
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
At each task the harness discovers enabled skill metadata. To bound prompt size, it advertises at most 16 skill descriptions, but can resolve up to 512 installed skills on demand using the `Skill` tool or `read_skill_resource` with `{"skill":"example","path":"SKILL.md"}`. Supply an exact installed ID (recommended), or a unique skill name; ambiguous names fail with an error requiring an ID. For a repository import such as pstack, a skill may also read a sibling `../how/SKILL.md`, but only while that sibling is installed and enabled. Cross-repository, disabled-sibling, unknown-directory, and symlink escapes are rejected. Loading a sibling `SKILL.md` activates the sibling's canonical ID for graph inheritance. Reads of `SKILL.md` and the files beside it remain bounded to 512 KiB and never execute scripts or grant new tools. The Orchestrator must publish its plan before reading skills and still needs repository evidence and user confirmation before implementation. Disable removes discovery and access at the next task; uninstall removes the copied directory, retaining the original source.
|
|
28
|
-
|
|
29
|
-
Installation copies local files or downloads a GitHub repository archive. GitHub downloads are bounded to 64 MiB compressed and 80 MiB expanded in memory before extraction; these archive limits include repository content outside a selected subdirectory. Use a local checkout for a larger repository. Only the validated selected bundle is written to staging, with at most 10,000 entries and 64 MiB of file content. Executable file permissions are retained where supported. It never executes package installers or hooks. Links, special files, bundles exceeding 10,000 entries or 64 MiB, skill documents exceeding 512 KiB, and manifests exceeding 128 KiB are rejected. Unreadable or malformed bundles are shown as unavailable and can be uninstalled; they do not block other tasks. An unavailable skill states the reason where one is known (for example `SKILL.md is 600 KiB; the limit is 512 KiB`): in the Skills list, in the composer's `/` menu when its name is typed, and in the error when its command is submitted.
|
|
30
|
-
|
|
31
|
-
Discovery validates at most 128 visible bundles per directory, in name order, with at most four concurrent bundle validations. Both task startup and manager screens report omitted entries; remove unused folders from the indicated directory to make room. Local sources containing the extension directory are rejected before scanning their contents, including paths resolved through directory aliases.
|
|
32
|
-
|
|
33
|
-
## MCP servers
|
|
34
|
-
|
|
35
|
-
Choose **Add MCP server**, enter a unique name, and select **Local command (stdio)** or **Streamable HTTP**. Select an existing server to edit, delete, enable or disable it. Enter arguments as a JSON array; environment or HTTP headers as a JSON object. Blank entries retain current fields when editing, while `[]` or `{}` clears them. Avoid entering raw credentials: use `${ENV_VAR}` placeholders, resolved from the CLI's process environment for env values and headers at task start. Environment/header input is concealed and excluded from input history; placeholders also keep secrets out of saved configuration. Authentication currently supports request headers, such as an Authorization bearer header, rather than an interactive MCP OAuth flow.
|
|
36
|
-
|
|
37
|
-
Stdio processes receive the SDK's minimal execution environment (such as PATH and platform home/system paths), plus only the environment entries configured for that server. Unrelated provider and cloud variables are not inherited. Explicit `${ENV_VAR}` references supply only their configured destination entries.
|
|
38
|
-
|
|
39
|
-
Example configuration (merge these fields with your existing provider configuration):
|
|
40
|
-
|
|
41
|
-
```json
|
|
42
|
-
{
|
|
43
|
-
"mcpServers": {
|
|
44
|
-
"local": {
|
|
45
|
-
"transport": "stdio",
|
|
46
|
-
"command": "node",
|
|
47
|
-
"args": ["C:/tools/example/server.mjs"],
|
|
48
|
-
"env": { "EXAMPLE_TOKEN": "${EXAMPLE_TOKEN}" },
|
|
49
|
-
"enabled": true
|
|
50
|
-
},
|
|
51
|
-
"remote": {
|
|
52
|
-
"transport": "http",
|
|
53
|
-
"url": "https://example.com/mcp",
|
|
54
|
-
"headers": { "Authorization": "Bearer ${EXAMPLE_TOKEN}" },
|
|
55
|
-
"enabled": false
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Public HTTP endpoints require HTTPS; private/local networks can use HTTP. URL credentials are rejected. The official MCP TypeScript SDK handles initialization, tool discovery, tool calls, and Streamable HTTP sessions. Legacy SSE-only endpoints are unsupported. Connection and individual discovery requests are bounded to 15 seconds, overall discovery to 30 seconds and 100 pages, and tool calls to 60 seconds. Server failures produce a visible unavailable status while the task continues. Missing auth environment variables also make that server unavailable. StdIO stderr is drained without copying potentially secret server messages into the transcript.
|
|
62
|
-
|
|
63
|
-
In the desktop app a task does not wait for a server it has heard from before. The engine keeps the tool catalog each server last reported, in `mcp-catalogs/` under the configuration home, one record per server configuration and workspace. The connection is approved first, under the approval policy described below, exactly as for a server with no record; a refused connection offers nothing of that server and leaves its record as it is. A server with a record is then offered from it at once, and its process starts beside the task's first model request: a call to one of its tools waits for the connection. Once the server is up its catalog is compared with the record. A catalog that changed is used from the next task on, while the running task keeps the one its model was told (a tool the server dropped answers that it is no longer provided); a server that could not be reached fails its calls with that reason and is forgotten, so the next task connects to it before offering anything. A catalog that was refused for exceeding the task metadata budget is remembered too: the next task reports it immediately and checks behind the task whether it now fits. A server seen for the first time, and every server in the terminal CLI, connects before the first node as described below.
|
|
64
|
-
|
|
65
|
-
Enabled servers connect once per task. Startup attempts at most eight enabled servers in configuration order, including plugin servers; failed connections and empty catalogs count toward this limit, while disabled servers do not. Additional servers are skipped with a visible notice. Disable unused servers to make room on the next task. Connection and every tool call use the existing approval policy: interactive approval, automatic approval in YOLO, and denial in headless mode without YOLO. Processes run as the local user; approval is not an OS sandbox. MCP tools use server-prefixed names with a hash to avoid collisions. Arbitrary external tools are offered only to agents with `shell: "allowed"`, because server read-only hints do not establish their effects. Orchestrators and read-only agents cannot call them. Agents with an explicit built-in `tools` allowlist exclude dynamically discovered MCP tools; use a full-capability agent without that list. Restricted subagents do not automatically inherit external tools. `/tools` describes discovery; the task's MCP connection notices report discovered counts. Pausing an established run cancels its in-flight tool call but keeps clients connected, so new direction can resume tool calls without reconnecting. Pausing during connection or discovery cancels startup and retries after new direction. Closing or cancelling the task closes its SDK clients and local processes.
|
|
66
|
-
|
|
67
|
-
MCP incoming transport data is capped at 1 MiB before JSON parsing: the stdio pending message buffer and each HTTP response body, including error bodies and SSE streams. Oversized data closes the connection and fails pending calls. Long-lived SSE streams also close after this cumulative limit; start a new task to reconnect. Tool output is separately clipped to 32,768 characters after parsing a bounded response.
|
|
68
|
-
|
|
69
|
-
Task-owned MCP clients are not inherited by any subagent, including roles with shell access or `toolInheritance: "inherit"`. Their working directory belongs to the parent task; excluding them preserves child workspace isolation. Use the parent agent for MCP calls.
|
|
70
|
-
|
|
71
|
-
## Plugins
|
|
72
|
-
|
|
73
|
-
Plugins use the same install/list/enable/disable/uninstall workflow. A plugin directory contains `andorra-plugin.json`, referring to included skills and optional MCP servers:
|
|
74
|
-
|
|
75
|
-
```json
|
|
76
|
-
{
|
|
77
|
-
"name": "Example plugin",
|
|
78
|
-
"description": "Writing guidance and a local helper",
|
|
79
|
-
"skills": ["skills/writing"],
|
|
80
|
-
"mcpServers": {
|
|
81
|
-
"helper": {
|
|
82
|
-
"transport": "stdio",
|
|
83
|
-
"command": "node",
|
|
84
|
-
"args": ["${PLUGIN_ROOT}/server.mjs"]
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Each skill directory must contain `SKILL.md`; paths must stay inside the plugin. A plugin may reference at most 16 unique skill directories; repeated paths and aliases are validated and advertised once. Exceeding this limit rejects installation or marks an existing plugin unavailable. Cancelling discovery or installation stops subsequent document reads. `${PLUGIN_ROOT}` expands literally to the installed directory in stdio command, arguments and environment values, including dollar characters in the path. MCP processes still use the task workspace as their working directory. Plugin tools and skills disappear from the next task when the plugin is disabled or removed. Plugin server ids and skill ids are namespaced separately from direct installations. Plugin libraries are not imported into the CLI, and arbitrary plugin entry points are not executed. This is Andorra's documented bundle format, not a Codex marketplace compatibility layer.
|
|
91
|
-
|
|
92
|
-
A plugin may declare at most eight unique MCP server ids, including disabled servers. Excessive declarations reject installation or mark an installed plugin unavailable before server validation or nested skill reads. Disabled bundles are skipped before document validation during task startup; the managers still validate and display them for repair. Disabled bundles do not consume runtime discovery slots. HTTP connection approval details omit URL query parameters while transport requests retain the configured URL.
|
|
93
|
-
|
|
94
|
-
## Logout
|
|
95
|
-
|
|
96
|
-
`/logout` (like `/auth logout` and standalone `andorra logout`) removes your Andorra account session and never signs out of a provider; run `/login` afterwards to sign in to the same or another account.
|
|
97
|
-
|
|
98
|
-
`/logout codex` signs out of every configured Codex account and exits the session after verifying sign-out, whichever provider is active. It uses the official app-server `account/logout` request for each account home, including the shared default Codex ChatGPT account. It retains provider settings, configured API-key environment names and environment variables. Open `/providers`, select the Codex provider and use its edit/sign-in flow to sign in again. With no Codex provider configured it reports that there is nothing to sign out of and leaves the session open; no API keys are deleted. Ctrl+C cancels a pending sign-out; a failed sign-out leaves the session open with an actionable status.
|
|
99
|
-
|
|
100
|
-
## Validation
|
|
101
|
-
|
|
102
|
-
See [the executable QA plan](../../tests/harness-extensions-test-plan.md) for coverage, commands and pending live integrations.
|