nucleation 0.1.129__tar.gz → 0.1.130__tar.gz

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 (446) hide show
  1. {nucleation-0.1.129 → nucleation-0.1.130}/Cargo.lock +1 -1
  2. {nucleation-0.1.129 → nucleation-0.1.130}/Cargo.toml +1 -1
  3. {nucleation-0.1.129 → nucleation-0.1.130}/PKG-INFO +1 -1
  4. {nucleation-0.1.129 → nucleation-0.1.130}/docs/rust/README.md +26 -0
  5. {nucleation-0.1.129 → nucleation-0.1.130}/examples/rust.md +47 -0
  6. nucleation-0.1.130/examples/rust_fluent_api.rs +50 -0
  7. {nucleation-0.1.129 → nucleation-0.1.130}/pyproject.toml +1 -1
  8. nucleation-0.1.130/release-artifacts/libnucleation-macos-arm64.dylib +0 -0
  9. nucleation-0.1.130/release-artifacts/libnucleation-macos-x64.dylib +0 -0
  10. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/libnucleation.rlib +0 -0
  11. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/nucleation-original.js +263 -18
  12. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/nucleation.d.ts +48 -5
  13. nucleation-0.1.130/release-artifacts/nucleation_bg.wasm +0 -0
  14. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/nucleation_bg.wasm.d.ts +22 -2
  15. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/package.json +1 -1
  16. nucleation-0.1.130/simple_cube.litematic +0 -0
  17. {nucleation-0.1.129 → nucleation-0.1.130}/src/definition_region.rs +50 -16
  18. {nucleation-0.1.129 → nucleation-0.1.130}/src/python/definition_region.rs +114 -9
  19. {nucleation-0.1.129 → nucleation-0.1.130}/src/python/schematic.rs +239 -0
  20. {nucleation-0.1.129 → nucleation-0.1.130}/src/universal_schematic.rs +18 -0
  21. {nucleation-0.1.129 → nucleation-0.1.130}/src/wasm/definition_region.rs +116 -4
  22. {nucleation-0.1.129 → nucleation-0.1.130}/src/wasm/schematic.rs +342 -0
  23. {nucleation-0.1.129 → nucleation-0.1.130}/src/wasm/typed_executor.rs +18 -0
  24. nucleation-0.1.130/test_schematic.schem +0 -0
  25. nucleation-0.1.130/tests/node_fluent_api_test.mjs +55 -0
  26. nucleation-0.1.130/tests/node_simple_circuit_test.js +63 -0
  27. nucleation-0.1.130/tests/node_simple_circuit_test.mjs +69 -0
  28. nucleation-0.1.130/tests/python_simple_circuit_test.py +56 -0
  29. nucleation-0.1.130/tests/rust_fluent_api_test.rs +49 -0
  30. nucleation-0.1.129/release-artifacts/libnucleation-macos-arm64.dylib +0 -0
  31. nucleation-0.1.129/release-artifacts/libnucleation-macos-x64.dylib +0 -0
  32. nucleation-0.1.129/release-artifacts/nucleation_bg.wasm +0 -0
  33. nucleation-0.1.129/simple_cube.litematic +0 -0
  34. nucleation-0.1.129/test_schematic.schem +0 -0
  35. {nucleation-0.1.129 → nucleation-0.1.130}/.DS_Store +0 -0
  36. {nucleation-0.1.129 → nucleation-0.1.130}/.cargo/config.toml +0 -0
  37. {nucleation-0.1.129 → nucleation-0.1.130}/.github/workflows/ci.yml +0 -0
  38. {nucleation-0.1.129 → nucleation-0.1.130}/.gitignore +0 -0
  39. {nucleation-0.1.129 → nucleation-0.1.130}/.idea/.gitignore +0 -0
  40. {nucleation-0.1.129 → nucleation-0.1.130}/.idea/minecraft_schematic_utils.iml +0 -0
  41. {nucleation-0.1.129 → nucleation-0.1.130}/.idea/misc.xml +0 -0
  42. {nucleation-0.1.129 → nucleation-0.1.130}/.idea/modules.xml +0 -0
  43. {nucleation-0.1.129 → nucleation-0.1.130}/.idea/vcs.xml +0 -0
  44. {nucleation-0.1.129 → nucleation-0.1.130}/4bit_adder.litematic +0 -0
  45. {nucleation-0.1.129 → nucleation-0.1.130}/CUSTOM_IO_INTEGRATION_CHECKLIST.md +0 -0
  46. {nucleation-0.1.129 → nucleation-0.1.130}/Dockerfile +0 -0
  47. {nucleation-0.1.129 → nucleation-0.1.130}/LICENSE +0 -0
  48. {nucleation-0.1.129 → nucleation-0.1.130}/README.md +0 -0
  49. {nucleation-0.1.129 → nucleation-0.1.130}/benches/performance_test.rs +0 -0
  50. {nucleation-0.1.129 → nucleation-0.1.130}/benches/schematic_bench.rs +0 -0
  51. {nucleation-0.1.129 → nucleation-0.1.130}/build-ffi.sh +0 -0
  52. {nucleation-0.1.129 → nucleation-0.1.130}/build-wasm.sh +0 -0
  53. {nucleation-0.1.129 → nucleation-0.1.130}/docs/README.md +0 -0
  54. {nucleation-0.1.129 → nucleation-0.1.130}/docs/insign-io-integration.md +0 -0
  55. {nucleation-0.1.129 → nucleation-0.1.130}/docs/javascript/README.md +0 -0
  56. {nucleation-0.1.129 → nucleation-0.1.130}/docs/python/README.md +0 -0
  57. {nucleation-0.1.129 → nucleation-0.1.130}/docs/shared/guide/circuit-api.md +0 -0
  58. {nucleation-0.1.129 → nucleation-0.1.130}/docs/shared/guide/definition-region.md +0 -0
  59. {nucleation-0.1.129 → nucleation-0.1.130}/docs/shared/guide/schematic-builder.md +0 -0
  60. {nucleation-0.1.129 → nucleation-0.1.130}/docs/shared/guide/typed-executor.md +0 -0
  61. {nucleation-0.1.129 → nucleation-0.1.130}/docs/shared/unicode-palette.md +0 -0
  62. {nucleation-0.1.129 → nucleation-0.1.130}/examples/bracket_notation.rs +0 -0
  63. {nucleation-0.1.129 → nucleation-0.1.130}/examples/build_adder.rs +0 -0
  64. {nucleation-0.1.129 → nucleation-0.1.130}/examples/build_test_adder.rs +0 -0
  65. {nucleation-0.1.129 → nucleation-0.1.130}/examples/check_adder_dims.rs +0 -0
  66. {nucleation-0.1.129 → nucleation-0.1.130}/examples/connect4_battle_setup.rs +0 -0
  67. {nucleation-0.1.129 → nucleation-0.1.130}/examples/create_simple_litematic.rs +0 -0
  68. {nucleation-0.1.129 → nucleation-0.1.130}/examples/custom_io_signals.rs +0 -0
  69. {nucleation-0.1.129 → nucleation-0.1.130}/examples/ffi.md +0 -0
  70. {nucleation-0.1.129 → nucleation-0.1.130}/examples/python.md +0 -0
  71. {nucleation-0.1.129 → nucleation-0.1.130}/examples/python_simulation.py +0 -0
  72. {nucleation-0.1.129 → nucleation-0.1.130}/examples/test_asymmetric_cubes.rs +0 -0
  73. {nucleation-0.1.129 → nucleation-0.1.130}/examples/test_checkerboard.rs +0 -0
  74. {nucleation-0.1.129 → nucleation-0.1.130}/examples/test_unicode_circuit.rs +0 -0
  75. {nucleation-0.1.129 → nucleation-0.1.130}/examples/universal_schematic_overhead.rs +0 -0
  76. {nucleation-0.1.129 → nucleation-0.1.130}/examples/wasm.md +0 -0
  77. {nucleation-0.1.129 → nucleation-0.1.130}/helf_adder.litematic +0 -0
  78. {nucleation-0.1.129 → nucleation-0.1.130}/insign.d.ts +0 -0
  79. {nucleation-0.1.129 → nucleation-0.1.130}/nucleation-stubs.php +0 -0
  80. {nucleation-0.1.129 → nucleation-0.1.130}/nucleation.pyi +0 -0
  81. {nucleation-0.1.129 → nucleation-0.1.130}/output/.DS_Store +0 -0
  82. {nucleation-0.1.129 → nucleation-0.1.130}/output/full_adder.litematic +0 -0
  83. {nucleation-0.1.129 → nucleation-0.1.130}/pre-push.sh +0 -0
  84. {nucleation-0.1.129 → nucleation-0.1.130}/py.typed +0 -0
  85. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/LICENSE +0 -0
  86. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/README.md +0 -0
  87. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/libnucleation.d +0 -0
  88. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/nucleation-cdn-loader.js +0 -0
  89. {nucleation-0.1.129 → nucleation-0.1.130}/release-artifacts/nucleation.js +0 -0
  90. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/generated/d_latch.litematic +0 -0
  91. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/generated/xor.schem +0 -0
  92. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/comparator_subtract_bug1.txt +0 -0
  93. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/comparator_subtract_bug2.txt +0 -0
  94. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/comparator_subtract_simple.txt +0 -0
  95. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/comparator_subtract_with_signs.txt +0 -0
  96. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/d_latch.txt +0 -0
  97. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/failing_case.txt +0 -0
  98. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/full_adder.txt +0 -0
  99. {nucleation-0.1.129 → nucleation-0.1.130}/schematic_builder/templates/xor.txt +0 -0
  100. {nucleation-0.1.129 → nucleation-0.1.130}/scripts/update-stubs.sh +0 -0
  101. {nucleation-0.1.129 → nucleation-0.1.130}/src/bin/schematic-builder.rs +0 -0
  102. {nucleation-0.1.129 → nucleation-0.1.130}/src/block_entity/generic.rs +0 -0
  103. {nucleation-0.1.129 → nucleation-0.1.130}/src/block_entity/mod.rs +0 -0
  104. {nucleation-0.1.129 → nucleation-0.1.130}/src/block_position.rs +0 -0
  105. {nucleation-0.1.129 → nucleation-0.1.130}/src/block_state.rs +0 -0
  106. {nucleation-0.1.129 → nucleation-0.1.130}/src/bounding_box.rs +0 -0
  107. {nucleation-0.1.129 → nucleation-0.1.130}/src/chunk.rs +0 -0
  108. {nucleation-0.1.129 → nucleation-0.1.130}/src/entity.rs +0 -0
  109. {nucleation-0.1.129 → nucleation-0.1.130}/src/ffi.rs +0 -0
  110. {nucleation-0.1.129 → nucleation-0.1.130}/src/formats/litematic.rs +0 -0
  111. {nucleation-0.1.129 → nucleation-0.1.130}/src/formats/mod.rs +0 -0
  112. {nucleation-0.1.129 → nucleation-0.1.130}/src/formats/schematic.rs +0 -0
  113. {nucleation-0.1.129 → nucleation-0.1.130}/src/formats/sponge_schematic_v3.md +0 -0
  114. {nucleation-0.1.129 → nucleation-0.1.130}/src/insign.rs +0 -0
  115. {nucleation-0.1.129 → nucleation-0.1.130}/src/item/mod.rs +0 -0
  116. {nucleation-0.1.129 → nucleation-0.1.130}/src/item/stack.rs +0 -0
  117. {nucleation-0.1.129 → nucleation-0.1.130}/src/lib.rs +0 -0
  118. {nucleation-0.1.129 → nucleation-0.1.130}/src/metadata.rs +0 -0
  119. {nucleation-0.1.129 → nucleation-0.1.130}/src/php.rs +0 -0
  120. {nucleation-0.1.129 → nucleation-0.1.130}/src/print_utils.rs +0 -0
  121. {nucleation-0.1.129 → nucleation-0.1.130}/src/python/circuit_builder.rs +0 -0
  122. {nucleation-0.1.129 → nucleation-0.1.130}/src/python/mod.rs +0 -0
  123. {nucleation-0.1.129 → nucleation-0.1.130}/src/python/schematic_builder.rs +0 -0
  124. {nucleation-0.1.129 → nucleation-0.1.130}/src/python/simulation.rs +0 -0
  125. {nucleation-0.1.129 → nucleation-0.1.130}/src/python/typed_executor.rs +0 -0
  126. {nucleation-0.1.129 → nucleation-0.1.130}/src/region.rs +0 -0
  127. {nucleation-0.1.129 → nucleation-0.1.130}/src/schematic_builder/palettes.rs +0 -0
  128. {nucleation-0.1.129 → nucleation-0.1.130}/src/schematic_builder.rs +0 -0
  129. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/circuit_builder.rs +0 -0
  130. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/mchprs_world.rs +0 -0
  131. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/mod.rs +0 -0
  132. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/tests.rs +0 -0
  133. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/truth_table.rs +0 -0
  134. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/executor.rs +0 -0
  135. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/insign_io.rs +0 -0
  136. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/integration_tests.rs +0 -0
  137. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/io_layout_builder.rs +0 -0
  138. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/io_mapping.rs +0 -0
  139. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/io_type.rs +0 -0
  140. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/layout_function.rs +0 -0
  141. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/mod.rs +0 -0
  142. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/sort_strategy.rs +0 -0
  143. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/tests.rs +0 -0
  144. {nucleation-0.1.129 → nucleation-0.1.130}/src/simulation/typed_executor/value.rs +0 -0
  145. {nucleation-0.1.129 → nucleation-0.1.130}/src/transforms.rs +0 -0
  146. {nucleation-0.1.129 → nucleation-0.1.130}/src/utils/block_string.rs +0 -0
  147. {nucleation-0.1.129 → nucleation-0.1.130}/src/utils/container_spec.rs +0 -0
  148. {nucleation-0.1.129 → nucleation-0.1.130}/src/utils/enhanced_nbt_parser.rs +0 -0
  149. {nucleation-0.1.129 → nucleation-0.1.130}/src/utils/mod.rs +0 -0
  150. {nucleation-0.1.129 → nucleation-0.1.130}/src/utils/nbt.rs +0 -0
  151. {nucleation-0.1.129 → nucleation-0.1.130}/src/wasm/circuit_builder.rs +0 -0
  152. {nucleation-0.1.129 → nucleation-0.1.130}/src/wasm/mod.rs +0 -0
  153. {nucleation-0.1.129 → nucleation-0.1.130}/src/wasm/schematic_builder.rs +0 -0
  154. {nucleation-0.1.129 → nucleation-0.1.130}/src/wasm/simulation.rs +0 -0
  155. {nucleation-0.1.129 → nucleation-0.1.130}/test-wasm.sh +0 -0
  156. {nucleation-0.1.129 → nucleation-0.1.130}/test_adder.litematic +0 -0
  157. {nucleation-0.1.129 → nucleation-0.1.130}/test_circuit.txt +0 -0
  158. {nucleation-0.1.129 → nucleation-0.1.130}/test_cli_output.litematic +0 -0
  159. {nucleation-0.1.129 → nucleation-0.1.130}/test_count_format.schem +0 -0
  160. {nucleation-0.1.129 → nucleation-0.1.130}/test_enhanced.schem +0 -0
  161. {nucleation-0.1.129 → nucleation-0.1.130}/test_fixed.schem +0 -0
  162. {nucleation-0.1.129 → nucleation-0.1.130}/tests/.DS_Store +0 -0
  163. {nucleation-0.1.129 → nucleation-0.1.130}/tests/barrel_nbt_test.rs +0 -0
  164. {nucleation-0.1.129 → nucleation-0.1.130}/tests/debug_flip.rs +0 -0
  165. {nucleation-0.1.129 → nucleation-0.1.130}/tests/definition_regions_test.rs +0 -0
  166. {nucleation-0.1.129 → nucleation-0.1.130}/tests/integration_tests.rs +0 -0
  167. {nucleation-0.1.129 → nucleation-0.1.130}/tests/mchprs_state_test.rs +0 -0
  168. {nucleation-0.1.129 → nucleation-0.1.130}/tests/nbt_parsing_test.rs +0 -0
  169. {nucleation-0.1.129 → nucleation-0.1.130}/tests/node_wasm_test.js +0 -0
  170. {nucleation-0.1.129 → nucleation-0.1.130}/tests/package.json +0 -0
  171. {nucleation-0.1.129 → nucleation-0.1.130}/tests/php-stubs-test.php +0 -0
  172. {nucleation-0.1.129 → nucleation-0.1.130}/tests/property_transformation_demo.rs +0 -0
  173. {nucleation-0.1.129 → nucleation-0.1.130}/tests/python_test.py +0 -0
  174. {nucleation-0.1.129 → nucleation-0.1.130}/tests/reproduce_bug.rs +0 -0
  175. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/1x1.litematic +0 -0
  176. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/3x2x3.litematic +0 -0
  177. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/3x3.litematic +0 -0
  178. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/4x2x4.litematic +0 -0
  179. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/4x4x4+1.litematic +0 -0
  180. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/Evaluator.schem +0 -0
  181. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/all_items.litematic +0 -0
  182. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/and.schem +0 -0
  183. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/brewer.litematic +0 -0
  184. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/cutecounter.schem +0 -0
  185. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/door_plot.litematic +0 -0
  186. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/file.litematic.l +0 -0
  187. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/gol.litematic +0 -0
  188. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/large_schematic.schem +0 -0
  189. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/linear_plotter.litematic +0 -0
  190. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/litematic-rose-farm.litematic +0 -0
  191. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/new_chest_test.schem +0 -0
  192. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/quarry.litematic +0 -0
  193. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/sample.litematic +0 -0
  194. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/sample.schem +0 -0
  195. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/spinny.litematic +0 -0
  196. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/ss-sorter.litematic +0 -0
  197. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/storage_thingy.litematic +0 -0
  198. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/test_coordinate_thingy.litematic +0 -0
  199. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/test_cube.schem +0 -0
  200. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/trencher.litematic +0 -0
  201. {nucleation-0.1.129 → nucleation-0.1.130}/tests/samples/wool_palette.litematic +0 -0
  202. {nucleation-0.1.129 → nucleation-0.1.130}/tests/simple_wasm_test.rs +0 -0
  203. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_barrel_hopper_simulation.rs +0 -0
  204. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_chunk_bounds_bug.rs +0 -0
  205. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_comparator_diagonal_bug.rs +0 -0
  206. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_comparator_subtract_bug.rs +0 -0
  207. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_comparator_subtract_executor.rs +0 -0
  208. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_custom_io_adjacent_bug.rs +0 -0
  209. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_custom_io_no_power_bug.rs +0 -0
  210. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_intermediate_wire_sync.rs +0 -0
  211. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_long_wire.rs +0 -0
  212. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_nibble_signal_strength.rs +0 -0
  213. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_region_expansion_bugs.rs +0 -0
  214. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_repeater_chain_sync.rs +0 -0
  215. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_repeater_custom_io_bug.rs +0 -0
  216. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_simulation_with_tight_bounds.rs +0 -0
  217. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_two_inputs_exact_topology.rs +0 -0
  218. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_two_inputs_no_output_bug.rs +0 -0
  219. {nucleation-0.1.129 → nucleation-0.1.130}/tests/test_typed_executor_sync_output_bug.rs +0 -0
  220. {nucleation-0.1.129 → nucleation-0.1.130}/tests/transformation_tests.rs +0 -0
  221. {nucleation-0.1.129 → nucleation-0.1.130}/tests/wasm_node_tests.rs +0 -0
  222. {nucleation-0.1.129 → nucleation-0.1.130}/tests/wasm_tests.rs +0 -0
  223. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/bun.lockb +0 -0
  224. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/index.html +0 -0
  225. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/index.js +0 -0
  226. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/minecraft_schematic_utils.js +0 -0
  227. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/minecraft_schematic_utils_bg.wasm +0 -0
  228. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/LICENSE +0 -0
  229. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/README.md +0 -0
  230. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/assert/strict.d.ts +0 -0
  231. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/assert.d.ts +0 -0
  232. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/async_hooks.d.ts +0 -0
  233. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/buffer.d.ts +0 -0
  234. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/child_process.d.ts +0 -0
  235. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/cluster.d.ts +0 -0
  236. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/console.d.ts +0 -0
  237. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/constants.d.ts +0 -0
  238. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/crypto.d.ts +0 -0
  239. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/dgram.d.ts +0 -0
  240. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/diagnostics_channel.d.ts +0 -0
  241. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/dns/promises.d.ts +0 -0
  242. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/dns.d.ts +0 -0
  243. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/dom-events.d.ts +0 -0
  244. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/domain.d.ts +0 -0
  245. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/events.d.ts +0 -0
  246. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/fs/promises.d.ts +0 -0
  247. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/fs.d.ts +0 -0
  248. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/globals.d.ts +0 -0
  249. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/globals.global.d.ts +0 -0
  250. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/http.d.ts +0 -0
  251. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/http2.d.ts +0 -0
  252. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/https.d.ts +0 -0
  253. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/index.d.ts +0 -0
  254. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/inspector.d.ts +0 -0
  255. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/module.d.ts +0 -0
  256. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/net.d.ts +0 -0
  257. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/os.d.ts +0 -0
  258. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/package.json +0 -0
  259. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/path.d.ts +0 -0
  260. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/perf_hooks.d.ts +0 -0
  261. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/process.d.ts +0 -0
  262. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/punycode.d.ts +0 -0
  263. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/querystring.d.ts +0 -0
  264. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/readline/promises.d.ts +0 -0
  265. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/readline.d.ts +0 -0
  266. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/repl.d.ts +0 -0
  267. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/sea.d.ts +0 -0
  268. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/stream/consumers.d.ts +0 -0
  269. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/stream/promises.d.ts +0 -0
  270. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/stream/web.d.ts +0 -0
  271. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/stream.d.ts +0 -0
  272. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/string_decoder.d.ts +0 -0
  273. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/test.d.ts +0 -0
  274. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/timers/promises.d.ts +0 -0
  275. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/timers.d.ts +0 -0
  276. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/tls.d.ts +0 -0
  277. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/trace_events.d.ts +0 -0
  278. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/tty.d.ts +0 -0
  279. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/url.d.ts +0 -0
  280. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/util.d.ts +0 -0
  281. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/v8.d.ts +0 -0
  282. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/vm.d.ts +0 -0
  283. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/wasi.d.ts +0 -0
  284. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/worker_threads.d.ts +0 -0
  285. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/node/zlib.d.ts +0 -0
  286. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/LICENSE +0 -0
  287. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/README.md +0 -0
  288. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/index.d.mts +0 -0
  289. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/index.d.ts +0 -0
  290. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/LICENSE +0 -0
  291. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/README.md +0 -0
  292. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/assert/strict.d.ts +0 -0
  293. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/assert.d.ts +0 -0
  294. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/async_hooks.d.ts +0 -0
  295. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/buffer.d.ts +0 -0
  296. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/child_process.d.ts +0 -0
  297. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/cluster.d.ts +0 -0
  298. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/console.d.ts +0 -0
  299. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/constants.d.ts +0 -0
  300. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/crypto.d.ts +0 -0
  301. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dgram.d.ts +0 -0
  302. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/diagnostics_channel.d.ts +0 -0
  303. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dns/promises.d.ts +0 -0
  304. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dns.d.ts +0 -0
  305. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/dom-events.d.ts +0 -0
  306. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/domain.d.ts +0 -0
  307. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/events.d.ts +0 -0
  308. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/fs/promises.d.ts +0 -0
  309. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/fs.d.ts +0 -0
  310. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/globals.d.ts +0 -0
  311. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/globals.global.d.ts +0 -0
  312. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/http.d.ts +0 -0
  313. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/http2.d.ts +0 -0
  314. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/https.d.ts +0 -0
  315. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/index.d.ts +0 -0
  316. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/inspector.d.ts +0 -0
  317. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/module.d.ts +0 -0
  318. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/net.d.ts +0 -0
  319. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/LICENSE +0 -0
  320. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/README.md +0 -0
  321. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/agent.d.ts +0 -0
  322. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/api.d.ts +0 -0
  323. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/balanced-pool.d.ts +0 -0
  324. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/cache.d.ts +0 -0
  325. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/client.d.ts +0 -0
  326. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/connector.d.ts +0 -0
  327. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/content-type.d.ts +0 -0
  328. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/cookies.d.ts +0 -0
  329. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/diagnostics-channel.d.ts +0 -0
  330. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/dispatcher.d.ts +0 -0
  331. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -0
  332. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/errors.d.ts +0 -0
  333. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/eventsource.d.ts +0 -0
  334. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/fetch.d.ts +0 -0
  335. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/file.d.ts +0 -0
  336. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/filereader.d.ts +0 -0
  337. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/formdata.d.ts +0 -0
  338. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/global-dispatcher.d.ts +0 -0
  339. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/global-origin.d.ts +0 -0
  340. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/handlers.d.ts +0 -0
  341. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/header.d.ts +0 -0
  342. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/index.d.ts +0 -0
  343. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/interceptors.d.ts +0 -0
  344. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-agent.d.ts +0 -0
  345. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-client.d.ts +0 -0
  346. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-errors.d.ts +0 -0
  347. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-interceptor.d.ts +0 -0
  348. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/mock-pool.d.ts +0 -0
  349. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/package.json +0 -0
  350. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/patch.d.ts +0 -0
  351. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/pool-stats.d.ts +0 -0
  352. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/pool.d.ts +0 -0
  353. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/proxy-agent.d.ts +0 -0
  354. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/readable.d.ts +0 -0
  355. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/retry-agent.d.ts +0 -0
  356. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/retry-handler.d.ts +0 -0
  357. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/util.d.ts +0 -0
  358. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/webidl.d.ts +0 -0
  359. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/node_modules/undici-types/websocket.d.ts +0 -0
  360. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/os.d.ts +0 -0
  361. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/package.json +0 -0
  362. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/path.d.ts +0 -0
  363. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/perf_hooks.d.ts +0 -0
  364. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/process.d.ts +0 -0
  365. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/punycode.d.ts +0 -0
  366. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/querystring.d.ts +0 -0
  367. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/readline/promises.d.ts +0 -0
  368. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/readline.d.ts +0 -0
  369. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/repl.d.ts +0 -0
  370. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/sea.d.ts +0 -0
  371. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/sqlite.d.ts +0 -0
  372. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream/consumers.d.ts +0 -0
  373. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream/promises.d.ts +0 -0
  374. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream/web.d.ts +0 -0
  375. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/stream.d.ts +0 -0
  376. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/string_decoder.d.ts +0 -0
  377. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/test.d.ts +0 -0
  378. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/timers/promises.d.ts +0 -0
  379. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/timers.d.ts +0 -0
  380. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/tls.d.ts +0 -0
  381. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/trace_events.d.ts +0 -0
  382. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/tty.d.ts +0 -0
  383. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/url.d.ts +0 -0
  384. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/util.d.ts +0 -0
  385. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/v8.d.ts +0 -0
  386. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/vm.d.ts +0 -0
  387. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/wasi.d.ts +0 -0
  388. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/worker_threads.d.ts +0 -0
  389. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/node_modules/@types/node/zlib.d.ts +0 -0
  390. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/@types/ws/package.json +0 -0
  391. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/README.md +0 -0
  392. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/bun.d.ts +0 -0
  393. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/deprecated.d.ts +0 -0
  394. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/fetch.d.ts +0 -0
  395. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/ffi.d.ts +0 -0
  396. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/globals.d.ts +0 -0
  397. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/html-rewriter.d.ts +0 -0
  398. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/index.d.ts +0 -0
  399. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/jsc.d.ts +0 -0
  400. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/overrides.d.ts +0 -0
  401. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/package.json +0 -0
  402. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/sqlite.d.ts +0 -0
  403. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/test.d.ts +0 -0
  404. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/bun-types/wasm.d.ts +0 -0
  405. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/README.md +0 -0
  406. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/agent.d.ts +0 -0
  407. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/api.d.ts +0 -0
  408. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/balanced-pool.d.ts +0 -0
  409. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/cache.d.ts +0 -0
  410. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/client.d.ts +0 -0
  411. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/connector.d.ts +0 -0
  412. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/content-type.d.ts +0 -0
  413. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/cookies.d.ts +0 -0
  414. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/diagnostics-channel.d.ts +0 -0
  415. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/dispatcher.d.ts +0 -0
  416. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/errors.d.ts +0 -0
  417. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/fetch.d.ts +0 -0
  418. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/file.d.ts +0 -0
  419. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/filereader.d.ts +0 -0
  420. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/formdata.d.ts +0 -0
  421. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/global-dispatcher.d.ts +0 -0
  422. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/global-origin.d.ts +0 -0
  423. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/handlers.d.ts +0 -0
  424. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/header.d.ts +0 -0
  425. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/index.d.ts +0 -0
  426. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/interceptors.d.ts +0 -0
  427. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/mock-agent.d.ts +0 -0
  428. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/mock-client.d.ts +0 -0
  429. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/mock-errors.d.ts +0 -0
  430. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/mock-interceptor.d.ts +0 -0
  431. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/mock-pool.d.ts +0 -0
  432. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/package.json +0 -0
  433. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/patch.d.ts +0 -0
  434. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/pool-stats.d.ts +0 -0
  435. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/pool.d.ts +0 -0
  436. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/proxy-agent.d.ts +0 -0
  437. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/readable.d.ts +0 -0
  438. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/webidl.d.ts +0 -0
  439. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/node_modules/undici-types/websocket.d.ts +0 -0
  440. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/nucleation-web.js +0 -0
  441. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/nucleation-web_bg.wasm +0 -0
  442. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/nucleation.js +0 -0
  443. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/nucleation_bg.js +0 -0
  444. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/nucleation_bg.wasm +0 -0
  445. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/package.json +0 -0
  446. {nucleation-0.1.129 → nucleation-0.1.130}/wasm-test/server.js +0 -0
