@shipfox/workflow-document 3.1.0 → 3.3.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 { isValidWorkflowSessionKeyTemplateLiteralParts, 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, WORKFLOW_SESSION_KEY_MAX_LENGTH, WORKFLOW_SESSION_KEY_PATTERN, WORKFLOW_SESSION_KEY_PATTERN_SOURCE, 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, workflowDocumentSessionSchema, 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,6CAA6C,EAC7C,0BAA0B,EAC1B,iCAAiC,EACjC,0CAA0C,EAC1C,yCAAyC,EACzC,8CAA8C,EAC9C,yDAAyD,EACzD,0CAA0C,EAC1C,qCAAqC,EACrC,gDAAgD,EAChD,+BAA+B,EAC/B,4BAA4B,EAC5B,mCAAmC,EACnC,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,6BAA6B,EAC7B,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 { isValidWorkflowSessionKeyTemplateLiteralParts, 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, WORKFLOW_SESSION_KEY_MAX_LENGTH, WORKFLOW_SESSION_KEY_PATTERN, WORKFLOW_SESSION_KEY_PATTERN_SOURCE, workflowDocumentCheckoutSchema, workflowDocumentEnvSchema, workflowDocumentJobSchema, workflowDocumentSchema, workflowDocumentSessionSchema, 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 isValidWorkflowSessionKeyTemplateLiteralParts,\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 WORKFLOW_SESSION_KEY_MAX_LENGTH,\n WORKFLOW_SESSION_KEY_PATTERN,\n WORKFLOW_SESSION_KEY_PATTERN_SOURCE,\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 workflowDocumentSessionSchema,\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","isValidWorkflowSessionKeyTemplateLiteralParts","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","WORKFLOW_SESSION_KEY_MAX_LENGTH","WORKFLOW_SESSION_KEY_PATTERN","WORKFLOW_SESSION_KEY_PATTERN_SOURCE","workflowDocumentCheckoutSchema","workflowDocumentEnvSchema","workflowDocumentJobSchema","workflowDocumentSchema","workflowDocumentSessionSchema","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,6CAA6C,EAC7CC,0BAA0B,EAC1BC,iCAAiC,EACjCC,0CAA0C,EAC1CC,yCAAyC,EACzCC,8CAA8C,EAC9CC,yDAAyD,EACzDC,0CAA0C,EAC1CC,qCAAqC,EACrCC,gDAAgD,EAChDC,+BAA+B,EAC/BC,4BAA4B,EAC5BC,mCAAmC,EAcnCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,yBAAyB,EACzBC,sBAAsB,EACtBC,6BAA6B,EAC7BC,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"}
@@ -1,6 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const WORKFLOW_LITERAL_NAME_PATTERN: RegExp;
3
3
  export declare const WORKFLOW_INTERPOLATED_VALUE_PATTERN: RegExp;
4
+ export declare const WORKFLOW_SESSION_KEY_MAX_LENGTH = 128;
5
+ export declare const WORKFLOW_SESSION_KEY_PATTERN_SOURCE = "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$";
6
+ export declare const WORKFLOW_SESSION_KEY_PATTERN: RegExp;
4
7
  export declare const agentThinkingFieldSchema: z.ZodUnion<readonly [z.ZodEnum<{
5
8
  high: "high";
6
9
  low: "low";
@@ -17,7 +20,29 @@ export declare const WORKFLOW_DOCUMENT_JOB_OUTPUTS_MAX_ENTRIES = 128;
17
20
  export declare const WORKFLOW_DOCUMENT_STEP_OUTPUTS_MAX_ENTRIES = 128;
18
21
  export declare const WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_SERIALIZED_BYTES: number;
19
22
  export declare const WORKFLOW_DOCUMENT_STEP_OUTPUT_SCHEMA_MAX_DEPTH = 64;
23
+ export declare const WORKFLOW_DOCUMENT_TOOL_WITH_MAX_SERIALIZED_BYTES: number;
24
+ export declare const WORKFLOW_DOCUMENT_TOOL_WITH_MAX_DEPTH = 16;
20
25
  export declare const workflowDocumentEnvSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
26
+ type WorkflowDocumentJsonValue = string | number | boolean | null | WorkflowDocumentJsonValue[] | {
27
+ [key: string]: WorkflowDocumentJsonValue;
28
+ };
29
+ export declare const workflowDocumentToolStepWithSchema: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>;
30
+ export declare const workflowDocumentStepOutputDeclarationSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
31
+ boolean: "boolean";
32
+ json: "json";
33
+ number: "number";
34
+ string: "string";
35
+ }>, z.ZodTransform<{
36
+ type: "boolean" | "json" | "number" | "string";
37
+ }, "boolean" | "json" | "number" | "string">>, z.ZodObject<{
38
+ type: z.ZodEnum<{
39
+ boolean: "boolean";
40
+ json: "json";
41
+ number: "number";
42
+ string: "string";
43
+ }>;
44
+ schema: z.ZodOptional<z.ZodUnknown>;
45
+ }, z.core.$strict>]>;
21
46
  export declare const workflowDocumentStepOutputsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
22
47
  boolean: "boolean";
23
48
  json: "json";
@@ -34,6 +59,7 @@ export declare const workflowDocumentStepOutputsSchema: z.ZodRecord<z.ZodString,
34
59
  }>;
35
60
  schema: z.ZodOptional<z.ZodUnknown>;
36
61
  }, z.core.$strict>]>>;
