@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.123

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.
Files changed (157) hide show
  1. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +2365 -1275
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +94 -28
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +38 -38
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +2 -59
  7. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
  8. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
  9. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +2 -4
  10. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +22 -16
  11. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
  12. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
  13. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +244 -85
  14. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
  15. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +216 -70
  16. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  17. package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
  18. package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
  19. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +55 -55
  20. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -23
  21. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  22. package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
  23. package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
  24. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +496 -292
  25. package/dist/agent-capacity/contracts/support/execution-graph.js +21 -19
  26. package/dist/agent-capacity/contracts/support/financial-records.d.ts +3 -6
  27. package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
  28. package/dist/agent-capacity/grant.d.ts +34 -0
  29. package/dist/agent-capacity/grant.js +4 -0
  30. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1178 -1152
  31. package/dist/agent-capacity/validation/agent-definition-schema.js +21 -28
  32. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +10 -10
  33. package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
  34. package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
  35. package/dist/agent-capacity/validation/assignment-records.js +49 -35
  36. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  37. package/dist/agent-capacity/validation/configuration.js +2 -6
  38. package/dist/agent-capacity/validation/grant.d.ts +11 -0
  39. package/dist/agent-capacity/validation/grant.js +31 -0
  40. package/dist/capacity/agents/agent-capacity.d.ts +3 -4
  41. package/dist/capacity/agents/agent-capacity.js +2 -3
  42. package/dist/capacity-provider/capability-ontology.d.ts +150 -150
  43. package/dist/capacity-provider/client.d.ts +15 -9
  44. package/dist/capacity-provider/client.js +1 -10
  45. package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
  46. package/dist/capacity-provider/contracts/environment-profiles.d.ts +44 -44
  47. package/dist/capacity-provider/contracts/governance.d.ts +2 -17
  48. package/dist/capacity-provider/contracts/index.d.ts +2 -0
  49. package/dist/capacity-provider/contracts/index.js +2 -0
  50. package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
  51. package/dist/capacity-provider/environment-catalog.d.ts +188 -188
  52. package/dist/capacity-provider/environment-catalog.js +1 -1
  53. package/dist/capacity-provider/install-configuration.d.ts +2 -2
  54. package/dist/capacity-provider/sandbox-contracts.d.ts +92 -92
  55. package/dist/capacity-provider/source-workspace.d.ts +166 -68
  56. package/dist/capacity-provider/source-workspace.js +5 -1
  57. package/dist/capacity-provider/validation.d.ts +10 -2
  58. package/dist/capacity-provider/validation.js +52 -22
  59. package/dist/content/validation/agent-operational-content-schemas.d.ts +144 -142
  60. package/dist/content/validation/agent-operational-content-schemas.js +2 -0
  61. package/dist/content/validation/auxiliary-content-schemas.d.ts +158 -158
  62. package/dist/content/validation/content-model-schemas.d.ts +9105 -5295
  63. package/dist/content/validation/content-model-schemas.js +192 -115
  64. package/dist/content/validation/portable-content-data.d.ts +411 -238
  65. package/dist/content/validation/portable-content-data.js +6 -1
  66. package/dist/content/validation/schema-constraints.d.ts +78 -0
  67. package/dist/content/validation/schema-constraints.js +149 -0
  68. package/dist/deployment/ai/storage.d.ts +24 -24
  69. package/dist/deployment/ai-hosting.d.ts +18 -18
  70. package/dist/deployment/ai-instance.d.ts +16 -16
  71. package/dist/deployment/ai-mode.d.ts +92 -92
  72. package/dist/deployment/hosted-topology-template.d.ts +44 -44
  73. package/dist/deployment/hosted-topology.d.ts +335 -335
  74. package/dist/deployment/postgres/contracts.d.ts +52 -52
  75. package/dist/deployment/postgres/transfer.d.ts +6 -6
  76. package/dist/deployment/schemas.d.ts +1114 -1114
  77. package/dist/development/schemas.d.ts +633 -633
  78. package/dist/graph/context-query-contracts.js +1 -1
  79. package/dist/guarantees/index.d.ts +26 -2
  80. package/dist/identity/contracts.js +6 -1
  81. package/dist/knowledge/contracts.d.ts +9 -2
  82. package/dist/knowledge/contracts.js +2 -2
  83. package/dist/model-registry/discussion-models.js +0 -1
  84. package/dist/operator-contracts/canonical-command-tree.js +25 -9
  85. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +29 -29
  86. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +30 -30
  87. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +15 -13
  88. package/dist/operator-contracts/catalog/communication-operations.d.ts +176 -158
  89. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +67 -67
  90. package/dist/operator-contracts/catalog/inbox-operations.d.ts +65 -65
  91. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +6 -6
  92. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
  93. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
  94. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
  95. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
  96. package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
  97. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
  98. package/dist/operator-contracts/catalog/workdays/selection-commands.js +3 -0
  99. package/dist/operator-contracts/communication/contracts.d.ts +537 -395
  100. package/dist/operator-contracts/communication/contracts.js +6 -1
  101. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  102. package/dist/operator-contracts/control-plane-operation.js +6 -0
  103. package/dist/operator-contracts/control-plane-operations.d.ts +631 -610
  104. package/dist/operator-contracts/control-plane-operations.js +26 -12
  105. package/dist/operator-contracts/inbox/contracts.d.ts +229 -229
  106. package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
  107. package/dist/operator-contracts/mcp.js +4 -3
  108. package/dist/operator-contracts/workday-lifecycle.d.ts +192 -0
  109. package/dist/operator-contracts/workday-lifecycle.js +109 -45
  110. package/dist/platform/agent-schema-verification.d.ts +3 -0
  111. package/dist/platform/agent-schema-verification.js +377 -0
  112. package/dist/platform/contracts.d.ts +72 -72
  113. package/dist/platform/schemas.d.ts +144 -36
  114. package/dist/platform/schemas.js +26 -0
  115. package/dist/platform/verification.js +10 -0
  116. package/dist/sdk-types/support/planning-policy.d.ts +1 -1
  117. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  118. package/dist/secrets-capability/secret-contracts.d.ts +2 -2
  119. package/dist/secrets-capability/shared-access.d.ts +3 -3
  120. package/dist/secrets-capability/shared-resources.d.ts +50 -50
  121. package/dist/secrets-capability/vault-contracts.d.ts +2 -2
  122. package/dist/security/encrypted-envelope.d.ts +14 -14
  123. package/dist/treedx/client.d.ts +4 -4
  124. package/dist/treedx/index.d.ts +1 -1
  125. package/dist/treedx/index.js +1 -0
  126. package/dist/treedx/types.d.ts +286 -0
  127. package/dist/treedx/types.js +44 -0
  128. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  129. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  130. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  131. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
  132. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  133. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  134. package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
  135. package/package.json +9 -3
  136. package/tests/acceptance/golden-product.test.ts +205 -0
  137. package/tests/acceptance/golden-product.ts +404 -0
  138. package/tests/acceptance/product/base-red.ts +73 -0
  139. package/tests/acceptance/product/documentation-examples.ts +68 -0
  140. package/tests/acceptance/product/intent-runtime.ts +145 -0
  141. package/tests/acceptance/product/release-output.ts +160 -0
  142. package/tests/acceptance/product/research-artifact.ts +87 -0
  143. package/tests/acceptance/product/research-revision.ts +82 -0
  144. package/tests/acceptance/product/research-source.ts +91 -0
  145. package/tests/acceptance/product/test-chain.ts +192 -0
  146. package/treeseed.package.yaml +147 -0
  147. package/dist/.treeseed-build-complete.json +0 -1
  148. package/dist/agent-capacity/allocation.d.ts +0 -183
  149. package/dist/agent-capacity/allocation.js +0 -5
  150. package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
  151. package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
  152. package/dist/agent-capacity/artifacts.d.ts +0 -123
  153. package/dist/agent-capacity/artifacts.js +0 -39
  154. package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
  155. package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
  156. package/dist/agent-capacity/validation/allocation.d.ts +0 -12
  157. package/dist/agent-capacity/validation/allocation.js +0 -115
