@sixb/core 0.2.4 → 0.2.5

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 (562) hide show
  1. package/dist/actions/index.js +28 -28
  2. package/dist/agents/execution.d.ts +34 -2
  3. package/dist/agents/execution.d.ts.map +1 -1
  4. package/dist/agents/ids.d.ts +2 -0
  5. package/dist/agents/ids.d.ts.map +1 -1
  6. package/dist/agents/index.d.ts +6 -4
  7. package/dist/agents/index.d.ts.map +1 -1
  8. package/dist/agents/index.js +51 -33
  9. package/dist/agents/index.js.map +1 -1
  10. package/dist/agents/queued-turn.d.ts +16 -0
  11. package/dist/agents/queued-turn.d.ts.map +1 -0
  12. package/dist/agents/request.d.ts +79 -1
  13. package/dist/agents/request.d.ts.map +1 -1
  14. package/dist/agents/run-after-finish.d.ts +10 -0
  15. package/dist/agents/run-after-finish.d.ts.map +1 -1
  16. package/dist/agents/run-artifacts.d.ts +0 -38
  17. package/dist/agents/run-artifacts.d.ts.map +1 -1
  18. package/dist/agents/run-events.d.ts +6 -1
  19. package/dist/agents/run-events.d.ts.map +1 -1
  20. package/dist/agents/run-session-http.d.ts.map +1 -1
  21. package/dist/agents/run-session-serve.d.ts.map +1 -1
  22. package/dist/agents/run-session.d.ts +14 -1
  23. package/dist/agents/run-session.d.ts.map +1 -1
  24. package/dist/agents/run-turn.d.ts.map +1 -1
  25. package/dist/agents/streams/index.d.ts +1 -1
  26. package/dist/agents/streams/index.d.ts.map +1 -1
  27. package/dist/agents/streams/index.js +1 -1
  28. package/dist/agents/streams/internal.js +1 -1
  29. package/dist/agents/streams/protocol.d.ts +16 -0
  30. package/dist/agents/streams/protocol.d.ts.map +1 -1
  31. package/dist/agents/turn-answered.d.ts +7 -0
  32. package/dist/agents/turn-answered.d.ts.map +1 -0
  33. package/dist/agents/validation.d.ts +1 -1
  34. package/dist/agents/validation.d.ts.map +1 -1
  35. package/dist/artifacts/canvas-display.d.ts +3 -5
  36. package/dist/artifacts/canvas-display.d.ts.map +1 -1
  37. package/dist/artifacts/comments.d.ts +14 -3
  38. package/dist/artifacts/comments.d.ts.map +1 -1
  39. package/dist/artifacts/document-fill.d.ts +18 -0
  40. package/dist/artifacts/document-fill.d.ts.map +1 -0
  41. package/dist/artifacts/errors.d.ts +1 -1
  42. package/dist/artifacts/errors.d.ts.map +1 -1
  43. package/dist/artifacts/events.d.ts +3 -2
  44. package/dist/artifacts/events.d.ts.map +1 -1
  45. package/dist/artifacts/execution.d.ts +40 -4
  46. package/dist/artifacts/execution.d.ts.map +1 -1
  47. package/dist/artifacts/frames/assets.d.ts +8 -1
  48. package/dist/artifacts/frames/assets.d.ts.map +1 -1
  49. package/dist/artifacts/frames/document-data.d.ts +98 -0
  50. package/dist/artifacts/frames/document-data.d.ts.map +1 -0
  51. package/dist/artifacts/frames/entries.d.ts +12 -7
  52. package/dist/artifacts/frames/entries.d.ts.map +1 -1
  53. package/dist/artifacts/frames/index.d.ts +2 -1
  54. package/dist/artifacts/frames/index.d.ts.map +1 -1
  55. package/dist/artifacts/frames/index.js +22 -13
  56. package/dist/artifacts/frames/index.js.map +4 -4
  57. package/dist/artifacts/frames/kit.d.ts +15 -0
  58. package/dist/artifacts/frames/kit.d.ts.map +1 -1
  59. package/dist/artifacts/frames/protocol.d.ts +12 -1
  60. package/dist/artifacts/frames/protocol.d.ts.map +1 -1
  61. package/dist/artifacts/frames/runtime.d.ts +24 -4
  62. package/dist/artifacts/frames/runtime.d.ts.map +1 -1
  63. package/dist/artifacts/index.d.ts +3 -1
  64. package/dist/artifacts/index.d.ts.map +1 -1
  65. package/dist/artifacts/index.js +9 -3
  66. package/dist/artifacts/index.js.map +3 -3
  67. package/dist/artifacts/live/blocks.d.ts +62 -0
  68. package/dist/artifacts/live/blocks.d.ts.map +1 -0
  69. package/dist/artifacts/live/board.d.ts +6 -0
  70. package/dist/artifacts/live/board.d.ts.map +1 -1
  71. package/dist/artifacts/live/document.d.ts +12 -0
  72. package/dist/artifacts/live/document.d.ts.map +1 -1
  73. package/dist/artifacts/live/index.d.ts +2 -0
  74. package/dist/artifacts/live/index.d.ts.map +1 -1
  75. package/dist/artifacts/live/index.js +148 -44
  76. package/dist/artifacts/live/index.js.map +3 -3
  77. package/dist/artifacts/live/page.d.ts +49 -0
  78. package/dist/artifacts/live/page.d.ts.map +1 -0
  79. package/dist/artifacts/live/protocol.d.ts +5 -0
  80. package/dist/artifacts/live/protocol.d.ts.map +1 -1
  81. package/dist/artifacts/live/server.d.ts +2 -2
  82. package/dist/artifacts/live/server.d.ts.map +1 -1
  83. package/dist/artifacts/live/server.js +23 -19
  84. package/dist/artifacts/live/server.js.map +1 -1
  85. package/dist/artifacts/live/state.d.ts +4 -1
  86. package/dist/artifacts/live/state.d.ts.map +1 -1
  87. package/dist/artifacts/outline.d.ts +16 -0
  88. package/dist/artifacts/outline.d.ts.map +1 -1
  89. package/dist/artifacts/paper.d.ts +22 -0
  90. package/dist/artifacts/paper.d.ts.map +1 -0
  91. package/dist/artifacts/pdf-job.d.ts +9 -0
  92. package/dist/artifacts/pdf-job.d.ts.map +1 -0
  93. package/dist/artifacts/publish/fields.d.ts +25 -0
  94. package/dist/artifacts/publish/fields.d.ts.map +1 -0
  95. package/dist/artifacts/publish/index.d.ts +2 -1
  96. package/dist/artifacts/publish/index.d.ts.map +1 -1
  97. package/dist/artifacts/publish/index.js +26 -18
  98. package/dist/artifacts/publish/index.js.map +1 -1
  99. package/dist/artifacts/publish/merge.d.ts +5 -5
  100. package/dist/artifacts/publish/merge.d.ts.map +1 -1
  101. package/dist/artifacts/publish/pdf.d.ts +28 -0
  102. package/dist/artifacts/publish/pdf.d.ts.map +1 -0
  103. package/dist/artifacts/publish/previews.d.ts +12 -20
  104. package/dist/artifacts/publish/previews.d.ts.map +1 -1
  105. package/dist/artifacts/publish/publish.d.ts.map +1 -1
  106. package/dist/artifacts/publish/queries.d.ts +6 -1
  107. package/dist/artifacts/publish/queries.d.ts.map +1 -1
  108. package/dist/artifacts/publish/query-answers.d.ts +5 -2
  109. package/dist/artifacts/publish/query-answers.d.ts.map +1 -1
  110. package/dist/artifacts/publish/validate/document-html.d.ts +24 -0
  111. package/dist/artifacts/publish/validate/document-html.d.ts.map +1 -0
  112. package/dist/artifacts/publish/validate/document.d.ts +5 -3
  113. package/dist/artifacts/publish/validate/document.d.ts.map +1 -1
  114. package/dist/artifacts/queries.d.ts +16 -2
  115. package/dist/artifacts/queries.d.ts.map +1 -1
  116. package/dist/auth/index.js +2 -2
  117. package/dist/authorization/event-visibility.d.ts.map +1 -1
  118. package/dist/authorization/index.js +1 -1
  119. package/dist/blob-storage/index.js +1 -1
  120. package/dist/bootstrap/index.js +38 -38
  121. package/dist/{chunk-8bns0y68.js → chunk-0hkdtwqk.js} +5 -5
  122. package/dist/{chunk-p8pgnq8d.js → chunk-0mvjpgvm.js} +5 -5
  123. package/dist/{chunk-2bn6813a.js → chunk-1yh6jgtz.js} +1 -1
  124. package/dist/{chunk-msyevpp3.js → chunk-5t9gm5tt.js} +4 -4
  125. package/dist/{chunk-a6fjkcne.js → chunk-60662fyv.js} +54 -28
  126. package/dist/{chunk-a6fjkcne.js.map → chunk-60662fyv.js.map} +7 -6
  127. package/dist/{chunk-e0hnbb1m.js → chunk-61zptves.js} +1 -1
  128. package/dist/{chunk-td26wjr5.js → chunk-68hm50qh.js} +3 -3
  129. package/dist/{chunk-9nsjjd44.js → chunk-8tv3qd65.js} +2 -1
  130. package/dist/chunk-8tv3qd65.js.map +12 -0
  131. package/dist/{chunk-fe6r7yhg.js → chunk-92wrka15.js} +1 -1
  132. package/dist/{chunk-3z1vxzcm.js → chunk-aw1z0gre.js} +4 -4
  133. package/dist/{chunk-evj5jxz3.js → chunk-b4escq4c.js} +62 -14
  134. package/dist/{chunk-evj5jxz3.js.map → chunk-b4escq4c.js.map} +7 -7
  135. package/dist/chunk-bqr703h4.js +1799 -0
  136. package/dist/chunk-bqr703h4.js.map +13 -0
  137. package/dist/{chunk-eptrvnby.js → chunk-c29729me.js} +42 -3
  138. package/dist/chunk-c29729me.js.map +12 -0
  139. package/dist/{chunk-t24yktqr.js → chunk-dvgc56n2.js} +20 -4
  140. package/dist/{chunk-t24yktqr.js.map → chunk-dvgc56n2.js.map} +5 -5
  141. package/dist/{chunk-3014rfjz.js → chunk-ewqn51gr.js} +25 -7
  142. package/dist/{chunk-3014rfjz.js.map → chunk-ewqn51gr.js.map} +3 -3
  143. package/dist/{chunk-t0s7b3d1.js → chunk-ey1p8w68.js} +173 -4
  144. package/dist/chunk-ey1p8w68.js.map +13 -0
  145. package/dist/{chunk-gxwy4c3s.js → chunk-fpf57gca.js} +316 -57
  146. package/dist/chunk-fpf57gca.js.map +47 -0
  147. package/dist/{chunk-r9rtavg9.js → chunk-fzae1jpq.js} +7 -7
  148. package/dist/{chunk-b9qfh2ya.js → chunk-fzbhybya.js} +29 -2
  149. package/dist/chunk-fzbhybya.js.map +11 -0
  150. package/dist/{chunk-w1wq7gfr.js → chunk-gjhrz66x.js} +225 -17
  151. package/dist/{chunk-w1wq7gfr.js.map → chunk-gjhrz66x.js.map} +5 -5
  152. package/dist/chunk-hn2r7z41.js.map +1 -1
  153. package/dist/{chunk-vepea5c3.js → chunk-k29n4176.js} +6 -6
  154. package/dist/{chunk-48c1z8nj.js → chunk-k3jh8gsg.js} +10 -2
  155. package/dist/chunk-k3jh8gsg.js.map +10 -0
  156. package/dist/{chunk-yy914zfr.js → chunk-m3qx2pns.js} +751 -93
  157. package/dist/chunk-m3qx2pns.js.map +34 -0
  158. package/dist/{chunk-smnt672s.js → chunk-m9ketb51.js} +20 -4
  159. package/dist/chunk-m9ketb51.js.map +10 -0
  160. package/dist/chunk-mbwsgjn7.js +40 -0
  161. package/dist/chunk-mbwsgjn7.js.map +11 -0
  162. package/dist/{chunk-sysnvjce.js → chunk-naxjka9v.js} +2 -2
  163. package/dist/{chunk-n4zzaf6q.js → chunk-nxysqbt0.js} +4 -2
  164. package/dist/chunk-nxysqbt0.js.map +10 -0
  165. package/dist/{chunk-vzkxqf8h.js → chunk-paxabbqd.js} +49 -5
  166. package/dist/chunk-paxabbqd.js.map +23 -0
  167. package/dist/{chunk-8tqnsx3q.js → chunk-pc7kra3k.js} +5 -3
  168. package/dist/{chunk-8tqnsx3q.js.map → chunk-pc7kra3k.js.map} +3 -3
  169. package/dist/{chunk-6ef4esq4.js → chunk-pqvvqc65.js} +4 -4
  170. package/dist/chunk-pvpq483h.js.map +2 -2
  171. package/dist/{chunk-mzx71snp.js → chunk-q7g9cqwt.js} +7 -2
  172. package/dist/{chunk-mzx71snp.js.map → chunk-q7g9cqwt.js.map} +3 -3
  173. package/dist/{chunk-8t2ynwg0.js → chunk-q8d9p0tb.js} +24 -1
  174. package/dist/{chunk-8t2ynwg0.js.map → chunk-q8d9p0tb.js.map} +3 -3
  175. package/dist/{chunk-wa05txmk.js → chunk-qavwr628.js} +49 -5
  176. package/dist/chunk-qavwr628.js.map +12 -0
  177. package/dist/{chunk-rsrc7vtw.js → chunk-rg725hry.js} +174 -30
  178. package/dist/{chunk-rsrc7vtw.js.map → chunk-rg725hry.js.map} +9 -8
  179. package/dist/{chunk-rsxb14an.js → chunk-s1mqyqmm.js} +3 -3
  180. package/dist/{chunk-p351afzm.js → chunk-s5pj68fa.js} +2 -2
  181. package/dist/{chunk-855w9nvw.js → chunk-vehcr9eb.js} +1 -1
  182. package/dist/{chunk-hvbvq7p4.js → chunk-vs2s3p8n.js} +731 -10
  183. package/dist/chunk-vs2s3p8n.js.map +20 -0
  184. package/dist/chunk-vtjzwymr.js.map +2 -2
  185. package/dist/{chunk-n68vz95m.js → chunk-wqe9shx2.js} +1 -1
  186. package/dist/{chunk-0k3r5kb3.js → chunk-xcrnrpfh.js} +1 -1
  187. package/dist/{chunk-cwdzcv37.js → chunk-xrmbhap8.js} +2 -2
  188. package/dist/{chunk-cwdzcv37.js.map → chunk-xrmbhap8.js.map} +2 -2
  189. package/dist/{chunk-f6ahf5gf.js → chunk-xxfj0rr2.js} +20 -5
  190. package/dist/chunk-xxfj0rr2.js.map +13 -0
  191. package/dist/{chunk-3hzhcfsv.js → chunk-y8fwm3z2.js} +2 -2
  192. package/dist/{chunk-3hzhcfsv.js.map → chunk-y8fwm3z2.js.map} +3 -3
  193. package/dist/{chunk-rtm1jq00.js → chunk-z1njfqqs.js} +439 -48
  194. package/dist/{chunk-rtm1jq00.js.map → chunk-z1njfqqs.js.map} +10 -8
  195. package/dist/{chunk-yv8hv4wq.js → chunk-z4jqb44a.js} +3 -1
  196. package/dist/chunk-z4jqb44a.js.map +10 -0
  197. package/dist/{chunk-s7xqfxs9.js → chunk-zft9bzbc.js} +2 -1
  198. package/dist/{chunk-s7xqfxs9.js.map → chunk-zft9bzbc.js.map} +3 -3
  199. package/dist/{chunk-7kpqntgw.js → chunk-zxhym8tr.js} +1 -1
  200. package/dist/connectors/connection-handles.d.ts +9 -0
  201. package/dist/connectors/connection-handles.d.ts.map +1 -0
  202. package/dist/connectors/connections/authorizations.d.ts +9 -0
  203. package/dist/connectors/connections/authorizations.d.ts.map +1 -1
  204. package/dist/connectors/connections/events.d.ts +17 -0
  205. package/dist/connectors/connections/events.d.ts.map +1 -0
  206. package/dist/connectors/connections/runs.d.ts +3 -0
  207. package/dist/connectors/connections/runs.d.ts.map +1 -1
  208. package/dist/connectors/connections/service.d.ts +4 -0
  209. package/dist/connectors/connections/service.d.ts.map +1 -1
  210. package/dist/connectors/execution.d.ts +7 -1
  211. package/dist/connectors/execution.d.ts.map +1 -1
  212. package/dist/connectors/index.d.ts +1 -1
  213. package/dist/connectors/index.d.ts.map +1 -1
  214. package/dist/connectors/types.d.ts +22 -1
  215. package/dist/connectors/types.d.ts.map +1 -1
  216. package/dist/datasets/write.js +1 -1
  217. package/dist/deploy/index.d.ts +1 -1
  218. package/dist/deploy/index.d.ts.map +1 -1
  219. package/dist/deploy/internal.js +3 -2
  220. package/dist/deploy/internal.js.map +3 -3
  221. package/dist/deploy/services.d.ts.map +1 -1
  222. package/dist/deploy/types.d.ts +18 -1
  223. package/dist/deploy/types.d.ts.map +1 -1
  224. package/dist/events/definitions.d.ts +4 -0
  225. package/dist/events/definitions.d.ts.map +1 -1
  226. package/dist/events/execution.d.ts.map +1 -1
  227. package/dist/events/index.d.ts +2 -2
  228. package/dist/events/index.d.ts.map +1 -1
  229. package/dist/events/index.js +3 -3
  230. package/dist/events/outbox-dispatcher.d.ts +7 -0
  231. package/dist/events/outbox-dispatcher.d.ts.map +1 -1
  232. package/dist/events/scope.d.ts +1 -0
  233. package/dist/events/scope.d.ts.map +1 -1
  234. package/dist/events/scope.js +1 -1
  235. package/dist/events/selectors/builder.d.ts +9 -1
  236. package/dist/events/selectors/builder.d.ts.map +1 -1
  237. package/dist/events/selectors/index.d.ts +2 -2
  238. package/dist/events/selectors/index.d.ts.map +1 -1
  239. package/dist/events/selectors/index.js +2 -2
  240. package/dist/events/selectors/predicate.d.ts.map +1 -1
  241. package/dist/events/selectors/types.d.ts +18 -3
  242. package/dist/events/selectors/types.d.ts.map +1 -1
  243. package/dist/events/types/artifacts.d.ts +7 -1
  244. package/dist/events/types/artifacts.d.ts.map +1 -1
  245. package/dist/events/types/connectors.d.ts +32 -0
  246. package/dist/events/types/connectors.d.ts.map +1 -0
  247. package/dist/events/types/index.d.ts +3 -1
  248. package/dist/events/types/index.d.ts.map +1 -1
  249. package/dist/execution/agent.js +28 -28
  250. package/dist/execution/authorization.d.ts +5 -0
  251. package/dist/execution/authorization.d.ts.map +1 -1
  252. package/dist/execution/primitive.js +28 -28
  253. package/dist/execution/request.js +29 -29
  254. package/dist/execution/scopes.d.ts +8 -0
  255. package/dist/execution/scopes.d.ts.map +1 -1
  256. package/dist/execution/script.d.ts +7 -0
  257. package/dist/execution/script.d.ts.map +1 -0
  258. package/dist/execution/types.d.ts +16 -1
  259. package/dist/execution/types.d.ts.map +1 -1
  260. package/dist/http/api-routes.d.ts.map +1 -1
  261. package/dist/http/index.js +1 -1
  262. package/dist/index.d.ts +9 -8
  263. package/dist/index.d.ts.map +1 -1
  264. package/dist/index.js +46 -44
  265. package/dist/index.js.map +1 -1
  266. package/dist/lake-storage/index.js +1 -1
  267. package/dist/lineage/executors.d.ts +1 -1
  268. package/dist/lineage/executors.d.ts.map +1 -1
  269. package/dist/maintenance/index.js +1 -1
  270. package/dist/materialization/event-envelopes.d.ts +3 -3
  271. package/dist/materialization/event-envelopes.d.ts.map +1 -1
  272. package/dist/materialization/events.d.ts +6 -0
  273. package/dist/materialization/events.d.ts.map +1 -1
  274. package/dist/materialization/index.js +1 -1
  275. package/dist/materialization/model.d.ts +6 -0
  276. package/dist/materialization/model.d.ts.map +1 -1
  277. package/dist/materializer/index.js +13 -13
  278. package/dist/materializer/projections/replace.d.ts.map +1 -1
  279. package/dist/materializer/projections/replacement-plan.d.ts +2 -0
  280. package/dist/materializer/projections/replacement-plan.d.ts.map +1 -1
  281. package/dist/materializer/shared/normalize.d.ts +1 -0
  282. package/dist/materializer/shared/normalize.d.ts.map +1 -1
  283. package/dist/models/execution/index.js +12 -12
  284. package/dist/objects/index.js +28 -28
  285. package/dist/objects/query/index.js +12 -12
  286. package/dist/pipelines/index.js +18 -18
  287. package/dist/projections/builders.d.ts +7 -1
  288. package/dist/projections/builders.d.ts.map +1 -1
  289. package/dist/projections/index.d.ts +1 -1
  290. package/dist/projections/index.d.ts.map +1 -1
  291. package/dist/projections/internal.js +13 -13
  292. package/dist/projections/types.d.ts +10 -0
  293. package/dist/projections/types.d.ts.map +1 -1
  294. package/dist/projections/validation.d.ts.map +1 -1
  295. package/dist/queues/in-memory.d.ts +2 -1
  296. package/dist/queues/in-memory.d.ts.map +1 -1
  297. package/dist/queues/index.d.ts +1 -1
  298. package/dist/queues/index.d.ts.map +1 -1
  299. package/dist/queues/index.js +1 -1
  300. package/dist/queues/types.d.ts +40 -13
  301. package/dist/queues/types.d.ts.map +1 -1
  302. package/dist/runtime/host.d.ts +13 -0
  303. package/dist/runtime/host.d.ts.map +1 -1
  304. package/dist/runtime/internal.d.ts +1 -0
  305. package/dist/runtime/internal.d.ts.map +1 -1
  306. package/dist/runtime/internal.js +39 -18
  307. package/dist/runtime/internal.js.map +4 -3
  308. package/dist/runtime/resolve-definitions.d.ts +1 -1
  309. package/dist/runtime/resolve-definitions.d.ts.map +1 -1
  310. package/dist/runtime/script.d.ts +39 -0
  311. package/dist/runtime/script.d.ts.map +1 -0
  312. package/dist/runtime/sixb.d.ts +2 -2
  313. package/dist/runtime/sixb.d.ts.map +1 -1
  314. package/dist/schedules/builders.d.ts.map +1 -1
  315. package/dist/schedules/index.js +3 -3
  316. package/dist/schedules/runtime.d.ts.map +1 -1
  317. package/dist/schedules/validation.d.ts +2 -0
  318. package/dist/schedules/validation.d.ts.map +1 -1
  319. package/dist/shares/internal.js +12 -12
  320. package/dist/storage/agents/errors.d.ts +1 -1
  321. package/dist/storage/agents/errors.d.ts.map +1 -1
  322. package/dist/storage/agents/in-memory.d.ts +26 -1
  323. package/dist/storage/agents/in-memory.d.ts.map +1 -1
  324. package/dist/storage/agents/index.d.ts +2 -2
  325. package/dist/storage/agents/index.d.ts.map +1 -1
  326. package/dist/storage/agents/provider.d.ts +12 -3
  327. package/dist/storage/agents/provider.d.ts.map +1 -1
  328. package/dist/storage/agents/provider.js +25 -5
  329. package/dist/storage/agents/provider.js.map +1 -1
  330. package/dist/storage/agents/types.d.ts +155 -0
  331. package/dist/storage/agents/types.d.ts.map +1 -1
  332. package/dist/storage/artifacts/in-memory.d.ts +7 -1
  333. package/dist/storage/artifacts/in-memory.d.ts.map +1 -1
  334. package/dist/storage/artifacts/index.d.ts +1 -1
  335. package/dist/storage/artifacts/index.d.ts.map +1 -1
  336. package/dist/storage/artifacts/record.d.ts +2 -1
  337. package/dist/storage/artifacts/record.d.ts.map +1 -1
  338. package/dist/storage/artifacts/types.d.ts +34 -0
  339. package/dist/storage/artifacts/types.d.ts.map +1 -1
  340. package/dist/storage/executions/provider.d.ts +3 -3
  341. package/dist/storage/executions/provider.d.ts.map +1 -1
  342. package/dist/storage/executions/provider.js +1 -1
  343. package/dist/storage/executions/types.d.ts +6 -0
  344. package/dist/storage/executions/types.d.ts.map +1 -1
  345. package/dist/storage/executions/validation.d.ts.map +1 -1
  346. package/dist/storage/file-upload-sessions/provider.js +3 -3
  347. package/dist/storage/index.d.ts +3 -3
  348. package/dist/storage/index.d.ts.map +1 -1
  349. package/dist/storage/index.js +18 -14
  350. package/dist/storage/index.js.map +1 -1
  351. package/dist/storage/internal.d.ts +1 -1
  352. package/dist/storage/internal.d.ts.map +1 -1
  353. package/dist/storage/internal.js +8 -6
  354. package/dist/storage/internal.js.map +2 -2
  355. package/dist/storage/ontology/in-memory/replacement-plans.d.ts +2 -0
  356. package/dist/storage/ontology/in-memory/replacement-plans.d.ts.map +1 -1
  357. package/dist/storage/ontology/provider.js +1 -1
  358. package/dist/storage/ontology/replacement-plans.d.ts +8 -0
  359. package/dist/storage/ontology/replacement-plans.d.ts.map +1 -1
  360. package/dist/storage/operation-scope.d.ts.map +1 -1
  361. package/dist/storage/operation-scope.js +1 -1
  362. package/dist/storage/workflow-runs/provider.js +3 -3
  363. package/dist/syncs/index.js +19 -19
  364. package/dist/testing/agent-execution.d.ts +3 -0
  365. package/dist/testing/agent-execution.d.ts.map +1 -1
  366. package/dist/testing/agent-inbox-storage-contract.d.ts +15 -0
  367. package/dist/testing/agent-inbox-storage-contract.d.ts.map +1 -0
  368. package/dist/testing/agent-storage-contract.d.ts.map +1 -1
  369. package/dist/testing/artifact-storage-contract.d.ts.map +1 -1
  370. package/dist/testing/execution-storage-contract.d.ts.map +1 -1
  371. package/dist/testing/index.d.ts +1 -0
  372. package/dist/testing/index.d.ts.map +1 -1
  373. package/dist/testing/index.js +5524 -4555
  374. package/dist/testing/index.js.map +10 -9
  375. package/dist/testing/materializer-storage-contract.d.ts.map +1 -1
  376. package/dist/testing/queues-contract.d.ts.map +1 -1
  377. package/dist/webhooks/connections.d.ts +3 -4
  378. package/dist/webhooks/connections.d.ts.map +1 -1
  379. package/dist/webhooks/index.d.ts +1 -1
  380. package/dist/webhooks/index.d.ts.map +1 -1
  381. package/dist/webhooks/internal.js +16 -49
  382. package/dist/webhooks/internal.js.map +3 -3
  383. package/dist/webhooks/types.d.ts +2 -11
  384. package/dist/webhooks/types.d.ts.map +1 -1
  385. package/dist/workers/queued-run-dispatch.d.ts.map +1 -1
  386. package/dist/workflows/index.js +35 -35
  387. package/package.json +6 -1
  388. package/src/agents/README.md +6 -2
  389. package/src/agents/execution.ts +167 -29
  390. package/src/agents/ids.ts +5 -0
  391. package/src/agents/index.ts +18 -4
  392. package/src/agents/queued-turn.ts +46 -0
  393. package/src/agents/request.ts +517 -2
  394. package/src/agents/run-after-finish.ts +259 -2
  395. package/src/agents/run-artifacts.ts +3 -93
  396. package/src/agents/run-events.ts +26 -1
  397. package/src/agents/run-session-http.ts +9 -2
  398. package/src/agents/run-session-serve.ts +2 -8
  399. package/src/agents/run-session.ts +142 -3
  400. package/src/agents/run-turn.ts +8 -0
  401. package/src/agents/streams/index.ts +1 -0
  402. package/src/agents/streams/protocol.ts +41 -1
  403. package/src/agents/turn-answered.ts +31 -0
  404. package/src/agents/validation.ts +2 -0
  405. package/src/artifacts/canvas-display.ts +4 -6
  406. package/src/artifacts/comments.ts +70 -17
  407. package/src/artifacts/document-fill.ts +103 -0
  408. package/src/artifacts/errors.ts +2 -0
  409. package/src/artifacts/events.ts +4 -1
  410. package/src/artifacts/execution.ts +265 -31
  411. package/src/artifacts/frames/assets.ts +42 -7
  412. package/src/artifacts/frames/document-data.ts +353 -0
  413. package/src/artifacts/frames/entries.ts +22 -16
  414. package/src/artifacts/frames/grants.ts +2 -2
  415. package/src/artifacts/frames/index.ts +3 -0
  416. package/src/artifacts/frames/kit.ts +102 -0
  417. package/src/artifacts/frames/protocol.ts +12 -1
  418. package/src/artifacts/frames/runtime.ts +413 -6
  419. package/src/artifacts/index.ts +3 -0
  420. package/src/artifacts/live/blocks.ts +889 -0
  421. package/src/artifacts/live/board.ts +195 -42
  422. package/src/artifacts/live/document.ts +170 -5
  423. package/src/artifacts/live/index.ts +7 -0
  424. package/src/artifacts/live/page.ts +807 -0
  425. package/src/artifacts/live/protocol.ts +5 -0
  426. package/src/artifacts/live/server.ts +2 -2
  427. package/src/artifacts/live/state.ts +9 -4
  428. package/src/artifacts/outline.ts +17 -0
  429. package/src/artifacts/paper.ts +173 -0
  430. package/src/artifacts/pdf-job.ts +11 -0
  431. package/src/artifacts/publish/fields.ts +177 -0
  432. package/src/artifacts/publish/index.ts +6 -1
  433. package/src/artifacts/publish/merge.ts +14 -12
  434. package/src/artifacts/publish/pdf.ts +82 -0
  435. package/src/artifacts/publish/previews.ts +24 -34
  436. package/src/artifacts/publish/publish.ts +26 -3
  437. package/src/artifacts/publish/queries.ts +20 -4
  438. package/src/artifacts/publish/query-answers.ts +14 -3
  439. package/src/artifacts/publish/validate/document-html.ts +245 -0
  440. package/src/artifacts/publish/validate/document.ts +34 -3
  441. package/src/artifacts/queries.ts +59 -13
  442. package/src/authorization/event-visibility.ts +13 -0
  443. package/src/connectors/connection-handles.ts +71 -0
  444. package/src/connectors/connections/authorizations.ts +50 -2
  445. package/src/connectors/connections/events.ts +57 -0
  446. package/src/connectors/connections/runs.ts +5 -0
  447. package/src/connectors/connections/service.ts +19 -1
  448. package/src/connectors/execution.ts +30 -2
  449. package/src/connectors/index.ts +3 -0
  450. package/src/connectors/types.ts +29 -1
  451. package/src/deploy/index.ts +1 -0
  452. package/src/deploy/services.ts +1 -0
  453. package/src/deploy/types.ts +26 -1
  454. package/src/events/definitions.ts +14 -0
  455. package/src/events/execution.ts +9 -2
  456. package/src/events/index.ts +8 -0
  457. package/src/events/outbox-dispatcher.ts +12 -2
  458. package/src/events/scope.ts +3 -0
  459. package/src/events/selectors/builder.ts +49 -0
  460. package/src/events/selectors/index.ts +5 -0
  461. package/src/events/selectors/predicate.ts +2 -0
  462. package/src/events/selectors/types.ts +30 -1
  463. package/src/events/types/artifacts.ts +7 -1
  464. package/src/events/types/connectors.ts +36 -0
  465. package/src/events/types/index.ts +7 -0
  466. package/src/execution/authorization.ts +45 -0
  467. package/src/execution/durable.ts +2 -0
  468. package/src/execution/scopes.ts +24 -0
  469. package/src/execution/script.ts +27 -0
  470. package/src/execution/types.ts +7 -1
  471. package/src/http/api-routes.ts +25 -0
  472. package/src/index.ts +21 -2
  473. package/src/lineage/executors.ts +3 -1
  474. package/src/materialization/event-envelopes.ts +10 -5
  475. package/src/materialization/events.ts +2 -0
  476. package/src/materialization/model.ts +6 -0
  477. package/src/materializer/README.md +10 -0
  478. package/src/materializer/projections/replace.ts +42 -1
  479. package/src/materializer/projections/replacement-plan.ts +44 -4
  480. package/src/materializer/shared/normalize.ts +4 -0
  481. package/src/projections/builders.ts +20 -0
  482. package/src/projections/index.ts +1 -0
  483. package/src/projections/registry.ts +1 -0
  484. package/src/projections/revision.ts +2 -0
  485. package/src/projections/types.ts +11 -0
  486. package/src/projections/validation.ts +6 -0
  487. package/src/queues/in-memory.ts +5 -0
  488. package/src/queues/index.ts +3 -1
  489. package/src/queues/types.ts +45 -14
  490. package/src/runtime/host.ts +112 -4
  491. package/src/runtime/internal.ts +1 -0
  492. package/src/runtime/resolve-definitions.ts +4 -1
  493. package/src/runtime/script.ts +62 -0
  494. package/src/runtime/sixb.ts +3 -3
  495. package/src/schedules/builders.ts +4 -1
  496. package/src/schedules/runtime.ts +3 -0
  497. package/src/schedules/validation.ts +20 -2
  498. package/src/storage/agents/errors.ts +1 -0
  499. package/src/storage/agents/in-memory.ts +229 -1
  500. package/src/storage/agents/index.ts +16 -0
  501. package/src/storage/agents/provider.ts +284 -2
  502. package/src/storage/agents/types.ts +167 -0
  503. package/src/storage/artifacts/in-memory.ts +32 -1
  504. package/src/storage/artifacts/index.ts +2 -0
  505. package/src/storage/artifacts/record.ts +25 -2
  506. package/src/storage/artifacts/types.ts +37 -0
  507. package/src/storage/executions/provider.ts +22 -2
  508. package/src/storage/executions/types.ts +2 -0
  509. package/src/storage/executions/validation.ts +27 -0
  510. package/src/storage/index.ts +18 -0
  511. package/src/storage/internal.ts +1 -0
  512. package/src/storage/ontology/in-memory/replacement-plans.ts +22 -0
  513. package/src/storage/ontology/replacement-plans.ts +6 -0
  514. package/src/storage/operation-scope.ts +1 -0
  515. package/src/testing/agent-execution.ts +45 -2
  516. package/src/testing/agent-inbox-storage-contract.ts +815 -0
  517. package/src/testing/agent-storage-contract.ts +103 -0
  518. package/src/testing/artifact-storage-contract.ts +72 -4
  519. package/src/testing/execution-storage-contract.ts +31 -0
  520. package/src/testing/index.ts +5 -0
  521. package/src/testing/materializer-storage-contract.ts +139 -1
  522. package/src/testing/queues-contract.ts +22 -0
  523. package/src/webhooks/connections.ts +9 -50
  524. package/src/webhooks/index.ts +0 -2
  525. package/src/webhooks/types.ts +2 -13
  526. package/src/workers/queued-run-dispatch.ts +8 -1
  527. package/dist/chunk-48c1z8nj.js.map +0 -10
  528. package/dist/chunk-58geavnf.js +0 -29
  529. package/dist/chunk-58geavnf.js.map +0 -10
  530. package/dist/chunk-9nsjjd44.js.map +0 -12
  531. package/dist/chunk-b9qfh2ya.js.map +0 -11
  532. package/dist/chunk-eptrvnby.js.map +0 -12
  533. package/dist/chunk-f6ahf5gf.js.map +0 -13
  534. package/dist/chunk-gxwy4c3s.js.map +0 -47
  535. package/dist/chunk-hvbvq7p4.js.map +0 -18
  536. package/dist/chunk-m2jerfef.js +0 -474
  537. package/dist/chunk-m2jerfef.js.map +0 -11
  538. package/dist/chunk-n4zzaf6q.js.map +0 -10
  539. package/dist/chunk-smnt672s.js.map +0 -10
  540. package/dist/chunk-t0s7b3d1.js.map +0 -13
  541. package/dist/chunk-vzkxqf8h.js.map +0 -23
  542. package/dist/chunk-wa05txmk.js.map +0 -11
  543. package/dist/chunk-yv8hv4wq.js.map +0 -10
  544. package/dist/chunk-yy914zfr.js.map +0 -30
  545. /package/dist/{chunk-8bns0y68.js.map → chunk-0hkdtwqk.js.map} +0 -0
  546. /package/dist/{chunk-p8pgnq8d.js.map → chunk-0mvjpgvm.js.map} +0 -0
  547. /package/dist/{chunk-2bn6813a.js.map → chunk-1yh6jgtz.js.map} +0 -0
  548. /package/dist/{chunk-msyevpp3.js.map → chunk-5t9gm5tt.js.map} +0 -0
  549. /package/dist/{chunk-e0hnbb1m.js.map → chunk-61zptves.js.map} +0 -0
  550. /package/dist/{chunk-td26wjr5.js.map → chunk-68hm50qh.js.map} +0 -0
  551. /package/dist/{chunk-fe6r7yhg.js.map → chunk-92wrka15.js.map} +0 -0
  552. /package/dist/{chunk-3z1vxzcm.js.map → chunk-aw1z0gre.js.map} +0 -0
  553. /package/dist/{chunk-r9rtavg9.js.map → chunk-fzae1jpq.js.map} +0 -0
  554. /package/dist/{chunk-vepea5c3.js.map → chunk-k29n4176.js.map} +0 -0
  555. /package/dist/{chunk-sysnvjce.js.map → chunk-naxjka9v.js.map} +0 -0
  556. /package/dist/{chunk-6ef4esq4.js.map → chunk-pqvvqc65.js.map} +0 -0
  557. /package/dist/{chunk-rsxb14an.js.map → chunk-s1mqyqmm.js.map} +0 -0
  558. /package/dist/{chunk-p351afzm.js.map → chunk-s5pj68fa.js.map} +0 -0
  559. /package/dist/{chunk-855w9nvw.js.map → chunk-vehcr9eb.js.map} +0 -0
  560. /package/dist/{chunk-n68vz95m.js.map → chunk-wqe9shx2.js.map} +0 -0
  561. /package/dist/{chunk-0k3r5kb3.js.map → chunk-xcrnrpfh.js.map} +0 -0
  562. /package/dist/{chunk-7kpqntgw.js.map → chunk-zxhym8tr.js.map} +0 -0
