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

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 (510) hide show
  1. package/README.md +23 -9
  2. package/dist/.treeseed-build-complete.json +1 -0
  3. package/dist/accounts/account-contracts.d.ts +6 -0
  4. package/dist/agent-capacity/allocation.d.ts +0 -3
  5. package/dist/agent-capacity/allocation.js +0 -221
  6. package/dist/agent-capacity/artifact-mutation-receipt.d.ts +1 -1
  7. package/dist/agent-capacity/artifacts.d.ts +17 -1
  8. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +4395 -0
  9. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +176 -0
  10. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +304 -0
  11. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.js +44 -0
  12. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +22 -2
  13. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.d.ts +25 -0
  14. package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.js +67 -0
  15. package/dist/agent-capacity/contracts/capacity/communication/communication-records.d.ts +1 -1
  16. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +0 -2
  17. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +82 -0
  18. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +115 -0
  19. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +142 -0
  20. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +51 -0
  21. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +331 -0
  22. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +135 -0
  23. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +3 -22
  24. package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
  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 +0 -1
  28. package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +3 -3
  29. package/dist/agent-capacity/contracts/support/decision-work.d.ts +3 -27
  30. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +1087 -0
  31. package/dist/agent-capacity/contracts/support/execution-graph.js +120 -0
  32. package/dist/agent-capacity/contracts/support/time-capacity.d.ts +0 -14
  33. package/dist/agent-capacity/contracts/support/time-capacity.js +1 -8
  34. package/dist/agent-capacity/validation/activity-profile.d.ts +1 -1
  35. package/dist/agent-capacity/validation/activity-profile.js +3 -259
  36. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +2687 -8933
  37. package/dist/agent-capacity/validation/agent-definition-schema.js +64 -174
  38. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +23 -23
  39. package/dist/agent-capacity/validation/assignment-records.js +1 -1
  40. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  41. package/dist/agent-capacity/validation/configuration.js +1 -2
  42. package/dist/agent-capacity/validation/execution/execution-graph.d.ts +1 -0
  43. package/dist/agent-capacity/validation/execution/execution-graph.js +16 -0
  44. package/dist/agent-capacity/validation/index.d.ts +2 -1
  45. package/dist/agent-capacity/validation/index.js +2 -1
  46. package/dist/capacity/agents/agent-capacity.d.ts +9 -1
  47. package/dist/capacity/agents/agent-capacity.js +8 -1
  48. package/dist/capacity-provider/capability-ontology.d.ts +1495 -0
  49. package/dist/capacity-provider/capability-ontology.js +221 -0
  50. package/dist/capacity-provider/client.d.ts +69 -0
  51. package/dist/capacity-provider/client.js +22 -1
  52. package/dist/capacity-provider/contracts/capacity-facts.d.ts +14 -0
  53. package/dist/capacity-provider/contracts/environment-profiles.d.ts +255 -0
  54. package/dist/capacity-provider/contracts/environment-profiles.js +71 -0
  55. package/dist/capacity-provider/contracts/governance.d.ts +109 -35
  56. package/dist/capacity-provider/contracts/index.d.ts +1 -0
  57. package/dist/capacity-provider/contracts/index.js +1 -0
  58. package/dist/capacity-provider/core-capability-catalog.d.ts +47 -0
  59. package/dist/capacity-provider/core-capability-catalog.js +49 -0
  60. package/dist/capacity-provider/environment-catalog.d.ts +877 -0
  61. package/dist/capacity-provider/environment-catalog.js +116 -0
  62. package/dist/capacity-provider/index.d.ts +5 -0
  63. package/dist/capacity-provider/index.js +5 -0
  64. package/dist/capacity-provider/install-configuration.d.ts +39 -0
  65. package/dist/capacity-provider/install-configuration.js +18 -0
  66. package/dist/capacity-provider/sandbox-contracts.d.ts +602 -0
  67. package/dist/capacity-provider/sandbox-contracts.js +90 -0
  68. package/dist/capacity-provider/sandbox.d.ts +2 -0
  69. package/dist/capacity-provider/sandbox.js +2 -0
  70. package/dist/capacity-provider/source-workspace.d.ts +642 -0
  71. package/dist/capacity-provider/source-workspace.js +126 -0
  72. package/dist/capacity-provider/validation.d.ts +2 -2
  73. package/dist/capacity-provider/validation.js +91 -55
  74. package/dist/configuration/secrets-capability.d.ts +5 -1
  75. package/dist/configuration/secrets-capability.js +5 -1
  76. package/dist/content/contracts.d.ts +1 -1
  77. package/dist/content/validation/agent-operational-content-schemas.d.ts +431 -780
  78. package/dist/content/validation/agent-operational-content-schemas.js +29 -57
  79. package/dist/content/validation/auxiliary-content-schemas.d.ts +208 -208
  80. package/dist/content/validation/content-model-schemas.d.ts +9362 -19159
  81. package/dist/content/validation/content-model-schemas.js +172 -43
  82. package/dist/content/validation/portable-content-data.d.ts +453 -1761
  83. package/dist/content/validation/portable-content-data.js +5 -4
  84. package/dist/deployment/ai/storage.d.ts +158 -0
  85. package/dist/deployment/ai/storage.js +32 -0
  86. package/dist/deployment/ai-hosting.d.ts +297 -0
  87. package/dist/deployment/ai-hosting.js +63 -0
  88. package/dist/deployment/ai-instance.d.ts +65 -0
  89. package/dist/deployment/ai-instance.js +30 -0
  90. package/dist/deployment/ai-mode.d.ts +454 -0
  91. package/dist/deployment/ai-mode.js +67 -0
  92. package/dist/deployment/canonical.d.ts +2 -0
  93. package/dist/deployment/canonical.js +17 -0
  94. package/dist/deployment/catalog.d.ts +16 -0
  95. package/dist/deployment/catalog.js +48 -0
  96. package/dist/deployment/hosted-topology-template.d.ts +449 -0
  97. package/dist/deployment/hosted-topology-template.js +56 -0
  98. package/dist/deployment/hosted-topology.d.ts +2698 -0
  99. package/dist/deployment/hosted-topology.js +468 -0
  100. package/dist/deployment/index.d.ts +13 -0
  101. package/dist/deployment/index.js +13 -0
  102. package/dist/deployment/postgres/contracts.d.ts +418 -0
  103. package/dist/deployment/postgres/contracts.js +83 -0
  104. package/dist/deployment/postgres/requirements.d.ts +15 -0
  105. package/dist/deployment/postgres/requirements.js +32 -0
  106. package/dist/deployment/postgres/transfer.d.ts +97 -0
  107. package/dist/deployment/postgres/transfer.js +29 -0
  108. package/dist/deployment/schemas.d.ts +8625 -0
  109. package/dist/deployment/schemas.js +455 -0
  110. package/dist/deployment/topology.d.ts +9 -0
  111. package/dist/deployment/topology.js +35 -0
  112. package/dist/development/index.d.ts +1 -0
  113. package/dist/development/index.js +1 -0
  114. package/dist/development/schemas.d.ts +3594 -0
  115. package/dist/development/schemas.js +204 -0
  116. package/dist/development/session-migration.d.ts +3 -0
  117. package/dist/development/session-migration.js +25 -0
  118. package/dist/entrypoints/clients/control-plane-client.d.ts +9 -1
  119. package/dist/entrypoints/clients/control-plane-client.js +17 -5
  120. package/dist/graph/context-query-contracts.d.ts +16 -1
  121. package/dist/graph/context-query-contracts.js +5 -0
  122. package/dist/guarantees/evidence-trust.d.ts +32 -0
  123. package/dist/guarantees/evidence-trust.js +47 -0
  124. package/dist/guarantees/index.d.ts +130 -0
  125. package/dist/guarantees/index.js +44 -0
  126. package/dist/identity/browser-session.d.ts +233 -0
  127. package/dist/identity/browser-session.js +51 -0
  128. package/dist/identity/contracts.d.ts +191 -0
  129. package/dist/identity/contracts.js +72 -0
  130. package/dist/identity/index.d.ts +3 -0
  131. package/dist/identity/index.js +3 -0
  132. package/dist/identity/runtime.d.ts +186 -0
  133. package/dist/identity/runtime.js +49 -0
  134. package/dist/model-registry/agent-operational-models.d.ts +1 -1
  135. package/dist/model-registry/agent-operational-models.js +1 -4
  136. package/dist/model-registry/build-builtin-model-registry.js +44 -72
  137. package/dist/operator-contracts/canonical-command-tree.js +397 -43
  138. package/dist/operator-contracts/catalog/admin-account-team-operations.d.ts +36 -0
  139. package/dist/operator-contracts/catalog/admin-account-team-operations.js +52 -0
  140. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +75 -0
  141. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.js +42 -0
  142. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +163 -0
  143. package/dist/operator-contracts/catalog/capability-ontology-operations.js +24 -0
  144. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +60 -0
  145. package/dist/operator-contracts/catalog/commands/command-tree-builders.js +191 -0
  146. package/dist/operator-contracts/catalog/communication-operations.d.ts +439 -0
  147. package/dist/operator-contracts/catalog/communication-operations.js +92 -0
  148. package/dist/operator-contracts/catalog/control-plane-catalog.d.ts +6 -0
  149. package/dist/operator-contracts/catalog/control-plane-catalog.js +18 -0
  150. package/dist/operator-contracts/catalog/execution/execution-operations.d.ts +36 -0
  151. package/dist/operator-contracts/catalog/execution/execution-operations.js +39 -0
  152. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +399 -0
  153. package/dist/operator-contracts/catalog/hosted-topology-operations.js +79 -0
  154. package/dist/operator-contracts/catalog/inbox-operations.d.ts +265 -0
  155. package/dist/operator-contracts/catalog/inbox-operations.js +36 -0
  156. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +53 -0
  157. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +23 -0
  158. package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.d.ts +3 -0
  159. package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.js +15 -0
  160. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +127 -0
  161. package/dist/operator-contracts/catalog/knowledge-share-operations.js +25 -0
  162. package/dist/operator-contracts/catalog/provider-environment-commands.d.ts +4 -0
  163. package/dist/operator-contracts/catalog/provider-environment-commands.js +69 -0
  164. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +41 -0
  165. package/dist/operator-contracts/catalog/provider-environment-operations.js +61 -0
  166. package/dist/operator-contracts/catalog/services/identity-commands.d.ts +2 -0
  167. package/dist/operator-contracts/catalog/services/identity-commands.js +13 -0
  168. package/dist/operator-contracts/catalog/services/secret-commands.d.ts +2 -0
  169. package/dist/operator-contracts/catalog/services/secret-commands.js +31 -0
  170. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +62 -0
  171. package/dist/operator-contracts/catalog/services/secret-operations.js +51 -0
  172. package/dist/operator-contracts/catalog/treeai-operations.d.ts +13 -0
  173. package/dist/operator-contracts/catalog/treeai-operations.js +61 -0
  174. package/dist/operator-contracts/catalog/workdays/profile-commands.d.ts +4 -0
  175. package/dist/operator-contracts/catalog/workdays/profile-commands.js +20 -0
  176. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +41 -0
  177. package/dist/operator-contracts/catalog/workdays/profile-operations.js +50 -0
  178. package/dist/operator-contracts/catalog/workdays/selection-commands.d.ts +3 -0
  179. package/dist/operator-contracts/catalog/workdays/selection-commands.js +29 -0
  180. package/dist/operator-contracts/command-tree.d.ts +29 -0
  181. package/dist/operator-contracts/command-tree.js +50 -0
  182. package/dist/operator-contracts/communication/addressing.d.ts +8 -0
  183. package/dist/operator-contracts/communication/addressing.js +57 -0
  184. package/dist/operator-contracts/communication/contracts.d.ts +1824 -0
  185. package/dist/operator-contracts/communication/contracts.js +190 -0
  186. package/dist/operator-contracts/control-plane-operation.d.ts +9 -0
  187. package/dist/operator-contracts/control-plane-operation.js +12 -2
  188. package/dist/operator-contracts/control-plane-operations.d.ts +2356 -209
  189. package/dist/operator-contracts/control-plane-operations.js +239 -102
  190. package/dist/operator-contracts/inbox/contracts.d.ts +1111 -0
  191. package/dist/operator-contracts/inbox/contracts.js +138 -0
  192. package/dist/operator-contracts/index.d.ts +6 -1
  193. package/dist/operator-contracts/index.js +6 -1
  194. package/dist/operator-contracts/knowledge/contracts.d.ts +130 -0
  195. package/dist/operator-contracts/knowledge/contracts.js +39 -0
  196. package/dist/operator-contracts/mcp.d.ts +5 -0
  197. package/dist/operator-contracts/mcp.js +61 -0
  198. package/dist/operator-contracts/oauth.d.ts +45 -0
  199. package/dist/operator-contracts/oauth.js +7 -0
  200. package/dist/operator-contracts/operation-builder.d.ts +18 -0
  201. package/dist/operator-contracts/operation-builder.js +78 -0
  202. package/dist/operator-contracts/seed/seed-bundle.d.ts +138 -0
  203. package/dist/operator-contracts/seed/seed-bundle.js +68 -0
  204. package/dist/operator-contracts/workday-lifecycle.d.ts +21 -28
  205. package/dist/operator-contracts/workday-lifecycle.js +46 -8
  206. package/dist/platform/contracts.d.ts +429 -0
  207. package/dist/platform/contracts.js +93 -0
  208. package/dist/platform/index.d.ts +6 -0
  209. package/dist/platform/index.js +6 -0
  210. package/dist/platform/inventory.d.ts +11 -0
  211. package/dist/platform/inventory.js +53 -0
  212. package/dist/platform/project-create.d.ts +49 -0
  213. package/dist/platform/project-create.js +75 -0
  214. package/dist/platform/schemas.d.ts +986 -0
  215. package/dist/platform/schemas.js +73 -0
  216. package/dist/platform/verification.d.ts +9 -0
  217. package/dist/platform/verification.js +104 -0
  218. package/dist/platform/workset.d.ts +21 -0
  219. package/dist/platform/workset.js +106 -0
  220. package/dist/sdk-types/support/sdk-model-names.d.ts +1 -1
  221. package/dist/sdk-types/support/sdk-model-names.js +0 -3
  222. package/dist/secrets-capability/github-actions-encryption.d.ts +2 -0
  223. package/dist/secrets-capability/github-actions-encryption.js +11 -0
  224. package/dist/secrets-capability/provider-operation-contracts.d.ts +15 -1
  225. package/dist/secrets-capability/secret-contracts.d.ts +33 -0
  226. package/dist/secrets-capability/secret-contracts.js +49 -0
  227. package/dist/secrets-capability/service-provider-contracts.d.ts +5 -3
  228. package/dist/secrets-capability/service-provider-contracts.js +66 -50
  229. package/dist/secrets-capability/shared-access.d.ts +51 -0
  230. package/dist/secrets-capability/shared-access.js +36 -0
  231. package/dist/secrets-capability/shared-resources.d.ts +376 -0
  232. package/dist/secrets-capability/shared-resources.js +91 -0
  233. package/dist/secrets-capability/vault-contracts.d.ts +132 -0
  234. package/dist/secrets-capability/vault-contracts.js +56 -0
  235. package/dist/security/encrypted-envelope.d.ts +177 -0
  236. package/dist/security/encrypted-envelope.js +34 -0
  237. package/dist/security/envelope-codec.d.ts +38 -0
  238. package/dist/security/envelope-codec.js +96 -0
  239. package/dist/security/index.d.ts +2 -0
  240. package/dist/security/index.js +2 -0
  241. package/dist/site-contracts/catalog.d.ts +16 -0
  242. package/dist/site-contracts/catalog.js +19 -0
  243. package/dist/site-contracts/cloudflare.d.ts +48 -0
  244. package/dist/site-contracts/platform.d.ts +94 -0
  245. package/dist/site-contracts/plugin.d.ts +63 -0
  246. package/dist/site-contracts/plugin.js +26 -0
  247. package/dist/treeai/catalog.d.ts +1 -0
  248. package/dist/treeai/catalog.js +1 -0
  249. package/dist/treeai/client.d.ts +793 -0
  250. package/dist/treeai/client.js +44 -0
  251. package/dist/treeai/contract.d.ts +41 -0
  252. package/dist/treeai/contract.js +51 -0
  253. package/dist/treeai/generated/upstream.d.ts +770 -0
  254. package/dist/treeai/generated/upstream.js +4 -0
  255. package/dist/treeai/index.d.ts +4 -0
  256. package/dist/treeai/index.js +4 -0
  257. package/dist/treedx/client.d.ts +605 -0
  258. package/dist/treedx/client.js +39 -0
  259. package/dist/treedx/contract.d.ts +32 -0
  260. package/dist/treedx/contract.js +63 -0
  261. package/dist/treedx/index.d.ts +3 -0
  262. package/dist/treedx/index.js +2 -0
  263. package/dist/treedx/types.d.ts +8 -7
  264. package/dist/treedx/types.js +0 -7
  265. package/dist/types/agents/agent-activity-profile.d.ts +42 -98
  266. package/dist/types/agents/agent-activity-profile.js +23 -0
  267. package/dist/types/agents/agent-trigger-kinds.d.ts +3 -5
  268. package/dist/types/agents/agent-trigger-kinds.js +1 -13
  269. package/dist/types/agents/execution-run-ref.d.ts +1 -8
  270. package/package.json +64 -11
  271. package/dist/agent-capacity/authority/agent-authority-presets.d.ts +0 -13
  272. package/dist/agent-capacity/authority/agent-authority-presets.js +0 -106
  273. package/dist/agent-capacity/contracts/operations/workflow-promotion.d.ts +0 -24
  274. package/dist/agent-capacity/policy/capacity/allocations/allocation-hierarchy.d.ts +0 -29
  275. package/dist/agent-capacity/policy/capacity/allocations/allocation-hierarchy.js +0 -110
  276. package/dist/agent-capacity/validation/workflow-promotion.d.ts +0 -2
  277. package/dist/agent-capacity/validation/workflow-promotion.js +0 -34
  278. package/dist/operator-contracts/workday-profile.d.ts +0 -72
  279. package/dist/operator-contracts/workday-profile.js +0 -106
  280. package/dist/secrets-capability/service-vault-contracts.d.ts +0 -61
  281. package/dist/secrets-capability/service-vault-contracts.js +0 -39
  282. package/dist/treedx/accounts/auth.d.ts +0 -17
  283. package/dist/treedx/accounts/auth.js +0 -48
  284. package/dist/treedx/client/accounts/contracts/auth-mode.d.ts +0 -3
  285. package/dist/treedx/client/accounts/contracts/auth-mode.js +0 -6
  286. package/dist/treedx/client/build/creation/build-context.d.ts +0 -3
  287. package/dist/treedx/client/build/creation/build-context.js +0 -7
  288. package/dist/treedx/client/build/creation/build-snapshot.d.ts +0 -3
  289. package/dist/treedx/client/build/creation/build-snapshot.js +0 -8
  290. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.d.ts +0 -3
  291. package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.js +0 -7
  292. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.d.ts +0 -6
  293. package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.js +0 -10
  294. package/dist/treedx/client/methods.d.ts +0 -102
  295. package/dist/treedx/client/methods.js +0 -209
  296. package/dist/treedx/client/persistence/contracts/restore-storage.d.ts +0 -3
  297. package/dist/treedx/client/persistence/contracts/restore-storage.js +0 -6
  298. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.d.ts +0 -3
  299. package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.js +0 -6
  300. package/dist/treedx/client/repositories/creation/register-repository.d.ts +0 -3
  301. package/dist/treedx/client/repositories/creation/register-repository.js +0 -7
  302. package/dist/treedx/client/repositories/queries/get-repository.d.ts +0 -3
  303. package/dist/treedx/client/repositories/queries/get-repository.js +0 -7
  304. package/dist/treedx/client/repositories/queries/list-repository-paths.d.ts +0 -3
  305. package/dist/treedx/client/repositories/queries/list-repository-paths.js +0 -7
  306. package/dist/treedx/client/repositories/queries/list-repository-refs.d.ts +0 -3
  307. package/dist/treedx/client/repositories/queries/list-repository-refs.js +0 -12
  308. package/dist/treedx/client/repositories/queries/query-repository.d.ts +0 -3
  309. package/dist/treedx/client/repositories/queries/query-repository.js +0 -7
  310. package/dist/treedx/client/repositories/queries/read-repository-file.d.ts +0 -3
  311. package/dist/treedx/client/repositories/queries/read-repository-file.js +0 -6
  312. package/dist/treedx/client/repositories/queries/read-repository-files.d.ts +0 -3
  313. package/dist/treedx/client/repositories/queries/read-repository-files.js +0 -7
  314. package/dist/treedx/client/repositories/queries/search-repository-files.d.ts +0 -3
  315. package/dist/treedx/client/repositories/queries/search-repository-files.js +0 -7
  316. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.d.ts +0 -3
  317. package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.js +0 -9
  318. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.d.ts +0 -3
  319. package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.js +0 -6
  320. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.d.ts +0 -3
  321. package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.js +0 -7
  322. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.d.ts +0 -5
  323. package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.js +0 -7
  324. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.d.ts +0 -3
  325. package/dist/treedx/client/support/contracts/treedx/health/contracts/health.js +0 -6
  326. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.d.ts +0 -3
  327. package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.js +0 -7
  328. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.d.ts +0 -2
  329. package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.js +0 -19
  330. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.d.ts +0 -3
  331. package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.js +0 -7
  332. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.d.ts +0 -3
  333. package/dist/treedx/client/support/contracts/treedx/health/contracts/status.js +0 -6
  334. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.d.ts +0 -3
  335. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.js +0 -7
  336. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.d.ts +0 -3
  337. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.js +0 -6
  338. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.d.ts +0 -3
  339. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.js +0 -7
  340. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.d.ts +0 -6
  341. package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.js +0 -23
  342. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.d.ts +0 -3
  343. package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.js +0 -8
  344. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.d.ts +0 -3
  345. package/dist/treedx/client/support/contracts/treedx/search/contracts/search.js +0 -7
  346. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.d.ts +0 -3
  347. package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.js +0 -8
  348. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.d.ts +0 -3
  349. package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.js +0 -8
  350. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.d.ts +0 -2
  351. package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.js +0 -15
  352. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.d.ts +0 -2
  353. package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.js +0 -38
  354. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.d.ts +0 -2
  355. package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.js +0 -15
  356. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.d.ts +0 -2
  357. package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.js +0 -15
  358. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.d.ts +0 -2
  359. package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.js +0 -14
  360. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.d.ts +0 -2
  361. package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.js +0 -14
  362. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.d.ts +0 -6
  363. package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.js +0 -41
  364. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.d.ts +0 -2
  365. package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.js +0 -14
  366. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.d.ts +0 -3
  367. package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.js +0 -7
  368. package/dist/treedx/client/support/creation/apply-changeset.d.ts +0 -3
  369. package/dist/treedx/client/support/creation/apply-changeset.js +0 -10
  370. package/dist/treedx/client/support/creation/apply-storage-migration.d.ts +0 -3
  371. package/dist/treedx/client/support/creation/apply-storage-migration.js +0 -7
  372. package/dist/treedx/client/support/creation/create-migration.d.ts +0 -6
  373. package/dist/treedx/client/support/creation/create-migration.js +0 -7
  374. package/dist/treedx/client/support/creation/export-artifact.d.ts +0 -3
  375. package/dist/treedx/client/support/creation/export-artifact.js +0 -8
  376. package/dist/treedx/client/support/creation/plan-storage-migration.d.ts +0 -3
  377. package/dist/treedx/client/support/creation/plan-storage-migration.js +0 -7
  378. package/dist/treedx/client/support/creation/request-binary.d.ts +0 -6
  379. package/dist/treedx/client/support/creation/request-binary.js +0 -42
  380. package/dist/treedx/client/support/creation/write-file.d.ts +0 -3
  381. package/dist/treedx/client/support/creation/write-file.js +0 -10
  382. package/dist/treedx/client/support/creation/write-files.d.ts +0 -3
  383. package/dist/treedx/client/support/creation/write-files.js +0 -12
  384. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.d.ts +0 -3
  385. package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.js +0 -7
  386. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.d.ts +0 -3
  387. package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.js +0 -7
  388. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.d.ts +0 -3
  389. package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.js +0 -9
  390. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.d.ts +0 -4
  391. package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.js +0 -6
  392. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.d.ts +0 -3
  393. package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.js +0 -7
  394. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.d.ts +0 -3
  395. package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.js +0 -7
  396. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.d.ts +0 -3
  397. package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.js +0 -7
  398. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.d.ts +0 -3
  399. package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.js +0 -7
  400. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.d.ts +0 -3
  401. package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.js +0 -10
  402. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.d.ts +0 -3
  403. package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.js +0 -9
  404. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.d.ts +0 -3
  405. package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.js +0 -7
  406. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.d.ts +0 -6
  407. package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.js +0 -7
  408. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.d.ts +0 -6
  409. package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.js +0 -7
  410. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.d.ts +0 -6
  411. package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.js +0 -6
  412. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.d.ts +0 -15
  413. package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.js +0 -6
  414. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.d.ts +0 -3
  415. package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.js +0 -7
  416. package/dist/treedx/client/support/retirement/cleanup-artifacts.d.ts +0 -3
  417. package/dist/treedx/client/support/retirement/cleanup-artifacts.js +0 -7
  418. package/dist/treedx/client/support/retirement/delete-artifact.d.ts +0 -3
  419. package/dist/treedx/client/support/retirement/delete-artifact.js +0 -7
  420. package/dist/treedx/client/support/retirement/delete-file.d.ts +0 -3
  421. package/dist/treedx/client/support/retirement/delete-file.js +0 -10
  422. package/dist/treedx/client/support/retirement/rollback-storage-migration.d.ts +0 -3
  423. package/dist/treedx/client/support/retirement/rollback-storage-migration.js +0 -7
  424. package/dist/treedx/client/support/updates/patch-file.d.ts +0 -3
  425. package/dist/treedx/client/support/updates/patch-file.js +0 -10
  426. package/dist/treedx/client/support/updates/refresh-search-index.d.ts +0 -3
  427. package/dist/treedx/client/support/updates/refresh-search-index.js +0 -8
  428. package/dist/treedx/client/treedx/blobs/contracts/download-blob.d.ts +0 -3
  429. package/dist/treedx/client/treedx/blobs/contracts/download-blob.js +0 -6
  430. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.d.ts +0 -3
  431. package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.js +0 -8
  432. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.d.ts +0 -3
  433. package/dist/treedx/client/treedx/blobs/creation/request-blob-download.js +0 -27
  434. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.d.ts +0 -3
  435. package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.js +0 -41
  436. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.d.ts +0 -3
  437. package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.js +0 -27
  438. package/dist/treedx/client/treedx/blobs/creation/upload-blob.d.ts +0 -3
  439. package/dist/treedx/client/treedx/blobs/creation/upload-blob.js +0 -6
  440. package/dist/treedx/client/treedx/blobs/creation/write-blob.d.ts +0 -3
  441. package/dist/treedx/client/treedx/blobs/creation/write-blob.js +0 -8
  442. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.d.ts +0 -3
  443. package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.js +0 -8
  444. package/dist/treedx/client/treedx/blobs/queries/read-blob.d.ts +0 -3
  445. package/dist/treedx/client/treedx/blobs/queries/read-blob.js +0 -10
  446. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.d.ts +0 -3
  447. package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.js +0 -7
  448. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.d.ts +0 -3
  449. package/dist/treedx/client/treedx/blobs/retirement/delete-blob.js +0 -8
  450. package/dist/treedx/client/treedx/federation/contracts/federated-query.d.ts +0 -3
  451. package/dist/treedx/client/treedx/federation/contracts/federated-query.js +0 -7
  452. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.d.ts +0 -3
  453. package/dist/treedx/client/treedx/federation/creation/plan-federated-query.js +0 -6
  454. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.d.ts +0 -3
  455. package/dist/treedx/client/treedx/federation/queries/check-mirror-health.js +0 -7
  456. package/dist/treedx/client/treedx/federation/updates/promote-mirror.d.ts +0 -3
  457. package/dist/treedx/client/treedx/federation/updates/promote-mirror.js +0 -7
  458. package/dist/treedx/client/treedx/federation/updates/sync-mirror.d.ts +0 -3
  459. package/dist/treedx/client/treedx/federation/updates/sync-mirror.js +0 -7
  460. package/dist/treedx/client/treedx/graph/contracts/federated-context.d.ts +0 -3
  461. package/dist/treedx/client/treedx/graph/contracts/federated-context.js +0 -7
  462. package/dist/treedx/client/treedx/graph/contracts/federated-graph.d.ts +0 -3
  463. package/dist/treedx/client/treedx/graph/contracts/federated-graph.js +0 -7
  464. package/dist/treedx/client/treedx/graph/contracts/graph-search.d.ts +0 -3
  465. package/dist/treedx/client/treedx/graph/contracts/graph-search.js +0 -8
  466. package/dist/treedx/client/treedx/graph/queries/get-graph-node.d.ts +0 -3
  467. package/dist/treedx/client/treedx/graph/queries/get-graph-node.js +0 -10
  468. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.d.ts +0 -3
  469. package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.js +0 -7
  470. package/dist/treedx/client/treedx/graph/queries/get-subgraph.d.ts +0 -3
  471. package/dist/treedx/client/treedx/graph/queries/get-subgraph.js +0 -7
  472. package/dist/treedx/client/treedx/graph/queries/query-graph.d.ts +0 -3
  473. package/dist/treedx/client/treedx/graph/queries/query-graph.js +0 -7
  474. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.d.ts +0 -3
  475. package/dist/treedx/client/treedx/graph/queries/search-graph-entities.js +0 -6
  476. package/dist/treedx/client/treedx/graph/queries/search-graph-files.d.ts +0 -3
  477. package/dist/treedx/client/treedx/graph/queries/search-graph-files.js +0 -6
  478. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.d.ts +0 -3
  479. package/dist/treedx/client/treedx/graph/queries/search-graph-sections.js +0 -6
  480. package/dist/treedx/client/treedx/graph/updates/refresh-graph.d.ts +0 -3
  481. package/dist/treedx/client/treedx/graph/updates/refresh-graph.js +0 -7
  482. package/dist/treedx/client/treedx/search/contracts/federated-search.d.ts +0 -3
  483. package/dist/treedx/client/treedx/search/contracts/federated-search.js +0 -7
  484. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.d.ts +0 -3
  485. package/dist/treedx/client/treedx/workspaces/creation/create-workspace.js +0 -7
  486. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.d.ts +0 -3
  487. package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.js +0 -12
  488. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.d.ts +0 -2
  489. package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.js +0 -6
  490. package/dist/treedx/generated/openapi-types.d.ts +0 -3662
  491. package/dist/treedx/support/client.d.ts +0 -251
  492. package/dist/treedx/support/client.js +0 -252
  493. package/dist/treedx/support/errors.d.ts +0 -13
  494. package/dist/treedx/support/errors.js +0 -17
  495. package/dist/treedx/types/tree-dx-actor.d.ts +0 -209
  496. package/dist/treedx/types/tree-dx-actor.js +0 -8
  497. package/dist/treedx/types/tree-dx-artifact-list-response.d.ts +0 -13
  498. package/dist/treedx/types/tree-dx-artifact-list-response.js +0 -0
  499. package/dist/treedx/types/tree-dx-changeset.d.ts +0 -51
  500. package/dist/treedx/types/tree-dx-changeset.js +0 -6
  501. package/dist/treedx/types/tree-dx-context-request.d.ts +0 -245
  502. package/dist/treedx/types/tree-dx-context-request.js +0 -0
  503. package/dist/treedx/types/tree-dx-exec-result.d.ts +0 -249
  504. package/dist/treedx/types/tree-dx-exec-result.js +0 -0
  505. package/dist/treedx/types/tree-dx-list-tree-request.d.ts +0 -222
  506. package/dist/treedx/types/tree-dx-list-tree-request.js +0 -0
  507. package/dist/treedx/types/tree-dx-push-request.d.ts +0 -229
  508. package/dist/treedx/types/tree-dx-push-request.js +0 -0
  509. /package/dist/{agent-capacity/contracts/operations/workflow-promotion.js → site-contracts/cloudflare.js} +0 -0
  510. /package/dist/{treedx/generated/openapi-types.js → site-contracts/platform.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const agentContextQueryContentSchema: z.ZodObject<{
2
+ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  title: z.ZodString;
5
5
  description: z.ZodString;
@@ -12,13 +12,13 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
12
12
  models: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
13
13
  paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
14
14
  }, "strict", z.ZodTypeAny, {
15
- kind: "code" | "content" | "mixed" | "graph";
16
- paths?: string[] | undefined;
15
+ kind: "code" | "content" | "graph" | "mixed";
17
16
  models?: string[] | undefined;
18
- }, {
19
- kind: "code" | "content" | "mixed" | "graph";
20
17
  paths?: string[] | undefined;
18
+ }, {
19
+ kind: "code" | "content" | "graph" | "mixed";
21
20
  models?: string[] | undefined;
21
+ paths?: string[] | undefined;
22
22
  }>;
23
23
  scope: z.ZodOptional<z.ZodString>;
24
24
  codeScopes: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -37,24 +37,104 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
37
37
  }>;
