Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

feat: add shared web runtime support for LAN device preview

yhh5d3c688596e8
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f725da776..b189d5f4a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -415,6 +415,9 @@ jobs:
ESTELLA_NO_EMCC: '1'
run: pnpm --filter ./sdk exec vitest run
+ - name: Install headless Chromium for device preview checks
+ run: pnpm exec playwright install --with-deps chromium
+
- name: Run Desktop tests (engine-coupled)
env:
ESTELLA_REQUIRE_WASM: '1'
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e3ca70782..efc279352 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ published separately; it ships inside the editor.
### Added
+- **One-click LAN device preview.** Scan Preview beside Play prepares the current scene for a phone browser, with a QR popover, tokenized local-network address, connected devices and advanced scene/interface settings. Scene and asset saves publish complete preview builds; compatible script changes retain the world through existing hot-swap APIs, with explicit reload reasons otherwise. Closing the project or stopping invalidates the session. The same Web runtime serves 2D and 3D; native/minigame device acceptance remains separate.
- **Budgeted particle scene collisions.** Particles query existing 2D or 3D physics along their movement segments, with layer filtering, rotating per-emitter/App query budgets, camera-distance culling and explicit floor/skip fallback. Bounded collision events use the standard EventReader; collision-triggered sub-emitters support local storage and capped inheritance depth. Details adds live counters and transient hit normals. A side-by-side sample demonstrates both physics paths and project-owned contact counters; device and performance acceptance remain pending.
- **Reusable UI trees and color pickers.** TreeView adapts arbitrary project records with stable IDs to the existing virtualized ListView. It supports expansion, selection, keyboard navigation, row and empty-state prefabs, and validated drop requests whose mutations remain project-owned. ColorPicker composes HSV/RGB/HEX and alpha editing with standard sliders and text inputs, per-control recent colors, and canonical RGBA change events for 2D UI, sprites and 3D materials. Both have UI Widgets presets and themed Inspectors; preview sample data never overwrites saved project data. Their Details panels use standard property alignment, shared override/reset feedback, concise manual links and folded editor-only previews. Recent-color capacity is disabled without losing its value when history is off; opaque color editing fixes alpha at 1.
- **UI tabs and tooltips.** TabView connects ordinary Toggles to content pages, with ordered entity bindings, keyboard navigation and an editor preview that leaves the saved initial page untouched. Tooltip adds delayed hover, keyboard-focus and touch-long-press hints, screen-edge placement and project theme or prefab styling. Both are available in the UI Widgets palette.
diff --git a/desktop b/desktop
index b74cb9fb5..a7e0d22f8 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit b74cb9fb5b0b0f10742ad88654a2390162755d44
+Subproject commit a7e0d22f8b35216458d3d35bf8d4b9800613dbab
diff --git a/docs/astro/src/content/docs/editor/play.mdx b/docs/astro/src/content/docs/editor/play.mdx
index 11e25ce15..94b915f8f 100644
--- a/docs/astro/src/content/docs/editor/play.mdx
+++ b/docs/astro/src/content/docs/editor/play.mdx
@@ -56,6 +56,26 @@ an axis a script was driving. The log line shows the value before you decide.
Entities the game spawned cannot be kept: the scene has no row to write them to. Those
are counted in the log rather than silently dropped.
+## Preview on a phone
+
+Click **Scan Preview** beside Play to save the current scene and prepare a Web
+preview. Connect your phone to the same network and scan the QR code. The phone
+browser runs the project itself; 2D and 3D use the same runtime and entry point.
+
+The compact popover provides the address, connected-device count and Stop.
+**More Settings** lets you select a saved scene and LAN interface, rebuild, and
+inspect connection or reload errors. Close the popover or settings to keep
+previewing; Stop, switching projects or closing the editor invalidates the link.
+Each session generates a new access token. This preview has no public tunnel.
+
+Saving scenes or assets rebuilds and refreshes connected browsers. Script saves
+use the existing schema probe and system hot swap to retain the running world
+when compatible. Structural changes reload the page and report why. A failed
+build leaves the previous completed preview available. Preview builds skip AOT
+and asset compression. Native and minigame device deployment uses its own tools.
+If the browser origin cannot provide WebGPU, preview uses the existing WebGL2
+backend. The project's shipping backend setting stays unchanged.
+
## Autosave & recovery
The editor periodically snapshots your **unsaved** documents — only when there are
diff --git a/docs/astro/src/content/docs/zh-cn/editor/play.mdx b/docs/astro/src/content/docs/zh-cn/editor/play.mdx
index acc49c224..5343764a4 100644
--- a/docs/astro/src/content/docs/zh-cn/editor/play.mdx
+++ b/docs/astro/src/content/docs/zh-cn/editor/play.mdx
@@ -41,6 +41,20 @@ description: "在隔离 realm 里于编辑器内运行游戏、运行模式选
游戏自己创建的实体保留不了:场景里没有对应的行可写。这些会记在日志里,而不是悄悄丢掉。
+## 手机扫码预览
+
+点击 Play 旁的**扫码预览**,保存当前场景并准备 Web 预览。手机与电脑连接同一网络后扫码,
+项目会在手机浏览器中实际运行。2D / 3D 共用同一运行时和入口。
+
+快捷浮层提供地址、连接设备数和停止操作。**更多设置**可选择已保存的场景、局域网网卡,
+重新构建,并查看连接和重载错误。关闭浮层或设置后预览继续运行;停止、切换项目或关闭编辑器
+会使链接失效。每次会话生成新的访问令牌,不提供公网穿透。
+
+保存场景或资源后会重新构建并刷新手机;脚本修改复用现有的结构探测和系统热替换,兼容时保留
+运行中的世界。结构变化时重载页面并显示原因。构建失败时保留上一份完整预览。
+预览构建跳过 AOT 与资源压缩;原生和小游戏的设备部署继续使用对应平台工具。
+浏览器当前地址不提供 WebGPU 时,预览使用现有 WebGL2 后端,不修改项目的发布后端设置。
+
## 自动保存与恢复
编辑器会定期快照你**未保存**的文档——仅在存在未保存改动且没有 Play 会话运行时——所以崩溃或
diff --git a/pipeline/src/export/exportGame.ts b/pipeline/src/export/exportGame.ts
index a52211092..ff38be258 100644
--- a/pipeline/src/export/exportGame.ts
+++ b/pipeline/src/export/exportGame.ts
@@ -460,6 +460,8 @@ function esengineGlobalPlugin(): Plugin {
}
export interface ExportGameOptions {
+ /** Editor LAN preview only; shipping exports leave the preview client out. */
+ developmentPreview?: boolean;
root: string;
/** The project-relative scene to boot. */
entryScene: string;
@@ -1070,6 +1072,7 @@ async function produceExport(opts: ExportGameOptions): Promise<ExportGameResult>
const hostEntry = runtimeHostEntry(opts.hostsDir, 'gameHost');
const host = await build({
...common,
+ define: { ...common.define, __ESTELLA_LAN_PREVIEW__: opts.developmentPreview ? 'true' : 'false' },
stdin: {
contents: plan.subpaths.map((m) => `import ${JSON.stringify(m)};\n`).join('')
+ `import ${JSON.stringify(hostEntry)};\n`,
diff --git a/pipeline/src/runtime/devicePreviewClient.ts b/pipeline/src/runtime/devicePreviewClient.ts
new file mode 100644
index 000000000..0a40f0c2a
--- /dev/null
+++ b/pipeline/src/runtime/devicePreviewClient.ts
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
+import { getUserComponentFingerprint, probeRegistrations, type App } from 'esengine';
+
+/** Uses the same schema probe and system replacement as editor Play. */
+export function installDevicePreview(app: App, scripts?: string): void {
+ const events = new EventSource(new URL('__events', location.href));
+ let revision = Number(document.querySelector('meta[name="estella-preview-revision"]')?.getAttribute('content') ?? 0);
+ let queue = Promise.resolve();
+ const report = (note: string) => fetch(new URL('__status', location.href), {
+ method: 'POST', keepalive: true, headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ note }),
+ }).catch(() => {});
+ events.addEventListener('connected', event => {
+ if (JSON.parse((event as MessageEvent).data).revision !== revision) location.reload();
+ });
+ events.addEventListener('update', event => {
+ const update = JSON.parse((event as MessageEvent).data) as { revision: number; scriptsOnly: boolean };
+ queue = queue.then(async () => {
+ if (update.revision <= revision) return;
+ revision = update.revision;
+ if (update.scriptsOnly && scripts) {
+ const release = app.holdExecution();
+ try {
+ const fingerprint = getUserComponentFingerprint();
+ const url = new URL(scripts, location.href); url.searchParams.set('previewRevision', String(revision));
+ const incoming = await probeRegistrations(() => import(/* @vite-ignore */ url.href));
+ if (incoming.fingerprint === fingerprint && app.hotSwapSystems(incoming.pending as Parameters<App['hotSwapSystems']>[0])) {
+ void report(''); return;
+ }
+ void report('Script structure changed; reloaded the preview');
+ } catch (error) { void report(`Script hot reload failed; reloaded the preview: ${String(error)}`); }
+ finally { release(); }
+ }
+ location.reload();
+ }).catch(async error => { await report(String(error)); location.reload(); });
+ });
+ addEventListener('pagehide', () => events.close(), { once: true });
+}
diff --git a/pipeline/src/runtime/gameHost.ts b/pipeline/src/runtime/gameHost.ts
index 8e0bd292b..94e781d99 100644
--- a/pipeline/src/runtime/gameHost.ts
+++ b/pipeline/src/runtime/gameHost.ts
@@ -23,6 +23,8 @@ import {
getComponentRegistry,
startDebugChannel, glContextAttributes,
} from 'esengine';
+import { installDevicePreview } from './devicePreviewClient';
+declare const __ESTELLA_LAN_PREVIEW__: boolean;
/**
* A component this host only READS, by the name the registry knows it by.
@@ -953,6 +955,7 @@ async function boot(): Promise<void> {
void ready().catch(error => console.warn('[YouTube] Ready notification failed', error));
});
}
+ if (typeof __ESTELLA_LAN_PREVIEW__ !== 'undefined' && __ESTELLA_LAN_PREVIEW__) installDevicePreview(app, cfg.scripts);
app.run();
}
diff --git a/pipeline/tests/export-source-maps.test.ts b/pipeline/tests/export-source-maps.test.ts
index 8457c4229..0a4ef4aa9 100644
--- a/pipeline/tests/export-source-maps.test.ts
+++ b/pipeline/tests/export-source-maps.test.ts
@@ -80,6 +80,7 @@ describe('source maps in a web package', () => {
try {
const res = await run(f);
expect(res.errors).toEqual([]);
+ expect(readFileSync(path.join(f.out, 'game.js'), 'utf8')).not.toContain('__events');
expect(existsSync(path.join(f.out, 'sdk', 'index.js.map'))).toBe(false);
expect(existsSync(path.join(f.out, 'sdk', 'shared', 'resource.js.map'))).toBe(false);
// A dangling reference is a 404 the moment anyone opens devtools on the
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6832cb505..beaf2e8de 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -87,6 +87,9 @@ importers:
pngjs:
specifier: ^7.0.0
version: 7.0.0
+ qrcode:
+ specifier: ^1.5.4
+ version: 1.5.4
react:
specifier: ^19.2.0
version: 19.2.7
@@ -124,6 +127,9 @@ importers:
'@types/pngjs':
specifier: ^6.0.5
version: 6.0.5
+ '@types/qrcode':
+ specifier: ^1.5.6
+ version: 1.5.6
'@types/react':
specifier: ^19.2.0
version: 19.2.17
@@ -1345,6 +1351,9 @@ packages:
resolution: {integrity: sha512-0k5eKfrA83JOZPppLtS2C7OUtyNAl2wKNxfyYl9Q5g9lPkgBl/9hNyAu6HuEH2J4XmIv2znEpkDd0SaZVxW6iQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-te7NQcV2BOvdj2b1hCAHzAoMNuj65kNBMz0KBaxM6c3VGBOhU0dURQKOtH8CFNI/dsKkwlv32p26qYQTWoB5bw==}
+
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
peerDependencies:
@@ -1663,6 +1672,10 @@ packages:
resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==}
@@ -1713,6 +1726,9 @@ packages:
resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==}
+
resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
engines: {node: '>=12'}
@@ -1828,6 +1844,10 @@ packages:
supports-color:
optional: true
+ resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==}
@@ -1925,6 +1945,9 @@ packages:
peerDependencies:
typescript: ^5.4.4 || ^6.0.2
+ resolution: {integrity: sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==}
+
resolution: {integrity: sha512-2xMCmOoMrdQIPHdsTawECdNPwlVFB9zGcz3kuhmBO6U3oU+UQjsue0i8ayLKpgBcm+hcXPMVSGUN9d+pvJ6+VQ==}
@@ -2185,6 +2208,10 @@ packages:
resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==}
engines: {node: '>= 18.0.0'}
+ resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==}
@@ -2639,6 +2666,10 @@ packages:
resolution: {integrity: sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==}
engines: {node: '>=14'}
+ resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==}
@@ -2931,10 +2962,22 @@ packages:
resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
@@ -2955,6 +2998,10 @@ packages:
resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}
engines: {node: '>= 0.8'}
+ resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
engines: {node: '>=0.10.0'}
@@ -3034,6 +3081,10 @@ packages:
resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==}
+ engines: {node: '>=10.13.0'}
+
resolution: {integrity: sha512-LKWqWJRhstyYo9pGvgor/ivk2w94eSjE3RGVuzLGlr3NmD8bf7RcYGze1mNdEHRP6TRP6rMuDHk5t44hnTRyow==}
engines: {node: '>=14.19.0'}
@@ -3113,6 +3164,11 @@ packages:
resolution: {integrity: sha512-KTqnxsgGiQ6ZAzZCVlJH5eOjSnvlyEgx1m8bkRJfOhmGRqfo5KLvmAlACQkrjEtOQ4B7wF9TdSLIs9O90MX9xA==}
engines: {node: '>=16.0.0'}
+ resolution: {integrity: sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
+
resolution: {integrity: sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==}
engines: {node: '>=0.6'}
@@ -3177,6 +3233,9 @@ packages:
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==}
+
resolution: {integrity: sha512-jnIre8cbWOyvr8a5F2KuqBnY+SDA4NXr/hzEZJG79Mxm2WiFQz2dzhC8ibtPJS7zkmBEl1mxSwp5HhC1W4qpxw==}
engines: {node: '>=10.13.0'}
@@ -3320,6 +3379,9 @@ packages:
resolution: {integrity: sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==}
engines: {node: '>= 18'}
+ resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
+
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
@@ -3801,6 +3863,9 @@ packages:
resolution: {integrity: sha512-3GeworPmc2ZfEEHP7lEbUfBX/L75wdEsi0rLNhXcXxnoN5jyq0SL5gCy06SGW2cyTIZdTvWIDQNQoza++vKeaw==}
engines: {node: ^22.14.0 || >=24.0.0}
+ resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==}
+
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
engines: {node: '>= 8'}
@@ -3821,6 +3886,10 @@ packages:
engines: {node: '>=8'}
hasBin: true
+ resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
engines: {node: '>=10'}
@@ -3855,6 +3924,9 @@ packages:
resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==}
+ resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==}
+
resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
engines: {node: '>=10'}
@@ -3866,10 +3938,18 @@ packages:
resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==}
engines: {node: '>=12'}
@@ -4717,6 +4797,10 @@ snapshots:
dependencies:
'@types/node': 25.9.3
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 25.9.3
+
dependencies:
'@types/react': 19.2.17
@@ -5133,6 +5217,8 @@ snapshots:
call-bind-apply-helpers: 1.0.2
get-intrinsic: 1.3.0
+
@@ -5182,6 +5268,12 @@ snapshots:
+ dependencies:
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+ wrap-ansi: 6.2.0
+
dependencies:
string-width: 4.2.3
@@ -5276,6 +5368,8 @@ snapshots:
dependencies:
ms: 2.1.3
+
@@ -5383,6 +5477,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
+
dependencies:
minimatch: 3.1.5
@@ -5752,6 +5848,11 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ locate-path: 5.0.0
+ path-exists: 4.0.0
+
@@ -6213,6 +6314,10 @@ snapshots:
pkg-types: 2.3.1
quansync: 0.2.11
+ dependencies:
+ p-locate: 4.1.0
+
@@ -6470,10 +6575,20 @@ snapshots:
+ dependencies:
+ p-try: 2.2.0
+
dependencies:
yocto-queue: 0.1.0
+ dependencies:
+ p-limit: 2.3.0
+
+
@@ -6488,6 +6603,8 @@ snapshots:
+
@@ -6556,6 +6673,8 @@ snapshots:
+
@@ -6655,6 +6774,12 @@ snapshots:
+ dependencies:
+ dijkstrajs: 1.0.3
+ pngjs: 5.0.0
+ yargs: 15.4.1
+
dependencies:
side-channel: 1.1.1
@@ -6724,6 +6849,8 @@ snapshots:
+
dependencies:
esprima: 4.0.1
@@ -6943,6 +7070,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
+
@@ -7450,6 +7579,8 @@ snapshots:
transitivePeerDependencies:
- '@noble/hashes'
+
dependencies:
isexe: 2.0.0
@@ -7467,6 +7598,12 @@ snapshots:
siginfo: 2.0.0
stackback: 0.0.2
+ dependencies:
+ ansi-styles: 4.3.0
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+
dependencies:
ansi-styles: 4.3.0
@@ -7489,14 +7626,35 @@ snapshots:
+
+ dependencies:
+ camelcase: 5.3.1
+ decamelize: 1.2.0
+
+ dependencies:
+ cliui: 6.0.0
+ decamelize: 1.2.0
+ find-up: 4.1.0
+ get-caller-file: 2.0.5
+ require-directory: 2.1.1
+ require-main-filename: 2.0.0
+ set-blocking: 2.0.0
+ string-width: 4.2.3
+ which-module: 2.0.1
+ y18n: 4.0.3
+ yargs-parser: 18.1.3
+
dependencies:
cliui: 8.0.1
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index d805acf65..342cc872c 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -28,6 +28,8 @@ export const NOTES_FLOOR = 'v0.65.0';
* the reader recognises anyway.
*/
export const NOTED = {
+ 'feat: add shared web runtime support for LAN device preview': { note: 'One-click LAN device preview.' },
+ 'feat(editor): add quick QR device preview beside Play': { note: 'One-click LAN device preview.' },
'fix: serialize binaryen optimization on windows': { internal: 'Uses one optimizer worker after wider builds reproduced heap corruption with four; release optimization flags stay unchanged.' },
'feat: add budgeted 2d and 3d particle scene collisions': { note: 'Budgeted particle scene collisions.' },
'feat(editor): add particle collision authoring and diagnostics': { note: 'Budgeted particle scene collisions.' },