@auto-engineer/narrative 0.26.0 → 0.26.2

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 (36) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-test.log +5 -5
  3. package/.turbo/turbo-type-check.log +1 -1
  4. package/CHANGELOG.md +33 -0
  5. package/dist/src/id/addAutoIds.d.ts.map +1 -1
  6. package/dist/src/id/addAutoIds.js +0 -15
  7. package/dist/src/id/addAutoIds.js.map +1 -1
  8. package/dist/src/id/hasAllIds.d.ts.map +1 -1
  9. package/dist/src/id/hasAllIds.js +1 -6
  10. package/dist/src/id/hasAllIds.js.map +1 -1
  11. package/dist/src/schema.d.ts +86 -94
  12. package/dist/src/schema.d.ts.map +1 -1
  13. package/dist/src/schema.js +1 -2
  14. package/dist/src/schema.js.map +1 -1
  15. package/dist/src/transformers/model-to-narrative/cross-module-imports.js +1 -1
  16. package/dist/src/transformers/model-to-narrative/cross-module-imports.js.map +1 -1
  17. package/dist/src/transformers/model-to-narrative/validate-modules.d.ts +1 -1
  18. package/dist/src/transformers/model-to-narrative/validate-modules.d.ts.map +1 -1
  19. package/dist/src/transformers/model-to-narrative/validate-modules.js +16 -29
  20. package/dist/src/transformers/model-to-narrative/validate-modules.js.map +1 -1
  21. package/dist/src/transformers/narrative-to-model/derive-modules.d.ts.map +1 -1
  22. package/dist/src/transformers/narrative-to-model/derive-modules.js +0 -1
  23. package/dist/src/transformers/narrative-to-model/derive-modules.js.map +1 -1
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/package.json +4 -4
  26. package/src/id/addAutoIds.specs.ts +0 -168
  27. package/src/id/addAutoIds.ts +1 -16
  28. package/src/id/hasAllIds.specs.ts +0 -78
  29. package/src/id/hasAllIds.ts +2 -10
  30. package/src/model-to-narrative.specs.ts +0 -13
  31. package/src/schema.ts +1 -2
  32. package/src/transformers/model-to-narrative/cross-module-imports.ts +1 -1
  33. package/src/transformers/model-to-narrative/modules.specs.ts +6 -52
  34. package/src/transformers/model-to-narrative/validate-modules.ts +17 -34
  35. package/src/transformers/narrative-to-model/derive-modules.specs.ts +0 -1
  36. package/src/transformers/narrative-to-model/derive-modules.ts +0 -1
@@ -10,7 +10,6 @@ export declare const MessageRefSchema: z.ZodObject<{
10
10
  name: string;
11
11
  }>;
12
12
  export declare const ModuleSchema: z.ZodObject<{
13
- id: z.ZodString;
14
13
  sourceFile: z.ZodString;
15
14
  isDerived: z.ZodBoolean;
16
15
  contains: z.ZodObject<{
@@ -43,7 +42,6 @@ export declare const ModuleSchema: z.ZodObject<{
43
42
  }[];
44
43
  }>;
45
44
  }, "strip", z.ZodTypeAny, {
46
- id: string;
47
45
  sourceFile: string;
48
46
  isDerived: boolean;
49
47
  contains: {
@@ -56,7 +54,6 @@ export declare const ModuleSchema: z.ZodObject<{
56
54
  }[];
57
55
  };
58
56
  }, {
59
- id: string;
60
57
  sourceFile: string;
61
58
  isDerived: boolean;
62
59
  contains: {
@@ -3352,8 +3349,8 @@ declare const CommandSliceSchema: z.ZodObject<{
3352
3349
  } | undefined;
3353
3350
  };
3354
3351
  stream?: string | undefined;
3355
- id?: string | undefined;
3356
3352
  description?: string | undefined;
3353
+ id?: string | undefined;
3357
3354
  via?: string[] | undefined;
3358
3355
  additionalInstructions?: string | undefined;
3359
3356
  request?: string | undefined;
@@ -3482,8 +3479,8 @@ declare const CommandSliceSchema: z.ZodObject<{
3482
3479
  } | undefined;
3483
3480
  };
3484
3481
  stream?: string | undefined;
3485
- id?: string | undefined;
3486
3482
  description?: string | undefined;
3483
+ id?: string | undefined;
3487
3484
  via?: string[] | undefined;
3488
3485
  additionalInstructions?: string | undefined;
3489
3486
  request?: string | undefined;
@@ -4676,8 +4673,8 @@ declare const QuerySliceSchema: z.ZodObject<{
4676
4673
  } | undefined;
4677
4674
  };
4678
4675
  stream?: string | undefined;
4679
- id?: string | undefined;
4680
4676
  description?: string | undefined;
4677
+ id?: string | undefined;
4681
4678
  via?: string[] | undefined;
4682
4679
  additionalInstructions?: string | undefined;
4683
4680
  request?: string | undefined;
