@eigenpal/cli 0.6.15 → 0.6.17
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/CHANGELOG.md +6 -0
- package/dist/cli.js +2717 -379
- package/dist/skill/reference/cli/runs.md +0 -20
- package/dist/skill/reference/cli/surface.md +0 -1
- package/dist/skill/reference/step-types.md +4 -23
- package/package.json +1 -1
|
@@ -17,7 +17,6 @@ Inspect, watch, and manage workflow, agent, and eval runs.
|
|
|
17
17
|
- [`eigenpal runs rerun [options] <run-id>`](#eigenpal-runs-rerun-options-run-id)
|
|
18
18
|
- [`eigenpal runs trace [options] <run-id>`](#eigenpal-runs-trace-options-run-id)
|
|
19
19
|
- [`eigenpal runs watch [options] <run-id>`](#eigenpal-runs-watch-options-run-id)
|
|
20
|
-
- [`eigenpal runs resume [options] <run-id>`](#eigenpal-runs-resume-options-run-id)
|
|
21
20
|
- [`eigenpal runs cancel [options] <run-id>`](#eigenpal-runs-cancel-options-run-id)
|
|
22
21
|
- [`eigenpal runs artifacts|artifact list|ls [options] <run-id>`](#eigenpal-runs-artifactsartifact-listls-options-run-id)
|
|
23
22
|
- [`eigenpal runs artifacts|artifact fetch [options] <run-id>`](#eigenpal-runs-artifactsartifact-fetch-options-run-id)
|
|
@@ -55,7 +54,6 @@ runs
|
|
|
55
54
|
│ ├── rename <run-id> <old-name> <new-name>
|
|
56
55
|
│ └── delete <run-id> <name>
|
|
57
56
|
├── watch <run-id>
|
|
58
|
-
├── resume <run-id>
|
|
59
57
|
└── cancel <run-id>
|
|
60
58
|
```
|
|
61
59
|
|
|
@@ -71,7 +69,6 @@ runs
|
|
|
71
69
|
| `eigenpal runs rerun [options] <run-id>` | Create a new run from a previous run's stored input snapshot. |
|
|
72
70
|
| `eigenpal runs trace [options] <run-id>` | Print raw trace.jsonl for a run, or write it with --out. |
|
|
73
71
|
| `eigenpal runs watch [options] <run-id>` | Watch a run until it reaches a terminal status. |
|
|
74
|
-
| `eigenpal runs resume [options] <run-id>` | Resume a workflow run that is waiting for approval. |
|
|
75
72
|
| `eigenpal runs cancel [options] <run-id>` | Cancel a run. |
|
|
76
73
|
|
|
77
74
|
### Artifacts
|
|
@@ -235,23 +232,6 @@ Watch a run until it reaches a terminal status.
|
|
|
235
232
|
| `--interval <seconds>` | no | `2` | Polling interval in seconds |
|
|
236
233
|
| `--max-wait <seconds>` | no | `1800` | Maximum wait before exiting 2 |
|
|
237
234
|
|
|
238
|
-
### `eigenpal runs resume [options] <run-id>`
|
|
239
|
-
|
|
240
|
-
Resume a workflow run that is waiting for approval.
|
|
241
|
-
|
|
242
|
-
### Arguments
|
|
243
|
-
|
|
244
|
-
| Name | Required | Variadic | Description |
|
|
245
|
-
| -------- | -------- | -------- | ----------- |
|
|
246
|
-
| `run-id` | yes | no | |
|
|
247
|
-
|
|
248
|
-
### Options
|
|
249
|
-
|
|
250
|
-
| Flag | Required | Default | Description |
|
|
251
|
-
| ------------------ | -------- | ------- | -------------------------------------- |
|
|
252
|
-
| `--base-url <url>` | no | | Server base URL |
|
|
253
|
-
| `--json` | no | | Output the raw server response as JSON |
|
|
254
|
-
|
|
255
235
|
### `eigenpal runs cancel [options] <run-id>`
|
|
256
236
|
|
|
257
237
|
Cancel a run.
|
|
@@ -25,7 +25,7 @@ implement at runtime. Server-side validation errors point you here.
|
|
|
25
25
|
- `transform.*` — deterministic data transforms (set, remove, combine, split, merge,
|
|
26
26
|
script, template, pdf-embed, xlsx-to-json). WASM sandboxed where applicable.
|
|
27
27
|
- `action.*` — external side effects (HTTP, invoke another workflow, website reader).
|
|
28
|
-
- `control.*` — flow control (if, foreach, parallel, parallel_map, wait,
|
|
28
|
+
- `control.*` — flow control (if, foreach, parallel, parallel_map, wait, block, fail).
|
|
29
29
|
|
|
30
30
|
The full per-type catalog with field tables is auto-generated below from
|
|
31
31
|
`STEP_SCHEMAS`. The high-level map above tells you which family you want;
|
|
@@ -47,7 +47,6 @@ the catalog tells you what fields it takes.
|
|
|
47
47
|
| Map over an input array | `forEach:` on the step or `control.foreach` |
|
|
48
48
|
| Concurrent map over an array | `control.parallel_map` |
|
|
49
49
|
| Independent parallel branches | `control.parallel` |
|
|
50
|
-
| Pause for human approval | `control.approval` |
|
|
51
50
|
| External HTTP call | `action.http` |
|
|
52
51
|
| Call another workflow | `action.invoke-workflow` |
|
|
53
52
|
| Fetch a webpage as markdown | `action.website-reader` |
|
|
@@ -681,6 +680,9 @@ Execute another workflow and return its output
|
|
|
681
680
|
| --- | --- | --- | --- | --- |
|
|
682
681
|
| `workflowId` | string | yes | | ID of workflow to invoke |
|
|
683
682
|
| `input` | record<string, unknown> | no | | Input to pass to workflow |
|
|
683
|
+
| `wait` | boolean | no | | If true, wait for the invoked workflow to complete (default: false) |
|
|
684
|
+
| `timeout` | number | no | | Max wait time in ms when wait=true (default: 300000) |
|
|
685
|
+
| `pollInterval` | number | no | | How often to poll status in ms when wait=true (default: 1000) |
|
|
684
686
|
|
|
685
687
|
**Output:** `record<string, unknown>`
|
|
686
688
|
|
|
@@ -799,27 +801,6 @@ Pause workflow execution for a specified duration
|
|
|
799
801
|
| --- | --- | --- | --- | --- |
|
|
800
802
|
| `waited` | number | yes | | Actual milliseconds waited |
|
|
801
803
|
|
|
802
|
-
#### `control.approval` — Approval
|
|
803
|
-
|
|
804
|
-
Pause workflow for human approval before continuing
|
|
805
|
-
|
|
806
|
-
**Config** (at step level):
|
|
807
|
-
|
|
808
|
-
| Field | Type | Required | Default | Description |
|
|
809
|
-
| --- | --- | --- | --- | --- |
|
|
810
|
-
| `message` | string | no | | Message to display for approval |
|
|
811
|
-
| `timeoutMinutes` | number | no | `1440` | Auto-reject after timeout |
|
|
812
|
-
| `notifyEmail` | string | no | | Email to notify |
|
|
813
|
-
|
|
814
|
-
**Output:** `object`
|
|
815
|
-
|
|
816
|
-
| Field | Type | Required | Default | Description |
|
|
817
|
-
| --- | --- | --- | --- | --- |
|
|
818
|
-
| `approved` | boolean | yes | | Whether the request was approved |
|
|
819
|
-
| `approvedBy` | string | no | | Who approved |
|
|
820
|
-
| `approvedAt` | string | no | | When approved |
|
|
821
|
-
| `comment` | string | no | | Approver comment |
|
|
822
|
-
|
|
823
804
|
#### `control.block` — Block
|
|
824
805
|
|
|
825
806
|
Execute a reusable block workflow inline with input/output mapping
|