@alpic-ai/api 0.0.0-dev.gfbdef08 → 0.0.0-dev.gfc6015a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- import * as _$_orpc_contract0 from "@orpc/contract";
3
2
  import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
4
3
 
5
4
  //#region src/api.contract.d.ts
@@ -16,7 +15,7 @@ declare const deploymentStatusSchema: z.ZodEnum<{
16
15
  failed: "failed";
17
16
  canceled: "canceled";
18
17
  }>;
19
- declare const createEnvironmentContractV1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
18
+ declare const createEnvironmentContractV1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
20
19
  projectId: z.ZodString;
21
20
  name: z.ZodString;
22
21
  sourceBranch: z.ZodString;
@@ -29,17 +28,17 @@ declare const createEnvironmentContractV1: _$_orpc_contract0.ContractProcedureBu
29
28
  id: z.ZodString;
30
29
  name: z.ZodString;
31
30
  sourceBranch: z.ZodNullable<z.ZodString>;
32
- urls: z.ZodArray<z.ZodString>;
31
+ urls: z.ZodArray<z.ZodURL>;
33
32
  createdAt: z.ZodCoercedDate<unknown>;
34
33
  projectId: z.ZodString;
35
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
34
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
36
35
  NOT_FOUND: {};
37
36
  BAD_REQUEST: {};
38
37
  }>, Record<never, never>>;
39
38
  declare const contract: {
40
39
  teams: {
41
40
  list: {
42
- v1: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
41
+ v1: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
43
42
  id: z.ZodString;
44
43
  name: z.ZodString;
45
44
  createdAt: z.ZodCoercedDate<unknown>;
@@ -49,7 +48,7 @@ declare const contract: {
49
48
  };
50
49
  analytics: {
51
50
  get: {
52
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
51
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
53
52
  projectId: z.ZodString;
54
53
  startTimestamp: z.ZodCoercedNumber<unknown>;
55
54
  endTimestamp: z.ZodCoercedNumber<unknown>;
@@ -92,7 +91,7 @@ declare const contract: {
92
91
  categories: z.ZodRecord<z.ZodString, z.ZodUnknown>;
93
92
  }, z.core.$strip>>;
94
93
  }, z.core.$strip>;
95
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
94
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
96
95
  NOT_FOUND: {};
97
96
  BAD_REQUEST: {};
98
97
  }>, Record<never, never>>;
@@ -100,7 +99,7 @@ declare const contract: {
100
99
  };
101
100
  deployments: {
102
101
  list: {
103
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
102
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
104
103
  projectId: z.ZodString;
105
104
  status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
106
105
  ongoing: "ongoing";
@@ -128,12 +127,12 @@ declare const contract: {
128
127
  environmentName: z.ZodString;
129
128
  isCurrent: z.ZodBoolean;
130
129
  deploymentPageUrl: z.ZodNullable<z.ZodURL>;
131
- }, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
130
+ }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
132
131
  NOT_FOUND: {};
133
132
  }>, Record<never, never>>;
134
133
  };
135
134
  get: {
136
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
135
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
137
136
  deploymentId: z.ZodString;
138
137
  }, z.core.$strip>, z.ZodObject<{
139
138
  id: z.ZodString;
@@ -154,21 +153,24 @@ declare const contract: {
154
153
  environmentName: z.ZodString;
155
154
  isCurrent: z.ZodBoolean;
156
155
  deploymentPageUrl: z.ZodNullable<z.ZodURL>;
157
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
156
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
158
157
  NOT_FOUND: {};
159
158
  }>, Record<never, never>>;
160
159
  };
161
160
  uploadArtifact: {
162
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
161
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
163
162
  teamId: z.ZodOptional<z.ZodString>;
164
163
  }, z.core.$strip>>, z.ZodObject<{
165
164
  uploadUrl: z.ZodURL;
166
165
  token: z.ZodString;
167
166
  expiresAt: z.ZodCoercedDate<unknown>;
168
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
167
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
168
+ NOT_FOUND: {};
169
+ BAD_REQUEST: {};
170
+ }>, Record<never, never>>;
169
171
  };
170
172
  getLogs: {
171
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
173
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
172
174
  deploymentId: z.ZodString;
173
175
  }, z.core.$strip>, z.ZodObject<{
174
176
  logs: z.ZodArray<z.ZodObject<{
@@ -176,14 +178,14 @@ declare const contract: {
176
178
  content: z.ZodOptional<z.ZodString>;
177
179
  }, z.core.$strip>>;
178
180
  hasMoreLogs: z.ZodBoolean;
179
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
181
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
180
182
  NOT_FOUND: {};
181
183
  }>, Record<never, never>>;
182
184
  };
183
185
  };
184
186
  environments: {
185
187
  create: {
186
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
188
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
187
189
  projectId: z.ZodString;
188
190
  name: z.ZodString;
189
191
  sourceBranch: z.ZodString;
@@ -196,16 +198,16 @@ declare const contract: {
196
198
  id: z.ZodString;
197
199
  name: z.ZodString;
198
200
  sourceBranch: z.ZodNullable<z.ZodString>;
199
- urls: z.ZodArray<z.ZodString>;
201
+ urls: z.ZodArray<z.ZodURL>;
200
202
  createdAt: z.ZodCoercedDate<unknown>;
201
203
  projectId: z.ZodString;
202
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
204
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
203
205
  NOT_FOUND: {};
204
206
  BAD_REQUEST: {};
205
207
  }>, Record<never, never>>;
206
208
  };
207
209
  get: {
208
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
210
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
209
211
  environmentId: z.ZodString;
210
212
  }, z.core.$strip>, z.ZodObject<{
211
213
  id: z.ZodString;
@@ -215,12 +217,12 @@ declare const contract: {
215
217
  domains: z.ZodArray<z.ZodCustomStringFormat<"hostname">>;
216
218
  createdAt: z.ZodCoercedDate<unknown>;
217
219
  projectId: z.ZodString;
218
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
220
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
219
221
  NOT_FOUND: {};
220
222
  }>, Record<never, never>>;
221
223
  };
222
224
  deploy: {
223
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
225
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
224
226
  environmentId: z.ZodString;
225
227
  token: z.ZodOptional<z.ZodString>;
226
228
  }, z.core.$strip>, z.ZodObject<{
@@ -242,13 +244,13 @@ declare const contract: {
242
244
  environmentName: z.ZodString;
243
245
  isCurrent: z.ZodBoolean;
244
246
  deploymentPageUrl: z.ZodNullable<z.ZodURL>;
245
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
247
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
246
248
  NOT_FOUND: {};
247
249
  BAD_REQUEST: {};
248
250
  }>, Record<never, never>>;
249
251
  };
250
252
  getLogs: {
251
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
253
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
252
254
  environmentId: z.ZodString;
253
255
  since: z.ZodOptional<z.ZodString>;
254
256
  until: z.ZodOptional<z.ZodString>;
@@ -278,13 +280,13 @@ declare const contract: {
278
280
  durationInMs: z.ZodOptional<z.ZodNumber>;
279
281
  }, z.core.$strip>>;
280
282
  nextToken: z.ZodNullable<z.ZodString>;
281
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
283
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
282
284
  NOT_FOUND: {};
283
285
  BAD_REQUEST: {};
284
286
  }>, Record<never, never>>;
285
287
  };
286
288
  getLatestLogs: {
287
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
289
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
288
290
  environmentId: z.ZodString;
289
291
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
290
292
  level: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -310,7 +312,7 @@ declare const contract: {
310
312
  method: z.ZodOptional<z.ZodString>;
311
313
  durationInMs: z.ZodOptional<z.ZodNumber>;
312
314
  }, z.core.$strip>>;
313
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
315
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
314
316
  NOT_FOUND: {};
315
317
  BAD_REQUEST: {};
316
318
  }>, Record<never, never>>;
@@ -318,7 +320,7 @@ declare const contract: {
318
320
  };
