@shipfox/workflow-document 3.0.1 → 3.2.0

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/README.md CHANGED
@@ -160,7 +160,12 @@ parseWorkflowDocument({
160
160
  is validated against a fixed set (`off`, `minimal`, `low`, `medium`, `high`,
161
161
  `xhigh`). Provider, model, tool, integration connection, and integration
162
162
  catalog checks belong to the model layer, not this parser. The `agent` key is
163
- reserved for a future step kind and is rejected today.
163
+ reserved for a future step kind and is rejected today. The `tool`,
164
+ `connection`, and `with` fields and the expression `outputs` mapping form are
165
+ reserved for the upcoming tool step kind; any step carrying one of these
166
+ fields is rejected with "Tool steps are not available yet." Their shape still parses:
167
+ `with` is a JSON tree of tool inputs limited to 32768 serialized bytes and 16
168
+ nesting levels, and its `method` key is rejected.
164
169
  - `env` can be declared on the workflow, a job, or a run step. Values may be
165
170
  strings, numbers, or booleans; the model layer stringifies numbers and
166
171
  booleans before a run is saved. Values are literal. Expression interpolation
@@ -1,6 +1,6 @@
1
1
  export { type CheckoutTargetValidationIssue, checkoutTargetValidationIssues, } from './checkout-target-validation.js';
2
2
  export { type AgentThinking, agentThinkingByHarness, agentThinkingSchema, claudeAgentThinkingSchema, DEFAULT_AGENT_THINKING, DEFAULT_HARNESS, DEFAULT_MODEL_PROVIDER, type Harness, harnessSchema, piAgentThinkingSchema, thinkingLevelsForHarness, } from './step-enums.js';
3
- export { triggerSourceConfigSchemas, WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES, WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES, type WorkflowDocument, type WorkflowDocumentCheckout, type WorkflowDocumentEnv, type WorkflowDocumentJob, type WorkflowDocumentJobCheckout, type WorkflowDocumentRunStepGate, type WorkflowDocumentStep, type WorkflowDocumentStepIntegration, type WorkflowDocumentStepOutputs, type WorkflowDocumentStepOutputType, type WorkflowDocumentTrigger, workflowDocumentCheckoutSchema, workflowDocumentEnvSchema, workflowDocumentJobSchema, workflowDocumentSchema, workflowDocumentStepIntegrationSchema, workflowDocumentStepIntegrationSelectionSchema, workflowDocumentStepOutputsSchema, workflowDocumentStepOutputTypes, workflowDocumentStepSchema, workflowDocumentTriggerSchema, } from './workflow-document.js';
3
+ export { triggerSourceConfigSchemas, WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES, WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES, WORKFLOW_DOCUMENT_TOOL_WITH_MAX_DEPTH, WORKFLOW_DOCUMENT_TOOL_WITH_MAX_SERIALIZED_BYTES, type WorkflowDocument, type WorkflowDocumentCheckout, type WorkflowDocumentEnv, type WorkflowDocumentJob, type WorkflowDocumentJobCheckout, type WorkflowDocumentRunStepGate, type WorkflowDocumentStep, type WorkflowDocumentStepIntegration, type WorkflowDocumentStepOutputs, type WorkflowDocumentStepOutputType, type WorkflowDocumentToolStepOutputs, type WorkflowDocumentToolWith, type WorkflowDocumentTrigger, workflowDocumentCheckoutSchema, workflowDocumentEnvSchema, workflowDocumentJobSchema, workflowDocumentSchema, workflowDocumentStepIntegrationSchema, workflowDocumentStepIntegrationSelectionSchema, workflowDocumentStepOutputsSchema, workflowDocumentStepOutputTypes, workflowDocumentStepSchema, workflowDocumentToolStepOutputsSchema, workflowDocumentToolStepWithSchema, workflowDocumentTriggerSchema, } from './workflow-document.js';
4
4
  export { InvalidWorkflowDocumentError, invalidWorkflowDocumentErrorCode, parseWorkflowDocument, } from './workflow-document-parser.js';
5
5
  export { type BuildWorkflowJsonSchemaOptions, buildWorkflowJsonSchema, } from './workflow-json-schema.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/document/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,6BAA6B,EAClC,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,aAAa,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,KAAK,OAAO,EACZ,aAAa,EACb,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,0CAA0C,EAC1C,yCAAyC,EACzC,8CAA8C,EAC9C,yDAAyD,EACzD,0CAA0C,EAC1C,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,8BAA8B,EAC9B,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,qCAAqC,EACrC,8CAA8C,EAC9C,iCAAiC,EACjC,+BAA+B,EAC/B,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,8BAA8B,EACnC,uBAAuB,GACxB,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/document/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,6BAA6B,EAClC,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,aAAa,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,KAAK,OAAO,EACZ,aAAa,EACb,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,0CAA0C,EAC1C,yCAAyC,EACzC,8CAA8C,EAC9C,yDAAyD,EACzD,0CAA0C,EAC1C,qCAAqC,EACrC,gDAAgD,EAChD,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,8BAA8B,EAC9B,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,qCAAqC,EACrC,8CAA8C,EAC9C,iCAAiC,EACjC,+BAA+B,EAC/B,0BAA0B,EAC1B,qCAAqC,EACrC,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,8BAA8B,EACnC,uBAAuB,GACxB,MAAM,2BAA2B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export { checkoutTargetValidationIssues } from './checkout-target-validation.js';
2
2
  export { agentThinkingByHarness, agentThinkingSchema, claudeAgentThinkingSchema, DEFAULT_AGENT_THINKING, DEFAULT_HARNESS, DEFAULT_MODEL_PROVIDER, harnessSchema, piAgentThinkingSchema, thinkingLevelsForHarness } from './step-enums.js';
3
- export { triggerSourceConfigSchemas, WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES, WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES, workflowDocumentCheckoutSchema, workflowDocumentEnvSchema, workflowDocumentJobSchema, workflowDocumentSchema, workflowDocumentStepIntegrationSchema, workflowDocumentStepIntegrationSelectionSchema, workflowDocumentStepOutputsSchema, workflowDocumentStepOutputTypes, workflowDocumentStepSchema, workflowDocumentTriggerSchema } from './workflow-document.js';
3
+ export { triggerSourceConfigSchemas, WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES, WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH, WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES, WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES, WORKFLOW_DOCUMENT_TOOL_WITH_MAX_DEPTH, WORKFLOW_DOCUMENT_TOOL_WITH_MAX_SERIALIZED_BYTES, workflowDocumentCheckoutSchema, workflowDocumentEnvSchema, workflowDocumentJobSchema, workflowDocumentSchema, workflowDocumentStepIntegrationSchema, workflowDocumentStepIntegrationSelectionSchema, workflowDocumentStepOutputsSchema, workflowDocumentStepOutputTypes, workflowDocumentStepSchema, workflowDocumentToolStepOutputsSchema, workflowDocumentToolStepWithSchema, workflowDocumentTriggerSchema } from './workflow-document.js';
4
4
  export { InvalidWorkflowDocumentError, invalidWorkflowDocumentErrorCode, parseWorkflowDocument } from './workflow-document-parser.js';
5
5
  export { buildWorkflowJsonSchema } from './workflow-json-schema.js';
6
6
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/document/index.ts"],"sourcesContent":["export {\n type CheckoutTargetValidationIssue,\n checkoutTargetValidationIssues,\n} from './checkout-target-validation.js';\nexport {\n type AgentThinking,\n agentThinkingByHarness,\n agentThinkingSchema,\n claudeAgentThinkingSchema,\n DEFAULT_AGENT_THINKING,\n DEFAULT_HARNESS,\n DEFAULT_MODEL_PROVIDER,\n type Harness,\n harnessSchema,\n piAgentThinkingSchema,\n thinkingLevelsForHarness,\n} from './step-enums.js';\nexport {\n triggerSourceConfigSchemas,\n WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES,\n WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES,\n WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES,\n WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH,\n WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES,\n WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES,\n type WorkflowDocument,\n type WorkflowDocumentCheckout,\n type WorkflowDocumentEnv,\n type WorkflowDocumentJob,\n type WorkflowDocumentJobCheckout,\n type WorkflowDocumentRunStepGate,\n type WorkflowDocumentStep,\n type WorkflowDocumentStepIntegration,\n type WorkflowDocumentStepOutputs,\n type WorkflowDocumentStepOutputType,\n type WorkflowDocumentTrigger,\n workflowDocumentCheckoutSchema,\n workflowDocumentEnvSchema,\n workflowDocumentJobSchema,\n workflowDocumentSchema,\n workflowDocumentStepIntegrationSchema,\n workflowDocumentStepIntegrationSelectionSchema,\n workflowDocumentStepOutputsSchema,\n workflowDocumentStepOutputTypes,\n workflowDocumentStepSchema,\n workflowDocumentTriggerSchema,\n} from './workflow-document.js';\nexport {\n InvalidWorkflowDocumentError,\n invalidWorkflowDocumentErrorCode,\n parseWorkflowDocument,\n} from './workflow-document-parser.js';\nexport {\n type BuildWorkflowJsonSchemaOptions,\n buildWorkflowJsonSchema,\n} from './workflow-json-schema.js';\n"],"names":["checkoutTargetValidationIssues","agentThinkingByHarness","agentThinkingSchema","claudeAgentThinkingSchema","DEFAULT_AGENT_THINKING","DEFAULT_HARNESS","DEFAULT_MODEL_PROVIDER","harnessSchema","piAgentThinkingSchema","thinkingLevelsForHarness","triggerSourceConfigSchemas","WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES","WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES","WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES","WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH","WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES","WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES","workflowDocumentCheckoutSchema","workflowDocumentEnvSchema","workflowDocumentJobSchema","workflowDocumentSchema","workflowDocumentStepIntegrationSchema","workflowDocumentStepIntegrationSelectionSchema","workflowDocumentStepOutputsSchema","workflowDocumentStepOutputTypes","workflowDocumentStepSchema","workflowDocumentTriggerSchema","InvalidWorkflowDocumentError","invalidWorkflowDocumentErrorCode","parseWorkflowDocument","buildWorkflowJsonSchema"],"mappings":"AAAA,SAEEA,8BAA8B,QACzB,kCAAkC;AACzC,SAEEC,sBAAsB,EACtBC,mBAAmB,EACnBC,yBAAyB,EACzBC,sBAAsB,EACtBC,eAAe,EACfC,sBAAsB,EAEtBC,aAAa,EACbC,qBAAqB,EACrBC,wBAAwB,QACnB,kBAAkB;AACzB,SACEC,0BAA0B,EAC1BC,iCAAiC,EACjCC,0CAA0C,EAC1CC,yCAAyC,EACzCC,8CAA8C,EAC9CC,yDAAyD,EACzDC,0CAA0C,EAY1CC,8BAA8B,EAC9BC,yBAAyB,EACzBC,yBAAyB,EACzBC,sBAAsB,EACtBC,qCAAqC,EACrCC,8CAA8C,EAC9CC,iCAAiC,EACjCC,+BAA+B,EAC/BC,0BAA0B,EAC1BC,6BAA6B,QACxB,yBAAyB;AAChC,SACEC,4BAA4B,EAC5BC,gCAAgC,EAChCC,qBAAqB,QAChB,gCAAgC;AACvC,SAEEC,uBAAuB,QAClB,4BAA4B"}
1
+ {"version":3,"sources":["../../src/document/index.ts"],"sourcesContent":["export {\n type CheckoutTargetValidationIssue,\n checkoutTargetValidationIssues,\n} from './checkout-target-validation.js';\nexport {\n type AgentThinking,\n agentThinkingByHarness,\n agentThinkingSchema,\n claudeAgentThinkingSchema,\n DEFAULT_AGENT_THINKING,\n DEFAULT_HARNESS,\n DEFAULT_MODEL_PROVIDER,\n type Harness,\n harnessSchema,\n piAgentThinkingSchema,\n thinkingLevelsForHarness,\n} from './step-enums.js';\nexport {\n triggerSourceConfigSchemas,\n WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES,\n WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES,\n WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES,\n WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH,\n WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES,\n WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES,\n WORKFLOW_DOCUMENT_TOOL_WITH_MAX_DEPTH,\n WORKFLOW_DOCUMENT_TOOL_WITH_MAX_SERIALIZED_BYTES,\n type WorkflowDocument,\n type WorkflowDocumentCheckout,\n type WorkflowDocumentEnv,\n type WorkflowDocumentJob,\n type WorkflowDocumentJobCheckout,\n type WorkflowDocumentRunStepGate,\n type WorkflowDocumentStep,\n type WorkflowDocumentStepIntegration,\n type WorkflowDocumentStepOutputs,\n type WorkflowDocumentStepOutputType,\n type WorkflowDocumentToolStepOutputs,\n type WorkflowDocumentToolWith,\n type WorkflowDocumentTrigger,\n workflowDocumentCheckoutSchema,\n workflowDocumentEnvSchema,\n workflowDocumentJobSchema,\n workflowDocumentSchema,\n workflowDocumentStepIntegrationSchema,\n workflowDocumentStepIntegrationSelectionSchema,\n workflowDocumentStepOutputsSchema,\n workflowDocumentStepOutputTypes,\n workflowDocumentStepSchema,\n workflowDocumentToolStepOutputsSchema,\n workflowDocumentToolStepWithSchema,\n workflowDocumentTriggerSchema,\n} from './workflow-document.js';\nexport {\n InvalidWorkflowDocumentError,\n invalidWorkflowDocumentErrorCode,\n parseWorkflowDocument,\n} from './workflow-document-parser.js';\nexport {\n type BuildWorkflowJsonSchemaOptions,\n buildWorkflowJsonSchema,\n} from './workflow-json-schema.js';\n"],"names":["checkoutTargetValidationIssues","agentThinkingByHarness","agentThinkingSchema","claudeAgentThinkingSchema","DEFAULT_AGENT_THINKING","DEFAULT_HARNESS","DEFAULT_MODEL_PROVIDER","harnessSchema","piAgentThinkingSchema","thinkingLevelsForHarness","triggerSourceConfigSchemas","WORKFLOW_DOCUMENT_ENV_MAX_ENTRIES","WORKFLOW_DOCUMENT_ENV_MAX_SERIALIZED_BYTES","WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES","WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH","WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES","WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES","WORKFLOW_DOCUMENT_TOOL_WITH_MAX_DEPTH","WORKFLOW_DOCUMENT_TOOL_WITH_MAX_SERIALIZED_BYTES","workflowDocumentCheckoutSchema","workflowDocumentEnvSchema","workflowDocumentJobSchema","workflowDocumentSchema","workflowDocumentStepIntegrationSchema","workflowDocumentStepIntegrationSelectionSchema","workflowDocumentStepOutputsSchema","workflowDocumentStepOutputTypes","workflowDocumentStepSchema","workflowDocumentToolStepOutputsSchema","workflowDocumentToolStepWithSchema","workflowDocumentTriggerSchema","InvalidWorkflowDocumentError","invalidWorkflowDocumentErrorCode","parseWorkflowDocument","buildWorkflowJsonSchema"],"mappings":"AAAA,SAEEA,8BAA8B,QACzB,kCAAkC;AACzC,SAEEC,sBAAsB,EACtBC,mBAAmB,EACnBC,yBAAyB,EACzBC,sBAAsB,EACtBC,eAAe,EACfC,sBAAsB,EAEtBC,aAAa,EACbC,qBAAqB,EACrBC,wBAAwB,QACnB,kBAAkB;AACzB,SACEC,0BAA0B,EAC1BC,iCAAiC,EACjCC,0CAA0C,EAC1CC,yCAAyC,EACzCC,8CAA8C,EAC9CC,yDAAyD,EACzDC,0CAA0C,EAC1CC,qCAAqC,EACrCC,gDAAgD,EAchDC,8BAA8B,EAC9BC,yBAAyB,EACzBC,yBAAyB,EACzBC,sBAAsB,EACtBC,qCAAqC,EACrCC,8CAA8C,EAC9CC,iCAAiC,EACjCC,+BAA+B,EAC/BC,0BAA0B,EAC1BC,qCAAqC,EACrCC,kCAAkC,EAClCC,6BAA6B,QACxB,yBAAyB;AAChC,SACEC,4BAA4B,EAC5BC,gCAAgC,EAChCC,qBAAqB,QAChB,gCAAgC;AACvC,SAEEC,uBAAuB,QAClB,4BAA4B"}
@@ -1,10 +1,10 @@
1
- import type { z } from 'zod';
1
+ import { z } from 'zod';
2
2
  import { type WorkflowDocument } from './workflow-document.js';
3
3
  export declare const invalidWorkflowDocumentErrorCode = "invalid-workflow-document";
4
4
  export declare class InvalidWorkflowDocumentError extends Error {
5
5
  readonly code = "invalid-workflow-document";
6
6
  readonly validationError: z.ZodError<WorkflowDocument>;
7
- constructor(validationError: z.ZodError<WorkflowDocument>);
7
+ constructor(validationError: z.ZodError<WorkflowDocument>, cause?: unknown);
8
8
  }
9
9
  export declare function parseWorkflowDocument(input: unknown): WorkflowDocument;
10
10
  //# sourceMappingURL=workflow-document-parser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-document-parser.d.ts","sourceRoot":"","sources":["../../src/document/workflow-document-parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAC,KAAK,gBAAgB,EAAyB,MAAM,wBAAwB,CAAC;AAErF,eAAO,MAAM,gCAAgC,8BAA8B,CAAC;AAE5E,qBAAa,4BAA6B,SAAQ,KAAK;IACrD,QAAQ,CAAC,IAAI,+BAAoC;IACjD,QAAQ,CAAC,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAEvD,YAAY,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAIxD;CACF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAKtE"}
1
+ {"version":3,"file":"workflow-document-parser.d.ts","sourceRoot":"","sources":["../../src/document/workflow-document-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,KAAK,gBAAgB,EAAyB,MAAM,wBAAwB,CAAC;AAErF,eAAO,MAAM,gCAAgC,8BAA8B,CAAC;AAE5E,qBAAa,4BAA6B,SAAQ,KAAK;IACrD,QAAQ,CAAC,IAAI,+BAAoC;IACjD,QAAQ,CAAC,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAEvD,YAAY,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,KAAK,GAAE,OAAyB,EAI1F;CACF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAkBtE"}
@@ -1,18 +1,31 @@
1
+ import { z } from 'zod';
1
2
  import { workflowDocumentSchema } from './workflow-document.js';
2
3
  export const invalidWorkflowDocumentErrorCode = 'invalid-workflow-document';
3
4
  export class InvalidWorkflowDocumentError extends Error {
4
- constructor(validationError){
5
+ constructor(validationError, cause = validationError){
5
6
  super('Invalid workflow document', {
6
- cause: validationError
7
+ cause
7
8
  }), this.code = invalidWorkflowDocumentErrorCode;
8
9
  this.name = 'InvalidWorkflowDocumentError';
9
10
  this.validationError = validationError;
10
11
  }
11
12
  }
12
13
  export function parseWorkflowDocument(input) {
13
- const result = workflowDocumentSchema.safeParse(input);
14
- if (result.success) return result.data;
15
- throw new InvalidWorkflowDocumentError(result.error);
14
+ try {
15
+ const result = workflowDocumentSchema.safeParse(input);
16
+ if (result.success) return result.data;
17
+ throw new InvalidWorkflowDocumentError(result.error);
18
+ } catch (error) {
19
+ if (error instanceof InvalidWorkflowDocumentError) throw error;
20
+ const validationError = new z.ZodError([
21
+ {
22
+ code: 'custom',
23
+ path: [],
24
+ message: 'Workflow document could not be parsed.'
25
+ }
26
+ ]);
27
+ throw new InvalidWorkflowDocumentError(validationError, error);
28
+ }
16
29
  }
17
30
 
18
31
  //# sourceMappingURL=workflow-document-parser.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/document/workflow-document-parser.ts"],"sourcesContent":["import type {z} from 'zod';\nimport {type WorkflowDocument, workflowDocumentSchema} from './workflow-document.js';\n\nexport const invalidWorkflowDocumentErrorCode = 'invalid-workflow-document';\n\nexport class InvalidWorkflowDocumentError extends Error {\n readonly code = invalidWorkflowDocumentErrorCode;\n readonly validationError: z.ZodError<WorkflowDocument>;\n\n constructor(validationError: z.ZodError<WorkflowDocument>) {\n super('Invalid workflow document', {cause: validationError});\n this.name = 'InvalidWorkflowDocumentError';\n this.validationError = validationError;\n }\n}\n\nexport function parseWorkflowDocument(input: unknown): WorkflowDocument {\n const result = workflowDocumentSchema.safeParse(input);\n if (result.success) return result.data;\n\n throw new InvalidWorkflowDocumentError(result.error);\n}\n"],"names":["workflowDocumentSchema","invalidWorkflowDocumentErrorCode","InvalidWorkflowDocumentError","Error","validationError","cause","code","name","parseWorkflowDocument","input","result","safeParse","success","data","error"],"mappings":"AACA,SAA+BA,sBAAsB,QAAO,yBAAyB;AAErF,OAAO,MAAMC,mCAAmC,4BAA4B;AAE5E,OAAO,MAAMC,qCAAqCC;IAIhD,YAAYC,eAA6C,CAAE;QACzD,KAAK,CAAC,6BAA6B;YAACC,OAAOD;QAAe,SAJnDE,OAAOL;QAKd,IAAI,CAACM,IAAI,GAAG;QACZ,IAAI,CAACH,eAAe,GAAGA;IACzB;AACF;AAEA,OAAO,SAASI,sBAAsBC,KAAc;IAClD,MAAMC,SAASV,uBAAuBW,SAAS,CAACF;IAChD,IAAIC,OAAOE,OAAO,EAAE,OAAOF,OAAOG,IAAI;IAEtC,MAAM,IAAIX,6BAA6BQ,OAAOI,KAAK;AACrD"}
1
+ {"version":3,"sources":["../../src/document/workflow-document-parser.ts"],"sourcesContent":["import {z} from 'zod';\nimport {type WorkflowDocument, workflowDocumentSchema} from './workflow-document.js';\n\nexport const invalidWorkflowDocumentErrorCode = 'invalid-workflow-document';\n\nexport class InvalidWorkflowDocumentError extends Error {\n readonly code = invalidWorkflowDocumentErrorCode;\n readonly validationError: z.ZodError<WorkflowDocument>;\n\n constructor(validationError: z.ZodError<WorkflowDocument>, cause: unknown = validationError) {\n super('Invalid workflow document', {cause});\n this.name = 'InvalidWorkflowDocumentError';\n this.validationError = validationError;\n }\n}\n\nexport function parseWorkflowDocument(input: unknown): WorkflowDocument {\n try {\n const result = workflowDocumentSchema.safeParse(input);\n if (result.success) return result.data;\n\n throw new InvalidWorkflowDocumentError(result.error as z.ZodError<WorkflowDocument>);\n } catch (error) {\n if (error instanceof InvalidWorkflowDocumentError) throw error;\n\n const validationError = new z.ZodError([\n {\n code: 'custom',\n path: [],\n message: 'Workflow document could not be parsed.',\n },\n ]) as z.ZodError<WorkflowDocument>;\n throw new InvalidWorkflowDocumentError(validationError, error);\n }\n}\n"],"names":["z","workflowDocumentSchema","invalidWorkflowDocumentErrorCode","InvalidWorkflowDocumentError","Error","validationError","cause","code","name","parseWorkflowDocument","input","result","safeParse","success","data","error","ZodError","path","message"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAA+BC,sBAAsB,QAAO,yBAAyB;AAErF,OAAO,MAAMC,mCAAmC,4BAA4B;AAE5E,OAAO,MAAMC,qCAAqCC;IAIhD,YAAYC,eAA6C,EAAEC,QAAiBD,eAAe,CAAE;QAC3F,KAAK,CAAC,6BAA6B;YAACC;QAAK,SAJlCC,OAAOL;QAKd,IAAI,CAACM,IAAI,GAAG;QACZ,IAAI,CAACH,eAAe,GAAGA;IACzB;AACF;AAEA,OAAO,SAASI,sBAAsBC,KAAc;IAClD,IAAI;QACF,MAAMC,SAASV,uBAAuBW,SAAS,CAACF;QAChD,IAAIC,OAAOE,OAAO,EAAE,OAAOF,OAAOG,IAAI;QAEtC,MAAM,IAAIX,6BAA6BQ,OAAOI,KAAK;IACrD,EAAE,OAAOA,OAAO;QACd,IAAIA,iBAAiBZ,8BAA8B,MAAMY;QAEzD,MAAMV,kBAAkB,IAAIL,EAAEgB,QAAQ,CAAC;YACrC;gBACET,MAAM;gBACNU,MAAM,EAAE;gBACRC,SAAS;YACX;SACD;QACD,MAAM,IAAIf,6BAA6BE,iBAAiBU;IAC1D;AACF"}
@@ -17,7 +17,29 @@ export declare const WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES = 128;
17
17
  export declare const WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES = 128;
18
18
  export declare const WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES: number;
19
19
  export declare const WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH = 64;
20
+ export declare const WORKFLOW_DOCUMENT_TOOL_WITH_MAX_SERIALIZED_BYTES: number;
21
+ export declare const WORKFLOW_DOCUMENT_TOOL_WITH_MAX_DEPTH = 16;
20
22
  export declare const workflowDocumentEnvSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
23
+ type WorkflowDocumentJsonValue = string | number | boolean | null | WorkflowDocumentJsonValue[] | {
24
+ [key: string]: WorkflowDocumentJsonValue;
25
+ };
26
+ export declare const workflowDocumentToolStepWithSchema: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>;
27
+ export declare const workflowDocumentStepOutputDeclarationSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
28
+ boolean: "boolean";
29
+ json: "json";
30
+ number: "number";
31
+ string: "string";
32
+ }>, z.ZodTransform<{
33
+ type: "boolean" | "json" | "number" | "string";
34
+ }, "boolean" | "json" | "number" | "string">>, z.ZodObject<{
35
+ type: z.ZodEnum<{
36
+ boolean: "boolean";
37
+ json: "json";
38
+ number: "number";
39
+ string: "string";
40
+ }>;
41
+ schema: z.ZodOptional<z.ZodUnknown>;
42
+ }, z.core.$strict>]>;
21
43
  export declare const workflowDocumentStepOutputsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
22
44
  boolean: "boolean";
23
45
  json: "json";
@@ -34,6 +56,7 @@ export declare const workflowDocumentStepOutputsSchema: z.ZodRecord<z.ZodString,
34
56
  }>;
35
57
  schema: z.ZodOptional<z.ZodUnknown>;
36
58
  }, z.core.$strict>]>>;
59
+ export declare const workflowDocumentToolStepOutputsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
37
60
  export declare const triggerSourceConfigSchemas: {
38
61
  cron: z.ZodObject<{
39
62
  schedule: z.ZodOptional<z.ZodString>;
@@ -45,7 +68,7 @@ export declare const workflowDocumentTriggerSchema: z.ZodObject<{
45
68
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
46
69
  filter: z.ZodOptional<z.ZodString>;
47
70
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
48
- event: z.ZodString;
71
+ event: z.ZodOptional<z.ZodString>;
49
72
  }, z.core.$strict>;
50
73
  declare const workflowDocumentListeningSchema: z.ZodObject<{
51
74
  on: z.ZodArray<z.ZodObject<{
@@ -53,14 +76,14 @@ declare const workflowDocumentListeningSchema: z.ZodObject<{
53
76
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
54
77
  filter: z.ZodOptional<z.ZodString>;
55
78
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
56
- event: z.ZodString;
79
+ event: z.ZodOptional<z.ZodString>;
57
80
  }, z.core.$strict>>;
58
81
  until: z.ZodOptional<z.ZodArray<z.ZodObject<{
59
82
  source: z.ZodString;
60
83
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
61
84
  filter: z.ZodOptional<z.ZodString>;
62
85
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
63
- event: z.ZodString;
86
+ event: z.ZodOptional<z.ZodString>;
64
87
  }, z.core.$strict>>>;
65
88
  timeout: z.ZodOptional<z.ZodString>;
66
89
  max_executions: z.ZodOptional<z.ZodNumber>;
@@ -114,7 +137,7 @@ export declare const workflowDocumentStepIntegrationSchema: z.ZodObject<{
114
137
  allow_write: z.ZodOptional<z.ZodBoolean>;
115
138
  }, z.core.$strict>;
116
139
  export declare const workflowDocumentAgentStepFields: readonly ['model', 'prompt', 'harness', 'thinking', 'provider', 'tools', 'integrations'];
117
- export declare const workflowDocumentStepSchema: z.ZodObject<{
140
+ declare const workflowDocumentStepBaseSchema: z.ZodObject<{
118
141
  key: z.ZodOptional<z.ZodString>;
119
142
  if: z.ZodOptional<z.ZodString>;
120
143
  name: z.ZodOptional<z.ZodString>;
@@ -160,6 +183,9 @@ export declare const workflowDocumentStepSchema: z.ZodObject<{
160
183
  allow_write: z.ZodOptional<z.ZodBoolean>;
161
184
  }, z.core.$strict>>>;
162
185
  agent: z.ZodOptional<z.ZodUnknown>;
186
+ tool: z.ZodOptional<z.ZodString>;
187
+ connection: z.ZodOptional<z.ZodString>;
188
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
163
189
  gate: z.ZodOptional<z.ZodObject<{
164
190
  success: z.ZodOptional<z.ZodString>;
165
191
  on_failure: z.ZodOptional<z.ZodObject<{
@@ -168,7 +194,7 @@ export declare const workflowDocumentStepSchema: z.ZodObject<{
168
194
  }, z.core.$strict>>;
169
195
  }, z.core.$strict>>;
170
196
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
171
- outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
197
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
172
198
  boolean: "boolean";
173
199
  json: "json";
174
200
  number: "number";
@@ -183,8 +209,134 @@ export declare const workflowDocumentStepSchema: z.ZodObject<{
183
209
  string: "string";
184
210
  }>;
185
211
  schema: z.ZodOptional<z.ZodUnknown>;
186
- }, z.core.$strict>]>>>;
212
+ }, z.core.$strict>]>, z.ZodString]>>>;
187
213
  }, z.core.$strict>;
214
+ type WorkflowDocumentStepSchemaOutput = Omit<z.infer<typeof workflowDocumentStepBaseSchema>, 'outputs'> & {
215
+ outputs?: WorkflowDocumentStepOutputs;
216
+ };
217
+ export declare const workflowDocumentStepSchema: z.ZodPipe<z.ZodObject<{
218
+ key: z.ZodOptional<z.ZodString>;
219
+ if: z.ZodOptional<z.ZodString>;
220
+ name: z.ZodOptional<z.ZodString>;
221
+ working_directory: z.ZodOptional<z.ZodString>;
222
+ run: z.ZodOptional<z.ZodString>;
223
+ checkout: z.ZodOptional<z.ZodObject<{
224
+ project: z.ZodOptional<z.ZodString>;
225
+ connection: z.ZodOptional<z.ZodString>;
226
+ repository: z.ZodOptional<z.ZodString>;
227
+ ref: z.ZodOptional<z.ZodString>;
228
+ 'fetch-depth': z.ZodOptional<z.ZodNumber>;
229
+ path: z.ZodOptional<z.ZodString>;
230
+ permissions: z.ZodOptional<z.ZodObject<{
231
+ contents: z.ZodOptional<z.ZodEnum<{
232
+ read: "read";
233
+ write: "write";
234
+ }>>;
235
+ }, z.core.$strict>>;
236
+ 'persist-credentials': z.ZodOptional<z.ZodBoolean>;
237
+ force: z.ZodOptional<z.ZodBoolean>;
238
+ }, z.core.$strict>>;
239
+ model: z.ZodOptional<z.ZodString>;
240
+ prompt: z.ZodOptional<z.ZodString>;
241
+ harness: z.ZodOptional<z.ZodEnum<{
242
+ claude: "claude";
243
+ pi: "pi";
244
+ }>>;
245
+ thinking: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
246
+ high: "high";
247
+ low: "low";
248
+ max: "max";
249
+ medium: "medium";
250
+ minimal: "minimal";
251
+ off: "off";
252
+ xhigh: "xhigh";
253
+ }>, z.ZodString]>>;
254
+ provider: z.ZodOptional<z.ZodString>;
255
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
256
+ integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
257
+ connection: z.ZodOptional<z.ZodString>;
258
+ include: z.ZodArray<z.ZodString>;
259
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
260
+ allow_write: z.ZodOptional<z.ZodBoolean>;
261
+ }, z.core.$strict>>>;
262
+ agent: z.ZodOptional<z.ZodUnknown>;
263
+ tool: z.ZodOptional<z.ZodString>;
264
+ connection: z.ZodOptional<z.ZodString>;
265
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
266
+ gate: z.ZodOptional<z.ZodObject<{
267
+ success: z.ZodOptional<z.ZodString>;
268
+ on_failure: z.ZodOptional<z.ZodObject<{
269
+ restart_from: z.ZodString;
270
+ feedback: z.ZodOptional<z.ZodString>;
271
+ }, z.core.$strict>>;
272
+ }, z.core.$strict>>;
273
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
274
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
275
+ boolean: "boolean";
276
+ json: "json";
277
+ number: "number";
278
+ string: "string";
279
+ }>, z.ZodTransform<{
280
+ type: "boolean" | "json" | "number" | "string";
281
+ }, "boolean" | "json" | "number" | "string">>, z.ZodObject<{
282
+ type: z.ZodEnum<{
283
+ boolean: "boolean";
284
+ json: "json";
285
+ number: "number";
286
+ string: "string";
287
+ }>;
288
+ schema: z.ZodOptional<z.ZodUnknown>;
289
+ }, z.core.$strict>]>, z.ZodString]>>>;
290
+ }, z.core.$strict>, z.ZodTransform<WorkflowDocumentStepSchemaOutput, {
291
+ key?: string | undefined;
292
+ if?: string | undefined;
293
+ name?: string | undefined;
294
+ working_directory?: string | undefined;
295
+ run?: string | undefined;
296
+ checkout?: {
297
+ project?: string | undefined;
298
+ connection?: string | undefined;
299
+ repository?: string | undefined;
300
+ ref?: string | undefined;
301
+ 'fetch-depth'?: number | undefined;
302
+ path?: string | undefined;
303
+ permissions?: {
304
+ contents?: "read" | "write" | undefined;
305
+ } | undefined;
306
+ 'persist-credentials'?: boolean | undefined;
307
+ force?: boolean | undefined;
308
+ } | undefined;
309
+ model?: string | undefined;
310
+ prompt?: string | undefined;
311
+ harness?: "claude" | "pi" | undefined;
312
+ thinking?: string | undefined;
313
+ provider?: string | undefined;
314
+ tools?: string[] | undefined;
315
+ integrations?: {
316
+ connection?: string | undefined;
317
+ include: string[];
318
+ exclude?: string[] | undefined;
319
+ allow_write?: boolean | undefined;
320
+ }[] | undefined;
321
+ agent?: unknown;
322
+ tool?: string | undefined;
323
+ connection?: string | undefined;
324
+ with?: Record<string, WorkflowDocumentJsonValue> | undefined;
325
+ gate?: {
326
+ success?: string | undefined;
327
+ on_failure?: {
328
+ restart_from: string;
329
+ feedback?: string | undefined;
330
+ } | undefined;
331
+ } | undefined;
332
+ env?: Record<string, string | number | boolean> | undefined;
333
+ outputs?: Record<string, string | {
334
+ type: "boolean" | "json" | "number" | "string";
335
+ schema?: unknown;
336
+ } | {
337
+ type: "boolean" | "json" | "number" | "string";
338
+ }> | undefined;
339
+ }>>;
188
340
  export declare const workflowDocumentJobSchema: z.ZodObject<{
189
341
  needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
190
342
  if: z.ZodOptional<z.ZodString>;
@@ -207,14 +359,14 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
207
359
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
208
360
  filter: z.ZodOptional<z.ZodString>;
209
361
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
210
- event: z.ZodString;
362
+ event: z.ZodOptional<z.ZodString>;
211
363
  }, z.core.$strict>>;