@@ -4806,8 +4803,8 @@ declare const QuerySliceSchema: z.ZodObject<{
4806
4803
  } | undefined;
4807
4804
  };
4808
4805
  stream?: string | undefined;
4809
- id?: string | undefined;
4810
4806
  description?: string | undefined;
4807
+ id?: string | undefined;
4811
4808
  via?: string[] | undefined;
4812
4809
  additionalInstructions?: string | undefined;
4813
4810
  request?: string | undefined;
@@ -5989,8 +5986,8 @@ declare const ReactSliceSchema: z.ZodObject<{
5989
5986
  description?: string | undefined;
5990
5987
  };
5991
5988
  stream?: string | undefined;
5992
- id?: string | undefined;
5993
5989
  description?: string | undefined;
5990
+ id?: string | undefined;
5994
5991
  via?: string[] | undefined;
5995
5992
  additionalInstructions?: string | undefined;
5996
5993
  }, {
@@ -6115,8 +6112,8 @@ declare const ReactSliceSchema: z.ZodObject<{
6115
6112
  description?: string | undefined;
6116
6113
  };
6117
6114
  stream?: string | undefined;
6118
- id?: string | undefined;
6119
6115
  description?: string | undefined;
6116
+ id?: string | undefined;
6120
6117
  via?: string[] | undefined;
6121
6118
  additionalInstructions?: string | undefined;
6122
6119
  }>;
@@ -6143,8 +6140,8 @@ declare const ExperienceSliceSchema: z.ZodObject<{
6143
6140
  specs: ClientSpecNode[];
6144
6141
  };
6145
6142
  stream?: string | undefined;
6146
- id?: string | undefined;
6147
6143
  description?: string | undefined;
6144
+ id?: string | undefined;
6148
6145
  via?: string[] | undefined;
6149
6146
  additionalInstructions?: string | undefined;
6150
6147
  }, {
@@ -6154,8 +6151,8 @@ declare const ExperienceSliceSchema: z.ZodObject<{
6154
6151
  specs?: ClientSpecNode[] | undefined;
6155
6152
  };
6156
6153
  stream?: string | undefined;
6157
- id?: string | undefined;
6158
6154
  description?: string | undefined;
6155
+ id?: string | undefined;
6159
6156
  via?: string[] | undefined;
6160
6157
  additionalInstructions?: string | undefined;
6161
6158
  }>;
@@ -7347,8 +7344,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7347
7344
  } | undefined;
7348
7345
  };
7349
7346
  stream?: string | undefined;
7350
- id?: string | undefined;
7351
7347
  description?: string | undefined;
7348
+ id?: string | undefined;
7352
7349
  via?: string[] | undefined;
7353
7350
  additionalInstructions?: string | undefined;
7354
7351
  request?: string | undefined;
@@ -7477,8 +7474,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7477
7474
  } | undefined;
7478
7475
  };
7479
7476
  stream?: string | undefined;
7480
- id?: string | undefined;
7481
7477
  description?: string | undefined;
7478
+ id?: string | undefined;
7482
7479
  via?: string[] | undefined;
7483
7480
  additionalInstructions?: string | undefined;
7484
7481
  request?: string | undefined;
@@ -8670,8 +8667,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8670
8667
  } | undefined;
8671
8668
  };
8672
8669
  stream?: string | undefined;
8673
- id?: string | undefined;
8674
8670
  description?: string | undefined;
8671
+ id?: string | undefined;
8675
8672
  via?: string[] | undefined;
8676
8673
  additionalInstructions?: string | undefined;
8677
8674
  request?: string | undefined;
@@ -8800,8 +8797,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8800
8797
  } | undefined;
8801
8798
  };
8802
8799
  stream?: string | undefined;
8803
- id?: string | undefined;
8804
8800
  description?: string | undefined;
8801
+ id?: string | undefined;
8805
8802
  via?: string[] | undefined;
8806
8803
  additionalInstructions?: string | undefined;
8807
8804
  request?: string | undefined;
@@ -9982,8 +9979,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9982
9979
  description?: string | undefined;
9983
9980
  };
9984
9981
  stream?: string | undefined;
9985
- id?: string | undefined;
9986
9982
  description?: string | undefined;
9983
+ id?: string | undefined;
9987
9984
  via?: string[] | undefined;
9988
9985
  additionalInstructions?: string | undefined;
9989
9986
  }, {
@@ -10108,8 +10105,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10108
10105
  description?: string | undefined;
10109
10106
  };
10110
10107
  stream?: string | undefined;
10111
- id?: string | undefined;
10112
10108
  description?: string | undefined;
10109
+ id?: string | undefined;
10113
10110
  via?: string[] | undefined;
10114
10111
  additionalInstructions?: string | undefined;
10115
10112
  }>, z.ZodObject<{
@@ -10135,8 +10132,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10135
10132
  specs: ClientSpecNode[];
10136
10133
  };
10137
10134
  stream?: string | undefined;
10138
- id?: string | undefined;
10139
10135
  description?: string | undefined;
10136
+ id?: string | undefined;
10140
10137
  via?: string[] | undefined;
