oriverse-engine 0.1.9 → 0.1.11
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/LICENSE.md +30 -30
- package/README.md +8 -8
- package/dist/AGENT_ONBOARDING.md +74 -74
- package/dist/CODEX_PROMPT.md +7 -7
- package/dist/ktx_bridge.js +17 -0
- package/dist/oriverse_wgpu.d.ts +74 -45
- package/dist/oriverse_wgpu.js +319 -120
- package/dist/oriverse_wgpu_bg.wasm +0 -0
- package/dist/oriverse_wgpu_bg.wasm.d.ts +50 -44
- package/dist/shader_prewarm_manifest.json +1 -1
- package/dist/snippets/oriverse_networking_shared-e43478064e11e46c/inline0.js +40 -32
- package/dist/snippets/oriverse_networking_shared-e43478064e11e46c/inline1.js +32 -21
- package/dist/snippets/oriverse_user_client-a55220d4991e3856/src/library_capture_idb.js +54 -0
- package/dist/starter/AGENTS.md +2 -2
- package/dist/starter/CLAUDE.md +2 -2
- package/dist/starter/game.html +6 -6
- package/dist/templates/game_cdn.html +6 -6
- package/dist/weave_documentation.txt +698 -393
- package/package.json +1 -1
package/LICENSE.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# Oriverse Artifact Bundle License
|
|
2
|
-
|
|
3
|
-
> PLACEHOLDER — review with legal counsel before the first `npm publish`.
|
|
4
|
-
|
|
5
|
-
Copyright (c) 2026 Oriverse. All rights reserved.
|
|
6
|
-
|
|
7
|
-
This package contains a compiled, proprietary build of the Oriverse engine
|
|
8
|
-
("the Bundle"). No source code is included or licensed.
|
|
9
|
-
|
|
10
|
-
Permission is hereby granted, free of charge and royalty-free, to any person
|
|
11
|
-
obtaining a copy of the Bundle to:
|
|
12
|
-
|
|
13
|
-
1. Use the Bundle to run and serve games and applications, commercial or
|
|
14
|
-
non-commercial.
|
|
15
|
-
2. Redistribute the Bundle **unmodified** (including via CDNs such as unpkg,
|
|
16
|
-
bundlers, or by copying the `dist/` files alongside your game), provided this
|
|
17
|
-
license file accompanies any standalone redistribution of the Bundle.
|
|
18
|
-
|
|
19
|
-
The following are NOT permitted:
|
|
20
|
-
|
|
21
|
-
- Modifying, decompiling, disassembling, or reverse-engineering the Bundle,
|
|
22
|
-
except to the extent such restriction is prohibited by applicable law.
|
|
23
|
-
- Redistributing modified versions of the Bundle.
|
|
24
|
-
- Representing the Bundle as your own work or removing copyright notices.
|
|
25
|
-
|
|
26
|
-
THE BUNDLE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
-
LIABILITY ARISING FROM THE USE OF THE BUNDLE.
|
|
1
|
+
# Oriverse Artifact Bundle License
|
|
2
|
+
|
|
3
|
+
> PLACEHOLDER — review with legal counsel before the first `npm publish`.
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2026 Oriverse. All rights reserved.
|
|
6
|
+
|
|
7
|
+
This package contains a compiled, proprietary build of the Oriverse engine
|
|
8
|
+
("the Bundle"). No source code is included or licensed.
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge and royalty-free, to any person
|
|
11
|
+
obtaining a copy of the Bundle to:
|
|
12
|
+
|
|
13
|
+
1. Use the Bundle to run and serve games and applications, commercial or
|
|
14
|
+
non-commercial.
|
|
15
|
+
2. Redistribute the Bundle **unmodified** (including via CDNs such as unpkg,
|
|
16
|
+
bundlers, or by copying the `dist/` files alongside your game), provided this
|
|
17
|
+
license file accompanies any standalone redistribution of the Bundle.
|
|
18
|
+
|
|
19
|
+
The following are NOT permitted:
|
|
20
|
+
|
|
21
|
+
- Modifying, decompiling, disassembling, or reverse-engineering the Bundle,
|
|
22
|
+
except to the extent such restriction is prohibited by applicable law.
|
|
23
|
+
- Redistributing modified versions of the Bundle.
|
|
24
|
+
- Representing the Bundle as your own work or removing copyright notices.
|
|
25
|
+
|
|
26
|
+
THE BUNDLE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY ARISING FROM THE USE OF THE BUNDLE.
|
package/README.md
CHANGED
|
@@ -28,12 +28,12 @@ object Ground { model = "cube" position = (0, 0, -50) size = (4000, 4000, 100) c
|
|
|
28
28
|
object Box { model = "cube" position = (0, 300, 100) size = (100, 100, 100) color = (0.86, 0.47, 0.23) }
|
|
29
29
|
</script>
|
|
30
30
|
|
|
31
|
-
<!--
|
|
32
|
-
<script src="https://unpkg.com/oriverse-engine@0.1.
|
|
33
|
-
<script src="https://unpkg.com/oriverse-engine@0.1.
|
|
31
|
+
<!-- Keep these engine version pins together on new releases. -->
|
|
32
|
+
<script src="https://unpkg.com/oriverse-engine@0.1.11/dist/ktx_lib.js"></script>
|
|
33
|
+
<script src="https://unpkg.com/oriverse-engine@0.1.11/dist/ktx_bridge.js"></script>
|
|
34
34
|
<script type="module">
|
|
35
|
-
import initOriverse from "https://unpkg.com/oriverse-engine@0.1.
|
|
36
|
-
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.
|
|
35
|
+
import initOriverse from "https://unpkg.com/oriverse-engine@0.1.11/dist/oriverse_wgpu.js";
|
|
36
|
+
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.11/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.
|
|
53
|
-
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.
|
|
52
|
+
import initOriverse, { bootOriverseArtifact } from "https://unpkg.com/oriverse-engine@0.1.11/dist/oriverse_wgpu.js";
|
|
53
|
+
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.11/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.
|
|
72
|
+
(also at `https://unpkg.com/oriverse-engine@0.1.11/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
|
|
package/dist/AGENT_ONBOARDING.md
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
# Oriverse artifact package — agent onboarding
|
|
2
|
-
|
|
3
|
-
This folder is a self-contained, offline, single-player build of the Oriverse engine.
|
|
4
|
-
It runs without SharedArrayBuffer, web workers, or any network access, so it can be
|
|
5
|
-
served by any dumb static file server — no COOP/COEP headers needed.
|
|
6
|
-
|
|
7
|
-
## Quick start
|
|
8
|
-
|
|
9
|
-
1. Serve this folder:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
python -m http.server 8000
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
2. Open `http://localhost:8000/game.html` in a WebGPU-capable browser (Chrome/Edge,
|
|
16
|
-
or iOS Safari with the WebGPU feature flag enabled).
|
|
17
|
-
|
|
18
|
-
No server at all: `oriverse_single_game.html` is the same engine + world in ONE
|
|
19
|
-
self-contained file (wasm embedded as base64, zero fetches) — double-click it to run
|
|
20
|
-
via `file://` (a secure context in Chrome, so WebGPU works there too).
|
|
21
|
-
|
|
22
|
-
## Authoring a game
|
|
23
|
-
|
|
24
|
-
Edit `game.html` and replace the Weave source inside:
|
|
25
|
-
|
|
26
|
-
```html
|
|
27
|
-
<script type="text/weave" id="oriverse-weave"> ...your world... </script>
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
(Alternatives: set `window.ORIVERSE_ARTIFACT_WEAVE` to a string before the module
|
|
31
|
-
script runs, or omit the tag entirely and call the typed export
|
|
32
|
-
`bootOriverseArtifact(weaveSource)` once after `initOriverse(...)` resolves — with no
|
|
33
|
-
inline Weave present the engine waits for that call instead of auto-booting.)
|
|
34
|
-
|
|
35
|
-
For game-making patterns and three complete engine-tested example games, read
|
|
36
|
-
`GAME_AUTHORING.md` (npm package `dist/`; examples also under `dist/examples/`).
|
|
37
|
-
|
|
38
|
-
Rules for artifact worlds:
|
|
39
|
-
|
|
40
|
-
- Content must be fully procedural. Allowed: primitive models (`"cube"`, `"sphere"`, ...),
|
|
41
|
-
`#mesh` clauses (procedural mesh DSL), `#texture` clauses (procedural texture DSL,
|
|
42
|
-
`baked.*` urls), `#particles` clauses, and triplanar materials.
|
|
43
|
-
- `color = (r, g, b)` channels are 0-1 floats (or `#RRGGBB` hex). Values above 1 clamp
|
|
44
|
-
to 1.0 per channel, so 0-255 style colors silently render as untinted white.
|
|
45
|
-
- The game boots directly into play mode (no editor). WASD moves the player: if your
|
|
46
|
-
world has no `#class player ... #end` block, the engine injects the default
|
|
47
|
-
third-person controller (camera-relative move + Space jump). Define `#class player`
|
|
48
|
-
yourself to override movement/camera (see `weave_documentation.txt`).
|
|
49
|
-
- Market assets (`Ori.model.*`, `Ori.image.*`, fonts from the network, ...) are NOT
|
|
50
|
-
available. Any runtime HTTP request hard-errors with `[artifact][zero-fetch]`.
|
|
51
|
-
- The world is built once at boot from the inline Weave; a load error is fatal and shows
|
|
52
|
-
in the status banner / browser console.
|
|
53
|
-
|
|
54
|
-
The Weave language reference is in `weave_documentation.txt` in this folder.
|
|
55
|
-
|
|
56
|
-
## Package contents
|
|
57
|
-
|
|
58
|
-
- `game.html` — template page with inline Weave (this is the file you author). The default
|
|
59
|
-
world is injected from `default_world.weave` at packaging time and compile-tested natively.
|
|
60
|
-
- `oriverse_single_game.html` — single-file variant of the same game (edit the same
|
|
61
|
-
`#oriverse-weave` block inside it); runs from `file://` or any static server.
|
|
62
|
-
- `oriverse_wgpu.js` / `oriverse_wgpu_bg.wasm` — engine glue + wasm (single-threaded,
|
|
63
|
-
non-shared memory).
|
|
64
|
-
- `ktx_lib.js` / `ktx_lib.wasm` / `ktx_bridge.js` — KTX2 texture transcoder sidecar
|
|
65
|
-
(loaded as classic scripts; the one non-module exception).
|
|
66
|
-
- `weave_documentation.txt` — Weave language + API reference.
|
|
67
|
-
|
|
68
|
-
## How it works (for the curious)
|
|
69
|
-
|
|
70
|
-
The engine runs its normal deterministic client simulation, but instead of a network
|
|
71
|
-
relay it talks to an in-process loopback relay: your inputs are packed into real relay
|
|
72
|
-
wire packets, merged one frame per tick, and fed back through the production frame
|
|
73
|
-
reader. The whole sim runs on the browser main thread (fixed-step accumulator inside
|
|
74
|
-
requestAnimationFrame, with a small catch-up cap).
|
|
1
|
+
# Oriverse artifact package — agent onboarding
|
|
2
|
+
|
|
3
|
+
This folder is a self-contained, offline, single-player build of the Oriverse engine.
|
|
4
|
+
It runs without SharedArrayBuffer, web workers, or any network access, so it can be
|
|
5
|
+
served by any dumb static file server — no COOP/COEP headers needed.
|
|
6
|
+
|
|
7
|
+
## Quick start
|
|
8
|
+
|
|
9
|
+
1. Serve this folder:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
python -m http.server 8000
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
2. Open `http://localhost:8000/game.html` in a WebGPU-capable browser (Chrome/Edge,
|
|
16
|
+
or iOS Safari with the WebGPU feature flag enabled).
|
|
17
|
+
|
|
18
|
+
No server at all: `oriverse_single_game.html` is the same engine + world in ONE
|
|
19
|
+
self-contained file (wasm embedded as base64, zero fetches) — double-click it to run
|
|
20
|
+
via `file://` (a secure context in Chrome, so WebGPU works there too).
|
|
21
|
+
|
|
22
|
+
## Authoring a game
|
|
23
|
+
|
|
24
|
+
Edit `game.html` and replace the Weave source inside:
|
|
25
|
+
|
|
26
|
+
```html
|
|
27
|
+
<script type="text/weave" id="oriverse-weave"> ...your world... </script>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
(Alternatives: set `window.ORIVERSE_ARTIFACT_WEAVE` to a string before the module
|
|
31
|
+
script runs, or omit the tag entirely and call the typed export
|
|
32
|
+
`bootOriverseArtifact(weaveSource)` once after `initOriverse(...)` resolves — with no
|
|
33
|
+
inline Weave present the engine waits for that call instead of auto-booting.)
|
|
34
|
+
|
|
35
|
+
For game-making patterns and three complete engine-tested example games, read
|
|
36
|
+
`GAME_AUTHORING.md` (npm package `dist/`; examples also under `dist/examples/`).
|
|
37
|
+
|
|
38
|
+
Rules for artifact worlds:
|
|
39
|
+
|
|
40
|
+
- Content must be fully procedural. Allowed: primitive models (`"cube"`, `"sphere"`, ...),
|
|
41
|
+
`#mesh` clauses (procedural mesh DSL), `#texture` clauses (procedural texture DSL,
|
|
42
|
+
`baked.*` urls), `#particles` clauses, and triplanar materials.
|
|
43
|
+
- `color = (r, g, b)` channels are 0-1 floats (or `#RRGGBB` hex). Values above 1 clamp
|
|
44
|
+
to 1.0 per channel, so 0-255 style colors silently render as untinted white.
|
|
45
|
+
- The game boots directly into play mode (no editor). WASD moves the player: if your
|
|
46
|
+
world has no `#class player ... #end` block, the engine injects the default
|
|
47
|
+
third-person controller (camera-relative move + Space jump). Define `#class player`
|
|
48
|
+
yourself to override movement/camera (see `weave_documentation.txt`).
|
|
49
|
+
- Market assets (`Ori.model.*`, `Ori.image.*`, fonts from the network, ...) are NOT
|
|
50
|
+
available. Any runtime HTTP request hard-errors with `[artifact][zero-fetch]`.
|
|
51
|
+
- The world is built once at boot from the inline Weave; a load error is fatal and shows
|
|
52
|
+
in the status banner / browser console.
|
|
53
|
+
|
|
54
|
+
The Weave language reference is in `weave_documentation.txt` in this folder.
|
|
55
|
+
|
|
56
|
+
## Package contents
|
|
57
|
+
|
|
58
|
+
- `game.html` — template page with inline Weave (this is the file you author). The default
|
|
59
|
+
world is injected from `default_world.weave` at packaging time and compile-tested natively.
|
|
60
|
+
- `oriverse_single_game.html` — single-file variant of the same game (edit the same
|
|
61
|
+
`#oriverse-weave` block inside it); runs from `file://` or any static server.
|
|
62
|
+
- `oriverse_wgpu.js` / `oriverse_wgpu_bg.wasm` — engine glue + wasm (single-threaded,
|
|
63
|
+
non-shared memory).
|
|
64
|
+
- `ktx_lib.js` / `ktx_lib.wasm` / `ktx_bridge.js` — KTX2 texture transcoder sidecar
|
|
65
|
+
(loaded as classic scripts; the one non-module exception).
|
|
66
|
+
- `weave_documentation.txt` — Weave language + API reference.
|
|
67
|
+
|
|
68
|
+
## How it works (for the curious)
|
|
69
|
+
|
|
70
|
+
The engine runs its normal deterministic client simulation, but instead of a network
|
|
71
|
+
relay it talks to an in-process loopback relay: your inputs are packed into real relay
|
|
72
|
+
wire packets, merged one frame per tick, and fed back through the production frame
|
|
73
|
+
reader. The whole sim runs on the browser main thread (fixed-step accumulator inside
|
|
74
|
+
requestAnimationFrame, with a small catch-up cap).
|
package/dist/CODEX_PROMPT.md
CHANGED
|
@@ -53,15 +53,15 @@ object BlueCube {
|
|
|
53
53
|
</script>
|
|
54
54
|
<!-- ==== END OF EDITABLE BLOCK ==== -->
|
|
55
55
|
|
|
56
|
-
<script src="https://
|
|
57
|
-
<script src="https://
|
|
56
|
+
<script src="https://unpkg.com/oriverse-engine@0.1.11/dist/ktx_lib.js"></script>
|
|
57
|
+
<script src="https://unpkg.com/oriverse-engine@0.1.11/dist/ktx_bridge.js"></script>
|
|
58
58
|
<script type="module">
|
|
59
|
-
import initOriverse from "https://
|
|
59
|
+
import initOriverse from "https://unpkg.com/oriverse-engine@0.1.11/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://
|
|
64
|
+
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.11/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://
|
|
100
|
-
- https://
|
|
101
|
-
- https://
|
|
99
|
+
- https://unpkg.com/oriverse-engine@0.1.11/dist/GAME_AUTHORING.md <- game patterns + 3 full example games
|
|
100
|
+
- https://unpkg.com/oriverse-engine@0.1.11/dist/weave_documentation.txt <- full language + API reference
|
|
101
|
+
- https://unpkg.com/oriverse-engine@0.1.11/dist/examples/coin_collector.weave (also dodge_blocks / target_range)
|
|
102
102
|
|
|
103
103
|
## Step 3: test
|
|
104
104
|
|
package/dist/ktx_bridge.js
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
// ktx_bridge.js
|
|
2
2
|
try { console.log("ktx_bridge sees Module:", typeof Module !== 'undefined' ? Module : undefined); } catch (_) {}
|
|
3
3
|
|
|
4
|
+
// Readiness flag for the engine's boot gate ([ktx_gate] in lib.rs): ktx_lib.js exports are
|
|
5
|
+
// lazy stubs reading wasmExports before its wasm instantiates - calling Module._malloc early
|
|
6
|
+
// throws `TypeError: ... (reading 'O')`. States: waiting -> ready; no-module/error = fail-open.
|
|
7
|
+
window.__ORI_KTX_READY = (() => {
|
|
8
|
+
const flag = { state: 'waiting' };
|
|
9
|
+
try {
|
|
10
|
+
if (typeof Module === 'undefined') { flag.state = 'no-module'; return flag; }
|
|
11
|
+
if (Module.calledRun) { flag.state = 'ready'; return flag; }
|
|
12
|
+
const prev = Module.onRuntimeInitialized;
|
|
13
|
+
Module.onRuntimeInitialized = () => {
|
|
14
|
+
try { if (prev) prev(); } catch (e) {}
|
|
15
|
+
flag.state = 'ready';
|
|
16
|
+
};
|
|
17
|
+
} catch (e) { flag.state = 'error'; }
|
|
18
|
+
return flag;
|
|
19
|
+
})();
|
|
20
|
+
|
|
4
21
|
// Helper views that do not require EXPORTED_RUNTIME_METHODS
|
|
5
22
|
let __ktx_warned_fallback = false;
|
|
6
23
|
function __ktx_warn_fallback_once() {
|
package/dist/oriverse_wgpu.d.ts
CHANGED
|
@@ -44,8 +44,31 @@ export class IntoUnderlyingSource {
|
|
|
44
44
|
*/
|
|
45
45
|
export function bootOriverseArtifact(weave_source: string): Promise<void>;
|
|
46
46
|
|
|
47
|
+
/**
|
|
48
|
+
* A browser QA harness can call this exported function and display the returned
|
|
49
|
+
* atlas. It exercises the same Rust/WGSL implementation without native polling.
|
|
50
|
+
*/
|
|
51
|
+
export function enhanced_capture_proof(): Promise<string>;
|
|
52
|
+
|
|
53
|
+
export function enhanced_ssr_probe(width: number, height: number): Promise<string>;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Browser QA uses rendered GPU batches, independent of simulation-tick waits
|
|
57
|
+
* and mobile log suppression. Repeated arm calls preserve the original mode.
|
|
58
|
+
*/
|
|
59
|
+
export function gpu_profiler_capture(active: boolean): void;
|
|
60
|
+
|
|
61
|
+
export function gpu_profiler_snapshot(): string;
|
|
62
|
+
|
|
47
63
|
export function init_market_client_message_bridge(worker: any): void;
|
|
48
64
|
|
|
65
|
+
export function library_capture_entry(world_text: string, args_json: string): string;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Read the same snapshot as the picker without depending on browser log verbosity.
|
|
69
|
+
*/
|
|
70
|
+
export function live_render_status(): string;
|
|
71
|
+
|
|
49
72
|
/**
|
|
50
73
|
* Worker-side entry for `live_sim_log_objects_at_frames` on wasm.
|
|
51
74
|
*/
|
|
@@ -72,7 +95,7 @@ export function start_wasm_oriverse(): Promise<void>;
|
|
|
72
95
|
* Worker-side entry for the one-shot hidden-tab playtest fallback. Runs ONLY inside a
|
|
73
96
|
* fresh-memory worker instance (never the live heap - B42's wasm analog); mirrors the
|
|
74
97
|
* validate path's process flags so headless load/sim behave like the desktop text lane.
|
|
75
|
-
* Returns
|
|
98
|
+
* Returns the text, source digest, and artifact verdict, or a classified error.
|
|
76
99
|
*/
|
|
77
100
|
export function text_playtest_entry(world_text: string, args_json: string): string;
|
|
78
101
|
|
|
@@ -108,14 +131,16 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
108
131
|
|
|
109
132
|
export interface InitOutput {
|
|
110
133
|
readonly memory: WebAssembly.Memory;
|
|
134
|
+
readonly enhanced_capture_proof: () => any;
|
|
135
|
+
readonly gpu_profiler_capture: (a: number) => void;
|
|
136
|
+
readonly gpu_profiler_snapshot: () => [number, number];
|
|
137
|
+
readonly live_render_status: () => [number, number];
|
|
138
|
+
readonly bootOriverseArtifact: (a: number, b: number) => any;
|
|
139
|
+
readonly enhanced_ssr_probe: (a: number, b: number) => any;
|
|
111
140
|
readonly sim_worker_init: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
|
|
112
141
|
readonly sim_worker_start_ticker: (a: number) => [number, number];
|
|
113
|
-
readonly bootOriverseArtifact: (a: number, b: number) => any;
|
|
114
142
|
readonly start_wasm_oriverse: () => void;
|
|
115
|
-
readonly
|
|
116
|
-
readonly worker_attach_write_dc: (a: any, b: any) => void;
|
|
117
|
-
readonly worker_init: (a: number, b: number) => void;
|
|
118
|
-
readonly worker_init_write: (a: number, b: number, c: number, d: number) => void;
|
|
143
|
+
readonly library_capture_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
119
144
|
readonly live_sim_log_objects_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
120
145
|
readonly live_sim_log_simcalls_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
121
146
|
readonly materialize_source_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -123,6 +148,10 @@ export interface InitOutput {
|
|
|
123
148
|
readonly ui_inspect_entry: (a: number, b: number, c: number, d: number) => [number, number];
|
|
124
149
|
readonly validate_world_entry: (a: number, b: number, c: number) => [number, number];
|
|
125
150
|
readonly validate_world_shared_entry: (a: number, b: number, c: number) => [number, number];
|
|
151
|
+
readonly worker_attach_read_dc: (a: any) => void;
|
|
152
|
+
readonly worker_attach_write_dc: (a: any, b: any) => void;
|
|
153
|
+
readonly worker_init: (a: number, b: number) => void;
|
|
154
|
+
readonly worker_init_write: (a: number, b: number, c: number, d: number) => void;
|
|
126
155
|
readonly init_market_client_message_bridge: (a: any) => [number, number];
|
|
127
156
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
128
157
|
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
@@ -137,46 +166,46 @@ export interface InitOutput {
|
|
|
137
166
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
138
167
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
139
168
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
169
|
+
readonly wasm_bindgen__closure__destroy__h0701f972ed4bafde: (a: number, b: number) => void;
|
|
170
|
+
readonly wasm_bindgen__closure__destroy__h00cca32abe411e55: (a: number, b: number) => void;
|
|
171
|
+
readonly wasm_bindgen__closure__destroy__h282cd015e51774c2: (a: number, b: number) => void;
|
|
172
|
+
readonly wasm_bindgen__closure__destroy__ha739f2f43f109605: (a: number, b: number) => void;
|
|
173
|
+
readonly wasm_bindgen__closure__destroy__hc9422fb6d35a5711: (a: number, b: number) => void;
|
|
174
|
+
readonly wasm_bindgen__closure__destroy__h352b15f35fd9b9ce: (a: number, b: number) => void;
|
|
175
|
+
readonly wasm_bindgen__closure__destroy__h01586aaa935c229b: (a: number, b: number) => void;
|
|
176
|
+
readonly wasm_bindgen__closure__destroy__h5f76218d69c4330b: (a: number, b: number) => void;
|
|
177
|
+
readonly wasm_bindgen__closure__destroy__h426a70819c29b240: (a: number, b: number) => void;
|
|
178
|
+
readonly wasm_bindgen__closure__destroy__hfe4f5249fec16880: (a: number, b: number) => void;
|
|
179
|
+
readonly wasm_bindgen__convert__closures_____invoke__hd9c0e2a4ba20f18a: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
180
|
+
readonly wasm_bindgen__convert__closures_____invoke__h3ea98b1708d6cda3: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
181
|
+
readonly wasm_bindgen__convert__closures_____invoke__h424d6446a1394875: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
182
|
+
readonly wasm_bindgen__convert__closures_____invoke__hcde27779393c179f: (a: number, b: number, c: any, d: any) => void;
|
|
183
|
+
readonly wasm_bindgen__convert__closures_____invoke__haf80bd5c9e726856: (a: number, b: number, c: number, d: number) => void;
|
|
184
|
+
readonly wasm_bindgen__convert__closures_____invoke__ha9edd7259da4f7ff: (a: number, b: number, c: any, d: any) => void;
|
|
185
|
+
readonly wasm_bindgen__convert__closures_____invoke__h9b10e2fb5365c3d4: (a: number, b: number, c: any) => [number, number];
|
|
157
186
|
readonly wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7: (a: number, b: number, c: any, d: any) => void;
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
187
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0f238320cf42410c: (a: number, b: number, c: any) => void;
|
|
188
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0f238320cf42410c_2: (a: number, b: number, c: any) => void;
|
|
189
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0f238320cf42410c_3: (a: number, b: number, c: any) => void;
|
|
190
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0f238320cf42410c_4: (a: number, b: number, c: any) => void;
|
|
191
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b6d498dcc7eb891: (a: number, b: number, c: any) => void;
|
|
192
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b6d498dcc7eb891_6: (a: number, b: number, c: any) => void;
|
|
193
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b6d498dcc7eb891_7: (a: number, b: number, c: any) => void;
|
|
194
|
+
readonly wasm_bindgen__convert__closures_____invoke__hc23439410b7688c2: (a: number, b: number, c: any) => void;
|
|
195
|
+
readonly wasm_bindgen__convert__closures_____invoke__hbddae924459ac4a5: (a: number, b: number, c: any) => void;
|
|
196
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277: (a: number, b: number, c: any) => void;
|
|
197
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277_17: (a: number, b: number, c: any) => void;
|
|
198
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277_18: (a: number, b: number, c: any) => void;
|
|
199
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277_19: (a: number, b: number, c: any) => void;
|
|
200
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277_20: (a: number, b: number, c: any) => void;
|
|
201
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277_21: (a: number, b: number, c: any) => void;
|
|
202
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277_22: (a: number, b: number, c: any) => void;
|
|
203
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b56292c51993277_23: (a: number, b: number, c: any) => void;
|
|
204
|
+
readonly wasm_bindgen__convert__closures_____invoke__hc9bc12aad00289ac: (a: number, b: number, c: number) => void;
|
|
205
|
+
readonly wasm_bindgen__convert__closures_____invoke__he3e2fc3e9224f60a: (a: number, b: number, c: any) => void;
|
|
206
|
+
readonly wasm_bindgen__convert__closures_____invoke__h9352838f18f6f0a3: (a: number, b: number) => void;
|
|
207
|
+
readonly wasm_bindgen__convert__closures_____invoke__h073a8682fd4d18a7: (a: number, b: number) => void;
|
|
208
|
+
readonly wasm_bindgen__convert__closures_____invoke__hf27645773ed1ccb1: (a: number, b: number) => void;
|
|
180
209
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
181
210
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
182
211
|
readonly __wbindgen_export: WebAssembly.Table;
|