38
38
  tokenBudget: z.ZodNumber;
39
39
  format: z.ZodDefault<z.ZodEnum<["summary", "full", "sources", "list", "brief", "map"]>>;
40
+ sources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
41
+ scope: z.ZodLiteral<"current-project">;
42
+ }, "strict", z.ZodTypeAny, {
43
+ scope: "current-project";
44
+ }, {
45
+ scope: "current-project";
46
+ }>, z.ZodObject<{
47
+ scope: z.ZodLiteral<"team-library">;
48
+ }, "strict", z.ZodTypeAny, {
49
+ scope: "team-library";
50
+ }, {
51
+ scope: "team-library";
52
+ }>, z.ZodObject<{
53
+ scope: z.ZodLiteral<"same-team">;
54
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
55
+ projectSlugs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
56
+ }, "strict", z.ZodTypeAny, {
57
+ scope: "same-team";
58
+ projectIds: string[];
59
+ projectSlugs: string[];
60
+ }, {
61
+ scope: "same-team";
62
+ projectIds?: string[] | undefined;
63
+ projectSlugs?: string[] | undefined;
64
+ }>, z.ZodObject<{
65
+ scope: z.ZodLiteral<"shared-team">;
66
+ teamId: z.ZodString;
67
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
68
+ }, "strict", z.ZodTypeAny, {
69
+ teamId: string;
70
+ scope: "shared-team";
71
+ projectIds: string[];
72
+ }, {
73
+ teamId: string;
74
+ scope: "shared-team";
75
+ projectIds?: string[] | undefined;
76
+ }>]>, "many">>;
77
+ requirement: z.ZodDefault<z.ZodEnum<["required", "preferred"]>>;
78
+ priority: z.ZodDefault<z.ZodNumber>;
79
+ minimumBudget: z.ZodOptional<z.ZodNumber>;
80
+ maximumBudget: z.ZodOptional<z.ZodNumber>;
81
+ summarization: z.ZodDefault<z.ZodEnum<["none", "deterministic", "provider"]>>;
40
82
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
41
- required: z.ZodDefault<z.ZodBoolean>;
42
83
  }, "strict", z.ZodTypeAny, {
43
84
  id: string;
44
- required: boolean;
85
+ sources: ({
86
+ scope: "current-project";
87
+ } | {
88
+ scope: "team-library";
89
+ } | {
90
+ scope: "same-team";
91
+ projectIds: string[];
92
+ projectSlugs: string[];
93
+ } | {
94
+ teamId: string;
95
+ scope: "shared-team";
96
+ projectIds: string[];
97
+ })[];
98
+ purpose: string;
99
+ target: {
100
+ kind: "code" | "content" | "graph" | "mixed";
101
+ models?: string[] | undefined;
102
+ paths?: string[] | undefined;
103
+ };
45
104
  description: string;
46
- title: string;
47
105
  revision: number;
106
+ requirement: "required" | "preferred";
107
+ format: "map" | "sources" | "list" | "summary" | "full" | "brief";
48
108
  query: string;
109
+ depth: number;
110
+ title: string;
111
+ priority: number;
112
+ maturity: "draft" | "validated" | "simulated" | "proven";
113
+ relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
114
+ resultLimit: number;
115
+ contextBudget: {
116
+ maxItems: number;
117
+ maxCharacters?: number | undefined;
118
+ };
119
+ tokenBudget: number;
120
+ summarization: "provider" | "none" | "deterministic";
49
121
  filters: Record<string, unknown>;
122
+ scope?: string | undefined;
123
+ codeScopes?: string[] | undefined;
124
+ minimumBudget?: number | undefined;
125
+ maximumBudget?: number | undefined;
126
+ }, {
127
+ id: string;
128
+ purpose: string;
50
129
  target: {
51
- kind: "code" | "content" | "mixed" | "graph";
52
- paths?: string[] | undefined;
130
+ kind: "code" | "content" | "graph" | "mixed";
53
131
  models?: string[] | undefined;
132
+ paths?: string[] | undefined;
54
133
  };
55
- depth: number;
56
- purpose: string;
57
- relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
134
+ description: string;
135
+ revision: number;
136
+ query: string;
137
+ title: string;
58
138
  maturity: "draft" | "validated" | "simulated" | "proven";
59
139
  resultLimit: number;
60
140
  contextBudget: {
@@ -62,21 +142,85 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
62
142
  maxCharacters?: number | undefined;
63
143
  };
64
144
  tokenBudget: number;
65
- format: "map" | "summary" | "list" | "brief" | "full" | "sources";
145
+ sources?: ({
146
+ scope: "current-project";
147
+ } | {
148
+ scope: "team-library";
149
+ } | {
150
+ scope: "same-team";
151
+ projectIds?: string[] | undefined;
152
+ projectSlugs?: string[] | undefined;
153
+ } | {
154
+ teamId: string;
155
+ scope: "shared-team";
156
+ projectIds?: string[] | undefined;
157
+ })[] | undefined;
66
158
  scope?: string | undefined;
159
+ requirement?: "required" | "preferred" | undefined;
160
+ format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
161
+ depth?: number | undefined;
162
+ priority?: number | undefined;
67
163
  codeScopes?: string[] | undefined;
68
- }, {
164
+ relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
165
+ minimumBudget?: number | undefined;
166
+ maximumBudget?: number | undefined;
167
+ summarization?: "provider" | "none" | "deterministic" | undefined;
168
+ filters?: Record<string, unknown> | undefined;
169
+ }>, {
69
170
  id: string;
171
+ sources: ({
172
+ scope: "current-project";
173
+ } | {
174
+ scope: "team-library";
175
+ } | {
176
+ scope: "same-team";
177
+ projectIds: string[];
178
+ projectSlugs: string[];
179
+ } | {
180
+ teamId: string;
181
+ scope: "shared-team";
182
+ projectIds: string[];
183
+ })[];
184
+ purpose: string;
185
+ target: {
186
+ kind: "code" | "content" | "graph" | "mixed";
187
+ models?: string[] | undefined;
188
+ paths?: string[] | undefined;
189
+ };
70
190
  description: string;
71
- title: string;
72
191
  revision: number;
192
+ requirement: "required" | "preferred";
193
+ format: "map" | "sources" | "list" | "summary" | "full" | "brief";
73
194
  query: string;
195
+ depth: number;
196
+ title: string;
197
+ priority: number;
198
+ maturity: "draft" | "validated" | "simulated" | "proven";
199
+ relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
200
+ resultLimit: number;
201
+ contextBudget: {
202
+ maxItems: number;
203
+ maxCharacters?: number | undefined;
204
+ };
205
+ tokenBudget: number;
206
+ summarization: "provider" | "none" | "deterministic";
207
+ filters: Record<string, unknown>;
208
+ scope?: string | undefined;
209
+ codeScopes?: string[] | undefined;
210
+ minimumBudget?: number | undefined;
211
+ maximumBudget?: number | undefined;
212
+ }, {
213
+ id: string;
214
+ purpose: string;
74
215
  target: {
75
- kind: "code" | "content" | "mixed" | "graph";
76
- paths?: string[] | undefined;
216
+ kind: "code" | "content" | "graph" | "mixed";
77
217
  models?: string[] | undefined;
218
+ paths?: string[] | undefined;
78
219
  };
79
- purpose: string;
220
+ description: string;
221
+ revision: number;
222
+ query: string;
223
+ title: string;
80
224
  maturity: "draft" | "validated" | "simulated" | "proven";
81
225
  resultLimit: number;
82
226
  contextBudget: {
@@ -84,13 +228,30 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
84
228
  maxCharacters?: number | undefined;
85
229
  };
86
230
  tokenBudget: number;
87
- required?: boolean | undefined;
231
+ sources?: ({
232
+ scope: "current-project";
233
+ } | {
234
+ scope: "team-library";
235
+ } | {
236
+ scope: "same-team";
237
+ projectIds?: string[] | undefined;
238
+ projectSlugs?: string[] | undefined;
239
+ } | {
240
+ teamId: string;
241
+ scope: "shared-team";
242
+ projectIds?: string[] | undefined;
243
+ })[] | undefined;
88
244
  scope?: string | undefined;
89
- filters?: Record<string, unknown> | undefined;
245
+ requirement?: "required" | "preferred" | undefined;
246
+ format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
90
247
  depth?: number | undefined;
91
- relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
248
+ priority?: number | undefined;
92
249
  codeScopes?: string[] | undefined;
93
- format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
250
+ relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
251
+ minimumBudget?: number | undefined;
252
+ maximumBudget?: number | undefined;
253
+ summarization?: "provider" | "none" | "deterministic" | undefined;
254
+ filters?: Record<string, unknown> | undefined;
94
255
  }>;
