@treeseed/sdk 0.13.0-rc.13 → 0.13.0-rc.130

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 (558) hide show
  1. package/README.md +69 -9
  2. package/dist/accounts/account-contracts.d.ts +6 -0
  3. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +5485 -0
  4. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +242 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +304 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.js +44 -0
  7. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
  8. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
  9. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +23 -60
  10. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.d.ts +25 -0
  11. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.js +67 -0
  12. package/dist/agent-capacity/contracts/capacity/communication/communication-records.d.ts +1 -1
  13. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -3
  14. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
  15. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +80 -0
  16. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +121 -0
  17. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +103 -0
  18. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +51 -0
  19. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +490 -0
  20. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +170 -0
  21. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +210 -91
  22. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  23. package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
  24. package/dist/agent-capacity/contracts/configuration/configuration.js +1 -3
  25. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +218 -0
  26. package/dist/agent-capacity/contracts/operations/agent-team-clone.js +57 -0
  27. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -24
  28. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  29. package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
  30. package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
  31. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +1291 -0
  32. package/dist/agent-capacity/contracts/support/execution-graph.js +122 -0
  33. package/dist/agent-capacity/contracts/support/financial-records.d.ts +3 -6
  34. package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
  35. package/dist/agent-capacity/contracts/support/time-capacity.d.ts +0 -14
  36. package/dist/agent-capacity/contracts/support/time-capacity.js +1 -8
  37. package/dist/agent-capacity/grant.d.ts +34 -0
  38. package/dist/agent-capacity/grant.js +4 -0
  39. package/dist/agent-capacity/validation/activity-profile.d.ts +1 -1
  40. package/dist/agent-capacity/validation/activity-profile.js +3 -259
  41. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +2538 -9020
  42. package/dist/agent-capacity/validation/agent-definition-schema.js +59 -181
  43. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +25 -25
  44. package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
  45. package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
  46. package/dist/agent-capacity/validation/assignment-records.js +49 -35
  47. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  48. package/dist/agent-capacity/validation/configuration.js +2 -7
  49. package/dist/agent-capacity/validation/execution/execution-graph.d.ts +1 -0
  50. package/dist/agent-capacity/validation/execution/execution-graph.js +16 -0
  51. package/dist/agent-capacity/validation/grant.d.ts +11 -0
  52. package/dist/agent-capacity/validation/grant.js +31 -0
  53. package/dist/agent-capacity/validation/index.d.ts +2 -1
  54. package/dist/agent-capacity/validation/index.js +2 -1
  55. package/dist/agent-capacity/workday.d.ts +13 -4
  56. package/dist/agent-capacity/workday.js +10 -26
  57. package/dist/capacity/agents/agent-capacity.d.ts +11 -4
  58. package/dist/capacity/agents/agent-capacity.js +9 -3
  59. package/dist/capacity-provider/capability-ontology.d.ts +1495 -0
  60. package/dist/capacity-provider/capability-ontology.js +221 -0
  61. package/dist/capacity-provider/client.d.ts +78 -3
  62. package/dist/capacity-provider/client.js +22 -10
  63. package/dist/capacity-provider/contracts/capacity-facts.d.ts +13 -0
  64. package/dist/capacity-provider/contracts/environment-profiles.d.ts +255 -0
  65. package/dist/capacity-provider/contracts/environment-profiles.js +71 -0
  66. package/dist/capacity-provider/contracts/governance.d.ts +110 -51
  67. package/dist/capacity-provider/contracts/index.d.ts +3 -0
  68. package/dist/capacity-provider/contracts/index.js +3 -0
  69. package/dist/capacity-provider/core-capability-catalog.d.ts +47 -0
  70. package/dist/capacity-provider/core-capability-catalog.js +49 -0
  71. package/dist/capacity-provider/environment-catalog.d.ts +877 -0
  72. package/dist/capacity-provider/environment-catalog.js +116 -0
  73. package/dist/capacity-provider/index.d.ts +5 -0
  74. package/dist/capacity-provider/index.js +5 -0
  75. package/dist/capacity-provider/install-configuration.d.ts +39 -0
  76. package/dist/capacity-provider/install-configuration.js +18 -0
  77. package/dist/capacity-provider/sandbox-contracts.d.ts +602 -0
  78. package/dist/capacity-provider/sandbox-contracts.js +90 -0
  79. package/dist/capacity-provider/sandbox.d.ts +2 -0
  80. package/dist/capacity-provider/sandbox.js +2 -0
  81. package/dist/capacity-provider/source-workspace.d.ts +740 -0
  82. package/dist/capacity-provider/source-workspace.js +130 -0
  83. package/dist/capacity-provider/validation.d.ts +11 -3
  84. package/dist/capacity-provider/validation.js +136 -70
  85. package/dist/configuration/secrets-capability.d.ts +5 -1
  86. package/dist/configuration/secrets-capability.js +5 -1
  87. package/dist/content/contracts.d.ts +1 -1
  88. package/dist/content/validation/agent-operational-content-schemas.d.ts +430 -777
  89. package/dist/content/validation/agent-operational-content-schemas.js +31 -57
  90. package/dist/content/validation/auxiliary-content-schemas.d.ts +144 -144
  91. package/dist/content/validation/content-model-schemas.d.ts +16063 -19764
  92. package/dist/content/validation/content-model-schemas.js +350 -98
  93. package/dist/content/validation/portable-content-data.d.ts +751 -1782
  94. package/dist/content/validation/portable-content-data.js +10 -4
  95. package/dist/content/validation/schema-constraints.d.ts +80 -0
  96. package/dist/content/validation/schema-constraints.js +173 -0
  97. package/dist/deployment/ai/storage.d.ts +158 -0
  98. package/dist/deployment/ai/storage.js +32 -0
  99. package/dist/deployment/ai-hosting.d.ts +297 -0
  100. package/dist/deployment/ai-hosting.js +63 -0
  101. package/dist/deployment/ai-instance.d.ts +65 -0
  102. package/dist/deployment/ai-instance.js +30 -0
  103. package/dist/deployment/ai-mode.d.ts +454 -0
  104. package/dist/deployment/ai-mode.js +67 -0
  105. package/dist/deployment/canonical.d.ts +2 -0
  106. package/dist/deployment/canonical.js +17 -0
  107. package/dist/deployment/catalog.d.ts +16 -0
  108. package/dist/deployment/catalog.js +48 -0
  109. package/dist/deployment/hosted-topology-template.d.ts +449 -0
  110. package/dist/deployment/hosted-topology-template.js +56 -0
  111. package/dist/deployment/hosted-topology.d.ts +2698 -0
  112. package/dist/deployment/hosted-topology.js +468 -0
  113. package/dist/deployment/index.d.ts +13 -0
  114. package/dist/deployment/index.js +13 -0
  115. package/dist/deployment/postgres/contracts.d.ts +418 -0
  116. package/dist/deployment/postgres/contracts.js +83 -0
  117. package/dist/deployment/postgres/requirements.d.ts +15 -0
  118. package/dist/deployment/postgres/requirements.js +32 -0
  119. package/dist/deployment/postgres/transfer.d.ts +97 -0
  120. package/dist/deployment/postgres/transfer.js +29 -0
  121. package/dist/deployment/schemas.d.ts +8625 -0
  122. package/dist/deployment/schemas.js +455 -0
  123. package/dist/deployment/topology.d.ts +9 -0
  124. package/dist/deployment/topology.js +35 -0
  125. package/dist/development/index.d.ts +1 -0
  126. package/dist/development/index.js +1 -0
  127. package/dist/development/schemas.d.ts +3594 -0
  128. package/dist/development/schemas.js +204 -0
  129. package/dist/development/session-migration.d.ts +3 -0
  130. package/dist/development/session-migration.js +25 -0
  131. package/dist/entrypoints/clients/control-plane-client.d.ts +9 -1
  132. package/dist/entrypoints/clients/control-plane-client.js +17 -5
  133. package/dist/graph/context-query-contracts.d.ts +16 -1
  134. package/dist/graph/context-query-contracts.js +6 -1
  135. package/dist/guarantees/evidence-trust.d.ts +32 -0
  136. package/dist/guarantees/evidence-trust.js +47 -0
  137. package/dist/guarantees/index.d.ts +154 -0
  138. package/dist/guarantees/index.js +44 -0
  139. package/dist/identity/browser-session.d.ts +233 -0
  140. package/dist/identity/browser-session.js +51 -0
  141. package/dist/identity/contracts.d.ts +191 -0
  142. package/dist/identity/contracts.js +77 -0
  143. package/dist/identity/index.d.ts +3 -0
  144. package/dist/identity/index.js +3 -0
  145. package/dist/identity/runtime.d.ts +186 -0
  146. package/dist/identity/runtime.js +49 -0
  147. package/dist/knowledge/contracts.d.ts +9 -2
  148. package/dist/knowledge/contracts.js +2 -2
  149. package/dist/model-registry/agent-operational-models.d.ts +1 -1
  150. package/dist/model-registry/agent-operational-models.js +1 -4
  151. package/dist/model-registry/build-builtin-model-registry.js +44 -72
  152. package/dist/model-registry/discussion-models.js +0 -1
  153. package/dist/operator-contracts/canonical-command-tree.js +415 -44
  154. package/dist/operator-contracts/catalog/admin-account-team-operations.d.ts +36 -0
  155. package/dist/operator-contracts/catalog/admin-account-team-operations.js +52 -0
  156. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +75 -0
  157. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.js +42 -0
  158. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +163 -0
  159. package/dist/operator-contracts/catalog/capability-ontology-operations.js +24 -0
  160. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +62 -0
  161. package/dist/operator-contracts/catalog/commands/command-tree-builders.js +191 -0
  162. package/dist/operator-contracts/catalog/communication-operations.d.ts +457 -0
  163. package/dist/operator-contracts/catalog/communication-operations.js +92 -0
  164. package/dist/operator-contracts/catalog/control-plane-catalog.d.ts +6 -0
  165. package/dist/operator-contracts/catalog/control-plane-catalog.js +18 -0
  166. package/dist/operator-contracts/catalog/execution/execution-operations.d.ts +36 -0
  167. package/dist/operator-contracts/catalog/execution/execution-operations.js +39 -0
  168. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +399 -0
  169. package/dist/operator-contracts/catalog/hosted-topology-operations.js +79 -0
  170. package/dist/operator-contracts/catalog/inbox-operations.d.ts +265 -0
  171. package/dist/operator-contracts/catalog/inbox-operations.js +36 -0
  172. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +53 -0
  173. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +24 -0
  174. package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.d.ts +3 -0
  175. package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.js +15 -0
  176. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +127 -0
  177. package/dist/operator-contracts/catalog/knowledge-share-operations.js +25 -0
  178. package/dist/operator-contracts/catalog/provider-environment-commands.d.ts +4 -0
  179. package/dist/operator-contracts/catalog/provider-environment-commands.js +69 -0
  180. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +41 -0
  181. package/dist/operator-contracts/catalog/provider-environment-operations.js +61 -0
  182. package/dist/operator-contracts/catalog/services/identity-commands.d.ts +2 -0
  183. package/dist/operator-contracts/catalog/services/identity-commands.js +13 -0
  184. package/dist/operator-contracts/catalog/services/secret-commands.d.ts +2 -0
  185. package/dist/operator-contracts/catalog/services/secret-commands.js +31 -0
  186. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +70 -0
  187. package/dist/operator-contracts/catalog/services/secret-operations.js +52 -0
  188. package/dist/operator-contracts/catalog/treeai-operations.d.ts +13 -0
  189. package/dist/operator-contracts/catalog/treeai-operations.js +61 -0
  190. package/dist/operator-contracts/catalog/workdays/profile-commands.d.ts +4 -0
  191. package/dist/operator-contracts/catalog/workdays/profile-commands.js +20 -0
  192. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +41 -0
  193. package/dist/operator-contracts/catalog/workdays/profile-operations.js +50 -0
  194. package/dist/operator-contracts/catalog/workdays/selection-commands.d.ts +3 -0
  195. package/dist/operator-contracts/catalog/workdays/selection-commands.js +28 -0
  196. package/dist/operator-contracts/command-tree.d.ts +29 -0
  197. package/dist/operator-contracts/command-tree.js +50 -0
  198. package/dist/operator-contracts/communication/addressing.d.ts +8 -0
  199. package/dist/operator-contracts/communication/addressing.js +57 -0
  200. package/dist/operator-contracts/communication/contracts.d.ts +1966 -0
  201. package/dist/operator-contracts/communication/contracts.js +195 -0
  202. package/dist/operator-contracts/control-plane-operation.d.ts +15 -1
  203. package/dist/operator-contracts/control-plane-operation.js +14 -6
  204. package/dist/operator-contracts/control-plane-operations.d.ts +2496 -328
  205. package/dist/operator-contracts/control-plane-operations.js +280 -127
  206. package/dist/operator-contracts/inbox/contracts.d.ts +1111 -0
  207. package/dist/operator-contracts/inbox/contracts.js +138 -0
  208. package/dist/operator-contracts/index.d.ts +6 -1
  209. package/dist/operator-contracts/index.js +6 -1
  210. package/dist/operator-contracts/knowledge/contracts.d.ts +130 -0
  211. package/dist/operator-contracts/knowledge/contracts.js +39 -0
  212. package/dist/operator-contracts/mcp.d.ts +5 -0
  213. package/dist/operator-contracts/mcp.js +62 -0
  214. package/dist/operator-contracts/oauth.d.ts +45 -0
  215. package/dist/operator-contracts/oauth.js +7 -0
  216. package/dist/operator-contracts/operation-builder.d.ts +18 -0
  217. package/dist/operator-contracts/operation-builder.js +78 -0
  218. package/dist/operator-contracts/seed/seed-bundle.d.ts +138 -0
  219. package/dist/operator-contracts/seed/seed-bundle.js +68 -0
  220. package/dist/operator-contracts/workday-lifecycle.d.ts +383 -28
  221. package/dist/operator-contracts/workday-lifecycle.js +124 -17
  222. package/dist/platform/agent-schema-verification.d.ts +3 -0
  223. package/dist/platform/agent-schema-verification.js +377 -0
  224. package/dist/platform/contracts.d.ts +429 -0
  225. package/dist/platform/contracts.js +93 -0
  226. package/dist/platform/index.d.ts +6 -0
  227. package/dist/platform/index.js +6 -0
  228. package/dist/platform/inventory.d.ts +11 -0
  229. package/dist/platform/inventory.js +53 -0
  230. package/dist/platform/project-create.d.ts +49 -0
  231. package/dist/platform/project-create.js +75 -0
  232. package/dist/platform/schemas.d.ts +1094 -0
  233. package/dist/platform/schemas.js +99 -0
  234. package/dist/platform/verification.d.ts +9 -0
  235. package/dist/platform/verification.js +114 -0
  236. package/dist/platform/workset.d.ts +21 -0
  237. package/dist/platform/workset.js +106 -0
  238. package/dist/sdk-types/support/planning-policy.d.ts +1 -1
  239. package/dist/sdk-types/support/sdk-model-names.d.ts +1 -1
  240. package/dist/sdk-types/support/sdk-model-names.js +0 -3
  241. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  242. package/dist/secrets-capability/github-actions-encryption.d.ts +2 -0
  243. package/dist/secrets-capability/github-actions-encryption.js +11 -0
  244. package/dist/secrets-capability/provider-operation-contracts.d.ts +15 -1
  245. package/dist/secrets-capability/secret-contracts.d.ts +33 -0
  246. package/dist/secrets-capability/secret-contracts.js +49 -0
  247. package/dist/secrets-capability/service-provider-contracts.d.ts +5 -3
  248. package/dist/secrets-capability/service-provider-contracts.js +66 -50
  249. package/dist/secrets-capability/shared-access.d.ts +51 -0
  250. package/dist/secrets-capability/shared-access.js +36 -0
  251. package/dist/secrets-capability/shared-resources.d.ts +376 -0
  252. package/dist/secrets-capability/shared-resources.js +91 -0
  253. package/dist/secrets-capability/vault-contracts.d.ts +132 -0
  254. package/dist/secrets-capability/vault-contracts.js +56 -0
  255. package/dist/security/encrypted-envelope.d.ts +177 -0
  256. package/dist/security/encrypted-envelope.js +34 -0
  257. package/dist/security/envelope-codec.d.ts +38 -0
  258. package/dist/security/envelope-codec.js +96 -0
  259. package/dist/security/index.d.ts +2 -0
  260. package/dist/security/index.js +2 -0
  261. package/dist/site-contracts/catalog.d.ts +16 -0
  262. package/dist/site-contracts/catalog.js +19 -0
  263. package/dist/site-contracts/cloudflare.d.ts +48 -0
  264. package/dist/site-contracts/platform.d.ts +94 -0
  265. package/dist/site-contracts/plugin.d.ts +63 -0
  266. package/dist/site-contracts/plugin.js +26 -0
  267. package/dist/treeai/catalog.d.ts +1 -0
  268. package/dist/treeai/catalog.js +1 -0
  269. package/dist/treeai/client.d.ts +793 -0
  270. package/dist/treeai/client.js +44 -0
  271. package/dist/treeai/contract.d.ts +41 -0
  272. package/dist/treeai/contract.js +51 -0
  273. package/dist/treeai/generated/upstream.d.ts +770 -0
  274. package/dist/treeai/generated/upstream.js +4 -0
  275. package/dist/treeai/index.d.ts +4 -0
  276. package/dist/treeai/index.js +4 -0
  277. package/dist/treedx/client.d.ts +605 -0
  278. package/dist/treedx/client.js +39 -0
  279. package/dist/treedx/contract.d.ts +32 -0
  280. package/dist/treedx/contract.js +63 -0
  281. package/dist/treedx/index.d.ts +3 -0
  282. package/dist/treedx/index.js +3 -0
  283. package/dist/treedx/types.d.ts +294 -7
  284. package/dist/treedx/types.js +44 -7
  285. package/dist/types/agents/agent-activity-profile.d.ts +43 -98
  286. package/dist/types/agents/agent-activity-profile.js +23 -0
  287. package/dist/types/agents/agent-trigger-kinds.d.ts +3 -5
  288. package/dist/types/agents/agent-trigger-kinds.js +1 -13
  289. package/dist/types/agents/execution-run-ref.d.ts +1 -8
  290. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  291. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  292. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  293. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +858 -0
  294. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  295. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  296. package/guarantees/verifiers/golden.verifiers.yaml +1464 -0
  297. package/package.json +72 -13
  298. package/tests/acceptance/golden-product.test.ts +205 -0
  299. package/tests/acceptance/golden-product.ts +404 -0
  300. package/tests/acceptance/product/base-red.ts +73 -0
  301. package/tests/acceptance/product/documentation-examples.ts +68 -0
  302. package/tests/acceptance/product/intent-runtime.ts +145 -0
  303. package/tests/acceptance/product/release-output.ts +160 -0
  304. package/tests/acceptance/product/research-artifact.ts +87 -0
  305. package/tests/acceptance/product/research-revision.ts +82 -0
  306. package/tests/acceptance/product/research-source.ts +91 -0
  307. package/tests/acceptance/product/test-chain.ts +192 -0
  308. package/treeseed.package.yaml +147 -0
  309. package/dist/agent-capacity/allocation.d.ts +0 -186
  310. package/dist/agent-capacity/allocation.js +0 -226
  311. package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
  312. package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
  313. package/dist/agent-capacity/artifacts.d.ts +0 -107
  314. package/dist/agent-capacity/artifacts.js +0 -39
  315. package/dist/agent-capacity/authority/agent-authority-presets.d.ts +0 -13
  316. package/dist/agent-capacity/authority/agent-authority-presets.js +0 -106
  317. package/dist/agent-capacity/contracts/operations/workflow-promotion.d.ts +0 -24
  318. package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -251
  319. package/dist/agent-capacity/policy/capacity/allocations/allocation-hierarchy.d.ts +0 -29
  320. package/dist/agent-capacity/policy/capacity/allocations/allocation-hierarchy.js +0 -110
  321. package/dist/agent-capacity/validation/allocation.d.ts +0 -12
  322. package/dist/agent-capacity/validation/allocation.js +0 -115
  323. package/dist/agent-capacity/validation/workflow-promotion.d.ts +0 -2
  324. package/dist/agent-capacity/validation/workflow-promotion.js +0 -34
  325. package/dist/operator-contracts/workday-profile.d.ts +0 -72
  326. package/dist/operator-contracts/workday-profile.js +0 -106
  327. package/dist/secrets-capability/service-vault-contracts.d.ts +0 -61
  328. package/dist/secrets-capability/service-vault-contracts.js +0 -39
  329. package/dist/treedx/accounts/auth.d.ts +0 -17
  330. package/dist/treedx/accounts/auth.js +0 -48
  331. package/dist/treedx/client/accounts/contracts/auth-mode.d.ts +0 -3
  332. package/dist/treedx/client/accounts/contracts/auth-mode.js +0 -6
  333. package/dist/treedx/client/build/creation/build-context.d.ts +0 -3
  334. package/dist/treedx/client/build/creation/build-context.js +0 -7
  335. package/dist/treedx/client/build/creation/build-snapshot.d.ts +0 -3
  336. package/dist/treedx/client/build/creation/build-snapshot.js +0 -8
  337. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.d.ts +0 -3
  338. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.js +0 -7
  339. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.d.ts +0 -6
  340. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.js +0 -10
  341. package/dist/treedx/client/methods.d.ts +0 -102
  342. package/dist/treedx/client/methods.js +0 -209
  343. package/dist/treedx/client/persistence/contracts/restore-storage.d.ts +0 -3
  344. package/dist/treedx/client/persistence/contracts/restore-storage.js +0 -6
  345. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.d.ts +0 -3
  346. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.js +0 -6
  347. package/dist/treedx/client/repositories/creation/register-repository.d.ts +0 -3
  348. package/dist/treedx/client/repositories/creation/register-repository.js +0 -7
  349. package/dist/treedx/client/repositories/queries/get-repository.d.ts +0 -3
  350. package/dist/treedx/client/repositories/queries/get-repository.js +0 -7
  351. package/dist/treedx/client/repositories/queries/list-repository-paths.d.ts +0 -3
  352. package/dist/treedx/client/repositories/queries/list-repository-paths.js +0 -7
  353. package/dist/treedx/client/repositories/queries/list-repository-refs.d.ts +0 -3
  354. package/dist/treedx/client/repositories/queries/list-repository-refs.js +0 -12
  355. package/dist/treedx/client/repositories/queries/query-repository.d.ts +0 -3
  356. package/dist/treedx/client/repositories/queries/query-repository.js +0 -7
  357. package/dist/treedx/client/repositories/queries/read-repository-file.d.ts +0 -3
  358. package/dist/treedx/client/repositories/queries/read-repository-file.js +0 -6
  359. package/dist/treedx/client/repositories/queries/read-repository-files.d.ts +0 -3
  360. package/dist/treedx/client/repositories/queries/read-repository-files.js +0 -7
  361. package/dist/treedx/client/repositories/queries/search-repository-files.d.ts +0 -3
  362. package/dist/treedx/client/repositories/queries/search-repository-files.js +0 -7
  363. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.d.ts +0 -3
  364. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.js +0 -9
  365. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.d.ts +0 -3
  366. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.js +0 -6
  367. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.d.ts +0 -3
  368. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.js +0 -7
  369. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.d.ts +0 -5
  370. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.js +0 -7
  371. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.d.ts +0 -3
  372. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.js +0 -6
  373. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.d.ts +0 -3
  374. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.js +0 -7
  375. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.d.ts +0 -2
  376. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.js +0 -19
  377. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.d.ts +0 -3
  378. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.js +0 -7
  379. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.d.ts +0 -3
  380. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.js +0 -6
  381. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.d.ts +0 -3
  382. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.js +0 -7
  383. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.d.ts +0 -3
  384. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.js +0 -6
  385. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.d.ts +0 -3
  386. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.js +0 -7
  387. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.d.ts +0 -6
  388. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.js +0 -23
  389. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.d.ts +0 -3
  390. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.js +0 -8
  391. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.d.ts +0 -3
  392. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.js +0 -7
  393. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.d.ts +0 -3
  394. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.js +0 -8
  395. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.d.ts +0 -3
  396. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.js +0 -8
  397. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.d.ts +0 -2
  398. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.js +0 -15
  399. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.d.ts +0 -2
  400. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.js +0 -38
  401. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.d.ts +0 -2
  402. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.js +0 -15
  403. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.d.ts +0 -2
  404. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.js +0 -15
  405. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.d.ts +0 -2
  406. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.js +0 -14
  407. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.d.ts +0 -2
  408. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.js +0 -14
  409. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.d.ts +0 -6
  410. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.js +0 -41
  411. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.d.ts +0 -2
  412. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.js +0 -14
  413. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.d.ts +0 -3
  414. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.js +0 -7
  415. package/dist/treedx/client/support/creation/apply-changeset.d.ts +0 -3
  416. package/dist/treedx/client/support/creation/apply-changeset.js +0 -10
  417. package/dist/treedx/client/support/creation/apply-storage-migration.d.ts +0 -3
  418. package/dist/treedx/client/support/creation/apply-storage-migration.js +0 -7
  419. package/dist/treedx/client/support/creation/create-migration.d.ts +0 -6
  420. package/dist/treedx/client/support/creation/create-migration.js +0 -7
  421. package/dist/treedx/client/support/creation/export-artifact.d.ts +0 -3
  422. package/dist/treedx/client/support/creation/export-artifact.js +0 -8
  423. package/dist/treedx/client/support/creation/plan-storage-migration.d.ts +0 -3
  424. package/dist/treedx/client/support/creation/plan-storage-migration.js +0 -7
  425. package/dist/treedx/client/support/creation/request-binary.d.ts +0 -6
  426. package/dist/treedx/client/support/creation/request-binary.js +0 -42
  427. package/dist/treedx/client/support/creation/write-file.d.ts +0 -3
  428. package/dist/treedx/client/support/creation/write-file.js +0 -10
  429. package/dist/treedx/client/support/creation/write-files.d.ts +0 -3
  430. package/dist/treedx/client/support/creation/write-files.js +0 -12
  431. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.d.ts +0 -3
  432. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.js +0 -7
  433. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.d.ts +0 -3
  434. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.js +0 -7
  435. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.d.ts +0 -3
  436. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.js +0 -9
  437. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.d.ts +0 -4
  438. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.js +0 -6
  439. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.d.ts +0 -3
  440. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.js +0 -7
  441. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.d.ts +0 -3
  442. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.js +0 -7
  443. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.d.ts +0 -3
  444. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.js +0 -7
  445. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.d.ts +0 -3
  446. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.js +0 -7
  447. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.d.ts +0 -3
  448. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.js +0 -10
  449. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.d.ts +0 -3
  450. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.js +0 -9
  451. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.d.ts +0 -3
  452. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.js +0 -7
  453. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.d.ts +0 -6
  454. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.js +0 -7
  455. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.d.ts +0 -6
  456. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.js +0 -7
  457. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.d.ts +0 -6
  458. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.js +0 -6
  459. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.d.ts +0 -15
  460. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.js +0 -6
  461. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.d.ts +0 -3
  462. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.js +0 -7
  463. package/dist/treedx/client/support/retirement/cleanup-artifacts.d.ts +0 -3
  464. package/dist/treedx/client/support/retirement/cleanup-artifacts.js +0 -7
  465. package/dist/treedx/client/support/retirement/delete-artifact.d.ts +0 -3
  466. package/dist/treedx/client/support/retirement/delete-artifact.js +0 -7
  467. package/dist/treedx/client/support/retirement/delete-file.d.ts +0 -3
  468. package/dist/treedx/client/support/retirement/delete-file.js +0 -10
  469. package/dist/treedx/client/support/retirement/rollback-storage-migration.d.ts +0 -3
  470. package/dist/treedx/client/support/retirement/rollback-storage-migration.js +0 -7
  471. package/dist/treedx/client/support/updates/patch-file.d.ts +0 -3
  472. package/dist/treedx/client/support/updates/patch-file.js +0 -10
  473. package/dist/treedx/client/support/updates/refresh-search-index.d.ts +0 -3
  474. package/dist/treedx/client/support/updates/refresh-search-index.js +0 -8
  475. package/dist/treedx/client/treedx/blobs/contracts/download-blob.d.ts +0 -3
  476. package/dist/treedx/client/treedx/blobs/contracts/download-blob.js +0 -6
  477. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.d.ts +0 -3
  478. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.js +0 -8
  479. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.d.ts +0 -3
  480. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.js +0 -27
  481. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.d.ts +0 -3
  482. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.js +0 -41
  483. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.d.ts +0 -3
  484. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.js +0 -27
  485. package/dist/treedx/client/treedx/blobs/creation/upload-blob.d.ts +0 -3
  486. package/dist/treedx/client/treedx/blobs/creation/upload-blob.js +0 -6
  487. package/dist/treedx/client/treedx/blobs/creation/write-blob.d.ts +0 -3
  488. package/dist/treedx/client/treedx/blobs/creation/write-blob.js +0 -8
  489. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.d.ts +0 -3
  490. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.js +0 -8
  491. package/dist/treedx/client/treedx/blobs/queries/read-blob.d.ts +0 -3
  492. package/dist/treedx/client/treedx/blobs/queries/read-blob.js +0 -10
  493. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.d.ts +0 -3
  494. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.js +0 -7
  495. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.d.ts +0 -3
  496. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.js +0 -8
  497. package/dist/treedx/client/treedx/federation/contracts/federated-query.d.ts +0 -3
  498. package/dist/treedx/client/treedx/federation/contracts/federated-query.js +0 -7
  499. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.d.ts +0 -3
  500. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.js +0 -6
  501. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.d.ts +0 -3
  502. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.js +0 -7
  503. package/dist/treedx/client/treedx/federation/updates/promote-mirror.d.ts +0 -3
  504. package/dist/treedx/client/treedx/federation/updates/promote-mirror.js +0 -7
  505. package/dist/treedx/client/treedx/federation/updates/sync-mirror.d.ts +0 -3
  506. package/dist/treedx/client/treedx/federation/updates/sync-mirror.js +0 -7
  507. package/dist/treedx/client/treedx/graph/contracts/federated-context.d.ts +0 -3
  508. package/dist/treedx/client/treedx/graph/contracts/federated-context.js +0 -7
  509. package/dist/treedx/client/treedx/graph/contracts/federated-graph.d.ts +0 -3
  510. package/dist/treedx/client/treedx/graph/contracts/federated-graph.js +0 -7
  511. package/dist/treedx/client/treedx/graph/contracts/graph-search.d.ts +0 -3
  512. package/dist/treedx/client/treedx/graph/contracts/graph-search.js +0 -8
  513. package/dist/treedx/client/treedx/graph/queries/get-graph-node.d.ts +0 -3
  514. package/dist/treedx/client/treedx/graph/queries/get-graph-node.js +0 -10
  515. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.d.ts +0 -3
  516. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.js +0 -7
  517. package/dist/treedx/client/treedx/graph/queries/get-subgraph.d.ts +0 -3
  518. package/dist/treedx/client/treedx/graph/queries/get-subgraph.js +0 -7
  519. package/dist/treedx/client/treedx/graph/queries/query-graph.d.ts +0 -3
  520. package/dist/treedx/client/treedx/graph/queries/query-graph.js +0 -7
  521. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.d.ts +0 -3
  522. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.js +0 -6
  523. package/dist/treedx/client/treedx/graph/queries/search-graph-files.d.ts +0 -3
  524. package/dist/treedx/client/treedx/graph/queries/search-graph-files.js +0 -6
  525. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.d.ts +0 -3
  526. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.js +0 -6
  527. package/dist/treedx/client/treedx/graph/updates/refresh-graph.d.ts +0 -3
  528. package/dist/treedx/client/treedx/graph/updates/refresh-graph.js +0 -7
  529. package/dist/treedx/client/treedx/search/contracts/federated-search.d.ts +0 -3
  530. package/dist/treedx/client/treedx/search/contracts/federated-search.js +0 -7
  531. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.d.ts +0 -3
  532. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.js +0 -7
  533. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.d.ts +0 -3
  534. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.js +0 -12
  535. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.d.ts +0 -2
  536. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.js +0 -6
  537. package/dist/treedx/generated/openapi-types.d.ts +0 -3662
  538. package/dist/treedx/generated/openapi-types.js +0 -0
  539. package/dist/treedx/support/client.d.ts +0 -251
  540. package/dist/treedx/support/client.js +0 -252
  541. package/dist/treedx/support/errors.d.ts +0 -13
  542. package/dist/treedx/support/errors.js +0 -17
  543. package/dist/treedx/types/tree-dx-actor.d.ts +0 -209
  544. package/dist/treedx/types/tree-dx-actor.js +0 -8
  545. package/dist/treedx/types/tree-dx-artifact-list-response.d.ts +0 -13
  546. package/dist/treedx/types/tree-dx-artifact-list-response.js +0 -0
  547. package/dist/treedx/types/tree-dx-changeset.d.ts +0 -51
  548. package/dist/treedx/types/tree-dx-changeset.js +0 -6
  549. package/dist/treedx/types/tree-dx-context-request.d.ts +0 -245
  550. package/dist/treedx/types/tree-dx-context-request.js +0 -0
  551. package/dist/treedx/types/tree-dx-exec-result.d.ts +0 -249
  552. package/dist/treedx/types/tree-dx-exec-result.js +0 -0
  553. package/dist/treedx/types/tree-dx-list-tree-request.d.ts +0 -222
  554. package/dist/treedx/types/tree-dx-list-tree-request.js +0 -0
  555. package/dist/treedx/types/tree-dx-push-request.d.ts +0 -229
  556. package/dist/treedx/types/tree-dx-push-request.js +0 -0
  557. /package/dist/{agent-capacity/contracts/operations/workflow-promotion.js → site-contracts/cloudflare.js} +0 -0
  558. /package/dist/{agent-capacity/contracts/support/decision-work.js → site-contracts/platform.js} +0 -0
