@kya-os/contracts 1.7.26 → 1.7.32
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 +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +84 -84
- package/dist/gateway/index.d.ts +579 -0
- package/dist/gateway/index.js +103 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/openclaw/index.d.ts +20 -0
- package/dist/openclaw/index.js +28 -0
- package/dist/openclaw/types.d.ts +714 -0
- package/dist/openclaw/types.js +122 -0
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- package/package.json +10 -2
package/dist/registry.d.ts
CHANGED
|
@@ -32,23 +32,23 @@ export declare const RegistrationResultSchema: z.ZodObject<{
|
|
|
32
32
|
mirrorStatus: z.ZodEnum<["pending", "success", "error"]>;
|
|
33
33
|
mirrorLink: z.ZodOptional<z.ZodString>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
mirrorStatus: "error" | "pending" | "success";
|
|
36
35
|
agentDID: string;
|
|
37
36
|
agentURL: string;
|
|
38
37
|
verificationEndpoint: string;
|
|
39
38
|
conformanceCapabilities: ["handshake", "signing", "verification"];
|
|
40
39
|
agentId: string;
|
|
41
40
|
agentSlug: string;
|
|
41
|
+
mirrorStatus: "error" | "success" | "pending";
|
|
42
42
|
claimURL?: string | undefined;
|
|
43
43
|
mirrorLink?: string | undefined;
|
|
44
44
|
}, {
|
|
45
|
-
mirrorStatus: "error" | "pending" | "success";
|
|
46
45
|
agentDID: string;
|
|
47
46
|
agentURL: string;
|
|
48
47
|
verificationEndpoint: string;
|
|
49
48
|
conformanceCapabilities: ["handshake", "signing", "verification"];
|
|
50
49
|
agentId: string;
|
|
51
50
|
agentSlug: string;
|
|
51
|
+
mirrorStatus: "error" | "success" | "pending";
|
|
52
52
|
claimURL?: string | undefined;
|
|
53
53
|
mirrorLink?: string | undefined;
|
|
54
54
|
}>;
|
|
@@ -57,12 +57,12 @@ export declare const ClaimTokenSchema: z.ZodObject<{
|
|
|
57
57
|
expiresAt: z.ZodNumber;
|
|
58
58
|
ttlHours: z.ZodDefault<z.ZodNumber>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
token: string;
|
|
61
60
|
expiresAt: number;
|
|
61
|
+
token: string;
|
|
62
62
|
ttlHours: number;
|
|
63
63
|
}, {
|
|
64
|
-
token: string;
|
|
65
64
|
expiresAt: number;
|
|
65
|
+
token: string;
|
|
66
66
|
ttlHours?: number | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
export declare const MirrorStatusSchema: z.ZodObject<{
|
|
@@ -71,12 +71,12 @@ export declare const MirrorStatusSchema: z.ZodObject<{
|
|
|
71
71
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
72
72
|
registryURL: z.ZodOptional<z.ZodString>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
status: "error" | "
|
|
74
|
+
status: "error" | "success" | "pending";
|
|
75
75
|
lastUpdated: number;
|
|
76
76
|
errorMessage?: string | undefined;
|
|
77
77
|
registryURL?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
status: "error" | "
|
|
79
|
+
status: "error" | "success" | "pending";
|
|
80
80
|
lastUpdated: number;
|
|
81
81
|
errorMessage?: string | undefined;
|
|
82
82
|
registryURL?: string | undefined;
|
|
@@ -91,12 +91,12 @@ export declare const AgentStatusSchema: z.ZodObject<{
|
|
|
91
91
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
92
92
|
registryURL: z.ZodOptional<z.ZodString>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
status: "error" | "
|
|
94
|
+
status: "error" | "success" | "pending";
|
|
95
95
|
lastUpdated: number;
|
|
96
96
|
errorMessage?: string | undefined;
|
|
97
97
|
registryURL?: string | undefined;
|
|
98
98
|
}, {
|
|
99
|
-
status: "error" | "
|
|
99
|
+
status: "error" | "success" | "pending";
|
|
100
100
|
lastUpdated: number;
|
|
101
101
|
errorMessage?: string | undefined;
|
|
102
102
|
registryURL?: string | undefined;
|
|
@@ -105,24 +105,24 @@ export declare const AgentStatusSchema: z.ZodObject<{
|
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
did: string;
|
|
107
107
|
kid: string;
|
|
108
|
-
ktaURL: string;
|
|
109
108
|
mirrorStatus: {
|
|
110
|
-
status: "error" | "
|
|
109
|
+
status: "error" | "success" | "pending";
|
|
111
110
|
lastUpdated: number;
|
|
112
111
|
errorMessage?: string | undefined;
|
|
113
112
|
registryURL?: string | undefined;
|
|
114
113
|
};
|
|
114
|
+
ktaURL: string;
|
|
115
115
|
lastHandshake?: number | undefined;
|
|
116
116
|
}, {
|
|
117
117
|
did: string;
|
|
118
118
|
kid: string;
|
|
119
|
-
ktaURL: string;
|
|
120
119
|
mirrorStatus: {
|
|
121
|
-
status: "error" | "
|
|
120
|
+
status: "error" | "success" | "pending";
|
|
122
121
|
lastUpdated: number;
|
|
123
122
|
errorMessage?: string | undefined;
|
|
124
123
|
registryURL?: string | undefined;
|
|
125
124
|
};
|
|
125
|
+
ktaURL: string;
|
|
126
126
|
lastHandshake?: number | undefined;
|
|
127
127
|
}>;
|
|
128
128
|
/**
|
|
@@ -138,16 +138,16 @@ export declare const DelegationSchema: z.ZodObject<{
|
|
|
138
138
|
delegationRef: z.ZodOptional<z.ZodString>;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
scopes: string[];
|
|
141
|
-
subject: string;
|
|
142
141
|
issuer: string;
|
|
142
|
+
subject: string;
|
|
143
143
|
nbf: number;
|
|
144
144
|
exp: number;
|
|
145
145
|
delegationRef?: string | undefined;
|
|
146
146
|
aud?: string | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
scopes: string[];
|
|
149
|
-
subject: string;
|
|
150
149
|
issuer: string;
|
|
150
|
+
subject: string;
|
|
151
151
|
nbf: number;
|
|
152
152
|
exp: number;
|
|
153
153
|
delegationRef?: string | undefined;
|
|
@@ -188,18 +188,18 @@ export declare const ReceiptSchema: z.ZodObject<{
|
|
|
188
188
|
inclusionProof: z.ZodArray<z.ZodString, "many">;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
ts: string | number;
|
|
191
|
+
action: "issue" | "revoke";
|
|
191
192
|
ref: string;
|
|
192
193
|
contentHash: string;
|
|
193
|
-
action: "issue" | "revoke";
|
|
194
194
|
logIndex: number;
|
|
195
195
|
logRoot: string;
|
|
196
196
|
inclusionProof: string[];
|
|
197
197
|
$schema?: "https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json" | undefined;
|
|
198
198
|
}, {
|
|
199
199
|
ts: string | number;
|
|
200
|
+
action: "issue" | "revoke";
|
|
200
201
|
ref: string;
|
|
201
202
|
contentHash: string;
|
|
202
|
-
action: "issue" | "revoke";
|
|
203
203
|
logIndex: number;
|
|
204
204
|
logRoot: string;
|
|
205
205
|
inclusionProof: string[];
|
|
@@ -216,16 +216,16 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
216
216
|
delegationRef: z.ZodOptional<z.ZodString>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
218
|
scopes: string[];
|
|
219
|
-
subject: string;
|
|
220
219
|
issuer: string;
|
|
220
|
+
subject: string;
|
|
221
221
|
nbf: number;
|
|
222
222
|
exp: number;
|
|
223
223
|
delegationRef?: string | undefined;
|
|
224
224
|
aud?: string | undefined;
|
|
225
225
|
}, {
|
|
226
226
|
scopes: string[];
|
|
227
|
-
subject: string;
|
|
228
227
|
issuer: string;
|
|
228
|
+
subject: string;
|
|
229
229
|
nbf: number;
|
|
230
230
|
exp: number;
|
|
231
231
|
delegationRef?: string | undefined;
|
|
@@ -242,18 +242,18 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
242
242
|
inclusionProof: z.ZodArray<z.ZodString, "many">;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
244
|
ts: string | number;
|
|
245
|
+
action: "issue" | "revoke";
|
|
245
246
|
ref: string;
|
|
246
247
|
contentHash: string;
|
|
247
|
-
action: "issue" | "revoke";
|
|
248
248
|
logIndex: number;
|
|
249
249
|
logRoot: string;
|
|
250
250
|
inclusionProof: string[];
|
|
251
251
|
$schema?: "https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json" | undefined;
|
|
252
252
|
}, {
|
|
253
253
|
ts: string | number;
|
|
254
|
+
action: "issue" | "revoke";
|
|
254
255
|
ref: string;
|
|
255
256
|
contentHash: string;
|
|
256
|
-
action: "issue" | "revoke";
|
|
257
257
|
logIndex: number;
|
|
258
258
|
logRoot: string;
|
|
259
259
|
inclusionProof: string[];
|
|
@@ -263,8 +263,8 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
264
|
delegation: {
|
|
265
265
|
scopes: string[];
|
|
266
|
-
subject: string;
|
|
267
266
|
issuer: string;
|
|
267
|
+
subject: string;
|
|
268
268
|
nbf: number;
|
|
269
269
|
exp: number;
|
|
270
270
|
delegationRef?: string | undefined;
|
|
@@ -272,9 +272,9 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
272
272
|
};
|
|
273
273
|
receipt: {
|
|
274
274
|
ts: string | number;
|
|
275
|
+
action: "issue" | "revoke";
|
|
275
276
|
ref: string;
|
|
276
277
|
contentHash: string;
|
|
277
|
-
action: "issue" | "revoke";
|
|
278
278
|
logIndex: number;
|
|
279
279
|
logRoot: string;
|
|
280
280
|
inclusionProof: string[];
|
|
@@ -284,8 +284,8 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
284
284
|
}, {
|
|
285
285
|
delegation: {
|
|
286
286
|
scopes: string[];
|
|
287
|
-
subject: string;
|
|
288
287
|
issuer: string;
|
|
288
|
+
subject: string;
|
|
289
289
|
nbf: number;
|
|
290
290
|
exp: number;
|
|
291
291
|
delegationRef?: string | undefined;
|
|
@@ -293,9 +293,9 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
293
293
|
};
|
|
294
294
|
receipt: {
|
|
295
295
|
ts: string | number;
|
|
296
|
+
action: "issue" | "revoke";
|
|
296
297
|
ref: string;
|
|
297
298
|
contentHash: string;
|
|
298
|
-
action: "issue" | "revoke";
|
|
299
299
|
logIndex: number;
|
|
300
300
|
logRoot: string;
|
|
301
301
|
inclusionProof: string[];
|