@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.
Files changed (96) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1594 -922
  3. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +40 -40
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -59
  6. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -1
  7. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +1 -1
  8. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +18 -20
  9. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +1 -1
  10. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -67
  11. package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
  12. package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
  13. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +8 -8
  14. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -23
  15. package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
  16. package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
  17. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +176 -176
  18. package/dist/agent-capacity/contracts/support/execution-graph.js +1 -1
  19. package/dist/agent-capacity/contracts/support/financial-records.d.ts +1 -6
  20. package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
  21. package/dist/agent-capacity/grant.d.ts +34 -0
  22. package/dist/agent-capacity/grant.js +4 -0
  23. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1042 -1042
  24. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
  25. package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
  26. package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
  27. package/dist/agent-capacity/validation/assignment-records.js +4 -35
  28. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  29. package/dist/agent-capacity/validation/configuration.js +2 -6
  30. package/dist/agent-capacity/validation/grant.d.ts +11 -0
  31. package/dist/agent-capacity/validation/grant.js +31 -0
  32. package/dist/capacity/agents/agent-capacity.d.ts +2 -4
  33. package/dist/capacity/agents/agent-capacity.js +1 -3
  34. package/dist/capacity-provider/capability-ontology.d.ts +138 -138
  35. package/dist/capacity-provider/client.d.ts +1 -2
  36. package/dist/capacity-provider/client.js +0 -6
  37. package/dist/capacity-provider/contracts/environment-profiles.d.ts +8 -8
  38. package/dist/capacity-provider/core-capability-catalog.d.ts +4 -4
  39. package/dist/capacity-provider/environment-catalog.d.ts +166 -166
  40. package/dist/capacity-provider/install-configuration.d.ts +2 -2
  41. package/dist/capacity-provider/sandbox-contracts.d.ts +52 -52
  42. package/dist/capacity-provider/source-workspace.d.ts +102 -4
  43. package/dist/capacity-provider/source-workspace.js +5 -1
  44. package/dist/content/validation/agent-operational-content-schemas.d.ts +108 -108
  45. package/dist/content/validation/auxiliary-content-schemas.d.ts +108 -108
  46. package/dist/content/validation/content-model-schemas.d.ts +9473 -6284
  47. package/dist/content/validation/content-model-schemas.js +116 -48
  48. package/dist/content/validation/portable-content-data.d.ts +351 -181
  49. package/dist/content/validation/portable-content-data.js +6 -1
  50. package/dist/deployment/ai/storage.d.ts +14 -14
  51. package/dist/deployment/ai-hosting.d.ts +10 -10
  52. package/dist/deployment/ai-instance.d.ts +14 -14
  53. package/dist/deployment/ai-mode.d.ts +82 -82
  54. package/dist/deployment/hosted-topology-template.d.ts +24 -24
  55. package/dist/deployment/hosted-topology.d.ts +219 -219
  56. package/dist/deployment/postgres/contracts.d.ts +52 -52
  57. package/dist/deployment/postgres/transfer.d.ts +4 -4
  58. package/dist/deployment/schemas.d.ts +780 -780
  59. package/dist/development/schemas.d.ts +439 -439
  60. package/dist/knowledge/contracts.d.ts +9 -2
  61. package/dist/knowledge/contracts.js +2 -2
  62. package/dist/model-registry/discussion-models.js +0 -1
  63. package/dist/operator-contracts/canonical-command-tree.js +3 -1
  64. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +2 -2
  65. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +17 -17
  66. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +4 -4
  67. package/dist/operator-contracts/catalog/communication-operations.d.ts +100 -100
  68. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +40 -40
  69. package/dist/operator-contracts/catalog/inbox-operations.d.ts +54 -54
  70. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +5 -5
  71. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
  72. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +8 -8
  73. package/dist/operator-contracts/communication/contracts.d.ts +273 -273
  74. package/dist/operator-contracts/control-plane-operations.d.ts +236 -242
  75. package/dist/operator-contracts/control-plane-operations.js +0 -2
  76. package/dist/operator-contracts/inbox/contracts.d.ts +204 -204
  77. package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
  78. package/dist/platform/agent-schema-verification.d.ts +3 -0
  79. package/dist/platform/agent-schema-verification.js +94 -0
  80. package/dist/platform/verification.js +6 -0
  81. package/dist/sdk-types/support/planning-policy.d.ts +1 -1
  82. package/dist/secrets-capability/shared-access.d.ts +2 -2
  83. package/dist/secrets-capability/shared-resources.d.ts +46 -46
  84. package/dist/secrets-capability/vault-contracts.d.ts +2 -2
  85. package/dist/security/encrypted-envelope.d.ts +8 -8
  86. package/package.json +3 -2
  87. package/dist/agent-capacity/allocation.d.ts +0 -183
  88. package/dist/agent-capacity/allocation.js +0 -5
  89. package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
  90. package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
  91. package/dist/agent-capacity/artifacts.d.ts +0 -123
  92. package/dist/agent-capacity/artifacts.js +0 -39
  93. package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
  94. package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
  95. package/dist/agent-capacity/validation/allocation.d.ts +0 -12
  96. package/dist/agent-capacity/validation/allocation.js +0 -115
@@ -9,8 +9,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
9
9
  teamId: string;
10
10
  instanceId: string;
11
11
  }, {}, {
12
- connectionId: string;
13
12
  bucket: string;
13
+ connectionId: string;
14
14
  }, Record<string, unknown>>;
15
15
  storageRemove: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
16
16
  teamId: string;
@@ -22,7 +22,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
22
22
  }, {}, {
23
23
  name: string;
24
24
  projectId: string;
25
- purpose: "inference" | "training" | "both";
25
+ purpose: "both" | "inference" | "training";
26
26
  model: string;
27
27
  }, Record<string, unknown>>;
28
28
  list: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
@@ -41,12 +41,12 @@ export declare const CONTROL_PLANE_OPERATIONS: {
41
41
  }, {}, {
42
42
  name: string;
43
43
  projectId: string;
44
- purpose: "inference" | "training" | "both";
44
+ schedule: "always" | "weekdays";
45
+ purpose: "both" | "inference" | "training";
46
+ model: string;
45
47
  timeZone: string;
46
- schedule: "weekdays" | "always";
47
48
  hostingConnectionId: string;
48
49
  storageConnectionId: string | null;
49
- model: string;
50
50
  }, Record<string, unknown>>;
51
51
  remove: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
52
52
  teamId: string;
@@ -62,8 +62,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
62
62
  id: string;
