@parcha/agentrun 0.4.8 → 0.4.9

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.
@@ -402,6 +402,12 @@ export const COMMANDS = [
402
402
  ],
403
403
  "required": false,
404
404
  "description": "Only runs with this status."
405
+ },
406
+ {
407
+ "name": "label",
408
+ "type": "string",
409
+ "required": false,
410
+ "description": "Only runs holding this label: `<key>:<value>`, split at the first `:` (a key holds none). Once per request; a second `label`, or one that does not read as a label, is 400."
405
411
  }
406
412
  ],
407
413
  "headers": [],
@@ -2589,6 +2595,12 @@ export const COMMANDS = [
2589
2595
  "type": "boolean",
2590
2596
  "required": false,
2591
2597
  "description": "true lists only archived runs; false, the default, the others."
2598
+ },
2599
+ {
2600
+ "name": "label",
2601
+ "type": "string",
2602
+ "required": false,
2603
+ "description": "Only runs holding this label: `<key>:<value>`, split at the first `:` (a key holds none). Once per request; a second `label`, or one that does not read as a label, is 400."
2592
2604
  }
2593
2605
  ],
2594
2606
  "headers": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcha/agentrun",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "AgentRun, the open-source platform that supercharges your agents (self-improvement, durable execution and a control plane on top of your favorite agent harness), on this machine with one command: npx @parcha/agentrun",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -16,7 +16,7 @@
16
16
  "NOTICE"
17
17
  ],
18
18
  "dependencies": {
19
- "@parcha/agentrun-serve": "0.1.0-beta.40"
19
+ "@parcha/agentrun-serve": "0.1.0-beta.41"
20
20
  },
21
21
  "scripts": {
22
22
  "test": "node --test 'test/*.test.mjs'"
@@ -113,6 +113,7 @@ Route: `GET /agents/{agent_id}/runs`.
113
113
  - `--limit INTEGER` (integer)
114
114
  - `--cursor STRING` (string): `next_cursor` from the previous page.
115
115
  - `--status queued|working|paused|input_required|completed|failed|cancelled` (string, one of these): Only runs with this status.
116
+ - `--label STRING` (string): Only runs holding this label: `<key>:<value>`, split at the first `:` (a key holds none). Once per request; a second `label`, or one that does not read as a label, is 400.
116
117
  - `--all` (boolean, this CLI's own): every page: follows next_cursor and prints one list, its next_cursor null; stops past 1000 pages, exit 1
117
118
 
118
119
  ### `agentrun agents unarchive AGENT_ID`
@@ -736,6 +737,7 @@ Route: `GET /runs`.
736
737
  - `--revision STRING` (string): Only runs of this revision.
737
738
  - `--status queued|working|paused|input_required|completed|failed|cancelled` (string, one of these): Only runs with this status.
738
739
  - `--archived` (boolean): true lists only archived runs; false, the default, the others.
740
+ - `--label STRING` (string): Only runs holding this label: `<key>:<value>`, split at the first `:` (a key holds none). Once per request; a second `label`, or one that does not read as a label, is 400.
739
741
  - `--all` (boolean, this CLI's own): every page: follows next_cursor and prints one list, its next_cursor null; stops past 1000 pages, exit 1
740
742
 
741
743
  ### `agentrun runs message RUN_ID`