@renai-labs/sdk 0.1.9 → 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;
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;
378
536
  }>;
379
- stores: Array<{
537
+ pods: Array<{
538
+ /**
539
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
540
+ */
380
541
  id: string;
381
- kind: "file" | "memory";
542
+ /**
543
+ * Kebab-case slug used to reference an entity elsewhere in this spec.
544
+ */
545
+ slug: string;
382
546
  name: string;
383
- mounts: Array<{
384
- projectId: string;
385
- }>;
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;
386
556
  }>;
387
- env: {
557
+ projects: Array<{
558
+ /**
559
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
560
+ */
388
561
  id: string;
389
- } | null;
390
- edges: Array<{
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
+ */
391
674
  id: string;
392
- kind: "route" | "state" | "cred";
393
- sourceId: string;
394
- sourcePortId?: string;
395
- targetId: string;
396
- targetCredId?: 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;
@@ -1066,6 +1369,7 @@ export type AgentListData = {
1066
1369
  scope?: "user";
1067
1370
  limit?: number;
1068
1371
  offset?: number;
1372
+ includeDeprecated?: boolean;
1069
1373
  };
1070
1374
  url: "/api/agents";
1071
1375
  };
@@ -1505,6 +1809,7 @@ export type AgentVersionListData = {
1505
1809
  scope?: "user";
1506
1810
  limit?: number;
1507
1811
  offset?: number;
1812
+ includeDeprecated?: boolean;
1508
1813
  };
1509
1814
  url: "/api/agents/{id}/versions";
1510
1815
  };
@@ -1691,6 +1996,7 @@ export type BlueprintListData = {
1691
1996
  scope?: "user";
1692
1997
  limit?: number;
1693
1998
  offset?: number;
1999
+ includeDeprecated?: boolean;
1694
2000
  };
1695
2001
  url: "/api/blueprints";
1696
2002
  };
@@ -2323,6 +2629,7 @@ export type EnvironmentListData = {
2323
2629
  orgId?: string;
2324
2630
  limit?: number;
2325
2631
  offset?: number;
2632
+ includeDeprecated?: boolean;
2326
2633
  userId?: string | null;
2327
2634
  };
2328
2635
  url: "/api/environments";
@@ -2580,6 +2887,7 @@ export type FileStoreListData = {
2580
2887
  orgId?: string;
2581
2888
  limit?: number;
2582
2889
  offset?: number;
2890
+ includeDeprecated?: boolean;
2583
2891
  userId?: string | null;
2584
2892
  };
2585
2893
  url: "/api/file-stores";
@@ -3418,6 +3726,7 @@ export type McpListData = {
3418
3726
  scope?: "user";
3419
3727
  limit?: number;
3420
3728
  offset?: number;
3729
+ includeDeprecated?: boolean;
3421
3730
  sort?: "popular" | "trending" | "recent";
3422
3731
  };
3423
3732
  url: "/api/mcps";
@@ -4002,6 +4311,7 @@ export type MemoryStoreListData = {
4002
4311
  orgId?: string;
4003
4312
  limit?: number;
4004
4313
  offset?: number;
4314
+ includeDeprecated?: boolean;
4005
4315
  userId?: string | null;
4006
4316
  };
4007
4317
  url: "/api/memory-stores";
@@ -4672,6 +4982,7 @@ export type PodListData = {
4672
4982
  orgId?: string;
4673
4983
  limit?: number;
4674
4984
  offset?: number;
4985
+ includeDeprecated?: boolean;
4675
4986
  userId?: string | null;
4676
4987
  };
4677
4988
  url: "/api/pods";
@@ -5247,6 +5558,7 @@ export type ProjectListData = {
5247
5558
  scope?: "user";
5248
5559
  limit?: number;
5249
5560
  offset?: number;
5561
+ includeDeprecated?: boolean;
5250
5562
  podId?: string;
5251
5563
  };
5252
5564
  url: "/api/projects";
@@ -6097,6 +6409,7 @@ export type ReplayListData = {
6097
6409
  scope?: "user";
6098
6410
  limit?: number;
6099
6411
  offset?: number;
6412
+ includeDeprecated?: boolean;
6100
6413
  publisherId?: string;
6101
6414
  };
