@renai-labs/sdk 0.1.9 → 0.1.11

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,370 @@ 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;
504
+ }>;
505
+ fileStores?: Array<{
506
+ /**
507
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
508
+ */
509
+ id: string;
510
+ /**
511
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
512
+ */
513
+ slug: string;
514
+ name: string;
515
+ /**
516
+ * Visibility tier. Pods/projects/entities are created with the matching scope flag.
517
+ */
518
+ scope: "org" | "user" | "registry";
519
+ notes?: string;
367
520
  }>;
368
- vaults: 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
+ */
369
525
  id: string;
526
+ /**
527
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
528
+ */
529
+ slug: string;
370
530
  name: string;
371
- podIds: Array<string>;
372
- credentials: Array<{
373
- id: string;
374
- label: string;
375
- forSurfaceId?: string;
376
- provider?: string;
377
- }>;
531
+ /**
532
+ * Visibility tier. Pods/projects/entities are created with the matching scope flag.
533
+ */
534
+ scope: "org" | "user" | "registry";
535
+ notes?: string;
536
+ }>;
537
+ pods: Array<{
538
+ /**
539
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
540
+ */
541
+ id: string;
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;
378
556
  }>;
379
- stores: Array<{
557
+ projects: Array<{
558
+ /**
559
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
560
+ */
380
561
  id: string;
381
- kind: "file" | "memory";
562
+ /**
563
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
564
+ */
565
+ slug: string;
382
566
  name: string;
383
- mounts: Array<{
384
- projectId: 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;
385
630
  }>;
631
+ notes?: string;
386
632
  }>;
387
- env: {
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
+ */
388
674
  id: string;
389
- } | null;
390
- edges: Array<{
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;
697
+ }>;
698
+ emails?: Array<{
699
+ /**
700
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
701
+ */
391
702
  id: string;
392
- kind: "route" | "state" | "cred";
393
- sourceId: string;
394
- sourcePortId?: string;
395
- targetId: string;
396
- targetCredId?: string;
703
+ /**
704
+ * Slug of the project this mailbox routes inbound email to.
705
+ */
706
+ project: string;
707
+ /**
708
+ * Local part of the mailbox address (before the @).
709
+ */
710
+ localPart: string;
711
+ /**
712
+ * Full inbound email address for the project.
713
+ */
714
+ address: string;
397
715
  }>;
398
716
  };
399
717
  export type SkillVersion = {
@@ -507,6 +825,9 @@ export type SessionMessagesPage = {
507
825
  };
508
826
  export type SessionUrlResponse = {
509
827
  url: string;
828
+ authedUrl: string;
829
+ serverPassword: string;
830
+ username: string;
510
831
  };
511
832
  export type OpencodeSession = {
512
833
  id: string;
@@ -1066,6 +1387,7 @@ export type AgentListData = {
1066
1387
  scope?: "user";
1067
1388
  limit?: number;
1068
1389
  offset?: number;
1390
+ includeDeprecated?: boolean;
1069
1391
  };
1070
1392
  url: "/api/agents";
1071
1393
  };
@@ -1505,6 +1827,7 @@ export type AgentVersionListData = {
1505
1827
  scope?: "user";
1506
1828
  limit?: number;
1507
1829
  offset?: number;
1830
+ includeDeprecated?: boolean;
1508
1831
  };
1509
1832
  url: "/api/agents/{id}/versions";
1510
1833
  };
@@ -1691,6 +2014,7 @@ export type BlueprintListData = {
1691
2014
  scope?: "user";
1692
2015
  limit?: number;
1693
2016
  offset?: number;
2017
+ includeDeprecated?: boolean;
1694
2018
  };
1695
2019
  url: "/api/blueprints";
1696
2020
  };
@@ -2323,6 +2647,7 @@ export type EnvironmentListData = {
2323
2647
  orgId?: string;
2324
2648
  limit?: number;
2325
2649
  offset?: number;
2650
+ includeDeprecated?: boolean;
2326
2651
  userId?: string | null;
2327
2652
  };
2328
2653
  url: "/api/environments";
@@ -2580,6 +2905,7 @@ export type FileStoreListData = {
2580
2905
  orgId?: string;
2581
2906
  limit?: number;
2582
2907
  offset?: number;
2908
+ includeDeprecated?: boolean;
2583
2909
  userId?: string | null;
2584
2910
  };
2585
2911
  url: "/api/file-stores";
@@ -3418,6 +3744,7 @@ export type McpListData = {
3418
3744
  scope?: "user";
3419
3745
  limit?: number;
3420
3746
  offset?: number;
3747
+ includeDeprecated?: boolean;
3421
3748
  sort?: "popular" | "trending" | "recent";
3422
3749
  };
