@eigenpal/cli 0.10.22 → 0.10.24

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.
@@ -8,12 +8,11 @@ Manage Eigenpal agents: Git source, datasets, experiments, sessions, and release
8
8
  - [Commands](#commands)
9
9
  - [Core](#core)
10
10
  - [File](#file)
11
- - [Secret](#secret)
11
+ - [Secrets](#secrets)
12
12
  - [Dataset](#dataset)
13
13
  - [Experiment](#experiment)
14
14
  - [Session](#session)
15
15
  - [Env](#env)
16
- - [Secrets](#secrets)
17
16
  - [Details](#details)
18
17
  - [`eigenpal agents list|ls [options]`](#eigenpal-agents-listls-options)
19
18
  - [`eigenpal agents validate [options] [dir]`](#eigenpal-agents-validate-options-dir)
@@ -36,9 +35,11 @@ Manage Eigenpal agents: Git source, datasets, experiments, sessions, and release
36
35
  - [`eigenpal agents file list|ls [options] <agent-id-or-slug>`](#eigenpal-agents-file-listls-options-agent-id-or-slug)
37
36
  - [`eigenpal agents file get [options] <agent-id-or-slug> <remote-path>`](#eigenpal-agents-file-get-options-agent-id-or-slug-remote-path)
38
37
  - [`eigenpal agents file diff [options] <agent-id-or-slug> <remote-path> <local-path>`](#eigenpal-agents-file-diff-options-agent-id-or-slug-remote-path-local-path)
39
- - [`eigenpal agents secret set [options] <name>`](#eigenpal-agents-secret-set-options-name)
40
- - [`eigenpal agents secret unset [options] <name>`](#eigenpal-agents-secret-unset-options-name)
41
- - [`eigenpal agents secret import [options] <env-file>`](#eigenpal-agents-secret-import-options-env-file)
38
+ - [`eigenpal agents secrets|secret list|ls [options]`](#eigenpal-agents-secretssecret-listls-options)
39
+ - [`eigenpal agents secrets|secret set [options] <name>`](#eigenpal-agents-secretssecret-set-options-name)
40
+ - [`eigenpal agents secrets|secret unset [options] <name>`](#eigenpal-agents-secretssecret-unset-options-name)
41
+ - [`eigenpal agents secrets|secret import [options] <env-file>`](#eigenpal-agents-secretssecret-import-options-env-file)
42
+ - [`eigenpal agents secrets|secret export [options] [target]`](#eigenpal-agents-secretssecret-export-options-target)
42
43
  - [`eigenpal agents dataset list|ls [options] <agent-id-or-slug>`](#eigenpal-agents-dataset-listls-options-agent-id-or-slug)
43
44
  - [`eigenpal agents dataset push [options] <agent-id-or-slug>`](#eigenpal-agents-dataset-push-options-agent-id-or-slug)
44
45
  - [`eigenpal agents dataset pull [options] <agent-id-or-slug>`](#eigenpal-agents-dataset-pull-options-agent-id-or-slug)
@@ -55,7 +56,6 @@ Manage Eigenpal agents: Git source, datasets, experiments, sessions, and release
55
56
  - [`eigenpal agents session message [options] <session-id>`](#eigenpal-agents-session-message-options-session-id)
56
57
  - [`eigenpal agents session stop [options] <session-id>`](#eigenpal-agents-session-stop-options-session-id)
57
58
  - [`eigenpal agents env pull [options] [target]`](#eigenpal-agents-env-pull-options-target)
58
- - [`eigenpal agents secrets export [options] [target]`](#eigenpal-agents-secrets-export-options-target)
59
59
 
60
60
  ## Surface
61
61
 
@@ -83,10 +83,12 @@ agents
83
83
  ├── versions <package>
84
84
  ├── release <version> [dir]
85
85
  ├── sync [automation]
86
- ├── secret
86
+ ├── secrets|secret
87
+ │ ├── list|ls
87
88
  │ ├── set <name>
88
89
  │ ├── unset <name>
89
- │ └── import <env-file>
90
+ │ ├── import <env-file>
91
+ │ └── export [target]
90
92
  ├── dataset
91
93
  │ ├── list|ls <agent-id-or-slug>
92
94
  │ ├── push <agent-id-or-slug>
@@ -105,10 +107,8 @@ agents
105
107
  │ ├── start <agent-id-or-slug>
106
108
  │ ├── message <session-id>
107
109
  │ └── stop <session-id>
108
- ├── env
109
- │ └── pull [target]
110
- └── secrets
111
- └── export [target]
110
+ └── env
111
+ └── pull [target]
112
112
  ```
113
113
 
114
114
  ## Commands
@@ -144,22 +144,24 @@ agents
144
144
  | `eigenpal agents file get [options] <agent-id-or-slug> <remote-path>` | Download one live agent file. |
145
145
  | `eigenpal agents file diff [options] <agent-id-or-slug> <remote-path> <local-path>` | Compare one live agent file against a local file. |
146
146
 
147
- ### Secret
147
+ ### Secrets
148
148
 
149
- | Command | Description |
150
- | ---------------------------------------------------- | ---------------------------------------------------------------- |
151
- | `eigenpal agents secret set [options] <name>` | Encrypt and set a secret value in secrets.enc.yaml. |
152
- | `eigenpal agents secret unset [options] <name>` | Remove a secret from secrets.enc.yaml. |
153
- | `eigenpal agents secret import [options] <env-file>` | Import KEY=value entries from an env file into secrets.enc.yaml. |
149
+ | Command | Description |
150
+ | ------------------------------------------------------------- | --------------------------------------------------------------------- |
151
+ | `eigenpal agents secrets\|secret list\|ls [options]` | List secret names declared in secrets.enc.yaml (never prints values). |
152
+ | `eigenpal agents secrets\|secret set [options] <name>` | Encrypt and set a secret value in secrets.enc.yaml. |
153
+ | `eigenpal agents secrets\|secret unset [options] <name>` | Remove a secret from secrets.enc.yaml. |
154
+ | `eigenpal agents secrets\|secret import [options] <env-file>` | Import KEY=value entries from an env file into secrets.enc.yaml. |
155
+ | `eigenpal agents secrets\|secret export [options] [target]` | Decrypt source secrets and print shell exports. |
154
156
 
155
157
  ### Dataset
156
158
 
157
- | Command | Description |
158
- | --------------------------------------------------------------- | -------------------------------------------------------------------------- |
159
- | `eigenpal agents dataset list\|ls [options] <agent-id-or-slug>` | List dataset examples for an agent. |
160
- | `eigenpal agents dataset push [options] <agent-id-or-slug>` | Upload dataset examples from a local dataset directory or zip archive. |
161
- | `eigenpal agents dataset pull [options] <agent-id-or-slug>` | Download an agent dataset as a .zip archive. |
162
- | `eigenpal agents dataset validate [options] [path]` | Validate a local dataset directory against the agent input/output schemas. |
159
+ | Command | Description |
160
+ | --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
161
+ | `eigenpal agents dataset list\|ls [options] <agent-id-or-slug>` | List dataset examples for an agent. |
162
+ | `eigenpal agents dataset push [options] <agent-id-or-slug>` | Upload dataset examples from a local dataset directory or zip archive. |
163
+ | `eigenpal agents dataset pull [options] <agent-id-or-slug>` | Download an agent dataset as a .zip archive. |
164
+ | `eigenpal agents dataset validate [options] [path]` | Validate a local dataset directory against the canonical examples/<name> layout. Defaults to ./dataset/. |
163
165
 
164
166
  ### Experiment
165
167
 
@@ -188,12 +190,6 @@ agents
188
190
  | --------------------------------------------- | ----------------------------------------------- |
189
191
  | `eigenpal agents env pull [options] [target]` | Decrypt source secrets and print shell exports. |
190
192
 
191
- ### Secrets
192
-
193
- | Command | Description |
194
- | --------------------------------------------------- | ----------------------------------------------- |
195
- | `eigenpal agents secrets export [options] [target]` | Decrypt source secrets and print shell exports. |
196
-
197
193
  ## Details
198
194
 
199
195
  ### `eigenpal agents list|ls [options]`
@@ -500,7 +496,18 @@ Compare one live agent file against a local file.
500
496
  | `--base-url <url>` | no | | Server base URL |
501
497
  | `--json` | no | | Output the raw server response as JSON |
502
498
 
503
- ### `eigenpal agents secret set [options] <name>`
499
+ ### `eigenpal agents secrets|secret list|ls [options]`
500
+
501
+ List secret names declared in secrets.enc.yaml (never prints values).
502
+
503
+ ### Options
504
+
505
+ | Flag | Required | Default | Description |
506
+ | ------------- | -------- | ------- | -------------------------------------- |
507
+ | `--json` | no | | Output the raw server response as JSON |
508
+ | `--dir <dir>` | no | | Directory to inspect |
509
+
510
+ ### `eigenpal agents secrets|secret set [options] <name>`
504
511
 
505
512
  Encrypt and set a secret value in secrets.enc.yaml.
506
513
 
@@ -519,7 +526,7 @@ Encrypt and set a secret value in secrets.enc.yaml.
519
526
  | `--value-file <path>` | no | | Read the secret value from a file |
520
527
  | `--description <text>` | no | | Secret description |
521
528
 
522
- ### `eigenpal agents secret unset [options] <name>`
529
+ ### `eigenpal agents secrets|secret unset [options] <name>`
523
530
 
524
531
  Remove a secret from secrets.enc.yaml.
525
532
 
@@ -535,7 +542,7 @@ Remove a secret from secrets.enc.yaml.
535
542
  | ------------- | -------- | ------- | -------------------- |
536
543
  | `--dir <dir>` | no | | Directory to inspect |
537
544
 
538
- ### `eigenpal agents secret import [options] <env-file>`
545
+ ### `eigenpal agents secrets|secret import [options] <env-file>`
539
546
 
540
547
  Import KEY=value entries from an env file into secrets.enc.yaml.
541
548
 
@@ -551,6 +558,24 @@ Import KEY=value entries from an env file into secrets.enc.yaml.
551
558
  | ------------- | -------- | ------- | -------------------- |
552
559
  | `--dir <dir>` | no | | Directory to inspect |
553
560
 
561
+ ### `eigenpal agents secrets|secret export [options] [target]`
562
+
563
+ Decrypt source secrets and print shell exports.
564
+
565
+ ### Arguments
566
+
567
+ | Name | Required | Variadic | Description |
568
+ | -------- | -------- | -------- | ----------- |
569
+ | `target` | no | no | |
570
+
571
+ ### Options
572
+
573
+ | Flag | Required | Default | Description |
574
+ | ------------------- | -------- | --------- | --------------------------------- |
575
+ | `--base-url <url>` | no | | Server base URL |
576
+ | `--dir <dir>` | no | `"."` | Installed agent package directory |
577
+ | `--format <format>` | no | `"shell"` | Output format: shell or dotenv |
578
+
554
579
  ### `eigenpal agents dataset list|ls [options] <agent-id-or-slug>`
555
580
 
556
581
  List dataset examples for an agent.
@@ -609,7 +634,7 @@ Download an agent dataset as a .zip archive.
609
634
 
610
635
  ### `eigenpal agents dataset validate [options] [path]`
611
636
 
612
- Validate a local dataset directory against the agent input/output schemas.
637
+ Validate a local dataset directory against the canonical examples/<name> layout. Defaults to ./dataset/.
613
638
 
614
639
  ### Arguments
615
640
 
@@ -619,10 +644,10 @@ Validate a local dataset directory against the agent input/output schemas.
619
644
 
620
645
  ### Options
621
646
 
622
- | Flag | Required | Default | Description |
623
- | ------------------- | -------- | ------- | ------------------------------------------------------- |
624
- | `--json` | no | | Output the raw server response as JSON |
625
- | `--agent-dir <dir>` | no | `"."` | Agent package directory containing input/output schemas |
647
+ | Flag | Required | Default | Description |
648
+ | ------------------- | -------- | ------- | --------------------------------------------------------------------------------------- |
649
+ | `--json` | no | | Output the raw server response as JSON |
650
+ | `--agent-dir <dir>` | no | `"."` | Agent package directory with optional input/output schemas for extra value-level checks |
626
651
 
627
652
  ### `eigenpal agents experiment|exp run [options] <agent-id-or-slug>`
628
653
 
@@ -852,21 +877,3 @@ Decrypt source secrets and print shell exports.
852
877
  | `--base-url <url>` | no | | Server base URL |
853
878
  | `--dir <dir>` | no | `"."` | Installed agent package directory |
854
879
  | `--format <format>` | no | `"shell"` | Output format: shell or dotenv |
855
-
856
- ### `eigenpal agents secrets export [options] [target]`
857
-
858
- Decrypt source secrets and print shell exports.
859
-
860
- ### Arguments
861
-
862
- | Name | Required | Variadic | Description |
863
- | -------- | -------- | -------- | ----------- |
864
- | `target` | no | no | |
865
-
866
- ### Options
867
-
868
- | Flag | Required | Default | Description |
869
- | ------------------- | -------- | --------- | --------------------------------- |
870
- | `--base-url <url>` | no | | Server base URL |
871
- | `--dir <dir>` | no | `"."` | Installed agent package directory |
872
- | `--format <format>` | no | `"shell"` | Output format: shell or dotenv |
@@ -76,10 +76,12 @@ eigenpal
76
76
  │ ├── versions <package>
77
77
  │ ├── release <version> [dir]
78
78
  │ ├── sync [automation]
79
- │ ├── secret
79
+ │ ├── secrets|secret
80
+ │ │ ├── list|ls
80
81
  │ │ ├── set <name>
81
82
  │ │ ├── unset <name>
82
- │ │ └── import <env-file>
83
+ │ │ ├── import <env-file>
84
+ │ │ └── export [target]
83
85
  │ ├── dataset
84
86
  │ │ ├── list|ls <agent-id-or-slug>
85
87
  │ │ ├── push <agent-id-or-slug>
@@ -98,10 +100,8 @@ eigenpal
98
100
  │ │ ├── start <agent-id-or-slug>
99
101
  │ │ ├── message <session-id>
100
102
  │ │ └── stop <session-id>
101
- │ ├── env
102
- │ │ └── pull [target]
103
- │ └── secrets
104
- │ └── export [target]
103
+ │ └── env
104
+ │ └── pull [target]
105
105
  ├── run <target>
106
106
  ├── rerun <run-id>
107
107
  ├── runs
@@ -54,7 +54,9 @@ same reference shape with the `expected/` prefix.
54
54
  `{ "$file": "expected/<path>" }`.
55
55
  - File references cannot use `..`, absolute paths, backslashes, or null bytes.
56
56
  - `expected.json` is optional. When present, it must be a JSON object.
57
- - Failure-expected examples use `expected.json` with a single `$error` key:
57
+ - Failure-expected examples use `expected.json` with a single `$error` key.
58
+ They are supported for workflow datasets only; agent datasets reject them,
59
+ because agent runs are evaluated only when they complete:
58
60
 
59
61
  ```json
60
62
  {
@@ -400,8 +400,8 @@ Extract structured data from text using AI with a JSON schema
400
400
  | `provider` | string | no | | Provider ID (e.g., "openai-gpt4o") |
401
401
  | `model` | string | no | | Model override |
402
402
  | `maxInputTokens` | integer | no | | Max input tokens. Truncates input text and logs a warning when exceeded. Omit for no limit. |
403
- | `grounded` | boolean | no | | Optional. When true, adds a grounding pass: each schema field gets a source span + confidence (high=verbatim, medium=fuzzy, low=ungrounded) under a `_grounding` key, and ungrounded/fuzzy fields are flagged for human review. Grounding always calls OpenAI directly (independent of the extract provider) and requires OPENAI_API_KEY. Values stay the reliable schema-typed ones. |
404
- | `groundingModel` | string | no | | Provider/model for the grounding pass. Defaults to the workspace default LLM; grounding runs against OpenAI, so pick an OpenAI-compatible model. |
403
+ | `grounded` | boolean | no | | Optional. When true, adds a grounding pass: each schema field gets a source span + confidence (high=verbatim, medium=fuzzy, low=ungrounded) under a `_grounding` key, and ungrounded/fuzzy fields are flagged for human review. Grounding is OpenAI-only: the pass always calls OpenAI directly (independent of the extract provider) and requires OPENAI_API_KEY on the worker. If the key is missing or the grounding model resolves to a non-OpenAI provider, the step fails instead of silently skipping grounding. Values stay the reliable schema-typed ones. |
404
+ | `groundingModel` | string | no | | Provider/model for the grounding pass. Defaults to the workspace default LLM. Grounding is OpenAI-only, so this must resolve to an OpenAI model; a non-OpenAI model fails the step at runtime. |
405
405
  | `groundingExamples` | array<object> | no | | Optional few-shot examples pinning grounding to verbatim source text per field. |
406
406
  | `reviewOn` | `"medium_or_low"` \| `"low_only"` | no | | Which grounding confidences flag a field for review. Default: medium_or_low. |
407
407
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eigenpal/cli",
3
- "version": "0.10.22",
3
+ "version": "0.10.24",
4
4
  "description": "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
5
5
  "keywords": [
6
6
  "eigenpal",