95
256
  export declare const agentContextQuerySetContentSchema: z.ZodObject<{
96
257
  id: z.ZodString;
@@ -111,8 +272,8 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
111
272
  }, "strict", z.ZodTypeAny, {
112
273
  id: string;
113
274
  description: string;
114
- title: string;
115
275
  revision: number;
276
+ title: string;
116
277
  queryRefs: {
117
278
  id: string;
118
279
  revision: number;
@@ -121,8 +282,8 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
121
282
  }, {
122
283
  id: string;
123
284
  description: string;
124
- title: string;
125
285
  revision: number;
286
+ title: string;
126
287
  queryRefs: {
127
288
  id: string;
128
289
  revision: number;
@@ -140,24 +301,24 @@ export declare const agentInstructionTemplateContentSchema: z.ZodObject<{
140
301
  variables: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
141
302
  appliesToProfiles: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
142
303
  }, "strict", z.ZodTypeAny, {
304
+ kind: "message" | "status" | "summary" | "plan";
143
305
  id: string;
144
- kind: "message" | "summary" | "plan" | "status";
306
+ variables: string[];
145
307
  description: string;
146
- title: string;
147
308
  revision: number;
309
+ title: string;
148
310
  instructions: string;
149
- variables: string[];
150
311
  appliesToProfiles: string[];
151
312
  outputSkeleton?: string | undefined;
152
313
  }, {
314
+ kind: "message" | "status" | "summary" | "plan";
153
315
  id: string;
154
- kind: "message" | "summary" | "plan" | "status";
155
316
  description: string;
156
- title: string;
157
317
  revision: number;
318
+ title: string;
158
319
  instructions: string;
159
- outputSkeleton?: string | undefined;
160
320
  variables?: string[] | undefined;
321
+ outputSkeleton?: string | undefined;
161
322
  appliesToProfiles?: string[] | undefined;
162
323
  }>;
163
324
  export declare const discussionTopicContentSchema: z.ZodObject<{
@@ -169,355 +330,22 @@ export declare const discussionTopicContentSchema: z.ZodObject<{
169
330
  parentTopicId: z.ZodOptional<z.ZodString>;
170
331
  status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
171
332
  }, "strict", z.ZodTypeAny, {
333
+ status: "active" | "archived";
172
334
  id: string;
335
+ slug: string;
173
336
  description: string;
174
- status: "active" | "archived";
175
337
  title: string;
176
- slug: string;
177
338
  groupIds: string[];
178
339
  parentTopicId?: string | undefined;
179
340
  }, {
180
341
  id: string;
342
+ slug: string;
181
343
  description: string;
182
344
  title: string;
183
- slug: string;
184
345
  groupIds: string[];
185
346
  status?: "active" | "archived" | undefined;
186
347
  parentTopicId?: string | undefined;
187
348
  }>;
188
- export declare const assignmentPlanContentSchema: z.ZodObject<{
189
- id: z.ZodString;
190
- title: z.ZodString;
191
- description: z.ZodOptional<z.ZodString>;
192
- teamId: z.ZodString;
193
- projectId: z.ZodString;
194
- workdayId: z.ZodOptional<z.ZodString>;
195
- assignmentId: z.ZodOptional<z.ZodString>;
196
- createdAt: z.ZodDate;
197
- updatedAt: z.ZodOptional<z.ZodDate>;
198
- } & {
199
- status: z.ZodEnum<["draft", "ready", "active", "completed", "superseded"]>;
200
- revision: z.ZodNumber;
201
- objective: z.ZodString;
202
- completed: z.ZodDefault<z.ZodArray<z.ZodObject<{
203
- id: z.ZodString;
204
- title: z.ZodString;
205
- description: z.ZodString;
206
- }, "strict", z.ZodTypeAny, {
207
- id: string;
208
- description: string;
209
- title: string;
210
- }, {
211
- id: string;
212
- description: string;
213
- title: string;
214
- }>, "many">>;
215
- remaining: z.ZodDefault<z.ZodArray<z.ZodObject<{
216
- id: z.ZodString;
217
- title: z.ZodString;
218
- description: z.ZodString;
219
- }, "strict", z.ZodTypeAny, {
220
- id: string;
221
- description: string;
222
- title: string;
223
- }, {
224
- id: string;
225
- description: string;
226
- title: string;
227
- }>, "many">>;
228
- risks: z.ZodDefault<z.ZodArray<z.ZodObject<{
229
- id: z.ZodString;
230
- title: z.ZodString;
231
- description: z.ZodString;
232
- }, "strict", z.ZodTypeAny, {
233
- id: string;
234
- description: string;
235
- title: string;
236
- }, {
237
- id: string;
238
- description: string;
239
- title: string;
240
- }>, "many">>;
241
- resumeState: z.ZodOptional<z.ZodObject<{
242
- checkpoint: z.ZodString;
243
- nextAction: z.ZodString;
244
- contextRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
245
- }, "strict", z.ZodTypeAny, {
246
- checkpoint: string;
247
- nextAction: string;
248
- contextRefs: string[];
249
- }, {
250
- checkpoint: string;
251
- nextAction: string;
252
- contextRefs?: string[] | undefined;
253
- }>>;
254
- decisionId: z.ZodOptional<z.ZodString>;
255
- capacityPlanId: z.ZodOptional<z.ZodString>;
256
- }, "strict", z.ZodTypeAny, {
257
- id: string;
258
- status: "active" | "completed" | "ready" | "superseded" | "draft";
259
- projectId: string;
260
- completed: {
261
- id: string;
262
- description: string;
263
- title: string;
264
- }[];
265
- teamId: string;
266
- title: string;
267
- revision: number;
268
- objective: string;
269
- createdAt: Date;
270
- remaining: {
271
- id: string;
272
- description: string;
273
- title: string;
274
- }[];
275
- risks: {
276
- id: string;
277
- description: string;
278
- title: string;
279
- }[];
280
- description?: string | undefined;
281
- decisionId?: string | undefined;
282
- capacityPlanId?: string | undefined;
283
- assignmentId?: string | undefined;
284
- updatedAt?: Date | undefined;
285
- workdayId?: string | undefined;
286
- resumeState?: {
287
- checkpoint: string;
288
- nextAction: string;
289
- contextRefs: string[];
290
- } | undefined;
291
- }, {
292
- id: string;
293
- status: "active" | "completed" | "ready" | "superseded" | "draft";
294
- projectId: string;
295
- teamId: string;
296
- title: string;
297
- revision: number;
298
- objective: string;
299
- createdAt: Date;
300
- description?: string | undefined;
301
- completed?: {
302
- id: string;
303
- description: string;
304
- title: string;
305
- }[] | undefined;
306
- decisionId?: string | undefined;
307
- capacityPlanId?: string | undefined;
308
- assignmentId?: string | undefined;
309
- updatedAt?: Date | undefined;
310
- workdayId?: string | undefined;
311
- remaining?: {
312
- id: string;
313
- description: string;
314
- title: string;
315
- }[] | undefined;
316
- risks?: {
317
- id: string;
318
- description: string;
319
- title: string;
320
- }[] | undefined;
321
- resumeState?: {
322
- checkpoint: string;
323
- nextAction: string;
324
- contextRefs?: string[] | undefined;
325
- } | undefined;
326
- }>;
327
- export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
328
- id: z.ZodString;
329
- title: z.ZodString;
330
- description: z.ZodOptional<z.ZodString>;
331
- teamId: z.ZodString;
332
- projectId: z.ZodString;
333
- workdayId: z.ZodOptional<z.ZodString>;
334
- assignmentId: z.ZodOptional<z.ZodString>;
335
- createdAt: z.ZodDate;
336
- updatedAt: z.ZodOptional<z.ZodDate>;
337
- } & {
338
- status: z.ZodEnum<["pending", "admitted", "leased", "running", "waiting", "suspended", "completed", "failed", "cancelled"]>;
339
- sequence: z.ZodNumber;
340
- previousStatusRef: z.ZodOptional<z.ZodObject<{
341
- id: z.ZodString;
342
- revision: z.ZodNumber;
343
- }, "strict", z.ZodTypeAny, {
344
- id: string;
345
- revision: number;
346
- }, {
347
- id: string;
348
- revision: number;
349
- }>>;
350
- phase: z.ZodString;
351
- reason: z.ZodOptional<z.ZodString>;
352
- progress: z.ZodOptional<z.ZodNumber>;
353
- }, "strict", z.ZodTypeAny, {
354
- id: string;
355
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
356
- projectId: string;
357
- teamId: string;
358
- title: string;
359
- createdAt: Date;
360
- sequence: number;
361
- phase: string;
362
- description?: string | undefined;
363
- assignmentId?: string | undefined;
364
- updatedAt?: Date | undefined;
365
- workdayId?: string | undefined;
366
- reason?: string | undefined;
367
- previousStatusRef?: {
368
- id: string;
369
- revision: number;
370
- } | undefined;
371
- progress?: number | undefined;
372
- }, {
373
- id: string;
374
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
375
- projectId: string;
376
- teamId: string;
377
- title: string;
378
- createdAt: Date;
379
- sequence: number;
380
- phase: string;
381
- description?: string | undefined;
382
- assignmentId?: string | undefined;
383
- updatedAt?: Date | undefined;
384
- workdayId?: string | undefined;
385
- reason?: string | undefined;
386
- previousStatusRef?: {
387
- id: string;
388
- revision: number;
389
- } | undefined;
390
- progress?: number | undefined;
391
- }>, {
392
- id: string;
393
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
394
- projectId: string;
395
- teamId: string;
396
- title: string;
397
- createdAt: Date;
398
- sequence: number;
399
- phase: string;
400
- description?: string | undefined;
401
- assignmentId?: string | undefined;
402
- updatedAt?: Date | undefined;
403
- workdayId?: string | undefined;
404
- reason?: string | undefined;
405
- previousStatusRef?: {
406
- id: string;
407
- revision: number;
408
- } | undefined;
409
- progress?: number | undefined;
410
- }, {
411
- id: string;
412
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
413
- projectId: string;
414
- teamId: string;
415
- title: string;
416
- createdAt: Date;
417
- sequence: number;
418
- phase: string;
419
- description?: string | undefined;
420
- assignmentId?: string | undefined;
421
- updatedAt?: Date | undefined;
422
- workdayId?: string | undefined;
423
- reason?: string | undefined;
424
- previousStatusRef?: {
425
- id: string;
426
- revision: number;
427
- } | undefined;
428
- progress?: number | undefined;
429
- }>;
430
- export declare const assignmentSummaryContentSchema: z.ZodObject<{
431
- id: z.ZodString;
432
- title: z.ZodString;
433
- description: z.ZodOptional<z.ZodString>;
434
- teamId: z.ZodString;
435
- projectId: z.ZodString;
436
- workdayId: z.ZodOptional<z.ZodString>;
437
- assignmentId: z.ZodOptional<z.ZodString>;
438
- createdAt: z.ZodDate;
439
- updatedAt: z.ZodOptional<z.ZodDate>;
440
- } & {
441
- status: z.ZodEnum<["completed", "failed", "cancelled", "suspended"]>;
442
- summary: z.ZodString;
443
- lessons: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
444
- performance: z.ZodObject<{
445
- outcome: z.ZodString;
446
- metrics: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
447
- }, "strict", z.ZodTypeAny, {
448
- metrics: Record<string, number>;
449
- outcome: string;
450
- }, {
451
- outcome: string;
452
- metrics?: Record<string, number> | undefined;
453
- }>;
454
- blockers: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
455
- resumeState: z.ZodOptional<z.ZodObject<{
456
- checkpoint: z.ZodString;
457
- nextAction: z.ZodString;
458
- contextRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
459
- }, "strict", z.ZodTypeAny, {
460
- checkpoint: string;
461
- nextAction: string;
462
- contextRefs: string[];
463
- }, {
464
- checkpoint: string;
465
- nextAction: string;
466
- contextRefs?: string[] | undefined;
467
- }>>;
468
- artifactRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
469
- verificationRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
470
- }, "strict", z.ZodTypeAny, {
471
- id: string;
472
- summary: string;
473
- blockers: string[];
474
- status: "completed" | "cancelled" | "failed" | "suspended";
475
- projectId: string;
476
- teamId: string;
477
- title: string;
478
- createdAt: Date;
479
- artifactRefs: string[];
480
- lessons: string[];
481
- performance: {
482
- metrics: Record<string, number>;
483
- outcome: string;
484
- };
485
- verificationRefs: string[];
486
- description?: string | undefined;
487
- assignmentId?: string | undefined;
488
- updatedAt?: Date | undefined;
489
- workdayId?: string | undefined;
490
- resumeState?: {
491
- checkpoint: string;
492
- nextAction: string;
493
- contextRefs: string[];
494
- } | undefined;
495
- }, {
496
- id: string;
497
- summary: string;
498
- status: "completed" | "cancelled" | "failed" | "suspended";
499
- projectId: string;
500
- teamId: string;
501
- title: string;
502
- createdAt: Date;
503
- performance: {
504
- outcome: string;
505
- metrics?: Record<string, number> | undefined;
506
- };
507
- description?: string | undefined;
508
- blockers?: string[] | undefined;
509
- assignmentId?: string | undefined;
510
- updatedAt?: Date | undefined;
511
- workdayId?: string | undefined;
512
- artifactRefs?: string[] | undefined;
513
- resumeState?: {
514
- checkpoint: string;
515
- nextAction: string;
516
- contextRefs?: string[] | undefined;
517
- } | undefined;
518
- lessons?: string[] | undefined;
519
- verificationRefs?: string[] | undefined;
520
- }>;
521
349
  export declare const agentEvaluationContentSchema: z.ZodObject<{
522
350
  id: z.ZodString;
523
351
  title: z.ZodString;
@@ -529,7 +357,6 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
529
357
  assignmentId: z.ZodOptional<z.ZodString>;
530
358
  createdAt: z.ZodDate;
531
359
  updatedAt: z.ZodOptional<z.ZodDate>;
532
- } & {
533
360
  agentId: z.ZodString;
534
361
  agentDefinitionRef: z.ZodObject<{
535
362
  id: z.ZodString;
@@ -582,26 +409,33 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
582
409
  notes: z.ZodOptional<z.ZodString>;
583
410
  }, "strict", z.ZodTypeAny, {
584
411
  id: string;
585
- outcome: "failed" | "passed" | "not-applicable";
412
+ outcome: "passed" | "failed" | "not-applicable";
586
413
  evidenceRefs: string[];
587
414
  notes?: string | undefined;
588
415
  }, {
589
416
  id: string;
590
- outcome: "failed" | "passed" | "not-applicable";
417
+ outcome: "passed" | "failed" | "not-applicable";
591
418
  notes?: string | undefined;
592
419
  evidenceRefs?: string[] | undefined;
593
420
  }>, "many">;
594
- }, "strict", z.ZodTypeAny, {
595
- id: string;
421
+ }, "strip", z.ZodTypeAny, {
596
422
  status: string;
423
+ id: string;
597
424
  projectId: string;
598
425
  teamId: string;
599
- title: string;
600
426
  createdAt: Date;
427
+ outcome: "passed" | "failed" | "needs-revision";
428
+ title: string;
429
+ agentId: string;
601
430
  contextQueryRefs: {
602
431
  id: string;
603
432
  revision: number;
604
433
  }[];
434
+ agentDefinitionRef: {
435
+ id: string;
436
+ revision: number;
437
+ };
438
+ activityProfile: string;
605
439
  contextQuerySetRefs: {
606
440
  id: string;
607
441
  revision: number;
@@ -610,34 +444,27 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
610
444
  id: string;
611
445
  revision: number;
612
446
  }[];
613
- agentId: string;
614
- outcome: "failed" | "passed" | "needs-revision";
615
- agentDefinitionRef: {
616
- id: string;
617
- revision: number;
618
- };
619
- activityProfile: string;
620
447
  evaluatorId: string;
621
448
  criteria: {
622
449
  id: string;
623
- outcome: "failed" | "passed" | "not-applicable";
450
+ outcome: "passed" | "failed" | "not-applicable";
624
451
  evidenceRefs: string[];
625
452
  notes?: string | undefined;
626
453
  }[];
627
- description?: string | undefined;
628
454
  assignmentId?: string | undefined;
455
+ description?: string | undefined;
629
456
  updatedAt?: Date | undefined;
630
457
  workdayId?: string | undefined;
631
458
  score?: number | undefined;
632
459
  }, {
633
- id: string;
634
460
  status: string;
461
+ id: string;
635
462
  projectId: string;
636
463
  teamId: string;
637
- title: string;
638
464
  createdAt: Date;
465
+ outcome: "passed" | "failed" | "needs-revision";
466
+ title: string;
639
467
  agentId: string;
640
- outcome: "failed" | "passed" | "needs-revision";
641
468
  agentDefinitionRef: {
642
469
  id: string;
643
470
  revision: number;
@@ -646,13 +473,14 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
646
473
  evaluatorId: string;
647
474
  criteria: {
648
475
  id: string;
649
- outcome: "failed" | "passed" | "not-applicable";
476
+ outcome: "passed" | "failed" | "not-applicable";
650
477
  notes?: string | undefined;
651
478
  evidenceRefs?: string[] | undefined;
652
479
  }[];
653
- description?: string | undefined;
654
480
  assignmentId?: string | undefined;
481
+ description?: string | undefined;
655
482
  updatedAt?: Date | undefined;
483
+ workdayId?: string | undefined;
656
484
  contextQueryRefs?: {
657
485
  id: string;
658
486
  revision: number;
@@ -665,11 +493,10 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
665
493
  id: string;
666
494
  revision: number;
667
495
  }[] | undefined;
668
- workdayId?: string | undefined;
669
496
  score?: number | undefined;
670
497
  }>;
671
498
  export declare const agentOperationalContentSchemas: {
672
- agent_context_query: z.ZodObject<{
499
+ agent_context_query: z.ZodEffects<z.ZodObject<{
673
500
  id: z.ZodString;
674
501
  title: z.ZodString;
675
502
  description: z.ZodString;
@@ -682,13 +509,13 @@ export declare const agentOperationalContentSchemas: {
682
509
  models: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
683
510
  paths: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
684
511
  }, "strict", z.ZodTypeAny, {
685
- kind: "code" | "content" | "mixed" | "graph";
686
- paths?: string[] | undefined;
512
+ kind: "code" | "content" | "graph" | "mixed";
687
513
  models?: string[] | undefined;
688
- }, {
689
- kind: "code" | "content" | "mixed" | "graph";
690
514
  paths?: string[] | undefined;
515
+ }, {
516
+ kind: "code" | "content" | "graph" | "mixed";
691
517
  models?: string[] | undefined;
518
+ paths?: string[] | undefined;
692
519
  }>;
693
520
  scope: z.ZodOptional<z.ZodString>;
694
521
  codeScopes: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -707,46 +534,190 @@ export declare const agentOperationalContentSchemas: {
707
534
  }>;
708
535
  tokenBudget: z.ZodNumber;
709
536
  format: z.ZodDefault<z.ZodEnum<["summary", "full", "sources", "list", "brief", "map"]>>;
537
+ sources: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
538
+ scope: z.ZodLiteral<"current-project">;
539
+ }, "strict", z.ZodTypeAny, {
540
+ scope: "current-project";
541
+ }, {
542
+ scope: "current-project";
543
+ }>, z.ZodObject<{
544
+ scope: z.ZodLiteral<"team-library">;
545
+ }, "strict", z.ZodTypeAny, {
546
+ scope: "team-library";
547
+ }, {
548
+ scope: "team-library";
549
+ }>, z.ZodObject<{
550
+ scope: z.ZodLiteral<"same-team">;
551
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
552
+ projectSlugs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
553
+ }, "strict", z.ZodTypeAny, {
554
+ scope: "same-team";
555
+ projectIds: string[];
556
+ projectSlugs: string[];
557
+ }, {
558
+ scope: "same-team";
559
+ projectIds?: string[] | undefined;
560
+ projectSlugs?: string[] | undefined;
561
+ }>, z.ZodObject<{
562
+ scope: z.ZodLiteral<"shared-team">;
563
+ teamId: z.ZodString;
564
+ projectIds: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
565
+ }, "strict", z.ZodTypeAny, {
566
+ teamId: string;
567
+ scope: "shared-team";
568
+ projectIds: string[];
569
+ }, {
570
+ teamId: string;
571
+ scope: "shared-team";
572
+ projectIds?: string[] | undefined;
573
+ }>]>, "many">>;
574
+ requirement: z.ZodDefault<z.ZodEnum<["required", "preferred"]>>;
575
+ priority: z.ZodDefault<z.ZodNumber>;
576
+ minimumBudget: z.ZodOptional<z.ZodNumber>;
577
+ maximumBudget: z.ZodOptional<z.ZodNumber>;
578
+ summarization: z.ZodDefault<z.ZodEnum<["none", "deterministic", "provider"]>>;
710
579
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
711
- required: z.ZodDefault<z.ZodBoolean>;
712
580
  }, "strict", z.ZodTypeAny, {
713
581
  id: string;
714
- required: boolean;
582
+ sources: ({
583
+ scope: "current-project";
584
+ } | {
585
+ scope: "team-library";
586
+ } | {
587
+ scope: "same-team";
588
+ projectIds: string[];
589
+ projectSlugs: string[];
590
+ } | {
591
+ teamId: string;
592
+ scope: "shared-team";
593
+ projectIds: string[];
594
+ })[];
595
+ purpose: string;
596
+ target: {
597
+ kind: "code" | "content" | "graph" | "mixed";
598
+ models?: string[] | undefined;
599
+ paths?: string[] | undefined;
600
+ };
715
601
  description: string;
602
+ revision: number;
603
+ requirement: "required" | "preferred";
604
+ format: "map" | "sources" | "list" | "summary" | "full" | "brief";
605
+ query: string;
606
+ depth: number;
716
607
  title: string;
608
+ priority: number;
609
+ maturity: "draft" | "validated" | "simulated" | "proven";
610
+ relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
611
+ resultLimit: number;
612
+ contextBudget: {
613
+ maxItems: number;
614
+ maxCharacters?: number | undefined;
615
+ };
616
+ tokenBudget: number;
617
+ summarization: "provider" | "none" | "deterministic";
618
+ filters: Record<string, unknown>;
619
+ scope?: string | undefined;
620
+ codeScopes?: string[] | undefined;
621
+ minimumBudget?: number | undefined;
622
+ maximumBudget?: number | undefined;
623
+ }, {
624
+ id: string;
625
+ purpose: string;
626
+ target: {
627
+ kind: "code" | "content" | "graph" | "mixed";
628
+ models?: string[] | undefined;
629
+ paths?: string[] | undefined;
630
+ };
631
+ description: string;
717
632
  revision: number;
718
633
  query: string;
719
- filters: Record<string, unknown>;
634
+ title: string;
635
+ maturity: "draft" | "validated" | "simulated" | "proven";
636
+ resultLimit: number;
637
+ contextBudget: {
638
+ maxItems: number;
639
+ maxCharacters?: number | undefined;
640
+ };
641
+ tokenBudget: number;
642
+ sources?: ({
643
+ scope: "current-project";
644
+ } | {
645
+ scope: "team-library";
646
+ } | {
647
+ scope: "same-team";
648
+ projectIds?: string[] | undefined;
649
+ projectSlugs?: string[] | undefined;
650
+ } | {
651
+ teamId: string;
652
+ scope: "shared-team";
653
+ projectIds?: string[] | undefined;
654
+ })[] | undefined;
655
+ scope?: string | undefined;
656
+ requirement?: "required" | "preferred" | undefined;
657
+ format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
658
+ depth?: number | undefined;
659
+ priority?: number | undefined;
660
+ codeScopes?: string[] | undefined;
661
+ relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
662
+ minimumBudget?: number | undefined;
663
+ maximumBudget?: number | undefined;
664
+ summarization?: "provider" | "none" | "deterministic" | undefined;
665
+ filters?: Record<string, unknown> | undefined;
666
+ }>, {
667
+ id: string;
668
+ sources: ({
669
+ scope: "current-project";
670
+ } | {
671
+ scope: "team-library";
672
+ } | {
673
+ scope: "same-team";
674
+ projectIds: string[];
675
+ projectSlugs: string[];
676
+ } | {
677
+ teamId: string;
678
+ scope: "shared-team";
679
+ projectIds: string[];
680
+ })[];
681
+ purpose: string;
720
682
  target: {
721
- kind: "code" | "content" | "mixed" | "graph";
722
- paths?: string[] | undefined;
683
+ kind: "code" | "content" | "graph" | "mixed";
723
684
  models?: string[] | undefined;
685
+ paths?: string[] | undefined;
724
686
  };
687
+ description: string;
688
+ revision: number;
689
+ requirement: "required" | "preferred";
690
+ format: "map" | "sources" | "list" | "summary" | "full" | "brief";
691
+ query: string;
725
692
  depth: number;
726
- purpose: string;
727
- relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
693
+ title: string;
694
+ priority: number;
728
695
  maturity: "draft" | "validated" | "simulated" | "proven";
696
+ relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
729
697
  resultLimit: number;
730
698
  contextBudget: {
731
699
  maxItems: number;
732
700
  maxCharacters?: number | undefined;
733
701
  };
734
702
  tokenBudget: number;
735
- format: "map" | "summary" | "list" | "brief" | "full" | "sources";
703
+ summarization: "provider" | "none" | "deterministic";
704
+ filters: Record<string, unknown>;
736
705
  scope?: string | undefined;
737
706
  codeScopes?: string[] | undefined;
707
+ minimumBudget?: number | undefined;
708
+ maximumBudget?: number | undefined;
738
709
  }, {
739
710
  id: string;
740
- description: string;
741
- title: string;
742
- revision: number;
743
- query: string;
711
+ purpose: string;
744
712
  target: {
745
- kind: "code" | "content" | "mixed" | "graph";
746
- paths?: string[] | undefined;
713
+ kind: "code" | "content" | "graph" | "mixed";
747
714
  models?: string[] | undefined;
715
+ paths?: string[] | undefined;
748
716
  };
749
- purpose: string;
717
+ description: string;
718
+ revision: number;
719
+ query: string;
720
+ title: string;
750
721
  maturity: "draft" | "validated" | "simulated" | "proven";
751
722
  resultLimit: number;
752
723
  contextBudget: {
@@ -754,13 +725,30 @@ export declare const agentOperationalContentSchemas: {
754
725
  maxCharacters?: number | undefined;
755
726
  };
756
727
  tokenBudget: number;
757
- required?: boolean | undefined;
728
+ sources?: ({
729
+ scope: "current-project";
730
+ } | {
731
+ scope: "team-library";
732
+ } | {
733
+ scope: "same-team";
734
+ projectIds?: string[] | undefined;
735
+ projectSlugs?: string[] | undefined;
736
+ } | {
737
+ teamId: string;
738
+ scope: "shared-team";
739
+ projectIds?: string[] | undefined;
740
+ })[] | undefined;
758
741
  scope?: string | undefined;
759
- filters?: Record<string, unknown> | undefined;
742
+ requirement?: "required" | "preferred" | undefined;
743
+ format?: "map" | "sources" | "list" | "summary" | "full" | "brief" | undefined;
760
744
  depth?: number | undefined;
761
- relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
745
+ priority?: number | undefined;
762
746
  codeScopes?: string[] | undefined;
763
- format?: "map" | "summary" | "list" | "brief" | "full" | "sources" | undefined;
747
+ relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
748
+ minimumBudget?: number | undefined;
749
+ maximumBudget?: number | undefined;
750
+ summarization?: "provider" | "none" | "deterministic" | undefined;
751
+ filters?: Record<string, unknown> | undefined;
764
752
  }>;
765
753
  agent_context_query_set: z.ZodObject<{
766
754
  id: z.ZodString;
@@ -781,8 +769,8 @@ export declare const agentOperationalContentSchemas: {
781
769
  }, "strict", z.ZodTypeAny, {
782
770
  id: string;
783
771
  description: string;
784
- title: string;
785
772
  revision: number;
773
+ title: string;
786
774
  queryRefs: {
787
775
  id: string;
788
776
  revision: number;
@@ -791,8 +779,8 @@ export declare const agentOperationalContentSchemas: {
791
779
  }, {
792
780
  id: string;
793
781
  description: string;
794
- title: string;
795
782
  revision: number;
783
+ title: string;
796
784
  queryRefs: {
797
785
  id: string;
798
786
  revision: number;
@@ -810,24 +798,24 @@ export declare const agentOperationalContentSchemas: {
810
798
  variables: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
811
799
  appliesToProfiles: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
812
800
  }, "strict", z.ZodTypeAny, {
801
+ kind: "message" | "status" | "summary" | "plan";
813
802
  id: string;
814
- kind: "message" | "summary" | "plan" | "status";
803
+ variables: string[];
815
804
  description: string;
816
- title: string;
817
805
  revision: number;
806
+ title: string;
818
807
  instructions: string;
819
- variables: string[];
820
808
  appliesToProfiles: string[];
821
809
  outputSkeleton?: string | undefined;
822
810
  }, {
811
+ kind: "message" | "status" | "summary" | "plan";
823
812
  id: string;
824
- kind: "message" | "summary" | "plan" | "status";
825
813
  description: string;
826
- title: string;
827
814
  revision: number;
815
+ title: string;
828
816
  instructions: string;
829
- outputSkeleton?: string | undefined;
830
817
  variables?: string[] | undefined;
818
+ outputSkeleton?: string | undefined;
831
819
  appliesToProfiles?: string[] | undefined;
832
820
  }>;
833
821
  discussion_topic: z.ZodObject<{
@@ -839,355 +827,22 @@ export declare const agentOperationalContentSchemas: {
839
827
  parentTopicId: z.ZodOptional<z.ZodString>;
840
828
  status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
841
829
  }, "strict", z.ZodTypeAny, {
830
+ status: "active" | "archived";
842
831
  id: string;
832
+ slug: string;
843
833
  description: string;
844
- status: "active" | "archived";
845
834
  title: string;
846
- slug: string;
847
835
  groupIds: string[];
848
836
  parentTopicId?: string | undefined;
849
837
  }, {
850
838
  id: string;
839
+ slug: string;
851
840
  description: string;
852
841
  title: string;
853
- slug: string;
854
842
  groupIds: string[];
855
843
  status?: "active" | "archived" | undefined;
856
844
  parentTopicId?: string | undefined;
857
845
  }>;
858
- assignment_plan: z.ZodObject<{
859
- id: z.ZodString;
860
- title: z.ZodString;
861
- description: z.ZodOptional<z.ZodString>;
862
- teamId: z.ZodString;
863
- projectId: z.ZodString;
864
- workdayId: z.ZodOptional<z.ZodString>;
865
- assignmentId: z.ZodOptional<z.ZodString>;
866
- createdAt: z.ZodDate;
867
- updatedAt: z.ZodOptional<z.ZodDate>;
868
- } & {
869
- status: z.ZodEnum<["draft", "ready", "active", "completed", "superseded"]>;
870
- revision: z.ZodNumber;
871
- objective: z.ZodString;
872
- completed: z.ZodDefault<z.ZodArray<z.ZodObject<{
873
- id: z.ZodString;
874
- title: z.ZodString;
875
- description: z.ZodString;
876
- }, "strict", z.ZodTypeAny, {
877
- id: string;
878
- description: string;
879
- title: string;
880
- }, {
881
- id: string;
882
- description: string;
883
- title: string;
884
- }>, "many">>;
885
- remaining: z.ZodDefault<z.ZodArray<z.ZodObject<{
886
- id: z.ZodString;
887
- title: z.ZodString;
888
- description: z.ZodString;
889
- }, "strict", z.ZodTypeAny, {
890
- id: string;
891
- description: string;
892
- title: string;
893
- }, {
894
- id: string;
895
- description: string;
896
- title: string;
897
- }>, "many">>;
898
- risks: z.ZodDefault<z.ZodArray<z.ZodObject<{
899
- id: z.ZodString;
900
- title: z.ZodString;
901
- description: z.ZodString;
902
- }, "strict", z.ZodTypeAny, {
903
- id: string;
904
- description: string;
905
- title: string;
906
- }, {
907
- id: string;
908
- description: string;
909
- title: string;
910
- }>, "many">>;
911
- resumeState: z.ZodOptional<z.ZodObject<{
912
- checkpoint: z.ZodString;
913
- nextAction: z.ZodString;
914
- contextRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
915
- }, "strict", z.ZodTypeAny, {
916
- checkpoint: string;
917
- nextAction: string;
918
- contextRefs: string[];
919
- }, {
920
- checkpoint: string;
921
- nextAction: string;
922
- contextRefs?: string[] | undefined;
923
- }>>;
924
- decisionId: z.ZodOptional<z.ZodString>;
925
- capacityPlanId: z.ZodOptional<z.ZodString>;
926
- }, "strict", z.ZodTypeAny, {
927
- id: string;
928
- status: "active" | "completed" | "ready" | "superseded" | "draft";
929
- projectId: string;
930
- completed: {
931
- id: string;
932
- description: string;
933
- title: string;
934
- }[];
935
- teamId: string;
936
- title: string;
937
- revision: number;
938
- objective: string;
939
- createdAt: Date;
940
- remaining: {
941
- id: string;
942
- description: string;
943
- title: string;
944
- }[];
945
- risks: {
946
- id: string;
947
- description: string;
948
- title: string;
949
- }[];
950
- description?: string | undefined;
951
- decisionId?: string | undefined;
952
- capacityPlanId?: string | undefined;
953
- assignmentId?: string | undefined;
954
- updatedAt?: Date | undefined;
955
- workdayId?: string | undefined;
956
- resumeState?: {
957
- checkpoint: string;
958
- nextAction: string;
959
- contextRefs: string[];
960
- } | undefined;
961
- }, {
962
- id: string;
963
- status: "active" | "completed" | "ready" | "superseded" | "draft";
964
- projectId: string;
965
- teamId: string;
966
- title: string;
967
- revision: number;
968
- objective: string;
969
- createdAt: Date;
970
- description?: string | undefined;
971
- completed?: {
972
- id: string;
973
- description: string;
974
- title: string;
975
- }[] | undefined;
976
- decisionId?: string | undefined;
977
- capacityPlanId?: string | undefined;
978
- assignmentId?: string | undefined;
979
- updatedAt?: Date | undefined;
980
- workdayId?: string | undefined;
981
- remaining?: {
982
- id: string;
983
- description: string;
984
- title: string;
985
- }[] | undefined;
986
- risks?: {
987
- id: string;
988
- description: string;
989
- title: string;
990
- }[] | undefined;
991
- resumeState?: {
992
- checkpoint: string;
993
- nextAction: string;
994
- contextRefs?: string[] | undefined;
995
- } | undefined;
996
- }>;
997
- assignment_status: z.ZodEffects<z.ZodObject<{
998
- id: z.ZodString;
999
- title: z.ZodString;
1000
- description: z.ZodOptional<z.ZodString>;
1001
- teamId: z.ZodString;
1002
- projectId: z.ZodString;
1003
- workdayId: z.ZodOptional<z.ZodString>;
1004
- assignmentId: z.ZodOptional<z.ZodString>;
1005
- createdAt: z.ZodDate;
1006
- updatedAt: z.ZodOptional<z.ZodDate>;
1007
- } & {
1008
- status: z.ZodEnum<["pending", "admitted", "leased", "running", "waiting", "suspended", "completed", "failed", "cancelled"]>;
1009
- sequence: z.ZodNumber;
1010
- previousStatusRef: z.ZodOptional<z.ZodObject<{
1011
- id: z.ZodString;
1012
- revision: z.ZodNumber;
1013
- }, "strict", z.ZodTypeAny, {
1014
- id: string;
1015
- revision: number;
1016
- }, {
1017
- id: string;
1018
- revision: number;
1019
- }>>;
1020
- phase: z.ZodString;
1021
- reason: z.ZodOptional<z.ZodString>;
1022
- progress: z.ZodOptional<z.ZodNumber>;
1023
- }, "strict", z.ZodTypeAny, {
1024
- id: string;
1025
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
1026
- projectId: string;
1027
- teamId: string;
1028
- title: string;
1029
- createdAt: Date;
1030
- sequence: number;
1031
- phase: string;
1032
- description?: string | undefined;
1033
- assignmentId?: string | undefined;
1034
- updatedAt?: Date | undefined;
1035
- workdayId?: string | undefined;
1036
- reason?: string | undefined;
1037
- previousStatusRef?: {
1038
- id: string;
1039
- revision: number;
1040
- } | undefined;
1041
- progress?: number | undefined;
1042
- }, {
1043
- id: string;
1044
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
1045
- projectId: string;
1046
- teamId: string;
1047
- title: string;
1048
- createdAt: Date;
1049
- sequence: number;
1050
- phase: string;
1051
- description?: string | undefined;
1052
- assignmentId?: string | undefined;
1053
- updatedAt?: Date | undefined;
1054
- workdayId?: string | undefined;
1055
- reason?: string | undefined;
1056
- previousStatusRef?: {
1057
- id: string;
1058
- revision: number;
1059
- } | undefined;
1060
- progress?: number | undefined;
1061
- }>, {
1062
- id: string;
1063
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
1064
- projectId: string;
1065
- teamId: string;
1066
- title: string;
1067
- createdAt: Date;
1068
- sequence: number;
1069
- phase: string;
1070
- description?: string | undefined;
1071
- assignmentId?: string | undefined;
1072
- updatedAt?: Date | undefined;
1073
- workdayId?: string | undefined;
1074
- reason?: string | undefined;
1075
- previousStatusRef?: {
1076
- id: string;
1077
- revision: number;
1078
- } | undefined;
1079
- progress?: number | undefined;
1080
- }, {
1081
- id: string;
1082
- status: "completed" | "cancelled" | "failed" | "pending" | "running" | "waiting" | "suspended" | "admitted" | "leased";
1083
- projectId: string;
1084
- teamId: string;
1085
- title: string;
1086
- createdAt: Date;
1087
- sequence: number;
1088
- phase: string;
1089
- description?: string | undefined;
1090
- assignmentId?: string | undefined;
1091
- updatedAt?: Date | undefined;
1092
- workdayId?: string | undefined;
1093
- reason?: string | undefined;
1094
- previousStatusRef?: {
1095
- id: string;
1096
- revision: number;
1097
- } | undefined;
1098
- progress?: number | undefined;
1099
- }>;
1100
- assignment_summary: z.ZodObject<{
1101
- id: z.ZodString;
1102
- title: z.ZodString;
1103
- description: z.ZodOptional<z.ZodString>;
1104
- teamId: z.ZodString;
1105
- projectId: z.ZodString;
1106
- workdayId: z.ZodOptional<z.ZodString>;
1107
- assignmentId: z.ZodOptional<z.ZodString>;
1108
- createdAt: z.ZodDate;
1109
- updatedAt: z.ZodOptional<z.ZodDate>;
1110
- } & {
1111
- status: z.ZodEnum<["completed", "failed", "cancelled", "suspended"]>;
1112
- summary: z.ZodString;
1113
- lessons: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1114
- performance: z.ZodObject<{
1115
- outcome: z.ZodString;
1116
- metrics: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1117
- }, "strict", z.ZodTypeAny, {
1118
- metrics: Record<string, number>;
1119
- outcome: string;
1120
- }, {
1121
- outcome: string;
1122
- metrics?: Record<string, number> | undefined;
1123
- }>;
1124
- blockers: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1125
- resumeState: z.ZodOptional<z.ZodObject<{
1126
- checkpoint: z.ZodString;
1127
- nextAction: z.ZodString;
1128
- contextRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1129
- }, "strict", z.ZodTypeAny, {
1130
- checkpoint: string;
1131
- nextAction: string;
1132
- contextRefs: string[];
1133
- }, {
1134
- checkpoint: string;
1135
- nextAction: string;
1136
- contextRefs?: string[] | undefined;
1137
- }>>;
1138
- artifactRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1139
- verificationRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1140
- }, "strict", z.ZodTypeAny, {
1141
- id: string;
1142
- summary: string;
1143
- blockers: string[];
1144
- status: "completed" | "cancelled" | "failed" | "suspended";
1145
- projectId: string;
1146
- teamId: string;
1147
- title: string;
1148
- createdAt: Date;
1149
- artifactRefs: string[];
1150
- lessons: string[];
1151
- performance: {
1152
- metrics: Record<string, number>;
1153
- outcome: string;
1154
- };
1155
- verificationRefs: string[];
1156
- description?: string | undefined;
1157
- assignmentId?: string | undefined;
1158
- updatedAt?: Date | undefined;
1159
- workdayId?: string | undefined;
1160
- resumeState?: {
1161
- checkpoint: string;
1162
- nextAction: string;
1163
- contextRefs: string[];
1164
- } | undefined;
1165
- }, {
1166
- id: string;
1167
- summary: string;
1168
- status: "completed" | "cancelled" | "failed" | "suspended";
1169
- projectId: string;
1170
- teamId: string;
1171
- title: string;
1172
- createdAt: Date;
1173
- performance: {
1174
- outcome: string;
1175
- metrics?: Record<string, number> | undefined;
1176
- };
1177
- description?: string | undefined;
1178
- blockers?: string[] | undefined;
1179
- assignmentId?: string | undefined;
1180
- updatedAt?: Date | undefined;
1181
- workdayId?: string | undefined;
1182
- artifactRefs?: string[] | undefined;
1183
- resumeState?: {
1184
- checkpoint: string;
1185
- nextAction: string;
1186
- contextRefs?: string[] | undefined;
1187
- } | undefined;
1188
- lessons?: string[] | undefined;
1189
- verificationRefs?: string[] | undefined;
1190
- }>;
1191
846
  agent_evaluation: z.ZodObject<{
1192
847
  id: z.ZodString;
1193
848
  title: z.ZodString;
@@ -1199,7 +854,6 @@ export declare const agentOperationalContentSchemas: {
1199
854
  assignmentId: z.ZodOptional<z.ZodString>;
1200
855
  createdAt: z.ZodDate;
1201
856
  updatedAt: z.ZodOptional<z.ZodDate>;
1202
- } & {
1203
857
  agentId: z.ZodString;
1204
858
  agentDefinitionRef: z.ZodObject<{
1205
859
  id: z.ZodString;
@@ -1252,26 +906,33 @@ export declare const agentOperationalContentSchemas: {
1252
906
  notes: z.ZodOptional<z.ZodString>;
1253
907
  }, "strict", z.ZodTypeAny, {
1254
908
  id: string;
1255
- outcome: "failed" | "passed" | "not-applicable";
909
+ outcome: "passed" | "failed" | "not-applicable";
1256
910
  evidenceRefs: string[];
1257
911
  notes?: string | undefined;
1258
912
  }, {
1259
913
  id: string;
1260
- outcome: "failed" | "passed" | "not-applicable";
914
+ outcome: "passed" | "failed" | "not-applicable";
1261
915
  notes?: string | undefined;
1262
916
  evidenceRefs?: string[] | undefined;
1263
917
  }>, "many">;
1264
- }, "strict", z.ZodTypeAny, {
1265
- id: string;
918
+ }, "strip", z.ZodTypeAny, {
1266
919
  status: string;
920
+ id: string;
1267
921
  projectId: string;
1268
922
  teamId: string;
1269
- title: string;
1270
923
  createdAt: Date;
924
+ outcome: "passed" | "failed" | "needs-revision";
925
+ title: string;
926
+ agentId: string;
1271
927
  contextQueryRefs: {
1272
928
  id: string;
1273
929
  revision: number;
1274
930
  }[];
931
+ agentDefinitionRef: {
932
+ id: string;
933
+ revision: number;
934
+ };
935
+ activityProfile: string;
1275
936
  contextQuerySetRefs: {
1276
937
  id: string;
1277
938
  revision: number;
@@ -1280,34 +941,27 @@ export declare const agentOperationalContentSchemas: {
1280
941
  id: string;
1281
942
  revision: number;
1282
943
  }[];
1283
- agentId: string;
1284
- outcome: "failed" | "passed" | "needs-revision";
1285
- agentDefinitionRef: {
1286
- id: string;
1287
- revision: number;
1288
- };
1289
- activityProfile: string;
1290
944
  evaluatorId: string;
1291
945
  criteria: {
1292
946
  id: string;
1293
- outcome: "failed" | "passed" | "not-applicable";
947
+ outcome: "passed" | "failed" | "not-applicable";
1294
948
  evidenceRefs: string[];
1295
949
  notes?: string | undefined;
1296
950
  }[];
1297
- description?: string | undefined;
1298
951
  assignmentId?: string | undefined;
952
+ description?: string | undefined;
1299
953
  updatedAt?: Date | undefined;
1300
954
  workdayId?: string | undefined;
1301
955
  score?: number | undefined;
1302
956
  }, {
1303
- id: string;
1304
957
  status: string;
958
+ id: string;
1305
959
  projectId: string;
1306
960
  teamId: string;
1307
- title: string;
1308
961
  createdAt: Date;
962
+ outcome: "passed" | "failed" | "needs-revision";
963
+ title: string;
1309
964
  agentId: string;
1310
- outcome: "failed" | "passed" | "needs-revision";
1311
965
  agentDefinitionRef: {
1312
966
  id: string;
1313
967
  revision: number;
@@ -1316,13 +970,14 @@ export declare const agentOperationalContentSchemas: {
1316
970
  evaluatorId: string;
1317
971
  criteria: {
1318
972
  id: string;
1319
- outcome: "failed" | "passed" | "not-applicable";
973
+ outcome: "passed" | "failed" | "not-applicable";
1320
974
  notes?: string | undefined;
1321
975
  evidenceRefs?: string[] | undefined;
1322
976
  }[];
1323
- description?: string | undefined;
1324
977
  assignmentId?: string | undefined;
978
+ description?: string | undefined;
1325
979
  updatedAt?: Date | undefined;
980
+ workdayId?: string | undefined;
1326
981
  contextQueryRefs?: {
1327
982
  id: string;
1328
983
  revision: number;
@@ -1335,7 +990,6 @@ export declare const agentOperationalContentSchemas: {
1335
990
  id: string;
1336
991
  revision: number;
1337
992
  }[] | undefined;
1338
- workdayId?: string | undefined;
1339
993
  score?: number | undefined;
1340
994
  }>;
1341
995
  };
@@ -1344,8 +998,5 @@ export declare const AGENT_OPERATIONAL_CONTENT_COLLECTIONS: {
1344
998
  readonly agent_context_query_set: "agent-context-query-sets";
1345
999
  readonly agent_instruction_template: "agent-instruction-templates";
1346
1000
  readonly discussion_topic: "discussion-topics";
1347
- readonly assignment_plan: "assignment-plans";
1348
- readonly assignment_status: "assignment-statuses";
1349
- readonly assignment_summary: "assignment-summaries";
1350
1001
  readonly agent_evaluation: "agent-evaluations";
1351
1002
  };