@sixb/core 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/index.js +26 -26
- package/dist/actions/worker.js +1 -1
- package/dist/agents/index.js +41 -41
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/streams/index.js +2 -2
- package/dist/agents/streams/internal.js +2 -2
- package/dist/auth/index.js +6 -6
- package/dist/authorization/index.js +3 -3
- package/dist/bootstrap/index.js +44 -44
- package/dist/{chunk-6rzb1g6h.js → chunk-2xvgy3x5.js} +2 -2
- package/dist/{chunk-16jenmzw.js → chunk-3q7z9hd4.js} +33 -33
- package/dist/{chunk-16jenmzw.js.map → chunk-3q7z9hd4.js.map} +1 -1
- package/dist/{chunk-hxgj4kzd.js → chunk-40qb8wpe.js} +11 -11
- package/dist/{chunk-hxgj4kzd.js.map → chunk-40qb8wpe.js.map} +3 -3
- package/dist/{chunk-vn3yh259.js → chunk-4gmng3vf.js} +1 -1
- package/dist/{chunk-znw0zvy4.js → chunk-4wn7bxxa.js} +25 -7
- package/dist/chunk-4wn7bxxa.js.map +12 -0
- package/dist/{chunk-gct3m1da.js → chunk-667x4drs.js} +3 -3
- package/dist/{chunk-rzcjp5m2.js → chunk-69kt9q43.js} +2 -2
- package/dist/{chunk-3qpcrcj8.js → chunk-6aawea28.js} +2 -4
- package/dist/chunk-6aawea28.js.map +10 -0
- package/dist/{chunk-rzkr70gr.js → chunk-6fsr7y93.js} +5 -1
- package/dist/{chunk-rzkr70gr.js.map → chunk-6fsr7y93.js.map} +3 -3
- package/dist/{chunk-3fpgxpsq.js → chunk-6z1q7j19.js} +144 -73
- package/dist/{chunk-3fpgxpsq.js.map → chunk-6z1q7j19.js.map} +6 -6
- package/dist/{chunk-ypj2wqtj.js → chunk-70jmg2zx.js} +2 -2
- package/dist/{chunk-m8zkvep1.js → chunk-7g2gjvah.js} +1 -1
- package/dist/{chunk-pvgpckm1.js → chunk-8x74221e.js} +10 -10
- package/dist/{chunk-ma1mhh7w.js → chunk-a7ne02hk.js} +6 -6
- package/dist/{chunk-bxx3ms5t.js → chunk-b9y8hcm2.js} +2 -2
- package/dist/{chunk-ww185kt6.js → chunk-chdg6eqq.js} +2 -2
- package/dist/{chunk-y487ywrv.js → chunk-cq44v1a6.js} +4 -4
- package/dist/{chunk-4ypbe95r.js → chunk-cxj8y8t0.js} +2 -2
- package/dist/{chunk-3a338wrp.js → chunk-dp7yk20b.js} +1 -1
- package/dist/{chunk-dv4ct8mp.js → chunk-dsv8kdgk.js} +4 -4
- package/dist/{chunk-dsfw1bdr.js → chunk-f72rbvsb.js} +2 -2
- package/dist/{chunk-4tnrzqqh.js → chunk-fj1dvp37.js} +1 -1
- package/dist/{chunk-ht4a7mjg.js → chunk-g4rbm4a6.js} +42 -8
- package/dist/{chunk-ht4a7mjg.js.map → chunk-g4rbm4a6.js.map} +3 -3
- package/dist/{chunk-wnxabtn4.js → chunk-gkxsenvp.js} +19 -11
- package/dist/{chunk-wnxabtn4.js.map → chunk-gkxsenvp.js.map} +4 -4
- package/dist/{chunk-vef6qa14.js → chunk-gmdvns8f.js} +2 -2
- package/dist/{chunk-728fp090.js → chunk-h044jb97.js} +1072 -1075
- package/dist/chunk-h044jb97.js.map +15 -0
- package/dist/{chunk-00pfcqh4.js → chunk-h4138ww2.js} +130 -71
- package/dist/{chunk-00pfcqh4.js.map → chunk-h4138ww2.js.map} +5 -5
- package/dist/{chunk-yvf2jqj8.js → chunk-h866d223.js} +1 -1
- package/dist/{chunk-qma80ych.js → chunk-hn2r7z41.js} +3 -2
- package/dist/chunk-hn2r7z41.js.map +11 -0
- package/dist/{chunk-bdhfn0ww.js → chunk-kkqwzy6h.js} +1 -1
- package/dist/{chunk-wn7mznxc.js → chunk-kttr5ftm.js} +5 -5
- package/dist/{chunk-kxea54yg.js → chunk-kvysp909.js} +3 -3
- package/dist/{chunk-p1683c0v.js → chunk-kyjcwqz6.js} +5 -2
- package/dist/{chunk-p1683c0v.js.map → chunk-kyjcwqz6.js.map} +3 -3
- package/dist/{chunk-ffwvdgk1.js → chunk-nj0020ay.js} +1 -1
- package/dist/{chunk-q2xghyft.js → chunk-nkbev3tr.js} +5 -5
- package/dist/{chunk-cbn96bve.js → chunk-nvymebc1.js} +2 -2
- package/dist/{chunk-2fv8sajb.js → chunk-qnd7ehe5.js} +2 -2
- package/dist/{chunk-jfdggg1p.js → chunk-sbcm1b92.js} +5 -5
- package/dist/{chunk-d8yes9yx.js → chunk-swxzncrv.js} +1 -1
- package/dist/{chunk-drz59ve0.js → chunk-tkdbge6v.js} +1 -1
- package/dist/{chunk-ky7zpbtt.js → chunk-tnvafr7g.js} +1 -1
- package/dist/{chunk-y6vnvayj.js → chunk-vjcd8d27.js} +1 -1
- package/dist/{chunk-hj0n3c2p.js → chunk-vjqt7q3a.js} +45 -27
- package/dist/{chunk-hj0n3c2p.js.map → chunk-vjqt7q3a.js.map} +3 -3
- package/dist/{chunk-z9h698s8.js → chunk-vsvrv7n8.js} +1 -1
- package/dist/{chunk-xgptywp0.js → chunk-y2aq6ag9.js} +1 -1
- package/dist/{chunk-e2c5yxfe.js → chunk-zb47r1c8.js} +2 -2
- package/dist/{chunk-3nx8vj5a.js → chunk-zvmr2hqk.js} +3 -2
- package/dist/chunk-zvmr2hqk.js.map +12 -0
- package/dist/deploy/define.d.ts +4 -0
- package/dist/deploy/define.d.ts.map +1 -0
- package/dist/deploy/index.d.ts +3 -0
- package/dist/deploy/index.d.ts.map +1 -0
- package/dist/deploy/index.js +10 -0
- package/dist/deploy/index.js.map +10 -0
- package/dist/deploy/internal.d.ts +3 -0
- package/dist/deploy/internal.d.ts.map +1 -0
- package/dist/deploy/internal.js +244 -0
- package/dist/deploy/internal.js.map +11 -0
- package/dist/deploy/services.d.ts +8 -0
- package/dist/deploy/services.d.ts.map +1 -0
- package/dist/deploy/types.d.ts +309 -0
- package/dist/deploy/types.d.ts.map +1 -0
- package/dist/deploy/validation.d.ts +7 -0
- package/dist/deploy/validation.d.ts.map +1 -0
- package/dist/error-reporting/internal.js +3 -3
- package/dist/errors/catalog.d.ts +4 -0
- package/dist/errors/catalog.d.ts.map +1 -1
- package/dist/errors/internal.js +1 -1
- package/dist/events/index.js +3 -3
- package/dist/execution/agent.js +38 -38
- package/dist/execution/primitive.js +34 -34
- package/dist/execution/request.js +36 -36
- package/dist/execution/request.js.map +1 -1
- package/dist/index.js +56 -56
- package/dist/index.js.map +1 -1
- package/dist/maintenance/ontology-maintenance.d.ts +2 -0
- package/dist/maintenance/ontology-maintenance.d.ts.map +1 -1
- package/dist/maintenance/types.d.ts +8 -2
- package/dist/maintenance/types.d.ts.map +1 -1
- package/dist/materialization/dataset-watermark.d.ts +6 -1
- package/dist/materialization/dataset-watermark.d.ts.map +1 -1
- package/dist/materialization/index.js +1 -1
- package/dist/materialization/model.d.ts +6 -0
- package/dist/materialization/model.d.ts.map +1 -1
- package/dist/materializer/index.js +22 -22
- package/dist/materializer/index.js.map +1 -1
- package/dist/materializer/projections/finish-run.d.ts.map +1 -1
- package/dist/materializer/projections/replace.d.ts.map +1 -1
- package/dist/materializer/projections/source-materialization.d.ts +6 -2
- package/dist/materializer/projections/source-materialization.d.ts.map +1 -1
- package/dist/models/embedding-model.d.ts +4 -0
- package/dist/models/embedding-model.d.ts.map +1 -1
- package/dist/models/execution/index.js +19 -19
- package/dist/models/index.js +2 -2
- package/dist/objects/index.js +25 -25
- package/dist/objects/query/index.js +21 -21
- package/dist/objects/query/index.js.map +1 -1
- package/dist/objects/vectors/indexing-generate.d.ts.map +1 -1
- package/dist/objects/vectors/profile.d.ts.map +1 -1
- package/dist/objects/vectors/query.d.ts +1 -1
- package/dist/objects/vectors/query.d.ts.map +1 -1
- package/dist/objects/vectors/resolve-query.d.ts.map +1 -1
- package/dist/objects/vectors/types.d.ts +1 -1
- package/dist/objects/vectors/types.d.ts.map +1 -1
- package/dist/ontology/builders.d.ts +13 -4
- package/dist/ontology/builders.d.ts.map +1 -1
- package/dist/ontology/index.js +3 -3
- package/dist/ontology/internal.js +2 -2
- package/dist/ontology/vector-profiles.d.ts.map +1 -1
- package/dist/pipelines/index.js +23 -23
- package/dist/projections/internal.js +20 -20
- package/dist/projections/types.d.ts +1 -1
- package/dist/projections/types.d.ts.map +1 -1
- package/dist/queues/in-memory.d.ts +1 -1
- package/dist/queues/in-memory.d.ts.map +1 -1
- package/dist/runtime/internal.js +23 -23
- package/dist/sandboxes/index.js +5 -5
- package/dist/shares/internal.js +18 -18
- package/dist/shares/internal.js.map +1 -1
- package/dist/storage/action-runs/failure.js +2 -2
- package/dist/storage/agents/provider.js +1 -1
- package/dist/storage/ai-limits/enforcement.js +2 -2
- package/dist/storage/connector-connections/provider.js +1 -1
- package/dist/storage/file-upload-sessions/provider.js +7 -7
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +33 -33
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.js +1 -1
- package/dist/storage/ontology/in-memory/sources.d.ts +6 -3
- 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/provider.d.ts +16 -3
- package/dist/storage/ontology/provider.d.ts.map +1 -1
- package/dist/storage/ontology/provider.js +8 -4
- package/dist/storage/ontology/provider.js.map +1 -1
- package/dist/storage/ontology/sources.d.ts +36 -8
- package/dist/storage/ontology/sources.d.ts.map +1 -1
- package/dist/storage/projection-runs/in-memory.d.ts +3 -1
- package/dist/storage/projection-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/projection-runs/index.d.ts +1 -1
- package/dist/storage/projection-runs/index.d.ts.map +1 -1
- package/dist/storage/projection-runs/lifecycle.d.ts +12 -0
- package/dist/storage/projection-runs/lifecycle.d.ts.map +1 -1
- package/dist/storage/projection-runs/provider.js +10 -4
- package/dist/storage/projection-runs/provider.js.map +1 -1
- package/dist/storage/projection-runs/types.d.ts +32 -1
- package/dist/storage/projection-runs/types.d.ts.map +1 -1
- package/dist/storage/workflow-runs/provider.js +7 -7
- package/dist/syncs/index.js +24 -24
- package/dist/testing/index.js +306 -64
- package/dist/testing/index.js.map +4 -4
- package/dist/testing/ontology-storage-contract.d.ts.map +1 -1
- package/dist/testing/projection-run-storage-contract.d.ts.map +1 -1
- package/dist/webhooks/internal.js +19 -19
- package/dist/webhooks/internal.js.map +1 -1
- package/dist/workers/index.js +1 -1
- package/dist/workflows/index.js +41 -41
- package/package.json +13 -1
- package/src/deploy/define.ts +6 -0
- package/src/deploy/index.ts +41 -0
- package/src/deploy/internal.ts +7 -0
- package/src/deploy/services.ts +51 -0
- package/src/deploy/types.ts +338 -0
- package/src/deploy/validation.ts +261 -0
- package/src/errors/catalog.ts +4 -0
- package/src/maintenance/ontology-maintenance.ts +32 -2
- package/src/maintenance/types.ts +8 -2
- package/src/materialization/dataset-watermark.ts +6 -4
- package/src/materialization/model.ts +7 -0
- package/src/materializer/README.md +26 -6
- package/src/materializer/projections/finish-run.ts +129 -26
- package/src/materializer/projections/replace.ts +67 -49
- package/src/materializer/projections/source-materialization.ts +11 -6
- package/src/models/embedding-model.ts +12 -0
- package/src/models/execution/embedding.ts +5 -1
- package/src/objects/query/validate.ts +1 -10
- package/src/objects/vectors/README.md +8 -0
- package/src/objects/vectors/handle.ts +1 -1
- package/src/objects/vectors/indexing-generate.ts +5 -1
- package/src/objects/vectors/profile.ts +2 -0
- package/src/objects/vectors/query.ts +18 -4
- package/src/objects/vectors/resolve-query.ts +9 -5
- package/src/objects/vectors/types.ts +3 -1
- package/src/ontology/builders.ts +21 -7
- package/src/ontology/vector-profiles.ts +1 -0
- package/src/projections/types.ts +1 -0
- package/src/storage/index.ts +6 -1
- package/src/storage/ontology/in-memory/sources.ts +119 -55
- package/src/storage/ontology/index.ts +4 -1
- package/src/storage/ontology/provider.ts +64 -7
- package/src/storage/ontology/sources.ts +42 -8
- package/src/storage/projection-runs/in-memory.ts +41 -2
- package/src/storage/projection-runs/index.ts +2 -0
- package/src/storage/projection-runs/lifecycle.ts +61 -4
- package/src/storage/projection-runs/types.ts +41 -1
- package/src/testing/ontology-storage-contract.ts +141 -15
- package/src/testing/projection-run-storage-contract.ts +174 -1
- package/dist/chunk-3nx8vj5a.js.map +0 -12
- package/dist/chunk-3qpcrcj8.js.map +0 -10
- package/dist/chunk-728fp090.js.map +0 -15
- package/dist/chunk-qma80ych.js.map +0 -11
- package/dist/chunk-znw0zvy4.js.map +0 -12
- /package/dist/{chunk-6rzb1g6h.js.map → chunk-2xvgy3x5.js.map} +0 -0
- /package/dist/{chunk-vn3yh259.js.map → chunk-4gmng3vf.js.map} +0 -0
- /package/dist/{chunk-gct3m1da.js.map → chunk-667x4drs.js.map} +0 -0
- /package/dist/{chunk-rzcjp5m2.js.map → chunk-69kt9q43.js.map} +0 -0
- /package/dist/{chunk-ypj2wqtj.js.map → chunk-70jmg2zx.js.map} +0 -0
- /package/dist/{chunk-m8zkvep1.js.map → chunk-7g2gjvah.js.map} +0 -0
- /package/dist/{chunk-pvgpckm1.js.map → chunk-8x74221e.js.map} +0 -0
- /package/dist/{chunk-ma1mhh7w.js.map → chunk-a7ne02hk.js.map} +0 -0
- /package/dist/{chunk-bxx3ms5t.js.map → chunk-b9y8hcm2.js.map} +0 -0
- /package/dist/{chunk-ww185kt6.js.map → chunk-chdg6eqq.js.map} +0 -0
- /package/dist/{chunk-y487ywrv.js.map → chunk-cq44v1a6.js.map} +0 -0
- /package/dist/{chunk-4ypbe95r.js.map → chunk-cxj8y8t0.js.map} +0 -0
- /package/dist/{chunk-3a338wrp.js.map → chunk-dp7yk20b.js.map} +0 -0
- /package/dist/{chunk-dv4ct8mp.js.map → chunk-dsv8kdgk.js.map} +0 -0
- /package/dist/{chunk-dsfw1bdr.js.map → chunk-f72rbvsb.js.map} +0 -0
- /package/dist/{chunk-4tnrzqqh.js.map → chunk-fj1dvp37.js.map} +0 -0
- /package/dist/{chunk-vef6qa14.js.map → chunk-gmdvns8f.js.map} +0 -0
- /package/dist/{chunk-yvf2jqj8.js.map → chunk-h866d223.js.map} +0 -0
- /package/dist/{chunk-bdhfn0ww.js.map → chunk-kkqwzy6h.js.map} +0 -0
- /package/dist/{chunk-wn7mznxc.js.map → chunk-kttr5ftm.js.map} +0 -0
- /package/dist/{chunk-kxea54yg.js.map → chunk-kvysp909.js.map} +0 -0
- /package/dist/{chunk-ffwvdgk1.js.map → chunk-nj0020ay.js.map} +0 -0
- /package/dist/{chunk-q2xghyft.js.map → chunk-nkbev3tr.js.map} +0 -0
- /package/dist/{chunk-cbn96bve.js.map → chunk-nvymebc1.js.map} +0 -0
- /package/dist/{chunk-2fv8sajb.js.map → chunk-qnd7ehe5.js.map} +0 -0
- /package/dist/{chunk-jfdggg1p.js.map → chunk-sbcm1b92.js.map} +0 -0
- /package/dist/{chunk-d8yes9yx.js.map → chunk-swxzncrv.js.map} +0 -0
- /package/dist/{chunk-drz59ve0.js.map → chunk-tkdbge6v.js.map} +0 -0
- /package/dist/{chunk-ky7zpbtt.js.map → chunk-tnvafr7g.js.map} +0 -0
- /package/dist/{chunk-y6vnvayj.js.map → chunk-vjcd8d27.js.map} +0 -0
- /package/dist/{chunk-z9h698s8.js.map → chunk-vsvrv7n8.js.map} +0 -0
- /package/dist/{chunk-xgptywp0.js.map → chunk-y2aq6ag9.js.map} +0 -0
- /package/dist/{chunk-e2c5yxfe.js.map → chunk-zb47r1c8.js.map} +0 -0
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
createSixbError2,
|
|
4
4
|
toSixbFailure2,
|
|
5
5
|
serializeSixbFailure2
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6fsr7y93.js";
|
|
7
7
|
import {
|
|
8
8
|
ONTOLOGY_OUTBOX_FAILURE_CODES2
|
|
9
9
|
} from "./chunk-d62kjtbg.js";
|
|
10
10
|
import {
|
|
11
11
|
SixbErrorReporter2,
|
|
12
12
|
reportEventDeliveryFailure3
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-kkqwzy6h.js";
|
|
14
14
|
import {
|
|
15
15
|
getInvalidJsonValueReason2
|
|
16
16
|
} from "./chunk-wy0qdqfm.js";
|
|
@@ -10,23 +10,23 @@ import {
|
|
|
10
10
|
isAllowed2,
|
|
11
11
|
assertAuthorized2,
|
|
12
12
|
canViewActionRun2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-69kt9q43.js";
|
|
14
14
|
import {
|
|
15
15
|
ActionRunTimeoutError2,
|
|
16
16
|
createSixbError2,
|
|
17
17
|
toSixbFailure2
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6fsr7y93.js";
|
|
19
19
|
import {
|
|
20
20
|
collectUserRefIds,
|
|
21
21
|
userReferenceProblem
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-swxzncrv.js";
|
|
23
23
|
import {
|
|
24
24
|
isObjectRefSchema2
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-tkdbge6v.js";
|
|
26
26
|
import {
|
|
27
27
|
ACTION_RUN_FAILURE_CODES2,
|
|
28
28
|
parseActionRunFailure2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-y2aq6ag9.js";
|
|
30
30
|
import {
|
|
31
31
|
ActionRunError2
|
|
32
32
|
} from "./chunk-fc5zfxy1.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
normalizeActionParams,
|
|
36
36
|
validateActionSubject,
|
|
37
37
|
resolveObjectActionSubject
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2xvgy3x5.js";
|
|
39
39
|
import {
|
|
40
40
|
snapshotVectorProfiles
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-zvmr2hqk.js";
|
|
42
42
|
import {
|
|
43
43
|
validateObjectQuery2,
|
|
44
44
|
validateObjectQueryWithAdmission,
|
|
@@ -49,10 +49,10 @@ import {
|
|
|
49
49
|
validateObjectFacetRequests,
|
|
50
50
|
preflightObjectQueryLinks,
|
|
51
51
|
executeObjectQueryLinks2
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-h044jb97.js";
|
|
53
53
|
import {
|
|
54
54
|
reportRunFailure2
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-vjcd8d27.js";
|
|
56
56
|
import {
|
|
57
57
|
ObjectQueryValidationError2
|
|
58
58
|
} from "./chunk-a0073121.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
executionRecordInputFromRuntime,
|
|
61
61
|
ensureExecutionRecord2,
|
|
62
62
|
createPrimitiveExecutionRecord
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7g2gjvah.js";
|
|
64
64
|
import {
|
|
65
65
|
actionSubjectsEqual2,
|
|
66
66
|
actionRunParamsEqual2,
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
ShareDefinitionError2,
|
|
8
8
|
isShareDefinition,
|
|
9
9
|
snapshotShareDefinition
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2xvgy3x5.js";
|
|
11
11
|
import {
|
|
12
12
|
isProjectionDefinition2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-69kt9q43.js";
|
|
14
14
|
import {
|
|
15
15
|
isDatasetDefinition2
|
|
16
16
|
} from "./chunk-cd234ba4.js";
|
|
17
17
|
import {
|
|
18
18
|
isPipelineDefinition2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-h866d223.js";
|
|
20
20
|
import {
|
|
21
21
|
assertPredicateShape,
|
|
22
22
|
createPropertyPredicateBuilder,
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
} from "./chunk-e1c18xjx.js";
|
|
29
29
|
import {
|
|
30
30
|
isSyncDefinition2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-zb47r1c8.js";
|
|
32
32
|
import {
|
|
33
33
|
isWorkflowDefinition2
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3q7z9hd4.js";
|
|
35
35
|
import {
|
|
36
36
|
compileShareAccessPlan
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-cxj8y8t0.js";
|
|
38
38
|
import {
|
|
39
39
|
isConnectorDefinition
|
|
40
40
|
} from "./chunk-9x8dybsb.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineLanguageModel2
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-tnvafr7g.js";
|
|
5
5
|
import {
|
|
6
6
|
ModelCatalogUnavailableError2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-kyjcwqz6.js";
|
|
8
8
|
|
|
9
9
|
// src/models/resolve.ts
|
|
10
10
|
async function resolveLanguageModel2(binding) {
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
createAiModelCallLimitController2,
|
|
5
5
|
AiModelCallRecorder2,
|
|
6
6
|
enqueueAiModelCallRecovery2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-kvysp909.js";
|
|
8
8
|
import {
|
|
9
9
|
executionRecordInputFromRuntime,
|
|
10
10
|
ensureExecutionRecord2
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7g2gjvah.js";
|
|
12
12
|
|
|
13
13
|
// src/models/execution/session.ts
|
|
14
14
|
class ModelExecutionSession {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ProjectionValidationError2
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-69kt9q43.js";
|
|
5
5
|
import {
|
|
6
6
|
sha256Canonical2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-g4rbm4a6.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectionRunError2,
|
|
10
10
|
assertProjectionRunIdentityMatches2,
|
|
11
11
|
assertProjectionRunDurableExecution2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4wn7bxxa.js";
|
|
13
13
|
import {
|
|
14
14
|
createPrimitiveExecutionRecord
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7g2gjvah.js";
|
|
16
16
|
import {
|
|
17
17
|
findPrimitiveRunExecution
|
|
18
18
|
} from "./chunk-ey1nk510.js";
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isPrimitiveSchema,
|
|
4
4
|
primitiveTraits
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-swxzncrv.js";
|
|
6
6
|
import {
|
|
7
7
|
ShareDefinitionError2,
|
|
8
8
|
snapshotShareDefinition
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2xvgy3x5.js";
|
|
10
10
|
import {
|
|
11
11
|
snapshotShareAccessPlan
|
|
12
12
|
} from "./chunk-br3k6qbf.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
assertPropertyTokenBelongsToObjectType2,
|
|
4
4
|
assertTelemetryProperty2
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-swxzncrv.js";
|
|
6
6
|
import {
|
|
7
7
|
lowerEditBatch2
|
|
8
8
|
} from "./chunk-wr8qp979.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-7ytf06d3.js";
|
|
14
14
|
import {
|
|
15
15
|
createLinkScopeFingerprint2
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-h4138ww2.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionValidationError2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6fsr7y93.js";
|
|
20
20
|
import {
|
|
21
21
|
ActionDefinitionError2,
|
|
22
22
|
ActionEditCommitError2,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
effectsWithoutEditsMessage,
|
|
25
25
|
assertNonEmpty2,
|
|
26
26
|
isObjectActionDefinition2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2xvgy3x5.js";
|
|
28
28
|
import {
|
|
29
29
|
decorateObjectQueryExecutor
|
|
30
30
|
} from "./chunk-k4kkp58d.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
validateSchemaValue2,
|
|
9
9
|
normalizeSchemaValue2
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-swxzncrv.js";
|
|
11
11
|
import {
|
|
12
12
|
AgentDefinitionError2,
|
|
13
13
|
AgentToolResultValidationError2
|
|
14
14
|
} from "./chunk-dmn70ztd.js";
|
|
15
15
|
import {
|
|
16
16
|
assertValidSchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-nj0020ay.js";
|
|
18
18
|
import {
|
|
19
19
|
OntologyValidationError2
|
|
20
20
|
} from "./chunk-cqr3acm1.js";
|
|
@@ -846,7 +846,6 @@ function sourceStageRoots2(projectionKind, input) {
|
|
|
846
846
|
roots.set(key, {
|
|
847
847
|
root: row.root,
|
|
848
848
|
rootKey: key,
|
|
849
|
-
sortKey: utf8SortKey2(key),
|
|
850
849
|
stagingOrdinal: row.stagingOrdinal,
|
|
851
850
|
deleted
|
|
852
851
|
});
|
|
@@ -983,12 +982,47 @@ function sourceEntityColumns2(entity) {
|
|
|
983
982
|
targetPrimaryId: entity.ref.target.primaryId
|
|
984
983
|
};
|
|
985
984
|
}
|
|
986
|
-
function
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
985
|
+
function sourceEntityFromKey2(key) {
|
|
986
|
+
const parts = JSON.parse(key);
|
|
987
|
+
if (Array.isArray(parts) && parts.every((part) => typeof part === "string")) {
|
|
988
|
+
if (parts[0] === "object" && parts.length === 3) {
|
|
989
|
+
return { kind: "object", ref: { objectTypeId: parts[1], primaryId: parts[2] } };
|
|
990
|
+
}
|
|
991
|
+
if (parts[0] === "link" && parts.length === 6) {
|
|
992
|
+
return {
|
|
993
|
+
kind: "link",
|
|
994
|
+
ref: {
|
|
995
|
+
source: { objectTypeId: parts[1], primaryId: parts[2] },
|
|
996
|
+
linkId: parts[3],
|
|
997
|
+
target: { objectTypeId: parts[4], primaryId: parts[5] }
|
|
998
|
+
}
|
|
999
|
+
};
|
|
1000
|
+
}
|
|
990
1001
|
}
|
|
991
|
-
|
|
1002
|
+
throw new MaterializationConflictError2("source-materialization", `Stored source key ${key} is not a canonical entity key.`);
|
|
1003
|
+
}
|
|
1004
|
+
function sourceAssertionPayload2(assertion) {
|
|
1005
|
+
const { kind: _kind, ref: _ref, ...payload } = assertion;
|
|
1006
|
+
return Object.keys(payload).length === 0 ? null : payload;
|
|
1007
|
+
}
|
|
1008
|
+
function sourceAssertionFromColumns2(columns, payload) {
|
|
1009
|
+
const rest = payload ?? {};
|
|
1010
|
+
if (columns.entity_kind === "object") {
|
|
1011
|
+
return {
|
|
1012
|
+
kind: "object",
|
|
1013
|
+
ref: { objectTypeId: columns.object_type_id, primaryId: columns.primary_id },
|
|
1014
|
+
...rest
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
return {
|
|
1018
|
+
kind: "link",
|
|
1019
|
+
ref: {
|
|
1020
|
+
source: { objectTypeId: columns.source_type_id, primaryId: columns.source_primary_id },
|
|
1021
|
+
linkId: columns.link_id,
|
|
1022
|
+
target: { objectTypeId: columns.target_type_id, primaryId: columns.target_primary_id }
|
|
1023
|
+
},
|
|
1024
|
+
...rest
|
|
1025
|
+
};
|
|
992
1026
|
}
|
|
993
1027
|
function isExactStagingManifest2(row, input) {
|
|
994
1028
|
return row.status === "staging" && row.executionToken === input.execution.executionToken && row.projectionRunId === input.execution.projectionRunId && row.projectionKind === input.projectionKind && row.protocol === input.protocol && row.createdAt === input.createdAt && row.datasetVersion.datasetId === input.datasetVersion.datasetId && row.datasetVersion.versionId === input.datasetVersion.versionId && row.datasetVersion.createdAt === input.datasetVersion.createdAt && row.projectionRevision === input.projectionRevision && row.ownershipHash === input.ownershipHash && row.base?.materializationId === input.base?.materializationId && row.base?.lastCommitId === input.base?.lastCommitId && row.ontologyRevision === input.ontologyRevision;
|
|
@@ -997,6 +1031,6 @@ function sourceConflict2(message) {
|
|
|
997
1031
|
return new MaterializationConflictError2("source-materialization", message);
|
|
998
1032
|
}
|
|
999
1033
|
|
|
1000
|
-
export { ONTOLOGY_MATERIALIZATION_EVENT_KIND_ORDER2, materializationEventKindOrdinal2, sha256Canonical2, createRequestHash2, createCommitId2, createEventId2, assertNonblank2, assertPositiveInteger2, assertNonnegativeInteger2, assertTimestamp2, invalidCorrelation2, materializationApplyPhase, assertPageRows2, materializationChunkRows2, materializationPlanItems2, assertWorkRecord2, workUniquenessKey2, comparePlanWork2, compareCardinalityWork2, compareEventWork2, assertPlanChunkCorrelations2, assertMaterializationHeader2, startScopeAccumulator2, appendScopeSnapshot2, finishScopeAccumulator2, linkSlotOverrideValue2, ProviderMaterializationSessionState2, ProviderMaterializationTransactionLifecycle2, prepareMaterializationWork2, correlateMaterializationChunk2, assertMaterializationFinalizationCorrelation2, assertMaterializationLaneCompletion2, assertSourceActivationCorrelation2, uniqueSorted2, sameNonnegativeCounts2, effectiveConflict2, assertExpectedObjectRevision2, assertExpectedLinkRevision2, assertExpectedLinkScopeRevision2, materializationWorkColumns2, duplicateMaterializationWork2, canonicalJson2, originColumns2, originWhere2, objectRefFromColumns2, linkRefFromColumns2, sourceEntityKey2, sourceStageRows2, sourceStageRow2, sourceStageRoots2, reconcileSourceStageRows2, sourceMaterializationIdentity2, assertSourceBeginInput2, assertSourceWriteIdentity2, assertSourceProject2, assertSourceExecutionIdentity2, assertSourceCandidateOwner2, assertSourceStagedRow2, sourceEntityColumns2,
|
|
1034
|
+
export { ONTOLOGY_MATERIALIZATION_EVENT_KIND_ORDER2, materializationEventKindOrdinal2, sha256Canonical2, createRequestHash2, createCommitId2, createEventId2, assertNonblank2, assertPositiveInteger2, assertNonnegativeInteger2, assertTimestamp2, invalidCorrelation2, materializationApplyPhase, assertPageRows2, materializationChunkRows2, materializationPlanItems2, assertWorkRecord2, workUniquenessKey2, comparePlanWork2, compareCardinalityWork2, compareEventWork2, assertPlanChunkCorrelations2, assertMaterializationHeader2, startScopeAccumulator2, appendScopeSnapshot2, finishScopeAccumulator2, linkSlotOverrideValue2, ProviderMaterializationSessionState2, ProviderMaterializationTransactionLifecycle2, prepareMaterializationWork2, correlateMaterializationChunk2, assertMaterializationFinalizationCorrelation2, assertMaterializationLaneCompletion2, assertSourceActivationCorrelation2, uniqueSorted2, sameNonnegativeCounts2, effectiveConflict2, assertExpectedObjectRevision2, assertExpectedLinkRevision2, assertExpectedLinkScopeRevision2, materializationWorkColumns2, duplicateMaterializationWork2, canonicalJson2, originColumns2, originWhere2, objectRefFromColumns2, linkRefFromColumns2, sourceEntityKey2, sourceStageRows2, sourceStageRow2, sourceStageRoots2, reconcileSourceStageRows2, sourceMaterializationIdentity2, assertSourceBeginInput2, assertSourceWriteIdentity2, assertSourceProject2, assertSourceExecutionIdentity2, assertSourceCandidateOwner2, assertSourceStagedRow2, sourceEntityColumns2, sourceEntityFromKey2, sourceAssertionPayload2, sourceAssertionFromColumns2, isExactStagingManifest2, sourceConflict2 };
|
|
1001
1035
|
|
|
1002
|
-
//# debugId=
|
|
1036
|
+
//# debugId=4F375DB5C3C8850F64756E2164756E21
|