@lobu/runtime-server 20.2.0 → 21.1.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 (270) hide show
  1. package/dist/catalogs/automations.json +0 -8
  2. package/dist/component.json +1 -1
  3. package/dist/connectors/README.md +15 -16
  4. package/dist/connectors/github.ts +274 -193
  5. package/dist/connectors/google_calendar.ts +54 -160
  6. package/dist/connectors/google_drive.ts +106 -131
  7. package/dist/connectors/google_gmail.ts +53 -30
  8. package/dist/connectors/hackernews.ts +2 -5
  9. package/dist/connectors/jira.ts +71 -27
  10. package/dist/connectors/linear.ts +55 -21
  11. package/dist/connectors/microsoft_outlook.ts +151 -110
  12. package/dist/connectors/postgres.ts +19 -11
  13. package/dist/connectors/producthunt.ts +11 -7
  14. package/dist/connectors/reddit.ts +36 -6
  15. package/dist/connectors/rss.ts +2 -2
  16. package/dist/connectors/whatsapp_web.ts +5 -4
  17. package/dist/connectors/x.ts +32 -17
  18. package/dist/connectors/youtube.ts +18 -5
  19. package/dist/db/migrations/20260917000000_views.sql +271 -0
  20. package/dist/db/migrations/20260917000001_views_attach_index.sql +14 -0
  21. package/dist/db/migrations/20260918000000_runs_turn_tool_event_uniq.sql +51 -0
  22. package/dist/db/migrations/20260923230000_runs_connector_artifact_hash.sql +32 -0
  23. package/dist/db/migrations/20260924000000_resource_source_files.sql +17 -0
  24. package/dist/db/migrations/20260928120000_classification_consolidation.sql +51 -0
  25. package/dist/dependencies.bun.lock +113 -102
  26. package/dist/guest.bundle.js +78 -10
  27. package/dist/owletto/dist/assets/_-00GgOtdu.js +1 -0
  28. package/dist/owletto/dist/assets/_-XlUwOWCI.js +2 -0
  29. package/dist/owletto/dist/assets/_agentId-B2DrawIk.js +1 -0
  30. package/dist/owletto/dist/assets/_agentId-CS0AcWH2.js +1 -0
  31. package/dist/owletto/dist/assets/_automationId-BLnqLtUv.js +1 -0
  32. package/dist/owletto/dist/assets/{_connectorKey._connectionId-BAJGfcy7.js → _connectorKey._connectionId-DcUWoZ-C.js} +1 -1
  33. package/dist/owletto/dist/assets/{_connectorKey.index-BBF8vGJS.js → _connectorKey.index-C_yKycN_.js} +1 -1
  34. package/dist/owletto/dist/assets/_conversationId-CpuEvflw.js +1 -0
  35. package/dist/owletto/dist/assets/_deploymentId-BL9tnDFl.js +1 -0
  36. package/dist/owletto/dist/assets/_name-DlxjWkKk.js +1 -0
  37. package/dist/owletto/dist/assets/_owner-Cg50UU6m.js +1 -0
  38. package/dist/owletto/dist/assets/_shape-BWZW4mj8.js +1 -0
  39. package/dist/owletto/dist/assets/_skillKey-B25fO0_O.js +1 -0
  40. package/dist/owletto/dist/assets/_slug-DbD-wv2m.js +1 -0
  41. package/dist/owletto/dist/assets/_viewKey-BcTEvQ3N.js +1 -0
  42. package/dist/owletto/dist/assets/_viewKey-W4RjiUWL.js +1 -0
  43. package/dist/owletto/dist/assets/_viewKey-iGPCKSda.js +1 -0
  44. package/dist/owletto/dist/assets/accept-invitation-BmQKbQem.js +1 -0
  45. package/dist/owletto/dist/assets/activity-route-view-BvtAoGVt.js +1 -0
  46. package/dist/owletto/dist/assets/{agent-card-controls-CZO6GI0s.js → agent-card-controls-bhTMPoVi.js} +1 -1
  47. package/dist/owletto/dist/assets/{agent-client-setup-list-_chLOorY.js → agent-client-setup-list-BBbq_2B1.js} +1 -1
  48. package/dist/owletto/dist/assets/{agent-connect-pages-DWBgSIYT.js → agent-connect-pages-DkDlFVY5.js} +1 -1
  49. package/dist/owletto/dist/assets/{agent-editor-form-BTNlg0kQ.js → agent-editor-form-DwHD9j1Y.js} +1 -1
  50. package/dist/owletto/dist/assets/{agent-guardrails-route-B5uoMC6o.js → agent-guardrails-route-0PsTrqMC.js} +1 -1
  51. package/dist/owletto/dist/assets/{agent-loading-shells-CLoLeFcB.js → agent-loading-shells-BQLjzMPy.js} +1 -1
  52. package/dist/owletto/dist/assets/{agent-permissions-matrix-TP00-MYL.js → agent-permissions-matrix-B-Q5rmuB.js} +1 -1
  53. package/dist/owletto/dist/assets/{agent-skill-context-D4a2QCoZ.js → agent-skill-context-s42Q4Wjo.js} +1 -1
  54. package/dist/owletto/dist/assets/{agent-skills-route-KVDDTbJB.js → agent-skills-route-Cwq1QrhW.js} +1 -1
  55. package/dist/owletto/dist/assets/{agent-subpage-shell-DuVYZvBE.js → agent-subpage-shell-DtzoRy6N.js} +1 -1
  56. package/dist/owletto/dist/assets/agent-thread-D7AGGjRV.js +8 -0
  57. package/dist/owletto/dist/assets/agents-BqCKU4CT.js +1 -0
  58. package/dist/owletto/dist/assets/agents-workbench-Cl7FO7b3.js +1 -0
  59. package/dist/owletto/dist/assets/app-bridge-BH3g2mKG.js +127 -0
  60. package/dist/owletto/dist/assets/{app._appId-D0_LQTJU.js → app._appId-CqYz3AOO.js} +1 -1
  61. package/dist/owletto/dist/assets/automation-detail-content-CKSywvzE.js +1 -0
  62. package/dist/owletto/dist/assets/automations-BqCKU4CT.js +1 -0
  63. package/dist/owletto/dist/assets/{calendar-C0XpOHd8.js → calendar-CHXehtu0.js} +1 -1
  64. package/dist/owletto/dist/assets/{callback-CO_K9eR-.js → callback-DZ3YyXeV.js} +1 -1
  65. package/dist/owletto/dist/assets/{card-DeFQuU_J.js → card-4Ull9W6d.js} +1 -1
  66. package/dist/owletto/dist/assets/{claim-CUpWOSie.js → claim-BGLCPLXq.js} +1 -1
  67. package/dist/owletto/dist/assets/clients-C7ubnFsS.js +1 -0
  68. package/dist/owletto/dist/assets/{code-editor-BqGUZFt6.js → code-editor-BHiWR94J.js} +1 -1
  69. package/dist/owletto/dist/assets/connect-BNatqg6j.js +1 -0
  70. package/dist/owletto/dist/assets/connect._clientId-BGG2IqiQ.js +1 -0
  71. package/dist/owletto/dist/assets/connected._clientId-7RU89sVW.js +1 -0
  72. package/dist/owletto/dist/assets/{connection-BgAlYjeV.js → connection-CTaUGXl6.js} +1 -1
  73. package/dist/owletto/dist/assets/{connection-feed-detail-B3ePAinf.js → connection-feed-detail-B1xieiEh.js} +1 -1
  74. package/dist/owletto/dist/assets/{connector-provenance-DgsDg0Z9.js → connector-provenance-DRdUEmQ1.js} +1 -1
  75. package/dist/owletto/dist/assets/{connectors-CqPQPo9U.js → connectors-NBwCLuZg.js} +1 -1
  76. package/dist/owletto/dist/assets/{consent-bswcIzsf.js → consent-fmhPPlpi.js} +1 -1
  77. package/dist/owletto/dist/assets/{core.esm-DsLgjoel.js → core.esm-C-eNiUAl.js} +1 -1
  78. package/dist/owletto/dist/assets/{create-Dwo04oWV.js → create-8bBbQJGY.js} +1 -1
  79. package/dist/owletto/dist/assets/create-Cl6cfNAp.js +1 -0
  80. package/dist/owletto/dist/assets/create-DrVso8O7.js +1 -0
  81. package/dist/owletto/dist/assets/create-automation-form-De8J-JD5.js +2 -0
  82. package/dist/owletto/dist/assets/{create._connectorKey-CCBb2pil.js → create._connectorKey-CHAotlsF.js} +1 -1
  83. package/dist/owletto/dist/assets/{cronstrue-ChFyC9ps.js → cronstrue-C5yTgk5z.js} +1 -1
  84. package/dist/owletto/dist/assets/deployments-C7M3fV5K.js +1 -0
  85. package/dist/owletto/dist/assets/deployments-D1gbQwsy.js +1 -0
  86. package/dist/owletto/dist/assets/deployments-body-DycIGlnL.js +1 -0
  87. package/dist/owletto/dist/assets/device-DyPnQkhO.js +1 -0
  88. package/dist/owletto/dist/assets/{device-pin-tombstone-1ikyqSdb.js → device-pin-tombstone-CwJitllC.js} +1 -1
  89. package/dist/owletto/dist/assets/device-rows-BBhW1C7Y.js +1 -0
  90. package/dist/owletto/dist/assets/{device._deviceId-DTYKGBY8.js → device._deviceId-XswfXHOc.js} +1 -1
  91. package/dist/owletto/dist/assets/entity-options-utGBmFX0.js +1 -0
  92. package/dist/owletto/dist/assets/entity-page-BxwuqqWk.js +1 -0
  93. package/dist/owletto/dist/assets/entity-type-page-BrWqk6so.js +1 -0
  94. package/dist/owletto/dist/assets/event-page-LIm4EDmJ.js +1 -0
  95. package/dist/owletto/dist/assets/events-feed-C4L8mQV7.js +1 -0
  96. package/dist/owletto/dist/assets/{full-page-spinner-BN2G_YiM.js → full-page-spinner-DsU-Cb3L.js} +1 -1
  97. package/dist/owletto/dist/assets/guardrails-CGFWCfbQ.js +1 -0
  98. package/dist/owletto/dist/assets/identity-uPYpPogR.js +1 -0
  99. package/dist/owletto/dist/assets/{index-hSE2E46p.js → index-1YrrvVJ4.js} +1 -1
  100. package/dist/owletto/dist/assets/index-BKMafTe4.js +1 -0
  101. package/dist/owletto/dist/assets/index-BsL1-C2-.js +1 -0
  102. package/dist/owletto/dist/assets/index-C58oW727.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-C6VAJ8Ku.js → index-CQ4s6nzy.js} +1 -1
  106. package/dist/owletto/dist/assets/index-CpWKAAGX.js +1 -0
  107. package/dist/owletto/dist/assets/{index-vdqhlocx.js → index-D2dcENg2.js} +1 -1
  108. package/dist/owletto/dist/assets/{index-C2oCgDX7.js → index-DCK0KhMM.js} +1 -1
  109. package/dist/owletto/dist/assets/{index-C-u4yR8Z.js → index-DXqiRON3.js} +1 -1
  110. package/dist/owletto/dist/assets/index-DgEc5IvT.js +1 -0
  111. package/dist/owletto/dist/assets/index-DtRfQcRH.js +7898 -0
  112. package/dist/owletto/dist/assets/index-DvhM9tuI.js +1 -0
  113. package/dist/owletto/dist/assets/index-DwtfHCHB.js +1 -0
  114. package/dist/owletto/dist/assets/index-DyYFZjh-.js +1 -0
  115. package/dist/owletto/dist/assets/index-nOYvNROJ.js +1 -0
  116. package/dist/owletto/dist/assets/index-oDoJENMF.js +1 -0
  117. package/dist/owletto/dist/assets/index-rPdUEOa3.js +1 -0
  118. package/dist/owletto/dist/assets/{json-diff-DnsW7Pin.js → json-diff-DYeX-xLk.js} +2 -2
  119. package/dist/owletto/dist/assets/{list-skeleton-CHzLN7GK.js → list-skeleton-s4GPSJ8J.js} +1 -1
  120. package/dist/owletto/dist/assets/login-Di5VF2F_.js +1 -0
  121. package/dist/owletto/dist/assets/logout-BuaQGSnw.js +1 -0
  122. package/dist/owletto/dist/assets/member-scope-gate-CJqJZk7T.js +1 -0
  123. package/dist/owletto/dist/assets/memory-browse-page-Bibfs2sK.js +101 -0
  124. package/dist/owletto/dist/assets/missing-view-CD4DOaG8.js +1 -0
  125. package/dist/owletto/dist/assets/{model-selector-DfbmHjLu.js → model-selector-XC5CI2Et.js} +1 -1
  126. package/dist/owletto/dist/assets/models--8mTFOLz.js +1 -0
  127. package/dist/owletto/dist/assets/{new-Df_dY6Z5.js → new-BzkA1sq2.js} +1 -1
  128. package/dist/owletto/dist/assets/new-C3f0BShb.js +1 -0
  129. package/dist/owletto/dist/assets/new-DA5LF6iB.js +1 -0
  130. package/dist/owletto/dist/assets/{oauth-workspace-access-D9GmiMfK.js → oauth-workspace-access-D6epOq0R.js} +1 -1
  131. package/dist/owletto/dist/assets/{organization-uSDYkJpX.js → organization-DOtBRqDQ.js} +1 -1
  132. package/dist/owletto/dist/assets/{permissions-Fe0DP6b8.js → permissions-D8uJHINS.js} +1 -1
  133. package/dist/owletto/dist/assets/{proposal-review-shell-D9HwnDda.js → proposal-review-shell-C3K-JXjb.js} +1 -1
  134. package/dist/owletto/dist/assets/{recent-C03LhMD7.js → recent-CFcWceBl.js} +1 -1
  135. package/dist/owletto/dist/assets/{renderer-CHNejd95.js → renderer-1nRJFMGx.js} +2 -2
  136. package/dist/owletto/dist/assets/{reset-password-CuISnlG_.js → reset-password-9RTWhBEb.js} +1 -1
  137. package/dist/owletto/dist/assets/runs-_yVh6PPB.js +1 -0
  138. package/dist/owletto/dist/assets/{runs-panel-DsdESupx.js → runs-panel-B2852xus.js} +1 -1
  139. package/dist/owletto/dist/assets/runs-table--dnFQatY.js +1 -0
  140. package/dist/owletto/dist/assets/{schema-value-normalization-B--OWDL8.js → schema-value-normalization-BspxVEGy.js} +1 -1
  141. package/dist/owletto/dist/assets/{settings-wGNHtsDP.js → settings-9lDASETT.js} +1 -1
  142. package/dist/owletto/dist/assets/settings-DQo_ZS2P.js +1 -0
  143. package/dist/owletto/dist/assets/skills-a5xQ4RE9.js +1 -0
  144. package/dist/owletto/dist/assets/{switch-Dzse_XFM.js → switch-CxDXvPGE.js} +1 -1
  145. package/dist/owletto/dist/assets/use-applied-views-DvMT3wap.js +1 -0
  146. package/dist/owletto/dist/assets/{use-mention-search-uyW1Uwf6.js → use-mention-search-CeTEE3oE.js} +1 -1
  147. package/dist/owletto/dist/assets/view-frame-HoBawpT2.js +1 -0
  148. package/dist/owletto/dist/index.html +2 -2
  149. package/dist/providers.json +0 -1
  150. package/dist/server-main.bundle.mjs +8997 -7479
  151. package/npm-shrinkwrap.json +543 -485
  152. package/package.json +5 -2
  153. package/vendor/connector-sdk/dist/connector-runtime.d.ts +4 -6
  154. package/vendor/connector-sdk/dist/connector-runtime.js +3 -5
  155. package/vendor/connector-sdk/dist/connector-types.d.ts +28 -15
  156. package/vendor/connector-sdk/dist/define-connector.d.ts +4 -1
  157. package/vendor/connector-sdk/dist/define-connector.js +4 -1
  158. package/vendor/connector-sdk/dist/http-client.d.ts +18 -7
  159. package/vendor/connector-sdk/dist/http-client.js +15 -13
  160. package/vendor/connector-sdk/dist/index.d.ts +1 -1
  161. package/vendor/connector-sdk/dist/retry.d.ts +15 -3
  162. package/vendor/connector-sdk/dist/retry.js +40 -64
  163. package/vendor/connector-sdk/package.json +1 -1
  164. package/vendor/core/dist/agent-policy.js +3 -0
  165. package/vendor/core/dist/connector-query-errors.d.ts +3 -3
  166. package/vendor/core/dist/connector-query-errors.js +8 -3
  167. package/vendor/core/dist/contracts/tools/manage-auth-profiles.d.ts +14 -0
  168. package/vendor/core/dist/contracts/tools/manage-auth-profiles.js +12 -1
  169. package/vendor/core/dist/contracts/tools/manage-automations.d.ts +0 -10
  170. package/vendor/core/dist/contracts/tools/manage-automations.js +0 -33
  171. package/vendor/core/dist/contracts/tools/manage-classifiers.d.ts +4 -34
  172. package/vendor/core/dist/contracts/tools/manage-classifiers.js +13 -44
  173. package/vendor/core/dist/contracts/tools/manage-connections.d.ts +24 -0
  174. package/vendor/core/dist/contracts/tools/manage-connections.js +13 -0
  175. package/vendor/core/dist/contracts/tools/manage-entity-schema.d.ts +15 -25
  176. package/vendor/core/dist/contracts/tools/manage-entity-schema.js +3 -5
  177. package/vendor/core/dist/contracts/tools/manage-entity.d.ts +0 -9
  178. package/vendor/core/dist/contracts/tools/manage-entity.js +0 -6
  179. package/vendor/core/dist/contracts/tools/manage-feeds.d.ts +11 -0
  180. package/vendor/core/dist/contracts/tools/manage-feeds.js +12 -1
  181. package/vendor/core/dist/contracts/tools/manage-operations.d.ts +47 -6
  182. package/vendor/core/dist/contracts/tools/manage-operations.js +36 -1
  183. package/vendor/core/dist/contracts/tools/manage-views.d.ts +293 -0
  184. package/vendor/core/dist/contracts/tools/manage-views.js +203 -0
  185. package/vendor/core/dist/contracts/tools/source-files-schema.d.ts +7 -0
  186. package/vendor/core/dist/contracts/tools/source-files-schema.js +19 -0
  187. package/vendor/core/dist/contracts/tools/source-files.d.ts +14 -0
  188. package/vendor/core/dist/contracts/tools/source-files.js +55 -0
  189. package/vendor/core/dist/contracts/tools/view-attach.d.ts +20 -0
  190. package/vendor/core/dist/contracts/tools/view-attach.js +45 -0
  191. package/vendor/core/dist/contracts/tools/view-content-hash.d.ts +37 -0
  192. package/vendor/core/dist/contracts/tools/view-content-hash.js +58 -0
  193. package/vendor/core/dist/contracts/tools/view-path.d.ts +18 -0
  194. package/vendor/core/dist/contracts/tools/view-path.js +24 -0
  195. package/vendor/core/dist/contracts/worker/protocol.d.ts +90 -8
  196. package/vendor/core/dist/contracts/worker/protocol.js +70 -10
  197. package/vendor/core/dist/index.d.ts +1 -1
  198. package/vendor/core/dist/provider-config-types.d.ts +0 -9
  199. package/vendor/core/dist/reserved.d.ts +3 -3
  200. package/vendor/core/dist/reserved.js +9 -1
  201. package/vendor/core/dist/sdk-compat.d.ts +1 -1
  202. package/vendor/core/dist/utils/secret-redaction.js +2 -0
  203. package/vendor/core/package.json +30 -5
  204. package/vendor/views/dist/api.d.ts +184 -0
  205. package/vendor/views/dist/api.js +410 -0
  206. package/vendor/views/dist/bridge.d.ts +141 -0
  207. package/vendor/views/dist/bridge.js +330 -0
  208. package/vendor/views/dist/index.d.ts +12 -0
  209. package/vendor/views/dist/index.js +10 -0
  210. package/vendor/views/package.json +35 -0
  211. package/dist/owletto/dist/assets/_-Ds4DyQjj.js +0 -2
  212. package/dist/owletto/dist/assets/_-VmyR6aN_.js +0 -1
  213. package/dist/owletto/dist/assets/_agentId-BAVnp0c7.js +0 -1
  214. package/dist/owletto/dist/assets/_agentId-Df-3rGi5.js +0 -1
  215. package/dist/owletto/dist/assets/_automationId-D696vOjd.js +0 -1
  216. package/dist/owletto/dist/assets/_conversationId-Ci4rgrHm.js +0 -1
  217. package/dist/owletto/dist/assets/_deploymentId-Iy-D5PDq.js +0 -1
  218. package/dist/owletto/dist/assets/_name-CeGwb0oK.js +0 -1
  219. package/dist/owletto/dist/assets/_owner-CFR1G8OX.js +0 -1
  220. package/dist/owletto/dist/assets/_skillKey-DuLcQWBu.js +0 -1
  221. package/dist/owletto/dist/assets/_slug-CDSO20ac.js +0 -1
  222. package/dist/owletto/dist/assets/accept-invitation-Db5jklHT.js +0 -1
  223. package/dist/owletto/dist/assets/activity-route-view-DVW3DoB7.js +0 -1
  224. package/dist/owletto/dist/assets/agent-thread-CzCJU3-R.js +0 -134
  225. package/dist/owletto/dist/assets/agents-DFs57C3c.js +0 -1
  226. package/dist/owletto/dist/assets/agents-workbench-C2bUlJP2.js +0 -1
  227. package/dist/owletto/dist/assets/automation-detail-content-DWkdhnv2.js +0 -1
  228. package/dist/owletto/dist/assets/automations-DFs57C3c.js +0 -1
  229. package/dist/owletto/dist/assets/clients-DhYr4lyL.js +0 -1
  230. package/dist/owletto/dist/assets/connect-Dtb-E5An.js +0 -1
  231. package/dist/owletto/dist/assets/connect._clientId-DWtceAAw.js +0 -1
  232. package/dist/owletto/dist/assets/connected._clientId-CMe-wTuV.js +0 -1
  233. package/dist/owletto/dist/assets/create-CcXUdke7.js +0 -1
  234. package/dist/owletto/dist/assets/create-Cp6hMoeU.js +0 -1
  235. package/dist/owletto/dist/assets/create-automation-form-CJ4meayB.js +0 -1
  236. package/dist/owletto/dist/assets/deployments-CjfFxyDA.js +0 -1
  237. package/dist/owletto/dist/assets/deployments-body-Cg0KiWGr.js +0 -1
  238. package/dist/owletto/dist/assets/device-DpY67Jaj.js +0 -1
  239. package/dist/owletto/dist/assets/device-rows-Cp3yMcuV.js +0 -1
  240. package/dist/owletto/dist/assets/entity-options-1EaSGMX4.js +0 -1
  241. package/dist/owletto/dist/assets/entity-page-DJmM70dv.js +0 -1
  242. package/dist/owletto/dist/assets/entity-type-page-C3mT7tXn.js +0 -1
  243. package/dist/owletto/dist/assets/events-feed-iliGfjit.js +0 -1
  244. package/dist/owletto/dist/assets/guardrails-CLlnRRy9.js +0 -1
  245. package/dist/owletto/dist/assets/identity-MSLryUi8.js +0 -1
  246. package/dist/owletto/dist/assets/index-3o4Eepb4.js +0 -1
  247. package/dist/owletto/dist/assets/index-BUr8321-.js +0 -7898
  248. package/dist/owletto/dist/assets/index-Bulu5ldM.js +0 -1
  249. package/dist/owletto/dist/assets/index-BvbfITqH.js +0 -1
  250. package/dist/owletto/dist/assets/index-ChcQMdod.css +0 -1
  251. package/dist/owletto/dist/assets/index-Clw9ZBj-.js +0 -1
  252. package/dist/owletto/dist/assets/index-D2oL4Ydo.js +0 -1
  253. package/dist/owletto/dist/assets/index-D7wulT4y.js +0 -1
  254. package/dist/owletto/dist/assets/index-DOLFe19K.js +0 -1
  255. package/dist/owletto/dist/assets/index-DTSA0Xh1.js +0 -1
  256. package/dist/owletto/dist/assets/index-DxXXVPU0.js +0 -1
  257. package/dist/owletto/dist/assets/index-nzvsA3hT.js +0 -1
  258. package/dist/owletto/dist/assets/login-CCKNM0gV.js +0 -1
  259. package/dist/owletto/dist/assets/logout-B-N2aodZ.js +0 -1
  260. package/dist/owletto/dist/assets/member-scope-gate-B560Wg-t.js +0 -1
  261. package/dist/owletto/dist/assets/memory-browse-page-DMDqKJn7.js +0 -101
  262. package/dist/owletto/dist/assets/models-M51OGDRE.js +0 -1
  263. package/dist/owletto/dist/assets/new-BVQS9H-Y.js +0 -1
  264. package/dist/owletto/dist/assets/new-DxDVE9nL.js +0 -1
  265. package/dist/owletto/dist/assets/runs-BnYdToDc.js +0 -1
  266. package/dist/owletto/dist/assets/runs-table-B7jKuILd.js +0 -1
  267. package/dist/owletto/dist/assets/settings-Bg9yCCoN.js +0 -1
  268. package/dist/owletto/dist/assets/skills-CN5Ube7A.js +0 -1
  269. package/vendor/core/dist/contracts/tools/manage-view-templates.d.ts +0 -165
  270. package/vendor/core/dist/contracts/tools/manage-view-templates.js +0 -130
