@anyswarm/core 0.5.1 → 0.6.0
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/AGENTS.md +20 -5
- package/README.md +69 -55
- package/dist/examples/README.md +138 -77
- package/dist/examples/authoring/README.md +4 -4
- package/dist/examples/autoresearch/README.md +108 -16
- package/dist/examples/autoresearch/REQUIREMENTS.zh.md +13 -12
- package/dist/examples/autoresearch/config.d.ts +48 -5
- package/dist/examples/autoresearch/config.js +57 -23
- package/dist/examples/autoresearch/demo.d.ts +12 -4
- package/dist/examples/autoresearch/demo.js +65 -22
- package/dist/examples/autoresearch/eject.json +2 -0
- package/dist/examples/autoresearch/frontiercs2-config.d.ts +2 -0
- package/dist/examples/autoresearch/frontiercs2-config.js +14 -0
- package/dist/examples/autoresearch/frontiercs2.d.ts +18 -1
- package/dist/examples/autoresearch/frontiercs2.js +71 -14
- package/dist/examples/autoresearch/prepare-demo.d.ts +1 -0
- package/dist/examples/autoresearch/prepare-demo.js +46 -0
- package/dist/examples/autoresearch/prepare.d.ts +105 -53
- package/dist/examples/autoresearch/prepare.js +126 -57
- package/dist/examples/autoresearch/project.d.ts +6 -95
- package/dist/examples/autoresearch/project.js +131 -45
- package/dist/examples/autoresearch/research-service.d.ts +16 -1
- package/dist/examples/autoresearch/research-service.js +84 -44
- package/dist/examples/code/README.md +25 -17
- package/dist/examples/code/REQUIREMENTS.zh.md +3 -3
- package/dist/examples/code/config.d.ts +1 -0
- package/dist/examples/first-harness/AGENTS.md +25 -0
- package/dist/examples/first-harness/README.md +136 -0
- package/dist/examples/first-harness/config.d.ts +9 -8
- package/dist/examples/first-harness/config.js +33 -26
- package/dist/examples/first-harness/eject.json +14 -0
- package/dist/examples/first-harness/handoff.js +3 -3
- package/dist/examples/first-harness/harness.d.ts +14 -18
- package/dist/examples/first-harness/harness.js +102 -77
- package/dist/examples/first-harness/input/README.md +7 -0
- package/dist/examples/first-harness/session.js +2 -1
- package/dist/examples/first-harness/tsconfig.json +2 -1
- package/dist/examples/harness-session/README.md +4 -4
- package/dist/examples/lead-worker/README.md +1 -1
- package/dist/examples/lead-worker/project-config.d.ts +1 -0
- package/dist/examples/messages/README.md +2 -2
- package/dist/examples/notes/README.md +5 -5
- package/dist/examples/notes/config.d.ts +1 -0
- package/dist/examples/parallel-swarm/AGENTS.md +32 -0
- package/dist/examples/parallel-swarm/README.md +136 -0
- package/dist/examples/parallel-swarm/board-service.js +25 -8
- package/dist/examples/parallel-swarm/board.d.ts +31 -1
- package/dist/examples/parallel-swarm/board.js +98 -13
- package/dist/examples/parallel-swarm/config.d.ts +11 -0
- package/dist/examples/parallel-swarm/config.js +39 -0
- package/dist/examples/parallel-swarm/eject.json +5 -0
- package/dist/examples/parallel-swarm/harness.d.ts +26 -20
- package/dist/examples/parallel-swarm/harness.js +77 -76
- package/dist/examples/parallel-swarm/report.d.ts +12 -0
- package/dist/examples/parallel-swarm/report.js +30 -0
- package/dist/examples/peermesh/README.md +1 -1
- package/dist/examples/peermesh/project-config.d.ts +1 -0
- package/dist/examples/services/agent-control/README.md +1 -1
- package/dist/examples/services/mathlib-search/README.md +1 -1
- package/dist/examples/services/mcp-managed/README.md +1 -1
- package/dist/examples/services/persistent-board/README.md +6 -3
- package/dist/examples/subagents/AGENTS.md +35 -0
- package/dist/examples/subagents/README.md +129 -93
- package/dist/examples/subagents/config.d.ts +2 -10
- package/dist/examples/subagents/config.js +9 -16
- package/dist/examples/subagents/eject.json +17 -0
- package/dist/examples/subagents/handoff-config.d.ts +41 -0
- package/dist/examples/subagents/handoff-config.js +13 -0
- package/dist/examples/subagents/model.d.ts +3 -0
- package/dist/examples/subagents/model.js +19 -0
- package/dist/examples/substrate/README.md +12 -6
- package/dist/examples/substrate/config.d.ts +1 -0
- package/dist/examples/substrate/project-config.d.ts +1 -0
- package/dist/examples/super/README.md +34 -22
- package/dist/examples/super/actions.d.ts +1 -1
- package/dist/examples/super/actions.js +11 -11
- package/dist/examples/super/config.js +3 -3
- package/dist/examples/super/eject.json +1 -1
- package/dist/examples/super/location.js +1 -1
- package/dist/examples/super/operator.d.ts +1 -0
- package/dist/examples/super/operator.js +31 -0
- package/dist/examples/super/project.d.ts +0 -107
- package/dist/examples/super/project.js +1 -3
- package/dist/examples/taskpool/README.md +1 -1
- package/dist/examples/taskpool/config.d.ts +1 -0
- package/dist/examples/taskpool/deploy/service-hosts/service-authority-snapshot.d.ts +4 -4
- package/dist/scripts/anyswarm-arguments.d.ts +7 -25
- package/dist/scripts/anyswarm-arguments.js +69 -97
- package/dist/scripts/anyswarm-eject.js +1 -1
- package/dist/scripts/anyswarm-harnesses.d.ts +0 -1
- package/dist/scripts/anyswarm-harnesses.js +1 -22
- package/dist/scripts/anyswarm-installation.d.ts +7 -40
- package/dist/scripts/anyswarm-installation.js +17 -291
- package/dist/scripts/anyswarm-launch.d.ts +6 -36
- package/dist/scripts/anyswarm-launch.js +32 -81
- package/dist/scripts/anyswarm-progress.d.ts +6 -0
- package/dist/scripts/anyswarm-progress.js +133 -0
- package/dist/scripts/anyswarm-project.d.ts +1 -9
- package/dist/scripts/anyswarm-project.js +40 -127
- package/dist/scripts/anyswarm-source-runner.js +9 -41
- package/dist/scripts/anyswarm.js +6 -26
- package/dist/scripts/build-provenance.json +1 -1
- package/dist/scripts/generate-architecture-coverage.js +1 -1
- package/dist/scripts/generate-architecture-prompts.js +18 -10
- package/dist/scripts/local-environment.d.ts +13 -7
- package/dist/scripts/local-environment.js +73 -21
- package/dist/scripts/local-setup.d.ts +3 -0
- package/dist/scripts/local-setup.js +153 -118
- package/dist/scripts/pack-release.js +31 -4
- package/dist/src/core/index.js +1 -1
- package/dist/src/core/sandbox/opensandbox-backend.js +10 -4
- package/dist/src/core/sandbox/sandbox-connection.d.ts +9 -2
- package/dist/src/core/sandbox/sandbox-connection.js +22 -7
- package/dist/src/core/worker-image.js +1 -1
- package/dist/src/harness/project-harness.d.ts +1 -0
- package/dist/src/harness/project-harness.js +5 -4
- package/dist/src/harness/project-rpc-client.js +19 -0
- package/dist/src/harness/project-runtime.js +3 -1
- package/dist/src/harness/typescript-loader.d.ts +2 -0
- package/dist/src/harness/typescript-loader.js +26 -8
- package/dist/src/trace-viewer/command.mjs +6 -3
- package/dist/src/trace-viewer/public/app.js +239 -59
- package/dist/src/trace-viewer/public/index.html +5 -0
- package/dist/src/trace-viewer/public/style.css +22 -0
- package/dist/src/trace-viewer/reader.mjs +242 -26
- package/dist/src/trace-viewer/run-root.d.mts +1 -0
- package/dist/src/trace-viewer/run-root.mjs +7 -0
- package/dist/src/trace-viewer/server.mjs +3 -1
- package/docs/INDEX.md +11 -9
- package/docs/architecture/04-services.md +1 -1
- package/docs/architecture/06-observability-experiments.md +21 -7
- package/docs/architecture/07-run-configuration.md +118 -19
- package/docs/architecture/08-prompts.md +21 -2
- package/docs/architecture/10-service-api-reference.md +12 -5
- package/docs/architecture/12-code-coverage.md +157 -115
- package/docs/architecture/15-core-runtime.md +1 -1
- package/docs/architecture/16-pi-opensandbox-backend.md +2 -0
- package/docs/architecture/17-harness-reporting.md +79 -1
- package/docs/architecture/22-website.md +52 -20
- package/docs/architecture/23-project-harness.md +109 -37
- package/docs/architecture/26-code.md +20 -5
- package/docs/architecture/27-personal.md +23 -8
- package/docs/architecture/28-autoresearch.md +18 -12
- package/docs/architecture/INDEX.md +1 -2
- package/docs/architecture/prompts/11-first-sdk-harness.md +9 -9
- package/docs/architecture/prompts/16-parallel-swarm.md +46 -13
- package/docs/architecture/prompts/22-autoresearch.md +9 -2
- package/docs/architecture/prompts/source-manifest.json +76 -52
- package/docs/architecture/source-map.json +445 -105
- package/docs/designs/core-harness/01-core.md +2 -2
- package/docs/designs/core-harness/06-project-harness.md +3 -3
- package/docs/designs/core-harness/README.md +2 -2
- package/docs/en/agents.md +1 -1
- package/docs/en/autoresearch.md +41 -0
- package/docs/en/blog/100b-tokens.md +157 -0
- package/docs/en/build-your-harness.md +47 -22
- package/docs/en/changelog.md +29 -1
- package/docs/en/first-harness.md +40 -32
- package/docs/en/harnesses/index.md +23 -23
- package/docs/en/harnesses/lead-worker.md +1 -1
- package/docs/en/harnesses/peermesh.md +2 -2
- package/docs/en/harnesses/subagents.md +10 -31
- package/docs/en/harnesses/substrate.md +4 -4
- package/docs/en/harnesses/taskpool.md +2 -2
- package/docs/en/latest.md +30 -5
- package/docs/en/overview.md +22 -22
- package/docs/en/quickstart.md +69 -56
- package/docs/en/reference/api.md +1 -1
- package/docs/en/reference/cli.md +47 -85
- package/docs/en/sandbox.md +3 -3
- package/docs/en/trace-viewer.md +32 -12
- package/docs/operations/trace-viewer.md +26 -11
- package/docs/third-party-notices.md +0 -1
- package/docs/workflows/development.md +160 -118
- package/docs/workflows/release-and-docs-versioning.md +207 -54
- package/docs/workflows/release-cli-acceptance.md +162 -0
- package/docs/zh/agents.md +1 -1
- package/docs/zh/autoresearch.md +41 -0
- package/docs/zh/blog/100b-tokens.md +102 -0
- package/docs/zh/build-your-harness.md +48 -23
- package/docs/zh/changelog.md +29 -1
- package/docs/zh/first-harness.md +43 -35
- package/docs/zh/harnesses/index.md +23 -23
- package/docs/zh/harnesses/lead-worker.md +1 -1
- package/docs/zh/harnesses/peermesh.md +2 -2
- package/docs/zh/harnesses/subagents.md +10 -31
- package/docs/zh/harnesses/substrate.md +4 -4
- package/docs/zh/harnesses/taskpool.md +2 -2
- package/docs/zh/latest.md +30 -5
- package/docs/zh/overview.md +23 -23
- package/docs/zh/quickstart.md +66 -57
- package/docs/zh/reference/api.md +1 -1
- package/docs/zh/reference/cli.md +19 -79
- package/docs/zh/sandbox.md +3 -3
- package/docs/zh/trace-viewer.md +32 -12
- package/examples/README.md +138 -77
- package/examples/authoring/README.md +4 -4
- package/examples/autoresearch/README.md +108 -16
- package/examples/autoresearch/REQUIREMENTS.zh.md +13 -12
- package/examples/autoresearch/config.ts +64 -25
- package/examples/autoresearch/demo.ts +75 -22
- package/examples/autoresearch/eject.json +2 -0
- package/examples/autoresearch/frontiercs2-config.ts +15 -0
- package/examples/autoresearch/frontiercs2.ts +64 -11
- package/examples/autoresearch/prepare-demo.ts +44 -0
- package/examples/autoresearch/prepare.ts +134 -60
- package/examples/autoresearch/project.ts +120 -44
- package/examples/autoresearch/research-service.ts +91 -41
- package/examples/code/README.md +25 -17
- package/examples/code/REQUIREMENTS.zh.md +3 -3
- package/examples/first-harness/AGENTS.md +25 -0
- package/examples/first-harness/README.md +136 -0
- package/examples/first-harness/config.ts +41 -27
- package/examples/first-harness/eject.json +14 -0
- package/examples/first-harness/handoff.ts +3 -3
- package/examples/first-harness/harness.ts +104 -72
- package/examples/first-harness/input/README.md +7 -0
- package/examples/first-harness/session.ts +2 -1
- package/examples/first-harness/tsconfig.json +2 -1
- package/examples/harness-session/README.md +4 -4
- package/examples/lead-worker/README.md +1 -1
- package/examples/messages/README.md +2 -2
- package/examples/notes/README.md +5 -5
- package/examples/parallel-swarm/AGENTS.md +32 -0
- package/examples/parallel-swarm/README.md +136 -0
- package/examples/parallel-swarm/board-service.ts +28 -9
- package/examples/parallel-swarm/board.ts +107 -13
- package/examples/parallel-swarm/config.ts +47 -0
- package/examples/parallel-swarm/eject.json +5 -0
- package/examples/parallel-swarm/harness.ts +83 -71
- package/examples/parallel-swarm/report.ts +33 -0
- package/examples/peermesh/README.md +1 -1
- package/examples/services/agent-control/README.md +1 -1
- package/examples/services/mathlib-search/README.md +1 -1
- package/examples/services/mcp-managed/README.md +1 -1
- package/examples/services/persistent-board/README.md +6 -3
- package/examples/subagents/AGENTS.md +35 -0
- package/examples/subagents/README.md +129 -93
- package/examples/subagents/config.ts +9 -15
- package/examples/subagents/eject.json +17 -0
- package/examples/subagents/handoff-config.ts +14 -0
- package/examples/subagents/model.ts +20 -0
- package/examples/substrate/README.md +12 -6
- package/examples/super/README.md +34 -22
- package/examples/super/actions.ts +11 -11
- package/examples/super/config.ts +3 -3
- package/examples/super/eject.json +1 -1
- package/examples/super/location.ts +1 -1
- package/examples/super/operator.ts +28 -0
- package/examples/super/project.ts +1 -3
- package/examples/taskpool/README.md +1 -1
- package/npm-shrinkwrap.development.json +46 -1538
- package/npm-shrinkwrap.json +10 -43
- package/package.development.json +3 -6
- package/package.json +3 -5
- package/scripts/anyswarm-arguments.ts +67 -96
- package/scripts/anyswarm-eject.ts +1 -1
- package/scripts/anyswarm-harnesses.ts +1 -18
- package/scripts/anyswarm-installation.ts +18 -294
- package/scripts/anyswarm-launch.ts +30 -102
- package/scripts/anyswarm-progress.ts +125 -0
- package/scripts/anyswarm-project.ts +31 -123
- package/scripts/anyswarm-source-runner.ts +9 -36
- package/scripts/anyswarm.ts +4 -24
- package/scripts/generate-architecture-coverage.ts +1 -1
- package/scripts/generate-architecture-prompts.ts +21 -10
- package/scripts/local-environment.ts +79 -21
- package/scripts/local-setup.ts +150 -105
- package/scripts/pack-release.ts +28 -4
- package/src/core/index.ts +1 -1
- package/src/core/sandbox/opensandbox-backend.ts +10 -4
- package/src/core/sandbox/sandbox-connection.ts +22 -7
- package/src/core/worker-image.ts +1 -1
- package/src/harness/project-harness.ts +5 -4
- package/src/harness/project-rpc-client.ts +23 -0
- package/src/harness/project-runtime.ts +2 -1
- package/src/harness/typescript-loader.ts +28 -8
- package/src/trace-viewer/command.mjs +6 -3
- package/src/trace-viewer/public/app.js +239 -59
- package/src/trace-viewer/public/index.html +5 -0
- package/src/trace-viewer/public/style.css +22 -0
- package/src/trace-viewer/reader.mjs +242 -26
- package/src/trace-viewer/run-root.d.mts +1 -0
- package/src/trace-viewer/run-root.mjs +7 -0
- package/src/trace-viewer/server.mjs +3 -1
- package/dist/scripts/anyswarm-applications.d.ts +0 -19
- package/dist/scripts/anyswarm-applications.js +0 -19
- package/dist/scripts/anyswarm-tui-config.d.ts +0 -36
- package/dist/scripts/anyswarm-tui-config.js +0 -189
- package/dist/scripts/anyswarm-tui-session.d.ts +0 -66
- package/dist/scripts/anyswarm-tui-session.js +0 -304
- package/dist/scripts/anyswarm-tui-terminal.d.ts +0 -41
- package/dist/scripts/anyswarm-tui-terminal.js +0 -154
- package/dist/scripts/anyswarm-tui.d.ts +0 -2
- package/dist/scripts/anyswarm-tui.js +0 -1012
- package/docs/architecture/25-foreground-tui.md +0 -51
- package/scripts/anyswarm-applications.ts +0 -39
- package/scripts/anyswarm-tui-config.ts +0 -174
- package/scripts/anyswarm-tui-session.ts +0 -295
- package/scripts/anyswarm-tui-terminal.ts +0 -147
- package/scripts/anyswarm-tui.ts +0 -912
package/docs/en/reference/api.md
CHANGED
|
@@ -17,7 +17,7 @@ npm install @anyswarm/core
|
|
|
17
17
|
|
|
18
18
|
Import the SDK from `@anyswarm/core`. The same install exposes the project-local CLI through `npm exec -- anyswarm`. To run `anyswarm` directly from any directory, use a [global CLI install](../quickstart.md#1-install-anyswarm).
|
|
19
19
|
|
|
20
|
-
For a verified [source build](../quickstart.md#build-and-install-from-source-main), install its archive with the command below. The [release page](../latest.md#
|
|
20
|
+
For a verified [source build](../quickstart.md#build-and-install-from-source-main), install its archive with the command below. The [release page](../latest.md#v052) shows how to pin the released SDK.
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
npm install --ignore-scripts /path/to/verified-anyswarm.tgz
|
package/docs/en/reference/cli.md
CHANGED
|
@@ -5,100 +5,62 @@ section: REFERENCE
|
|
|
5
5
|
order: 16
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
The host command is `anyswarm`. Run it without arguments for Quickstart, or add
|
|
9
|
+
`--help` to a command for its options. The Worker image separately supplies
|
|
10
|
+
`swarm` for Agent calls to Services over the Bridge.
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
## Host commands
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### Commands overview
|
|
15
|
-
|
|
16
|
-
| Command | Purpose |
|
|
17
|
-
| --- | --- |
|
|
18
|
-
| `anyswarm` / `anys` | Opens the streaming composer in an interactive terminal |
|
|
19
|
-
| `anys -u <harness> [prompt]` | Selects a built-in, installed package, or local Harness |
|
|
20
|
-
| `anys -u <harness> --headless [prompt]` | Streams Session activity and the final result as JSONL |
|
|
21
|
-
| `anys -u <harness> --rpc` | Opens the stdio HarnessSession RPC protocol |
|
|
22
|
-
| `anys -u <harness> --cmd "/action [args]"` | Runs a module's standalone Slash Action |
|
|
23
|
-
| `anys run ./harness.ts [arguments]` | Runs trusted TypeScript source with multi-file imports and SDK dependencies |
|
|
24
|
-
| `anys eject <code\|autoresearch\|super\|example> --dir <target>` | Exports editable TypeScript sources and binds their SDK provenance |
|
|
25
|
-
| `anyswarm --version` | Prints the installed `@anyswarm/core` version |
|
|
26
|
-
| `anyswarm setup [--mode existing\|local] [--endpoint <url>] [--public-url <url>] [--backend pi\|codex] [--backend-path <executable>] [--backend-version <version>] [--config <module>]` | Starts a managed local OpenSandbox with auto-generated credentials (`--mode local`), or validates and saves an existing service (`--mode existing`); local mode also prepares and probes the selected Worker image |
|
|
27
|
-
| `anyswarm doctor [--config <module>] [--smoke]` | Read-only configuration and Lifecycle auth diagnostics; pass `--smoke` for a live Pi/Codex Worker end-to-end probe |
|
|
28
|
-
| `anyswarm update` | Verifies, stages and activates the latest stable CLI in a managed installation. Global npm users receive an npm command for their install prefix |
|
|
29
|
-
| `anyswarm --harness <module> --prompt <text> [options]` | Runs a built-in, local TypeScript/ESM, or package Harness in foreground against a project directory |
|
|
30
|
-
| `anyswarm --harness <module> --mode rpc [options]` | Runs a Harness over JSONL `stdin`/`stdout` with `ready`, `run`, `status`, `stop`, and member controls |
|
|
31
|
-
| `anyswarm recover --run-dir <dir> --config <module>` | Performs cleanup-only recovery on a durable Run under same-host, same-boot ownership and prints the receipt |
|
|
32
|
-
| `anyswarm trace [--root] <runs-dir> [--port 8787] [--open]` | Starts the built-in browser [Trace Viewer](../trace-viewer.md) on `127.0.0.1` |
|
|
33
|
-
|
|
34
|
-
### Streaming terminal
|
|
35
|
-
|
|
36
|
-
Run `anys` and type `/use <harness> [prompt]`. Use `/code`, `/super` or `/autoresearch` when the corresponding application is bundled. You can also select a trusted local file such as `/use ./harness.ts`, or a package installed in your invocation directory. `anys -u ./harness.ts "task"` selects and submits the first prompt together. `--config ./config.ts` selects trusted configuration, and `/config` and `/doctor` help diagnose startup.
|
|
37
|
-
|
|
38
|
-
On a Linux host, run `anys -u code [prompt]` in a project to edit it with one coding Agent. Ask it in chat to delegate a task when you want a child Agent to work in parallel. In an active Code session, `/diff` streams the latest paths, patch preview and retained patch location. Use `/agents` for the roster, `@<editor> <message>` to steer an active editor, and `/stop <editor>` to stop an editor. Use `/y` or `/n` for inline confirmations and `/reply <id> <answer>` for questions. [Code quickstart](../../../examples/code/README.md)
|
|
39
|
-
|
|
40
|
-
The status rows show the Run's phase, Agent counts and workspace or Harness summary above the scrolling messages. The input area stays at the bottom, with the current Harness and selected Agent in its border. Resizing the terminal rewraps the text and keeps your draft. Press Enter to submit, Alt+Enter for a newline, and Tab for command completion.
|
|
41
|
-
|
|
42
|
-
| In the composer | What it does |
|
|
14
|
+
| Workflow | Commands |
|
|
43
15
|
| --- | --- |
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
- **Built-in Harness names**: `subagents`, `taskpool`, `peermesh`, `substrate`, `lead-worker`, `notes`, `messages`.
|
|
82
|
-
- **Module resolution**: pass a built-in name, an explicit `.ts` / `.mts` or ESM path, or an installed npm package name (resolved from the invocation directory).
|
|
83
|
-
- **RPC protocol (`--rpc` or `--mode rpc`)**: emits JSONL frames on `stdout` and diagnostics on `stderr`. Wait for `ready`, then send a `run` request containing `cwd` and `prompt`.
|
|
84
|
-
|
|
85
|
-
### Session options and controls
|
|
86
|
-
|
|
87
|
-
- **Lifetime (`--lifetime task|interactive`)**: defaults to single-task `task` mode. Harnesses that support ongoing sessions (such as Subagents) accept `interactive`, keeping the session alive until a configured deadline or explicit `stop`.
|
|
88
|
-
- **User questions (`--interaction none|questions`)**: defaults to `none`. Set `questions` when the client can answer authorized mid-Run questions from Agents.
|
|
89
|
-
- **Control channel**: foreground invocations with `--prompt` start immediately; when `interactive` or `questions` is enabled, subsequent commands flow over JSONL. `--rpc` or `--mode rpc` waits for a `run` command before starting.
|
|
90
|
-
- **Supported operations**: `describe` (discover capabilities), `status` (read snapshot), `answer` (respond by `questionId`), and `stop` (close the Run); native member queries and controls include `agent.getState`, `agent.getStats`, `agent.getMessages`, plus `agent.configure`, `agent.compact`, `agent.abortRetry`, `agent.clearQueue`, `agent.send`, `agent.interrupt`, and `agent.stop` (each Harness and executor decides which operations are permitted). The final result records report-save status and cleanup facts separately.
|
|
16
|
+
| Prepare and verify local execution | `anyswarm setup`, `anyswarm doctor --smoke` |
|
|
17
|
+
| Upgrade the installed CLI | `anyswarm update` prints the npm command for the current global installation. Run the printed command from the same Node/npm environment. |
|
|
18
|
+
| Run an editable Harness | `anyswarm run ./project.ts --cwd ./input --config ./config.ts --prompt "Inspect the project"` |
|
|
19
|
+
| Run a built-in Harness or connect a client | `anyswarm --harness subagents --prompt "Read README.md" --output-dir ./runs`, or `anyswarm --harness subagents --mode rpc` |
|
|
20
|
+
| Export source and the exact SDK | `anyswarm eject example --dir ./my-harness` |
|
|
21
|
+
| Inspect records or recover pending cleanup | `anyswarm trace --root ./runs --port 8787 --open`, `anyswarm recover --run-dir <dir> --config <module>` |
|
|
22
|
+
|
|
23
|
+
`anyswarm --version` prints the installed package version. See [Quickstart](../quickstart.md) for local setup, explicit existing OpenSandbox connections and npm installation.
|
|
24
|
+
|
|
25
|
+
## Run a Harness
|
|
26
|
+
|
|
27
|
+
Pick a built-in name, an explicit TypeScript or ESM module, or an installed npm
|
|
28
|
+
package resolved from the invocation directory. Built-ins are `subagents`,
|
|
29
|
+
`autoresearch`, `taskpool`, `peermesh`, `substrate`, `lead-worker`, `notes` and
|
|
30
|
+
`messages`. The project defaults to the invocation directory. `--config`
|
|
31
|
+
selects a trusted module and `--output-dir` selects the Run records root.
|
|
32
|
+
Set `--cwd` to capture a different project.
|
|
33
|
+
|
|
34
|
+
A one-shot Run starts from the supplied prompt. `run` supplies a default prompt
|
|
35
|
+
when a source Harness is launched without one. On a terminal, stdout shows Run
|
|
36
|
+
and Agent milestones, visible Service changes, exported artifact paths, cleanup,
|
|
37
|
+
and the command to view Trace. Redirect stdout for a single JSON result or
|
|
38
|
+
launch error. Source and Harness diagnostics go to stderr. `run` also executes
|
|
39
|
+
ordinary trusted source scripts with their original arguments.
|
|
40
|
+
|
|
41
|
+
For multiple turns, start `--mode rpc`, wait for the JSONL `ready` frame, and
|
|
42
|
+
send a `run` request with `cwd` and `prompt`. Use `--lifetime interactive` if
|
|
43
|
+
the Harness supports it and `--interaction questions` if the client can answer.
|
|
44
|
+
The stream carries replies, events and the final result on stdout. Use
|
|
45
|
+
`describe` for available controls and `stop` to initiate cleanup. [HarnessSession example](../../../examples/harness-session/README.md)
|
|
46
|
+
|
|
47
|
+
After ejecting, run `npm install` inside the export and start the editable
|
|
48
|
+
entry with its local CLI, for example `npm run start -- --prompt "Inspect the project"`.
|
|
49
|
+
See [Code](../../../examples/code/README.md) and [Personal](../../../examples/super/README.md)
|
|
50
|
+
for advanced SDK examples.
|
|
91
51
|
|
|
92
52
|
### AutoResearch
|
|
93
53
|
|
|
54
|
+
AutoResearch is the non-interactive research showcase. It starts equal
|
|
55
|
+
peers in private Sandboxes, coordinates them through the research Service,
|
|
56
|
+
and records train, candidate and final evidence for [Trace Viewer](../trace-viewer.md).
|
|
57
|
+
|
|
94
58
|
```sh
|
|
95
|
-
|
|
96
|
-
anys -u autoresearch
|
|
59
|
+
anyswarm --harness autoresearch --config ./research.ts --prompt "Your objective" --output-dir ./runs
|
|
97
60
|
```
|
|
98
61
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
Use `anys -u autoresearch --config ./research.ts "Your objective"` for a custom trusted evaluator, and `anys eject autoresearch` to export the source. [Quickstart](../../../examples/autoresearch/README.md)
|
|
62
|
+
Use [the AutoResearch guide](../../../examples/autoresearch/README.md) to prepare the
|
|
63
|
+
pinned FrontierCS-2 demo or export and edit the Harness.
|
|
102
64
|
|
|
103
65
|
## Unified environment variables
|
|
104
66
|
|
package/docs/en/sandbox.md
CHANGED
|
@@ -23,10 +23,10 @@ export OPEN_SANDBOX_API_KEY='<operator-provided-key>'
|
|
|
23
23
|
anyswarm setup --mode existing \
|
|
24
24
|
--endpoint https://sandbox.example.net \
|
|
25
25
|
--public-url https://runtime.example.net/anyswarm
|
|
26
|
-
anyswarm doctor --smoke
|
|
26
|
+
anyswarm doctor --mode existing --smoke
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Existing mode verifies your management API key and saves the connection in owner-only user config without launching a container. Running `anyswarm doctor --smoke` then creates and deletes a temporary sandbox to verify host-to-worker access, Runtime callbacks, file export, and cleanup.
|
|
29
|
+
Existing mode verifies your management API key and saves the connection in owner-only user config without launching a container. Running `anyswarm doctor --mode existing --smoke` then creates and deletes a temporary sandbox to verify host-to-worker access, Runtime callbacks, file export, and cleanup.
|
|
30
30
|
|
|
31
31
|
In remote mode, the OpenSandbox operator supplies the Worker image, which you select with `ANYSWARM_WORKER_IMAGE`; your host machine running `anyswarm` only needs Node.js and network access. Protect credentials with TLS (HTTPS) or a trusted private network.
|
|
32
32
|
|
|
@@ -49,7 +49,7 @@ const remote = createSandbox({
|
|
|
49
49
|
|
|
50
50
|
Configuration precedence is: **explicit SDK/CLI options → environment variables → saved user config (owner-only permissions) → local defaults**. `createSandbox()` validates and snapshots settings without launching containers; allocation starts only when you call `runtime.spawn()`.
|
|
51
51
|
|
|
52
|
-
When sandboxes run on a remote host or behind a reverse proxy, pass `connection: { publicUrl: 'https://runtime.example.net/anyswarm' }` to `createRuntime()` to advertise a single reachable callback URL (reverse-proxy path prefixes are preserved; use `bindHost` and `bindPort` only when you need custom listener binding). `anyswarm doctor` reports the active callback origin, and `anyswarm doctor --smoke` points to the callback address, port, and proxy routes if sandboxes cannot call back. Configure OpenSandbox to publish reachable container endpoints and required headers.
|
|
52
|
+
When sandboxes run on a remote host or behind a reverse proxy, pass `connection: { publicUrl: 'https://runtime.example.net/anyswarm' }` to `createRuntime()` to advertise a single reachable callback URL (reverse-proxy path prefixes are preserved; use `bindHost` and `bindPort` only when you need custom listener binding). `anyswarm doctor --mode existing` reports the active callback origin, and `anyswarm doctor --mode existing --smoke` points to the callback address, port, and proxy routes if sandboxes cannot call back. Configure OpenSandbox to publish reachable container endpoints and required headers.
|
|
53
53
|
|
|
54
54
|
## 4. Resources and migration from v0.2.0
|
|
55
55
|
|
package/docs/en/trace-viewer.md
CHANGED
|
@@ -5,27 +5,41 @@ section: CORE BUILDING BLOCKS
|
|
|
5
5
|
order: 8
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Standard Harness sessions save a Run report, and each Runtime they create writes its own structured trace. The built-in **Trace Viewer** (`anyswarm trace`) lets you inspect recorded Runtime activity right in your browser with **zero extra frontend dependencies**. A Harness can finish or fail before creating a Runtime; see the version note below for viewing that report.
|
|
9
9
|
|
|
10
|
-
The widget
|
|
10
|
+
The widget replays a saved Subagents run on [p-limit at `a8a6fbec`](https://github.com/sindresorhus/p-limit/tree/a8a6fbec4e0e866d6d779b10889bb4f5567e70eb). Root and two children made 28 GPT-6.1 Sol requests in an independent VM with Pi and OpenSandbox. The public replay selects input, model and Service metadata from that run. It leaves out message bodies, prompts, tool events, and private Runtime files.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Open **Files & Results** for the original 12,093-byte `report.md` and its SHA-256. The independent VM check confirmed the export bytes and cleanup. The generic Harness recorded acceptance as `not-run`, so assess the report's conclusions against the source. [VM acceptance record](https://github.com/AnySwarm/anyswarm/issues/358#issuecomment-7385075753)
|
|
13
|
+
|
|
14
|
+
Try the controls without installing anything.
|
|
15
|
+
|
|
16
|
+
- **Switch panels cleanly**: use the outer bar above to switch between **Swimlane Timeline**, **Recorded Events**, and **Files & Results**, or click **Open full viewer ↗** for the Run sidebar and search.
|
|
13
17
|
- **Zoom & pan**: scroll your mouse wheel over the swimlanes to zoom around your cursor, drag the swimlanes or overview minimap to pan, or press `W`/`S` (zoom), `A`/`D` (pan), and `0` (fit).
|
|
14
|
-
- **Hover & inspect**: hover any span for
|
|
18
|
+
- **Hover & inspect**: hover any span for recorded timing and metadata; click any bar to open the slide-over **Evidence Inspector** (**Structured** or **Raw JSON**).
|
|
15
19
|
|
|
16
20
|
## 1. Launch `anyswarm trace` locally
|
|
17
21
|
|
|
18
|
-
|
|
22
|
+
The standard CLI and `createHarnessSession()` default to `${XDG_STATE_HOME:-$HOME/.local/state}/anyswarm/runs`. From a project with the SDK installed, point its local CLI at that directory:
|
|
19
23
|
|
|
20
24
|
```bash
|
|
21
|
-
# Inspect
|
|
22
|
-
anyswarm trace --root
|
|
25
|
+
# Inspect the standard Harness output root
|
|
26
|
+
./node_modules/.bin/anyswarm trace --root "${XDG_STATE_HOME:-$HOME/.local/state}/anyswarm/runs" --port 8787 --open
|
|
23
27
|
|
|
24
|
-
#
|
|
25
|
-
anyswarm trace ./runs --port 8787
|
|
28
|
+
# If the Run explicitly used --output-dir ./runs or outputRoot: './runs'
|
|
29
|
+
./node_modules/.bin/anyswarm trace ./runs --port 8787
|
|
26
30
|
```
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
With a global installation, use `anyswarm` in place of `./node_modules/.bin/anyswarm`. `--output-dir` on the CLI and `outputRoot` on a Harness session override the default. If the default directory is unavailable or falls inside the captured workspace, the Harness may use a private temporary directory. Follow the actual printed replay command, or pass the directory containing the saved `reportPath` as `--root`.
|
|
33
|
+
|
|
34
|
+
Open `http://127.0.0.1:8787`. Trace Viewer reads saved files and needs **no Docker, OpenSandbox, or model keys**. `--port 0` chooses an available port; use the URL printed at startup. In the published npm **0.5.2**, the root must already exist, new Runs require refreshing the Run list, and discovery requires `runtime.json`. A selected Runtime can receive live updates over SSE. If a Run has only `project-run.json`, read that report directly in 0.5.2.
|
|
35
|
+
|
|
36
|
+
### Run discovery in 0.6.0
|
|
37
|
+
|
|
38
|
+
Version 0.6.0 includes the Run discovery and report improvements from [#360](https://github.com/AnySwarm/anyswarm/issues/360).
|
|
39
|
+
|
|
40
|
+
- `anyswarm trace` without a root uses the standard Harness state directory. A missing directory becomes a waiting state, and the page displays the directory being read.
|
|
41
|
+
- The visible page checks for new Runs about every two seconds. List updates preserve the selected Run, filters, time window and keyboard focus. Read errors keep the last successful list visible with an error message.
|
|
42
|
+
- A valid `project-run.json` can be opened when no matching Runtime association is confirmed. **Files & results** shows its recorded outcome, reason, failure, result, verification, export and cleanup facts. The gap explains missing identities, unavailable records or an association that cannot be confirmed; it does not imply that no Runtime exists elsewhere. The Viewer does not invent Agent counts, timelines, costs or durations. A consistent, unique Runtime association provides an explicit link.
|
|
29
43
|
|
|
30
44
|
## 2. Viewing runs on a remote Linux server (SSH)
|
|
31
45
|
|
|
@@ -41,7 +55,11 @@ ssh -N -L 8787:127.0.0.1:8787 user@your-linux-host
|
|
|
41
55
|
|
|
42
56
|
Then open `http://127.0.0.1:8787` locally. Keep Run traces private behind SSH — they contain prompts, code, and full transcripts.
|
|
43
57
|
|
|
44
|
-
## 3.
|
|
58
|
+
## 3. Saved reports and Runtime files
|
|
59
|
+
|
|
60
|
+
A standard Harness saves `project-run.json` at `<root>/<runId>/`. When it uses that directory as its Runtime output root, the Runtime files are under `<root>/<runId>/<runtimeId>/`.
|
|
61
|
+
|
|
62
|
+
Direct SDK calls to `createRuntime()` still require an explicit `outputDir` and write to `<outputDir>/<runtimeId>/`. Open those records with `./node_modules/.bin/anyswarm trace --root <outputDir>`; the Harness state-directory default does not choose a direct SDK output directory. The following paths are relative to a Runtime directory:
|
|
45
63
|
|
|
46
64
|
| Path | Contents |
|
|
47
65
|
| --- | --- |
|
|
@@ -52,10 +70,12 @@ Then open `http://127.0.0.1:8787` locally. Keep Run traces private behind SSH
|
|
|
52
70
|
| `service-state.<id>.<uuid>.json` | Optional public state exported on close or retirement, plus Service-provided capture facts and display hints |
|
|
53
71
|
| `model-trace/` | Raw forwarded Responses or Chat Completions requests and streamed responses from Model Gateway |
|
|
54
72
|
| `<agentId>/session/` & `artifacts/` | Archived Pi / Codex native sessions and files collected via `Profile.collect` |
|
|
55
|
-
| `harness-report.json` | Business outcome and verification report written by
|
|
73
|
+
| `harness-report.json` | Business outcome and verification report, when written by the Harness |
|
|
56
74
|
|
|
57
75
|
Open **Service states** in the Run header or select a Service call to inspect its exported state. The inspector shows export status, instance identity and the framework export window. Service capture time and business revision appear only when the Service supplies them. Missing hooks, failed exports, truncated content and missing files have distinct statuses. The recorded close/retirement snapshot retains its own observation window beside an earlier call. A Service can provide a data-only summary or table, and the original JSON remains available. The persistent Board example supplies a count and an Entries table. [Run the Board example](../../examples/services/persistent-board/README.md).
|
|
58
76
|
|
|
77
|
+
In **Files & results**, opening an archived file with a recorded SHA-256 checks that version. **Load next 64 KB** continues from the prior byte boundary, and **Copy** includes all currently loaded text. A website replay may end its file preview before the original file ends. Open the original Run in the installed Viewer to inspect the remaining bytes.
|
|
78
|
+
|
|
59
79
|
## 4. Search a long Run
|
|
60
80
|
|
|
61
81
|
The header's **Model / Service / Tool** counts cover the full Run, even when the timeline displays a smaller range. Each model request, Service attempt or tool execution counts once; its start and end records are not two calls. Historical Runs without native tool boundaries use archived Session tool results, including results without timestamps.
|
|
@@ -16,11 +16,33 @@ Open [the demo Run](http://127.0.0.1:8787/#run=release-notes). The synthetic Sub
|
|
|
16
16
|
The Trace Viewer is bundled directly inside `@anyswarm/core` (`src/trace-viewer/`) with zero extra dependencies:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
|
|
19
|
+
npm install -g @anyswarm/core
|
|
20
20
|
anyswarm trace /path/to/private/runs --port 8787 --open
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Open `http://127.0.0.1:8787`. A configured root (passed via `--root <dir>` or as a positional argument) may be a
|
|
23
|
+
Open `http://127.0.0.1:8787`. A configured root (passed via `--root <dir>` or as a positional argument) may be a Runtime directory containing `runtime.json` or a parent output directory. The Viewer needs the saved files and Node.js; it can replay them without the executing Harness, Docker, OpenSandbox or model credentials. `--port 0` selects an available port; use the printed URL.
|
|
24
|
+
|
|
25
|
+
The published npm **0.5.2** requires an explicit, existing root and discovers Runs through `runtime.json`. It can open an empty parent directory, but the browser's Run list needs a manual refresh after a new Run appears. A selected Runtime can receive live updates over SSE.
|
|
26
|
+
|
|
27
|
+
### Standard Harness and direct SDK output roots
|
|
28
|
+
|
|
29
|
+
CLI `--output-dir` and `createHarnessSession(..., { outputRoot })` select the standard Harness root. Without an override, that root is `${XDG_STATE_HOME:-$HOME/.local/state}/anyswarm/runs`. A project installation includes its own Viewer:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
./node_modules/.bin/anyswarm trace --root "${XDG_STATE_HOME:-$HOME/.local/state}/anyswarm/runs" --port 8787
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The Harness saves `<root>/<runId>/project-run.json`; a Runtime created with that Run directory as its output root writes `<root>/<runId>/<runtimeId>/runtime.json` and its adjacent evidence. If the default root is unavailable or inside the captured workspace, the Harness may choose a private temporary root. Use the actual printed replay command, or pass the directory containing the result's `reportPath` as `--root`. An admitted Run that fails before creating a Runtime can still have a project report; in npm 0.5.2, read that file directly.
|
|
36
|
+
|
|
37
|
+
Direct `createRuntime()` calls require their own explicit `outputDir` and write `<outputDir>/<runtimeId>/`. Use `./node_modules/.bin/anyswarm trace --root <outputDir>` for that program. The standard Harness default does not supply the SDK argument.
|
|
38
|
+
|
|
39
|
+
### Unreleased source candidate: #360
|
|
40
|
+
|
|
41
|
+
The source candidate for [#360](https://github.com/AnySwarm/anyswarm/issues/360) adds the behavior below. It is **not part of the published npm 0.5.2 package**.
|
|
42
|
+
|
|
43
|
+
- Omitting the root selects the standard Harness state directory. A root that does not yet exist is shown as a waiting state, with its actual path visible.
|
|
44
|
+
- The visible page polls for Runs about every two seconds, retaining the selected Run, filters, time window and keyboard focus. Failed reads preserve the last successful list and show the error.
|
|
45
|
+
- Valid `project-run.json` reports can be opened when no matching Runtime association is confirmed. **Files & results** shows recorded outcome, reason, result, failure, verification, export and cleanup. The gap distinguishes missing or invalid identity, no matching record, conflicting identities, multiple matches and directory mismatches. It does not establish zero Agents, zero cost or successful cleanup; Runtime timelines and metrics are not synthesized from the report. A consistent, unique Runtime association gives an explicit link, and existing report links remain usable after the list shows the associated Runtime.
|
|
24
46
|
|
|
25
47
|
## Server launch and local browser
|
|
26
48
|
|
|
@@ -40,16 +62,9 @@ Open [the forwarded Viewer](http://127.0.0.1:8787) in your browser. The browser
|
|
|
40
62
|
|
|
41
63
|
## Examples
|
|
42
64
|
|
|
43
|
-
|
|
65
|
+
Built-in examples launched through `anyswarm --harness ...` use the standard Harness root described above, unless `--output-dir` overrides it. Check the actual Run report or replay command rather than inferring a folder from the Harness name.
|
|
44
66
|
|
|
45
|
-
|
|
46
|
-
| --- | --- |
|
|
47
|
-
| [Notes](../../examples/notes/README.md) | `./notes-runs` |
|
|
48
|
-
| [Subagents](../../examples/subagents/README.md) | `./subagents-runs` |
|
|
49
|
-
| [PeerMesh](../../examples/peermesh/README.md) | `./peermesh-runs` |
|
|
50
|
-
| [Substrate](../../examples/substrate/README.md) | `./substrate-runs`. The FATE launcher uses `./experiments/substrate-fate` by default |
|
|
51
|
-
| [Lead-Worker](../../examples/lead-worker/README.md) | `./lead-worker-runs` |
|
|
52
|
-
| TaskPool foreground Harness | `outputDir` from the host configuration |
|
|
67
|
+
Standalone example configurations can choose a different `outputDir`: [Notes](../../examples/notes/config.ts) uses `./notes-runs`, [Subagents](../../examples/subagents/config.ts) uses `./subagents-runs`, and [Substrate](../../examples/substrate/config.ts) uses `./substrate-runs`. Those relative paths are resolved from the program's working directory. For other direct SDK or lower-level Harness calls, use the `outputDir` passed by that program. These standalone settings do not change the standard CLI's Run root.
|
|
53
68
|
|
|
54
69
|
Service calls appear across Harnesses. Subagents adds caller and destination links backed by the saved evidence. Read the [Architecture chapter](../architecture/06-observability-experiments.md) for the timing and status semantics.
|
|
55
70
|
|
|
@@ -6,7 +6,6 @@ The terms in [LICENSE](../LICENSE) cover AnySwarm's original code and documentat
|
|
|
6
6
|
| --- | --- |
|
|
7
7
|
| Codex CLI in the Worker image | Apache-2.0. The image installs `@openai/codex` 0.172.0 from OpenAI. [Upstream license](https://github.com/openai/codex/blob/3d86e43b075adeba2193ec5c22ac92f55afd82e6/LICENSE) at the `rust-v0.172.0` revision. |
|
|
8
8
|
| OpenSandbox JavaScript SDK | Apache-2.0. The Controller installs `@alibaba-group/opensandbox` 1.2.1. [Upstream license](https://github.com/opensandbox-group/OpenSandbox/blob/db708c218771a8d311356f0e96552c15df6e097a/LICENSE) |
|
|
9
|
-
| Pi terminal primitives | MIT. The host CLI installs `@earendil-works/pi-tui` 1.3.0. [Package and license metadata](https://www.npmjs.com/package/@earendil-works/pi-tui/v/1.3.0) |
|
|
10
9
|
| Lean module replay driver | Apache-2.0. The [driver notice](../examples/taskpool/services/judge/lean-module-verify.NOTICE.md) identifies the upstream source, copyright and local modifications. [Upstream license copy](../examples/taskpool/services/judge/lean-module-verify.LICENSE.txt) |
|
|
11
10
|
| Agensh Board schema fixture (source-checkout tests) | MIT. [Source attribution and license copy](../test/fixtures/agensh-board-schema.LICENSE.txt) |
|
|
12
11
|
| Agensh reference implementation | Separate Git submodule. See the [upstream license](https://github.com/microsoft/Agensh/blob/2dae4e14a653da48549fd9aa093f834841475d6c/LICENSE) at the recorded revision. |
|