@vertesia/common 1.5.0-dev.20260807.073259Z → 1.5.0-dev.20260901.005903Z

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 (451) 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 +40405 -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/agent-communication.d.ts +199 -0
  15. package/lib/api-schemas/agent-communication.d.ts.map +1 -0
  16. package/lib/api-schemas/agent-communication.js +150 -0
  17. package/lib/api-schemas/agent-communication.js.map +1 -0
  18. package/lib/api-schemas/agent-runs.d.ts +593 -0
  19. package/lib/api-schemas/agent-runs.d.ts.map +1 -1
  20. package/lib/api-schemas/agent-runs.js +44 -2
  21. package/lib/api-schemas/agent-runs.js.map +1 -1
  22. package/lib/api-schemas/app-lifecycle.d.ts +19 -0
  23. package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
  24. package/lib/api-schemas/app-lifecycle.js +34 -4
  25. package/lib/api-schemas/app-lifecycle.js.map +1 -1
  26. package/lib/api-schemas/app-runtime.d.ts +9871 -9257
  27. package/lib/api-schemas/app-runtime.d.ts.map +1 -1
  28. package/lib/api-schemas/app-runtime.js +7 -0
  29. package/lib/api-schemas/app-runtime.js.map +1 -1
  30. package/lib/api-schemas/apps.d.ts +1 -0
  31. package/lib/api-schemas/apps.d.ts.map +1 -1
  32. package/lib/api-schemas/apps.js +4 -3
  33. package/lib/api-schemas/apps.js.map +1 -1
  34. package/lib/api-schemas/content-query.d.ts +39 -0
  35. package/lib/api-schemas/content-query.d.ts.map +1 -0
  36. package/lib/api-schemas/content-query.js +30 -0
  37. package/lib/api-schemas/content-query.js.map +1 -0
  38. package/lib/api-schemas/content.d.ts +835 -29
  39. package/lib/api-schemas/content.d.ts.map +1 -1
  40. package/lib/api-schemas/content.js +82 -15
  41. package/lib/api-schemas/content.js.map +1 -1
  42. package/lib/api-schemas/dashboard.d.ts +4 -0
  43. package/lib/api-schemas/dashboard.d.ts.map +1 -1
  44. package/lib/api-schemas/dashboard.js +3 -0
  45. package/lib/api-schemas/dashboard.js.map +1 -1
  46. package/lib/api-schemas/document-processing.d.ts +333 -0
  47. package/lib/api-schemas/document-processing.d.ts.map +1 -1
  48. package/lib/api-schemas/events.d.ts +1007 -4
  49. package/lib/api-schemas/events.d.ts.map +1 -1
  50. package/lib/api-schemas/events.js +4 -1
  51. package/lib/api-schemas/events.js.map +1 -1
  52. package/lib/api-schemas/files.d.ts +17 -0
  53. package/lib/api-schemas/files.d.ts.map +1 -1
  54. package/lib/api-schemas/files.js +23 -0
  55. package/lib/api-schemas/files.js.map +1 -1
  56. package/lib/api-schemas/group.d.ts +7 -0
  57. package/lib/api-schemas/group.d.ts.map +1 -1
  58. package/lib/api-schemas/group.js +9 -0
  59. package/lib/api-schemas/group.js.map +1 -1
  60. package/lib/api-schemas/index.d.ts +4 -0
  61. package/lib/api-schemas/index.d.ts.map +1 -1
  62. package/lib/api-schemas/index.js +4 -0
  63. package/lib/api-schemas/index.js.map +1 -1
  64. package/lib/api-schemas/integrations.d.ts +19 -5
  65. package/lib/api-schemas/integrations.d.ts.map +1 -1
  66. package/lib/api-schemas/integrations.js +25 -2
  67. package/lib/api-schemas/integrations.js.map +1 -1
  68. package/lib/api-schemas/interaction.d.ts +8399 -1076
  69. package/lib/api-schemas/interaction.d.ts.map +1 -1
  70. package/lib/api-schemas/interaction.js +161 -9
  71. package/lib/api-schemas/interaction.js.map +1 -1
  72. package/lib/api-schemas/oauth-server.d.ts +131 -3
  73. package/lib/api-schemas/oauth-server.d.ts.map +1 -1
  74. package/lib/api-schemas/oauth-server.js +137 -3
  75. package/lib/api-schemas/oauth-server.js.map +1 -1
  76. package/lib/api-schemas/process.d.ts +1295 -0
  77. package/lib/api-schemas/process.d.ts.map +1 -1
  78. package/lib/api-schemas/process.js +318 -2
  79. package/lib/api-schemas/process.js.map +1 -1
  80. package/lib/api-schemas/project-configuration.d.ts +1118 -1
  81. package/lib/api-schemas/project-configuration.d.ts.map +1 -1
  82. package/lib/api-schemas/project-configuration.js +6 -2
  83. package/lib/api-schemas/project-configuration.js.map +1 -1
  84. package/lib/api-schemas/project.d.ts +1680 -6
  85. package/lib/api-schemas/project.d.ts.map +1 -1
  86. package/lib/api-schemas/registry.d.ts +87529 -69142
  87. package/lib/api-schemas/registry.d.ts.map +1 -1
  88. package/lib/api-schemas/registry.js +234 -413
  89. package/lib/api-schemas/registry.js.map +1 -1
  90. package/lib/api-schemas/schema-primitives.d.ts +4 -0
  91. package/lib/api-schemas/schema-primitives.d.ts.map +1 -1
  92. package/lib/api-schemas/schema-primitives.js +10 -0
  93. package/lib/api-schemas/schema-primitives.js.map +1 -1
  94. package/lib/api-schemas/store.d.ts +5596 -37
  95. package/lib/api-schemas/store.d.ts.map +1 -1
  96. package/lib/api-schemas/store.js +53 -8
  97. package/lib/api-schemas/store.js.map +1 -1
  98. package/lib/api-schemas/tools.d.ts +115 -0
  99. package/lib/api-schemas/tools.d.ts.map +1 -1
  100. package/lib/api-schemas/tools.js +55 -0
  101. package/lib/api-schemas/tools.js.map +1 -1
  102. package/lib/api-schemas/view-execution.d.ts +330 -854
  103. package/lib/api-schemas/view-execution.d.ts.map +1 -1
  104. package/lib/api-schemas/view-execution.js +26 -2
  105. package/lib/api-schemas/view-execution.js.map +1 -1
  106. package/lib/api-schemas/views.d.ts +452 -2562
  107. package/lib/api-schemas/views.d.ts.map +1 -1
  108. package/lib/api-schemas/views.js +119 -3
  109. package/lib/api-schemas/views.js.map +1 -1
  110. package/lib/api-schemas/workflow-runs.d.ts +344 -5
  111. package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
  112. package/lib/api-schemas/workflow-runs.js +9 -7
  113. package/lib/api-schemas/workflow-runs.js.map +1 -1
  114. package/lib/apps.d.ts +8 -145
  115. package/lib/apps.d.ts.map +1 -1
  116. package/lib/apps.js +1 -54
  117. package/lib/apps.js.map +1 -1
  118. package/lib/ask-user.d.ts +2 -1
  119. package/lib/ask-user.d.ts.map +1 -1
  120. package/lib/audit-trail.d.ts +2 -2
  121. package/lib/audit-trail.d.ts.map +1 -1
  122. package/lib/audit-trail.js +2 -2
  123. package/lib/audit-trail.js.map +1 -1
  124. package/lib/browser-credentials.d.ts +2 -7
  125. package/lib/browser-credentials.d.ts.map +1 -1
  126. package/lib/common.d.ts +4 -1
  127. package/lib/common.d.ts.map +1 -1
  128. package/lib/content-query.d.ts +5 -0
  129. package/lib/content-query.d.ts.map +1 -0
  130. package/lib/content-query.js +2 -0
  131. package/lib/content-query.js.map +1 -0
  132. package/lib/data-platform.d.ts +4 -46
  133. package/lib/data-platform.d.ts.map +1 -1
  134. package/lib/data-platform.js.map +1 -1
  135. package/lib/email.d.ts +12 -18
  136. package/lib/email.d.ts.map +1 -1
  137. package/lib/email.js.map +1 -1
  138. package/lib/environment.d.ts +0 -10
  139. package/lib/environment.d.ts.map +1 -1
  140. package/lib/environment.js +1 -12
  141. package/lib/environment.js.map +1 -1
  142. package/lib/facets.d.ts +0 -4
  143. package/lib/facets.d.ts.map +1 -1
  144. package/lib/group.d.ts +2 -12
  145. package/lib/group.d.ts.map +1 -1
  146. package/lib/group.js.map +1 -1
  147. package/lib/index.d.ts +3 -10
  148. package/lib/index.d.ts.map +1 -1
  149. package/lib/index.js +2 -10
  150. package/lib/index.js.map +1 -1
  151. package/lib/integrations.d.ts +1 -27
  152. package/lib/integrations.d.ts.map +1 -1
  153. package/lib/integrations.js +0 -6
  154. package/lib/integrations.js.map +1 -1
  155. package/lib/interaction.d.ts +10 -222
  156. package/lib/interaction.d.ts.map +1 -1
  157. package/lib/interaction.js +0 -31
  158. package/lib/interaction.js.map +1 -1
  159. package/lib/meters.d.ts +5 -10
  160. package/lib/meters.d.ts.map +1 -1
  161. package/lib/meters.js +1 -9
  162. package/lib/meters.js.map +1 -1
  163. package/lib/oauth-scopes.d.ts +2 -16
  164. package/lib/oauth-scopes.d.ts.map +1 -1
  165. package/lib/oauth-scopes.js +9 -49
  166. package/lib/oauth-scopes.js.map +1 -1
  167. package/lib/oauth-server.d.ts +16 -195
  168. package/lib/oauth-server.d.ts.map +1 -1
  169. package/lib/payload.d.ts +2 -5
  170. package/lib/payload.d.ts.map +1 -1
  171. package/lib/pending-asks.d.ts +9 -41
  172. package/lib/pending-asks.d.ts.map +1 -1
  173. package/lib/platform-event.d.ts +4 -142
  174. package/lib/platform-event.d.ts.map +1 -1
  175. package/lib/platform-event.js.map +1 -1
  176. package/lib/project.d.ts +7 -46
  177. package/lib/project.d.ts.map +1 -1
  178. package/lib/project.js +2 -132
  179. package/lib/project.js.map +1 -1
  180. package/lib/prompt.d.ts +4 -7
  181. package/lib/prompt.d.ts.map +1 -1
  182. package/lib/prompt.js.map +1 -1
  183. package/lib/query.d.ts +0 -8
  184. package/lib/query.d.ts.map +1 -1
  185. package/lib/rate-limiter.d.ts +4 -3
  186. package/lib/rate-limiter.d.ts.map +1 -1
  187. package/lib/runs.d.ts +5 -1
  188. package/lib/runs.d.ts.map +1 -1
  189. package/lib/schema-for-extraction.d.ts +0 -1
  190. package/lib/schema-for-extraction.d.ts.map +1 -1
  191. package/lib/schema-for-extraction.js +1 -1
  192. package/lib/schema-for-extraction.js.map +1 -1
  193. package/lib/secrets.d.ts +2 -1
  194. package/lib/secrets.d.ts.map +1 -1
  195. package/lib/skill.d.ts +0 -13
  196. package/lib/skill.d.ts.map +1 -1
  197. package/lib/store/activity-catalog.d.ts +2 -0
  198. package/lib/store/activity-catalog.d.ts.map +1 -1
  199. package/lib/store/agent-approval.d.ts +0 -1
  200. package/lib/store/agent-approval.d.ts.map +1 -1
  201. package/lib/store/agent-approval.js +0 -3
  202. package/lib/store/agent-approval.js.map +1 -1
  203. package/lib/store/agent-run.d.ts +32 -69
  204. package/lib/store/agent-run.d.ts.map +1 -1
  205. package/lib/store/collections.d.ts +2 -6
  206. package/lib/store/collections.d.ts.map +1 -1
  207. package/lib/store/collections.js.map +1 -1
  208. package/lib/store/conversation-state.d.ts +11 -12
  209. package/lib/store/conversation-state.d.ts.map +1 -1
  210. package/lib/store/conversation-state.js +0 -18
  211. package/lib/store/conversation-state.js.map +1 -1
  212. package/lib/store/doc-analyzer.d.ts +0 -22
  213. package/lib/store/doc-analyzer.d.ts.map +1 -1
  214. package/lib/store/dsl-workflow.d.ts +22 -5
  215. package/lib/store/dsl-workflow.d.ts.map +1 -1
  216. package/lib/store/dsl-workflow.js.map +1 -1
  217. package/lib/store/grounded-extraction.d.ts +0 -14
  218. package/lib/store/grounded-extraction.d.ts.map +1 -1
  219. package/lib/store/grounded-extraction.js +1 -7
  220. package/lib/store/grounded-extraction.js.map +1 -1
  221. package/lib/store/index.d.ts +0 -5
  222. package/lib/store/index.d.ts.map +1 -1
  223. package/lib/store/index.js +0 -6
  224. package/lib/store/index.js.map +1 -1
  225. package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
  226. package/lib/store/intake-policy-schema.generated.js +279 -1
  227. package/lib/store/intake-policy-schema.generated.js.map +1 -1
  228. package/lib/store/process.d.ts +43 -1
  229. package/lib/store/process.d.ts.map +1 -1
  230. package/lib/store/process.js.map +1 -1
  231. package/lib/store/rendering.d.ts +3 -5
  232. package/lib/store/rendering.d.ts.map +1 -1
  233. package/lib/store/rendering.js +0 -4
  234. package/lib/store/rendering.js.map +1 -1
  235. package/lib/store/schedule.d.ts +0 -16
  236. package/lib/store/schedule.d.ts.map +1 -1
  237. package/lib/store/schedule.js.map +1 -1
  238. package/lib/store/signals.d.ts +12 -0
  239. package/lib/store/signals.d.ts.map +1 -1
  240. package/lib/store/store.d.ts +80 -94
  241. package/lib/store/store.d.ts.map +1 -1
  242. package/lib/store/store.js +5 -25
  243. package/lib/store/store.js.map +1 -1
  244. package/lib/store/workflow.d.ts +35 -86
  245. package/lib/store/workflow.d.ts.map +1 -1
  246. package/lib/store/workflow.js +0 -47
  247. package/lib/store/workflow.js.map +1 -1
  248. package/lib/sts-errors.d.ts +0 -1
  249. package/lib/sts-errors.d.ts.map +1 -1
  250. package/lib/sts-token-types.d.ts +2 -8
  251. package/lib/sts-token-types.d.ts.map +1 -1
  252. package/lib/sts-token-types.js +1 -19
  253. package/lib/sts-token-types.js.map +1 -1
  254. package/lib/tools.d.ts +6 -1
  255. package/lib/tools.d.ts.map +1 -1
  256. package/lib/transient-tokens.d.ts +0 -2
  257. package/lib/transient-tokens.d.ts.map +1 -1
  258. package/lib/user.d.ts +0 -17
  259. package/lib/user.d.ts.map +1 -1
  260. package/lib/user.js.map +1 -1
  261. package/lib/utils/schemas.d.ts +2 -24
  262. package/lib/utils/schemas.d.ts.map +1 -1
  263. package/lib/utils/schemas.js +0 -151
  264. package/lib/utils/schemas.js.map +1 -1
  265. package/lib/vertesia-common.js +3 -4
  266. package/lib/vertesia-common.js.map +1 -1
  267. package/lib/views.d.ts +23 -27
  268. package/lib/views.d.ts.map +1 -1
  269. package/lib/views.js +5 -26
  270. package/lib/views.js.map +1 -1
  271. package/lib/workflow-analytics.d.ts +12 -34
  272. package/lib/workflow-analytics.d.ts.map +1 -1
  273. package/package.json +12 -6
  274. package/src/access-control.ts +0 -26
  275. package/src/account-values.ts +0 -49
  276. package/src/agent-resources.test.ts +1 -12
  277. package/src/api-contract/components.contract.test.ts +99 -0
  278. package/src/api-contract/components.generated.json +40405 -0
  279. package/src/api-contract/index.ts +664 -0
  280. package/src/api-schemas/agent-communication.contract.test.ts +90 -0
  281. package/src/api-schemas/agent-communication.ts +169 -0
  282. package/src/api-schemas/agent-runs.ts +46 -1
  283. package/src/api-schemas/api-discriminators.test.ts +101 -0
  284. package/src/api-schemas/app-lifecycle.ts +39 -4
  285. package/src/api-schemas/app-runtime.ts +8 -0
  286. package/src/api-schemas/apps.ts +4 -3
  287. package/src/api-schemas/content-query.ts +31 -0
  288. package/src/api-schemas/content.ts +88 -15
  289. package/src/api-schemas/dashboard.contract.test.ts +16 -5
  290. package/src/api-schemas/dashboard.ts +3 -0
  291. package/src/api-schemas/events.ts +9 -1
  292. package/src/api-schemas/files.ts +27 -0
  293. package/src/api-schemas/group.ts +10 -0
  294. package/src/api-schemas/index.ts +4 -0
  295. package/src/api-schemas/integrations.ts +27 -2
  296. package/src/api-schemas/interaction.contract.test.ts +204 -1
  297. package/src/api-schemas/interaction.ts +176 -8
  298. package/src/api-schemas/llumiverse.contract.test.ts +33 -2
  299. package/src/api-schemas/oauth-server.ts +152 -3
  300. package/src/api-schemas/oauth.contract.test.ts +64 -1
  301. package/src/api-schemas/process.ts +352 -2
  302. package/src/api-schemas/project-configuration.ts +11 -7
  303. package/src/api-schemas/project.contract.test.ts +83 -6
  304. package/src/api-schemas/registry.ts +290 -457
  305. package/src/api-schemas/schema-primitives.ts +13 -0
  306. package/src/api-schemas/store.contract.test.ts +30 -1
  307. package/src/api-schemas/store.ts +58 -11
  308. package/src/api-schemas/tools.ts +62 -0
  309. package/src/api-schemas/view-execution.ts +28 -2
  310. package/src/api-schemas/views.contract.test.ts +119 -0
  311. package/src/api-schemas/views.ts +142 -3
  312. package/src/api-schemas/workflow-runs.ts +9 -7
  313. package/src/api-schemas/zeno-response-contracts.test.ts +344 -0
  314. package/src/apps.test.ts +2 -40
  315. package/src/apps.ts +14 -181
  316. package/src/ask-user.ts +1 -1
  317. package/src/audit-trail.ts +3 -3
  318. package/src/browser-credentials.ts +3 -7
  319. package/src/common.ts +13 -1
  320. package/src/content-query.ts +5 -0
  321. package/src/data-platform.ts +4 -51
  322. package/src/email.ts +24 -18
  323. package/src/environment.ts +1 -14
  324. package/src/facets.ts +0 -6
  325. package/src/group.ts +2 -12
  326. package/src/index.ts +3 -15
  327. package/src/integrations.ts +1 -52
  328. package/src/interaction.ts +12 -271
  329. package/src/meters.ts +10 -11
  330. package/src/oauth-scopes.test.ts +15 -0
  331. package/src/oauth-scopes.ts +10 -64
  332. package/src/oauth-server.ts +28 -215
  333. package/src/payload.ts +1 -6
  334. package/src/pending-asks.ts +17 -42
  335. package/src/platform-event.ts +3 -156
  336. package/src/project.ts +12 -160
  337. package/src/prompt.ts +9 -8
  338. package/src/query.ts +0 -9
  339. package/src/rate-limiter.ts +3 -3
  340. package/src/runs.ts +8 -0
  341. package/src/schema-for-extraction.ts +1 -1
  342. package/src/secrets.ts +3 -0
  343. package/src/skill.ts +0 -15
  344. package/src/store/activity-catalog.ts +3 -0
  345. package/src/store/agent-approval.ts +0 -4
  346. package/src/store/agent-run.ts +39 -93
  347. package/src/store/collections.ts +3 -6
  348. package/src/store/conversation-state.ts +12 -25
  349. package/src/store/doc-analyzer.ts +0 -26
  350. package/src/store/dsl-workflow.ts +28 -5
  351. package/src/store/grounded-extraction.ts +0 -18
  352. package/src/store/index.ts +0 -6
  353. package/src/store/intake-policy-schema.generated.ts +293 -1
  354. package/src/store/process.ts +84 -0
  355. package/src/store/rendering.ts +3 -8
  356. package/src/store/schedule.ts +0 -19
  357. package/src/store/signals.ts +14 -0
  358. package/src/store/store.ts +118 -127
  359. package/src/store/workflow.ts +32 -120
  360. package/src/sts-errors.ts +0 -2
  361. package/src/sts-token-types.ts +3 -28
  362. package/src/tools.ts +15 -0
  363. package/src/transient-tokens.ts +0 -2
  364. package/src/user.ts +0 -20
  365. package/src/utils/schemas.ts +2 -159
  366. package/src/views.ts +50 -47
  367. package/src/workflow-analytics.ts +12 -40
  368. package/tsconfig.dist.json +4 -1
  369. package/lib/Progress.d.ts +0 -22
  370. package/lib/Progress.d.ts.map +0 -1
  371. package/lib/Progress.js +0 -57
  372. package/lib/Progress.js.map +0 -1
  373. package/lib/agent-request-template.d.ts +0 -4
  374. package/lib/agent-request-template.d.ts.map +0 -1
  375. package/lib/agent-request-template.js +0 -46
  376. package/lib/agent-request-template.js.map +0 -1
  377. package/lib/channels.d.ts +0 -22
  378. package/lib/channels.d.ts.map +0 -1
  379. package/lib/channels.js +0 -57
  380. package/lib/channels.js.map +0 -1
  381. package/lib/host-utils.d.ts +0 -8
  382. package/lib/host-utils.d.ts.map +0 -1
  383. package/lib/host-utils.js +0 -84
  384. package/lib/host-utils.js.map +0 -1
  385. package/lib/platform-event-validation.d.ts +0 -45
  386. package/lib/platform-event-validation.d.ts.map +0 -1
  387. package/lib/platform-event-validation.js +0 -336
  388. package/lib/platform-event-validation.js.map +0 -1
  389. package/lib/store/hive-memory.d.ts +0 -117
  390. package/lib/store/hive-memory.d.ts.map +0 -1
  391. package/lib/store/hive-memory.js +0 -2
  392. package/lib/store/hive-memory.js.map +0 -1
  393. package/lib/store/object-types.d.ts +0 -24
  394. package/lib/store/object-types.d.ts.map +0 -1
  395. package/lib/store/object-types.js +0 -95
  396. package/lib/store/object-types.js.map +0 -1
  397. package/lib/store/process-schema.d.ts +0 -561
  398. package/lib/store/process-schema.d.ts.map +0 -1
  399. package/lib/store/process-schema.js +0 -561
  400. package/lib/store/process-schema.js.map +0 -1
  401. package/lib/store/process-validation.d.ts +0 -17
  402. package/lib/store/process-validation.d.ts.map +0 -1
  403. package/lib/store/process-validation.js +0 -515
  404. package/lib/store/process-validation.js.map +0 -1
  405. package/lib/store/temporalio.d.ts +0 -17
  406. package/lib/store/temporalio.d.ts.map +0 -1
  407. package/lib/store/temporalio.js +0 -41
  408. package/lib/store/temporalio.js.map +0 -1
  409. package/lib/view-configuration-validation.d.ts +0 -15
  410. package/lib/view-configuration-validation.d.ts.map +0 -1
  411. package/lib/view-configuration-validation.js +0 -63
  412. package/lib/view-configuration-validation.js.map +0 -1
  413. package/lib/view-query-validation.d.ts +0 -13
  414. package/lib/view-query-validation.d.ts.map +0 -1
  415. package/lib/view-query-validation.js +0 -266
  416. package/lib/view-query-validation.js.map +0 -1
  417. package/lib/view-validation-helpers.d.ts +0 -15
  418. package/lib/view-validation-helpers.d.ts.map +0 -1
  419. package/lib/view-validation-helpers.js +0 -25
  420. package/lib/view-validation-helpers.js.map +0 -1
  421. package/lib/views-schema.d.ts +0 -1992
  422. package/lib/views-schema.d.ts.map +0 -1
  423. package/lib/views-schema.js +0 -674
  424. package/lib/views-schema.js.map +0 -1
  425. package/lib/views-validation.d.ts +0 -21
  426. package/lib/views-validation.d.ts.map +0 -1
  427. package/lib/views-validation.js +0 -164
  428. package/lib/views-validation.js.map +0 -1
  429. package/src/Progress.ts +0 -59
  430. package/src/agent-request-template.test.ts +0 -40
  431. package/src/agent-request-template.ts +0 -45
  432. package/src/channels.ts +0 -70
  433. package/src/host-utils.test.ts +0 -61
  434. package/src/host-utils.ts +0 -93
  435. package/src/platform-event-validation.test.ts +0 -251
  436. package/src/platform-event-validation.ts +0 -372
  437. package/src/project.test.ts +0 -44
  438. package/src/store/hive-memory.ts +0 -167
  439. package/src/store/object-types.ts +0 -123
  440. package/src/store/process-schema.test.ts +0 -149
  441. package/src/store/process-schema.ts +0 -564
  442. package/src/store/process-validation.test.ts +0 -635
  443. package/src/store/process-validation.ts +0 -646
  444. package/src/store/temporalio.ts +0 -54
  445. package/src/view-configuration-validation.ts +0 -74
  446. package/src/view-query-validation.test.ts +0 -21
  447. package/src/view-query-validation.ts +0 -319
  448. package/src/view-validation-helpers.ts +0 -28
  449. package/src/views-schema.test.ts +0 -372
  450. package/src/views-schema.ts +0 -689
  451. package/src/views-validation.ts +0 -234
