exponential-cli 1.19.0 → 1.20.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 +23 -0
- package/dist/index.js +584 -20
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -374,6 +374,29 @@ and an ambiguous name is an error rather than a guess.
|
|
|
374
374
|
|
|
375
375
|
Editing and deleting are author-only. Find ids with `exponential search "<text>"`.
|
|
376
376
|
|
|
377
|
+
### Runner — run your Assistant on this machine
|
|
378
|
+
|
|
379
|
+
An Assistant whose executor is **My machine (local runner)** (Settings → AI assistant → Delegation) is never run on the server. Instead this CLI claims its queued runs with the Assistant's runner key and works them with Claude Code under your own login, in a directory you choose. The server never names the directory or the CLI.
|
|
380
|
+
|
|
381
|
+
```bash
|
|
382
|
+
# 1. Log in with the Assistant's runner key (Settings → AI assistant → New runner key)
|
|
383
|
+
exponential auth login --token exp_agent_... --api-url https://www.exponential.im
|
|
384
|
+
|
|
385
|
+
# 2. Choose where the spawned session works (local config only)
|
|
386
|
+
exponential runner config set cwd ~/code/my-project
|
|
387
|
+
|
|
388
|
+
# 3. Work queued runs until stopped, or claim one and exit
|
|
389
|
+
exponential runner start
|
|
390
|
+
exponential runner start --once --runner-id laptop
|
|
391
|
+
|
|
392
|
+
# 4. Keep it running as a user service (launchd on macOS, systemd --user on Linux)
|
|
393
|
+
exponential runner install --dry-run # show the service file first
|
|
394
|
+
exponential runner install
|
|
395
|
+
exponential runner uninstall
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
For each run the runner spawns `claude -p <brief> --output-format stream-json --append-system-prompt <persona>` with a per-run Exponential MCP server (`exponential-mcp` ≥ 0.8) so the session can `report_progress`, `ask_owner` and `finish_run`; the stream is parsed into the run's transcript, heartbeats keep the run alive, and the run is finished with the session's summary. Calls to the app retry with backoff and are idempotent, so a laptop going to sleep loses nothing. Add tools the session may use without asking with `runner config set allowed-tools "Read,Bash(git:*)"`.
|
|
399
|
+
|
|
377
400
|
## Output Formats
|
|
378
401
|
|
|
379
402
|
### JSON Output (for LLMs and automation)
|