@treeseed/sdk 0.13.0-rc.122 → 0.13.0-rc.124

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 (126) hide show
  1. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1392 -974
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
  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 +1 -0
  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 +1 -3
  10. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
  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 +227 -66
  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 +214 -5
  16. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  17. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
  18. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
  19. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  20. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
  21. package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
  22. package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
  23. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
  24. package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
  25. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
  26. package/dist/agent-capacity/validation/assignment-records.js +45 -0
  27. package/dist/capacity/agents/agent-capacity.d.ts +1 -0
  28. package/dist/capacity/agents/agent-capacity.js +1 -0
  29. package/dist/capacity-provider/capability-ontology.d.ts +102 -102
  30. package/dist/capacity-provider/client.d.ts +14 -7
  31. package/dist/capacity-provider/client.js +1 -4
  32. package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
  33. package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
  34. package/dist/capacity-provider/contracts/governance.d.ts +2 -17
  35. package/dist/capacity-provider/contracts/index.d.ts +2 -0
  36. package/dist/capacity-provider/contracts/index.js +2 -0
  37. package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
  38. package/dist/capacity-provider/environment-catalog.d.ts +22 -22
  39. package/dist/capacity-provider/environment-catalog.js +1 -1
  40. package/dist/capacity-provider/install-configuration.d.ts +4 -4
  41. package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
  42. package/dist/capacity-provider/source-workspace.d.ts +76 -76
  43. package/dist/capacity-provider/validation.d.ts +10 -2
  44. package/dist/capacity-provider/validation.js +52 -22
  45. package/dist/content/validation/agent-operational-content-schemas.d.ts +120 -118
  46. package/dist/content/validation/agent-operational-content-schemas.js +2 -0
  47. package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
  48. package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
  49. package/dist/content/validation/content-model-schemas.js +97 -87
  50. package/dist/content/validation/portable-content-data.d.ts +173 -168
  51. package/dist/content/validation/schema-constraints.d.ts +78 -0
  52. package/dist/content/validation/schema-constraints.js +149 -0
  53. package/dist/deployment/ai/storage.d.ts +20 -20
  54. package/dist/deployment/ai-hosting.d.ts +12 -12
  55. package/dist/deployment/ai-instance.d.ts +12 -12
  56. package/dist/deployment/ai-mode.d.ts +34 -34
  57. package/dist/deployment/hosted-topology-template.d.ts +25 -25
  58. package/dist/deployment/hosted-topology.d.ts +146 -146
  59. package/dist/deployment/postgres/transfer.d.ts +2 -2
  60. package/dist/deployment/schemas.d.ts +504 -504
  61. package/dist/development/schemas.d.ts +325 -325
  62. package/dist/graph/context-query-contracts.js +1 -1
  63. package/dist/guarantees/index.d.ts +26 -2
  64. package/dist/identity/contracts.js +6 -1
  65. package/dist/operator-contracts/canonical-command-tree.js +22 -8
  66. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
  67. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
  68. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
  69. package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
  70. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
  71. package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
  72. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
  73. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
  74. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
  75. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
  76. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
  77. package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
  78. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
  79. package/dist/operator-contracts/catalog/workdays/selection-commands.js +7 -6
  80. package/dist/operator-contracts/communication/contracts.d.ts +340 -198
  81. package/dist/operator-contracts/communication/contracts.js +6 -1
  82. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  83. package/dist/operator-contracts/control-plane-operation.js +6 -0
  84. package/dist/operator-contracts/control-plane-operations.d.ts +469 -442
  85. package/dist/operator-contracts/control-plane-operations.js +26 -10
  86. package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
  87. package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
  88. package/dist/operator-contracts/mcp.js +4 -3
  89. package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
  90. package/dist/operator-contracts/workday-lifecycle.js +108 -45
  91. package/dist/platform/agent-schema-verification.js +316 -33
  92. package/dist/platform/contracts.d.ts +72 -72
  93. package/dist/platform/schemas.d.ts +144 -36
  94. package/dist/platform/schemas.js +26 -0
  95. package/dist/platform/verification.js +4 -0
  96. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  97. package/dist/secrets-capability/secret-contracts.d.ts +2 -2
  98. package/dist/secrets-capability/shared-access.d.ts +1 -1
  99. package/dist/secrets-capability/shared-resources.d.ts +30 -30
  100. package/dist/security/encrypted-envelope.d.ts +6 -6
  101. package/dist/treedx/client.d.ts +4 -4
  102. package/dist/treedx/index.d.ts +1 -1
  103. package/dist/treedx/index.js +1 -0
  104. package/dist/treedx/types.d.ts +286 -0
  105. package/dist/treedx/types.js +44 -0
  106. package/dist/types/agents/agent-activity-profile.d.ts +1 -0
  107. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  108. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  109. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  110. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
  111. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  112. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  113. package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
  114. package/package.json +10 -5
  115. package/tests/acceptance/golden-product.test.ts +205 -0
  116. package/tests/acceptance/golden-product.ts +404 -0
  117. package/tests/acceptance/product/base-red.ts +73 -0
  118. package/tests/acceptance/product/documentation-examples.ts +68 -0
  119. package/tests/acceptance/product/intent-runtime.ts +145 -0
  120. package/tests/acceptance/product/release-output.ts +160 -0
  121. package/tests/acceptance/product/research-artifact.ts +87 -0
  122. package/tests/acceptance/product/research-revision.ts +82 -0
  123. package/tests/acceptance/product/research-source.ts +91 -0
  124. package/tests/acceptance/product/test-chain.ts +192 -0
  125. package/treeseed.package.yaml +147 -0
  126. package/dist/.treeseed-build-complete.json +0 -1
