@renai-labs/sdk 0.1.21 → 0.1.22

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.
@@ -97,21 +97,6 @@ export type WebsiteMetadata = {
97
97
  supportUrl?: string;
98
98
  privacyPolicyUrl?: string;
99
99
  };
100
- export type PublisherPublicView = {
101
- id: string;
102
- slug: string;
103
- handle: string;
104
- name: string;
105
- description: string | null;
106
- avatar: string | null;
107
- url: string | null;
108
- isVerified: boolean;
109
- links: Array<PublisherLink>;
110
- };
111
- export type PublisherLink = {
112
- label: string;
113
- href: string;
114
- };
115
100
  export type BlueprintPublicView = {
116
101
  id: string;
117
102
  slug: string;
@@ -120,6 +105,7 @@ export type BlueprintPublicView = {
120
105
  websiteMetadata: WebsiteMetadata | null;
121
106
  pageContent: BlueprintPageContent | null;
122
107
  publisherId: string;
108
+ publisher?: PublisherPublicView | null;
123
109
  template: SpecPublic;
124
110
  replays: Array<string>;
125
111
  };
@@ -282,6 +268,21 @@ export type SpecPublic = {
282
268
  };
283
269
  };
284
270
  };
271
+ export type PublisherLink = {
272
+ label: string;
273
+ href: string;
274
+ };
275
+ export type PublisherPublicView = {
276
+ id: string;
277
+ slug: string;
278
+ handle: string;
279
+ name: string;
280
+ description: string | null;
281
+ avatar: string | null;
282
+ url: string | null;
283
+ isVerified: boolean;
284
+ links: Array<PublisherLink>;
285
+ };
285
286
  export type BlueprintOutcome = {
286
287
  title: string;
287
288
  description: string;
@@ -299,14 +300,61 @@ export type BlueprintPageContent = {
299
300
  outcomes?: Array<BlueprintOutcome>;
300
301
  relatedBlueprintSlugs?: Array<string>;
301
302
  };
303
+ export type BlueprintPublicListItem = {
304
+ id: string;
305
+ slug: string;
306
+ name: string;
307
+ description: string | null;
308
+ websiteMetadata: WebsiteMetadata | null;
309
+ publisherId: string | null;
310
+ publisher?: PublisherPublicView | null;
311
+ updatedAt: string;
312
+ };
313
+ export type RequirementWhen = {
314
+ name: string;
315
+ op: "eq" | "neq";
316
+ value: string;
317
+ };
302
318
  export type RequiredCredential = {
319
+ kind?: "env";
320
+ name: string;
321
+ description?: string;
322
+ } | {
323
+ kind: "secret";
324
+ name: string;
325
+ description?: string;
326
+ } | {
327
+ kind: "oauth_app";
328
+ name: string;
329
+ description?: string;
330
+ } | {
331
+ kind: "text";
332
+ name: string;
333
+ description?: string;
334
+ message: string;
335
+ placeholder?: string;
336
+ when?: RequirementWhen;
337
+ } | {
338
+ kind: "select";
303
339
  name: string;
304
340
  description?: string;
341
+ message: string;
342
+ options: Array<{
343
+ label: string;
344
+ value: string;
345
+ hint?: string;
346
+ }>;
347
+ when?: RequirementWhen;
305
348
  };
306
349
  export type Repository = {
307
350
  url?: string;
308
351
  source?: string;
309
352
  };
353
+ export type McpTimeout = {
354
+ startup?: number;
355
+ catalog?: number;
356
+ execution?: number;
357
+ };
310
358
  export type AgentLatestVersion = {
311
359
  id: string;
312
360
  agentId: string;
@@ -316,6 +364,9 @@ export type AgentLatestVersion = {
316
364
  model: string | null;
317
365
  skills: Array<{
318
366
  skillId: string;
367
+ /**
368
+ * Pin a specific skill version, or null to track the skill's latest version.
369
+ */
319
370
  skillVersionId?: string | null;
320
371
  skill: {
321
372
  id: string;
@@ -334,25 +385,47 @@ export type AgentLatestVersion = {
334
385
  };
335
386
  }>;
336
387
  };
337
- export type OAuthStartInput = {
388
+ export type OAuthSessionStatus = {
389
+ id: string;
390
+ /**
391
+ * Poll until this is complete (credential stored), failed, or expired.
392
+ */
393
+ status: "pending" | "complete" | "failed" | "expired";
394
+ mcpId: string | null;
395
+ credentialId: string | null;
396
+ failureReason: string | null;
397
+ expiresAt: string;
398
+ };
399
+ /**
400
+ * Start 'Sign in with X' for an MCP. Needs a human with a browser: unless alreadyConnected, hand the returned authorizationUrl to the user and poll the session until it is complete, failed, or expired.
401
+ */
402
+ export type OAuthConnectBody = {
338
403
  mcpId: string;
339
404
  scope?: string;
340
- callbackUrl?: string;
341
405
  };
342
- export type OAuthStartResult = {
406
+ export type OAuthConnectResult = {
407
+ alreadyConnected: true;
408
+ credentialId: string;
409
+ } | {
410
+ alreadyConnected: false;
343
411
  authorizationUrl: string;
344
412
  sessionId: string;
345
- state: string;
346
413
  };
347
414
  export type CredentialTransferInput = {
348
415
  targetVaultId: string;
416
+ /**
417
+ * copy duplicates the credential into the target vault; move relocates it (the source is deleted). Rotating tokens (oauth, mcp_provider) are move-only to avoid sharing a single-use token across vaults.
418
+ */
349
419
  mode?: "copy" | "move";
420
+ /**
421
+ * On an anchor clash in the target vault: fail rejects the transfer; replace deletes the loser.
422
+ */
350
423
  conflict?: "fail" | "replace";
351
424
  };
352
425
  export type CredentialTransferResult = {
353
426
  target: Credential;
354
427
  sourceCredentialId: string;
355
- sourceArchived: boolean;
428
+ sourceDeleted: boolean;
356
429
  replacedCredentialId: string | null;
357
430
  };
358
431
  export type CredentialAuthPublic = {
@@ -367,6 +440,18 @@ export type CredentialAuthPublic = {
367
440
  scope?: string;
368
441
  resource?: string;
369
442
  } | null;
443
+ profile?: {
444
+ service: "github";
445
+ id: number;
446
+ login: string;
447
+ name: string | null;
448
+ } | {
449
+ service: "google_workspace";
450
+ sub: string;
451
+ email: string;
452
+ name: string | null;
453
+ hd: string | null;
454
+ } | null;
370
455
  } | {
371
456
  type: "env";
372
457
  } | {
@@ -376,20 +461,26 @@ export type CredentialAuthPublic = {
376
461
  type: "mcp_provider";
377
462
  provider: "composio";
378
463
  userId: string;
464
+ } | {
465
+ type: "custom";
466
+ fieldNames: Array<string>;
379
467
  };
380
468
  export type Credential = {
381
469
  id: string;
382
470
  vaultId: string;
383
471
  name: string;
384
472
  mcpId: string | null;
473
+ oauthAppId: string | null;
385
474
  provider: "github" | "google_workspace" | null;
386
475
  label: string | null;
387
476
  keyPreview: string | null;
388
477
  auth: CredentialAuthPublic;
389
478
  createdAt: string;
390
479
  updatedAt: string;
391
- archivedAt: string | null;
392
480
  };
481
+ /**
482
+ * Rotate the secret in place. The kind (bearer/oauth/env/basic) cannot change. Replacing an OAuth token without its renewal info (refresh token + token endpoint) disables automatic renewal.
483
+ */
393
484
  export type CredentialAuth = {
394
485
  type: "bearer";
395
486
  token: string;
@@ -430,17 +521,97 @@ export type CredentialAuth = {
430
521
  provider: "composio";
431
522
  userId: string;
432
523
  url: string;
524
+ } | {
525
+ type: "custom";
526
+ fields: {
527
+ [key: string]: string;
528
+ };
529
+ };
530
+ /**
531
+ * Create a credential in one of two slots. Adding to a slot that is already filled replaces it in place (that is what 'Reconnect' does). Labels double as environment-variable names and must be unique per vault.
532
+ */
533
+ export type CreateCredentialBody = {
534
+ /**
535
+ * Tie this credential to one MCP server (pass its mcpId).
536
+ */
537
+ slot: "mcp";
538
+ mcpId: string;
539
+ name: string;
540
+ auth: CredentialCreateAuth;
541
+ } | {
542
+ /**
543
+ * Expose this credential to the workspace as a named environment variable.
544
+ */
545
+ slot: "env";
546
+ /**
547
+ * The env-var name; UPPER_SNAKE_CASE, unique within the vault.
548
+ */
549
+ label: string;
550
+ name: string;
551
+ auth: CredentialCreateAuth;
552
+ };
553
+ export type CredentialCreateAuth = {
554
+ type: "bearer";
555
+ token: string;
556
+ } | {
557
+ type: "oauth";
558
+ accessToken: string;
559
+ expiresAt?: string | null;
560
+ refresh?: {
561
+ clientId: string;
562
+ refreshToken: string;
563
+ clientSecret?: string;
564
+ tokenEndpoint?: string;
565
+ tokenEndpointAuth?: "none" | "client_secret_basic" | "client_secret_post";
566
+ scope?: string;
567
+ resource?: string;
568
+ } | null;
569
+ profile?: {
570
+ service: "github";
571
+ id: number;
572
+ login: string;
573
+ name: string | null;
574
+ } | {
575
+ service: "google_workspace";
576
+ sub: string;
577
+ email: string;
578
+ name: string | null;
579
+ hd: string | null;
580
+ } | null;
581
+ } | {
582
+ type: "env";
583
+ value: string;
584
+ } | {
585
+ type: "basic";
586
+ username: string;
587
+ password: string;
588
+ } | {
589
+ type: "custom";
590
+ fields: {
591
+ [key: string]: string;
592
+ };
593
+ };
594
+ export type VaultDetail = {
595
+ id: string;
596
+ name: string;
597
+ description: string | null;
598
+ orgId: string;
599
+ userId: string | null;
600
+ podId: string | null;
601
+ createdAt: string;
602
+ updatedAt: string;
603
+ tier: "org" | "pod" | "user";
604
+ credentialLimit: number;
433
605
  };
434
606
  export type Vault = {
435
607
  id: string;
436
608
  name: string;
437
609
  description: string | null;
438
- isDefault: boolean;
439
610
  orgId: string;
440
611
  userId: string | null;
612
+ podId: string | null;
441
613
  createdAt: string;
442
614
  updatedAt: string;
443
- archivedAt: string | null;
444
615
  };
445
616
  export type LinearMapping = {
446
617
  id: string;
@@ -584,6 +755,32 @@ export type WebhookTrigger = {
584
755
  updatedAt: string;
585
756
  archivedAt: string | null;
586
757
  };
758
+ export type CronTriggerDetail = {
759
+ id: string;
760
+ projectId: string;
761
+ projectAgentId: string | null;
762
+ senderUserId: string;
763
+ inputMessage: string;
764
+ schedule: string;
765
+ timezone: string | null;
766
+ until: string | null;
767
+ isEnabled: boolean;
768
+ syncedAt: string | null;
769
+ createdAt: string;
770
+ updatedAt: string;
771
+ archivedAt: string | null;
772
+ /**
773
+ * Most recent fire pulled from the Temporal schedule; null before the first run or if the schedule is missing.
774
+ */
775
+ lastRun: {
776
+ at: string;
777
+ status: string;
778
+ } | null;
779
+ /**
780
+ * Next scheduled fire time from the Temporal schedule, if any.
781
+ */
782
+ nextRunAt: string | null;
783
+ };
587
784
  export type CronTrigger = {
588
785
  id: string;
589
786
  projectId: string;
@@ -626,7 +823,7 @@ export type Topology = {
626
823
  slug: string;
627
824
  name: string;
628
825
  /**
629
- * Ren model id, e.g. opus-4-8, sonnet-5, haiku-4-5.
826
+ * Ren model id, e.g. opus-5, sonnet-5, haiku-4-5.
630
827
  */
631
828
  model?: string;
632
829
  /**
@@ -879,9 +1076,18 @@ export type SkillVersion = {
879
1076
  */
880
1077
  path?: string;
881
1078
  };
882
- requiredCredentials: Array<RequiredCredential>;
1079
+ requiredCredentials: Array<SkillRequiredCredential>;
883
1080
  releaseNotes: string | null;
884
1081
  };
1082
+ export type SkillRequiredCredential = {
1083
+ kind?: "env";
1084
+ name: string;
1085
+ description?: string;
1086
+ } | {
1087
+ kind: "oauth_app";
1088
+ name: string;
1089
+ description?: string;
1090
+ };
885
1091
  export type SkillArchiveResult = {
886
1092
  id: string;
887
1093
  slug: string;
@@ -906,6 +1112,7 @@ export type SkillArchiveResult = {
906
1112
  deprecatedAt: string | null;
907
1113
  deprecationMessage: string | null;
908
1114
  tags?: Array<string>;
1115
+ publisher?: PublisherPublicView | null;
909
1116
  agentCount: number;
910
1117
  projectCount: number;
911
1118
  };
@@ -933,6 +1140,7 @@ export type Skill = {
933
1140
  deprecatedAt: string | null;
934
1141
  deprecationMessage: string | null;
935
1142
  tags?: Array<string>;
1143
+ publisher?: PublisherPublicView | null;
936
1144
  };
937
1145
  export type SessionVolumeRef = {
938
1146
  kind: "outputs" | "uploads";
@@ -963,8 +1171,43 @@ export type AuthRequirementEnvSource = {
963
1171
  name: string;
964
1172
  };
965
1173
  export type AuthRequirementEnv = {
1174
+ kind?: "env";
1175
+ name: string;
1176
+ description?: string;
1177
+ satisfied: boolean;
1178
+ neededBy: Array<AuthRequirementEnvSource>;
1179
+ } | {
1180
+ kind: "secret";
1181
+ name: string;
1182
+ description?: string;
1183
+ satisfied: boolean;
1184
+ neededBy: Array<AuthRequirementEnvSource>;
1185
+ } | {
1186
+ kind: "oauth_app";
1187
+ name: string;
1188
+ description?: string;
1189
+ satisfied: boolean;
1190
+ neededBy: Array<AuthRequirementEnvSource>;
1191
+ } | {
1192
+ kind: "text";
1193
+ name: string;
1194
+ description?: string;
1195
+ message: string;
1196
+ placeholder?: string;
1197
+ when?: RequirementWhen;
1198
+ satisfied: boolean;
1199
+ neededBy: Array<AuthRequirementEnvSource>;
1200
+ } | {
1201
+ kind: "select";
966
1202
  name: string;
967
1203
  description?: string;
1204
+ message: string;
1205
+ options: Array<{
1206
+ label: string;
1207
+ value: string;
1208
+ hint?: string;
1209
+ }>;
1210
+ when?: RequirementWhen;
968
1211
  satisfied: boolean;
969
1212
  neededBy: Array<AuthRequirementEnvSource>;
970
1213
  };
@@ -974,6 +1217,17 @@ export type McpAuthConfig = {
974
1217
  tokenEndpoint?: string;
975
1218
  authorizationEndpoint?: string;
976
1219
  tokenEndpointAuth?: "none" | "client_secret_basic" | "client_secret_post";
1220
+ oauthAppName?: string;
1221
+ } | {
1222
+ type: "header";
1223
+ headers?: Array<{
1224
+ name: string;
1225
+ template: string;
1226
+ }>;
1227
+ queryParams?: Array<{
1228
+ name: string;
1229
+ template: string;
1230
+ }>;
977
1231
  } | {
978
1232
  type: "api_key";
979
1233
  headerName?: string;
@@ -1074,6 +1328,9 @@ export type SessionCreateJob = {
1074
1328
  jobId: string;
1075
1329
  status: "pending";
1076
1330
  };
1331
+ export type ResourceIconUpload = {
1332
+ url: string;
1333
+ };
1077
1334
  export type Replay = {
1078
1335
  id: string;
1079
1336
  orgId: string;
@@ -1207,6 +1464,38 @@ export type ProjectGitRepo = {
1207
1464
  description?: string;
1208
1465
  hidden?: boolean;
1209
1466
  };
1467
+ /**
1468
+ * An artifact: a static site an agent built in its pod, hosted at a URL.
1469
+ */
1470
+ export type Artifact = {
1471
+ id: string;
1472
+ orgId: string;
1473
+ podId: string;
1474
+ sourceSessionId: string | null;
1475
+ slug: string;
1476
+ title: string;
1477
+ description: string;
1478
+ shareToken: string;
1479
+ createdAt: string;
1480
+ updatedAt: string;
1481
+ archivedAt: string | null;
1482
+ /**
1483
+ * Public URL of the artifact's entrypoint. Possession of the URL grants read access.
1484
+ */
1485
+ url: string;
1486
+ };
1487
+ export type PodDatabase = {
1488
+ id: string;
1489
+ podId: string;
1490
+ orgId: string;
1491
+ userId: string | null;
1492
+ slug: string;
1493
+ name: string;
1494
+ description: string;
1495
+ createdAt: string;
1496
+ updatedAt: string;
1497
+ archivedAt: string | null;
1498
+ };
1210
1499
  export type PodSandboxStatusResponse = {
1211
1500
  status: "provisioning";
1212
1501
  workflowId: string;
@@ -1227,6 +1516,8 @@ export type Sandbox = {
1227
1516
  userId: string | null;
1228
1517
  providerId: string;
1229
1518
  providerSandboxId: string | null;
1519
+ templateRef: string | null;
1520
+ buildId: string | null;
1230
1521
  internalHost: string | null;
1231
1522
  publicHost: string | null;
1232
1523
  createdAt: string;
@@ -1240,13 +1531,20 @@ export type PodSandboxProvisionResponse = {
1240
1531
  workflowId: string;
1241
1532
  status: "provisioning";
1242
1533
  };
1243
- export type PodVault = {
1244
- id: string;
1245
- podId: string;
1534
+ export type PodCredentials = {
1535
+ writeVaultId: string | null;
1536
+ credentials: Array<PodResolvedCredential>;
1537
+ };
1538
+ export type PodResolvedCredential = {
1539
+ credentialId: string;
1540
+ name: string;
1246
1541
  vaultId: string;
1247
- priority: number;
1248
- createdAt: string;
1249
- updatedAt: string;
1542
+ vaultName: string;
1543
+ tier: "org" | "pod" | "user";
1544
+ sourcePodId: string | null;
1545
+ anchor: string;
1546
+ keyPreview: string | null;
1547
+ shadowed: boolean;
1250
1548
  };
1251
1549
  export type PodMember = {
1252
1550
  id: string;
@@ -1260,6 +1558,7 @@ export type PodWithSandbox = {
1260
1558
  pod: Pod;
1261
1559
  sandbox: Sandbox;
1262
1560
  };
1561
+ export type PresetTemplate = "xs" | "small" | "medium" | "large" | "xl";
1263
1562
  export type Pod = {
1264
1563
  id: string;
1265
1564
  name: string;
@@ -1270,6 +1569,7 @@ export type Pod = {
1270
1569
  defaultModel: string | null;
1271
1570
  instructions: string;
1272
1571
  environmentId: string | null;
1572
+ presetTemplate: PresetTemplate;
1273
1573
  orgId: string;
1274
1574
  userId: string | null;
1275
1575
  manifestUpdatedAt: string;
@@ -1337,10 +1637,16 @@ export type MemoryStoreFile = {
1337
1637
  lastModified?: string;
1338
1638
  contentSha256?: string;
1339
1639
  };
1640
+ /**
1641
+ * A memory store: a named bucket of agent knowledge that persists between sessions, mounted at its mountPath.
1642
+ */
1340
1643
  export type MemoryStore = {
1341
1644
  id: string;
1342
1645
  name: string;
1343
1646
  description: string | null;
1647
+ /**
1648
+ * Slug segment of the mount path; unique across file and memory stores in the org.
1649
+ */
1344
1650
  mountSlug: string;
1345
1651
  isDefault: boolean;
1346
1652
  orgId: string;
@@ -1348,6 +1654,10 @@ export type MemoryStore = {
1348
1654
  createdAt: string;
1349
1655
  updatedAt: string;
1350
1656
  archivedAt: string | null;
1657
+ /**
1658
+ * Absolute path this store is mounted at inside agent workspaces, e.g. /volumes/notes. Write only small markdown/config files here — lockfiles, databases, and git repos on a volume are unreliable (close-to-upload semantics, no file locks).
1659
+ */
1660
+ mountPath: string;
1351
1661
  };
1352
1662
  export type OnboardingComplete = {
1353
1663
  onboarding: {
@@ -1378,25 +1688,14 @@ export type Me = {
1378
1688
  };
1379
1689
  method: "session" | "pat" | "sandbox";
1380
1690
  };
1381
- export type OAuthSessionStatus = {
1691
+ export type SearchResult = {
1382
1692
  id: string;
1383
- status: "pending" | "active" | "failed" | "expired";
1384
- mcpId: string | null;
1385
- credentialId: string | null;
1386
- failureReason: string | null;
1387
- expiresAt: string;
1388
- };
1389
- export type McpOAuthConnectBody = {
1390
- scope?: string;
1391
- callbackUrl?: string;
1392
- };
1393
- export type McpOAuthConnectResult = {
1394
- alreadyConnected: true;
1395
- credentialId: string;
1396
- } | {
1397
- alreadyConnected: false;
1398
- authorizationUrl: string;
1399
- sessionId: string;
1693
+ slug: string;
1694
+ name: string;
1695
+ description: string | null;
1696
+ icon: string | null;
1697
+ source: "user" | "org" | "registry";
1698
+ updatedAt: string;
1400
1699
  };
1401
1700
  export type Mcp = {
1402
1701
  id: string;
@@ -1407,9 +1706,10 @@ export type Mcp = {
1407
1706
  mcpServerUrl: string | null;
1408
1707
  docUrl: string | null;
1409
1708
  type: "remote" | "local";
1410
- transport: "streamable-http" | "sse" | "stdio";
1411
1709
  command: string | null;
1412
1710
  args: Array<string>;
1711
+ cwd: string | null;
1712
+ timeout: McpTimeout | null;
1413
1713
  version: string | null;
1414
1714
  repository: Repository | null;
1415
1715
  tools: Array<string>;
@@ -1434,6 +1734,62 @@ export type Mcp = {
1434
1734
  deprecatedAt: string | null;
1435
1735
  deprecationMessage: string | null;
1436
1736
  tags?: Array<string>;
1737
+ publisher?: PublisherPublicView | null;
1738
+ };
1739
+ export type OAuthAppUsage = {
1740
+ mcpIds: Array<string>;
1741
+ };
1742
+ export type OAuthAppUpdateInput = {
1743
+ name?: string;
1744
+ clientId?: string;
1745
+ clientSecret?: string | null;
1746
+ scopes?: Array<string>;
1747
+ tokenEndpointAuth?: "none" | "client_secret_basic" | "client_secret_post";
1748
+ resource?: string | null;
1749
+ authorizeParams?: OAuthAuthorizeParams;
1750
+ pkce?: boolean;
1751
+ discovery?: "static" | "mcp";
1752
+ authorizationEndpoint?: string | null;
1753
+ tokenEndpoint?: string | null;
1754
+ };
1755
+ export type OAuthAuthorizeParams = {
1756
+ [key: string]: string;
1757
+ };
1758
+ export type OAuthAppCreateInput = {
1759
+ name: string;
1760
+ clientId: string;
1761
+ clientSecret?: string | null;
1762
+ scopes?: Array<string>;
1763
+ tokenEndpointAuth?: "none" | "client_secret_basic" | "client_secret_post";
1764
+ resource?: string | null;
1765
+ authorizeParams?: OAuthAuthorizeParams;
1766
+ pkce?: boolean;
1767
+ discovery?: "static" | "mcp";
1768
+ authorizationEndpoint?: string | null;
1769
+ tokenEndpoint?: string | null;
1770
+ };
1771
+ export type OAuthAppRedirectUri = {
1772
+ redirectUri: string;
1773
+ };
1774
+ export type OAuthApp = {
1775
+ id: string;
1776
+ orgId: string;
1777
+ configuredById: string | null;
1778
+ name: string;
1779
+ provider: string | null;
1780
+ clientId: string;
1781
+ scopes: Array<string>;
1782
+ discovery: "static" | "mcp";
1783
+ authorizationEndpoint: string | null;
1784
+ tokenEndpoint: string | null;
1785
+ tokenEndpointAuth: "none" | "client_secret_basic" | "client_secret_post";
1786
+ resource: string | null;
1787
+ authorizeParams: OAuthAuthorizeParams;
1788
+ pkce: boolean;
1789
+ createdAt: string;
1790
+ updatedAt: string;
1791
+ archivedAt: string | null;
1792
+ hasClientSecret: boolean;
1437
1793
  };
1438
1794
  export type GoogleWorkspaceOAuthStartResult = {
1439
1795
  url: string;
@@ -1497,8 +1853,19 @@ export type GithubOAuthStartResult = {
1497
1853
  url: string;
1498
1854
  };
1499
1855
  export type StoreStartUploadResponse = {
1856
+ /**
1857
+ * Presigned PUT URL for the staging area — upload the bytes here
1858
+ */
1500
1859
  url: string;
1501
1860
  expiresAt: string;
1861
+ /**
1862
+ * Pass this to files.finalizeUpload after the PUT succeeds
1863
+ */
1864
+ uploadId: string;
1865
+ /**
1866
+ * The upload lands in a staging area, invisible to workspaces and file lists. Call files.finalizeUpload with the uploadId to make it a real file; unfinalized uploads are discarded after 24 hours.
1867
+ */
1868
+ status: "staged";
1502
1869
  };
1503
1870
  export type StorePresignResponse = {
1504
1871
  url: string;
@@ -1510,10 +1877,16 @@ export type FileStoreFile = {
1510
1877
  lastModified?: string;
1511
1878
  contentSha256?: string;
1512
1879
  };
1880
+ /**
1881
+ * A file store: a named bucket of user artifacts, mounted into agent workspaces at its mountPath.
1882
+ */
1513
1883
  export type FileStore = {
1514
1884
  id: string;
1515
1885
  name: string;
1516
1886
  description: string | null;
1887
+ /**
1888
+ * Slug segment of the mount path; unique across file and memory stores in the org.
1889
+ */
1517
1890
  mountSlug: string;
1518
1891
  isDefault: boolean;
1519
1892
  orgId: string;
@@ -1521,7 +1894,29 @@ export type FileStore = {
1521
1894
  createdAt: string;
1522
1895
  updatedAt: string;
1523
1896
  archivedAt: string | null;
1897
+ /**
1898
+ * Absolute path this store is mounted at inside agent workspaces, e.g. /volumes/notes. Write only small markdown/config files here — lockfiles, databases, and git repos on a volume are unreliable (close-to-upload semantics, no file locks).
1899
+ */
1900
+ mountPath: string;
1524
1901
  };
1902
+ export type EnvironmentBuild = {
1903
+ id: string;
1904
+ environmentId: string;
1905
+ status: EnvironmentBuildStatus;
1906
+ tag: string | null;
1907
+ cpuCount: TemplateCpuCount;
1908
+ memoryMB: TemplateMemoryMb;
1909
+ baseRef: string;
1910
+ templateId: string | null;
1911
+ buildId: string | null;
1912
+ log: string;
1913
+ error: string | null;
1914
+ createdAt: string;
1915
+ updatedAt: string;
1916
+ };
1917
+ export type TemplateMemoryMb = 1024 | 2048 | 3072 | 4096 | 5120 | 6144 | 7168 | 8192;
1918
+ export type TemplateCpuCount = 1 | 2 | 4 | 6 | 8;
1919
+ export type EnvironmentBuildStatus = "queued" | "building" | "ready" | "error";
1525
1920
  export type Environment = {
1526
1921
  id: string;
1527
1922
  name: string;
@@ -1529,8 +1924,14 @@ export type Environment = {
1529
1924
  orgId: string;
1530
1925
  userId: string | null;
1531
1926
  hostingType: "cloud";
1927
+ cpuCount: TemplateCpuCount;
1928
+ memoryMB: TemplateMemoryMb;
1929
+ templateName: string | null;
1930
+ tag: string | null;
1931
+ currentBuildId: string | null;
1532
1932
  networking: NetworkingConfig;
1533
1933
  packages: PackagesConfig;
1934
+ buildCommands: Array<string>;
1534
1935
  createdAt: string;
1535
1936
  updatedAt: string;
1536
1937
  archivedAt: string | null;
@@ -1539,8 +1940,6 @@ export type PackagesConfig = {
1539
1940
  apt?: Array<string>;
1540
1941
  npm?: Array<string>;
1541
1942
  pip?: Array<string>;
1542
- cargo?: Array<string>;
1543
- gem?: Array<string>;
1544
1943
  go?: Array<string>;
1545
1944
  };
1546
1945
  export type NetworkingConfig = {
@@ -1623,6 +2022,7 @@ export type UsageGroup = {
1623
2022
  export type UsageDailyPoint = {
1624
2023
  date: string;
1625
2024
  credits: string;
2025
+ eventCount: number;
1626
2026
  };
1627
2027
  export type UsageBreakdownItem = {
1628
2028
  source: string;
@@ -1708,6 +2108,7 @@ export type Blueprint = {
1708
2108
  archivedAt: string | null;
1709
2109
  deprecatedAt: string | null;
1710
2110
  deprecationMessage: string | null;
2111
+ publisher?: PublisherPublicView | null;
1711
2112
  };
1712
2113
  export type SpecEnvironmentDef = {
1713
2114
  networking: NetworkingConfig;
@@ -1852,7 +2253,7 @@ export type SpecSkillEntry = {
1852
2253
  export type SpecAgentDef = {
1853
2254
  name: string;
1854
2255
  /**
1855
- * Ren model id, e.g. opus-4-8, sonnet-5.
2256
+ * Ren model id, e.g. opus-5, sonnet-5.
1856
2257
  */
1857
2258
  model?: string;
1858
2259
  scope?: "org" | "user" | "registry";
@@ -1915,6 +2316,49 @@ export type Spec = {
1915
2316
  triggers: Array<SpecCronTriggerEntry>;
1916
2317
  environment?: SpecEnvironmentEntry;
1917
2318
  };
2319
+ export type AgentVersionArchiveResult = {
2320
+ id: string;
2321
+ agentId: string;
2322
+ version: string;
2323
+ createdById: string;
2324
+ createdAt: string;
2325
+ archivedAt: string | null;
2326
+ description: string | null;
2327
+ prompt: string | null;
2328
+ model: string | null;
2329
+ releaseNotes: string | null;
2330
+ permission: PermissionConfig;
2331
+ skills?: Array<{
2332
+ skillId: string;
2333
+ /**
2334
+ * Pin a specific skill version, or null to track the skill's latest version.
2335
+ */
2336
+ skillVersionId?: string | null;
2337
+ skill: {
2338
+ id: string;
2339
+ slug: string;
2340
+ name: string;
2341
+ icon: string | null;
2342
+ };
2343
+ }>;
2344
+ mcps?: Array<{
2345
+ mcpId: string;
2346
+ mcp: {
2347
+ id: string;
2348
+ slug: string;
2349
+ name: string;
2350
+ icon: string | null;
2351
+ };
2352
+ }>;
2353
+ /**
2354
+ * Project placements repointed or dropped by archiving this version (pinned + tracking-latest).
2355
+ */
2356
+ projectCount: number;
2357
+ /**
2358
+ * Distinct pods those placements belong to; each receives a manifest refresh.
2359
+ */
2360
+ podCount: number;
2361
+ };
1918
2362
  export type AgentVersion = {
1919
2363
  id: string;
1920
2364
  agentId: string;
@@ -1929,6 +2373,9 @@ export type AgentVersion = {
1929
2373
  permission: PermissionConfig;
1930
2374
  skills?: Array<{
1931
2375
  skillId: string;
2376
+ /**
2377
+ * Pin a specific skill version, or null to track the skill's latest version.
2378
+ */
1932
2379
  skillVersionId?: string | null;
1933
2380
  skill: {
1934
2381
  id: string;
@@ -1947,14 +2394,33 @@ export type AgentVersion = {
1947
2394
  };
1948
2395
  }>;
1949
2396
  };
1950
- export type SearchResult = {
2397
+ export type AgentArchiveResult = {
1951
2398
  id: string;
1952
2399
  slug: string;
1953
2400
  name: string;
1954
- description: string | null;
1955
2401
  icon: string | null;
1956
- source: "user" | "org" | "registry";
2402
+ orgId: string;
2403
+ userId: string | null;
2404
+ publisherId: string | null;
2405
+ parentId: string | null;
2406
+ websiteMetadata: WebsiteMetadata | null;
2407
+ latestVersionId: string | null;
2408
+ createdAt: string;
1957
2409
  updatedAt: string;
2410
+ archivedAt: string | null;
2411
+ deprecatedAt: string | null;
2412
+ deprecationMessage: string | null;
2413
+ tags?: Array<string>;
2414
+ publisher?: PublisherPublicView | null;
2415
+ latestVersion?: AgentLatestVersion | null;
2416
+ /**
2417
+ * Project placements that referenced this agent when it was archived.
2418
+ */
2419
+ projectCount: number;
2420
+ /**
2421
+ * Distinct pods those placements belong to; each receives a manifest refresh.
2422
+ */
2423
+ podCount: number;
1958
2424
  };
1959
2425
  export type Agent = {
1960
2426
  id: string;
@@ -1973,6 +2439,7 @@ export type Agent = {
1973
2439
  deprecatedAt: string | null;
1974
2440
  deprecationMessage: string | null;
1975
2441
  tags?: Array<string>;
2442
+ publisher?: PublisherPublicView | null;
1976
2443
  latestVersion?: AgentLatestVersion | null;
1977
2444
  };
1978
2445
  export type AgentListData = {
@@ -1982,7 +2449,26 @@ export type AgentListData = {
1982
2449
  limit?: number;
1983
2450
  offset?: number;
1984
2451
  includeDeprecated?: boolean;
1985
- visibility?: "private" | "org";
2452
+ /**
2453
+ * Restrict to a single visibility tier within the caller's scope.
2454
+ */
2455
+ visibility?: "private" | "pod" | "org";
2456
+ /**
2457
+ * Case-insensitive match across name and slug.
2458
+ */
2459
+ query?: string;
2460
+ /**
2461
+ * true = only published (registry) agents; false = only unpublished.
2462
+ */
2463
+ published?: boolean;
2464
+ /**
2465
+ * Restrict to agents carried by a specific publisher.
2466
+ */
2467
+ publisherId?: string;
2468
+ /**
2469
+ * Only agents carrying every one of these tags. Repeat the param for multiple tags.
2470
+ */
2471
+ tagged?: string | Array<string>;
1986
2472
  };
1987
2473
  url: "/api/agents";
1988
2474
  };
@@ -2012,17 +2498,38 @@ export type AgentCreateData = {
2012
2498
  body?: {
2013
2499
  name: string;
2014
2500
  icon?: string | null;
2015
- tags?: Array<string>;
2016
- visibility?: "private" | "org";
2501
+ tags?: Array<string> | null;
2502
+ visibility?: "private" | "pod" | "org";
2503
+ /**
2504
+ * Explicit semver (e.g. 1.2.0) or a bump keyword (major|minor|patch, default patch).
2505
+ */
2017
2506
  version?: string | "major" | "minor" | "patch";
2507
+ /**
2508
+ * Description for the agent's first version.
2509
+ */
2018
2510
  description?: string;
2511
+ /**
2512
+ * System prompt for the agent's first version.
2513
+ */
2019
2514
  prompt?: string;
2515
+ /**
2516
+ * Model for the agent's first version; omit to use the default model.
2517
+ */
2020
2518
  model?: string | null;
2021
2519
  permission?: PermissionConfig;
2520
+ /**
2521
+ * Skills bound to the agent's first version. Deduped by skillId.
2522
+ */
2022
2523
  skills?: Array<{
2023
2524
  skillId: string;
2525
+ /**
2526
+ * Pin a specific skill version, or null to track the skill's latest version.
2527
+ */
2024
2528
  skillVersionId?: string | null;
2025
2529
  }>;
2530
+ /**
2531
+ * MCPs bound to the agent's first version. Deduped by mcpId.
2532
+ */
2026
2533
  mcps?: Array<{
2027
2534
  mcpId: string;
2028
2535
  }>;
@@ -2060,90 +2567,13 @@ export type AgentCreateResponses = {
2060
2567
  200: Agent;
2061
2568
  };
2062
2569
  export type AgentCreateResponse = AgentCreateResponses[keyof AgentCreateResponses];
2063
- export type AgentSearchData = {
2064
- body?: {
2065
- query?: string;
2066
- sources?: Array<"user" | "org" | "registry">;
2067
- limit?: number;
2068
- };
2069
- path?: never;
2070
- query?: never;
2071
- url: "/api/agents/search";
2072
- };
2073
- export type AgentSearchErrors = {
2074
- /**
2075
- * Bad request
2076
- */
2077
- 400: {
2078
- error: string;
2079
- };
2080
- /**
2081
- * Unauthorized
2082
- */
2083
- 401: {
2084
- error: string;
2085
- };
2086
- /**
2087
- * Forbidden
2088
- */
2089
- 403: {
2090
- error: string;
2091
- };
2092
- };
2093
- export type AgentSearchError = AgentSearchErrors[keyof AgentSearchErrors];
2094
- export type AgentSearchResponses = {
2095
- /**
2096
- * Matching agents
2097
- */
2098
- 200: Array<SearchResult>;
2099
- };
2100
- export type AgentSearchResponse = AgentSearchResponses[keyof AgentSearchResponses];
2101
- export type AgentGetBySlugData = {
2102
- body?: never;
2103
- path: {
2104
- /**
2105
- * URL-friendly identifier
2106
- */
2107
- slug: string;
2108
- };
2109
- query?: never;
2110
- url: "/api/agents/slug/{slug}";
2111
- };
2112
- export type AgentGetBySlugErrors = {
2113
- /**
2114
- * Unauthorized
2115
- */
2116
- 401: {
2117
- error: string;
2118
- };
2119
- /**
2120
- * Forbidden
2121
- */
2122
- 403: {
2123
- error: string;
2124
- };
2125
- /**
2126
- * Not found
2127
- */
2128
- 404: {
2129
- error: string;
2130
- };
2131
- };
2132
- export type AgentGetBySlugError = AgentGetBySlugErrors[keyof AgentGetBySlugErrors];
2133
- export type AgentGetBySlugResponses = {
2134
- /**
2135
- * Agent details
2136
- */
2137
- 200: Agent;
2138
- };
2139
- export type AgentGetBySlugResponse = AgentGetBySlugResponses[keyof AgentGetBySlugResponses];
2140
2570
  export type AgentGetData = {
2141
2571
  body?: never;
2142
2572
  path: {
2143
- id: string;
2573
+ idOrSlug: string | string;
2144
2574
  };
2145
2575
  query?: never;
2146
- url: "/api/agents/{id}";
2576
+ url: "/api/agents/{idOrSlug}";
2147
2577
  };
2148
2578
  export type AgentGetErrors = {
2149
2579
  /**
@@ -2178,7 +2608,7 @@ export type AgentUpdateData = {
2178
2608
  name?: string;
2179
2609
  icon?: string | null;
2180
2610
  websiteMetadata?: WebsiteMetadata | null;
2181
- tags?: Array<string>;
2611
+ tags?: Array<string> | null;
2182
2612
  };
2183
2613
  path: {
2184
2614
  id: string;
@@ -2251,9 +2681,9 @@ export type AgentArchiveErrors = {
2251
2681
  export type AgentArchiveError = AgentArchiveErrors[keyof AgentArchiveErrors];
2252
2682
  export type AgentArchiveResponses = {
2253
2683
  /**
2254
- * Archived agent
2684
+ * Archived agent, with the blast radius (projectCount/podCount) of placements that referenced it.
2255
2685
  */
2256
- 200: Agent;
2686
+ 200: AgentArchiveResult;
2257
2687
  };
2258
2688
  export type AgentArchiveResponse = AgentArchiveResponses[keyof AgentArchiveResponses];
2259
2689
  export type AgentPublishData = {
@@ -2456,15 +2886,36 @@ export type AgentVersionListResponses = {
2456
2886
  export type AgentVersionListResponse = AgentVersionListResponses[keyof AgentVersionListResponses];
2457
2887
  export type AgentVersionCreateData = {
2458
2888
  body?: {
2889
+ /**
2890
+ * Explicit semver (e.g. 1.2.0) or a bump keyword (major|minor|patch, default patch).
2891
+ */
2459
2892
  version?: string | "major" | "minor" | "patch";
2893
+ /**
2894
+ * Omit to inherit the latest version's description; empty string clears it.
2895
+ */
2460
2896
  description?: string;
2897
+ /**
2898
+ * Omit to inherit the latest version's prompt; empty string clears it.
2899
+ */
2461
2900
  prompt?: string;
2901
+ /**
2902
+ * Omit to inherit the latest version's model; null clears it to the default model.
2903
+ */
2462
2904
  model?: string | null;
2463
2905
  permission?: PermissionConfig;
2906
+ /**
2907
+ * Omit to inherit the latest version's skills; an empty array clears them. Deduped by skillId.
2908
+ */
2464
2909
  skills?: Array<{
2465
2910
  skillId: string;
2911
+ /**
2912
+ * Pin a specific skill version, or null to track the skill's latest version.
2913
+ */
2466
2914
  skillVersionId?: string | null;
2467
2915
  }>;
2916
+ /**
2917
+ * Omit to inherit the latest version's mcps; an empty array clears them. Deduped by mcpId.
2918
+ */
2468
2919
  mcps?: Array<{
2469
2920
  mcpId: string;
2470
2921
  }>;
@@ -2501,6 +2952,12 @@ export type AgentVersionCreateErrors = {
2501
2952
  404: {
2502
2953
  error: string;
2503
2954
  };
2955
+ /**
2956
+ * Conflict
2957
+ */
2958
+ 409: {
2959
+ error: string;
2960
+ };
2504
2961
  };
2505
2962
  export type AgentVersionCreateError = AgentVersionCreateErrors[keyof AgentVersionCreateErrors];
2506
2963
  export type AgentVersionCreateResponses = {
@@ -2579,9 +3036,9 @@ export type AgentVersionArchiveErrors = {
2579
3036
  export type AgentVersionArchiveError = AgentVersionArchiveErrors[keyof AgentVersionArchiveErrors];
2580
3037
  export type AgentVersionArchiveResponses = {
2581
3038
  /**
2582
- * Archived agent version
3039
+ * Archived agent version, with the blast radius of the placements it affected.
2583
3040
  */
2584
- 200: AgentVersion;
3041
+ 200: AgentVersionArchiveResult;
2585
3042
  };
2586
3043
  export type AgentVersionArchiveResponse = AgentVersionArchiveResponses[keyof AgentVersionArchiveResponses];
2587
3044
  export type BlueprintListData = {
@@ -2591,7 +3048,7 @@ export type BlueprintListData = {
2591
3048
  limit?: number;
2592
3049
  offset?: number;
2593
3050
  includeDeprecated?: boolean;
2594
- visibility?: "private" | "org";
3051
+ visibility?: "private" | "pod" | "org";
2595
3052
  };
2596
3053
  url: "/api/blueprints";
2597
3054
  };
@@ -2626,7 +3083,7 @@ export type BlueprintCreateData = {
2626
3083
  instructions?: string;
2627
3084
  initialPrompt?: SpecInitialPrompt;
2628
3085
  selection: BlueprintSelection;
2629
- visibility?: "private" | "org";
3086
+ visibility?: "private" | "pod" | "org";
2630
3087
  };
2631
3088
  path?: never;
2632
3089
  query?: never;
@@ -3395,7 +3852,7 @@ export type EnvironmentListData = {
3395
3852
  offset?: number;
3396
3853
  includeDeprecated?: boolean;
3397
3854
  userId?: string | null;
3398
- visibility?: "private" | "org";
3855
+ visibility?: "private" | "pod" | "org";
3399
3856
  };
3400
3857
  url: "/api/environments";
3401
3858
  };
@@ -3428,7 +3885,10 @@ export type EnvironmentCreateData = {
3428
3885
  description?: string;
3429
3886
  hostingType?: "cloud";
3430
3887
  packages?: PackagesConfig;
3431
- visibility?: "private" | "org";
3888
+ cpuCount?: TemplateCpuCount;
3889
+ memoryMB?: TemplateMemoryMb;
3890
+ buildCommands?: Array<string>;
3891
+ visibility?: "private" | "pod" | "org";
3432
3892
  };
3433
3893
  path?: never;
3434
3894
  query?: never;
@@ -3540,6 +4000,9 @@ export type EnvironmentUpdateData = {
3540
4000
  description?: string;
3541
4001
  networking?: NetworkingConfig;
3542
4002
  packages?: PackagesConfig;
4003
+ cpuCount?: TemplateCpuCount;
4004
+ memoryMB?: TemplateMemoryMb;
4005
+ buildCommands?: Array<string>;
3543
4006
  };
3544
4007
  path: {
3545
4008
  id: string;
@@ -3581,15 +4044,15 @@ export type EnvironmentUpdateResponses = {
3581
4044
  200: Environment;
3582
4045
  };
3583
4046
  export type EnvironmentUpdateResponse = EnvironmentUpdateResponses[keyof EnvironmentUpdateResponses];
3584
- export type EnvironmentArchiveData = {
4047
+ export type EnvironmentBuildStartData = {
3585
4048
  body?: never;
3586
4049
  path: {
3587
4050
  id: string;
3588
4051
  };
3589
4052
  query?: never;
3590
- url: "/api/environments/{id}/archive";
4053
+ url: "/api/environments/{id}/build";
3591
4054
  };
3592
- export type EnvironmentArchiveErrors = {
4055
+ export type EnvironmentBuildStartErrors = {
3593
4056
  /**
3594
4057
  * Unauthorized
3595
4058
  */
@@ -3608,29 +4071,34 @@ export type EnvironmentArchiveErrors = {
3608
4071
  404: {
3609
4072
  error: string;
3610
4073
  };
4074
+ /**
4075
+ * Conflict
4076
+ */
4077
+ 409: {
4078
+ error: string;
4079
+ };
3611
4080
  };
3612
- export type EnvironmentArchiveError = EnvironmentArchiveErrors[keyof EnvironmentArchiveErrors];
3613
- export type EnvironmentArchiveResponses = {
4081
+ export type EnvironmentBuildStartError = EnvironmentBuildStartErrors[keyof EnvironmentBuildStartErrors];
4082
+ export type EnvironmentBuildStartResponses = {
3614
4083
  /**
3615
- * Archived environment
4084
+ * Queued build
3616
4085
  */
3617
- 200: Environment;
4086
+ 200: EnvironmentBuild;
3618
4087
  };
3619
- export type EnvironmentArchiveResponse = EnvironmentArchiveResponses[keyof EnvironmentArchiveResponses];
3620
- export type FileStoreListData = {
4088
+ export type EnvironmentBuildStartResponse = EnvironmentBuildStartResponses[keyof EnvironmentBuildStartResponses];
4089
+ export type EnvironmentBuildListData = {
3621
4090
  body?: never;
3622
- path?: never;
4091
+ path: {
4092
+ id: string;
4093
+ };
3623
4094
  query?: {
3624
- orgId?: string;
3625
4095
  limit?: number;
3626
4096
  offset?: number;
3627
4097
  includeDeprecated?: boolean;
3628
- userId?: string | null;
3629
- visibility?: "private" | "org";
3630
4098
  };
3631
- url: "/api/file-stores";
4099
+ url: "/api/environments/{id}/builds";
3632
4100
  };
3633
- export type FileStoreListErrors = {
4101
+ export type EnvironmentBuildListErrors = {
3634
4102
  /**
3635
4103
  * Unauthorized
3636
4104
  */
@@ -3643,21 +4111,98 @@ export type FileStoreListErrors = {
3643
4111
  403: {
3644
4112
  error: string;
3645
4113
  };
3646
- };
3647
- export type FileStoreListError = FileStoreListErrors[keyof FileStoreListErrors];
3648
- export type FileStoreListResponses = {
3649
4114
  /**
3650
- * List of file stores
4115
+ * Not found
3651
4116
  */
3652
- 200: Array<FileStore>;
3653
- };
3654
- export type FileStoreListResponse = FileStoreListResponses[keyof FileStoreListResponses];
4117
+ 404: {
4118
+ error: string;
4119
+ };
4120
+ };
4121
+ export type EnvironmentBuildListError = EnvironmentBuildListErrors[keyof EnvironmentBuildListErrors];
4122
+ export type EnvironmentBuildListResponses = {
4123
+ /**
4124
+ * Builds, newest first
4125
+ */
4126
+ 200: Array<EnvironmentBuild>;
4127
+ };
4128
+ export type EnvironmentBuildListResponse = EnvironmentBuildListResponses[keyof EnvironmentBuildListResponses];
4129
+ export type EnvironmentArchiveData = {
4130
+ body?: never;
4131
+ path: {
4132
+ id: string;
4133
+ };
4134
+ query?: never;
4135
+ url: "/api/environments/{id}/archive";
4136
+ };
4137
+ export type EnvironmentArchiveErrors = {
4138
+ /**
4139
+ * Unauthorized
4140
+ */
4141
+ 401: {
4142
+ error: string;
4143
+ };
4144
+ /**
4145
+ * Forbidden
4146
+ */
4147
+ 403: {
4148
+ error: string;
4149
+ };
4150
+ /**
4151
+ * Not found
4152
+ */
4153
+ 404: {
4154
+ error: string;
4155
+ };
4156
+ };
4157
+ export type EnvironmentArchiveError = EnvironmentArchiveErrors[keyof EnvironmentArchiveErrors];
4158
+ export type EnvironmentArchiveResponses = {
4159
+ /**
4160
+ * Archived environment
4161
+ */
4162
+ 200: Environment;
4163
+ };
4164
+ export type EnvironmentArchiveResponse = EnvironmentArchiveResponses[keyof EnvironmentArchiveResponses];
4165
+ export type FileStoreListData = {
4166
+ body?: never;
4167
+ path?: never;
4168
+ query?: {
4169
+ orgId?: string;
4170
+ limit?: number;
4171
+ offset?: number;
4172
+ includeDeprecated?: boolean;
4173
+ userId?: string | null;
4174
+ visibility?: "private" | "pod" | "org";
4175
+ };
4176
+ url: "/api/file-stores";
4177
+ };
4178
+ export type FileStoreListErrors = {
4179
+ /**
4180
+ * Unauthorized
4181
+ */
4182
+ 401: {
4183
+ error: string;
4184
+ };
4185
+ /**
4186
+ * Forbidden
4187
+ */
4188
+ 403: {
4189
+ error: string;
4190
+ };
4191
+ };
4192
+ export type FileStoreListError = FileStoreListErrors[keyof FileStoreListErrors];
4193
+ export type FileStoreListResponses = {
4194
+ /**
4195
+ * List of file stores
4196
+ */
4197
+ 200: Array<FileStore>;
4198
+ };
4199
+ export type FileStoreListResponse = FileStoreListResponses[keyof FileStoreListResponses];
3655
4200
  export type FileStoreCreateData = {
3656
4201
  body?: {
3657
4202
  name: string;
3658
4203
  description?: string;
3659
4204
  isDefault?: boolean;
3660
- visibility?: "private" | "org";
4205
+ visibility?: "private" | "pod" | "org";
3661
4206
  };
3662
4207
  path?: never;
3663
4208
  query?: never;
@@ -3722,7 +4267,7 @@ export type FileStoreGetErrors = {
3722
4267
  export type FileStoreGetError = FileStoreGetErrors[keyof FileStoreGetErrors];
3723
4268
  export type FileStoreGetResponses = {
3724
4269
  /**
3725
- * File store details
4270
+ * file store details
3726
4271
  */
3727
4272
  200: FileStore;
3728
4273
  };
@@ -3993,6 +4538,7 @@ export type FileStoreFilesStartUploadResponse = FileStoreFilesStartUploadRespons
3993
4538
  export type FileStoreFilesFinalizeUploadData = {
3994
4539
  body?: {
3995
4540
  path: string;
4541
+ uploadId: string;
3996
4542
  };
3997
4543
  path: {
3998
4544
  id: string;
@@ -4034,6 +4580,50 @@ export type FileStoreFilesFinalizeUploadResponses = {
4034
4580
  200: FileStoreFile;
4035
4581
  };
4036
4582
  export type FileStoreFilesFinalizeUploadResponse = FileStoreFilesFinalizeUploadResponses[keyof FileStoreFilesFinalizeUploadResponses];
4583
+ export type FileStoreFilesWriteContentData = {
4584
+ body: Blob | File;
4585
+ path: {
4586
+ id: string;
4587
+ };
4588
+ query: {
4589
+ path: string;
4590
+ };
4591
+ url: "/api/file-stores/{id}/files/content";
4592
+ };
4593
+ export type FileStoreFilesWriteContentErrors = {
4594
+ /**
4595
+ * Bad request
4596
+ */
4597
+ 400: {
4598
+ error: string;
4599
+ };
4600
+ /**
4601
+ * Unauthorized
4602
+ */
4603
+ 401: {
4604
+ error: string;
4605
+ };
4606
+ /**
4607
+ * Forbidden
4608
+ */
4609
+ 403: {
4610
+ error: string;
4611
+ };
4612
+ /**
4613
+ * Not found
4614
+ */
4615
+ 404: {
4616
+ error: string;
4617
+ };
4618
+ };
4619
+ export type FileStoreFilesWriteContentError = FileStoreFilesWriteContentErrors[keyof FileStoreFilesWriteContentErrors];
4620
+ export type FileStoreFilesWriteContentResponses = {
4621
+ /**
4622
+ * Written file info
4623
+ */
4624
+ 200: FileStoreFile;
4625
+ };
4626
+ export type FileStoreFilesWriteContentResponse = FileStoreFilesWriteContentResponses[keyof FileStoreFilesWriteContentResponses];
4037
4627
  export type InvitationPreviewData = {
4038
4628
  body?: never;
4039
4629
  path: {
@@ -4099,6 +4689,10 @@ export type GithubInstallData = {
4099
4689
  path?: never;
4100
4690
  query?: {
4101
4691
  returnTo?: string;
4692
+ /**
4693
+ * Target vault for the resulting credential. Defaults to the caller's private default vault.
4694
+ */
4695
+ vaultId?: string;
4102
4696
  };
4103
4697
  url: "/api/github/install";
4104
4698
  };
@@ -4129,6 +4723,10 @@ export type GithubConnectData = {
4129
4723
  path?: never;
4130
4724
  query?: {
4131
4725
  returnTo?: string;
4726
+ /**
4727
+ * Target vault for the resulting credential. Defaults to the caller's private default vault.
4728
+ */
4729
+ vaultId?: string;
4132
4730
  };
4133
4731
  url: "/api/github/connect";
4134
4732
  };
@@ -4505,19 +5103,13 @@ export type GoogleConnectResponses = {
4505
5103
  200: GoogleWorkspaceOAuthStartResult;
4506
5104
  };
4507
5105
  export type GoogleConnectResponse = GoogleConnectResponses[keyof GoogleConnectResponses];
4508
- export type McpListData = {
5106
+ export type OauthAppListData = {
4509
5107
  body?: never;
4510
5108
  path?: never;
4511
- query?: {
4512
- limit?: number;
4513
- offset?: number;
4514
- includeDeprecated?: boolean;
4515
- sort?: "popular" | "trending" | "recent";
4516
- visibility?: "private" | "org";
4517
- };
4518
- url: "/api/mcps";
5109
+ query?: never;
5110
+ url: "/api/oauth-apps";
4519
5111
  };
4520
- export type McpListErrors = {
5112
+ export type OauthAppListErrors = {
4521
5113
  /**
4522
5114
  * Unauthorized
4523
5115
  */
@@ -4531,44 +5123,21 @@ export type McpListErrors = {
4531
5123
  error: string;
4532
5124
  };
4533
5125
  };
4534
- export type McpListError = McpListErrors[keyof McpListErrors];
4535
- export type McpListResponses = {
5126
+ export type OauthAppListError = OauthAppListErrors[keyof OauthAppListErrors];
5127
+ export type OauthAppListResponses = {
4536
5128
  /**
4537
- * List of MCPs
5129
+ * OAuth apps
4538
5130
  */
4539
- 200: Array<Mcp>;
5131
+ 200: Array<OAuthApp>;
4540
5132
  };
4541
- export type McpListResponse = McpListResponses[keyof McpListResponses];
4542
- export type McpCreateData = {
4543
- body?: {
4544
- name: string;
4545
- slug?: string;
4546
- description?: string;
4547
- icon?: string | null;
4548
- mcpServerUrl?: string | null;
4549
- docUrl?: string | null;
4550
- type?: "remote" | "local";
4551
- transport?: "streamable-http" | "sse" | "stdio";
4552
- command?: string | null;
4553
- args?: Array<string>;
4554
- env?: {
4555
- [key: string]: string;
4556
- };
4557
- requiredCredentials?: Array<RequiredCredential>;
4558
- version?: string | null;
4559
- repository?: Repository | null;
4560
- tools?: Array<string>;
4561
- prompts?: Array<string>;
4562
- auth?: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
4563
- authConfig?: McpAuthConfig | null;
4564
- tags?: Array<string>;
4565
- visibility?: "private" | "org";
4566
- };
5133
+ export type OauthAppListResponse = OauthAppListResponses[keyof OauthAppListResponses];
5134
+ export type OauthAppCreateData = {
5135
+ body?: OAuthAppCreateInput;
4567
5136
  path?: never;
4568
5137
  query?: never;
4569
- url: "/api/mcps";
5138
+ url: "/api/oauth-apps";
4570
5139
  };
4571
- export type McpCreateErrors = {
5140
+ export type OauthAppCreateErrors = {
4572
5141
  /**
4573
5142
  * Bad request
4574
5143
  */
@@ -4587,32 +5156,54 @@ export type McpCreateErrors = {
4587
5156
  403: {
4588
5157
  error: string;
4589
5158
  };
5159
+ };
5160
+ export type OauthAppCreateError = OauthAppCreateErrors[keyof OauthAppCreateErrors];
5161
+ export type OauthAppCreateResponses = {
4590
5162
  /**
4591
- * Conflict
5163
+ * Created app
4592
5164
  */
4593
- 409: {
5165
+ 200: OAuthApp;
5166
+ };
5167
+ export type OauthAppCreateResponse = OauthAppCreateResponses[keyof OauthAppCreateResponses];
5168
+ export type OauthAppRedirectUriData = {
5169
+ body?: never;
5170
+ path?: never;
5171
+ query?: never;
5172
+ url: "/api/oauth-apps/redirect-uri";
5173
+ };
5174
+ export type OauthAppRedirectUriErrors = {
5175
+ /**
5176
+ * Unauthorized
5177
+ */
5178
+ 401: {
5179
+ error: string;
5180
+ };
5181
+ /**
5182
+ * Forbidden
5183
+ */
5184
+ 403: {
4594
5185
  error: string;
4595
5186
  };
4596
5187
  };
4597
- export type McpCreateError = McpCreateErrors[keyof McpCreateErrors];
4598
- export type McpCreateResponses = {
5188
+ export type OauthAppRedirectUriError = OauthAppRedirectUriErrors[keyof OauthAppRedirectUriErrors];
5189
+ export type OauthAppRedirectUriResponses = {
4599
5190
  /**
4600
- * Created MCP
5191
+ * Redirect URI
4601
5192
  */
4602
- 200: Mcp;
5193
+ 200: OAuthAppRedirectUri;
4603
5194
  };
4604
- export type McpCreateResponse = McpCreateResponses[keyof McpCreateResponses];
4605
- export type McpSearchData = {
4606
- body?: {
4607
- query?: string;
4608
- sources?: Array<"user" | "org" | "registry">;
4609
- limit?: number;
5195
+ export type OauthAppRedirectUriResponse = OauthAppRedirectUriResponses[keyof OauthAppRedirectUriResponses];
5196
+ export type OauthAppDeleteData = {
5197
+ body?: never;
5198
+ path: {
5199
+ id: string;
4610
5200
  };
4611
- path?: never;
4612
- query?: never;
4613
- url: "/api/mcps/search";
5201
+ query?: {
5202
+ force?: string;
5203
+ };
5204
+ url: "/api/oauth-apps/{id}";
4614
5205
  };
4615
- export type McpSearchErrors = {
5206
+ export type OauthAppDeleteErrors = {
4616
5207
  /**
4617
5208
  * Bad request
4618
5209
  */
@@ -4631,27 +5222,38 @@ export type McpSearchErrors = {
4631
5222
  403: {
4632
5223
  error: string;
4633
5224
  };
5225
+ /**
5226
+ * Not found
5227
+ */
5228
+ 404: {
5229
+ error: string;
5230
+ };
4634
5231
  };
4635
- export type McpSearchError = McpSearchErrors[keyof McpSearchErrors];
4636
- export type McpSearchResponses = {
5232
+ export type OauthAppDeleteError = OauthAppDeleteErrors[keyof OauthAppDeleteErrors];
5233
+ export type OauthAppDeleteResponses = {
4637
5234
  /**
4638
- * Matching MCPs
5235
+ * Archived
4639
5236
  */
4640
- 200: Array<SearchResult>;
5237
+ 204: void;
4641
5238
  };
4642
- export type McpSearchResponse = McpSearchResponses[keyof McpSearchResponses];
4643
- export type McpGetBySlugData = {
4644
- body?: never;
5239
+ export type OauthAppDeleteResponse = OauthAppDeleteResponses[keyof OauthAppDeleteResponses];
5240
+ export type OauthAppUpdateData = {
5241
+ body?: OAuthAppUpdateInput;
4645
5242
  path: {
4646
- /**
4647
- * URL-friendly identifier
4648
- */
4649
- slug: string;
5243
+ id: string;
4650
5244
  };
4651
- query?: never;
4652
- url: "/api/mcps/slug/{slug}";
5245
+ query?: {
5246
+ force?: string;
5247
+ };
5248
+ url: "/api/oauth-apps/{id}";
4653
5249
  };
4654
- export type McpGetBySlugErrors = {
5250
+ export type OauthAppUpdateErrors = {
5251
+ /**
5252
+ * Bad request
5253
+ */
5254
+ 400: {
5255
+ error: string;
5256
+ };
4655
5257
  /**
4656
5258
  * Unauthorized
4657
5259
  */
@@ -4671,23 +5273,23 @@ export type McpGetBySlugErrors = {
4671
5273
  error: string;
4672
5274
  };
4673
5275
  };
4674
- export type McpGetBySlugError = McpGetBySlugErrors[keyof McpGetBySlugErrors];
4675
- export type McpGetBySlugResponses = {
5276
+ export type OauthAppUpdateError = OauthAppUpdateErrors[keyof OauthAppUpdateErrors];
5277
+ export type OauthAppUpdateResponses = {
4676
5278
  /**
4677
- * MCP details
5279
+ * Updated app
4678
5280
  */
4679
- 200: Mcp;
5281
+ 200: OAuthApp;
4680
5282
  };
4681
- export type McpGetBySlugResponse = McpGetBySlugResponses[keyof McpGetBySlugResponses];
4682
- export type McpGetData = {
5283
+ export type OauthAppUpdateResponse = OauthAppUpdateResponses[keyof OauthAppUpdateResponses];
5284
+ export type OauthAppUsageData = {
4683
5285
  body?: never;
4684
5286
  path: {
4685
5287
  id: string;
4686
5288
  };
4687
5289
  query?: never;
4688
- url: "/api/mcps/{id}";
5290
+ url: "/api/oauth-apps/{id}/usage";
4689
5291
  };
4690
- export type McpGetErrors = {
5292
+ export type OauthAppUsageErrors = {
4691
5293
  /**
4692
5294
  * Unauthorized
4693
5295
  */
@@ -4707,37 +5309,259 @@ export type McpGetErrors = {
4707
5309
  error: string;
4708
5310
  };
4709
5311
  };
4710
- export type McpGetError = McpGetErrors[keyof McpGetErrors];
4711
- export type McpGetResponses = {
5312
+ export type OauthAppUsageError = OauthAppUsageErrors[keyof OauthAppUsageErrors];
5313
+ export type OauthAppUsageResponses = {
4712
5314
  /**
4713
- * MCP details
5315
+ * Usage
4714
5316
  */
4715
- 200: Mcp;
5317
+ 200: OAuthAppUsage;
4716
5318
  };
4717
- export type McpGetResponse = McpGetResponses[keyof McpGetResponses];
4718
- export type McpUpdateData = {
4719
- body?: {
4720
- name?: string;
4721
- description?: string | null;
4722
- icon?: string | null;
4723
- mcpServerUrl?: string;
4724
- docUrl?: string | null;
4725
- type?: "remote" | "local";
4726
- transport?: "streamable-http" | "sse" | "stdio";
4727
- command?: string | null;
4728
- args?: Array<string>;
4729
- env?: {
4730
- [key: string]: string;
4731
- };
4732
- requiredCredentials?: Array<RequiredCredential>;
4733
- version?: string | null;
4734
- repository?: Repository | null;
4735
- tools?: Array<string>;
4736
- prompts?: Array<string>;
5319
+ export type OauthAppUsageResponse = OauthAppUsageResponses[keyof OauthAppUsageResponses];
5320
+ export type McpListData = {
5321
+ body?: never;
5322
+ path?: never;
5323
+ query?: {
5324
+ limit?: number;
5325
+ offset?: number;
5326
+ includeDeprecated?: boolean;
5327
+ sort?: "popular" | "trending" | "recent";
5328
+ visibility?: "private" | "pod" | "org";
5329
+ };
5330
+ url: "/api/mcps";
5331
+ };
5332
+ export type McpListErrors = {
5333
+ /**
5334
+ * Unauthorized
5335
+ */
5336
+ 401: {
5337
+ error: string;
5338
+ };
5339
+ /**
5340
+ * Forbidden
5341
+ */
5342
+ 403: {
5343
+ error: string;
5344
+ };
5345
+ };
5346
+ export type McpListError = McpListErrors[keyof McpListErrors];
5347
+ export type McpListResponses = {
5348
+ /**
5349
+ * List of MCPs
5350
+ */
5351
+ 200: Array<Mcp>;
5352
+ };
5353
+ export type McpListResponse = McpListResponses[keyof McpListResponses];
5354
+ export type McpCreateData = {
5355
+ body?: {
5356
+ name: string;
5357
+ /**
5358
+ * URL-friendly identifier
5359
+ */
5360
+ slug?: string;
5361
+ description?: string;
5362
+ icon?: string | null;
5363
+ mcpServerUrl?: string | null;
5364
+ docUrl?: string | null;
5365
+ type?: "remote" | "local";
5366
+ command?: string | null;
5367
+ args?: Array<string>;
5368
+ cwd?: string | null;
5369
+ timeout?: McpTimeout | null;
5370
+ env?: {
5371
+ [key: string]: string;
5372
+ };
5373
+ requiredCredentials?: Array<RequiredCredential>;
5374
+ version?: string | null;
5375
+ repository?: Repository | null;
5376
+ tools?: Array<string>;
5377
+ prompts?: Array<string>;
5378
+ /**
5379
+ * Ignored on write — derived from authConfig, which is the single source of truth for auth shape.
5380
+ */
5381
+ auth?: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
5382
+ authConfig?: McpAuthConfig | null;
5383
+ tags?: Array<string> | null;
5384
+ visibility?: "private" | "pod" | "org";
5385
+ /**
5386
+ * Register this URL even though another MCP already uses it — a second account on the same server.
5387
+ */
5388
+ allowDuplicateUrl?: boolean;
5389
+ };
5390
+ path?: never;
5391
+ query?: never;
5392
+ url: "/api/mcps";
5393
+ };
5394
+ export type McpCreateErrors = {
5395
+ /**
5396
+ * Bad request
5397
+ */
5398
+ 400: {
5399
+ error: string;
5400
+ };
5401
+ /**
5402
+ * Unauthorized
5403
+ */
5404
+ 401: {
5405
+ error: string;
5406
+ };
5407
+ /**
5408
+ * Forbidden
5409
+ */
5410
+ 403: {
5411
+ error: string;
5412
+ };
5413
+ /**
5414
+ * Conflict
5415
+ */
5416
+ 409: {
5417
+ error: string;
5418
+ };
5419
+ };
5420
+ export type McpCreateError = McpCreateErrors[keyof McpCreateErrors];
5421
+ export type McpCreateResponses = {
5422
+ /**
5423
+ * Created MCP
5424
+ */
5425
+ 200: Mcp;
5426
+ };
5427
+ export type McpCreateResponse = McpCreateResponses[keyof McpCreateResponses];
5428
+ export type McpSearchData = {
5429
+ body?: {
5430
+ query?: string;
5431
+ sources?: Array<"user" | "org" | "registry">;
5432
+ limit?: number;
5433
+ };
5434
+ path?: never;
5435
+ query?: never;
5436
+ url: "/api/mcps/search";
5437
+ };
5438
+ export type McpSearchErrors = {
5439
+ /**
5440
+ * Bad request
5441
+ */
5442
+ 400: {
5443
+ error: string;
5444
+ };
5445
+ /**
5446
+ * Unauthorized
5447
+ */
5448
+ 401: {
5449
+ error: string;
5450
+ };
5451
+ /**
5452
+ * Forbidden
5453
+ */
5454
+ 403: {
5455
+ error: string;
5456
+ };
5457
+ };
5458
+ export type McpSearchError = McpSearchErrors[keyof McpSearchErrors];
5459
+ export type McpSearchResponses = {
5460
+ /**
5461
+ * Matching MCPs
5462
+ */
5463
+ 200: Array<SearchResult>;
5464
+ };
5465
+ export type McpSearchResponse = McpSearchResponses[keyof McpSearchResponses];
5466
+ export type McpGetBySlugData = {
5467
+ body?: never;
5468
+ path: {
5469
+ /**
5470
+ * URL-friendly identifier
5471
+ */
5472
+ slug: string;
5473
+ };
5474
+ query?: never;
5475
+ url: "/api/mcps/slug/{slug}";
5476
+ };
5477
+ export type McpGetBySlugErrors = {
5478
+ /**
5479
+ * Unauthorized
5480
+ */
5481
+ 401: {
5482
+ error: string;
5483
+ };
5484
+ /**
5485
+ * Forbidden
5486
+ */
5487
+ 403: {
5488
+ error: string;
5489
+ };
5490
+ /**
5491
+ * Not found
5492
+ */
5493
+ 404: {
5494
+ error: string;
5495
+ };
5496
+ };
5497
+ export type McpGetBySlugError = McpGetBySlugErrors[keyof McpGetBySlugErrors];
5498
+ export type McpGetBySlugResponses = {
5499
+ /**
5500
+ * MCP details
5501
+ */
5502
+ 200: Mcp;
5503
+ };
5504
+ export type McpGetBySlugResponse = McpGetBySlugResponses[keyof McpGetBySlugResponses];
5505
+ export type McpGetData = {
5506
+ body?: never;
5507
+ path: {
5508
+ id: string;
5509
+ };
5510
+ query?: never;
5511
+ url: "/api/mcps/{id}";
5512
+ };
5513
+ export type McpGetErrors = {
5514
+ /**
5515
+ * Unauthorized
5516
+ */
5517
+ 401: {
5518
+ error: string;
5519
+ };
5520
+ /**
5521
+ * Forbidden
5522
+ */
5523
+ 403: {
5524
+ error: string;
5525
+ };
5526
+ /**
5527
+ * Not found
5528
+ */
5529
+ 404: {
5530
+ error: string;
5531
+ };
5532
+ };
5533
+ export type McpGetError = McpGetErrors[keyof McpGetErrors];
5534
+ export type McpGetResponses = {
5535
+ /**
5536
+ * MCP details
5537
+ */
5538
+ 200: Mcp;
5539
+ };
5540
+ export type McpGetResponse = McpGetResponses[keyof McpGetResponses];
5541
+ export type McpUpdateData = {
5542
+ body?: {
5543
+ name?: string;
5544
+ description?: string | null;
5545
+ icon?: string | null;
5546
+ mcpServerUrl?: string;
5547
+ docUrl?: string | null;
5548
+ type?: "remote" | "local";
5549
+ command?: string | null;
5550
+ args?: Array<string>;
5551
+ cwd?: string | null;
5552
+ timeout?: McpTimeout | null;
5553
+ env?: {
5554
+ [key: string]: string;
5555
+ };
5556
+ requiredCredentials?: Array<RequiredCredential>;
5557
+ version?: string | null;
5558
+ repository?: Repository | null;
5559
+ tools?: Array<string>;
5560
+ prompts?: Array<string>;
4737
5561
  auth?: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
4738
5562
  authConfig?: McpAuthConfig | null;
4739
5563
  websiteMetadata?: WebsiteMetadata | null;
4740
- tags?: Array<string>;
5564
+ tags?: Array<string> | null;
4741
5565
  };
4742
5566
  path: {
4743
5567
  id: string;
@@ -4973,21 +5797,13 @@ export type McpUndeprecateResponses = {
4973
5797
  200: Mcp;
4974
5798
  };
4975
5799
  export type McpUndeprecateResponse = McpUndeprecateResponses[keyof McpUndeprecateResponses];
4976
- export type McpOauthConnectData = {
4977
- body?: McpOAuthConnectBody;
4978
- path: {
4979
- id: string;
4980
- };
5800
+ export type MeGetData = {
5801
+ body?: never;
5802
+ path?: never;
4981
5803
  query?: never;
4982
- url: "/api/mcps/{id}/oauth/connect";
5804
+ url: "/api/me";
4983
5805
  };
4984
- export type McpOauthConnectErrors = {
4985
- /**
4986
- * Bad request
4987
- */
4988
- 400: {
4989
- error: string;
4990
- };
5806
+ export type MeGetErrors = {
4991
5807
  /**
4992
5808
  * Unauthorized
4993
5809
  */
@@ -5007,83 +5823,12 @@ export type McpOauthConnectErrors = {
5007
5823
  error: string;
5008
5824
  };
5009
5825
  };
5010
- export type McpOauthConnectError = McpOauthConnectErrors[keyof McpOauthConnectErrors];
5011
- export type McpOauthConnectResponses = {
5826
+ export type MeGetError = MeGetErrors[keyof MeGetErrors];
5827
+ export type MeGetResponses = {
5012
5828
  /**
5013
- * OAuth connect result
5829
+ * Resolved auth context
5014
5830
  */
5015
- 200: McpOAuthConnectResult;
5016
- };
5017
- export type McpOauthConnectResponse = McpOauthConnectResponses[keyof McpOauthConnectResponses];
5018
- export type McpOauthSessionData = {
5019
- body?: never;
5020
- path: {
5021
- id: string;
5022
- sessionId: string;
5023
- };
5024
- query?: never;
5025
- url: "/api/mcps/{id}/oauth/sessions/{sessionId}";
5026
- };
5027
- export type McpOauthSessionErrors = {
5028
- /**
5029
- * Unauthorized
5030
- */
5031
- 401: {
5032
- error: string;
5033
- };
5034
- /**
5035
- * Forbidden
5036
- */
5037
- 403: {
5038
- error: string;
5039
- };
5040
- /**
5041
- * Not found
5042
- */
5043
- 404: {
5044
- error: string;
5045
- };
5046
- };
5047
- export type McpOauthSessionError = McpOauthSessionErrors[keyof McpOauthSessionErrors];
5048
- export type McpOauthSessionResponses = {
5049
- /**
5050
- * OAuth session status
5051
- */
5052
- 200: OAuthSessionStatus;
5053
- };
5054
- export type McpOauthSessionResponse = McpOauthSessionResponses[keyof McpOauthSessionResponses];
5055
- export type MeGetData = {
5056
- body?: never;
5057
- path?: never;
5058
- query?: never;
5059
- url: "/api/me";
5060
- };
5061
- export type MeGetErrors = {
5062
- /**
5063
- * Unauthorized
5064
- */
5065
- 401: {
5066
- error: string;
5067
- };
5068
- /**
5069
- * Forbidden
5070
- */
5071
- 403: {
5072
- error: string;
5073
- };
5074
- /**
5075
- * Not found
5076
- */
5077
- 404: {
5078
- error: string;
5079
- };
5080
- };
5081
- export type MeGetError = MeGetErrors[keyof MeGetErrors];
5082
- export type MeGetResponses = {
5083
- /**
5084
- * Resolved auth context
5085
- */
5086
- 200: Me;
5831
+ 200: Me;
5087
5832
  };
5088
5833
  export type MeGetResponse = MeGetResponses[keyof MeGetResponses];
5089
5834
  export type MeUpdatePersonaData = {
@@ -5173,7 +5918,7 @@ export type MemoryStoreListData = {
5173
5918
  offset?: number;
5174
5919
  includeDeprecated?: boolean;
5175
5920
  userId?: string | null;
5176
- visibility?: "private" | "org";
5921
+ visibility?: "private" | "pod" | "org";
5177
5922
  };
5178
5923
  url: "/api/memory-stores";
5179
5924
  };
@@ -5204,7 +5949,7 @@ export type MemoryStoreCreateData = {
5204
5949
  name: string;
5205
5950
  description?: string;
5206
5951
  isDefault?: boolean;
5207
- visibility?: "private" | "org";
5952
+ visibility?: "private" | "pod" | "org";
5208
5953
  };
5209
5954
  path?: never;
5210
5955
  query?: never;
@@ -5269,7 +6014,7 @@ export type MemoryStoreGetErrors = {
5269
6014
  export type MemoryStoreGetError = MemoryStoreGetErrors[keyof MemoryStoreGetErrors];
5270
6015
  export type MemoryStoreGetResponses = {
5271
6016
  /**
5272
- * Memory store details
6017
+ * memory store details
5273
6018
  */
5274
6019
  200: MemoryStore;
5275
6020
  };
@@ -5540,6 +6285,7 @@ export type MemoryStoreFilesStartUploadResponse = MemoryStoreFilesStartUploadRes
5540
6285
  export type MemoryStoreFilesFinalizeUploadData = {
5541
6286
  body?: {
5542
6287
  path: string;
6288
+ uploadId: string;
5543
6289
  };
5544
6290
  path: {
5545
6291
  id: string;
@@ -5581,6 +6327,50 @@ export type MemoryStoreFilesFinalizeUploadResponses = {
5581
6327
  200: MemoryStoreFile;
5582
6328
  };
5583
6329
  export type MemoryStoreFilesFinalizeUploadResponse = MemoryStoreFilesFinalizeUploadResponses[keyof MemoryStoreFilesFinalizeUploadResponses];
6330
+ export type MemoryStoreFilesWriteContentData = {
6331
+ body: Blob | File;
6332
+ path: {
6333
+ id: string;
6334
+ };
6335
+ query: {
6336
+ path: string;
6337
+ };
6338
+ url: "/api/memory-stores/{id}/files/content";
6339
+ };
6340
+ export type MemoryStoreFilesWriteContentErrors = {
6341
+ /**
6342
+ * Bad request
6343
+ */
6344
+ 400: {
6345
+ error: string;
6346
+ };
6347
+ /**
6348
+ * Unauthorized
6349
+ */
6350
+ 401: {
6351
+ error: string;
6352
+ };
6353
+ /**
6354
+ * Forbidden
6355
+ */
6356
+ 403: {
6357
+ error: string;
6358
+ };
6359
+ /**
6360
+ * Not found
6361
+ */
6362
+ 404: {
6363
+ error: string;
6364
+ };
6365
+ };
6366
+ export type MemoryStoreFilesWriteContentError = MemoryStoreFilesWriteContentErrors[keyof MemoryStoreFilesWriteContentErrors];
6367
+ export type MemoryStoreFilesWriteContentResponses = {
6368
+ /**
6369
+ * Written file info
6370
+ */
6371
+ 200: MemoryStoreFile;
6372
+ };
6373
+ export type MemoryStoreFilesWriteContentResponse = MemoryStoreFilesWriteContentResponses[keyof MemoryStoreFilesWriteContentResponses];
5584
6374
  export type ModelListData = {
5585
6375
  body?: never;
5586
6376
  path?: never;
@@ -5893,7 +6683,7 @@ export type PodListData = {
5893
6683
  offset?: number;
5894
6684
  includeDeprecated?: boolean;
5895
6685
  userId?: string | null;
5896
- visibility?: "private" | "org";
6686
+ visibility?: "private" | "pod" | "org";
5897
6687
  };
5898
6688
  url: "/api/pods";
5899
6689
  };
@@ -5927,14 +6717,373 @@ export type PodCreateData = {
5927
6717
  instructions?: string;
5928
6718
  isPrivate?: boolean;
5929
6719
  isDefault?: boolean;
6720
+ presetTemplate?: PresetTemplate;
5930
6721
  createDefaultProject?: boolean;
5931
- visibility?: "private" | "org";
6722
+ visibility?: "private" | "pod" | "org";
6723
+ };
6724
+ path?: never;
6725
+ query?: never;
6726
+ url: "/api/pods";
6727
+ };
6728
+ export type PodCreateErrors = {
6729
+ /**
6730
+ * Bad request
6731
+ */
6732
+ 400: {
6733
+ error: string;
6734
+ };
6735
+ /**
6736
+ * Unauthorized
6737
+ */
6738
+ 401: {
6739
+ error: string;
6740
+ };
6741
+ /**
6742
+ * Forbidden
6743
+ */
6744
+ 403: {
6745
+ error: string;
6746
+ };
6747
+ };
6748
+ export type PodCreateError = PodCreateErrors[keyof PodCreateErrors];
6749
+ export type PodCreateResponses = {
6750
+ /**
6751
+ * Created pod with freshly provisioned sandbox
6752
+ */
6753
+ 200: PodWithSandbox;
6754
+ };
6755
+ export type PodCreateResponse = PodCreateResponses[keyof PodCreateResponses];
6756
+ export type PodGetData = {
6757
+ body?: never;
6758
+ path: {
6759
+ id: string;
6760
+ };
6761
+ query?: never;
6762
+ url: "/api/pods/{id}";
6763
+ };
6764
+ export type PodGetErrors = {
6765
+ /**
6766
+ * Unauthorized
6767
+ */
6768
+ 401: {
6769
+ error: string;
6770
+ };
6771
+ /**
6772
+ * Forbidden
6773
+ */
6774
+ 403: {
6775
+ error: string;
6776
+ };
6777
+ /**
6778
+ * Not found
6779
+ */
6780
+ 404: {
6781
+ error: string;
6782
+ };
6783
+ };
6784
+ export type PodGetError = PodGetErrors[keyof PodGetErrors];
6785
+ export type PodGetResponses = {
6786
+ /**
6787
+ * Pod details
6788
+ */
6789
+ 200: Pod;
6790
+ };
6791
+ export type PodGetResponse = PodGetResponses[keyof PodGetResponses];
6792
+ export type PodUpdateData = {
6793
+ body?: {
6794
+ name?: string;
6795
+ description?: string;
6796
+ isPrivate?: boolean;
6797
+ environmentId?: string | null;
6798
+ defaultModel?: string | null;
6799
+ instructions?: string;
6800
+ presetTemplate?: PresetTemplate;
6801
+ };
6802
+ path: {
6803
+ id: string;
6804
+ };
6805
+ query?: never;
6806
+ url: "/api/pods/{id}";
6807
+ };
6808
+ export type PodUpdateErrors = {
6809
+ /**
6810
+ * Bad request
6811
+ */
6812
+ 400: {
6813
+ error: string;
6814
+ };
6815
+ /**
6816
+ * Unauthorized
6817
+ */
6818
+ 401: {
6819
+ error: string;
6820
+ };
6821
+ /**
6822
+ * Forbidden
6823
+ */
6824
+ 403: {
6825
+ error: string;
6826
+ };
6827
+ /**
6828
+ * Not found
6829
+ */
6830
+ 404: {
6831
+ error: string;
6832
+ };
6833
+ };
6834
+ export type PodUpdateError = PodUpdateErrors[keyof PodUpdateErrors];
6835
+ export type PodUpdateResponses = {
6836
+ /**
6837
+ * Updated pod
6838
+ */
6839
+ 200: Pod;
6840
+ };
6841
+ export type PodUpdateResponse = PodUpdateResponses[keyof PodUpdateResponses];
6842
+ export type PodUsageData = {
6843
+ body?: never;
6844
+ path: {
6845
+ id: string;
6846
+ };
6847
+ query?: {
6848
+ groupBy?: "user" | "member" | "agent" | "model" | "session" | "project" | "pod" | "source";
6849
+ start?: string;
6850
+ end?: string;
6851
+ };
6852
+ url: "/api/pods/{id}/usage";
6853
+ };
6854
+ export type PodUsageErrors = {
6855
+ /**
6856
+ * Bad request
6857
+ */
6858
+ 400: {
6859
+ error: string;
6860
+ };
6861
+ /**
6862
+ * Unauthorized
6863
+ */
6864
+ 401: {
6865
+ error: string;
6866
+ };
6867
+ /**
6868
+ * Forbidden
6869
+ */
6870
+ 403: {
6871
+ error: string;
6872
+ };
6873
+ /**
6874
+ * Not found
6875
+ */
6876
+ 404: {
6877
+ error: string;
6878
+ };
6879
+ };
6880
+ export type PodUsageError = PodUsageErrors[keyof PodUsageErrors];
6881
+ export type PodUsageResponses = {
6882
+ /**
6883
+ * Pod credit usage
6884
+ */
6885
+ 200: Usage;
6886
+ };
6887
+ export type PodUsageResponse = PodUsageResponses[keyof PodUsageResponses];
6888
+ export type PodArchiveData = {
6889
+ body?: never;
6890
+ path: {
6891
+ id: string;
6892
+ };
6893
+ query?: never;
6894
+ url: "/api/pods/{id}/archive";
6895
+ };
6896
+ export type PodArchiveErrors = {
6897
+ /**
6898
+ * Unauthorized
6899
+ */
6900
+ 401: {
6901
+ error: string;
6902
+ };
6903
+ /**
6904
+ * Forbidden
6905
+ */
6906
+ 403: {
6907
+ error: string;
6908
+ };
6909
+ /**
6910
+ * Not found
6911
+ */
6912
+ 404: {
6913
+ error: string;
6914
+ };
6915
+ };
6916
+ export type PodArchiveError = PodArchiveErrors[keyof PodArchiveErrors];
6917
+ export type PodArchiveResponses = {
6918
+ /**
6919
+ * Archived pod
6920
+ */
6921
+ 200: Pod;
6922
+ };
6923
+ export type PodArchiveResponse = PodArchiveResponses[keyof PodArchiveResponses];
6924
+ export type PodMemberListData = {
6925
+ body?: never;
6926
+ path: {
6927
+ id: string;
6928
+ };
6929
+ query?: never;
6930
+ url: "/api/pods/{id}/members";
6931
+ };
6932
+ export type PodMemberListErrors = {
6933
+ /**
6934
+ * Unauthorized
6935
+ */
6936
+ 401: {
6937
+ error: string;
6938
+ };
6939
+ /**
6940
+ * Forbidden
6941
+ */
6942
+ 403: {
6943
+ error: string;
6944
+ };
6945
+ /**
6946
+ * Not found
6947
+ */
6948
+ 404: {
6949
+ error: string;
6950
+ };
6951
+ };
6952
+ export type PodMemberListError = PodMemberListErrors[keyof PodMemberListErrors];
6953
+ export type PodMemberListResponses = {
6954
+ /**
6955
+ * List of members
6956
+ */
6957
+ 200: Array<PodMember>;
6958
+ };
6959
+ export type PodMemberListResponse = PodMemberListResponses[keyof PodMemberListResponses];
6960
+ export type PodMemberAddData = {
6961
+ body?: {
6962
+ userId: string;
6963
+ role?: "owner" | "member";
6964
+ };
6965
+ path: {
6966
+ id: string;
6967
+ };
6968
+ query?: never;
6969
+ url: "/api/pods/{id}/members";
6970
+ };
6971
+ export type PodMemberAddErrors = {
6972
+ /**
6973
+ * Bad request
6974
+ */
6975
+ 400: {
6976
+ error: string;
6977
+ };
6978
+ /**
6979
+ * Unauthorized
6980
+ */
6981
+ 401: {
6982
+ error: string;
6983
+ };
6984
+ /**
6985
+ * Forbidden
6986
+ */
6987
+ 403: {
6988
+ error: string;
6989
+ };
6990
+ /**
6991
+ * Not found
6992
+ */
6993
+ 404: {
6994
+ error: string;
6995
+ };
6996
+ };
6997
+ export type PodMemberAddError = PodMemberAddErrors[keyof PodMemberAddErrors];
6998
+ export type PodMemberAddResponses = {
6999
+ /**
7000
+ * Added member
7001
+ */
7002
+ 200: PodMember;
7003
+ };
7004
+ export type PodMemberAddResponse = PodMemberAddResponses[keyof PodMemberAddResponses];
7005
+ export type PodMemberRemoveData = {
7006
+ body?: never;
7007
+ path: {
7008
+ id: string;
7009
+ userId: string;
7010
+ };
7011
+ query?: never;
7012
+ url: "/api/pods/{id}/members/{userId}";
7013
+ };
7014
+ export type PodMemberRemoveErrors = {
7015
+ /**
7016
+ * Unauthorized
7017
+ */
7018
+ 401: {
7019
+ error: string;
7020
+ };
7021
+ /**
7022
+ * Forbidden
7023
+ */
7024
+ 403: {
7025
+ error: string;
7026
+ };
7027
+ /**
7028
+ * Not found
7029
+ */
7030
+ 404: {
7031
+ error: string;
7032
+ };
7033
+ };
7034
+ export type PodMemberRemoveError = PodMemberRemoveErrors[keyof PodMemberRemoveErrors];
7035
+ export type PodMemberRemoveResponses = {
7036
+ /**
7037
+ * Removed member
7038
+ */
7039
+ 200: PodMember;
7040
+ };
7041
+ export type PodMemberRemoveResponse = PodMemberRemoveResponses[keyof PodMemberRemoveResponses];
7042
+ export type PodCredentialListData = {
7043
+ body?: never;
7044
+ path: {
7045
+ id: string;
7046
+ };
7047
+ query?: never;
7048
+ url: "/api/pods/{id}/credentials";
7049
+ };
7050
+ export type PodCredentialListErrors = {
7051
+ /**
7052
+ * Unauthorized
7053
+ */
7054
+ 401: {
7055
+ error: string;
7056
+ };
7057
+ /**
7058
+ * Forbidden
7059
+ */
7060
+ 403: {
7061
+ error: string;
7062
+ };
7063
+ /**
7064
+ * Not found
7065
+ */
7066
+ 404: {
7067
+ error: string;
7068
+ };
7069
+ };
7070
+ export type PodCredentialListError = PodCredentialListErrors[keyof PodCredentialListErrors];
7071
+ export type PodCredentialListResponses = {
7072
+ /**
7073
+ * Resolved credentials
7074
+ */
7075
+ 200: PodCredentials;
7076
+ };
7077
+ export type PodCredentialListResponse = PodCredentialListResponses[keyof PodCredentialListResponses];
7078
+ export type PodSandboxProvisionData = {
7079
+ body?: never;
7080
+ path: {
7081
+ podId: string;
5932
7082
  };
5933
- path?: never;
5934
7083
  query?: never;
5935
- url: "/api/pods";
7084
+ url: "/api/pods/{podId}/sandbox/provision";
5936
7085
  };
5937
- export type PodCreateErrors = {
7086
+ export type PodSandboxProvisionErrors = {
5938
7087
  /**
5939
7088
  * Bad request
5940
7089
  */
@@ -5953,24 +7102,36 @@ export type PodCreateErrors = {
5953
7102
  403: {
5954
7103
  error: string;
5955
7104
  };
7105
+ /**
7106
+ * Not found
7107
+ */
7108
+ 404: {
7109
+ error: string;
7110
+ };
5956
7111
  };
5957
- export type PodCreateError = PodCreateErrors[keyof PodCreateErrors];
5958
- export type PodCreateResponses = {
7112
+ export type PodSandboxProvisionError = PodSandboxProvisionErrors[keyof PodSandboxProvisionErrors];
7113
+ export type PodSandboxProvisionResponses = {
5959
7114
  /**
5960
- * Created pod with freshly provisioned sandbox
7115
+ * Workflow started or joined
5961
7116
  */
5962
- 200: PodWithSandbox;
7117
+ 200: PodSandboxProvisionResponse;
5963
7118
  };
5964
- export type PodCreateResponse = PodCreateResponses[keyof PodCreateResponses];
5965
- export type PodGetData = {
7119
+ export type PodSandboxProvisionResponse2 = PodSandboxProvisionResponses[keyof PodSandboxProvisionResponses];
7120
+ export type PodSandboxTeardownData = {
5966
7121
  body?: never;
5967
7122
  path: {
5968
- id: string;
7123
+ podId: string;
5969
7124
  };
5970
7125
  query?: never;
5971
- url: "/api/pods/{id}";
7126
+ url: "/api/pods/{podId}/sandbox/teardown";
5972
7127
  };
5973
- export type PodGetErrors = {
7128
+ export type PodSandboxTeardownErrors = {
7129
+ /**
7130
+ * Bad request
7131
+ */
7132
+ 400: {
7133
+ error: string;
7134
+ };
5974
7135
  /**
5975
7136
  * Unauthorized
5976
7137
  */
@@ -5990,30 +7151,23 @@ export type PodGetErrors = {
5990
7151
  error: string;
5991
7152
  };
5992
7153
  };
5993
- export type PodGetError = PodGetErrors[keyof PodGetErrors];
5994
- export type PodGetResponses = {
7154
+ export type PodSandboxTeardownError = PodSandboxTeardownErrors[keyof PodSandboxTeardownErrors];
7155
+ export type PodSandboxTeardownResponses = {
5995
7156
  /**
5996
- * Pod details
7157
+ * Teardown result
5997
7158
  */
5998
- 200: Pod;
7159
+ 200: PodSandboxTeardownResponse;
5999
7160
  };
6000
- export type PodGetResponse = PodGetResponses[keyof PodGetResponses];
6001
- export type PodUpdateData = {
6002
- body?: {
6003
- name?: string;
6004
- description?: string;
6005
- isPrivate?: boolean;
6006
- environmentId?: string | null;
6007
- defaultModel?: string | null;
6008
- instructions?: string;
6009
- };
7161
+ export type PodSandboxTeardownResponse2 = PodSandboxTeardownResponses[keyof PodSandboxTeardownResponses];
7162
+ export type PodSandboxStatusData = {
7163
+ body?: never;
6010
7164
  path: {
6011
- id: string;
7165
+ podId: string;
6012
7166
  };
6013
7167
  query?: never;
6014
- url: "/api/pods/{id}";
7168
+ url: "/api/pods/{podId}/sandbox/status";
6015
7169
  };
6016
- export type PodUpdateErrors = {
7170
+ export type PodSandboxStatusErrors = {
6017
7171
  /**
6018
7172
  * Bad request
6019
7173
  */
@@ -6039,23 +7193,27 @@ export type PodUpdateErrors = {
6039
7193
  error: string;
6040
7194
  };
6041
7195
  };
6042
- export type PodUpdateError = PodUpdateErrors[keyof PodUpdateErrors];
6043
- export type PodUpdateResponses = {
7196
+ export type PodSandboxStatusError = PodSandboxStatusErrors[keyof PodSandboxStatusErrors];
7197
+ export type PodSandboxStatusResponses = {
6044
7198
  /**
6045
- * Updated pod
7199
+ * Current sandbox state
6046
7200
  */
6047
- 200: Pod;
7201
+ 200: PodSandboxStatusResponse;
6048
7202
  };
6049
- export type PodUpdateResponse = PodUpdateResponses[keyof PodUpdateResponses];
6050
- export type PodUsageData = {
7203
+ export type PodSandboxStatusResponse2 = PodSandboxStatusResponses[keyof PodSandboxStatusResponses];
7204
+ export type PodDatabaseListData = {
6051
7205
  body?: never;
6052
7206
  path: {
6053
- id: string;
7207
+ podId: string;
6054
7208
  };
6055
- query?: never;
6056
- url: "/api/pods/{id}/usage";
7209
+ query?: {
7210
+ limit?: number;
7211
+ offset?: number;
7212
+ includeDeprecated?: boolean;
7213
+ };
7214
+ url: "/api/pods/{podId}/databases";
6057
7215
  };
6058
- export type PodUsageErrors = {
7216
+ export type PodDatabaseListErrors = {
6059
7217
  /**
6060
7218
  * Unauthorized
6061
7219
  */
@@ -6075,23 +7233,36 @@ export type PodUsageErrors = {
6075
7233
  error: string;
6076
7234
  };
6077
7235
  };
6078
- export type PodUsageError = PodUsageErrors[keyof PodUsageErrors];
6079
- export type PodUsageResponses = {
7236
+ export type PodDatabaseListError = PodDatabaseListErrors[keyof PodDatabaseListErrors];
7237
+ export type PodDatabaseListResponses = {
6080
7238
  /**
6081
- * Pod credit usage
7239
+ * Pod databases
6082
7240
  */
6083
- 200: Usage;
7241
+ 200: Array<PodDatabase>;
6084
7242
  };
6085
- export type PodUsageResponse = PodUsageResponses[keyof PodUsageResponses];
6086
- export type PodArchiveData = {
6087
- body?: never;
7243
+ export type PodDatabaseListResponse = PodDatabaseListResponses[keyof PodDatabaseListResponses];
7244
+ export type PodDatabaseCreateData = {
7245
+ body?: {
7246
+ name: string;
7247
+ /**
7248
+ * URL-friendly identifier
7249
+ */
7250
+ slug?: string;
7251
+ description?: string;
7252
+ };
6088
7253
  path: {
6089
- id: string;
7254
+ podId: string;
6090
7255
  };
6091
7256
  query?: never;
6092
- url: "/api/pods/{id}/archive";
7257
+ url: "/api/pods/{podId}/databases";
6093
7258
  };
6094
- export type PodArchiveErrors = {
7259
+ export type PodDatabaseCreateErrors = {
7260
+ /**
7261
+ * Bad request
7262
+ */
7263
+ 400: {
7264
+ error: string;
7265
+ };
6095
7266
  /**
6096
7267
  * Unauthorized
6097
7268
  */
@@ -6110,24 +7281,31 @@ export type PodArchiveErrors = {
6110
7281
  404: {
6111
7282
  error: string;
6112
7283
  };
7284
+ /**
7285
+ * Conflict
7286
+ */
7287
+ 409: {
7288
+ error: string;
7289
+ };
6113
7290
  };
6114
- export type PodArchiveError = PodArchiveErrors[keyof PodArchiveErrors];
6115
- export type PodArchiveResponses = {
7291
+ export type PodDatabaseCreateError = PodDatabaseCreateErrors[keyof PodDatabaseCreateErrors];
7292
+ export type PodDatabaseCreateResponses = {
6116
7293
  /**
6117
- * Archived pod
7294
+ * Created pod database
6118
7295
  */
6119
- 200: Pod;
7296
+ 200: PodDatabase;
6120
7297
  };
6121
- export type PodArchiveResponse = PodArchiveResponses[keyof PodArchiveResponses];
6122
- export type PodMemberListData = {
7298
+ export type PodDatabaseCreateResponse = PodDatabaseCreateResponses[keyof PodDatabaseCreateResponses];
7299
+ export type PodDatabaseGetData = {
6123
7300
  body?: never;
6124
7301
  path: {
7302
+ podId: string;
6125
7303
  id: string;
6126
7304
  };
6127
7305
  query?: never;
6128
- url: "/api/pods/{id}/members";
7306
+ url: "/api/pods/{podId}/databases/{id}";
6129
7307
  };
6130
- export type PodMemberListErrors = {
7308
+ export type PodDatabaseGetErrors = {
6131
7309
  /**
6132
7310
  * Unauthorized
6133
7311
  */
@@ -6147,26 +7325,27 @@ export type PodMemberListErrors = {
6147
7325
  error: string;
6148
7326
  };
6149
7327
  };
6150
- export type PodMemberListError = PodMemberListErrors[keyof PodMemberListErrors];
6151
- export type PodMemberListResponses = {
7328
+ export type PodDatabaseGetError = PodDatabaseGetErrors[keyof PodDatabaseGetErrors];
7329
+ export type PodDatabaseGetResponses = {
6152
7330
  /**
6153
- * List of members
7331
+ * Pod database details
6154
7332
  */
6155
- 200: Array<PodMember>;
7333
+ 200: PodDatabase;
6156
7334
  };
6157
- export type PodMemberListResponse = PodMemberListResponses[keyof PodMemberListResponses];
6158
- export type PodMemberAddData = {
7335
+ export type PodDatabaseGetResponse = PodDatabaseGetResponses[keyof PodDatabaseGetResponses];
7336
+ export type PodDatabaseUpdateData = {
6159
7337
  body?: {
6160
- userId: string;
6161
- role?: "owner" | "member";
7338
+ name?: string;
7339
+ description?: string;
6162
7340
  };
6163
7341
  path: {
7342
+ podId: string;
6164
7343
  id: string;
6165
7344
  };
6166
7345
  query?: never;
6167
- url: "/api/pods/{id}/members";
7346
+ url: "/api/pods/{podId}/databases/{id}";
6168
7347
  };
6169
- export type PodMemberAddErrors = {
7348
+ export type PodDatabaseUpdateErrors = {
6170
7349
  /**
6171
7350
  * Bad request
6172
7351
  */
@@ -6192,24 +7371,24 @@ export type PodMemberAddErrors = {
6192
7371
  error: string;
6193
7372
  };
6194
7373
  };
6195
- export type PodMemberAddError = PodMemberAddErrors[keyof PodMemberAddErrors];
6196
- export type PodMemberAddResponses = {
7374
+ export type PodDatabaseUpdateError = PodDatabaseUpdateErrors[keyof PodDatabaseUpdateErrors];
7375
+ export type PodDatabaseUpdateResponses = {
6197
7376
  /**
6198
- * Added member
7377
+ * Updated pod database
6199
7378
  */
6200
- 200: PodMember;
7379
+ 200: PodDatabase;
6201
7380
  };
6202
- export type PodMemberAddResponse = PodMemberAddResponses[keyof PodMemberAddResponses];
6203
- export type PodMemberRemoveData = {
7381
+ export type PodDatabaseUpdateResponse = PodDatabaseUpdateResponses[keyof PodDatabaseUpdateResponses];
7382
+ export type PodDatabaseArchiveData = {
6204
7383
  body?: never;
6205
7384
  path: {
7385
+ podId: string;
6206
7386
  id: string;
6207
- userId: string;
6208
7387
  };
6209
7388
  query?: never;
6210
- url: "/api/pods/{id}/members/{userId}";
7389
+ url: "/api/pods/{podId}/databases/{id}/archive";
6211
7390
  };
6212
- export type PodMemberRemoveErrors = {
7391
+ export type PodDatabaseArchiveErrors = {
6213
7392
  /**
6214
7393
  * Unauthorized
6215
7394
  */
@@ -6229,23 +7408,33 @@ export type PodMemberRemoveErrors = {
6229
7408
  error: string;
6230
7409
  };
6231
7410
  };
6232
- export type PodMemberRemoveError = PodMemberRemoveErrors[keyof PodMemberRemoveErrors];
6233
- export type PodMemberRemoveResponses = {
7411
+ export type PodDatabaseArchiveError = PodDatabaseArchiveErrors[keyof PodDatabaseArchiveErrors];
7412
+ export type PodDatabaseArchiveResponses = {
6234
7413
  /**
6235
- * Removed member
7414
+ * Archived pod database
6236
7415
  */
6237
- 200: PodMember;
7416
+ 200: PodDatabase;
6238
7417
  };
6239
- export type PodMemberRemoveResponse = PodMemberRemoveResponses[keyof PodMemberRemoveResponses];
6240
- export type PodVaultListData = {
7418
+ export type PodDatabaseArchiveResponse = PodDatabaseArchiveResponses[keyof PodDatabaseArchiveResponses];
7419
+ export type ArtifactListData = {
6241
7420
  body?: never;
6242
7421
  path: {
6243
- id: string;
7422
+ podId: string;
6244
7423
  };
6245
- query?: never;
6246
- url: "/api/pods/{id}/vaults";
7424
+ query?: {
7425
+ limit?: number;
7426
+ offset?: number;
7427
+ includeDeprecated?: boolean;
7428
+ };
7429
+ url: "/api/pods/{podId}/artifacts";
6247
7430
  };
6248
- export type PodVaultListErrors = {
7431
+ export type ArtifactListErrors = {
7432
+ /**
7433
+ * Bad request
7434
+ */
7435
+ 400: {
7436
+ error: string;
7437
+ };
6249
7438
  /**
6250
7439
  * Unauthorized
6251
7440
  */
@@ -6265,26 +7454,31 @@ export type PodVaultListErrors = {
6265
7454
  error: string;
6266
7455
  };
6267
7456
  };
6268
- export type PodVaultListError = PodVaultListErrors[keyof PodVaultListErrors];
6269
- export type PodVaultListResponses = {
7457
+ export type ArtifactListError = ArtifactListErrors[keyof ArtifactListErrors];
7458
+ export type ArtifactListResponses = {
6270
7459
  /**
6271
- * List of vault associations
7460
+ * Pod artifacts
6272
7461
  */
6273
- 200: Array<PodVault>;
7462
+ 200: Array<Artifact>;
6274
7463
  };
6275
- export type PodVaultListResponse = PodVaultListResponses[keyof PodVaultListResponses];
6276
- export type PodVaultAddData = {
7464
+ export type ArtifactListResponse = ArtifactListResponses[keyof ArtifactListResponses];
7465
+ export type ArtifactCreateData = {
6277
7466
  body?: {
6278
- vaultId: string;
6279
- priority?: number;
7467
+ /**
7468
+ * URL-friendly identifier
7469
+ */
7470
+ slug: string;
7471
+ title: string;
7472
+ description?: string;
7473
+ sourceSessionId?: string | null;
6280
7474
  };
6281
7475
  path: {
6282
- id: string;
7476
+ podId: string;
6283
7477
  };
6284
7478
  query?: never;
6285
- url: "/api/pods/{id}/vaults";
7479
+ url: "/api/pods/{podId}/artifacts";
6286
7480
  };
6287
- export type PodVaultAddErrors = {
7481
+ export type ArtifactCreateErrors = {
6288
7482
  /**
6289
7483
  * Bad request
6290
7484
  */
@@ -6309,67 +7503,31 @@ export type PodVaultAddErrors = {
6309
7503
  404: {
6310
7504
  error: string;
6311
7505
  };
6312
- };
6313
- export type PodVaultAddError = PodVaultAddErrors[keyof PodVaultAddErrors];
6314
- export type PodVaultAddResponses = {
6315
- /**
6316
- * Added vault
6317
- */
6318
- 200: PodVault;
6319
- };
6320
- export type PodVaultAddResponse = PodVaultAddResponses[keyof PodVaultAddResponses];
6321
- export type PodVaultRemoveData = {
6322
- body?: never;
6323
- path: {
6324
- id: string;
6325
- vaultId: string;
6326
- };
6327
- query?: never;
6328
- url: "/api/pods/{id}/vaults/{vaultId}";
6329
- };
6330
- export type PodVaultRemoveErrors = {
6331
- /**
6332
- * Unauthorized
6333
- */
6334
- 401: {
6335
- error: string;
6336
- };
6337
7506
  /**
6338
- * Forbidden
6339
- */
6340
- 403: {
6341
- error: string;
6342
- };
6343
- /**
6344
- * Not found
7507
+ * Conflict
6345
7508
  */
6346
- 404: {
7509
+ 409: {
6347
7510
  error: string;
6348
7511
  };
6349
7512
  };
6350
- export type PodVaultRemoveError = PodVaultRemoveErrors[keyof PodVaultRemoveErrors];
6351
- export type PodVaultRemoveResponses = {
7513
+ export type ArtifactCreateError = ArtifactCreateErrors[keyof ArtifactCreateErrors];
7514
+ export type ArtifactCreateResponses = {
6352
7515
  /**
6353
- * Removed vault
7516
+ * Created artifact
6354
7517
  */
6355
- 200: PodVault;
7518
+ 200: Artifact;
6356
7519
  };
6357
- export type PodVaultRemoveResponse = PodVaultRemoveResponses[keyof PodVaultRemoveResponses];
6358
- export type PodSandboxProvisionData = {
7520
+ export type ArtifactCreateResponse = ArtifactCreateResponses[keyof ArtifactCreateResponses];
7521
+ export type ArtifactGetData = {
6359
7522
  body?: never;
6360
7523
  path: {
6361
7524
  podId: string;
7525
+ id: string;
6362
7526
  };
6363
7527
  query?: never;
6364
- url: "/api/pods/{podId}/sandbox/provision";
7528
+ url: "/api/pods/{podId}/artifacts/{id}";
6365
7529
  };
6366
- export type PodSandboxProvisionErrors = {
6367
- /**
6368
- * Bad request
6369
- */
6370
- 400: {
6371
- error: string;
6372
- };
7530
+ export type ArtifactGetErrors = {
6373
7531
  /**
6374
7532
  * Unauthorized
6375
7533
  */
@@ -6389,23 +7547,27 @@ export type PodSandboxProvisionErrors = {
6389
7547
  error: string;
6390
7548
  };
6391
7549
  };
6392
- export type PodSandboxProvisionError = PodSandboxProvisionErrors[keyof PodSandboxProvisionErrors];
6393
- export type PodSandboxProvisionResponses = {
7550
+ export type ArtifactGetError = ArtifactGetErrors[keyof ArtifactGetErrors];
7551
+ export type ArtifactGetResponses = {
6394
7552
  /**
6395
- * Workflow started or joined
7553
+ * The artifact
6396
7554
  */
6397
- 200: PodSandboxProvisionResponse;
7555
+ 200: Artifact;
6398
7556
  };
6399
- export type PodSandboxProvisionResponse2 = PodSandboxProvisionResponses[keyof PodSandboxProvisionResponses];
6400
- export type PodSandboxTeardownData = {
6401
- body?: never;
7557
+ export type ArtifactGetResponse = ArtifactGetResponses[keyof ArtifactGetResponses];
7558
+ export type ArtifactUpdateData = {
7559
+ body?: {
7560
+ title?: string;
7561
+ description?: string;
7562
+ };
6402
7563
  path: {
6403
7564
  podId: string;
7565
+ id: string;
6404
7566
  };
6405
7567
  query?: never;
6406
- url: "/api/pods/{podId}/sandbox/teardown";
7568
+ url: "/api/pods/{podId}/artifacts/{id}";
6407
7569
  };
6408
- export type PodSandboxTeardownErrors = {
7570
+ export type ArtifactUpdateErrors = {
6409
7571
  /**
6410
7572
  * Bad request
6411
7573
  */
@@ -6431,29 +7593,24 @@ export type PodSandboxTeardownErrors = {
6431
7593
  error: string;
6432
7594
  };
6433
7595
  };
6434
- export type PodSandboxTeardownError = PodSandboxTeardownErrors[keyof PodSandboxTeardownErrors];
6435
- export type PodSandboxTeardownResponses = {
7596
+ export type ArtifactUpdateError = ArtifactUpdateErrors[keyof ArtifactUpdateErrors];
7597
+ export type ArtifactUpdateResponses = {
6436
7598
  /**
6437
- * Teardown result
7599
+ * Updated artifact
6438
7600
  */
6439
- 200: PodSandboxTeardownResponse;
7601
+ 200: Artifact;
6440
7602
  };
6441
- export type PodSandboxTeardownResponse2 = PodSandboxTeardownResponses[keyof PodSandboxTeardownResponses];
6442
- export type PodSandboxStatusData = {
7603
+ export type ArtifactUpdateResponse = ArtifactUpdateResponses[keyof ArtifactUpdateResponses];
7604
+ export type ArtifactArchiveData = {
6443
7605
  body?: never;
6444
7606
  path: {
6445
7607
  podId: string;
7608
+ id: string;
6446
7609
  };
6447
7610
  query?: never;
6448
- url: "/api/pods/{podId}/sandbox/status";
7611
+ url: "/api/pods/{podId}/artifacts/{id}/archive";
6449
7612
  };
6450
- export type PodSandboxStatusErrors = {
6451
- /**
6452
- * Bad request
6453
- */
6454
- 400: {
6455
- error: string;
6456
- };
7613
+ export type ArtifactArchiveErrors = {
6457
7614
  /**
6458
7615
  * Unauthorized
6459
7616
  */
@@ -6473,14 +7630,14 @@ export type PodSandboxStatusErrors = {
6473
7630
  error: string;
6474
7631
  };
6475
7632
  };
6476
- export type PodSandboxStatusError = PodSandboxStatusErrors[keyof PodSandboxStatusErrors];
6477
- export type PodSandboxStatusResponses = {
7633
+ export type ArtifactArchiveError = ArtifactArchiveErrors[keyof ArtifactArchiveErrors];
7634
+ export type ArtifactArchiveResponses = {
6478
7635
  /**
6479
- * Current sandbox state
7636
+ * Archived artifact
6480
7637
  */
6481
- 200: PodSandboxStatusResponse;
7638
+ 200: Artifact;
6482
7639
  };
6483
- export type PodSandboxStatusResponse2 = PodSandboxStatusResponses[keyof PodSandboxStatusResponses];
7640
+ export type ArtifactArchiveResponse = ArtifactArchiveResponses[keyof ArtifactArchiveResponses];
6484
7641
  export type ProjectListData = {
6485
7642
  body?: never;
6486
7643
  path?: never;
@@ -6489,7 +7646,7 @@ export type ProjectListData = {
6489
7646
  offset?: number;
6490
7647
  includeDeprecated?: boolean;
6491
7648
  podId?: string;
6492
- visibility?: "private" | "org";
7649
+ visibility?: "private" | "pod" | "org";
6493
7650
  };
6494
7651
  url: "/api/projects";
6495
7652
  };
@@ -6524,7 +7681,7 @@ export type ProjectCreateData = {
6524
7681
  permission?: PermissionConfig;
6525
7682
  gitRepos?: Array<ProjectGitRepo>;
6526
7683
  references?: ProjectReferences;
6527
- visibility?: "private" | "org";
7684
+ visibility?: "private" | "pod" | "org";
6528
7685
  };
6529
7686
  path?: never;
6530
7687
  query?: never;
@@ -6735,7 +7892,13 @@ export type ProjectAgentListResponse = ProjectAgentListResponses[keyof ProjectAg
6735
7892
  export type ProjectAgentAddData = {
6736
7893
  body?: {
6737
7894
  agentId: string;
7895
+ /**
7896
+ * Pin the placement to an exact agent version. null (the default) tracks the agent's latest live version; a set version ID must belong to this agent and not be archived.
7897
+ */
6738
7898
  agentVersionId?: string | null;
7899
+ /**
7900
+ * Opencode agent mode. "subagent" = the agent is only invocable as a subagent (reached via the task tool) and is isolated from project bindings it did not explicitly opt into; "all" = the agent is also directly selectable in the session and keeps its own bindings without isolation.
7901
+ */
6739
7902
  mode?: "subagent" | "all";
6740
7903
  };
6741
7904
  path: {
@@ -6769,6 +7932,12 @@ export type ProjectAgentAddErrors = {
6769
7932
  404: {
6770
7933
  error: string;
6771
7934
  };
7935
+ /**
7936
+ * Conflict
7937
+ */
7938
+ 409: {
7939
+ error: string;
7940
+ };
6772
7941
  };
6773
7942
  export type ProjectAgentAddError = ProjectAgentAddErrors[keyof ProjectAgentAddErrors];
6774
7943
  export type ProjectAgentAddResponses = {
@@ -6817,7 +7986,13 @@ export type ProjectAgentRemoveResponses = {
6817
7986
  export type ProjectAgentRemoveResponse = ProjectAgentRemoveResponses[keyof ProjectAgentRemoveResponses];
6818
7987
  export type ProjectAgentUpdateData = {
6819
7988
  body?: {
7989
+ /**
7990
+ * Pin the placement to an exact agent version. null (the default) tracks the agent's latest live version; a set version ID must belong to this agent and not be archived.
7991
+ */
6820
7992
  agentVersionId?: string | null;
7993
+ /**
7994
+ * Opencode agent mode. "subagent" = the agent is only invocable as a subagent (reached via the task tool) and is isolated from project bindings it did not explicitly opt into; "all" = the agent is also directly selectable in the session and keeps its own bindings without isolation.
7995
+ */
6821
7996
  mode?: "subagent" | "all";
6822
7997
  };
6823
7998
  path: {
@@ -6932,6 +8107,12 @@ export type ProjectFileStoreAddErrors = {
6932
8107
  404: {
6933
8108
  error: string;
6934
8109
  };
8110
+ /**
8111
+ * Conflict
8112
+ */
8113
+ 409: {
8114
+ error: string;
8115
+ };
6935
8116
  };
6936
8117
  export type ProjectFileStoreAddError = ProjectFileStoreAddErrors[keyof ProjectFileStoreAddErrors];
6937
8118
  export type ProjectFileStoreAddResponses = {
@@ -7049,6 +8230,12 @@ export type ProjectMemoryStoreAddErrors = {
7049
8230
  404: {
7050
8231
  error: string;
7051
8232
  };
8233
+ /**
8234
+ * Conflict
8235
+ */
8236
+ 409: {
8237
+ error: string;
8238
+ };
7052
8239
  };
7053
8240
  export type ProjectMemoryStoreAddError = ProjectMemoryStoreAddErrors[keyof ProjectMemoryStoreAddErrors];
7054
8241
  export type ProjectMemoryStoreAddResponses = {
@@ -7574,7 +8761,7 @@ export type ReplayListData = {
7574
8761
  offset?: number;
7575
8762
  includeDeprecated?: boolean;
7576
8763
  publisherId?: string;
7577
- visibility?: "private" | "org";
8764
+ visibility?: "private" | "pod" | "org";
7578
8765
  };
7579
8766
  url: "/api/replays";
7580
8767
  };
@@ -7606,7 +8793,7 @@ export type ReplayCreateData = {
7606
8793
  publisherId?: string | null;
7607
8794
  websiteMetadata?: WebsiteMetadata | null;
7608
8795
  shareToken?: string | null;
7609
- visibility?: "private" | "org";
8796
+ visibility?: "private" | "pod" | "org";
7610
8797
  };
7611
8798
  path?: never;
7612
8799
  query?: never;
@@ -7909,6 +9096,42 @@ export type ReplayShareResponses = {
7909
9096
  200: Replay;
7910
9097
  };
7911
9098
  export type ReplayShareResponse = ReplayShareResponses[keyof ReplayShareResponses];
9099
+ export type ResourceIconUploadData = {
9100
+ body: {
9101
+ file: Blob | File;
9102
+ };
9103
+ path?: never;
9104
+ query?: never;
9105
+ url: "/api/resource-icons";
9106
+ };
9107
+ export type ResourceIconUploadErrors = {
9108
+ /**
9109
+ * Bad request
9110
+ */
9111
+ 400: {
9112
+ error: string;
9113
+ };
9114
+ /**
9115
+ * Unauthorized
9116
+ */
9117
+ 401: {
9118
+ error: string;
9119
+ };
9120
+ /**
9121
+ * Forbidden
9122
+ */
9123
+ 403: {
9124
+ error: string;
9125
+ };
9126
+ };
9127
+ export type ResourceIconUploadError = ResourceIconUploadErrors[keyof ResourceIconUploadErrors];
9128
+ export type ResourceIconUploadResponses = {
9129
+ /**
9130
+ * Persistent resource icon URL
9131
+ */
9132
+ 200: ResourceIconUpload;
9133
+ };
9134
+ export type ResourceIconUploadResponse = ResourceIconUploadResponses[keyof ResourceIconUploadResponses];
7912
9135
  export type SessionListData = {
7913
9136
  body?: never;
7914
9137
  path?: never;
@@ -8448,7 +9671,7 @@ export type SkillListData = {
8448
9671
  /**
8449
9672
  * Restrict to a single visibility tier within the caller's scope.
8450
9673
  */
8451
- visibility?: "private" | "org";
9674
+ visibility?: "private" | "pod" | "org";
8452
9675
  /**
8453
9676
  * Case-insensitive match across name, slug, and description.
8454
9677
  */
@@ -8507,8 +9730,8 @@ export type SkillCreateData = {
8507
9730
  websiteMetadata?: WebsiteMetadata | null;
8508
9731
  version?: string;
8509
9732
  releaseNotes?: string;
8510
- requiredCredentials?: Array<RequiredCredential>;
8511
- tags?: Array<string>;
9733
+ requiredCredentials?: Array<SkillRequiredCredential>;
9734
+ tags?: Array<string> | null;
8512
9735
  /**
8513
9736
  * Skill folder as base64-encoded files. A root SKILL.md is required. Total decoded size max 10 MB.
8514
9737
  */
@@ -8537,7 +9760,7 @@ export type SkillCreateData = {
8537
9760
  */
8538
9761
  path?: string;
8539
9762
  };
8540
- visibility?: "private" | "org";
9763
+ visibility?: "private" | "pod" | "org";
8541
9764
  };
8542
9765
  path?: never;
8543
9766
  query?: never;
@@ -8627,7 +9850,7 @@ export type SkillUpdateData = {
8627
9850
  docUrl?: string | null;
8628
9851
  repository?: Repository | null;
8629
9852
  websiteMetadata?: WebsiteMetadata | null;
8630
- tags?: Array<string>;
9853
+ tags?: Array<string> | null;
8631
9854
  };
8632
9855
  path: {
8633
9856
  id: string;
@@ -8831,7 +10054,7 @@ export type SkillCopyData = {
8831
10054
  body?: {
8832
10055
  name: string;
8833
10056
  version?: string;
8834
- visibility?: "private" | "org";
10057
+ visibility?: "private" | "pod" | "org";
8835
10058
  };
8836
10059
  path: {
8837
10060
  id: string;
@@ -8974,7 +10197,7 @@ export type SkillVersionCreateData = {
8974
10197
  */
8975
10198
  version?: string | "major" | "minor" | "patch";
8976
10199
  releaseNotes?: string;
8977
- requiredCredentials?: Array<RequiredCredential>;
10200
+ requiredCredentials?: Array<SkillRequiredCredential>;
8978
10201
  /**
8979
10202
  * Skill folder as base64-encoded files. A root SKILL.md is required. Total decoded size max 10 MB.
8980
10203
  */
@@ -9311,18 +10534,19 @@ export type TopologyShareArchiveResponses = {
9311
10534
  200: TopologyShare;
9312
10535
  };
9313
10536
  export type TopologyShareArchiveResponse = TopologyShareArchiveResponses[keyof TopologyShareArchiveResponses];
9314
- export type TriggerListData = {
10537
+ export type CronTriggerListData = {
9315
10538
  body?: never;
9316
- path?: never;
9317
- query: {
10539
+ path: {
10540
+ projectId: string;
10541
+ };
10542
+ query?: {
9318
10543
  limit?: number;
9319
10544
  offset?: number;
9320
10545
  includeDeprecated?: boolean;
9321
- projectId: string;
9322
10546
  };
9323
- url: "/api/triggers";
10547
+ url: "/api/projects/{projectId}/cron-triggers";
9324
10548
  };
9325
- export type TriggerListErrors = {
10549
+ export type CronTriggerListErrors = {
9326
10550
  /**
9327
10551
  * Unauthorized
9328
10552
  */
@@ -9342,30 +10566,48 @@ export type TriggerListErrors = {
9342
10566
  error: string;
9343
10567
  };
9344
10568
  };
9345
- export type TriggerListError = TriggerListErrors[keyof TriggerListErrors];
9346
- export type TriggerListResponses = {
10569
+ export type CronTriggerListError = CronTriggerListErrors[keyof CronTriggerListErrors];
10570
+ export type CronTriggerListResponses = {
9347
10571
  /**
9348
10572
  * List of cron triggers
9349
10573
  */
9350
10574
  200: Array<CronTrigger>;
9351
10575
  };
9352
- export type TriggerListResponse = TriggerListResponses[keyof TriggerListResponses];
9353
- export type TriggerCreateData = {
10576
+ export type CronTriggerListResponse = CronTriggerListResponses[keyof CronTriggerListResponses];
10577
+ export type CronTriggerCreateData = {
9354
10578
  body?: {
9355
- projectId: string;
10579
+ /**
10580
+ * Project agent that runs the trigger; null resolves the project's ren meta agent at fire time.
10581
+ */
9356
10582
  projectAgentId?: string | null;
9357
- senderUserId?: string;
10583
+ /**
10584
+ * Prompt delivered to the agent on every fire.
10585
+ */
9358
10586
  inputMessage: string;
10587
+ /**
10588
+ * Cron expression that fires the trigger. Overlapping ticks are skipped (Temporal overlap policy SKIP).
10589
+ */
9359
10590
  schedule: string;
9360
- timezone?: string | null;
10591
+ /**
10592
+ * IANA time zone the schedule is evaluated in. Defaults to "UTC".
10593
+ */
10594
+ timezone?: string;
10595
+ /**
10596
+ * Inclusive end boundary (ISO): the exact `until` tick still fires; ticks after it are skipped.
10597
+ */
9361
10598
  until?: string | null;
10599
+ /**
10600
+ * When false the Temporal schedule is paused; changes take effect on the next sync.
10601
+ */
9362
10602
  isEnabled?: boolean;
9363
10603
  };
9364
- path?: never;
10604
+ path: {
10605
+ projectId: string;
10606
+ };
9365
10607
  query?: never;
9366
- url: "/api/triggers";
10608
+ url: "/api/projects/{projectId}/cron-triggers";
9367
10609
  };
9368
- export type TriggerCreateErrors = {
10610
+ export type CronTriggerCreateErrors = {
9369
10611
  /**
9370
10612
  * Bad request
9371
10613
  */
@@ -9391,25 +10633,24 @@ export type TriggerCreateErrors = {
9391
10633
  error: string;
9392
10634
  };
9393
10635
  };
9394
- export type TriggerCreateError = TriggerCreateErrors[keyof TriggerCreateErrors];
9395
- export type TriggerCreateResponses = {
10636
+ export type CronTriggerCreateError = CronTriggerCreateErrors[keyof CronTriggerCreateErrors];
10637
+ export type CronTriggerCreateResponses = {
9396
10638
  /**
9397
10639
  * Created cron trigger
9398
10640
  */
9399
10641
  200: CronTrigger;
9400
10642
  };
9401
- export type TriggerCreateResponse = TriggerCreateResponses[keyof TriggerCreateResponses];
9402
- export type TriggerGetData = {
10643
+ export type CronTriggerCreateResponse = CronTriggerCreateResponses[keyof CronTriggerCreateResponses];
10644
+ export type CronTriggerGetData = {
9403
10645
  body?: never;
9404
10646
  path: {
9405
- triggerId: string;
9406
- };
9407
- query: {
9408
10647
  projectId: string;
10648
+ triggerId: string;
9409
10649
  };
9410
- url: "/api/triggers/{triggerId}";
10650
+ query?: never;
10651
+ url: "/api/projects/{projectId}/cron-triggers/{triggerId}";
9411
10652
  };
9412
- export type TriggerGetErrors = {
10653
+ export type CronTriggerGetErrors = {
9413
10654
  /**
9414
10655
  * Unauthorized
9415
10656
  */
@@ -9429,32 +10670,49 @@ export type TriggerGetErrors = {
9429
10670
  error: string;
9430
10671
  };
9431
10672
  };
9432
- export type TriggerGetError = TriggerGetErrors[keyof TriggerGetErrors];
9433
- export type TriggerGetResponses = {
10673
+ export type CronTriggerGetError = CronTriggerGetErrors[keyof CronTriggerGetErrors];
10674
+ export type CronTriggerGetResponses = {
9434
10675
  /**
9435
- * Cron trigger details
10676
+ * Cron trigger details with Temporal runtime state
9436
10677
  */
9437
- 200: CronTrigger;
10678
+ 200: CronTriggerDetail;
9438
10679
  };
9439
- export type TriggerGetResponse = TriggerGetResponses[keyof TriggerGetResponses];
9440
- export type TriggerUpdateData = {
10680
+ export type CronTriggerGetResponse = CronTriggerGetResponses[keyof CronTriggerGetResponses];
10681
+ export type CronTriggerUpdateData = {
9441
10682
  body?: {
10683
+ /**
10684
+ * Project agent that runs the trigger; null resolves the project's ren meta agent at fire time.
10685
+ */
9442
10686
  projectAgentId?: string | null;
9443
- senderUserId?: string;
10687
+ /**
10688
+ * Prompt delivered to the agent on every fire.
10689
+ */
9444
10690
  inputMessage?: string;
10691
+ /**
10692
+ * Cron expression that fires the trigger. Overlapping ticks are skipped (Temporal overlap policy SKIP).
10693
+ */
9445
10694
  schedule?: string;
9446
- timezone?: string | null;
10695
+ /**
10696
+ * IANA time zone the schedule is evaluated in. Defaults to "UTC".
10697
+ */
10698
+ timezone?: string;
10699
+ /**
10700
+ * Inclusive end boundary (ISO): the exact `until` tick still fires; ticks after it are skipped.
10701
+ */
9447
10702
  until?: string | null;
10703
+ /**
10704
+ * When false the Temporal schedule is paused; changes take effect on the next sync.
10705
+ */
9448
10706
  isEnabled?: boolean;
9449
- projectId: string;
9450
10707
  };
9451
10708
  path: {
10709
+ projectId: string;
9452
10710
  triggerId: string;
9453
10711
  };
9454
10712
  query?: never;
9455
- url: "/api/triggers/{triggerId}";
10713
+ url: "/api/projects/{projectId}/cron-triggers/{triggerId}";
9456
10714
  };
9457
- export type TriggerUpdateErrors = {
10715
+ export type CronTriggerUpdateErrors = {
9458
10716
  /**
9459
10717
  * Bad request
9460
10718
  */
@@ -9480,25 +10738,24 @@ export type TriggerUpdateErrors = {
9480
10738
  error: string;
9481
10739
  };
9482
10740
  };
9483
- export type TriggerUpdateError = TriggerUpdateErrors[keyof TriggerUpdateErrors];
9484
- export type TriggerUpdateResponses = {
10741
+ export type CronTriggerUpdateError = CronTriggerUpdateErrors[keyof CronTriggerUpdateErrors];
10742
+ export type CronTriggerUpdateResponses = {
9485
10743
  /**
9486
10744
  * Updated cron trigger
9487
10745
  */
9488
10746
  200: CronTrigger;
9489
10747
  };
9490
- export type TriggerUpdateResponse = TriggerUpdateResponses[keyof TriggerUpdateResponses];
9491
- export type TriggerArchiveData = {
9492
- body?: {
9493
- projectId: string;
9494
- };
10748
+ export type CronTriggerUpdateResponse = CronTriggerUpdateResponses[keyof CronTriggerUpdateResponses];
10749
+ export type CronTriggerArchiveData = {
10750
+ body?: never;
9495
10751
  path: {
10752
+ projectId: string;
9496
10753
  triggerId: string;
9497
10754
  };
9498
10755
  query?: never;
9499
- url: "/api/triggers/{triggerId}/archive";
10756
+ url: "/api/projects/{projectId}/cron-triggers/{triggerId}/archive";
9500
10757
  };
9501
- export type TriggerArchiveErrors = {
10758
+ export type CronTriggerArchiveErrors = {
9502
10759
  /**
9503
10760
  * Unauthorized
9504
10761
  */
@@ -9518,14 +10775,14 @@ export type TriggerArchiveErrors = {
9518
10775
  error: string;
9519
10776
  };
9520
10777
  };
9521
- export type TriggerArchiveError = TriggerArchiveErrors[keyof TriggerArchiveErrors];
9522
- export type TriggerArchiveResponses = {
10778
+ export type CronTriggerArchiveError = CronTriggerArchiveErrors[keyof CronTriggerArchiveErrors];
10779
+ export type CronTriggerArchiveResponses = {
9523
10780
  /**
9524
10781
  * Archived cron trigger
9525
10782
  */
9526
10783
  200: CronTrigger;
9527
10784
  };
9528
- export type TriggerArchiveResponse = TriggerArchiveResponses[keyof TriggerArchiveResponses];
10785
+ export type CronTriggerArchiveResponse = CronTriggerArchiveResponses[keyof CronTriggerArchiveResponses];
9529
10786
  export type WebhookTriggerListData = {
9530
10787
  body?: never;
9531
10788
  path?: never;
@@ -10451,175 +11708,16 @@ export type LinearProjectsResponses = {
10451
11708
  /**
10452
11709
  * Linear projects (with a __global__ entry for issues without a project)
10453
11710
  */
10454
- 200: Array<LinearProject>;
10455
- };
10456
- export type LinearProjectsResponse = LinearProjectsResponses[keyof LinearProjectsResponses];
10457
- export type LinearMappingsListData = {
10458
- body?: never;
10459
- path?: never;
10460
- query?: never;
10461
- url: "/api/linear/mappings";
10462
- };
10463
- export type LinearMappingsListErrors = {
10464
- /**
10465
- * Unauthorized
10466
- */
10467
- 401: {
10468
- error: string;
10469
- };
10470
- /**
10471
- * Forbidden
10472
- */
10473
- 403: {
10474
- error: string;
10475
- };
10476
- };
10477
- export type LinearMappingsListError = LinearMappingsListErrors[keyof LinearMappingsListErrors];
10478
- export type LinearMappingsListResponses = {
10479
- /**
10480
- * Linear project mappings
10481
- */
10482
- 200: Array<LinearMapping>;
10483
- };
10484
- export type LinearMappingsListResponse = LinearMappingsListResponses[keyof LinearMappingsListResponses];
10485
- export type LinearMappingsCreateData = {
10486
- body?: {
10487
- renProjectId: string;
10488
- linearProjectId: string;
10489
- senderUserId: string;
10490
- projectAgentId?: string | null;
10491
- };
10492
- path?: never;
10493
- query?: never;
10494
- url: "/api/linear/mappings";
10495
- };
10496
- export type LinearMappingsCreateErrors = {
10497
- /**
10498
- * Bad request
10499
- */
10500
- 400: {
10501
- error: string;
10502
- };
10503
- /**
10504
- * Unauthorized
10505
- */
10506
- 401: {
10507
- error: string;
10508
- };
10509
- /**
10510
- * Forbidden
10511
- */
10512
- 403: {
10513
- error: string;
10514
- };
10515
- /**
10516
- * Not found
10517
- */
10518
- 404: {
10519
- error: string;
10520
- };
10521
- /**
10522
- * Conflict
10523
- */
10524
- 409: {
10525
- error: string;
10526
- };
10527
- };
10528
- export type LinearMappingsCreateError = LinearMappingsCreateErrors[keyof LinearMappingsCreateErrors];
10529
- export type LinearMappingsCreateResponses = {
10530
- /**
10531
- * Created mapping
10532
- */
10533
- 200: LinearMapping;
10534
- };
10535
- export type LinearMappingsCreateResponse = LinearMappingsCreateResponses[keyof LinearMappingsCreateResponses];
10536
- export type LinearMappingsRemoveData = {
10537
- body?: never;
10538
- path: {
10539
- triggerId: string;
10540
- };
10541
- query?: never;
10542
- url: "/api/linear/mappings/{triggerId}";
10543
- };
10544
- export type LinearMappingsRemoveErrors = {
10545
- /**
10546
- * Unauthorized
10547
- */
10548
- 401: {
10549
- error: string;
10550
- };
10551
- /**
10552
- * Forbidden
10553
- */
10554
- 403: {
10555
- error: string;
10556
- };
10557
- /**
10558
- * Not found
10559
- */
10560
- 404: {
10561
- error: string;
10562
- };
10563
- };
10564
- export type LinearMappingsRemoveError = LinearMappingsRemoveErrors[keyof LinearMappingsRemoveErrors];
10565
- export type LinearMappingsRemoveResponses = {
10566
- /**
10567
- * Removed
10568
- */
10569
- 204: void;
10570
- };
10571
- export type LinearMappingsRemoveResponse = LinearMappingsRemoveResponses[keyof LinearMappingsRemoveResponses];
10572
- export type VaultListData = {
10573
- body?: never;
10574
- path?: never;
10575
- query?: {
10576
- limit?: number;
10577
- offset?: number;
10578
- includeDeprecated?: boolean;
10579
- visibility?: "private" | "org";
10580
- };
10581
- url: "/api/vaults";
10582
- };
10583
- export type VaultListErrors = {
10584
- /**
10585
- * Unauthorized
10586
- */
10587
- 401: {
10588
- error: string;
10589
- };
10590
- /**
10591
- * Forbidden
10592
- */
10593
- 403: {
10594
- error: string;
10595
- };
10596
- };
10597
- export type VaultListError = VaultListErrors[keyof VaultListErrors];
10598
- export type VaultListResponses = {
10599
- /**
10600
- * List of vaults
10601
- */
10602
- 200: Array<Vault>;
10603
- };
10604
- export type VaultListResponse = VaultListResponses[keyof VaultListResponses];
10605
- export type VaultCreateData = {
10606
- body?: {
10607
- name: string;
10608
- description?: string;
10609
- isDefault?: boolean;
10610
- visibility?: "private" | "org";
10611
- };
11711
+ 200: Array<LinearProject>;
11712
+ };
11713
+ export type LinearProjectsResponse = LinearProjectsResponses[keyof LinearProjectsResponses];
11714
+ export type LinearMappingsListData = {
11715
+ body?: never;
10612
11716
  path?: never;
10613
11717
  query?: never;
10614
- url: "/api/vaults";
11718
+ url: "/api/linear/mappings";
10615
11719
  };
10616
- export type VaultCreateErrors = {
10617
- /**
10618
- * Bad request
10619
- */
10620
- 400: {
10621
- error: string;
10622
- };
11720
+ export type LinearMappingsListErrors = {
10623
11721
  /**
10624
11722
  * Unauthorized
10625
11723
  */
@@ -10633,23 +11731,32 @@ export type VaultCreateErrors = {
10633
11731
  error: string;
10634
11732
  };
10635
11733
  };
10636
- export type VaultCreateError = VaultCreateErrors[keyof VaultCreateErrors];
10637
- export type VaultCreateResponses = {
11734
+ export type LinearMappingsListError = LinearMappingsListErrors[keyof LinearMappingsListErrors];
11735
+ export type LinearMappingsListResponses = {
10638
11736
  /**
10639
- * Created vault
11737
+ * Linear project mappings
10640
11738
  */
10641
- 200: Vault;
11739
+ 200: Array<LinearMapping>;
10642
11740
  };
10643
- export type VaultCreateResponse = VaultCreateResponses[keyof VaultCreateResponses];
10644
- export type VaultDeleteData = {
10645
- body?: never;
10646
- path: {
10647
- id: string;
11741
+ export type LinearMappingsListResponse = LinearMappingsListResponses[keyof LinearMappingsListResponses];
11742
+ export type LinearMappingsCreateData = {
11743
+ body?: {
11744
+ renProjectId: string;
11745
+ linearProjectId: string;
11746
+ senderUserId: string;
11747
+ projectAgentId?: string | null;
10648
11748
  };
11749
+ path?: never;
10649
11750
  query?: never;
10650
- url: "/api/vaults/{id}";
11751
+ url: "/api/linear/mappings";
10651
11752
  };
10652
- export type VaultDeleteErrors = {
11753
+ export type LinearMappingsCreateErrors = {
11754
+ /**
11755
+ * Bad request
11756
+ */
11757
+ 400: {
11758
+ error: string;
11759
+ };
10653
11760
  /**
10654
11761
  * Unauthorized
10655
11762
  */
@@ -10668,24 +11775,30 @@ export type VaultDeleteErrors = {
10668
11775
  404: {
10669
11776
  error: string;
10670
11777
  };
11778
+ /**
11779
+ * Conflict
11780
+ */
11781
+ 409: {
11782
+ error: string;
11783
+ };
10671
11784
  };
10672
- export type VaultDeleteError = VaultDeleteErrors[keyof VaultDeleteErrors];
10673
- export type VaultDeleteResponses = {
11785
+ export type LinearMappingsCreateError = LinearMappingsCreateErrors[keyof LinearMappingsCreateErrors];
11786
+ export type LinearMappingsCreateResponses = {
10674
11787
  /**
10675
- * Deleted vault
11788
+ * Created mapping
10676
11789
  */
10677
- 200: Vault;
11790
+ 200: LinearMapping;
10678
11791
  };
10679
- export type VaultDeleteResponse = VaultDeleteResponses[keyof VaultDeleteResponses];
10680
- export type VaultGetData = {
11792
+ export type LinearMappingsCreateResponse = LinearMappingsCreateResponses[keyof LinearMappingsCreateResponses];
11793
+ export type LinearMappingsRemoveData = {
10681
11794
  body?: never;
10682
11795
  path: {
10683
- id: string;
11796
+ triggerId: string;
10684
11797
  };
10685
11798
  query?: never;
10686
- url: "/api/vaults/{id}";
11799
+ url: "/api/linear/mappings/{triggerId}";
10687
11800
  };
10688
- export type VaultGetErrors = {
11801
+ export type LinearMappingsRemoveErrors = {
10689
11802
  /**
10690
11803
  * Unauthorized
10691
11804
  */
@@ -10705,32 +11818,26 @@ export type VaultGetErrors = {
10705
11818
  error: string;
10706
11819
  };
10707
11820
  };
10708
- export type VaultGetError = VaultGetErrors[keyof VaultGetErrors];
10709
- export type VaultGetResponses = {
11821
+ export type LinearMappingsRemoveError = LinearMappingsRemoveErrors[keyof LinearMappingsRemoveErrors];
11822
+ export type LinearMappingsRemoveResponses = {
10710
11823
  /**
10711
- * Vault details
11824
+ * Removed
10712
11825
  */
10713
- 200: Vault;
11826
+ 204: void;
10714
11827
  };
10715
- export type VaultGetResponse = VaultGetResponses[keyof VaultGetResponses];
10716
- export type VaultUpdateData = {
10717
- body?: {
10718
- name?: string;
10719
- description?: string;
10720
- };
10721
- path: {
10722
- id: string;
11828
+ export type LinearMappingsRemoveResponse = LinearMappingsRemoveResponses[keyof LinearMappingsRemoveResponses];
11829
+ export type VaultListData = {
11830
+ body?: never;
11831
+ path?: never;
11832
+ query?: {
11833
+ limit?: number;
11834
+ offset?: number;
11835
+ includeDeprecated?: boolean;
11836
+ visibility?: "private" | "pod" | "org";
10723
11837
  };
10724
- query?: never;
10725
- url: "/api/vaults/{id}";
11838
+ url: "/api/vaults";
10726
11839
  };
10727
- export type VaultUpdateErrors = {
10728
- /**
10729
- * Bad request
10730
- */
10731
- 400: {
10732
- error: string;
10733
- };
11840
+ export type VaultListErrors = {
10734
11841
  /**
10735
11842
  * Unauthorized
10736
11843
  */
@@ -10743,30 +11850,24 @@ export type VaultUpdateErrors = {
10743
11850
  403: {
10744
11851
  error: string;
10745
11852
  };
10746
- /**
10747
- * Not found
10748
- */
10749
- 404: {
10750
- error: string;
10751
- };
10752
11853
  };
10753
- export type VaultUpdateError = VaultUpdateErrors[keyof VaultUpdateErrors];
10754
- export type VaultUpdateResponses = {
11854
+ export type VaultListError = VaultListErrors[keyof VaultListErrors];
11855
+ export type VaultListResponses = {
10755
11856
  /**
10756
- * Updated vault
11857
+ * List of vaults
10757
11858
  */
10758
- 200: Vault;
11859
+ 200: Array<Vault>;
10759
11860
  };
10760
- export type VaultUpdateResponse = VaultUpdateResponses[keyof VaultUpdateResponses];
10761
- export type VaultArchiveData = {
11861
+ export type VaultListResponse = VaultListResponses[keyof VaultListResponses];
11862
+ export type VaultGetData = {
10762
11863
  body?: never;
10763
11864
  path: {
10764
11865
  id: string;
10765
11866
  };
10766
11867
  query?: never;
10767
- url: "/api/vaults/{id}/archive";
11868
+ url: "/api/vaults/{id}";
10768
11869
  };
10769
- export type VaultArchiveErrors = {
11870
+ export type VaultGetErrors = {
10770
11871
  /**
10771
11872
  * Unauthorized
10772
11873
  */
@@ -10786,14 +11887,14 @@ export type VaultArchiveErrors = {
10786
11887
  error: string;
10787
11888
  };
10788
11889
  };
10789
- export type VaultArchiveError = VaultArchiveErrors[keyof VaultArchiveErrors];
10790
- export type VaultArchiveResponses = {
11890
+ export type VaultGetError = VaultGetErrors[keyof VaultGetErrors];
11891
+ export type VaultGetResponses = {
10791
11892
  /**
10792
- * Archived vault
11893
+ * Vault details
10793
11894
  */
10794
- 200: Vault;
11895
+ 200: VaultDetail;
10795
11896
  };
10796
- export type VaultArchiveResponse = VaultArchiveResponses[keyof VaultArchiveResponses];
11897
+ export type VaultGetResponse = VaultGetResponses[keyof VaultGetResponses];
10797
11898
  export type CredentialListData = {
10798
11899
  body?: never;
10799
11900
  path: {
@@ -10835,12 +11936,7 @@ export type CredentialListResponses = {
10835
11936
  };
10836
11937
  export type CredentialListResponse = CredentialListResponses[keyof CredentialListResponses];
10837
11938
  export type CredentialCreateData = {
10838
- body?: {
10839
- name: string;
10840
- mcpId?: string | null;
10841
- label?: string | null;
10842
- auth: CredentialAuth;
10843
- };
11939
+ body?: CreateCredentialBody;
10844
11940
  path: {
10845
11941
  vaultId: string;
10846
11942
  };
@@ -11001,43 +12097,6 @@ export type CredentialUpdateResponses = {
11001
12097
  200: Credential;
11002
12098
  };
11003
12099
  export type CredentialUpdateResponse = CredentialUpdateResponses[keyof CredentialUpdateResponses];
11004
- export type CredentialArchiveData = {
11005
- body?: never;
11006
- path: {
11007
- vaultId: string;
11008
- id: string;
11009
- };
11010
- query?: never;
11011
- url: "/api/vaults/{vaultId}/credentials/{id}/archive";
11012
- };
11013
- export type CredentialArchiveErrors = {
11014
- /**
11015
- * Unauthorized
11016
- */
11017
- 401: {
11018
- error: string;
11019
- };
11020
- /**
11021
- * Forbidden
11022
- */
11023
- 403: {
11024
- error: string;
11025
- };
11026
- /**
11027
- * Not found
11028
- */
11029
- 404: {
11030
- error: string;
11031
- };
11032
- };
11033
- export type CredentialArchiveError = CredentialArchiveErrors[keyof CredentialArchiveErrors];
11034
- export type CredentialArchiveResponses = {
11035
- /**
11036
- * Archived credential
11037
- */
11038
- 200: Credential;
11039
- };
11040
- export type CredentialArchiveResponse = CredentialArchiveResponses[keyof CredentialArchiveResponses];
11041
12100
  export type CredentialTransferData = {
11042
12101
  body?: CredentialTransferInput;
11043
12102
  path: {
@@ -11087,15 +12146,15 @@ export type CredentialTransferResponses = {
11087
12146
  200: CredentialTransferResult;
11088
12147
  };
11089
12148
  export type CredentialTransferResponse = CredentialTransferResponses[keyof CredentialTransferResponses];
11090
- export type CredentialOauthStartData = {
11091
- body?: OAuthStartInput;
12149
+ export type CredentialOauthConnectData = {
12150
+ body?: OAuthConnectBody;
11092
12151
  path: {
11093
12152
  vaultId: string;
11094
12153
  };
11095
12154
  query?: never;
11096
- url: "/api/vaults/{vaultId}/credentials/oauth/start";
12155
+ url: "/api/vaults/{vaultId}/oauth/connect";
11097
12156
  };
11098
- export type CredentialOauthStartErrors = {
12157
+ export type CredentialOauthConnectErrors = {
11099
12158
  /**
11100
12159
  * Bad request
11101
12160
  */
@@ -11121,22 +12180,21 @@ export type CredentialOauthStartErrors = {
11121
12180
  error: string;
11122
12181
  };
11123
12182
  };
11124
- export type CredentialOauthStartError = CredentialOauthStartErrors[keyof CredentialOauthStartErrors];
11125
- export type CredentialOauthStartResponses = {
12183
+ export type CredentialOauthConnectError = CredentialOauthConnectErrors[keyof CredentialOauthConnectErrors];
12184
+ export type CredentialOauthConnectResponses = {
11126
12185
  /**
11127
- * Authorization URL for the user to visit
12186
+ * OAuth connect result
11128
12187
  */
11129
- 200: OAuthStartResult;
12188
+ 200: OAuthConnectResult;
11130
12189
  };
11131
- export type CredentialOauthStartResponse = CredentialOauthStartResponses[keyof CredentialOauthStartResponses];
12190
+ export type CredentialOauthConnectResponse = CredentialOauthConnectResponses[keyof CredentialOauthConnectResponses];
11132
12191
  export type CredentialOauthSessionData = {
11133
12192
  body?: never;
11134
12193
  path: {
11135
- vaultId: string;
11136
12194
  sessionId: string;
11137
12195
  };
11138
12196
  query?: never;
11139
- url: "/api/vaults/{vaultId}/oauth/sessions/{sessionId}";
12197
+ url: "/api/vaults/oauth/sessions/{sessionId}";
11140
12198
  };
11141
12199
  export type CredentialOauthSessionErrors = {
11142
12200
  /**
@@ -11318,6 +12376,32 @@ export type RegistryMcpGetResponses = {
11318
12376
  200: Mcp;
11319
12377
  };
11320
12378
  export type RegistryMcpGetResponse = RegistryMcpGetResponses[keyof RegistryMcpGetResponses];
12379
+ export type RegistryBlueprintListData = {
12380
+ body?: never;
12381
+ path?: never;
12382
+ query?: {
12383
+ limit?: number;
12384
+ offset?: number;
12385
+ includeDeprecated?: boolean;
12386
+ };
12387
+ url: "/api/registry/blueprints";
12388
+ };
12389
+ export type RegistryBlueprintListErrors = {
12390
+ /**
12391
+ * Bad request
12392
+ */
12393
+ 400: {
12394
+ error: string;
12395
+ };
12396
+ };
12397
+ export type RegistryBlueprintListError = RegistryBlueprintListErrors[keyof RegistryBlueprintListErrors];
12398
+ export type RegistryBlueprintListResponses = {
12399
+ /**
12400
+ * Published blueprint list
12401
+ */
12402
+ 200: Array<BlueprintPublicListItem>;
12403
+ };
12404
+ export type RegistryBlueprintListResponse = RegistryBlueprintListResponses[keyof RegistryBlueprintListResponses];
11321
12405
  export type RegistryBlueprintGetData = {
11322
12406
  body?: never;
11323
12407
  path: {
@@ -11372,6 +12456,130 @@ export type RegistryPublisherGetResponses = {
11372
12456
  200: PublisherPublicView;
11373
12457
  };
11374
12458
  export type RegistryPublisherGetResponse = RegistryPublisherGetResponses[keyof RegistryPublisherGetResponses];
12459
+ export type RegistryPublisherBlueprintsData = {
12460
+ body?: never;
12461
+ path: {
12462
+ /**
12463
+ * URL-friendly identifier
12464
+ */
12465
+ slug: string;
12466
+ };
12467
+ query?: {
12468
+ limit?: number;
12469
+ offset?: number;
12470
+ includeDeprecated?: boolean;
12471
+ };
12472
+ url: "/api/registry/publishers/{slug}/blueprints";
12473
+ };
12474
+ export type RegistryPublisherBlueprintsErrors = {
12475
+ /**
12476
+ * Not found
12477
+ */
12478
+ 404: {
12479
+ error: string;
12480
+ };
12481
+ };
12482
+ export type RegistryPublisherBlueprintsError = RegistryPublisherBlueprintsErrors[keyof RegistryPublisherBlueprintsErrors];
12483
+ export type RegistryPublisherBlueprintsResponses = {
12484
+ /**
12485
+ * Published blueprint list for the publisher
12486
+ */
12487
+ 200: Array<BlueprintPublicListItem>;
12488
+ };
12489
+ export type RegistryPublisherBlueprintsResponse = RegistryPublisherBlueprintsResponses[keyof RegistryPublisherBlueprintsResponses];
12490
+ export type RegistryPublisherSkillsData = {
12491
+ body?: never;
12492
+ path: {
12493
+ /**
12494
+ * URL-friendly identifier
12495
+ */
12496
+ slug: string;
12497
+ };
12498
+ query?: {
12499
+ limit?: number;
12500
+ offset?: number;
12501
+ includeDeprecated?: boolean;
12502
+ };
12503
+ url: "/api/registry/publishers/{slug}/skills";
12504
+ };
12505
+ export type RegistryPublisherSkillsErrors = {
12506
+ /**
12507
+ * Not found
12508
+ */
12509
+ 404: {
12510
+ error: string;
12511
+ };
12512
+ };
12513
+ export type RegistryPublisherSkillsError = RegistryPublisherSkillsErrors[keyof RegistryPublisherSkillsErrors];
12514
+ export type RegistryPublisherSkillsResponses = {
12515
+ /**
12516
+ * Published skill list for the publisher
12517
+ */
12518
+ 200: Array<Skill>;
12519
+ };
12520
+ export type RegistryPublisherSkillsResponse = RegistryPublisherSkillsResponses[keyof RegistryPublisherSkillsResponses];
12521
+ export type RegistryPublisherAgentsData = {
12522
+ body?: never;
12523
+ path: {
12524
+ /**
12525
+ * URL-friendly identifier
12526
+ */
12527
+ slug: string;
12528
+ };
12529
+ query?: {
12530
+ limit?: number;
12531
+ offset?: number;
12532
+ includeDeprecated?: boolean;
12533
+ };
12534
+ url: "/api/registry/publishers/{slug}/agents";
12535
+ };
12536
+ export type RegistryPublisherAgentsErrors = {
12537
+ /**
12538
+ * Not found
12539
+ */
12540
+ 404: {
12541
+ error: string;
12542
+ };
12543
+ };
12544
+ export type RegistryPublisherAgentsError = RegistryPublisherAgentsErrors[keyof RegistryPublisherAgentsErrors];
12545
+ export type RegistryPublisherAgentsResponses = {
12546
+ /**
12547
+ * Published agent list for the publisher
12548
+ */
12549
+ 200: Array<Agent>;
12550
+ };
12551
+ export type RegistryPublisherAgentsResponse = RegistryPublisherAgentsResponses[keyof RegistryPublisherAgentsResponses];
12552
+ export type RegistryPublisherMcpsData = {
12553
+ body?: never;
12554
+ path: {
12555
+ /**
12556
+ * URL-friendly identifier
12557
+ */
12558
+ slug: string;
12559
+ };
12560
+ query?: {
12561
+ limit?: number;
12562
+ offset?: number;
12563
+ includeDeprecated?: boolean;
12564
+ };
12565
+ url: "/api/registry/publishers/{slug}/mcps";
12566
+ };
12567
+ export type RegistryPublisherMcpsErrors = {
12568
+ /**
12569
+ * Not found
12570
+ */
12571
+ 404: {
12572
+ error: string;
12573
+ };
12574
+ };
12575
+ export type RegistryPublisherMcpsError = RegistryPublisherMcpsErrors[keyof RegistryPublisherMcpsErrors];
12576
+ export type RegistryPublisherMcpsResponses = {
12577
+ /**
12578
+ * Published MCP list for the publisher
12579
+ */
12580
+ 200: Array<Mcp>;
12581
+ };
12582
+ export type RegistryPublisherMcpsResponse = RegistryPublisherMcpsResponses[keyof RegistryPublisherMcpsResponses];
11375
12583
  export type RegistryReplayGetData = {
11376
12584
  body?: never;
11377
12585
  path: {