@@ -1687,7 +1687,7 @@ dependencies = [
1687
1687
 
1688
1688
  [[package]]
1689
1689
  name = "nucleation"
1690
- version = "0.1.129"
1690
+ version = "0.1.130"
1691
1691
  dependencies = [
1692
1692
  "base64",
1693
1693
  "bytemuck",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "nucleation"
3
- version = "0.1.129"
3
+ version = "0.1.130"
4
4
  edition = "2021"
5
5
  description = "A high-performance Minecraft schematic parser and utility library"
6
6
  authors = ["Nano nano@schem.at"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucleation
3
- Version: 0.1.129
3
+ Version: 0.1.130
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
@@ -93,6 +93,32 @@ pub struct Region {
93
93
  }
94
94
  ```
95
95
 
96
+ ### DefinitionRegion
97
+
98
+ A logical region defined by multiple bounding boxes, used for defining inputs, outputs, and other logical constructs.
99
+
100
+ ```rust
101
+ pub struct DefinitionRegion {
102
+ pub boxes: Vec<BoundingBox>,
103
+ pub metadata: HashMap<String, String>,
104
+ }
105
+ ```
106
+
107
+ **Methods (Fluent API):**
108
+ - `new() -> Self` - Create empty region
109
+ - `from_bounds(min: (i32, i32, i32), max: (i32, i32, i32)) -> Self` - Create from bounds
110
+ - `add_bounds(&mut self, min, max) -> &mut Self` - Add a bounding box
111
+ - `add_point(&mut self, x, y, z) -> &mut Self` - Add a single point
112
+ - `set_color(&mut self, color: u32) -> &mut Self` - Set visualization color
113
+ - `with_metadata(&mut self, key, value) -> &mut Self` - Add metadata
114
+ - `filter_by_block(&mut self, schematic, block_name) -> &mut Self` - Keep only matching blocks
115
+ - `exclude_block(&mut self, schematic, block_name) -> &mut Self` - Remove matching blocks
116
+ - `subtract(&mut self, other) -> &mut Self` - Boolean subtraction
117
+ - `intersect(&mut self, other) -> &mut Self` - Boolean intersection
118
+ - `union_into(&mut self, other) -> &mut Self` - Boolean union
119
+
120
+ **Note:** Methods like `filter_by_block` require a reference to the `UniversalSchematic`. Due to Rust's borrowing rules, you may need to clone the region or build it separately before inserting it into the schematic if you need to filter based on the schematic's own blocks.
121
+
96
122
  ## Loading and Saving
97
123
 
98
124
  ### Litematic Format
@@ -113,3 +113,50 @@ The Rust side does **not** re-export those symbols to avoid name clashes.
113
113
  * **Deterministic randomness**—chunk loading strategy `"Random"` hashes the
114
114
  schematic name, so the order is stable across runs.
115
115
 
116
+ ---
117
+
118
+ ## 6 · Definition Regions & Fluent API
119
+
120
+ Nucleation provides a fluent API for defining logical regions within your schematic. This is useful for marking inputs, outputs, or other significant areas.
121
+
122
+ ### Basic Usage
123
+
124
+ You can chain methods to define a region's properties:
125
+
126
+ ```rust
127
+ schematic.create_region("my_region".to_string(), (0, 0, 0), (5, 5, 5))
128
+ .add_bounds((10, 0, 0), (15, 5, 5)) // Add disjoint area
129
+ .set_color(0xFF0000) // Set visualization color
130
+ .with_metadata("type", "input"); // Add custom metadata
131
+ ```
132
+
133
+ ### Filtering Blocks (Borrow Checker Patterns)
134
+
135
+ When filtering a region based on the blocks inside it (e.g., "keep only stone blocks"), you need to access the schematic's block data. In Rust, this creates a borrow checker challenge because the region is owned by the schematic.
136
+
137
+ **Pattern A: Clone, Modify, Insert**
138
+ Safest approach. Clone the region so you can borrow the schematic immutably while modifying the region.
139
+
140
+ ```rust
141
+ if let Some(region) = schematic.definition_regions.get("layout") {
142
+ let mut region_clone = region.clone();
143
+
144
+ // Now safe to borrow schematic immutably
145
+ region_clone.filter_by_block(&schematic, "minecraft:stone");
146
+
147
+ // Update the schematic
148
+ schematic.definition_regions.insert("stone_only".to_string(), region_clone);
149
+ }
150
+ ```
151
+
152
+ **Pattern B: Build Before Inserting**
153
+ Create the region independently, modify it, and then insert it into the schematic.
154
+
155
+ ```rust
156
+ use nucleation::definition_region::DefinitionRegion;
157
+
158
+ let mut new_region = DefinitionRegion::from_bounds((0,0,0), (5,5,5));
159
+ new_region.exclude_block(&schematic, "minecraft:air");
160
+ schematic.definition_regions.insert("non_air".to_string(), new_region);
161
+ ```
162
+
@@ -0,0 +1,50 @@
1
+ use nucleation::definition_region::DefinitionRegion;
2
+ use nucleation::UniversalSchematic;
3
+
4
+ fn main() {
5
+ let mut schematic = UniversalSchematic::new("FluentRust".to_string());
6
+
7
+ // Setup some blocks
8
+ schematic.set_block_str(0, 0, 0, "minecraft:stone");
9
+ schematic.set_block_str(1, 0, 0, "minecraft:dirt");
10
+ schematic.set_block_str(2, 0, 0, "minecraft:stone");
11
+
12
+ // 1. Basic Fluent API (No dependency on schematic content)
13
+ // This works perfectly because we only borrow the region mutably (via the schematic),
14
+ // and we don't need to borrow the schematic again for these methods.
15
+ schematic
16
+ .create_region("layout".to_string(), (0, 0, 0), (2, 0, 0))
17
+ .add_bounds((0, 1, 0), (2, 1, 0))
18
+ .set_color(0xFF0000)
19
+ .with_metadata("description", "Main Layout");
20
+
21
+ println!("Created region 'layout'");
22
+
23
+ // 2. Advanced Fluent API (Filtering based on schematic content)
24
+ // In Rust, we cannot do:
25
+ // schematic.get_definition_region_mut("layout").filter_by_block(&schematic, "stone");
26
+ // Because `get_definition_region_mut` borrows `schematic` mutably,
27
+ // and `filter_by_block` needs to borrow `schematic` immutably.
28
+
29
+ // Pattern A: Clone the region, modify, and update (Safe, slightly slower)
30
+ if let Some(region) = schematic.definition_regions.get("layout") {
31
+ let mut region_clone = region.clone();
32
+
33
+ // Now we can pass &schematic because region_clone is separate
34
+ region_clone.filter_by_block(&schematic, "minecraft:stone");
35
+
36
+ // Update the schematic
37
+ schematic
38
+ .definition_regions
39
+ .insert("stone_only".to_string(), region_clone);
40
+ }
41
+
42
+ // Pattern B: Build region separately before inserting
43
+ let mut new_region = DefinitionRegion::from_bounds((0, 0, 0), (5, 5, 5));
44
+ new_region.exclude_block(&schematic, "minecraft:air");
45
+ schematic
46
+ .definition_regions
47
+ .insert("non_air".to_string(), new_region);
48
+
49
+ println!("Created filtered regions 'stone_only' and 'non_air'");
50
+ }
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "nucleation"
7
- version = "0.1.129"
7
+ version = "0.1.130"
8
8
  description = "A high-performance Minecraft schematic parser and utility library"
9
9
  authors = [{ name = "Nano", email = "nano@schem.at" }]
10
10
  license = { text = "AGPL-3.0-only" }
@@ -255,23 +255,16 @@ function passArray8ToWasm0(arg, malloc) {
255
255
  WASM_VECTOR_LEN = arg.length;
256
256
  return ptr;
257
257
  }
258
- /**
259
- * Initialize WASM module with panic hook for better error messages
260
- */
261
- export function start() {
262
- wasm.start();
263
- }
264
-
265
258
  /**
266
259
  * @param {SchematicWrapper} schematic
267
260
  * @returns {string}
268
261
  */
269
- export function debug_json_schematic(schematic) {
262
+ export function debug_schematic(schematic) {
270
263
  let deferred1_0;
271
264
  let deferred1_1;
272
265
  try {
273
266
  _assertClass(schematic, SchematicWrapper);
274
- const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
267
+ const ret = wasm.debug_schematic(schematic.__wbg_ptr);
275
268
  deferred1_0 = ret[0];
276
269
  deferred1_1 = ret[1];
277
270
  return getStringFromWasm0(ret[0], ret[1]);
@@ -284,12 +277,12 @@ export function debug_json_schematic(schematic) {
284
277
  * @param {SchematicWrapper} schematic
285
278
  * @returns {string}
286
279
  */
287
- export function debug_schematic(schematic) {
280
+ export function debug_json_schematic(schematic) {
288
281
  let deferred1_0;
289
282
  let deferred1_1;
290
283
  try {
291
284
  _assertClass(schematic, SchematicWrapper);
292
- const ret = wasm.debug_schematic(schematic.__wbg_ptr);
285
+ const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
293
286
  deferred1_0 = ret[0];
294
287
  deferred1_1 = ret[1];
295
288
  return getStringFromWasm0(ret[0], ret[1]);
@@ -298,6 +291,13 @@ export function debug_schematic(schematic) {
298
291
  }
299
292
  }
300
293
 
294
+ /**
295
+ * Initialize WASM module with panic hook for better error messages
296
+ */
297
+ export function start() {
298
+ wasm.start();
299
+ }
300
+
301
301
  const BlockPositionFinalization = (typeof FinalizationRegistry === 'undefined')
302
302
  ? { register: () => {}, unregister: () => {} }
303
303
  : new FinalizationRegistry(ptr => wasm.__wbg_blockposition_free(ptr >>> 0, 1));
@@ -796,15 +796,31 @@ export class DefinitionRegionWrapper {
796
796
  wasm.__wbg_definitionregionwrapper_free(ptr, 0);
797
797
  }
798
798
  /**
799
- * @param {BlockPosition} min
800
- * @param {BlockPosition} max
799
+ * @param {any} min
800
+ * @param {any} max
801
+ * @returns {DefinitionRegionWrapper}
801
802
  */
802
803
  addBounds(min, max) {
803
- _assertClass(min, BlockPosition);
804
- var ptr0 = min.__destroy_into_raw();
805
- _assertClass(max, BlockPosition);
806
- var ptr1 = max.__destroy_into_raw();
807
- wasm.definitionregionwrapper_addBounds(this.__wbg_ptr, ptr0, ptr1);
804
+ const ptr = this.__destroy_into_raw();
805
+ const ret = wasm.definitionregionwrapper_addBounds(ptr, min, max);
806
+ if (ret[2]) {
807
+ throw takeFromExternrefTable0(ret[1]);
808
+ }
809
+ return DefinitionRegionWrapper.__wrap(ret[0]);
810
+ }
811
+ /**
812
+ * @param {string} filter
813
+ * @returns {DefinitionRegionWrapper}
814
+ */
815
+ addFilter(filter) {
816
+ const ptr = this.__destroy_into_raw();
817
+ const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
818
+ const len0 = WASM_VECTOR_LEN;
819
+ const ret = wasm.definitionregionwrapper_addFilter(ptr, ptr0, len0);
820
+ if (ret[2]) {
821
+ throw takeFromExternrefTable0(ret[1]);
822
+ }
823
+ return DefinitionRegionWrapper.__wrap(ret[0]);
808
824
  }
809
825
  /**
810
826
  * Get the center point of the region as f32 (for rendering)
@@ -920,6 +936,20 @@ export class DefinitionRegionWrapper {
920
936
  const ret = wasm.definitionregionwrapper_setMetadata(ptr, ptr0, len0, ptr1, len1);
921
937
  return DefinitionRegionWrapper.__wrap(ret);
922
938
  }
939
+ /**
940
+ * @param {string} block_name
941
+ * @returns {DefinitionRegionWrapper}
942
+ */
943
+ excludeBlock(block_name) {
944
+ const ptr = this.__destroy_into_raw();
945
+ const ptr0 = passStringToWasm0(block_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
946
+ const len0 = WASM_VECTOR_LEN;
947
+ const ret = wasm.definitionregionwrapper_excludeBlock(ptr, ptr0, len0);
948
+ if (ret[2]) {
949
+ throw takeFromExternrefTable0(ret[1]);
950
+ }
951
+ return DefinitionRegionWrapper.__wrap(ret[0]);
952
+ }
923
953
  /**
924
954
  * Check if all points in the region are connected (6-connectivity)
925
955
  * @returns {boolean}
@@ -1218,6 +1248,15 @@ export class DefinitionRegionWrapper {
1218
1248
  const ret = wasm.definitionregionwrapper_positions(this.__wbg_ptr);
1219
1249
  return ret;
1220
1250
  }
1251
+ /**
1252
+ * @param {number} color
1253
+ * @returns {DefinitionRegionWrapper}
1254
+ */
1255
+ setColor(color) {
1256
+ const ptr = this.__destroy_into_raw();
1257
+ const ret = wasm.definitionregionwrapper_setColor(ptr, color);
1258
+ return DefinitionRegionWrapper.__wrap(ret);
1259
+ }
1221
1260
  }
1222
1261
  if (Symbol.dispose) DefinitionRegionWrapper.prototype[Symbol.dispose] = DefinitionRegionWrapper.prototype.free;
1223
1262
 
@@ -2382,6 +2421,21 @@ export class SchematicWrapper {
2382
2421
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
2383
2422
  return v1;
2384
2423
  }
2424
+ /**
2425
+ * @param {string} name
2426
+ * @param {any} min
2427
+ * @param {any} max
2428
+ * @returns {DefinitionRegionWrapper}
2429
+ */
2430
+ createRegion(name, min, max) {
2431
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2432
+ const len0 = WASM_VECTOR_LEN;
2433
+ const ret = wasm.schematicwrapper_createRegion(this.__wbg_ptr, ptr0, len0, min, max);
2434
+ if (ret[2]) {
2435
+ throw takeFromExternrefTable0(ret[1]);
2436
+ }
2437
+ return DefinitionRegionWrapper.__wrap(ret[0]);
2438
+ }
2385
2439
  /**
2386
2440
  * Extract all sign text from the schematic
2387
2441
  * Returns a JavaScript array of objects: [{pos: [x,y,z], text: "..."}]
@@ -2427,6 +2481,16 @@ export class SchematicWrapper {
2427
2481
  throw takeFromExternrefTable0(ret[0]);
2428
2482
  }
2429
2483
  }
2484
+ /**
2485
+ * @param {string} name
2486
+ * @param {DefinitionRegionWrapper} region
2487
+ */
2488
+ updateRegion(name, region) {
2489
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2490
+ const len0 = WASM_VECTOR_LEN;
2491
+ _assertClass(region, DefinitionRegionWrapper);
2492
+ wasm.schematicwrapper_addDefinitionRegion(this.__wbg_ptr, ptr0, len0, region.__wbg_ptr);
2493
+ }
2430
2494
  /**
2431
2495
  * All blocks as palette indices - for when you need everything at once but efficiently
2432
2496
  * Returns array of [x, y, z, palette_index]
@@ -2436,6 +2500,17 @@ export class SchematicWrapper {
2436
2500
  const ret = wasm.schematicwrapper_blocks_indices(this.__wbg_ptr);
2437
2501
  return ret;
2438
2502
  }
2503
+ /**
2504
+ * @param {any} config
2505
+ * @returns {TypedCircuitExecutorWrapper}
2506
+ */
2507
+ buildExecutor(config) {
2508
+ const ret = wasm.schematicwrapper_buildExecutor(this.__wbg_ptr, config);
2509
+ if (ret[2]) {
2510
+ throw takeFromExternrefTable0(ret[1]);
2511
+ }
2512
+ return TypedCircuitExecutorWrapper.__wrap(ret[0]);
2513
+ }
2439
2514
  /**
2440
2515
  * Optimized chunks iterator that returns palette indices instead of full block data
2441
2516
  * Returns array of: { chunk_x, chunk_y, chunk_z, blocks: [[x,y,z,palette_index],...] }
@@ -2461,6 +2536,18 @@ export class SchematicWrapper {
2461
2536
  }
2462
2537
  return takeFromExternrefTable0(ret[0]);
2463
2538
  }
2539
+ /**
2540
+ * @param {any} inputs
2541
+ * @param {any} outputs
2542
+ * @returns {TypedCircuitExecutorWrapper}
2543
+ */
2544
+ createCircuit(inputs, outputs) {
2545
+ const ret = wasm.schematicwrapper_createCircuit(this.__wbg_ptr, inputs, outputs);
2546
+ if (ret[2]) {
2547
+ throw takeFromExternrefTable0(ret[1]);
2548
+ }
2549
+ return TypedCircuitExecutorWrapper.__wrap(ret[0]);
2550
+ }
2464
2551
  /**
2465
2552
  * @param {Uint8Array} data
2466
2553
  */
@@ -2717,6 +2804,29 @@ export class SchematicWrapper {
2717
2804
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
2718
2805
  return v2;
2719
2806
  }
2807
+ /**
2808
+ * @param {string} name
2809
+ * @param {DefinitionRegionWrapper} region
2810
+ */
2811
+ addDefinitionRegion(name, region) {
2812
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2813
+ const len0 = WASM_VECTOR_LEN;
2814
+ _assertClass(region, DefinitionRegionWrapper);
2815
+ wasm.schematicwrapper_addDefinitionRegion(this.__wbg_ptr, ptr0, len0, region.__wbg_ptr);
2816
+ }
2817
+ /**
2818
+ * @param {string} name
2819
+ * @returns {DefinitionRegionWrapper}
2820
+ */
2821
+ getDefinitionRegion(name) {
2822
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2823
+ const len0 = WASM_VECTOR_LEN;
2824
+ const ret = wasm.schematicwrapper_getDefinitionRegion(this.__wbg_ptr, ptr0, len0);
2825
+ if (ret[2]) {
2826
+ throw takeFromExternrefTable0(ret[1]);
2827
+ }
2828
+ return DefinitionRegionWrapper.__wrap(ret[0]);
2829
+ }
2720
2830
  /**
2721
2831
  * Get optimization stats
2722
2832
  * @returns {any}
@@ -2725,6 +2835,13 @@ export class SchematicWrapper {
2725
2835
  const ret = wasm.schematicwrapper_get_optimization_info(this.__wbg_ptr);
2726
2836
  return ret;
2727
2837
  }
2838
+ /**
2839
+ * @returns {CircuitBuilderWrapper}
2840
+ */
2841
+ createCircuitBuilder() {
2842
+ const ret = wasm.schematicwrapper_createCircuitBuilder(this.__wbg_ptr);
2843
+ return CircuitBuilderWrapper.__wrap(ret);
2844
+ }
2728
2845
  /**
2729
2846
  * @returns {any}
2730
2847
  */
@@ -2732,6 +2849,20 @@ export class SchematicWrapper {
2732
2849
  const ret = wasm.schematicwrapper_get_all_block_entities(this.__wbg_ptr);
2733
2850
  return ret;
2734
2851
  }
2852
+ /**
2853
+ * @param {string} name
2854
+ * @param {number} x
2855
+ * @param {number} y
2856
+ * @param {number} z
2857
+ */
2858
+ definitionRegionShift(name, x, y, z) {
2859
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2860
+ const len0 = WASM_VECTOR_LEN;
2861
+ const ret = wasm.schematicwrapper_definitionRegionShift(this.__wbg_ptr, ptr0, len0, x, y, z);
2862
+ if (ret[1]) {
2863
+ throw takeFromExternrefTable0(ret[0]);
2864
+ }
2865
+ }
2735
2866
  /**
2736
2867
  * @param {string} region_name
2737
2868
  * @returns {any}
@@ -2752,6 +2883,14 @@ export class SchematicWrapper {
2752
2883
  const ret = wasm.schematicwrapper_get_region_bounding_box(this.__wbg_ptr, ptr0, len0);
2753
2884
  return ret;
2754
2885
  }
2886
+ /**
2887
+ * @param {string} name
2888
+ */
2889
+ createDefinitionRegion(name) {
2890
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2891
+ const len0 = WASM_VECTOR_LEN;
2892
+ wasm.schematicwrapper_createDefinitionRegion(this.__wbg_ptr, ptr0, len0);
2893
+ }
2755
2894
  /**
2756
2895
  * Get the allocated dimensions (full buffer size including pre-allocated space)
2757
2896
  * Use this if you need to know the internal buffer size
@@ -2778,6 +2917,16 @@ export class SchematicWrapper {
2778
2917
  const ret = wasm.schematicwrapper_get_chunk_blocks_indices(this.__wbg_ptr, offset_x, offset_y, offset_z, width, height, length);
2779
2918
  return ret;
2780
2919
  }
2920
+ /**
2921
+ * @param {string} name
2922
+ * @returns {boolean}
2923
+ */
2924
+ removeDefinitionRegion(name) {
2925
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2926
+ const len0 = WASM_VECTOR_LEN;
2927
+ const ret = wasm.schematicwrapper_removeDefinitionRegion(this.__wbg_ptr, ptr0, len0);
2928
+ return ret !== 0;
2929
+ }
2781
2930
  /**
2782
2931
  * @param {number} x
2783
2932
  * @param {number} y
@@ -2826,6 +2975,27 @@ export class SchematicWrapper {
2826
2975
  const ret = wasm.schematicwrapper_get_default_region_palette(this.__wbg_ptr);
2827
2976
  return ret;
2828
2977
  }
2978
+ /**
2979
+ * @param {string} name
2980
+ * @param {number} x
2981
+ * @param {number} y
2982
+ * @param {number} z
2983
+ */
2984
+ definitionRegionAddPoint(name, x, y, z) {
2985
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2986
+ const len0 = WASM_VECTOR_LEN;
2987
+ const ret = wasm.schematicwrapper_definitionRegionAddPoint(this.__wbg_ptr, ptr0, len0, x, y, z);
2988
+ if (ret[1]) {
2989
+ throw takeFromExternrefTable0(ret[0]);
2990
+ }
2991
+ }
2992
+ /**
2993
+ * @returns {Array<any>}
2994
+ */
2995
+ getDefinitionRegionNames() {
2996
+ const ret = wasm.schematicwrapper_getDefinitionRegionNames(this.__wbg_ptr);
2997
+ return ret;
2998
+ }
2829
2999
  /**
2830
3000
  * Optimized chunks with strategy - returns palette indices
2831
3001
  * @param {number} chunk_width
@@ -2843,6 +3013,40 @@ export class SchematicWrapper {
2843
3013
  const ret = wasm.schematicwrapper_chunks_indices_with_strategy(this.__wbg_ptr, chunk_width, chunk_height, chunk_length, ptr0, len0, camera_x, camera_y, camera_z);
2844
3014
  return ret;
2845
3015
  }
3016
+ /**
3017
+ * @param {string} name
3018
+ * @param {BlockPosition} min
3019
+ * @param {BlockPosition} max
3020
+ */
3021
+ definitionRegionAddBounds(name, min, max) {
3022
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3023
+ const len0 = WASM_VECTOR_LEN;
3024
+ _assertClass(min, BlockPosition);
3025
+ var ptr1 = min.__destroy_into_raw();
3026
+ _assertClass(max, BlockPosition);
3027
+ var ptr2 = max.__destroy_into_raw();
3028
+ const ret = wasm.schematicwrapper_definitionRegionAddBounds(this.__wbg_ptr, ptr0, len0, ptr1, ptr2);
3029
+ if (ret[1]) {
3030
+ throw takeFromExternrefTable0(ret[0]);
3031
+ }
3032
+ }
3033
+ /**
3034
+ * @param {string} name
3035
+ * @param {string} key
3036
+ * @param {string} value
3037
+ */
3038
+ definitionRegionSetMetadata(name, key, value) {
3039
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3040
+ const len0 = WASM_VECTOR_LEN;
3041
+ const ptr1 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3042
+ const len1 = WASM_VECTOR_LEN;
3043
+ const ptr2 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3044
+ const len2 = WASM_VECTOR_LEN;
3045
+ const ret = wasm.schematicwrapper_definitionRegionSetMetadata(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
3046
+ if (ret[1]) {
3047
+ throw takeFromExternrefTable0(ret[0]);
3048
+ }
3049
+ }
2846
3050
  /**
2847
3051
  * @returns {Array<any>}
2848
3052
  */
@@ -2850,6 +3054,31 @@ export class SchematicWrapper {
2850
3054
  const ret = wasm.schematicwrapper_get_available_schematic_versions(this.__wbg_ptr);
2851
3055
  return ret;
2852
3056
  }
3057
+ /**
3058
+ * @param {string} name
3059
+ * @param {number} x
3060
+ * @param {number} y
3061
+ * @param {number} z
3062
+ */
3063
+ createDefinitionRegionFromPoint(name, x, y, z) {
3064
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3065
+ const len0 = WASM_VECTOR_LEN;
3066
+ wasm.schematicwrapper_createDefinitionRegionFromPoint(this.__wbg_ptr, ptr0, len0, x, y, z);
3067
+ }
3068
+ /**
3069
+ * @param {string} name
3070
+ * @param {BlockPosition} min
3071
+ * @param {BlockPosition} max
3072
+ */
3073
+ createDefinitionRegionFromBounds(name, min, max) {
3074
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3075
+ const len0 = WASM_VECTOR_LEN;
3076
+ _assertClass(min, BlockPosition);
3077
+ var ptr1 = min.__destroy_into_raw();
3078
+ _assertClass(max, BlockPosition);
3079
+ var ptr2 = max.__destroy_into_raw();
3080
+ wasm.schematicwrapper_createDefinitionRegionFromBounds(this.__wbg_ptr, ptr0, len0, ptr1, ptr2);
3081
+ }
2853
3082
  constructor() {
2854
3083
  const ret = wasm.schematicwrapper_new();
2855
3084
  this.__wbg_ptr = ret >>> 0;
@@ -3427,6 +3656,22 @@ export class TypedCircuitExecutorWrapper {
3427
3656
  }
3428
3657
  return TypedCircuitExecutorWrapper.__wrap(ret[0]);
3429
3658
  }
3659
+ /**
3660
+ * Run the circuit with simplified arguments
3661
+ * @param {any} inputs
3662
+ * @param {number} limit
3663
+ * @param {string} mode
3664
+ * @returns {any}
3665
+ */
3666
+ run(inputs, limit, mode) {
3667
+ const ptr0 = passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3668
+ const len0 = WASM_VECTOR_LEN;
3669
+ const ret = wasm.typedcircuitexecutorwrapper_run(this.__wbg_ptr, inputs, limit, ptr0, len0);
3670
+ if (ret[2]) {
3671
+ throw takeFromExternrefTable0(ret[1]);
3672
+ }
3673
+ return takeFromExternrefTable0(ret[0]);
3674
+ }
3430
3675
  /**
3431
3676
  * Manually advance the simulation by a specified number of ticks
3432
3677
  *