@@ -8,22 +8,22 @@ import {
8
8
  bindAgentModelExecution2,
9
9
  restoreAgentExecutionScope2,
10
10
  assertAgentExecutionRecord2
11
- } from "../chunk-rtm1jq00.js";
12
- import"../chunk-3z1vxzcm.js";
13
- import"../chunk-wa05txmk.js";
14
- import"../chunk-n68vz95m.js";
15
- import"../chunk-vepea5c3.js";
11
+ } from "../chunk-z1njfqqs.js";
12
+ import"../chunk-aw1z0gre.js";
13
+ import"../chunk-qavwr628.js";
14
+ import"../chunk-wqe9shx2.js";
15
+ import"../chunk-k29n4176.js";
16
16
  import"../chunk-rtdrm592.js";
17
- import"../chunk-evj5jxz3.js";
17
+ import"../chunk-b4escq4c.js";
18
18
  import"../chunk-3723kgba.js";
19
- import"../chunk-2bn6813a.js";
19
+ import"../chunk-1yh6jgtz.js";
20
20
  import"../chunk-q9nkpr8k.js";
21
21
  import"../chunk-5qqmndhm.js";
22
- import"../chunk-6ef4esq4.js";
23
- import"../chunk-3hzhcfsv.js";
22
+ import"../chunk-pqvvqc65.js";
23
+ import"../chunk-y8fwm3z2.js";
24
24
  import {
25
25
  ensureExecutionRecord2
26
- } from "../chunk-8tqnsx3q.js";
26
+ } from "../chunk-pc7kra3k.js";
27
27
  import"../chunk-1vg43g9q.js";
