@kya-os/contracts 1.6.19 → 1.7.1
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 +154 -154
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +26 -26
- package/dist/consent/index.d.ts +8 -2
- package/dist/consent/index.js +73 -17
- package/dist/consent/schemas.d.ts +123 -123
- package/dist/consent/schemas.js +1 -1
- package/dist/consent/types.d.ts +1 -1
- package/dist/dashboard-config/schemas.d.ts +2241 -2241
- package/dist/delegation/schemas.d.ts +34 -34
- package/dist/deploy/schemas.d.ts +110 -110
- package/dist/handshake.d.ts +4 -4
- package/dist/handshake.js +2 -2
- package/dist/proof.d.ts +12 -12
- package/dist/registry.d.ts +8 -8
- package/dist/reputation/api.d.ts +146 -146
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/reputation/schemas.d.ts +24 -24
- package/dist/test.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +18 -18
- package/dist/verifier.d.ts +8 -8
- package/dist/well-known/index.d.ts +716 -11
- package/dist/well-known/index.js +169 -1
- package/package.json +2 -1
|
@@ -1726,8 +1726,8 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1726
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1727
1727
|
status: "active" | "revoked" | "expired";
|
|
1728
1728
|
constraints: {
|
|
1729
|
-
audience?: string | string[] | undefined;
|
|
1730
1729
|
scopes?: string[] | undefined;
|
|
1730
|
+
audience?: string | string[] | undefined;
|
|
1731
1731
|
notBefore?: number | undefined;
|
|
1732
1732
|
notAfter?: number | undefined;
|
|
1733
1733
|
crisp?: z.objectOutputType<{
|
|
@@ -1784,8 +1784,8 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1784
1784
|
}, {
|
|
1785
1785
|
status: "active" | "revoked" | "expired";
|
|
1786
1786
|
constraints: {
|
|
1787
|
-
audience?: string | string[] | undefined;
|
|
1788
1787
|
scopes?: string[] | undefined;
|
|
1788
|
+
audience?: string | string[] | undefined;
|
|
1789
1789
|
notBefore?: number | undefined;
|
|
1790
1790
|
notAfter?: number | undefined;
|
|
1791
1791
|
crisp?: z.objectInputType<{
|
|
@@ -2266,8 +2266,8 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2266
2266
|
}, "strip", z.ZodTypeAny, {
|
|
2267
2267
|
status: "active" | "revoked" | "expired";
|
|
2268
2268
|
constraints: {
|
|
2269
|
-
audience?: string | string[] | undefined;
|
|
2270
2269
|
scopes?: string[] | undefined;
|
|
2270
|
+
audience?: string | string[] | undefined;
|
|
2271
2271
|
notBefore?: number | undefined;
|
|
2272
2272
|
notAfter?: number | undefined;
|
|
2273
2273
|
crisp?: z.objectOutputType<{
|
|
@@ -2324,8 +2324,8 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2324
2324
|
}, {
|
|
2325
2325
|
status: "active" | "revoked" | "expired";
|
|
2326
2326
|
constraints: {
|
|
2327
|
-
audience?: string | string[] | undefined;
|
|
2328
2327
|
scopes?: string[] | undefined;
|
|
2328
|
+
audience?: string | string[] | undefined;
|
|
2329
2329
|
notBefore?: number | undefined;
|
|
2330
2330
|
notAfter?: number | undefined;
|
|
2331
2331
|
crisp?: z.objectInputType<{
|
|
@@ -2394,8 +2394,8 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2394
2394
|
chain: {
|
|
2395
2395
|
status: "active" | "revoked" | "expired";
|
|
2396
2396
|
constraints: {
|
|
2397
|
-
audience?: string | string[] | undefined;
|
|
2398
2397
|
scopes?: string[] | undefined;
|
|
2398
|
+
audience?: string | string[] | undefined;
|
|
2399
2399
|
notBefore?: number | undefined;
|
|
2400
2400
|
notAfter?: number | undefined;
|
|
2401
2401
|
crisp?: z.objectOutputType<{
|
|
@@ -2459,8 +2459,8 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2459
2459
|
chain: {
|
|
2460
2460
|
status: "active" | "revoked" | "expired";
|
|
2461
2461
|
constraints: {
|
|
2462
|
-
audience?: string | string[] | undefined;
|
|
2463
2462
|
scopes?: string[] | undefined;
|
|
2463
|
+
audience?: string | string[] | undefined;
|
|
2464
2464
|
notBefore?: number | undefined;
|
|
2465
2465
|
notAfter?: number | undefined;
|
|
2466
2466
|
crisp?: z.objectInputType<{
|
|
@@ -2934,8 +2934,8 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2934
2934
|
vcId: z.ZodOptional<z.ZodString>;
|
|
2935
2935
|
}, "strip", z.ZodTypeAny, {
|
|
2936
2936
|
constraints: {
|
|
2937
|
-
audience?: string | string[] | undefined;
|
|
2938
2937
|
scopes?: string[] | undefined;
|
|
2938
|
+
audience?: string | string[] | undefined;
|
|
2939
2939
|
notBefore?: number | undefined;
|
|
2940
2940
|
notAfter?: number | undefined;
|
|
2941
2941
|
crisp?: z.objectOutputType<{
|
|
@@ -2991,8 +2991,8 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2991
2991
|
parentId?: string | undefined;
|
|
2992
2992
|
}, {
|
|
2993
2993
|
constraints: {
|
|
2994
|
-
audience?: string | string[] | undefined;
|
|
2995
2994
|
scopes?: string[] | undefined;
|
|
2995
|
+
audience?: string | string[] | undefined;
|
|
2996
2996
|
notBefore?: number | undefined;
|
|
2997
2997
|
notAfter?: number | undefined;
|
|
2998
2998
|
crisp?: z.objectInputType<{
|
|
@@ -3960,8 +3960,8 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
3960
3960
|
chain: {
|
|
3961
3961
|
status: "active" | "revoked" | "expired";
|
|
3962
3962
|
constraints: {
|
|
3963
|
-
audience?: string | string[] | undefined;
|
|
3964
3963
|
scopes?: string[] | undefined;
|
|
3964
|
+
audience?: string | string[] | undefined;
|
|
3965
3965
|
notBefore?: number | undefined;
|
|
3966
3966
|
notAfter?: number | undefined;
|
|
3967
3967
|
crisp?: z.objectInputType<{
|
|
@@ -4025,8 +4025,8 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4025
4025
|
chain: {
|
|
4026
4026
|
status: "active" | "revoked" | "expired";
|
|
4027
4027
|
constraints: {
|
|
4028
|
-
audience?: string | string[] | undefined;
|
|
4029
4028
|
scopes?: string[] | undefined;
|
|
4029
|
+
audience?: string | string[] | undefined;
|
|
4030
4030
|
notBefore?: number | undefined;
|
|
4031
4031
|
notAfter?: number | undefined;
|
|
4032
4032
|
crisp?: z.objectOutputType<{
|
|
@@ -4558,8 +4558,8 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4558
4558
|
status: "active" | "revoked" | "expired";
|
|
4559
4559
|
id: string;
|
|
4560
4560
|
constraints: {
|
|
4561
|
-
audience?: string | string[] | undefined;
|
|
4562
4561
|
scopes?: string[] | undefined;
|
|
4562
|
+
audience?: string | string[] | undefined;
|
|
4563
4563
|
notBefore?: number | undefined;
|
|
4564
4564
|
notAfter?: number | undefined;
|
|
4565
4565
|
crisp?: z.objectOutputType<{
|
|
@@ -4617,8 +4617,8 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4617
4617
|
}, {
|
|
4618
4618
|
id: string;
|
|
4619
4619
|
constraints: {
|
|
4620
|
-
audience?: string | string[] | undefined;
|
|
4621
4620
|
scopes?: string[] | undefined;
|
|
4621
|
+
audience?: string | string[] | undefined;
|
|
4622
4622
|
notBefore?: number | undefined;
|
|
4623
4623
|
notAfter?: number | undefined;
|
|
4624
4624
|
crisp?: z.objectInputType<{
|
|
@@ -4680,8 +4680,8 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4680
4680
|
status: "active" | "revoked" | "expired";
|
|
4681
4681
|
id: string;
|
|
4682
4682
|
constraints: {
|
|
4683
|
-
audience?: string | string[] | undefined;
|
|
4684
4683
|
scopes?: string[] | undefined;
|
|
4684
|
+
audience?: string | string[] | undefined;
|
|
4685
4685
|
notBefore?: number | undefined;
|
|
4686
4686
|
notAfter?: number | undefined;
|
|
4687
4687
|
crisp?: z.objectOutputType<{
|
|
@@ -4742,8 +4742,8 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4742
4742
|
delegation: {
|
|
4743
4743
|
id: string;
|
|
4744
4744
|
constraints: {
|
|
4745
|
-
audience?: string | string[] | undefined;
|
|
4746
4745
|
scopes?: string[] | undefined;
|
|
4746
|
+
audience?: string | string[] | undefined;
|
|
4747
4747
|
notBefore?: number | undefined;
|
|
4748
4748
|
notAfter?: number | undefined;
|
|
4749
4749
|
crisp?: z.objectInputType<{
|
|
@@ -5263,8 +5263,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5263
5263
|
status: "active" | "revoked" | "expired";
|
|
5264
5264
|
id: string;
|
|
5265
5265
|
constraints: {
|
|
5266
|
-
audience?: string | string[] | undefined;
|
|
5267
5266
|
scopes?: string[] | undefined;
|
|
5267
|
+
audience?: string | string[] | undefined;
|
|
5268
5268
|
notBefore?: number | undefined;
|
|
5269
5269
|
notAfter?: number | undefined;
|
|
5270
5270
|
crisp?: z.objectOutputType<{
|
|
@@ -5322,8 +5322,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5322
5322
|
}, {
|
|
5323
5323
|
id: string;
|
|
5324
5324
|
constraints: {
|
|
5325
|
-
audience?: string | string[] | undefined;
|
|
5326
5325
|
scopes?: string[] | undefined;
|
|
5326
|
+
audience?: string | string[] | undefined;
|
|
5327
5327
|
notBefore?: number | undefined;
|
|
5328
5328
|
notAfter?: number | undefined;
|
|
5329
5329
|
crisp?: z.objectInputType<{
|
|
@@ -5385,8 +5385,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5385
5385
|
status: "active" | "revoked" | "expired";
|
|
5386
5386
|
id: string;
|
|
5387
5387
|
constraints: {
|
|
5388
|
-
audience?: string | string[] | undefined;
|
|
5389
5388
|
scopes?: string[] | undefined;
|
|
5389
|
+
audience?: string | string[] | undefined;
|
|
5390
5390
|
notBefore?: number | undefined;
|
|
5391
5391
|
notAfter?: number | undefined;
|
|
5392
5392
|
crisp?: z.objectOutputType<{
|
|
@@ -5447,8 +5447,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5447
5447
|
delegation: {
|
|
5448
5448
|
id: string;
|
|
5449
5449
|
constraints: {
|
|
5450
|
-
audience?: string | string[] | undefined;
|
|
5451
5450
|
scopes?: string[] | undefined;
|
|
5451
|
+
audience?: string | string[] | undefined;
|
|
5452
5452
|
notBefore?: number | undefined;
|
|
5453
5453
|
notAfter?: number | undefined;
|
|
5454
5454
|
crisp?: z.objectInputType<{
|
|
@@ -5979,8 +5979,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5979
5979
|
status: "active" | "revoked" | "expired";
|
|
5980
5980
|
id: string;
|
|
5981
5981
|
constraints: {
|
|
5982
|
-
audience?: string | string[] | undefined;
|
|
5983
5982
|
scopes?: string[] | undefined;
|
|
5983
|
+
audience?: string | string[] | undefined;
|
|
5984
5984
|
notBefore?: number | undefined;
|
|
5985
5985
|
notAfter?: number | undefined;
|
|
5986
5986
|
crisp?: z.objectOutputType<{
|
|
@@ -6038,8 +6038,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6038
6038
|
}, {
|
|
6039
6039
|
id: string;
|
|
6040
6040
|
constraints: {
|
|
6041
|
-
audience?: string | string[] | undefined;
|
|
6042
6041
|
scopes?: string[] | undefined;
|
|
6042
|
+
audience?: string | string[] | undefined;
|
|
6043
6043
|
notBefore?: number | undefined;
|
|
6044
6044
|
notAfter?: number | undefined;
|
|
6045
6045
|
crisp?: z.objectInputType<{
|
|
@@ -6101,8 +6101,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6101
6101
|
status: "active" | "revoked" | "expired";
|
|
6102
6102
|
id: string;
|
|
6103
6103
|
constraints: {
|
|
6104
|
-
audience?: string | string[] | undefined;
|
|
6105
6104
|
scopes?: string[] | undefined;
|
|
6105
|
+
audience?: string | string[] | undefined;
|
|
6106
6106
|
notBefore?: number | undefined;
|
|
6107
6107
|
notAfter?: number | undefined;
|
|
6108
6108
|
crisp?: z.objectOutputType<{
|
|
@@ -6163,8 +6163,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6163
6163
|
delegation: {
|
|
6164
6164
|
id: string;
|
|
6165
6165
|
constraints: {
|
|
6166
|
-
audience?: string | string[] | undefined;
|
|
6167
6166
|
scopes?: string[] | undefined;
|
|
6167
|
+
audience?: string | string[] | undefined;
|
|
6168
6168
|
notBefore?: number | undefined;
|
|
6169
6169
|
notAfter?: number | undefined;
|
|
6170
6170
|
crisp?: z.objectInputType<{
|
|
@@ -6695,8 +6695,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6695
6695
|
status: "active" | "revoked" | "expired";
|
|
6696
6696
|
id: string;
|
|
6697
6697
|
constraints: {
|
|
6698
|
-
audience?: string | string[] | undefined;
|
|
6699
6698
|
scopes?: string[] | undefined;
|
|
6699
|
+
audience?: string | string[] | undefined;
|
|
6700
6700
|
notBefore?: number | undefined;
|
|
6701
6701
|
notAfter?: number | undefined;
|
|
6702
6702
|
crisp?: z.objectOutputType<{
|
|
@@ -6754,8 +6754,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6754
6754
|
}, {
|
|
6755
6755
|
id: string;
|
|
6756
6756
|
constraints: {
|
|
6757
|
-
audience?: string | string[] | undefined;
|
|
6758
6757
|
scopes?: string[] | undefined;
|
|
6758
|
+
audience?: string | string[] | undefined;
|
|
6759
6759
|
notBefore?: number | undefined;
|
|
6760
6760
|
notAfter?: number | undefined;
|
|
6761
6761
|
crisp?: z.objectInputType<{
|
|
@@ -6817,8 +6817,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6817
6817
|
status: "active" | "revoked" | "expired";
|
|
6818
6818
|
id: string;
|
|
6819
6819
|
constraints: {
|
|
6820
|
-
audience?: string | string[] | undefined;
|
|
6821
6820
|
scopes?: string[] | undefined;
|
|
6821
|
+
audience?: string | string[] | undefined;
|
|
6822
6822
|
notBefore?: number | undefined;
|
|
6823
6823
|
notAfter?: number | undefined;
|
|
6824
6824
|
crisp?: z.objectOutputType<{
|
|
@@ -6879,8 +6879,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6879
6879
|
delegation: {
|
|
6880
6880
|
id: string;
|
|
6881
6881
|
constraints: {
|
|
6882
|
-
audience?: string | string[] | undefined;
|
|
6883
6882
|
scopes?: string[] | undefined;
|
|
6883
|
+
audience?: string | string[] | undefined;
|
|
6884
6884
|
notBefore?: number | undefined;
|
|
6885
6885
|
notAfter?: number | undefined;
|
|
6886
6886
|
crisp?: z.objectInputType<{
|
|
@@ -7419,8 +7419,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7419
7419
|
status: "active" | "revoked" | "expired";
|
|
7420
7420
|
id: string;
|
|
7421
7421
|
constraints: {
|
|
7422
|
-
audience?: string | string[] | undefined;
|
|
7423
7422
|
scopes?: string[] | undefined;
|
|
7423
|
+
audience?: string | string[] | undefined;
|
|
7424
7424
|
notBefore?: number | undefined;
|
|
7425
7425
|
notAfter?: number | undefined;
|
|
7426
7426
|
crisp?: z.objectOutputType<{
|
|
@@ -7478,8 +7478,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7478
7478
|
}, {
|
|
7479
7479
|
id: string;
|
|
7480
7480
|
constraints: {
|
|
7481
|
-
audience?: string | string[] | undefined;
|
|
7482
7481
|
scopes?: string[] | undefined;
|
|
7482
|
+
audience?: string | string[] | undefined;
|
|
7483
7483
|
notBefore?: number | undefined;
|
|
7484
7484
|
notAfter?: number | undefined;
|
|
7485
7485
|
crisp?: z.objectInputType<{
|
|
@@ -7541,8 +7541,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7541
7541
|
status: "active" | "revoked" | "expired";
|
|
7542
7542
|
id: string;
|
|
7543
7543
|
constraints: {
|
|
7544
|
-
audience?: string | string[] | undefined;
|
|
7545
7544
|
scopes?: string[] | undefined;
|
|
7545
|
+
audience?: string | string[] | undefined;
|
|
7546
7546
|
notBefore?: number | undefined;
|
|
7547
7547
|
notAfter?: number | undefined;
|
|
7548
7548
|
crisp?: z.objectOutputType<{
|
|
@@ -7603,8 +7603,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7603
7603
|
delegation: {
|
|
7604
7604
|
id: string;
|
|
7605
7605
|
constraints: {
|
|
7606
|
-
audience?: string | string[] | undefined;
|
|
7607
7606
|
scopes?: string[] | undefined;
|
|
7607
|
+
audience?: string | string[] | undefined;
|
|
7608
7608
|
notBefore?: number | undefined;
|
|
7609
7609
|
notAfter?: number | undefined;
|
|
7610
7610
|
crisp?: z.objectInputType<{
|
|
@@ -8135,8 +8135,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8135
8135
|
status: "active" | "revoked" | "expired";
|
|
8136
8136
|
id: string;
|
|
8137
8137
|
constraints: {
|
|
8138
|
-
audience?: string | string[] | undefined;
|
|
8139
8138
|
scopes?: string[] | undefined;
|
|
8139
|
+
audience?: string | string[] | undefined;
|
|
8140
8140
|
notBefore?: number | undefined;
|
|
8141
8141
|
notAfter?: number | undefined;
|
|
8142
8142
|
crisp?: z.objectOutputType<{
|
|
@@ -8194,8 +8194,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8194
8194
|
}, {
|
|
8195
8195
|
id: string;
|
|
8196
8196
|
constraints: {
|
|
8197
|
-
audience?: string | string[] | undefined;
|
|
8198
8197
|
scopes?: string[] | undefined;
|
|
8198
|
+
audience?: string | string[] | undefined;
|
|
8199
8199
|
notBefore?: number | undefined;
|
|
8200
8200
|
notAfter?: number | undefined;
|
|
8201
8201
|
crisp?: z.objectInputType<{
|
|
@@ -8257,8 +8257,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8257
8257
|
status: "active" | "revoked" | "expired";
|
|
8258
8258
|
id: string;
|
|
8259
8259
|
constraints: {
|
|
8260
|
-
audience?: string | string[] | undefined;
|
|
8261
8260
|
scopes?: string[] | undefined;
|
|
8261
|
+
audience?: string | string[] | undefined;
|
|
8262
8262
|
notBefore?: number | undefined;
|
|
8263
8263
|
notAfter?: number | undefined;
|
|
8264
8264
|
crisp?: z.objectOutputType<{
|
|
@@ -8319,8 +8319,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8319
8319
|
delegation: {
|
|
8320
8320
|
id: string;
|
|
8321
8321
|
constraints: {
|
|
8322
|
-
audience?: string | string[] | undefined;
|
|
8323
8322
|
scopes?: string[] | undefined;
|
|
8323
|
+
audience?: string | string[] | undefined;
|
|
8324
8324
|
notBefore?: number | undefined;
|
|
8325
8325
|
notAfter?: number | undefined;
|
|
8326
8326
|
crisp?: z.objectInputType<{
|