@@ -61,15 +61,15 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
61
61
  requirementSupport: z.ZodArray<z.ZodEnum<["required", "preferred"]>, "many">;
62
62
  securityCritical: z.ZodDefault<z.ZodBoolean>;
63
63
  }, "strict", z.ZodTypeAny, {
64
- key: string;
65
- description: string;
66
64
  schema: Record<string, unknown>;
65
+ description: string;
66
+ key: string;
67
67
  requirementSupport: ("required" | "preferred")[];
68
68
  securityCritical: boolean;
69
69
  }, {
70
- key: string;
71
- description: string;
72
70
  schema: Record<string, unknown>;
71
+ description: string;
72
+ key: string;
73
73
  requirementSupport: ("required" | "preferred")[];
74
74
  securityCritical?: boolean | undefined;
75
75
  }>, "many">;
@@ -109,31 +109,31 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
109
109
  id: string;
110
110
  version: string;
111
111
  schemaVersion: "treeseed.capability-definition/v1";
112
+ title: string;
113
+ description: string;
114
+ createdAt: string;
112
115
  digest: string;
116
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
117
+ features: string[];
113
118
  inputs: {
114
119
  id: string;
115
120
  version: string;
116
121
  digest: string;
117
122
  mediaTypes: string[];
118
123
  }[];
