@polka-codes/core 0.9.78 → 0.9.80

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
@@ -29,7 +29,7 @@ import {
29
29
  agentWorkflow,
30
30
  createContext,
31
31
  makeStepFn,
32
- type ToolResponse,
32
+ type AgentToolResponse,
33
33
  ToolResponseType,
34
34
  } from '@polka-codes/core';
35
35
  import { z } from 'zod';
@@ -52,10 +52,10 @@ async function main() {
52
52
  const { location } = input as z.infer<typeof getCurrentWeather.parameters>;
53
53
  // In a real app, you would call a weather API here
54
54
  const weather = `The weather in ${location} is 70°F and sunny.`;
55
- const response: ToolResponse = { type: ToolResponseType.Reply, message: weather };
55
+ const response: AgentToolResponse = { type: ToolResponseType.Reply, message: weather };
56
56
  return response;
57
57
  }
58
- const response: ToolResponse = { type: ToolResponseType.Error, message: 'Tool not found' };
58
+ const response: AgentToolResponse = { type: ToolResponseType.Error, message: 'Tool not found' };
59
59
  return response;
60
60
  },
61
61
  // A simple text generation function
@@ -21,6 +21,14 @@ import { ZodObject } from 'zod';
21
21
  import { ZodOptional } from 'zod';
22
22
  import { ZodString } from 'zod';
23
23
 
