@lobu/runtime-server 20.2.0 → 21.0.0

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 (254) hide show
  1. package/dist/component.json +1 -1
  2. package/dist/connectors/README.md +15 -16
  3. package/dist/connectors/github.ts +15 -9
  4. package/dist/connectors/google_calendar.ts +21 -31
  5. package/dist/connectors/google_drive.ts +106 -131
  6. package/dist/connectors/google_gmail.ts +53 -30
  7. package/dist/connectors/hackernews.ts +2 -5
  8. package/dist/connectors/jira.ts +62 -27
  9. package/dist/connectors/linear.ts +55 -21
  10. package/dist/connectors/microsoft_outlook.ts +151 -110
  11. package/dist/connectors/postgres.ts +19 -11
  12. package/dist/connectors/producthunt.ts +8 -6
  13. package/dist/connectors/reddit.ts +2 -2
  14. package/dist/connectors/rss.ts +2 -2
  15. package/dist/connectors/whatsapp_web.ts +5 -4
  16. package/dist/connectors/x.ts +32 -17
  17. package/dist/connectors/youtube.ts +18 -5
  18. package/dist/db/migrations/20260917000000_views.sql +271 -0
  19. package/dist/db/migrations/20260917000001_views_attach_index.sql +14 -0
  20. package/dist/db/migrations/20260918000000_runs_turn_tool_event_uniq.sql +51 -0
  21. package/dist/db/migrations/20260923230000_runs_connector_artifact_hash.sql +32 -0
  22. package/dist/db/migrations/20260924000000_resource_source_files.sql +17 -0
  23. package/dist/dependencies.bun.lock +109 -98
  24. package/dist/guest.bundle.js +78 -10
  25. package/dist/owletto/dist/assets/_-CwFknmeA.js +1 -0
  26. package/dist/owletto/dist/assets/_-DrcppoWh.js +2 -0
  27. package/dist/owletto/dist/assets/_agentId-Cr57JKYx.js +1 -0
  28. package/dist/owletto/dist/assets/_agentId-HNcmgH56.js +1 -0
  29. package/dist/owletto/dist/assets/_automationId-BCfrLnUS.js +1 -0
  30. package/dist/owletto/dist/assets/{_connectorKey._connectionId-BAJGfcy7.js → _connectorKey._connectionId-126-iG9w.js} +1 -1
  31. package/dist/owletto/dist/assets/{_connectorKey.index-BBF8vGJS.js → _connectorKey.index-CywE9A3N.js} +1 -1
  32. package/dist/owletto/dist/assets/_conversationId-CNETA_rY.js +1 -0
  33. package/dist/owletto/dist/assets/_deploymentId-CAVpXf8s.js +1 -0
  34. package/dist/owletto/dist/assets/_name-BP7OlVxL.js +1 -0
  35. package/dist/owletto/dist/assets/_owner-D2eh4R90.js +1 -0
  36. package/dist/owletto/dist/assets/_shape-BqV8tSfw.js +1 -0
  37. package/dist/owletto/dist/assets/_skillKey-2xTjhL_C.js +1 -0
  38. package/dist/owletto/dist/assets/_slug-DoIaJBbh.js +1 -0
  39. package/dist/owletto/dist/assets/_viewKey-8ePnWEg-.js +1 -0
  40. package/dist/owletto/dist/assets/_viewKey-D8rjUFLV.js +1 -0
  41. package/dist/owletto/dist/assets/_viewKey-DhVOkzYd.js +1 -0
  42. package/dist/owletto/dist/assets/accept-invitation-BWRiEUsd.js +1 -0
  43. package/dist/owletto/dist/assets/activity-route-view-rVdTeVXN.js +1 -0
  44. package/dist/owletto/dist/assets/{agent-card-controls-CZO6GI0s.js → agent-card-controls-JubkhcHt.js} +1 -1
  45. package/dist/owletto/dist/assets/{agent-client-setup-list-_chLOorY.js → agent-client-setup-list-Btcy4Cu1.js} +1 -1
  46. package/dist/owletto/dist/assets/{agent-connect-pages-DWBgSIYT.js → agent-connect-pages-Chfqn8iL.js} +1 -1
  47. package/dist/owletto/dist/assets/{agent-editor-form-BTNlg0kQ.js → agent-editor-form-BrOkwfg8.js} +1 -1
  48. package/dist/owletto/dist/assets/{agent-guardrails-route-B5uoMC6o.js → agent-guardrails-route-CHM7JbIl.js} +1 -1
  49. package/dist/owletto/dist/assets/{agent-loading-shells-CLoLeFcB.js → agent-loading-shells-DsiGx1fn.js} +1 -1
  50. package/dist/owletto/dist/assets/{agent-permissions-matrix-TP00-MYL.js → agent-permissions-matrix-L_gFvSu1.js} +1 -1
  51. package/dist/owletto/dist/assets/{agent-skill-context-D4a2QCoZ.js → agent-skill-context-D7tOJ8Pb.js} +1 -1
  52. package/dist/owletto/dist/assets/{agent-skills-route-KVDDTbJB.js → agent-skills-route-AylS-B9v.js} +1 -1
  53. package/dist/owletto/dist/assets/{agent-subpage-shell-DuVYZvBE.js → agent-subpage-shell-B7tCQ9zd.js} +1 -1
  54. package/dist/owletto/dist/assets/agent-thread-DOYh7WLW.js +8 -0
  55. package/dist/owletto/dist/assets/agents-0ncYwbz6.js +1 -0
  56. package/dist/owletto/dist/assets/agents-workbench-DOwn78eL.js +1 -0
  57. package/dist/owletto/dist/assets/app-bridge-BH3g2mKG.js +127 -0
  58. package/dist/owletto/dist/assets/{app._appId-D0_LQTJU.js → app._appId-fJ_RRn1Z.js} +1 -1
  59. package/dist/owletto/dist/assets/automation-detail-content-CMprQht5.js +1 -0
  60. package/dist/owletto/dist/assets/automations-0ncYwbz6.js +1 -0
  61. package/dist/owletto/dist/assets/{calendar-C0XpOHd8.js → calendar-BbD1N97u.js} +1 -1
  62. package/dist/owletto/dist/assets/{callback-CO_K9eR-.js → callback-PELM84Lh.js} +1 -1
  63. package/dist/owletto/dist/assets/{card-DeFQuU_J.js → card-DpLjEqIc.js} +1 -1
  64. package/dist/owletto/dist/assets/{claim-CUpWOSie.js → claim-BLLvLOBM.js} +1 -1
  65. package/dist/owletto/dist/assets/clients-Bd8WpHSV.js +1 -0
  66. package/dist/owletto/dist/assets/{code-editor-BqGUZFt6.js → code-editor-DGJQDoHD.js} +1 -1
  67. package/dist/owletto/dist/assets/connect-Cx49f4J0.js +1 -0
  68. package/dist/owletto/dist/assets/connect._clientId-BDFBqKSA.js +1 -0
  69. package/dist/owletto/dist/assets/connected._clientId-BYGmFRCF.js +1 -0
  70. package/dist/owletto/dist/assets/{connection-BgAlYjeV.js → connection-B0O8OZuK.js} +1 -1
  71. package/dist/owletto/dist/assets/{connection-feed-detail-B3ePAinf.js → connection-feed-detail-DZjtoEfm.js} +1 -1
  72. package/dist/owletto/dist/assets/{connector-provenance-DgsDg0Z9.js → connector-provenance-D_g9gGXU.js} +1 -1
  73. package/dist/owletto/dist/assets/{connectors-CqPQPo9U.js → connectors-BiMMm_QQ.js} +1 -1
  74. package/dist/owletto/dist/assets/{consent-bswcIzsf.js → consent-CIzW-960.js} +1 -1
  75. package/dist/owletto/dist/assets/{core.esm-DsLgjoel.js → core.esm-Ds4Nuq9d.js} +1 -1
  76. package/dist/owletto/dist/assets/create--fsxroj2.js +1 -0
  77. package/dist/owletto/dist/assets/create-BqL-ahEf.js +1 -0
  78. package/dist/owletto/dist/assets/{create-Dwo04oWV.js → create-BvCaqhwK.js} +1 -1
  79. package/dist/owletto/dist/assets/create-automation-form-DN2w080o.js +2 -0
  80. package/dist/owletto/dist/assets/{create._connectorKey-CCBb2pil.js → create._connectorKey--qDi1h6S.js} +1 -1
  81. package/dist/owletto/dist/assets/{cronstrue-ChFyC9ps.js → cronstrue-h8_zIyZD.js} +1 -1
  82. package/dist/owletto/dist/assets/deployments-BROg1Te8.js +1 -0
  83. package/dist/owletto/dist/assets/deployments-ICDss7yS.js +1 -0
  84. package/dist/owletto/dist/assets/deployments-body-DulCUAMt.js +1 -0
  85. package/dist/owletto/dist/assets/device-kTL2l_cz.js +1 -0
  86. package/dist/owletto/dist/assets/{device-pin-tombstone-1ikyqSdb.js → device-pin-tombstone-BmD4pv_e.js} +1 -1
  87. package/dist/owletto/dist/assets/device-rows-BqudjhFu.js +1 -0
  88. package/dist/owletto/dist/assets/{device._deviceId-DTYKGBY8.js → device._deviceId-CsLJJ6jv.js} +1 -1
  89. package/dist/owletto/dist/assets/entity-options-ErxYvMDH.js +1 -0
  90. package/dist/owletto/dist/assets/entity-page-CYRAwUGO.js +1 -0
  91. package/dist/owletto/dist/assets/entity-type-page-BlAizGlz.js +1 -0
  92. package/dist/owletto/dist/assets/event-page-DTXPxc-E.js +1 -0
  93. package/dist/owletto/dist/assets/events-feed-L3c-LLiJ.js +1 -0
  94. package/dist/owletto/dist/assets/{full-page-spinner-BN2G_YiM.js → full-page-spinner-BxcYpJXx.js} +1 -1
  95. package/dist/owletto/dist/assets/guardrails-Dh4adTXY.js +1 -0
  96. package/dist/owletto/dist/assets/identity-B8lKn0je.js +1 -0
  97. package/dist/owletto/dist/assets/{index-C6VAJ8Ku.js → index--lEHrFE4.js} +1 -1
  98. package/dist/owletto/dist/assets/{index-hSE2E46p.js → index-13rywWam.js} +1 -1
  99. package/dist/owletto/dist/assets/{index-C-u4yR8Z.js → index-BRvT0VV9.js} +1 -1
  100. package/dist/owletto/dist/assets/index-BUp24ZJr.js +1 -0
  101. package/dist/owletto/dist/assets/index-B_-MLsof.js +1 -0
  102. package/dist/owletto/dist/assets/index-Bq-q4Y7E.js +1 -0
  103. package/dist/owletto/dist/assets/index-C8CR2-Ck.css +1 -0
  104. package/dist/owletto/dist/assets/{index-OUb5Mlez.js → index-CDz3-ieP.js} +10 -10
  105. package/dist/owletto/dist/assets/index-CFkj9iR_.js +1 -0
  106. package/dist/owletto/dist/assets/index-CgBgOElA.js +1 -0
  107. package/dist/owletto/dist/assets/{index-C2oCgDX7.js → index-CheCJomo.js} +1 -1
  108. package/dist/owletto/dist/assets/index-CpiW66xK.js +1 -0
  109. package/dist/owletto/dist/assets/index-DAv5S2aK.js +1 -0
  110. package/dist/owletto/dist/assets/index-DBi2Xr3i.js +1 -0
  111. package/dist/owletto/dist/assets/index-DHOha5OJ.js +1 -0
  112. package/dist/owletto/dist/assets/index-DdGjY1Hb.js +7898 -0
  113. package/dist/owletto/dist/assets/index-Dkyl7l6E.js +1 -0
  114. package/dist/owletto/dist/assets/{index-vdqhlocx.js → index-QcHQZI87.js} +1 -1
  115. package/dist/owletto/dist/assets/index-kq4537-S.js +1 -0
  116. package/dist/owletto/dist/assets/{json-diff-DnsW7Pin.js → json-diff-BV2STDGj.js} +2 -2
  117. package/dist/owletto/dist/assets/{list-skeleton-CHzLN7GK.js → list-skeleton-CT5n4ND_.js} +1 -1
  118. package/dist/owletto/dist/assets/login-DKsgABYt.js +1 -0
  119. package/dist/owletto/dist/assets/logout-D_CP-emw.js +1 -0
  120. package/dist/owletto/dist/assets/member-scope-gate-BTgmlfFJ.js +1 -0
  121. package/dist/owletto/dist/assets/memory-browse-page-FHaJC3ML.js +101 -0
  122. package/dist/owletto/dist/assets/missing-view-Bve6pJP-.js +1 -0
  123. package/dist/owletto/dist/assets/{model-selector-DfbmHjLu.js → model-selector-BLCEahny.js} +1 -1
  124. package/dist/owletto/dist/assets/models-C4N7LQAW.js +1 -0
  125. package/dist/owletto/dist/assets/new-BAIGSdfp.js +1 -0
  126. package/dist/owletto/dist/assets/{new-Df_dY6Z5.js → new-CirOK0Sw.js} +1 -1
  127. package/dist/owletto/dist/assets/new-DzapH2sV.js +1 -0
  128. package/dist/owletto/dist/assets/{oauth-workspace-access-D9GmiMfK.js → oauth-workspace-access-BF7jaswv.js} +1 -1
  129. package/dist/owletto/dist/assets/{organization-uSDYkJpX.js → organization-D9RPsWG-.js} +1 -1
  130. package/dist/owletto/dist/assets/{permissions-Fe0DP6b8.js → permissions-BlRONw-u.js} +1 -1
  131. package/dist/owletto/dist/assets/{proposal-review-shell-D9HwnDda.js → proposal-review-shell-uskeFIUr.js} +1 -1
  132. package/dist/owletto/dist/assets/{recent-C03LhMD7.js → recent-CmJ4Is6V.js} +1 -1
  133. package/dist/owletto/dist/assets/{renderer-CHNejd95.js → renderer-Dyf4t8kR.js} +2 -2
  134. package/dist/owletto/dist/assets/{reset-password-CuISnlG_.js → reset-password-BVIeE1Zm.js} +1 -1
  135. package/dist/owletto/dist/assets/runs-CzBeUzlQ.js +1 -0
  136. package/dist/owletto/dist/assets/{runs-panel-DsdESupx.js → runs-panel-D7l1uLGm.js} +1 -1
  137. package/dist/owletto/dist/assets/runs-table-dATyiBg2.js +1 -0
  138. package/dist/owletto/dist/assets/{schema-value-normalization-B--OWDL8.js → schema-value-normalization-DgMkyVVE.js} +1 -1
  139. package/dist/owletto/dist/assets/settings-BK1GHmzb.js +1 -0
  140. package/dist/owletto/dist/assets/{settings-wGNHtsDP.js → settings-Co1wj_m6.js} +1 -1
  141. package/dist/owletto/dist/assets/skills-DF53JcYt.js +1 -0
  142. package/dist/owletto/dist/assets/{switch-Dzse_XFM.js → switch-DDkPrV3p.js} +1 -1
  143. package/dist/owletto/dist/assets/use-applied-views-DELwQQh7.js +1 -0
  144. package/dist/owletto/dist/assets/{use-mention-search-uyW1Uwf6.js → use-mention-search-CGA3AaKm.js} +1 -1
  145. package/dist/owletto/dist/assets/view-frame-DDr-Xtet.js +1 -0
  146. package/dist/owletto/dist/index.html +2 -2
  147. package/dist/server-main.bundle.mjs +6703 -3581
  148. package/npm-shrinkwrap.json +530 -472
  149. package/package.json +5 -2
  150. package/vendor/connector-sdk/dist/connector-runtime.d.ts +4 -6
  151. package/vendor/connector-sdk/dist/connector-runtime.js +3 -5
  152. package/vendor/connector-sdk/dist/connector-types.d.ts +28 -13
  153. package/vendor/connector-sdk/dist/define-connector.d.ts +4 -1
  154. package/vendor/connector-sdk/dist/define-connector.js +4 -1
  155. package/vendor/connector-sdk/dist/http-client.d.ts +18 -7
  156. package/vendor/connector-sdk/dist/http-client.js +15 -13
  157. package/vendor/connector-sdk/dist/index.d.ts +1 -1
  158. package/vendor/connector-sdk/dist/retry.d.ts +15 -3
  159. package/vendor/connector-sdk/dist/retry.js +40 -64
  160. package/vendor/connector-sdk/package.json +1 -1
  161. package/vendor/core/dist/agent-policy.js +3 -0
  162. package/vendor/core/dist/connector-query-errors.d.ts +3 -3
  163. package/vendor/core/dist/connector-query-errors.js +8 -3
  164. package/vendor/core/dist/contracts/tools/manage-connections.d.ts +24 -0
  165. package/vendor/core/dist/contracts/tools/manage-connections.js +13 -0
  166. package/vendor/core/dist/contracts/tools/manage-entity-schema.d.ts +15 -25
  167. package/vendor/core/dist/contracts/tools/manage-entity-schema.js +3 -5
  168. package/vendor/core/dist/contracts/tools/manage-feeds.d.ts +11 -0
  169. package/vendor/core/dist/contracts/tools/manage-feeds.js +12 -1
  170. package/vendor/core/dist/contracts/tools/manage-operations.d.ts +47 -6
  171. package/vendor/core/dist/contracts/tools/manage-operations.js +36 -1
  172. package/vendor/core/dist/contracts/tools/manage-views.d.ts +293 -0
  173. package/vendor/core/dist/contracts/tools/manage-views.js +203 -0
  174. package/vendor/core/dist/contracts/tools/source-files-schema.d.ts +7 -0
  175. package/vendor/core/dist/contracts/tools/source-files-schema.js +19 -0
  176. package/vendor/core/dist/contracts/tools/source-files.d.ts +14 -0
  177. package/vendor/core/dist/contracts/tools/source-files.js +55 -0
  178. package/vendor/core/dist/contracts/tools/view-content-hash.d.ts +37 -0
  179. package/vendor/core/dist/contracts/tools/view-content-hash.js +58 -0
  180. package/vendor/core/dist/contracts/tools/view-path.d.ts +18 -0
  181. package/vendor/core/dist/contracts/tools/view-path.js +24 -0
  182. package/vendor/core/dist/contracts/worker/protocol.d.ts +73 -8
  183. package/vendor/core/dist/contracts/worker/protocol.js +58 -9
  184. package/vendor/core/dist/reserved.d.ts +3 -3
  185. package/vendor/core/dist/reserved.js +9 -1
  186. package/vendor/core/dist/utils/secret-redaction.js +2 -0
  187. package/vendor/core/package.json +25 -5
  188. package/vendor/views/dist/api.d.ts +179 -0
  189. package/vendor/views/dist/api.js +406 -0
  190. package/vendor/views/dist/bridge.d.ts +141 -0
  191. package/vendor/views/dist/bridge.js +330 -0
  192. package/vendor/views/dist/index.d.ts +12 -0
  193. package/vendor/views/dist/index.js +10 -0
  194. package/vendor/views/package.json +35 -0
  195. package/dist/owletto/dist/assets/_-Ds4DyQjj.js +0 -2
  196. package/dist/owletto/dist/assets/_-VmyR6aN_.js +0 -1
  197. package/dist/owletto/dist/assets/_agentId-BAVnp0c7.js +0 -1
  198. package/dist/owletto/dist/assets/_agentId-Df-3rGi5.js +0 -1
  199. package/dist/owletto/dist/assets/_automationId-D696vOjd.js +0 -1
  200. package/dist/owletto/dist/assets/_conversationId-Ci4rgrHm.js +0 -1
  201. package/dist/owletto/dist/assets/_deploymentId-Iy-D5PDq.js +0 -1
  202. package/dist/owletto/dist/assets/_name-CeGwb0oK.js +0 -1
  203. package/dist/owletto/dist/assets/_owner-CFR1G8OX.js +0 -1
  204. package/dist/owletto/dist/assets/_skillKey-DuLcQWBu.js +0 -1
  205. package/dist/owletto/dist/assets/_slug-CDSO20ac.js +0 -1
  206. package/dist/owletto/dist/assets/accept-invitation-Db5jklHT.js +0 -1
  207. package/dist/owletto/dist/assets/activity-route-view-DVW3DoB7.js +0 -1
  208. package/dist/owletto/dist/assets/agent-thread-CzCJU3-R.js +0 -134
  209. package/dist/owletto/dist/assets/agents-DFs57C3c.js +0 -1
  210. package/dist/owletto/dist/assets/agents-workbench-C2bUlJP2.js +0 -1
  211. package/dist/owletto/dist/assets/automation-detail-content-DWkdhnv2.js +0 -1
  212. package/dist/owletto/dist/assets/automations-DFs57C3c.js +0 -1
  213. package/dist/owletto/dist/assets/clients-DhYr4lyL.js +0 -1
  214. package/dist/owletto/dist/assets/connect-Dtb-E5An.js +0 -1
  215. package/dist/owletto/dist/assets/connect._clientId-DWtceAAw.js +0 -1
  216. package/dist/owletto/dist/assets/connected._clientId-CMe-wTuV.js +0 -1
  217. package/dist/owletto/dist/assets/create-CcXUdke7.js +0 -1
  218. package/dist/owletto/dist/assets/create-Cp6hMoeU.js +0 -1
  219. package/dist/owletto/dist/assets/create-automation-form-CJ4meayB.js +0 -1
  220. package/dist/owletto/dist/assets/deployments-CjfFxyDA.js +0 -1
  221. package/dist/owletto/dist/assets/deployments-body-Cg0KiWGr.js +0 -1
  222. package/dist/owletto/dist/assets/device-DpY67Jaj.js +0 -1
  223. package/dist/owletto/dist/assets/device-rows-Cp3yMcuV.js +0 -1
  224. package/dist/owletto/dist/assets/entity-options-1EaSGMX4.js +0 -1
  225. package/dist/owletto/dist/assets/entity-page-DJmM70dv.js +0 -1
  226. package/dist/owletto/dist/assets/entity-type-page-C3mT7tXn.js +0 -1
  227. package/dist/owletto/dist/assets/events-feed-iliGfjit.js +0 -1
  228. package/dist/owletto/dist/assets/guardrails-CLlnRRy9.js +0 -1
  229. package/dist/owletto/dist/assets/identity-MSLryUi8.js +0 -1
  230. package/dist/owletto/dist/assets/index-3o4Eepb4.js +0 -1
  231. package/dist/owletto/dist/assets/index-BUr8321-.js +0 -7898
  232. package/dist/owletto/dist/assets/index-Bulu5ldM.js +0 -1
  233. package/dist/owletto/dist/assets/index-BvbfITqH.js +0 -1
  234. package/dist/owletto/dist/assets/index-ChcQMdod.css +0 -1
  235. package/dist/owletto/dist/assets/index-Clw9ZBj-.js +0 -1
  236. package/dist/owletto/dist/assets/index-D2oL4Ydo.js +0 -1
  237. package/dist/owletto/dist/assets/index-D7wulT4y.js +0 -1
  238. package/dist/owletto/dist/assets/index-DOLFe19K.js +0 -1
  239. package/dist/owletto/dist/assets/index-DTSA0Xh1.js +0 -1
  240. package/dist/owletto/dist/assets/index-DxXXVPU0.js +0 -1
  241. package/dist/owletto/dist/assets/index-nzvsA3hT.js +0 -1
  242. package/dist/owletto/dist/assets/login-CCKNM0gV.js +0 -1
  243. package/dist/owletto/dist/assets/logout-B-N2aodZ.js +0 -1
  244. package/dist/owletto/dist/assets/member-scope-gate-B560Wg-t.js +0 -1
  245. package/dist/owletto/dist/assets/memory-browse-page-DMDqKJn7.js +0 -101
  246. package/dist/owletto/dist/assets/models-M51OGDRE.js +0 -1
  247. package/dist/owletto/dist/assets/new-BVQS9H-Y.js +0 -1
  248. package/dist/owletto/dist/assets/new-DxDVE9nL.js +0 -1
  249. package/dist/owletto/dist/assets/runs-BnYdToDc.js +0 -1
  250. package/dist/owletto/dist/assets/runs-table-B7jKuILd.js +0 -1
  251. package/dist/owletto/dist/assets/settings-Bg9yCCoN.js +0 -1
  252. package/dist/owletto/dist/assets/skills-CN5Ube7A.js +0 -1
  253. package/vendor/core/dist/contracts/tools/manage-view-templates.d.ts +0 -165
  254. package/vendor/core/dist/contracts/tools/manage-view-templates.js +0 -130