319
321
  environmentVariables: {
320
322
  list: {
321
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
323
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
322
324
  environmentId: z.ZodString;
323
325
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
324
326
  id: z.ZodString;
@@ -326,12 +328,12 @@ declare const contract: {
326
328
  value: z.ZodString;
327
329
  isSecret: z.ZodBoolean;
328
330
  createdAt: z.ZodCoercedDate<unknown>;
329
- }, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
331
+ }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
330
332
  NOT_FOUND: {};
331
333
  }>, Record<never, never>>;
332
334
  };
333
335
  create: {
334
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
336
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
335
337
  environmentId: z.ZodString;
336
338
  environmentVariables: z.ZodArray<z.ZodObject<{
337
339
  key: z.ZodString;
@@ -340,37 +342,38 @@ declare const contract: {
340
342
  }, z.core.$strip>>;
341
343
  }, z.core.$strip>, z.ZodObject<{
342
344
  success: z.ZodLiteral<true>;
343
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
345
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
344
346
  NOT_FOUND: {};
345
347
  BAD_REQUEST: {};
346
348
  }>, Record<never, never>>;
347
349
  };
348
350
  update: {
349
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
351
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
350
352
  environmentVariableId: z.ZodString;
351
353
  key: z.ZodString;
352
354
  value: z.ZodOptional<z.ZodString>;
353
355
  isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
354
356
  }, z.core.$strip>, z.ZodObject<{
355
357
  success: z.ZodLiteral<true>;
356
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
358
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
357
359
  NOT_FOUND: {};
358
360
  BAD_REQUEST: {};
359
361
  }>, Record<never, never>>;
360
362
  };
361
363
  delete: {
362
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
364
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
363
365
  environmentVariableId: z.ZodString;
364
366
  }, z.core.$strip>, z.ZodObject<{
365
367
  success: z.ZodLiteral<true>;
366
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
368
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
367
369
  NOT_FOUND: {};
370
+ BAD_REQUEST: {};
368
371
  }>, Record<never, never>>;
369
372
  };
370
373
  };
371
374
  projects: {
372
375
  update: {
373
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
376
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
374
377
  projectId: z.ZodString;
375
378
  name: z.ZodOptional<z.ZodString>;
376
379
  sourceRepository: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -442,13 +445,14 @@ declare const contract: {
442
445
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
443
446
  }, z.core.$strip>>;
444
447
  }, z.core.$strip>>;
445
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
448
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
446
449
  NOT_FOUND: {};
447
450
  BAD_REQUEST: {};
451
+ FORBIDDEN: {};
448
452
  }>, Record<never, never>>;
449
453
  };
450
454
  get: {
451
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
455
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
452
456
  projectId: z.ZodString;
453
457
  }, z.core.$strip>, z.ZodObject<{
454
458
  id: z.ZodString;
@@ -518,12 +522,12 @@ declare const contract: {
518
522
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
519
523
  }, z.core.$strip>>;
520
524
  }, z.core.$strip>>;
521
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
525
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
522
526
  NOT_FOUND: {};
523
527
  }>, Record<never, never>>;
524
528
  };
525
529
  list: {
526
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
530
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
527
531
  teamId: z.ZodOptional<z.ZodString>;
528
532
  }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
529
533
  id: z.ZodString;
@@ -593,10 +597,13 @@ declare const contract: {
593
597
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
594
598
  }, z.core.$strip>>;
595
599
  }, z.core.$strip>>;
596
- }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
600
+ }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
601
+ NOT_FOUND: {};
602
+ BAD_REQUEST: {};
603
+ }>, Record<never, never>>;
597
604
  };
598
605
  create: {
599
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
606
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
600
607
  teamId: z.ZodOptional<z.ZodString>;
601
608
  name: z.ZodString;
602
609
  sourceRepository: z.ZodOptional<z.ZodString>;
@@ -654,24 +661,25 @@ declare const contract: {
654
661
  installCommand: z.ZodNullable<z.ZodString>;
655
662
  startCommand: z.ZodNullable<z.ZodString>;
656
663
  createdAt: z.ZodCoercedDate<unknown>;
657
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
664
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
658
665
  NOT_FOUND: {};
659
666
  BAD_REQUEST: {};
667
+ FORBIDDEN: {};
660
668
  }>, Record<never, never>>;
661
669
  };
662
670
  delete: {
663
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
671
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
664
672
  projectId: z.ZodString;
665
673
  }, z.core.$strip>, z.ZodObject<{
666
674
  success: z.ZodLiteral<true>;
667
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
675
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
668
676
  NOT_FOUND: {};
669
677
  }>, Record<never, never>>;
670
678
  };
671
679
  };
672
680
  playground: {
673
681
  get: {
674
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
682
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
675
683
  environmentId: z.ZodString;
676
684
  }, z.core.$strip>, z.ZodObject<{
677
685
  isPlaygroundEnabled: z.ZodBoolean;
@@ -689,12 +697,12 @@ declare const contract: {
689
697
  prompt: z.ZodString;
690
698
  }, z.core.$strip>>;
691
699
  }, z.core.$strip>>;
692
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
700
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
693
701
  NOT_FOUND: {};
694
702
  }>, Record<never, never>>;
695
703
  };
696
704
  upsert: {
697
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
705
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
698
706
  environmentId: z.ZodString;
699
707
  isPlaygroundEnabled: z.ZodOptional<z.ZodBoolean>;
700
708
  name: z.ZodOptional<z.ZodString>;
@@ -725,7 +733,7 @@ declare const contract: {
725
733
  prompt: z.ZodString;
726
734
  }, z.core.$strip>>;
727
735
  }, z.core.$strip>>;
728
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
736
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
729
737
  NOT_FOUND: {};
730
738
  BAD_REQUEST: {};
731
739
  }>, Record<never, never>>;
@@ -733,16 +741,18 @@ declare const contract: {
733
741
  };
734
742
  tunnels: {
735
743
  getTicket: {
736
- v1: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
744
+ v1: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
737
745
  subdomain: z.ZodString;
738
746
  ticket: z.ZodString;
739
747
  tunnelHost: z.ZodString;
740
- }, z.core.$strip>, Record<never, never>, Record<never, never>>;
748
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
749
+ FORBIDDEN: {};
750
+ }>, Record<never, never>>;
741
751
  };
742
752
  };
743
753
  distribution: {
744
754
  publish: {
745
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
755
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
746
756
  projectId: z.ZodString;
747
757
  domain: z.ZodString;
748
758
  title: z.ZodString;
@@ -774,13 +784,13 @@ declare const contract: {
774
784
  }, z.core.$strip>>>;
775
785
  }, z.core.$strip>>>;
776
786
  }, z.core.$strip>;
777
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
787
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
778
788
  NOT_FOUND: {};
779
789
  BAD_REQUEST: {};
780
790
  }>, Record<never, never>>;
781
791
  };
782
792
  get: {
783
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
793
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
784
794
  projectId: z.ZodString;
785
795
  domain: z.ZodString;
786
796
  }, z.core.$strip>, z.ZodObject<{
@@ -807,7 +817,7 @@ declare const contract: {
807
817
  }, z.core.$strip>>>;
808
818
  }, z.core.$strip>>>;
809
819
  }, z.core.$strip>;
810
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
820
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
811
821
  NOT_FOUND: {};
812
822
  BAD_REQUEST: {};
813
823
  }>, Record<never, never>>;
@@ -815,7 +825,7 @@ declare const contract: {
815
825
  };
