@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.
@@ -289,6 +289,27 @@ export const zVault = z.object({
289
289
  .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/)
290
290
  .nullable(),
291
291
  });
292
+ export const zProjectEmailResponse = z.object({
293
+ id: z.string(),
294
+ orgId: z.string(),
295
+ podId: z.string(),
296
+ projectId: z.string(),
297
+ defaultProjectAgentId: z.string().nullable(),
298
+ fallbackSenderUserId: z.string().nullable(),
299
+ localPart: z.string(),
300
+ createdAt: z.iso
301
+ .datetime()
302
+ .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/),
303
+ updatedAt: z.iso
304
+ .datetime()
305
+ .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/),
306
+ archivedAt: z.iso
307
+ .datetime()
308
+ .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/)
309
+ .nullable(),
310
+ address: z.string(),
311
+ projectName: z.string().nullable(),
312
+ });
292
313
  export const zSlackChannel = z.object({
293
314
  id: z.string(),
294
315
  name: z.string(),
@@ -376,69 +397,227 @@ export const zCronTrigger = z.object({
376
397
  .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/)
377
398
  .nullable(),
378
399
  });
400
+ export const zTopologyShare = z.object({
401
+ id: z.string(),
402
+ shareToken: z.string(),
403
+ orgId: z.string(),
404
+ userId: z.string().nullable(),
405
+ createdAt: z.iso
406
+ .datetime()
407
+ .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/),
408
+ updatedAt: z.iso
409
+ .datetime()
410
+ .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/),
411
+ archivedAt: z.iso
412
+ .datetime()
413
+ .regex(/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$/)
414
+ .nullable(),
415
+ });
379
416
  export const zTopology = z.object({
380
- surfaces: z.array(z.object({
381
- id: z.string(),
382
- kind: z.enum(["mcp", "cron", "webhook", "slack", "github"]),
417
+ meta: z.object({
418
+ org: z.string(),
419
+ orgId: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
420
+ ownerUserId: z
421
+ .string()
422
+ .regex(/^[a-z]+_[A-Za-z0-9]+$/)
423
+ .optional(),
424
+ specVersion: z.string().optional(),
425
+ snapshotDate: z.string().optional(),
426
+ notes: z.string().optional(),
427
+ }),
428
+ agents: z.array(z.object({
429
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
430
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
383
431
  name: z.string(),
432
+ model: z.string().optional(),
433
+ scope: z.enum(["org", "user", "registry"]).optional(),
384
434
  icon: z.string().optional(),
385
- tags: z.array(z.string()),
386
- ports: z.array(z.object({
387
- id: z.string(),
388
- label: z.string(),
389
- targetProjectId: z.string(),
390
- })),
391
- vaultIds: z.array(z.string()),
435
+ promptRef: z.string().optional(),
436
+ skills: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
437
+ mcps: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
438
+ notes: z.string().optional(),
392
439
  })),
440
+ mcps: z
441
+ .array(z.object({
442
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
443
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
444
+ name: z.string(),
445
+ registrySlug: z.string().optional(),
446
+ remoteUrl: z.url().optional(),
447
+ auth: z.enum(["oauth", "basic", "api_key", "none"]).optional(),
448
+ credential: z
449
+ .string()
450
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
451
+ .optional(),
452
+ icon: z.string().optional(),
453
+ tags: z.array(z.string()).optional(),
454
+ notes: z.string().optional(),
455
+ }))
456
+ .optional(),
457
+ skills: z
458
+ .array(z.object({
459
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
460
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
461
+ source: z.enum(["registry", "org", "user"]).optional(),
462
+ notes: z.string().optional(),
463
+ }))
464
+ .optional(),
465
+ credentials: z
466
+ .array(z.object({
467
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
468
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
469
+ provider: z.string(),
470
+ authType: z.enum(["oauth", "basic", "api_key", "env"]).optional(),
471
+ vault: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
472
+ notes: z.string().optional(),
473
+ }))
474
+ .optional(),
475
+ vaults: z
476
+ .array(z.object({
477
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
478
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
479
+ name: z.string(),
480
+ scope: z.enum(["org", "user", "registry"]),
481
+ attachedPods: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
482
+ notes: z.string().optional(),
483
+ }))
484
+ .optional(),
485
+ fileStores: z
486
+ .array(z.object({
487
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
488
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
489
+ name: z.string(),
490
+ scope: z.enum(["org", "user", "registry"]),
491
+ notes: z.string().optional(),
492
+ }))
493
+ .optional(),
494
+ memoryStores: z
495
+ .array(z.object({
496
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
497
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
498
+ name: z.string(),
499
+ scope: z.enum(["org", "user", "registry"]),
500
+ notes: z.string().optional(),
501
+ }))
502
+ .optional(),
393
503
  pods: z.array(z.object({
394
- id: z.string(),
504
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
505
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
395
506
  name: z.string(),
396
- isPrivate: z.boolean(),
507
+ scope: z.enum(["org", "user", "registry"]).optional(),
508
+ vaults: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
509
+ notes: z.string().optional(),
397
510
  })),
398
511
  projects: z.array(z.object({
399
- id: z.string(),
400
- podId: z.string(),
401
- name: z.string(),
402
- agents: z.array(z.object({
403
- id: z.string(),
404
- name: z.string(),
405
- icon: z.string().optional(),
406
- model: z.string().optional(),
407
- })),
408
- skillsCount: z.number(),
409
- })),
410
- vaults: z.array(z.object({
411
- id: z.string(),
512
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
513
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
412
514
  name: z.string(),
413
- podIds: z.array(z.string()),
414
- credentials: z.array(z.object({
415
- id: z.string(),
416
- label: z.string(),
417
- forSurfaceId: z.string().optional(),
418
- provider: z.string().optional(),
419
- })),
515
+ pod: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
516
+ buildOrder: z.int().gte(1).lte(9007199254740991).optional(),
517
+ slackChannel: z.string().optional(),
518
+ primaryAgent: z
519
+ .string()
520
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
521
+ .optional(),
522
+ subAgents: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
523
+ fileStores: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
524
+ memoryStores: z.array(z.string().regex(/^[a-z0-9][a-z0-9-]*$/)).optional(),
525
+ restricted: z.boolean().optional(),
526
+ requirements: z
527
+ .array(z.object({
528
+ id: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
529
+ kind: z.enum([
530
+ "agent_attached",
531
+ "skill_attached",
532
+ "mcp_wired",
533
+ "credential_present",
534
+ "trigger_configured",
535
+ "slack_mapped",
536
+ "file_store_attached",
537
+ "memory_store_attached",
538
+ "vault_attached",
539
+ "capability",
540
+ "other",
541
+ ]),
542
+ must: z.string(),
543
+ agent: z
544
+ .string()
545
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
546
+ .optional(),
547
+ mcp: z
548
+ .string()
549
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
550
+ .optional(),
551
+ skill: z
552
+ .string()
553
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
554
+ .optional(),
555
+ credential: z
556
+ .string()
557
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
558
+ .optional(),
559
+ trigger: z
560
+ .string()
561
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
562
+ .optional(),
563
+ vault: z
564
+ .string()
565
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
566
+ .optional(),
567
+ store: z
568
+ .string()
569
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
570
+ .optional(),
571
+ channel: z.string().optional(),
572
+ blocking: z.boolean().optional(),
573
+ reason: z.string().optional(),
574
+ verify: z.string().optional(),
575
+ blockedBy: z.string().optional(),
576
+ }))
577
+ .optional(),
578
+ notes: z.string().optional(),
420
579
  })),
421
- stores: z.array(z.object({
422
- id: z.string(),
423
- kind: z.enum(["file", "memory"]),
424
- name: z.string(),
425
- mounts: z.array(z.object({
426
- projectId: z.string(),
580
+ slack: z
581
+ .object({
582
+ workspace: z.string().optional(),
583
+ teamId: z.string().optional(),
584
+ installationId: z.string().optional(),
585
+ botUserId: z.string().optional(),
586
+ channels: z.array(z.object({
587
+ name: z.string(),
588
+ id: z.string().optional(),
589
+ project: z
590
+ .string()
591
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
592
+ .nullable(),
427
593
  })),
428
- })),
429
- env: z
594
+ })
595
+ .optional(),
596
+ github: z
430
597
  .object({
431
- id: z.string(),
598
+ installationId: z
599
+ .string()
600
+ .regex(/^[a-z]+_[A-Za-z0-9]+$/)
601
+ .optional(),
602
+ repos: z.array(z.object({
603
+ name: z.string(),
604
+ project: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
605
+ baseBranch: z.string().optional(),
606
+ })),
432
607
  })
433
- .nullable(),
434
- edges: z.array(z.object({
435
- id: z.string(),
436
- kind: z.enum(["route", "state", "cred"]),
437
- sourceId: z.string(),
438
- sourcePortId: z.string().optional(),
439
- targetId: z.string(),
440
- targetCredId: z.string().optional(),
441
- })),
608
+ .optional(),
609
+ triggers: z
610
+ .array(z.object({
611
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
612
+ slug: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
613
+ project: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
614
+ schedule: z.string(),
615
+ timezone: z.string().optional(),
616
+ inputMessage: z.string(),
617
+ enabled: z.boolean().optional(),
618
+ notes: z.string().optional(),
619
+ }))
620
+ .optional(),
442
621
  });
443
622
  export const zSkillVersion = z.object({
444
623
  id: z.string(),
@@ -582,6 +761,9 @@ export const zSessionMessagesPage = z.object({
582
761
  });
583
762
  export const zSessionUrlResponse = z.object({
584
763
  url: z.string(),
764
+ authedUrl: z.string(),
765
+ serverPassword: z.string(),
766
+ username: z.string(),
585
767
  });
586
768
  export const zOpencodeSession = z.object({
587
769
  id: z.string(),
@@ -1242,6 +1424,31 @@ export const zAgentVersion = z.object({
1242
1424
  model: z.string().nullable(),
1243
1425
  releaseNotes: z.string().nullable(),
1244
1426
  permission: zPermissionConfig,
1427
+ skills: z
1428
+ .array(z.object({
1429
+ skillId: z.string(),
1430
+ skillVersionId: z.string().nullish().default(null),
1431
+ skill: z.object({
1432
+ id: z.string(),
1433
+ slug: z.string(),
1434
+ name: z.string(),
1435
+ icon: z.string().nullable(),
1436
+ }),
1437
+ }))
1438
+ .optional()
1439
+ .default([]),
1440
+ mcps: z
1441
+ .array(z.object({
1442
+ mcpId: z.string(),
1443
+ mcp: z.object({
1444
+ id: z.string(),
1445
+ slug: z.string(),
1446
+ name: z.string(),
1447
+ icon: z.string().nullable(),
1448
+ }),
1449
+ }))
1450
+ .optional()
1451
+ .default([]),
1245
1452
  });
1246
1453
  export const zSearchResult = z.object({
1247
1454
  id: z.string(),
@@ -1291,6 +1498,7 @@ export const zAgentListQuery = z.object({
1291
1498
  scope: z.enum(["user"]).optional(),
1292
1499
  limit: z.number().gte(1).lte(1000).optional(),
1293
1500
  offset: z.number().gte(0).optional(),
1501
+ includeDeprecated: z.boolean().optional(),
1294
1502
  });
1295
1503
  /**
1296
1504
  * List of agents
@@ -1436,6 +1644,7 @@ export const zAgentVersionListQuery = z.object({
1436
1644
  scope: z.enum(["user"]).optional(),
1437
1645
  limit: z.number().gte(1).lte(1000).optional(),
1438
1646
  offset: z.number().gte(0).optional(),
1647
+ includeDeprecated: z.boolean().optional(),
1439
1648
  });
1440
1649
  /**
1441
1650
  * List of agent versions
@@ -1501,6 +1710,7 @@ export const zBlueprintListQuery = z.object({
1501
1710
  scope: z.enum(["user"]).optional(),
1502
1711
  limit: z.number().gte(1).lte(1000).optional(),
1503
1712
  offset: z.number().gte(0).optional(),
1713
+ includeDeprecated: z.boolean().optional(),
1504
1714
  });
1505
1715
  /**
1506
1716
  * List of blueprints
@@ -1680,6 +1890,7 @@ export const zEnvironmentListQuery = z.object({
1680
1890
  orgId: z.string().optional(),
1681
1891
  limit: z.number().gte(1).lte(1000).optional(),
1682
1892
  offset: z.number().gte(0).optional(),
1893
+ includeDeprecated: z.boolean().optional(),
1683
1894
  userId: z.string().nullish(),
1684
1895
  });
1685
1896
  /**
@@ -1751,6 +1962,7 @@ export const zFileStoreListQuery = z.object({
1751
1962
  orgId: z.string().optional(),
1752
1963
  limit: z.number().gte(1).lte(1000).optional(),
1753
1964
  offset: z.number().gte(0).optional(),
1965
+ includeDeprecated: z.boolean().optional(),
1754
1966
  userId: z.string().nullish(),
1755
1967
  });
1756
1968
  /**
@@ -1958,6 +2170,7 @@ export const zMcpListQuery = z.object({
1958
2170
  scope: z.enum(["user"]).optional(),
1959
2171
  limit: z.number().gte(1).lte(1000).optional(),
1960
2172
  offset: z.number().gte(0).optional(),
2173
+ includeDeprecated: z.boolean().optional(),
1961
2174
  sort: z.enum(["popular", "trending", "recent"]).optional(),
1962
2175
  });
1963
2176
  /**
@@ -1966,6 +2179,7 @@ export const zMcpListQuery = z.object({
1966
2179
  export const zMcpListResponse = z.array(zMcp);
1967
2180
  export const zMcpCreateBody = z.object({
1968
2181
  name: z.string().min(1).max(256),
2182
+ slug: z.string().optional(),
1969
2183
  description: z.string().optional().default(""),
1970
2184
  icon: z.string().nullish().default(null),
1971
2185
  mcpServerUrl: z.url().nullish().default(null),
@@ -2136,6 +2350,7 @@ export const zMemoryStoreListQuery = z.object({
2136
2350
  orgId: z.string().optional(),
2137
2351
  limit: z.number().gte(1).lte(1000).optional(),
2138
2352
  offset: z.number().gte(0).optional(),
2353
+ includeDeprecated: z.boolean().optional(),
2139
2354
  userId: z.string().nullish(),
2140
2355
  });
2141
2356
  /**
@@ -2314,6 +2529,7 @@ export const zPodListQuery = z.object({
2314
2529
  orgId: z.string().optional(),
2315
2530
  limit: z.number().gte(1).lte(1000).optional(),
2316
2531
  offset: z.number().gte(0).optional(),
2532
+ includeDeprecated: z.boolean().optional(),
2317
2533
  userId: z.string().nullish(),
2318
2534
  });
2319
2535
  /**
@@ -2464,6 +2680,7 @@ export const zProjectListQuery = z.object({
2464
2680
  scope: z.enum(["user"]).optional(),
2465
2681
  limit: z.number().gte(1).lte(1000).optional(),
2466
2682
  offset: z.number().gte(0).optional(),
2683
+ includeDeprecated: z.boolean().optional(),
2467
2684
  podId: z
2468
2685
  .string()
2469
2686
  .regex(/^pod_[0-9A-HJKMNP-TV-Z]{26}$/)
@@ -2700,6 +2917,7 @@ export const zReplayListQuery = z.object({
2700
2917
  scope: z.enum(["user"]).optional(),
2701
2918
  limit: z.number().gte(1).lte(1000).optional(),
2702
2919
  offset: z.number().gte(0).optional(),
2920
+ includeDeprecated: z.boolean().optional(),
2703
2921
  publisherId: z.string().optional(),
2704
2922
  });
2705
2923
  /**
@@ -2803,6 +3021,7 @@ export const zSessionListQuery = z.object({
2803
3021
  createdById: z.string().optional(),
2804
3022
  limit: z.number().gte(1).lte(1000).optional(),
2805
3023
  offset: z.number().gte(0).optional(),
3024
+ includeDeprecated: z.boolean().optional(),
2806
3025
  });
2807
3026
  /**
2808
3027
  * List of sessions
@@ -2928,6 +3147,7 @@ export const zSkillListQuery = z.object({
2928
3147
  scope: z.enum(["user"]).optional(),
2929
3148
  limit: z.number().gte(1).lte(1000).optional(),
2930
3149
  offset: z.number().gte(0).optional(),
3150
+ includeDeprecated: z.boolean().optional(),
2931
3151
  sort: z.enum(["popular", "trending", "recent"]).optional(),
2932
3152
  });
2933
3153
  /**
@@ -2935,6 +3155,7 @@ export const zSkillListQuery = z.object({
2935
3155
  */
2936
3156
  export const zSkillListResponse = z.array(zSkill);
2937
3157
  export const zSkillCreateBody = z.object({
3158
+ slug: z.string().optional(),
2938
3159
  name: z.string(),
2939
3160
  description: z.string().optional(),
2940
3161
  icon: z.string().optional(),
@@ -3074,6 +3295,7 @@ export const zSkillVersionListQuery = z.object({
3074
3295
  scope: z.enum(["user"]).optional(),
3075
3296
  limit: z.number().gte(1).lte(1000).optional(),
3076
3297
  offset: z.number().gte(0).optional(),
3298
+ includeDeprecated: z.boolean().optional(),
3077
3299
  });
3078
3300
  /**
3079
3301
  * List of skill versions
@@ -3150,10 +3372,38 @@ export const zSkillVersionArchiveResponse = zSkillVersion;
3150
3372
  * Agent-stack topology
3151
3373
  */
3152
3374
  export const zTopologyGetResponse = zTopology;
3375
+ export const zTopologyShareListQuery = z.object({
3376
+ scope: z.enum(["user"]).optional(),
3377
+ limit: z.number().gte(1).lte(1000).optional(),
3378
+ offset: z.number().gte(0).optional(),
3379
+ includeDeprecated: z.boolean().optional(),
3380
+ });
3381
+ /**
3382
+ * List of topology shares
3383
+ */
3384
+ export const zTopologyShareListResponse = z.array(zTopologyShare);
3385
+ export const zTopologyShareCreateQuery = z.object({
3386
+ scope: z.enum(["user"]).optional(),
3387
+ });
3388
+ /**
3389
+ * Created topology share
3390
+ */
3391
+ export const zTopologyShareCreateResponse = zTopologyShare;
3392
+ export const zTopologyShareArchivePath = z.object({
3393
+ id: z.string().regex(/^tps_[0-9A-HJKMNP-TV-Z]{26}$/),
3394
+ });
3395
+ export const zTopologyShareArchiveQuery = z.object({
3396
+ scope: z.enum(["user"]).optional(),
3397
+ });
3398
+ /**
3399
+ * Archived topology share
3400
+ */
3401
+ export const zTopologyShareArchiveResponse = zTopologyShare;
3153
3402
  export const zTriggerListQuery = z.object({
3154
3403
  scope: z.enum(["user"]).optional(),
3155
3404
  limit: z.number().gte(1).lte(1000).optional(),
3156
3405
  offset: z.number().gte(0).optional(),
3406
+ includeDeprecated: z.boolean().optional(),
3157
3407
  projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
3158
3408
  });
3159
3409
  /**
@@ -3223,6 +3473,7 @@ export const zWebhookTriggerListQuery = z.object({
3223
3473
  scope: z.enum(["user"]).optional(),
3224
3474
  limit: z.number().gte(1).lte(1000).optional(),
3225
3475
  offset: z.number().gte(0).optional(),
3476
+ includeDeprecated: z.boolean().optional(),
3226
3477
  projectId: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
3227
3478
  });
3228
3479
  /**
@@ -3348,10 +3599,42 @@ export const zSlackChannelSetQuery = z.object({
3348
3599
  * Updated installation
3349
3600
  */
3350
3601
  export const zSlackChannelSetResponse = zSlackInstallationResponse;
3602
+ export const zEmailListQuery = z.object({
3603
+ scope: z.enum(["user"]).optional(),
3604
+ });
3605
+ /**
3606
+ * Email mailboxes
3607
+ */
3608
+ export const zEmailListResponse = z.array(zProjectEmailResponse);
3609
+ export const zEmailUnsetPath = z.object({
3610
+ projectId: z.string().min(1),
3611
+ });
3612
+ export const zEmailUnsetQuery = z.object({
3613
+ scope: z.enum(["user"]).optional(),
3614
+ });
3615
+ /**
3616
+ * Removed
3617
+ */
3618
+ export const zEmailUnsetResponse = z.void();
3619
+ export const zEmailSetBody = z.object({
3620
+ defaultProjectAgentId: z.string().nullish().default(null),
3621
+ fallbackSenderUserId: z.string().nullish().default(null),
3622
+ });
3623
+ export const zEmailSetPath = z.object({
3624
+ projectId: z.string().min(1),
3625
+ });
3626
+ export const zEmailSetQuery = z.object({
3627
+ scope: z.enum(["user"]).optional(),
3628
+ });
3629
+ /**
3630
+ * The project's email mailbox
3631
+ */
3632
+ export const zEmailSetResponse = zProjectEmailResponse;
3351
3633
  export const zVaultListQuery = z.object({
3352
3634
  scope: z.enum(["user"]).optional(),
3353
3635
  limit: z.number().gte(1).lte(1000).optional(),
3354
3636
  offset: z.number().gte(0).optional(),
3637
+ includeDeprecated: z.boolean().optional(),
3355
3638
  });
3356
3639
  /**
3357
3640
  * List of vaults
@@ -3420,6 +3703,7 @@ export const zCredentialListQuery = z.object({
3420
3703
  scope: z.enum(["user"]).optional(),
3421
3704
  limit: z.number().gte(1).lte(1000).optional(),
3422
3705
  offset: z.number().gte(0).optional(),
3706
+ includeDeprecated: z.boolean().optional(),
3423
3707
  });
3424
3708
  /**
3425
3709
  * List of credentials
@@ -3536,8 +3820,8 @@ export const zRegistryAgentGetResponse = zAgent;
3536
3820
  export const zRegistrySkillListQuery = z.object({
3537
3821
  limit: z.number().gte(1).lte(1000).optional(),
3538
3822
  offset: z.number().gte(0).optional(),
3539
- sort: z.enum(["popular", "trending", "recent"]).optional(),
3540
3823
  includeDeprecated: z.boolean().optional(),
3824
+ sort: z.enum(["popular", "trending", "recent"]).optional(),
3541
3825
  });
3542
3826
  /**
3543
3827
  * List of published skills
@@ -3553,8 +3837,8 @@ export const zRegistrySkillGetResponse = zSkill;
3553
3837
  export const zRegistryMcpListQuery = z.object({
3554
3838
  limit: z.number().gte(1).lte(1000).optional(),
3555
3839
  offset: z.number().gte(0).optional(),
3556
- sort: z.enum(["popular", "trending", "recent"]).optional(),
3557
3840
  includeDeprecated: z.boolean().optional(),
3841
+ sort: z.enum(["popular", "trending", "recent"]).optional(),
3558
3842
  });
3559
3843
  /**
3560
3844
  * List of published MCPs
@@ -3622,3 +3906,10 @@ export const zRegistryReplaySharedFilesPresignDownloadPath = z.object({
3622
3906
  * Presigned download URL
3623
3907
  */
3624
3908
  export const zRegistryReplaySharedFilesPresignDownloadResponse = zReplayPresignDownloadResponse;
3909
+ export const zRegistryTopologyShareGetPath = z.object({
3910
+ token: z.string().min(1),
3911
+ });
3912
+ /**
3913
+ * Live topology for the shared org
3914
+ */
3915
+ export const zRegistryTopologyShareGetResponse = zTopology;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renai-labs/sdk",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "TypeScript SDK for the Ren API, generated from OpenAPI.",
5
5
  "license": "MIT",
6
6
  "author": "Ren Labs, Inc.",