@vorionsys/contracts 0.1.2 → 0.1.3
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/CHANGELOG.md +1 -1
- package/README.md +3 -3
- package/dist/aci/index.d.ts +1 -1
- package/dist/aci/index.js +1 -1
- package/dist/canonical/agent.d.ts +14 -14
- package/dist/canonical/governance.d.ts +8 -8
- package/dist/canonical/intent.d.ts +18 -18
- package/dist/canonical/middleware.d.ts +4 -4
- package/dist/canonical/trust-signal.d.ts +48 -45
- package/dist/canonical/trust-signal.d.ts.map +1 -1
- package/dist/canonical/trust-signal.js +7 -2
- package/dist/canonical/trust-signal.js.map +1 -1
- package/dist/canonical/validation.d.ts +11 -26
- package/dist/canonical/validation.d.ts.map +1 -1
- package/dist/canonical/validation.js +30 -101
- package/dist/canonical/validation.js.map +1 -1
- package/dist/car/attestation.d.ts +30 -30
- package/dist/car/attestation.d.ts.map +1 -1
- package/dist/car/attestation.js +3 -1
- package/dist/car/attestation.js.map +1 -1
- package/dist/car/car-string.d.ts +41 -41
- package/dist/car/car-string.d.ts.map +1 -1
- package/dist/car/car-string.js +36 -36
- package/dist/car/car-string.js.map +1 -1
- package/dist/car/domains.d.ts +34 -18
- package/dist/car/domains.d.ts.map +1 -1
- package/dist/car/domains.js +53 -15
- package/dist/car/domains.js.map +1 -1
- package/dist/car/effective-permission.d.ts +59 -11
- package/dist/car/effective-permission.d.ts.map +1 -1
- package/dist/car/effective-permission.js +30 -2
- package/dist/car/effective-permission.js.map +1 -1
- package/dist/car/identity.d.ts +298 -79
- package/dist/car/identity.d.ts.map +1 -1
- package/dist/car/identity.js +112 -10
- package/dist/car/identity.js.map +1 -1
- package/dist/car/index.d.ts +3 -3
- package/dist/car/index.d.ts.map +1 -1
- package/dist/car/index.js +15 -7
- package/dist/car/index.js.map +1 -1
- package/dist/car/jwt-claims.d.ts +179 -179
- package/dist/car/jwt-claims.d.ts.map +1 -1
- package/dist/car/jwt-claims.js +39 -46
- package/dist/car/jwt-claims.js.map +1 -1
- package/dist/car/levels.d.ts +2 -2
- package/dist/car/mapping.d.ts +36 -36
- package/dist/car/mapping.d.ts.map +1 -1
- package/dist/car/mapping.js +107 -43
- package/dist/car/mapping.js.map +1 -1
- package/dist/car/skills.d.ts +4 -4
- package/dist/car/tiers.d.ts +7 -7
- package/dist/car/tiers.js +4 -4
- package/dist/car/tiers.js.map +1 -1
- package/dist/common/primitives.d.ts +2 -2
- package/dist/db/agents.d.ts +4 -4
- package/dist/db/agents.js +4 -4
- package/dist/db/agents.js.map +1 -1
- package/dist/v2/enums.d.ts +5 -0
- package/dist/v2/enums.d.ts.map +1 -1
- package/dist/v2/enums.js +5 -0
- package/dist/v2/enums.js.map +1 -1
- package/dist/v2/evidence.d.ts +20 -20
- package/dist/v2/pre-action-gate.js +5 -5
- package/dist/v2/pre-action-gate.js.map +1 -1
- package/dist/v2/retention.d.ts +14 -14
- package/dist/v2/trust-delta.d.ts +6 -6
- package/dist/v2/trust-delta.d.ts.map +1 -1
- package/dist/v2/trust-profile.d.ts +116 -54
- package/dist/v2/trust-profile.d.ts.map +1 -1
- package/dist/v2/trust-profile.js +22 -17
- package/dist/v2/trust-profile.js.map +1 -1
- package/dist/validators/decision.d.ts +6 -6
- package/dist/validators/intent.d.ts +8 -8
- package/dist/validators/proof-event.d.ts +54 -54
- package/dist/validators/trust-profile.d.ts +76 -244
- package/dist/validators/trust-profile.d.ts.map +1 -1
- package/dist/validators/trust-profile.js +21 -35
- package/dist/validators/trust-profile.js.map +1 -1
- package/package.json +4 -3
package/dist/car/identity.d.ts
CHANGED
|
@@ -14,6 +14,13 @@ import { CertificationTier, RuntimeTier } from './tiers.js';
|
|
|
14
14
|
import { type Attestation } from './attestation.js';
|
|
15
15
|
import { type ParsedCAR } from './car-string.js';
|
|
16
16
|
import { type SkillCode } from './skills.js';
|
|
17
|
+
/**
|
|
18
|
+
* Maximum tier elevation allowed under supervision.
|
|
19
|
+
*
|
|
20
|
+
* A supervised agent can operate at most 2 tiers above its own
|
|
21
|
+
* certification tier, and never above (supervisorTier - 1).
|
|
22
|
+
*/
|
|
23
|
+
export declare const MAX_SUPERVISION_ELEVATION = 2;
|
|
17
24
|
/** @deprecated Use ParsedCAR instead */
|
|
18
25
|
export type ParsedACI = ParsedCAR;
|
|
19
26
|
/** @deprecated Use parsedCARSchema instead */
|
|
@@ -22,7 +29,7 @@ export declare const parsedACISchema: z.ZodObject<{
|
|
|
22
29
|
registry: z.ZodString;
|
|
23
30
|
organization: z.ZodString;
|
|
24
31
|
agentClass: z.ZodString;
|
|
25
|
-
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
|
|
32
|
+
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">;
|
|
26
33
|
domainsBitmask: z.ZodNumber;
|
|
27
34
|
level: z.ZodNativeEnum<typeof CapabilityLevel>;
|
|
28
35
|
version: z.ZodString;
|
|
@@ -33,7 +40,7 @@ export declare const parsedACISchema: z.ZodObject<{
|
|
|
33
40
|
registry: string;
|
|
34
41
|
organization: string;
|
|
35
42
|
agentClass: string;
|
|
36
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
43
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
37
44
|
domainsBitmask: number;
|
|
38
45
|
car: string;
|
|
39
46
|
extensions: string[];
|
|
@@ -43,7 +50,7 @@ export declare const parsedACISchema: z.ZodObject<{
|
|
|
43
50
|
registry: string;
|
|
44
51
|
organization: string;
|
|
45
52
|
agentClass: string;
|
|
46
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
53
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
47
54
|
domainsBitmask: number;
|
|
48
55
|
car: string;
|
|
49
56
|
extensions?: string[] | undefined;
|
|
@@ -82,20 +89,20 @@ export interface CapabilityVector {
|
|
|
82
89
|
* Zod schema for CapabilityVector validation.
|
|
83
90
|
*/
|
|
84
91
|
export declare const capabilityVectorSchema: z.ZodObject<{
|
|
85
|
-
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
|
|
92
|
+
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">;
|
|
86
93
|
domainsBitmask: z.ZodOptional<z.ZodNumber>;
|
|
87
94
|
level: z.ZodNativeEnum<typeof CapabilityLevel>;
|
|
88
95
|
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<["TG", "CW", "CR", "TD", "TR", "SM", "DA", "RS", "QA", "CA", "DV", "RV", "WS", "FO", "AI", "PL", "CM", "CS", "AU", "SC", "GV"]>, "many">>;
|
|
89
96
|
skillsBitmask: z.ZodOptional<z.ZodNumber>;
|
|
90
97
|
}, "strip", z.ZodTypeAny, {
|
|
91
98
|
level: CapabilityLevel;
|
|
92
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
99
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
93
100
|
skills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|
|
94
101
|
domainsBitmask?: number | undefined;
|
|
95
102
|
skillsBitmask?: number | undefined;
|
|
96
103
|
}, {
|
|
97
104
|
level: CapabilityLevel;
|
|
98
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
105
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
99
106
|
skills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|
|
100
107
|
domainsBitmask?: number | undefined;
|
|
101
108
|
skillsBitmask?: number | undefined;
|
|
@@ -159,6 +166,133 @@ export declare const agentMetadataSchema: z.ZodObject<{
|
|
|
159
166
|
organization: z.ZodOptional<z.ZodString>;
|
|
160
167
|
logo: z.ZodOptional<z.ZodString>;
|
|
161
168
|
}, z.ZodOptional<z.ZodString>, "strip">>;
|
|
169
|
+
/**
|
|
170
|
+
* Context for supervised agent operations.
|
|
171
|
+
*
|
|
172
|
+
* When an agent operates under the supervision of a higher-tier agent,
|
|
173
|
+
* it may be granted temporary tier elevation. The elevation is capped at
|
|
174
|
+
* +2 tiers (MAX_SUPERVISION_ELEVATION) and can never exceed
|
|
175
|
+
* (supervisor's tier - 1).
|
|
176
|
+
*/
|
|
177
|
+
export interface SupervisionContext {
|
|
178
|
+
/** CAR string of the supervising agent */
|
|
179
|
+
supervisorCAR: string;
|
|
180
|
+
/** DID of the supervising agent */
|
|
181
|
+
supervisorDID: string;
|
|
182
|
+
/** Certification tier of the supervisor (determines elevation cap) */
|
|
183
|
+
supervisorTier: CertificationTier;
|
|
184
|
+
/** Number of tiers to elevate (0 to MAX_SUPERVISION_ELEVATION) */
|
|
185
|
+
elevationTiers: number;
|
|
186
|
+
/** When supervision was granted */
|
|
187
|
+
grantedAt: Date;
|
|
188
|
+
/** When supervision expires */
|
|
189
|
+
expiresAt: Date;
|
|
190
|
+
/** Heartbeat interval in milliseconds (0 = no heartbeat required) */
|
|
191
|
+
heartbeatIntervalMs: number;
|
|
192
|
+
/** Last heartbeat timestamp (if heartbeat required) */
|
|
193
|
+
lastHeartbeat?: Date;
|
|
194
|
+
/** Supervision scope description */
|
|
195
|
+
scope?: string;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Zod schema for SupervisionContext validation.
|
|
199
|
+
*/
|
|
200
|
+
export declare const supervisionContextSchema: z.ZodObject<{
|
|
201
|
+
supervisorCAR: z.ZodEffects<z.ZodString, string, string>;
|
|
202
|
+
supervisorDID: z.ZodString;
|
|
203
|
+
supervisorTier: z.ZodNativeEnum<typeof CertificationTier>;
|
|
204
|
+
elevationTiers: z.ZodNumber;
|
|
205
|
+
grantedAt: z.ZodDate;
|
|
206
|
+
expiresAt: z.ZodDate;
|
|
207
|
+
heartbeatIntervalMs: z.ZodNumber;
|
|
208
|
+
lastHeartbeat: z.ZodOptional<z.ZodDate>;
|
|
209
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
expiresAt: Date;
|
|
212
|
+
grantedAt: Date;
|
|
213
|
+
supervisorCAR: string;
|
|
214
|
+
supervisorDID: string;
|
|
215
|
+
supervisorTier: CertificationTier;
|
|
216
|
+
elevationTiers: number;
|
|
217
|
+
heartbeatIntervalMs: number;
|
|
218
|
+
scope?: string | undefined;
|
|
219
|
+
lastHeartbeat?: Date | undefined;
|
|
220
|
+
}, {
|
|
221
|
+
expiresAt: Date;
|
|
222
|
+
grantedAt: Date;
|
|
223
|
+
supervisorCAR: string;
|
|
224
|
+
supervisorDID: string;
|
|
225
|
+
supervisorTier: CertificationTier;
|
|
226
|
+
elevationTiers: number;
|
|
227
|
+
heartbeatIntervalMs: number;
|
|
228
|
+
scope?: string | undefined;
|
|
229
|
+
lastHeartbeat?: Date | undefined;
|
|
230
|
+
}>;
|
|
231
|
+
/**
|
|
232
|
+
* Checks if a supervision context is currently active (not expired, heartbeat OK).
|
|
233
|
+
*
|
|
234
|
+
* @param ctx - Supervision context to check
|
|
235
|
+
* @returns True if supervision is active
|
|
236
|
+
*/
|
|
237
|
+
export declare function isSupervisionActive(ctx: SupervisionContext): boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Calculates the effective supervised tier for an agent.
|
|
240
|
+
*
|
|
241
|
+
* The supervised tier is: min(baseTier + elevation, supervisorTier - 1, T7)
|
|
242
|
+
*
|
|
243
|
+
* @param baseTier - Agent's own certification tier
|
|
244
|
+
* @param supervision - Active supervision context
|
|
245
|
+
* @returns Effective tier under supervision (or baseTier if supervision inactive)
|
|
246
|
+
*/
|
|
247
|
+
export declare function calculateSupervisedTier(baseTier: CertificationTier, supervision: SupervisionContext): CertificationTier;
|
|
248
|
+
/**
|
|
249
|
+
* Validates whether a supervision elevation request is valid.
|
|
250
|
+
*
|
|
251
|
+
* @param supervisorTier - Supervisor's certification tier
|
|
252
|
+
* @param subjectTier - Subject agent's certification tier
|
|
253
|
+
* @param requestedElevation - Requested tier elevation (0-2)
|
|
254
|
+
* @returns Validation result with reason if invalid
|
|
255
|
+
*/
|
|
256
|
+
export declare function validateSupervisionElevation(supervisorTier: CertificationTier, subjectTier: CertificationTier, requestedElevation: number): {
|
|
257
|
+
valid: boolean;
|
|
258
|
+
reason?: string;
|
|
259
|
+
effectiveTier?: CertificationTier;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Optional references to other CARs that aren't resolved at creation time.
|
|
263
|
+
*
|
|
264
|
+
* These are "floating" because they can be set after identity creation
|
|
265
|
+
* and may point to CARs that don't exist yet or are in other registries.
|
|
266
|
+
*/
|
|
267
|
+
export interface FloatingCARReferences {
|
|
268
|
+
/** CAR of the supervising agent (if under supervision) */
|
|
269
|
+
supervisorCAR?: string;
|
|
270
|
+
/** CAR of the parent agent (if this is a child/sub-agent) */
|
|
271
|
+
parentCAR?: string;
|
|
272
|
+
/** CARs of agents this agent has delegated to */
|
|
273
|
+
delegatedCARs?: string[];
|
|
274
|
+
/** CARs of related agents (peers, collaborators) */
|
|
275
|
+
relatedCARs?: string[];
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Zod schema for FloatingCARReferences validation.
|
|
279
|
+
*/
|
|
280
|
+
export declare const floatingCARReferencesSchema: z.ZodObject<{
|
|
281
|
+
supervisorCAR: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
282
|
+
parentCAR: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
283
|
+
delegatedCARs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
284
|
+
relatedCARs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
285
|
+
}, "strip", z.ZodTypeAny, {
|
|
286
|
+
supervisorCAR?: string | undefined;
|
|
287
|
+
parentCAR?: string | undefined;
|
|
288
|
+
delegatedCARs?: string[] | undefined;
|
|
289
|
+
relatedCARs?: string[] | undefined;
|
|
290
|
+
}, {
|
|
291
|
+
supervisorCAR?: string | undefined;
|
|
292
|
+
parentCAR?: string | undefined;
|
|
293
|
+
delegatedCARs?: string[] | undefined;
|
|
294
|
+
relatedCARs?: string[] | undefined;
|
|
295
|
+
}>;
|
|
162
296
|
/**
|
|
163
297
|
* Verification method in a DID document.
|
|
164
298
|
*/
|
|
@@ -236,11 +370,11 @@ export interface AgentIdentity {
|
|
|
236
370
|
/** Full CAR string */
|
|
237
371
|
car: string;
|
|
238
372
|
/** @deprecated Use car instead */
|
|
239
|
-
|
|
373
|
+
carId?: string;
|
|
240
374
|
/** Parsed CAR components */
|
|
241
375
|
parsedCAR?: ParsedCAR;
|
|
242
376
|
/** @deprecated Use parsedCAR instead */
|
|
243
|
-
|
|
377
|
+
parsedCarId?: ParsedCAR;
|
|
244
378
|
/** Agent DID (Decentralized Identifier) */
|
|
245
379
|
did: string;
|
|
246
380
|
/** Capability vector */
|
|
@@ -257,6 +391,10 @@ export interface AgentIdentity {
|
|
|
257
391
|
metadata?: AgentMetadata;
|
|
258
392
|
/** Runtime tier in current deployment */
|
|
259
393
|
runtimeTier?: RuntimeTier;
|
|
394
|
+
/** Active supervision context (if operating under a supervisor) */
|
|
395
|
+
supervision?: SupervisionContext;
|
|
396
|
+
/** Floating references to other CAR identities */
|
|
397
|
+
floatingReferences?: FloatingCARReferences;
|
|
260
398
|
/** Creation timestamp */
|
|
261
399
|
created: Date;
|
|
262
400
|
/** Last update timestamp */
|
|
@@ -269,13 +407,13 @@ export interface AgentIdentity {
|
|
|
269
407
|
*/
|
|
270
408
|
export declare const agentIdentitySchema: z.ZodObject<{
|
|
271
409
|
car: z.ZodEffects<z.ZodString, string, string>;
|
|
272
|
-
|
|
410
|
+
carId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
273
411
|
parsedCAR: z.ZodOptional<z.ZodObject<{
|
|
274
412
|
car: z.ZodString;
|
|
275
413
|
registry: z.ZodString;
|
|
276
414
|
organization: z.ZodString;
|
|
277
415
|
agentClass: z.ZodString;
|
|
278
|
-
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
|
|
416
|
+
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">;
|
|
279
417
|
domainsBitmask: z.ZodNumber;
|
|
280
418
|
level: z.ZodNativeEnum<typeof CapabilityLevel>;
|
|
281
419
|
version: z.ZodString;
|
|
@@ -286,7 +424,7 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
286
424
|
registry: string;
|
|
287
425
|
organization: string;
|
|
288
426
|
agentClass: string;
|
|
289
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
427
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
290
428
|
domainsBitmask: number;
|
|
291
429
|
car: string;
|
|
292
430
|
extensions: string[];
|
|
@@ -296,17 +434,17 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
296
434
|
registry: string;
|
|
297
435
|
organization: string;
|
|
298
436
|
agentClass: string;
|
|
299
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
437
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
300
438
|
domainsBitmask: number;
|
|
301
439
|
car: string;
|
|
302
440
|
extensions?: string[] | undefined;
|
|
303
441
|
}>>;
|
|
304
|
-
|
|
442
|
+
parsedCarId: z.ZodOptional<z.ZodObject<{
|
|
305
443
|
car: z.ZodString;
|
|
306
444
|
registry: z.ZodString;
|
|
307
445
|
organization: z.ZodString;
|
|
308
446
|
agentClass: z.ZodString;
|
|
309
|
-
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
|
|
447
|
+
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">;
|
|
310
448
|
domainsBitmask: z.ZodNumber;
|
|
311
449
|
level: z.ZodNativeEnum<typeof CapabilityLevel>;
|
|
312
450
|
version: z.ZodString;
|
|
@@ -317,7 +455,7 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
317
455
|
registry: string;
|
|
318
456
|
organization: string;
|
|
319
457
|
agentClass: string;
|
|
320
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
458
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
321
459
|
domainsBitmask: number;
|
|
322
460
|
car: string;
|
|
323
461
|
extensions: string[];
|
|
@@ -327,27 +465,27 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
327
465
|
registry: string;
|
|
328
466
|
organization: string;
|
|
329
467
|
agentClass: string;
|
|
330
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
468
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
331
469
|
domainsBitmask: number;
|
|
332
470
|
car: string;
|
|
333
471
|
extensions?: string[] | undefined;
|
|
334
472
|
}>>;
|
|
335
473
|
did: z.ZodString;
|
|
336
474
|
capabilities: z.ZodObject<{
|
|
337
|
-
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
|
|
475
|
+
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">;
|
|
338
476
|
domainsBitmask: z.ZodOptional<z.ZodNumber>;
|
|
339
477
|
level: z.ZodNativeEnum<typeof CapabilityLevel>;
|
|
340
478
|
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<["TG", "CW", "CR", "TD", "TR", "SM", "DA", "RS", "QA", "CA", "DV", "RV", "WS", "FO", "AI", "PL", "CM", "CS", "AU", "SC", "GV"]>, "many">>;
|
|
341
479
|
skillsBitmask: z.ZodOptional<z.ZodNumber>;
|
|
342
480
|
}, "strip", z.ZodTypeAny, {
|
|
343
481
|
level: CapabilityLevel;
|
|
344
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
482
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
345
483
|
skills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|
|
346
484
|
domainsBitmask?: number | undefined;
|
|
347
485
|
skillsBitmask?: number | undefined;
|
|
348
486
|
}, {
|
|
349
487
|
level: CapabilityLevel;
|
|
350
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
488
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
351
489
|
skills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|
|
352
490
|
domainsBitmask?: number | undefined;
|
|
353
491
|
skillsBitmask?: number | undefined;
|
|
@@ -356,9 +494,9 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
356
494
|
id: z.ZodString;
|
|
357
495
|
issuer: z.ZodString;
|
|
358
496
|
subject: z.ZodString;
|
|
359
|
-
scope: z.ZodEnum<["full", "domain", "level", "training", "security", "compliance", "identity"]>;
|
|
497
|
+
scope: z.ZodEnum<["full", "domain", "level", "training", "security", "compliance", "identity", "supervision"]>;
|
|
360
498
|
certificationTier: z.ZodNativeEnum<typeof CertificationTier>;
|
|
361
|
-
domains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">>;
|
|
499
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">>;
|
|
362
500
|
issuedAt: z.ZodDate;
|
|
363
501
|
expiresAt: z.ZodDate;
|
|
364
502
|
status: z.ZodEnum<["active", "expired", "revoked", "suspended", "pending"]>;
|
|
@@ -408,14 +546,15 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
408
546
|
}>>;
|
|
409
547
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
410
548
|
}, "strip", z.ZodTypeAny, {
|
|
411
|
-
id: string;
|
|
412
549
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
413
550
|
expiresAt: Date;
|
|
414
|
-
|
|
551
|
+
id: string;
|
|
552
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
415
553
|
issuedAt: Date;
|
|
416
554
|
issuer: string;
|
|
417
555
|
subject: string;
|
|
418
556
|
certificationTier: CertificationTier;
|
|
557
|
+
metadata?: Record<string, unknown> | undefined;
|
|
419
558
|
proof?: {
|
|
420
559
|
type: string;
|
|
421
560
|
created: string;
|
|
@@ -426,8 +565,7 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
426
565
|
domain?: string | undefined;
|
|
427
566
|
challenge?: string | undefined;
|
|
428
567
|
} | undefined;
|
|
429
|
-
|
|
430
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
568
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
431
569
|
evidence?: z.objectOutputType<{
|
|
432
570
|
testResults: z.ZodOptional<z.ZodString>;
|
|
433
571
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -435,14 +573,15 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
435
573
|
complianceDocumentation: z.ZodOptional<z.ZodString>;
|
|
436
574
|
}, z.ZodOptional<z.ZodString>, "strip"> | undefined;
|
|
437
575
|
}, {
|
|
438
|
-
id: string;
|
|
439
576
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
440
577
|
expiresAt: Date;
|
|
441
|
-
|
|
578
|
+
id: string;
|
|
579
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
442
580
|
issuedAt: Date;
|
|
443
581
|
issuer: string;
|
|
444
582
|
subject: string;
|
|
445
583
|
certificationTier: CertificationTier;
|
|
584
|
+
metadata?: Record<string, unknown> | undefined;
|
|
446
585
|
proof?: {
|
|
447
586
|
type: string;
|
|
448
587
|
created: string;
|
|
@@ -453,8 +592,7 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
453
592
|
domain?: string | undefined;
|
|
454
593
|
challenge?: string | undefined;
|
|
455
594
|
} | undefined;
|
|
456
|
-
|
|
457
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
595
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
458
596
|
evidence?: z.objectInputType<{
|
|
459
597
|
testResults: z.ZodOptional<z.ZodString>;
|
|
460
598
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -527,6 +665,53 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
527
665
|
logo: z.ZodOptional<z.ZodString>;
|
|
528
666
|
}, z.ZodOptional<z.ZodString>, "strip">>>;
|
|
529
667
|
runtimeTier: z.ZodOptional<z.ZodNativeEnum<typeof RuntimeTier>>;
|
|
668
|
+
supervision: z.ZodOptional<z.ZodObject<{
|
|
669
|
+
supervisorCAR: z.ZodEffects<z.ZodString, string, string>;
|
|
670
|
+
supervisorDID: z.ZodString;
|
|
671
|
+
supervisorTier: z.ZodNativeEnum<typeof CertificationTier>;
|
|
672
|
+
elevationTiers: z.ZodNumber;
|
|
673
|
+
grantedAt: z.ZodDate;
|
|
674
|
+
expiresAt: z.ZodDate;
|
|
675
|
+
heartbeatIntervalMs: z.ZodNumber;
|
|
676
|
+
lastHeartbeat: z.ZodOptional<z.ZodDate>;
|
|
677
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
678
|
+
}, "strip", z.ZodTypeAny, {
|
|
679
|
+
expiresAt: Date;
|
|
680
|
+
grantedAt: Date;
|
|
681
|
+
supervisorCAR: string;
|
|
682
|
+
supervisorDID: string;
|
|
683
|
+
supervisorTier: CertificationTier;
|
|
684
|
+
elevationTiers: number;
|
|
685
|
+
heartbeatIntervalMs: number;
|
|
686
|
+
scope?: string | undefined;
|
|
687
|
+
lastHeartbeat?: Date | undefined;
|
|
688
|
+
}, {
|
|
689
|
+
expiresAt: Date;
|
|
690
|
+
grantedAt: Date;
|
|
691
|
+
supervisorCAR: string;
|
|
692
|
+
supervisorDID: string;
|
|
693
|
+
supervisorTier: CertificationTier;
|
|
694
|
+
elevationTiers: number;
|
|
695
|
+
heartbeatIntervalMs: number;
|
|
696
|
+
scope?: string | undefined;
|
|
697
|
+
lastHeartbeat?: Date | undefined;
|
|
698
|
+
}>>;
|
|
699
|
+
floatingReferences: z.ZodOptional<z.ZodObject<{
|
|
700
|
+
supervisorCAR: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
701
|
+
parentCAR: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
702
|
+
delegatedCARs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
703
|
+
relatedCARs: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
704
|
+
}, "strip", z.ZodTypeAny, {
|
|
705
|
+
supervisorCAR?: string | undefined;
|
|
706
|
+
parentCAR?: string | undefined;
|
|
707
|
+
delegatedCARs?: string[] | undefined;
|
|
708
|
+
relatedCARs?: string[] | undefined;
|
|
709
|
+
}, {
|
|
710
|
+
supervisorCAR?: string | undefined;
|
|
711
|
+
parentCAR?: string | undefined;
|
|
712
|
+
delegatedCARs?: string[] | undefined;
|
|
713
|
+
relatedCARs?: string[] | undefined;
|
|
714
|
+
}>>;
|
|
530
715
|
created: z.ZodDate;
|
|
531
716
|
updated: z.ZodDate;
|
|
532
717
|
active: z.ZodBoolean;
|
|
@@ -534,20 +719,21 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
534
719
|
active: boolean;
|
|
535
720
|
capabilities: {
|
|
536
721
|
level: CapabilityLevel;
|
|
537
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
722
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
538
723
|
skills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|
|
539
724
|
domainsBitmask?: number | undefined;
|
|
540
725
|
skillsBitmask?: number | undefined;
|
|
541
726
|
};
|
|
542
727
|
attestations: {
|
|
543
|
-
id: string;
|
|
544
728
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
545
729
|
expiresAt: Date;
|
|
546
|
-
|
|
730
|
+
id: string;
|
|
731
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
547
732
|
issuedAt: Date;
|
|
548
733
|
issuer: string;
|
|
549
734
|
subject: string;
|
|
550
735
|
certificationTier: CertificationTier;
|
|
736
|
+
metadata?: Record<string, unknown> | undefined;
|
|
551
737
|
proof?: {
|
|
552
738
|
type: string;
|
|
553
739
|
created: string;
|
|
@@ -558,8 +744,7 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
558
744
|
domain?: string | undefined;
|
|
559
745
|
challenge?: string | undefined;
|
|
560
746
|
} | undefined;
|
|
561
|
-
|
|
562
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
747
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
563
748
|
evidence?: z.objectOutputType<{
|
|
564
749
|
testResults: z.ZodOptional<z.ZodString>;
|
|
565
750
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -582,7 +767,18 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
582
767
|
organization: z.ZodOptional<z.ZodString>;
|
|
583
768
|
logo: z.ZodOptional<z.ZodString>;
|
|
584
769
|
}, z.ZodOptional<z.ZodString>, "strip"> | undefined;
|
|
585
|
-
|
|
770
|
+
carId?: string | undefined;
|
|
771
|
+
supervision?: {
|
|
772
|
+
expiresAt: Date;
|
|
773
|
+
grantedAt: Date;
|
|
774
|
+
supervisorCAR: string;
|
|
775
|
+
supervisorDID: string;
|
|
776
|
+
supervisorTier: CertificationTier;
|
|
777
|
+
elevationTiers: number;
|
|
778
|
+
heartbeatIntervalMs: number;
|
|
779
|
+
scope?: string | undefined;
|
|
780
|
+
lastHeartbeat?: Date | undefined;
|
|
781
|
+
} | undefined;
|
|
586
782
|
serviceEndpoint?: string | undefined;
|
|
587
783
|
parsedCAR?: {
|
|
588
784
|
version: string;
|
|
@@ -590,18 +786,18 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
590
786
|
registry: string;
|
|
591
787
|
organization: string;
|
|
592
788
|
agentClass: string;
|
|
593
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
789
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
594
790
|
domainsBitmask: number;
|
|
595
791
|
car: string;
|
|
596
792
|
extensions: string[];
|
|
597
793
|
} | undefined;
|
|
598
|
-
|
|
794
|
+
parsedCarId?: {
|
|
599
795
|
version: string;
|
|
600
796
|
level: CapabilityLevel;
|
|
601
797
|
registry: string;
|
|
602
798
|
organization: string;
|
|
603
799
|
agentClass: string;
|
|
604
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
800
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
605
801
|
domainsBitmask: number;
|
|
606
802
|
car: string;
|
|
607
803
|
extensions: string[];
|
|
@@ -619,24 +815,31 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
619
815
|
publicKeyMultibase?: string | undefined;
|
|
620
816
|
}[] | undefined;
|
|
621
817
|
runtimeTier?: RuntimeTier | undefined;
|
|
818
|
+
floatingReferences?: {
|
|
819
|
+
supervisorCAR?: string | undefined;
|
|
820
|
+
parentCAR?: string | undefined;
|
|
821
|
+
delegatedCARs?: string[] | undefined;
|
|
822
|
+
relatedCARs?: string[] | undefined;
|
|
823
|
+
} | undefined;
|
|
622
824
|
}, {
|
|
623
825
|
active: boolean;
|
|
624
826
|
capabilities: {
|
|
625
827
|
level: CapabilityLevel;
|
|
626
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
828
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
627
829
|
skills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|
|
628
830
|
domainsBitmask?: number | undefined;
|
|
629
831
|
skillsBitmask?: number | undefined;
|
|
630
832
|
};
|
|
631
833
|
attestations: {
|
|
632
|
-
id: string;
|
|
633
834
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
634
835
|
expiresAt: Date;
|
|
635
|
-
|
|
836
|
+
id: string;
|
|
837
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
636
838
|
issuedAt: Date;
|
|
637
839
|
issuer: string;
|
|
638
840
|
subject: string;
|
|
639
841
|
certificationTier: CertificationTier;
|
|
842
|
+
metadata?: Record<string, unknown> | undefined;
|
|
640
843
|
proof?: {
|
|
641
844
|
type: string;
|
|
642
845
|
created: string;
|
|
@@ -647,8 +850,7 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
647
850
|
domain?: string | undefined;
|
|
648
851
|
challenge?: string | undefined;
|
|
649
852
|
} | undefined;
|
|
650
|
-
|
|
651
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
853
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
652
854
|
evidence?: z.objectInputType<{
|
|
653
855
|
testResults: z.ZodOptional<z.ZodString>;
|
|
654
856
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -671,7 +873,18 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
671
873
|
organization: z.ZodOptional<z.ZodString>;
|
|
672
874
|
logo: z.ZodOptional<z.ZodString>;
|
|
673
875
|
}, z.ZodOptional<z.ZodString>, "strip"> | undefined;
|
|
674
|
-
|
|
876
|
+
carId?: string | undefined;
|
|
877
|
+
supervision?: {
|
|
878
|
+
expiresAt: Date;
|
|
879
|
+
grantedAt: Date;
|
|
880
|
+
supervisorCAR: string;
|
|
881
|
+
supervisorDID: string;
|
|
882
|
+
supervisorTier: CertificationTier;
|
|
883
|
+
elevationTiers: number;
|
|
884
|
+
heartbeatIntervalMs: number;
|
|
885
|
+
scope?: string | undefined;
|
|
886
|
+
lastHeartbeat?: Date | undefined;
|
|
887
|
+
} | undefined;
|
|
675
888
|
serviceEndpoint?: string | undefined;
|
|
676
889
|
parsedCAR?: {
|
|
677
890
|
version: string;
|
|
@@ -679,18 +892,18 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
679
892
|
registry: string;
|
|
680
893
|
organization: string;
|
|
681
894
|
agentClass: string;
|
|
682
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
895
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
683
896
|
domainsBitmask: number;
|
|
684
897
|
car: string;
|
|
685
898
|
extensions?: string[] | undefined;
|
|
686
899
|
} | undefined;
|
|
687
|
-
|
|
900
|
+
parsedCarId?: {
|
|
688
901
|
version: string;
|
|
689
902
|
level: CapabilityLevel;
|
|
690
903
|
registry: string;
|
|
691
904
|
organization: string;
|
|
692
905
|
agentClass: string;
|
|
693
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
906
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
694
907
|
domainsBitmask: number;
|
|
695
908
|
car: string;
|
|
696
909
|
extensions?: string[] | undefined;
|
|
@@ -708,6 +921,12 @@ export declare const agentIdentitySchema: z.ZodObject<{
|
|
|
708
921
|
publicKeyMultibase?: string | undefined;
|
|
709
922
|
}[] | undefined;
|
|
710
923
|
runtimeTier?: RuntimeTier | undefined;
|
|
924
|
+
floatingReferences?: {
|
|
925
|
+
supervisorCAR?: string | undefined;
|
|
926
|
+
parentCAR?: string | undefined;
|
|
927
|
+
delegatedCARs?: string[] | undefined;
|
|
928
|
+
relatedCARs?: string[] | undefined;
|
|
929
|
+
} | undefined;
|
|
711
930
|
}>;
|
|
712
931
|
/**
|
|
713
932
|
* Lightweight summary of an agent identity.
|
|
@@ -725,7 +944,7 @@ export interface AgentIdentitySummary {
|
|
|
725
944
|
/** Full CAR string */
|
|
726
945
|
car: string;
|
|
727
946
|
/** @deprecated Use car instead */
|
|
728
|
-
|
|
947
|
+
carId?: string;
|
|
729
948
|
/** Agent DID */
|
|
730
949
|
did: string;
|
|
731
950
|
/** Capability domains */
|
|
@@ -749,9 +968,9 @@ export interface AgentIdentitySummary {
|
|
|
749
968
|
*/
|
|
750
969
|
export declare const agentIdentitySummarySchema: z.ZodObject<{
|
|
751
970
|
car: z.ZodEffects<z.ZodString, string, string>;
|
|
752
|
-
|
|
971
|
+
carId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
753
972
|
did: z.ZodString;
|
|
754
|
-
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">;
|
|
973
|
+
domains: z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">;
|
|
755
974
|
level: z.ZodNativeEnum<typeof CapabilityLevel>;
|
|
756
975
|
certificationTier: z.ZodOptional<z.ZodNativeEnum<typeof CertificationTier>>;
|
|
757
976
|
runtimeTier: z.ZodOptional<z.ZodNativeEnum<typeof RuntimeTier>>;
|
|
@@ -760,21 +979,21 @@ export declare const agentIdentitySummarySchema: z.ZodObject<{
|
|
|
760
979
|
}, "strip", z.ZodTypeAny, {
|
|
761
980
|
active: boolean;
|
|
762
981
|
level: CapabilityLevel;
|
|
763
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
982
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
764
983
|
car: string;
|
|
765
984
|
did: string;
|
|
766
985
|
name?: string | undefined;
|
|
767
|
-
|
|
986
|
+
carId?: string | undefined;
|
|
768
987
|
certificationTier?: CertificationTier | undefined;
|
|
769
988
|
runtimeTier?: RuntimeTier | undefined;
|
|
770
989
|
}, {
|
|
771
990
|
active: boolean;
|
|
772
991
|
level: CapabilityLevel;
|
|
773
|
-
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[];
|
|
992
|
+
domains: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[];
|
|
774
993
|
car: string;
|
|
775
994
|
did: string;
|
|
776
995
|
name?: string | undefined;
|
|
777
|
-
|
|
996
|
+
carId?: string | undefined;
|
|
778
997
|
certificationTier?: CertificationTier | undefined;
|
|
779
998
|
runtimeTier?: RuntimeTier | undefined;
|
|
780
999
|
}>;
|
|
@@ -785,7 +1004,7 @@ export interface AgentRegistrationOptions {
|
|
|
785
1004
|
/** CAR string or components */
|
|
786
1005
|
car: string;
|
|
787
1006
|
/** @deprecated Use car instead */
|
|
788
|
-
|
|
1007
|
+
carId?: string;
|
|
789
1008
|
/** Agent DID */
|
|
790
1009
|
did: string;
|
|
791
1010
|
/** Service endpoint URL */
|
|
@@ -804,7 +1023,7 @@ export interface AgentRegistrationOptions {
|
|
|
804
1023
|
*/
|
|
805
1024
|
export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
806
1025
|
car: z.ZodEffects<z.ZodString, string, string>;
|
|
807
|
-
|
|
1026
|
+
carId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
808
1027
|
did: z.ZodString;
|
|
809
1028
|
serviceEndpoint: z.ZodOptional<z.ZodString>;
|
|
810
1029
|
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -874,9 +1093,9 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
874
1093
|
id: z.ZodString;
|
|
875
1094
|
issuer: z.ZodString;
|
|
876
1095
|
subject: z.ZodString;
|
|
877
|
-
scope: z.ZodEnum<["full", "domain", "level", "training", "security", "compliance", "identity"]>;
|
|
1096
|
+
scope: z.ZodEnum<["full", "domain", "level", "training", "security", "compliance", "identity", "supervision"]>;
|
|
878
1097
|
certificationTier: z.ZodNativeEnum<typeof CertificationTier>;
|
|
879
|
-
domains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">>;
|
|
1098
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">>;
|
|
880
1099
|
issuedAt: z.ZodDate;
|
|
881
1100
|
expiresAt: z.ZodDate;
|
|
882
1101
|
status: z.ZodEnum<["active", "expired", "revoked", "suspended", "pending"]>;
|
|
@@ -926,14 +1145,15 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
926
1145
|
}>>;
|
|
927
1146
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
928
1147
|
}, "strip", z.ZodTypeAny, {
|
|
929
|
-
id: string;
|
|
930
1148
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
931
1149
|
expiresAt: Date;
|
|
932
|
-
|
|
1150
|
+
id: string;
|
|
1151
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
933
1152
|
issuedAt: Date;
|
|
934
1153
|
issuer: string;
|
|
935
1154
|
subject: string;
|
|
936
1155
|
certificationTier: CertificationTier;
|
|
1156
|
+
metadata?: Record<string, unknown> | undefined;
|
|
937
1157
|
proof?: {
|
|
938
1158
|
type: string;
|
|
939
1159
|
created: string;
|
|
@@ -944,8 +1164,7 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
944
1164
|
domain?: string | undefined;
|
|
945
1165
|
challenge?: string | undefined;
|
|
946
1166
|
} | undefined;
|
|
947
|
-
|
|
948
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
1167
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
949
1168
|
evidence?: z.objectOutputType<{
|
|
950
1169
|
testResults: z.ZodOptional<z.ZodString>;
|
|
951
1170
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -953,14 +1172,15 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
953
1172
|
complianceDocumentation: z.ZodOptional<z.ZodString>;
|
|
954
1173
|
}, z.ZodOptional<z.ZodString>, "strip"> | undefined;
|
|
955
1174
|
}, {
|
|
956
|
-
id: string;
|
|
957
1175
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
958
1176
|
expiresAt: Date;
|
|
959
|
-
|
|
1177
|
+
id: string;
|
|
1178
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
960
1179
|
issuedAt: Date;
|
|
961
1180
|
issuer: string;
|
|
962
1181
|
subject: string;
|
|
963
1182
|
certificationTier: CertificationTier;
|
|
1183
|
+
metadata?: Record<string, unknown> | undefined;
|
|
964
1184
|
proof?: {
|
|
965
1185
|
type: string;
|
|
966
1186
|
created: string;
|
|
@@ -971,8 +1191,7 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
971
1191
|
domain?: string | undefined;
|
|
972
1192
|
challenge?: string | undefined;
|
|
973
1193
|
} | undefined;
|
|
974
|
-
|
|
975
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
1194
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
976
1195
|
evidence?: z.objectInputType<{
|
|
977
1196
|
testResults: z.ZodOptional<z.ZodString>;
|
|
978
1197
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -994,16 +1213,17 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
994
1213
|
organization: z.ZodOptional<z.ZodString>;
|
|
995
1214
|
logo: z.ZodOptional<z.ZodString>;
|
|
996
1215
|
}, z.ZodOptional<z.ZodString>, "strip"> | undefined;
|
|
997
|
-
|
|
1216
|
+
carId?: string | undefined;
|
|
998
1217
|
attestations?: {
|
|
999
|
-
id: string;
|
|
1000
1218
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
1001
1219
|
expiresAt: Date;
|
|
1002
|
-
|
|
1220
|
+
id: string;
|
|
1221
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
1003
1222
|
issuedAt: Date;
|
|
1004
1223
|
issuer: string;
|
|
1005
1224
|
subject: string;
|
|
1006
1225
|
certificationTier: CertificationTier;
|
|
1226
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1007
1227
|
proof?: {
|
|
1008
1228
|
type: string;
|
|
1009
1229
|
created: string;
|
|
@@ -1014,8 +1234,7 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
1014
1234
|
domain?: string | undefined;
|
|
1015
1235
|
challenge?: string | undefined;
|
|
1016
1236
|
} | undefined;
|
|
1017
|
-
|
|
1018
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
1237
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
1019
1238
|
evidence?: z.objectOutputType<{
|
|
1020
1239
|
testResults: z.ZodOptional<z.ZodString>;
|
|
1021
1240
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -1050,16 +1269,17 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
1050
1269
|
organization: z.ZodOptional<z.ZodString>;
|
|
1051
1270
|
logo: z.ZodOptional<z.ZodString>;
|
|
1052
1271
|
}, z.ZodOptional<z.ZodString>, "strip"> | undefined;
|
|
1053
|
-
|
|
1272
|
+
carId?: string | undefined;
|
|
1054
1273
|
attestations?: {
|
|
1055
|
-
id: string;
|
|
1056
1274
|
status: "active" | "suspended" | "pending" | "revoked" | "expired";
|
|
1057
1275
|
expiresAt: Date;
|
|
1058
|
-
|
|
1276
|
+
id: string;
|
|
1277
|
+
scope: "compliance" | "security" | "training" | "domain" | "level" | "identity" | "full" | "supervision";
|
|
1059
1278
|
issuedAt: Date;
|
|
1060
1279
|
issuer: string;
|
|
1061
1280
|
subject: string;
|
|
1062
1281
|
certificationTier: CertificationTier;
|
|
1282
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1063
1283
|
proof?: {
|
|
1064
1284
|
type: string;
|
|
1065
1285
|
created: string;
|
|
@@ -1070,8 +1290,7 @@ export declare const agentRegistrationOptionsSchema: z.ZodObject<{
|
|
|
1070
1290
|
domain?: string | undefined;
|
|
1071
1291
|
challenge?: string | undefined;
|
|
1072
1292
|
} | undefined;
|
|
1073
|
-
|
|
1074
|
-
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
1293
|
+
domains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
1075
1294
|
evidence?: z.objectInputType<{
|
|
1076
1295
|
testResults: z.ZodOptional<z.ZodString>;
|
|
1077
1296
|
auditReport: z.ZodOptional<z.ZodString>;
|
|
@@ -1120,7 +1339,7 @@ export interface AgentMatchCriteria {
|
|
|
1120
1339
|
* Zod schema for AgentMatchCriteria.
|
|
1121
1340
|
*/
|
|
1122
1341
|
export declare const agentMatchCriteriaSchema: z.ZodObject<{
|
|
1123
|
-
requiredDomains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "S"]>, "many">>;
|
|
1342
|
+
requiredDomains: z.ZodOptional<z.ZodArray<z.ZodEnum<["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]>, "many">>;
|
|
1124
1343
|
minLevel: z.ZodOptional<z.ZodNativeEnum<typeof CapabilityLevel>>;
|
|
1125
1344
|
minCertificationTier: z.ZodOptional<z.ZodNativeEnum<typeof CertificationTier>>;
|
|
1126
1345
|
minRuntimeTier: z.ZodOptional<z.ZodNativeEnum<typeof RuntimeTier>>;
|
|
@@ -1133,7 +1352,7 @@ export declare const agentMatchCriteriaSchema: z.ZodObject<{
|
|
|
1133
1352
|
registry?: string | undefined;
|
|
1134
1353
|
organization?: string | undefined;
|
|
1135
1354
|
minCertificationTier?: CertificationTier | undefined;
|
|
1136
|
-
requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
1355
|
+
requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
1137
1356
|
minLevel?: CapabilityLevel | undefined;
|
|
1138
1357
|
minRuntimeTier?: RuntimeTier | undefined;
|
|
1139
1358
|
requiredSkills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|
|
@@ -1143,7 +1362,7 @@ export declare const agentMatchCriteriaSchema: z.ZodObject<{
|
|
|
1143
1362
|
registry?: string | undefined;
|
|
1144
1363
|
organization?: string | undefined;
|
|
1145
1364
|
minCertificationTier?: CertificationTier | undefined;
|
|
1146
|
-
requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "S")[] | undefined;
|
|
1365
|
+
requiredDomains?: ("A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z")[] | undefined;
|
|
1147
1366
|
minLevel?: CapabilityLevel | undefined;
|
|
1148
1367
|
minRuntimeTier?: RuntimeTier | undefined;
|
|
1149
1368
|
requiredSkills?: ("TG" | "CW" | "CR" | "TD" | "TR" | "SM" | "DA" | "RS" | "QA" | "CA" | "DV" | "RV" | "WS" | "FO" | "AI" | "PL" | "CM" | "CS" | "AU" | "SC" | "GV")[] | undefined;
|