@@ -25,6 +25,21 @@
25
25
  * not change that boundary, it only types what already crosses it.
26
26
  */
27
27
  import { type Static } from "@sinclair/typebox";
28
+ export declare const CONNECTOR_HTTP_AUTH_CAPABILITY = "http_auth";
29
+ export declare const CONNECTOR_HTTP_MAX_BYTES: number;
30
+ export declare const ConnectorHttpRequestSchema: import("@sinclair/typebox").TObject<{
31
+ url: import("@sinclair/typebox").TString;
32
+ method: import("@sinclair/typebox").TString;
33
+ headers: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
34
+ body: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
35
+ }>;
36
+ export type ConnectorHttpRequest = Static<typeof ConnectorHttpRequestSchema>;
37
+ export interface ConnectorHttpResponse {
38
+ status: number;
39
+ statusText: string;
40
+ headers: Record<string, string>;
41
+ body: string;
42
+ }
28
43
  /** Run kinds the poller can hand back. */
29
44
  export declare const RunTypeSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"sync">, import("@sinclair/typebox").TLiteral<"action">, import("@sinclair/typebox").TLiteral<"automation">, import("@sinclair/typebox").TLiteral<"chat_message">, import("@sinclair/typebox").TLiteral<"embed_backfill">, import("@sinclair/typebox").TLiteral<"auth">, import("@sinclair/typebox").TLiteral<"agent_turn">]>;
