Files
hyperframes/packages/engine/package-subpaths.json
T
Miguel Ángel 96e2154d7c fix(engine): say why WSL renders fall back to software and how to get the GPU (#5560)
* fix(engine): say why WSL renders fall back to software and how to get the GPU

Under WSL the GPU check often falls back to SwiftShader and the only output
was the probe line, with Docker passthrough advice for --browser-gpu. Print
one note that says what was checked (can this user open the render node),
the exact fix, and the native Windows alternative. The CLI's WSL detector
moves to the engine so both use one.

Part of #5548

* fix(engine): keep WSL GPU notes true to the probe result and render mode

The WSL note now prints only when auto mode really selects software, and
says whether the GPU check found no GPU or could not finish. Explicit
--browser-gpu keeps its unverified and Chrome-install advice and adds the
WSL checks. The render-node check verifies group membership before
suggesting usermod.
2026-10-13 22:18:59 +00:00

48 lines
1.5 KiB
JSON

{
"package": "@hyperframes/engine",
"subpaths": {
".": {
"source": "./src/index.ts",
"runtime": "./dist/index.js",
"types": "./dist/index.d.ts",
"environments": ["bun", "node"]
},
"./alpha-blit": {
"source": "./src/utils/alphaBlit.ts",
"runtime": "./dist/utils/alphaBlit.js",
"types": "./dist/utils/alphaBlit.d.ts",
"environments": ["bun", "node"]
},
"./chrome-host-ceiling": {
"source": "./src/services/chromeHostCeiling.ts",
"runtime": "./dist/services/chromeHostCeiling.js",
"types": "./dist/services/chromeHostCeiling.d.ts",
"environments": ["bun", "node"]
},
"./system-memory": {
"source": "./src/services/systemMemory.ts",
"runtime": "./dist/services/systemMemory.js",
"types": "./dist/services/systemMemory.d.ts",
"environments": ["bun", "node"]
},
"./wsl-host": {
"source": "./src/services/wslHost.ts",
"runtime": "./dist/services/wslHost.js",
"types": "./dist/services/wslHost.d.ts",
"environments": ["bun", "node"]
},
"./shader-transitions": {
"source": "./src/utils/shaderTransitions.ts",
"runtime": "./dist/utils/shaderTransitions.js",
"types": "./dist/utils/shaderTransitions.d.ts",
"environments": ["browser", "bun", "node"]
},
"./package.json": {
"source": "./package.json",
"runtime": "./package.json",
"types": null,
"environments": ["browser", "bun", "node"]
}
}
}