@sixb/core 0.2.1 → 0.2.3
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.
- package/dist/actions/index.js +60 -54
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/request.d.ts.map +1 -1
- package/dist/actions/run/executor.d.ts +0 -2
- package/dist/actions/run/executor.d.ts.map +1 -1
- package/dist/actions/types/context.d.ts +5 -1
- package/dist/actions/types/context.d.ts.map +1 -1
- package/dist/agents/cancel.d.ts.map +1 -1
- package/dist/agents/execution.d.ts +2 -1
- package/dist/agents/execution.d.ts.map +1 -1
- package/dist/agents/fork.d.ts.map +1 -1
- package/dist/agents/index.d.ts +6 -4
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +95 -82
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/request.d.ts +7 -1
- package/dist/agents/request.d.ts.map +1 -1
- package/dist/agents/run-artifacts.d.ts +73 -10
- package/dist/agents/run-artifacts.d.ts.map +1 -1
- package/dist/agents/run-plan.d.ts +15 -1
- package/dist/agents/run-plan.d.ts.map +1 -1
- package/dist/agents/run-session-http.d.ts.map +1 -1
- package/dist/agents/run-session-serve.d.ts.map +1 -1
- package/dist/agents/run-session.d.ts +17 -2
- package/dist/agents/run-session.d.ts.map +1 -1
- package/dist/agents/skills.d.ts +3 -0
- package/dist/agents/skills.d.ts.map +1 -1
- package/dist/agents/step-limits.d.ts +6 -0
- package/dist/agents/step-limits.d.ts.map +1 -1
- package/dist/agents/streams/index.js +2 -2
- package/dist/agents/streams/internal.js +2 -2
- package/dist/agents/streams/protocol.d.ts +8 -2
- package/dist/agents/streams/protocol.d.ts.map +1 -1
- package/dist/agents/tool-files.d.ts +3 -1
- package/dist/agents/tool-files.d.ts.map +1 -1
- package/dist/agents/validation.d.ts +1 -1
- package/dist/agents/validation.d.ts.map +1 -1
- package/dist/agents/web.d.ts +47 -0
- package/dist/agents/web.d.ts.map +1 -0
- package/dist/artifacts/access.d.ts +37 -17
- package/dist/artifacts/access.d.ts.map +1 -1
- package/dist/artifacts/canvas-display.d.ts +65 -0
- package/dist/artifacts/canvas-display.d.ts.map +1 -0
- package/dist/artifacts/canvas.d.ts +6 -1
- package/dist/artifacts/canvas.d.ts.map +1 -1
- package/dist/artifacts/comment-text.d.ts +19 -0
- package/dist/artifacts/comment-text.d.ts.map +1 -0
- package/dist/artifacts/comments.d.ts +52 -0
- package/dist/artifacts/comments.d.ts.map +1 -0
- package/dist/artifacts/errors.d.ts +3 -3
- package/dist/artifacts/errors.d.ts.map +1 -1
- package/dist/artifacts/events.d.ts +14 -0
- package/dist/artifacts/events.d.ts.map +1 -0
- package/dist/artifacts/execution.d.ts +129 -22
- package/dist/artifacts/execution.d.ts.map +1 -1
- package/dist/artifacts/frames/assets.d.ts +12 -1
- package/dist/artifacts/frames/assets.d.ts.map +1 -1
- package/dist/artifacts/frames/grants.d.ts +8 -5
- package/dist/artifacts/frames/grants.d.ts.map +1 -1
- package/dist/artifacts/frames/index.d.ts +1 -1
- package/dist/artifacts/frames/index.d.ts.map +1 -1
- package/dist/artifacts/frames/index.js +32 -964
- package/dist/artifacts/frames/index.js.map +4 -8
- package/dist/artifacts/frames/kit.d.ts.map +1 -1
- package/dist/artifacts/frames/protocol.d.ts +78 -0
- package/dist/artifacts/frames/protocol.d.ts.map +1 -1
- package/dist/artifacts/frames/runtime.d.ts +17 -7
- package/dist/artifacts/frames/runtime.d.ts.map +1 -1
- package/dist/artifacts/holders.d.ts +23 -0
- package/dist/artifacts/holders.d.ts.map +1 -0
- package/dist/artifacts/ids.d.ts +2 -0
- package/dist/artifacts/ids.d.ts.map +1 -1
- package/dist/artifacts/index.d.ts +6 -4
- package/dist/artifacts/index.d.ts.map +1 -1
- package/dist/artifacts/index.js +108 -13
- package/dist/artifacts/index.js.map +5 -4
- package/dist/artifacts/limits.d.ts +24 -3
- package/dist/artifacts/limits.d.ts.map +1 -1
- package/dist/artifacts/live/board.d.ts +103 -0
- package/dist/artifacts/live/board.d.ts.map +1 -0
- package/dist/artifacts/live/diff.d.ts +43 -0
- package/dist/artifacts/live/diff.d.ts.map +1 -0
- package/dist/artifacts/live/document.d.ts +55 -0
- package/dist/artifacts/live/document.d.ts.map +1 -0
- package/dist/artifacts/live/files.d.ts +16 -0
- package/dist/artifacts/live/files.d.ts.map +1 -0
- package/dist/artifacts/live/index.d.ts +9 -0
- package/dist/artifacts/live/index.d.ts.map +1 -0
- package/dist/artifacts/live/index.js +593 -0
- package/dist/artifacts/live/index.js.map +10 -0
- package/dist/artifacts/live/presence.d.ts +55 -0
- package/dist/artifacts/live/presence.d.ts.map +1 -0
- package/dist/artifacts/live/protocol.d.ts +109 -0
- package/dist/artifacts/live/protocol.d.ts.map +1 -0
- package/dist/artifacts/live/protocol.js +21 -0
- package/dist/artifacts/live/protocol.js.map +9 -0
- package/dist/artifacts/live/server.d.ts +10 -0
- package/dist/artifacts/live/server.d.ts.map +1 -0
- package/dist/artifacts/live/server.js +86 -0
- package/dist/artifacts/live/server.js.map +9 -0
- package/dist/artifacts/live/state.d.ts +26 -0
- package/dist/artifacts/live/state.d.ts.map +1 -0
- package/dist/artifacts/outline.d.ts +11 -0
- package/dist/artifacts/outline.d.ts.map +1 -1
- package/dist/artifacts/publish/index.d.ts +8 -1
- package/dist/artifacts/publish/index.d.ts.map +1 -1
- package/dist/artifacts/publish/index.js +67 -39
- package/dist/artifacts/publish/index.js.map +1 -1
- package/dist/artifacts/publish/merge.d.ts +75 -0
- package/dist/artifacts/publish/merge.d.ts.map +1 -0
- package/dist/artifacts/publish/previews.d.ts +153 -0
- package/dist/artifacts/publish/previews.d.ts.map +1 -0
- package/dist/artifacts/publish/publish.d.ts +29 -8
- package/dist/artifacts/publish/publish.d.ts.map +1 -1
- package/dist/artifacts/publish/query-answers.d.ts +20 -0
- package/dist/artifacts/publish/query-answers.d.ts.map +1 -0
- package/dist/artifacts/publish/references.d.ts +4 -3
- package/dist/artifacts/publish/references.d.ts.map +1 -1
- package/dist/artifacts/publish/validate/canvas.d.ts.map +1 -1
- package/dist/artifacts/theme.d.ts +5 -1
- package/dist/artifacts/theme.d.ts.map +1 -1
- package/dist/auth/directory.d.ts +33 -0
- package/dist/auth/directory.d.ts.map +1 -0
- package/dist/auth/index.js +13 -12
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/member-events.d.ts +5 -1
- package/dist/auth/member-events.d.ts.map +1 -1
- package/dist/auth/runtime.d.ts +22 -1
- package/dist/auth/runtime.d.ts.map +1 -1
- package/dist/auth/strategy.d.ts +2 -2
- package/dist/auth/strategy.d.ts.map +1 -1
- package/dist/auth/types.d.ts +42 -1
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/authorization/decision.d.ts +6 -5
- package/dist/authorization/decision.d.ts.map +1 -1
- package/dist/authorization/event-visibility.d.ts.map +1 -1
- package/dist/authorization/index.js +7 -6
- package/dist/authorization/index.js.map +1 -1
- package/dist/authorization/resolve.d.ts +4 -3
- package/dist/authorization/resolve.d.ts.map +1 -1
- package/dist/authorization/types.d.ts +5 -5
- package/dist/authorization/types.d.ts.map +1 -1
- package/dist/blob-storage/index.js +4 -4
- package/dist/blob-storage/index.js.map +1 -1
- package/dist/bootstrap/index.js +70 -64
- package/dist/bootstrap/index.js.map +2 -2
- package/dist/broker/in-memory.d.ts.map +1 -1
- package/dist/broker/index.js +1 -1
- package/dist/broker/types.d.ts +4 -0
- package/dist/broker/types.d.ts.map +1 -1
- package/dist/{chunk-3x3bebz7.js → chunk-0k3r5kb3.js} +414 -101
- package/dist/chunk-0k3r5kb3.js.map +51 -0
- package/dist/{chunk-e5wf5vz0.js → chunk-0kgrghqx.js} +13 -1
- package/dist/chunk-0kgrghqx.js.map +10 -0
- package/dist/{chunk-2pk5hjj9.js → chunk-186k5yz3.js} +1 -1
- package/dist/chunk-191jz8a6.js +61 -0
- package/dist/chunk-191jz8a6.js.map +10 -0
- package/dist/{chunk-mmagke4x.js → chunk-22d3qg4x.js} +2 -2
- package/dist/{chunk-mmagke4x.js.map → chunk-22d3qg4x.js.map} +3 -3
- package/dist/{chunk-8yzhjawq.js → chunk-26qet7wh.js} +64 -23
- package/dist/{chunk-8yzhjawq.js.map → chunk-26qet7wh.js.map} +5 -5
- package/dist/{chunk-cb21tx14.js → chunk-2by73sm2.js} +1055 -201
- package/dist/chunk-2by73sm2.js.map +75 -0
- package/dist/chunk-2c4j899j.js.map +2 -2
- package/dist/{chunk-e6xgz4h4.js → chunk-3014rfjz.js} +197 -18
- package/dist/chunk-3014rfjz.js.map +21 -0
- package/dist/{chunk-nghc7eq0.js → chunk-3723kgba.js} +1 -1
- package/dist/chunk-38yvdqzd.js +70 -0
- package/dist/chunk-38yvdqzd.js.map +10 -0
- package/dist/{chunk-ytzcxtpt.js → chunk-3ba89vm7.js} +1 -1
- package/dist/chunk-3hzhcfsv.js +139 -0
- package/dist/chunk-3hzhcfsv.js.map +10 -0
- package/dist/chunk-3sgvd10b.js +69 -0
- package/dist/chunk-3sgvd10b.js.map +10 -0
- package/dist/{chunk-djs3hw9p.js → chunk-3zagkr6w.js} +73 -6
- package/dist/chunk-3zagkr6w.js.map +21 -0
- package/dist/{chunk-fg1db9xx.js → chunk-48c1z8nj.js} +10 -10
- package/dist/chunk-48c1z8nj.js.map +10 -0
- package/dist/{chunk-rjeeyssy.js → chunk-4j0sagwv.js} +134 -19
- package/dist/{chunk-rjeeyssy.js.map → chunk-4j0sagwv.js.map} +11 -10
- package/dist/{chunk-qsg8rw04.js → chunk-5qqmndhm.js} +2 -2
- package/dist/{chunk-scyq22td.js → chunk-5rqqp8cr.js} +19 -4
- package/dist/chunk-5rqqp8cr.js.map +12 -0
- package/dist/{chunk-ax10ft8d.js → chunk-6gtxshcc.js} +6 -6
- package/dist/{chunk-ax10ft8d.js.map → chunk-6gtxshcc.js.map} +1 -1
- package/dist/{chunk-jspskey0.js → chunk-7j4yydm2.js} +67 -45
- package/dist/chunk-7j4yydm2.js.map +11 -0
- package/dist/{chunk-8wsjr52f.js → chunk-7qe46788.js} +1 -1
- package/dist/{chunk-edx8xcsm.js → chunk-7z5rkf0m.js} +29 -6
- package/dist/chunk-7z5rkf0m.js.map +13 -0
- package/dist/{chunk-23s66j86.js → chunk-855w9nvw.js} +1 -1
- package/dist/{chunk-e7v3trpz.js → chunk-8a8k38tz.js} +4 -3
- package/dist/chunk-8a8k38tz.js.map +10 -0
- package/dist/{chunk-tvbmh7tj.js → chunk-8p7bze4c.js} +14 -10
- package/dist/chunk-8p7bze4c.js.map +18 -0
- package/dist/{chunk-jftd33rc.js → chunk-8t2ynwg0.js} +105 -9
- package/dist/chunk-8t2ynwg0.js.map +11 -0
- package/dist/{chunk-qbrmpgvv.js → chunk-8tqnsx3q.js} +1 -1
- package/dist/{chunk-s3we74h8.js → chunk-9nsjjd44.js} +38 -5
- package/dist/chunk-9nsjjd44.js.map +12 -0
- package/dist/{chunk-hz5d43gn.js → chunk-9vsc919v.js} +14 -6
- package/dist/chunk-9vsc919v.js.map +10 -0
- package/dist/{chunk-waqk73p1.js → chunk-a6fjkcne.js} +185 -341
- package/dist/{chunk-waqk73p1.js.map → chunk-a6fjkcne.js.map} +6 -7
- package/dist/{chunk-tvefbgvw.js → chunk-az95tsh3.js} +4 -2
- package/dist/chunk-az95tsh3.js.map +11 -0
- package/dist/{chunk-s038wa5v.js → chunk-b9qfh2ya.js} +1 -1
- package/dist/{chunk-5taem5aw.js → chunk-bc3y6gff.js} +13 -4
- package/dist/chunk-bc3y6gff.js.map +10 -0
- package/dist/{chunk-ks87m383.js → chunk-bkmnd7zq.js} +556 -262
- package/dist/chunk-bkmnd7zq.js.map +49 -0
- package/dist/chunk-bz5bnjjt.js +358 -0
- package/dist/chunk-bz5bnjjt.js.map +12 -0
- package/dist/{chunk-7hd2ez3q.js → chunk-c4nrycdy.js} +1 -1
- package/dist/{chunk-w976a4me.js → chunk-czct88ht.js} +28 -4
- package/dist/chunk-czct88ht.js.map +10 -0
- package/dist/{chunk-5kyvrtjh.js → chunk-d9xbwh3h.js} +131 -32
- package/dist/chunk-d9xbwh3h.js.map +13 -0
- package/dist/{chunk-kfee1h52.js → chunk-dfveegqq.js} +28 -8
- package/dist/chunk-dfveegqq.js.map +13 -0
- package/dist/{chunk-2g0r46hy.js → chunk-dhkc9b23.js} +15 -2
- package/dist/chunk-dhkc9b23.js.map +12 -0
- package/dist/chunk-dmnd9ea6.js +106 -0
- package/dist/chunk-dmnd9ea6.js.map +10 -0
- package/dist/{chunk-nz7815t3.js → chunk-e0hnbb1m.js} +27 -2
- package/dist/chunk-e0hnbb1m.js.map +14 -0
- package/dist/chunk-e91fmg6t.js +288 -0
- package/dist/chunk-e91fmg6t.js.map +11 -0
- package/dist/{chunk-z3evap21.js → chunk-e9w4mgdh.js} +314 -225
- package/dist/{chunk-z3evap21.js.map → chunk-e9w4mgdh.js.map} +22 -20
- package/dist/{chunk-w122ymx4.js → chunk-f6ahf5gf.js} +15 -4
- package/dist/{chunk-w122ymx4.js.map → chunk-f6ahf5gf.js.map} +3 -3
- package/dist/{chunk-jjmggm9a.js → chunk-fe6r7yhg.js} +1 -1
- package/dist/{chunk-165c9wm6.js → chunk-g2ph4873.js} +1 -1
- package/dist/chunk-hgj98cbb.js +22 -0
- package/dist/chunk-hgj98cbb.js.map +10 -0
- package/dist/{chunk-nqnfz3jg.js → chunk-hkaa807g.js} +18 -7
- package/dist/{chunk-nqnfz3jg.js.map → chunk-hkaa807g.js.map} +3 -3
- package/dist/chunk-hn2r7z41.js.map +3 -3
- package/dist/chunk-j0wgh8gv.js +250 -0
- package/dist/chunk-j0wgh8gv.js.map +10 -0
- package/dist/{chunk-z8fx5cgb.js → chunk-j2zm215x.js} +37 -3
- package/dist/chunk-j2zm215x.js.map +12 -0
- package/dist/{chunk-j1ny5fwh.js → chunk-k1g14kk3.js} +11 -83
- package/dist/{chunk-j1ny5fwh.js.map → chunk-k1g14kk3.js.map} +4 -5
- package/dist/{chunk-b7a97n8b.js → chunk-k66rp2hr.js} +7 -7
- package/dist/{chunk-b7a97n8b.js.map → chunk-k66rp2hr.js.map} +2 -2
- package/dist/chunk-kr6dx38r.js +25 -0
- package/dist/chunk-kr6dx38r.js.map +10 -0
- package/dist/{chunk-w53trr0c.js → chunk-kv0kvknv.js} +14 -14
- package/dist/{chunk-w53trr0c.js.map → chunk-kv0kvknv.js.map} +1 -1
- package/dist/chunk-m2jerfef.js +474 -0
- package/dist/chunk-m2jerfef.js.map +11 -0
- package/dist/chunk-m7b9q5dk.js +234 -0
- package/dist/chunk-m7b9q5dk.js.map +12 -0
- package/dist/{chunk-escedwyt.js → chunk-mvz89age.js} +6 -1
- package/dist/{chunk-escedwyt.js.map → chunk-mvz89age.js.map} +3 -3
- package/dist/chunk-mwcqz3e3.js +30 -0
- package/dist/chunk-mwcqz3e3.js.map +10 -0
- package/dist/chunk-n2ay51px.js +21 -0
- package/dist/chunk-n2ay51px.js.map +10 -0
- package/dist/{chunk-jk97v21j.js → chunk-n4zzaf6q.js} +3 -2
- package/dist/chunk-n4zzaf6q.js.map +10 -0
- package/dist/{chunk-cgznz22f.js → chunk-n68vz95m.js} +5 -5
- package/dist/{chunk-cgznz22f.js.map → chunk-n68vz95m.js.map} +3 -3
- package/dist/{chunk-neftrg0n.js → chunk-p351afzm.js} +14 -14
- package/dist/{chunk-neftrg0n.js.map → chunk-p351afzm.js.map} +4 -4
- package/dist/chunk-pk539cwv.js +370 -0
- package/dist/chunk-pk539cwv.js.map +11 -0
- package/dist/{chunk-jbw70d6t.js → chunk-ppxf7gw2.js} +52 -10
- package/dist/chunk-ppxf7gw2.js.map +11 -0
- package/dist/{chunk-9x8dybsb.js → chunk-pvpq483h.js} +10 -2
- package/dist/chunk-pvpq483h.js.map +10 -0
- package/dist/{chunk-jhbk10wf.js → chunk-q9nkpr8k.js} +1 -1
- package/dist/chunk-qafng88v.js +225 -0
- package/dist/chunk-qafng88v.js.map +11 -0
- package/dist/chunk-qds484t8.js +1363 -0
- package/dist/chunk-qds484t8.js.map +18 -0
- package/dist/{chunk-47e09r7z.js → chunk-qttqe1ah.js} +86 -6
- package/dist/{chunk-47e09r7z.js.map → chunk-qttqe1ah.js.map} +5 -4
- package/dist/{chunk-4zm1k3xj.js → chunk-r2psmn42.js} +1 -1
- package/dist/{chunk-31khg3g0.js → chunk-rt9deb92.js} +76 -4
- package/dist/{chunk-31khg3g0.js.map → chunk-rt9deb92.js.map} +3 -3
- package/dist/{chunk-r1cxq7vv.js → chunk-rtdrm592.js} +2 -2
- package/dist/{chunk-t5daew4g.js → chunk-s5n9617r.js} +18 -18
- package/dist/{chunk-t5daew4g.js.map → chunk-s5n9617r.js.map} +1 -1
- package/dist/{chunk-m3qe54bb.js → chunk-smnt672s.js} +1 -1
- package/dist/{chunk-21q0j5f2.js → chunk-stmxh0hv.js} +2 -2
- package/dist/{chunk-y2x2935j.js → chunk-sysnvjce.js} +5 -5
- package/dist/{chunk-y2x2935j.js.map → chunk-sysnvjce.js.map} +3 -3
- package/dist/{chunk-57g0215c.js → chunk-t24yktqr.js} +296 -7
- package/dist/{chunk-57g0215c.js.map → chunk-t24yktqr.js.map} +6 -3
- package/dist/{chunk-ff5xkv0p.js → chunk-tfzvjdms.js} +1 -1
- package/dist/chunk-tqa68kj7.js +1322 -0
- package/dist/chunk-tqa68kj7.js.map +25 -0
- package/dist/chunk-vtjzwymr.js +37 -0
- package/dist/chunk-vtjzwymr.js.map +10 -0
- package/dist/{chunk-dz7a4t3a.js → chunk-vzkxqf8h.js} +26 -21
- package/dist/{chunk-dz7a4t3a.js.map → chunk-vzkxqf8h.js.map} +8 -8
- package/dist/{chunk-6b61s40c.js → chunk-w3t94hm6.js} +1 -1
- package/dist/{chunk-t9xyr7y9.js → chunk-w9s23r24.js} +1218 -101
- package/dist/chunk-w9s23r24.js.map +30 -0
- package/dist/{chunk-9rh8ncs5.js → chunk-wa05txmk.js} +20 -7
- package/dist/{chunk-9rh8ncs5.js.map → chunk-wa05txmk.js.map} +3 -3
- package/dist/chunk-whbwf3np.js +12 -0
- package/dist/chunk-whbwf3np.js.map +10 -0
- package/dist/{chunk-agn8d8ys.js → chunk-xtztwpkh.js} +1 -1
- package/dist/{chunk-t5608tkq.js → chunk-yv8hv4wq.js} +3 -1
- package/dist/{chunk-t5608tkq.js.map → chunk-yv8hv4wq.js.map} +3 -3
- package/dist/{chunk-ratj7t3t.js → chunk-z0t4p2sk.js} +465 -76
- package/dist/chunk-z0t4p2sk.js.map +47 -0
- package/dist/{chunk-0g5nyx0k.js → chunk-zeykm8my.js} +2 -2
- package/dist/connectors/builders.d.ts +2 -2
- package/dist/connectors/builders.d.ts.map +1 -1
- package/dist/connectors/connections/access.d.ts +11 -0
- package/dist/connectors/connections/access.d.ts.map +1 -0
- package/dist/connectors/connections/contracts.d.ts +6 -1
- package/dist/connectors/connections/contracts.d.ts.map +1 -1
- package/dist/connectors/connections/internal.js +1 -1
- package/dist/connectors/connections/runs.d.ts +13 -0
- package/dist/connectors/connections/runs.d.ts.map +1 -1
- package/dist/connectors/connections/service.d.ts +25 -0
- package/dist/connectors/connections/service.d.ts.map +1 -1
- package/dist/connectors/connections/views.d.ts +1 -1
- package/dist/connectors/connections/views.d.ts.map +1 -1
- package/dist/connectors/execution.d.ts.map +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.d.ts.map +1 -1
- package/dist/connectors/service.d.ts +3 -0
- package/dist/connectors/service.d.ts.map +1 -1
- package/dist/connectors/types.d.ts +21 -2
- package/dist/connectors/types.d.ts.map +1 -1
- package/dist/datasets/execution.d.ts +12 -6
- package/dist/datasets/execution.d.ts.map +1 -1
- package/dist/datasets/ingest-flush-batch.d.ts +59 -0
- package/dist/datasets/ingest-flush-batch.d.ts.map +1 -0
- package/dist/datasets/ingest-flush-job.d.ts +33 -0
- package/dist/datasets/ingest-flush-job.d.ts.map +1 -0
- package/dist/datasets/ingest-flush.d.ts +66 -0
- package/dist/datasets/ingest-flush.d.ts.map +1 -0
- package/dist/datasets/produced-version.d.ts +21 -0
- package/dist/datasets/produced-version.d.ts.map +1 -0
- package/dist/datasets/write.d.ts +22 -1
- package/dist/datasets/write.d.ts.map +1 -1
- package/dist/datasets/write.js +8 -4
- package/dist/datasets/write.js.map +1 -1
- package/dist/deploy/internal.js +5 -4
- package/dist/deploy/internal.js.map +4 -4
- package/dist/deploy/types.d.ts +2 -3
- package/dist/deploy/types.d.ts.map +1 -1
- package/dist/error-reporting/capability.d.ts +8 -2
- package/dist/error-reporting/capability.d.ts.map +1 -1
- package/dist/error-reporting/internal.d.ts +1 -1
- package/dist/error-reporting/internal.d.ts.map +1 -1
- package/dist/error-reporting/internal.js +17 -5
- package/dist/error-reporting/internal.js.map +1 -1
- package/dist/error-reporting/reporter.d.ts.map +1 -1
- package/dist/error-reporting/reports.d.ts +55 -0
- package/dist/error-reporting/reports.d.ts.map +1 -1
- package/dist/error-reporting/types.d.ts +82 -1
- package/dist/error-reporting/types.d.ts.map +1 -1
- package/dist/errors/catalog.d.ts +5 -0
- package/dist/errors/catalog.d.ts.map +1 -1
- package/dist/errors/internal.js +1 -1
- package/dist/events/definitions.d.ts +4 -0
- package/dist/events/definitions.d.ts.map +1 -1
- package/dist/events/execution.d.ts +1 -0
- package/dist/events/execution.d.ts.map +1 -1
- package/dist/events/index.d.ts +1 -1
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +5 -5
- package/dist/events/scope.d.ts.map +1 -1
- package/dist/events/scope.js +1 -1
- package/dist/events/selectors/index.js +2 -2
- package/dist/events/types/artifacts.d.ts +38 -0
- package/dist/events/types/artifacts.d.ts.map +1 -0
- package/dist/events/types/index.d.ts +3 -1
- package/dist/events/types/index.d.ts.map +1 -1
- package/dist/events/types/users.d.ts +5 -2
- package/dist/events/types/users.d.ts.map +1 -1
- package/dist/execution/agent.js +61 -55
- package/dist/execution/agent.js.map +1 -1
- package/dist/execution/authorized-object-reader.d.ts +10 -0
- package/dist/execution/authorized-object-reader.d.ts.map +1 -1
- package/dist/execution/object-reader-clearance.d.ts +6 -0
- package/dist/execution/object-reader-clearance.d.ts.map +1 -1
- package/dist/execution/object-reader-security.d.ts +9 -2
- package/dist/execution/object-reader-security.d.ts.map +1 -1
- package/dist/execution/primitive.js +60 -54
- package/dist/execution/primitive.js.map +1 -1
- package/dist/execution/request.js +57 -51
- package/dist/execution/request.js.map +2 -2
- package/dist/http/api-routes.d.ts +1 -1
- package/dist/http/api-routes.d.ts.map +1 -1
- package/dist/http/index.js +1 -1
- package/dist/index.d.ts +12 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +101 -93
- package/dist/index.js.map +1 -1
- package/dist/lake-storage/errors.d.ts +15 -0
- package/dist/lake-storage/errors.d.ts.map +1 -1
- package/dist/lake-storage/index.d.ts +3 -2
- package/dist/lake-storage/index.d.ts.map +1 -1
- package/dist/lake-storage/index.js +16 -10
- package/dist/lake-storage/index.js.map +1 -1
- package/dist/lake-storage/maintenance.d.ts +88 -0
- package/dist/lake-storage/maintenance.d.ts.map +1 -0
- package/dist/lake-storage/merge.d.ts +3 -1
- package/dist/lake-storage/merge.d.ts.map +1 -1
- package/dist/lake-storage/source-ordering.d.ts +23 -0
- package/dist/lake-storage/source-ordering.d.ts.map +1 -1
- package/dist/lake-storage/types.d.ts +10 -0
- package/dist/lake-storage/types.d.ts.map +1 -1
- package/dist/maintenance/heartbeat.d.ts +5 -0
- package/dist/maintenance/heartbeat.d.ts.map +1 -0
- package/dist/maintenance/index.d.ts +4 -2
- package/dist/maintenance/index.d.ts.map +1 -1
- package/dist/maintenance/index.js +515 -0
- package/dist/maintenance/index.js.map +16 -0
- package/dist/maintenance/lake-retention-status.d.ts +36 -0
- package/dist/maintenance/lake-retention-status.d.ts.map +1 -0
- package/dist/maintenance/lake-retention.d.ts +84 -0
- package/dist/maintenance/lake-retention.d.ts.map +1 -0
- package/dist/maintenance/loop.d.ts +95 -0
- package/dist/maintenance/loop.d.ts.map +1 -0
- package/dist/maintenance/ontology-maintenance.d.ts +17 -16
- package/dist/maintenance/ontology-maintenance.d.ts.map +1 -1
- package/dist/maintenance/passes/cron-pass.d.ts +21 -0
- package/dist/maintenance/passes/cron-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/directory-pass.d.ts +12 -0
- package/dist/maintenance/passes/directory-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/ingest-pass.d.ts +26 -0
- package/dist/maintenance/passes/ingest-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/lake-change-feed.d.ts +38 -0
- package/dist/maintenance/passes/lake-change-feed.d.ts.map +1 -0
- package/dist/maintenance/passes/lake-retention-pass.d.ts +20 -0
- package/dist/maintenance/passes/lake-retention-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/ontology-pass.d.ts +8 -0
- package/dist/maintenance/passes/ontology-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/projections-pass.d.ts +26 -0
- package/dist/maintenance/passes/projections-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/recovery-pass.d.ts +6 -0
- package/dist/maintenance/passes/recovery-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/recovery-passes.d.ts +24 -0
- package/dist/maintenance/passes/recovery-passes.d.ts.map +1 -0
- package/dist/maintenance/passes/runs-pass.d.ts +6 -0
- package/dist/maintenance/passes/runs-pass.d.ts.map +1 -0
- package/dist/maintenance/passes/triggers-pass.d.ts +41 -0
- package/dist/maintenance/passes/triggers-pass.d.ts.map +1 -0
- package/dist/maintenance/status.d.ts +19 -0
- package/dist/maintenance/status.d.ts.map +1 -0
- package/dist/maintenance/types.d.ts +25 -24
- package/dist/maintenance/types.d.ts.map +1 -1
- package/dist/materialization/model.d.ts +11 -2
- package/dist/materialization/model.d.ts.map +1 -1
- package/dist/materializer/edits/artifact-refs.d.ts +33 -0
- package/dist/materializer/edits/artifact-refs.d.ts.map +1 -0
- package/dist/materializer/edits/commit.d.ts.map +1 -1
- package/dist/materializer/edits/operations.d.ts +7 -1
- package/dist/materializer/edits/operations.d.ts.map +1 -1
- package/dist/materializer/edits/plan.d.ts.map +1 -1
- package/dist/materializer/execution/work-records.d.ts +6 -0
- package/dist/materializer/execution/work-records.d.ts.map +1 -1
- package/dist/materializer/index.js +33 -30
- package/dist/materializer/index.js.map +1 -1
- package/dist/materializer/projections/replacement-plan.d.ts.map +1 -1
- package/dist/materializer/shared/normalize.d.ts.map +1 -1
- package/dist/materializer/telemetry/plan.d.ts.map +1 -1
- package/dist/models/catalog.d.ts +16 -0
- package/dist/models/catalog.d.ts.map +1 -1
- package/dist/models/definitions.d.ts +1 -1
- package/dist/models/definitions.d.ts.map +1 -1
- package/dist/models/execution/index.js +36 -33
- package/dist/models/execution/index.js.map +1 -1
- package/dist/models/execution/model-call-recorder.d.ts +1 -1
- package/dist/models/execution/model-call-recorder.d.ts.map +1 -1
- package/dist/models/execution/web-search.d.ts +7 -0
- package/dist/models/execution/web-search.d.ts.map +1 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +5 -3
- package/dist/models/index.js.map +1 -1
- package/dist/models/language-model.d.ts +12 -0
- package/dist/models/language-model.d.ts.map +1 -1
- package/dist/models/web-search-model.d.ts +66 -0
- package/dist/models/web-search-model.d.ts.map +1 -0
- package/dist/objects/artifact-refs.d.ts +5 -0
- package/dist/objects/artifact-refs.d.ts.map +1 -0
- package/dist/objects/index.js +63 -58
- package/dist/objects/index.js.map +1 -1
- package/dist/objects/materializer-adapter.d.ts +4 -3
- package/dist/objects/materializer-adapter.d.ts.map +1 -1
- package/dist/objects/object/upsert-batch.d.ts.map +1 -1
- package/dist/objects/object/upsert.d.ts.map +1 -1
- package/dist/objects/query/executor.d.ts.map +1 -1
- package/dist/objects/query/index.d.ts +1 -0
- package/dist/objects/query/index.d.ts.map +1 -1
- package/dist/objects/query/index.js +35 -29
- package/dist/objects/query/index.js.map +1 -1
- package/dist/objects/query/ir.d.ts +3 -1
- package/dist/objects/query/ir.d.ts.map +1 -1
- package/dist/objects/query/scalar-values.d.ts.map +1 -1
- package/dist/objects/query/sort-ties.d.ts +11 -0
- package/dist/objects/query/sort-ties.d.ts.map +1 -0
- package/dist/objects/runtime-batch.d.ts +2 -0
- package/dist/objects/runtime-batch.d.ts.map +1 -1
- package/dist/ontology/artifact-ref.d.ts +36 -0
- package/dist/ontology/artifact-ref.d.ts.map +1 -0
- package/dist/ontology/docs-markdown.d.ts.map +1 -1
- package/dist/ontology/index.d.ts +3 -1
- package/dist/ontology/index.d.ts.map +1 -1
- package/dist/ontology/index.js +8 -5
- package/dist/ontology/index.js.map +1 -1
- package/dist/ontology/inference/index.d.ts +2 -0
- package/dist/ontology/inference/index.d.ts.map +1 -1
- package/dist/ontology/internal.js +7 -6
- package/dist/ontology/internal.js.map +1 -1
- package/dist/ontology/json-schema.d.ts.map +1 -1
- package/dist/ontology/primitives.d.ts.map +1 -1
- package/dist/ontology/reference-values.d.ts +10 -0
- package/dist/ontology/reference-values.d.ts.map +1 -0
- package/dist/ontology/refs.d.ts +6 -1
- package/dist/ontology/refs.d.ts.map +1 -1
- package/dist/ontology/registry.d.ts +9 -1
- package/dist/ontology/registry.d.ts.map +1 -1
- package/dist/ontology/types.d.ts +2 -1
- package/dist/ontology/types.d.ts.map +1 -1
- package/dist/ontology/user-ref.d.ts +16 -0
- package/dist/ontology/user-ref.d.ts.map +1 -1
- package/dist/ontology/validation/normalize.d.ts.map +1 -1
- package/dist/ontology/validation/properties.d.ts.map +1 -1
- package/dist/ontology/validation/schema.d.ts.map +1 -1
- package/dist/pending-tasks.d.ts +17 -0
- package/dist/pending-tasks.d.ts.map +1 -0
- package/dist/pipelines/index.js +40 -37
- package/dist/pipelines/index.js.map +1 -1
- package/dist/pipelines/run-dispatch.d.ts +6 -0
- package/dist/pipelines/run-dispatch.d.ts.map +1 -1
- package/dist/predicates/types.d.ts +4 -0
- package/dist/predicates/types.d.ts.map +1 -1
- package/dist/projections/builders.d.ts +13 -11
- package/dist/projections/builders.d.ts.map +1 -1
- package/dist/projections/internal.js +33 -30
- package/dist/projections/internal.js.map +1 -1
- package/dist/projections/types.d.ts +1 -1
- package/dist/projections/types.d.ts.map +1 -1
- package/dist/projections/validation.d.ts +2 -2
- package/dist/projections/validation.d.ts.map +1 -1
- package/dist/queues/in-memory.d.ts +6 -1
- package/dist/queues/in-memory.d.ts.map +1 -1
- package/dist/queues/index.d.ts +1 -1
- package/dist/queues/index.d.ts.map +1 -1
- package/dist/queues/index.js +1 -1
- package/dist/queues/types.d.ts +55 -2
- package/dist/queues/types.d.ts.map +1 -1
- package/dist/runtime/create.d.ts +4 -1
- package/dist/runtime/create.d.ts.map +1 -1
- package/dist/runtime/host.d.ts +22 -5
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +0 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/internal.d.ts +6 -0
- package/dist/runtime/internal.d.ts.map +1 -1
- package/dist/runtime/internal.js +57 -36
- package/dist/runtime/internal.js.map +1 -1
- package/dist/runtime/resolve-definitions.d.ts.map +1 -1
- package/dist/runtime/sixb.d.ts +6 -1
- package/dist/runtime/sixb.d.ts.map +1 -1
- package/dist/sandboxes/index.js +8 -7
- package/dist/sandboxes/index.js.map +1 -1
- package/dist/scheduler/index.d.ts +0 -2
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/scheduler/index.js +3 -6
- package/dist/scheduler/index.js.map +1 -1
- package/dist/schedules/index.js +9 -11
- package/dist/schedules/index.js.map +1 -1
- package/dist/security/index.d.ts +1 -0
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/internal.js +1 -1
- package/dist/security/registry.d.ts +2 -0
- package/dist/security/registry.d.ts.map +1 -1
- package/dist/security/view-conditions.d.ts.map +1 -1
- package/dist/security/visibility-keys.d.ts +19 -0
- package/dist/security/visibility-keys.d.ts.map +1 -0
- package/dist/shared/backoff.d.ts +12 -0
- package/dist/shared/backoff.d.ts.map +1 -0
- package/dist/shared/duration.d.ts +3 -0
- package/dist/shared/duration.d.ts.map +1 -0
- package/dist/shared/params/artifact-refs.d.ts +19 -0
- package/dist/shared/params/artifact-refs.d.ts.map +1 -0
- package/dist/shares/guest-name.d.ts +8 -0
- package/dist/shares/guest-name.d.ts.map +1 -0
- package/dist/shares/internal.d.ts +1 -0
- package/dist/shares/internal.d.ts.map +1 -1
- package/dist/shares/internal.js +74 -33
- package/dist/shares/internal.js.map +3 -3
- package/dist/shares/session-protocol.d.ts +13 -0
- package/dist/shares/session-protocol.d.ts.map +1 -1
- package/dist/storage/action-runs/failure.js +2 -2
- package/dist/storage/agents/in-memory.d.ts +8 -2
- package/dist/storage/agents/in-memory.d.ts.map +1 -1
- package/dist/storage/agents/index.d.ts +1 -1
- package/dist/storage/agents/index.d.ts.map +1 -1
- package/dist/storage/agents/provider.d.ts +8 -2
- package/dist/storage/agents/provider.d.ts.map +1 -1
- package/dist/storage/agents/provider.js +12 -6
- package/dist/storage/agents/provider.js.map +1 -1
- package/dist/storage/agents/types.d.ts +42 -2
- package/dist/storage/agents/types.d.ts.map +1 -1
- package/dist/storage/ai-cost/provider.js +4 -4
- package/dist/storage/ai-limits/enforcement.js +4 -4
- package/dist/storage/ai-limits/provider.js +2 -2
- package/dist/storage/artifacts/errors.d.ts +9 -4
- package/dist/storage/artifacts/errors.d.ts.map +1 -1
- package/dist/storage/artifacts/in-memory.d.ts +27 -4
- package/dist/storage/artifacts/in-memory.d.ts.map +1 -1
- package/dist/storage/artifacts/index.d.ts +1 -1
- package/dist/storage/artifacts/index.d.ts.map +1 -1
- package/dist/storage/artifacts/record.d.ts +39 -2
- package/dist/storage/artifacts/record.d.ts.map +1 -1
- package/dist/storage/artifacts/types.d.ts +328 -39
- package/dist/storage/artifacts/types.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/auth-storage.d.ts +2 -1
- package/dist/storage/auth/in-memory/auth-storage.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/identities.d.ts +4 -0
- package/dist/storage/auth/in-memory/identities.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/shared.d.ts +3 -1
- package/dist/storage/auth/in-memory/shared.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/users.d.ts.map +1 -1
- package/dist/storage/auth/index.d.ts +1 -1
- package/dist/storage/auth/index.d.ts.map +1 -1
- package/dist/storage/auth/types.d.ts +39 -0
- package/dist/storage/auth/types.d.ts.map +1 -1
- package/dist/storage/connector-connections/in-memory.d.ts +1 -1
- package/dist/storage/connector-connections/in-memory.d.ts.map +1 -1
- package/dist/storage/connector-connections/index.d.ts +1 -1
- package/dist/storage/connector-connections/index.d.ts.map +1 -1
- package/dist/storage/connector-connections/provider/runs.d.ts.map +1 -1
- package/dist/storage/connector-connections/provider/shared.d.ts +12 -2
- package/dist/storage/connector-connections/provider/shared.d.ts.map +1 -1
- package/dist/storage/connector-connections/provider.d.ts +1 -0
- package/dist/storage/connector-connections/provider.d.ts.map +1 -1
- package/dist/storage/connector-connections/provider.js +23 -7
- package/dist/storage/connector-connections/provider.js.map +6 -6
- package/dist/storage/connector-connections/types.d.ts +1 -1
- package/dist/storage/connector-connections/types.d.ts.map +1 -1
- package/dist/storage/dataset-ingest/codec.d.ts +6 -0
- package/dist/storage/dataset-ingest/codec.d.ts.map +1 -0
- package/dist/storage/dataset-ingest/in-memory.d.ts +28 -0
- package/dist/storage/dataset-ingest/in-memory.d.ts.map +1 -0
- package/dist/storage/dataset-ingest/index.d.ts +4 -0
- package/dist/storage/dataset-ingest/index.d.ts.map +1 -0
- package/dist/storage/dataset-ingest/provider.d.ts +157 -0
- package/dist/storage/dataset-ingest/provider.d.ts.map +1 -0
- package/dist/storage/dataset-ingest/provider.js +17 -0
- package/dist/storage/dataset-ingest/provider.js.map +9 -0
- package/dist/storage/dataset-ingest/types.d.ts +188 -0
- package/dist/storage/dataset-ingest/types.d.ts.map +1 -0
- package/dist/storage/file-upload-sessions/provider.js +12 -11
- package/dist/storage/file-upload-sessions/provider.js.map +1 -1
- package/dist/storage/in-memory/index.d.ts +12 -0
- package/dist/storage/in-memory/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +20 -13
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +61 -51
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.d.ts +4 -1
- package/dist/storage/internal.d.ts.map +1 -1
- package/dist/storage/internal.js +83 -7
- package/dist/storage/internal.js.map +4 -3
- package/dist/storage/lake-retention-runs/in-memory.d.ts +11 -0
- package/dist/storage/lake-retention-runs/in-memory.d.ts.map +1 -0
- package/dist/storage/lake-retention-runs/index.d.ts +3 -0
- package/dist/storage/lake-retention-runs/index.d.ts.map +1 -0
- package/dist/storage/lake-retention-runs/types.d.ts +21 -0
- package/dist/storage/lake-retention-runs/types.d.ts.map +1 -0
- package/dist/storage/maintenance-heartbeats/in-memory.d.ts +11 -0
- package/dist/storage/maintenance-heartbeats/in-memory.d.ts.map +1 -0
- package/dist/storage/maintenance-heartbeats/index.d.ts +3 -0
- package/dist/storage/maintenance-heartbeats/index.d.ts.map +1 -0
- package/dist/storage/maintenance-heartbeats/record.d.ts +11 -0
- package/dist/storage/maintenance-heartbeats/record.d.ts.map +1 -0
- package/dist/storage/maintenance-heartbeats/types.d.ts +30 -0
- package/dist/storage/maintenance-heartbeats/types.d.ts.map +1 -0
- package/dist/storage/migrations/types.d.ts +6 -0
- package/dist/storage/migrations/types.d.ts.map +1 -1
- package/dist/storage/objects/in-memory/query.d.ts.map +1 -1
- package/dist/storage/objects/in-memory/storage.d.ts +15 -1
- package/dist/storage/objects/in-memory/storage.d.ts.map +1 -1
- package/dist/storage/objects/index.d.ts +1 -1
- package/dist/storage/objects/index.d.ts.map +1 -1
- package/dist/storage/objects/query-preparation.d.ts +13 -0
- package/dist/storage/objects/query-preparation.d.ts.map +1 -1
- package/dist/storage/objects/read-scope.d.ts.map +1 -1
- package/dist/storage/objects/types.d.ts +70 -1
- package/dist/storage/objects/types.d.ts.map +1 -1
- package/dist/storage/ontology/in-memory/materializations.d.ts.map +1 -1
- package/dist/storage/ontology/in-memory/replacement-plans.d.ts.map +1 -1
- package/dist/storage/ontology/index.d.ts +1 -1
- package/dist/storage/ontology/index.d.ts.map +1 -1
- package/dist/storage/ontology/materializations.d.ts +20 -0
- package/dist/storage/ontology/materializations.d.ts.map +1 -1
- package/dist/storage/ontology/provider-work.d.ts +7 -1
- package/dist/storage/ontology/provider-work.d.ts.map +1 -1
- package/dist/storage/ontology/provider.js +1 -1
- package/dist/storage/pipeline-runs/in-memory.d.ts +8 -2
- package/dist/storage/pipeline-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/pipeline-runs/index.d.ts +1 -1
- package/dist/storage/pipeline-runs/index.d.ts.map +1 -1
- package/dist/storage/pipeline-runs/provider.js +1 -1
- package/dist/storage/pipeline-runs/transitions.d.ts +2 -2
- package/dist/storage/pipeline-runs/transitions.d.ts.map +1 -1
- package/dist/storage/pipeline-runs/types.d.ts +26 -6
- package/dist/storage/pipeline-runs/types.d.ts.map +1 -1
- package/dist/storage/projection-runs/errors.d.ts +6 -0
- package/dist/storage/projection-runs/errors.d.ts.map +1 -1
- package/dist/storage/projection-runs/in-memory.d.ts +5 -1
- package/dist/storage/projection-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/projection-runs/index.d.ts +2 -2
- package/dist/storage/projection-runs/index.d.ts.map +1 -1
- package/dist/storage/projection-runs/lifecycle.d.ts +1 -0
- package/dist/storage/projection-runs/lifecycle.d.ts.map +1 -1
- package/dist/storage/projection-runs/provider.js +2 -2
- package/dist/storage/projection-runs/types.d.ts +16 -0
- package/dist/storage/projection-runs/types.d.ts.map +1 -1
- package/dist/storage/run-claim.d.ts +132 -0
- package/dist/storage/run-claim.d.ts.map +1 -0
- package/dist/storage/share-grants/provider.js +3 -3
- package/dist/storage/share-sessions/in-memory.d.ts +2 -1
- package/dist/storage/share-sessions/in-memory.d.ts.map +1 -1
- package/dist/storage/share-sessions/index.d.ts +1 -1
- package/dist/storage/share-sessions/index.d.ts.map +1 -1
- package/dist/storage/share-sessions/provider.d.ts +1 -1
- package/dist/storage/share-sessions/provider.d.ts.map +1 -1
- package/dist/storage/share-sessions/provider.js +4 -2
- package/dist/storage/share-sessions/provider.js.map +1 -1
- package/dist/storage/share-sessions/record.d.ts +2 -1
- package/dist/storage/share-sessions/record.d.ts.map +1 -1
- package/dist/storage/share-sessions/types.d.ts +17 -1
- package/dist/storage/share-sessions/types.d.ts.map +1 -1
- package/dist/storage/sync-runs/in-memory.d.ts +10 -2
- package/dist/storage/sync-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/sync-runs/index.d.ts +1 -1
- package/dist/storage/sync-runs/index.d.ts.map +1 -1
- package/dist/storage/sync-runs/transitions.d.ts +2 -2
- package/dist/storage/sync-runs/transitions.d.ts.map +1 -1
- package/dist/storage/sync-runs/types.d.ts +29 -3
- package/dist/storage/sync-runs/types.d.ts.map +1 -1
- package/dist/storage/types.d.ts +12 -6
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/storage/webhook-runs/in-memory.d.ts +2 -1
- package/dist/storage/webhook-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/webhook-runs/index.d.ts +2 -2
- package/dist/storage/webhook-runs/index.d.ts.map +1 -1
- package/dist/storage/webhook-runs/types.d.ts +33 -2
- package/dist/storage/webhook-runs/types.d.ts.map +1 -1
- package/dist/storage/workflow-runs/in-memory.d.ts +6 -3
- package/dist/storage/workflow-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/workflow-runs/index.d.ts +1 -1
- package/dist/storage/workflow-runs/index.d.ts.map +1 -1
- package/dist/storage/workflow-runs/provider.js +12 -11
- package/dist/storage/workflow-runs/provider.js.map +1 -1
- package/dist/storage/workflow-runs/types.d.ts +11 -28
- package/dist/storage/workflow-runs/types.d.ts.map +1 -1
- package/dist/syncs/index.js +41 -38
- package/dist/syncs/index.js.map +1 -1
- package/dist/syncs/run-dispatch.d.ts +2 -0
- package/dist/syncs/run-dispatch.d.ts.map +1 -1
- package/dist/testing/agent-storage-contract.d.ts.map +1 -1
- package/dist/testing/ai-limit-storage-contract.d.ts.map +1 -1
- package/dist/testing/ai-model-call-groups-contract.d.ts.map +1 -1
- package/dist/testing/ai-usage-storage-contract.d.ts.map +1 -1
- package/dist/testing/artifact-holders-contract.d.ts +15 -0
- package/dist/testing/artifact-holders-contract.d.ts.map +1 -0
- package/dist/testing/artifact-storage-contract.d.ts.map +1 -1
- package/dist/testing/auth-storage-contract.d.ts.map +1 -1
- package/dist/testing/broker-contract.d.ts.map +1 -1
- package/dist/testing/connector-connection-storage-contract.d.ts +1 -1
- package/dist/testing/connector-connection-storage-contract.d.ts.map +1 -1
- package/dist/testing/dataset-ingest-storage-contract.d.ts +11 -0
- package/dist/testing/dataset-ingest-storage-contract.d.ts.map +1 -0
- package/dist/testing/dataset-sequence-contract.d.ts +1 -1
- package/dist/testing/dataset-sequence-contract.d.ts.map +1 -1
- package/dist/testing/execution.d.ts.map +1 -1
- package/dist/testing/index.d.ts +8 -0
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +6497 -3090
- package/dist/testing/index.js.map +32 -23
- package/dist/testing/lake-retention-run-storage-contract.d.ts +9 -0
- package/dist/testing/lake-retention-run-storage-contract.d.ts.map +1 -0
- package/dist/testing/maintenance-heartbeat-storage-contract.d.ts +9 -0
- package/dist/testing/maintenance-heartbeat-storage-contract.d.ts.map +1 -0
- package/dist/testing/object-conditional-read-scope-contract.d.ts.map +1 -1
- package/dist/testing/object-query-contract.d.ts.map +1 -1
- package/dist/testing/pipeline-execution.d.ts.map +1 -1
- package/dist/testing/pipeline-run-read-contract.d.ts +13 -0
- package/dist/testing/pipeline-run-read-contract.d.ts.map +1 -0
- package/dist/testing/projection-run-storage-contract.d.ts.map +1 -1
- package/dist/testing/queues-contract.d.ts.map +1 -1
- package/dist/testing/run-claim-storage-contract.d.ts +12 -0
- package/dist/testing/run-claim-storage-contract.d.ts.map +1 -0
- package/dist/testing/run-claim.d.ts +30 -0
- package/dist/testing/run-claim.d.ts.map +1 -0
- package/dist/testing/run-recovery-contract.d.ts +49 -0
- package/dist/testing/run-recovery-contract.d.ts.map +1 -0
- package/dist/testing/share-session-storage-contract.d.ts.map +1 -1
- package/dist/testing/stored-artifacts.d.ts +10 -0
- package/dist/testing/stored-artifacts.d.ts.map +1 -0
- package/dist/testing/sync-execution.d.ts.map +1 -1
- package/dist/testing/webhook-execution.d.ts +1 -1
- package/dist/testing/webhook-execution.d.ts.map +1 -1
- package/dist/testing/webhook-run-storage-contract.d.ts.map +1 -1
- package/dist/users/execution.d.ts +18 -1
- package/dist/users/execution.d.ts.map +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/users/index.d.ts.map +1 -1
- package/dist/webhooks/delivery-lease.d.ts +13 -0
- package/dist/webhooks/delivery-lease.d.ts.map +1 -0
- package/dist/webhooks/internal.d.ts +2 -0
- package/dist/webhooks/internal.d.ts.map +1 -1
- package/dist/webhooks/internal.js +72 -40
- package/dist/webhooks/internal.js.map +5 -4
- package/dist/webhooks/run-admission.d.ts.map +1 -1
- package/dist/workers/index.d.ts +5 -1
- package/dist/workers/index.d.ts.map +1 -1
- package/dist/workers/index.js +193 -58
- package/dist/workers/index.js.map +8 -7
- package/dist/workers/job-ids.d.ts +17 -0
- package/dist/workers/job-ids.d.ts.map +1 -0
- package/dist/workers/lost-projection-runs.d.ts +26 -0
- package/dist/workers/lost-projection-runs.d.ts.map +1 -0
- package/dist/workers/lost-runs.d.ts +51 -0
- package/dist/workers/lost-runs.d.ts.map +1 -0
- package/dist/workers/queue-delivery.d.ts.map +1 -1
- package/dist/workers/queue-worker.d.ts +1 -2
- package/dist/workers/queue-worker.d.ts.map +1 -1
- package/dist/workers/queued-run-dispatch.d.ts +90 -0
- package/dist/workers/queued-run-dispatch.d.ts.map +1 -0
- package/dist/workers/run-lease.d.ts +25 -0
- package/dist/workers/run-lease.d.ts.map +1 -0
- package/dist/workers/run-worker.d.ts +95 -0
- package/dist/workers/run-worker.d.ts.map +1 -0
- package/dist/workflows/index.js +68 -62
- package/dist/workflows/index.js.map +1 -1
- package/dist/workflows/request.d.ts.map +1 -1
- package/dist/workflows/run-dispatch.d.ts +6 -1
- package/dist/workflows/run-dispatch.d.ts.map +1 -1
- package/package.json +41 -3
- package/src/actions/request.ts +24 -7
- package/src/actions/run/executor.ts +9 -42
- package/src/actions/types/context.ts +8 -3
- package/src/agents/README.md +2 -1
- package/src/agents/cancel.ts +7 -1
- package/src/agents/execution.ts +10 -2
- package/src/agents/fork.ts +12 -4
- package/src/agents/index.ts +16 -2
- package/src/agents/request.ts +42 -31
- package/src/agents/run-artifacts.ts +290 -46
- package/src/agents/run-plan.ts +31 -0
- package/src/agents/run-session-http.ts +19 -12
- package/src/agents/run-session-serve.ts +18 -2
- package/src/agents/run-session.ts +39 -12
- package/src/agents/skills.ts +3 -0
- package/src/agents/step-limits.ts +6 -0
- package/src/agents/streams/protocol.ts +14 -14
- package/src/agents/tool-files.ts +11 -3
- package/src/agents/validation.ts +12 -0
- package/src/agents/web.ts +218 -0
- package/src/artifacts/access.ts +71 -28
- package/src/artifacts/canvas-display.ts +160 -0
- package/src/artifacts/canvas.ts +26 -1
- package/src/artifacts/comment-text.ts +32 -0
- package/src/artifacts/comments.ts +275 -0
- package/src/artifacts/errors.ts +6 -1
- package/src/artifacts/events.ts +58 -0
- package/src/artifacts/execution.ts +496 -53
- package/src/artifacts/frames/assets.ts +20 -1
- package/src/artifacts/frames/grants.ts +31 -10
- package/src/artifacts/frames/index.ts +2 -0
- package/src/artifacts/frames/kit.ts +8 -5
- package/src/artifacts/frames/protocol.ts +149 -0
- package/src/artifacts/frames/runtime.ts +317 -29
- package/src/artifacts/holders.ts +120 -0
- package/src/artifacts/ids.ts +8 -0
- package/src/artifacts/index.ts +28 -2
- package/src/artifacts/limits.ts +28 -4
- package/src/artifacts/live/board.ts +759 -0
- package/src/artifacts/live/diff.ts +297 -0
- package/src/artifacts/live/document.ts +354 -0
- package/src/artifacts/live/files.ts +82 -0
- package/src/artifacts/live/index.ts +50 -0
- package/src/artifacts/live/presence.ts +144 -0
- package/src/artifacts/live/protocol.ts +134 -0
- package/src/artifacts/live/server.ts +16 -0
- package/src/artifacts/live/state.ts +115 -0
- package/src/artifacts/outline.ts +12 -0
- package/src/artifacts/publish/index.ts +26 -1
- package/src/artifacts/publish/merge.ts +271 -0
- package/src/artifacts/publish/previews.ts +485 -0
- package/src/artifacts/publish/publish.ts +92 -39
- package/src/artifacts/publish/query-answers.ts +85 -0
- package/src/artifacts/publish/references.ts +10 -4
- package/src/artifacts/publish/validate/canvas.ts +133 -1
- package/src/artifacts/theme.ts +9 -1
- package/src/auth/directory.ts +166 -0
- package/src/auth/member-events.ts +10 -3
- package/src/auth/runtime.ts +108 -8
- package/src/auth/strategy.ts +3 -1
- package/src/auth/types.ts +44 -0
- package/src/authorization/decision.ts +6 -5
- package/src/authorization/event-visibility.ts +4 -0
- package/src/authorization/resolve.ts +9 -11
- package/src/authorization/types.ts +5 -5
- package/src/broker/in-memory.ts +33 -6
- package/src/broker/types.ts +4 -0
- package/src/connectors/builders.ts +34 -2
- package/src/connectors/connections/access.ts +83 -0
- package/src/connectors/connections/contracts.ts +6 -1
- package/src/connectors/connections/execution.ts +2 -2
- package/src/connectors/connections/runs.ts +93 -7
- package/src/connectors/connections/service.ts +208 -41
- package/src/connectors/connections/views.ts +11 -4
- package/src/connectors/execution.ts +27 -3
- package/src/connectors/index.ts +2 -0
- package/src/connectors/service.ts +12 -0
- package/src/connectors/types.ts +37 -2
- package/src/datasets/execution.ts +74 -37
- package/src/datasets/ingest-flush-batch.ts +289 -0
- package/src/datasets/ingest-flush-job.ts +112 -0
- package/src/datasets/ingest-flush.ts +377 -0
- package/src/datasets/produced-version.ts +55 -0
- package/src/datasets/write.ts +65 -11
- package/src/deploy/services.ts +1 -1
- package/src/deploy/types.ts +2 -3
- package/src/deploy/validation.ts +1 -0
- package/src/error-reporting/capability.ts +66 -0
- package/src/error-reporting/internal.ts +12 -0
- package/src/error-reporting/reporter.ts +11 -35
- package/src/error-reporting/reports.ts +167 -0
- package/src/error-reporting/types.ts +99 -0
- package/src/errors/catalog.ts +6 -0
- package/src/events/definitions.ts +14 -0
- package/src/events/execution.ts +77 -28
- package/src/events/index.ts +3 -0
- package/src/events/scope.ts +2 -0
- package/src/events/types/artifacts.ts +40 -0
- package/src/events/types/index.ts +3 -0
- package/src/events/types/users.ts +5 -2
- package/src/execution/authorized-object-reader.ts +34 -0
- package/src/execution/object-reader-clearance.ts +31 -0
- package/src/execution/object-reader-security.ts +37 -22
- package/src/http/api-routes.ts +105 -4
- package/src/index.ts +24 -4
- package/src/lake-storage/errors.ts +21 -0
- package/src/lake-storage/index.ts +9 -1
- package/src/lake-storage/maintenance.ts +93 -0
- package/src/lake-storage/merge.ts +3 -1
- package/src/lake-storage/source-ordering.ts +28 -2
- package/src/lake-storage/types.ts +14 -0
- package/src/maintenance/heartbeat.ts +14 -0
- package/src/maintenance/index.ts +5 -3
- package/src/maintenance/lake-retention-status.ts +81 -0
- package/src/maintenance/lake-retention.ts +347 -0
- package/src/maintenance/loop.ts +365 -0
- package/src/maintenance/ontology-maintenance.ts +76 -229
- package/src/maintenance/passes/cron-pass.ts +217 -0
- package/src/maintenance/passes/directory-pass.ts +22 -0
- package/src/maintenance/passes/ingest-pass.ts +94 -0
- package/src/maintenance/passes/lake-change-feed.ts +112 -0
- package/src/maintenance/passes/lake-retention-pass.ts +71 -0
- package/src/maintenance/passes/ontology-pass.ts +19 -0
- package/src/maintenance/passes/projections-pass.ts +238 -0
- package/src/maintenance/passes/recovery-pass.ts +17 -0
- package/src/maintenance/passes/recovery-passes.ts +39 -0
- package/src/maintenance/passes/runs-pass.ts +12 -0
- package/src/maintenance/passes/triggers-pass.ts +332 -0
- package/src/maintenance/status.ts +75 -0
- package/src/maintenance/types.ts +27 -25
- package/src/materialization/model.ts +33 -21
- package/src/materializer/README.md +13 -2
- package/src/materializer/edits/artifact-refs.ts +140 -0
- package/src/materializer/edits/commit.ts +20 -7
- package/src/materializer/edits/operations.ts +23 -7
- package/src/materializer/edits/plan.ts +2 -0
- package/src/materializer/execution/work-records.ts +61 -0
- package/src/materializer/projections/replacement-plan.ts +2 -0
- package/src/materializer/shared/normalize.ts +14 -0
- package/src/materializer/telemetry/plan.ts +2 -0
- package/src/models/catalog.ts +52 -3
- package/src/models/definitions.ts +2 -0
- package/src/models/execution/README.md +22 -2
- package/src/models/execution/model-call-recorder.ts +1 -1
- package/src/models/execution/web-search.ts +186 -0
- package/src/models/index.ts +12 -0
- package/src/models/language-model.ts +12 -0
- package/src/models/web-search-model.ts +152 -0
- package/src/objects/artifact-refs.ts +34 -0
- package/src/objects/materializer-adapter.ts +8 -3
- package/src/objects/object/upsert-batch.ts +7 -0
- package/src/objects/object/upsert.ts +11 -2
- package/src/objects/query/executor.ts +7 -3
- package/src/objects/query/index.ts +1 -0
- package/src/objects/query/ir.ts +2 -0
- package/src/objects/query/scalar-values.ts +5 -3
- package/src/objects/query/sort-ties.ts +16 -0
- package/src/objects/runtime-batch.ts +8 -1
- package/src/objects/vectors/README.md +4 -4
- package/src/ontology/artifact-ref.ts +83 -0
- package/src/ontology/docs-markdown.ts +17 -0
- package/src/ontology/index.ts +3 -1
- package/src/ontology/inference/index.ts +2 -0
- package/src/ontology/json-schema.ts +13 -0
- package/src/ontology/primitives.ts +14 -0
- package/src/ontology/reference-values.ts +62 -0
- package/src/ontology/refs.ts +7 -1
- package/src/ontology/registry.ts +26 -1
- package/src/ontology/types.ts +2 -0
- package/src/ontology/user-ref.ts +35 -45
- package/src/ontology/validation/normalize.ts +13 -0
- package/src/ontology/validation/properties.ts +9 -0
- package/src/ontology/validation/schema.ts +12 -0
- package/src/pending-tasks.ts +51 -0
- package/src/pipelines/run-dispatch.ts +120 -238
- package/src/predicates/types.ts +2 -1
- package/src/projections/builders.ts +28 -13
- package/src/projections/run-dispatch.ts +1 -1
- package/src/projections/types.ts +1 -1
- package/src/projections/validation.ts +22 -8
- package/src/queues/in-memory.ts +50 -3
- package/src/queues/index.ts +4 -0
- package/src/queues/types.ts +68 -1
- package/src/runtime/create.ts +7 -2
- package/src/runtime/host.ts +118 -13
- package/src/runtime/index.ts +0 -1
- package/src/runtime/internal.ts +13 -0
- package/src/runtime/ontology-mutations.ts +1 -1
- package/src/runtime/resolve-definitions.ts +4 -0
- package/src/runtime/sixb.ts +14 -5
- package/src/scheduler/index.ts +0 -2
- package/src/security/index.ts +1 -0
- package/src/security/registry.ts +2 -0
- package/src/security/view-conditions.ts +4 -3
- package/src/security/visibility-keys.ts +144 -0
- package/src/shared/backoff.ts +34 -0
- package/src/shared/duration.ts +15 -0
- package/src/shared/params/artifact-refs.ts +42 -0
- package/src/shares/compiler.ts +1 -1
- package/src/shares/guest-name.ts +20 -0
- package/src/shares/internal.ts +1 -0
- package/src/shares/session-protocol.ts +63 -0
- package/src/storage/agents/in-memory.ts +29 -2
- package/src/storage/agents/index.ts +2 -0
- package/src/storage/agents/provider.ts +57 -1
- package/src/storage/agents/types.ts +45 -2
- package/src/storage/artifacts/errors.ts +10 -2
- package/src/storage/artifacts/in-memory.ts +579 -96
- package/src/storage/artifacts/index.ts +22 -1
- package/src/storage/artifacts/record.ts +255 -11
- package/src/storage/artifacts/types.ts +343 -40
- package/src/storage/auth/in-memory/auth-storage.ts +42 -5
- package/src/storage/auth/in-memory/identities.ts +16 -0
- package/src/storage/auth/in-memory/shared.ts +15 -0
- package/src/storage/auth/in-memory/users.ts +17 -16
- package/src/storage/auth/index.ts +3 -0
- package/src/storage/auth/types.ts +38 -0
- package/src/storage/connector-connections/in-memory.ts +6 -3
- package/src/storage/connector-connections/index.ts +1 -0
- package/src/storage/connector-connections/provider/connections.ts +2 -2
- package/src/storage/connector-connections/provider/runs.ts +3 -0
- package/src/storage/connector-connections/provider/shared.ts +30 -0
- package/src/storage/connector-connections/provider.ts +4 -0
- package/src/storage/connector-connections/types.ts +1 -0
- package/src/storage/dataset-ingest/codec.ts +90 -0
- package/src/storage/dataset-ingest/in-memory.ts +277 -0
- package/src/storage/dataset-ingest/index.ts +16 -0
- package/src/storage/dataset-ingest/provider.ts +592 -0
- package/src/storage/dataset-ingest/types.ts +191 -0
- package/src/storage/in-memory/index.ts +33 -0
- package/src/storage/index.ts +69 -5
- package/src/storage/internal.ts +20 -0
- package/src/storage/lake-retention-runs/in-memory.ts +22 -0
- package/src/storage/lake-retention-runs/index.ts +2 -0
- package/src/storage/lake-retention-runs/types.ts +19 -0
- package/src/storage/maintenance-heartbeats/in-memory.ts +24 -0
- package/src/storage/maintenance-heartbeats/index.ts +7 -0
- package/src/storage/maintenance-heartbeats/record.ts +50 -0
- package/src/storage/maintenance-heartbeats/types.ts +30 -0
- package/src/storage/migrations/types.ts +6 -0
- package/src/storage/objects/in-memory/query.ts +6 -2
- package/src/storage/objects/in-memory/storage.ts +81 -0
- package/src/storage/objects/index.ts +2 -0
- package/src/storage/objects/query-preparation.ts +59 -1
- package/src/storage/objects/read-scope.ts +109 -2
- package/src/storage/objects/types.ts +59 -1
- package/src/storage/ontology/in-memory/materializations.ts +8 -0
- package/src/storage/ontology/in-memory/replacement-plans.ts +4 -1
- package/src/storage/ontology/index.ts +2 -0
- package/src/storage/ontology/materializations.ts +18 -0
- package/src/storage/ontology/provider-work.ts +39 -0
- package/src/storage/pipeline-runs/in-memory.ts +97 -24
- package/src/storage/pipeline-runs/index.ts +0 -1
- package/src/storage/pipeline-runs/provider.ts +1 -1
- package/src/storage/pipeline-runs/transitions.ts +7 -4
- package/src/storage/pipeline-runs/types.ts +33 -7
- package/src/storage/projection-runs/errors.ts +10 -0
- package/src/storage/projection-runs/in-memory.ts +56 -1
- package/src/storage/projection-runs/index.ts +2 -1
- package/src/storage/projection-runs/lifecycle.ts +9 -1
- package/src/storage/projection-runs/types.ts +20 -1
- package/src/storage/run-claim.ts +224 -0
- package/src/storage/share-sessions/in-memory.ts +21 -0
- package/src/storage/share-sessions/index.ts +1 -0
- package/src/storage/share-sessions/provider.ts +1 -0
- package/src/storage/share-sessions/record.ts +28 -0
- package/src/storage/share-sessions/types.ts +19 -1
- package/src/storage/sync-runs/in-memory.ts +109 -29
- package/src/storage/sync-runs/index.ts +1 -1
- package/src/storage/sync-runs/transitions.ts +7 -4
- package/src/storage/sync-runs/types.ts +36 -3
- package/src/storage/types.ts +15 -5
- package/src/storage/webhook-runs/in-memory.ts +26 -2
- package/src/storage/webhook-runs/index.ts +3 -1
- package/src/storage/webhook-runs/types.ts +44 -3
- package/src/storage/workflow-runs/in-memory.ts +50 -36
- package/src/storage/workflow-runs/index.ts +0 -2
- package/src/storage/workflow-runs/types.ts +18 -30
- package/src/syncs/run-dispatch.ts +118 -239
- package/src/testing/agent-storage-contract.ts +70 -0
- package/src/testing/ai-limit-storage-contract.ts +11 -1
- package/src/testing/ai-model-call-groups-contract.ts +2 -1
- package/src/testing/ai-usage-storage-contract.ts +15 -2
- package/src/testing/artifact-holders-contract.ts +392 -0
- package/src/testing/artifact-storage-contract.ts +1205 -151
- package/src/testing/auth-storage-contract.ts +228 -1
- package/src/testing/broker-contract.ts +56 -0
- package/src/testing/connector-connection-storage-contract.ts +117 -5
- package/src/testing/dataset-ingest-storage-contract.ts +480 -0
- package/src/testing/dataset-sequence-contract.ts +97 -12
- package/src/testing/execution.ts +23 -0
- package/src/testing/index.ts +31 -0
- package/src/testing/lake-retention-run-storage-contract.ts +75 -0
- package/src/testing/maintenance-heartbeat-storage-contract.ts +99 -0
- package/src/testing/object-conditional-read-scope-contract.ts +267 -5
- package/src/testing/object-query-contract.ts +168 -0
- package/src/testing/pipeline-execution.ts +3 -1
- package/src/testing/pipeline-run-read-contract.ts +123 -0
- package/src/testing/projection-run-storage-contract.ts +113 -0
- package/src/testing/queues-contract.ts +112 -0
- package/src/testing/run-claim-storage-contract.ts +736 -0
- package/src/testing/run-claim.ts +69 -0
- package/src/testing/run-recovery-contract.ts +176 -0
- package/src/testing/share-session-storage-contract.ts +43 -0
- package/src/testing/stored-artifacts.ts +43 -0
- package/src/testing/sync-execution.ts +3 -1
- package/src/testing/webhook-execution.ts +7 -2
- package/src/testing/webhook-run-storage-contract.ts +102 -5
- package/src/users/execution.ts +50 -2
- package/src/users/index.ts +1 -0
- package/src/webhooks/delivery-lease.ts +40 -0
- package/src/webhooks/internal.ts +2 -0
- package/src/webhooks/run-admission.ts +22 -9
- package/src/workers/README.md +169 -0
- package/src/workers/index.ts +9 -1
- package/src/workers/job-ids.ts +31 -0
- package/src/workers/lost-projection-runs.ts +114 -0
- package/src/workers/lost-runs.ts +397 -0
- package/src/workers/queue-delivery.ts +2 -14
- package/src/workers/queue-worker.ts +9 -17
- package/src/workers/queued-run-dispatch.ts +308 -0
- package/src/workers/run-lease.ts +46 -0
- package/src/workers/run-worker.ts +312 -0
- package/src/workers/worker.ts +4 -17
- package/src/workflows/request.ts +2 -0
- package/src/workflows/run-dispatch.ts +22 -4
- package/src/workflows/snapshot.ts +1 -0
- package/dist/chunk-2g0r46hy.js.map +0 -12
- package/dist/chunk-3fqxbn31.js +0 -107
- package/dist/chunk-3fqxbn31.js.map +0 -11
- package/dist/chunk-3x3bebz7.js.map +0 -49
- package/dist/chunk-5kyvrtjh.js.map +0 -12
- package/dist/chunk-5taem5aw.js.map +0 -10
- package/dist/chunk-65abf64x.js +0 -13
- package/dist/chunk-65abf64x.js.map +0 -10
- package/dist/chunk-9x8dybsb.js.map +0 -10
- package/dist/chunk-aqyjb86c.js +0 -587
- package/dist/chunk-aqyjb86c.js.map +0 -18
- package/dist/chunk-az47zep4.js +0 -41
- package/dist/chunk-az47zep4.js.map +0 -10
- package/dist/chunk-cb21tx14.js.map +0 -71
- package/dist/chunk-djs3hw9p.js.map +0 -20
- package/dist/chunk-e5wf5vz0.js.map +0 -10
- package/dist/chunk-e6xgz4h4.js.map +0 -21
- package/dist/chunk-e7v3trpz.js.map +0 -10
- package/dist/chunk-edx8xcsm.js.map +0 -13
- package/dist/chunk-epyfm23v.js +0 -299
- package/dist/chunk-epyfm23v.js.map +0 -11
- package/dist/chunk-fb3feg1e.js +0 -298
- package/dist/chunk-fb3feg1e.js.map +0 -12
- package/dist/chunk-fg1db9xx.js.map +0 -10
- package/dist/chunk-h05rg3bx.js +0 -314
- package/dist/chunk-h05rg3bx.js.map +0 -12
- package/dist/chunk-hz5d43gn.js.map +0 -10
- package/dist/chunk-jbw70d6t.js.map +0 -10
- package/dist/chunk-jftd33rc.js.map +0 -11
- package/dist/chunk-jk97v21j.js.map +0 -10
- package/dist/chunk-jspskey0.js.map +0 -10
- package/dist/chunk-kfee1h52.js.map +0 -13
- package/dist/chunk-ks87m383.js.map +0 -44
- package/dist/chunk-kwfhd1g0.js +0 -144
- package/dist/chunk-kwfhd1g0.js.map +0 -13
- package/dist/chunk-nz7815t3.js.map +0 -14
- package/dist/chunk-ratj7t3t.js.map +0 -45
- package/dist/chunk-s3we74h8.js.map +0 -12
- package/dist/chunk-scyq22td.js.map +0 -12
- package/dist/chunk-t9xyr7y9.js.map +0 -22
- package/dist/chunk-tvbmh7tj.js.map +0 -18
- package/dist/chunk-tvefbgvw.js.map +0 -11
- package/dist/chunk-w976a4me.js.map +0 -10
- package/dist/chunk-yw9pyg66.js +0 -143
- package/dist/chunk-yw9pyg66.js.map +0 -11
- package/dist/chunk-z8fx5cgb.js.map +0 -11
- package/dist/scheduler/runtime.d.ts +0 -40
- package/dist/scheduler/runtime.d.ts.map +0 -1
- package/dist/workers/unstarted-run.d.ts +0 -10
- package/dist/workers/unstarted-run.d.ts.map +0 -1
- package/src/scheduler/runtime.ts +0 -214
- package/src/workers/unstarted-run.ts +0 -18
- /package/dist/{chunk-2pk5hjj9.js.map → chunk-186k5yz3.js.map} +0 -0
- /package/dist/{chunk-nghc7eq0.js.map → chunk-3723kgba.js.map} +0 -0
- /package/dist/{chunk-ytzcxtpt.js.map → chunk-3ba89vm7.js.map} +0 -0
- /package/dist/{chunk-qsg8rw04.js.map → chunk-5qqmndhm.js.map} +0 -0
- /package/dist/{chunk-8wsjr52f.js.map → chunk-7qe46788.js.map} +0 -0
- /package/dist/{chunk-23s66j86.js.map → chunk-855w9nvw.js.map} +0 -0
- /package/dist/{chunk-qbrmpgvv.js.map → chunk-8tqnsx3q.js.map} +0 -0
- /package/dist/{chunk-s038wa5v.js.map → chunk-b9qfh2ya.js.map} +0 -0
- /package/dist/{chunk-7hd2ez3q.js.map → chunk-c4nrycdy.js.map} +0 -0
- /package/dist/{chunk-jjmggm9a.js.map → chunk-fe6r7yhg.js.map} +0 -0
- /package/dist/{chunk-165c9wm6.js.map → chunk-g2ph4873.js.map} +0 -0
- /package/dist/{chunk-jhbk10wf.js.map → chunk-q9nkpr8k.js.map} +0 -0
- /package/dist/{chunk-4zm1k3xj.js.map → chunk-r2psmn42.js.map} +0 -0
- /package/dist/{chunk-r1cxq7vv.js.map → chunk-rtdrm592.js.map} +0 -0
- /package/dist/{chunk-m3qe54bb.js.map → chunk-smnt672s.js.map} +0 -0
- /package/dist/{chunk-21q0j5f2.js.map → chunk-stmxh0hv.js.map} +0 -0
- /package/dist/{chunk-ff5xkv0p.js.map → chunk-tfzvjdms.js.map} +0 -0
- /package/dist/{chunk-6b61s40c.js.map → chunk-w3t94hm6.js.map} +0 -0
- /package/dist/{chunk-agn8d8ys.js.map → chunk-xtztwpkh.js.map} +0 -0
- /package/dist/{chunk-0g5nyx0k.js.map → chunk-zeykm8my.js.map} +0 -0
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createArtifactId
|
|
4
|
+
} from "./chunk-kr6dx38r.js";
|
|
2
5
|
import {
|
|
3
6
|
collectUserRefIds,
|
|
4
7
|
userReferenceProblem
|
|
5
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7j4yydm2.js";
|
|
6
9
|
import {
|
|
7
10
|
canonicalMediaType2,
|
|
8
11
|
isFileRef2,
|
|
@@ -14,6 +17,8 @@ import {
|
|
|
14
17
|
withFailureMessage2
|
|
15
18
|
} from "./chunk-6eqsgvxk.js";
|
|
16
19
|
import {
|
|
20
|
+
collectArtifactRefIds,
|
|
21
|
+
artifactReferenceProblem,
|
|
17
22
|
assertValidFileRefs2,
|
|
18
23
|
isRecord2,
|
|
19
24
|
normalizeObjectProperties2,
|
|
@@ -30,11 +35,32 @@ import {
|
|
|
30
35
|
normalizeLinkProperties2,
|
|
31
36
|
validateLinkProperties2,
|
|
32
37
|
assertTelemetryProperty2
|
|
33
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3zagkr6w.js";
|
|
34
39
|
import {
|
|
35
40
|
isObjectRefSchema2,
|
|
36
41
|
validateSchemaOrRefValue2
|
|
37
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-8a8k38tz.js";
|
|
43
|
+
import {
|
|
44
|
+
ActionDefinitionError2,
|
|
45
|
+
missingActionMutationMessage,
|
|
46
|
+
effectsWithoutEditsMessage,
|
|
47
|
+
assertNonEmpty2,
|
|
48
|
+
isActionDefinition2,
|
|
49
|
+
isObjectActionDefinition2,
|
|
50
|
+
normalizeActionParams,
|
|
51
|
+
coerceActionParamsToTyped,
|
|
52
|
+
validateActionSubject,
|
|
53
|
+
resolveObjectActionSubject,
|
|
54
|
+
getRequestClientAddress2,
|
|
55
|
+
INDEXING_EMBEDDING_TIMEOUT_MS,
|
|
56
|
+
vectorConfiguration,
|
|
57
|
+
vectorSources,
|
|
58
|
+
normalizeVector2,
|
|
59
|
+
validateObjectQuery2,
|
|
60
|
+
createUsersRuntime,
|
|
61
|
+
SYSTEM_PRINCIPAL2,
|
|
62
|
+
principalsEqual2
|
|
63
|
+
} from "./chunk-0k3r5kb3.js";
|
|
38
64
|
import {
|
|
39
65
|
ActionValidationError2,
|
|
40
66
|
SIXB_ERROR_CODES2,
|
|
@@ -43,7 +69,7 @@ import {
|
|
|
43
69
|
isSixbError2,
|
|
44
70
|
toSixbFailure2,
|
|
45
71
|
summarizeErrorMessage2
|
|
46
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-mvz89age.js";
|
|
47
73
|
import {
|
|
48
74
|
agentServiceAccountId2,
|
|
49
75
|
ObjectReadLimitExceededError2,
|
|
@@ -59,7 +85,6 @@ import {
|
|
|
59
85
|
assertRuntimeAuthorizationBound2,
|
|
60
86
|
assertCanEdit2,
|
|
61
87
|
assertCanAppendTelemetry2,
|
|
62
|
-
assertCanManageConnector2,
|
|
63
88
|
assertPrivileged2,
|
|
64
89
|
assertProviderAccess2,
|
|
65
90
|
assertModelAccess2,
|
|
@@ -72,39 +97,25 @@ import {
|
|
|
72
97
|
canViewProjectionRun2,
|
|
73
98
|
canViewPrimitiveRun2,
|
|
74
99
|
canViewProjection2
|
|
75
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-vzkxqf8h.js";
|
|
76
101
|
import {
|
|
77
102
|
compileSelectedObjectReadScope2
|
|
78
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-rt9deb92.js";
|
|
79
104
|
import {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
normalizeActionParams,
|
|
87
|
-
coerceActionParamsToTyped,
|
|
88
|
-
validateActionSubject,
|
|
89
|
-
resolveObjectActionSubject,
|
|
90
|
-
getRequestClientAddress2,
|
|
91
|
-
INDEXING_EMBEDDING_TIMEOUT_MS,
|
|
92
|
-
vectorConfiguration,
|
|
93
|
-
vectorSources,
|
|
94
|
-
normalizeVector2,
|
|
95
|
-
validateObjectQuery2,
|
|
96
|
-
createUsersRuntime,
|
|
97
|
-
SYSTEM_PRINCIPAL2,
|
|
98
|
-
principalsEqual2
|
|
99
|
-
} from "./chunk-3x3bebz7.js";
|
|
105
|
+
missingClearanceRedactions,
|
|
106
|
+
WorkflowRunError2,
|
|
107
|
+
resolveAgentExecutionAuthorization2,
|
|
108
|
+
userCanRunAgent2,
|
|
109
|
+
resolveInheritedAgentExecutionAuthorization2
|
|
110
|
+
} from "./chunk-p351afzm.js";
|
|
100
111
|
import {
|
|
101
112
|
ACTION_RUN_FAILURE_CODES2,
|
|
102
113
|
parseActionRunFailure2
|
|
103
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-g2ph4873.js";
|
|
104
115
|
import {
|
|
105
116
|
isModelReasoning2,
|
|
106
117
|
modelReasoningSupportIssue2
|
|
107
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-az95tsh3.js";
|
|
108
119
|
import {
|
|
109
120
|
TranscriptionModelResponseError2,
|
|
110
121
|
SpeechModelResponseError2,
|
|
@@ -125,7 +136,7 @@ import {
|
|
|
125
136
|
question2,
|
|
126
137
|
ImageModelResponseError2,
|
|
127
138
|
estimateModelCall
|
|
128
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-qttqe1ah.js";
|
|
129
140
|
import {
|
|
130
141
|
AgentStorageError2,
|
|
131
142
|
createAgentThreadId2,
|
|
@@ -136,12 +147,12 @@ import {
|
|
|
136
147
|
movesComputerPlace2,
|
|
137
148
|
isAgentApprovalMode2,
|
|
138
149
|
agentApprovalHoldsRun2
|
|
139
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-7z5rkf0m.js";
|
|
140
151
|
import {
|
|
141
152
|
actionRunRequestsEqual,
|
|
142
153
|
ObjectNotFoundError2,
|
|
143
154
|
ArtifactStorageError
|
|
144
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-3014rfjz.js";
|
|
145
156
|
import {
|
|
146
157
|
ExecutionStorageError2
|
|
147
158
|
} from "./chunk-eptrvnby.js";
|
|
@@ -155,17 +166,10 @@ import {
|
|
|
155
166
|
objectBatchKey2,
|
|
156
167
|
matchesPredicate,
|
|
157
168
|
WORKFLOW_RUN_FAILURE_CODES2
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import {
|
|
160
|
-
WorkflowRunError2,
|
|
161
|
-
missingClearanceRedactions,
|
|
162
|
-
resolveAgentExecutionAuthorization2,
|
|
163
|
-
userCanRunAgent2,
|
|
164
|
-
resolveInheritedAgentExecutionAuthorization2
|
|
165
|
-
} from "./chunk-neftrg0n.js";
|
|
169
|
+
} from "./chunk-2by73sm2.js";
|
|
166
170
|
import {
|
|
167
171
|
explainObjectQuery2
|
|
168
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-8p7bze4c.js";
|
|
169
173
|
import {
|
|
170
174
|
redactDomainEvent,
|
|
171
175
|
uniqueLookupKeyOf,
|
|
@@ -174,12 +178,24 @@ import {
|
|
|
174
178
|
readerClearance,
|
|
175
179
|
readerEventClearance,
|
|
176
180
|
readerViewConditions
|
|
177
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-26qet7wh.js";
|
|
182
|
+
import {
|
|
183
|
+
createAgentThreadAccessRule,
|
|
184
|
+
assertConversationThread2,
|
|
185
|
+
agentThreadViews,
|
|
186
|
+
announceArtifactUpdates,
|
|
187
|
+
undoneTurnDocuments,
|
|
188
|
+
boardPreviewsOfCopy,
|
|
189
|
+
createRuntimeArtifactAccessRule,
|
|
190
|
+
transactionArtifactAccessRules,
|
|
191
|
+
updatableArtifactIds,
|
|
192
|
+
createArtifactsRuntime
|
|
193
|
+
} from "./chunk-w9s23r24.js";
|
|
178
194
|
import {
|
|
179
195
|
shareSixbErrorReporter2,
|
|
180
196
|
reportActionPhaseFailure2,
|
|
181
197
|
reportRunFailure2
|
|
182
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-czct88ht.js";
|
|
183
199
|
import {
|
|
184
200
|
getOntologyMutationRuntime2,
|
|
185
201
|
shareOntologyMutationRuntime2,
|
|
@@ -196,30 +212,20 @@ import {
|
|
|
196
212
|
createActivityCaptureRuntime,
|
|
197
213
|
registerActivityCaptureRuntime,
|
|
198
214
|
ModelExecutionSession
|
|
199
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-6gtxshcc.js";
|
|
200
216
|
import {
|
|
201
217
|
publishAgentThreadMoved2,
|
|
202
218
|
publishAgentApprovalActivity,
|
|
203
219
|
publishAgentRunActivity2,
|
|
204
220
|
publishAgentRunCancel2,
|
|
205
221
|
publishAgentRunFinished2
|
|
206
|
-
} from "./chunk-
|
|
207
|
-
import {
|
|
208
|
-
createArtifactId
|
|
209
|
-
} from "./chunk-3fqxbn31.js";
|
|
210
|
-
import {
|
|
211
|
-
createAgentThreadAccessRule,
|
|
212
|
-
assertConversationThread2,
|
|
213
|
-
agentThreadViews,
|
|
214
|
-
createRuntimeArtifactAccessRule,
|
|
215
|
-
createArtifactsRuntime
|
|
216
|
-
} from "./chunk-t9xyr7y9.js";
|
|
222
|
+
} from "./chunk-48c1z8nj.js";
|
|
217
223
|
import {
|
|
218
224
|
aiLimitSubjectsFromAttribution2,
|
|
219
225
|
applicableAiLimitPolicyStatuses2,
|
|
220
226
|
aiUsageLimitExceededError2,
|
|
221
227
|
aiUsageLimitUnavailableError2
|
|
222
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-5qqmndhm.js";
|
|
223
229
|
import {
|
|
224
230
|
normalizeAgentContextEntries2
|
|
225
231
|
} from "./chunk-sgx82nnt.js";
|
|
@@ -232,16 +238,24 @@ import {
|
|
|
232
238
|
} from "./chunk-5a4a52tq.js";
|
|
233
239
|
import {
|
|
234
240
|
createConnectorRuntime
|
|
235
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-wa05txmk.js";
|
|
242
|
+
import {
|
|
243
|
+
DatasetValidationError2
|
|
244
|
+
} from "./chunk-wx7smkn2.js";
|
|
236
245
|
import {
|
|
237
|
-
|
|
238
|
-
|
|
246
|
+
lakeDatasetDefinition2,
|
|
247
|
+
validateDatasetMergeChanges2
|
|
248
|
+
} from "./chunk-ppxf7gw2.js";
|
|
249
|
+
import {
|
|
250
|
+
datasetDefinitionHash,
|
|
251
|
+
tryEnqueueIngestFlush
|
|
252
|
+
} from "./chunk-191jz8a6.js";
|
|
239
253
|
import {
|
|
240
254
|
AI_MODEL_CALL_OUTPUT_TOKEN_ALLOWANCE,
|
|
241
255
|
aiModelCallOutputTokenAllowance,
|
|
242
256
|
ModelUsageRecordingError2,
|
|
243
257
|
LanguageModelCallMeter
|
|
244
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-k66rp2hr.js";
|
|
245
259
|
import {
|
|
246
260
|
createLinkScopeFingerprint2,
|
|
247
261
|
normalizeJsonProperties2,
|
|
@@ -251,7 +265,7 @@ import {
|
|
|
251
265
|
resolveEffectiveLink,
|
|
252
266
|
resolveEffectiveLinkSlotMember,
|
|
253
267
|
linkCardinality
|
|
254
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-4j0sagwv.js";
|
|
255
269
|
import {
|
|
256
270
|
resolveLoggingService2
|
|
257
271
|
} from "./chunk-1vg43g9q.js";
|
|
@@ -262,49 +276,55 @@ import {
|
|
|
262
276
|
import {
|
|
263
277
|
SyncValidationError2,
|
|
264
278
|
requestSyncRun2
|
|
265
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-m7b9q5dk.js";
|
|
280
|
+
import {
|
|
281
|
+
compileShareAccessPlan
|
|
282
|
+
} from "./chunk-n68vz95m.js";
|
|
283
|
+
import {
|
|
284
|
+
createObjectQueryBuilder2,
|
|
285
|
+
decorateObjectQueryExecutor
|
|
286
|
+
} from "./chunk-80nh73br.js";
|
|
266
287
|
import {
|
|
267
288
|
SandboxError2,
|
|
268
289
|
sandboxCredentialIssue2,
|
|
269
290
|
staticSandboxRecipe2
|
|
270
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-rtdrm592.js";
|
|
271
292
|
import {
|
|
272
|
-
|
|
273
|
-
} from "./chunk-
|
|
293
|
+
resolveLanguageModel2
|
|
294
|
+
} from "./chunk-3723kgba.js";
|
|
274
295
|
import {
|
|
275
296
|
schemaRecordToJsonSchema2
|
|
276
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-0kgrghqx.js";
|
|
277
298
|
import {
|
|
278
299
|
requestPipelineRun2
|
|
279
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-qafng88v.js";
|
|
280
301
|
import {
|
|
281
302
|
PipelineError2
|
|
282
303
|
} from "./chunk-hke9aeen.js";
|
|
283
|
-
import {
|
|
284
|
-
createObjectQueryBuilder2,
|
|
285
|
-
decorateObjectQueryExecutor
|
|
286
|
-
} from "./chunk-80nh73br.js";
|
|
287
|
-
import {
|
|
288
|
-
lineageColumn,
|
|
289
|
-
isUnknownLineage,
|
|
290
|
-
versionLineage
|
|
291
|
-
} from "./chunk-ff5xkv0p.js";
|
|
292
304
|
import {
|
|
293
305
|
executionRecordInputFromRuntime,
|
|
294
306
|
ensureExecutionRecord2,
|
|
295
307
|
createPrimitiveExecutionRecord,
|
|
296
308
|
restoreTrustedPrimitiveExecutionScope
|
|
297
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-8tqnsx3q.js";
|
|
298
310
|
import {
|
|
299
|
-
|
|
300
|
-
|
|
311
|
+
lineageColumn,
|
|
312
|
+
isUnknownLineage,
|
|
313
|
+
versionLineage
|
|
314
|
+
} from "./chunk-tfzvjdms.js";
|
|
315
|
+
import {
|
|
316
|
+
PendingTasks
|
|
317
|
+
} from "./chunk-d9xbwh3h.js";
|
|
301
318
|
import {
|
|
302
319
|
getDatasetPrimaryKeyColumns2
|
|
303
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-w3t94hm6.js";
|
|
321
|
+
import {
|
|
322
|
+
LakeValueRefusedError2
|
|
323
|
+
} from "./chunk-hgj98cbb.js";
|
|
304
324
|
import {
|
|
305
325
|
ShareGrantStorageError2,
|
|
306
326
|
objectReadScopeForAccessPlan
|
|
307
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-186k5yz3.js";
|
|
308
328
|
import {
|
|
309
329
|
ActionRunError2
|
|
310
330
|
} from "./chunk-3gbefjg5.js";
|
|
@@ -312,29 +332,25 @@ import {
|
|
|
312
332
|
AI_USAGE_FIELDS,
|
|
313
333
|
normalizeAiModelCallUsage2,
|
|
314
334
|
aggregateAiModelCallUsage2
|
|
315
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-xtztwpkh.js";
|
|
316
336
|
import {
|
|
317
337
|
RuntimeError2
|
|
318
338
|
} from "./chunk-m4ehq95f.js";
|
|
319
339
|
import {
|
|
320
340
|
eventAttribution2
|
|
321
341
|
} from "./chunk-mzx71snp.js";
|
|
322
|
-
import {
|
|
323
|
-
normalizeParams
|
|
324
|
-
} from "./chunk-21q0j5f2.js";
|
|
325
342
|
import {
|
|
326
343
|
ObjectQueryPlanningError2
|
|
327
344
|
} from "./chunk-0k1h5hmr.js";
|
|
345
|
+
import {
|
|
346
|
+
normalizeParams
|
|
347
|
+
} from "./chunk-stmxh0hv.js";
|
|
328
348
|
import {
|
|
329
349
|
MaterializationValidationError2,
|
|
330
350
|
MaterializationObjectNotFoundError2,
|
|
331
351
|
UniqueValueViolationError2,
|
|
332
352
|
isMaterializationConflictError2
|
|
333
353
|
} from "./chunk-y7dbmaqh.js";
|
|
334
|
-
import {
|
|
335
|
-
OntologyValidationError2,
|
|
336
|
-
OntologyNotFoundError2
|
|
337
|
-
} from "./chunk-cqr3acm1.js";
|
|
338
354
|
import {
|
|
339
355
|
ModelProviderError2,
|
|
340
356
|
ModelStreamError2,
|
|
@@ -342,13 +358,17 @@ import {
|
|
|
342
358
|
StructuredOutputError2,
|
|
343
359
|
sameEmbeddingModel
|
|
344
360
|
} from "./chunk-rtkqczbr.js";
|
|
361
|
+
import {
|
|
362
|
+
OntologyValidationError2,
|
|
363
|
+
OntologyNotFoundError2
|
|
364
|
+
} from "./chunk-cqr3acm1.js";
|
|
345
365
|
import {
|
|
346
366
|
AgentRequestError2,
|
|
347
367
|
AgentMemoryError2
|
|
348
368
|
} from "./chunk-9wr3yajk.js";
|
|
349
369
|
import {
|
|
350
370
|
AGENT_APPROVAL_MODES2
|
|
351
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-n4zzaf6q.js";
|
|
352
372
|
import {
|
|
353
373
|
resolveFileRefAtPath2,
|
|
354
374
|
openFileRef2,
|
|
@@ -669,6 +689,26 @@ function getRequestClient(execution) {
|
|
|
669
689
|
return requestClients.get(execution);
|
|
670
690
|
}
|
|
671
691
|
|
|
692
|
+
// src/shared/params/artifact-refs.ts
|
|
693
|
+
async function assertParamArtifactsUpdatable(input) {
|
|
694
|
+
const references = [];
|
|
695
|
+
for (const [paramId, schema] of Object.entries(input.schemas)) {
|
|
696
|
+
if (isObjectRefSchema2(schema))
|
|
697
|
+
continue;
|
|
698
|
+
const ids = collectArtifactRefIds(schema, input.values[paramId], input.valueTypesById, new Set);
|
|
699
|
+
for (const id of ids)
|
|
700
|
+
references.push({ paramId, id });
|
|
701
|
+
}
|
|
702
|
+
if (references.length === 0)
|
|
703
|
+
return;
|
|
704
|
+
const updatable = await input.updatable(new Set(references.map((reference) => reference.id)));
|
|
705
|
+
for (const { paramId, id } of references) {
|
|
706
|
+
if (updatable.has(id))
|
|
707
|
+
continue;
|
|
708
|
+
throw input.invalid(artifactReferenceProblem(input.describe(paramId), id));
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
|
|
672
712
|
// src/shared/params/user-refs.ts
|
|
673
713
|
async function assertParamUsersActive(input) {
|
|
674
714
|
const references = [];
|
|
@@ -1651,6 +1691,7 @@ async function cancelAgentRun(runtime, run) {
|
|
|
1651
1691
|
throw new AgentRequestError2("run_not_active", `[Sixb] Agent run '${current.id}' is not active: it is ${current.status}.`);
|
|
1652
1692
|
}
|
|
1653
1693
|
await requestAgentRunCancel2({ ...runtime, storage }, current.id);
|
|
1694
|
+
await publishAgentRunActivity2(runtime.broker, current, { cancelRequested: true });
|
|
1654
1695
|
return current;
|
|
1655
1696
|
}
|
|
1656
1697
|
async function requestAgentRunCancel2(host, runId) {
|
|
@@ -1951,12 +1992,13 @@ async function forkAgentThread(runtime, input) {
|
|
|
1951
1992
|
const id = createAgentThreadId2();
|
|
1952
1993
|
const sandboxParams = source.sandboxParams === undefined ? undefined : normalizeSandboxBinding(sandbox?.definition, source.sandboxParams, runtime.ontology);
|
|
1953
1994
|
try {
|
|
1995
|
+
const ruleIn = await transactionArtifactAccessRules(runtime);
|
|
1954
1996
|
return await runtime.storage.transaction(async (tx) => {
|
|
1955
1997
|
const threads = tx.agents?.threads;
|
|
1956
1998
|
if (!threads) {
|
|
1957
1999
|
throw new AgentRequestError2("storage_unavailable", "[Sixb] Agent storage is not configured.");
|
|
1958
2000
|
}
|
|
1959
|
-
const artifactCopies = await copySharedArtifacts(runtime, tx, {
|
|
2001
|
+
const artifactCopies = await copySharedArtifacts(runtime, tx, ruleIn, {
|
|
1960
2002
|
sourceThreadId: source.id,
|
|
1961
2003
|
forkId: id,
|
|
1962
2004
|
owner: input.ownerPrincipal
|
|
@@ -1981,7 +2023,7 @@ async function forkAgentThread(runtime, input) {
|
|
|
1981
2023
|
throw error;
|
|
1982
2024
|
}
|
|
1983
2025
|
}
|
|
1984
|
-
async function copySharedArtifacts(runtime, tx, input) {
|
|
2026
|
+
async function copySharedArtifacts(runtime, tx, ruleIn, input) {
|
|
1985
2027
|
const { projectId } = runtime;
|
|
1986
2028
|
const artifacts = tx.artifacts;
|
|
1987
2029
|
if (!artifacts) {
|
|
@@ -1995,7 +2037,7 @@ async function copySharedArtifacts(runtime, tx, input) {
|
|
|
1995
2037
|
}
|
|
1996
2038
|
return {};
|
|
1997
2039
|
}
|
|
1998
|
-
const access =
|
|
2040
|
+
const access = ruleIn(tx);
|
|
1999
2041
|
const copies = {};
|
|
2000
2042
|
const { artifacts: shared } = await artifacts.list({ projectId, threadId: input.sourceThreadId });
|
|
2001
2043
|
for (const artifact of shared) {
|
|
@@ -2013,8 +2055,10 @@ async function copySharedArtifacts(runtime, tx, input) {
|
|
|
2013
2055
|
async function createCopy(artifacts, input) {
|
|
2014
2056
|
for (let attempt = 1;; attempt += 1) {
|
|
2015
2057
|
const id = createArtifactId();
|
|
2058
|
+
const previews = boardPreviewsOfCopy(id);
|
|
2016
2059
|
try {
|
|
2017
|
-
await artifacts.copy({ ...input, id });
|
|
2060
|
+
await artifacts.copy({ ...input, id, outlineOf: previews.outlineOf });
|
|
2061
|
+
await previews.carry(artifacts, input.projectId);
|
|
2018
2062
|
return id;
|
|
2019
2063
|
} catch (error) {
|
|
2020
2064
|
const collided = error instanceof ArtifactStorageError && error.code === "artifact_exists";
|
|
@@ -2678,7 +2722,7 @@ async function requestAgentRun2(runtime, execution, models, input) {
|
|
|
2678
2722
|
function isRetryableAgentRun2(run) {
|
|
2679
2723
|
return run.status === "failed" || run.status === "cancelled" && run.finishReason === "interrupted";
|
|
2680
2724
|
}
|
|
2681
|
-
async function retryAgentRun2(runtime, execution, models, failedRun) {
|
|
2725
|
+
async function retryAgentRun2(runtime, execution, models, failedRun, blobStorage) {
|
|
2682
2726
|
resolveExecutionScopeAuthorization(runtime.projectId, {
|
|
2683
2727
|
execution,
|
|
2684
2728
|
authorization: runtime.runtimeAuthorization
|
|
@@ -2700,7 +2744,9 @@ async function retryAgentRun2(runtime, execution, models, failedRun) {
|
|
|
2700
2744
|
const runId = createAgentRunId2();
|
|
2701
2745
|
const durableExecution = await prepareDurableAgentExecution(runtime, execution, runId);
|
|
2702
2746
|
await assertAiLimitPreflight(runtime, durableExecution);
|
|
2703
|
-
const
|
|
2747
|
+
const artifacts = runtime.storage.artifacts;
|
|
2748
|
+
const documents = artifacts && blobStorage ? await undoneTurnDocuments({ projectId: runtime.projectId, storage: artifacts, blobStorage }, failedRun.id) : {};
|
|
2749
|
+
const { run, undone } = await runtime.storage.transaction(async (tx) => {
|
|
2704
2750
|
const agents = tx.agents;
|
|
2705
2751
|
if (!agents) {
|
|
2706
2752
|
throw new AgentRequestError2("storage_unavailable", "[Sixb] Agent storage is not configured.");
|
|
@@ -2710,14 +2756,19 @@ async function retryAgentRun2(runtime, execution, models, failedRun) {
|
|
|
2710
2756
|
threadId: failedRun.threadId,
|
|
2711
2757
|
runId: failedRun.id
|
|
2712
2758
|
});
|
|
2713
|
-
const
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2759
|
+
const trigger = await agents.messages.getById({
|
|
2760
|
+
projectId: runtime.projectId,
|
|
2761
|
+
id: failedRun.triggerMessageId
|
|
2762
|
+
});
|
|
2763
|
+
const requester = trigger?.authorPrincipal;
|
|
2764
|
+
const undone = await tx.artifacts?.undoTurnWrites({
|
|
2765
|
+
projectId: runtime.projectId,
|
|
2766
|
+
turnRunId: failedRun.id,
|
|
2767
|
+
documents,
|
|
2768
|
+
...requester ? { requester } : {}
|
|
2769
|
+
});
|
|
2719
2770
|
await tx.executions.create(durableExecution);
|
|
2720
|
-
|
|
2771
|
+
const run = await agents.runs.create({
|
|
2721
2772
|
id: runId,
|
|
2722
2773
|
projectId: runtime.projectId,
|
|
2723
2774
|
executionId: durableExecution.id,
|
|
@@ -2725,7 +2776,9 @@ async function retryAgentRun2(runtime, execution, models, failedRun) {
|
|
|
2725
2776
|
triggerMessageId: failedRun.triggerMessageId,
|
|
2726
2777
|
spec: inPlace(thread, failedRun.spec ?? await resolveConversationRunSpec({ models, selection: {}, settings: {} }))
|
|
2727
2778
|
});
|
|
2779
|
+
return { run, undone };
|
|
2728
2780
|
});
|
|
2781
|
+
await announceArtifactUpdates(runtime.events, (undone?.restored ?? []).map(({ version }) => version));
|
|
2729
2782
|
await publishRunActivity(runtime, run);
|
|
2730
2783
|
const jobId = await dispatchAgentRun(runtime, agents, runId);
|
|
2731
2784
|
return { run, ...jobId ? { jobId } : {}, createdThread: false };
|
|
@@ -2844,22 +2897,6 @@ async function resumedConversationRunSpec(models, paused, approvalMode) {
|
|
|
2844
2897
|
});
|
|
2845
2898
|
return Object.freeze({ ...kept, approvalMode });
|
|
2846
2899
|
}
|
|
2847
|
-
async function childRunIds(agents, parent) {
|
|
2848
|
-
const ids = [];
|
|
2849
|
-
for (;; ) {
|
|
2850
|
-
const page = await agents.runs.list({
|
|
2851
|
-
projectId: parent.projectId,
|
|
2852
|
-
kinds: ["subagent"],
|
|
2853
|
-
parentRunId: parent.id,
|
|
2854
|
-
order: "asc",
|
|
2855
|
-
limit: 100,
|
|
2856
|
-
offset: ids.length
|
|
2857
|
-
});
|
|
2858
|
-
ids.push(...page.runs.map((run) => run.id));
|
|
2859
|
-
if (!page.hasMore || page.runs.length === 0)
|
|
2860
|
-
return ids;
|
|
2861
|
-
}
|
|
2862
|
-
}
|
|
2863
2900
|
async function continuedSelection(runtime, models, input) {
|
|
2864
2901
|
const agents = requireAgentStorage(runtime);
|
|
2865
2902
|
const threadId = input.threadId ?? "";
|
|
@@ -3078,7 +3115,7 @@ function requireAgentStorage(runtime) {
|
|
|
3078
3115
|
}
|
|
3079
3116
|
|
|
3080
3117
|
// src/agents/execution.ts
|
|
3081
|
-
function createAgentRuntime(runtime, execution, models, decision, sandbox, security) {
|
|
3118
|
+
function createAgentRuntime(runtime, execution, models, decision, sandbox, security, blobStorage) {
|
|
3082
3119
|
const authority = resolveRuntimeAuthorizationForProject(runtime);
|
|
3083
3120
|
const turnModels = {
|
|
3084
3121
|
language: models?.language,
|
|
@@ -3543,7 +3580,7 @@ function createAgentRuntime(runtime, execution, models, decision, sandbox, secur
|
|
|
3543
3580
|
if (!agent) {
|
|
3544
3581
|
throw new AgentRequestError2("agent_not_found", "[Sixb] The project Agent is unavailable.");
|
|
3545
3582
|
}
|
|
3546
|
-
const result = await retryAgentRun2(runtime, execution, models?.language, failedRun);
|
|
3583
|
+
const result = await retryAgentRun2(runtime, execution, models?.language, failedRun, blobStorage);
|
|
3547
3584
|
return { ...result, run: await attachRunView(runtime, result.run) };
|
|
3548
3585
|
},
|
|
3549
3586
|
cancel: async (runId) => {
|
|
@@ -3865,12 +3902,12 @@ function commandContext(runtime, execution, connectorId) {
|
|
|
3865
3902
|
if (!resolved.ref.credential) {
|
|
3866
3903
|
throw new AuthorizationError2(`manage:connector:${connectorId}`, "[Sixb] Connector connection management requires a session or access token.");
|
|
3867
3904
|
}
|
|
3868
|
-
assertCanManageConnector2(runtime, connectorId);
|
|
3869
3905
|
return Object.freeze({
|
|
3870
3906
|
execution: Object.freeze(executionRecordInputFromRuntime({
|
|
3871
3907
|
execution,
|
|
3872
3908
|
runtimeAuthorization: runtime.runtimeAuthorization
|
|
3873
|
-
}))
|
|
3909
|
+
})),
|
|
3910
|
+
canManage: isAllowed2(resolved.context, { kind: "connector.manage", connectorId })
|
|
3874
3911
|
});
|
|
3875
3912
|
}
|
|
3876
3913
|
|
|
@@ -3964,7 +4001,7 @@ function versionKey(ref) {
|
|
|
3964
4001
|
}
|
|
3965
4002
|
|
|
3966
4003
|
// src/datasets/execution.ts
|
|
3967
|
-
function createDatasetsRuntime(runtime, execution, source, lakeStorage, blobStorage, versionMarkings) {
|
|
4004
|
+
function createDatasetsRuntime(runtime, execution, source, lakeStorage, blobStorage, versionMarkings, ingestRuntime) {
|
|
3968
4005
|
const authority = resolveRuntimeAuthorizationForProject(runtime);
|
|
3969
4006
|
const allowed = (datasetId) => isRuntimeAllowed2(runtime, { kind: "dataset.view", datasetId });
|
|
3970
4007
|
return {
|
|
@@ -4041,41 +4078,44 @@ function createDatasetsRuntime(runtime, execution, source, lakeStorage, blobStor
|
|
|
4041
4078
|
if (typeof lakeStorage.beginMerge !== "function") {
|
|
4042
4079
|
throw new Error("[Sixb] Dataset ingestion requires a lake provider with merge support.");
|
|
4043
4080
|
}
|
|
4044
|
-
const
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4081
|
+
const inbox = runtime.storage.datasetIngest;
|
|
4082
|
+
if (!inbox) {
|
|
4083
|
+
throw new Error("[Sixb] Dataset ingestion requires storage with a dataset ingest inbox.");
|
|
4084
|
+
}
|
|
4085
|
+
const changes = await validateDatasetMergeChanges2({
|
|
4048
4086
|
dataset: registered,
|
|
4049
|
-
|
|
4050
|
-
signal: input.signal ?? new AbortController().signal
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4087
|
+
blobStorage,
|
|
4088
|
+
signal: input.signal ?? new AbortController().signal
|
|
4089
|
+
}, input.changes);
|
|
4090
|
+
if (changes.length === 0)
|
|
4091
|
+
return { deliveryId: null, changes: 0 };
|
|
4092
|
+
assertLakeHolds(lakeStorage, registered, changes);
|
|
4093
|
+
const { delivery, flush } = await inbox.append({
|
|
4094
|
+
projectId: runtime.projectId,
|
|
4095
|
+
datasetId: registered.id,
|
|
4096
|
+
executionId: execution.id,
|
|
4097
|
+
correlationId: execution.correlationId,
|
|
4098
|
+
definitionHash: datasetDefinitionHash(registered),
|
|
4099
|
+
changes
|
|
4056
4100
|
});
|
|
4057
|
-
if (
|
|
4058
|
-
await
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
type: "dataset.version.committed",
|
|
4062
|
-
payload: {
|
|
4063
|
-
datasetId: registered.id,
|
|
4064
|
-
versionId: result.version.versionId,
|
|
4065
|
-
createdAt: result.version.createdAt.toISOString(),
|
|
4066
|
-
producer,
|
|
4067
|
-
rowsChanged: result.version.rowsChanged,
|
|
4068
|
-
lineageChanged: result.version.lineageChanged
|
|
4069
|
-
}
|
|
4070
|
-
}
|
|
4071
|
-
],
|
|
4072
|
-
correlationId: execution.correlationId
|
|
4073
|
-
}, { source: "SixbDatasets" });
|
|
4101
|
+
if (ingestRuntime.writesInline) {
|
|
4102
|
+
await ingestRuntime.flushAll(registered.id, input.signal ?? new AbortController().signal);
|
|
4103
|
+
} else if (flush.requested) {
|
|
4104
|
+
await tryEnqueueIngestFlush(runtime.queues.lake, runtime.projectId, { datasetId: registered.id, request: flush.request }, { source: "ingest", correlationId: execution.correlationId });
|
|
4074
4105
|
}
|
|
4075
|
-
return
|
|
4106
|
+
return { deliveryId: delivery.id, changes: changes.length };
|
|
4076
4107
|
}
|
|
4077
4108
|
};
|
|
4078
4109
|
}
|
|
4110
|
+
function assertLakeHolds(lakeStorage, dataset, changes) {
|
|
4111
|
+
try {
|
|
4112
|
+
lakeStorage.assertHoldsChanges?.(lakeDatasetDefinition2(dataset), changes);
|
|
4113
|
+
} catch (error) {
|
|
4114
|
+
if (!(error instanceof LakeValueRefusedError2))
|
|
4115
|
+
throw error;
|
|
4116
|
+
throw new DatasetValidationError2(`[Sixb] Dataset '${dataset.id}' cannot hold change ${error.changeIndex}: ${error.message}`, { cause: error });
|
|
4117
|
+
}
|
|
4118
|
+
}
|
|
4079
4119
|
function readerVersion(runtime, version) {
|
|
4080
4120
|
const { lineage: _lineage, producer, inputs, ...rest } = version;
|
|
4081
4121
|
return {
|
|
@@ -4250,28 +4290,39 @@ function createEventsRuntime(runtime) {
|
|
|
4250
4290
|
const visible = async (events) => {
|
|
4251
4291
|
switch (authority.type) {
|
|
4252
4292
|
case "denied":
|
|
4253
|
-
case "delegated":
|
|
4254
4293
|
return [];
|
|
4294
|
+
case "delegated": {
|
|
4295
|
+
const readable = await readableArtifactEvents(runtime, events);
|
|
4296
|
+
return events.filter((event) => readable.has(event));
|
|
4297
|
+
}
|
|
4255
4298
|
case "unrestricted":
|
|
4256
4299
|
return events;
|
|
4257
4300
|
case "principal": {
|
|
4258
|
-
const
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
const clearanceFor = await eventClearances(reader, viewable, clearance);
|
|
4265
|
-
const readable = clearance ? viewable.filter((event) => !readsUnreadable(event, clearance)) : viewable;
|
|
4266
|
-
const shown = await visibleUnderConditions(reader, readable, conditions, clearanceFor, history);
|
|
4267
|
-
return shown.map((event) => {
|
|
4268
|
-
const redacting = clearanceFor(event);
|
|
4269
|
-
const redacted = redacting ? redactDomainEvent(event, redacting) : event;
|
|
4270
|
-
return withoutHiddenPriorState(event, redacted, conditions);
|
|
4271
|
-
});
|
|
4301
|
+
const shown = await visibleByGrants(authority.context, events);
|
|
4302
|
+
if (!events.some((event) => event.topic === "artifacts"))
|
|
4303
|
+
return shown;
|
|
4304
|
+
const readable = await readableArtifactEvents(runtime, events);
|
|
4305
|
+
const byCursor = new Map(shown.map((event) => [event.cursor, event]));
|
|
4306
|
+
return events.filter((event) => event.topic === "artifacts" ? readable.has(event) : byCursor.has(event.cursor)).map((event) => byCursor.get(event.cursor) ?? event);
|
|
4272
4307
|
}
|
|
4273
4308
|
}
|
|
4274
4309
|
};
|
|
4310
|
+
const visibleByGrants = async (context, events) => {
|
|
4311
|
+
const reader = runtime.objectReader;
|
|
4312
|
+
const conditions = readerViewConditions(reader);
|
|
4313
|
+
const viewable = events.filter((event) => canViewEvent2(context, event, conditions));
|
|
4314
|
+
if (viewable.length === 0)
|
|
4315
|
+
return viewable;
|
|
4316
|
+
const clearance = await readerClearance(reader);
|
|
4317
|
+
const clearanceFor = await eventClearances(reader, viewable, clearance);
|
|
4318
|
+
const readable = clearance ? viewable.filter((event) => !readsUnreadable(event, clearance)) : viewable;
|
|
4319
|
+
const shown = await visibleUnderConditions(reader, readable, conditions, clearanceFor, history);
|
|
4320
|
+
return shown.map((event) => {
|
|
4321
|
+
const redacting = clearanceFor(event);
|
|
4322
|
+
const redacted = redacting ? redactDomainEvent(event, redacting) : event;
|
|
4323
|
+
return withoutHiddenPriorState(event, redacted, conditions);
|
|
4324
|
+
});
|
|
4325
|
+
};
|
|
4275
4326
|
return {
|
|
4276
4327
|
visible,
|
|
4277
4328
|
append: (input) => {
|
|
@@ -4327,6 +4378,27 @@ function createEventsRuntime(runtime) {
|
|
|
4327
4378
|
}
|
|
4328
4379
|
};
|
|
4329
4380
|
}
|
|
4381
|
+
async function readableArtifactEvents(runtime, events) {
|
|
4382
|
+
const storage = runtime.storage.artifacts;
|
|
4383
|
+
if (!storage)
|
|
4384
|
+
return new Set;
|
|
4385
|
+
const rule = createRuntimeArtifactAccessRule(runtime);
|
|
4386
|
+
const readable = new Map;
|
|
4387
|
+
const reads = (artifactId) => {
|
|
4388
|
+
let read = readable.get(artifactId);
|
|
4389
|
+
if (!read) {
|
|
4390
|
+
read = storage.get({ projectId: runtime.projectId, id: artifactId }).then(async (artifact) => artifact !== null && await rule.accessTo(artifact) !== "none");
|
|
4391
|
+
readable.set(artifactId, read);
|
|
4392
|
+
}
|
|
4393
|
+
return read;
|
|
4394
|
+
};
|
|
4395
|
+
const shown = new Set;
|
|
4396
|
+
for (const event of events) {
|
|
4397
|
+
if (event.topic === "artifacts" && await reads(event.payload.artifactId))
|
|
4398
|
+
shown.add(event);
|
|
4399
|
+
}
|
|
4400
|
+
return shown;
|
|
4401
|
+
}
|
|
4330
4402
|
async function eventClearances(reader, events, clearance) {
|
|
4331
4403
|
const kinds = new Map;
|
|
4332
4404
|
for (const event of events) {
|
|
@@ -4951,6 +5023,7 @@ function snapshotSchemaValue(params) {
|
|
|
4951
5023
|
case "boolean":
|
|
4952
5024
|
case "fileRef":
|
|
4953
5025
|
case "userRef":
|
|
5026
|
+
case "artifactRef":
|
|
4954
5027
|
return snapshotJsonValue(value, path);
|
|
4955
5028
|
default:
|
|
4956
5029
|
return snapshotJsonValue(value, path);
|
|
@@ -5089,7 +5162,6 @@ class WorkflowRunDispatcher2 {
|
|
|
5089
5162
|
principal: SYSTEM_PRINCIPAL2
|
|
5090
5163
|
},
|
|
5091
5164
|
metadata: input.metadata,
|
|
5092
|
-
queueJobId: input.runId,
|
|
5093
5165
|
validateExistingRun: (run) => assertAutomaticExecutionIdentity(this.dependencies, input, run),
|
|
5094
5166
|
createExecution: async (executionId, runId) => createPrimitiveExecutionRecord({
|
|
5095
5167
|
id: executionId,
|
|
@@ -5149,6 +5221,16 @@ async function persistWorkflowRun(input, request) {
|
|
|
5149
5221
|
describe: (fieldId) => `Workflow "${input.workflow.id}" input '${fieldId}'`,
|
|
5150
5222
|
invalid: (message) => new WorkflowValidationError2(message)
|
|
5151
5223
|
});
|
|
5224
|
+
if (input.updatableArtifacts) {
|
|
5225
|
+
await assertParamArtifactsUpdatable({
|
|
5226
|
+
updatable: input.updatableArtifacts,
|
|
5227
|
+
schemas: input.workflow.input,
|
|
5228
|
+
values: request.snapshot,
|
|
5229
|
+
valueTypesById: input.valueTypesById,
|
|
5230
|
+
describe: (fieldId) => `Workflow "${input.workflow.id}" input '${fieldId}'`,
|
|
5231
|
+
invalid: (message) => new WorkflowValidationError2(message)
|
|
5232
|
+
});
|
|
5233
|
+
}
|
|
5152
5234
|
const execution = await input.createExecution(`exec_${randomUUID7()}`, request.runId);
|
|
5153
5235
|
const queuedAt = new Date;
|
|
5154
5236
|
try {
|
|
@@ -5225,14 +5307,14 @@ async function enqueueWorkflowRun(input, run) {
|
|
|
5225
5307
|
projectId: input.projectId,
|
|
5226
5308
|
jobs: [
|
|
5227
5309
|
{
|
|
5228
|
-
|
|
5310
|
+
id: run.id,
|
|
5229
5311
|
type: "workflow.run.requested",
|
|
5230
5312
|
payload: { runId: run.id },
|
|
5231
5313
|
...input.metadata === undefined ? {} : { metadata: input.metadata }
|
|
5232
5314
|
}
|
|
5233
5315
|
]
|
|
5234
5316
|
});
|
|
5235
|
-
if (!job ||
|
|
5317
|
+
if (!job || job.id !== run.id) {
|
|
5236
5318
|
throw new WorkflowRunError2(`[Sixb] Queue did not acknowledge workflow run '${run.id}'.`);
|
|
5237
5319
|
}
|
|
5238
5320
|
return job;
|
|
@@ -5316,6 +5398,7 @@ async function requestWorkflowRun2(runtime, execution, workflow, options = {}) {
|
|
|
5316
5398
|
runId: options.runId,
|
|
5317
5399
|
input: options.input,
|
|
5318
5400
|
source: options.source,
|
|
5401
|
+
updatableArtifacts: (artifactIds) => updatableArtifactIds(runtime, artifactIds),
|
|
5319
5402
|
createExecution: async (executionId, runId) => {
|
|
5320
5403
|
const caller = await ensureExecutionRecord2(runtime.storage.executions, executionRecordInputFromRuntime({
|
|
5321
5404
|
execution,
|
|
@@ -7155,7 +7238,7 @@ function codedViolation(objectTypeId, propertyId, message, options = {}) {
|
|
|
7155
7238
|
}
|
|
7156
7239
|
|
|
7157
7240
|
// src/objects/materializer-adapter.ts
|
|
7158
|
-
async function commitRuntimeOperations(ctx, operations, expectedObjects = []) {
|
|
7241
|
+
async function commitRuntimeOperations(ctx, operations, expectedObjects = [], unchangeableArtifactIds = []) {
|
|
7159
7242
|
const mutations = getOntologyMutationRuntime2(ctx);
|
|
7160
7243
|
try {
|
|
7161
7244
|
return await mutations.commitEdits({
|
|
@@ -7164,13 +7247,14 @@ async function commitRuntimeOperations(ctx, operations, expectedObjects = []) {
|
|
|
7164
7247
|
operations,
|
|
7165
7248
|
expectedObjects,
|
|
7166
7249
|
expectedLinks: [],
|
|
7167
|
-
expectedLinkScopes: []
|
|
7250
|
+
expectedLinkScopes: [],
|
|
7251
|
+
unchangeableArtifactIds
|
|
7168
7252
|
});
|
|
7169
7253
|
} catch (error) {
|
|
7170
7254
|
throw uniqueViolationError(error) ?? error;
|
|
7171
7255
|
}
|
|
7172
7256
|
}
|
|
7173
|
-
async function commitRuntimeBatch(ctx, groups, expectedObjects = []) {
|
|
7257
|
+
async function commitRuntimeBatch(ctx, groups, expectedObjects = [], unchangeableArtifactIds = []) {
|
|
7174
7258
|
const operations = groups.flatMap((group) => group.operations);
|
|
7175
7259
|
if (operations.length === 0) {
|
|
7176
7260
|
return { commit: null, outcomes: new Map };
|
|
@@ -7184,7 +7268,8 @@ async function commitRuntimeBatch(ctx, groups, expectedObjects = []) {
|
|
|
7184
7268
|
source: { kind: "runtime", requestId: randomUUID14() },
|
|
7185
7269
|
operations,
|
|
7186
7270
|
...operationGroups.length > 0 ? { operationGroups } : {},
|
|
7187
|
-
...expectedObjects.length > 0 ? { expectedObjects } : {}
|
|
7271
|
+
...expectedObjects.length > 0 ? { expectedObjects } : {},
|
|
7272
|
+
unchangeableArtifactIds
|
|
7188
7273
|
});
|
|
7189
7274
|
} catch (error) {
|
|
7190
7275
|
throw uniqueViolationError(error) ?? error;
|
|
@@ -7489,7 +7574,7 @@ async function runRuntimeItemBatch(batch) {
|
|
|
7489
7574
|
claims.set(plan.key, { index, fingerprint: plan.fingerprint });
|
|
7490
7575
|
planned.push({ index, operations: plan.operations });
|
|
7491
7576
|
}
|
|
7492
|
-
const commit = await commitRuntimeBatch(batch.ctx, planned, batch.expectedObjects);
|
|
7577
|
+
const commit = await commitRuntimeBatch(batch.ctx, planned, batch.expectedObjects, batch.unchangeableArtifactIds);
|
|
7493
7578
|
for (const { index } of planned) {
|
|
7494
7579
|
const outcomes = requireItemOutcomes(commit, index);
|
|
7495
7580
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -7576,6 +7661,21 @@ async function restoreObject2(ctx, primaryId) {
|
|
|
7576
7661
|
})
|
|
7577
7662
|
]);
|
|
7578
7663
|
}
|
|
7664
|
+
// src/objects/artifact-refs.ts
|
|
7665
|
+
async function unchangeableArtifactIds(ctx, writes) {
|
|
7666
|
+
const valueTypesById = ctx.ontology.getValueTypesById();
|
|
7667
|
+
const named = new Set;
|
|
7668
|
+
for (const properties of writes) {
|
|
7669
|
+
for (const property of ctx.objectType.properties) {
|
|
7670
|
+
collectArtifactRefIds(property.schema, properties[property.id], valueTypesById, named);
|
|
7671
|
+
}
|
|
7672
|
+
}
|
|
7673
|
+
if (named.size === 0 || !ctx.storage.artifacts)
|
|
7674
|
+
return [];
|
|
7675
|
+
const updatable = await updatableArtifactIds(ctx, named);
|
|
7676
|
+
return [...named].filter((id) => !updatable.has(id));
|
|
7677
|
+
}
|
|
7678
|
+
|
|
7579
7679
|
// src/objects/object/upsert.ts
|
|
7580
7680
|
async function upsertObject2(ctx, properties) {
|
|
7581
7681
|
await assertCanEditType(ctx, ctx.objectType.id);
|
|
@@ -7589,14 +7689,15 @@ async function upsertObject2(ctx, properties) {
|
|
|
7589
7689
|
valueTypesById: ontology.getValueTypesById()
|
|
7590
7690
|
});
|
|
7591
7691
|
checkUniqueValues(normalized.properties);
|
|
7692
|
+
const unchangeable = await unchangeableArtifactIds(ctx, [normalized.properties]);
|
|
7592
7693
|
const ref = { objectTypeId: objectType.id, primaryId: normalized.primaryId };
|
|
7593
7694
|
const write = { id: runtimeOperationId(0), ref, properties: normalized.properties };
|
|
7594
7695
|
if (ctx.objectReader.viewsThroughCondition(objectType.id)) {
|
|
7595
7696
|
const found = await findWrittenObjects(ctx, objectType.id, [ref.primaryId]);
|
|
7596
|
-
const commit = await commitRuntimeOperations(ctx, [writeFoundObject({ ...write, primaryPropertyId, found: found.get(ref.primaryId) })], expectSeen(found.values()));
|
|
7697
|
+
const commit = await commitRuntimeOperations(ctx, [writeFoundObject({ ...write, primaryPropertyId, found: found.get(ref.primaryId) })], expectSeen(found.values()), unchangeable);
|
|
7597
7698
|
return redact(toObjectRow(ctx.projectId, requireEffectiveObject(commit.outcomes[0])));
|
|
7598
7699
|
}
|
|
7599
|
-
const commit = await commitRuntimeOperations(ctx, [objectUpsertOperation(write)]);
|
|
7700
|
+
const commit = await commitRuntimeOperations(ctx, [objectUpsertOperation(write)], [], unchangeable);
|
|
7600
7701
|
return redact(toObjectRow(ctx.projectId, requireEffectiveObject(commit.outcomes[0])));
|
|
7601
7702
|
}
|
|
7602
7703
|
// src/objects/object/upsert-batch.ts
|
|
@@ -7620,11 +7721,13 @@ async function upsertObjectBatch2(ctx, items) {
|
|
|
7620
7721
|
return { error };
|
|
7621
7722
|
}
|
|
7622
7723
|
});
|
|
7724
|
+
const unchangeable = await unchangeableArtifactIds(ctx, normalized.flatMap((object) => ("error" in object) ? [] : [object.properties]));
|
|
7623
7725
|
const found = ctx.objectReader.viewsThroughCondition(objectType.id) ? await findWrittenObjects(ctx, objectType.id, normalized.flatMap((object) => ("error" in object) ? [] : [object.primaryId])) : undefined;
|
|
7624
7726
|
return runRuntimeItemBatch({
|
|
7625
7727
|
ctx,
|
|
7626
7728
|
items,
|
|
7627
7729
|
...found === undefined ? {} : { expectedObjects: expectSeen(found.values()) },
|
|
7730
|
+
unchangeableArtifactIds: unchangeable,
|
|
7628
7731
|
plan(_item, index) {
|
|
7629
7732
|
const object = normalized[index];
|
|
7630
7733
|
if ("error" in object)
|
|
@@ -9944,21 +10047,23 @@ function createExecutionFacades(runtime, execution, dependencies) {
|
|
|
9944
10047
|
const actions = createActionsRuntime(runtime, execution);
|
|
9945
10048
|
const workflows = createWorkflowsRuntime(runtime, execution, dependencies.definitions.workflows);
|
|
9946
10049
|
const session = runtime.modelExecution ?? new ModelExecutionSession(runtime, execution);
|
|
9947
|
-
const agent = createAgentRuntime(runtime, execution, dependencies.definitions.models, createDecisionRuntime(runtime, execution, dependencies.definitions.models, session, "agent.run"), dependencies.sandbox, dependencies.definitions.security);
|
|
10050
|
+
const agent = createAgentRuntime(runtime, execution, dependencies.definitions.models, createDecisionRuntime(runtime, execution, dependencies.definitions.models, session, "agent.run"), dependencies.sandbox, dependencies.definitions.security, dependencies.blobStorage);
|
|
9948
10051
|
return {
|
|
9949
10052
|
objects: createObjectsRuntime(runtime, execution, dependencies.blobStorage, {
|
|
9950
10053
|
projections: dependencies.definitions.projections,
|
|
9951
10054
|
lakeStorage: dependencies.lakeStorage
|
|
9952
10055
|
}),
|
|
9953
10056
|
actions,
|
|
9954
|
-
datasets: createDatasetsRuntime(runtime, execution, dependencies.definitions.datasets, dependencies.lakeStorage, dependencies.blobStorage, dependencies.datasetVersionMarkings),
|
|
10057
|
+
datasets: createDatasetsRuntime(runtime, execution, dependencies.definitions.datasets, dependencies.lakeStorage, dependencies.blobStorage, dependencies.datasetVersionMarkings, dependencies.datasetIngest),
|
|
9955
10058
|
workflows,
|
|
9956
10059
|
syncs: createSyncsRuntime(runtime, execution, dependencies.definitions.syncs),
|
|
9957
10060
|
pipelines: createPipelinesRuntime(runtime, execution, dependencies.definitions.pipelines),
|
|
9958
10061
|
projections: createProjectionsRuntime(runtime, dependencies.definitions.projections),
|
|
9959
10062
|
rules: createRulesRuntime(runtime, dependencies.definitions.rules),
|
|
9960
10063
|
agent,
|
|
9961
|
-
artifacts: createArtifactsRuntime(runtime, dependencies.blobStorage
|
|
10064
|
+
artifacts: createArtifactsRuntime(runtime, dependencies.blobStorage, {
|
|
10065
|
+
rendersBoardPreviews: dependencies.rendersBoardPreviews
|
|
10066
|
+
}),
|
|
9962
10067
|
models: createModelsRuntime(runtime, execution, dependencies.definitions.models, session, {
|
|
9963
10068
|
canViewActionRun: async (id) => await actions.runs.getById(id) !== null,
|
|
9964
10069
|
canViewWorkflowRun: async (id) => await workflows.runs.getById(id) !== null,
|
|
@@ -9970,7 +10075,7 @@ function createExecutionFacades(runtime, execution, dependencies) {
|
|
|
9970
10075
|
activity: createActivityRuntime(runtime, dependencies.activity),
|
|
9971
10076
|
schedules: createSchedulesRuntime(runtime, dependencies.definitions.schedules),
|
|
9972
10077
|
shares: createSharesRuntime(runtime, execution, dependencies.definitions.shares),
|
|
9973
|
-
users: createUsersRuntime(runtime),
|
|
10078
|
+
users: createUsersRuntime(runtime, dependencies.members),
|
|
9974
10079
|
connector: createConnectorRuntime(runtime, execution, dependencies.connectorService),
|
|
9975
10080
|
blobs: createBlobsRuntime(runtime, execution, dependencies.blobStorage, dependencies.apiPublicOrigin)
|
|
9976
10081
|
};
|
|
@@ -11309,7 +11414,7 @@ function buildActionContext(host, actionRunsStorage, execution, input) {
|
|
|
11309
11414
|
// src/actions/run/executor.ts
|
|
11310
11415
|
class ActionRunExecutor {
|
|
11311
11416
|
host;
|
|
11312
|
-
inFlight = new
|
|
11417
|
+
inFlight = new PendingTasks;
|
|
11313
11418
|
held = new Map;
|
|
11314
11419
|
stopping = false;
|
|
11315
11420
|
constructor(host) {
|
|
@@ -11320,28 +11425,14 @@ class ActionRunExecutor {
|
|
|
11320
11425
|
return Promise.reject(createSixbError2("runtime.stopping", "[Sixb] The runtime is stopping and starts no new Action run; retry the request."));
|
|
11321
11426
|
}
|
|
11322
11427
|
const requested = this.dispatch(request);
|
|
11323
|
-
this.track(requested);
|
|
11428
|
+
this.inFlight.track(requested);
|
|
11324
11429
|
return requested;
|
|
11325
11430
|
}
|
|
11326
11431
|
async drain(timeoutMs) {
|
|
11327
11432
|
this.stopping = true;
|
|
11328
|
-
|
|
11329
|
-
while (this.inFlight.size > 0) {
|
|
11330
|
-
if (!await settleWithin([...this.inFlight], deadline - Date.now())) {
|
|
11331
|
-
console.error(`[Sixb] Stopped waiting after ${timeoutMs} ms for ${this.inFlight.size} in-flight Action run(s).`);
|
|
11332
|
-
return;
|
|
11333
|
-
}
|
|
11334
|
-
}
|
|
11335
|
-
}
|
|
11336
|
-
track(work) {
|
|
11337
|
-
const settled = work.then(() => {
|
|
11338
|
-
return;
|
|
11339
|
-
}, () => {
|
|
11433
|
+
if (await this.inFlight.drain(timeoutMs))
|
|
11340
11434
|
return;
|
|
11341
|
-
|
|
11342
|
-
this.inFlight.delete(settled);
|
|
11343
|
-
});
|
|
11344
|
-
this.inFlight.add(settled);
|
|
11435
|
+
console.error(`[Sixb] Stopped waiting after ${timeoutMs} ms for ${this.inFlight.size} in-flight Action run(s).`);
|
|
11345
11436
|
}
|
|
11346
11437
|
async dispatch(request) {
|
|
11347
11438
|
for (let held = this.held.get(request.runId);held; held = this.held.get(request.runId)) {
|
|
@@ -11404,7 +11495,7 @@ class ActionRunExecutor {
|
|
|
11404
11495
|
return outcome.record;
|
|
11405
11496
|
}
|
|
11406
11497
|
startEffects(run, effects) {
|
|
11407
|
-
this.track(new Promise((resolve) => setImmediate(resolve)).then(effects).catch((error) => {
|
|
11498
|
+
this.inFlight.track(new Promise((resolve) => setImmediate(resolve)).then(effects).catch((error) => {
|
|
11408
11499
|
console.error(`[Sixb] Action run '${run.id}' failed to run its effects:`, error);
|
|
11409
11500
|
}));
|
|
11410
11501
|
}
|
|
@@ -11455,20 +11546,6 @@ async function drainActionRuns2(host, timeoutMs) {
|
|
|
11455
11546
|
function findActionRunExecutor(owner) {
|
|
11456
11547
|
return owner[actionRunExecutorKey];
|
|
11457
11548
|
}
|
|
11458
|
-
async function settleWithin(promises, timeoutMs) {
|
|
11459
|
-
let timeout;
|
|
11460
|
-
try {
|
|
11461
|
-
return await Promise.race([
|
|
11462
|
-
Promise.allSettled(promises).then(() => true),
|
|
11463
|
-
new Promise((resolve) => {
|
|
11464
|
-
timeout = setTimeout(() => resolve(false), timeoutMs);
|
|
11465
|
-
})
|
|
11466
|
-
]);
|
|
11467
|
-
} finally {
|
|
11468
|
-
if (timeout)
|
|
11469
|
-
clearTimeout(timeout);
|
|
11470
|
-
}
|
|
11471
|
-
}
|
|
11472
11549
|
|
|
11473
11550
|
// src/actions/request.ts
|
|
11474
11551
|
function getActionDefinition(runtime, actionId) {
|
|
@@ -11488,6 +11565,8 @@ async function requestAction3(runtime, execution, input) {
|
|
|
11488
11565
|
const executor = getActionRunExecutor(runtime);
|
|
11489
11566
|
request.signal?.throwIfAborted();
|
|
11490
11567
|
const payload = { actionId, subject, params: actionParams };
|
|
11568
|
+
const paramSchemas = Object.fromEntries(Object.entries(action.params).map(([paramId, param]) => [paramId, param.schema]));
|
|
11569
|
+
const describeParam = (paramId) => `Action param '${pathPrefix}.${paramId}'`;
|
|
11491
11570
|
const assertCanReuse = (run) => assertCallerMayHaveRun({
|
|
11492
11571
|
storage: runtime.storage,
|
|
11493
11572
|
projectId,
|
|
@@ -11501,15 +11580,25 @@ async function requestAction3(runtime, execution, input) {
|
|
|
11501
11580
|
runId,
|
|
11502
11581
|
payload,
|
|
11503
11582
|
assertCanReuse,
|
|
11504
|
-
assertNewRun: () =>
|
|
11505
|
-
|
|
11506
|
-
|
|
11507
|
-
|
|
11508
|
-
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
|
|
11583
|
+
assertNewRun: async () => {
|
|
11584
|
+
await assertParamUsersActive({
|
|
11585
|
+
auth: runtime.storage.auth,
|
|
11586
|
+
projectId,
|
|
11587
|
+
schemas: paramSchemas,
|
|
11588
|
+
values: actionParams,
|
|
11589
|
+
valueTypesById: runtime.ontology.getValueTypesById(),
|
|
11590
|
+
describe: describeParam,
|
|
11591
|
+
invalid: (message) => new OntologyValidationError2(message)
|
|
11592
|
+
});
|
|
11593
|
+
await assertParamArtifactsUpdatable({
|
|
11594
|
+
updatable: (artifactIds) => updatableArtifactIds(runtime, artifactIds),
|
|
11595
|
+
schemas: paramSchemas,
|
|
11596
|
+
values: actionParams,
|
|
11597
|
+
valueTypesById: runtime.ontology.getValueTypesById(),
|
|
11598
|
+
describe: describeParam,
|
|
11599
|
+
invalid: (message) => new OntologyValidationError2(message)
|
|
11600
|
+
});
|
|
11601
|
+
},
|
|
11513
11602
|
createExecution: async (executionId, runId) => {
|
|
11514
11603
|
const caller = await ensureExecutionRecord2(runtime.storage.executions, executionRecordInputFromRuntime({
|
|
11515
11604
|
execution,
|
|
@@ -11701,4 +11790,4 @@ function snapshotActionRequest(input) {
|
|
|
11701
11790
|
}
|
|
11702
11791
|
export { defineAction2, param2, optional2, ActionRegistry2, bindRequestClient, bindModelExecutionAttempt, canInheritAgentRequestAuthorization2, createAgentExecutionRecord2, createInheritedAgentExecutionRecord2, bindDurableAgentExecution2, bindAgentRunRequestExecution2, bindAgentModelExecution2, restoreAgentExecutionScope2, assertAgentExecutionRecord2, resumeDecidedAgentTurn2, agentRunApprovalMode2, holdAgentApprovalCall2, approvalCallSummary2, listChildApprovalsAwaiting2, isAwaitingApprovalRun2, isPausedSubagentRun2, AGENT_APPROVAL_EXECUTION_LEASE_MS2, turnResumeReadiness2, turnPausesOnHeldCalls2, hasActiveChildren2, listTurnApprovals2, stopAgentTurn2, announceAgentApprovals2, agentApprovalCallers2, AgentRunScopeError2, resolveAgentRunExecutionScope2, createAgentApprovalExecutor, registerAgentApprovalExecutor, getAgentApprovalExecutor2, requestAgentRunCancel2, isAwaitingAnswerRun2, deferredChildQuestion2, listSubagentThreadRuns2, subagentSandboxFiles2, assertTurnModelRouting, DEFAULT_PROJECT_LOCALE, DEFAULT_PROJECT_TIME_ZONE, canonicalLocale, canonicalTimeZone, resolveAgentContextParts2, agentRunQueueJobId2, workflowAgentNodeQueueJobId2, dispatchQueuedAgentRuns2, assertNoAgentDefinitions, requestAgentRun2, isRetryableAgentRun2, retryAgentRun2, WorkflowDefinitionError2, WorkflowValidationError2, assertNonEmpty, isStepDefinition2, isAgentStepDefinition2, isInterventionDefinition2, isWorkflowDefinition2, validateWorkflowDefinition2, validateWorkflowsAtStartup2, validateWorkflowAgentStepGroupReferences2, validateWorkflowInput2, validateWorkflowStepInput2, validateWorkflowStepOutput2, validateWorkflowInterventionInput2, validateWorkflowInterventionResponse2, validateWorkflowInterventionDefaultResponse2, assertAgentStepSandbox, validateWorkflowAgentStepInput2, validateWorkflowAgentStepOutput2, snapshotWorkflowAgentStepInput2, snapshotWorkflowAgentStepOutput2, snapshotWorkflowInput2, snapshotWorkflowStepInput2, snapshotWorkflowStepOutput2, snapshotWorkflowInterventionInput2, snapshotWorkflowInterventionResponse2, snapshotWorkflowInterventionDefaultResponse2, snapshotWorkflowActionInput2, WorkflowRunDispatcher2, requestWorkflowRun2, prepareBoundActionRequest2, prepareBoundWorkflowRequest2, runModelLoop2, requestAction2, ObjectError2, removeLink2, upsertLink2, upsertLinkBatch2, deleteObject2, restoreObject2, upsertObject2, upsertObjectBatch2, writeTelemetryBatch2, appendTelemetryBatch2, getTelemetryHistoryBatch2, requireLinkDefinition2, resolveObjectContext2, resolveLinkContext2, createObjectSet2, exports_service, ShareError2, createBoundSixb, isBoundSixb, bindDurablePrimitiveExecution2, ACTION_RUN_DRAIN_TIMEOUT_MS2, ActionRunExecutor, registerActionRunExecutor, drainActionRuns2, requestAction3 };
|
|
11703
11792
|
|
|
11704
|
-
//# debugId=
|
|
11793
|
+
//# debugId=57F5D9483CD8FB4B64756E2164756E21
|