63
63
  schemaVersion: "treeseed.hosted-topology/v1";
64
64
  resources: {
65
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
66
- provider: "cloudflare" | "railway";
65
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
66
+ provider: "railway" | "cloudflare";
67
67
  id: string;
68
68
  adoption: {
69
69
  mode: "adopt-or-create";
@@ -89,8 +89,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
89
89
  repository: "treeseed-ai/platform";
90
90
  commit: string;
91
91
  };
92
+ environment: "staging" | "production";
92
93
  mutation: "agent-authorized";
93
- environment: "production" | "staging";
94
94
  artifacts: Record<string, {
95
95
  kind: "archive";
96
96
  digest: string;
@@ -111,7 +111,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
111
111
  stateBackend: {
112
112
  connectionRef: string;
113
113
  };
114
- providerConnections: Partial<Record<"cloudflare" | "railway", {
114
+ providerConnections: Partial<Record<"railway" | "cloudflare", {
115
115
  connectionRef: string;
116
116
  }>>;
117
117
  };
@@ -128,14 +128,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
128
128
  }[];
129
129
  planDigest: string;
130
130
  actions: {
131
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
132
- provider: "cloudflare" | "railway";
131
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
132
+ provider: "railway" | "cloudflare";
133
133
  action: "noop" | "create" | "adopt" | "update";
134
134
  resourceId: string;
135
135
  providerResourceId: string | null;
136
136
  desiredResource: {
137
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
138
- provider: "cloudflare" | "railway";
137
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
138
+ provider: "railway" | "cloudflare";
139
139
  id: string;
140
140
  adoption: {
141
141
  mode: "adopt-or-create";
@@ -160,7 +160,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
160
160
  previousDigest: string | null;
161
161
  }[];
162
162
  teamId: string;
163
- environment: "production" | "staging";
163
+ environment: "staging" | "production";
164
164
  executable: false;
165
165
  artifacts: Record<string, {
166
166
  kind: "archive";
@@ -185,18 +185,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
185
185
  schemaVersion: "treeseed.hosted-state-backend/v1";
186
186
  key: string;
187
187
  teamId: string;
188
- environment: "production" | "staging";
189
- deploymentId: string;
188
+ region: string;
189
+ environment: "staging" | "production";
190
190
  bucket: string;
191
+ deploymentId: string;
191
192
  stackId: string;
192
193
  connectionRef: string;
193
- region: string;
194
194
  encryptionKeyRef: string;
195
195
  bindingDigest: string;
196
196
  endpoint?: string | undefined;
197
197
  usePathStyle?: boolean | undefined;
198
198
  } | null;
199
- providerConnections: Partial<Record<"cloudflare" | "railway", {
199
+ providerConnections: Partial<Record<"railway" | "cloudflare", {
200
200
  connectionRef: string;
201
201
  nonSecretConfig: Record<string, string | number | boolean>;
202
202
  }>>;
@@ -214,18 +214,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
214
214
  state: "known-good";
215
215
  schemaVersion: "treeseed.hosted-topology-receipt/v1";
216
216
  resources: {
217
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
218
- provider: "cloudflare" | "railway";
217
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
218
+ provider: "railway" | "cloudflare";
219
219
  state: "missing" | "degraded" | "healthy";
220
+ observedAt: string;
220
221
  resourceId: string;
221
222
  providerResourceId: string | null;
222
223
  managedBy: "external" | "treeseed" | null;
223
224
  observedDigest: string | null;
224
- observedAt: string;
225
225
  }[];
226
226
  planDigest: string;
227
227
  teamId: string;
228
- environment: "production" | "staging";
228
+ environment: "staging" | "production";
229
229
  completedAt: string;
230
230
  receiptId: string;
231
231
  deploymentId: string;
@@ -235,14 +235,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
235
235
  platformCommit: string;
236
236
  backendBindingDigest: string;
237
237
  previousResources: {
238
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
239
- provider: "cloudflare" | "railway";
238
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
239
+ provider: "railway" | "cloudflare";
240
240
  state: "missing" | "degraded" | "healthy";
241
+ observedAt: string;
241
242
  resourceId: string;
242
243
  providerResourceId: string | null;
243
244
  managedBy: "external" | "treeseed" | null;
244
245
  observedDigest: string | null;
245
- observedAt: string;
246
246
  }[];
247
247
  } | null;
248
248
  }>;
@@ -252,11 +252,11 @@ export declare const CONTROL_PLANE_OPERATIONS: {
252
252
  execution: {
253
253
  schemaVersion: "treeseed.hosted-topology-rollback-execution/v1";
254
254
  teamId: string;
255
- environment: "production" | "staging";
255
+ environment: "staging" | "production";
256
256
  rollback: {
257
257
  schemaVersion: "treeseed.hosted-topology-rollback/v1";
258
258
  teamId: string;
259
- environment: "production" | "staging";
259
+ environment: "staging" | "production";
260
260
  operations: {
261
261
  action: "noop" | "restore" | "delete-created";
262
262
  resourceId: string;
@@ -288,14 +288,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
288
288
  }[];
289
289
  planDigest: string;
290
290
  actions: {
291
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
292
- provider: "cloudflare" | "railway";
291
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
292
+ provider: "railway" | "cloudflare";
293
293
  action: "noop" | "create" | "adopt" | "update";
294
294
  resourceId: string;
295
295
  providerResourceId: string | null;
296
296
  desiredResource: {
297
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
298
- provider: "cloudflare" | "railway";
297
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
298
+ provider: "railway" | "cloudflare";
299
299
  id: string;
300
300
  adoption: {
301
301
  mode: "adopt-or-create";
@@ -320,7 +320,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
320
320
  previousDigest: string | null;
321
321
  }[];
322
322
  teamId: string;
323
- environment: "production" | "staging";
323
+ environment: "staging" | "production";
324
324
  executable: false;
325
325
  artifacts: Record<string, {
326
326
  kind: "archive";
@@ -345,18 +345,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
345
345
  schemaVersion: "treeseed.hosted-state-backend/v1";
346
346
  key: string;
347
347
  teamId: string;
348
- environment: "production" | "staging";
349
- deploymentId: string;
348
+ region: string;
349
+ environment: "staging" | "production";
350
350
  bucket: string;
351
+ deploymentId: string;
351
352
  stackId: string;
352
353
  connectionRef: string;
353
- region: string;
354
354
  encryptionKeyRef: string;
355
355
  bindingDigest: string;
356
356
  endpoint?: string | undefined;
357
357
  usePathStyle?: boolean | undefined;
358
358
  } | null;
359
- providerConnections: Partial<Record<"cloudflare" | "railway", {
359
+ providerConnections: Partial<Record<"railway" | "cloudflare", {
360
360
  connectionRef: string;
361
361
  nonSecretConfig: Record<string, string | number | boolean>;
362
362
  }>>;
@@ -374,14 +374,14 @@ export declare const CONTROL_PLANE_OPERATIONS: {
374
374
  }[];
375
375
  planDigest: string;
376
376
  actions: {
377
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
378
- provider: "cloudflare" | "railway";
377
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
378
+ provider: "railway" | "cloudflare";
379
379
  action: "noop" | "create" | "adopt" | "update";
380
380
  resourceId: string;
381
381
  providerResourceId: string | null;
382
382
  desiredResource: {
383
- kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
384
- provider: "cloudflare" | "railway";
383
+ kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
384
+ provider: "railway" | "cloudflare";
385
385
  id: string;
386
386
  adoption: {
387
387
  mode: "adopt-or-create";
@@ -406,7 +406,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
406
406
  previousDigest: string | null;
407
407
  }[];
408
408
  teamId: string;
409
- environment: "production" | "staging";
409
+ environment: "staging" | "production";
410
410
  executable: false;
411
411
  artifacts: Record<string, {
412
412
  kind: "archive";
@@ -431,18 +431,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
431
431
  schemaVersion: "treeseed.hosted-state-backend/v1";
432
432
  key: string;
433
433
  teamId: string;
434
- environment: "production" | "staging";
435
- deploymentId: string;
434
+ region: string;
435
+ environment: "staging" | "production";
436
436
  bucket: string;
437
+ deploymentId: string;
437
438
  stackId: string;
438
439
  connectionRef: string;
439
- region: string;
440
440
  encryptionKeyRef: string;
441
441
  bindingDigest: string;
442
442
  endpoint?: string | undefined;
443
443
  usePathStyle?: boolean | undefined;
444
444
  } | null;
445
- providerConnections: Partial<Record<"cloudflare" | "railway", {
445
+ providerConnections: Partial<Record<"railway" | "cloudflare", {
446
446
  connectionRef: string;
447
447
  nonSecretConfig: Record<string, string | number | boolean>;
448
448
  }>>;
@@ -476,13 +476,16 @@ export declare const CONTROL_PLANE_OPERATIONS: {
476
476
  mediaTypes?: string[] | undefined;
477
477
  }[];
478
478
  createdAt: string;
479
+ title: string;
480
+ description: string;
481
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
482
+ features: string[];
479
483
  outputs: {
480
484
  id: string;
481
485
  version: string;
482
486
  digest: string;
483
487
  mediaTypes?: string[] | undefined;
484
488
  }[];
485
- description: string;
486
489
  configuration: {
487
490
  key: string;
488
491
  description: string;
@@ -490,9 +493,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
490
493
  requirementSupport: ("required" | "preferred")[];
491
494
  securityCritical?: boolean | undefined;
492
495
  }[];
493
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
494
- title: string;
495
- features: string[];
496
496
  permissionClasses: string[];
497
497
  contextModes: string[];
498
498
  interactionModes: string[];
@@ -528,13 +528,16 @@ export declare const CONTROL_PLANE_OPERATIONS: {
528
528
  mediaTypes?: string[] | undefined;
529
529
  }[];
530
530
  createdAt: string;
531
+ title: string;
532
+ description: string;
533
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
534
+ features: string[];
531
535
  outputs: {
532
536
  id: string;
533
537
  version: string;
534
538
  digest: string;
535
539
  mediaTypes?: string[] | undefined;
536
540
  }[];
537
- description: string;
538
541
  configuration: {
539
542
  key: string;
540
543
  description: string;
@@ -542,9 +545,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
542
545
  requirementSupport: ("required" | "preferred")[];
543
546
  securityCritical?: boolean | undefined;
544
547
  }[];
545
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
546
- title: string;
547
- features: string[];
548
548
  permissionClasses: string[];
549
549
  contextModes: string[];
550
550
  interactionModes: string[];
@@ -565,11 +565,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
565
565
  digest: string;
566
566
  createdAt: string;
567
567
  generation: number;
568
- signature: {
569
- value: string;
570
- algorithm: "Ed25519" | "release-catalog";
571
- keyId: string;
572
- };
573
568
  definitions: {
574
569
  status: "active" | "revoked" | "deprecated";
575
570
  id: string;
@@ -583,13 +578,16 @@ export declare const CONTROL_PLANE_OPERATIONS: {
583
578
  mediaTypes?: string[] | undefined;
584
579
  }[];
585
580
  createdAt: string;
581
+ title: string;
582
+ description: string;
583
+ family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
584
+ features: string[];
586
585
  outputs: {
587
586
  id: string;
588
587
  version: string;
589
588
  digest: string;
590
589
  mediaTypes?: string[] | undefined;
591
590
  }[];
592
- description: string;
593
591
  configuration: {
594
592
  key: string;
595
593
  description: string;
@@ -597,9 +595,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
597
595
  requirementSupport: ("required" | "preferred")[];
598
596
  securityCritical?: boolean | undefined;
599
597
  }[];
600
- family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
601
- title: string;
602
- features: string[];
603
598
  permissionClasses: string[];
604
599
  contextModes: string[];
605
600
  interactionModes: string[];
@@ -615,13 +610,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
615
610
  }[];
616
611
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
617
612
  }[];
613
+ signature: {
614
+ value: string;
615
+ keyId: string;
616
+ algorithm: "Ed25519" | "release-catalog";
617
+ };
618
618
  }>;
619
619
  };
620
620
  readonly inbox: {
621
621
  list: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
622
622
  teamId: string;
623
623
  }, {
624
- kind?: "all" | "proposal" | "question" | undefined;
624
+ kind?: "question" | "proposal" | "all" | undefined;
625
625
  state?: "all" | "outstanding" | undefined;
626
626
  projectId?: string | undefined;
627
627
  cursor?: string | undefined;
@@ -629,18 +629,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
629
629
  }, undefined, {
630
630
  schemaVersion: "treeseed.inbox-page/v1";
631
631
  items: {
632
- status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
633
- kind: "proposal" | "question";
632
+ status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
633
+ kind: "question" | "proposal";
634
634
  id: string;
635
635
  version: number;
636
636
  projectId: string;
637
637
  teamId: string;
638
638
  createdAt: string;
639
- projectSlug: string;
640
639
  updatedAt: string;
640
+ title: string;
641
641
  authorId: string;
642
+ projectSlug: string;
642
643
  authorLabel: string;
643
- title: string;
644
644
  etag: string;
645
645
  }[];
646
646
  cursor: string | null;
@@ -649,48 +649,48 @@ export declare const CONTROL_PLANE_OPERATIONS: {
649
649
  teamId: string;
650
650
  itemId: string;
651
651
  }, {}, undefined, {
652
- status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
653
- kind: "proposal" | "question";
652
+ status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
653
+ kind: "question" | "proposal";
654
654
  id: string;
655
655
  version: number;
656
656
  schemaVersion: "treeseed.inbox-item/v1";
657
657
  projectId: string;
658
658
  teamId: string;
659
659
  createdAt: string;
660
+ updatedAt: string;
661
+ title: string;
662
+ discussionId: string | null;
663
+ authorId: string;
660
664
  provenance: {
661
665
  digest: string | null;
666
+ commitSha: string | null;
662
667
  repositoryId: string | null;
663
668
  contentPath: string | null;
664
- commitSha: string | null;
665
669
  };
666
670
  projectSlug: string;
667
- updatedAt: string;
668
671
  markdown: string;
669
- discussionId: string | null;
670
- authorId: string;
671
672
  authorLabel: string;
672
- title: string;
673
673
  availableActions: {
674
674
  enabled: boolean;
675
- action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
676
- reason: string | null;
675
+ action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
677
676
  label: string;
677
+ reason: string | null;
678
678
  confirmation: "never" | "input_required";
679
679
  requiresFeedback: boolean;
680
680
  }[];
681
681
  comments: {
682
- kind: "comment" | "answer" | "reply";
682
+ kind: "answer" | "comment" | "reply";
683
683
  id: string;
684
684
  createdAt: string;
685
+ parentId: string | null;
686
+ authorId: string;
685
687
  provenance: {
686
688
  digest: string | null;
689
+ commitSha: string | null;
687
690
  repositoryId: string | null;
688
691
  contentPath: string | null;
689
- commitSha: string | null;
690
692
  };
691
693
  markdown: string;
692
- parentId: string | null;
693
- authorId: string;
694
694
  authorLabel: string;
695
695
  }[];
696
696
  etag: string;
@@ -702,83 +702,83 @@ export declare const CONTROL_PLANE_OPERATIONS: {
702
702
  waitSeconds?: number | undefined;
703
703
  after?: string | undefined;
704
704
  }, undefined, {
705
- cursor: string;
706
705
  events: {
707
706
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
708
707
  id: string;
709
708
  schemaVersion: "treeseed.inbox-event/v1";
710
709
  teamId: string;
710
+ summary: string;
711
711
  sequence: string;
712
712
  payload: Record<string, unknown>;
713
- summary: string;
714
713
  occurredAt: string;
715
714
  itemId: string | null;
716
715
  actorId: string;
717
716
  }[];
717
+ cursor: string;
718
718
  }>;
719
719
  createQuestion: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
720
720
  teamId: string;
721
721
  }, {}, {
722
722
  projectId: string;
723
- markdown: string;
724
723
  title: string;
725
- recipients?: string[] | undefined;
724
+ markdown: string;
726
725
  severity?: "blocking" | "advisory" | undefined;
727
726
  relatedObjectives?: string[] | undefined;
727
+ recipients?: string[] | undefined;
728
728
  relatedProposals?: string[] | undefined;
729
729
  relatedDecisions?: string[] | undefined;
730
730
  relatedWorkItems?: string[] | undefined;
731
731
  }, {
732
732
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
733
733
  item: {
734
- status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
735
- kind: "proposal" | "question";
734
+ status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
735
+ kind: "question" | "proposal";
736
736
  id: string;
737
737
  version: number;
738
738
  schemaVersion: "treeseed.inbox-item/v1";
739
739
  projectId: string;
740
740
  teamId: string;
741
741
  createdAt: string;
742
+ updatedAt: string;
743
+ title: string;
744
+ discussionId: string | null;
745
+ authorId: string;
742
746
  provenance: {
743
747
  digest: string | null;
748
+ commitSha: string | null;
744
749
  repositoryId: string | null;
745
750
  contentPath: string | null;
746
- commitSha: string | null;
747
751
  };
748
752
  projectSlug: string;
749
- updatedAt: string;
750
753
  markdown: string;
751
- discussionId: string | null;
752
- authorId: string;
753
754
  authorLabel: string;
754
- title: string;
755
755
  availableActions: {
756
756
  enabled: boolean;
757
- action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
758
- reason: string | null;
757
+ action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
759
758
  label: string;
759
+ reason: string | null;
760
760
  confirmation: "never" | "input_required";
761
761
  requiresFeedback: boolean;
762
762
  }[];
763
763
  comments: {
764
- kind: "comment" | "answer" | "reply";
764
+ kind: "answer" | "comment" | "reply";
765
765
  id: string;
766
766
  createdAt: string;
767
+ parentId: string | null;
768
+ authorId: string;
767
769
  provenance: {
768
770
  digest: string | null;
771
+ commitSha: string | null;
769
772
  repositoryId: string | null;
770
773
  contentPath: string | null;
771
- commitSha: string | null;
772
774
  };
773
775
  markdown: string;
774
- parentId: string | null;
775
- authorId: string;
776
776
  authorLabel: string;
777
777
  }[];
778
778
  etag: string;
779
779
  };
780
780
  replayed: boolean;
781
- action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
781
+ action?: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen" | undefined;
782
782
  receipts?: Record<string, unknown>[] | undefined;
783
783
  }>;
784
784
  getDraft: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
@@ -787,8 +787,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
787
787
  itemId: string;
788
788
  }, {}, undefined, {
789
789
  schemaVersion: "treeseed.inbox-draft/v1";
790
- purpose: "feedback" | "proposal_revision";
791
790
  revision: number;
791
+ purpose: "feedback" | "proposal_revision";
792
792
  updatedAt: string;
793
793
  markdown: string;
794
794
  etag: string;
@@ -804,8 +804,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
804
804
  baseVersion: number;
805
805
  }, {
806
806
  schemaVersion: "treeseed.inbox-draft/v1";
807
- purpose: "feedback" | "proposal_revision";
808
807
  revision: number;
808
+ purpose: "feedback" | "proposal_revision";
809
809
  updatedAt: string;
810
810
  markdown: string;
811
811
  etag: string;
@@ -823,62 +823,62 @@ export declare const CONTROL_PLANE_OPERATIONS: {
823
823
  teamId: string;
824
824
  itemId: string;
825
825
  }, {}, {
826
- action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
827
- markdown?: string | undefined;
826
+ action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
828
827
  parentId?: string | undefined;
828
+ markdown?: string | undefined;
829
829
  changeReason?: string | undefined;
830
830
  draftRevision?: number | undefined;
831
831
  }, {
832
832
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
833
833
  item: {
834
- status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
835
- kind: "proposal" | "question";
834
+ status: "approved" | "rejected" | "closed" | "answered" | "outstanding" | "deleted";
835
+ kind: "question" | "proposal";
836
836
  id: string;
837
837
  version: number;
838
838
  schemaVersion: "treeseed.inbox-item/v1";
839
839
  projectId: string;
840
840
  teamId: string;
841
841
  createdAt: string;
842
+ updatedAt: string;
843
+ title: string;
844
+ discussionId: string | null;
845
+ authorId: string;
842
846
  provenance: {
843
847
  digest: string | null;
848
+ commitSha: string | null;
844
849
  repositoryId: string | null;
845
850
  contentPath: string | null;
846
- commitSha: string | null;
847
851
  };
848
852
  projectSlug: string;
849
- updatedAt: string;
850
853
  markdown: string;
851
- discussionId: string | null;
852
- authorId: string;
853
854
  authorLabel: string;
854
- title: string;
855
855
  availableActions: {
856
856
  enabled: boolean;
857
- action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
858
- reason: string | null;
857
+ action: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen";
859
858
  label: string;
859
+ reason: string | null;
860
860
  confirmation: "never" | "input_required";
861
861
  requiresFeedback: boolean;
862
862
  }[];
863
863
  comments: {
864
- kind: "comment" | "answer" | "reply";
864
+ kind: "answer" | "comment" | "reply";
865
865
  id: string;
866
866
  createdAt: string;
867
+ parentId: string | null;
868
+ authorId: string;
867
869
  provenance: {
868
870
  digest: string | null;
871
+ commitSha: string | null;
869
872
  repositoryId: string | null;
870
873
  contentPath: string | null;
871
- commitSha: string | null;
872
874
  };
873
875
  markdown: string;
874
- parentId: string | null;
875
- authorId: string;
876
876
  authorLabel: string;
877
877
  }[];
878
878
  etag: string;
879
879
  };
880
880
  replayed: boolean;
881
- action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
881
+ action?: "answer" | "approve" | "reject" | "comment" | "reply" | "publish_revision" | "reopen" | undefined;
882
882
  receipts?: Record<string, unknown>[] | undefined;
883
883
  }>;
884
884
  };
@@ -1113,13 +1113,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1113
1113
  schemaVersion: "treeseed.knowledge-share/v1";
1114
1114
  createdAt: string;
1115
1115
  updatedAt: string;
1116
- targetTeamId: string;
1117
1116
  projectIds: string[];
1117
+ targetTeamId: string;
1118
1118
  sourceTeamId: string;
1119
1119
  revokedAt: string | null;
1120
1120
  expiresAt?: string | null | undefined;
1121
- operations?: ("read" | "context" | "query" | "graph")[] | undefined;
1122
1121
  paths?: string[] | undefined;
1122
+ operations?: ("query" | "read" | "context" | "graph")[] | undefined;
1123
1123
  contentModels?: string[] | undefined;
1124
1124
  }[];
1125
1125
  }>;
@@ -1132,23 +1132,23 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1132
1132
  schemaVersion: "treeseed.knowledge-share/v1";
1133
1133
  createdAt: string;
1134
1134
  updatedAt: string;
1135
- targetTeamId: string;
1136
1135
  projectIds: string[];
1136
+ targetTeamId: string;
1137
1137
  sourceTeamId: string;
1138
1138
  revokedAt: string | null;
1139
1139
  expiresAt?: string | null | undefined;
1140
- operations?: ("read" | "context" | "query" | "graph")[] | undefined;
1141
1140
  paths?: string[] | undefined;
1141
+ operations?: ("query" | "read" | "context" | "graph")[] | undefined;
1142
1142
  contentModels?: string[] | undefined;
1143
1143
  }>;
1144
1144
  grant: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1145
1145
  teamId: string;
1146
1146
  }, {}, {
1147
- targetTeamId: string;
1148
1147
  projectIds: string[];
1148
+ targetTeamId: string;
1149
1149
  expiresAt?: string | null | undefined;
1150
- operations?: ("read" | "context" | "query" | "graph")[] | undefined;
1151
1150
  paths?: string[] | undefined;
1151
+ operations?: ("query" | "read" | "context" | "graph")[] | undefined;
1152
1152
  contentModels?: string[] | undefined;
1153
1153
  }, {
1154
1154
  status: "active" | "revoked" | "expired";
@@ -1156,13 +1156,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1156
1156
  schemaVersion: "treeseed.knowledge-share/v1";
1157
1157
  createdAt: string;
1158
1158
  updatedAt: string;
1159
- targetTeamId: string;
1160
1159
  projectIds: string[];
1160
+ targetTeamId: string;
1161
1161
  sourceTeamId: string;
1162
1162
  revokedAt: string | null;
1163
1163
  expiresAt?: string | null | undefined;
1164
- operations?: ("read" | "context" | "query" | "graph")[] | undefined;
1165
1164
  paths?: string[] | undefined;
1165
+ operations?: ("query" | "read" | "context" | "graph")[] | undefined;
1166
1166
  contentModels?: string[] | undefined;
1167
1167
  }>;
1168
1168
  revoke: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
@@ -1174,13 +1174,13 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1174
1174
  schemaVersion: "treeseed.knowledge-share/v1";
1175
1175
  createdAt: string;
1176
1176
  updatedAt: string;
1177
- targetTeamId: string;
1178
1177
  projectIds: string[];
1178
+ targetTeamId: string;
1179
1179
  sourceTeamId: string;
1180
1180
  revokedAt: string | null;
1181
1181
  expiresAt?: string | null | undefined;
1182
- operations?: ("read" | "context" | "query" | "graph")[] | undefined;
1183
1182
  paths?: string[] | undefined;
1183
+ operations?: ("query" | "read" | "context" | "graph")[] | undefined;
1184
1184
  contentModels?: string[] | undefined;
1185
1185
  }>;
1186
1186
  };
@@ -1444,10 +1444,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1444
1444
  version: number;
1445
1445
  teamId: string;
1446
1446
  profileId: string;
1447
- connectionId: string;
1448
1447
  configured: boolean;
1449
- custody: "openbao";
1450
1448
  fields: string[];
1449
+ connectionId: string;
1450
+ custody: "openbao";
1451
1451
  }>;
1452
1452
  readonly putCredentials: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1453
1453
  teamId: string;
@@ -1459,10 +1459,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1459
1459
  version: number;
1460
1460
  teamId: string;
1461
1461
  profileId: string;
1462
- connectionId: string;
1463
1462
  configured: boolean;
1464
- custody: "openbao";
1465
1463
  fields: string[];
1464
+ connectionId: string;
1465
+ custody: "openbao";
1466
1466
  }>;