24
+ declare type AgentToolInfo = {
25
+ name: string;
26
+ description: string;
27
+ parameters: z.ZodObject<any>;
28
+ };
29
+ export { AgentToolInfo }
30
+ export { AgentToolInfo as AgentToolInfo_alias_1 }
31
+
24
32
  declare type AgentToolRegistry = {
25
33
  generateText: {
26
34
  input: {
@@ -39,20 +47,24 @@ declare type AgentToolRegistry = {
39
47
  toolName: string;
40
48
  input: any;
41
49
  };
42
- output: ToolResponse;
50
+ output: AgentToolResponse;
43
51
  };
44
52
  };
45
53
  export { AgentToolRegistry }
46
54
  export { AgentToolRegistry as AgentToolRegistry_alias_1 }
47
55
  export { AgentToolRegistry as AgentToolRegistry_alias_2 }
48
56
 
57
+ declare type AgentToolResponse = ToolResponseReply | ToolResponseExit | ToolResponseError;
58
+ export { AgentToolResponse }
59
+ export { AgentToolResponse as AgentToolResponse_alias_1 }
60
+
49
61
  declare const agentWorkflow: WorkflowFn<AgentWorkflowInput, ExitReason, AgentToolRegistry>;
50
62
  export { agentWorkflow }
51
63
  export { agentWorkflow as agentWorkflow_alias_1 }
52
64
  export { agentWorkflow as agentWorkflow_alias_2 }
53
65
 
54
66
  declare type AgentWorkflowInput = {
55
- tools: Readonly<FullToolInfo[]>;
67
+ tools: Readonly<FullAgentToolInfo[]>;
56
68
  maxToolRoundTrips?: number;
57
69
  userMessage: readonly JsonUserModelMessage[];
58
70
  outputSchema?: z.ZodSchema;
@@ -158,6 +170,10 @@ export { createContext }
158
170
  export { createContext as createContext_alias_1 }
159
171
  export { createContext as createContext_alias_2 }
160
172
 
173
+ declare function createDynamicWorkflow<TTools extends ToolRegistry = DynamicWorkflowRegistry>(definition: WorkflowFile | string, options?: DynamicWorkflowRunnerOptions): (workflowId: string, input: Record<string, any>, context: WorkflowContext<TTools>) => Promise<any>;
174
+ export { createDynamicWorkflow }
175
+ export { createDynamicWorkflow as createDynamicWorkflow_alias_1 }
176
+
161
177
  declare const _default: {
162
178
  handler: ToolHandler<{
163
179
  readonly name: "askFollowupQuestion";
@@ -556,6 +572,73 @@ export { _default_9 as readFile_alias_1 }
556
572
  */
557
573
  export declare function dirname(path: string): string;
558
574
 
575
+ declare type DynamicStepRuntimeContext<TTools extends ToolRegistry> = {
576
+ workflowId: string;
577
+ stepId: string;
578
+ input: Record<string, any>;
579
+ state: Record<string, any>;
580
+ tools: WorkflowTools<TTools>;
581
+ logger: Logger;
582
+ step: StepFn;
583
+ runWorkflow: (workflowId: string, input?: Record<string, any>) => Promise<any>;
584
+ toolInfo: Readonly<FullAgentToolInfo[]> | undefined;
585
+ };
586
+ export { DynamicStepRuntimeContext }
587
+ export { DynamicStepRuntimeContext as DynamicStepRuntimeContext_alias_1 }
588
+
589
+ declare type DynamicWorkflowParseResult = {
590
+ success: true;
591
+ definition: WorkflowFile;
592
+ } | {
593
+ success: false;
594
+ error: string;
595
+ };
596
+ export { DynamicWorkflowParseResult }
597
+ export { DynamicWorkflowParseResult as DynamicWorkflowParseResult_alias_1 }
598
+
599
+ declare type DynamicWorkflowRegistry = ToolRegistry & {
600
+ runWorkflow: RunWorkflowTool;
601
+ };
602
+ export { DynamicWorkflowRegistry }
603
+ export { DynamicWorkflowRegistry as DynamicWorkflowRegistry_alias_1 }
604
+
605
+ declare type DynamicWorkflowRunnerOptions = {
606
+ /**
607
+ * Tool definitions used when a step does not have persisted `code`
608
+ * and needs to be executed via `agentWorkflow`.
609
+ */
610
+ toolInfo?: Readonly<FullAgentToolInfo[]>;
611
+ /**
612
+ * Model id forwarded to `agentWorkflow` for agent-executed steps.
613
+ */
614
+ model?: string;
615
+ /**
616
+ * Maximum round trips for agent-executed steps.
617
+ */
618
+ maxToolRoundTrips?: number;
619
+ /**
620
+ * Opt-in to execute persisted step `code` strings.
621
+ * When false, steps without code must be agent-executed.
622
+ */
623
+ allowUnsafeCodeExecution?: boolean;
624
+ /**
625
+ * Customize per-step system prompt for agent-executed steps.
626
+ */
627
+ stepSystemPrompt?: (args: {
628
+ workflowId: string;
629
+ step: WorkflowStepDefinition;
630
+ input: any;
631
+ state: any;
632
+ }) => string;
633
+ /**
634
+ * Whether to wrap plain text agent responses in an object { result: ... }.
635
+ * Defaults to false.
636
+ */
637
+ wrapAgentResultInObject?: boolean;
638
+ };
639
+ export { DynamicWorkflowRunnerOptions }
640
+ export { DynamicWorkflowRunnerOptions as DynamicWorkflowRunnerOptions_alias_1 }
641
+
559
642
  declare type ExitReason = {
560
643
  type: 'UsageExceeded';
561
644
  messages: JsonModelMessage[];
@@ -597,11 +680,63 @@ export { fromJsonModelMessage }
597
680
  export { fromJsonModelMessage as fromJsonModelMessage_alias_1 }
598
681
  export { fromJsonModelMessage as fromJsonModelMessage_alias_2 }
599
682
 
600
- declare type FullToolInfo = ToolInfo & {
601
- handler: ToolHandler<ToolInfo, any>;
602
- };
603
- export { FullToolInfo }
604
- export { FullToolInfo as FullToolInfo_alias_1 }
683
+ declare type FullAgentToolInfo = AgentToolInfo & {
684
+ handler: ToolHandler<AgentToolInfo, any>;
685
+ };
686
+ export { FullAgentToolInfo }
687
+ export { FullAgentToolInfo as FullAgentToolInfo_alias_1 }
688
+
689
+ declare type GenerateWorkflowCodeInput = z.infer<typeof GenerateWorkflowCodeInputSchema>;
690
+ export { GenerateWorkflowCodeInput }
691
+ export { GenerateWorkflowCodeInput as GenerateWorkflowCodeInput_alias_1 }
692
+
693
+ declare const GenerateWorkflowCodeInputSchema: z.ZodObject<{
694
+ workflow: z.ZodObject<{
695
+ workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
696
+ task: z.ZodString;
697
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
698
+ id: z.ZodString;
699
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
700
+ default: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
701
+ }, z.core.$strip>>>>;
702
+ steps: z.ZodArray<z.ZodObject<{
703
+ id: z.ZodString;
704
+ tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
705
+ task: z.ZodString;
706
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
707
+ expected_outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
708
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
709
+ outputSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
710
+ timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
711
+ }, z.core.$strip>>;
712
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
713
+ }, z.core.$strip>>;
714
+ }, z.core.$strip>;
715
+ }, z.core.$strip>;
716
+ export { GenerateWorkflowCodeInputSchema }
717
+ export { GenerateWorkflowCodeInputSchema as GenerateWorkflowCodeInputSchema_alias_1 }
718
+
719
+ declare const generateWorkflowCodeWorkflow: WorkflowFn<GenerateWorkflowCodeInput, WorkflowFile, AgentToolRegistry>;
720
+ export { generateWorkflowCodeWorkflow }
721
+ export { generateWorkflowCodeWorkflow as generateWorkflowCodeWorkflow_alias_1 }
722
+
723
+ declare type GenerateWorkflowDefinitionInput = z.infer<typeof GenerateWorkflowDefinitionInputSchema>;
724
+ export { GenerateWorkflowDefinitionInput }
725
+ export { GenerateWorkflowDefinitionInput as GenerateWorkflowDefinitionInput_alias_1 }
726
+
727
+ declare const GenerateWorkflowDefinitionInputSchema: z.ZodObject<{
728
+ prompt: z.ZodString;
729
+ availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
730
+ name: z.ZodString;
731
+ description: z.ZodString;
732
+ }, z.core.$strip>>>;
733
+ }, z.core.$strip>;
734
+ export { GenerateWorkflowDefinitionInputSchema }
735
+ export { GenerateWorkflowDefinitionInputSchema as GenerateWorkflowDefinitionInputSchema_alias_1 }
736
+
737
+ declare const generateWorkflowDefinitionWorkflow: WorkflowFn<GenerateWorkflowDefinitionInput, WorkflowFile, AgentToolRegistry>;
738
+ export { generateWorkflowDefinitionWorkflow }
739
+ export { generateWorkflowDefinitionWorkflow as generateWorkflowDefinitionWorkflow_alias_1 }
605
740
 
606
741
  declare type GetTodoItemOutput = TodoItem & {
607
742
  subItems: {
@@ -877,6 +1012,10 @@ declare type ModelInfo = {
877
1012
  export { ModelInfo }
878
1013
  export { ModelInfo as ModelInfo_alias_1 }
879
1014
 
1015
+ declare function parseDynamicWorkflowDefinition(source: string): DynamicWorkflowParseResult;
1016
+ export { parseDynamicWorkflowDefinition }
1017
+ export { parseDynamicWorkflowDefinition as parseDynamicWorkflowDefinition_alias_1 }
1018
+
880
1019
  declare const parseJsonFromMarkdown: (markdown: string) => ParseOutputResult<any>;
881
1020
  export { parseJsonFromMarkdown }
882
1021
  export { parseJsonFromMarkdown as parseJsonFromMarkdown_alias_1 }
@@ -941,6 +1080,16 @@ declare const ruleSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
941
1080
  export { ruleSchema }
942
1081
  export { ruleSchema as ruleSchema_alias_1 }
943
1082
 
1083
+ declare type RunWorkflowTool = {
1084
+ input: {
1085
+ workflowId: string;
1086
+ input?: any;
1087
+ };
1088
+ output: any;
1089
+ };
1090
+ export { RunWorkflowTool }
1091
+ export { RunWorkflowTool as RunWorkflowTool_alias_1 }
1092
+
944
1093
  declare interface StepFn {
945
1094
  <T>(name: string, fn: () => Promise<T>): Promise<T>;
946
1095
  <T>(name: string, options: StepOptions, fn: () => Promise<T>): Promise<T>;
@@ -1135,18 +1284,10 @@ export { toJsonModelMessage }
1135
1284
  export { toJsonModelMessage as toJsonModelMessage_alias_1 }
1136
1285
  export { toJsonModelMessage as toJsonModelMessage_alias_2 }
1137
1286
 
1138
- declare type ToolHandler<_T, P> = (provider: P, args: Partial<Record<string, ToolParameterValue>>) => Promise<ToolResponse>;
1287
+ declare type ToolHandler<_T, P> = (provider: P, args: Partial<Record<string, ToolParameterValue>>) => Promise<AgentToolResponse>;
1139
1288
  export { ToolHandler }
1140
1289
  export { ToolHandler as ToolHandler_alias_1 }
1141
1290
 
1142
- declare type ToolInfo = {
1143
- name: string;
1144
- description: string;
1145
- parameters: z.ZodObject<any>;
1146
- };
1147
- export { ToolInfo }
1148
- export { ToolInfo as ToolInfo_alias_1 }
1149
-
1150
1291
  export declare const toolInfo: {
1151
1292
  readonly name: "askFollowupQuestion";
1152
1293
  readonly description: "Call this when vital details are missing. Pose each follow-up as one direct, unambiguous question. If it speeds the reply, add up to five short, mutually-exclusive answer options. Group any related questions in the same call to avoid a back-and-forth chain.";
@@ -1352,10 +1493,6 @@ export { ToolRegistry }
1352
1493
  export { ToolRegistry as ToolRegistry_alias_1 }
1353
1494
  export { ToolRegistry as ToolRegistry_alias_2 }
1354
1495
 
1355
- declare type ToolResponse = ToolResponseReply | ToolResponseExit | ToolResponseError;
1356
- export { ToolResponse }
1357
- export { ToolResponse as ToolResponse_alias_1 }
1358
-
1359
1496
  declare type ToolResponseError = {
1360
1497
  type: ToolResponseType.Error;
1361
1498
  message: ToolResponseResult;
@@ -1540,11 +1677,94 @@ export { WorkflowContext }
1540
1677
  export { WorkflowContext as WorkflowContext_alias_1 }
1541
1678
  export { WorkflowContext as WorkflowContext_alias_2 }
1542
1679
 
1680
+ declare type WorkflowDefinition = z.infer<typeof WorkflowDefinitionSchema>;
1681
+ export { WorkflowDefinition }
1682
+ export { WorkflowDefinition as WorkflowDefinition_alias_1 }
1683
+
1684
+ declare const WorkflowDefinitionSchema: z.ZodObject<{
1685
+ task: z.ZodString;
1686
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1687
+ id: z.ZodString;
1688
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1689
+ default: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1690
+ }, z.core.$strip>>>>;
1691
+ steps: z.ZodArray<z.ZodObject<{
1692
+ id: z.ZodString;
1693
+ tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1694
+ task: z.ZodString;
1695
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1696
+ expected_outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1697
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1698
+ outputSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1699
+ timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1700
+ }, z.core.$strip>>;
1701
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1702
+ }, z.core.$strip>;
1703
+ export { WorkflowDefinitionSchema }
1704
+ export { WorkflowDefinitionSchema as WorkflowDefinitionSchema_alias_1 }
1705
+
1706
+ declare type WorkflowFile = z.infer<typeof WorkflowFileSchema>;
1707
+ export { WorkflowFile }
1708
+ export { WorkflowFile as WorkflowFile_alias_1 }
1709
+
1710
+ declare const WorkflowFileSchema: z.ZodObject<{
1711
+ workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
1712
+ task: z.ZodString;
1713
+ inputs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1714
+ id: z.ZodString;
1715
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1716
+ default: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1717
+ }, z.core.$strip>>>>;
1718
+ steps: z.ZodArray<z.ZodObject<{
1719
+ id: z.ZodString;
1720
+ tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1721
+ task: z.ZodString;
1722
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1723
+ expected_outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1724
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1725
+ outputSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1726
+ timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1727
+ }, z.core.$strip>>;
1728
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1729
+ }, z.core.$strip>>;
1730
+ }, z.core.$strip>;
1731
+ export { WorkflowFileSchema }
1732
+ export { WorkflowFileSchema as WorkflowFileSchema_alias_1 }
1733
+
1543
1734
  declare type WorkflowFn<TInput, TOutput, TTools extends ToolRegistry> = (input: TInput, context: WorkflowContext<TTools>) => Promise<TOutput>;
1544
1735
  export { WorkflowFn }
1545
1736
  export { WorkflowFn as WorkflowFn_alias_1 }
1546
1737
  export { WorkflowFn as WorkflowFn_alias_2 }
1547
1738
 
1739
+ declare type WorkflowInputDefinition = z.infer<typeof WorkflowInputDefinitionSchema>;
1740
+ export { WorkflowInputDefinition }
1741
+ export { WorkflowInputDefinition as WorkflowInputDefinition_alias_1 }
1742
+
1743
+ declare const WorkflowInputDefinitionSchema: z.ZodObject<{
1744
+ id: z.ZodString;
1745
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1746
+ default: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1747
+ }, z.core.$strip>;
1748
+ export { WorkflowInputDefinitionSchema }
1749
+ export { WorkflowInputDefinitionSchema as WorkflowInputDefinitionSchema_alias_1 }
1750
+
1751
+ declare type WorkflowStepDefinition = z.infer<typeof WorkflowStepDefinitionSchema>;
1752
+ export { WorkflowStepDefinition }
1753
+ export { WorkflowStepDefinition as WorkflowStepDefinition_alias_1 }
1754
+
1755
+ declare const WorkflowStepDefinitionSchema: z.ZodObject<{
1756
+ id: z.ZodString;
1757
+ tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1758
+ task: z.ZodString;
1759
+ output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1760
+ expected_outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1761
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1762
+ outputSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1763
+ timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1764
+ }, z.core.$strip>;
1765
+ export { WorkflowStepDefinitionSchema }
1766
+ export { WorkflowStepDefinitionSchema as WorkflowStepDefinitionSchema_alias_1 }
1767
+
1548
1768
  declare type WorkflowTools<TTools extends ToolRegistry> = {
1549
1769
  [K in keyof TTools]: (input: TTools[K]['input']) => Promise<TTools[K]['output']>;
1550
1770
  };
package/dist/index.d.ts CHANGED
@@ -10,15 +10,15 @@ export { configSchema_alias_1 as configSchema } from './_tsup-dts-rollup.js';
10
10
  export { Config_alias_1 as Config } from './_tsup-dts-rollup.js';
11
11
  export { ToolParameterValue } from './_tsup-dts-rollup.js';
12
12
  export { ToolParameter } from './_tsup-dts-rollup.js';
13
- export { ToolInfo } from './_tsup-dts-rollup.js';
14
- export { FullToolInfo } from './_tsup-dts-rollup.js';
13
+ export { AgentToolInfo } from './_tsup-dts-rollup.js';
14
+ export { FullAgentToolInfo } from './_tsup-dts-rollup.js';
15
15
  export { ToolResponseType } from './_tsup-dts-rollup.js';
16
16
  export { ToolResponseResultMedia } from './_tsup-dts-rollup.js';
17
17
  export { ToolResponseResult } from './_tsup-dts-rollup.js';
18
18
  export { ToolResponseReply } from './_tsup-dts-rollup.js';
19
19
  export { ToolResponseExit } from './_tsup-dts-rollup.js';
20
20
  export { ToolResponseError } from './_tsup-dts-rollup.js';
21
- export { ToolResponse } from './_tsup-dts-rollup.js';
21
+ export { AgentToolResponse } from './_tsup-dts-rollup.js';
22
22
  export { ToolHandler } from './_tsup-dts-rollup.js';
23
23
  export { askFollowupQuestion } from './_tsup-dts-rollup.js';
24
24
  export { executeCommand } from './_tsup-dts-rollup.js';
@@ -60,6 +60,27 @@ export { UsageMeter_alias_1 as UsageMeter } from './_tsup-dts-rollup.js';
60
60
  export { AgentWorkflowInput } from './_tsup-dts-rollup.js';
61
61
  export { AgentToolRegistry } from './_tsup-dts-rollup.js';
62
62
  export { agentWorkflow } from './_tsup-dts-rollup.js';
63
+ export { parseDynamicWorkflowDefinition } from './_tsup-dts-rollup.js';
64
+ export { createDynamicWorkflow } from './_tsup-dts-rollup.js';
65
+ export { RunWorkflowTool } from './_tsup-dts-rollup.js';
66
+ export { DynamicWorkflowRegistry } from './_tsup-dts-rollup.js';
67
+ export { DynamicWorkflowParseResult } from './_tsup-dts-rollup.js';
68
+ export { DynamicStepRuntimeContext } from './_tsup-dts-rollup.js';
69
+ export { DynamicWorkflowRunnerOptions } from './_tsup-dts-rollup.js';
70
+ export { GenerateWorkflowDefinitionInputSchema } from './_tsup-dts-rollup.js';
71
+ export { GenerateWorkflowDefinitionInput } from './_tsup-dts-rollup.js';
72
+ export { GenerateWorkflowCodeInputSchema } from './_tsup-dts-rollup.js';
73
+ export { GenerateWorkflowCodeInput } from './_tsup-dts-rollup.js';
74
+ export { generateWorkflowDefinitionWorkflow } from './_tsup-dts-rollup.js';
75
+ export { generateWorkflowCodeWorkflow } from './_tsup-dts-rollup.js';
76
+ export { WorkflowInputDefinitionSchema } from './_tsup-dts-rollup.js';
77
+ export { WorkflowStepDefinitionSchema } from './_tsup-dts-rollup.js';
78
+ export { WorkflowDefinitionSchema } from './_tsup-dts-rollup.js';
79
+ export { WorkflowFileSchema } from './_tsup-dts-rollup.js';
80
+ export { WorkflowInputDefinition } from './_tsup-dts-rollup.js';
81
+ export { WorkflowStepDefinition } from './_tsup-dts-rollup.js';
82
+ export { WorkflowDefinition } from './_tsup-dts-rollup.js';
83
+ export { WorkflowFile } from './_tsup-dts-rollup.js';
63
84
  export { JsonImagePart } from './_tsup-dts-rollup.js';
64
85
  export { JsonFilePart } from './_tsup-dts-rollup.js';
65
86
  export { JsonUserModelMessage } from './_tsup-dts-rollup.js';