@eigenpal/cli 0.20.38 → 0.20.40
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 +6 -0
- package/dist/cli.js +11 -7
- package/dist/docs-bundle.json +16 -2
- package/dist/skill/reference/workflow-yaml.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -56014,6 +56014,9 @@ function validateInputProperties(props, path, inputName, ctx) {
|
|
|
56014
56014
|
}
|
|
56015
56015
|
});
|
|
56016
56016
|
}
|
|
56017
|
+
function isFileOrFileArrayInput(def) {
|
|
56018
|
+
return def.type === "file" || def.type === "array" && def.items?.type === "file";
|
|
56019
|
+
}
|
|
56017
56020
|
var WORKFLOW_NAME_PATTERN, WorkflowNameSchema, WorkflowInputPropertySchema, WorkflowInputDefSchema, ManualTriggerMethodSchema, ApiTriggerMethodSchema, EmailTriggerMethodSchema, TriggerMethodSchema, TriggerMethodsSchema, WorkflowSettingsSchema, WorkflowDefinitionSchema, StoredWorkflowDefinitionSchema, CreateWorkflowDefinitionSchema;
|
|
56018
56021
|
var init_workflow = __esm(() => {
|
|
56019
56022
|
init_zod();
|
|
@@ -56048,7 +56051,7 @@ var init_workflow = __esm(() => {
|
|
|
56048
56051
|
properties: array(WorkflowInputPropertySchema).optional().describe("Recursive fields when items.type is object.")
|
|
56049
56052
|
}).optional().describe("Element definition when type is array."),
|
|
56050
56053
|
properties: array(WorkflowInputPropertySchema).optional().describe("Recursive field definitions when type is object."),
|
|
56051
|
-
source: string2().min(1).optional().describe("Registered external file resolver for single-tenant
|
|
56054
|
+
source: string2().min(1).optional().describe("Registered external file resolver for single-tenant file-reference inputs, for example gpfs; valid on type file or an array of file (one reference per file)."),
|
|
56052
56055
|
mimeType: string2().min(1).optional().describe("MIME hint such as application/pdf for a sourced file; mutually exclusive with extension."),
|
|
56053
56056
|
extension: string2().min(1).optional().describe("Extension hint such as pdf for a sourced file; mutually exclusive with mimeType.")
|
|
56054
56057
|
}).superRefine((def, ctx) => {
|
|
@@ -56071,15 +56074,16 @@ var init_workflow = __esm(() => {
|
|
|
56071
56074
|
if (def.items?.properties) {
|
|
56072
56075
|
validateInputProperties(def.items.properties, ["items", "properties"], def.name, ctx);
|
|
56073
56076
|
}
|
|
56074
|
-
|
|
56077
|
+
const isFileShaped = isFileOrFileArrayInput(def);
|
|
56078
|
+
if (def.source && !isFileShaped) {
|
|
56075
56079
|
ctx.addIssue({
|
|
56076
56080
|
code: ZodIssueCode.custom,
|
|
56077
56081
|
path: ["source"],
|
|
56078
|
-
message: `"source" is only valid on a file input; input "${def.name}" has type "${def.type}"`
|
|
56082
|
+
message: `"source" is only valid on a file or file-list input; input "${def.name}" has type "${def.type}"`
|
|
56079
56083
|
});
|
|
56080
56084
|
}
|
|
56081
56085
|
const hasHint = def.mimeType !== undefined || def.extension !== undefined;
|
|
56082
|
-
if (hasHint && !(
|
|
56086
|
+
if (hasHint && !(isFileShaped && def.source)) {
|
|
56083
56087
|
ctx.addIssue({
|
|
56084
56088
|
code: ZodIssueCode.custom,
|
|
56085
56089
|
path: [def.mimeType !== undefined ? "mimeType" : "extension"],
|
|
@@ -57432,11 +57436,11 @@ var init_webhooks = __esm(() => {
|
|
|
57432
57436
|
});
|
|
57433
57437
|
|
|
57434
57438
|
// ../types/src/execution-tags.ts
|
|
57435
|
-
var ExecutionTagSchema, ExecutionTagsSchema;
|
|
57439
|
+
var ExecutionTagSchema, MAX_EXECUTION_TAGS = 100, ExecutionTagsSchema;
|
|
57436
57440
|
var init_execution_tags = __esm(() => {
|
|
57437
57441
|
init_zod();
|
|
57438
57442
|
ExecutionTagSchema = string2().min(1).max(256).refine((tag) => tag.trim().length > 0, "Tags must not be blank");
|
|
57439
|
-
ExecutionTagsSchema = union([ExecutionTagSchema, array(ExecutionTagSchema).max(
|
|
57443
|
+
ExecutionTagsSchema = union([ExecutionTagSchema, array(ExecutionTagSchema).max(MAX_EXECUTION_TAGS)]).transform((tags) => [...new Set(typeof tags === "string" ? [tags] : tags)]);
|
|
57440
57444
|
});
|
|
57441
57445
|
|
|
57442
57446
|
// ../types/src/index.ts
|
|
@@ -207568,7 +207572,7 @@ function resolveRequestUrl(baseUrl, path) {
|
|
|
207568
207572
|
// package.json
|
|
207569
207573
|
var package_default = {
|
|
207570
207574
|
name: "@eigenpal/cli",
|
|
207571
|
-
version: "0.20.
|
|
207575
|
+
version: "0.20.40",
|
|
207572
207576
|
description: "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
|
|
207573
207577
|
keywords: [
|
|
207574
207578
|
"eigenpal",
|