@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
@@ -636,7 +636,7 @@ export interface HoloTemplateProperty extends HoloNode {
636
636
  * Scene object declaration in a `.holo` composition.
637
637
  *
638
638
  * **Asset maturity (draft → mesh → final)** — optional `ObjectProperty` keys
639
- * consumed by `R3FCompiler.compileObjectDecl`:
639
+ * consumed by `SceneIRCompiler.compileObjectDecl` and the generated R3F TSX path:
640
640
  * - `maturity`: `"draft"` | `"mesh"` | `"final"` — sets `R3FNode.assetMaturity`
641
641
  * - `promoteUrl` / `promote_url`: string — GLB/URL for draft→mesh promotion (passed to `R3FNode.props`)
642
642
  * - `collisionShape` / `collision_shape`: string — collision proxy hint (passed to `R3FNode.props`)
package/dist/parser.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkY57AVOM2_cjs = require('./chunk-Y57AVOM2.cjs');
4
- var chunkJ3UHV5T4_cjs = require('./chunk-J3UHV5T4.cjs');
3
+ var chunkNZJOAWJM_cjs = require('./chunk-NZJOAWJM.cjs');
4
+ var chunkFCGTI7FO_cjs = require('./chunk-FCGTI7FO.cjs');
5
5
  require('./chunk-3VBO3IYQ.cjs');
6
- var chunkQ4K2GEMW_cjs = require('./chunk-Q4K2GEMW.cjs');
7
- require('./chunk-OIBRWLPY.cjs');
6
+ var chunkFVNV4WHQ_cjs = require('./chunk-FVNV4WHQ.cjs');
7
+ require('./chunk-ILO2KMER.cjs');
8
8
  require('./chunk-YP5CHEYU.cjs');
9
- require('./chunk-LHUDAJQT.cjs');
10
- require('./chunk-EI3J6LTW.cjs');
11
- require('./chunk-36NPLOI4.cjs');
9
+ require('./chunk-2PVEXEOL.cjs');
10
+ require('./chunk-6RDHWSZM.cjs');
11
+ require('./chunk-JERWCCEJ.cjs');
12
12
  require('./chunk-AWXFEAQL.cjs');
13
13
  require('./chunk-4FIBOJW6.cjs');
14
14
  require('./chunk-N74QRJGP.cjs');
@@ -19,59 +19,59 @@ require('./chunk-ZHPMP447.cjs');
19
19
 
20
20
  Object.defineProperty(exports, "GrammarModuleRegistry", {
21
21
  enumerable: true,
22
- get: function () { return chunkY57AVOM2_cjs.GrammarModuleRegistry; }
22
+ get: function () { return chunkNZJOAWJM_cjs.GrammarModuleRegistry; }
23
23
  });
24
24
  Object.defineProperty(exports, "TypeScriptHsplusGrammar", {
25
25
  enumerable: true,
26
- get: function () { return chunkY57AVOM2_cjs.TypeScriptHsplusGrammar; }
26
+ get: function () { return chunkNZJOAWJM_cjs.TypeScriptHsplusGrammar; }
27
27
  });
28
28
  Object.defineProperty(exports, "normalizeHsplusGrammarErrors", {
29
29
  enumerable: true,
30
- get: function () { return chunkY57AVOM2_cjs.normalizeHsplusGrammarErrors; }
30
+ get: function () { return chunkNZJOAWJM_cjs.normalizeHsplusGrammarErrors; }
31
31
  });
32
32
  Object.defineProperty(exports, "HoloCompositionParser", {
33
33
  enumerable: true,
34
- get: function () { return chunkJ3UHV5T4_cjs.HoloCompositionParser; }
34
+ get: function () { return chunkFCGTI7FO_cjs.HoloCompositionParser; }
35
35
  });
36
36
  Object.defineProperty(exports, "parseHolo", {
37
37
  enumerable: true,
38
- get: function () { return chunkJ3UHV5T4_cjs.parseHolo; }
38
+ get: function () { return chunkFCGTI7FO_cjs.parseHolo; }
39
39
  });
40
40
  Object.defineProperty(exports, "parseHoloPartial", {
41
41
  enumerable: true,
42
- get: function () { return chunkJ3UHV5T4_cjs.parseHoloPartial; }
42
+ get: function () { return chunkFCGTI7FO_cjs.parseHoloPartial; }
43
43
  });
44
44
  Object.defineProperty(exports, "parseHoloStrict", {
45
45
  enumerable: true,
46
- get: function () { return chunkJ3UHV5T4_cjs.parseHoloStrict; }
46
+ get: function () { return chunkFCGTI7FO_cjs.parseHoloStrict; }
47
47
  });
48
48
  Object.defineProperty(exports, "ChunkBasedIncrementalParser", {
49
49
  enumerable: true,
50
- get: function () { return chunkQ4K2GEMW_cjs.ChunkBasedIncrementalParser; }
50
+ get: function () { return chunkFVNV4WHQ_cjs.ChunkBasedIncrementalParser; }
51
51
  });
52
52
  Object.defineProperty(exports, "HoloScriptPlusParser", {
53
53
  enumerable: true,
54
- get: function () { return chunkQ4K2GEMW_cjs.HoloScriptPlusParser; }
54
+ get: function () { return chunkFVNV4WHQ_cjs.HoloScriptPlusParser; }
55
55
  });
56
56
  Object.defineProperty(exports, "ParseCache", {
57
57
  enumerable: true,
58
- get: function () { return chunkQ4K2GEMW_cjs.ParseCache; }
58
+ get: function () { return chunkFVNV4WHQ_cjs.ParseCache; }
59
59
  });
60
60
  Object.defineProperty(exports, "createParser", {
61
61
  enumerable: true,
62
- get: function () { return chunkQ4K2GEMW_cjs.createParser; }
62
+ get: function () { return chunkFVNV4WHQ_cjs.createParser; }
63
63
  });
64
64
  Object.defineProperty(exports, "globalParseCache", {
65
65
  enumerable: true,
66
- get: function () { return chunkQ4K2GEMW_cjs.globalParseCache; }
66
+ get: function () { return chunkFVNV4WHQ_cjs.globalParseCache; }
67
67
  });
68
68
  Object.defineProperty(exports, "parse", {
69
69
  enumerable: true,
70
- get: function () { return chunkQ4K2GEMW_cjs.parse; }
70
+ get: function () { return chunkFVNV4WHQ_cjs.parse; }
71
71
  });
72
72
  Object.defineProperty(exports, "parseIncrementalChunks", {
73
73
  enumerable: true,
74
- get: function () { return chunkQ4K2GEMW_cjs.parseIncrementalChunks; }
74
+ get: function () { return chunkFVNV4WHQ_cjs.parseIncrementalChunks; }
75
75
  });
76
76
  //# sourceMappingURL=parser.cjs.map
77
77
  //# sourceMappingURL=parser.cjs.map
package/dist/parser.js CHANGED
@@ -1,12 +1,12 @@
1
- export { GrammarModuleRegistry, TypeScriptHsplusGrammar, normalizeHsplusGrammarErrors } from './chunk-U3D4SYQ5.js';
2
- export { HoloCompositionParser, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-FHVPN7BN.js';
1
+ export { GrammarModuleRegistry, TypeScriptHsplusGrammar, normalizeHsplusGrammarErrors } from './chunk-5LCJDX5A.js';
2
+ export { HoloCompositionParser, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-IX2U3RQT.js';
3
3
  import './chunk-SYTRBGDS.js';
4
- export { ChunkBasedIncrementalParser, HoloScriptPlusParser, ParseCache, createParser, globalParseCache, parse, parseIncrementalChunks } from './chunk-FRSKLX6I.js';
5
- import './chunk-CP7V3ATL.js';
4
+ export { ChunkBasedIncrementalParser, HoloScriptPlusParser, ParseCache, createParser, globalParseCache, parse, parseIncrementalChunks } from './chunk-F33KLYOS.js';
5
+ import './chunk-MSZNGI5P.js';
6
6
  import './chunk-UNMVGZVW.js';
7
- import './chunk-FWKEY4LD.js';
8
- import './chunk-2EGGAZT3.js';
9
- import './chunk-YW3I2FQL.js';
7
+ import './chunk-4AGNARX6.js';
8
+ import './chunk-QS27OYBU.js';
9
+ import './chunk-ANMME7XT.js';
10
10
  import './chunk-7I74JWPW.js';
11
11
  import './chunk-2I3XAGMF.js';
12
12
  import './chunk-MD4IVS42.js';
@@ -1,65 +1,154 @@
1
1
  'use strict';
2
2
 
3
- var chunkDVHZD5HV_cjs = require('../chunk-DVHZD5HV.cjs');
3
+ var chunkAUU4ACJP_cjs = require('../chunk-AUU4ACJP.cjs');
4
4
  var chunkGKFCHGCM_cjs = require('../chunk-GKFCHGCM.cjs');
5
- var chunkSQAAWO4V_cjs = require('../chunk-SQAAWO4V.cjs');
5
+ var chunk7YKNV2BE_cjs = require('../chunk-7YKNV2BE.cjs');
6
6
  var chunkLM2VU56C_cjs = require('../chunk-LM2VU56C.cjs');
7
7
  var chunkN2ILK7BF_cjs = require('../chunk-N2ILK7BF.cjs');
8
+ require('../chunk-FCGTI7FO.cjs');
9
+ require('../chunk-3VBO3IYQ.cjs');
10
+ require('../chunk-ILO2KMER.cjs');
11
+ require('../chunk-2PVEXEOL.cjs');
12
+ require('../chunk-6RDHWSZM.cjs');
13
+ require('../chunk-JERWCCEJ.cjs');
14
+ require('../chunk-AWXFEAQL.cjs');
15
+ require('../chunk-4FIBOJW6.cjs');
16
+ require('../chunk-N74QRJGP.cjs');
8
17
  require('../chunk-ZHPMP447.cjs');
9
18
 
10
19
 
11
20
 
21
+ Object.defineProperty(exports, "AGENT_INFERENCE_PERCEIVER", {
22
+ enumerable: true,
23
+ get: function () { return chunkAUU4ACJP_cjs.AGENT_INFERENCE_PERCEIVER; }
24
+ });
12
25
  Object.defineProperty(exports, "ANCHOR_DEFAULTS", {
13
26
  enumerable: true,
14
- get: function () { return chunkDVHZD5HV_cjs.ANCHOR_DEFAULTS; }
27
+ get: function () { return chunkAUU4ACJP_cjs.ANCHOR_DEFAULTS; }
15
28
  });
16
29
  Object.defineProperty(exports, "ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS", {
17
30
  enumerable: true,
18
- get: function () { return chunkDVHZD5HV_cjs.ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS; }
31
+ get: function () { return chunkAUU4ACJP_cjs.ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS; }
19
32
  });
20
33
  Object.defineProperty(exports, "HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION", {
21
34
  enumerable: true,
22
- get: function () { return chunkDVHZD5HV_cjs.HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION; }
35
+ get: function () { return chunkAUU4ACJP_cjs.HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION; }
36
+ });
37
+ Object.defineProperty(exports, "PERCEIVER_CONSENSUS_VERSION", {
38
+ enumerable: true,
39
+ get: function () { return chunkAUU4ACJP_cjs.PERCEIVER_CONSENSUS_VERSION; }
40
+ });
41
+ Object.defineProperty(exports, "PERCEIVER_FACT_CLASSES", {
42
+ enumerable: true,
43
+ get: function () { return chunkAUU4ACJP_cjs.PERCEIVER_FACT_CLASSES; }
44
+ });
45
+ Object.defineProperty(exports, "POSITION_EPSILON", {
46
+ enumerable: true,
47
+ get: function () { return chunkAUU4ACJP_cjs.POSITION_EPSILON; }
48
+ });
49
+ Object.defineProperty(exports, "SURFACE_TWIN_VERSION", {
50
+ enumerable: true,
51
+ get: function () { return chunkAUU4ACJP_cjs.SURFACE_TWIN_VERSION; }
23
52
  });
24
53
  Object.defineProperty(exports, "TRAJECTORY_DEFAULTS", {
25
54
  enumerable: true,
26
- get: function () { return chunkDVHZD5HV_cjs.TRAJECTORY_DEFAULTS; }
55
+ get: function () { return chunkAUU4ACJP_cjs.TRAJECTORY_DEFAULTS; }
56
+ });
57
+ Object.defineProperty(exports, "URDF_PERCEIVER", {
58
+ enumerable: true,
59
+ get: function () { return chunkAUU4ACJP_cjs.URDF_PERCEIVER; }
60
+ });
61
+ Object.defineProperty(exports, "WEBGPU_PERCEIVER", {
62
+ enumerable: true,
63
+ get: function () { return chunkAUU4ACJP_cjs.WEBGPU_PERCEIVER; }
64
+ });
65
+ Object.defineProperty(exports, "applyProjectionTransform", {
66
+ enumerable: true,
67
+ get: function () { return chunkAUU4ACJP_cjs.applyProjectionTransform; }
27
68
  });
28
69
  Object.defineProperty(exports, "arCoreDepthFrameToMobileSensorFrame", {
29
70
  enumerable: true,
30
- get: function () { return chunkDVHZD5HV_cjs.arCoreDepthFrameToMobileSensorFrame; }
71
+ get: function () { return chunkAUU4ACJP_cjs.arCoreDepthFrameToMobileSensorFrame; }
31
72
  });
32
73
  Object.defineProperty(exports, "cameraPoseFromColumnMajorTransform", {
33
74
  enumerable: true,
34
- get: function () { return chunkDVHZD5HV_cjs.cameraPoseFromColumnMajorTransform; }
75
+ get: function () { return chunkAUU4ACJP_cjs.cameraPoseFromColumnMajorTransform; }
76
+ });
77
+ Object.defineProperty(exports, "canonicalPhysicalId", {
78
+ enumerable: true,
79
+ get: function () { return chunkAUU4ACJP_cjs.canonicalPhysicalId; }
80
+ });
81
+ Object.defineProperty(exports, "checkSurfaceTwinCorrespondence", {
82
+ enumerable: true,
83
+ get: function () { return chunkAUU4ACJP_cjs.checkSurfaceTwinCorrespondence; }
35
84
  });
36
85
  Object.defineProperty(exports, "createAnchorContext", {
37
86
  enumerable: true,
38
- get: function () { return chunkDVHZD5HV_cjs.createAnchorContext; }
87
+ get: function () { return chunkAUU4ACJP_cjs.createAnchorContext; }
39
88
  });
40
89
  Object.defineProperty(exports, "createArCoreDepthMobileSensorBundle", {
41
90
  enumerable: true,
42
- get: function () { return chunkDVHZD5HV_cjs.createArCoreDepthMobileSensorBundle; }
91
+ get: function () { return chunkAUU4ACJP_cjs.createArCoreDepthMobileSensorBundle; }
43
92
  });
44
93
  Object.defineProperty(exports, "createFusedAttentionBackend", {
45
94
  enumerable: true,
46
- get: function () { return chunkDVHZD5HV_cjs.createFusedAttentionBackend; }
95
+ get: function () { return chunkAUU4ACJP_cjs.createFusedAttentionBackend; }
47
96
  });
48
97
  Object.defineProperty(exports, "createTrajectoryMemory", {
49
98
  enumerable: true,
50
- get: function () { return chunkDVHZD5HV_cjs.createTrajectoryMemory; }
99
+ get: function () { return chunkAUU4ACJP_cjs.createTrajectoryMemory; }
100
+ });
101
+ Object.defineProperty(exports, "deriveAgentInferencePerception", {
102
+ enumerable: true,
103
+ get: function () { return chunkAUU4ACJP_cjs.deriveAgentInferencePerception; }
104
+ });
105
+ Object.defineProperty(exports, "derivePerceiverConsensus", {
106
+ enumerable: true,
107
+ get: function () { return chunkAUU4ACJP_cjs.derivePerceiverConsensus; }
108
+ });
109
+ Object.defineProperty(exports, "deriveUrdfPerception", {
110
+ enumerable: true,
111
+ get: function () { return chunkAUU4ACJP_cjs.deriveUrdfPerception; }
112
+ });
113
+ Object.defineProperty(exports, "deriveWebGPUPerception", {
114
+ enumerable: true,
115
+ get: function () { return chunkAUU4ACJP_cjs.deriveWebGPUPerception; }
116
+ });
117
+ Object.defineProperty(exports, "derivedProjectionNode", {
118
+ enumerable: true,
119
+ get: function () { return chunkAUU4ACJP_cjs.derivedProjectionNode; }
120
+ });
121
+ Object.defineProperty(exports, "diagnoseVerifiedView", {
122
+ enumerable: true,
123
+ get: function () { return chunkAUU4ACJP_cjs.diagnoseVerifiedView; }
124
+ });
125
+ Object.defineProperty(exports, "enforceVerifiedViewReceipts", {
126
+ enumerable: true,
127
+ get: function () { return chunkAUU4ACJP_cjs.enforceVerifiedViewReceipts; }
128
+ });
129
+ Object.defineProperty(exports, "extractDisplayedProjections", {
130
+ enumerable: true,
131
+ get: function () { return chunkAUU4ACJP_cjs.extractDisplayedProjections; }
132
+ });
133
+ Object.defineProperty(exports, "isProvenanceComplete", {
134
+ enumerable: true,
135
+ get: function () { return chunkAUU4ACJP_cjs.isProvenanceComplete; }
51
136
  });
52
137
  Object.defineProperty(exports, "mobileSensorBundleToFrames", {
53
138
  enumerable: true,
54
- get: function () { return chunkDVHZD5HV_cjs.mobileSensorBundleToFrames; }
139
+ get: function () { return chunkAUU4ACJP_cjs.mobileSensorBundleToFrames; }
55
140
  });
56
141
  Object.defineProperty(exports, "replayMobileSensorBundle", {
57
142
  enumerable: true,
58
- get: function () { return chunkDVHZD5HV_cjs.replayMobileSensorBundle; }
143
+ get: function () { return chunkAUU4ACJP_cjs.replayMobileSensorBundle; }
59
144
  });
60
145
  Object.defineProperty(exports, "validateMobileSensorBundle", {
61
146
  enumerable: true,
62
- get: function () { return chunkDVHZD5HV_cjs.validateMobileSensorBundle; }
147
+ get: function () { return chunkAUU4ACJP_cjs.validateMobileSensorBundle; }
148
+ });
149
+ Object.defineProperty(exports, "verifySurfaceTwinLive", {
150
+ enumerable: true,
151
+ get: function () { return chunkAUU4ACJP_cjs.verifySurfaceTwinLive; }
63
152
  });
64
153
  Object.defineProperty(exports, "assertHoloMapManifestContract", {
65
154
  enumerable: true,
@@ -67,95 +156,95 @@ Object.defineProperty(exports, "assertHoloMapManifestContract", {
67
156
  });
68
157
  Object.defineProperty(exports, "HOLOMAP_DEFAULTS", {
69
158
  enumerable: true,
70
- get: function () { return chunkSQAAWO4V_cjs.HOLOMAP_DEFAULTS; }
159
+ get: function () { return chunk7YKNV2BE_cjs.HOLOMAP_DEFAULTS; }
71
160
  });
72
161
  Object.defineProperty(exports, "HOLOMAP_DENSE_PROOF_DEFAULTS", {
73
162
  enumerable: true,
74
- get: function () { return chunkSQAAWO4V_cjs.HOLOMAP_DENSE_PROOF_DEFAULTS; }
163
+ get: function () { return chunk7YKNV2BE_cjs.HOLOMAP_DENSE_PROOF_DEFAULTS; }
75
164
  });
76
165
  Object.defineProperty(exports, "anchorReconstructionManifest", {
77
166
  enumerable: true,
78
- get: function () { return chunkSQAAWO4V_cjs.anchorReconstructionManifest; }
167
+ get: function () { return chunk7YKNV2BE_cjs.anchorReconstructionManifest; }
79
168
  });
80
169
  Object.defineProperty(exports, "assertWeightCid", {
81
170
  enumerable: true,
82
- get: function () { return chunkSQAAWO4V_cjs.assertWeightCid; }
171
+ get: function () { return chunk7YKNV2BE_cjs.assertWeightCid; }
83
172
  });
84
173
  Object.defineProperty(exports, "computeReconstructionManifestDigest", {
85
174
  enumerable: true,
86
- get: function () { return chunkSQAAWO4V_cjs.computeReconstructionManifestDigest; }
175
+ get: function () { return chunk7YKNV2BE_cjs.computeReconstructionManifestDigest; }
87
176
  });
88
177
  Object.defineProperty(exports, "createHoloMapMicroEncoder", {
89
178
  enumerable: true,
90
- get: function () { return chunkSQAAWO4V_cjs.createHoloMapMicroEncoder; }
179
+ get: function () { return chunk7YKNV2BE_cjs.createHoloMapMicroEncoder; }
91
180
  });
92
181
  Object.defineProperty(exports, "createHoloMapRunId", {
93
182
  enumerable: true,
94
- get: function () { return chunkSQAAWO4V_cjs.createHoloMapRunId; }
183
+ get: function () { return chunk7YKNV2BE_cjs.createHoloMapRunId; }
95
184
  });
96
185
  Object.defineProperty(exports, "createHoloMapRuntime", {
97
186
  enumerable: true,
98
- get: function () { return chunkSQAAWO4V_cjs.createHoloMapRuntime; }
187
+ get: function () { return chunk7YKNV2BE_cjs.createHoloMapRuntime; }
99
188
  });
100
189
  Object.defineProperty(exports, "createPagedKVCache", {
101
190
  enumerable: true,
102
- get: function () { return chunkSQAAWO4V_cjs.createPagedKVCache; }
191
+ get: function () { return chunk7YKNV2BE_cjs.createPagedKVCache; }
103
192
  });
104
193
  Object.defineProperty(exports, "deserializeMicroWeights", {
105
194
  enumerable: true,
106
- get: function () { return chunkSQAAWO4V_cjs.deserializeMicroWeights; }
195
+ get: function () { return chunk7YKNV2BE_cjs.deserializeMicroWeights; }
107
196
  });
108
197
  Object.defineProperty(exports, "frameToMicroImage", {
109
198
  enumerable: true,
110
- get: function () { return chunkSQAAWO4V_cjs.frameToMicroImage; }
199
+ get: function () { return chunk7YKNV2BE_cjs.frameToMicroImage; }
111
200
  });
112
201
  Object.defineProperty(exports, "getCachedWeightBlob", {
113
202
  enumerable: true,
114
- get: function () { return chunkSQAAWO4V_cjs.getCachedWeightBlob; }
203
+ get: function () { return chunk7YKNV2BE_cjs.getCachedWeightBlob; }
115
204
  });
116
205
  Object.defineProperty(exports, "loadHoloMapWeightBlob", {
117
206
  enumerable: true,
118
- get: function () { return chunkSQAAWO4V_cjs.loadHoloMapWeightBlob; }
207
+ get: function () { return chunk7YKNV2BE_cjs.loadHoloMapWeightBlob; }
119
208
  });
120
209
  Object.defineProperty(exports, "logHoloMapEvent", {
121
210
  enumerable: true,
122
- get: function () { return chunkSQAAWO4V_cjs.logHoloMapEvent; }
211
+ get: function () { return chunk7YKNV2BE_cjs.logHoloMapEvent; }
123
212
  });
124
213
  Object.defineProperty(exports, "mergeAnchoredProvenance", {
125
214
  enumerable: true,
126
- get: function () { return chunkSQAAWO4V_cjs.mergeAnchoredProvenance; }
215
+ get: function () { return chunk7YKNV2BE_cjs.mergeAnchoredProvenance; }
127
216
  });
128
217
  Object.defineProperty(exports, "normalizeWeightCidDigest", {
129
218
  enumerable: true,
130
- get: function () { return chunkSQAAWO4V_cjs.normalizeWeightCidDigest; }
219
+ get: function () { return chunk7YKNV2BE_cjs.normalizeWeightCidDigest; }
131
220
  });
132
221
  Object.defineProperty(exports, "putCachedWeightBlob", {
133
222
  enumerable: true,
134
- get: function () { return chunkSQAAWO4V_cjs.putCachedWeightBlob; }
223
+ get: function () { return chunk7YKNV2BE_cjs.putCachedWeightBlob; }
135
224
  });
136
225
  Object.defineProperty(exports, "resetHoloMapTelemetryForTests", {
137
226
  enumerable: true,
138
- get: function () { return chunkSQAAWO4V_cjs.resetHoloMapTelemetryForTests; }
227
+ get: function () { return chunk7YKNV2BE_cjs.resetHoloMapTelemetryForTests; }
139
228
  });
140
229
  Object.defineProperty(exports, "runHoloMapMicroEncoderCpu", {
141
230
  enumerable: true,
142
- get: function () { return chunkSQAAWO4V_cjs.runHoloMapMicroEncoderCpu; }
231
+ get: function () { return chunk7YKNV2BE_cjs.runHoloMapMicroEncoderCpu; }
143
232
  });
144
233
  Object.defineProperty(exports, "selfAttestReconstructionManifest", {
145
234
  enumerable: true,
146
- get: function () { return chunkSQAAWO4V_cjs.selfAttestReconstructionManifest; }
235
+ get: function () { return chunk7YKNV2BE_cjs.selfAttestReconstructionManifest; }
147
236
  });
148
237
  Object.defineProperty(exports, "serializeMicroWeights", {
149
238
  enumerable: true,
150
- get: function () { return chunkSQAAWO4V_cjs.serializeMicroWeights; }
239
+ get: function () { return chunk7YKNV2BE_cjs.serializeMicroWeights; }
151
240
  });
152
241
  Object.defineProperty(exports, "stripAnchoredProvenance", {
153
242
  enumerable: true,
154
- get: function () { return chunkSQAAWO4V_cjs.stripAnchoredProvenance; }
243
+ get: function () { return chunk7YKNV2BE_cjs.stripAnchoredProvenance; }
155
244
  });
156
245
  Object.defineProperty(exports, "tryCreateHoloMapEncoderDevice", {
157
246
  enumerable: true,
158
- get: function () { return chunkSQAAWO4V_cjs.tryCreateHoloMapEncoderDevice; }
247
+ get: function () { return chunk7YKNV2BE_cjs.tryCreateHoloMapEncoderDevice; }
159
248
  });
160
249
  Object.defineProperty(exports, "computeHoloMapReplayFingerprint", {
161
250
  enumerable: true,
@@ -103,3 +103,162 @@ export declare function computeHoloMapReplayFingerprint(parts: {
103
103
  }): string;
104
104
  export declare function fnv1a32Hex(input: string): string;
105
105
  export declare function assertHoloMapManifestContract(m: ReconstructionManifest): void;
106
+
107
+ /** @cross_perceiver_contract — perceiver-consensus receipt + per-artifact derivations */
108
+ export declare const PERCEIVER_CONSENSUS_VERSION: 'perceiver-consensus-v3';
109
+ export declare const POSITION_EPSILON: number;
110
+ export type PerceiverFactClass =
111
+ | 'source-name'
112
+ | 'agent-entities'
113
+ | 'affordance-count'
114
+ | 'affordance-names'
115
+ | 'physical-entities'
116
+ | 'geometry'
117
+ | 'position';
118
+ export declare function canonicalPhysicalId(name: string): string;
119
+ export interface PerceivedAffordanceOffer {
120
+ action: string;
121
+ target?: string;
122
+ [key: string]: unknown;
123
+ }
124
+ export interface PerceivedEntity {
125
+ id: string;
126
+ kind: 'agent';
127
+ offerCount: number;
128
+ offers?: PerceivedAffordanceOffer[];
129
+ [key: string]: unknown;
130
+ }
131
+ export interface PerceivedPhysicalEntity {
132
+ id: string;
133
+ label?: string;
134
+ geometry?: string;
135
+ position?: number[];
136
+ extent?: number;
137
+ mobility?: 'fixed' | 'actuated';
138
+ [key: string]: unknown;
139
+ }
140
+ export interface PerceiverDerivation {
141
+ perceiver: string;
142
+ artifactHash: string;
143
+ expresses: PerceiverFactClass[];
144
+ sourceName: string | null;
145
+ entities: PerceivedEntity[];
146
+ physicalEntities?: PerceivedPhysicalEntity[];
147
+ coverageGaps: string[];
148
+ }
149
+ export interface PerceiverDisagreement {
150
+ fact: string;
151
+ claims: Record<string, string | number | null>;
152
+ detail: string;
153
+ }
154
+ export interface PerceiverConsensusReceipt {
155
+ version: typeof PERCEIVER_CONSENSUS_VERSION;
156
+ verdict: 'CONSENSUS' | 'FALSIFIED';
157
+ sourceName: string | null;
158
+ perceivers: Array<{
159
+ perceiver: string;
160
+ artifactHash: string;
161
+ expresses: PerceiverFactClass[];
162
+ entityCount: number;
163
+ physicalEntityCount: number;
164
+ coverageGaps: string[];
165
+ }>;
166
+ comparedFacts: number;
167
+ disagreements: PerceiverDisagreement[];
168
+ receiptHash: string;
169
+ }
170
+ export declare function derivePerceiverConsensus(
171
+ derivations: PerceiverDerivation[]
172
+ ): PerceiverConsensusReceipt;
173
+ export declare const WEBGPU_PERCEIVER: 'webgpu';
174
+ export declare function deriveWebGPUPerception(artifact: string): PerceiverDerivation;
175
+ export declare const AGENT_INFERENCE_PERCEIVER: 'agent-inference';
176
+ export declare function deriveAgentInferencePerception(
177
+ files: Record<string, string>
178
+ ): PerceiverDerivation;
179
+ export declare const URDF_PERCEIVER: 'urdf';
180
+ export declare function deriveUrdfPerception(artifact: string): PerceiverDerivation;
181
+ /** @verified_view — make agent-authored 2D surfaces provenance-complete for the gate. */
182
+ export declare function enforceVerifiedViewReceipts(source: string): string;
183
+ export declare function isProvenanceComplete(source: string): boolean;
184
+ export declare function derivedProjectionNode(
185
+ config: Record<string, unknown> | undefined
186
+ ): string | null;
187
+ export type VerifiedViewViolationReason =
188
+ | 'missing-projects'
189
+ | 'mismatched-node'
190
+ | 'hallucinated-root'
191
+ | 'projects-without-binding'
192
+ | 'no-verified-view';
193
+ export interface VerifiedViewViolation {
194
+ element: string;
195
+ node: string | null;
196
+ reason: VerifiedViewViolationReason;
197
+ detail: string;
198
+ }
199
+ export interface VerifiedViewDiagnosis {
200
+ parsed: boolean;
201
+ hasBindings: boolean;
202
+ verifiedViewOn: boolean;
203
+ complete: boolean;
204
+ violations: VerifiedViewViolation[];
205
+ }
206
+ export declare function diagnoseVerifiedView(source: string): VerifiedViewDiagnosis;
207
+ export declare const SURFACE_TWIN_VERSION: 'surface-twin-v1';
208
+ export type SurfaceTwinScalar = string | number | boolean | null;
209
+ export interface SurfaceTwinTransform {
210
+ precision?: number;
211
+ prefix?: string;
212
+ suffix?: string;
213
+ }
214
+ export interface SurfaceTwinProjection {
215
+ element: string;
216
+ node: string;
217
+ entity?: string;
218
+ identity: boolean;
219
+ transform?: SurfaceTwinTransform;
220
+ }
221
+ export interface SurfaceTwinDivergence {
222
+ node: string;
223
+ entity: string;
224
+ displayed: SurfaceTwinScalar;
225
+ authoritative: SurfaceTwinScalar;
226
+ expected?: SurfaceTwinScalar;
227
+ detail: string;
228
+ }
229
+ export type SurfaceTwinAbstentionReason =
230
+ | 'no-entity-binding'
231
+ | 'non-identity-transform'
232
+ | 'authority-unavailable'
233
+ | 'authority-missing'
234
+ | 'display-missing';
235
+ export interface SurfaceTwinAbstention {
236
+ node: string;
237
+ entity?: string;
238
+ reason: SurfaceTwinAbstentionReason;
239
+ }
240
+ export interface SurfaceTwinReceipt {
241
+ version: typeof SURFACE_TWIN_VERSION;
242
+ verdict: 'CONSENSUS' | 'FALSIFIED';
243
+ checked: number;
244
+ divergences: SurfaceTwinDivergence[];
245
+ abstentions: SurfaceTwinAbstention[];
246
+ receiptHash: string;
247
+ }
248
+ export interface SurfaceTwinInput {
249
+ contract: { projections: SurfaceTwinProjection[] };
250
+ displayedValues: Record<string, SurfaceTwinScalar>;
251
+ authoritativeState: Record<string, Record<string, unknown> | SurfaceTwinScalar>;
252
+ unavailableEntities?: readonly string[];
253
+ }
254
+ export declare function checkSurfaceTwinCorrespondence(input: SurfaceTwinInput): SurfaceTwinReceipt;
255
+ export declare function applyProjectionTransform(raw: SurfaceTwinScalar, transform: SurfaceTwinTransform): string;
256
+ export type AuthoritativeStateFetcher = (
257
+ entity: string
258
+ ) => Promise<Record<string, unknown> | SurfaceTwinScalar | null | undefined>;
259
+ export declare function verifySurfaceTwinLive(input: {
260
+ contract: { projections: SurfaceTwinProjection[] };
261
+ displayedValues: Record<string, SurfaceTwinScalar>;
262
+ fetchAuthoritativeState: AuthoritativeStateFetcher;
263
+ }): Promise<SurfaceTwinReceipt>;
264
+ export declare function extractDisplayedProjections(html: string): Record<string, string>;
@@ -1,8 +1,17 @@
1
- export { ANCHOR_DEFAULTS, ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS, HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION, TRAJECTORY_DEFAULTS, arCoreDepthFrameToMobileSensorFrame, cameraPoseFromColumnMajorTransform, createAnchorContext, createArCoreDepthMobileSensorBundle, createFusedAttentionBackend, createTrajectoryMemory, mobileSensorBundleToFrames, replayMobileSensorBundle, validateMobileSensorBundle } from '../chunk-G72754QB.js';
1
+ export { AGENT_INFERENCE_PERCEIVER, ANCHOR_DEFAULTS, ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS, HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION, PERCEIVER_CONSENSUS_VERSION, PERCEIVER_FACT_CLASSES, POSITION_EPSILON, SURFACE_TWIN_VERSION, TRAJECTORY_DEFAULTS, URDF_PERCEIVER, WEBGPU_PERCEIVER, applyProjectionTransform, arCoreDepthFrameToMobileSensorFrame, cameraPoseFromColumnMajorTransform, canonicalPhysicalId, checkSurfaceTwinCorrespondence, createAnchorContext, createArCoreDepthMobileSensorBundle, createFusedAttentionBackend, createTrajectoryMemory, deriveAgentInferencePerception, derivePerceiverConsensus, deriveUrdfPerception, deriveWebGPUPerception, derivedProjectionNode, diagnoseVerifiedView, enforceVerifiedViewReceipts, extractDisplayedProjections, isProvenanceComplete, mobileSensorBundleToFrames, replayMobileSensorBundle, validateMobileSensorBundle, verifySurfaceTwinLive } from '../chunk-ZGDEOXGU.js';
2
2
  export { assertHoloMapManifestContract } from '../chunk-IXWGYWH6.js';
3
- export { HOLOMAP_DEFAULTS, HOLOMAP_DENSE_PROOF_DEFAULTS, anchorReconstructionManifest, assertWeightCid, computeReconstructionManifestDigest, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, createPagedKVCache, deserializeMicroWeights, frameToMicroImage, getCachedWeightBlob, loadHoloMapWeightBlob, logHoloMapEvent, mergeAnchoredProvenance, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, selfAttestReconstructionManifest, serializeMicroWeights, stripAnchoredProvenance, tryCreateHoloMapEncoderDevice } from '../chunk-A4OOLBZD.js';
3
+ export { HOLOMAP_DEFAULTS, HOLOMAP_DENSE_PROOF_DEFAULTS, anchorReconstructionManifest, assertWeightCid, computeReconstructionManifestDigest, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, createPagedKVCache, deserializeMicroWeights, frameToMicroImage, getCachedWeightBlob, loadHoloMapWeightBlob, logHoloMapEvent, mergeAnchoredProvenance, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, selfAttestReconstructionManifest, serializeMicroWeights, stripAnchoredProvenance, tryCreateHoloMapEncoderDevice } from '../chunk-ATRAK4RC.js';
4
4
  export { computeHoloMapReplayFingerprint, fnv1a32Hex } from '../chunk-WNNE3PO3.js';
5
5
  export { HOLOMAP_SIMULATION_CONTRACT_KIND, ensureNodeWebGpuSync, isWebGpuEnvironmentPresent } from '../chunk-K56UVEXV.js';
6
+ import '../chunk-IX2U3RQT.js';
7
+ import '../chunk-SYTRBGDS.js';
8
+ import '../chunk-MSZNGI5P.js';
9
+ import '../chunk-4AGNARX6.js';
10
+ import '../chunk-QS27OYBU.js';
11
+ import '../chunk-ANMME7XT.js';
12
+ import '../chunk-7I74JWPW.js';
13
+ import '../chunk-2I3XAGMF.js';
14
+ import '../chunk-MD4IVS42.js';
6
15
  import '../chunk-W4GABFCR.js';
7
16
  //# sourceMappingURL=index.js.map
8
17
  //# sourceMappingURL=index.js.map
package/dist/runtime.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkGILYQ5VH_cjs = require('./chunk-GILYQ5VH.cjs');
4
- var chunk2E6PP5UE_cjs = require('./chunk-2E6PP5UE.cjs');
3
+ var chunkWXSDBWGM_cjs = require('./chunk-WXSDBWGM.cjs');
4
+ var chunkE2SNPMBO_cjs = require('./chunk-E2SNPMBO.cjs');
5
5
  require('./chunk-GJNCFRJU.cjs');
6
6
  require('./chunk-OQXB6NNC.cjs');
7
7
  var chunk3CDDRUER_cjs = require('./chunk-3CDDRUER.cjs');
8
8
  require('./chunk-PVODJEJ7.cjs');
9
- require('./chunk-SJIRCTIS.cjs');
9
+ require('./chunk-HSGJFCVJ.cjs');
10
10
  require('./chunk-ILRBGFVD.cjs');
11
11
  require('./chunk-NTQRFOPP.cjs');
12
12
  require('./chunk-Q47JEE2C.cjs');
@@ -289,27 +289,27 @@ var AgentMessaging = chunk3CDDRUER_cjs.lazyPeerSymbol(
289
289
 
290
290
  Object.defineProperty(exports, "HoloScriptDebugger", {
291
291
  enumerable: true,
292
- get: function () { return chunkGILYQ5VH_cjs.HoloScriptDebugger; }
292
+ get: function () { return chunkWXSDBWGM_cjs.HoloScriptDebugger; }
293
293
  });
294
294
  Object.defineProperty(exports, "createDebugger", {
295
295
  enumerable: true,
296
- get: function () { return chunkGILYQ5VH_cjs.createDebugger; }
296
+ get: function () { return chunkWXSDBWGM_cjs.createDebugger; }
297
297
  });
298
298
  Object.defineProperty(exports, "HoloScriptAgentRuntime", {
299
299
  enumerable: true,
300
- get: function () { return chunk2E6PP5UE_cjs.HoloScriptAgentRuntime; }
300
+ get: function () { return chunkE2SNPMBO_cjs.HoloScriptAgentRuntime; }
301
301
  });
302
302
  Object.defineProperty(exports, "HoloScriptRuntime", {
303
303
  enumerable: true,
304
- get: function () { return chunk2E6PP5UE_cjs.HoloScriptRuntime; }
304
+ get: function () { return chunkE2SNPMBO_cjs.HoloScriptRuntime; }
305
305
  });
306
306
  Object.defineProperty(exports, "TRAIT_OWNER_KEY", {
307
307
  enumerable: true,
308
- get: function () { return chunk2E6PP5UE_cjs.TRAIT_OWNER_KEY; }
308
+ get: function () { return chunkE2SNPMBO_cjs.TRAIT_OWNER_KEY; }
309
309
  });
310
310
  Object.defineProperty(exports, "registerPluginTraits", {
311
311
  enumerable: true,
312
- get: function () { return chunk2E6PP5UE_cjs.registerPluginTraits; }
312
+ get: function () { return chunkE2SNPMBO_cjs.registerPluginTraits; }
313
313
  });
314
314
  exports.AStarPathfinder = AStarPathfinder;
315
315
  exports.ActionNode = ActionNode;
package/dist/runtime.d.ts CHANGED
@@ -6,6 +6,7 @@ export class HoloScriptRuntime {
6
6
  execute(ast: any, context?: any): Promise<any>;
7
7
  executeProgram(nodes: ASTNode[], depth?: number): Promise<ExecutionResult[]>;
8
8
  getContext(): RuntimeContext;
9
+ registerTrait(name: string, handler: unknown): void;
9
10
  startVisualizationServer(port?: number): void;
10
11
  reset(): void;
11
12
  }