62
+ export declare const workflowDocumentToolStepOutputsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
37
63
  export declare const triggerSourceConfigSchemas: {
38
64
  cron: z.ZodObject<{
39
65
  schedule: z.ZodOptional<z.ZodString>;
@@ -113,8 +139,16 @@ export declare const workflowDocumentStepIntegrationSchema: z.ZodObject<{
113
139
  exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
140
  allow_write: z.ZodOptional<z.ZodBoolean>;
115
141
  }, z.core.$strict>;
116
- export declare const workflowDocumentAgentStepFields: readonly ['model', 'prompt', 'harness', 'thinking', 'provider', 'tools', 'integrations'];
117
- export declare const workflowDocumentStepSchema: z.ZodObject<{
142
+ export declare const workflowDocumentSessionSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodObject<{
143
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
144
+ mode: z.ZodOptional<z.ZodEnum<{
145
+ fork: "fork";
146
+ resume: "resume";
147
+ }>>;
148
+ }, z.core.$strict>]>;
149
+ export declare function isValidWorkflowSessionKeyTemplateLiteralParts(source: string): boolean;
150
+ export declare const workflowDocumentAgentStepFields: readonly ['model', 'prompt', 'harness', 'thinking', 'provider', 'tools', 'integrations', 'session'];
151
+ declare const workflowDocumentStepBaseSchema: z.ZodObject<{
118
152
  key: z.ZodOptional<z.ZodString>;
119
153
  if: z.ZodOptional<z.ZodString>;
120
154
  name: z.ZodOptional<z.ZodString>;
@@ -151,6 +185,13 @@ export declare const workflowDocumentStepSchema: z.ZodObject<{
151
185
  off: "off";
152
186
  xhigh: "xhigh";
153
187
  }>, z.ZodString]>>;
188
+ session: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodObject<{
189
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
190
+ mode: z.ZodOptional<z.ZodEnum<{
191
+ fork: "fork";
192
+ resume: "resume";
193
+ }>>;
194
+ }, z.core.$strict>]>>;
154
195
  provider: z.ZodOptional<z.ZodString>;
155
196
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
197
  integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -160,6 +201,9 @@ export declare const workflowDocumentStepSchema: z.ZodObject<{
160
201
  allow_write: z.ZodOptional<z.ZodBoolean>;
161
202
  }, z.core.$strict>>>;
162
203
  agent: z.ZodOptional<z.ZodUnknown>;
204
+ tool: z.ZodOptional<z.ZodString>;
205
+ connection: z.ZodOptional<z.ZodString>;
206
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
163
207
  gate: z.ZodOptional<z.ZodObject<{
164
208
  success: z.ZodOptional<z.ZodString>;
165
209
  on_failure: z.ZodOptional<z.ZodObject<{
@@ -168,7 +212,7 @@ export declare const workflowDocumentStepSchema: z.ZodObject<{
168
212
  }, z.core.$strict>>;
169
213
  }, z.core.$strict>>;
170
214
  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<{
215
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
172
216
  boolean: "boolean";
173
217
  json: "json";
174
218
  number: "number";
@@ -183,8 +227,145 @@ export declare const workflowDocumentStepSchema: z.ZodObject<{
183
227
  string: "string";
184
228
  }>;
185
229
  schema: z.ZodOptional<z.ZodUnknown>;
186
- }, z.core.$strict>]>>>;
230
+ }, z.core.$strict>]>, z.ZodString]>>>;
187
231
  }, z.core.$strict>;