30
45
  /** Categorized run exit reason on the failed-run path. */
@@ -628,6 +643,8 @@ export declare const PollResponseSchema: import("@sinclair/typebox").TObject<{
628
643
  scope: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
629
644
  }>, import("@sinclair/typebox").TNull]>>;
630
645
  connection_credentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
646
+ /** Gateway-only credential delivery. Requires the http_auth worker capability. */
647
+ http_auth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
631
648
  connection_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
632
649
  feed_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
633
650
  compiled_code: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -1080,6 +1097,7 @@ export declare const CompleteRequestSchema: import("@sinclair/typebox").TObject<
1080
1097
  worker_id: import("@sinclair/typebox").TString;
1081
1098
  checkpoint: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
1082
1099
  items_collected: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
1100
+ more: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
1083
1101
  auth_update: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
1084
1102
  output_tail: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1085
1103
  exit_code: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
@@ -1196,13 +1214,21 @@ export declare const TURN_TOOL_OUTPUT_MAX_CHARS = 2000;
1196
1214
  * The server renders this into the established `tool_use` custom event, so the
1197
1215
  * SPA, promptfoo provider and menubar keep one tool-trace shape.
1198
1216
  *
1199
- * Best-effort like the delta it rides with, and for the same reason: a tool
1200
- * trace is a VIEW of the turn, never the turn's answer, so a dropped one costs
1201
- * visibility and nothing else.
1217
+ * Mandatory external-effect evidence. The worker retains each trace until the
1218
+ * server explicitly acknowledges durable storage; capacity overflow fails the
1219
+ * turn honestly rather than dropping evidence.
1202
1220
  */