28
28
  import"../chunk-191jz8a6.js";
29
29
  import"../chunk-czct88ht.js";
@@ -34,28 +34,28 @@ import"../chunk-ppxf7gw2.js";
34
34
  import"../chunk-w3t94hm6.js";
35
35
  import"../chunk-wx7smkn2.js";
36
36
  import"../chunk-m427qgq0.js";
37
- import"../chunk-yy914zfr.js";
38
- import"../chunk-msyevpp3.js";
39
- import"../chunk-rsxb14an.js";
40
- import"../chunk-w1wq7gfr.js";
37
+ import"../chunk-m3qx2pns.js";
38
+ import"../chunk-5t9gm5tt.js";
39
+ import"../chunk-s1mqyqmm.js";
40
+ import"../chunk-gjhrz66x.js";
41
41
  import"../chunk-22d3qg4x.js";
42
42
  import"../chunk-5rqqp8cr.js";
43
43
  import"../chunk-186k5yz3.js";
44
44
  import"../chunk-jmfet9r4.js";
45
45
  import"../chunk-qf954wje.js";
46
- import"../chunk-p351afzm.js";
46
+ import"../chunk-s5pj68fa.js";
47
47
  import"../chunk-pk539cwv.js";
48
- import"../chunk-eptrvnby.js";
49
- import"../chunk-855w9nvw.js";
50
- import"../chunk-3014rfjz.js";
51
- import"../chunk-s7xqfxs9.js";
48
+ import"../chunk-c29729me.js";
49
+ import"../chunk-vehcr9eb.js";
50
+ import"../chunk-ewqn51gr.js";
51
+ import"../chunk-zft9bzbc.js";
52
52
  import"../chunk-hn2r7z41.js";