816
826
  beacon: {
817
827
  create: {
818
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
828
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
819
829
  targetUrl: z.ZodURL;
820
830
  teamId: z.ZodOptional<z.ZodString>;
821
831
  projectId: z.ZodOptional<z.ZodString>;
@@ -828,7 +838,7 @@ declare const contract: {
828
838
  }>>>;
829
839
  }, z.core.$strip>, z.ZodObject<{
830
840
  id: z.ZodString;
831
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
841
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
832
842
  NOT_FOUND: {};
833
843
  BAD_REQUEST: {};
834
844
  DNS_RESOLUTION_FAILED: {
@@ -837,7 +847,7 @@ declare const contract: {
837
847
  }>, Record<never, never>>;
838
848
  };
839
849
  get: {
840
- v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
850
+ v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
841
851
  auditId: z.ZodString;
842
852
  }, z.core.$strip>, z.ZodObject<{
843
853
  id: z.ZodString;
@@ -921,7 +931,7 @@ declare const contract: {
921
931
  }, z.core.$strip>>;
922
932
  }, z.core.$strip>;
923
933
  }, z.core.$strip>>;
924
- }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
934
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
925
935
  NOT_FOUND: {};
926
936
  }>, Record<never, never>>;
927
937
  };
package/dist/index.mjs CHANGED
@@ -1,6 +1,174 @@
1
1
  import { z } from "zod";
2
+ import * as z$1 from "zod/v4";
2
3
  import { oc } from "@orpc/contract";
3
4
  import ms from "ms";
5
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js
6
+ /**
7
+ * Reusable URL validation that disallows javascript: scheme
8
+ */
9
+ const SafeUrlSchema = z$1.url().superRefine((val, ctx) => {
10
+ if (!URL.canParse(val)) {
11
+ ctx.addIssue({
12
+ code: z$1.ZodIssueCode.custom,
13
+ message: "URL must be parseable",
14
+ fatal: true
15
+ });
16
+ return z$1.NEVER;
17
+ }
18
+ }).refine((url) => {
19
+ const u = new URL(url);
20
+ return u.protocol !== "javascript:" && u.protocol !== "data:" && u.protocol !== "vbscript:";
21
+ }, { message: "URL cannot use javascript:, data:, or vbscript: scheme" });
22
+ /**
23
+ * RFC 9728 OAuth Protected Resource Metadata
24
+ */
25
+ const OAuthProtectedResourceMetadataSchema = z$1.looseObject({
26
+ resource: z$1.string().url(),
27
+ authorization_servers: z$1.array(SafeUrlSchema).optional(),
28
+ jwks_uri: z$1.string().url().optional(),
29
+ scopes_supported: z$1.array(z$1.string()).optional(),
30
+ bearer_methods_supported: z$1.array(z$1.string()).optional(),
31
+ resource_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
32
+ resource_name: z$1.string().optional(),
33
+ resource_documentation: z$1.string().optional(),
34
+ resource_policy_uri: z$1.string().url().optional(),
35
+ resource_tos_uri: z$1.string().url().optional(),
36
+ tls_client_certificate_bound_access_tokens: z$1.boolean().optional(),
37
+ authorization_details_types_supported: z$1.array(z$1.string()).optional(),
38
+ dpop_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
39
+ dpop_bound_access_tokens_required: z$1.boolean().optional()
40
+ });
41
+ /**
42
+ * RFC 8414 OAuth 2.0 Authorization Server Metadata
43
+ */
44
+ const OAuthMetadataSchema = z$1.looseObject({
45
+ issuer: z$1.string(),
46
+ authorization_endpoint: SafeUrlSchema,
47
+ token_endpoint: SafeUrlSchema,
48
+ registration_endpoint: SafeUrlSchema.optional(),
49
+ scopes_supported: z$1.array(z$1.string()).optional(),
50
+ response_types_supported: z$1.array(z$1.string()),
51
+ response_modes_supported: z$1.array(z$1.string()).optional(),
52
+ grant_types_supported: z$1.array(z$1.string()).optional(),
53
+ token_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),
54
+ token_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
55
+ service_documentation: SafeUrlSchema.optional(),
56
+ revocation_endpoint: SafeUrlSchema.optional(),
57
+ revocation_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),
58
+ revocation_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
59
+ introspection_endpoint: z$1.string().optional(),
60
+ introspection_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),
61
+ introspection_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
62
+ code_challenge_methods_supported: z$1.array(z$1.string()).optional(),
63
+ client_id_metadata_document_supported: z$1.boolean().optional()
64
+ });
65
+ /**
66
+ * OpenID Connect Discovery 1.0 Provider Metadata
67
+ * see: https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata
68
+ */
69
+ const OpenIdProviderMetadataSchema = z$1.looseObject({
70
+ issuer: z$1.string(),
71
+ authorization_endpoint: SafeUrlSchema,
72
+ token_endpoint: SafeUrlSchema,
73
+ userinfo_endpoint: SafeUrlSchema.optional(),
74
+ jwks_uri: SafeUrlSchema,
75
+ registration_endpoint: SafeUrlSchema.optional(),
76
+ scopes_supported: z$1.array(z$1.string()).optional(),
77
+ response_types_supported: z$1.array(z$1.string()),
78
+ response_modes_supported: z$1.array(z$1.string()).optional(),
79
+ grant_types_supported: z$1.array(z$1.string()).optional(),
80
+ acr_values_supported: z$1.array(z$1.string()).optional(),
81
+ subject_types_supported: z$1.array(z$1.string()),
82
+ id_token_signing_alg_values_supported: z$1.array(z$1.string()),
83
+ id_token_encryption_alg_values_supported: z$1.array(z$1.string()).optional(),
84
+ id_token_encryption_enc_values_supported: z$1.array(z$1.string()).optional(),
85
+ userinfo_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
86
+ userinfo_encryption_alg_values_supported: z$1.array(z$1.string()).optional(),
87
+ userinfo_encryption_enc_values_supported: z$1.array(z$1.string()).optional(),
88
+ request_object_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
89
+ request_object_encryption_alg_values_supported: z$1.array(z$1.string()).optional(),
90
+ request_object_encryption_enc_values_supported: z$1.array(z$1.string()).optional(),
91
+ token_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),
92
+ token_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),
93
+ display_values_supported: z$1.array(z$1.string()).optional(),
94
+ claim_types_supported: z$1.array(z$1.string()).optional(),
95
+ claims_supported: z$1.array(z$1.string()).optional(),
96
+ service_documentation: z$1.string().optional(),
97
+ claims_locales_supported: z$1.array(z$1.string()).optional(),
98
+ ui_locales_supported: z$1.array(z$1.string()).optional(),
99
+ claims_parameter_supported: z$1.boolean().optional(),
100
+ request_parameter_supported: z$1.boolean().optional(),
101
+ request_uri_parameter_supported: z$1.boolean().optional(),
102
+ require_request_uri_registration: z$1.boolean().optional(),
103
+ op_policy_uri: SafeUrlSchema.optional(),
104
+ op_tos_uri: SafeUrlSchema.optional(),
105
+ client_id_metadata_document_supported: z$1.boolean().optional()
106
+ });
107
+ /**
108
+ * OpenID Connect Discovery metadata that may include OAuth 2.0 fields
109
+ * This schema represents the real-world scenario where OIDC providers
110
+ * return a mix of OpenID Connect and OAuth 2.0 metadata fields
111
+ */
112
+ const OpenIdProviderDiscoveryMetadataSchema = z$1.object({
113
+ ...OpenIdProviderMetadataSchema.shape,
114
+ ...OAuthMetadataSchema.pick({ code_challenge_methods_supported: true }).shape
115
+ });
116
+ z$1.object({
117
+ access_token: z$1.string(),
118
+ id_token: z$1.string().optional(),
119
+ token_type: z$1.string(),
120
+ expires_in: z$1.coerce.number().optional(),
121
+ scope: z$1.string().optional(),
122
+ refresh_token: z$1.string().optional()
123
+ }).strip();
124
+ z$1.object({
125
+ error: z$1.string(),
126
+ error_description: z$1.string().optional(),
127
+ error_uri: z$1.string().optional()
128
+ });
129
+ /**
130
+ * Optional version of SafeUrlSchema that allows empty string for retrocompatibility on tos_uri and logo_uri
131
+ */
132
+ const OptionalSafeUrlSchema = SafeUrlSchema.optional().or(z$1.literal("").transform(() => void 0));
133
+ /**
134
+ * RFC 7591 OAuth 2.0 Dynamic Client Registration metadata
135
+ */
136
+ const OAuthClientMetadataSchema = z$1.object({
137
+ redirect_uris: z$1.array(SafeUrlSchema),
138
+ token_endpoint_auth_method: z$1.string().optional(),
139
+ grant_types: z$1.array(z$1.string()).optional(),
140
+ response_types: z$1.array(z$1.string()).optional(),
141
+ client_name: z$1.string().optional(),
142
+ client_uri: SafeUrlSchema.optional(),
143
+ logo_uri: OptionalSafeUrlSchema,
144
+ scope: z$1.string().optional(),
145
+ contacts: z$1.array(z$1.string()).optional(),
146
+ tos_uri: OptionalSafeUrlSchema,
147
+ policy_uri: z$1.string().optional(),
148
+ jwks_uri: SafeUrlSchema.optional(),
149
+ jwks: z$1.any().optional(),
150
+ software_id: z$1.string().optional(),
151
+ software_version: z$1.string().optional(),
152
+ software_statement: z$1.string().optional()
153
+ }).strip();
154
+ /**
155
+ * RFC 7591 OAuth 2.0 Dynamic Client Registration client information
156
+ */
157
+ const OAuthClientInformationSchema = z$1.object({
158
+ client_id: z$1.string(),
159
+ client_secret: z$1.string().optional(),
160
+ client_id_issued_at: z$1.number().optional(),
161
+ client_secret_expires_at: z$1.number().optional()
162
+ }).strip();
163
+ OAuthClientMetadataSchema.merge(OAuthClientInformationSchema);
164
+ z$1.object({
165
+ error: z$1.string(),
166
+ error_description: z$1.string().optional()
167
+ }).strip();
168
+ z$1.object({
169
+ token: z$1.string(),
170
+ token_type_hint: z$1.string().optional()
171
+ }).strip();
4
172
  const platformSchema = z.enum(["chatgpt", "claudeai"]);
