@runloop/agent-axon-client
    Preparing search index...

    Type Alias DevboxLifecycleEvent

    DevboxLifecycleEvent:
        | { devboxId: string; kind: "running"; type: "devbox.lifecycle" }
        | { devboxId: string; kind: "suspended"; type: "devbox.lifecycle" }
        | { devboxId: string; kind: "shutdown"; type: "devbox.lifecycle" }
        | {
            devboxId: string;
            kind: "failed";
            reason?: string;
            type: "devbox.lifecycle";
        }

    Devbox lifecycle event. Discriminate on kind to narrow:

    • running — devbox is running
    • suspended — devbox is suspended / suspending
    • shutdown — devbox reached shutdown state
    • failed — devbox failed / not found / deadline exceeded (reason is set)