@holoscript/core 8.0.13 → 8.0.15

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.
Files changed (191) hide show
  1. package/README.md +20 -13
  2. package/bin/holo-decision.mjs +133 -0
  3. package/bin/holoscript.cjs +0 -0
  4. package/dist/{GLTFPipeline-L76YTXKA.js → GLTFPipeline-FRBZIATS.js} +7 -7
  5. package/dist/{GLTFPipeline-ZWJN7GI6.cjs → GLTFPipeline-MTPP444P.cjs} +11 -11
  6. package/dist/{HoloCompositionParser-P4Y3CXKQ.js → HoloCompositionParser-2GVQAZ2X.js} +7 -7
  7. package/dist/HoloCompositionParser-3NDF6BMX.cjs +45 -0
  8. package/dist/HoloScriptPlusParser-URSIBEAW.cjs +30 -0
  9. package/dist/HoloScriptPlusParser-YCV6L7GI.js +13 -0
  10. package/dist/{HoloScriptRuntime-YBYXJHJN.cjs → HoloScriptRuntime-CRWI6C3P.cjs} +5 -5
  11. package/dist/{HoloScriptRuntime-UTRLJI5L.js → HoloScriptRuntime-IAZGHPFP.js} +4 -4
  12. package/dist/{SceneIRCompiler-63KA3M2F.js → SceneIRCompiler-BJQMKLWL.js} +7 -7
  13. package/dist/{SceneIRCompiler-KWUFHZ4O.cjs → SceneIRCompiler-RTPPDQAV.cjs} +12 -12
  14. package/dist/{chunk-FWCHPCD4.js → chunk-22AULOAL.js} +5 -5
  15. package/dist/{chunk-G35CAQ7I.cjs → chunk-2DJIS7TH.cjs} +5 -5
  16. package/dist/{chunk-LHUDAJQT.cjs → chunk-2PVEXEOL.cjs} +5 -5
  17. package/dist/{chunk-WWNCM473.js → chunk-2UP2J3OK.js} +4 -4
  18. package/dist/{chunk-HVX7QQYK.js → chunk-3AUYBQ5I.js} +3 -3
  19. package/dist/{chunk-TSTFYGGX.js → chunk-3MQAOMKD.js} +3 -3
  20. package/dist/{chunk-FWKEY4LD.js → chunk-4AGNARX6.js} +3 -3
  21. package/dist/{chunk-WNYXT4TE.cjs → chunk-4CQ7ULXZ.cjs} +3 -3
  22. package/dist/{chunk-U3D4SYQ5.js → chunk-5LCJDX5A.js} +3 -3
  23. package/dist/{chunk-IK6Z2HNC.js → chunk-6OQHLNTT.js} +2 -2
  24. package/dist/{chunk-EI3J6LTW.cjs → chunk-6RDHWSZM.cjs} +217 -217
  25. package/dist/{chunk-77QI552M.js → chunk-7AY66PZP.js} +3 -3
  26. package/dist/{chunk-7IDJDMPU.cjs → chunk-7FYSSI3C.cjs} +27 -2
  27. package/dist/{chunk-BP4KTMLY.js → chunk-7HDRN5BW.js} +4 -4
  28. package/dist/{chunk-SQAAWO4V.cjs → chunk-7YKNV2BE.cjs} +5 -5
  29. package/dist/{chunk-WTH23ISI.js → chunk-AAUQTR7I.js} +4 -4
  30. package/dist/{chunk-OC6GV5QH.cjs → chunk-AN3ZH7M7.cjs} +38 -38
  31. package/dist/{chunk-YW3I2FQL.js → chunk-ANMME7XT.js} +4 -2
  32. package/dist/{chunk-A4OOLBZD.js → chunk-ATRAK4RC.js} +5 -5
  33. package/dist/{chunk-BQJ3YBF3.js → chunk-AUF7HFOO.js} +724 -647
  34. package/dist/{chunk-2X3IPCBK.cjs → chunk-AUMTQV64.cjs} +7 -7
  35. package/dist/chunk-AUU4ACJP.cjs +1605 -0
  36. package/dist/{chunk-QQFB4RT2.cjs → chunk-BTVHY3UB.cjs} +2 -2
  37. package/dist/{chunk-ZK7KX5CD.cjs → chunk-CMEINO5I.cjs} +190 -74
  38. package/dist/{chunk-BCP4E7MD.cjs → chunk-CRUIGXF7.cjs} +26 -10
  39. package/dist/{chunk-2E6PP5UE.cjs → chunk-E2SNPMBO.cjs} +11 -11
  40. package/dist/{chunk-2BYAUHBO.js → chunk-E4YS5SIZ.js} +90 -25
  41. package/dist/{chunk-KFVNCW4Q.js → chunk-EKNWUSGW.js} +3 -3
  42. package/dist/{chunk-JEJ7TT54.js → chunk-ETIJOUIO.js} +4 -4
  43. package/dist/{chunk-FRSKLX6I.js → chunk-F33KLYOS.js} +12 -9
  44. package/dist/{chunk-GGR7QUKK.cjs → chunk-F47FEV4X.cjs} +40 -40
  45. package/dist/{chunk-J3UHV5T4.cjs → chunk-FCGTI7FO.cjs} +4 -4
  46. package/dist/{chunk-RRQIAJLQ.cjs → chunk-FGTXAVKG.cjs} +5 -5
  47. package/dist/{chunk-2KKOYZYI.cjs → chunk-FPGYWNNA.cjs} +5 -5
  48. package/dist/{chunk-65S62L4D.cjs → chunk-FQ4MYZYU.cjs} +20 -20
  49. package/dist/{chunk-UGQ3QNV6.js → chunk-FT4FGTR6.js} +24 -8
  50. package/dist/{chunk-Q4K2GEMW.cjs → chunk-FVNV4WHQ.cjs} +20 -17
  51. package/dist/{chunk-SJIRCTIS.cjs → chunk-HSGJFCVJ.cjs} +2 -2
  52. package/dist/{chunk-B3CWTCK2.js → chunk-IA7FCSRY.js} +27 -2
  53. package/dist/{chunk-OIBRWLPY.cjs → chunk-ILO2KMER.cjs} +55 -4
  54. package/dist/{chunk-ZRPALBQB.cjs → chunk-IPBSNGAN.cjs} +92 -27
  55. package/dist/{chunk-FHVPN7BN.js → chunk-IX2U3RQT.js} +3 -3
  56. package/dist/{chunk-QEDMOGF3.cjs → chunk-IYK6LMQ7.cjs} +7 -7
  57. package/dist/{chunk-G6EKZHXY.js → chunk-J3VVM6GV.js} +4 -4
  58. package/dist/{chunk-LMB555QB.cjs → chunk-J74S4ZMF.cjs} +18 -18
  59. package/dist/{chunk-36NPLOI4.cjs → chunk-JERWCCEJ.cjs} +4 -2
  60. package/dist/{chunk-RVNXBF2M.js → chunk-JTDDLCSP.js} +4 -4
  61. package/dist/{chunk-VTEXJOSD.cjs → chunk-K53L47NH.cjs} +30 -30
  62. package/dist/{chunk-IJU6AS67.cjs → chunk-LJTM5ONX.cjs} +23 -23
  63. package/dist/{chunk-G6KACNMO.js → chunk-LJVVOVA6.js} +4 -4
  64. package/dist/{chunk-PDXX5UI4.cjs → chunk-LNJKBQ2B.cjs} +38 -38
  65. package/dist/{chunk-EM2OGPYE.js → chunk-M2GDE3NV.js} +3 -3
  66. package/dist/{chunk-CP7V3ATL.js → chunk-MSZNGI5P.js} +52 -5
  67. package/dist/{chunk-P7JEKJTZ.cjs → chunk-N2BOTBPG.cjs} +27 -16
  68. package/dist/{chunk-LB3ZZMKT.cjs → chunk-NFALJJCH.cjs} +12 -12
  69. package/dist/{chunk-XF63CZ7E.cjs → chunk-NRZRBK25.cjs} +6 -6
  70. package/dist/{chunk-GZPUA2TL.cjs → chunk-NTSLNIY7.cjs} +10 -10
  71. package/dist/{chunk-Y57AVOM2.cjs → chunk-NZJOAWJM.cjs} +4 -4
  72. package/dist/{chunk-RXQNRZ5F.js → chunk-OG7RKWWX.js} +3 -3
  73. package/dist/{chunk-VVAAZITA.cjs → chunk-OQVHCYY4.cjs} +5 -5
  74. package/dist/{chunk-PJFTTSKE.js → chunk-PFZ5WLIP.js} +4 -4
  75. package/dist/{chunk-PXVAPGTR.cjs → chunk-PHLNABJD.cjs} +3788 -1138
  76. package/dist/{chunk-SQXAZHDG.js → chunk-PLK3DLTF.js} +3 -3
  77. package/dist/{chunk-QBY7LRN2.js → chunk-PMACVMHL.js} +3 -3
  78. package/dist/{chunk-DJ5BNRIS.js → chunk-PV2OXNP5.js} +3684 -1041
  79. package/dist/{chunk-F3YT6GUF.cjs → chunk-Q6VW7MGX.cjs} +14 -14
  80. package/dist/{chunk-DUG3OQAS.js → chunk-QC3CAVFN.js} +187 -70
  81. package/dist/{chunk-NQN5LFN4.cjs → chunk-QKLEDRHN.cjs} +19 -19
  82. package/dist/{chunk-2EGGAZT3.js → chunk-QS27OYBU.js} +3 -3
  83. package/dist/{chunk-4376VHNJ.js → chunk-RUB7WL6C.js} +3 -3
  84. package/dist/{chunk-5LVFTGKH.js → chunk-TW2AH2ZS.js} +3 -3
  85. package/dist/{chunk-AATYYLYK.js → chunk-TZM6DKSJ.js} +18 -7
  86. package/dist/{chunk-ESSEF6U2.js → chunk-U227RWXB.js} +3 -3
  87. package/dist/{chunk-TC7JEO6R.cjs → chunk-U6CQOM5Q.cjs} +711 -52
  88. package/dist/{chunk-Z557DVYN.js → chunk-ULT2QAV5.js} +4 -4
  89. package/dist/{chunk-S4O7CFHQ.cjs → chunk-VSO6HPDZ.cjs} +7 -7
  90. package/dist/{chunk-ONPVM4IV.js → chunk-WQJMSSJT.js} +698 -45
  91. package/dist/{chunk-GILYQ5VH.cjs → chunk-WXSDBWGM.cjs} +4 -4
  92. package/dist/{chunk-UTUD6GJI.js → chunk-X5PMMK7H.js} +3 -3
  93. package/dist/{chunk-IFW5IW4L.cjs → chunk-X5ZLSPU2.cjs} +742 -657
  94. package/dist/{chunk-QM7FJB5W.js → chunk-X727CQ7X.js} +5 -5
  95. package/dist/{chunk-566ZB4LZ.cjs → chunk-XHZYS4QO.cjs} +5 -5
  96. package/dist/{chunk-RZ2EPXO3.cjs → chunk-XRQCTTDC.cjs} +8 -8
  97. package/dist/{chunk-5FYMCVBY.js → chunk-YBIHSN55.js} +4 -4
  98. package/dist/{chunk-FG6PYGIZ.js → chunk-Z574GVI3.js} +4 -4
  99. package/dist/{chunk-ZVQMKUGJ.js → chunk-Z5V3KA7L.js} +2 -2
  100. package/dist/chunk-ZGDEOXGU.js +1571 -0
  101. package/dist/{chunk-IS7NTKY5.cjs → chunk-ZHW6TDZ6.cjs} +14 -14
  102. package/dist/{chunk-CKV5NYAE.js → chunk-ZPHCTPR6.js} +4 -4
  103. package/dist/{chunk-3IUHTGDD.cjs → chunk-ZXXC2GXB.cjs} +38 -38
  104. package/dist/cli/holoscript-runner.cjs +169 -20
  105. package/dist/cli/holoscript-runner.js +163 -14
  106. package/dist/compiler/agent-inference.cjs +8 -8
  107. package/dist/compiler/agent-inference.js +4 -4
  108. package/dist/compiler/android-xr.cjs +7 -7
  109. package/dist/compiler/android-xr.js +5 -5
  110. package/dist/compiler/android.cjs +6 -6
  111. package/dist/compiler/android.js +4 -4
  112. package/dist/compiler/context.cjs +6 -6
  113. package/dist/compiler/context.js +3 -3
  114. package/dist/compiler/daimon-seed.cjs +9 -9
  115. package/dist/compiler/daimon-seed.js +4 -4
  116. package/dist/compiler/domain-block-utils.cjs +165 -165
  117. package/dist/compiler/domain-block-utils.js +4 -4
  118. package/dist/compiler/dtdl.cjs +7 -7
  119. package/dist/compiler/dtdl.js +4 -4
  120. package/dist/compiler/gltf-pipeline.cjs +8 -8
  121. package/dist/compiler/gltf-pipeline.js +1 -1
  122. package/dist/compiler/godot.cjs +6 -6
  123. package/dist/compiler/godot.js +5 -5
  124. package/dist/compiler/incremental.cjs +8 -8
  125. package/dist/compiler/incremental.js +3 -3
  126. package/dist/compiler/index.cjs +2275 -212
  127. package/dist/compiler/index.d.ts +29 -1
  128. package/dist/compiler/index.js +2078 -66
  129. package/dist/compiler/ios.cjs +6 -6
  130. package/dist/compiler/ios.js +4 -4
  131. package/dist/compiler/llm-provider-capabilities.cjs +6 -6
  132. package/dist/compiler/llm-provider-capabilities.js +3 -3
  133. package/dist/compiler/openxr.cjs +6 -6
  134. package/dist/compiler/openxr.js +5 -5
  135. package/dist/compiler/sdf.cjs +7 -7
  136. package/dist/compiler/sdf.js +5 -5
  137. package/dist/compiler/state.cjs +6 -6
  138. package/dist/compiler/state.js +4 -4
  139. package/dist/compiler/trait-composition.cjs +7 -7
  140. package/dist/compiler/trait-composition.js +3 -3
  141. package/dist/compiler/unity.cjs +6 -6
  142. package/dist/compiler/unity.js +5 -5
  143. package/dist/compiler/unreal.cjs +7 -7
  144. package/dist/compiler/unreal.js +5 -5
  145. package/dist/compiler/urdf.cjs +14 -14
  146. package/dist/compiler/urdf.js +5 -5
  147. package/dist/compiler/usd-physics.cjs +7 -7
  148. package/dist/compiler/usd-physics.js +4 -4
  149. package/dist/compiler/visionos.cjs +6 -6
  150. package/dist/compiler/visionos.js +5 -5
  151. package/dist/compiler/vrchat.cjs +7 -7
  152. package/dist/compiler/vrchat.js +5 -5
  153. package/dist/compiler/wasm.cjs +10 -10
  154. package/dist/compiler/wasm.js +5 -5
  155. package/dist/compiler/webgpu.cjs +6 -6
  156. package/dist/compiler/webgpu.js +5 -5
  157. package/dist/constants.cjs +99 -99
  158. package/dist/constants.js +3 -3
  159. package/dist/debugger.cjs +5 -5
  160. package/dist/debugger.js +3 -3
  161. package/dist/{dist-GRMOP2UL.cjs → dist-YGATNURH.cjs} +705 -9
  162. package/dist/{dist-ZBUKU2JG.js → dist-ZEZXRCBG.js} +701 -10
  163. package/dist/entries/scripting.cjs +8 -8
  164. package/dist/entries/scripting.js +4 -4
  165. package/dist/evolution/index.cjs +20 -20
  166. package/dist/evolution/index.js +8 -8
  167. package/dist/index.cjs +1099 -826
  168. package/dist/index.d.ts +78 -5
  169. package/dist/index.js +265 -120
  170. package/dist/parser/HoloCompositionTypes.d.ts +1 -1
  171. package/dist/parser.cjs +21 -21
  172. package/dist/parser.js +7 -7
  173. package/dist/reconstruction/index.cjs +127 -38
  174. package/dist/reconstruction/index.d.ts +159 -0
  175. package/dist/reconstruction/index.js +11 -2
  176. package/dist/runtime.cjs +9 -9
  177. package/dist/runtime.d.ts +1 -0
  178. package/dist/runtime.js +3 -3
  179. package/dist/traitDocs/traitDocs.cjs +8 -8
  180. package/dist/traitDocs/traitDocs.js +2 -2
  181. package/dist/traits/botanical-lotus.d.ts +61 -0
  182. package/dist/traits/index.cjs +761 -673
  183. package/dist/traits/index.d.ts +65 -0
  184. package/dist/traits/index.js +102 -27
  185. package/dist/types/HoloScriptPlus.d.ts +1 -1
  186. package/package.json +71 -65
  187. package/dist/HoloCompositionParser-6GW2BZID.cjs +0 -45
  188. package/dist/HoloScriptPlusParser-HQV6IJAH.js +0 -13
  189. package/dist/HoloScriptPlusParser-RFNHRMPE.cjs +0 -30
  190. package/dist/chunk-DVHZD5HV.cjs +0 -639
  191. package/dist/chunk-G72754QB.js +0 -625
