feat(web): continue source-backed implementation waves
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-29 05:46:53 +08:00
parent e9b9d343a1
commit 81113159dc
180 changed files with 12316 additions and 82 deletions

View File

@@ -0,0 +1,8 @@
import type { WebEngineRequest } from "./web-engine";
/** Resource-facing command constructors; asset bytes remain owned by the worker/storage path. */
export const resourceCommands = Object.freeze({
requestAsset(assetId: string): Extract<WebEngineRequest["command"], { type: "requestAsset" }> {
return { type: "requestAsset", assetId };
},
} as const);