@@ -78,14 +78,12 @@ export declare const EntityTypeRowSchema: import("@sinclair/typebox").TObject<{
78
78
  created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
79
79
  updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
80
80
  entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
81
- current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
82
81
  /** Derived types only — the view's aggregate columns, classified on read. */
83
82
  measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
84
83
  /**
85
- * Authored TYPE-level list view templates (view_template_active_tabs for
86
- * resource_type='entity_type'), each with its `data_sources` run LIVE on read.
87
- * Populated only by `get`; the list-view switcher lists these alongside the
88
- * built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
84
+ * Retired with view templates: always empty. Type views resolve client-side
85
+ * from `manage_views`; the field stays so older clients keep rendering the
86
+ * built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
89
87
  */
90
88
  view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
91
89
  tab_name: import("@sinclair/typebox").TString;
@@ -210,14 +208,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
210
208
  created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
211
209
  updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
212
210
  entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
213
- current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
214
211
  /** Derived types only — the view's aggregate columns, classified on read. */
215
212
  measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
216
213
  /**
217
- * Authored TYPE-level list view templates (view_template_active_tabs for
218
- * resource_type='entity_type'), each with its `data_sources` run LIVE on read.
219
- * Populated only by `get`; the list-view switcher lists these alongside the
220
- * built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
214
+ * Retired with view templates: always empty. Type views resolve client-side
215
+ * from `manage_views`; the field stays so older clients keep rendering the
216
+ * built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
221
217
  */
222
218
  view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
223
219
  tab_name: import("@sinclair/typebox").TString;
@@ -277,14 +273,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
277
273
  created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
278
274
  updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
279
275
  entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
280
- current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
281
276
  /** Derived types only — the view's aggregate columns, classified on read. */
282
277
  measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
283
278
  /**
284
- * Authored TYPE-level list view templates (view_template_active_tabs for
285
- * resource_type='entity_type'), each with its `data_sources` run LIVE on read.
286
- * Populated only by `get`; the list-view switcher lists these alongside the
287
- * built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
279
+ * Retired with view templates: always empty. Type views resolve client-side
280
+ * from `manage_views`; the field stays so older clients keep rendering the
281
+ * built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
288
282
  */
289
283
  view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
290
284
  tab_name: import("@sinclair/typebox").TString;
@@ -331,14 +325,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
331
325
  created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
332
326
  updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
333
327
  entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
334
- current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
335
328
  /** Derived types only — the view's aggregate columns, classified on read. */
336
329
  measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
337
330
  /**
338
- * Authored TYPE-level list view templates (view_template_active_tabs for
339
- * resource_type='entity_type'), each with its `data_sources` run LIVE on read.
340
- * Populated only by `get`; the list-view switcher lists these alongside the
341
- * built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
331
+ * Retired with view templates: always empty. Type views resolve client-side
332
+ * from `manage_views`; the field stays so older clients keep rendering the
333
+ * built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
342
334
  */
343
335
  view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
344
336
  tab_name: import("@sinclair/typebox").TString;
@@ -424,14 +416,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
424
416
  created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
425
417
  updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
426
418
  entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
427
- current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
428
419
  /** Derived types only — the view's aggregate columns, classified on read. */
429
420
  measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
430
421
  /**
431
- * Authored TYPE-level list view templates (view_template_active_tabs for
432
- * resource_type='entity_type'), each with its `data_sources` run LIVE on read.
433
- * Populated only by `get`; the list-view switcher lists these alongside the
434
- * built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
422
+ * Retired with view templates: always empty. Type views resolve client-side
423
+ * from `manage_views`; the field stays so older clients keep rendering the
424
+ * built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
435
425
  */
436
426
  view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
437
427
  tab_name: import("@sinclair/typebox").TString;
@@ -164,14 +164,12 @@ exports.EntityTypeRowSchema = typebox_1.Type.Object({
164
164
  created_at: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Unknown()]),
165
165
  updated_at: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Unknown()]),