package/README.md CHANGED
@@ -37,8 +37,8 @@ const output = compiler.compile(composition.ast);
37
37
  - **Multi-format Parser** - Supports `.hs`, `.hsplus`, and `.holo` files
38
38
  - **Complete AST** - Full abstract syntax tree representation
39
39
  - **Validation** - Comprehensive error checking with recovery
40
- - **30+ Compile Targets** - Web (R3F, Babylon), Unity, Unreal, Godot, iOS, Android, Vision Pro, WebGPU, WASM, VRChat, OpenXR, URDF, DTDL, SDF
41
- - **3,300+ Traits** - Modularized across 114 category files covering VR interactions, physics, networking, AI, scripting, automation, animation, nature, magic, sci-fi, emotions, and more
40
+ - **Compile Targets** - R3F generated TSX, Unity, Unreal, Godot, iOS, Android, Vision Pro, WebGPU, WASM, VRChat, OpenXR, URDF, DTDL, SDF, and more; verify live targets via the ExportTarget enum and MCP health.
41
+ - **Traits** - Modularized across category files covering VR interactions, physics, networking, AI, scripting, automation, animation, nature, magic, sci-fi, emotions, and more; pull live counts from the repository.
42
42
  - **AI Integration** - Adapters for OpenAI, Anthropic, Gemini, Ollama, and more
