@statelyai/sdk 0.40.0 → 0.41.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.
Files changed (35) hide show
  1. package/README.md +10 -0
  2. package/dist/assetStorage.d.mts +1 -1
  3. package/dist/chunk-D1OLi6Wq.mjs +46 -0
  4. package/dist/editorHostProtocol.d.mts +3 -3
  5. package/dist/embed.d.mts +4 -3
  6. package/dist/embed.mjs +1 -1
  7. package/dist/{graph-9CApplKH.d.mts → graph-DbZdSisK.d.mts} +1 -1
  8. package/dist/graph.d.mts +1 -1
  9. package/dist/{index-gyYPC8rD.d.mts → index-DqF1xP8P.d.mts} +50 -399
  10. package/dist/index.d.mts +5 -5
  11. package/dist/index.mjs +3 -3
  12. package/dist/{inspect-COd1d8sJ.mjs → inspect-CDjr4saL.mjs} +1 -1
  13. package/dist/{inspect-C8SpNJKF.d.mts → inspect-ruD95iBM.d.mts} +1 -1
  14. package/dist/inspect.d.mts +2 -2
  15. package/dist/inspect.mjs +2 -2
  16. package/dist/machineGraph-DYtFKHlq-BpWpGU22.mjs +3 -0
  17. package/dist/machineGraph-DYtFKHlq-ChbeTHlv.mjs +1023 -0
  18. package/dist/patchTypes.d.mts +1 -1
  19. package/dist/{protocol-DUehXGus.d.mts → protocol-BvElOcXs.d.mts} +4 -3
  20. package/dist/protocol.d.mts +1 -1
  21. package/dist/relay.d.mts +1 -1
  22. package/dist/rolldown-runtime-95iHPtFO-Bo6l7CbO.mjs +114 -0
  23. package/dist/{studio-D0XNCqKr.mjs → schemas-DsQ8UYlM.mjs} +36 -1649
  24. package/dist/sourceCoverage.d.mts +101 -0
  25. package/dist/sourceCoverage.mjs +3572 -0
  26. package/dist/studio-DH7OeLao.mjs +1604 -0
  27. package/dist/{studio-DeFtdrGS.d.mts → studio-DRw9sxCm.d.mts} +10 -2
  28. package/dist/studio.d.mts +1 -1
  29. package/dist/studio.mjs +1 -1
  30. package/dist/{version-CRlxeCo2.mjs → version-eag6cuvm.mjs} +1 -1
  31. package/dist/xstateSource-BUCx2xA4-CWteIFJn.d.mts +451 -0
  32. package/dist/xstateSource-JvwXWv6G-KnMMoZlG.mjs +151753 -0
  33. package/package.json +7 -3
  34. /package/dist/{editor-sync-types-Ch5P5XRj.d.mts → editor-sync-types-BjgSBGxf.d.mts} +0 -0
  35. /package/dist/{patchTypes-BZ7gzwAP.d.mts → patchTypes-BFlvJTDJ.d.mts} +0 -0
@@ -190,7 +190,7 @@ declare const $output: unique symbol;
190
190
  type $output = typeof $output;
191
191
  declare const $input: unique symbol;
192
192
  type $input = typeof $input;
193
- type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input$1<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
193
+ type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
194
194
  type MetadataType = object | undefined;
195
195
  declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
196
196
  _meta: Meta;
@@ -296,7 +296,7 @@ interface ToJSONSchemaContext {
296
296
  defs: Record<string, BaseSchema>;
297
297
  } | undefined;
298
298
  }
299
- type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input$1<T>, output<T>>;
299
+ type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
300
300
  interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
301
301
  "~standard": ZodStandardSchemaWithJSON$1<T>;
302
302
  }
@@ -434,7 +434,7 @@ interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeI
434
434
  /** @internal The inferred input type */
435
435
  input: I;
436
436
  }
437
- type $ZodStandardSchema<T> = StandardSchemaV1.Props<input$1<T>, output<T>>;
437
+ type $ZodStandardSchema<T> = StandardSchemaV1.Props<input<T>, output<T>>;
438
438
  type SomeType = {
439
439
  _zod: _$ZodTypeInternals;
440
440
  };
@@ -814,7 +814,7 @@ interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInt
814
814
  def: $ZodArrayDef<T>;
815
815
  isst: $ZodIssueInvalidType;
816
816
  output: output<T>[];