10141
10138
  additionalInstructions?: string | undefined;
10142
10139
  }, {
@@ -10146,8 +10143,8 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10146
10143
  specs?: ClientSpecNode[] | undefined;
10147
10144
  };
10148
10145
  stream?: string | undefined;
10149
- id?: string | undefined;
10150
10146
  description?: string | undefined;
10147
+ id?: string | undefined;
10151
10148
  via?: string[] | undefined;
10152
10149
  additionalInstructions?: string | undefined;
10153
10150
  }>]>;
@@ -11343,8 +11340,8 @@ declare const NarrativeSchema: z.ZodObject<{
11343
11340
  } | undefined;
11344
11341
  };
11345
11342
  stream?: string | undefined;
11346
- id?: string | undefined;
11347
11343
  description?: string | undefined;
11344
+ id?: string | undefined;
11348
11345
  via?: string[] | undefined;
11349
11346
  additionalInstructions?: string | undefined;
11350
11347
  request?: string | undefined;
@@ -11473,8 +11470,8 @@ declare const NarrativeSchema: z.ZodObject<{
11473
11470
  } | undefined;
11474
11471
  };
11475
11472
  stream?: string | undefined;
11476
- id?: string | undefined;
11477
11473
  description?: string | undefined;
11474
+ id?: string | undefined;
11478
11475
  via?: string[] | undefined;
11479
11476
  additionalInstructions?: string | undefined;
11480
11477
  request?: string | undefined;
@@ -12666,8 +12663,8 @@ declare const NarrativeSchema: z.ZodObject<{
12666
12663
  } | undefined;
12667
12664
  };
12668
12665
  stream?: string | undefined;
12669
- id?: string | undefined;
12670
12666
  description?: string | undefined;
12667
+ id?: string | undefined;
12671
12668
  via?: string[] | undefined;
12672
12669
  additionalInstructions?: string | undefined;
12673
12670
  request?: string | undefined;
@@ -12796,8 +12793,8 @@ declare const NarrativeSchema: z.ZodObject<{
12796
12793
  } | undefined;
12797
12794
  };
12798
12795
  stream?: string | undefined;
12799
- id?: string | undefined;
12800
12796
  description?: string | undefined;
12797
+ id?: string | undefined;
12801
12798
  via?: string[] | undefined;
12802
12799
  additionalInstructions?: string | undefined;
12803
12800
  request?: string | undefined;
@@ -13978,8 +13975,8 @@ declare const NarrativeSchema: z.ZodObject<{
13978
13975
  description?: string | undefined;
13979
13976
  };
13980
13977
  stream?: string | undefined;
13981
- id?: string | undefined;
13982
13978
  description?: string | undefined;
13979
+ id?: string | undefined;
13983
13980
  via?: string[] | undefined;
13984
13981
  additionalInstructions?: string | undefined;
13985
13982
  }, {
@@ -14104,8 +14101,8 @@ declare const NarrativeSchema: z.ZodObject<{
14104
14101
  description?: string | undefined;
14105
14102
  };
14106
14103
  stream?: string | undefined;
14107
- id?: string | undefined;
14108
14104
  description?: string | undefined;
14105
+ id?: string | undefined;
14109
14106
  via?: string[] | undefined;
14110
14107
  additionalInstructions?: string | undefined;
14111
14108
  }>, z.ZodObject<{
@@ -14131,8 +14128,8 @@ declare const NarrativeSchema: z.ZodObject<{
14131
14128
  specs: ClientSpecNode[];
14132
14129
  };
14133
14130
  stream?: string | undefined;
14134
- id?: string | undefined;
14135
14131
  description?: string | undefined;
14132
+ id?: string | undefined;
14136
14133
  via?: string[] | undefined;
14137
14134
  additionalInstructions?: string | undefined;
14138
14135
  }, {
@@ -14142,8 +14139,8 @@ declare const NarrativeSchema: z.ZodObject<{
14142
14139
  specs?: ClientSpecNode[] | undefined;
14143
14140
  };
14144
14141
  stream?: string | undefined;
14145
- id?: string | undefined;
14146
14142
  description?: string | undefined;
14143
+ id?: string | undefined;
14147
14144
  via?: string[] | undefined;
14148
14145
  additionalInstructions?: string | undefined;
14149
14146
  }>]>, "many">;
@@ -14275,8 +14272,8 @@ declare const NarrativeSchema: z.ZodObject<{
14275
14272
  } | undefined;
14276
14273
  };
14277
14274
  stream?: string | undefined;
14278
- id?: string | undefined;
14279
14275
  description?: string | undefined;
14276
+ id?: string | undefined;
14280
14277
  via?: string[] | undefined;
14281
14278
  additionalInstructions?: string | undefined;
14282
14279
  request?: string | undefined;
@@ -14405,8 +14402,8 @@ declare const NarrativeSchema: z.ZodObject<{
14405
14402
  } | undefined;
14406
14403
  };
14407
14404
  stream?: string | undefined;