package/src/apps.ts CHANGED
@@ -19,6 +19,7 @@ import type {
19
19
  AppInstallationProjectsQuerySchema,
20
20
  AppInstallationProviderBindingSchema,
21
21
  AppInstallationsQuerySchema,
22
+ AppListScopeSchema,
22
23
  AppOAuthCollectionParamsSchema,
23
24
  AppOAuthProviderParamsSchema,
24
25
  AppRepoBranchSchema,
@@ -32,6 +33,7 @@ import type {
32
33
  AppScaffoldModuleSchema,
33
34
  AppScaffoldProgressSchema,
34
35
  AppScaffoldProgressStatusSchema,
36
+ AppsQuerySchema,
35
37
  AppToolCollectionSchema,
36
38
  AppVersionGitRefTypeSchema,
37
39
  AppVersionGitSourceSchema,
@@ -46,6 +48,7 @@ import type {
46
48
  OAuthClientCredentialsSchema,
47
49
  StartAppBuildRequestSchema,
48
50
  StartAppBuildResponseSchema,
51
+ StartAppDevelopmentTaskRequestSchema,
49
52
  StartAppScaffoldRequestSchema,
50
53
  StartAppScaffoldResponseSchema,
51
54
  UpdateAppInstallationToolAllowlistPayloadSchema,
@@ -85,6 +88,7 @@ import type {
85
88
  CompositeAppThemeOverridesSchema,
86
89
  CompositeAppUserMenuOverridesSchema,
87
90
  PromoteAppVersionResponseSchema,
91
+ UpdateAppPayloadSchema,
88
92
  } from './api-schemas/app-runtime.js';
89
93
  import type {
90
94
  AppAccessControlSchema,
@@ -164,12 +168,11 @@ export type AppInstallationProjectsQuery = z.infer<typeof AppInstallationProject
164
168
 
165
169
  export type AppInstallationsQuery = z.infer<typeof AppInstallationsQuerySchema>;
166
170
 
167
- export type ToolCollectionAuthType = z.infer<typeof ToolCollectionAuthTypeSchema>;
171
+ export type AppListScope = z.infer<typeof AppListScopeSchema>;
168
172
 
169
- /**
170
- * Tool collection type
171
- */
172
- export type ToolCollectionType = 'mcp' | 'vertesia_sdk';
173
+ export type AppsQuery = z.infer<typeof AppsQuerySchema>;
174
+
175
+ export type ToolCollectionAuthType = z.infer<typeof ToolCollectionAuthTypeSchema>;
173
176
 
174
177
  export type MCPOAuthConfig = z.infer<typeof MCPOAuthConfigSchema>;
175
178
 
@@ -182,25 +185,7 @@ export type VertesiaSDKToolCollectionObject = z.infer<typeof VertesiaSDKToolColl
182
185
 
183
186
  export type ToolCollectionObject = z.infer<typeof ToolCollectionObjectSchema>;
184
187
 
185
- /**
186
- * Backward-compatible TypeScript alias. Public API payloads should reference
187
- * ToolCollectionObject directly so generated clients do not create a wrapper
188
- * model around the discriminated union.
189
- */
190
- export type ToolCollection = ToolCollectionObject;
191
-
192
- export const MCP_COLLECTION_ID_PATTERN = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
193
- export const MCP_COLLECTION_NAMESPACE_PATTERN = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
194
-
195
- export function isValidMCPCollectionId(id: string): boolean {
196
- return MCP_COLLECTION_ID_PATTERN.test(id);
197
- }
198
-
199
- export function isValidMCPCollectionNamespace(namespace: string): boolean {
200
- return MCP_COLLECTION_NAMESPACE_PATTERN.test(namespace);
201
- }
202
-
203
- export function deriveMCPCollectionId(input: string): string {
188
+ function deriveMCPCollectionId(input: string): string {
204
189
  return input
205
190
  .trim()
206
191
  .toLowerCase()
@@ -209,10 +194,6 @@ export function deriveMCPCollectionId(input: string): string {
209
194
  .replace(/_+/g, '_');
210
195
  }
211
196
 
212
- export function getDefaultOAuthAppNameForCollectionId(collectionId: string): string {
213
- return collectionId.replace(/_/g, '-');
214
- }
215
-
216
197
  /**
217
198
  * Normalizes a tool collection to the object format.
218
199
  * Applies optional `{{var}}` substitution to the URL so manifests can reference
@@ -293,95 +274,6 @@ export type AppCapabilities = z.infer<typeof AppCapabilitiesSchema>;
293
274
  * Resolution-time only; never persisted. Set by the generated app template via client.withAppVersion.
294
275
  */
295
276
  export const APP_VERSION_HEADER = 'x-vertesia-app-version';
296
- /**
297
- * The platform-artifact types an app build can be required to create. A finer-grained
298
- * counterpart to {@link AppCapabilities}: a single `interactions` capability may comprise
299
- * several `interaction` artifacts plus `agent`, `activity`, and `tool` artifacts that
300
- * {@link AppCapabilities} folds together. Used by the App Solution Architect manifest and
301
- * the publish-time capability gate.
302
- */
303
- export const APP_ARTIFACT_TYPES = [
304
- 'interaction',
305
- 'agent',
306
- 'type',
307
- 'process',
308
- 'view',
309
- 'template',
310
- 'dashboard',
311
- 'activity',
312
- 'tool',
313
- 'hook',
314
- 'subscription',
315
- ] as const;
316
-
317
- export type AppArtifactType = (typeof APP_ARTIFACT_TYPES)[number];
318
-
319
- /**
320
- * A single platform artifact the App Solution Architect requires the build to create.
321
- * `id` is the app-owned in-code id the implementation must register and reference
322
- * (e.g. `app:<name>:main:extract-item` for interactions/agents, `app:<name>:<type>` for
323
- * types, `app:<name>:<process>` for processes, and `app:<name>:<local-id>` for hooks/subscriptions).
324
- */
325
- /**
326
- * Build progress for one artifact, maintained by the developer agent as a living checklist:
327
- * - `pending` — defined by the architect, not yet built.
328
- * - `built` — registered in the package, not yet successfully exercised.
329
- * - `done` — built AND successfully exercised against real data.
330
- * This is the agent's self-reported claim for tracking/handoff; the capability gate verifies
331
- * the truth independently via package registration + run/data telemetry and does not trust it.
332
- */
333
- export type AppArtifactStatus = 'pending' | 'built' | 'done';
334
-
335
- export const APP_ARTIFACT_STATUSES: readonly AppArtifactStatus[] = ['pending', 'built', 'done'];
336
-
337
- export interface AppPlannedArtifact {
338
- /** App-owned in-code id the build must register and reference. */
339
- id: string;
340
- type: AppArtifactType;
341
- /** Short human label. */
342
- name?: string;
343
- /** Why this artifact exists / what it does — carried into the build checklist. */
344
- purpose?: string;
345
- /**
346
- * When false, the artifact is planned but optional: the capability gate warns rather
347
- * than blocks if it is missing or never exercised. Defaults to required (true).
348
- */
349
- required?: boolean;
350
- /** Build progress, updated by the developer agent. Defaults to `pending`. */
351
- status?: AppArtifactStatus;
352
- }
353
-
354
- /**
355
- * Structured result the App Solution Architect emits alongside its prose artifacts — the
356
- * machine-readable contract for the build. The implementation MUST register every required artifact
357
- * before building a candidate, then successfully exercise it after that candidate is installed and
358
- * version-pinned. Persisted into the app repo as {@link APP_CAPABILITY_MANIFEST_PATH} so it survives
359
- * across runs and the package-registration gate can verify it deterministically. If the builder finds the plan
360
- * wrong or insufficient, the orchestrator relaunches the architect to revise the manifest;
361
- * the gate always checks against the latest committed copy.
362
- */
363
- export interface AppCapabilityManifest {
364
- /** Artifact-storage ref to the prose architecture spec (e.g. the architecture `.md`). */
365
- spec_artifact: string;
366
- /** Platform artifacts the build must create. */
367
- artifacts: AppPlannedArtifact[];
368
- /**
369
- * Monotonic revision, starting at 1, bumped each time the architect evolves the manifest for
370
- * the SAME app on a later iteration (read the committed manifest, preserve untouched artifacts,
371
- * add/modify/remove, then bump). Lets downstream agents tell which contract they are building to.
372
- */
373
- revision?: number;
374
- /**
375
- * Newest-first change notes, one entry per revision (what was added/modified/removed and why).
376
- * How manifest changes are communicated to downstream agents across iterations.
377
- */
378
- changelog?: string[];
379
- /** Optional free-form notes the architect wants the builder to honor. */
380
- notes?: string;
381
- }
382
-
383
- /** Repo-relative path the capability manifest is committed to, read by version-build gates. */
384
- export const APP_CAPABILITY_MANIFEST_PATH = 'docs/app-capability-manifest.json';
385
277
  export type AppAvailableIn = z.infer<typeof AppAvailableInSchema>;
386
278
 
387
279
  export type AppVersionKind = z.infer<typeof AppVersionKindSchema>;
@@ -415,27 +307,6 @@ export type StartAppBuildRequest = z.infer<typeof StartAppBuildRequestSchema>;
415
307
 
416
308
  export type StartAppBuildResponse = z.infer<typeof StartAppBuildResponseSchema>;
417
309
 
418
- export interface AppBuildWorkflowInput extends StartAppBuildRequest {
419
- app_id: string;
420
- app_record_id?: string;
421
- /** Rebuild this persisted version record at its original commit and target. */
422
- rebuild_version_record_id?: string;
423
- app_title?: string;
424
- app_description?: string;
425
- source_git_url?: string;
426
- }
427
-
428
- export interface AppBuildWorkflowResult {
429
- app_id: string;
430
- version_id: string;
431
- kind: Extract<AppVersionKind, 'version'>;
432
- state: AppVersionState;
433
- source_commit: string;
434
- source_git?: AppVersionGitSource;
435
- urls?: AppVersionUrls;
436
- file_count?: number;
437
- }
438
-
439
310
  export type AppBuildProgressStatus = z.infer<typeof AppBuildProgressStatusSchema>;
440
311
 
441
312
  export type AppBuildProgress = z.infer<typeof AppBuildProgressSchema>;
@@ -446,17 +317,7 @@ export type StartAppScaffoldRequest = z.infer<typeof StartAppScaffoldRequestSche
446
317
 
447
318
  export type StartAppScaffoldResponse = z.infer<typeof StartAppScaffoldResponseSchema>;
448
319
 
449
- export interface AppScaffoldWorkflowInput extends StartAppScaffoldRequest {}
450
-
451
- export interface AppScaffoldWorkflowResult {
452
- app_id: string;
453
- app_record_id?: string;
454
- installation_id?: string;
455
- git_url?: string;
456
- source_git?: AppVersionGitSource;
457
- files?: number;
458
- initial_version_build?: StartAppBuildResponse;
459
- }
320
+ export type StartAppDevelopmentTaskRequest = z.infer<typeof StartAppDevelopmentTaskRequestSchema>;
460
321
 
461
322
  export type AppScaffoldProgressStatus = z.infer<typeof AppScaffoldProgressStatusSchema>;
462
323
 
@@ -476,22 +337,6 @@ export type AppScaffoldProgress = z.infer<typeof AppScaffoldProgressSchema>;
476
337
  */
477
338
  export type AppAccessControl = z.infer<typeof AppAccessControlSchema>;
478
339
 
479
- /**
480
- * Resolve the effective access_control policy for an installed app:
481
- * installation override wins, then manifest default, then `'all'`.
482
- *
483
- * Shared by the STS (JWT generation), the studio-server (validation), and the UI (badge display)
484
- * so the resolution rule lives in exactly one place. Named `effectiveAppAccessControl` (not just
485
- * `effectiveAccessControl`) because exports from `@vertesia/common` are flattened — the broader
486
- * name would risk colliding with other access-control families added later.
487
- */
488
- export function effectiveAppAccessControl(
489
- installation: { access_control?: AppAccessControl } | null | undefined,
490
- manifest: { access_control?: AppAccessControl } | null | undefined,
491
- ): AppAccessControl {
492
- return installation?.access_control ?? manifest?.access_control ?? 'all';
493
- }
494
-
495
340
  // QUARANTINED from the tenth batch, and the blocker is not in this file. A `//` comment rather than
496
341
  // TSDoc on purpose: this component is still DERIVED, so a doc comment here would be published as its
497
342
  // OpenAPI description.
@@ -506,6 +351,7 @@ export function effectiveAppAccessControl(
506
351
  //
507
352
  // Everything this interface REFERENCES converted: the fields below now carry canonical components.
508
353
  export type AppManifestData = z.infer<typeof AppManifestDataSchema>;
354
+ export type UpdateAppPayload = z.infer<typeof UpdateAppPayloadSchema>;
509
355
 
510
356
  export type AppGitSourceConfig = z.infer<typeof AppGitSourceConfigSchema>;
511
357
 
@@ -561,12 +407,6 @@ export type AppRepoTreeEntry = z.infer<typeof AppRepoTreeEntrySchema>;
561
407
  /** A non-recursive listing of an app git repo directory at a given ref. */
562
408
  export type AppRepoTree = z.infer<typeof AppRepoTreeSchema>;
563
409
 
564
- /** Browser-side limits mirrored by the app Git service document endpoint. */
565
- export const APP_REPO_DOCUMENT_UPLOAD_MAX_FILE_BYTES = 20 * 1024 * 1024;
566
- export const APP_REPO_DOCUMENT_UPLOAD_MAX_TOTAL_BYTES = 80 * 1024 * 1024;
567
- export const APP_REPO_DOCUMENT_UPLOAD_MAX_FILES = 20;
568
- export const APP_REPO_DOCUMENT_UPLOAD_PREFIX = 'docs/';
569
-
570
410
  /** Result of committing one or more uploaded documents to an app repository. */
571
411
  export type AppRepoDocumentCommit = z.infer<typeof AppRepoDocumentCommitSchema>;
572
412
 
@@ -677,12 +517,13 @@ export type AppInstallation = z.infer<typeof AppInstallationSchema>;
677
517
 
678
518
  export type AppInstallationWithManifest = z.infer<typeof AppInstallationWithManifestSchema>;
679
519
 
680
- export type AppInstallationListEntry = z.infer<typeof AppInstallationListEntrySchema>;
681
-
520
+ /** An installation whose app manifest could not be resolved (the app was deleted or is unpublished). */
682
521
  export interface OrphanedAppInstallation extends Omit<AppInstallation, 'manifest'> {
683
522
  manifest: null;
684
523
  }
685
524
 
525
+ export type AppInstallationListEntry = z.infer<typeof AppInstallationListEntrySchema>;
526
+
686
527
  export type OAuthClientCredentials = z.infer<typeof OAuthClientCredentialsSchema>;
687
528
 
688
529
  export type AppOAuthCollectionParams = z.infer<typeof AppOAuthCollectionParamsSchema>;
@@ -721,11 +562,6 @@ export type OAuthAuthStatus = z.infer<typeof OAuthAuthStatusSchema>;
721
562
  */
722
563
  export type OAuthAuthorizeResponse = z.infer<typeof OAuthAuthorizeResponseSchema>;
723
564
 
724
- export interface McpOAuthCollectionRef {
725
- app_install_id: string;
726
- collection_id: string;
727
- }
728
-
729
565
  /**
730
566
  * Payload for storing the static bearer token of an `auth: 'api_key'` MCP collection.
731
567
  * The key is write-only — it is never echoed back by any endpoint.
@@ -881,9 +717,6 @@ export type CompositeAppHeaderItemKind = z.infer<typeof CompositeAppHeaderItemKi
881
717
  /** Where a header link opens. */
882
718
  export type CompositeAppHeaderItemTarget = z.infer<typeof CompositeAppHeaderItemTargetSchema>;
883
719
 
884
- /** Stable identifiers for the built-in header items. */
885
- export const COMPOSITE_APP_HEADER_BUILTIN_IDS = ['app_portal', 'docs', 'help', 'user_menu'] as const;
886
-
887
720
  /**
888
721
  * A single button in the CompositeApp header bar.
889
722
  *
package/src/ask-user.ts CHANGED
@@ -25,7 +25,7 @@ export interface McpConnectUxConfig {
25
25
  }
26
26
 
27
27
  /** Optional free-form response rendered alongside predefined options. */
28
- export interface AskUserFreeResponseConfig {
28
+ interface AskUserFreeResponseConfig {
29
29
  /** Placeholder text for the input. */
30
30
  placeholder?: string;
31
31
  /** Label for the submit button. */
@@ -46,9 +46,6 @@ export const AUDIT_ACTIONS = [
46
46
  export type KnownAuditAction = (typeof AUDIT_ACTIONS)[number];
47
47
  export type AuditAction = KnownAuditAction | (string & {});
48
48
 
49
- /** Billable audit actions for cost analytics queries */
50
- export const BILLABLE_AUDIT_ACTIONS = ['inference', 'embedding', 'image_generation'] satisfies KnownAuditAction[];
51
-
52
49
  /**
53
50
  * Generic metering entry attached to audit events.
54
51
  * Used for cost attribution, usage tracking, and billing.
@@ -104,3 +101,6 @@ export type AuditAggregationQuery = z.infer<typeof AuditAggregationQuerySchema>;
104
101
  export type AuditAggregationRow = z.infer<typeof AuditAggregationRowSchema>;
105
102
 
106
103
  export type AuditAggregationResponse = z.infer<typeof AuditAggregationResponseSchema>;
104
+
105
+ /** Billable audit actions for cost analytics queries */
106
+ export const BILLABLE_AUDIT_ACTIONS = ['inference', 'embedding', 'image_generation'] satisfies KnownAuditAction[];
@@ -4,6 +4,7 @@ import type {
4
4
  WebsiteCredentialFillRequestSchema,
5
5
  WebsiteCredentialFillResponseSchema,
6
6
  WebsiteCredentialMetadataSchema,
7
+ WebsiteCredentialMetadataUpdateSchema,
7
8
  WebsiteCredentialRecordSchema,
8
9
  WebsiteCredentialSecretInputSchema,
9
10
  WebsiteCredentialTotpAlgorithmSchema,
@@ -36,13 +37,8 @@ export interface UpdateWebsiteCredentialRequest extends Partial<WebsiteCredentia
36
37
  clear_oauth?: boolean;
37
38
  }
38
39
 
39
- export interface WebsiteCredentialFillTarget {
40
- username_target_id?: string;
41
- password_target_id?: string;
42
- totp_target_id?: string;
43
- submit_target_id?: string;
44
- }
45
-
46
40
  export type WebsiteCredentialFillRequest = z.infer<typeof WebsiteCredentialFillRequestSchema>;
47
41
 
48
42
  export type WebsiteCredentialFillResponse = z.infer<typeof WebsiteCredentialFillResponseSchema>;
43
+
44
+ export type WebsiteCredentialMetadataUpdate = z.infer<typeof WebsiteCredentialMetadataUpdateSchema>;
package/src/common.ts CHANGED
@@ -8,7 +8,13 @@ import type {
8
8
  BulkOperationResponseSchema,
9
9
  BulkOperationResultSchema,
10
10
  } from './api-schemas/bulk-operation.js';
11
- import type { DeleteCountResultSchema, GenericCommandResponseSchema } from './api-schemas/commands.js';
11
+ import type {
12
+ DeleteCountResultSchema,
13
+ GenericCommandResponseSchema,
14
+ MigrationListResponseSchema,
15
+ RunMigrationPayloadSchema,
16
+ RunMigrationResponseSchema,
17
+ } from './api-schemas/commands.js';
12
18
  import type { FindPayloadSchema } from './api-schemas/content.js';
13
19
  import type { SuccessResponseSchema } from './api-schemas/oauth.js';
14
20
  import type { CountResultSchema } from './api-schemas/project.js';
@@ -81,3 +87,9 @@ export interface BulkObjectUpdateOptions {
81
87
  }
82
88
 
83
89
  export type BulkOperationResponse = z.infer<typeof BulkOperationResponseSchema>;
90
+
91
+ export type RunMigrationPayload = z.infer<typeof RunMigrationPayloadSchema>;
92
+
93
+ export type RunMigrationResponse = z.infer<typeof RunMigrationResponseSchema>;
94
+
95
+ export type MigrationListResponse = z.infer<typeof MigrationListResponseSchema>;
@@ -0,0 +1,5 @@
1
+ import type { z } from 'zod';
2
+ import type { ContentQueryPayloadSchema, ContentQueryResultSchema } from './api-schemas/content-query.js';
3
+
4
+ export type ContentQueryPayload = z.infer<typeof ContentQueryPayloadSchema>;
5
+ export type ContentQueryResult = z.infer<typeof ContentQueryResultSchema>;
@@ -45,6 +45,7 @@ import type {
45
45
  DataColumnForAISchema,
46
46
  DataColumnSchema,
47
47
  DataColumnTypeSchema,
48
+ DataColumnUpdateSchema,
48
49
  DataForeignKeyForAISchema,
49
50
  DataForeignKeySchema,
50
51
  DataIndexSchema,
@@ -424,7 +425,7 @@ export type DataSchemaForAI = z.infer<typeof DataSchemaForAISchema>;
424
425
  /**
425
426
  * Version retention configuration.
426
427
  */
427
- export interface DataStoreRetentionConfig {
428
+ interface DataStoreRetentionConfig {
428
429
  /** Keep versions for this many days */
429
430
  retention_days: number;
430
431
  /** Named snapshots are exempt from retention */
@@ -498,15 +499,6 @@ export const DEFAULT_DASHBOARD_LAYOUT: DashboardLayout = {
498
499
  padding: 20,
499
500
  };
500
501
 
501
- /**
502
- * SQL query parameters with default values.
503
- * Supports {{param_name}} placeholders in SQL that get substituted at runtime.
504
- */
505
- export interface DashboardQueryParameters {
506
- /** Default values for SQL parameters. Keys are parameter names (without braces). */
507
- defaults: Record<string, string>;
508
- }
509
-
510
502
  /**
511
503
  * Elasticsearch DSL supported by dashboard data sources.
512
504
  * Queries execute through Vertesia Store, so project/security filtering remains server-side.
@@ -574,31 +566,6 @@ export type CreateDashboardPayload = z.infer<typeof CreateDashboardPayloadSchema
574
566
  */
575
567
  export type UpdateDashboardPayload = z.infer<typeof UpdateDashboardPayloadSchema>;
576
568
 
577
- /**
578
- * Payload for previewing a dashboard (render without saving).
579
- */
580
- export interface PreviewDashboardPayload {
581
- // ============= New architecture (v2) =============
582
- /** Data source used to populate Vega `data.values`. */
583
- dataSource?: DashboardDataSource;
584
- /** SQL query that returns all data for the dashboard */
585
- query?: string;
586
- /** Maximum rows to return from the query (default: 10000) */
587
- queryLimit?: number;
588
- /** Default values for SQL parameters */
589
- queryParameters?: Record<string, string>;
590
- /** Complete Vega-Lite specification for the entire dashboard */
591
- spec?: Record<string, unknown>;
592
-
593
- // ============= Legacy architecture (v1, deprecated) =============
594
- /** @deprecated Use single `query` field instead */
595
- queries?: DashboardQuery[];
596
- /** @deprecated Use single `spec` field with vconcat/hconcat instead */
597
- panels?: DashboardPanel[];
598
- /** @deprecated Layout is now handled within the Vega-Lite spec */
599
- layout?: Partial<DashboardLayout>;
600
- }
601
-
602
569
  /**
603
570
  * Options for rendering a dashboard.
604
571
  */
@@ -611,22 +578,6 @@ export interface RenderDashboardOptions {
611
578
  backgroundColor?: string;
612
579
  }
613
580
 
614
- /**
615
- * Result of rendering a dashboard.
616
- */
617
- export interface RenderDashboardResult {
618
- /** URL to the rendered PNG image */
619
- url: string;
620
- /** When the URL expires (seconds from now) */
621
- expires_in: number;
622
- /** When the dashboard was rendered */
623
- rendered_at: string;
624
- /** Image width in pixels */
625
- width: number;
626
- /** Image height in pixels */
627
- height: number;
628
- }
629
-
630
581
  // ============================================================================
631
582
  // Dashboard Version Types
632
583
  // ============================================================================
@@ -651,3 +602,5 @@ export type CreateDashboardSnapshotPayload = z.infer<typeof CreateDashboardSnaps
651
602
  * Payload for promoting a version to current.
652
603
  */
653
604
  export type PromoteDashboardVersionPayload = z.infer<typeof PromoteDashboardVersionPayloadSchema>;
605
+
606
+ export type DataColumnUpdate = z.infer<typeof DataColumnUpdateSchema>;
package/src/email.ts CHANGED
@@ -1,4 +1,17 @@
1
1
  import type { z } from 'zod';
2
+ import type {
3
+ CreateEmailRouteRequestSchema,
4
+ CreateEmailRouteResponseSchema,
5
+ EmailRouteDataSchema,
6
+ EmailRouteResponseSchema,
7
+ ForwardEmailRequestSchema,
8
+ ForwardEmailResponseSchema,
9
+ ResolveEmailRouteRequestSchema,
10
+ SendEmailRequestSchema,
11
+ SendEmailResponseSchema,
12
+ UpdateEmailRouteRequestSchema,
13
+ UpdateEmailRouteResponseSchema,
14
+ } from './api-schemas/agent-communication.js';
2
15
  import type { EmailChannelSchema, InteractiveChannelSchema, UserChannelSchema } from './api-schemas/interaction.js';
3
16
  /**
4
17
  * Email-related types for agent communication and routing.
@@ -51,21 +64,14 @@ export function isInteractiveChannel(channel: UserChannel): channel is Interacti
51
64
  *
52
65
  * Pattern: r+{routeKey}@{domain} instead of r+{32-char-uuid}@{domain}
53
66
  */
54
- export interface EmailRouteData {
55
- /** The workflow run ID */
56
- runId: string;
57
- /** Account ID for quick project lookup */
58
- accountId: string;
59
- /** Project ID for quick config lookup */
60
- projectId: string;
61
- /** Email thread subject (without "Re:" prefix) */
62
- threadSubject?: string;
63
- /** Message ID for In-Reply-To header (last message in thread) */
64
- inReplyTo?: string;
65
- /** Chain of message IDs for References header */
66
- references?: string[];
67
- /** User's email address (recipient of agent emails, sender of replies) */
68
- userEmail: string;
69
- /** Inbound domain for filtering (e.g., inbound.vertesia.io) */
70
- inboundDomain: string;
71
- }
67
+ export type EmailRouteData = z.infer<typeof EmailRouteDataSchema>;
68
+ export type SendEmailRequest = z.infer<typeof SendEmailRequestSchema>;
69
+ export type SendEmailResponse = z.infer<typeof SendEmailResponseSchema>;
70
+ export type ResolveEmailRouteRequest = z.infer<typeof ResolveEmailRouteRequestSchema>;
71
+ export type CreateEmailRouteRequest = z.infer<typeof CreateEmailRouteRequestSchema>;
72
+ export type CreateEmailRouteResponse = z.infer<typeof CreateEmailRouteResponseSchema>;
73
+ export type EmailRouteResponse = z.infer<typeof EmailRouteResponseSchema>;
74
+ export type UpdateEmailRouteRequest = z.infer<typeof UpdateEmailRouteRequestSchema>;
75
+ export type UpdateEmailRouteResponse = z.infer<typeof UpdateEmailRouteResponseSchema>;
76
+ export type ForwardEmailRequest = z.infer<typeof ForwardEmailRequestSchema>;
77
+ export type ForwardEmailResponse = z.infer<typeof ForwardEmailResponseSchema>;
@@ -40,7 +40,7 @@ export interface SupportedProviderParams extends Omit<ProviderParams, 'id'> {
40
40
  id: SupportedProviders;
41
41
  }
42
42
 
43
- export const CustomProvidersList: Record<CustomProviders, SupportedProviderParams> = {
43
+ const CustomProvidersList: Record<CustomProviders, SupportedProviderParams> = {
44
44
  virtual_lb: {
45
45
  id: CustomProviders.virtual_lb,
46
46
  name: 'Virtual - Load Balancer',
@@ -93,19 +93,6 @@ export type { TextFallbackOptions } from '@llumiverse/common';
93
93
 
94
94
  export type ExecutionEnvironmentSettings = z.infer<typeof ExecutionEnvironmentSettingsSchema>;
95
95
 
96
- /**
97
- * Returns the configured Vertex AI bucket access principal for an environment, or undefined.
98
- * Only Vertex AI environments expose this setting; the value is trimmed and empty strings
99
- * are treated as unset so callers get a single, normalized representation.
100
- */
101
- export function getVertexBucketAccessPrincipal(
102
- env: { provider?: SupportedProviders; settings?: ExecutionEnvironmentSettings } | undefined,
103
- ): string | undefined {
104
- if (!env || env.provider !== SupportedProviders.vertexai) return undefined;
105
- const principal = env.settings?.bucket_access_principal;
106
- return typeof principal === 'string' && principal.trim().length > 0 ? principal.trim() : undefined;
107
- }
108
-
109
96
  export type ExecutionEnvironment = z.infer<typeof ExecutionEnvironmentSchema>;
110
97
 
111
98
  export type ExecutionEnvironmentRef = z.infer<typeof ExecutionEnvironmentRefSchema>;
package/src/facets.ts CHANGED
@@ -21,8 +21,6 @@ export interface DateFacet<T extends Date | string = string> {
21
21
  default?: string;
22
22
  }
23
23
 
24
- export type Facet<DateT extends Date | string = string> = StringFacet | NumericFacet | DateFacet<DateT>;
25
-
26
24
  export type FacetSpec = z.infer<typeof FacetSpecSchema>;
27
25
 
28
26
  export interface FacetBucket {
@@ -36,10 +34,6 @@ export interface FacetNameBucket {
36
34
  count: number;
37
35
  }
38
36
 
39
- export interface FacetResult {
40
- buckets: FacetBucket[];
41
- }
42
-
43
37
  export interface ComputedFacetBucket {
44
38
  _id: string;
45
39
  count: number;
package/src/group.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import type { z } from 'zod';
2
2
  import type {
3
3
  CreateUserGroupPayloadSchema,
4
+ ListUserGroupsQuerySchema,
4
5
  UpdateUserGroupPayloadSchema,
5
6
  UserGroupRefSchema,
6
7
  UserGroupSchema,
7
8
  } from './api-schemas/group.js';
8
- import type { UserRef } from './user.js';
9
9
 
10
10
  /**
11
11
  * The user group and its payloads as they cross the wire.
@@ -21,17 +21,7 @@ import type { UserRef } from './user.js';
21
21
  export type UserGroup = z.infer<typeof UserGroupSchema>;
22
22
  export type CreateUserGroupPayload = z.infer<typeof CreateUserGroupPayloadSchema>;
23
23
  export type UpdateUserGroupPayload = z.infer<typeof UpdateUserGroupPayloadSchema>;
24
-
25
- /**
26
- * A group with its members resolved.
27
- *
28
- * Not a published component, and deliberately not one: `members` is `select: false` on the model, no
29
- * endpoint documents it on `UserGroup`, and the members listing publishes `UserRef[]` on its own
30
- * route instead.
31
- */
32
- export interface PopulatesUserGroup extends UserGroup {
33
- members: UserRef[];
34
- }
24
+ export type ListUserGroupsQuery = z.infer<typeof ListUserGroupsQuerySchema>;
35
25
 
36
26
  /**
37
27
  * The group as it appears in a token payload, read by the servers' authorization layer, the clients
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
+ export type { VertexAIGeminiOmniVideoOptions, VideoResult } from '@llumiverse/common';
1
2
  export * from './access-control.js';
2
- export * from './agent-request-template.js';
3
3
  export * from './analytics.js';
4
4
  /**
5
5
  * Schema-derived API types. MUST stay `export type` — tsc erases it, so `lib/index.js` never
@@ -17,15 +17,15 @@ export * from './apps.js';
17
17
  export * from './ask-user.js';
18
18
  export * from './audit-trail.js';
19
19
  export * from './browser-credentials.js';
20
- export * from './channels.js';
21
20
  export * from './common.js';
21
+ export * from './content-query.js';
22
22
  export * from './cost-analytics.js';
23
23
  export * from './data-platform.js';
24
+ export * from './email.js';
24
25
  export * from './embeddings.js';
25
26
  export * from './environment.js';
26
27
  export * from './facets.js';
27
28
  export * from './group.js';
28
- export * from './host-utils.js';
29
29
  export * from './integrations.js';
30
30
  export * from './interaction.js';
31
31
  export * from './json.js';
@@ -35,11 +35,9 @@ export * from './model_utility.js';
35
35
  export * from './oauth.js';
36
36
  export * from './oauth-scopes.js';
37
37
  export * from './oauth-server.js';
38
- export * from './Progress.js';
39
38
  export * from './payload.js';
40
39
  export * from './pending-asks.js';
41
40
  export * from './platform-event.js';
42
- export * from './platform-event-validation.js';
43
41
  export * from './principal-context.js';
44
42
  export * from './project.js';
45
43
  export * from './prompt.js';
@@ -87,15 +85,5 @@ export * from './utils/auth.js';
87
85
  export * from './utils/schemas.js';
88
86
  export type * from './utils/type-helpers.js';
89
87
  export * from './versions.js';
90
- export * from './view-configuration-validation.js';
91
- export * from './view-query-validation.js';
92
- export * from './view-validation-helpers.js';
93
88
  export * from './views.js';
94
- export * from './views-schema.js';
95
- export {
96
- type AppViewExperienceId,
97
- parseAppViewExperienceId,
98
- type ViewValidationIssue,
99
- validateViewExperienceId,
100
- } from './views-validation.js';
101
89
  export * from './workflow-analytics.js';