@kya-os/contracts 1.7.21 → 1.7.23
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/agentshield-api/schemas.d.ts +198 -198
- package/dist/audit/index.d.ts +21 -21
- package/dist/config/base.d.ts +8 -0
- package/dist/consent/schemas.d.ts +112 -112
- package/dist/dashboard-config/schemas.d.ts +1771 -1771
- package/dist/delegation/schemas.d.ts +234 -234
- package/dist/deploy/schemas.d.ts +19 -19
- package/dist/handshake.d.ts +30 -30
- package/dist/molti/admin-ws.d.ts +1480 -0
- package/dist/molti/admin-ws.js +138 -0
- package/dist/molti/index.d.ts +2 -0
- package/dist/molti/index.js +19 -1
- package/dist/molti/schemas.d.ts +102 -102
- package/dist/policy/schemas.d.ts +676 -676
- package/dist/registry.d.ts +43 -43
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/tool-protection/index.d.ts +6 -6
- package/dist/verifier.d.ts +6 -6
- package/dist/well-known/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -943,12 +943,12 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
943
943
|
source: z.ZodOptional<z.ZodString>;
|
|
944
944
|
}, "strip", z.ZodTypeAny, {
|
|
945
945
|
version?: string | undefined;
|
|
946
|
-
lastUpdated?: string | undefined;
|
|
947
946
|
source?: string | undefined;
|
|
947
|
+
lastUpdated?: string | undefined;
|
|
948
948
|
}, {
|
|
949
949
|
version?: string | undefined;
|
|
950
|
-
lastUpdated?: string | undefined;
|
|
951
950
|
source?: string | undefined;
|
|
951
|
+
lastUpdated?: string | undefined;
|
|
952
952
|
}>>;
|
|
953
953
|
}, "strip", z.ZodTypeAny, {
|
|
954
954
|
toolProtections: Record<string, {
|
|
@@ -997,8 +997,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
997
997
|
}>;
|
|
998
998
|
metadata?: {
|
|
999
999
|
version?: string | undefined;
|
|
1000
|
-
lastUpdated?: string | undefined;
|
|
1001
1000
|
source?: string | undefined;
|
|
1001
|
+
lastUpdated?: string | undefined;
|
|
1002
1002
|
} | undefined;
|
|
1003
1003
|
}, {
|
|
1004
1004
|
toolProtections: Record<string, {
|
|
@@ -1047,8 +1047,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
1047
1047
|
}>;
|
|
1048
1048
|
metadata?: {
|
|
1049
1049
|
version?: string | undefined;
|
|
1050
|
-
lastUpdated?: string | undefined;
|
|
1051
1050
|
source?: string | undefined;
|
|
1051
|
+
lastUpdated?: string | undefined;
|
|
1052
1052
|
} | undefined;
|
|
1053
1053
|
}>;
|
|
1054
1054
|
export declare const DelegationRequiredErrorDataSchema: z.ZodObject<{
|
|
@@ -1060,15 +1060,15 @@ export declare const DelegationRequiredErrorDataSchema: z.ZodObject<{
|
|
|
1060
1060
|
}, "strip", z.ZodTypeAny, {
|
|
1061
1061
|
requiredScopes: string[];
|
|
1062
1062
|
toolName: string;
|
|
1063
|
-
authorizationUrl?: string | undefined;
|
|
1064
1063
|
reason?: string | undefined;
|
|
1065
1064
|
consentUrl?: string | undefined;
|
|
1065
|
+
authorizationUrl?: string | undefined;
|
|
1066
1066
|
}, {
|
|
1067
1067
|
requiredScopes: string[];
|
|
1068
1068
|
toolName: string;
|
|
1069
|
-
authorizationUrl?: string | undefined;
|
|
1070
1069
|
reason?: string | undefined;
|
|
1071
1070
|
consentUrl?: string | undefined;
|
|
1071
|
+
authorizationUrl?: string | undefined;
|
|
1072
1072
|
}>;
|
|
1073
1073
|
/**
|
|
1074
1074
|
* Type Guards
|
package/dist/verifier.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ export declare const AgentContextSchema: z.ZodObject<{
|
|
|
20
20
|
confidence: "verified";
|
|
21
21
|
registry: string;
|
|
22
22
|
verifiedAt: number;
|
|
23
|
-
subject?: string | undefined;
|
|
24
23
|
delegationRef?: string | undefined;
|
|
24
|
+
subject?: string | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
did: string;
|
|
27
27
|
kid: string;
|
|
@@ -30,8 +30,8 @@ export declare const AgentContextSchema: z.ZodObject<{
|
|
|
30
30
|
registry: string;
|
|
31
31
|
verifiedAt: number;
|
|
32
32
|
scopes?: string[] | undefined;
|
|
33
|
-
subject?: string | undefined;
|
|
34
33
|
delegationRef?: string | undefined;
|
|
34
|
+
subject?: string | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export declare const VerifierResultSchema: z.ZodObject<{
|
|
37
37
|
success: z.ZodBoolean;
|
|
@@ -54,8 +54,8 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
54
54
|
confidence: "verified";
|
|
55
55
|
registry: string;
|
|
56
56
|
verifiedAt: number;
|
|
57
|
-
subject?: string | undefined;
|
|
58
57
|
delegationRef?: string | undefined;
|
|
58
|
+
subject?: string | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
did: string;
|
|
61
61
|
kid: string;
|
|
@@ -64,8 +64,8 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
64
64
|
registry: string;
|
|
65
65
|
verifiedAt: number;
|
|
66
66
|
scopes?: string[] | undefined;
|
|
67
|
-
subject?: string | undefined;
|
|
68
67
|
delegationRef?: string | undefined;
|
|
68
|
+
subject?: string | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
error: z.ZodOptional<z.ZodObject<{
|
|
71
71
|
code: z.ZodString;
|
|
@@ -100,8 +100,8 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
100
100
|
confidence: "verified";
|
|
101
101
|
registry: string;
|
|
102
102
|
verifiedAt: number;
|
|
103
|
-
subject?: string | undefined;
|
|
104
103
|
delegationRef?: string | undefined;
|
|
104
|
+
subject?: string | undefined;
|
|
105
105
|
} | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
success: boolean;
|
|
@@ -120,8 +120,8 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
120
120
|
registry: string;
|
|
121
121
|
verifiedAt: number;
|
|
122
122
|
scopes?: string[] | undefined;
|
|
123
|
-
subject?: string | undefined;
|
|
124
123
|
delegationRef?: string | undefined;
|
|
124
|
+
subject?: string | undefined;
|
|
125
125
|
} | undefined;
|
|
126
126
|
}>;
|
|
127
127
|
export declare const StructuredErrorSchema: z.ZodObject<{
|
|
@@ -657,13 +657,13 @@ export declare const MCPServerCardSchema: z.ZodObject<{
|
|
|
657
657
|
experimental?: Record<string, unknown> | undefined;
|
|
658
658
|
} | undefined;
|
|
659
659
|
$schema?: string | undefined;
|
|
660
|
-
description?: string | undefined;
|
|
661
660
|
tools?: "dynamic" | {
|
|
662
661
|
name: string;
|
|
663
662
|
title?: string | undefined;
|
|
664
663
|
description?: string | undefined;
|
|
665
664
|
inputSchema?: Record<string, unknown> | undefined;
|
|
666
665
|
}[] | undefined;
|
|
666
|
+
description?: string | undefined;
|
|
667
667
|
authentication?: {
|
|
668
668
|
required: boolean;
|
|
669
669
|
schemes: string[];
|
|
@@ -723,13 +723,13 @@ export declare const MCPServerCardSchema: z.ZodObject<{
|
|
|
723
723
|
experimental?: Record<string, unknown> | undefined;
|
|
724
724
|
} | undefined;
|
|
725
725
|
$schema?: string | undefined;
|
|
726
|
-
description?: string | undefined;
|
|
727
726
|
tools?: "dynamic" | {
|
|
728
727
|
name: string;
|
|
729
728
|
title?: string | undefined;
|
|
730
729
|
description?: string | undefined;
|
|
731
730
|
inputSchema?: Record<string, unknown> | undefined;
|
|
732
731
|
}[] | undefined;
|
|
732
|
+
description?: string | undefined;
|
|
733
733
|
authentication?: {
|
|
734
734
|
required: boolean;
|
|
735
735
|
schemes: string[];
|