推进 INI 面板 shell handoff workflow display-model helper

This commit is contained in:
2026-06-15 14:05:44 +08:00
parent 4c02f33d57
commit 1da6180387
9 changed files with 174 additions and 3 deletions

View File

@@ -112,6 +112,7 @@
mountIniPanelShellSessionHandoffFromControlPage,
readIniPanelShellSessionHandoffStatusFromControlPage,
createIniPanelShellSessionHandoffWorkflowSummary,
createIniPanelShellSessionHandoffWorkflowDisplayViewModel,
renderIniPanelShellSessionHandoffMountState,
} from "./ui-shell.js";
@@ -232,6 +233,11 @@
}),
})
),
getShellSessionHandoffWorkflowDisplayViewModel: (options) => (
createIniPanelShellSessionHandoffWorkflowDisplayViewModel(
options ?? shellViewModel.shellSessionHandoffWorkflowSummary,
)
),
isSupportedShellSessionHandoffPackage: shellViewModel.isSupportedShellSessionHandoffPackage,
getLauncherLinks: () => shellViewModel.launcherLinks,
getControlPageApiMethods: () => shellViewModel.controlPage.browserApiMethods,