1203
1221
  export declare const TurnToolEventSchema: import("@sinclair/typebox").TObject<{
1204
1222
  tool_call_id: import("@sinclair/typebox").TString;
1205
1223
  name: import("@sinclair/typebox").TString;
1224
+ /**
1225
+ * The accepted input run this call was started for, so a result that lands
1226
+ * after a mid-turn follow-up stays attributed to the message that initiated
1227
+ * it rather than to whichever input is active when it finishes. Absent on
1228
+ * traces from workers that predate per-input attribution; the completion
1229
+ * route then attributes them to the owning input.
1230
+ */
1231
+ input_run_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
1206
1232
  /**
1207
1233
  * The call's arguments, as the model sent them. The SPA renders `input` as
1208
1234
  * the tool row's args. Absent when the start of the call was not observed.
@@ -1228,12 +1254,14 @@ export declare const TurnToolEventSchema: import("@sinclair/typebox").TObject<{
1228
1254
  * How many finished tool traces a turn holds at once, on the worker's queue and
1229
1255
  * as the bound on the completion body's trailing batch.
1230
1256
  *
1231
- * One definition because it is now both: the worker drops the oldest past this
1232
- * cap, and the completion route rejects a body that exceeds it. A trace is a
1233
- * view of the turn, so a turn that spends its budget on tool calls sheds the
1234
- * oldest rather than growing an unbounded queue or an unbounded request.
1257
+ * One definition because it is now both: the worker fails the turn rather than
1258
+ * exceed this cap, and the completion route rejects a body that exceeds it. A
1259
+ * trace is mandatory external-effect evidence, so a turn that spends its budget
1260
+ * on tool calls fails honestly with its retained prefix instead of growing an
1261
+ * unbounded queue, shedding the oldest silently, or filing an unbounded
1262
+ * request.
1235
1263
  */
1236
- export declare const TURN_TOOL_EVENT_QUEUE_MAX = 20;
1264
+ export declare const TURN_TOOL_EVENT_QUEUE_MAX = 50;
1237
1265
  /** Per-execution input bound shared by repeatable offers and committed receipts. */
1238
1266
  export declare const AGENT_TURN_INPUT_MAX = 32;
1239
1267
  export declare const CompleteAgentTurnRequestSchema: import("@sinclair/typebox").TObject<{
@@ -1252,6 +1280,27 @@ export declare const CompleteAgentTurnRequestSchema: import("@sinclair/typebox")
1252
1280
  consumed_inputs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
1253
1281
  run_id: import("@sinclair/typebox").TInteger;
1254
1282
  session_entry_id: import("@sinclair/typebox").TString;
1283
+ /**
1284
+ * This input's own answer text, not the execution's. Present on
1285
+ * receipts from workers with per-input attribution; absent on
1286
+ * receipts from older workers, which the completion route delivers
1287
+ * as one execution-wide reply (the pre-#3662 contract those claims
1288
+ * were admitted under).
1289
+ */
1290
+ response_text: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1291
+ /**
1292
+ * The tools this input's answer actually used, in first-call order.
1293
+ * Per-input like the answer: never the execution-wide ledger, which
1294
+ * would attribute a sibling input's calls to this reply.
1295
+ */
1296
+ tools_used: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
1297
+ /**
1298
+ * The first tool error attributed to this input, quoted exactly as the
1299
+ * tool returned it. Preserved independently of how the model paraphrases
1300
+ * the failure in prose, so the durable record keeps the actionable
1301
+ * message even when the reply does not.
1302
+ */
1303
+ first_error: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1255
1304
  }>>>;
1256
1305
  /**
1257
1306
  * Every tool this turn invoked, first-call order. Absent and `[]` are NOT
@@ -1260,6 +1309,14 @@ export declare const CompleteAgentTurnRequestSchema: import("@sinclair/typebox")
1260
1309
  * must send the array even when it called nothing.
1261
1310
  */
1262
1311
  tools_used: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
1312
+ /**
1313
+ * The owner input's first tool error, quoted exactly as the tool returned
1314
+ * it. Steered inputs carry theirs on their `consumed_inputs` receipts, so
1315
+ * every terminal reply is stamped with its own input's failure rather than
1316
+ * the execution-wide first one. Preserved independently of how the model
1317
+ * paraphrases the failure in prose.
1318
+ */
1319
+ first_error: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1263
1320
  /**
1264
1321
  * The turn already posted its answer INTO the conversation it is replying to,
1265
1322
  * through the `send_message`/`present_event` conversation tool. The user has
@@ -1287,6 +1344,14 @@ export declare const CompleteAgentTurnRequestSchema: import("@sinclair/typebox")
1287
1344
  turn_tool_events: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
1288
1345
  tool_call_id: import("@sinclair/typebox").TString;
1289
1346
  name: import("@sinclair/typebox").TString;
1347
+ /**
1348
+ * The accepted input run this call was started for, so a result that lands
1349
+ * after a mid-turn follow-up stays attributed to the message that initiated
1350
+ * it rather than to whichever input is active when it finishes. Absent on
1351
+ * traces from workers that predate per-input attribution; the completion
1352
+ * route then attributes them to the owning input.
1353
+ */
1354
+ input_run_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
1290
1355
  /**
1291
1356
  * The call's arguments, as the model sent them. The SPA renders `input` as
1292
1357
  * the tool row's args. Absent when the start of the call was not observed.
@@ -1422,6 +1487,14 @@ export declare const HeartbeatRequestSchema: import("@sinclair/typebox").TObject
1422
1487
  turn_tool_events: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
1423
1488
  tool_call_id: import("@sinclair/typebox").TString;
1424
1489
  name: import("@sinclair/typebox").TString;
1490
+ /**
1491
+ * The accepted input run this call was started for, so a result that lands
1492
+ * after a mid-turn follow-up stays attributed to the message that initiated
1493
+ * it rather than to whichever input is active when it finishes. Absent on
1494
+ * traces from workers that predate per-input attribution; the completion
1495
+ * route then attributes them to the owning input.
1496
+ */
1497
+ input_run_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
1425
1498
  /**
1426
1499
  * The call's arguments, as the model sent them. The SPA renders `input` as
1427
1500
  * the tool row's args. Absent when the start of the call was not observed.
@@ -1526,6 +1599,12 @@ export type AgentTurnToolEvent = Static<typeof TurnToolEventSchema>;
1526
1599
  * already passed acknowledges without publishing, and the worker retires the
1527
1600
  * batch — there is nothing more it can do about it. Only the ABSENCE of an ack
1528
1601
  * keeps the text queued.
1602
+ *
1603
+ * `turn_tool_ack` is the same honesty for the tool traces that rode the beat:
1604
+ * `received` names how many of the sent traces the server durably stored. The
1605
+ * worker retires only that prefix and re-sends the rest. A liveness-only beat
1606
+ * carries no ack and acknowledges nothing; only its absence keeps evidence
1607
+ * queued.
1529
1608
  */
1530
1609
  export declare const HeartbeatResponseSchema: import("@sinclair/typebox").TObject<{
1531
1610
  continue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
@@ -1555,6 +1634,9 @@ export declare const HeartbeatResponseSchema: import("@sinclair/typebox").TObjec
1555
1634
  sequence: import("@sinclair/typebox").TInteger;
1556
1635
  published: import("@sinclair/typebox").TBoolean;
1557
1636
  }>>;
1637
+ turn_tool_ack: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
1638
+ received: import("@sinclair/typebox").TInteger;
1639
+ }>>;
1558
1640
  }>;
