@sixb/core 0.1.19 → 0.1.21
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/execution.d.ts.map +1 -1
- package/dist/actions/index.js +54 -47
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/request.d.ts.map +1 -1
- package/dist/actions/run-authorization.d.ts +9 -0
- package/dist/actions/run-authorization.d.ts.map +1 -1
- package/dist/activity/connection.d.ts +62 -0
- package/dist/activity/connection.d.ts.map +1 -0
- package/dist/activity/device.d.ts +8 -0
- package/dist/activity/device.d.ts.map +1 -0
- package/dist/activity/execution.d.ts +48 -0
- package/dist/activity/execution.d.ts.map +1 -0
- package/dist/activity/service.d.ts +79 -0
- package/dist/activity/service.d.ts.map +1 -0
- package/dist/activity/shares.d.ts +24 -0
- package/dist/activity/shares.d.ts.map +1 -0
- package/dist/activity/timeline.d.ts +96 -0
- package/dist/activity/timeline.d.ts.map +1 -0
- package/dist/agents/index.d.ts +2 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +63 -50
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/request.d.ts.map +1 -1
- package/dist/agents/skills.d.ts.map +1 -1
- package/dist/agents/streams/index.js +3 -3
- package/dist/agents/streams/internal.js +3 -3
- package/dist/agents/types.d.ts +8 -8
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/agents/validation.d.ts +1 -1
- package/dist/agents/validation.d.ts.map +1 -1
- package/dist/artifacts/address.d.ts +48 -0
- package/dist/artifacts/address.d.ts.map +1 -0
- package/dist/artifacts/csv.d.ts +22 -0
- package/dist/artifacts/csv.d.ts.map +1 -0
- package/dist/artifacts/errors.d.ts +11 -0
- package/dist/artifacts/errors.d.ts.map +1 -0
- package/dist/artifacts/execution.d.ts +43 -0
- package/dist/artifacts/execution.d.ts.map +1 -0
- package/dist/artifacts/frames/assets.d.ts +28 -0
- package/dist/artifacts/frames/assets.d.ts.map +1 -0
- package/dist/artifacts/frames/grants.d.ts +37 -0
- package/dist/artifacts/frames/grants.d.ts.map +1 -0
- package/dist/artifacts/frames/index.d.ts +10 -0
- package/dist/artifacts/frames/index.d.ts.map +1 -0
- package/dist/artifacts/frames/index.js +892 -0
- package/dist/artifacts/frames/index.js.map +14 -0
- package/dist/artifacts/frames/kit.d.ts +66 -0
- package/dist/artifacts/frames/kit.d.ts.map +1 -0
- package/dist/artifacts/frames/probe.d.ts +41 -0
- package/dist/artifacts/frames/probe.d.ts.map +1 -0
- package/dist/artifacts/frames/protocol.d.ts +98 -0
- package/dist/artifacts/frames/protocol.d.ts.map +1 -0
- package/dist/artifacts/frames/runtime.d.ts +13 -0
- package/dist/artifacts/frames/runtime.d.ts.map +1 -0
- package/dist/artifacts/html.d.ts +6 -0
- package/dist/artifacts/html.d.ts.map +1 -0
- package/dist/artifacts/ids.d.ts +5 -0
- package/dist/artifacts/ids.d.ts.map +1 -0
- package/dist/artifacts/index.d.ts +16 -0
- package/dist/artifacts/index.d.ts.map +1 -0
- package/dist/artifacts/index.js +125 -0
- package/dist/artifacts/index.js.map +10 -0
- package/dist/artifacts/kinds.d.ts +5 -0
- package/dist/artifacts/kinds.d.ts.map +1 -0
- package/dist/artifacts/limits.d.ts +28 -0
- package/dist/artifacts/limits.d.ts.map +1 -0
- package/dist/artifacts/outline.d.ts +44 -0
- package/dist/artifacts/outline.d.ts.map +1 -0
- package/dist/artifacts/publish/files.d.ts +15 -0
- package/dist/artifacts/publish/files.d.ts.map +1 -0
- package/dist/artifacts/publish/index.d.ts +5 -0
- package/dist/artifacts/publish/index.d.ts.map +1 -0
- package/dist/artifacts/publish/index.js +36 -0
- package/dist/artifacts/publish/index.js.map +9 -0
- package/dist/artifacts/publish/publish.d.ts +52 -0
- package/dist/artifacts/publish/publish.d.ts.map +1 -0
- package/dist/artifacts/publish/references.d.ts +27 -0
- package/dist/artifacts/publish/references.d.ts.map +1 -0
- package/dist/artifacts/publish/validate/document.d.ts +17 -0
- package/dist/artifacts/publish/validate/document.d.ts.map +1 -0
- package/dist/artifacts/publish/validate/file.d.ts +8 -0
- package/dist/artifacts/publish/validate/file.d.ts.map +1 -0
- package/dist/artifacts/publish/validate/sheet.d.ts +15 -0
- package/dist/artifacts/publish/validate/sheet.d.ts.map +1 -0
- package/dist/artifacts/publish/validate/slides.d.ts +21 -0
- package/dist/artifacts/publish/validate/slides.d.ts.map +1 -0
- package/dist/artifacts/references.d.ts +12 -0
- package/dist/artifacts/references.d.ts.map +1 -0
- package/dist/artifacts/resolve.d.ts +41 -0
- package/dist/artifacts/resolve.d.ts.map +1 -0
- package/dist/artifacts/theme.d.ts +19 -0
- package/dist/artifacts/theme.d.ts.map +1 -0
- package/dist/artifacts/warnings.d.ts +11 -0
- package/dist/artifacts/warnings.d.ts.map +1 -0
- package/dist/artifacts/workbook.d.ts +64 -0
- package/dist/artifacts/workbook.d.ts.map +1 -0
- package/dist/auth/cookies.d.ts +2 -4
- package/dist/auth/cookies.d.ts.map +1 -1
- package/dist/auth/index.d.ts +0 -2
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +14 -20
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/runtime.d.ts +8 -10
- package/dist/auth/runtime.d.ts.map +1 -1
- package/dist/auth/session-cache.d.ts +1 -5
- package/dist/auth/session-cache.d.ts.map +1 -1
- package/dist/auth/strategy.js +1 -1
- package/dist/auth/types.d.ts +4 -8
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/auth/validation.d.ts +0 -1
- package/dist/auth/validation.d.ts.map +1 -1
- package/dist/authorization/decision.d.ts +2 -4
- package/dist/authorization/decision.d.ts.map +1 -1
- package/dist/authorization/grant-kinds.d.ts +6 -8
- package/dist/authorization/grant-kinds.d.ts.map +1 -1
- package/dist/authorization/index.d.ts +0 -1
- package/dist/authorization/index.d.ts.map +1 -1
- package/dist/authorization/index.js +7 -11
- package/dist/authorization/index.js.map +1 -1
- package/dist/authorization/resolve.d.ts +1 -1
- package/dist/authorization/resolve.d.ts.map +1 -1
- package/dist/blob-storage/browser.js +1 -1
- package/dist/blob-storage/index.js +2 -2
- package/dist/blob-storage/internal.d.ts +1 -1
- package/dist/blob-storage/internal.d.ts.map +1 -1
- package/dist/blob-storage/internal.js +11 -5
- package/dist/blob-storage/internal.js.map +1 -1
- package/dist/blob-storage/media-type.d.ts +12 -0
- package/dist/blob-storage/media-type.d.ts.map +1 -1
- package/dist/bootstrap/index.js +54 -48
- package/dist/bootstrap/index.js.map +2 -2
- package/dist/{chunk-t6vq7bff.js → chunk-0bphap9y.js} +5 -5
- package/dist/{chunk-7mbzgd9m.js → chunk-1cc1xaf3.js} +3 -3
- package/dist/chunk-3jms7je7.js +14 -0
- package/dist/chunk-3jms7je7.js.map +10 -0
- package/dist/{chunk-s54c868q.js → chunk-3qct2mdc.js} +3 -13
- package/dist/chunk-3qct2mdc.js.map +12 -0
- package/dist/{chunk-6gmfggss.js → chunk-431pyp2c.js} +3 -3
- package/dist/{chunk-c85m1hyj.js → chunk-447a5c0p.js} +2 -2
- package/dist/chunk-48qjhh6v.js +185 -0
- package/dist/chunk-48qjhh6v.js.map +13 -0
- package/dist/{chunk-80mc0971.js → chunk-561r0yc9.js} +8 -8
- package/dist/{chunk-5e43w60z.js → chunk-5948n82c.js} +2 -2
- package/dist/{chunk-yzwja0mj.js → chunk-5hx48dnn.js} +2 -2
- package/dist/{chunk-tjb1mk5t.js → chunk-5vems3nx.js} +5 -6
- package/dist/{chunk-tjb1mk5t.js.map → chunk-5vems3nx.js.map} +3 -3
- package/dist/{chunk-aff7cyea.js → chunk-61y5xs4p.js} +563 -167
- package/dist/{chunk-aff7cyea.js.map → chunk-61y5xs4p.js.map} +12 -9
- package/dist/chunk-65abf64x.js +13 -0
- package/dist/chunk-65abf64x.js.map +10 -0
- package/dist/{chunk-z3y5kg1x.js → chunk-6eqsgvxk.js} +3 -3
- package/dist/{chunk-z3y5kg1x.js.map → chunk-6eqsgvxk.js.map} +2 -2
- package/dist/chunk-6rqgmkde.js +2028 -0
- package/dist/chunk-6rqgmkde.js.map +29 -0
- package/dist/{chunk-y7rqfrgg.js → chunk-6vb4st8k.js} +29 -38
- package/dist/chunk-6vb4st8k.js.map +23 -0
- package/dist/chunk-7q8t23v4.js +467 -0
- package/dist/chunk-7q8t23v4.js.map +14 -0
- package/dist/{chunk-kyzq4wy9.js → chunk-858emn8m.js} +17 -17
- package/dist/chunk-858emn8m.js.map +18 -0
- package/dist/{chunk-hvsb78a1.js → chunk-8frc8a4j.js} +26 -26
- package/dist/{chunk-hvsb78a1.js.map → chunk-8frc8a4j.js.map} +2 -2
- package/dist/{chunk-3zxk45er.js → chunk-8ncg20rd.js} +3 -68
- package/dist/{chunk-3zxk45er.js.map → chunk-8ncg20rd.js.map} +4 -5
- package/dist/{chunk-j2bp5ryw.js → chunk-918wwnaa.js} +495 -28
- package/dist/{chunk-j2bp5ryw.js.map → chunk-918wwnaa.js.map} +14 -12
- package/dist/{chunk-1f7wpmyp.js → chunk-9j4jw7as.js} +103 -110
- package/dist/chunk-9j4jw7as.js.map +14 -0
- package/dist/chunk-9kgkfg6v.js +502 -0
- package/dist/chunk-9kgkfg6v.js.map +14 -0
- package/dist/chunk-a3faa34j.js +74 -0
- package/dist/chunk-a3faa34j.js.map +10 -0
- package/dist/{chunk-ey3pyej1.js → chunk-akzryx9h.js} +347 -1174
- package/dist/{chunk-ey3pyej1.js.map → chunk-akzryx9h.js.map} +19 -25
- package/dist/chunk-arns890k.js +10 -0
- package/dist/chunk-arns890k.js.map +10 -0
- package/dist/{chunk-zrmy8zvw.js → chunk-bk9svbcq.js} +11 -11
- package/dist/{chunk-zrmy8zvw.js.map → chunk-bk9svbcq.js.map} +2 -2
- package/dist/{chunk-hkc3jct7.js → chunk-c06hmxyy.js} +2 -10
- package/dist/chunk-c06hmxyy.js.map +10 -0
- package/dist/{chunk-q1vkr2ys.js → chunk-c1rxbz5y.js} +3 -3
- package/dist/chunk-cfj9dfbb.js +288 -0
- package/dist/chunk-cfj9dfbb.js.map +12 -0
- package/dist/{chunk-4tcx876c.js → chunk-cn0fwwhy.js} +19 -19
- package/dist/{chunk-4tcx876c.js.map → chunk-cn0fwwhy.js.map} +1 -1
- package/dist/{chunk-gc4ntf7d.js → chunk-cwdzcv37.js} +1 -1
- package/dist/{chunk-fa02jy15.js → chunk-cy4mbddw.js} +1 -1
- package/dist/{chunk-7kg3k1m9.js → chunk-d09e3rax.js} +1 -1
- package/dist/chunk-d5rjr8c0.js +176 -0
- package/dist/chunk-d5rjr8c0.js.map +12 -0
- package/dist/{chunk-rhg02hxq.js → chunk-d7dnxdep.js} +3 -3
- package/dist/{chunk-b38szspf.js → chunk-dhcv7yxc.js} +1 -1
- package/dist/{chunk-b38szspf.js.map → chunk-dhcv7yxc.js.map} +1 -1
- package/dist/{chunk-enpsx8k5.js → chunk-dhdha526.js} +23 -21
- package/dist/chunk-dhdha526.js.map +10 -0
- package/dist/{chunk-8mx7qw3y.js → chunk-dvd2fp9q.js} +2 -2
- package/dist/{chunk-8mx7qw3y.js.map → chunk-dvd2fp9q.js.map} +3 -3
- package/dist/{chunk-bwjcehza.js → chunk-e17zdm62.js} +6 -12
- package/dist/{chunk-bwjcehza.js.map → chunk-e17zdm62.js.map} +3 -4
- package/dist/{chunk-tpn40322.js → chunk-e6k4thh5.js} +11 -10
- package/dist/{chunk-tpn40322.js.map → chunk-e6k4thh5.js.map} +3 -3
- package/dist/{chunk-tw03bsmb.js → chunk-eptrvnby.js} +224 -3
- package/dist/chunk-eptrvnby.js.map +12 -0
- package/dist/{chunk-xt1zt7gv.js → chunk-f4pamkt9.js} +30 -23
- package/dist/chunk-f4pamkt9.js.map +12 -0
- package/dist/chunk-ff5xkv0p.js +211 -0
- package/dist/chunk-ff5xkv0p.js.map +10 -0
- package/dist/{chunk-bpgy64fw.js → chunk-g257jwnc.js} +10 -4
- package/dist/{chunk-bpgy64fw.js.map → chunk-g257jwnc.js.map} +3 -3
- package/dist/chunk-g5bvzyyr.js +32 -0
- package/dist/chunk-g5bvzyyr.js.map +10 -0
- package/dist/{chunk-2jntasmh.js → chunk-hcbyfxbe.js} +25 -49
- package/dist/chunk-hcbyfxbe.js.map +12 -0
- package/dist/chunk-hke9aeen.js +9 -0
- package/dist/chunk-hke9aeen.js.map +10 -0
- package/dist/{chunk-1sr8ryzk.js → chunk-hwksyjks.js} +122 -1
- package/dist/{chunk-1sr8ryzk.js.map → chunk-hwksyjks.js.map} +3 -3
- package/dist/chunk-jcfw4h7m.js +9 -0
- package/dist/chunk-jcfw4h7m.js.map +10 -0
- package/dist/{chunk-85yvv5n0.js → chunk-k43ct2ke.js} +20 -11
- package/dist/chunk-k43ct2ke.js.map +12 -0
- package/dist/{chunk-dnmadg9k.js → chunk-kge7k6ey.js} +40 -8
- package/dist/chunk-kge7k6ey.js.map +15 -0
- package/dist/{chunk-wz0xs816.js → chunk-ky3j490c.js} +2 -2
- package/dist/chunk-mjddfa7k.js +129 -0
- package/dist/chunk-mjddfa7k.js.map +12 -0
- package/dist/{chunk-3gnrh4ve.js → chunk-nn5xnx3s.js} +86 -111
- package/dist/chunk-nn5xnx3s.js.map +40 -0
- package/dist/{chunk-rz53yb4v.js → chunk-q5e5tv4b.js} +35 -7
- package/dist/{chunk-rz53yb4v.js.map → chunk-q5e5tv4b.js.map} +3 -3
- package/dist/{chunk-vyf9kfqf.js → chunk-q7gn29y3.js} +1 -1
- package/dist/{chunk-d2ync1v3.js → chunk-rmakanzx.js} +10 -12
- package/dist/{chunk-d2ync1v3.js.map → chunk-rmakanzx.js.map} +3 -4
- package/dist/{chunk-v9xd5wzd.js → chunk-s7jg7pmn.js} +1 -1
- package/dist/chunk-tbc1ngpd.js +642 -0
- package/dist/chunk-tbc1ngpd.js.map +18 -0
- package/dist/chunk-twe4dx8p.js +676 -0
- package/dist/chunk-twe4dx8p.js.map +15 -0
- package/dist/{chunk-nre82s12.js → chunk-vf57cr4t.js} +2 -2
- package/dist/{chunk-9ybhtmg4.js → chunk-vvxtn22d.js} +1 -1
- package/dist/{chunk-jhm3zsa7.js → chunk-wkv3h3q7.js} +64 -2
- package/dist/{chunk-jhm3zsa7.js.map → chunk-wkv3h3q7.js.map} +3 -3
- package/dist/chunk-x0v3jd47.js +124 -0
- package/dist/chunk-x0v3jd47.js.map +10 -0
- package/dist/{chunk-7t429e3f.js → chunk-xvsc5m8n.js} +1 -1
- package/dist/{chunk-kg5j6fct.js → chunk-y5tah2kf.js} +1 -1
- package/dist/{chunk-52bk93x8.js → chunk-z58tm0hm.js} +2 -2
- package/dist/datasets/builders.d.ts +15 -2
- package/dist/datasets/builders.d.ts.map +1 -1
- package/dist/datasets/column-index.d.ts +7 -0
- package/dist/datasets/column-index.d.ts.map +1 -0
- package/dist/datasets/execution.d.ts +3 -2
- package/dist/datasets/execution.d.ts.map +1 -1
- package/dist/datasets/write.js +8 -8
- package/dist/deploy/internal.js +4 -3
- package/dist/deploy/internal.js.map +4 -4
- package/dist/deploy/services.d.ts.map +1 -1
- package/dist/deploy/types.d.ts +1 -2
- package/dist/deploy/types.d.ts.map +1 -1
- package/dist/error-reporting/internal.js +4 -4
- package/dist/errors/internal.d.ts +1 -0
- package/dist/errors/internal.d.ts.map +1 -1
- package/dist/errors/internal.js +7 -4
- package/dist/errors/internal.js.map +1 -1
- package/dist/events/execution.d.ts +12 -2
- package/dist/events/execution.d.ts.map +1 -1
- package/dist/events/index.js +4 -4
- package/dist/execution/agent.js +56 -49
- package/dist/execution/agent.js.map +1 -1
- package/dist/execution/authorization.d.ts.map +1 -1
- package/dist/execution/authorized-object-reader.d.ts +52 -11
- package/dist/execution/authorized-object-reader.d.ts.map +1 -1
- package/dist/execution/object-reader-clearance.d.ts +41 -0
- package/dist/execution/object-reader-clearance.d.ts.map +1 -0
- package/dist/execution/object-reader-ontology.d.ts +12 -0
- package/dist/execution/object-reader-ontology.d.ts.map +1 -0
- package/dist/execution/object-reader-security.d.ts +45 -0
- package/dist/execution/object-reader-security.d.ts.map +1 -0
- package/dist/execution/primitive.js +54 -47
- package/dist/execution/primitive.js.map +1 -1
- package/dist/execution/request.js +49 -42
- package/dist/execution/request.js.map +2 -2
- package/dist/http/api-routes.d.ts.map +1 -1
- package/dist/http/index.js +1 -1
- package/dist/index.d.ts +23 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +111 -109
- package/dist/index.js.map +1 -1
- package/dist/lake-storage/in-memory.d.ts +1 -0
- package/dist/lake-storage/in-memory.d.ts.map +1 -1
- package/dist/lake-storage/index.d.ts +6 -3
- package/dist/lake-storage/index.d.ts.map +1 -1
- package/dist/lake-storage/index.js +21 -13
- package/dist/lake-storage/index.js.map +1 -1
- package/dist/lake-storage/lineage.d.ts +94 -0
- package/dist/lake-storage/lineage.d.ts.map +1 -0
- package/dist/lake-storage/sql-transforms.d.ts +45 -0
- package/dist/lake-storage/sql-transforms.d.ts.map +1 -1
- package/dist/lake-storage/types.d.ts +55 -1
- package/dist/lake-storage/types.d.ts.map +1 -1
- package/dist/lake-storage/version-inputs.d.ts +14 -3
- package/dist/lake-storage/version-inputs.d.ts.map +1 -1
- package/dist/maintenance/ontology-maintenance.d.ts.map +1 -1
- package/dist/materializer/index.js +31 -30
- package/dist/materializer/index.js.map +1 -1
- package/dist/models/execution/index.js +26 -25
- package/dist/models/execution/index.js.map +1 -1
- package/dist/objects/clearance-redaction.d.ts +27 -0
- package/dist/objects/clearance-redaction.d.ts.map +1 -0
- package/dist/objects/index.js +54 -47
- package/dist/objects/index.js.map +1 -1
- package/dist/objects/link/authorization.d.ts +8 -5
- package/dist/objects/link/authorization.d.ts.map +1 -1
- package/dist/objects/link/upsert-batch.d.ts.map +1 -1
- package/dist/objects/object/delete.d.ts.map +1 -1
- package/dist/objects/object/upsert-batch.d.ts.map +1 -1
- package/dist/objects/object/upsert.d.ts.map +1 -1
- package/dist/objects/property-clearance.d.ts +47 -24
- package/dist/objects/property-clearance.d.ts.map +1 -1
- package/dist/objects/query/clearance-admission.d.ts +10 -0
- package/dist/objects/query/clearance-admission.d.ts.map +1 -0
- package/dist/objects/query/index.js +29 -28
- package/dist/objects/query/index.js.map +1 -1
- package/dist/objects/query/link-query-clearance.d.ts +21 -0
- package/dist/objects/query/link-query-clearance.d.ts.map +1 -0
- package/dist/objects/vectors/handle.d.ts.map +1 -1
- package/dist/objects/vectors/profile.d.ts +5 -0
- package/dist/objects/vectors/profile.d.ts.map +1 -1
- package/dist/ontology/builders.d.ts.map +1 -1
- package/dist/ontology/docs-markdown.d.ts +1 -1
- package/dist/ontology/docs-markdown.d.ts.map +1 -1
- package/dist/ontology/index.js +7 -7
- package/dist/ontology/internal.js +4 -4
- package/dist/ontology/internal.js.map +1 -1
- package/dist/pipelines/index.d.ts +2 -0
- package/dist/pipelines/index.d.ts.map +1 -1
- package/dist/pipelines/index.js +47 -35
- package/dist/pipelines/index.js.map +1 -1
- package/dist/pipelines/lineage.d.ts +17 -0
- package/dist/pipelines/lineage.d.ts.map +1 -0
- package/dist/projections/internal.d.ts +2 -2
- package/dist/projections/internal.js +30 -29
- package/dist/projections/internal.js.map +1 -1
- package/dist/runtime/create.d.ts +3 -0
- package/dist/runtime/create.d.ts.map +1 -1
- package/dist/runtime/host.d.ts +6 -0
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/internal.d.ts +2 -0
- package/dist/runtime/internal.d.ts.map +1 -1
- package/dist/runtime/internal.js +46 -42
- package/dist/runtime/internal.js.map +1 -1
- package/dist/runtime/ontology-mutations.d.ts +2 -0
- package/dist/runtime/ontology-mutations.d.ts.map +1 -1
- package/dist/runtime/resolve-definitions.d.ts.map +1 -1
- package/dist/runtime/sixb.d.ts +8 -0
- package/dist/runtime/sixb.d.ts.map +1 -1
- package/dist/sandboxes/auth.d.ts +16 -0
- package/dist/sandboxes/auth.d.ts.map +1 -1
- package/dist/sandboxes/config.d.ts.map +1 -1
- package/dist/sandboxes/configuration.d.ts +26 -0
- package/dist/sandboxes/configuration.d.ts.map +1 -1
- package/dist/sandboxes/index.d.ts +1 -1
- package/dist/sandboxes/index.d.ts.map +1 -1
- package/dist/sandboxes/index.js +14 -13
- package/dist/sandboxes/index.js.map +1 -1
- package/dist/sandboxes/sandbox.d.ts +28 -5
- package/dist/sandboxes/sandbox.d.ts.map +1 -1
- package/dist/security/applied-markings-contribution.d.ts +58 -0
- package/dist/security/applied-markings-contribution.d.ts.map +1 -0
- package/dist/security/applied-markings-host.d.ts +10 -0
- package/dist/security/applied-markings-host.d.ts.map +1 -0
- package/dist/security/applied-markings-snapshot.d.ts +67 -0
- package/dist/security/applied-markings-snapshot.d.ts.map +1 -0
- package/dist/security/applied-markings.d.ts +73 -0
- package/dist/security/applied-markings.d.ts.map +1 -0
- package/dist/security/builders.d.ts.map +1 -1
- package/dist/security/dataset-version-markings.d.ts +47 -0
- package/dist/security/dataset-version-markings.d.ts.map +1 -0
- package/dist/security/every.d.ts +1 -4
- package/dist/security/every.d.ts.map +1 -1
- package/dist/security/grants.d.ts +4 -5
- package/dist/security/grants.d.ts.map +1 -1
- package/dist/security/index.d.ts +2 -2
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/internal.d.ts +15 -0
- package/dist/security/internal.d.ts.map +1 -0
- package/dist/security/internal.js +135 -0
- package/dist/security/internal.js.map +10 -0
- package/dist/security/marking-propagation.d.ts +62 -0
- package/dist/security/marking-propagation.d.ts.map +1 -0
- package/dist/security/marking-sets.d.ts +14 -0
- package/dist/security/marking-sets.d.ts.map +1 -0
- package/dist/security/markings.d.ts +6 -3
- package/dist/security/markings.d.ts.map +1 -1
- package/dist/security/membership-policies.d.ts.map +1 -1
- package/dist/security/pipeline-markings.d.ts +20 -0
- package/dist/security/pipeline-markings.d.ts.map +1 -0
- package/dist/security/project.d.ts +4 -0
- package/dist/security/project.d.ts.map +1 -0
- package/dist/security/projection-markings.d.ts +71 -0
- package/dist/security/projection-markings.d.ts.map +1 -0
- package/dist/security/public.d.ts +10 -0
- package/dist/security/public.d.ts.map +1 -0
- package/dist/security/public.js +10 -0
- package/dist/security/public.js.map +9 -0
- package/dist/security/redactions.d.ts +4 -1
- package/dist/security/redactions.d.ts.map +1 -1
- package/dist/security/registry.d.ts +0 -1
- package/dist/security/registry.d.ts.map +1 -1
- package/dist/security/types.d.ts +34 -19
- package/dist/security/types.d.ts.map +1 -1
- package/dist/security/validation.d.ts +0 -6
- package/dist/security/validation.d.ts.map +1 -1
- package/dist/shares/internal.js +25 -24
- package/dist/shares/internal.js.map +2 -2
- package/dist/storage/action-runs/failure.js +3 -3
- package/dist/storage/action-runs/in-memory.d.ts +4 -0
- package/dist/storage/action-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/action-runs/types.d.ts +8 -0
- package/dist/storage/action-runs/types.d.ts.map +1 -1
- package/dist/storage/activity/in-memory.d.ts +55 -0
- package/dist/storage/activity/in-memory.d.ts.map +1 -0
- package/dist/storage/activity/index.d.ts +3 -0
- package/dist/storage/activity/index.d.ts.map +1 -0
- package/dist/storage/activity/policy.d.ts +96 -0
- package/dist/storage/activity/policy.d.ts.map +1 -0
- package/dist/storage/activity/types.d.ts +191 -0
- package/dist/storage/activity/types.d.ts.map +1 -0
- package/dist/storage/agents/in-memory.d.ts +4 -0
- package/dist/storage/agents/in-memory.d.ts.map +1 -1
- package/dist/storage/agents/provider.d.ts.map +1 -1
- package/dist/storage/agents/provider.js +2 -5
- package/dist/storage/agents/provider.js.map +1 -1
- package/dist/storage/agents/types.d.ts +10 -9
- package/dist/storage/agents/types.d.ts.map +1 -1
- package/dist/storage/ai-limits/enforcement.js +3 -3
- package/dist/storage/artifacts/errors.d.ts +8 -0
- package/dist/storage/artifacts/errors.d.ts.map +1 -0
- package/dist/storage/artifacts/in-memory.d.ts +34 -0
- package/dist/storage/artifacts/in-memory.d.ts.map +1 -0
- package/dist/storage/artifacts/index.d.ts +5 -0
- package/dist/storage/artifacts/index.d.ts.map +1 -0
- package/dist/storage/artifacts/record.d.ts +17 -0
- package/dist/storage/artifacts/record.d.ts.map +1 -0
- package/dist/storage/artifacts/types.d.ts +184 -0
- package/dist/storage/artifacts/types.d.ts.map +1 -0
- package/dist/storage/auth/in-memory/auth-storage.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/magic-links.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/oidc-attempts.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/sessions.d.ts +2 -11
- package/dist/storage/auth/in-memory/sessions.d.ts.map +1 -1
- package/dist/storage/auth/in-memory/shared.d.ts +1 -2
- package/dist/storage/auth/in-memory/shared.d.ts.map +1 -1
- package/dist/storage/auth/index.d.ts +1 -1
- package/dist/storage/auth/index.d.ts.map +1 -1
- package/dist/storage/auth/types.d.ts +20 -17
- package/dist/storage/auth/types.d.ts.map +1 -1
- package/dist/storage/connector-connections/provider.js +2 -2
- package/dist/storage/executions/in-memory.d.ts +2 -1
- package/dist/storage/executions/in-memory.d.ts.map +1 -1
- package/dist/storage/executions/index.d.ts +1 -1
- package/dist/storage/executions/index.d.ts.map +1 -1
- package/dist/storage/executions/provider.d.ts +2 -0
- package/dist/storage/executions/provider.d.ts.map +1 -1
- package/dist/storage/executions/provider.js +9 -223
- package/dist/storage/executions/provider.js.map +3 -4
- package/dist/storage/executions/types.d.ts +31 -0
- package/dist/storage/executions/types.d.ts.map +1 -1
- package/dist/storage/file-upload-sessions/provider.js +12 -12
- package/dist/storage/in-memory/index.d.ts +8 -0
- package/dist/storage/in-memory/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +6 -4
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +47 -46
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.d.ts +3 -0
- package/dist/storage/internal.d.ts.map +1 -1
- package/dist/storage/internal.js +66 -16
- package/dist/storage/internal.js.map +1 -1
- package/dist/storage/ontology/in-memory/sources.d.ts +2 -1
- package/dist/storage/ontology/in-memory/sources.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/sources.d.ts +15 -0
- package/dist/storage/ontology/sources.d.ts.map +1 -1
- package/dist/storage/projection-runs/provider.js +3 -3
- package/dist/storage/share-grants/in-memory.d.ts +2 -1
- package/dist/storage/share-grants/in-memory.d.ts.map +1 -1
- package/dist/storage/share-grants/index.d.ts +1 -1
- package/dist/storage/share-grants/index.d.ts.map +1 -1
- package/dist/storage/share-grants/types.d.ts +6 -0
- package/dist/storage/share-grants/types.d.ts.map +1 -1
- package/dist/storage/types.d.ts +4 -0
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/storage/workflow-runs/in-memory.d.ts +4 -0
- package/dist/storage/workflow-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/workflow-runs/provider.js +14 -13
- package/dist/storage/workflow-runs/provider.js.map +1 -1
- package/dist/storage/workflow-runs/types.d.ts +5 -0
- package/dist/storage/workflow-runs/types.d.ts.map +1 -1
- package/dist/syncs/index.js +35 -34
- package/dist/syncs/index.js.map +1 -1
- package/dist/testing/action-run-storage-contract.d.ts.map +1 -1
- package/dist/testing/activity-storage-contract.d.ts +14 -0
- package/dist/testing/activity-storage-contract.d.ts.map +1 -0
- package/dist/testing/agent-storage-contract.d.ts.map +1 -1
- package/dist/testing/artifact-storage-contract.d.ts +13 -0
- package/dist/testing/artifact-storage-contract.d.ts.map +1 -0
- package/dist/testing/auth-storage-contract.d.ts.map +1 -1
- package/dist/testing/execution-storage-contract.d.ts.map +1 -1
- package/dist/testing/index.d.ts +2 -0
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +4493 -3225
- package/dist/testing/index.js.map +14 -12
- package/dist/testing/lake-merge-storage-contract.d.ts.map +1 -1
- package/dist/testing/lake-storage-contract.d.ts +2 -0
- package/dist/testing/lake-storage-contract.d.ts.map +1 -1
- package/dist/testing/ontology-storage-contract.d.ts.map +1 -1
- package/dist/testing/share-grant-storage-contract.d.ts.map +1 -1
- package/dist/webhooks/internal.js +28 -27
- package/dist/webhooks/internal.js.map +2 -2
- package/dist/workers/index.js +2 -2
- package/dist/workflows/builders.d.ts.map +1 -1
- package/dist/workflows/index.js +57 -51
- package/dist/workflows/index.js.map +1 -1
- package/dist/workflows/types.d.ts +9 -0
- package/dist/workflows/types.d.ts.map +1 -1
- package/dist/workflows/validation.d.ts +7 -0
- package/dist/workflows/validation.d.ts.map +1 -1
- package/package.json +32 -2
- package/src/actions/execution.ts +18 -13
- package/src/actions/request.ts +18 -3
- package/src/actions/run-authorization.ts +23 -0
- package/src/activity/README.md +155 -0
- package/src/activity/connection.ts +217 -0
- package/src/activity/device.ts +41 -0
- package/src/activity/execution.ts +210 -0
- package/src/activity/service.ts +274 -0
- package/src/activity/shares.ts +62 -0
- package/src/activity/timeline.ts +424 -0
- package/src/agents/index.ts +8 -3
- package/src/agents/request.ts +5 -0
- package/src/agents/skills.ts +6 -0
- package/src/agents/types.ts +8 -8
- package/src/agents/validation.ts +2 -0
- package/src/artifacts/address.ts +132 -0
- package/src/artifacts/csv.ts +108 -0
- package/src/artifacts/errors.ts +21 -0
- package/src/artifacts/execution.ts +153 -0
- package/src/artifacts/frames/assets.ts +88 -0
- package/src/artifacts/frames/grants.ts +124 -0
- package/src/artifacts/frames/index.ts +15 -0
- package/src/artifacts/frames/kit.ts +392 -0
- package/src/artifacts/frames/probe.ts +309 -0
- package/src/artifacts/frames/protocol.ts +174 -0
- package/src/artifacts/frames/runtime.ts +213 -0
- package/src/artifacts/html.ts +25 -0
- package/src/artifacts/ids.ts +18 -0
- package/src/artifacts/index.ts +61 -0
- package/src/artifacts/kinds.ts +8 -0
- package/src/artifacts/limits.ts +27 -0
- package/src/artifacts/outline.ts +62 -0
- package/src/artifacts/publish/files.ts +87 -0
- package/src/artifacts/publish/index.ts +12 -0
- package/src/artifacts/publish/publish.ts +250 -0
- package/src/artifacts/publish/references.ts +130 -0
- package/src/artifacts/publish/validate/document.ts +114 -0
- package/src/artifacts/publish/validate/file.ts +19 -0
- package/src/artifacts/publish/validate/sheet.ts +251 -0
- package/src/artifacts/publish/validate/slides.ts +134 -0
- package/src/artifacts/references.ts +11 -0
- package/src/artifacts/resolve.ts +97 -0
- package/src/artifacts/theme.ts +116 -0
- package/src/artifacts/warnings.ts +10 -0
- package/src/artifacts/workbook.ts +315 -0
- package/src/auth/cookies.ts +3 -20
- package/src/auth/index.ts +0 -6
- package/src/auth/runtime.ts +59 -76
- package/src/auth/session-cache.ts +2 -9
- package/src/auth/types.ts +4 -8
- package/src/auth/validation.ts +0 -2
- package/src/authorization/decision.ts +13 -23
- package/src/authorization/grant-kinds.ts +33 -28
- package/src/authorization/index.ts +0 -1
- package/src/authorization/resolve.ts +10 -6
- package/src/blob-storage/internal.ts +1 -1
- package/src/blob-storage/media-type.ts +69 -0
- package/src/datasets/builders.ts +66 -2
- package/src/datasets/column-index.ts +19 -0
- package/src/datasets/execution.ts +23 -9
- package/src/deploy/services.ts +0 -1
- package/src/deploy/types.ts +1 -2
- package/src/deploy/validation.ts +3 -1
- package/src/errors/internal.ts +1 -0
- package/src/events/execution.ts +134 -21
- package/src/execution/authorization.ts +11 -5
- package/src/execution/authorized-object-reader.ts +270 -256
- package/src/execution/object-reader-clearance.ts +91 -0
- package/src/execution/object-reader-ontology.ts +63 -0
- package/src/execution/object-reader-security.ts +146 -0
- package/src/http/api-routes.ts +125 -0
- package/src/index.ts +72 -17
- package/src/lake-storage/in-memory.ts +26 -3
- package/src/lake-storage/index.ts +13 -1
- package/src/lake-storage/lineage.ts +385 -0
- package/src/lake-storage/sql-transforms.ts +45 -0
- package/src/lake-storage/types.ts +59 -1
- package/src/lake-storage/version-inputs.ts +35 -6
- package/src/maintenance/ontology-maintenance.ts +15 -0
- package/src/models/execution/embedding.ts +6 -6
- package/src/objects/clearance-redaction.ts +138 -0
- package/src/objects/link/authorization.ts +27 -7
- package/src/objects/link/remove.ts +2 -2
- package/src/objects/link/upsert-batch.ts +7 -5
- package/src/objects/link/upsert.ts +2 -2
- package/src/objects/object/delete.ts +2 -0
- package/src/objects/object/upsert-batch.ts +2 -4
- package/src/objects/object/upsert.ts +2 -3
- package/src/objects/property-clearance.ts +171 -152
- package/src/objects/query/clearance-admission.ts +112 -0
- package/src/objects/query/link-query-clearance.ts +73 -0
- package/src/objects/vectors/README.md +4 -0
- package/src/objects/vectors/handle.ts +11 -2
- package/src/objects/vectors/indexing-generate.ts +2 -2
- package/src/objects/vectors/profile.ts +5 -0
- package/src/ontology/builders.ts +12 -1
- package/src/ontology/docs-markdown.ts +1 -1
- package/src/pipelines/index.ts +2 -0
- package/src/pipelines/lineage.ts +45 -0
- package/src/projections/internal.ts +2 -2
- package/src/runtime/create.ts +4 -0
- package/src/runtime/host.ts +55 -0
- package/src/runtime/internal.ts +2 -0
- package/src/runtime/ontology-mutations.ts +19 -4
- package/src/runtime/resolve-definitions.ts +66 -3
- package/src/runtime/sixb.ts +18 -1
- package/src/sandboxes/README.md +29 -7
- package/src/sandboxes/auth.ts +16 -0
- package/src/sandboxes/config.ts +2 -7
- package/src/sandboxes/configuration.ts +61 -7
- package/src/sandboxes/index.ts +1 -0
- package/src/sandboxes/sandbox.ts +27 -5
- package/src/security/applied-markings-contribution.ts +277 -0
- package/src/security/applied-markings-host.ts +41 -0
- package/src/security/applied-markings-snapshot.ts +235 -0
- package/src/security/applied-markings.ts +405 -0
- package/src/security/builders.ts +7 -2
- package/src/security/dataset-version-markings.ts +163 -0
- package/src/security/every.ts +0 -4
- package/src/security/grants.ts +42 -27
- package/src/security/index.ts +3 -3
- package/src/security/internal.ts +18 -0
- package/src/security/marking-propagation.ts +255 -0
- package/src/security/marking-sets.ts +42 -0
- package/src/security/markings.ts +29 -178
- package/src/security/membership-policies.ts +3 -1
- package/src/security/pipeline-markings.ts +175 -0
- package/src/security/project.ts +8 -0
- package/src/security/projection-markings.ts +421 -0
- package/src/security/public.ts +10 -0
- package/src/security/redactions.ts +7 -2
- package/src/security/registry.ts +0 -8
- package/src/security/types.ts +38 -26
- package/src/security/validation.ts +28 -19
- package/src/storage/action-runs/in-memory.ts +18 -0
- package/src/storage/action-runs/types.ts +8 -0
- package/src/storage/activity/in-memory.ts +374 -0
- package/src/storage/activity/index.ts +27 -0
- package/src/storage/activity/policy.ts +430 -0
- package/src/storage/activity/types.ts +211 -0
- package/src/storage/agents/in-memory.ts +10 -0
- package/src/storage/agents/provider.ts +2 -13
- package/src/storage/agents/types.ts +10 -17
- package/src/storage/artifacts/errors.ts +16 -0
- package/src/storage/artifacts/in-memory.ts +240 -0
- package/src/storage/artifacts/index.ts +30 -0
- package/src/storage/artifacts/record.ts +200 -0
- package/src/storage/artifacts/types.ts +209 -0
- package/src/storage/auth/in-memory/auth-storage.ts +0 -18
- package/src/storage/auth/in-memory/magic-links.ts +0 -3
- package/src/storage/auth/in-memory/oidc-attempts.ts +0 -3
- package/src/storage/auth/in-memory/sessions.ts +22 -25
- package/src/storage/auth/in-memory/shared.ts +1 -10
- package/src/storage/auth/index.ts +2 -0
- package/src/storage/auth/types.ts +20 -18
- package/src/storage/executions/in-memory.ts +61 -1
- package/src/storage/executions/index.ts +3 -0
- package/src/storage/executions/provider.ts +12 -0
- package/src/storage/executions/types.ts +30 -0
- package/src/storage/in-memory/index.ts +16 -0
- package/src/storage/index.ts +63 -0
- package/src/storage/internal.ts +30 -0
- package/src/storage/ontology/in-memory/sources.ts +23 -0
- package/src/storage/ontology/index.ts +2 -0
- package/src/storage/ontology/sources.ts +17 -0
- package/src/storage/share-grants/in-memory.ts +8 -0
- package/src/storage/share-grants/index.ts +1 -0
- package/src/storage/share-grants/types.ts +8 -0
- package/src/storage/types.ts +4 -0
- package/src/storage/workflow-runs/in-memory.ts +16 -0
- package/src/storage/workflow-runs/types.ts +5 -0
- package/src/testing/action-run-storage-contract.ts +25 -0
- package/src/testing/activity-storage-contract.ts +840 -0
- package/src/testing/agent-storage-contract.ts +22 -21
- package/src/testing/artifact-storage-contract.ts +517 -0
- package/src/testing/auth-storage-contract.ts +61 -107
- package/src/testing/execution-storage-contract.ts +147 -3
- package/src/testing/index.ts +9 -0
- package/src/testing/lake-merge-storage-contract.ts +38 -0
- package/src/testing/lake-storage-contract.ts +247 -2
- package/src/testing/materializer-storage-contract.ts +1 -0
- package/src/testing/ontology-storage-contract.ts +57 -2
- package/src/testing/share-grant-storage-contract.ts +15 -0
- package/src/workflows/builders.ts +14 -0
- package/src/workflows/types.ts +9 -0
- package/src/workflows/validation.ts +72 -0
- package/dist/auth/audience.d.ts +0 -8
- package/dist/auth/audience.d.ts.map +0 -1
- package/dist/authorization/application-access.d.ts +0 -18
- package/dist/authorization/application-access.d.ts.map +0 -1
- package/dist/chunk-1f7wpmyp.js.map +0 -14
- package/dist/chunk-1k89ecfr.js +0 -85
- package/dist/chunk-1k89ecfr.js.map +0 -10
- package/dist/chunk-2jntasmh.js.map +0 -13
- package/dist/chunk-3gnrh4ve.js.map +0 -40
- package/dist/chunk-85yvv5n0.js.map +0 -12
- package/dist/chunk-9gyp8hg1.js +0 -363
- package/dist/chunk-9gyp8hg1.js.map +0 -14
- package/dist/chunk-dnmadg9k.js.map +0 -15
- package/dist/chunk-enpsx8k5.js.map +0 -10
- package/dist/chunk-hkc3jct7.js.map +0 -10
- package/dist/chunk-kyzq4wy9.js.map +0 -18
- package/dist/chunk-s16apyk9.js +0 -256
- package/dist/chunk-s16apyk9.js.map +0 -16
- package/dist/chunk-s54c868q.js.map +0 -12
- package/dist/chunk-tw03bsmb.js.map +0 -11
- package/dist/chunk-wwdfe68s.js +0 -128
- package/dist/chunk-wwdfe68s.js.map +0 -11
- package/dist/chunk-xt1zt7gv.js.map +0 -13
- package/dist/chunk-y7rqfrgg.js.map +0 -24
- package/dist/security/applications.d.ts +0 -15
- package/dist/security/applications.d.ts.map +0 -1
- package/src/auth/audience.ts +0 -28
- package/src/authorization/application-access.ts +0 -34
- package/src/security/applications.ts +0 -11
- /package/dist/{chunk-t6vq7bff.js.map → chunk-0bphap9y.js.map} +0 -0
- /package/dist/{chunk-7mbzgd9m.js.map → chunk-1cc1xaf3.js.map} +0 -0
- /package/dist/{chunk-6gmfggss.js.map → chunk-431pyp2c.js.map} +0 -0
- /package/dist/{chunk-c85m1hyj.js.map → chunk-447a5c0p.js.map} +0 -0
- /package/dist/{chunk-80mc0971.js.map → chunk-561r0yc9.js.map} +0 -0
- /package/dist/{chunk-5e43w60z.js.map → chunk-5948n82c.js.map} +0 -0
- /package/dist/{chunk-yzwja0mj.js.map → chunk-5hx48dnn.js.map} +0 -0
- /package/dist/{chunk-q1vkr2ys.js.map → chunk-c1rxbz5y.js.map} +0 -0
- /package/dist/{chunk-gc4ntf7d.js.map → chunk-cwdzcv37.js.map} +0 -0
- /package/dist/{chunk-fa02jy15.js.map → chunk-cy4mbddw.js.map} +0 -0
- /package/dist/{chunk-7kg3k1m9.js.map → chunk-d09e3rax.js.map} +0 -0
- /package/dist/{chunk-rhg02hxq.js.map → chunk-d7dnxdep.js.map} +0 -0
- /package/dist/{chunk-wz0xs816.js.map → chunk-ky3j490c.js.map} +0 -0
- /package/dist/{chunk-vyf9kfqf.js.map → chunk-q7gn29y3.js.map} +0 -0
- /package/dist/{chunk-v9xd5wzd.js.map → chunk-s7jg7pmn.js.map} +0 -0
- /package/dist/{chunk-nre82s12.js.map → chunk-vf57cr4t.js.map} +0 -0
- /package/dist/{chunk-9ybhtmg4.js.map → chunk-vvxtn22d.js.map} +0 -0
- /package/dist/{chunk-7t429e3f.js.map → chunk-xvsc5m8n.js.map} +0 -0
- /package/dist/{chunk-kg5j6fct.js.map → chunk-y5tah2kf.js.map} +0 -0
- /package/dist/{chunk-52bk93x8.js.map → chunk-z58tm0hm.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/ontology/docs-markdown.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"/**\n * Markdown reference docs for the object types one reader can see, rendered from that reader's\n * authorized ontology view. Output is deterministic: the same view renders the same bytes.\n */\n\nimport type { ActionDescriptor, ActionParamDescriptor } from \"../actions/descriptor\"\nimport type { AgentProjectFile } from \"../agents/skills\"\nimport type { OntologyDoc, OntologyDocsCatalog } from \"./docs\"\nimport {\n type PropertyQueryOperator,\n resolvePropertyQueryCapabilities,\n resolveQuerySchema,\n} from \"./query-capabilities\"\nimport type { ObjectLink, ObjectType, PrimitiveSchema, Property, Schema, ValueType } from \"./types\"\n\nexport interface RenderOntologyDocsInput {\n readonly catalog: OntologyDocsCatalog\n /** The object types the reader can see, as its authorized ontology view lists them. */\n readonly objectTypes: readonly ObjectType[]\n readonly valueTypesById: ReadonlyMap<string, ValueType>\n /** The actions the reader can request on objects of this type. */\n readonly actionsFor: (objectType: ObjectType) => readonly ActionDescriptor[]\n /**\n * Marked properties the reader is not cleared for. Like the ontology API, docs still list them,\n * flagged, so the agent can say the information exists; their values cannot be read or queried.\n */\n readonly restrictedPropertyIds?: (objectTypeId: string) => ReadonlySet<string>\n}\n\nexport interface OntologyDocsIndexEntry {\n /** POSIX path relative to the ontology directory; a scripts directory ends with `/`. */\n readonly path: string\n readonly summary: string\n}\n\nexport interface RenderedOntologyDocs {\n /** Files to install, by POSIX path relative to the ontology directory. */\n readonly files: readonly AgentProjectFile[]\n /** One entry per doc and per scripts directory, sorted by path. */\n readonly index: readonly OntologyDocsIndexEntry[]\n}\n\nconst MAX_SUMMARY_LENGTH = 120\nconst EXACT: readonly PropertyQueryOperator[] = [\"eq\", \"neq\", \"in\", \"exists\"]\nconst RANGE: readonly PropertyQueryOperator[] = [\"lt\", \"lte\", \"gt\", \"gte\"]\nconst ORDERED_SCHEMAS: ReadonlySet<PrimitiveSchema> = new Set([\n \"integer\",\n \"double\",\n \"decimal\",\n \"date\",\n \"timestamp\",\n])\n/** A period that ends \"e.g.\" or \"i.e.\" does not end the sentence. */\nconst ABBREVIATION_END_RE = /\\b(?:e\\.g|i\\.e|etc|vs|cf)\\.$/i\n\n/** Render one doc per visible type, then the team's other docs and scripts. */\nexport function renderOntologyDocs(input: RenderOntologyDocsInput): RenderedOntologyDocs {\n const objectTypes = input.objectTypes\n const objectTypesById = new Map(objectTypes.map((objectType) => [objectType.id, objectType]))\n const docs = [\n ...objectTypes.map((objectType) => ({\n path: input.catalog.docPathFor(objectType.id),\n contents: renderObjectTypeDoc({\n ...input,\n objectType,\n objectTypes,\n objectTypesById,\n restricted: input.restrictedPropertyIds?.(objectType.id) ?? new Set(),\n }),\n summary: typeSummary(objectType),\n })),\n ...input.catalog.listDocs().map((doc) => ({\n path: doc.path,\n contents: doc.contents,\n summary: firstHeading(doc.contents) ?? \"\",\n })),\n ]\n const scripts = input.catalog.listScripts()\n const scriptDirectories = [...new Set(scripts.map((script) => scriptsDirectoryOf(script.path)))]\n\n return Object.freeze({\n files: Object.freeze(\n [...docs.map(({ path, contents }) => ({ path, contents })), ...scripts].sort(byPath)\n ),\n index: Object.freeze(\n [\n ...docs.map(({ path, summary }) => ({ path, summary })),\n ...scriptDirectories.map((path) => ({ path, summary: \"Scripts\" })),\n ].sort(byPath)\n ),\n })\n}\n\nfunction renderObjectTypeDoc(\n input: RenderOntologyDocsInput & {\n readonly objectType: ObjectType\n readonly objectTypes: readonly ObjectType[]\n readonly objectTypesById: ReadonlyMap<string, ObjectType>\n readonly restricted: ReadonlySet<string>\n }\n): string {\n const { objectType, restricted } = input\n const sections = [\n objectType.name === objectType.id\n ? `# ${objectType.id}`\n : `# ${objectType.id} — ${oneLine(objectType.name)}`,\n objectType.description?.trim(),\n objectType.extends === undefined ? undefined : `Extends \\`${objectType.extends}\\`.`,\n renderProperties(objectType, input.valueTypesById, restricted),\n renderVectorProfiles(objectType, restricted),\n renderLinks(objectType, input.objectTypesById, input.catalog),\n renderIncomingLinks(objectType, input.objectTypes, input.catalog),\n renderActions(input.actionsFor(objectType), input.valueTypesById),\n renderNotes(input.catalog.notesFor(objectType.id)),\n ]\n return `${sections.filter((section) => section !== undefined && section !== \"\").join(\"\\n\\n\")}\\n`\n}\n\nfunction renderProperties(\n objectType: ObjectType,\n valueTypesById: ReadonlyMap<string, ValueType>,\n restricted: ReadonlySet<string>\n): string | undefined {\n if (objectType.properties.length === 0) return undefined\n const anyRestricted = objectType.properties.some((property) => restricted.has(property.id))\n return [\n \"## Properties\",\n \"\",\n ...(anyRestricted\n ? [\"Restricted properties: this user is not cleared to read or query their values.\", \"\"]\n : []),\n table(\n [\"Property\", \"Type\", \"Query\", \"Description\"],\n objectType.properties.map((property) => [\n code(property.id),\n withFlags(schemaLabel(property.schema, valueTypesById), [\n ...(property.primary ? [\"primary key\"] : []),\n ...(property.required && !property.primary ? [\"required\"] : []),\n ...(property.nullable ? [\"nullable\"] : []),\n ...(property.mode === \"telemetry\" ? [\"telemetry\"] : []),\n ...(restricted.has(property.id) ? [\"restricted\"] : []),\n ]),\n restricted.has(property.id) ? \"—\" : queryLabel(property, valueTypesById),\n property.description ?? \"\",\n ])\n ),\n ].join(\"\\n\")\n}\n\nfunction queryLabel(property: Property, valueTypesById: ReadonlyMap<string, ValueType>): string {\n const capabilities = resolvePropertyQueryCapabilities(property, valueTypesById)\n const schema = resolveQuerySchema(property.schema, valueTypesById)\n const meaningful = schema === undefined ? new Set() : meaningfulOperators(schema)\n const operators = capabilities.operators.filter((operator) => meaningful.has(operator))\n const labels = [\n ...(operators.length === 0 ? [] : [`filter: ${operators.join(\", \")}`]),\n ...(capabilities.sortable ? [\"sort\"] : []),\n ...(capabilities.text ? [\"text\"] : []),\n ...(capabilities.facet ? [\"facet\"] : []),\n ]\n return labels.length === 0 ? \"—\" : labels.join(\"; \")\n}\n\n/**\n * The predicates worth suggesting for a schema: the engine also accepts ranges over strings and\n * enums, and substring matches, which rarely answer a question about this kind of value.\n */\nfunction meaningfulOperators(schema: Schema): ReadonlySet<PropertyQueryOperator> {\n if (typeof schema === \"string\") {\n return new Set(ORDERED_SCHEMAS.has(schema) ? [...EXACT, ...RANGE] : EXACT)\n }\n if (schema.type === \"enum\") return new Set(EXACT)\n if (schema.type === \"array\" || schema.type === \"map\") return new Set([\"contains\"])\n return new Set()\n}\n\nfunction renderVectorProfiles(\n objectType: ObjectType,\n restricted: ReadonlySet<string>\n): string | undefined {\n // Searching a profile admits each of its sources like a filter would: one restricted source\n // makes the search fail for this user, so the profile is left out.\n const profiles = Object.entries(objectType.search?.vectors ?? {}).filter(([, profile]) =>\n profile.source.every((propertyId) => !restricted.has(propertyId))\n )\n if (profiles.length === 0) return undefined\n return [\n \"## Vector search profiles\",\n \"\",\n table(\n [\"Profile\", \"Sources\"],\n profiles\n .sort(([left], [right]) => left.localeCompare(right))\n .map(([name, profile]) => [code(name), profile.source.map(code).join(\", \")])\n ),\n ].join(\"\\n\")\n}\n\nfunction renderLinks(\n objectType: ObjectType,\n objectTypesById: ReadonlyMap<string, ObjectType>,\n catalog: OntologyDocsCatalog\n): string | undefined {\n if (objectType.links.length === 0) return undefined\n return [\n \"## Links\",\n \"\",\n table(\n [\"Link\", \"Target\", \"Cardinality\", \"Description\", \"Target description\"],\n objectType.links.map((link) => {\n // A reader's view expands `*` into every type it can see; the doc keeps the declaration.\n const targets = catalog.isWildcardLink(objectType.id, link.id) ? [\"*\"] : linkTargets(link)\n return [\n code(link.id),\n targets.map(code).join(\", \"),\n link.cardinality ?? \"many\",\n link.description ?? \"\",\n targets\n .map((targetId) => firstSentence(objectTypesById.get(targetId)?.description))\n .filter((description) => description !== undefined)\n .join(\" \"),\n ]\n })\n ),\n ].join(\"\\n\")\n}\n\nfunction renderIncomingLinks(\n objectType: ObjectType,\n objectTypes: readonly ObjectType[],\n catalog: OntologyDocsCatalog\n): string | undefined {\n const incoming = objectTypes.flatMap((source) =>\n source.links\n .filter(\n (link) =>\n !catalog.isWildcardLink(source.id, link.id) && linkTargets(link).includes(objectType.id)\n )\n .map((link) => [\n code(source.id),\n code(link.id),\n link.cardinality ?? \"many\",\n link.description ?? \"\",\n ])\n )\n if (incoming.length === 0) return undefined\n return [\n \"## Incoming links\",\n \"\",\n \"Declared on other types; traverse them with direction `incoming`.\",\n \"\",\n table([\"From\", \"Link\", \"Cardinality\", \"Description\"], incoming),\n ].join(\"\\n\")\n}\n\nfunction renderActions(\n actions: readonly ActionDescriptor[],\n valueTypesById: ReadonlyMap<string, ValueType>\n): string | undefined {\n if (actions.length === 0) return undefined\n return [\n \"## Actions\",\n ...[...actions]\n .sort((left, right) => left.id.localeCompare(right.id))\n .map((action) => {\n const params = Object.entries(action.params)\n return [\n `### ${code(action.id)}`,\n ...(action.description?.trim() ? [action.description.trim()] : []),\n params.length === 0\n ? \"No parameters.\"\n : table(\n [\"Param\", \"Type\", \"Required\", \"Description\"],\n params.map(([id, param]) => [\n code(id),\n paramTypeLabel(param, valueTypesById),\n param.required ? \"yes\" : \"no\",\n param.description ?? \"\",\n ])\n ),\n ].join(\"\\n\\n\")\n }),\n ].join(\"\\n\\n\")\n}\n\nfunction renderNotes(notes: readonly OntologyDoc[]): string | undefined {\n const contents = notes.map((note) => note.contents.trim()).filter(Boolean)\n return contents.length === 0 ? undefined : `## Project notes\\n\\n${contents.join(\"\\n\\n\")}`\n}\n\nfunction paramTypeLabel(\n param: ActionParamDescriptor,\n valueTypesById: ReadonlyMap<string, ValueType>\n): string {\n return withFlags(schemaLabel(param.schema, valueTypesById), param.nullable ? [\"nullable\"] : [])\n}\n\nfunction withFlags(label: string, flags: readonly string[]): string {\n return flags.length === 0 ? label : `${label} (${flags.join(\", \")})`\n}\n\ntype DescribedSchema = ActionParamDescriptor[\"schema\"]\n\nfunction schemaLabel(\n schema: DescribedSchema,\n valueTypesById: ReadonlyMap<string, ValueType>,\n seen: ReadonlySet<string> = new Set()\n): string {\n if (typeof schema === \"string\") return schema\n switch (schema.type) {\n case \"enum\":\n return `one of ${schema.values.map((value) => code(String(value))).join(\", \")}`\n case \"array\":\n return `array of ${schemaLabel(schema.items, valueTypesById, seen)}`\n case \"map\":\n return `map of string to ${schemaLabel(schema.valueSchema, valueTypesById, seen)}`\n case \"object\":\n return `object { ${Object.entries(schema.properties)\n .map(\n ([id, field]) =>\n `${id}${field.required ? \"\" : \"?\"}: ${schemaLabel(field.schema, valueTypesById, seen)}`\n )\n .join(\", \")} }`\n case \"objectRef\":\n return `reference to ${code(schema.objectTypeId)}`\n case \"valueTypeRef\": {\n const resolved = valueTypesById.get(schema.valueTypeId)?.schema\n if (resolved === undefined || seen.has(schema.valueTypeId)) return schema.valueTypeId\n const nested = new Set(seen).add(schema.valueTypeId)\n return `${schema.valueTypeId} (${schemaLabel(resolved, valueTypesById, nested)})`\n }\n }\n}\n\nfunction linkTargets(link: ObjectLink): readonly string[] {\n // A link to any type (`*`) is not about this one; it has no incoming entry.\n return (\n Array.isArray(link.targetObjectTypeId) ? link.targetObjectTypeId : [link.targetObjectTypeId]\n ).filter((targetId) => targetId !== \"*\")\n}\n\nfunction scriptsDirectoryOf(path: string): string {\n const segments = path.split(\"/\")\n return `${segments.slice(0, segments.indexOf(\"scripts\") + 1).join(\"/\")}/`\n}\n\nfunction typeSummary(objectType: ObjectType): string {\n const description = firstSentence(objectType.description)\n if (description !== undefined) return `${objectType.id}: ${description}`\n return objectType.name === objectType.id ? objectType.id : `${objectType.id}: ${objectType.name}`\n}\n\nfunction firstSentence(text: string | undefined): string | undefined {\n const normalized = text?.replaceAll(/\\s+/g, \" \").trim()\n if (!normalized) return undefined\n for (const match of normalized.matchAll(/[.!?](?=\\s|$)/g)) {\n const sentence = normalized.slice(0, match.index + 1)\n if (!ABBREVIATION_END_RE.test(sentence)) return truncate(sentence)\n }\n return truncate(normalized)\n}\n\nfunction firstHeading(markdown: string): string | undefined {\n const heading = /^#{1,6}\\s+(.+?)\\s*#*\\s*$/m.exec(markdown)?.[1]\n return heading === undefined ? undefined : truncate(heading)\n}\n\nfunction truncate(text: string): string {\n return text.length <= MAX_SUMMARY_LENGTH ? text : `${text.slice(0, MAX_SUMMARY_LENGTH - 1)}…`\n}\n\nfunction table(headers: readonly string[], rows: readonly (readonly string[])[]): string {\n return [\n `| ${headers.join(\" | \")} |`,\n `| ${headers.map(() => \"---\").join(\" | \")} |`,\n ...rows.map((row) => `| ${row.map(cell).join(\" | \")} |`),\n ].join(\"\\n\")\n}\n\nfunction cell(text: string): string {\n return oneLine(text).replaceAll(\"|\", \"\\\\|\")\n}\n\nfunction oneLine(text: string): string {\n return text.replaceAll(/\\s+/g, \" \").trim()\n}\n\nfunction code(text: string): string {\n return `\\`${text}\\``\n}\n\nfunction byPath(left: { readonly path: string }, right: { readonly path: string }): number {\n return left.path < right.path ? -1 : left.path > right.path ? 1 : 0\n}\n"
|
|
5
|
+
"/**\n * Markdown reference docs for the object types one reader can see, rendered from that reader's\n * authorized ontology view. Output is deterministic: the same view renders the same bytes.\n */\n\nimport type { ActionDescriptor, ActionParamDescriptor } from \"../actions/descriptor\"\nimport type { AgentProjectFile } from \"../agents/skills\"\nimport type { OntologyDoc, OntologyDocsCatalog } from \"./docs\"\nimport {\n type PropertyQueryOperator,\n resolvePropertyQueryCapabilities,\n resolveQuerySchema,\n} from \"./query-capabilities\"\nimport type { ObjectLink, ObjectType, PrimitiveSchema, Property, Schema, ValueType } from \"./types\"\n\nexport interface RenderOntologyDocsInput {\n readonly catalog: OntologyDocsCatalog\n /** The object types the reader can see, as its authorized ontology view lists them. */\n readonly objectTypes: readonly ObjectType[]\n readonly valueTypesById: ReadonlyMap<string, ValueType>\n /** The actions the reader can request on objects of this type. */\n readonly actionsFor: (objectType: ObjectType) => readonly ActionDescriptor[]\n /**\n * Marked properties the reader is not cleared for. Like the ontology API, docs still list them,\n * flagged, so the agent can say the information exists; their values cannot be read or queried.\n */\n readonly restrictedPropertyIds?: (objectTypeId: string) => ReadonlySet<string> | undefined\n}\n\nexport interface OntologyDocsIndexEntry {\n /** POSIX path relative to the ontology directory; a scripts directory ends with `/`. */\n readonly path: string\n readonly summary: string\n}\n\nexport interface RenderedOntologyDocs {\n /** Files to install, by POSIX path relative to the ontology directory. */\n readonly files: readonly AgentProjectFile[]\n /** One entry per doc and per scripts directory, sorted by path. */\n readonly index: readonly OntologyDocsIndexEntry[]\n}\n\nconst MAX_SUMMARY_LENGTH = 120\nconst EXACT: readonly PropertyQueryOperator[] = [\"eq\", \"neq\", \"in\", \"exists\"]\nconst RANGE: readonly PropertyQueryOperator[] = [\"lt\", \"lte\", \"gt\", \"gte\"]\nconst ORDERED_SCHEMAS: ReadonlySet<PrimitiveSchema> = new Set([\n \"integer\",\n \"double\",\n \"decimal\",\n \"date\",\n \"timestamp\",\n])\n/** A period that ends \"e.g.\" or \"i.e.\" does not end the sentence. */\nconst ABBREVIATION_END_RE = /\\b(?:e\\.g|i\\.e|etc|vs|cf)\\.$/i\n\n/** Render one doc per visible type, then the team's other docs and scripts. */\nexport function renderOntologyDocs(input: RenderOntologyDocsInput): RenderedOntologyDocs {\n const objectTypes = input.objectTypes\n const objectTypesById = new Map(objectTypes.map((objectType) => [objectType.id, objectType]))\n const docs = [\n ...objectTypes.map((objectType) => ({\n path: input.catalog.docPathFor(objectType.id),\n contents: renderObjectTypeDoc({\n ...input,\n objectType,\n objectTypes,\n objectTypesById,\n restricted: input.restrictedPropertyIds?.(objectType.id) ?? new Set(),\n }),\n summary: typeSummary(objectType),\n })),\n ...input.catalog.listDocs().map((doc) => ({\n path: doc.path,\n contents: doc.contents,\n summary: firstHeading(doc.contents) ?? \"\",\n })),\n ]\n const scripts = input.catalog.listScripts()\n const scriptDirectories = [...new Set(scripts.map((script) => scriptsDirectoryOf(script.path)))]\n\n return Object.freeze({\n files: Object.freeze(\n [...docs.map(({ path, contents }) => ({ path, contents })), ...scripts].sort(byPath)\n ),\n index: Object.freeze(\n [\n ...docs.map(({ path, summary }) => ({ path, summary })),\n ...scriptDirectories.map((path) => ({ path, summary: \"Scripts\" })),\n ].sort(byPath)\n ),\n })\n}\n\nfunction renderObjectTypeDoc(\n input: RenderOntologyDocsInput & {\n readonly objectType: ObjectType\n readonly objectTypes: readonly ObjectType[]\n readonly objectTypesById: ReadonlyMap<string, ObjectType>\n readonly restricted: ReadonlySet<string>\n }\n): string {\n const { objectType, restricted } = input\n const sections = [\n objectType.name === objectType.id\n ? `# ${objectType.id}`\n : `# ${objectType.id} — ${oneLine(objectType.name)}`,\n objectType.description?.trim(),\n objectType.extends === undefined ? undefined : `Extends \\`${objectType.extends}\\`.`,\n renderProperties(objectType, input.valueTypesById, restricted),\n renderVectorProfiles(objectType, restricted),\n renderLinks(objectType, input.objectTypesById, input.catalog),\n renderIncomingLinks(objectType, input.objectTypes, input.catalog),\n renderActions(input.actionsFor(objectType), input.valueTypesById),\n renderNotes(input.catalog.notesFor(objectType.id)),\n ]\n return `${sections.filter((section) => section !== undefined && section !== \"\").join(\"\\n\\n\")}\\n`\n}\n\nfunction renderProperties(\n objectType: ObjectType,\n valueTypesById: ReadonlyMap<string, ValueType>,\n restricted: ReadonlySet<string>\n): string | undefined {\n if (objectType.properties.length === 0) return undefined\n const anyRestricted = objectType.properties.some((property) => restricted.has(property.id))\n return [\n \"## Properties\",\n \"\",\n ...(anyRestricted\n ? [\"Restricted properties: this user is not cleared to read or query their values.\", \"\"]\n : []),\n table(\n [\"Property\", \"Type\", \"Query\", \"Description\"],\n objectType.properties.map((property) => [\n code(property.id),\n withFlags(schemaLabel(property.schema, valueTypesById), [\n ...(property.primary ? [\"primary key\"] : []),\n ...(property.required && !property.primary ? [\"required\"] : []),\n ...(property.nullable ? [\"nullable\"] : []),\n ...(property.mode === \"telemetry\" ? [\"telemetry\"] : []),\n ...(restricted.has(property.id) ? [\"restricted\"] : []),\n ]),\n restricted.has(property.id) ? \"—\" : queryLabel(property, valueTypesById),\n property.description ?? \"\",\n ])\n ),\n ].join(\"\\n\")\n}\n\nfunction queryLabel(property: Property, valueTypesById: ReadonlyMap<string, ValueType>): string {\n const capabilities = resolvePropertyQueryCapabilities(property, valueTypesById)\n const schema = resolveQuerySchema(property.schema, valueTypesById)\n const meaningful = schema === undefined ? new Set() : meaningfulOperators(schema)\n const operators = capabilities.operators.filter((operator) => meaningful.has(operator))\n const labels = [\n ...(operators.length === 0 ? [] : [`filter: ${operators.join(\", \")}`]),\n ...(capabilities.sortable ? [\"sort\"] : []),\n ...(capabilities.text ? [\"text\"] : []),\n ...(capabilities.facet ? [\"facet\"] : []),\n ]\n return labels.length === 0 ? \"—\" : labels.join(\"; \")\n}\n\n/**\n * The predicates worth suggesting for a schema: the engine also accepts ranges over strings and\n * enums, and substring matches, which rarely answer a question about this kind of value.\n */\nfunction meaningfulOperators(schema: Schema): ReadonlySet<PropertyQueryOperator> {\n if (typeof schema === \"string\") {\n return new Set(ORDERED_SCHEMAS.has(schema) ? [...EXACT, ...RANGE] : EXACT)\n }\n if (schema.type === \"enum\") return new Set(EXACT)\n if (schema.type === \"array\" || schema.type === \"map\") return new Set([\"contains\"])\n return new Set()\n}\n\nfunction renderVectorProfiles(\n objectType: ObjectType,\n restricted: ReadonlySet<string>\n): string | undefined {\n // Searching a profile admits each of its sources like a filter would: one restricted source\n // makes the search fail for this user, so the profile is left out.\n const profiles = Object.entries(objectType.search?.vectors ?? {}).filter(([, profile]) =>\n profile.source.every((propertyId) => !restricted.has(propertyId))\n )\n if (profiles.length === 0) return undefined\n return [\n \"## Vector search profiles\",\n \"\",\n table(\n [\"Profile\", \"Sources\"],\n profiles\n .sort(([left], [right]) => left.localeCompare(right))\n .map(([name, profile]) => [code(name), profile.source.map(code).join(\", \")])\n ),\n ].join(\"\\n\")\n}\n\nfunction renderLinks(\n objectType: ObjectType,\n objectTypesById: ReadonlyMap<string, ObjectType>,\n catalog: OntologyDocsCatalog\n): string | undefined {\n if (objectType.links.length === 0) return undefined\n return [\n \"## Links\",\n \"\",\n table(\n [\"Link\", \"Target\", \"Cardinality\", \"Description\", \"Target description\"],\n objectType.links.map((link) => {\n // A reader's view expands `*` into every type it can see; the doc keeps the declaration.\n const targets = catalog.isWildcardLink(objectType.id, link.id) ? [\"*\"] : linkTargets(link)\n return [\n code(link.id),\n targets.map(code).join(\", \"),\n link.cardinality ?? \"many\",\n link.description ?? \"\",\n targets\n .map((targetId) => firstSentence(objectTypesById.get(targetId)?.description))\n .filter((description) => description !== undefined)\n .join(\" \"),\n ]\n })\n ),\n ].join(\"\\n\")\n}\n\nfunction renderIncomingLinks(\n objectType: ObjectType,\n objectTypes: readonly ObjectType[],\n catalog: OntologyDocsCatalog\n): string | undefined {\n const incoming = objectTypes.flatMap((source) =>\n source.links\n .filter(\n (link) =>\n !catalog.isWildcardLink(source.id, link.id) && linkTargets(link).includes(objectType.id)\n )\n .map((link) => [\n code(source.id),\n code(link.id),\n link.cardinality ?? \"many\",\n link.description ?? \"\",\n ])\n )\n if (incoming.length === 0) return undefined\n return [\n \"## Incoming links\",\n \"\",\n \"Declared on other types; traverse them with direction `incoming`.\",\n \"\",\n table([\"From\", \"Link\", \"Cardinality\", \"Description\"], incoming),\n ].join(\"\\n\")\n}\n\nfunction renderActions(\n actions: readonly ActionDescriptor[],\n valueTypesById: ReadonlyMap<string, ValueType>\n): string | undefined {\n if (actions.length === 0) return undefined\n return [\n \"## Actions\",\n ...[...actions]\n .sort((left, right) => left.id.localeCompare(right.id))\n .map((action) => {\n const params = Object.entries(action.params)\n return [\n `### ${code(action.id)}`,\n ...(action.description?.trim() ? [action.description.trim()] : []),\n params.length === 0\n ? \"No parameters.\"\n : table(\n [\"Param\", \"Type\", \"Required\", \"Description\"],\n params.map(([id, param]) => [\n code(id),\n paramTypeLabel(param, valueTypesById),\n param.required ? \"yes\" : \"no\",\n param.description ?? \"\",\n ])\n ),\n ].join(\"\\n\\n\")\n }),\n ].join(\"\\n\\n\")\n}\n\nfunction renderNotes(notes: readonly OntologyDoc[]): string | undefined {\n const contents = notes.map((note) => note.contents.trim()).filter(Boolean)\n return contents.length === 0 ? undefined : `## Project notes\\n\\n${contents.join(\"\\n\\n\")}`\n}\n\nfunction paramTypeLabel(\n param: ActionParamDescriptor,\n valueTypesById: ReadonlyMap<string, ValueType>\n): string {\n return withFlags(schemaLabel(param.schema, valueTypesById), param.nullable ? [\"nullable\"] : [])\n}\n\nfunction withFlags(label: string, flags: readonly string[]): string {\n return flags.length === 0 ? label : `${label} (${flags.join(\", \")})`\n}\n\ntype DescribedSchema = ActionParamDescriptor[\"schema\"]\n\nfunction schemaLabel(\n schema: DescribedSchema,\n valueTypesById: ReadonlyMap<string, ValueType>,\n seen: ReadonlySet<string> = new Set()\n): string {\n if (typeof schema === \"string\") return schema\n switch (schema.type) {\n case \"enum\":\n return `one of ${schema.values.map((value) => code(String(value))).join(\", \")}`\n case \"array\":\n return `array of ${schemaLabel(schema.items, valueTypesById, seen)}`\n case \"map\":\n return `map of string to ${schemaLabel(schema.valueSchema, valueTypesById, seen)}`\n case \"object\":\n return `object { ${Object.entries(schema.properties)\n .map(\n ([id, field]) =>\n `${id}${field.required ? \"\" : \"?\"}: ${schemaLabel(field.schema, valueTypesById, seen)}`\n )\n .join(\", \")} }`\n case \"objectRef\":\n return `reference to ${code(schema.objectTypeId)}`\n case \"valueTypeRef\": {\n const resolved = valueTypesById.get(schema.valueTypeId)?.schema\n if (resolved === undefined || seen.has(schema.valueTypeId)) return schema.valueTypeId\n const nested = new Set(seen).add(schema.valueTypeId)\n return `${schema.valueTypeId} (${schemaLabel(resolved, valueTypesById, nested)})`\n }\n }\n}\n\nfunction linkTargets(link: ObjectLink): readonly string[] {\n // A link to any type (`*`) is not about this one; it has no incoming entry.\n return (\n Array.isArray(link.targetObjectTypeId) ? link.targetObjectTypeId : [link.targetObjectTypeId]\n ).filter((targetId) => targetId !== \"*\")\n}\n\nfunction scriptsDirectoryOf(path: string): string {\n const segments = path.split(\"/\")\n return `${segments.slice(0, segments.indexOf(\"scripts\") + 1).join(\"/\")}/`\n}\n\nfunction typeSummary(objectType: ObjectType): string {\n const description = firstSentence(objectType.description)\n if (description !== undefined) return `${objectType.id}: ${description}`\n return objectType.name === objectType.id ? objectType.id : `${objectType.id}: ${objectType.name}`\n}\n\nfunction firstSentence(text: string | undefined): string | undefined {\n const normalized = text?.replaceAll(/\\s+/g, \" \").trim()\n if (!normalized) return undefined\n for (const match of normalized.matchAll(/[.!?](?=\\s|$)/g)) {\n const sentence = normalized.slice(0, match.index + 1)\n if (!ABBREVIATION_END_RE.test(sentence)) return truncate(sentence)\n }\n return truncate(normalized)\n}\n\nfunction firstHeading(markdown: string): string | undefined {\n const heading = /^#{1,6}\\s+(.+?)\\s*#*\\s*$/m.exec(markdown)?.[1]\n return heading === undefined ? undefined : truncate(heading)\n}\n\nfunction truncate(text: string): string {\n return text.length <= MAX_SUMMARY_LENGTH ? text : `${text.slice(0, MAX_SUMMARY_LENGTH - 1)}…`\n}\n\nfunction table(headers: readonly string[], rows: readonly (readonly string[])[]): string {\n return [\n `| ${headers.join(\" | \")} |`,\n `| ${headers.map(() => \"---\").join(\" | \")} |`,\n ...rows.map((row) => `| ${row.map(cell).join(\" | \")} |`),\n ].join(\"\\n\")\n}\n\nfunction cell(text: string): string {\n return oneLine(text).replaceAll(\"|\", \"\\\\|\")\n}\n\nfunction oneLine(text: string): string {\n return text.replaceAll(/\\s+/g, \" \").trim()\n}\n\nfunction code(text: string): string {\n return `\\`${text}\\``\n}\n\nfunction byPath(left: { readonly path: string }, right: { readonly path: string }): number {\n return left.path < right.path ? -1 : left.path > right.path ? 1 : 0\n}\n"
|
|
6
6
|
],
|
|
7
7
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,IAAM,qBAAqB;AAC3B,IAAM,QAA0C,CAAC,MAAM,OAAO,MAAM,QAAQ;AAC5E,IAAM,QAA0C,CAAC,MAAM,OAAO,MAAM,KAAK;AACzE,IAAM,kBAAgD,IAAI,IAAI;AAAA,EAC5D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAED,IAAM,sBAAsB;AAGrB,SAAS,kBAAkB,CAAC,OAAsD;AAAA,EACvF,MAAM,cAAc,MAAM;AAAA,EAC1B,MAAM,kBAAkB,IAAI,IAAI,YAAY,IAAI,CAAC,eAAe,CAAC,WAAW,IAAI,UAAU,CAAC,CAAC;AAAA,EAC5F,MAAM,OAAO;AAAA,IACX,GAAG,YAAY,IAAI,CAAC,gBAAgB;AAAA,MAClC,MAAM,MAAM,QAAQ,WAAW,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K,UAAU,qBAAqB,OAAO,GAAG,KAAK,MAAM,GAAG,qBAAqB,CAAC;AAAA;AAG3F,SAAS,KAAK,CAAC,SAA4B,MAA8C;AAAA,EACvF,OAAO;AAAA,IACL,KAAK,QAAQ,KAAK,KAAK;AAAA,IACvB,KAAK,QAAQ,IAAI,MAAM,KAAK,EAAE,KAAK,KAAK;AAAA,IACxC,GAAG,KAAK,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,EAAE,KAAK,KAAK,KAAK;AAAA,EACzD,EAAE,KAAK;AAAA,CAAI;AAAA;AAGb,SAAS,IAAI,CAAC,MAAsB;AAAA,EAClC,OAAO,QAAQ,IAAI,EAAE,WAAW,KAAK,KAAK;AAAA;AAG5C,SAAS,OAAO,CAAC,MAAsB;AAAA,EACrC,OAAO,KAAK,WAAW,QAAQ,GAAG,EAAE,KAAK;AAAA;AAG3C,SAAS,IAAI,CAAC,MAAsB;AAAA,EAClC,OAAO,KAAK;AAAA;AAGd,SAAS,MAAM,CAAC,MAAiC,OAA0C;AAAA,EACzF,OAAO,KAAK,OAAO,MAAM,OAAO,KAAK,KAAK,OAAO,MAAM,OAAO,IAAI;AAAA;",
|
|
8
8
|
"debugId": "EC882FAEE6773F5F64756E2164756E21",
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export { isDatasetPick } from "../datasets/builders";
|
|
1
2
|
export { definePipeline, definePipelineStep } from "./builders";
|
|
2
3
|
export { PipelineError } from "./errors";
|
|
4
|
+
export { runStepLineage, stepInputColumns } from "./lineage";
|
|
3
5
|
export type { PipelineRunRequestOptions, PipelineRunRequestResult, RequestPipelineRunInput, } from "./request";
|
|
4
6
|
export { requestPipelineRun } from "./request";
|
|
5
7
|
export { type AutomaticPipelineExecutionSource, type AutomaticPipelineRunDispatchInput, PipelineRunDispatcher, type PipelineRunDispatcherDependencies, type PipelineRunDispatchPort, } from "./run-dispatch";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pipelines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,YAAY,EACV,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,qBAAqB,EACrB,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,GAC7B,MAAM,gBAAgB,CAAA;AACvB,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pipelines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5D,YAAY,EACV,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,qBAAqB,EACrB,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,GAC7B,MAAM,gBAAgB,CAAA;AACvB,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/pipelines/index.js
CHANGED
|
@@ -4,66 +4,78 @@ import {
|
|
|
4
4
|
definePipeline2,
|
|
5
5
|
isPipelineDefinition2,
|
|
6
6
|
isPipelineStepDefinition2
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-5vems3nx.js";
|
|
8
8
|
import"../chunk-nq6gpjt7.js";
|
|
9
9
|
import"../chunk-fb3feg1e.js";
|
|
10
|
+
import {
|
|
11
|
+
stepInputColumns2,
|
|
12
|
+
runStepLineage2
|
|
13
|
+
} from "../chunk-g5bvzyyr.js";
|
|
10
14
|
import"../chunk-yxd3nnqt.js";
|
|
11
15
|
import"../chunk-bkpke1sg.js";
|
|
12
16
|
import {
|
|
13
|
-
PipelineError2,
|
|
14
17
|
PipelineRunDispatcher2,
|
|
15
18
|
requestPipelineRun2
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import"../chunk-
|
|
19
|
+
} from "../chunk-rmakanzx.js";
|
|
20
|
+
import {
|
|
21
|
+
PipelineError2
|
|
22
|
+
} from "../chunk-hke9aeen.js";
|
|
23
|
+
import"../chunk-vf57cr4t.js";
|
|
24
|
+
import"../chunk-918wwnaa.js";
|
|
21
25
|
import"../chunk-qf954wje.js";
|
|
22
|
-
import"../chunk-
|
|
23
|
-
import"../chunk-
|
|
24
|
-
import"../chunk-7kg3k1m9.js";
|
|
25
|
-
import"../chunk-s16apyk9.js";
|
|
26
|
-
import"../chunk-h89wz928.js";
|
|
26
|
+
import"../chunk-9j4jw7as.js";
|
|
27
|
+
import"../chunk-tbc1ngpd.js";
|
|
27
28
|
import"../chunk-pbcbn83d.js";
|
|
28
29
|
import"../chunk-qczk96d9.js";
|
|
29
30
|
import"../chunk-mmagke4x.js";
|
|
30
|
-
import"../chunk-
|
|
31
|
+
import"../chunk-vvxtn22d.js";
|
|
31
32
|
import"../chunk-hn2r7z41.js";
|
|
32
|
-
import"../chunk-
|
|
33
|
-
import"../chunk-
|
|
34
|
-
import"../chunk-
|
|
33
|
+
import"../chunk-br3k6qbf.js";
|
|
34
|
+
import"../chunk-jmfet9r4.js";
|
|
35
|
+
import"../chunk-3qct2mdc.js";
|
|
35
36
|
import"../chunk-ere85b8y.js";
|
|
36
37
|
import"../chunk-rj69qcrd.js";
|
|
37
38
|
import"../chunk-4as3wt1c.js";
|
|
39
|
+
import"../chunk-eptrvnby.js";
|
|
40
|
+
import"../chunk-d09e3rax.js";
|
|
41
|
+
import"../chunk-h89wz928.js";
|
|
42
|
+
import"../chunk-x0v3jd47.js";
|
|
43
|
+
import"../chunk-dhcv7yxc.js";
|
|
44
|
+
import"../chunk-a40ad1ft.js";
|
|
45
|
+
import"../chunk-g257jwnc.js";
|
|
46
|
+
import"../chunk-7n440zgt.js";
|
|
38
47
|
import"../chunk-29yx306f.js";
|
|
39
48
|
import"../chunk-pqajwytd.js";
|
|
40
|
-
import
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
import"../chunk-
|
|
44
|
-
import"../chunk-
|
|
45
|
-
import"../chunk-
|
|
49
|
+
import {
|
|
50
|
+
isDatasetPick2
|
|
51
|
+
} from "../chunk-q5e5tv4b.js";
|
|
52
|
+
import"../chunk-cy4mbddw.js";
|
|
53
|
+
import"../chunk-xvsc5m8n.js";
|
|
54
|
+
import"../chunk-cwdzcv37.js";
|
|
46
55
|
import"../chunk-gfdh9kqa.js";
|
|
47
|
-
import"../chunk-
|
|
48
|
-
import"../chunk-
|
|
49
|
-
import"../chunk-
|
|
50
|
-
import"../chunk-
|
|
51
|
-
import"../chunk-
|
|
52
|
-
import"../chunk-
|
|
56
|
+
import"../chunk-nn5xnx3s.js";
|
|
57
|
+
import"../chunk-447a5c0p.js";
|
|
58
|
+
import"../chunk-s7jg7pmn.js";
|
|
59
|
+
import"../chunk-f4pamkt9.js";
|
|
60
|
+
import"../chunk-hcbyfxbe.js";
|
|
61
|
+
import"../chunk-6vb4st8k.js";
|
|
53
62
|
import"../chunk-v4jbb3rs.js";
|
|
54
|
-
import"../chunk-
|
|
55
|
-
import"../chunk-
|
|
56
|
-
import"../chunk-
|
|
57
|
-
import"../chunk-
|
|
58
|
-
import"../chunk-
|
|
63
|
+
import"../chunk-8frc8a4j.js";
|
|
64
|
+
import"../chunk-dhdha526.js";
|
|
65
|
+
import"../chunk-dvd2fp9q.js";
|
|
66
|
+
import"../chunk-6eqsgvxk.js";
|
|
67
|
+
import"../chunk-wkv3h3q7.js";
|
|
59
68
|
export {
|
|
60
69
|
PipelineError2 as PipelineError,
|
|
61
70
|
PipelineRunDispatcher2 as PipelineRunDispatcher,
|
|
62
71
|
definePipeline2 as definePipeline,
|
|
63
72
|
definePipelineStep2 as definePipelineStep,
|
|
73
|
+
isDatasetPick2 as isDatasetPick,
|
|
64
74
|
isPipelineDefinition2 as isPipelineDefinition,
|
|
65
75
|
isPipelineStepDefinition2 as isPipelineStepDefinition,
|
|
66
|
-
requestPipelineRun2 as requestPipelineRun
|
|
76
|
+
requestPipelineRun2 as requestPipelineRun,
|
|
77
|
+
runStepLineage2 as runStepLineage,
|
|
78
|
+
stepInputColumns2 as stepInputColumns
|
|
67
79
|
};
|
|
68
80
|
|
|
69
|
-
//# debugId=
|
|
81
|
+
//# debugId=3EA6BB38BAD3C10864756E2164756E21
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DatasetDefinition } from "../datasets/types";
|
|
2
|
+
import type { DatasetColumnLineage, DatasetColumnRef } from "../lake-storage/types";
|
|
3
|
+
import type { PipelineStepDefinition } from "./types";
|
|
4
|
+
/**
|
|
5
|
+
* Columns a step reads from one of its inputs: the columns of a `pick()`, otherwise every column of
|
|
6
|
+
* the dataset. Startup checks a pick against the registered dataset, and that any other input is
|
|
7
|
+
* the whole registered dataset.
|
|
8
|
+
*/
|
|
9
|
+
export declare function stepInputColumns(input: DatasetDefinition): readonly string[];
|
|
10
|
+
/**
|
|
11
|
+
* Lineage of a version written by a `run` step. Sixb cannot see what the handler computes, so
|
|
12
|
+
* every output column depends on every column the step reads.
|
|
13
|
+
*/
|
|
14
|
+
export declare function runStepLineage(step: PipelineStepDefinition, registeredDatasetsById: ReadonlyMap<string, DatasetDefinition>): DatasetColumnLineage;
|
|
15
|
+
/** Every column a step reads, once each, across all of its inputs. */
|
|
16
|
+
export declare function stepReadColumns(step: PipelineStepDefinition): readonly DatasetColumnRef[];
|
|
17
|
+
//# sourceMappingURL=lineage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineage.d.ts","sourceRoot":"","sources":["../../src/pipelines/lineage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAEnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAErD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,MAAM,EAAE,CAE5E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,sBAAsB,EAC5B,sBAAsB,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAC7D,oBAAoB,CAYtB;AAED,sEAAsE;AACtE,wBAAgB,eAAe,CAAC,IAAI,EAAE,sBAAsB,GAAG,SAAS,gBAAgB,EAAE,CAQzF"}
|
|
@@ -7,8 +7,8 @@ import type { ProjectionDispatchDescriptor } from "./types";
|
|
|
7
7
|
* `projectionTargetOf` derives the object types a projection writes, to record them on the run.
|
|
8
8
|
* `validateTelemetryProjectionFieldMapping` re-checks a telemetry mapping against the dataset schema
|
|
9
9
|
* before writing. `parseDatasetTimestamp` keeps worker timestamps aligned with the materializer's
|
|
10
|
-
* authoritative validation. These are plumbing, so they live here instead of on the
|
|
11
|
-
*
|
|
10
|
+
* authoritative validation. These are plumbing, so they live here instead of on the `@sixb/core`
|
|
11
|
+
* root.
|
|
12
12
|
*/
|
|
13
13
|
export { projectionTargetOf } from "./builders";
|
|
14
14
|
export { getProjectionDispatchDescriptors, getProjectionRegistry, registerProjectionRegistry, shareProjectionRegistry, } from "./capability";
|
|
@@ -7,52 +7,53 @@ import {
|
|
|
7
7
|
createProjectionRunId2,
|
|
8
8
|
PROJECTION_TELEMETRY_BATCH_SIZE2,
|
|
9
9
|
ProjectionRunDispatcher2
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-c1rxbz5y.js";
|
|
11
11
|
import {
|
|
12
12
|
parseDatasetTimestamp2
|
|
13
13
|
} from "../chunk-z667z3sg.js";
|
|
14
|
-
import"../chunk-
|
|
15
|
-
import"../chunk-
|
|
16
|
-
import"../chunk-br3k6qbf.js";
|
|
17
|
-
import"../chunk-jmfet9r4.js";
|
|
14
|
+
import"../chunk-vf57cr4t.js";
|
|
15
|
+
import"../chunk-918wwnaa.js";
|
|
18
16
|
import"../chunk-qf954wje.js";
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-7kg3k1m9.js";
|
|
22
|
-
import"../chunk-s16apyk9.js";
|
|
23
|
-
import"../chunk-h89wz928.js";
|
|
17
|
+
import"../chunk-9j4jw7as.js";
|
|
18
|
+
import"../chunk-tbc1ngpd.js";
|
|
24
19
|
import"../chunk-pbcbn83d.js";
|
|
25
20
|
import"../chunk-qczk96d9.js";
|
|
26
21
|
import"../chunk-mmagke4x.js";
|
|
27
|
-
import"../chunk-
|
|
22
|
+
import"../chunk-vvxtn22d.js";
|
|
28
23
|
import"../chunk-hn2r7z41.js";
|
|
29
|
-
import"../chunk-
|
|
30
|
-
import"../chunk-
|
|
31
|
-
import"../chunk-
|
|
24
|
+
import"../chunk-br3k6qbf.js";
|
|
25
|
+
import"../chunk-jmfet9r4.js";
|
|
26
|
+
import"../chunk-3qct2mdc.js";
|
|
32
27
|
import"../chunk-ere85b8y.js";
|
|
33
28
|
import"../chunk-rj69qcrd.js";
|
|
34
29
|
import"../chunk-4as3wt1c.js";
|
|
30
|
+
import"../chunk-eptrvnby.js";
|
|
31
|
+
import"../chunk-d09e3rax.js";
|
|
32
|
+
import"../chunk-h89wz928.js";
|
|
33
|
+
import"../chunk-x0v3jd47.js";
|
|
34
|
+
import"../chunk-dhcv7yxc.js";
|
|
35
|
+
import"../chunk-a40ad1ft.js";
|
|
36
|
+
import"../chunk-g257jwnc.js";
|
|
37
|
+
import"../chunk-7n440zgt.js";
|
|
35
38
|
import"../chunk-29yx306f.js";
|
|
36
39
|
import"../chunk-pqajwytd.js";
|
|
37
|
-
import"../chunk-
|
|
38
|
-
import"../chunk-7n440zgt.js";
|
|
39
|
-
import"../chunk-gc4ntf7d.js";
|
|
40
|
+
import"../chunk-cwdzcv37.js";
|
|
40
41
|
import"../chunk-gfdh9kqa.js";
|
|
41
|
-
import"../chunk-
|
|
42
|
-
import"../chunk-
|
|
43
|
-
import"../chunk-
|
|
44
|
-
import"../chunk-
|
|
45
|
-
import"../chunk-
|
|
42
|
+
import"../chunk-nn5xnx3s.js";
|
|
43
|
+
import"../chunk-447a5c0p.js";
|
|
44
|
+
import"../chunk-s7jg7pmn.js";
|
|
45
|
+
import"../chunk-f4pamkt9.js";
|
|
46
|
+
import"../chunk-hcbyfxbe.js";
|
|
46
47
|
import {
|
|
47
48
|
validateTelemetryProjectionFieldMapping2,
|
|
48
49
|
projectionTargetOf2
|
|
49
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-6vb4st8k.js";
|
|
50
51
|
import"../chunk-v4jbb3rs.js";
|
|
51
|
-
import"../chunk-
|
|
52
|
-
import"../chunk-
|
|
53
|
-
import"../chunk-
|
|
54
|
-
import"../chunk-
|
|
55
|
-
import"../chunk-
|
|
52
|
+
import"../chunk-8frc8a4j.js";
|
|
53
|
+
import"../chunk-dhdha526.js";
|
|
54
|
+
import"../chunk-dvd2fp9q.js";
|
|
55
|
+
import"../chunk-6eqsgvxk.js";
|
|
56
|
+
import"../chunk-wkv3h3q7.js";
|
|
56
57
|
export {
|
|
57
58
|
PROJECTION_TELEMETRY_BATCH_SIZE2 as PROJECTION_TELEMETRY_BATCH_SIZE,
|
|
58
59
|
ProjectionRunDispatcher2 as ProjectionRunDispatcher,
|
|
@@ -66,4 +67,4 @@ export {
|
|
|
66
67
|
validateTelemetryProjectionFieldMapping2 as validateTelemetryProjectionFieldMapping
|
|
67
68
|
};
|
|
68
69
|
|
|
69
|
-
//# debugId=
|
|
70
|
+
//# debugId=74E8EE753D5E5CF764756E2164756E21
|
package/dist/runtime/create.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ActionDefinition } from "../actions";
|
|
2
|
+
import type { ActivityOptions } from "../activity/service";
|
|
2
3
|
import type { AgentToolDefinition } from "../agents";
|
|
3
4
|
import type { SixbAuthConfig } from "../auth";
|
|
4
5
|
import type { BlobStorage } from "../blob-storage";
|
|
@@ -44,6 +45,8 @@ export interface CreateSixbOptions<in out TParams extends ParamsConfig = ParamsC
|
|
|
44
45
|
logger?: LoggerProvider;
|
|
45
46
|
/** Broker capture controls, independent from the output provider. */
|
|
46
47
|
observability?: ObservabilityOptions;
|
|
48
|
+
/** Records visits and page views in the project's app. Off by default. */
|
|
49
|
+
activity?: ActivityOptions;
|
|
47
50
|
/** Observes runtime failures without changing their outcome. */
|
|
48
51
|
onError?: SixbErrorHandler;
|
|
49
52
|
/** Recovery and retention settings. The runtime constructor never starts maintenance timers. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/runtime/create.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAOlD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,KAAK,EA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1B,iDAAiD;IACjD,KAAK,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACvC,8FAA8F;IAC9F,UAAU,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAA;IAC3C,0FAA0F;IAC1F,oBAAoB,CAAC,EAAE,0BAA0B,CAAA;IACjD,SAAS,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACzC,KAAK,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;IACjC,SAAS,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACzC,WAAW,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAA;IAC7C,KAAK,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;IACjC,SAAS,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACzC,QAAQ,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACvC,MAAM,CAAC,EAAE,SAAS,eAAe,EAAE,CAAA;IACnC,KAAK,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;IACjC,kBAAkB,CAAC,EAAE,SAAS,0BAA0B,EAAE,CAAA;IAC1D,sFAAsF;IACtF,MAAM,CAAC,EAAE,SAAS,eAAe,EAAE,CAAA;IACnC,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAsB,UAAU,CAAC,KAAK,CAAC,OAAO,SAAS,YAAY,GAAG,YAAY,EAChF,OAAO,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAClC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CA8D5B"}
|
package/dist/runtime/host.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* {@link Sixb} SDK bound to one execution through {@link SixbHost.withScope}.
|
|
6
6
|
*/
|
|
7
7
|
import type { ActionDefinition } from "../actions/types";
|
|
8
|
+
import { type ActivityOptions, ActivityService } from "../activity/service";
|
|
8
9
|
import type { AgentDefinitionsInput, AgentToolDefinition } from "../agents";
|
|
9
10
|
import { AuthRuntime, type SixbAuthConfig } from "../auth";
|
|
10
11
|
import type { BlobStorage } from "../blob-storage";
|
|
@@ -54,6 +55,8 @@ export interface SixbHostOptions<in out TParams extends ParamsConfig = ParamsCon
|
|
|
54
55
|
logger?: LoggerProvider;
|
|
55
56
|
/** Broker capture controls, independent from the output provider. */
|
|
56
57
|
observability?: ObservabilityOptions;
|
|
58
|
+
/** Records visits and page views in the project's app. Off by default. */
|
|
59
|
+
activity?: ActivityOptions;
|
|
57
60
|
/** Observes runtime failures without changing their outcome. */
|
|
58
61
|
onError?: SixbErrorHandler;
|
|
59
62
|
/** Recovery and retention settings. The runtime constructor never starts maintenance timers. */
|
|
@@ -98,11 +101,14 @@ export declare class SixbHost<in out TParams extends ParamsConfig = ParamsConfig
|
|
|
98
101
|
private readonly storageReadiness;
|
|
99
102
|
private readonly connectorService;
|
|
100
103
|
private readonly materializer;
|
|
104
|
+
private readonly datasetVersionMarkings;
|
|
105
|
+
private readonly appliedMarkings;
|
|
101
106
|
readonly sandboxDefinition?: SandboxDefinition;
|
|
102
107
|
readonly definitions: SixbDefinitions;
|
|
103
108
|
readonly broker: Broker;
|
|
104
109
|
readonly events: DomainEventLog;
|
|
105
110
|
readonly logging: LoggingService;
|
|
111
|
+
readonly activity: ActivityService;
|
|
106
112
|
readonly storage: Storage;
|
|
107
113
|
readonly lakeStorage: LakeStorage;
|
|
108
114
|
readonly blobStorage: BlobStorage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../src/runtime/host.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAA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,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG;IACvD,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAAA;CACzC,CAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export type { ActivityCaptureRuntime } from "../activity/execution";
|
|
2
|
+
export { getActivityCaptureRuntime } from "../activity/execution";
|
|
1
3
|
export { getConnectorConnectionsRuntime } from "../connectors/connections/capability";
|
|
2
4
|
export type { CompleteConnectorAuthorizationInput, CompleteConnectorAuthorizationResult, ConnectorConnectionView, RevokeConnectorAuthorizationResult, SelectConnectorAccountInput, StartConnectorAuthorizationInput, StartConnectorAuthorizationResult, } from "../connectors/connections/contracts";
|
|
3
5
|
export type { ConnectorConnectionsRuntime } from "../connectors/connections/execution";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/runtime/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,YAAY,EACV,mCAAmC,EACnC,oCAAoC,EACpC,uBAAuB,EACvB,kCAAkC,EAClC,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,qCAAqC,CAAA;AAC5C,YAAY,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAA;AACtF,YAAY,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAA;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,YAAY,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,GAC7B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACpD,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/runtime/internal.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,YAAY,EACV,mCAAmC,EACnC,oCAAoC,EACpC,uBAAuB,EACvB,kCAAkC,EAClC,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,qCAAqC,CAAA;AAC5C,YAAY,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAA;AACtF,YAAY,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAA;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,YAAY,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,GAC7B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACpD,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/runtime/internal.js
CHANGED
|
@@ -1,65 +1,69 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import"../chunk-
|
|
6
|
-
import"../chunk-z3y5kg1x.js";
|
|
7
|
-
import"../chunk-enpsx8k5.js";
|
|
8
|
-
import"../chunk-y7rqfrgg.js";
|
|
2
|
+
import"../chunk-dhdha526.js";
|
|
3
|
+
import"../chunk-dvd2fp9q.js";
|
|
4
|
+
import"../chunk-6eqsgvxk.js";
|
|
5
|
+
import"../chunk-6vb4st8k.js";
|
|
9
6
|
import"../chunk-v4jbb3rs.js";
|
|
7
|
+
import"../chunk-wkv3h3q7.js";
|
|
8
|
+
import"../chunk-8frc8a4j.js";
|
|
9
|
+
import"../chunk-x0v3jd47.js";
|
|
10
|
+
import"../chunk-9j4jw7as.js";
|
|
11
|
+
import"../chunk-7n440zgt.js";
|
|
12
|
+
import"../chunk-918wwnaa.js";
|
|
13
|
+
import"../chunk-a40ad1ft.js";
|
|
14
|
+
import"../chunk-dhcv7yxc.js";
|
|
15
|
+
import"../chunk-nn5xnx3s.js";
|
|
16
|
+
import"../chunk-f4pamkt9.js";
|
|
17
|
+
import"../chunk-s7jg7pmn.js";
|
|
18
|
+
import"../chunk-hcbyfxbe.js";
|
|
10
19
|
import"../chunk-pqajwytd.js";
|
|
20
|
+
import"../chunk-29yx306f.js";
|
|
21
|
+
import"../chunk-3qct2mdc.js";
|
|
11
22
|
import"../chunk-ere85b8y.js";
|
|
12
|
-
import"../chunk-99nd4rc1.js";
|
|
13
23
|
import"../chunk-4as3wt1c.js";
|
|
14
|
-
import"../chunk-vyf9kfqf.js";
|
|
15
|
-
import"../chunk-a40ad1ft.js";
|
|
16
|
-
import"../chunk-b38szspf.js";
|
|
17
|
-
import"../chunk-3gnrh4ve.js";
|
|
18
|
-
import"../chunk-jhm3zsa7.js";
|
|
19
|
-
import"../chunk-hvsb78a1.js";
|
|
20
|
-
import"../chunk-xt1zt7gv.js";
|
|
21
|
-
import"../chunk-v9xd5wzd.js";
|
|
22
|
-
import"../chunk-2jntasmh.js";
|
|
23
|
-
import"../chunk-29yx306f.js";
|
|
24
|
-
import"../chunk-gfdh9kqa.js";
|
|
25
|
-
import"../chunk-gc4ntf7d.js";
|
|
26
|
-
import"../chunk-s54c868q.js";
|
|
27
24
|
import"../chunk-h89wz928.js";
|
|
28
|
-
import"../chunk-
|
|
29
|
-
import"../chunk-
|
|
30
|
-
import"../chunk-
|
|
31
|
-
import"../chunk-
|
|
32
|
-
import"../chunk-
|
|
25
|
+
import"../chunk-d09e3rax.js";
|
|
26
|
+
import"../chunk-tbc1ngpd.js";
|
|
27
|
+
import"../chunk-gfdh9kqa.js";
|
|
28
|
+
import"../chunk-cwdzcv37.js";
|
|
29
|
+
import"../chunk-eptrvnby.js";
|
|
30
|
+
import"../chunk-g257jwnc.js";
|
|
33
31
|
import"../chunk-pbcbn83d.js";
|
|
34
32
|
import"../chunk-qczk96d9.js";
|
|
35
33
|
import"../chunk-mmagke4x.js";
|
|
36
34
|
import"../chunk-hn2r7z41.js";
|
|
37
|
-
import"../chunk-
|
|
35
|
+
import"../chunk-vvxtn22d.js";
|
|
38
36
|
import"../chunk-jmfet9r4.js";
|
|
39
37
|
import"../chunk-qf954wje.js";
|
|
40
|
-
import"../chunk-
|
|
41
|
-
import"../chunk-fa02jy15.js";
|
|
42
|
-
import {
|
|
43
|
-
VectorIndexingDeferred2,
|
|
44
|
-
getVectorIndexingRuntime2,
|
|
45
|
-
setApiPublicOrigin2
|
|
46
|
-
} from "../chunk-kyzq4wy9.js";
|
|
38
|
+
import"../chunk-cn0fwwhy.js";
|
|
47
39
|
import {
|
|
48
40
|
registerOntologyMutationRuntime2,
|
|
49
41
|
getOntologyMutationRuntime2,
|
|
50
42
|
shareOntologyMutationRuntime2,
|
|
51
|
-
createOntologyMutationRuntime2
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
import
|
|
43
|
+
createOntologyMutationRuntime2,
|
|
44
|
+
getActivityCaptureRuntime2
|
|
45
|
+
} from "../chunk-6rqgmkde.js";
|
|
46
|
+
import {
|
|
47
|
+
getConnectorConnectionsRuntime2
|
|
48
|
+
} from "../chunk-5a4a52tq.js";
|
|
49
|
+
import"../chunk-99nd4rc1.js";
|
|
50
|
+
import"../chunk-q7gn29y3.js";
|
|
51
|
+
import"../chunk-cy4mbddw.js";
|
|
52
|
+
import {
|
|
53
|
+
VectorIndexingDeferred2,
|
|
54
|
+
getVectorIndexingRuntime2,
|
|
55
|
+
setApiPublicOrigin2
|
|
56
|
+
} from "../chunk-858emn8m.js";
|
|
57
|
+
import"../chunk-vf57cr4t.js";
|
|
58
|
+
import"../chunk-1cc1xaf3.js";
|
|
55
59
|
import"../chunk-br3k6qbf.js";
|
|
56
|
-
import"../chunk-s16apyk9.js";
|
|
57
60
|
import"../chunk-rj69qcrd.js";
|
|
58
|
-
import"../chunk-
|
|
59
|
-
import"../chunk-
|
|
61
|
+
import"../chunk-xvsc5m8n.js";
|
|
62
|
+
import"../chunk-447a5c0p.js";
|
|
60
63
|
export {
|
|
61
64
|
VectorIndexingDeferred2 as VectorIndexingDeferred,
|
|
62
65
|
createOntologyMutationRuntime2 as createOntologyMutationRuntime,
|
|
66
|
+
getActivityCaptureRuntime2 as getActivityCaptureRuntime,
|
|
63
67
|
getConnectorConnectionsRuntime2 as getConnectorConnectionsRuntime,
|
|
64
68
|
getOntologyMutationRuntime2 as getOntologyMutationRuntime,
|
|
65
69
|
getVectorIndexingRuntime2 as getVectorIndexingRuntime,
|
|
@@ -68,4 +72,4 @@ export {
|
|
|
68
72
|
shareOntologyMutationRuntime2 as shareOntologyMutationRuntime
|
|
69
73
|
};
|
|
70
74
|
|
|
71
|
-
//# debugId=
|
|
75
|
+
//# debugId=5D5C780956EF203564756E2164756E21
|
|
@@ -16,5 +16,7 @@ export declare function shareOntologyMutationRuntime(source: object, target: obj
|
|
|
16
16
|
export declare function createOntologyMutationRuntime(input: {
|
|
17
17
|
readonly materializer: BoundOntologyMaterializer;
|
|
18
18
|
readonly notifyCommittedFacts: () => void;
|
|
19
|
+
/** Called once a projection may have changed the dataset version its source applied. */
|
|
20
|
+
readonly onProjectionApplied?: () => void;
|
|
19
21
|
}): OntologyMutationRuntime;
|
|
20
22
|
//# sourceMappingURL=ontology-mutations.d.ts.map
|
|
@@ -1 +1 @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