@holoscript/core 8.0.13 → 8.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/bin/holo-decision.mjs +133 -0
- package/dist/{GLTFPipeline-L76YTXKA.js → GLTFPipeline-6LS3UDYX.js} +6 -6
- package/dist/{GLTFPipeline-ZWJN7GI6.cjs → GLTFPipeline-VTI6PRRQ.cjs} +10 -10
- package/dist/{HoloCompositionParser-P4Y3CXKQ.js → HoloCompositionParser-GILABNN3.js} +4 -4
- package/dist/{HoloCompositionParser-6GW2BZID.cjs → HoloCompositionParser-ZVRYVEA5.cjs} +11 -11
- package/dist/{HoloScriptPlusParser-RFNHRMPE.cjs → HoloScriptPlusParser-WTPRPRPR.cjs} +7 -7
- package/dist/{HoloScriptPlusParser-HQV6IJAH.js → HoloScriptPlusParser-ZP53ECSL.js} +4 -4
- package/dist/{SceneIRCompiler-KWUFHZ4O.cjs → SceneIRCompiler-7KQ5NKAU.cjs} +11 -11
- package/dist/{SceneIRCompiler-63KA3M2F.js → SceneIRCompiler-VX75RB6H.js} +6 -6
- package/dist/{chunk-EM2OGPYE.js → chunk-2GKF7JQ6.js} +3 -3
- package/dist/{chunk-HVX7QQYK.js → chunk-3KHRZTNW.js} +3 -3
- package/dist/{chunk-UTUD6GJI.js → chunk-42Z3SVHQ.js} +3 -3
- package/dist/{chunk-A4OOLBZD.js → chunk-47XZ62KM.js} +5 -5
- package/dist/{chunk-GGR7QUKK.cjs → chunk-4CRMVEON.cjs} +37 -37
- package/dist/{chunk-QBY7LRN2.js → chunk-4NEPHK2K.js} +3 -3
- package/dist/{chunk-65S62L4D.cjs → chunk-5B2AJKA5.cjs} +20 -20
- package/dist/{chunk-PJFTTSKE.js → chunk-5T6BWIB7.js} +4 -4
- package/dist/{chunk-KFVNCW4Q.js → chunk-62OYZT6Q.js} +3 -3
- package/dist/{chunk-Y57AVOM2.cjs → chunk-645EWDZW.cjs} +4 -4
- package/dist/{chunk-BP4KTMLY.js → chunk-6FCNMTL5.js} +4 -4
- package/dist/{chunk-77QI552M.js → chunk-73EDVY5D.js} +3 -3
- package/dist/{chunk-7IDJDMPU.cjs → chunk-7FYSSI3C.cjs} +27 -2
- package/dist/{chunk-WNYXT4TE.cjs → chunk-7ITJP33Q.cjs} +3 -3
- package/dist/chunk-7ZKQ32XK.js +1571 -0
- package/dist/{chunk-P7JEKJTZ.cjs → chunk-B6JHTTMR.cjs} +25 -14
- package/dist/{chunk-FG6PYGIZ.js → chunk-BLCWQ225.js} +4 -4
- package/dist/{chunk-FRSKLX6I.js → chunk-C73GVAYC.js} +10 -7
- package/dist/{chunk-PXVAPGTR.cjs → chunk-CESMPUEZ.cjs} +3774 -1138
- package/dist/{chunk-SQXAZHDG.js → chunk-CHIZSMWD.js} +3 -3
- package/dist/{chunk-G35CAQ7I.cjs → chunk-D44CEFY4.cjs} +5 -5
- package/dist/{chunk-TC7JEO6R.cjs → chunk-ERYKKPHW.cjs} +711 -52
- package/dist/{chunk-DJ5BNRIS.js → chunk-EYHPTJ3F.js} +3675 -1046
- package/dist/{chunk-J3UHV5T4.cjs → chunk-FGXJPJ3W.cjs} +4 -4
- package/dist/{chunk-IJU6AS67.cjs → chunk-FHR2AVMA.cjs} +23 -23
- package/dist/{chunk-LMB555QB.cjs → chunk-FOM36K5I.cjs} +18 -18
- package/dist/{chunk-ZRPALBQB.cjs → chunk-GGH3ZYDB.cjs} +5 -5
- package/dist/{chunk-2BYAUHBO.js → chunk-GI5YYZH6.js} +3 -3
- package/dist/{chunk-VTEXJOSD.cjs → chunk-GYJLP4BO.cjs} +30 -30
- package/dist/{chunk-OC6GV5QH.cjs → chunk-HCONR4J6.cjs} +38 -38
- package/dist/{chunk-B3CWTCK2.js → chunk-IA7FCSRY.js} +27 -2
- package/dist/{chunk-5FYMCVBY.js → chunk-IXFNA5TT.js} +4 -4
- package/dist/{chunk-G6KACNMO.js → chunk-JCVSCKUH.js} +4 -4
- package/dist/{chunk-FHVPN7BN.js → chunk-JQCXLKAU.js} +3 -3
- package/dist/{chunk-F3YT6GUF.cjs → chunk-KLM6QD6D.cjs} +14 -14
- package/dist/{chunk-UGQ3QNV6.js → chunk-KOGPVAP6.js} +24 -8
- package/dist/{chunk-CKV5NYAE.js → chunk-KYJD2UMV.js} +4 -4
- package/dist/{chunk-LB3ZZMKT.cjs → chunk-L4DBUX3N.cjs} +10 -10
- package/dist/{chunk-RXQNRZ5F.js → chunk-LGRKBTPM.js} +3 -3
- package/dist/{chunk-PDXX5UI4.cjs → chunk-LQNL3IYV.cjs} +38 -38
- package/dist/{chunk-WWNCM473.js → chunk-M7XR3F53.js} +4 -4
- package/dist/{chunk-IFW5IW4L.cjs → chunk-ML4V5PVU.cjs} +670 -627
- package/dist/{chunk-Q4K2GEMW.cjs → chunk-N7IYRAFG.cjs} +13 -10
- package/dist/chunk-N7MIIDLI.cjs +1605 -0
- package/dist/{chunk-G6EKZHXY.js → chunk-NWKARJM2.js} +4 -4
- package/dist/{chunk-VVAAZITA.cjs → chunk-OOP4S3GU.cjs} +5 -5
- package/dist/{chunk-U3D4SYQ5.js → chunk-ORBVCOTC.js} +3 -3
- package/dist/{chunk-RRQIAJLQ.cjs → chunk-OSKGCXAQ.cjs} +5 -5
- package/dist/{chunk-QEDMOGF3.cjs → chunk-P65OIMJT.cjs} +7 -7
- package/dist/{chunk-QM7FJB5W.js → chunk-PSWCJQS4.js} +4 -4
- package/dist/{chunk-RZ2EPXO3.cjs → chunk-PZ46WRHX.cjs} +8 -8
- package/dist/{chunk-AATYYLYK.js → chunk-Q4J2K7FI.js} +16 -5
- package/dist/{chunk-ONPVM4IV.js → chunk-QLPRI3QW.js} +698 -45
- package/dist/{chunk-WTH23ISI.js → chunk-R5VKLUMR.js} +4 -4
- package/dist/{chunk-NQN5LFN4.cjs → chunk-REN3LHO6.cjs} +19 -19
- package/dist/{chunk-JEJ7TT54.js → chunk-RVN7OPCP.js} +4 -4
- package/dist/{chunk-ZK7KX5CD.cjs → chunk-SE2Y5BSL.cjs} +6 -6
- package/dist/{chunk-2X3IPCBK.cjs → chunk-SKVBUGMC.cjs} +7 -7
- package/dist/{chunk-GZPUA2TL.cjs → chunk-SNMQUWIO.cjs} +10 -10
- package/dist/{chunk-OIBRWLPY.cjs → chunk-TKDDIE3T.cjs} +54 -3
- package/dist/{chunk-SQAAWO4V.cjs → chunk-TMNAKNV2.cjs} +5 -5
- package/dist/{chunk-5LVFTGKH.js → chunk-TZQKJOPC.js} +3 -3
- package/dist/{chunk-TSTFYGGX.js → chunk-UKEK2NZJ.js} +3 -3
- package/dist/{chunk-3IUHTGDD.cjs → chunk-VA7THINF.cjs} +38 -38
- package/dist/{chunk-Z557DVYN.js → chunk-VMCR5QVI.js} +4 -4
- package/dist/{chunk-IS7NTKY5.cjs → chunk-VTFLKSJL.cjs} +14 -14
- package/dist/{chunk-RVNXBF2M.js → chunk-VXHB6ZHY.js} +4 -4
- package/dist/{chunk-S4O7CFHQ.cjs → chunk-VZI7S7P6.cjs} +7 -7
- package/dist/{chunk-BQJ3YBF3.js → chunk-W4AJMMQR.js} +667 -628
- package/dist/{chunk-2KKOYZYI.cjs → chunk-XZC75AJ4.cjs} +5 -5
- package/dist/{chunk-FWCHPCD4.js → chunk-Y2OCKXVD.js} +4 -4
- package/dist/{chunk-XF63CZ7E.cjs → chunk-YBM34FUJ.cjs} +6 -6
- package/dist/{chunk-DUG3OQAS.js → chunk-YDSNDCV3.js} +3 -3
- package/dist/{chunk-566ZB4LZ.cjs → chunk-YM7UUYR5.cjs} +5 -5
- package/dist/{chunk-BCP4E7MD.cjs → chunk-YMI3ED3B.cjs} +26 -10
- package/dist/{chunk-CP7V3ATL.js → chunk-Z7NUL73U.js} +51 -4
- package/dist/cli/holoscript-runner.cjs +10 -10
- package/dist/cli/holoscript-runner.js +3 -3
- package/dist/compiler/agent-inference.cjs +8 -8
- package/dist/compiler/agent-inference.js +4 -4
- package/dist/compiler/android-xr.cjs +7 -7
- package/dist/compiler/android-xr.js +5 -5
- package/dist/compiler/android.cjs +6 -6
- package/dist/compiler/android.js +4 -4
- package/dist/compiler/context.cjs +6 -6
- package/dist/compiler/context.js +3 -3
- package/dist/compiler/daimon-seed.cjs +9 -9
- package/dist/compiler/daimon-seed.js +4 -4
- package/dist/compiler/domain-block-utils.cjs +165 -165
- package/dist/compiler/domain-block-utils.js +4 -4
- package/dist/compiler/dtdl.cjs +7 -7
- package/dist/compiler/dtdl.js +4 -4
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +6 -6
- package/dist/compiler/godot.js +5 -5
- package/dist/compiler/incremental.cjs +8 -8
- package/dist/compiler/incremental.js +3 -3
- package/dist/compiler/index.cjs +871 -207
- package/dist/compiler/index.d.ts +21 -1
- package/dist/compiler/index.js +696 -60
- package/dist/compiler/ios.cjs +6 -6
- package/dist/compiler/ios.js +4 -4
- package/dist/compiler/llm-provider-capabilities.cjs +6 -6
- package/dist/compiler/llm-provider-capabilities.js +3 -3
- package/dist/compiler/openxr.cjs +6 -6
- package/dist/compiler/openxr.js +5 -5
- package/dist/compiler/sdf.cjs +7 -7
- package/dist/compiler/sdf.js +5 -5
- package/dist/compiler/state.cjs +6 -6
- package/dist/compiler/state.js +4 -4
- package/dist/compiler/trait-composition.cjs +7 -7
- package/dist/compiler/trait-composition.js +3 -3
- package/dist/compiler/unity.cjs +6 -6
- package/dist/compiler/unity.js +5 -5
- package/dist/compiler/unreal.cjs +7 -7
- package/dist/compiler/unreal.js +5 -5
- package/dist/compiler/urdf.cjs +14 -14
- package/dist/compiler/urdf.js +5 -5
- package/dist/compiler/usd-physics.cjs +7 -7
- package/dist/compiler/usd-physics.js +4 -4
- package/dist/compiler/visionos.cjs +6 -6
- package/dist/compiler/visionos.js +5 -5
- package/dist/compiler/vrchat.cjs +7 -7
- package/dist/compiler/vrchat.js +5 -5
- package/dist/compiler/wasm.cjs +10 -10
- package/dist/compiler/wasm.js +5 -5
- package/dist/compiler/webgpu.cjs +6 -6
- package/dist/compiler/webgpu.js +5 -5
- package/dist/entries/scripting.cjs +5 -5
- package/dist/entries/scripting.js +1 -1
- package/dist/evolution/index.cjs +17 -17
- package/dist/evolution/index.js +5 -5
- package/dist/index.cjs +915 -704
- package/dist/index.d.ts +70 -5
- package/dist/index.js +191 -108
- package/dist/parser.cjs +18 -18
- package/dist/parser.js +4 -4
- package/dist/reconstruction/index.cjs +127 -38
- package/dist/reconstruction/index.d.ts +159 -0
- package/dist/reconstruction/index.js +11 -2
- package/dist/runtime.d.ts +1 -0
- package/dist/traitDocs/traitDocs.cjs +8 -8
- package/dist/traitDocs/traitDocs.js +2 -2
- package/dist/traits/index.cjs +566 -471
- package/dist/traits/index.js +93 -11
- package/package.json +20 -16
- package/dist/chunk-DVHZD5HV.cjs +0 -639
- package/dist/chunk-G72754QB.js +0 -625
package/README.md
CHANGED
|
@@ -248,6 +248,20 @@ Two MCP layers:
|
|
|
248
248
|
|
|
249
249
|
> **Note**: "Extension" has multiple meanings in the codebase — plugin extensions (`ExtensionRegistry`), glTF extensions (`GLTFTrait`), LSP file extensions (`ImportResolver.EXTENSIONS`), and OpenXR required extensions. See [Extension System Architecture](../../docs/architecture/EXTENSION_SYSTEM.md).
|
|
250
250
|
|
|
251
|
+
## Package boundary & release posture
|
|
252
|
+
|
|
253
|
+
`@holoscript/core` is the foundational **public** library for external developers and agent
|
|
254
|
+
frameworks building on HoloScript: the parser, AST, trait system, identity, physics, and the
|
|
255
|
+
`compile_to_*` compiler surface. It is a library — it ships no server, no founder-local workspace,
|
|
256
|
+
and no baked credentials. Where a compiler emits an operational default (e.g. a serving endpoint or
|
|
257
|
+
a trace directory), that value is **caller-owned**: you bring your own via the compiler's config
|
|
258
|
+
options and environment variables, and any host/path in a generated artifact is a generic reference,
|
|
259
|
+
**not the package default**.
|
|
260
|
+
|
|
261
|
+
**Known limitations:** the compiler target set is broad but evolving; some targets are v0-preview and
|
|
262
|
+
their emitted contracts may change before the v1 release. Validate a target's output with the
|
|
263
|
+
package's own checks (e.g. `pnpm test` / the consumption gate) before depending on it in production.
|
|
264
|
+
|
|
251
265
|
## License
|
|
252
266
|
|
|
253
267
|
MIT
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// holo-decision — feed and render the agent decision-network cognition surface.
|
|
3
|
+
//
|
|
4
|
+
// holo-decision record --log <f.jsonl> --id <id> --label <text> [--receipt t]
|
|
5
|
+
// [--status s] [--causes a,b] [--agent claude|codex]
|
|
6
|
+
// holo-decision render --log <f.jsonl> --out <f.svg|f.png> [--title t]
|
|
7
|
+
// holo-decision watch --log <f.jsonl> --out <f.svg|f.png> [--title t]
|
|
8
|
+
//
|
|
9
|
+
// A shared JSONL log is the LIVE stream: Claude and Codex both `record` into the same
|
|
10
|
+
// file (via this bin or the holoscript pypi client); `watch` re-renders on every append,
|
|
11
|
+
// so the thought network draws itself while the agents work. Native (sovereign SVGCompiler),
|
|
12
|
+
// receipt-bound, $0 local.
|
|
13
|
+
|
|
14
|
+
import fs from 'node:fs';
|
|
15
|
+
import path from 'node:path';
|
|
16
|
+
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
17
|
+
|
|
18
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
19
|
+
const CORE = pathToFileURL(path.resolve(__dirname, '../dist/index.js')).href;
|
|
20
|
+
|
|
21
|
+
function parseArgs(argv) {
|
|
22
|
+
const a = {};
|
|
23
|
+
for (let i = 0; i < argv.length; i += 1) {
|
|
24
|
+
if (argv[i].startsWith('--')) {
|
|
25
|
+
const k = argv[i].slice(2);
|
|
26
|
+
const v = argv[i + 1] && !argv[i + 1].startsWith('--') ? argv[++i] : 'true';
|
|
27
|
+
a[k] = v;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return a;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function readLog(logPath) {
|
|
34
|
+
if (!fs.existsSync(logPath)) return [];
|
|
35
|
+
return fs
|
|
36
|
+
.readFileSync(logPath, 'utf8')
|
|
37
|
+
.split(/\r?\n/)
|
|
38
|
+
.filter((l) => l.trim())
|
|
39
|
+
.map((l, i) => {
|
|
40
|
+
try {
|
|
41
|
+
return JSON.parse(l);
|
|
42
|
+
} catch {
|
|
43
|
+
process.stderr.write(`skip malformed log line ${i + 1}\n`);
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
})
|
|
47
|
+
.filter(Boolean);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
async function renderTo(events, outPath, title) {
|
|
51
|
+
const { renderDecisionSvg } = await import(CORE);
|
|
52
|
+
const svg = renderDecisionSvg(events, title ? { title } : {});
|
|
53
|
+
const svgPath = outPath.replace(/\.png$/i, '.svg');
|
|
54
|
+
fs.mkdirSync(path.dirname(path.resolve(svgPath)), { recursive: true });
|
|
55
|
+
fs.writeFileSync(svgPath, svg, 'utf8');
|
|
56
|
+
let pngNote = '';
|
|
57
|
+
if (/\.png$/i.test(outPath)) {
|
|
58
|
+
try {
|
|
59
|
+
const sharp = (await import('sharp')).default;
|
|
60
|
+
await sharp(Buffer.from(svg), { density: 180 }).png().toFile(outPath);
|
|
61
|
+
pngNote = ` + ${path.basename(outPath)}`;
|
|
62
|
+
} catch {
|
|
63
|
+
pngNote = ' (sharp not installed → SVG only)';
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return { svgPath, note: pngNote, nodes: events.length };
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
async function main() {
|
|
70
|
+
const [cmd, ...rest] = process.argv.slice(2);
|
|
71
|
+
const args = parseArgs(rest);
|
|
72
|
+
|
|
73
|
+
if (cmd === 'record') {
|
|
74
|
+
if (!args.log || !args.id || !args.label) {
|
|
75
|
+
console.error('record needs --log --id --label');
|
|
76
|
+
process.exit(2);
|
|
77
|
+
}
|
|
78
|
+
const ev = {
|
|
79
|
+
id: args.id,
|
|
80
|
+
label: args.label,
|
|
81
|
+
...(args.receipt ? { receipt: args.receipt } : {}),
|
|
82
|
+
...(args.status ? { status: args.status } : {}),
|
|
83
|
+
...(args.causes ? { causes: args.causes.split(',').map((s) => s.trim()).filter(Boolean) } : {}),
|
|
84
|
+
...(args.agent ? { agent: args.agent } : {}),
|
|
85
|
+
...(args.seq ? { seq: Number(args.seq) } : {}),
|
|
86
|
+
};
|
|
87
|
+
fs.mkdirSync(path.dirname(path.resolve(args.log)), { recursive: true });
|
|
88
|
+
fs.appendFileSync(args.log, JSON.stringify(ev) + '\n', 'utf8');
|
|
89
|
+
console.log(`recorded ${ev.id} -> ${args.log}`);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (cmd === 'render') {
|
|
94
|
+
if (!args.log || !args.out) {
|
|
95
|
+
console.error('render needs --log --out');
|
|
96
|
+
process.exit(2);
|
|
97
|
+
}
|
|
98
|
+
const r = await renderTo(readLog(args.log), args.out, args.title);
|
|
99
|
+
console.log(`rendered ${r.nodes} nodes -> ${r.svgPath}${r.note}`);
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (cmd === 'watch') {
|
|
104
|
+
if (!args.log || !args.out) {
|
|
105
|
+
console.error('watch needs --log --out');
|
|
106
|
+
process.exit(2);
|
|
107
|
+
}
|
|
108
|
+
const rerender = async () => {
|
|
109
|
+
try {
|
|
110
|
+
const r = await renderTo(readLog(args.log), args.out, args.title);
|
|
111
|
+
console.log(`[watch] ${new Date().toISOString?.() ?? ''} ${r.nodes} nodes -> ${r.svgPath}${r.note}`);
|
|
112
|
+
} catch (e) {
|
|
113
|
+
console.error('[watch] render error:', e.message);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
await rerender();
|
|
117
|
+
let t = null;
|
|
118
|
+
fs.watchFile(args.log, { interval: 500 }, () => {
|
|
119
|
+
clearTimeout(t);
|
|
120
|
+
t = setTimeout(rerender, 150);
|
|
121
|
+
});
|
|
122
|
+
console.log(`[watch] watching ${args.log} — Ctrl-C to stop`);
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
console.error('usage: holo-decision <record|render|watch> --log <f> [...]');
|
|
127
|
+
process.exit(2);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
main().catch((e) => {
|
|
131
|
+
console.error(e?.stack || e?.message || String(e));
|
|
132
|
+
process.exit(1);
|
|
133
|
+
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-
|
|
1
|
+
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-Y2OCKXVD.js';
|
|
2
2
|
import './chunk-UDE4OZMR.js';
|
|
3
3
|
import './chunk-3F7ZZWIN.js';
|
|
4
4
|
import './chunk-2MQKNDNH.js';
|
|
5
5
|
import './chunk-ZVQMKUGJ.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-TZQKJOPC.js';
|
|
7
7
|
import './chunk-UCVZXQ63.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-YDSNDCV3.js';
|
|
9
|
+
import './chunk-IA7FCSRY.js';
|
|
10
10
|
import './chunk-5CURIYGT.js';
|
|
11
11
|
import './chunk-33YHE7HX.js';
|
|
12
12
|
import './chunk-RAN3ECAS.js';
|
|
13
13
|
import './chunk-W4GABFCR.js';
|
|
14
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
15
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
14
|
+
//# sourceMappingURL=GLTFPipeline-6LS3UDYX.js.map
|
|
15
|
+
//# sourceMappingURL=GLTFPipeline-6LS3UDYX.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkL4DBUX3N_cjs = require('./chunk-L4DBUX3N.cjs');
|
|
4
4
|
require('./chunk-FT6TDR2O.cjs');
|
|
5
5
|
require('./chunk-LDYZWNJW.cjs');
|
|
6
6
|
require('./chunk-KROXXBK5.cjs');
|
|
7
7
|
require('./chunk-QQFB4RT2.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-P65OIMJT.cjs');
|
|
9
9
|
require('./chunk-VHORVGCG.cjs');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-SE2Y5BSL.cjs');
|
|
11
|
+
require('./chunk-7FYSSI3C.cjs');
|
|
12
12
|
require('./chunk-CI33NINL.cjs');
|
|
13
13
|
require('./chunk-VW5CRJBE.cjs');
|
|
14
14
|
require('./chunk-Q47JEE2C.cjs');
|
|
@@ -18,19 +18,19 @@ require('./chunk-ZHPMP447.cjs');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "GLTFPipeline", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkL4DBUX3N_cjs.GLTFPipeline; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "createGLTFPipeline", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkL4DBUX3N_cjs.createGLTFPipeline; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateScaleNormalMap", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkL4DBUX3N_cjs.generateScaleNormalMap; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateScaleTexture", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkL4DBUX3N_cjs.generateScaleTexture; }
|
|
34
34
|
});
|
|
35
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
36
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
35
|
+
//# sourceMappingURL=GLTFPipeline-VTI6PRRQ.cjs.map
|
|
36
|
+
//# sourceMappingURL=GLTFPipeline-VTI6PRRQ.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-JQCXLKAU.js';
|
|
2
2
|
import './chunk-SYTRBGDS.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-Z7NUL73U.js';
|
|
4
4
|
import './chunk-FWKEY4LD.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-GILABNN3.js.map
|
|
12
|
+
//# sourceMappingURL=HoloCompositionParser-GILABNN3.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFGXJPJ3W_cjs = require('./chunk-FGXJPJ3W.cjs');
|
|
4
4
|
require('./chunk-3VBO3IYQ.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-TKDDIE3T.cjs');
|
|
6
6
|
require('./chunk-LHUDAJQT.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 chunkFGXJPJ3W_cjs.HoloCompositionParser; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "KEYWORDS", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkFGXJPJ3W_cjs.KEYWORDS; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "LIGHT_PRIMITIVES", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkFGXJPJ3W_cjs.LIGHT_PRIMITIVES; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "PRIMITIVE_SHAPES", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkFGXJPJ3W_cjs.PRIMITIVE_SHAPES; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "parseHolo", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkFGXJPJ3W_cjs.parseHolo; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "parseHoloPartial", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkFGXJPJ3W_cjs.parseHoloPartial; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "parseHoloStrict", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkFGXJPJ3W_cjs.parseHoloStrict; }
|
|
43
43
|
});
|
|
44
|
-
//# sourceMappingURL=HoloCompositionParser-
|
|
45
|
-
//# sourceMappingURL=HoloCompositionParser-
|
|
44
|
+
//# sourceMappingURL=HoloCompositionParser-ZVRYVEA5.cjs.map
|
|
45
|
+
//# sourceMappingURL=HoloCompositionParser-ZVRYVEA5.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkN7IYRAFG_cjs = require('./chunk-N7IYRAFG.cjs');
|
|
4
|
+
require('./chunk-TKDDIE3T.cjs');
|
|
5
5
|
require('./chunk-YP5CHEYU.cjs');
|
|
6
6
|
require('./chunk-LHUDAJQT.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 chunkN7IYRAFG_cjs.HoloScriptPlusParser; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "createParser", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkN7IYRAFG_cjs.createParser; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "parse", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkN7IYRAFG_cjs.parse; }
|
|
28
28
|
});
|
|
29
|
-
//# sourceMappingURL=HoloScriptPlusParser-
|
|
30
|
-
//# sourceMappingURL=HoloScriptPlusParser-
|
|
29
|
+
//# sourceMappingURL=HoloScriptPlusParser-WTPRPRPR.cjs.map
|
|
30
|
+
//# sourceMappingURL=HoloScriptPlusParser-WTPRPRPR.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { HoloScriptPlusParser, createParser, parse } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { HoloScriptPlusParser, createParser, parse } from './chunk-C73GVAYC.js';
|
|
2
|
+
import './chunk-Z7NUL73U.js';
|
|
3
3
|
import './chunk-UNMVGZVW.js';
|
|
4
4
|
import './chunk-FWKEY4LD.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-ZP53ECSL.js.map
|
|
13
|
+
//# sourceMappingURL=HoloScriptPlusParser-ZP53ECSL.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4CRMVEON_cjs = require('./chunk-4CRMVEON.cjs');
|
|
4
4
|
require('./chunk-KROXXBK5.cjs');
|
|
5
5
|
require('./chunk-YKY2JBER.cjs');
|
|
6
6
|
require('./chunk-QQFB4RT2.cjs');
|
|
7
7
|
require('./chunk-ENZCIQZC.cjs');
|
|
8
8
|
require('./chunk-V6GXFSK7.cjs');
|
|
9
9
|
require('./chunk-TZCFKZ6Z.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-P65OIMJT.cjs');
|
|
11
11
|
require('./chunk-VHORVGCG.cjs');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-SE2Y5BSL.cjs');
|
|
13
|
+
require('./chunk-7FYSSI3C.cjs');
|
|
14
14
|
require('./chunk-CI33NINL.cjs');
|
|
15
15
|
require('./chunk-HCX4SMFK.cjs');
|
|
16
16
|
require('./chunk-Q47JEE2C.cjs');
|
|
@@ -20,23 +20,23 @@ require('./chunk-ZHPMP447.cjs');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "ENVIRONMENT_PRESETS", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk4CRMVEON_cjs.ENVIRONMENT_PRESETS; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "MATERIAL_PRESETS", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk4CRMVEON_cjs.MATERIAL_PRESETS; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "QUALITY_TIER_SCALES", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk4CRMVEON_cjs.QUALITY_TIER_SCALES; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "SceneIRCompiler", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk4CRMVEON_cjs.SceneIRCompiler; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "UI_COMPONENT_PRESETS", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk4CRMVEON_cjs.UI_COMPONENT_PRESETS; }
|
|
40
40
|
});
|
|
41
|
-
//# sourceMappingURL=SceneIRCompiler-
|
|
42
|
-
//# sourceMappingURL=SceneIRCompiler-
|
|
41
|
+
//# sourceMappingURL=SceneIRCompiler-7KQ5NKAU.cjs.map
|
|
42
|
+
//# sourceMappingURL=SceneIRCompiler-7KQ5NKAU.cjs.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, SceneIRCompiler, UI_COMPONENT_PRESETS } from './chunk-
|
|
1
|
+
export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, SceneIRCompiler, UI_COMPONENT_PRESETS } from './chunk-PSWCJQS4.js';
|
|
2
2
|
import './chunk-2MQKNDNH.js';
|
|
3
3
|
import './chunk-6TRX6AR2.js';
|
|
4
4
|
import './chunk-ZVQMKUGJ.js';
|
|
5
5
|
import './chunk-VKCTYLDN.js';
|
|
6
6
|
import './chunk-DQRJ5RJG.js';
|
|
7
7
|
import './chunk-DJNH4HFW.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-TZQKJOPC.js';
|
|
9
9
|
import './chunk-UCVZXQ63.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-YDSNDCV3.js';
|
|
11
|
+
import './chunk-IA7FCSRY.js';
|
|
12
12
|
import './chunk-5CURIYGT.js';
|
|
13
13
|
import './chunk-GLEJ2TLS.js';
|
|
14
14
|
import './chunk-RAN3ECAS.js';
|
|
15
15
|
import './chunk-W4GABFCR.js';
|
|
16
|
-
//# sourceMappingURL=SceneIRCompiler-
|
|
17
|
-
//# sourceMappingURL=SceneIRCompiler-
|
|
16
|
+
//# sourceMappingURL=SceneIRCompiler-VX75RB6H.js.map
|
|
17
|
+
//# sourceMappingURL=SceneIRCompiler-VX75RB6H.js.map
|
|
@@ -435,7 +435,7 @@ function uint8ArrayToBase64(data) {
|
|
|
435
435
|
return btoa(binary);
|
|
436
436
|
}
|
|
437
437
|
async function importGLTFPipeline() {
|
|
438
|
-
return import('./GLTFPipeline-
|
|
438
|
+
return import('./GLTFPipeline-6LS3UDYX.js');
|
|
439
439
|
}
|
|
440
440
|
function registerGLTFTools(server) {
|
|
441
441
|
for (const tool of GLTF_PIPELINE_TOOLS) {
|
|
@@ -445,5 +445,5 @@ function registerGLTFTools(server) {
|
|
|
445
445
|
var GLTFPipelineMCPTool_default = handleGLTFToolCall;
|
|
446
446
|
|
|
447
447
|
export { GLTFPipelineMCPTool_default, GLTF_PIPELINE_TOOLS, analyzeOptimizations, handleGLTFToolCall, inspectComposition, registerGLTFTools, validateForGLTF };
|
|
448
|
-
//# sourceMappingURL=chunk-
|
|
449
|
-
//# sourceMappingURL=chunk-
|
|
448
|
+
//# sourceMappingURL=chunk-2GKF7JQ6.js.map
|
|
449
|
+
//# sourceMappingURL=chunk-2GKF7JQ6.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { init_AndroidKotlinHelpers, sanitizeNameCapitalized, getSceneformGeometry, findObjProp, toKotlinType, toKotlinValue, toAndroidColor, compositionHasTrait, toKotlinColor } from './chunk-CBSDJF3B.js';
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-YDSNDCV3.js';
|
|
3
3
|
import { init_geospatial, init_depth_scanner, init_spatial_authoring, init_haptic_feedback, init_nearby_connections, init_foldable_display, init_samsung_dex, init_google_lens, init_webxr, GEOSPATIAL_DEFAULTS, DEPTH_SCANNER_DEFAULTS, SPATIAL_AUTHORING_TRAITS, SPATIAL_AUTHORING_DEFAULTS, HAPTIC_FEEDBACK_TRAITS, NEARBY_CONNECTIONS_TRAITS, FOLDABLE_DISPLAY_TRAITS, SAMSUNG_DEX_TRAITS, GOOGLE_LENS_TRAITS, WEBXR_TRAITS, DEPTH_SCANNER_TRAITS } from './chunk-7I74JWPW.js';
|
|
4
4
|
import { init_portal_ar, init_camera_hand_tracking, init_npu_scene, NPU_SCENE_TRAITS, NPU_SCENE_DEFAULTS, PORTAL_AR_TRAITS, CAMERA_HAND_TRACKING_TRAITS } from './chunk-MD4IVS42.js';
|
|
5
5
|
import { __esm, __export } from './chunk-W4GABFCR.js';
|
|
@@ -2461,5 +2461,5 @@ var init_AndroidCompiler = __esm({
|
|
|
2461
2461
|
});
|
|
2462
2462
|
|
|
2463
2463
|
export { AndroidCompiler, AndroidCompiler_exports, compileToAndroid, init_AndroidCompiler };
|
|
2464
|
-
//# sourceMappingURL=chunk-
|
|
2465
|
-
//# sourceMappingURL=chunk-
|
|
2464
|
+
//# sourceMappingURL=chunk-3KHRZTNW.js.map
|
|
2465
|
+
//# sourceMappingURL=chunk-3KHRZTNW.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase } from './chunk-YDSNDCV3.js';
|
|
2
2
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
3
3
|
|
|
4
4
|
// src/compiler/ContextCompiler.ts
|
|
@@ -2150,5 +2150,5 @@ function toCursorSlug(name) {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
|
|
2152
2152
|
export { ContextCompileError, ContextCompiler, createContextCompiler };
|
|
2153
|
-
//# sourceMappingURL=chunk-
|
|
2154
|
-
//# sourceMappingURL=chunk-
|
|
2153
|
+
//# sourceMappingURL=chunk-42Z3SVHQ.js.map
|
|
2154
|
+
//# sourceMappingURL=chunk-42Z3SVHQ.js.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.14" ;
|
|
6
|
+
var GIT_COMMIT_SHA = "cac71253a" ;
|
|
7
|
+
var BUILD_TIMESTAMP = "2026-07-12T00:05:58.992Z" ;
|
|
8
8
|
function getVersionString() {
|
|
9
9
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
10
10
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -3304,5 +3304,5 @@ function createHoloMapRuntime(_config) {
|
|
|
3304
3304
|
}
|
|
3305
3305
|
|
|
3306
3306
|
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 };
|
|
3307
|
-
//# sourceMappingURL=chunk-
|
|
3308
|
-
//# sourceMappingURL=chunk-
|
|
3307
|
+
//# sourceMappingURL=chunk-47XZ62KM.js.map
|
|
3308
|
+
//# sourceMappingURL=chunk-47XZ62KM.js.map
|