@vertesia/common 1.5.0-dev.20260806.125520Z → 1.5.0-dev.20260826.064249Z

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 (458) hide show
  1. package/lib/access-control.d.ts +0 -14
  2. package/lib/access-control.d.ts.map +1 -1
  3. package/lib/access-control.js +0 -23
  4. package/lib/access-control.js.map +1 -1
  5. package/lib/account-values.d.ts +0 -10
  6. package/lib/account-values.d.ts.map +1 -1
  7. package/lib/account-values.js +0 -44
  8. package/lib/account-values.js.map +1 -1
  9. package/lib/api-contract/components.generated.json +40303 -0
  10. package/lib/api-contract/index.d.ts +186 -0
  11. package/lib/api-contract/index.d.ts.map +1 -0
  12. package/lib/api-contract/index.js +554 -0
  13. package/lib/api-contract/index.js.map +1 -0
  14. package/lib/api-schemas/adapter.d.ts +1 -0
  15. package/lib/api-schemas/adapter.d.ts.map +1 -1
  16. package/lib/api-schemas/adapter.js +1 -1
  17. package/lib/api-schemas/adapter.js.map +1 -1
  18. package/lib/api-schemas/agent-communication.d.ts +199 -0
  19. package/lib/api-schemas/agent-communication.d.ts.map +1 -0
  20. package/lib/api-schemas/agent-communication.js +150 -0
  21. package/lib/api-schemas/agent-communication.js.map +1 -0
  22. package/lib/api-schemas/agent-runs.d.ts +723 -0
  23. package/lib/api-schemas/agent-runs.d.ts.map +1 -1
  24. package/lib/api-schemas/agent-runs.js +44 -2
  25. package/lib/api-schemas/agent-runs.js.map +1 -1
  26. package/lib/api-schemas/app-lifecycle.d.ts +19 -0
  27. package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
  28. package/lib/api-schemas/app-lifecycle.js +34 -4
  29. package/lib/api-schemas/app-lifecycle.js.map +1 -1
  30. package/lib/api-schemas/app-runtime.d.ts +9946 -8884
  31. package/lib/api-schemas/app-runtime.d.ts.map +1 -1
  32. package/lib/api-schemas/app-runtime.js +7 -0
  33. package/lib/api-schemas/app-runtime.js.map +1 -1
  34. package/lib/api-schemas/apps.d.ts +1 -0
  35. package/lib/api-schemas/apps.d.ts.map +1 -1
  36. package/lib/api-schemas/apps.js +4 -3
  37. package/lib/api-schemas/apps.js.map +1 -1
  38. package/lib/api-schemas/content-query.d.ts +39 -0
  39. package/lib/api-schemas/content-query.d.ts.map +1 -0
  40. package/lib/api-schemas/content-query.js +30 -0
  41. package/lib/api-schemas/content-query.js.map +1 -0
  42. package/lib/api-schemas/content.d.ts +966 -30
  43. package/lib/api-schemas/content.d.ts.map +1 -1
  44. package/lib/api-schemas/content.js +82 -15
  45. package/lib/api-schemas/content.js.map +1 -1
  46. package/lib/api-schemas/dashboard.d.ts +4 -0
  47. package/lib/api-schemas/dashboard.d.ts.map +1 -1
  48. package/lib/api-schemas/dashboard.js +3 -0
  49. package/lib/api-schemas/dashboard.js.map +1 -1
  50. package/lib/api-schemas/document-processing.d.ts +411 -0
  51. package/lib/api-schemas/document-processing.d.ts.map +1 -1
  52. package/lib/api-schemas/environment.d.ts +2 -0
  53. package/lib/api-schemas/environment.d.ts.map +1 -1
  54. package/lib/api-schemas/events.d.ts +1245 -8
  55. package/lib/api-schemas/events.d.ts.map +1 -1
  56. package/lib/api-schemas/events.js +4 -1
  57. package/lib/api-schemas/events.js.map +1 -1
  58. package/lib/api-schemas/files.d.ts +17 -0
  59. package/lib/api-schemas/files.d.ts.map +1 -1
  60. package/lib/api-schemas/files.js +23 -0
  61. package/lib/api-schemas/files.js.map +1 -1
  62. package/lib/api-schemas/group.d.ts +7 -0
  63. package/lib/api-schemas/group.d.ts.map +1 -1
  64. package/lib/api-schemas/group.js +9 -0
  65. package/lib/api-schemas/group.js.map +1 -1
  66. package/lib/api-schemas/index.d.ts +4 -0
  67. package/lib/api-schemas/index.d.ts.map +1 -1
  68. package/lib/api-schemas/index.js +4 -0
  69. package/lib/api-schemas/index.js.map +1 -1
  70. package/lib/api-schemas/integrations.d.ts +5 -5
  71. package/lib/api-schemas/integrations.d.ts.map +1 -1
  72. package/lib/api-schemas/integrations.js +15 -2
  73. package/lib/api-schemas/integrations.js.map +1 -1
  74. package/lib/api-schemas/interaction.d.ts +9469 -1092
  75. package/lib/api-schemas/interaction.d.ts.map +1 -1
  76. package/lib/api-schemas/interaction.js +161 -9
  77. package/lib/api-schemas/interaction.js.map +1 -1
  78. package/lib/api-schemas/oauth-server.d.ts +131 -3
  79. package/lib/api-schemas/oauth-server.d.ts.map +1 -1
  80. package/lib/api-schemas/oauth-server.js +137 -3
  81. package/lib/api-schemas/oauth-server.js.map +1 -1
  82. package/lib/api-schemas/process.d.ts +1295 -0
  83. package/lib/api-schemas/process.d.ts.map +1 -1
  84. package/lib/api-schemas/process.js +309 -1
  85. package/lib/api-schemas/process.js.map +1 -1
  86. package/lib/api-schemas/project-configuration.d.ts +1388 -11
  87. package/lib/api-schemas/project-configuration.d.ts.map +1 -1
  88. package/lib/api-schemas/project-configuration.js +6 -2
  89. package/lib/api-schemas/project-configuration.js.map +1 -1
  90. package/lib/api-schemas/project.d.ts +2094 -30
  91. package/lib/api-schemas/project.d.ts.map +1 -1
  92. package/lib/api-schemas/registry.d.ts +88965 -66382
  93. package/lib/api-schemas/registry.d.ts.map +1 -1
  94. package/lib/api-schemas/registry.js +234 -281
  95. package/lib/api-schemas/registry.js.map +1 -1
  96. package/lib/api-schemas/schema-primitives.d.ts +4 -0
  97. package/lib/api-schemas/schema-primitives.d.ts.map +1 -1
  98. package/lib/api-schemas/schema-primitives.js +10 -0
  99. package/lib/api-schemas/schema-primitives.js.map +1 -1
  100. package/lib/api-schemas/store.d.ts +6899 -40
  101. package/lib/api-schemas/store.d.ts.map +1 -1
  102. package/lib/api-schemas/store.js +53 -8
  103. package/lib/api-schemas/store.js.map +1 -1
  104. package/lib/api-schemas/tools.d.ts +115 -0
  105. package/lib/api-schemas/tools.d.ts.map +1 -1
  106. package/lib/api-schemas/tools.js +55 -0
  107. package/lib/api-schemas/tools.js.map +1 -1
  108. package/lib/api-schemas/view-execution.d.ts +330 -798
  109. package/lib/api-schemas/view-execution.d.ts.map +1 -1
  110. package/lib/api-schemas/view-execution.js +26 -2
  111. package/lib/api-schemas/view-execution.js.map +1 -1
  112. package/lib/api-schemas/views.d.ts +452 -2394
  113. package/lib/api-schemas/views.d.ts.map +1 -1
  114. package/lib/api-schemas/views.js +119 -3
  115. package/lib/api-schemas/views.js.map +1 -1
  116. package/lib/api-schemas/workflow-runs.d.ts +396 -5
  117. package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
  118. package/lib/api-schemas/workflow-runs.js +9 -7
  119. package/lib/api-schemas/workflow-runs.js.map +1 -1
  120. package/lib/apps.d.ts +8 -145
  121. package/lib/apps.d.ts.map +1 -1
  122. package/lib/apps.js +1 -54
  123. package/lib/apps.js.map +1 -1
  124. package/lib/ask-user.d.ts +2 -1
  125. package/lib/ask-user.d.ts.map +1 -1
  126. package/lib/audit-trail.d.ts +2 -2
  127. package/lib/audit-trail.d.ts.map +1 -1
  128. package/lib/audit-trail.js +2 -2
  129. package/lib/audit-trail.js.map +1 -1
  130. package/lib/browser-credentials.d.ts +2 -7
  131. package/lib/browser-credentials.d.ts.map +1 -1
  132. package/lib/common.d.ts +4 -1
  133. package/lib/common.d.ts.map +1 -1
  134. package/lib/content-query.d.ts +5 -0
  135. package/lib/content-query.d.ts.map +1 -0
  136. package/lib/content-query.js +2 -0
  137. package/lib/content-query.js.map +1 -0
  138. package/lib/data-platform.d.ts +4 -46
  139. package/lib/data-platform.d.ts.map +1 -1
  140. package/lib/data-platform.js.map +1 -1
  141. package/lib/email.d.ts +12 -18
  142. package/lib/email.d.ts.map +1 -1
  143. package/lib/email.js.map +1 -1
  144. package/lib/environment.d.ts +0 -10
  145. package/lib/environment.d.ts.map +1 -1
  146. package/lib/environment.js +1 -12
  147. package/lib/environment.js.map +1 -1
  148. package/lib/facets.d.ts +0 -4
  149. package/lib/facets.d.ts.map +1 -1
  150. package/lib/group.d.ts +2 -12
  151. package/lib/group.d.ts.map +1 -1
  152. package/lib/group.js.map +1 -1
  153. package/lib/index.d.ts +3 -10
  154. package/lib/index.d.ts.map +1 -1
  155. package/lib/index.js +2 -10
  156. package/lib/index.js.map +1 -1
  157. package/lib/integrations.d.ts +0 -26
  158. package/lib/integrations.d.ts.map +1 -1
  159. package/lib/integrations.js +0 -6
  160. package/lib/integrations.js.map +1 -1
  161. package/lib/interaction.d.ts +10 -222
  162. package/lib/interaction.d.ts.map +1 -1
  163. package/lib/interaction.js +0 -31
  164. package/lib/interaction.js.map +1 -1
  165. package/lib/meters.d.ts +5 -10
  166. package/lib/meters.d.ts.map +1 -1
  167. package/lib/meters.js +1 -9
  168. package/lib/meters.js.map +1 -1
  169. package/lib/oauth-scopes.d.ts +2 -16
  170. package/lib/oauth-scopes.d.ts.map +1 -1
  171. package/lib/oauth-scopes.js +9 -49
  172. package/lib/oauth-scopes.js.map +1 -1
  173. package/lib/oauth-server.d.ts +16 -195
  174. package/lib/oauth-server.d.ts.map +1 -1
  175. package/lib/payload.d.ts +2 -5
  176. package/lib/payload.d.ts.map +1 -1
  177. package/lib/pending-asks.d.ts +9 -41
  178. package/lib/pending-asks.d.ts.map +1 -1
  179. package/lib/platform-event.d.ts +4 -142
  180. package/lib/platform-event.d.ts.map +1 -1
  181. package/lib/platform-event.js.map +1 -1
  182. package/lib/project.d.ts +7 -46
  183. package/lib/project.d.ts.map +1 -1
  184. package/lib/project.js +2 -132
  185. package/lib/project.js.map +1 -1
  186. package/lib/prompt.d.ts +4 -7
  187. package/lib/prompt.d.ts.map +1 -1
  188. package/lib/prompt.js.map +1 -1
  189. package/lib/query.d.ts +0 -8
  190. package/lib/query.d.ts.map +1 -1
  191. package/lib/rate-limiter.d.ts +4 -3
  192. package/lib/rate-limiter.d.ts.map +1 -1
  193. package/lib/runs.d.ts +5 -1
  194. package/lib/runs.d.ts.map +1 -1
  195. package/lib/schema-for-extraction.d.ts +0 -1
  196. package/lib/schema-for-extraction.d.ts.map +1 -1
  197. package/lib/schema-for-extraction.js +1 -1
  198. package/lib/schema-for-extraction.js.map +1 -1
  199. package/lib/secrets.d.ts +2 -1
  200. package/lib/secrets.d.ts.map +1 -1
  201. package/lib/skill.d.ts +0 -13
  202. package/lib/skill.d.ts.map +1 -1
  203. package/lib/store/activity-catalog.d.ts +2 -0
  204. package/lib/store/activity-catalog.d.ts.map +1 -1
  205. package/lib/store/agent-approval.d.ts +0 -1
  206. package/lib/store/agent-approval.d.ts.map +1 -1
  207. package/lib/store/agent-approval.js +0 -3
  208. package/lib/store/agent-approval.js.map +1 -1
  209. package/lib/store/agent-run.d.ts +32 -69
  210. package/lib/store/agent-run.d.ts.map +1 -1
  211. package/lib/store/collections.d.ts +2 -6
  212. package/lib/store/collections.d.ts.map +1 -1
  213. package/lib/store/collections.js.map +1 -1
  214. package/lib/store/conversation-state.d.ts +11 -12
  215. package/lib/store/conversation-state.d.ts.map +1 -1
  216. package/lib/store/conversation-state.js +0 -18
  217. package/lib/store/conversation-state.js.map +1 -1
  218. package/lib/store/doc-analyzer.d.ts +0 -22
  219. package/lib/store/doc-analyzer.d.ts.map +1 -1
  220. package/lib/store/dsl-workflow.d.ts +18 -5
  221. package/lib/store/dsl-workflow.d.ts.map +1 -1
  222. package/lib/store/dsl-workflow.js.map +1 -1
  223. package/lib/store/grounded-extraction.d.ts +0 -14
  224. package/lib/store/grounded-extraction.d.ts.map +1 -1
  225. package/lib/store/grounded-extraction.js +1 -7
  226. package/lib/store/grounded-extraction.js.map +1 -1
  227. package/lib/store/index.d.ts +0 -5
  228. package/lib/store/index.d.ts.map +1 -1
  229. package/lib/store/index.js +0 -6
  230. package/lib/store/index.js.map +1 -1
  231. package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
  232. package/lib/store/intake-policy-schema.generated.js +305 -1
  233. package/lib/store/intake-policy-schema.generated.js.map +1 -1
  234. package/lib/store/process.d.ts +43 -1
  235. package/lib/store/process.d.ts.map +1 -1
  236. package/lib/store/process.js.map +1 -1
  237. package/lib/store/rendering.d.ts +3 -5
  238. package/lib/store/rendering.d.ts.map +1 -1
  239. package/lib/store/rendering.js +0 -4
  240. package/lib/store/rendering.js.map +1 -1
  241. package/lib/store/schedule.d.ts +0 -16
  242. package/lib/store/schedule.d.ts.map +1 -1
  243. package/lib/store/schedule.js.map +1 -1
  244. package/lib/store/signals.d.ts +12 -0
  245. package/lib/store/signals.d.ts.map +1 -1
  246. package/lib/store/store.d.ts +80 -94
  247. package/lib/store/store.d.ts.map +1 -1
  248. package/lib/store/store.js +5 -25
  249. package/lib/store/store.js.map +1 -1
  250. package/lib/store/workflow.d.ts +35 -86
  251. package/lib/store/workflow.d.ts.map +1 -1
  252. package/lib/store/workflow.js +0 -47
  253. package/lib/store/workflow.js.map +1 -1
  254. package/lib/sts-errors.d.ts +0 -1
  255. package/lib/sts-errors.d.ts.map +1 -1
  256. package/lib/sts-token-types.d.ts +2 -8
  257. package/lib/sts-token-types.d.ts.map +1 -1
  258. package/lib/sts-token-types.js +1 -19
  259. package/lib/sts-token-types.js.map +1 -1
  260. package/lib/tools.d.ts +6 -1
  261. package/lib/tools.d.ts.map +1 -1
  262. package/lib/transient-tokens.d.ts +0 -2
  263. package/lib/transient-tokens.d.ts.map +1 -1
  264. package/lib/user.d.ts +0 -17
  265. package/lib/user.d.ts.map +1 -1
  266. package/lib/user.js.map +1 -1
  267. package/lib/utils/schemas.d.ts +2 -24
  268. package/lib/utils/schemas.d.ts.map +1 -1
  269. package/lib/utils/schemas.js +0 -151
  270. package/lib/utils/schemas.js.map +1 -1
  271. package/lib/vertesia-common.js +3 -4
  272. package/lib/vertesia-common.js.map +1 -1
  273. package/lib/views.d.ts +23 -27
  274. package/lib/views.d.ts.map +1 -1
  275. package/lib/views.js +5 -26
  276. package/lib/views.js.map +1 -1
  277. package/lib/workflow-analytics.d.ts +12 -34
  278. package/lib/workflow-analytics.d.ts.map +1 -1
  279. package/package.json +12 -6
  280. package/src/access-control.ts +0 -26
  281. package/src/account-values.ts +0 -49
  282. package/src/agent-resources.test.ts +1 -12
  283. package/src/api-contract/components.contract.test.ts +99 -0
  284. package/src/api-contract/components.generated.json +40303 -0
  285. package/src/api-contract/index.ts +664 -0
  286. package/src/api-schemas/adapter.ts +1 -1
  287. package/src/api-schemas/agent-communication.contract.test.ts +90 -0
  288. package/src/api-schemas/agent-communication.ts +169 -0
  289. package/src/api-schemas/agent-runs.ts +46 -1
  290. package/src/api-schemas/api-discriminators.test.ts +185 -0
  291. package/src/api-schemas/app-lifecycle.ts +39 -4
  292. package/src/api-schemas/app-runtime.ts +8 -0
  293. package/src/api-schemas/apps.ts +4 -3
  294. package/src/api-schemas/content-query.ts +31 -0
  295. package/src/api-schemas/content.ts +88 -15
  296. package/src/api-schemas/dashboard.contract.test.ts +16 -5
  297. package/src/api-schemas/dashboard.ts +3 -0
  298. package/src/api-schemas/events.ts +9 -1
  299. package/src/api-schemas/files.ts +27 -0
  300. package/src/api-schemas/group.ts +10 -0
  301. package/src/api-schemas/index.ts +4 -0
  302. package/src/api-schemas/integrations.ts +15 -2
  303. package/src/api-schemas/interaction.contract.test.ts +204 -1
  304. package/src/api-schemas/interaction.ts +176 -8
  305. package/src/api-schemas/llumiverse.contract.test.ts +18 -2
  306. package/src/api-schemas/oauth-server.ts +152 -3
  307. package/src/api-schemas/oauth.contract.test.ts +64 -1
  308. package/src/api-schemas/process.ts +343 -1
  309. package/src/api-schemas/project-configuration.ts +11 -7
  310. package/src/api-schemas/project.contract.test.ts +64 -6
  311. package/src/api-schemas/registry.ts +290 -300
  312. package/src/api-schemas/schema-primitives.ts +13 -0
  313. package/src/api-schemas/store.contract.test.ts +30 -1
  314. package/src/api-schemas/store.ts +58 -11
  315. package/src/api-schemas/tools.ts +62 -0
  316. package/src/api-schemas/view-execution.ts +28 -2
  317. package/src/api-schemas/views.contract.test.ts +119 -0
  318. package/src/api-schemas/views.ts +142 -3
  319. package/src/api-schemas/workflow-runs.ts +9 -7
  320. package/src/api-schemas/zeno-response-contracts.test.ts +320 -0
  321. package/src/apps.test.ts +2 -40
  322. package/src/apps.ts +14 -181
  323. package/src/ask-user.ts +1 -1
  324. package/src/audit-trail.ts +3 -3
  325. package/src/browser-credentials.ts +3 -7
  326. package/src/common.ts +13 -1
  327. package/src/content-query.ts +5 -0
  328. package/src/data-platform.ts +4 -51
  329. package/src/email.ts +24 -18
  330. package/src/environment.ts +1 -14
  331. package/src/facets.ts +0 -6
  332. package/src/group.ts +2 -12
  333. package/src/index.ts +3 -15
  334. package/src/integrations.ts +0 -51
  335. package/src/interaction.ts +12 -271
  336. package/src/meters.ts +10 -11
  337. package/src/oauth-scopes.test.ts +15 -0
  338. package/src/oauth-scopes.ts +10 -64
  339. package/src/oauth-server.ts +28 -215
  340. package/src/payload.ts +1 -6
  341. package/src/pending-asks.ts +17 -42
  342. package/src/platform-event.ts +3 -156
  343. package/src/project.ts +12 -160
  344. package/src/prompt.ts +9 -8
  345. package/src/query.ts +0 -9
  346. package/src/rate-limiter.ts +3 -3
  347. package/src/runs.ts +8 -0
  348. package/src/schema-for-extraction.ts +1 -1
  349. package/src/secrets.ts +3 -0
  350. package/src/skill.ts +0 -15
  351. package/src/store/activity-catalog.ts +3 -0
  352. package/src/store/agent-approval.ts +0 -4
  353. package/src/store/agent-run.ts +39 -93
  354. package/src/store/collections.ts +3 -6
  355. package/src/store/conversation-state.ts +12 -25
  356. package/src/store/doc-analyzer.ts +0 -26
  357. package/src/store/dsl-workflow.ts +24 -5
  358. package/src/store/grounded-extraction.ts +0 -18
  359. package/src/store/index.ts +0 -6
  360. package/src/store/intake-policy-schema.generated.ts +319 -1
  361. package/src/store/process.ts +84 -0
  362. package/src/store/rendering.ts +3 -8
  363. package/src/store/schedule.ts +0 -19
  364. package/src/store/signals.ts +14 -0
  365. package/src/store/store.ts +118 -127
  366. package/src/store/workflow.ts +32 -120
  367. package/src/sts-errors.ts +0 -2
  368. package/src/sts-token-types.ts +3 -28
  369. package/src/tools.ts +15 -0
  370. package/src/transient-tokens.ts +0 -2
  371. package/src/user.ts +0 -20
  372. package/src/utils/schemas.ts +2 -159
  373. package/src/views.ts +50 -47
  374. package/src/workflow-analytics.ts +12 -40
  375. package/tsconfig.dist.json +4 -1
  376. package/lib/Progress.d.ts +0 -22
  377. package/lib/Progress.d.ts.map +0 -1
  378. package/lib/Progress.js +0 -57
  379. package/lib/Progress.js.map +0 -1
  380. package/lib/agent-request-template.d.ts +0 -4
  381. package/lib/agent-request-template.d.ts.map +0 -1
  382. package/lib/agent-request-template.js +0 -46
  383. package/lib/agent-request-template.js.map +0 -1
  384. package/lib/channels.d.ts +0 -22
  385. package/lib/channels.d.ts.map +0 -1
  386. package/lib/channels.js +0 -57
  387. package/lib/channels.js.map +0 -1
  388. package/lib/host-utils.d.ts +0 -8
  389. package/lib/host-utils.d.ts.map +0 -1
  390. package/lib/host-utils.js +0 -84
  391. package/lib/host-utils.js.map +0 -1
  392. package/lib/platform-event-validation.d.ts +0 -45
  393. package/lib/platform-event-validation.d.ts.map +0 -1
  394. package/lib/platform-event-validation.js +0 -336
  395. package/lib/platform-event-validation.js.map +0 -1
  396. package/lib/store/hive-memory.d.ts +0 -117
  397. package/lib/store/hive-memory.d.ts.map +0 -1
  398. package/lib/store/hive-memory.js +0 -2
  399. package/lib/store/hive-memory.js.map +0 -1
  400. package/lib/store/object-types.d.ts +0 -24
  401. package/lib/store/object-types.d.ts.map +0 -1
  402. package/lib/store/object-types.js +0 -95
  403. package/lib/store/object-types.js.map +0 -1
  404. package/lib/store/process-schema.d.ts +0 -561
  405. package/lib/store/process-schema.d.ts.map +0 -1
  406. package/lib/store/process-schema.js +0 -561
  407. package/lib/store/process-schema.js.map +0 -1
  408. package/lib/store/process-validation.d.ts +0 -17
  409. package/lib/store/process-validation.d.ts.map +0 -1
  410. package/lib/store/process-validation.js +0 -515
  411. package/lib/store/process-validation.js.map +0 -1
  412. package/lib/store/temporalio.d.ts +0 -17
  413. package/lib/store/temporalio.d.ts.map +0 -1
  414. package/lib/store/temporalio.js +0 -41
  415. package/lib/store/temporalio.js.map +0 -1
  416. package/lib/view-configuration-validation.d.ts +0 -15
  417. package/lib/view-configuration-validation.d.ts.map +0 -1
  418. package/lib/view-configuration-validation.js +0 -63
  419. package/lib/view-configuration-validation.js.map +0 -1
  420. package/lib/view-query-validation.d.ts +0 -13
  421. package/lib/view-query-validation.d.ts.map +0 -1
  422. package/lib/view-query-validation.js +0 -266
  423. package/lib/view-query-validation.js.map +0 -1
  424. package/lib/view-validation-helpers.d.ts +0 -15
  425. package/lib/view-validation-helpers.d.ts.map +0 -1
  426. package/lib/view-validation-helpers.js +0 -25
  427. package/lib/view-validation-helpers.js.map +0 -1
  428. package/lib/views-schema.d.ts +0 -1992
  429. package/lib/views-schema.d.ts.map +0 -1
  430. package/lib/views-schema.js +0 -674
  431. package/lib/views-schema.js.map +0 -1
  432. package/lib/views-validation.d.ts +0 -21
  433. package/lib/views-validation.d.ts.map +0 -1
  434. package/lib/views-validation.js +0 -164
  435. package/lib/views-validation.js.map +0 -1
  436. package/src/Progress.ts +0 -59
  437. package/src/agent-request-template.test.ts +0 -40
  438. package/src/agent-request-template.ts +0 -45
  439. package/src/channels.ts +0 -70
  440. package/src/host-utils.test.ts +0 -61
  441. package/src/host-utils.ts +0 -93
  442. package/src/platform-event-validation.test.ts +0 -251
  443. package/src/platform-event-validation.ts +0 -372
  444. package/src/project.test.ts +0 -44
  445. package/src/store/hive-memory.ts +0 -167
  446. package/src/store/object-types.ts +0 -123
  447. package/src/store/process-schema.test.ts +0 -149
  448. package/src/store/process-schema.ts +0 -564
  449. package/src/store/process-validation.test.ts +0 -635
  450. package/src/store/process-validation.ts +0 -646
  451. package/src/store/temporalio.ts +0 -54
  452. package/src/view-configuration-validation.ts +0 -74
  453. package/src/view-query-validation.test.ts +0 -21
  454. package/src/view-query-validation.ts +0 -319
  455. package/src/view-validation-helpers.ts +0 -28
  456. package/src/views-schema.test.ts +0 -372
  457. package/src/views-schema.ts +0 -689
  458. package/src/views-validation.ts +0 -234