817
- input: input$1<T>[];
817
+ input: input<T>[];
818
818
  }
819
819
  interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {}
820
820
  declare const $ZodArray: $constructor<$ZodArray>;
@@ -829,7 +829,7 @@ type OptionalInSchema = {
829
829
  };
830
830
  };
831
831
  type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"] } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"] } & Extra>;
832
- type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input$1<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"] } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"] } & Extra>;
832
+ type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"] } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"] } & Extra>;
833
833
  type $ZodObjectConfig = {
834
834
  out: Record<string, unknown>;
835
835
  in: Record<string, unknown>;
@@ -851,7 +851,7 @@ type $catchall<T extends SomeType> = {
851
851
  [k: string]: output<T>;
852
852
  };
853
853
  in: {
854
- [k: string]: input$1<T>;
854
+ [k: string]: input<T>;
855
855
  };
856
856
  };
857
857
  type $ZodShape = Readonly<{
@@ -876,7 +876,7 @@ type $ZodLooseShape = Record<string, any>;
876
876
  interface $ZodObject< /** @ts-ignore Cast variance */out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
877
877
  declare const $ZodObject: $constructor<$ZodObject>;
878
878
  type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
879
- type $InferUnionInput<T extends SomeType> = T extends any ? input$1<T> : never;
879
+ type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
880
880
  interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
881
881
  type: "union";
882
882
  options: Options;
@@ -921,7 +921,7 @@ interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends Som
921
921
  optin: A["_zod"]["optin"] | B["_zod"]["optin"];
922
922
  optout: A["_zod"]["optout"] | B["_zod"]["optout"];
923
923
  output: output<A> & output<B>;
924
- input: input$1<A> & input$1<B>;
924
+ input: input<A> & input<B>;
925
925
  }
926
926
  interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
927
927
  _zod: $ZodIntersectionInternals<A, B>;
@@ -932,9 +932,9 @@ interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends
932
932
  items: T;
933
933
  rest: Rest;
934
934
  }
935
- type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input$1<Rest>[] : [])];
936
- type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input$1<T[k]> };
937
- type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, input$1<Tail>?] : TupleInputTypeNoOptionals<T> : [];
935
+ type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input<Rest>[] : [])];
936
+ type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]> };
937
+ type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, input<Tail>?] : TupleInputTypeNoOptionals<T> : [];
938
938
  type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output<Rest>[] : [])];
939
939
  type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]> };
940
940
  type TupleOutputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
@@ -957,7 +957,7 @@ interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends
957
957
  mode?: "strict" | "loose";
958
958
  }
959
959
  type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output<Key>, output<Value>>> : Record<output<Key>, output<Value>>;
960
- type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input$1<Key> & PropertyKey, input$1<Value>>> : Record<input$1<Key> & PropertyKey, input$1<Value>>;
960
+ type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input<Key> & PropertyKey, input<Value>>> : Record<input<Key> & PropertyKey, input<Value>>;
961
961
  interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
962
962
  def: $ZodRecordDef<Key, Value>;
963
963
  isst: $ZodIssueInvalidType | $ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
@@ -976,7 +976,7 @@ interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $
976
976
  keyType: Key;
977
977
  valueType: Value;
978
978
  }