3423
3750
  url: "/api/mcps";
@@ -4002,6 +4329,7 @@ export type MemoryStoreListData = {
4002
4329
  orgId?: string;
4003
4330
  limit?: number;
4004
4331
  offset?: number;
4332
+ includeDeprecated?: boolean;
4005
4333
  userId?: string | null;
4006
4334
  };
4007
4335
  url: "/api/memory-stores";
@@ -4672,6 +5000,7 @@ export type PodListData = {
4672
5000
  orgId?: string;
4673
5001
  limit?: number;
4674
5002
  offset?: number;
5003
+ includeDeprecated?: boolean;
4675
5004
  userId?: string | null;
4676
5005
  };
4677
5006
  url: "/api/pods";
@@ -5247,6 +5576,7 @@ export type ProjectListData = {
5247
5576
  scope?: "user";
5248
5577
  limit?: number;
5249
5578
  offset?: number;
5579
+ includeDeprecated?: boolean;
5250
5580
  podId?: string;
5251
5581
  };
5252
5582
  url: "/api/projects";
@@ -6097,6 +6427,7 @@ export type ReplayListData = {
6097
6427
  scope?: "user";
6098
6428
  limit?: number;
6099
6429
  offset?: number;
6430
+ includeDeprecated?: boolean;
6100
6431
  publisherId?: string;
6101
6432
  };
6102
6433
  url: "/api/replays";
@@ -6484,6 +6815,7 @@ export type SessionListData = {
6484
6815
  createdById?: string;
6485
6816
  limit?: number;
6486
6817
  offset?: number;
6818
+ includeDeprecated?: boolean;
6487
6819
  };
6488
6820
  url: "/api/sessions";
6489
6821
  };
@@ -6929,6 +7261,7 @@ export type SkillListData = {
6929
7261
  scope?: "user";
6930
7262
  limit?: number;
6931
7263
  offset?: number;
7264
+ includeDeprecated?: boolean;
6932
7265
  sort?: "popular" | "trending" | "recent";
6933
7266
  };
6934
7267
  url: "/api/skills";
@@ -7424,6 +7757,7 @@ export type SkillVersionListData = {
7424
7757
  scope?: "user";
7425
7758
  limit?: number;
7426
7759
  offset?: number;
7760
+ includeDeprecated?: boolean;
7427
7761
  };
7428
7762
  url: "/api/skills/{id}/versions";
7429
7763
  };
@@ -7696,6 +8030,122 @@ export type TopologyGetResponses = {
7696
8030
  200: Topology;
7697
8031
  };
7698
8032
  export type TopologyGetResponse = TopologyGetResponses[keyof TopologyGetResponses];