@@ -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,18 +109,18 @@ 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
- title: string;
121
- description: string;
122
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
123
- features: string[];
124
124
  outputs: {
125
125
  id: string;
126
126
  version: string;
@@ -128,9 +128,9 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
128
128
  mediaTypes: string[];
129
129
  }[];
130
130
  configuration: {
131
- key: string;
132
- description: string;
133
131
  schema: Record<string, unknown>;
132
+ description: string;
133
+ key: string;
134
134
  requirementSupport: ("required" | "preferred")[];
135
135
  securityCritical: boolean;
136
136
  }[];
@@ -153,18 +153,18 @@ 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
- title: string;
165
- description: string;
166
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
167
- features: string[];
168
168
  outputs: {
169
169
  id: string;
170
170
  version: string;
@@ -172,9 +172,9 @@ export declare const capabilityDefinitionSchema: z.ZodObject<{
172
172
  mediaTypes?: string[] | undefined;
173
173
  }[];
174
174
  configuration: {
175
- key: string;
176
- description: string;
177
175
  schema: Record<string, unknown>;
176
+ description: string;
177
+ key: string;
178
178
  requirementSupport: ("required" | "preferred")[];
179
179
  securityCritical?: boolean | undefined;
180
180
  }[];
@@ -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,18 +294,18 @@ 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
- title: string;
306
- description: string;
307
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
308
- features: string[];
309
309
  outputs: {
310
310
  id: string;
311
311
  version: string;
@@ -313,9 +313,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
313
313
  mediaTypes: string[];
314
314
  }[];
315
315
  configuration: {
316
- key: string;
317
- description: string;
318
316
  schema: Record<string, unknown>;
317
+ description: string;
318
+ key: string;
319
319
  requirementSupport: ("required" | "preferred")[];
320
320
  securityCritical: boolean;
321
321
  }[];
@@ -338,18 +338,18 @@ 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
- title: string;
350
- description: string;
351
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
352
- features: string[];
353
353
  outputs: {
354
354
  id: string;
355
355
  version: string;
@@ -357,9 +357,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
357
357
  mediaTypes?: string[] | undefined;
358
358
  }[];
359
359
  configuration: {
360
- key: string;
361
- description: string;
362
360
  schema: Record<string, unknown>;
361
+ description: string;
362
+ key: string;
363
363
  requirementSupport: ("required" | "preferred")[];
364
364
  securityCritical?: boolean | undefined;
365
365
  }[];
@@ -394,26 +394,23 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
394
394
  }>;
