{
  "id": 16269867,
  "title": "Which Session Is Waiting for Me? Claude Code Hooks on a Stream Deck",
  "url": "https://urgent.news/2026/10/24/which-session-is-waiting-for-me-claude-code-hooks-on-a-stream-deck",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-24T03:14:24.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/altair_alter/which-session-is-waiting-for-me-claude-code-hooks-on-a-stream-deck-3moo"
  },
  "original_language": "en",
  "account": "Claude Code users often run multiple sessions simultaneously, such as documents, fixes, and research. However, on busy days, a single session asking for permission can get lost among other windows. A script tracks each session's state, such as working, waiting for permission, done, or idle, and writes it to a JSON file. A Stream Deck plugin reads these files every second and colors the keys accordingly.\n\nThe issue surfaced when a completed session's key remained blue, indicating it was still waiting for permission. The problem occurred because the plugin read the temp file at the moment it was being renamed, causing a permission error. To fix this, the script retries renaming the file several times with a short wait between attempts.\n\nAdditionally, the setup faced another challenge when a session with a cleared command continued under a new ID, resulting in two keys with the same name. The hook now removes the old record when a session starts from a clear and maintains an old-ID to new-ID mapping for the plugin.\n\nTo make the setup more engaging, the author added a pixel-art chick named Aqui to the keys. Aqui displays different actions based on the session's state, such as passing a ball when the session is working, holding up a question mark when waiting for permission, showing a bang when the session is done, and closing her eyes with a zig-zag when idle.\n\nThe solution, which could be implemented with any colored corner of the screen or sound, significantly reduced the time wasted waiting for permission. This personal project by a Claude Code fan has garnered over 20 YouTube Shorts and a YouTube playlist featuring the chick riding a pixel-art WRX S4 through various seasons.",
  "summary": "I usually have several Claude Code sessions running side by side — a document here, a small fix there, some research. On a busy day, around five. Delegating the work wasn't the problem. Noticing was: A session asking \"may I run this?\" gets buried behind other windows. A session finishes, and I don't notice for a while. I keep switching windows just to check. The AI wasn't the slow part. The time…",
  "key_points": [
    "Claude Code users run multiple sessions simultaneously.",
    "Script tracks session state and writes to JSON file.",
    "Stream Deck plugin colors keys based on session state."
  ],
  "editors_take": "Integrating hardware-based status indicators into the development workflow transforms passive monitoring into an active feedback loop that minimizes the cognitive load of managing multiple simultaneous coding sessions.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}