接入 INI 面板只读 session readiness handoff
This commit is contained in:
@@ -4,12 +4,17 @@ export function createMachineSessionReadonlyStatus({
|
||||
controlView = null,
|
||||
} = {}) {
|
||||
const overview = stateBundle?.overview ?? workflowStatus?.overview ?? null;
|
||||
const sessionReadiness = workflowStatus?.sessionReadiness
|
||||
?? stateBundle?.workflowStatus?.sessionReadiness
|
||||
?? stateBundle?.report?.sessionReadiness
|
||||
?? null;
|
||||
return {
|
||||
stateBundle,
|
||||
workflowStatus,
|
||||
overview,
|
||||
controlView,
|
||||
report: stateBundle?.report ?? null,
|
||||
sessionReadiness,
|
||||
runReadiness: workflowStatus?.runReadiness ?? stateBundle?.report?.runReadiness ?? null,
|
||||
run: workflowStatus?.run ?? stateBundle?.report?.run ?? null,
|
||||
session: workflowStatus?.session ?? stateBundle?.report?.session ?? null,
|
||||
@@ -42,6 +47,7 @@ export function createMachineSessionReadonlyStatusApiManifest() {
|
||||
"overview",
|
||||
"controlView",
|
||||
"report",
|
||||
"sessionReadiness",
|
||||
"runReadiness",
|
||||
"run",
|
||||
"session",
|
||||
|
||||
Reference in New Issue
Block a user