@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.122
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1594 -922
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +40 -40
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -59
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +18 -20
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +1 -1
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -67
- package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +8 -8
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -23
- package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
- package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +176 -176
- package/dist/agent-capacity/contracts/support/execution-graph.js +1 -1
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +1 -6
- package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
- package/dist/agent-capacity/grant.d.ts +34 -0
- package/dist/agent-capacity/grant.js +4 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1042 -1042
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
- package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
- package/dist/agent-capacity/validation/assignment-records.js +4 -35
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +2 -6
- package/dist/agent-capacity/validation/grant.d.ts +11 -0
- package/dist/agent-capacity/validation/grant.js +31 -0
- package/dist/capacity/agents/agent-capacity.d.ts +2 -4
- package/dist/capacity/agents/agent-capacity.js +1 -3
- package/dist/capacity-provider/capability-ontology.d.ts +138 -138
- package/dist/capacity-provider/client.d.ts +1 -2
- package/dist/capacity-provider/client.js +0 -6
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +8 -8
- package/dist/capacity-provider/core-capability-catalog.d.ts +4 -4
- package/dist/capacity-provider/environment-catalog.d.ts +166 -166
- package/dist/capacity-provider/install-configuration.d.ts +2 -2
- package/dist/capacity-provider/sandbox-contracts.d.ts +52 -52
- package/dist/capacity-provider/source-workspace.d.ts +102 -4
- package/dist/capacity-provider/source-workspace.js +5 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +108 -108
- package/dist/content/validation/auxiliary-content-schemas.d.ts +108 -108
- package/dist/content/validation/content-model-schemas.d.ts +9473 -6284
- package/dist/content/validation/content-model-schemas.js +116 -48
- package/dist/content/validation/portable-content-data.d.ts +351 -181
- package/dist/content/validation/portable-content-data.js +6 -1
- package/dist/deployment/ai/storage.d.ts +14 -14
- package/dist/deployment/ai-hosting.d.ts +10 -10
- package/dist/deployment/ai-instance.d.ts +14 -14
- package/dist/deployment/ai-mode.d.ts +82 -82
- package/dist/deployment/hosted-topology-template.d.ts +24 -24
- package/dist/deployment/hosted-topology.d.ts +219 -219
- package/dist/deployment/postgres/contracts.d.ts +52 -52
- package/dist/deployment/postgres/transfer.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +780 -780
- package/dist/development/schemas.d.ts +439 -439
- package/dist/knowledge/contracts.d.ts +9 -2
- package/dist/knowledge/contracts.js +2 -2
- package/dist/model-registry/discussion-models.js +0 -1
- package/dist/operator-contracts/canonical-command-tree.js +3 -1
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +2 -2
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +17 -17
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +4 -4
- package/dist/operator-contracts/catalog/communication-operations.d.ts +100 -100
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +40 -40
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +54 -54
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +8 -8
- package/dist/operator-contracts/communication/contracts.d.ts +273 -273
- package/dist/operator-contracts/control-plane-operations.d.ts +236 -242
- package/dist/operator-contracts/control-plane-operations.js +0 -2
- package/dist/operator-contracts/inbox/contracts.d.ts +204 -204
- package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
- package/dist/platform/agent-schema-verification.d.ts +3 -0
- package/dist/platform/agent-schema-verification.js +94 -0
- package/dist/platform/verification.js +6 -0
- package/dist/sdk-types/support/planning-policy.d.ts +1 -1
- package/dist/secrets-capability/shared-access.d.ts +2 -2
- package/dist/secrets-capability/shared-resources.d.ts +46 -46
- package/dist/secrets-capability/vault-contracts.d.ts +2 -2
- package/dist/security/encrypted-envelope.d.ts +8 -8
- package/package.json +3 -2
- package/dist/agent-capacity/allocation.d.ts +0 -183
- package/dist/agent-capacity/allocation.js +0 -5
- package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
- package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
- package/dist/agent-capacity/artifacts.d.ts +0 -123
- package/dist/agent-capacity/artifacts.js +0 -39
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
- package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
- package/dist/agent-capacity/validation/allocation.d.ts +0 -12
- package/dist/agent-capacity/validation/allocation.js +0 -115
|
@@ -117,13 +117,16 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
|
|
|
117
117
|
mediaTypes: string[];
|
|
118
118
|
}[];
|
|
119
119
|
createdAt: string;
|
|
120
|
+
title: string;
|
|
121
|
+
description: string;
|
|
122
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
123
|
+
features: string[];
|
|
120
124
|
outputs: {
|
|
121
125
|
id: string;
|
|
122
126
|
version: string;
|
|
123
127
|
digest: string;
|
|
124
128
|
mediaTypes: string[];
|
|
125
129
|
}[];
|
|
126
|
-
description: string;
|
|
127
130
|
configuration: {
|
|
128
131
|
key: string;
|
|
129
132
|
description: string;
|
|
@@ -131,9 +134,6 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
|
|
|
131
134
|
requirementSupport: ("required" | "preferred")[];
|
|
132
135
|
securityCritical: boolean;
|
|
133
136
|
}[];
|
|
134
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
135
|
-
title: string;
|
|
136
|
-
features: string[];
|
|
137
137
|
permissionClasses: string[];
|
|
138
138
|
contextModes: string[];
|
|
139
139
|
interactionModes: string[];
|
|
@@ -161,13 +161,16 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
|
|
|
161
161
|
mediaTypes?: string[] | undefined;
|
|
162
162
|
}[];
|
|
163
163
|
createdAt: string;
|
|
164
|
+
title: string;
|
|
165
|
+
description: string;
|
|
166
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
167
|
+
features: string[];
|
|
164
168
|
outputs: {
|
|
165
169
|
id: string;
|
|
166
170
|
version: string;
|
|
167
171
|
digest: string;
|
|
168
172
|
mediaTypes?: string[] | undefined;
|
|
169
173
|
}[];
|
|
170
|
-
description: string;
|
|
171
174
|
configuration: {
|
|
172
175
|
key: string;
|
|
173
176
|
description: string;
|
|
@@ -175,9 +178,6 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
|
|
|
175
178
|
requirementSupport: ("required" | "preferred")[];
|
|
176
179
|
securityCritical?: boolean | undefined;
|
|
177
180
|
}[];
|
|
178
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
179
|
-
title: string;
|
|
180
|
-
features: string[];
|
|
181
181
|
permissionClasses: string[];
|
|
182
182
|
contextModes: string[];
|
|
183
183
|
interactionModes: string[];
|
|
@@ -302,13 +302,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
302
302
|
mediaTypes: string[];
|
|
303
303
|
}[];
|
|
304
304
|
createdAt: string;
|
|
305
|
+
title: string;
|
|
306
|
+
description: string;
|
|
307
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
308
|
+
features: string[];
|
|
305
309
|
outputs: {
|
|
306
310
|
id: string;
|
|
307
311
|
version: string;
|
|
308
312
|
digest: string;
|
|
309
313
|
mediaTypes: string[];
|
|
310
314
|
}[];
|
|
311
|
-
description: string;
|
|
312
315
|
configuration: {
|
|
313
316
|
key: string;
|
|
314
317
|
description: string;
|
|
@@ -316,9 +319,6 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
316
319
|
requirementSupport: ("required" | "preferred")[];
|
|
317
320
|
securityCritical: boolean;
|
|
318
321
|
}[];
|
|
319
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
320
|
-
title: string;
|
|
321
|
-
features: string[];
|
|
322
322
|
permissionClasses: string[];
|
|
323
323
|
contextModes: string[];
|
|
324
324
|
interactionModes: string[];
|
|
@@ -346,13 +346,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
346
346
|
mediaTypes?: string[] | undefined;
|
|
347
347
|
}[];
|
|
348
348
|
createdAt: string;
|
|
349
|
+
title: string;
|
|
350
|
+
description: string;
|
|
351
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
352
|
+
features: string[];
|
|
349
353
|
outputs: {
|
|
350
354
|
id: string;
|
|
351
355
|
version: string;
|
|
352
356
|
digest: string;
|
|
353
357
|
mediaTypes?: string[] | undefined;
|
|
354
358
|
}[];
|
|
355
|
-
description: string;
|
|
356
359
|
configuration: {
|
|
357
360
|
key: string;
|
|
358
361
|
description: string;
|
|
@@ -360,9 +363,6 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
360
363
|
requirementSupport: ("required" | "preferred")[];
|
|
361
364
|
securityCritical?: boolean | undefined;
|
|
362
365
|
}[];
|
|
363
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
364
|
-
title: string;
|
|
365
|
-
features: string[];
|
|
366
366
|
permissionClasses: string[];
|
|
367
367
|
contextModes: string[];
|
|
368
368
|
interactionModes: string[];
|
|
@@ -385,23 +385,18 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
385
385
|
value: z.ZodString;
|
|
386
386
|
}, "strict", z.ZodTypeAny, {
|
|
387
387
|
value: string;
|
|
388
|
-
algorithm: "Ed25519" | "release-catalog";
|
|
389
388
|
keyId: string;
|
|
389
|
+
algorithm: "Ed25519" | "release-catalog";
|
|
390
390
|
}, {
|
|
391
391
|
value: string;
|
|
392
|
-
algorithm: "Ed25519" | "release-catalog";
|
|
393
392
|
keyId: string;
|
|
393
|
+
algorithm: "Ed25519" | "release-catalog";
|
|
394
394
|
}>;
|
|
395
395
|
}, "strict", z.ZodTypeAny, {
|
|
396
396
|
schemaVersion: "treeseed.capability-ontology/v1";
|
|
397
397
|
digest: string;
|
|
398
398
|
createdAt: string;
|
|
399
399
|
generation: number;
|
|
400
|
-
signature: {
|
|
401
|
-
value: string;
|
|
402
|
-
algorithm: "Ed25519" | "release-catalog";
|
|
403
|
-
keyId: string;
|
|
404
|
-
};
|
|
405
400
|
definitions: {
|
|
406
401
|
status: "active" | "revoked" | "deprecated";
|
|
407
402
|
id: string;
|
|
@@ -415,13 +410,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
415
410
|
mediaTypes: string[];
|
|
416
411
|
}[];
|
|
417
412
|
createdAt: string;
|
|
413
|
+
title: string;
|
|
414
|
+
description: string;
|
|
415
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
416
|
+
features: string[];
|
|
418
417
|
outputs: {
|
|
419
418
|
id: string;
|
|
420
419
|
version: string;
|
|
421
420
|
digest: string;
|
|
422
421
|
mediaTypes: string[];
|
|
423
422
|
}[];
|
|
424
|
-
description: string;
|
|
425
423
|
configuration: {
|
|
426
424
|
key: string;
|
|
427
425
|
description: string;
|
|
@@ -429,9 +427,6 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
429
427
|
requirementSupport: ("required" | "preferred")[];
|
|
430
428
|
securityCritical: boolean;
|
|
431
429
|
}[];
|
|
432
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
433
|
-
title: string;
|
|
434
|
-
features: string[];
|
|
435
430
|
permissionClasses: string[];
|
|
436
431
|
contextModes: string[];
|
|
437
432
|
interactionModes: string[];
|
|
@@ -447,16 +442,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
447
442
|
}[];
|
|
448
443
|
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
449
444
|
}[];
|
|
445
|
+
signature: {
|
|
446
|
+
value: string;
|
|
447
|
+
keyId: string;
|
|
448
|
+
algorithm: "Ed25519" | "release-catalog";
|
|
449
|
+
};
|
|
450
450
|
}, {
|
|
451
451
|
schemaVersion: "treeseed.capability-ontology/v1";
|
|
452
452
|
digest: string;
|
|
453
453
|
createdAt: string;
|
|
454
454
|
generation: number;
|
|
455
|
-
signature: {
|
|
456
|
-
value: string;
|
|
457
|
-
algorithm: "Ed25519" | "release-catalog";
|
|
458
|
-
keyId: string;
|
|
459
|
-
};
|
|
460
455
|
definitions: {
|
|
461
456
|
status: "active" | "revoked" | "deprecated";
|
|
462
457
|
id: string;
|
|
@@ -470,13 +465,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
470
465
|
mediaTypes?: string[] | undefined;
|
|
471
466
|
}[];
|
|
472
467
|
createdAt: string;
|
|
468
|
+
title: string;
|
|
469
|
+
description: string;
|
|
470
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
471
|
+
features: string[];
|
|
473
472
|
outputs: {
|
|
474
473
|
id: string;
|
|
475
474
|
version: string;
|
|
476
475
|
digest: string;
|
|
477
476
|
mediaTypes?: string[] | undefined;
|
|
478
477
|
}[];
|
|
479
|
-
description: string;
|
|
480
478
|
configuration: {
|
|
481
479
|
key: string;
|
|
482
480
|
description: string;
|
|
@@ -484,9 +482,6 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
484
482
|
requirementSupport: ("required" | "preferred")[];
|
|
485
483
|
securityCritical?: boolean | undefined;
|
|
486
484
|
}[];
|
|
487
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
488
|
-
title: string;
|
|
489
|
-
features: string[];
|
|
490
485
|
permissionClasses: string[];
|
|
491
486
|
contextModes: string[];
|
|
492
487
|
interactionModes: string[];
|
|
@@ -502,16 +497,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
502
497
|
}[];
|
|
503
498
|
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
504
499
|
}[];
|
|
500
|
+
signature: {
|
|
501
|
+
value: string;
|
|
502
|
+
keyId: string;
|
|
503
|
+
algorithm: "Ed25519" | "release-catalog";
|
|
504
|
+
};
|
|
505
505
|
}>, {
|
|
506
506
|
schemaVersion: "treeseed.capability-ontology/v1";
|
|
507
507
|
digest: string;
|
|
508
508
|
createdAt: string;
|
|
509
509
|
generation: number;
|
|
510
|
-
signature: {
|
|
511
|
-
value: string;
|
|
512
|
-
algorithm: "Ed25519" | "release-catalog";
|
|
513
|
-
keyId: string;
|
|
514
|
-
};
|
|
515
510
|
definitions: {
|
|
516
511
|
status: "active" | "revoked" | "deprecated";
|
|
517
512
|
id: string;
|
|
@@ -525,13 +520,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
525
520
|
mediaTypes: string[];
|
|
526
521
|
}[];
|
|
527
522
|
createdAt: string;
|
|
523
|
+
title: string;
|
|
524
|
+
description: string;
|
|
525
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
526
|
+
features: string[];
|
|
528
527
|
outputs: {
|
|
529
528
|
id: string;
|
|
530
529
|
version: string;
|
|
531
530
|
digest: string;
|
|
532
531
|
mediaTypes: string[];
|
|
533
532
|
}[];
|
|
534
|
-
description: string;
|
|
535
533
|
configuration: {
|
|
536
534
|
key: string;
|
|
537
535
|
description: string;
|
|
@@ -539,9 +537,6 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
539
537
|
requirementSupport: ("required" | "preferred")[];
|
|
540
538
|
securityCritical: boolean;
|
|
541
539
|
}[];
|
|
542
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
543
|
-
title: string;
|
|
544
|
-
features: string[];
|
|
545
540
|
permissionClasses: string[];
|
|
546
541
|
contextModes: string[];
|
|
547
542
|
interactionModes: string[];
|
|
@@ -557,16 +552,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
557
552
|
}[];
|
|
558
553
|
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
559
554
|
}[];
|
|
555
|
+
signature: {
|
|
556
|
+
value: string;
|
|
557
|
+
keyId: string;
|
|
558
|
+
algorithm: "Ed25519" | "release-catalog";
|
|
559
|
+
};
|
|
560
560
|
}, {
|
|
561
561
|
schemaVersion: "treeseed.capability-ontology/v1";
|
|
562
562
|
digest: string;
|
|
563
563
|
createdAt: string;
|
|
564
564
|
generation: number;
|
|
565
|
-
signature: {
|
|
566
|
-
value: string;
|
|
567
|
-
algorithm: "Ed25519" | "release-catalog";
|
|
568
|
-
keyId: string;
|
|
569
|
-
};
|
|
570
565
|
definitions: {
|
|
571
566
|
status: "active" | "revoked" | "deprecated";
|
|
572
567
|
id: string;
|
|
@@ -580,13 +575,16 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
580
575
|
mediaTypes?: string[] | undefined;
|
|
581
576
|
}[];
|
|
582
577
|
createdAt: string;
|
|
578
|
+
title: string;
|
|
579
|
+
description: string;
|
|
580
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
581
|
+
features: string[];
|
|
583
582
|
outputs: {
|
|
584
583
|
id: string;
|
|
585
584
|
version: string;
|
|
586
585
|
digest: string;
|
|
587
586
|
mediaTypes?: string[] | undefined;
|
|
588
587
|
}[];
|
|
589
|
-
description: string;
|
|
590
588
|
configuration: {
|
|
591
589
|
key: string;
|
|
592
590
|
description: string;
|
|
@@ -594,9 +592,6 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
594
592
|
requirementSupport: ("required" | "preferred")[];
|
|
595
593
|
securityCritical?: boolean | undefined;
|
|
596
594
|
}[];
|
|
597
|
-
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
598
|
-
title: string;
|
|
599
|
-
features: string[];
|
|
600
595
|
permissionClasses: string[];
|
|
601
596
|
contextModes: string[];
|
|
602
597
|
interactionModes: string[];
|
|
@@ -612,6 +607,11 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
|
|
|
612
607
|
}[];
|
|
613
608
|
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
614
609
|
}[];
|
|
610
|
+
signature: {
|
|
611
|
+
value: string;
|
|
612
|
+
keyId: string;
|
|
613
|
+
algorithm: "Ed25519" | "release-catalog";
|
|
614
|
+
};
|
|
615
615
|
}>;
|
|
616
616
|
export declare const capabilityDemandSchema: z.ZodObject<{
|
|
617
617
|
schemaVersion: z.ZodLiteral<"treeseed.capability-demand/v1">;
|
|
@@ -703,6 +703,9 @@ export declare const capabilityDemandSchema: z.ZodObject<{
|
|
|
703
703
|
demandDigest: z.ZodString;
|
|
704
704
|
}, "strict", z.ZodTypeAny, {
|
|
705
705
|
schemaVersion: "treeseed.capability-demand/v1";
|
|
706
|
+
permissionClasses: string[];
|
|
707
|
+
contextModes: string[];
|
|
708
|
+
ontologyGeneration: number;
|
|
706
709
|
requirements: {
|
|
707
710
|
configuration: Record<string, {
|
|
708
711
|
requirement: "required" | "preferred";
|
|
@@ -714,9 +717,6 @@ export declare const capabilityDemandSchema: z.ZodObject<{
|
|
|
714
717
|
alternativeGroup: string | null;
|
|
715
718
|
requiredFeatures: string[];
|
|
716
719
|
}[];
|
|
717
|
-
permissionClasses: string[];
|
|
718
|
-
contextModes: string[];
|
|
719
|
-
ontologyGeneration: number;
|
|
720
720
|
resolved: {
|
|
721
721
|
id: string;
|
|
722
722
|
version: string;
|
|
@@ -737,6 +737,9 @@ export declare const capabilityDemandSchema: z.ZodObject<{
|
|
|
737
737
|
demandDigest: string;
|
|
738
738
|
}, {
|
|
739
739
|
schemaVersion: "treeseed.capability-demand/v1";
|
|
740
|
+
permissionClasses: string[];
|
|
741
|
+
contextModes: string[];
|
|
742
|
+
ontologyGeneration: number;
|
|
740
743
|
requirements: {
|
|
741
744
|
requirement: "required" | "preferred";
|
|
742
745
|
capabilityId: string;
|
|
@@ -748,9 +751,6 @@ export declare const capabilityDemandSchema: z.ZodObject<{
|
|
|
748
751
|
alternativeGroup?: string | null | undefined;
|
|
749
752
|
requiredFeatures?: string[] | undefined;
|
|
750
753
|
}[];
|
|
751
|
-
permissionClasses: string[];
|
|
752
|
-
contextModes: string[];
|
|
753
|
-
ontologyGeneration: number;
|
|
754
754
|
resolved: {
|
|
755
755
|
id: string;
|
|
756
756
|
version: string;
|
|
@@ -807,57 +807,57 @@ export declare const capabilityConformanceSchema: z.ZodObject<{
|
|
|
807
807
|
value: z.ZodString;
|
|
808
808
|
}, "strict", z.ZodTypeAny, {
|
|
809
809
|
value: string;
|
|
810
|
-
algorithm: "Ed25519";
|
|
811
810
|
keyId: string;
|
|
811
|
+
algorithm: "Ed25519";
|
|
812
812
|
}, {
|
|
813
813
|
value: string;
|
|
814
|
-
algorithm: "Ed25519";
|
|
815
814
|
keyId: string;
|
|
815
|
+
algorithm: "Ed25519";
|
|
816
816
|
}>;
|
|
817
817
|
}, "strict", z.ZodTypeAny, {
|
|
818
|
-
status: "revoked" | "
|
|
818
|
+
status: "revoked" | "failed" | "passed";
|
|
819
819
|
expiresAt: string | null;
|
|
820
820
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
821
821
|
providerId: string;
|
|
822
822
|
issuedAt: string;
|
|
823
|
+
signature: {
|
|
824
|
+
value: string;
|
|
825
|
+
keyId: string;
|
|
826
|
+
algorithm: "Ed25519";
|
|
827
|
+
};
|
|
823
828
|
capability: {
|
|
824
829
|
id: string;
|
|
825
830
|
version: string;
|
|
826
831
|
digest: string;
|
|
827
832
|
};
|
|
833
|
+
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
834
|
+
evidenceDigest: string;
|
|
828
835
|
suite: {
|
|
829
836
|
id: string;
|
|
830
837
|
version: string;
|
|
831
838
|
} | null;
|
|
832
|
-
signature: {
|
|
833
|
-
value: string;
|
|
834
|
-
algorithm: "Ed25519";
|
|
835
|
-
keyId: string;
|
|
836
|
-
};
|
|
837
|
-
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
838
|
-
evidenceDigest: string;
|
|
839
839
|
}, {
|
|
840
|
-
status: "revoked" | "
|
|
840
|
+
status: "revoked" | "failed" | "passed";
|
|
841
841
|
expiresAt: string | null;
|
|
842
842
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
843
843
|
providerId: string;
|
|
844
844
|
issuedAt: string;
|
|
845
|
+
signature: {
|
|
846
|
+
value: string;
|
|
847
|
+
keyId: string;
|
|
848
|
+
algorithm: "Ed25519";
|
|
849
|
+
};
|
|
845
850
|
capability: {
|
|
846
851
|
id: string;
|
|
847
852
|
version: string;
|
|
848
853
|
digest: string;
|
|
849
854
|
};
|
|
855
|
+
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
856
|
+
evidenceDigest: string;
|
|
850
857
|
suite: {
|
|
851
858
|
id: string;
|
|
852
859
|
version: string;
|
|
853
860
|
} | null;
|
|
854
|
-
signature: {
|
|
855
|
-
value: string;
|
|
856
|
-
algorithm: "Ed25519";
|
|
857
|
-
keyId: string;
|
|
858
|
-
};
|
|
859
|
-
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
860
|
-
evidenceDigest: string;
|
|
861
861
|
}>;
|
|
862
862
|
export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
863
863
|
mode: z.ZodLiteral<"bounded">;
|
|
@@ -882,7 +882,7 @@ export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscrimina
|
|
|
882
882
|
}, "strict", z.ZodTypeAny, {
|
|
883
883
|
maximum: number;
|
|
884
884
|
mode: "bounded";
|
|
885
|
-
measurement: "
|
|
885
|
+
measurement: "tokens" | "bytes" | "items";
|
|
886
886
|
defaultInitial: number;
|
|
887
887
|
reservedOutput: number;
|
|
888
888
|
transportPayloadBytes: number;
|
|
@@ -894,7 +894,7 @@ export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscrimina
|
|
|
894
894
|
}, {
|
|
895
895
|
maximum: number;
|
|
896
896
|
mode: "bounded";
|
|
897
|
-
measurement: "
|
|
897
|
+
measurement: "tokens" | "bytes" | "items";
|
|
898
898
|
defaultInitial: number;
|
|
899
899
|
transportPayloadBytes: number;
|
|
900
900
|
measurementProvenance: {
|
|
@@ -922,7 +922,7 @@ export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscrimina
|
|
|
922
922
|
}>;
|
|
923
923
|
}, "strict", z.ZodTypeAny, {
|
|
924
924
|
mode: "unbounded";
|
|
925
|
-
measurement: "
|
|
925
|
+
measurement: "tokens" | "bytes" | "items" | null;
|
|
926
926
|
transportPayloadBytes: number;
|
|
927
927
|
measurementProvenance: {
|
|
928
928
|
provider: string;
|
|
@@ -937,11 +937,11 @@ export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscrimina
|
|
|
937
937
|
version: string | null;
|
|
938
938
|
implementation: string;
|
|
939
939
|
};
|
|
940
|
-
measurement?: "
|
|
940
|
+
measurement?: "tokens" | "bytes" | "items" | null | undefined;
|
|
941
941
|
}>]>, {
|
|
942
942
|
maximum: number;
|
|
943
943
|
mode: "bounded";
|
|
944
|
-
measurement: "
|
|
944
|
+
measurement: "tokens" | "bytes" | "items";
|
|
945
945
|
defaultInitial: number;
|
|
946
946
|
reservedOutput: number;
|
|
947
947
|
transportPayloadBytes: number;
|
|
@@ -952,7 +952,7 @@ export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscrimina
|
|
|
952
952
|
};
|
|
953
953
|
} | {
|
|
954
954
|
mode: "unbounded";
|
|
955
|
-
measurement: "
|
|
955
|
+
measurement: "tokens" | "bytes" | "items" | null;
|
|
956
956
|
transportPayloadBytes: number;
|
|
957
957
|
measurementProvenance: {
|
|
958
958
|
provider: string;
|
|
@@ -962,7 +962,7 @@ export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscrimina
|
|
|
962
962
|
}, {
|
|
963
963
|
maximum: number;
|
|
964
964
|
mode: "bounded";
|
|
965
|
-
measurement: "
|
|
965
|
+
measurement: "tokens" | "bytes" | "items";
|
|
966
966
|
defaultInitial: number;
|
|
967
967
|
transportPayloadBytes: number;
|
|
968
968
|
measurementProvenance: {
|
|
@@ -979,7 +979,7 @@ export declare const providerContextCapacitySchema: z.ZodEffects<z.ZodDiscrimina
|
|
|
979
979
|
version: string | null;
|
|
980
980
|
implementation: string;
|
|
981
981
|
};
|
|
982
|
-
measurement?: "
|
|
982
|
+
measurement?: "tokens" | "bytes" | "items" | null | undefined;
|
|
983
983
|
}>;
|
|
984
984
|
export declare const capabilityOfferSchema: z.ZodObject<{
|
|
985
985
|
schemaVersion: z.ZodLiteral<"treeseed.capability-offer/v2">;
|
|
@@ -1080,57 +1080,57 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1080
1080
|
value: z.ZodString;
|
|
1081
1081
|
}, "strict", z.ZodTypeAny, {
|
|
1082
1082
|
value: string;
|
|
1083
|
-
algorithm: "Ed25519";
|
|
1084
1083
|
keyId: string;
|
|
1084
|
+
algorithm: "Ed25519";
|
|
1085
1085
|
}, {
|
|
1086
1086
|
value: string;
|
|
1087
|
-
algorithm: "Ed25519";
|
|
1088
1087
|
keyId: string;
|
|
1088
|
+
algorithm: "Ed25519";
|
|
1089
1089
|
}>;
|
|
1090
1090
|
}, "strict", z.ZodTypeAny, {
|
|
1091
|
-
status: "revoked" | "
|
|
1091
|
+
status: "revoked" | "failed" | "passed";
|
|
1092
1092
|
expiresAt: string | null;
|
|
1093
1093
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1094
1094
|
providerId: string;
|
|
1095
1095
|
issuedAt: string;
|
|
1096
|
+
signature: {
|
|
1097
|
+
value: string;
|
|
1098
|
+
keyId: string;
|
|
1099
|
+
algorithm: "Ed25519";
|
|
1100
|
+
};
|
|
1096
1101
|
capability: {
|
|
1097
1102
|
id: string;
|
|
1098
1103
|
version: string;
|
|
1099
1104
|
digest: string;
|
|
1100
1105
|
};
|
|
1106
|
+
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1107
|
+
evidenceDigest: string;
|
|
1101
1108
|
suite: {
|
|
1102
1109
|
id: string;
|
|
1103
1110
|
version: string;
|
|
1104
1111
|
} | null;
|
|
1105
|
-
signature: {
|
|
1106
|
-
value: string;
|
|
1107
|
-
algorithm: "Ed25519";
|
|
1108
|
-
keyId: string;
|
|
1109
|
-
};
|
|
1110
|
-
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1111
|
-
evidenceDigest: string;
|
|
1112
1112
|
}, {
|
|
1113
|
-
status: "revoked" | "
|
|
1113
|
+
status: "revoked" | "failed" | "passed";
|
|
1114
1114
|
expiresAt: string | null;
|
|
1115
1115
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1116
1116
|
providerId: string;
|
|
1117
1117
|
issuedAt: string;
|
|
1118
|
+
signature: {
|
|
1119
|
+
value: string;
|
|
1120
|
+
keyId: string;
|
|
1121
|
+
algorithm: "Ed25519";
|
|
1122
|
+
};
|
|
1118
1123
|
capability: {
|
|
1119
1124
|
id: string;
|
|
1120
1125
|
version: string;
|
|
1121
1126
|
digest: string;
|
|
1122
1127
|
};
|
|
1128
|
+
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1129
|
+
evidenceDigest: string;
|
|
1123
1130
|
suite: {
|
|
1124
1131
|
id: string;
|
|
1125
1132
|
version: string;
|
|
1126
1133
|
} | null;
|
|
1127
|
-
signature: {
|
|
1128
|
-
value: string;
|
|
1129
|
-
algorithm: "Ed25519";
|
|
1130
|
-
keyId: string;
|
|
1131
|
-
};
|
|
1132
|
-
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1133
|
-
evidenceDigest: string;
|
|
1134
1134
|
}>, "many">;
|
|
1135
1135
|
contextCapacity: z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1136
1136
|
mode: z.ZodLiteral<"bounded">;
|
|
@@ -1155,7 +1155,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1155
1155
|
}, "strict", z.ZodTypeAny, {
|
|
1156
1156
|
maximum: number;
|
|
1157
1157
|
mode: "bounded";
|
|
1158
|
-
measurement: "
|
|
1158
|
+
measurement: "tokens" | "bytes" | "items";
|
|
1159
1159
|
defaultInitial: number;
|
|
1160
1160
|
reservedOutput: number;
|
|
1161
1161
|
transportPayloadBytes: number;
|
|
@@ -1167,7 +1167,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1167
1167
|
}, {
|
|
1168
1168
|
maximum: number;
|
|
1169
1169
|
mode: "bounded";
|
|
1170
|
-
measurement: "
|
|
1170
|
+
measurement: "tokens" | "bytes" | "items";
|
|
1171
1171
|
defaultInitial: number;
|
|
1172
1172
|
transportPayloadBytes: number;
|
|
1173
1173
|
measurementProvenance: {
|
|
@@ -1195,7 +1195,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1195
1195
|
}>;
|
|
1196
1196
|
}, "strict", z.ZodTypeAny, {
|
|
1197
1197
|
mode: "unbounded";
|
|
1198
|
-
measurement: "
|
|
1198
|
+
measurement: "tokens" | "bytes" | "items" | null;
|
|
1199
1199
|
transportPayloadBytes: number;
|
|
1200
1200
|
measurementProvenance: {
|
|
1201
1201
|
provider: string;
|
|
@@ -1210,11 +1210,11 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1210
1210
|
version: string | null;
|
|
1211
1211
|
implementation: string;
|
|
1212
1212
|
};
|
|
1213
|
-
measurement?: "
|
|
1213
|
+
measurement?: "tokens" | "bytes" | "items" | null | undefined;
|
|
1214
1214
|
}>]>, {
|
|
1215
1215
|
maximum: number;
|
|
1216
1216
|
mode: "bounded";
|
|
1217
|
-
measurement: "
|
|
1217
|
+
measurement: "tokens" | "bytes" | "items";
|
|
1218
1218
|
defaultInitial: number;
|
|
1219
1219
|
reservedOutput: number;
|
|
1220
1220
|
transportPayloadBytes: number;
|
|
@@ -1225,7 +1225,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1225
1225
|
};
|
|
1226
1226
|
} | {
|
|
1227
1227
|
mode: "unbounded";
|
|
1228
|
-
measurement: "
|
|
1228
|
+
measurement: "tokens" | "bytes" | "items" | null;
|
|
1229
1229
|
transportPayloadBytes: number;
|
|
1230
1230
|
measurementProvenance: {
|
|
1231
1231
|
provider: string;
|
|
@@ -1235,7 +1235,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1235
1235
|
}, {
|
|
1236
1236
|
maximum: number;
|
|
1237
1237
|
mode: "bounded";
|
|
1238
|
-
measurement: "
|
|
1238
|
+
measurement: "tokens" | "bytes" | "items";
|
|
1239
1239
|
defaultInitial: number;
|
|
1240
1240
|
transportPayloadBytes: number;
|
|
1241
1241
|
measurementProvenance: {
|
|
@@ -1252,7 +1252,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1252
1252
|
version: string | null;
|
|
1253
1253
|
implementation: string;
|
|
1254
1254
|
};
|
|
1255
|
-
measurement?: "
|
|
1255
|
+
measurement?: "tokens" | "bytes" | "items" | null | undefined;
|
|
1256
1256
|
}>;
|
|
1257
1257
|
limits: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1258
1258
|
commercial: z.ZodObject<{
|
|
@@ -1275,8 +1275,6 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1275
1275
|
version: string;
|
|
1276
1276
|
digest: string;
|
|
1277
1277
|
}[];
|
|
1278
|
-
trust: string[];
|
|
1279
|
-
region: string | null;
|
|
1280
1278
|
features: string[];
|
|
1281
1279
|
permissionClasses: string[];
|
|
1282
1280
|
contextModes: string[];
|
|
@@ -1299,32 +1297,32 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1299
1297
|
preferred: boolean;
|
|
1300
1298
|
}>;
|
|
1301
1299
|
conformance: {
|
|
1302
|
-
status: "revoked" | "
|
|
1300
|
+
status: "revoked" | "failed" | "passed";
|
|
1303
1301
|
expiresAt: string | null;
|
|
1304
1302
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1305
1303
|
providerId: string;
|
|
1306
1304
|
issuedAt: string;
|
|
1305
|
+
signature: {
|
|
1306
|
+
value: string;
|
|
1307
|
+
keyId: string;
|
|
1308
|
+
algorithm: "Ed25519";
|
|
1309
|
+
};
|
|
1307
1310
|
capability: {
|
|
1308
1311
|
id: string;
|
|
1309
1312
|
version: string;
|
|
1310
1313
|
digest: string;
|
|
1311
1314
|
};
|
|
1315
|
+
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1316
|
+
evidenceDigest: string;
|
|
1312
1317
|
suite: {
|
|
1313
1318
|
id: string;
|
|
1314
1319
|
version: string;
|
|
1315
1320
|
} | null;
|
|
1316
|
-
signature: {
|
|
1317
|
-
value: string;
|
|
1318
|
-
algorithm: "Ed25519";
|
|
1319
|
-
keyId: string;
|
|
1320
|
-
};
|
|
1321
|
-
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1322
|
-
evidenceDigest: string;
|
|
1323
1321
|
}[];
|
|
1324
1322
|
contextCapacity: {
|
|
1325
1323
|
maximum: number;
|
|
1326
1324
|
mode: "bounded";
|
|
1327
|
-
measurement: "
|
|
1325
|
+
measurement: "tokens" | "bytes" | "items";
|
|
1328
1326
|
defaultInitial: number;
|
|
1329
1327
|
reservedOutput: number;
|
|
1330
1328
|
transportPayloadBytes: number;
|
|
@@ -1335,7 +1333,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1335
1333
|
};
|
|
1336
1334
|
} | {
|
|
1337
1335
|
mode: "unbounded";
|
|
1338
|
-
measurement: "
|
|
1336
|
+
measurement: "tokens" | "bytes" | "items" | null;
|
|
1339
1337
|
transportPayloadBytes: number;
|
|
1340
1338
|
measurementProvenance: {
|
|
1341
1339
|
provider: string;
|
|
@@ -1348,6 +1346,8 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1348
1346
|
currency: string | null;
|
|
1349
1347
|
estimatedCost: number | null;
|
|
1350
1348
|
};
|
|
1349
|
+
region: string | null;
|
|
1350
|
+
trust: string[];
|
|
1351
1351
|
offerDigest: string;
|
|
1352
1352
|
}, {
|
|
1353
1353
|
schemaVersion: "treeseed.capability-offer/v2";
|
|
@@ -1356,8 +1356,6 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1356
1356
|
version: string;
|
|
1357
1357
|
digest: string;
|
|
1358
1358
|
}[];
|
|
1359
|
-
trust: string[];
|
|
1360
|
-
region: string | null;
|
|
1361
1359
|
features: string[];
|
|
1362
1360
|
permissionClasses: string[];
|
|
1363
1361
|
contextModes: string[];
|
|
@@ -1380,32 +1378,32 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1380
1378
|
preferred: boolean;
|
|
1381
1379
|
}>;
|
|
1382
1380
|
conformance: {
|
|
1383
|
-
status: "revoked" | "
|
|
1381
|
+
status: "revoked" | "failed" | "passed";
|
|
1384
1382
|
expiresAt: string | null;
|
|
1385
1383
|
schemaVersion: "treeseed.capability-conformance/v1";
|
|
1386
1384
|
providerId: string;
|
|
1387
1385
|
issuedAt: string;
|
|
1386
|
+
signature: {
|
|
1387
|
+
value: string;
|
|
1388
|
+
keyId: string;
|
|
1389
|
+
algorithm: "Ed25519";
|
|
1390
|
+
};
|
|
1388
1391
|
capability: {
|
|
1389
1392
|
id: string;
|
|
1390
1393
|
version: string;
|
|
1391
1394
|
digest: string;
|
|
1392
1395
|
};
|
|
1396
|
+
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1397
|
+
evidenceDigest: string;
|
|
1393
1398
|
suite: {
|
|
1394
1399
|
id: string;
|
|
1395
1400
|
version: string;
|
|
1396
1401
|
} | null;
|
|
1397
|
-
signature: {
|
|
1398
|
-
value: string;
|
|
1399
|
-
algorithm: "Ed25519";
|
|
1400
|
-
keyId: string;
|
|
1401
|
-
};
|
|
1402
|
-
tier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
1403
|
-
evidenceDigest: string;
|
|
1404
1402
|
}[];
|
|
1405
1403
|
contextCapacity: {
|
|
1406
1404
|
maximum: number;
|
|
1407
1405
|
mode: "bounded";
|
|
1408
|
-
measurement: "
|
|
1406
|
+
measurement: "tokens" | "bytes" | "items";
|
|
1409
1407
|
defaultInitial: number;
|
|
1410
1408
|
transportPayloadBytes: number;
|
|
1411
1409
|
measurementProvenance: {
|
|
@@ -1422,13 +1420,15 @@ export declare const capabilityOfferSchema: z.ZodObject<{
|
|
|
1422
1420
|
version: string | null;
|
|
1423
1421
|
implementation: string;
|
|
1424
1422
|
};
|
|
1425
|
-
measurement?: "
|
|
1423
|
+
measurement?: "tokens" | "bytes" | "items" | null | undefined;
|
|
1426
1424
|
};
|
|
1427
1425
|
limits: Record<string, unknown>;
|
|
1428
1426
|
commercial: {
|
|
1429
1427
|
currency: string | null;
|
|
1430
1428
|
estimatedCost: number | null;
|
|
1431
1429
|
};
|
|
1430
|
+
region: string | null;
|
|
1431
|
+
trust: string[];
|
|
1432
1432
|
offerDigest: string;
|
|
1433
1433
|
}>;
|
|
1434
1434
|
export declare const capabilityNegotiationReceiptSchema: z.ZodObject<{
|
|
@@ -1454,7 +1454,6 @@ export declare const capabilityNegotiationReceiptSchema: z.ZodObject<{
|
|
|
1454
1454
|
receiptDigest: z.ZodString;
|
|
1455
1455
|
}, "strict", z.ZodTypeAny, {
|
|
1456
1456
|
schemaVersion: "treeseed.capability-negotiation/v1";
|
|
1457
|
-
receiptDigest: string;
|
|
1458
1457
|
demandDigest: string;
|
|
1459
1458
|
offerDigest: string;
|
|
1460
1459
|
eligible: boolean;
|
|
@@ -1465,9 +1464,9 @@ export declare const capabilityNegotiationReceiptSchema: z.ZodObject<{
|
|
|
1465
1464
|
}[];
|
|
1466
1465
|
omittedPreferred: string[];
|
|
1467
1466
|
reasons: string[];
|
|
1467
|
+
receiptDigest: string;
|
|
1468
1468
|
}, {
|
|
1469
1469
|
schemaVersion: "treeseed.capability-negotiation/v1";
|
|
1470
|
-
receiptDigest: string;
|
|
1471
1470
|
demandDigest: string;
|
|
1472
1471
|
offerDigest: string;
|
|
1473
1472
|
eligible: boolean;
|
|
@@ -1478,6 +1477,7 @@ export declare const capabilityNegotiationReceiptSchema: z.ZodObject<{
|
|
|
1478
1477
|
}[];
|
|
1479
1478
|
omittedPreferred: string[];
|
|
1480
1479
|
reasons: string[];
|
|
1480
|
+
receiptDigest: string;
|
|
1481
1481
|
}>;
|
|
1482
1482
|
export declare function capabilityContractDigest(value: unknown): `sha256:${string}`;
|
|
1483
1483
|
export declare function capabilityDefinitionDigest(value: Omit<CapabilityDefinition, 'digest'>): `sha256:${string}`;
|