@holoscript/core 8.0.10 → 8.0.11
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/{HoloCompositionParser-UZH6Y4HO.cjs → HoloCompositionParser-3XEC7IJC.cjs} +11 -11
- package/dist/{HoloCompositionParser-K76KTEEE.js → HoloCompositionParser-FLBZKFD3.js} +4 -4
- package/dist/{HoloScriptPlusParser-FTMCGWXD.js → HoloScriptPlusParser-55AY4MUF.js} +4 -4
- package/dist/{HoloScriptPlusParser-LQR5GIKF.cjs → HoloScriptPlusParser-RNUCHOAJ.cjs} +7 -7
- package/dist/{chunk-BXSOEQI3.js → chunk-2TAN7H54.js} +3 -3
- package/dist/{chunk-NFFHLX37.cjs → chunk-3KMANSQJ.cjs} +4 -4
- package/dist/{chunk-5OUOMBKK.js → chunk-4VVHNBCO.js} +5 -5
- package/dist/{chunk-CANAL6CT.cjs → chunk-656IAS7B.cjs} +6 -6
- package/dist/{chunk-CM4NHXVO.cjs → chunk-7N63JHUN.cjs} +3 -3
- package/dist/{chunk-DBH3D2MU.js → chunk-7NPZZZD7.js} +3 -3
- package/dist/{chunk-Z6LZUYZF.js → chunk-CP7V3ATL.js} +7 -5
- package/dist/{chunk-6NTAZN5Z.cjs → chunk-EI5G5JLY.cjs} +5 -5
- package/dist/{chunk-SZOLTWWD.js → chunk-FHVPN7BN.js} +3 -3
- package/dist/{chunk-X75H75UY.cjs → chunk-J3UHV5T4.cjs} +4 -4
- package/dist/{chunk-OV6HHKLE.cjs → chunk-OIBRWLPY.cjs} +7 -5
- package/dist/{chunk-LHNHO27U.cjs → chunk-P534AGP5.cjs} +5 -5
- package/dist/{chunk-4Q7RKQQI.cjs → chunk-RMOEL2GD.cjs} +5 -5
- package/dist/{chunk-SE7ANBGN.js → chunk-TX6ZBIF4.js} +3 -3
- package/dist/{chunk-GIBF4BHH.js → chunk-TYNRXRHF.js} +5 -5
- package/dist/{chunk-C65C5VED.cjs → chunk-UDGTX7LY.cjs} +5 -5
- package/dist/{chunk-WKEK4NCA.js → chunk-USOUXQYD.js} +4 -4
- package/dist/{chunk-GP3OKSKT.js → chunk-VO52AJD5.js} +3 -3
- package/dist/cli/holoscript-runner.cjs +9 -9
- package/dist/cli/holoscript-runner.js +2 -2
- package/dist/compiler/incremental.cjs +6 -6
- package/dist/compiler/incremental.js +1 -1
- package/dist/compiler/index.cjs +79 -79
- package/dist/compiler/index.js +3 -3
- package/dist/entries/scripting.cjs +5 -5
- package/dist/entries/scripting.js +1 -1
- package/dist/evolution/index.cjs +16 -16
- package/dist/evolution/index.js +5 -5
- package/dist/index.cjs +184 -184
- package/dist/index.js +15 -15
- package/dist/parser.cjs +18 -18
- package/dist/parser.js +4 -4
- package/dist/reconstruction/index.cjs +38 -38
- package/dist/reconstruction/index.js +2 -2
- package/dist/traits/index.cjs +4 -4
- package/dist/traits/index.js +1 -1
- package/package.json +22 -22
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJ3UHV5T4_cjs = require('./chunk-J3UHV5T4.cjs');
|
|
4
4
|
require('./chunk-3VBO3IYQ.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-OIBRWLPY.cjs');
|
|
6
6
|
require('./chunk-OMNHTCS4.cjs');
|
|
7
7
|
require('./chunk-EI3J6LTW.cjs');
|
|
8
8
|
require('./chunk-36NPLOI4.cjs');
|
|
@@ -15,31 +15,31 @@ require('./chunk-ZHPMP447.cjs');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "HoloCompositionParser", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkJ3UHV5T4_cjs.HoloCompositionParser; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "KEYWORDS", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkJ3UHV5T4_cjs.KEYWORDS; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "LIGHT_PRIMITIVES", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkJ3UHV5T4_cjs.LIGHT_PRIMITIVES; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "PRIMITIVE_SHAPES", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkJ3UHV5T4_cjs.PRIMITIVE_SHAPES; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "parseHolo", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkJ3UHV5T4_cjs.parseHolo; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "parseHoloPartial", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkJ3UHV5T4_cjs.parseHoloPartial; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "parseHoloStrict", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkJ3UHV5T4_cjs.parseHoloStrict; }
|
|
43
43
|
});
|
|
44
|
-
//# sourceMappingURL=HoloCompositionParser-
|
|
45
|
-
//# sourceMappingURL=HoloCompositionParser-
|
|
44
|
+
//# sourceMappingURL=HoloCompositionParser-3XEC7IJC.cjs.map
|
|
45
|
+
//# sourceMappingURL=HoloCompositionParser-3XEC7IJC.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { HoloCompositionParser, KEYWORDS, LIGHT_PRIMITIVES, PRIMITIVE_SHAPES, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-
|
|
1
|
+
export { HoloCompositionParser, KEYWORDS, LIGHT_PRIMITIVES, PRIMITIVE_SHAPES, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-FHVPN7BN.js';
|
|
2
2
|
import './chunk-SYTRBGDS.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-CP7V3ATL.js';
|
|
4
4
|
import './chunk-JBYBMBMW.js';
|
|
5
5
|
import './chunk-2EGGAZT3.js';
|
|
6
6
|
import './chunk-YW3I2FQL.js';
|
|
@@ -8,5 +8,5 @@ import './chunk-7I74JWPW.js';
|
|
|
8
8
|
import './chunk-2I3XAGMF.js';
|
|
9
9
|
import './chunk-MD4IVS42.js';
|
|
10
10
|
import './chunk-W4GABFCR.js';
|
|
11
|
-
//# sourceMappingURL=HoloCompositionParser-
|
|
12
|
-
//# sourceMappingURL=HoloCompositionParser-
|
|
11
|
+
//# sourceMappingURL=HoloCompositionParser-FLBZKFD3.js.map
|
|
12
|
+
//# sourceMappingURL=HoloCompositionParser-FLBZKFD3.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { HoloScriptPlusParser, createParser, parse } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { HoloScriptPlusParser, createParser, parse } from './chunk-7NPZZZD7.js';
|
|
2
|
+
import './chunk-CP7V3ATL.js';
|
|
3
3
|
import './chunk-UNMVGZVW.js';
|
|
4
4
|
import './chunk-JBYBMBMW.js';
|
|
5
5
|
import './chunk-2EGGAZT3.js';
|
|
@@ -9,5 +9,5 @@ import './chunk-2I3XAGMF.js';
|
|
|
9
9
|
import './chunk-MD4IVS42.js';
|
|
10
10
|
import './chunk-63AUAIL6.js';
|
|
11
11
|
import './chunk-W4GABFCR.js';
|
|
12
|
-
//# sourceMappingURL=HoloScriptPlusParser-
|
|
13
|
-
//# sourceMappingURL=HoloScriptPlusParser-
|
|
12
|
+
//# sourceMappingURL=HoloScriptPlusParser-55AY4MUF.js.map
|
|
13
|
+
//# sourceMappingURL=HoloScriptPlusParser-55AY4MUF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk656IAS7B_cjs = require('./chunk-656IAS7B.cjs');
|
|
4
|
+
require('./chunk-OIBRWLPY.cjs');
|
|
5
5
|
require('./chunk-YP5CHEYU.cjs');
|
|
6
6
|
require('./chunk-OMNHTCS4.cjs');
|
|
7
7
|
require('./chunk-EI3J6LTW.cjs');
|
|
@@ -16,15 +16,15 @@ require('./chunk-ZHPMP447.cjs');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "HoloScriptPlusParser", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk656IAS7B_cjs.HoloScriptPlusParser; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "createParser", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk656IAS7B_cjs.createParser; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "parse", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk656IAS7B_cjs.parse; }
|
|
28
28
|
});
|
|
29
|
-
//# sourceMappingURL=HoloScriptPlusParser-
|
|
30
|
-
//# sourceMappingURL=HoloScriptPlusParser-
|
|
29
|
+
//# sourceMappingURL=HoloScriptPlusParser-RNUCHOAJ.cjs.map
|
|
30
|
+
//# sourceMappingURL=HoloScriptPlusParser-RNUCHOAJ.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-
|
|
1
|
+
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-4VVHNBCO.js';
|
|
2
2
|
|
|
3
3
|
// src/reconstruction/FusedAttentionKernel.ts
|
|
4
4
|
var FUSED_ATTENTION_WGSL = `
|
|
@@ -621,5 +621,5 @@ async function replayMobileSensorBundle(bundle, config = {}) {
|
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
export { ANCHOR_DEFAULTS, ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS, HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION, TRAJECTORY_DEFAULTS, arCoreDepthFrameToMobileSensorFrame, cameraPoseFromColumnMajorTransform, createAnchorContext, createArCoreDepthMobileSensorBundle, createFusedAttentionBackend, createTrajectoryMemory, mobileSensorBundleToFrames, replayMobileSensorBundle, validateMobileSensorBundle };
|
|
624
|
-
//# sourceMappingURL=chunk-
|
|
625
|
-
//# sourceMappingURL=chunk-
|
|
624
|
+
//# sourceMappingURL=chunk-2TAN7H54.js.map
|
|
625
|
+
//# sourceMappingURL=chunk-2TAN7H54.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk656IAS7B_cjs = require('./chunk-656IAS7B.cjs');
|
|
4
4
|
|
|
5
5
|
// src/parser/HsplusGrammar.ts
|
|
6
6
|
function normalizeHsplusGrammarErrors(errors) {
|
|
@@ -43,7 +43,7 @@ var TypeScriptHsplusGrammar = class {
|
|
|
43
43
|
return "typescript-hsplus";
|
|
44
44
|
}
|
|
45
45
|
parseWithTypeScript(source) {
|
|
46
|
-
const parser = new
|
|
46
|
+
const parser = new chunk656IAS7B_cjs.HoloScriptPlusParser(this.options);
|
|
47
47
|
return parser.parse(source);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -128,5 +128,5 @@ var GrammarModuleRegistry = new GrammarModuleRegistryImpl();
|
|
|
128
128
|
exports.GrammarModuleRegistry = GrammarModuleRegistry;
|
|
129
129
|
exports.TypeScriptHsplusGrammar = TypeScriptHsplusGrammar;
|
|
130
130
|
exports.normalizeHsplusGrammarErrors = normalizeHsplusGrammarErrors;
|
|
131
|
-
//# sourceMappingURL=chunk-
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
131
|
+
//# sourceMappingURL=chunk-3KMANSQJ.cjs.map
|
|
132
|
+
//# sourceMappingURL=chunk-3KMANSQJ.cjs.map
|
|
@@ -2,9 +2,9 @@ import { computeHoloMapReplayFingerprint } from './chunk-WNNE3PO3.js';
|
|
|
2
2
|
import { isWebGpuEnvironmentPresent, HOLOMAP_SIMULATION_CONTRACT_KIND } from './chunk-K56UVEXV.js';
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
|
-
var HOLOSCRIPT_VERSION = "8.0.
|
|
6
|
-
var GIT_COMMIT_SHA = "
|
|
7
|
-
var BUILD_TIMESTAMP = "2026-07-
|
|
5
|
+
var HOLOSCRIPT_VERSION = "8.0.11" ;
|
|
6
|
+
var GIT_COMMIT_SHA = "e8c1e9a08" ;
|
|
7
|
+
var BUILD_TIMESTAMP = "2026-07-05T22:43:10.568Z" ;
|
|
8
8
|
function getVersionString() {
|
|
9
9
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
10
10
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -3247,5 +3247,5 @@ function createHoloMapRuntime(_config) {
|
|
|
3247
3247
|
}
|
|
3248
3248
|
|
|
3249
3249
|
export { BUILD_TIMESTAMP, GIT_COMMIT_SHA, HOLOMAP_DEFAULTS, HOLOMAP_DENSE_PROOF_DEFAULTS, HOLOSCRIPT_VERSION, anchorReconstructionManifest, assertWeightCid, computeReconstructionManifestDigest, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, createPagedKVCache, deserializeMicroWeights, frameToMicroImage, getCachedWeightBlob, getVersionInfo, getVersionString, loadHoloMapWeightBlob, logHoloMapEvent, mergeAnchoredProvenance, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, selfAttestReconstructionManifest, serializeMicroWeights, stripAnchoredProvenance, tryCreateHoloMapEncoderDevice };
|
|
3250
|
-
//# sourceMappingURL=chunk-
|
|
3251
|
-
//# sourceMappingURL=chunk-
|
|
3250
|
+
//# sourceMappingURL=chunk-4VVHNBCO.js.map
|
|
3251
|
+
//# sourceMappingURL=chunk-4VVHNBCO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOIBRWLPY_cjs = require('./chunk-OIBRWLPY.cjs');
|
|
4
4
|
var chunkYP5CHEYU_cjs = require('./chunk-YP5CHEYU.cjs');
|
|
5
5
|
var chunkOMNHTCS4_cjs = require('./chunk-OMNHTCS4.cjs');
|
|
6
6
|
var chunkEI3J6LTW_cjs = require('./chunk-EI3J6LTW.cjs');
|
|
@@ -1822,7 +1822,7 @@ var HoloScriptPlusParser = class _HoloScriptPlusParser {
|
|
|
1822
1822
|
this.hasVRTraits = false;
|
|
1823
1823
|
this.hasControlFlow = false;
|
|
1824
1824
|
this.compiledExpressions = /* @__PURE__ */ new Map();
|
|
1825
|
-
this.errorRecovery = new
|
|
1825
|
+
this.errorRecovery = new chunkOIBRWLPY_cjs.ErrorRecovery();
|
|
1826
1826
|
/**
|
|
1827
1827
|
* Internal incremental parser for parseIncremental.
|
|
1828
1828
|
* Uses ChunkBasedIncrementalParser with AST-aware chunking and
|
|
@@ -1848,7 +1848,7 @@ var HoloScriptPlusParser = class _HoloScriptPlusParser {
|
|
|
1848
1848
|
getQuickFixes() {
|
|
1849
1849
|
const fixes = /* @__PURE__ */ new Map();
|
|
1850
1850
|
for (const error of this.errors) {
|
|
1851
|
-
const errorFixes =
|
|
1851
|
+
const errorFixes = chunkOIBRWLPY_cjs.generateQuickFixes(
|
|
1852
1852
|
{
|
|
1853
1853
|
code: error.code,
|
|
1854
1854
|
message: error.message,
|
|
@@ -1869,7 +1869,7 @@ var HoloScriptPlusParser = class _HoloScriptPlusParser {
|
|
|
1869
1869
|
*/
|
|
1870
1870
|
getEnrichedErrors() {
|
|
1871
1871
|
return this.errors.map(
|
|
1872
|
-
(error) =>
|
|
1872
|
+
(error) => chunkOIBRWLPY_cjs.enrichErrorWithSuggestions(
|
|
1873
1873
|
{
|
|
1874
1874
|
code: error.code,
|
|
1875
1875
|
message: error.message,
|
|
@@ -6285,5 +6285,5 @@ exports.getSourceContext = getSourceContext;
|
|
|
6285
6285
|
exports.globalParseCache = globalParseCache;
|
|
6286
6286
|
exports.parse = parse;
|
|
6287
6287
|
exports.parseIncrementalChunks = parseIncrementalChunks;
|
|
6288
|
-
//# sourceMappingURL=chunk-
|
|
6289
|
-
//# sourceMappingURL=chunk-
|
|
6288
|
+
//# sourceMappingURL=chunk-656IAS7B.cjs.map
|
|
6289
|
+
//# sourceMappingURL=chunk-656IAS7B.cjs.map
|
|
@@ -727,7 +727,7 @@ var ImportResolver = class {
|
|
|
727
727
|
throw new Error(`File not found: '${canonicalPath}' (imported from '${importedBy}')`);
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-
|
|
730
|
+
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-RNUCHOAJ.cjs');
|
|
731
731
|
const parser = new HoloScriptPlusParser({ enableTypeScriptImports: true });
|
|
732
732
|
const result = parser.parse(source);
|
|
733
733
|
if (!result.success && result.errors.length > 0) {
|
|
@@ -2011,5 +2011,5 @@ exports.createIncrementalCompiler = createIncrementalCompiler;
|
|
|
2011
2011
|
exports.deserializeCache = deserializeCache;
|
|
2012
2012
|
exports.globalTraitGraph = globalTraitGraph;
|
|
2013
2013
|
exports.serializeCache = serializeCache;
|
|
2014
|
-
//# sourceMappingURL=chunk-
|
|
2015
|
-
//# sourceMappingURL=chunk-
|
|
2014
|
+
//# sourceMappingURL=chunk-7N63JHUN.cjs.map
|
|
2015
|
+
//# sourceMappingURL=chunk-7N63JHUN.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ErrorRecovery, generateQuickFixes, enrichErrorWithSuggestions } from './chunk-
|
|
1
|
+
import { ErrorRecovery, generateQuickFixes, enrichErrorWithSuggestions } from './chunk-CP7V3ATL.js';
|
|
2
2
|
import { isBrainKeyword, isCognitiveVerb, nearestCognitiveVerb } from './chunk-UNMVGZVW.js';
|
|
3
3
|
import { LIFECYCLE_HOOKS, STRUCTURAL_DIRECTIVES } from './chunk-JBYBMBMW.js';
|
|
4
4
|
import { VR_TRAITS } from './chunk-2EGGAZT3.js';
|
|
@@ -6247,5 +6247,5 @@ function parse(source, options) {
|
|
|
6247
6247
|
}
|
|
6248
6248
|
|
|
6249
6249
|
export { ChunkBasedIncrementalParser, HSPLUS_ERROR_CODES, HoloScriptPlusParser, ParseCache, createKeywordError, createParser, createRichError, createTraitError, findSimilarKeyword, findSimilarTrait, formatRichError, formatRichErrors, getErrorCodeDocumentation, getSourceContext, globalParseCache, parse, parseIncrementalChunks };
|
|
6250
|
-
//# sourceMappingURL=chunk-
|
|
6251
|
-
//# sourceMappingURL=chunk-
|
|
6250
|
+
//# sourceMappingURL=chunk-7NPZZZD7.js.map
|
|
6251
|
+
//# sourceMappingURL=chunk-7NPZZZD7.js.map
|
|
@@ -46,7 +46,9 @@ var VALID_GEOMETRIES = [
|
|
|
46
46
|
"sparkles",
|
|
47
47
|
"particles"
|
|
48
48
|
];
|
|
49
|
-
|
|
49
|
+
function validTraits() {
|
|
50
|
+
return [...VR_TRAITS];
|
|
51
|
+
}
|
|
50
52
|
var COMMON_PROPERTIES = [
|
|
51
53
|
"position",
|
|
52
54
|
"rotation",
|
|
@@ -142,7 +144,7 @@ var ErrorRecovery = class {
|
|
|
142
144
|
* SSOT set when provided, otherwise the built-in `VALID_TRAITS` fallback.
|
|
143
145
|
*/
|
|
144
146
|
traitCandidates() {
|
|
145
|
-
return this.knownTraits ? [...this.knownTraits] :
|
|
147
|
+
return this.knownTraits ? [...this.knownTraits] : validTraits();
|
|
146
148
|
}
|
|
147
149
|
/**
|
|
148
150
|
* Create an enhanced error with suggestions
|
|
@@ -392,7 +394,7 @@ function enrichErrorWithSuggestions(error, source, knownTraits) {
|
|
|
392
394
|
if (error.suggestions && error.suggestions.length > 0) {
|
|
393
395
|
return error;
|
|
394
396
|
}
|
|
395
|
-
const traitCandidates = knownTraits ? [...knownTraits] :
|
|
397
|
+
const traitCandidates = knownTraits ? [...knownTraits] : validTraits();
|
|
396
398
|
const suggestions = [];
|
|
397
399
|
switch (error.code) {
|
|
398
400
|
case "UNKNOWN_TRAIT":
|
|
@@ -522,5 +524,5 @@ var HOLOSCHEMA_GEOMETRIES = VALID_GEOMETRIES;
|
|
|
522
524
|
var HOLOSCHEMA_PROPERTIES = COMMON_PROPERTIES;
|
|
523
525
|
|
|
524
526
|
export { ErrorRecovery, HOLOSCHEMA_GEOMETRIES, HOLOSCHEMA_KEYWORDS, HOLOSCHEMA_PROPERTIES, enrichErrorWithSuggestions, generateQuickFixes };
|
|
525
|
-
//# sourceMappingURL=chunk-
|
|
526
|
-
//# sourceMappingURL=chunk-
|
|
527
|
+
//# sourceMappingURL=chunk-CP7V3ATL.js.map
|
|
528
|
+
//# sourceMappingURL=chunk-CP7V3ATL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkJ3UHV5T4_cjs = require('./chunk-J3UHV5T4.cjs');
|
|
4
|
+
var chunk656IAS7B_cjs = require('./chunk-656IAS7B.cjs');
|
|
5
5
|
|
|
6
6
|
// src/evolution/EvolveProgramBackend.ts
|
|
7
7
|
async function sha256Hex(s) {
|
|
@@ -345,7 +345,7 @@ var CORPUS_PORTFOLIO = [
|
|
|
345
345
|
];
|
|
346
346
|
function parsesClean(src, format) {
|
|
347
347
|
try {
|
|
348
|
-
const r = format === "holo" ?
|
|
348
|
+
const r = format === "holo" ? chunkJ3UHV5T4_cjs.parseHolo(src) : chunk656IAS7B_cjs.parse(src);
|
|
349
349
|
return Boolean(r.success && r.ast) && (r.errors?.length ?? 0) === 0;
|
|
350
350
|
} catch {
|
|
351
351
|
return false;
|
|
@@ -498,5 +498,5 @@ exports.runEvolution = runEvolution;
|
|
|
498
498
|
exports.scoreWasmCompilerArtifact = scoreWasmCompilerArtifact;
|
|
499
499
|
exports.toGradedTraceRow = toGradedTraceRow;
|
|
500
500
|
exports.wasmFitnessBaselineFromScenario = wasmFitnessBaselineFromScenario;
|
|
501
|
-
//# sourceMappingURL=chunk-
|
|
502
|
-
//# sourceMappingURL=chunk-
|
|
501
|
+
//# sourceMappingURL=chunk-EI5G5JLY.cjs.map
|
|
502
|
+
//# sourceMappingURL=chunk-EI5G5JLY.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parsePipeline } from './chunk-SYTRBGDS.js';
|
|
2
|
-
import { ErrorRecovery } from './chunk-
|
|
2
|
+
import { ErrorRecovery } from './chunk-CP7V3ATL.js';
|
|
3
3
|
|
|
4
4
|
// src/parser/TypoDetector.ts
|
|
5
5
|
var TypoDetector = class {
|
|
@@ -7875,5 +7875,5 @@ function parseHoloPartial(source, options) {
|
|
|
7875
7875
|
}
|
|
7876
7876
|
|
|
7877
7877
|
export { HoloCompositionParser, KEYWORDS, LIGHT_PRIMITIVES, PRIMITIVE_SHAPES, parseHolo, parseHoloPartial, parseHoloStrict };
|
|
7878
|
-
//# sourceMappingURL=chunk-
|
|
7879
|
-
//# sourceMappingURL=chunk-
|
|
7878
|
+
//# sourceMappingURL=chunk-FHVPN7BN.js.map
|
|
7879
|
+
//# sourceMappingURL=chunk-FHVPN7BN.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk3VBO3IYQ_cjs = require('./chunk-3VBO3IYQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkOIBRWLPY_cjs = require('./chunk-OIBRWLPY.cjs');
|
|
5
5
|
|
|
6
6
|
// src/parser/TypoDetector.ts
|
|
7
7
|
var TypoDetector = class {
|
|
@@ -1088,7 +1088,7 @@ var _HoloCompositionParser = class _HoloCompositionParser {
|
|
|
1088
1088
|
strict: false,
|
|
1089
1089
|
...options
|
|
1090
1090
|
};
|
|
1091
|
-
this.errorRecovery = new
|
|
1091
|
+
this.errorRecovery = new chunkOIBRWLPY_cjs.ErrorRecovery(this.options.knownTraits);
|
|
1092
1092
|
}
|
|
1093
1093
|
/**
|
|
1094
1094
|
* The error-recovery engine for this parser, seeded with the injected
|
|
@@ -7883,5 +7883,5 @@ exports.PRIMITIVE_SHAPES = PRIMITIVE_SHAPES;
|
|
|
7883
7883
|
exports.parseHolo = parseHolo;
|
|
7884
7884
|
exports.parseHoloPartial = parseHoloPartial;
|
|
7885
7885
|
exports.parseHoloStrict = parseHoloStrict;
|
|
7886
|
-
//# sourceMappingURL=chunk-
|
|
7887
|
-
//# sourceMappingURL=chunk-
|
|
7886
|
+
//# sourceMappingURL=chunk-J3UHV5T4.cjs.map
|
|
7887
|
+
//# sourceMappingURL=chunk-J3UHV5T4.cjs.map
|
|
@@ -48,7 +48,9 @@ var VALID_GEOMETRIES = [
|
|
|
48
48
|
"sparkles",
|
|
49
49
|
"particles"
|
|
50
50
|
];
|
|
51
|
-
|
|
51
|
+
function validTraits() {
|
|
52
|
+
return [...chunkEI3J6LTW_cjs.VR_TRAITS];
|
|
53
|
+
}
|
|
52
54
|
var COMMON_PROPERTIES = [
|
|
53
55
|
"position",
|
|
54
56
|
"rotation",
|
|
@@ -144,7 +146,7 @@ var ErrorRecovery = class {
|
|
|
144
146
|
* SSOT set when provided, otherwise the built-in `VALID_TRAITS` fallback.
|
|
145
147
|
*/
|
|
146
148
|
traitCandidates() {
|
|
147
|
-
return this.knownTraits ? [...this.knownTraits] :
|
|
149
|
+
return this.knownTraits ? [...this.knownTraits] : validTraits();
|
|
148
150
|
}
|
|
149
151
|
/**
|
|
150
152
|
* Create an enhanced error with suggestions
|
|
@@ -394,7 +396,7 @@ function enrichErrorWithSuggestions(error, source, knownTraits) {
|
|
|
394
396
|
if (error.suggestions && error.suggestions.length > 0) {
|
|
395
397
|
return error;
|
|
396
398
|
}
|
|
397
|
-
const traitCandidates = knownTraits ? [...knownTraits] :
|
|
399
|
+
const traitCandidates = knownTraits ? [...knownTraits] : validTraits();
|
|
398
400
|
const suggestions = [];
|
|
399
401
|
switch (error.code) {
|
|
400
402
|
case "UNKNOWN_TRAIT":
|
|
@@ -529,5 +531,5 @@ exports.HOLOSCHEMA_KEYWORDS = HOLOSCHEMA_KEYWORDS;
|
|
|
529
531
|
exports.HOLOSCHEMA_PROPERTIES = HOLOSCHEMA_PROPERTIES;
|
|
530
532
|
exports.enrichErrorWithSuggestions = enrichErrorWithSuggestions;
|
|
531
533
|
exports.generateQuickFixes = generateQuickFixes;
|
|
532
|
-
//# sourceMappingURL=chunk-
|
|
533
|
-
//# sourceMappingURL=chunk-
|
|
534
|
+
//# sourceMappingURL=chunk-OIBRWLPY.cjs.map
|
|
535
|
+
//# sourceMappingURL=chunk-OIBRWLPY.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUDGTX7LY_cjs = require('./chunk-UDGTX7LY.cjs');
|
|
4
4
|
|
|
5
5
|
// src/reconstruction/FusedAttentionKernel.ts
|
|
6
6
|
var FUSED_ATTENTION_WGSL = `
|
|
@@ -587,9 +587,9 @@ function mobileSensorBundleToFrames(bundle) {
|
|
|
587
587
|
}
|
|
588
588
|
async function replayMobileSensorBundle(bundle, config = {}) {
|
|
589
589
|
const frames = mobileSensorBundleToFrames(bundle);
|
|
590
|
-
const runtime =
|
|
590
|
+
const runtime = chunkUDGTX7LY_cjs.createHoloMapRuntime();
|
|
591
591
|
await runtime.init({
|
|
592
|
-
...
|
|
592
|
+
...chunkUDGTX7LY_cjs.HOLOMAP_DEFAULTS,
|
|
593
593
|
seed: 0,
|
|
594
594
|
modelHash: bundle.bundleId,
|
|
595
595
|
videoHash: bundle.bundleId,
|
|
@@ -635,5 +635,5 @@ exports.createTrajectoryMemory = createTrajectoryMemory;
|
|
|
635
635
|
exports.mobileSensorBundleToFrames = mobileSensorBundleToFrames;
|
|
636
636
|
exports.replayMobileSensorBundle = replayMobileSensorBundle;
|
|
637
637
|
exports.validateMobileSensorBundle = validateMobileSensorBundle;
|
|
638
|
-
//# sourceMappingURL=chunk-
|
|
639
|
-
//# sourceMappingURL=chunk-
|
|
638
|
+
//# sourceMappingURL=chunk-P534AGP5.cjs.map
|
|
639
|
+
//# sourceMappingURL=chunk-P534AGP5.cjs.map
|
|
@@ -1452,8 +1452,8 @@ var init_LlamaServerCompiler = chunkZHPMP447_cjs.__esm({
|
|
|
1452
1452
|
node: "laptop-rtx3060"
|
|
1453
1453
|
};
|
|
1454
1454
|
DEFAULT_HOLO_PATCHED_EXECUTABLES = {
|
|
1455
|
-
windows: "C:\\Users\\josep\\Documents\\GitHub\\llama.cpp\\build\\bin\\llama-server.exe",
|
|
1456
|
-
linux: "/opt/holoscript/llama.cpp/build/bin/llama-server"
|
|
1455
|
+
windows: "C:\\Users\\josep\\Documents\\GitHub\\llama.cpp\\build-holo\\bin\\Release\\llama-server.exe",
|
|
1456
|
+
linux: "/opt/holoscript/llama.cpp/build-holo/bin/llama-server"
|
|
1457
1457
|
};
|
|
1458
1458
|
exports.LlamaServerCompiler = class extends chunkZK7KX5CD_cjs.CompilerBase {
|
|
1459
1459
|
constructor(opts = {}) {
|
|
@@ -13472,7 +13472,7 @@ var CompilerBridge = class {
|
|
|
13472
13472
|
if (this.initialized) return;
|
|
13473
13473
|
try {
|
|
13474
13474
|
const [parserModule, compilerModule] = await Promise.all([
|
|
13475
|
-
import('./HoloScriptPlusParser-
|
|
13475
|
+
import('./HoloScriptPlusParser-RNUCHOAJ.cjs'),
|
|
13476
13476
|
import('./SceneIRCompiler-KWUFHZ4O.cjs')
|
|
13477
13477
|
]);
|
|
13478
13478
|
this.modules = {
|
|
@@ -14191,5 +14191,5 @@ exports.selectModalityForAll = selectModalityForAll;
|
|
|
14191
14191
|
exports.spatialPartition = spatialPartition;
|
|
14192
14192
|
exports.streamWorldTiles = streamWorldTiles;
|
|
14193
14193
|
exports.uniformProvenance = uniformProvenance;
|
|
14194
|
-
//# sourceMappingURL=chunk-
|
|
14195
|
-
//# sourceMappingURL=chunk-
|
|
14194
|
+
//# sourceMappingURL=chunk-RMOEL2GD.cjs.map
|
|
14195
|
+
//# sourceMappingURL=chunk-RMOEL2GD.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HoloScriptPlusParser } from './chunk-
|
|
1
|
+
import { HoloScriptPlusParser } from './chunk-7NPZZZD7.js';
|
|
2
2
|
|
|
3
3
|
// src/parser/HsplusGrammar.ts
|
|
4
4
|
function normalizeHsplusGrammarErrors(errors) {
|
|
@@ -124,5 +124,5 @@ var GrammarModuleRegistryImpl = class {
|
|
|
124
124
|
var GrammarModuleRegistry = new GrammarModuleRegistryImpl();
|
|
125
125
|
|
|
126
126
|
export { GrammarModuleRegistry, TypeScriptHsplusGrammar, normalizeHsplusGrammarErrors };
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-TX6ZBIF4.js.map
|
|
128
|
+
//# sourceMappingURL=chunk-TX6ZBIF4.js.map
|
|
@@ -1450,8 +1450,8 @@ var init_LlamaServerCompiler = __esm({
|
|
|
1450
1450
|
node: "laptop-rtx3060"
|
|
1451
1451
|
};
|
|
1452
1452
|
DEFAULT_HOLO_PATCHED_EXECUTABLES = {
|
|
1453
|
-
windows: "C:\\Users\\josep\\Documents\\GitHub\\llama.cpp\\build\\bin\\llama-server.exe",
|
|
1454
|
-
linux: "/opt/holoscript/llama.cpp/build/bin/llama-server"
|
|
1453
|
+
windows: "C:\\Users\\josep\\Documents\\GitHub\\llama.cpp\\build-holo\\bin\\Release\\llama-server.exe",
|
|
1454
|
+
linux: "/opt/holoscript/llama.cpp/build-holo/bin/llama-server"
|
|
1455
1455
|
};
|
|
1456
1456
|
LlamaServerCompiler = class extends CompilerBase {
|
|
1457
1457
|
constructor(opts = {}) {
|
|
@@ -13470,7 +13470,7 @@ var CompilerBridge = class {
|
|
|
13470
13470
|
if (this.initialized) return;
|
|
13471
13471
|
try {
|
|
13472
13472
|
const [parserModule, compilerModule] = await Promise.all([
|
|
13473
|
-
import('./HoloScriptPlusParser-
|
|
13473
|
+
import('./HoloScriptPlusParser-55AY4MUF.js'),
|
|
13474
13474
|
import('./SceneIRCompiler-63KA3M2F.js')
|
|
13475
13475
|
]);
|
|
13476
13476
|
this.modules = {
|
|
@@ -14094,5 +14094,5 @@ function compilePipelineSource(source, options = {}) {
|
|
|
14094
14094
|
}
|
|
14095
14095
|
|
|
14096
14096
|
export { A2AAgentCardCompiler, BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CodeEditorCompiler, CompileTimeAuthorityEffectError, CompilerBridge, CrossRealityTraitRegistry, DEFAULT_MATERIAL_KEYWORDS, DEFAULT_OBJECT_KEYWORDS, DEFAULT_PRIMITIVE_SHAPES, DialectRegistry, EFFECT_TO_CAPABILITY, EdgeCompiler, EmbodiedDatasetCompiler, FMUCompiler, GaussianSplattingCompiler, GaussianTrainCompiler, GaussianTrainConfigError, HANDOFF_PATH_RULES, HOLOMAP_CAPTURE_DEFAULT_PROVENANCE, HOLOSCRIPT_GRAMMAR_PRESETS, HoloMCPCompiler, LinearTypeChecker, LlamaServerCompiler, MJCFCompiler, MJXCompiler, MVC_BUDGET_CONSTRAINTS, NIRCompiler, NextJSAPICompiler, NodeServiceCompiler, OmnigentAgentYamlCompiler, PCGGraphCompiler, PCG_GRAPH_SCHEMA, PLATFORM_BUDGETS, PLATFORM_EMBODIMENT_OVERRIDES, POINT_PROVENANCE_CLASS_BY_CODE, POINT_PROVENANCE_CODE, PROVENANCE_RECEIPT_VERSION, REMOTE_TRAIN_EXECUTOR, REQUIRED_SANDBOX_AUTHORITY_EFFECT, ResourceBudgetAnalyzer, SANDBOX_AUTHORITY_TRAIT, SCMCompiler, SDKCompiler, SHARED_SORT_SHADER_PATH, SOVEREIGN_TRAIN_EXECUTOR, SVGCompiler, SpatialPartitionPass, TRAIT_RESOURCE_COSTS, TRAIT_RESOURCE_MAP, TRUST_LEVEL_CAPABILITIES, ThreeDTilesCompiler, USDZPipeline, absorbFMU, assertAuthorityEffects, bestCategoryForTraits, buildProvenanceReceipt, buildSafetyReport, checkAuthorityEffects, checkCapabilities, collectAuthorityEffectNodes, compileAllToNextJSAPI, compilePCGGraphFromBlocks, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, compileTo3DTiles, compileToFMU, compileToNextJSAPI, compileToPCGGraph, createCrossRealityTraitRegistry, createGaussianSplattingCompiler, createGaussianTrainCompiler, createOmnigentAgentYamlCompiler, createThreeDTilesCompiler, densifyByInterpolation, deriveRequirements, detectMultiUserSharedSort, ensureDialectsBooted, expandCapabilities, formatReport, generateCertificate, generateHoloScriptGbnf, getCompilerBridge, getCrossRealityTraitRegistry, init_A2AAgentCardCompiler, init_DialectRegistry, init_EmbodiedDatasetCompiler, init_HoloMCPCompiler, init_LlamaServerCompiler, init_MJCFCompiler, init_MJXCompiler, init_NIRCompiler, init_NextJSAPICompiler, init_NodeServiceCompiler, init_OmnigentAgentYamlCompiler, init_PCGGraphCompiler, init_SDKCompiler, init_holoscript_gbnf, init_registerBuiltinDialects, isHoloScriptGrammarPreset, pcgGraphToUnrealXml, provenanceClassToCode, provenanceCodeToClass, provenanceHistogram, quickSafetyCheck, registerBuiltinDialects, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition, streamWorldTiles, uniformProvenance };
|
|
14097
|
-
//# sourceMappingURL=chunk-
|
|
14098
|
-
//# sourceMappingURL=chunk-
|
|
14097
|
+
//# sourceMappingURL=chunk-TYNRXRHF.js.map
|
|
14098
|
+
//# sourceMappingURL=chunk-TYNRXRHF.js.map
|
|
@@ -4,9 +4,9 @@ var chunkLM2VU56C_cjs = require('./chunk-LM2VU56C.cjs');
|
|
|
4
4
|
var chunkN2ILK7BF_cjs = require('./chunk-N2ILK7BF.cjs');
|
|
5
5
|
|
|
6
6
|
// src/version.ts
|
|
7
|
-
var HOLOSCRIPT_VERSION = "8.0.
|
|
8
|
-
var GIT_COMMIT_SHA = "
|
|
9
|
-
var BUILD_TIMESTAMP = "2026-07-
|
|
7
|
+
var HOLOSCRIPT_VERSION = "8.0.11" ;
|
|
8
|
+
var GIT_COMMIT_SHA = "e8c1e9a08" ;
|
|
9
|
+
var BUILD_TIMESTAMP = "2026-07-05T22:43:10.568Z" ;
|
|
10
10
|
function getVersionString() {
|
|
11
11
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
12
12
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -3276,5 +3276,5 @@ exports.selfAttestReconstructionManifest = selfAttestReconstructionManifest;
|
|
|
3276
3276
|
exports.serializeMicroWeights = serializeMicroWeights;
|
|
3277
3277
|
exports.stripAnchoredProvenance = stripAnchoredProvenance;
|
|
3278
3278
|
exports.tryCreateHoloMapEncoderDevice = tryCreateHoloMapEncoderDevice;
|
|
3279
|
-
//# sourceMappingURL=chunk-
|
|
3280
|
-
//# sourceMappingURL=chunk-
|
|
3279
|
+
//# sourceMappingURL=chunk-UDGTX7LY.cjs.map
|
|
3280
|
+
//# sourceMappingURL=chunk-UDGTX7LY.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parseHolo } from './chunk-
|
|
2
|
-
import { parse } from './chunk-
|
|
1
|
+
import { parseHolo } from './chunk-FHVPN7BN.js';
|
|
2
|
+
import { parse } from './chunk-7NPZZZD7.js';
|
|
3
3
|
|
|
4
4
|
// src/evolution/EvolveProgramBackend.ts
|
|
5
5
|
async function sha256Hex(s) {
|
|
@@ -486,5 +486,5 @@ function makeWasmCompilerFitnessGate(compileCandidate, opts = {}) {
|
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
export { CORPUS_PORTFOLIO, accrueOneStep, dedupRows, makeOllamaProposer, makeSeedGate, makeWasmCompilerFitnessGate, parsesClean, runEvolution, scoreWasmCompilerArtifact, toGradedTraceRow, wasmFitnessBaselineFromScenario };
|
|
489
|
-
//# sourceMappingURL=chunk-
|
|
490
|
-
//# sourceMappingURL=chunk-
|
|
489
|
+
//# sourceMappingURL=chunk-USOUXQYD.js.map
|
|
490
|
+
//# sourceMappingURL=chunk-USOUXQYD.js.map
|
|
@@ -725,7 +725,7 @@ var ImportResolver = class {
|
|
|
725
725
|
throw new Error(`File not found: '${canonicalPath}' (imported from '${importedBy}')`);
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
|
-
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-
|
|
728
|
+
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-55AY4MUF.js');
|
|
729
729
|
const parser = new HoloScriptPlusParser({ enableTypeScriptImports: true });
|
|
730
730
|
const result = parser.parse(source);
|
|
731
731
|
if (!result.success && result.errors.length > 0) {
|
|
@@ -2003,5 +2003,5 @@ var UnauthorizedIncrementalCompilerAccessError = class extends UnauthorizedCompi
|
|
|
2003
2003
|
};
|
|
2004
2004
|
|
|
2005
2005
|
export { IncrementalCompiler, TraitDependencyGraph, UnauthorizedIncrementalCompilerAccessError, createIncrementalCompiler, deserializeCache, globalTraitGraph, serializeCache };
|
|
2006
|
-
//# sourceMappingURL=chunk-
|
|
2007
|
-
//# sourceMappingURL=chunk-
|
|
2006
|
+
//# sourceMappingURL=chunk-VO52AJD5.js.map
|
|
2007
|
+
//# sourceMappingURL=chunk-VO52AJD5.js.map
|
|
@@ -5,8 +5,8 @@ var chunkQVJMDVYZ_cjs = require('../chunk-QVJMDVYZ.cjs');
|
|
|
5
5
|
var chunk37HHY7RH_cjs = require('../chunk-37HHY7RH.cjs');
|
|
6
6
|
var chunkXHIV6326_cjs = require('../chunk-XHIV6326.cjs');
|
|
7
7
|
var chunkR75BSDH7_cjs = require('../chunk-R75BSDH7.cjs');
|
|
8
|
-
var
|
|
9
|
-
require('../chunk-
|
|
8
|
+
var chunk656IAS7B_cjs = require('../chunk-656IAS7B.cjs');
|
|
9
|
+
require('../chunk-OIBRWLPY.cjs');
|
|
10
10
|
require('../chunk-YP5CHEYU.cjs');
|
|
11
11
|
require('../chunk-OMNHTCS4.cjs');
|
|
12
12
|
require('../chunk-EI3J6LTW.cjs');
|
|
@@ -717,7 +717,7 @@ async function runScript(opts) {
|
|
|
717
717
|
const source = fs__namespace.readFileSync(filePath, "utf-8");
|
|
718
718
|
const ext = path__namespace.extname(filePath);
|
|
719
719
|
console.log(`[holoscript] Running ${path__namespace.basename(filePath)} (target: ${opts.target})`);
|
|
720
|
-
const parseResult =
|
|
720
|
+
const parseResult = chunk656IAS7B_cjs.parse(source);
|
|
721
721
|
const ast = parseResult.ast;
|
|
722
722
|
if (opts.debug) {
|
|
723
723
|
console.log(`[holoscript] Parsed ${ast.body?.length || 0} top-level nodes`);
|
|
@@ -781,7 +781,7 @@ async function runScript(opts) {
|
|
|
781
781
|
console.log(`[holoscript] Re-running ${path__namespace.basename(filePath)}...`);
|
|
782
782
|
try {
|
|
783
783
|
const newSource = fs__namespace.readFileSync(filePath, "utf-8");
|
|
784
|
-
const newParseResult =
|
|
784
|
+
const newParseResult = chunk656IAS7B_cjs.parse(newSource);
|
|
785
785
|
const newAst = newParseResult.ast;
|
|
786
786
|
const newRuntime = createHeadlessRuntime(newAst, {
|
|
787
787
|
profile: opts.profile === "headless" ? HEADLESS_PROFILE : getProfile(opts.profile),
|
|
@@ -817,7 +817,7 @@ async function testScript(opts) {
|
|
|
817
817
|
}
|
|
818
818
|
const source = fs__namespace.readFileSync(filePath, "utf-8");
|
|
819
819
|
console.log(`[holoscript test] Running tests in ${path__namespace.basename(filePath)}`);
|
|
820
|
-
const parseResult =
|
|
820
|
+
const parseResult = chunk656IAS7B_cjs.parse(source);
|
|
821
821
|
const ast = parseResult.ast;
|
|
822
822
|
const { createHeadlessRuntime, HEADLESS_PROFILE } = await loadEngineRuntime();
|
|
823
823
|
const profile = HEADLESS_PROFILE;
|
|
@@ -900,7 +900,7 @@ function compileScript(opts) {
|
|
|
900
900
|
}
|
|
901
901
|
console.log(`[holoscript compile] @gotcha check passed (no critical violations)`);
|
|
902
902
|
}
|
|
903
|
-
const compileResult =
|
|
903
|
+
const compileResult = chunk656IAS7B_cjs.parse(source);
|
|
904
904
|
if (!compileResult.success) {
|
|
905
905
|
console.error(`[holoscript compile] Failed to parse: ${compileResult.errors?.[0]?.message}`);
|
|
906
906
|
process.exit(1);
|
|
@@ -979,7 +979,7 @@ async function deployScript(opts) {
|
|
|
979
979
|
const fileName = path__namespace.basename(filePath);
|
|
980
980
|
const title = path__namespace.basename(filePath, path__namespace.extname(filePath));
|
|
981
981
|
console.log(`Parsing ${fileName}...`);
|
|
982
|
-
const ast =
|
|
982
|
+
const ast = chunk656IAS7B_cjs.parse(source);
|
|
983
983
|
if (ast.errors && ast.errors.length > 0) {
|
|
984
984
|
console.error("Parse errors:");
|
|
985
985
|
for (const err of ast.errors) {
|
|
@@ -1344,7 +1344,7 @@ async function daemonScript(opts) {
|
|
|
1344
1344
|
const { createDaemonActions, getDaemonFileState } = await import('@holoscript/absorb-service/daemon');
|
|
1345
1345
|
const repoRoot = findGitRoot(path__namespace.dirname(filePath));
|
|
1346
1346
|
const source = fs__namespace.readFileSync(filePath, "utf-8");
|
|
1347
|
-
const parseResult =
|
|
1347
|
+
const parseResult = chunk656IAS7B_cjs.parse(source);
|
|
1348
1348
|
if (!parseResult.success || !parseResult.ast) {
|
|
1349
1349
|
const errors = parseResult.errors?.map((e) => e.message).join(", ") || "unknown";
|
|
1350
1350
|
console.error(`[daemon] Parse failed: ${errors}`);
|
|
@@ -1911,7 +1911,7 @@ async function holoMeshDaemonScript(opts) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
const rawSource = fs__namespace.readFileSync(filePath, "utf-8");
|
|
1913
1913
|
const source = rawSource.replace(/^#(version|target|mode)\s+.*/gm, "");
|
|
1914
|
-
const parseResult =
|
|
1914
|
+
const parseResult = chunk656IAS7B_cjs.parse(source);
|
|
1915
1915
|
if (!parseResult.success || !parseResult.ast) {
|
|
1916
1916
|
const errors = parseResult.errors?.map((e) => e.message).join(", ") || "unknown";
|
|
1917
1917
|
console.error(`[holomesh-daemon] Parse failed: ${errors}`);
|