53
53
  import"../chunk-h89wz928.js";
54
- import"../chunk-e0hnbb1m.js";
54
+ import"../chunk-61zptves.js";
55
55
  import"../chunk-x0v3jd47.js";
56
56
  import"../chunk-g2ph4873.js";
57
57
  import"../chunk-mbsbxarb.js";
58
- import"../chunk-t0s7b3d1.js";
58
+ import"../chunk-ey1p8w68.js";
59
59
  import"../chunk-zeykm8my.js";
60
60
  import"../chunk-xtztwpkh.js";
61
61
  import"../chunk-c4nrycdy.js";
@@ -63,29 +63,29 @@ import"../chunk-qttqe1ah.js";
63
63
  import"../chunk-az95tsh3.js";
64
64
  import"../chunk-3sgvd10b.js";
65
65
  import"../chunk-cswhawa2.js";
66
- import"../chunk-0k3r5kb3.js";
66
+ import"../chunk-xcrnrpfh.js";
67
67
  import"../chunk-stmxh0hv.js";
68
68
  import"../chunk-dhkc9b23.js";
69
69
  import"../chunk-8a8k38tz.js";
70
70
  import"../chunk-zrvhsq7f.js";
71
71
  import"../chunk-frsz8wxd.js";
72
72
  import"../chunk-5grk14e5.js";
