@renai-labs/sdk 0.1.1 → 0.1.2
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.
- package/dist/generated/@tanstack/react-query.gen.d.ts +286 -2
- package/dist/generated/@tanstack/react-query.gen.js +476 -1
- package/dist/generated/sdk.gen.d.ts +130 -2
- package/dist/generated/sdk.gen.js +315 -1
- package/dist/generated/types.gen.d.ts +2622 -1286
- package/dist/generated/zod.gen.d.ts +4085 -258
- package/dist/generated/zod.gen.js +513 -9
- package/package.json +1 -1
|
@@ -45,6 +45,63 @@ export const zPermissionConfig = z.union([
|
|
|
45
45
|
}),
|
|
46
46
|
z.enum(["allow", "deny", "ask"]),
|
|
47
47
|
]);
|
|
48
|
+
export const zBlueprintReplayRef = z.object({
|
|
49
|
+
replayId: z.string(),
|
|
50
|
+
});
|
|
51
|
+
export const zBlueprintMcpRef = z.object({
|
|
52
|
+
mcpId: z.string(),
|
|
53
|
+
});
|
|
54
|
+
export const zBlueprintSkillRef = z.object({
|
|
55
|
+
skillId: z.string(),
|
|
56
|
+
versionId: z.string().nullable(),
|
|
57
|
+
});
|
|
58
|
+
export const zBlueprintAgentRef = z.object({
|
|
59
|
+
agentId: z.string(),
|
|
60
|
+
versionId: z.string().nullable(),
|
|
61
|
+
});
|
|
62
|
+
export const zBlueprintProjectEntry = z.object({
|
|
63
|
+
name: z.string(),
|
|
64
|
+
description: z.string().nullable(),
|
|
65
|
+
permission: zPermissionConfig,
|
|
66
|
+
parentId: z.string().nullish().default(null),
|
|
67
|
+
agents: z.array(z.object({
|
|
68
|
+
agentId: z.string(),
|
|
69
|
+
type: z.enum(["primary", "subagent", "all"]),
|
|
70
|
+
})),
|
|
71
|
+
cronTriggers: z.array(z.object({
|
|
72
|
+
inputMessage: z.string(),
|
|
73
|
+
schedule: z.string(),
|
|
74
|
+
timezone: z.string().nullable(),
|
|
75
|
+
cronTriggerId: z.string(),
|
|
76
|
+
agentId: z.string(),
|
|
77
|
+
})),
|
|
78
|
+
});
|
|
79
|
+
export const zBlueprintTemplate = z.object({
|
|
80
|
+
schemaVersion: z.literal(1),
|
|
81
|
+
projects: z.array(zBlueprintProjectEntry),
|
|
82
|
+
agents: z.array(zBlueprintAgentRef),
|
|
83
|
+
skills: z.array(zBlueprintSkillRef),
|
|
84
|
+
mcps: z.array(zBlueprintMcpRef),
|
|
85
|
+
replays: z.array(zBlueprintReplayRef),
|
|
86
|
+
});
|
|
87
|
+
export const zWebsiteMetadata = z.object({
|
|
88
|
+
title: z.string().optional(),
|
|
89
|
+
description: z.string().optional(),
|
|
90
|
+
longDescription: z.string().optional(),
|
|
91
|
+
image: z.url().optional(),
|
|
92
|
+
favicon: z.url().optional(),
|
|
93
|
+
supportUrl: z.url().optional(),
|
|
94
|
+
privacyPolicyUrl: z.url().optional(),
|
|
95
|
+
});
|
|
96
|
+
export const zBlueprintPublicView = z.object({
|
|
97
|
+
id: z.string(),
|
|
98
|
+
slug: z.string(),
|
|
99
|
+
name: z.string(),
|
|
100
|
+
description: z.string().nullable(),
|
|
101
|
+
websiteMetadata: zWebsiteMetadata.nullable(),
|
|
102
|
+
publisherId: z.string(),
|
|
103
|
+
template: zBlueprintTemplate,
|
|
104
|
+
});
|
|
48
105
|
export const zReplayPresignDownloadResponse = z.object({
|
|
49
106
|
url: z.string(),
|
|
50
107
|
expiresAt: z.iso
|
|
@@ -285,15 +342,6 @@ export const zSkillVersion = z.object({
|
|
|
285
342
|
requiredCredentials: z.array(zRequiredCredential),
|
|
286
343
|
releaseNotes: z.string().nullable(),
|
|
287
344
|
});
|
|
288
|
-
export const zWebsiteMetadata = z.object({
|
|
289
|
-
title: z.string().optional(),
|
|
290
|
-
description: z.string().optional(),
|
|
291
|
-
longDescription: z.string().optional(),
|
|
292
|
-
image: z.url().optional(),
|
|
293
|
-
favicon: z.url().optional(),
|
|
294
|
-
supportUrl: z.url().optional(),
|
|
295
|
-
privacyPolicyUrl: z.url().optional(),
|
|
296
|
-
});
|
|
297
345
|
export const zRepository = z.object({
|
|
298
346
|
url: z.url().optional(),
|
|
299
347
|
source: z.string().optional(),
|
|
@@ -309,6 +357,7 @@ export const zSkill = z.object({
|
|
|
309
357
|
orgId: z.string(),
|
|
310
358
|
userId: z.string().nullable(),
|
|
311
359
|
publisherId: z.string().nullable(),
|
|
360
|
+
parentId: z.string().nullable(),
|
|
312
361
|
websiteMetadata: zWebsiteMetadata.nullable(),
|
|
313
362
|
sortOrder: z.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
|
|
314
363
|
popularityScore: z.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
|
|
@@ -325,6 +374,11 @@ export const zSkill = z.object({
|
|
|
325
374
|
.datetime()
|
|
326
375
|
.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))$/)
|
|
327
376
|
.nullable(),
|
|
377
|
+
deprecatedAt: z.iso
|
|
378
|
+
.datetime()
|
|
379
|
+
.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))$/)
|
|
380
|
+
.nullable(),
|
|
381
|
+
deprecationMessage: z.string().nullable(),
|
|
328
382
|
tags: z.array(z.string()).optional().default([]),
|
|
329
383
|
});
|
|
330
384
|
export const zSessionVolumeRef = z.object({
|
|
@@ -397,6 +451,12 @@ export const zAuthRequirements = z.object({
|
|
|
397
451
|
mcps: z.array(zAuthRequirementMcp),
|
|
398
452
|
envs: z.array(zAuthRequirementEnv),
|
|
399
453
|
});
|
|
454
|
+
export const zSessionMessagesPage = z.object({
|
|
455
|
+
items: z.array(zReplayMessage),
|
|
456
|
+
pageNumber: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
457
|
+
pageSize: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
458
|
+
total: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
459
|
+
});
|
|
400
460
|
export const zOpencodeSession = z.object({
|
|
401
461
|
id: z.string(),
|
|
402
462
|
createdById: z.string(),
|
|
@@ -470,6 +530,34 @@ export const zReplay = z.object({
|
|
|
470
530
|
.datetime()
|
|
471
531
|
.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))$/)
|
|
472
532
|
.nullable(),
|
|
533
|
+
deprecatedAt: z.iso
|
|
534
|
+
.datetime()
|
|
535
|
+
.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))$/)
|
|
536
|
+
.nullable(),
|
|
537
|
+
deprecationMessage: z.string().nullable(),
|
|
538
|
+
});
|
|
539
|
+
export const zPublisher = z.object({
|
|
540
|
+
id: z.string(),
|
|
541
|
+
organizationId: z.string().nullable(),
|
|
542
|
+
slug: z.string(),
|
|
543
|
+
name: z.string(),
|
|
544
|
+
description: z.string().nullable(),
|
|
545
|
+
avatar: z.string().nullable(),
|
|
546
|
+
url: z.string().nullable(),
|
|
547
|
+
isVerified: z.boolean(),
|
|
548
|
+
createdAt: z.iso
|
|
549
|
+
.datetime()
|
|
550
|
+
.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))$/),
|
|
551
|
+
updatedAt: z.iso
|
|
552
|
+
.datetime()
|
|
553
|
+
.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))$/),
|
|
554
|
+
archivedAt: z.iso
|
|
555
|
+
.datetime()
|
|
556
|
+
.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))$/)
|
|
557
|
+
.nullable(),
|
|
558
|
+
});
|
|
559
|
+
export const zPublisherMe = z.object({
|
|
560
|
+
org: zPublisher.nullable(),
|
|
473
561
|
});
|
|
474
562
|
export const zProjectMemoryStore = z.object({
|
|
475
563
|
id: z.string(),
|
|
@@ -550,6 +638,7 @@ export const zPodSandboxStatusResponse = z.union([
|
|
|
550
638
|
z.object({
|
|
551
639
|
status: z.literal("provisioning"),
|
|
552
640
|
workflowId: z.string(),
|
|
641
|
+
phase: z.enum(["loading", "resuming", "provisioning", "bootstrapping", "finalizing"]),
|
|
553
642
|
}),
|
|
554
643
|
z.object({
|
|
555
644
|
status: z.literal("ready"),
|
|
@@ -655,11 +744,16 @@ export const zOnboardingStart = z.object({
|
|
|
655
744
|
projectId: z.string(),
|
|
656
745
|
sessionId: z.string(),
|
|
657
746
|
});
|
|
747
|
+
export const zModelPricing = z.object({
|
|
748
|
+
input_usd_per_million_tokens: z.number(),
|
|
749
|
+
output_usd_per_million_tokens: z.number(),
|
|
750
|
+
});
|
|
658
751
|
export const zModelEntry = z.object({
|
|
659
752
|
key: z.string(),
|
|
660
753
|
name: z.string(),
|
|
661
754
|
description: z.string(),
|
|
662
755
|
size: z.enum(["large", "medium", "small"]).optional(),
|
|
756
|
+
pricing: zModelPricing.optional(),
|
|
663
757
|
});
|
|
664
758
|
export const zModelProvider = z.object({
|
|
665
759
|
key: z.string(),
|
|
@@ -778,6 +872,11 @@ export const zMcp = z.object({
|
|
|
778
872
|
.datetime()
|
|
779
873
|
.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))$/)
|
|
780
874
|
.nullable(),
|
|
875
|
+
deprecatedAt: z.iso
|
|
876
|
+
.datetime()
|
|
877
|
+
.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))$/)
|
|
878
|
+
.nullable(),
|
|
879
|
+
deprecationMessage: z.string().nullable(),
|
|
781
880
|
tags: z.array(z.string()).optional().default([]),
|
|
782
881
|
});
|
|
783
882
|
export const zGithubInstallationResponse = z.object({
|
|
@@ -940,6 +1039,51 @@ export const zDashboardResponse = z.object({
|
|
|
940
1039
|
})),
|
|
941
1040
|
period: z.enum(["7d", "30d", "90d"]),
|
|
942
1041
|
});
|
|
1042
|
+
export const zBlueprintInstallReport = z.object({
|
|
1043
|
+
projects: z.array(z.string()),
|
|
1044
|
+
agents: z.array(z.string()),
|
|
1045
|
+
skills: z.array(z.string()),
|
|
1046
|
+
mcps: z.array(z.string()),
|
|
1047
|
+
skipped: z.array(z.object({
|
|
1048
|
+
kind: z.enum(["skill", "agent", "mcp"]),
|
|
1049
|
+
sourceId: z.string(),
|
|
1050
|
+
reason: z.string(),
|
|
1051
|
+
})),
|
|
1052
|
+
});
|
|
1053
|
+
export const zBlueprintSelection = z.object({
|
|
1054
|
+
projectIds: z.array(z.string()).optional().default([]),
|
|
1055
|
+
agentIds: z.array(z.string()).optional().default([]),
|
|
1056
|
+
skillIds: z.array(z.string()).optional().default([]),
|
|
1057
|
+
mcpIds: z.array(z.string()).optional().default([]),
|
|
1058
|
+
replayIds: z.array(z.string()).optional().default([]),
|
|
1059
|
+
cronTriggerIds: z.array(z.string()).optional().default([]),
|
|
1060
|
+
});
|
|
1061
|
+
export const zBlueprint = z.object({
|
|
1062
|
+
id: z.string(),
|
|
1063
|
+
slug: z.string(),
|
|
1064
|
+
name: z.string(),
|
|
1065
|
+
description: z.string().nullable(),
|
|
1066
|
+
orgId: z.string(),
|
|
1067
|
+
userId: z.string().nullable(),
|
|
1068
|
+
publisherId: z.string().nullable(),
|
|
1069
|
+
template: zBlueprintTemplate,
|
|
1070
|
+
websiteMetadata: zWebsiteMetadata.nullable(),
|
|
1071
|
+
createdAt: z.iso
|
|
1072
|
+
.datetime()
|
|
1073
|
+
.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))$/),
|
|
1074
|
+
updatedAt: z.iso
|
|
1075
|
+
.datetime()
|
|
1076
|
+
.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))$/),
|
|
1077
|
+
archivedAt: z.iso
|
|
1078
|
+
.datetime()
|
|
1079
|
+
.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))$/)
|
|
1080
|
+
.nullable(),
|
|
1081
|
+
deprecatedAt: z.iso
|
|
1082
|
+
.datetime()
|
|
1083
|
+
.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))$/)
|
|
1084
|
+
.nullable(),
|
|
1085
|
+
deprecationMessage: z.string().nullable(),
|
|
1086
|
+
});
|
|
943
1087
|
export const zAgentVersion = z.object({
|
|
944
1088
|
id: z.string(),
|
|
945
1089
|
agentId: z.string(),
|
|
@@ -969,6 +1113,30 @@ export const zSearchResult = z.object({
|
|
|
969
1113
|
.datetime()
|
|
970
1114
|
.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))$/),
|
|
971
1115
|
});
|
|
1116
|
+
export const zAgentLatestVersion = z.object({
|
|
1117
|
+
id: z.string(),
|
|
1118
|
+
agentId: z.string(),
|
|
1119
|
+
version: z.string().regex(/^\d+\.\d+\.\d+$/),
|
|
1120
|
+
skills: z.array(z.object({
|
|
1121
|
+
skillId: z.string(),
|
|
1122
|
+
skillVersionId: z.string().nullish().default(null),
|
|
1123
|
+
skill: z.object({
|
|
1124
|
+
id: z.string(),
|
|
1125
|
+
slug: z.string(),
|
|
1126
|
+
name: z.string(),
|
|
1127
|
+
icon: z.string().nullable(),
|
|
1128
|
+
}),
|
|
1129
|
+
})),
|
|
1130
|
+
mcps: z.array(z.object({
|
|
1131
|
+
mcpId: z.string(),
|
|
1132
|
+
mcp: z.object({
|
|
1133
|
+
id: z.string(),
|
|
1134
|
+
slug: z.string(),
|
|
1135
|
+
name: z.string(),
|
|
1136
|
+
icon: z.string().nullable(),
|
|
1137
|
+
}),
|
|
1138
|
+
})),
|
|
1139
|
+
});
|
|
972
1140
|
export const zAgent = z.object({
|
|
973
1141
|
id: z.string(),
|
|
974
1142
|
slug: z.string(),
|
|
@@ -977,6 +1145,7 @@ export const zAgent = z.object({
|
|
|
977
1145
|
orgId: z.string(),
|
|
978
1146
|
userId: z.string().nullable(),
|
|
979
1147
|
publisherId: z.string().nullable(),
|
|
1148
|
+
parentId: z.string().nullable(),
|
|
980
1149
|
websiteMetadata: zWebsiteMetadata.nullable(),
|
|
981
1150
|
latestVersionId: z.string().nullable(),
|
|
982
1151
|
createdAt: z.iso
|
|
@@ -989,6 +1158,12 @@ export const zAgent = z.object({
|
|
|
989
1158
|
.datetime()
|
|
990
1159
|
.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))$/)
|
|
991
1160
|
.nullable(),
|
|
1161
|
+
deprecatedAt: z.iso
|
|
1162
|
+
.datetime()
|
|
1163
|
+
.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))$/)
|
|
1164
|
+
.nullable(),
|
|
1165
|
+
deprecationMessage: z.string().nullable(),
|
|
1166
|
+
latestVersion: zAgentLatestVersion.nullish(),
|
|
992
1167
|
});
|
|
993
1168
|
/**
|
|
994
1169
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
@@ -1058,6 +1233,7 @@ export const zAgentGetResponse = zAgent;
|
|
|
1058
1233
|
export const zAgentUpdateBody = z.object({
|
|
1059
1234
|
name: z.string().optional(),
|
|
1060
1235
|
icon: z.string().nullish(),
|
|
1236
|
+
websiteMetadata: zWebsiteMetadata.nullish(),
|
|
1061
1237
|
tags: z.array(z.string()).optional(),
|
|
1062
1238
|
});
|
|
1063
1239
|
export const zAgentUpdatePath = z.object({
|
|
@@ -1080,6 +1256,39 @@ export const zAgentArchiveQuery = z.object({
|
|
|
1080
1256
|
* Archived agent
|
|
1081
1257
|
*/
|
|
1082
1258
|
export const zAgentArchiveResponse = zAgent;
|
|
1259
|
+
export const zAgentPublishPath = z.object({
|
|
1260
|
+
id: z.string().regex(/^agt_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1261
|
+
});
|
|
1262
|
+
export const zAgentPublishQuery = z.object({
|
|
1263
|
+
scope: z.enum(["user"]).optional(),
|
|
1264
|
+
});
|
|
1265
|
+
/**
|
|
1266
|
+
* Published agent
|
|
1267
|
+
*/
|
|
1268
|
+
export const zAgentPublishResponse = zAgent;
|
|
1269
|
+
export const zAgentDeprecateBody = z.object({
|
|
1270
|
+
message: z.string().nullish(),
|
|
1271
|
+
});
|
|
1272
|
+
export const zAgentDeprecatePath = z.object({
|
|
1273
|
+
id: z.string().regex(/^agt_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1274
|
+
});
|
|
1275
|
+
export const zAgentDeprecateQuery = z.object({
|
|
1276
|
+
scope: z.enum(["user"]).optional(),
|
|
1277
|
+
});
|
|
1278
|
+
/**
|
|
1279
|
+
* Deprecated agent
|
|
1280
|
+
*/
|
|
1281
|
+
export const zAgentDeprecateResponse = zAgent;
|
|
1282
|
+
export const zAgentUndeprecatePath = z.object({
|
|
1283
|
+
id: z.string().regex(/^agt_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1284
|
+
});
|
|
1285
|
+
export const zAgentUndeprecateQuery = z.object({
|
|
1286
|
+
scope: z.enum(["user"]).optional(),
|
|
1287
|
+
});
|
|
1288
|
+
/**
|
|
1289
|
+
* Undeprecated agent
|
|
1290
|
+
*/
|
|
1291
|
+
export const zAgentUndeprecateResponse = zAgent;
|
|
1083
1292
|
export const zAgentVersionListPath = z.object({
|
|
1084
1293
|
id: z.string().regex(/^agt_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1085
1294
|
});
|
|
@@ -1148,6 +1357,108 @@ export const zAgentVersionArchiveQuery = z.object({
|
|
|
1148
1357
|
* Archived agent version
|
|
1149
1358
|
*/
|
|
1150
1359
|
export const zAgentVersionArchiveResponse = zAgentVersion;
|
|
1360
|
+
export const zBlueprintListQuery = z.object({
|
|
1361
|
+
scope: z.enum(["user"]).optional(),
|
|
1362
|
+
limit: z.number().gte(1).lte(1000).optional(),
|
|
1363
|
+
offset: z.number().gte(0).optional(),
|
|
1364
|
+
});
|
|
1365
|
+
/**
|
|
1366
|
+
* List of blueprints
|
|
1367
|
+
*/
|
|
1368
|
+
export const zBlueprintListResponse = z.array(zBlueprint);
|
|
1369
|
+
export const zBlueprintCreateBody = z.object({
|
|
1370
|
+
name: z.string().min(1).max(256),
|
|
1371
|
+
description: z.string().optional().default(""),
|
|
1372
|
+
websiteMetadata: zWebsiteMetadata.nullish().default(null),
|
|
1373
|
+
selection: zBlueprintSelection,
|
|
1374
|
+
});
|
|
1375
|
+
export const zBlueprintCreateQuery = z.object({
|
|
1376
|
+
scope: z.enum(["user"]).optional(),
|
|
1377
|
+
});
|
|
1378
|
+
/**
|
|
1379
|
+
* Created blueprint
|
|
1380
|
+
*/
|
|
1381
|
+
export const zBlueprintCreateResponse = zBlueprint;
|
|
1382
|
+
export const zBlueprintInstallBody = z.object({
|
|
1383
|
+
source: z.string().min(1),
|
|
1384
|
+
podId: z.string().regex(/^pod_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1385
|
+
});
|
|
1386
|
+
export const zBlueprintInstallQuery = z.object({
|
|
1387
|
+
scope: z.enum(["user"]).optional(),
|
|
1388
|
+
});
|
|
1389
|
+
/**
|
|
1390
|
+
* Install report
|
|
1391
|
+
*/
|
|
1392
|
+
export const zBlueprintInstallResponse = zBlueprintInstallReport;
|
|
1393
|
+
export const zBlueprintGetPath = z.object({
|
|
1394
|
+
id: z.string().regex(/^blp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1395
|
+
});
|
|
1396
|
+
export const zBlueprintGetQuery = z.object({
|
|
1397
|
+
scope: z.enum(["user"]).optional(),
|
|
1398
|
+
});
|
|
1399
|
+
/**
|
|
1400
|
+
* Blueprint details
|
|
1401
|
+
*/
|
|
1402
|
+
export const zBlueprintGetResponse = zBlueprint;
|
|
1403
|
+
export const zBlueprintUpdateBody = z.object({
|
|
1404
|
+
name: z.string().min(1).max(256).optional(),
|
|
1405
|
+
description: z.string().optional(),
|
|
1406
|
+
websiteMetadata: zWebsiteMetadata.nullish(),
|
|
1407
|
+
selection: zBlueprintSelection.optional(),
|
|
1408
|
+
});
|
|
1409
|
+
export const zBlueprintUpdatePath = z.object({
|
|
1410
|
+
id: z.string().regex(/^blp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1411
|
+
});
|
|
1412
|
+
export const zBlueprintUpdateQuery = z.object({
|
|
1413
|
+
scope: z.enum(["user"]).optional(),
|
|
1414
|
+
});
|
|
1415
|
+
/**
|
|
1416
|
+
* Updated blueprint
|
|
1417
|
+
*/
|
|
1418
|
+
export const zBlueprintUpdateResponse = zBlueprint;
|
|
1419
|
+
export const zBlueprintPublishPath = z.object({
|
|
1420
|
+
id: z.string().regex(/^blp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1421
|
+
});
|
|
1422
|
+
export const zBlueprintPublishQuery = z.object({
|
|
1423
|
+
scope: z.enum(["user"]).optional(),
|
|
1424
|
+
});
|
|
1425
|
+
/**
|
|
1426
|
+
* Published blueprint
|
|
1427
|
+
*/
|
|
1428
|
+
export const zBlueprintPublishResponse = zBlueprint;
|
|
1429
|
+
export const zBlueprintDeprecateBody = z.object({
|
|
1430
|
+
message: z.string().nullish(),
|
|
1431
|
+
});
|
|
1432
|
+
export const zBlueprintDeprecatePath = z.object({
|
|
1433
|
+
id: z.string().regex(/^blp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1434
|
+
});
|
|
1435
|
+
export const zBlueprintDeprecateQuery = z.object({
|
|
1436
|
+
scope: z.enum(["user"]).optional(),
|
|
1437
|
+
});
|
|
1438
|
+
/**
|
|
1439
|
+
* Deprecated blueprint
|
|
1440
|
+
*/
|
|
1441
|
+
export const zBlueprintDeprecateResponse = zBlueprint;
|
|
1442
|
+
export const zBlueprintUndeprecatePath = z.object({
|
|
1443
|
+
id: z.string().regex(/^blp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1444
|
+
});
|
|
1445
|
+
export const zBlueprintUndeprecateQuery = z.object({
|
|
1446
|
+
scope: z.enum(["user"]).optional(),
|
|
1447
|
+
});
|
|
1448
|
+
/**
|
|
1449
|
+
* Undeprecated blueprint
|
|
1450
|
+
*/
|
|
1451
|
+
export const zBlueprintUndeprecateResponse = zBlueprint;
|
|
1452
|
+
export const zBlueprintArchivePath = z.object({
|
|
1453
|
+
id: z.string().regex(/^blp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1454
|
+
});
|
|
1455
|
+
export const zBlueprintArchiveQuery = z.object({
|
|
1456
|
+
scope: z.enum(["user"]).optional(),
|
|
1457
|
+
});
|
|
1458
|
+
/**
|
|
1459
|
+
* Archived blueprint
|
|
1460
|
+
*/
|
|
1461
|
+
export const zBlueprintArchiveResponse = zBlueprint;
|
|
1151
1462
|
/**
|
|
1152
1463
|
* Billing summary
|
|
1153
1464
|
*/
|
|
@@ -1554,6 +1865,7 @@ export const zMcpUpdateBody = z.object({
|
|
|
1554
1865
|
prompts: z.array(z.string()).optional(),
|
|
1555
1866
|
auth: z.enum(["none", "oauth", "api_key", "basic"]).optional(),
|
|
1556
1867
|
authConfig: zMcpAuthConfig.nullish(),
|
|
1868
|
+
websiteMetadata: zWebsiteMetadata.nullish(),
|
|
1557
1869
|
tags: z.array(z.string()).optional(),
|
|
1558
1870
|
});
|
|
1559
1871
|
export const zMcpUpdatePath = z.object({
|
|
@@ -1576,6 +1888,39 @@ export const zMcpArchiveQuery = z.object({
|
|
|
1576
1888
|
* Archived MCP
|
|
1577
1889
|
*/
|
|
1578
1890
|
export const zMcpArchiveResponse = zMcp;
|
|
1891
|
+
export const zMcpPublishPath = z.object({
|
|
1892
|
+
id: z.string().regex(/^mcp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1893
|
+
});
|
|
1894
|
+
export const zMcpPublishQuery = z.object({
|
|
1895
|
+
scope: z.enum(["user"]).optional(),
|
|
1896
|
+
});
|
|
1897
|
+
/**
|
|
1898
|
+
* Published MCP
|
|
1899
|
+
*/
|
|
1900
|
+
export const zMcpPublishResponse = zMcp;
|
|
1901
|
+
export const zMcpDeprecateBody = z.object({
|
|
1902
|
+
message: z.string().nullish(),
|
|
1903
|
+
});
|
|
1904
|
+
export const zMcpDeprecatePath = z.object({
|
|
1905
|
+
id: z.string().regex(/^mcp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1906
|
+
});
|
|
1907
|
+
export const zMcpDeprecateQuery = z.object({
|
|
1908
|
+
scope: z.enum(["user"]).optional(),
|
|
1909
|
+
});
|
|
1910
|
+
/**
|
|
1911
|
+
* Deprecated MCP
|
|
1912
|
+
*/
|
|
1913
|
+
export const zMcpDeprecateResponse = zMcp;
|
|
1914
|
+
export const zMcpUndeprecatePath = z.object({
|
|
1915
|
+
id: z.string().regex(/^mcp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
1916
|
+
});
|
|
1917
|
+
export const zMcpUndeprecateQuery = z.object({
|
|
1918
|
+
scope: z.enum(["user"]).optional(),
|
|
1919
|
+
});
|
|
1920
|
+
/**
|
|
1921
|
+
* Undeprecated MCP
|
|
1922
|
+
*/
|
|
1923
|
+
export const zMcpUndeprecateResponse = zMcp;
|
|
1579
1924
|
export const zMcpOauthConnectBody = zMcpOAuthConnectBody;
|
|
1580
1925
|
export const zMcpOauthConnectPath = z.object({
|
|
1581
1926
|
id: z.string().regex(/^mcp_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
@@ -2098,6 +2443,60 @@ export const zProjectArchiveQuery = z.object({
|
|
|
2098
2443
|
* Archived project
|
|
2099
2444
|
*/
|
|
2100
2445
|
export const zProjectArchiveResponse = zProject;
|
|
2446
|
+
export const zPublisherMeQuery = z.object({
|
|
2447
|
+
scope: z.enum(["user"]).optional(),
|
|
2448
|
+
});
|
|
2449
|
+
/**
|
|
2450
|
+
* Caller's org publisher
|
|
2451
|
+
*/
|
|
2452
|
+
export const zPublisherMeResponse = zPublisherMe;
|
|
2453
|
+
export const zPublisherClaimOrgBody = z.object({
|
|
2454
|
+
slug: z
|
|
2455
|
+
.string()
|
|
2456
|
+
.min(1)
|
|
2457
|
+
.max(128)
|
|
2458
|
+
.regex(/^[a-z0-9-]+$/)
|
|
2459
|
+
.optional(),
|
|
2460
|
+
});
|
|
2461
|
+
export const zPublisherClaimOrgQuery = z.object({
|
|
2462
|
+
scope: z.enum(["user"]).optional(),
|
|
2463
|
+
});
|
|
2464
|
+
/**
|
|
2465
|
+
* Org publisher
|
|
2466
|
+
*/
|
|
2467
|
+
export const zPublisherClaimOrgResponse = zPublisher;
|
|
2468
|
+
export const zPublisherGetPath = z.object({
|
|
2469
|
+
id: z.string().regex(/^pub_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2470
|
+
});
|
|
2471
|
+
export const zPublisherGetQuery = z.object({
|
|
2472
|
+
scope: z.enum(["user"]).optional(),
|
|
2473
|
+
});
|
|
2474
|
+
/**
|
|
2475
|
+
* Publisher
|
|
2476
|
+
*/
|
|
2477
|
+
export const zPublisherGetResponse = zPublisher;
|
|
2478
|
+
export const zPublisherUpdateBody = z.object({
|
|
2479
|
+
name: z.string().optional(),
|
|
2480
|
+
description: z.string().nullish(),
|
|
2481
|
+
avatar: z.string().nullish(),
|
|
2482
|
+
url: z.string().nullish(),
|
|
2483
|
+
slug: z
|
|
2484
|
+
.string()
|
|
2485
|
+
.min(1)
|
|
2486
|
+
.max(128)
|
|
2487
|
+
.regex(/^[a-z0-9-]+$/)
|
|
2488
|
+
.optional(),
|
|
2489
|
+
});
|
|
2490
|
+
export const zPublisherUpdatePath = z.object({
|
|
2491
|
+
id: z.string().regex(/^pub_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2492
|
+
});
|
|
2493
|
+
export const zPublisherUpdateQuery = z.object({
|
|
2494
|
+
scope: z.enum(["user"]).optional(),
|
|
2495
|
+
});
|
|
2496
|
+
/**
|
|
2497
|
+
* Updated publisher
|
|
2498
|
+
*/
|
|
2499
|
+
export const zPublisherUpdateResponse = zPublisher;
|
|
2101
2500
|
export const zReplayListQuery = z.object({
|
|
2102
2501
|
scope: z.enum(["user"]).optional(),
|
|
2103
2502
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
@@ -2130,6 +2529,19 @@ export const zReplayGetQuery = z.object({
|
|
|
2130
2529
|
* Details
|
|
2131
2530
|
*/
|
|
2132
2531
|
export const zReplayGetResponse = zReplay;
|
|
2532
|
+
export const zReplayUpdateBody = z.object({
|
|
2533
|
+
websiteMetadata: zWebsiteMetadata.nullish(),
|
|
2534
|
+
});
|
|
2535
|
+
export const zReplayUpdatePath = z.object({
|
|
2536
|
+
id: z.string().regex(/^rpl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2537
|
+
});
|
|
2538
|
+
export const zReplayUpdateQuery = z.object({
|
|
2539
|
+
scope: z.enum(["user"]).optional(),
|
|
2540
|
+
});
|
|
2541
|
+
/**
|
|
2542
|
+
* Updated
|
|
2543
|
+
*/
|
|
2544
|
+
export const zReplayUpdateResponse = zReplay;
|
|
2133
2545
|
export const zReplayArchivePath = z.object({
|
|
2134
2546
|
id: z.string().regex(/^rpl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2135
2547
|
});
|
|
@@ -2140,6 +2552,39 @@ export const zReplayArchiveQuery = z.object({
|
|
|
2140
2552
|
* Archived
|
|
2141
2553
|
*/
|
|
2142
2554
|
export const zReplayArchiveResponse = zReplay;
|
|
2555
|
+
export const zReplayPublishPath = z.object({
|
|
2556
|
+
id: z.string().regex(/^rpl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2557
|
+
});
|
|
2558
|
+
export const zReplayPublishQuery = z.object({
|
|
2559
|
+
scope: z.enum(["user"]).optional(),
|
|
2560
|
+
});
|
|
2561
|
+
/**
|
|
2562
|
+
* Published replay
|
|
2563
|
+
*/
|
|
2564
|
+
export const zReplayPublishResponse = zReplay;
|
|
2565
|
+
export const zReplayDeprecateBody = z.object({
|
|
2566
|
+
message: z.string().nullish(),
|
|
2567
|
+
});
|
|
2568
|
+
export const zReplayDeprecatePath = z.object({
|
|
2569
|
+
id: z.string().regex(/^rpl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2570
|
+
});
|
|
2571
|
+
export const zReplayDeprecateQuery = z.object({
|
|
2572
|
+
scope: z.enum(["user"]).optional(),
|
|
2573
|
+
});
|
|
2574
|
+
/**
|
|
2575
|
+
* Deprecated replay
|
|
2576
|
+
*/
|
|
2577
|
+
export const zReplayDeprecateResponse = zReplay;
|
|
2578
|
+
export const zReplayUndeprecatePath = z.object({
|
|
2579
|
+
id: z.string().regex(/^rpl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2580
|
+
});
|
|
2581
|
+
export const zReplayUndeprecateQuery = z.object({
|
|
2582
|
+
scope: z.enum(["user"]).optional(),
|
|
2583
|
+
});
|
|
2584
|
+
/**
|
|
2585
|
+
* Undeprecated replay
|
|
2586
|
+
*/
|
|
2587
|
+
export const zReplayUndeprecateResponse = zReplay;
|
|
2143
2588
|
export const zReplayShareBody = z.object({
|
|
2144
2589
|
sessionId: z.string(),
|
|
2145
2590
|
websiteMetadata: zWebsiteMetadata.nullish(),
|
|
@@ -2211,6 +2656,18 @@ export const zSessionUpdateQuery = z.object({
|
|
|
2211
2656
|
* Updated session
|
|
2212
2657
|
*/
|
|
2213
2658
|
export const zSessionUpdateResponse = zOpencodeSession;
|
|
2659
|
+
export const zSessionMessagesListPath = z.object({
|
|
2660
|
+
id: z.string().min(1),
|
|
2661
|
+
});
|
|
2662
|
+
export const zSessionMessagesListQuery = z.object({
|
|
2663
|
+
scope: z.enum(["user"]).optional(),
|
|
2664
|
+
pageNumber: z.int().gte(1).lte(9007199254740991).optional(),
|
|
2665
|
+
pageSize: z.int().gte(1).lte(100).optional(),
|
|
2666
|
+
});
|
|
2667
|
+
/**
|
|
2668
|
+
* Paginated session messages
|
|
2669
|
+
*/
|
|
2670
|
+
export const zSessionMessagesListResponse = zSessionMessagesPage;
|
|
2214
2671
|
export const zSessionAuthRequirementsPath = z.object({
|
|
2215
2672
|
id: z.string().min(1),
|
|
2216
2673
|
});
|
|
@@ -2353,6 +2810,39 @@ export const zSkillArchiveQuery = z.object({
|
|
|
2353
2810
|
* Archived skill
|
|
2354
2811
|
*/
|
|
2355
2812
|
export const zSkillArchiveResponse = zSkill;
|
|
2813
|
+
export const zSkillPublishPath = z.object({
|
|
2814
|
+
id: z.string().regex(/^skl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2815
|
+
});
|
|
2816
|
+
export const zSkillPublishQuery = z.object({
|
|
2817
|
+
scope: z.enum(["user"]).optional(),
|
|
2818
|
+
});
|
|
2819
|
+
/**
|
|
2820
|
+
* Published skill
|
|
2821
|
+
*/
|
|
2822
|
+
export const zSkillPublishResponse = zSkill;
|
|
2823
|
+
export const zSkillDeprecateBody = z.object({
|
|
2824
|
+
message: z.string().nullish(),
|
|
2825
|
+
});
|
|
2826
|
+
export const zSkillDeprecatePath = z.object({
|
|
2827
|
+
id: z.string().regex(/^skl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2828
|
+
});
|
|
2829
|
+
export const zSkillDeprecateQuery = z.object({
|
|
2830
|
+
scope: z.enum(["user"]).optional(),
|
|
2831
|
+
});
|
|
2832
|
+
/**
|
|
2833
|
+
* Deprecated skill
|
|
2834
|
+
*/
|
|
2835
|
+
export const zSkillDeprecateResponse = zSkill;
|
|
2836
|
+
export const zSkillUndeprecatePath = z.object({
|
|
2837
|
+
id: z.string().regex(/^skl_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2838
|
+
});
|
|
2839
|
+
export const zSkillUndeprecateQuery = z.object({
|
|
2840
|
+
scope: z.enum(["user"]).optional(),
|
|
2841
|
+
});
|
|
2842
|
+
/**
|
|
2843
|
+
* Undeprecated skill
|
|
2844
|
+
*/
|
|
2845
|
+
export const zSkillUndeprecateResponse = zSkill;
|
|
2356
2846
|
export const zSkillCopyBody = z.object({
|
|
2357
2847
|
name: z.string(),
|
|
2358
2848
|
version: z.string().optional(),
|
|
@@ -2779,6 +3269,7 @@ export const zCredentialOauthSessionResponse = zOAuthSessionStatus;
|
|
|
2779
3269
|
export const zRegistryAgentListQuery = z.object({
|
|
2780
3270
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2781
3271
|
offset: z.number().gte(0).optional(),
|
|
3272
|
+
includeDeprecated: z.boolean().optional(),
|
|
2782
3273
|
});
|
|
2783
3274
|
/**
|
|
2784
3275
|
* List of published agents
|
|
@@ -2795,6 +3286,7 @@ export const zRegistrySkillListQuery = z.object({
|
|
|
2795
3286
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2796
3287
|
offset: z.number().gte(0).optional(),
|
|
2797
3288
|
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3289
|
+
includeDeprecated: z.boolean().optional(),
|
|
2798
3290
|
});
|
|
2799
3291
|
/**
|
|
2800
3292
|
* List of published skills
|
|
@@ -2811,6 +3303,7 @@ export const zRegistryMcpListQuery = z.object({
|
|
|
2811
3303
|
limit: z.number().gte(1).lte(1000).optional(),
|
|
2812
3304
|
offset: z.number().gte(0).optional(),
|
|
2813
3305
|
sort: z.enum(["popular", "trending", "recent"]).optional(),
|
|
3306
|
+
includeDeprecated: z.boolean().optional(),
|
|
2814
3307
|
});
|
|
2815
3308
|
/**
|
|
2816
3309
|
* List of published MCPs
|
|
@@ -2849,3 +3342,14 @@ export const zRegistryReplayFilesPresignDownloadPath = z.object({
|
|
|
2849
3342
|
* Presigned download URL
|
|
2850
3343
|
*/
|
|
2851
3344
|
export const zRegistryReplayFilesPresignDownloadResponse = zReplayPresignDownloadResponse;
|
|
3345
|
+
export const zRegistryBlueprintGetPath = z.object({
|
|
3346
|
+
slug: z
|
|
3347
|
+
.string()
|
|
3348
|
+
.min(1)
|
|
3349
|
+
.max(128)
|
|
3350
|
+
.regex(/^[a-z0-9-]+$/),
|
|
3351
|
+
});
|
|
3352
|
+
/**
|
|
3353
|
+
* Public blueprint view
|
|
3354
|
+
*/
|
|
3355
|
+
export const zRegistryBlueprintGetResponse = zBlueprintPublicView;
|