1559
1641
  export type DispatchChromeActionRequest = Static<typeof DispatchChromeActionRequestSchema>;
1560
1642
  export type DispatchChromeActionResponse = Static<typeof DispatchChromeActionResponseSchema>;
@@ -26,9 +26,18 @@
26
26
  * not change that boundary, it only types what already crosses it.
27
27
  */
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.HeartbeatResponseSchema = exports.DispatchChromeActionResponseSchema = exports.DispatchChromeActionRequestSchema = exports.HeartbeatRequestSchema = exports.AGENT_TURN_BRIDGE_BYTES = exports.TURN_DELTA_MAX_CHARS = exports.PollAuthSignalResponseSchema = exports.PollAuthSignalRequestSchema = exports.EmitAuthArtifactRequestSchema = exports.CompleteAgentTurnResponseSchema = exports.CompleteAgentTurnRequestSchema = exports.AGENT_TURN_INPUT_MAX = exports.TURN_TOOL_EVENT_QUEUE_MAX = exports.TurnToolEventSchema = exports.TURN_TOOL_OUTPUT_MAX_CHARS = exports.CompleteDeviceChatResponseSchema = exports.CompleteDeviceChatRequestSchema = exports.CompleteAutomationResponseSchema = exports.CompleteAutomationRequestSchema = exports.CompleteAuthRequestSchema = exports.CompleteEmbeddingsRequestSchema = exports.EmbeddingEntrySchema = exports.EmbedEventSchema = exports.CompleteActionRequestSchema = exports.CompleteRequestSchema = exports.StreamBatchSchema = exports.ContentItemSchema = exports.ActivatePageResponseSchema = exports.ActivatePageRequestSchema = exports.PollResponseSchema = exports.FeedSourceAckSchema = exports.AgentTurnPollPayloadSchema = exports.DeviceChatPollPayloadSchema = exports.DEVICE_CHAT_MAX_CONTEXT_LENGTH = exports.DeviceChatHistoryMessageSchema = exports.AutomationPollPayloadSchema = exports.AutomationPollContextSchema = exports.AutomationPollEventSchema = exports.AutomationPollMetaSchema = exports.AutomationExecutionConfigSchema = exports.PollRequestSchema = exports.WORKER_POLL_MAX_WAIT_SECONDS = exports.FeedNotificationSchema = exports.EXECUTION_BACKENDS = exports.OAuthCredentialsSchema = exports.WorkerExitDiagnosticsSchema = exports.WorkerExitReasonSchema = exports.RunTypeSchema = void 0;
29
+ exports.DispatchChromeActionResponseSchema = exports.DispatchChromeActionRequestSchema = exports.HeartbeatRequestSchema = exports.AGENT_TURN_BRIDGE_BYTES = exports.TURN_DELTA_MAX_CHARS = exports.PollAuthSignalResponseSchema = exports.PollAuthSignalRequestSchema = exports.EmitAuthArtifactRequestSchema = exports.CompleteAgentTurnResponseSchema = exports.CompleteAgentTurnRequestSchema = exports.AGENT_TURN_INPUT_MAX = exports.TURN_TOOL_EVENT_QUEUE_MAX = exports.TurnToolEventSchema = exports.TURN_TOOL_OUTPUT_MAX_CHARS = exports.CompleteDeviceChatResponseSchema = exports.CompleteDeviceChatRequestSchema = exports.CompleteAutomationResponseSchema = exports.CompleteAutomationRequestSchema = exports.CompleteAuthRequestSchema = exports.CompleteEmbeddingsRequestSchema = exports.EmbeddingEntrySchema = exports.EmbedEventSchema = exports.CompleteActionRequestSchema = exports.CompleteRequestSchema = exports.StreamBatchSchema = exports.ContentItemSchema = exports.ActivatePageResponseSchema = exports.ActivatePageRequestSchema = exports.PollResponseSchema = exports.FeedSourceAckSchema = exports.AgentTurnPollPayloadSchema = exports.DeviceChatPollPayloadSchema = exports.DEVICE_CHAT_MAX_CONTEXT_LENGTH = exports.DeviceChatHistoryMessageSchema = exports.AutomationPollPayloadSchema = exports.AutomationPollContextSchema = exports.AutomationPollEventSchema = exports.AutomationPollMetaSchema = exports.AutomationExecutionConfigSchema = exports.PollRequestSchema = exports.WORKER_POLL_MAX_WAIT_SECONDS = exports.FeedNotificationSchema = exports.EXECUTION_BACKENDS = exports.OAuthCredentialsSchema = exports.WorkerExitDiagnosticsSchema = exports.WorkerExitReasonSchema = exports.RunTypeSchema = exports.ConnectorHttpRequestSchema = exports.CONNECTOR_HTTP_MAX_BYTES = exports.CONNECTOR_HTTP_AUTH_CAPABILITY = void 0;
30
+ exports.HeartbeatResponseSchema = void 0;
30
31
  exports.defaultBackendCapacity = defaultBackendCapacity;