1467
1467
  readonly deleteCredentials: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1468
1468
  teamId: string;
@@ -1474,10 +1474,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1474
1474
  version: number;
1475
1475
  teamId: string;
1476
1476
  profileId: string;
1477
- connectionId: string;
1478
1477
  configured: boolean;
1479
- custody: "openbao";
1480
1478
  fields: string[];
1479
+ connectionId: string;
1480
+ custody: "openbao";
1481
1481
  }>;
1482
1482
  readonly validateCredentials: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1483
1483
  teamId: string;
@@ -1489,10 +1489,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1489
1489
  version: number;
1490
1490
  teamId: string;
1491
1491
  profileId: string;
1492
- connectionId: string;
1493
1492
  configured: boolean;
1494
- custody: "openbao";
1495
1493
  fields: string[];
1494
+ connectionId: string;
1495
+ custody: "openbao";
1496
1496
  }>;
1497
1497
  };
1498
1498
  readonly agents: {
@@ -1514,8 +1514,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1514
1514
  projectId: string;
1515
1515
  definitions: {
1516
1516
  path: string;
1517
- desiredDigest: string;
1518
1517
  agentClass: string;
1518
+ desiredDigest: string;
1519
1519
  sourceDigest: string;
1520
1520
  }[];
1521
1521
  }[];
