@hashgraphonline/standards-sdk 0.1.175 → 0.1.177
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/README.md +23 -0
- package/dist/browser/services/registry-broker/client/base-client.d.ts +14 -7
- package/dist/browser/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/client/skills.d.ts +11 -5
- package/dist/browser/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/schemas.d.ts +5562 -19962
- package/dist/browser/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/types.d.ts +55 -12
- package/dist/browser/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser/standards-sdk.browser.js +240 -87
- package/dist/browser/standards-sdk.browser.js.map +1 -1
- package/dist/browser-root/services/registry-broker/client/base-client.d.ts +14 -7
- package/dist/browser-root/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/client/skills.d.ts +11 -5
- package/dist/browser-root/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/schemas.d.ts +5562 -19962
- package/dist/browser-root/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/types.d.ts +55 -12
- package/dist/browser-root/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser-root/standards-sdk.root-browser.js +483 -116
- package/dist/browser-root/standards-sdk.root-browser.js.map +1 -1
- package/dist/cjs/services/registry-broker/client/base-client.d.ts +14 -7
- package/dist/cjs/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/client/skills.d.ts +11 -5
- package/dist/cjs/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/schemas.d.ts +4390 -18790
- package/dist/cjs/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/types.d.ts +55 -12
- package/dist/cjs/services/registry-broker/types.d.ts.map +1 -1
- package/dist/cjs/standards-sdk.cjs +2 -2
- package/dist/cjs/standards-sdk.cjs.map +1 -1
- package/dist/es/services/registry-broker/client/base-client.d.ts +14 -7
- package/dist/es/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/es/services/registry-broker/client/skills.d.ts +11 -5
- package/dist/es/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/es/services/registry-broker/schemas.d.ts +4390 -18790
- package/dist/es/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/es/services/registry-broker/types.d.ts +55 -12
- package/dist/es/services/registry-broker/types.d.ts.map +1 -1
- package/dist/es/standards-sdk.es121.js +1 -1
- package/dist/es/standards-sdk.es142.js +2 -2
- package/dist/es/standards-sdk.es145.js +48 -10
- package/dist/es/standards-sdk.es145.js.map +1 -1
- package/dist/es/standards-sdk.es148.js +1 -1
- package/dist/es/standards-sdk.es161.js +256 -91
- package/dist/es/standards-sdk.es161.js.map +1 -1
- package/dist/es/standards-sdk.es169.js +735 -81
- package/dist/es/standards-sdk.es169.js.map +1 -1
- package/dist/es/standards-sdk.es170.js +51 -68
- package/dist/es/standards-sdk.es170.js.map +1 -1
- package/dist/es/standards-sdk.es171.js +95 -47
- package/dist/es/standards-sdk.es171.js.map +1 -1
- package/dist/es/standards-sdk.es174.js +68 -568
- package/dist/es/standards-sdk.es174.js.map +1 -1
- package/dist/es/standards-sdk.es178.js +1 -1
- package/dist/es/standards-sdk.es181.js +1 -1
- package/dist/es/standards-sdk.es56.js +1 -1
- package/dist/es/standards-sdk.es59.js +1 -1
- package/dist/es/standards-sdk.es60.js +1 -1
- package/dist/es/standards-sdk.es65.js +1 -1
- package/dist/es/standards-sdk.es66.js +1 -1
- package/dist/es/standards-sdk.es69.js +1 -1
- package/package.json +2 -1
|
@@ -127,13 +127,6 @@ const metadataFacetSchema = z.record(
|
|
|
127
127
|
jsonValueSchema
|
|
128
128
|
])
|
|
129
129
|
).optional();
|
|
130
|
-
const searchHitMetadataSchema = z.object({
|
|
131
|
-
delegationRoles: jsonValueSchema.optional(),
|
|
132
|
-
delegationTaskTags: jsonValueSchema.optional(),
|
|
133
|
-
delegationProtocols: jsonValueSchema.optional(),
|
|
134
|
-
delegationSummary: jsonValueSchema.optional(),
|
|
135
|
-
delegationSignals: jsonValueSchema.optional()
|
|
136
|
-
}).passthrough();
|
|
137
130
|
const searchHitSchema = z.object({
|
|
138
131
|
id: z.string(),
|
|
139
132
|
uaid: z.string(),
|
|
@@ -142,7 +135,7 @@ const searchHitSchema = z.object({
|
|
|
142
135
|
description: z.string().optional(),
|
|
143
136
|
capabilities: z.array(capabilityValueSchema),
|
|
144
137
|
endpoints: z.union([z.record(jsonValueSchema), z.array(z.string())]).optional(),
|
|
145
|
-
metadata:
|
|
138
|
+
metadata: z.record(jsonValueSchema).optional(),
|
|
146
139
|
metadataFacet: metadataFacetSchema,
|
|
147
140
|
profile: agentProfileSchema.optional(),
|
|
148
141
|
protocols: z.array(z.string()).optional(),
|
|
@@ -188,22 +181,13 @@ const resolveResponseSchema = z.object({
|
|
|
188
181
|
});
|
|
189
182
|
const delegationPlanCandidateSchema = z.object({
|
|
190
183
|
uaid: z.string(),
|
|
191
|
-
label: z.string(),
|
|
192
|
-
registry: z.string().optional(),
|
|
193
|
-
agent: searchHitSchema,
|
|
194
184
|
score: z.number(),
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
matchedTaskTags: z.array(z.string()).optional(),
|
|
202
|
-
reasons: z.array(z.string()).optional(),
|
|
203
|
-
suggestedMessage: z.string().optional(),
|
|
204
|
-
trustScore: z.number().optional(),
|
|
205
|
-
verified: z.boolean().optional(),
|
|
206
|
-
communicationSupported: z.boolean().optional(),
|
|
185
|
+
displayName: z.string().optional(),
|
|
186
|
+
summary: z.string().optional(),
|
|
187
|
+
protocols: z.array(z.string()).optional(),
|
|
188
|
+
surfaces: z.array(z.string()).optional(),
|
|
189
|
+
languages: z.array(z.string()).optional(),
|
|
190
|
+
artifacts: z.array(z.string()).optional(),
|
|
207
191
|
availability: z.boolean().optional(),
|
|
208
192
|
explanation: z.string().optional()
|
|
209
193
|
}).passthrough();
|
|
@@ -1121,14 +1105,6 @@ const skillRegistryListResponseSchema = z.object({
|
|
|
1121
1105
|
items: z.array(skillRegistryPublishSummarySchema),
|
|
1122
1106
|
nextCursor: z.string().nullable()
|
|
1123
1107
|
}).passthrough();
|
|
1124
|
-
const skillSecurityBreakdownResponseSchema = z.object({
|
|
1125
|
-
name: z.string(),
|
|
1126
|
-
version: z.string(),
|
|
1127
|
-
jobId: z.string(),
|
|
1128
|
-
createdAt: z.string(),
|
|
1129
|
-
safety: skillSafetySummarySchema.nullable(),
|
|
1130
|
-
findings: z.array(skillSafetyFindingSchema)
|
|
1131
|
-
}).passthrough();
|
|
1132
1108
|
z.enum([
|
|
1133
1109
|
"stable",
|
|
1134
1110
|
"prerelease",
|
|
@@ -1182,52 +1158,17 @@ const skillDeprecationsResponseSchema = z.object({
|
|
|
1182
1158
|
name: z.string(),
|
|
1183
1159
|
items: z.array(skillDeprecationRecordSchema)
|
|
1184
1160
|
}).passthrough();
|
|
1185
|
-
const
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
const skillPublisherTemplatePresetSchema = z.object({
|
|
1193
|
-
presetId: z.string(),
|
|
1194
|
-
label: z.string(),
|
|
1195
|
-
description: z.string(),
|
|
1196
|
-
recommendedFor: z.string(),
|
|
1197
|
-
command: z.string()
|
|
1198
|
-
}).passthrough();
|
|
1199
|
-
const skillPublisherMetadataSchema = z.object({
|
|
1200
|
-
cliPackageUrl: z.string(),
|
|
1201
|
-
cliCommand: z.string(),
|
|
1202
|
-
actionMarketplaceUrl: z.string(),
|
|
1203
|
-
repositoryUrl: z.string(),
|
|
1204
|
-
guideUrl: z.string().nullable().optional(),
|
|
1205
|
-
docsUrl: z.string().nullable().optional(),
|
|
1206
|
-
submitUrl: z.string().nullable().optional(),
|
|
1207
|
-
skillsIndexUrl: z.string().nullable().optional(),
|
|
1208
|
-
quickstartCommands: z.array(skillPublisherQuickstartCommandSchema),
|
|
1209
|
-
templatePresets: z.array(skillPublisherTemplatePresetSchema)
|
|
1210
|
-
}).passthrough();
|
|
1211
|
-
const skillTrustTierSchema = z.enum([
|
|
1212
|
-
"unpublished",
|
|
1213
|
-
"published",
|
|
1214
|
-
"verified",
|
|
1215
|
-
"hardened"
|
|
1216
|
-
]);
|
|
1217
|
-
const skillStatusChecksSchema = z.object({
|
|
1218
|
-
repoCommitIntegrity: z.boolean(),
|
|
1219
|
-
manifestIntegrity: z.boolean(),
|
|
1220
|
-
domainProof: z.boolean()
|
|
1221
|
-
}).passthrough();
|
|
1222
|
-
const skillStatusNextStepSchema = z.object({
|
|
1223
|
-
id: z.string(),
|
|
1224
|
-
label: z.string(),
|
|
1225
|
-
description: z.string(),
|
|
1226
|
-
href: z.string().nullable().optional(),
|
|
1227
|
-
command: z.string().nullable().optional()
|
|
1161
|
+
const skillSecurityBreakdownResponseSchema = z.object({
|
|
1162
|
+
jobId: z.string(),
|
|
1163
|
+
score: z.number().nullable().optional(),
|
|
1164
|
+
findings: z.array(z.unknown()).optional(),
|
|
1165
|
+
summary: z.unknown().optional(),
|
|
1166
|
+
generatedAt: z.string().nullable().optional(),
|
|
1167
|
+
scannerVersion: z.string().nullable().optional()
|
|
1228
1168
|
}).passthrough();
|
|
1229
1169
|
const skillBadgeMetricSchema = z.enum([
|
|
1230
1170
|
"version",
|
|
1171
|
+
"version_verification",
|
|
1231
1172
|
"status",
|
|
1232
1173
|
"verification",
|
|
1233
1174
|
"repo_commit",
|
|
@@ -1239,17 +1180,6 @@ const skillBadgeMetricSchema = z.enum([
|
|
|
1239
1180
|
"upvotes",
|
|
1240
1181
|
"updated"
|
|
1241
1182
|
]);
|
|
1242
|
-
const skillStatusResponseSchema = z.object({
|
|
1243
|
-
name: z.string(),
|
|
1244
|
-
version: z.string().nullable(),
|
|
1245
|
-
published: z.boolean(),
|
|
1246
|
-
verifiedDomain: z.boolean(),
|
|
1247
|
-
trustTier: skillTrustTierSchema,
|
|
1248
|
-
badgeMetric: skillBadgeMetricSchema,
|
|
1249
|
-
checks: skillStatusChecksSchema,
|
|
1250
|
-
nextSteps: z.array(skillStatusNextStepSchema),
|
|
1251
|
-
publisher: skillPublisherMetadataSchema.nullable().optional()
|
|
1252
|
-
}).passthrough();
|
|
1253
1183
|
const skillBadgeStyleSchema = z.enum([
|
|
1254
1184
|
"flat",
|
|
1255
1185
|
"flat-square",
|
|
@@ -1364,7 +1294,34 @@ const skillRegistryConfigResponseSchema = z.object({
|
|
|
1364
1294
|
maxTotalSizeBytes: z.number().int().nullable().optional(),
|
|
1365
1295
|
allowedMimeTypes: z.array(z.string()).nullable().optional(),
|
|
1366
1296
|
network: z.union([z.literal("mainnet"), z.literal("testnet")]).nullable().optional(),
|
|
1367
|
-
publisher:
|
|
1297
|
+
publisher: z.object({
|
|
1298
|
+
cliPackageUrl: z.string(),
|
|
1299
|
+
cliCommand: z.string(),
|
|
1300
|
+
actionMarketplaceUrl: z.string(),
|
|
1301
|
+
repositoryUrl: z.string(),
|
|
1302
|
+
guideUrl: z.string().nullable().optional(),
|
|
1303
|
+
docsUrl: z.string().nullable().optional(),
|
|
1304
|
+
submitUrl: z.string().nullable().optional(),
|
|
1305
|
+
skillsIndexUrl: z.string().nullable().optional(),
|
|
1306
|
+
quickstartCommands: z.array(
|
|
1307
|
+
z.object({
|
|
1308
|
+
id: z.string(),
|
|
1309
|
+
label: z.string(),
|
|
1310
|
+
description: z.string(),
|
|
1311
|
+
command: z.string(),
|
|
1312
|
+
href: z.string().nullable().optional()
|
|
1313
|
+
}).passthrough()
|
|
1314
|
+
).optional().default([]),
|
|
1315
|
+
templatePresets: z.array(
|
|
1316
|
+
z.object({
|
|
1317
|
+
presetId: z.string(),
|
|
1318
|
+
label: z.string(),
|
|
1319
|
+
description: z.string(),
|
|
1320
|
+
recommendedFor: z.string(),
|
|
1321
|
+
command: z.string()
|
|
1322
|
+
}).passthrough()
|
|
1323
|
+
).optional().default([])
|
|
1324
|
+
}).nullable().optional()
|
|
1368
1325
|
}).passthrough();
|
|
1369
1326
|
const skillRegistryOwnershipResponseSchema = z.object({
|
|
1370
1327
|
name: z.string(),
|
|
@@ -1376,6 +1333,202 @@ const skillRegistryVoteStatusResponseSchema = z.object({
|
|
|
1376
1333
|
upvotes: z.number().int(),
|
|
1377
1334
|
hasUpvoted: z.boolean()
|
|
1378
1335
|
}).passthrough();
|
|
1336
|
+
const skillTrustTierSchema = z.enum([
|
|
1337
|
+
"unclaimed",
|
|
1338
|
+
"validated",
|
|
1339
|
+
"published",
|
|
1340
|
+
"verified",
|
|
1341
|
+
"hardened"
|
|
1342
|
+
]);
|
|
1343
|
+
const skillStatusNextStepSchema = z.object({
|
|
1344
|
+
kind: z.enum([
|
|
1345
|
+
"setup_validate",
|
|
1346
|
+
"publish_first_release",
|
|
1347
|
+
"verify_domain",
|
|
1348
|
+
"harden_workflow",
|
|
1349
|
+
"share_status"
|
|
1350
|
+
]),
|
|
1351
|
+
priority: z.number().int(),
|
|
1352
|
+
id: z.string(),
|
|
1353
|
+
label: z.string(),
|
|
1354
|
+
description: z.string(),
|
|
1355
|
+
url: z.string().nullable().optional(),
|
|
1356
|
+
href: z.string().nullable().optional(),
|
|
1357
|
+
command: z.string().nullable().optional()
|
|
1358
|
+
}).passthrough();
|
|
1359
|
+
const skillPreviewSuggestedNextStepSchema = z.object({
|
|
1360
|
+
id: z.string(),
|
|
1361
|
+
label: z.string(),
|
|
1362
|
+
description: z.string(),
|
|
1363
|
+
command: z.string().optional(),
|
|
1364
|
+
href: z.string().optional()
|
|
1365
|
+
}).passthrough();
|
|
1366
|
+
const skillPreviewReportSchema = z.object({
|
|
1367
|
+
schema_version: z.literal("skill-preview.v1"),
|
|
1368
|
+
tool_version: z.string(),
|
|
1369
|
+
preview_id: z.string(),
|
|
1370
|
+
repo_url: z.string(),
|
|
1371
|
+
repo_owner: z.string(),
|
|
1372
|
+
repo_name: z.string(),
|
|
1373
|
+
default_branch: z.string(),
|
|
1374
|
+
commit_sha: z.string(),
|
|
1375
|
+
ref: z.string(),
|
|
1376
|
+
event_name: z.string(),
|
|
1377
|
+
workflow_run_url: z.string(),
|
|
1378
|
+
skill_dir: z.string(),
|
|
1379
|
+
name: z.string(),
|
|
1380
|
+
version: z.string(),
|
|
1381
|
+
validation_status: z.literal("passed"),
|
|
1382
|
+
findings: z.array(z.unknown()),
|
|
1383
|
+
package_summary: z.record(z.string(), z.unknown()),
|
|
1384
|
+
suggested_next_steps: z.array(skillPreviewSuggestedNextStepSchema),
|
|
1385
|
+
generated_at: z.string()
|
|
1386
|
+
}).passthrough();
|
|
1387
|
+
const skillPreviewRecordSchema = z.object({
|
|
1388
|
+
id: z.string(),
|
|
1389
|
+
previewId: z.string(),
|
|
1390
|
+
source: z.literal("github-oidc"),
|
|
1391
|
+
report: skillPreviewReportSchema,
|
|
1392
|
+
generatedAt: z.string(),
|
|
1393
|
+
expiresAt: z.string(),
|
|
1394
|
+
statusUrl: z.string(),
|
|
1395
|
+
authoritative: z.boolean()
|
|
1396
|
+
}).passthrough();
|
|
1397
|
+
const skillPreviewLookupResponseSchema = z.object({
|
|
1398
|
+
found: z.boolean(),
|
|
1399
|
+
authoritative: z.boolean(),
|
|
1400
|
+
preview: skillPreviewRecordSchema.nullable(),
|
|
1401
|
+
statusUrl: z.string().nullable(),
|
|
1402
|
+
expiresAt: z.string().nullable()
|
|
1403
|
+
}).passthrough();
|
|
1404
|
+
const skillStatusPreviewMetadataSchema = z.object({
|
|
1405
|
+
previewId: z.string(),
|
|
1406
|
+
repoUrl: z.string(),
|
|
1407
|
+
repoOwner: z.string(),
|
|
1408
|
+
repoName: z.string(),
|
|
1409
|
+
commitSha: z.string(),
|
|
1410
|
+
ref: z.string(),
|
|
1411
|
+
eventName: z.string(),
|
|
1412
|
+
skillDir: z.string(),
|
|
1413
|
+
generatedAt: z.string(),
|
|
1414
|
+
expiresAt: z.string(),
|
|
1415
|
+
statusUrl: z.string()
|
|
1416
|
+
}).passthrough();
|
|
1417
|
+
const skillStatusChecksSchema = z.object({
|
|
1418
|
+
repoCommitIntegrity: z.boolean(),
|
|
1419
|
+
manifestIntegrity: z.boolean(),
|
|
1420
|
+
domainProof: z.boolean()
|
|
1421
|
+
}).passthrough();
|
|
1422
|
+
const skillStatusVerificationSignalsSchema = z.object({
|
|
1423
|
+
publisherBound: z.boolean(),
|
|
1424
|
+
domainProof: z.boolean(),
|
|
1425
|
+
verifiedDomain: z.boolean(),
|
|
1426
|
+
previewValidated: z.boolean()
|
|
1427
|
+
}).passthrough();
|
|
1428
|
+
const skillStatusProvenanceSignalsSchema = z.object({
|
|
1429
|
+
repoCommitIntegrity: z.boolean(),
|
|
1430
|
+
manifestIntegrity: z.boolean(),
|
|
1431
|
+
canonicalRelease: z.boolean(),
|
|
1432
|
+
previewAvailable: z.boolean(),
|
|
1433
|
+
previewAuthoritative: z.boolean()
|
|
1434
|
+
}).passthrough();
|
|
1435
|
+
const skillStatusResponseSchema = z.object({
|
|
1436
|
+
name: z.string(),
|
|
1437
|
+
version: z.string().nullable(),
|
|
1438
|
+
published: z.boolean(),
|
|
1439
|
+
verifiedDomain: z.boolean(),
|
|
1440
|
+
trustTier: skillTrustTierSchema,
|
|
1441
|
+
badgeMetric: skillBadgeMetricSchema,
|
|
1442
|
+
checks: skillStatusChecksSchema,
|
|
1443
|
+
nextSteps: z.array(skillStatusNextStepSchema),
|
|
1444
|
+
verificationSignals: skillStatusVerificationSignalsSchema,
|
|
1445
|
+
provenanceSignals: skillStatusProvenanceSignalsSchema,
|
|
1446
|
+
publisher: skillRegistryConfigResponseSchema.shape.publisher,
|
|
1447
|
+
preview: skillStatusPreviewMetadataSchema.nullable().optional(),
|
|
1448
|
+
statusUrl: z.string().nullable().optional()
|
|
1449
|
+
}).passthrough();
|
|
1450
|
+
const skillQuotePreviewRangeSchema = z.object({
|
|
1451
|
+
min: z.number(),
|
|
1452
|
+
max: z.number()
|
|
1453
|
+
}).passthrough();
|
|
1454
|
+
const skillQuotePreviewResponseSchema = z.object({
|
|
1455
|
+
estimatedCredits: skillQuotePreviewRangeSchema,
|
|
1456
|
+
estimatedHbar: skillQuotePreviewRangeSchema,
|
|
1457
|
+
pricingVersion: z.string(),
|
|
1458
|
+
assumptions: z.array(z.string()),
|
|
1459
|
+
purchaseUrl: z.string().nullable(),
|
|
1460
|
+
publishUrl: z.string().nullable(),
|
|
1461
|
+
verificationUrl: z.string().nullable()
|
|
1462
|
+
}).passthrough();
|
|
1463
|
+
const skillConversionSignalsResponseSchema = z.object({
|
|
1464
|
+
repoUrl: z.string(),
|
|
1465
|
+
skillDir: z.string(),
|
|
1466
|
+
trustTier: skillTrustTierSchema,
|
|
1467
|
+
actionInstalled: z.boolean(),
|
|
1468
|
+
previewUploaded: z.boolean(),
|
|
1469
|
+
previewId: z.string().nullable(),
|
|
1470
|
+
lastValidateSuccessAt: z.string().nullable(),
|
|
1471
|
+
stalePreviewAgeDays: z.number().nullable(),
|
|
1472
|
+
published: z.boolean(),
|
|
1473
|
+
verified: z.boolean(),
|
|
1474
|
+
publishReady: z.boolean(),
|
|
1475
|
+
publishBlockedByMissingAuth: z.boolean(),
|
|
1476
|
+
statusUrl: z.string().nullable(),
|
|
1477
|
+
purchaseUrl: z.string().nullable(),
|
|
1478
|
+
publishUrl: z.string().nullable(),
|
|
1479
|
+
verificationUrl: z.string().nullable(),
|
|
1480
|
+
nextSteps: z.array(skillStatusNextStepSchema)
|
|
1481
|
+
}).passthrough();
|
|
1482
|
+
const skillInstallArtifactDescriptorSchema = z.object({
|
|
1483
|
+
url: z.string(),
|
|
1484
|
+
pointer: z.string().nullable(),
|
|
1485
|
+
sha256: z.string().nullable()
|
|
1486
|
+
}).passthrough();
|
|
1487
|
+
const skillInstallResolverDescriptorSchema = z.object({
|
|
1488
|
+
skillRef: z.string(),
|
|
1489
|
+
skillMdUrl: z.string(),
|
|
1490
|
+
manifestUrl: z.string()
|
|
1491
|
+
}).passthrough();
|
|
1492
|
+
const skillInstallBadgeDescriptorSchema = z.object({
|
|
1493
|
+
apiUrl: z.string(),
|
|
1494
|
+
imageUrl: z.string(),
|
|
1495
|
+
markdown: z.string(),
|
|
1496
|
+
html: z.string()
|
|
1497
|
+
}).passthrough();
|
|
1498
|
+
const skillInstallShareDescriptorSchema = z.object({
|
|
1499
|
+
canonicalUrl: z.string().nullable(),
|
|
1500
|
+
latestUrl: z.string().nullable(),
|
|
1501
|
+
markdownLink: z.string().nullable(),
|
|
1502
|
+
htmlLink: z.string().nullable(),
|
|
1503
|
+
badge: skillInstallBadgeDescriptorSchema.nullable()
|
|
1504
|
+
}).passthrough();
|
|
1505
|
+
const skillInstallSnippetSetSchema = z.object({
|
|
1506
|
+
cli: z.string(),
|
|
1507
|
+
claude: z.string(),
|
|
1508
|
+
cursor: z.string(),
|
|
1509
|
+
codex: z.string(),
|
|
1510
|
+
openclaw: z.string()
|
|
1511
|
+
}).passthrough();
|
|
1512
|
+
const skillInstallResponseSchema = z.object({
|
|
1513
|
+
name: z.string(),
|
|
1514
|
+
version: z.string(),
|
|
1515
|
+
skillRef: z.string(),
|
|
1516
|
+
network: z.union([z.literal("mainnet"), z.literal("testnet")]),
|
|
1517
|
+
detailUrl: z.string().nullable(),
|
|
1518
|
+
artifacts: z.object({
|
|
1519
|
+
skillMd: skillInstallArtifactDescriptorSchema,
|
|
1520
|
+
manifest: skillInstallArtifactDescriptorSchema
|
|
1521
|
+
}).passthrough(),
|
|
1522
|
+
resolvers: z.object({
|
|
1523
|
+
pinned: skillInstallResolverDescriptorSchema,
|
|
1524
|
+
latest: skillInstallResolverDescriptorSchema
|
|
1525
|
+
}).passthrough(),
|
|
1526
|
+
share: skillInstallShareDescriptorSchema,
|
|
1527
|
+
snippets: skillInstallSnippetSetSchema
|
|
1528
|
+
}).passthrough();
|
|
1529
|
+
const skillInstallCopyTelemetryResponseSchema = z.object({
|
|
1530
|
+
accepted: z.boolean()
|
|
1531
|
+
}).passthrough();
|
|
1379
1532
|
const skillVerificationTierSchema = z.enum(["basic", "express"]);
|
|
1380
1533
|
const skillVerificationStatusSchema = z.enum([
|
|
1381
1534
|
"pending",
|
|
@@ -1579,11 +1732,22 @@ export {
|
|
|
1579
1732
|
skillCatalogItemSchema,
|
|
1580
1733
|
skillCatalogResponseSchema,
|
|
1581
1734
|
skillCatalogVersionSummarySchema,
|
|
1735
|
+
skillConversionSignalsResponseSchema,
|
|
1582
1736
|
skillDeprecationRecordSchema,
|
|
1583
1737
|
skillDeprecationsResponseSchema,
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1738
|
+
skillInstallArtifactDescriptorSchema,
|
|
1739
|
+
skillInstallBadgeDescriptorSchema,
|
|
1740
|
+
skillInstallCopyTelemetryResponseSchema,
|
|
1741
|
+
skillInstallResolverDescriptorSchema,
|
|
1742
|
+
skillInstallResponseSchema,
|
|
1743
|
+
skillInstallShareDescriptorSchema,
|
|
1744
|
+
skillInstallSnippetSetSchema,
|
|
1745
|
+
skillPreviewLookupResponseSchema,
|
|
1746
|
+
skillPreviewRecordSchema,
|
|
1747
|
+
skillPreviewReportSchema,
|
|
1748
|
+
skillPreviewSuggestedNextStepSchema,
|
|
1749
|
+
skillQuotePreviewRangeSchema,
|
|
1750
|
+
skillQuotePreviewResponseSchema,
|
|
1587
1751
|
skillRecommendedVersionResponseSchema,
|
|
1588
1752
|
skillRegistryCategoriesResponseSchema,
|
|
1589
1753
|
skillRegistryConfigResponseSchema,
|
|
@@ -1603,12 +1767,13 @@ export {
|
|
|
1603
1767
|
skillRegistryVersionsResponseSchema,
|
|
1604
1768
|
skillRegistryVoteStatusResponseSchema,
|
|
1605
1769
|
skillResolverManifestResponseSchema,
|
|
1606
|
-
skillSafetyFindingSchema,
|
|
1607
|
-
skillSafetySummarySchema,
|
|
1608
1770
|
skillSecurityBreakdownResponseSchema,
|
|
1609
1771
|
skillStatusChecksSchema,
|
|
1610
1772
|
skillStatusNextStepSchema,
|
|
1773
|
+
skillStatusPreviewMetadataSchema,
|
|
1774
|
+
skillStatusProvenanceSignalsSchema,
|
|
1611
1775
|
skillStatusResponseSchema,
|
|
1776
|
+
skillStatusVerificationSignalsSchema,
|
|
1612
1777
|
skillTrustTierSchema,
|
|
1613
1778
|
skillVerificationDomainProofChallengeResponseSchema,
|
|
1614
1779
|
skillVerificationDomainProofVerifyResponseSchema,
|