166
166
  entity_count: typebox_1.Type.Optional(typebox_1.Type.Integer()),
167
- current_view_template_version_id: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()])),
168
167
  /** Derived types only — the view's aggregate columns, classified on read. */
169
168
  measure_columns: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())),
170
169
  /**
171
- * Authored TYPE-level list view templates (view_template_active_tabs for
172
- * resource_type='entity_type'), each with its `data_sources` run LIVE on read.
173
- * Populated only by `get`; the list-view switcher lists these alongside the
174
- * built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
170
+ * Retired with view templates: always empty. Type views resolve client-side
171
+ * from `manage_views`; the field stays so older clients keep rendering the
172
+ * built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
175
173
  */
176
174
  view_templates: typebox_1.Type.Optional(typebox_1.Type.Array(exports.ViewTemplateTabSchema)),
177
175
  });
@@ -58,6 +58,10 @@ export declare const TriggerFeedAction: import("@sinclair/typebox").TObject<{
58
58
  feed_id: import("@sinclair/typebox").TNumber;
59
59
  dry_run: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
60
60
  }>;
61
+ export declare const RecollectFeedAction: import("@sinclair/typebox").TObject<{
62
+ action: import("@sinclair/typebox").TLiteral<"recollect_feed">;
63
+ feed_id: import("@sinclair/typebox").TNumber;
64
+ }>;
61
65
  /**
62
66
  * Result of `manage_feeds` — discriminated union (on `action`, plus an error
63
67
  * variant). TypeBox-first: `Static<>` derives the TS type from the same schema
@@ -119,6 +123,9 @@ export declare const ManageFeedsResultSchema: import("@sinclair/typebox").TUnion
119
123
  run_id: import("@sinclair/typebox").TInteger;
120
124
  feed_id: import("@sinclair/typebox").TInteger;
121
125
  dry_run: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
126
+ }>, import("@sinclair/typebox").TObject<{
127
+ action: import("@sinclair/typebox").TLiteral<"recollect_feed">;
128
+ feed_id: import("@sinclair/typebox").TInteger;
122
129
  }>, import("@sinclair/typebox").TObject<{
123
130
  action: import("@sinclair/typebox").TLiteral<"trigger_feed">;
124
131
  triggered: import("@sinclair/typebox").TLiteral<false>;
@@ -177,6 +184,9 @@ export declare const ManageFeedsSchema: import("@sinclair/typebox").TUnion<[impo
177
184
  action: import("@sinclair/typebox").TLiteral<"trigger_feed">;
178
185
  feed_id: import("@sinclair/typebox").TNumber;
179
186
  dry_run: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
187
+ }>, import("@sinclair/typebox").TObject<{
188
+ action: import("@sinclair/typebox").TLiteral<"recollect_feed">;
189
+ feed_id: import("@sinclair/typebox").TNumber;
180
190
  }>]>;
181
191
  export type ManageFeedsArgs = Static<typeof ManageFeedsSchema>;
182
192
  export type FeedListInput = ActionInput<ManageFeedsArgs, "list_feeds">;
@@ -186,4 +196,5 @@ export type FeedCreateInput = ActionInput<ManageFeedsArgs, "create_feed">;
186
196
  export type FeedUpdateInput = ActionInput<ManageFeedsArgs, "update_feed">;
187
197
  export type FeedDeleteInput = ActionInput<ManageFeedsArgs, "delete_feed">;
188
198
  export type FeedTriggerInput = ActionInput<ManageFeedsArgs, "trigger_feed">;
199
+ export type FeedRecollectInput = ActionInput<ManageFeedsArgs, "recollect_feed">;
189
200
  //# sourceMappingURL=manage-feeds.d.ts.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ManageFeedsSchema = exports.ManageFeedsResultSchema = exports.TriggerFeedAction = exports.DeleteFeedAction = exports.UpdateFeedAction = exports.CreateFeedAction = exports.ReadFeedsAction = exports.ReadFeedAction = exports.ListFeedsAction = void 0;
3
+ exports.ManageFeedsSchema = exports.ManageFeedsResultSchema = exports.RecollectFeedAction = exports.TriggerFeedAction = exports.DeleteFeedAction = exports.UpdateFeedAction = exports.CreateFeedAction = exports.ReadFeedsAction = exports.ReadFeedAction = exports.ListFeedsAction = void 0;
4
4
  const typebox_1 = require("@sinclair/typebox");
5
5
  const pagination_1 = require("./pagination");
6
6
  // ============================================
@@ -133,6 +133,12 @@ exports.TriggerFeedAction = typebox_1.Type.Object({
133
133
  default: false,
134
134
  })),
135
135
  });
136
+ exports.RecollectFeedAction = typebox_1.Type.Object({
137
+ action: typebox_1.Type.Literal("recollect_feed", {
138
+ description: "Clear a feed's sync cursor so its next sync re-collects from scratch. Already-collected events are kept and re-collected items dedupe on origin_id; the feed's status, schedule and failure state are unchanged, and what was already acknowledged back to the source (source_ack) is preserved. Refused while the feed has an active sync run. Does not start a sync — call trigger_feed or wait for the schedule.",
139
+ }),
140
+ feed_id: typebox_1.Type.Number({ description: "Feed ID to re-collect" }),
141
+ });
136
142
  // ============================================
137
143
  // Result Types
138
144
  // ============================================
@@ -204,6 +210,10 @@ exports.ManageFeedsResultSchema = typebox_1.Type.Union([
204
210
  // the flag and persisting anyway is the one failure mode that matters here.
205
211
  dry_run: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
206
212
  }),
213
+ typebox_1.Type.Object({
214
+ action: typebox_1.Type.Literal("recollect_feed"),
215
+ feed_id: typebox_1.Type.Integer(),
216
+ }),
207
217
  // Nothing was queued. `triggered` discriminates this from the success
208
218
  // variant above: the skip used to carry only `message`, so a caller that
209
219
  // queued no run was shape-indistinguishable from one that did, and no run
@@ -224,5 +234,6 @@ exports.ManageFeedsSchema = typebox_1.Type.Union([
224
234
  exports.UpdateFeedAction,
225
235
  exports.DeleteFeedAction,
226
236
  exports.TriggerFeedAction,
237
+ exports.RecollectFeedAction,
227
238
  ]);
228
239
  //# sourceMappingURL=manage-feeds.js.map
@@ -149,12 +149,30 @@ export declare const RejectBatchAction: import("@sinclair/typebox").TObject<{
149
149
  run_ids: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TInteger>>;
150
150
  reason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
151
151
  }>;
152
- /**
153
- * Result of `manage_operations` — discriminated union (on `action`/`status`,
154
- * plus an error variant). TypeBox-first: `Static<>` derives the TS type from
155
- * the same schema exposed as the tool's `outputSchema`. Operation/run rows are
156
- * wide snapshots, so they're honestly `Record<string, unknown>`.
157
- */
152
+ export declare const NotificationDeliverySchema: import("@sinclair/typebox").TObject<{
153
+ outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>, import("@sinclair/typebox").TLiteral<"no_target">, import("@sinclair/typebox").TLiteral<"partial">]>;
154
+ event_id: import("@sinclair/typebox").TInteger;
155
+ automation_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
156
+ run_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
157
+ targets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
158
+ connection_id: import("@sinclair/typebox").TString;
159
+ channel: import("@sinclair/typebox").TString;
160
+ platform: import("@sinclair/typebox").TString;
161
+ attempts: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
162
+ attempt: import("@sinclair/typebox").TInteger;
163
+ idempotency_key: import("@sinclair/typebox").TString;
164
+ status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>;
165
+ observed_at: import("@sinclair/typebox").TString;
166
+ provider_timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
167
+ provider_message_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
168
+ error: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
169
+ code: import("@sinclair/typebox").TString;
170
+ retryable: import("@sinclair/typebox").TBoolean;
171
+ }>, import("@sinclair/typebox").TNull]>;
172
+ }>>;
173
+ }>>;
174
+ }>;
175
+ export type NotificationDelivery = Static<typeof NotificationDeliverySchema>;
158
176
  export declare const ManageOperationsResultSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