31
32
  const typebox_1 = require("@sinclair/typebox");
33
+ exports.CONNECTOR_HTTP_AUTH_CAPABILITY = "http_auth";
34
+ exports.CONNECTOR_HTTP_MAX_BYTES = 4 * 1024 * 1024;
35
+ exports.ConnectorHttpRequestSchema = typebox_1.Type.Object({
36
+ url: typebox_1.Type.String({ maxLength: 16384 }),
37
+ method: typebox_1.Type.String({ maxLength: 32 }),
38
+ headers: typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.String()),
39
+ body: typebox_1.Type.Optional(typebox_1.Type.String({ maxLength: Math.ceil(exports.CONNECTOR_HTTP_MAX_BYTES / 3) * 4 })),
40
+ }, { additionalProperties: false });
32
41
  // Wire mirror of connector-sdk's ConnectorAutomationSignalDraftSchema. Core is
33
42
  // deliberately dependency-free from connector-sdk; both the worker and gateway
34
43
  // compile against this schema at the HTTP boundary.
@@ -638,6 +647,8 @@ exports.PollResponseSchema = typebox_1.Type.Object({
638
647
  entity_ids: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Integer())),
639
648
  credentials: typebox_1.Type.Optional(typebox_1.Type.Union([exports.OAuthCredentialsSchema, typebox_1.Type.Null()])),
640
649
  connection_credentials: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown())),
650
+ /** Gateway-only credential delivery. Requires the http_auth worker capability. */
651
+ http_auth: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
641
652
  connection_id: typebox_1.Type.Optional(typebox_1.Type.Integer()),
642
653
  feed_id: typebox_1.Type.Optional(typebox_1.Type.Integer()),
643
654
  compiled_code: typebox_1.Type.Optional(typebox_1.Type.String()),
@@ -732,6 +743,7 @@ exports.CompleteRequestSchema = typebox_1.Type.Composite([
732
743
  items_collected: typebox_1.Type.Optional(typebox_1.Type.Integer()),
733
744
  error_message: typebox_1.Type.Optional(typebox_1.Type.String()),
734
745
  checkpoint: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown())),
746
+ more: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
735
747
  auth_update: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown())),
736
748
  }),
737
749
  exports.WorkerExitDiagnosticsSchema,
@@ -840,13 +852,21 @@ exports.TURN_TOOL_OUTPUT_MAX_CHARS = 2000;
840
852
  * The server renders this into the established `tool_use` custom event, so the
841
853
  * SPA, promptfoo provider and menubar keep one tool-trace shape.
842
854
  *
843
- * Best-effort like the delta it rides with, and for the same reason: a tool
844
- * trace is a VIEW of the turn, never the turn's answer, so a dropped one costs
845
- * visibility and nothing else.
855
+ * Mandatory external-effect evidence. The worker retains each trace until the
856
+ * server explicitly acknowledges durable storage; capacity overflow fails the
857
+ * turn honestly rather than dropping evidence.
846
858
  */
847
859
  exports.TurnToolEventSchema = typebox_1.Type.Object({
848
860
  tool_call_id: typebox_1.Type.String({ maxLength: 256 }),
849
861
  name: typebox_1.Type.String({ maxLength: 256 }),
862
+ /**
863
+ * The accepted input run this call was started for, so a result that lands
864
+ * after a mid-turn follow-up stays attributed to the message that initiated
865
+ * it rather than to whichever input is active when it finishes. Absent on
866
+ * traces from workers that predate per-input attribution; the completion
867
+ * route then attributes them to the owning input.
868
+ */
869
+ input_run_id: typebox_1.Type.Optional(typebox_1.Type.Integer({ minimum: 1 })),
850
870
  /**
851
871
  * The call's arguments, as the model sent them. The SPA renders `input` as
852
872
  * the tool row's args. Absent when the start of the call was not observed.
@@ -872,12 +892,14 @@ exports.TurnToolEventSchema = typebox_1.Type.Object({
872
892
  * How many finished tool traces a turn holds at once, on the worker's queue and
873
893
  * as the bound on the completion body's trailing batch.
874
894
  *
875
- * One definition because it is now both: the worker drops the oldest past this
876
- * cap, and the completion route rejects a body that exceeds it. A trace is a
877
- * view of the turn, so a turn that spends its budget on tool calls sheds the
878
- * oldest rather than growing an unbounded queue or an unbounded request.
895
+ * One definition because it is now both: the worker fails the turn rather than
896
+ * exceed this cap, and the completion route rejects a body that exceeds it. A
897
+ * trace is mandatory external-effect evidence, so a turn that spends its budget
898
+ * on tool calls fails honestly with its retained prefix instead of growing an
899
+ * unbounded queue, shedding the oldest silently, or filing an unbounded
900
+ * request.
879
901
  */
880
- exports.TURN_TOOL_EVENT_QUEUE_MAX = 20;
902
+ exports.TURN_TOOL_EVENT_QUEUE_MAX = 50;
881
903
  /** Per-execution input bound shared by repeatable offers and committed receipts. */
882
904
  exports.AGENT_TURN_INPUT_MAX = 32;
883
905
  exports.CompleteAgentTurnRequestSchema = typebox_1.Type.Object({
@@ -896,6 +918,27 @@ exports.CompleteAgentTurnRequestSchema = typebox_1.Type.Object({
896
918
  consumed_inputs: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Object({
897
919
  run_id: typebox_1.Type.Integer({ minimum: 1 }),
898
920
  session_entry_id: typebox_1.Type.String({ minLength: 1 }),
921
+ /**
922
+ * This input's own answer text, not the execution's. Present on
923
+ * receipts from workers with per-input attribution; absent on
924
+ * receipts from older workers, which the completion route delivers
925
+ * as one execution-wide reply (the pre-#3662 contract those claims
926
+ * were admitted under).
927
+ */
928
+ response_text: typebox_1.Type.Optional(typebox_1.Type.String({ minLength: 1, maxLength: 32000 })),
929
+ /**
930
+ * The tools this input's answer actually used, in first-call order.
931
+ * Per-input like the answer: never the execution-wide ledger, which
932
+ * would attribute a sibling input's calls to this reply.
933
+ */
934
+ tools_used: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String({ maxLength: 256 }), { maxItems: 50 })),
935
+ /**
936
+ * The first tool error attributed to this input, quoted exactly as the
937
+ * tool returned it. Preserved independently of how the model paraphrases
938
+ * the failure in prose, so the durable record keeps the actionable
939
+ * message even when the reply does not.
940
+ */
941
+ first_error: typebox_1.Type.Optional(typebox_1.Type.String({ minLength: 1, maxLength: exports.TURN_TOOL_OUTPUT_MAX_CHARS })),
899
942
  }), { maxItems: exports.AGENT_TURN_INPUT_MAX })),
900
943
  /**
901
944
  * Every tool this turn invoked, first-call order. Absent and `[]` are NOT
@@ -904,6 +947,14 @@ exports.CompleteAgentTurnRequestSchema = typebox_1.Type.Object({
904
947
  * must send the array even when it called nothing.
905
948
  */
906
949
  tools_used: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())),