119
- createdAt: 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
- key: string;
129
- description: string;
130
131
  schema: Record<string, unknown>;
132
+ description: string;
133
+ key: string;
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[];
@@ -153,31 +153,31 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
153
153
  id: string;
154
154
  version: string;
155
155
  schemaVersion: "treeseed.capability-definition/v1";
156
+ title: string;
157
+ description: string;
158
+ createdAt: string;
156
159
  digest: string;
160
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
161
+ features: string[];
157
162
  inputs: {
158
163
  id: string;
159
164
  version: string;
160
165
  digest: string;
161
166
  mediaTypes?: string[] | undefined;
162
167
  }[];
163
- createdAt: 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
- key: string;
173
- description: string;
174
175
  schema: Record<string, unknown>;
176
+ description: string;
177
+ key: string;
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[];
@@ -246,15 +246,15 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
246
246
  requirementSupport: z.ZodArray<z.ZodEnum<["required", "preferred"]>, "many">;
247
247
  securityCritical: z.ZodDefault<z.ZodBoolean>;
248
248
  }, "strict", z.ZodTypeAny, {
249
- key: string;
250
- description: string;
251
249
  schema: Record<string, unknown>;
250
+ description: string;
251
+ key: string;
252
252
  requirementSupport: ("required" | "preferred")[];
253
253
  securityCritical: boolean;
254
254
  }, {
255
- key: string;
256
- description: string;
257
255
  schema: Record<string, unknown>;
256
+ description: string;
257
+ key: string;
258
258
  requirementSupport: ("required" | "preferred")[];
259
259
  securityCritical?: boolean | undefined;
260
260
  }>, "many">;
@@ -294,31 +294,31 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
294
294
  id: string;
295
295
  version: string;
296
296
  schemaVersion: "treeseed.capability-definition/v1";
297
+ title: string;
298
+ description: string;
299
+ createdAt: string;
297
300
  digest: string;
301
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
302
+ features: string[];
298
303
  inputs: {
299
304
  id: string;
300
305
  version: string;
301
306
  digest: string;
302
307
  mediaTypes: string[];
303
308
  }[];
304
- createdAt: 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
- key: string;
314
- description: string;
315
316
  schema: Record<string, unknown>;
317
+ description: string;
318
+ key: string;
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[];
@@ -338,31 +338,31 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
338
338
  id: string;
339
339
  version: string;
340
340
  schemaVersion: "treeseed.capability-definition/v1";
341
+ title: string;
342
+ description: string;
343
+ createdAt: string;
341
344
  digest: string;
345
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
346
+ features: string[];
342
347
  inputs: {
343
348
  id: string;
344
349
  version: string;
345
350
  digest: string;
346
351
  mediaTypes?: string[] | undefined;
347
352
  }[];
