@sixb/core 0.1.18 → 0.1.19
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/README.md +7 -6
- package/dist/actions/commit-edits.d.ts +7 -19
- package/dist/actions/commit-edits.d.ts.map +1 -1
- package/dist/actions/errors.d.ts +0 -3
- package/dist/actions/errors.d.ts.map +1 -1
- package/dist/actions/execution.d.ts +10 -3
- package/dist/actions/execution.d.ts.map +1 -1
- package/dist/actions/index.d.ts +6 -9
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +51 -50
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/request.d.ts +14 -25
- package/dist/actions/request.d.ts.map +1 -1
- package/dist/actions/run/context.d.ts +40 -0
- package/dist/actions/run/context.d.ts.map +1 -0
- package/dist/actions/run/edits-commit.d.ts +31 -0
- package/dist/actions/run/edits-commit.d.ts.map +1 -0
- package/dist/actions/run/effects.d.ts +23 -0
- package/dist/actions/run/effects.d.ts.map +1 -0
- package/dist/actions/run/execute.d.ts +30 -0
- package/dist/actions/run/execute.d.ts.map +1 -0
- package/dist/actions/run/executor.d.ts +95 -0
- package/dist/actions/run/executor.d.ts.map +1 -0
- package/dist/actions/run/normalize.d.ts +36 -0
- package/dist/actions/run/normalize.d.ts.map +1 -0
- package/dist/actions/run/phase-types.d.ts +18 -0
- package/dist/actions/run/phase-types.d.ts.map +1 -0
- package/dist/actions/run/phases.d.ts +20 -0
- package/dist/actions/run/phases.d.ts.map +1 -0
- package/dist/actions/run/run-action.d.ts +25 -0
- package/dist/actions/run/run-action.d.ts.map +1 -0
- package/dist/actions/run/signals.d.ts +67 -0
- package/dist/actions/run/signals.d.ts.map +1 -0
- package/dist/actions/run/state.d.ts +47 -0
- package/dist/actions/run/state.d.ts.map +1 -0
- package/dist/actions/run/types.d.ts +54 -0
- package/dist/actions/run/types.d.ts.map +1 -0
- package/dist/actions/run/writeback.d.ts +17 -0
- package/dist/actions/run/writeback.d.ts.map +1 -0
- package/dist/actions/run-authorization.d.ts +1 -1
- package/dist/actions/run-authorization.d.ts.map +1 -1
- package/dist/actions/run-persistence.d.ts +53 -0
- package/dist/actions/run-persistence.d.ts.map +1 -0
- package/dist/actions/types/context.d.ts +10 -0
- package/dist/actions/types/context.d.ts.map +1 -1
- package/dist/agents/index.js +52 -55
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/streams/index.js +2 -2
- package/dist/agents/streams/internal.js +2 -2
- package/dist/auth/index.js +11 -11
- package/dist/auth/index.js.map +1 -1
- package/dist/authorization/event-visibility.d.ts.map +1 -1
- package/dist/authorization/index.js +3 -3
- package/dist/bootstrap/index.js +46 -49
- package/dist/bootstrap/index.js.map +2 -2
- package/dist/{chunk-d0eb5yy6.js → chunk-1f7wpmyp.js} +5 -5
- package/dist/{chunk-d0eb5yy6.js.map → chunk-1f7wpmyp.js.map} +1 -1
- package/dist/{chunk-vgk3hknm.js → chunk-1k89ecfr.js} +1 -1
- package/dist/{chunk-6h5m9xjx.js → chunk-3gnrh4ve.js} +6 -10
- package/dist/{chunk-6h5m9xjx.js.map → chunk-3gnrh4ve.js.map} +4 -4
- package/dist/{chunk-htr6wjmv.js → chunk-4tcx876c.js} +15 -15
- package/dist/{chunk-htr6wjmv.js.map → chunk-4tcx876c.js.map} +1 -1
- package/dist/{chunk-za5yd58j.js → chunk-52bk93x8.js} +2 -2
- package/dist/{chunk-22v5bpz3.js → chunk-5e43w60z.js} +1 -1
- package/dist/{chunk-zxawp1n2.js → chunk-7kg3k1m9.js} +1 -1
- package/dist/{chunk-ny3xyvcn.js → chunk-7mbzgd9m.js} +3 -3
- package/dist/{chunk-b9affek3.js → chunk-7n440zgt.js} +30 -30
- package/dist/{chunk-b9affek3.js.map → chunk-7n440zgt.js.map} +4 -4
- package/dist/{chunk-kkqwzy6h.js → chunk-7t429e3f.js} +1 -1
- package/dist/{chunk-s4jhg8a3.js → chunk-80mc0971.js} +13 -13
- package/dist/{chunk-s4jhg8a3.js.map → chunk-80mc0971.js.map} +1 -1
- package/dist/{chunk-1b1f2d5f.js → chunk-85yvv5n0.js} +8 -8
- package/dist/{chunk-1b1f2d5f.js.map → chunk-85yvv5n0.js.map} +1 -1
- package/dist/{chunk-6fsr7y93.js → chunk-8mx7qw3y.js} +14 -13
- package/dist/{chunk-6fsr7y93.js.map → chunk-8mx7qw3y.js.map} +4 -4
- package/dist/{chunk-kpx7jrmn.js → chunk-91mg3nj9.js} +59 -59
- package/dist/{chunk-kpx7jrmn.js.map → chunk-91mg3nj9.js.map} +5 -5
- package/dist/{chunk-48e3cn2d.js → chunk-9gyp8hg1.js} +2 -2
- package/dist/{chunk-ewqa58h9.js → chunk-9k93ah50.js} +4 -4
- package/dist/{chunk-ewqa58h9.js.map → chunk-9k93ah50.js.map} +1 -1
- package/dist/{chunk-4wn7bxxa.js → chunk-9ybhtmg4.js} +1 -1
- package/dist/{chunk-fc5zfxy1.js → chunk-a40ad1ft.js} +5 -13
- package/dist/chunk-a40ad1ft.js.map +10 -0
- package/dist/{chunk-vz3gc1tm.js → chunk-aff7cyea.js} +62 -64
- package/dist/{chunk-vz3gc1tm.js.map → chunk-aff7cyea.js.map} +4 -4
- package/dist/{chunk-y2aq6ag9.js → chunk-b38szspf.js} +5 -14
- package/dist/chunk-b38szspf.js.map +11 -0
- package/dist/{chunk-r2y23egw.js → chunk-bkpke1sg.js} +1 -10
- package/dist/chunk-bkpke1sg.js.map +10 -0
- package/dist/{chunk-bs7sqkre.js → chunk-bpgy64fw.js} +1 -1
- package/dist/{chunk-vx2yp45y.js → chunk-c85m1hyj.js} +2 -2
- package/dist/{chunk-v6xpd60t.js → chunk-d2ync1v3.js} +5 -5
- package/dist/{chunk-fe52eczz.js → chunk-ey3pyej1.js} +6345 -2125
- package/dist/chunk-ey3pyej1.js.map +106 -0
- package/dist/{chunk-vjcd8d27.js → chunk-fa02jy15.js} +1 -1
- package/dist/{chunk-y05543x6.js → chunk-hvsb78a1.js} +4 -4
- package/dist/{chunk-y05543x6.js.map → chunk-hvsb78a1.js.map} +1 -1
- package/dist/{chunk-qq90g05n.js → chunk-j2bp5ryw.js} +53 -244
- package/dist/{chunk-qq90g05n.js.map → chunk-j2bp5ryw.js.map} +3 -3
- package/dist/{chunk-qmnnhde6.js → chunk-kg5j6fct.js} +1 -1
- package/dist/{chunk-de4z2bj6.js → chunk-kyzq4wy9.js} +6 -6
- package/dist/{chunk-wr8qp979.js → chunk-m427qgq0.js} +9 -5
- package/dist/{chunk-wr8qp979.js.map → chunk-m427qgq0.js.map} +4 -3
- package/dist/{chunk-e1c18xjx.js → chunk-nq6gpjt7.js} +4 -45
- package/dist/{chunk-e1c18xjx.js.map → chunk-nq6gpjt7.js.map} +5 -5
- package/dist/{chunk-ex496vct.js → chunk-nre82s12.js} +1 -1
- package/dist/{chunk-1hqwggsn.js → chunk-nzapm6p0.js} +1 -2
- package/dist/chunk-nzapm6p0.js.map +12 -0
- package/dist/{chunk-wt4szfec.js → chunk-pbcbn83d.js} +4 -4
- package/dist/{chunk-wt4szfec.js.map → chunk-pbcbn83d.js.map} +1 -1
- package/dist/{chunk-7hpdd6r9.js → chunk-q1vkr2ys.js} +4 -4
- package/dist/{chunk-zb77kjth.js → chunk-rhg02hxq.js} +3 -3
- package/dist/{chunk-y9jmd7e5.js → chunk-s16apyk9.js} +102 -16
- package/dist/chunk-s16apyk9.js.map +16 -0
- package/dist/{chunk-yv9czyfr.js → chunk-t6vq7bff.js} +5 -5
- package/dist/{chunk-qkvz64nd.js → chunk-tjb1mk5t.js} +2 -2
- package/dist/{chunk-p844e0rn.js → chunk-tpn40322.js} +2 -2
- package/dist/{chunk-rt9p8m9t.js → chunk-v9xd5wzd.js} +1 -1
- package/dist/{chunk-2vhg6ysa.js → chunk-vyf9kfqf.js} +1 -1
- package/dist/{chunk-k6hrnf35.js → chunk-wwdfe68s.js} +51 -4
- package/dist/chunk-wwdfe68s.js.map +11 -0
- package/dist/{chunk-f1zxad2t.js → chunk-wz0xs816.js} +6 -6
- package/dist/{chunk-f1zxad2t.js.map → chunk-wz0xs816.js.map} +1 -1
- package/dist/chunk-y0c4e6ex.js +16 -0
- package/dist/chunk-y0c4e6ex.js.map +10 -0
- package/dist/{chunk-qkbx3tf6.js → chunk-y7rqfrgg.js} +6 -13
- package/dist/{chunk-qkbx3tf6.js.map → chunk-y7rqfrgg.js.map} +4 -4
- package/dist/{chunk-dfm066qg.js → chunk-yxd3nnqt.js} +2 -29
- package/dist/chunk-yxd3nnqt.js.map +11 -0
- package/dist/{chunk-70jmg2zx.js → chunk-yzwja0mj.js} +4 -19
- package/dist/{chunk-70jmg2zx.js.map → chunk-yzwja0mj.js.map} +3 -3
- package/dist/{chunk-p0dqwj3n.js → chunk-zrmy8zvw.js} +66 -47
- package/dist/{chunk-p0dqwj3n.js.map → chunk-zrmy8zvw.js.map} +4 -4
- package/dist/deploy/index.d.ts +1 -1
- package/dist/deploy/index.d.ts.map +1 -1
- package/dist/deploy/internal.js +10 -8
- package/dist/deploy/internal.js.map +4 -4
- package/dist/deploy/services.d.ts +1 -2
- package/dist/deploy/services.d.ts.map +1 -1
- package/dist/deploy/types.d.ts +6 -5
- package/dist/deploy/types.d.ts.map +1 -1
- package/dist/deploy/validation.d.ts.map +1 -1
- package/dist/edits/index.js +3 -5
- package/dist/edits/index.js.map +1 -1
- package/dist/error-reporting/internal.js +3 -3
- package/dist/error-reporting/types.d.ts +2 -9
- package/dist/error-reporting/types.d.ts.map +1 -1
- package/dist/errors/catalog.d.ts +12 -0
- package/dist/errors/catalog.d.ts.map +1 -1
- package/dist/errors/internal.js +1 -1
- package/dist/events/definitions.d.ts +0 -5
- package/dist/events/definitions.d.ts.map +1 -1
- package/dist/events/index.d.ts +3 -3
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +6 -8
- package/dist/events/index.js.map +1 -1
- package/dist/events/scope.d.ts +0 -1
- package/dist/events/scope.d.ts.map +1 -1
- package/dist/events/scope.js +1 -1
- package/dist/events/selectors/builder.d.ts +1 -8
- package/dist/events/selectors/builder.d.ts.map +1 -1
- package/dist/events/selectors/index.d.ts +2 -2
- package/dist/events/selectors/index.d.ts.map +1 -1
- package/dist/events/selectors/index.js +2 -2
- package/dist/events/selectors/predicate.d.ts.map +1 -1
- package/dist/events/selectors/types.d.ts +2 -33
- package/dist/events/selectors/types.d.ts.map +1 -1
- package/dist/events/types/index.d.ts +1 -12
- package/dist/events/types/index.d.ts.map +1 -1
- package/dist/execution/agent.js +41 -44
- package/dist/execution/agent.js.map +1 -1
- package/dist/execution/primitive.js +57 -88
- package/dist/execution/primitive.js.map +3 -4
- package/dist/execution/request.js +35 -38
- package/dist/execution/request.js.map +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +111 -120
- package/dist/index.js.map +1 -1
- package/dist/materialization/index.js +3 -3
- package/dist/materialization/index.js.map +1 -1
- package/dist/materialization/model.d.ts +19 -6
- package/dist/materialization/model.d.ts.map +1 -1
- package/dist/materializer/index.js +31 -31
- package/dist/materializer/index.js.map +1 -1
- package/dist/materializer/shared/normalize.d.ts.map +1 -1
- package/dist/models/execution/index.js +18 -18
- package/dist/objects/action/errors.d.ts +0 -9
- package/dist/objects/action/errors.d.ts.map +1 -1
- package/dist/objects/action/index.d.ts +3 -3
- package/dist/objects/action/index.d.ts.map +1 -1
- package/dist/objects/action/request.d.ts +2 -8
- package/dist/objects/action/request.d.ts.map +1 -1
- package/dist/objects/execution.d.ts +0 -2
- package/dist/objects/execution.d.ts.map +1 -1
- package/dist/objects/index.js +44 -29
- package/dist/objects/index.js.map +1 -1
- package/dist/objects/query/index.js +29 -29
- package/dist/objects/query/index.js.map +1 -1
- package/dist/objects/sdk/object-handle.d.ts.map +1 -1
- package/dist/objects/sdk/object-set.d.ts.map +1 -1
- package/dist/objects/service/index.d.ts +0 -1
- package/dist/objects/service/index.d.ts.map +1 -1
- package/dist/ontology/index.js +5 -5
- package/dist/ontology/index.js.map +1 -1
- package/dist/ontology/internal.js +2 -2
- package/dist/pipelines/index.js +28 -28
- package/dist/projections/internal.js +22 -22
- package/dist/projections/internal.js.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 -7
- package/dist/queues/types.d.ts.map +1 -1
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/internal.js +24 -25
- 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 -36
- package/dist/runtime/types.d.ts.map +1 -1
- package/dist/sandboxes/index.js +5 -5
- package/dist/schedules/builders.d.ts.map +1 -1
- package/dist/schedules/index.js +3 -3
- package/dist/schedules/runtime.d.ts.map +1 -1
- package/dist/schedules/validation.d.ts +0 -1
- package/dist/schedules/validation.d.ts.map +1 -1
- package/dist/security/every.d.ts +1 -1
- package/dist/shares/internal.js +17 -17
- package/dist/storage/action-runs/failure.js +2 -2
- package/dist/storage/action-runs/idempotency.d.ts +3 -4
- package/dist/storage/action-runs/idempotency.d.ts.map +1 -1
- package/dist/storage/action-runs/in-memory.d.ts +2 -9
- package/dist/storage/action-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/action-runs/index.d.ts +1 -3
- package/dist/storage/action-runs/index.d.ts.map +1 -1
- package/dist/storage/action-runs/provider.js +1 -1
- package/dist/storage/action-runs/record.d.ts +20 -0
- package/dist/storage/action-runs/record.d.ts.map +1 -0
- package/dist/storage/action-runs/types.d.ts +39 -68
- package/dist/storage/action-runs/types.d.ts.map +1 -1
- package/dist/storage/ai-limits/enforcement.js +2 -2
- package/dist/storage/connector-connections/provider.js +1 -1
- package/dist/storage/file-upload-sessions/provider.js +9 -9
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +30 -31
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.d.ts +1 -1
- package/dist/storage/internal.d.ts.map +1 -1
- package/dist/storage/internal.js +9 -12
- package/dist/storage/internal.js.map +1 -1
- package/dist/storage/objects/execution-limits.d.ts +1 -1
- package/dist/storage/objects/execution-limits.d.ts.map +1 -1
- package/dist/storage/ontology/provider.js +2 -2
- package/dist/storage/projection-runs/provider.js +2 -2
- package/dist/storage/types.d.ts +1 -1
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/storage/workflow-runs/provider.js +9 -9
- package/dist/syncs/index.js +29 -29
- package/dist/testing/action-execution.d.ts +34 -4
- package/dist/testing/action-execution.d.ts.map +1 -1
- package/dist/testing/action-run-storage-contract.d.ts +11 -0
- package/dist/testing/action-run-storage-contract.d.ts.map +1 -0
- package/dist/testing/index.d.ts +2 -1
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +3202 -2860
- package/dist/testing/index.js.map +7 -6
- package/dist/testing/materializer-storage-contract.d.ts.map +1 -1
- package/dist/testing/queues-contract.d.ts.map +1 -1
- package/dist/webhooks/internal.js +23 -23
- package/dist/webhooks/internal.js.map +1 -1
- package/dist/workers/index.js +1 -1
- package/dist/workflows/index.js +48 -51
- package/dist/workflows/index.js.map +1 -1
- package/package.json +1 -7
- package/src/actions/commit-edits.ts +9 -37
- package/src/actions/errors.ts +0 -4
- package/src/actions/execution.ts +10 -10
- package/src/actions/index.ts +5 -24
- package/src/actions/request.ts +157 -295
- package/src/actions/run/context.ts +193 -0
- package/src/actions/run/edits-commit.ts +102 -0
- package/src/actions/run/effects.ts +105 -0
- package/src/actions/run/execute.ts +113 -0
- package/src/actions/run/executor.ts +314 -0
- package/src/actions/run/normalize.ts +142 -0
- package/src/actions/run/phase-types.ts +20 -0
- package/src/actions/run/phases.ts +150 -0
- package/src/actions/run/run-action.ts +170 -0
- package/src/actions/run/signals.ts +118 -0
- package/src/actions/run/state.ts +95 -0
- package/src/actions/run/types.ts +61 -0
- package/src/actions/run/writeback.ts +79 -0
- package/src/actions/run-authorization.ts +1 -1
- package/src/actions/run-persistence.ts +105 -0
- package/src/actions/types/context.ts +10 -0
- package/src/authorization/event-visibility.ts +0 -12
- package/src/deploy/index.ts +0 -1
- package/src/deploy/services.ts +2 -11
- package/src/deploy/types.ts +6 -6
- package/src/deploy/validation.ts +12 -6
- package/src/error-reporting/types.ts +2 -10
- package/src/errors/catalog.ts +13 -0
- package/src/events/definitions.ts +0 -17
- package/src/events/index.ts +0 -14
- package/src/events/scope.ts +0 -12
- package/src/events/selectors/builder.ts +0 -51
- package/src/events/selectors/index.ts +0 -6
- package/src/events/selectors/predicate.ts +0 -2
- package/src/events/selectors/types.ts +7 -65
- package/src/events/types/index.ts +0 -11
- package/src/index.ts +1 -19
- package/src/materialization/model.ts +26 -9
- package/src/materializer/README.md +6 -1
- package/src/materializer/edits/commit.ts +42 -32
- package/src/materializer/shared/normalize.ts +25 -14
- package/src/objects/action/errors.ts +0 -12
- package/src/objects/action/index.ts +3 -3
- package/src/objects/action/request.ts +2 -29
- package/src/objects/execution.ts +2 -2
- package/src/objects/sdk/object-handle.ts +3 -29
- package/src/objects/sdk/object-set.ts +5 -30
- package/src/objects/service/index.ts +0 -1
- package/src/queues/in-memory.ts +0 -6
- package/src/queues/index.ts +0 -2
- package/src/queues/types.ts +0 -11
- package/src/runtime/host.ts +5 -0
- package/src/runtime/resolve-definitions.ts +0 -1
- package/src/runtime/types.ts +16 -45
- package/src/schedules/builders.ts +1 -4
- package/src/schedules/runtime.ts +0 -41
- package/src/schedules/validation.ts +2 -16
- package/src/security/every.ts +1 -1
- package/src/storage/action-runs/idempotency.ts +13 -41
- package/src/storage/action-runs/in-memory.ts +20 -311
- package/src/storage/action-runs/index.ts +1 -16
- package/src/storage/action-runs/record.ts +130 -0
- package/src/storage/action-runs/types.ts +37 -92
- package/src/storage/index.ts +1 -9
- package/src/storage/internal.ts +1 -7
- package/src/storage/objects/execution-limits.ts +3 -2
- package/src/storage/types.ts +2 -4
- package/src/testing/action-execution.ts +73 -13
- package/src/testing/action-run-storage-contract.ts +335 -0
- package/src/testing/index.ts +8 -1
- package/src/testing/materializer-storage-contract.ts +174 -18
- package/src/testing/queues-contract.ts +0 -18
- package/dist/actions/run-dispatch.d.ts +0 -25
- package/dist/actions/run-dispatch.d.ts.map +0 -1
- package/dist/actions/worker.d.ts +0 -3
- package/dist/actions/worker.d.ts.map +0 -1
- package/dist/actions/worker.js +0 -325
- package/dist/actions/worker.js.map +0 -11
- package/dist/chunk-1hqwggsn.js.map +0 -12
- package/dist/chunk-85cd7e8c.js +0 -51
- package/dist/chunk-85cd7e8c.js.map +0 -10
- package/dist/chunk-dfm066qg.js.map +0 -11
- package/dist/chunk-fc5zfxy1.js.map +0 -11
- package/dist/chunk-fe52eczz.js.map +0 -49
- package/dist/chunk-fx93hd2n.js +0 -1614
- package/dist/chunk-fx93hd2n.js.map +0 -20
- package/dist/chunk-k6hrnf35.js.map +0 -10
- package/dist/chunk-qxvp5epv.js +0 -1329
- package/dist/chunk-qxvp5epv.js.map +0 -36
- package/dist/chunk-r2y23egw.js.map +0 -10
- package/dist/chunk-tffvfy6s.js +0 -593
- package/dist/chunk-tffvfy6s.js.map +0 -15
- package/dist/chunk-y2aq6ag9.js.map +0 -11
- package/dist/chunk-y9jmd7e5.js.map +0 -15
- package/dist/chunk-zvx7h87b.js +0 -12
- package/dist/chunk-zvx7h87b.js.map +0 -10
- package/dist/events/types/actions.d.ts +0 -39
- package/dist/events/types/actions.d.ts.map +0 -1
- package/dist/objects/service/action-service.d.ts +0 -13
- package/dist/objects/service/action-service.d.ts.map +0 -1
- package/src/actions/run-dispatch.ts +0 -282
- package/src/actions/worker.ts +0 -2
- package/src/events/types/actions.ts +0 -42
- package/src/objects/service/action-service.ts +0 -43
- /package/dist/{chunk-vgk3hknm.js.map → chunk-1k89ecfr.js.map} +0 -0
- /package/dist/{chunk-za5yd58j.js.map → chunk-52bk93x8.js.map} +0 -0
- /package/dist/{chunk-22v5bpz3.js.map → chunk-5e43w60z.js.map} +0 -0
- /package/dist/{chunk-zxawp1n2.js.map → chunk-7kg3k1m9.js.map} +0 -0
- /package/dist/{chunk-ny3xyvcn.js.map → chunk-7mbzgd9m.js.map} +0 -0
- /package/dist/{chunk-kkqwzy6h.js.map → chunk-7t429e3f.js.map} +0 -0
- /package/dist/{chunk-48e3cn2d.js.map → chunk-9gyp8hg1.js.map} +0 -0
- /package/dist/{chunk-4wn7bxxa.js.map → chunk-9ybhtmg4.js.map} +0 -0
- /package/dist/{chunk-bs7sqkre.js.map → chunk-bpgy64fw.js.map} +0 -0
- /package/dist/{chunk-vx2yp45y.js.map → chunk-c85m1hyj.js.map} +0 -0
- /package/dist/{chunk-v6xpd60t.js.map → chunk-d2ync1v3.js.map} +0 -0
- /package/dist/{chunk-vjcd8d27.js.map → chunk-fa02jy15.js.map} +0 -0
- /package/dist/{chunk-qmnnhde6.js.map → chunk-kg5j6fct.js.map} +0 -0
- /package/dist/{chunk-de4z2bj6.js.map → chunk-kyzq4wy9.js.map} +0 -0
- /package/dist/{chunk-ex496vct.js.map → chunk-nre82s12.js.map} +0 -0
- /package/dist/{chunk-7hpdd6r9.js.map → chunk-q1vkr2ys.js.map} +0 -0
- /package/dist/{chunk-zb77kjth.js.map → chunk-rhg02hxq.js.map} +0 -0
- /package/dist/{chunk-yv9czyfr.js.map → chunk-t6vq7bff.js.map} +0 -0
- /package/dist/{chunk-qkvz64nd.js.map → chunk-tjb1mk5t.js.map} +0 -0
- /package/dist/{chunk-p844e0rn.js.map → chunk-tpn40322.js.map} +0 -0
- /package/dist/{chunk-rt9p8m9t.js.map → chunk-v9xd5wzd.js.map} +0 -0
- /package/dist/{chunk-2vhg6ysa.js.map → chunk-vyf9kfqf.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/events/selectors/builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1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BAA4B,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAA;IAC9E,SAAS,IAAI,iBAAiB,CAAC,4BAA4B,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAA;CACrF;AA4SD,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,WAAW,SAAS,oBAAoB,EAC7C,UAAU,EAAE,WAAW,GACtB,0BAA0B,CAAC,WAAW,CAAC,CAAA;IAC1C,IAAI,CAAC,KAAK,SAAS,cAAc,EAAE,IAAI,EAAE,KAAK,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAA;IAChF,OAAO,CAAC,QAAQ,SAAS,iBAAiB,EACxC,OAAO,EAAE,QAAQ,GAChB,2BAA2B,CAAC,QAAQ,CAAC,CAAA;IACxC,IAAI,CAAC,KAAK,SAAS,cAAc,EAAE,IAAI,EAAE,KAAK,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAA;IAChF,QAAQ,CAAC,SAAS,SAAS,kBAAkB,EAC3C,QAAQ,EAAE,SAAS,GAClB,4BAA4B,CAAC,SAAS,CAAC,CAAA;CAC3C;AAED,eAAO,MAAM,MAAM,EAAE,cAkCpB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { DatasetEventSelectorBuilder, EventPropertySelector, EventSelectors, LinkEventSelectorBuilder, ObjectEventSelectorBuilder, PipelineEventSelectorBuilder, RuleEventSelectorBuilder, SyncEventSelectorBuilder, } from "./builder";
|
|
2
2
|
export { events } from "./builder";
|
|
3
3
|
export { buildEventSelectorPredicate, eventSelectorSpec } from "./predicate";
|
|
4
|
-
export type {
|
|
4
|
+
export type { DatasetEventSelectorContext, DatasetEventSelectorEvent, DatasetEventToken, EventSelectorContext, EventSelectorEvent, EventSelectorSpec, InferEventSelectorContext, InferEventSelectorEvent, LinkEventSelectorContext, LinkEventSelectorEvent, ObjectEventSelectorContext, ObjectEventSelectorEvent, PipelineEventSelectorContext, PipelineEventSelectorEvent, PipelineEventToken, RuleEventSelectorContext, RuleEventSelectorEvent, RuleEventSelectorOperation, RunEventSelectorOperation, SyncEventSelectorContext, SyncEventSelectorEvent, SyncEventToken, } from "./types";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/selectors/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/selectors/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,2BAA2B,EAC3B,qBAAqB,EACrB,cAAc,EACd,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC5E,YAAY,EACV,2BAA2B,EAC3B,yBAAyB,EACzB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,GACf,MAAM,SAAS,CAAA"}
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
events2,
|
|
4
4
|
eventSelectorSpec2,
|
|
5
5
|
buildEventSelectorPredicate2
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import"../../chunk-
|
|
6
|
+
} from "../../chunk-yxd3nnqt.js";
|
|
7
|
+
import"../../chunk-bkpke1sg.js";
|
|
8
8
|
export {
|
|
9
9
|
buildEventSelectorPredicate2 as buildEventSelectorPredicate,
|
|
10
10
|
eventSelectorSpec2 as eventSelectorSpec,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"predicate.d.ts","sourceRoot":"","sources":["../../../src/events/selectors/predicate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG,iBAAiB,
|
|
1
|
+
{"version":3,"file":"predicate.d.ts","sourceRoot":"","sources":["../../../src/events/selectors/predicate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAkBzF;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC,GACnC,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,CAwBjC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { ActionBinding, ActionDefinition, ActionParamsConfig, InferActionParams } from "../../actions";
|
|
2
1
|
import type { LinkToken, ObjectRef, ObjectTypeWithTokens, Property } from "../../ontology";
|
|
3
2
|
import type { InferPropertyValue } from "../../ontology/inference";
|
|
4
3
|
import type { RuleDefinition } from "../../rules";
|
|
5
|
-
import type { ActionRunFailure } from "../../storage";
|
|
6
4
|
import type { PropertyChangeOperation } from "../property-changes";
|
|
7
5
|
import type { DatasetVersionCommittedEvent, DomainEvent, PipelineRunFinishedEvent, SyncRunFinishedEvent } from "../types";
|
|
8
6
|
declare const eventSelectorContextType: unique symbol;
|
|
@@ -21,18 +19,6 @@ export type RuleEventSelectorContext<TRule extends RuleDefinition = RuleDefiniti
|
|
|
21
19
|
readonly rule: TRule;
|
|
22
20
|
readonly operation: TOperation;
|
|
23
21
|
};
|
|
24
|
-
export type ActionEventSelectorOperation = "requested" | "completed" | "failed";
|
|
25
|
-
export type ActionEventToken<TId extends string = string, TParams extends ActionParamsConfig = ActionParamsConfig, TBinding extends ActionBinding = ActionBinding> = {
|
|
26
|
-
readonly id: TId;
|
|
27
|
-
readonly params: TParams;
|
|
28
|
-
readonly binding: TBinding;
|
|
29
|
-
};
|
|
30
|
-
export type ActionEventTokenOf<TAction extends ActionDefinition> = ActionEventToken<TAction["id"], TAction["params"], TAction["binding"]>;
|
|
31
|
-
export type ActionEventSelectorContext<TAction extends ActionEventToken = ActionEventToken, TOperation extends ActionEventSelectorOperation = ActionEventSelectorOperation> = {
|
|
32
|
-
readonly kind: "action";
|
|
33
|
-
readonly action: TAction;
|
|
34
|
-
readonly operation: TOperation;
|
|
35
|
-
};
|
|
36
22
|
export type DatasetEventToken<TId extends string = string> = {
|
|
37
23
|
readonly kind: "dataset";
|
|
38
24
|
readonly id: TId;
|
|
@@ -60,12 +46,12 @@ export type PipelineEventSelectorContext<TPipeline extends PipelineEventToken =
|
|
|
60
46
|
readonly pipeline: TPipeline;
|
|
61
47
|
readonly operation: TOperation;
|
|
62
48
|
};
|
|
63
|
-
export type EventSelectorContext = ObjectEventSelectorContext | LinkEventSelectorContext | RuleEventSelectorContext |
|
|
49
|
+
export type EventSelectorContext = ObjectEventSelectorContext | LinkEventSelectorContext | RuleEventSelectorContext | DatasetEventSelectorContext | SyncEventSelectorContext | PipelineEventSelectorContext;
|
|
64
50
|
export type InferEventSelectorContext<TSelector> = TSelector extends {
|
|
65
51
|
readonly [eventSelectorContextType]?: infer TContext;
|
|
66
52
|
} ? NonNullable<TContext> : EventSelectorContext;
|
|
67
53
|
export type InferEventSelectorEvent<TSelector> = EventSelectorEvent<InferEventSelectorContext<TSelector>>;
|
|
68
|
-
export type EventSelectorEvent<TContext> = TContext extends ObjectEventSelectorContext<infer TObjectType> ? ObjectEventSelectorEvent<TObjectType> : TContext extends LinkEventSelectorContext<infer TObjectType, infer TLink> ? LinkEventSelectorEvent<TObjectType, TLink> : TContext extends RuleEventSelectorContext<infer TRule, infer TOperation> ? RuleEventSelectorEvent<TRule, TOperation> : TContext extends
|
|
54
|
+
export type EventSelectorEvent<TContext> = TContext extends ObjectEventSelectorContext<infer TObjectType> ? ObjectEventSelectorEvent<TObjectType> : TContext extends LinkEventSelectorContext<infer TObjectType, infer TLink> ? LinkEventSelectorEvent<TObjectType, TLink> : TContext extends RuleEventSelectorContext<infer TRule, infer TOperation> ? RuleEventSelectorEvent<TRule, TOperation> : TContext extends DatasetEventSelectorContext<infer TDataset> ? DatasetEventSelectorEvent<TDataset> : TContext extends SyncEventSelectorContext<infer TSync, infer TOperation> ? SyncEventSelectorEvent<TSync, TOperation> : TContext extends PipelineEventSelectorContext<infer TPipeline, infer TOperation> ? PipelineEventSelectorEvent<TPipeline, TOperation> : never;
|
|
69
55
|
export interface ObjectEventSelectorEvent<TObjectType extends ObjectTypeWithTokens> {
|
|
70
56
|
readonly object: {
|
|
71
57
|
readonly objectTypeId: TObjectType["id"];
|
|
@@ -85,14 +71,6 @@ export type RuleEventSelectorEvent<TRule extends RuleDefinition = RuleDefinition
|
|
|
85
71
|
readonly ruleId: TRule["id"];
|
|
86
72
|
readonly subject: ObjectRef<RuleSubjectTypeId<TRule>>;
|
|
87
73
|
};
|
|
88
|
-
export type ActionEventSelectorEvent<TAction extends ActionEventToken = ActionEventToken, TOperation extends ActionEventSelectorOperation = ActionEventSelectorOperation> = {
|
|
89
|
-
readonly actionId: TAction["id"];
|
|
90
|
-
readonly runId: string;
|
|
91
|
-
} & ActionSubjectEvent<TAction> & (TOperation extends "requested" ? {
|
|
92
|
-
readonly params: InferActionParams<TAction["params"]>;
|
|
93
|
-
} : TOperation extends "failed" ? {
|
|
94
|
-
readonly error: ActionRunFailure;
|
|
95
|
-
} : Record<never, never>);
|
|
96
74
|
export type DatasetEventSelectorEvent<TDataset extends DatasetEventToken = DatasetEventToken> = Omit<DatasetVersionCommittedEvent["payload"], "datasetId"> & {
|
|
97
75
|
readonly datasetId: TDataset["id"];
|
|
98
76
|
};
|
|
@@ -114,7 +92,6 @@ export interface EventSelectorSpec<TContext = EventSelectorContext> {
|
|
|
114
92
|
readonly propertyOperation?: PropertyChangeOperation;
|
|
115
93
|
readonly linkId?: string;
|
|
116
94
|
readonly ruleId?: string;
|
|
117
|
-
readonly actionId?: string;
|
|
118
95
|
readonly datasetId?: string;
|
|
119
96
|
readonly syncId?: string;
|
|
120
97
|
readonly pipelineId?: string;
|
|
@@ -129,13 +106,5 @@ type LinkPropertyValues<TLink extends LinkToken> = NonNullable<TLink["link"]["pr
|
|
|
129
106
|
} : Record<never, never>;
|
|
130
107
|
type ResolveTargetTypeId<TTarget> = TTarget extends readonly string[] ? TTarget[number] : TTarget extends string ? TTarget : string;
|
|
131
108
|
type RuleSubjectTypeId<TRule extends RuleDefinition> = TRule extends RuleDefinition<string, infer TObjectType> ? TObjectType["id"] : string;
|
|
132
|
-
type ActionSubjectEvent<TAction extends ActionEventToken> = TAction["binding"] extends {
|
|
133
|
-
readonly kind: "object";
|
|
134
|
-
readonly objectType: infer TObjectType extends {
|
|
135
|
-
readonly id: string;
|
|
136
|
-
};
|
|
137
|
-
} ? {
|
|
138
|
-
readonly subject: ObjectRef<TObjectType["id"]>;
|
|
139
|
-
} : Record<never, never>;
|
|
140
109
|
export {};
|
|
141
110
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/events/selectors/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/events/selectors/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAA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AAED,KAAK,oBAAoB,CAAC,WAAW,SAAS,oBAAoB,IAAI;IACpE,QAAQ,EAAE,SAAS,IAAI,WAAW,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,SAAS,CAAC;CAC5G,CAAA;AAED,KAAK,kBAAkB,CAAC,KAAK,SAAS,SAAS,IAC7C,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,SAAS,QAAQ,EAAE,GAChE;IACE,QAAQ,EAAE,SAAS,IAAI,WAAW,CAChC,KAAK,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAC5B,CAAC,MAAM,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,SAAS,CAAC;CAC7D,GACD,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAE1B,KAAK,mBAAmB,CAAC,OAAO,IAAI,OAAO,SAAS,SAAS,MAAM,EAAE,GACjE,OAAO,CAAC,MAAM,CAAC,GACf,OAAO,SAAS,MAAM,GACpB,OAAO,GACP,MAAM,CAAA;AAEZ,KAAK,iBAAiB,CAAC,KAAK,SAAS,cAAc,IACjD,KAAK,SAAS,cAAc,CAAC,MAAM,EAAE,MAAM,WAAW,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,GAAG,MAAM,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { JsonValue } from "../../json";
|
|
2
2
|
import type { OntologyMaterializationEvent } from "../../materialization/events";
|
|
3
3
|
import type { EventOrigin } from "../envelope";
|
|
4
|
-
import type { ActionEvent } from "./actions";
|
|
5
4
|
import type { DatasetEvent } from "./datasets";
|
|
6
5
|
import type { LinkEvent } from "./links";
|
|
7
6
|
import type { ObjectEvent } from "./objects";
|
|
@@ -14,7 +13,6 @@ import type { WorkflowEvent } from "./workflows";
|
|
|
14
13
|
export type { EventExecutor } from "../../materialization/events";
|
|
15
14
|
export type { ActionEventOrigin, EventEnvelope, EventOrigin, ProjectionEventOrigin, ProjectionTelemetryEventSource, RuntimeMutationEventOrigin, TelemetryEventOrigin, TelemetryEventSource, } from "../envelope";
|
|
16
15
|
export type { PropertyChange, PropertyChangeMap, PropertyChangeOperation, } from "../property-changes";
|
|
17
|
-
export type { ActionCompletedEvent, ActionEvent, ActionFailedEvent, ActionRequestedEvent, } from "./actions";
|
|
18
16
|
export type { DatasetEvent, DatasetVersionCommittedEvent } from "./datasets";
|
|
19
17
|
export type { LinkCreatedEvent, LinkDeletedEvent, LinkEvent, LinkUpdatedEvent, } from "./links";
|
|
20
18
|
export type { ObjectCreatedEvent, ObjectDeletedEvent, ObjectEvent, ObjectUpdatedEvent, } from "./objects";
|
|
@@ -24,7 +22,7 @@ export type { ScheduleEvent, ScheduleTriggeredEvent } from "./schedules";
|
|
|
24
22
|
export type { SyncEvent, SyncRunFinishedEvent, SyncRunStartedEvent } from "./syncs";
|
|
25
23
|
export type { TelemetryAppendedEvent, TelemetryEvent } from "./telemetry";
|
|
26
24
|
export type { WorkflowEvent, WorkflowInterventionCancelledEvent, WorkflowInterventionExpiredEvent, WorkflowInterventionRequestedEvent, WorkflowInterventionSubmittedEvent, WorkflowRunFinishedEvent, WorkflowRunNodeFinishedEvent, WorkflowRunNodeStartedEvent, WorkflowRunNodeWaitingEvent, WorkflowRunQueuedEvent, WorkflowRunStartedEvent, WorkflowRunWaitingEvent, } from "./workflows";
|
|
27
|
-
export type DomainEvent = ObjectEvent | TelemetryEvent | LinkEvent |
|
|
25
|
+
export type DomainEvent = ObjectEvent | TelemetryEvent | LinkEvent | ScheduleEvent | RuleEvent | SyncEvent | PipelineEvent | WorkflowEvent | DatasetEvent;
|
|
28
26
|
export type OntologyDomainEvent = ObjectEvent | LinkEvent | TelemetryEvent;
|
|
29
27
|
export type AuthorableDomainEvent = Exclude<DomainEvent, OntologyDomainEvent>;
|
|
30
28
|
export type StoredAuthorableEvent = AuthorableDomainEvent & {
|
|
@@ -63,15 +61,6 @@ export type StoredLinkCreatedEvent = StoredOntologyEventOf<"link.created">;
|
|
|
63
61
|
export type StoredLinkUpdatedEvent = StoredOntologyEventOf<"link.updated">;
|
|
64
62
|
export type StoredLinkMutationEvent = StoredLinkCreatedEvent | StoredLinkUpdatedEvent;
|
|
65
63
|
export type StoredLinkDeletedEvent = StoredOntologyEventOf<"link.deleted">;
|
|
66
|
-
export type StoredActionRequestedEvent = Extract<StoredDomainEvent, {
|
|
67
|
-
type: "action.requested";
|
|
68
|
-
}>;
|
|
69
|
-
export type StoredActionCompletedEvent = Extract<StoredDomainEvent, {
|
|
70
|
-
type: "action.completed";
|
|
71
|
-
}>;
|
|
72
|
-
export type StoredActionFailedEvent = Extract<StoredDomainEvent, {
|
|
73
|
-
type: "action.failed";
|
|
74
|
-
}>;
|
|
75
64
|
export type StoredScheduleTriggeredEvent = Extract<StoredDomainEvent, {
|
|
76
65
|
type: "schedule.triggered";
|
|
77
66
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KA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,CACrD,iBAAiB,EACjB;IAAE,IAAI,EAAE,2BAA2B,CAAA;CAAE,CACtC,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG,OAAO,CACtD,iBAAiB,EACjB;IAAE,IAAI,EAAE,4BAA4B,CAAA;CAAE,CACvC,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG,OAAO,CAClD,iBAAiB,EACjB;IAAE,IAAI,EAAE,uBAAuB,CAAA;CAAE,CAClC,CAAA;AACD,MAAM,MAAM,wCAAwC,GAAG,OAAO,CAC5D,iBAAiB,EACjB;IAAE,IAAI,EAAE,iCAAiC,CAAA;CAAE,CAC5C,CAAA;AACD,MAAM,MAAM,wCAAwC,GAAG,OAAO,CAC5D,iBAAiB,EACjB;IAAE,IAAI,EAAE,iCAAiC,CAAA;CAAE,CAC5C,CAAA;AACD,MAAM,MAAM,wCAAwC,GAAG,OAAO,CAC5D,iBAAiB,EACjB;IAAE,IAAI,EAAE,iCAAiC,CAAA;CAAE,CAC5C,CAAA;AACD,MAAM,MAAM,sCAAsC,GAAG,OAAO,CAC1D,iBAAiB,EACjB;IAAE,IAAI,EAAE,+BAA+B,CAAA;CAAE,CAC1C,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG,OAAO,CACtD,iBAAiB,EACjB;IAAE,IAAI,EAAE,2BAA2B,CAAA;CAAE,CACtC,CAAA"}
|
package/dist/execution/agent.js
CHANGED
|
@@ -7,73 +7,70 @@ import {
|
|
|
7
7
|
bindAgentModelExecution2,
|
|
8
8
|
restoreAgentExecutionScope2,
|
|
9
9
|
assertAgentExecutionRecord2
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import"../chunk-
|
|
12
|
-
import"../chunk-
|
|
13
|
-
import"../chunk-
|
|
14
|
-
import"../chunk-
|
|
15
|
-
import"../chunk-
|
|
10
|
+
} from "../chunk-ey3pyej1.js";
|
|
11
|
+
import"../chunk-t6vq7bff.js";
|
|
12
|
+
import"../chunk-wz0xs816.js";
|
|
13
|
+
import"../chunk-52bk93x8.js";
|
|
14
|
+
import"../chunk-wwdfe68s.js";
|
|
15
|
+
import"../chunk-zrmy8zvw.js";
|
|
16
16
|
import"../chunk-mfs23znk.js";
|
|
17
|
-
import"../chunk-
|
|
17
|
+
import"../chunk-7mbzgd9m.js";
|
|
18
18
|
import"../chunk-99nd4rc1.js";
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
22
|
-
import"../chunk-3zxk45er.js";
|
|
23
|
-
import"../chunk-5a4a52tq.js";
|
|
24
|
-
import"../chunk-6gmfggss.js";
|
|
25
|
-
import"../chunk-bwjcehza.js";
|
|
26
|
-
import"../chunk-rz53yb4v.js";
|
|
27
|
-
import"../chunk-tffvfy6s.js";
|
|
28
|
-
import"../chunk-fx93hd2n.js";
|
|
29
|
-
import"../chunk-p0dqwj3n.js";
|
|
19
|
+
import"../chunk-vyf9kfqf.js";
|
|
20
|
+
import"../chunk-4tcx876c.js";
|
|
21
|
+
import"../chunk-d2ync1v3.js";
|
|
30
22
|
import {
|
|
31
23
|
ensureExecutionRecord2
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import"../chunk-
|
|
34
|
-
import"../chunk-qq90g05n.js";
|
|
35
|
-
import"../chunk-4wn7bxxa.js";
|
|
24
|
+
} from "../chunk-nre82s12.js";
|
|
25
|
+
import"../chunk-j2bp5ryw.js";
|
|
36
26
|
import"../chunk-br3k6qbf.js";
|
|
37
27
|
import"../chunk-jmfet9r4.js";
|
|
38
28
|
import"../chunk-qf954wje.js";
|
|
39
|
-
import"../chunk-
|
|
29
|
+
import"../chunk-1f7wpmyp.js";
|
|
40
30
|
import"../chunk-tw03bsmb.js";
|
|
41
|
-
import"../chunk-
|
|
42
|
-
import"../chunk-
|
|
43
|
-
import"../chunk-hn2r7z41.js";
|
|
31
|
+
import"../chunk-7kg3k1m9.js";
|
|
32
|
+
import"../chunk-s16apyk9.js";
|
|
44
33
|
import"../chunk-h89wz928.js";
|
|
45
|
-
import"../chunk-
|
|
34
|
+
import"../chunk-pbcbn83d.js";
|
|
46
35
|
import"../chunk-qczk96d9.js";
|
|
47
36
|
import"../chunk-mmagke4x.js";
|
|
48
|
-
import"../chunk-
|
|
49
|
-
import"../chunk-
|
|
37
|
+
import"../chunk-9ybhtmg4.js";
|
|
38
|
+
import"../chunk-hn2r7z41.js";
|
|
39
|
+
import"../chunk-b38szspf.js";
|
|
40
|
+
import"../chunk-a40ad1ft.js";
|
|
50
41
|
import"../chunk-s54c868q.js";
|
|
51
42
|
import"../chunk-ere85b8y.js";
|
|
52
43
|
import"../chunk-rj69qcrd.js";
|
|
53
44
|
import"../chunk-4as3wt1c.js";
|
|
54
|
-
import"../chunk-b9affek3.js";
|
|
55
45
|
import"../chunk-29yx306f.js";
|
|
56
46
|
import"../chunk-pqajwytd.js";
|
|
57
|
-
import"../chunk-
|
|
58
|
-
import"../chunk-
|
|
59
|
-
import"../chunk-
|
|
60
|
-
import"../chunk-
|
|
47
|
+
import"../chunk-bpgy64fw.js";
|
|
48
|
+
import"../chunk-3qms4nax.js";
|
|
49
|
+
import"../chunk-7n440zgt.js";
|
|
50
|
+
import"../chunk-m427qgq0.js";
|
|
51
|
+
import"../chunk-fa02jy15.js";
|
|
52
|
+
import"../chunk-7t429e3f.js";
|
|
53
|
+
import"../chunk-3zxk45er.js";
|
|
54
|
+
import"../chunk-5a4a52tq.js";
|
|
55
|
+
import"../chunk-6gmfggss.js";
|
|
56
|
+
import"../chunk-bwjcehza.js";
|
|
57
|
+
import"../chunk-rz53yb4v.js";
|
|
61
58
|
import"../chunk-gc4ntf7d.js";
|
|
62
59
|
import"../chunk-gfdh9kqa.js";
|
|
63
60
|
import"../chunk-pfp1txq2.js";
|
|
64
|
-
import"../chunk-
|
|
65
|
-
import"../chunk-
|
|
66
|
-
import"../chunk-
|
|
67
|
-
import"../chunk-
|
|
68
|
-
import"../chunk-qkbx3tf6.js";
|
|
69
|
-
import"../chunk-v4jbb3rs.js";
|
|
61
|
+
import"../chunk-5e43w60z.js";
|
|
62
|
+
import"../chunk-3gnrh4ve.js";
|
|
63
|
+
import"../chunk-c85m1hyj.js";
|
|
64
|
+
import"../chunk-v9xd5wzd.js";
|
|
70
65
|
import"../chunk-xt1zt7gv.js";
|
|
66
|
+
import"../chunk-2jntasmh.js";
|
|
67
|
+
import"../chunk-y7rqfrgg.js";
|
|
68
|
+
import"../chunk-v4jbb3rs.js";
|
|
69
|
+
import"../chunk-hvsb78a1.js";
|
|
71
70
|
import"../chunk-enpsx8k5.js";
|
|
72
|
-
import"../chunk-y05543x6.js";
|
|
73
71
|
import"../chunk-jhm3zsa7.js";
|
|
74
|
-
import"../chunk-
|
|
72
|
+
import"../chunk-8mx7qw3y.js";
|
|
75
73
|
import"../chunk-z3y5kg1x.js";
|
|
76
|
-
import"../chunk-2jntasmh.js";
|
|
77
74
|
export {
|
|
78
75
|
assertAgentExecutionRecord2 as assertAgentExecutionRecord,
|
|
79
76
|
bindAgentModelExecution2 as bindAgentModelExecution,
|
|
@@ -85,4 +82,4 @@ export {
|
|
|
85
82
|
restoreAgentExecutionScope2 as restoreAgentExecutionScope
|
|
86
83
|
};
|
|
87
84
|
|
|
88
|
-
//# debugId=
|
|
85
|
+
//# debugId=E08266ED6EE409F664756E2164756E21
|
|
@@ -1,101 +1,70 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import"../chunk-
|
|
10
|
-
import"../chunk-
|
|
11
|
-
import"../chunk-
|
|
12
|
-
import"../chunk-
|
|
13
|
-
import"../chunk-
|
|
14
|
-
import"../chunk-
|
|
15
|
-
import"../chunk-
|
|
16
|
-
import"../chunk-
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import"../chunk-
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
22
|
-
import"../chunk-rt9p8m9t.js";
|
|
23
|
-
import"../chunk-2jntasmh.js";
|
|
24
|
-
import"../chunk-pqajwytd.js";
|
|
25
|
-
import"../chunk-29yx306f.js";
|
|
26
|
-
import"../chunk-gfdh9kqa.js";
|
|
27
|
-
import"../chunk-gc4ntf7d.js";
|
|
28
|
-
import"../chunk-s54c868q.js";
|
|
29
|
-
import"../chunk-ere85b8y.js";
|
|
30
|
-
import"../chunk-4as3wt1c.js";
|
|
31
|
-
import"../chunk-h89wz928.js";
|
|
32
|
-
import"../chunk-zxawp1n2.js";
|
|
3
|
+
bindDurablePrimitiveExecution2
|
|
4
|
+
} from "../chunk-ey3pyej1.js";
|
|
5
|
+
import"../chunk-t6vq7bff.js";
|
|
6
|
+
import"../chunk-wz0xs816.js";
|
|
7
|
+
import"../chunk-52bk93x8.js";
|
|
8
|
+
import"../chunk-wwdfe68s.js";
|
|
9
|
+
import"../chunk-zrmy8zvw.js";
|
|
10
|
+
import"../chunk-mfs23znk.js";
|
|
11
|
+
import"../chunk-7mbzgd9m.js";
|
|
12
|
+
import"../chunk-99nd4rc1.js";
|
|
13
|
+
import"../chunk-vyf9kfqf.js";
|
|
14
|
+
import"../chunk-4tcx876c.js";
|
|
15
|
+
import"../chunk-d2ync1v3.js";
|
|
16
|
+
import"../chunk-nre82s12.js";
|
|
17
|
+
import"../chunk-j2bp5ryw.js";
|
|
18
|
+
import"../chunk-br3k6qbf.js";
|
|
19
|
+
import"../chunk-jmfet9r4.js";
|
|
20
|
+
import"../chunk-qf954wje.js";
|
|
21
|
+
import"../chunk-1f7wpmyp.js";
|
|
33
22
|
import"../chunk-tw03bsmb.js";
|
|
34
|
-
import"../chunk-
|
|
35
|
-
import"../chunk-
|
|
36
|
-
import"../chunk-
|
|
23
|
+
import"../chunk-7kg3k1m9.js";
|
|
24
|
+
import"../chunk-s16apyk9.js";
|
|
25
|
+
import"../chunk-h89wz928.js";
|
|
26
|
+
import"../chunk-pbcbn83d.js";
|
|
37
27
|
import"../chunk-qczk96d9.js";
|
|
38
28
|
import"../chunk-mmagke4x.js";
|
|
29
|
+
import"../chunk-9ybhtmg4.js";
|
|
39
30
|
import"../chunk-hn2r7z41.js";
|
|
40
|
-
import"../chunk-
|
|
41
|
-
import"../chunk-
|
|
42
|
-
import"../chunk-
|
|
43
|
-
import"../chunk-
|
|
44
|
-
import"../chunk-
|
|
45
|
-
import"../chunk-
|
|
46
|
-
import"../chunk-
|
|
47
|
-
import"../chunk-
|
|
48
|
-
import"../chunk-
|
|
31
|
+
import"../chunk-b38szspf.js";
|
|
32
|
+
import"../chunk-a40ad1ft.js";
|
|
33
|
+
import"../chunk-s54c868q.js";
|
|
34
|
+
import"../chunk-ere85b8y.js";
|
|
35
|
+
import"../chunk-rj69qcrd.js";
|
|
36
|
+
import"../chunk-4as3wt1c.js";
|
|
37
|
+
import"../chunk-29yx306f.js";
|
|
38
|
+
import"../chunk-pqajwytd.js";
|
|
39
|
+
import"../chunk-bpgy64fw.js";
|
|
40
|
+
import"../chunk-3qms4nax.js";
|
|
41
|
+
import"../chunk-7n440zgt.js";
|
|
42
|
+
import"../chunk-m427qgq0.js";
|
|
43
|
+
import"../chunk-fa02jy15.js";
|
|
44
|
+
import"../chunk-7t429e3f.js";
|
|
49
45
|
import"../chunk-3zxk45er.js";
|
|
50
46
|
import"../chunk-5a4a52tq.js";
|
|
51
|
-
import"../chunk-f1zxad2t.js";
|
|
52
|
-
import"../chunk-rz53yb4v.js";
|
|
53
47
|
import"../chunk-6gmfggss.js";
|
|
54
|
-
import"../chunk-99nd4rc1.js";
|
|
55
|
-
import"../chunk-p0dqwj3n.js";
|
|
56
|
-
import"../chunk-wr8qp979.js";
|
|
57
|
-
import"../chunk-tffvfy6s.js";
|
|
58
|
-
import"../chunk-yv9czyfr.js";
|
|
59
|
-
import"../chunk-za5yd58j.js";
|
|
60
|
-
import"../chunk-v6xpd60t.js";
|
|
61
|
-
import"../chunk-k6hrnf35.js";
|
|
62
|
-
import"../chunk-mfs23znk.js";
|
|
63
|
-
import"../chunk-ny3xyvcn.js";
|
|
64
|
-
import"../chunk-qxvp5epv.js";
|
|
65
48
|
import"../chunk-bwjcehza.js";
|
|
66
|
-
import
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
import"../chunk-
|
|
70
|
-
import"../chunk-
|
|
71
|
-
import"../chunk-
|
|
72
|
-
import"../chunk-
|
|
73
|
-
import"../chunk-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
let ontologyMutations;
|
|
84
|
-
const sixb = host.withScope(scope);
|
|
85
|
-
if (!isBoundSixb(sixb)) {
|
|
86
|
-
throw new Error("[Sixb] Primitive execution host returned an invalid bound SDK.");
|
|
87
|
-
}
|
|
88
|
-
const bound = {
|
|
89
|
-
sixb,
|
|
90
|
-
get ontologyMutations() {
|
|
91
|
-
ontologyMutations ??= getOntologyMutationRuntime2(sixb);
|
|
92
|
-
return ontologyMutations;
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
return Object.freeze(bound);
|
|
96
|
-
}
|
|
49
|
+
import"../chunk-rz53yb4v.js";
|
|
50
|
+
import"../chunk-gc4ntf7d.js";
|
|
51
|
+
import"../chunk-gfdh9kqa.js";
|
|
52
|
+
import"../chunk-pfp1txq2.js";
|
|
53
|
+
import"../chunk-5e43w60z.js";
|
|
54
|
+
import"../chunk-3gnrh4ve.js";
|
|
55
|
+
import"../chunk-c85m1hyj.js";
|
|
56
|
+
import"../chunk-v9xd5wzd.js";
|
|
57
|
+
import"../chunk-xt1zt7gv.js";
|
|
58
|
+
import"../chunk-2jntasmh.js";
|
|
59
|
+
import"../chunk-y7rqfrgg.js";
|
|
60
|
+
import"../chunk-v4jbb3rs.js";
|
|
61
|
+
import"../chunk-hvsb78a1.js";
|
|
62
|
+
import"../chunk-enpsx8k5.js";
|
|
63
|
+
import"../chunk-jhm3zsa7.js";
|
|
64
|
+
import"../chunk-8mx7qw3y.js";
|
|
65
|
+
import"../chunk-z3y5kg1x.js";
|
|
97
66
|
export {
|
|
98
|
-
bindDurablePrimitiveExecution
|
|
67
|
+
bindDurablePrimitiveExecution2 as bindDurablePrimitiveExecution
|
|
99
68
|
};
|
|
100
69
|
|
|
101
|
-
//# debugId=
|
|
70
|
+
//# debugId=A1A47CCF44A6D67364756E2164756E21
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": [
|
|
3
|
+
"sources": [],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"import { bindModelExecutionAttempt, type ModelExecutionAttempt } from \"../models/execution/binding\"\nimport type { OntologyMutationRuntime } from \"../runtime/ontology-mutations\"\nimport { getOntologyMutationRuntime } from \"../runtime/ontology-mutations\"\nimport { isBoundSixb, type Sixb } from \"../runtime/sixb\"\nimport type { ExecutionRecord } from \"../storage/executions\"\nimport { restoreTrustedPrimitiveExecutionScope } from \"./durable\"\nimport type { ExecutionScope, TrustedPrimitiveRef } from \"./types\"\n\n/** Minimal host boundary required by trusted primitive workers. */\nexport interface PrimitiveExecutionHost {\n readonly id: string\n withScope(scope: ExecutionScope): object\n}\n\nexport interface BoundPrimitiveExecution {\n readonly sixb: Sixb\n /** Internal mutation port guarded by the same runtime authority as `sixb`. */\n readonly ontologyMutations: OntologyMutationRuntime\n}\n\n/** Bind a worker to the immutable execution already owned by its durable primitive run. */\nexport function bindDurablePrimitiveExecution(\n host: PrimitiveExecutionHost,\n input: {\n readonly execution: ExecutionRecord\n readonly primitive: TrustedPrimitiveRef\n readonly modelExecution?: ModelExecutionAttempt\n }\n): BoundPrimitiveExecution {\n const bound = bindPrimitiveScope(host, restoreTrustedPrimitiveExecutionScope(input))\n if (input.modelExecution) bindModelExecutionAttempt(bound.sixb.models, input.modelExecution)\n return bound\n}\n\nfunction bindPrimitiveScope(\n host: PrimitiveExecutionHost,\n scope: ExecutionScope\n): BoundPrimitiveExecution {\n let ontologyMutations: OntologyMutationRuntime | undefined\n\n const sixb = host.withScope(scope)\n if (!isBoundSixb(sixb)) {\n throw new Error(\"[Sixb] Primitive execution host returned an invalid bound SDK.\")\n }\n const bound: BoundPrimitiveExecution = {\n sixb,\n get ontologyMutations() {\n ontologyMutations ??= getOntologyMutationRuntime(sixb)\n return ontologyMutations\n },\n }\n return Object.freeze(bound)\n}\n"
|
|
6
5
|
],
|
|
7
|
-
"mappings": "
|
|
8
|
-
"debugId": "
|
|
6
|
+
"mappings": "",
|
|
7
|
+
"debugId": "A1A47CCF44A6D67364756E2164756E21",
|
|
9
8
|
"names": []
|
|
10
9
|
}
|