Remove run node UI and expire registrations
This commit is contained in:
@@ -12,7 +12,7 @@ All first-party pages inherit the platform_web game-operations style with black-
|
||||
|
||||
## 平台概览(原首页)
|
||||
|
||||
Platform-administrator-only first screen. Shows online/offline server counts, abnormal instance count, run endpoint health, game type distribution, CPU/memory/disk load, LLM provider connectivity, and recent operational signals (faults, failed jobs, provider errors) that link to the relevant server, plugin, or AI provider context. Each module loads independently with scoped loading/empty/error states.
|
||||
Platform-administrator-only first screen. Shows online/offline server counts, abnormal instance count, game type distribution, CPU/memory/disk load, LLM provider connectivity, and recent operational signals (faults, failed jobs, provider errors) that link to the relevant server, plugin, or AI provider context. Each module loads independently with scoped loading/empty/error states.
|
||||
|
||||
## 服务器管理
|
||||
|
||||
@@ -39,4 +39,4 @@ Shows configured model providers, base URL, model list, relay mode, status, and
|
||||
|
||||
## 系统维护
|
||||
|
||||
Shows run endpoint health/capacity and operational events. Platform administrators only.
|
||||
Shows failed servers, failed tasks, retry actions, and links into the relevant server/detail log context. Platform administrators only.
|
||||
|
||||
@@ -56,7 +56,7 @@ export type RuntimeObservationFreshness = "fresh" | "unverified";
|
||||
export function runtimeObservationFreshness(instance: ServerInstanceResponse, endpoint: RunEndpointResponse | undefined, now = Date.now()): RuntimeObservationFreshness {
|
||||
if (!endpoint || endpoint.status !== "online") return "unverified";
|
||||
const heartbeat = Date.parse(endpoint.lastHeartbeatAt);
|
||||
return Number.isFinite(heartbeat) && now-heartbeat <= 45_000 ? "fresh" : "unverified";
|
||||
return Number.isFinite(heartbeat) && now-heartbeat <= 30_000 ? "fresh" : "unverified";
|
||||
}
|
||||
|
||||
export const emptyServerCreateForm: ServerCreateFormState = {
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { PluginCatalogItem, ServerInstanceView, ShellSummaryItem, UserAcces
|
||||
|
||||
export const shellSummary: ShellSummaryItem[] = [
|
||||
{ label: "服务器实例", value: "2", detail: "1 个运行中,1 个待配置", tone: "success" },
|
||||
{ label: "运行节点", value: "1", detail: "本地执行器在线", tone: "success" },
|
||||
{ label: "运行通道", value: "1", detail: "Run 心跳已接入", tone: "success" },
|
||||
{ label: "插件", value: "2", detail: "桥接能力已就绪", tone: "success" },
|
||||
{ label: "访问审核", value: "1", detail: "待确认角色变更", tone: "warning" }
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user