348
- createdAt: 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
- key: string;
358
- description: string;
359
360
  schema: Record<string, unknown>;
361
+ description: string;
362
+ key: string;
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,53 +385,45 @@ 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
- digest: string;
398
- createdAt: string;
399
- generation: number;
400
- signature: {
401
- value: string;
402
- algorithm: "Ed25519" | "release-catalog";
403
- keyId: string;
404
- };
405
397
  definitions: {
406
398
  status: "active" | "revoked" | "deprecated";
407
399
  id: string;
408
400
  version: string;
409
401
  schemaVersion: "treeseed.capability-definition/v1";
402
+ title: string;
403
+ description: string;
404
+ createdAt: string;
410
405
  digest: string;
406
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
407
+ features: string[];
411
408
  inputs: {
412
409
  id: string;
413
410
  version: string;
414
411
  digest: string;
415
412
  mediaTypes: string[];
416
413
  }[];
417
- createdAt: string;
418
414
  outputs: {
419
415
  id: string;
420
416
  version: string;
421
417
  digest: string;
422
418
  mediaTypes: string[];
423
419
  }[];
424
- description: string;
425
420
  configuration: {
426
- key: string;
427
- description: string;
428
421
  schema: Record<string, unknown>;
422
+ description: string;
423
+ key: string;
429
424
  requirementSupport: ("required" | "preferred")[];
430
425
  securityCritical: boolean;
431
426
  }[];
432
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
433
- title: string;
434
- features: string[];
435
427
  permissionClasses: string[];
436
428
  contextModes: string[];
437
429
  interactionModes: string[];
@@ -447,46 +439,46 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
447
439
  }[];
448
440
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
449
441
  }[];
450
- }, {
451
- schemaVersion: "treeseed.capability-ontology/v1";
452
- digest: string;
453
442
  createdAt: string;
454
443
  generation: number;
444
+ digest: string;
455
445
  signature: {
456
446
  value: string;
457
- algorithm: "Ed25519" | "release-catalog";
458
447
  keyId: string;
448
+ algorithm: "Ed25519" | "release-catalog";
459
449
  };
450
+ }, {
451
+ schemaVersion: "treeseed.capability-ontology/v1";
460
452
  definitions: {
461
453
  status: "active" | "revoked" | "deprecated";
462
454
  id: string;
463
455
  version: string;
464
456
  schemaVersion: "treeseed.capability-definition/v1";
457
+ title: string;
458
+ description: string;
459
+ createdAt: string;
465
460
  digest: string;
461
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
462
+ features: string[];
466
463
  inputs: {
467
464
  id: string;
468
465
  version: string;
469
466
  digest: string;
470
467
  mediaTypes?: string[] | undefined;
471
468
  }[];
472
- createdAt: string;
473
469
  outputs: {
474
470
  id: string;
475
471
  version: string;
476
472
  digest: string;
477
473
  mediaTypes?: string[] | undefined;
478
474
  }[];
479
- description: string;
480
475
  configuration: {
481
- key: string;
482
- description: string;
483
476
  schema: Record<string, unknown>;
477
+ description: string;
478
+ key: string;
484
479
  requirementSupport: ("required" | "preferred")[];
485
480
  securityCritical?: boolean | undefined;
486
481
  }[];
487
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
488
- title: string;
489
- features: string[];
490
482
  permissionClasses: string[];
491
483
  contextModes: string[];
492
484
  interactionModes: string[];
@@ -502,46 +494,46 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
502
494
  }[];
503
495
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
504
496
  }[];