@@ -1,23 +1,23 @@
1
1
  // Imported from llumiverse rather than restated here. These components describe llumiverse's own
2
2
  // types, and a second declaration in this repository would create an independent source of truth.
3
3
  // They have no local `./*.ts` module because there is nothing local to declare.
4
- import { AIModelArraySchema, AIModelSchema, AIModelStatusSchema, CompletionResultSchema, DataSourceSchema, EmbeddingOutputSchema, EmbeddingResultItemSchema, EmbeddingsResultSchema, EmbeddingsTokenUsageSchema, EmbeddingTaskTypeSchema, ExecutionTokenUsageSchema, HttpTimeoutOptionsSchema, ImageResultSchema, JSONObjectSchema, JSONSchemaSchema, JSONValueSchema, JsonResultSchema, ModalitiesSchema, ModelOptionsSchema, ModelSearchPayloadSchema, ModelTypeSchema, PromptRoleSchema, PromptSegmentSchema, StatelessExecutionOptionsSchema, TextResultSchema, ToolDefinitionSchema, ToolUseSchema, } from '@llumiverse/common/schemas';
5
- import { Ajv2020 } from 'ajv/dist/2020.js';
6
- import ajvFormats from 'ajv-formats';
4
+ import { AIModelArraySchema, AIModelSchema, AIModelStatusSchema, CompletionResultSchema, DataSourceSchema, EmbeddingOutputSchema, EmbeddingResultItemSchema, EmbeddingsResultSchema, EmbeddingsTokenUsageSchema, EmbeddingTaskTypeSchema, ExecutionTokenUsageSchema, HttpTimeoutOptionsSchema, ImageResultSchema, JSONObjectSchema, JSONSchemaSchema, JSONValueSchema, JsonResultSchema, ModalitiesSchema, ModelOptionsSchema, ModelSearchPayloadSchema, ModelTypeSchema, PromptRoleSchema, PromptSegmentSchema, StatelessExecutionOptionsSchema, TextResultSchema, ToolDefinitionSchema, ToolUseSchema, VideoResultSchema, } from '@llumiverse/common/schemas';
7
5
  import { z } from 'zod';