43
43
  - **Reactive State** - `reactive()`, `computed()`, `effect()`, `bind()`
44
44
 
@@ -51,23 +51,20 @@ const output = compiler.compile(composition.ast);
51
51
  | `HoloScript2DParser` | `.hs` | Basic logic and protocols |
52
52
  | `HoloScriptParser` | `.hs` | Standard semantic parser |
53
53
 
54
- ## Compilers (30+ implementations; verify live targets via health + ExportTarget enum)
54
+ ## Compilers (verify live targets via health + ExportTarget enum)
55
55
 
56
56
  | Compiler | Target | Output |
57
57
  | ------------------------ | ------------------------- | ------------------ |
58
58
  | `UnityCompiler` | Unity Engine | C# + Prefab |
59
59
  | `UnrealCompiler` | Unreal Engine 5 | C++ + Blueprint |
60
60
  | `GodotCompiler` | Godot 4 | GDScript + .tscn |
61
- | `R3FCompiler` | React Three Fiber | TSX + hooks |
62
- | `BabylonCompiler` | Babylon.js | TypeScript |
63
- | `PlayCanvasCompiler` | PlayCanvas | JavaScript |
61
+ | `SceneIRCompiler` + `emitSceneIRTsx` | React Three Fiber | SceneIR + generated TSX shell |
64
62
  | `OpenXRCompiler` | OpenXR Standard | C++ |
