@oalo-ai/cli 0.5.1 → 0.7.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/README.md +45 -10
- package/man/oalo.1 +359 -16
- package/package.json +2 -2
- package/plugin/.claude-plugin/plugin.json +2 -2
- package/plugin/skills/oalo/SKILL.md +124 -30
- package/src/agents/harness.js +357 -0
- package/src/agents/roles.js +339 -0
- package/src/agents/worktree.js +155 -0
- package/src/commands/auto.js +239 -0
- package/src/commands/bots.js +2 -2
- package/src/commands/crm.js +114 -0
- package/src/commands/db.js +2 -1
- package/src/commands/heal.js +141 -0
- package/src/commands/inbox.js +127 -0
- package/src/commands/link.js +1 -1
- package/src/commands/race.js +390 -0
- package/src/commands/ralph.js +302 -0
- package/src/commands/review.js +233 -0
- package/src/commands/serve.js +1 -1
- package/src/commands/skill.js +15 -5
- package/src/commands/swarm.js +457 -0
- package/src/commands/switches.js +32 -1
- package/src/commands/usage.js +66 -0
- package/src/coord-release.json +9 -9
- package/src/help.js +225 -15
- package/src/index.js +36 -0
- package/src/mcp/describe.js +3 -2
- package/src/mcp/tools.js +84 -2
package/README.md
CHANGED
|
@@ -14,8 +14,8 @@ npm install -g @oalo-ai/cli
|
|
|
14
14
|
oalo --version
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
`man oalo` documents every command and every bot setting. `oalo coord`
|
|
18
|
-
|
|
17
|
+
`man oalo` documents every command and every bot setting. `oalo coord install`
|
|
18
|
+
downloads a standalone binary; everything runs on Node 18+.
|
|
19
19
|
|
|
20
20
|
## Start
|
|
21
21
|
|
|
@@ -50,8 +50,8 @@ confusing auth error.
|
|
|
50
50
|
|
|
51
51
|
| kind | from | plane | used by |
|
|
52
52
|
|---|---|---|---|
|
|
53
|
-
| **sync** | `oalo login` (read-only), or Account → CLI & agents | data (`/api/sync/v1`) | `
|
|
54
|
-
| **CLI** | `oalo login`, or Account → CLI & agents | the build surface |
|
|
53
|
+
| **sync** | `oalo login` (read-only), or Account → CLI & agents | data (`/api/sync/v1`) | `typegen`, `data` |
|
|
54
|
+
| **CLI** | `oalo login`, or Account → CLI & agents | the build surface | `tail`, `mcp`, and everything else |
|
|
55
55
|
|
|
56
56
|
`oalo login` gets you both as one **connection**, and so does "Create
|
|
57
57
|
connection" on the dashboard's Account → CLI & agents page. A connection is
|
|
@@ -75,9 +75,11 @@ On a machine with no browser (a server, a container), click **Create
|
|
|
75
75
|
connection** on that page instead. It shows one `oalo link` command with both
|
|
76
76
|
tokens filled in, plus the MCP config block. Those tokens are shown once.
|
|
77
77
|
|
|
78
|
-
The login's data token is **read-only
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
The login's data token is **read-only** for `oalo typegen` and `oalo data` reads.
|
|
79
|
+
`oalo data push` and `oalo data delete` (and MCP data writes) mint a separate
|
|
80
|
+
table-scoped 30-day write token automatically (`oalo logout` revokes it). Data
|
|
81
|
+
tokens for an app's own servers are managed separately under **Sync API** in
|
|
82
|
+
the dashboard.
|
|
81
83
|
|
|
82
84
|
> **Server-side only.** A sync token carries no end-user identity, so it reads
|
|
83
85
|
> and writes *every* member's rows. Never ship one inside a mobile or web app:
|
|
@@ -315,12 +317,12 @@ oalo serve add folder handbook ~/Documents/Handbook --describe "Store policies,
|
|
|
315
317
|
oalo serve add command stock --input 'sku:string' --describe "Stock and price for one product code" -- python3 ~/oalo/stock.py
|
|
316
318
|
oalo serve test handbook '{"query": "return policy"}'
|
|
317
319
|
oalo serve
|
|
318
|
-
oalo bots tools bot_xxx --add
|
|
320
|
+
oalo bots tools bot_xxx --add handbook --add stock
|
|
319
321
|
```
|
|
320
322
|
|
|
321
323
|
`oalo serve` connects out to your workspace and answers the bot's tool calls
|
|
322
324
|
from a folder or a script on this computer. Nothing listens here, and only the
|
|
323
|
-
handler's answer (
|
|
325
|
+
handler's answer (1 MB at most) goes back. The machine's key is saved in
|
|
324
326
|
`~/.oalo/serve/<name>.json` (mode 0600) and can only answer requests. A command
|
|
325
327
|
handler gets `{"input", "context"}` on stdin and prints one JSON object;
|
|
326
328
|
`context.member` is the verified id of the person chatting. `oalo serve install`
|
|
@@ -387,10 +389,43 @@ your dashboard session; both can be open at once.
|
|
|
387
389
|
overwritten. (The server now also accepts `version`, but being explicit is
|
|
388
390
|
clearer.)
|
|
389
391
|
|
|
392
|
+
## Multi-agent coordination: `coord`, `swarm`, `ralph`, `race`, `review`, `auto`
|
|
393
|
+
|
|
394
|
+
Coordinate coding agents across the whole repo lifecycle (no Oalo workspace
|
|
395
|
+
required unless `--verify` runs `oalo qa`):
|
|
396
|
+
|
|
397
|
+
```sh
|
|
398
|
+
# 1. Explore & design with a read-only multi-role blackboard (16 preset roles, 5 --team bundles)
|
|
399
|
+
oalo swarm "Design billing rewrite" --team engineering --rounds 2
|
|
400
|
+
oalo swarm roles list # inspect built-in + custom roles
|
|
401
|
+
oalo swarm roles add ml-bench --focus "Leak-free evals" --checklist "Fixed seeds,60s cap"
|
|
402
|
+
oalo swarm promote # import plan into oalo coord drafts
|
|
403
|
+
|
|
404
|
+
# 2. Build in parallel with isolated worktrees, watchdog, spend cap & independent critic
|
|
405
|
+
oalo coord init --test-cmd "npm test" --reviewer claude:sonnet
|
|
406
|
+
oalo coord approve plan
|
|
407
|
+
oalo coord up --workers 3 --harness claude:sonnet --budget 10.00
|
|
408
|
+
|
|
409
|
+
# 3. Race 2+ models on one tricky bug (optional blind --judge when 2+ pass) and merge the winner
|
|
410
|
+
oalo race "Fix reconnect drop" --models claude:sonnet,opencode:openrouter/deepseek/deepseek-v4.1-flash --verify "npm test" --judge claude:sonnet
|
|
411
|
+
oalo race pick <run-id> 2
|
|
412
|
+
|
|
413
|
+
# 4. Grind overnight with a fresh context per iteration (works with `npm test` or `oalo qa`)
|
|
414
|
+
oalo ralph --goal "Make all QA scripts pass" --verify "oalo qa bot_xxx --script qa.json" --max-iters 10 --commit
|
|
415
|
+
|
|
416
|
+
# 5. Independent read-only cross-model diff critic
|
|
417
|
+
oalo review --against main --models claude:sonnet,opencode:openrouter/deepseek/deepseek-v4.1-flash --strict
|
|
418
|
+
|
|
419
|
+
# 6. Composable workflow presets (`qa-grind`, `bugfix`, `audit`, `feature`) + `.oalo/workflows/*.json`
|
|
420
|
+
oalo auto list
|
|
421
|
+
oalo auto bugfix "Fix rounding" --verify "npm test" --auto-pick
|
|
422
|
+
```
|
|
423
|
+
|
|
390
424
|
## Development
|
|
391
425
|
|
|
392
426
|
```sh
|
|
393
|
-
npm run test:unit # offline:
|
|
427
|
+
npm run test:unit # offline: CLI unit tests + ralph/race/review/swarm/auto E2E
|
|
428
|
+
npm run test:coord # Bun: oalo coord board, hooks, files, runner & reviewer tests
|
|
394
429
|
npm run smoke # link + typegen + help contract, against a live server
|
|
395
430
|
npm run smoke:mcp # the MCP server, over the real protocol
|
|
396
431
|
npm run smoke:mcp -- --write # also exercises save_flow against a throwaway flow
|
package/man/oalo.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH OALO 1 "" "oalo 0.
|
|
1
|
+
.TH OALO 1 "" "oalo 0.7.0" "OALO CLI"
|
|
2
2
|
.SH NAME
|
|
3
3
|
oalo \- wire a local app into your Oalo workspace
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -90,7 +90,7 @@ Workspace URL, e.g. https://acme.oalo.ai
|
|
|
90
90
|
Sync token (data plane). Not needed after oalo login, which saved one.
|
|
91
91
|
.TP
|
|
92
92
|
\fB\-\-cli\-token <token>\fR
|
|
93
|
-
CLI token (control plane)
|
|
93
|
+
CLI token (control plane) for management commands, tail, and mcp. Can be used alone without \-\-token.
|
|
94
94
|
.TP
|
|
95
95
|
\fB\-\-app <slug>\fR
|
|
96
96
|
The app that deploy, env, logs, secrets and dockerfile use when you don't pass \-\-app (\fBoalo apps\fR lists them). \fBoalo deploy \-\-new\fR sets it.
|
|
@@ -396,6 +396,39 @@ vectorize sends the text of the chosen fields to the embedding provider (Voyage)
|
|
|
396
396
|
keep\-from\-ai names fields a bot's data tools (data_search, data_related, table_search, search) leave out of what they hand its AI model, and that can't be embedded. They're still stored, synced to your apps, and read by workflows. A field that's embedded now has to be vectorized away first. With no fields, the list.
|
|
397
397
|
.PP
|
|
398
398
|
Exit codes: 0 done; 1 failed, or some rows were rejected; 2 bad arguments or no token.
|
|
399
|
+
.SS heal
|
|
400
|
+
Inspect runtime errors, run/suggest integration tests, and run or approve self\-healing patches (Base or \-\-local).
|
|
401
|
+
.PP
|
|
402
|
+
\fBoalo heal list \-\-app <slug> [\-\-json]\fR
|
|
403
|
+
.br
|
|
404
|
+
\fBoalo heal inspect <error_id> [\-\-json]\fR
|
|
405
|
+
.br
|
|
406
|
+
\fBoalo heal run <error_id> [\-\-local] [\-\-mode branch_and_pr|diagnose_only|auto_deploy]\fR
|
|
407
|
+
.br
|
|
408
|
+
\fBoalo heal approve|reject <heal_id>\fR
|
|
409
|
+
.br
|
|
410
|
+
\fBoalo heal tests \-\-app <slug> [\-\-env dev|prod]\fR
|
|
411
|
+
.br
|
|
412
|
+
\fBoalo heal suggest\-tests \-\-app <slug> [\-\-auto]\fR
|
|
413
|
+
.br
|
|
414
|
+
.TP
|
|
415
|
+
\fB\-\-app <slug>\fR
|
|
416
|
+
The app. Default: the one saved with \fBoalo link \-\-app\fR.
|
|
417
|
+
.TP
|
|
418
|
+
\fB\-\-local\fR
|
|
419
|
+
Download the error bundle and switch to a local fix branch instead of running on the Base.
|
|
420
|
+
.TP
|
|
421
|
+
\fB\-\-auto\fR
|
|
422
|
+
Apply suggested tests immediately into .oalo/tests/smoke.json.
|
|
423
|
+
.TP
|
|
424
|
+
\fB\-\-json\fR
|
|
425
|
+
Raw JSON output.
|
|
426
|
+
.IP \(bu 2
|
|
427
|
+
Runs on the Base by default (opening a Forgejo PR in branch_and_pr mode), or pass \-\-local to download the error bundle and patch on your own machine.
|
|
428
|
+
.IP \(bu 2
|
|
429
|
+
High\-risk diffs (auth, migrations, billing, >5 files, >200 lines) always require explicit \fBoalo heal approve\fR or Dashboard 1\-click approval.
|
|
430
|
+
.PP
|
|
431
|
+
Exit codes: 0 done; 1 failed or failing tests; 2 bad arguments or no token.
|
|
399
432
|
.SS incidents
|
|
400
433
|
A live app's outages and restart bursts, as Oalo's uptime check saw them, newest first.
|
|
401
434
|
.PP
|
|
@@ -461,9 +494,9 @@ restore: do everything but the write, and report what would happen. Nothing is w
|
|
|
461
494
|
\fB\-\-yes\fR
|
|
462
495
|
restore: go ahead with prod without asking. Needed for prod when there's no terminal to ask at.
|
|
463
496
|
.IP \(bu 2
|
|
464
|
-
query reads only: one statement (SELECT, WITH, TABLE, VALUES, EXPLAIN or SHOW), run as your app's database login in a read\-only transaction that is rolled back, with a 10 second limit. It sees what your app sees at DATABASE_URL: the env's tables, not the platform's. \fBoalo data\fR is for Oalo models; this is for any table, your app's own included.
|
|
497
|
+
query reads only: one statement (SELECT, WITH, TABLE, VALUES, EXPLAIN or SHOW), run as your app's database login in a read\-only transaction that is rolled back, with a 10 second limit. It sees what your app sees at DATABASE_URL: the env's tables, not the platform's. \fBoalo data\fR is for Oalo models; this is for any table, your app's own included. Available to workspace admins and members with Developer access.
|
|
465
498
|
.IP \(bu 2
|
|
466
|
-
|
|
499
|
+
dump is workspace admins only: it holds every member's data. Restore it into any Postgres with psql \-f.
|
|
467
500
|
.IP \(bu 2
|
|
468
501
|
Your code is in git (oalo deploy \-\-pull); this is the data. Together they are everything you need to run your apps elsewhere.
|
|
469
502
|
.IP \(bu 2
|
|
@@ -1077,17 +1110,17 @@ oalo serve connects out to your workspace and declares the handlers; nothing lis
|
|
|
1077
1110
|
.IP \(bu 2
|
|
1078
1111
|
It prints one line per request: the time, the handler, how long it took, ok or the error, and the sizes in and out. Never what was asked or answered, which can be customer data. If the connection drops it reconnects, waiting 1 s, then 2, 4, up to 30.
|
|
1079
1112
|
.IP \(bu 2
|
|
1080
|
-
folder: keyword search over
|
|
1113
|
+
folder: keyword search over 29 supported text and code extensions (.md, .markdown, .txt, .csv, .tsv, .json, .jsonl, .html, .htm, .xml, .yaml, .yml, .toml, .ini, .sql, .js, .ts, .py, .ex, .go, .rs, .rb, .sh, .css, and more). Hidden files and folders, node_modules, files over 2 MB and links that lead outside the folder are skipped; nothing outside it is read. Markdown is split by heading and paragraph, a CSV or TSV one row at a time with its header line. Accents don't matter: devolucion finds devolución. The bot sends {"query", "limit"} (limit 1 to 10, default 5) and gets back {"results": [{"file", "snippet", "score"}]}. Edits are picked up on the next request.
|
|
1081
1114
|
.IP \(bu 2
|
|
1082
1115
|
command: the program gets {"input": {...}, "context": {...}} on stdin and prints one JSON object on stdout, which is the answer. context has surface (chat, flow or loop), bot, conversation and member: the verified id of the person chatting, so a script can return only their own orders. A flow step adds the flow's name, a loop step the loop's name and the run's contact. Use it, never a name or id the person typed. A non\-zero exit or output that isn't a JSON object is an error the bot sees, with the last line the program wrote to stderr. Its environment is yours minus every OALO_ variable.
|
|
1083
1116
|
.IP \(bu 2
|
|
1084
|
-
An answer is at most
|
|
1117
|
+
An answer is at most 1 MB; a bigger one is refused as "output too large". The answer goes into the bot's reply, so it passes through Oalo and the bot's model for that message. The folder or the program's data stays here.
|
|
1085
1118
|
.IP \(bu 2
|
|
1086
1119
|
test runs a handler here, with no connection, and prints exactly what the bot would get. Try every handler with it before a bot uses it.
|
|
1087
1120
|
.IP \(bu 2
|
|
1088
1121
|
install writes a launchd agent (macOS, ~/Library/LaunchAgents/ai.oalo.serve.<name>.plist) or a systemd user unit (Linux, ~/.config/systemd/user/oalo\-serve\-<name>.service) that runs oalo serve \-\-machine <name> at login and restarts it if it stops, then prints the one command that starts it. It never runs launchctl or systemctl itself.
|
|
1089
1122
|
.IP \(bu 2
|
|
1090
|
-
model: runs your bots on a model server on this computer or your network (Ollama, vLLM, LM Studio, anything OpenAI\-compatible). It isn't a tool: the workspace sends a model id and a chat request, never an address, and this computer forwards it to the \-\-base\-url in its own config and streams the reply back. add reads the server's models (and, for Ollama, each model's window and whether it sees images); run it again with the same name to update them. Ollama serves a smaller window than a model's maximum unless OLLAMA_CONTEXT_LENGTH or num_ctx is raised, so add says so, and the workspace's model check finds the real one. test sends one message the way the workspace would, thinking off, and prints the reply, the time to the first token and tokens per second: oalo serve test <name> '{"model": "qwen3:14b", "message": "Say hi in five words"}'. Each model call is one line: the time, the handler, the model, how long, the first token, tokens in and out. Never the conversation. Before a bot can use a model, the workspace checks it through the same path a member's message takes: it must call a made\-up lookup tool and answer from it (6 of 6), pick the right one of three tools, refuse to run commands or read files, never reply with nothing, find facts far back in a long conversation, and return a form's fields as JSON. A model that can't call tools fails, and so does one whose server really reads fewer than 8,192 tokens (raise OLLAMA_CONTEXT_LENGTH or num_ctx, then add the model again with \-\-context so it's checked again). The check starts by itself when oalo serve first declares a model and takes a few minutes per model; \fBoalo machines\fR shows the result. Then set the bot to the model: oalo bots settings <bot> set provider=opencode model=<the id oalo machines shows>. If this computer is off when a bot needs the model, the member gets a short apology and the workspace an incident. The whole walkthrough: \fBoalo docs run\-your\-bot\-on\-your\-own\-model\fR.
|
|
1123
|
+
model: runs your bots on a model server on this computer or your network (Ollama, vLLM, LM Studio, anything OpenAI\-compatible). It isn't a tool: the workspace sends a model id and a chat request, never an address, and this computer forwards it to the \-\-base\-url in its own config and streams the reply back. add reads the server's models (and, for Ollama, each model's window and whether it sees images); run it again with the same name to update them. Ollama serves a smaller window than a model's maximum unless OLLAMA_CONTEXT_LENGTH or num_ctx is raised, so add says so, and the workspace's model check finds the real one. test sends one message the way the workspace would, thinking off, and prints the reply, the time to the first token and tokens per second: oalo serve test <name> '{"model": "qwen3:14b", "message": "Say hi in five words"}'. Each model call is one line: the time, the handler, the model, how long, the first token, tokens in and out. Never the conversation. Before a bot can use a model, the workspace checks it through the same path a member's message takes: it must call a made\-up lookup tool and answer from it (6 of 6), pick the right one of three tools, refuse to run commands or read files, never reply with nothing, find facts far back in a long conversation, and return a form's fields as JSON. A model that can't call tools fails by default, and so does one whose server really reads fewer than 8,192 tokens (raise OLLAMA_CONTEXT_LENGTH or num_ctx, then add the model again with \-\-context so it's checked again); workspace admins can explicitly override the gate with \fBoalo machines allow <byo\-id>\fR (or \fB\-\-off\fR to re\-lock). The check starts by itself when oalo serve first declares a model and takes a few minutes per model; \fBoalo machines\fR shows the result. Then set the bot to the model: oalo bots settings <bot> set provider=opencode model=<the id oalo machines shows>. If this computer is off when a bot needs the model, the member gets a short apology and the workspace an incident. The whole walkthrough: \fBoalo docs run\-your\-bot\-on\-your\-own\-model\fR.
|
|
1091
1124
|
.IP \(bu 2
|
|
1092
1125
|
After add or remove, restart oalo serve so the workspace sees the change.
|
|
1093
1126
|
.IP \(bu 2
|
|
@@ -1262,13 +1295,15 @@ The Oalo app the variables go to. Default: the app this folder is linked to (oal
|
|
|
1262
1295
|
\fB\-\-json\fR
|
|
1263
1296
|
The plan as JSON: names only, never a value.
|
|
1264
1297
|
.IP \(bu 2
|
|
1265
|
-
Run it in the app's repo.
|
|
1298
|
+
Run it in the app's repo. Your existing host keeps serving traffic with zero downtime until you point DNS at Oalo.
|
|
1299
|
+
.IP \(bu 2
|
|
1300
|
+
It reads fly.toml, railway.json or railway.toml, render.yaml, app.json and the Procfile, and asks the platform's CLI for variables (heroku, railway), secret names (fly) and dyno sizes (heroku) when it's installed and signed in.
|
|
1266
1301
|
.IP \(bu 2
|
|
1267
1302
|
Variables: PORT and each platform's own (HEROKU_*, RAILWAY_*, RENDER_*, FLY_*) are left out, and DATABASE_URL becomes EXTERNAL_DATABASE_URL, since DATABASE_URL on Oalo is the Base's own Postgres. Values are never printed or written to a file; \-\-apply sends them to prod without restarting the app.
|
|
1268
1303
|
.IP \(bu 2
|
|
1269
|
-
It says what doesn't carry over: cron jobs, volumes and disks, private addresses (*.railway.internal, *.flycast), extra replicas, build commands, an Aptfile, a VM bigger than large.
|
|
1304
|
+
It says what doesn't carry over: cron jobs, volumes and disks, private addresses (*.railway.internal, *.flycast), extra replicas, build commands, an Aptfile, a VM bigger than large (2 CPUs, 4 GB).
|
|
1270
1305
|
.IP \(bu 2
|
|
1271
|
-
|
|
1306
|
+
Exact execution order: (1) Ensure Node apps have a committed lockfile (package\-lock.json, yarn.lock or pnpm\-lock.yaml) and a Procfile \fBweb:\fR line listening on $PORT (or package.json start). (2) Run \fBoalo migrate <platform> [\-\-from\-app <name>]\fR to inspect the plan and warnings. (3) Run \fBoalo migrate <platform> [\-\-from\-app <name>] \-\-apply\fR to write Procfile / .oalo/app.json with mapped sizes. (4) Commit those files (\fBgit add Procfile .oalo/app.json && git commit\fR). (5) Run \fBoalo deploy \-\-new <slug>\fR to create the app and dev preview (if deploy updates .gitignore, commit .gitignore). (6) Run \fBoalo migrate <platform> [\-\-from\-app <name>] \-\-apply\fR a second time to push prod variables now that the app exists. (7) Optionally move Postgres with \fBoalo db restore \-\-from\-env SOURCE_DATABASE_URL \-\-env prod \-\-check\fR then without \fB\-\-check\fR, unset EXTERNAL_DATABASE_URL, and run \fBoalo deploy \-\-app <slug> \-\-env prod\fR. See \fBoalo docs migrating\-from\-<platform>\fR.
|
|
1272
1307
|
.PP
|
|
1273
1308
|
Exit codes: 0 the plan was shown, or applied; 1 a config file couldn't be read, or the variables couldn't be set; 2 bad arguments, an unknown platform, or no CLI token.
|
|
1274
1309
|
.SS env
|
|
@@ -1421,12 +1456,17 @@ List the loops, test one (sends simulated), see its past runs, turn it on or off
|
|
|
1421
1456
|
.br
|
|
1422
1457
|
\fBoalo loops runs \-\-id <run> [\-\-json]\fR
|
|
1423
1458
|
.br
|
|
1459
|
+
\fBoalo loops replay <run\-id> \-\-from <node\-id> [\-\-input <json|@file.json>] [\-\-json]\fR
|
|
1460
|
+
.br
|
|
1424
1461
|
.TP
|
|
1425
1462
|
\fB\-\-sample latest|example\fR
|
|
1426
1463
|
Test with the loop's most recent real event, or one built from its trigger's fields.
|
|
1427
1464
|
.TP
|
|
1428
1465
|
\fB\-\-input <json|@file>\fR
|
|
1429
|
-
Test with this input instead: an event envelope {type, contact_id, payload}; for
|
|
1466
|
+
Test or replay with this input instead: an event envelope {type, contact_id, payload}; for replay, overrides the input handed to the \-\-from step.
|
|
1467
|
+
.TP
|
|
1468
|
+
\fB\-\-from <node\-id>\fR
|
|
1469
|
+
replay: the step id to start replaying from, restoring all prior steps' outputs from that run.
|
|
1430
1470
|
.TP
|
|
1431
1471
|
\fB\-\-app <slug>\fR
|
|
1432
1472
|
Only for a loop pinned to one app: that app's slug (\fBoalo apps\fR) or id. Works with test, runs, on, off and delete.
|
|
@@ -1438,10 +1478,12 @@ runs: one run step by step, with each step's output.
|
|
|
1438
1478
|
runs: at most this many (default 20).
|
|
1439
1479
|
.TP
|
|
1440
1480
|
\fB\-\-json\fR
|
|
1441
|
-
Print the
|
|
1481
|
+
Print the result as JSON.
|
|
1442
1482
|
.IP \(bu 2
|
|
1443
1483
|
A test runs every step. Steps that send messages or change records are simulated, and their output says what they would have done. Custom tools and AI steps run for real. It works on a loop that is off.
|
|
1444
1484
|
.IP \(bu 2
|
|
1485
|
+
replay restores every prior step's output from the original run and re\-executes from \fB\-\-from <node\-id>\fR onward as a new run (\fBtrigger_kind: replay\fR). Pass \fB\-\-input\fR to edit the input handed to that step.
|
|
1486
|
+
.IP \(bu 2
|
|
1445
1487
|
A message step (email, WhatsApp, SMS, team chat) shows its rendered text whole: subject, body, text. Other outputs show up to 2,000 characters on one line; \-\-json has everything.
|
|
1446
1488
|
.IP \(bu 2
|
|
1447
1489
|
A loop that is on runs for real whenever its triggers fire. Starting a run now, for real: \fBoalo run loop <name>\fR.
|
|
@@ -1449,6 +1491,71 @@ A loop that is on runs for real whenever its triggers fire. Starting a run now,
|
|
|
1449
1491
|
Deleting can't be undone; turning a loop off keeps it.
|
|
1450
1492
|
.PP
|
|
1451
1493
|
Exit codes: 0 done (a test passed); 1 refused, failed, or the test run failed; 2 bad arguments or no CLI token.
|
|
1494
|
+
.SS usage
|
|
1495
|
+
Show month\-to\-date AI spend breakdown by bot, workflow loop, and top\-spending conversations.
|
|
1496
|
+
.PP
|
|
1497
|
+
\fBoalo usage [\-\-json]\fR
|
|
1498
|
+
.br
|
|
1499
|
+
.TP
|
|
1500
|
+
\fB\-\-json\fR
|
|
1501
|
+
Print the raw usage ledger payload (mtd, by_bot, by_loop, top_conversations, daily) as JSON.
|
|
1502
|
+
.IP \(bu 2
|
|
1503
|
+
Reads the workspace's cost ledger (\fBusage:ledger\fR), showing per\-bot, per\-workflow, and top conversation AI spend.
|
|
1504
|
+
.PP
|
|
1505
|
+
Exit codes: 0 printed; 1 refused or failed; 2 no CLI token.
|
|
1506
|
+
.SS inbox
|
|
1507
|
+
Work in the live team Inbox: list threads, add internal whisper notes, draft AI Copilot replies, and manage \fB/\fR saved replies.
|
|
1508
|
+
.PP
|
|
1509
|
+
\fBoalo inbox list [\-\-limit N] [\-\-json]\fR
|
|
1510
|
+
.br
|
|
1511
|
+
\fBoalo inbox note <conversation\-id> "<text>" [\-\-json]\fR
|
|
1512
|
+
.br
|
|
1513
|
+
\fBoalo inbox draft <conversation\-id> [\-\-hint "<guidance>"] [\-\-json]\fR
|
|
1514
|
+
.br
|
|
1515
|
+
\fBoalo inbox replies [list] [\-\-json]\fR
|
|
1516
|
+
.br
|
|
1517
|
+
\fBoalo inbox replies set <shortcut> "<body...>" [\-\-title "..."] [\-\-json]\fR
|
|
1518
|
+
.br
|
|
1519
|
+
\fBoalo inbox replies delete <id> [\-\-json]\fR
|
|
1520
|
+
.br
|
|
1521
|
+
.TP
|
|
1522
|
+
\fB\-\-limit N\fR
|
|
1523
|
+
list: max conversations to fetch (default 20).
|
|
1524
|
+
.TP
|
|
1525
|
+
\fB\-\-hint <text>\fR
|
|
1526
|
+
draft: optional steering guidance for the AI Copilot draft.
|
|
1527
|
+
.TP
|
|
1528
|
+
\fB\-\-title <text>\fR
|
|
1529
|
+
replies set: optional display title for the \fB/\fR saved reply.
|
|
1530
|
+
.TP
|
|
1531
|
+
\fB\-\-json\fR
|
|
1532
|
+
Print raw JSON.
|
|
1533
|
+
.IP \(bu 2
|
|
1534
|
+
Internal notes (\fBoalo inbox note\fR) are team\-only whisper notes: never sent to the customer and never shown to the bot LLM.
|
|
1535
|
+
.IP \(bu 2
|
|
1536
|
+
Drafts (\fBoalo inbox draft\fR) generate a suggested reply from the transcript, bot persona, and knowledge base without sending anything.
|
|
1537
|
+
.IP \(bu 2
|
|
1538
|
+
Saved replies (\fBoalo inbox replies\fR) are org\-wide \fB/\fR quick replies available to every teammate with Inbox access.
|
|
1539
|
+
.PP
|
|
1540
|
+
Exit codes: 0 done; 1 refused or failed; 2 bad arguments or no CLI token.
|
|
1541
|
+
.SS crm
|
|
1542
|
+
Bulk\-import CRM contacts from a CSV file with email/phone deduplication and optional tags.
|
|
1543
|
+
.PP
|
|
1544
|
+
\fBoalo crm import <file.csv> [\-\-tags a,b] [\-\-dry\-run] [\-\-json]\fR
|
|
1545
|
+
.br
|
|
1546
|
+
.TP
|
|
1547
|
+
\fB\-\-tags <a,b>\fR
|
|
1548
|
+
Comma\-separated tags to apply to every imported contact.
|
|
1549
|
+
.TP
|
|
1550
|
+
\fB\-\-dry\-run\fR
|
|
1551
|
+
Parse the CSV locally and preview the first 5 rows without writing.
|
|
1552
|
+
.TP
|
|
1553
|
+
\fB\-\-json\fR
|
|
1554
|
+
Print JSON output.
|
|
1555
|
+
.IP \(bu 2
|
|
1556
|
+
Reads standard CSV headers (\fBemail\fR, \fBphone\fR, \fBname\fR, \fBfirst_name\fR, \fBlast_name\fR, \fBtags\fR, \fBcompany\fR, etc.) and upserts via \fBcrm:import_contacts\fR, deduplicating by email/phone/external_ref.
|
|
1557
|
+
.PP
|
|
1558
|
+
Exit codes: 0 done; 1 refused or failed; 2 bad arguments, unreadable file, or no CLI token.
|
|
1452
1559
|
.SS flows
|
|
1453
1560
|
Turn a chat flow on or off, or delete it, by bot and flow name, without pulling and pushing it.
|
|
1454
1561
|
.PP
|
|
@@ -1685,7 +1792,7 @@ Add it to Claude Code from the linked project folder: \fBclaude mcp add oalo \-\
|
|
|
1685
1792
|
.IP \(bu 2
|
|
1686
1793
|
stdout is the MCP protocol stream. Diagnostics go to stderr.
|
|
1687
1794
|
.IP \(bu 2
|
|
1688
|
-
Exposes a curated tool set plus an oalo_call passthrough; the build surface has ~
|
|
1795
|
+
Exposes a curated tool set plus an oalo_call passthrough; the build surface has ~500 events and mapping them all would wreck tool selection.
|
|
1689
1796
|
.IP \(bu 2
|
|
1690
1797
|
oalo_describe is a short summary (apps, bots and loops by name, the tool groups, how dev and prod work, the docs index); its section argument pages through the full records. A reply longer than about 60,000 characters has its longest list cut, with a \fB_cut\fR note saying how to get the rest (oalo_call takes match and offset; oalo_node_catalog takes node_type).
|
|
1691
1798
|
.IP \(bu 2
|
|
@@ -1699,12 +1806,16 @@ Several agents on one codebase: a shared task board, a worktree per task, a merg
|
|
|
1699
1806
|
.PP
|
|
1700
1807
|
\fBoalo coord install [\-\-force] [\-\-json]\fR
|
|
1701
1808
|
.br
|
|
1702
|
-
\fBoalo coord init [\-\-main <branch>] [\-\-test\-cmd <cmd>] [\-\-merge auto|manual] [\-\-signal\-review]\fR
|
|
1809
|
+
\fBoalo coord init [\-\-main <branch>] [\-\-test\-cmd <cmd>] [\-\-reviewer <spec>] [\-\-merge auto|manual] [\-\-signal\-review]\fR
|
|
1703
1810
|
.br
|
|
1704
1811
|
\fBoalo coord hooks install [\-\-claude] [\-\-opencode]\fR
|
|
1705
1812
|
.br
|
|
1706
1813
|
\fBoalo coord mcp\fR
|
|
1707
1814
|
.br
|
|
1815
|
+
\fBoalo coord up [\-\-workers <n>] [\-\-harness <spec>] [\-\-budget <usd>] [\-\-stall\-timeout <s>] [\-\-no\-auto\-merge] [\-\-once] [\-\-json]\fR
|
|
1816
|
+
.br
|
|
1817
|
+
\fBoalo coord import\-plan <file.json> [\-\-json]\fR
|
|
1818
|
+
.br
|
|
1708
1819
|
\fBoalo coord board [\-\-json]\fR
|
|
1709
1820
|
.br
|
|
1710
1821
|
\fBoalo coord events [\-\-follow] [\-\-since <id>] [\-\-json]\fR
|
|
@@ -1733,12 +1844,33 @@ init: branch the merge queue integrates into. Default: current branch.
|
|
|
1733
1844
|
\fB\-\-test\-cmd <cmd>\fR
|
|
1734
1845
|
init: merge\-gate test command. Default: detected (mix test, npm test, ...).
|
|
1735
1846
|
.TP
|
|
1847
|
+
\fB\-\-reviewer <spec>\fR
|
|
1848
|
+
init: independent critic harness run before merge lands (e.g. claude:sonnet).
|
|
1849
|
+
.TP
|
|
1736
1850
|
\fB\-\-merge auto|manual\fR
|
|
1737
1851
|
init: manual holds each merge for \fBapprove merge\fR.
|
|
1738
1852
|
.TP
|
|
1739
1853
|
\fB\-\-signal\-review\fR
|
|
1740
1854
|
init: milestones unblock dependents only after \fBapprove signal\fR.
|
|
1741
1855
|
.TP
|
|
1856
|
+
\fB\-\-workers <n>\fR
|
|
1857
|
+
up: max concurrent ephemeral workers (default 2).
|
|
1858
|
+
.TP
|
|
1859
|
+
\fB\-\-harness <spec>\fR
|
|
1860
|
+
up: worker harness spec (claude[:model], opencode[:model], codex[:model], cmd:<shell>).
|
|
1861
|
+
.TP
|
|
1862
|
+
\fB\-\-budget <usd>\fR
|
|
1863
|
+
up: total USD budget ceiling across worker runs.
|
|
1864
|
+
.TP
|
|
1865
|
+
\fB\-\-stall\-timeout <s>\fR
|
|
1866
|
+
up: kill and recycle a silent worker after this many seconds (default 600).
|
|
1867
|
+
.TP
|
|
1868
|
+
\fB\-\-no\-auto\-merge\fR
|
|
1869
|
+
up: disable automatic merge queue draining.
|
|
1870
|
+
.TP
|
|
1871
|
+
\fB\-\-once\fR
|
|
1872
|
+
up: run one wave of ready tasks then exit.
|
|
1873
|
+
.TP
|
|
1742
1874
|
\fB\-\-yes\fR
|
|
1743
1875
|
approve plan: skip the confirmation after the plan is shown.
|
|
1744
1876
|
.TP
|
|
@@ -1746,7 +1878,7 @@ approve plan: skip the confirmation after the plan is shown.
|
|
|
1746
1878
|
approve/reject proposal: a note the worker sees with the decision.
|
|
1747
1879
|
.TP
|
|
1748
1880
|
\fB\-\-json\fR
|
|
1749
|
-
install/board/events/files: machine\-readable output.
|
|
1881
|
+
install/up/import\-plan/board/events/files: machine\-readable output.
|
|
1750
1882
|
.TP
|
|
1751
1883
|
\fB\-\-follow\fR
|
|
1752
1884
|
events: keep streaming.
|
|
@@ -1781,6 +1913,214 @@ The hooks block edits outside a worker's worktree and write set, and edits to co
|
|
|
1781
1913
|
macOS and Linux only.
|
|
1782
1914
|
.PP
|
|
1783
1915
|
Exit codes: 0 ok; 1 operation refused or failed (message on stderr); 2 bad arguments; 3 no board here; run `oalo coord init`; 4 coord isn't installed on this machine; run `oalo coord install`.
|
|
1916
|
+
.SS ralph
|
|
1917
|
+
Fresh\-context iterative agent loop against a disk ledger and a machine verifier (\fBnpm test\fR, \fBoalo qa\fR, etc.).
|
|
1918
|
+
.PP
|
|
1919
|
+
\fBoalo ralph \-\-goal <text> \-\-verify <cmd> [\-\-plan <file>] [\-\-harness <spec>] [\-\-max\-iters <n>] [\-\-max\-cost <usd>] [\-\-commit] [\-\-worktree] [\-\-json]\fR
|
|
1920
|
+
.br
|
|
1921
|
+
.TP
|
|
1922
|
+
\fB\-\-goal <text>\fR
|
|
1923
|
+
Goal for the loop (or pass as positional text).
|
|
1924
|
+
.TP
|
|
1925
|
+
\fB\-\-verify <cmd>\fR
|
|
1926
|
+
Deterministic verifier command that must exit 0.
|
|
1927
|
+
.TP
|
|
1928
|
+
\fB\-\-plan <file>\fR
|
|
1929
|
+
Optional markdown checklist; loop continues until no \fB\- [ ]\fR items remain.
|
|
1930
|
+
.TP
|
|
1931
|
+
\fB\-\-harness <spec>\fR
|
|
1932
|
+
Agent harness: claude[:model], opencode[:model], codex[:model], or cmd:<shell>.
|
|
1933
|
+
.TP
|
|
1934
|
+
\fB\-\-max\-iters <n>\fR
|
|
1935
|
+
Max fresh\-context iterations (default 10).
|
|
1936
|
+
.TP
|
|
1937
|
+
\fB\-\-max\-cost <usd>\fR
|
|
1938
|
+
Max total USD spend across iterations (default 5.00).
|
|
1939
|
+
.TP
|
|
1940
|
+
\fB\-\-timeout <s>\fR
|
|
1941
|
+
Per\-iteration timeout in seconds (default 600).
|
|
1942
|
+
.TP
|
|
1943
|
+
\fB\-\-commit\fR
|
|
1944
|
+
Auto\-commit changes when the verifier passes.
|
|
1945
|
+
.TP
|
|
1946
|
+
\fB\-\-worktree\fR
|
|
1947
|
+
Run inside an isolated git worktree instead of the current checkout.
|
|
1948
|
+
.TP
|
|
1949
|
+
\fB\-\-json\fR
|
|
1950
|
+
Print structured JSON summary.
|
|
1951
|
+
.IP \(bu 2
|
|
1952
|
+
Starts a brand\-new agent process each iteration so context never drifts. State lives on disk under .oalo/ralph/<run\-id>/.
|
|
1953
|
+
.IP \(bu 2
|
|
1954
|
+
Pairs directly with \fBoalo qa <bot> \-\-script suite.json\fR for autonomous bot and flow iteration.
|
|
1955
|
+
.PP
|
|
1956
|
+
Exit codes: 0 verifier passed and plan complete; 1 iteration or budget limit reached before passing; 2 bad arguments.
|
|
1957
|
+
.SS race
|
|
1958
|
+
Best\-of\-N competitive racing across isolated git worktrees: compare models on the same task and merge the winner.
|
|
1959
|
+
.PP
|
|
1960
|
+
\fBoalo race <goal> \-\-models <spec1,spec2,...> [\-\-verify <cmd>] [\-\-judge <spec>] [\-\-budget <usd>] [\-\-timeout <s>] [\-\-base <ref>] [\-\-json]\fR
|
|
1961
|
+
.br
|
|
1962
|
+
\fBoalo race status [<run\-id>] [\-\-json]\fR
|
|
1963
|
+
.br
|
|
1964
|
+
\fBoalo race pick <run\-id> <slot> [\-\-keep] [\-\-json]\fR
|
|
1965
|
+
.br
|
|
1966
|
+
\fBoalo race clean [<run\-id>] [\-\-json]\fR
|
|
1967
|
+
.br
|
|
1968
|
+
.TP
|
|
1969
|
+
\fB\-\-models <list>\fR
|
|
1970
|
+
Comma\-separated harness specs (use \fB||\fR if a \fBcmd:\fR spec contains commas).
|
|
1971
|
+
.TP
|
|
1972
|
+
\fB\-\-verify <cmd>\fR
|
|
1973
|
+
Command run in every racer worktree to grade pass/fail.
|
|
1974
|
+
.TP
|
|
1975
|
+
\fB\-\-judge <spec>\fR
|
|
1976
|
+
Optional blind read\-only LLM judge run when 2+ slots pass, comparing anonymized diffs.
|
|
1977
|
+
.TP
|
|
1978
|
+
\fB\-\-budget <usd>\fR
|
|
1979
|
+
Total USD budget split evenly across racers.
|
|
1980
|
+
.TP
|
|
1981
|
+
\fB\-\-base <ref>\fR
|
|
1982
|
+
Starting git ref for all racer worktrees (default HEAD).
|
|
1983
|
+
.TP
|
|
1984
|
+
\fB\-\-keep\fR
|
|
1985
|
+
pick: keep losing worktrees and branches after merging the winner.
|
|
1986
|
+
.TP
|
|
1987
|
+
\fB\-\-json\fR
|
|
1988
|
+
Machine\-readable scoreboard or result.
|
|
1989
|
+
.IP \(bu 2
|
|
1990
|
+
Each racer runs in an isolated git worktree under ~/.oalo/worktrees/ so racers never collide.
|
|
1991
|
+
.IP \(bu 2
|
|
1992
|
+
Without \-\-judge, the recommended slot is chosen deterministically (passing verify, lowest cost, fewest files changed). With \-\-judge, a read\-only judge compares anonymized diffs (Candidate A, B, ...) whenever 2+ slots pass.
|
|
1993
|
+
.IP \(bu 2
|
|
1994
|
+
Use \fBoalo race pick <run\-id> <slot>\fR to merge the winning branch and auto\-clean the rest.
|
|
1995
|
+
.PP
|
|
1996
|
+
Exit codes: 0 ok; 1 no passing racer or merge conflict; 2 bad arguments.
|
|
1997
|
+
.SS review
|
|
1998
|
+
Independent adversarial or cross\-model diff critic (read\-only) with structured JSON verdicts.
|
|
1999
|
+
.PP
|
|
2000
|
+
\fBoalo review [\-\-against <ref>] [\-\-models <spec1,spec2>] [\-\-criteria <text|file>] [\-\-working] [\-\-strict] [\-\-json]\fR
|
|
2001
|
+
.br
|
|
2002
|
+
.TP
|
|
2003
|
+
\fB\-\-against <ref>\fR
|
|
2004
|
+
Base git ref to diff HEAD against (default main or HEAD~1).
|
|
2005
|
+
.TP
|
|
2006
|
+
\fB\-\-working\fR
|
|
2007
|
+
Review uncommitted working\-tree changes against HEAD.
|
|
2008
|
+
.TP
|
|
2009
|
+
\fB\-\-models <list>\fR
|
|
2010
|
+
One or more critic harness specs run in parallel.
|
|
2011
|
+
.TP
|
|
2012
|
+
\fB\-\-criteria <text|file>\fR
|
|
2013
|
+
Acceptance criteria string or newline\-delimited file.
|
|
2014
|
+
.TP
|
|
2015
|
+
\fB\-\-strict\fR
|
|
2016
|
+
Treat unparseable or failed critic output as request_changes.
|
|
2017
|
+
.TP
|
|
2018
|
+
\fB\-\-json\fR
|
|
2019
|
+
Print structured JSON verdict and findings.
|
|
2020
|
+
.IP \(bu 2
|
|
2021
|
+
Critics see only the diff and acceptance criteria, never the author's chat history, and run in read\-only mode.
|
|
2022
|
+
.IP \(bu 2
|
|
2023
|
+
Also plugs into \fBoalo coord init \-\-reviewer <spec>\fR to gate merges automatically.
|
|
2024
|
+
.PP
|
|
2025
|
+
Exit codes: 0 consensus approve; 1 request_changes or blocker finding; 2 bad arguments.
|
|
2026
|
+
.SS swarm
|
|
2027
|
+
Lightweight multi\-role blackboard swarm for parallel discovery, audits, and design before planning a DAG.
|
|
2028
|
+
.PP
|
|
2029
|
+
\fBoalo swarm <goal> [\-\-team <preset>] [\-\-roles r1[@harness],r2,...] [\-\-rounds <n>] [\-\-harness <spec>] [\-\-budget <usd>] [\-\-json]\fR
|
|
2030
|
+
.br
|
|
2031
|
+
\fBoalo swarm status [<run\-id>] [\-\-json]\fR
|
|
2032
|
+
.br
|
|
2033
|
+
\fBoalo swarm promote [<run\-id>] [\-\-json]\fR
|
|
2034
|
+
.br
|
|
2035
|
+
\fBoalo swarm roles list [\-\-json]\fR
|
|
2036
|
+
.br
|
|
2037
|
+
\fBoalo swarm roles show <name> [\-\-json]\fR
|
|
2038
|
+
.br
|
|
2039
|
+
\fBoalo swarm roles add <name> \-\-focus <text> [\-\-checklist <a,b,c>] [\-\-harness <spec>] [\-\-global] [\-\-json]\fR
|
|
2040
|
+
.br
|
|
2041
|
+
\fBoalo swarm roles rm <name> [\-\-global] [\-\-json]\fR
|
|
2042
|
+
.br
|
|
2043
|
+
.TP
|
|
2044
|
+
\fB\-\-team <preset>\fR
|
|
2045
|
+
Curated role team: engineering, audit, research, feature, oalo\-bot.
|
|
2046
|
+
.TP
|
|
2047
|
+
\fB\-\-roles <list>\fR
|
|
2048
|
+
Comma\-separated roles, with optional per\-role \fB@harness\fR override (e.g. architect@claude:opus,skeptic).
|
|
2049
|
+
.TP
|
|
2050
|
+
\fB\-\-rounds <n>\fR
|
|
2051
|
+
Number of blackboard discussion rounds (default 2).
|
|
2052
|
+
.TP
|
|
2053
|
+
\fB\-\-harness <spec>\fR
|
|
2054
|
+
Default agent harness for specialist and synthesizer turns.
|
|
2055
|
+
.TP
|
|
2056
|
+
\fB\-\-readonly\fR
|
|
2057
|
+
Keep specialist roles read\-only (default true).
|
|
2058
|
+
.TP
|
|
2059
|
+
\fB\-\-budget <usd>\fR
|
|
2060
|
+
Total USD budget cap across rounds.
|
|
2061
|
+
.TP
|
|
2062
|
+
\fB\-\-focus <text>\fR
|
|
2063
|
+
roles add: specialist lens and focus instructions.
|
|
2064
|
+
.TP
|
|
2065
|
+
\fB\-\-checklist <list>\fR
|
|
2066
|
+
roles add: comma\-separated inspection checklist items.
|
|
2067
|
+
.TP
|
|
2068
|
+
\fB\-\-category <name>\fR
|
|
2069
|
+
roles add: optional category label (default custom).
|
|
2070
|
+
.TP
|
|
2071
|
+
\fB\-\-global\fR
|
|
2072
|
+
roles add/rm: store in ~/.oalo/roles/ instead of repo .oalo/roles/.
|
|
2073
|
+
.TP
|
|
2074
|
+
\fB\-\-json\fR
|
|
2075
|
+
Print structured JSON board, roles, or plan summary.
|
|
2076
|
+
.IP \(bu 2
|
|
2077
|
+
Ships with 16 built\-in preset roles (architect, backend, frontend, db, security, reliability, performance, testing, devops, ux, simplifier, skeptic, ml\-systems, eval\-engineer, data\-pipeline, prompt\-engineer) and 5 team bundles.
|
|
2078
|
+
.IP \(bu 2
|
|
2079
|
+
Custom roles live in .oalo/roles/<name>.json (shared with the repo) or ~/.oalo/roles/<name>.json (\-\-global) and can pin their own default harness.
|
|
2080
|
+
.IP \(bu 2
|
|
2081
|
+
\fBoalo swarm promote\fR imports plan.json directly into \fBoalo coord\fR as draft tasks awaiting \fBoalo coord approve plan\fR.
|
|
2082
|
+
.PP
|
|
2083
|
+
Exit codes: 0 ok; 1 swarm or promote failed; 2 bad arguments.
|
|
2084
|
+
.SS auto
|
|
2085
|
+
Composable coordination presets (qa\-grind, bugfix, audit, feature) and custom .oalo/workflows/*.json packs.
|
|
2086
|
+
.PP
|
|
2087
|
+
\fBoalo auto list [\-\-json]\fR
|
|
2088
|
+
.br
|
|
2089
|
+
\fBoalo auto <preset> <goal> [options]\fR
|
|
2090
|
+
.br
|
|
2091
|
+
.TP
|
|
2092
|
+
\fB\-\-verify <cmd>\fR
|
|
2093
|
+
Machine verifier passed to ralph/race stages.
|
|
2094
|
+
.TP
|
|
2095
|
+
\fB\-\-harness <spec>\fR
|
|
2096
|
+
Default harness for agent stages.
|
|
2097
|
+
.TP
|
|
2098
|
+
\fB\-\-models <list>\fR
|
|
2099
|
+
Model list for race/review stages.
|
|
2100
|
+
.TP
|
|
2101
|
+
\fB\-\-judge <spec>\fR
|
|
2102
|
+
bugfix: optional blind LLM judge when 2+ racers pass.
|
|
2103
|
+
.TP
|
|
2104
|
+
\fB\-\-team <preset>\fR
|
|
2105
|
+
Curated role team for swarm stages.
|
|
2106
|
+
.TP
|
|
2107
|
+
\fB\-\-roles <list>\fR
|
|
2108
|
+
Specialist roles for swarm stages.
|
|
2109
|
+
.TP
|
|
2110
|
+
\fB\-\-auto\-pick\fR
|
|
2111
|
+
bugfix: automatically merge the recommended passing racer.
|
|
2112
|
+
.TP
|
|
2113
|
+
\fB\-\-auto\-approve\fR
|
|
2114
|
+
feature: approve the promoted coord plan (human terminal only).
|
|
2115
|
+
.TP
|
|
2116
|
+
\fB\-\-json\fR
|
|
2117
|
+
Print structured JSON stage results.
|
|
2118
|
+
.IP \(bu 2
|
|
2119
|
+
Built\-in presets: qa\-grind (ralph), bugfix (race), audit (read\-only swarm), feature (swarm \-> promote \-> coord up).
|
|
2120
|
+
.IP \(bu 2
|
|
2121
|
+
Add project\-specific packs as JSON files in .oalo/workflows/<name>.json.
|
|
2122
|
+
.PP
|
|
2123
|
+
Exit codes: 0 all stages passed; 1 a stage failed or stopped for human action; 2 bad arguments.
|
|
1784
2124
|
.SH BOT SETTINGS
|
|
1785
2125
|
Read with \fBoalo bots settings <bot>\fR, changed with \fBoalo bots settings <bot> set key=value\fR, explained with \fBoalo bots settings \-\-explain <key>\fR. A change to a published bot needs \-\-yes.
|
|
1786
2126
|
.SS knowledge
|
|
@@ -2027,7 +2367,7 @@ data (/api/sync/v1). From \fBoalo login\fR (read\-only), dashboard \-> Account \
|
|
|
2027
2367
|
Server\-side only. Carries no end\-user identity, so it reads and writes EVERY member's rows. Never ship one inside a mobile or web app.
|
|
2028
2368
|
.TP
|
|
2029
2369
|
\fBcli\fR
|
|
2030
|
-
control (the build surface). From \fBoalo login\fR, or dashboard \-> Account \-> CLI & agents. Used by whoami, tail, call, run, emit, data, tokens, docs, apps, deploy, env, logs, secrets, loops, flows, pull, status, lint, push, qa, rehearse, bots, sources, machines, mcp.
|
|
2370
|
+
control (the build surface). From \fBoalo login\fR, or dashboard \-> Account \-> CLI & agents. Used by whoami, tail, call, run, emit, data, db, metrics, dashboards, usage, inbox, crm, products, channels, incidents, tokens, docs, apps, setup, build, migrate, dockerfile, deploy, env, logs, secrets, loops, flows, pull, status, lint, push, qa, rehearse, bots, sources, machines, mcp.
|
|
2031
2371
|
.br
|
|
2032
2372
|
Acts as you, with exactly your permissions. No read\-only mode. Treat it like a password.
|
|
2033
2373
|
.SH ENVIRONMENT
|
|
@@ -2044,6 +2384,9 @@ CLI token; overrides the stored one.
|
|
|
2044
2384
|
\fBOALO_HOME\fR
|
|
2045
2385
|
Relocate the credential store (CI, containers, tests).
|
|
2046
2386
|
.TP
|
|
2387
|
+
\fBOALO_AGENT_HARNESS\fR
|
|
2388
|
+
Default headless agent harness for coord up, ralph, race, review, swarm, auto.
|
|
2389
|
+
.TP
|
|
2047
2390
|
\fBOALO_DEBUG\fR
|
|
2048
2391
|
Log channel transport activity to stderr.
|
|
2049
2392
|
.TP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oalo-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Wire a local app into your OALO workspace: link a token, generate typed bindings, and serve the build surface over MCP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"smoke": "node test/smoke.mjs",
|
|
26
26
|
"smoke:mcp": "node test/mcp-smoke.mjs",
|
|
27
|
-
"test:coord": "bun test test/coord.test.ts test/coord-files.test.ts test/coord-hooks.test.ts test/coord-fixes.test.ts",
|
|
27
|
+
"test:coord": "bun test test/coord.test.ts test/coord-files.test.ts test/coord-hooks.test.ts test/coord-fixes.test.ts test/coord-strategies.test.ts",
|
|
28
28
|
"test:unit": "node --test test/*.test.mjs",
|
|
29
29
|
"man": "node scripts/man.mjs",
|
|
30
30
|
"coord:build": "node scripts/coord_build.mjs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oalo",
|
|
3
|
-
"description": "Work on an Oalo workspace from Claude Code: edit chat flows, loops and code tools,
|
|
4
|
-
"version": "0.
|
|
3
|
+
"description": "Work on an Oalo workspace from Claude Code: edit chat flows, loops and code tools, deploy and migrate apps, inspect and self-heal runtime errors, and run test conversations with a bot.",
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"author": { "name": "Oalo" },
|
|
6
6
|
"mcpServers": {
|
|
7
7
|
"oalo": {
|