@eigenpal/cli 0.20.62 → 0.20.63
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 +13 -1
- package/dist/cli.js +21 -10
- package/dist/docs-bundle.json +20 -13
- package/dist/skill/reference/debugging.md +4 -3
- package/dist/skill/reference/evaluators.md +3 -2
- package/dist/skill/reference/step-types.md +6 -6
- package/dist/skill/reference/workflow-yaml.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @eigenpal/cli
|
|
2
2
|
|
|
3
|
+
## 0.20.63
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7d9ae17: Use customer-neutral file-source examples in the bundled workflow reference.
|
|
8
|
+
|
|
9
|
+
## 0.20.63
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 105f356: Workflow examples use current model IDs, and evaluation guidance covers reasoning settings and checks when changing models.
|
|
14
|
+
|
|
3
15
|
## 0.20.53
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -353,7 +365,7 @@ push`) before running `--example`.
|
|
|
353
365
|
|
|
354
366
|
### Patch Changes
|
|
355
367
|
|
|
356
|
-
- ca9ae4f: Workflow inputs can declare an external file `source` (single-tenant on-prem). A `type: file` input with `source: <name>` (e.g. `
|
|
368
|
+
- ca9ae4f: Workflow inputs can declare an external file `source` (single-tenant on-prem). A `type: file` input with `source: <name>` (e.g. `documents-s3`) is provided as a plain string id at run time; the worker resolves it to a file artifact via the configured source before the workflow executes.
|
|
357
369
|
|
|
358
370
|
## 0.9.0
|
|
359
371
|
|
package/dist/cli.js
CHANGED
|
@@ -15838,7 +15838,7 @@ var init_classify = __esm(() => {
|
|
|
15838
15838
|
ClassifyConfigSchema = object({
|
|
15839
15839
|
labels: array(ClassifyLabelSchema).min(2).describe("Allowed labels. The LLM is constrained to pick exactly one of these names."),
|
|
15840
15840
|
prompt: string2().optional().describe("Optional classification instructions appended to the system prompt. Use to clarify edge cases or emphasize evidence the model should weigh."),
|
|
15841
|
-
provider: string2().optional().describe('Provider ID (e.g., "openai-
|
|
15841
|
+
provider: string2().optional().describe('Provider ID (e.g., "openai/gpt-6-luna")'),
|
|
15842
15842
|
model: string2().optional().describe("Model override"),
|
|
15843
15843
|
reasoningEffort: ReasoningEffortSchema.optional().describe("Reasoning effort for the classification model. Omit to use the model default."),
|
|
15844
15844
|
maxInputTokens: number2().int().optional().describe("Max input tokens. Truncates input text when exceeded. Omit for no limit.")
|
|
@@ -15905,7 +15905,7 @@ var init_extract = __esm(() => {
|
|
|
15905
15905
|
ExtractConfigSchema = object({
|
|
15906
15906
|
schema: record(string2(), unknown()).describe("JSON Schema defining the structure to extract"),
|
|
15907
15907
|
prompt: string2().optional().describe("Custom prompt template for extraction"),
|
|
15908
|
-
provider: string2().optional().describe('Provider ID to use (e.g., "openai-
|
|
15908
|
+
provider: string2().optional().describe('Provider ID to use (e.g., "openai/gpt-6-luna", "anthropic/claude-sonnet-5-5")'),
|
|
15909
15909
|
model: string2().optional().describe("Model to use (overrides provider default)"),
|
|
15910
15910
|
reasoningEffort: ReasoningEffortSchema.optional().describe("Reasoning effort for the extraction model. Omit to use the model default."),
|
|
15911
15911
|
maxInputTokens: number2().int().optional().describe("Max input tokens. Truncates input text and logs a warning when exceeded. Omit for no limit."),
|
|
@@ -16100,7 +16100,7 @@ var init_segment = __esm(() => {
|
|
|
16100
16100
|
description: string2().optional().describe("What this document type looks like — headings, layout, vocabulary, and the visual cues that mark its FIRST page. Fed to the LLM as guidance for both boundary detection and typing.")
|
|
16101
16101
|
})).min(1).describe('The document-type taxonomy. The LLM tags each detected document with one of these names, or the reserved "unknown" type when none fit.'),
|
|
16102
16102
|
rules: string2().optional().describe("Optional natural-language rules appended to the system prompt"),
|
|
16103
|
-
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai-
|
|
16103
|
+
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai/gpt-6-luna"). Falls back to the tenant default LLM provider when omitted.'),
|
|
16104
16104
|
reasoningEffort: ReasoningEffortSchema.optional().describe("Reasoning effort for the segmentation model. Omit to use the model default."),
|
|
16105
16105
|
windowTokenBudget: number2().int().positive().optional().describe("Per-window token ceiling. Defaults to env SPLIT_WINDOW_TOKEN_BUDGET or 20000. Smaller windows give sharper boundaries on dense batches; larger windows when documents routinely exceed the per-window page count.")
|
|
16106
16106
|
});
|
|
@@ -16164,7 +16164,7 @@ var init_split = __esm(() => {
|
|
|
16164
16164
|
endHints: array(string2()).optional().describe('Natural-language hints fed to the LLM about what marks the END of this section (e.g. ["PRÍPAD PORUŠENIA ZMLUVY", "*Koniec prílohy*", "the next chapter heading"]). The LLM uses these as guidance — not a regex match — so casing variants, missing diacritics, and multilingual phrasings still close the section correctly. The LLM emits a structured end_anchor per section it judges closed; deterministic merge applies it.')
|
|
16165
16165
|
})).min(1),
|
|
16166
16166
|
rules: string2().optional().describe("Optional natural-language rules appended to the system prompt"),
|
|
16167
|
-
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai-
|
|
16167
|
+
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai/gpt-6-luna"). Falls back to the tenant default LLM provider when omitted.'),
|
|
16168
16168
|
reasoningEffort: ReasoningEffortSchema.optional().describe("Reasoning effort for the split model. Omit to use the model default."),
|
|
16169
16169
|
windowTokenBudget: number2().int().positive().optional().describe("Per-window token ceiling, enforced across and within parsed pages while preserving the original page index. Defaults to env SPLIT_WINDOW_TOKEN_BUDGET or 20000. Smaller windows give sharper anchors on contract-style documents; use 50k–100k only when broader context is necessary. The step rejects inputs requiring more than 64 LLM windows.")
|
|
16170
16170
|
});
|
|
@@ -16659,7 +16659,10 @@ var init_descriptor = __esm(() => {
|
|
|
16659
16659
|
}
|
|
16660
16660
|
if (certificate !== privateKey)
|
|
16661
16661
|
errors.push("Set both the client certificate and private key");
|
|
16662
|
-
if (
|
|
16662
|
+
if (config.useDeploymentCertificate === true && (username || password || certificate || privateKey || isSet(config, "caCertificate"))) {
|
|
16663
|
+
errors.push("Remove connection credentials before using the deployment certificate");
|
|
16664
|
+
}
|
|
16665
|
+
if (config.useDeploymentCertificate !== true && !username && !password && !certificate && !privateKey) {
|
|
16663
16666
|
errors.push("Set a username and password, or a client certificate and private key");
|
|
16664
16667
|
}
|
|
16665
16668
|
if (!Number.isInteger(config.maxFileBytes) || Number(config.maxFileBytes) < 1 || Number(config.maxFileBytes) > 100 * 1024 * 1024) {
|
|
@@ -16677,6 +16680,14 @@ var init_descriptor = __esm(() => {
|
|
|
16677
16680
|
description: "The HTTPS gateway for the Document Archive getContent operation."
|
|
16678
16681
|
},
|
|
16679
16682
|
allowedContainersField("object stores"),
|
|
16683
|
+
{
|
|
16684
|
+
key: "useDeploymentCertificate",
|
|
16685
|
+
label: "Use deployment certificate",
|
|
16686
|
+
type: "boolean",
|
|
16687
|
+
required: false,
|
|
16688
|
+
default: false,
|
|
16689
|
+
description: "Use the client certificate mounted by your administrator. No private key needs to be pasted here."
|
|
16690
|
+
},
|
|
16680
16691
|
{
|
|
16681
16692
|
key: "username",
|
|
16682
16693
|
label: "Username",
|
|
@@ -54960,7 +54971,7 @@ var init_step_configs = __esm(() => {
|
|
|
54960
54971
|
message: "Extraction schema must define at least one field"
|
|
54961
54972
|
}).describe("JSON Schema defining the structure to extract"),
|
|
54962
54973
|
prompt: string2().optional().describe("Custom prompt template for extraction"),
|
|
54963
|
-
provider: string2().optional().describe('Provider ID (e.g., "openai-
|
|
54974
|
+
provider: string2().optional().describe('Provider ID (e.g., "openai/gpt-6-luna")'),
|
|
54964
54975
|
model: string2().optional().describe("Model override"),
|
|
54965
54976
|
reasoningEffort: OptionalReasoningEffortSchema,
|
|
54966
54977
|
maxInputTokens: number2().int().optional().describe("Max input tokens. Truncates input text and logs a warning when exceeded. Omit for no limit."),
|
|
@@ -55025,7 +55036,7 @@ var init_step_configs = __esm(() => {
|
|
|
55025
55036
|
endHints: array(string2()).optional().describe('Natural-language hints fed to the LLM about what marks the END of this section (e.g. ["PRÍPAD PORUŠENIA ZMLUVY", "*Koniec prílohy*"]). The LLM uses these as guidance — not a regex match — so casing variants, missing diacritics, and multilingual phrasings all close the section correctly.')
|
|
55026
55037
|
})).min(1).describe("Named sections to find in the document"),
|
|
55027
55038
|
rules: string2().optional().describe('Optional natural-language rules appended to the system prompt. E.g. "End-of-section markers like *Koniec prílohy 2* close the current section."'),
|
|
55028
|
-
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai-
|
|
55039
|
+
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai/gpt-6-luna"). Falls back to the tenant default LLM provider when omitted.'),
|
|
55029
55040
|
reasoningEffort: OptionalReasoningEffortSchema,
|
|
55030
55041
|
windowTokenBudget: number2().int().positive().optional().describe("Override the estimated per-window token ceiling. Oversized pages are subdivided with overlap while retaining their original page index. Defaults to env SPLIT_WINDOW_TOKEN_BUDGET or 20000. Inputs requiring more than 64 LLM windows are rejected before calls begin.")
|
|
55031
55042
|
});
|
|
@@ -55111,7 +55122,7 @@ var init_step_configs = __esm(() => {
|
|
|
55111
55122
|
description: string2().optional().describe("What documents fall into this label. Fed to the LLM as guidance.")
|
|
55112
55123
|
})).min(2).describe("Allowed labels. The LLM is constrained to pick exactly one of these names."),
|
|
55113
55124
|
prompt: string2().optional().describe("Custom classification instructions appended to the system prompt. Use to clarify edge cases or emphasize evidence the model should weigh."),
|
|
55114
|
-
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai-
|
|
55125
|
+
provider: string2().optional().describe('Provider ID from eigenpal.config.yaml (e.g. "openai/gpt-6-luna"). Falls back to the tenant default LLM provider when omitted.'),
|
|
55115
55126
|
model: string2().optional().describe("Model override (advanced)"),
|
|
55116
55127
|
reasoningEffort: OptionalReasoningEffortSchema,
|
|
55117
55128
|
maxInputTokens: number2().int().optional().describe("Max input tokens. Truncates input text when exceeded. Omit for no limit.")
|
|
@@ -56102,7 +56113,7 @@ var init_workflow = __esm(() => {
|
|
|
56102
56113
|
properties: array(WorkflowInputPropertySchema).optional().describe("Recursive fields when items.type is object.")
|
|
56103
56114
|
}).optional().describe("Element definition when type is array."),
|
|
56104
56115
|
properties: array(WorkflowInputPropertySchema).optional().describe("Recursive field definitions when type is object."),
|
|
56105
|
-
source: string2().min(1).optional().describe("
|
|
56116
|
+
source: string2().min(1).optional().describe("Named external file source connection for single-tenant file-reference inputs, for example documents-s3; valid on type file or an array of file (one reference per file)."),
|
|
56106
56117
|
mimeType: string2().min(1).optional().describe("MIME hint such as application/pdf for a sourced file; mutually exclusive with extension."),
|
|
56107
56118
|
extension: string2().min(1).optional().describe("Extension hint such as pdf for a sourced file; mutually exclusive with mimeType.")
|
|
56108
56119
|
}).superRefine((def, ctx) => {
|
|
@@ -208147,7 +208158,7 @@ function toPutBody(body) {
|
|
|
208147
208158
|
// package.json
|
|
208148
208159
|
var package_default = {
|
|
208149
208160
|
name: "@eigenpal/cli",
|
|
208150
|
-
version: "0.20.
|
|
208161
|
+
version: "0.20.63",
|
|
208151
208162
|
description: "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
|
|
208152
208163
|
keywords: [
|
|
208153
208164
|
"eigenpal",
|