feat: auto-deploy guided servers on run registration

This commit is contained in:
npc0-hue
2026-07-28 16:57:09 +08:00
parent e2d0bc0595
commit 7f64765c1c
15 changed files with 191 additions and 55 deletions
@@ -115,10 +115,6 @@ export function canStopServer(state: ServerInstanceState): boolean {
return state === "running";
}
export function canDeployServer(state: ServerInstanceState): boolean {
return state === "draft" || state === "failed";
}
export function isPendingJobState(state: JobResponse["state"]): boolean {
return state === "queued" || state === "accepted" || state === "running" || state === "retrying";
}