feat: machine and instance storage

This commit is contained in:
Cristina Poncela Cubeiro
2026-06-18 13:09:48 +02:00
parent 92e28e9c51
commit 5f60fc01d7
4 changed files with 85 additions and 1 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
import type { InstanceStatus } from "../types.ts";
export interface SpawnRequest {
type: "spawn";
cwd: string;
@@ -31,7 +33,7 @@ export type OrchestratorRequest = RequestMap[keyof RequestMap];
export interface InstanceSummary {
id: string;
status: "starting" | "online" | "stopping" | "stopped" | "error";
status: InstanceStatus;
cwd: string;
label?: string;
sessionId?: string;