395
395
  }, "strict", z.ZodTypeAny, {
396
396
  schemaVersion: "treeseed.capability-ontology/v1";
397
- digest: string;
398
- createdAt: string;
399
- generation: number;
400
397
  definitions: {
401
398
  status: "active" | "revoked" | "deprecated";
402
399
  id: string;
403
400
  version: string;
404
401
  schemaVersion: "treeseed.capability-definition/v1";
402
+ title: string;
403
+ description: string;
404
+ createdAt: string;
405
405
  digest: string;
406
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
407
+ features: string[];
406
408
  inputs: {
407
409
  id: string;
408
410
  version: string;
409
411
  digest: string;
410
412
  mediaTypes: string[];
411
413
  }[];
412
- createdAt: string;
413
- title: string;
414
- description: string;
415
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
416
- features: string[];
417
414
  outputs: {
418
415
  id: string;
419
416
  version: string;
@@ -421,9 +418,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
421
418
  mediaTypes: string[];
422
419
  }[];
423
420
  configuration: {
424
- key: string;
425
- description: string;
426
421
  schema: Record<string, unknown>;
422
+ description: string;
423
+ key: string;
427
424
  requirementSupport: ("required" | "preferred")[];
428
425
  securityCritical: boolean;
429
426
  }[];
@@ -442,6 +439,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
442
439
  }[];
443
440
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
444
441
  }[];
442
+ createdAt: string;
443
+ generation: number;
444
+ digest: string;
445
445
  signature: {
446
446
  value: string;
447
447
  keyId: string;
@@ -449,26 +449,23 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
449
449
  };
450
450
  }, {
451
451
  schemaVersion: "treeseed.capability-ontology/v1";
452
- digest: string;
453
- createdAt: string;
454
- generation: number;
455
452
  definitions: {
456
453
  status: "active" | "revoked" | "deprecated";
457
454
  id: string;
458
455
  version: string;
459
456
  schemaVersion: "treeseed.capability-definition/v1";
457
+ title: string;
458
+ description: string;
459
+ createdAt: string;
460
460
  digest: string;
461
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
462
+ features: string[];
461
463
  inputs: {
462
464
  id: string;
463
465
  version: string;
464
466
  digest: string;
465
467
  mediaTypes?: string[] | undefined;
466
468
  }[];
467
- createdAt: string;
468
- title: string;
469
- description: string;
470
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
471
- features: string[];
472
469
  outputs: {
473
470
  id: string;
474
471
  version: string;
@@ -476,9 +473,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
476
473
  mediaTypes?: string[] | undefined;
477
474
  }[];
478
475
  configuration: {
479
- key: string;
480
- description: string;
481
476
  schema: Record<string, unknown>;
477
+ description: string;
478
+ key: string;
482
479
  requirementSupport: ("required" | "preferred")[];
483
480
  securityCritical?: boolean | undefined;
484
481
  }[];
@@ -497,6 +494,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
497
494
  }[];
498
495
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
499
496
  }[];
497
+ createdAt: string;
498
+ generation: number;
499
+ digest: string;
500
500
  signature: {
501
501
  value: string;
502
502
  keyId: string;
@@ -504,26 +504,23 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
504
504
  };