232
+ type WorkflowDocumentStepSchemaOutput = Omit<z.infer<typeof workflowDocumentStepBaseSchema>, 'outputs'> & {
233
+ outputs?: WorkflowDocumentStepOutputs;
234
+ };
235
+ export declare const workflowDocumentStepSchema: z.ZodPipe<z.ZodObject<{
236
+ key: z.ZodOptional<z.ZodString>;
237
+ if: z.ZodOptional<z.ZodString>;
238
+ name: z.ZodOptional<z.ZodString>;
239
+ working_directory: z.ZodOptional<z.ZodString>;
240
+ run: z.ZodOptional<z.ZodString>;
241
+ checkout: z.ZodOptional<z.ZodObject<{
242
+ project: z.ZodOptional<z.ZodString>;
243
+ connection: z.ZodOptional<z.ZodString>;
244
+ repository: z.ZodOptional<z.ZodString>;
245
+ ref: z.ZodOptional<z.ZodString>;
246
+ 'fetch-depth': z.ZodOptional<z.ZodNumber>;
247
+ path: z.ZodOptional<z.ZodString>;
248
+ permissions: z.ZodOptional<z.ZodObject<{
249
+ contents: z.ZodOptional<z.ZodEnum<{
250
+ read: "read";
251
+ write: "write";
252
+ }>>;
253
+ }, z.core.$strict>>;
254
+ 'persist-credentials': z.ZodOptional<z.ZodBoolean>;
255
+ force: z.ZodOptional<z.ZodBoolean>;
256
+ }, z.core.$strict>>;
257
+ model: z.ZodOptional<z.ZodString>;
258
+ prompt: z.ZodOptional<z.ZodString>;
259
+ harness: z.ZodOptional<z.ZodEnum<{
260
+ claude: "claude";
261
+ pi: "pi";
262
+ }>>;
263
+ thinking: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
264
+ high: "high";
265
+ low: "low";
266
+ max: "max";
267
+ medium: "medium";
268
+ minimal: "minimal";
269
+ off: "off";
270
+ xhigh: "xhigh";
271
+ }>, z.ZodString]>>;
272
+ session: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodObject<{
273
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
274
+ mode: z.ZodOptional<z.ZodEnum<{
275
+ fork: "fork";
276
+ resume: "resume";
277
+ }>>;
278
+ }, z.core.$strict>]>>;
279
+ provider: z.ZodOptional<z.ZodString>;
280
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
281
+ integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
282
+ connection: z.ZodOptional<z.ZodString>;
283
+ include: z.ZodArray<z.ZodString>;
284
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
+ allow_write: z.ZodOptional<z.ZodBoolean>;
286
+ }, z.core.$strict>>>;
287
+ agent: z.ZodOptional<z.ZodUnknown>;
288
+ tool: z.ZodOptional<z.ZodString>;
289
+ connection: z.ZodOptional<z.ZodString>;
290
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
291
+ gate: z.ZodOptional<z.ZodObject<{
292
+ success: z.ZodOptional<z.ZodString>;
293
+ on_failure: z.ZodOptional<z.ZodObject<{
294
+ restart_from: z.ZodString;
295
+ feedback: z.ZodOptional<z.ZodString>;
296
+ }, z.core.$strict>>;
297
+ }, z.core.$strict>>;
298
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
299
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
300
+ boolean: "boolean";
301
+ json: "json";
302
+ number: "number";
303
+ string: "string";
304
+ }>, z.ZodTransform<{
305
+ type: "boolean" | "json" | "number" | "string";
306
+ }, "boolean" | "json" | "number" | "string">>, z.ZodObject<{
307
+ type: z.ZodEnum<{
308
+ boolean: "boolean";
309
+ json: "json";
310
+ number: "number";
311
+ string: "string";
312
+ }>;
313
+ schema: z.ZodOptional<z.ZodUnknown>;
314
+ }, z.core.$strict>]>, z.ZodString]>>>;
315
+ }, z.core.$strict>, z.ZodTransform<WorkflowDocumentStepSchemaOutput, {
316
+ key?: string | undefined;
317
+ if?: string | undefined;
318
+ name?: string | undefined;
319
+ working_directory?: string | undefined;
320
+ run?: string | undefined;
321
+ checkout?: {
322
+ project?: string | undefined;
323
+ connection?: string | undefined;
324
+ repository?: string | undefined;
325
+ ref?: string | undefined;
326
+ 'fetch-depth'?: number | undefined;
327
+ path?: string | undefined;
328
+ permissions?: {
329
+ contents?: "read" | "write" | undefined;
330
+ } | undefined;
331
+ 'persist-credentials'?: boolean | undefined;
332
+ force?: boolean | undefined;
333
+ } | undefined;
334
+ model?: string | undefined;
335
+ prompt?: string | undefined;
336
+ harness?: "claude" | "pi" | undefined;
337
+ thinking?: string | undefined;
338
+ session?: string | {
339
+ key: string;
340
+ mode?: "fork" | "resume" | undefined;
341
+ } | undefined;
342
+ provider?: string | undefined;
343
+ tools?: string[] | undefined;
344
+ integrations?: {
345
+ connection?: string | undefined;
346
+ include: string[];
347
+ exclude?: string[] | undefined;
348
+ allow_write?: boolean | undefined;
349
+ }[] | undefined;
350
+ agent?: unknown;
351
+ tool?: string | undefined;
352
+ connection?: string | undefined;
353
+ with?: Record<string, WorkflowDocumentJsonValue> | undefined;
354
+ gate?: {
355
+ success?: string | undefined;
356
+ on_failure?: {
357
+ restart_from: string;
358
+ feedback?: string | undefined;
359
+ } | undefined;
360
+ } | undefined;
361
+ env?: Record<string, string | number | boolean> | undefined;
362
+ outputs?: Record<string, string | {
363
+ type: "boolean" | "json" | "number" | "string";
364
+ schema?: unknown;
365
+ } | {
366
+ type: "boolean" | "json" | "number" | "string";
367
+ }> | undefined;
368
+ }>>;
188
369
  export declare const workflowDocumentJobSchema: z.ZodObject<{
189
370
  needs: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
190
371
  if: z.ZodOptional<z.ZodString>;
@@ -231,7 +412,7 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
231
412
  name: z.ZodOptional<z.ZodString>;
232
413
  execution_name: z.ZodOptional<z.ZodString>;
233
414
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
234
- steps: z.ZodArray<z.ZodObject<{
415
+ steps: z.ZodArray<z.ZodPipe<z.ZodObject<{
235
416
  key: z.ZodOptional<z.ZodString>;
236
417
  if: z.ZodOptional<z.ZodString>;
237
418
  name: z.ZodOptional<z.ZodString>;
@@ -268,6 +449,13 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
268
449
  off: "off";
269
450
  xhigh: "xhigh";
270
451
  }>, z.ZodString]>>;
452
+ session: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodObject<{
453
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
454
+ mode: z.ZodOptional<z.ZodEnum<{
455
+ fork: "fork";
456
+ resume: "resume";
457
+ }>>;
458
+ }, z.core.$strict>]>>;
271
459
  provider: z.ZodOptional<z.ZodString>;