212
364
  until: z.ZodOptional<z.ZodArray<z.ZodObject<{
213
365
  source: z.ZodString;
214
366
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
215
367
  filter: z.ZodOptional<z.ZodString>;
216
368
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
217
- event: z.ZodString;
369
+ event: z.ZodOptional<z.ZodString>;
218
370
  }, z.core.$strict>>>;
219
371
  timeout: z.ZodOptional<z.ZodString>;
220
372
  max_executions: z.ZodOptional<z.ZodNumber>;
@@ -231,7 +383,7 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
231
383
  name: z.ZodOptional<z.ZodString>;
232
384
  execution_name: z.ZodOptional<z.ZodString>;
233
385
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
234
- steps: z.ZodArray<z.ZodObject<{
386
+ steps: z.ZodArray<z.ZodPipe<z.ZodObject<{
235
387
  key: z.ZodOptional<z.ZodString>;
236
388
  if: z.ZodOptional<z.ZodString>;
237
389
  name: z.ZodOptional<z.ZodString>;
@@ -277,6 +429,9 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
277
429
  allow_write: z.ZodOptional<z.ZodBoolean>;
278
430
  }, z.core.$strict>>>;
279
431
  agent: z.ZodOptional<z.ZodUnknown>;
432
+ tool: z.ZodOptional<z.ZodString>;
433
+ connection: z.ZodOptional<z.ZodString>;
434
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
280
435
  gate: z.ZodOptional<z.ZodObject<{
281
436
  success: z.ZodOptional<z.ZodString>;
282
437
  on_failure: z.ZodOptional<z.ZodObject<{
@@ -285,7 +440,7 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
285
440
  }, z.core.$strict>>;
286
441
  }, z.core.$strict>>;
287
442
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
288
- outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
443
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
289
444
  boolean: "boolean";
290
445
  json: "json";
291
446
  number: "number";
@@ -300,8 +455,57 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
300
455
  string: "string";
301
456
  }>;