6102
6415
  url: "/api/replays";
@@ -6484,6 +6797,7 @@ export type SessionListData = {
6484
6797
  createdById?: string;
6485
6798
  limit?: number;
6486
6799
  offset?: number;
6800
+ includeDeprecated?: boolean;
6487
6801
  };
6488
6802
  url: "/api/sessions";
6489
6803
  };
@@ -6929,6 +7243,7 @@ export type SkillListData = {
6929
7243
  scope?: "user";
6930
7244
  limit?: number;
6931
7245
  offset?: number;
7246
+ includeDeprecated?: boolean;
6932
7247
  sort?: "popular" | "trending" | "recent";
6933
7248
  };
6934
7249
  url: "/api/skills";
@@ -7424,6 +7739,7 @@ export type SkillVersionListData = {
7424
7739
  scope?: "user";
7425
7740
  limit?: number;
7426
7741
  offset?: number;
7742
+ includeDeprecated?: boolean;
7427
7743
  };
7428
7744
  url: "/api/skills/{id}/versions";
7429
7745
  };
@@ -7696,6 +8012,122 @@ export type TopologyGetResponses = {
7696
8012
  200: Topology;
7697
8013
  };
7698
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];
7699
8131
  export type TriggerListData = {
7700
8132
  body?: never;
7701
8133
  path?: never;
@@ -7706,6 +8138,7 @@ export type TriggerListData = {
7706
8138
  scope?: "user";
7707
8139
  limit?: number;
7708
8140
  offset?: number;
8141
+ includeDeprecated?: boolean;
7709
8142
  projectId: string;
7710
8143
  };
7711
8144
  url: "/api/triggers";
@@ -7941,6 +8374,7 @@ export type WebhookTriggerListData = {
7941
8374
  scope?: "user";
7942
8375
  limit?: number;
7943
8376
  offset?: number;
8377
+ includeDeprecated?: boolean;
7944
8378
  projectId: string;
7945
8379
  };
7946
8380
  url: "/api/webhook-triggers";
@@ -8405,6 +8839,130 @@ export type SlackChannelSetResponses = {
8405
8839
  200: SlackInstallationResponse;
8406
8840
  };
8407
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];
8408
8966
  export type VaultListData = {
8409
8967
  body?: never;
8410
8968
  path?: never;
@@ -8415,6 +8973,7 @@ export type VaultListData = {
8415
8973
  scope?: "user";
8416
8974
  limit?: number;
8417
8975
  offset?: number;
8976
+ includeDeprecated?: boolean;
8418
8977
  };
8419
8978
  url: "/api/vaults";
8420
8979
  };
@@ -8668,6 +9227,7 @@ export type CredentialListData = {
8668
9227
  scope?: "user";
8669
9228
  limit?: number;
8670
9229
  offset?: number;
9230
+ includeDeprecated?: boolean;
8671
9231
  };
8672
9232
  url: "/api/vaults/{vaultId}/credentials";
8673
9233
  };
@@ -9073,8 +9633,8 @@ export type RegistrySkillListData = {
9073
9633
  query?: {
9074
9634
  limit?: number;
9075
9635
  offset?: number;
9076
- sort?: "popular" | "trending" | "recent";
9077
9636
  includeDeprecated?: boolean;
9637
+ sort?: "popular" | "trending" | "recent";
9078
9638
  };
9079
9639
  url: "/api/registry/skills";
9080
9640
  };
@@ -9124,8 +9684,8 @@ export type RegistryMcpListData = {
9124
9684
  query?: {
9125
9685
  limit?: number;
9126
9686
  offset?: number;
9127
- sort?: "popular" | "trending" | "recent";
9128
9687
  includeDeprecated?: boolean;
9688
+ sort?: "popular" | "trending" | "recent";
9129
9689
  };
9130
9690
  url: "/api/registry/mcps";
9131
9691
  };
@@ -9316,3 +9876,27 @@ export type RegistryReplaySharedFilesPresignDownloadResponses = {
9316
9876
  200: ReplayPresignDownloadResponse;
9317
9877
  };
9318
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];