@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
|
@@ -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,52 +9425,17 @@ objectType({
|
|
|
9449
9425
|
name: stringType(),
|
|
9450
9426
|
items: arrayType(skillDeprecationRecordSchema)
|
|
9451
9427
|
}).passthrough();
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
const skillPublisherTemplatePresetSchema = objectType({
|
|
9460
|
-
presetId: stringType(),
|
|
9461
|
-
label: stringType(),
|
|
9462
|
-
description: stringType(),
|
|
9463
|
-
recommendedFor: stringType(),
|
|
9464
|
-
command: stringType()
|
|
9465
|
-
}).passthrough();
|
|
9466
|
-
const skillPublisherMetadataSchema = objectType({
|
|
9467
|
-
cliPackageUrl: stringType(),
|
|
9468
|
-
cliCommand: stringType(),
|
|
9469
|
-
actionMarketplaceUrl: stringType(),
|
|
9470
|
-
repositoryUrl: stringType(),
|
|
9471
|
-
guideUrl: stringType().nullable().optional(),
|
|
9472
|
-
docsUrl: stringType().nullable().optional(),
|
|
9473
|
-
submitUrl: stringType().nullable().optional(),
|
|
9474
|
-
skillsIndexUrl: stringType().nullable().optional(),
|
|
9475
|
-
quickstartCommands: arrayType(skillPublisherQuickstartCommandSchema),
|
|
9476
|
-
templatePresets: arrayType(skillPublisherTemplatePresetSchema)
|
|
9477
|
-
}).passthrough();
|
|
9478
|
-
const skillTrustTierSchema = enumType([
|
|
9479
|
-
"unpublished",
|
|
9480
|
-
"published",
|
|
9481
|
-
"verified",
|
|
9482
|
-
"hardened"
|
|
9483
|
-
]);
|
|
9484
|
-
const skillStatusChecksSchema = objectType({
|
|
9485
|
-
repoCommitIntegrity: booleanType(),
|
|
9486
|
-
manifestIntegrity: booleanType(),
|
|
9487
|
-
domainProof: booleanType()
|
|
9488
|
-
}).passthrough();
|
|
9489
|
-
const skillStatusNextStepSchema = objectType({
|
|
9490
|
-
id: stringType(),
|
|
9491
|
-
label: stringType(),
|
|
9492
|
-
description: stringType(),
|
|
9493
|
-
href: stringType().nullable().optional(),
|
|
9494
|
-
command: stringType().nullable().optional()
|
|
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()
|
|
9495
9435
|
}).passthrough();
|
|
9496
9436
|
const skillBadgeMetricSchema = enumType([
|
|
9497
9437
|
"version",
|
|
9438
|
+
"version_verification",
|
|
9498
9439
|
"status",
|
|
9499
9440
|
"verification",
|
|
9500
9441
|
"repo_commit",
|
|
@@ -9506,17 +9447,6 @@ const skillBadgeMetricSchema = enumType([
|
|
|
9506
9447
|
"upvotes",
|
|
9507
9448
|
"updated"
|
|
9508
9449
|
]);
|
|
9509
|
-
objectType({
|
|
9510
|
-
name: stringType(),
|
|
9511
|
-
version: stringType().nullable(),
|
|
9512
|
-
published: booleanType(),
|
|
9513
|
-
verifiedDomain: booleanType(),
|
|
9514
|
-
trustTier: skillTrustTierSchema,
|
|
9515
|
-
badgeMetric: skillBadgeMetricSchema,
|
|
9516
|
-
checks: skillStatusChecksSchema,
|
|
9517
|
-
nextSteps: arrayType(skillStatusNextStepSchema),
|
|
9518
|
-
publisher: skillPublisherMetadataSchema.nullable().optional()
|
|
9519
|
-
}).passthrough();
|
|
9520
9450
|
const skillBadgeStyleSchema = enumType([
|
|
9521
9451
|
"flat",
|
|
9522
9452
|
"flat-square",
|
|
@@ -9624,14 +9554,41 @@ objectType({
|
|
|
9624
9554
|
owned: skillRegistryMineResponseSchema,
|
|
9625
9555
|
upvoted: skillRegistryListResponseSchema
|
|
9626
9556
|
}).passthrough();
|
|
9627
|
-
objectType({
|
|
9557
|
+
const skillRegistryConfigResponseSchema = objectType({
|
|
9628
9558
|
enabled: booleanType(),
|
|
9629
9559
|
directoryTopicId: stringType().nullable().optional(),
|
|
9630
9560
|
maxFiles: numberType().int().nullable().optional(),
|
|
9631
9561
|
maxTotalSizeBytes: numberType().int().nullable().optional(),
|
|
9632
9562
|
allowedMimeTypes: arrayType(stringType()).nullable().optional(),
|
|
9633
9563
|
network: unionType([literalType("mainnet"), literalType("testnet")]).nullable().optional(),
|
|
9634
|
-
publisher:
|
|
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()
|
|
9635
9592
|
}).passthrough();
|
|
9636
9593
|
objectType({
|
|
9637
9594
|
name: stringType(),
|
|
@@ -9643,6 +9600,202 @@ objectType({
|
|
|
9643
9600
|
upvotes: numberType().int(),
|
|
9644
9601
|
hasUpvoted: booleanType()
|
|
9645
9602
|
}).passthrough();
|
|
9603
|
+
const skillTrustTierSchema = enumType([
|
|
9604
|
+
"unclaimed",
|
|
9605
|
+
"validated",
|
|
9606
|
+
"published",
|
|
9607
|
+
"verified",
|
|
9608
|
+
"hardened"
|
|
9609
|
+
]);
|
|
9610
|
+
const skillStatusNextStepSchema = objectType({
|
|
9611
|
+
kind: enumType([
|
|
9612
|
+
"setup_validate",
|
|
9613
|
+
"publish_first_release",
|
|
9614
|
+
"verify_domain",
|
|
9615
|
+
"harden_workflow",
|
|
9616
|
+
"share_status"
|
|
9617
|
+
]),
|
|
9618
|
+
priority: numberType().int(),
|
|
9619
|
+
id: stringType(),
|
|
9620
|
+
label: stringType(),
|
|
9621
|
+
description: stringType(),
|
|
9622
|
+
url: stringType().nullable().optional(),
|
|
9623
|
+
href: stringType().nullable().optional(),
|
|
9624
|
+
command: stringType().nullable().optional()
|
|
9625
|
+
}).passthrough();
|
|
9626
|
+
const skillPreviewSuggestedNextStepSchema = objectType({
|
|
9627
|
+
id: stringType(),
|
|
9628
|
+
label: stringType(),
|
|
9629
|
+
description: stringType(),
|
|
9630
|
+
command: stringType().optional(),
|
|
9631
|
+
href: stringType().optional()
|
|
9632
|
+
}).passthrough();
|
|
9633
|
+
const skillPreviewReportSchema = objectType({
|
|
9634
|
+
schema_version: literalType("skill-preview.v1"),
|
|
9635
|
+
tool_version: stringType(),
|
|
9636
|
+
preview_id: stringType(),
|
|
9637
|
+
repo_url: stringType(),
|
|
9638
|
+
repo_owner: stringType(),
|
|
9639
|
+
repo_name: stringType(),
|
|
9640
|
+
default_branch: stringType(),
|
|
9641
|
+
commit_sha: stringType(),
|
|
9642
|
+
ref: stringType(),
|
|
9643
|
+
event_name: stringType(),
|
|
9644
|
+
workflow_run_url: stringType(),
|
|
9645
|
+
skill_dir: stringType(),
|
|
9646
|
+
name: stringType(),
|
|
9647
|
+
version: stringType(),
|
|
9648
|
+
validation_status: literalType("passed"),
|
|
9649
|
+
findings: arrayType(unknownType()),
|
|
9650
|
+
package_summary: recordType(stringType(), unknownType()),
|
|
9651
|
+
suggested_next_steps: arrayType(skillPreviewSuggestedNextStepSchema),
|
|
9652
|
+
generated_at: stringType()
|
|
9653
|
+
}).passthrough();
|
|
9654
|
+
const skillPreviewRecordSchema = objectType({
|
|
9655
|
+
id: stringType(),
|
|
9656
|
+
previewId: stringType(),
|
|
9657
|
+
source: literalType("github-oidc"),
|
|
9658
|
+
report: skillPreviewReportSchema,
|
|
9659
|
+
generatedAt: stringType(),
|
|
9660
|
+
expiresAt: stringType(),
|
|
9661
|
+
statusUrl: stringType(),
|
|
9662
|
+
authoritative: booleanType()
|
|
9663
|
+
}).passthrough();
|
|
9664
|
+
objectType({
|
|
9665
|
+
found: booleanType(),
|
|
9666
|
+
authoritative: booleanType(),
|
|
9667
|
+
preview: skillPreviewRecordSchema.nullable(),
|
|
9668
|
+
statusUrl: stringType().nullable(),
|
|
9669
|
+
expiresAt: stringType().nullable()
|
|
9670
|
+
}).passthrough();
|
|
9671
|
+
const skillStatusPreviewMetadataSchema = objectType({
|
|
9672
|
+
previewId: stringType(),
|
|
9673
|
+
repoUrl: stringType(),
|
|
9674
|
+
repoOwner: stringType(),
|
|
9675
|
+
repoName: stringType(),
|
|
9676
|
+
commitSha: stringType(),
|
|
9677
|
+
ref: stringType(),
|
|
9678
|
+
eventName: stringType(),
|
|
9679
|
+
skillDir: stringType(),
|
|
9680
|
+
generatedAt: stringType(),
|
|
9681
|
+
expiresAt: stringType(),
|
|
9682
|
+
statusUrl: stringType()
|
|
9683
|
+
}).passthrough();
|
|
9684
|
+
const skillStatusChecksSchema = objectType({
|
|
9685
|
+
repoCommitIntegrity: booleanType(),
|
|
9686
|
+
manifestIntegrity: booleanType(),
|
|
9687
|
+
domainProof: booleanType()
|
|
9688
|
+
}).passthrough();
|
|
9689
|
+
const skillStatusVerificationSignalsSchema = objectType({
|
|
9690
|
+
publisherBound: booleanType(),
|
|
9691
|
+
domainProof: booleanType(),
|
|
9692
|
+
verifiedDomain: booleanType(),
|
|
9693
|
+
previewValidated: booleanType()
|
|
9694
|
+
}).passthrough();
|
|
9695
|
+
const skillStatusProvenanceSignalsSchema = objectType({
|
|
9696
|
+
repoCommitIntegrity: booleanType(),
|
|
9697
|
+
manifestIntegrity: booleanType(),
|
|
9698
|
+
canonicalRelease: booleanType(),
|
|
9699
|
+
previewAvailable: booleanType(),
|
|
9700
|
+
previewAuthoritative: booleanType()
|
|
9701
|
+
}).passthrough();
|
|
9702
|
+
objectType({
|
|
9703
|
+
name: stringType(),
|
|
9704
|
+
version: stringType().nullable(),
|
|
9705
|
+
published: booleanType(),
|
|
9706
|
+
verifiedDomain: booleanType(),
|
|
9707
|
+
trustTier: skillTrustTierSchema,
|
|
9708
|
+
badgeMetric: skillBadgeMetricSchema,
|
|
9709
|
+
checks: skillStatusChecksSchema,
|
|
9710
|
+
nextSteps: arrayType(skillStatusNextStepSchema),
|
|
9711
|
+
verificationSignals: skillStatusVerificationSignalsSchema,
|
|
9712
|
+
provenanceSignals: skillStatusProvenanceSignalsSchema,
|
|
9713
|
+
publisher: skillRegistryConfigResponseSchema.shape.publisher,
|
|
9714
|
+
preview: skillStatusPreviewMetadataSchema.nullable().optional(),
|
|
9715
|
+
statusUrl: stringType().nullable().optional()
|
|
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();
|
|
9749
|
+
const skillInstallArtifactDescriptorSchema = objectType({
|
|
9750
|
+
url: stringType(),
|
|
9751
|
+
pointer: stringType().nullable(),
|
|
9752
|
+
sha256: stringType().nullable()
|
|
9753
|
+
}).passthrough();
|
|
9754
|
+
const skillInstallResolverDescriptorSchema = objectType({
|
|
9755
|
+
skillRef: stringType(),
|
|
9756
|
+
skillMdUrl: stringType(),
|
|
9757
|
+
manifestUrl: stringType()
|
|
9758
|
+
}).passthrough();
|
|
9759
|
+
const skillInstallBadgeDescriptorSchema = objectType({
|
|
9760
|
+
apiUrl: stringType(),
|
|
9761
|
+
imageUrl: stringType(),
|
|
9762
|
+
markdown: stringType(),
|
|
9763
|
+
html: stringType()
|
|
9764
|
+
}).passthrough();
|
|
9765
|
+
const skillInstallShareDescriptorSchema = objectType({
|
|
9766
|
+
canonicalUrl: stringType().nullable(),
|
|
9767
|
+
latestUrl: stringType().nullable(),
|
|
9768
|
+
markdownLink: stringType().nullable(),
|
|
9769
|
+
htmlLink: stringType().nullable(),
|
|
9770
|
+
badge: skillInstallBadgeDescriptorSchema.nullable()
|
|
9771
|
+
}).passthrough();
|
|
9772
|
+
const skillInstallSnippetSetSchema = objectType({
|
|
9773
|
+
cli: stringType(),
|
|
9774
|
+
claude: stringType(),
|
|
9775
|
+
cursor: stringType(),
|
|
9776
|
+
codex: stringType(),
|
|
9777
|
+
openclaw: stringType()
|
|
9778
|
+
}).passthrough();
|
|
9779
|
+
objectType({
|
|
9780
|
+
name: stringType(),
|
|
9781
|
+
version: stringType(),
|
|
9782
|
+
skillRef: stringType(),
|
|
9783
|
+
network: unionType([literalType("mainnet"), literalType("testnet")]),
|
|
9784
|
+
detailUrl: stringType().nullable(),
|
|
9785
|
+
artifacts: objectType({
|
|
9786
|
+
skillMd: skillInstallArtifactDescriptorSchema,
|
|
9787
|
+
manifest: skillInstallArtifactDescriptorSchema
|
|
9788
|
+
}).passthrough(),
|
|
9789
|
+
resolvers: objectType({
|
|
9790
|
+
pinned: skillInstallResolverDescriptorSchema,
|
|
9791
|
+
latest: skillInstallResolverDescriptorSchema
|
|
9792
|
+
}).passthrough(),
|
|
9793
|
+
share: skillInstallShareDescriptorSchema,
|
|
9794
|
+
snippets: skillInstallSnippetSetSchema
|
|
9795
|
+
}).passthrough();
|
|
9796
|
+
objectType({
|
|
9797
|
+
accepted: booleanType()
|
|
9798
|
+
}).passthrough();
|
|
9646
9799
|
const skillVerificationTierSchema = enumType(["basic", "express"]);
|
|
9647
9800
|
const skillVerificationStatusSchema = enumType([
|
|
9648
9801
|
"pending",
|