272
460
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
273
461
  integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -277,6 +465,9 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
277
465
  allow_write: z.ZodOptional<z.ZodBoolean>;
278
466
  }, z.core.$strict>>>;
279
467
  agent: z.ZodOptional<z.ZodUnknown>;
468
+ tool: z.ZodOptional<z.ZodString>;
469
+ connection: z.ZodOptional<z.ZodString>;
470
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
280
471
  gate: z.ZodOptional<z.ZodObject<{
281
472
  success: z.ZodOptional<z.ZodString>;
282
473
  on_failure: z.ZodOptional<z.ZodObject<{
@@ -285,7 +476,7 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
285
476
  }, z.core.$strict>>;
286
477
  }, z.core.$strict>>;
287
478
  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<{
479
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
289
480
  boolean: "boolean";
290
481
  json: "json";
291
482
  number: "number";
@@ -300,8 +491,61 @@ export declare const workflowDocumentJobSchema: z.ZodObject<{
300
491
  string: "string";
301
492
  }>;
302
493
  schema: z.ZodOptional<z.ZodUnknown>;
303
- }, z.core.$strict>]>>>;
304
- }, z.core.$strict>>;
494
+ }, z.core.$strict>]>, z.ZodString]>>>;
495
+ }, z.core.$strict>, z.ZodTransform<WorkflowDocumentStepSchemaOutput, {
496
+ key?: string | undefined;
497
+ if?: string | undefined;
498
+ name?: string | undefined;
499
+ working_directory?: string | undefined;
500
+ run?: string | undefined;
501
+ checkout?: {
502
+ project?: string | undefined;
503
+ connection?: string | undefined;
504
+ repository?: string | undefined;
505
+ ref?: string | undefined;
506
+ 'fetch-depth'?: number | undefined;
507
+ path?: string | undefined;
508
+ permissions?: {
509
+ contents?: "read" | "write" | undefined;
510
+ } | undefined;
511
+ 'persist-credentials'?: boolean | undefined;
512
+ force?: boolean | undefined;
513
+ } | undefined;
514
+ model?: string | undefined;
515
+ prompt?: string | undefined;
516
+ harness?: "claude" | "pi" | undefined;
517
+ thinking?: string | undefined;
518
+ session?: string | {
519
+ key: string;
520
+ mode?: "fork" | "resume" | undefined;
521
+ } | undefined;
522
+ provider?: string | undefined;
523
+ tools?: string[] | undefined;
524
+ integrations?: {
525
+ connection?: string | undefined;
526
+ include: string[];
527
+ exclude?: string[] | undefined;
528
+ allow_write?: boolean | undefined;
529
+ }[] | undefined;
530
+ agent?: unknown;
531
+ tool?: string | undefined;
532
+ connection?: string | undefined;
533
+ with?: Record<string, WorkflowDocumentJsonValue> | undefined;
534
+ gate?: {
535
+ success?: string | undefined;
536
+ on_failure?: {
537
+ restart_from: string;
538
+ feedback?: string | undefined;
539
+ } | undefined;
540
+ } | undefined;
541
+ env?: Record<string, string | number | boolean> | undefined;
542
+ outputs?: Record<string, string | {
543
+ type: "boolean" | "json" | "number" | "string";
544
+ schema?: unknown;
545
+ } | {
546
+ type: "boolean" | "json" | "number" | "string";
547
+ }> | undefined;
548
+ }>>>;
305
549
  }, z.core.$strict>;