505
505
  }>, {
506
506
  schemaVersion: "treeseed.capability-ontology/v1";
507
- digest: string;
508
- createdAt: string;
509
- generation: number;
510
507
  definitions: {
511
508
  status: "active" | "revoked" | "deprecated";
512
509
  id: string;
513
510
  version: string;
514
511
  schemaVersion: "treeseed.capability-definition/v1";
512
+ title: string;
513
+ description: string;
514
+ createdAt: string;
515
515
  digest: string;
516
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
517
+ features: string[];
516
518
  inputs: {
517
519
  id: string;
518
520
  version: string;
519
521
  digest: string;
520
522
  mediaTypes: string[];
521
523
  }[];
522
- createdAt: string;
523
- title: string;
524
- description: string;
525
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
526
- features: string[];
527
524
  outputs: {
528
525
  id: string;
529
526
  version: string;
@@ -531,9 +528,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
531
528
  mediaTypes: string[];
532
529
  }[];
533
530
  configuration: {
534
- key: string;
535
- description: string;
536
531
  schema: Record<string, unknown>;
532
+ description: string;
533
+ key: string;
537
534
  requirementSupport: ("required" | "preferred")[];
538
535
  securityCritical: boolean;
539
536
  }[];
@@ -552,6 +549,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
552
549
  }[];
553
550
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
554
551
  }[];
552
+ createdAt: string;
553
+ generation: number;
554
+ digest: string;
555
555
  signature: {
556
556
  value: string;
557
557
  keyId: string;
@@ -559,26 +559,23 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
559
559
  };
560
560
  }, {
561
561
  schemaVersion: "treeseed.capability-ontology/v1";
562
- digest: string;
563
- createdAt: string;
564
- generation: number;
565
562
  definitions: {
566
563
  status: "active" | "revoked" | "deprecated";
567
564
  id: string;
568
565
  version: string;
569
566
  schemaVersion: "treeseed.capability-definition/v1";
567
+ title: string;
568
+ description: string;
569
+ createdAt: string;
570
570
  digest: string;
571
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
572
+ features: string[];
571
573
  inputs: {
572
574
  id: string;
573
575
  version: string;
574
576
  digest: string;
575
577
  mediaTypes?: string[] | undefined;
576
578
  }[];
577
- createdAt: string;
578
- title: string;
579
- description: string;
580
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
581
- features: string[];
582
579
  outputs: {
583
580
  id: string;
584
581
  version: string;
@@ -586,9 +583,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
586
583
  mediaTypes?: string[] | undefined;
587
584
  }[];
588
585
  configuration: {
589
- key: string;
590
- description: string;
591
586
  schema: Record<string, unknown>;
587
+ description: string;
588
+ key: string;
592
589
  requirementSupport: ("required" | "preferred")[];
593
590
  securityCritical?: boolean | undefined;
594
591
  }[];
@@ -607,6 +604,9 @@ export declare const capabilityOntologySchema: z.ZodEffects<z.ZodObject<{
607
604
  }[];
608
605
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
609
606
  }[];
607
+ createdAt: string;
608
+ generation: number;
609
+ digest: string;
610
610
  signature: {
611
611
  value: string;
612
612
  keyId: string;
@@ -815,7 +815,7 @@ export declare const capabilityConformanceSchema: z.ZodObject<{
815
815
  algorithm: "Ed25519";
816
816
  }>;
817
817
  }, "strict", z.ZodTypeAny, {
818
- status: "revoked" | "failed" | "passed";
818
+ status: "failed" | "revoked" | "passed";
819
819
  expiresAt: string | null;
820
820
  schemaVersion: "treeseed.capability-conformance/v1";
821
821
  providerId: string;
@@ -837,7 +837,7 @@ export declare const capabilityConformanceSchema: z.ZodObject<{
837
837
  version: string;
838
838
  } | null;
839
839
  }, {
840
- status: "revoked" | "failed" | "passed";
840
+ status: "failed" | "revoked" | "passed";
841
841
  expiresAt: string | null;
842
842
  schemaVersion: "treeseed.capability-conformance/v1";
843
843
  providerId: string;
@@ -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: "tokens" | "bytes" | "items";
885
+ measurement: "items" | "tokens" | "bytes";
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: "tokens" | "bytes" | "items";
897
+ measurement: "items" | "tokens" | "bytes";
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: "tokens" | "bytes" | "items" | null;
925
+ measurement: "items" | "tokens" | "bytes" | 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?: "tokens" | "bytes" | "items" | null | undefined;
940
+ measurement?: "items" | "tokens" | "bytes" | null | undefined;
941
941
  }>]>, {
942
942
  maximum: number;
943
943
  mode: "bounded";
944
- measurement: "tokens" | "bytes" | "items";
944
+ measurement: "items" | "tokens" | "bytes";
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: "tokens" | "bytes" | "items" | null;
955
+ measurement: "items" | "tokens" | "bytes" | 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: "tokens" | "bytes" | "items";
965
+ measurement: "items" | "tokens" | "bytes";
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?: "tokens" | "bytes" | "items" | null | undefined;
982
+ measurement?: "items" | "tokens" | "bytes" | null | undefined;
983
983
  }>;
