optio-contracts 0.2.7 → 0.3.1

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.
@@ -126,16 +126,16 @@ export declare const processesContract: {
126
126
  reason: string;
127
127
  }>, z.ZodObject<{
128
128
  requestId: z.ZodString;
129
- type: z.ZodLiteral<"domain">;
129
+ type: z.ZodLiteral<"client">;
130
130
  keyword: z.ZodString;
131
131
  data: z.ZodUnknown;
132
132
  }, "strip", z.ZodTypeAny, {
133
- type: "domain";
133
+ type: "client";
134
134
  requestId: string;
135
135
  keyword: string;
136
136
  data?: unknown;
137
137
  }, {
138
- type: "domain";
138
+ type: "client";
139
139
  requestId: string;
140
140
  keyword: string;
141
141
  data?: unknown;
@@ -190,7 +190,7 @@ export declare const processesContract: {
190
190
  requestId: string;
191
191
  reason: string;
192
192
  } | {
193
- type: "domain";
193
+ type: "client";
194
194
  requestId: string;
195
195
  keyword: string;
196
196
  data?: unknown;
@@ -244,7 +244,7 @@ export declare const processesContract: {
244
244
  requestId: string;
245
245
  reason: string;
246
246
  } | {
247
- type: "domain";
247
+ type: "client";
248
248
  requestId: string;
249
249
  keyword: string;
250
250
  data?: unknown;
@@ -302,7 +302,7 @@ export declare const processesContract: {
302
302
  requestId: string;
303
303
  reason: string;
304
304
  } | {
305
- type: "domain";
305
+ type: "client";
306
306
  requestId: string;
307
307
  keyword: string;
308
308
  data?: unknown;
@@ -360,7 +360,7 @@ export declare const processesContract: {
360
360
  requestId: string;
361
361
  reason: string;
362
362
  } | {
363
- type: "domain";
363
+ type: "client";
364
364
  requestId: string;
365
365
  keyword: string;
366
366
  data?: unknown;
@@ -488,16 +488,16 @@ export declare const processesContract: {
488
488
  reason: string;
489
489
  }>, z.ZodObject<{
490
490
  requestId: z.ZodString;
491
- type: z.ZodLiteral<"domain">;
491
+ type: z.ZodLiteral<"client">;
492
492
  keyword: z.ZodString;
493
493
  data: z.ZodUnknown;
494
494
  }, "strip", z.ZodTypeAny, {
495
- type: "domain";
495
+ type: "client";
496
496
  requestId: string;
497
497
  keyword: string;
498
498
  data?: unknown;
499
499
  }, {
500
- type: "domain";
500
+ type: "client";
501
501
  requestId: string;
502
502
  keyword: string;
503
503
  data?: unknown;
@@ -552,7 +552,7 @@ export declare const processesContract: {
552
552
  requestId: string;
553
553
  reason: string;
554
554
  } | {
555
- type: "domain";
555
+ type: "client";
556
556
  requestId: string;
557
557
  keyword: string;
558
558
  data?: unknown;
@@ -606,7 +606,7 @@ export declare const processesContract: {
606
606
  requestId: string;
607
607
  reason: string;
608
608
  } | {
609
- type: "domain";
609
+ type: "client";
610
610
  requestId: string;
611
611
  keyword: string;
612
612
  data?: unknown;
@@ -741,16 +741,16 @@ export declare const processesContract: {
741
741
  reason: string;
742
742
  }>, z.ZodObject<{
743
743
  requestId: z.ZodString;
744
- type: z.ZodLiteral<"domain">;
744
+ type: z.ZodLiteral<"client">;
745
745
  keyword: z.ZodString;
746
746
  data: z.ZodUnknown;
747
747
  }, "strip", z.ZodTypeAny, {
748
- type: "domain";
748
+ type: "client";
749
749
  requestId: string;
750
750
  keyword: string;
751
751
  data?: unknown;
752
752
  }, {
753
- type: "domain";
753
+ type: "client";
754
754
  requestId: string;
755
755
  keyword: string;
756
756
  data?: unknown;
@@ -852,16 +852,16 @@ export declare const processesContract: {
852
852
  reason: string;
853
853
  }>, z.ZodObject<{
854
854
  requestId: z.ZodString;
855
- type: z.ZodLiteral<"domain">;
855
+ type: z.ZodLiteral<"client">;
856
856
  keyword: z.ZodString;
857
857
  data: z.ZodUnknown;
858
858
  }, "strip", z.ZodTypeAny, {
859
- type: "domain";
859
+ type: "client";
860
860
  requestId: string;
861
861
  keyword: string;
862
862
  data?: unknown;
863
863
  }, {
864
- type: "domain";
864
+ type: "client";
865
865
  requestId: string;
866
866
  keyword: string;
867
867
  data?: unknown;
@@ -919,7 +919,7 @@ export declare const processesContract: {
919
919
  requestId: string;
920
920
  reason: string;
921
921
  } | {
922
- type: "domain";
922
+ type: "client";
923
923
  requestId: string;
924
924
  keyword: string;
925
925
  data?: unknown;
@@ -974,7 +974,7 @@ export declare const processesContract: {
974
974
  requestId: string;
975
975
  reason: string;
976
976
  } | {
977
- type: "domain";
977
+ type: "client";
978
978
  requestId: string;
979
979
  keyword: string;
980
980
  data?: unknown;
@@ -1058,7 +1058,7 @@ export declare const processesContract: {
1058
1058
  requestId: string;
1059
1059
  reason: string;
1060
1060
  } | {
1061
- type: "domain";
1061
+ type: "client";
1062
1062
  requestId: string;
1063
1063
  keyword: string;
1064
1064
  data?: unknown;
@@ -1085,7 +1085,7 @@ export declare const processesContract: {
1085
1085
  requestId: string;
1086
1086
  reason: string;
1087
1087
  } | {
1088
- type: "domain";
1088
+ type: "client";
1089
1089
  requestId: string;
1090
1090
  keyword: string;
1091
1091
  data?: unknown;
@@ -1168,7 +1168,7 @@ export declare const processesContract: {
1168
1168
  requestId: string;
1169
1169
  reason: string;
1170
1170
  } | {
1171
- type: "domain";
1171
+ type: "client";
1172
1172
  requestId: string;
1173
1173
  keyword: string;
1174
1174
  data?: unknown;
@@ -1195,7 +1195,7 @@ export declare const processesContract: {
1195
1195
  requestId: string;
1196
1196
  reason: string;
1197
1197
  } | {
1198
- type: "domain";
1198
+ type: "client";
1199
1199
  requestId: string;
1200
1200
  keyword: string;
1201
1201
  data?: unknown;
@@ -1503,16 +1503,16 @@ export declare const processesContract: {
1503
1503
  reason: string;
1504
1504
  }>, z.ZodObject<{
1505
1505
  requestId: z.ZodString;
1506
- type: z.ZodLiteral<"domain">;
1506
+ type: z.ZodLiteral<"client">;
1507
1507
  keyword: z.ZodString;
1508
1508
  data: z.ZodUnknown;
1509
1509
  }, "strip", z.ZodTypeAny, {
1510
- type: "domain";
1510
+ type: "client";
1511
1511
  requestId: string;
1512
1512
  keyword: string;
1513
1513
  data?: unknown;
1514
1514
  }, {
1515
- type: "domain";
1515
+ type: "client";
1516
1516
  requestId: string;
1517
1517
  keyword: string;
1518
1518
  data?: unknown;
@@ -1567,7 +1567,7 @@ export declare const processesContract: {
1567
1567
  requestId: string;
1568
1568
  reason: string;
1569
1569
  } | {
1570
- type: "domain";
1570
+ type: "client";
1571
1571
  requestId: string;
1572
1572
  keyword: string;
1573
1573
  data?: unknown;
@@ -1621,7 +1621,7 @@ export declare const processesContract: {
1621
1621
  requestId: string;
1622
1622
  reason: string;
1623
1623
  } | {
1624
- type: "domain";
1624
+ type: "client";
1625
1625
  requestId: string;
1626
1626
  keyword: string;
1627
1627
  data?: unknown;
@@ -1767,16 +1767,16 @@ export declare const processesContract: {
1767
1767
  reason: string;
1768
1768
  }>, z.ZodObject<{
1769
1769
  requestId: z.ZodString;
1770
- type: z.ZodLiteral<"domain">;
1770
+ type: z.ZodLiteral<"client">;
1771
1771
  keyword: z.ZodString;
1772
1772
  data: z.ZodUnknown;
1773
1773
  }, "strip", z.ZodTypeAny, {
1774
- type: "domain";
1774
+ type: "client";
1775
1775
  requestId: string;
1776
1776
  keyword: string;
1777
1777
  data?: unknown;
1778
1778
  }, {
1779
- type: "domain";
1779
+ type: "client";
1780
1780
  requestId: string;
1781
1781
  keyword: string;
1782
1782
  data?: unknown;
@@ -1831,7 +1831,7 @@ export declare const processesContract: {
1831
1831
  requestId: string;
1832
1832
  reason: string;
1833
1833
  } | {
1834
- type: "domain";
1834
+ type: "client";
1835
1835
  requestId: string;
1836
1836
  keyword: string;
1837
1837
  data?: unknown;
@@ -1885,7 +1885,7 @@ export declare const processesContract: {
1885
1885
  requestId: string;
1886
1886
  reason: string;
1887
1887
  } | {
1888
- type: "domain";
1888
+ type: "client";
1889
1889
  requestId: string;
1890
1890
  keyword: string;
1891
1891
  data?: unknown;
@@ -2031,16 +2031,16 @@ export declare const processesContract: {
2031
2031
  reason: string;
2032
2032
  }>, z.ZodObject<{
2033
2033
  requestId: z.ZodString;
2034
- type: z.ZodLiteral<"domain">;
2034
+ type: z.ZodLiteral<"client">;
2035
2035
  keyword: z.ZodString;
2036
2036
  data: z.ZodUnknown;
2037
2037
  }, "strip", z.ZodTypeAny, {
2038
- type: "domain";
2038
+ type: "client";
2039
2039
  requestId: string;
2040
2040
  keyword: string;
2041
2041
  data?: unknown;
2042
2042
  }, {
2043
- type: "domain";
2043
+ type: "client";
2044
2044
  requestId: string;
2045
2045
  keyword: string;
2046
2046
  data?: unknown;
@@ -2095,7 +2095,7 @@ export declare const processesContract: {
2095
2095
  requestId: string;
2096
2096
  reason: string;
2097
2097
  } | {
2098
- type: "domain";
2098
+ type: "client";
2099
2099
  requestId: string;
2100
2100
  keyword: string;
2101
2101
  data?: unknown;
@@ -2149,7 +2149,7 @@ export declare const processesContract: {
2149
2149
  requestId: string;
2150
2150
  reason: string;
2151
2151
  } | {
2152
- type: "domain";
2152
+ type: "client";
2153
2153
  requestId: string;
2154
2154
  keyword: string;
2155
2155
  data?: unknown;
@@ -108,16 +108,16 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
108
108
  reason: string;
109
109
  }>, z.ZodObject<{
110
110
  requestId: z.ZodString;
111
- type: z.ZodLiteral<"domain">;
111
+ type: z.ZodLiteral<"client">;
112
112
  keyword: z.ZodString;
113
113
  data: z.ZodUnknown;
114
114
  }, "strip", z.ZodTypeAny, {
115
- type: "domain";
115
+ type: "client";
116
116
  requestId: string;
117
117
  keyword: string;
118
118
  data?: unknown;
119
119
  }, {
120
- type: "domain";
120
+ type: "client";
121
121
  requestId: string;
122
122
  keyword: string;
123
123
  data?: unknown;
@@ -172,7 +172,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
172
172
  requestId: string;
173
173
  reason: string;
174
174
  } | {
175
- type: "domain";
175
+ type: "client";
176
176
  requestId: string;
177
177
  keyword: string;
178
178
  data?: unknown;
@@ -226,7 +226,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
226
226
  requestId: string;
227
227
  reason: string;
228
228
  } | {
229
- type: "domain";
229
+ type: "client";
230
230
  requestId: string;
231
231
  keyword: string;
232
232
  data?: unknown;
@@ -283,7 +283,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
283
283
  requestId: string;
284
284
  reason: string;
285
285
  } | {
286
- type: "domain";
286
+ type: "client";
287
287
  requestId: string;
288
288
  keyword: string;
289
289
  data?: unknown;
@@ -340,7 +340,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
340
340
  requestId: string;
341
341
  reason: string;
342
342
  } | {
343
- type: "domain";
343
+ type: "client";
344
344
  requestId: string;
345
345
  keyword: string;
346
346
  data?: unknown;
@@ -459,16 +459,16 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
459
459
  reason: string;
460
460
  }>, z.ZodObject<{
461
461
  requestId: z.ZodString;
462
- type: z.ZodLiteral<"domain">;
462
+ type: z.ZodLiteral<"client">;
463
463
  keyword: z.ZodString;
464
464
  data: z.ZodUnknown;
465
465
  }, "strip", z.ZodTypeAny, {
466
- type: "domain";
466
+ type: "client";
467
467
  requestId: string;
468
468
  keyword: string;
469
469
  data?: unknown;
470
470
  }, {
471
- type: "domain";
471
+ type: "client";
472
472
  requestId: string;
473
473
  keyword: string;
474
474
  data?: unknown;
@@ -523,7 +523,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
523
523
  requestId: string;
524
524
  reason: string;
525
525
  } | {
526
- type: "domain";
526
+ type: "client";
527
527
  requestId: string;
528
528
  keyword: string;
529
529
  data?: unknown;
@@ -577,7 +577,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
577
577
  requestId: string;
578
578
  reason: string;
579
579
  } | {
580
- type: "domain";
580
+ type: "client";
581
581
  requestId: string;
582
582
  keyword: string;
583
583
  data?: unknown;
@@ -634,7 +634,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
634
634
  requestId: string;
635
635
  reason: string;
636
636
  } | {
637
- type: "domain";
637
+ type: "client";
638
638
  requestId: string;
639
639
  keyword: string;
640
640
  data?: unknown;
@@ -691,7 +691,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
691
691
  requestId: string;
692
692
  reason: string;
693
693
  } | {
694
- type: "domain";
694
+ type: "client";
695
695
  requestId: string;
696
696
  keyword: string;
697
697
  data?: unknown;
@@ -810,16 +810,16 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
810
810
  reason: string;
811
811
  }>, z.ZodObject<{
812
812
  requestId: z.ZodString;
813
- type: z.ZodLiteral<"domain">;
813
+ type: z.ZodLiteral<"client">;
814
814
  keyword: z.ZodString;
815
815
  data: z.ZodUnknown;
816
816
  }, "strip", z.ZodTypeAny, {
817
- type: "domain";
817
+ type: "client";
818
818
  requestId: string;
819
819
  keyword: string;
820
820
  data?: unknown;
821
821
  }, {
822
- type: "domain";
822
+ type: "client";
823
823
  requestId: string;
824
824
  keyword: string;
825
825
  data?: unknown;
@@ -874,7 +874,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
874
874
  requestId: string;
875
875
  reason: string;
876
876
  } | {
877
- type: "domain";
877
+ type: "client";
878
878
  requestId: string;
879
879
  keyword: string;
880
880
  data?: unknown;
@@ -928,7 +928,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
928
928
  requestId: string;
929
929
  reason: string;
930
930
  } | {
931
- type: "domain";
931
+ type: "client";
932
932
  requestId: string;
933
933
  keyword: string;
934
934
  data?: unknown;
@@ -985,7 +985,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
985
985
  requestId: string;
986
986
  reason: string;
987
987
  } | {
988
- type: "domain";
988
+ type: "client";
989
989
  requestId: string;
990
990
  keyword: string;
991
991
  data?: unknown;
@@ -1042,7 +1042,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
1042
1042
  requestId: string;
1043
1043
  reason: string;
1044
1044
  } | {
1045
- type: "domain";
1045
+ type: "client";
1046
1046
  requestId: string;
1047
1047
  keyword: string;
1048
1048
  data?: unknown;
@@ -1171,6 +1171,37 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
1171
1171
  }, {
1172
1172
  removed: number;
1173
1173
  }>>;
1174
+ materializeUpload: import("@clamator/protocol").MethodDef<z.ZodObject<{
1175
+ processId: z.ZodString;
1176
+ blobId: z.ZodString;
1177
+ filename: z.ZodString;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ processId: string;
1180
+ blobId: string;
1181
+ filename: string;
1182
+ }, {
1183
+ processId: string;
1184
+ blobId: string;
1185
+ filename: string;
1186
+ }>, z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
1187
+ ok: z.ZodLiteral<true>;
1188
+ path: z.ZodString;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ path: string;
1191
+ ok: true;
1192
+ }, {
1193
+ path: string;
1194
+ ok: true;
1195
+ }>, z.ZodObject<{
1196
+ ok: z.ZodLiteral<false>;
1197
+ reason: z.ZodString;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ reason: string;
1200
+ ok: false;
1201
+ }, {
1202
+ reason: string;
1203
+ ok: false;
1204
+ }>]>>;
1174
1205
  resync: import("@clamator/protocol").NotificationDef<z.ZodObject<{
1175
1206
  clean: z.ZodOptional<z.ZodBoolean>;
1176
1207
  metadataFilter: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"optio-engine-to-api.d.ts","sourceRoot":"","sources":["../src/optio-engine-to-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+CxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiE9B,CAAC"}
@@ -30,6 +30,10 @@ const blockLaunchesResult = z.discriminatedUnion('ok', [
30
30
  const unblockLaunchesResult = z.object({
31
31
  removed: z.number().int().nonnegative(),
32
32
  });
33
+ const materializeUploadResult = z.discriminatedUnion('ok', [
34
+ z.object({ ok: z.literal(true), path: z.string() }),
35
+ z.object({ ok: z.literal(false), reason: z.string() }),
36
+ ]);
33
37
  export const optioEngineContract = defineContract('optio-engine', {
34
38
  launch: defineMethod({
35
39
  params: z.object({
@@ -81,6 +85,14 @@ export const optioEngineContract = defineContract('optio-engine', {
81
85
  params: z.object({ launchFilter: ProcessMetadataFilterSchema }),
82
86
  result: unblockLaunchesResult,
83
87
  }),
88
+ materializeUpload: defineMethod({
89
+ params: z.object({
90
+ processId: ProcessIdParam,
91
+ blobId: z.string(),
92
+ filename: z.string(),
93
+ }),
94
+ result: materializeUploadResult,
95
+ }),
84
96
  resync: defineNotification({
85
97
  params: z.object({
86
98
  clean: z.boolean().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"optio-engine-to-api.js","sourceRoot":"","sources":["../src/optio-engine-to-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,GAC3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,QAAQ,EAAE;YAC/B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC7B,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SACrC,CAAC;QACF,MAAM,EAAE,wBAAwB;KACjC,CAAC;IACF,aAAa,EAAE,YAAY,CAAC;QAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;YACf,YAAY,EAAE,2BAA2B;YACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC9B,CAAC;QACF,MAAM,EAAE,mBAAmB;KAC5B,CAAC;IACF,eAAe,EAAE,YAAY,CAAC;QAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,2BAA2B,EAAE,CAAC;QAC/D,MAAM,EAAE,qBAAqB;KAC9B,CAAC;IACF,iBAAiB,EAAE,YAAY,CAAC;QAC9B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;YACf,SAAS,EAAE,cAAc;YACzB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;YAClB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;SACrB,CAAC;QACF,MAAM,EAAE,uBAAuB;KAChC,CAAC;IACF,MAAM,EAAE,kBAAkB,CAAC;QACzB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;YACf,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;YAC7B,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;SACvD,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
@@ -40,16 +40,16 @@ export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
40
40
  reason: string;
41
41
  }>, z.ZodObject<{
42
42
  requestId: z.ZodString;
43
- type: z.ZodLiteral<"domain">;
43
+ type: z.ZodLiteral<"client">;
44
44
  keyword: z.ZodString;
45
45
  data: z.ZodUnknown;
46
46
  }, "strip", z.ZodTypeAny, {
47
- type: "domain";
47
+ type: "client";
48
48
  requestId: string;
49
49
  keyword: string;
50
50
  data?: unknown;
51
51
  }, {
52
- type: "domain";
52
+ type: "client";
53
53
  requestId: string;
54
54
  keyword: string;
55
55
  data?: unknown;
@@ -148,16 +148,16 @@ export declare const ProcessSchema: z.ZodObject<{
148
148
  reason: string;
149
149
  }>, z.ZodObject<{
150
150
  requestId: z.ZodString;
151
- type: z.ZodLiteral<"domain">;
151
+ type: z.ZodLiteral<"client">;
152
152
  keyword: z.ZodString;
153
153
  data: z.ZodUnknown;
154
154
  }, "strip", z.ZodTypeAny, {
155
- type: "domain";
155
+ type: "client";
156
156
  requestId: string;
157
157
  keyword: string;
158
158
  data?: unknown;
159
159
  }, {
160
- type: "domain";
160
+ type: "client";
161
161
  requestId: string;
162
162
  keyword: string;
163
163
  data?: unknown;
@@ -212,7 +212,7 @@ export declare const ProcessSchema: z.ZodObject<{
212
212
  requestId: string;
213
213
  reason: string;
214
214
  } | {
215
- type: "domain";
215
+ type: "client";
216
216
  requestId: string;
217
217
  keyword: string;
218
218
  data?: unknown;
@@ -266,7 +266,7 @@ export declare const ProcessSchema: z.ZodObject<{
266
266
  requestId: string;
267
267
  reason: string;
268
268
  } | {
269
- type: "domain";
269
+ type: "client";
270
270
  requestId: string;
271
271
  keyword: string;
272
272
  data?: unknown;
@@ -29,7 +29,7 @@ export const BrowserOpenRequestSchema = z.object({
29
29
  });
30
30
  export const SessionEventSchema = z.discriminatedUnion('type', [
31
31
  z.object({ requestId: z.string(), type: z.literal('attention'), reason: z.string() }),
32
- z.object({ requestId: z.string(), type: z.literal('domain'), keyword: z.string(), data: z.unknown() }),
32
+ z.object({ requestId: z.string(), type: z.literal('client'), keyword: z.string(), data: z.unknown() }),
33
33
  ]);
34
34
  export const ProcessSchema = z.object({
35
35
  _id: ObjectIdSchema,
@@ -22,16 +22,16 @@ export declare const SessionEventsStreamMessageSchema: z.ZodObject<{
22
22
  reason: string;
23
23
  }>, z.ZodObject<{
24
24
  requestId: z.ZodString;
25
- type: z.ZodLiteral<"domain">;
25
+ type: z.ZodLiteral<"client">;
26
26
  keyword: z.ZodString;
27
27
  data: z.ZodUnknown;
28
28
  }, "strip", z.ZodTypeAny, {
29
- type: "domain";
29
+ type: "client";
30
30
  requestId: string;
31
31
  keyword: string;
32
32
  data?: unknown;
33
33
  }, {
34
- type: "domain";
34
+ type: "client";
35
35
  requestId: string;
36
36
  keyword: string;
37
37
  data?: unknown;
@@ -44,7 +44,7 @@ export declare const SessionEventsStreamMessageSchema: z.ZodObject<{
44
44
  requestId: string;
45
45
  reason: string;
46
46
  } | {
47
- type: "domain";
47
+ type: "client";
48
48
  requestId: string;
49
49
  keyword: string;
50
50
  data?: unknown;
@@ -57,7 +57,7 @@ export declare const SessionEventsStreamMessageSchema: z.ZodObject<{
57
57
  requestId: string;
58
58
  reason: string;
59
59
  } | {
60
- type: "domain";
60
+ type: "client";
61
61
  requestId: string;
62
62
  keyword: string;
63
63
  data?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optio-contracts",
3
- "version": "0.2.7",
3
+ "version": "0.3.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Shared wire-protocol types and ts-rest contracts for the optio task runner.",
6
6
  "repository": {