65
63
  | `VRChatCompiler` | VRChat | UdonSharp C# |
66
64
  | `VisionOSCompiler` | Apple Vision Pro | Swift |
67
65
  | `AndroidXRCompiler` | Android XR | Kotlin |
68
66
  | `IOSCompiler` | iOS / ARKit | Swift |
69
67
  | `AndroidCompiler` | Android / ARCore | Kotlin |
70
- | `ARCompiler` | Generic AR | TypeScript |
71
68
  | `WASMCompiler` | WebAssembly | .wasm + .js |
72
69
  | `WebGPUCompiler` | WebGPU Compute | WGSL + TypeScript |
73
70
  | `URDFCompiler` | Robotics (URDF) | .urdf XML |
@@ -76,9 +73,6 @@ const output = compiler.compile(composition.ast);
76
73
  | `StateCompiler` | Reactive State | JSON |
77
74
  | `A2AAgentCardCompiler` | A2A Agent Cards | JSON |
78
75
  | `NIRCompiler` | Neuromorphic IR | JSON |
79
- | `VRRCompiler` | Variable Rate Rendering | TypeScript |
80
- | `Native2DCompiler` | 2D HTML/CSS | TSX + HTML |
81
- | `NodeServiceCompiler` | Node.js Services | TypeScript |
82
76
  | `AIGlassesCompiler` | AI Glasses | Kotlin Compose |
83
77
  | `GLTFPipeline` | glTF | .glb / .gltf |
84
78
  | `NFTMarketplaceCompiler` | NFT Marketplace | Solidity |
@@ -87,11 +81,10 @@ const output = compiler.compile(composition.ast);
87
81
  | `SCMCompiler` | Structural Causal Model | JSON DAG |
88
82
  | `QuiltCompiler` | Looking Glass Hologram | Multi-view PNG |
89
83
  | `MVHEVCCompiler` | MV-HEVC Hologram | Swift + .mov |
90
- | `FlatSemanticCompiler` | Semantic 2D Layout | TSX |
91
84
 
92
85
  ## Trait System
93
86
 
94
- VR traits are modularized into 115 category files under `src/traits/constants/`:
87
+ VR traits are modularized under `src/traits/constants/`:
95
88
 
96
89
  | Category | File | Traits |
97
90
  | --------------- | ------------------------ | --------------------------------------- |
@@ -105,7 +98,7 @@ VR traits are modularized into 115 category files under `src/traits/constants/`:
105
98
  Import individual categories or the combined set:
106
99
 
107
100
  ```typescript
108
- import { VR_TRAITS } from '@holoscript/core'; // All 3,300+ traits
101
+ import { VR_TRAITS } from '@holoscript/core';
109
102
  import { AUDIO_TRAITS } from '@holoscript/core'; // Just audio traits
110
103
  import { MAGIC_FANTASY_TRAITS } from '@holoscript/core'; // Just magic/fantasy
111
104
  ```
@@ -248,6 +241,20 @@ Two MCP layers:
248
241
 
249
242
  > **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
243
 
