@kya-os/contracts 1.6.4 → 1.6.5
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 +124 -124
- package/dist/audit/index.d.ts +21 -21
- package/dist/config/identity.d.ts +477 -6
- package/dist/config/identity.js +68 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.js +6 -1
- package/dist/config/tool-context.d.ts +14 -2
- package/dist/consent/schemas.d.ts +46 -46
- package/dist/delegation/schemas.d.ts +34 -34
- package/dist/handshake.d.ts +18 -18
- package/dist/identity/schemas.d.ts +10 -10
- package/dist/proof/proof-record.d.ts +12 -12
- package/dist/proof/signing-spec.d.ts +4 -4
- package/dist/proof.d.ts +24 -24
- package/dist/tool-protection/index.d.ts +16 -16
- package/dist/verifier.d.ts +9 -9
- package/package.json +1 -1
- package/dist/agentshield-api/endpoints.d.ts.map +0 -1
- package/dist/agentshield-api/endpoints.js.map +0 -1
- package/dist/agentshield-api/index.d.ts.map +0 -1
- package/dist/agentshield-api/index.js.map +0 -1
- package/dist/agentshield-api/schemas.d.ts.map +0 -1
- package/dist/agentshield-api/schemas.js.map +0 -1
- package/dist/agentshield-api/types.d.ts.map +0 -1
- package/dist/agentshield-api/types.js.map +0 -1
- package/dist/delegation/constraints.d.ts.map +0 -1
- package/dist/delegation/constraints.js.map +0 -1
- package/dist/delegation/index.d.ts.map +0 -1
- package/dist/delegation/index.js.map +0 -1
- package/dist/delegation/schemas.d.ts.map +0 -1
- package/dist/delegation/schemas.js.map +0 -1
- package/dist/did/index.d.ts.map +0 -1
- package/dist/did/index.js.map +0 -1
- package/dist/did/resolve-contract.d.ts.map +0 -1
- package/dist/did/resolve-contract.js.map +0 -1
- package/dist/did/schemas.d.ts.map +0 -1
- package/dist/did/schemas.js.map +0 -1
- package/dist/did/types.d.ts.map +0 -1
- package/dist/did/types.js.map +0 -1
- package/dist/env/constants.d.ts.map +0 -1
- package/dist/env/constants.js.map +0 -1
- package/dist/env/index.d.ts.map +0 -1
- package/dist/env/index.js.map +0 -1
- package/dist/proof/index.d.ts.map +0 -1
- package/dist/proof/index.js.map +0 -1
- package/dist/proof/proof-record.d.ts.map +0 -1
- package/dist/proof/proof-record.js.map +0 -1
- package/dist/proof/signing-spec.d.ts.map +0 -1
- package/dist/proof/signing-spec.js.map +0 -1
- package/dist/runtime/errors.d.ts.map +0 -1
- package/dist/runtime/errors.js.map +0 -1
- package/dist/runtime/headers.d.ts.map +0 -1
- package/dist/runtime/headers.js.map +0 -1
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js.map +0 -1
- package/dist/tlkrc/index.d.ts.map +0 -1
- package/dist/tlkrc/index.js.map +0 -1
- package/dist/tlkrc/rotation.d.ts.map +0 -1
- package/dist/tlkrc/rotation.js.map +0 -1
- package/dist/vc/index.d.ts.map +0 -1
- package/dist/vc/index.js.map +0 -1
- package/dist/vc/schemas.d.ts.map +0 -1
- package/dist/vc/schemas.js.map +0 -1
- package/dist/vc/statuslist.d.ts.map +0 -1
- package/dist/vc/statuslist.js.map +0 -1
|
@@ -86,10 +86,10 @@ export declare const ProofDetailsSchema: z.ZodObject<{
|
|
|
86
86
|
}>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
did: string;
|
|
89
|
-
sessionId: string;
|
|
90
89
|
nonce: string;
|
|
91
90
|
audience: string;
|
|
92
91
|
timestamp: number;
|
|
92
|
+
sessionId: string;
|
|
93
93
|
signature: string;
|
|
94
94
|
algorithm: "Ed25519" | "ES256";
|
|
95
95
|
request?: {
|
|
@@ -104,10 +104,10 @@ export declare const ProofDetailsSchema: z.ZodObject<{
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
}, {
|
|
106
106
|
did: string;
|
|
107
|
-
sessionId: string;
|
|
108
107
|
nonce: string;
|
|
109
108
|
audience: string;
|
|
110
109
|
timestamp: number;
|
|
110
|
+
sessionId: string;
|
|
111
111
|
signature: string;
|
|
112
112
|
algorithm: "Ed25519" | "ES256";
|
|
113
113
|
request?: {
|
|
@@ -230,10 +230,10 @@ export declare const ProofRecordSchema: z.ZodObject<{
|
|
|
230
230
|
}>>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
did: string;
|
|
233
|
-
sessionId: string;
|
|
234
233
|
nonce: string;
|
|
235
234
|
audience: string;
|
|
236
235
|
timestamp: number;
|
|
236
|
+
sessionId: string;
|
|
237
237
|
signature: string;
|
|
238
238
|
algorithm: "Ed25519" | "ES256";
|
|
239
239
|
request?: {
|
|
@@ -248,10 +248,10 @@ export declare const ProofRecordSchema: z.ZodObject<{
|
|
|
248
248
|
} | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
did: string;
|
|
251
|
-
sessionId: string;
|
|
252
251
|
nonce: string;
|
|
253
252
|
audience: string;
|
|
254
253
|
timestamp: number;
|
|
254
|
+
sessionId: string;
|
|
255
255
|
signature: string;
|
|
256
256
|
algorithm: "Ed25519" | "ES256";
|
|
257
257
|
request?: {
|
|
@@ -355,10 +355,10 @@ export declare const ProofRecordSchema: z.ZodObject<{
|
|
|
355
355
|
}>>;
|
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
357
|
did: string;
|
|
358
|
-
sessionId: string;
|
|
359
358
|
nonce: string;
|
|
360
359
|
audience: string;
|
|
361
360
|
timestamp: number;
|
|
361
|
+
sessionId: string;
|
|
362
362
|
signature: string;
|
|
363
363
|
algorithm: "Ed25519" | "ES256";
|
|
364
364
|
request?: {
|
|
@@ -373,10 +373,10 @@ export declare const ProofRecordSchema: z.ZodObject<{
|
|
|
373
373
|
} | undefined;
|
|
374
374
|
}, {
|
|
375
375
|
did: string;
|
|
376
|
-
sessionId: string;
|
|
377
376
|
nonce: string;
|
|
378
377
|
audience: string;
|
|
379
378
|
timestamp: number;
|
|
379
|
+
sessionId: string;
|
|
380
380
|
signature: string;
|
|
381
381
|
algorithm: "Ed25519" | "ES256";
|
|
382
382
|
request?: {
|
|
@@ -480,10 +480,10 @@ export declare const ProofRecordSchema: z.ZodObject<{
|
|
|
480
480
|
}>>;
|
|
481
481
|
}, "strip", z.ZodTypeAny, {
|
|
482
482
|
did: string;
|
|
483
|
-
sessionId: string;
|
|
484
483
|
nonce: string;
|
|
485
484
|
audience: string;
|
|
486
485
|
timestamp: number;
|
|
486
|
+
sessionId: string;
|
|
487
487
|
signature: string;
|
|
488
488
|
algorithm: "Ed25519" | "ES256";
|
|
489
489
|
request?: {
|
|
@@ -498,10 +498,10 @@ export declare const ProofRecordSchema: z.ZodObject<{
|
|
|
498
498
|
} | undefined;
|
|
499
499
|
}, {
|
|
500
500
|
did: string;
|
|
501
|
-
sessionId: string;
|
|
502
501
|
nonce: string;
|
|
503
502
|
audience: string;
|
|
504
503
|
timestamp: number;
|
|
504
|
+
sessionId: string;
|
|
505
505
|
signature: string;
|
|
506
506
|
algorithm: "Ed25519" | "ES256";
|
|
507
507
|
request?: {
|
|
@@ -616,10 +616,10 @@ export declare function validateProofRecord(record: unknown): z.SafeParseReturnT
|
|
|
616
616
|
}>>;
|
|
617
617
|
}, "strip", z.ZodTypeAny, {
|
|
618
618
|
did: string;
|
|
619
|
-
sessionId: string;
|
|
620
619
|
nonce: string;
|
|
621
620
|
audience: string;
|
|
622
621
|
timestamp: number;
|
|
622
|
+
sessionId: string;
|
|
623
623
|
signature: string;
|
|
624
624
|
algorithm: "Ed25519" | "ES256";
|
|
625
625
|
request?: {
|
|
@@ -634,10 +634,10 @@ export declare function validateProofRecord(record: unknown): z.SafeParseReturnT
|
|
|
634
634
|
} | undefined;
|
|
635
635
|
}, {
|
|
636
636
|
did: string;
|
|
637
|
-
sessionId: string;
|
|
638
637
|
nonce: string;
|
|
639
638
|
audience: string;
|
|
640
639
|
timestamp: number;
|
|
640
|
+
sessionId: string;
|
|
641
641
|
signature: string;
|
|
642
642
|
algorithm: "Ed25519" | "ES256";
|
|
643
643
|
request?: {
|
|
@@ -741,10 +741,10 @@ export declare function validateProofRecord(record: unknown): z.SafeParseReturnT
|
|
|
741
741
|
}>>;
|
|
742
742
|
}, "strip", z.ZodTypeAny, {
|
|
743
743
|
did: string;
|
|
744
|
-
sessionId: string;
|
|
745
744
|
nonce: string;
|
|
746
745
|
audience: string;
|
|
747
746
|
timestamp: number;
|
|
747
|
+
sessionId: string;
|
|
748
748
|
signature: string;
|
|
749
749
|
algorithm: "Ed25519" | "ES256";
|
|
750
750
|
request?: {
|
|
@@ -759,10 +759,10 @@ export declare function validateProofRecord(record: unknown): z.SafeParseReturnT
|
|
|
759
759
|
} | undefined;
|
|
760
760
|
}, {
|
|
761
761
|
did: string;
|
|
762
|
-
sessionId: string;
|
|
763
762
|
nonce: string;
|
|
764
763
|
audience: string;
|
|
765
764
|
timestamp: number;
|
|
765
|
+
sessionId: string;
|
|
766
766
|
signature: string;
|
|
767
767
|
algorithm: "Ed25519" | "ES256";
|
|
768
768
|
request?: {
|
|
@@ -28,18 +28,18 @@ export declare const CanonicalRequestPartsSchema: z.ZodObject<{
|
|
|
28
28
|
/** Audience (e.g., 'mcp-client') */
|
|
29
29
|
audience: z.ZodString;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
url: string;
|
|
32
31
|
nonce: string;
|
|
33
32
|
audience: string;
|
|
34
33
|
timestamp: number;
|
|
34
|
+
url: string;
|
|
35
35
|
method: string;
|
|
36
36
|
bodyHash?: string | undefined;
|
|
37
37
|
headersHash?: string | undefined;
|
|
38
38
|
}, {
|
|
39
|
-
url: string;
|
|
40
39
|
nonce: string;
|
|
41
40
|
audience: string;
|
|
42
41
|
timestamp: number;
|
|
42
|
+
url: string;
|
|
43
43
|
method: string;
|
|
44
44
|
bodyHash?: string | undefined;
|
|
45
45
|
headersHash?: string | undefined;
|
|
@@ -88,18 +88,18 @@ export type SigningOrderField = (typeof SIGNING_ORDER)[number];
|
|
|
88
88
|
* @returns Validation result
|
|
89
89
|
*/
|
|
90
90
|
export declare function validateCanonicalRequestParts(parts: unknown): z.SafeParseReturnType<{
|
|
91
|
-
url: string;
|
|
92
91
|
nonce: string;
|
|
93
92
|
audience: string;
|
|
94
93
|
timestamp: number;
|
|
94
|
+
url: string;
|
|
95
95
|
method: string;
|
|
96
96
|
bodyHash?: string | undefined;
|
|
97
97
|
headersHash?: string | undefined;
|
|
98
98
|
}, {
|
|
99
|
-
url: string;
|
|
100
99
|
nonce: string;
|
|
101
100
|
audience: string;
|
|
102
101
|
timestamp: number;
|
|
102
|
+
url: string;
|
|
103
103
|
method: string;
|
|
104
104
|
bodyHash?: string | undefined;
|
|
105
105
|
headersHash?: string | undefined;
|
package/dist/proof.d.ts
CHANGED
|
@@ -24,9 +24,9 @@ export declare const ProofMetaSchema: z.ZodObject<{
|
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
did: string;
|
|
26
26
|
kid: string;
|
|
27
|
-
sessionId: string;
|
|
28
27
|
nonce: string;
|
|
29
28
|
audience: string;
|
|
29
|
+
sessionId: string;
|
|
30
30
|
ts: number;
|
|
31
31
|
requestHash: string;
|
|
32
32
|
responseHash: string;
|
|
@@ -36,9 +36,9 @@ export declare const ProofMetaSchema: z.ZodObject<{
|
|
|
36
36
|
}, {
|
|
37
37
|
did: string;
|
|
38
38
|
kid: string;
|
|
39
|
-
sessionId: string;
|
|
40
39
|
nonce: string;
|
|
41
40
|
audience: string;
|
|
41
|
+
sessionId: string;
|
|
42
42
|
ts: number;
|
|
43
43
|
requestHash: string;
|
|
44
44
|
responseHash: string;
|
|
@@ -63,9 +63,9 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
did: string;
|
|
65
65
|
kid: string;
|
|
66
|
-
sessionId: string;
|
|
67
66
|
nonce: string;
|
|
68
67
|
audience: string;
|
|
68
|
+
sessionId: string;
|
|
69
69
|
ts: number;
|
|
70
70
|
requestHash: string;
|
|
71
71
|
responseHash: string;
|
|
@@ -75,9 +75,9 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
75
75
|
}, {
|
|
76
76
|
did: string;
|
|
77
77
|
kid: string;
|
|
78
|
-
sessionId: string;
|
|
79
78
|
nonce: string;
|
|
80
79
|
audience: string;
|
|
80
|
+
sessionId: string;
|
|
81
81
|
ts: number;
|
|
82
82
|
requestHash: string;
|
|
83
83
|
responseHash: string;
|
|
@@ -90,9 +90,9 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
90
90
|
meta: {
|
|
91
91
|
did: string;
|
|
92
92
|
kid: string;
|
|
93
|
-
sessionId: string;
|
|
94
93
|
nonce: string;
|
|
95
94
|
audience: string;
|
|
95
|
+
sessionId: string;
|
|
96
96
|
ts: number;
|
|
97
97
|
requestHash: string;
|
|
98
98
|
responseHash: string;
|
|
@@ -105,9 +105,9 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
105
105
|
meta: {
|
|
106
106
|
did: string;
|
|
107
107
|
kid: string;
|
|
108
|
-
sessionId: string;
|
|
109
108
|
nonce: string;
|
|
110
109
|
audience: string;
|
|
110
|
+
sessionId: string;
|
|
111
111
|
ts: number;
|
|
112
112
|
requestHash: string;
|
|
113
113
|
responseHash: string;
|
|
@@ -178,14 +178,14 @@ export declare const ToolCallContextSchema: z.ZodObject<{
|
|
|
178
178
|
scopeId: z.ZodString;
|
|
179
179
|
userId: z.ZodOptional<z.ZodString>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
tool: string;
|
|
182
181
|
scopeId: string;
|
|
182
|
+
tool: string;
|
|
183
183
|
args: Record<string, unknown>;
|
|
184
184
|
result?: unknown;
|
|
185
185
|
userId?: string | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
tool: string;
|
|
188
187
|
scopeId: string;
|
|
188
|
+
tool: string;
|
|
189
189
|
args: Record<string, unknown>;
|
|
190
190
|
result?: unknown;
|
|
191
191
|
userId?: string | undefined;
|
|
@@ -202,14 +202,14 @@ export declare const ProofSubmissionContextSchema: z.ZodObject<{
|
|
|
202
202
|
scopeId: z.ZodString;
|
|
203
203
|
userId: z.ZodOptional<z.ZodString>;
|
|
204
204
|
}, "strip", z.ZodTypeAny, {
|
|
205
|
-
tool: string;
|
|
206
205
|
scopeId: string;
|
|
206
|
+
tool: string;
|
|
207
207
|
args: Record<string, unknown>;
|
|
208
208
|
result?: unknown;
|
|
209
209
|
userId?: string | undefined;
|
|
210
210
|
}, {
|
|
211
|
-
tool: string;
|
|
212
211
|
scopeId: string;
|
|
212
|
+
tool: string;
|
|
213
213
|
args: Record<string, unknown>;
|
|
214
214
|
result?: unknown;
|
|
215
215
|
userId?: string | undefined;
|
|
@@ -217,8 +217,8 @@ export declare const ProofSubmissionContextSchema: z.ZodObject<{
|
|
|
217
217
|
mcpServerUrl: z.ZodOptional<z.ZodString>;
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
219
|
toolCalls: {
|
|
220
|
-
tool: string;
|
|
221
220
|
scopeId: string;
|
|
221
|
+
tool: string;
|
|
222
222
|
args: Record<string, unknown>;
|
|
223
223
|
result?: unknown;
|
|
224
224
|
userId?: string | undefined;
|
|
@@ -226,8 +226,8 @@ export declare const ProofSubmissionContextSchema: z.ZodObject<{
|
|
|
226
226
|
mcpServerUrl?: string | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
toolCalls: {
|
|
229
|
-
tool: string;
|
|
230
229
|
scopeId: string;
|
|
230
|
+
tool: string;
|
|
231
231
|
args: Record<string, unknown>;
|
|
232
232
|
result?: unknown;
|
|
233
233
|
userId?: string | undefined;
|
|
@@ -257,9 +257,9 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
258
|
did: string;
|
|
259
259
|
kid: string;
|
|
260
|
-
sessionId: string;
|
|
261
260
|
nonce: string;
|
|
262
261
|
audience: string;
|
|
262
|
+
sessionId: string;
|
|
263
263
|
ts: number;
|
|
264
264
|
requestHash: string;
|
|
265
265
|
responseHash: string;
|
|
@@ -269,9 +269,9 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
269
269
|
}, {
|
|
270
270
|
did: string;
|
|
271
271
|
kid: string;
|
|
272
|
-
sessionId: string;
|
|
273
272
|
nonce: string;
|
|
274
273
|
audience: string;
|
|
274
|
+
sessionId: string;
|
|
275
275
|
ts: number;
|
|
276
276
|
requestHash: string;
|
|
277
277
|
responseHash: string;
|
|
@@ -284,9 +284,9 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
284
284
|
meta: {
|
|
285
285
|
did: string;
|
|
286
286
|
kid: string;
|
|
287
|
-
sessionId: string;
|
|
288
287
|
nonce: string;
|
|
289
288
|
audience: string;
|
|
289
|
+
sessionId: string;
|
|
290
290
|
ts: number;
|
|
291
291
|
requestHash: string;
|
|
292
292
|
responseHash: string;
|
|
@@ -299,9 +299,9 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
299
299
|
meta: {
|
|
300
300
|
did: string;
|
|
301
301
|
kid: string;
|
|
302
|
-
sessionId: string;
|
|
303
302
|
nonce: string;
|
|
304
303
|
audience: string;
|
|
304
|
+
sessionId: string;
|
|
305
305
|
ts: number;
|
|
306
306
|
requestHash: string;
|
|
307
307
|
responseHash: string;
|
|
@@ -318,14 +318,14 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
318
318
|
scopeId: z.ZodString;
|
|
319
319
|
userId: z.ZodOptional<z.ZodString>;
|
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
tool: string;
|
|
322
321
|
scopeId: string;
|
|
322
|
+
tool: string;
|
|
323
323
|
args: Record<string, unknown>;
|
|
324
324
|
result?: unknown;
|
|
325
325
|
userId?: string | undefined;
|
|
326
326
|
}, {
|
|
327
|
-
tool: string;
|
|
328
327
|
scopeId: string;
|
|
328
|
+
tool: string;
|
|
329
329
|
args: Record<string, unknown>;
|
|
330
330
|
result?: unknown;
|
|
331
331
|
userId?: string | undefined;
|
|
@@ -333,8 +333,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
333
333
|
mcpServerUrl: z.ZodOptional<z.ZodString>;
|
|
334
334
|
}, "strip", z.ZodTypeAny, {
|
|
335
335
|
toolCalls: {
|
|
336
|
-
tool: string;
|
|
337
336
|
scopeId: string;
|
|
337
|
+
tool: string;
|
|
338
338
|
args: Record<string, unknown>;
|
|
339
339
|
result?: unknown;
|
|
340
340
|
userId?: string | undefined;
|
|
@@ -342,8 +342,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
342
342
|
mcpServerUrl?: string | undefined;
|
|
343
343
|
}, {
|
|
344
344
|
toolCalls: {
|
|
345
|
-
tool: string;
|
|
346
345
|
scopeId: string;
|
|
346
|
+
tool: string;
|
|
347
347
|
args: Record<string, unknown>;
|
|
348
348
|
result?: unknown;
|
|
349
349
|
userId?: string | undefined;
|
|
@@ -357,9 +357,9 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
357
357
|
meta: {
|
|
358
358
|
did: string;
|
|
359
359
|
kid: string;
|
|
360
|
-
sessionId: string;
|
|
361
360
|
nonce: string;
|
|
362
361
|
audience: string;
|
|
362
|
+
sessionId: string;
|
|
363
363
|
ts: number;
|
|
364
364
|
requestHash: string;
|
|
365
365
|
responseHash: string;
|
|
@@ -371,8 +371,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
371
371
|
delegation_id?: string | null | undefined;
|
|
372
372
|
context?: {
|
|
373
373
|
toolCalls: {
|
|
374
|
-
tool: string;
|
|
375
374
|
scopeId: string;
|
|
375
|
+
tool: string;
|
|
376
376
|
args: Record<string, unknown>;
|
|
377
377
|
result?: unknown;
|
|
378
378
|
userId?: string | undefined;
|
|
@@ -386,9 +386,9 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
386
386
|
meta: {
|
|
387
387
|
did: string;
|
|
388
388
|
kid: string;
|
|
389
|
-
sessionId: string;
|
|
390
389
|
nonce: string;
|
|
391
390
|
audience: string;
|
|
391
|
+
sessionId: string;
|
|
392
392
|
ts: number;
|
|
393
393
|
requestHash: string;
|
|
394
394
|
responseHash: string;
|
|
@@ -400,8 +400,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
400
400
|
delegation_id?: string | null | undefined;
|
|
401
401
|
context?: {
|
|
402
402
|
toolCalls: {
|
|
403
|
-
tool: string;
|
|
404
403
|
scopeId: string;
|
|
404
|
+
tool: string;
|
|
405
405
|
args: Record<string, unknown>;
|
|
406
406
|
result?: unknown;
|
|
407
407
|
userId?: string | undefined;
|
|
@@ -282,6 +282,8 @@ export declare const ToolProtectionSchema: z.ZodObject<{
|
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
requiresDelegation: boolean;
|
|
284
284
|
requiredScopes: string[];
|
|
285
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
286
|
+
oauthProvider?: string | undefined;
|
|
285
287
|
authorization?: {
|
|
286
288
|
type: "oauth";
|
|
287
289
|
provider: string;
|
|
@@ -301,11 +303,11 @@ export declare const ToolProtectionSchema: z.ZodObject<{
|
|
|
301
303
|
} | {
|
|
302
304
|
type: "none";
|
|
303
305
|
} | undefined;
|
|
304
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
305
|
-
oauthProvider?: string | undefined;
|
|
306
306
|
}, {
|
|
307
307
|
requiresDelegation: boolean;
|
|
308
308
|
requiredScopes: string[];
|
|
309
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
310
|
+
oauthProvider?: string | undefined;
|
|
309
311
|
authorization?: {
|
|
310
312
|
type: "oauth";
|
|
311
313
|
provider: string;
|
|
@@ -325,8 +327,6 @@ export declare const ToolProtectionSchema: z.ZodObject<{
|
|
|
325
327
|
} | {
|
|
326
328
|
type: "none";
|
|
327
329
|
} | undefined;
|
|
328
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
329
|
-
oauthProvider?: string | undefined;
|
|
330
330
|
}>;
|
|
331
331
|
export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
332
332
|
requiresDelegation: z.ZodBoolean;
|
|
@@ -391,6 +391,8 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
392
392
|
requiresDelegation: boolean;
|
|
393
393
|
requiredScopes: string[];
|
|
394
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
395
|
+
oauthProvider?: string | undefined;
|
|
394
396
|
authorization?: {
|
|
395
397
|
type: "oauth";
|
|
396
398
|
provider: string;
|
|
@@ -410,11 +412,11 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
410
412
|
} | {
|
|
411
413
|
type: "none";
|
|
412
414
|
} | undefined;
|
|
413
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
414
|
-
oauthProvider?: string | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
requiresDelegation: boolean;
|
|
417
417
|
requiredScopes: string[];
|
|
418
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
419
|
+
oauthProvider?: string | undefined;
|
|
418
420
|
authorization?: {
|
|
419
421
|
type: "oauth";
|
|
420
422
|
provider: string;
|
|
@@ -434,8 +436,6 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
434
436
|
} | {
|
|
435
437
|
type: "none";
|
|
436
438
|
} | undefined;
|
|
437
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
438
|
-
oauthProvider?: string | undefined;
|
|
439
439
|
}>>;
|
|
440
440
|
export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
441
441
|
toolProtections: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -501,6 +501,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
501
501
|
}, "strip", z.ZodTypeAny, {
|
|
502
502
|
requiresDelegation: boolean;
|
|
503
503
|
requiredScopes: string[];
|
|
504
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
505
|
+
oauthProvider?: string | undefined;
|
|
504
506
|
authorization?: {
|
|
505
507
|
type: "oauth";
|
|
506
508
|
provider: string;
|
|
@@ -520,11 +522,11 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
520
522
|
} | {
|
|
521
523
|
type: "none";
|
|
522
524
|
} | undefined;
|
|
523
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
524
|
-
oauthProvider?: string | undefined;
|
|
525
525
|
}, {
|
|
526
526
|
requiresDelegation: boolean;
|
|
527
527
|
requiredScopes: string[];
|
|
528
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
529
|
+
oauthProvider?: string | undefined;
|
|
528
530
|
authorization?: {
|
|
529
531
|
type: "oauth";
|
|
530
532
|
provider: string;
|
|
@@ -544,8 +546,6 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
544
546
|
} | {
|
|
545
547
|
type: "none";
|
|
546
548
|
} | undefined;
|
|
547
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
548
|
-
oauthProvider?: string | undefined;
|
|
549
549
|
}>>;
|
|
550
550
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
551
551
|
lastUpdated: z.ZodOptional<z.ZodString>;
|
|
@@ -564,6 +564,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
564
564
|
toolProtections: Record<string, {
|
|
565
565
|
requiresDelegation: boolean;
|
|
566
566
|
requiredScopes: string[];
|
|
567
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
568
|
+
oauthProvider?: string | undefined;
|
|
567
569
|
authorization?: {
|
|
568
570
|
type: "oauth";
|
|
569
571
|
provider: string;
|
|
@@ -583,8 +585,6 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
583
585
|
} | {
|
|
584
586
|
type: "none";
|
|
585
587
|
} | undefined;
|
|
586
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
587
|
-
oauthProvider?: string | undefined;
|
|
588
588
|
}>;
|
|
589
589
|
metadata?: {
|
|
590
590
|
version?: string | undefined;
|
|
@@ -595,6 +595,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
595
595
|
toolProtections: Record<string, {
|
|
596
596
|
requiresDelegation: boolean;
|
|
597
597
|
requiredScopes: string[];
|
|
598
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
599
|
+
oauthProvider?: string | undefined;
|
|
598
600
|
authorization?: {
|
|
599
601
|
type: "oauth";
|
|
600
602
|
provider: string;
|
|
@@ -614,8 +616,6 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
614
616
|
} | {
|
|
615
617
|
type: "none";
|
|
616
618
|
} | undefined;
|
|
617
|
-
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
618
|
-
oauthProvider?: string | undefined;
|
|
619
619
|
}>;
|
|
620
620
|
metadata?: {
|
|
621
621
|
version?: string | undefined;
|
package/dist/verifier.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ export declare const AgentContextSchema: z.ZodObject<{
|
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
did: string;
|
|
17
17
|
kid: string;
|
|
18
|
-
scopes: string[];
|
|
19
18
|
session: string;
|
|
19
|
+
scopes: string[];
|
|
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;
|
|
@@ -29,9 +29,9 @@ export declare const AgentContextSchema: z.ZodObject<{
|
|
|
29
29
|
confidence: "verified";
|
|
30
30
|
registry: string;
|
|
31
31
|
verifiedAt: number;
|
|
32
|
+
delegationRef?: string | undefined;
|
|
32
33
|
subject?: string | undefined;
|
|
33
34
|
scopes?: string[] | undefined;
|
|
34
|
-
delegationRef?: string | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export declare const VerifierResultSchema: z.ZodObject<{
|
|
37
37
|
success: z.ZodBoolean;
|
|
@@ -49,13 +49,13 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
50
|
did: string;
|
|
51
51
|
kid: string;
|
|
52
|
-
scopes: string[];
|
|
53
52
|
session: string;
|
|
53
|
+
scopes: string[];
|
|
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;
|
|
@@ -63,9 +63,9 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
63
63
|
confidence: "verified";
|
|
64
64
|
registry: string;
|
|
65
65
|
verifiedAt: number;
|
|
66
|
+
delegationRef?: string | undefined;
|
|
66
67
|
subject?: string | undefined;
|
|
67
68
|
scopes?: string[] | undefined;
|
|
68
|
-
delegationRef?: string | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
error: z.ZodOptional<z.ZodObject<{
|
|
71
71
|
code: z.ZodString;
|
|
@@ -95,13 +95,13 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
95
95
|
agentContext?: {
|
|
96
96
|
did: string;
|
|
97
97
|
kid: string;
|
|
98
|
-
scopes: string[];
|
|
99
98
|
session: string;
|
|
99
|
+
scopes: string[];
|
|
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;
|
|
@@ -119,9 +119,9 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
119
119
|
confidence: "verified";
|
|
120
120
|
registry: string;
|
|
121
121
|
verifiedAt: number;
|
|
122
|
+
delegationRef?: string | undefined;
|
|
122
123
|
subject?: string | undefined;
|
|
123
124
|
scopes?: string[] | undefined;
|
|
124
|
-
delegationRef?: string | undefined;
|
|
125
125
|
} | undefined;
|
|
126
126
|
}>;
|
|
127
127
|
export declare const StructuredErrorSchema: z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/agentshield-api/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAG,iBAA0B,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;IAChC,6BAA6B;;IAG7B,gDAAgD;;IAGhD,2BAA2B;mCACL,MAAM;IAE5B,4BAA4B;;IAG5B,wBAAwB;sCACC,MAAM;IAE/B,wCAAwC;iCACpB,MAAM;CAClB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;CAOtB,CAAC;AAEX;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,kBAAkB,CAAC;IACnC,eAAe,EAAE,UAAU,MAAM,EAAE,CAAC;CACrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../src/agentshield-api/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH;;GAEG;AACU,QAAA,oBAAoB,GAAG,iBAA0B,CAAC;AAE/D;;;;;GAKG;AACU,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AyB,EACzB,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,0BAA0B,EAC1B,kCAAkC,EAClC,qCAAqC,EACrC,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,GAClC,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agentshield-api/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAsBH,uCAAiD;AAAxC,+GAAA,mBAAmB,OAAA;AAG5B,iBAAiB;AACjB,2CAkBsB;AAjBpB,uHAAA,yBAAyB,OAAA;AACzB,0HAAA,4BAA4B,OAAA;AAC5B,0HAAA,4BAA4B,OAAA;AAC5B,2HAAA,6BAA6B,OAAA;AAC7B,wHAAA,0BAA0B,OAAA;AAC1B,2HAAA,6BAA6B,OAAA;AAC7B,4HAAA,8BAA8B,OAAA;AAC9B,+HAAA,iCAAiC,OAAA;AACjC,wHAAA,0BAA0B,OAAA;AAC1B,gIAAA,kCAAkC,OAAA;AAClC,mIAAA,qCAAqC,OAAA;AACrC,2HAAA,6BAA6B,OAAA;AAC7B,4HAAA,8BAA8B,OAAA;AAC9B,+HAAA,iCAAiC,OAAA;AACjC,2HAAA,6BAA6B,OAAA;AAC7B,4HAAA,8BAA8B,OAAA;AAC9B,+HAAA,iCAAiC,OAAA;AAGnC,mBAAmB;AACnB,+CAIwB;AAHtB,oHAAA,oBAAoB,OAAA;AACpB,qHAAA,qBAAqB,OAAA;AACrB,mHAAA,mBAAmB,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources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