@hexabot-ai/types 3.0.2-alpha.9 → 3.0.2-beta.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.
@@ -89,6 +89,7 @@ export declare const workflowRunSchema: z.ZodType<{
89
89
  workflow: string;
90
90
  workflowVersion: string | null;
91
91
  triggeredBy: string | null;
92
+ parentRun: string | null;
92
93
  }, unknown, z.core.$ZodTypeInternals<{
93
94
  id: string;
94
95
  createdAt: Date;
@@ -116,6 +117,7 @@ export declare const workflowRunSchema: z.ZodType<{
116
117
  workflow: string;
117
118
  workflowVersion: string | null;
118
119
  triggeredBy: string | null;
120
+ parentRun: string | null;
119
121
  }, unknown>>;
120
122
  export declare const workflowRunFullSchema: z.ZodType<{
121
123
  id: string;
@@ -242,6 +244,35 @@ export declare const workflowRunFullSchema: z.ZodType<{
242
244
  closeReason?: "manual" | "inactivity" | null | undefined;
243
245
  title?: string | null | undefined;
244
246
  } | null | undefined;
247
+ parentRun?: {
248
+ id: string;
249
+ createdAt: Date;
250
+ updatedAt: Date;
251
+ status: "idle" | "running" | "suspended" | "finished" | "failed";
252
+ input: Record<string, any> | null;
253
+ output: Record<string, any> | null;
254
+ context: Record<string, any>;
255
+ snapshot: any;
256
+ stepLog: Record<string, any> | null;
257
+ suspendedStep: string | null;
258
+ suspensionReason: string | null;
259
+ suspensionData: unknown;
260
+ suspensionStepExecId: string | null;
261
+ suspensionIndex: number | null;
262
+ suspensionKey: string | null;
263
+ suspensionAwaitResults: Record<string, any> | null;
264
+ lastResumeData: unknown;
265
+ error: string | null;
266
+ suspendedAt: Date | null;
267
+ finishedAt: Date | null;
268
+ failedAt: Date | null;
269
+ duration: number | null;
270
+ metadata: Record<string, any> | null;
271
+ workflow: string;
272
+ workflowVersion: string | null;
273
+ triggeredBy: string | null;
274
+ parentRun: string | null;
275
+ } | null | undefined;
245
276
  }, unknown, z.core.$ZodTypeInternals<{
246
277
  id: string;
247
278
  createdAt: Date;
@@ -367,6 +398,35 @@ export declare const workflowRunFullSchema: z.ZodType<{
367
398
  closeReason?: "manual" | "inactivity" | null | undefined;
368
399
  title?: string | null | undefined;
369
400
  } | null | undefined;
401
+ parentRun?: {
402
+ id: string;
403
+ createdAt: Date;
404
+ updatedAt: Date;
405
+ status: "idle" | "running" | "suspended" | "finished" | "failed";
406
+ input: Record<string, any> | null;
407
+ output: Record<string, any> | null;
408
+ context: Record<string, any>;
409
+ snapshot: any;
410
+ stepLog: Record<string, any> | null;
411
+ suspendedStep: string | null;
412
+ suspensionReason: string | null;
413
+ suspensionData: unknown;
414
+ suspensionStepExecId: string | null;
415
+ suspensionIndex: number | null;
416
+ suspensionKey: string | null;
417
+ suspensionAwaitResults: Record<string, any> | null;
418
+ lastResumeData: unknown;
419
+ error: string | null;
420
+ suspendedAt: Date | null;
421
+ finishedAt: Date | null;
422
+ failedAt: Date | null;
423
+ duration: number | null;
424
+ metadata: Record<string, any> | null;
425
+ workflow: string;
426
+ workflowVersion: string | null;
427
+ triggeredBy: string | null;
428
+ parentRun: string | null;
429
+ } | null | undefined;
370
430
  }, unknown>>;
371
431
  export type WorkflowRunStub = z.infer<typeof workflowRunStubSchema>;
372
432
  export type WorkflowRun = z.infer<typeof workflowRunSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-run.d.ts","sourceRoot":"","sources":["../../../src/workflow/workflow-run.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,QAAA,MAAM,uBAAuB;;;;;;EAM3B,CAAC;AAYH,eAAO,MAAM,oBAAoB,GAAI,KAAK;IACxC,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,IAAI,GAAG,MAAM,GAA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3
+ export declare const WORKFLOW_TRANSFER_RESOURCE_KIND_PATTERN: RegExp;
4
+ export declare const workflowTransferResourceKindSchema: z.ZodString;
5
+ export declare const workflowExportBundleMemoryDefinitionSchema: z.ZodObject<{
6
+ exportId: z.ZodString;
7
+ name: z.ZodString;
8
+ slug: z.ZodString;
9
+ scope: z.ZodEnum<typeof import("./domain").MemoryScope>;
10
+ schema: z.ZodAny;
11
+ ttlSeconds: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
12
+ }, z.core.$strict>;
13
+ export declare const workflowExportBundleCredentialSchema: z.ZodObject<{
14
+ exportId: z.ZodString;
15
+ name: z.ZodString;
16
+ exportedOwnerId: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strict>;
18
+ export declare const workflowExportBundleMcpServerSchema: z.ZodObject<{
19
+ exportId: z.ZodString;
20
+ name: z.ZodString;
21
+ enabled: z.ZodCoercedBoolean<unknown>;
22
+ transport: z.ZodEnum<typeof import("./domain").McpServerTransport>;
23
+ url: z.ZodNullable<z.ZodString>;
24
+ command: z.ZodNullable<z.ZodString>;
25
+ args: z.ZodNullable<z.ZodArray<z.ZodString>>;
26
+ cwd: z.ZodNullable<z.ZodString>;
27
+ credentialExportId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ }, z.core.$strict>;
29
+ export declare const workflowExportBundleContentTypeSchema: z.ZodObject<{
30
+ exportId: z.ZodString;
31
+ name: z.ZodString;
32
+ schema: z.ZodAny;
33
+ }, z.core.$strict>;
34
+ export declare const workflowExportBundleLabelGroupSchema: z.ZodObject<{
35
+ exportId: z.ZodString;
36
+ name: z.ZodString;
37
+ }, z.core.$strict>;
38
+ export declare const workflowExportBundleLabelSchema: z.ZodObject<{
39
+ exportId: z.ZodString;
40
+ title: z.ZodString;
41
+ name: z.ZodString;
42
+ description: z.ZodNullable<z.ZodString>;
43
+ groupExportId: z.ZodNullable<z.ZodString>;
44
+ }, z.core.$strict>;
45
+ export declare const workflowExportBundleWorkflowDependencySchema: z.ZodObject<{
46
+ exportId: z.ZodString;
47
+ workflow: z.ZodObject<{
48
+ type: z.ZodEnum<typeof import("./domain").WorkflowType>;
49
+ description: z.ZodNullable<z.ZodString>;
50
+ name: z.ZodString;
51
+ schedule: z.ZodNullable<z.ZodString>;
52
+ inputSchema: z.ZodAny;
53
+ layout: z.ZodObject<{
54
+ x: z.ZodCoercedNumber<unknown>;
55
+ y: z.ZodCoercedNumber<unknown>;
56
+ zoom: z.ZodCoercedNumber<unknown>;
57
+ direction: z.ZodEnum<typeof import("./domain").DirectionType>;
58
+ }, z.core.$strict>;
59
+ }, z.core.$strict>;
60
+ version: z.ZodObject<{
61
+ number: z.ZodCoercedNumber<unknown>;
62
+ checksum: z.ZodString;
63
+ message: z.ZodNullable<z.ZodString>;
64
+ exportedVersionId: z.ZodString;
65
+ }, z.core.$strict>;
66
+ definitionYml: z.ZodString;
67
+ }, z.core.$strict>;
68
+ export declare const workflowExportBundleV1Schema: z.ZodObject<{
69
+ kind: z.ZodLiteral<"hexabot.workflow.bundle">;
70
+ schemaVersion: z.ZodLiteral<1>;
71
+ exportedAt: z.ZodISODateTime;
72
+ workflow: z.ZodObject<{
73
+ exportId: z.ZodOptional<z.ZodString>;
74
+ name: z.ZodString;
75
+ description: z.ZodNullable<z.ZodString>;
76
+ type: z.ZodEnum<typeof import("./domain").WorkflowType>;
77
+ schedule: z.ZodNullable<z.ZodString>;
78
+ inputSchema: z.ZodAny;
79
+ layout: z.ZodObject<{
80
+ x: z.ZodCoercedNumber<unknown>;
81
+ y: z.ZodCoercedNumber<unknown>;
82
+ zoom: z.ZodCoercedNumber<unknown>;
83
+ direction: z.ZodEnum<typeof import("./domain").DirectionType>;
84
+ }, z.core.$strict>;
85
+ }, z.core.$strict>;
86
+ version: z.ZodObject<{
87
+ number: z.ZodCoercedNumber<unknown>;
88
+ checksum: z.ZodString;
89
+ message: z.ZodNullable<z.ZodString>;
90
+ exportedVersionId: z.ZodString;
91
+ }, z.core.$strict>;
92
+ definitionYml: z.ZodString;
93
+ resources: z.ZodObject<{
94
+ memoryDefinitions: z.ZodArray<z.ZodObject<{
95
+ exportId: z.ZodString;
96
+ name: z.ZodString;
97
+ slug: z.ZodString;
98
+ scope: z.ZodEnum<typeof import("./domain").MemoryScope>;
99
+ schema: z.ZodAny;
100
+ ttlSeconds: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
101
+ }, z.core.$strict>>;
102
+ mcpServers: z.ZodArray<z.ZodObject<{
103
+ exportId: z.ZodString;
104
+ name: z.ZodString;
105
+ enabled: z.ZodCoercedBoolean<unknown>;
106
+ transport: z.ZodEnum<typeof import("./domain").McpServerTransport>;
107
+ url: z.ZodNullable<z.ZodString>;
108
+ command: z.ZodNullable<z.ZodString>;
109
+ args: z.ZodNullable<z.ZodArray<z.ZodString>>;
110
+ cwd: z.ZodNullable<z.ZodString>;
111
+ credentialExportId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ }, z.core.$strict>>;
113
+ credentials: z.ZodArray<z.ZodObject<{
114
+ exportId: z.ZodString;
115
+ name: z.ZodString;
116
+ exportedOwnerId: z.ZodOptional<z.ZodString>;
117
+ }, z.core.$strict>>;
118
+ contentTypes: z.ZodDefault<z.ZodArray<z.ZodObject<{
119
+ exportId: z.ZodString;
120
+ name: z.ZodString;
121
+ schema: z.ZodAny;
122
+ }, z.core.$strict>>>;
123
+ labelGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
124
+ exportId: z.ZodString;
125
+ name: z.ZodString;
126
+ }, z.core.$strict>>>;
127
+ labels: z.ZodDefault<z.ZodArray<z.ZodObject<{
128
+ exportId: z.ZodString;
129
+ title: z.ZodString;
130
+ name: z.ZodString;
131
+ description: z.ZodNullable<z.ZodString>;
132
+ groupExportId: z.ZodNullable<z.ZodString>;
133
+ }, z.core.$strict>>>;
134
+ workflows: z.ZodDefault<z.ZodArray<z.ZodObject<{
135
+ exportId: z.ZodString;
136
+ workflow: z.ZodObject<{
137
+ type: z.ZodEnum<typeof import("./domain").WorkflowType>;
138
+ description: z.ZodNullable<z.ZodString>;
139
+ name: z.ZodString;
140
+ schedule: z.ZodNullable<z.ZodString>;
141
+ inputSchema: z.ZodAny;
142
+ layout: z.ZodObject<{
143
+ x: z.ZodCoercedNumber<unknown>;
144
+ y: z.ZodCoercedNumber<unknown>;
145
+ zoom: z.ZodCoercedNumber<unknown>;
146
+ direction: z.ZodEnum<typeof import("./domain").DirectionType>;
147
+ }, z.core.$strict>;
148
+ }, z.core.$strict>;
149
+ version: z.ZodObject<{
150
+ number: z.ZodCoercedNumber<unknown>;
151
+ checksum: z.ZodString;
152
+ message: z.ZodNullable<z.ZodString>;
153
+ exportedVersionId: z.ZodString;
154
+ }, z.core.$strict>;
155
+ definitionYml: z.ZodString;
156
+ }, z.core.$strict>>>;
157
+ }, z.core.$catchall<z.ZodArray<z.ZodUnknown>>>;
158
+ }, z.core.$strict>;
159
+ export declare const workflowExportBundleSchema: z.ZodObject<{
160
+ kind: z.ZodLiteral<"hexabot.workflow.bundle">;
161
+ schemaVersion: z.ZodLiteral<1>;
162
+ exportedAt: z.ZodISODateTime;
163
+ workflow: z.ZodObject<{
164
+ exportId: z.ZodOptional<z.ZodString>;
165
+ name: z.ZodString;
166
+ description: z.ZodNullable<z.ZodString>;
167
+ type: z.ZodEnum<typeof import("./domain").WorkflowType>;
168
+ schedule: z.ZodNullable<z.ZodString>;
169
+ inputSchema: z.ZodAny;
170
+ layout: z.ZodObject<{
171
+ x: z.ZodCoercedNumber<unknown>;
172
+ y: z.ZodCoercedNumber<unknown>;
173
+ zoom: z.ZodCoercedNumber<unknown>;
174
+ direction: z.ZodEnum<typeof import("./domain").DirectionType>;
175
+ }, z.core.$strict>;
176
+ }, z.core.$strict>;
177
+ version: z.ZodObject<{
178
+ number: z.ZodCoercedNumber<unknown>;
179
+ checksum: z.ZodString;
180
+ message: z.ZodNullable<z.ZodString>;
181
+ exportedVersionId: z.ZodString;
182
+ }, z.core.$strict>;
183
+ definitionYml: z.ZodString;
184
+ resources: z.ZodObject<{
185
+ memoryDefinitions: z.ZodArray<z.ZodObject<{
186
+ exportId: z.ZodString;
187
+ name: z.ZodString;
188
+ slug: z.ZodString;
189
+ scope: z.ZodEnum<typeof import("./domain").MemoryScope>;
190
+ schema: z.ZodAny;
191
+ ttlSeconds: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
192
+ }, z.core.$strict>>;
193
+ mcpServers: z.ZodArray<z.ZodObject<{
194
+ exportId: z.ZodString;
195
+ name: z.ZodString;
196
+ enabled: z.ZodCoercedBoolean<unknown>;
197
+ transport: z.ZodEnum<typeof import("./domain").McpServerTransport>;
198
+ url: z.ZodNullable<z.ZodString>;
199
+ command: z.ZodNullable<z.ZodString>;
200
+ args: z.ZodNullable<z.ZodArray<z.ZodString>>;
201
+ cwd: z.ZodNullable<z.ZodString>;
202
+ credentialExportId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
+ }, z.core.$strict>>;
204
+ credentials: z.ZodArray<z.ZodObject<{
205
+ exportId: z.ZodString;
206
+ name: z.ZodString;
207
+ exportedOwnerId: z.ZodOptional<z.ZodString>;
208
+ }, z.core.$strict>>;
209
+ contentTypes: z.ZodDefault<z.ZodArray<z.ZodObject<{
210
+ exportId: z.ZodString;
211
+ name: z.ZodString;
212
+ schema: z.ZodAny;
213
+ }, z.core.$strict>>>;
214
+ labelGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
215
+ exportId: z.ZodString;
216
+ name: z.ZodString;
217
+ }, z.core.$strict>>>;
218
+ labels: z.ZodDefault<z.ZodArray<z.ZodObject<{
219
+ exportId: z.ZodString;
220
+ title: z.ZodString;
221
+ name: z.ZodString;
222
+ description: z.ZodNullable<z.ZodString>;
223
+ groupExportId: z.ZodNullable<z.ZodString>;
224
+ }, z.core.$strict>>>;
225
+ workflows: z.ZodDefault<z.ZodArray<z.ZodObject<{
226
+ exportId: z.ZodString;
227
+ workflow: z.ZodObject<{
228
+ type: z.ZodEnum<typeof import("./domain").WorkflowType>;
229
+ description: z.ZodNullable<z.ZodString>;
230
+ name: z.ZodString;
231
+ schedule: z.ZodNullable<z.ZodString>;
232
+ inputSchema: z.ZodAny;
233
+ layout: z.ZodObject<{
234
+ x: z.ZodCoercedNumber<unknown>;
235
+ y: z.ZodCoercedNumber<unknown>;
236
+ zoom: z.ZodCoercedNumber<unknown>;
237
+ direction: z.ZodEnum<typeof import("./domain").DirectionType>;
238
+ }, z.core.$strict>;
239
+ }, z.core.$strict>;
240
+ version: z.ZodObject<{
241
+ number: z.ZodCoercedNumber<unknown>;
242
+ checksum: z.ZodString;
243
+ message: z.ZodNullable<z.ZodString>;
244
+ exportedVersionId: z.ZodString;
245
+ }, z.core.$strict>;
246
+ definitionYml: z.ZodString;
247
+ }, z.core.$strict>>>;
248
+ }, z.core.$catchall<z.ZodArray<z.ZodUnknown>>>;
249
+ }, z.core.$strict>;
250
+ export declare const workflowImportResourceActionSchema: z.ZodEnum<{
251
+ reused: "reused";
252
+ created: "created";
253
+ placeholder_created: "placeholder_created";
254
+ }>;
255
+ export declare const workflowImportResourceResultSchema: z.ZodObject<{
256
+ kind: z.ZodString;
257
+ exportId: z.ZodString;
258
+ localId: z.ZodString;
259
+ name: z.ZodString;
260
+ action: z.ZodEnum<{
261
+ reused: "reused";
262
+ created: "created";
263
+ placeholder_created: "placeholder_created";
264
+ }>;
265
+ }, z.core.$strict>;
266
+ export declare const workflowImportResultSchema: z.ZodObject<{
267
+ workflow: z.ZodType<{
268
+ id: string;
269
+ createdAt: Date;
270
+ updatedAt: Date;
271
+ name: string;
272
+ description: string | null;
273
+ type: import("./domain").WorkflowType;
274
+ schedule: string | null;
275
+ inputSchema: any;
276
+ builtin: boolean;
277
+ x: number;
278
+ y: number;
279
+ zoom: number;
280
+ direction: import("./domain").DirectionType;
281
+ createdBy: string | null;
282
+ runAfterMs: number;
283
+ currentVersion?: string | null | undefined;
284
+ publishedVersion?: string | null | undefined;
285
+ }, unknown, z.core.$ZodTypeInternals<{
286
+ id: string;
287
+ createdAt: Date;
288
+ updatedAt: Date;
289
+ name: string;
290
+ description: string | null;
291
+ type: import("./domain").WorkflowType;
292
+ schedule: string | null;
293
+ inputSchema: any;
294
+ builtin: boolean;
295
+ x: number;
296
+ y: number;
297
+ zoom: number;
298
+ direction: import("./domain").DirectionType;
299
+ createdBy: string | null;
300
+ runAfterMs: number;
301
+ currentVersion?: string | null | undefined;
302
+ publishedVersion?: string | null | undefined;
303
+ }, unknown>>;
304
+ resources: z.ZodArray<z.ZodObject<{
305
+ kind: z.ZodString;
306
+ exportId: z.ZodString;
307
+ localId: z.ZodString;
308
+ name: z.ZodString;
309
+ action: z.ZodEnum<{
310
+ reused: "reused";
311
+ created: "created";
312
+ placeholder_created: "placeholder_created";
313
+ }>;
314
+ }, z.core.$strict>>;
315
+ warnings: z.ZodArray<z.ZodString>;
316
+ }, z.core.$strict>;
317
+ export type WorkflowExportBundleMemoryDefinition = z.infer<typeof workflowExportBundleMemoryDefinitionSchema>;
318
+ export type WorkflowExportBundleCredential = z.infer<typeof workflowExportBundleCredentialSchema>;
319
+ export type WorkflowExportBundleMcpServer = z.infer<typeof workflowExportBundleMcpServerSchema>;
320
+ export type WorkflowExportBundleContentType = z.infer<typeof workflowExportBundleContentTypeSchema>;
321
+ export type WorkflowExportBundleLabelGroup = z.infer<typeof workflowExportBundleLabelGroupSchema>;
322
+ export type WorkflowExportBundleLabel = z.infer<typeof workflowExportBundleLabelSchema>;
323
+ export type WorkflowExportBundleWorkflowDependency = z.infer<typeof workflowExportBundleWorkflowDependencySchema>;
324
+ export type WorkflowExportBundleV1 = z.infer<typeof workflowExportBundleV1Schema>;
325
+ export type WorkflowExportBundle = z.infer<typeof workflowExportBundleSchema>;
326
+ export type WorkflowImportResourceAction = z.infer<typeof workflowImportResourceActionSchema>;
327
+ export type WorkflowImportResourceResult = z.infer<typeof workflowImportResourceResultSchema>;
328
+ export type WorkflowImportResult = z.infer<typeof workflowImportResultSchema>;
329
+ //# sourceMappingURL=workflow-transfer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-transfer.d.ts","sourceRoot":"","sources":["../../../src/workflow/workflow-transfer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,2BAA2B,4BAA4B,CAAC;AAErE,eAAO,MAAM,uCAAuC,QACP,CAAC;AAE9C,eAAO,MAAM,kCAAkC,aAGE,CAAC;AAwBlD,eAAO,MAAM,0CAA0C;;;;;;;kBAOrD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;kBAI/C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;kBAU9C,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;kBAIhD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;kBAG/C,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;kBAM1C,CAAC;AAEH,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;kBAKvD,CAAC;AAgBH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA+B,CAAC;AAEvE,eAAO,MAAM,kCAAkC;;;;EAI7C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;kBAM7C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAIrC,CAAC;AAEH,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,0CAA0C,CAClD,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,4CAA4C,CACpD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexabot-ai/types",
3
- "version": "3.0.2-alpha.9",
3
+ "version": "3.0.2-beta.0",
4
4
  "description": "Shared zod schemas and inferred entity types for Hexabot.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",