244
+ ## Package boundary & release posture
245
+
246
+ `@holoscript/core` is the foundational **public** library for external developers and agent
247
+ frameworks building on HoloScript: the parser, AST, trait system, identity, physics, and the
248
+ `compile_to_*` compiler surface. It is a library — it ships no server, no founder-local workspace,
249
+ and no baked credentials. Where a compiler emits an operational default (e.g. a serving endpoint or
250
+ a trace directory), that value is **caller-owned**: you bring your own via the compiler's config
251
+ options and environment variables, and any host/path in a generated artifact is a generic reference,
252
+ **not the package default**.
253
+
254
+ **Known limitations:** the compiler target set is broad but evolving; some targets are v0-preview and
255
+ their emitted contracts may change before the v1 release. Validate a target's output with the
256
+ package's own checks (e.g. `pnpm test` / the consumption gate) before depending on it in production.
257
+
251
258
  ## License
252
259
 
253
260
  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
+ });
File without changes
@@ -1,15 +1,15 @@
1
- export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-FWCHPCD4.js';
1
+ export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-22AULOAL.js';
2
2
  import './chunk-UDE4OZMR.js';
3
3
  import './chunk-3F7ZZWIN.js';
4
4
  import './chunk-2MQKNDNH.js';
5
- import './chunk-ZVQMKUGJ.js';
6
- import './chunk-5LVFTGKH.js';
5
+ import './chunk-Z5V3KA7L.js';
6
+ import './chunk-TW2AH2ZS.js';
7
7
  import './chunk-UCVZXQ63.js';
8
- import './chunk-DUG3OQAS.js';
9
- import './chunk-B3CWTCK2.js';
8
+ import './chunk-QC3CAVFN.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-L76YTXKA.js.map
15
- //# sourceMappingURL=GLTFPipeline-L76YTXKA.js.map
14
+ //# sourceMappingURL=GLTFPipeline-FRBZIATS.js.map
15
+ //# sourceMappingURL=GLTFPipeline-FRBZIATS.js.map
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkLB3ZZMKT_cjs = require('./chunk-LB3ZZMKT.cjs');
3
+ var chunkNFALJJCH_cjs = require('./chunk-NFALJJCH.cjs');
4
4
  require('./chunk-FT6TDR2O.cjs');
5
5
  require('./chunk-LDYZWNJW.cjs');
6
6
  require('./chunk-KROXXBK5.cjs');
7
- require('./chunk-QQFB4RT2.cjs');
8
- require('./chunk-QEDMOGF3.cjs');
7
+ require('./chunk-BTVHY3UB.cjs');
8
+ require('./chunk-IYK6LMQ7.cjs');
9
9
  require('./chunk-VHORVGCG.cjs');
10
- require('./chunk-ZK7KX5CD.cjs');
11
- require('./chunk-7IDJDMPU.cjs');
10
+ require('./chunk-CMEINO5I.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 chunkLB3ZZMKT_cjs.GLTFPipeline; }
21
+ get: function () { return chunkNFALJJCH_cjs.GLTFPipeline; }
22
22
  });
23
23
  Object.defineProperty(exports, "createGLTFPipeline", {
24
24
  enumerable: true,
25
- get: function () { return chunkLB3ZZMKT_cjs.createGLTFPipeline; }
25
+ get: function () { return chunkNFALJJCH_cjs.createGLTFPipeline; }
26
26
  });
27
27
  Object.defineProperty(exports, "generateScaleNormalMap", {
28
28
  enumerable: true,
29
- get: function () { return chunkLB3ZZMKT_cjs.generateScaleNormalMap; }
29
+ get: function () { return chunkNFALJJCH_cjs.generateScaleNormalMap; }
30
30
  });
31
31
  Object.defineProperty(exports, "generateScaleTexture", {
32
32
  enumerable: true,
33
- get: function () { return chunkLB3ZZMKT_cjs.generateScaleTexture; }
33
+ get: function () { return chunkNFALJJCH_cjs.generateScaleTexture; }
34
34
  });