159
177
  error: import("@sinclair/typebox").TString;
160
178
  }>, import("@sinclair/typebox").TObject<{
@@ -214,6 +232,29 @@ export declare const ManageOperationsResultSchema: import("@sinclair/typebox").T
214
232
  href: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
215
233
  unread: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
216
234
  notification_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
235
+ delivery: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
236
+ outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>, import("@sinclair/typebox").TLiteral<"no_target">, import("@sinclair/typebox").TLiteral<"partial">]>;
237
+ event_id: import("@sinclair/typebox").TInteger;
238
+ automation_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
239
+ run_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
240
+ targets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
241
+ connection_id: import("@sinclair/typebox").TString;
242
+ channel: import("@sinclair/typebox").TString;
243
+ platform: import("@sinclair/typebox").TString;
244
+ attempts: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
245
+ attempt: import("@sinclair/typebox").TInteger;
246
+ idempotency_key: import("@sinclair/typebox").TString;
247
+ status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>;
248
+ observed_at: import("@sinclair/typebox").TString;
249
+ provider_timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
250
+ provider_message_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
251
+ error: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
252
+ code: import("@sinclair/typebox").TString;
253
+ retryable: import("@sinclair/typebox").TBoolean;
254
+ }>, import("@sinclair/typebox").TNull]>;
255
+ }>>;
256
+ }>>;
257
+ }>>;
217
258
  browser_url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