302
457
  schema: z.ZodOptional<z.ZodUnknown>;
303
- }, z.core.$strict>]>>>;
304
- }, z.core.$strict>>;
458
+ }, z.core.$strict>]>, z.ZodString]>>>;
459
+ }, z.core.$strict>, z.ZodTransform<WorkflowDocumentStepSchemaOutput, {
460
+ key?: string | undefined;
461
+ if?: string | undefined;
462
+ name?: string | undefined;
463
+ working_directory?: string | undefined;
464
+ run?: string | undefined;
465
+ checkout?: {
466
+ project?: string | undefined;
467
+ connection?: string | undefined;
468
+ repository?: string | undefined;
469
+ ref?: string | undefined;
470
+ 'fetch-depth'?: number | undefined;
471
+ path?: string | undefined;
472
+ permissions?: {
473
+ contents?: "read" | "write" | undefined;
474
+ } | undefined;
475
+ 'persist-credentials'?: boolean | undefined;
476
+ force?: boolean | undefined;
477
+ } | undefined;
478
+ model?: string | undefined;
479
+ prompt?: string | undefined;
480
+ harness?: "claude" | "pi" | undefined;
481
+ thinking?: string | undefined;
482
+ provider?: string | undefined;
483
+ tools?: string[] | undefined;
484
+ integrations?: {
485
+ connection?: string | undefined;
486
+ include: string[];
487
+ exclude?: string[] | undefined;
488
+ allow_write?: boolean | undefined;
489
+ }[] | undefined;
490
+ agent?: unknown;
491
+ tool?: string | undefined;
492
+ connection?: string | undefined;
493
+ with?: Record<string, WorkflowDocumentJsonValue> | undefined;
494
+ gate?: {
495
+ success?: string | undefined;
496
+ on_failure?: {
497
+ restart_from: string;
498
+ feedback?: string | undefined;
499
+ } | undefined;
500
+ } | undefined;
501
+ env?: Record<string, string | number | boolean> | undefined;
502
+ outputs?: Record<string, string | {
503
+ type: "boolean" | "json" | "number" | "string";
504
+ schema?: unknown;
505
+ } | {
506
+ type: "boolean" | "json" | "number" | "string";
507
+ }> | undefined;
508
+ }>>>;
305
509
  }, z.core.$strict>;