35
- //# sourceMappingURL=GLTFPipeline-ZWJN7GI6.cjs.map
36
- //# sourceMappingURL=GLTFPipeline-ZWJN7GI6.cjs.map
35
+ //# sourceMappingURL=GLTFPipeline-MTPP444P.cjs.map
36
+ //# sourceMappingURL=GLTFPipeline-MTPP444P.cjs.map
@@ -1,12 +1,12 @@
1
- export { HoloCompositionParser, KEYWORDS, LIGHT_PRIMITIVES, PRIMITIVE_SHAPES, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-FHVPN7BN.js';
1
+ export { HoloCompositionParser, KEYWORDS, LIGHT_PRIMITIVES, PRIMITIVE_SHAPES, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-IX2U3RQT.js';
2
2
  import './chunk-SYTRBGDS.js';
3
- import './chunk-CP7V3ATL.js';
4
- import './chunk-FWKEY4LD.js';
5
- import './chunk-2EGGAZT3.js';
6
- import './chunk-YW3I2FQL.js';
3
+ import './chunk-MSZNGI5P.js';
4
+ import './chunk-4AGNARX6.js';
5
+ import './chunk-QS27OYBU.js';
6
+ import './chunk-ANMME7XT.js';
7
7
  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-P4Y3CXKQ.js.map
12
- //# sourceMappingURL=HoloCompositionParser-P4Y3CXKQ.js.map
11
+ //# sourceMappingURL=HoloCompositionParser-2GVQAZ2X.js.map
12
+ //# sourceMappingURL=HoloCompositionParser-2GVQAZ2X.js.map
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ var chunkFCGTI7FO_cjs = require('./chunk-FCGTI7FO.cjs');
4
+ require('./chunk-3VBO3IYQ.cjs');
5
+ require('./chunk-ILO2KMER.cjs');
6
+ require('./chunk-2PVEXEOL.cjs');
7
+ require('./chunk-6RDHWSZM.cjs');
8
+ require('./chunk-JERWCCEJ.cjs');
9
+ require('./chunk-AWXFEAQL.cjs');
10
+ require('./chunk-4FIBOJW6.cjs');
11
+ require('./chunk-N74QRJGP.cjs');
12
+ require('./chunk-ZHPMP447.cjs');
13
+
14
+
15
+
16
+ Object.defineProperty(exports, "HoloCompositionParser", {
17
+ enumerable: true,
18
+ get: function () { return chunkFCGTI7FO_cjs.HoloCompositionParser; }
19
+ });
20
+ Object.defineProperty(exports, "KEYWORDS", {
21
+ enumerable: true,
22
+ get: function () { return chunkFCGTI7FO_cjs.KEYWORDS; }
23
+ });
24
+ Object.defineProperty(exports, "LIGHT_PRIMITIVES", {
25
+ enumerable: true,
26
+ get: function () { return chunkFCGTI7FO_cjs.LIGHT_PRIMITIVES; }
27
+ });
28
+ Object.defineProperty(exports, "PRIMITIVE_SHAPES", {
29
+ enumerable: true,
30
+ get: function () { return chunkFCGTI7FO_cjs.PRIMITIVE_SHAPES; }
31
+ });
32
+ Object.defineProperty(exports, "parseHolo", {
33
+ enumerable: true,
34
+ get: function () { return chunkFCGTI7FO_cjs.parseHolo; }
35
+ });
36
+ Object.defineProperty(exports, "parseHoloPartial", {
37
+ enumerable: true,
38
+ get: function () { return chunkFCGTI7FO_cjs.parseHoloPartial; }
39
+ });
40
+ Object.defineProperty(exports, "parseHoloStrict", {
41
+ enumerable: true,
42
+ get: function () { return chunkFCGTI7FO_cjs.parseHoloStrict; }
43
+ });
44
+ //# sourceMappingURL=HoloCompositionParser-3NDF6BMX.cjs.map
45
+ //# sourceMappingURL=HoloCompositionParser-3NDF6BMX.cjs.map
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var chunkFVNV4WHQ_cjs = require('./chunk-FVNV4WHQ.cjs');
4
+ require('./chunk-ILO2KMER.cjs');
5
+ require('./chunk-YP5CHEYU.cjs');
6
+ require('./chunk-2PVEXEOL.cjs');
7
+ require('./chunk-6RDHWSZM.cjs');
8
+ require('./chunk-JERWCCEJ.cjs');
9
+ require('./chunk-AWXFEAQL.cjs');
10
+ require('./chunk-4FIBOJW6.cjs');
11
+ require('./chunk-N74QRJGP.cjs');
12
+ require('./chunk-NTQRFOPP.cjs');
13
+ require('./chunk-ZHPMP447.cjs');
14
+
15
+
16
+
17
+ Object.defineProperty(exports, "HoloScriptPlusParser", {
18
+ enumerable: true,
19
+ get: function () { return chunkFVNV4WHQ_cjs.HoloScriptPlusParser; }
20
+ });
21
+ Object.defineProperty(exports, "createParser", {
22
+ enumerable: true,
23
+ get: function () { return chunkFVNV4WHQ_cjs.createParser; }
24
+ });
25
+ Object.defineProperty(exports, "parse", {
26
+ enumerable: true,
27
+ get: function () { return chunkFVNV4WHQ_cjs.parse; }
28
+ });
29
+ //# sourceMappingURL=HoloScriptPlusParser-URSIBEAW.cjs.map
30
+ //# sourceMappingURL=HoloScriptPlusParser-URSIBEAW.cjs.map
@@ -0,0 +1,13 @@
1
+ export { HoloScriptPlusParser, createParser, parse } from './chunk-F33KLYOS.js';
2
+ import './chunk-MSZNGI5P.js';
3
+ import './chunk-UNMVGZVW.js';
4
+ import './chunk-4AGNARX6.js';
5
+ import './chunk-QS27OYBU.js';
6
+ import './chunk-ANMME7XT.js';
7
+ import './chunk-7I74JWPW.js';
8
+ import './chunk-2I3XAGMF.js';
9
+ import './chunk-MD4IVS42.js';
10
+ import './chunk-63AUAIL6.js';
11
+ import './chunk-W4GABFCR.js';
12
+ //# sourceMappingURL=HoloScriptPlusParser-YCV6L7GI.js.map
13
+ //# sourceMappingURL=HoloScriptPlusParser-YCV6L7GI.js.map
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunk2E6PP5UE_cjs = require('./chunk-2E6PP5UE.cjs');
3
+ var chunkE2SNPMBO_cjs = require('./chunk-E2SNPMBO.cjs');
4
4
  require('./chunk-GJNCFRJU.cjs');
5
5
  require('./chunk-OQXB6NNC.cjs');
6
6
  require('./chunk-3CDDRUER.cjs');
7
7
  require('./chunk-PVODJEJ7.cjs');
8
- require('./chunk-SJIRCTIS.cjs');
8
+ require('./chunk-HSGJFCVJ.cjs');
9
9
  require('./chunk-ILRBGFVD.cjs');
10
10
  require('./chunk-NTQRFOPP.cjs');
11
11
  require('./chunk-Q47JEE2C.cjs');
@@ -15,7 +15,7 @@ require('./chunk-ZHPMP447.cjs');
15
15
 
16
16
  Object.defineProperty(exports, "HoloScriptRuntime", {
17
17
  enumerable: true,
18
- get: function () { return chunk2E6PP5UE_cjs.HoloScriptRuntime; }
18
+ get: function () { return chunkE2SNPMBO_cjs.HoloScriptRuntime; }
19
19
  });
20
- //# sourceMappingURL=HoloScriptRuntime-YBYXJHJN.cjs.map
21
- //# sourceMappingURL=HoloScriptRuntime-YBYXJHJN.cjs.map
20
+ //# sourceMappingURL=HoloScriptRuntime-CRWI6C3P.cjs.map
21
+ //# sourceMappingURL=HoloScriptRuntime-CRWI6C3P.cjs.map
@@ -1,12 +1,12 @@
1
- export { HoloScriptRuntime } from './chunk-4376VHNJ.js';
1
+ export { HoloScriptRuntime } from './chunk-RUB7WL6C.js';
2
2
  import './chunk-XL6INWKT.js';
3
3
  import './chunk-D3HSRXYB.js';
4
4
  import './chunk-H4LJ4HEA.js';
5
5
  import './chunk-734OB5SK.js';
6
- import './chunk-IK6Z2HNC.js';
6
+ import './chunk-6OQHLNTT.js';
7
7
  import './chunk-PHENW4MQ.js';
8
8
  import './chunk-63AUAIL6.js';
9
9
  import './chunk-RAN3ECAS.js';
10
10
  import './chunk-W4GABFCR.js';
11
- //# sourceMappingURL=HoloScriptRuntime-UTRLJI5L.js.map
12
- //# sourceMappingURL=HoloScriptRuntime-UTRLJI5L.js.map
11
+ //# sourceMappingURL=HoloScriptRuntime-IAZGHPFP.js.map
12
+ //# sourceMappingURL=HoloScriptRuntime-IAZGHPFP.js.map
@@ -1,17 +1,17 @@
1
- export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, SceneIRCompiler, UI_COMPONENT_PRESETS } from './chunk-QM7FJB5W.js';
1
+ export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, SceneIRCompiler, UI_COMPONENT_PRESETS } from './chunk-X727CQ7X.js';
2
2
  import './chunk-2MQKNDNH.js';