5
173
  const PLATFORM_LABELS = {
6
174
  chatgpt: "ChatGPT",
@@ -71,6 +239,13 @@ const auditReportWithScreenshotsSchema = auditReportSchema.extend({ widgetScreen
71
239
  chatgpt: widgetScreenshotSchema.optional(),
72
240
  claudeai: widgetScreenshotSchema.optional()
73
241
  }) });
242
+ z.object({
243
+ id: z.string(),
244
+ environmentId: z.string(),
245
+ clientId: z.string(),
246
+ clientSecret: z.string(),
247
+ clientScopes: z.array(z.string())
248
+ });
74
249
  const deploymentStatusSchema$1 = z.enum([
75
250
  "ongoing",
76
251
  "deployed",
@@ -98,6 +273,74 @@ const deploymentSummarySchema = z.object({
98
273
  createdAt: z.coerce.date(),
99
274
  updatedAt: z.coerce.date()
100
275
  });
276
+ /**
277
+ * Public environment
278
+ *
279
+ * No OAuth metadata exposed.
280
+ */
281
+ const publicEnvironmentSchema = z.object({
282
+ isPublic: z.literal(true),
283
+ oAuthMetadata: z.undefined().optional()
284
+ });
285
+ /**
286
+ * Protected environment with an external resource metadata URL
287
+ *
288
+ * An external resource metadata URL is returned in the WWW-Authenticate header during the first 401 response.
289
+ * Everything that follows is handled outside of the MCP server scope.
290
+ */
291
+ const externalResourceMetadataEnvironmentSchema = z.object({
292
+ isPublic: z.literal(false),
293
+ oAuthMetadata: z.object({ externalResourceMetadataUrl: z.url() }),
294
+ scope: z.string().optional()
295
+ });
296
+ /**
297
+ * Protected environment with an external authorization server URL
298
+ *
299
+ * The server itself exposes the /.well-known/oauth-protected-resource endpoint.
300
+ * An external authorization server URL is returned when requesting the endpoint.
301
+ * Everything that follows is handled outside of the MCP server scope.
302
+ */
303
+ const externalAuthorizationServerEnvironmentSchema = z.object({
304
+ isPublic: z.literal(false),
305
+ oAuthMetadata: z.object({
306
+ externalAuthorizationServerUrl: z.url(),
307
+ resourceMetadata: OAuthProtectedResourceMetadataSchema.optional()
308
+ }),
309
+ scope: z.string().optional()
310
+ });
311
+ /**
312
+ * Standalone protected environment
313
+ *
314
+ * The server itself exposes the /.well-known/oauth-protected-resource endpoint.
315
+ * The server itself exposes the /.well-known/oauth-authorization-server endpoint.
316
+ */
317
+ const standaloneEnvironmentSchema = z.object({
318
+ isPublic: z.literal(false),
319
+ oAuthMetadata: z.object({
320
+ authorizationServerMetadata: z.union([OAuthMetadataSchema, OpenIdProviderDiscoveryMetadataSchema]),
321
+ resourceMetadata: OAuthProtectedResourceMetadataSchema.optional()
322
+ }),
323
+ scope: z.string().optional()
324
+ });
325
+ /**
326
+ * Protected environment without OAuth discovery
327
+ *
328
+ * The server enforces authentication but exposes no OAuth discovery metadata.
329
+ * Neither /.well-known/oauth-protected-resource nor /.well-known/oauth-authorization-server
330
+ * are advertised. Clients must obtain credentials out-of-band.
331
+ */
332
+ const protectedWithoutDiscoveryEnvironmentSchema = z.object({
333
+ isPublic: z.literal(false),
334
+ oAuthMetadata: z.strictObject({}),
335
+ scope: z.string().optional()
336
+ });
337
+ z.union([
338
+ publicEnvironmentSchema,
339
+ externalResourceMetadataEnvironmentSchema,
340
+ externalAuthorizationServerEnvironmentSchema,
341
+ standaloneEnvironmentSchema,
342
+ protectedWithoutDiscoveryEnvironmentSchema
343
+ ]);
101
344
  const allowedPlatformSchema = platformSchema;
102
345
  const environmentDomainSchema = z.object({
103
346
  domain: z.string(),
@@ -126,6 +369,12 @@ const environmentSchema$1 = z.object({
126
369
  updatedAt: z.coerce.date()
127
370
  });
128
371
  const environmentWithDomainsSchema = environmentSchema$1.extend({ domains: z.array(environmentDomainSchema) });
372
+ z.object({
373
+ sessionReplayEnabled: z.boolean(),
374
+ collectRequestPayload: z.boolean(),
375
+ collectResponsePayload: z.boolean(),
376
+ collectErrorMessage: z.boolean()
377
+ });
129
378
  z.object({
130
379
  id: z.string(),
131
380
  createdAt: z.coerce.date(),
@@ -259,6 +508,10 @@ z.object({
259
508
  environments: z.array(environmentWithDomainsSchema),
260
509
  productionEnvironment: environmentWithDomainsSchema.nullable()
261
510
  });
511
+ const projectDomainMappingSchema = z.object({
512
+ pathPrefix: z.string(),
513
+ environment: environmentSchema$1
514
+ });
262
515
  z.object({
263
516
  domain: z.string(),
264
517
  createdAt: z.coerce.date(),
@@ -267,7 +520,7 @@ z.object({
267
520
  "deployed",
268
521
  "failed"
269
522
  ]),
270
- environment: environmentSchema$1
523
+ mappings: z.array(projectDomainMappingSchema)
271
524
  });
272
525
  const serverFieldsSchema$1 = z.object({
273
526
  $schema: z.string(),
@@ -296,6 +549,22 @@ z.object({
296
549
  serverFields: serverFieldsSchema$1,
297
550
  source: z.enum(["registry", "defaults"])
298
551
  });
552
+ /**
553
+ * Returns a variant of a `maxLength`-constrained string that clamps (truncates) instead of
554
+ * rejecting on overflow — used for AI-generated copy where the model routinely overshoots.
555
+ *
556
+ * NOTE: this rebuilds the schema from scratch, carrying over only `maxLength` (as a clamp),
557
+ * `minLength`, and the description. Any other validators on the source field (`.regex()`,
558
+ * `.email()`, custom refinements) are intentionally dropped — this helper is meant for plain
559
+ * free-text length caps only. A field with `null` `maxLength` is returned unchanged.
560
+ */
561
+ const clampStringField = (field) => {
562
+ const max = field.maxLength;
563
+ if (max === null) return field;
564
+ const clamped = z.string().overwrite((value) => value.slice(0, max)).max(max);
565
+ const withMin = field.minLength === null ? clamped : clamped.min(field.minLength);
566
+ return field.description ? withMin.describe(field.description) : withMin;
567
+ };
299
568
  const toolDefinitionSchema = z.object({
300
569
  name: z.string(),
301
570
  title: z.string().optional().describe("Human-friendly name for the tool, used in the UI. If not provided, `name` will be used."),
@@ -308,14 +577,14 @@ const toolDefinitionSchema = z.object({
308
577
  }).optional()
309
578
  });
310
579
  const positiveTestCaseSchema = z.object({
311
- scenario: z.string(),
312
- userPrompt: z.string(),
313
- toolTriggered: z.string().optional(),
314
- expectedOutput: z.string().optional()
580
+ scenario: z.string().describe("Short label for what this case demonstrates."),
581
+ userPrompt: z.string().describe("A realistic, standalone user message a reviewer can paste and run with no prior state or multi-turn setup. Vary phrasing and tone across cases."),
582
+ toolTriggered: z.string().optional().describe("The tool this prompt should invoke."),
583
+ expectedOutput: z.string().optional().describe("What the user should see, including post-interaction behaviour where relevant.")
315
584
  }).partial().describe("Each case: Scenario, User prompt, Tool triggered, Expected output.");
316
585
  const screenshotEntrySchema = z.object({
317
586
  prompt: z.string(),
318
- url: z.url()
587
+ url: z.url().or(z.literal(""))
319
588
  }).describe("Each screenshot: the user prompt that produced it + the image URL.");
320
589
  /** Accepts either a valid email or URL. */
321
590
  const supportChannelSchema = z.string().refine((value) => z.email().safeParse(value).success || z.url().safeParse(value).success, { error: "Must be a valid email or URL" });
@@ -335,22 +604,315 @@ const chatgptCategorySchema = z.enum([
335
604
  "TRAVEL"
336
605
  ]);
337
606
  const chatgptAuthenticationSchema = z.enum(["No auth needed", "OAuth 2.0"]);
338
- const chatgptAllowedCountriesSchema = z.enum(["Allow all", "Restrict to specific countries"]);
607
+ const chatgptCountryCodeSchema = z.enum([
608
+ "AD",
609
+ "AE",
610
+ "AF",
611
+ "AG",
612
+ "AL",
613
+ "AM",
614
+ "AO",
615
+ "AR",
616
+ "AT",
617
+ "AU",
618
+ "AW",
619
+ "AX",
620
+ "AZ",
621
+ "BA",
622
+ "BB",
623
+ "BD",
624
+ "BE",
625
+ "BF",
626
+ "BG",
627
+ "BH",
628
+ "BI",
629
+ "BJ",
630
+ "BL",
631
+ "BM",
632
+ "BN",
633
+ "BO",
634
+ "BR",
635
+ "BS",
636
+ "BT",
637
+ "BW",
638
+ "BZ",
639
+ "CA",
640
+ "CD",
641
+ "CF",
642
+ "CG",
643
+ "CH",
644
+ "CI",
645
+ "CL",
646
+ "CM",
647
+ "CO",
648
+ "CR",
649
+ "CV",
650
+ "CY",
651
+ "CZ",
652
+ "DE",
653
+ "DJ",
654
+ "DK",
655
+ "DM",
656
+ "DO",
657
+ "DZ",
658
+ "EC",
659
+ "EE",
660
+ "EG",
661
+ "ER",
662
+ "ES",
663
+ "ET",
664
+ "FI",
665
+ "FJ",
666
+ "FM",
667
+ "FO",
668
+ "FR",
669
+ "GA",
670
+ "GB",
671
+ "GD",
672
+ "GE",
673
+ "GF",
674
+ "GH",
675
+ "GL",
676
+ "GM",
677
+ "GN",
678
+ "GP",
679
+ "GQ",
680
+ "GR",
681
+ "GT",
682
+ "GW",
683
+ "GY",
684
+ "HN",
685
+ "HR",
686
+ "HT",
687
+ "HU",
688
+ "ID",
689
+ "IE",
690
+ "IL",
691
+ "IN",
692
+ "IQ",
693
+ "IS",
694
+ "IT",
695
+ "JM",
696
+ "JO",
697
+ "JP",
698
+ "KE",
699
+ "KG",
700
+ "KH",
701
+ "KI",
702
+ "KM",
703
+ "KN",
704
+ "KR",
705
+ "KW",
706
+ "KY",
707
+ "KZ",
708
+ "LA",
709
+ "LB",
710
+ "LC",
711
+ "LI",
712
+ "LK",
713
+ "LR",
714
+ "LS",
715
+ "LT",
716
+ "LU",
717
+ "LV",
718
+ "LY",
719
+ "MA",
720
+ "MC",
721
+ "MD",
722
+ "ME",
723
+ "MF",
724
+ "MG",
725
+ "MH",
726
+ "MK",
727
+ "ML",
728
+ "MM",
729
+ "MN",
730
+ "MQ",
731
+ "MR",
732
+ "MT",
733
+ "MU",
734
+ "MV",
735
+ "MW",
736
+ "MX",
737
+ "MY",
738
+ "MZ",
739
+ "NA",
740
+ "NC",
741
+ "NE",
742
+ "NG",
743
+ "NI",
744
+ "NL",
745
+ "NO",
746
+ "NP",
747
+ "NR",
748
+ "NZ",
749
+ "OM",
750
+ "PA",
751
+ "PE",
752
+ "PF",
753
+ "PG",
754
+ "PH",
755
+ "PK",
756
+ "PL",
757
+ "PM",
758
+ "PS",
759
+ "PT",
760
+ "PW",
761
+ "PY",
762
+ "QA",
763
+ "RE",
764
+ "RO",
765
+ "RS",
766
+ "RW",
767
+ "SA",
768
+ "SB",
769
+ "SC",
770
+ "SD",
771
+ "SE",
772
+ "SG",
773
+ "SH",
774
+ "SI",
775
+ "SJ",
776
+ "SK",
777
+ "SL",
778
+ "SM",
779
+ "SN",
780
+ "SO",
781
+ "SR",
782
+ "SS",
783
+ "ST",
784
+ "SV",
785
+ "SZ",
786
+ "TD",
787
+ "TF",
788
+ "TG",
789
+ "TH",
790
+ "TJ",
791
+ "TL",
792
+ "TM",
793
+ "TN",
794
+ "TO",
795
+ "TR",
796
+ "TT",
797
+ "TV",
798
+ "TW",
799
+ "TZ",
800
+ "UA",
801
+ "UG",
802
+ "US",
803
+ "UY",
804
+ "UZ",
805
+ "VA",
806
+ "VC",
807
+ "VN",
808
+ "VU",
809
+ "WF",
810
+ "WS",
811
+ "YE",
812
+ "YT",
813
+ "ZA",
814
+ "ZM",
815
+ "ZW"
816
+ ]);
817
+ const chatgptAllowedCountriesSchema = z.discriminatedUnion("mode", [
818
+ z.object({ mode: z.literal("all") }),
819
+ z.object({
820
+ mode: z.literal("allow"),
821
+ countries: z.array(chatgptCountryCodeSchema)
822
+ }),
823
+ z.object({
824
+ mode: z.literal("block"),
825
+ countries: z.array(chatgptCountryCodeSchema)
826
+ })
827
+ ]);
828
+ const chatgptTranslationLocaleSchema = z.enum([
829
+ "am",
830
+ "ar",
831
+ "bg-BG",
832
+ "bn-BD",
833
+ "bs-BA",
834
+ "ca-ES",
835
+ "cs-CZ",
836
+ "da-DK",
837
+ "de-DE",
838
+ "el-GR",
839
+ "es-419",
840
+ "es-ES",
841
+ "et-EE",
842
+ "fi-FI",
843
+ "fr-CA",
844
+ "fr-FR",
845
+ "gu-IN",
846
+ "hi-IN",
847
+ "hr-HR",
848
+ "hu-HU",
849
+ "hy-AM",
850
+ "id-ID",
851
+ "is-IS",
852
+ "it-IT",
853
+ "ja-JP",
854
+ "ka-GE",
855
+ "kk",
856
+ "kn-IN",
857
+ "ko-KR",
858
+ "lt",
859
+ "lv-LV",
860
+ "mk-MK",
861
+ "ml",
862
+ "mn",
863
+ "mr-IN",
864
+ "ms-MY",
865
+ "my-MM",
866
+ "nb-NO",
867
+ "nl-NL",
868
+ "pa",
869
+ "pl-PL",
870
+ "pt-BR",
871
+ "pt-PT",
872
+ "ro-RO",
873
+ "ru-RU",
874
+ "sk-SK",
875
+ "sl-SI",
876
+ "so-SO",
877
+ "sq-AL",
878
+ "sr-RS",
879
+ "sv-SE",
880
+ "sw-TZ",
881
+ "ta-IN",
882
+ "te-IN",
883
+ "th-TH",
884
+ "tl",
885
+ "tr-TR",
886
+ "uk-UA",
887
+ "ur",
888
+ "vi-VN",
889
+ "zh-CN",
890
+ "zh-HK",
891
+ "zh-TW"
892
+ ]);
339
893
  const negativeTestCaseSchema = z.object({
340
894
  scenario: z.string(),
341
895
  userPrompt: z.string()
342
896
  }).partial().describe("Each case: Scenario + User prompt (the app should NOT trigger).");
343
897
  const chatgptToolJustificationSchema = z.object({
344
898
  toolName: z.string(),
345
- readOnlyJustification: z.string(),
346
- openWorldJustification: z.string(),
347
- destructiveJustification: z.string()
348
- }).describe("Per-tool justification of each MCP annotation value (one sentence per hint).");
899
+ readOnlyJustification: z.string().describe("One sentence on what the tool reads and returns."),
900
+ openWorldJustification: z.string().describe("One sentence on whether the tool reaches external systems beyond your own service."),
901
+ destructiveJustification: z.string().describe("One sentence on whether the tool changes data. For a read-only tool, state the full triad: \"No data is created, modified, or deleted.\"")
902
+ }).describe("Per-tool justification of each MCP annotation value (one specific sentence per hint).");
903
+ /**
904
+ * Base copy fields, defined once and reused by both the submission form and per-locale
905
+ * translations so the constraints (tagline ≤ 30 chars) never drift. The translation generation
906
+ * path wraps these in {@link clampStringField} since the LLM tends to overshoot the limit.
907
+ */
908
+ const chatgptTaglineSchema = z.string().max(30);
909
+ const chatgptDescriptionSchema = z.string();
349
910
  const chatgptTranslationSchema = z.object({
350
- locale: z.string(),
351
- tagline: z.string().optional(),
352
- description: z.string().optional()
911
+ locale: chatgptTranslationLocaleSchema,
912
+ tagline: chatgptTaglineSchema,
913
+ description: chatgptDescriptionSchema
353
914
  }).describe("Locale-scoped override for tagline + description. English (US) is the default.");
915
+ chatgptTranslationSchema.extend({ tagline: clampStringField(chatgptTaglineSchema) });
354
916
  /**
355
917
  * Field order mirrors the ChatGPT (OpenAI) submission spreadsheet, grouped by section.
356
918
  * When adding/removing/reordering fields, keep this in sync with the sheet.
@@ -359,8 +921,8 @@ const chatgptSubmissionFormDataSchema = z.object({
359
921
  logoLight: z.string().describe("Logo icon for light mode. Square PNG, no borders or rounded corners (clients apply circular cropping)."),
360
922
  logoDark: z.string().optional().describe("Optional dark-mode logo icon. Square PNG, same specs as the light icon. Leave empty if the light icon also works on dark backgrounds."),
361
923
  appName: z.string().describe("The name users will see in ChatGPT and in the Apps Directory."),
362
- tagline: z.string().max(30).describe("Plain-language phrase focused on function and user value. 30 chars max."),
363
- description: z.string().describe("Clear, engaging description highlighting what the app does and why people will love it. Appears publicly on the directory page."),
924
+ tagline: chatgptTaglineSchema.describe("Plain-language phrase focused on function and user value, 30 chars max. Avoid generic superlatives like \"the best …\"."),
925
+ description: chatgptDescriptionSchema.describe("Clear, engaging description highlighting what the app does and why people will love it. Appears publicly on the directory page. End it by naming the product categories or intents the app does NOT cover, so ChatGPT learns when not to route to it (define exclusions by absent categories or wrong intents, never by naming other brands)."),
364
926
  category: chatgptCategorySchema.describe("Category from the OpenAI taxonomy."),
365
927
  developerName: z.string().describe("Developer name shown publicly on the app's directory page."),
366
928
  companyUrl: z.url().describe("Your company's main website URL."),
@@ -372,12 +934,12 @@ const chatgptSubmissionFormDataSchema = z.object({
372
934
  serverUrl: z.url().describe("URL of the MCP server."),
373
935
  authentication: chatgptAuthenticationSchema.describe("OAuth 2.0 or No auth. OAuth configuration is auto-discovered from the MCP server's metadata."),
374
936
  tools: z.array(toolDefinitionSchema).describe("List of tools exposed by the MCP server (auto-populated from the production server's manifest)."),
375
- toolJustifications: z.array(chatgptToolJustificationSchema).describe("Per-tool justification of `readOnlyHint`, `openWorldHint`, and `destructiveHint` annotation values."),
376
- testCases: z.array(positiveTestCaseSchema).describe("At least 5 positive test cases. Each: Scenario, User prompt, Tool triggered, Expected output. Coverage over all major use cases."),
377
- negativeTestCases: z.array(negativeTestCaseSchema).describe("3 negative test cases — prompts where the app should NOT trigger but the model might think it's relevant."),
378
- screenshots: z.array(screenshotEntrySchema).describe("In-app screenshots paired with the user prompt that produced them. Widget apps must show the widget UI; non-widget apps show the model response. Min 1, max 4 entries. First three are public. Images: 706px wide, 400–860px tall, PNG."),
937
+ toolJustifications: z.array(chatgptToolJustificationSchema).describe("Per-tool justification of `readOnlyHint`, `openWorldHint`, and `destructiveHint` annotation values. One short, specific sentence per hint describing what the tool actually does."),
938
+ testCases: z.array(positiveTestCaseSchema).describe("At least 5 positive test cases. Each: Scenario, User prompt, Tool triggered, Expected output. Collectively cover the full capability across different flow stages (initial search or browse, market or locale handling, post-interaction detail, an action ChatGPT performs on the user's behalf, and a conversion or secondary tool) rather than five variations of the same first step."),
939
+ negativeTestCases: z.array(negativeTestCaseSchema).describe("3 negative test cases: prompts where the app should NOT trigger but the model might think it is relevant. These become production routing metadata that teaches ChatGPT when to stay silent, so pick tight near-misses: a product category the app does not carry, the right brand or domain but an intent the app does not serve, or a boundary with a sibling app."),
940
+ screenshots: z.array(screenshotEntrySchema).max(3).describe("In-app screenshots paired with the user prompt that produced them. Widget apps must show the widget UI; non-widget apps show the model response. Min 1, max 3 entries, all public. Images: 706px wide, 400–860px tall, PNG."),
379
941
  translations: z.array(chatgptTranslationSchema).describe("Per-locale translation of tagline + description. English (US) is the default."),
380
- allowedCountries: chatgptAllowedCountriesSchema.describe("'Allow all' or restrict to a specific list. See OpenAI's supported countries list."),
942
+ allowedCountries: chatgptAllowedCountriesSchema.describe("Availability: all supported countries, or an allow-list / block-list of specific ones (ISO alpha-2)."),
381
943
  releaseNotes: z.string().describe("Publicly displayed on the app details page.")
382
944
  });
383
945
  chatgptSubmissionFormDataSchema.pick({
@@ -394,7 +956,7 @@ chatgptSubmissionFormDataSchema.pick({
394
956
  testCases: true,
395
957
  negativeTestCases: true,
396
958
  toolJustifications: true
397
- });
959
+ }).extend({ tagline: clampStringField(chatgptSubmissionFormDataSchema.shape.tagline) });
398
960
  const claudeCategorySchema = z.enum([
399
961
  "Business & Productivity",
400
962
  "Communication",
@@ -406,7 +968,7 @@ const claudeCategorySchema = z.enum([
406
968
  "Media & Entertainment",
407
969
  "Commerce & Shopping"
408
970
  ]);
409
- z.enum([
971
+ const claudeAuthenticationSchema = z.enum([
410
972
  "No auth needed",
411
973
  "OAuth 2.0",
412
974
  "Custom URL"
@@ -414,28 +976,34 @@ z.enum([
414
976
  const claudeMcpUrlTypeSchema = z.enum(["Universal URL", "Custom MCP URLs"]);
415
977
  z.enum(["Static OAuth Client", "Dynamic OAuth Client (DCR / CIMD)"]);
416
978
  const claudeReadWriteCapabilitiesSchema = z.enum([
417
- "Read only",
418
- "Write only",
419
- "Read + write"
979
+ "Read Only",
980
+ "Write Only",
981
+ "Read + Write"
420
982
  ]);
421
983
  const claudeTransportSchema = z.enum(["Streamable HTTP", "SSE"]);
984
+ const claudeTestedSurfaceSchema = z.enum([
985
+ "Claude.ai (web)",
986
+ "Claude Desktop",
987
+ "Claude Code",
988
+ "Cowork"
989
+ ]);
422
990
  const claudeThirdPartySchema = z.enum([
423
- "Web access (open web fetch / scraping / arbitrary URLs)",
424
- "Third-party AI model integration",
425
- "Third-party data retrieval (via workflow / aggregator)",
426
- "Third-party data modification (via workflow / aggregator)",
991
+ "Web access: Fetches information from the open web (e.g., web scraping, search engines, or browsing arbitrary URLs, not just connecting to a specific API)",
992
+ "Third-party AI model integration: Sends data to or receives data from a generative AI model other than Claude",
993
+ "Third-party data retrieval: Connects to external services that themselves retrieve data from other sources (e.g., workflow automation platforms or other services that aggregate or relay data from multiple third-party sources)",
994
+ "Third-party data modification: Can connect to external services that themselves create, update, or delete data in other sources (e.g., workflow automation platforms or other services that write to multiple third-party sources)",
427
995
  "N/A"
428
996
  ]);
429
997
  const claudeDataHandlingSchema = z.enum([
430
998
  "Server only accesses data explicitly requested by user",
431
999
  "No data is stored beyond session requirements",
432
- "Data transmission is encrypted (HTTPS / TLS)",
1000
+ "Data transmission is encrypted (HTTPS/TLS)",
433
1001
  "GDPR compliant (if applicable)"
434
1002
  ]);
435
1003
  const claudeSponsoredContentSchema = z.enum([
436
1004
  "No, there is no sponsored content or advertisements",
437
1005
  "Yes, there are banner ads or other paid visual elements",
438
- "Yes, returned content or ranking is impacted by sponsorship or ad placement"
1006
+ "Yes, the returned content or ranking of returned content is impacted by sponsorship or ad placement"
439
1007
  ]);
440
1008
  /**
441
1009
  * Field order mirrors the Claude (Anthropic) submission spreadsheet, grouped by section.
@@ -500,7 +1068,7 @@ If 'Yes', you will also be required to provide screenshots of your UI (see Promo
500
1068
  Note: These are attestations — you are legally agreeing to these practices by submitting the form.`),
501
1069
  personalDataHealthAccess: z.boolean().describe(`Select 'Yes' ONLY if your connector gives users access to their own personal health information — such as medical records, lab results, diagnoses, prescriptions, wearable health metrics (heart rate, sleep data, etc.), or mental health data.
502
1070
  Select 'No' for the vast majority of business/productivity/dev tools. When in doubt, select 'No'. This field triggers additional compliance review if 'Yes'.`),
503
- categories: z.array(claudeCategorySchema).describe(`Select the category or categories that best describe your connector. This determines where it appears in the directory's browse experience. Choose the most specific fit:
1071
+ category: claudeCategorySchema.describe(`Select the category that best describes your connector. This determines where it appears in the directory's browse experience. Choose the most specific fit:
504
1072
  • Business & Productivity — project management, CRM, HR, office tools
505
1073
  • Communication — email, chat, messaging, notifications
506
1074
  • Data & Analytics — dashboards, reporting, databases, BI tools
@@ -510,12 +1078,13 @@ Select 'No' for the vast majority of business/productivity/dev tools. When in do
510
1078
  • Health & Life Sciences — clinical, pharma, medical professional tools
511
1079
  • Media & Entertainment — content, publishing, streaming
512
1080
  • Commerce & Shopping — e-commerce, inventory, orders
513
- Multiple categories are allowed if genuinely applicable.`),
1081
+ Anthropic's submission form only accepts a single category.`),
514
1082
  sponsoredContentsOrAdvertisement: claudeSponsoredContentSchema.describe(`Be honest here — advertising is not permitted in the Connectors Directory per Anthropic's policy. Select the option that accurately describes your server:
515
1083
  • 'No, there is no sponsored content or advertisements' — the results your server returns are not influenced by paid placement or sponsorship. This is what almost all connectors should select.
516
1084
  • 'Yes, there are banner ads or other paid visual elements' — your UI includes visual ads. NOTE: this will likely lead to rejection, as Anthropic prohibits advertising in Claude.
517
1085
  • 'Yes, the returned content or ranking of returned content is impacted by sponsorship or ad placement' — paid results affect what you return. NOTE: this also likely leads to rejection.
518
1086
  If your server returns organic results from a platform that has ads in its own UI (but your API results are not affected by ads), select 'No'.`),
1087
+ authentication: claudeAuthenticationSchema.describe("How users authenticate with the server. No auth / OAuth 2.0 / Custom URL (not supported)."),
519
1088
  transportSupport: z.array(claudeTransportSchema).describe(`Select all transport protocols your server supports:
520
1089
  • 'Streamable HTTP' — the modern, recommended transport. Anthropic strongly recommends implementing this. This is the future-proof option and should be your default.
521
1090
  • 'SSE (Server-Sent Events)' — the older transport. SSE may be deprecated by Anthropic later in 2025/2026. If you currently only support SSE, you should plan to migrate to Streamable HTTP.
@@ -555,6 +1124,7 @@ Reviewers test every single tool you list here — don't list tools that don't w
555
1124
  • 'I've specified user-friendly titles for all tools' — every tool has a 'title' annotation (a human-readable label, different from the tool name).
556
1125
  • 'I've specified accurate tool annotations for all tools' — every tool has the correct annotation: readOnlyHint: true for read operations (search, get, list, fetch), OR destructiveHint: true for write operations (create, update, delete, send).
557
1126
  This is the #1 reason submissions get rejected (30% of all rejections). Do not check these boxes without actually having implemented the annotations. See MCP spec for how to add them.`),
1127
+ testedSurfaces: z.array(claudeTestedSurfaceSchema).describe(`Confirm testing is complete and your server works as intended in these surfaces. Select every surface you've verified. Claude.ai (web) and Claude Desktop are the usual targets for remote MCP servers; Claude Code and Cowork compatibility is not required. Anthropic requires at least two surfaces.`),
558
1128
  logoLight: z.string().describe(`Your connector's logo for light backgrounds. Requirements:
559
1129
  • Format: SVG only
560
1130
  • Aspect ratio: square (1:1)
@@ -581,17 +1151,24 @@ claudeSubmissionFormDataSchema.pick({
581
1151
  isMcpApp: true,
582
1152
  transportSupport: true,
583
1153
  primaryContactEmail: true,
584
- primaryContactName: true
1154
+ primaryContactName: true,
1155
+ authentication: true,
1156
+ personalDataHealthAccess: true,
1157
+ testedSurfaces: true
1158
+ }).extend({
1159
+ connectionRequirements: claudeSubmissionFormDataSchema.shape.connectionRequirements.optional(),
1160
+ testingCredentials: claudeSubmissionFormDataSchema.shape.testingCredentials.optional()
585
1161
  });
586
1162
  claudeSubmissionFormDataSchema.pick({
587
1163
  tagline: true,
588
1164
  description: true,
589
- categories: true,
1165
+ category: true,
590
1166
  testCases: true
591
- });
1167
+ }).extend({ tagline: clampStringField(claudeSubmissionFormDataSchema.shape.tagline) });
592
1168
  const submissionMetaFieldsSchema = z.object({
593
1169
  id: z.string(),
594
1170
  environmentId: z.string(),
1171
+ auditId: z.string().nullable(),
595
1172
  createdAt: z.coerce.date(),
596
1173
  updatedAt: z.coerce.date()
597
1174
  });
@@ -767,7 +1344,7 @@ const createEnvironmentContractV1 = oc.route({
767
1344
  id: z.string(),
768
1345
  name: z.string(),
769
1346
  sourceBranch: z.string().nullable().describe("The branch used to build the environment"),
770
- urls: z.array(z.string().url()).describe("The URLs of the MCP server"),
1347
+ urls: z.array(z.url()).describe("The URLs of the MCP server"),
771
1348
  createdAt: z.coerce.date(),
772
1349
  projectId: z.string().describe("The ID of the project the environment belongs to")
773
1350
  }));
@@ -843,6 +1420,9 @@ const listProjectsContractV1 = oc.route({
843
1420
  description: "List all projects for a team",
844
1421
  tags: ["projects"],
845
1422
  successDescription: "The list of projects"
1423
+ }).errors({
1424
+ NOT_FOUND: {},
1425
+ BAD_REQUEST: {}
846
1426
  }).input(z.object({ teamId: z.string().optional() }).optional()).output(z.array(projectOutputSchema));
847
1427
  const createProjectContractV1 = oc.route({
848
1428
  path: "/v1/projects",
@@ -853,7 +1433,8 @@ const createProjectContractV1 = oc.route({
853
1433
  successDescription: "The project has been created successfully"
854
1434
  }).errors({
855
1435
  NOT_FOUND: {},
856
- BAD_REQUEST: {}
1436
+ BAD_REQUEST: {},
1437
+ FORBIDDEN: {}
857
1438
  }).input(z.object({
858
1439
  teamId: z.string().optional(),
859
1440
  name: z.string().trim().min(1).max(100),
@@ -938,7 +1519,10 @@ const deleteEnvironmentVariableContractV1 = oc.route({
938
1519
  description: "Delete an environment variable by ID",
939
1520
  tags: ["environments"],
940
1521
  successDescription: "The environment variable has been deleted successfully"
941
- }).errors({ NOT_FOUND: {} }).input(z.object({ environmentVariableId: z.string().describe("The ID of the environment variable") })).output(z.object({ success: z.literal(true) }));
1522
+ }).errors({
1523
+ NOT_FOUND: {},
1524
+ BAD_REQUEST: {}
1525
+ }).input(z.object({ environmentVariableId: z.string().describe("The ID of the environment variable") })).output(z.object({ success: z.literal(true) }));
942
1526
  const deleteProjectContractV1 = oc.route({
943
1527
  path: "/v1/projects/{projectId}",
944
1528
  method: "DELETE",
@@ -956,7 +1540,8 @@ const updateProjectContractV1 = oc.route({
956
1540
  successDescription: "The project has been updated successfully"
957
1541
  }).errors({
958
1542
  NOT_FOUND: {},
959
- BAD_REQUEST: {}
1543
+ BAD_REQUEST: {},
1544
+ FORBIDDEN: {}
960
1545
  }).input(z.object({
961
1546
  projectId: z.string().describe("The ID of the project"),
962
1547
  name: z.string().min(1).max(100).optional().describe("The new name for the project"),
@@ -983,6 +1568,9 @@ const uploadDeploymentArtifactContractV1 = oc.route({
983
1568
  description: "Return a presigned S3 URL to upload a deployment artifact",
984
1569
  tags: ["deployments"],
985
1570
  successDescription: "The presigned upload URL has been generated successfully"
1571
+ }).errors({
1572
+ NOT_FOUND: {},
1573
+ BAD_REQUEST: {}
986
1574
  }).input(z.object({ teamId: z.string().optional() }).optional()).output(z.object({
987
1575
  uploadUrl: z.url().describe("Presigned S3 URL to upload the source archive with HTTP PUT"),
988
1576
  token: z.string().describe("Token to identify the source archive"),
@@ -1156,7 +1744,7 @@ const getTunnelTicketContractV1 = oc.route({
1156
1744
  description: "Get a signed ticket for establishing a tunnel connection. Requires user authentication (API keys are not supported).",
1157
1745
  tags: ["tunnels"],
1158
1746
  successDescription: "The tunnel ticket"
1159
- }).output(z.object({
1747
+ }).errors({ FORBIDDEN: {} }).output(z.object({
1160
1748
  subdomain: z.string().describe("The subdomain assigned to the user"),
1161
1749
  ticket: z.string().describe("The signed tunnel ticket"),
1162
1750
  tunnelHost: z.string().describe("The tunnel host to connect to")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "0.0.0-dev.gfbdef08",
3
+ "version": "0.0.0-dev.gfc6015a",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -17,19 +17,19 @@
17
17
  "author": "Alpic",
18
18
  "license": "ISC",
19
19
  "dependencies": {
20
- "@orpc/contract": "^1.14.3",
20
+ "@orpc/contract": "^1.14.6",
21
21
  "ms": "^2.1.3",
22
22
  "zod": "^4.4.3"
23
23
  },
24
24
  "devDependencies": {
25
- "@orpc/openapi": "^1.14.3",
26
- "@orpc/zod": "^1.14.3",
25
+ "@orpc/openapi": "^1.14.6",
26
+ "@orpc/zod": "^1.14.6",
27
27
  "@total-typescript/tsconfig": "^1.0.4",
28
28
  "@types/ms": "^2.1.0",
29
29
  "shx": "^0.4.0",
30
- "tsdown": "^0.22.0",
30
+ "tsdown": "^0.22.3",
31
31
  "typescript": "^6.0.3",
32
- "vitest": "^4.1.6",
32
+ "vitest": "^4.1.9",
33
33
  "@alpic-ai/domains": "0.0.0"
34
34
  },
35
35
  "scripts": {