218
259
  browser_handoff: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
219
260
  run_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ManageOperationsSchema = exports.ManageOperationsResultSchema = exports.RejectBatchAction = exports.ApproveBatchAction = exports.ApprovalBatchScope = exports.RejectAction = exports.ApproveAction = exports.ListActivityAction = exports.GetRunAction = exports.ListRunsAction = exports.LIST_RUNS_DEFAULT_EXCLUDED_RUN_TYPES = exports.ExecuteAction = exports.ListAvailableAction = exports.KindLiteral = exports.BackendLiteral = void 0;
3
+ exports.ManageOperationsSchema = exports.ManageOperationsResultSchema = exports.NotificationDeliverySchema = exports.RejectBatchAction = exports.ApproveBatchAction = exports.ApprovalBatchScope = exports.RejectAction = exports.ApproveAction = exports.ListActivityAction = exports.GetRunAction = exports.ListRunsAction = exports.LIST_RUNS_DEFAULT_EXCLUDED_RUN_TYPES = exports.ExecuteAction = exports.ListAvailableAction = exports.KindLiteral = exports.BackendLiteral = void 0;
4
4
  const typebox_1 = require("@sinclair/typebox");
5
5
  const pagination_1 = require("./pagination");
6
6
  // manage_operations is flattened to one MCP object, so duplicate properties
