oriverse-engine 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,11 +29,11 @@ object Box { model = "cube" position = (0, 300, 100) size = (100, 100, 100) colo
29
29
  </script>
30
30
 
31
31
  <!-- Pinned engine version: bump @0.1.2 together on new releases -->
32
- <script src="https://unpkg.com/oriverse-engine@0.1.9/dist/ktx_lib.js"></script>
33
- <script src="https://unpkg.com/oriverse-engine@0.1.9/dist/ktx_bridge.js"></script>
32
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_lib.js"></script>
33
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_bridge.js"></script>
34
34
  <script type="module">
35
- import initOriverse from "https://unpkg.com/oriverse-engine@0.1.9/dist/oriverse_wgpu.js";
36
- await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.9/dist/oriverse_wgpu_bg.wasm" });
35
+ import initOriverse from "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu.js";
36
+ await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu_bg.wasm" });
37
37
  </script>
38
38
  </body>
39
39
  </html>
@@ -49,8 +49,8 @@ The engine auto-boots from the `#oriverse-weave` tag. To boot programmatically
49
49
  instead, omit the tag and call the typed export once after init:
50
50
 
51
51
  ```js
52
- import initOriverse, { bootOriverseArtifact } from "https://unpkg.com/oriverse-engine@0.1.9/dist/oriverse_wgpu.js";
53
- await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.9/dist/oriverse_wgpu_bg.wasm" });
52
+ import initOriverse, { bootOriverseArtifact } from "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu.js";
53
+ await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu_bg.wasm" });
54
54
  await bootOriverseArtifact(weaveSource);
55
55
  ```
56
56
 
@@ -69,7 +69,7 @@ point an agent at it, and say "make a game".
69
69
  - Content must be fully procedural: primitive models, `#mesh`, `#texture`,
70
70
  `#particles`. Market/network assets are unavailable and hard-error.
71
71
  - Weave language + API reference: `dist/weave_documentation.txt`
72
- (also at `https://unpkg.com/oriverse-engine@0.1.9/dist/weave_documentation.txt`).
72
+ (also at `https://unpkg.com/oriverse-engine@0.1.10/dist/weave_documentation.txt`).
73
73
  - Package/runtime onboarding: `dist/AGENT_ONBOARDING.md`.
74
74
  - Copy-paste prompt for AI coding agents: `dist/CODEX_PROMPT.md`.
75
75
 
@@ -53,15 +53,15 @@ object BlueCube {
53
53
  </script>
54
54
  <!-- ==== END OF EDITABLE BLOCK ==== -->
55
55
 
56
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/ktx_lib.js"></script>
57
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/ktx_bridge.js"></script>
56
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_lib.js"></script>
57
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_bridge.js"></script>
58
58
  <script type="module">
59
- import initOriverse from "https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/oriverse_wgpu.js";
59
+ import initOriverse from "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu.js";
60
60
  const setBoot = (t) => { const b = document.getElementById('oriverse-status-banner'); if (b) b.textContent = t; };
61
61
  (async () => {
62
62
  try {
63
63
  setBoot('starting engine…');
64
- await initOriverse({ module_or_path: "https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/oriverse_wgpu_bg.wasm" });
64
+ await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu_bg.wasm" });
65
65
  } catch (e) {
66
66
  setBoot('WASM init failed:\n' + ((e && e.stack) ? e.stack : String(e)));
67
67
  console.error('[wasm_boot] initOriverse failed:', e);
@@ -96,9 +96,9 @@ Rules — the engine hard-errors if you break the first two:
96
96
  Authoritative references, served next to the engine (fetch if you can — the authoring
97
97
  guide contains three complete tested example games to pattern-match from):
98
98
 
99
- - https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/GAME_AUTHORING.md <- game patterns + 3 full example games
100
- - https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/weave_documentation.txt <- full language + API reference
101
- - https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/examples/coin_collector.weave (also dodge_blocks / target_range)
99
+ - https://unpkg.com/oriverse-engine@0.1.10/dist/GAME_AUTHORING.md <- game patterns + 3 full example games
100
+ - https://unpkg.com/oriverse-engine@0.1.10/dist/weave_documentation.txt <- full language + API reference
101
+ - https://unpkg.com/oriverse-engine@0.1.10/dist/examples/coin_collector.weave (also dodge_blocks / target_range)
102
102
 
103
103
  ## Step 3: test
104
104
 
@@ -11,9 +11,9 @@ loader scripts or engine URLs.
11
11
 
12
12
  ## Before writing Weave, read the guide
13
13
 
14
- - https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/GAME_AUTHORING.md — authoring patterns + 3 complete tested
14
+ - https://unpkg.com/oriverse-engine@0.1.10/dist/GAME_AUTHORING.md — authoring patterns + 3 complete tested
15
15
  example games (coin collector, dodge blocks, target range) to pattern-match from.
16
- - https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/weave_documentation.txt — full language + API reference.
16
+ - https://unpkg.com/oriverse-engine@0.1.10/dist/weave_documentation.txt — full language + API reference.
17
17
 
18
18
  Key constraints: content must be fully procedural (primitive models `"cube"`,
19
19
  `"sphere"`, ..., `#mesh`, `#texture` — no market/network assets); units are cm with Z
@@ -11,9 +11,9 @@ loader scripts or engine URLs.
11
11
 
12
12
  ## Before writing Weave, read the guide
13
13
 
14
- - https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/GAME_AUTHORING.md — authoring patterns + 3 complete tested
14
+ - https://unpkg.com/oriverse-engine@0.1.10/dist/GAME_AUTHORING.md — authoring patterns + 3 complete tested
15
15
  example games (coin collector, dodge blocks, target range) to pattern-match from.
16
- - https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/weave_documentation.txt — full language + API reference.
16
+ - https://unpkg.com/oriverse-engine@0.1.10/dist/weave_documentation.txt — full language + API reference.
17
17
 
18
18
  Key constraints: content must be fully procedural (primitive models `"cube"`,
19
19
  `"sphere"`, ..., `#mesh`, `#texture` — no market/network assets); units are cm with Z
@@ -2,7 +2,7 @@
2
2
  This single small file IS the whole game: engine js/wasm come from the npm CDN, your game is
3
3
  the inline Weave source below. Serve from any static host (no COOP/COEP headers) or a
4
4
  plain `python -m http.server`; open in a WebGPU browser (Chrome/Edge).
5
- The engine version is pinned in the https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist urls below (injected from
5
+ The engine version is pinned in the https://unpkg.com/oriverse-engine@0.1.10/dist urls below (injected from
6
6
  npm_package/package.json at packaging time) — bump the @version with engine releases.
7
7
  Content must be fully procedural: primitives ("cube", "sphere", ...), #mesh, #texture,
8
8
  #particles. Market/network assets are unavailable and will hard-error. Google Fonts
@@ -46,18 +46,18 @@ object BlueCube {
46
46
 
47
47
  <!-- Shader prewarm: replays the build's pipeline manifest on a throwaway device during
48
48
  engine download dead-time (kills the first-view compile freeze). Fail-open. -->
49
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/prewarm.js"></script>
49
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/prewarm.js"></script>
50
50
  <!-- KTX2 texture transcoder sidecar (classic scripts; ktx_lib.wasm resolves relative to the script url). -->
51
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/ktx_lib.js"></script>
52
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/ktx_bridge.js"></script>
51
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_lib.js"></script>
52
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_bridge.js"></script>
53
53
  <script type="module">
54
- import initOriverse from "https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/oriverse_wgpu.js";
54
+ import initOriverse from "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu.js";
55
55
  const setBoot = (t) => { const b = document.getElementById('oriverse-status-banner'); if (b) b.textContent = t; };
56
56
  (async () => {
57
57
  try {
58
58
  setBoot('starting engine…');
59
59
  // Artifact build: wasm-bindgen owns a private (non-shared) memory; no COOP/COEP needed.
60
- await initOriverse({ module_or_path: "https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/oriverse_wgpu_bg.wasm" });
60
+ await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu_bg.wasm" });
61
61
  } catch (e) {
62
62
  const msg = (e && e.stack) ? e.stack : String(e);
63
63
  setBoot('WASM init failed:\n' + msg);
@@ -2,7 +2,7 @@
2
2
  This single small file IS the whole game: engine js/wasm come from the npm CDN, your game is
3
3
  the inline Weave source below. Serve from any static host (no COOP/COEP headers) or a
4
4
  plain `python -m http.server`; open in a WebGPU browser (Chrome/Edge).
5
- The engine version is pinned in the https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist urls below (injected from
5
+ The engine version is pinned in the https://unpkg.com/oriverse-engine@0.1.10/dist urls below (injected from
6
6
  npm_package/package.json at packaging time) — bump the @version with engine releases.
7
7
  Content must be fully procedural: primitives ("cube", "sphere", ...), #mesh, #texture,
8
8
  #particles. Market/network assets are unavailable and will hard-error. Google Fonts
@@ -46,18 +46,18 @@ object BlueCube {
46
46
 
47
47
  <!-- Shader prewarm: replays the build's pipeline manifest on a throwaway device during
48
48
  engine download dead-time (kills the first-view compile freeze). Fail-open. -->
49
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/prewarm.js"></script>
49
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/prewarm.js"></script>
50
50
  <!-- KTX2 texture transcoder sidecar (classic scripts; ktx_lib.wasm resolves relative to the script url). -->
51
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/ktx_lib.js"></script>
52
- <script src="https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/ktx_bridge.js"></script>
51
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_lib.js"></script>
52
+ <script src="https://unpkg.com/oriverse-engine@0.1.10/dist/ktx_bridge.js"></script>
53
53
  <script type="module">
54
- import initOriverse from "https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/oriverse_wgpu.js";
54
+ import initOriverse from "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu.js";
55
55
  const setBoot = (t) => { const b = document.getElementById('oriverse-status-banner'); if (b) b.textContent = t; };
56
56
  (async () => {
57
57
  try {
58
58
  setBoot('starting engine…');
59
59
  // Artifact build: wasm-bindgen owns a private (non-shared) memory; no COOP/COEP needed.
60
- await initOriverse({ module_or_path: "https://cdn.jsdelivr.net/npm/oriverse-engine@0.1.9/dist/oriverse_wgpu_bg.wasm" });
60
+ await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.10/dist/oriverse_wgpu_bg.wasm" });
61
61
  } catch (e) {
62
62
  const msg = (e && e.stack) ? e.stack : String(e);
63
63
  setBoot('WASM init failed:\n' + msg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oriverse-engine",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Prebuilt Oriverse engine bundle (WebGPU wasm + js glue) for serverless single-player games authored as one game.html with inline Weave source. Compiled engine only - contains no source code.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [