@parcha/agentrun 0.4.14 → 0.4.15
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 +55 -5
- package/install.sh +24 -4
- package/lib/cli.mjs +8 -6
- package/lib/commands.generated.mjs +136 -1
- package/lib/doctor.mjs +381 -0
- package/lib/harness.mjs +58 -15
- package/lib/public-url.mjs +42 -0
- package/lib/service.mjs +181 -24
- package/lib/start.mjs +46 -6
- package/lib/tailscale.mjs +47 -1
- package/package.json +2 -2
- package/skills/agentrun-cli/SKILL.md +5 -1
- package/skills/agentrun-cli/references/commands.md +73 -3
|
@@ -239,6 +239,17 @@ Revoke a source connector and stop its outstanding commands.
|
|
|
239
239
|
|
|
240
240
|
Route: `DELETE /connectors/{connector_id}`.
|
|
241
241
|
|
|
242
|
+
## doctor
|
|
243
|
+
|
|
244
|
+
### `agentrun doctor`
|
|
245
|
+
|
|
246
|
+
Check how this AgentRun is set up (Node, the server, its service, address, password, models, switches, Docker) and print what to change; read-only (exit 0 ok or warnings, 1 a check failed, 3 no server answering).
|
|
247
|
+
|
|
248
|
+
Route: none, it runs on this machine.
|
|
249
|
+
|
|
250
|
+
- `--data DIR` (string, this CLI's own): the data directory whose server it checks (default ~/.agentrun)
|
|
251
|
+
- `--json` (boolean, this CLI's own): print the checks as JSON: {exit, server, checks: [{id, status, summary, fix, docs}]}
|
|
252
|
+
|
|
242
253
|
## files
|
|
243
254
|
|
|
244
255
|
### `agentrun files create`
|
|
@@ -290,12 +301,27 @@ Route: `PUT /files/{file_id}`.
|
|
|
290
301
|
|
|
291
302
|
### `agentrun harness install HARNESS`
|
|
292
303
|
|
|
293
|
-
Install a harness AgentRun runs only once its owner installs it (goose), then restart AgentRun.
|
|
304
|
+
Install a harness AgentRun runs only once its owner installs it (goose, cursor, or a recipe file's), then restart AgentRun.
|
|
294
305
|
|
|
295
306
|
Route: none, it runs on this machine.
|
|
296
307
|
|
|
308
|
+
- `--recipe FILE` (string, this CLI's own): in place of HARNESS: a recipe file (docs/harness-recipe.md), checked against its five rules before anything is downloaded
|
|
297
309
|
- `--data DIR` (string, this CLI's own): the data directory of the AgentRun it is for (default ~/.agentrun, where npx @parcha/agentrun keeps it)
|
|
298
310
|
|
|
311
|
+
## harness-check
|
|
312
|
+
|
|
313
|
+
### `agentrun harness-check`
|
|
314
|
+
|
|
315
|
+
Run a recipe's installed agent for real and check it (tools off, env allowlist, pins, limits, no side requests, resume, a denied call, an MCP tool): a JSON report and three facts. Real models cost money.
|
|
316
|
+
|
|
317
|
+
Route: none, it runs on this machine.
|
|
318
|
+
|
|
319
|
+
- `--recipe FILE` (string, this CLI's own): the recipe file (docs/harness-recipe.md); its agent installed first with agentrun harness install --recipe FILE
|
|
320
|
+
- `--model PROVIDER/MODEL` (string, this CLI's own): the run's model, for a recipe billed through the proxy (openrouter/anthropic/claude-haiku-4.5, anthropic/claude-haiku-4-5)
|
|
321
|
+
- `--report FILE` (string, this CLI's own): where the JSON report goes (default ./harness-check-ID.json)
|
|
322
|
+
- `--cap USD` (string, this CLI's own): the most the check may spend (default 0.25)
|
|
323
|
+
- `--data DIR` (string, this CLI's own): the data directory the recipe's agent was installed into (default ~/.agentrun)
|
|
324
|
+
|
|
299
325
|
## home
|
|
300
326
|
|
|
301
327
|
### `agentrun home delete AGENT_ID PATH`
|
|
@@ -437,6 +463,12 @@ Whether a GitHub App is connected, and if so its id, slug and installations, nev
|
|
|
437
463
|
|
|
438
464
|
Route: `GET /integrations/github`.
|
|
439
465
|
|
|
466
|
+
### `agentrun local get-model-gateway`
|
|
467
|
+
|
|
468
|
+
The model gateway in force: the environment's, the one saved here, or none.
|
|
469
|
+
|
|
470
|
+
Route: `GET /settings/model-gateway`.
|
|
471
|
+
|
|
440
472
|
### `agentrun local get-workspace-archil`
|
|
441
473
|
|
|
442
474
|
Whether run folders are on Archil disks (Mode 2), the settings, and whether its keys are saved.
|
|
@@ -561,6 +593,17 @@ Route: `GET /observations`.
|
|
|
561
593
|
- `--days INTEGER` (integer): UTC calendar days including today; session details remain visible for their full retention period.
|
|
562
594
|
- `--session-id STRING` (string)
|
|
563
595
|
|
|
596
|
+
## open
|
|
597
|
+
|
|
598
|
+
### `agentrun open`
|
|
599
|
+
|
|
600
|
+
Open AgentRun in this machine's browser: the setup page, its code filled in, until the owner's password is set; the console after (where no browser opens, it prints the link).
|
|
601
|
+
|
|
602
|
+
Route: none, it runs on this machine.
|
|
603
|
+
|
|
604
|
+
- `--data DIR` (string, this CLI's own): the data directory of the AgentRun to open (default ~/.agentrun)
|
|
605
|
+
- `--setup-only` (boolean, this CLI's own): open nothing once the owner's password is set (the installer's last step)
|
|
606
|
+
|
|
564
607
|
## revisions
|
|
565
608
|
|
|
566
609
|
### `agentrun revisions list AGENT_ID`
|
|
@@ -866,7 +909,7 @@ Register a task executed by an existing backend SDK.
|
|
|
866
909
|
Route: `POST /agents/{agent_id}/sdk-runs`.
|
|
867
910
|
|
|
868
911
|
- `--idempotency-key STRING` (string, required)
|
|
869
|
-
- `--runtime claude-agent-sdk|codex-sdk` (string, one of these, required)
|
|
912
|
+
- `--runtime claude-agent-sdk|codex-sdk|eve` (string, one of these, required)
|
|
870
913
|
- `--input STRING` (string, required)
|
|
871
914
|
- `--instructions STRING` (string, required)
|
|
872
915
|
- `--model STRING` (string)
|
|
@@ -916,7 +959,8 @@ Route: none, it runs on this machine.
|
|
|
916
959
|
- `--port N` (string, this CLI's own): the port to listen on (default: the first free from 7340; 7340 with --tailscale)
|
|
917
960
|
- `--data DIR` (string, this CLI's own): the data directory (default ~/.agentrun)
|
|
918
961
|
- `--tailscale` (boolean, this CLI's own): also serve it over HTTPS on your own tailnet only (tailscale serve, never Funnel); --no-tailscale takes it off
|
|
919
|
-
- `--env KEY=VALUE` (string, this CLI's own): a local model's variable for the server
|
|
962
|
+
- `--env KEY=VALUE` (string, this CLI's own): a local model's variable for the server, a start-time switch or the usage counts' switch: AGENT_MODEL_BASE_URL, AGENT_MODEL_GATEWAY_IDS, AGENT_MODEL, AGENT_MODEL_PRICE, AGENT_MODEL_API_KEY (none), AGENTRUN_MCP_ALLOW_LOOPBACK (1), AGENTRUN_WEBHOOK_PRIVATE_TARGETS (1), AGENTRUN_TELEMETRY, DO_NOT_TRACK; kept until KEY= removes it; repeatable
|
|
963
|
+
- `--public-url URL` (string, this CLI's own): the https address people open it at, through a proxy you run in front of it (your own tailscale serve, a reverse proxy); kept for every restart
|
|
920
964
|
|
|
921
965
|
### `agentrun service logs`
|
|
922
966
|
|
|
@@ -977,6 +1021,32 @@ Route: none, it runs on this machine.
|
|
|
977
1021
|
- `--codex` (boolean, this CLI's own): into ~/.agents/skills/agentrun-cli, the shared skills folder Codex reads (Cursor too)
|
|
978
1022
|
- `--dir DIR` (string, this CLI's own): into DIR/agentrun-cli (a project's .claude/skills or .agents/skills, say)
|
|
979
1023
|
|
|
1024
|
+
## slack
|
|
1025
|
+
|
|
1026
|
+
### `agentrun slack deliveries`
|
|
1027
|
+
|
|
1028
|
+
Slack's last 50 attempts, newest first.
|
|
1029
|
+
|
|
1030
|
+
Route: `GET /settings/slack/deliveries`.
|
|
1031
|
+
|
|
1032
|
+
### `agentrun slack get`
|
|
1033
|
+
|
|
1034
|
+
Where this server posts run notices in Slack, if it is set; never the URL.
|
|
1035
|
+
|
|
1036
|
+
Route: `GET /settings/slack`.
|
|
1037
|
+
|
|
1038
|
+
### `agentrun slack redeliver WEBHOOK_ID`
|
|
1039
|
+
|
|
1040
|
+
Post a message of Slack's log again, once now, under the same id and body.
|
|
1041
|
+
|
|
1042
|
+
Route: `POST /settings/slack/deliveries/{webhook_id}/redeliver`.
|
|
1043
|
+
|
|
1044
|
+
### `agentrun slack test`
|
|
1045
|
+
|
|
1046
|
+
Post a test message to Slack now, once, and say how it went.
|
|
1047
|
+
|
|
1048
|
+
Route: `POST /settings/slack/test`.
|
|
1049
|
+
|
|
980
1050
|
## stats
|
|
981
1051
|
|
|
982
1052
|
### `agentrun stats`
|