@kya-os/contracts 1.7.25 → 1.7.31
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 +62 -0
- package/dist/agent-deployment-utils.js +92 -0
- package/dist/agent-deployment.d.ts +723 -0
- package/dist/agent-deployment.js +270 -0
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +413 -413
- package/dist/audit/index.d.ts +4 -4
- package/dist/cli.d.ts +42 -42
- package/dist/compute-binding.d.ts +48 -0
- package/dist/compute-binding.js +42 -0
- package/dist/compute.d.ts +443 -0
- package/dist/compute.js +190 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +118 -118
- package/dist/dashboard-config/schemas.d.ts +1241 -1241
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +588 -588
- package/dist/deploy/schemas.d.ts +127 -127
- package/dist/deploy/schemas.js +1 -0
- package/dist/deploy/types.d.ts +1 -1
- package/dist/gateway/agents.d.ts +21 -0
- package/dist/gateway/agents.js +12 -0
- package/dist/gateway/cron.d.ts +33 -0
- package/dist/gateway/cron.js +16 -0
- package/dist/gateway/index.d.ts +20 -0
- package/dist/gateway/index.js +37 -0
- package/dist/gateway/sessions.d.ts +30 -0
- package/dist/gateway/sessions.js +15 -0
- package/dist/gateway/skills.d.ts +445 -0
- package/dist/gateway/skills.js +47 -0
- package/dist/gateway/usage.d.ts +43 -0
- package/dist/gateway/usage.js +18 -0
- package/dist/handshake.d.ts +56 -56
- package/dist/identity/schemas.d.ts +8 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +60 -60
- package/dist/molti/schemas.d.ts +30 -30
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +671 -671
- package/dist/proof/proof-record.d.ts +36 -36
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +42 -42
- package/dist/reputation/api.d.ts +150 -150
- package/dist/reputation/credentials.d.ts +12 -12
- 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 +20 -20
- package/dist/verifier.d.ts +21 -21
- package/dist/well-known/index.d.ts +68 -68
- package/package.json +25 -5
package/dist/registry.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare const RegistrationResultSchema: z.ZodObject<{
|
|
|
38
38
|
conformanceCapabilities: ["handshake", "signing", "verification"];
|
|
39
39
|
agentId: string;
|
|
40
40
|
agentSlug: string;
|
|
41
|
-
mirrorStatus: "
|
|
41
|
+
mirrorStatus: "error" | "success" | "pending";
|
|
42
42
|
claimURL?: string | undefined;
|
|
43
43
|
mirrorLink?: string | undefined;
|
|
44
44
|
}, {
|
|
@@ -48,7 +48,7 @@ export declare const RegistrationResultSchema: z.ZodObject<{
|
|
|
48
48
|
conformanceCapabilities: ["handshake", "signing", "verification"];
|
|
49
49
|
agentId: string;
|
|
50
50
|
agentSlug: string;
|
|
51
|
-
mirrorStatus: "
|
|
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: "
|
|
74
|
+
status: "error" | "success" | "pending";
|
|
75
75
|
lastUpdated: number;
|
|
76
76
|
errorMessage?: string | undefined;
|
|
77
77
|
registryURL?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
status: "
|
|
79
|
+
status: "error" | "success" | "pending";
|
|
80
80
|
lastUpdated: number;
|
|
81
81
|
errorMessage?: string | undefined;
|
|
82
82
|
registryURL?: string | undefined;
|
|
@@ -91,37 +91,37 @@ 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: "
|
|
94
|
+
status: "error" | "success" | "pending";
|
|
95
95
|
lastUpdated: number;
|
|
96
96
|
errorMessage?: string | undefined;
|
|
97
97
|
registryURL?: string | undefined;
|
|
98
98
|
}, {
|
|
99
|
-
status: "
|
|
99
|
+
status: "error" | "success" | "pending";
|
|
100
100
|
lastUpdated: number;
|
|
101
101
|
errorMessage?: string | undefined;
|
|
102
102
|
registryURL?: string | undefined;
|
|
103
103
|
}>;
|
|
104
104
|
lastHandshake: z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
did: string;
|
|
107
|
+
kid: string;
|
|
106
108
|
mirrorStatus: {
|
|
107
|
-
status: "
|
|
109
|
+
status: "error" | "success" | "pending";
|
|
108
110
|
lastUpdated: number;
|
|
109
111
|
errorMessage?: string | undefined;
|
|
110
112
|
registryURL?: string | undefined;
|
|
111
113
|
};
|
|
112
|
-
did: string;
|
|
113
|
-
kid: string;
|
|
114
114
|
ktaURL: string;
|
|
115
115
|
lastHandshake?: number | undefined;
|
|
116
116
|
}, {
|
|
117
|
+
did: string;
|
|
118
|
+
kid: string;
|
|
117
119
|
mirrorStatus: {
|
|
118
|
-
status: "
|
|
120
|
+
status: "error" | "success" | "pending";
|
|
119
121
|
lastUpdated: number;
|
|
120
122
|
errorMessage?: string | undefined;
|
|
121
123
|
registryURL?: string | undefined;
|
|
122
124
|
};
|
|
123
|
-
did: string;
|
|
124
|
-
kid: string;
|
|
125
125
|
ktaURL: string;
|
|
126
126
|
lastHandshake?: number | undefined;
|
|
127
127
|
}>;
|
|
@@ -137,21 +137,21 @@ export declare const DelegationSchema: z.ZodObject<{
|
|
|
137
137
|
aud: z.ZodOptional<z.ZodString>;
|
|
138
138
|
delegationRef: z.ZodOptional<z.ZodString>;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
scopes: string[];
|
|
140
141
|
issuer: string;
|
|
141
142
|
subject: string;
|
|
142
|
-
scopes: string[];
|
|
143
143
|
nbf: number;
|
|
144
144
|
exp: number;
|
|
145
|
-
aud?: string | undefined;
|
|
146
145
|
delegationRef?: string | undefined;
|
|
146
|
+
aud?: string | undefined;
|
|
147
147
|
}, {
|
|
148
|
+
scopes: string[];
|
|
148
149
|
issuer: string;
|
|
149
150
|
subject: string;
|
|
150
|
-
scopes: string[];
|
|
151
151
|
nbf: number;
|
|
152
152
|
exp: number;
|
|
153
|
-
aud?: string | undefined;
|
|
154
153
|
delegationRef?: string | undefined;
|
|
154
|
+
aud?: string | undefined;
|
|
155
155
|
}>;
|
|
156
156
|
export declare const DelegationRequestSchema: z.ZodObject<{
|
|
157
157
|
subject: z.ZodString;
|
|
@@ -159,15 +159,15 @@ export declare const DelegationRequestSchema: z.ZodObject<{
|
|
|
159
159
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
160
160
|
audience: z.ZodOptional<z.ZodString>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
subject: string;
|
|
163
162
|
scopes: string[];
|
|
164
|
-
|
|
163
|
+
subject: string;
|
|
165
164
|
audience?: string | undefined;
|
|
165
|
+
duration?: number | undefined;
|
|
166
166
|
}, {
|
|
167
|
-
subject: string;
|
|
168
167
|
scopes: string[];
|
|
169
|
-
|
|
168
|
+
subject: string;
|
|
170
169
|
audience?: string | undefined;
|
|
170
|
+
duration?: number | undefined;
|
|
171
171
|
}>;
|
|
172
172
|
/**
|
|
173
173
|
* Storage mode configuration for verifiable credentials and delegations
|
|
@@ -187,19 +187,19 @@ export declare const ReceiptSchema: z.ZodObject<{
|
|
|
187
187
|
logRoot: z.ZodString;
|
|
188
188
|
inclusionProof: z.ZodArray<z.ZodString, "many">;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
ts: string | number;
|
|
191
|
+
action: "issue" | "revoke";
|
|
190
192
|
ref: string;
|
|
191
193
|
contentHash: string;
|
|
192
|
-
action: "issue" | "revoke";
|
|
193
|
-
ts: string | number;
|
|
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
|
+
ts: string | number;
|
|
200
|
+
action: "issue" | "revoke";
|
|
199
201
|
ref: string;
|
|
200
202
|
contentHash: string;
|
|
201
|
-
action: "issue" | "revoke";
|
|
202
|
-
ts: string | number;
|
|
203
203
|
logIndex: number;
|
|
204
204
|
logRoot: string;
|
|
205
205
|
inclusionProof: string[];
|
|
@@ -215,21 +215,21 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
215
215
|
aud: z.ZodOptional<z.ZodString>;
|
|
216
216
|
delegationRef: z.ZodOptional<z.ZodString>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
+
scopes: string[];
|
|
218
219
|
issuer: string;
|
|
219
220
|
subject: string;
|
|
220
|
-
scopes: string[];
|
|
221
221
|
nbf: number;
|
|
222
222
|
exp: number;
|
|
223
|
-
aud?: string | undefined;
|
|
224
223
|
delegationRef?: string | undefined;
|
|
224
|
+
aud?: string | undefined;
|
|
225
225
|
}, {
|
|
226
|
+
scopes: string[];
|
|
226
227
|
issuer: string;
|
|
227
228
|
subject: string;
|
|
228
|
-
scopes: string[];
|
|
229
229
|
nbf: number;
|
|
230
230
|
exp: number;
|
|
231
|
-
aud?: string | undefined;
|
|
232
231
|
delegationRef?: string | undefined;
|
|
232
|
+
aud?: string | undefined;
|
|
233
233
|
}>;
|
|
234
234
|
receipt: z.ZodObject<{
|
|
235
235
|
$schema: z.ZodOptional<z.ZodLiteral<"https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json">>;
|
|
@@ -241,19 +241,19 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
241
241
|
logRoot: z.ZodString;
|
|
242
242
|
inclusionProof: z.ZodArray<z.ZodString, "many">;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
ts: string | number;
|
|
245
|
+
action: "issue" | "revoke";
|
|
244
246
|
ref: string;
|
|
245
247
|
contentHash: string;
|
|
246
|
-
action: "issue" | "revoke";
|
|
247
|
-
ts: string | number;
|
|
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
|
+
ts: string | number;
|
|
254
|
+
action: "issue" | "revoke";
|
|
253
255
|
ref: string;
|
|
254
256
|
contentHash: string;
|
|
255
|
-
action: "issue" | "revoke";
|
|
256
|
-
ts: string | number;
|
|
257
257
|
logIndex: number;
|
|
258
258
|
logRoot: string;
|
|
259
259
|
inclusionProof: string[];
|
|
@@ -262,19 +262,19 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
262
262
|
encryptedPayload: z.ZodOptional<z.ZodString>;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
264
|
delegation: {
|
|
265
|
+
scopes: string[];
|
|
265
266
|
issuer: string;
|
|
266
267
|
subject: string;
|
|
267
|
-
scopes: string[];
|
|
268
268
|
nbf: number;
|
|
269
269
|
exp: number;
|
|
270
|
-
aud?: string | undefined;
|
|
271
270
|
delegationRef?: string | undefined;
|
|
271
|
+
aud?: string | undefined;
|
|
272
272
|
};
|
|
273
273
|
receipt: {
|
|
274
|
+
ts: string | number;
|
|
275
|
+
action: "issue" | "revoke";
|
|
274
276
|
ref: string;
|
|
275
277
|
contentHash: string;
|
|
276
|
-
action: "issue" | "revoke";
|
|
277
|
-
ts: string | number;
|
|
278
278
|
logIndex: number;
|
|
279
279
|
logRoot: string;
|
|
280
280
|
inclusionProof: string[];
|
|
@@ -283,19 +283,19 @@ export declare const DelegationResponseSchema: z.ZodObject<{
|
|
|
283
283
|
encryptedPayload?: string | undefined;
|
|
284
284
|
}, {
|
|
285
285
|
delegation: {
|
|
286
|
+
scopes: string[];
|
|
286
287
|
issuer: string;
|
|
287
288
|
subject: string;
|
|
288
|
-
scopes: string[];
|
|
289
289
|
nbf: number;
|
|
290
290
|
exp: number;
|
|
291
|
-
aud?: string | undefined;
|
|
292
291
|
delegationRef?: string | undefined;
|
|
292
|
+
aud?: string | undefined;
|
|
293
293
|
};
|
|
294
294
|
receipt: {
|
|
295
|
+
ts: string | number;
|
|
296
|
+
action: "issue" | "revoke";
|
|
295
297
|
ref: string;
|
|
296
298
|
contentHash: string;
|
|
297
|
-
action: "issue" | "revoke";
|
|
298
|
-
ts: string | number;
|
|
299
299
|
logIndex: number;
|
|
300
300
|
logRoot: string;
|
|
301
301
|
inclusionProof: string[];
|