@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
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
isUserRef,
|
|
4
4
|
isUserRefPropertySchema,
|
|
5
5
|
isCurrentUser
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7j4yydm2.js";
|
|
7
7
|
import {
|
|
8
8
|
validateSchemaValue2,
|
|
9
9
|
assertValidFileRefs2,
|
|
@@ -14,16 +14,17 @@ import {
|
|
|
14
14
|
isTextSchema,
|
|
15
15
|
isContainsSchema,
|
|
16
16
|
queryScalarKindForSchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3zagkr6w.js";
|
|
18
18
|
import {
|
|
19
19
|
assertAuthorized2,
|
|
20
|
+
assertPrivileged2,
|
|
20
21
|
resolveRoleGrants2,
|
|
21
22
|
resolveRoleViewConditions2,
|
|
22
23
|
resolveAuthorizationContext2
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-vzkxqf8h.js";
|
|
24
25
|
import {
|
|
25
26
|
compileConditionalObjectReadScope2
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-rt9deb92.js";
|
|
27
28
|
import {
|
|
28
29
|
resolveMembershipPolicyScope,
|
|
29
30
|
canPerformMembershipOperation,
|
|
@@ -46,18 +47,18 @@ import {
|
|
|
46
47
|
isInvitationDeliveryAuthStrategy2,
|
|
47
48
|
isOidcAuthStrategy2
|
|
48
49
|
} from "./chunk-5grk14e5.js";
|
|
50
|
+
import {
|
|
51
|
+
resolveWhere,
|
|
52
|
+
ObjectQueryValidationError2,
|
|
53
|
+
normalizeObjectQuery2
|
|
54
|
+
} from "./chunk-0k1h5hmr.js";
|
|
49
55
|
import {
|
|
50
56
|
normalizeParams,
|
|
51
57
|
coerceParamsToTyped
|
|
52
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-stmxh0hv.js";
|
|
53
59
|
import {
|
|
54
60
|
snapshotLinkPathSelection
|
|
55
61
|
} from "./chunk-16a9dmfy.js";
|
|
56
|
-
import {
|
|
57
|
-
resolveWhere,
|
|
58
|
-
ObjectQueryValidationError2,
|
|
59
|
-
normalizeObjectQuery2
|
|
60
|
-
} from "./chunk-0k1h5hmr.js";
|
|
61
62
|
import {
|
|
62
63
|
MaterializationValidationError2
|
|
63
64
|
} from "./chunk-y7dbmaqh.js";
|
|
@@ -130,15 +131,6 @@ function actionAppliesToObjectType(runtime, action, objectType) {
|
|
|
130
131
|
return runtime.actionRegistry.listForType(objectType).some((candidate) => candidate.id === action.id);
|
|
131
132
|
}
|
|
132
133
|
|
|
133
|
-
// src/auth/client-address.ts
|
|
134
|
-
var clientAddresses = new WeakMap;
|
|
135
|
-
function setRequestClientAddress2(request, address) {
|
|
136
|
-
clientAddresses.set(request, address);
|
|
137
|
-
}
|
|
138
|
-
function getRequestClientAddress2(request) {
|
|
139
|
-
return clientAddresses.get(request);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
134
|
// src/auth/access-tokens.ts
|
|
143
135
|
import { createHash, randomBytes, randomUUID } from "crypto";
|
|
144
136
|
var PERSONAL_ACCESS_TOKEN_PREFIX2 = "sixb_pat";
|
|
@@ -219,6 +211,14 @@ function accessTokenKindFromLabel(label) {
|
|
|
219
211
|
}
|
|
220
212
|
return null;
|
|
221
213
|
}
|
|
214
|
+
// src/auth/client-address.ts
|
|
215
|
+
var clientAddresses = new WeakMap;
|
|
216
|
+
function setRequestClientAddress2(request, address) {
|
|
217
|
+
clientAddresses.set(request, address);
|
|
218
|
+
}
|
|
219
|
+
function getRequestClientAddress2(request) {
|
|
220
|
+
return clientAddresses.get(request);
|
|
221
|
+
}
|
|
222
222
|
// src/auth/csrf.ts
|
|
223
223
|
import { randomBytes as randomBytes2, timingSafeEqual } from "crypto";
|
|
224
224
|
var CSRF_HEADER_NAME2 = "x-sixb-csrf";
|
|
@@ -818,62 +818,6 @@ var can2 = {
|
|
|
818
818
|
observe,
|
|
819
819
|
manage
|
|
820
820
|
};
|
|
821
|
-
// src/objects/query/current-user.ts
|
|
822
|
-
function bindCurrentUser(query, user) {
|
|
823
|
-
switch (query.kind) {
|
|
824
|
-
case "start":
|
|
825
|
-
case "refs":
|
|
826
|
-
return query;
|
|
827
|
-
case "filter":
|
|
828
|
-
return {
|
|
829
|
-
...query,
|
|
830
|
-
input: bindCurrentUser(query.input, user),
|
|
831
|
-
predicate: bindCurrentUserPredicate(query.predicate, user)
|
|
832
|
-
};
|
|
833
|
-
case "set":
|
|
834
|
-
return { ...query, inputs: query.inputs.map((input) => bindCurrentUser(input, user)) };
|
|
835
|
-
default:
|
|
836
|
-
return { ...query, input: bindCurrentUser(query.input, user) };
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
function bindCurrentUserPredicate(predicate, user) {
|
|
840
|
-
switch (predicate.op) {
|
|
841
|
-
case "and":
|
|
842
|
-
case "or":
|
|
843
|
-
return {
|
|
844
|
-
...predicate,
|
|
845
|
-
items: predicate.items.map((item) => bindCurrentUserPredicate(item, user))
|
|
846
|
-
};
|
|
847
|
-
case "not":
|
|
848
|
-
return { ...predicate, item: bindCurrentUserPredicate(predicate.item, user) };
|
|
849
|
-
case "exists":
|
|
850
|
-
case "constant":
|
|
851
|
-
return predicate;
|
|
852
|
-
case "in": {
|
|
853
|
-
if (!predicate.values.some(isCurrentUser))
|
|
854
|
-
return predicate;
|
|
855
|
-
const values = predicate.values.flatMap((value) => isCurrentUser(value) ? user ? [user] : [] : [value]);
|
|
856
|
-
return values.length > 0 ? { ...predicate, values } : NO_ROW;
|
|
857
|
-
}
|
|
858
|
-
case "contains": {
|
|
859
|
-
if (!isCurrentUser(predicate.value))
|
|
860
|
-
return predicate;
|
|
861
|
-
if (user)
|
|
862
|
-
return { ...predicate, value: user };
|
|
863
|
-
return NO_ROW;
|
|
864
|
-
}
|
|
865
|
-
default: {
|
|
866
|
-
if (!isCurrentUser(predicate.value))
|
|
867
|
-
return predicate;
|
|
868
|
-
if (user)
|
|
869
|
-
return { ...predicate, value: user };
|
|
870
|
-
return predicate.op === "neq" ? EVERY_ROW : NO_ROW;
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
var NO_ROW = Object.freeze({ op: "constant", value: false });
|
|
875
|
-
var EVERY_ROW = Object.freeze({ op: "constant", value: true });
|
|
876
|
-
|
|
877
821
|
// src/objects/vectors/profile.ts
|
|
878
822
|
var MAX_VECTOR_K = 1000;
|
|
879
823
|
var VECTOR_INPUT_VERSION = 1;
|
|
@@ -2061,6 +2005,162 @@ function addIssue(ctx, path, code, message) {
|
|
|
2061
2005
|
ctx.issues.push({ path, code, message });
|
|
2062
2006
|
}
|
|
2063
2007
|
|
|
2008
|
+
// src/objects/query/current-user.ts
|
|
2009
|
+
function bindCurrentUser(query, user) {
|
|
2010
|
+
switch (query.kind) {
|
|
2011
|
+
case "start":
|
|
2012
|
+
case "refs":
|
|
2013
|
+
return query;
|
|
2014
|
+
case "filter":
|
|
2015
|
+
return {
|
|
2016
|
+
...query,
|
|
2017
|
+
input: bindCurrentUser(query.input, user),
|
|
2018
|
+
predicate: bindCurrentUserPredicate(query.predicate, user)
|
|
2019
|
+
};
|
|
2020
|
+
case "set":
|
|
2021
|
+
return { ...query, inputs: query.inputs.map((input) => bindCurrentUser(input, user)) };
|
|
2022
|
+
default:
|
|
2023
|
+
return { ...query, input: bindCurrentUser(query.input, user) };
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
function bindCurrentUserPredicate(predicate, user) {
|
|
2027
|
+
switch (predicate.op) {
|
|
2028
|
+
case "and":
|
|
2029
|
+
case "or":
|
|
2030
|
+
return {
|
|
2031
|
+
...predicate,
|
|
2032
|
+
items: predicate.items.map((item) => bindCurrentUserPredicate(item, user))
|
|
2033
|
+
};
|
|
2034
|
+
case "not":
|
|
2035
|
+
return { ...predicate, item: bindCurrentUserPredicate(predicate.item, user) };
|
|
2036
|
+
case "exists":
|
|
2037
|
+
case "constant":
|
|
2038
|
+
return predicate;
|
|
2039
|
+
case "in": {
|
|
2040
|
+
if (!predicate.values.some(isCurrentUser))
|
|
2041
|
+
return predicate;
|
|
2042
|
+
const values = predicate.values.flatMap((value) => isCurrentUser(value) ? user ? [user] : [] : [value]);
|
|
2043
|
+
return values.length > 0 ? { ...predicate, values } : NO_ROW;
|
|
2044
|
+
}
|
|
2045
|
+
case "contains": {
|
|
2046
|
+
if (!isCurrentUser(predicate.value))
|
|
2047
|
+
return predicate;
|
|
2048
|
+
if (user)
|
|
2049
|
+
return { ...predicate, value: user };
|
|
2050
|
+
return NO_ROW;
|
|
2051
|
+
}
|
|
2052
|
+
default: {
|
|
2053
|
+
if (!isCurrentUser(predicate.value))
|
|
2054
|
+
return predicate;
|
|
2055
|
+
if (user)
|
|
2056
|
+
return { ...predicate, value: user };
|
|
2057
|
+
return predicate.op === "neq" ? EVERY_ROW : NO_ROW;
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
var NO_ROW = Object.freeze({ op: "constant", value: false });
|
|
2062
|
+
var EVERY_ROW = Object.freeze({ op: "constant", value: true });
|
|
2063
|
+
|
|
2064
|
+
// src/security/visibility-keys.ts
|
|
2065
|
+
function viewConditionKeys(predicate) {
|
|
2066
|
+
const part = keyedPart(predicate);
|
|
2067
|
+
if (part === undefined)
|
|
2068
|
+
return;
|
|
2069
|
+
return part === EVERYONE ? { kind: "everyone", when: predicate } : part;
|
|
2070
|
+
}
|
|
2071
|
+
function viewConditionReadCondition(objectTypeId, predicates, user) {
|
|
2072
|
+
const keys = [];
|
|
2073
|
+
const remainder = [];
|
|
2074
|
+
for (const predicate of predicates) {
|
|
2075
|
+
const conditionKeys = viewConditionKeys(predicate);
|
|
2076
|
+
if (conditionKeys)
|
|
2077
|
+
keys.push(conditionKeys);
|
|
2078
|
+
else
|
|
2079
|
+
remainder.push(bindCurrentUserPredicate(predicate, user));
|
|
2080
|
+
}
|
|
2081
|
+
const bound = bindCurrentUserPredicate(anyOf(predicates), user);
|
|
2082
|
+
if (keys.length === 0)
|
|
2083
|
+
return { objectTypeId, predicate: bound };
|
|
2084
|
+
return {
|
|
2085
|
+
objectTypeId,
|
|
2086
|
+
predicate: bound,
|
|
2087
|
+
visibility: {
|
|
2088
|
+
keys,
|
|
2089
|
+
...user ? { user } : {},
|
|
2090
|
+
...remainder.length > 0 ? { remainder: anyOf(remainder) } : {}
|
|
2091
|
+
}
|
|
2092
|
+
};
|
|
2093
|
+
}
|
|
2094
|
+
var EVERYONE = "everyone";
|
|
2095
|
+
function keyedPart(predicate) {
|
|
2096
|
+
if (!readsCurrentUser(predicate))
|
|
2097
|
+
return EVERYONE;
|
|
2098
|
+
switch (predicate.op) {
|
|
2099
|
+
case "and": {
|
|
2100
|
+
const parts = predicate.items.map(keyedPart);
|
|
2101
|
+
if (parts.includes(undefined))
|
|
2102
|
+
return;
|
|
2103
|
+
const everyone = predicate.items.filter((_, index) => parts[index] === EVERYONE);
|
|
2104
|
+
const keyed = parts.filter(isKeys);
|
|
2105
|
+
if (keyed.length !== 1)
|
|
2106
|
+
return;
|
|
2107
|
+
return everyone.length === 0 ? keyed[0] : { kind: "when", when: allOf(everyone), keys: keyed[0] };
|
|
2108
|
+
}
|
|
2109
|
+
case "or": {
|
|
2110
|
+
const parts = predicate.items.map(keyedPart);
|
|
2111
|
+
if (parts.includes(undefined))
|
|
2112
|
+
return;
|
|
2113
|
+
const everyone = predicate.items.filter((_, index) => parts[index] === EVERYONE);
|
|
2114
|
+
const items = [
|
|
2115
|
+
...everyone.length > 0 ? [{ kind: "everyone", when: anyOf(everyone) }] : [],
|
|
2116
|
+
...parts.filter(isKeys)
|
|
2117
|
+
];
|
|
2118
|
+
return items.length === 1 ? items[0] : { kind: "union", items };
|
|
2119
|
+
}
|
|
2120
|
+
case "eq":
|
|
2121
|
+
return { kind: "user", propertyId: predicate.propertyId };
|
|
2122
|
+
case "contains":
|
|
2123
|
+
return { kind: "users", propertyId: predicate.propertyId };
|
|
2124
|
+
case "in": {
|
|
2125
|
+
const values = predicate.values.filter((value) => !isCurrentUser(value));
|
|
2126
|
+
const user = { kind: "user", propertyId: predicate.propertyId };
|
|
2127
|
+
if (values.length === 0)
|
|
2128
|
+
return user;
|
|
2129
|
+
return {
|
|
2130
|
+
kind: "union",
|
|
2131
|
+
items: [{ kind: "everyone", when: { ...predicate, values } }, user]
|
|
2132
|
+
};
|
|
2133
|
+
}
|
|
2134
|
+
default:
|
|
2135
|
+
return;
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
function readsCurrentUser(predicate) {
|
|
2139
|
+
switch (predicate.op) {
|
|
2140
|
+
case "and":
|
|
2141
|
+
case "or":
|
|
2142
|
+
return predicate.items.some(readsCurrentUser);
|
|
2143
|
+
case "not":
|
|
2144
|
+
return readsCurrentUser(predicate.item);
|
|
2145
|
+
case "in":
|
|
2146
|
+
return predicate.values.some(isCurrentUser);
|
|
2147
|
+
case "exists":
|
|
2148
|
+
case "constant":
|
|
2149
|
+
return false;
|
|
2150
|
+
default:
|
|
2151
|
+
return isCurrentUser(predicate.value);
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
function isKeys(part) {
|
|
2155
|
+
return typeof part === "object";
|
|
2156
|
+
}
|
|
2157
|
+
function allOf(predicates) {
|
|
2158
|
+
return predicates.length === 1 ? predicates[0] : { op: "and", items: predicates };
|
|
2159
|
+
}
|
|
2160
|
+
function anyOf(predicates) {
|
|
2161
|
+
return predicates.length === 1 ? predicates[0] : { op: "or", items: predicates };
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2064
2164
|
// src/security/view-conditions.ts
|
|
2065
2165
|
function resolveViewCondition(roleId, grant, ontology) {
|
|
2066
2166
|
if (!("condition" in grant) || grant.condition === undefined)
|
|
@@ -2101,14 +2201,13 @@ function resolveViewCondition(roleId, grant, ontology) {
|
|
|
2101
2201
|
}
|
|
2102
2202
|
function assertViewConditionsReadable(input) {
|
|
2103
2203
|
for (const condition of input.conditions) {
|
|
2104
|
-
const predicate = bindCurrentUserPredicate(condition.predicate, STARTUP_CHECK_USER);
|
|
2105
2204
|
const objectTypeIds = [condition.objectTypeId, ...input.getSubTypes(condition.objectTypeId)];
|
|
2106
2205
|
try {
|
|
2107
2206
|
input.objectStorage.createConditionalReadScope({
|
|
2108
2207
|
projectId: input.projectId,
|
|
2109
2208
|
scope: compileConditionalObjectReadScope2({
|
|
2110
2209
|
kind: "conditional",
|
|
2111
|
-
conditions: objectTypeIds.map((objectTypeId) => (
|
|
2210
|
+
conditions: objectTypeIds.map((objectTypeId) => viewConditionReadCondition(objectTypeId, [condition.predicate], STARTUP_CHECK_USER))
|
|
2112
2211
|
})
|
|
2113
2212
|
});
|
|
2114
2213
|
} catch (error) {
|
|
@@ -2338,6 +2437,10 @@ function assertNonEmpty4(value, label) {
|
|
|
2338
2437
|
}
|
|
2339
2438
|
return normalized;
|
|
2340
2439
|
}
|
|
2440
|
+
function withUserStatus(user, status, suspensionSource, updatedAt) {
|
|
2441
|
+
const { suspensionSource: _previous, ...rest } = user;
|
|
2442
|
+
return status === "suspended" ? { ...rest, status, suspensionSource, updatedAt: cloneDate(updatedAt) } : { ...rest, status, updatedAt: cloneDate(updatedAt) };
|
|
2443
|
+
}
|
|
2341
2444
|
function normalizeEmail(email) {
|
|
2342
2445
|
return assertNonEmpty4(email, "Email").toLowerCase();
|
|
2343
2446
|
}
|
|
@@ -2837,6 +2940,12 @@ class InMemoryAuthUserIdentityStore {
|
|
|
2837
2940
|
return `${a.strategyId}:${a.subject}`.localeCompare(`${b.strategyId}:${b.subject}`);
|
|
2838
2941
|
}).map(cloneRecord);
|
|
2839
2942
|
}
|
|
2943
|
+
async listForStrategy(params) {
|
|
2944
|
+
return [...this.state.identities.values()].filter((identity) => identity.projectId === params.projectId).filter((identity) => identity.strategyId === params.strategyId).sort((a, b) => compareText(a.subject, b.subject)).map(cloneRecord);
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
function compareText(left, right) {
|
|
2948
|
+
return left < right ? -1 : left > right ? 1 : 0;
|
|
2840
2949
|
}
|
|
2841
2950
|
|
|
2842
2951
|
// src/storage/pagination.ts
|
|
@@ -3277,16 +3386,16 @@ class InMemoryAuthUserStore {
|
|
|
3277
3386
|
throw new AuthStorageError2("duplicate_user", `[Sixb] User email '${email}' already exists for project '${projectId}'.`);
|
|
3278
3387
|
}
|
|
3279
3388
|
const createdAt = dateOrNow(input.createdAt);
|
|
3280
|
-
const user = {
|
|
3389
|
+
const user = withUserStatus({
|
|
3281
3390
|
id,
|
|
3282
3391
|
projectId,
|
|
3283
3392
|
email,
|
|
3284
3393
|
displayName: input.displayName,
|
|
3285
3394
|
avatarUrl: input.avatarUrl,
|
|
3286
|
-
status:
|
|
3395
|
+
status: "active",
|
|
3287
3396
|
createdAt,
|
|
3288
|
-
updatedAt:
|
|
3289
|
-
};
|
|
3397
|
+
updatedAt: createdAt
|
|
3398
|
+
}, input.status ?? "active", "manual", input.updatedAt ?? createdAt);
|
|
3290
3399
|
this.state.users.set(key, cloneRecord(user));
|
|
3291
3400
|
return cloneRecord(user);
|
|
3292
3401
|
}
|
|
@@ -3329,11 +3438,7 @@ class InMemoryAuthUserStore {
|
|
|
3329
3438
|
if (!existing) {
|
|
3330
3439
|
throw new AuthStorageError2("missing_user", `[Sixb] User '${input.id}' not found for project '${input.projectId}'.`);
|
|
3331
3440
|
}
|
|
3332
|
-
const next =
|
|
3333
|
-
...existing,
|
|
3334
|
-
status: input.status,
|
|
3335
|
-
updatedAt: dateOrNow(input.updatedAt)
|
|
3336
|
-
};
|
|
3441
|
+
const next = withUserStatus(existing, input.status, "manual", dateOrNow(input.updatedAt));
|
|
3337
3442
|
this.state.users.set(key, cloneRecord(next));
|
|
3338
3443
|
return { user: cloneRecord(next), previousUser: cloneRecord(existing) };
|
|
3339
3444
|
}
|
|
@@ -3633,15 +3738,43 @@ class InMemoryAuthStorage2 {
|
|
|
3633
3738
|
if (!existing) {
|
|
3634
3739
|
throw new AuthStorageError2("missing_user", `[Sixb] User '${input.userId}' not found for project '${input.projectId}'.`);
|
|
3635
3740
|
}
|
|
3636
|
-
const next =
|
|
3637
|
-
...existing,
|
|
3638
|
-
status: "suspended",
|
|
3639
|
-
updatedAt: cloneDate(input.suspendedAt)
|
|
3640
|
-
};
|
|
3741
|
+
const next = withUserStatus(existing, "suspended", "manual", input.suspendedAt);
|
|
3641
3742
|
this.state.users.set(key, cloneRecord(next));
|
|
3642
3743
|
revokeActiveSessionsForUser(this.state, input.projectId, input.userId, input.suspendedAt);
|
|
3643
3744
|
return { user: cloneRecord(next), previousUser: cloneRecord(existing) };
|
|
3644
3745
|
}
|
|
3746
|
+
async applyDirectoryVerdict(input) {
|
|
3747
|
+
const key = userKey(input.projectId, input.userId);
|
|
3748
|
+
const existing = this.state.users.get(key);
|
|
3749
|
+
if (!existing) {
|
|
3750
|
+
throw new AuthStorageError2("missing_user", `[Sixb] User '${input.userId}' not found for project '${input.projectId}'.`);
|
|
3751
|
+
}
|
|
3752
|
+
const previousUser = cloneRecord(existing);
|
|
3753
|
+
if (existing.status === "suspended" && existing.suspensionSource !== "directory") {
|
|
3754
|
+
return { user: previousUser, previousUser };
|
|
3755
|
+
}
|
|
3756
|
+
if (input.verdict.status === "inactive") {
|
|
3757
|
+
if (existing.status === "suspended")
|
|
3758
|
+
return { user: previousUser, previousUser };
|
|
3759
|
+
const next = withUserStatus(existing, "suspended", "directory", input.appliedAt);
|
|
3760
|
+
this.state.users.set(key, cloneRecord(next));
|
|
3761
|
+
revokeActiveSessionsForUser(this.state, input.projectId, input.userId, input.appliedAt);
|
|
3762
|
+
return { user: cloneRecord(next), previousUser };
|
|
3763
|
+
}
|
|
3764
|
+
let user = existing;
|
|
3765
|
+
if (existing.status === "suspended") {
|
|
3766
|
+
user = withUserStatus(existing, "active", "directory", input.appliedAt);
|
|
3767
|
+
this.state.users.set(key, cloneRecord(user));
|
|
3768
|
+
}
|
|
3769
|
+
this.syncDirectoryGroups({
|
|
3770
|
+
completedAt: input.appliedAt,
|
|
3771
|
+
groupIds: input.verdict.groupIds,
|
|
3772
|
+
projectId: input.projectId,
|
|
3773
|
+
userId: input.userId,
|
|
3774
|
+
existing: []
|
|
3775
|
+
});
|
|
3776
|
+
return { user: cloneRecord(user), previousUser };
|
|
3777
|
+
}
|
|
3645
3778
|
refreshProviderProfile(user, input, updatedAt) {
|
|
3646
3779
|
const displayName = input.displayName ?? user.displayName;
|
|
3647
3780
|
const avatarUrl = input.avatarUrl ?? user.avatarUrl;
|
|
@@ -3730,8 +3863,17 @@ var DEFAULT_LIMIT = 50;
|
|
|
3730
3863
|
var MAX_LIMIT = 200;
|
|
3731
3864
|
var MAX_SEARCH_LENGTH = 200;
|
|
3732
3865
|
var MAX_EMAIL_LENGTH = 320;
|
|
3733
|
-
function createUsersRuntime(runtime) {
|
|
3866
|
+
function createUsersRuntime(runtime, members) {
|
|
3734
3867
|
const assertReadable = () => assertAuthorized2(runtime, { kind: "users.view" });
|
|
3868
|
+
const requireMember = async (operation, user) => {
|
|
3869
|
+
assertPrivileged2(runtime, `users.${operation}`);
|
|
3870
|
+
const lookup = userLookup(user);
|
|
3871
|
+
const users = runtime.storage.auth?.users;
|
|
3872
|
+
const record = !users ? null : ("email" in lookup) ? await users.getByEmail({ projectId: runtime.projectId, email: lookup.email }) : await users.getById({ projectId: runtime.projectId, id: lookup.id });
|
|
3873
|
+
if (record)
|
|
3874
|
+
return record;
|
|
3875
|
+
throw new Error(`[Sixb] users.${operation} found no member ${"email" in lookup ? `with email '${lookup.email}'` : `'${lookup.id}'`}.`);
|
|
3876
|
+
};
|
|
3735
3877
|
return {
|
|
3736
3878
|
get: async (user) => {
|
|
3737
3879
|
assertReadable();
|
|
@@ -3763,6 +3905,16 @@ function createUsersRuntime(runtime) {
|
|
|
3763
3905
|
hasMore: page.hasMore,
|
|
3764
3906
|
total: page.total
|
|
3765
3907
|
};
|
|
3908
|
+
},
|
|
3909
|
+
suspend: async (user) => {
|
|
3910
|
+
const member = await requireMember("suspend", user);
|
|
3911
|
+
return toUserProfile(await members.suspendUser(member.id));
|
|
3912
|
+
},
|
|
3913
|
+
reactivate: async (user) => {
|
|
3914
|
+
const member = await requireMember("reactivate", user);
|
|
3915
|
+
if (member.status === "active")
|
|
3916
|
+
return toUserProfile(member);
|
|
3917
|
+
return toUserProfile(await members.reactivateUser(member.id));
|
|
3766
3918
|
}
|
|
3767
3919
|
};
|
|
3768
3920
|
}
|
|
@@ -3822,6 +3974,96 @@ function listOffset(offset) {
|
|
|
3822
3974
|
throw new Error("[Sixb] users.list offset must be a non-negative integer.");
|
|
3823
3975
|
}
|
|
3824
3976
|
|
|
3977
|
+
// src/auth/directory.ts
|
|
3978
|
+
var DEFAULT_INTERVAL_MS = 60 * 60000;
|
|
3979
|
+
var MIN_INTERVAL_MS = 60000;
|
|
3980
|
+
var DEFAULT_CONFIRM_AFTER_MS = 60000;
|
|
3981
|
+
var MAX_CONFIRM_AFTER_MS = 5 * 60000;
|
|
3982
|
+
var USER_BATCH = 500;
|
|
3983
|
+
function directorySchedule(directory) {
|
|
3984
|
+
const intervalMs = directory.intervalMs ?? DEFAULT_INTERVAL_MS;
|
|
3985
|
+
if (!Number.isFinite(intervalMs) || intervalMs < MIN_INTERVAL_MS) {
|
|
3986
|
+
throw new AuthRuntimeError2("invalid_auth_config", "[Sixb] The auth strategy's directory intervalMs must be at least 60000 (one minute).");
|
|
3987
|
+
}
|
|
3988
|
+
const confirmAfterMs = directory.confirmAfterMs ?? DEFAULT_CONFIRM_AFTER_MS;
|
|
3989
|
+
if (!Number.isFinite(confirmAfterMs) || confirmAfterMs < 0 || confirmAfterMs > MAX_CONFIRM_AFTER_MS) {
|
|
3990
|
+
throw new AuthRuntimeError2("invalid_auth_config", "[Sixb] The auth strategy's directory confirmAfterMs must be from 0 to 300000 (five minutes).");
|
|
3991
|
+
}
|
|
3992
|
+
return { intervalMs, confirmAfterMs };
|
|
3993
|
+
}
|
|
3994
|
+
async function planDirectoryPass(input) {
|
|
3995
|
+
const { projectId, storage, directory, signal } = input;
|
|
3996
|
+
const identities = await storage.identities.listForStrategy({
|
|
3997
|
+
projectId,
|
|
3998
|
+
strategyId: input.strategyId
|
|
3999
|
+
});
|
|
4000
|
+
if (identities.length === 0)
|
|
4001
|
+
return [];
|
|
4002
|
+
const read = async () => {
|
|
4003
|
+
const verdicts = await directory.check({ identities, signal });
|
|
4004
|
+
const users = await usersById(storage, projectId, identities);
|
|
4005
|
+
return changesFrom(identities, verdicts, users);
|
|
4006
|
+
};
|
|
4007
|
+
let changes = await read();
|
|
4008
|
+
if (changes.some(changesStatus)) {
|
|
4009
|
+
await delay(input.confirmAfterMs, signal);
|
|
4010
|
+
const first = new Map(changes.map(({ user, verdict }) => [user.id, verdict.status]));
|
|
4011
|
+
changes = (await read()).filter((change) => !changesStatus(change) || first.get(change.user.id) === change.verdict.status);
|
|
4012
|
+
}
|
|
4013
|
+
const activeMembers = changes.filter(({ user }) => user.status === "active").length;
|
|
4014
|
+
const suspensions = changes.filter(({ user, verdict }) => verdict.status === "inactive" && user.status === "active").length;
|
|
4015
|
+
if (suspensions > Math.max(2, activeMembers / 4)) {
|
|
4016
|
+
throw new Error(`[Sixb] The directory check would suspend ${suspensions} members at once, so it suspended ` + "no one. Check the directory's configuration, or suspend them in Settings \u203A Members.");
|
|
4017
|
+
}
|
|
4018
|
+
return changes.filter((change) => changesStatus(change) || change.verdict.status === "active" && change.verdict.groupIds !== undefined);
|
|
4019
|
+
}
|
|
4020
|
+
function changesStatus({ user, verdict }) {
|
|
4021
|
+
return verdict.status === "inactive" ? user.status === "active" : user.status === "suspended" && user.suspensionSource === "directory";
|
|
4022
|
+
}
|
|
4023
|
+
function changesFrom(identities, verdicts, users) {
|
|
4024
|
+
const changes = new Map;
|
|
4025
|
+
for (const identity of identities) {
|
|
4026
|
+
const verdict = verdicts.get(identity.subject);
|
|
4027
|
+
const user = users.get(identity.userId);
|
|
4028
|
+
if (!verdict || !user)
|
|
4029
|
+
continue;
|
|
4030
|
+
const existing = changes.get(user.id);
|
|
4031
|
+
if (!existing || existing.verdict.status === "inactive" && verdict.status === "active") {
|
|
4032
|
+
changes.set(user.id, { user, verdict });
|
|
4033
|
+
}
|
|
4034
|
+
}
|
|
4035
|
+
return [...changes.values()];
|
|
4036
|
+
}
|
|
4037
|
+
async function usersById(storage, projectId, identities) {
|
|
4038
|
+
const ids = [...new Set(identities.map((identity) => identity.userId))];
|
|
4039
|
+
const users = new Map;
|
|
4040
|
+
for (let start = 0;start < ids.length; start += USER_BATCH) {
|
|
4041
|
+
const batch = await storage.users.getByIds({
|
|
4042
|
+
projectId,
|
|
4043
|
+
ids: ids.slice(start, start + USER_BATCH)
|
|
4044
|
+
});
|
|
4045
|
+
for (const user of batch)
|
|
4046
|
+
users.set(user.id, user);
|
|
4047
|
+
}
|
|
4048
|
+
return users;
|
|
4049
|
+
}
|
|
4050
|
+
function delay(ms, signal) {
|
|
4051
|
+
signal.throwIfAborted();
|
|
4052
|
+
if (ms === 0)
|
|
4053
|
+
return Promise.resolve();
|
|
4054
|
+
return new Promise((resolve, reject) => {
|
|
4055
|
+
const abort = () => {
|
|
4056
|
+
clearTimeout(timer);
|
|
4057
|
+
reject(signal.reason);
|
|
4058
|
+
};
|
|
4059
|
+
const timer = setTimeout(() => {
|
|
4060
|
+
signal.removeEventListener("abort", abort);
|
|
4061
|
+
resolve();
|
|
4062
|
+
}, ms);
|
|
4063
|
+
signal.addEventListener("abort", abort, { once: true });
|
|
4064
|
+
});
|
|
4065
|
+
}
|
|
4066
|
+
|
|
3825
4067
|
// src/auth/member-events.ts
|
|
3826
4068
|
function signInEvents(result) {
|
|
3827
4069
|
const user = toUserProfile(result.user);
|
|
@@ -3853,13 +4095,16 @@ function profileUpdatedEvents(caller, previousUser, user) {
|
|
|
3853
4095
|
}
|
|
3854
4096
|
];
|
|
3855
4097
|
}
|
|
3856
|
-
function statusChangedEvents(
|
|
4098
|
+
function statusChangedEvents(previousUser, user, caller) {
|
|
3857
4099
|
if (previousUser.status === user.status)
|
|
3858
4100
|
return [];
|
|
3859
4101
|
return [
|
|
3860
4102
|
{
|
|
3861
4103
|
type: user.status === "suspended" ? "user.suspended" : "user.reactivated",
|
|
3862
|
-
payload: {
|
|
4104
|
+
payload: {
|
|
4105
|
+
user: toUserProfile(user),
|
|
4106
|
+
...caller === undefined ? {} : { requestedBy: requester(caller) }
|
|
4107
|
+
}
|
|
3863
4108
|
}
|
|
3864
4109
|
];
|
|
3865
4110
|
}
|
|
@@ -4022,12 +4267,18 @@ class AuthRuntime2 {
|
|
|
4022
4267
|
config;
|
|
4023
4268
|
sessionCache;
|
|
4024
4269
|
events;
|
|
4270
|
+
onUserSuspended;
|
|
4271
|
+
directorySchedule;
|
|
4025
4272
|
constructor(options) {
|
|
4026
4273
|
this.projectId = options.projectId;
|
|
4027
4274
|
this.storage = options.storage;
|
|
4028
4275
|
this.security = options.security;
|
|
4029
4276
|
this.events = options.events;
|
|
4277
|
+
this.onUserSuspended = options.onUserSuspended;
|
|
4030
4278
|
this.config = resolveAuthConfig2(options.config);
|
|
4279
|
+
const directory = this.config.strategy?.directory;
|
|
4280
|
+
if (directory && this.isEnabled())
|
|
4281
|
+
this.directorySchedule = directorySchedule(directory);
|
|
4031
4282
|
this.sessionCache = this.config.session.cacheTtlMs > 0 ? new SessionCache(this.config.session.cacheTtlMs) : null;
|
|
4032
4283
|
if (this.isEnabled() && !this.storage.auth) {
|
|
4033
4284
|
throw new AuthRuntimeError2("auth_storage_missing", "[Sixb] Auth is enabled but storage.auth is not configured.");
|
|
@@ -4697,14 +4948,76 @@ class AuthRuntime2 {
|
|
|
4697
4948
|
if (user.id === caller.user.id) {
|
|
4698
4949
|
throw new AuthRuntimeError2("authorization_denied", "[Sixb] The current user cannot suspend themselves.");
|
|
4699
4950
|
}
|
|
4700
|
-
const
|
|
4951
|
+
const suspended = await this.suspend(user.id, caller);
|
|
4952
|
+
return { user: suspended, groupIds, managedGroupIds };
|
|
4953
|
+
}
|
|
4954
|
+
suspendUser(userId) {
|
|
4955
|
+
this.requireAuthStorage();
|
|
4956
|
+
return this.suspend(assertNonEmpty3(userId, "User id"));
|
|
4957
|
+
}
|
|
4958
|
+
async reactivateUser(userId) {
|
|
4959
|
+
const { user, previousUser } = await this.requireAuthStorage().users.updateStatus({
|
|
4701
4960
|
projectId: this.projectId,
|
|
4702
|
-
|
|
4961
|
+
id: assertNonEmpty3(userId, "User id"),
|
|
4962
|
+
status: "active",
|
|
4963
|
+
updatedAt: new Date
|
|
4964
|
+
});
|
|
4965
|
+
await this.afterStatusChange(previousUser, user);
|
|
4966
|
+
return user;
|
|
4967
|
+
}
|
|
4968
|
+
async suspend(userId, caller) {
|
|
4969
|
+
const { user, previousUser } = await this.requireAuthStorage().suspendUserAndRevokeSessions({
|
|
4970
|
+
projectId: this.projectId,
|
|
4971
|
+
userId,
|
|
4703
4972
|
suspendedAt: new Date
|
|
4704
4973
|
});
|
|
4974
|
+
await this.afterStatusChange(previousUser, user, caller);
|
|
4975
|
+
return user;
|
|
4976
|
+
}
|
|
4977
|
+
get directoryIntervalMs() {
|
|
4978
|
+
return this.directorySchedule?.intervalMs;
|
|
4979
|
+
}
|
|
4980
|
+
async checkDirectory(signal) {
|
|
4981
|
+
const strategy = this.config.strategy;
|
|
4982
|
+
const directory = strategy?.directory;
|
|
4983
|
+
if (!strategy || !directory || !this.directorySchedule)
|
|
4984
|
+
return;
|
|
4985
|
+
const storage = this.requireAuthStorage();
|
|
4986
|
+
const changes = await planDirectoryPass({
|
|
4987
|
+
projectId: this.projectId,
|
|
4988
|
+
storage,
|
|
4989
|
+
strategyId: strategy.id,
|
|
4990
|
+
directory,
|
|
4991
|
+
confirmAfterMs: this.directorySchedule.confirmAfterMs,
|
|
4992
|
+
signal
|
|
4993
|
+
});
|
|
4994
|
+
const failures = [];
|
|
4995
|
+
for (const { user, verdict } of changes) {
|
|
4996
|
+
signal.throwIfAborted();
|
|
4997
|
+
try {
|
|
4998
|
+
const applied = await storage.applyDirectoryVerdict({
|
|
4999
|
+
projectId: this.projectId,
|
|
5000
|
+
userId: user.id,
|
|
5001
|
+
verdict,
|
|
5002
|
+
appliedAt: new Date
|
|
5003
|
+
});
|
|
5004
|
+
await this.afterStatusChange(applied.previousUser, applied.user);
|
|
5005
|
+
} catch (error) {
|
|
5006
|
+
failures.push(error);
|
|
5007
|
+
}
|
|
5008
|
+
}
|
|
5009
|
+
if (failures.length > 0) {
|
|
5010
|
+
throw new AggregateError(failures, `[Sixb] Directory check could not update ${failures.length} of ${changes.length} members.`);
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
async afterStatusChange(previousUser, user, caller) {
|
|
4705
5014
|
this.sessionCache?.invalidateUser(user.id);
|
|
4706
|
-
|
|
4707
|
-
|
|
5015
|
+
if (previousUser.status === "active" && user.status === "suspended") {
|
|
5016
|
+
await this.onUserSuspended?.(user.id).catch((error) => {
|
|
5017
|
+
console.error(`[Sixb] Could not revoke the connections of suspended member '${user.id}'. Syncs ` + "already skip them; disconnect them from the connections page to delete their tokens.", error);
|
|
5018
|
+
});
|
|
5019
|
+
}
|
|
5020
|
+
await this.emitMemberEvents(statusChangedEvents(previousUser, user, caller));
|
|
4708
5021
|
}
|
|
4709
5022
|
async reactivateMember(caller, input) {
|
|
4710
5023
|
const storage = this.requireAuthStorage();
|
|
@@ -4717,7 +5030,7 @@ class AuthRuntime2 {
|
|
|
4717
5030
|
status: "active",
|
|
4718
5031
|
updatedAt: new Date
|
|
4719
5032
|
});
|
|
4720
|
-
await this.
|
|
5033
|
+
await this.afterStatusChange(previousUser, reactivated, caller);
|
|
4721
5034
|
return { user: reactivated, groupIds, managedGroupIds };
|
|
4722
5035
|
}
|
|
4723
5036
|
async getProfile(caller) {
|
|
@@ -5090,6 +5403,6 @@ var SYSTEM_PRINCIPAL2 = { type: "system", id: "system" };
|
|
|
5090
5403
|
function principalsEqual2(left, right) {
|
|
5091
5404
|
return left.type === right.type && left.id === right.id;
|
|
5092
5405
|
}
|
|
5093
|
-
export { ActionDefinitionError2, missingActionMutationMessage, effectsWithoutEditsMessage, assertNonEmpty2, isActionDefinition2, isGlobalActionDefinition2, isObjectActionDefinition2, normalizeActionParams, coerceActionParamsToTyped, validateActionSubject, resolveObjectActionSubject,
|
|
5406
|
+
export { ActionDefinitionError2, missingActionMutationMessage, effectsWithoutEditsMessage, assertNonEmpty2, isActionDefinition2, isGlobalActionDefinition2, isObjectActionDefinition2, normalizeActionParams, coerceActionParamsToTyped, validateActionSubject, resolveObjectActionSubject, PERSONAL_ACCESS_TOKEN_PREFIX2, SERVICE_ACCOUNT_ACCESS_TOKEN_PREFIX2, generateAccessTokenSecret2, hashAccessTokenSecret2, formatAccessTokenValue2, parseAccessTokenValue2, getBearerAccessTokenValue2, createAccessTokenCredential2, setRequestClientAddress2, getRequestClientAddress2, CSRF_HEADER_NAME2, generateCsrfToken2, isCsrfExemptMethod2, verifyDoubleSubmitCsrf2, verifyCsrfToken2, every2, ShareDefinitionError2, defineShare2, isShareDefinition, snapshotShareDefinition, project2, can2, INDEXING_EMBEDDING_TIMEOUT_MS, vectorConfiguration, vectorSources, normalizeVector2, vectorSearchCandidateLimit2, hasVectorProfile2, isVectorProfileQuery2, linkTargetObjectTypeIds, linkEndpointObjectTypeIds2, MAX_RERANK_INPUT_BYTES, composeObjectQueryAdmissions, validateObjectQuery2, validateObjectQueryWithAdmission, collectObjectQueryValidationIssues2, resolveObjectQueryResultShape2, bindCurrentUser, bindCurrentUserPredicate, viewConditionKeys, viewConditionReadCondition, assertViewConditionsReadable, SecurityRegistry, AuthStorageError2, MAX_PENDING_DEVICE_AUTHORIZATIONS2, paginate, InMemoryAuthStorage2, createUsersRuntime, toUserProfile, generateSessionSecret2, hashSessionSecret2, formatSessionCookieValue2, parseSessionCookieValue2, createSessionCredential2, AuthRuntime2, SYSTEM_PRINCIPAL2, principalsEqual2 };
|
|
5094
5407
|
|
|
5095
|
-
//# debugId=
|
|
5408
|
+
//# debugId=C7D0D8EEABFEE09964756E2164756E21
|