306
510
  export declare const workflowDocumentSchema: z.ZodObject<{
307
511
  name: z.ZodString;
@@ -313,7 +517,7 @@ export declare const workflowDocumentSchema: z.ZodObject<{
313
517
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
314
518
  filter: z.ZodOptional<z.ZodString>;
315
519
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
316
- event: z.ZodString;
520
+ event: z.ZodOptional<z.ZodString>;
317
521
  }, z.core.$strict>>>;
318
522
  jobs: z.ZodRecord<z.ZodString, z.ZodObject<{
319
523
  needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
@@ -337,14 +541,14 @@ export declare const workflowDocumentSchema: z.ZodObject<{
337
541
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
338
542
  filter: z.ZodOptional<z.ZodString>;
339
543
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
340
- event: z.ZodString;
544
+ event: z.ZodOptional<z.ZodString>;
341
545
  }, z.core.$strict>>;
342
546
  until: z.ZodOptional<z.ZodArray<z.ZodObject<{
343
547
  source: z.ZodString;
344
548
  with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
345
549
  filter: z.ZodOptional<z.ZodString>;
346
550
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
347
- event: z.ZodString;
551
+ event: z.ZodOptional<z.ZodString>;
348
552
  }, z.core.$strict>>>;
349
553
  timeout: z.ZodOptional<z.ZodString>;
350
554
  max_executions: z.ZodOptional<z.ZodNumber>;
@@ -361,7 +565,7 @@ export declare const workflowDocumentSchema: z.ZodObject<{
361
565
  name: z.ZodOptional<z.ZodString>;
362
566
  execution_name: z.ZodOptional<z.ZodString>;
363
567
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
364
- steps: z.ZodArray<z.ZodObject<{
568
+ steps: z.ZodArray<z.ZodPipe<z.ZodObject<{
365
569
  key: z.ZodOptional<z.ZodString>;
366
570
  if: z.ZodOptional<z.ZodString>;
367
571
  name: z.ZodOptional<z.ZodString>;
@@ -407,6 +611,9 @@ export declare const workflowDocumentSchema: z.ZodObject<{
407
611
  allow_write: z.ZodOptional<z.ZodBoolean>;
408
612
  }, z.core.$strict>>>;
409
613
  agent: z.ZodOptional<z.ZodUnknown>;
614
+ tool: z.ZodOptional<z.ZodString>;
615
+ connection: z.ZodOptional<z.ZodString>;
616
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
410
617
  gate: z.ZodOptional<z.ZodObject<{
411
618
  success: z.ZodOptional<z.ZodString>;
412
619
  on_failure: z.ZodOptional<z.ZodObject<{
@@ -415,7 +622,7 @@ export declare const workflowDocumentSchema: z.ZodObject<{
415
622
  }, z.core.$strict>>;
416
623
  }, z.core.$strict>>;
417
624
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
418
- outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
625
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
419
626
  boolean: "boolean";
420
627
  json: "json";
421
628
  number: "number";
@@ -430,21 +637,72 @@ export declare const workflowDocumentSchema: z.ZodObject<{
430
637
  string: "string";
431
638
  }>;
432
639
  schema: z.ZodOptional<z.ZodUnknown>;
433
- }, z.core.$strict>]>>>;
434
- }, z.core.$strict>>;
640
+ }, z.core.$strict>]>, z.ZodString]>>>;
641
+ }, z.core.$strict>, z.ZodTransform<WorkflowDocumentStepSchemaOutput, {
642
+ key?: string | undefined;
643
+ if?: string | undefined;
644
+ name?: string | undefined;
645
+ working_directory?: string | undefined;
646
+ run?: string | undefined;
647
+ checkout?: {
648
+ project?: string | undefined;
649
+ connection?: string | undefined;
650
+ repository?: string | undefined;
651
+ ref?: string | undefined;
652
+ 'fetch-depth'?: number | undefined;
653
+ path?: string | undefined;
654
+ permissions?: {
655
+ contents?: "read" | "write" | undefined;
656
+ } | undefined;
657
+ 'persist-credentials'?: boolean | undefined;
658
+ force?: boolean | undefined;
659
+ } | undefined;
660
+ model?: string | undefined;
661
+ prompt?: string | undefined;
662
+ harness?: "claude" | "pi" | undefined;
663
+ thinking?: string | undefined;
664
+ provider?: string | undefined;
665
+ tools?: string[] | undefined;
666
+ integrations?: {
667
+ connection?: string | undefined;
668
+ include: string[];
669
+ exclude?: string[] | undefined;
670
+ allow_write?: boolean | undefined;
671
+ }[] | undefined;
672
+ agent?: unknown;
673
+ tool?: string | undefined;
674
+ connection?: string | undefined;
675
+ with?: Record<string, WorkflowDocumentJsonValue> | undefined;
676
+ gate?: {
677
+ success?: string | undefined;
678
+ on_failure?: {
679
+ restart_from: string;
680
+ feedback?: string | undefined;
681
+ } | undefined;
682
+ } | undefined;
683
+ env?: Record<string, string | number | boolean> | undefined;
684
+ outputs?: Record<string, string | {
685
+ type: "boolean" | "json" | "number" | "string";
686
+ schema?: unknown;
687
+ } | {
688
+ type: "boolean" | "json" | "number" | "string";
689
+ }> | undefined;
690
+ }>>>;
435
691
  }, z.core.$strict>>;
