@hashgraphonline/standards-sdk 0.1.176 → 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/dist/browser/services/registry-broker/client/base-client.d.ts +7 -4
- package/dist/browser/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/client/skills.d.ts +5 -3
- package/dist/browser/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/schemas.d.ts +6871 -24133
- package/dist/browser/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/types.d.ts +34 -26
- package/dist/browser/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser/standards-sdk.browser.js +220 -221
- package/dist/browser/standards-sdk.browser.js.map +1 -1
- package/dist/browser-root/services/registry-broker/client/base-client.d.ts +7 -4
- 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 +5 -3
- package/dist/browser-root/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/schemas.d.ts +6871 -24133
- package/dist/browser-root/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/types.d.ts +34 -26
- package/dist/browser-root/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser-root/standards-sdk.root-browser.js +342 -282
- package/dist/browser-root/standards-sdk.root-browser.js.map +1 -1
- package/dist/cjs/services/registry-broker/client/base-client.d.ts +7 -4
- package/dist/cjs/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/client/skills.d.ts +5 -3
- package/dist/cjs/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/schemas.d.ts +6869 -24131
- package/dist/cjs/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/types.d.ts +34 -26
- package/dist/cjs/services/registry-broker/types.d.ts.map +1 -1
- package/dist/cjs/standards-sdk.cjs +1 -1
- package/dist/cjs/standards-sdk.cjs.map +1 -1
- package/dist/es/services/registry-broker/client/base-client.d.ts +7 -4
- package/dist/es/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/es/services/registry-broker/client/skills.d.ts +5 -3
- package/dist/es/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/es/services/registry-broker/schemas.d.ts +6869 -24131
- package/dist/es/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/es/services/registry-broker/types.d.ts +34 -26
- package/dist/es/services/registry-broker/types.d.ts.map +1 -1
- package/dist/es/standards-sdk.es116.js +1 -1
- package/dist/es/standards-sdk.es121.js +1 -1
- package/dist/es/standards-sdk.es127.js +1 -1
- package/dist/es/standards-sdk.es128.js +5 -5
- package/dist/es/standards-sdk.es138.js +1 -1
- package/dist/es/standards-sdk.es139.js +1 -1
- package/dist/es/standards-sdk.es140.js +5 -5
- package/dist/es/standards-sdk.es142.js +3 -3
- package/dist/es/standards-sdk.es143.js +1 -1
- package/dist/es/standards-sdk.es145.js +28 -11
- package/dist/es/standards-sdk.es145.js.map +1 -1
- package/dist/es/standards-sdk.es147.js +1 -1
- package/dist/es/standards-sdk.es148.js +1 -1
- package/dist/es/standards-sdk.es16.js +1 -1
- package/dist/es/standards-sdk.es160.js +12461 -1778
- package/dist/es/standards-sdk.es160.js.map +1 -1
- package/dist/es/standards-sdk.es161.js +1773 -12461
- package/dist/es/standards-sdk.es161.js.map +1 -1
- package/dist/es/standards-sdk.es163.js +167 -51
- package/dist/es/standards-sdk.es163.js.map +1 -1
- package/dist/es/standards-sdk.es164.js +306 -88
- package/dist/es/standards-sdk.es164.js.map +1 -1
- package/dist/es/standards-sdk.es165.js +336 -71
- package/dist/es/standards-sdk.es165.js.map +1 -1
- package/dist/es/standards-sdk.es166.js +439 -186
- package/dist/es/standards-sdk.es166.js.map +1 -1
- package/dist/es/standards-sdk.es167.js +314 -695
- package/dist/es/standards-sdk.es167.js.map +1 -1
- package/dist/es/standards-sdk.es168.js +66 -63
- package/dist/es/standards-sdk.es168.js.map +1 -1
- package/dist/es/standards-sdk.es169.js +744 -158
- package/dist/es/standards-sdk.es169.js.map +1 -1
- package/dist/es/standards-sdk.es170.js +55 -321
- package/dist/es/standards-sdk.es170.js.map +1 -1
- package/dist/es/standards-sdk.es171.js +88 -330
- package/dist/es/standards-sdk.es171.js.map +1 -1
- package/dist/es/standards-sdk.es172.js +71 -443
- package/dist/es/standards-sdk.es172.js.map +1 -1
- package/dist/es/standards-sdk.es173.js +184 -315
- package/dist/es/standards-sdk.es173.js.map +1 -1
- package/dist/es/standards-sdk.es174.js +63 -66
- package/dist/es/standards-sdk.es174.js.map +1 -1
- package/dist/es/standards-sdk.es175.js +1 -1
- package/dist/es/standards-sdk.es176.js +1 -1
- package/dist/es/standards-sdk.es178.js +2 -2
- package/dist/es/standards-sdk.es179.js +1 -1
- package/dist/es/standards-sdk.es18.js +2 -2
- package/dist/es/standards-sdk.es180.js +1 -1
- package/dist/es/standards-sdk.es181.js +2 -2
- package/dist/es/standards-sdk.es182.js +1 -1
- package/dist/es/standards-sdk.es183.js +1 -1
- package/dist/es/standards-sdk.es19.js +2 -2
- package/dist/es/standards-sdk.es27.js +2 -2
- package/dist/es/standards-sdk.es30.js +1 -1
- package/dist/es/standards-sdk.es31.js +1 -1
- package/dist/es/standards-sdk.es35.js +2 -2
- package/dist/es/standards-sdk.es36.js +1 -1
- package/dist/es/standards-sdk.es37.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.es62.js +1 -1
- package/dist/es/standards-sdk.es63.js +2 -2
- package/dist/es/standards-sdk.es64.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.es67.js +1 -1
- package/dist/es/standards-sdk.es69.js +1 -1
- package/dist/es/standards-sdk.es75.js +1 -1
- package/dist/es/standards-sdk.es84.js +1 -1
- package/package.json +1 -1
|
@@ -8394,13 +8394,6 @@ const metadataFacetSchema = recordType(
|
|
|
8394
8394
|
jsonValueSchema
|
|
8395
8395
|
])
|
|
8396
8396
|
).optional();
|
|
8397
|
-
const searchHitMetadataSchema = objectType({
|
|
8398
|
-
delegationRoles: jsonValueSchema.optional(),
|
|
8399
|
-
delegationTaskTags: jsonValueSchema.optional(),
|
|
8400
|
-
delegationProtocols: jsonValueSchema.optional(),
|
|
8401
|
-
delegationSummary: jsonValueSchema.optional(),
|
|
8402
|
-
delegationSignals: jsonValueSchema.optional()
|
|
8403
|
-
}).passthrough();
|
|
8404
8397
|
const searchHitSchema = objectType({
|
|
8405
8398
|
id: stringType(),
|
|
8406
8399
|
uaid: stringType(),
|
|
@@ -8409,7 +8402,7 @@ const searchHitSchema = objectType({
|
|
|
8409
8402
|
description: stringType().optional(),
|
|
8410
8403
|
capabilities: arrayType(capabilityValueSchema),
|
|
8411
8404
|
endpoints: unionType([recordType(jsonValueSchema), arrayType(stringType())]).optional(),
|
|
8412
|
-
metadata:
|
|
8405
|
+
metadata: recordType(jsonValueSchema).optional(),
|
|
8413
8406
|
metadataFacet: metadataFacetSchema,
|
|
8414
8407
|
profile: agentProfileSchema.optional(),
|
|
8415
8408
|
protocols: arrayType(stringType()).optional(),
|
|
@@ -8455,22 +8448,13 @@ objectType({
|
|
|
8455
8448
|
});
|
|
8456
8449
|
const delegationPlanCandidateSchema = objectType({
|
|
8457
8450
|
uaid: stringType(),
|
|
8458
|
-
label: stringType(),
|
|
8459
|
-
registry: stringType().optional(),
|
|
8460
|
-
agent: searchHitSchema,
|
|
8461
8451
|
score: numberType(),
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
matchedTaskTags: arrayType(stringType()).optional(),
|
|
8469
|
-
reasons: arrayType(stringType()).optional(),
|
|
8470
|
-
suggestedMessage: stringType().optional(),
|
|
8471
|
-
trustScore: numberType().optional(),
|
|
8472
|
-
verified: booleanType().optional(),
|
|
8473
|
-
communicationSupported: booleanType().optional(),
|
|
8452
|
+
displayName: stringType().optional(),
|
|
8453
|
+
summary: stringType().optional(),
|
|
8454
|
+
protocols: arrayType(stringType()).optional(),
|
|
8455
|
+
surfaces: arrayType(stringType()).optional(),
|
|
8456
|
+
languages: arrayType(stringType()).optional(),
|
|
8457
|
+
artifacts: arrayType(stringType()).optional(),
|
|
8474
8458
|
availability: booleanType().optional(),
|
|
8475
8459
|
explanation: stringType().optional()
|
|
8476
8460
|
}).passthrough();
|
|
@@ -9388,14 +9372,6 @@ const skillRegistryListResponseSchema = objectType({
|
|
|
9388
9372
|
items: arrayType(skillRegistryPublishSummarySchema),
|
|
9389
9373
|
nextCursor: stringType().nullable()
|
|
9390
9374
|
}).passthrough();
|
|
9391
|
-
objectType({
|
|
9392
|
-
name: stringType(),
|
|
9393
|
-
version: stringType(),
|
|
9394
|
-
jobId: stringType(),
|
|
9395
|
-
createdAt: stringType(),
|
|
9396
|
-
safety: skillSafetySummarySchema.nullable(),
|
|
9397
|
-
findings: arrayType(skillSafetyFindingSchema)
|
|
9398
|
-
}).passthrough();
|
|
9399
9375
|
enumType([
|
|
9400
9376
|
"stable",
|
|
9401
9377
|
"prerelease",
|
|
@@ -9449,58 +9425,188 @@ objectType({
|
|
|
9449
9425
|
name: stringType(),
|
|
9450
9426
|
items: arrayType(skillDeprecationRecordSchema)
|
|
9451
9427
|
}).passthrough();
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9428
|
+
objectType({
|
|
9429
|
+
jobId: stringType(),
|
|
9430
|
+
score: numberType().nullable().optional(),
|
|
9431
|
+
findings: arrayType(unknownType()).optional(),
|
|
9432
|
+
summary: unknownType().optional(),
|
|
9433
|
+
generatedAt: stringType().nullable().optional(),
|
|
9434
|
+
scannerVersion: stringType().nullable().optional()
|
|
9458
9435
|
}).passthrough();
|
|
9459
|
-
const
|
|
9460
|
-
|
|
9436
|
+
const skillBadgeMetricSchema = enumType([
|
|
9437
|
+
"version",
|
|
9438
|
+
"version_verification",
|
|
9439
|
+
"status",
|
|
9440
|
+
"verification",
|
|
9441
|
+
"repo_commit",
|
|
9442
|
+
"manifest",
|
|
9443
|
+
"domain",
|
|
9444
|
+
"trust",
|
|
9445
|
+
"tier",
|
|
9446
|
+
"safety",
|
|
9447
|
+
"upvotes",
|
|
9448
|
+
"updated"
|
|
9449
|
+
]);
|
|
9450
|
+
const skillBadgeStyleSchema = enumType([
|
|
9451
|
+
"flat",
|
|
9452
|
+
"flat-square",
|
|
9453
|
+
"for-the-badge",
|
|
9454
|
+
"plastic",
|
|
9455
|
+
"social"
|
|
9456
|
+
]);
|
|
9457
|
+
objectType({
|
|
9458
|
+
schemaVersion: numberType().int(),
|
|
9461
9459
|
label: stringType(),
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9460
|
+
message: stringType(),
|
|
9461
|
+
color: stringType(),
|
|
9462
|
+
style: skillBadgeStyleSchema.optional(),
|
|
9463
|
+
isError: booleanType().optional(),
|
|
9464
|
+
cacheSeconds: numberType().int().optional()
|
|
9465
9465
|
}).passthrough();
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9466
|
+
objectType({
|
|
9467
|
+
tags: arrayType(stringType())
|
|
9468
|
+
}).passthrough();
|
|
9469
|
+
objectType({
|
|
9470
|
+
categories: arrayType(stringType())
|
|
9471
|
+
}).passthrough();
|
|
9472
|
+
recordType(jsonValueSchema);
|
|
9473
|
+
const skillRegistryQuoteFileBreakdownSchema = objectType({
|
|
9474
|
+
name: stringType(),
|
|
9475
|
+
mimeType: stringType(),
|
|
9476
|
+
estimatedCostHbar: numberType()
|
|
9477
|
+
}).passthrough();
|
|
9478
|
+
objectType({
|
|
9479
|
+
quoteId: stringType(),
|
|
9480
|
+
name: stringType(),
|
|
9481
|
+
version: stringType(),
|
|
9482
|
+
directoryTopicId: stringType(),
|
|
9483
|
+
estimatedCostHbar: numberType(),
|
|
9484
|
+
credits: numberType(),
|
|
9485
|
+
usdCents: numberType(),
|
|
9486
|
+
expiresAt: stringType(),
|
|
9487
|
+
files: arrayType(skillRegistryQuoteFileBreakdownSchema)
|
|
9488
|
+
}).passthrough();
|
|
9489
|
+
const skillRegistryJobStatusSchema = unionType([
|
|
9490
|
+
literalType("pending"),
|
|
9491
|
+
literalType("in_progress"),
|
|
9492
|
+
literalType("completed"),
|
|
9493
|
+
literalType("failed")
|
|
9494
|
+
]);
|
|
9495
|
+
objectType({
|
|
9496
|
+
jobId: stringType(),
|
|
9497
|
+
status: skillRegistryJobStatusSchema,
|
|
9498
|
+
credits: numberType().nullable().optional(),
|
|
9499
|
+
usdCents: numberType().nullable().optional(),
|
|
9500
|
+
quoteId: stringType().nullable().optional(),
|
|
9501
|
+
createdAt: stringType(),
|
|
9502
|
+
updatedAt: stringType(),
|
|
9503
|
+
network: unionType([literalType("mainnet"), literalType("testnet")])
|
|
9504
|
+
}).passthrough();
|
|
9505
|
+
objectType({
|
|
9506
|
+
jobId: stringType(),
|
|
9507
|
+
status: skillRegistryJobStatusSchema,
|
|
9508
|
+
network: unionType([literalType("mainnet"), literalType("testnet")]),
|
|
9509
|
+
name: stringType(),
|
|
9510
|
+
version: stringType(),
|
|
9511
|
+
directoryTopicId: stringType(),
|
|
9512
|
+
skillUid: numberType().int().nullable().optional(),
|
|
9513
|
+
directorySequenceNumber: numberType().int().nullable().optional(),
|
|
9514
|
+
versionRegistryTopicId: stringType().nullable().optional(),
|
|
9515
|
+
packageTopicId: stringType().nullable().optional(),
|
|
9516
|
+
manifestHrl: stringType().nullable().optional(),
|
|
9517
|
+
skillJsonHrl: stringType().nullable().optional(),
|
|
9518
|
+
iconHcs1: stringType().nullable().optional(),
|
|
9519
|
+
tags: arrayType(stringType()).nullable().optional(),
|
|
9520
|
+
category: stringType().nullable().optional(),
|
|
9521
|
+
files: arrayType(skillRegistryFileDescriptorSchema).nullable().optional(),
|
|
9522
|
+
quoteCredits: numberType().nullable().optional(),
|
|
9523
|
+
quoteUsdCents: numberType().nullable().optional(),
|
|
9524
|
+
safety: skillSafetySummarySchema.nullable().optional(),
|
|
9525
|
+
reservationId: stringType().nullable().optional(),
|
|
9526
|
+
totalCostHbar: numberType().nullable().optional(),
|
|
9527
|
+
totalCostCredits: numberType().nullable().optional(),
|
|
9528
|
+
failureReason: stringType().nullable().optional(),
|
|
9529
|
+
createdAt: stringType(),
|
|
9530
|
+
updatedAt: stringType()
|
|
9531
|
+
}).passthrough();
|
|
9532
|
+
const skillRegistryVersionItemSchema = objectType({
|
|
9533
|
+
jobId: stringType(),
|
|
9534
|
+
version: stringType(),
|
|
9535
|
+
createdAt: stringType(),
|
|
9536
|
+
verified: booleanType().optional()
|
|
9537
|
+
}).passthrough();
|
|
9538
|
+
objectType({
|
|
9539
|
+
name: stringType(),
|
|
9540
|
+
items: arrayType(skillRegistryVersionItemSchema)
|
|
9541
|
+
}).passthrough();
|
|
9542
|
+
const skillRegistryMineItemSchema = objectType({
|
|
9543
|
+
name: stringType(),
|
|
9544
|
+
latestVersion: stringType(),
|
|
9545
|
+
latestCreatedAt: stringType(),
|
|
9546
|
+
verified: booleanType().optional(),
|
|
9547
|
+
iconHcs1: stringType().optional(),
|
|
9548
|
+
versions: arrayType(stringType())
|
|
9549
|
+
}).passthrough();
|
|
9550
|
+
const skillRegistryMineResponseSchema = objectType({
|
|
9551
|
+
items: arrayType(skillRegistryMineItemSchema)
|
|
9552
|
+
}).passthrough();
|
|
9553
|
+
objectType({
|
|
9554
|
+
owned: skillRegistryMineResponseSchema,
|
|
9555
|
+
upvoted: skillRegistryListResponseSchema
|
|
9556
|
+
}).passthrough();
|
|
9557
|
+
const skillRegistryConfigResponseSchema = objectType({
|
|
9558
|
+
enabled: booleanType(),
|
|
9559
|
+
directoryTopicId: stringType().nullable().optional(),
|
|
9560
|
+
maxFiles: numberType().int().nullable().optional(),
|
|
9561
|
+
maxTotalSizeBytes: numberType().int().nullable().optional(),
|
|
9562
|
+
allowedMimeTypes: arrayType(stringType()).nullable().optional(),
|
|
9563
|
+
network: unionType([literalType("mainnet"), literalType("testnet")]).nullable().optional(),
|
|
9564
|
+
publisher: objectType({
|
|
9565
|
+
cliPackageUrl: stringType(),
|
|
9566
|
+
cliCommand: stringType(),
|
|
9567
|
+
actionMarketplaceUrl: stringType(),
|
|
9568
|
+
repositoryUrl: stringType(),
|
|
9569
|
+
guideUrl: stringType().nullable().optional(),
|
|
9570
|
+
docsUrl: stringType().nullable().optional(),
|
|
9571
|
+
submitUrl: stringType().nullable().optional(),
|
|
9572
|
+
skillsIndexUrl: stringType().nullable().optional(),
|
|
9573
|
+
quickstartCommands: arrayType(
|
|
9574
|
+
objectType({
|
|
9575
|
+
id: stringType(),
|
|
9576
|
+
label: stringType(),
|
|
9577
|
+
description: stringType(),
|
|
9578
|
+
command: stringType(),
|
|
9579
|
+
href: stringType().nullable().optional()
|
|
9580
|
+
}).passthrough()
|
|
9581
|
+
).optional().default([]),
|
|
9582
|
+
templatePresets: arrayType(
|
|
9583
|
+
objectType({
|
|
9584
|
+
presetId: stringType(),
|
|
9585
|
+
label: stringType(),
|
|
9586
|
+
description: stringType(),
|
|
9587
|
+
recommendedFor: stringType(),
|
|
9588
|
+
command: stringType()
|
|
9589
|
+
}).passthrough()
|
|
9590
|
+
).optional().default([])
|
|
9591
|
+
}).nullable().optional()
|
|
9592
|
+
}).passthrough();
|
|
9593
|
+
objectType({
|
|
9594
|
+
name: stringType(),
|
|
9595
|
+
exists: booleanType(),
|
|
9596
|
+
isOwner: booleanType()
|
|
9597
|
+
}).passthrough();
|
|
9598
|
+
objectType({
|
|
9599
|
+
name: stringType(),
|
|
9600
|
+
upvotes: numberType().int(),
|
|
9601
|
+
hasUpvoted: booleanType()
|
|
9477
9602
|
}).passthrough();
|
|
9478
9603
|
const skillTrustTierSchema = enumType([
|
|
9479
|
-
"unpublished",
|
|
9480
9604
|
"unclaimed",
|
|
9481
9605
|
"validated",
|
|
9482
9606
|
"published",
|
|
9483
9607
|
"verified",
|
|
9484
9608
|
"hardened"
|
|
9485
9609
|
]);
|
|
9486
|
-
const skillStatusDefaultVerificationSignals = {
|
|
9487
|
-
publisherBound: false,
|
|
9488
|
-
domainProof: false,
|
|
9489
|
-
verifiedDomain: false,
|
|
9490
|
-
previewValidated: false
|
|
9491
|
-
};
|
|
9492
|
-
const skillStatusDefaultProvenanceSignals = {
|
|
9493
|
-
repoCommitIntegrity: false,
|
|
9494
|
-
manifestIntegrity: false,
|
|
9495
|
-
canonicalRelease: false,
|
|
9496
|
-
previewAvailable: false,
|
|
9497
|
-
previewAuthoritative: false
|
|
9498
|
-
};
|
|
9499
|
-
const skillStatusChecksSchema = objectType({
|
|
9500
|
-
repoCommitIntegrity: booleanType(),
|
|
9501
|
-
manifestIntegrity: booleanType(),
|
|
9502
|
-
domainProof: booleanType()
|
|
9503
|
-
}).passthrough();
|
|
9504
9610
|
const skillStatusNextStepSchema = objectType({
|
|
9505
9611
|
kind: enumType([
|
|
9506
9612
|
"setup_validate",
|
|
@@ -9508,8 +9614,8 @@ const skillStatusNextStepSchema = objectType({
|
|
|
9508
9614
|
"verify_domain",
|
|
9509
9615
|
"harden_workflow",
|
|
9510
9616
|
"share_status"
|
|
9511
|
-
])
|
|
9512
|
-
priority: numberType().int()
|
|
9617
|
+
]),
|
|
9618
|
+
priority: numberType().int(),
|
|
9513
9619
|
id: stringType(),
|
|
9514
9620
|
label: stringType(),
|
|
9515
9621
|
description: stringType(),
|
|
@@ -9575,6 +9681,11 @@ const skillStatusPreviewMetadataSchema = objectType({
|
|
|
9575
9681
|
expiresAt: stringType(),
|
|
9576
9682
|
statusUrl: stringType()
|
|
9577
9683
|
}).passthrough();
|
|
9684
|
+
const skillStatusChecksSchema = objectType({
|
|
9685
|
+
repoCommitIntegrity: booleanType(),
|
|
9686
|
+
manifestIntegrity: booleanType(),
|
|
9687
|
+
domainProof: booleanType()
|
|
9688
|
+
}).passthrough();
|
|
9578
9689
|
const skillStatusVerificationSignalsSchema = objectType({
|
|
9579
9690
|
publisherBound: booleanType(),
|
|
9580
9691
|
domainProof: booleanType(),
|
|
@@ -9588,20 +9699,6 @@ const skillStatusProvenanceSignalsSchema = objectType({
|
|
|
9588
9699
|
previewAvailable: booleanType(),
|
|
9589
9700
|
previewAuthoritative: booleanType()
|
|
9590
9701
|
}).passthrough();
|
|
9591
|
-
const skillBadgeMetricSchema = enumType([
|
|
9592
|
-
"version",
|
|
9593
|
-
"version_verification",
|
|
9594
|
-
"status",
|
|
9595
|
-
"verification",
|
|
9596
|
-
"repo_commit",
|
|
9597
|
-
"manifest",
|
|
9598
|
-
"domain",
|
|
9599
|
-
"trust",
|
|
9600
|
-
"tier",
|
|
9601
|
-
"safety",
|
|
9602
|
-
"upvotes",
|
|
9603
|
-
"updated"
|
|
9604
|
-
]);
|
|
9605
9702
|
objectType({
|
|
9606
9703
|
name: stringType(),
|
|
9607
9704
|
version: stringType().nullable(),
|
|
@@ -9611,16 +9708,44 @@ objectType({
|
|
|
9611
9708
|
badgeMetric: skillBadgeMetricSchema,
|
|
9612
9709
|
checks: skillStatusChecksSchema,
|
|
9613
9710
|
nextSteps: arrayType(skillStatusNextStepSchema),
|
|
9614
|
-
verificationSignals: skillStatusVerificationSignalsSchema
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
provenanceSignals: skillStatusProvenanceSignalsSchema.default(
|
|
9618
|
-
skillStatusDefaultProvenanceSignals
|
|
9619
|
-
),
|
|
9620
|
-
publisher: skillPublisherMetadataSchema.nullable().optional(),
|
|
9711
|
+
verificationSignals: skillStatusVerificationSignalsSchema,
|
|
9712
|
+
provenanceSignals: skillStatusProvenanceSignalsSchema,
|
|
9713
|
+
publisher: skillRegistryConfigResponseSchema.shape.publisher,
|
|
9621
9714
|
preview: skillStatusPreviewMetadataSchema.nullable().optional(),
|
|
9622
9715
|
statusUrl: stringType().nullable().optional()
|
|
9623
9716
|
}).passthrough();
|
|
9717
|
+
const skillQuotePreviewRangeSchema = objectType({
|
|
9718
|
+
min: numberType(),
|
|
9719
|
+
max: numberType()
|
|
9720
|
+
}).passthrough();
|
|
9721
|
+
objectType({
|
|
9722
|
+
estimatedCredits: skillQuotePreviewRangeSchema,
|
|
9723
|
+
estimatedHbar: skillQuotePreviewRangeSchema,
|
|
9724
|
+
pricingVersion: stringType(),
|
|
9725
|
+
assumptions: arrayType(stringType()),
|
|
9726
|
+
purchaseUrl: stringType().nullable(),
|
|
9727
|
+
publishUrl: stringType().nullable(),
|
|
9728
|
+
verificationUrl: stringType().nullable()
|
|
9729
|
+
}).passthrough();
|
|
9730
|
+
objectType({
|
|
9731
|
+
repoUrl: stringType(),
|
|
9732
|
+
skillDir: stringType(),
|
|
9733
|
+
trustTier: skillTrustTierSchema,
|
|
9734
|
+
actionInstalled: booleanType(),
|
|
9735
|
+
previewUploaded: booleanType(),
|
|
9736
|
+
previewId: stringType().nullable(),
|
|
9737
|
+
lastValidateSuccessAt: stringType().nullable(),
|
|
9738
|
+
stalePreviewAgeDays: numberType().nullable(),
|
|
9739
|
+
published: booleanType(),
|
|
9740
|
+
verified: booleanType(),
|
|
9741
|
+
publishReady: booleanType(),
|
|
9742
|
+
publishBlockedByMissingAuth: booleanType(),
|
|
9743
|
+
statusUrl: stringType().nullable(),
|
|
9744
|
+
purchaseUrl: stringType().nullable(),
|
|
9745
|
+
publishUrl: stringType().nullable(),
|
|
9746
|
+
verificationUrl: stringType().nullable(),
|
|
9747
|
+
nextSteps: arrayType(skillStatusNextStepSchema)
|
|
9748
|
+
}).passthrough();
|
|
9624
9749
|
const skillInstallArtifactDescriptorSchema = objectType({
|
|
9625
9750
|
url: stringType(),
|
|
9626
9751
|
pointer: stringType().nullable(),
|
|
@@ -9671,132 +9796,6 @@ objectType({
|
|
|
9671
9796
|
objectType({
|
|
9672
9797
|
accepted: booleanType()
|
|
9673
9798
|
}).passthrough();
|
|
9674
|
-
const skillBadgeStyleSchema = enumType([
|
|
9675
|
-
"flat",
|
|
9676
|
-
"flat-square",
|
|
9677
|
-
"for-the-badge",
|
|
9678
|
-
"plastic",
|
|
9679
|
-
"social"
|
|
9680
|
-
]);
|
|
9681
|
-
objectType({
|
|
9682
|
-
schemaVersion: numberType().int(),
|
|
9683
|
-
label: stringType(),
|
|
9684
|
-
message: stringType(),
|
|
9685
|
-
color: stringType(),
|
|
9686
|
-
style: skillBadgeStyleSchema.optional(),
|
|
9687
|
-
isError: booleanType().optional(),
|
|
9688
|
-
cacheSeconds: numberType().int().optional()
|
|
9689
|
-
}).passthrough();
|
|
9690
|
-
objectType({
|
|
9691
|
-
tags: arrayType(stringType())
|
|
9692
|
-
}).passthrough();
|
|
9693
|
-
objectType({
|
|
9694
|
-
categories: arrayType(stringType())
|
|
9695
|
-
}).passthrough();
|
|
9696
|
-
recordType(jsonValueSchema);
|
|
9697
|
-
const skillRegistryQuoteFileBreakdownSchema = objectType({
|
|
9698
|
-
name: stringType(),
|
|
9699
|
-
mimeType: stringType(),
|
|
9700
|
-
estimatedCostHbar: numberType()
|
|
9701
|
-
}).passthrough();
|
|
9702
|
-
objectType({
|
|
9703
|
-
quoteId: stringType(),
|
|
9704
|
-
name: stringType(),
|
|
9705
|
-
version: stringType(),
|
|
9706
|
-
directoryTopicId: stringType(),
|
|
9707
|
-
estimatedCostHbar: numberType(),
|
|
9708
|
-
credits: numberType(),
|
|
9709
|
-
usdCents: numberType(),
|
|
9710
|
-
expiresAt: stringType(),
|
|
9711
|
-
files: arrayType(skillRegistryQuoteFileBreakdownSchema)
|
|
9712
|
-
}).passthrough();
|
|
9713
|
-
const skillRegistryJobStatusSchema = unionType([
|
|
9714
|
-
literalType("pending"),
|
|
9715
|
-
literalType("in_progress"),
|
|
9716
|
-
literalType("completed"),
|
|
9717
|
-
literalType("failed")
|
|
9718
|
-
]);
|
|
9719
|
-
objectType({
|
|
9720
|
-
jobId: stringType(),
|
|
9721
|
-
status: skillRegistryJobStatusSchema,
|
|
9722
|
-
credits: numberType().nullable().optional(),
|
|
9723
|
-
usdCents: numberType().nullable().optional(),
|
|
9724
|
-
quoteId: stringType().nullable().optional(),
|
|
9725
|
-
createdAt: stringType(),
|
|
9726
|
-
updatedAt: stringType(),
|
|
9727
|
-
network: unionType([literalType("mainnet"), literalType("testnet")])
|
|
9728
|
-
}).passthrough();
|
|
9729
|
-
objectType({
|
|
9730
|
-
jobId: stringType(),
|
|
9731
|
-
status: skillRegistryJobStatusSchema,
|
|
9732
|
-
network: unionType([literalType("mainnet"), literalType("testnet")]),
|
|
9733
|
-
name: stringType(),
|
|
9734
|
-
version: stringType(),
|
|
9735
|
-
directoryTopicId: stringType(),
|
|
9736
|
-
skillUid: numberType().int().nullable().optional(),
|
|
9737
|
-
directorySequenceNumber: numberType().int().nullable().optional(),
|
|
9738
|
-
versionRegistryTopicId: stringType().nullable().optional(),
|
|
9739
|
-
packageTopicId: stringType().nullable().optional(),
|
|
9740
|
-
manifestHrl: stringType().nullable().optional(),
|
|
9741
|
-
skillJsonHrl: stringType().nullable().optional(),
|
|
9742
|
-
iconHcs1: stringType().nullable().optional(),
|
|
9743
|
-
tags: arrayType(stringType()).nullable().optional(),
|
|
9744
|
-
category: stringType().nullable().optional(),
|
|
9745
|
-
files: arrayType(skillRegistryFileDescriptorSchema).nullable().optional(),
|
|
9746
|
-
quoteCredits: numberType().nullable().optional(),
|
|
9747
|
-
quoteUsdCents: numberType().nullable().optional(),
|
|
9748
|
-
safety: skillSafetySummarySchema.nullable().optional(),
|
|
9749
|
-
reservationId: stringType().nullable().optional(),
|
|
9750
|
-
totalCostHbar: numberType().nullable().optional(),
|
|
9751
|
-
totalCostCredits: numberType().nullable().optional(),
|
|
9752
|
-
failureReason: stringType().nullable().optional(),
|
|
9753
|
-
createdAt: stringType(),
|
|
9754
|
-
updatedAt: stringType()
|
|
9755
|
-
}).passthrough();
|
|
9756
|
-
const skillRegistryVersionItemSchema = objectType({
|
|
9757
|
-
jobId: stringType(),
|
|
9758
|
-
version: stringType(),
|
|
9759
|
-
createdAt: stringType(),
|
|
9760
|
-
verified: booleanType().optional()
|
|
9761
|
-
}).passthrough();
|
|
9762
|
-
objectType({
|
|
9763
|
-
name: stringType(),
|
|
9764
|
-
items: arrayType(skillRegistryVersionItemSchema)
|
|
9765
|
-
}).passthrough();
|
|
9766
|
-
const skillRegistryMineItemSchema = objectType({
|
|
9767
|
-
name: stringType(),
|
|
9768
|
-
latestVersion: stringType(),
|
|
9769
|
-
latestCreatedAt: stringType(),
|
|
9770
|
-
verified: booleanType().optional(),
|
|
9771
|
-
iconHcs1: stringType().optional(),
|
|
9772
|
-
versions: arrayType(stringType())
|
|
9773
|
-
}).passthrough();
|
|
9774
|
-
const skillRegistryMineResponseSchema = objectType({
|
|
9775
|
-
items: arrayType(skillRegistryMineItemSchema)
|
|
9776
|
-
}).passthrough();
|
|
9777
|
-
objectType({
|
|
9778
|
-
owned: skillRegistryMineResponseSchema,
|
|
9779
|
-
upvoted: skillRegistryListResponseSchema
|
|
9780
|
-
}).passthrough();
|
|
9781
|
-
objectType({
|
|
9782
|
-
enabled: booleanType(),
|
|
9783
|
-
directoryTopicId: stringType().nullable().optional(),
|
|
9784
|
-
maxFiles: numberType().int().nullable().optional(),
|
|
9785
|
-
maxTotalSizeBytes: numberType().int().nullable().optional(),
|
|
9786
|
-
allowedMimeTypes: arrayType(stringType()).nullable().optional(),
|
|
9787
|
-
network: unionType([literalType("mainnet"), literalType("testnet")]).nullable().optional(),
|
|
9788
|
-
publisher: skillPublisherMetadataSchema.nullable().optional()
|
|
9789
|
-
}).passthrough();
|
|
9790
|
-
objectType({
|
|
9791
|
-
name: stringType(),
|
|
9792
|
-
exists: booleanType(),
|
|
9793
|
-
isOwner: booleanType()
|
|
9794
|
-
}).passthrough();
|
|
9795
|
-
objectType({
|
|
9796
|
-
name: stringType(),
|
|
9797
|
-
upvotes: numberType().int(),
|
|
9798
|
-
hasUpvoted: booleanType()
|
|
9799
|
-
}).passthrough();
|
|
9800
9799
|
const skillVerificationTierSchema = enumType(["basic", "express"]);
|
|
9801
9800
|
const skillVerificationStatusSchema = enumType([
|
|
9802
9801
|
"pending",
|