306
550
  export declare const workflowDocumentSchema: z.ZodObject<{
307
551
  name: z.ZodString;
@@ -361,7 +605,7 @@ export declare const workflowDocumentSchema: z.ZodObject<{
361
605
  name: z.ZodOptional<z.ZodString>;
362
606
  execution_name: z.ZodOptional<z.ZodString>;
363
607
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
364
- steps: z.ZodArray<z.ZodObject<{
608
+ steps: z.ZodArray<z.ZodPipe<z.ZodObject<{
365
609
  key: z.ZodOptional<z.ZodString>;
366
610
  if: z.ZodOptional<z.ZodString>;
367
611
  name: z.ZodOptional<z.ZodString>;
@@ -398,6 +642,13 @@ export declare const workflowDocumentSchema: z.ZodObject<{
398
642
  off: "off";
399
643
  xhigh: "xhigh";
400
644
  }>, z.ZodString]>>;
645
+ session: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodObject<{
646
+ key: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
647
+ mode: z.ZodOptional<z.ZodEnum<{
648
+ fork: "fork";
649
+ resume: "resume";
650
+ }>>;
651
+ }, z.core.$strict>]>>;
401
652
  provider: z.ZodOptional<z.ZodString>;
402
653
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
403
654
  integrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -407,6 +658,9 @@ export declare const workflowDocumentSchema: z.ZodObject<{
407
658
  allow_write: z.ZodOptional<z.ZodBoolean>;
408
659
  }, z.core.$strict>>>;
409
660
  agent: z.ZodOptional<z.ZodUnknown>;
661
+ tool: z.ZodOptional<z.ZodString>;
662
+ connection: z.ZodOptional<z.ZodString>;
663
+ with: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, WorkflowDocumentJsonValue>, Record<string, unknown>>>>;
410
664
  gate: z.ZodOptional<z.ZodObject<{
411
665
  success: z.ZodOptional<z.ZodString>;
412
666
  on_failure: z.ZodOptional<z.ZodObject<{
@@ -415,7 +669,7 @@ export declare const workflowDocumentSchema: z.ZodObject<{
415
669
  }, z.core.$strict>>;
416
670
  }, z.core.$strict>>;
417
671
  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<{
672
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodEnum<{
419
673
  boolean: "boolean";
420
674
  json: "json";
421
675
  number: "number";
@@ -430,21 +684,77 @@ export declare const workflowDocumentSchema: z.ZodObject<{
430
684
  string: "string";
431
685
  }>;
432
686
  schema: z.ZodOptional<z.ZodUnknown>;
433
- }, z.core.$strict>]>>>;
434
- }, z.core.$strict>>;
687
+ }, z.core.$strict>]>, z.ZodString]>>>;
688
+ }, z.core.$strict>, z.ZodTransform<WorkflowDocumentStepSchemaOutput, {
689
+ key?: string | undefined;
690
+ if?: string | undefined;
691
+ name?: string | undefined;
692
+ working_directory?: string | undefined;
693
+ run?: string | undefined;
694
+ checkout?: {
695
+ project?: string | undefined;
696
+ connection?: string | undefined;
697
+ repository?: string | undefined;
698
+ ref?: string | undefined;
699
+ 'fetch-depth'?: number | undefined;
700
+ path?: string | undefined;
701
+ permissions?: {
702
+ contents?: "read" | "write" | undefined;
703
+ } | undefined;
704
+ 'persist-credentials'?: boolean | undefined;
705
+ force?: boolean | undefined;
706
+ } | undefined;
707
+ model?: string | undefined;
708
+ prompt?: string | undefined;
709
+ harness?: "claude" | "pi" | undefined;
710
+ thinking?: string | undefined;
711
+ session?: string | {
712
+ key: string;
713
+ mode?: "fork" | "resume" | undefined;
714
+ } | undefined;
715
+ provider?: string | undefined;
716
+ tools?: string[] | undefined;
717
+ integrations?: {
718
+ connection?: string | undefined;
719
+ include: string[];
720
+ exclude?: string[] | undefined;
721
+ allow_write?: boolean | undefined;
722
+ }[] | undefined;
723
+ agent?: unknown;
724
+ tool?: string | undefined;
725
+ connection?: string | undefined;
726
+ with?: Record<string, WorkflowDocumentJsonValue> | undefined;
727
+ gate?: {
728
+ success?: string | undefined;
729
+ on_failure?: {
730
+ restart_from: string;
731
+ feedback?: string | undefined;
732
+ } | undefined;
733
+ } | undefined;
734
+ env?: Record<string, string | number | boolean> | undefined;
735
+ outputs?: Record<string, string | {
736
+ type: "boolean" | "json" | "number" | "string";
737
+ schema?: unknown;
738
+ } | {
739
+ type: "boolean" | "json" | "number" | "string";
740
+ }> | undefined;
741
+ }>>>;
435
742
  }, z.core.$strict>>;