436
692
  }, z.core.$strict>;
693
+ export type WorkflowDocumentStep = z.infer<typeof workflowDocumentStepSchema>;
694
+ export type WorkflowDocumentJob = z.infer<typeof workflowDocumentJobSchema>;
437
695
  export type WorkflowDocument = z.infer<typeof workflowDocumentSchema>;
438
696
  export type WorkflowDocumentCheckout = z.infer<typeof workflowDocumentCheckoutSchema>;
439
697
  export type WorkflowDocumentJobCheckout = z.infer<typeof workflowDocumentJobCheckoutSchema>;
440
698
  export type WorkflowDocumentEnv = z.infer<typeof workflowDocumentEnvSchema>;
441
- export type WorkflowDocumentJob = z.infer<typeof workflowDocumentJobSchema>;
442
699
  export type WorkflowDocumentJobListening = z.infer<typeof workflowDocumentListeningSchema>;
443
700
  export type WorkflowDocumentRunStepGate = z.infer<typeof workflowDocumentStepGateSchema>;
444
701
  export type WorkflowDocumentStepIntegration = z.infer<typeof workflowDocumentStepIntegrationSchema>;
445
702
  export type WorkflowDocumentStepOutputType = (typeof workflowDocumentStepOutputTypes)[number];
446
703
  export type WorkflowDocumentStepOutputs = z.infer<typeof workflowDocumentStepOutputsSchema>;
