import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { InteractiveSessionStatus } from '../../../../../../packages/core/src/domain/generated/output.js';
import { AgentStatusBadge } from './AgentStatusBadge.js';
const meta = {
    title: 'Features/Chat/AgentStatusBadge',
    component: AgentStatusBadge,
    tags: ['autodocs'],
    parameters: {
        layout: 'centered',
    },
};
export default meta;
/** Generic booting state — shown before a specific stage is known. */
export const Booting = {
    args: {
        status: InteractiveSessionStatus.booting,
    },
};
/** First boot stage: spawning the agent OS process. */
export const Spawning = {
    args: {
        status: 'spawning',
    },
};
/** Second boot stage: injecting feature context into the agent. */
export const LoadingContext = {
    args: {
        status: 'loading-context',
    },
};
/** Agent is ready and accepting messages. */
export const Ready = {
    args: {
        status: InteractiveSessionStatus.ready,
    },
};
/** Session was stopped manually or via auto-timeout. */
export const Stopped = {
    args: {
        status: InteractiveSessionStatus.stopped,
    },
};
/** Session encountered an error (e.g. process crashed). */
export const Error = {
    args: {
        status: InteractiveSessionStatus.error,
    },
};
/** All variants stacked for visual comparison. */
export const AllVariants = {
    render: () => (_jsxs("div", { className: "flex flex-col gap-3 p-4", children: [_jsx(AgentStatusBadge, { status: InteractiveSessionStatus.booting }), _jsx(AgentStatusBadge, { status: "spawning" }), _jsx(AgentStatusBadge, { status: "loading-context" }), _jsx(AgentStatusBadge, { status: InteractiveSessionStatus.ready }), _jsx(AgentStatusBadge, { status: InteractiveSessionStatus.stopped }), _jsx(AgentStatusBadge, { status: InteractiveSessionStatus.error })] })),
};