3
3
  import './chunk-6TRX6AR2.js';
4
- import './chunk-ZVQMKUGJ.js';
4
+ import './chunk-Z5V3KA7L.js';
5
5
  import './chunk-VKCTYLDN.js';
6
6
  import './chunk-DQRJ5RJG.js';
7
7
  import './chunk-DJNH4HFW.js';
8
- import './chunk-5LVFTGKH.js';
8
+ import './chunk-TW2AH2ZS.js';
9
9
  import './chunk-UCVZXQ63.js';
10
- import './chunk-DUG3OQAS.js';
11
- import './chunk-B3CWTCK2.js';
10
+ import './chunk-QC3CAVFN.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-63KA3M2F.js.map
17
- //# sourceMappingURL=SceneIRCompiler-63KA3M2F.js.map
16
+ //# sourceMappingURL=SceneIRCompiler-BJQMKLWL.js.map
17
+ //# sourceMappingURL=SceneIRCompiler-BJQMKLWL.js.map
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkGGR7QUKK_cjs = require('./chunk-GGR7QUKK.cjs');
3
+ var chunkF47FEV4X_cjs = require('./chunk-F47FEV4X.cjs');
4
4
  require('./chunk-KROXXBK5.cjs');
5
5
  require('./chunk-YKY2JBER.cjs');
6
- require('./chunk-QQFB4RT2.cjs');
6
+ require('./chunk-BTVHY3UB.cjs');
7
7
  require('./chunk-ENZCIQZC.cjs');
8
8
  require('./chunk-V6GXFSK7.cjs');
9
9
  require('./chunk-TZCFKZ6Z.cjs');
10
- require('./chunk-QEDMOGF3.cjs');
10
+ require('./chunk-IYK6LMQ7.cjs');
11
11
  require('./chunk-VHORVGCG.cjs');
12
- require('./chunk-ZK7KX5CD.cjs');
13
- require('./chunk-7IDJDMPU.cjs');
12
+ require('./chunk-CMEINO5I.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 chunkGGR7QUKK_cjs.ENVIRONMENT_PRESETS; }
23
+ get: function () { return chunkF47FEV4X_cjs.ENVIRONMENT_PRESETS; }
24
24
  });
25
25
  Object.defineProperty(exports, "MATERIAL_PRESETS", {
26
26
  enumerable: true,
27
- get: function () { return chunkGGR7QUKK_cjs.MATERIAL_PRESETS; }
27
+ get: function () { return chunkF47FEV4X_cjs.MATERIAL_PRESETS; }
28
28
  });
29
29
  Object.defineProperty(exports, "QUALITY_TIER_SCALES", {
30
30
  enumerable: true,
31
- get: function () { return chunkGGR7QUKK_cjs.QUALITY_TIER_SCALES; }
31
+ get: function () { return chunkF47FEV4X_cjs.QUALITY_TIER_SCALES; }
32
32
  });
33
33
  Object.defineProperty(exports, "SceneIRCompiler", {
34
34
  enumerable: true,
35
- get: function () { return chunkGGR7QUKK_cjs.SceneIRCompiler; }
35
+ get: function () { return chunkF47FEV4X_cjs.SceneIRCompiler; }
36
36
  });
37
37
  Object.defineProperty(exports, "UI_COMPONENT_PRESETS", {
38
38
  enumerable: true,
39
- get: function () { return chunkGGR7QUKK_cjs.UI_COMPONENT_PRESETS; }
39
+ get: function () { return chunkF47FEV4X_cjs.UI_COMPONENT_PRESETS; }
40
40
  });