447
- export type WorkflowDocumentStep = z.infer<typeof workflowDocumentStepSchema>;
704
+ export type WorkflowDocumentToolStepOutputs = z.infer<typeof workflowDocumentToolStepOutputsSchema>;
705
+ export type WorkflowDocumentToolWith = z.infer<typeof workflowDocumentToolStepWithSchema>;
448
706
  export type WorkflowDocumentTrigger = z.infer<typeof workflowDocumentTriggerSchema>;
449
707
  export {};
450
708
  //# sourceMappingURL=workflow-document.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-document.d.ts","sourceRoot":"","sources":["../../src/document/workflow-document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAUtB,eAAO,MAAM,6BAA6B,QAAoC,CAAC;AAG/E,eAAO,MAAM,mCAAmC,QAAyC,CAAC;AAK1F,eAAO,MAAM,wBAAwB;;;;;;;;iBAajC,CAAC;AAmBL,eAAO,MAAM,iCAAiC,MAAM,CAAC;AACrD,eAAO,MAAM,0CAA0C,QAAY,CAAC;AACpE,eAAO,MAAM,+BAA+B,YAAI,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAU,CAAC;AAChG,eAAO,MAAM,yCAAyC,MAAoC,CAAC;AAC3F,eAAO,MAAM,0CAA0C,MAAoC,CAAC;AAC5F,eAAO,MAAM,yDAAyD,QAC1B,CAAC;AAC7C,eAAO,MAAM,8CAA8C,KAAK,CAAC;AAIjE,eAAO,MAAM,yBAAyB,yFAqBlC,CAAC;AAmEL,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;qBAsB1C,CAAC;AAqBL,eAAO,MAAM,0BAA0B;;;;;CASF,CAAC;AAItC,eAAO,MAAM,6BAA6B;;;;;;kBA6BtC,CAAC;AAEL,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyDjC,CAAC;AAEL,QAAA,MAAM,8BAA8B;;;;;;kBAwBhC,CAAC;AAiBL,eAAO,MAAM,8BAA8B;;;;;;;;;;;;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