fix(web): 收口 HWPOD Node 接入体验

This commit is contained in:
root
2026-07-15 18:09:28 +02:00
parent ff4bc3c9f3
commit 32a95c06a7
8 changed files with 50 additions and 36 deletions
+3 -9
View File
@@ -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) {