14408
- id?: string | undefined;
14409
14405
  description?: string | undefined;
14406
+ id?: string | undefined;
14410
14407
  via?: string[] | undefined;
14411
14408
  additionalInstructions?: string | undefined;
14412
14409
  request?: string | undefined;
@@ -14532,8 +14529,8 @@ declare const NarrativeSchema: z.ZodObject<{
14532
14529
  description?: string | undefined;
14533
14530
  };
14534
14531
  stream?: string | undefined;
14535
- id?: string | undefined;
14536
14532
  description?: string | undefined;
14533
+ id?: string | undefined;
14537
14534
  via?: string[] | undefined;
14538
14535
  additionalInstructions?: string | undefined;
14539
14536
  } | {
@@ -14543,14 +14540,14 @@ declare const NarrativeSchema: z.ZodObject<{
14543
14540
  specs: ClientSpecNode[];
14544
14541
  };
14545
14542
  stream?: string | undefined;
14546
- id?: string | undefined;
14547
14543
  description?: string | undefined;
14544
+ id?: string | undefined;
14548
14545
  via?: string[] | undefined;
14549
14546
  additionalInstructions?: string | undefined;
14550
14547
  })[];
14551
- id?: string | undefined;
14552
14548
  sourceFile?: string | undefined;
14553
14549
  description?: string | undefined;
14550
+ id?: string | undefined;
14554
14551
  }, {
14555
14552
  name: string;
14556
14553
  slices: ({
@@ -14678,8 +14675,8 @@ declare const NarrativeSchema: z.ZodObject<{
14678
14675
  } | undefined;
14679
14676
  };
14680
14677
  stream?: string | undefined;
14681
- id?: string | undefined;
14682
14678
  description?: string | undefined;
14679
+ id?: string | undefined;
14683
14680
  via?: string[] | undefined;
14684
14681
  additionalInstructions?: string | undefined;
14685
14682
  request?: string | undefined;
@@ -14808,8 +14805,8 @@ declare const NarrativeSchema: z.ZodObject<{
14808
14805
  } | undefined;
14809
14806
  };
14810
14807
  stream?: string | undefined;
14811
- id?: string | undefined;
14812
14808
  description?: string | undefined;
14809
+ id?: string | undefined;
14813
14810
  via?: string[] | undefined;
14814
14811
  additionalInstructions?: string | undefined;
14815
14812
  request?: string | undefined;
@@ -14935,8 +14932,8 @@ declare const NarrativeSchema: z.ZodObject<{
14935
14932
  description?: string | undefined;
14936
14933
  };
14937
14934
  stream?: string | undefined;
14938
- id?: string | undefined;
14939
14935
  description?: string | undefined;
14936
+ id?: string | undefined;
14940
14937
  via?: string[] | undefined;
14941
14938
  additionalInstructions?: string | undefined;
14942
14939
  } | {
@@ -14946,14 +14943,14 @@ declare const NarrativeSchema: z.ZodObject<{
14946
14943
  specs?: ClientSpecNode[] | undefined;
14947
14944
  };
14948
14945
  stream?: string | undefined;
14949
- id?: string | undefined;
14950
14946
  description?: string | undefined;
14947
+ id?: string | undefined;
14951
14948
  via?: string[] | undefined;
14952
14949
  additionalInstructions?: string | undefined;
14953
14950
  })[];
14954
- id?: string | undefined;
14955
14951
  sourceFile?: string | undefined;
14956
14952
  description?: string | undefined;
14953
+ id?: string | undefined;
14957
14954
  }>;
14958
14955
  export declare const NarrativeNamesSchema: z.ZodObject<{
14959
14956
  variant: z.ZodLiteral<"narrative-names">;
@@ -14963,26 +14960,26 @@ export declare const NarrativeNamesSchema: z.ZodObject<{
14963
14960
  description: z.ZodOptional<z.ZodString>;
14964
14961
  }, "strip", z.ZodTypeAny, {
14965
14962
  name: string;
14966
- id?: string | undefined;
14967
14963
  description?: string | undefined;
14964
+ id?: string | undefined;
14968
14965
  }, {
14969
14966
  name: string;
14970
- id?: string | undefined;
14971
14967
  description?: string | undefined;
14968
+ id?: string | undefined;
14972
14969
  }>, "many">;
14973
14970
  }, "strip", z.ZodTypeAny, {
14974
14971
  variant: "narrative-names";
14975
14972
  narratives: {
14976
14973
  name: string;
14977
- id?: string | undefined;
14978
14974
  description?: string | undefined;
14975
+ id?: string | undefined;
14979
14976
  }[];
14980
14977
  }, {
14981
14978
  variant: "narrative-names";
14982
14979
  narratives: {
14983
14980
  name: string;
14984
- id?: string | undefined;
14985
14981
  description?: string | undefined;
14982
+ id?: string | undefined;
14986
14983
  }[];
14987
14984
  }>;