505
- }>, {
506
- schemaVersion: "treeseed.capability-ontology/v1";
507
- digest: string;
508
497
  createdAt: string;
509
498
  generation: number;
499
+ digest: string;
510
500
  signature: {
511
501
  value: string;
512
- algorithm: "Ed25519" | "release-catalog";
513
502
  keyId: string;
503
+ algorithm: "Ed25519" | "release-catalog";
514
504
  };
505
+ }>, {
506
+ schemaVersion: "treeseed.capability-ontology/v1";
515
507
  definitions: {
516
508
  status: "active" | "revoked" | "deprecated";
517
509
  id: string;
518
510
  version: string;
519
511
  schemaVersion: "treeseed.capability-definition/v1";
512
+ title: string;
513
+ description: string;
514
+ createdAt: string;
520
515
  digest: string;
516
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
517
+ features: string[];
521
518
  inputs: {
522
519
  id: string;
523
520
  version: string;
524
521
  digest: string;
525
522
  mediaTypes: string[];
526
523
  }[];
527
- createdAt: string;
528
524
  outputs: {
529
525
  id: string;
530
526
  version: string;
531
527
  digest: string;
532
528
  mediaTypes: string[];
533
529
  }[];
534
- description: string;
535
530
  configuration: {
536
- key: string;
537
- description: string;
538
531
  schema: Record<string, unknown>;
532
+ description: string;
533
+ key: string;
539
534
  requirementSupport: ("required" | "preferred")[];
540
535
  securityCritical: boolean;
541
536
  }[];
542
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
543
- title: string;
544
- features: string[];
545
537
  permissionClasses: string[];
546
538
  contextModes: string[];
547
539
  interactionModes: string[];
@@ -557,46 +549,46 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
557
549
  }[];
558
550
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
559
551
  }[];
560
- }, {
561
- schemaVersion: "treeseed.capability-ontology/v1";
562
- digest: string;
563
552
  createdAt: string;
564
553
  generation: number;
554
+ digest: string;
565
555
  signature: {
566
556
  value: string;
567
- algorithm: "Ed25519" | "release-catalog";
568
557
  keyId: string;
558
+ algorithm: "Ed25519" | "release-catalog";
569
559
  };
560
+ }, {
561
+ schemaVersion: "treeseed.capability-ontology/v1";
570
562
  definitions: {
571
563
  status: "active" | "revoked" | "deprecated";
572
564
  id: string;
573
565
  version: string;
574
566
  schemaVersion: "treeseed.capability-definition/v1";
567
+ title: string;
568
+ description: string;
569
+ createdAt: string;
575
570
  digest: string;
571
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
572
+ features: string[];
576
573
  inputs: {
577
574
  id: string;
578
575
  version: string;
579
576
  digest: string;
580
577
  mediaTypes?: string[] | undefined;
581
578
  }[];
582
- createdAt: string;
583
579
  outputs: {
584
580
  id: string;
585
581
  version: string;
586
582
  digest: string;
587
583
  mediaTypes?: string[] | undefined;
588
584
  }[];
589
- description: string;
590
585
  configuration: {
591
- key: string;
592
- description: string;
593
586
  schema: Record<string, unknown>;
587
+ description: string;
588
+ key: string;
594
589
  requirementSupport: ("required" | "preferred")[];
595
590
  securityCritical?: boolean | undefined;
596
591
  }[];
597
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
598
- title: string;
599
- features: string[];
600
592
  permissionClasses: string[];
601
593
  contextModes: string[];
602
594
  interactionModes: string[];
@@ -612,6 +604,14 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
612
604
  }[];
613
605
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
614
606
  }[];
607
+ createdAt: string;
608
+ generation: number;
609
+ digest: string;
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" | "passed" | "failed";
818
+ status: "failed" | "revoked" | "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" | "passed" | "failed";
840
+ status: "failed" | "revoked" | "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">;
@@ -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" | "passed" | "failed";
1091
+ status: "failed" | "revoked" | "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" | "passed" | "failed";
1113
+ status: "failed" | "revoked" | "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">;
@@ -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,27 +1297,27 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1299
1297
  preferred: boolean;
1300
1298
  }>;
1301
1299
  conformance: {
1302
- status: "revoked" | "passed" | "failed";
1300
+ status: "failed" | "revoked" | "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;
@@ -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,27 +1378,27 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1380
1378
  preferred: boolean;
1381
1379
  }>;
1382
1380
  conformance: {
1383
- status: "revoked" | "passed" | "failed";
1381
+ status: "failed" | "revoked" | "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;
@@ -1429,6 +1427,8 @@ export declare const capabilityOfferSchema: z.ZodObject<{
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}`;