@kya-os/contracts 1.7.25 → 1.7.26
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/agent-deployment-utils.d.ts +42 -0
- package/dist/agent-deployment-utils.js +55 -0
- package/dist/agent-deployment.d.ts +723 -0
- package/dist/agent-deployment.js +269 -0
- package/dist/agentshield-api/schemas.d.ts +223 -223
- package/dist/audit/index.d.ts +21 -21
- package/dist/cli.d.ts +4 -4
- package/dist/compute-binding.d.ts +48 -0
- package/dist/compute-binding.js +42 -0
- package/dist/compute.d.ts +424 -0
- package/dist/compute.js +184 -0
- package/dist/consent/schemas.d.ts +116 -116
- package/dist/dashboard-config/schemas.d.ts +1885 -1885
- package/dist/delegation/schemas.d.ts +280 -280
- package/dist/deploy/schemas.d.ts +96 -96
- package/dist/deploy/schemas.js +1 -0
- package/dist/deploy/types.d.ts +1 -1
- package/dist/handshake.d.ts +24 -24
- package/dist/identity/schemas.d.ts +8 -8
- package/dist/molti/admin-ws.d.ts +176 -176
- package/dist/molti/schemas.d.ts +70 -70
- package/dist/policy/schemas.d.ts +704 -704
- package/dist/proof/proof-record.d.ts +12 -12
- package/dist/proof/signing-spec.d.ts +4 -4
- package/dist/registry.d.ts +41 -41
- package/dist/reputation/api.d.ts +10 -10
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/test.d.ts +2 -2
- package/dist/tool-protection/index.d.ts +6 -6
- package/dist/verifier.d.ts +8 -8
- package/dist/well-known/index.d.ts +18 -18
- package/package.json +16 -4
package/dist/deploy/schemas.js
CHANGED
package/dist/deploy/types.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { AgentShieldAPIResponse } from "../agentshield-api/types.js";
|
|
|
13
13
|
* - ecommerce: E-commerce focused with cart/checkout tools
|
|
14
14
|
* - hardware-world: IoT/Hardware world demo template
|
|
15
15
|
*/
|
|
16
|
-
export type TemplateType = "blank" | "ecommerce" | "hardware-world";
|
|
16
|
+
export type TemplateType = "blank" | "ecommerce" | "hardware-world" | "mix-station";
|
|
17
17
|
/**
|
|
18
18
|
* Supported deployment platforms
|
|
19
19
|
* - cloudflare: Cloudflare Workers
|
package/dist/handshake.d.ts
CHANGED
|
@@ -23,15 +23,15 @@ export declare const MCPClientInfoSchema: z.ZodObject<{
|
|
|
23
23
|
persistentId: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
name: string;
|
|
26
|
-
title?: string | undefined;
|
|
27
26
|
version?: string | undefined;
|
|
27
|
+
title?: string | undefined;
|
|
28
28
|
platform?: string | undefined;
|
|
29
29
|
vendor?: string | undefined;
|
|
30
30
|
persistentId?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
name: string;
|
|
33
|
-
title?: string | undefined;
|
|
34
33
|
version?: string | undefined;
|
|
34
|
+
title?: string | undefined;
|
|
35
35
|
platform?: string | undefined;
|
|
36
36
|
vendor?: string | undefined;
|
|
37
37
|
persistentId?: string | undefined;
|
|
@@ -50,8 +50,8 @@ export declare const MCPClientSessionInfoSchema: z.ZodObject<{
|
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
name: string;
|
|
52
52
|
clientId: string;
|
|
53
|
-
title?: string | undefined;
|
|
54
53
|
version?: string | undefined;
|
|
54
|
+
title?: string | undefined;
|
|
55
55
|
platform?: string | undefined;
|
|
56
56
|
vendor?: string | undefined;
|
|
57
57
|
persistentId?: string | undefined;
|
|
@@ -60,8 +60,8 @@ export declare const MCPClientSessionInfoSchema: z.ZodObject<{
|
|
|
60
60
|
}, {
|
|
61
61
|
name: string;
|
|
62
62
|
clientId: string;
|
|
63
|
-
title?: string | undefined;
|
|
64
63
|
version?: string | undefined;
|
|
64
|
+
title?: string | undefined;
|
|
65
65
|
platform?: string | undefined;
|
|
66
66
|
vendor?: string | undefined;
|
|
67
67
|
persistentId?: string | undefined;
|
|
@@ -84,52 +84,52 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
|
|
|
84
84
|
clientId: z.ZodOptional<z.ZodString>;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
name: string;
|
|
87
|
-
|
|
87
|
+
clientId?: string | undefined;
|
|
88
88
|
version?: string | undefined;
|
|
89
|
+
title?: string | undefined;
|
|
89
90
|
platform?: string | undefined;
|
|
90
91
|
vendor?: string | undefined;
|
|
91
92
|
persistentId?: string | undefined;
|
|
92
|
-
clientId?: string | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
name: string;
|
|
95
|
-
|
|
95
|
+
clientId?: string | undefined;
|
|
96
96
|
version?: string | undefined;
|
|
97
|
+
title?: string | undefined;
|
|
97
98
|
platform?: string | undefined;
|
|
98
99
|
vendor?: string | undefined;
|
|
99
100
|
persistentId?: string | undefined;
|
|
100
|
-
clientId?: string | undefined;
|
|
101
101
|
}>>;
|
|
102
102
|
clientProtocolVersion: z.ZodOptional<z.ZodString>;
|
|
103
103
|
clientCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
timestamp: number;
|
|
105
106
|
nonce: string;
|
|
106
107
|
audience: string;
|
|
107
|
-
timestamp: number;
|
|
108
108
|
agentDid?: string | undefined;
|
|
109
109
|
clientInfo?: {
|
|
110
110
|
name: string;
|
|
111
|
-
|
|
111
|
+
clientId?: string | undefined;
|
|
112
112
|
version?: string | undefined;
|
|
113
|
+
title?: string | undefined;
|
|
113
114
|
platform?: string | undefined;
|
|
114
115
|
vendor?: string | undefined;
|
|
115
116
|
persistentId?: string | undefined;
|
|
116
|
-
clientId?: string | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
clientProtocolVersion?: string | undefined;
|
|
119
119
|
clientCapabilities?: Record<string, unknown> | undefined;
|
|
120
120
|
}, {
|
|
121
|
+
timestamp: number;
|
|
121
122
|
nonce: string;
|
|
122
123
|
audience: string;
|
|
123
|
-
timestamp: number;
|
|
124
124
|
agentDid?: string | undefined;
|
|
125
125
|
clientInfo?: {
|
|
126
126
|
name: string;
|
|
127
|
-
|
|
127
|
+
clientId?: string | undefined;
|
|
128
128
|
version?: string | undefined;
|
|
129
|
+
title?: string | undefined;
|
|
129
130
|
platform?: string | undefined;
|
|
130
131
|
vendor?: string | undefined;
|
|
131
132
|
persistentId?: string | undefined;
|
|
132
|
-
clientId?: string | undefined;
|
|
133
133
|
} | undefined;
|
|
134
134
|
clientProtocolVersion?: string | undefined;
|
|
135
135
|
clientCapabilities?: Record<string, unknown> | undefined;
|
|
@@ -160,8 +160,8 @@ export declare const SessionContextSchema: z.ZodObject<{
|
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
161
|
name: string;
|
|
162
162
|
clientId: string;
|
|
163
|
-
title?: string | undefined;
|
|
164
163
|
version?: string | undefined;
|
|
164
|
+
title?: string | undefined;
|
|
165
165
|
platform?: string | undefined;
|
|
166
166
|
vendor?: string | undefined;
|
|
167
167
|
persistentId?: string | undefined;
|
|
@@ -170,8 +170,8 @@ export declare const SessionContextSchema: z.ZodObject<{
|
|
|
170
170
|
}, {
|
|
171
171
|
name: string;
|
|
172
172
|
clientId: string;
|
|
173
|
-
title?: string | undefined;
|
|
174
173
|
version?: string | undefined;
|
|
174
|
+
title?: string | undefined;
|
|
175
175
|
platform?: string | undefined;
|
|
176
176
|
vendor?: string | undefined;
|
|
177
177
|
persistentId?: string | undefined;
|
|
@@ -204,20 +204,20 @@ export declare const SessionContextSchema: z.ZodObject<{
|
|
|
204
204
|
email?: string | undefined;
|
|
205
205
|
}>>;
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
timestamp: number;
|
|
208
|
+
createdAt: number;
|
|
207
209
|
nonce: string;
|
|
208
210
|
audience: string;
|
|
209
|
-
timestamp: number;
|
|
210
211
|
sessionId: string;
|
|
211
|
-
createdAt: number;
|
|
212
212
|
lastActivity: number;
|
|
213
213
|
ttlMinutes: number;
|
|
214
|
-
identityState: "
|
|
214
|
+
identityState: "authenticated" | "anonymous";
|
|
215
215
|
agentDid?: string | undefined;
|
|
216
216
|
clientInfo?: {
|
|
217
217
|
name: string;
|
|
218
218
|
clientId: string;
|
|
219
|
-
title?: string | undefined;
|
|
220
219
|
version?: string | undefined;
|
|
220
|
+
title?: string | undefined;
|
|
221
221
|
platform?: string | undefined;
|
|
222
222
|
vendor?: string | undefined;
|
|
223
223
|
persistentId?: string | undefined;
|
|
@@ -234,18 +234,18 @@ export declare const SessionContextSchema: z.ZodObject<{
|
|
|
234
234
|
email?: string | undefined;
|
|
235
235
|
} | undefined;
|
|
236
236
|
}, {
|
|
237
|
+
timestamp: number;
|
|
238
|
+
createdAt: number;
|
|
237
239
|
nonce: string;
|
|
238
240
|
audience: string;
|
|
239
|
-
timestamp: number;
|
|
240
241
|
sessionId: string;
|
|
241
|
-
createdAt: number;
|
|
242
242
|
lastActivity: number;
|
|
243
243
|
agentDid?: string | undefined;
|
|
244
244
|
clientInfo?: {
|
|
245
245
|
name: string;
|
|
246
246
|
clientId: string;
|
|
247
|
-
title?: string | undefined;
|
|
248
247
|
version?: string | undefined;
|
|
248
|
+
title?: string | undefined;
|
|
249
249
|
platform?: string | undefined;
|
|
250
250
|
vendor?: string | undefined;
|
|
251
251
|
persistentId?: string | undefined;
|
|
@@ -256,7 +256,7 @@ export declare const SessionContextSchema: z.ZodObject<{
|
|
|
256
256
|
serverDid?: string | undefined;
|
|
257
257
|
clientDid?: string | undefined;
|
|
258
258
|
userDid?: string | undefined;
|
|
259
|
-
identityState?: "
|
|
259
|
+
identityState?: "authenticated" | "anonymous" | undefined;
|
|
260
260
|
oauthIdentity?: {
|
|
261
261
|
provider: string;
|
|
262
262
|
subject: string;
|
|
@@ -30,15 +30,15 @@ export declare const OAuthResultSchema: z.ZodObject<{
|
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
31
|
provider: string;
|
|
32
32
|
sub: string;
|
|
33
|
-
email?: string | undefined;
|
|
34
33
|
name?: string | undefined;
|
|
34
|
+
email?: string | undefined;
|
|
35
35
|
email_verified?: boolean | undefined;
|
|
36
36
|
picture?: string | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
provider: string;
|
|
39
39
|
sub: string;
|
|
40
|
-
email?: string | undefined;
|
|
41
40
|
name?: string | undefined;
|
|
41
|
+
email?: string | undefined;
|
|
42
42
|
email_verified?: boolean | undefined;
|
|
43
43
|
picture?: string | undefined;
|
|
44
44
|
}>;
|
|
@@ -68,15 +68,15 @@ export declare const IdentityResolveRequestSchema: z.ZodObject<{
|
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
provider: string;
|
|
70
70
|
sub: string;
|
|
71
|
-
email?: string | undefined;
|
|
72
71
|
name?: string | undefined;
|
|
72
|
+
email?: string | undefined;
|
|
73
73
|
email_verified?: boolean | undefined;
|
|
74
74
|
picture?: string | undefined;
|
|
75
75
|
}, {
|
|
76
76
|
provider: string;
|
|
77
77
|
sub: string;
|
|
78
|
-
email?: string | undefined;
|
|
79
78
|
name?: string | undefined;
|
|
79
|
+
email?: string | undefined;
|
|
80
80
|
email_verified?: boolean | undefined;
|
|
81
81
|
picture?: string | undefined;
|
|
82
82
|
}>;
|
|
@@ -85,8 +85,8 @@ export declare const IdentityResolveRequestSchema: z.ZodObject<{
|
|
|
85
85
|
oauth_result: {
|
|
86
86
|
provider: string;
|
|
87
87
|
sub: string;
|
|
88
|
-
email?: string | undefined;
|
|
89
88
|
name?: string | undefined;
|
|
89
|
+
email?: string | undefined;
|
|
90
90
|
email_verified?: boolean | undefined;
|
|
91
91
|
picture?: string | undefined;
|
|
92
92
|
};
|
|
@@ -95,8 +95,8 @@ export declare const IdentityResolveRequestSchema: z.ZodObject<{
|
|
|
95
95
|
oauth_result: {
|
|
96
96
|
provider: string;
|
|
97
97
|
sub: string;
|
|
98
|
-
email?: string | undefined;
|
|
99
98
|
name?: string | undefined;
|
|
99
|
+
email?: string | undefined;
|
|
100
100
|
email_verified?: boolean | undefined;
|
|
101
101
|
picture?: string | undefined;
|
|
102
102
|
};
|
|
@@ -199,7 +199,6 @@ export declare const IdentityResolveErrorSchema: z.ZodObject<{
|
|
|
199
199
|
}[] | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
success: false;
|
|
203
202
|
error: {
|
|
204
203
|
code: string;
|
|
205
204
|
message: string;
|
|
@@ -208,8 +207,8 @@ export declare const IdentityResolveErrorSchema: z.ZodObject<{
|
|
|
208
207
|
message: string;
|
|
209
208
|
}[] | undefined;
|
|
210
209
|
};
|
|
211
|
-
}, {
|
|
212
210
|
success: false;
|
|
211
|
+
}, {
|
|
213
212
|
error: {
|
|
214
213
|
code: string;
|
|
215
214
|
message: string;
|
|
@@ -218,6 +217,7 @@ export declare const IdentityResolveErrorSchema: z.ZodObject<{
|
|
|
218
217
|
message: string;
|
|
219
218
|
}[] | undefined;
|
|
220
219
|
};
|
|
220
|
+
success: false;
|
|
221
221
|
}>;
|
|
222
222
|
export type IdentityResolveError = z.infer<typeof IdentityResolveErrorSchema>;
|
|
223
223
|
/**
|