8033
+ export type TopologyShareListData = {
8034
+ body?: never;
8035
+ path?: never;
8036
+ query?: {
8037
+ /**
8038
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8039
+ */
8040
+ scope?: "user";
8041
+ limit?: number;
8042
+ offset?: number;
8043
+ includeDeprecated?: boolean;
8044
+ };
8045
+ url: "/api/topology-shares";
8046
+ };
8047
+ export type TopologyShareListErrors = {
8048
+ /**
8049
+ * Unauthorized
8050
+ */
8051
+ 401: {
8052
+ error: string;
8053
+ };
8054
+ /**
8055
+ * Forbidden
8056
+ */
8057
+ 403: {
8058
+ error: string;
8059
+ };
8060
+ };
8061
+ export type TopologyShareListError = TopologyShareListErrors[keyof TopologyShareListErrors];
8062
+ export type TopologyShareListResponses = {
8063
+ /**
8064
+ * List of topology shares
8065
+ */
8066
+ 200: Array<TopologyShare>;
8067
+ };
8068
+ export type TopologyShareListResponse = TopologyShareListResponses[keyof TopologyShareListResponses];
8069
+ export type TopologyShareCreateData = {
8070
+ body?: never;
8071
+ path?: never;
8072
+ query?: {
8073
+ /**
8074
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8075
+ */
8076
+ scope?: "user";
8077
+ };
8078
+ url: "/api/topology-shares";
8079
+ };
8080
+ export type TopologyShareCreateErrors = {
8081
+ /**
8082
+ * Bad request
8083
+ */
8084
+ 400: {
8085
+ error: string;
8086
+ };
8087
+ /**
8088
+ * Unauthorized
8089
+ */
8090
+ 401: {
8091
+ error: string;
8092
+ };
8093
+ /**
8094
+ * Forbidden
8095
+ */
8096
+ 403: {
8097
+ error: string;
8098
+ };
8099
+ };
8100
+ export type TopologyShareCreateError = TopologyShareCreateErrors[keyof TopologyShareCreateErrors];
8101
+ export type TopologyShareCreateResponses = {
8102
+ /**
8103
+ * Created topology share
8104
+ */
8105
+ 200: TopologyShare;
8106
+ };
8107
+ export type TopologyShareCreateResponse = TopologyShareCreateResponses[keyof TopologyShareCreateResponses];
8108
+ export type TopologyShareArchiveData = {
8109
+ body?: never;
8110
+ path: {
8111
+ id: string;
8112
+ };
8113
+ query?: {
8114
+ /**
8115
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8116
+ */
8117
+ scope?: "user";
8118
+ };
8119
+ url: "/api/topology-shares/{id}/archive";
8120
+ };
8121
+ export type TopologyShareArchiveErrors = {
8122
+ /**
8123
+ * Unauthorized
8124
+ */
8125
+ 401: {
8126
+ error: string;
8127
+ };
8128
+ /**
8129
+ * Forbidden
8130
+ */
8131
+ 403: {
8132
+ error: string;
8133
+ };
8134
+ /**
8135
+ * Not found
8136
+ */
8137
+ 404: {
8138
+ error: string;
8139
+ };
8140
+ };
8141
+ export type TopologyShareArchiveError = TopologyShareArchiveErrors[keyof TopologyShareArchiveErrors];
8142
+ export type TopologyShareArchiveResponses = {
8143
+ /**
8144
+ * Archived topology share
8145
+ */
8146
+ 200: TopologyShare;
8147
+ };
8148
+ export type TopologyShareArchiveResponse = TopologyShareArchiveResponses[keyof TopologyShareArchiveResponses];
7699
8149
  export type TriggerListData = {
7700
8150
  body?: never;
7701
8151
  path?: never;
@@ -7706,6 +8156,7 @@ export type TriggerListData = {
7706
8156
  scope?: "user";
7707
8157
  limit?: number;
7708
8158
  offset?: number;
8159
+ includeDeprecated?: boolean;
7709
8160
  projectId: string;
7710
8161
  };
7711
8162
  url: "/api/triggers";
@@ -7941,6 +8392,7 @@ export type WebhookTriggerListData = {
7941
8392
  scope?: "user";
7942
8393
  limit?: number;
7943
8394
  offset?: number;
8395
+ includeDeprecated?: boolean;
7944
8396
  projectId: string;
7945
8397
  };
7946
8398
  url: "/api/webhook-triggers";
@@ -8405,6 +8857,130 @@ export type SlackChannelSetResponses = {
8405
8857
  200: SlackInstallationResponse;
8406
8858
  };
8407
8859
  export type SlackChannelSetResponse = SlackChannelSetResponses[keyof SlackChannelSetResponses];
8860
+ export type EmailListData = {
8861
+ body?: never;
8862
+ path?: never;
8863
+ query?: {
8864
+ /**
8865
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8866
+ */
8867
+ scope?: "user";
8868
+ };
8869
+ url: "/api/emails";
8870
+ };
8871
+ export type EmailListErrors = {
8872
+ /**
8873
+ * Unauthorized
8874
+ */
8875
+ 401: {
8876
+ error: string;
8877
+ };
8878
+ /**
8879
+ * Forbidden
8880
+ */
8881
+ 403: {
8882
+ error: string;
8883
+ };
8884
+ };
8885
+ export type EmailListError = EmailListErrors[keyof EmailListErrors];
8886
+ export type EmailListResponses = {
8887
+ /**
8888
+ * Email mailboxes
8889
+ */
8890
+ 200: Array<ProjectEmailResponse>;
8891
+ };
8892
+ export type EmailListResponse = EmailListResponses[keyof EmailListResponses];
8893
+ export type EmailUnsetData = {
8894
+ body?: never;
8895
+ path: {
8896
+ projectId: string;
8897
+ };
8898
+ query?: {
8899
+ /**
8900
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8901
+ */
8902
+ scope?: "user";
8903
+ };
8904
+ url: "/api/emails/{projectId}";
8905
+ };
8906
+ export type EmailUnsetErrors = {
8907
+ /**
8908
+ * Unauthorized
8909
+ */
8910
+ 401: {
8911
+ error: string;
8912
+ };
8913
+ /**
8914
+ * Forbidden
8915
+ */
8916
+ 403: {
8917
+ error: string;
8918
+ };
8919
+ /**
8920
+ * Not found
8921
+ */
8922
+ 404: {
8923
+ error: string;
8924
+ };
8925
+ };
8926
+ export type EmailUnsetError = EmailUnsetErrors[keyof EmailUnsetErrors];
8927
+ export type EmailUnsetResponses = {
8928
+ /**
8929
+ * Removed
8930
+ */
8931
+ 204: void;
8932
+ };
8933
+ export type EmailUnsetResponse = EmailUnsetResponses[keyof EmailUnsetResponses];
8934
+ export type EmailSetData = {
8935
+ body?: {
8936
+ defaultProjectAgentId?: string | null;
8937
+ fallbackSenderUserId?: string | null;
8938
+ };
8939
+ path: {
8940
+ projectId: string;
8941
+ };
8942
+ query?: {
8943
+ /**
8944
+ * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
8945
+ */
8946
+ scope?: "user";
8947
+ };
8948
+ url: "/api/emails/{projectId}";
8949
+ };
8950
+ export type EmailSetErrors = {
8951
+ /**
8952
+ * Bad request
8953
+ */
8954
+ 400: {
8955
+ error: string;
8956
+ };
8957
+ /**
8958
+ * Unauthorized
8959
+ */
8960
+ 401: {
8961
+ error: string;
8962
+ };
8963
+ /**
8964
+ * Forbidden
8965
+ */
8966
+ 403: {
8967
+ error: string;
8968
+ };
8969
+ /**
8970
+ * Not found
8971
+ */
8972
+ 404: {
8973
+ error: string;
8974
+ };
8975
+ };
8976
+ export type EmailSetError = EmailSetErrors[keyof EmailSetErrors];
8977
+ export type EmailSetResponses = {
8978
+ /**
8979
+ * The project's email mailbox
8980
+ */
8981
+ 200: ProjectEmailResponse;
8982
+ };
8983
+ export type EmailSetResponse = EmailSetResponses[keyof EmailSetResponses];
8408
8984
  export type VaultListData = {
8409
8985
  body?: never;
8410
8986
  path?: never;
@@ -8415,6 +8991,7 @@ export type VaultListData = {
8415
8991
  scope?: "user";
8416
8992
  limit?: number;
8417
8993
  offset?: number;
8994
+ includeDeprecated?: boolean;
8418
8995
  };
8419
8996
  url: "/api/vaults";
8420
8997
  };
@@ -8668,6 +9245,7 @@ export type CredentialListData = {
8668
9245
  scope?: "user";
8669
9246
  limit?: number;
8670
9247
  offset?: number;
9248
+ includeDeprecated?: boolean;
8671
9249
  };
8672
9250
  url: "/api/vaults/{vaultId}/credentials";
8673
9251
  };
