推进 INI 面板 shell handoff mount workflow helper

This commit is contained in:
2026-06-15 12:18:01 +08:00
parent 94b44c0e73
commit 298aa5e403
9 changed files with 219 additions and 20 deletions

View File

@@ -108,6 +108,7 @@
isSupportedIniPanelLaunchApiManifest,
createIniPanelShellSessionHandoffMountDomContract,
createIniPanelShellSessionHandoffMountDomReadiness,
mountIniPanelShellSessionHandoff,
renderIniPanelShellSessionHandoffMountState,
} from "./ui-shell.js";
@@ -191,6 +192,12 @@
renderShellSessionHandoffMountState: (renderState, options) => (
renderIniPanelShellSessionHandoffMountState(renderState, options ?? { documentRef: document })
),
mountShellSessionHandoff: (options) => (
mountIniPanelShellSessionHandoff(options ?? {
renderState: shellViewModel.shellSessionHandoffPackageMountRenderState,
documentRef: document,
})
),
isSupportedShellSessionHandoffPackage: shellViewModel.isSupportedShellSessionHandoffPackage,
getLauncherLinks: () => shellViewModel.launcherLinks,
getControlPageApiMethods: () => shellViewModel.controlPage.browserApiMethods,