推进 text12 接续和 control-page session readiness workflow

This commit is contained in:
2026-06-15 04:57:21 +08:00
parent ed5d03ea1b
commit 98d236250f
13 changed files with 621 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ import {
getIniPanelEntryByHref,
getVisibleIniPanelEntries,
createMachineSessionControlPageController,
loadMachineSessionForControlPageWorkflow,
createControlPageSessionLoadState,
refreshMachineSessionControlPage,
controlPageStatusText,
renderMachineSessionControlView,
@@ -57,6 +59,13 @@ refresh result with `phase`, `statusText`, `view`, `renderResult`, and `error`.
the read-only status line, and `createControlPageRefreshState()` is the stable
state-shape helper used by the workflow.
The control-page session workflow lives in
`runtime/ui/ini-panel/control-page-session-workflow.js`. Use
`loadMachineSessionForControlPageWorkflow()` when an outer shell needs a
read-only readiness snapshot for the embedded panel API and first control view.
`createControlPageSessionLoadState()` is the stable state-shape helper for
`waiting-panel`, `waiting-api`, `waiting-session`, `ready`, and `error` phases.
## Boundary
The entry shell only links pages and renders already-observed panel state. It