979
- interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<output<Key>, output<Value>>, Map<input$1<Key>, input$1<Value>>> {
979
+ interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<output<Key>, output<Value>>, Map<input<Key>, input<Value>>> {
980
980
  def: $ZodMapDef<Key, Value>;
981
981
  isst: $ZodIssueInvalidType | $ZodIssueInvalidKey | $ZodIssueInvalidElement<unknown>;
982
982
  optin?: "optional" | undefined;
@@ -990,7 +990,7 @@ interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
990
990
  type: "set";
991
991
  valueType: T;
992
992
  }
993
- interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<output<T>>, Set<input$1<T>>> {
993
+ interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<output<T>>, Set<input<T>>> {
994
994
  def: $ZodSetDef<T>;
995
995
  isst: $ZodIssueInvalidType;
996
996
  optin?: "optional" | undefined;
@@ -1072,7 +1072,7 @@ interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1072
1072
  type: "optional";
1073
1073
  innerType: T;
1074
1074
  }
1075
- interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | undefined, input$1<T> | undefined> {
1075
+ interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | undefined, input<T> | undefined> {
1076
1076
  def: $ZodOptionalDef<T>;
1077
1077
  optin: "optional";
1078
1078
  optout: "optional";
@@ -1088,7 +1088,7 @@ interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOption
1088
1088
  interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
1089
1089
  def: $ZodExactOptionalDef<T>;
1090
1090
  output: output<T>;
1091
- input: input$1<T>;
1091
+ input: input<T>;
1092
1092
  }
1093
1093
  interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
1094
1094
  _zod: $ZodExactOptionalInternals<T>;
@@ -1098,7 +1098,7 @@ interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1098
1098
  type: "nullable";
1099
1099
  innerType: T;
1100
1100
  }
1101
- interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | null, input$1<T> | null> {
1101
+ interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | null, input<T> | null> {
1102
1102
  def: $ZodNullableDef<T>;
1103
1103
  optin: T["_zod"]["optin"];
1104
1104
  optout: T["_zod"]["optout"];
@@ -1116,7 +1116,7 @@ interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1116
1116
  /** The default value. May be a getter. */
1117
1117
  defaultValue: NoUndefined<output<T>>;
1118
1118
  }
1119
- interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input$1<T> | undefined> {
1119
+ interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
1120
1120
  def: $ZodDefaultDef<T>;
1121
1121
  optin: "optional";
1122
1122
  optout?: "optional" | undefined;
@@ -1131,9 +1131,9 @@ interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1131
1131
  type: "prefault";
1132
1132
  innerType: T;
1133
1133
  /** The default value. May be a getter. */
1134
- defaultValue: input$1<T>;
1134
+ defaultValue: input<T>;
1135
1135
  }
1136
- interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input$1<T> | undefined> {
1136
+ interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
1137
1137
  def: $ZodPrefaultDef<T>;
1138
1138
  optin: "optional";
1139
1139
  optout?: "optional" | undefined;
@@ -1148,7 +1148,7 @@ interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef
1148
1148
  type: "nonoptional";
1149
1149
  innerType: T;
1150
1150
  }
1151
- interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, NoUndefined<input$1<T>>> {
1151
+ interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, NoUndefined<input<T>>> {
1152
1152
  def: $ZodNonOptionalDef<T>;
1153
1153
  isst: $ZodIssueInvalidType;
1154
1154
  values: T["_zod"]["values"];
@@ -1163,7 +1163,7 @@ interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1163
1163
  type: "success";
1164
1164
  innerType: T;
1165
1165
  }
1166
- interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, input$1<T>> {
1166
+ interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, input<T>> {
1167
1167
  def: $ZodSuccessDef<T>;
1168
1168
  isst: never;
1169
1169
  optin: T["_zod"]["optin"];
@@ -1186,7 +1186,7 @@ interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1186
1186
  innerType: T;
1187
1187
  catchValue: (ctx: $ZodCatchCtx) => unknown;
1188
1188
  }
1189
- interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input$1<T>> {
1189
+ interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
1190
1190
  def: $ZodCatchDef<T>;
1191
1191
  optin: T["_zod"]["optin"];
1192
1192
  optout: T["_zod"]["optout"];
@@ -1213,11 +1213,11 @@ interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodTy
1213
1213
  in: A;
1214
1214
  out: B;
1215
1215
  /** Only defined inside $ZodCodec instances. */
1216
- transform?: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input$1<B>>;
1216
+ transform?: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
1217
1217
  /** Only defined inside $ZodCodec instances. */
1218
- reverseTransform?: (value: input$1<B>, payload: ParsePayload<input$1<B>>) => MaybeAsync<output<A>>;
1218
+ reverseTransform?: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
1219
1219
  }
1220
- interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input$1<A>> {
1220
+ interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
1221
1221
  def: $ZodPipeDef<A, B>;
1222
1222
  isst: never;
1223
1223
  values: A["_zod"]["values"];
@@ -1233,7 +1233,7 @@ interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1233
1233
  type: "readonly";
1234
1234
  innerType: T;
1235
1235
  }
1236
- interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<MakeReadonly<output<T>>, MakeReadonly<input$1<T>>> {
1236
+ interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<MakeReadonly<output<T>>, MakeReadonly<input<T>>> {
1237
1237
  def: $ZodReadonlyDef<T>;
1238
1238
  optin: T["_zod"]["optin"];
1239
1239
  optout: T["_zod"]["optout"];
@@ -1270,10 +1270,10 @@ declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
1270
1270
  type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1271
1271
  type $ZodFunctionIn = $ZodFunctionArgs;
1272
1272
  type $ZodFunctionOut = $ZodType;
1273
- type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => input$1<Returns>;
1274
- type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => MaybeAsync<input$1<Returns>>;
1275
- type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input$1<Args>) => output<Returns>;
1276
- type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input$1<Args>) => Promise<output<Returns>>;
1273
+ type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => input<Returns>;
1274
+ type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => MaybeAsync<input<Returns>>;
1275
+ type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => output<Returns>;
1276
+ type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => Promise<output<Returns>>;
1277
1277
  interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
1278
1278
  type: "function";
1279
1279
  input: In;
@@ -1300,7 +1300,7 @@ interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1300
1300
  type: "promise";
1301
1301
  innerType: T;
1302
1302
  }
1303
- interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output<T>>, MaybeAsync<input$1<T>>> {
1303
+ interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output<T>>, MaybeAsync<input<T>>> {
1304
1304
  def: $ZodPromiseDef<T>;
1305
1305
  isst: never;
1306
1306
  }
@@ -1312,7 +1312,7 @@ interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1312
1312
  type: "lazy";
1313
1313
  getter: () => T;
1314
1314
  }
1315
- interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input$1<T>> {
1315
+ interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
1316
1316
  def: $ZodLazyDef<T>;
1317
1317
  isst: never;
1318
1318
  /** Auto-cached way to retrieve the inner schema */
@@ -1672,19 +1672,19 @@ type $brand<T extends string | number | symbol = string | number | symbol> = {
1672
1672
  };
1673
1673
  type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
1674
1674
  _zod: {
1675
- input: input$1<T> & $brand<Brand>;
1675
+ input: input<T> & $brand<Brand>;
1676
1676
  output: output<T> & $brand<Brand>;
1677
1677
  };
1678
1678
  } : Dir extends "in" ? {
1679
1679
  _zod: {
1680
- input: input$1<T> & $brand<Brand>;
1680
+ input: input<T> & $brand<Brand>;
1681
1681
  };
1682
1682
  } : {
1683
1683
  _zod: {
1684
1684
  output: output<T> & $brand<Brand>;
1685
1685
  };
1686
1686
  });
1687
- type input$1<T> = T extends {
1687
+ type input<T> = T extends {
1688
1688
  _zod: {
1689
1689
  input: any;
1690
1690
  };
@@ -1796,7 +1796,7 @@ type ZodSafeParseError<T> = {
1796
1796
  };
1797
1797
  //#endregion
1798
1798
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.d.cts
1799
- type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input$1<T>, output<T>>;
1799
+ type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
1800
1800
  interface ZodType<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
1801
1801
  def: Internals["def"];
1802
1802
  type: Internals["def"]["type"];
@@ -1821,15 +1821,15 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
1821
1821
  parseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
1822
1822
  safeParseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
1823
1823
  spa: (data: unknown, params?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<this>>>;
1824
- encode(data: output<this>, params?: ParseContext<$ZodIssue>): input$1<this>;
1825
- decode(data: input$1<this>, params?: ParseContext<$ZodIssue>): output<this>;
1826
- encodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<input$1<this>>;
1827
- decodeAsync(data: input$1<this>, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
1828
- safeEncode(data: output<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<input$1<this>>;
1829
- safeDecode(data: input$1<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
1830
- safeEncodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<input$1<this>>>;
1831
- safeDecodeAsync(data: input$1<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
1832
- refine<Ch extends (arg: output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | $ZodCustomParams): Ch extends ((arg: any) => arg is infer R) ? this & ZodType<R, input$1<this>> : this;
1824
+ encode(data: output<this>, params?: ParseContext<$ZodIssue>): input<this>;
1825
+ decode(data: input<this>, params?: ParseContext<$ZodIssue>): output<this>;
1826
+ encodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<input<this>>;
1827
+ decodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
1828
+ safeEncode(data: output<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<input<this>>;
1829
+ safeDecode(data: input<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
1830
+ safeEncodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<input<this>>>;
1831
+ safeDecodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
1832
+ refine<Ch extends (arg: output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | $ZodCustomParams): Ch extends ((arg: any) => arg is infer R) ? this & ZodType<R, input<this>> : this;
1833
1833
  superRefine(refinement: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => void | Promise<void>, params?: $ZodSuperRefineParams): this;
1834
1834
  overwrite(fn: (x: output<this>) => output<this>): this;
1835
1835
  optional(): ZodOptional<this>;
@@ -1839,8 +1839,8 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
1839
1839
  nullish(): ZodOptional<ZodNullable<this>>;
1840
1840
  default(def: NoUndefined<output<this>>): ZodDefault<this>;
1841
1841
  default(def: () => NoUndefined<output<this>>): ZodDefault<this>;
1842
- prefault(def: () => input$1<this>): ZodPrefault<this>;
1843
- prefault(def: input$1<this>): ZodPrefault<this>;
1842
+ prefault(def: () => input<this>): ZodPrefault<this>;
1843
+ prefault(def: input<this>): ZodPrefault<this>;
1844
1844
  array(): ZodArray<this>;
1845
1845
  or<T extends SomeType>(option: T): ZodUnion<[this, T]>;
1846
1846
  and<T extends SomeType>(incoming: T): ZodIntersection<this, T>;
@@ -2007,7 +2007,7 @@ interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInte
2007
2007
  "~standard": ZodStandardSchemaWithJSON<this>;
2008
2008
  }
2009
2009
  declare const ZodArray: $constructor<ZodArray>;
2010
- type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input$1<Ext[K]> extends input$1<Base[K]> ? Ext[K] : never : never : Ext[K] };
2010
+ type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input<Ext[K]> extends input<Base[K]> ? Ext[K] : never : never : Ext[K] };
2011
2011
  interface ZodObject< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
2012
2012
  "~standard": ZodStandardSchemaWithJSON<this>;
2013
2013
  shape: Shape;
@@ -2127,355 +2127,6 @@ interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadon
2127
2127
  }
2128
2128
  declare const ZodReadonly: $constructor<ZodReadonly>;
2129
2129
  //#endregion
2130
- //#region ../../node_modules/.pnpm/xstate@6.0.0-alpha.65/node_modules/xstate/dist/declarations/src/base.types.d.ts
2131
- declare global {
2132
- interface SymbolConstructor {
2133
- readonly observable: symbol;
2134
- }
2135
- }
2136
- /**
2137
- * The full definition of an event, with a string `type`.
2138
- *
2139
- * @public
2140
- */
2141
- //#endregion
2142
- //#region ../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts
2143
- // ==================================================================================================
2144
- // JSON Schema Draft 07
2145
- // ==================================================================================================
2146
- // https://tools.ietf.org/html/draft-handrews-json-schema-validation-01
2147
- // --------------------------------------------------------------------------------------------------
2148
- /**
2149
- * Primitive type
2150
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
2151
- */
2152
- type JSONSchema7TypeName = "string" //
2153
- | "number" | "integer" | "boolean" | "object" | "array" | "null";
2154
- /**
2155
- * Primitive type
2156
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
2157
- */
2158
- type JSONSchema7Type = string //
2159
- | number | boolean | JSONSchema7Object | JSONSchema7Array | null;
2160
- // Workaround for infinite type recursion
2161
- interface JSONSchema7Object {
2162
- [key: string]: JSONSchema7Type;
2163
- }
2164
- // Workaround for infinite type recursion
2165
- // https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540
2166
- interface JSONSchema7Array extends Array<JSONSchema7Type> {}
2167
- /**
2168
- * Meta schema
2169
- *
2170
- * Recommended values:
2171
- * - 'http://json-schema.org/schema#'
2172
- * - 'http://json-schema.org/hyper-schema#'
2173
- * - 'http://json-schema.org/draft-07/schema#'
2174
- * - 'http://json-schema.org/draft-07/hyper-schema#'
2175
- *
2176
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5
2177
- */
2178
- type JSONSchema7Version = string;
2179
- /**
2180
- * JSON Schema v7
2181
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01
2182
- */
2183
- type JSONSchema7Definition = JSONSchema7 | boolean;
2184
- interface JSONSchema7 {
2185
- $id?: string | undefined;
2186
- $ref?: string | undefined;
2187
- $schema?: JSONSchema7Version | undefined;
2188
- $comment?: string | undefined;
2189
- /**
2190
- * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-8.2.4
2191
- * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#appendix-A
2192
- */
2193
- $defs?: {
2194
- [key: string]: JSONSchema7Definition;
2195
- } | undefined;
2196
- /**
2197
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1
2198
- */
2199
- type?: JSONSchema7TypeName | JSONSchema7TypeName[] | undefined;
2200
- enum?: JSONSchema7Type[] | undefined;
2201
- const?: JSONSchema7Type | undefined;
2202
- /**
2203
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.2
2204
- */
2205
- multipleOf?: number | undefined;
2206
- maximum?: number | undefined;
2207
- exclusiveMaximum?: number | undefined;
2208
- minimum?: number | undefined;
2209
- exclusiveMinimum?: number | undefined;
2210
- /**
2211
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.3
2212
- */
2213
- maxLength?: number | undefined;
2214
- minLength?: number | undefined;
2215
- pattern?: string | undefined;
2216
- /**
2217
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.4
2218
- */
2219
- items?: JSONSchema7Definition | JSONSchema7Definition[] | undefined;
2220
- additionalItems?: JSONSchema7Definition | undefined;
2221
- maxItems?: number | undefined;
2222
- minItems?: number | undefined;
2223
- uniqueItems?: boolean | undefined;
2224
- contains?: JSONSchema7Definition | undefined;
2225
- /**
2226
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.5
2227
- */
2228
- maxProperties?: number | undefined;
2229
- minProperties?: number | undefined;
2230
- required?: string[] | undefined;
2231
- properties?: {
2232
- [key: string]: JSONSchema7Definition;
2233
- } | undefined;
2234
- patternProperties?: {
2235
- [key: string]: JSONSchema7Definition;
2236
- } | undefined;
2237
- additionalProperties?: JSONSchema7Definition | undefined;
2238
- dependencies?: {
2239
- [key: string]: JSONSchema7Definition | string[];
2240
- } | undefined;
2241
- propertyNames?: JSONSchema7Definition | undefined;
2242
- /**
2243
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.6
2244
- */
2245
- if?: JSONSchema7Definition | undefined;
2246
- then?: JSONSchema7Definition | undefined;
2247
- else?: JSONSchema7Definition | undefined;
2248
- /**
2249
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7
2250
- */
2251
- allOf?: JSONSchema7Definition[] | undefined;
2252
- anyOf?: JSONSchema7Definition[] | undefined;
2253
- oneOf?: JSONSchema7Definition[] | undefined;
2254
- not?: JSONSchema7Definition | undefined;
2255
- /**
2256
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-7
2257
- */
2258
- format?: string | undefined;
2259
- /**
2260
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-8
2261
- */
2262
- contentMediaType?: string | undefined;
2263
- contentEncoding?: string | undefined;
2264
- /**
2265
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9
2266
- */
2267
- definitions?: {
2268
- [key: string]: JSONSchema7Definition;
2269
- } | undefined;
2270
- /**
2271
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-10
2272
- */
2273
- title?: string | undefined;
2274
- description?: string | undefined;
2275
- default?: JSONSchema7Type | undefined;
2276
- readOnly?: boolean | undefined;
2277
- writeOnly?: boolean | undefined;
2278
- examples?: JSONSchema7Type | undefined;
2279
- }
2280
- //#endregion
2281
- //#region ../graph-tools/dist/xstateSource-BI_Ntd87.d.mts
2282
- //#endregion
2283
- //#region src/profiles/profileRefs.d.ts
2284
- type ProfileName = `@${string}/${string}`;
2285
- type ProfileSpecifier = `${ProfileName}@${string}`;
2286
- type ResolvedProfileRef = ProfileSpecifier;
2287
- /**
2288
- * Serialized inline expression directive.
2289
- *
2290
- * Code generation treats this object as JavaScript/TypeScript source, not as a
2291
- * machine config object. It is used for fields such as invoke `input` and
2292
- * `output` where XState accepts mapper expressions.
2293
- */
2294
- interface CodeExpression {
2295
- '@type': 'code';
2296
- lang: 'js' | 'ts';
2297
- expr: string;
2298
- imports?: CodeImport[];
2299
- }
2300
- interface CodeImport {
2301
- package: string;
2302
- import: string;
2303
- /** Local binding name when it differs from the imported name. */
2304
- local?: string;
2305
- importKind?: 'named' | 'default' | 'namespace';
2306
- version?: string;
2307
- }
2308
- /**
2309
- * A scalar `context`/`input`/`output` literal, kept verbatim from the source
2310
- * instead of being wrapped as a code expression.
2311
- */
2312
- //#endregion
2313
- //#region src/profiles/types.d.ts
2314
- /**
2315
- * The profile boundary only relies on XGraph's stable structural fields. This
2316
- * keeps profile packages independent from a particular editor's richer graph
2317
- * types while still allowing them to own semantic projection.
2318
- */
2319
- type ProfileGraph = {
2320
- data: Record<string, unknown> & {
2321
- profile?: ProfileSpecifier;
2322
- schemas?: Record<string, unknown> | null;
2323
- importMetadata?: (Record<string, unknown> & {
2324
- warnings?: string[];
2325
- }) | null;
2326
- };
2327
- nodes: Array<{
2328
- id: string;
2329
- parentId: string | null;
2330
- initialNodeId?: string;
2331
- data: Record<string, unknown> & {
2332
- key?: string;
2333
- kind?: string;
2334
- type?: string | null;
2335
- initialId?: string | null;
2336
- meta?: Record<string, unknown> | null;
2337
- };
2338
- }>;
2339
- edges: Array<{
2340
- id: string;
2341
- sourceId: string;
2342
- targetId: string | null;
2343
- data: Record<string, unknown> & {
2344
- kind?: string;
2345
- eventType?: string;
2346
- transitionType?: string;
2347
- guard?: {
2348
- type?: string;
2349
- } | null;
2350
- meta?: Record<string, unknown> | null;
2351
- };
2352
- }>;
2353
- [key: string]: unknown;
2354
- };
2355
- type ProfileCompatibilityIssue = {
2356
- level: 'info' | 'warning' | 'error';
2357
- message: string; /** Canonical data paths that remain stored but must not be authored here. */
2358
- readOnlyPaths?: string[];
2359
- nodeIds?: string[];
2360
- edgeIds?: string[];
2361
- };
2362
- /** Additive data written only inside the target profile namespace. */
2363
- type ProfileDataSet = {
2364
- graph?: Record<string, unknown>;
2365
- nodes?: Record<string, Record<string, unknown>>;
2366
- edges?: Record<string, Record<string, unknown>>;
2367
- };
2368
- type ProfileProjectionResult = {
2369
- data?: ProfileDataSet;
2370
- warnings?: string[];
2371
- };
2372
- type ProfileProjectionContext = {
2373
- sourceProfile: ResolvedProfileRef;
2374
- targetProfile: ResolvedProfileRef;
2375
- };
2376
- type ProfileProjection = {
2377
- /** Canonical paths this profile cannot author. `*` matches one path segment. */readOnlyPaths?: readonly string[]; /** Derive additive target-namespaced data without rewriting canonical data. */
2378
- adapt?: (graph: Readonly<ProfileGraph>, context: ProfileProjectionContext) => ProfileProjectionResult; /** Report retained canonical fields this target cannot safely author. */
2379
- analyzeCompatibility?: (graph: ProfileGraph) => ProfileCompatibilityIssue[];
2380
- };
2381
- type ProfileMigration = {
2382
- /** Exact earlier profile version in the same lineage. */from: ResolvedProfileRef; /** Adapt source-namespaced data into target-namespaced data. */
2383
- migrate: (data: Readonly<ProfileDataSet>, context: ProfileProjectionContext) => ProfileProjectionResult;
2384
- };
2385
- type FormatId = string;
2386
- type ProfileCodeLocation = {
2387
- graph: Readonly<ProfileGraph>;
2388
- path: readonly (string | number)[];
2389
- parent: unknown;
2390
- ancestors: readonly unknown[];
2391
- };
2392
- type ProfileCodeTarget = {
2393
- kind: 'entity';
2394
- id: string;
2395
- label: string;
2396
- } | {
2397
- kind: 'source';
2398
- id: string;
2399
- label: string;
2400
- sourceType: string;
2401
- };
2402
- type ProfileCodeBlock = {
2403
- name: string;
2404
- matches: (location: ProfileCodeLocation) => boolean;
2405
- isValid: (code: string) => boolean;
2406
- exportInvalid: (invalidCode: string) => string; /** Editor destination used to surface and navigate code diagnostics. */
2407
- getTarget?: (location: ProfileCodeLocation) => ProfileCodeTarget | undefined; /** Object used by source generation to locate this block in a full document. */
2408
- getSourceValue?: (location: ProfileCodeLocation) => object | undefined;
2409
- };
2410
- type ProfileFormatManifest = {
2411
- format: FormatId;
2412
- import?: boolean;
2413
- export?: boolean;
2414
- sourcePreserving?: boolean;
2415
- warning?: string;
2416
- };
2417
- type ProfileEntityType = {
2418
- kind: string;
2419
- label: string;
2420
- description?: string;
2421
- authorable?: boolean;
2422
- terminal?: boolean;
2423
- canContain?: boolean; /** Logical, unnamespaced profile data stored canonically under the profile namespace. */
2424
- dataSchema?: JSONSchema7;
2425
- children?: {
2426
- types: readonly string[];
2427
- min?: number;
2428
- max?: number;
2429
- };
2430
- };
2431
- type ProfileValidationDefinition = {
2432
- name: string;
2433
- description: string;
2434
- };
2435
- type ProfileAuthoringManifest = {
2436
- terminology: {
2437
- node: string;
2438
- edge: string;
2439
- graph: string;
2440
- };
2441
- nodeTypes: readonly ProfileEntityType[];
2442
- edgeTypes: readonly ProfileEntityType[];
2443
- attachments?: Partial<Record<'actions' | 'guards' | 'invokes' | 'tags', boolean>>;
2444
- supportsInitialNode?: boolean;
2445
- supportsTargetlessEdges?: boolean;
2446
- supportsReenterEdges?: boolean;
2447
- };
2448
- type ProfileManifest = {
2449
- profile: ResolvedProfileRef;
2450
- name: string;
2451
- description?: string; /** Namespace for canonical profile data, for example `@mastra`. */
2452
- namespace?: `@${string}`;
2453
- extends?: ProfileSpecifier; /** Stable semantic family. Migrations may only run within this lineage. */
2454
- lineage?: string;
2455
- projection?: ProfileProjection;
2456
- migrations?: readonly ProfileMigration[]; /** Whether the built-in editor profile picker should offer this profile. */
2457
- selectable?: boolean;
2458
- formats: ProfileFormatManifest[];
2459
- defaultFormat?: FormatId;
2460
- graph?: {
2461
- dataSchema?: JSONSchema7;
2462
- }; /** Profile-owned editor vocabulary. The canvas itself only assumes a graph. */
2463
- authoring?: ProfileAuthoringManifest; /** Profile-owned authored code locations and syntax-safe export fallbacks. */
2464
- code?: {
2465
- blocks: readonly ProfileCodeBlock[];
2466
- };
2467
- operations?: Partial<Record<'simulate' | 'validate' | 'export', boolean>>;
2468
- restrictFormatsToListed?: boolean;
2469
- features?: Record<string, boolean | Record<string, unknown>>;
2470
- implementations?: Partial<Record<'actions' | 'guards' | 'actors' | 'delays', {
2471
- mode: 'allowlist' | 'any';
2472
- items: Record<string, Record<string, unknown>>;
2473
- }>>;
2474
- rules?: Array<Record<string, unknown>>;
2475
- validation?: ProfileValidationDefinition[];
2476
- editorDefaults?: Record<string, unknown>;
2477
- };
2478
- //#endregion
2479
2130
  //#region ../graph-tools/dist/patchSchema.d.mts
2480
2131
  declare const canvasColorSchema: ZodEnum<{
2481
2132
  green: "green";
@@ -2900,4 +2551,4 @@ declare const graphPatchSchema: ZodDiscriminatedUnion<[ZodObject<{
2900
2551
  type GraphPatch = output<typeof graphPatchSchema>;
2901
2552
  /** AI-only schema: semantic ops + shared ops (no generic graph ops) */
2902
2553
  //#endregion
2903
- export { $strip as S, ZodString as _, ImplementationSourceType as a, output as b, ZodArray as c, ZodLiteral as d, ZodNullable as f, ZodRecord as g, ZodOptional as h, GraphPatch as i, ZodBoolean as l, ZodObject as m, CanvasColor as n, CodeExpression as o, ZodNumber as p, EditorStateType as r, ProfileManifest as s, ActionLocation as t, ZodEnum as u, ZodUnion as v, $loose as x, ZodUnknown as y };
2554
+ export { ZodUnknown as _, ImplementationSourceType as a, $strip as b, ZodEnum as c, ZodNumber as d, ZodObject as f, ZodUnion as g, ZodString as h, GraphPatch as i, ZodLiteral as l, ZodRecord as m, CanvasColor as n, ZodArray as o, ZodOptional as p, EditorStateType as r, ZodBoolean as s, ActionLocation as t, ZodNullable as u, output as v, $loose as y };