@@ -0,0 +1,1966 @@
1
+ import { z } from 'zod';
2
+ export declare const communicationRecipientSchema: z.ZodObject<{
3
+ projectId: z.ZodString;
4
+ agentSlug: z.ZodString;
5
+ }, "strict", z.ZodTypeAny, {
6
+ agentSlug: string;
7
+ projectId: string;
8
+ }, {
9
+ agentSlug: string;
10
+ projectId: string;
11
+ }>;
12
+ export declare const communicationSendRequestSchema: z.ZodObject<{
13
+ message: z.ZodString;
14
+ recipients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
+ proposalId: z.ZodOptional<z.ZodString>;
16
+ parentWorkdayId: z.ZodOptional<z.ZodString>;
17
+ timeoutSeconds: z.ZodOptional<z.ZodNumber>;
18
+ }, "strict", z.ZodTypeAny, {
19
+ message: string;
20
+ parentWorkdayId?: string | undefined;
21
+ timeoutSeconds?: number | undefined;
22
+ recipients?: string[] | undefined;
23
+ proposalId?: string | undefined;
24
+ }, {
25
+ message: string;
26
+ parentWorkdayId?: string | undefined;
27
+ timeoutSeconds?: number | undefined;
28
+ recipients?: string[] | undefined;
29
+ proposalId?: string | undefined;
30
+ }>;
31
+ export declare const communicationTopicEventTypeSchema: z.ZodEnum<["message.posted", "mention.acknowledged", "response_lease.accepted", "agent.progress", "agent.response", "agent.abstained", "agent.failed"]>;
32
+ export declare const communicationTopicEventSchema: z.ZodObject<{
33
+ id: z.ZodString;
34
+ sequence: z.ZodNumber;
35
+ teamId: z.ZodString;
36
+ topicId: z.ZodString;
37
+ channel: z.ZodString;
38
+ type: z.ZodEnum<["message.posted", "mention.acknowledged", "response_lease.accepted", "agent.progress", "agent.response", "agent.abstained", "agent.failed"]>;
39
+ occurredAt: z.ZodString;
40
+ sendId: z.ZodNullable<z.ZodString>;
41
+ invocationId: z.ZodNullable<z.ZodString>;
42
+ assignmentId: z.ZodNullable<z.ZodString>;
43
+ actor: z.ZodObject<{
44
+ kind: z.ZodEnum<["user", "agent", "provider", "control-plane"]>;
45
+ id: z.ZodString;
46
+ handle: z.ZodNullable<z.ZodString>;
47
+ }, "strict", z.ZodTypeAny, {
48
+ kind: "provider" | "agent" | "user" | "control-plane";
49
+ id: string;
50
+ handle: string | null;
51
+ }, {
52
+ kind: "provider" | "agent" | "user" | "control-plane";
53
+ id: string;
54
+ handle: string | null;
55
+ }>;
56
+ summary: z.ZodString;
57
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
58
+ }, "strict", z.ZodTypeAny, {
59
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
60
+ actor: {
61
+ kind: "provider" | "agent" | "user" | "control-plane";
62
+ id: string;
63
+ handle: string | null;
64
+ };
65
+ id: string;
66
+ summary: string;
67
+ assignmentId: string | null;
68
+ teamId: string;
69
+ sequence: number;
70
+ topicId: string;
71
+ sendId: string | null;
72
+ invocationId: string | null;
73
+ payload: Record<string, unknown>;
74
+ channel: string;
75
+ occurredAt: string;
76
+ }, {
77
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
78
+ actor: {
79
+ kind: "provider" | "agent" | "user" | "control-plane";
80
+ id: string;
81
+ handle: string | null;
82
+ };
83
+ id: string;
84
+ summary: string;
85
+ assignmentId: string | null;
86
+ teamId: string;
87
+ sequence: number;
88
+ topicId: string;
89
+ sendId: string | null;
90
+ invocationId: string | null;
91
+ payload: Record<string, unknown>;
92
+ channel: string;
93
+ occurredAt: string;
94
+ }>;
95
+ export declare const communicationDiagnosticSchema: z.ZodObject<{
96
+ availability: z.ZodEnum<["available", "partial", "unavailable"]>;
97
+ reason: z.ZodNullable<z.ZodString>;
98
+ provider: z.ZodObject<{
99
+ providerId: z.ZodNullable<z.ZodString>;
100
+ executionProviderId: z.ZodNullable<z.ZodString>;
101
+ runtimeVersion: z.ZodNullable<z.ZodString>;
102
+ }, "strict", z.ZodTypeAny, {
103
+ providerId: string | null;
104
+ executionProviderId: string | null;
105
+ runtimeVersion: string | null;
106
+ }, {
107
+ providerId: string | null;
108
+ executionProviderId: string | null;
109
+ runtimeVersion: string | null;
110
+ }>;
111
+ selection: z.ZodObject<{
112
+ model: z.ZodNullable<z.ZodString>;
113
+ capabilities: z.ZodArray<z.ZodString, "many">;
114
+ parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
115
+ }, "strict", z.ZodTypeAny, {
116
+ capabilities: string[];
117
+ model: string | null;
118
+ parameters: Record<string, unknown>;
119
+ }, {
120
+ capabilities: string[];
121
+ model: string | null;
122
+ parameters: Record<string, unknown>;
123
+ }>;
124
+ identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
125
+ contextManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
126
+ usage: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
127
+ timing: z.ZodRecord<z.ZodString, z.ZodUnknown>;
128
+ resources: z.ZodRecord<z.ZodString, z.ZodUnknown>;
129
+ traceEvents: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
130
+ fullPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
131
+ }, "strict", z.ZodTypeAny, {
132
+ provider: {
133
+ providerId: string | null;
134
+ executionProviderId: string | null;
135
+ runtimeVersion: string | null;
136
+ };
137
+ usage: Record<string, unknown>[];
138
+ resources: Record<string, unknown>;
139
+ selection: {
140
+ capabilities: string[];
141
+ model: string | null;
142
+ parameters: Record<string, unknown>;
143
+ };
144
+ reason: string | null;
145
+ availability: "partial" | "unavailable" | "available";
146
+ identityManifest: Record<string, unknown>;
147
+ contextManifest: Record<string, unknown>[];
148
+ timing: Record<string, unknown>;
149
+ traceEvents: Record<string, unknown>[];
150
+ fullPayload?: Record<string, unknown> | undefined;
151
+ }, {
152
+ provider: {
153
+ providerId: string | null;
154
+ executionProviderId: string | null;
155
+ runtimeVersion: string | null;
156
+ };
157
+ usage: Record<string, unknown>[];
158
+ resources: Record<string, unknown>;
159
+ selection: {
160
+ capabilities: string[];
161
+ model: string | null;
162
+ parameters: Record<string, unknown>;
163
+ };
164
+ reason: string | null;
165
+ availability: "partial" | "unavailable" | "available";
166
+ identityManifest: Record<string, unknown>;
167
+ contextManifest: Record<string, unknown>[];
168
+ timing: Record<string, unknown>;
169
+ traceEvents: Record<string, unknown>[];
170
+ fullPayload?: Record<string, unknown> | undefined;
171
+ }>;
172
+ export declare const communicationTargetSchema: z.ZodObject<{
173
+ projectId: z.ZodString;
174
+ agentSlug: z.ZodString;
175
+ } & {
176
+ projectSlug: z.ZodString;
177
+ definitionRevision: z.ZodString;
178
+ revisions: z.ZodObject<{
179
+ project: z.ZodString;
180
+ library: z.ZodString;
181
+ agentDefinition: z.ZodString;
182
+ chatProfile: z.ZodString;
183
+ }, "strict", z.ZodTypeAny, {
184
+ project: string;
185
+ library: string;
186
+ agentDefinition: string;
187
+ chatProfile: string;
188
+ }, {
189
+ project: string;
190
+ library: string;
191
+ agentDefinition: string;
192
+ chatProfile: string;
193
+ }>;
194
+ invocationId: z.ZodNullable<z.ZodString>;
195
+ requirement: z.ZodEnum<["required", "optional"]>;
196
+ parentInvocationId: z.ZodNullable<z.ZodString>;
197
+ depth: z.ZodNumber;
198
+ status: z.ZodEnum<["queued", "running", "responded", "abstained", "failed", "cancelled"]>;
199
+ requestedAt: z.ZodString;
200
+ updatedAt: z.ZodString;
201
+ completedAt: z.ZodNullable<z.ZodString>;
202
+ failure: z.ZodNullable<z.ZodObject<{
203
+ code: z.ZodString;
204
+ message: z.ZodNullable<z.ZodString>;
205
+ }, "strict", z.ZodTypeAny, {
206
+ code: string;
207
+ message: string | null;
208
+ }, {
209
+ code: string;
210
+ message: string | null;
211
+ }>>;
212
+ capacity: z.ZodObject<{
213
+ assignmentId: z.ZodNullable<z.ZodString>;
214
+ providerId: z.ZodNullable<z.ZodString>;
215
+ executionProviderId: z.ZodNullable<z.ZodString>;
216
+ laneId: z.ZodNullable<z.ZodString>;
217
+ lanePurpose: z.ZodNullable<z.ZodString>;
218
+ status: z.ZodNullable<z.ZodString>;
219
+ assignedAt: z.ZodNullable<z.ZodString>;
220
+ claimedAt: z.ZodNullable<z.ZodString>;
221
+ completedAt: z.ZodNullable<z.ZodString>;
222
+ returnedAt: z.ZodNullable<z.ZodString>;
223
+ failedAt: z.ZodNullable<z.ZodString>;
224
+ }, "strict", z.ZodTypeAny, {
225
+ status: string | null;
226
+ claimedAt: string | null;
227
+ assignmentId: string | null;
228
+ providerId: string | null;
229
+ executionProviderId: string | null;
230
+ completedAt: string | null;
231
+ laneId: string | null;
232
+ lanePurpose: string | null;
233
+ assignedAt: string | null;
234
+ returnedAt: string | null;
235
+ failedAt: string | null;
236
+ }, {
237
+ status: string | null;
238
+ claimedAt: string | null;
239
+ assignmentId: string | null;
240
+ providerId: string | null;
241
+ executionProviderId: string | null;
242
+ completedAt: string | null;
243
+ laneId: string | null;
244
+ lanePurpose: string | null;
245
+ assignedAt: string | null;
246
+ returnedAt: string | null;
247
+ failedAt: string | null;
248
+ }>;
249
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
250
+ leaseAcceptedAt: z.ZodNullable<z.ZodString>;
251
+ diagnostics: z.ZodObject<{
252
+ availability: z.ZodEnum<["available", "partial", "unavailable"]>;
253
+ reason: z.ZodNullable<z.ZodString>;
254
+ provider: z.ZodObject<{
255
+ providerId: z.ZodNullable<z.ZodString>;
256
+ executionProviderId: z.ZodNullable<z.ZodString>;
257
+ runtimeVersion: z.ZodNullable<z.ZodString>;
258
+ }, "strict", z.ZodTypeAny, {
259
+ providerId: string | null;
260
+ executionProviderId: string | null;
261
+ runtimeVersion: string | null;
262
+ }, {
263
+ providerId: string | null;
264
+ executionProviderId: string | null;
265
+ runtimeVersion: string | null;
266
+ }>;
267
+ selection: z.ZodObject<{
268
+ model: z.ZodNullable<z.ZodString>;
269
+ capabilities: z.ZodArray<z.ZodString, "many">;
270
+ parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
271
+ }, "strict", z.ZodTypeAny, {
272
+ capabilities: string[];
273
+ model: string | null;
274
+ parameters: Record<string, unknown>;
275
+ }, {
276
+ capabilities: string[];
277
+ model: string | null;
278
+ parameters: Record<string, unknown>;
279
+ }>;
280
+ identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
281
+ contextManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
282
+ usage: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
283
+ timing: z.ZodRecord<z.ZodString, z.ZodUnknown>;
284
+ resources: z.ZodRecord<z.ZodString, z.ZodUnknown>;
285
+ traceEvents: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
286
+ fullPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
287
+ }, "strict", z.ZodTypeAny, {
288
+ provider: {
289
+ providerId: string | null;
290
+ executionProviderId: string | null;
291
+ runtimeVersion: string | null;
292
+ };
293
+ usage: Record<string, unknown>[];
294
+ resources: Record<string, unknown>;
295
+ selection: {
296
+ capabilities: string[];
297
+ model: string | null;
298
+ parameters: Record<string, unknown>;
299
+ };
300
+ reason: string | null;
301
+ availability: "partial" | "unavailable" | "available";
302
+ identityManifest: Record<string, unknown>;
303
+ contextManifest: Record<string, unknown>[];
304
+ timing: Record<string, unknown>;
305
+ traceEvents: Record<string, unknown>[];
306
+ fullPayload?: Record<string, unknown> | undefined;
307
+ }, {
308
+ provider: {
309
+ providerId: string | null;
310
+ executionProviderId: string | null;
311
+ runtimeVersion: string | null;
312
+ };
313
+ usage: Record<string, unknown>[];
314
+ resources: Record<string, unknown>;
315
+ selection: {
316
+ capabilities: string[];
317
+ model: string | null;
318
+ parameters: Record<string, unknown>;
319
+ };
320
+ reason: string | null;
321
+ availability: "partial" | "unavailable" | "available";
322
+ identityManifest: Record<string, unknown>;
323
+ contextManifest: Record<string, unknown>[];
324
+ timing: Record<string, unknown>;
325
+ traceEvents: Record<string, unknown>[];
326
+ fullPayload?: Record<string, unknown> | undefined;
327
+ }>;
328
+ }, "strict", z.ZodTypeAny, {
329
+ status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
330
+ updatedAt: string;
331
+ agentSlug: string;
332
+ projectId: string;
333
+ requirement: "required" | "optional";
334
+ depth: number;
335
+ diagnostics: {
336
+ provider: {
337
+ providerId: string | null;
338
+ executionProviderId: string | null;
339
+ runtimeVersion: string | null;
340
+ };
341
+ usage: Record<string, unknown>[];
342
+ resources: Record<string, unknown>;
343
+ selection: {
344
+ capabilities: string[];
345
+ model: string | null;
346
+ parameters: Record<string, unknown>;
347
+ };
348
+ reason: string | null;
349
+ availability: "partial" | "unavailable" | "available";
350
+ identityManifest: Record<string, unknown>;
351
+ contextManifest: Record<string, unknown>[];
352
+ timing: Record<string, unknown>;
353
+ traceEvents: Record<string, unknown>[];
354
+ fullPayload?: Record<string, unknown> | undefined;
355
+ };
356
+ completedAt: string | null;
357
+ invocationId: string | null;
358
+ capacity: {
359
+ status: string | null;
360
+ claimedAt: string | null;
361
+ assignmentId: string | null;
362
+ providerId: string | null;
363
+ executionProviderId: string | null;
364
+ completedAt: string | null;
365
+ laneId: string | null;
366
+ lanePurpose: string | null;
367
+ assignedAt: string | null;
368
+ returnedAt: string | null;
369
+ failedAt: string | null;
370
+ };
371
+ projectSlug: string;
372
+ definitionRevision: string;
373
+ revisions: {
374
+ project: string;
375
+ library: string;
376
+ agentDefinition: string;
377
+ chatProfile: string;
378
+ };
379
+ parentInvocationId: string | null;
380
+ requestedAt: string;
381
+ failure: {
382
+ code: string;
383
+ message: string | null;
384
+ } | null;
385
+ acknowledgedAt: string | null;
386
+ leaseAcceptedAt: string | null;
387
+ }, {
388
+ status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
389
+ updatedAt: string;
390
+ agentSlug: string;
391
+ projectId: string;
392
+ requirement: "required" | "optional";
393
+ depth: number;
394
+ diagnostics: {
395
+ provider: {
396
+ providerId: string | null;
397
+ executionProviderId: string | null;
398
+ runtimeVersion: string | null;
399
+ };
400
+ usage: Record<string, unknown>[];
401
+ resources: Record<string, unknown>;
402
+ selection: {
403
+ capabilities: string[];
404
+ model: string | null;
405
+ parameters: Record<string, unknown>;
406
+ };
407
+ reason: string | null;
408
+ availability: "partial" | "unavailable" | "available";
409
+ identityManifest: Record<string, unknown>;
410
+ contextManifest: Record<string, unknown>[];
411
+ timing: Record<string, unknown>;
412
+ traceEvents: Record<string, unknown>[];
413
+ fullPayload?: Record<string, unknown> | undefined;
414
+ };
415
+ completedAt: string | null;
416
+ invocationId: string | null;
417
+ capacity: {
418
+ status: string | null;
419
+ claimedAt: string | null;
420
+ assignmentId: string | null;
421
+ providerId: string | null;
422
+ executionProviderId: string | null;
423
+ completedAt: string | null;
424
+ laneId: string | null;
425
+ lanePurpose: string | null;
426
+ assignedAt: string | null;
427
+ returnedAt: string | null;
428
+ failedAt: string | null;
429
+ };
430
+ projectSlug: string;
431
+ definitionRevision: string;
432
+ revisions: {
433
+ project: string;
434
+ library: string;
435
+ agentDefinition: string;
436
+ chatProfile: string;
437
+ };
438
+ parentInvocationId: string | null;
439
+ requestedAt: string;
440
+ failure: {
441
+ code: string;
442
+ message: string | null;
443
+ } | null;
444
+ acknowledgedAt: string | null;
445
+ leaseAcceptedAt: string | null;
446
+ }>;
447
+ export declare const communicationResponseSchema: z.ZodObject<{
448
+ projectId: z.ZodString;
449
+ agentSlug: z.ZodString;
450
+ } & {
451
+ projectSlug: z.ZodString;
452
+ invocationId: z.ZodString;
453
+ assignmentId: z.ZodNullable<z.ZodString>;
454
+ messageRef: z.ZodString;
455
+ markdown: z.ZodString;
456
+ requirement: z.ZodEnum<["required", "optional"]>;
457
+ status: z.ZodEnum<["responded", "abstained", "failed", "cancelled"]>;
458
+ createdAt: z.ZodString;
459
+ }, "strict", z.ZodTypeAny, {
460
+ status: "failed" | "cancelled" | "responded" | "abstained";
461
+ createdAt: string;
462
+ agentSlug: string;
463
+ assignmentId: string | null;
464
+ projectId: string;
465
+ requirement: "required" | "optional";
466
+ invocationId: string;
467
+ projectSlug: string;
468
+ messageRef: string;
469
+ markdown: string;
470
+ }, {
471
+ status: "failed" | "cancelled" | "responded" | "abstained";
472
+ createdAt: string;
473
+ agentSlug: string;
474
+ assignmentId: string | null;
475
+ projectId: string;
476
+ requirement: "required" | "optional";
477
+ invocationId: string;
478
+ projectSlug: string;
479
+ messageRef: string;
480
+ markdown: string;
481
+ }>;
482
+ export declare const communicationSendReceiptSchema: z.ZodObject<{
483
+ schemaVersion: z.ZodLiteral<"treeseed.communication-send-receipt/v4">;
484
+ sendId: z.ZodString;
485
+ teamId: z.ZodString;
486
+ channel: z.ZodString;
487
+ topic: z.ZodObject<{
488
+ id: z.ZodString;
489
+ slug: z.ZodString;
490
+ }, "strict", z.ZodTypeAny, {
491
+ id: string;
492
+ slug: string;
493
+ }, {
494
+ id: string;
495
+ slug: string;
496
+ }>;
497
+ projectStreams: z.ZodArray<z.ZodObject<{
498
+ id: z.ZodString;
499
+ projectId: z.ZodString;
500
+ projectSlug: z.ZodString;
501
+ discussionId: z.ZodString;
502
+ messageRef: z.ZodString;
503
+ }, "strict", z.ZodTypeAny, {
504
+ id: string;
505
+ projectId: string;
506
+ discussionId: string;
507
+ projectSlug: string;
508
+ messageRef: string;
509
+ }, {
510
+ id: string;
511
+ projectId: string;
512
+ discussionId: string;
513
+ projectSlug: string;
514
+ messageRef: string;
515
+ }>, "many">;
516
+ status: z.ZodEnum<["queued", "running", "complete", "partial", "failed"]>;
517
+ targets: z.ZodArray<z.ZodObject<{
518
+ projectId: z.ZodString;
519
+ agentSlug: z.ZodString;
520
+ } & {
521
+ projectSlug: z.ZodString;
522
+ definitionRevision: z.ZodString;
523
+ revisions: z.ZodObject<{
524
+ project: z.ZodString;
525
+ library: z.ZodString;
526
+ agentDefinition: z.ZodString;
527
+ chatProfile: z.ZodString;
528
+ }, "strict", z.ZodTypeAny, {
529
+ project: string;
530
+ library: string;
531
+ agentDefinition: string;
532
+ chatProfile: string;
533
+ }, {
534
+ project: string;
535
+ library: string;
536
+ agentDefinition: string;
537
+ chatProfile: string;
538
+ }>;
539
+ invocationId: z.ZodNullable<z.ZodString>;
540
+ requirement: z.ZodEnum<["required", "optional"]>;
541
+ parentInvocationId: z.ZodNullable<z.ZodString>;
542
+ depth: z.ZodNumber;
543
+ status: z.ZodEnum<["queued", "running", "responded", "abstained", "failed", "cancelled"]>;
544
+ requestedAt: z.ZodString;
545
+ updatedAt: z.ZodString;
546
+ completedAt: z.ZodNullable<z.ZodString>;
547
+ failure: z.ZodNullable<z.ZodObject<{
548
+ code: z.ZodString;
549
+ message: z.ZodNullable<z.ZodString>;
550
+ }, "strict", z.ZodTypeAny, {
551
+ code: string;
552
+ message: string | null;
553
+ }, {
554
+ code: string;
555
+ message: string | null;
556
+ }>>;
557
+ capacity: z.ZodObject<{
558
+ assignmentId: z.ZodNullable<z.ZodString>;
559
+ providerId: z.ZodNullable<z.ZodString>;
560
+ executionProviderId: z.ZodNullable<z.ZodString>;
561
+ laneId: z.ZodNullable<z.ZodString>;
562
+ lanePurpose: z.ZodNullable<z.ZodString>;
563
+ status: z.ZodNullable<z.ZodString>;
564
+ assignedAt: z.ZodNullable<z.ZodString>;
565
+ claimedAt: z.ZodNullable<z.ZodString>;
566
+ completedAt: z.ZodNullable<z.ZodString>;
567
+ returnedAt: z.ZodNullable<z.ZodString>;
568
+ failedAt: z.ZodNullable<z.ZodString>;
569
+ }, "strict", z.ZodTypeAny, {
570
+ status: string | null;
571
+ claimedAt: string | null;
572
+ assignmentId: string | null;
573
+ providerId: string | null;
574
+ executionProviderId: string | null;
575
+ completedAt: string | null;
576
+ laneId: string | null;
577
+ lanePurpose: string | null;
578
+ assignedAt: string | null;
579
+ returnedAt: string | null;
580
+ failedAt: string | null;
581
+ }, {
582
+ status: string | null;
583
+ claimedAt: string | null;
584
+ assignmentId: string | null;
585
+ providerId: string | null;
586
+ executionProviderId: string | null;
587
+ completedAt: string | null;
588
+ laneId: string | null;
589
+ lanePurpose: string | null;
590
+ assignedAt: string | null;
591
+ returnedAt: string | null;
592
+ failedAt: string | null;
593
+ }>;
594
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
595
+ leaseAcceptedAt: z.ZodNullable<z.ZodString>;
596
+ diagnostics: z.ZodObject<{
597
+ availability: z.ZodEnum<["available", "partial", "unavailable"]>;
598
+ reason: z.ZodNullable<z.ZodString>;
599
+ provider: z.ZodObject<{
600
+ providerId: z.ZodNullable<z.ZodString>;
601
+ executionProviderId: z.ZodNullable<z.ZodString>;
602
+ runtimeVersion: z.ZodNullable<z.ZodString>;
603
+ }, "strict", z.ZodTypeAny, {
604
+ providerId: string | null;
605
+ executionProviderId: string | null;
606
+ runtimeVersion: string | null;
607
+ }, {
608
+ providerId: string | null;
609
+ executionProviderId: string | null;
610
+ runtimeVersion: string | null;
611
+ }>;
612
+ selection: z.ZodObject<{
613
+ model: z.ZodNullable<z.ZodString>;
614
+ capabilities: z.ZodArray<z.ZodString, "many">;
615
+ parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
616
+ }, "strict", z.ZodTypeAny, {
617
+ capabilities: string[];
618
+ model: string | null;
619
+ parameters: Record<string, unknown>;
620
+ }, {
621
+ capabilities: string[];
622
+ model: string | null;
623
+ parameters: Record<string, unknown>;
624
+ }>;
625
+ identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
626
+ contextManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
627
+ usage: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
628
+ timing: z.ZodRecord<z.ZodString, z.ZodUnknown>;
629
+ resources: z.ZodRecord<z.ZodString, z.ZodUnknown>;
630
+ traceEvents: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
631
+ fullPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
632
+ }, "strict", z.ZodTypeAny, {
633
+ provider: {
634
+ providerId: string | null;
635
+ executionProviderId: string | null;
636
+ runtimeVersion: string | null;
637
+ };
638
+ usage: Record<string, unknown>[];
639
+ resources: Record<string, unknown>;
640
+ selection: {
641
+ capabilities: string[];
642
+ model: string | null;
643
+ parameters: Record<string, unknown>;
644
+ };
645
+ reason: string | null;
646
+ availability: "partial" | "unavailable" | "available";
647
+ identityManifest: Record<string, unknown>;
648
+ contextManifest: Record<string, unknown>[];
649
+ timing: Record<string, unknown>;
650
+ traceEvents: Record<string, unknown>[];
651
+ fullPayload?: Record<string, unknown> | undefined;
652
+ }, {
653
+ provider: {
654
+ providerId: string | null;
655
+ executionProviderId: string | null;
656
+ runtimeVersion: string | null;
657
+ };
658
+ usage: Record<string, unknown>[];
659
+ resources: Record<string, unknown>;
660
+ selection: {
661
+ capabilities: string[];
662
+ model: string | null;
663
+ parameters: Record<string, unknown>;
664
+ };
665
+ reason: string | null;
666
+ availability: "partial" | "unavailable" | "available";
667
+ identityManifest: Record<string, unknown>;
668
+ contextManifest: Record<string, unknown>[];
669
+ timing: Record<string, unknown>;
670
+ traceEvents: Record<string, unknown>[];
671
+ fullPayload?: Record<string, unknown> | undefined;
672
+ }>;
673
+ }, "strict", z.ZodTypeAny, {
674
+ status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
675
+ updatedAt: string;
676
+ agentSlug: string;
677
+ projectId: string;
678
+ requirement: "required" | "optional";
679
+ depth: number;
680
+ diagnostics: {
681
+ provider: {
682
+ providerId: string | null;
683
+ executionProviderId: string | null;
684
+ runtimeVersion: string | null;
685
+ };
686
+ usage: Record<string, unknown>[];
687
+ resources: Record<string, unknown>;
688
+ selection: {
689
+ capabilities: string[];
690
+ model: string | null;
691
+ parameters: Record<string, unknown>;
692
+ };
693
+ reason: string | null;
694
+ availability: "partial" | "unavailable" | "available";
695
+ identityManifest: Record<string, unknown>;
696
+ contextManifest: Record<string, unknown>[];
697
+ timing: Record<string, unknown>;
698
+ traceEvents: Record<string, unknown>[];
699
+ fullPayload?: Record<string, unknown> | undefined;
700
+ };
701
+ completedAt: string | null;
702
+ invocationId: string | null;
703
+ capacity: {
704
+ status: string | null;
705
+ claimedAt: string | null;
706
+ assignmentId: string | null;
707
+ providerId: string | null;
708
+ executionProviderId: string | null;
709
+ completedAt: string | null;
710
+ laneId: string | null;
711
+ lanePurpose: string | null;
712
+ assignedAt: string | null;
713
+ returnedAt: string | null;
714
+ failedAt: string | null;
715
+ };
716
+ projectSlug: string;
717
+ definitionRevision: string;
718
+ revisions: {
719
+ project: string;
720
+ library: string;
721
+ agentDefinition: string;
722
+ chatProfile: string;
723
+ };
724
+ parentInvocationId: string | null;
725
+ requestedAt: string;
726
+ failure: {
727
+ code: string;
728
+ message: string | null;
729
+ } | null;
730
+ acknowledgedAt: string | null;
731
+ leaseAcceptedAt: string | null;
732
+ }, {
733
+ status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
734
+ updatedAt: string;
735
+ agentSlug: string;
736
+ projectId: string;
737
+ requirement: "required" | "optional";
738
+ depth: number;
739
+ diagnostics: {
740
+ provider: {
741
+ providerId: string | null;
742
+ executionProviderId: string | null;
743
+ runtimeVersion: string | null;
744
+ };
745
+ usage: Record<string, unknown>[];
746
+ resources: Record<string, unknown>;
747
+ selection: {
748
+ capabilities: string[];
749
+ model: string | null;
750
+ parameters: Record<string, unknown>;
751
+ };
752
+ reason: string | null;
753
+ availability: "partial" | "unavailable" | "available";
754
+ identityManifest: Record<string, unknown>;
755
+ contextManifest: Record<string, unknown>[];
756
+ timing: Record<string, unknown>;
757
+ traceEvents: Record<string, unknown>[];
758
+ fullPayload?: Record<string, unknown> | undefined;
759
+ };
760
+ completedAt: string | null;
761
+ invocationId: string | null;
762
+ capacity: {
763
+ status: string | null;
764
+ claimedAt: string | null;
765
+ assignmentId: string | null;
766
+ providerId: string | null;
767
+ executionProviderId: string | null;
768
+ completedAt: string | null;
769
+ laneId: string | null;
770
+ lanePurpose: string | null;
771
+ assignedAt: string | null;
772
+ returnedAt: string | null;
773
+ failedAt: string | null;
774
+ };
775
+ projectSlug: string;
776
+ definitionRevision: string;
777
+ revisions: {
778
+ project: string;
779
+ library: string;
780
+ agentDefinition: string;
781
+ chatProfile: string;
782
+ };
783
+ parentInvocationId: string | null;
784
+ requestedAt: string;
785
+ failure: {
786
+ code: string;
787
+ message: string | null;
788
+ } | null;
789
+ acknowledgedAt: string | null;
790
+ leaseAcceptedAt: string | null;
791
+ }>, "many">;
792
+ responses: z.ZodArray<z.ZodObject<{
793
+ projectId: z.ZodString;
794
+ agentSlug: z.ZodString;
795
+ } & {
796
+ projectSlug: z.ZodString;
797
+ invocationId: z.ZodString;
798
+ assignmentId: z.ZodNullable<z.ZodString>;
799
+ messageRef: z.ZodString;
800
+ markdown: z.ZodString;
801
+ requirement: z.ZodEnum<["required", "optional"]>;
802
+ status: z.ZodEnum<["responded", "abstained", "failed", "cancelled"]>;
803
+ createdAt: z.ZodString;
804
+ }, "strict", z.ZodTypeAny, {
805
+ status: "failed" | "cancelled" | "responded" | "abstained";
806
+ createdAt: string;
807
+ agentSlug: string;
808
+ assignmentId: string | null;
809
+ projectId: string;
810
+ requirement: "required" | "optional";
811
+ invocationId: string;
812
+ projectSlug: string;
813
+ messageRef: string;
814
+ markdown: string;
815
+ }, {
816
+ status: "failed" | "cancelled" | "responded" | "abstained";
817
+ createdAt: string;
818
+ agentSlug: string;
819
+ assignmentId: string | null;
820
+ projectId: string;
821
+ requirement: "required" | "optional";
822
+ invocationId: string;
823
+ projectSlug: string;
824
+ messageRef: string;
825
+ markdown: string;
826
+ }>, "many">;
827
+ events: z.ZodArray<z.ZodObject<{
828
+ id: z.ZodString;
829
+ sequence: z.ZodNumber;
830
+ teamId: z.ZodString;
831
+ topicId: z.ZodString;
832
+ channel: z.ZodString;
833
+ type: z.ZodEnum<["message.posted", "mention.acknowledged", "response_lease.accepted", "agent.progress", "agent.response", "agent.abstained", "agent.failed"]>;
834
+ occurredAt: z.ZodString;
835
+ sendId: z.ZodNullable<z.ZodString>;
836
+ invocationId: z.ZodNullable<z.ZodString>;
837
+ assignmentId: z.ZodNullable<z.ZodString>;
838
+ actor: z.ZodObject<{
839
+ kind: z.ZodEnum<["user", "agent", "provider", "control-plane"]>;
840
+ id: z.ZodString;
841
+ handle: z.ZodNullable<z.ZodString>;
842
+ }, "strict", z.ZodTypeAny, {
843
+ kind: "provider" | "agent" | "user" | "control-plane";
844
+ id: string;
845
+ handle: string | null;
846
+ }, {
847
+ kind: "provider" | "agent" | "user" | "control-plane";
848
+ id: string;
849
+ handle: string | null;
850
+ }>;
851
+ summary: z.ZodString;
852
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
853
+ }, "strict", z.ZodTypeAny, {
854
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
855
+ actor: {
856
+ kind: "provider" | "agent" | "user" | "control-plane";
857
+ id: string;
858
+ handle: string | null;
859
+ };
860
+ id: string;
861
+ summary: string;
862
+ assignmentId: string | null;
863
+ teamId: string;
864
+ sequence: number;
865
+ topicId: string;
866
+ sendId: string | null;
867
+ invocationId: string | null;
868
+ payload: Record<string, unknown>;
869
+ channel: string;
870
+ occurredAt: string;
871
+ }, {
872
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
873
+ actor: {
874
+ kind: "provider" | "agent" | "user" | "control-plane";
875
+ id: string;
876
+ handle: string | null;
877
+ };
878
+ id: string;
879
+ summary: string;
880
+ assignmentId: string | null;
881
+ teamId: string;
882
+ sequence: number;
883
+ topicId: string;
884
+ sendId: string | null;
885
+ invocationId: string | null;
886
+ payload: Record<string, unknown>;
887
+ channel: string;
888
+ occurredAt: string;
889
+ }>, "many">;
890
+ createdAt: z.ZodString;
891
+ updatedAt: z.ZodString;
892
+ replayed: z.ZodBoolean;
893
+ }, "strict", z.ZodTypeAny, {
894
+ status: "failed" | "running" | "partial" | "queued" | "complete";
895
+ schemaVersion: "treeseed.communication-send-receipt/v4";
896
+ createdAt: string;
897
+ updatedAt: string;
898
+ teamId: string;
899
+ responses: {
900
+ status: "failed" | "cancelled" | "responded" | "abstained";
901
+ createdAt: string;
902
+ agentSlug: string;
903
+ assignmentId: string | null;
904
+ projectId: string;
905
+ requirement: "required" | "optional";
906
+ invocationId: string;
907
+ projectSlug: string;
908
+ messageRef: string;
909
+ markdown: string;
910
+ }[];
911
+ events: {
912
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
913
+ actor: {
914
+ kind: "provider" | "agent" | "user" | "control-plane";
915
+ id: string;
916
+ handle: string | null;
917
+ };
918
+ id: string;
919
+ summary: string;
920
+ assignmentId: string | null;
921
+ teamId: string;
922
+ sequence: number;
923
+ topicId: string;
924
+ sendId: string | null;
925
+ invocationId: string | null;
926
+ payload: Record<string, unknown>;
927
+ channel: string;
928
+ occurredAt: string;
929
+ }[];
930
+ targets: {
931
+ status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
932
+ updatedAt: string;
933
+ agentSlug: string;
934
+ projectId: string;
935
+ requirement: "required" | "optional";
936
+ depth: number;
937
+ diagnostics: {
938
+ provider: {
939
+ providerId: string | null;
940
+ executionProviderId: string | null;
941
+ runtimeVersion: string | null;
942
+ };
943
+ usage: Record<string, unknown>[];
944
+ resources: Record<string, unknown>;
945
+ selection: {
946
+ capabilities: string[];
947
+ model: string | null;
948
+ parameters: Record<string, unknown>;
949
+ };
950
+ reason: string | null;
951
+ availability: "partial" | "unavailable" | "available";
952
+ identityManifest: Record<string, unknown>;
953
+ contextManifest: Record<string, unknown>[];
954
+ timing: Record<string, unknown>;
955
+ traceEvents: Record<string, unknown>[];
956
+ fullPayload?: Record<string, unknown> | undefined;
957
+ };
958
+ completedAt: string | null;
959
+ invocationId: string | null;
960
+ capacity: {
961
+ status: string | null;
962
+ claimedAt: string | null;
963
+ assignmentId: string | null;
964
+ providerId: string | null;
965
+ executionProviderId: string | null;
966
+ completedAt: string | null;
967
+ laneId: string | null;
968
+ lanePurpose: string | null;
969
+ assignedAt: string | null;
970
+ returnedAt: string | null;
971
+ failedAt: string | null;
972
+ };
973
+ projectSlug: string;
974
+ definitionRevision: string;
975
+ revisions: {
976
+ project: string;
977
+ library: string;
978
+ agentDefinition: string;
979
+ chatProfile: string;
980
+ };
981
+ parentInvocationId: string | null;
982
+ requestedAt: string;
983
+ failure: {
984
+ code: string;
985
+ message: string | null;
986
+ } | null;
987
+ acknowledgedAt: string | null;
988
+ leaseAcceptedAt: string | null;
989
+ }[];
990
+ topic: {
991
+ id: string;
992
+ slug: string;
993
+ };
994
+ sendId: string;
995
+ channel: string;
996
+ projectStreams: {
997
+ id: string;
998
+ projectId: string;
999
+ discussionId: string;
1000
+ projectSlug: string;
1001
+ messageRef: string;
1002
+ }[];
1003
+ replayed: boolean;
1004
+ }, {
1005
+ status: "failed" | "running" | "partial" | "queued" | "complete";
1006
+ schemaVersion: "treeseed.communication-send-receipt/v4";
1007
+ createdAt: string;
1008
+ updatedAt: string;
1009
+ teamId: string;
1010
+ responses: {
1011
+ status: "failed" | "cancelled" | "responded" | "abstained";
1012
+ createdAt: string;
1013
+ agentSlug: string;
1014
+ assignmentId: string | null;
1015
+ projectId: string;
1016
+ requirement: "required" | "optional";
1017
+ invocationId: string;
1018
+ projectSlug: string;
1019
+ messageRef: string;
1020
+ markdown: string;
1021
+ }[];
1022
+ events: {
1023
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1024
+ actor: {
1025
+ kind: "provider" | "agent" | "user" | "control-plane";
1026
+ id: string;
1027
+ handle: string | null;
1028
+ };
1029
+ id: string;
1030
+ summary: string;
1031
+ assignmentId: string | null;
1032
+ teamId: string;
1033
+ sequence: number;
1034
+ topicId: string;
1035
+ sendId: string | null;
1036
+ invocationId: string | null;
1037
+ payload: Record<string, unknown>;
1038
+ channel: string;
1039
+ occurredAt: string;
1040
+ }[];
1041
+ targets: {
1042
+ status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
1043
+ updatedAt: string;
1044
+ agentSlug: string;
1045
+ projectId: string;
1046
+ requirement: "required" | "optional";
1047
+ depth: number;
1048
+ diagnostics: {
1049
+ provider: {
1050
+ providerId: string | null;
1051
+ executionProviderId: string | null;
1052
+ runtimeVersion: string | null;
1053
+ };
1054
+ usage: Record<string, unknown>[];
1055
+ resources: Record<string, unknown>;
1056
+ selection: {
1057
+ capabilities: string[];
1058
+ model: string | null;
1059
+ parameters: Record<string, unknown>;
1060
+ };
1061
+ reason: string | null;
1062
+ availability: "partial" | "unavailable" | "available";
1063
+ identityManifest: Record<string, unknown>;
1064
+ contextManifest: Record<string, unknown>[];
1065
+ timing: Record<string, unknown>;
1066
+ traceEvents: Record<string, unknown>[];
1067
+ fullPayload?: Record<string, unknown> | undefined;
1068
+ };
1069
+ completedAt: string | null;
1070
+ invocationId: string | null;
1071
+ capacity: {
1072
+ status: string | null;
1073
+ claimedAt: string | null;
1074
+ assignmentId: string | null;
1075
+ providerId: string | null;
1076
+ executionProviderId: string | null;
1077
+ completedAt: string | null;
1078
+ laneId: string | null;
1079
+ lanePurpose: string | null;
1080
+ assignedAt: string | null;
1081
+ returnedAt: string | null;
1082
+ failedAt: string | null;
1083
+ };
1084
+ projectSlug: string;
1085
+ definitionRevision: string;
1086
+ revisions: {
1087
+ project: string;
1088
+ library: string;
1089
+ agentDefinition: string;
1090
+ chatProfile: string;
1091
+ };
1092
+ parentInvocationId: string | null;
1093
+ requestedAt: string;
1094
+ failure: {
1095
+ code: string;
1096
+ message: string | null;
1097
+ } | null;
1098
+ acknowledgedAt: string | null;
1099
+ leaseAcceptedAt: string | null;
1100
+ }[];
1101
+ topic: {
1102
+ id: string;
1103
+ slug: string;
1104
+ };
1105
+ sendId: string;
1106
+ channel: string;
1107
+ projectStreams: {
1108
+ id: string;
1109
+ projectId: string;
1110
+ discussionId: string;
1111
+ projectSlug: string;
1112
+ messageRef: string;
1113
+ }[];
1114
+ replayed: boolean;
1115
+ }>;
1116
+ export declare const communicationTopicListenerSchema: z.ZodObject<{
1117
+ projectId: z.ZodString;
1118
+ agentSlug: z.ZodString;
1119
+ } & {
1120
+ projectSlug: z.ZodString;
1121
+ agentHandle: z.ZodString;
1122
+ status: z.ZodEnum<["active", "removed"]>;
1123
+ subscribedAt: z.ZodString;
1124
+ updatedAt: z.ZodString;
1125
+ source: z.ZodEnum<["mention", "operator", "seed"]>;
1126
+ }, "strict", z.ZodTypeAny, {
1127
+ status: "active" | "removed";
1128
+ updatedAt: string;
1129
+ agentSlug: string;
1130
+ source: "seed" | "operator" | "mention";
1131
+ projectId: string;
1132
+ projectSlug: string;
1133
+ agentHandle: string;
1134
+ subscribedAt: string;
1135
+ }, {
1136
+ status: "active" | "removed";
1137
+ updatedAt: string;
1138
+ agentSlug: string;
1139
+ source: "seed" | "operator" | "mention";
1140
+ projectId: string;
1141
+ projectSlug: string;
1142
+ agentHandle: string;
1143
+ subscribedAt: string;
1144
+ }>;
1145
+ export declare const communicationTopicSchema: z.ZodObject<{
1146
+ id: z.ZodString;
1147
+ teamId: z.ZodString;
1148
+ slug: z.ZodString;
1149
+ status: z.ZodEnum<["active", "archived"]>;
1150
+ createdAt: z.ZodString;
1151
+ updatedAt: z.ZodString;
1152
+ streams: z.ZodArray<z.ZodObject<{
1153
+ id: z.ZodString;
1154
+ projectId: z.ZodString;
1155
+ projectSlug: z.ZodString;
1156
+ discussionId: z.ZodString;
1157
+ }, "strict", z.ZodTypeAny, {
1158
+ id: string;
1159
+ projectId: string;
1160
+ discussionId: string;
1161
+ projectSlug: string;
1162
+ }, {
1163
+ id: string;
1164
+ projectId: string;
1165
+ discussionId: string;
1166
+ projectSlug: string;
1167
+ }>, "many">;
1168
+ listeners: z.ZodArray<z.ZodObject<{
1169
+ projectId: z.ZodString;
1170
+ agentSlug: z.ZodString;
1171
+ } & {
1172
+ projectSlug: z.ZodString;
1173
+ agentHandle: z.ZodString;
1174
+ status: z.ZodEnum<["active", "removed"]>;
1175
+ subscribedAt: z.ZodString;
1176
+ updatedAt: z.ZodString;
1177
+ source: z.ZodEnum<["mention", "operator", "seed"]>;
1178
+ }, "strict", z.ZodTypeAny, {
1179
+ status: "active" | "removed";
1180
+ updatedAt: string;
1181
+ agentSlug: string;
1182
+ source: "seed" | "operator" | "mention";
1183
+ projectId: string;
1184
+ projectSlug: string;
1185
+ agentHandle: string;
1186
+ subscribedAt: string;
1187
+ }, {
1188
+ status: "active" | "removed";
1189
+ updatedAt: string;
1190
+ agentSlug: string;
1191
+ source: "seed" | "operator" | "mention";
1192
+ projectId: string;
1193
+ projectSlug: string;
1194
+ agentHandle: string;
1195
+ subscribedAt: string;
1196
+ }>, "many">;
1197
+ }, "strict", z.ZodTypeAny, {
1198
+ status: "active" | "archived";
1199
+ id: string;
1200
+ createdAt: string;
1201
+ updatedAt: string;
1202
+ slug: string;
1203
+ teamId: string;
1204
+ streams: {
1205
+ id: string;
1206
+ projectId: string;
1207
+ discussionId: string;
1208
+ projectSlug: string;
1209
+ }[];
1210
+ listeners: {
1211
+ status: "active" | "removed";
1212
+ updatedAt: string;
1213
+ agentSlug: string;
1214
+ source: "seed" | "operator" | "mention";
1215
+ projectId: string;
1216
+ projectSlug: string;
1217
+ agentHandle: string;
1218
+ subscribedAt: string;
1219
+ }[];
1220
+ }, {
1221
+ status: "active" | "archived";
1222
+ id: string;
1223
+ createdAt: string;
1224
+ updatedAt: string;
1225
+ slug: string;
1226
+ teamId: string;
1227
+ streams: {
1228
+ id: string;
1229
+ projectId: string;
1230
+ discussionId: string;
1231
+ projectSlug: string;
1232
+ }[];
1233
+ listeners: {
1234
+ status: "active" | "removed";
1235
+ updatedAt: string;
1236
+ agentSlug: string;
1237
+ source: "seed" | "operator" | "mention";
1238
+ projectId: string;
1239
+ projectSlug: string;
1240
+ agentHandle: string;
1241
+ subscribedAt: string;
1242
+ }[];
1243
+ }>;
1244
+ export declare const communicationTopicPageSchema: z.ZodObject<{
1245
+ items: z.ZodArray<z.ZodObject<{
1246
+ id: z.ZodString;
1247
+ teamId: z.ZodString;
1248
+ slug: z.ZodString;
1249
+ status: z.ZodEnum<["active", "archived"]>;
1250
+ createdAt: z.ZodString;
1251
+ updatedAt: z.ZodString;
1252
+ streams: z.ZodArray<z.ZodObject<{
1253
+ id: z.ZodString;
1254
+ projectId: z.ZodString;
1255
+ projectSlug: z.ZodString;
1256
+ discussionId: z.ZodString;
1257
+ }, "strict", z.ZodTypeAny, {
1258
+ id: string;
1259
+ projectId: string;
1260
+ discussionId: string;
1261
+ projectSlug: string;
1262
+ }, {
1263
+ id: string;
1264
+ projectId: string;
1265
+ discussionId: string;
1266
+ projectSlug: string;
1267
+ }>, "many">;
1268
+ listeners: z.ZodArray<z.ZodObject<{
1269
+ projectId: z.ZodString;
1270
+ agentSlug: z.ZodString;
1271
+ } & {
1272
+ projectSlug: z.ZodString;
1273
+ agentHandle: z.ZodString;
1274
+ status: z.ZodEnum<["active", "removed"]>;
1275
+ subscribedAt: z.ZodString;
1276
+ updatedAt: z.ZodString;
1277
+ source: z.ZodEnum<["mention", "operator", "seed"]>;
1278
+ }, "strict", z.ZodTypeAny, {
1279
+ status: "active" | "removed";
1280
+ updatedAt: string;
1281
+ agentSlug: string;
1282
+ source: "seed" | "operator" | "mention";
1283
+ projectId: string;
1284
+ projectSlug: string;
1285
+ agentHandle: string;
1286
+ subscribedAt: string;
1287
+ }, {
1288
+ status: "active" | "removed";
1289
+ updatedAt: string;
1290
+ agentSlug: string;
1291
+ source: "seed" | "operator" | "mention";
1292
+ projectId: string;
1293
+ projectSlug: string;
1294
+ agentHandle: string;
1295
+ subscribedAt: string;
1296
+ }>, "many">;
1297
+ }, "strict", z.ZodTypeAny, {
1298
+ status: "active" | "archived";
1299
+ id: string;
1300
+ createdAt: string;
1301
+ updatedAt: string;
1302
+ slug: string;
1303
+ teamId: string;
1304
+ streams: {
1305
+ id: string;
1306
+ projectId: string;
1307
+ discussionId: string;
1308
+ projectSlug: string;
1309
+ }[];
1310
+ listeners: {
1311
+ status: "active" | "removed";
1312
+ updatedAt: string;
1313
+ agentSlug: string;
1314
+ source: "seed" | "operator" | "mention";
1315
+ projectId: string;
1316
+ projectSlug: string;
1317
+ agentHandle: string;
1318
+ subscribedAt: string;
1319
+ }[];
1320
+ }, {
1321
+ status: "active" | "archived";
1322
+ id: string;
1323
+ createdAt: string;
1324
+ updatedAt: string;
1325
+ slug: string;
1326
+ teamId: string;
1327
+ streams: {
1328
+ id: string;
1329
+ projectId: string;
1330
+ discussionId: string;
1331
+ projectSlug: string;
1332
+ }[];
1333
+ listeners: {
1334
+ status: "active" | "removed";
1335
+ updatedAt: string;
1336
+ agentSlug: string;
1337
+ source: "seed" | "operator" | "mention";
1338
+ projectId: string;
1339
+ projectSlug: string;
1340
+ agentHandle: string;
1341
+ subscribedAt: string;
1342
+ }[];
1343
+ }>, "many">;
1344
+ cursor: z.ZodNullable<z.ZodString>;
1345
+ }, "strict", z.ZodTypeAny, {
1346
+ items: {
1347
+ status: "active" | "archived";
1348
+ id: string;
1349
+ createdAt: string;
1350
+ updatedAt: string;
1351
+ slug: string;
1352
+ teamId: string;
1353
+ streams: {
1354
+ id: string;
1355
+ projectId: string;
1356
+ discussionId: string;
1357
+ projectSlug: string;
1358
+ }[];
1359
+ listeners: {
1360
+ status: "active" | "removed";
1361
+ updatedAt: string;
1362
+ agentSlug: string;
1363
+ source: "seed" | "operator" | "mention";
1364
+ projectId: string;
1365
+ projectSlug: string;
1366
+ agentHandle: string;
1367
+ subscribedAt: string;
1368
+ }[];
1369
+ }[];
1370
+ cursor: string | null;
1371
+ }, {
1372
+ items: {
1373
+ status: "active" | "archived";
1374
+ id: string;
1375
+ createdAt: string;
1376
+ updatedAt: string;
1377
+ slug: string;
1378
+ teamId: string;
1379
+ streams: {
1380
+ id: string;
1381
+ projectId: string;
1382
+ discussionId: string;
1383
+ projectSlug: string;
1384
+ }[];
1385
+ listeners: {
1386
+ status: "active" | "removed";
1387
+ updatedAt: string;
1388
+ agentSlug: string;
1389
+ source: "seed" | "operator" | "mention";
1390
+ projectId: string;
1391
+ projectSlug: string;
1392
+ agentHandle: string;
1393
+ subscribedAt: string;
1394
+ }[];
1395
+ }[];
1396
+ cursor: string | null;
1397
+ }>;
1398
+ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1399
+ topic: z.ZodObject<{
1400
+ id: z.ZodString;
1401
+ teamId: z.ZodString;
1402
+ slug: z.ZodString;
1403
+ status: z.ZodEnum<["active", "archived"]>;
1404
+ createdAt: z.ZodString;
1405
+ updatedAt: z.ZodString;
1406
+ streams: z.ZodArray<z.ZodObject<{
1407
+ id: z.ZodString;
1408
+ projectId: z.ZodString;
1409
+ projectSlug: z.ZodString;
1410
+ discussionId: z.ZodString;
1411
+ }, "strict", z.ZodTypeAny, {
1412
+ id: string;
1413
+ projectId: string;
1414
+ discussionId: string;
1415
+ projectSlug: string;
1416
+ }, {
1417
+ id: string;
1418
+ projectId: string;
1419
+ discussionId: string;
1420
+ projectSlug: string;
1421
+ }>, "many">;
1422
+ listeners: z.ZodArray<z.ZodObject<{
1423
+ projectId: z.ZodString;
1424
+ agentSlug: z.ZodString;
1425
+ } & {
1426
+ projectSlug: z.ZodString;
1427
+ agentHandle: z.ZodString;
1428
+ status: z.ZodEnum<["active", "removed"]>;
1429
+ subscribedAt: z.ZodString;
1430
+ updatedAt: z.ZodString;
1431
+ source: z.ZodEnum<["mention", "operator", "seed"]>;
1432
+ }, "strict", z.ZodTypeAny, {
1433
+ status: "active" | "removed";
1434
+ updatedAt: string;
1435
+ agentSlug: string;
1436
+ source: "seed" | "operator" | "mention";
1437
+ projectId: string;
1438
+ projectSlug: string;
1439
+ agentHandle: string;
1440
+ subscribedAt: string;
1441
+ }, {
1442
+ status: "active" | "removed";
1443
+ updatedAt: string;
1444
+ agentSlug: string;
1445
+ source: "seed" | "operator" | "mention";
1446
+ projectId: string;
1447
+ projectSlug: string;
1448
+ agentHandle: string;
1449
+ subscribedAt: string;
1450
+ }>, "many">;
1451
+ }, "strict", z.ZodTypeAny, {
1452
+ status: "active" | "archived";
1453
+ id: string;
1454
+ createdAt: string;
1455
+ updatedAt: string;
1456
+ slug: string;
1457
+ teamId: string;
1458
+ streams: {
1459
+ id: string;
1460
+ projectId: string;
1461
+ discussionId: string;
1462
+ projectSlug: string;
1463
+ }[];
1464
+ listeners: {
1465
+ status: "active" | "removed";
1466
+ updatedAt: string;
1467
+ agentSlug: string;
1468
+ source: "seed" | "operator" | "mention";
1469
+ projectId: string;
1470
+ projectSlug: string;
1471
+ agentHandle: string;
1472
+ subscribedAt: string;
1473
+ }[];
1474
+ }, {
1475
+ status: "active" | "archived";
1476
+ id: string;
1477
+ createdAt: string;
1478
+ updatedAt: string;
1479
+ slug: string;
1480
+ teamId: string;
1481
+ streams: {
1482
+ id: string;
1483
+ projectId: string;
1484
+ discussionId: string;
1485
+ projectSlug: string;
1486
+ }[];
1487
+ listeners: {
1488
+ status: "active" | "removed";
1489
+ updatedAt: string;
1490
+ agentSlug: string;
1491
+ source: "seed" | "operator" | "mention";
1492
+ projectId: string;
1493
+ projectSlug: string;
1494
+ agentHandle: string;
1495
+ subscribedAt: string;
1496
+ }[];
1497
+ }>;
1498
+ events: z.ZodArray<z.ZodObject<{
1499
+ id: z.ZodString;
1500
+ sequence: z.ZodNumber;
1501
+ teamId: z.ZodString;
1502
+ topicId: z.ZodString;
1503
+ channel: z.ZodString;
1504
+ type: z.ZodEnum<["message.posted", "mention.acknowledged", "response_lease.accepted", "agent.progress", "agent.response", "agent.abstained", "agent.failed"]>;
1505
+ occurredAt: z.ZodString;
1506
+ sendId: z.ZodNullable<z.ZodString>;
1507
+ invocationId: z.ZodNullable<z.ZodString>;
1508
+ assignmentId: z.ZodNullable<z.ZodString>;
1509
+ actor: z.ZodObject<{
1510
+ kind: z.ZodEnum<["user", "agent", "provider", "control-plane"]>;
1511
+ id: z.ZodString;
1512
+ handle: z.ZodNullable<z.ZodString>;
1513
+ }, "strict", z.ZodTypeAny, {
1514
+ kind: "provider" | "agent" | "user" | "control-plane";
1515
+ id: string;
1516
+ handle: string | null;
1517
+ }, {
1518
+ kind: "provider" | "agent" | "user" | "control-plane";
1519
+ id: string;
1520
+ handle: string | null;
1521
+ }>;
1522
+ summary: z.ZodString;
1523
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1524
+ }, "strict", z.ZodTypeAny, {
1525
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1526
+ actor: {
1527
+ kind: "provider" | "agent" | "user" | "control-plane";
1528
+ id: string;
1529
+ handle: string | null;
1530
+ };
1531
+ id: string;
1532
+ summary: string;
1533
+ assignmentId: string | null;
1534
+ teamId: string;
1535
+ sequence: number;
1536
+ topicId: string;
1537
+ sendId: string | null;
1538
+ invocationId: string | null;
1539
+ payload: Record<string, unknown>;
1540
+ channel: string;
1541
+ occurredAt: string;
1542
+ }, {
1543
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1544
+ actor: {
1545
+ kind: "provider" | "agent" | "user" | "control-plane";
1546
+ id: string;
1547
+ handle: string | null;
1548
+ };
1549
+ id: string;
1550
+ summary: string;
1551
+ assignmentId: string | null;
1552
+ teamId: string;
1553
+ sequence: number;
1554
+ topicId: string;
1555
+ sendId: string | null;
1556
+ invocationId: string | null;
1557
+ payload: Record<string, unknown>;
1558
+ channel: string;
1559
+ occurredAt: string;
1560
+ }>, "many">;
1561
+ cursor: z.ZodNullable<z.ZodString>;
1562
+ }, "strict", z.ZodTypeAny, {
1563
+ events: {
1564
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1565
+ actor: {
1566
+ kind: "provider" | "agent" | "user" | "control-plane";
1567
+ id: string;
1568
+ handle: string | null;
1569
+ };
1570
+ id: string;
1571
+ summary: string;
1572
+ assignmentId: string | null;
1573
+ teamId: string;
1574
+ sequence: number;
1575
+ topicId: string;
1576
+ sendId: string | null;
1577
+ invocationId: string | null;
1578
+ payload: Record<string, unknown>;
1579
+ channel: string;
1580
+ occurredAt: string;
1581
+ }[];
1582
+ topic: {
1583
+ status: "active" | "archived";
1584
+ id: string;
1585
+ createdAt: string;
1586
+ updatedAt: string;
1587
+ slug: string;
1588
+ teamId: string;
1589
+ streams: {
1590
+ id: string;
1591
+ projectId: string;
1592
+ discussionId: string;
1593
+ projectSlug: string;
1594
+ }[];
1595
+ listeners: {
1596
+ status: "active" | "removed";
1597
+ updatedAt: string;
1598
+ agentSlug: string;
1599
+ source: "seed" | "operator" | "mention";
1600
+ projectId: string;
1601
+ projectSlug: string;
1602
+ agentHandle: string;
1603
+ subscribedAt: string;
1604
+ }[];
1605
+ };
1606
+ cursor: string | null;
1607
+ }, {
1608
+ events: {
1609
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1610
+ actor: {
1611
+ kind: "provider" | "agent" | "user" | "control-plane";
1612
+ id: string;
1613
+ handle: string | null;
1614
+ };
1615
+ id: string;
1616
+ summary: string;
1617
+ assignmentId: string | null;
1618
+ teamId: string;
1619
+ sequence: number;
1620
+ topicId: string;
1621
+ sendId: string | null;
1622
+ invocationId: string | null;
1623
+ payload: Record<string, unknown>;
1624
+ channel: string;
1625
+ occurredAt: string;
1626
+ }[];
1627
+ topic: {
1628
+ status: "active" | "archived";
1629
+ id: string;
1630
+ createdAt: string;
1631
+ updatedAt: string;
1632
+ slug: string;
1633
+ teamId: string;
1634
+ streams: {
1635
+ id: string;
1636
+ projectId: string;
1637
+ discussionId: string;
1638
+ projectSlug: string;
1639
+ }[];
1640
+ listeners: {
1641
+ status: "active" | "removed";
1642
+ updatedAt: string;
1643
+ agentSlug: string;
1644
+ source: "seed" | "operator" | "mention";
1645
+ projectId: string;
1646
+ projectSlug: string;
1647
+ agentHandle: string;
1648
+ subscribedAt: string;
1649
+ }[];
1650
+ };
1651
+ cursor: string | null;
1652
+ }>;
1653
+ export declare const communicationTopicSubscriptionRequestSchema: z.ZodObject<{
1654
+ agent: z.ZodString;
1655
+ }, "strict", z.ZodTypeAny, {
1656
+ agent: string;
1657
+ }, {
1658
+ agent: string;
1659
+ }>;
1660
+ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
1661
+ topicId: z.ZodString;
1662
+ listener: z.ZodObject<{
1663
+ projectId: z.ZodString;
1664
+ agentSlug: z.ZodString;
1665
+ } & {
1666
+ projectSlug: z.ZodString;
1667
+ agentHandle: z.ZodString;
1668
+ status: z.ZodEnum<["active", "removed"]>;
1669
+ subscribedAt: z.ZodString;
1670
+ updatedAt: z.ZodString;
1671
+ source: z.ZodEnum<["mention", "operator", "seed"]>;
1672
+ }, "strict", z.ZodTypeAny, {
1673
+ status: "active" | "removed";
1674
+ updatedAt: string;
1675
+ agentSlug: string;
1676
+ source: "seed" | "operator" | "mention";
1677
+ projectId: string;
1678
+ projectSlug: string;
1679
+ agentHandle: string;
1680
+ subscribedAt: string;
1681
+ }, {
1682
+ status: "active" | "removed";
1683
+ updatedAt: string;
1684
+ agentSlug: string;
1685
+ source: "seed" | "operator" | "mention";
1686
+ projectId: string;
1687
+ projectSlug: string;
1688
+ agentHandle: string;
1689
+ subscribedAt: string;
1690
+ }>;
1691
+ replayed: z.ZodBoolean;
1692
+ }, "strict", z.ZodTypeAny, {
1693
+ topicId: string;
1694
+ replayed: boolean;
1695
+ listener: {
1696
+ status: "active" | "removed";
1697
+ updatedAt: string;
1698
+ agentSlug: string;
1699
+ source: "seed" | "operator" | "mention";
1700
+ projectId: string;
1701
+ projectSlug: string;
1702
+ agentHandle: string;
1703
+ subscribedAt: string;
1704
+ };
1705
+ }, {
1706
+ topicId: string;
1707
+ replayed: boolean;
1708
+ listener: {
1709
+ status: "active" | "removed";
1710
+ updatedAt: string;
1711
+ agentSlug: string;
1712
+ source: "seed" | "operator" | "mention";
1713
+ projectId: string;
1714
+ projectSlug: string;
1715
+ agentHandle: string;
1716
+ subscribedAt: string;
1717
+ };
1718
+ }>;
1719
+ export declare const providerCommunicationNotificationAcknowledgeRequestSchema: z.ZodObject<{
1720
+ providerId: z.ZodString;
1721
+ runnerId: z.ZodString;
1722
+ observedAt: z.ZodString;
1723
+ }, "strict", z.ZodTypeAny, {
1724
+ providerId: string;
1725
+ observedAt: string;
1726
+ runnerId: string;
1727
+ }, {
1728
+ providerId: string;
1729
+ observedAt: string;
1730
+ runnerId: string;
1731
+ }>;
1732
+ export declare const providerCommunicationTraceEventRequestSchema: z.ZodObject<{
1733
+ leaseToken: z.ZodString;
1734
+ runnerId: z.ZodString;
1735
+ sequence: z.ZodNumber;
1736
+ type: z.ZodString;
1737
+ occurredAt: z.ZodString;
1738
+ summary: z.ZodString;
1739
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1740
+ protectedPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1741
+ }, "strict", z.ZodTypeAny, {
1742
+ type: string;
1743
+ summary: string;
1744
+ sequence: number;
1745
+ payload: Record<string, unknown>;
1746
+ occurredAt: string;
1747
+ runnerId: string;
1748
+ leaseToken: string;
1749
+ protectedPayload?: Record<string, unknown> | undefined;
1750
+ }, {
1751
+ type: string;
1752
+ summary: string;
1753
+ sequence: number;
1754
+ payload: Record<string, unknown>;
1755
+ occurredAt: string;
1756
+ runnerId: string;
1757
+ leaseToken: string;
1758
+ protectedPayload?: Record<string, unknown> | undefined;
1759
+ }>;
1760
+ export declare const providerDiscussionResponseRequestSchema: z.ZodEffects<z.ZodObject<{
1761
+ leaseToken: z.ZodString;
1762
+ runnerId: z.ZodString;
1763
+ outcome: z.ZodDefault<z.ZodEnum<["responded", "abstained"]>>;
1764
+ markdown: z.ZodOptional<z.ZodString>;
1765
+ summary: z.ZodOptional<z.ZodString>;
1766
+ usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1767
+ }, "strict", z.ZodTypeAny, {
1768
+ outcome: "responded" | "abstained";
1769
+ runnerId: string;
1770
+ leaseToken: string;
1771
+ summary?: string | undefined;
1772
+ usage?: Record<string, unknown> | undefined;
1773
+ markdown?: string | undefined;
1774
+ }, {
1775
+ runnerId: string;
1776
+ leaseToken: string;
1777
+ summary?: string | undefined;
1778
+ usage?: Record<string, unknown> | undefined;
1779
+ outcome?: "responded" | "abstained" | undefined;
1780
+ markdown?: string | undefined;
1781
+ }>, {
1782
+ outcome: "responded" | "abstained";
1783
+ runnerId: string;
1784
+ leaseToken: string;
1785
+ summary?: string | undefined;
1786
+ usage?: Record<string, unknown> | undefined;
1787
+ markdown?: string | undefined;
1788
+ }, {
1789
+ runnerId: string;
1790
+ leaseToken: string;
1791
+ summary?: string | undefined;
1792
+ usage?: Record<string, unknown> | undefined;
1793
+ outcome?: "responded" | "abstained" | undefined;
1794
+ markdown?: string | undefined;
1795
+ }>;
1796
+ export declare const providerDiscussionResponseReceiptSchema: z.ZodEffects<z.ZodObject<{
1797
+ schemaVersion: z.ZodLiteral<"treeseed.provider-discussion-response-receipt/v1">;
1798
+ assignmentId: z.ZodString;
1799
+ invocationId: z.ZodString;
1800
+ messageRef: z.ZodString;
1801
+ reference: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1802
+ kind: z.ZodLiteral<"git">;
1803
+ repository: z.ZodString;
1804
+ commit: z.ZodString;
1805
+ branch: z.ZodOptional<z.ZodString>;
1806
+ path: z.ZodOptional<z.ZodString>;
1807
+ }, "strict", z.ZodTypeAny, {
1808
+ kind: "git";
1809
+ commit: string;
1810
+ repository: string;
1811
+ path?: string | undefined;
1812
+ branch?: string | undefined;
1813
+ }, {
1814
+ kind: "git";
1815
+ commit: string;
1816
+ repository: string;
1817
+ path?: string | undefined;
1818
+ branch?: string | undefined;
1819
+ }>, z.ZodObject<{
1820
+ kind: z.ZodLiteral<"treedx">;
1821
+ projectId: z.ZodString;
1822
+ repository: z.ZodString;
1823
+ commit: z.ZodString;
1824
+ path: z.ZodString;
1825
+ workspaceId: z.ZodOptional<z.ZodString>;
1826
+ }, "strict", z.ZodTypeAny, {
1827
+ path: string;
1828
+ kind: "treedx";
1829
+ commit: string;
1830
+ repository: string;
1831
+ projectId: string;
1832
+ workspaceId?: string | undefined;
1833
+ }, {
1834
+ path: string;
1835
+ kind: "treedx";
1836
+ commit: string;
1837
+ repository: string;
1838
+ projectId: string;
1839
+ workspaceId?: string | undefined;
1840
+ }>, z.ZodObject<{
1841
+ kind: z.ZodLiteral<"url">;
1842
+ url: z.ZodString;
1843
+ digest: z.ZodOptional<z.ZodString>;
1844
+ }, "strict", z.ZodTypeAny, {
1845
+ kind: "url";
1846
+ url: string;
1847
+ digest?: string | undefined;
1848
+ }, {
1849
+ kind: "url";
1850
+ url: string;
1851
+ digest?: string | undefined;
1852
+ }>]>, {
1853
+ path: string;
1854
+ kind: "treedx";
1855
+ commit: string;
1856
+ repository: string;
1857
+ projectId: string;
1858
+ workspaceId?: string | undefined;
1859
+ }, {
1860
+ kind: "git";
1861
+ commit: string;
1862
+ repository: string;
1863
+ path?: string | undefined;
1864
+ branch?: string | undefined;
1865
+ } | {
1866
+ path: string;
1867
+ kind: "treedx";
1868
+ commit: string;
1869
+ repository: string;
1870
+ projectId: string;
1871
+ workspaceId?: string | undefined;
1872
+ } | {
1873
+ kind: "url";
1874
+ url: string;
1875
+ digest?: string | undefined;
1876
+ }>;
1877
+ status: z.ZodEnum<["responded", "abstained"]>;
1878
+ settledAt: z.ZodString;
1879
+ }, "strict", z.ZodTypeAny, {
1880
+ status: "responded" | "abstained";
1881
+ schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1882
+ assignmentId: string;
1883
+ settledAt: string;
1884
+ invocationId: string;
1885
+ reference: {
1886
+ path: string;
1887
+ kind: "treedx";
1888
+ commit: string;
1889
+ repository: string;
1890
+ projectId: string;
1891
+ workspaceId?: string | undefined;
1892
+ };
1893
+ messageRef: string;
1894
+ }, {
1895
+ status: "responded" | "abstained";
1896
+ schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1897
+ assignmentId: string;
1898
+ settledAt: string;
1899
+ invocationId: string;
1900
+ reference: {
1901
+ kind: "git";
1902
+ commit: string;
1903
+ repository: string;
1904
+ path?: string | undefined;
1905
+ branch?: string | undefined;
1906
+ } | {
1907
+ path: string;
1908
+ kind: "treedx";
1909
+ commit: string;
1910
+ repository: string;
1911
+ projectId: string;
1912
+ workspaceId?: string | undefined;
1913
+ } | {
1914
+ kind: "url";
1915
+ url: string;
1916
+ digest?: string | undefined;
1917
+ };
1918
+ messageRef: string;
1919
+ }>, {
1920
+ status: "responded" | "abstained";
1921
+ schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1922
+ assignmentId: string;
1923
+ settledAt: string;
1924
+ invocationId: string;
1925
+ reference: {
1926
+ path: string;
1927
+ kind: "treedx";
1928
+ commit: string;
1929
+ repository: string;
1930
+ projectId: string;
1931
+ workspaceId?: string | undefined;
1932
+ };
1933
+ messageRef: string;
1934
+ }, {
1935
+ status: "responded" | "abstained";
1936
+ schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1937
+ assignmentId: string;
1938
+ settledAt: string;
1939
+ invocationId: string;
1940
+ reference: {
1941
+ kind: "git";
1942
+ commit: string;
1943
+ repository: string;
1944
+ path?: string | undefined;
1945
+ branch?: string | undefined;
1946
+ } | {
1947
+ path: string;
1948
+ kind: "treedx";
1949
+ commit: string;
1950
+ repository: string;
1951
+ projectId: string;
1952
+ workspaceId?: string | undefined;
1953
+ } | {
1954
+ kind: "url";
1955
+ url: string;
1956
+ digest?: string | undefined;
1957
+ };
1958
+ messageRef: string;
1959
+ }>;
1960
+ export type CommunicationSendRequest = z.infer<typeof communicationSendRequestSchema>;
1961
+ export type CommunicationSendReceipt = z.infer<typeof communicationSendReceiptSchema>;
1962
+ export type CommunicationResponse = z.infer<typeof communicationResponseSchema>;
1963
+ export type CommunicationTopicEvent = z.infer<typeof communicationTopicEventSchema>;
1964
+ export type CommunicationDiagnostic = z.infer<typeof communicationDiagnosticSchema>;
1965
+ export type ProviderDiscussionResponseRequest = z.infer<typeof providerDiscussionResponseRequestSchema>;
1966
+ export type ProviderDiscussionResponseReceipt = z.infer<typeof providerDiscussionResponseReceiptSchema>;