fix(web): 收口 HWPOD Node 接入体验
This commit is contained in:
@@ -15,7 +15,8 @@ import {
|
||||
hwpodSpecWorkspaceProbePlan
|
||||
} from "./hwpod-spec-discovery.ts";
|
||||
import {
|
||||
buildHwpodTopologyReadModel
|
||||
buildHwpodTopologyReadModel,
|
||||
HWPOD_NODE_READINESS_DEFINITIONS
|
||||
} from "./hwpod-topology-read-model.ts";
|
||||
import {
|
||||
getHeader,
|
||||
@@ -231,14 +232,7 @@ function hwlabNodeReleaseNotes(env) {
|
||||
}
|
||||
|
||||
function hwlabNodeReadinessStages() {
|
||||
return [
|
||||
{ id: "downloaded", label: "已下载", authority: "user-device" },
|
||||
{ id: "installed", label: "已安装", authority: "python-node-runtime" },
|
||||
{ id: "desktop-visible", label: "桌面可见", authority: "python-node-runtime" },
|
||||
{ id: "registered", label: "已注册", authority: "websocket-registry" },
|
||||
{ id: "workspace-ready", label: "工作区就绪", authority: "hwpod-spec-probe" },
|
||||
{ id: "hwpod-ready", label: "HWPOD 就绪", authority: "hwpod-topology" }
|
||||
];
|
||||
return HWPOD_NODE_READINESS_DEFINITIONS.map((stage) => ({ ...stage, nextAction: { ...stage.nextAction } }));
|
||||
}
|
||||
|
||||
function hwlabNodeDownloadUrl(env) {
|
||||
|
||||
Reference in New Issue
Block a user