984
984
  export declare const capabilityOfferSchema: z.ZodObject<{
985
985
  schemaVersion: z.ZodLiteral<"treeseed.capability-offer/v2">;
@@ -1088,7 +1088,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1088
1088
  algorithm: "Ed25519";
1089
1089
  }>;
1090
1090
  }, "strict", z.ZodTypeAny, {
1091
- status: "revoked" | "failed" | "passed";
1091
+ status: "failed" | "revoked" | "passed";
1092
1092
  expiresAt: string | null;
1093
1093
  schemaVersion: "treeseed.capability-conformance/v1";
1094
1094
  providerId: string;
@@ -1110,7 +1110,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1110
1110
  version: string;
1111
1111
  } | null;
1112
1112
  }, {
1113
- status: "revoked" | "failed" | "passed";
1113
+ status: "failed" | "revoked" | "passed";
1114
1114
  expiresAt: string | null;
1115
1115
  schemaVersion: "treeseed.capability-conformance/v1";
1116
1116
  providerId: string;
@@ -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: "tokens" | "bytes" | "items";
1158
+ measurement: "items" | "tokens" | "bytes";
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: "tokens" | "bytes" | "items";
1170
+ measurement: "items" | "tokens" | "bytes";
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: "tokens" | "bytes" | "items" | null;
1198
+ measurement: "items" | "tokens" | "bytes" | 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?: "tokens" | "bytes" | "items" | null | undefined;
1213
+ measurement?: "items" | "tokens" | "bytes" | null | undefined;
1214
1214
  }>]>, {
1215
1215
  maximum: number;
1216
1216
  mode: "bounded";
1217
- measurement: "tokens" | "bytes" | "items";
1217
+ measurement: "items" | "tokens" | "bytes";
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: "tokens" | "bytes" | "items" | null;
1228
+ measurement: "items" | "tokens" | "bytes" | 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: "tokens" | "bytes" | "items";
1238
+ measurement: "items" | "tokens" | "bytes";
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?: "tokens" | "bytes" | "items" | null | undefined;
1255
+ measurement?: "items" | "tokens" | "bytes" | null | undefined;
1256
1256
  }>;
1257
1257
  limits: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1258
1258
  commercial: z.ZodObject<{
@@ -1297,7 +1297,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1297
1297
  preferred: boolean;
1298
1298
  }>;
