@sixb/core 0.1.25 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/index.js +52 -52
- package/dist/actions/request.d.ts.map +1 -1
- package/dist/actions/run/context.d.ts +1 -0
- package/dist/actions/run/context.d.ts.map +1 -1
- package/dist/actions/run/execute.d.ts +3 -0
- package/dist/actions/run/execute.d.ts.map +1 -1
- package/dist/actions/run/executor.d.ts +3 -0
- package/dist/actions/run/executor.d.ts.map +1 -1
- package/dist/actions/run/types.d.ts +5 -0
- package/dist/actions/run/types.d.ts.map +1 -1
- package/dist/actions/types/context.d.ts +11 -0
- package/dist/actions/types/context.d.ts.map +1 -1
- package/dist/agents/adapters.d.ts +30 -4
- package/dist/agents/adapters.d.ts.map +1 -1
- package/dist/agents/approvals.d.ts +8 -0
- package/dist/agents/approvals.d.ts.map +1 -1
- package/dist/agents/attachment-keys.d.ts +25 -0
- package/dist/agents/attachment-keys.d.ts.map +1 -0
- package/dist/agents/cancel.d.ts +12 -0
- package/dist/agents/cancel.d.ts.map +1 -1
- package/dist/agents/children.d.ts.map +1 -1
- package/dist/agents/context-budget.d.ts +48 -0
- package/dist/agents/context-budget.d.ts.map +1 -0
- package/dist/agents/context-compaction.d.ts +89 -9
- package/dist/agents/context-compaction.d.ts.map +1 -1
- package/dist/agents/context-files.d.ts +12 -0
- package/dist/agents/context-files.d.ts.map +1 -0
- package/dist/agents/context-parts.d.ts +41 -0
- package/dist/agents/context-parts.d.ts.map +1 -0
- package/dist/agents/context-request.d.ts +47 -0
- package/dist/agents/context-request.d.ts.map +1 -0
- package/dist/agents/context-token-rate.d.ts +98 -0
- package/dist/agents/context-token-rate.d.ts.map +1 -0
- package/dist/agents/context-use.d.ts +51 -0
- package/dist/agents/context-use.d.ts.map +1 -0
- package/dist/agents/dispatch.d.ts +1 -9
- package/dist/agents/dispatch.d.ts.map +1 -1
- package/dist/agents/execution.d.ts +18 -1
- package/dist/agents/execution.d.ts.map +1 -1
- package/dist/agents/index.d.ts +51 -12
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +227 -85
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/inline-images.d.ts +17 -0
- package/dist/agents/inline-images.d.ts.map +1 -0
- package/dist/agents/message.d.ts +55 -0
- package/dist/agents/message.d.ts.map +1 -1
- package/dist/agents/model-loop.d.ts +25 -7
- package/dist/agents/model-loop.d.ts.map +1 -1
- package/dist/agents/model-routing.d.ts +4 -1
- package/dist/agents/model-routing.d.ts.map +1 -1
- package/dist/agents/request.d.ts +15 -2
- package/dist/agents/request.d.ts.map +1 -1
- package/dist/agents/run-after-finish.d.ts +11 -0
- package/dist/agents/run-after-finish.d.ts.map +1 -0
- package/dist/agents/run-artifacts.d.ts +56 -0
- package/dist/agents/run-artifacts.d.ts.map +1 -0
- package/dist/agents/run-events.d.ts +50 -0
- package/dist/agents/run-events.d.ts.map +1 -0
- package/dist/agents/run-fence.d.ts +38 -0
- package/dist/agents/run-fence.d.ts.map +1 -0
- package/dist/agents/run-liveness.d.ts +36 -0
- package/dist/agents/run-liveness.d.ts.map +1 -0
- package/dist/agents/run-plan.d.ts +120 -0
- package/dist/agents/run-plan.d.ts.map +1 -0
- package/dist/agents/run-session-children.d.ts +89 -0
- package/dist/agents/run-session-children.d.ts.map +1 -0
- package/dist/agents/run-session-http.d.ts +40 -0
- package/dist/agents/run-session-http.d.ts.map +1 -0
- package/dist/agents/run-session-serve.d.ts +40 -0
- package/dist/agents/run-session-serve.d.ts.map +1 -0
- package/dist/agents/run-session-wire.d.ts +31 -0
- package/dist/agents/run-session-wire.d.ts.map +1 -0
- package/dist/agents/run-session.d.ts +241 -0
- package/dist/agents/run-session.d.ts.map +1 -0
- package/dist/agents/run-token.d.ts +40 -0
- package/dist/agents/run-token.d.ts.map +1 -0
- package/dist/agents/run-tools.d.ts +75 -0
- package/dist/agents/run-tools.d.ts.map +1 -0
- package/dist/agents/run-turn.d.ts +94 -0
- package/dist/agents/run-turn.d.ts.map +1 -0
- package/dist/agents/skills.d.ts +9 -2
- package/dist/agents/skills.d.ts.map +1 -1
- package/dist/agents/step-limits.d.ts +18 -0
- package/dist/agents/step-limits.d.ts.map +1 -0
- package/dist/agents/streams/index.d.ts +1 -1
- package/dist/agents/streams/index.d.ts.map +1 -1
- package/dist/agents/streams/index.js +2 -2
- package/dist/agents/streams/internal.d.ts +1 -1
- package/dist/agents/streams/internal.d.ts.map +1 -1
- package/dist/agents/streams/internal.js +7 -5
- package/dist/agents/streams/internal.js.map +1 -1
- package/dist/agents/streams/protocol.d.ts +37 -97
- package/dist/agents/streams/protocol.d.ts.map +1 -1
- package/dist/agents/subagent-runs.d.ts +7 -1
- package/dist/agents/subagent-runs.d.ts.map +1 -1
- package/dist/agents/thread-context-projection.d.ts +10 -0
- package/dist/agents/thread-context-projection.d.ts.map +1 -1
- package/dist/agents/tool-files.d.ts +56 -0
- package/dist/agents/tool-files.d.ts.map +1 -0
- package/dist/agents/workflow-node-session.d.ts +99 -0
- package/dist/agents/workflow-node-session.d.ts.map +1 -0
- package/dist/artifacts/frames/index.js +1 -1
- package/dist/artifacts/frames/index.js.map +1 -1
- package/dist/artifacts/index.js.map +1 -1
- package/dist/artifacts/publish/index.d.ts +1 -1
- package/dist/artifacts/publish/index.d.ts.map +1 -1
- package/dist/artifacts/publish/index.js +30 -30
- package/dist/auth/index.js +14 -14
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/runtime.d.ts +2 -0
- package/dist/auth/runtime.d.ts.map +1 -1
- package/dist/auth/types.d.ts +5 -0
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/authorization/decision.d.ts +2 -0
- package/dist/authorization/decision.d.ts.map +1 -1
- package/dist/authorization/grant-kinds.d.ts +2 -2
- package/dist/authorization/grant-kinds.d.ts.map +1 -1
- package/dist/authorization/index.d.ts +1 -1
- package/dist/authorization/index.d.ts.map +1 -1
- package/dist/authorization/index.js +9 -7
- package/dist/authorization/index.js.map +1 -1
- package/dist/authorization/run-visibility.d.ts +17 -0
- package/dist/authorization/run-visibility.d.ts.map +1 -1
- package/dist/bootstrap/index.js +60 -58
- package/dist/bootstrap/index.js.map +2 -2
- package/dist/{chunk-0xmt5p5y.js → chunk-0g5nyx0k.js} +181 -31
- package/dist/chunk-0g5nyx0k.js.map +14 -0
- package/dist/{chunk-j936th07.js → chunk-0k1h5hmr.js} +59 -58
- package/dist/chunk-0k1h5hmr.js.map +12 -0
- package/dist/{chunk-c0vk1djt.js → chunk-165c9wm6.js} +1 -1
- package/dist/chunk-16a9dmfy.js.map +1 -1
- package/dist/{chunk-3qms4nax.js → chunk-1vg43g9q.js} +20 -20
- package/dist/{chunk-3qms4nax.js.map → chunk-1vg43g9q.js.map} +4 -4
- package/dist/{chunk-6n69k945.js → chunk-21q0j5f2.js} +2 -2
- package/dist/{chunk-24bqx0dx.js → chunk-23s66j86.js} +1 -1
- package/dist/{chunk-24bqx0dx.js.map → chunk-23s66j86.js.map} +1 -1
- package/dist/{chunk-cdk3egjj.js → chunk-2g0r46hy.js} +2 -2
- package/dist/{chunk-cdk3egjj.js.map → chunk-2g0r46hy.js.map} +1 -1
- package/dist/{chunk-fm62y49k.js → chunk-2pk5hjj9.js} +5 -3
- package/dist/{chunk-fm62y49k.js.map → chunk-2pk5hjj9.js.map} +5 -5
- package/dist/{chunk-rap5w0x0.js → chunk-31khg3g0.js} +1 -1
- package/dist/{chunk-rap5w0x0.js.map → chunk-31khg3g0.js.map} +1 -1
- package/dist/{chunk-gqm0b7vd.js → chunk-3x3bebz7.js} +182 -90
- package/dist/chunk-3x3bebz7.js.map +49 -0
- package/dist/{chunk-tdxfsg1c.js → chunk-47e09r7z.js} +2 -2
- package/dist/{chunk-tdxfsg1c.js.map → chunk-47e09r7z.js.map} +1 -1
- package/dist/chunk-4zm1k3xj.js +367 -0
- package/dist/chunk-4zm1k3xj.js.map +13 -0
- package/dist/chunk-58geavnf.js.map +1 -1
- package/dist/{chunk-npcr0228.js → chunk-5kyvrtjh.js} +1 -1
- package/dist/{chunk-npcr0228.js.map → chunk-5kyvrtjh.js.map} +1 -1
- package/dist/chunk-5taem5aw.js +290 -0
- package/dist/chunk-5taem5aw.js.map +10 -0
- package/dist/{chunk-1t6k1avb.js → chunk-6b61s40c.js} +1 -1
- package/dist/{chunk-4ymrcdbm.js → chunk-7hd2ez3q.js} +1 -1
- package/dist/{chunk-4ymrcdbm.js.map → chunk-7hd2ez3q.js.map} +1 -1
- package/dist/{chunk-4f3ydv7t.js → chunk-80nh73br.js} +1 -1
- package/dist/{chunk-4f3ydv7t.js.map → chunk-80nh73br.js.map} +1 -1
- package/dist/{chunk-m2nevja0.js → chunk-855n80en.js} +1 -1
- package/dist/{chunk-m2nevja0.js.map → chunk-855n80en.js.map} +1 -1
- package/dist/{chunk-hk38wahh.js → chunk-8dcfj58k.js} +24 -14
- package/dist/chunk-8dcfj58k.js.map +18 -0
- package/dist/{chunk-8z4726jz.js → chunk-8hvfs0fr.js} +11 -11
- package/dist/{chunk-8z4726jz.js.map → chunk-8hvfs0fr.js.map} +2 -2
- package/dist/chunk-8ncg20rd.js.map +1 -1
- package/dist/{chunk-m36fw8ft.js → chunk-8wsjr52f.js} +1 -1
- package/dist/chunk-9mab3dvg.js.map +1 -1
- package/dist/{chunk-vrf90dkv.js → chunk-9rh8ncs5.js} +2 -2
- package/dist/{chunk-vrf90dkv.js.map → chunk-9rh8ncs5.js.map} +1 -1
- package/dist/chunk-9tc8dxmn.js.map +1 -1
- package/dist/chunk-9x8dybsb.js.map +2 -2
- package/dist/chunk-a3faa34j.js.map +1 -1
- package/dist/{chunk-pgrf64hp.js → chunk-agn8d8ys.js} +1 -1
- package/dist/{chunk-2x19q6k6.js → chunk-c78jjzhy.js} +326 -159
- package/dist/chunk-c78jjzhy.js.map +18 -0
- package/dist/{chunk-6bkbyer5.js → chunk-cgznz22f.js} +3 -3
- package/dist/{chunk-6bkbyer5.js.map → chunk-cgznz22f.js.map} +1 -1
- package/dist/chunk-cwdzcv37.js.map +1 -1
- package/dist/{chunk-2fn60nvs.js → chunk-d3t26vah.js} +2 -2
- package/dist/{chunk-2fn60nvs.js.map → chunk-d3t26vah.js.map} +1 -1
- package/dist/{chunk-vhbw5sqm.js → chunk-d7v97qxq.js} +7 -1
- package/dist/chunk-d7v97qxq.js.map +10 -0
- package/dist/chunk-de5sfbc3.js +3 -0
- package/dist/chunk-de5sfbc3.js.map +9 -0
- package/dist/{chunk-65pyhyas.js → chunk-djs3hw9p.js} +7 -9
- package/dist/{chunk-65pyhyas.js.map → chunk-djs3hw9p.js.map} +2 -2
- package/dist/{chunk-n9w3n38q.js → chunk-dz7a4t3a.js} +78 -11
- package/dist/chunk-dz7a4t3a.js.map +23 -0
- package/dist/chunk-e5wf5vz0.js.map +1 -1
- package/dist/{chunk-bab05bhg.js → chunk-e7v3trpz.js} +1 -1
- package/dist/{chunk-68wghpdf.js → chunk-e99kp9jh.js} +194 -32
- package/dist/{chunk-68wghpdf.js.map → chunk-e99kp9jh.js.map} +10 -10
- package/dist/{chunk-nydf3dbe.js → chunk-edx8xcsm.js} +142 -25
- package/dist/chunk-edx8xcsm.js.map +13 -0
- package/dist/{chunk-9ntbsnke.js → chunk-ekkpzcka.js} +8 -8
- package/dist/{chunk-9ntbsnke.js.map → chunk-ekkpzcka.js.map} +2 -2
- package/dist/chunk-eptrvnby.js.map +1 -1
- package/dist/{chunk-zbc929zg.js → chunk-escedwyt.js} +9 -1
- package/dist/{chunk-zbc929zg.js.map → chunk-escedwyt.js.map} +3 -3
- package/dist/chunk-ey1nk510.js.map +1 -1
- package/dist/{chunk-vr3j63jq.js → chunk-f2w6328x.js} +79 -79
- package/dist/{chunk-vr3j63jq.js.map → chunk-f2w6328x.js.map} +4 -4
- package/dist/chunk-fb3feg1e.js.map +1 -1
- package/dist/{chunk-z3ryd53f.js → chunk-fb3m4sa1.js} +35 -11
- package/dist/{chunk-z3ryd53f.js.map → chunk-fb3m4sa1.js.map} +3 -3
- package/dist/{chunk-xe0732g0.js → chunk-fdkpkkpw.js} +94 -44
- package/dist/{chunk-xe0732g0.js.map → chunk-fdkpkkpw.js.map} +5 -5
- package/dist/chunk-ff5xkv0p.js.map +1 -1
- package/dist/{chunk-r6szek0x.js → chunk-fg1db9xx.js} +46 -139
- package/dist/chunk-fg1db9xx.js.map +10 -0
- package/dist/chunk-fntqb7qy.js.map +1 -1
- package/dist/{chunk-73v685wb.js → chunk-frsz8wxd.js} +4 -4
- package/dist/{chunk-73v685wb.js.map → chunk-frsz8wxd.js.map} +3 -3
- package/dist/{chunk-bnr4a734.js → chunk-he7g39e5.js} +26 -24
- package/dist/{chunk-bnr4a734.js.map → chunk-he7g39e5.js.map} +5 -5
- package/dist/chunk-hjy3dsws.js +4049 -0
- package/dist/chunk-hjy3dsws.js.map +45 -0
- package/dist/chunk-hn2r7z41.js.map +1 -1
- package/dist/{chunk-6y0mkhex.js → chunk-jbw70d6t.js} +2 -2
- package/dist/{chunk-6y0mkhex.js.map → chunk-jbw70d6t.js.map} +1 -1
- package/dist/{chunk-661ezhks.js → chunk-jftd33rc.js} +107 -28
- package/dist/chunk-jftd33rc.js.map +11 -0
- package/dist/{chunk-2gjj5dx3.js → chunk-jhbk10wf.js} +1 -1
- package/dist/{chunk-18sk89cg.js → chunk-jk97v21j.js} +7 -2
- package/dist/chunk-jk97v21j.js.map +10 -0
- package/dist/chunk-jmfet9r4.js.map +1 -1
- package/dist/{chunk-4y26vs3v.js → chunk-jspskey0.js} +16 -3
- package/dist/chunk-jspskey0.js.map +10 -0
- package/dist/chunk-kcqpk9w1.js.map +2 -2
- package/dist/chunk-kfee1h52.js.map +1 -1
- package/dist/{chunk-qx00vjrj.js → chunk-kwfhd1g0.js} +23 -23
- package/dist/{chunk-qx00vjrj.js.map → chunk-kwfhd1g0.js.map} +4 -4
- package/dist/{chunk-7ny9mjgm.js → chunk-m3qe54bb.js} +1 -1
- package/dist/chunk-m427qgq0.js.map +1 -1
- package/dist/chunk-mbsbxarb.js.map +1 -1
- package/dist/chunk-mmagke4x.js.map +1 -1
- package/dist/chunk-mzx71snp.js.map +1 -1
- package/dist/{chunk-vd1rk42q.js → chunk-n54k068r.js} +22 -18
- package/dist/chunk-n54k068r.js.map +12 -0
- package/dist/chunk-n8q5j6y5.js.map +1 -1
- package/dist/{chunk-97wr6p2g.js → chunk-neftrg0n.js} +9 -9
- package/dist/{chunk-97wr6p2g.js.map → chunk-neftrg0n.js.map} +4 -4
- package/dist/{chunk-07kkp2e1.js → chunk-nghc7eq0.js} +2 -2
- package/dist/{chunk-07kkp2e1.js.map → chunk-nghc7eq0.js.map} +1 -1
- package/dist/{chunk-hqsp2sx4.js → chunk-nz7815t3.js} +48 -34
- package/dist/chunk-nz7815t3.js.map +14 -0
- package/dist/{chunk-fe8zwt8b.js → chunk-peggaard.js} +2 -2
- package/dist/{chunk-1j6j0rht.js → chunk-qbrmpgvv.js} +1 -1
- package/dist/{chunk-1j6j0rht.js.map → chunk-qbrmpgvv.js.map} +1 -1
- package/dist/chunk-qf954wje.js.map +1 -1
- package/dist/{chunk-dp0cdtj2.js → chunk-qsg8rw04.js} +2 -2
- package/dist/{chunk-et017krg.js → chunk-qya541bk.js} +10374 -9471
- package/dist/chunk-qya541bk.js.map +129 -0
- package/dist/{chunk-d2m879s4.js → chunk-r1cxq7vv.js} +27 -27
- package/dist/chunk-r1cxq7vv.js.map +12 -0
- package/dist/{chunk-kyjcwqz6.js → chunk-rtkqczbr.js} +3 -1
- package/dist/{chunk-kyjcwqz6.js.map → chunk-rtkqczbr.js.map} +3 -3
- package/dist/{chunk-nzapm6p0.js → chunk-s3we74h8.js} +1 -2
- package/dist/chunk-s3we74h8.js.map +12 -0
- package/dist/{chunk-2adz0h75.js → chunk-s7xqfxs9.js} +35 -3
- package/dist/chunk-s7xqfxs9.js.map +11 -0
- package/dist/{chunk-g663fahq.js → chunk-scyq22td.js} +1 -1
- package/dist/{chunk-g663fahq.js.map → chunk-scyq22td.js.map} +1 -1
- package/dist/{chunk-yecwnwpq.js → chunk-semf1yqn.js} +92 -53
- package/dist/{chunk-yecwnwpq.js.map → chunk-semf1yqn.js.map} +10 -10
- package/dist/chunk-t5608tkq.js.map +1 -1
- package/dist/{chunk-pdt5cw8z.js → chunk-tvefbgvw.js} +5 -2
- package/dist/{chunk-pdt5cw8z.js.map → chunk-tvefbgvw.js.map} +3 -3
- package/dist/{chunk-rp9wwk7b.js → chunk-vkweppkw.js} +30 -30
- package/dist/{chunk-rp9wwk7b.js.map → chunk-vkweppkw.js.map} +4 -4
- package/dist/{chunk-45ngkxkp.js → chunk-w122ymx4.js} +2 -2
- package/dist/{chunk-45ngkxkp.js.map → chunk-w122ymx4.js.map} +1 -1
- package/dist/{chunk-48jezz3j.js → chunk-w976a4me.js} +1 -1
- package/dist/{chunk-48jezz3j.js.map → chunk-w976a4me.js.map} +1 -1
- package/dist/chunk-waqk73p1.js.map +1 -1
- package/dist/{chunk-c844dkwd.js → chunk-wx7smkn2.js} +4 -5
- package/dist/{chunk-c844dkwd.js.map → chunk-wx7smkn2.js.map} +2 -2
- package/dist/chunk-x0v3jd47.js.map +1 -1
- package/dist/{chunk-3p93tb91.js → chunk-xj97s5js.js} +105 -105
- package/dist/{chunk-3p93tb91.js.map → chunk-xj97s5js.js.map} +4 -4
- package/dist/{chunk-sqfvnvqj.js → chunk-y2x2935j.js} +3 -3
- package/dist/{chunk-sqfvnvqj.js.map → chunk-y2x2935j.js.map} +1 -1
- package/dist/{chunk-5tfev0fv.js → chunk-ytzcxtpt.js} +171 -171
- package/dist/{chunk-5tfev0fv.js.map → chunk-ytzcxtpt.js.map} +4 -4
- package/dist/chunk-yw9pyg66.js.map +1 -1
- package/dist/{chunk-62a63pr6.js → chunk-ztf5vtmp.js} +8 -8
- package/dist/{chunk-62a63pr6.js.map → chunk-ztf5vtmp.js.map} +2 -2
- package/dist/connectors/connections/authorizations.d.ts +2 -2
- package/dist/connectors/connections/authorizations.d.ts.map +1 -1
- package/dist/connectors/connections/service.d.ts.map +1 -1
- package/dist/connectors/connections/tokens.d.ts +2 -2
- package/dist/connectors/connections/tokens.d.ts.map +1 -1
- package/dist/connectors/connections/validation.d.ts +5 -0
- package/dist/connectors/connections/validation.d.ts.map +1 -1
- package/dist/connectors/types.d.ts +9 -2
- package/dist/connectors/types.d.ts.map +1 -1
- package/dist/datasets/execution.d.ts +26 -1
- package/dist/datasets/execution.d.ts.map +1 -1
- package/dist/datasets/index.d.ts +1 -1
- package/dist/datasets/index.d.ts.map +1 -1
- package/dist/datasets/lineage.d.ts +55 -0
- package/dist/datasets/lineage.d.ts.map +1 -0
- package/dist/datasets/write.js +5 -5
- package/dist/deploy/internal.js +2 -5
- package/dist/deploy/internal.js.map +3 -3
- package/dist/deploy/types.d.ts +8 -3
- package/dist/deploy/types.d.ts.map +1 -1
- package/dist/env/index.d.ts +36 -0
- package/dist/env/index.d.ts.map +1 -0
- package/dist/env/index.js +17 -0
- package/dist/env/index.js.map +10 -0
- package/dist/error-reporting/internal.js +3 -3
- package/dist/errors/catalog.d.ts +8 -0
- package/dist/errors/catalog.d.ts.map +1 -1
- package/dist/errors/internal.js +1 -1
- package/dist/events/index.js +3 -3
- package/dist/execution/agent.d.ts +2 -2
- package/dist/execution/agent.d.ts.map +1 -1
- package/dist/execution/agent.js +55 -55
- package/dist/execution/agent.js.map +1 -1
- package/dist/execution/index.d.ts +1 -0
- package/dist/execution/index.d.ts.map +1 -1
- package/dist/execution/primitive.js +52 -52
- package/dist/execution/request-client.d.ts +21 -0
- package/dist/execution/request-client.d.ts.map +1 -0
- package/dist/execution/request.d.ts.map +1 -1
- package/dist/execution/request.js +54 -52
- package/dist/execution/request.js.map +3 -3
- package/dist/http/api-routes.d.ts +12 -11
- package/dist/http/api-routes.d.ts.map +1 -1
- package/dist/http/index.js +1 -1
- package/dist/index.d.ts +10 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +72 -70
- package/dist/index.js.map +1 -1
- package/dist/lake-storage/index.js +5 -5
- package/dist/lineage/commits.d.ts +45 -0
- package/dist/lineage/commits.d.ts.map +1 -0
- package/dist/lineage/executors.d.ts +14 -0
- package/dist/lineage/executors.d.ts.map +1 -0
- package/dist/lineage/link.d.ts +10 -0
- package/dist/lineage/link.d.ts.map +1 -0
- package/dist/lineage/object.d.ts +10 -0
- package/dist/lineage/object.d.ts.map +1 -0
- package/dist/lineage/projections.d.ts +34 -0
- package/dist/lineage/projections.d.ts.map +1 -0
- package/dist/lineage/reader.d.ts +34 -0
- package/dist/lineage/reader.d.ts.map +1 -0
- package/dist/lineage/sources.d.ts +62 -0
- package/dist/lineage/sources.d.ts.map +1 -0
- package/dist/lineage/types.d.ts +140 -0
- package/dist/lineage/types.d.ts.map +1 -0
- package/dist/logging/internal.js +1 -1
- package/dist/materializer/effective/resolve.d.ts +63 -6
- package/dist/materializer/effective/resolve.d.ts.map +1 -1
- package/dist/materializer/index.js +30 -30
- package/dist/models/errors.d.ts +8 -0
- package/dist/models/errors.d.ts.map +1 -1
- package/dist/models/events.d.ts +10 -0
- package/dist/models/events.d.ts.map +1 -1
- package/dist/models/execution/errors.d.ts +5 -0
- package/dist/models/execution/errors.d.ts.map +1 -1
- package/dist/models/execution/index.d.ts +3 -1
- package/dist/models/execution/index.d.ts.map +1 -1
- package/dist/models/execution/index.js +60 -52
- package/dist/models/execution/index.js.map +1 -1
- package/dist/models/execution/model-call-recorder.d.ts +9 -2
- package/dist/models/execution/model-call-recorder.d.ts.map +1 -1
- package/dist/models/execution.d.ts.map +1 -1
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +3 -3
- package/dist/models/language-call.d.ts +51 -0
- package/dist/models/language-call.d.ts.map +1 -0
- package/dist/models/language-model.d.ts +29 -2
- package/dist/models/language-model.d.ts.map +1 -1
- package/dist/objects/execution.d.ts +4 -1
- package/dist/objects/execution.d.ts.map +1 -1
- package/dist/objects/index.js +52 -52
- 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 +33 -31
- package/dist/objects/query/index.js.map +1 -1
- package/dist/objects/query/ir.d.ts +16 -0
- package/dist/objects/query/ir.d.ts.map +1 -1
- package/dist/objects/query/link-endpoints.d.ts +11 -0
- package/dist/objects/query/link-endpoints.d.ts.map +1 -0
- package/dist/objects/query/normalize.d.ts.map +1 -1
- package/dist/objects/query/planner.d.ts +5 -0
- package/dist/objects/query/planner.d.ts.map +1 -1
- package/dist/objects/query/validate.d.ts +2 -0
- package/dist/objects/query/validate.d.ts.map +1 -1
- package/dist/objects/sdk/object-set.d.ts +2 -0
- package/dist/objects/sdk/object-set.d.ts.map +1 -1
- package/dist/ontology/docs-markdown.d.ts.map +1 -1
- package/dist/ontology/index.d.ts +1 -1
- package/dist/ontology/index.d.ts.map +1 -1
- package/dist/ontology/index.js +6 -6
- package/dist/ontology/internal.js +8 -275
- package/dist/ontology/internal.js.map +3 -4
- package/dist/ontology/user-ref.d.ts +21 -3
- package/dist/ontology/user-ref.d.ts.map +1 -1
- package/dist/pipelines/index.js +34 -34
- package/dist/projections/builders.d.ts +13 -2
- package/dist/projections/builders.d.ts.map +1 -1
- package/dist/projections/index.d.ts +1 -1
- package/dist/projections/index.d.ts.map +1 -1
- package/dist/projections/internal.js +30 -30
- package/dist/projections/types.d.ts +7 -0
- package/dist/projections/types.d.ts.map +1 -1
- package/dist/projections/validation.d.ts +2 -0
- package/dist/projections/validation.d.ts.map +1 -1
- package/dist/query.js +2 -2
- package/dist/queues/in-memory.d.ts +1 -2
- 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 +0 -8
- package/dist/queues/types.d.ts.map +1 -1
- package/dist/runtime/create.d.ts +3 -0
- package/dist/runtime/create.d.ts.map +1 -1
- package/dist/runtime/internal.js +37 -37
- package/dist/runtime/internal.js.map +1 -1
- package/dist/runtime/resolve-definitions.d.ts.map +1 -1
- package/dist/runtime/types.d.ts +16 -0
- package/dist/runtime/types.d.ts.map +1 -1
- package/dist/sandboxes/configuration.d.ts +4 -6
- package/dist/sandboxes/configuration.d.ts.map +1 -1
- package/dist/sandboxes/environment.d.ts.map +1 -1
- package/dist/sandboxes/exec.d.ts +5 -3
- package/dist/sandboxes/exec.d.ts.map +1 -1
- package/dist/sandboxes/guest-credentials.d.ts +61 -0
- package/dist/sandboxes/guest-credentials.d.ts.map +1 -0
- package/dist/sandboxes/index.d.ts +2 -0
- package/dist/sandboxes/index.d.ts.map +1 -1
- package/dist/sandboxes/index.js +23 -9
- package/dist/sandboxes/index.js.map +1 -1
- package/dist/sandboxes/sandbox.d.ts +18 -4
- package/dist/sandboxes/sandbox.d.ts.map +1 -1
- package/dist/security/grants.d.ts +1 -1
- package/dist/security/grants.d.ts.map +1 -1
- package/dist/security/internal.js +1 -1
- package/dist/security/internal.js.map +1 -1
- package/dist/security/project.d.ts.map +1 -1
- package/dist/security/public.js +2 -2
- package/dist/security/types.d.ts +10 -3
- package/dist/security/types.d.ts.map +1 -1
- package/dist/security/validation.d.ts.map +1 -1
- package/dist/shares/execution.d.ts +9 -0
- package/dist/shares/execution.d.ts.map +1 -1
- package/dist/shares/index.d.ts +1 -1
- package/dist/shares/index.d.ts.map +1 -1
- package/dist/shares/internal.js +28 -28
- package/dist/shares/internal.js.map +1 -1
- package/dist/storage/action-runs/failure.js +2 -2
- package/dist/storage/agents/in-memory.d.ts +40 -1
- 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 +45 -1
- package/dist/storage/agents/provider.d.ts.map +1 -1
- package/dist/storage/agents/provider.js +34 -4
- package/dist/storage/agents/provider.js.map +1 -1
- package/dist/storage/agents/types.d.ts +186 -8
- package/dist/storage/agents/types.d.ts.map +1 -1
- package/dist/storage/ai-cost/analytics.d.ts +13 -5
- package/dist/storage/ai-cost/analytics.d.ts.map +1 -1
- package/dist/storage/ai-cost/groups.d.ts +19 -2
- package/dist/storage/ai-cost/groups.d.ts.map +1 -1
- package/dist/storage/ai-cost/in-memory.d.ts +6 -1
- package/dist/storage/ai-cost/in-memory.d.ts.map +1 -1
- package/dist/storage/ai-cost/index.d.ts +1 -1
- package/dist/storage/ai-cost/index.d.ts.map +1 -1
- package/dist/storage/ai-cost/provider.d.ts +1 -1
- package/dist/storage/ai-cost/provider.d.ts.map +1 -1
- package/dist/storage/ai-cost/provider.js +7 -5
- package/dist/storage/ai-cost/provider.js.map +1 -1
- package/dist/storage/ai-cost/types.d.ts +65 -9
- package/dist/storage/ai-cost/types.d.ts.map +1 -1
- package/dist/storage/ai-limits/enforcement.js +4 -4
- package/dist/storage/ai-limits/provider.js +2 -2
- package/dist/storage/connector-connections/provider.js +1 -1
- package/dist/storage/connector-connections/provider.js.map +1 -1
- package/dist/storage/file-upload-sessions/provider.js +12 -12
- package/dist/storage/in-memory/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +34 -34
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.js +6 -6
- package/dist/storage/objects/in-memory/query.d.ts.map +1 -1
- package/dist/storage/objects/query-preparation.d.ts +5 -0
- package/dist/storage/objects/query-preparation.d.ts.map +1 -1
- package/dist/storage/ontology/commits.d.ts +6 -1
- package/dist/storage/ontology/commits.d.ts.map +1 -1
- package/dist/storage/ontology/in-memory/commits.d.ts.map +1 -1
- package/dist/storage/ontology/in-memory/materializations.d.ts +2 -1
- package/dist/storage/ontology/in-memory/materializations.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 +16 -0
- package/dist/storage/ontology/materializations.d.ts.map +1 -1
- package/dist/storage/ontology/provider.d.ts +6 -1
- package/dist/storage/ontology/provider.d.ts.map +1 -1
- package/dist/storage/ontology/provider.js +4 -2
- package/dist/storage/ontology/provider.js.map +1 -1
- package/dist/storage/operation-scope.d.ts +10 -0
- package/dist/storage/operation-scope.d.ts.map +1 -1
- package/dist/storage/operation-scope.js +7 -3
- package/dist/storage/operation-scope.js.map +1 -1
- package/dist/storage/projection-runs/provider.js +2 -2
- package/dist/storage/share-grants/provider.js +3 -3
- package/dist/storage/types.d.ts +1 -1
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/storage/workflow-runs/provider.js +12 -12
- package/dist/syncs/index.js +35 -35
- package/dist/testing/agent-storage-contract.d.ts.map +1 -1
- package/dist/testing/agent-token-rate-storage-contract.d.ts +14 -0
- package/dist/testing/agent-token-rate-storage-contract.d.ts.map +1 -0
- package/dist/testing/ai-model-call-groups-contract.d.ts +1 -1
- package/dist/testing/ai-model-call-groups-contract.d.ts.map +1 -1
- package/dist/testing/index.d.ts +3 -0
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +4671 -3499
- package/dist/testing/index.js.map +14 -11
- package/dist/testing/materializer-storage-contract.d.ts.map +1 -1
- package/dist/testing/object-query-contract.d.ts.map +1 -1
- package/dist/testing/ontology-contract-fixture.d.ts +3 -3
- package/dist/testing/ontology-contract-fixture.d.ts.map +1 -1
- package/dist/testing/ontology-storage-contract.d.ts.map +1 -1
- package/dist/testing/queues-contract.d.ts.map +1 -1
- package/dist/testing/sandbox-credentials-contract.d.ts +27 -0
- package/dist/testing/sandbox-credentials-contract.d.ts.map +1 -0
- package/dist/testing/sandboxes-contract.d.ts.map +1 -1
- package/dist/testing/users.d.ts +20 -0
- package/dist/testing/users.d.ts.map +1 -0
- package/dist/users/execution.d.ts +6 -2
- 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/internal.js +28 -28
- package/dist/webhooks/internal.js.map +1 -1
- package/dist/workers/index.js +1 -1
- package/dist/workers/index.js.map +1 -1
- package/dist/workflows/builders.d.ts.map +1 -1
- package/dist/workflows/index.js +58 -56
- package/dist/workflows/index.js.map +1 -1
- package/dist/workflows/types.d.ts +6 -0
- package/dist/workflows/types.d.ts.map +1 -1
- package/dist/workflows/validation.d.ts.map +1 -1
- package/package.json +7 -1
- package/src/actions/request.ts +6 -0
- package/src/actions/run/context.ts +6 -0
- package/src/actions/run/execute.ts +8 -2
- package/src/actions/run/executor.ts +4 -0
- package/src/actions/run/types.ts +5 -0
- package/src/actions/types/context.ts +11 -0
- package/src/agents/README.md +144 -0
- package/src/agents/adapters.ts +73 -23
- package/src/agents/approvals.ts +22 -0
- package/src/agents/attachment-keys.ts +83 -0
- package/src/agents/cancel.ts +16 -1
- package/src/agents/children.ts +5 -3
- package/src/agents/context-budget.ts +121 -0
- package/src/agents/context-compaction.ts +317 -150
- package/src/agents/context-files.ts +48 -0
- package/src/agents/context-parts.ts +219 -0
- package/src/agents/context-request.ts +100 -0
- package/src/agents/context-token-rate.ts +224 -0
- package/src/agents/context-use.ts +187 -0
- package/src/agents/dispatch.ts +8 -58
- package/src/agents/execution.ts +123 -0
- package/src/agents/index.ts +173 -23
- package/src/agents/inline-images.ts +17 -0
- package/src/agents/message.ts +70 -1
- package/src/agents/model-loop.ts +209 -128
- package/src/agents/model-routing.ts +7 -2
- package/src/agents/request.ts +87 -21
- package/src/agents/run-after-finish.ts +133 -0
- package/src/agents/run-artifacts.ts +257 -0
- package/src/agents/run-events.ts +303 -0
- package/src/agents/run-fence.ts +71 -0
- package/src/agents/run-liveness.ts +122 -0
- package/src/agents/run-plan.ts +335 -0
- package/src/agents/run-session-children.ts +303 -0
- package/src/agents/run-session-http.ts +400 -0
- package/src/agents/run-session-serve.ts +603 -0
- package/src/agents/run-session-wire.ts +189 -0
- package/src/agents/run-session.ts +828 -0
- package/src/agents/run-token.ts +124 -0
- package/src/agents/run-tools.ts +188 -0
- package/src/agents/run-turn.ts +355 -0
- package/src/agents/skills.ts +9 -2
- package/src/agents/step-limits.ts +27 -0
- package/src/agents/streams/index.ts +2 -0
- package/src/agents/streams/internal.ts +2 -1
- package/src/agents/streams/protocol.ts +125 -294
- package/src/agents/subagent-runs.ts +19 -1
- package/src/agents/thread-context-projection.ts +25 -17
- package/src/agents/tool-files.ts +263 -0
- package/src/agents/workflow-node-session.ts +387 -0
- package/src/artifacts/publish/index.ts +1 -0
- package/src/auth/runtime.ts +30 -1
- package/src/auth/types.ts +5 -0
- package/src/authorization/decision.ts +5 -0
- package/src/authorization/grant-kinds.ts +8 -0
- package/src/authorization/index.ts +2 -0
- package/src/authorization/run-visibility.ts +37 -0
- package/src/connectors/connections/authorizations.ts +3 -2
- package/src/connectors/connections/service.ts +5 -1
- package/src/connectors/connections/tokens.ts +41 -5
- package/src/connectors/connections/validation.ts +21 -0
- package/src/connectors/types.ts +12 -2
- package/src/datasets/execution.ts +89 -2
- package/src/datasets/index.ts +1 -0
- package/src/datasets/lineage.ts +194 -0
- package/src/deploy/types.ts +8 -3
- package/src/deploy/validation.ts +1 -4
- package/src/env/index.ts +46 -0
- package/src/errors/catalog.ts +12 -0
- package/src/execution/agent.ts +2 -2
- package/src/execution/authorized-object-reader.ts +28 -1
- package/src/execution/index.ts +1 -0
- package/src/execution/request-client.ts +44 -0
- package/src/execution/request.ts +2 -0
- package/src/http/api-routes.ts +136 -50
- package/src/index.ts +35 -1
- package/src/lineage/README.md +107 -0
- package/src/lineage/commits.ts +173 -0
- package/src/lineage/executors.ts +103 -0
- package/src/lineage/link.ts +138 -0
- package/src/lineage/object.ts +218 -0
- package/src/lineage/projections.ts +174 -0
- package/src/lineage/reader.ts +89 -0
- package/src/lineage/sources.ts +156 -0
- package/src/lineage/types.ts +149 -0
- package/src/materializer/effective/resolve.ts +198 -50
- package/src/models/errors.ts +10 -0
- package/src/models/events.ts +13 -1
- package/src/models/execution/README.md +15 -1
- package/src/models/execution/errors.ts +14 -0
- package/src/models/execution/index.ts +3 -1
- package/src/models/execution/model-call-recorder.ts +19 -11
- package/src/models/execution.ts +9 -11
- package/src/models/index.ts +3 -0
- package/src/models/language-call.ts +247 -0
- package/src/models/language-model.ts +34 -2
- package/src/objects/execution.ts +6 -1
- package/src/objects/query/executor.ts +28 -13
- package/src/objects/query/index.ts +1 -0
- package/src/objects/query/ir.ts +16 -0
- package/src/objects/query/link-endpoints.ts +29 -0
- package/src/objects/query/normalize.ts +3 -0
- package/src/objects/query/planner.ts +5 -0
- package/src/objects/query/validate.ts +73 -3
- package/src/objects/sdk/object-set.ts +33 -1
- package/src/ontology/docs-markdown.ts +14 -0
- package/src/ontology/index.ts +1 -1
- package/src/ontology/user-ref.ts +40 -6
- package/src/projections/builders.ts +48 -4
- package/src/projections/index.ts +1 -0
- package/src/projections/registry.ts +1 -0
- package/src/projections/revision.ts +10 -0
- package/src/projections/types.ts +8 -0
- package/src/projections/validation.ts +52 -6
- package/src/queues/in-memory.ts +0 -5
- package/src/queues/index.ts +0 -2
- package/src/queues/types.ts +0 -13
- package/src/runtime/create.ts +6 -0
- package/src/runtime/host.ts +1 -1
- package/src/runtime/resolve-definitions.ts +7 -0
- package/src/runtime/sixb.ts +4 -1
- package/src/runtime/types.ts +18 -0
- package/src/sandboxes/README.md +17 -6
- package/src/sandboxes/configuration.ts +7 -9
- package/src/sandboxes/environment.ts +1 -0
- package/src/sandboxes/exec.ts +36 -9
- package/src/sandboxes/guest-credentials.ts +262 -0
- package/src/sandboxes/index.ts +14 -0
- package/src/sandboxes/sandbox.ts +19 -4
- package/src/security/grants.ts +3 -0
- package/src/security/project.ts +1 -0
- package/src/security/types.ts +8 -3
- package/src/security/validation.ts +5 -4
- package/src/shares/execution.ts +35 -3
- package/src/shares/index.ts +1 -0
- package/src/storage/agents/in-memory.ts +225 -1
- package/src/storage/agents/index.ts +10 -0
- package/src/storage/agents/provider.ts +270 -12
- package/src/storage/agents/types.ts +195 -7
- package/src/storage/ai-cost/analytics.ts +177 -10
- package/src/storage/ai-cost/groups.ts +122 -35
- package/src/storage/ai-cost/in-memory.ts +10 -4
- package/src/storage/ai-cost/index.ts +5 -0
- package/src/storage/ai-cost/provider.ts +5 -1
- package/src/storage/ai-cost/types.ts +65 -9
- package/src/storage/in-memory/index.ts +10 -0
- package/src/storage/index.ts +17 -0
- package/src/storage/objects/in-memory/query.ts +5 -1
- package/src/storage/objects/query-preparation.ts +10 -0
- package/src/storage/ontology/commits.ts +6 -1
- package/src/storage/ontology/in-memory/commits.ts +7 -0
- package/src/storage/ontology/in-memory/materializations.ts +24 -0
- package/src/storage/ontology/index.ts +2 -0
- package/src/storage/ontology/materializations.ts +21 -0
- package/src/storage/ontology/provider.ts +41 -1
- package/src/storage/operation-scope.ts +41 -0
- package/src/storage/types.ts +1 -0
- package/src/testing/agent-storage-contract.ts +581 -2
- package/src/testing/agent-token-rate-storage-contract.ts +171 -0
- package/src/testing/ai-model-call-groups-contract.ts +225 -8
- package/src/testing/index.ts +10 -0
- package/src/testing/materializer-storage-contract.ts +294 -10
- package/src/testing/object-query-contract.ts +48 -0
- package/src/testing/ontology-contract-fixture.ts +18 -7
- package/src/testing/ontology-storage-contract.ts +42 -0
- package/src/testing/queues-contract.ts +0 -16
- package/src/testing/sandbox-credentials-contract.ts +284 -0
- package/src/testing/sandboxes-contract.ts +21 -0
- package/src/testing/users.ts +39 -0
- package/src/users/execution.ts +33 -7
- package/src/users/index.ts +7 -1
- package/src/workflows/builders.ts +8 -1
- package/src/workflows/types.ts +6 -0
- package/src/workflows/validation.ts +1 -0
- package/dist/agents/api-gateway.d.ts +0 -26
- package/dist/agents/api-gateway.d.ts.map +0 -1
- package/dist/chunk-0xmt5p5y.js.map +0 -14
- package/dist/chunk-18sk89cg.js.map +0 -10
- package/dist/chunk-2adz0h75.js.map +0 -11
- package/dist/chunk-2x19q6k6.js.map +0 -17
- package/dist/chunk-4y26vs3v.js.map +0 -10
- package/dist/chunk-661ezhks.js.map +0 -11
- package/dist/chunk-d2m879s4.js.map +0 -12
- package/dist/chunk-et017krg.js.map +0 -120
- package/dist/chunk-gqm0b7vd.js.map +0 -48
- package/dist/chunk-hk38wahh.js.map +0 -18
- package/dist/chunk-hqsp2sx4.js.map +0 -14
- package/dist/chunk-j936th07.js.map +0 -12
- package/dist/chunk-n9w3n38q.js.map +0 -23
- package/dist/chunk-nydf3dbe.js.map +0 -13
- package/dist/chunk-nzapm6p0.js.map +0 -12
- package/dist/chunk-r6szek0x.js.map +0 -10
- package/dist/chunk-vabga7fk.js +0 -176
- package/dist/chunk-vabga7fk.js.map +0 -12
- package/dist/chunk-vd1rk42q.js.map +0 -12
- package/dist/chunk-vhbw5sqm.js.map +0 -10
- package/dist/chunk-vpgwq5nf.js +0 -810
- package/dist/chunk-vpgwq5nf.js.map +0 -21
- package/src/agents/api-gateway.ts +0 -68
- /package/dist/{chunk-c0vk1djt.js.map → chunk-165c9wm6.js.map} +0 -0
- /package/dist/{chunk-6n69k945.js.map → chunk-21q0j5f2.js.map} +0 -0
- /package/dist/{chunk-1t6k1avb.js.map → chunk-6b61s40c.js.map} +0 -0
- /package/dist/{chunk-m36fw8ft.js.map → chunk-8wsjr52f.js.map} +0 -0
- /package/dist/{chunk-pgrf64hp.js.map → chunk-agn8d8ys.js.map} +0 -0
- /package/dist/{chunk-bab05bhg.js.map → chunk-e7v3trpz.js.map} +0 -0
- /package/dist/{chunk-2gjj5dx3.js.map → chunk-jhbk10wf.js.map} +0 -0
- /package/dist/{chunk-7ny9mjgm.js.map → chunk-m3qe54bb.js.map} +0 -0
- /package/dist/{chunk-fe8zwt8b.js.map → chunk-peggaard.js.map} +0 -0
- /package/dist/{chunk-dp0cdtj2.js.map → chunk-qsg8rw04.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -8,45 +8,45 @@ import {
|
|
|
8
8
|
warnUnverifiedWebhook2,
|
|
9
9
|
SixbHost2,
|
|
10
10
|
createSixb2
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import"./chunk-
|
|
11
|
+
} from "./chunk-semf1yqn.js";
|
|
12
|
+
import"./chunk-xj97s5js.js";
|
|
13
|
+
import"./chunk-4zm1k3xj.js";
|
|
13
14
|
import"./chunk-yw9pyg66.js";
|
|
14
|
-
import"./chunk-
|
|
15
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-ytzcxtpt.js";
|
|
16
|
+
import"./chunk-y2x2935j.js";
|
|
16
17
|
import {
|
|
17
18
|
InMemoryQueues2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-3p93tb91.js";
|
|
20
|
-
import"./chunk-c69nj7se.js";
|
|
19
|
+
} from "./chunk-s3we74h8.js";
|
|
21
20
|
import {
|
|
22
21
|
InMemoryLakeStorage2
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-d3t26vah.js";
|
|
23
|
+
import"./chunk-c69nj7se.js";
|
|
24
24
|
import {
|
|
25
25
|
isDomainEventType2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-w122ymx4.js";
|
|
27
27
|
import {
|
|
28
28
|
RuleValidationError2,
|
|
29
29
|
isRuleDefinition2,
|
|
30
30
|
defineRule2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-he7g39e5.js";
|
|
32
32
|
import {
|
|
33
33
|
defineConnector2,
|
|
34
34
|
defineSync2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-vkweppkw.js";
|
|
36
36
|
import {
|
|
37
37
|
interventionField2,
|
|
38
38
|
defineWorkflowStep2,
|
|
39
39
|
defineAgentStep2,
|
|
40
40
|
defineIntervention2,
|
|
41
41
|
defineWorkflow2
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import"./chunk-
|
|
42
|
+
} from "./chunk-n54k068r.js";
|
|
43
|
+
import"./chunk-8wsjr52f.js";
|
|
44
44
|
import {
|
|
45
45
|
definePipelineStep2,
|
|
46
46
|
definePipeline2,
|
|
47
47
|
isPipelineDefinition2,
|
|
48
48
|
isPipelineStepDefinition2
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-855n80en.js";
|
|
50
50
|
import {
|
|
51
51
|
defineSchedule2,
|
|
52
52
|
isScheduleDefinition2
|
|
@@ -65,8 +65,10 @@ import {
|
|
|
65
65
|
import {
|
|
66
66
|
defineAgentTool2,
|
|
67
67
|
agent2
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import"./chunk-
|
|
68
|
+
} from "./chunk-hjy3dsws.js";
|
|
69
|
+
import"./chunk-5taem5aw.js";
|
|
70
|
+
import"./chunk-de5sfbc3.js";
|
|
71
|
+
import"./chunk-jftd33rc.js";
|
|
70
72
|
import {
|
|
71
73
|
defineAction2,
|
|
72
74
|
param2,
|
|
@@ -79,32 +81,32 @@ import {
|
|
|
79
81
|
isWorkflowDefinition2,
|
|
80
82
|
ObjectError2,
|
|
81
83
|
ShareError2
|
|
82
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-qya541bk.js";
|
|
83
85
|
import {
|
|
84
86
|
SyncValidationError2
|
|
85
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ztf5vtmp.js";
|
|
86
88
|
import {
|
|
87
89
|
ConnectorError2,
|
|
88
90
|
ConnectorNotFoundError2,
|
|
89
91
|
ConnectorOAuthError2
|
|
90
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-9rh8ncs5.js";
|
|
93
|
+
import"./chunk-f2w6328x.js";
|
|
91
94
|
import {
|
|
92
95
|
SandboxError2,
|
|
93
96
|
SandboxNotRunningError2,
|
|
94
97
|
SandboxTimeoutError2,
|
|
95
98
|
SandboxIsolationUnavailableError2
|
|
96
|
-
} from "./chunk-
|
|
97
|
-
import"./chunk-
|
|
98
|
-
import"./chunk-
|
|
99
|
+
} from "./chunk-r1cxq7vv.js";
|
|
100
|
+
import"./chunk-cgznz22f.js";
|
|
101
|
+
import"./chunk-ekkpzcka.js";
|
|
99
102
|
import {
|
|
100
103
|
PipelineError2
|
|
101
104
|
} from "./chunk-hke9aeen.js";
|
|
102
|
-
import"./chunk-vr3j63jq.js";
|
|
103
105
|
import {
|
|
104
106
|
ConsoleLogger2,
|
|
105
107
|
noopLoggerProvider2,
|
|
106
108
|
noopLogger2
|
|
107
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-1vg43g9q.js";
|
|
108
110
|
import {
|
|
109
111
|
LOG_LEVELS2,
|
|
110
112
|
SIXB_RUN_KINDS2,
|
|
@@ -115,15 +117,15 @@ import {
|
|
|
115
117
|
isLogRecord2,
|
|
116
118
|
isStoredLogLine2
|
|
117
119
|
} from "./chunk-s670k14v.js";
|
|
118
|
-
import"./chunk-
|
|
119
|
-
import"./chunk-
|
|
120
|
-
import"./chunk-
|
|
121
|
-
import"./chunk-
|
|
122
|
-
import"./chunk-
|
|
123
|
-
import"./chunk-
|
|
120
|
+
import"./chunk-fdkpkkpw.js";
|
|
121
|
+
import"./chunk-qbrmpgvv.js";
|
|
122
|
+
import"./chunk-nghc7eq0.js";
|
|
123
|
+
import"./chunk-c78jjzhy.js";
|
|
124
|
+
import"./chunk-jhbk10wf.js";
|
|
125
|
+
import"./chunk-qsg8rw04.js";
|
|
124
126
|
import"./chunk-5a4a52tq.js";
|
|
125
|
-
import"./chunk-
|
|
126
|
-
import"./chunk-
|
|
127
|
+
import"./chunk-jbw70d6t.js";
|
|
128
|
+
import"./chunk-6b61s40c.js";
|
|
127
129
|
import {
|
|
128
130
|
DatasetValidationError2,
|
|
129
131
|
isDatasetDefinition2,
|
|
@@ -131,12 +133,12 @@ import {
|
|
|
131
133
|
col2,
|
|
132
134
|
defineDataset2,
|
|
133
135
|
change2
|
|
134
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-wx7smkn2.js";
|
|
135
137
|
import {
|
|
136
138
|
EditBatchError2
|
|
137
139
|
} from "./chunk-m427qgq0.js";
|
|
138
|
-
import"./chunk-
|
|
139
|
-
import"./chunk-
|
|
140
|
+
import"./chunk-w976a4me.js";
|
|
141
|
+
import"./chunk-5kyvrtjh.js";
|
|
140
142
|
import"./chunk-8ncg20rd.js";
|
|
141
143
|
import {
|
|
142
144
|
MAX_AGENT_CONTEXT_ENTRIES2,
|
|
@@ -145,10 +147,10 @@ import {
|
|
|
145
147
|
agentContext2,
|
|
146
148
|
agentContextIdentity2
|
|
147
149
|
} from "./chunk-sgx82nnt.js";
|
|
148
|
-
import"./chunk-
|
|
149
|
-
import"./chunk-
|
|
150
|
-
import"./chunk-
|
|
151
|
-
import"./chunk-
|
|
150
|
+
import"./chunk-fg1db9xx.js";
|
|
151
|
+
import"./chunk-8hvfs0fr.js";
|
|
152
|
+
import"./chunk-fb3m4sa1.js";
|
|
153
|
+
import"./chunk-8dcfj58k.js";
|
|
152
154
|
import {
|
|
153
155
|
InMemoryFileUploadSessions2,
|
|
154
156
|
InMemoryStorage2,
|
|
@@ -156,37 +158,37 @@ import {
|
|
|
156
158
|
isMigrationCapableStorage2,
|
|
157
159
|
migrateStorage2,
|
|
158
160
|
checkStorageSchema2
|
|
159
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-e99kp9jh.js";
|
|
162
|
+
import"./chunk-jmfet9r4.js";
|
|
160
163
|
import"./chunk-qf954wje.js";
|
|
161
|
-
import"./chunk-
|
|
164
|
+
import"./chunk-neftrg0n.js";
|
|
162
165
|
import {
|
|
163
166
|
ObjectNotFoundError2
|
|
164
|
-
} from "./chunk-
|
|
165
|
-
import"./chunk-
|
|
166
|
-
import"./chunk-
|
|
167
|
+
} from "./chunk-peggaard.js";
|
|
168
|
+
import"./chunk-nz7815t3.js";
|
|
169
|
+
import"./chunk-s7xqfxs9.js";
|
|
167
170
|
import"./chunk-mmagke4x.js";
|
|
168
|
-
import"./chunk-
|
|
171
|
+
import"./chunk-scyq22td.js";
|
|
169
172
|
import"./chunk-hn2r7z41.js";
|
|
170
|
-
import"./chunk-
|
|
171
|
-
import"./chunk-
|
|
173
|
+
import"./chunk-2pk5hjj9.js";
|
|
174
|
+
import"./chunk-mbsbxarb.js";
|
|
172
175
|
import {
|
|
173
176
|
AGENT_REASONING_LEVELS2
|
|
174
|
-
} from "./chunk-
|
|
175
|
-
import"./chunk-
|
|
176
|
-
import"./chunk-
|
|
177
|
-
import"./chunk-
|
|
177
|
+
} from "./chunk-edx8xcsm.js";
|
|
178
|
+
import"./chunk-0g5nyx0k.js";
|
|
179
|
+
import"./chunk-agn8d8ys.js";
|
|
180
|
+
import"./chunk-7hd2ez3q.js";
|
|
178
181
|
import"./chunk-eptrvnby.js";
|
|
179
|
-
import"./chunk-
|
|
182
|
+
import"./chunk-23s66j86.js";
|
|
180
183
|
import"./chunk-h89wz928.js";
|
|
181
184
|
import"./chunk-x0v3jd47.js";
|
|
182
|
-
import"./chunk-
|
|
183
|
-
import"./chunk-mbsbxarb.js";
|
|
185
|
+
import"./chunk-165c9wm6.js";
|
|
184
186
|
import"./chunk-cswhawa2.js";
|
|
185
187
|
import {
|
|
186
188
|
decisionOutput2,
|
|
187
189
|
question2
|
|
188
|
-
} from "./chunk-
|
|
189
|
-
import"./chunk-
|
|
190
|
+
} from "./chunk-47e09r7z.js";
|
|
191
|
+
import"./chunk-tvefbgvw.js";
|
|
190
192
|
import {
|
|
191
193
|
RuntimeError2
|
|
192
194
|
} from "./chunk-m4ehq95f.js";
|
|
@@ -202,8 +204,8 @@ import {
|
|
|
202
204
|
can2,
|
|
203
205
|
SYSTEM_PRINCIPAL2,
|
|
204
206
|
principalsEqual2
|
|
205
|
-
} from "./chunk-
|
|
206
|
-
import"./chunk-
|
|
207
|
+
} from "./chunk-3x3bebz7.js";
|
|
208
|
+
import"./chunk-21q0j5f2.js";
|
|
207
209
|
import {
|
|
208
210
|
OntologyRegistry2,
|
|
209
211
|
defineObjectType2,
|
|
@@ -215,17 +217,17 @@ import {
|
|
|
215
217
|
valueTypeRef2,
|
|
216
218
|
stringEnum2,
|
|
217
219
|
integerEnum2
|
|
218
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-2g0r46hy.js";
|
|
219
221
|
import {
|
|
220
222
|
ref2,
|
|
221
223
|
objectRef2,
|
|
222
224
|
isObjectRefSchema2
|
|
223
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-e7v3trpz.js";
|
|
224
226
|
import {
|
|
225
227
|
ObjectQueryValidationError2,
|
|
226
228
|
ObjectQueryPlanningError2,
|
|
227
229
|
ObjectQueryExecutionError2
|
|
228
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-0k1h5hmr.js";
|
|
229
231
|
import"./chunk-zrvhsq7f.js";
|
|
230
232
|
import {
|
|
231
233
|
MaterializationValidationError2,
|
|
@@ -238,7 +240,7 @@ import {
|
|
|
238
240
|
defineMarking2,
|
|
239
241
|
defineRole2,
|
|
240
242
|
defineMembershipPolicy2
|
|
241
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-frsz8wxd.js";
|
|
242
244
|
import {
|
|
243
245
|
SecurityValidationError2
|
|
244
246
|
} from "./chunk-jcfw4h7m.js";
|
|
@@ -254,8 +256,8 @@ import {
|
|
|
254
256
|
isLinkProjectionDefinition2,
|
|
255
257
|
isTelemetryProjectionDefinition2,
|
|
256
258
|
isProjectionDefinition2
|
|
257
|
-
} from "./chunk-
|
|
258
|
-
import"./chunk-
|
|
259
|
+
} from "./chunk-dz7a4t3a.js";
|
|
260
|
+
import"./chunk-31khg3g0.js";
|
|
259
261
|
import {
|
|
260
262
|
quantitativeTypes2,
|
|
261
263
|
getUnit2,
|
|
@@ -264,16 +266,16 @@ import {
|
|
|
264
266
|
getUnitSymbol2,
|
|
265
267
|
isQuantitativeTypeId2,
|
|
266
268
|
isUnitId2
|
|
267
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-djs3hw9p.js";
|
|
268
270
|
import {
|
|
269
271
|
userRef2,
|
|
270
272
|
currentUser2
|
|
271
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-jspskey0.js";
|
|
272
274
|
import {
|
|
273
275
|
OntologyValidationError2,
|
|
274
276
|
OntologyNotFoundError2
|
|
275
277
|
} from "./chunk-cqr3acm1.js";
|
|
276
|
-
import"./chunk-
|
|
278
|
+
import"./chunk-d7v97qxq.js";
|
|
277
279
|
import {
|
|
278
280
|
decimal2,
|
|
279
281
|
normalizeDecimalValue2,
|
|
@@ -297,11 +299,11 @@ import {
|
|
|
297
299
|
import {
|
|
298
300
|
ActionValidationError2,
|
|
299
301
|
ActionRunFailedError2
|
|
300
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-escedwyt.js";
|
|
301
303
|
import"./chunk-6eqsgvxk.js";
|
|
302
304
|
import {
|
|
303
305
|
ArtifactRequestError2
|
|
304
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-kwfhd1g0.js";
|
|
305
307
|
import"./chunk-a3faa34j.js";
|
|
306
308
|
import {
|
|
307
309
|
isBlobDigest2,
|
|
@@ -486,4 +488,4 @@ export {
|
|
|
486
488
|
webhookConnector2 as webhookConnector
|
|
487
489
|
};
|
|
488
490
|
|
|
489
|
-
//# debugId=
|
|
491
|
+
//# debugId=9C87AEC2DF3BA0CE64756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
assertUnsequencedDatasetWrite2,
|
|
11
11
|
hasDatasetProvenanceChanges2,
|
|
12
12
|
InMemoryLakeStorage2
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-d3t26vah.js";
|
|
14
14
|
import {
|
|
15
15
|
lineageAtCommit2,
|
|
16
16
|
resolveStepLineage2
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
encodeDatasetPrimaryKey2,
|
|
21
21
|
getDatasetMergeChangeValidationError2,
|
|
22
22
|
cloneDatasetMergeChange2
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-6b61s40c.js";
|
|
24
24
|
import {
|
|
25
25
|
LakeStorageError2,
|
|
26
26
|
LakeConcurrencyError2
|
|
27
27
|
} from "../chunk-65abf64x.js";
|
|
28
28
|
import {
|
|
29
29
|
assertDatasetDefinition2
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import"../chunk-
|
|
32
|
-
import"../chunk-
|
|
30
|
+
} from "../chunk-wx7smkn2.js";
|
|
31
|
+
import"../chunk-frsz8wxd.js";
|
|
32
|
+
import"../chunk-d7v97qxq.js";
|
|
33
33
|
import"../chunk-cwdzcv37.js";
|
|
34
34
|
import"../chunk-gfdh9kqa.js";
|
|
35
35
|
import"../chunk-6eqsgvxk.js";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { AuthorizablePrincipal } from "../execution/types";
|
|
2
|
+
import type { EventExecutor } from "../materialization/events";
|
|
3
|
+
import type { OntologyObjectRef } from "../materialization/model";
|
|
4
|
+
import type { ProjectionDefinitionCatalog } from "../projections";
|
|
5
|
+
import type { EditOntologyCommitIntent, OntologyCommitRecord } from "../storage/ontology";
|
|
6
|
+
import type { LineageReader } from "./reader";
|
|
7
|
+
import type { EditLineageSource, TelemetryLineageSource } from "./types";
|
|
8
|
+
export type EditCommitRecord = Extract<OntologyCommitRecord, {
|
|
9
|
+
readonly intent: EditOntologyCommitIntent;
|
|
10
|
+
}>;
|
|
11
|
+
/** What an edit changed on its object: one property, or the object's existence. */
|
|
12
|
+
export type EditedChange = {
|
|
13
|
+
readonly propertyId: string;
|
|
14
|
+
} | "created";
|
|
15
|
+
/** Who asked for a commit and what wrote it, as far as the reader may see. */
|
|
16
|
+
export interface CommitAttribution {
|
|
17
|
+
readonly requestedBy?: AuthorizablePrincipal;
|
|
18
|
+
/** Absent when it names a run the reader cannot view. */
|
|
19
|
+
readonly executor?: EventExecutor;
|
|
20
|
+
readonly action?: {
|
|
21
|
+
readonly actionId: string;
|
|
22
|
+
readonly runId: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/** The edit commits made at each of these instants. One read per distinct instant. */
|
|
26
|
+
export declare function editCommitsAt(reader: LineageReader, instants: ReadonlySet<string>): Promise<ReadonlyMap<string, readonly EditCommitRecord[]>>;
|
|
27
|
+
/**
|
|
28
|
+
* The commit, among the edit commits made at one instant, behind one change of an object. An edit
|
|
29
|
+
* time is its commit's `committedAt`, so that commit is among them: the one whose effective change
|
|
30
|
+
* holds this property, or creates the object; or, when none does, the only edit commit there. Null
|
|
31
|
+
* when neither tells one apart.
|
|
32
|
+
*/
|
|
33
|
+
export declare function editCommitFor(commits: readonly EditCommitRecord[], object: OntologyObjectRef, change: EditedChange): EditCommitRecord | null;
|
|
34
|
+
/** Commits named exactly, by an override or a telemetry point. One read per distinct id. */
|
|
35
|
+
export declare function commitsById(reader: LineageReader, commitIds: ReadonlySet<string>): Promise<ReadonlyMap<string, OntologyCommitRecord>>;
|
|
36
|
+
/**
|
|
37
|
+
* Who asked for each commit and what wrote it, read from its execution as its events read them.
|
|
38
|
+
* The requester shows wherever the reader reads the object, as in the object's events. An executor
|
|
39
|
+
* that names a run, and the Action run behind an Action commit, show only when the reader may view
|
|
40
|
+
* that run, as its facade decides; a hidden run is counted as restricted.
|
|
41
|
+
*/
|
|
42
|
+
export declare function attributeCommits(reader: LineageReader, projections: ProjectionDefinitionCatalog, commits: readonly OntologyCommitRecord[]): Promise<ReadonlyMap<string, CommitAttribution>>;
|
|
43
|
+
export declare function editSource(commit: OntologyCommitRecord, attribution: CommitAttribution): EditLineageSource;
|
|
44
|
+
export declare function telemetrySource(commit: OntologyCommitRecord, attribution: CommitAttribution): TelemetryLineageSource;
|
|
45
|
+
//# sourceMappingURL=commits.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commits.d.ts","sourceRoot":"","sources":["../../src/lineage/commits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAEzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAExE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,oBAAoB,EACpB;IAAE,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAA;CAAE,CAC9C,CAAA;AAED,mFAAmF;AACnF,MAAM,MAAM,YAAY,GAAG;IAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAA;AAEtE,8EAA8E;AAC9E,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,qBAAqB,CAAA;IAC5C,yDAAyD;IACzD,QAAQ,CAAC,QAAQ,CAAC,EAAE,aAAa,CAAA;IACjC,QAAQ,CAAC,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACxE;AAED,sFAAsF;AACtF,wBAAsB,aAAa,CACjC,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,GAC5B,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC,CAAC,CAW3D;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,SAAS,gBAAgB,EAAE,EACpC,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,YAAY,GACnB,gBAAgB,GAAG,IAAI,CAczB;AAED,4FAA4F;AAC5F,wBAAsB,WAAW,CAC/B,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,GAC7B,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAYpD;AAED;;;;;GAKG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,aAAa,EACrB,WAAW,EAAE,2BAA2B,EACxC,OAAO,EAAE,SAAS,oBAAoB,EAAE,GACvC,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CA6CjD;AAED,wBAAgB,UAAU,CACxB,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,iBAAiB,GAC7B,iBAAiB,CAEnB;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,iBAAiB,GAC7B,sBAAsB,CAaxB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { EventExecutor } from "../materialization/events";
|
|
2
|
+
import type { ProjectionDefinitionCatalog } from "../projections";
|
|
3
|
+
import type { LineageReader } from "./reader";
|
|
4
|
+
/**
|
|
5
|
+
* The key a run is counted under once hidden, for an executor that names one: a primitive's run or
|
|
6
|
+
* an Agent run. A request or a kernel operation names none.
|
|
7
|
+
*/
|
|
8
|
+
export declare function executorRunKey(executor: EventExecutor): string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* The keys of the runs these executors name that the reader may view, each decided as that run's
|
|
11
|
+
* facade decides. One read per distinct Action or Agent run; the others are decided by definition.
|
|
12
|
+
*/
|
|
13
|
+
export declare function viewableExecutorRuns(reader: LineageReader, projections: ProjectionDefinitionCatalog, executors: readonly EventExecutor[]): Promise<ReadonlySet<string>>;
|
|
14
|
+
//# sourceMappingURL=executors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executors.d.ts","sourceRoot":"","sources":["../../src/lineage/executors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAA;AAEjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE7C;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,GAAG,SAAS,CAU1E;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,aAAa,EACrB,WAAW,EAAE,2BAA2B,EACxC,SAAS,EAAE,SAAS,aAAa,EAAE,GAClC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAe9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { OntologyLinkRef } from "../materialization/model";
|
|
2
|
+
import type { SixbRuntimeContext } from "../runtime/types";
|
|
3
|
+
import type { LineageDependencies } from "./projections";
|
|
4
|
+
import type { LinkLineage } from "./types";
|
|
5
|
+
/**
|
|
6
|
+
* Explain where a link comes from, for the runtime's reader. Null when the reader cannot read
|
|
7
|
+
* both of its objects or links of its kind, or when the link does not exist. See `README.md`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function explainLink(runtime: SixbRuntimeContext, dependencies: LineageDependencies, ref: OntologyLinkRef): Promise<LinkLineage | null>;
|
|
10
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/lineage/link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,0BAA0B,CAAA;AASlF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAGxD,OAAO,KAAK,EAAwB,WAAW,EAAE,MAAM,SAAS,CAAA;AAEhE;;;GAGG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,kBAAkB,EAC3B,YAAY,EAAE,mBAAmB,EACjC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAoD7B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { OntologyObjectRef } from "../materialization/model";
|
|
2
|
+
import type { SixbRuntimeContext } from "../runtime/types";
|
|
3
|
+
import type { LineageDependencies } from "./projections";
|
|
4
|
+
import type { ObjectLineage } from "./types";
|
|
5
|
+
/**
|
|
6
|
+
* Explain where an object's current values come from, for the runtime's reader. Null when the
|
|
7
|
+
* reader cannot read the object, which includes a missing one. See `README.md`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function explainObject(runtime: SixbRuntimeContext, dependencies: LineageDependencies, ref: OntologyObjectRef): Promise<ObjectLineage | null>;
|
|
10
|
+
//# sourceMappingURL=object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../src/lineage/object.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAQjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAGxD,OAAO,KAAK,EAAE,aAAa,EAAuC,MAAM,SAAS,CAAA;AAEjF;;;GAGG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,kBAAkB,EAC3B,YAAY,EAAE,mBAAmB,EACjC,GAAG,EAAE,iBAAiB,GACrB,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAyE/B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { DatasetColumnRef, LakeStorage } from "../lake-storage/types";
|
|
2
|
+
import type { ProjectionDefinitionCatalog } from "../projections";
|
|
3
|
+
import type { StoredSourceLinkAssertion, StoredSourceObjectAssertion } from "../storage/ontology";
|
|
4
|
+
import type { LineageReader } from "./reader";
|
|
5
|
+
import type { ProjectionLineageSource } from "./types";
|
|
6
|
+
/** What lineage reads beyond the runtime: the projections the code defines, and the lake. */
|
|
7
|
+
export interface LineageDependencies {
|
|
8
|
+
readonly projections: ProjectionDefinitionCatalog;
|
|
9
|
+
readonly lakeStorage: Pick<LakeStorage, "getVersion" | "recordsLineage">;
|
|
10
|
+
}
|
|
11
|
+
/** A projection source as the reader may see it, and the columns its values are read from. */
|
|
12
|
+
export interface DescribedProjection {
|
|
13
|
+
/** Its key in a lineage's `sources`. */
|
|
14
|
+
readonly key: string;
|
|
15
|
+
readonly source: ProjectionLineageSource;
|
|
16
|
+
/** The dataset column an object projection maps to this property. */
|
|
17
|
+
propertyColumn(propertyId: string): string | undefined;
|
|
18
|
+
/** The dataset columns an object projection's foreign key or a link projection reads a link from. */
|
|
19
|
+
linkColumns(linkId: string): readonly string[] | undefined;
|
|
20
|
+
/** The dataset columns these columns' values come from, or undefined when that is unknown. */
|
|
21
|
+
origins(columns: readonly string[]): readonly DatasetColumnRef[] | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Describe the projection behind a stored source assertion: its active materialization, which
|
|
25
|
+
* applied every value of the source, and the columns the projection's definition reads.
|
|
26
|
+
*
|
|
27
|
+
* - The run shows to a reader who may view the projection's runs.
|
|
28
|
+
* - The dataset version, the columns that decide its rows and the projection's columns show to a
|
|
29
|
+
* reader who may view the dataset, and columns only while the code still defines the projection
|
|
30
|
+
* over that dataset.
|
|
31
|
+
* - A dataset an upstream column belongs to shows to a reader who may view it.
|
|
32
|
+
*/
|
|
33
|
+
export declare function describeProjection(reader: LineageReader, dependencies: LineageDependencies, stored: StoredSourceObjectAssertion | StoredSourceLinkAssertion): Promise<DescribedProjection>;
|
|
34
|
+
//# sourceMappingURL=projections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/lineage/projections.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAwB,gBAAgB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEhG,OAAO,KAAK,EAEV,2BAA2B,EAE5B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AACjG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAEtD,6FAA6F;AAC7F,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,WAAW,EAAE,2BAA2B,CAAA;IACjD,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,gBAAgB,CAAC,CAAA;CACzE;AAED,8FAA8F;AAC9F,MAAM,WAAW,mBAAmB;IAClC,wCAAwC;IACxC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAA;IACxC,qEAAqE;IACrE,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACtD,qGAAqG;IACrG,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAA;IAC1D,8FAA8F;IAC9F,OAAO,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,gBAAgB,EAAE,GAAG,SAAS,CAAA;CAC7E;AAED;;;;;;;;;GASG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,mBAAmB,EACjC,MAAM,EAAE,2BAA2B,GAAG,yBAAyB,GAC9D,OAAO,CAAC,mBAAmB,CAAC,CAuC9B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type PrimitiveRunSubject } from "../authorization";
|
|
2
|
+
import { type ResolvedRuntimeAuthorization } from "../execution/authorization";
|
|
3
|
+
import type { OntologyObjectRef } from "../materialization/model";
|
|
4
|
+
import type { SixbRuntimeContext } from "../runtime/types";
|
|
5
|
+
import type { ObjectRow } from "../storage";
|
|
6
|
+
/**
|
|
7
|
+
* Who a lineage is assembled for, and the steps it leaves out for them. Each step is authorized on
|
|
8
|
+
* its own with the guard that already protects it elsewhere; one the reader cannot view is left
|
|
9
|
+
* out without its identity and counted once, by key.
|
|
10
|
+
*/
|
|
11
|
+
export declare class LineageReader {
|
|
12
|
+
#private;
|
|
13
|
+
readonly runtime: SixbRuntimeContext;
|
|
14
|
+
readonly authority: Extract<ResolvedRuntimeAuthorization, {
|
|
15
|
+
readonly type: "principal" | "unrestricted";
|
|
16
|
+
}>;
|
|
17
|
+
private constructor();
|
|
18
|
+
/** Null for denied and delegated (shared link) authority, which see no lineage, as no run. */
|
|
19
|
+
static for(runtime: SixbRuntimeContext): LineageReader | null;
|
|
20
|
+
get restricted(): number;
|
|
21
|
+
/** Leave a step out. `step` names it uniquely, such as `dataset:<id>`, and is never shown. */
|
|
22
|
+
restrict(step: string): void;
|
|
23
|
+
canViewDataset(datasetId: string): boolean;
|
|
24
|
+
/** Decided as the primitive's run facade decides. */
|
|
25
|
+
canViewRun(run: PrimitiveRunSubject): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* These objects as the reader reads them now, view conditions and markings applied, or null
|
|
28
|
+
* when one is hidden or missing.
|
|
29
|
+
*/
|
|
30
|
+
readObjects(refs: readonly OntologyObjectRef[]): Promise<readonly ObjectRow[] | null>;
|
|
31
|
+
/** Whether the reader may read links of this kind: their markings applied. */
|
|
32
|
+
canReadLink(sourceTypeId: string, linkId: string): Promise<boolean>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../src/lineage/reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAElG,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAG3C;;;;GAIG;AACH,qBAAa,aAAa;;IAItB,QAAQ,CAAC,OAAO,EAAE,kBAAkB;IACpC,QAAQ,CAAC,SAAS,EAAE,OAAO,CACzB,4BAA4B,EAC5B;QAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,CAAA;KAAE,CAChD;IALH,OAAO;IAQP,8FAA8F;IAC9F,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,GAAG,aAAa,GAAG,IAAI;IAY7D,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,8FAA8F;IAC9F,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAI5B,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAI1C,qDAAqD;IACrD,UAAU,CAAC,GAAG,EAAE,mBAAmB,GAAG,OAAO;IAM7C;;;OAGG;IACG,WAAW,CAAC,IAAI,EAAE,SAAS,iBAAiB,EAAE,GAAG,OAAO,CAAC,SAAS,SAAS,EAAE,GAAG,IAAI,CAAC;IAW3F,8EAA8E;IACxE,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAY1E"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { OntologyObjectRef } from "../materialization/model";
|
|
2
|
+
import type { StoredSourceLinkAssertion, StoredSourceObjectAssertion } from "../storage/ontology";
|
|
3
|
+
import { type EditedChange } from "./commits";
|
|
4
|
+
import { type DescribedProjection, type LineageDependencies } from "./projections";
|
|
5
|
+
import type { LineageReader } from "./reader";
|
|
6
|
+
import type { LineageSource } from "./types";
|
|
7
|
+
/**
|
|
8
|
+
* How the commit behind an edit is found:
|
|
9
|
+
* - `at`: among the edit commits made at its edit time, by the change it made;
|
|
10
|
+
* - `named`: exactly, as a link override names the commit that last wrote it;
|
|
11
|
+
* - `unknown`: not at all, for an edit recorded without its time; cited at the override's time.
|
|
12
|
+
*/
|
|
13
|
+
export type EditLookup = {
|
|
14
|
+
readonly kind: "at";
|
|
15
|
+
readonly instant: string;
|
|
16
|
+
readonly change: EditedChange;
|
|
17
|
+
} | {
|
|
18
|
+
readonly kind: "named";
|
|
19
|
+
readonly commitId: string;
|
|
20
|
+
} | {
|
|
21
|
+
readonly kind: "unknown";
|
|
22
|
+
readonly instant: string;
|
|
23
|
+
};
|
|
24
|
+
/** The commits one lineage cites, gathered before any is read so each is read once. */
|
|
25
|
+
export declare class LineageCommitReads {
|
|
26
|
+
readonly instants: Set<string>;
|
|
27
|
+
readonly commitIds: Set<string>;
|
|
28
|
+
edit(lookup: EditLookup): void;
|
|
29
|
+
telemetry(commitId: string): void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The facts one lineage reads, and the sources it cites from them. Each source is described once,
|
|
33
|
+
* under its key, in the order it is first cited.
|
|
34
|
+
*/
|
|
35
|
+
export declare class LineageSources {
|
|
36
|
+
#private;
|
|
37
|
+
readonly projection: DescribedProjection | null;
|
|
38
|
+
private readonly object;
|
|
39
|
+
private readonly commitsAt;
|
|
40
|
+
private readonly commitsNamed;
|
|
41
|
+
private readonly attributions;
|
|
42
|
+
private constructor();
|
|
43
|
+
/**
|
|
44
|
+
* Read the projection behind `stored` and the commits `reads` gathered, together. `object` is
|
|
45
|
+
* the object whose edits are found by their time.
|
|
46
|
+
*/
|
|
47
|
+
static read(input: {
|
|
48
|
+
readonly reader: LineageReader;
|
|
49
|
+
readonly dependencies: LineageDependencies;
|
|
50
|
+
readonly object: OntologyObjectRef;
|
|
51
|
+
readonly stored: StoredSourceObjectAssertion | StoredSourceLinkAssertion | null;
|
|
52
|
+
readonly reads: LineageCommitReads;
|
|
53
|
+
}): Promise<LineageSources>;
|
|
54
|
+
get cited(): Readonly<Record<string, LineageSource>>;
|
|
55
|
+
/** The projection whose source row decided a value. */
|
|
56
|
+
citeProjection(): string;
|
|
57
|
+
/** The edit behind a value: its commit, or the instant it was made at when that is unknown. */
|
|
58
|
+
citeEdit(lookup: EditLookup): string;
|
|
59
|
+
citeTelemetry(commitId: string): string;
|
|
60
|
+
citeIdentity(): string;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=sources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../src/lineage/sources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,EAEV,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAKL,KAAK,YAAY,EAKlB,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,KAAK,mBAAmB,EAExB,KAAK,mBAAmB,EACzB,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAClB;IAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAA;CAAE,GAChF;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GACrD;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAE1D,uFAAuF;AACvF,qBAAa,kBAAkB;IAC7B,QAAQ,CAAC,QAAQ,cAAoB;IACrC,QAAQ,CAAC,SAAS,cAAoB;IAEtC,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;IAK9B,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAGlC;AAED;;;GAGG;AACH,qBAAa,cAAc;;IAIvB,QAAQ,CAAC,UAAU,EAAE,mBAAmB,GAAG,IAAI;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAL/B,OAAO;IAQP;;;OAGG;WACU,IAAI,CAAC,KAAK,EAAE;QACvB,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAA;QAC9B,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAA;QAC1C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAA;QAClC,QAAQ,CAAC,MAAM,EAAE,2BAA2B,GAAG,yBAAyB,GAAG,IAAI,CAAA;QAC/E,QAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAA;KACnC,GAAG,OAAO,CAAC,cAAc,CAAC;IAe3B,IAAI,KAAK,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAEnD;IAED,uDAAuD;IACvD,cAAc,IAAI,MAAM;IAOxB,+FAA+F;IAC/F,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAgBpC,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAOvC,YAAY,IAAI,MAAM;CA4BvB"}
|