@renai-labs/sdk 0.1.8 → 0.1.9

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.
@@ -1004,6 +1004,25 @@ export type AgentVersion = {
1004
1004
  model: string | null;
1005
1005
  releaseNotes: string | null;
1006
1006
  permission: PermissionConfig;
1007
+ skills?: Array<{
1008
+ skillId: string;
1009
+ skillVersionId?: string | null;
1010
+ skill: {
1011
+ id: string;
1012
+ slug: string;
1013
+ name: string;
1014
+ icon: string | null;
1015
+ };
1016
+ }>;
1017
+ mcps?: Array<{
1018
+ mcpId: string;
1019
+ mcp: {
1020
+ id: string;
1021
+ slug: string;
1022
+ name: string;
1023
+ icon: string | null;
1024
+ };
1025
+ }>;
1007
1026
  };
1008
1027
  export type SearchResult = {
1009
1028
  id: string;
@@ -3428,6 +3447,7 @@ export type McpListResponse = McpListResponses[keyof McpListResponses];
3428
3447
  export type McpCreateData = {
3429
3448
  body?: {
3430
3449
  name: string;
3450
+ slug?: string;
3431
3451
  description?: string;
3432
3452
  icon?: string | null;
3433
3453
  mcpServerUrl?: string | null;
@@ -6937,6 +6957,7 @@ export type SkillListResponses = {
6937
6957
  export type SkillListResponse = SkillListResponses[keyof SkillListResponses];
6938
6958
  export type SkillCreateData = {
6939
6959
  body: {
6960
+ slug?: string;
6940
6961
  name: string;
6941
6962
  description?: string;
6942
6963
  icon?: string;
@@ -2379,6 +2379,25 @@ export declare const zAgentVersion: z.ZodObject<{
2379
2379
  deny: "deny";
2380
2380
  ask: "ask";
2381
2381
  }>]>;
2382
+ skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2383
+ skillId: z.ZodString;
2384
+ skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2385
+ skill: z.ZodObject<{
2386
+ id: z.ZodString;
2387
+ slug: z.ZodString;
2388
+ name: z.ZodString;
2389
+ icon: z.ZodNullable<z.ZodString>;
2390
+ }, z.core.$strip>;
2391
+ }, z.core.$strip>>>>;
2392
+ mcps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2393
+ mcpId: z.ZodString;
2394
+ mcp: z.ZodObject<{
2395
+ id: z.ZodString;
2396
+ slug: z.ZodString;
2397
+ name: z.ZodString;
2398
+ icon: z.ZodNullable<z.ZodString>;
2399
+ }, z.core.$strip>;
2400
+ }, z.core.$strip>>>>;
2382
2401
  }, z.core.$strip>;
2383
2402
  export declare const zSearchResult: z.ZodObject<{
2384
2403
  id: z.ZodString;
@@ -3370,6 +3389,25 @@ export declare const zAgentVersionListResponse: z.ZodArray<z.ZodObject<{
3370
3389
  deny: "deny";
3371
3390
  ask: "ask";
3372
3391
  }>]>;
3392
+ skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3393
+ skillId: z.ZodString;
3394
+ skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3395
+ skill: z.ZodObject<{
3396
+ id: z.ZodString;
3397
+ slug: z.ZodString;
3398
+ name: z.ZodString;
3399
+ icon: z.ZodNullable<z.ZodString>;
3400
+ }, z.core.$strip>;
3401
+ }, z.core.$strip>>>>;
3402
+ mcps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3403
+ mcpId: z.ZodString;
3404
+ mcp: z.ZodObject<{
3405
+ id: z.ZodString;
3406
+ slug: z.ZodString;
3407
+ name: z.ZodString;
3408
+ icon: z.ZodNullable<z.ZodString>;
3409
+ }, z.core.$strip>;
3410
+ }, z.core.$strip>>>>;
3373
3411
  }, z.core.$strip>>;
3374
3412
  export declare const zAgentVersionCreateBody: z.ZodObject<{
3375
3413
  version: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodEnum<{
@@ -3665,6 +3703,25 @@ export declare const zAgentVersionCreateResponse: z.ZodObject<{
3665
3703
  deny: "deny";
3666
3704
  ask: "ask";
3667
3705
  }>]>;
3706
+ skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3707
+ skillId: z.ZodString;
3708
+ skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3709
+ skill: z.ZodObject<{
3710
+ id: z.ZodString;
3711
+ slug: z.ZodString;
3712
+ name: z.ZodString;
3713
+ icon: z.ZodNullable<z.ZodString>;
3714
+ }, z.core.$strip>;
3715
+ }, z.core.$strip>>>>;
3716
+ mcps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3717
+ mcpId: z.ZodString;
3718
+ mcp: z.ZodObject<{
3719
+ id: z.ZodString;
3720
+ slug: z.ZodString;
3721
+ name: z.ZodString;
3722
+ icon: z.ZodNullable<z.ZodString>;
3723
+ }, z.core.$strip>;
3724
+ }, z.core.$strip>>>>;
3668
3725
  }, z.core.$strip>;
3669
3726
  export declare const zAgentVersionGetPath: z.ZodObject<{
3670
3727
  id: z.ZodString;
@@ -3816,6 +3873,25 @@ export declare const zAgentVersionGetResponse: z.ZodObject<{
3816
3873
  deny: "deny";
3817
3874
  ask: "ask";
3818
3875
  }>]>;
3876
+ skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3877
+ skillId: z.ZodString;
3878
+ skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3879
+ skill: z.ZodObject<{
3880
+ id: z.ZodString;
3881
+ slug: z.ZodString;
3882
+ name: z.ZodString;
3883
+ icon: z.ZodNullable<z.ZodString>;
3884
+ }, z.core.$strip>;
3885
+ }, z.core.$strip>>>>;
3886
+ mcps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3887
+ mcpId: z.ZodString;
3888
+ mcp: z.ZodObject<{
3889
+ id: z.ZodString;
3890
+ slug: z.ZodString;
3891
+ name: z.ZodString;
3892
+ icon: z.ZodNullable<z.ZodString>;
3893
+ }, z.core.$strip>;
3894
+ }, z.core.$strip>>>>;
3819
3895
  }, z.core.$strip>;
3820
3896
  export declare const zAgentVersionArchivePath: z.ZodObject<{
3821
3897
  id: z.ZodString;
@@ -3967,6 +4043,25 @@ export declare const zAgentVersionArchiveResponse: z.ZodObject<{
3967
4043
  deny: "deny";
3968
4044
  ask: "ask";
3969
4045
  }>]>;
4046
+ skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4047
+ skillId: z.ZodString;
4048
+ skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4049
+ skill: z.ZodObject<{
4050
+ id: z.ZodString;
4051
+ slug: z.ZodString;
4052
+ name: z.ZodString;
4053
+ icon: z.ZodNullable<z.ZodString>;
4054
+ }, z.core.$strip>;
4055
+ }, z.core.$strip>>>>;
4056
+ mcps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4057
+ mcpId: z.ZodString;
4058
+ mcp: z.ZodObject<{
4059
+ id: z.ZodString;
4060
+ slug: z.ZodString;
4061
+ name: z.ZodString;
4062
+ icon: z.ZodNullable<z.ZodString>;
4063
+ }, z.core.$strip>;
4064
+ }, z.core.$strip>>>>;
3970
4065
  }, z.core.$strip>;
3971
4066
  export declare const zBlueprintListQuery: z.ZodObject<{
3972
4067
  scope: z.ZodOptional<z.ZodEnum<{
@@ -6497,6 +6592,7 @@ export declare const zMcpListResponse: z.ZodArray<z.ZodObject<{
6497
6592
  }, z.core.$strip>>;
6498
6593
  export declare const zMcpCreateBody: z.ZodObject<{
6499
6594
  name: z.ZodString;
6595
+ slug: z.ZodOptional<z.ZodString>;
6500
6596
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6501
6597
  icon: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6502
6598
  mcpServerUrl: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodURL>>>;
@@ -10335,6 +10431,7 @@ export declare const zSkillListResponse: z.ZodArray<z.ZodObject<{
10335
10431
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
10336
10432
  }, z.core.$strip>>;
10337
10433
  export declare const zSkillCreateBody: z.ZodObject<{
10434
+ slug: z.ZodOptional<z.ZodString>;
10338
10435
  name: z.ZodString;
10339
10436
  description: z.ZodOptional<z.ZodString>;
10340
10437
  icon: z.ZodOptional<z.ZodString>;
@@ -1242,6 +1242,31 @@ export const zAgentVersion = z.object({
1242
1242
  model: z.string().nullable(),
1243
1243
  releaseNotes: z.string().nullable(),
1244
1244
  permission: zPermissionConfig,
1245
+ skills: z
1246
+ .array(z.object({
1247
+ skillId: z.string(),
1248
+ skillVersionId: z.string().nullish().default(null),
1249
+ skill: z.object({
1250
+ id: z.string(),
1251
+ slug: z.string(),
1252
+ name: z.string(),
1253
+ icon: z.string().nullable(),
1254
+ }),
1255
+ }))
1256
+ .optional()
1257
+ .default([]),
1258
+ mcps: z
1259
+ .array(z.object({
1260
+ mcpId: z.string(),
1261
+ mcp: z.object({
1262
+ id: z.string(),
1263
+ slug: z.string(),
1264
+ name: z.string(),
1265
+ icon: z.string().nullable(),
1266
+ }),
1267
+ }))
1268
+ .optional()
1269
+ .default([]),
1245
1270
  });
1246
1271
  export const zSearchResult = z.object({
1247
1272
  id: z.string(),
@@ -1966,6 +1991,7 @@ export const zMcpListQuery = z.object({
1966
1991
  export const zMcpListResponse = z.array(zMcp);
1967
1992
  export const zMcpCreateBody = z.object({
1968
1993
  name: z.string().min(1).max(256),
1994
+ slug: z.string().optional(),
1969
1995
  description: z.string().optional().default(""),
1970
1996
  icon: z.string().nullish().default(null),
1971
1997
  mcpServerUrl: z.url().nullish().default(null),
@@ -2935,6 +2961,7 @@ export const zSkillListQuery = z.object({
2935
2961
  */
2936
2962
  export const zSkillListResponse = z.array(zSkill);
2937
2963
  export const zSkillCreateBody = z.object({
2964
+ slug: z.string().optional(),
2938
2965
  name: z.string(),
2939
2966
  description: z.string().optional(),
2940
2967
  icon: z.string().optional(),
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.9",
4
4
  "description": "TypeScript SDK for the Ren API, generated from OpenAPI.",
5
5
  "license": "MIT",
6
6
  "author": "Ren Labs, Inc.",