@@ -1542,8 +1542,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1542
1542
  projectId: string;
1543
1543
  definitions: {
1544
1544
  path: string;
1545
- desiredDigest: string;
1546
1545
  agentClass: string;
1546
+ desiredDigest: string;
1547
1547
  sourceDigest: string;
1548
1548
  }[];
1549
1549
  }[];
@@ -1630,33 +1630,20 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1630
1630
  channel: string;
1631
1631
  }, {}, {
1632
1632
  message: string;
1633
+ parentWorkdayId?: string | undefined;
1633
1634
  timeoutSeconds?: number | undefined;
1634
1635
  recipients?: string[] | undefined;
1635
1636
  proposalId?: string | undefined;
1636
- parentWorkdayId?: string | undefined;
1637
1637
  }, {
1638
- status: "failed" | "running" | "partial" | "complete" | "queued";
1638
+ status: "failed" | "running" | "partial" | "queued" | "complete";
1639
1639
  schemaVersion: "treeseed.communication-send-receipt/v4";
1640
1640
  targets: {
1641
1641
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
1642
1642
  projectId: string;
1643
- invocationId: string | null;
1644
- completedAt: string | null;
1645
- requirement: "required" | "optional";
1643
+ updatedAt: string;
1646
1644
  agentSlug: string;
1647
- capacity: {
1648
- status: string | null;
1649
- providerId: string | null;
1650
- assignmentId: string | null;
1651
- completedAt: string | null;
1652
- executionProviderId: string | null;
1653
- laneId: string | null;
1654
- lanePurpose: string | null;
1655
- assignedAt: string | null;
1656
- claimedAt: string | null;
1657
- returnedAt: string | null;
1658
- failedAt: string | null;
1659
- };
1645
+ requirement: "required" | "optional";
1646
+ depth: number;
1660
1647
  diagnostics: {
1661
1648
  provider: {
1662
1649
  providerId: string | null;
@@ -1669,15 +1656,30 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1669
1656
  model: string | null;
1670
1657
  parameters: Record<string, unknown>;
1671
1658
  };
1672
- reason: string | null;
1673
1659
  usage: Record<string, unknown>[];
1674
- availability: "available" | "unavailable" | "partial";
1660
+ reason: string | null;
1661
+ availability: "available" | "partial" | "unavailable";
1675
1662
  identityManifest: Record<string, unknown>;
1676
1663
  contextManifest: Record<string, unknown>[];
1677
1664
  timing: Record<string, unknown>;
1678
1665
  traceEvents: Record<string, unknown>[];
1679
1666
  fullPayload?: Record<string, unknown> | undefined;
1680
1667
  };
1668
+ completedAt: string | null;
1669
+ invocationId: string | null;
1670
+ capacity: {
1671
+ status: string | null;
1672
+ providerId: string | null;
1673
+ assignmentId: string | null;
1674
+ claimedAt: string | null;
1675
+ executionProviderId: string | null;
1676
+ completedAt: string | null;
1677
+ laneId: string | null;
1678
+ lanePurpose: string | null;
1679
+ assignedAt: string | null;
1680
+ returnedAt: string | null;
1681
+ failedAt: string | null;
1682
+ };
1681
1683
  projectSlug: string;
1682
1684
  definitionRevision: string;
1683
1685
  revisions: {
@@ -1687,9 +1689,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1687
1689
  chatProfile: string;
1688
1690
  };
1689
1691
  parentInvocationId: string | null;
1690
- depth: number;
1691
1692
  requestedAt: string;
1692
- updatedAt: string;
1693
1693
  failure: {
1694
1694
  code: string;
1695
1695
  message: string | null;
@@ -1699,50 +1699,50 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1699
1699
  }[];
1700
1700
  teamId: string;
1701
1701
  createdAt: string;
1702
- sendId: string;
1702
+ updatedAt: string;
1703
1703
  responses: {
1704
1704
  status: "failed" | "cancelled" | "responded" | "abstained";
1705
1705
  projectId: string;
1706
1706
  createdAt: string;
1707
1707
  assignmentId: string | null;
1708
- invocationId: string;
1709
- requirement: "required" | "optional";
1710
1708
  agentSlug: string;
1709
+ requirement: "required" | "optional";
1710
+ invocationId: string;
1711
1711
  projectSlug: string;
1712
1712
  messageRef: string;
1713
1713
  markdown: string;
1714
1714
  }[];
1715
- channel: string;
1716
- topic: {
1717
- id: string;
1718
- slug: string;
1719
- };
1720
1715
  events: {
1721
1716
  type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1722
1717
  actor: {
1723
- kind: "provider" | "agent" | "control-plane" | "user";
1718
+ kind: "provider" | "agent" | "user" | "control-plane";
1724
1719
  id: string;
1725
1720
  handle: string | null;
1726
1721
  };
1727
1722
  id: string;
1728
1723
  teamId: string;
1729
1724
  assignmentId: string | null;
1725
+ summary: string;
1726
+ sequence: number;
1730
1727
  topicId: string;
1731
1728
  sendId: string | null;
1732
1729
  invocationId: string | null;
1733
- sequence: number;
1734
1730
  payload: Record<string, unknown>;
1735
- summary: string;
1736
1731
  channel: string;
1737
1732
  occurredAt: string;
1738
1733
  }[];
1739
- updatedAt: string;
1734
+ topic: {
1735
+ id: string;
1736
+ slug: string;
1737
+ };
1738
+ sendId: string;
1739
+ channel: string;
1740
1740
  projectStreams: {
1741
1741
  id: string;
1742
1742
  projectId: string;
1743
+ discussionId: string;
1743
1744
  projectSlug: string;
1744
1745
  messageRef: string;
1745
- discussionId: string;
1746
1746
  }[];
1747
1747
  replayed: boolean;
1748
1748
  }>;
@@ -1752,28 +1752,15 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1752
1752
  }, {
1753
1753
  diagnostics?: "metadata" | "full" | undefined;
1754
1754
  }, undefined, {
1755
- status: "failed" | "running" | "partial" | "complete" | "queued";
1755
+ status: "failed" | "running" | "partial" | "queued" | "complete";
1756
1756
  schemaVersion: "treeseed.communication-send-receipt/v4";
1757
1757
  targets: {
1758
1758
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
1759
1759
  projectId: string;
1760
- invocationId: string | null;
1761
- completedAt: string | null;
1762
- requirement: "required" | "optional";
1760
+ updatedAt: string;
1763
1761
  agentSlug: string;
1764
- capacity: {
1765
- status: string | null;
1766
- providerId: string | null;
1767
- assignmentId: string | null;
1768
- completedAt: string | null;
1769
- executionProviderId: string | null;
1770
- laneId: string | null;
1771
- lanePurpose: string | null;
1772
- assignedAt: string | null;
1773
- claimedAt: string | null;
1774
- returnedAt: string | null;
1775
- failedAt: string | null;
1776
- };
1762
+ requirement: "required" | "optional";
1763
+ depth: number;
1777
1764
  diagnostics: {
1778
1765
  provider: {
1779
1766
  providerId: string | null;
@@ -1786,15 +1773,30 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1786
1773
  model: string | null;
1787
1774
  parameters: Record<string, unknown>;
1788
1775
  };
1789
- reason: string | null;
1790
1776
  usage: Record<string, unknown>[];
1791
- availability: "available" | "unavailable" | "partial";
1777
+ reason: string | null;
1778
+ availability: "available" | "partial" | "unavailable";
1792
1779
  identityManifest: Record<string, unknown>;
1793
1780
  contextManifest: Record<string, unknown>[];
1794
1781
  timing: Record<string, unknown>;
1795
1782
  traceEvents: Record<string, unknown>[];
1796
1783
  fullPayload?: Record<string, unknown> | undefined;
1797
1784
  };
1785
+ completedAt: string | null;
1786
+ invocationId: string | null;
1787
+ capacity: {
1788
+ status: string | null;
1789
+ providerId: string | null;
1790
+ assignmentId: string | null;
1791
+ claimedAt: string | null;
1792
+ executionProviderId: string | null;
1793
+ completedAt: string | null;
1794
+ laneId: string | null;
1795
+ lanePurpose: string | null;
1796
+ assignedAt: string | null;
1797
+ returnedAt: string | null;
1798
+ failedAt: string | null;
1799
+ };
1798
1800
  projectSlug: string;
1799
1801
  definitionRevision: string;
1800
1802
  revisions: {
@@ -1804,9 +1806,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1804
1806
  chatProfile: string;
1805
1807
  };
1806
1808
  parentInvocationId: string | null;
1807
- depth: number;
1808
1809
  requestedAt: string;
1809
- updatedAt: string;
1810
1810
  failure: {
1811
1811
  code: string;
1812
1812
  message: string | null;
@@ -1816,50 +1816,50 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1816
1816
  }[];
1817
1817
  teamId: string;
1818
1818
  createdAt: string;
1819
- sendId: string;
1819
+ updatedAt: string;
1820
1820
  responses: {
1821
1821
  status: "failed" | "cancelled" | "responded" | "abstained";
1822
1822
  projectId: string;
1823
1823
  createdAt: string;
1824
1824
  assignmentId: string | null;
1825
- invocationId: string;
1826
- requirement: "required" | "optional";
1827
1825
  agentSlug: string;
1826
+ requirement: "required" | "optional";
1827
+ invocationId: string;
1828
1828
  projectSlug: string;
1829
1829
  messageRef: string;
1830
1830
  markdown: string;
1831
1831
  }[];
1832
- channel: string;
1833
- topic: {
1834
- id: string;
1835
- slug: string;
1836
- };
1837
1832
  events: {
1838
1833
  type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1839
1834
  actor: {
1840
- kind: "provider" | "agent" | "control-plane" | "user";
1835
+ kind: "provider" | "agent" | "user" | "control-plane";
1841
1836
  id: string;
1842
1837
  handle: string | null;
1843
1838
  };
1844
1839
  id: string;
1845
1840
  teamId: string;
1846
1841
  assignmentId: string | null;
1842
+ summary: string;
1843
+ sequence: number;
1847
1844
  topicId: string;
1848
1845
  sendId: string | null;
1849
1846
  invocationId: string | null;
1850
- sequence: number;
1851
1847
  payload: Record<string, unknown>;
1852
- summary: string;
1853
1848
  channel: string;
1854
1849
  occurredAt: string;
1855
1850
  }[];
1856
- updatedAt: string;
1851
+ topic: {
1852
+ id: string;
1853
+ slug: string;
1854
+ };
1855
+ sendId: string;
1856
+ channel: string;
1857
1857
  projectStreams: {
1858
1858
  id: string;
1859
1859
  projectId: string;
1860
+ discussionId: string;
1860
1861
  projectSlug: string;
1861
1862
  messageRef: string;
1862
- discussionId: string;
1863
1863
  }[];
1864
1864
  replayed: boolean;
1865
1865
  }>;
@@ -1880,16 +1880,16 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1880
1880
  streams: {
1881
1881
  id: string;
1882
1882
  projectId: string;
1883
- projectSlug: string;
1884
1883
  discussionId: string;
1884
+ projectSlug: string;
1885
1885
  }[];
1886
1886
  listeners: {
1887
1887
  status: "active" | "removed";
1888
1888
  projectId: string;
1889
1889
  source: "seed" | "operator" | "mention";
1890
+ updatedAt: string;
1890
1891
  agentSlug: string;
1891
1892
  projectSlug: string;
1892
- updatedAt: string;
1893
1893
  agentHandle: string;
1894
1894
  subscribedAt: string;
1895
1895
  }[];
@@ -1909,16 +1909,16 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1909
1909
  streams: {
1910
1910
  id: string;
1911
1911
  projectId: string;
1912
- projectSlug: string;
1913
1912
  discussionId: string;
1913
+ projectSlug: string;
1914
1914
  }[];
1915
1915
  listeners: {
1916
1916
  status: "active" | "removed";
1917
1917
  projectId: string;
1918
1918
  source: "seed" | "operator" | "mention";
1919
+ updatedAt: string;
1919
1920
  agentSlug: string;
1920
1921
  projectSlug: string;
1921
- updatedAt: string;
1922
1922
  agentHandle: string;
1923
1923
  subscribedAt: string;
1924
1924
  }[];
@@ -1927,12 +1927,30 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1927
1927
  teamId: string;
1928
1928
  channel: string;
1929
1929
  }, {
1930
+ diagnostics?: "metadata" | "full" | undefined;
1930
1931
  limit?: number | undefined;
1931
1932
  waitSeconds?: number | undefined;
1932
- diagnostics?: "metadata" | "full" | undefined;
1933
1933
  after?: string | undefined;
1934
1934
  }, undefined, {
1935
- cursor: string | null;
1935
+ events: {
1936
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1937
+ actor: {
1938
+ kind: "provider" | "agent" | "user" | "control-plane";
1939
+ id: string;
1940
+ handle: string | null;
1941
+ };
1942
+ id: string;
1943
+ teamId: string;
1944
+ assignmentId: string | null;
1945
+ summary: string;
1946
+ sequence: number;
1947
+ topicId: string;
1948
+ sendId: string | null;
1949
+ invocationId: string | null;
1950
+ payload: Record<string, unknown>;
1951
+ channel: string;
1952
+ occurredAt: string;
1953
+ }[];
1936
1954
  topic: {
1937
1955
  status: "active" | "archived";
1938
1956
  id: string;
@@ -1943,39 +1961,21 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1943
1961
  streams: {
1944
1962
  id: string;
1945
1963
  projectId: string;
1946
- projectSlug: string;
1947
1964
  discussionId: string;
1965
+ projectSlug: string;
1948
1966
  }[];
1949
1967
  listeners: {
1950
1968
  status: "active" | "removed";
1951
1969
  projectId: string;
1952
1970
  source: "seed" | "operator" | "mention";
1971
+ updatedAt: string;
1953
1972
  agentSlug: string;
1954
1973
  projectSlug: string;
1955
- updatedAt: string;
1956
1974
  agentHandle: string;
1957
1975
  subscribedAt: string;
1958
1976
  }[];
1959
1977
  };
1960
- events: {
1961
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1962
- actor: {
1963
- kind: "provider" | "agent" | "control-plane" | "user";
1964
- id: string;
1965
- handle: string | null;
1966
- };
1967
- id: string;
1968
- teamId: string;
1969
- assignmentId: string | null;
1970
- topicId: string;
1971
- sendId: string | null;
1972
- invocationId: string | null;
1973
- sequence: number;
1974
- payload: Record<string, unknown>;
1975
- summary: string;
1976
- channel: string;
1977
- occurredAt: string;
1978
- }[];
1978
+ cursor: string | null;
1979
1979
  }>;
