@simulatte/webgpu 0.3.0 → 0.3.1

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 CHANGED
@@ -7,6 +7,18 @@ retrofitted from package version history and package-surface commits so the npm
7
7
  package has a conventional release history alongside the broader Fawn status
8
8
  and process documents.
9
9
 
10
+ ## [0.3.1] - 2026-03-11
11
+
12
+ ### Changed
13
+
14
+ - Tightened the published package README wording, section names, and layering
15
+ narrative after the `0.3.0` release.
16
+ - Clarified the terminology split between the `Doe runtime` underneath the
17
+ package and the `Doe API` / `Doe routines` JS convenience surface exposed by
18
+ the package.
19
+ - Fixed the layered README SVG asset so it renders correctly on package
20
+ surfaces.
21
+
10
22
  ## [0.3.0] - 2026-03-11
11
23
 
12
24
  ### Changed
package/README.md CHANGED
@@ -26,7 +26,7 @@ Terminology in this README is deliberate:
26
26
 
27
27
  ## Start here
28
28
 
29
- ### Same workload, two layers
29
+ ### From direct WebGPU to Doe
30
30
 
31
31
  The same simple compute pass, shown first at the raw WebGPU layer and then at
32
32
  the explicit Doe API layer.
@@ -134,7 +134,7 @@ await gpu.compute.run({
134
134
  console.log(await gpu.buffers.read(dst, Float32Array)); // Float32Array(4) [ 2, 4, 6, 8 ]
135
135
  ```
136
136
 
137
- The package identity is simple:
137
+ What this package gives you:
138
138
 
139
139
  - `requestDevice()` gives you real headless WebGPU
140
140
  - `doe` gives you the same runtime with less boilerplate and explicit resource control
@@ -200,11 +200,11 @@ const result = await gpu.compute.once({
200
200
  console.log(result.subarray(0, 8)); // Float32Array(8) [ ... ]
201
201
  ```
202
202
 
203
- ### Benchmarked package surface
203
+ ### Benchmark snapshot
204
204
 
205
- The package is not just a wrapper API. It is the headless package surface of
206
- the Doe runtime, Fawn's Zig-first WebGPU implementation, and it is exercised as
207
- a measured package surface with explicit package lanes.
205
+ This package is the headless package surface of the Doe runtime, Fawn's
206
+ Zig-first WebGPU implementation, and it is benchmarked through separate
207
+ Node and Bun package lanes.
208
208
 
209
209
  <p align="center">
210
210
  <img src="assets/package-surface-cube-snapshot.svg" alt="Static package-surface benchmark cube snapshot" width="920" />
@@ -240,7 +240,7 @@ for AI workloads and other buffer/dispatch-heavy headless execution. The
240
240
  compute surface intentionally omits render and sampler methods from the JS
241
241
  facade.
242
242
 
243
- ## Package basics
243
+ ## Basic entry points
244
244
 
245
245
  ### Inspect the provider
246
246
 
@@ -269,9 +269,9 @@ console.log(typeof device.createComputePipeline); // "function"
269
269
  console.log(typeof device.createRenderPipeline); // "undefined"
270
270
  ```
271
271
 
272
- ## Doe layers
272
+ ## API layers
273
273
 
274
- The package exposes three layers over the same runtime:
274
+ The package gives you three API styles over the same Doe runtime:
275
275
 
276
276
  <p align="center">
277
277
  <img src="assets/package-layers.svg" alt="Layered package graph showing direct WebGPU, Doe API, and Doe routines over the same package surfaces." width="920" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simulatte/webgpu",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Headless WebGPU runtime for Node.js and Bun, powered by Doe",
5
5
  "type": "module",
6
6
  "main": "./src/node-runtime.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@simulatte/webgpu",
4
- "packageVersion": "0.3.0",
4
+ "packageVersion": "0.3.1",
5
5
  "platform": "darwin",
6
6
  "arch": "arm64",
7
7
  "nodeNapiVersion": 8,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@simulatte/webgpu",
4
- "packageVersion": "0.3.0",
4
+ "packageVersion": "0.3.1",
5
5
  "platform": "linux",
6
6
  "arch": "x64",
7
7
  "nodeNapiVersion": 8,