@elaraai/east 1.0.83 → 1.0.84
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/src/naming.d.ts +10 -7
- package/dist/src/naming.d.ts.map +1 -1
- package/dist/src/naming.js +30 -13
- package/dist/src/naming.js.map +1 -1
- package/dist/src/naming.spec.js +49 -0
- package/dist/src/naming.spec.js.map +1 -1
- package/dist/src/runner_protocol.d.ts +49 -2
- package/dist/src/runner_protocol.d.ts.map +1 -1
- package/dist/src/runner_protocol.js +37 -2
- package/dist/src/runner_protocol.js.map +1 -1
- package/dist/src/serialization/beast2/index.d.ts +1 -1
- package/dist/src/serialization/beast2/index.d.ts.map +1 -1
- package/dist/src/serialization/beast2/index.js +1 -1
- package/dist/src/serialization/beast2/index.js.map +1 -1
- package/dist/src/serialization/beast2/v5/lazy.d.ts +67 -5
- package/dist/src/serialization/beast2/v5/lazy.d.ts.map +1 -1
- package/dist/src/serialization/beast2/v5/lazy.js +116 -24
- package/dist/src/serialization/beast2/v5/lazy.js.map +1 -1
- package/dist/src/serialization/beast2/v5/lazy.spec.js +95 -1
- package/dist/src/serialization/beast2/v5/lazy.spec.js.map +1 -1
- package/dist/src/serialization/beast2/v5/stream.d.ts +29 -2
- package/dist/src/serialization/beast2/v5/stream.d.ts.map +1 -1
- package/dist/src/serialization/beast2/v5/stream.js +43 -2
- package/dist/src/serialization/beast2/v5/stream.js.map +1 -1
- package/dist/src/serialization/beast2/v5/type-section.d.ts.map +1 -1
- package/dist/src/serialization/beast2/v5/type-section.js +25 -12
- package/dist/src/serialization/beast2/v5/type-section.js.map +1 -1
- package/dist/src/serialization/beast2/v5/type-section.spec.d.ts +6 -0
- package/dist/src/serialization/beast2/v5/type-section.spec.d.ts.map +1 -0
- package/dist/src/serialization/beast2/v5/type-section.spec.js +41 -0
- package/dist/src/serialization/beast2/v5/type-section.spec.js.map +1 -0
- package/dist/src/serialization/index.d.ts +1 -1
- package/dist/src/serialization/index.d.ts.map +1 -1
- package/dist/src/serialization/index.js +1 -1
- package/dist/src/serialization/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-section.spec.d.ts","sourceRoot":"","sources":["../../../../../src/serialization/beast2/v5/type-section.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The type section's well-known registry, whatever order its modules load in.
|
|
7
|
+
* The IR type's value comes from `../shared.js`, which imports the type
|
|
8
|
+
* section back through the compiler; a load that begins at `shared.js` — the
|
|
9
|
+
* order esbuild's code splitting gives a browser bundle — evaluates the type
|
|
10
|
+
* section first, so the registry must not read that value at load.
|
|
11
|
+
*/
|
|
12
|
+
import { describe, test } from "node:test";
|
|
13
|
+
import assert from "node:assert/strict";
|
|
14
|
+
import { spawnSync } from "node:child_process";
|
|
15
|
+
import { encodeBeast2For } from "../index.js";
|
|
16
|
+
import { IntegerType } from "../../../types.js";
|
|
17
|
+
import { EastTypeValueType, toEastTypeValue } from "../../../type_of_type.js";
|
|
18
|
+
describe("beast2 v5 type section", () => {
|
|
19
|
+
test("a load that begins at the IR type's module encodes the bytes any other load does", () => {
|
|
20
|
+
const child = spawnSync(process.execPath, ["--input-type=module", "-e", `
|
|
21
|
+
await import(${JSON.stringify(new URL("../shared.js", import.meta.url).href)});
|
|
22
|
+
const { encodeBeast2For } = await import(${JSON.stringify(new URL("../index.js", import.meta.url).href)});
|
|
23
|
+
const { IntegerType } = await import(${JSON.stringify(new URL("../../../types.js", import.meta.url).href)});
|
|
24
|
+
const { EastTypeValueType, toEastTypeValue } = await import(${JSON.stringify(new URL("../../../type_of_type.js", import.meta.url).href)});
|
|
25
|
+
const hex = (bytes) => Buffer.from(bytes).toString("hex");
|
|
26
|
+
console.log(JSON.stringify({
|
|
27
|
+
integer: hex(encodeBeast2For(IntegerType)(1n)),
|
|
28
|
+
type: hex(encodeBeast2For(EastTypeValueType)(toEastTypeValue(IntegerType))),
|
|
29
|
+
}));
|
|
30
|
+
`], { encoding: "utf8" });
|
|
31
|
+
assert.equal(child.status, 0, child.stderr.slice(-2_000));
|
|
32
|
+
const hex = (bytes) => Buffer.from(bytes).toString("hex");
|
|
33
|
+
// A type value's section names its well-known schema by reference, so the
|
|
34
|
+
// same bytes here mean the registry was whole in the child.
|
|
35
|
+
assert.deepEqual(JSON.parse(child.stdout), {
|
|
36
|
+
integer: hex(encodeBeast2For(IntegerType)(1n)),
|
|
37
|
+
type: hex(encodeBeast2For(EastTypeValueType)(toEastTypeValue(IntegerType))),
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=type-section.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-section.spec.js","sourceRoot":"","sources":["../../../../../src/serialization/beast2/v5/type-section.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE9E,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACtC,IAAI,CAAC,kFAAkF,EAAE,GAAG,EAAE;QAC5F,MAAM,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,qBAAq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
|
|
6
6
|
export * from "./binary-utils.js";
|
|
7
7
|
export * from "./beast.js";
|
|
8
|
-
export { encodeBeast2For, decodeBeast2For, decodeBeast2ForAsync, decodeBeast2, compileFunctionIR, compileAsyncFunctionIR, encodeEastIR, decodeEastIR, decodeAsyncEastIR, Beast2Writer, Beast2ElementWriter, encodeBeast2SegmentsFor, encodeBeast2PagedFor, iterBeast2SegmentsFor, Beast2Pages, openBeast2PagesFor, beast2HasIndex, readBeast2Type, readBeast2HeaderType, readBeast2Extents, readBeast2SegmentLogicalBytes, carveBeast2, spliceBeast2, rebuildBeast2, openBeast2LazyFor, isBeast2LazySafe, readBeast2ExtentsRanged, readBeast2ExtentsSync, isBeast2SyncRangeReader, carveBeast2Ranged, spliceBeast2Tail, spliceBeast2Segments, RUN_MAX_COUNT, RUN_MAX_BYTES, Beast2RunSorter, mergeBeast2For, recutBeast2For, decodeBeast2ElementsFor, intakeBeast2For, Beast2IntakeError, type Beast2IntakeOptions, type Beast2IntakeStats, type Beast2RunSink, type Beast2RunSorterOptions, type Beast2MergeSource, type Beast2MergeOptions, type Beast2MergeStats, type Beast2Segment, type Beast2SegmentSink, type Beast2SegmentRef, type Beast2RecutPiece, type Beast2RecutSink, type Beast2RecutOptions, type Beast2RecutStats, BEAST2_WRITE_VERSION, BEAST2_READ_VERSIONS, SEGMENT_MIN_COUNT, SEGMENT_TARGET_COUNT, SEGMENT_MAX_COUNT, SEGMENT_MIN_BYTES, SEGMENT_TARGET_BYTES, SEGMENT_MAX_BYTES, SEGMENT_RULE_KEYED, SEGMENT_RULE_ARRAY, SegmentCutter, fnv1a64, segmentBoundaryHash, isSegmentBoundary, startsSegmentAfter, segmentRuleFor, segmentKeyTypeOf, encodeBeast2FenceFor, decodeBeast2FenceFor, COLLECTION_MANIFEST_KIND, CollectionManifestType, CollectionManifestEntryType, type CollectionManifest, type CollectionManifestEntry, type Beast2ManifestSource, isCollectionManifestType, isCollectionManifest, isBeast2ManifestSource, encodeCollectionManifest, decodeCollectionManifest, readBeast2Manifest, manifestElementCount, manifestByteSize, Beast2ManifestWriter, type Beast2ManifestSink, sha256Hex, configureFramePool, type FramePoolSettings, type Beast2EncodeOptions, type Beast2DecodeOptions, type Beast2WriterOptions, type Beast2ElementWriterOptions, type Beast2ElementOf, type Beast2PagedEncodeOptions, type Beast2Codec, type Beast2Version, type Beast2Extents, type RebuildBeast2Options, type Beast2LazySafeOptions, type Beast2RangeReader, type Beast2SyncRangeReader, type Beast2RangedExtents, type ReadBeast2ExtentsRangedOptions, } from "./beast2/index.js";
|
|
8
|
+
export { encodeBeast2For, decodeBeast2For, decodeBeast2ForAsync, decodeBeast2, compileFunctionIR, compileAsyncFunctionIR, encodeEastIR, decodeEastIR, decodeAsyncEastIR, Beast2Writer, Beast2ElementWriter, encodeBeast2SegmentsFor, encodeBeast2PagedFor, iterBeast2SegmentsFor, Beast2Pages, openBeast2PagesFor, beast2HasIndex, readBeast2Type, readBeast2HeaderType, readBeast2Extents, readBeast2SegmentLogicalBytes, carveBeast2, spliceBeast2, rebuildBeast2, openBeast2LazyFor, isBeast2LazySafe, beast2LazyStats, readBeast2ExtentsRanged, readBeast2ExtentsSync, isBeast2SyncRangeReader, carveBeast2Ranged, spliceBeast2Tail, spliceBeast2Segments, RUN_MAX_COUNT, RUN_MAX_BYTES, Beast2RunSorter, mergeBeast2For, recutBeast2For, decodeBeast2ElementsFor, intakeBeast2For, Beast2IntakeError, type Beast2IntakeOptions, type Beast2IntakeStats, type Beast2RunSink, type Beast2RunSorterOptions, type Beast2MergeSource, type Beast2MergeOptions, type Beast2MergeStats, type Beast2Segment, type Beast2SegmentSink, type Beast2SegmentRef, type Beast2RecutPiece, type Beast2RecutSink, type Beast2RecutOptions, type Beast2RecutStats, BEAST2_WRITE_VERSION, BEAST2_READ_VERSIONS, SEGMENT_MIN_COUNT, SEGMENT_TARGET_COUNT, SEGMENT_MAX_COUNT, SEGMENT_MIN_BYTES, SEGMENT_TARGET_BYTES, SEGMENT_MAX_BYTES, SEGMENT_RULE_KEYED, SEGMENT_RULE_ARRAY, SegmentCutter, fnv1a64, segmentBoundaryHash, isSegmentBoundary, startsSegmentAfter, segmentRuleFor, segmentKeyTypeOf, encodeBeast2FenceFor, decodeBeast2FenceFor, COLLECTION_MANIFEST_KIND, CollectionManifestType, CollectionManifestEntryType, type CollectionManifest, type CollectionManifestEntry, type Beast2ManifestSource, isCollectionManifestType, isCollectionManifest, isBeast2ManifestSource, encodeCollectionManifest, decodeCollectionManifest, readBeast2Manifest, manifestElementCount, manifestByteSize, Beast2ManifestWriter, type Beast2ManifestSink, sha256Hex, configureFramePool, type FramePoolSettings, type Beast2EncodeOptions, type Beast2DecodeOptions, type Beast2WriterOptions, type Beast2ElementWriterOptions, type Beast2ElementOf, type Beast2PagedEncodeOptions, type Beast2Codec, type Beast2Version, type Beast2Extents, type RebuildBeast2Options, type Beast2LazySafeOptions, type Beast2LazyOptions, type Beast2LazyStats, type Beast2RangeReader, type Beast2SyncRangeReader, type Beast2RangedExtents, type ReadBeast2ExtentsRangedOptions, } from "./beast2/index.js";
|
|
9
9
|
export * from "./json.js";
|
|
10
10
|
export * from "./json_schema.js";
|
|
11
11
|
export * from "./json_schema_to_type.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/serialization/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,OAAO,EACL,eAAe,EAAE,eAAe,EAAE,oBAAoB,EAAE,YAAY,EACpE,iBAAiB,EAAE,sBAAsB,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EACxF,YAAY,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,WAAW,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,oBAAoB,EAC9L,iBAAiB,EAAE,6BAA6B,E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,EAAE,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,gBAAgB,EACpH,oBAAoB,EAAE,oBAAoB,EAC1C,wBAAwB,EAAE,sBAAsB,EAAE,2BAA2B,EAC7E,KAAK,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,KAAK,oBAAoB,EAChF,wBAAwB,EAAE,oBAAoB,EAAE,sBAAsB,EACtE,wBAAwB,EAAE,wBAAwB,EAAE,kBAAkB,EACtE,oBAAoB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAChG,kBAAkB,EAAE,KAAK,iBAAiB,EAC1C,KAAK,mBAAmB,EAAE,KAAK,mBAAmB,EAAE,KAAK,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,KAAK,eAAe,EACnI,KAAK,wBAAwB,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EACnE,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EACvH,KAAK,iBAAiB,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE,KAAK,8BAA8B,GAClH,MAAM,mBAAmB,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export * from "./east.js";
|
|
6
6
|
export * from "./binary-utils.js";
|
|
7
7
|
export * from "./beast.js";
|
|
8
|
-
export { encodeBeast2For, decodeBeast2For, decodeBeast2ForAsync, decodeBeast2, compileFunctionIR, compileAsyncFunctionIR, encodeEastIR, decodeEastIR, decodeAsyncEastIR, Beast2Writer, Beast2ElementWriter, encodeBeast2SegmentsFor, encodeBeast2PagedFor, iterBeast2SegmentsFor, Beast2Pages, openBeast2PagesFor, beast2HasIndex, readBeast2Type, readBeast2HeaderType, readBeast2Extents, readBeast2SegmentLogicalBytes, carveBeast2, spliceBeast2, rebuildBeast2, openBeast2LazyFor, isBeast2LazySafe, readBeast2ExtentsRanged, readBeast2ExtentsSync, isBeast2SyncRangeReader, carveBeast2Ranged, spliceBeast2Tail, spliceBeast2Segments, RUN_MAX_COUNT, RUN_MAX_BYTES, Beast2RunSorter, mergeBeast2For, recutBeast2For, decodeBeast2ElementsFor, intakeBeast2For, Beast2IntakeError, BEAST2_WRITE_VERSION, BEAST2_READ_VERSIONS, SEGMENT_MIN_COUNT, SEGMENT_TARGET_COUNT, SEGMENT_MAX_COUNT, SEGMENT_MIN_BYTES, SEGMENT_TARGET_BYTES, SEGMENT_MAX_BYTES, SEGMENT_RULE_KEYED, SEGMENT_RULE_ARRAY, SegmentCutter, fnv1a64, segmentBoundaryHash, isSegmentBoundary, startsSegmentAfter, segmentRuleFor, segmentKeyTypeOf, encodeBeast2FenceFor, decodeBeast2FenceFor, COLLECTION_MANIFEST_KIND, CollectionManifestType, CollectionManifestEntryType, isCollectionManifestType, isCollectionManifest, isBeast2ManifestSource, encodeCollectionManifest, decodeCollectionManifest, readBeast2Manifest, manifestElementCount, manifestByteSize, Beast2ManifestWriter, sha256Hex, configureFramePool, } from "./beast2/index.js";
|
|
8
|
+
export { encodeBeast2For, decodeBeast2For, decodeBeast2ForAsync, decodeBeast2, compileFunctionIR, compileAsyncFunctionIR, encodeEastIR, decodeEastIR, decodeAsyncEastIR, Beast2Writer, Beast2ElementWriter, encodeBeast2SegmentsFor, encodeBeast2PagedFor, iterBeast2SegmentsFor, Beast2Pages, openBeast2PagesFor, beast2HasIndex, readBeast2Type, readBeast2HeaderType, readBeast2Extents, readBeast2SegmentLogicalBytes, carveBeast2, spliceBeast2, rebuildBeast2, openBeast2LazyFor, isBeast2LazySafe, beast2LazyStats, readBeast2ExtentsRanged, readBeast2ExtentsSync, isBeast2SyncRangeReader, carveBeast2Ranged, spliceBeast2Tail, spliceBeast2Segments, RUN_MAX_COUNT, RUN_MAX_BYTES, Beast2RunSorter, mergeBeast2For, recutBeast2For, decodeBeast2ElementsFor, intakeBeast2For, Beast2IntakeError, BEAST2_WRITE_VERSION, BEAST2_READ_VERSIONS, SEGMENT_MIN_COUNT, SEGMENT_TARGET_COUNT, SEGMENT_MAX_COUNT, SEGMENT_MIN_BYTES, SEGMENT_TARGET_BYTES, SEGMENT_MAX_BYTES, SEGMENT_RULE_KEYED, SEGMENT_RULE_ARRAY, SegmentCutter, fnv1a64, segmentBoundaryHash, isSegmentBoundary, startsSegmentAfter, segmentRuleFor, segmentKeyTypeOf, encodeBeast2FenceFor, decodeBeast2FenceFor, COLLECTION_MANIFEST_KIND, CollectionManifestType, CollectionManifestEntryType, isCollectionManifestType, isCollectionManifest, isBeast2ManifestSource, encodeCollectionManifest, decodeCollectionManifest, readBeast2Manifest, manifestElementCount, manifestByteSize, Beast2ManifestWriter, sha256Hex, configureFramePool, } from "./beast2/index.js";
|
|
9
9
|
export * from "./json.js";
|
|
10
10
|
export * from "./json_schema.js";
|
|
11
11
|
export * from "./json_schema_to_type.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/serialization/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,OAAO,EACL,eAAe,EAAE,eAAe,EAAE,oBAAoB,EAAE,YAAY,EACpE,iBAAiB,EAAE,sBAAsB,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EACxF,YAAY,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,WAAW,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,oBAAoB,EAC9L,iBAAiB,EAAE,6BAA6B,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,
|
|
1
|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AAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AAEzB,qCAAqC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elaraai/east",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.84",
|
|
4
4
|
"description": "East is a simple and fast language used by Elara AI Pty Ltd.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"sorted-btree": "^1.8.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"typescript": ">=5.0.0"
|
|
56
|
+
"typescript": ">=5.0.0 <7"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"typescript": {
|