@eigenpal/cli 0.23.6 → 0.23.7
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 +17 -0
- package/dist/cli.js +1148 -1341
- package/dist/docs-bundle.json +23 -23
- package/dist/skill/SKILL.md +0 -1
- package/dist/skill/reference/cli/surface.md +1 -3
- package/dist/skill/reference/cli/workflow.md +1 -30
- package/dist/skill/reference/dataset-format.md +10 -10
- package/dist/skill/reference/debugging.md +1 -1
- package/dist/skill/reference/evaluators.md +9 -9
- package/dist/skill/reference/step-types.md +44 -44
- package/dist/skill/reference/workflow-yaml.md +3 -110
- package/package.json +2 -1
- package/dist/skill/reference/step-exec.md +0 -62
|
@@ -160,7 +160,7 @@ steps:
|
|
|
160
160
|
|
|
161
161
|
`automatic` retries transient timeouts, rate limits, and selected retryable server failures. Delays use bounded exponential backoff, honor `Retry-After`, and stop after a five-minute elapsed budget.
|
|
162
162
|
|
|
163
|
-
Durable leaf retries are supported for Website Reader
|
|
163
|
+
Durable leaf retries are supported for Website Reader, HTTP `GET`/`HEAD`, and Send Email (only when the provider did not accept the message). Unsafe HTTP methods, Invoke Workflow, AI steps (which may have separate provider request retries), and transforms or file outputs are not durably replayed. Control containers are not attempts themselves; eligible leaves inside sequential If, Switch, and For Each scopes may retry, while concurrent Parallel and Parallel Map branches do not. See each generated step entry for its capability.
|
|
164
164
|
|
|
165
165
|
Legacy whole-run retry counts are accepted for compatibility but no longer restart failed runs. Move retry intent to the workflow retry default or an eligible step.
|
|
166
166
|
<!-- GENERATED:RETRY_REFERENCE END -->
|
|
@@ -504,9 +504,9 @@ Both catalogs are generated from the canonical Zod schemas in
|
|
|
504
504
|
supports.
|
|
505
505
|
|
|
506
506
|
<!-- GENERATED:WORKFLOW_REFERENCE START -->
|
|
507
|
-
## Top-level fields
|
|
507
|
+
## Top-level fields: full reference
|
|
508
508
|
|
|
509
|
-
_Generated from `WorkflowDefinitionSchema` in `@eigenpal/types/src/workflow/workflow.ts`. Do not hand-edit between the GENERATED fences
|
|
509
|
+
_Generated from `WorkflowDefinitionSchema` in `@eigenpal/types/src/workflow/workflow.ts`. Do not hand-edit between the GENERATED fences: run `bun run --cwd packages/cli generate:skill`._
|
|
510
510
|
|
|
511
511
|
| Field | Type | Required | Default | Description |
|
|
512
512
|
| --- | --- | --- | --- | --- |
|
|
@@ -1618,113 +1618,6 @@ This JSON Schema is generated from the same Zod schema used to parse workflow YA
|
|
|
1618
1618
|
],
|
|
1619
1619
|
"additionalProperties": false
|
|
1620
1620
|
},
|
|
1621
|
-
{
|
|
1622
|
-
"type": "object",
|
|
1623
|
-
"properties": {
|
|
1624
|
-
"type": {
|
|
1625
|
-
"type": "string",
|
|
1626
|
-
"const": "control.block"
|
|
1627
|
-
},
|
|
1628
|
-
"name": {
|
|
1629
|
-
"type": "string",
|
|
1630
|
-
"minLength": 1
|
|
1631
|
-
},
|
|
1632
|
-
"description": {
|
|
1633
|
-
"type": "string"
|
|
1634
|
-
},
|
|
1635
|
-
"if": {
|
|
1636
|
-
"type": "string"
|
|
1637
|
-
},
|
|
1638
|
-
"timeout": {
|
|
1639
|
-
"type": "number",
|
|
1640
|
-
"exclusiveMinimum": 0
|
|
1641
|
-
},
|
|
1642
|
-
"retry": {
|
|
1643
|
-
"anyOf": [
|
|
1644
|
-
{
|
|
1645
|
-
"type": "string",
|
|
1646
|
-
"const": "inherit"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"type": "string",
|
|
1650
|
-
"const": "automatic"
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"type": "string",
|
|
1654
|
-
"const": "never"
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
"oneOf": [
|
|
1658
|
-
{
|
|
1659
|
-
"type": "object",
|
|
1660
|
-
"properties": {
|
|
1661
|
-
"mode": {
|
|
1662
|
-
"type": "string",
|
|
1663
|
-
"const": "automatic"
|
|
1664
|
-
},
|
|
1665
|
-
"maxAttempts": {
|
|
1666
|
-
"type": "integer",
|
|
1667
|
-
"minimum": 1,
|
|
1668
|
-
"maximum": 10
|
|
1669
|
-
}
|
|
1670
|
-
},
|
|
1671
|
-
"required": [
|
|
1672
|
-
"mode"
|
|
1673
|
-
],
|
|
1674
|
-
"additionalProperties": false
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
"type": "object",
|
|
1678
|
-
"properties": {
|
|
1679
|
-
"mode": {
|
|
1680
|
-
"type": "string",
|
|
1681
|
-
"const": "never"
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
|
-
"required": [
|
|
1685
|
-
"mode"
|
|
1686
|
-
],
|
|
1687
|
-
"additionalProperties": false
|
|
1688
|
-
}
|
|
1689
|
-
]
|
|
1690
|
-
}
|
|
1691
|
-
]
|
|
1692
|
-
},
|
|
1693
|
-
"retries": {
|
|
1694
|
-
"type": "integer",
|
|
1695
|
-
"minimum": 0,
|
|
1696
|
-
"maximum": 9007199254740991
|
|
1697
|
-
},
|
|
1698
|
-
"retryDelay": {
|
|
1699
|
-
"type": "number",
|
|
1700
|
-
"exclusiveMinimum": 0
|
|
1701
|
-
},
|
|
1702
|
-
"with": {
|
|
1703
|
-
"type": "object",
|
|
1704
|
-
"propertyNames": {
|
|
1705
|
-
"type": "string"
|
|
1706
|
-
},
|
|
1707
|
-
"additionalProperties": {}
|
|
1708
|
-
},
|
|
1709
|
-
"blockName": {
|
|
1710
|
-
"type": "string",
|
|
1711
|
-
"minLength": 1
|
|
1712
|
-
},
|
|
1713
|
-
"inputs": {
|
|
1714
|
-
"type": "object",
|
|
1715
|
-
"propertyNames": {
|
|
1716
|
-
"type": "string"
|
|
1717
|
-
},
|
|
1718
|
-
"additionalProperties": {}
|
|
1719
|
-
}
|
|
1720
|
-
},
|
|
1721
|
-
"required": [
|
|
1722
|
-
"type",
|
|
1723
|
-
"name",
|
|
1724
|
-
"blockName"
|
|
1725
|
-
],
|
|
1726
|
-
"additionalProperties": false
|
|
1727
|
-
},
|
|
1728
1621
|
{
|
|
1729
1622
|
"type": "object",
|
|
1730
1623
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eigenpal/cli",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.7",
|
|
4
4
|
"description": "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eigenpal",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"dependencies": {},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@eigenpal/common": "workspace:*",
|
|
58
|
+
"@eigenpal/sdk": "workspace:*",
|
|
58
59
|
"@eigenpal/types": "workspace:*",
|
|
59
60
|
"@eigenpal/workflow-yaml": "workspace:*",
|
|
60
61
|
"@t3-oss/env-core": "^0.13.11",
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# `workflow step exec` — currently disabled (EIG-104)
|
|
2
|
-
|
|
3
|
-
> **Status: disabled.** The local-runner implementation was removed in
|
|
4
|
-
> the ai.split branch (EIG-102). It mimicked production via a CLI-side
|
|
5
|
-
> QuickJS sandbox (`transform.script`) and direct OpenAI SDK calls
|
|
6
|
-
> (`ai.extract`), which diverged from the worker's behavior (no
|
|
7
|
-
> retries, no tracing, no credit metering, no tenant-default LLM, no
|
|
8
|
-
> strict-mode response_format) and assumed shell env state
|
|
9
|
-
> (`WORKER_LLM_*`) that real CLI users — who authenticate via
|
|
10
|
-
> `EIGENPAL_API_KEY` — do not have.
|
|
11
|
-
>
|
|
12
|
-
> Calling `eigenpal workflow step exec <type>` today exits 2 with a
|
|
13
|
-
> redirect message. The server-side replacement is tracked in EIG-104:
|
|
14
|
-
> a future server-routed endpoint that runs the same code path executions
|
|
15
|
-
> take.
|
|
16
|
-
|
|
17
|
-
## What to use instead
|
|
18
|
-
|
|
19
|
-
Until EIG-104 lands, single-step iteration goes through the queue:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
# Run the whole workflow once with a specific example.
|
|
23
|
-
eigenpal run workflows.<workflow-id>
|
|
24
|
-
|
|
25
|
-
# Or iterate on one example via the experiment surface.
|
|
26
|
-
eigenpal workflow experiment run <workflow-id> --example-id <name>
|
|
27
|
-
|
|
28
|
-
# Watch progress without dumping the full per-execution payload.
|
|
29
|
-
eigenpal workflow experiment status <workflow-id> <batchId> --watch
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
For `--example-id`, the human slug works too (`ex-01-koifer-97zf`),
|
|
33
|
-
not the `evx_…` id — added as part of the same iteration.
|
|
34
|
-
|
|
35
|
-
To inspect what a step actually produced (input / output / resolved
|
|
36
|
-
config), use:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
eigenpal runs get <executionId> --expand execution --json --include input,output,config
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Run detail lists slim steps only. The CLI hydrates `input` / `output` /
|
|
43
|
-
`config` from `GET /api/v1/runs/{id}/steps/{stepExecutionId}` when you
|
|
44
|
-
pass `--include input,output,config` or `--step`.
|
|
45
|
-
|
|
46
|
-
## Exit codes (current placeholder)
|
|
47
|
-
|
|
48
|
-
| Code | When |
|
|
49
|
-
| --- | --- |
|
|
50
|
-
| 2 | Always — the command is disabled and redirects to `run` / `workflow experiment run`. |
|
|
51
|
-
|
|
52
|
-
## When this comes back
|
|
53
|
-
|
|
54
|
-
When EIG-104 lands, this page will document the server-routed shape:
|
|
55
|
-
|
|
56
|
-
- `--inputs k=v` for binding values
|
|
57
|
-
- `--config-json` / `--config-file` for the `with:` block
|
|
58
|
-
- `--output-schema` for caller-supplied output validation
|
|
59
|
-
- Streaming output JSON from the same engine that runs production
|
|
60
|
-
- Same `output_schema_violation` envelope on stderr, exit 2
|
|
61
|
-
|
|
62
|
-
The CLI will be a thin client; the engine stays in one place.
|