14988
14985
  export declare const SliceNamesSchema: z.ZodObject<{
@@ -14999,34 +14996,34 @@ export declare const SliceNamesSchema: z.ZodObject<{
14999
14996
  }, "strip", z.ZodTypeAny, {
15000
14997
  type: "command" | "query" | "react";
15001
14998
  name: string;
15002
- id?: string | undefined;
15003
14999
  description?: string | undefined;
15000
+ id?: string | undefined;
15004
15001
  }, {
15005
15002
  type: "command" | "query" | "react";
15006
15003
  name: string;
15007
- id?: string | undefined;
15008
15004
  description?: string | undefined;
15005
+ id?: string | undefined;
15009
15006
  }>, "many">;
15010
15007
  }, "strip", z.ZodTypeAny, {
15011
15008
  name: string;
15012
15009
  slices: {
15013
15010
  type: "command" | "query" | "react";
15014
15011
  name: string;
15015
- id?: string | undefined;
15016
15012
  description?: string | undefined;
15013
+ id?: string | undefined;
15017
15014
  }[];
15018
- id?: string | undefined;
15019
15015
  description?: string | undefined;
15016
+ id?: string | undefined;
15020
15017
  }, {
15021
15018
  name: string;
15022
15019
  slices: {
15023
15020
  type: "command" | "query" | "react";
15024
15021
  name: string;
15025
- id?: string | undefined;
15026
15022
  description?: string | undefined;
15023
+ id?: string | undefined;
15027
15024
  }[];
15028
- id?: string | undefined;
15029
15025
  description?: string | undefined;
15026
+ id?: string | undefined;
15030
15027
  }>, "many">;
15031
15028
  }, "strip", z.ZodTypeAny, {
15032
15029
  variant: "slice-names";
@@ -15035,11 +15032,11 @@ export declare const SliceNamesSchema: z.ZodObject<{
15035
15032
  slices: {
15036
15033
  type: "command" | "query" | "react";
15037
15034
  name: string;
15038
- id?: string | undefined;
15039
15035
  description?: string | undefined;
15036
+ id?: string | undefined;
15040
15037
  }[];
15041
- id?: string | undefined;
15042
15038
  description?: string | undefined;
15039
+ id?: string | undefined;
15043
15040
  }[];
15044
15041
  }, {
15045
15042
  variant: "slice-names";
@@ -15048,11 +15045,11 @@ export declare const SliceNamesSchema: z.ZodObject<{
15048
15045
  slices: {
15049
15046
  type: "command" | "query" | "react";
15050
15047
  name: string;
15051
- id?: string | undefined;
15052
15048
  description?: string | undefined;
15049
+ id?: string | undefined;
15053
15050
  }[];
15054
- id?: string | undefined;
15055
15051
  description?: string | undefined;
15052
+ id?: string | undefined;
15056
15053
  }[];
15057
15054
  }>;
15058
15055
  export declare const ClientServerNamesSchema: z.ZodObject<{
@@ -15083,8 +15080,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15083
15080
  }, "strip", z.ZodTypeAny, {
15084
15081
  type: "command" | "query" | "react";
15085
15082
  name: string;
15086
- id?: string | undefined;
15087
15083
  description?: string | undefined;
15084
+ id?: string | undefined;
15088
15085
  client?: {
15089
15086
  description: string;
15090
15087
  } | undefined;
@@ -15094,8 +15091,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15094
15091
  }, {
15095
15092
  type: "command" | "query" | "react";
15096
15093
  name: string;
15097
- id?: string | undefined;
15098
15094
  description?: string | undefined;
15095
+ id?: string | undefined;
15099
15096
  client?: {
15100
15097
  description: string;
15101
15098
  } | undefined;
@@ -15108,8 +15105,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15108
15105
  slices: {
15109
15106
  type: "command" | "query" | "react";
15110
15107
  name: string;
15111
- id?: string | undefined;
15112
15108
  description?: string | undefined;
15109
+ id?: string | undefined;
15113
15110
  client?: {
15114
15111
  description: string;
15115
15112
  } | undefined;
@@ -15117,15 +15114,15 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15117
15114
  description: string;
15118
15115
  } | undefined;
15119
15116
  }[];
15120
- id?: string | undefined;
15121
15117
  description?: string | undefined;
15118
+ id?: string | undefined;
15122
15119
  }, {
15123
15120
  name: string;
15124
15121
  slices: {
15125
15122
  type: "command" | "query" | "react";
15126
15123
  name: string;
15127
- id?: string | undefined;
15128
15124
  description?: string | undefined;
15125
+ id?: string | undefined;
15129
15126
  client?: {
15130
15127
  description: string;
15131
15128
  } | undefined;
@@ -15133,8 +15130,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15133
15130
  description: string;
15134
15131
  } | undefined;
15135
15132
  }[];
15136
- id?: string | undefined;
15137
15133
  description?: string | undefined;
15134
+ id?: string | undefined;
15138
15135
  }>, "many">;
