@renai-labs/sdk 0.1.21 → 0.1.23

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.
@@ -1,6 +1,19 @@
1
1
  export type ClientOptions = {
2
2
  baseUrl: `${string}://${string}` | (string & {});
3
3
  };
4
+ export type SandboxArtifactTarget = {
5
+ podId: string;
6
+ bucket: string;
7
+ region: string;
8
+ endpoint: string | null;
9
+ prefix: string;
10
+ };
11
+ export type SandboxVolumeCreds = {
12
+ accessKeyId: string;
13
+ secretAccessKey: string;
14
+ sessionToken: string;
15
+ expiresAt: string;
16
+ };
4
17
  export type OpencodeSessionSyncSeq = {
5
18
  sessionId: string;
6
19
  latestSeq: number;
@@ -19,30 +32,40 @@ export type SandboxManifest = {
19
32
  environment: {
20
33
  [key: string]: string;
21
34
  };
22
- runtimeSetup: SandboxManifestRuntimeSetup;
23
35
  members: Array<SandboxManifestMember>;
24
- podVolume: SandboxMountedVolume;
36
+ podVolume: SandboxVolumeConfig;
37
+ databaseReplication: SandboxManifestDatabaseReplication | null;
38
+ artifacts: SandboxManifestArtifacts | null;
25
39
  updatedAt: string;
26
40
  };
41
+ export type SandboxManifestArtifact = {
42
+ slug: string;
43
+ path: string;
44
+ };
45
+ export type SandboxManifestArtifacts = {
46
+ bucket: string;
47
+ region: string;
48
+ endpoint: string | null;
49
+ prefix: string;
50
+ artifacts: Array<SandboxManifestArtifact>;
51
+ };
52
+ export type SandboxManifestDatabase = {
53
+ slug: string;
54
+ path: string;
55
+ };
56
+ export type SandboxManifestDatabaseReplication = {
57
+ bucket: string;
58
+ region: string;
59
+ endpoint: string | null;
60
+ prefix: string;
61
+ databases: Array<SandboxManifestDatabase>;
62
+ };
27
63
  export type SandboxManifestMember = {
28
64
  userId: string;
29
65
  memberId: string;
30
66
  role: "owner" | "member";
31
67
  };
32
- export type SandboxManifestRuntimeSetupStep = {
33
- manager: "apt" | "npm" | "pip" | "cargo" | "gem" | "go";
34
- argv: Array<string>;
35
- };
36
- export type SandboxManifestRuntimeSetup = {
37
- steps: Array<SandboxManifestRuntimeSetupStep>;
38
- };
39
- export type SandboxVolumeCreds = {
40
- accessKeyId: string;
41
- secretAccessKey: string;
42
- sessionToken: string;
43
- expiresAt: string;
44
- };
45
- export type SandboxMountedVolume = {
68
+ export type SandboxVolumeConfig = {
46
69
  storeId: string;
47
70
  kind: "file-store" | "memory-store" | "pod";
48
71
  mountPath: string;
@@ -51,7 +74,6 @@ export type SandboxMountedVolume = {
51
74
  prefix: string;
52
75
  region: string;
53
76
  endpoint: string | null;
54
- creds: SandboxVolumeCreds;
55
77
  };
56
78
  export type PermissionConfig = {
57
79
  __originalKeys?: Array<string>;
@@ -129,7 +151,17 @@ export type SandboxManifestProject = {
129
151
  * Menu base path (`projects/<projectId>`) under the skill-serve token root.
130
152
  */
131
153
  skillMenuPath?: string;
132
- volumes: Array<SandboxMountedVolume>;
154
+ volumes: Array<SandboxVolumeConfig>;
155
+ };
156
+ export type SandboxModelKeyResponse = {
157
+ /**
158
+ * The current AI-model (LiteLLM) key for this workspace.
159
+ */
160
+ apiKey: string;
161
+ /**
162
+ * The LiteLLM base URL the key authenticates against.
163
+ */
164
+ url: string;
133
165
  };
134
166
  export type SandboxTokenResponse = {
135
167
  token: string;
@@ -156,6 +188,10 @@ export type ReplayPublicListItem = {
156
188
  websiteMetadata: WebsiteMetadata | null;
157
189
  updatedAt: string;
158
190
  };
191
+ export type PublisherLink = {
192
+ label: string;
193
+ href: string;
194
+ };
159
195
  export type PublisherPublicView = {
160
196
  id: string;
161
197
  slug: string;
@@ -167,19 +203,6 @@ export type PublisherPublicView = {
167
203
  isVerified: boolean;
168
204
  links: Array<PublisherLink>;
169
205
  };
170
- export type PublisherLink = {
171
- label: string;
172
- href: string;
173
- };
174
- export type BlueprintPublicListItem = {
175
- id: string;
176
- slug: string;
177
- name: string;
178
- description: string | null;
179
- websiteMetadata: WebsiteMetadata | null;
180
- publisherId: string | null;
181
- updatedAt: string;
182
- };
183
206
  export type McpPublicView = {
184
207
  id: string;
185
208
  slug: string;
@@ -189,9 +212,10 @@ export type McpPublicView = {
189
212
  mcpServerUrl: string | null;
190
213
  docUrl: string | null;
191
214
  type: "remote" | "local";
192
- transport: "streamable-http" | "sse" | "stdio";
193
215
  command: string | null;
194
216
  args: Array<string>;
217
+ cwd: string | null;
218
+ timeout: McpTimeout | null;
195
219
  version: string | null;
196
220
  repository: Repository | null;
197
221
  tools: Array<string>;
@@ -212,15 +236,53 @@ export type McpPublicView = {
212
236
  deprecatedAt: string | null;
213
237
  deprecationMessage: string | null;
214
238
  tags?: Array<string>;
239
+ publisher?: PublisherPublicView | null;
240
+ };
241
+ export type RequirementWhen = {
242
+ name: string;
243
+ op: "eq" | "neq";
244
+ value: string;
215
245
  };
216
246
  export type RequiredCredential = {
247
+ kind?: "env";
248
+ name: string;
249
+ description?: string;
250
+ } | {
251
+ kind: "secret";
252
+ name: string;
253
+ description?: string;
254
+ } | {
255
+ kind: "oauth_app";
256
+ name: string;
257
+ description?: string;
258
+ } | {
259
+ kind: "text";
260
+ name: string;
261
+ description?: string;
262
+ message: string;
263
+ placeholder?: string;
264
+ when?: RequirementWhen;
265
+ } | {
266
+ kind: "select";
217
267
  name: string;
218
268
  description?: string;
269
+ message: string;
270
+ options: Array<{
271
+ label: string;
272
+ value: string;
273
+ hint?: string;
274
+ }>;
275
+ when?: RequirementWhen;
219
276
  };
220
277
  export type Repository = {
221
278
  url?: string;
222
279
  source?: string;
223
280
  };
281
+ export type McpTimeout = {
282
+ startup?: number;
283
+ catalog?: number;
284
+ execution?: number;
285
+ };
224
286
  export type SkillPublicView = {
225
287
  id: string;
226
288
  slug: string;
@@ -241,6 +303,7 @@ export type SkillPublicView = {
241
303
  deprecatedAt: string | null;
242
304
  deprecationMessage: string | null;
243
305
  tags?: Array<string>;
306
+ publisher?: PublisherPublicView | null;
244
307
  };
245
308
  export type AgentPublicView = {
246
309
  id: string;
@@ -255,6 +318,7 @@ export type AgentPublicView = {
255
318
  deprecatedAt: string | null;
256
319
  deprecationMessage: string | null;
257
320
  tags?: Array<string>;
321
+ publisher?: PublisherPublicView | null;
258
322
  latestVersion?: AgentLatestVersion | null;
259
323
  };
260
324
  export type AgentLatestVersion = {
@@ -266,6 +330,9 @@ export type AgentLatestVersion = {
266
330
  model: string | null;
267
331
  skills: Array<{
268
332
  skillId: string;
333
+ /**
334
+ * Pin a specific skill version, or null to track the skill's latest version.
335
+ */
269
336
  skillVersionId?: string | null;
270
337
  skill: {
271
338
  id: string;
@@ -284,51 +351,6 @@ export type AgentLatestVersion = {
284
351
  };
285
352
  }>;
286
353
  };
287
- export type Skill = {
288
- id: string;
289
- slug: string;
290
- name: string;
291
- description: string | null;
292
- icon: string | null;
293
- docUrl: string | null;
294
- repository: Repository | null;
295
- orgId: string;
296
- userId: string | null;
297
- publisherId: string | null;
298
- parentId: string | null;
299
- websiteMetadata: WebsiteMetadata | null;
300
- sortOrder: number | null;
301
- popularityScore: number | null;
302
- trendingScore: number | null;
303
- rank: number | null;
304
- latestVersionId: string | null;
305
- createdAt: string;
306
- updatedAt: string;
307
- archivedAt: string | null;
308
- deprecatedAt: string | null;
309
- deprecationMessage: string | null;
310
- tags?: Array<string>;
311
- };
312
- export type McpAuthConfig = {
313
- type: "oauth";
314
- scopes?: Array<string>;
315
- tokenEndpoint?: string;
316
- authorizationEndpoint?: string;
317
- tokenEndpointAuth?: "none" | "client_secret_basic" | "client_secret_post";
318
- } | {
319
- type: "api_key";
320
- headerName?: string;
321
- queryParam?: string;
322
- } | {
323
- type: "basic";
324
- } | {
325
- type: "none";
326
- } | {
327
- type: "mcp_provider";
328
- provider: "composio";
329
- toolkit: string;
330
- authConfigId: string;
331
- };
332
354
  export type OpencodeSession = {
333
355
  id: string;
334
356
  createdById: string;
@@ -372,62 +394,6 @@ export type OpencodeSession = {
372
394
  archivedAt: string | null;
373
395
  compactingAt: string | null;
374
396
  };
375
- export type Mcp = {
376
- id: string;
377
- slug: string;
378
- name: string;
379
- description: string | null;
380
- icon: string | null;
381
- mcpServerUrl: string | null;
382
- docUrl: string | null;
383
- type: "remote" | "local";
384
- transport: "streamable-http" | "sse" | "stdio";
385
- command: string | null;
386
- args: Array<string>;
387
- version: string | null;
388
- repository: Repository | null;
389
- tools: Array<string>;
390
- prompts: Array<string>;
391
- auth: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
392
- authConfig: McpAuthConfig | null;
393
- env: {
394
- [key: string]: string;
395
- };
396
- requiredCredentials: Array<RequiredCredential>;
397
- orgId: string;
398
- userId: string | null;
399
- publisherId: string | null;
400
- websiteMetadata: WebsiteMetadata | null;
401
- sortOrder: number | null;
402
- popularityScore: number | null;
403
- trendingScore: number | null;
404
- rank: number | null;
405
- createdAt: string;
406
- updatedAt: string;
407
- archivedAt: string | null;
408
- deprecatedAt: string | null;
409
- deprecationMessage: string | null;
410
- tags?: Array<string>;
411
- };
412
- export type Agent = {
413
- id: string;
414
- slug: string;
415
- name: string;
416
- icon: string | null;
417
- orgId: string;
418
- userId: string | null;
419
- publisherId: string | null;
420
- parentId: string | null;
421
- websiteMetadata: WebsiteMetadata | null;
422
- latestVersionId: string | null;
423
- createdAt: string;
424
- updatedAt: string;
425
- archivedAt: string | null;
426
- deprecatedAt: string | null;
427
- deprecationMessage: string | null;
428
- tags?: Array<string>;
429
- latestVersion?: AgentLatestVersion | null;
430
- };
431
397
  export type OAuthCallbackInput = string;
432
398
  export type HealthCheckData = {
433
399
  body?: never;
@@ -517,6 +483,10 @@ export type OrganizationLogoGetErrors = {
517
483
  */
518
484
  404: {
519
485
  error: string;
486
+ /**
487
+ * Stable discriminator for errors a client branches on.
488
+ */
489
+ code?: "mcp_duplicate_url";
520
490
  };
521
491
  };
522
492
  export type OrganizationLogoGetError = OrganizationLogoGetErrors[keyof OrganizationLogoGetErrors];
@@ -527,6 +497,34 @@ export type OrganizationLogoGetResponses = {
527
497
  200: Blob | File;
528
498
  };
529
499
  export type OrganizationLogoGetResponse = OrganizationLogoGetResponses[keyof OrganizationLogoGetResponses];
500
+ export type ResourceIconGetData = {
501
+ body?: never;
502
+ path: {
503
+ asset: string;
504
+ };
505
+ query?: never;
506
+ url: "/api/resource-icons/{asset}";
507
+ };
508
+ export type ResourceIconGetErrors = {
509
+ /**
510
+ * Not found
511
+ */
512
+ 404: {
513
+ error: string;
514
+ /**
515
+ * Stable discriminator for errors a client branches on.
516
+ */
517
+ code?: "mcp_duplicate_url";
518
+ };
519
+ };
520
+ export type ResourceIconGetError = ResourceIconGetErrors[keyof ResourceIconGetErrors];
521
+ export type ResourceIconGetResponses = {
522
+ /**
523
+ * Processed resource icon
524
+ */
525
+ 200: Blob | File;
526
+ };
527
+ export type ResourceIconGetResponse = ResourceIconGetResponses[keyof ResourceIconGetResponses];
530
528
  export type RegistryAgentGetBySlugData = {
531
529
  body?: never;
532
530
  path: {
@@ -544,6 +542,10 @@ export type RegistryAgentGetBySlugErrors = {
544
542
  */
545
543
  404: {
546
544
  error: string;
545
+ /**
546
+ * Stable discriminator for errors a client branches on.
547
+ */
548
+ code?: "mcp_duplicate_url";
547
549
  };
548
550
  };
549
551
  export type RegistryAgentGetBySlugError = RegistryAgentGetBySlugErrors[keyof RegistryAgentGetBySlugErrors];
@@ -571,6 +573,10 @@ export type RegistrySkillGetBySlugErrors = {
571
573
  */
572
574
  404: {
573
575
  error: string;
576
+ /**
577
+ * Stable discriminator for errors a client branches on.
578
+ */
579
+ code?: "mcp_duplicate_url";
574
580
  };
575
581
  };
576
582
  export type RegistrySkillGetBySlugError = RegistrySkillGetBySlugErrors[keyof RegistrySkillGetBySlugErrors];
@@ -598,6 +604,10 @@ export type RegistryMcpGetBySlugErrors = {
598
604
  */
599
605
  404: {
600
606
  error: string;
607
+ /**
608
+ * Stable discriminator for errors a client branches on.
609
+ */
610
+ code?: "mcp_duplicate_url";
601
611
  };
602
612
  };
603
613
  export type RegistryMcpGetBySlugError = RegistryMcpGetBySlugErrors[keyof RegistryMcpGetBySlugErrors];
@@ -608,32 +618,6 @@ export type RegistryMcpGetBySlugResponses = {
608
618
  200: McpPublicView;
609
619
  };
610
620
  export type RegistryMcpGetBySlugResponse = RegistryMcpGetBySlugResponses[keyof RegistryMcpGetBySlugResponses];
611
- export type RegistryBlueprintListData = {
612
- body?: never;
613
- path?: never;
614
- query?: {
615
- limit?: number;
616
- offset?: number;
617
- includeDeprecated?: boolean;
618
- };
619
- url: "/api/registry/blueprints";
620
- };
621
- export type RegistryBlueprintListErrors = {
622
- /**
623
- * Bad request
624
- */
625
- 400: {
626
- error: string;
627
- };
628
- };
629
- export type RegistryBlueprintListError = RegistryBlueprintListErrors[keyof RegistryBlueprintListErrors];
630
- export type RegistryBlueprintListResponses = {
631
- /**
632
- * Published blueprint list
633
- */
634
- 200: Array<BlueprintPublicListItem>;
635
- };
636
- export type RegistryBlueprintListResponse = RegistryBlueprintListResponses[keyof RegistryBlueprintListResponses];
637
621
  export type RegistryPublisherListData = {
638
622
  body?: never;
639
623
  path?: never;
@@ -650,6 +634,10 @@ export type RegistryPublisherListErrors = {
650
634
  */
651
635
  400: {
652
636
  error: string;
637
+ /**
638
+ * Stable discriminator for errors a client branches on.
639
+ */
640
+ code?: "mcp_duplicate_url";
653
641
  };
654
642
  };
655
643
  export type RegistryPublisherListError = RegistryPublisherListErrors[keyof RegistryPublisherListErrors];
@@ -660,130 +648,6 @@ export type RegistryPublisherListResponses = {
660
648
  200: Array<PublisherPublicView>;
661
649
  };
662
650
  export type RegistryPublisherListResponse = RegistryPublisherListResponses[keyof RegistryPublisherListResponses];
663
- export type RegistryPublisherBlueprintsData = {
664
- body?: never;
665
- path: {
666
- /**
667
- * URL-friendly identifier
668
- */
669
- slug: string;
670
- };
671
- query?: {
672
- limit?: number;
673
- offset?: number;
674
- includeDeprecated?: boolean;
675
- };
676
- url: "/api/registry/publishers/{slug}/blueprints";
677
- };
678
- export type RegistryPublisherBlueprintsErrors = {
679
- /**
680
- * Not found
681
- */
682
- 404: {
683
- error: string;
684
- };
685
- };
686
- export type RegistryPublisherBlueprintsError = RegistryPublisherBlueprintsErrors[keyof RegistryPublisherBlueprintsErrors];
687
- export type RegistryPublisherBlueprintsResponses = {
688
- /**
689
- * Published blueprint list for the publisher
690
- */
691
- 200: Array<BlueprintPublicListItem>;
692
- };
693
- export type RegistryPublisherBlueprintsResponse = RegistryPublisherBlueprintsResponses[keyof RegistryPublisherBlueprintsResponses];
694
- export type RegistryPublisherSkillsData = {
695
- body?: never;
696
- path: {
697
- /**
698
- * URL-friendly identifier
699
- */
700
- slug: string;
701
- };
702
- query?: {
703
- limit?: number;
704
- offset?: number;
705
- includeDeprecated?: boolean;
706
- };
707
- url: "/api/registry/publishers/{slug}/skills";
708
- };
709
- export type RegistryPublisherSkillsErrors = {
710
- /**
711
- * Not found
712
- */
713
- 404: {
714
- error: string;
715
- };
716
- };
717
- export type RegistryPublisherSkillsError = RegistryPublisherSkillsErrors[keyof RegistryPublisherSkillsErrors];
718
- export type RegistryPublisherSkillsResponses = {
719
- /**
720
- * Published skill list for the publisher
721
- */
722
- 200: Array<Skill>;
723
- };
724
- export type RegistryPublisherSkillsResponse = RegistryPublisherSkillsResponses[keyof RegistryPublisherSkillsResponses];
725
- export type RegistryPublisherAgentsData = {
726
- body?: never;
727
- path: {
728
- /**
729
- * URL-friendly identifier
730
- */
731
- slug: string;
732
- };
733
- query?: {
734
- limit?: number;
735
- offset?: number;
736
- includeDeprecated?: boolean;
737
- };
738
- url: "/api/registry/publishers/{slug}/agents";
739
- };
740
- export type RegistryPublisherAgentsErrors = {
741
- /**
742
- * Not found
743
- */
744
- 404: {
745
- error: string;
746
- };
747
- };
748
- export type RegistryPublisherAgentsError = RegistryPublisherAgentsErrors[keyof RegistryPublisherAgentsErrors];
749
- export type RegistryPublisherAgentsResponses = {
750
- /**
751
- * Published agent list for the publisher
752
- */
753
- 200: Array<Agent>;
754
- };
755
- export type RegistryPublisherAgentsResponse = RegistryPublisherAgentsResponses[keyof RegistryPublisherAgentsResponses];
756
- export type RegistryPublisherMcpsData = {
757
- body?: never;
758
- path: {
759
- /**
760
- * URL-friendly identifier
761
- */
762
- slug: string;
763
- };
764
- query?: {
765
- limit?: number;
766
- offset?: number;
767
- includeDeprecated?: boolean;
768
- };
769
- url: "/api/registry/publishers/{slug}/mcps";
770
- };
771
- export type RegistryPublisherMcpsErrors = {
772
- /**
773
- * Not found
774
- */
775
- 404: {
776
- error: string;
777
- };
778
- };
779
- export type RegistryPublisherMcpsError = RegistryPublisherMcpsErrors[keyof RegistryPublisherMcpsErrors];
780
- export type RegistryPublisherMcpsResponses = {
781
- /**
782
- * Published MCP list for the publisher
783
- */
784
- 200: Array<Mcp>;
785
- };
786
- export type RegistryPublisherMcpsResponse = RegistryPublisherMcpsResponses[keyof RegistryPublisherMcpsResponses];
787
651
  export type RegistryReplayListData = {
788
652
  body?: never;
789
653
  path?: never;
@@ -800,6 +664,10 @@ export type RegistryReplayListErrors = {
800
664
  */
801
665
  400: {
802
666
  error: string;
667
+ /**
668
+ * Stable discriminator for errors a client branches on.
669
+ */
670
+ code?: "mcp_duplicate_url";
803
671
  };
804
672
  };
805
673
  export type RegistryReplayListError = RegistryReplayListErrors[keyof RegistryReplayListErrors];
@@ -824,12 +692,20 @@ export type SandboxAuthExchangeErrors = {
824
692
  */
825
693
  400: {
826
694
  error: string;
695
+ /**
696
+ * Stable discriminator for errors a client branches on.
697
+ */
698
+ code?: "mcp_duplicate_url";
827
699
  };
828
700
  /**
829
701
  * Not found
830
702
  */
831
703
  404: {
832
704
  error: string;
705
+ /**
706
+ * Stable discriminator for errors a client branches on.
707
+ */
708
+ code?: "mcp_duplicate_url";
833
709
  };
834
710
  };
835
711
  export type SandboxAuthExchangeError = SandboxAuthExchangeErrors[keyof SandboxAuthExchangeErrors];
@@ -854,12 +730,20 @@ export type SandboxAuthRefreshErrors = {
854
730
  */
855
731
  400: {
856
732
  error: string;
733
+ /**
734
+ * Stable discriminator for errors a client branches on.
735
+ */
736
+ code?: "mcp_duplicate_url";
857
737
  };
858
738
  /**
859
739
  * Not found
860
740
  */
861
741
  404: {
862
742
  error: string;
743
+ /**
744
+ * Stable discriminator for errors a client branches on.
745
+ */
746
+ code?: "mcp_duplicate_url";
863
747
  };
864
748
  };
865
749
  export type SandboxAuthRefreshError = SandboxAuthRefreshErrors[keyof SandboxAuthRefreshErrors];
@@ -882,18 +766,30 @@ export type SandboxBootstrapCompleteErrors = {
882
766
  */
883
767
  401: {
884
768
  error: string;
769
+ /**
770
+ * Stable discriminator for errors a client branches on.
771
+ */
772
+ code?: "mcp_duplicate_url";
885
773
  };
886
774
  /**
887
775
  * Forbidden
888
776
  */
889
777
  403: {
890
778
  error: string;
779
+ /**
780
+ * Stable discriminator for errors a client branches on.
781
+ */
782
+ code?: "mcp_duplicate_url";
891
783
  };
892
784
  /**
893
785
  * Not found
894
786
  */
895
787
  404: {
896
788
  error: string;
789
+ /**
790
+ * Stable discriminator for errors a client branches on.
791
+ */
792
+ code?: "mcp_duplicate_url";
897
793
  };
898
794
  };
899
795
  export type SandboxBootstrapCompleteError = SandboxBootstrapCompleteErrors[keyof SandboxBootstrapCompleteErrors];
@@ -918,18 +814,30 @@ export type SandboxInvalidateCompleteErrors = {
918
814
  */
919
815
  401: {
920
816
  error: string;
817
+ /**
818
+ * Stable discriminator for errors a client branches on.
819
+ */
820
+ code?: "mcp_duplicate_url";
921
821
  };
922
822
  /**
923
823
  * Forbidden
924
824
  */
925
825
  403: {
926
826
  error: string;
827
+ /**
828
+ * Stable discriminator for errors a client branches on.
829
+ */
830
+ code?: "mcp_duplicate_url";
927
831
  };
928
832
  /**
929
833
  * Not found
930
834
  */
931
835
  404: {
932
836
  error: string;
837
+ /**
838
+ * Stable discriminator for errors a client branches on.
839
+ */
840
+ code?: "mcp_duplicate_url";
933
841
  };
934
842
  };
935
843
  export type SandboxInvalidateCompleteError = SandboxInvalidateCompleteErrors[keyof SandboxInvalidateCompleteErrors];
@@ -954,12 +862,20 @@ export type SandboxOtelTracesErrors = {
954
862
  */
955
863
  401: {
956
864
  error: string;
865
+ /**
866
+ * Stable discriminator for errors a client branches on.
867
+ */
868
+ code?: "mcp_duplicate_url";
957
869
  };
958
870
  /**
959
871
  * Forbidden
960
872
  */
961
873
  403: {
962
874
  error: string;
875
+ /**
876
+ * Stable discriminator for errors a client branches on.
877
+ */
878
+ code?: "mcp_duplicate_url";
963
879
  };
964
880
  };
965
881
  export type SandboxOtelTracesError = SandboxOtelTracesErrors[keyof SandboxOtelTracesErrors];
@@ -969,6 +885,52 @@ export type SandboxOtelTracesResponses = {
969
885
  */
970
886
  202: unknown;
971
887
  };
888
+ export type SandboxModelKeyGetData = {
889
+ body?: never;
890
+ path?: never;
891
+ query?: never;
892
+ url: "/api/sandbox/model-key";
893
+ };
894
+ export type SandboxModelKeyGetErrors = {
895
+ /**
896
+ * Unauthorized
897
+ */
898
+ 401: {
899
+ error: string;
900
+ /**
901
+ * Stable discriminator for errors a client branches on.
902
+ */
903
+ code?: "mcp_duplicate_url";
904
+ };
905
+ /**
906
+ * Forbidden
907
+ */
908
+ 403: {
909
+ error: string;
910
+ /**
911
+ * Stable discriminator for errors a client branches on.
912
+ */
913
+ code?: "mcp_duplicate_url";
914
+ };
915
+ /**
916
+ * Not found
917
+ */
918
+ 404: {
919
+ error: string;
920
+ /**
921
+ * Stable discriminator for errors a client branches on.
922
+ */
923
+ code?: "mcp_duplicate_url";
924
+ };
925
+ };
926
+ export type SandboxModelKeyGetError = SandboxModelKeyGetErrors[keyof SandboxModelKeyGetErrors];
927
+ export type SandboxModelKeyGetResponses = {
928
+ /**
929
+ * The current model key + base URL
930
+ */
931
+ 200: SandboxModelKeyResponse;
932
+ };
933
+ export type SandboxModelKeyGetResponse = SandboxModelKeyGetResponses[keyof SandboxModelKeyGetResponses];
972
934
  export type SandboxManifestGetData = {
973
935
  body?: never;
974
936
  path?: never;
@@ -983,159 +945,353 @@ export type SandboxManifestGetErrors = {
983
945
  */
984
946
  401: {
985
947
  error: string;
948
+ /**
949
+ * Stable discriminator for errors a client branches on.
950
+ */
951
+ code?: "mcp_duplicate_url";
952
+ };
953
+ /**
954
+ * Forbidden
955
+ */
956
+ 403: {
957
+ error: string;
958
+ /**
959
+ * Stable discriminator for errors a client branches on.
960
+ */
961
+ code?: "mcp_duplicate_url";
962
+ };
963
+ /**
964
+ * Not found
965
+ */
966
+ 404: {
967
+ error: string;
968
+ /**
969
+ * Stable discriminator for errors a client branches on.
970
+ */
971
+ code?: "mcp_duplicate_url";
972
+ };
973
+ };
974
+ export type SandboxManifestGetError = SandboxManifestGetErrors[keyof SandboxManifestGetErrors];
975
+ export type SandboxManifestGetResponses = {
976
+ /**
977
+ * Manifest snapshot if stale, else { stale: false }
978
+ */
979
+ 200: SandboxManifest | SandboxManifestStaleResponse;
980
+ };
981
+ export type SandboxManifestGetResponse = SandboxManifestGetResponses[keyof SandboxManifestGetResponses];
982
+ export type SandboxSessionsSeqsData = {
983
+ body?: never;
984
+ path?: never;
985
+ query?: never;
986
+ url: "/api/sandbox/sessions/seqs";
987
+ };
988
+ export type SandboxSessionsSeqsErrors = {
989
+ /**
990
+ * Unauthorized
991
+ */
992
+ 401: {
993
+ error: string;
994
+ /**
995
+ * Stable discriminator for errors a client branches on.
996
+ */
997
+ code?: "mcp_duplicate_url";
998
+ };
999
+ /**
1000
+ * Forbidden
1001
+ */
1002
+ 403: {
1003
+ error: string;
1004
+ /**
1005
+ * Stable discriminator for errors a client branches on.
1006
+ */
1007
+ code?: "mcp_duplicate_url";
1008
+ };
1009
+ /**
1010
+ * Not found
1011
+ */
1012
+ 404: {
1013
+ error: string;
1014
+ /**
1015
+ * Stable discriminator for errors a client branches on.
1016
+ */
1017
+ code?: "mcp_duplicate_url";
1018
+ };
1019
+ };
1020
+ export type SandboxSessionsSeqsError = SandboxSessionsSeqsErrors[keyof SandboxSessionsSeqsErrors];
1021
+ export type SandboxSessionsSeqsResponses = {
1022
+ /**
1023
+ * Per-session high-water seq fence for the pod
1024
+ */
1025
+ 200: Array<OpencodeSessionSyncSeq>;
1026
+ };
1027
+ export type SandboxSessionsSeqsResponse = SandboxSessionsSeqsResponses[keyof SandboxSessionsSeqsResponses];
1028
+ export type SandboxSyncAppendData = {
1029
+ body?: {
1030
+ sessionId: string;
1031
+ events: Array<{
1032
+ id: string;
1033
+ seq: number;
1034
+ type: string;
1035
+ data: {
1036
+ [key: string]: unknown;
1037
+ };
1038
+ }>;
1039
+ };
1040
+ path: {
1041
+ id: string;
1042
+ };
1043
+ query?: never;
1044
+ url: "/api/sandbox/{id}/sync/events";
1045
+ };
1046
+ export type SandboxSyncAppendErrors = {
1047
+ /**
1048
+ * Bad request
1049
+ */
1050
+ 400: {
1051
+ error: string;
1052
+ /**
1053
+ * Stable discriminator for errors a client branches on.
1054
+ */
1055
+ code?: "mcp_duplicate_url";
1056
+ };
1057
+ /**
1058
+ * Unauthorized
1059
+ */
1060
+ 401: {
1061
+ error: string;
1062
+ /**
1063
+ * Stable discriminator for errors a client branches on.
1064
+ */
1065
+ code?: "mcp_duplicate_url";
1066
+ };
1067
+ /**
1068
+ * Forbidden
1069
+ */
1070
+ 403: {
1071
+ error: string;
1072
+ /**
1073
+ * Stable discriminator for errors a client branches on.
1074
+ */
1075
+ code?: "mcp_duplicate_url";
1076
+ };
1077
+ /**
1078
+ * Not found
1079
+ */
1080
+ 404: {
1081
+ error: string;
1082
+ /**
1083
+ * Stable discriminator for errors a client branches on.
1084
+ */
1085
+ code?: "mcp_duplicate_url";
1086
+ };
1087
+ /**
1088
+ * Conflict
1089
+ */
1090
+ 409: {
1091
+ error: string;
1092
+ /**
1093
+ * Stable discriminator for errors a client branches on.
1094
+ */
1095
+ code?: "mcp_duplicate_url";
1096
+ };
1097
+ };
1098
+ export type SandboxSyncAppendError = SandboxSyncAppendErrors[keyof SandboxSyncAppendErrors];
1099
+ export type SandboxSyncAppendResponses = {
1100
+ /**
1101
+ * Append result
1102
+ */
1103
+ 200: {
1104
+ appended: number;
1105
+ latestSeq: number;
1106
+ };
1107
+ };
1108
+ export type SandboxSyncAppendResponse = SandboxSyncAppendResponses[keyof SandboxSyncAppendResponses];
1109
+ export type SandboxVolumesMintCredsData = {
1110
+ body?: never;
1111
+ path: {
1112
+ storeId: string;
1113
+ };
1114
+ query?: never;
1115
+ url: "/api/sandbox/volumes/{storeId}/creds";
1116
+ };
1117
+ export type SandboxVolumesMintCredsErrors = {
1118
+ /**
1119
+ * Unauthorized
1120
+ */
1121
+ 401: {
1122
+ error: string;
1123
+ /**
1124
+ * Stable discriminator for errors a client branches on.
1125
+ */
1126
+ code?: "mcp_duplicate_url";
986
1127
  };
987
1128
  /**
988
1129
  * Forbidden
989
1130
  */
990
1131
  403: {
991
1132
  error: string;
1133
+ /**
1134
+ * Stable discriminator for errors a client branches on.
1135
+ */
1136
+ code?: "mcp_duplicate_url";
992
1137
  };
993
1138
  /**
994
1139
  * Not found
995
1140
  */
996
1141
  404: {
997
1142
  error: string;
1143
+ /**
1144
+ * Stable discriminator for errors a client branches on.
1145
+ */
1146
+ code?: "mcp_duplicate_url";
998
1147
  };
999
1148
  };
1000
- export type SandboxManifestGetError = SandboxManifestGetErrors[keyof SandboxManifestGetErrors];
1001
- export type SandboxManifestGetResponses = {
1149
+ export type SandboxVolumesMintCredsError = SandboxVolumesMintCredsErrors[keyof SandboxVolumesMintCredsErrors];
1150
+ export type SandboxVolumesMintCredsResponses = {
1002
1151
  /**
1003
- * Manifest snapshot if stale, else { stale: false }
1152
+ * Volume credentials
1004
1153
  */
1005
- 200: SandboxManifest | SandboxManifestStaleResponse;
1154
+ 200: SandboxVolumeCreds;
1006
1155
  };
1007
- export type SandboxManifestGetResponse = SandboxManifestGetResponses[keyof SandboxManifestGetResponses];
1008
- export type SandboxSessionsSeqsData = {
1156
+ export type SandboxVolumesMintCredsResponse = SandboxVolumesMintCredsResponses[keyof SandboxVolumesMintCredsResponses];
1157
+ export type SandboxDatabasesMintCredsData = {
1009
1158
  body?: never;
1010
1159
  path?: never;
1011
1160
  query?: never;
1012
- url: "/api/sandbox/sessions/seqs";
1161
+ url: "/api/sandbox/databases/creds";
1013
1162
  };
1014
- export type SandboxSessionsSeqsErrors = {
1163
+ export type SandboxDatabasesMintCredsErrors = {
1015
1164
  /**
1016
1165
  * Unauthorized
1017
1166
  */
1018
1167
  401: {
1019
1168
  error: string;
1169
+ /**
1170
+ * Stable discriminator for errors a client branches on.
1171
+ */
1172
+ code?: "mcp_duplicate_url";
1020
1173
  };
1021
1174
  /**
1022
1175
  * Forbidden
1023
1176
  */
1024
1177
  403: {
1025
1178
  error: string;
1179
+ /**
1180
+ * Stable discriminator for errors a client branches on.
1181
+ */
1182
+ code?: "mcp_duplicate_url";
1026
1183
  };
1027
1184
  /**
1028
1185
  * Not found
1029
1186
  */
1030
1187
  404: {
1031
1188
  error: string;
1189
+ /**
1190
+ * Stable discriminator for errors a client branches on.
1191
+ */
1192
+ code?: "mcp_duplicate_url";
1032
1193
  };
1033
1194
  };
1034
- export type SandboxSessionsSeqsError = SandboxSessionsSeqsErrors[keyof SandboxSessionsSeqsErrors];
1035
- export type SandboxSessionsSeqsResponses = {
1195
+ export type SandboxDatabasesMintCredsError = SandboxDatabasesMintCredsErrors[keyof SandboxDatabasesMintCredsErrors];
1196
+ export type SandboxDatabasesMintCredsResponses = {
1036
1197
  /**
1037
- * Per-session high-water seq fence for the pod
1198
+ * Database replication credentials
1038
1199
  */
1039
- 200: Array<OpencodeSessionSyncSeq>;
1200
+ 200: SandboxVolumeCreds;
1040
1201
  };
1041
- export type SandboxSessionsSeqsResponse = SandboxSessionsSeqsResponses[keyof SandboxSessionsSeqsResponses];
1042
- export type SandboxSyncAppendData = {
1043
- body?: {
1044
- sessionId: string;
1045
- events: Array<{
1046
- id: string;
1047
- seq: number;
1048
- type: string;
1049
- data: {
1050
- [key: string]: unknown;
1051
- };
1052
- }>;
1053
- };
1054
- path: {
1055
- id: string;
1056
- };
1202
+ export type SandboxDatabasesMintCredsResponse = SandboxDatabasesMintCredsResponses[keyof SandboxDatabasesMintCredsResponses];
1203
+ export type SandboxArtifactsMintCredsData = {
1204
+ body?: never;
1205
+ path?: never;
1057
1206
  query?: never;
1058
- url: "/api/sandbox/{id}/sync/events";
1207
+ url: "/api/sandbox/artifacts/creds";
1059
1208
  };
1060
- export type SandboxSyncAppendErrors = {
1061
- /**
1062
- * Bad request
1063
- */
1064
- 400: {
1065
- error: string;
1066
- };
1209
+ export type SandboxArtifactsMintCredsErrors = {
1067
1210
  /**
1068
1211
  * Unauthorized
1069
1212
  */
1070
1213
  401: {
1071
1214
  error: string;
1215
+ /**
1216
+ * Stable discriminator for errors a client branches on.
1217
+ */
1218
+ code?: "mcp_duplicate_url";
1072
1219
  };
1073
1220
  /**
1074
1221
  * Forbidden
1075
1222
  */
1076
1223
  403: {
1077
1224
  error: string;
1225
+ /**
1226
+ * Stable discriminator for errors a client branches on.
1227
+ */
1228
+ code?: "mcp_duplicate_url";
1078
1229
  };
1079
1230
  /**
1080
1231
  * Not found
1081
1232
  */
1082
1233
  404: {
1083
1234
  error: string;
1084
- };
1085
- /**
1086
- * Conflict
1087
- */
1088
- 409: {
1089
- error: string;
1235
+ /**
1236
+ * Stable discriminator for errors a client branches on.
1237
+ */
1238
+ code?: "mcp_duplicate_url";
1090
1239
  };
1091
1240
  };
1092
- export type SandboxSyncAppendError = SandboxSyncAppendErrors[keyof SandboxSyncAppendErrors];
1093
- export type SandboxSyncAppendResponses = {
1241
+ export type SandboxArtifactsMintCredsError = SandboxArtifactsMintCredsErrors[keyof SandboxArtifactsMintCredsErrors];
1242
+ export type SandboxArtifactsMintCredsResponses = {
1094
1243
  /**
1095
- * Append result
1244
+ * Artifact sync credentials
1096
1245
  */
1097
- 200: {
1098
- appended: number;
1099
- latestSeq: number;
1100
- };
1246
+ 200: SandboxVolumeCreds;
1101
1247
  };
1102
- export type SandboxSyncAppendResponse = SandboxSyncAppendResponses[keyof SandboxSyncAppendResponses];
1103
- export type SandboxVolumesMintCredsData = {
1248
+ export type SandboxArtifactsMintCredsResponse = SandboxArtifactsMintCredsResponses[keyof SandboxArtifactsMintCredsResponses];
1249
+ export type SandboxArtifactsTargetData = {
1104
1250
  body?: never;
1105
- path: {
1106
- storeId: string;
1107
- };
1251
+ path?: never;
1108
1252
  query?: never;
1109
- url: "/api/sandbox/volumes/{storeId}/creds";
1253
+ url: "/api/sandbox/artifacts";
1110
1254
  };
1111
- export type SandboxVolumesMintCredsErrors = {
1255
+ export type SandboxArtifactsTargetErrors = {
1112
1256
  /**
1113
1257
  * Unauthorized
1114
1258
  */
1115
1259
  401: {
1116
1260
  error: string;
1261
+ /**
1262
+ * Stable discriminator for errors a client branches on.
1263
+ */
1264
+ code?: "mcp_duplicate_url";
1117
1265
  };
1118
1266
  /**
1119
1267
  * Forbidden
1120
1268
  */
1121
1269
  403: {
1122
1270
  error: string;
1271
+ /**
1272
+ * Stable discriminator for errors a client branches on.
1273
+ */
1274
+ code?: "mcp_duplicate_url";
1123
1275
  };
1124
1276
  /**
1125
1277
  * Not found
1126
1278
  */
1127
1279
  404: {
1128
1280
  error: string;
1281
+ /**
1282
+ * Stable discriminator for errors a client branches on.
1283
+ */
1284
+ code?: "mcp_duplicate_url";
1129
1285
  };
1130
1286
  };
1131
- export type SandboxVolumesMintCredsError = SandboxVolumesMintCredsErrors[keyof SandboxVolumesMintCredsErrors];
1132
- export type SandboxVolumesMintCredsResponses = {
1287
+ export type SandboxArtifactsTargetError = SandboxArtifactsTargetErrors[keyof SandboxArtifactsTargetErrors];
1288
+ export type SandboxArtifactsTargetResponses = {
1133
1289
  /**
1134
- * Volume credentials
1290
+ * Artifact sync target
1135
1291
  */
1136
- 200: SandboxVolumeCreds;
1292
+ 200: SandboxArtifactTarget;
1137
1293
  };
1138
- export type SandboxVolumesMintCredsResponse = SandboxVolumesMintCredsResponses[keyof SandboxVolumesMintCredsResponses];
1294
+ export type SandboxArtifactsTargetResponse = SandboxArtifactsTargetResponses[keyof SandboxArtifactsTargetResponses];
1139
1295
  export type SandboxSessionUpdateData = {
1140
1296
  body?: {
1141
1297
  title?: string;
@@ -1162,24 +1318,40 @@ export type SandboxSessionUpdateErrors = {
1162
1318
  */
1163
1319
  400: {
1164
1320
  error: string;
1321
+ /**
1322
+ * Stable discriminator for errors a client branches on.
1323
+ */
1324
+ code?: "mcp_duplicate_url";
1165
1325
  };
1166
1326
  /**
1167
1327
  * Unauthorized
1168
1328
  */
1169
1329
  401: {
1170
1330
  error: string;
1331
+ /**
1332
+ * Stable discriminator for errors a client branches on.
1333
+ */
1334
+ code?: "mcp_duplicate_url";
1171
1335
  };
1172
1336
  /**
1173
1337
  * Forbidden
1174
1338
  */
1175
1339
  403: {
1176
1340
  error: string;
1341
+ /**
1342
+ * Stable discriminator for errors a client branches on.
1343
+ */
1344
+ code?: "mcp_duplicate_url";
1177
1345
  };
1178
1346
  /**
1179
1347
  * Not found
1180
1348
  */
1181
1349
  404: {
1182
1350
  error: string;
1351
+ /**
1352
+ * Stable discriminator for errors a client branches on.
1353
+ */
1354
+ code?: "mcp_duplicate_url";
1183
1355
  };
1184
1356
  };
1185
1357
  export type SandboxSessionUpdateError = SandboxSessionUpdateErrors[keyof SandboxSessionUpdateErrors];
@@ -1212,24 +1384,40 @@ export type SandboxSlackMessageErrors = {
1212
1384
  */
1213
1385
  400: {
1214
1386
  error: string;
1387
+ /**
1388
+ * Stable discriminator for errors a client branches on.
1389
+ */
1390
+ code?: "mcp_duplicate_url";
1215
1391
  };
1216
1392
  /**
1217
1393
  * Unauthorized
1218
1394
  */
1219
1395
  401: {
1220
1396
  error: string;
1397
+ /**
1398
+ * Stable discriminator for errors a client branches on.
1399
+ */
1400
+ code?: "mcp_duplicate_url";
1221
1401
  };
1222
1402
  /**
1223
1403
  * Forbidden
1224
1404
  */
1225
1405
  403: {
1226
1406
  error: string;
1407
+ /**
1408
+ * Stable discriminator for errors a client branches on.
1409
+ */
1410
+ code?: "mcp_duplicate_url";
1227
1411
  };
1228
1412
  /**
1229
1413
  * Not found
1230
1414
  */
1231
1415
  404: {
1232
1416
  error: string;
1417
+ /**
1418
+ * Stable discriminator for errors a client branches on.
1419
+ */
1420
+ code?: "mcp_duplicate_url";
1233
1421
  };
1234
1422
  };
1235
1423
  export type SandboxSlackMessageError = SandboxSlackMessageErrors[keyof SandboxSlackMessageErrors];
@@ -1255,24 +1443,40 @@ export type SandboxSlackChannelsErrors = {
1255
1443
  */
1256
1444
  400: {
1257
1445
  error: string;
1446
+ /**
1447
+ * Stable discriminator for errors a client branches on.
1448
+ */
1449
+ code?: "mcp_duplicate_url";
1258
1450
  };
1259
1451
  /**
1260
1452
  * Unauthorized
1261
1453
  */
1262
1454
  401: {
1263
1455
  error: string;
1456
+ /**
1457
+ * Stable discriminator for errors a client branches on.
1458
+ */
1459
+ code?: "mcp_duplicate_url";
1264
1460
  };
1265
1461
  /**
1266
1462
  * Forbidden
1267
1463
  */
1268
1464
  403: {
1269
1465
  error: string;
1466
+ /**
1467
+ * Stable discriminator for errors a client branches on.
1468
+ */
1469
+ code?: "mcp_duplicate_url";
1270
1470
  };
1271
1471
  /**
1272
1472
  * Not found
1273
1473
  */
1274
1474
  404: {
1275
1475
  error: string;
1476
+ /**
1477
+ * Stable discriminator for errors a client branches on.
1478
+ */
1479
+ code?: "mcp_duplicate_url";
1276
1480
  };
1277
1481
  };
1278
1482
  export type SandboxSlackChannelsError = SandboxSlackChannelsErrors[keyof SandboxSlackChannelsErrors];
@@ -1301,24 +1505,40 @@ export type SandboxSlackReadThreadErrors = {
1301
1505
  */
1302
1506
  400: {
1303
1507
  error: string;
1508
+ /**
1509
+ * Stable discriminator for errors a client branches on.
1510
+ */
1511
+ code?: "mcp_duplicate_url";
1304
1512
  };
1305
1513
  /**
1306
1514
  * Unauthorized
1307
1515
  */
1308
1516
  401: {
1309
1517
  error: string;
1518
+ /**
1519
+ * Stable discriminator for errors a client branches on.
1520
+ */
1521
+ code?: "mcp_duplicate_url";
1310
1522
  };
1311
1523
  /**
1312
1524
  * Forbidden
1313
1525
  */
1314
1526
  403: {
1315
1527
  error: string;
1528
+ /**
1529
+ * Stable discriminator for errors a client branches on.
1530
+ */
1531
+ code?: "mcp_duplicate_url";
1316
1532
  };
1317
1533
  /**
1318
1534
  * Not found
1319
1535
  */
1320
1536
  404: {
1321
1537
  error: string;
1538
+ /**
1539
+ * Stable discriminator for errors a client branches on.
1540
+ */
1541
+ code?: "mcp_duplicate_url";
1322
1542
  };
1323
1543
  };
1324
1544
  export type SandboxSlackReadThreadError = SandboxSlackReadThreadErrors[keyof SandboxSlackReadThreadErrors];
@@ -1349,24 +1569,40 @@ export type SandboxSlackUploadFileErrors = {
1349
1569
  */
1350
1570
  400: {
1351
1571
  error: string;
1572
+ /**
1573
+ * Stable discriminator for errors a client branches on.
1574
+ */
1575
+ code?: "mcp_duplicate_url";
1352
1576
  };
1353
1577
  /**
1354
1578
  * Unauthorized
1355
1579
  */
1356
1580
  401: {
1357
1581
  error: string;
1582
+ /**
1583
+ * Stable discriminator for errors a client branches on.
1584
+ */
1585
+ code?: "mcp_duplicate_url";
1358
1586
  };
1359
1587
  /**
1360
1588
  * Forbidden
1361
1589
  */
1362
1590
  403: {
1363
1591
  error: string;
1592
+ /**
1593
+ * Stable discriminator for errors a client branches on.
1594
+ */
1595
+ code?: "mcp_duplicate_url";
1364
1596
  };
1365
1597
  /**
1366
1598
  * Not found
1367
1599
  */
1368
1600
  404: {
1369
1601
  error: string;
1602
+ /**
1603
+ * Stable discriminator for errors a client branches on.
1604
+ */
1605
+ code?: "mcp_duplicate_url";
1370
1606
  };
1371
1607
  };
1372
1608
  export type SandboxSlackUploadFileError = SandboxSlackUploadFileErrors[keyof SandboxSlackUploadFileErrors];
@@ -1384,6 +1620,7 @@ export type SandboxSlackReactData = {
1384
1620
  channelId: string;
1385
1621
  messageTs: string;
1386
1622
  emoji: string;
1623
+ remove?: boolean;
1387
1624
  };
1388
1625
  path?: never;
1389
1626
  query?: never;
@@ -1395,24 +1632,40 @@ export type SandboxSlackReactErrors = {
1395
1632
  */
1396
1633
  400: {
1397
1634
  error: string;
1635
+ /**
1636
+ * Stable discriminator for errors a client branches on.
1637
+ */
1638
+ code?: "mcp_duplicate_url";
1398
1639
  };
1399
1640
  /**
1400
1641
  * Unauthorized
1401
1642
  */
1402
1643
  401: {
1403
1644
  error: string;
1645
+ /**
1646
+ * Stable discriminator for errors a client branches on.
1647
+ */
1648
+ code?: "mcp_duplicate_url";
1404
1649
  };
1405
1650
  /**
1406
1651
  * Forbidden
1407
1652
  */
1408
1653
  403: {
1409
1654
  error: string;
1655
+ /**
1656
+ * Stable discriminator for errors a client branches on.
1657
+ */
1658
+ code?: "mcp_duplicate_url";
1410
1659
  };
1411
1660
  /**
1412
1661
  * Not found
1413
1662
  */
1414
1663
  404: {
1415
1664
  error: string;
1665
+ /**
1666
+ * Stable discriminator for errors a client branches on.
1667
+ */
1668
+ code?: "mcp_duplicate_url";
1416
1669
  };
1417
1670
  };
1418
1671
  export type SandboxSlackReactError = SandboxSlackReactErrors[keyof SandboxSlackReactErrors];
@@ -1440,24 +1693,40 @@ export type SandboxSlackLookupUserErrors = {
1440
1693
  */
1441
1694
  400: {
1442
1695
  error: string;
1696
+ /**
1697
+ * Stable discriminator for errors a client branches on.
1698
+ */
1699
+ code?: "mcp_duplicate_url";
1443
1700
  };
1444
1701
  /**
1445
1702
  * Unauthorized
1446
1703
  */
1447
1704
  401: {
1448
1705
  error: string;
1706
+ /**
1707
+ * Stable discriminator for errors a client branches on.
1708
+ */
1709
+ code?: "mcp_duplicate_url";
1449
1710
  };
1450
1711
  /**
1451
1712
  * Forbidden
1452
1713
  */
1453
1714
  403: {
1454
1715
  error: string;
1716
+ /**
1717
+ * Stable discriminator for errors a client branches on.
1718
+ */
1719
+ code?: "mcp_duplicate_url";
1455
1720
  };
1456
1721
  /**
1457
1722
  * Not found
1458
1723
  */
1459
1724
  404: {
1460
1725
  error: string;
1726
+ /**
1727
+ * Stable discriminator for errors a client branches on.
1728
+ */
1729
+ code?: "mcp_duplicate_url";
1461
1730
  };
1462
1731
  };
1463
1732
  export type SandboxSlackLookupUserError = SandboxSlackLookupUserErrors[keyof SandboxSlackLookupUserErrors];
@@ -1489,24 +1758,40 @@ export type SandboxSlackMessageUpdateErrors = {
1489
1758
  */
1490
1759
  400: {
1491
1760
  error: string;
1761
+ /**
1762
+ * Stable discriminator for errors a client branches on.
1763
+ */
1764
+ code?: "mcp_duplicate_url";
1492
1765
  };
1493
1766
  /**
1494
1767
  * Unauthorized
1495
1768
  */
1496
1769
  401: {
1497
1770
  error: string;
1771
+ /**
1772
+ * Stable discriminator for errors a client branches on.
1773
+ */
1774
+ code?: "mcp_duplicate_url";
1498
1775
  };
1499
1776
  /**
1500
1777
  * Forbidden
1501
1778
  */
1502
1779
  403: {
1503
1780
  error: string;
1781
+ /**
1782
+ * Stable discriminator for errors a client branches on.
1783
+ */
1784
+ code?: "mcp_duplicate_url";
1504
1785
  };
1505
1786
  /**
1506
1787
  * Not found
1507
1788
  */
1508
1789
  404: {
1509
1790
  error: string;
1791
+ /**
1792
+ * Stable discriminator for errors a client branches on.
1793
+ */
1794
+ code?: "mcp_duplicate_url";
1510
1795
  };
1511
1796
  };
1512
1797
  export type SandboxSlackMessageUpdateError = SandboxSlackMessageUpdateErrors[keyof SandboxSlackMessageUpdateErrors];
@@ -1535,24 +1820,40 @@ export type SandboxSlackMessageDeleteErrors = {
1535
1820
  */
1536
1821
  400: {
1537
1822
  error: string;
1823
+ /**
1824
+ * Stable discriminator for errors a client branches on.
1825
+ */
1826
+ code?: "mcp_duplicate_url";
1538
1827
  };
1539
1828
  /**
1540
1829
  * Unauthorized
1541
1830
  */
1542
1831
  401: {
1543
1832
  error: string;
1833
+ /**
1834
+ * Stable discriminator for errors a client branches on.
1835
+ */
1836
+ code?: "mcp_duplicate_url";
1544
1837
  };
1545
1838
  /**
1546
1839
  * Forbidden
1547
1840
  */
1548
1841
  403: {
1549
1842
  error: string;
1843
+ /**
1844
+ * Stable discriminator for errors a client branches on.
1845
+ */
1846
+ code?: "mcp_duplicate_url";
1550
1847
  };
1551
1848
  /**
1552
1849
  * Not found
1553
1850
  */
1554
1851
  404: {
1555
1852
  error: string;
1853
+ /**
1854
+ * Stable discriminator for errors a client branches on.
1855
+ */
1856
+ code?: "mcp_duplicate_url";
1556
1857
  };
1557
1858
  };
1558
1859
  export type SandboxSlackMessageDeleteError = SandboxSlackMessageDeleteErrors[keyof SandboxSlackMessageDeleteErrors];
@@ -1580,24 +1881,40 @@ export type SandboxSlackReactionsErrors = {
1580
1881
  */
1581
1882
  400: {
1582
1883
  error: string;
1884
+ /**
1885
+ * Stable discriminator for errors a client branches on.
1886
+ */
1887
+ code?: "mcp_duplicate_url";
1583
1888
  };
1584
1889
  /**
1585
1890
  * Unauthorized
1586
1891
  */
1587
1892
  401: {
1588
1893
  error: string;
1894
+ /**
1895
+ * Stable discriminator for errors a client branches on.
1896
+ */
1897
+ code?: "mcp_duplicate_url";
1589
1898
  };
1590
1899
  /**
1591
1900
  * Forbidden
1592
1901
  */
1593
1902
  403: {
1594
1903
  error: string;
1904
+ /**
1905
+ * Stable discriminator for errors a client branches on.
1906
+ */
1907
+ code?: "mcp_duplicate_url";
1595
1908
  };
1596
1909
  /**
1597
1910
  * Not found
1598
1911
  */
1599
1912
  404: {
1600
1913
  error: string;
1914
+ /**
1915
+ * Stable discriminator for errors a client branches on.
1916
+ */
1917
+ code?: "mcp_duplicate_url";
1601
1918
  };
1602
1919
  };
1603
1920
  export type SandboxSlackReactionsError = SandboxSlackReactionsErrors[keyof SandboxSlackReactionsErrors];
@@ -1627,24 +1944,40 @@ export type SandboxSlackHistoryErrors = {
1627
1944
  */
1628
1945
  400: {
1629
1946
  error: string;
1947
+ /**
1948
+ * Stable discriminator for errors a client branches on.
1949
+ */
1950
+ code?: "mcp_duplicate_url";
1630
1951
  };
1631
1952
  /**
1632
1953
  * Unauthorized
1633
1954
  */
1634
1955
  401: {
1635
1956
  error: string;
1957
+ /**
1958
+ * Stable discriminator for errors a client branches on.
1959
+ */
1960
+ code?: "mcp_duplicate_url";
1636
1961
  };
1637
1962
  /**
1638
1963
  * Forbidden
1639
1964
  */
1640
1965
  403: {
1641
1966
  error: string;
1967
+ /**
1968
+ * Stable discriminator for errors a client branches on.
1969
+ */
1970
+ code?: "mcp_duplicate_url";
1642
1971
  };
1643
1972
  /**
1644
1973
  * Not found
1645
1974
  */
1646
1975
  404: {
1647
1976
  error: string;
1977
+ /**
1978
+ * Stable discriminator for errors a client branches on.
1979
+ */
1980
+ code?: "mcp_duplicate_url";
1648
1981
  };
1649
1982
  };
1650
1983
  export type SandboxSlackHistoryError = SandboxSlackHistoryErrors[keyof SandboxSlackHistoryErrors];
@@ -1674,24 +2007,40 @@ export type SandboxSlackUsersErrors = {
1674
2007
  */
1675
2008
  400: {
1676
2009
  error: string;
2010
+ /**
2011
+ * Stable discriminator for errors a client branches on.
2012
+ */
2013
+ code?: "mcp_duplicate_url";
1677
2014
  };
1678
2015
  /**
1679
2016
  * Unauthorized
1680
2017
  */
1681
2018
  401: {
1682
2019
  error: string;
2020
+ /**
2021
+ * Stable discriminator for errors a client branches on.
2022
+ */
2023
+ code?: "mcp_duplicate_url";
1683
2024
  };
1684
2025
  /**
1685
2026
  * Forbidden
1686
2027
  */
1687
2028
  403: {
1688
2029
  error: string;
2030
+ /**
2031
+ * Stable discriminator for errors a client branches on.
2032
+ */
2033
+ code?: "mcp_duplicate_url";
1689
2034
  };
1690
2035
  /**
1691
2036
  * Not found
1692
2037
  */
1693
2038
  404: {
1694
2039
  error: string;
2040
+ /**
2041
+ * Stable discriminator for errors a client branches on.
2042
+ */
2043
+ code?: "mcp_duplicate_url";
1695
2044
  };
1696
2045
  };
1697
2046
  export type SandboxSlackUsersError = SandboxSlackUsersErrors[keyof SandboxSlackUsersErrors];
@@ -1726,24 +2075,40 @@ export type SandboxEmailSendErrors = {
1726
2075
  */
1727
2076
  400: {
1728
2077
  error: string;
2078
+ /**
2079
+ * Stable discriminator for errors a client branches on.
2080
+ */
2081
+ code?: "mcp_duplicate_url";
1729
2082
  };
1730
2083
  /**
1731
2084
  * Unauthorized
1732
2085
  */
1733
2086
  401: {
1734
2087
  error: string;
2088
+ /**
2089
+ * Stable discriminator for errors a client branches on.
2090
+ */
2091
+ code?: "mcp_duplicate_url";
1735
2092
  };
1736
2093
  /**
1737
2094
  * Forbidden
1738
2095
  */
1739
2096
  403: {
1740
2097
  error: string;
2098
+ /**
2099
+ * Stable discriminator for errors a client branches on.
2100
+ */
2101
+ code?: "mcp_duplicate_url";
1741
2102
  };
1742
2103
  /**
1743
2104
  * Not found
1744
2105
  */
1745
2106
  404: {
1746
2107
  error: string;
2108
+ /**
2109
+ * Stable discriminator for errors a client branches on.
2110
+ */
2111
+ code?: "mcp_duplicate_url";
1747
2112
  };
1748
2113
  };
1749
2114
  export type SandboxEmailSendError = SandboxEmailSendErrors[keyof SandboxEmailSendErrors];
@@ -1774,24 +2139,40 @@ export type SandboxTelegramSendErrors = {
1774
2139
  */
1775
2140
  400: {
1776
2141
  error: string;
2142
+ /**
2143
+ * Stable discriminator for errors a client branches on.
2144
+ */
2145
+ code?: "mcp_duplicate_url";
1777
2146
  };
1778
2147
  /**
1779
2148
  * Unauthorized
1780
2149
  */
1781
2150
  401: {
1782
2151
  error: string;
2152
+ /**
2153
+ * Stable discriminator for errors a client branches on.
2154
+ */
2155
+ code?: "mcp_duplicate_url";
1783
2156
  };
1784
2157
  /**
1785
2158
  * Forbidden
1786
2159
  */
1787
2160
  403: {
1788
2161
  error: string;
2162
+ /**
2163
+ * Stable discriminator for errors a client branches on.
2164
+ */
2165
+ code?: "mcp_duplicate_url";
1789
2166
  };
1790
2167
  /**
1791
2168
  * Not found
1792
2169
  */
1793
2170
  404: {
1794
2171
  error: string;
2172
+ /**
2173
+ * Stable discriminator for errors a client branches on.
2174
+ */
2175
+ code?: "mcp_duplicate_url";
1795
2176
  };
1796
2177
  };
1797
2178
  export type SandboxTelegramSendError = SandboxTelegramSendErrors[keyof SandboxTelegramSendErrors];
@@ -1821,24 +2202,40 @@ export type SandboxTelegramReactErrors = {
1821
2202
  */
1822
2203
  400: {
1823
2204
  error: string;
2205
+ /**
2206
+ * Stable discriminator for errors a client branches on.
2207
+ */
2208
+ code?: "mcp_duplicate_url";
1824
2209
  };
1825
2210
  /**
1826
2211
  * Unauthorized
1827
2212
  */
1828
2213
  401: {
1829
2214
  error: string;
2215
+ /**
2216
+ * Stable discriminator for errors a client branches on.
2217
+ */
2218
+ code?: "mcp_duplicate_url";
1830
2219
  };
1831
2220
  /**
1832
2221
  * Forbidden
1833
2222
  */
1834
2223
  403: {
1835
2224
  error: string;
2225
+ /**
2226
+ * Stable discriminator for errors a client branches on.
2227
+ */
2228
+ code?: "mcp_duplicate_url";
1836
2229
  };
1837
2230
  /**
1838
2231
  * Not found
1839
2232
  */
1840
2233
  404: {
1841
2234
  error: string;
2235
+ /**
2236
+ * Stable discriminator for errors a client branches on.
2237
+ */
2238
+ code?: "mcp_duplicate_url";
1842
2239
  };
1843
2240
  };
1844
2241
  export type SandboxTelegramReactError = SandboxTelegramReactErrors[keyof SandboxTelegramReactErrors];
@@ -1869,24 +2266,40 @@ export type SandboxTelegramDocumentErrors = {
1869
2266
  */
1870
2267
  400: {
1871
2268
  error: string;
2269
+ /**
2270
+ * Stable discriminator for errors a client branches on.
2271
+ */
2272
+ code?: "mcp_duplicate_url";
1872
2273
  };
1873
2274
  /**
1874
2275
  * Unauthorized
1875
2276
  */
1876
2277
  401: {
1877
2278
  error: string;
2279
+ /**
2280
+ * Stable discriminator for errors a client branches on.
2281
+ */
2282
+ code?: "mcp_duplicate_url";
1878
2283
  };
1879
2284
  /**
1880
2285
  * Forbidden
1881
2286
  */
1882
2287
  403: {
1883
2288
  error: string;
2289
+ /**
2290
+ * Stable discriminator for errors a client branches on.
2291
+ */
2292
+ code?: "mcp_duplicate_url";
1884
2293
  };
1885
2294
  /**
1886
2295
  * Not found
1887
2296
  */
1888
2297
  404: {
1889
2298
  error: string;
2299
+ /**
2300
+ * Stable discriminator for errors a client branches on.
2301
+ */
2302
+ code?: "mcp_duplicate_url";
1890
2303
  };
1891
2304
  };
1892
2305
  export type SandboxTelegramDocumentError = SandboxTelegramDocumentErrors[keyof SandboxTelegramDocumentErrors];
@@ -1919,24 +2332,40 @@ export type SandboxSlackReplyCurrentErrors = {
1919
2332
  */
1920
2333
  400: {
1921
2334
  error: string;
2335
+ /**
2336
+ * Stable discriminator for errors a client branches on.
2337
+ */
2338
+ code?: "mcp_duplicate_url";
1922
2339
  };
1923
2340
  /**
1924
2341
  * Unauthorized
1925
2342
  */
1926
2343
  401: {
1927
2344
  error: string;
2345
+ /**
2346
+ * Stable discriminator for errors a client branches on.
2347
+ */
2348
+ code?: "mcp_duplicate_url";
1928
2349
  };
1929
2350
  /**
1930
2351
  * Forbidden
1931
2352
  */
1932
2353
  403: {
1933
2354
  error: string;
2355
+ /**
2356
+ * Stable discriminator for errors a client branches on.
2357
+ */
2358
+ code?: "mcp_duplicate_url";
1934
2359
  };
1935
2360
  /**
1936
2361
  * Not found
1937
2362
  */
1938
2363
  404: {
1939
2364
  error: string;
2365
+ /**
2366
+ * Stable discriminator for errors a client branches on.
2367
+ */
2368
+ code?: "mcp_duplicate_url";
1940
2369
  };
1941
2370
  };
1942
2371
  export type SandboxSlackReplyCurrentError = SandboxSlackReplyCurrentErrors[keyof SandboxSlackReplyCurrentErrors];
@@ -1969,24 +2398,40 @@ export type SandboxTelegramReplyCurrentErrors = {
1969
2398
  */
1970
2399
  400: {
1971
2400
  error: string;
2401
+ /**
2402
+ * Stable discriminator for errors a client branches on.
2403
+ */
2404
+ code?: "mcp_duplicate_url";
1972
2405
  };
1973
2406
  /**
1974
2407
  * Unauthorized
1975
2408
  */
1976
2409
  401: {
1977
2410
  error: string;
2411
+ /**
2412
+ * Stable discriminator for errors a client branches on.
2413
+ */
2414
+ code?: "mcp_duplicate_url";
1978
2415
  };
1979
2416
  /**
1980
2417
  * Forbidden
1981
2418
  */
1982
2419
  403: {
1983
2420
  error: string;
2421
+ /**
2422
+ * Stable discriminator for errors a client branches on.
2423
+ */
2424
+ code?: "mcp_duplicate_url";
1984
2425
  };
1985
2426
  /**
1986
2427
  * Not found
1987
2428
  */
1988
2429
  404: {
1989
2430
  error: string;
2431
+ /**
2432
+ * Stable discriminator for errors a client branches on.
2433
+ */
2434
+ code?: "mcp_duplicate_url";
1990
2435
  };
1991
2436
  };
1992
2437
  export type SandboxTelegramReplyCurrentError = SandboxTelegramReplyCurrentErrors[keyof SandboxTelegramReplyCurrentErrors];
@@ -2019,24 +2464,40 @@ export type SandboxEmailReplyCurrentErrors = {
2019
2464
  */
2020
2465
  400: {
2021
2466
  error: string;
2467
+ /**
2468
+ * Stable discriminator for errors a client branches on.
2469
+ */
2470
+ code?: "mcp_duplicate_url";
2022
2471
  };
2023
2472
  /**
2024
2473
  * Unauthorized
2025
2474
  */
2026
2475
  401: {
2027
2476
  error: string;
2477
+ /**
2478
+ * Stable discriminator for errors a client branches on.
2479
+ */
2480
+ code?: "mcp_duplicate_url";
2028
2481
  };
2029
2482
  /**
2030
2483
  * Forbidden
2031
2484
  */
2032
2485
  403: {
2033
2486
  error: string;
2487
+ /**
2488
+ * Stable discriminator for errors a client branches on.
2489
+ */
2490
+ code?: "mcp_duplicate_url";
2034
2491
  };
2035
2492
  /**
2036
2493
  * Not found
2037
2494
  */
2038
2495
  404: {
2039
2496
  error: string;
2497
+ /**
2498
+ * Stable discriminator for errors a client branches on.
2499
+ */
2500
+ code?: "mcp_duplicate_url";
2040
2501
  };
2041
2502
  };
2042
2503
  export type SandboxEmailReplyCurrentError = SandboxEmailReplyCurrentErrors[keyof SandboxEmailReplyCurrentErrors];
@@ -2069,24 +2530,40 @@ export type SandboxLinearReplyCurrentErrors = {
2069
2530
  */
2070
2531
  400: {
2071
2532
  error: string;
2533
+ /**
2534
+ * Stable discriminator for errors a client branches on.
2535
+ */
2536
+ code?: "mcp_duplicate_url";
2072
2537
  };
2073
2538
  /**
2074
2539
  * Unauthorized
2075
2540
  */
2076
2541
  401: {
2077
2542
  error: string;
2543
+ /**
2544
+ * Stable discriminator for errors a client branches on.
2545
+ */
2546
+ code?: "mcp_duplicate_url";
2078
2547
  };
2079
2548
  /**
2080
2549
  * Forbidden
2081
2550
  */
2082
2551
  403: {
2083
2552
  error: string;
2553
+ /**
2554
+ * Stable discriminator for errors a client branches on.
2555
+ */
2556
+ code?: "mcp_duplicate_url";
2084
2557
  };
2085
2558
  /**
2086
2559
  * Not found
2087
2560
  */
2088
2561
  404: {
2089
2562
  error: string;
2563
+ /**
2564
+ * Stable discriminator for errors a client branches on.
2565
+ */
2566
+ code?: "mcp_duplicate_url";
2090
2567
  };
2091
2568
  };
2092
2569
  export type SandboxLinearReplyCurrentError = SandboxLinearReplyCurrentErrors[keyof SandboxLinearReplyCurrentErrors];