AI Deck
A local-only Stream Deck plugin that surfaces the status of your active
coding-agent sessions (Gentle Shell, Codex, Claude) as color-coded keys on
the physical device.
- Local per Mac. No cloud relay, no cross-machine sync, no telemetry.
- Content-free events. Only status metadata and target identifiers
cross the loopback boundary — never prompts, transcripts, tool output,
commands, files, or secrets.
- Privacy-safe by construction. The event parser enforces a strict
allowlist; unknown or prohibited fields are rejected before the
reducer runs.
Requirements
- macOS 12 or later with the Stream Deck
app 7.1 or later.
- Ghostty terminal.
tmux with your coding-agent sessions running inside it.
- A physical Stream Deck (5+ keys). The plugin uses row 0, columns 0–4.
Source builds and development also require Node.js 24.x and the
streamdeck CLI provided by the repository's pinned dependencies.
The SDK stays pinned to 2.1.0. Its utilities already use zod/v4-mini; a scoped
npm override pins Zod 4.6.6 to address GHSA-mrhx-c7xc-m3w5
without downgrading the SDK. npm ci reproduces the patched lockfile; SDK loading
and valid/invalid RPC validation are covered by a compatibility regression test.
Install
Upgrade from a previous identity
AI Deck uses the single Stream Deck identity roger6vi.ai-deck. Two earlier
builds shipped under different identities: com.gentleman.ai-deck
(pre-release) and io.github.roger6vi.ai-deck (v0.1.0). Keep only one AI Deck
plugin installed, and migrate any profile you want to keep before installing.
-
In Stream Deck, export the profiles you want to keep (for example
Local Agent Status.streamDeckProfile).
-
Back up those exported archives; migration never edits the input file.
-
Migrate each export to the current identity:
npm run migrate:profile -- \
--input "$HOME/Desktop/Local Agent Status.streamDeckProfile" \
--output "$HOME/Desktop/Local Agent Status.migrated.streamDeckProfile"
-
Uninstall the old plugin identity shown in Stream Deck, for example:
npm exec -- streamdeck unlink --delete io.github.roger6vi.ai-deck
npm exec -- streamdeck unlink --delete com.gentleman.ai-deck
-
Install the new roger6vi.ai-deck.streamDeckPlugin archive and import the
migrated profiles in the Stream Deck app.
What the migration does and does not do:
- It reads one explicit
--input export and writes one new --output archive.
It refuses the same path, an existing output, and any non-.streamDeckProfile
argument, and it validates the whole input before writing.
- It rewrites only action UUID fields inside the profile's action containers
(
Controllers[].Actions and recognized multi-action routine lists), together
with the Plugin.UUID metadata attached to those genuine actions. Action
instance IDs, Plugin.Name, Plugin.Version, Resources, unrelated
settings, titles, and assets are preserved; settings values that merely look
like an identity are never rewritten.
- Only the root and per-page profile
manifest.json files are parsed, and every
other entry keeps its exact bytes (including an assets/manifest.json).
Numeric tokens such as large integers, -0, and exponent spelling survive
unchanged; they are never rounded through JavaScript numbers.
- It never imports a profile, never installs or uninstalls the plugin, and never
touches Stream Deck's application-support directory.
- Runtime slot state belongs to the old plugin identity and is not migrated automatically; it is recreated as new agent events arrive.
Published release
For a published release, open the matching version on the
GitHub Releases page, download
roger6vi.ai-deck.streamDeckPlugin, open it, and approve installation in
the Stream Deck app. The published v0.1.0 release predates this identity and
still ships io.github.roger6vi.ai-deck.streamDeckPlugin; export, migrate, and
back up your profiles before replacing it.
To build the same installer from source instead:
npm install
npm run pack
npm run pack creates dist/roger6vi.ai-deck.streamDeckPlugin; it does
not install the plugin. Open that file and approve it in the Stream Deck app.
OpenCode is no longer supported: the plugin rejects opencode events and no
OpenCode adapter or installer ships. An ai-deck.js left in
~/.config/opencode/plugins by an older release is inert for ai-deck and can
be removed by hand; this repository never touches it.
For development, link the built .sdPlugin directory instead of installing
the packaged artifact:
npm install
npm run build
npm exec -- streamdeck link roger6vi.ai-deck.sdPlugin
npm run restart:plugin