15139
15136
  }, "strip", z.ZodTypeAny, {
15140
15137
  variant: "client-server-names";
@@ -15143,8 +15140,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15143
15140
  slices: {
15144
15141
  type: "command" | "query" | "react";
15145
15142
  name: string;
15146
- id?: string | undefined;
15147
15143
  description?: string | undefined;
15144
+ id?: string | undefined;
15148
15145
  client?: {
15149
15146
  description: string;
15150
15147
  } | undefined;
@@ -15152,8 +15149,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15152
15149
  description: string;
15153
15150
  } | undefined;
15154
15151
  }[];
15155
- id?: string | undefined;
15156
15152
  description?: string | undefined;
15153
+ id?: string | undefined;
15157
15154
  }[];
15158
15155
  }, {
15159
15156
  variant: "client-server-names";
@@ -15162,8 +15159,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15162
15159
  slices: {
15163
15160
  type: "command" | "query" | "react";
15164
15161
  name: string;
15165
- id?: string | undefined;
15166
15162
  description?: string | undefined;
15163
+ id?: string | undefined;
15167
15164
  client?: {
15168
15165
  description: string;
15169
15166
  } | undefined;
@@ -15171,8 +15168,8 @@ export declare const ClientServerNamesSchema: z.ZodObject<{
15171
15168
  description: string;
15172
15169
  } | undefined;
15173
15170
  }[];
15174
- id?: string | undefined;
15175
15171
  description?: string | undefined;
15172
+ id?: string | undefined;
15176
15173
  }[];
15177
15174
  }>;
15178
15175
  export declare const modelSchema: z.ZodObject<{
@@ -16369,8 +16366,8 @@ export declare const modelSchema: z.ZodObject<{
16369
16366
  } | undefined;
16370
16367
  };
16371
16368
  stream?: string | undefined;
16372
- id?: string | undefined;
16373
16369
  description?: string | undefined;
16370
+ id?: string | undefined;
16374
16371
  via?: string[] | undefined;
16375
16372
  additionalInstructions?: string | undefined;
16376
16373
  request?: string | undefined;
@@ -16499,8 +16496,8 @@ export declare const modelSchema: z.ZodObject<{
16499
16496
  } | undefined;
16500
16497
  };
16501
16498
  stream?: string | undefined;
16502
- id?: string | undefined;
16503
16499
  description?: string | undefined;
16500
+ id?: string | undefined;
16504
16501
  via?: string[] | undefined;
16505
16502
  additionalInstructions?: string | undefined;
16506
16503
  request?: string | undefined;
@@ -17692,8 +17689,8 @@ export declare const modelSchema: z.ZodObject<{
17692
17689
  } | undefined;
17693
17690
  };
17694
17691
  stream?: string | undefined;
17695
- id?: string | undefined;
17696
17692
  description?: string | undefined;
17693
+ id?: string | undefined;
17697
17694
  via?: string[] | undefined;
17698
17695
  additionalInstructions?: string | undefined;
17699
17696
  request?: string | undefined;
@@ -17822,8 +17819,8 @@ export declare const modelSchema: z.ZodObject<{
17822
17819
  } | undefined;
17823
17820
  };
17824
17821
  stream?: string | undefined;
17825
- id?: string | undefined;
17826
17822
  description?: string | undefined;
17823
+ id?: string | undefined;
17827
17824
  via?: string[] | undefined;
17828
17825
  additionalInstructions?: string | undefined;
17829
17826
  request?: string | undefined;
@@ -19004,8 +19001,8 @@ export declare const modelSchema: z.ZodObject<{
19004
19001
  description?: string | undefined;
19005
19002
  };
19006
19003
  stream?: string | undefined;
19007
- id?: string | undefined;
19008
19004
  description?: string | undefined;
19005
+ id?: string | undefined;
19009
19006
  via?: string[] | undefined;
19010
19007
  additionalInstructions?: string | undefined;
19011
19008
  }, {
@@ -19130,8 +19127,8 @@ export declare const modelSchema: z.ZodObject<{
19130
19127
  description?: string | undefined;
19131
19128
  };
19132
19129
  stream?: string | undefined;
19133
- id?: string | undefined;
19134
19130
  description?: string | undefined;
19131
+ id?: string | undefined;
19135
19132
  via?: string[] | undefined;
19136
19133
  additionalInstructions?: string | undefined;
19137
19134
  }>, z.ZodObject<{
@@ -19157,8 +19154,8 @@ export declare const modelSchema: z.ZodObject<{
19157
19154
  specs: ClientSpecNode[];
19158
19155
  };
19159
19156
  stream?: string | undefined;
19160
- id?: string | undefined;
19161
19157
  description?: string | undefined;
19158
+ id?: string | undefined;
19162
19159
  via?: string[] | undefined;
19163
19160
  additionalInstructions?: string | undefined;
19164
19161
  }, {
@@ -19168,8 +19165,8 @@ export declare const modelSchema: z.ZodObject<{
19168
19165
  specs?: ClientSpecNode[] | undefined;
19169
19166
  };
19170
19167
  stream?: string | undefined;
19171
- id?: string | undefined;
19172
19168
  description?: string | undefined;
19169
+ id?: string | undefined;
19173
19170
  via?: string[] | undefined;
19174
19171
  additionalInstructions?: string | undefined;
19175
19172
  }>]>, "many">;
