@kya-os/contracts 1.7.10 → 1.7.12
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.
|
@@ -33,11 +33,11 @@ export declare const agentShieldAPIResponseSchema: <T extends z.ZodTypeAny>(data
|
|
|
33
33
|
requestId: z.ZodString;
|
|
34
34
|
timestamp: z.ZodString;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
timestamp: string;
|
|
37
36
|
requestId: string;
|
|
38
|
-
}, {
|
|
39
37
|
timestamp: string;
|
|
38
|
+
}, {
|
|
40
39
|
requestId: string;
|
|
40
|
+
timestamp: string;
|
|
41
41
|
}>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
43
43
|
success: z.ZodBoolean;
|
|
@@ -46,11 +46,11 @@ export declare const agentShieldAPIResponseSchema: <T extends z.ZodTypeAny>(data
|
|
|
46
46
|
requestId: z.ZodString;
|
|
47
47
|
timestamp: z.ZodString;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
timestamp: string;
|
|
50
49
|
requestId: string;
|
|
51
|
-
}, {
|
|
52
50
|
timestamp: string;
|
|
51
|
+
}, {
|
|
53
52
|
requestId: string;
|
|
53
|
+
timestamp: string;
|
|
54
54
|
}>>;
|
|
55
55
|
}>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<{
|
|
56
56
|
success: z.ZodBoolean;
|
|
@@ -59,11 +59,11 @@ export declare const agentShieldAPIResponseSchema: <T extends z.ZodTypeAny>(data
|
|
|
59
59
|
requestId: z.ZodString;
|
|
60
60
|
timestamp: z.ZodString;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
timestamp: string;
|
|
63
62
|
requestId: string;
|
|
64
|
-
}, {
|
|
65
63
|
timestamp: string;
|
|
64
|
+
}, {
|
|
66
65
|
requestId: string;
|
|
66
|
+
timestamp: string;
|
|
67
67
|
}>>;
|
|
68
68
|
}> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
|
|
69
69
|
/**
|
|
@@ -89,57 +89,57 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
did: string;
|
|
91
91
|
kid: string;
|
|
92
|
+
ts: number;
|
|
92
93
|
nonce: string;
|
|
93
94
|
audience: string;
|
|
94
95
|
sessionId: string;
|
|
95
|
-
ts: number;
|
|
96
96
|
requestHash: string;
|
|
97
97
|
responseHash: string;
|
|
98
|
-
clientDid?: string | undefined;
|
|
99
98
|
scopeId?: string | undefined;
|
|
100
99
|
delegationRef?: string | undefined;
|
|
100
|
+
clientDid?: string | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
did: string;
|
|
103
103
|
kid: string;
|
|
104
|
+
ts: number;
|
|
104
105
|
nonce: string;
|
|
105
106
|
audience: string;
|
|
106
107
|
sessionId: string;
|
|
107
|
-
ts: number;
|
|
108
108
|
requestHash: string;
|
|
109
109
|
responseHash: string;
|
|
110
|
-
clientDid?: string | undefined;
|
|
111
110
|
scopeId?: string | undefined;
|
|
112
111
|
delegationRef?: string | undefined;
|
|
112
|
+
clientDid?: string | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
jws: string;
|
|
116
116
|
meta: {
|
|
117
117
|
did: string;
|
|
118
118
|
kid: string;
|
|
119
|
+
ts: number;
|
|
119
120
|
nonce: string;
|
|
120
121
|
audience: string;
|
|
121
122
|
sessionId: string;
|
|
122
|
-
ts: number;
|
|
123
123
|
requestHash: string;
|
|
124
124
|
responseHash: string;
|
|
125
|
-
clientDid?: string | undefined;
|
|
126
125
|
scopeId?: string | undefined;
|
|
127
126
|
delegationRef?: string | undefined;
|
|
127
|
+
clientDid?: string | undefined;
|
|
128
128
|
};
|
|
129
129
|
}, {
|
|
130
130
|
jws: string;
|
|
131
131
|
meta: {
|
|
132
132
|
did: string;
|
|
133
133
|
kid: string;
|
|
134
|
+
ts: number;
|
|
134
135
|
nonce: string;
|
|
135
136
|
audience: string;
|
|
136
137
|
sessionId: string;
|
|
137
|
-
ts: number;
|
|
138
138
|
requestHash: string;
|
|
139
139
|
responseHash: string;
|
|
140
|
-
clientDid?: string | undefined;
|
|
141
140
|
scopeId?: string | undefined;
|
|
142
141
|
delegationRef?: string | undefined;
|
|
142
|
+
clientDid?: string | undefined;
|
|
143
143
|
};
|
|
144
144
|
}>, "many">;
|
|
145
145
|
context: z.ZodOptional<z.ZodObject<{
|
|
@@ -163,7 +163,7 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
163
163
|
userIdentifier?: string | undefined;
|
|
164
164
|
}>, "many">>;
|
|
165
165
|
consentEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
|
-
eventType: z.ZodEnum<["consent:page_viewed", "consent:approved", "consent:delegation_created", "consent:credential_required"]>;
|
|
166
|
+
eventType: z.ZodEnum<["consent:page_viewed", "consent:approved", "consent:delegation_created", "consent:credential_required", "auth:credential_success", "auth:credential_failed", "auth:oauth_success", "auth:oauth_failed"]>;
|
|
167
167
|
timestamp: z.ZodNumber;
|
|
168
168
|
sessionId: z.ZodString;
|
|
169
169
|
userDid: z.ZodOptional<z.ZodString>;
|
|
@@ -185,37 +185,37 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
185
185
|
identifier: string;
|
|
186
186
|
}>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
sessionId: string;
|
|
188
189
|
scopes: string[];
|
|
189
190
|
timestamp: number;
|
|
191
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
190
192
|
agentDid: string;
|
|
191
|
-
sessionId: string;
|
|
192
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
193
193
|
targetTools: string[];
|
|
194
194
|
projectId: string;
|
|
195
195
|
userDid?: string | undefined;
|
|
196
|
+
delegationId?: string | undefined;
|
|
197
|
+
termsAccepted?: boolean | undefined;
|
|
198
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
196
199
|
oauthIdentity?: {
|
|
197
200
|
provider: string;
|
|
198
201
|
identifier: string;
|
|
199
202
|
} | undefined;
|
|
200
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
201
|
-
delegationId?: string | undefined;
|
|
202
|
-
termsAccepted?: boolean | undefined;
|
|
203
203
|
}, {
|
|
204
|
+
sessionId: string;
|
|
204
205
|
scopes: string[];
|
|
205
206
|
timestamp: number;
|
|
207
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
206
208
|
agentDid: string;
|
|
207
|
-
sessionId: string;
|
|
208
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
209
209
|
targetTools: string[];
|
|
210
210
|
projectId: string;
|
|
211
211
|
userDid?: string | undefined;
|
|
212
|
+
delegationId?: string | undefined;
|
|
213
|
+
termsAccepted?: boolean | undefined;
|
|
214
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
212
215
|
oauthIdentity?: {
|
|
213
216
|
provider: string;
|
|
214
217
|
identifier: string;
|
|
215
218
|
} | undefined;
|
|
216
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
217
|
-
delegationId?: string | undefined;
|
|
218
|
-
termsAccepted?: boolean | undefined;
|
|
219
219
|
}>, "many">>;
|
|
220
220
|
mcpServerUrl: z.ZodOptional<z.ZodString>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -226,24 +226,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
226
226
|
result?: unknown;
|
|
227
227
|
userIdentifier?: string | undefined;
|
|
228
228
|
}[] | undefined;
|
|
229
|
-
mcpServerUrl?: string | undefined;
|
|
230
229
|
consentEvents?: {
|
|
230
|
+
sessionId: string;
|
|
231
231
|
scopes: string[];
|
|
232
232
|
timestamp: number;
|
|
233
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
233
234
|
agentDid: string;
|
|
234
|
-
sessionId: string;
|
|
235
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
236
235
|
targetTools: string[];
|
|
237
236
|
projectId: string;
|
|
238
237
|
userDid?: string | undefined;
|
|
238
|
+
delegationId?: string | undefined;
|
|
239
|
+
termsAccepted?: boolean | undefined;
|
|
240
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
239
241
|
oauthIdentity?: {
|
|
240
242
|
provider: string;
|
|
241
243
|
identifier: string;
|
|
242
244
|
} | undefined;
|
|
243
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
244
|
-
delegationId?: string | undefined;
|
|
245
|
-
termsAccepted?: boolean | undefined;
|
|
246
245
|
}[] | undefined;
|
|
246
|
+
mcpServerUrl?: string | undefined;
|
|
247
247
|
}, {
|
|
248
248
|
toolCalls?: {
|
|
249
249
|
scopeId: string;
|
|
@@ -252,24 +252,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
252
252
|
result?: unknown;
|
|
253
253
|
userIdentifier?: string | undefined;
|
|
254
254
|
}[] | undefined;
|
|
255
|
-
mcpServerUrl?: string | undefined;
|
|
256
255
|
consentEvents?: {
|
|
256
|
+
sessionId: string;
|
|
257
257
|
scopes: string[];
|
|
258
258
|
timestamp: number;
|
|
259
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
259
260
|
agentDid: string;
|
|
260
|
-
sessionId: string;
|
|
261
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
262
261
|
targetTools: string[];
|
|
263
262
|
projectId: string;
|
|
264
263
|
userDid?: string | undefined;
|
|
264
|
+
delegationId?: string | undefined;
|
|
265
|
+
termsAccepted?: boolean | undefined;
|
|
266
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
265
267
|
oauthIdentity?: {
|
|
266
268
|
provider: string;
|
|
267
269
|
identifier: string;
|
|
268
270
|
} | undefined;
|
|
269
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
270
|
-
delegationId?: string | undefined;
|
|
271
|
-
termsAccepted?: boolean | undefined;
|
|
272
271
|
}[] | undefined;
|
|
272
|
+
mcpServerUrl?: string | undefined;
|
|
273
273
|
}>>;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
275
|
session_id: string;
|
|
@@ -278,15 +278,15 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
278
278
|
meta: {
|
|
279
279
|
did: string;
|
|
280
280
|
kid: string;
|
|
281
|
+
ts: number;
|
|
281
282
|
nonce: string;
|
|
282
283
|
audience: string;
|
|
283
284
|
sessionId: string;
|
|
284
|
-
ts: number;
|
|
285
285
|
requestHash: string;
|
|
286
286
|
responseHash: string;
|
|
287
|
-
clientDid?: string | undefined;
|
|
288
287
|
scopeId?: string | undefined;
|
|
289
288
|
delegationRef?: string | undefined;
|
|
289
|
+
clientDid?: string | undefined;
|
|
290
290
|
};
|
|
291
291
|
}[];
|
|
292
292
|
delegation_id?: string | null | undefined;
|
|
@@ -298,24 +298,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
298
298
|
result?: unknown;
|
|
299
299
|
userIdentifier?: string | undefined;
|
|
300
300
|
}[] | undefined;
|
|
301
|
-
mcpServerUrl?: string | undefined;
|
|
302
301
|
consentEvents?: {
|
|
302
|
+
sessionId: string;
|
|
303
303
|
scopes: string[];
|
|
304
304
|
timestamp: number;
|
|
305
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
305
306
|
agentDid: string;
|
|
306
|
-
sessionId: string;
|
|
307
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
308
307
|
targetTools: string[];
|
|
309
308
|
projectId: string;
|
|
310
309
|
userDid?: string | undefined;
|
|
310
|
+
delegationId?: string | undefined;
|
|
311
|
+
termsAccepted?: boolean | undefined;
|
|
312
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
311
313
|
oauthIdentity?: {
|
|
312
314
|
provider: string;
|
|
313
315
|
identifier: string;
|
|
314
316
|
} | undefined;
|
|
315
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
316
|
-
delegationId?: string | undefined;
|
|
317
|
-
termsAccepted?: boolean | undefined;
|
|
318
317
|
}[] | undefined;
|
|
318
|
+
mcpServerUrl?: string | undefined;
|
|
319
319
|
} | undefined;
|
|
320
320
|
}, {
|
|
321
321
|
session_id: string;
|
|
@@ -324,15 +324,15 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
324
324
|
meta: {
|
|
325
325
|
did: string;
|
|
326
326
|
kid: string;
|
|
327
|
+
ts: number;
|
|
327
328
|
nonce: string;
|
|
328
329
|
audience: string;
|
|
329
330
|
sessionId: string;
|
|
330
|
-
ts: number;
|
|
331
331
|
requestHash: string;
|
|
332
332
|
responseHash: string;
|
|
333
|
-
clientDid?: string | undefined;
|
|
334
333
|
scopeId?: string | undefined;
|
|
335
334
|
delegationRef?: string | undefined;
|
|
335
|
+
clientDid?: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}[];
|
|
338
338
|
delegation_id?: string | null | undefined;
|
|
@@ -344,24 +344,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
344
344
|
result?: unknown;
|
|
345
345
|
userIdentifier?: string | undefined;
|
|
346
346
|
}[] | undefined;
|
|
347
|
-
mcpServerUrl?: string | undefined;
|
|
348
347
|
consentEvents?: {
|
|
348
|
+
sessionId: string;
|
|
349
349
|
scopes: string[];
|
|
350
350
|
timestamp: number;
|
|
351
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
351
352
|
agentDid: string;
|
|
352
|
-
sessionId: string;
|
|
353
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
354
353
|
targetTools: string[];
|
|
355
354
|
projectId: string;
|
|
356
355
|
userDid?: string | undefined;
|
|
356
|
+
delegationId?: string | undefined;
|
|
357
|
+
termsAccepted?: boolean | undefined;
|
|
358
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
357
359
|
oauthIdentity?: {
|
|
358
360
|
provider: string;
|
|
359
361
|
identifier: string;
|
|
360
362
|
} | undefined;
|
|
361
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
362
|
-
delegationId?: string | undefined;
|
|
363
|
-
termsAccepted?: boolean | undefined;
|
|
364
363
|
}[] | undefined;
|
|
364
|
+
mcpServerUrl?: string | undefined;
|
|
365
365
|
} | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
/**
|
|
@@ -406,6 +406,7 @@ export declare const proofSubmissionResponseSchema: z.ZodObject<{
|
|
|
406
406
|
success: boolean;
|
|
407
407
|
accepted: number;
|
|
408
408
|
rejected: number;
|
|
409
|
+
outcomes?: Record<string, number> | undefined;
|
|
409
410
|
errors?: {
|
|
410
411
|
error: {
|
|
411
412
|
code: string;
|
|
@@ -414,11 +415,11 @@ export declare const proofSubmissionResponseSchema: z.ZodObject<{
|
|
|
414
415
|
};
|
|
415
416
|
proof_index: number;
|
|
416
417
|
}[] | undefined;
|
|
417
|
-
outcomes?: Record<string, number> | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
success: boolean;
|
|
420
420
|
accepted: number;
|
|
421
421
|
rejected: number;
|
|
422
|
+
outcomes?: Record<string, number> | undefined;
|
|
422
423
|
errors?: {
|
|
423
424
|
error: {
|
|
424
425
|
code: string;
|
|
@@ -427,7 +428,6 @@ export declare const proofSubmissionResponseSchema: z.ZodObject<{
|
|
|
427
428
|
};
|
|
428
429
|
proof_index: number;
|
|
429
430
|
}[] | undefined;
|
|
430
|
-
outcomes?: Record<string, number> | undefined;
|
|
431
431
|
}>;
|
|
432
432
|
/**
|
|
433
433
|
* Delegation credential schema
|
|
@@ -447,11 +447,11 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
447
447
|
provider: z.ZodOptional<z.ZodString>;
|
|
448
448
|
credentialType: z.ZodOptional<z.ZodString>;
|
|
449
449
|
}, "strip", z.ZodTypeAny, {
|
|
450
|
-
type: "
|
|
450
|
+
type: "oauth" | "credential" | "none";
|
|
451
451
|
provider?: string | undefined;
|
|
452
452
|
credentialType?: string | undefined;
|
|
453
453
|
}, {
|
|
454
|
-
type: "
|
|
454
|
+
type: "oauth" | "credential" | "none";
|
|
455
455
|
provider?: string | undefined;
|
|
456
456
|
credentialType?: string | undefined;
|
|
457
457
|
}>;
|
|
@@ -462,7 +462,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
462
462
|
issued_at: number;
|
|
463
463
|
created_at: number;
|
|
464
464
|
authorization: {
|
|
465
|
-
type: "
|
|
465
|
+
type: "oauth" | "credential" | "none";
|
|
466
466
|
provider?: string | undefined;
|
|
467
467
|
credentialType?: string | undefined;
|
|
468
468
|
};
|
|
@@ -477,7 +477,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
477
477
|
issued_at: number;
|
|
478
478
|
created_at: number;
|
|
479
479
|
authorization: {
|
|
480
|
-
type: "
|
|
480
|
+
type: "oauth" | "credential" | "none";
|
|
481
481
|
provider?: string | undefined;
|
|
482
482
|
credentialType?: string | undefined;
|
|
483
483
|
};
|
|
@@ -1786,11 +1786,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1786
1786
|
provider: z.ZodOptional<z.ZodString>;
|
|
1787
1787
|
credentialType: z.ZodOptional<z.ZodString>;
|
|
1788
1788
|
}, "strip", z.ZodTypeAny, {
|
|
1789
|
-
type: "
|
|
1789
|
+
type: "oauth" | "credential" | "none";
|
|
1790
1790
|
provider?: string | undefined;
|
|
1791
1791
|
credentialType?: string | undefined;
|
|
1792
1792
|
}, {
|
|
1793
|
-
type: "
|
|
1793
|
+
type: "oauth" | "credential" | "none";
|
|
1794
1794
|
provider?: string | undefined;
|
|
1795
1795
|
credentialType?: string | undefined;
|
|
1796
1796
|
}>;
|
|
@@ -1801,7 +1801,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1801
1801
|
issued_at: number;
|
|
1802
1802
|
created_at: number;
|
|
1803
1803
|
authorization: {
|
|
1804
|
-
type: "
|
|
1804
|
+
type: "oauth" | "credential" | "none";
|
|
1805
1805
|
provider?: string | undefined;
|
|
1806
1806
|
credentialType?: string | undefined;
|
|
1807
1807
|
};
|
|
@@ -1816,7 +1816,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1816
1816
|
issued_at: number;
|
|
1817
1817
|
created_at: number;
|
|
1818
1818
|
authorization: {
|
|
1819
|
-
type: "
|
|
1819
|
+
type: "oauth" | "credential" | "none";
|
|
1820
1820
|
provider?: string | undefined;
|
|
1821
1821
|
credentialType?: string | undefined;
|
|
1822
1822
|
};
|
|
@@ -1841,6 +1841,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1841
1841
|
reason: z.ZodOptional<z.ZodString>;
|
|
1842
1842
|
}, "strip", z.ZodTypeAny, {
|
|
1843
1843
|
valid: boolean;
|
|
1844
|
+
error?: {
|
|
1845
|
+
code: string;
|
|
1846
|
+
message: string;
|
|
1847
|
+
details?: Record<string, unknown> | undefined;
|
|
1848
|
+
} | undefined;
|
|
1844
1849
|
credential?: {
|
|
1845
1850
|
scopes: string[];
|
|
1846
1851
|
agent_did: string;
|
|
@@ -1848,7 +1853,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1848
1853
|
issued_at: number;
|
|
1849
1854
|
created_at: number;
|
|
1850
1855
|
authorization: {
|
|
1851
|
-
type: "
|
|
1856
|
+
type: "oauth" | "credential" | "none";
|
|
1852
1857
|
provider?: string | undefined;
|
|
1853
1858
|
credentialType?: string | undefined;
|
|
1854
1859
|
};
|
|
@@ -1857,13 +1862,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1857
1862
|
user_identifier?: string | undefined;
|
|
1858
1863
|
credential_jwt?: string | undefined;
|
|
1859
1864
|
} | undefined;
|
|
1860
|
-
error?: {
|
|
1861
|
-
code: string;
|
|
1862
|
-
message: string;
|
|
1863
|
-
details?: Record<string, unknown> | undefined;
|
|
1864
|
-
} | undefined;
|
|
1865
1865
|
delegation_id?: string | undefined;
|
|
1866
|
-
reason?: string | undefined;
|
|
1867
1866
|
delegation?: z.objectOutputType<{
|
|
1868
1867
|
id: z.ZodString;
|
|
1869
1868
|
issuerDid: z.ZodString;
|
|
@@ -2275,8 +2274,14 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2275
2274
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2276
2275
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2277
2276
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2277
|
+
reason?: string | undefined;
|
|
2278
2278
|
}, {
|
|
2279
2279
|
valid: boolean;
|
|
2280
|
+
error?: {
|
|
2281
|
+
code: string;
|
|
2282
|
+
message: string;
|
|
2283
|
+
details?: Record<string, unknown> | undefined;
|
|
2284
|
+
} | undefined;
|
|
2280
2285
|
credential?: {
|
|
2281
2286
|
scopes: string[];
|
|
2282
2287
|
agent_did: string;
|
|
@@ -2284,7 +2289,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2284
2289
|
issued_at: number;
|
|
2285
2290
|
created_at: number;
|
|
2286
2291
|
authorization: {
|
|
2287
|
-
type: "
|
|
2292
|
+
type: "oauth" | "credential" | "none";
|
|
2288
2293
|
provider?: string | undefined;
|
|
2289
2294
|
credentialType?: string | undefined;
|
|
2290
2295
|
};
|
|
@@ -2293,13 +2298,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2293
2298
|
user_identifier?: string | undefined;
|
|
2294
2299
|
credential_jwt?: string | undefined;
|
|
2295
2300
|
} | undefined;
|
|
2296
|
-
error?: {
|
|
2297
|
-
code: string;
|
|
2298
|
-
message: string;
|
|
2299
|
-
details?: Record<string, unknown> | undefined;
|
|
2300
|
-
} | undefined;
|
|
2301
2301
|
delegation_id?: string | undefined;
|
|
2302
|
-
reason?: string | undefined;
|
|
2303
2302
|
delegation?: z.objectInputType<{
|
|
2304
2303
|
id: z.ZodString;
|
|
2305
2304
|
issuerDid: z.ZodString;
|
|
@@ -2711,6 +2710,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2711
2710
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2712
2711
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2713
2712
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2713
|
+
reason?: string | undefined;
|
|
2714
2714
|
}>;
|
|
2715
2715
|
/**
|
|
2716
2716
|
* Wrapped verification response schema
|
|
@@ -3966,11 +3966,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3966
3966
|
provider: z.ZodOptional<z.ZodString>;
|
|
3967
3967
|
credentialType: z.ZodOptional<z.ZodString>;
|
|
3968
3968
|
}, "strip", z.ZodTypeAny, {
|
|
3969
|
-
type: "
|
|
3969
|
+
type: "oauth" | "credential" | "none";
|
|
3970
3970
|
provider?: string | undefined;
|
|
3971
3971
|
credentialType?: string | undefined;
|
|
3972
3972
|
}, {
|
|
3973
|
-
type: "
|
|
3973
|
+
type: "oauth" | "credential" | "none";
|
|
3974
3974
|
provider?: string | undefined;
|
|
3975
3975
|
credentialType?: string | undefined;
|
|
3976
3976
|
}>;
|
|
@@ -3981,7 +3981,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3981
3981
|
issued_at: number;
|
|
3982
3982
|
created_at: number;
|
|
3983
3983
|
authorization: {
|
|
3984
|
-
type: "
|
|
3984
|
+
type: "oauth" | "credential" | "none";
|
|
3985
3985
|
provider?: string | undefined;
|
|
3986
3986
|
credentialType?: string | undefined;
|
|
3987
3987
|
};
|
|
@@ -3996,7 +3996,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3996
3996
|
issued_at: number;
|
|
3997
3997
|
created_at: number;
|
|
3998
3998
|
authorization: {
|
|
3999
|
-
type: "
|
|
3999
|
+
type: "oauth" | "credential" | "none";
|
|
4000
4000
|
provider?: string | undefined;
|
|
4001
4001
|
credentialType?: string | undefined;
|
|
4002
4002
|
};
|
|
@@ -4021,6 +4021,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4021
4021
|
reason: z.ZodOptional<z.ZodString>;
|
|
4022
4022
|
}, "strip", z.ZodTypeAny, {
|
|
4023
4023
|
valid: boolean;
|
|
4024
|
+
error?: {
|
|
4025
|
+
code: string;
|
|
4026
|
+
message: string;
|
|
4027
|
+
details?: Record<string, unknown> | undefined;
|
|
4028
|
+
} | undefined;
|
|
4024
4029
|
credential?: {
|
|
4025
4030
|
scopes: string[];
|
|
4026
4031
|
agent_did: string;
|
|
@@ -4028,7 +4033,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4028
4033
|
issued_at: number;
|
|
4029
4034
|
created_at: number;
|
|
4030
4035
|
authorization: {
|
|
4031
|
-
type: "
|
|
4036
|
+
type: "oauth" | "credential" | "none";
|
|
4032
4037
|
provider?: string | undefined;
|
|
4033
4038
|
credentialType?: string | undefined;
|
|
4034
4039
|
};
|
|
@@ -4037,13 +4042,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4037
4042
|
user_identifier?: string | undefined;
|
|
4038
4043
|
credential_jwt?: string | undefined;
|
|
4039
4044
|
} | undefined;
|
|
4040
|
-
error?: {
|
|
4041
|
-
code: string;
|
|
4042
|
-
message: string;
|
|
4043
|
-
details?: Record<string, unknown> | undefined;
|
|
4044
|
-
} | undefined;
|
|
4045
4045
|
delegation_id?: string | undefined;
|
|
4046
|
-
reason?: string | undefined;
|
|
4047
4046
|
delegation?: z.objectOutputType<{
|
|
4048
4047
|
id: z.ZodString;
|
|
4049
4048
|
issuerDid: z.ZodString;
|
|
@@ -4455,8 +4454,14 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4455
4454
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4456
4455
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4457
4456
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4457
|
+
reason?: string | undefined;
|
|
4458
4458
|
}, {
|
|
4459
4459
|
valid: boolean;
|
|
4460
|
+
error?: {
|
|
4461
|
+
code: string;
|
|
4462
|
+
message: string;
|
|
4463
|
+
details?: Record<string, unknown> | undefined;
|
|
4464
|
+
} | undefined;
|
|
4460
4465
|
credential?: {
|
|
4461
4466
|
scopes: string[];
|
|
4462
4467
|
agent_did: string;
|
|
@@ -4464,7 +4469,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4464
4469
|
issued_at: number;
|
|
4465
4470
|
created_at: number;
|
|
4466
4471
|
authorization: {
|
|
4467
|
-
type: "
|
|
4472
|
+
type: "oauth" | "credential" | "none";
|
|
4468
4473
|
provider?: string | undefined;
|
|
4469
4474
|
credentialType?: string | undefined;
|
|
4470
4475
|
};
|
|
@@ -4473,13 +4478,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4473
4478
|
user_identifier?: string | undefined;
|
|
4474
4479
|
credential_jwt?: string | undefined;
|
|
4475
4480
|
} | undefined;
|
|
4476
|
-
error?: {
|
|
4477
|
-
code: string;
|
|
4478
|
-
message: string;
|
|
4479
|
-
details?: Record<string, unknown> | undefined;
|
|
4480
|
-
} | undefined;
|
|
4481
4481
|
delegation_id?: string | undefined;
|
|
4482
|
-
reason?: string | undefined;
|
|
4483
4482
|
delegation?: z.objectInputType<{
|
|
4484
4483
|
id: z.ZodString;
|
|
4485
4484
|
issuerDid: z.ZodString;
|
|
@@ -4891,21 +4890,27 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4891
4890
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4892
4891
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4893
4892
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4893
|
+
reason?: string | undefined;
|
|
4894
4894
|
}>;
|
|
4895
4895
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
4896
4896
|
requestId: z.ZodString;
|
|
4897
4897
|
timestamp: z.ZodString;
|
|
4898
4898
|
}, "strip", z.ZodTypeAny, {
|
|
4899
|
-
timestamp: string;
|
|
4900
4899
|
requestId: string;
|
|
4901
|
-
}, {
|
|
4902
4900
|
timestamp: string;
|
|
4901
|
+
}, {
|
|
4903
4902
|
requestId: string;
|
|
4903
|
+
timestamp: string;
|
|
4904
4904
|
}>>;
|
|
4905
4905
|
}, "strip", z.ZodTypeAny, {
|
|
4906
4906
|
success: boolean;
|
|
4907
4907
|
data: {
|
|
4908
4908
|
valid: boolean;
|
|
4909
|
+
error?: {
|
|
4910
|
+
code: string;
|
|
4911
|
+
message: string;
|
|
4912
|
+
details?: Record<string, unknown> | undefined;
|
|
4913
|
+
} | undefined;
|
|
4909
4914
|
credential?: {
|
|
4910
4915
|
scopes: string[];
|
|
4911
4916
|
agent_did: string;
|
|
@@ -4913,7 +4918,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4913
4918
|
issued_at: number;
|
|
4914
4919
|
created_at: number;
|
|
4915
4920
|
authorization: {
|
|
4916
|
-
type: "
|
|
4921
|
+
type: "oauth" | "credential" | "none";
|
|
4917
4922
|
provider?: string | undefined;
|
|
4918
4923
|
credentialType?: string | undefined;
|
|
4919
4924
|
};
|
|
@@ -4922,13 +4927,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4922
4927
|
user_identifier?: string | undefined;
|
|
4923
4928
|
credential_jwt?: string | undefined;
|
|
4924
4929
|
} | undefined;
|
|
4925
|
-
error?: {
|
|
4926
|
-
code: string;
|
|
4927
|
-
message: string;
|
|
4928
|
-
details?: Record<string, unknown> | undefined;
|
|
4929
|
-
} | undefined;
|
|
4930
4930
|
delegation_id?: string | undefined;
|
|
4931
|
-
reason?: string | undefined;
|
|
4932
4931
|
delegation?: z.objectOutputType<{
|
|
4933
4932
|
id: z.ZodString;
|
|
4934
4933
|
issuerDid: z.ZodString;
|
|
@@ -5340,15 +5339,21 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5340
5339
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5341
5340
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5342
5341
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5342
|
+
reason?: string | undefined;
|
|
5343
5343
|
};
|
|
5344
5344
|
metadata?: {
|
|
5345
|
-
timestamp: string;
|
|
5346
5345
|
requestId: string;
|
|
5346
|
+
timestamp: string;
|
|
5347
5347
|
} | undefined;
|
|
5348
5348
|
}, {
|
|
5349
5349
|
success: boolean;
|
|
5350
5350
|
data: {
|
|
5351
5351
|
valid: boolean;
|
|
5352
|
+
error?: {
|
|
5353
|
+
code: string;
|
|
5354
|
+
message: string;
|
|
5355
|
+
details?: Record<string, unknown> | undefined;
|
|
5356
|
+
} | undefined;
|
|
5352
5357
|
credential?: {
|
|
5353
5358
|
scopes: string[];
|
|
5354
5359
|
agent_did: string;
|
|
@@ -5356,7 +5361,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5356
5361
|
issued_at: number;
|
|
5357
5362
|
created_at: number;
|
|
5358
5363
|
authorization: {
|
|
5359
|
-
type: "
|
|
5364
|
+
type: "oauth" | "credential" | "none";
|
|
5360
5365
|
provider?: string | undefined;
|
|
5361
5366
|
credentialType?: string | undefined;
|
|
5362
5367
|
};
|
|
@@ -5365,13 +5370,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5365
5370
|
user_identifier?: string | undefined;
|
|
5366
5371
|
credential_jwt?: string | undefined;
|
|
5367
5372
|
} | undefined;
|
|
5368
|
-
error?: {
|
|
5369
|
-
code: string;
|
|
5370
|
-
message: string;
|
|
5371
|
-
details?: Record<string, unknown> | undefined;
|
|
5372
|
-
} | undefined;
|
|
5373
5373
|
delegation_id?: string | undefined;
|
|
5374
|
-
reason?: string | undefined;
|
|
5375
5374
|
delegation?: z.objectInputType<{
|
|
5376
5375
|
id: z.ZodString;
|
|
5377
5376
|
issuerDid: z.ZodString;
|
|
@@ -5783,10 +5782,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5783
5782
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5784
5783
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5785
5784
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5785
|
+
reason?: string | undefined;
|
|
5786
5786
|
};
|
|
5787
5787
|
metadata?: {
|
|
5788
|
-
timestamp: string;
|
|
5789
5788
|
requestId: string;
|
|
5789
|
+
timestamp: string;
|
|
5790
5790
|
} | undefined;
|
|
5791
5791
|
}>;
|
|
5792
5792
|
/**
|
|
@@ -5959,11 +5959,11 @@ export declare const toolProtectionConfigAPIResponseSchema: z.ZodObject<{
|
|
|
5959
5959
|
requestId: z.ZodString;
|
|
5960
5960
|
timestamp: z.ZodString;
|
|
5961
5961
|
}, "strip", z.ZodTypeAny, {
|
|
5962
|
-
timestamp: string;
|
|
5963
5962
|
requestId: string;
|
|
5964
|
-
}, {
|
|
5965
5963
|
timestamp: string;
|
|
5964
|
+
}, {
|
|
5966
5965
|
requestId: string;
|
|
5966
|
+
timestamp: string;
|
|
5967
5967
|
}>>;
|
|
5968
5968
|
}, "strip", z.ZodTypeAny, {
|
|
5969
5969
|
success: boolean;
|
|
@@ -5985,8 +5985,8 @@ export declare const toolProtectionConfigAPIResponseSchema: z.ZodObject<{
|
|
|
5985
5985
|
} | undefined;
|
|
5986
5986
|
};
|
|
5987
5987
|
metadata?: {
|
|
5988
|
-
timestamp: string;
|
|
5989
5988
|
requestId: string;
|
|
5989
|
+
timestamp: string;
|
|
5990
5990
|
} | undefined;
|
|
5991
5991
|
}, {
|
|
5992
5992
|
success: boolean;
|
|
@@ -6008,8 +6008,8 @@ export declare const toolProtectionConfigAPIResponseSchema: z.ZodObject<{
|
|
|
6008
6008
|
} | undefined;
|
|
6009
6009
|
};
|
|
6010
6010
|
metadata?: {
|
|
6011
|
-
timestamp: string;
|
|
6012
6011
|
requestId: string;
|
|
6012
|
+
timestamp: string;
|
|
6013
6013
|
} | undefined;
|
|
6014
6014
|
}>;
|
|
6015
6015
|
/**
|
|
@@ -6163,11 +6163,11 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6163
6163
|
requestId: z.ZodString;
|
|
6164
6164
|
timestamp: z.ZodString;
|
|
6165
6165
|
}, "strip", z.ZodTypeAny, {
|
|
6166
|
-
timestamp: string;
|
|
6167
6166
|
requestId: string;
|
|
6168
|
-
}, {
|
|
6169
6167
|
timestamp: string;
|
|
6168
|
+
}, {
|
|
6170
6169
|
requestId: string;
|
|
6170
|
+
timestamp: string;
|
|
6171
6171
|
}>>;
|
|
6172
6172
|
}, "strip", z.ZodTypeAny, {
|
|
6173
6173
|
success: boolean;
|
|
@@ -6186,8 +6186,8 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6186
6186
|
expires_in?: number | undefined;
|
|
6187
6187
|
};
|
|
6188
6188
|
metadata?: {
|
|
6189
|
-
timestamp: string;
|
|
6190
6189
|
requestId: string;
|
|
6190
|
+
timestamp: string;
|
|
6191
6191
|
} | undefined;
|
|
6192
6192
|
}, {
|
|
6193
6193
|
success: boolean;
|
|
@@ -6206,8 +6206,8 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6206
6206
|
expires_in?: number | undefined;
|
|
6207
6207
|
};
|
|
6208
6208
|
metadata?: {
|
|
6209
|
-
timestamp: string;
|
|
6210
6209
|
requestId: string;
|
|
6210
|
+
timestamp: string;
|
|
6211
6211
|
} | undefined;
|
|
6212
6212
|
}>;
|
|
6213
6213
|
/**
|
|
@@ -6228,12 +6228,12 @@ export declare const revokeDelegationResponseSchema: z.ZodObject<{
|
|
|
6228
6228
|
revoked: z.ZodBoolean;
|
|
6229
6229
|
revoked_at: z.ZodNumber;
|
|
6230
6230
|
}, "strip", z.ZodTypeAny, {
|
|
6231
|
-
delegation_id: string;
|
|
6232
6231
|
revoked: boolean;
|
|
6232
|
+
delegation_id: string;
|
|
6233
6233
|
revoked_at: number;
|
|
6234
6234
|
}, {
|
|
6235
|
-
delegation_id: string;
|
|
6236
6235
|
revoked: boolean;
|
|
6236
|
+
delegation_id: string;
|
|
6237
6237
|
revoked_at: number;
|
|
6238
6238
|
}>;
|
|
6239
6239
|
/**
|
|
@@ -6246,45 +6246,45 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6246
6246
|
revoked: z.ZodBoolean;
|
|
6247
6247
|
revoked_at: z.ZodNumber;
|
|
6248
6248
|
}, "strip", z.ZodTypeAny, {
|
|
6249
|
-
delegation_id: string;
|
|
6250
6249
|
revoked: boolean;
|
|
6250
|
+
delegation_id: string;
|
|
6251
6251
|
revoked_at: number;
|
|
6252
6252
|
}, {
|
|
6253
|
-
delegation_id: string;
|
|
6254
6253
|
revoked: boolean;
|
|
6254
|
+
delegation_id: string;
|
|
6255
6255
|
revoked_at: number;
|
|
6256
6256
|
}>;
|
|
6257
6257
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
6258
6258
|
requestId: z.ZodString;
|
|
6259
6259
|
timestamp: z.ZodString;
|
|
6260
6260
|
}, "strip", z.ZodTypeAny, {
|
|
6261
|
-
timestamp: string;
|
|
6262
6261
|
requestId: string;
|
|
6263
|
-
}, {
|
|
6264
6262
|
timestamp: string;
|
|
6263
|
+
}, {
|
|
6265
6264
|
requestId: string;
|
|
6265
|
+
timestamp: string;
|
|
6266
6266
|
}>>;
|
|
6267
6267
|
}, "strip", z.ZodTypeAny, {
|
|
6268
6268
|
success: boolean;
|
|
6269
6269
|
data: {
|
|
6270
|
-
delegation_id: string;
|
|
6271
6270
|
revoked: boolean;
|
|
6271
|
+
delegation_id: string;
|
|
6272
6272
|
revoked_at: number;
|
|
6273
6273
|
};
|
|
6274
6274
|
metadata?: {
|
|
6275
|
-
timestamp: string;
|
|
6276
6275
|
requestId: string;
|
|
6276
|
+
timestamp: string;
|
|
6277
6277
|
} | undefined;
|
|
6278
6278
|
}, {
|
|
6279
6279
|
success: boolean;
|
|
6280
6280
|
data: {
|
|
6281
|
-
delegation_id: string;
|
|
6282
6281
|
revoked: boolean;
|
|
6282
|
+
delegation_id: string;
|
|
6283
6283
|
revoked_at: number;
|
|
6284
6284
|
};
|
|
6285
6285
|
metadata?: {
|
|
6286
|
-
timestamp: string;
|
|
6287
6286
|
requestId: string;
|
|
6287
|
+
timestamp: string;
|
|
6288
6288
|
} | undefined;
|
|
6289
6289
|
}>;
|
|
6290
6290
|
/**
|
|
@@ -6299,15 +6299,15 @@ export declare const sessionClientInfoSchema: z.ZodObject<{
|
|
|
6299
6299
|
}, "strip", z.ZodTypeAny, {
|
|
6300
6300
|
name: string;
|
|
6301
6301
|
version?: string | undefined;
|
|
6302
|
+
protocol_version?: string | undefined;
|
|
6302
6303
|
platform?: string | undefined;
|
|
6303
6304
|
vendor?: string | undefined;
|
|
6304
|
-
protocol_version?: string | undefined;
|
|
6305
6305
|
}, {
|
|
6306
6306
|
name: string;
|
|
6307
6307
|
version?: string | undefined;
|
|
6308
|
+
protocol_version?: string | undefined;
|
|
6308
6309
|
platform?: string | undefined;
|
|
6309
6310
|
vendor?: string | undefined;
|
|
6310
|
-
protocol_version?: string | undefined;
|
|
6311
6311
|
}>;
|
|
6312
6312
|
/**
|
|
6313
6313
|
* Session client identity schema
|
|
@@ -6317,13 +6317,13 @@ export declare const sessionClientIdentitySchema: z.ZodObject<{
|
|
|
6317
6317
|
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6318
6318
|
registered: z.ZodBoolean;
|
|
6319
6319
|
}, "strip", z.ZodTypeAny, {
|
|
6320
|
-
registered: boolean;
|
|
6321
6320
|
did: string;
|
|
6322
6321
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6323
|
-
}, {
|
|
6324
6322
|
registered: boolean;
|
|
6323
|
+
}, {
|
|
6325
6324
|
did: string;
|
|
6326
6325
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6326
|
+
registered: boolean;
|
|
6327
6327
|
}>;
|
|
6328
6328
|
/**
|
|
6329
6329
|
* Register session request schema
|
|
@@ -6343,68 +6343,68 @@ export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
|
6343
6343
|
}, "strip", z.ZodTypeAny, {
|
|
6344
6344
|
name: string;
|
|
6345
6345
|
version?: string | undefined;
|
|
6346
|
+
protocol_version?: string | undefined;
|
|
6346
6347
|
platform?: string | undefined;
|
|
6347
6348
|
vendor?: string | undefined;
|
|
6348
|
-
protocol_version?: string | undefined;
|
|
6349
6349
|
}, {
|
|
6350
6350
|
name: string;
|
|
6351
6351
|
version?: string | undefined;
|
|
6352
|
+
protocol_version?: string | undefined;
|
|
6352
6353
|
platform?: string | undefined;
|
|
6353
6354
|
vendor?: string | undefined;
|
|
6354
|
-
protocol_version?: string | undefined;
|
|
6355
6355
|
}>;
|
|
6356
6356
|
client_identity: z.ZodOptional<z.ZodObject<{
|
|
6357
6357
|
did: z.ZodString;
|
|
6358
6358
|
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6359
6359
|
registered: z.ZodBoolean;
|
|
6360
6360
|
}, "strip", z.ZodTypeAny, {
|
|
6361
|
-
registered: boolean;
|
|
6362
6361
|
did: string;
|
|
6363
6362
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6364
|
-
}, {
|
|
6365
6363
|
registered: boolean;
|
|
6364
|
+
}, {
|
|
6366
6365
|
did: string;
|
|
6367
6366
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6367
|
+
registered: boolean;
|
|
6368
6368
|
}>>;
|
|
6369
6369
|
server_did: z.ZodOptional<z.ZodString>;
|
|
6370
6370
|
ttl_minutes: z.ZodOptional<z.ZodNumber>;
|
|
6371
6371
|
}, "strip", z.ZodTypeAny, {
|
|
6372
6372
|
session_id: string;
|
|
6373
6373
|
agent_did: string;
|
|
6374
|
-
project_id: string;
|
|
6375
6374
|
created_at: number;
|
|
6376
6375
|
client_info: {
|
|
6377
6376
|
name: string;
|
|
6378
6377
|
version?: string | undefined;
|
|
6378
|
+
protocol_version?: string | undefined;
|
|
6379
6379
|
platform?: string | undefined;
|
|
6380
6380
|
vendor?: string | undefined;
|
|
6381
|
-
protocol_version?: string | undefined;
|
|
6382
6381
|
};
|
|
6382
|
+
project_id: string;
|
|
6383
6383
|
agent_name?: string | undefined;
|
|
6384
6384
|
client_identity?: {
|
|
6385
|
-
registered: boolean;
|
|
6386
6385
|
did: string;
|
|
6387
6386
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6387
|
+
registered: boolean;
|
|
6388
6388
|
} | undefined;
|
|
6389
6389
|
server_did?: string | undefined;
|
|
6390
6390
|
ttl_minutes?: number | undefined;
|
|
6391
6391
|
}, {
|
|
6392
6392
|
session_id: string;
|
|
6393
6393
|
agent_did: string;
|
|
6394
|
-
project_id: string;
|
|
6395
6394
|
created_at: number;
|
|
6396
6395
|
client_info: {
|
|
6397
6396
|
name: string;
|
|
6398
6397
|
version?: string | undefined;
|
|
6398
|
+
protocol_version?: string | undefined;
|
|
6399
6399
|
platform?: string | undefined;
|
|
6400
6400
|
vendor?: string | undefined;
|
|
6401
|
-
protocol_version?: string | undefined;
|
|
6402
6401
|
};
|
|
6402
|
+
project_id: string;
|
|
6403
6403
|
agent_name?: string | undefined;
|
|
6404
6404
|
client_identity?: {
|
|
6405
|
-
registered: boolean;
|
|
6406
6405
|
did: string;
|
|
6407
6406
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6407
|
+
registered: boolean;
|
|
6408
6408
|
} | undefined;
|
|
6409
6409
|
server_did?: string | undefined;
|
|
6410
6410
|
ttl_minutes?: number | undefined;
|
|
@@ -6417,13 +6417,13 @@ export declare const registerSessionResponseSchema: z.ZodObject<{
|
|
|
6417
6417
|
registered: z.ZodBoolean;
|
|
6418
6418
|
created_at: z.ZodString;
|
|
6419
6419
|
}, "strip", z.ZodTypeAny, {
|
|
6420
|
-
registered: boolean;
|
|
6421
6420
|
session_id: string;
|
|
6422
6421
|
created_at: string;
|
|
6423
|
-
}, {
|
|
6424
6422
|
registered: boolean;
|
|
6423
|
+
}, {
|
|
6425
6424
|
session_id: string;
|
|
6426
6425
|
created_at: string;
|
|
6426
|
+
registered: boolean;
|
|
6427
6427
|
}>;
|
|
6428
6428
|
/**
|
|
6429
6429
|
* Wrapped session registration response schema
|
|
@@ -6435,44 +6435,44 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6435
6435
|
registered: z.ZodBoolean;
|
|
6436
6436
|
created_at: z.ZodString;
|
|
6437
6437
|
}, "strip", z.ZodTypeAny, {
|
|
6438
|
-
registered: boolean;
|
|
6439
6438
|
session_id: string;
|
|
6440
6439
|
created_at: string;
|
|
6441
|
-
}, {
|
|
6442
6440
|
registered: boolean;
|
|
6441
|
+
}, {
|
|
6443
6442
|
session_id: string;
|
|
6444
6443
|
created_at: string;
|
|
6444
|
+
registered: boolean;
|
|
6445
6445
|
}>;
|
|
6446
6446
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
6447
6447
|
requestId: z.ZodString;
|
|
6448
6448
|
timestamp: z.ZodString;
|
|
6449
6449
|
}, "strip", z.ZodTypeAny, {
|
|
6450
|
-
timestamp: string;
|
|
6451
6450
|
requestId: string;
|
|
6452
|
-
}, {
|
|
6453
6451
|
timestamp: string;
|
|
6452
|
+
}, {
|
|
6454
6453
|
requestId: string;
|
|
6454
|
+
timestamp: string;
|
|
6455
6455
|
}>>;
|
|
6456
6456
|
}, "strip", z.ZodTypeAny, {
|
|
6457
6457
|
success: boolean;
|
|
6458
6458
|
data: {
|
|
6459
|
-
registered: boolean;
|
|
6460
6459
|
session_id: string;
|
|
6461
6460
|
created_at: string;
|
|
6461
|
+
registered: boolean;
|
|
6462
6462
|
};
|
|
6463
6463
|
metadata?: {
|
|
6464
|
-
timestamp: string;
|
|
6465
6464
|
requestId: string;
|
|
6465
|
+
timestamp: string;
|
|
6466
6466
|
} | undefined;
|
|
6467
6467
|
}, {
|
|
6468
6468
|
success: boolean;
|
|
6469
6469
|
data: {
|
|
6470
|
-
registered: boolean;
|
|
6471
6470
|
session_id: string;
|
|
6472
6471
|
created_at: string;
|
|
6472
|
+
registered: boolean;
|
|
6473
6473
|
};
|
|
6474
6474
|
metadata?: {
|
|
6475
|
-
timestamp: string;
|
|
6476
6475
|
requestId: string;
|
|
6476
|
+
timestamp: string;
|
|
6477
6477
|
} | undefined;
|
|
6478
6478
|
}>;
|
|
@@ -57,7 +57,11 @@ const consentEventContextSchema = zod_1.z.object({
|
|
|
57
57
|
"consent:page_viewed",
|
|
58
58
|
"consent:approved",
|
|
59
59
|
"consent:delegation_created",
|
|
60
|
-
"consent:credential_required"
|
|
60
|
+
"consent:credential_required",
|
|
61
|
+
"auth:credential_success",
|
|
62
|
+
"auth:credential_failed",
|
|
63
|
+
"auth:oauth_success",
|
|
64
|
+
"auth:oauth_failed"
|
|
61
65
|
]),
|
|
62
66
|
timestamp: zod_1.z.number().int().positive(),
|
|
63
67
|
sessionId: zod_1.z.string().min(1),
|
|
@@ -49,7 +49,7 @@ export interface ToolCallContext {
|
|
|
49
49
|
* multiple events per session (unlike regular audit logs).
|
|
50
50
|
*/
|
|
51
51
|
export interface ConsentEventContext {
|
|
52
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
52
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
53
53
|
timestamp: number;
|
|
54
54
|
sessionId: string;
|
|
55
55
|
userDid?: string;
|
package/dist/audit/index.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export declare const AuditContextSchema: z.ZodObject<{
|
|
|
65
65
|
*/
|
|
66
66
|
scopeId: z.ZodOptional<z.ZodString>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
requestHash: string;
|
|
69
|
+
responseHash: string;
|
|
68
70
|
identity: {
|
|
69
71
|
did: string;
|
|
70
72
|
kid: string;
|
|
@@ -77,11 +79,11 @@ export declare const AuditContextSchema: z.ZodObject<{
|
|
|
77
79
|
} & {
|
|
78
80
|
[k: string]: unknown;
|
|
79
81
|
};
|
|
80
|
-
requestHash: string;
|
|
81
|
-
responseHash: string;
|
|
82
82
|
verified: "yes" | "no";
|
|
83
83
|
scopeId?: string | undefined;
|
|
84
84
|
}, {
|
|
85
|
+
requestHash: string;
|
|
86
|
+
responseHash: string;
|
|
85
87
|
identity: {
|
|
86
88
|
did: string;
|
|
87
89
|
kid: string;
|
|
@@ -94,8 +96,6 @@ export declare const AuditContextSchema: z.ZodObject<{
|
|
|
94
96
|
} & {
|
|
95
97
|
[k: string]: unknown;
|
|
96
98
|
};
|
|
97
|
-
requestHash: string;
|
|
98
|
-
responseHash: string;
|
|
99
99
|
verified: "yes" | "no";
|
|
100
100
|
scopeId?: string | undefined;
|
|
101
101
|
}>;
|
|
@@ -153,6 +153,7 @@ export declare const AuditEventContextSchema: z.ZodObject<{
|
|
|
153
153
|
*/
|
|
154
154
|
eventData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
eventType: string;
|
|
156
157
|
identity: {
|
|
157
158
|
did: string;
|
|
158
159
|
kid: string;
|
|
@@ -165,9 +166,9 @@ export declare const AuditEventContextSchema: z.ZodObject<{
|
|
|
165
166
|
} & {
|
|
166
167
|
[k: string]: unknown;
|
|
167
168
|
};
|
|
168
|
-
eventType: string;
|
|
169
169
|
eventData?: Record<string, unknown> | undefined;
|
|
170
170
|
}, {
|
|
171
|
+
eventType: string;
|
|
171
172
|
identity: {
|
|
172
173
|
did: string;
|
|
173
174
|
kid: string;
|
|
@@ -180,7 +181,6 @@ export declare const AuditEventContextSchema: z.ZodObject<{
|
|
|
180
181
|
} & {
|
|
181
182
|
[k: string]: unknown;
|
|
182
183
|
};
|
|
183
|
-
eventType: string;
|
|
184
184
|
eventData?: Record<string, unknown> | undefined;
|
|
185
185
|
}>;
|
|
186
186
|
export type AuditEventContext = {
|
package/dist/handshake.d.ts
CHANGED
|
@@ -23,17 +23,17 @@ 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;
|
|
28
27
|
platform?: string | undefined;
|
|
29
28
|
vendor?: string | undefined;
|
|
29
|
+
title?: string | undefined;
|
|
30
30
|
persistentId?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
name: string;
|
|
33
|
-
title?: string | undefined;
|
|
34
33
|
version?: string | undefined;
|
|
35
34
|
platform?: string | undefined;
|
|
36
35
|
vendor?: string | undefined;
|
|
36
|
+
title?: string | undefined;
|
|
37
37
|
persistentId?: string | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export declare const MCPClientSessionInfoSchema: z.ZodObject<{
|
|
@@ -50,20 +50,20 @@ 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;
|
|
55
54
|
platform?: string | undefined;
|
|
56
55
|
vendor?: string | undefined;
|
|
56
|
+
title?: string | undefined;
|
|
57
57
|
persistentId?: string | undefined;
|
|
58
58
|
protocolVersion?: string | undefined;
|
|
59
59
|
capabilities?: Record<string, unknown> | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
name: string;
|
|
62
62
|
clientId: string;
|
|
63
|
-
title?: string | undefined;
|
|
64
63
|
version?: string | undefined;
|
|
65
64
|
platform?: string | undefined;
|
|
66
65
|
vendor?: string | undefined;
|
|
66
|
+
title?: string | undefined;
|
|
67
67
|
persistentId?: string | undefined;
|
|
68
68
|
protocolVersion?: string | undefined;
|
|
69
69
|
capabilities?: Record<string, unknown> | undefined;
|
|
@@ -84,18 +84,18 @@ 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;
|
|
89
88
|
platform?: string | undefined;
|
|
90
89
|
vendor?: string | undefined;
|
|
90
|
+
title?: 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;
|
|
97
96
|
platform?: string | undefined;
|
|
98
97
|
vendor?: string | undefined;
|
|
98
|
+
title?: string | undefined;
|
|
99
99
|
persistentId?: string | undefined;
|
|
100
100
|
clientId?: string | undefined;
|
|
101
101
|
}>>;
|
|
@@ -108,10 +108,10 @@ 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;
|
|
113
112
|
platform?: string | undefined;
|
|
114
113
|
vendor?: string | undefined;
|
|
114
|
+
title?: string | undefined;
|
|
115
115
|
persistentId?: string | undefined;
|
|
116
116
|
clientId?: string | undefined;
|
|
117
117
|
} | undefined;
|
|
@@ -124,10 +124,10 @@ 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;
|
|
129
128
|
platform?: string | undefined;
|
|
130
129
|
vendor?: string | undefined;
|
|
130
|
+
title?: string | undefined;
|
|
131
131
|
persistentId?: string | undefined;
|
|
132
132
|
clientId?: string | undefined;
|
|
133
133
|
} | undefined;
|
|
@@ -160,20 +160,20 @@ 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;
|
|
165
164
|
platform?: string | undefined;
|
|
166
165
|
vendor?: string | undefined;
|
|
166
|
+
title?: string | undefined;
|
|
167
167
|
persistentId?: string | undefined;
|
|
168
168
|
protocolVersion?: string | undefined;
|
|
169
169
|
capabilities?: Record<string, unknown> | undefined;
|
|
170
170
|
}, {
|
|
171
171
|
name: string;
|
|
172
172
|
clientId: string;
|
|
173
|
-
title?: string | undefined;
|
|
174
173
|
version?: string | undefined;
|
|
175
174
|
platform?: string | undefined;
|
|
176
175
|
vendor?: string | undefined;
|
|
176
|
+
title?: string | undefined;
|
|
177
177
|
persistentId?: string | undefined;
|
|
178
178
|
protocolVersion?: string | undefined;
|
|
179
179
|
capabilities?: Record<string, unknown> | undefined;
|
|
@@ -206,63 +206,63 @@ export declare const SessionContextSchema: z.ZodObject<{
|
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
nonce: string;
|
|
208
208
|
audience: string;
|
|
209
|
-
timestamp: number;
|
|
210
209
|
sessionId: string;
|
|
211
210
|
createdAt: number;
|
|
211
|
+
timestamp: number;
|
|
212
212
|
lastActivity: number;
|
|
213
213
|
ttlMinutes: number;
|
|
214
214
|
identityState: "anonymous" | "authenticated";
|
|
215
|
+
clientDid?: string | undefined;
|
|
216
|
+
userDid?: string | undefined;
|
|
215
217
|
agentDid?: string | undefined;
|
|
218
|
+
oauthIdentity?: {
|
|
219
|
+
provider: string;
|
|
220
|
+
subject: string;
|
|
221
|
+
email?: string | undefined;
|
|
222
|
+
name?: string | undefined;
|
|
223
|
+
} | undefined;
|
|
216
224
|
clientInfo?: {
|
|
217
225
|
name: string;
|
|
218
226
|
clientId: string;
|
|
219
|
-
title?: string | undefined;
|
|
220
227
|
version?: string | undefined;
|
|
221
228
|
platform?: string | undefined;
|
|
222
229
|
vendor?: string | undefined;
|
|
230
|
+
title?: string | undefined;
|
|
223
231
|
persistentId?: string | undefined;
|
|
224
232
|
protocolVersion?: string | undefined;
|
|
225
233
|
capabilities?: Record<string, unknown> | undefined;
|
|
226
234
|
} | undefined;
|
|
227
235
|
serverDid?: string | undefined;
|
|
236
|
+
}, {
|
|
237
|
+
nonce: string;
|
|
238
|
+
audience: string;
|
|
239
|
+
sessionId: string;
|
|
240
|
+
createdAt: number;
|
|
241
|
+
timestamp: number;
|
|
242
|
+
lastActivity: number;
|
|
228
243
|
clientDid?: string | undefined;
|
|
229
244
|
userDid?: string | undefined;
|
|
245
|
+
agentDid?: string | undefined;
|
|
230
246
|
oauthIdentity?: {
|
|
231
247
|
provider: string;
|
|
232
248
|
subject: string;
|
|
233
249
|
email?: string | undefined;
|
|
234
250
|
name?: string | undefined;
|
|
235
251
|
} | undefined;
|
|
236
|
-
}, {
|
|
237
|
-
nonce: string;
|
|
238
|
-
audience: string;
|
|
239
|
-
timestamp: number;
|
|
240
|
-
sessionId: string;
|
|
241
|
-
createdAt: number;
|
|
242
|
-
lastActivity: number;
|
|
243
|
-
agentDid?: string | undefined;
|
|
244
252
|
clientInfo?: {
|
|
245
253
|
name: string;
|
|
246
254
|
clientId: string;
|
|
247
|
-
title?: string | undefined;
|
|
248
255
|
version?: string | undefined;
|
|
249
256
|
platform?: string | undefined;
|
|
250
257
|
vendor?: string | undefined;
|
|
258
|
+
title?: string | undefined;
|
|
251
259
|
persistentId?: string | undefined;
|
|
252
260
|
protocolVersion?: string | undefined;
|
|
253
261
|
capabilities?: Record<string, unknown> | undefined;
|
|
254
262
|
} | undefined;
|
|
255
263
|
ttlMinutes?: number | undefined;
|
|
256
264
|
serverDid?: string | undefined;
|
|
257
|
-
clientDid?: string | undefined;
|
|
258
|
-
userDid?: string | undefined;
|
|
259
265
|
identityState?: "anonymous" | "authenticated" | undefined;
|
|
260
|
-
oauthIdentity?: {
|
|
261
|
-
provider: string;
|
|
262
|
-
subject: string;
|
|
263
|
-
email?: string | undefined;
|
|
264
|
-
name?: string | undefined;
|
|
265
|
-
} | undefined;
|
|
266
266
|
}>;
|
|
267
267
|
export declare const NonceCacheEntrySchema: z.ZodObject<{
|
|
268
268
|
sessionId: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kya-os/contracts",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.12",
|
|
4
4
|
"description": "Shared contracts, types, and schemas for MCP-I framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"sideEffects": false,
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@kya-os/consent": "^0.1.
|
|
98
|
+
"@kya-os/consent": "^0.1.12",
|
|
99
99
|
"zod": "^3.25.76"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|