8
6
  import { ACECreatePayloadSchema, ACEUpdatePayloadSchema, AccessControlEntryArraySchema, AccessControlEntrySchema, RoleDefinitionArraySchema, SystemRoleDefinitionArraySchema, } from './access-control.js';
9
7
  import { AccountSchema, StripeBillingStatusResponseSchema, UpdateAccountPayloadSchema } from './account.js';
10
- import { findUnprunablePaths, pruneToSchema, toOpenApiComponents } from './adapter.js';
8
+ import { toOpenApiComponents } from './adapter.js';
9
+ import * as AgentCommunicationSchemas from './agent-communication.js';
11
10
  import * as AgentRunSchemas from './agent-runs.js';
12
11
  import { AnalyticsAxisSchema, RunAnalyticsGroupBySchema, RunAnalyticsQuerySchema, RunAnalyticsResultArraySchema, RunAnalyticsResultSchema, TimeResolutionSchema, } from './analytics.js';
13
12
  import { ApiKeyArraySchema, ApiKeyListQuerySchema, ApiKeyReadQuerySchema, ApiKeyReadResponseSchema, ApiKeySchema, ApiKeyWithValueSchema, AuthTokenResponseSchema, CreateApiKeyPayloadSchema, DeleteOperationResultSchema, ProjectRefArraySchema, UpdateApiKeyPayloadSchema, } from './apikey.js';
14
- import { AgentRunSearchHitSchema, AgentRunStatusSchema, AgentRunTypeSchema, AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppPackageScopeSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppToolCollectionArraySchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordArraySchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, ContentObjectTypeRefSchema, ConversationActivityStateSchema, DeleteAppVersionResponseSchema, EventRefSchema, Extract_AppVersionGitRefType_branch_tag_commitSchema, InCodeTypeRefSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsMapSchema, OAuthClientCredentialsSchema, RunKindSchema, RunTypeSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, StoredTypeRefSchema, SystemPackageQuerySchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema, } from './app-lifecycle.js';
13
+ import { AgentRunSearchHitSchema, AgentRunStatusSchema, AgentRunTypeSchema, AgentToolApprovalClassSchema, AgentToolDefinitionSchema, AppApiKeyCollectionParamsSchema, AppBuildProgressSchema, AppBuildProgressStatusSchema, AppBuildTriggerSchema, AppDeleteSummarySchema, AppDevelopmentTaskDetailsSchema, AppDevelopmentTaskListSchema, AppDevelopmentTaskSchema, AppInspectionCapabilityReportSchema, AppInspectionIssueSchema, AppInspectionResultSchema, AppInstallationKindSchema, AppInstallationOAuthBindingSchema, AppInstallationPayloadSchema, AppInstallationProjectsQuerySchema, AppInstallationProviderBindingSchema, AppInstallationsQuerySchema, AppListScopeSchema, AppOAuthCollectionParamsSchema, AppOAuthProviderParamsSchema, AppPackageScopeSchema, AppRepoBranchSchema, AppRepoCommitSchema, AppRepoCommitsSchema, AppRepoDocumentCommitSchema, AppRepoRefSchema, AppRepoRefsSchema, AppRepoTreeEntrySchema, AppRepoTreeSchema, AppScaffoldModuleSchema, AppScaffoldProgressSchema, AppScaffoldProgressStatusSchema, AppsQuerySchema, AppToolCollectionArraySchema, AppToolCollectionSchema, AppVersionGitRefTypeSchema, AppVersionGitSourceSchema, AppVersionKindSchema, AppVersionRecordArraySchema, AppVersionRecordSchema, AppVersionStateSchema, AppVersionStorageSchema, AppVersionTargetSchema, AppVersionUrlsSchema, ContentObjectTypeRefSchema, ConversationActivityStateSchema, DeleteAppVersionResponseSchema, EventRefSchema, Extract_AppVersionGitRefType_branch_tag_commitSchema, InCodeTypeRefSchema, McpApiKeyCredentialSchema, OAuthClientCredentialsMapSchema, OAuthClientCredentialsSchema, RunKindSchema, RunTypeSchema, StartAppBuildRequestSchema, StartAppBuildResponseSchema, StartAppDevelopmentTaskRequestSchema, StartAppScaffoldRequestSchema, StartAppScaffoldResponseSchema, StoredTypeRefSchema, SystemPackageQuerySchema, UpdateAppInstallationToolAllowlistPayloadSchema, UpsertAppVersionRequestSchema, ValidateUrlRequestSchema, ValidateUrlResponseSchema, } from './app-lifecycle.js';
15
14
  import * as AppRuntimeSchemas from './app-runtime.js';
16
15
  import { AppAccessControlSchema, AppCapabilitiesSchema, AppManifestSourceSchema, AppSourceConfigSchema, AppUIConfigSchema, MCPToolAnnotationsSchema, McpApiKeyStatusSchema, McpOAuthConnectResponseSchema, McpOAuthDisconnectResponseSchema, McpOAuthTokenRequestSchema, McpOAuthTokenResponseSchema, OAuthAuthorizeResponseSchema, OAuthAuthStatusArraySchema, OAuthAuthStatusSchema, OAuthMetadataResponseSchema, SetMcpApiKeyRequestSchema, ToolCollectionObjectSchema, } from './apps.js';
17
16
  import { AuditActionSchema, AuditAggregationDetailFieldSchema, AuditAggregationDetailFilterSchema, AuditAggregationDimensionMapSchema, AuditAggregationDimensionSchema, AuditAggregationDistinctFieldSchema, AuditAggregationFilterSchema, AuditAggregationGroupSchema, AuditAggregationMetricSchema, AuditAggregationOperationSchema, AuditAggregationQuerySchema, AuditAggregationResolutionSchema, AuditAggregationResponseSchema, AuditAggregationRowSchema, AuditMeterSchema, AuditTrailEventSchema, AuditTrailQuerySchema, AuditTrailResponseSchema, EventCategorySchema, KnownAuditActionSchema, } from './audit-trail.js';
18
17
  import { BulkObjectCreateResultSchema, BulkObjectDeleteResultSchema, BulkObjectUpdateResultSchema, BulkOperationPayloadSchema, BulkOperationResponseSchema, BulkOperationResultSchema, } from './bulk-operation.js';
19
18
  import { DeleteCountResultSchema, GenericCommandResponseSchema, MigrationListResponseSchema, RunMigrationPayloadSchema, RunMigrationResponseSchema, } from './commands.js';
20
19
  import * as ContentSchemas from './content.js';
20
+ import * as ContentQuerySchemas from './content-query.js';
21
21
  import { CostAnalyticsQuerySchema, CostAnalyticsResponseSchema, CostByDimensionSchema, CostExportQuerySchema, CostModelPricesQuerySchema, CostRunPriceQuerySchema, CostRunPriceResponseSchema, CostSummarySchema, CostTimeSeriesPointSchema, ModelPriceComparisonResponseSchema, ModelPriceComparisonSchema, ModelPricingSchema, PricingSyncDayResultSchema, PricingSyncPayloadSchema, PricingSyncResultSchema, } from './cost-analytics.js';
22
22
  import { CreateDashboardPayloadSchema, CreateDashboardSnapshotPayloadSchema, DashboardArchiveResultSchema, DashboardBulkArchiveResultSchema, DashboardBulkDeleteResultSchema, DashboardDataSourceSchema, DashboardElasticsearchDslSchema, DashboardElasticsearchResultMappingSchema, DashboardItemArraySchema, DashboardItemSchema, DashboardLayoutSchema, DashboardPanelPositionSchema, DashboardPanelSchema, DashboardQuerySchema, DashboardSchema, DashboardSqlDataSourceSchema, DashboardStatusSchema, DashboardStoreElasticsearchDataSourceSchema, DashboardVersionItemArraySchema, DashboardVersionItemSchema, DashboardVersioningPayloadSchema, DashboardVersioningStatusResponseSchema, DashboardVersionSchema, PromoteDashboardVersionPayloadSchema, StringArrayMapSchema, UpdateDashboardPayloadSchema, } from './dashboard.js';
23
23
  import { AlterTableOperationSchema, AlterTablePayloadSchema, BatchQueryPayloadSchema, BatchQueryResultItemSchema, BatchQueryResultSchema, CreateDataStorePayloadSchema, CreateSnapshotPayloadSchema, CreateTablePayloadSchema, CreateTablesPayloadSchema, DataColumnForAIMapSchema, DataColumnForAISchema, DataColumnSchema, DataColumnTypeSchema, DataColumnUpdateSchema, DataForeignKeyForAISchema, DataForeignKeySchema, DataIndexSchema, DataRelationshipForAISchema, DataRelationshipSchema, DataRelationshipTypeSchema, DataSchemaForAISchema, DataSchemaSchema, DataStoreArchiveResultSchema, DataStoreDownloadInfoSchema, DataStoreFullSchemaResponseSchema, DataStoreItemArraySchema, DataStoreItemSchema, DataStoreMutateRowsPayloadSchema, DataStoreMutateRowsResultSchema, DataStoreSchema, DataStoreSchemaResponseSchema, DataStoreStatusSchema, DataStoreTableDetailSchema, DataStoreTableDropResultSchema, DataStoreVersionArraySchema, DataStoreVersionSchema, DataStoreVersionTableStateMapSchema, DataStoreVersionTableStateSchema, DataTableArraySchema, DataTableForAIMapSchema, DataTableForAISchema, DataTableSchema, DataTableSemanticTypeSchema, DataTableSummaryArraySchema, DataTableSummarySchema, GetDataStoreTableQuerySchema, ImportDataFormatSchema, ImportDataPayloadSchema, ImportDataSourceSchema, ImportJobSchema, ImportStatusSchema, ImportTableDataMapSchema, ImportTableDataSchema, ListDataStoreVersionsQuerySchema, QueryPayloadSchema, QueryResultColumnSchema, QueryResultSchema, QueryValidationErrorSchema, QueryValidationPayloadSchema, QueryValidationResultSchema, SemanticColumnTypeSchema, UpdateSchemaPayloadSchema, } from './data-store.js';