@@ -19301,8 +19298,8 @@ export declare const modelSchema: z.ZodObject<{
19301
19298
  } | undefined;
19302
19299
  };
19303
19300
  stream?: string | undefined;
19304
- id?: string | undefined;
19305
19301
  description?: string | undefined;
19302
+ id?: string | undefined;
19306
19303
  via?: string[] | undefined;
19307
19304
  additionalInstructions?: string | undefined;
19308
19305
  request?: string | undefined;
@@ -19431,8 +19428,8 @@ export declare const modelSchema: z.ZodObject<{
19431
19428
  } | undefined;
19432
19429
  };
19433
19430
  stream?: string | undefined;
19434
- id?: string | undefined;
19435
19431
  description?: string | undefined;
19432
+ id?: string | undefined;
19436
19433
  via?: string[] | undefined;
19437
19434
  additionalInstructions?: string | undefined;
19438
19435
  request?: string | undefined;
@@ -19558,8 +19555,8 @@ export declare const modelSchema: z.ZodObject<{
19558
19555
  description?: string | undefined;
19559
19556
  };
19560
19557
  stream?: string | undefined;
19561
- id?: string | undefined;
19562
19558
  description?: string | undefined;
19559
+ id?: string | undefined;
19563
19560
  via?: string[] | undefined;
19564
19561
  additionalInstructions?: string | undefined;
19565
19562
  } | {
@@ -19569,14 +19566,14 @@ export declare const modelSchema: z.ZodObject<{
19569
19566
  specs: ClientSpecNode[];
19570
19567
  };
19571
19568
  stream?: string | undefined;
19572
- id?: string | undefined;
19573
19569
  description?: string | undefined;
19570
+ id?: string | undefined;
19574
19571
  via?: string[] | undefined;
19575
19572
  additionalInstructions?: string | undefined;
19576
19573
  })[];
19577
- id?: string | undefined;
19578
19574
  sourceFile?: string | undefined;
19579
19575
  description?: string | undefined;
19576
+ id?: string | undefined;
19580
19577
  }, {
19581
19578
  name: string;
19582
19579
  slices: ({
@@ -19704,8 +19701,8 @@ export declare const modelSchema: z.ZodObject<{
19704
19701
  } | undefined;
19705
19702
  };
19706
19703
  stream?: string | undefined;
19707
- id?: string | undefined;
19708
19704
  description?: string | undefined;
19705
+ id?: string | undefined;
19709
19706
  via?: string[] | undefined;
19710
19707
  additionalInstructions?: string | undefined;
19711
19708
  request?: string | undefined;
@@ -19834,8 +19831,8 @@ export declare const modelSchema: z.ZodObject<{
19834
19831
  } | undefined;
19835
19832
  };
19836
19833
  stream?: string | undefined;
19837
- id?: string | undefined;
19838
19834
  description?: string | undefined;
19835
+ id?: string | undefined;
19839
19836
  via?: string[] | undefined;
19840
19837
  additionalInstructions?: string | undefined;
19841
19838
  request?: string | undefined;
@@ -19961,8 +19958,8 @@ export declare const modelSchema: z.ZodObject<{
19961
19958
  description?: string | undefined;
19962
19959
  };
19963
19960
  stream?: string | undefined;
19964
- id?: string | undefined;
19965
19961
  description?: string | undefined;
19962
+ id?: string | undefined;
19966
19963
  via?: string[] | undefined;
19967
19964
  additionalInstructions?: string | undefined;
19968
19965
  } | {
@@ -19972,14 +19969,14 @@ export declare const modelSchema: z.ZodObject<{
19972
19969
  specs?: ClientSpecNode[] | undefined;
19973
19970
  };
19974
19971
  stream?: string | undefined;
19975
- id?: string | undefined;
19976
19972
  description?: string | undefined;
19973
+ id?: string | undefined;
19977
19974
  via?: string[] | undefined;
19978
19975
  additionalInstructions?: string | undefined;
19979
19976
  })[];
19980
- id?: string | undefined;
19981
19977
  sourceFile?: string | undefined;
19982
19978
  description?: string | undefined;
19979
+ id?: string | undefined;
19983
19980
  }>, "many">;
19984
19981
  messages: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
19985
19982
  name: z.ZodString;
@@ -20176,7 +20173,6 @@ export declare const modelSchema: z.ZodObject<{
20176
20173
  description?: string | undefined;
20177
20174
  }>, "many">>;
