推进 INI 面板 shell handoff workflow render-state helper

This commit is contained in:
2026-06-15 14:11:17 +08:00
parent 1da6180387
commit e1e0c7f6d2
9 changed files with 170 additions and 3 deletions

View File

@@ -113,6 +113,7 @@
readIniPanelShellSessionHandoffStatusFromControlPage,
createIniPanelShellSessionHandoffWorkflowSummary,
createIniPanelShellSessionHandoffWorkflowDisplayViewModel,
createIniPanelShellSessionHandoffWorkflowRenderState,
renderIniPanelShellSessionHandoffMountState,
} from "./ui-shell.js";
@@ -238,6 +239,11 @@
options ?? shellViewModel.shellSessionHandoffWorkflowSummary,
)
),
getShellSessionHandoffWorkflowRenderState: (options) => (
createIniPanelShellSessionHandoffWorkflowRenderState(
options ?? shellViewModel.shellSessionHandoffWorkflowDisplayViewModel,
)
),
isSupportedShellSessionHandoffPackage: shellViewModel.isSupportedShellSessionHandoffPackage,
getLauncherLinks: () => shellViewModel.launcherLinks,
getControlPageApiMethods: () => shellViewModel.controlPage.browserApiMethods,