@@ -9073,8 +9651,8 @@ export type RegistrySkillListData = {
9073
9651
  query?: {
9074
9652
  limit?: number;
9075
9653
  offset?: number;
9076
- sort?: "popular" | "trending" | "recent";
9077
9654
  includeDeprecated?: boolean;
9655
+ sort?: "popular" | "trending" | "recent";
9078
9656
  };
9079
9657
  url: "/api/registry/skills";
9080
9658
  };
@@ -9124,8 +9702,8 @@ export type RegistryMcpListData = {
9124
9702
  query?: {
9125
9703
  limit?: number;
9126
9704
  offset?: number;
9127
- sort?: "popular" | "trending" | "recent";
9128
9705
  includeDeprecated?: boolean;
9706
+ sort?: "popular" | "trending" | "recent";
9129
9707
  };
9130
9708
  url: "/api/registry/mcps";
9131
9709
  };
@@ -9316,3 +9894,27 @@ export type RegistryReplaySharedFilesPresignDownloadResponses = {
9316
9894
  200: ReplayPresignDownloadResponse;
9317
9895
  };
9318
9896
  export type RegistryReplaySharedFilesPresignDownloadResponse = RegistryReplaySharedFilesPresignDownloadResponses[keyof RegistryReplaySharedFilesPresignDownloadResponses];
9897
+ export type RegistryTopologyShareGetData = {
9898
+ body?: never;
9899
+ path: {
9900
+ token: string;
9901
+ };
9902
+ query?: never;
9903
+ url: "/api/registry/topology/share/{token}";
9904
+ };
9905
+ export type RegistryTopologyShareGetErrors = {
9906
+ /**
9907
+ * Not found
9908
+ */
9909
+ 404: {
9910
+ error: string;
9911
+ };
9912
+ };
9913
+ export type RegistryTopologyShareGetError = RegistryTopologyShareGetErrors[keyof RegistryTopologyShareGetErrors];
9914
+ export type RegistryTopologyShareGetResponses = {
9915
+ /**
9916
+ * Live topology for the shared org
9917
+ */
9918
+ 200: Topology;
9919
+ };
9920
+ export type RegistryTopologyShareGetResponse = RegistryTopologyShareGetResponses[keyof RegistryTopologyShareGetResponses];