20178
20175
  modules: z.ZodArray<z.ZodObject<{
20179
- id: z.ZodString;
20180
20176
  sourceFile: z.ZodString;
20181
20177
  isDerived: z.ZodBoolean;
20182
20178
  contains: z.ZodObject<{
@@ -20209,7 +20205,6 @@ export declare const modelSchema: z.ZodObject<{
20209
20205
  }[];
20210
20206
  }>;
20211
20207
  }, "strip", z.ZodTypeAny, {
20212
- id: string;
20213
20208
  sourceFile: string;
20214
20209
  isDerived: boolean;
20215
20210
  contains: {
@@ -20222,7 +20217,6 @@ export declare const modelSchema: z.ZodObject<{
20222
20217
  }[];
20223
20218
  };
20224
20219
  }, {
20225
- id: string;
20226
20220
  sourceFile: string;
20227
20221
  isDerived: boolean;
20228
20222
  contains: {
@@ -20408,8 +20402,8 @@ export declare const modelSchema: z.ZodObject<{
20408
20402
  } | undefined;
20409
20403
  };
20410
20404
  stream?: string | undefined;
20411
- id?: string | undefined;
20412
20405
  description?: string | undefined;
20406
+ id?: string | undefined;
20413
20407
  via?: string[] | undefined;
20414
20408
  additionalInstructions?: string | undefined;
20415
20409
  request?: string | undefined;
@@ -20538,8 +20532,8 @@ export declare const modelSchema: z.ZodObject<{
20538
20532
  } | undefined;
20539
20533
  };
20540
20534
  stream?: string | undefined;
20541
- id?: string | undefined;
20542
20535
  description?: string | undefined;
20536
+ id?: string | undefined;
20543
20537
  via?: string[] | undefined;
20544
20538
  additionalInstructions?: string | undefined;
20545
20539
  request?: string | undefined;
@@ -20665,8 +20659,8 @@ export declare const modelSchema: z.ZodObject<{
20665
20659
  description?: string | undefined;
20666
20660
  };
20667
20661
  stream?: string | undefined;
20668
- id?: string | undefined;
20669
20662
  description?: string | undefined;
20663
+ id?: string | undefined;
20670
20664
  via?: string[] | undefined;
20671
20665
  additionalInstructions?: string | undefined;
20672
20666
  } | {
@@ -20676,17 +20670,16 @@ export declare const modelSchema: z.ZodObject<{
20676
20670
  specs: ClientSpecNode[];
20677
20671
  };
20678
20672
  stream?: string | undefined;
20679
- id?: string | undefined;
20680
20673
  description?: string | undefined;
20674
+ id?: string | undefined;
20681
20675
  via?: string[] | undefined;
20682
20676
  additionalInstructions?: string | undefined;
20683
20677
  })[];
20684
- id?: string | undefined;
20685
20678
  sourceFile?: string | undefined;
20686
20679
  description?: string | undefined;
20680
+ id?: string | undefined;
20687
20681
  }[];
20688
20682
  modules: {
20689
- id: string;
20690
20683
  sourceFile: string;
20691
20684
  isDerived: boolean;
20692
20685
  contains: {
@@ -20877,8 +20870,8 @@ export declare const modelSchema: z.ZodObject<{
20877
20870
  } | undefined;
20878
20871
  };
20879
20872
  stream?: string | undefined;
20880
- id?: string | undefined;
20881
20873
  description?: string | undefined;
20874
+ id?: string | undefined;
20882
20875
  via?: string[] | undefined;
20883
20876
  additionalInstructions?: string | undefined;
20884
20877
  request?: string | undefined;
@@ -21007,8 +21000,8 @@ export declare const modelSchema: z.ZodObject<{
21007
21000
  } | undefined;
21008
21001
  };
21009
21002
  stream?: string | undefined;
21010
- id?: string | undefined;
21011
21003
  description?: string | undefined;
21004
+ id?: string | undefined;
21012
21005
  via?: string[] | undefined;
21013
21006
  additionalInstructions?: string | undefined;
21014
21007
  request?: string | undefined;
@@ -21134,8 +21127,8 @@ export declare const modelSchema: z.ZodObject<{
21134
21127
  description?: string | undefined;
21135
21128
  };
21136
21129
  stream?: string | undefined;
21137
- id?: string | undefined;
21138
21130
  description?: string | undefined;
21131
+ id?: string | undefined;
21139
21132
  via?: string[] | undefined;
21140
21133
  additionalInstructions?: string | undefined;
21141
21134
  } | {
@@ -21145,17 +21138,16 @@ export declare const modelSchema: z.ZodObject<{
21145
21138
  specs?: ClientSpecNode[] | undefined;
21146
21139
  };
21147
21140
  stream?: string | undefined;
21148
- id?: string | undefined;
21149
21141
  description?: string | undefined;
21142
+ id?: string | undefined;
21150
21143
  via?: string[] | undefined;
21151
21144
  additionalInstructions?: string | undefined;
21152
21145
  })[];
21153
- id?: string | undefined;
21154
21146
  sourceFile?: string | undefined;
21155
21147
  description?: string | undefined;
21148
+ id?: string | undefined;
21156
21149
  }[];
21157
21150
  modules: {
21158
- id: string;
21159
21151
  sourceFile: string;
21160
21152
  isDerived: boolean;
21161
21153
  contains: {