@@ -240,6 +240,40 @@ exports.RejectBatchAction = typebox_1.Type.Object({
240
240
  * the same schema exposed as the tool's `outputSchema`. Operation/run rows are
241
241
  * wide snapshots, so they're honestly `Record<string, unknown>`.
242
242
  */
243
+ const DeliveryStatusSchema = typebox_1.Type.Union([
244
+ typebox_1.Type.Literal("queued"),
245
+ typebox_1.Type.Literal("dispatched"),
246
+ typebox_1.Type.Literal("provider_accepted"),
247
+ typebox_1.Type.Literal("delivered"),
248
+ typebox_1.Type.Literal("failed"),
249
+ ]);
250
+ exports.NotificationDeliverySchema = typebox_1.Type.Object({
251
+ outcome: typebox_1.Type.Union([
252
+ DeliveryStatusSchema,
253
+ typebox_1.Type.Literal("no_target"),
254
+ typebox_1.Type.Literal("partial"),
255
+ ]),
256
+ event_id: typebox_1.Type.Integer(),
257
+ automation_id: typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()]),
258
+ run_id: typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()]),
259
+ targets: typebox_1.Type.Array(typebox_1.Type.Object({
260
+ connection_id: typebox_1.Type.String(),
261
+ channel: typebox_1.Type.String(),
262
+ platform: typebox_1.Type.String(),
263
+ attempts: typebox_1.Type.Array(typebox_1.Type.Object({
264
+ attempt: typebox_1.Type.Integer(),
265
+ idempotency_key: typebox_1.Type.String(),
266
+ status: DeliveryStatusSchema,
267
+ observed_at: typebox_1.Type.String(),
268
+ provider_timestamp: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
269
+ provider_message_id: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
270
+ error: typebox_1.Type.Union([
271
+ typebox_1.Type.Object({ code: typebox_1.Type.String(), retryable: typebox_1.Type.Boolean() }),
272
+ typebox_1.Type.Null(),
273
+ ]),
274
+ })),
275
+ })),
276
+ });
243
277
  exports.ManageOperationsResultSchema = typebox_1.Type.Union([
244
278
  typebox_1.Type.Object({ error: typebox_1.Type.String() }),
245
279
  typebox_1.Type.Object({
@@ -315,6 +349,7 @@ exports.ManageOperationsResultSchema = typebox_1.Type.Union([
315
349
  href: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
316
350
  unread: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
317
351
  notification_id: typebox_1.Type.Optional(typebox_1.Type.Integer()),
352
+ delivery: typebox_1.Type.Optional(exports.NotificationDeliverySchema),
318
353
  browser_url: typebox_1.Type.Optional(typebox_1.Type.String()),
319
354
  browser_handoff: typebox_1.Type.Optional(typebox_1.Type.Object({
320
355
  run_id: typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()]),