@kya-os/contracts 1.6.3 → 1.6.4
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/endpoints.d.ts.map +1 -0
- package/dist/agentshield-api/endpoints.js.map +1 -0
- package/dist/agentshield-api/index.d.ts.map +1 -0
- package/dist/agentshield-api/index.js.map +1 -0
- package/dist/agentshield-api/schemas.d.ts +124 -124
- package/dist/agentshield-api/schemas.d.ts.map +1 -0
- package/dist/agentshield-api/schemas.js.map +1 -0
- package/dist/agentshield-api/types.d.ts.map +1 -0
- package/dist/agentshield-api/types.js.map +1 -0
- package/dist/audit/index.d.ts +24 -24
- package/dist/consent/schemas.d.ts +46 -46
- package/dist/dashboard-config/index.d.ts +2 -2
- package/dist/dashboard-config/index.js +4 -1
- package/dist/dashboard-config/schemas.d.ts +6595 -3160
- package/dist/dashboard-config/schemas.js +23 -1
- package/dist/dashboard-config/types.d.ts +28 -1
- package/dist/delegation/constraints.d.ts.map +1 -0
- package/dist/delegation/constraints.js.map +1 -0
- package/dist/delegation/index.d.ts.map +1 -0
- package/dist/delegation/index.js.map +1 -0
- package/dist/delegation/schemas.d.ts +34 -34
- package/dist/delegation/schemas.d.ts.map +1 -0
- package/dist/delegation/schemas.js.map +1 -0
- package/dist/did/index.d.ts.map +1 -0
- package/dist/did/index.js.map +1 -0
- package/dist/did/resolve-contract.d.ts.map +1 -0
- package/dist/did/resolve-contract.js.map +1 -0
- package/dist/did/schemas.d.ts.map +1 -0
- package/dist/did/schemas.js.map +1 -0
- package/dist/did/types.d.ts.map +1 -0
- package/dist/did/types.js.map +1 -0
- package/dist/env/constants.d.ts.map +1 -0
- package/dist/env/constants.js.map +1 -0
- package/dist/env/index.d.ts.map +1 -0
- package/dist/env/index.js.map +1 -0
- package/dist/handshake.d.ts +18 -18
- package/dist/identity/schemas.d.ts +10 -10
- package/dist/proof/index.d.ts.map +1 -0
- package/dist/proof/index.js.map +1 -0
- package/dist/proof/proof-record.d.ts +12 -12
- package/dist/proof/proof-record.d.ts.map +1 -0
- package/dist/proof/proof-record.js.map +1 -0
- package/dist/proof/signing-spec.d.ts +4 -4
- package/dist/proof/signing-spec.d.ts.map +1 -0
- package/dist/proof/signing-spec.js.map +1 -0
- package/dist/proof.d.ts +24 -24
- package/dist/runtime/errors.d.ts.map +1 -0
- package/dist/runtime/errors.js.map +1 -0
- package/dist/runtime/headers.d.ts.map +1 -0
- package/dist/runtime/headers.js.map +1 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/tlkrc/index.d.ts.map +1 -0
- package/dist/tlkrc/index.js.map +1 -0
- package/dist/tlkrc/rotation.d.ts.map +1 -0
- package/dist/tlkrc/rotation.js.map +1 -0
- package/dist/tool-protection/index.d.ts +16 -16
- package/dist/vc/index.d.ts.map +1 -0
- package/dist/vc/index.js.map +1 -0
- package/dist/vc/schemas.d.ts.map +1 -0
- package/dist/vc/schemas.js.map +1 -0
- package/dist/vc/statuslist.d.ts.map +1 -0
- package/dist/vc/statuslist.js.map +1 -0
- package/dist/verifier.d.ts +9 -9
- package/package.json +5 -1
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,16 +84,16 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
|
|
|
84
84
|
clientId: z.ZodOptional<z.ZodString>;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
name: string;
|
|
87
|
-
title?: string | undefined;
|
|
88
87
|
version?: string | undefined;
|
|
88
|
+
title?: string | undefined;
|
|
89
89
|
platform?: string | undefined;
|
|
90
90
|
vendor?: string | undefined;
|
|
91
91
|
persistentId?: string | undefined;
|
|
92
92
|
clientId?: string | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
name: string;
|
|
95
|
-
title?: string | undefined;
|
|
96
95
|
version?: string | undefined;
|
|
96
|
+
title?: string | undefined;
|
|
97
97
|
platform?: string | undefined;
|
|
98
98
|
vendor?: string | undefined;
|
|
99
99
|
persistentId?: string | undefined;
|
|
@@ -108,8 +108,8 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
|
|
|
108
108
|
agentDid?: string | undefined;
|
|
109
109
|
clientInfo?: {
|
|
110
110
|
name: string;
|
|
111
|
-
title?: string | undefined;
|
|
112
111
|
version?: string | undefined;
|
|
112
|
+
title?: string | undefined;
|
|
113
113
|
platform?: string | undefined;
|
|
114
114
|
vendor?: string | undefined;
|
|
115
115
|
persistentId?: string | undefined;
|
|
@@ -124,8 +124,8 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
|
|
|
124
124
|
agentDid?: string | undefined;
|
|
125
125
|
clientInfo?: {
|
|
126
126
|
name: string;
|
|
127
|
-
title?: string | undefined;
|
|
128
127
|
version?: string | undefined;
|
|
128
|
+
title?: string | undefined;
|
|
129
129
|
platform?: string | undefined;
|
|
130
130
|
vendor?: string | undefined;
|
|
131
131
|
persistentId?: string | 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
|
+
createdAt: number;
|
|
208
|
+
sessionId: string;
|
|
207
209
|
nonce: string;
|
|
208
210
|
audience: string;
|
|
209
211
|
timestamp: number;
|
|
210
|
-
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
|
+
createdAt: number;
|
|
238
|
+
sessionId: string;
|
|
237
239
|
nonce: string;
|
|
238
240
|
audience: string;
|
|
239
241
|
timestamp: number;
|
|
240
|
-
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,16 +30,16 @@ export declare const OAuthResultSchema: z.ZodObject<{
|
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
31
|
provider: string;
|
|
32
32
|
sub: string;
|
|
33
|
+
name?: string | undefined;
|
|
33
34
|
email?: string | undefined;
|
|
34
35
|
email_verified?: boolean | undefined;
|
|
35
|
-
name?: string | undefined;
|
|
36
36
|
picture?: string | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
provider: string;
|
|
39
39
|
sub: string;
|
|
40
|
+
name?: string | undefined;
|
|
40
41
|
email?: string | undefined;
|
|
41
42
|
email_verified?: boolean | undefined;
|
|
42
|
-
name?: string | undefined;
|
|
43
43
|
picture?: string | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
export type OAuthResult = z.infer<typeof OAuthResultSchema>;
|
|
@@ -68,16 +68,16 @@ export declare const IdentityResolveRequestSchema: z.ZodObject<{
|
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
provider: string;
|
|
70
70
|
sub: string;
|
|
71
|
+
name?: string | undefined;
|
|
71
72
|
email?: string | undefined;
|
|
72
73
|
email_verified?: boolean | undefined;
|
|
73
|
-
name?: string | undefined;
|
|
74
74
|
picture?: string | undefined;
|
|
75
75
|
}, {
|
|
76
76
|
provider: string;
|
|
77
77
|
sub: string;
|
|
78
|
+
name?: string | undefined;
|
|
78
79
|
email?: string | undefined;
|
|
79
80
|
email_verified?: boolean | undefined;
|
|
80
|
-
name?: string | undefined;
|
|
81
81
|
picture?: string | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -85,9 +85,9 @@ export declare const IdentityResolveRequestSchema: z.ZodObject<{
|
|
|
85
85
|
oauth_result: {
|
|
86
86
|
provider: string;
|
|
87
87
|
sub: string;
|
|
88
|
+
name?: string | undefined;
|
|
88
89
|
email?: string | undefined;
|
|
89
90
|
email_verified?: boolean | undefined;
|
|
90
|
-
name?: string | undefined;
|
|
91
91
|
picture?: string | undefined;
|
|
92
92
|
};
|
|
93
93
|
}, {
|
|
@@ -95,9 +95,9 @@ export declare const IdentityResolveRequestSchema: z.ZodObject<{
|
|
|
95
95
|
oauth_result: {
|
|
96
96
|
provider: string;
|
|
97
97
|
sub: string;
|
|
98
|
+
name?: string | undefined;
|
|
98
99
|
email?: string | undefined;
|
|
99
100
|
email_verified?: boolean | undefined;
|
|
100
|
-
name?: string | undefined;
|
|
101
101
|
picture?: string | undefined;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
@@ -133,11 +133,11 @@ export declare const IdentityResolveResponseSchema: z.ZodObject<{
|
|
|
133
133
|
requestId: z.ZodOptional<z.ZodString>;
|
|
134
134
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
requestId?: string | undefined;
|
|
137
136
|
timestamp?: string | undefined;
|
|
138
|
-
}, {
|
|
139
137
|
requestId?: string | undefined;
|
|
138
|
+
}, {
|
|
140
139
|
timestamp?: string | undefined;
|
|
140
|
+
requestId?: string | undefined;
|
|
141
141
|
}>>;
|
|
142
142
|
}, "strip", z.ZodTypeAny, {
|
|
143
143
|
success: true;
|
|
@@ -148,8 +148,8 @@ export declare const IdentityResolveResponseSchema: z.ZodObject<{
|
|
|
148
148
|
auto_linked: boolean;
|
|
149
149
|
};
|
|
150
150
|
metadata?: {
|
|
151
|
-
requestId?: string | undefined;
|
|
152
151
|
timestamp?: string | undefined;
|
|
152
|
+
requestId?: string | undefined;
|
|
153
153
|
} | undefined;
|
|
154
154
|
}, {
|
|
155
155
|
success: true;
|
|
@@ -160,8 +160,8 @@ export declare const IdentityResolveResponseSchema: z.ZodObject<{
|
|
|
160
160
|
auto_linked: boolean;
|
|
161
161
|
};
|
|
162
162
|
metadata?: {
|
|
163
|
-
requestId?: string | undefined;
|
|
164
163
|
timestamp?: string | undefined;
|
|
164
|
+
requestId?: string | undefined;
|
|
165
165
|
} | undefined;
|
|
166
166
|
}>;
|
|
167
167
|
export type IdentityResolveResponse = z.infer<typeof IdentityResolveResponseSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/proof/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/proof/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;AAEH,oDAAkC;AAClC,oDAAkC"}
|
|
@@ -86,10 +86,10 @@ export declare const ProofDetailsSchema: z.ZodObject<{
|
|
|
86
86
|
}>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
did: string;
|
|
89
|
+
sessionId: string;
|
|
89
90
|
nonce: string;
|
|
90
91
|
audience: string;
|
|
91
92
|
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;
|
|
107
108
|
nonce: string;
|
|
108
109
|
audience: string;
|
|
109
110
|
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;
|
|
233
234
|
nonce: string;
|
|
234
235
|
audience: string;
|
|
235
236
|
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;
|
|
251
252
|
nonce: string;
|
|
252
253
|
audience: string;
|
|
253
254
|
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;
|
|
358
359
|
nonce: string;
|
|
359
360
|
audience: string;
|
|
360
361
|
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;
|
|
376
377
|
nonce: string;
|
|
377
378
|
audience: string;
|
|
378
379
|
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;
|
|
483
484
|
nonce: string;
|
|
484
485
|
audience: string;
|
|
485
486
|
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;
|
|
501
502
|
nonce: string;
|
|
502
503
|
audience: string;
|
|
503
504
|
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;
|
|
619
620
|
nonce: string;
|
|
620
621
|
audience: string;
|
|
621
622
|
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;
|
|
637
638
|
nonce: string;
|
|
638
639
|
audience: string;
|
|
639
640
|
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;
|
|
744
745
|
nonce: string;
|
|
745
746
|
audience: string;
|
|
746
747
|
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;
|
|
762
763
|
nonce: string;
|
|
763
764
|
audience: string;
|
|
764
765
|
timestamp: number;
|
|
765
|
-
sessionId: string;
|
|
766
766
|
signature: string;
|
|
767
767
|
algorithm: "Ed25519" | "ES256";
|
|
768
768
|
request?: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proof-record.d.ts","sourceRoot":"","sources":["../../src/proof/proof-record.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;EAI1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG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AC,WAAW,EAAE,CAAC;AAIjB;;GAEG;AAEH;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,MAAe;IACjD,OAAO,yBAAiB,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC;AAED;;;;;GAKG;AACH,SAAgB,oBAAoB,CAAC,MAAmB;IACtD,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,SAAS,CAAC;AACvC,CAAC;AAED;;GAEG;AAEH;;GAEG;AACU,QAAA,2BAA2B,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -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;
|
|
31
32
|
nonce: string;
|
|
32
33
|
audience: string;
|
|
33
34
|
timestamp: number;
|
|
34
|
-
url: string;
|
|
35
35
|
method: string;
|
|
36
36
|
bodyHash?: string | undefined;
|
|
37
37
|
headersHash?: string | undefined;
|
|
38
38
|
}, {
|
|
39
|
+
url: string;
|
|
39
40
|
nonce: string;
|
|
40
41
|
audience: string;
|
|
41
42
|
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;
|
|
91
92
|
nonce: string;
|
|
92
93
|
audience: string;
|
|
93
94
|
timestamp: number;
|
|
94
|
-
url: string;
|
|
95
95
|
method: string;
|
|
96
96
|
bodyHash?: string | undefined;
|
|
97
97
|
headersHash?: string | undefined;
|
|
98
98
|
}, {
|
|
99
|
+
url: string;
|
|
99
100
|
nonce: string;
|
|
100
101
|
audience: string;
|
|
101
102
|
timestamp: number;
|
|
102
|
-
url: string;
|
|
103
103
|
method: string;
|
|
104
104
|
bodyHash?: string | undefined;
|
|
105
105
|
headersHash?: string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signing-spec.d.ts","sourceRoot":"","sources":["../../src/proof/signing-spec.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;IACtC,+BAA+B;;IAG/B,mBAAmB;;IAGnB,gDAAgD;;IAGhD,0EAA0E;;IAG1E,qBAAqB;;IAGrB,2CAA2C;;IAG3C,oCAAoC;;;;;;;;;;;;;;;;;;EAEpC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;IAC5B,mCAAmC;;IAGnC,0CAA0C;;IAG1C,kCAAkC;;;;;;;;;;EAElC,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,aAAa,yFAQf,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D;;GAEG;AAEH;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO;;;;;;;;;;;;;;;;GAE3D;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO;;;;;;;;GAE/C;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE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,CAAC;AAEhD;;GAEG;AACU,QAAA,iBAAiB,GAAG,kBAAkB,CAAC"}
|
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;
|
|
27
28
|
nonce: string;
|
|
28
29
|
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;
|
|
39
40
|
nonce: string;
|
|
40
41
|
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;
|
|
66
67
|
nonce: string;
|
|
67
68
|
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;
|
|
78
79
|
nonce: string;
|
|
79
80
|
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;
|
|
93
94
|
nonce: string;
|
|
94
95
|
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;
|
|
108
109
|
nonce: string;
|
|
109
110
|
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
|
-
scopeId: string;
|
|
182
181
|
tool: string;
|
|
182
|
+
scopeId: string;
|
|
183
183
|
args: Record<string, unknown>;
|
|
184
184
|
result?: unknown;
|
|
185
185
|
userId?: string | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
scopeId: string;
|
|
188
187
|
tool: string;
|
|
188
|
+
scopeId: 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
|
-
scopeId: string;
|
|
206
205
|
tool: string;
|
|
206
|
+
scopeId: string;
|
|
207
207
|
args: Record<string, unknown>;
|
|
208
208
|
result?: unknown;
|
|
209
209
|
userId?: string | undefined;
|
|
210
210
|
}, {
|
|
211
|
-
scopeId: string;
|
|
212
211
|
tool: string;
|
|
212
|
+
scopeId: 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
|
-
scopeId: string;
|
|
221
220
|
tool: string;
|
|
221
|
+
scopeId: 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
|
-
scopeId: string;
|
|
230
229
|
tool: string;
|
|
230
|
+
scopeId: 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;
|
|
260
261
|
nonce: string;
|
|
261
262
|
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;
|
|
272
273
|
nonce: string;
|
|
273
274
|
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;
|
|
287
288
|
nonce: string;
|
|
288
289
|
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;
|
|
302
303
|
nonce: string;
|
|
303
304
|
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
|
-
scopeId: string;
|
|
322
321
|
tool: string;
|
|
322
|
+
scopeId: string;
|
|
323
323
|
args: Record<string, unknown>;
|
|
324
324
|
result?: unknown;
|
|
325
325
|
userId?: string | undefined;
|
|
326
326
|
}, {
|
|
327
|
-
scopeId: string;
|
|
328
327
|
tool: string;
|
|
328
|
+
scopeId: 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
|
-
scopeId: string;
|
|
337
336
|
tool: string;
|
|
337
|
+
scopeId: 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
|
-
scopeId: string;
|
|
346
345
|
tool: string;
|
|
346
|
+
scopeId: 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;
|
|
360
361
|
nonce: string;
|
|
361
362
|
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
|
-
scopeId: string;
|
|
375
374
|
tool: string;
|
|
375
|
+
scopeId: 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;
|
|
389
390
|
nonce: string;
|
|
390
391
|
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
|
-
scopeId: string;
|
|
404
403
|
tool: string;
|
|
404
|
+
scopeId: string;
|
|
405
405
|
args: Record<string, unknown>;
|
|
406
406
|
result?: unknown;
|
|
407
407
|
userId?: string | undefined;
|