@renai-labs/sdk 0.1.8 → 0.1.10

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.
@@ -273,6 +273,20 @@ export type Vault = {
273
273
  updatedAt: string;
274
274
  archivedAt: string | null;
275
275
  };
276
+ export type ProjectEmailResponse = {
277
+ id: string;
278
+ orgId: string;
279
+ podId: string;
280
+ projectId: string;
281
+ defaultProjectAgentId: string | null;
282
+ fallbackSenderUserId: string | null;
283
+ localPart: string;
284
+ createdAt: string;
285
+ updatedAt: string;
286
+ archivedAt: string | null;
287
+ address: string;
288
+ projectName: string | null;
289
+ };
276
290
  export type SlackChannel = {
277
291
  id: string;
278
292
  name: string;
@@ -334,66 +348,352 @@ export type CronTrigger = {
334
348
  updatedAt: string;
335
349
  archivedAt: string | null;
336
350
  };
351
+ export type TopologyShare = {
352
+ id: string;
353
+ shareToken: string;
354
+ orgId: string;
355
+ userId: string | null;
356
+ createdAt: string;
357
+ updatedAt: string;
358
+ archivedAt: string | null;
359
+ };
337
360
  export type Topology = {
338
- surfaces: Array<{
361
+ meta: {
362
+ /**
363
+ * Org display name.
364
+ */
365
+ org: string;
366
+ /**
367
+ * Ren org id (org_…) this spec provisions into.
368
+ */
369
+ orgId: string;
370
+ /**
371
+ * Ren user id (usr_…) of the onboarding owner.
372
+ */
373
+ ownerUserId?: string;
374
+ /**
375
+ * Semver of this spec document.
376
+ */
377
+ specVersion?: string;
378
+ /**
379
+ * Date this spec was generated from live state.
380
+ */
381
+ snapshotDate?: string;
382
+ notes?: string;
383
+ };
384
+ agents: Array<{
385
+ /**
386
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
387
+ */
339
388
  id: string;
340
- kind: "mcp" | "cron" | "webhook" | "slack" | "github";
389
+ /**
390
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
391
+ */
392
+ slug: string;
341
393
  name: string;
394
+ /**
395
+ * Ren model id, e.g. opus-4-8, sonnet-4-6, haiku-4-5.
396
+ */
397
+ model?: string;
398
+ /**
399
+ * Visibility tier. Pods/projects/entities are created with the matching scope flag.
400
+ */
401
+ scope?: "org" | "user" | "registry";
402
+ /**
403
+ * Logo URL, for rendering.
404
+ */
342
405
  icon?: string;
343
- tags: Array<string>;
344
- ports: Array<{
345
- id: string;
346
- label: string;
347
- targetProjectId: string;
348
- }>;
349
- vaultIds: Array<string>;
406
+ /**
407
+ * Pointer to the agent's system prompt (not inlined here).
408
+ */
409
+ promptRef?: string;
410
+ /**
411
+ * Skill slugs attached to this agent.
412
+ */
413
+ skills?: Array<string>;
414
+ /**
415
+ * MCP slugs wired to this agent.
416
+ */
417
+ mcps?: Array<string>;
418
+ notes?: string;
350
419
  }>;
351
- pods: Array<{
420
+ mcps?: Array<{
421
+ /**
422
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
423
+ */
352
424
  id: string;
425
+ /**
426
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
427
+ */
428
+ slug: string;
353
429
  name: string;
354
- isPrivate: boolean;
430
+ /**
431
+ * Slug in the Ren MCP registry, if a registry MCP.
432
+ */
433
+ registrySlug?: string;
434
+ /**
435
+ * For a custom (non-registry) remote MCP server.
436
+ */
437
+ remoteUrl?: string;
438
+ auth?: "oauth" | "basic" | "api_key" | "none";
439
+ /**
440
+ * Slug of the credential this MCP needs.
441
+ */
442
+ credential?: string;
443
+ /**
444
+ * Logo URL, for rendering.
445
+ */
446
+ icon?: string;
447
+ /**
448
+ * Tag names, for rendering / filtering.
449
+ */
450
+ tags?: Array<string>;
451
+ notes?: string;
355
452
  }>;
356
- projects: Array<{
453
+ skills?: Array<{
454
+ /**
455
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
456
+ */
357
457
  id: string;
358
- podId: string;
458
+ /**
459
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
460
+ */
461
+ slug: string;
462
+ source?: "registry" | "org" | "user";
463
+ notes?: string;
464
+ }>;
465
+ credentials?: Array<{
466
+ /**
467
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
468
+ */
469
+ id: string;
470
+ /**
471
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
472
+ */
473
+ slug: string;
474
+ /**
475
+ * What the credential is for, e.g. "github", "apollo".
476
+ */
477
+ provider: string;
478
+ authType?: "oauth" | "basic" | "api_key" | "env";
479
+ /**
480
+ * Slug of the vault this credential lives in.
481
+ */
482
+ vault: string;
483
+ notes?: string;
484
+ }>;
485
+ vaults?: Array<{
486
+ /**
487
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
488
+ */
489
+ id: string;
490
+ /**
491
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
492
+ */
493
+ slug: string;
359
494
  name: string;
360
- agents: Array<{
361
- id: string;
362
- name: string;
363
- icon?: string;
364
- model?: string;
365
- }>;
366
- skillsCount: number;
495
+ /**
496
+ * Visibility tier. Pods/projects/entities are created with the matching scope flag.
497
+ */
498
+ scope: "org" | "user" | "registry";
499
+ /**
500
+ * Slugs of pods this vault attaches to.
501
+ */
502
+ attachedPods?: Array<string>;
503
+ notes?: string;
367
504
  }>;
368
- vaults: Array<{
505
+ fileStores?: Array<{
506
+ /**
507
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
508
+ */
369
509
  id: string;
510
+ /**
511
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
512
+ */
513
+ slug: string;
370
514
  name: string;
371
- podIds: Array<string>;
372
- credentials: Array<{
373
- id: string;
374
- label: string;
375
- forSurfaceId?: string;
376
- provider?: string;
377
- }>;
515
+ /**
516
+ * Visibility tier. Pods/projects/entities are created with the matching scope flag.
517
+ */
518
+ scope: "org" | "user" | "registry";
519
+ notes?: string;
378
520
  }>;
379
- stores: Array<{
521
+ memoryStores?: Array<{
522
+ /**
523
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
524
+ */
380
525
  id: string;
381
- kind: "file" | "memory";
526
+ /**
527
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
528
+ */
529
+ slug: string;
382
530
  name: string;
383
- mounts: Array<{
384
- projectId: string;
385
- }>;
531
+ /**
532
+ * Visibility tier. Pods/projects/entities are created with the matching scope flag.
533
+ */
534
+ scope: "org" | "user" | "registry";
535
+ notes?: string;
386
536
  }>;
387
- env: {
537
+ pods: Array<{
538
+ /**
539
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
540
+ */
388
541
  id: string;
389
- } | null;
390
- edges: Array<{
542
+ /**
543
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
544
+ */
545
+ slug: string;
546
+ name: string;
547
+ /**
548
+ * Visibility tier. Pods/projects/entities are created with the matching scope flag.
549
+ */
550
+ scope?: "org" | "user" | "registry";
551
+ /**
552
+ * Slugs of vaults attached to this pod (priority order).
553
+ */
554
+ vaults?: Array<string>;
555
+ notes?: string;
556
+ }>;
557
+ projects: Array<{
558
+ /**
559
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
560
+ */
391
561
  id: string;
392
- kind: "route" | "state" | "cred";
393
- sourceId: string;
394
- sourcePortId?: string;
395
- targetId: string;
396
- targetCredId?: string;
562
+ /**
563
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
564
+ */
565
+ slug: string;
566
+ name: string;
567
+ /**
568
+ * Slug of the pod this project lives in.
569
+ */
570
+ pod: string;
571
+ buildOrder?: number;
572
+ /**
573
+ * Slack channel name this project maps to.
574
+ */
575
+ slackChannel?: string;
576
+ /**
577
+ * Slug of the project's primary agent.
578
+ */
579
+ primaryAgent?: string;
580
+ subAgents?: Array<string>;
581
+ fileStores?: Array<string>;
582
+ memoryStores?: Array<string>;
583
+ restricted?: boolean;
584
+ requirements?: Array<{
585
+ /**
586
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
587
+ */
588
+ id: string;
589
+ kind: "agent_attached" | "skill_attached" | "mcp_wired" | "credential_present" | "trigger_configured" | "slack_mapped" | "file_store_attached" | "memory_store_attached" | "vault_attached" | "capability" | "other";
590
+ /**
591
+ * Plain-language statement of exactly what must be true.
592
+ */
593
+ must: string;
594
+ /**
595
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
596
+ */
597
+ agent?: string;
598
+ /**
599
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
600
+ */
601
+ mcp?: string;
602
+ /**
603
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
604
+ */
605
+ skill?: string;
606
+ /**
607
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
608
+ */
609
+ credential?: string;
610
+ /**
611
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
612
+ */
613
+ trigger?: string;
614
+ /**
615
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
616
+ */
617
+ vault?: string;
618
+ /**
619
+ * Slug of the file/memory store this requirement is about.
620
+ */
621
+ store?: string;
622
+ channel?: string;
623
+ blocking?: boolean;
624
+ reason?: string;
625
+ /**
626
+ * Exact way to confirm it live via the ren CLI.
627
+ */
628
+ verify?: string;
629
+ blockedBy?: string;
630
+ }>;
631
+ notes?: string;
632
+ }>;
633
+ slack?: {
634
+ workspace?: string;
635
+ teamId?: string;
636
+ installationId?: string;
637
+ botUserId?: string;
638
+ channels: Array<{
639
+ /**
640
+ * Channel name including the leading #, e.g. "#bugs".
641
+ */
642
+ name: string;
643
+ id?: string;
644
+ /**
645
+ * Slug of the project this channel maps to, or null if unmapped.
646
+ */
647
+ project: string | null;
648
+ }>;
649
+ };
650
+ /**
651
+ * GitHub repos bound to projects. Non-native to the upstream spec; a first-class Ren concept.
652
+ */
653
+ github?: {
654
+ /**
655
+ * Ren GitHub installation id (ghi_…).
656
+ */
657
+ installationId?: string;
658
+ repos: Array<{
659
+ /**
660
+ * The owner/repo the agent works in.
661
+ */
662
+ name: string;
663
+ /**
664
+ * Slug of the project this repo is bound to.
665
+ */
666
+ project: string;
667
+ baseBranch?: string;
668
+ }>;
669
+ };
670
+ triggers?: Array<{
671
+ /**
672
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
673
+ */
674
+ id: string;
675
+ /**
676
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
677
+ */
678
+ slug: string;
679
+ /**
680
+ * Slug of the project whose primary agent this trigger fires.
681
+ */
682
+ project: string;
683
+ /**
684
+ * Cron expression, e.g. "0 9 * * 1".
685
+ */
686
+ schedule: string;
687
+ /**
688
+ * IANA tz, e.g. "Asia/Kolkata".
689
+ */
690
+ timezone?: string;
691
+ /**
692
+ * Fixed prompt delivered to the primary agent on each fire.
693
+ */
694
+ inputMessage: string;
695
+ enabled?: boolean;
696
+ notes?: string;
397
697
  }>;
398
698
  };
399
699
  export type SkillVersion = {
@@ -507,6 +807,9 @@ export type SessionMessagesPage = {
507
807
  };
508
808
  export type SessionUrlResponse = {
509
809
  url: string;
810
+ authedUrl: string;
811
+ serverPassword: string;
812
+ username: string;
510
813
  };
511
814
  export type OpencodeSession = {
512
815
  id: string;
@@ -1004,6 +1307,25 @@ export type AgentVersion = {
1004
1307
  model: string | null;
1005
1308
  releaseNotes: string | null;
1006
1309
  permission: PermissionConfig;
1310
+ skills?: Array<{
1311
+ skillId: string;
1312
+ skillVersionId?: string | null;
1313
+ skill: {
1314
+ id: string;
1315
+ slug: string;
1316
+ name: string;
1317
+ icon: string | null;
1318
+ };
1319
+ }>;
1320
+ mcps?: Array<{
1321
+ mcpId: string;
1322
+ mcp: {
1323
+ id: string;
1324
+ slug: string;
1325
+ name: string;
1326
+ icon: string | null;
1327
+ };
1328
+ }>;
1007
1329
  };
1008
1330
  export type SearchResult = {
1009
1331
  id: string;
@@ -1047,6 +1369,7 @@ export type AgentListData = {
1047
1369
  scope?: "user";
1048
1370
  limit?: number;
1049
1371
  offset?: number;
1372
+ includeDeprecated?: boolean;
1050
1373
  };
1051
1374
  url: "/api/agents";
1052
1375
  };
@@ -1486,6 +1809,7 @@ export type AgentVersionListData = {
1486
1809
  scope?: "user";
1487
1810
  limit?: number;
1488
1811
  offset?: number;
1812
+ includeDeprecated?: boolean;
1489
1813
  };
1490
1814
  url: "/api/agents/{id}/versions";
1491
1815
  };
@@ -1672,6 +1996,7 @@ export type BlueprintListData = {
1672
1996
  scope?: "user";
1673
1997
  limit?: number;
1674
1998
  offset?: number;
1999
+ includeDeprecated?: boolean;
1675
2000
  };
1676
2001
  url: "/api/blueprints";
1677
2002
  };
@@ -2304,6 +2629,7 @@ export type EnvironmentListData = {
2304
2629
  orgId?: string;
2305
2630
  limit?: number;
2306
2631
  offset?: number;
2632
+ includeDeprecated?: boolean;
2307
2633
  userId?: string | null;
2308
2634
  };
2309
2635
  url: "/api/environments";
@@ -2561,6 +2887,7 @@ export type FileStoreListData = {
2561
2887
  orgId?: string;
2562
2888
  limit?: number;
2563
2889
  offset?: number;
2890
+ includeDeprecated?: boolean;
2564
2891
  userId?: string | null;
2565
2892
  };
2566
2893
  url: "/api/file-stores";
@@ -3399,6 +3726,7 @@ export type McpListData = {
3399
3726
  scope?: "user";
3400
3727
  limit?: number;
3401
3728
  offset?: number;
3729
+ includeDeprecated?: boolean;
3402
3730
  sort?: "popular" | "trending" | "recent";
3403
3731
  };
3404
3732
  url: "/api/mcps";
@@ -3428,6 +3756,7 @@ export type McpListResponse = McpListResponses[keyof McpListResponses];
3428
3756
  export type McpCreateData = {
3429
3757
  body?: {
3430
3758
  name: string;
3759
+ slug?: string;
3431
3760
  description?: string;
3432
3761
  icon?: string | null;
3433
3762
  mcpServerUrl?: string | null;
@@ -3982,6 +4311,7 @@ export type MemoryStoreListData = {
3982
4311
  orgId?: string;
3983
4312
  limit?: number;
3984
4313
  offset?: number;
4314
+ includeDeprecated?: boolean;
3985
4315
  userId?: string | null;
3986
4316
  };
3987
4317
  url: "/api/memory-stores";
@@ -4652,6 +4982,7 @@ export type PodListData = {
4652
4982
  orgId?: string;
4653
4983
  limit?: number;
4654
4984
  offset?: number;
4985
+ includeDeprecated?: boolean;
4655
4986
  userId?: string | null;
4656
4987
  };
4657
4988
  url: "/api/pods";
@@ -5227,6 +5558,7 @@ export type ProjectListData = {
5227
5558
  scope?: "user";
5228
5559
  limit?: number;
5229
5560
  offset?: number;
5561
+ includeDeprecated?: boolean;
5230
5562
  podId?: string;
5231
5563
  };
5232
5564
  url: "/api/projects";
@@ -6077,6 +6409,7 @@ export type ReplayListData = {
6077
6409
  scope?: "user";
6078
6410
  limit?: number;
6079
6411
  offset?: number;
6412
+ includeDeprecated?: boolean;
6080
6413
  publisherId?: string;
6081
6414
  };
6082
6415
  url: "/api/replays";
@@ -6464,6 +6797,7 @@ export type SessionListData = {
6464
6797
  createdById?: string;
6465
6798
  limit?: number;
6466
6799
  offset?: number;
6800
+ includeDeprecated?: boolean;
6467
6801
  };
6468
6802
  url: "/api/sessions";
6469
6803
  };
@@ -6909,6 +7243,7 @@ export type SkillListData = {
6909
7243
  scope?: "user";
6910
7244
  limit?: number;
6911
7245
  offset?: number;
7246
+ includeDeprecated?: boolean;
6912
7247
  sort?: "popular" | "trending" | "recent";
6913
7248
  };
6914
7249
  url: "/api/skills";
@@ -6937,6 +7272,7 @@ export type SkillListResponses = {
6937
7272
  export type SkillListResponse = SkillListResponses[keyof SkillListResponses];
6938
7273
  export type SkillCreateData = {
6939
7274
  body: {
7275
+ slug?: string;
6940
7276
  name: string;
6941
7277
  description?: string;
6942
7278
  icon?: string;
@@ -7403,6 +7739,7 @@ export type SkillVersionListData = {
7403
7739
  scope?: "user";
7404
7740
  limit?: number;
7405
7741
  offset?: number;
7742
+ includeDeprecated?: boolean;
7406
7743
  };
7407
7744
  url: "/api/skills/{id}/versions";
7408
7745
  };
@@ -7675,6 +8012,122 @@ export type TopologyGetResponses = {
7675
8012
  200: Topology;
7676
8013
  };
7677
8014
  export type TopologyGetResponse = TopologyGetResponses[keyof TopologyGetResponses];
8015
+ export type TopologyShareListData = {
8016
+ body?: never;
8017
+ path?: never;
8018
+ query?: {
8019
+ /**
8020
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8021
+ */
8022
+ scope?: "user";
8023
+ limit?: number;
8024
+ offset?: number;
8025
+ includeDeprecated?: boolean;
8026
+ };
8027
+ url: "/api/topology-shares";
8028
+ };
8029
+ export type TopologyShareListErrors = {
8030
+ /**
8031
+ * Unauthorized
8032
+ */
8033
+ 401: {
8034
+ error: string;
8035
+ };
8036
+ /**
8037
+ * Forbidden
8038
+ */
8039
+ 403: {
8040
+ error: string;
8041
+ };
8042
+ };
8043
+ export type TopologyShareListError = TopologyShareListErrors[keyof TopologyShareListErrors];
8044
+ export type TopologyShareListResponses = {
8045
+ /**
8046
+ * List of topology shares
8047
+ */
8048
+ 200: Array<TopologyShare>;
8049
+ };
8050
+ export type TopologyShareListResponse = TopologyShareListResponses[keyof TopologyShareListResponses];
8051
+ export type TopologyShareCreateData = {
8052
+ body?: never;
8053
+ path?: never;
8054
+ query?: {
8055
+ /**
8056
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8057
+ */
8058
+ scope?: "user";
8059
+ };
8060
+ url: "/api/topology-shares";
8061
+ };
8062
+ export type TopologyShareCreateErrors = {
8063
+ /**
8064
+ * Bad request
8065
+ */
8066
+ 400: {
8067
+ error: string;
8068
+ };
8069
+ /**
8070
+ * Unauthorized
8071
+ */
8072
+ 401: {
8073
+ error: string;
8074
+ };
8075
+ /**
8076
+ * Forbidden
8077
+ */
8078
+ 403: {
8079
+ error: string;
8080
+ };
8081
+ };
8082
+ export type TopologyShareCreateError = TopologyShareCreateErrors[keyof TopologyShareCreateErrors];
8083
+ export type TopologyShareCreateResponses = {
8084
+ /**
8085
+ * Created topology share
8086
+ */
8087
+ 200: TopologyShare;
8088
+ };
8089
+ export type TopologyShareCreateResponse = TopologyShareCreateResponses[keyof TopologyShareCreateResponses];
8090
+ export type TopologyShareArchiveData = {
8091
+ body?: never;
8092
+ path: {
8093
+ id: string;
8094
+ };
8095
+ query?: {
8096
+ /**
8097
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8098
+ */
8099
+ scope?: "user";
8100
+ };
8101
+ url: "/api/topology-shares/{id}/archive";
8102
+ };
8103
+ export type TopologyShareArchiveErrors = {
8104
+ /**
8105
+ * Unauthorized
8106
+ */
8107
+ 401: {
8108
+ error: string;
8109
+ };
8110
+ /**
8111
+ * Forbidden
8112
+ */
8113
+ 403: {
8114
+ error: string;
8115
+ };
8116
+ /**
8117
+ * Not found
8118
+ */
8119
+ 404: {
8120
+ error: string;
8121
+ };
8122
+ };
8123
+ export type TopologyShareArchiveError = TopologyShareArchiveErrors[keyof TopologyShareArchiveErrors];
8124
+ export type TopologyShareArchiveResponses = {
8125
+ /**
8126
+ * Archived topology share
8127
+ */
8128
+ 200: TopologyShare;
8129
+ };
8130
+ export type TopologyShareArchiveResponse = TopologyShareArchiveResponses[keyof TopologyShareArchiveResponses];
7678
8131
  export type TriggerListData = {
7679
8132
  body?: never;
7680
8133
  path?: never;
@@ -7685,6 +8138,7 @@ export type TriggerListData = {
7685
8138
  scope?: "user";
7686
8139
  limit?: number;
7687
8140
  offset?: number;
8141
+ includeDeprecated?: boolean;
7688
8142
  projectId: string;
7689
8143
  };
7690
8144
  url: "/api/triggers";
@@ -7920,6 +8374,7 @@ export type WebhookTriggerListData = {
7920
8374
  scope?: "user";
7921
8375
  limit?: number;
7922
8376
  offset?: number;
8377
+ includeDeprecated?: boolean;
7923
8378
  projectId: string;
7924
8379
  };
7925
8380
  url: "/api/webhook-triggers";
@@ -8384,6 +8839,130 @@ export type SlackChannelSetResponses = {
8384
8839
  200: SlackInstallationResponse;
8385
8840
  };
8386
8841
  export type SlackChannelSetResponse = SlackChannelSetResponses[keyof SlackChannelSetResponses];
8842
+ export type EmailListData = {
8843
+ body?: never;
8844
+ path?: never;
8845
+ query?: {
8846
+ /**
8847
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8848
+ */
8849
+ scope?: "user";
8850
+ };
8851
+ url: "/api/emails";
8852
+ };
8853
+ export type EmailListErrors = {
8854
+ /**
8855
+ * Unauthorized
8856
+ */
8857
+ 401: {
8858
+ error: string;
8859
+ };
8860
+ /**
8861
+ * Forbidden
8862
+ */
8863
+ 403: {
8864
+ error: string;
8865
+ };
8866
+ };
8867
+ export type EmailListError = EmailListErrors[keyof EmailListErrors];
8868
+ export type EmailListResponses = {
8869
+ /**
8870
+ * Email mailboxes
8871
+ */
8872
+ 200: Array<ProjectEmailResponse>;
8873
+ };
8874
+ export type EmailListResponse = EmailListResponses[keyof EmailListResponses];
8875
+ export type EmailUnsetData = {
8876
+ body?: never;
8877
+ path: {
8878
+ projectId: string;
8879
+ };
8880
+ query?: {
8881
+ /**
8882
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8883
+ */
8884
+ scope?: "user";
8885
+ };
8886
+ url: "/api/emails/{projectId}";
8887
+ };
8888
+ export type EmailUnsetErrors = {
8889
+ /**
8890
+ * Unauthorized
8891
+ */
8892
+ 401: {
8893
+ error: string;
8894
+ };
8895
+ /**
8896
+ * Forbidden
8897
+ */
8898
+ 403: {
8899
+ error: string;
8900
+ };
8901
+ /**
8902
+ * Not found
8903
+ */
8904
+ 404: {
8905
+ error: string;
8906
+ };
8907
+ };
8908
+ export type EmailUnsetError = EmailUnsetErrors[keyof EmailUnsetErrors];
8909
+ export type EmailUnsetResponses = {
8910
+ /**
8911
+ * Removed
8912
+ */
8913
+ 204: void;
8914
+ };
8915
+ export type EmailUnsetResponse = EmailUnsetResponses[keyof EmailUnsetResponses];
8916
+ export type EmailSetData = {
8917
+ body?: {
8918
+ defaultProjectAgentId?: string | null;
8919
+ fallbackSenderUserId?: string | null;
8920
+ };
8921
+ path: {
8922
+ projectId: string;
8923
+ };
8924
+ query?: {
8925
+ /**
8926
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8927
+ */
8928
+ scope?: "user";
8929
+ };
8930
+ url: "/api/emails/{projectId}";
8931
+ };
8932
+ export type EmailSetErrors = {
8933
+ /**
8934
+ * Bad request
8935
+ */
8936
+ 400: {
8937
+ error: string;
8938
+ };
8939
+ /**
8940
+ * Unauthorized
8941
+ */
8942
+ 401: {
8943
+ error: string;
8944
+ };
8945
+ /**
8946
+ * Forbidden
8947
+ */
8948
+ 403: {
8949
+ error: string;
8950
+ };
8951
+ /**
8952
+ * Not found
8953
+ */
8954
+ 404: {
8955
+ error: string;
8956
+ };
8957
+ };
8958
+ export type EmailSetError = EmailSetErrors[keyof EmailSetErrors];
8959
+ export type EmailSetResponses = {
8960
+ /**
8961
+ * The project's email mailbox
8962
+ */
8963
+ 200: ProjectEmailResponse;
8964
+ };
8965
+ export type EmailSetResponse = EmailSetResponses[keyof EmailSetResponses];
8387
8966
  export type VaultListData = {
8388
8967
  body?: never;
8389
8968
  path?: never;
@@ -8394,6 +8973,7 @@ export type VaultListData = {
8394
8973
  scope?: "user";
8395
8974
  limit?: number;
8396
8975
  offset?: number;
8976
+ includeDeprecated?: boolean;
8397
8977
  };
8398
8978
  url: "/api/vaults";
8399
8979
  };
@@ -8647,6 +9227,7 @@ export type CredentialListData = {
8647
9227
  scope?: "user";
8648
9228
  limit?: number;
8649
9229
  offset?: number;
9230
+ includeDeprecated?: boolean;
8650
9231
  };
8651
9232
  url: "/api/vaults/{vaultId}/credentials";
8652
9233
  };
@@ -9052,8 +9633,8 @@ export type RegistrySkillListData = {
9052
9633
  query?: {
9053
9634
  limit?: number;
9054
9635
  offset?: number;
9055
- sort?: "popular" | "trending" | "recent";
9056
9636
  includeDeprecated?: boolean;
9637
+ sort?: "popular" | "trending" | "recent";
9057
9638
  };
9058
9639
  url: "/api/registry/skills";
9059
9640
  };
@@ -9103,8 +9684,8 @@ export type RegistryMcpListData = {
9103
9684
  query?: {
9104
9685
  limit?: number;
9105
9686
  offset?: number;
9106
- sort?: "popular" | "trending" | "recent";
9107
9687
  includeDeprecated?: boolean;
9688
+ sort?: "popular" | "trending" | "recent";
9108
9689
  };
9109
9690
  url: "/api/registry/mcps";
9110
9691
  };
@@ -9295,3 +9876,27 @@ export type RegistryReplaySharedFilesPresignDownloadResponses = {
9295
9876
  200: ReplayPresignDownloadResponse;
9296
9877
  };
9297
9878
  export type RegistryReplaySharedFilesPresignDownloadResponse = RegistryReplaySharedFilesPresignDownloadResponses[keyof RegistryReplaySharedFilesPresignDownloadResponses];
9879
+ export type RegistryTopologyShareGetData = {
9880
+ body?: never;
9881
+ path: {
9882
+ token: string;
9883
+ };
9884
+ query?: never;
9885
+ url: "/api/registry/topology/share/{token}";
9886
+ };
9887
+ export type RegistryTopologyShareGetErrors = {
9888
+ /**
9889
+ * Not found
9890
+ */
9891
+ 404: {
9892
+ error: string;
9893
+ };
9894
+ };
9895
+ export type RegistryTopologyShareGetError = RegistryTopologyShareGetErrors[keyof RegistryTopologyShareGetErrors];
9896
+ export type RegistryTopologyShareGetResponses = {
9897
+ /**
9898
+ * Live topology for the shared org
9899
+ */
9900
+ 200: Topology;
9901
+ };
9902
+ export type RegistryTopologyShareGetResponse = RegistryTopologyShareGetResponses[keyof RegistryTopologyShareGetResponses];