@@ -25,33 +25,28 @@ import { DocAnalyzeRunStatusResponseSchema, DocAnalyzerProgressSchema, DocAnalyz
25
25
  import { EmbeddingsApiAudioInputSchema, EmbeddingsApiImageInputSchema, EmbeddingsApiInputSchema, EmbeddingsApiRequestSchema, EmbeddingsApiSourceSchema, EmbeddingsApiTextInputSchema, EmbeddingsApiVideoInputSchema, EmbeddingsStatusResponseSchema, ProjectConfigurationEmbeddingEnablePayloadSchema, } from './embeddings.js';
26
26
  import { EnableEnvironmentModelPayloadSchema, ExecutionEnvironmentArraySchema, ExecutionEnvironmentConfigUpdatePayloadSchema, ExecutionEnvironmentCreatePayloadSchema, ExecutionEnvironmentRefSchema, ExecutionEnvironmentSchema, ExecutionEnvironmentSettingsSchema, ExecutionEnvironmentUpdatePayloadSchema, ListEnvironmentsQuerySchema, LoadBalancingEnvConfigSchema, LoadBalancingEnvEntryConfigSchema, MediatorEnvConfigSchema, MigrateInteractionsPayloadSchema, MigrateInteractionsResultSchema, SupportedProvidersSchema, VirtualEnvEntrySchema, } from './environment.js';
27
27
  import * as EventSchemas from './events.js';
28
- import { BucketReadAccessQuerySchema, BucketReadAccessStatusResponseSchema, BulkUploadUrlsPayloadSchema, BulkUploadUrlsResponseSchema, CopyFilePayloadSchema, CopyFileResponseSchema, DeleteFileResultSchema, EnsureBucketReadAccessPayloadSchema, EnsureBucketReadAccessResponseSchema, FileBucketResponseSchema, FileDeleteQuerySchema, FileListQuerySchema, FileListResponseSchema, FileMetadataQuerySchema, FileMetadataResponseSchema, FileMetadataUpdateResultSchema, GetFileUrlPayloadSchema, GetFileUrlResponseSchema, GetUploadUrlPayloadSchema, SetFileMetadataPayloadSchema, StringValueMapSchema, } from './files.js';
29
- import { CreateUserGroupPayloadSchema, UpdateUserGroupPayloadSchema, UserGroupArraySchema, UserGroupRefSchema, UserGroupSchema, } from './group.js';
28
+ import { BucketCreateAccessQuerySchema, BucketCreateAccessStatusResponseSchema, BucketReadAccessQuerySchema, BucketReadAccessStatusResponseSchema, BulkUploadUrlsPayloadSchema, BulkUploadUrlsResponseSchema, CopyFilePayloadSchema, CopyFileResponseSchema, DeleteFileResultSchema, EnsureBucketCreateAccessPayloadSchema, EnsureBucketCreateAccessResponseSchema, EnsureBucketReadAccessPayloadSchema, EnsureBucketReadAccessResponseSchema, FileBucketResponseSchema, FileDeleteQuerySchema, FileListQuerySchema, FileListResponseSchema, FileMetadataQuerySchema, FileMetadataResponseSchema, FileMetadataUpdateResultSchema, GetFileUrlPayloadSchema, GetFileUrlResponseSchema, GetUploadUrlPayloadSchema, SetFileMetadataPayloadSchema, StringValueMapSchema, } from './files.js';
29
+ import { CreateUserGroupPayloadSchema, ListUserGroupsQuerySchema, UpdateUserGroupPayloadSchema, UserGroupArraySchema, UserGroupRefSchema, UserGroupSchema, } from './group.js';
30
30
  import { DriftAnalysisProgressSchema, DriftAnalysisResultSchema, DriftAnalysisStatusResponseSchema, IndexingStatusResponseSchema, ReindexAgentRunsPayloadSchema, ReindexAgentRunsResponseSchema, StartProjectReindexPayloadSchema, } from './indexing.js';
31
31
  import * as IntegrationSchemas from './integrations.js';
32
- import { AgentResourceActionSchema, AgentResourceReferenceSchema, AgentResourceTypeSchema, AgentRunnerOptionsSchema, AgentSearchScope_CollectionSchema, AgentSearchScopeSchema, AgentToolApprovalModeSchema, AsyncCompletionModeSchema, AsyncCompletionOptionsSchema, AsyncConversationExecutionPayloadSchema, AsyncExecutionPayloadSchema, AsyncExecutionResultSchema, AsyncInteractionExecutionPayloadSchema, CachePolicySchema, CatalogInteractionRefArraySchema, CatalogInteractionRefSchema, CatalogTagQuerySchema, ComputedFacetResponseSchema, ComputeInteractionFacetPayloadSchema, ComputeRunFacetPayloadSchema, ConversationStateSchema, ConversationStripOptionsSchema, ConversationVisibilitySchema, EmailChannelSchema, ExecuteInteractionByEndpointHeadersSchema, ExecuteInteractionByEndpointQuerySchema, ExecutionResponseSchema, ExecutionRunDocRefSchema, ExecutionRunInteractionSchema, ExecutionRunRefArraySchema, ExecutionRunRefSchema, ExecutionRunSchema, ExecutionRunStatusSchema, ExecutionRunWorkflowSchema, ExportedPromptTemplateRefSchema, ExternalizedToolInputRefSchema, ExternalizedToolInputRefsSchema, FacetSpecSchema, GeneratedInteractionDefinitionArraySchema, GeneratedInteractionDefinitionSchema, GeneratedInteractionPromptSegmentSchema, GeneratedInteractionPromptTemplateSchema, GeneratedTestDataRecordArraySchema, GeneratedTestDataRecordSchema, GenerateInteractionPayloadSchema, GenerateTestDataPayloadSchema, ImprovePromptPayloadConfigSchema, ImprovePromptPayloadSchema, InCodePromptSchema, InitialToolCallSchema, InteractionArraySchema, InteractionCreatePayloadSchema, InteractionEndpointArraySchema, InteractionEndpointQuerySchema, InteractionEndpointSchema, InteractionExecutionErrorSchema, InteractionExecutionPayloadSchema, InteractionExecutionResultSchema, InteractionForkPayloadSchema, InteractionNameArraySchema, InteractionNameSchema, InteractionPublishPayloadSchema, InteractionRefArraySchema, InteractionRefSchema, InteractionRefWithSchemaArraySchema, InteractionRefWithSchemaSchema, InteractionSchema, InteractionSearchQuerySchema, InteractionStatusSchema, InteractionsExportPayloadSchema, InteractionTagsArraySchema, InteractionTagsSchema, InteractionUpdatePayloadSchema, InteractionVisibilitySchema, InteractiveChannelSchema, LegacyExecutionRunResultSchema, LegacyPopulatedExecutionRunResultSchema, LlmCallTypeSchema, ModelSourceSchema, NamedInteractionExecutionPayloadSchema, NumberValueMapSchema, PendingMcpConnectionSchema, PendingToolApprovalResultsSchema, PlanSchema, PlanTaskSchema, PopulatedExecutionRunResultSchema, PromptImprovementResponseSchema, PromptModalitiesSchema, PromptSegmentDefSchema, PromptSegmentDefTypeSchema, PromptSegmentRef_ExportedPromptTemplateRefSchema, PromptSegmentRef_PromptTemplateRefSchema, PromptStatusSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema, RateLimitRequestPayloadSchema, RateLimitRequestResponseSchema, ResolvedEnvironmentInfoSchema, ResolvedInteractionExecutionInfoSchema, ResolvedRuntimeConfigSchema, ResolveInteractionQuerySchema, ResultStorageOptionsSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunListQuerySchema, RunSearchMetaResponseSchema, RunSearchPayloadSchema, RunSearchQuerySchema, RunSourceSchema, RunSourceTypesSchema, SchemaRefSchema, SkillContextTriggersSchema, SortOptionSchema, SortOrderSchema, StoredCatalogInteractionsQuerySchema, StreamingOptionsSchema, StreamingTelemetryContextSchema, TemplateTypeSchema, TextArtifactReferenceSchema, ToolApprovalGrantMapSchema, ToolApprovalGrantSchema, ToolReferenceSchema, ToolResultMetaSchema, ToolResultSchema, ToolResultsPayloadSchema, UpdateExecutionRunPayloadSchema, UsedSkillSchema, UserChannelSchema, UserMessagePayloadSchema, WorkflowAncestorSchema, } from './interaction.js';
32
+ import { AgentResourceActionSchema, AgentResourceReferenceSchema, AgentResourceTypeSchema, AgentRunnerOptionsSchema, AgentSearchScope_CollectionSchema, AgentSearchScopeSchema, AgentToolApprovalModeSchema, AsyncCompletionModeSchema, AsyncCompletionOptionsSchema, AsyncConversationExecutionPayloadSchema, AsyncExecutionPayloadSchema, AsyncExecutionResultSchema, AsyncInteractionExecutionPayloadSchema, CachePolicySchema, CatalogInteractionRefArraySchema, CatalogInteractionRefSchema, CatalogTagQuerySchema, ComputedFacetResponseSchema, ComputeInteractionFacetPayloadSchema, ComputeRunFacetPayloadSchema, ComputeRunFacetsResponseSchema, ConversationStateSchema, ConversationStripOptionsSchema, ConversationVisibilitySchema, EmailChannelSchema, ExecuteInteractionByEndpointHeadersSchema, ExecuteInteractionByEndpointQuerySchema, ExecutionResponseSchema, ExecutionRunDocRefSchema, ExecutionRunInteractionSchema, ExecutionRunRefArraySchema, ExecutionRunRefSchema, ExecutionRunSchema, ExecutionRunStatusSchema, ExecutionRunWorkflowSchema, ExportedPromptTemplateRefSchema, ExternalizedToolInputRefSchema, ExternalizedToolInputRefsSchema, FacetSpecSchema, FindRunResultArraySchema, FindRunResultSchema, GeneratedInteractionDefinitionArraySchema, GeneratedInteractionDefinitionSchema, GeneratedInteractionPromptSegmentSchema, GeneratedInteractionPromptTemplateSchema, GeneratedTestDataRecordArraySchema, GeneratedTestDataRecordSchema, GenerateInteractionPayloadSchema, GenerateTestDataPayloadSchema, ImprovePromptPayloadConfigSchema, ImprovePromptPayloadSchema, InCodeInteractionSchema, InCodePromptSchema, InitialToolCallSchema, InteractionArraySchema, InteractionCreatePayloadSchema, InteractionEndpointArraySchema, InteractionEndpointQuerySchema, InteractionEndpointSchema, InteractionExecutionErrorSchema, InteractionExecutionPayloadSchema, InteractionExecutionResultSchema, InteractionForkPayloadSchema, InteractionNameArraySchema, InteractionNameSchema, InteractionPromptSegmentInputSchema, InteractionPromptTemplateInputSchema, InteractionPublishPayloadSchema, InteractionRefArraySchema, InteractionRefSchema, InteractionRefWithSchemaArraySchema, InteractionRefWithSchemaSchema, InteractionSchema, InteractionSearchQuerySchema, InteractionStatusSchema, InteractionsExportPayloadSchema, InteractionTagsArraySchema, InteractionTagsSchema, InteractionUpdatePayloadSchema, InteractionVisibilitySchema, InteractiveChannelSchema, LegacyExecutionRunResultSchema, LegacyPopulatedExecutionRunResultSchema, LlmCallTypeSchema, ModelSourceSchema, NamedInteractionExecutionPayloadSchema, NumberValueMapSchema, PendingMcpConnectionSchema, PendingToolApprovalResultsSchema, PlanSchema, PlanTaskSchema, PopulatedExecutionRunResultSchema, PromptImprovementResponseSchema, PromptModalitiesSchema, PromptSegmentDefSchema, PromptSegmentDefTypeSchema, PromptSegmentRef_ExportedPromptTemplateRefSchema, PromptSegmentRef_PromptTemplateRefSchema, PromptStatusSchema, PromptTemplateCreatePayloadSchema, PromptTemplateRefSchema, PromptTemplateSchema, PromptTemplateUpdatePayloadSchema, RateLimitRequestPayloadSchema, RateLimitRequestResponseSchema, ResolvedCatalogInteractionSchema, ResolvedEnvironmentInfoSchema, ResolvedInteractionExecutionInfoSchema, ResolvedRuntimeConfigSchema, ResolveInteractionQuerySchema, ResultStorageOptionsSchema, RunClonePayloadSchema, RunCreatePayloadSchema, RunListQuerySchema, RunSearchMetaResponseSchema, RunSearchPayloadSchema, RunSearchQuerySchema, RunSourceSchema, RunSourceTypesSchema, SchemaRefSchema, SkillContextTriggersSchema, SortOptionSchema, SortOrderSchema, StoredCatalogInteractionsQuerySchema, StreamingOptionsSchema, StreamingTelemetryContextSchema, TemplateTypeSchema, TextArtifactReferenceSchema, ToolApprovalGrantMapSchema, ToolApprovalGrantSchema, ToolReferenceSchema, ToolResultMetaSchema, ToolResultSchema, ToolResultsPayloadSchema, UpdateExecutionRunPayloadSchema, UsedSkillSchema, UserChannelSchema, UserMessagePayloadSchema, WorkflowAncestorSchema, } from './interaction.js';
33
33
  import { AccountProjectsResponseSchema, InviteAcceptanceResponseSchema, InviteDeclineResponseSchema, InviteUserRequestPayloadSchema, InviteUserResponsePayloadSchema, OnboardingProgressSchema, UserInviteTokenArraySchema, } from './invites.js';
34
34
  import { CreateOAuthProviderPayloadSchema, OAuthProviderAccessTokenResponseSchema, OAuthProviderArraySchema, OAuthProviderAuthorizeResponseSchema, OAuthProviderAuthStatusSchema, OAuthProviderExchangePayloadSchema, OAuthProviderSchema, SuccessResponseSchema, UpdateOAuthProviderPayloadSchema, } from './oauth.js';
35
- import { BulkRevokeOAuthGrantsPayloadSchema, CreateOAuthClientPayloadSchema, ListOAuthGrantsQuerySchema, OAuthClientArraySchema, OAuthClientCreateResponseSchema, OAuthClientSchema, OAuthClientScopeMetadataSchema, OAuthClientStatusSchema, OAuthClientTypeSchema, OAuthGrantListResponseSchema, OAuthGrantRevokeResponseSchema, OAuthGrantSchema, OAuthGrantSortFieldSchema, OAuthGrantSortOrderSchema, OAuthGrantStatusSchema, OAuthGrantTypeSchema, OAuthProjectBindingModeSchema, OAuthRegistrationSourceSchema, OAuthResponseTypeSchema, OAuthTokenEndpointAuthMethodSchema, RevokeOAuthGrantQuerySchema, UpdateOAuthClientPayloadSchema, } from './oauth-server.js';
36
- import { normalizeParameters, } from './parameters.js';
35
+ import { ApproveOAuthAuthorizationRequestPayloadSchema, BulkRevokeOAuthGrantsPayloadSchema, CreateOAuthAuthorizationRequestPayloadSchema, CreateOAuthClientPayloadSchema, ListOAuthGrantsQuerySchema, OAuthAuthorizationDecisionResponseSchema, OAuthAuthorizationRequestSchema, OAuthAuthorizationRequestStatusSchema, OAuthAuthorizationServerMetadataSchema, OAuthAuthorizeQuerySchema, OAuthClientArraySchema, OAuthClientCreateResponseSchema, OAuthClientDisplayMetadataSchema, OAuthClientRegistrationModeSchema, OAuthClientSchema, OAuthClientScopeMetadataSchema, OAuthClientStatusSchema, OAuthClientTypeSchema, OAuthDeviceAuthorizationRequestSchema, OAuthDeviceAuthorizationResponseSchema, OAuthGrantableScopesResponseSchema, OAuthGrantListResponseSchema, OAuthGrantRevokeResponseSchema, OAuthGrantSchema, OAuthGrantSortFieldSchema, OAuthGrantSortOrderSchema, OAuthGrantStatusSchema, OAuthGrantTypeSchema, OAuthProjectBindingModeSchema, OAuthRegistrationSourceSchema, OAuthResponseTypeSchema, OAuthTokenEndpointAuthMethodSchema, OAuthTokenResponseSchema, RevokeOAuthGrantQuerySchema, UpdateOAuthClientPayloadSchema, } from './oauth-server.js';
37
36
  import * as ProcessSchemas from './process.js';
38
37
  import { CountResultSchema, CreateProjectPayloadSchema, ListProjectsQuerySchema, ProjectIntegrationListResponseSchema, ProjectPluginsUpdatePayloadSchema, ProjectSchema, ProjectTagQuerySchema, ProjectToolInfoArraySchema, ProjectToolInfoSchema, RenderingTemplateDefinitionRefSchema, RenderingTemplateDefinitionSchema, UpdateProjectConfigurationPayloadSchema, UpdateProjectPayloadSchema, } from './project.js';
39
38
  import { BrowserUseProjectConfigurationSchema, ProjectConfigurationEmbeddingSchema, ProjectConfigurationSchema, ProjectIndexingConfigurationSchema, ProjectIntakeConfigurationSchema, ProjectIntakeSniffConfigurationSchema, ProjectModelDefaultsSchema, ResourceVisibilitySchema, } from './project-configuration.js';
40
39
  import { ComputePromptFacetPayloadSchema, PromptSearchQuerySchema, PromptTemplateForkPayloadSchema, PromptTemplateInteractionsResponseSchema, PromptTemplateInteractionUsageSchema, PromptTemplateInteractionVersionSchema, PromptTemplateRefArraySchema, RenderPromptPayloadSchema, RenderPromptResponseSchema, } from './prompt.js';
41
40
  import { QuotaStandingResponseSchema, QuotaTierResponseSchema } from './quota.js';
42
41
  import * as SecretSchemas from './secrets.js';
43
- import { ColumnLayoutSchema, ContentObjectTypeCatalogEntryArraySchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemArraySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, UpdateContentObjectTypePayloadSchema, } from './store.js';
42
+ import { ColumnLayoutSchema, ContentObjectTypeCatalogEntryArraySchema, ContentObjectTypeCatalogEntrySchema, ContentObjectTypeCatalogQuerySchema, ContentObjectTypeItemArraySchema, ContentObjectTypeItemSchema, ContentObjectTypeListQuerySchema, ContentObjectTypeSchema, ContentObjectTypeStatusSchema, ContentTypeEditingPolicySchema, ContentTypeIntakePolicySchema, CreateContentObjectTypePayloadSchema, InCodeTypeDefinitionSchema, InteractionExecutionConfigurationSchema, UpdateContentObjectTypePayloadSchema, } from './store.js';
44
43
  import * as StsSchemas from './sts.js';
45
44
  import { CompleteTaskPayloadSchema, CreateTaskPayloadSchema, DurableTaskStatusSchema, ListTasksQuerySchema, TaskArraySchema, TaskFieldSchema, TaskFieldTypeSchema, TaskSchema, TaskSourceSchema, UpdateTaskPayloadSchema, } from './task.js';
46
- import { AggregatedToolArraySchema, AggregatedToolSchema, ListProjectToolsQuerySchema, ToolSourceSchema, ToolValidationResultSchema, ValidateToolNamesPayloadSchema, ValidateToolNamesResponseSchema, } from './tools.js';
45
+ import { AggregatedToolArraySchema, AggregatedToolSchema, InspectProjectToolQuerySchema, ListProjectToolsQuerySchema, ProcessToolCompatibilityReasonSchema, ProcessToolCompatibilitySchema, ToolInspectionSchema, ToolRuntimeContextSchema, ToolSourceSchema, ToolValidationResultSchema, ValidateToolNamesPayloadSchema, ValidateToolNamesResponseSchema, } from './tools.js';
47
46
  import { DeleteByIdResultSchema, PrincipalIdentitySchema, SignupDataSchema, SignupPayloadSchema, UpdateUserPayloadSchema, UserArraySchema, UserRefArraySchema, UserSchema, } from './user.js';
48
47
  import * as ViewExecutionSchemas from './view-execution.js';
49
- import { AgenticViewSearchConfigurationSchema, CreateViewExperienceRequestSchema, UpdateViewExperienceRequestSchema, ViewBoardCardConfigurationSchema, ViewBoardColumnSchema, ViewBoardDisplaySchema, ViewCardsDisplaySchema, ViewCollectionNavigationSchema, ViewDisplayConfigurationSchema, ViewElasticsearchQuerySchema, ViewExperienceArraySchema, ViewExperienceLayoutSchema, ViewExperienceListQuerySchema, ViewExperienceSchema, ViewExperienceSchemaVersionSchema, ViewExperienceScopeSchema, ViewGalleryDisplaySchema, ViewHierarchyLevelSchema, ViewHierarchyNavigationSchema, ViewKeyTermDefinitionSchema, ViewListDisplaySchema, ViewLocationNavigationSchema, ViewNavigationItemSchema, ViewRangeDefinitionSchema, ViewRangeNavigationSchema, ViewResultFieldFormatSchema, ViewResultFieldSchema, ViewResultMediaSchema, ViewResultsConfigurationSchema, ViewSearchConfigurationSchema, ViewSearchFieldDefinitionSchema, ViewSearchFieldTypeSchema, ViewSortClauseSchema, ViewSortOptionSchema, ViewTableColumnSchema, ViewTableDisplaySchema, ViewTermsNavigationSchema, } from './views.js';
48
+ import { AgenticViewRerankConfigurationSchema, AgenticViewSearchConfigurationSchema, CreateViewExperienceRequestSchema, UpdateViewExperienceRequestSchema, ViewActionConfigurationSchema, ViewActionPlacementSchema, ViewActionSelectionRequirementSchema, ViewActionsConfigurationSchema, ViewAgenticExecutionConfigurationSchema, ViewAgenticSearchModeSchema, ViewBoardCardConfigurationSchema, ViewBoardColumnSchema, ViewBoardDisplaySchema, ViewCardsDisplaySchema, ViewCollectionNavigationSchema, ViewDisplayConfigurationSchema, ViewDropConfigurationSchema, ViewElasticsearchQuerySchema, ViewExperienceArraySchema, ViewExperienceLayoutSchema, ViewExperienceListQuerySchema, ViewExperienceSchema, ViewExperienceSchemaVersionSchema, ViewExperienceScopeSchema, ViewGalleryDisplaySchema, ViewHierarchyLevelSchema, ViewHierarchyNavigationSchema, ViewKeyTermDefinitionSchema, ViewListDisplaySchema, ViewLocationNavigationSchema, ViewNavigationItemSchema, ViewRangeDefinitionSchema, ViewRangeNavigationSchema, ViewResultFieldFormatSchema, ViewResultFieldSchema, ViewResultMediaSchema, ViewResultsConfigurationSchema, ViewSearchConfigurationSchema, ViewSearchFieldDefinitionSchema, ViewSearchFieldTypeSchema, ViewSelectionConfigurationSchema, ViewSelectionModeSchema, ViewSortClauseSchema, ViewSortOptionSchema, ViewTableColumnSchema, ViewTableDisplaySchema, ViewTermsNavigationSchema, ViewUploadDropParametersSchema, } from './views.js';
50
49
  import * as WorkflowRunSchemas from './workflow-runs.js';
51
- // ajv-formats is CommonJS with an ESM-style declaration file. Node's interop makes the default
52
- // import the whole `module.exports` (itself callable), while TypeScript sees the namespace — and
53
- // `.default` is the plugin function in both shapes.
54
- const addFormats = ajvFormats.default;
55
50
  /**
56
51
  * Endpoint-level API schemas, keyed by the OpenAPI component name they publish under.
57
52
  *
@@ -97,6 +92,7 @@ const IAM_AND_ACCOUNT_SCHEMAS = {
97
92
  UserGroupArray: UserGroupArraySchema,
98
93
  UserGroupRef: UserGroupRefSchema,
99
94
  CreateUserGroupPayload: CreateUserGroupPayloadSchema,
95
+ ListUserGroupsQuery: ListUserGroupsQuerySchema,
100
96
  UpdateUserGroupPayload: UpdateUserGroupPayloadSchema,
101
97
  AccessControlEntry: AccessControlEntrySchema,
102
98
  AccessControlEntryArray: AccessControlEntryArraySchema,
@@ -144,7 +140,7 @@ const PROJECT_AND_APP_SCHEMAS = {
144
140
  BrowserUseProjectConfiguration: BrowserUseProjectConfigurationSchema,
145
141
  ProjectIntakeSniffConfiguration: ProjectIntakeSniffConfigurationSchema,
146
142
  // Leaves of the Project closure. `ModelOptions` hoists its
147
- // twenty-three driver option sets and four enums; `JSONSchema` hoists `JSONSchemaProperties`.
143
+ // twenty-five driver option sets and four enums; `JSONSchema` hoists `JSONSchemaProperties`.
148
144
  JSONSchema: JSONSchemaSchema,
149
145
  ModelOptions: ModelOptionsSchema,
150
146
  HttpTimeoutOptions: HttpTimeoutOptionsSchema,
@@ -201,9 +197,23 @@ const OAUTH_SCHEMAS = {
201
197
  OAuthTokenEndpointAuthMethod: OAuthTokenEndpointAuthMethodSchema,
202
198
  OAuthGrantType: OAuthGrantTypeSchema,
203
199
  OAuthResponseType: OAuthResponseTypeSchema,
200
+ OAuthAuthorizationRequestStatus: OAuthAuthorizationRequestStatusSchema,
201
+ OAuthClientRegistrationMode: OAuthClientRegistrationModeSchema,
204
202
  OAuthGrantStatus: OAuthGrantStatusSchema,
205
203
  OAuthGrantSortField: OAuthGrantSortFieldSchema,
206
204
  OAuthGrantSortOrder: OAuthGrantSortOrderSchema,
205
+ // OAuth authorization-server discovery, consent, device-code, and token contracts.
206
+ OAuthAuthorizationServerMetadata: OAuthAuthorizationServerMetadataSchema,
207
+ OAuthClientDisplayMetadata: OAuthClientDisplayMetadataSchema,
208
+ OAuthAuthorizeQuery: OAuthAuthorizeQuerySchema,
209
+ CreateOAuthAuthorizationRequestPayload: CreateOAuthAuthorizationRequestPayloadSchema,
210
+ OAuthAuthorizationRequest: OAuthAuthorizationRequestSchema,
211
+ ApproveOAuthAuthorizationRequestPayload: ApproveOAuthAuthorizationRequestPayloadSchema,
212
+ OAuthGrantableScopesResponse: OAuthGrantableScopesResponseSchema,
213
+ OAuthAuthorizationDecisionResponse: OAuthAuthorizationDecisionResponseSchema,
214
+ OAuthDeviceAuthorizationRequest: OAuthDeviceAuthorizationRequestSchema,
215
+ OAuthDeviceAuthorizationResponse: OAuthDeviceAuthorizationResponseSchema,
216
+ OAuthTokenResponse: OAuthTokenResponseSchema,
207
217
  // Clients registered against Vertesia's own OAuth server. `OAuthClientData` is composed into
208
218
  // `OAuthClient` rather than hoisted, so it has no component of its own — as today.
209
219
  OAuthClient: OAuthClientSchema,
@@ -312,6 +322,7 @@ const LLM_COMPLETION_SCHEMAS = {
312
322
  TextResult: TextResultSchema,
313
323
  JsonResult: JsonResultSchema,
314
324
  ImageResult: ImageResultSchema,
325
+ VideoResult: VideoResultSchema,
315
326
  CompletionResult: CompletionResultSchema,
316
327
  ExecutionTokenUsage: ExecutionTokenUsageSchema,
317
328
  // The options a caller may send. `PromptFormatter` is deliberately gone: see the note on
@@ -329,10 +340,12 @@ const INTERACTION_SCHEMAS = {
329
340
  SchemaRef: SchemaRefSchema,
330
341
  CachePolicy: CachePolicySchema,
331
342
  PromptTemplate: PromptTemplateSchema,
343
+ InteractionPromptTemplateInput: InteractionPromptTemplateInputSchema,
332
344
  PromptTemplateCreatePayload: PromptTemplateCreatePayloadSchema,
333
345
  PromptTemplateUpdatePayload: PromptTemplateUpdatePayloadSchema,
334
346
  PromptTemplateRef: PromptTemplateRefSchema,
335
347
  PromptSegmentDef: PromptSegmentDefSchema,
348
+ InteractionPromptSegmentInput: InteractionPromptSegmentInputSchema,
336
349
  PromptSegmentRef_PromptTemplateRef: PromptSegmentRef_PromptTemplateRefSchema,
337
350
  InCodePrompt: InCodePromptSchema,
338
351
  Interaction: InteractionSchema,
@@ -363,6 +376,8 @@ const INTERACTION_SCHEMAS = {
363
376
  // The catalog — in-code interactions an app or the system provides, alongside stored ones.
364
377
  CatalogInteractionRef: CatalogInteractionRefSchema,
365
378
  CatalogInteractionRefArray: CatalogInteractionRefArraySchema,
379
+ InCodeInteraction: InCodeInteractionSchema,
380
+ ResolvedCatalogInteraction: ResolvedCatalogInteractionSchema,
366
381
  CatalogTagQuery: CatalogTagQuerySchema,
367
382
  StoredCatalogInteractionsQuery: StoredCatalogInteractionsQuerySchema,
368
383
  // What `GET /interactions/resolve/:nameOrId` answers with.
@@ -451,11 +466,17 @@ const EXECUTION_RUN_SCHEMAS = {
451
466
  InteractionExecutionPayload: InteractionExecutionPayloadSchema,
452
467
  NamedInteractionExecutionPayload: NamedInteractionExecutionPayloadSchema,
453
468
  InteractionExecutionResult: InteractionExecutionResultSchema,
469
+ FindRunResult: FindRunResultSchema,
470
+ FindRunResultArray: FindRunResultArraySchema,
454
471
  // The retrieve variant, and the two pre-versioning result shapes. See the schema module for why
455
472
  // the populated interaction cannot share a component with the create path.
456
473
  PopulatedExecutionRunResult: PopulatedExecutionRunResultSchema,
457
474
  LegacyExecutionRunResult: LegacyExecutionRunResultSchema,
458
475
  LegacyPopulatedExecutionRunResult: LegacyPopulatedExecutionRunResultSchema,
476
+ // Registered explicitly although the adapter would hoist it anyway from the schemas that
477
+ // reference it. Hoisted-only components exist in `ApiSchemaComponents` but not in the
478
+ // `ApiComponentName` union, so a server could not name this one to validate against it.
479
+ InteractionExecutionConfiguration: InteractionExecutionConfigurationSchema,
459
480
  InteractionExecutionError: InteractionExecutionErrorSchema,
460
481
  ResultStorageOptions: ResultStorageOptionsSchema,
461
482
  ExecuteInteractionByEndpointQuery: ExecuteInteractionByEndpointQuerySchema,
@@ -470,6 +491,7 @@ const EXECUTION_RUN_SCHEMAS = {
470
491
  RateLimitRequestPayload: RateLimitRequestPayloadSchema,
471
492
  RateLimitRequestResponse: RateLimitRequestResponseSchema,
472
493
  ComputeRunFacetPayload: ComputeRunFacetPayloadSchema,
494
+ ComputeRunFacetsResponse: ComputeRunFacetsResponseSchema,
473
495
  RunSearchMetaResponse: RunSearchMetaResponseSchema,
474
496
  ToolResultsPayload: ToolResultsPayloadSchema,
475
497
  UserMessagePayload: UserMessagePayloadSchema,
@@ -498,6 +520,10 @@ const FILE_STORAGE_SCHEMAS = {
498
520
  BucketReadAccessStatusResponse: BucketReadAccessStatusResponseSchema,
499
521
  EnsureBucketReadAccessPayload: EnsureBucketReadAccessPayloadSchema,
500
522
  EnsureBucketReadAccessResponse: EnsureBucketReadAccessResponseSchema,
523
+ BucketCreateAccessQuery: BucketCreateAccessQuerySchema,
524
+ BucketCreateAccessStatusResponse: BucketCreateAccessStatusResponseSchema,
525
+ EnsureBucketCreateAccessPayload: EnsureBucketCreateAccessPayloadSchema,
526
+ EnsureBucketCreateAccessResponse: EnsureBucketCreateAccessResponseSchema,
501
527
  };
502
528
  const DURABLE_TASK_SCHEMAS = {
503
529
  TaskFieldType: TaskFieldTypeSchema,
@@ -709,6 +735,9 @@ const PROCESS_DSL_SCHEMAS = {
709
735
  WorkflowDefinitionPayload: ProcessSchemas.WorkflowDefinitionPayloadSchema,
710
736
  WorkflowDefinitionPayloadWithActivities: ProcessSchemas.WorkflowDefinitionPayloadWithActivitiesSchema,
711
737
  WorkflowDefinitionPayloadWithSteps: ProcessSchemas.WorkflowDefinitionPayloadWithStepsSchema,
738
+ UpdateWorkflowDefinitionPayload: ProcessSchemas.UpdateWorkflowDefinitionPayloadSchema,
739
+ UpdateWorkflowDefinitionPayloadWithActivities: ProcessSchemas.UpdateWorkflowDefinitionPayloadWithActivitiesSchema,
740
+ UpdateWorkflowDefinitionPayloadWithSteps: ProcessSchemas.UpdateWorkflowDefinitionPayloadWithStepsSchema,
712
741
  };
713
742
  const AGENT_MESSAGE_SCHEMAS = {
714
743
  AgentMessageType: AgentRunSchemas.AgentMessageTypeSchema,
@@ -771,6 +800,8 @@ const CONTENT_OBJECT_SCHEMAS = {
771
800
  UpdateContentObjectPayload: ContentSchemas.UpdateContentObjectPayloadSchema,
772
801
  ContentObjectApiTypeRef: ContentSchemas.ContentObjectApiTypeRefSchema,
773
802
  ContentObjectApiResponse: ContentSchemas.ContentObjectApiResponseSchema,
803
+ ProjectedContentObjectApiResponse: ContentSchemas.ProjectedContentObjectApiResponseSchema,
804
+ ProjectedContentObjectApiResponseArray: ContentSchemas.ProjectedContentObjectApiResponseArraySchema,
774
805
  ContentObjectItemApiResponse: ContentSchemas.ContentObjectItemApiResponseSchema,
775
806
  ContentObjectItemApiResponseArray: ContentSchemas.ContentObjectItemApiResponseArraySchema,
776
807
  ContentObjectProcessingPriority: ContentSchemas.ContentObjectProcessingPrioritySchema,
@@ -849,6 +880,37 @@ const PROCESS_RUNTIME_SCHEMAS = {
849
880
  ProcessState: ProcessSchemas.ProcessStateSchema,
850
881
  WorkflowExecutionStartResultArray: ProcessSchemas.WorkflowExecutionStartResultArraySchema,
851
882
  RecordProcessRunPayload: ProcessSchemas.RecordProcessRunPayloadSchema,
883
+ ProcessTestRunStatus: ProcessSchemas.ProcessTestRunStatusSchema,
884
+ ProcessTestVirtualActor: ProcessSchemas.ProcessTestVirtualActorSchema,
885
+ ProcessTestFixtureResult: ProcessSchemas.ProcessTestFixtureResultSchema,
886
+ ProcessTestFixtureError: ProcessSchemas.ProcessTestFixtureErrorSchema,
887
+ ProcessTestFixtureResponse: ProcessSchemas.ProcessTestFixtureResponseSchema,
888
+ ProcessTestNodeFixture: ProcessSchemas.ProcessTestNodeFixtureSchema,
889
+ ProcessTestHumanAction: ProcessSchemas.ProcessTestHumanActionSchema,
890
+ ProcessTestAssertions: ProcessSchemas.ProcessTestAssertionsSchema,
891
+ ProcessTestScenario: ProcessSchemas.ProcessTestScenarioSchema,
892
+ ProcessTestSuite: ProcessSchemas.ProcessTestSuiteSchema,
893
+ ProcessTestSuiteArray: ProcessSchemas.ProcessTestSuiteArraySchema,
894
+ CreateProcessTestSuitePayload: ProcessSchemas.CreateProcessTestSuitePayloadSchema,
895
+ UpdateProcessTestSuitePayload: ProcessSchemas.UpdateProcessTestSuitePayloadSchema,
896
+ StartProcessTestRunPayload: ProcessSchemas.StartProcessTestRunPayloadSchema,
897
+ ProcessTestStoredSubject: ProcessSchemas.ProcessTestStoredSubjectSchema,
898
+ ProcessTestResolvedSubject: ProcessSchemas.ProcessTestResolvedSubjectSchema,
899
+ ProcessTestInlineSubject: ProcessSchemas.ProcessTestInlineSubjectSchema,
900
+ ProcessTestSubject: ProcessSchemas.ProcessTestSubjectSchema,
901
+ ProcessTestTargetById: ProcessSchemas.ProcessTestTargetByIdSchema,
902
+ ProcessTestTargetWithDefinition: ProcessSchemas.ProcessTestTargetWithDefinitionSchema,
903
+ ProcessTestTarget: ProcessSchemas.ProcessTestTargetSchema,
904
+ SubmitProcessTestRunPayload: ProcessSchemas.SubmitProcessTestRunPayloadSchema,
905
+ ProcessTestAssertionResult: ProcessSchemas.ProcessTestAssertionResultSchema,
906
+ ProcessTestActorDecision: ProcessSchemas.ProcessTestActorDecisionSchema,
907
+ ProcessTestCoverage: ProcessSchemas.ProcessTestCoverageSchema,
908
+ ProcessTestChildTrace: ProcessSchemas.ProcessTestChildTraceSchema,
909
+ ProcessTestScenarioResult: ProcessSchemas.ProcessTestScenarioResultSchema,
910
+ ProcessTestRun: ProcessSchemas.ProcessTestRunSchema,
911
+ ProcessTestRunArray: ProcessSchemas.ProcessTestRunArraySchema,
912
+ ListProcessTestRunsQuery: ProcessSchemas.ListProcessTestRunsQuerySchema,
913
+ UpdateProcessTestScenarioPayload: ProcessSchemas.UpdateProcessTestScenarioPayloadSchema,
852
914
  };
853
915
  const EVENT_DELIVERY_SCHEMAS = {
854
916
  AgentDeliveryMatchMode: EventSchemas.AgentDeliveryMatchModeSchema,
@@ -1010,6 +1072,8 @@ const VIEW_EXECUTION_SCHEMAS = {
1010
1072
  ExecuteViewRequest: ViewExecutionSchemas.ExecuteViewRequestSchema,
1011
1073
  ViewNavigationResult: ViewExecutionSchemas.ViewNavigationResultSchema,
1012
1074
  ViewExecutionQueryPlan: ViewExecutionSchemas.ViewExecutionQueryPlanSchema,
1075
+ ViewRerankFailureCode: ViewExecutionSchemas.ViewRerankFailureCodeSchema,
1076
+ ViewExecutionRerankResult: ViewExecutionSchemas.ViewExecutionRerankResultSchema,
1013
1077
  ViewExecutionSearchConfiguration: ViewExecutionSchemas.ViewExecutionSearchConfigurationSchema,
1014
1078
  ViewNavigationResultMap: ViewExecutionSchemas.ViewNavigationResultMapSchema,
1015
1079
  ViewExecutionSearchResult: ViewExecutionSchemas.ViewExecutionSearchResultSchema,
@@ -1055,12 +1119,17 @@ const PROJECT_TOOL_SCHEMAS = {
1055
1119
  // The unified project-scoped tool registry: what `GET /tools` aggregates across
1056
1120
  // builtins, installed apps and interactions, and what `POST /tools/validate` resolves.
1057
1121
  ToolSource: ToolSourceSchema,
1122
+ ToolRuntimeContext: ToolRuntimeContextSchema,
1123
+ ProcessToolCompatibilityReason: ProcessToolCompatibilityReasonSchema,
1124
+ ProcessToolCompatibility: ProcessToolCompatibilitySchema,
1058
1125
  ValidateToolNamesPayload: ValidateToolNamesPayloadSchema,
1059
1126
  ToolValidationResult: ToolValidationResultSchema,
1060
1127
  AggregatedTool: AggregatedToolSchema,
1061
1128
  ValidateToolNamesResponse: ValidateToolNamesResponseSchema,
1062
1129
  AggregatedToolArray: AggregatedToolArraySchema,
1063
1130
  ListProjectToolsQuery: ListProjectToolsQuerySchema,
1131
+ InspectProjectToolQuery: InspectProjectToolQuerySchema,
1132
+ ToolInspection: ToolInspectionSchema,
1064
1133
  };
1065
1134
  const REMOTE_MCP_SCHEMAS = {
1066
1135
  // The OAuth handshake a remote MCP tool collection performs. Grouped by the
@@ -1113,6 +1182,9 @@ const VIEW_EXPERIENCE_SCHEMAS = {
1113
1182
  ViewResultFieldFormat: ViewResultFieldFormatSchema,
1114
1183
  ViewBoardColumn: ViewBoardColumnSchema,
1115
1184
  ViewTableColumn: ViewTableColumnSchema,
1185
+ ViewAgenticSearchMode: ViewAgenticSearchModeSchema,
1186
+ AgenticViewRerankConfiguration: AgenticViewRerankConfigurationSchema,
1187
+ ViewAgenticExecutionConfiguration: ViewAgenticExecutionConfigurationSchema,
1116
1188
  AgenticViewSearchConfiguration: AgenticViewSearchConfigurationSchema,
1117
1189
  ViewSearchFieldType: ViewSearchFieldTypeSchema,
1118
1190
  ViewSearchFieldDefinition: ViewSearchFieldDefinitionSchema,
@@ -1138,6 +1210,14 @@ const VIEW_EXPERIENCE_SCHEMAS = {
1138
1210
  ViewCardsDisplay: ViewCardsDisplaySchema,
1139
1211
  ViewGalleryDisplay: ViewGalleryDisplaySchema,
1140
1212
  ViewDisplayConfiguration: ViewDisplayConfigurationSchema,
1213
+ ViewSelectionMode: ViewSelectionModeSchema,
1214
+ ViewSelectionConfiguration: ViewSelectionConfigurationSchema,
1215
+ ViewActionPlacement: ViewActionPlacementSchema,
1216
+ ViewActionSelectionRequirement: ViewActionSelectionRequirementSchema,
1217
+ ViewActionConfiguration: ViewActionConfigurationSchema,
1218
+ ViewActionsConfiguration: ViewActionsConfigurationSchema,
1219
+ ViewUploadDropParameters: ViewUploadDropParametersSchema,
1220
+ ViewDropConfiguration: ViewDropConfigurationSchema,
1141
1221
  ViewResultsConfiguration: ViewResultsConfigurationSchema,
1142
1222
  CreateViewExperienceRequest: CreateViewExperienceRequestSchema,
1143
1223
  ViewExperience: ViewExperienceSchema,
@@ -1194,6 +1274,7 @@ const APP_LIFECYCLE_SCHEMAS = {
1194
1274
  AppRepoDocumentCommit: AppRepoDocumentCommitSchema,
1195
1275
  AppVersionGitSource: AppVersionGitSourceSchema,
1196
1276
  StartAppScaffoldRequest: StartAppScaffoldRequestSchema,
1277
+ StartAppDevelopmentTaskRequest: StartAppDevelopmentTaskRequestSchema,
1197
1278
  StartAppBuildRequest: StartAppBuildRequestSchema,
1198
1279
  AgentToolDefinition: AgentToolDefinitionSchema,
1199
1280
  AppDevelopmentTaskList: AppDevelopmentTaskListSchema,
@@ -1221,6 +1302,8 @@ const APP_LIFECYCLE_SCHEMAS = {
1221
1302
  AppToolCollectionArray: AppToolCollectionArraySchema,
1222
1303
  AppInstallationKind: AppInstallationKindSchema,
1223
1304
  AppInstallationsQuery: AppInstallationsQuerySchema,
1305
+ AppListScope: AppListScopeSchema,
1306
+ AppsQuery: AppsQuerySchema,
1224
1307
  AppInstallationProjectsQuery: AppInstallationProjectsQuerySchema,
1225
1308
  SystemPackageQuery: SystemPackageQuerySchema,
1226
1309
  };
@@ -1312,6 +1395,7 @@ const APP_MANIFEST_SCHEMAS = {
1312
1395
  AppWidgetInfo: AppRuntimeSchemas.AppWidgetInfoSchema,
1313
1396
  AppDashboardDefinition: AppRuntimeSchemas.AppDashboardDefinitionSchema,
1314
1397
  AppManifestData: AppRuntimeSchemas.AppManifestDataSchema,
1398
+ UpdateAppPayload: AppRuntimeSchemas.UpdateAppPayloadSchema,
1315
1399
  AppManifest: AppRuntimeSchemas.AppManifestSchema,
1316
1400
  AppManifestArray: AppRuntimeSchemas.AppManifestArraySchema,
1317
1401
  AppWidgetInfoMap: AppRuntimeSchemas.AppWidgetInfoMapSchema,
@@ -1347,6 +1431,30 @@ const STS_SCHEMAS = {
1347
1431
  IssueTokenForbiddenResponse: StsSchemas.IssueTokenForbiddenResponseSchema,
1348
1432
  IssueTokenUnavailableResponse: StsSchemas.IssueTokenUnavailableResponseSchema,
1349
1433
  };
1434
+ const AGENT_COMMUNICATION_SCHEMAS = {
1435
+ EmailRouteData: AgentCommunicationSchemas.EmailRouteDataSchema,
1436
+ SendEmailRequest: AgentCommunicationSchemas.SendEmailRequestSchema,
1437
+ SendEmailResponse: AgentCommunicationSchemas.SendEmailResponseSchema,
1438
+ ResolveEmailRouteRequest: AgentCommunicationSchemas.ResolveEmailRouteRequestSchema,
1439
+ CreateEmailRouteRequest: AgentCommunicationSchemas.CreateEmailRouteRequestSchema,
1440
+ CreateEmailRouteResponse: AgentCommunicationSchemas.CreateEmailRouteResponseSchema,
1441
+ EmailRouteResponse: AgentCommunicationSchemas.EmailRouteResponseSchema,
1442
+ UpdateEmailRouteRequest: AgentCommunicationSchemas.UpdateEmailRouteRequestSchema,
1443
+ UpdateEmailRouteResponse: AgentCommunicationSchemas.UpdateEmailRouteResponseSchema,
1444
+ ForwardEmailRequest: AgentCommunicationSchemas.ForwardEmailRequestSchema,
1445
+ ForwardEmailResponse: AgentCommunicationSchemas.ForwardEmailResponseSchema,
1446
+ PendingAskStatus: AgentCommunicationSchemas.PendingAskStatusSchema,
1447
+ PendingAskData: AgentCommunicationSchemas.PendingAskDataSchema,
1448
+ RegisterPendingAskRequest: AgentCommunicationSchemas.RegisterPendingAskRequestSchema,
1449
+ RegisterPendingAskResponse: AgentCommunicationSchemas.RegisterPendingAskResponseSchema,
1450
+ ResolvePendingAskRequest: AgentCommunicationSchemas.ResolvePendingAskRequestSchema,
1451
+ ResolvePendingAskResponse: AgentCommunicationSchemas.ResolvePendingAskResponseSchema,
1452
+ ListPendingAsksResponse: AgentCommunicationSchemas.ListPendingAsksResponseSchema,
1453
+ };
1454
+ const CONTENT_QUERY_SCHEMAS = {
1455
+ ContentQueryPayload: ContentQuerySchemas.ContentQueryPayloadSchema,
1456
+ ContentQueryResult: ContentQuerySchemas.ContentQueryResultSchema,
1457
+ };
1350
1458
  const API_SCHEMA_GROUPS = [
1351
1459
  IAM_AND_ACCOUNT_SCHEMAS,
1352
1460
  PROJECT_AND_APP_SCHEMAS,
@@ -1369,6 +1477,8 @@ const API_SCHEMA_GROUPS = [
1369
1477
  APP_MANIFEST_SCHEMAS,
1370
1478
  APP_INSTALLATION_SCHEMAS,
1371
1479
  STS_SCHEMAS,
1480
+ AGENT_COMMUNICATION_SCHEMAS,
1481
+ CONTENT_QUERY_SCHEMAS,
1372
1482
  FILE_STORAGE_SCHEMAS,
1373
1483
  DURABLE_TASK_SCHEMAS,
1374
1484
  CONTENT_TYPE_CATALOG_SCHEMAS,
@@ -1411,6 +1521,33 @@ const API_SCHEMAS = mergeComponentGroups(API_SCHEMA_GROUPS);
1411
1521
  * objects, so a body carrying an undeclared property is rejected rather than quietly accepted.
1412
1522
  */
1413
1523
  const STRICT_COMPONENTS = new Set([
1524
+ // Process Test Lab request, fixture, and result contracts.
1525
+ 'ProcessTestVirtualActor',
1526
+ 'ProcessTestFixtureResult',
1527
+ 'ProcessTestFixtureError',
1528
+ 'ProcessTestNodeFixture',
1529
+ 'ProcessTestHumanAction',
1530
+ 'ProcessTestAssertions',
1531
+ 'ProcessTestScenario',
1532
+ 'ProcessTestSuite',
1533
+ 'CreateProcessTestSuitePayload',
1534
+ 'UpdateProcessTestSuitePayload',
1535
+ 'StartProcessTestRunPayload',
1536
+ 'ProcessTestStoredSubject',
1537
+ 'ProcessTestResolvedSubject',
1538
+ 'ProcessTestInlineSubject',
1539
+ 'ProcessTestTargetById',
1540
+ 'ProcessTestTargetWithDefinition',
1541
+ 'ProcessTestTarget',
1542
+ 'SubmitProcessTestRunPayload',
1543
+ 'ProcessTestAssertionResult',
1544
+ 'ProcessTestActorDecision',
1545
+ 'ProcessTestCoverage',
1546
+ 'ProcessTestChildTrace',
1547
+ 'ProcessTestScenarioResult',
1548
+ 'ProcessTestRun',
1549
+ 'ListProcessTestRunsQuery',
1550
+ 'UpdateProcessTestScenarioPayload',
1414
1551
  'Account',
1415
1552
  'AccountBilling',
1416
1553
  'UpdateAccountPayload',
@@ -1455,6 +1592,27 @@ const STRICT_COMPONENTS = new Set([
1455
1592
  'UserGroupRef',
1456
1593
  'CreateUserGroupPayload',
1457
1594
  'UpdateUserGroupPayload',
1595
+ 'ListUserGroupsQuery',
1596
+ // Agent communication and content query endpoints.
1597
+ 'EmailRouteData',
1598
+ 'SendEmailRequest',
1599
+ 'SendEmailResponse',
1600
+ 'ResolveEmailRouteRequest',
1601
+ 'CreateEmailRouteRequest',
1602
+ 'CreateEmailRouteResponse',
1603
+ 'EmailRouteResponse',
1604
+ 'UpdateEmailRouteRequest',
1605
+ 'UpdateEmailRouteResponse',
1606
+ 'ForwardEmailRequest',
1607
+ 'ForwardEmailResponse',
1608
+ 'PendingAskData',
1609
+ 'RegisterPendingAskRequest',
1610
+ 'RegisterPendingAskResponse',
1611
+ 'ResolvePendingAskRequest',
1612
+ 'ResolvePendingAskResponse',
1613
+ 'ListPendingAsksResponse',
1614
+ 'ContentQueryPayload',
1615
+ 'ContentQueryResult',
1458
1616
  // The roles / access-control closure. `AceConditions` is closed too, and has to be listed by
1459
1617
  // name: it is a hoisted component, so the parent's strict policy does not reach it.
1460
1618
  // `PropertyConditions` is deliberately absent — it is a map whose `additionalProperties` is a
@@ -1534,7 +1692,7 @@ const STRICT_COMPONENTS = new Set([
1534
1692
  'ProjectConfiguration',
1535
1693
  'UpdateProjectPayload',
1536
1694
  'UpdateProjectConfigurationPayload',
1537
- // Every member of the `ModelOptions` union. All twenty-three are published closed today, and
1695
+ // Every member of the `ModelOptions` union is published closed today, and
1538
1696
  // their Zod schemas are `strictObject`, so the published contract, the AJV enforcement and the
1539
1697
  // schema's own parse all reject the same undeclared option. `ModelOptions` itself is a union
1540
1698
  // and takes no `additionalProperties`, and neither do the four hoisted enums.
@@ -1542,9 +1700,11 @@ const STRICT_COMPONENTS = new Set([
1542
1700
  // `JSONSchema` is deliberately absent: it is OPEN by design and by long-standing publication —
1543
1701
  // a JSON Schema carries keywords the type never enumerated. `JSONSchemaProperties` is a map.
1544
1702
  'TextFallbackOptions',
1703
+ 'AzureFoundryChatOptions',
1545
1704
  'ImagenOptions',
1546
1705
  'VertexAIClaudeOptions',
1547
1706
  'VertexAIGeminiOptions',
1707
+ 'VertexAIGeminiOmniVideoOptions',
1548
1708
  'VertexAIGrokOptions',
1549
1709
  'NovaCanvasOptions',
1550
1710
  'BedrockConverseOptions',
@@ -1563,7 +1723,9 @@ const STRICT_COMPONENTS = new Set([
1563
1723
  'OpenAiTextOptions',
1564
1724
  'OpenAiDalleOptions',
1565
1725
  'OpenAiGptImageOptions',
1726
+ 'XAIGrokImageOptions',
1566
1727
  'GroqOptions',
1728
+ 'MistralTextOptions',
1567
1729
  // The app-manifest leaves. Every object among them is published closed today, the nested `git`
1568
1730
  // block included, and it is spelled `strictObject` so the emission carries it directly. The five
1569
1731
  // enums take no `additionalProperties` at all.
@@ -1774,6 +1936,8 @@ const STRICT_COMPONENTS = new Set([
1774
1936
  'ViewResultMedia',
1775
1937
  'ViewBoardColumn',
1776
1938
  'ViewTableColumn',
1939
+ 'AgenticViewRerankConfiguration',
1940
+ 'ViewAgenticExecutionConfiguration',
1777
1941
  'AgenticViewSearchConfiguration',
1778
1942
  'ViewSearchFieldDefinition',
1779
1943
  'ViewRangeDefinition',
@@ -1875,6 +2039,7 @@ const STRICT_COMPONENTS = new Set([
1875
2039
  'WorkflowRunEvent',
1876
2040
  'ViewNavigationResult',
1877
2041
  'ViewExecutionQueryPlan',
2042
+ 'ViewExecutionRerankResult',
1878
2043
  'ViewExecutionSearchConfiguration',
1879
2044
  'DSLRetryPolicy',
1880
2045
  'CreateContentObjectPayload',
@@ -1902,6 +2067,7 @@ const STRICT_COMPONENTS = new Set([
1902
2067
  'DSLActivitySpec',
1903
2068
  'DSLActivityStep',
1904
2069
  'ContentObjectApiResponse',
2070
+ 'ProjectedContentObjectApiResponse',
1905
2071
  'ComputeObjectFacetPayload',
1906
2072
  'EventSubscriptionFilter',
1907
2073
  'EventDeliverySummary',
@@ -1914,6 +2080,11 @@ const STRICT_COMPONENTS = new Set([
1914
2080
  'ListEventDeliveriesResponse',
1915
2081
  'ObjectSearchResponse',
1916
2082
  'WorkflowRunWithDetails',
2083
+ 'ViewSelectionConfiguration',
2084
+ 'ViewActionConfiguration',
2085
+ 'ViewActionsConfiguration',
2086
+ 'ViewUploadDropParameters',
2087
+ 'ViewDropConfiguration',
1917
2088
  'ViewResultsConfiguration',
1918
2089
  'ViewExecutionDefinition',
1919
2090
  'ViewExperienceConfiguration',
@@ -1952,6 +2123,14 @@ const STRICT_COMPONENTS = new Set([
1952
2123
  'OAuthProviderAuthorizeResponse',
1953
2124
  'OAuthProviderAccessTokenResponse',
1954
2125
  'OAuthProviderExchangePayload',
2126
+ 'OAuthClientDisplayMetadata',
2127
+ 'OAuthAuthorizeQuery',
2128
+ 'CreateOAuthAuthorizationRequestPayload',
2129
+ 'OAuthAuthorizationRequest',
2130
+ 'ApproveOAuthAuthorizationRequestPayload',
2131
+ 'OAuthGrantableScopesResponse',
2132
+ 'OAuthAuthorizationDecisionResponse',
2133
+ 'OAuthDeviceAuthorizationRequest',
1955
2134
  'OAuthClient',
1956
2135
  'OAuthClientCreateResponse',
1957
2136
  'OAuthClientScopeMetadata',
@@ -2020,16 +2199,19 @@ const STRICT_COMPONENTS = new Set([
2020
2199
  'TextResult',
2021
2200
  'JsonResult',
2022
2201
  'ImageResult',
2202
+ 'VideoResult',
2023
2203
  'ExecutionTokenUsage',
2024
2204
  'StatelessExecutionOptions',
2025
2205
  'SchemaRef',
2026
2206
  'CachePolicy',
2027
2207
  'PromptModalities',
2028
2208
  'PromptTemplate',
2209
+ 'InteractionPromptTemplateInput',
2029
2210
  'PromptTemplateCreatePayload',
2030
2211
  'PromptTemplateUpdatePayload',
2031
2212
  'PromptTemplateRef',
2032
2213
  'PromptSegmentDef',
2214
+ 'InteractionPromptSegmentInput',
2033
2215
  'PromptSegmentRef_PromptTemplateRef',
2034
2216
  'InCodePrompt',
2035
2217
  'Interaction',
@@ -2118,6 +2300,11 @@ const STRICT_COMPONENTS = new Set([
2118
2300
  'ValidateToolNamesPayload',
2119
2301
  'ToolValidationResult',
2120
2302
  'AggregatedTool',
2303
+ 'ToolRuntimeContext',
2304
+ 'ProcessToolCompatibilityReason',
2305
+ 'ProcessToolCompatibility',
2306
+ 'InspectProjectToolQuery',
2307
+ 'ToolInspection',
2121
2308
  'ValidateToolNamesResponse',
2122
2309
  'RenderPromptResponse',
2123
2310
  'PromptTemplateInteractionVersion',
@@ -2203,6 +2390,7 @@ const STRICT_COMPONENTS = new Set([
2203
2390
  'AppRepoDocumentCommit',
2204
2391
  'AppVersionGitSource',
2205
2392
  'StartAppScaffoldRequest',
2393
+ 'StartAppDevelopmentTaskRequest',
2206
2394
  'StartAppBuildRequest',
2207
2395
  'AgentToolDefinition',
2208
2396
  'AppDevelopmentTaskList',
@@ -2221,6 +2409,7 @@ const STRICT_COMPONENTS = new Set([
2221
2409
  'AppInstallationPayload',
2222
2410
  'AppDevelopmentTaskDetails',
2223
2411
  'AppInstallationsQuery',
2412
+ 'AppsQuery',
2224
2413
  'AppInstallationProjectsQuery',
2225
2414
  'SystemPackageQuery',
2226
2415
  'WebsiteCredentialTotpMetadata',
@@ -2255,6 +2444,7 @@ const STRICT_COMPONENTS = new Set([
2255
2444
  'DeleteSecretResponse',
2256
2445
  'WebsiteCredentialMetadata',
2257
2446
  'AppManifestData',
2447
+ 'UpdateAppPayload',
2258
2448
  'WebsiteCredentialMetadataUpdate',
2259
2449
  'AskUserWebhookConfigurationInput',
2260
2450
  'ResendConfigurationInput',
@@ -2283,13 +2473,20 @@ const STRICT_COMPONENTS = new Set([
2283
2473
  'BucketReadAccessStatusResponse',
2284
2474
  'EnsureBucketReadAccessPayload',
2285
2475
  'EnsureBucketReadAccessResponse',
2476
+ 'BucketCreateAccessQuery',
2477
+ 'BucketCreateAccessStatusResponse',
2478
+ 'EnsureBucketCreateAccessPayload',
2479
+ 'EnsureBucketCreateAccessResponse',
2286
2480
  'MigrateInteractionsPayload',
2287
2481
  'MigrateInteractionsResult',
2288
2482
  'PricingSyncPayload',
2289
2483
  'PricingSyncDayResult',
2290
2484
  'PricingSyncResult',
2291
2485
  'ComputeRunFacetPayload',
2486
+ 'FindRunResult',
2487
+ 'FindRunResultArray',
2292
2488
  'RunSearchMetaResponse',
2489
+ 'ComputeRunFacetsResponse',
2293
2490
  'ToolResultsPayload',
2294
2491
  'UserMessagePayload',
2295
2492
  'ExecutionResponse',
@@ -2334,273 +2531,29 @@ function emitRawSchemas() {
2334
2531
  ]));
2335
2532
  }
2336
2533
  /**
2337
- * The canonical `components.schemas` for all documented endpoints.
2338
- *
2339
- * This exact object is what the OpenAPI spec publishes AND what AJV compiles, so the published
2340
- * contract and the enforced contract cannot diverge.
2341
- */
2342
- export const ApiSchemaComponents = toOpenApiComponents(emitRawSchemas(), {
2343
- strictComponents: STRICT_COMPONENTS,
2344
- });
2345
- /**
2346
- * A canonical component as a SELF-CONTAINED JSON Schema, for consumers that compile it directly.
2347
- *
2348
- * The published component `$ref`s its neighbours through `#/components/schemas/...`, which resolves
2349
- * only inside the OpenAPI document. AJV and the Monaco editor need a document they can compile on
2350
- * its own, so the transitive closure is inlined under `$defs` and the pointers rewritten. Nothing
2351
- * about the shapes changes — this is a re-rooting of the same objects, plus the removal of the
2352
- * OpenAPI-only discriminator keywords described below, which is what lets a generated artifact be
2353
- * compared with the component it came from.
2354
- */
2355
- export function bundleCanonicalComponent(name) {
2356
- const seen = new Set();
2357
- const queue = [name];
2358
- while (queue.length > 0) {
2359
- const current = queue.shift();
2360
- if (seen.has(current))
2361
- continue;
2362
- seen.add(current);
2363
- for (const referenced of collectComponentRefs(ApiSchemaComponents[current])) {
2364
- if (!seen.has(referenced))
2365
- queue.push(referenced);
2366
- }
2367
- }
2368
- seen.delete(name);
2369
- const defs = {};
2370
- for (const dependency of [...seen].sort()) {
2371
- defs[dependency] = toPlainJsonSchema(ApiSchemaComponents[dependency]);
2372
- }
2373
- const root = toPlainJsonSchema(ApiSchemaComponents[name]);
2374
- return seen.size > 0 ? { ...root, $defs: defs } : root;
2375
- }
2376
- const COMPONENT_REF_PREFIX = '#/components/schemas/';
2377
- /**
2378
- * Re-roots the component pointers AND drops the discriminator keywords, which are OpenAPI's, not
2379
- * JSON Schema's.
2380
- *
2381
- * `synthesizeDiscriminator` in the adapter gives a discriminated union a `discriminator` plus a
2382
- * restated `type: 'object'` and `required: [propertyName]` ON THE UNION NODE, so a generated
2383
- * Java/Go client can pick a subtype from the union rather than the branches. That restatement is a
2384
- * codegen hint: the node carries no `properties`, so it says "an object that must have
2385
- * `_option_id`" while declaring nothing that could be one.
2386
- *
2387
- * A JSON Schema validator does not mind — `required` needs no matching `properties`, and each
2388
- * branch requires the same key anyway, so removing all three is validation-neutral. Gemini's
2389
- * function-declaration validator does mind, and rejects the whole tool:
2390
- *
2391
- * schema at properties.intake.properties.extraction.properties.config.properties.model_options
2392
- * requires unspecified property '_option_id'
2393
- *
2394
- * That was a 400 on every agent turn offering `create_or_update_type`, because the intake-policy
2395
- * artifact reaches Vertex inside that tool's input schema. Stripping here rather than at the tool
2396
- * keeps the next component someone bundles from reintroducing it. The OpenAPI document is untouched
2397
- * — `ApiSchemaComponents` still carries the hint, and the generated clients still read it.
2398
- */
2399
- function toPlainJsonSchema(value) {
2400
- const rerooted = rerootComponentRefs(value);
2401
- return stripDiscriminators(rerooted);
2402
- }
2403
- function stripDiscriminators(value) {
2404
- if (Array.isArray(value))
2405
- return value.map(stripDiscriminators);
2406
- if (!value || typeof value !== 'object')
2407
- return value;
2408
- const node = value;
2409
- // `properties` present means the node describes an object in its own right, so its `type` and
2410
- // `required` are the schema's own rather than the restatement — only the OpenAPI keyword goes.
2411
- const restated = node.discriminator !== undefined && node.properties === undefined;
2412
- const out = {};
2413
- for (const [key, item] of Object.entries(node)) {
2414
- if (key === 'discriminator')
2415
- continue;
2416
- if (restated && (key === 'type' || key === 'required'))
2417
- continue;
2418
- out[key] = stripDiscriminators(item);
2419
- }
2420
- return out;
2421
- }
2422
- function collectComponentRefs(value, out = new Set()) {
2423
- if (Array.isArray(value)) {
2424
- for (const item of value)
2425
- collectComponentRefs(item, out);
2426
- return out;
2427
- }
2428
- if (!value || typeof value !== 'object')
2429
- return out;
2430
- for (const [key, item] of Object.entries(value)) {
2431
- if (key === '$ref' && typeof item === 'string' && item.startsWith(COMPONENT_REF_PREFIX)) {
2432
- out.add(item.slice(COMPONENT_REF_PREFIX.length));
2433
- }
2434
- else {
2435
- collectComponentRefs(item, out);
2436
- }
2437
- }
2438
- return out;
2439
- }
2440
- function rerootComponentRefs(value) {
2441
- if (Array.isArray(value))
2442
- return value.map(rerootComponentRefs);
2443
- if (!value || typeof value !== 'object')
2444
- return value;
2445
- const out = {};
2446
- for (const [key, item] of Object.entries(value)) {
2447
- out[key] =
2448
- key === '$ref' && typeof item === 'string' && item.startsWith(COMPONENT_REF_PREFIX)
2449
- ? `#/$defs/${item.slice(COMPONENT_REF_PREFIX.length)}`
2450
- : rerootComponentRefs(item);
2451
- }
2452
- return out;
2453
- }
2454
- /** The `$ref` pointer for a component, in the same spelling the spec publishes. */
2455
- export function apiComponentRef(name) {
2456
- return `#/components/schemas/${name}`;
2457
- }
2458
- /**
2459
- * Validators compiled against the published components, through an envelope so the pointer AJV
2460
- * resolves is the exact pointer the spec publishes. `strictSchema: false` tolerates the
2461
- * `components` wrapper while leaving type and tuple checks active.
2462
- *
2463
- * Compiled lazily and cached: AJV compilation is the expensive step, and most components are
2464
- * never validated in a given process.
2465
- */
2466
- const validators = new Map();
2467
- /**
2468
- * One instance for the process, built on first validation.
2469
- *
2470
- * Per-component instances meant re-registering the whole thousand-component envelope for every
2471
- * component ever validated, and AJV walks a schema when it is added. Sharing one instance also lets
2472
- * it reuse the compiled form of a component that two others reference.
2473
- */
2474
- let ajvInstance;
2475
- function getAjv() {
2476
- if (ajvInstance)
2477
- return ajvInstance;
2478
- const ajv = new Ajv2020({ strictSchema: false, allErrors: true });
2479
- // Without this, AJV treats `format` as an annotation and ignores it, so a `date-time` property
2480
- // would document a constraint nothing checks — the exact spec/enforcement gap this design is
2481
- // meant to close.
2482
- addFormats(ajv);
2483
- ajv.addSchema({ $id: 'vertesia://openapi', components: { schemas: ApiSchemaComponents } });
2484
- ajvInstance = ajv;
2485
- return ajv;
2486
- }
2487
- function getValidator(name) {
2488
- const cached = validators.get(name);
2489
- if (cached)
2490
- return cached;
2491
- const validate = getAjv().compile({ $ref: `vertesia://openapi${apiComponentRef(name)}` });
2492
- validators.set(name, validate);
2493
- return validate;
2494
- }
2495
- function formatErrors(validate) {
2496
- return (validate.errors ?? []).map((error) => {
2497
- const where = error.instancePath || '/';
2498
- // AJV writes "must NOT have additional properties" and puts the offending key in `params`,
2499
- // so the message alone says a body is wrong without saying which property made it wrong.
2500
- // Every other keyword names its subject already — `required` quotes the missing property,
2501
- // `enum` and `type` describe the value in place — and this is the one a caller most often
2502
- // trips, so it is the one worth spelling out rather than reformatting all of them.
2503
- const additional = error.params?.additionalProperty;
2504
- return additional ? `${where} ${error.message}: ${additional}` : `${where} ${error.message}`;
2505
- });
2506
- }
2507
- /**
2508
- * Validates an untyped request body against the component the endpoint publishes.
2509
- *
2510
- * Non-mutating by design. AJV's removal modes are never used here: the server would then accept a
2511
- * body the published schema declares invalid, silently disagreeing with its own spec — and
2512
- * `removeAdditional: 'all'` additionally empties freeform maps. An undeclared property is reported,
2513
- * not deleted.
2534
+ * Converts the whole Zod registry into the canonical `components.schemas`.
2514
2535
  *
2515
- * The component type is handed back only on the `valid` branch, so a body missing required fields
2516
- * cannot be typed as complete. What the caller does with a failure — reject, or log and continue —
2517
- * is the endpoint's policy, not this function's.
2518
- */
2519
- export function validateApiRequest(name, value) {
2520
- const validate = getValidator(name);
2521
- if (validate(value)) {
2522
- return { valid: true, data: value };
2523
- }
2524
- return { valid: false, errors: formatErrors(validate) };
2525
- }
2526
- /**
2527
- * Validates an already-mapped response against the component it is published as.
2536
+ * This is the BUILD-TIME half of the contract. Its result is written to
2537
+ * `../api-contract/components.generated.json` by `scripts/gen-api-components.ts`, and that artifact
2538
+ * — not this function — is what serving processes load as `ApiSchemaComponents`. Calling this
2539
+ * requires the ~85 MB Zod object graph, which is precisely what the artifact exists to keep out of
2540
+ * the servers; see the comment at the top of `../api-contract/index.ts`.
2528
2541
  *
2529
- * Separate from {@link pruneAndValidateApiResponse} because a resource mapper has already produced
2530
- * the wire shape: there is nothing to prune, and pruning would only mask a mapper bug. Use this at
2531
- * the response boundary to detect drift between what the mapper builds and what the spec promises.
2542
+ * Callers are the generator and `../api-contract/components.contract.test.ts`, which compares the
2543
+ * two and fails on drift. Everything else should read `ApiSchemaComponents`.
2532
2544
  */
2533
- export function validateApiResponse(name, value) {
2534
- const validate = getValidator(name);
2535
- if (validate(value)) {
2536
- return { valid: true, data: value };
2537
- }
2538
- return { valid: false, errors: formatErrors(validate) };
2545
+ export function buildApiSchemaComponents() {
2546
+ return toOpenApiComponents(emitRawSchemas(), { strictComponents: STRICT_COMPONENTS });
2539
2547
  }
2540
2548
  /**
2541
- * Best-effort normalization of a response payload towards the fields its published component
2542
- * declares. Use this on the response path INSTEAD of an AJV removal mode, which would empty
2543
- * freeform maps such as `Account.feature_flags`.
2544
- *
2545
- * NOT a secret-removal boundary. Ambiguous schema shapes pass values through untouched — see
2546
- * {@link pruneToSchema} and check a component with {@link findUnprunablePaths} before treating its
2547
- * output as closed. Fields that must never ship still need an explicit response mapper.
2548
- *
2549
- * Never throws and never rejects: an undocumented field is server-side drift, and failing the
2550
- * response would punish the caller for it.
2551
- *
2552
- * Takes a value the caller has already typed as the component. Pruning only REMOVES undeclared
2553
- * extras, so a conforming input yields a conforming output and the return type is honest. It does
2554
- * NOT validate, which is why it cannot accept `unknown` — narrowing a payload that is missing
2555
- * required fields would hand TypeScript a complete `Account` that does not exist at runtime. Use
2556
- * {@link pruneAndValidateApiResponse} when the payload's shape is not already established.
2549
+ * The runtime half of the contract, re-exported so this module stays the single import for schema
2550
+ * authors, the OpenAPI generator and the contract tests.
2557
2551
  *
2558
- * Request validation stays separate and non-mutating — pruning a request would make the server
2559
- * silently disagree with the permissive schema it publishes.
2552
+ * The implementations live in `../api-contract/index.ts` because they must not depend on Zod: they
2553
+ * validate against the prebuilt `components.generated.json`, which is what lets the servers enforce
2554
+ * contracts without loading the ~85 MB Zod graph. Importing them from HERE pulls that graph in, so
2555
+ * server code must import `@vertesia/common/api-contract` directly. This re-export is for the
2556
+ * build-time and test consumers that have already paid for zod.
2560
2557
  */
2561
- export function pruneApiResponse(name, value) {
2562
- return pruneToSchema(value, { $ref: apiComponentRef(name) }, ApiSchemaComponents);
2563
- }
2564
- /**
2565
- * Prunes an untyped payload and validates the result against the published component.
2566
- *
2567
- * The only sound entry point for a payload of unknown shape: the component type is handed back
2568
- * exclusively on the `valid` branch, so a document missing required fields cannot be typed as
2569
- * complete. On failure the pruned value is still returned — the caller decides whether to ship it
2570
- * and log, or fail — which keeps the "never turn drift into a 500" property a policy choice rather
2571
- * than something baked in here.
2572
- *
2573
- */
2574
- export function pruneAndValidateApiResponse(name, value) {
2575
- const pruned = pruneToSchema(value, { $ref: apiComponentRef(name) }, ApiSchemaComponents);
2576
- const validate = getValidator(name);
2577
- if (validate(pruned)) {
2578
- return { valid: true, data: pruned };
2579
- }
2580
- return { valid: false, data: pruned, errors: formatErrors(validate) };
2581
- }
2582
- /**
2583
- * Paths inside a component where pruning cannot narrow. Empty means no STRUCTURAL gaps for
2584
- * schema-conforming input — see {@link findUnprunablePaths} for why that is weaker than "nothing
2585
- * can escape". Anything listed needs an explicit response mapper.
2586
- */
2587
- export function findUnprunableApiPaths(name) {
2588
- return findUnprunablePaths({ $ref: apiComponentRef(name) }, ApiSchemaComponents);
2589
- }
2590
- /**
2591
- * Normalizes raw query or header text into the value a component describes.
2592
- *
2593
- * Binds {@link normalizeParameters} to {@link ApiSchemaComponents} — the same objects the OpenAPI
2594
- * document publishes and {@link validateApiRequest} compiles. That is what keeps the published
2595
- * parameter and the enforced one the same declaration: the scanner expands this component's
2596
- * properties into `in: query` parameters, and the coercion below is decided by those same property
2597
- * schemas, so neither can be changed without changing the other.
2598
- *
2599
- * Validate the result with {@link validateApiRequest}, which is non-coercing: everything type-related
2600
- * has already happened here, so a value this could not coerce is reported against the published
2601
- * schema rather than by a second rule.
2602
- */
2603
- export function normalizeApiParameters(name, raw, location) {
2604
- return normalizeParameters(name, raw, location, ApiSchemaComponents[name], ApiSchemaComponents);
2605
- }
2558
+ export { ApiSchemaComponents, apiComponentRef, bundleCanonicalComponent, findUnprunableApiPaths, normalizeApiParameters, pruneAndValidateApiResponse, pruneApiResponse, renderApiValidationIssue, renderApiValidationIssueHead, validateApiRequest, validateApiResponse, } from '../api-contract/index.js';
2606
2559
  //# sourceMappingURL=registry.js.map