{
  "schemaVersion": 1,
  "target": "react",
  "name": "activity-pill",
  "version": "0.1.0",
  "category": "ai-elements",
  "title": "Activity Pill",
  "description": "A compact black pill for a running agent task, showing a status glyph, a short status and a live clock, that springs open into a card with the steps and actions and springs back.",
  "tags": [
    "ai",
    "agent",
    "live activity",
    "dynamic island",
    "status",
    "progress",
    "approval",
    "motion"
  ],
  "requires": {
    "projectTypes": [
      "next",
      "vite-react"
    ],
    "styling": "tailwind-v4"
  },
  "npmDependencies": {
    "motion": "^14.14.0"
  },
  "registryDependencies": [
    {
      "name": "dot-loader",
      "version": "0.1.0"
    }
  ],
  "docsPath": "/components/activity-pill",
  "props": [
    {
      "name": "title",
      "type": "ReactNode",
      "description": "What the agent is doing. Heads the open card."
    },
    {
      "name": "status",
      "type": "\"queued\" | \"running\" | \"needs-approval\" | \"done\" | \"failed\"",
      "description": "The task state."
    },
    {
      "name": "summary",
      "type": "ReactNode",
      "default": "title while running, the status otherwise",
      "description": "Short text in the pill."
    },
    {
      "name": "statusText",
      "type": "ReactNode",
      "default": "a sentence for the status",
      "description": "One line under the title in the card."
    },
    {
      "name": "startedAt / endedAt",
      "type": "number | Date",
      "description": "Shows a live m:ss clock; endedAt freezes it."
    },
    {
      "name": "steps",
      "type": "{ id, label, status, meta? }[]",
      "description": "Steps listed in the card. Step status is pending, running, done or failed."
    },
    {
      "name": "detail",
      "type": "ReactNode",
      "description": "Extra content above the actions, such as the command waiting for approval."
    },
    {
      "name": "actions",
      "type": "{ label, onSelect?, variant?, collapse? }[]",
      "description": "Buttons at the foot of the card. Variant is primary, secondary or danger; they collapse the card unless collapse is false."
    },
    {
      "name": "open / defaultOpen / onOpenChange",
      "type": "boolean",
      "default": "false",
      "description": "Whether the card is open."
    },
    {
      "name": "align",
      "type": "\"start\" | \"center\" | \"end\"",
      "default": "\"center\"",
      "description": "Which edge the pill and card hang from."
    },
    {
      "name": "width",
      "type": "number",
      "default": "340",
      "description": "Width of the open card in pixels; never wider than the space available."
    }
  ],
  "accessibility": [
    "The pill is a button with aria-expanded and aria-controls; Enter or Space opens the card and moves focus to its header.",
    "The open card is a labelled region. Its header is a Collapse button; Escape or a press outside also closes it, and focus returns to the pill.",
    "The closed card is inert and the open pill is inert, so only the visible one is in the tab order.",
    "Status changes are announced through a polite live region; the clock is aria-hidden. Each step carries its status in text for screen readers.",
    "Under reduced motion the pill and card swap without the spring, the blur or any travel."
  ],
  "states": [
    "queued",
    "running",
    "needs-approval",
    "done",
    "failed",
    "open"
  ],
  "files": [
    {
      "path": "agent/activity-pill.tsx",
      "content": "\"use client\";\n\nimport { animate, motion, useMotionValue, useReducedMotion, useTransform } from \"motion/react\";\nimport {\n  type ComponentProps,\n  type ReactNode,\n  useCallback,\n  useEffect,\n  useId,\n  useLayoutEffect,\n  useRef,\n  useState,\n} from \"react\";\nimport { DotGrid } from \"./dot-loader\";\n\n/*\n * Activity pill: a compact black pill for one running agent task, like a live activity.\n * Pressing it springs open into a card with the steps and actions, and springs back.\n *\n * The morph is a clip: the card is laid out once at its open size and a spring drives the\n * `clip-path` from the pill's rectangle to the full card, so nothing reflows and text never\n * stretches. A second clipped layer one pixel larger draws the hairline. Contents cross-fade\n * with a short blur. Under reduced motion the pill and card swap without travel.\n */\n\nexport type ActivityStatus = \"queued\" | \"running\" | \"needs-approval\" | \"done\" | \"failed\";\nexport type ActivityStepStatus = \"pending\" | \"running\" | \"done\" | \"failed\";\n\nexport interface ActivityStep {\n  id: string;\n  label: ReactNode;\n  status: ActivityStepStatus;\n  /** Short trailing detail in mono, for example a duration or a file count. */\n  meta?: ReactNode;\n}\n\nexport interface ActivityAction {\n  label: string;\n  onSelect?: () => void;\n  /** `primary` is the white button; use it once. */\n  variant?: \"primary\" | \"secondary\" | \"danger\";\n  /** Collapses the card after the action runs. Defaults to true. */\n  collapse?: boolean;\n}\n\nexport interface ActivityPillProps extends Omit<ComponentProps<\"div\">, \"children\" | \"title\"> {\n  /** What the agent is doing, for example \"Refactoring the auth middleware\". */\n  title: ReactNode;\n  status: ActivityStatus;\n  /** Short text in the pill. Defaults to the title while running, and to the status otherwise. */\n  summary?: ReactNode;\n  /** One line under the title in the card. Defaults to a sentence for the status. */\n  statusText?: ReactNode;\n  /** When the task started, as epoch milliseconds or a Date. Shows a live clock. */\n  startedAt?: number | Date;\n  /** When the task ended. Freezes the clock. */\n  endedAt?: number | Date;\n  steps?: ActivityStep[];\n  /** Extra content in the card above the actions, such as the command waiting for approval. */\n  detail?: ReactNode;\n  actions?: ActivityAction[];\n  open?: boolean;\n  defaultOpen?: boolean;\n  onOpenChange?: (open: boolean) => void;\n  /** Which edge the pill and card hang from. */\n  align?: \"start\" | \"center\" | \"end\";\n  /** Width of the open card in pixels. It never exceeds the available width. */\n  width?: number;\n}\n\nfunction cx(...classes: (string | false | null | undefined)[]) {\n  return classes.filter(Boolean).join(\" \");\n}\n\nconst PILL_H = 36;\nconst RADIUS = 18;\n\nconst defaultSummary: Record<Exclude<ActivityStatus, \"running\">, string> = {\n  queued: \"Queued\",\n  \"needs-approval\": \"Needs approval\",\n  done: \"Done\",\n  failed: \"Failed\",\n};\n\nconst defaultStatusText: Record<ActivityStatus, string> = {\n  queued: \"Waiting to start\",\n  running: \"Working\",\n  \"needs-approval\": \"Waiting for your approval\",\n  done: \"Finished\",\n  failed: \"Stopped with an error\",\n};\n\nconst statusTone: Record<ActivityStatus, string> = {\n  queued: \"text-zinc-400\",\n  running: \"text-white\",\n  \"needs-approval\": \"text-amber-400\",\n  done: \"text-emerald-400\",\n  failed: \"text-red-400\",\n};\n\nfunction toMs(value: number | Date | undefined) {\n  return value instanceof Date ? value.getTime() : value;\n}\n\nfunction clock(ms: number) {\n  const s = Math.max(0, Math.floor(ms / 1000));\n  const h = Math.floor(s / 3600);\n  const m = Math.floor((s % 3600) / 60);\n  const sec = String(s % 60).padStart(2, \"0\");\n  return h ? `${h}:${String(m).padStart(2, \"0\")}:${sec}` : `${m}:${sec}`;\n}\n\n/** A clock that writes itself once a second, so the pill does not re-render while it ticks. */\nfunction Clock({ startedAt, endedAt, className }: { startedAt?: number; endedAt?: number; className?: string }) {\n  const ref = useRef<HTMLSpanElement>(null);\n  useEffect(() => {\n    const el = ref.current;\n    if (!el || startedAt == null) return;\n    const write = () => {\n      el.textContent = clock((endedAt ?? Date.now()) - startedAt);\n    };\n    write();\n    if (endedAt != null) return;\n    const id = setInterval(write, 1000);\n    return () => clearInterval(id);\n  }, [startedAt, endedAt]);\n  if (startedAt == null) return null;\n  return (\n    <span ref={ref} aria-hidden=\"true\" className={cx(\"font-mono text-xs tabular-nums\", className)}>\n      {clock((endedAt ?? startedAt) - startedAt)}\n    </span>\n  );\n}\n\n/** The status mark. Running, done and failed share one dot grid, so finishing gathers the dots into a check. */\nfunction StatusGlyph({ status }: { status: ActivityStatus }) {\n  const approval = status === \"needs-approval\";\n  const grid = status === \"running\" ? \"running\" : status === \"done\" ? \"done\" : status === \"failed\" ? \"failed\" : \"idle\";\n  return (\n    <span className={cx(\"relative grid size-4 shrink-0 place-items-center transition-colors duration-200 motion-reduce:transition-none\", statusTone[status])}>\n      <span\n        className={cx(\n          \"col-start-1 row-start-1 transition-[opacity,scale] duration-200 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none\",\n          approval ? \"scale-90 opacity-0\" : \"scale-100 opacity-100\",\n        )}\n      >\n        <DotGrid pattern=\"orbit\" grid={3} size={14} status={grid} tone=\"inherit\" />\n      </span>\n      <svg\n        aria-hidden=\"true\"\n        viewBox=\"0 0 16 16\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"1.5\"\n        strokeLinecap=\"round\"\n        className={cx(\n          \"col-start-1 row-start-1 size-4 transition-[opacity,scale] duration-200 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none\",\n          approval ? \"scale-100 opacity-100\" : \"scale-90 opacity-0\",\n        )}\n      >\n        <circle cx=\"8\" cy=\"8\" r=\"6.25\" />\n        <path d=\"M6.5 5.75v4.5M9.5 5.75v4.5\" />\n      </svg>\n    </span>\n  );\n}\n\nfunction StepGlyph({ status }: { status: ActivityStepStatus }) {\n  if (status === \"running\") return <DotGrid pattern=\"orbit\" grid={3} size={12} status=\"running\" tone=\"inherit\" className=\"text-white\" />;\n  return (\n    <svg aria-hidden=\"true\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" className={cx(\"size-3\", status === \"done\" ? \"text-emerald-400\" : status === \"failed\" ? \"text-red-400\" : \"text-white/30\")}>\n      {status === \"done\" ? <path d=\"m3.5 8.5 3 3 6-7\" /> : status === \"failed\" ? <path d=\"m4.5 4.5 7 7m0-7-7 7\" /> : <circle cx=\"8\" cy=\"8\" r=\"5.5\" strokeDasharray=\"2 2.4\" />}\n    </svg>\n  );\n}\n\nconst stepLabel: Record<ActivityStepStatus, string> = { pending: \"Pending\", running: \"In progress\", done: \"Done\", failed: \"Failed\" };\n\nconst actionClass: Record<NonNullable<ActivityAction[\"variant\"]>, string> = {\n  primary: \"bg-white text-black hover:bg-zinc-200\",\n  secondary: \"bg-white/[0.08] text-white hover:bg-white/[0.14]\",\n  danger: \"bg-white/[0.08] text-red-400 hover:bg-red-500/20 hover:text-red-300\",\n};\n\n/**\n * A black pill for a running agent task that springs open into a detail card with steps and\n * actions. Enter or Space opens it; Escape, the header, or a press outside closes it.\n */\nexport function ActivityPill({\n  title,\n  status,\n  summary,\n  statusText,\n  startedAt,\n  endedAt,\n  steps,\n  detail,\n  actions,\n  open: openProp,\n  defaultOpen = false,\n  onOpenChange,\n  align = \"center\",\n  width = 340,\n  className,\n  style,\n  ...props\n}: ActivityPillProps) {\n  const [uncontrolled, setUncontrolled] = useState(defaultOpen);\n  const open = openProp ?? uncontrolled;\n  const reduce = useReducedMotion();\n  const id = useId();\n  const panelId = `${id}-panel`;\n  const titleId = `${id}-title`;\n\n  const rootRef = useRef<HTMLDivElement>(null);\n  const shellRef = useRef<HTMLDivElement>(null);\n  const pillRef = useRef<HTMLButtonElement>(null);\n  const rowRef = useRef<HTMLSpanElement>(null);\n  const panelRef = useRef<HTMLDivElement>(null);\n  const headerRef = useRef<HTMLButtonElement>(null);\n\n  // Geometry, as motion values so the clip updates without re-rendering.\n  const progress = useMotionValue(open ? 1 : 0);\n  const pillW = useMotionValue(160);\n  const shellW = useMotionValue(width);\n  const shellH = useMotionValue(PILL_H);\n  const [measured, setMeasured] = useState(false);\n\n  const setOpen = useCallback(\n    (next: boolean) => {\n      if (openProp === undefined) setUncontrolled(next);\n      onOpenChange?.(next);\n    },\n    [openProp, onOpenChange],\n  );\n\n  // Measure the pill row, the shell width and the card height, and follow changes.\n  useLayoutEffect(() => {\n    const row = rowRef.current;\n    const shell = shellRef.current;\n    const panel = panelRef.current;\n    if (!row || !shell || !panel) return;\n    const first = { current: true };\n    const read = () => {\n      const w = Math.min(row.offsetWidth, shell.offsetWidth);\n      const sw = shell.offsetWidth;\n      const h = Math.max(PILL_H, panel.offsetHeight);\n      const spring = { type: \"spring\" as const, duration: 0.38, bounce: 0.12 };\n      if (first.current || reduce) {\n        pillW.set(w);\n        shellW.set(sw);\n        shellH.set(h);\n      } else {\n        // Width changes when the pill text changes; the card height when steps arrive.\n        void animate(pillW, w, spring);\n        shellW.set(sw);\n        void animate(shellH, h, spring);\n      }\n      first.current = false;\n      setMeasured(true);\n    };\n    read();\n    if (typeof ResizeObserver === \"undefined\") return;\n    const observer = new ResizeObserver(read);\n    observer.observe(row);\n    observer.observe(shell);\n    observer.observe(panel);\n    return () => observer.disconnect();\n  }, [pillW, shellW, shellH, reduce]);\n\n  // Spring the morph whenever open changes: about 380ms to settle with a slight overshoot opening,\n  // a little quicker closing.\n  useEffect(() => {\n    const target = open ? 1 : 0;\n    if (reduce) {\n      progress.set(target);\n      return;\n    }\n    const controls = animate(progress, target, open ? { type: \"spring\", duration: 0.4, bounce: 0.16 } : { type: \"spring\", duration: 0.34, bounce: 0.1 });\n    return () => controls.stop();\n  }, [open, reduce, progress]);\n\n  // Focus follows the morph: into the card on open, back to the pill on close.\n  const wasOpen = useRef(open);\n  useEffect(() => {\n    if (open && !wasOpen.current) headerRef.current?.focus({ preventScroll: true });\n    if (!open && wasOpen.current && shellRef.current?.contains(document.activeElement)) pillRef.current?.focus({ preventScroll: true });\n    wasOpen.current = open;\n  }, [open]);\n\n  // Press outside closes.\n  useEffect(() => {\n    if (!open) return;\n    const onDown = (event: PointerEvent) => {\n      if (!rootRef.current?.contains(event.target as Node)) setOpen(false);\n    };\n    document.addEventListener(\"pointerdown\", onDown);\n    return () => document.removeEventListener(\"pointerdown\", onDown);\n  }, [open, setOpen]);\n\n  const clipFor = (inset: number) => (values: number[]) => {\n    const [p = 0, w = 0, sw = 0, sh = 0] = values;\n    // Below 0 (the closing undershoot) the pill dips slightly smaller; above 1 is handled by scale.\n    const q = Math.min(1, p);\n    const spare = Math.max(0, sw - w);\n    const left = align === \"start\" ? 0 : align === \"end\" ? spare : spare / 2;\n    const right = spare - left;\n    const l = left * (1 - q) + inset;\n    const r = right * (1 - q) + inset;\n    const b = Math.max(0, sh - PILL_H) * (1 - q) + inset;\n    return `inset(${(inset).toFixed(2)}px ${r.toFixed(2)}px ${b.toFixed(2)}px ${l.toFixed(2)}px round ${RADIUS - inset}px)`;\n  };\n  const outerClip = useTransform([progress, pillW, shellW, shellH], clipFor(0));\n  const innerClip = useTransform([progress, pillW, shellW, shellH], clipFor(1));\n  const scale = useTransform(progress, (p) => (p > 1 ? 1 + (p - 1) * 0.35 : 1));\n  // Contents cross-fade around the middle of the morph.\n  const pillOpacity = useTransform(progress, [0, 0.35], [1, 0]);\n  const panelOpacity = useTransform(progress, [0.3, 0.85], [0, 1]);\n  const panelBlur = useTransform(progress, [0.3, 0.85], [\"blur(4px)\", \"blur(0px)\"]);\n  const panelY = useTransform(progress, [0.3, 1], [-6, 0]);\n\n  const pillText = summary ?? (status === \"running\" ? title : defaultSummary[status]);\n  const start = toMs(startedAt);\n  const end = toMs(endedAt);\n  const origin = align === \"start\" ? \"0% 0%\" : align === \"end\" ? \"100% 0%\" : \"50% 0%\";\n\n  return (\n    <div\n      ref={rootRef}\n      data-status={status}\n      data-open={open || undefined}\n      className={cx(\"relative flex h-9\", align === \"start\" ? \"justify-start\" : align === \"end\" ? \"justify-end\" : \"justify-center\", className)}\n      style={{ zIndex: open ? 30 : undefined, ...style }}\n      onKeyDown={(event) => {\n        if (event.key === \"Escape\" && open) {\n          event.stopPropagation();\n          setOpen(false);\n        }\n      }}\n      {...props}\n    >\n      {/* Status changes are announced; the clock is not. */}\n      <span role=\"status\" className=\"sr-only\">\n        {status === \"running\" ? null : <>{typeof title === \"string\" ? `${title}: ` : null}{defaultStatusText[status]}</>}\n      </span>\n\n      <div\n        ref={shellRef}\n        className={cx(\"pointer-events-none absolute top-0\", align === \"start\" ? \"left-0\" : align === \"end\" ? \"right-0\" : \"left-1/2 -translate-x-1/2\")}\n        style={{ width: `min(${width}px, 100%)`, minWidth: Math.min(width, 280) }}\n      >\n        <motion.div\n          className=\"relative [filter:drop-shadow(0_10px_20px_rgb(0_0_0/0.18))_drop-shadow(0_1px_2px_rgb(0_0_0/0.2))] dark:[filter:none]\"\n          style={{ scale, transformOrigin: origin, height: shellH, visibility: measured ? \"visible\" : \"hidden\" }}\n        >\n          <motion.div aria-hidden=\"true\" className=\"absolute inset-0 bg-zinc-950 dark:bg-white/[0.17]\" style={{ clipPath: outerClip }} />\n          <motion.div className=\"pointer-events-auto absolute inset-0 bg-zinc-950 text-white dark:bg-black\" style={{ clipPath: innerClip }}>\n            {/* The pill. */}\n            <motion.div\n              className={cx(\"absolute top-0 flex h-9\", align === \"start\" ? \"left-0\" : align === \"end\" ? \"right-0\" : \"inset-x-0 justify-center\")}\n              style={{ opacity: pillOpacity }}\n            >\n              <button\n                ref={pillRef}\n                type=\"button\"\n                aria-expanded={open}\n                aria-controls={panelId}\n                inert={open || undefined}\n                onClick={() => setOpen(true)}\n                className=\"group/pill h-9 max-w-full rounded-full outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:-outline-offset-2 focus-visible:outline-sky-400\"\n              >\n                <span ref={rowRef} className=\"inline-flex h-9 max-w-full items-center gap-2 pr-3.5 pl-2.5 transition-[background-color] duration-150 motion-reduce:transition-none\">\n                  <StatusGlyph status={status} />\n                  <span className=\"min-w-0 truncate text-[13px] font-medium\">{pillText}</span>\n                  <Clock startedAt={start} endedAt={end} className=\"text-white/55\" />\n                </span>\n              </button>\n            </motion.div>\n\n            {/* The card. */}\n            <motion.div\n              ref={panelRef}\n              id={panelId}\n              role=\"region\"\n              aria-labelledby={titleId}\n              inert={!open || undefined}\n              className=\"absolute inset-x-0 top-0\"\n              style={{ opacity: panelOpacity, filter: panelBlur, y: panelY }}\n            >\n              <button\n                ref={headerRef}\n                type=\"button\"\n                aria-label=\"Collapse\"\n                aria-expanded={open}\n                aria-controls={panelId}\n                onClick={() => setOpen(false)}\n                className=\"flex w-full items-start gap-3 rounded-t-[18px] px-4 pt-4 pb-3 text-left outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:-outline-offset-2 focus-visible:outline-sky-400\"\n              >\n                <span className=\"mt-0.5\">\n                  <StatusGlyph status={status} />\n                </span>\n                <span className=\"min-w-0 flex-1\">\n                  <span id={titleId} className=\"block text-sm leading-5 font-semibold\">\n                    {title}\n                  </span>\n                  <span className={cx(\"block text-xs leading-5\", status === \"running\" || status === \"queued\" ? \"text-white/60\" : statusTone[status])}>\n                    {statusText ?? defaultStatusText[status]}\n                  </span>\n                </span>\n                <Clock startedAt={start} endedAt={end} className=\"mt-0.5 text-white/55\" />\n              </button>\n\n              {steps?.length ? (\n                <ol className=\"mx-4 grid gap-0.5 border-t border-white/10 py-2.5\">\n                  {steps.map((step) => (\n                    <li key={step.id} className=\"flex items-center gap-2.5 py-1\">\n                      <span className=\"grid size-4 shrink-0 place-items-center\">\n                        <StepGlyph status={step.status} />\n                      </span>\n                      <span className={cx(\"min-w-0 flex-1 truncate text-[13px] leading-5\", step.status === \"pending\" ? \"text-white/40\" : step.status === \"running\" ? \"text-white\" : step.status === \"failed\" ? \"text-red-400\" : \"text-white/65\")}>\n                        {step.label}\n                        <span className=\"sr-only\">, {stepLabel[step.status]}</span>\n                      </span>\n                      {step.meta != null ? <span className=\"font-mono text-xs text-white/40 tabular-nums\">{step.meta}</span> : null}\n                    </li>\n                  ))}\n                </ol>\n              ) : null}\n\n              {detail != null ? <div className=\"mx-4 mb-3 text-[13px] leading-5 text-white/70\">{detail}</div> : null}\n\n              {actions?.length ? (\n                <div className=\"flex flex-wrap justify-end gap-2 border-t border-white/10 px-4 py-3\">\n                  {actions.map((action) => (\n                    <button\n                      key={action.label}\n                      type=\"button\"\n                      onClick={() => {\n                        action.onSelect?.();\n                        if (action.collapse !== false) setOpen(false);\n                      }}\n                      className={cx(\n                        \"inline-flex h-8 items-center rounded-full px-3.5 text-[13px] font-medium whitespace-nowrap select-none\",\n                        \"transition-[background-color,color,scale] duration-150 ease-out motion-safe:active:scale-[0.97] motion-reduce:transition-none\",\n                        \"outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-offset-2 focus-visible:outline-sky-400\",\n                        actionClass[action.variant ?? \"secondary\"],\n                      )}\n                    >\n                      {action.label}\n                    </button>\n                  ))}\n                </div>\n              ) : (\n                <div className=\"h-1\" />\n              )}\n            </motion.div>\n          </motion.div>\n        </motion.div>\n      </div>\n    </div>\n  );\n}\n"
    }
  ],
  "example": {
    "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { ActivityPill } from \"@/components/shaken/agent/activity-pill\";\n\nexport default function ActivityPillExample() {\n  // Fixed once on mount so the clock reads as a run that started a while ago.\n  const [startedAt] = useState(() => Date.now() - 84_000);\n\n  return (\n    <div className=\"grid min-h-80 w-full max-w-md content-start\">\n      <ActivityPill\n        title=\"Refactoring the auth middleware\"\n        summary=\"Refactoring auth\"\n        status=\"running\"\n        statusText=\"Step 3 of 5\"\n        startedAt={startedAt}\n        steps={[\n          { id: \"read\", label: \"Read 12 files in src/auth\", status: \"done\", meta: \"4s\" },\n          { id: \"plan\", label: \"Planned the session token change\", status: \"done\", meta: \"11s\" },\n          { id: \"edit\", label: \"Editing middleware.ts\", status: \"running\" },\n          { id: \"test\", label: \"Run the auth test suite\", status: \"pending\" },\n          { id: \"pr\", label: \"Open a pull request\", status: \"pending\" },\n        ]}\n        actions={[\n          { label: \"Stop\", variant: \"danger\" },\n          { label: \"Open run\", variant: \"primary\" },\n        ]}\n      />\n    </div>\n  );\n}\n"
  }
}
