推进 INI 面板 shell handoff workflow summary helper
This commit is contained in:
@@ -111,6 +111,7 @@
|
||||
mountIniPanelShellSessionHandoff,
|
||||
mountIniPanelShellSessionHandoffFromControlPage,
|
||||
readIniPanelShellSessionHandoffStatusFromControlPage,
|
||||
createIniPanelShellSessionHandoffWorkflowSummary,
|
||||
renderIniPanelShellSessionHandoffMountState,
|
||||
} from "./ui-shell.js";
|
||||
|
||||
@@ -214,6 +215,23 @@
|
||||
...(options ?? {}),
|
||||
})
|
||||
),
|
||||
getShellSessionHandoffWorkflowSummary: (options) => (
|
||||
createIniPanelShellSessionHandoffWorkflowSummary(options ?? {
|
||||
mountWorkflow: {
|
||||
phase: shellViewModel.shellSessionHandoffPackageMountRenderState.phase,
|
||||
ready: shellViewModel.shellSessionHandoffPackageMountRenderState.ready,
|
||||
statusLine: shellViewModel.shellSessionHandoffPackageMountRenderState.statusLine,
|
||||
},
|
||||
controlPageMountWorkflow: {
|
||||
phase: shellViewModel.shellSessionHandoffPackageMountState.phase,
|
||||
ready: shellViewModel.shellSessionHandoffPackageMountState.ready,
|
||||
statusLine: shellViewModel.shellSessionHandoffPackageMountState.statusLine,
|
||||
},
|
||||
readonlyStatusResult: shellViewModel.readShellSessionHandoffStatusFromControlPage({
|
||||
handoffSummary: shellViewModel.shellSessionHandoffSummary,
|
||||
}),
|
||||
})
|
||||
),
|
||||
isSupportedShellSessionHandoffPackage: shellViewModel.isSupportedShellSessionHandoffPackage,
|
||||
getLauncherLinks: () => shellViewModel.launcherLinks,
|
||||
getControlPageApiMethods: () => shellViewModel.controlPage.browserApiMethods,
|
||||
|
||||
Reference in New Issue
Block a user