1980
1980
  readonly topicsSubscribe: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1981
1981
  teamId: string;
@@ -1989,9 +1989,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1989
1989
  status: "active" | "removed";
1990
1990
  projectId: string;
1991
1991
  source: "seed" | "operator" | "mention";
1992
+ updatedAt: string;
1992
1993
  agentSlug: string;
1993
1994
  projectSlug: string;
1994
- updatedAt: string;
1995
1995
  agentHandle: string;
1996
1996
  subscribedAt: string;
1997
1997
  };
@@ -2008,9 +2008,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
2008
2008
  status: "active" | "removed";
2009
2009
  projectId: string;
2010
2010
  source: "seed" | "operator" | "mention";
2011
+ updatedAt: string;
2011
2012
  agentSlug: string;
2012
2013
  projectSlug: string;
2013
- updatedAt: string;
2014
2014
  agentHandle: string;
2015
2015
  subscribedAt: string;
2016
2016
  };
@@ -2511,9 +2511,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
2511
2511
  readonly settleAssignment: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
2512
2512
  assignmentId: string;
2513
2513
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
2514
- readonly createModeRun: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
2515
- assignmentId: string;
2516
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
2517
2514
  readonly createEvent: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
2518
2515
  assignmentId: string;
2519
2516
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
@@ -2543,9 +2540,9 @@ export declare const CONTROL_PLANE_OPERATIONS: {
2543
2540
  assignmentId: string;
2544
2541
  }, {}, {
2545
2542
  type: string;
2543
+ summary: string;
2546
2544
  sequence: number;
2547
2545
  payload: Record<string, unknown>;
2548
- summary: string;
2549
2546
  occurredAt: string;
2550
2547
  runnerId: string;
2551
2548
  leaseToken: string;
@@ -2693,9 +2690,6 @@ export declare const CONTROL_PLANE_OPERATIONS: {
2693
2690
  readonly startCloseout: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
2694
2691
  assignmentId: string;
2695
2692
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
2696
- readonly completionPreflight: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
2697
- assignmentId: string;
2698
- }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
2699
2693
  readonly discussionResponse: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
2700
2694
  assignmentId: string;
2701
2695
  }, {}, {
@@ -2703,8 +2697,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
2703
2697
  leaseToken: string;
2704
2698
  summary?: string | undefined;
2705
2699
  usage?: Record<string, unknown> | undefined;
2706
- markdown?: string | undefined;
2707
2700
  outcome?: "responded" | "abstained" | undefined;
2701
+ markdown?: string | undefined;
2708
2702
  }, {
2709
2703
  status: "responded" | "abstained";
2710
2704
  schemaVersion: "treeseed.provider-discussion-response-receipt/v1";