73
- import"../chunk-vzkxqf8h.js";
73
+ import"../chunk-paxabbqd.js";
74
74
  import"../chunk-rt9deb92.js";
75
75
  import"../chunk-3zagkr6w.js";
76
76
  import"../chunk-7j4yydm2.js";
77
77
  import"../chunk-d7v97qxq.js";
78
- import"../chunk-cwdzcv37.js";
78
+ import"../chunk-xrmbhap8.js";
79
79
  import"../chunk-gfdh9kqa.js";
80
80
  import"../chunk-sgx82nnt.js";
81
- import"../chunk-48c1z8nj.js";
81
+ import"../chunk-k3jh8gsg.js";
82
82
  import"../chunk-mvz89age.js";
83
83
  import"../chunk-6eqsgvxk.js";
84
- import"../chunk-hvbvq7p4.js";
84
+ import"../chunk-vs2s3p8n.js";
85
85
  import"../chunk-a3faa34j.js";
86
86
  import"../chunk-wkv3h3q7.js";
87
- import"../chunk-a6fjkcne.js";
88
- import"../chunk-m2jerfef.js";
87
+ import"../chunk-60662fyv.js";
88
+ import"../chunk-bqr703h4.js";
89
89
  import"../chunk-bz5bnjjt.js";
90
90
  import"../chunk-9vsc919v.js";
91
91
  import"../chunk-kr6dx38r.js";
@@ -81,6 +81,11 @@ export declare function createKernelRuntimeAuthorization(input: {
81
81
  readonly execution: ExecutionContext;
82
82
  readonly operation: KernelOperation;
83
83
  }): RuntimeAuthorization;
84
+ /**
85
+ * Register unrestricted authority for one script run. Whoever runs a script loads the project with
86
+ * its storage credentials, so this grants nothing that process does not already hold.
87
+ */
88
+ export declare function createScriptRuntimeAuthorization(execution: ExecutionContext): RuntimeAuthorization;
84
89
  export declare function resolveRuntimeAuthorization(authorization: unknown): ResolvedRuntimeAuthorization;
