@hol-org/rb-client 0.1.164 → 0.1.165
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/index.cjs +26 -0
- package/dist/index.d.cts +136 -1
- package/dist/index.d.ts +136 -1
- package/dist/index.js +26 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1219,6 +1219,14 @@ var skillRegistryListResponseSchema = import_zod2.z.object({
|
|
|
1219
1219
|
items: import_zod2.z.array(skillRegistryPublishSummarySchema),
|
|
1220
1220
|
nextCursor: import_zod2.z.string().nullable()
|
|
1221
1221
|
}).passthrough();
|
|
1222
|
+
var skillSecurityBreakdownResponseSchema = import_zod2.z.object({
|
|
1223
|
+
name: import_zod2.z.string(),
|
|
1224
|
+
version: import_zod2.z.string(),
|
|
1225
|
+
jobId: import_zod2.z.string(),
|
|
1226
|
+
createdAt: import_zod2.z.string(),
|
|
1227
|
+
safety: skillSafetySummarySchema.nullable(),
|
|
1228
|
+
findings: import_zod2.z.array(skillSafetyFindingSchema)
|
|
1229
|
+
}).passthrough();
|
|
1222
1230
|
var skillCatalogChannelSchema = import_zod2.z.enum([
|
|
1223
1231
|
"stable",
|
|
1224
1232
|
"prerelease",
|
|
@@ -3906,6 +3914,21 @@ async function listSkills(client, params = {}) {
|
|
|
3906
3914
|
"skill registry list response"
|
|
3907
3915
|
);
|
|
3908
3916
|
}
|
|
3917
|
+
async function getSkillSecurityBreakdown(client, params) {
|
|
3918
|
+
const normalizedJobId = params.jobId.trim();
|
|
3919
|
+
if (!normalizedJobId) {
|
|
3920
|
+
throw new Error("jobId is required");
|
|
3921
|
+
}
|
|
3922
|
+
const raw = await client.requestJson(
|
|
3923
|
+
`/skills/${encodeURIComponent(normalizedJobId)}/security-breakdown`,
|
|
3924
|
+
{ method: "GET" }
|
|
3925
|
+
);
|
|
3926
|
+
return client.parseWithSchema(
|
|
3927
|
+
raw,
|
|
3928
|
+
skillSecurityBreakdownResponseSchema,
|
|
3929
|
+
"skill security breakdown response"
|
|
3930
|
+
);
|
|
3931
|
+
}
|
|
3909
3932
|
async function getSkillsCatalog(client, params = {}) {
|
|
3910
3933
|
const query = new URLSearchParams();
|
|
3911
3934
|
if (params.q) {
|
|
@@ -4699,6 +4722,9 @@ var RegistryBrokerClient = class _RegistryBrokerClient {
|
|
|
4699
4722
|
async listSkills(options) {
|
|
4700
4723
|
return listSkills(this, options);
|
|
4701
4724
|
}
|
|
4725
|
+
async getSkillSecurityBreakdown(params) {
|
|
4726
|
+
return getSkillSecurityBreakdown(this, params);
|
|
4727
|
+
}
|
|
4702
4728
|
async getSkillsCatalog(options) {
|
|
4703
4729
|
return getSkillsCatalog(this, options);
|
|
4704
4730
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -13626,6 +13626,136 @@ declare const skillRegistryListResponseSchema: z.ZodObject<{
|
|
|
13626
13626
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13627
13627
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
13628
13628
|
}, z.ZodTypeAny, "passthrough">>;
|
|
13629
|
+
declare const skillSecurityBreakdownResponseSchema: z.ZodObject<{
|
|
13630
|
+
name: z.ZodString;
|
|
13631
|
+
version: z.ZodString;
|
|
13632
|
+
jobId: z.ZodString;
|
|
13633
|
+
createdAt: z.ZodString;
|
|
13634
|
+
safety: z.ZodNullable<z.ZodObject<{
|
|
13635
|
+
score: z.ZodNumber;
|
|
13636
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13637
|
+
findingsTotal: z.ZodNumber;
|
|
13638
|
+
highFindings: z.ZodNumber;
|
|
13639
|
+
scriptsTotal: z.ZodNumber;
|
|
13640
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13641
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13642
|
+
score: z.ZodNumber;
|
|
13643
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13644
|
+
findingsTotal: z.ZodNumber;
|
|
13645
|
+
highFindings: z.ZodNumber;
|
|
13646
|
+
scriptsTotal: z.ZodNumber;
|
|
13647
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13648
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13649
|
+
score: z.ZodNumber;
|
|
13650
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13651
|
+
findingsTotal: z.ZodNumber;
|
|
13652
|
+
highFindings: z.ZodNumber;
|
|
13653
|
+
scriptsTotal: z.ZodNumber;
|
|
13654
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13655
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
13656
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
13657
|
+
ruleId: z.ZodString;
|
|
13658
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13659
|
+
file: z.ZodString;
|
|
13660
|
+
message: z.ZodString;
|
|
13661
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13662
|
+
ruleId: z.ZodString;
|
|
13663
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13664
|
+
file: z.ZodString;
|
|
13665
|
+
message: z.ZodString;
|
|
13666
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13667
|
+
ruleId: z.ZodString;
|
|
13668
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13669
|
+
file: z.ZodString;
|
|
13670
|
+
message: z.ZodString;
|
|
13671
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13672
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13673
|
+
name: z.ZodString;
|
|
13674
|
+
version: z.ZodString;
|
|
13675
|
+
jobId: z.ZodString;
|
|
13676
|
+
createdAt: z.ZodString;
|
|
13677
|
+
safety: z.ZodNullable<z.ZodObject<{
|
|
13678
|
+
score: z.ZodNumber;
|
|
13679
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13680
|
+
findingsTotal: z.ZodNumber;
|
|
13681
|
+
highFindings: z.ZodNumber;
|
|
13682
|
+
scriptsTotal: z.ZodNumber;
|
|
13683
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13684
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13685
|
+
score: z.ZodNumber;
|
|
13686
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13687
|
+
findingsTotal: z.ZodNumber;
|
|
13688
|
+
highFindings: z.ZodNumber;
|
|
13689
|
+
scriptsTotal: z.ZodNumber;
|
|
13690
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13691
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13692
|
+
score: z.ZodNumber;
|
|
13693
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13694
|
+
findingsTotal: z.ZodNumber;
|
|
13695
|
+
highFindings: z.ZodNumber;
|
|
13696
|
+
scriptsTotal: z.ZodNumber;
|
|
13697
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13698
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
13699
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
13700
|
+
ruleId: z.ZodString;
|
|
13701
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13702
|
+
file: z.ZodString;
|
|
13703
|
+
message: z.ZodString;
|
|
13704
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13705
|
+
ruleId: z.ZodString;
|
|
13706
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13707
|
+
file: z.ZodString;
|
|
13708
|
+
message: z.ZodString;
|
|
13709
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13710
|
+
ruleId: z.ZodString;
|
|
13711
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13712
|
+
file: z.ZodString;
|
|
13713
|
+
message: z.ZodString;
|
|
13714
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13715
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13716
|
+
name: z.ZodString;
|
|
13717
|
+
version: z.ZodString;
|
|
13718
|
+
jobId: z.ZodString;
|
|
13719
|
+
createdAt: z.ZodString;
|
|
13720
|
+
safety: z.ZodNullable<z.ZodObject<{
|
|
13721
|
+
score: z.ZodNumber;
|
|
13722
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13723
|
+
findingsTotal: z.ZodNumber;
|
|
13724
|
+
highFindings: z.ZodNumber;
|
|
13725
|
+
scriptsTotal: z.ZodNumber;
|
|
13726
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13727
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13728
|
+
score: z.ZodNumber;
|
|
13729
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13730
|
+
findingsTotal: z.ZodNumber;
|
|
13731
|
+
highFindings: z.ZodNumber;
|
|
13732
|
+
scriptsTotal: z.ZodNumber;
|
|
13733
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13734
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13735
|
+
score: z.ZodNumber;
|
|
13736
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13737
|
+
findingsTotal: z.ZodNumber;
|
|
13738
|
+
highFindings: z.ZodNumber;
|
|
13739
|
+
scriptsTotal: z.ZodNumber;
|
|
13740
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13741
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
13742
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
13743
|
+
ruleId: z.ZodString;
|
|
13744
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13745
|
+
file: z.ZodString;
|
|
13746
|
+
message: z.ZodString;
|
|
13747
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13748
|
+
ruleId: z.ZodString;
|
|
13749
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13750
|
+
file: z.ZodString;
|
|
13751
|
+
message: z.ZodString;
|
|
13752
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13753
|
+
ruleId: z.ZodString;
|
|
13754
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13755
|
+
file: z.ZodString;
|
|
13756
|
+
message: z.ZodString;
|
|
13757
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13758
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
13629
13759
|
declare const skillCatalogChannelSchema: z.ZodEnum<["stable", "prerelease", "all"]>;
|
|
13630
13760
|
declare const skillCatalogSortBySchema: z.ZodEnum<["trending", "upvotes", "updated", "name"]>;
|
|
13631
13761
|
declare const skillCatalogVersionSummarySchema: z.ZodObject<{
|
|
@@ -29980,6 +30110,7 @@ type MoltbookOwnerRegistrationUpdateResponse = z.infer<typeof moltbookOwnerRegis
|
|
|
29980
30110
|
type SkillRegistryFileDescriptor = z.infer<typeof skillRegistryFileDescriptorSchema>;
|
|
29981
30111
|
type SkillRegistryPublishSummary = z.infer<typeof skillRegistryPublishSummarySchema>;
|
|
29982
30112
|
type SkillRegistryListResponse = z.infer<typeof skillRegistryListResponseSchema>;
|
|
30113
|
+
type SkillSecurityBreakdownResponse = z.infer<typeof skillSecurityBreakdownResponseSchema>;
|
|
29983
30114
|
type SkillRegistryMineResponse = z.infer<typeof skillRegistryMineResponseSchema>;
|
|
29984
30115
|
type SkillRegistryMyListResponse = z.infer<typeof skillRegistryMyListResponseSchema>;
|
|
29985
30116
|
type SkillRegistryQuoteResponse = z.infer<typeof skillRegistryQuoteResponseSchema>;
|
|
@@ -30035,6 +30166,9 @@ interface SkillListOptions {
|
|
|
30035
30166
|
verified?: boolean;
|
|
30036
30167
|
view?: 'latest' | 'all';
|
|
30037
30168
|
}
|
|
30169
|
+
interface SkillSecurityBreakdownRequest {
|
|
30170
|
+
jobId: string;
|
|
30171
|
+
}
|
|
30038
30172
|
interface SkillCatalogQueryOptions {
|
|
30039
30173
|
q?: string;
|
|
30040
30174
|
category?: string;
|
|
@@ -30521,6 +30655,7 @@ declare class RegistryBrokerClient {
|
|
|
30521
30655
|
adapters(): Promise<AdaptersResponse>;
|
|
30522
30656
|
skillsConfig(): Promise<SkillRegistryConfigResponse>;
|
|
30523
30657
|
listSkills(options?: SkillListOptions): Promise<SkillRegistryListResponse>;
|
|
30658
|
+
getSkillSecurityBreakdown(params: SkillSecurityBreakdownRequest): Promise<SkillSecurityBreakdownResponse>;
|
|
30524
30659
|
getSkillsCatalog(options?: SkillCatalogQueryOptions): Promise<SkillCatalogResponse>;
|
|
30525
30660
|
listSkillVersions(params: {
|
|
30526
30661
|
name: string;
|
|
@@ -30744,4 +30879,4 @@ declare const buildJobStatusMessage: (input: {
|
|
|
30744
30879
|
jobId: number;
|
|
30745
30880
|
}) => string;
|
|
30746
30881
|
|
|
30747
|
-
export { type AcceptConversationOptions, type AcceptEncryptedChatSessionOptions, type AdapterDetailsResponse, type AdapterRegistryAdaptersResponse, type AdapterRegistryCategoriesResponse, type AdapterRegistryCategory, type AdapterRegistryCreateCategoryResponse, type AdapterRegistrySubmissionStatusResponse, type AdapterRegistrySubmitAdapterAcceptedResponse, type AdapterRegistrySubmitAdapterResponse, type AdaptersResponse, type AdditionalRegistryCatalogResponse, type AdditionalRegistryDescriptor, type AdditionalRegistryNetworkDescriptor, type AgentAuthConfig, type AgentAuthType, type AgentFeedbackEligibilityRequest, type AgentFeedbackEligibilityResponse, type AgentFeedbackEntriesIndexResponse, type AgentFeedbackIndexResponse, type AgentFeedbackQuery, type AgentFeedbackResponse, type AgentFeedbackSubmissionRequest, type AgentFeedbackSubmissionResponse, type AgentProfile, type AgentRegistrationRequest, type AgentRegistrationRequestMetadata, type AgentSearchHit, type AutoRegisterEncryptionKeyOptions, type AutoTopUpOptions, type CanonicalLedgerNetwork, type ChatConversationHandle, type ChatHistoryCompactionResponse, type ChatHistoryEntry, type ChatHistoryFetchOptions, type ChatHistorySnapshotResponse, type ChatHistorySnapshotWithDecryptedEntries, type CipherEnvelope, type CipherEnvelopeRecipient, type ClientEncryptionOptions, type CompactHistoryRequestPayload, type ConversationEncryptionOptions, type ConversationMode, type CreateAdapterRegistryCategoryRequest, type CreateSessionRequestPayload, type CreateSessionResponse, type CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, type GenerateEncryptionKeyPairOptions, HOL_CHAT_PROTOCOL_ID, type HistoryAutoTopUpOptions, type HolChatOp, type HolChatOpBase, type HolChatOpName, type InitializeAgentClientOptions, type InitializedAgentClient, type JsonObject, type JsonPrimitive, type JsonValue, type LedgerAuthenticationLogger, type LedgerAuthenticationOptions, type LedgerAuthenticationSignerResult, type LedgerChallengeRequest, type LedgerChallengeResponse, type LedgerCredentialAuthOptions, type LedgerVerifyRequest, type LedgerVerifyResponse, type MetricsSummaryResponse, type MoltbookOwnerRegistrationUpdateRequest, type MoltbookOwnerRegistrationUpdateResponse, type PopularSearchesResponse, type PrivateKeySignerOptions, type ProtocolDetectionMessage, type ProtocolsResponse, type RecipientIdentity, type RegisterAgentOptions, type RegisterAgentPartialResponse, type RegisterAgentPendingResponse, type RegisterAgentQuoteResponse, type RegisterAgentResponse, type RegisterAgentSuccessResponse, type RegisterEncryptionKeyPayload, type RegisterEncryptionKeyResponse, type RegisterStatusResponse, type RegistrationProgressAdditionalEntry, type RegistrationProgressRecord, type RegistrationProgressResponse, type RegistrationProgressWaitOptions, type RegistriesResponse, RegistryBrokerClient, type RegistryBrokerClientOptions, RegistryBrokerError, RegistryBrokerParseError, type RegistrySearchByNamespaceResponse, type RegistryStatsResponse, type ResolvedAgentResponse, type SearchFacetsResponse, type SearchParams, type SearchResult, type SearchStatusResponse, type SendMessageBasePayload, type SendMessageEncryptionOptions, type SendMessageRequestPayload, type SendMessageResponse, type SessionEncryptionStatusResponse, type SessionEncryptionSummary, type SharedSecretInput, type SkillBadgeMetric, type SkillBadgeQuery, type SkillBadgeResponse, type SkillBadgeStyle, type SkillCatalogChannel, type SkillCatalogItem, type SkillCatalogQueryOptions, type SkillCatalogResponse, type SkillCatalogSortBy, type SkillCatalogVersionSummary, type SkillDeprecationRecord, type SkillDeprecationSetRequest, type SkillDeprecationsResponse, type SkillListOptions, type SkillRecommendedVersionResponse, type SkillRecommendedVersionSetRequest, type SkillRegistryCategoriesResponse, type SkillRegistryConfigResponse, type SkillRegistryFileDescriptor, type SkillRegistryFileInput, type SkillRegistryFileRole, type SkillRegistryJobStatusResponse, type SkillRegistryListResponse, type SkillRegistryMineResponse, type SkillRegistryMyListResponse, type SkillRegistryOwnershipResponse, type SkillRegistryPublishRequest, type SkillRegistryPublishResponse, type SkillRegistryPublishSummary, type SkillRegistryQuoteRequest, type SkillRegistryQuoteResponse, type SkillRegistryTagsResponse, type SkillRegistryVersionsResponse, type SkillRegistryVoteRequest, type SkillRegistryVoteStatusResponse, type SkillResolverManifestResponse, type SkillVerificationDomainProofChallengeRequest, type SkillVerificationDomainProofChallengeResponse, type SkillVerificationDomainProofVerifyRequest, type SkillVerificationDomainProofVerifyResponse, type SkillVerificationRequest, type SkillVerificationRequestCreateRequest, type SkillVerificationRequestCreateResponse, type SkillVerificationStatusResponse, type SkillVerificationTier, type StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type VerificationChallengeDetailsResponse, type VerificationChallengeResponse, type VerificationDnsStatusQuery, type VerificationDnsStatusResponse, type VerificationDnsVerifyRequest, type VerificationOwnershipResponse, type VerificationStatusResponse, type VerificationVerifyResponse, type VerificationVerifySenderResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, buildJobStatusMessage, buildPaymentApproveMessage, buildPaymentDeclineMessage, canonicalizeLedgerNetwork, createPrivateKeySigner, createPrivateKeySignerAsync, isHolChatOp, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse, parseHolChatOps };
|
|
30882
|
+
export { type AcceptConversationOptions, type AcceptEncryptedChatSessionOptions, type AdapterDetailsResponse, type AdapterRegistryAdaptersResponse, type AdapterRegistryCategoriesResponse, type AdapterRegistryCategory, type AdapterRegistryCreateCategoryResponse, type AdapterRegistrySubmissionStatusResponse, type AdapterRegistrySubmitAdapterAcceptedResponse, type AdapterRegistrySubmitAdapterResponse, type AdaptersResponse, type AdditionalRegistryCatalogResponse, type AdditionalRegistryDescriptor, type AdditionalRegistryNetworkDescriptor, type AgentAuthConfig, type AgentAuthType, type AgentFeedbackEligibilityRequest, type AgentFeedbackEligibilityResponse, type AgentFeedbackEntriesIndexResponse, type AgentFeedbackIndexResponse, type AgentFeedbackQuery, type AgentFeedbackResponse, type AgentFeedbackSubmissionRequest, type AgentFeedbackSubmissionResponse, type AgentProfile, type AgentRegistrationRequest, type AgentRegistrationRequestMetadata, type AgentSearchHit, type AutoRegisterEncryptionKeyOptions, type AutoTopUpOptions, type CanonicalLedgerNetwork, type ChatConversationHandle, type ChatHistoryCompactionResponse, type ChatHistoryEntry, type ChatHistoryFetchOptions, type ChatHistorySnapshotResponse, type ChatHistorySnapshotWithDecryptedEntries, type CipherEnvelope, type CipherEnvelopeRecipient, type ClientEncryptionOptions, type CompactHistoryRequestPayload, type ConversationEncryptionOptions, type ConversationMode, type CreateAdapterRegistryCategoryRequest, type CreateSessionRequestPayload, type CreateSessionResponse, type CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, type GenerateEncryptionKeyPairOptions, HOL_CHAT_PROTOCOL_ID, type HistoryAutoTopUpOptions, type HolChatOp, type HolChatOpBase, type HolChatOpName, type InitializeAgentClientOptions, type InitializedAgentClient, type JsonObject, type JsonPrimitive, type JsonValue, type LedgerAuthenticationLogger, type LedgerAuthenticationOptions, type LedgerAuthenticationSignerResult, type LedgerChallengeRequest, type LedgerChallengeResponse, type LedgerCredentialAuthOptions, type LedgerVerifyRequest, type LedgerVerifyResponse, type MetricsSummaryResponse, type MoltbookOwnerRegistrationUpdateRequest, type MoltbookOwnerRegistrationUpdateResponse, type PopularSearchesResponse, type PrivateKeySignerOptions, type ProtocolDetectionMessage, type ProtocolsResponse, type RecipientIdentity, type RegisterAgentOptions, type RegisterAgentPartialResponse, type RegisterAgentPendingResponse, type RegisterAgentQuoteResponse, type RegisterAgentResponse, type RegisterAgentSuccessResponse, type RegisterEncryptionKeyPayload, type RegisterEncryptionKeyResponse, type RegisterStatusResponse, type RegistrationProgressAdditionalEntry, type RegistrationProgressRecord, type RegistrationProgressResponse, type RegistrationProgressWaitOptions, type RegistriesResponse, RegistryBrokerClient, type RegistryBrokerClientOptions, RegistryBrokerError, RegistryBrokerParseError, type RegistrySearchByNamespaceResponse, type RegistryStatsResponse, type ResolvedAgentResponse, type SearchFacetsResponse, type SearchParams, type SearchResult, type SearchStatusResponse, type SendMessageBasePayload, type SendMessageEncryptionOptions, type SendMessageRequestPayload, type SendMessageResponse, type SessionEncryptionStatusResponse, type SessionEncryptionSummary, type SharedSecretInput, type SkillBadgeMetric, type SkillBadgeQuery, type SkillBadgeResponse, type SkillBadgeStyle, type SkillCatalogChannel, type SkillCatalogItem, type SkillCatalogQueryOptions, type SkillCatalogResponse, type SkillCatalogSortBy, type SkillCatalogVersionSummary, type SkillDeprecationRecord, type SkillDeprecationSetRequest, type SkillDeprecationsResponse, type SkillListOptions, type SkillRecommendedVersionResponse, type SkillRecommendedVersionSetRequest, type SkillRegistryCategoriesResponse, type SkillRegistryConfigResponse, type SkillRegistryFileDescriptor, type SkillRegistryFileInput, type SkillRegistryFileRole, type SkillRegistryJobStatusResponse, type SkillRegistryListResponse, type SkillRegistryMineResponse, type SkillRegistryMyListResponse, type SkillRegistryOwnershipResponse, type SkillRegistryPublishRequest, type SkillRegistryPublishResponse, type SkillRegistryPublishSummary, type SkillRegistryQuoteRequest, type SkillRegistryQuoteResponse, type SkillRegistryTagsResponse, type SkillRegistryVersionsResponse, type SkillRegistryVoteRequest, type SkillRegistryVoteStatusResponse, type SkillResolverManifestResponse, type SkillSecurityBreakdownRequest, type SkillSecurityBreakdownResponse, type SkillVerificationDomainProofChallengeRequest, type SkillVerificationDomainProofChallengeResponse, type SkillVerificationDomainProofVerifyRequest, type SkillVerificationDomainProofVerifyResponse, type SkillVerificationRequest, type SkillVerificationRequestCreateRequest, type SkillVerificationRequestCreateResponse, type SkillVerificationStatusResponse, type SkillVerificationTier, type StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type VerificationChallengeDetailsResponse, type VerificationChallengeResponse, type VerificationDnsStatusQuery, type VerificationDnsStatusResponse, type VerificationDnsVerifyRequest, type VerificationOwnershipResponse, type VerificationStatusResponse, type VerificationVerifyResponse, type VerificationVerifySenderResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, buildJobStatusMessage, buildPaymentApproveMessage, buildPaymentDeclineMessage, canonicalizeLedgerNetwork, createPrivateKeySigner, createPrivateKeySignerAsync, isHolChatOp, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse, parseHolChatOps };
|
package/dist/index.d.ts
CHANGED
|
@@ -13626,6 +13626,136 @@ declare const skillRegistryListResponseSchema: z.ZodObject<{
|
|
|
13626
13626
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13627
13627
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
13628
13628
|
}, z.ZodTypeAny, "passthrough">>;
|
|
13629
|
+
declare const skillSecurityBreakdownResponseSchema: z.ZodObject<{
|
|
13630
|
+
name: z.ZodString;
|
|
13631
|
+
version: z.ZodString;
|
|
13632
|
+
jobId: z.ZodString;
|
|
13633
|
+
createdAt: z.ZodString;
|
|
13634
|
+
safety: z.ZodNullable<z.ZodObject<{
|
|
13635
|
+
score: z.ZodNumber;
|
|
13636
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13637
|
+
findingsTotal: z.ZodNumber;
|
|
13638
|
+
highFindings: z.ZodNumber;
|
|
13639
|
+
scriptsTotal: z.ZodNumber;
|
|
13640
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13641
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13642
|
+
score: z.ZodNumber;
|
|
13643
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13644
|
+
findingsTotal: z.ZodNumber;
|
|
13645
|
+
highFindings: z.ZodNumber;
|
|
13646
|
+
scriptsTotal: z.ZodNumber;
|
|
13647
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13648
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13649
|
+
score: z.ZodNumber;
|
|
13650
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13651
|
+
findingsTotal: z.ZodNumber;
|
|
13652
|
+
highFindings: z.ZodNumber;
|
|
13653
|
+
scriptsTotal: z.ZodNumber;
|
|
13654
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13655
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
13656
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
13657
|
+
ruleId: z.ZodString;
|
|
13658
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13659
|
+
file: z.ZodString;
|
|
13660
|
+
message: z.ZodString;
|
|
13661
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13662
|
+
ruleId: z.ZodString;
|
|
13663
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13664
|
+
file: z.ZodString;
|
|
13665
|
+
message: z.ZodString;
|
|
13666
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13667
|
+
ruleId: z.ZodString;
|
|
13668
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13669
|
+
file: z.ZodString;
|
|
13670
|
+
message: z.ZodString;
|
|
13671
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13672
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13673
|
+
name: z.ZodString;
|
|
13674
|
+
version: z.ZodString;
|
|
13675
|
+
jobId: z.ZodString;
|
|
13676
|
+
createdAt: z.ZodString;
|
|
13677
|
+
safety: z.ZodNullable<z.ZodObject<{
|
|
13678
|
+
score: z.ZodNumber;
|
|
13679
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13680
|
+
findingsTotal: z.ZodNumber;
|
|
13681
|
+
highFindings: z.ZodNumber;
|
|
13682
|
+
scriptsTotal: z.ZodNumber;
|
|
13683
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13684
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13685
|
+
score: z.ZodNumber;
|
|
13686
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13687
|
+
findingsTotal: z.ZodNumber;
|
|
13688
|
+
highFindings: z.ZodNumber;
|
|
13689
|
+
scriptsTotal: z.ZodNumber;
|
|
13690
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13691
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13692
|
+
score: z.ZodNumber;
|
|
13693
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13694
|
+
findingsTotal: z.ZodNumber;
|
|
13695
|
+
highFindings: z.ZodNumber;
|
|
13696
|
+
scriptsTotal: z.ZodNumber;
|
|
13697
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13698
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
13699
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
13700
|
+
ruleId: z.ZodString;
|
|
13701
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13702
|
+
file: z.ZodString;
|
|
13703
|
+
message: z.ZodString;
|
|
13704
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13705
|
+
ruleId: z.ZodString;
|
|
13706
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13707
|
+
file: z.ZodString;
|
|
13708
|
+
message: z.ZodString;
|
|
13709
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13710
|
+
ruleId: z.ZodString;
|
|
13711
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13712
|
+
file: z.ZodString;
|
|
13713
|
+
message: z.ZodString;
|
|
13714
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13715
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13716
|
+
name: z.ZodString;
|
|
13717
|
+
version: z.ZodString;
|
|
13718
|
+
jobId: z.ZodString;
|
|
13719
|
+
createdAt: z.ZodString;
|
|
13720
|
+
safety: z.ZodNullable<z.ZodObject<{
|
|
13721
|
+
score: z.ZodNumber;
|
|
13722
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13723
|
+
findingsTotal: z.ZodNumber;
|
|
13724
|
+
highFindings: z.ZodNumber;
|
|
13725
|
+
scriptsTotal: z.ZodNumber;
|
|
13726
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13727
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13728
|
+
score: z.ZodNumber;
|
|
13729
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13730
|
+
findingsTotal: z.ZodNumber;
|
|
13731
|
+
highFindings: z.ZodNumber;
|
|
13732
|
+
scriptsTotal: z.ZodNumber;
|
|
13733
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13734
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13735
|
+
score: z.ZodNumber;
|
|
13736
|
+
label: z.ZodEnum<["safe", "review", "caution", "unsafe"]>;
|
|
13737
|
+
findingsTotal: z.ZodNumber;
|
|
13738
|
+
highFindings: z.ZodNumber;
|
|
13739
|
+
scriptsTotal: z.ZodNumber;
|
|
13740
|
+
permissionsMissing: z.ZodArray<z.ZodString, "many">;
|
|
13741
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
13742
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
13743
|
+
ruleId: z.ZodString;
|
|
13744
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13745
|
+
file: z.ZodString;
|
|
13746
|
+
message: z.ZodString;
|
|
13747
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13748
|
+
ruleId: z.ZodString;
|
|
13749
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13750
|
+
file: z.ZodString;
|
|
13751
|
+
message: z.ZodString;
|
|
13752
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13753
|
+
ruleId: z.ZodString;
|
|
13754
|
+
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
13755
|
+
file: z.ZodString;
|
|
13756
|
+
message: z.ZodString;
|
|
13757
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
13758
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
13629
13759
|
declare const skillCatalogChannelSchema: z.ZodEnum<["stable", "prerelease", "all"]>;
|
|
13630
13760
|
declare const skillCatalogSortBySchema: z.ZodEnum<["trending", "upvotes", "updated", "name"]>;
|
|
13631
13761
|
declare const skillCatalogVersionSummarySchema: z.ZodObject<{
|
|
@@ -29980,6 +30110,7 @@ type MoltbookOwnerRegistrationUpdateResponse = z.infer<typeof moltbookOwnerRegis
|
|
|
29980
30110
|
type SkillRegistryFileDescriptor = z.infer<typeof skillRegistryFileDescriptorSchema>;
|
|
29981
30111
|
type SkillRegistryPublishSummary = z.infer<typeof skillRegistryPublishSummarySchema>;
|
|
29982
30112
|
type SkillRegistryListResponse = z.infer<typeof skillRegistryListResponseSchema>;
|
|
30113
|
+
type SkillSecurityBreakdownResponse = z.infer<typeof skillSecurityBreakdownResponseSchema>;
|
|
29983
30114
|
type SkillRegistryMineResponse = z.infer<typeof skillRegistryMineResponseSchema>;
|
|
29984
30115
|
type SkillRegistryMyListResponse = z.infer<typeof skillRegistryMyListResponseSchema>;
|
|
29985
30116
|
type SkillRegistryQuoteResponse = z.infer<typeof skillRegistryQuoteResponseSchema>;
|
|
@@ -30035,6 +30166,9 @@ interface SkillListOptions {
|
|
|
30035
30166
|
verified?: boolean;
|
|
30036
30167
|
view?: 'latest' | 'all';
|
|
30037
30168
|
}
|
|
30169
|
+
interface SkillSecurityBreakdownRequest {
|
|
30170
|
+
jobId: string;
|
|
30171
|
+
}
|
|
30038
30172
|
interface SkillCatalogQueryOptions {
|
|
30039
30173
|
q?: string;
|
|
30040
30174
|
category?: string;
|
|
@@ -30521,6 +30655,7 @@ declare class RegistryBrokerClient {
|
|
|
30521
30655
|
adapters(): Promise<AdaptersResponse>;
|
|
30522
30656
|
skillsConfig(): Promise<SkillRegistryConfigResponse>;
|
|
30523
30657
|
listSkills(options?: SkillListOptions): Promise<SkillRegistryListResponse>;
|
|
30658
|
+
getSkillSecurityBreakdown(params: SkillSecurityBreakdownRequest): Promise<SkillSecurityBreakdownResponse>;
|
|
30524
30659
|
getSkillsCatalog(options?: SkillCatalogQueryOptions): Promise<SkillCatalogResponse>;
|
|
30525
30660
|
listSkillVersions(params: {
|
|
30526
30661
|
name: string;
|
|
@@ -30744,4 +30879,4 @@ declare const buildJobStatusMessage: (input: {
|
|
|
30744
30879
|
jobId: number;
|
|
30745
30880
|
}) => string;
|
|
30746
30881
|
|
|
30747
|
-
export { type AcceptConversationOptions, type AcceptEncryptedChatSessionOptions, type AdapterDetailsResponse, type AdapterRegistryAdaptersResponse, type AdapterRegistryCategoriesResponse, type AdapterRegistryCategory, type AdapterRegistryCreateCategoryResponse, type AdapterRegistrySubmissionStatusResponse, type AdapterRegistrySubmitAdapterAcceptedResponse, type AdapterRegistrySubmitAdapterResponse, type AdaptersResponse, type AdditionalRegistryCatalogResponse, type AdditionalRegistryDescriptor, type AdditionalRegistryNetworkDescriptor, type AgentAuthConfig, type AgentAuthType, type AgentFeedbackEligibilityRequest, type AgentFeedbackEligibilityResponse, type AgentFeedbackEntriesIndexResponse, type AgentFeedbackIndexResponse, type AgentFeedbackQuery, type AgentFeedbackResponse, type AgentFeedbackSubmissionRequest, type AgentFeedbackSubmissionResponse, type AgentProfile, type AgentRegistrationRequest, type AgentRegistrationRequestMetadata, type AgentSearchHit, type AutoRegisterEncryptionKeyOptions, type AutoTopUpOptions, type CanonicalLedgerNetwork, type ChatConversationHandle, type ChatHistoryCompactionResponse, type ChatHistoryEntry, type ChatHistoryFetchOptions, type ChatHistorySnapshotResponse, type ChatHistorySnapshotWithDecryptedEntries, type CipherEnvelope, type CipherEnvelopeRecipient, type ClientEncryptionOptions, type CompactHistoryRequestPayload, type ConversationEncryptionOptions, type ConversationMode, type CreateAdapterRegistryCategoryRequest, type CreateSessionRequestPayload, type CreateSessionResponse, type CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, type GenerateEncryptionKeyPairOptions, HOL_CHAT_PROTOCOL_ID, type HistoryAutoTopUpOptions, type HolChatOp, type HolChatOpBase, type HolChatOpName, type InitializeAgentClientOptions, type InitializedAgentClient, type JsonObject, type JsonPrimitive, type JsonValue, type LedgerAuthenticationLogger, type LedgerAuthenticationOptions, type LedgerAuthenticationSignerResult, type LedgerChallengeRequest, type LedgerChallengeResponse, type LedgerCredentialAuthOptions, type LedgerVerifyRequest, type LedgerVerifyResponse, type MetricsSummaryResponse, type MoltbookOwnerRegistrationUpdateRequest, type MoltbookOwnerRegistrationUpdateResponse, type PopularSearchesResponse, type PrivateKeySignerOptions, type ProtocolDetectionMessage, type ProtocolsResponse, type RecipientIdentity, type RegisterAgentOptions, type RegisterAgentPartialResponse, type RegisterAgentPendingResponse, type RegisterAgentQuoteResponse, type RegisterAgentResponse, type RegisterAgentSuccessResponse, type RegisterEncryptionKeyPayload, type RegisterEncryptionKeyResponse, type RegisterStatusResponse, type RegistrationProgressAdditionalEntry, type RegistrationProgressRecord, type RegistrationProgressResponse, type RegistrationProgressWaitOptions, type RegistriesResponse, RegistryBrokerClient, type RegistryBrokerClientOptions, RegistryBrokerError, RegistryBrokerParseError, type RegistrySearchByNamespaceResponse, type RegistryStatsResponse, type ResolvedAgentResponse, type SearchFacetsResponse, type SearchParams, type SearchResult, type SearchStatusResponse, type SendMessageBasePayload, type SendMessageEncryptionOptions, type SendMessageRequestPayload, type SendMessageResponse, type SessionEncryptionStatusResponse, type SessionEncryptionSummary, type SharedSecretInput, type SkillBadgeMetric, type SkillBadgeQuery, type SkillBadgeResponse, type SkillBadgeStyle, type SkillCatalogChannel, type SkillCatalogItem, type SkillCatalogQueryOptions, type SkillCatalogResponse, type SkillCatalogSortBy, type SkillCatalogVersionSummary, type SkillDeprecationRecord, type SkillDeprecationSetRequest, type SkillDeprecationsResponse, type SkillListOptions, type SkillRecommendedVersionResponse, type SkillRecommendedVersionSetRequest, type SkillRegistryCategoriesResponse, type SkillRegistryConfigResponse, type SkillRegistryFileDescriptor, type SkillRegistryFileInput, type SkillRegistryFileRole, type SkillRegistryJobStatusResponse, type SkillRegistryListResponse, type SkillRegistryMineResponse, type SkillRegistryMyListResponse, type SkillRegistryOwnershipResponse, type SkillRegistryPublishRequest, type SkillRegistryPublishResponse, type SkillRegistryPublishSummary, type SkillRegistryQuoteRequest, type SkillRegistryQuoteResponse, type SkillRegistryTagsResponse, type SkillRegistryVersionsResponse, type SkillRegistryVoteRequest, type SkillRegistryVoteStatusResponse, type SkillResolverManifestResponse, type SkillVerificationDomainProofChallengeRequest, type SkillVerificationDomainProofChallengeResponse, type SkillVerificationDomainProofVerifyRequest, type SkillVerificationDomainProofVerifyResponse, type SkillVerificationRequest, type SkillVerificationRequestCreateRequest, type SkillVerificationRequestCreateResponse, type SkillVerificationStatusResponse, type SkillVerificationTier, type StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type VerificationChallengeDetailsResponse, type VerificationChallengeResponse, type VerificationDnsStatusQuery, type VerificationDnsStatusResponse, type VerificationDnsVerifyRequest, type VerificationOwnershipResponse, type VerificationStatusResponse, type VerificationVerifyResponse, type VerificationVerifySenderResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, buildJobStatusMessage, buildPaymentApproveMessage, buildPaymentDeclineMessage, canonicalizeLedgerNetwork, createPrivateKeySigner, createPrivateKeySignerAsync, isHolChatOp, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse, parseHolChatOps };
|
|
30882
|
+
export { type AcceptConversationOptions, type AcceptEncryptedChatSessionOptions, type AdapterDetailsResponse, type AdapterRegistryAdaptersResponse, type AdapterRegistryCategoriesResponse, type AdapterRegistryCategory, type AdapterRegistryCreateCategoryResponse, type AdapterRegistrySubmissionStatusResponse, type AdapterRegistrySubmitAdapterAcceptedResponse, type AdapterRegistrySubmitAdapterResponse, type AdaptersResponse, type AdditionalRegistryCatalogResponse, type AdditionalRegistryDescriptor, type AdditionalRegistryNetworkDescriptor, type AgentAuthConfig, type AgentAuthType, type AgentFeedbackEligibilityRequest, type AgentFeedbackEligibilityResponse, type AgentFeedbackEntriesIndexResponse, type AgentFeedbackIndexResponse, type AgentFeedbackQuery, type AgentFeedbackResponse, type AgentFeedbackSubmissionRequest, type AgentFeedbackSubmissionResponse, type AgentProfile, type AgentRegistrationRequest, type AgentRegistrationRequestMetadata, type AgentSearchHit, type AutoRegisterEncryptionKeyOptions, type AutoTopUpOptions, type CanonicalLedgerNetwork, type ChatConversationHandle, type ChatHistoryCompactionResponse, type ChatHistoryEntry, type ChatHistoryFetchOptions, type ChatHistorySnapshotResponse, type ChatHistorySnapshotWithDecryptedEntries, type CipherEnvelope, type CipherEnvelopeRecipient, type ClientEncryptionOptions, type CompactHistoryRequestPayload, type ConversationEncryptionOptions, type ConversationMode, type CreateAdapterRegistryCategoryRequest, type CreateSessionRequestPayload, type CreateSessionResponse, type CreditPurchaseResponse, type DashboardStatsResponse, type DecryptCipherEnvelopeOptions, type DecryptedHistoryEntry, type DeriveSharedSecretOptions, type DetectProtocolResponse, type EncryptCipherEnvelopeOptions, type EncryptedChatSendOptions, type EncryptedChatSessionHandle, type EncryptionHandshakeRecord, type EncryptionHandshakeResponse, type EncryptionHandshakeSubmissionPayload, type EnsureAgentKeyOptions, type EphemeralKeyPair, type GenerateEncryptionKeyPairOptions, HOL_CHAT_PROTOCOL_ID, type HistoryAutoTopUpOptions, type HolChatOp, type HolChatOpBase, type HolChatOpName, type InitializeAgentClientOptions, type InitializedAgentClient, type JsonObject, type JsonPrimitive, type JsonValue, type LedgerAuthenticationLogger, type LedgerAuthenticationOptions, type LedgerAuthenticationSignerResult, type LedgerChallengeRequest, type LedgerChallengeResponse, type LedgerCredentialAuthOptions, type LedgerVerifyRequest, type LedgerVerifyResponse, type MetricsSummaryResponse, type MoltbookOwnerRegistrationUpdateRequest, type MoltbookOwnerRegistrationUpdateResponse, type PopularSearchesResponse, type PrivateKeySignerOptions, type ProtocolDetectionMessage, type ProtocolsResponse, type RecipientIdentity, type RegisterAgentOptions, type RegisterAgentPartialResponse, type RegisterAgentPendingResponse, type RegisterAgentQuoteResponse, type RegisterAgentResponse, type RegisterAgentSuccessResponse, type RegisterEncryptionKeyPayload, type RegisterEncryptionKeyResponse, type RegisterStatusResponse, type RegistrationProgressAdditionalEntry, type RegistrationProgressRecord, type RegistrationProgressResponse, type RegistrationProgressWaitOptions, type RegistriesResponse, RegistryBrokerClient, type RegistryBrokerClientOptions, RegistryBrokerError, RegistryBrokerParseError, type RegistrySearchByNamespaceResponse, type RegistryStatsResponse, type ResolvedAgentResponse, type SearchFacetsResponse, type SearchParams, type SearchResult, type SearchStatusResponse, type SendMessageBasePayload, type SendMessageEncryptionOptions, type SendMessageRequestPayload, type SendMessageResponse, type SessionEncryptionStatusResponse, type SessionEncryptionSummary, type SharedSecretInput, type SkillBadgeMetric, type SkillBadgeQuery, type SkillBadgeResponse, type SkillBadgeStyle, type SkillCatalogChannel, type SkillCatalogItem, type SkillCatalogQueryOptions, type SkillCatalogResponse, type SkillCatalogSortBy, type SkillCatalogVersionSummary, type SkillDeprecationRecord, type SkillDeprecationSetRequest, type SkillDeprecationsResponse, type SkillListOptions, type SkillRecommendedVersionResponse, type SkillRecommendedVersionSetRequest, type SkillRegistryCategoriesResponse, type SkillRegistryConfigResponse, type SkillRegistryFileDescriptor, type SkillRegistryFileInput, type SkillRegistryFileRole, type SkillRegistryJobStatusResponse, type SkillRegistryListResponse, type SkillRegistryMineResponse, type SkillRegistryMyListResponse, type SkillRegistryOwnershipResponse, type SkillRegistryPublishRequest, type SkillRegistryPublishResponse, type SkillRegistryPublishSummary, type SkillRegistryQuoteRequest, type SkillRegistryQuoteResponse, type SkillRegistryTagsResponse, type SkillRegistryVersionsResponse, type SkillRegistryVoteRequest, type SkillRegistryVoteStatusResponse, type SkillResolverManifestResponse, type SkillSecurityBreakdownRequest, type SkillSecurityBreakdownResponse, type SkillVerificationDomainProofChallengeRequest, type SkillVerificationDomainProofChallengeResponse, type SkillVerificationDomainProofVerifyRequest, type SkillVerificationDomainProofVerifyResponse, type SkillVerificationRequest, type SkillVerificationRequestCreateRequest, type SkillVerificationRequestCreateResponse, type SkillVerificationStatusResponse, type SkillVerificationTier, type StartChatBaseOptions, type StartChatOptions, type StartConversationOptions, type StartEncryptedChatSessionOptions, type SubmitAdapterRegistryAdapterRequest, type UaidConnectionStatus, type UaidValidationResponse, type VectorSearchFilter, type VectorSearchRequest, type VectorSearchResponse, type VerificationChallengeDetailsResponse, type VerificationChallengeResponse, type VerificationDnsStatusQuery, type VerificationDnsStatusResponse, type VerificationDnsVerifyRequest, type VerificationOwnershipResponse, type VerificationStatusResponse, type VerificationVerifyResponse, type VerificationVerifySenderResponse, type WebsocketStatsResponse, type X402CreditPurchaseResponse, type X402MinimumsResponse, buildJobStatusMessage, buildPaymentApproveMessage, buildPaymentDeclineMessage, canonicalizeLedgerNetwork, createPrivateKeySigner, createPrivateKeySignerAsync, isHolChatOp, isPartialRegisterAgentResponse, isPendingRegisterAgentResponse, isSuccessRegisterAgentResponse, parseHolChatOps };
|
package/dist/index.js
CHANGED
|
@@ -1170,6 +1170,14 @@ var skillRegistryListResponseSchema = z2.object({
|
|
|
1170
1170
|
items: z2.array(skillRegistryPublishSummarySchema),
|
|
1171
1171
|
nextCursor: z2.string().nullable()
|
|
1172
1172
|
}).passthrough();
|
|
1173
|
+
var skillSecurityBreakdownResponseSchema = z2.object({
|
|
1174
|
+
name: z2.string(),
|
|
1175
|
+
version: z2.string(),
|
|
1176
|
+
jobId: z2.string(),
|
|
1177
|
+
createdAt: z2.string(),
|
|
1178
|
+
safety: skillSafetySummarySchema.nullable(),
|
|
1179
|
+
findings: z2.array(skillSafetyFindingSchema)
|
|
1180
|
+
}).passthrough();
|
|
1173
1181
|
var skillCatalogChannelSchema = z2.enum([
|
|
1174
1182
|
"stable",
|
|
1175
1183
|
"prerelease",
|
|
@@ -3857,6 +3865,21 @@ async function listSkills(client, params = {}) {
|
|
|
3857
3865
|
"skill registry list response"
|
|
3858
3866
|
);
|
|
3859
3867
|
}
|
|
3868
|
+
async function getSkillSecurityBreakdown(client, params) {
|
|
3869
|
+
const normalizedJobId = params.jobId.trim();
|
|
3870
|
+
if (!normalizedJobId) {
|
|
3871
|
+
throw new Error("jobId is required");
|
|
3872
|
+
}
|
|
3873
|
+
const raw = await client.requestJson(
|
|
3874
|
+
`/skills/${encodeURIComponent(normalizedJobId)}/security-breakdown`,
|
|
3875
|
+
{ method: "GET" }
|
|
3876
|
+
);
|
|
3877
|
+
return client.parseWithSchema(
|
|
3878
|
+
raw,
|
|
3879
|
+
skillSecurityBreakdownResponseSchema,
|
|
3880
|
+
"skill security breakdown response"
|
|
3881
|
+
);
|
|
3882
|
+
}
|
|
3860
3883
|
async function getSkillsCatalog(client, params = {}) {
|
|
3861
3884
|
const query = new URLSearchParams();
|
|
3862
3885
|
if (params.q) {
|
|
@@ -4655,6 +4678,9 @@ var RegistryBrokerClient = class _RegistryBrokerClient {
|
|
|
4655
4678
|
async listSkills(options) {
|
|
4656
4679
|
return listSkills(this, options);
|
|
4657
4680
|
}
|
|
4681
|
+
async getSkillSecurityBreakdown(params) {
|
|
4682
|
+
return getSkillSecurityBreakdown(this, params);
|
|
4683
|
+
}
|
|
4658
4684
|
async getSkillsCatalog(options) {
|
|
4659
4685
|
return getSkillsCatalog(this, options);
|
|
4660
4686
|
}
|