950
+ /**
951
+ * The owner input's first tool error, quoted exactly as the tool returned
952
+ * it. Steered inputs carry theirs on their `consumed_inputs` receipts, so
953
+ * every terminal reply is stamped with its own input's failure rather than
954
+ * the execution-wide first one. Preserved independently of how the model
955
+ * paraphrases the failure in prose.
956
+ */
957
+ first_error: typebox_1.Type.Optional(typebox_1.Type.String({ minLength: 1, maxLength: exports.TURN_TOOL_OUTPUT_MAX_CHARS })),
907
958
  /**
908
959
  * The turn already posted its answer INTO the conversation it is replying to,
909
960
  * through the `send_message`/`present_event` conversation tool. The user has
@@ -1049,7 +1100,7 @@ exports.HeartbeatRequestSchema = typebox_1.Type.Object({
1049
1100
  * the same reason: the turn already reports on this interval, and where the
1050
1101
  * traces are delivered is read from the run's own row, never from this body.
1051
1102
  */
1052
- turn_tool_events: typebox_1.Type.Optional(typebox_1.Type.Array(exports.TurnToolEventSchema)),
1103
+ turn_tool_events: typebox_1.Type.Optional(typebox_1.Type.Array(exports.TurnToolEventSchema, { maxItems: exports.TURN_TOOL_EVENT_QUEUE_MAX })),
1053
1104
  });
1054
1105
  /**
1055
1106
  * Request the gateway dispatch a chrome connector action on behalf of a
@@ -1101,6 +1152,12 @@ exports.DispatchChromeActionResponseSchema = typebox_1.Type.Object({
1101
1152
  * already passed acknowledges without publishing, and the worker retires the
1102
1153
  * batch — there is nothing more it can do about it. Only the ABSENCE of an ack
1103
1154
  * keeps the text queued.
1155
+ *
1156
+ * `turn_tool_ack` is the same honesty for the tool traces that rode the beat:
1157
+ * `received` names how many of the sent traces the server durably stored. The
1158
+ * worker retires only that prefix and re-sends the rest. A liveness-only beat
1159
+ * carries no ack and acknowledges nothing; only its absence keeps evidence
1160
+ * queued.
1104
1161
  */
1105
1162
  exports.HeartbeatResponseSchema = typebox_1.Type.Object({
1106
1163
  continue: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
@@ -1130,5 +1187,8 @@ exports.HeartbeatResponseSchema = typebox_1.Type.Object({
1130
1187
  sequence: typebox_1.Type.Integer({ minimum: 0 }),
1131
1188
  published: typebox_1.Type.Boolean(),
1132
1189
  })),
1190
+ turn_tool_ack: typebox_1.Type.Optional(typebox_1.Type.Object({
1191
+ received: typebox_1.Type.Integer({ minimum: 0 }),
1192
+ })),
1133
1193
  });
1134
1194
  //# sourceMappingURL=protocol.js.map
@@ -25,7 +25,7 @@ export * from "./logger";
25
25
  export * from "./modules";
26
26
  export type { OtelConfig, Span, Tracer } from "./otel";
27
27
  export { createChildSpan, createRootSpan, createSpan, flushTracing, getCurrentSpan, getTraceparent, getTracer, initTracing, runInSpanContext, SpanKind, SpanStatusCode, shutdownTracing, withChildSpan, withSpan, } from "./otel";
28
- export type { ConfigProviderMeta, ProviderConfigEntry, ProviderOAuthConfig, ProviderOAuthGrantKind, } from "./provider-config-types";
28
+ export type { ProviderConfigEntry, ProviderOAuthConfig, ProviderOAuthGrantKind, } from "./provider-config-types";
29
29
  export { isSdkCompat, type PiAiApi, resolveSdkCompat, SDK_COMPAT_PROTOCOLS, type SdkCompat, type SdkCompatProtocol, } from "./sdk-compat";
30
30
  export * from "./secret-refs";
31
31
  export * from "./reserved";
