@eigenpal/cli 0.16.0 → 0.16.1

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.
@@ -356,7 +356,7 @@ _Generated from `EvalConfigYamlSchema` in `@eigenpal/types/src/eval/evaluator-co
356
356
  | Field | Type | Required | Default | Description |
357
357
  | --- | --- | --- | --- | --- |
358
358
  | `model` | string | no | | Which LLM grades the output. Falls back to the workspace's default LLM provider when unset. |
359
- | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
359
+ | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
360
360
  | `mode` | `"continuous"` \| `"discrete"` | no | `"continuous"` | Continuous = the LLM returns a free-form score in [0, 1]. Discrete = the LLM picks one of your labels and the score is looked up from the table. |
361
361
  | `labels` | record<string, number> | no | | Allowed labels and the score each maps to. Required in discrete mode. The judge MUST return one of these labels; each score must be in [0, 1]. |
362
362
  | `passThreshold` | number | no | | Legacy per-evaluator pass threshold. Pass/fail now uses the single workflow-level pass threshold; this is read only to preserve the run gate of configs authored before the single-threshold model. |
@@ -562,7 +562,7 @@ Generated from the same discriminated union used by evaluator validation; YAML k
562
562
  "minLength": 1
563
563
  },
564
564
  "reasoningEffort": {
565
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
565
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
566
566
  "type": "string",
567
567
  "enum": [
568
568
  "none",
@@ -426,9 +426,9 @@ Extract text from documents (PDF, DOCX, images) using native extraction, OCR, or
426
426
  | `parseMode` | `"ocr"` \| `"vision"` \| `"native"` \| `"native-or-ocr"` | no | | Base parser for PDF/image inputs. OCR is the default; vision uses the selected LLM. `native` extracts PDF embedded text only and never calls OCR or vision. `native-or-ocr` extracts native text, runs page-quality diagnostics, and requests OCR when pages have detectable anomalies (empty, U+FFFD, lone surrogates, forbidden controls, unassigned/noncharacter, heavy PUA). Page selection, subset egress, and billing are provider-dependent. Valid-looking wrong text and literal "?" are not flagged. Text and Office files always use local parsing. |
427
427
  | `ocrModel` | string | no | | OCR provider ID for PDF/image parsing |
428
428
  | `llmModel` | string | no | | LLM provider ID for vision-based parsing |
429
- | `llmReasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
429
+ | `llmReasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
430
430
  | `figureModel` | string | no | | Vision model used only for the optional figure-description pass |
431
- | `figureReasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
431
+ | `figureReasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
432
432
  | `maxConcurrency` | number | no | `3` | Max concurrent VLM batch requests |
433
433
  | `pagesPerBatch` | number | no | `5` | Number of page images per VLM request |
434
434
  | `pdfRenderScale` | number | no | `1` | Scale factor for rendering PDF pages before VLM parsing. Higher values produce sharper images at larger payload sizes. |
@@ -486,7 +486,7 @@ Config schema:
486
486
  "type": "string"
487
487
  },
488
488
  "llmReasoningEffort": {
489
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
489
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
490
490
  "type": "string",
491
491
  "enum": [
492
492
  "none",
@@ -503,7 +503,7 @@ Config schema:
503
503
  "type": "string"
504
504
  },
505
505
  "figureReasoningEffort": {
506
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
506
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
507
507
  "type": "string",
508
508
  "enum": [
509
509
  "none",
@@ -1390,11 +1390,11 @@ Extract structured data from text using AI with a JSON schema
1390
1390
  | `prompt` | string | no | | Custom prompt template for extraction |
1391
1391
  | `provider` | string | no | | Provider ID (e.g., "openai-gpt4o") |
1392
1392
  | `model` | string | no | | Model override |
1393
- | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
1393
+ | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
1394
1394
  | `maxInputTokens` | integer | no | | Max input tokens. Truncates input text and logs a warning when exceeded. Omit for no limit. |
1395
1395
  | `grounded` | boolean | no | | Grounding is ON by default: each schema field gets a source span + confidence (high=verbatim, medium=fuzzy, low=ungrounded) under a reserved `_grounding` output key, and fields whose value cannot be located in the source are flagged for human review. Values stay the reliable schema-typed ones. The pass runs through the workspace LLM (any provider) and chunks long documents automatically. Tri-state: unset (default) = on, degrading gracefully to deterministic text alignment (`_grounding._degraded: true`) if no grounding model is available; `true` = strict, the step fails when the grounding model cannot be resolved; `false` = off, no `_grounding` key at all. |
1396
1396
  | `groundingModel` | string | no | | Provider/model for the grounding pass. Defaults to the workspace default LLM. Any configured provider works; the pass only fails the step when `grounded: true` is set explicitly and no model resolves. |
1397
- | `groundingReasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
1397
+ | `groundingReasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
1398
1398
  | `groundingExamples` | array<object> | no | | Optional few-shot examples pinning grounding to verbatim source text per field. |
1399
1399
  | `reviewOn` | `"medium_or_low"` \| `"low_only"` | no | | Which grounding confidences set needsReview on a field. Default: low_only (only fields whose value could not be located in the source). Use medium_or_low to also flag approximate and derived matches. |
1400
1400
 
@@ -1456,7 +1456,7 @@ Config schema:
1456
1456
  "type": "string"
1457
1457
  },
1458
1458
  "reasoningEffort": {
1459
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
1459
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
1460
1460
  "type": "string",
1461
1461
  "enum": [
1462
1462
  "none",
@@ -1483,7 +1483,7 @@ Config schema:
1483
1483
  "type": "string"
1484
1484
  },
1485
1485
  "groundingReasoningEffort": {
1486
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
1486
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
1487
1487
  "type": "string",
1488
1488
  "enum": [
1489
1489
  "none",
@@ -1580,7 +1580,7 @@ Split a parsed document into named sections using an LLM. Consumes ai.parse outp
1580
1580
  | `sections` | array<object> | yes | | Named sections to find in the document |
1581
1581
  | `rules` | string | no | | Optional natural-language rules appended to the system prompt. E.g. "End-of-section markers like *Koniec prílohy 2* close the current section." |
1582
1582
  | `provider` | string | no | | Provider ID from eigenpal.config.yaml (e.g. "openai-gpt5.4-mini"). Falls back to the tenant default LLM provider when omitted. |
1583
- | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
1583
+ | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
1584
1584
  | `windowTokenBudget` | integer | no | | Override the per-window token ceiling for this step. Defaults to env SPLIT_WINDOW_TOKEN_BUDGET or 20000. Smaller windows give sharper anchors on contract-style documents (less competing context for the LLM to mis-anchor on); bump to 50k–100k when sections routinely exceed per-window page count. |
1585
1585
 
1586
1586
  **Output:** `object`
@@ -1648,7 +1648,7 @@ Config schema:
1648
1648
  "type": "string"
1649
1649
  },
1650
1650
  "reasoningEffort": {
1651
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
1651
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
1652
1652
  "type": "string",
1653
1653
  "enum": [
1654
1654
  "none",
@@ -2052,7 +2052,7 @@ Separate a concatenated batch (one big scan) into typed document instances using
2052
2052
  | `documentTypes` | array<object> | yes | | The document-type taxonomy. The LLM tags each detected document with one of these names, or the reserved "unknown" type when none fit. |
2053
2053
  | `rules` | string | no | | Optional natural-language rules appended to the system prompt. |
2054
2054
  | `provider` | string | no | | Provider ID from eigenpal.config.yaml. Falls back to the tenant default LLM provider when omitted. |
2055
- | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
2055
+ | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
2056
2056
  | `windowTokenBudget` | integer | no | | Override the per-window token ceiling. Defaults to env SPLIT_WINDOW_TOKEN_BUDGET or 20000. |
2057
2057
 
2058
2058
  **Output:** `object`
@@ -2107,7 +2107,7 @@ Config schema:
2107
2107
  "type": "string"
2108
2108
  },
2109
2109
  "reasoningEffort": {
2110
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
2110
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
2111
2111
  "type": "string",
2112
2112
  "enum": [
2113
2113
  "none",
@@ -2416,7 +2416,7 @@ Classify a document or text into one of a fixed label set using an LLM. Output e
2416
2416
  | `prompt` | string | no | | Custom classification instructions appended to the system prompt. Use to clarify edge cases or emphasize evidence the model should weigh. |
2417
2417
  | `provider` | string | no | | Provider ID from eigenpal.config.yaml (e.g. "openai-gpt4o-mini"). Falls back to the tenant default LLM provider when omitted. |
2418
2418
  | `model` | string | no | | Model override (advanced) |
2419
- | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
2419
+ | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
2420
2420
  | `maxInputTokens` | integer | no | | Max input tokens. Truncates input text when exceeded. Omit for no limit. |
2421
2421
 
2422
2422
  **Output:** `object`
@@ -2476,7 +2476,7 @@ Config schema:
2476
2476
  "type": "string"
2477
2477
  },
2478
2478
  "reasoningEffort": {
2479
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
2479
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
2480
2480
  "type": "string",
2481
2481
  "enum": [
2482
2482
  "none",
@@ -2556,7 +2556,7 @@ Assign zero or more labels to each page independently (multi-label) using an LLM
2556
2556
  | `prompt` | string | no | | Extra classification guidance appended to the system prompt. |
2557
2557
  | `provider` | string | no | | Provider ID from eigenpal.config.yaml. Falls back to the tenant default. |
2558
2558
  | `model` | string | no | | Model override (advanced). |
2559
- | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
2559
+ | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
2560
2560
  | `windowTokenBudget` | integer | no | | Per-window token ceiling. Pages are packed into windows under this budget; one LLM call per window. Defaults to env SPLIT_WINDOW_TOKEN_BUDGET (20000). |
2561
2561
 
2562
2562
  **Output:** `object`
@@ -2623,7 +2623,7 @@ Config schema:
2623
2623
  "type": "string"
2624
2624
  },
2625
2625
  "reasoningEffort": {
2626
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
2626
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
2627
2627
  "type": "string",
2628
2628
  "enum": [
2629
2629
  "none",
@@ -2729,7 +2729,7 @@ Inspect rendered page images with a vision model and return structured JSON matc
2729
2729
  | `prompt` | string | no | | Optional instruction refining the extraction. The schema drives it when omitted. |
2730
2730
  | `provider` | string | no | | Provider ID (must support vision). |
2731
2731
  | `model` | string | no | | Model override (must support vision). |
2732
- | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to preserve the current provider default. |
2732
+ | `reasoningEffort` | `"none"` \| `"minimal"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"` \| `"max"` | no | | Reasoning effort for models that support it. Omit to use the selected model's default. |
2733
2733
  | `renderScale` | number | no | | PDF render scale (1.0 = 72 DPI). Raise for small text or weak VLM OCR. Capped at 6 to avoid oversized page rasters. |
2734
2734
  | `imageQuality` | integer | no | | JPEG quality for rendered pages (default 85). |
2735
2735
  | `maxPages` | integer | no | | Chunk size: the maximum pages sent to the vision model in a single call. When the inspected range (or the whole document) is larger, it is split into chunks of this size and the per-chunk results are merged by a reduce pass. The reduce follows each field's DESCRIPTION: a boolean described as "present on any page" is OR-ed, one described as "true for every page" is AND-ed, and list fields are concatenated. The merge is most reliable for boolean/scalar claims; for schemas that AGGREGATE long lists across chunks it can still drop or reorder items, so prefer a bounded page range for large list extraction. Default 20, capped at 100. |
@@ -2882,7 +2882,7 @@ Config schema:
2882
2882
  "type": "string"
2883
2883
  },
2884
2884
  "reasoningEffort": {
2885
- "description": "Reasoning effort for models that support it. Omit to preserve the current provider default.",
2885
+ "description": "Reasoning effort for models that support it. Omit to use the selected model's default.",
2886
2886
  "type": "string",
2887
2887
  "enum": [
2888
2888
  "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eigenpal/cli",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
5
5
  "keywords": [
6
6
  "eigenpal",