@three-blocks/devtools 1.0.1-alpha.214.gf051bb7d43f2 → 1.0.1-alpha.217.g90981be82863
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/CHANGELOG.md +4 -2
- package/README.md +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @three-blocks/devtools
|
|
2
2
|
|
|
3
|
-
## 1.0.1-alpha.
|
|
3
|
+
## 1.0.1-alpha.217.g90981be82863
|
|
4
4
|
|
|
5
5
|
- Packages: Three.js 186dev now uses upstream asynchronous compute compilation.
|
|
6
6
|
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
- Tools: Mesh to Splat now ignores render-hidden collections when framing captures.
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- Library: Vertex Animation Video now fails cleanly when numerical tracks cannot be decoded.
|
|
12
|
+
|
|
13
|
+
- Packages: Built from `90981be82863`.
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
## 1.0.0
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Add Devtools to a Vite app
|
|
6
6
|
|
|
7
|
-
The Three Blocks starter already installs and configures this package.
|
|
7
|
+
The Three Blocks starter already installs and configures this package. An adopted project installs it once; every `npx three-blocks` command in this document runs the project's own copy:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npm install --save-dev @three-blocks/devtools
|
|
@@ -47,9 +47,9 @@ The overlay changes from **Live** to **Precompiled** after a fresh capture loads
|
|
|
47
47
|
|
|
48
48
|
### Three.js r185 compatibility patch
|
|
49
49
|
|
|
50
|
-
Shader precompilation supports Three.js `>=0.185.0 <0.186.0`. Every adapter applies the same version-gated transform to `three/build/three.webgpu.js` in memory and never writes `node_modules`. Exact source anchors fail closed on unknown or partially patched builds. Current captures require precompiled manifest version `3` and shader receipt transform version `
|
|
50
|
+
Shader precompilation supports Three.js `>=0.185.0 <0.186.0`. Every adapter applies the same version-gated transform to `three/build/three.webgpu.js` in memory and never writes `node_modules`. Exact source anchors fail closed on unknown or partially patched builds. Current captures require precompiled manifest version `3` and shader receipt transform version `53`; recapture older artifacts instead of editing them.
|
|
51
51
|
|
|
52
|
-
The [
|
|
52
|
+
The [Devtools guide](https://threejs-blocks.com/docs/tools/devtools) lists the released r185 patches behind that transform.
|
|
53
53
|
|
|
54
54
|
### Manual bundler adapters
|
|
55
55
|
|
|
@@ -150,7 +150,7 @@ Artifact writes are transactional. `meta.json` records runtime, tool, schema, so
|
|
|
150
150
|
|
|
151
151
|
`shaders test` first repeats the GPU-free matrix inspection. Its browser gate proves that the live baseline builds every registered render pipeline and compute kernel. The fresh path must perform zero registered builds, report no misses, reach first-frame readiness, render non-black output, and match deterministic pixels.
|
|
152
152
|
|
|
153
|
-
Successful scenes are checkpointed against their scene receipt and the shared runtime and tool contract. A later run can resume at the missing scene. `--parity-only` runs one live and precompiled pair without timing warmups, repeats, or the published-page soak. The default mode retains those measurements and production-page checks. A parity observation is
|
|
153
|
+
Successful scenes are checkpointed against their scene receipt and the shared runtime and tool contract. A later run can resume at the missing scene. `--parity-only` runs one live and precompiled pair without timing warmups, repeats, or the published-page soak. The default mode retains those measurements and production-page checks. A parity observation is bounded by the per-scene `timeoutMs`, 240 seconds by default. Failures write live, precompiled, and diff PNGs under `.three-blocks/shaders/parity/`.
|
|
154
154
|
|
|
155
155
|
### Verify a browser integration
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ npx three-blocks browser preview --route /
|
|
|
162
162
|
|
|
163
163
|
The smoke gate loads the project's Vite config on an ephemeral loopback port. It requires the visible OffscreenCanvas worker plus `workerReady`, `assetsReady`, and `compileEnd`. It also requires `textReady` when the Vite text configuration is enabled. Every configured Draco and KTX2 route is fetched, the lazy Meshopt decoder is initialized, and page or console errors fail the run. The gate checks the WebGPU screenshot and readable 2D panels for an all-black frame.
|
|
164
164
|
|
|
165
|
-
The command reads the starter's built-in readiness check. Application tutorials describe the visible **Starting**, **Ready**, **Precompiled**, and **Live** states instead of this maintainer contract.
|
|
165
|
+
The command reads the starter's built-in readiness check. Application tutorials describe the visible **Starting**, **Ready**, **Precompiled**, and **Live** states instead of this maintainer contract.
|
|
166
166
|
|
|
167
167
|
`--hmr project_relative_module` emits a synthetic watcher change through Vite for an already loaded scene module. It runs the HMR graph without changing source and verifies that the browser acknowledges the update while lifecycle readiness remains stable.
|
|
168
168
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@three-blocks/devtools",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.217.g90981be82863",
|
|
4
4
|
"description": "Three Blocks devtools command engine for npx three-blocks; the runtime lives in three-blocks/devtools and the Vite plugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"three",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@types/three": "0.185.0",
|
|
80
80
|
"create-vite": "9.1.1",
|
|
81
81
|
"playwright": "^1.61.1",
|
|
82
|
-
"three-blocks": "0.2.1-alpha.
|
|
82
|
+
"three-blocks": "0.2.1-alpha.217.g90981be82863",
|
|
83
83
|
"tsup": "^8.0.0",
|
|
84
84
|
"typescript": "^5.9.3",
|
|
85
85
|
"vite": "^7.2.2",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"playwright": "^1.61.1",
|
|
93
93
|
"three": ">=0.185.0 <0.186.0",
|
|
94
|
-
"three-blocks": "0.2.1-alpha.
|
|
94
|
+
"three-blocks": "0.2.1-alpha.217.g90981be82863",
|
|
95
95
|
"typescript": ">=5.9.3 <7.0.0",
|
|
96
96
|
"vite": ">=7.2.2 <9.0.0"
|
|
97
97
|
},
|