1299
1299
  conformance: {
1300
- status: "revoked" | "failed" | "passed";
1300
+ status: "failed" | "revoked" | "passed";
1301
1301
  expiresAt: string | null;
1302
1302
  schemaVersion: "treeseed.capability-conformance/v1";
1303
1303
  providerId: string;
@@ -1322,7 +1322,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1322
1322
  contextCapacity: {
1323
1323
  maximum: number;
1324
1324
  mode: "bounded";
1325
- measurement: "tokens" | "bytes" | "items";
1325
+ measurement: "items" | "tokens" | "bytes";
1326
1326
  defaultInitial: number;
1327
1327
  reservedOutput: number;
1328
1328
  transportPayloadBytes: number;
@@ -1333,7 +1333,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1333
1333
  };
1334
1334
  } | {
1335
1335
  mode: "unbounded";
1336
- measurement: "tokens" | "bytes" | "items" | null;
1336
+ measurement: "items" | "tokens" | "bytes" | null;
1337
1337
  transportPayloadBytes: number;
1338
1338
  measurementProvenance: {
1339
1339
  provider: string;
@@ -1378,7 +1378,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1378
1378
  preferred: boolean;
1379
1379
  }>;
1380
1380
  conformance: {
1381
- status: "revoked" | "failed" | "passed";
1381
+ status: "failed" | "revoked" | "passed";
1382
1382
  expiresAt: string | null;
1383
1383
  schemaVersion: "treeseed.capability-conformance/v1";
1384
1384
  providerId: string;
@@ -1403,7 +1403,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1403
1403
  contextCapacity: {
1404
1404
  maximum: number;
1405
1405
  mode: "bounded";
1406
- measurement: "tokens" | "bytes" | "items";
1406
+ measurement: "items" | "tokens" | "bytes";
1407
1407
  defaultInitial: number;
1408
1408
  transportPayloadBytes: number;
1409
1409
  measurementProvenance: {
@@ -1420,7 +1420,7 @@ export declare const capabilityOfferSchema: z.ZodObject<{
1420
1420
  version: string | null;
1421
1421
  implementation: string;
1422
1422
  };
1423
- measurement?: "tokens" | "bytes" | "items" | null | undefined;
1423
+ measurement?: "items" | "tokens" | "bytes" | null | undefined;
1424
1424
  };
1425
1425
  limits: Record<string, unknown>;
1426
1426
  commercial: {
@@ -49,27 +49,27 @@ export declare class ProviderProtocolClient {
49
49
  repository: {
50
50
  provider: "github";
51
51
  name: string;
52
- owner: string;
53
52
  ref: string;
53
+ owner: string;
54
54
  cloneUrl: string;
55
55
  };
56
56
  authorization: {
57
57
  id: string;
58
58
  expiresAt: string;
59
59
  schemaVersion: "treeseed.source-workspace-authorization/v1";
60
- providerId: string;
61
- issuedAt: string;
62
- assignmentId: string;
63
60
  source: {
64
61
  commit: string;
65
- projectId: string;
66
62
  teamId: string;
63
+ projectId: string;
67
64
  profile: "source-only";
68
65
  repositoryId: string;
69
66
  controlPlaneId: string;
70
67
  formatVersion: 1;
71
68
  additionalCommits?: string[] | undefined;
72
69
  };
70
+ assignmentId: string;
71
+ providerId: string;
72
+ issuedAt: string;
73
73
  mode: "analysis" | "work";
74
74
  attempt: number;
75
75
  publication: "denied" | "assignment-branch" | "simulation-branch";
@@ -93,9 +93,17 @@ export declare class ProviderProtocolClient {
93
93
  status: "responded" | "abstained";
94
94
  schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
95
95
  assignmentId: string;
96
+ settledAt: string;
96
97
  invocationId: string;
98
+ reference: {
99
+ path: string;
100
+ kind: "treedx";
101
+ commit: string;
102
+ repository: string;
103
+ projectId: string;
104
+ workspaceId?: string | undefined;
105
+ };
97
106
  messageRef: string;
98
- settledAt: string;
99
107
  }>;
100
108
  acknowledgeCommunicationNotification(assignmentId: string, request: {
101
109
  providerId: string;
@@ -118,7 +126,6 @@ export declare class ProviderProtocolClient {
118
126
  reportAssignmentUsage(assignmentId: string, request: Record<string, unknown>, idempotencyKey: string): Promise<Record<string, unknown>>;
119
127
  settleAssignment(assignmentId: string, request: Record<string, unknown>, idempotencyKey: string): Promise<Record<string, unknown>>;
120
128
  createAssignmentEvent(assignmentId: string, request: ProviderRuntimeEventInput): Promise<Record<string, unknown>>;
121
- publishAssignmentSignal(assignmentId: string, request: Record<string, unknown>): Promise<Record<string, unknown>>;
122
129
  dispatchAssignmentWorkflowOperation(assignmentId: string, operationId: string, request: Record<string, unknown>): Promise<Record<string, unknown>>;
123
130
  getAssignmentWorkflowRun(assignmentId: string, runId: string): Promise<Record<string, unknown>>;
124
131
  }