@@ -103,8 +103,6 @@ export interface ProviderConfigEntry {
103
103
  * takes precedence when available, so this only needs to be roughly current.
104
104
  */
105
105
  models?: string[];
106
- /** Override provider name for model registry lookup */
107
- registryAlias?: string;
108
106
  /** Whether to show in "Add Provider" catalog (default: true) */
109
107
  catalogVisible?: boolean;
110
108
  /**
@@ -126,11 +124,4 @@ export interface ProviderConfigEntry {
126
124
  model?: string;
127
125
  };
128
126
  }
129
- /** Metadata passed from gateway to worker for config-driven providers. */
130
- export interface ConfigProviderMeta {
131
- sdkCompat?: SdkCompat;
132
- defaultModel?: string;
133
- registryAlias?: string;
134
- baseUrlEnvVar: string;
135
- }
136
127
  //# sourceMappingURL=provider-config-types.d.ts.map
@@ -17,7 +17,7 @@ export declare function isSystemEntityType(et: {
17
17
  * Owner-level route segments under /$owner/. Entity type slugs and org slugs
18
18
  * must never collide with these.
19
19
  */
20
- export declare const OWNER_ROUTE_SEGMENTS: readonly ["activity", "agents", "connectors", "memory", "members", "settings"];
20
+ export declare const OWNER_ROUTE_SEGMENTS: readonly ["activity", "agents", "connectors", "data", "memory", "members", "settings"];
21
21
  /**
22
22
  * Legacy page slugs removed from the UI router. Bookmarks and previously sent
23
23
  * chat messages can still contain URLs under these segments, so the segments
@@ -31,14 +31,14 @@ export declare const REMOVED_OWNER_SEGMENTS: readonly ["events", "automations",
31
31
  * pages, global prefixes, and infra subdomains that must not be claimed as
32
32
  * org slugs.
33
33
  */
34
- export declare const RESERVED_PATHS: readonly ["activity", "agents", "connectors", "memory", "members", "settings", "events", "automations", "connections", "sources", "environments", "infrastructure", "inference-providers", "devices", "auth", "api", "inbox", "templates", "help", "account", "me", "admin", "health", "login", "logout", "signup", "register", "contents", "entity-types", "www", "mcp", "static", "assets", "cdn", "docs", "mail", "connector", "oauth", "orgs", "slack", "dashboard"];
34
+ export declare const RESERVED_PATHS: readonly ["activity", "agents", "connectors", "data", "memory", "members", "settings", "events", "automations", "connections", "sources", "environments", "infrastructure", "inference-providers", "devices", "auth", "api", "inbox", "templates", "help", "account", "me", "admin", "health", "login", "logout", "signup", "register", "contents", "entity-types", "www", "mcp", "static", "assets", "cdn", "docs", "mail", "connector", "oauth", "orgs", "slack", "dashboard"];
35
35
  export declare const RESERVED_PATHS_SET: ReadonlySet<string>;
36
36
  /**
37
37
  * Slugs users cannot use when *creating* an entity type. Route collisions plus
38
38
  * product words that are not knowledge types. Create-time hygiene only — not
39
39
  * hide/prune policy (that is `$` prefix only).
40
40
  */
41
- export declare const RESERVED_ENTITY_TYPE_SLUGS: readonly ["activity", "agents", "connectors", "memory", "members", "settings", "events", "automations", "connections", "sources", "environments", "infrastructure", "inference-providers", "devices", "entity-types", "recent", "chat", "organization", "user", "automation", "content", "source", "connector"];
41
+ export declare const RESERVED_ENTITY_TYPE_SLUGS: readonly ["activity", "agents", "connectors", "data", "memory", "members", "settings", "events", "automations", "connections", "sources", "environments", "infrastructure", "inference-providers", "devices", "entity-types", "recent", "chat", "-", "organization", "user", "automation", "content", "source", "connector"];
42
42
  /**
43
43
  * Whether a proposed entity-type slug is illegal for user/API create.
44
44
  * `$…` is reserved for platform-named types ($member, $resource).
@@ -13,6 +13,7 @@ exports.isSystemEntityType = isSystemEntityType;
13
13
  exports.isReservedEntityTypeSlug = isReservedEntityTypeSlug;
14
14
  exports.normalizeEntityTypeSlug = normalizeEntityTypeSlug;
15
15
  exports.isReservedConnectorKey = isReservedConnectorKey;
16
+ const view_path_1 = require("./contracts/tools/view-path");
16
17
  // ── Entity type classification ──────────────────────────────────────────────
17
18
  /**
18
19
  * True when a type is platform-owned (hidden from rail, never pruned).
@@ -30,6 +31,8 @@ exports.OWNER_ROUTE_SEGMENTS = [
30
31
  "activity",
31
32
  "agents",
32
33
  "connectors",
34
+ "data",
35
+ // Redirects to /events: stored notification permalinks point here.
33
36
  "memory",
34
37
  "members",
35
38
  "settings",
@@ -119,6 +122,9 @@ exports.RESERVED_ENTITY_TYPE_SLUGS = [
119
122
  "entity-types",
120
123
  "recent",
121
124
  "chat",
125
+ // The web host's view marker (`/<type>/-/views/<key>`): a type stored as `-`
126
+ // would make its own list page parse as a view path.
127
+ view_path_1.VIEW_PATH_MARKER,
122
128
  // Product words that are not knowledge types.
123
129
  "organization",
124
130
  "user",
@@ -132,7 +138,9 @@ exports.RESERVED_ENTITY_TYPE_SLUGS = [
132
138
  * `$…` is reserved for platform-named types ($member, $resource).
133
139
  */
134
140
  function isReservedEntityTypeSlug(slug) {
135
- const s = slug.toLowerCase();
141
+ // Checked in its STORED form: create rewrites `!` to `-` and `entity_types`
142
+ // to `entity-types`, so checking the raw input let those through.
143
+ const s = normalizeEntityTypeSlug(slug);
136
144
  if (s.startsWith("$"))
137
145
  return true;
138
146
  return exports.RESERVED_ENTITY_TYPE_SLUGS.includes(s);
@@ -36,7 +36,7 @@ export interface SdkCompatProtocol {
36
36
  /**
37
37
  * Model-registry provider name a dynamic model maps to. Providers speaking
38
38
  * the same protocol share a registry alias (e.g. all OpenAI-compatible ones
39
- * resolve as "openai") unless a provider overrides it via `registryAlias`.
39
+ * resolve as "openai").
40
40
  */
41
41
  registryAlias: string;
42
42
  /**
@@ -111,6 +111,8 @@ function redactUriCredentials(value) {
111
111
  * non-denylisted key.
112
112
  */
113
113
  function deepRedactSecrets(value) {
114
+ if (value instanceof Date)
115
+ return value.toISOString();
114
116
  if (Array.isArray(value))
115
117
  return value.map(deepRedactSecrets);
116
118
  if (value && typeof value === "object") {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobu/core",
3
- "version": "20.2.0",
3
+ "version": "21.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Core types and utilities for Lobu agent platform",
6
6
  "repository": {
@@ -56,6 +56,11 @@
56
56
  "import": "./dist/errors.js",
57
57
  "require": "./dist/errors.js"
58
58
  },
59
+ "./connector-query-errors": {
60
+ "types": "./dist/connector-query-errors.d.ts",
61
+ "import": "./dist/connector-query-errors.js",
62
+ "require": "./dist/connector-query-errors.js"
63
+ },
59
64
  "./ajv": {
60
65
  "types": "./dist/utils/ajv.d.ts",
61
66
  "import": "./dist/utils/ajv.js",
@@ -121,10 +126,15 @@
121
126
  "import": "./dist/contracts/tools/manage-schedules.js",
122
127
  "require": "./dist/contracts/tools/manage-schedules.js"
123
128
  },
124
- "./contracts/tools/manage-view-templates": {
125
- "types": "./dist/contracts/tools/manage-view-templates.d.ts",
126
- "import": "./dist/contracts/tools/manage-view-templates.js",
127
- "require": "./dist/contracts/tools/manage-view-templates.js"
129
+ "./contracts/tools/manage-views": {
130
+ "types": "./dist/contracts/tools/manage-views.d.ts",
131
+ "import": "./dist/contracts/tools/manage-views.js",
132
+ "require": "./dist/contracts/tools/manage-views.js"
133
+ },
134
+ "./contracts/tools/view-content-hash": {
135
+ "types": "./dist/contracts/tools/view-content-hash.d.ts",
136
+ "import": "./dist/contracts/tools/view-content-hash.js",
137
+ "require": "./dist/contracts/tools/view-content-hash.js"
128
138
  },
129
139
  "./contracts/tools/manage-auth-profiles": {
130
140
  "types": "./dist/contracts/tools/manage-auth-profiles.d.ts",
@@ -195,6 +205,21 @@
195
205
  "types": "./dist/agent-tooling.d.ts",
196
206
  "import": "./dist/agent-tooling.js",
197
207
  "require": "./dist/agent-tooling.js"
208
+ },
209
+ "./contracts/tools/view-attach": {
210
+ "types": "./dist/contracts/tools/view-attach.d.ts",
211
+ "import": "./dist/contracts/tools/view-attach.js",
212
+ "require": "./dist/contracts/tools/view-attach.js"
213
+ },
214
+ "./contracts/tools/view-path": {
215
+ "types": "./dist/contracts/tools/view-path.d.ts",
216
+ "import": "./dist/contracts/tools/view-path.js",
217
+ "require": "./dist/contracts/tools/view-path.js"
218
+ },
219
+ "./contracts/tools/source-files": {
220
+ "types": "./dist/contracts/tools/source-files.d.ts",
221
+ "import": "./dist/contracts/tools/source-files.js",
222
+ "require": "./dist/contracts/tools/source-files.js"
198
223
  }
199
224
  },
200
225
  "dependencies": {