85
90
  /**
86
91
  * Resolve authority from a runtime already admitted by `SixbHost.withScope`.
@@ -1 +1 @@
1
- {"version":3,"file":"authorization.d.ts","sourceRoot":"","sources":["../../src/execution/authorization.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAc,MAAM,wBAAwB,CAAA;AAG9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,qCAAqC,CAAA;AAE5C,OAAO,KAAK,EACV,+BAA+B,EAC/B,uBAAuB,EACxB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAEL,KAAK,gBAAgB,EAErB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAEnB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAEzB,KAAK,mBAAmB,EACzB,MAAM,SAAS,CAAA;AAEhB,MAAM,MAAM,4BAA4B,GACpC;IACE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,OAAO,EAAE,oBAAoB,CAAA;IACtC,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,gBAAgB,EAAE;QAAE,QAAQ,CAAC,I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EAAE,cAAc,GACpB,8BAA8B,CAsBhC"}
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  bindDurablePrimitiveExecution2
4
- } from "../chunk-rtm1jq00.js";
5
- import"../chunk-3z1vxzcm.js";
6
- import"../chunk-wa05txmk.js";
7
- import"../chunk-n68vz95m.js";
8
- import"../chunk-vepea5c3.js";
4
+ } from "../chunk-z1njfqqs.js";
5
+ import"../chunk-aw1z0gre.js";
6
+ import"../chunk-qavwr628.js";
7
+ import"../chunk-wqe9shx2.js";
8
+ import"../chunk-k29n4176.js";
9
9
  import"../chunk-rtdrm592.js";
10
- import"../chunk-evj5jxz3.js";
10
+ import"../chunk-b4escq4c.js";
11
11
  import"../chunk-3723kgba.js";
12
- import"../chunk-2bn6813a.js";
12
+ import"../chunk-1yh6jgtz.js";
13
13
  import"../chunk-q9nkpr8k.js";
14
14
  import"../chunk-5qqmndhm.js";
15
- import"../chunk-6ef4esq4.js";
16
- import"../chunk-3hzhcfsv.js";
17
- import"../chunk-8tqnsx3q.js";
15
+ import"../chunk-pqvvqc65.js";
16
+ import"../chunk-y8fwm3z2.js";
17
+ import"../chunk-pc7kra3k.js";
18
18
  import"../chunk-1vg43g9q.js";
19
19
  import"../chunk-191jz8a6.js";
20
20
  import"../chunk-czct88ht.js";
@@ -25,28 +25,28 @@ import"../chunk-ppxf7gw2.js";
25
25
  import"../chunk-w3t94hm6.js";
26
26
  import"../chunk-wx7smkn2.js";
27
27
  import"../chunk-m427qgq0.js";
28
- import"../chunk-yy914zfr.js";
29
- import"../chunk-msyevpp3.js";
30
- import"../chunk-rsxb14an.js";
31
- import"../chunk-w1wq7gfr.js";
28
+ import"../chunk-m3qx2pns.js";
29
+ import"../chunk-5t9gm5tt.js";
30
+ import"../chunk-s1mqyqmm.js";
31
+ import"../chunk-gjhrz66x.js";
32
32
  import"../chunk-22d3qg4x.js";
33
33
  import"../chunk-5rqqp8cr.js";
34
34
  import"../chunk-186k5yz3.js";
35
35
  import"../chunk-jmfet9r4.js";
36
36
  import"../chunk-qf954wje.js";
37
- import"../chunk-p351afzm.js";
37
+ import"../chunk-s5pj68fa.js";
38
38
  import"../chunk-pk539cwv.js";
39
- import"../chunk-eptrvnby.js";
40
- import"../chunk-855w9nvw.js";
41
- import"../chunk-3014rfjz.js";
42
- import"../chunk-s7xqfxs9.js";
39
+ import"../chunk-c29729me.js";
40
+ import"../chunk-vehcr9eb.js";
41
+ import"../chunk-ewqn51gr.js";
42
+ import"../chunk-zft9bzbc.js";
43
43
  import"../chunk-hn2r7z41.js";
44
44
  import"../chunk-h89wz928.js";
45
- import"../chunk-e0hnbb1m.js";
45
+ import"../chunk-61zptves.js";
46
46
  import"../chunk-x0v3jd47.js";
47
47
  import"../chunk-g2ph4873.js";
48
48
  import"../chunk-mbsbxarb.js";
49
- import"../chunk-t0s7b3d1.js";
49
+ import"../chunk-ey1p8w68.js";
50
50
  import"../chunk-zeykm8my.js";
51
51
  import"../chunk-xtztwpkh.js";
52
52
  import"../chunk-c4nrycdy.js";
@@ -54,29 +54,29 @@ import"../chunk-qttqe1ah.js";
54
54
  import"../chunk-az95tsh3.js";
55
55
  import"../chunk-3sgvd10b.js";
56
56
  import"../chunk-cswhawa2.js";
57
- import"../chunk-0k3r5kb3.js";
57
+ import"../chunk-xcrnrpfh.js";
58
58
  import"../chunk-stmxh0hv.js";
59
59
  import"../chunk-dhkc9b23.js";
60
60
  import"../chunk-8a8k38tz.js";
61
61
  import"../chunk-zrvhsq7f.js";
62
62
  import"../chunk-frsz8wxd.js";
63
63
  import"../chunk-5grk14e5.js";
64
- import"../chunk-vzkxqf8h.js";
64
+ import"../chunk-paxabbqd.js";
65
65
  import"../chunk-rt9deb92.js";
66
66
  import"../chunk-3zagkr6w.js";
67
67
  import"../chunk-7j4yydm2.js";
68
68
  import"../chunk-d7v97qxq.js";
69
- import"../chunk-cwdzcv37.js";
69
+ import"../chunk-xrmbhap8.js";
70
70
  import"../chunk-gfdh9kqa.js";
71
71
  import"../chunk-sgx82nnt.js";
72
- import"../chunk-48c1z8nj.js";
72
+ import"../chunk-k3jh8gsg.js";
73
73
  import"../chunk-mvz89age.js";
74
74
  import"../chunk-6eqsgvxk.js";
75
- import"../chunk-hvbvq7p4.js";
75
+ import"../chunk-vs2s3p8n.js";
76
76
  import"../chunk-a3faa34j.js";
77
77
  import"../chunk-wkv3h3q7.js";
78
- import"../chunk-a6fjkcne.js";
79
- import"../chunk-m2jerfef.js";
78
+ import"../chunk-60662fyv.js";
79
+ import"../chunk-bqr703h4.js";
80
80
  import"../chunk-bz5bnjjt.js";
81
81
  import"../chunk-9vsc919v.js";
82
82
  import"../chunk-kr6dx38r.js";
@@ -5,20 +5,20 @@ import {
5
5
  prepareBoundActionRequest2,
6
6
  prepareBoundWorkflowRequest2,
7
7
  isBoundSixb
8
- } from "../chunk-rtm1jq00.js";
8
+ } from "../chunk-z1njfqqs.js";
9
9
  import"../chunk-d7v97qxq.js";
10
10
  import"../chunk-mvz89age.js";
11
11
  import"../chunk-6eqsgvxk.js";
12
- import"../chunk-vzkxqf8h.js";
12
+ import"../chunk-paxabbqd.js";
13
13
  import"../chunk-7j4yydm2.js";
14
14
  import"../chunk-rt9deb92.js";
15
15
  import"../chunk-kr6dx38r.js";
16
16
  import"../chunk-wkv3h3q7.js";
17
17
  import"../chunk-3zagkr6w.js";
18
18
  import"../chunk-x0v3jd47.js";
19
- import"../chunk-p351afzm.js";
19
+ import"../chunk-s5pj68fa.js";
20
20
  import"../chunk-zrvhsq7f.js";
21
- import"../chunk-0k3r5kb3.js";
21
+ import"../chunk-xcrnrpfh.js";
22
22
  import"../chunk-mbsbxarb.js";
23
23
  import"../chunk-g2ph4873.js";
24
24
  import"../chunk-frsz8wxd.js";
@@ -27,62 +27,62 @@ import"../chunk-dhkc9b23.js";
27
27
  import"../chunk-5grk14e5.js";
28
28
  import"../chunk-az95tsh3.js";
29
29
  import"../chunk-qttqe1ah.js";
30
- import"../chunk-t0s7b3d1.js";
30
+ import"../chunk-ey1p8w68.js";
31
31
  import"../chunk-zeykm8my.js";
32
32
  import"../chunk-c4nrycdy.js";
33
33
  import"../chunk-pk539cwv.js";
34
34
  import"../chunk-h89wz928.js";
35
- import"../chunk-855w9nvw.js";
36
- import"../chunk-3014rfjz.js";
35
+ import"../chunk-vehcr9eb.js";
36
+ import"../chunk-ewqn51gr.js";
37
37
  import"../chunk-9vsc919v.js";
38
38
  import"../chunk-gfdh9kqa.js";
39
- import"../chunk-cwdzcv37.js";
40
- import"../chunk-eptrvnby.js";
39
+ import"../chunk-xrmbhap8.js";
40
+ import"../chunk-c29729me.js";
41
41
  import"../chunk-cswhawa2.js";
42
- import"../chunk-w1wq7gfr.js";
43
- import"../chunk-e0hnbb1m.js";
44
- import"../chunk-s7xqfxs9.js";
42
+ import"../chunk-gjhrz66x.js";
43
+ import"../chunk-61zptves.js";
44
+ import"../chunk-zft9bzbc.js";
45
45
  import"../chunk-3sgvd10b.js";
46
46
  import"../chunk-22d3qg4x.js";
47
47
  import"../chunk-hn2r7z41.js";
48
48
  import"../chunk-5rqqp8cr.js";
49
49
  import"../chunk-jmfet9r4.js";
50
50
  import"../chunk-qf954wje.js";
51
- import"../chunk-rsxb14an.js";
52
- import"../chunk-msyevpp3.js";
51
+ import"../chunk-s1mqyqmm.js";
52
+ import"../chunk-5t9gm5tt.js";
53
+ import"../chunk-vs2s3p8n.js";
53
54
  import"../chunk-bz5bnjjt.js";
54
- import"../chunk-m2jerfef.js";
55
- import"../chunk-yy914zfr.js";
56
- import"../chunk-a6fjkcne.js";
57
- import"../chunk-hvbvq7p4.js";
55
+ import"../chunk-bqr703h4.js";
56
+ import"../chunk-m3qx2pns.js";
57
+ import"../chunk-60662fyv.js";
58
58
  import"../chunk-czct88ht.js";
59
- import"../chunk-vepea5c3.js";
59
+ import"../chunk-k29n4176.js";
60
60
  import"../chunk-1vg43g9q.js";
61
- import"../chunk-evj5jxz3.js";
61
+ import"../chunk-b4escq4c.js";
62
62
  import"../chunk-m427qgq0.js";
63
- import"../chunk-48c1z8nj.js";
63
+ import"../chunk-k3jh8gsg.js";
64
64
  import"../chunk-5qqmndhm.js";
65
65
  import"../chunk-sgx82nnt.js";
66
66
  import"../chunk-8ncg20rd.js";
67
67
  import"../chunk-5a4a52tq.js";
68
- import"../chunk-wa05txmk.js";
68
+ import"../chunk-qavwr628.js";
69
69
  import"../chunk-wx7smkn2.js";
70
70
  import"../chunk-ppxf7gw2.js";
71
71
  import"../chunk-191jz8a6.js";
72
- import"../chunk-2bn6813a.js";
72
+ import"../chunk-1yh6jgtz.js";
73
73
  import"../chunk-q9nkpr8k.js";
74
74
  import {
75
75
  createPrincipalRequestScope,
76
76
  createDisabledRequestScope,
77
77
  createDelegatedRequestScope
78
- } from "../chunk-smnt672s.js";
79
- import"../chunk-3z1vxzcm.js";
80
- import"../chunk-n68vz95m.js";
78
+ } from "../chunk-m9ketb51.js";
79
+ import"../chunk-aw1z0gre.js";
80
+ import"../chunk-wqe9shx2.js";
81
81
  import"../chunk-rtdrm592.js";
82
82
  import"../chunk-3723kgba.js";
83
- import"../chunk-6ef4esq4.js";
84
- import"../chunk-3hzhcfsv.js";
85
- import"../chunk-8tqnsx3q.js";
83
+ import"../chunk-pqvvqc65.js";
84
+ import"../chunk-y8fwm3z2.js";
85
+ import"../chunk-pc7kra3k.js";
86
86
  import"../chunk-d9xbwh3h.js";
87
87
  import"../chunk-w3t94hm6.js";
88
88
  import {
@@ -36,6 +36,14 @@ export declare function createKernelScope(input: {
36
36
  readonly source: ExecutionSource;
37
37
  readonly correlationId?: string;
38
38
  }): ExecutionScope;
39
+ /**
40
+ * The scope of one `sixb run`: unrestricted, requested by nobody, and recorded under the script's
41
+ * project-relative path. Only the CLI creates one; there is no public way to.
42
+ */
43
+ export declare function createScriptScope(input: {
44
+ readonly projectId: string;
45
+ readonly path: string;
46
+ }): ExecutionScope;
39
47
  export declare function createTestingScope(input: {
40
48
  readonly projectId: string;
41
49
  readonly context?: AuthorizationContext;
@@ -1 +1 @@
1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ACnC,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAA;IAChC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAChC,GAAG,cAAc,CAYjB;AAyBD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB,GAAG,cAAc,CAWjB;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE;IACxC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,oBAAoB,CAAA;IACvC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAChC,GAAG,cAAc,CAgBjB"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * A script execution names its file by a path relative to the project, with forward slashes: what
3
+ * a reader of the record can find in the repository.
4
+ */
5
+ export declare function isScriptPath(path: unknown): path is string;
6
+ export declare function assertScriptPath(path: unknown): asserts path is string;
7
+ //# sourceMappingURL=script.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"script.d.ts","sourceRoot":"","sources":["../../src/execution/script.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAW1D;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,IAAI,MAAM,CAMtE"}
@@ -39,6 +39,11 @@ export type ExecutionExecutor = {
39
39
  } | {
40
40
  readonly type: "kernel";
41
41
  readonly operation: KernelOperation;
42
+ }
43
+ /** A script someone ran with `sixb run`. */
44
+ | {
45
+ readonly type: "script";
46
+ readonly runId: string;
42
47
  };
43
48
  /**
44
49
  * Occurrence that directly triggered an execution.
@@ -67,8 +72,13 @@ export type ExecutionSource = {
67
72
  } | {
68
73
  readonly type: "execution";
69
74
  readonly executionId: string;
75
+ }
76
+ /** The script file, relative to the project, that `sixb run` ran. */
77
+ | {
78
+ readonly type: "script";
79
+ readonly path: string;
70
80
  };
71
- /** Immutable provenance for one request, primitive run, agent run, or kernel operation. */
81
+ /** Immutable provenance for one request, primitive run, agent run, kernel operation, or script. */
72
82
  export interface ExecutionContext {
73
83
  readonly id: string;
74
84
  readonly projectId: string;
@@ -97,6 +107,11 @@ export type AuthorizationRef = {
97
107
  } | {
98
108
  readonly type: "kernel";
99
109
  readonly operation: KernelOperation;
110
+ }
111
+ /** Unrestricted: whoever runs a script already holds the project's storage credentials. */
112
+ | {
113
+ readonly type: "script";
114
+ readonly runId: string;
100
115
  } | {
101
116
  readonly type: "disabled";
102
117
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/execution/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,2EAA2E;AAC3E,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,SAAS,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAAA;CAAE,CAAC,CAAA;AAEpG,8EAA8E;AAC9E,MAAM,MAAM,oBAAoB,GAC5B,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,MAAM,GACN,MAAM,GACN,SAAS,GACT,UAAU,CAAA;AAEd,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAA;IACnC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,uFAAuF;AACvF,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,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EAA2E;AAC3E,wBAAgB,oCAAoC,IAAI,oBAAoB,CAE3E;AAED,mFAAmF;AACnF,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,oBAAoB,CAE9F"}
@@ -1 +1 @@
1
- {"version":3,"file":"api-routes.d.ts","sourceRoot":"","sources":["../../src/http/api-routes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IAC3B,sFAAsF;IACtF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,8FAA8F;IAC9F,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,kFAAkF;IAClF,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,cAAc,CAAA;IACrC,iFAAiF;IACjF,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CACjC;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,MAAM,GACN,OAAO,GACP,UAAU,CAAA;AAEd,eAAO,MAAM,eAAe,EAAE,SAAS,YAAY,EA28BlD,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,YAAY,EAAE,GAAG,IAAI,CAazE"}
1
+ {"version":3,"file":"api-routes.d.ts","sourceRoot":"","sources":["../../src/http/api-routes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IAC3B,sFAAsF;IACtF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,8FAA8F;IAC9F,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,kFAAkF;IAClF,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,cAAc,CAAA;IACrC,iFAAiF;IACjF,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CACjC;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,MAAM,GACN,OAAO,GACP,UAAU,CAAA;AAEd,eAAO,MAAM,eAAe,EAAE,SAAS,YAAY,EAo+BlD,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,YAAY,EAAE,GAAG,IAAI,CAazE"}
@@ -4,7 +4,7 @@ import {
4
4
  pathSegmentsFor2,
5
5
  matchesPathPattern2,
6
6
  normalizeRoutePath2
7
- } from "../chunk-8t2ynwg0.js";
7
+ } from "../chunk-q8d9p0tb.js";
8
8
  export {
9
9
  SIXB_API_ROUTES2 as SIXB_API_ROUTES,
10
10
  matchesPathPattern2 as matchesPathPattern,
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ export { getUnit, getUnitSymbol, getUnitsFor, isQuantitativeTypeId, isUnitId, is
20
20
  export type { DecimalValue } from "./ontology/decimal";
21
21
  export { compareDecimalValues, decimal, isDecimalString, isDecimalValue, normalizeDecimalValue, } from "./ontology/decimal";
22
22
  export type { InferObjectProperties, InferObjectReadProperties, InferPropertySemanticType, InferPropertyUnit, InferPropertyValue, InferSchema, InferTelemetryBatchProperties, InferTelemetryPropertyIds, } from "./ontology/inference";
23
- export type { ActionEventOrigin, ArtifactCommentedEvent, ArtifactEvent, ArtifactUpdatedEvent, DatasetEvent, DatasetEventSelectorBuilder, DatasetEventSelectorContext, DatasetEventSelectorEvent, DatasetEventToken, DatasetVersionCommittedEvent, DomainEvent, DomainEventLog, EventDraft, EventExecutor, EventOrigin, EventPropertySelector, EventScopeKeys, EventSelectorContext, EventSelectorEvent, EventSelectorSpec, EventSelectors, EventsAppendInput, EventsEmitOptions, EventsReadInput, EventsSubscribeInput, InferEventSelectorContext, InferEventSelectorEvent, LinkCreatedEvent, LinkDeletedEvent, LinkEvent, LinkEventSelectorBuilder, LinkEventSelectorContext, LinkEventSelectorEvent, LinkUpdatedEvent, ObjectCreatedEvent, ObjectDeletedEvent, ObjectEvent, ObjectEventSelectorBuilder, ObjectEventSelectorContext, ObjectEventSelectorEvent, ObjectUpdatedEvent, PipelineEvent, PipelineEventSelectorBuilder, PipelineEventSelectorContext, PipelineEventSelectorEvent, PipelineEventToken, PipelineRunFinishedEvent, PipelineRunStartedEvent, PipelineRunStepFinishedEvent, PipelineRunStepStartedEvent, ProjectionEventOrigin, ProjectionTelemetryEventSource, PropertyChange, PropertyChangeMap, PropertyChangeOperation, RuleEvent, RuleEventSelectorBuilder, RuleEventSelectorContext, RuleEventSelectorEvent, RuleEventSelectorOperation, RuleEventSubject, RuleResolvedEvent, RuleTriggeredEvent, RunEventSelectorOperation, RuntimeMutationEventOrigin, ScheduleEvent, ScheduleTriggeredEvent, StoredAuthorableEvent, StoredDomainEvent, SyncEvent, SyncEventSelectorBuilder, SyncEventSelectorContext, SyncEventSelectorEvent, SyncEventToken, SyncRunFinishedEvent, SyncRunStartedEvent, TelemetryAppendedEvent, TelemetryEvent, TelemetryEventOrigin, TelemetryEventSource, UserEvent, UserEventSelectorBuilder, UserEventSelectorContext, UserEventSelectorEvent, UserEventSelectorOperation, UserInvitedEvent, UserJoinedEvent, UserProfileUpdatedEvent, UserReactivatedEvent, UserSuspendedEvent, WorkflowEvent, WorkflowRunFinishedEvent, WorkflowRunNodeFinishedEvent, WorkflowRunNodeStartedEvent, WorkflowRunQueuedEvent, WorkflowRunStartedEvent, } from "./events";
23
+ export type { ActionEventOrigin, ArtifactCommentedEvent, ArtifactEvent, ArtifactUpdatedEvent, ConnectorConnectionConnectedEvent, ConnectorConnectionDisconnectedEvent, ConnectorEvent, ConnectorEventSelectorBuilder, ConnectorEventSelectorContext, ConnectorEventSelectorEvent, ConnectorEventSelectorOperation, ConnectorEventToken, DatasetEvent, DatasetEventSelectorBuilder, DatasetEventSelectorContext, DatasetEventSelectorEvent, DatasetEventToken, DatasetVersionCommittedEvent, DomainEvent, DomainEventLog, EventDraft, EventExecutor, EventOrigin, EventPropertySelector, EventScopeKeys, EventSelectorContext, EventSelectorEvent, EventSelectorSpec, EventSelectors, EventsAppendInput, EventsEmitOptions, EventsReadInput, EventsSubscribeInput, InferEventSelectorContext, InferEventSelectorEvent, LinkCreatedEvent, LinkDeletedEvent, LinkEvent, LinkEventSelectorBuilder, LinkEventSelectorContext, LinkEventSelectorEvent, LinkUpdatedEvent, ObjectCreatedEvent, ObjectDeletedEvent, ObjectEvent, ObjectEventSelectorBuilder, ObjectEventSelectorContext, ObjectEventSelectorEvent, ObjectUpdatedEvent, PipelineEvent, PipelineEventSelectorBuilder, PipelineEventSelectorContext, PipelineEventSelectorEvent, PipelineEventToken, PipelineRunFinishedEvent, PipelineRunStartedEvent, PipelineRunStepFinishedEvent, PipelineRunStepStartedEvent, ProjectionEventOrigin, ProjectionTelemetryEventSource, PropertyChange, PropertyChangeMap, PropertyChangeOperation, RuleEvent, RuleEventSelectorBuilder, RuleEventSelectorContext, RuleEventSelectorEvent, RuleEventSelectorOperation, RuleEventSubject, RuleResolvedEvent, RuleTriggeredEvent, RunEventSelectorOperation, RuntimeMutationEventOrigin, ScheduleEvent, ScheduleTriggeredEvent, StoredAuthorableEvent, StoredDomainEvent, SyncEvent, SyncEventSelectorBuilder, SyncEventSelectorContext, SyncEventSelectorEvent, SyncEventToken, SyncRunFinishedEvent, SyncRunStartedEvent, TelemetryAppendedEvent, TelemetryEvent, TelemetryEventOrigin, TelemetryEventSource, UserEvent, UserEventSelectorBuilder, UserEventSelectorContext, UserEventSelectorEvent, UserEventSelectorOperation, UserInvitedEvent, UserJoinedEvent, UserProfileUpdatedEvent, UserReactivatedEvent, UserSuspendedEvent, WorkflowEvent, WorkflowRunFinishedEvent, WorkflowRunNodeFinishedEvent, WorkflowRunNodeStartedEvent, WorkflowRunQueuedEvent, WorkflowRunStartedEvent, } from "./events";
24
24
  export { events, isDomainEventType, } from "./events";
25
25
  export type { MaterializationConflictKind } from "./materialization/errors";
26
26
  export { isMaterializationConflictError, MaterializationCancellationError, MaterializationConflictError, MaterializationValidationError, } from "./materialization/errors";
@@ -56,9 +56,9 @@ export type { CommandResult, CreateSandboxOptions, ExecOptions, ResumeSandboxOpt
56
56
  export { SandboxError, SandboxIsolationUnavailableError, SandboxNotRunningError, SandboxTimeoutError, } from "./sandboxes";
57
57
  export type { ObjectExpansion, ObjectQuery, ObjectQueryDirection, ObjectQueryExpand, ObjectQueryFilter, ObjectQueryLimit, ObjectQueryPage, ObjectQueryPredicate, ObjectQueryPredicateComparison, ObjectQueryPredicateConstant, ObjectQueryPredicateContains, ObjectQueryPredicateExists, ObjectQueryPredicateGroup, ObjectQueryPredicateIn, ObjectQueryPredicateNot, ObjectQueryProject, ObjectQueryRefs, ObjectQueryResultShape, ObjectQuerySet, ObjectQuerySetOperation, ObjectQuerySort, ObjectQuerySortDirection, ObjectQuerySortField, ObjectQueryStart, ObjectQueryText, ObjectQueryTraverse, ObjectQueryValidationIssue, ObjectQueryValidationOptions, ObjectQueryVector, QueryScalarKind, ValidatedObjectQuery, } from "./objects/query";
58
58
  export { ObjectQueryExecutionError, ObjectQueryPlanningError, ObjectQueryValidationError, } from "./objects/query";
59
- export type { AnyConnectorAdapter, ConnectorAccessToken, ConnectorAccountCandidate, ConnectorAdapter, ConnectorClient, ConnectorConnectionClientContext, ConnectorConnectionMetadata, ConnectorConnectionOptions, ConnectorConnectionOwner, ConnectorConnectionSelector, ConnectorContext, ConnectorDefinition, ConnectorDefinitionOptions, ConnectorOAuth2Authentication, ConnectorOAuthCredentials, ConnectorOAuthErrorKind, ConnectorTokenSource, OAuthConnectorAdapter, OAuthConnectorAuthorizationContext, OAuthConnectorAuthorizationUrlInput, OAuthConnectorCodeExchangeInput, ProjectConnectorConnectionOwner, StaticConnectorDefinition, UserConnectorConnectionOwner, } from "./connectors";
59
+ export type { AnyConnectorAdapter, ConnectorAccessToken, ConnectorAccountCandidate, ConnectorAdapter, ConnectorClient, ConnectorConnectionClientContext, ConnectorConnectionHandle, ConnectorConnectionMetadata, ConnectorConnectionOptions, ConnectorConnectionOwner, ConnectorConnectionSelector, ConnectorConnections, ConnectorContext, ConnectorDefinition, ConnectorDefinitionOptions, ConnectorOAuth2Authentication, ConnectorOAuthCredentials, ConnectorOAuthErrorKind, ConnectorOAuthRevocation, ConnectorTokenSource, OAuthConnectorAdapter, OAuthConnectorAuthorizationContext, OAuthConnectorAuthorizationUrlInput, OAuthConnectorCodeExchangeInput, ProjectConnectorConnectionOwner, StaticConnectorDefinition, UserConnectorConnectionOwner, } from "./connectors";
60
60
  export { ConnectorOAuthError, defineConnector } from "./connectors";
61
- export type { RegisteredWebhook, WebhookBodyFormat, WebhookBodyParser, WebhookBodySchema, WebhookConnection, WebhookConnections, WebhookConnectorClient, WebhookDefinition, WebhookHandlerContext, WebhookHandlerResult, WebhookIdempotencyContext, WebhookIdempotencyKeyResolver, WebhookMetadata, WebhookResponse, WebhookVerification, WebhookVerificationSubject, WebhookVerifyContext, } from "./webhooks";
61
+ export type { RegisteredWebhook, WebhookBodyFormat, WebhookBodyParser, WebhookBodySchema, WebhookConnectorClient, WebhookDefinition, WebhookHandlerContext, WebhookHandlerResult, WebhookIdempotencyContext, WebhookIdempotencyKeyResolver, WebhookMetadata, WebhookResponse, WebhookVerification, WebhookVerificationSubject, WebhookVerifyContext, } from "./webhooks";
62
62
  export { defineWebhook, resolveWebhookVerification, UnverifiedWebhookError, WebhookValidationError, warnUnverifiedWebhook, webhookConnector, } from "./webhooks";
63
63
  export type { BatchSyncConfig, BatchSyncDefinitionConfig, DatasetSyncTarget, RequestSyncRunInput, SyncBuilder, SyncConnectorConnection, SyncDefinition, SyncMode, SyncReadBuilder, SyncReadContext, SyncReadHandler, SyncReadResult, SyncRunRequestOptions, SyncRunRequestResult, SyncTargetBuilder, } from "./syncs";
64
64
  export { defineSync } from "./syncs";
@@ -81,7 +81,7 @@ export type { AgentChildQuestion } from "./agents/child-question";
81
81
  export type { AgentChildAwaiting, AgentChildEndReason, AgentChildRunView, AgentChildView, } from "./agents/children";
82
82
  export type { AgentMemoryErrorCode } from "./agents/errors";
83
83
  export { AgentMemoryError } from "./agents/errors";
84
- export type { AgentApprovalDecision, AgentApprovalsRuntime, AgentChildListResult, AgentPreferences, AgentPreferencesRuntime, AgentRunListResult, AgentRunsRuntime, AgentRuntime, AgentRunView, AgentThreadParticipantsRuntime, AgentThreadsRuntime, ConversationAgentRunView, DecideExecutionAgentApprovalInput, ExecutionAgentRunResult, ListAgentChildrenInput, ListAgentThreadViewsResult, ListExecutionAgentApprovalsInput, ListExecutionAgentThreadsInput, ObservedAgentThreadsRuntime, SubagentRunView, } from "./agents/execution";
84
+ export type { AgentApprovalDecision, AgentApprovalsRuntime, AgentChildListResult, AgentInboxMessageUpdate, AgentInboxRuntime, AgentPreferences, AgentPreferencesRuntime, AgentRunListResult, AgentRunsRuntime, AgentRuntime, AgentRunView, AgentThreadParticipantsRuntime, AgentThreadsRuntime, ConversationAgentRunView, DecideExecutionAgentApprovalInput, ExecutionAgentRunResult, ExecutionAgentSendResult, ListAgentChildrenInput, ListAgentThreadViewsResult, ListExecutionAgentApprovalsInput, ListExecutionAgentThreadsInput, ObservedAgentThreadsRuntime, SubagentRunView, } from "./agents/execution";
85
85
  export type { AgentMemoryLinkWarning, AgentMemoryRepoName } from "./agents/memory";
86
86
  export type { AgentMemoryRepoView, AgentMemoryRuntime, SaveAgentMemoryRuntimeInput, SaveAgentMemoryRuntimeResult, } from "./agents/memory-execution";
87
87
  export type { AgentThreadParticipantInput } from "./agents/participants";
@@ -90,7 +90,7 @@ export type { ArtifactAccess } from "./artifacts/access";
90
90
  export type { ArtifactCommentInput } from "./artifacts/comments";
91
91
  export type { ArtifactRequestErrorCode } from "./artifacts/errors";
92
92
  export { ArtifactRequestError } from "./artifacts/errors";
93
- export type { ArtifactContentInput, ArtifactHolderObject, ArtifactHolders, ArtifactQueryInput, ArtifactStateRuntime, ArtifactStateValue, ArtifactsRuntime, ListArtifactsRuntimeInput, UpdateArtifactRuntimeInput, } from "./artifacts/execution";
93
+ export type { ArtifactContentInput, ArtifactHolderObject, ArtifactHolders, ArtifactPdf, ArtifactQueryInput, ArtifactStateRuntime, ArtifactStateValue, ArtifactsRuntime, ListArtifactsRuntimeInput, UpdateArtifactRuntimeInput, } from "./artifacts/execution";
94
94
  export type { ArtifactKind } from "./artifacts/kinds";
95
95
  export type { ArtifactOutline } from "./artifacts/outline";
96
96
  export type { PublishedArtifact } from "./artifacts/publish/publish";
@@ -117,6 +117,7 @@ export type { ProjectionRunsRuntime, ProjectionsRuntime, } from "./projections/e
117
117
  export type { RuleStatesRuntime, RulesRuntime } from "./rules/execution";
118
118
  export type { BatchItemResult, CreateSixbOptions, DefinitionCatalog, FileListPropertyToken, FilePropertyToken, ListResult, ListResultWithoutTotal, ObjectByIdHandle, ObjectExpandBuilder, ObjectExpandOptions, ObjectExpansionSort, ObjectFileHandle, ObjectQueryBuilder, ObjectQueryFacetBucket, ObjectQueryFacetInput, ObjectQueryFacetResult, ObjectQueryFacetsResult, ObjectQueryListOptions, ObjectQueryRow, ObjectReadByIdHandle, ObjectReader, ObjectReadSet, ObjectSet, ObjectSetListInput, ObjectSetQueryPropertyToken, ObjectWhereBuilder, ObjectWhereClause, OntologyDocumentInput, OntologySource, Sixb, SixbDefinitions, SixbHostOptions, SixbHostView, TelemetryAppendInput, TelemetryChannel, TelemetryHistoryInput, TelemetryPropertyToken, TwinObject, UniquePropertyToken, UniquePropertyValue, } from "./runtime";
119
119
  export { ConnectorError, ConnectorNotFoundError, createSixb, ObjectError, ObjectNotFoundError, OntologyNotFoundError, OntologyValidationError, ProjectionValidationError, RuntimeError, SixbHost, SyncValidationError, } from "./runtime";
120
+ export type { ScriptContext } from "./runtime/script";
120
121
  export type { SchedulesRuntime } from "./schedules/execution";
121
122
  export type { ActionRunFailure, ActionRunFailureCode, ActionRunPhase, AgentApprovalCall, AgentApprovalMode, AgentApprovalOutcome, AgentApprovalRecord, AgentApprovalStatus, AgentRunFailureCode, AiCostSummary, PipelineRunFailureCode, ProjectionRunFailureCode, SyncRunFailureCode, WebhookRunFailureCode, WorkflowRunFailureCode, } from "./storage";
122
123
  export type { ActivityActor, ActivityAttribution, ActivityCursor, ActivityDay, ActivityInteraction, ActivityPageView, ActivitySummary, ActivityUser, ActivityVisit, ActivityVisitsPage, } from "./storage/activity/types";
@@ -124,8 +125,8 @@ export type { ArtifactLatestVersion } from "./storage/artifacts/errors";
124
125
  export type { VectorIndexingFailureCode } from "./storage/ontology/vector-indexing";
125
126
  export type { SyncRunsRuntime, SyncsRuntime } from "./syncs/execution";
126
127
  export type { LatestWorkflowRunListResult, ListWorkflowRunNodesInput, WorkflowAgentNodeRunView, WorkflowInterventionsRuntime, WorkflowNodeRunListResult, WorkflowNodeRunView, WorkflowRunListResult, WorkflowRunsRuntime, WorkflowRunView, WorkflowsRuntime, } from "./workflows/execution";
127
- export type { AgentApprovalCaller, AgentApprovalCallSummary, AgentApprovalOutcomePart, AgentContextEntryInput, AgentContextInput, AgentContextOrigin, AgentContextPart, AgentContextPartBytes, AgentContextPartName, AgentContinuationPart, AgentDefinitions, AgentDefinitionsInput, AgentDescriptor, AgentFileDataProjection, AgentFileDataResolverInput, AgentFilePart, AgentHistoryPartName, AgentMailPart, AgentMemoryReference, AgentMessage, AgentMessagePart, AgentMessagePartType, AgentMessageRole, AgentOptions, AgentProjectFile, AgentProviderStatePart, AgentReasoning, AgentReasoningPart, AgentReference, AgentRequestErrorCode, AgentSkillCatalog, AgentSkillDefinition, AgentStepRequestSize, AgentStepStartPart, AgentSystemPromptPartName, AgentTextPart, AgentThreadsReference, AgentToolAttachments, AgentToolCallPart, AgentToolCallState, AgentToolCatalog, AgentToolContent, AgentToolDefinition, AgentToolDescriptionBuilder, AgentToolFile, AgentToolFileContent, AgentToolFilePutInput, AgentToolFiles, AgentToolHandler, AgentToolHandlerResult, AgentToolInputBuilder, AgentToolInputSchema, AgentToolResult, AgentToolResultFileResolverInput, AgentToolRunBuilder, AgentToolRunContext, AgentToolRunInfo, AgentToolRuntimeFacade, AgentToolTextContent, AgentUsageReference, AgentWebOptions, InferAgentToolInput, InferAgentToolInputSchema, InferAgentToolOutput, RequestAgentRunInput, RequestAgentRunResult, } from "./agents";
128
- export { AGENT_REASONING_LEVELS, AgentDefinitionError, AgentRequestError, AgentToolPublicError, agent, agentContext, agentContextIdentity, defineAgentTool, MAX_AGENT_APP_STATE_ENTRY_BYTES, MAX_AGENT_APP_STATE_TOTAL_BYTES, MAX_AGENT_CONTEXT_ENTRIES, } from "./agents";
128
+ export type { AgentApprovalCaller, AgentApprovalCallSummary, AgentApprovalOutcomePart, AgentContextEntryInput, AgentContextInput, AgentContextOrigin, AgentContextPart, AgentContextPartBytes, AgentContextPartName, AgentContinuationPart, AgentDefinitions, AgentDefinitionsInput, AgentDescriptor, AgentFileDataProjection, AgentFileDataResolverInput, AgentFilePart, AgentHistoryPartName, AgentMailPart, AgentMemoryReference, AgentMessage, AgentMessageDelivery, AgentMessagePart, AgentMessagePartType, AgentMessageRole, AgentOptions, AgentProjectFile, AgentProviderStatePart, AgentReasoning, AgentReasoningPart, AgentReference, AgentRequestErrorCode, AgentSkillCatalog, AgentSkillDefinition, AgentStepRequestSize, AgentStepStartPart, AgentSystemPromptPartName, AgentTextPart, AgentThreadsReference, AgentToolAttachments, AgentToolCallPart, AgentToolCallState, AgentToolCatalog, AgentToolContent, AgentToolDefinition, AgentToolDescriptionBuilder, AgentToolFile, AgentToolFileContent, AgentToolFilePutInput, AgentToolFiles, AgentToolHandler, AgentToolHandlerResult, AgentToolInputBuilder, AgentToolInputSchema, AgentToolResult, AgentToolResultFileResolverInput, AgentToolRunBuilder, AgentToolRunContext, AgentToolRunInfo, AgentToolRuntimeFacade, AgentToolTextContent, AgentUsageReference, AgentWebOptions, InferAgentToolInput, InferAgentToolInputSchema, InferAgentToolOutput, RequestAgentRunInput, RequestAgentRunResult, SendAgentMessageInput, SendAgentMessageResult, } from "./agents";
129
+ export { AGENT_MESSAGE_DELIVERIES, AGENT_REASONING_LEVELS, AgentDefinitionError, AgentRequestError, AgentToolPublicError, agent, agentContext, agentContextIdentity, defineAgentTool, MAX_AGENT_APP_STATE_ENTRY_BYTES, MAX_AGENT_APP_STATE_TOTAL_BYTES, MAX_AGENT_CONTEXT_ENTRIES, } from "./agents";
129
130
  export type { SandboxSourceAuth, SandboxSourceCredentials } from "./sandboxes/auth";
130
131
  export type { SandboxConfig, SandboxDefinition, SandboxEnvironment, SandboxResolveContext, SandboxSource, } from "./sandboxes/configuration";
131
132
  export type { ParamOptions } from "./shared/params/builders";
@@ -143,7 +144,7 @@ export { decisionOutput } from "./models/decision/output";
143
144
  export { question } from "./models/decision/questions";
144
145
  export type { ChoiceQuestion, DecisionAnswer, DecisionAnswers, DecisionContent, DecisionEvaluateInput, DecisionEvaluateResult, DecisionModelsRuntime, DecisionQuestion, DecisionQuestions, ProbabilityQuestion, ScoreQuestion, } from "./models/decision/types";
145
146
  export type { ImageGenerateInput, ImageGenerateResult, ImageModelsRuntime, } from "./models/image/types";
146
- export type { ForeignKeyDescriptor, LinkProjectionDefinition, LinkProjectionTarget, ObjectProjectionBuilder, ObjectProjectionConflictResolution, ObjectProjectionDefinition, ObjectProjectionTarget, ProjectionDefinition, ProjectionDefinitionCatalog, ProjectionForeignKeyInput, ProjectionTarget, ProjectionTargetByKind, ProjectionUserKey, SourceEditConflictResolution, TelemetryProjectionDefinition, TelemetryProjectionPropertyMapping, } from "./projections";
147
+ export type { ForeignKeyDescriptor, LinkProjectionDefinition, LinkProjectionTarget, ObjectProjectionBuilder, ObjectProjectionConflictResolution, ObjectProjectionDefinition, ObjectProjectionMissingPolicy, ObjectProjectionTarget, ProjectionDefinition, ProjectionDefinitionCatalog, ProjectionForeignKeyInput, ProjectionTarget, ProjectionTargetByKind, ProjectionUserKey, SourceEditConflictResolution, TelemetryProjectionDefinition, TelemetryProjectionPropertyMapping, } from "./projections";
147
148
  export { defineProjection, fromForeignKey, isLinkProjectionDefinition, isObjectProjectionDefinition, isProjectionDefinition, isTelemetryProjectionDefinition, } from "./projections";
148
149
  export type { ObjectQueryPreparationPlan, ObjectQueryPreparationResult, } from "./storage/objects/query-preparation";
149
150
  export { prepareObjectQueries } from "./storage/objects/query-preparation";