@kya-os/contracts 1.8.0 → 1.8.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/agent-deployment-utils.d.ts +0 -1
- package/dist/agent-deployment-utils.js +0 -1
- package/dist/agent-deployment.d.ts +0 -1
- package/dist/agent-deployment.js +0 -1
- package/dist/agentshield-api/admin-schemas.d.ts +0 -1
- package/dist/agentshield-api/admin-schemas.js +0 -1
- package/dist/agentshield-api/admin-types.d.ts +0 -1
- package/dist/agentshield-api/admin-types.js +0 -1
- package/dist/agentshield-api/endpoints.d.ts +0 -1
- package/dist/agentshield-api/endpoints.js +0 -1
- package/dist/agentshield-api/index.d.ts +0 -1
- package/dist/agentshield-api/index.js +0 -1
- package/dist/agentshield-api/schemas.d.ts +6 -7
- package/dist/agentshield-api/schemas.js +0 -1
- package/dist/agentshield-api/types.d.ts +0 -1
- package/dist/agentshield-api/types.js +0 -1
- package/dist/audit/index.d.ts +21 -21
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -1
- package/dist/compute-binding.d.ts +0 -1
- package/dist/compute-binding.js +0 -1
- package/dist/compute.d.ts +0 -1
- package/dist/compute.js +0 -1
- package/dist/config/base.d.ts +0 -1
- package/dist/config/base.js +0 -1
- package/dist/config/builder.d.ts +0 -1
- package/dist/config/builder.js +0 -1
- package/dist/config/client-messages.d.ts +0 -1
- package/dist/config/client-messages.js +0 -1
- package/dist/config/delegation.d.ts +0 -1
- package/dist/config/delegation.js +0 -1
- package/dist/config/identity.d.ts +0 -1
- package/dist/config/identity.js +0 -1
- package/dist/config/index.d.ts +0 -1
- package/dist/config/index.js +0 -1
- package/dist/config/proofing.d.ts +0 -1
- package/dist/config/proofing.js +0 -1
- package/dist/config/tool-context.d.ts +0 -1
- package/dist/config/tool-context.js +0 -1
- package/dist/config/tool-protection.d.ts +0 -1
- package/dist/consent/index.d.ts +2 -3
- package/dist/consent/index.js +14 -3
- package/dist/consent/schemas.d.ts +0 -1
- package/dist/consent/schemas.js +0 -1
- package/dist/consent/types.d.ts +0 -1
- package/dist/consent/types.js +0 -1
- package/dist/dashboard-config/default-config.d.ts +0 -1
- package/dist/dashboard-config/index.d.ts +0 -1
- package/dist/dashboard-config/schemas.d.ts +2436 -2436
- package/dist/dashboard-config/types.d.ts +0 -1
- package/dist/delegation/constraints.d.ts +0 -1
- package/dist/delegation/constraints.js +0 -1
- package/dist/delegation/index.d.ts +0 -1
- package/dist/delegation/index.js +0 -1
- package/dist/delegation/schemas.d.ts +0 -1
- package/dist/delegation/schemas.js +0 -1
- package/dist/deploy/index.d.ts +0 -1
- package/dist/deploy/index.js +0 -1
- package/dist/deploy/schemas.d.ts +0 -1
- package/dist/deploy/schemas.js +0 -1
- package/dist/deploy/types.d.ts +0 -1
- package/dist/deploy/types.js +0 -1
- package/dist/did/index.d.ts +0 -1
- package/dist/did/index.js +0 -1
- package/dist/did/resolve-contract.d.ts +0 -1
- package/dist/did/resolve-contract.js +0 -1
- package/dist/did/schemas.d.ts +0 -1
- package/dist/did/schemas.js +0 -1
- package/dist/did/types.d.ts +0 -1
- package/dist/did/types.js +0 -1
- package/dist/env/constants.d.ts +0 -1
- package/dist/env/constants.js +0 -1
- package/dist/env/index.d.ts +0 -1
- package/dist/env/index.js +0 -1
- package/dist/gateway/agents.d.ts +0 -1
- package/dist/gateway/agents.js +0 -1
- package/dist/gateway/cron.d.ts +0 -1
- package/dist/gateway/cron.js +0 -1
- package/dist/gateway/index.d.ts +0 -1
- package/dist/gateway/index.js +0 -1
- package/dist/gateway/sessions.d.ts +0 -1
- package/dist/gateway/sessions.js +0 -1
- package/dist/gateway/skills.d.ts +0 -1
- package/dist/gateway/skills.js +0 -1
- package/dist/gateway/usage.d.ts +0 -1
- package/dist/gateway/usage.js +0 -1
- package/dist/handshake.d.ts +24 -24
- package/dist/identity/index.d.ts +0 -1
- package/dist/identity/index.js +0 -1
- package/dist/identity/schemas.d.ts +0 -1
- package/dist/identity/schemas.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/molti/admin-ws.d.ts +0 -1
- package/dist/molti/admin-ws.js +0 -1
- package/dist/molti/index.d.ts +0 -1
- package/dist/molti/index.js +0 -1
- package/dist/molti/schemas.d.ts +0 -1
- package/dist/molti/schemas.js +0 -1
- package/dist/molti/types.d.ts +0 -1
- package/dist/molti/types.js +0 -1
- package/dist/pairing/index.d.ts +0 -1
- package/dist/pairing/index.js +0 -1
- package/dist/policy/index.d.ts +0 -1
- package/dist/policy/index.js +0 -1
- package/dist/policy/schemas.d.ts +0 -1
- package/dist/policy/schemas.js +0 -1
- package/dist/proof/index.d.ts +0 -1
- package/dist/proof/index.js +0 -1
- package/dist/proof/proof-record.d.ts +0 -1
- package/dist/proof/proof-record.js +0 -1
- package/dist/proof/signing-spec.d.ts +0 -1
- package/dist/proof/signing-spec.js +0 -1
- package/dist/proof.d.ts +12 -13
- package/dist/proof.js +0 -1
- package/dist/registry.d.ts +0 -1
- package/dist/registry.js +0 -1
- package/dist/reputation/api.d.ts +0 -1
- package/dist/reputation/api.js +0 -1
- package/dist/reputation/constants.d.ts +0 -1
- package/dist/reputation/constants.js +0 -1
- package/dist/reputation/credentials.d.ts +0 -1
- package/dist/reputation/credentials.js +0 -1
- package/dist/reputation/index.d.ts +0 -1
- package/dist/reputation/index.js +0 -1
- package/dist/reputation/schemas.d.ts +0 -1
- package/dist/reputation/schemas.js +0 -1
- package/dist/runtime/errors.d.ts +0 -1
- package/dist/runtime/errors.js +0 -1
- package/dist/runtime/index.d.ts +0 -1
- package/dist/test.d.ts +0 -1
- package/dist/test.js +0 -1
- package/dist/tlkrc/index.d.ts +0 -1
- package/dist/tlkrc/index.js +0 -1
- package/dist/tlkrc/rotation.d.ts +0 -1
- package/dist/tlkrc/rotation.js +0 -1
- package/dist/tool-protection/index.d.ts +36 -36
- package/dist/utils/validation.d.ts +0 -1
- package/dist/utils/validation.js +0 -1
- package/dist/vault/schemas.d.ts +2 -2
- package/dist/vc/index.d.ts +0 -1
- package/dist/vc/index.js +0 -1
- package/dist/vc/schemas.d.ts +0 -1
- package/dist/vc/schemas.js +0 -1
- package/dist/vc/statuslist.d.ts +0 -1
- package/dist/vc/statuslist.js +0 -1
- package/dist/verifier/index.d.ts +0 -1
- package/dist/verifier.d.ts +14 -14
- package/dist/well-known/index.d.ts +0 -1
- package/dist/well-known/index.js +0 -1
- package/package.json +1 -1
- package/dist/__fixtures__/index.d.ts +0 -8
- package/dist/__fixtures__/index.d.ts.map +0 -1
- package/dist/__fixtures__/index.js +0 -29
- package/dist/__fixtures__/index.js.map +0 -1
- package/dist/__fixtures__/proof/ed25519-fixtures.d.ts +0 -253
- package/dist/__fixtures__/proof/ed25519-fixtures.d.ts.map +0 -1
- package/dist/__fixtures__/proof/ed25519-fixtures.js +0 -247
- package/dist/__fixtures__/proof/ed25519-fixtures.js.map +0 -1
- package/dist/__fixtures__/proof/keys-and-payloads.json +0 -103
- package/dist/agent-deployment-utils.d.ts.map +0 -1
- package/dist/agent-deployment-utils.js.map +0 -1
- package/dist/agent-deployment.d.ts.map +0 -1
- package/dist/agent-deployment.js.map +0 -1
- package/dist/agentshield-api/admin-schemas.d.ts.map +0 -1
- package/dist/agentshield-api/admin-schemas.js.map +0 -1
- package/dist/agentshield-api/admin-types.d.ts.map +0 -1
- package/dist/agentshield-api/admin-types.js.map +0 -1
- package/dist/agentshield-api/endpoints.d.ts.map +0 -1
- package/dist/agentshield-api/endpoints.js.map +0 -1
- package/dist/agentshield-api/index.d.ts.map +0 -1
- package/dist/agentshield-api/index.js.map +0 -1
- package/dist/agentshield-api/schemas.d.ts.map +0 -1
- package/dist/agentshield-api/schemas.js.map +0 -1
- package/dist/agentshield-api/types.d.ts.map +0 -1
- package/dist/agentshield-api/types.js.map +0 -1
- package/dist/audit/index.d.ts.map +0 -1
- package/dist/audit/index.js.map +0 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/compute-binding.d.ts.map +0 -1
- package/dist/compute-binding.js.map +0 -1
- package/dist/compute.d.ts.map +0 -1
- package/dist/compute.js.map +0 -1
- package/dist/config/base.d.ts.map +0 -1
- package/dist/config/base.js.map +0 -1
- package/dist/config/builder.d.ts.map +0 -1
- package/dist/config/builder.js.map +0 -1
- package/dist/config/client-messages.d.ts.map +0 -1
- package/dist/config/client-messages.js.map +0 -1
- package/dist/config/delegation.d.ts.map +0 -1
- package/dist/config/delegation.js.map +0 -1
- package/dist/config/identity.d.ts.map +0 -1
- package/dist/config/identity.js.map +0 -1
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js.map +0 -1
- package/dist/config/proofing.d.ts.map +0 -1
- package/dist/config/proofing.js.map +0 -1
- package/dist/config/tool-context.d.ts.map +0 -1
- package/dist/config/tool-context.js.map +0 -1
- package/dist/config/tool-protection.d.ts.map +0 -1
- package/dist/config/tool-protection.js.map +0 -1
- package/dist/consent/index.d.ts.map +0 -1
- package/dist/consent/index.js.map +0 -1
- package/dist/consent/schemas.d.ts.map +0 -1
- package/dist/consent/schemas.js.map +0 -1
- package/dist/consent/types.d.ts.map +0 -1
- package/dist/consent/types.js.map +0 -1
- package/dist/dashboard-config/default-config.d.ts.map +0 -1
- package/dist/dashboard-config/default-config.js.map +0 -1
- package/dist/dashboard-config/index.d.ts.map +0 -1
- package/dist/dashboard-config/index.js.map +0 -1
- package/dist/dashboard-config/schemas.d.ts.map +0 -1
- package/dist/dashboard-config/schemas.js.map +0 -1
- package/dist/dashboard-config/types.d.ts.map +0 -1
- package/dist/dashboard-config/types.js.map +0 -1
- package/dist/delegation/constraints.d.ts.map +0 -1
- package/dist/delegation/constraints.js.map +0 -1
- package/dist/delegation/index.d.ts.map +0 -1
- package/dist/delegation/index.js.map +0 -1
- package/dist/delegation/schemas.d.ts.map +0 -1
- package/dist/delegation/schemas.js.map +0 -1
- package/dist/deploy/index.d.ts.map +0 -1
- package/dist/deploy/index.js.map +0 -1
- package/dist/deploy/schemas.d.ts.map +0 -1
- package/dist/deploy/schemas.js.map +0 -1
- package/dist/deploy/types.d.ts.map +0 -1
- package/dist/deploy/types.js.map +0 -1
- package/dist/did/index.d.ts.map +0 -1
- package/dist/did/index.js.map +0 -1
- package/dist/did/resolve-contract.d.ts.map +0 -1
- package/dist/did/resolve-contract.js.map +0 -1
- package/dist/did/schemas.d.ts.map +0 -1
- package/dist/did/schemas.js.map +0 -1
- package/dist/did/types.d.ts.map +0 -1
- package/dist/did/types.js.map +0 -1
- package/dist/env/constants.d.ts.map +0 -1
- package/dist/env/constants.js.map +0 -1
- package/dist/env/index.d.ts.map +0 -1
- package/dist/env/index.js.map +0 -1
- package/dist/gateway/agents.d.ts.map +0 -1
- package/dist/gateway/agents.js.map +0 -1
- package/dist/gateway/cron.d.ts.map +0 -1
- package/dist/gateway/cron.js.map +0 -1
- package/dist/gateway/index.d.ts.map +0 -1
- package/dist/gateway/index.js.map +0 -1
- package/dist/gateway/sessions.d.ts.map +0 -1
- package/dist/gateway/sessions.js.map +0 -1
- package/dist/gateway/skills.d.ts.map +0 -1
- package/dist/gateway/skills.js.map +0 -1
- package/dist/gateway/usage.d.ts.map +0 -1
- package/dist/gateway/usage.js.map +0 -1
- package/dist/handshake.d.ts.map +0 -1
- package/dist/handshake.js.map +0 -1
- package/dist/identity/index.d.ts.map +0 -1
- package/dist/identity/index.js.map +0 -1
- package/dist/identity/schemas.d.ts.map +0 -1
- package/dist/identity/schemas.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/molti/admin-ws.d.ts.map +0 -1
- package/dist/molti/admin-ws.js.map +0 -1
- package/dist/molti/index.d.ts.map +0 -1
- package/dist/molti/index.js.map +0 -1
- package/dist/molti/schemas.d.ts.map +0 -1
- package/dist/molti/schemas.js.map +0 -1
- package/dist/molti/types.d.ts.map +0 -1
- package/dist/molti/types.js.map +0 -1
- package/dist/openclaw/index.d.ts +0 -20
- package/dist/openclaw/index.js +0 -28
- package/dist/openclaw/types.d.ts +0 -714
- package/dist/openclaw/types.js +0 -122
- package/dist/org-secret-definitions.d.ts +0 -18
- package/dist/org-secret-definitions.js +0 -72
- package/dist/pairing/index.d.ts.map +0 -1
- package/dist/pairing/index.js.map +0 -1
- package/dist/policy/index.d.ts.map +0 -1
- package/dist/policy/index.js.map +0 -1
- package/dist/policy/schemas.d.ts.map +0 -1
- package/dist/policy/schemas.js.map +0 -1
- package/dist/proof/index.d.ts.map +0 -1
- package/dist/proof/index.js.map +0 -1
- package/dist/proof/proof-record.d.ts.map +0 -1
- package/dist/proof/proof-record.js.map +0 -1
- package/dist/proof/signing-spec.d.ts.map +0 -1
- package/dist/proof/signing-spec.js.map +0 -1
- package/dist/proof.d.ts.map +0 -1
- package/dist/proof.js.map +0 -1
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js.map +0 -1
- package/dist/reputation/api.d.ts.map +0 -1
- package/dist/reputation/api.js.map +0 -1
- package/dist/reputation/constants.d.ts.map +0 -1
- package/dist/reputation/constants.js.map +0 -1
- package/dist/reputation/credentials.d.ts.map +0 -1
- package/dist/reputation/credentials.js.map +0 -1
- package/dist/reputation/index.d.ts.map +0 -1
- package/dist/reputation/index.js.map +0 -1
- package/dist/reputation/schemas.d.ts.map +0 -1
- package/dist/reputation/schemas.js.map +0 -1
- package/dist/runtime/errors.d.ts.map +0 -1
- package/dist/runtime/errors.js.map +0 -1
- package/dist/runtime/headers.d.ts.map +0 -1
- package/dist/runtime/headers.js.map +0 -1
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js.map +0 -1
- package/dist/test.d.ts.map +0 -1
- package/dist/test.js.map +0 -1
- package/dist/tlkrc/index.d.ts.map +0 -1
- package/dist/tlkrc/index.js.map +0 -1
- package/dist/tlkrc/rotation.d.ts.map +0 -1
- package/dist/tlkrc/rotation.js.map +0 -1
- package/dist/tool-protection/index.d.ts.map +0 -1
- package/dist/tool-protection/index.js.map +0 -1
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/validation.js.map +0 -1
- package/dist/vc/index.d.ts.map +0 -1
- package/dist/vc/index.js.map +0 -1
- package/dist/vc/schemas.d.ts.map +0 -1
- package/dist/vc/schemas.js.map +0 -1
- package/dist/vc/statuslist.d.ts.map +0 -1
- package/dist/vc/statuslist.js.map +0 -1
- package/dist/verifier/index.d.ts.map +0 -1
- package/dist/verifier/index.js.map +0 -1
- package/dist/verifier.d.ts.map +0 -1
- package/dist/verifier.js.map +0 -1
- package/dist/well-known/index.d.ts.map +0 -1
- package/dist/well-known/index.js.map +0 -1
package/dist/proof.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare const ProofMetaSchema: z.ZodObject<{
|
|
|
31
31
|
requestHash: string;
|
|
32
32
|
responseHash: string;
|
|
33
33
|
clientDid?: string | undefined;
|
|
34
|
-
scopeId?: string | undefined;
|
|
35
34
|
delegationRef?: string | undefined;
|
|
35
|
+
scopeId?: string | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
did: string;
|
|
38
38
|
kid: string;
|
|
@@ -43,8 +43,8 @@ export declare const ProofMetaSchema: z.ZodObject<{
|
|
|
43
43
|
requestHash: string;
|
|
44
44
|
responseHash: string;
|
|
45
45
|
clientDid?: string | undefined;
|
|
46
|
-
scopeId?: string | undefined;
|
|
47
46
|
delegationRef?: string | undefined;
|
|
47
|
+
scopeId?: string | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
export declare const DetachedProofSchema: z.ZodObject<{
|
|
50
50
|
jws: z.ZodString;
|
|
@@ -70,8 +70,8 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
70
70
|
requestHash: string;
|
|
71
71
|
responseHash: string;
|
|
72
72
|
clientDid?: string | undefined;
|
|
73
|
-
scopeId?: string | undefined;
|
|
74
73
|
delegationRef?: string | undefined;
|
|
74
|
+
scopeId?: string | undefined;
|
|
75
75
|
}, {
|
|
76
76
|
did: string;
|
|
77
77
|
kid: string;
|
|
@@ -82,8 +82,8 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
82
82
|
requestHash: string;
|
|
83
83
|
responseHash: string;
|
|
84
84
|
clientDid?: string | undefined;
|
|
85
|
-
scopeId?: string | undefined;
|
|
86
85
|
delegationRef?: string | undefined;
|
|
86
|
+
scopeId?: string | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
jws: string;
|
|
@@ -97,8 +97,8 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
97
97
|
requestHash: string;
|
|
98
98
|
responseHash: string;
|
|
99
99
|
clientDid?: string | undefined;
|
|
100
|
-
scopeId?: string | undefined;
|
|
101
100
|
delegationRef?: string | undefined;
|
|
101
|
+
scopeId?: string | undefined;
|
|
102
102
|
};
|
|
103
103
|
}, {
|
|
104
104
|
jws: string;
|
|
@@ -112,8 +112,8 @@ export declare const DetachedProofSchema: z.ZodObject<{
|
|
|
112
112
|
requestHash: string;
|
|
113
113
|
responseHash: string;
|
|
114
114
|
clientDid?: string | undefined;
|
|
115
|
-
scopeId?: string | undefined;
|
|
116
115
|
delegationRef?: string | undefined;
|
|
116
|
+
scopeId?: string | undefined;
|
|
117
117
|
};
|
|
118
118
|
}>;
|
|
119
119
|
export declare const CanonicalHashesSchema: z.ZodObject<{
|
|
@@ -264,8 +264,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
264
264
|
requestHash: string;
|
|
265
265
|
responseHash: string;
|
|
266
266
|
clientDid?: string | undefined;
|
|
267
|
-
scopeId?: string | undefined;
|
|
268
267
|
delegationRef?: string | undefined;
|
|
268
|
+
scopeId?: string | undefined;
|
|
269
269
|
}, {
|
|
270
270
|
did: string;
|
|
271
271
|
kid: string;
|
|
@@ -276,8 +276,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
276
276
|
requestHash: string;
|
|
277
277
|
responseHash: string;
|
|
278
278
|
clientDid?: string | undefined;
|
|
279
|
-
scopeId?: string | undefined;
|
|
280
279
|
delegationRef?: string | undefined;
|
|
280
|
+
scopeId?: string | undefined;
|
|
281
281
|
}>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
jws: string;
|
|
@@ -291,8 +291,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
291
291
|
requestHash: string;
|
|
292
292
|
responseHash: string;
|
|
293
293
|
clientDid?: string | undefined;
|
|
294
|
-
scopeId?: string | undefined;
|
|
295
294
|
delegationRef?: string | undefined;
|
|
295
|
+
scopeId?: string | undefined;
|
|
296
296
|
};
|
|
297
297
|
}, {
|
|
298
298
|
jws: string;
|
|
@@ -306,8 +306,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
306
306
|
requestHash: string;
|
|
307
307
|
responseHash: string;
|
|
308
308
|
clientDid?: string | undefined;
|
|
309
|
-
scopeId?: string | undefined;
|
|
310
309
|
delegationRef?: string | undefined;
|
|
310
|
+
scopeId?: string | undefined;
|
|
311
311
|
};
|
|
312
312
|
}>, "many">;
|
|
313
313
|
context: z.ZodOptional<z.ZodObject<{
|
|
@@ -364,8 +364,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
364
364
|
requestHash: string;
|
|
365
365
|
responseHash: string;
|
|
366
366
|
clientDid?: string | undefined;
|
|
367
|
-
scopeId?: string | undefined;
|
|
368
367
|
delegationRef?: string | undefined;
|
|
368
|
+
scopeId?: string | undefined;
|
|
369
369
|
};
|
|
370
370
|
}[];
|
|
371
371
|
delegation_id?: string | null | undefined;
|
|
@@ -393,8 +393,8 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
393
393
|
requestHash: string;
|
|
394
394
|
responseHash: string;
|
|
395
395
|
clientDid?: string | undefined;
|
|
396
|
-
scopeId?: string | undefined;
|
|
397
396
|
delegationRef?: string | undefined;
|
|
397
|
+
scopeId?: string | undefined;
|
|
398
398
|
};
|
|
399
399
|
}[];
|
|
400
400
|
delegation_id?: string | null | undefined;
|
|
@@ -412,4 +412,3 @@ export declare const ProofSubmissionRequestSchema: z.ZodObject<{
|
|
|
412
412
|
export type ToolCallContext = z.infer<typeof ToolCallContextSchema>;
|
|
413
413
|
export type ProofSubmissionContext = z.infer<typeof ProofSubmissionContextSchema>;
|
|
414
414
|
export type ProofSubmissionRequest = z.infer<typeof ProofSubmissionRequestSchema>;
|
|
415
|
-
//# sourceMappingURL=proof.d.ts.map
|
package/dist/proof.js
CHANGED
package/dist/registry.d.ts
CHANGED
|
@@ -340,4 +340,3 @@ export declare const DEFAULT_STORAGE_MODE: StorageMode;
|
|
|
340
340
|
export declare const STORAGE_MODE_ENV_VAR = "MCPI_STORAGE_MODE";
|
|
341
341
|
export declare const RECEIPT_SCHEMA_ID = "https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json";
|
|
342
342
|
export declare const CONTENT_HASH_REGEX: RegExp;
|
|
343
|
-
//# sourceMappingURL=registry.d.ts.map
|
package/dist/registry.js
CHANGED
|
@@ -116,4 +116,3 @@ exports.STORAGE_MODE_ENV_VAR = "MCPI_STORAGE_MODE";
|
|
|
116
116
|
// Receipt schema constants
|
|
117
117
|
exports.RECEIPT_SCHEMA_ID = "https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json";
|
|
118
118
|
exports.CONTENT_HASH_REGEX = /^sha256:[a-f0-9]{64}$/;
|
|
119
|
-
//# sourceMappingURL=registry.js.map
|
package/dist/reputation/api.d.ts
CHANGED
package/dist/reputation/api.js
CHANGED
|
@@ -1491,4 +1491,3 @@ export declare const DEFAULT_REPUTATION_CREDENTIAL_VALIDITY_MS: number;
|
|
|
1491
1491
|
* Recommended maximum age for reputation scores (24 hours)
|
|
1492
1492
|
*/
|
|
1493
1493
|
export declare const RECOMMENDED_REPUTATION_FRESHNESS_MS: number;
|
|
1494
|
-
//# sourceMappingURL=credentials.d.ts.map
|
package/dist/reputation/index.js
CHANGED
|
@@ -1598,4 +1598,3 @@ export declare function calculateConfidence(interactionCount: number, kValue?: n
|
|
|
1598
1598
|
* @returns true if score should be marked provisional
|
|
1599
1599
|
*/
|
|
1600
1600
|
export declare function isProvisionalScore(data: AgentData): boolean;
|
|
1601
|
-
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/runtime/errors.d.ts
CHANGED
package/dist/runtime/errors.js
CHANGED
package/dist/runtime/index.d.ts
CHANGED
package/dist/test.d.ts
CHANGED
package/dist/test.js
CHANGED
package/dist/tlkrc/index.d.ts
CHANGED
package/dist/tlkrc/index.js
CHANGED
package/dist/tlkrc/rotation.d.ts
CHANGED
package/dist/tlkrc/rotation.js
CHANGED
|
@@ -233,15 +233,15 @@ export declare const AuthRequiredErrorDataSchema: z.ZodObject<{
|
|
|
233
233
|
configUrl: z.ZodString;
|
|
234
234
|
message: z.ZodString;
|
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
error: "auth_required";
|
|
237
236
|
message: string;
|
|
238
|
-
type: "
|
|
237
|
+
type: "credential" | "oauth" | "apikey";
|
|
238
|
+
error: "auth_required";
|
|
239
239
|
configUrl: string;
|
|
240
240
|
envVarNames?: string[] | undefined;
|
|
241
241
|
}, {
|
|
242
|
-
error: "auth_required";
|
|
243
242
|
message: string;
|
|
244
|
-
type: "
|
|
243
|
+
type: "credential" | "oauth" | "apikey";
|
|
244
|
+
error: "auth_required";
|
|
245
245
|
configUrl: string;
|
|
246
246
|
envVarNames?: string[] | undefined;
|
|
247
247
|
}>;
|
|
@@ -533,10 +533,8 @@ export declare const ToolProtectionSchema: z.ZodObject<{
|
|
|
533
533
|
type: "none";
|
|
534
534
|
}>]>>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
requiredScopes: string[];
|
|
537
536
|
requiresDelegation: boolean;
|
|
538
|
-
|
|
539
|
-
oauthProvider?: string | undefined;
|
|
537
|
+
requiredScopes: string[];
|
|
540
538
|
authorization?: {
|
|
541
539
|
type: "oauth";
|
|
542
540
|
provider: string;
|
|
@@ -579,11 +577,11 @@ export declare const ToolProtectionSchema: z.ZodObject<{
|
|
|
579
577
|
} | {
|
|
580
578
|
type: "none";
|
|
581
579
|
} | undefined;
|
|
582
|
-
}, {
|
|
583
|
-
requiredScopes: string[];
|
|
584
|
-
requiresDelegation: boolean;
|
|
585
580
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
586
581
|
oauthProvider?: string | undefined;
|
|
582
|
+
}, {
|
|
583
|
+
requiresDelegation: boolean;
|
|
584
|
+
requiredScopes: string[];
|
|
587
585
|
authorization?: {
|
|
588
586
|
type: "oauth";
|
|
589
587
|
provider: string;
|
|
@@ -626,6 +624,8 @@ export declare const ToolProtectionSchema: z.ZodObject<{
|
|
|
626
624
|
} | {
|
|
627
625
|
type: "none";
|
|
628
626
|
} | undefined;
|
|
627
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
628
|
+
oauthProvider?: string | undefined;
|
|
629
629
|
}>;
|
|
630
630
|
export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
631
631
|
requiresDelegation: z.ZodBoolean;
|
|
@@ -757,10 +757,8 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
757
757
|
type: "none";
|
|
758
758
|
}>]>>;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
|
-
requiredScopes: string[];
|
|
761
760
|
requiresDelegation: boolean;
|
|
762
|
-
|
|
763
|
-
oauthProvider?: string | undefined;
|
|
761
|
+
requiredScopes: string[];
|
|
764
762
|
authorization?: {
|
|
765
763
|
type: "oauth";
|
|
766
764
|
provider: string;
|
|
@@ -803,11 +801,11 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
803
801
|
} | {
|
|
804
802
|
type: "none";
|
|
805
803
|
} | undefined;
|
|
806
|
-
}, {
|
|
807
|
-
requiredScopes: string[];
|
|
808
|
-
requiresDelegation: boolean;
|
|
809
804
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
810
805
|
oauthProvider?: string | undefined;
|
|
806
|
+
}, {
|
|
807
|
+
requiresDelegation: boolean;
|
|
808
|
+
requiredScopes: string[];
|
|
811
809
|
authorization?: {
|
|
812
810
|
type: "oauth";
|
|
813
811
|
provider: string;
|
|
@@ -850,6 +848,8 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
850
848
|
} | {
|
|
851
849
|
type: "none";
|
|
852
850
|
} | undefined;
|
|
851
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
852
|
+
oauthProvider?: string | undefined;
|
|
853
853
|
}>>;
|
|
854
854
|
export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
855
855
|
toolProtections: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -982,10 +982,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
982
982
|
type: "none";
|
|
983
983
|
}>]>>;
|
|
984
984
|
}, "strip", z.ZodTypeAny, {
|
|
985
|
-
requiredScopes: string[];
|
|
986
985
|
requiresDelegation: boolean;
|
|
987
|
-
|
|
988
|
-
oauthProvider?: string | undefined;
|
|
986
|
+
requiredScopes: string[];
|
|
989
987
|
authorization?: {
|
|
990
988
|
type: "oauth";
|
|
991
989
|
provider: string;
|
|
@@ -1028,11 +1026,11 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
1028
1026
|
} | {
|
|
1029
1027
|
type: "none";
|
|
1030
1028
|
} | undefined;
|
|
1031
|
-
}, {
|
|
1032
|
-
requiredScopes: string[];
|
|
1033
|
-
requiresDelegation: boolean;
|
|
1034
1029
|
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1035
1030
|
oauthProvider?: string | undefined;
|
|
1031
|
+
}, {
|
|
1032
|
+
requiresDelegation: boolean;
|
|
1033
|
+
requiredScopes: string[];
|
|
1036
1034
|
authorization?: {
|
|
1037
1035
|
type: "oauth";
|
|
1038
1036
|
provider: string;
|
|
@@ -1075,26 +1073,26 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
1075
1073
|
} | {
|
|
1076
1074
|
type: "none";
|
|
1077
1075
|
} | undefined;
|
|
1076
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1077
|
+
oauthProvider?: string | undefined;
|
|
1078
1078
|
}>>;
|
|
1079
1079
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
1080
1080
|
lastUpdated: z.ZodOptional<z.ZodString>;
|
|
1081
1081
|
version: z.ZodOptional<z.ZodString>;
|
|
1082
1082
|
source: z.ZodOptional<z.ZodString>;
|
|
1083
1083
|
}, "strip", z.ZodTypeAny, {
|
|
1084
|
-
lastUpdated?: string | undefined;
|
|
1085
1084
|
version?: string | undefined;
|
|
1085
|
+
lastUpdated?: string | undefined;
|
|
1086
1086
|
source?: string | undefined;
|
|
1087
1087
|
}, {
|
|
1088
|
-
lastUpdated?: string | undefined;
|
|
1089
1088
|
version?: string | undefined;
|
|
1089
|
+
lastUpdated?: string | undefined;
|
|
1090
1090
|
source?: string | undefined;
|
|
1091
1091
|
}>>;
|
|
1092
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1093
1093
|
toolProtections: Record<string, {
|
|
1094
|
-
requiredScopes: string[];
|
|
1095
1094
|
requiresDelegation: boolean;
|
|
1096
|
-
|
|
1097
|
-
oauthProvider?: string | undefined;
|
|
1095
|
+
requiredScopes: string[];
|
|
1098
1096
|
authorization?: {
|
|
1099
1097
|
type: "oauth";
|
|
1100
1098
|
provider: string;
|
|
@@ -1137,18 +1135,18 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
1137
1135
|
} | {
|
|
1138
1136
|
type: "none";
|
|
1139
1137
|
} | undefined;
|
|
1138
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1139
|
+
oauthProvider?: string | undefined;
|
|
1140
1140
|
}>;
|
|
1141
1141
|
metadata?: {
|
|
1142
|
-
lastUpdated?: string | undefined;
|
|
1143
1142
|
version?: string | undefined;
|
|
1143
|
+
lastUpdated?: string | undefined;
|
|
1144
1144
|
source?: string | undefined;
|
|
1145
1145
|
} | undefined;
|
|
1146
1146
|
}, {
|
|
1147
1147
|
toolProtections: Record<string, {
|
|
1148
|
-
requiredScopes: string[];
|
|
1149
1148
|
requiresDelegation: boolean;
|
|
1150
|
-
|
|
1151
|
-
oauthProvider?: string | undefined;
|
|
1149
|
+
requiredScopes: string[];
|
|
1152
1150
|
authorization?: {
|
|
1153
1151
|
type: "oauth";
|
|
1154
1152
|
provider: string;
|
|
@@ -1191,10 +1189,12 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
|
|
|
1191
1189
|
} | {
|
|
1192
1190
|
type: "none";
|
|
1193
1191
|
} | undefined;
|
|
1192
|
+
riskLevel?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1193
|
+
oauthProvider?: string | undefined;
|
|
1194
1194
|
}>;
|
|
1195
1195
|
metadata?: {
|
|
1196
|
-
lastUpdated?: string | undefined;
|
|
1197
1196
|
version?: string | undefined;
|
|
1197
|
+
lastUpdated?: string | undefined;
|
|
1198
1198
|
source?: string | undefined;
|
|
1199
1199
|
} | undefined;
|
|
1200
1200
|
}>;
|
|
@@ -1205,17 +1205,17 @@ export declare const DelegationRequiredErrorDataSchema: z.ZodObject<{
|
|
|
1205
1205
|
authorizationUrl: z.ZodOptional<z.ZodString>;
|
|
1206
1206
|
reason: z.ZodOptional<z.ZodString>;
|
|
1207
1207
|
}, "strip", z.ZodTypeAny, {
|
|
1208
|
-
requiredScopes: string[];
|
|
1209
1208
|
toolName: string;
|
|
1210
|
-
|
|
1209
|
+
requiredScopes: string[];
|
|
1211
1210
|
authorizationUrl?: string | undefined;
|
|
1212
1211
|
reason?: string | undefined;
|
|
1212
|
+
consentUrl?: string | undefined;
|
|
1213
1213
|
}, {
|
|
1214
|
-
requiredScopes: string[];
|
|
1215
1214
|
toolName: string;
|
|
1216
|
-
|
|
1215
|
+
requiredScopes: string[];
|
|
1217
1216
|
authorizationUrl?: string | undefined;
|
|
1218
1217
|
reason?: string | undefined;
|
|
1218
|
+
consentUrl?: string | undefined;
|
|
1219
1219
|
}>;
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Type Guards
|
package/dist/utils/validation.js
CHANGED
package/dist/vault/schemas.d.ts
CHANGED
|
@@ -21,12 +21,12 @@ export declare const upsertSecretSchema: z.ZodObject<{
|
|
|
21
21
|
/** Optional human-readable label */
|
|
22
22
|
label: z.ZodOptional<z.ZodString>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
envVarName: string;
|
|
25
24
|
value: string;
|
|
25
|
+
envVarName: string;
|
|
26
26
|
label?: string | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
envVarName: string;
|
|
29
28
|
value: string;
|
|
29
|
+
envVarName: string;
|
|
30
30
|
label?: string | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
/**
|
package/dist/vc/index.d.ts
CHANGED
package/dist/vc/index.js
CHANGED
|
@@ -21,4 +21,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
__exportStar(require("./schemas.js"), exports);
|
|
23
23
|
__exportStar(require("./statuslist.js"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
package/dist/vc/schemas.d.ts
CHANGED
|
@@ -2481,4 +2481,3 @@ export declare function getIssuerDid(credential: VerifiableCredential): string;
|
|
|
2481
2481
|
* @returns The subject DID or null if not present
|
|
2482
2482
|
*/
|
|
2483
2483
|
export declare function getSubjectDid(credential: VerifiableCredential): string | null;
|
|
2484
|
-
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/vc/schemas.js
CHANGED
package/dist/vc/statuslist.d.ts
CHANGED
package/dist/vc/statuslist.js
CHANGED
package/dist/verifier/index.d.ts
CHANGED
package/dist/verifier.d.ts
CHANGED
|
@@ -13,10 +13,10 @@ export declare const AgentContextSchema: z.ZodObject<{
|
|
|
13
13
|
registry: z.ZodString;
|
|
14
14
|
verifiedAt: z.ZodNumber;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
scopes: string[];
|
|
16
17
|
did: string;
|
|
17
18
|
kid: string;
|
|
18
19
|
session: string;
|
|
19
|
-
scopes: string[];
|
|
20
20
|
confidence: "verified";
|
|
21
21
|
registry: string;
|
|
22
22
|
verifiedAt: number;
|
|
@@ -29,9 +29,9 @@ export declare const AgentContextSchema: z.ZodObject<{
|
|
|
29
29
|
confidence: "verified";
|
|
30
30
|
registry: string;
|
|
31
31
|
verifiedAt: number;
|
|
32
|
+
scopes?: string[] | undefined;
|
|
32
33
|
subject?: string | undefined;
|
|
33
34
|
delegationRef?: string | undefined;
|
|
34
|
-
scopes?: string[] | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export declare const VerifierResultSchema: z.ZodObject<{
|
|
37
37
|
success: z.ZodBoolean;
|
|
@@ -47,10 +47,10 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
47
47
|
registry: z.ZodString;
|
|
48
48
|
verifiedAt: z.ZodNumber;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
scopes: string[];
|
|
50
51
|
did: string;
|
|
51
52
|
kid: string;
|
|
52
53
|
session: string;
|
|
53
|
-
scopes: string[];
|
|
54
54
|
confidence: "verified";
|
|
55
55
|
registry: string;
|
|
56
56
|
verifiedAt: number;
|
|
@@ -63,9 +63,9 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
63
63
|
confidence: "verified";
|
|
64
64
|
registry: string;
|
|
65
65
|
verifiedAt: number;
|
|
66
|
+
scopes?: string[] | undefined;
|
|
66
67
|
subject?: string | undefined;
|
|
67
68
|
delegationRef?: string | undefined;
|
|
68
|
-
scopes?: string[] | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
error: z.ZodOptional<z.ZodObject<{
|
|
71
71
|
code: z.ZodString;
|
|
@@ -85,26 +85,32 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
85
85
|
}>>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
success: boolean;
|
|
88
|
+
error?: {
|
|
89
|
+
code: string;
|
|
90
|
+
message: string;
|
|
91
|
+
httpStatus: number;
|
|
92
|
+
details?: any;
|
|
93
|
+
} | undefined;
|
|
88
94
|
headers?: Record<string, string> | undefined;
|
|
89
95
|
agentContext?: {
|
|
96
|
+
scopes: string[];
|
|
90
97
|
did: string;
|
|
91
98
|
kid: string;
|
|
92
99
|
session: string;
|
|
93
|
-
scopes: string[];
|
|
94
100
|
confidence: "verified";
|
|
95
101
|
registry: string;
|
|
96
102
|
verifiedAt: number;
|
|
97
103
|
subject?: string | undefined;
|
|
98
104
|
delegationRef?: string | undefined;
|
|
99
105
|
} | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
success: boolean;
|
|
100
108
|
error?: {
|
|
101
109
|
code: string;
|
|
102
110
|
message: string;
|
|
103
111
|
httpStatus: number;
|
|
104
112
|
details?: any;
|
|
105
113
|
} | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
success: boolean;
|
|
108
114
|
headers?: Record<string, string> | undefined;
|
|
109
115
|
agentContext?: {
|
|
110
116
|
did: string;
|
|
@@ -113,15 +119,9 @@ export declare const VerifierResultSchema: z.ZodObject<{
|
|
|
113
119
|
confidence: "verified";
|
|
114
120
|
registry: string;
|
|
115
121
|
verifiedAt: number;
|
|
122
|
+
scopes?: string[] | undefined;
|
|
116
123
|
subject?: string | undefined;
|
|
117
124
|
delegationRef?: string | undefined;
|
|
118
|
-
scopes?: string[] | undefined;
|
|
119
|
-
} | undefined;
|
|
120
|
-
error?: {
|
|
121
|
-
code: string;
|
|
122
|
-
message: string;
|
|
123
|
-
httpStatus: number;
|
|
124
|
-
details?: any;
|
|
125
125
|
} | undefined;
|
|
126
126
|
}>;
|
|
127
127
|
export declare const StructuredErrorSchema: z.ZodObject<{
|
package/dist/well-known/index.js
CHANGED