41
- //# sourceMappingURL=SceneIRCompiler-KWUFHZ4O.cjs.map
42
- //# sourceMappingURL=SceneIRCompiler-KWUFHZ4O.cjs.map
41
+ //# sourceMappingURL=SceneIRCompiler-RTPPDQAV.cjs.map
42
+ //# sourceMappingURL=SceneIRCompiler-RTPPDQAV.cjs.map
@@ -1,9 +1,9 @@
1
1
  import { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from './chunk-UDE4OZMR.js';
2
2
  import { MATERIAL_PRESETS } from './chunk-3F7ZZWIN.js';
3
3
  import { ASTNodePool } from './chunk-2MQKNDNH.js';
4
- import { TraitCompositor } from './chunk-ZVQMKUGJ.js';
5
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-5LVFTGKH.js';
6
- import { init_CompilerBase, CompilerBase } from './chunk-DUG3OQAS.js';
4
+ import { TraitCompositor } from './chunk-Z5V3KA7L.js';
5
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-TW2AH2ZS.js';
6
+ import { init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.js';
7
7
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
8
8
 
9
9
  // src/compiler/GLTFPipeline.ts
@@ -2366,5 +2366,5 @@ function createGLTFPipeline(options) {
2366
2366
  }
2367
2367
 
2368
2368
  export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture };
2369
- //# sourceMappingURL=chunk-FWCHPCD4.js.map
2370
- //# sourceMappingURL=chunk-FWCHPCD4.js.map
2369
+ //# sourceMappingURL=chunk-22AULOAL.js.map
2370
+ //# sourceMappingURL=chunk-22AULOAL.js.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkZK7KX5CD_cjs = require('./chunk-ZK7KX5CD.cjs');
3
+ var chunkCMEINO5I_cjs = require('./chunk-CMEINO5I.cjs');
4
4
  var ans = require('@holoscript/core-types/ans');
5
5
 
6
6
  // src/compiler/LLMProviderCapabilitiesCompiler.ts
7
- chunkZK7KX5CD_cjs.init_CompilerBase();
7
+ chunkCMEINO5I_cjs.init_CompilerBase();
8
8
  var VENDOR_AS_SUBSTRATE_PATTERNS = [
9
9
  {
10
10
  pattern: /managed_agents_replaces_holomesh/i,
@@ -71,7 +71,7 @@ var ADAPTER_OPTIONAL_BOOLEAN_FIELDS = ADAPTER_CAPABILITY_FIELD_ORDER.filter(
71
71
  "bearerTokenAccess"
72
72
  ].includes(field)
73
73
  );
74
- var LLMProviderCapabilitiesCompiler = class extends chunkZK7KX5CD_cjs.CompilerBase {
74
+ var LLMProviderCapabilitiesCompiler = class extends chunkCMEINO5I_cjs.CompilerBase {
75
75
  constructor(options = {}) {
76
76
  super();
77
77
  this.compilerName = "LLMProviderCapabilitiesCompiler";
@@ -738,5 +738,5 @@ function daysBetween(earlier, later) {
738
738
  exports.LLMCapabilityCompileError = LLMCapabilityCompileError;
739
739
  exports.LLMProviderCapabilitiesCompiler = LLMProviderCapabilitiesCompiler;
740
740
  exports.createLLMProviderCapabilitiesCompiler = createLLMProviderCapabilitiesCompiler;
741
- //# sourceMappingURL=chunk-G35CAQ7I.cjs.map
742
- //# sourceMappingURL=chunk-G35CAQ7I.cjs.map
741
+ //# sourceMappingURL=chunk-2DJIS7TH.cjs.map
742
+ //# sourceMappingURL=chunk-2DJIS7TH.cjs.map
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkEI3J6LTW_cjs = require('./chunk-EI3J6LTW.cjs');
3
+ var chunk6RDHWSZM_cjs = require('./chunk-6RDHWSZM.cjs');
4
4
 
5
5
  // src/constants.ts
6
- chunkEI3J6LTW_cjs.init_constants();
7
- chunkEI3J6LTW_cjs.init_constants();
6
+ chunk6RDHWSZM_cjs.init_constants();
7
+ chunk6RDHWSZM_cjs.init_constants();
8
8
  var STRUCTURAL_DIRECTIVES = [
9
9
  // Asset & Manifest
10
10
  "manifest",
@@ -261,5 +261,5 @@ var LIFECYCLE_HOOKS = [
261
261
 
262
262
  exports.LIFECYCLE_HOOKS = LIFECYCLE_HOOKS;
263
263
  exports.STRUCTURAL_DIRECTIVES = STRUCTURAL_DIRECTIVES;
264
- //# sourceMappingURL=chunk-LHUDAJQT.cjs.map
265
- //# sourceMappingURL=chunk-LHUDAJQT.cjs.map
264
+ //# sourceMappingURL=chunk-2PVEXEOL.cjs.map
265
+ //# sourceMappingURL=chunk-2PVEXEOL.cjs.map
@@ -1,6 +1,6 @@
1
1
  import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-DJNH4HFW.js';
2
- import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileDataVizBlock, datavizToUnreal, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-5LVFTGKH.js';
3
- import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-DUG3OQAS.js';
2
+ import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileDataVizBlock, datavizToUnreal, compileWeatherBlock, weatherToUnreal, compileAudioSourceBlock, audioSourceToUnreal, compilePostProcessingBlock, postProcessingToUnreal, compileParticleBlock, particlesToUnreal, compilePhysicsBlock, physicsToUnreal, compileMaterialBlock, materialToUnreal } from './chunk-TW2AH2ZS.js';
3
+ import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.js';
4
4
  import { __export, __esm } from './chunk-W4GABFCR.js';
5
5
  import { ANSCapabilityPath } from '@holoscript/core-types/ans';
6
6
 
@@ -726,5 +726,5 @@ var init_UnrealCompiler = __esm({
726
726
  });
727
727
 
728
728
  export { UnrealCompiler, UnrealCompiler_exports, compileToUnreal, init_UnrealCompiler };
729
- //# sourceMappingURL=chunk-WWNCM473.js.map
730
- //# sourceMappingURL=chunk-WWNCM473.js.map
729
+ //# sourceMappingURL=chunk-2UP2J3OK.js.map
730
+ //# sourceMappingURL=chunk-2UP2J3OK.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-DUG3OQAS.js';
2
+ import { init_CompilerBase, CompilerBase } from './chunk-QC3CAVFN.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-HVX7QQYK.js.map
2465
- //# sourceMappingURL=chunk-HVX7QQYK.js.map
2464
+ //# sourceMappingURL=chunk-3AUYBQ5I.js.map
2465
+ //# sourceMappingURL=chunk-3AUYBQ5I.js.map