@parcha/agentrun 0.4.14 → 0.4.16

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.
@@ -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 (HARNESS.md#a-recipe), 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 (HARNESS.md#a-recipe); 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`
@@ -636,6 +679,15 @@ Route: `POST /runs`.
636
679
  - `--body JSON|@FILE|-` (application/json, required): The whole body: inline, from a file or from stdin. The flags above win over a JSON body's fields.
637
680
  - `--body-type TYPE` (string): The body's type, one of application/json; any other than JSON is sent as given.
638
681
 
682
+ ### `agentrun runs create-run-computer-viewer RUN_ID`
683
+
684
+ Mint a link to the run's live view for the backend's user.
685
+
686
+ Route: `POST /runs/{run_id}/computer/viewer`.
687
+
688
+ - `--body JSON|@FILE|-` (application/json): The whole body: inline, from a file or from stdin. The flags above win over a JSON body's fields.
689
+ - `--body-type TYPE` (string): The body's type, one of application/json; any other than JSON is sent as given.
690
+
639
691
  ### `agentrun runs files RUN_ID`
640
692
 
641
693
  The files the run wrote.
@@ -866,7 +918,7 @@ Register a task executed by an existing backend SDK.
866
918
  Route: `POST /agents/{agent_id}/sdk-runs`.
867
919
 
868
920
  - `--idempotency-key STRING` (string, required)
869
- - `--runtime claude-agent-sdk|codex-sdk` (string, one of these, required)
921
+ - `--runtime claude-agent-sdk|codex-sdk|eve` (string, one of these, required)
870
922
  - `--input STRING` (string, required)
871
923
  - `--instructions STRING` (string, required)
872
924
  - `--model STRING` (string)
@@ -916,7 +968,8 @@ Route: none, it runs on this machine.
916
968
  - `--port N` (string, this CLI's own): the port to listen on (default: the first free from 7340; 7340 with --tailscale)
917
969
  - `--data DIR` (string, this CLI's own): the data directory (default ~/.agentrun)
918
970
  - `--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 (AGENT_MODEL_BASE_URL, AGENT_MODEL_GATEWAY_IDS, AGENT_MODEL, AGENT_MODEL_PRICE), kept until KEY= removes it; repeatable
971
+ - `--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
972
+ - `--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
973
 
921
974
  ### `agentrun service logs`
922
975
 
@@ -977,6 +1030,32 @@ Route: none, it runs on this machine.
977
1030
  - `--codex` (boolean, this CLI's own): into ~/.agents/skills/agentrun-cli, the shared skills folder Codex reads (Cursor too)
978
1031
  - `--dir DIR` (string, this CLI's own): into DIR/agentrun-cli (a project's .claude/skills or .agents/skills, say)
979
1032
 
1033
+ ## slack
1034
+
1035
+ ### `agentrun slack deliveries`
1036
+
1037
+ Slack's last 50 attempts, newest first.
1038
+
1039
+ Route: `GET /settings/slack/deliveries`.
1040
+
1041
+ ### `agentrun slack get`
1042
+
1043
+ Where this server posts run notices in Slack, if it is set; never the URL.
1044
+
1045
+ Route: `GET /settings/slack`.
1046
+
1047
+ ### `agentrun slack redeliver WEBHOOK_ID`
1048
+
1049
+ Post a message of Slack's log again, once now, under the same id and body.
1050
+
1051
+ Route: `POST /settings/slack/deliveries/{webhook_id}/redeliver`.
1052
+
1053
+ ### `agentrun slack test`
1054
+
1055
+ Post a test message to Slack now, once, and say how it went.
1056
+
1057
+ Route: `POST /settings/slack/test`.
1058
+
980
1059
  ## stats
981
1060
 
982
1061
  ### `agentrun stats`