436
743
  }, z.core.$strict>;
744
+ export type WorkflowDocumentStep = z.infer<typeof workflowDocumentStepSchema>;
745
+ export type WorkflowDocumentJob = z.infer<typeof workflowDocumentJobSchema>;
437
746
  export type WorkflowDocument = z.infer<typeof workflowDocumentSchema>;
438
747
  export type WorkflowDocumentCheckout = z.infer<typeof workflowDocumentCheckoutSchema>;
439
748
  export type WorkflowDocumentJobCheckout = z.infer<typeof workflowDocumentJobCheckoutSchema>;
440
749
  export type WorkflowDocumentEnv = z.infer<typeof workflowDocumentEnvSchema>;
441
- export type WorkflowDocumentJob = z.infer<typeof workflowDocumentJobSchema>;
442
750
  export type WorkflowDocumentJobListening = z.infer<typeof workflowDocumentListeningSchema>;
443
751
  export type WorkflowDocumentRunStepGate = z.infer<typeof workflowDocumentStepGateSchema>;
444
752
  export type WorkflowDocumentStepIntegration = z.infer<typeof workflowDocumentStepIntegrationSchema>;
445
753
  export type WorkflowDocumentStepOutputType = (typeof workflowDocumentStepOutputTypes)[number];
446
754
  export type WorkflowDocumentStepOutputs = z.infer<typeof workflowDocumentStepOutputsSchema>;
447
- export type WorkflowDocumentStep = z.infer<typeof workflowDocumentStepSchema>;
755
+ export type WorkflowDocumentToolStepOutputs = z.infer<typeof workflowDocumentToolStepOutputsSchema>;
756
+ export type WorkflowDocumentToolWith = z.infer<typeof workflowDocumentToolStepWithSchema>;
757
+ export type WorkflowDocumentSession = z.infer<typeof workflowDocumentSessionSchema>;
448
758
  export type WorkflowDocumentTrigger = z.infer<typeof workflowDocumentTriggerSchema>;
449
759
  export {};
450
760
  //# 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;AA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