@eigenpal/cli 0.10.5 → 0.10.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eigenpal/cli
2
2
 
3
+ ## 0.10.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 664bbed: `eigenpal --help` now groups `run`, `rerun`, and `runs` under a dedicated "Run" section instead of the catch-all "Other" bucket, so starting a run and reading its output is easy to find from the top-level help. The "Workflows" and "Agents" group descriptions were tightened to match.
8
+
3
9
  ## 0.10.5
4
10
 
5
11
  ### Minor Changes
package/dist/cli.js CHANGED
@@ -65647,7 +65647,9 @@ function inputToJsonSchema(input) {
65647
65647
  if (itemType === "enum" && input.items?.values?.length) {
65648
65648
  return { type: "array", items: { type: "string", enum: input.items.values } };
65649
65649
  }
65650
- return itemType ? { type: "array", items: { type: itemType } } : { type: "array" };
65650
+ if (!itemType || itemType === "file")
65651
+ return { type: "array" };
65652
+ return { type: "array", items: { type: itemType } };
65651
65653
  }
65652
65654
  case "file":
65653
65655
  return {};
@@ -190434,7 +190436,7 @@ import { fileURLToPath as fileURLToPath8 } from "url";
190434
190436
  // package.json
190435
190437
  var package_default = {
190436
190438
  name: "@eigenpal/cli",
190437
- version: "0.10.5",
190439
+ version: "0.10.7",
190438
190440
  description: "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
190439
190441
  keywords: [
190440
190442
  "eigenpal",
@@ -200580,14 +200582,19 @@ var HELP_GROUPS = [
200580
200582
  },
200581
200583
  {
200582
200584
  title: "Workflows",
200583
- description: "Definition, evaluators, dataset, experiments, and local runs",
200585
+ description: "Definition, evaluators, dataset, experiments, and versions",
200584
200586
  commands: ["workflow"]
200585
200587
  },
200586
200588
  {
200587
200589
  title: "Agents",
200588
- description: "Git-backed source (clone, save, release, sync), runs, datasets, sessions. `git` passthrough adds org remote auth.",
200590
+ description: "Git-backed source (clone, save, release, sync), datasets, sessions. `git` passthrough adds org remote auth.",
200589
200591
  commands: ["agents", "git"]
200590
200592
  },
200593
+ {
200594
+ title: "Run",
200595
+ description: "Start runs, then watch them, read their output, and download artifacts.",
200596
+ commands: ["run", "rerun", "runs"]
200597
+ },
200591
200598
  {
200592
200599
  title: "Tooling",
200593
200600
  description: "Install the Eigenpal skill into your agent tools (Claude Code, Cursor, …)",
@@ -20,7 +20,10 @@ appear in user examples, but do not prefer them.
20
20
  experiments, versions, and step schemas.
21
21
  - `eigenpal agents` manages Git-backed agent source packages, shared resources,
22
22
  releases, sync, secrets, datasets, and live file inspection.
23
- - `eigenpal run` starts a workflow or agent run from a target.
23
+ - `eigenpal run` starts a single workflow or agent run from a target. This is the
24
+ command for running something once and reading its output, including
25
+ API-triggered workflows. (`eigenpal workflow experiment` is a separate batch run
26
+ over a whole dataset, not the single-run path.)
24
27
  - `eigenpal runs` inspects, watches, compares, reruns, cancels, and downloads
25
28
  artifacts for workflow or agent runs.
26
29
 
@@ -48,10 +51,20 @@ eigenpal workflow step-type get ai.extract --json | jq '.configSchema.properties
48
51
  eigenpal workflow validate ./workflow.yaml
49
52
  eigenpal workflow push --file workflow.yaml
50
53
 
51
- # Run one example.
54
+ # Run with ad-hoc input and read the output (use this for API-triggered workflows).
55
+ # `--wait --json` polls to completion and prints the run with top-level `output`.
56
+ eigenpal run workflows.<workflow-id> --input-json '{"document":"..."}' --wait --json | jq '.output'
57
+ eigenpal run workflows.<workflow-id> --input-file document=./invoice.pdf --wait --json | jq '.output'
58
+
59
+ # Run one persisted example instead.
52
60
  eigenpal run workflows.<workflow-id> --example <example-name>
61
+
62
+ # Inspect a run after the fact. `runs get --json` returns top-level
63
+ # `output`/`files`/`error` once the run is completed. Plain `run --wait`
64
+ # without `--json` only prints "Run <id> is completed", so pass `--json` or
65
+ # use `runs get` to see the output.
53
66
  eigenpal runs watch <execution-id>
54
- eigenpal runs get <execution-id> --json
67
+ eigenpal runs get <execution-id> --json | jq '.output'
55
68
 
56
69
  # Push dataset and evaluators.
57
70
  eigenpal workflow dataset validate ./dataset
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eigenpal/cli",
3
- "version": "0.10.5",
3
+ "version": "0.10.7",
4
4
  "description": "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
5
5
  "keywords": [
6
6
  "eigenpal",