Switchboard's smoke test mod: a band, a pane, a status and a toast

<img src="apps/desktop/build/icon.png" alt="Switchboard app icon" width="128" height="128">
<h1 align="center">Switchboard</h1>
<a href="https://github.com/estruyf/switchboard/releases/latest"><b>Download for Mac, Windows or Linux</b></a> · <a href="https://switchboard.struyfconsulting.com/">Docs</a> · <code>brew install --cask estruyf/tap/switchboard</code>
<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fswitchboard"><img src="https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fswitchboard&labelColor=%2315181f&countColor=%23ffd43b" alt="Visitors"></a>
Switchboard puts all your Claude Code sessions in one window: the ones you start in the app, and the ones running in your terminal. Start new sessions, see at a glance which ones are working or waiting for you, approve permissions, and pick up any past conversation where you left off.
It uses the Claude Code you already have installed, with your login, settings, commands and skills. Nothing extra to sign in to. Use more than one Claude account, like a personal plan and a work one? Add each as a profile and see all their sessions in the same list.
<img src="docs/screenshots/session-light.png" alt="Switchboard with a finished session open: the session list on the left, its rails coloured by Claude profile (personal in yellow, work in blue), the conversation in the middle and its git changes on the right">
Watch the one-minute tour:
<a href="docs/videos/promo-720p.mp4"><img src="docs/videos/promo.gif" alt="A one-minute tour of Switchboard: Home, Claude profiles, a project's page and worktrees, the VS Code companion, split view, Changes, the command palette and search" width="720"></a>
Keep track of every session
Work with Claude
claude --worktree./ commands (your own commands and skills included), @ file mentions, and images you paste, drop or attach. Drag files anywhere over a session and the message box shows what a drop does: images are attached, other files and folders are added as context.@ list, or choose several at once with Add context (⌘⇧A, or the paperclip). Remove one with its ×. Files go to Claude as references it reads itself, so a large file stays small. With the VS Code companion you can send the lines you have selected in VS Code, problems and terminal output too.# in the message box to attach one of the project's open issues or pull requests as a chip. When the message goes to Claude, it gets the title, link, labels and text, and for a pull request its branch and unresolved review comments, marked as context to read, not instructions. Press ⌥↩ on one in the list (or run New session from issue… or New session from pull request… in the command palette, or open a link) to open New session with a worktree named after it and the prompt filled in; nothing runs until you press Start. Switchboard only reads from GitHub. This needs the GitHub CLI, signed in once with gh auth login; without it you can still paste a link to an issue. See GitHub issues and pull requests./btw and a question asks there too./context, and to compact the conversation.Stay on top of things
.switchboard.json. See Saved prompts.Review and finish the work
main. Stage, unstage or revert files, and open any diff inline. Reverted new files go to the Trash.git switch: uncommitted changes that don't conflict come along, and when they would be overwritten git refuses and you stay where you are. Nothing is ever stashed or thrown away. It waits while Claude is working in this folder, and asks first when other sessions work in the same folder.gh), without a browser. Once there is a pull request, View PR #123 shows whether its checks passed, failed or are still running, the menu lists them, and a notification says when they finish. Fix failing checks with Claude puts a prompt in the message box with the end of each failed job's log. Pull and commit wait while Claude is working in the folder.Everything in one place
switchboard://new-session?project=payments&prompt=… (or cwd=/path, or repo=owner/name) opens New session with the project and prompt filled in, and switchboard://session/<id> opens a session. Put them in runbooks, alerts, READMEs or Raycast and Alfred scripts. By default you read the prompt and press Enter; add autostart=1 to start right away, or question=1 for a quick question without a project. See Links.<table> <tr> <td width="50%"><picture> <img src="docs/screenshots/home-light.png" alt="Home: a session that needs you, one that is working, your projects, and your two Claude profiles"> <td width="50%"><picture> <img src="docs/screenshots/new-session-light.png" alt="New session: pick a project, a branch or a worktree, and write the first prompt"> </tr> <tr> <td width="50%"><picture> <img src="docs/screenshots/split-light.png" alt="Two sessions side by side, one finished on the personal profile and one still working on the work profile"> <td width="50%"><picture> <img src="docs/screenshots/search-light.png" alt="Search across every conversation, with the matching words highlighted"> </tr> <tr> <td colspan="2" align="center"><picture> <img src="docs/screenshots/palette-light.png" width="70%" alt="The command palette on New session: recent projects with their branch, status and a ⌘1 to ⌘4 shortcut each"> </tr> </table>
claude works in your terminal)What works differently on Windows is in Windows support, and on Linux in Switchboard on Linux.
Download the .dmg from the latest release, open it and drag Switchboard to Applications.
On Windows, download Switchboard-<version>-setup.exe from the same release and run it. It installs for you only, without admin rights, and updates itself.
On Linux, download the .deb (Debian, Ubuntu), the .rpm (Fedora, RHEL, openSUSE) or the AppImage (any distribution) from the same release, for x64 or Arm64:
sudo apt install ./Switchboard-<version>-amd64.deb # or
sudo dnf install ./Switchboard-<version>-x86_64.rpm # or
chmod +x Switchboard-<version>-x86_64.AppImage && ./Switchboard-<version>-x86_64.AppImage
All three update themselves: the AppImage in place, the .deb and .rpm through your package manager.
Or install it with Homebrew:
brew install --cask estruyf/tap/switchboard
Switchboard updates itself, so brew upgrade skips it; brew upgrade --cask estruyf/tap/switchboard updates it through Homebrew instead.
Or build it from this repository, which takes a couple of minutes. You need Node 24 or later.
npm install
npm run dist
Then open apps/desktop/dist/Switchboard-<version>-arm64.dmg and drag Switchboard to Applications. On Windows the build makes the installer, and on Linux the AppImage, .deb and .rpm (the .rpm needs rpmbuild).
If macOS blocks the app the first time you open it, see Building, signing and notarisation.
Switchboard checks for a new release shortly after it opens and every few hours. When there is one, a message in the bottom right corner of the window says so: click Download (What's new shows the release notes), then Restart to update. Close it to decide later; it comes back for the next step or the next time you open Switchboard. If sessions are running, Switchboard asks before it restarts. You can also choose Switchboard → Check for Updates… at any time.
In Settings → About you can turn automatic checks off and pick a channel: Stable (published releases, the default) or Beta (beta versions to test what comes next, and the published releases). Nothing downloads until you click. Builds you make yourself with npm run dist update like a release; development builds don't update.
Switchboard also checks whether the Claude Code it runs is up to date: shortly after it opens, every few hours, and when you choose Check for Updates under Claude Code in Settings → About (or Check for Claude Code updates… in the command palette). It compares your version with the newest on the channel you follow: the autoUpdatesChannel in your Claude Code settings (latest or stable), or, for Homebrew, the cask you installed (claude-code is stable, claude-code@latest is latest).
When a newer version is out, the bottom of the sidebar says so. Click it to update, or dismiss it until the next version. Switchboard runs the update for how you installed Claude Code (claude update for the native installer, brew upgrade --cask … for Homebrew, npm install -g … for npm) and shows its output in Settings → About. New sessions use the new version straight away; sessions already running keep theirs until they restart. If Switchboard can't tell how Claude Code was installed, it shows the command to run in a terminal instead, with a copy button.
To stop the checks, turn off Check for Claude Code updates automatically in Settings → About. If you turned off Claude Code's own updater (DISABLE_AUTOUPDATER), Settings still shows a newer version, but the sidebar doesn't.
Press ⌘/ (or Help › Keyboard Shortcuts) to see every shortcut in the app, with the ones that work where you are and your project actions' shortcuts. Type in its field to filter by name or by keys ("terminal", "⌘J").
On Windows and Linux, ⌘ is Ctrl, ⌥ is Alt and ⇧ is Shift, and the app shows them that way. In the terminal panel, Ctrl keys belong to the shell and Ctrl+Shift keys to Switchboard.
<img src="docs/screenshots/shortcuts-light.png" width="80%" alt="The keyboard shortcuts sheet over a session: every shortcut grouped by where it works, with its keys on the right and the ones that don't work there faded">
<!-- shortcuts:start (written by npm run docs:shortcuts from apps/ui/src/lib/shortcuts.ts; edit the registry, not this table) -->
General
| Shortcut | What it does |
|---|---|
| ⌘N | New session |
| ⌘⇧N | Quick question (no p
hooks/register.tsx 54 lines1import { atom, read, update } from 'claude-code'
2import type { Register } from 'claude-code'
3
4// Switchboard's smoke run starts a session with this folder in CLAUDE_CODE_PLUGIN_DIRS and checks each surface:
5// the band above the message box, the pane, the status chip, a toast, and that a press reaches the mod.
6
7const PANE = 'smoke-pane'
8const presses = atom({ plugin: 'smoke-mod', key: 'presses' } as const, 0)
9
10export const register: Register = on => {
11 on('session.start', async ($, e, next) => {
12 // A command answered here, without the model: the smoke run starts its session with it, so it costs nothing.
13 await $.command.register({ name: 'smoke-ping', description: 'Answers pong, without the model' })
14 $.ui.status('ready')
15 void $.ui.open({ id: PANE, title: 'Smoke pane' })
16
17 return next(e)
18 })
19
20 on('command.run', { command: 'smoke-ping' }, async () => ({ text: 'pong' }))
21
22 on('ui.render', { component: 'AbovePrompt' }, async ($, e) => {
23 const { Box, Button, Text } = $.ui.resolve(e)
24 const count = await read($, presses)
25
26 return (
27 <Box gap={1} alignItems="center">
28 <Text color="yellow">Smoke band: pressed {count}</Text>
29 <Button
30 key="press"
31 label="Press"
32 onPress={async () => {
33 const next = (await read($, presses)) + 1
34 await update($, presses, () => next)
35 $.ui.status(`pressed ${next}`)
36 $.ui.toast('Smoke toast')
37 }}
38 />
39 </Box>
40 )
41 })
42
43 on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
44 const { Box, Text } = $.ui.resolve(e)
45
46 return (
47 <Box flexDirection="column">
48 <Text bold>Smoke pane</Text>
49 <Text dimColor>Drawn by smoke-mod.</Text>
50 </Box>
51 )
52 })
53}
54types/index.d.ts 8 lines1export type Presses = number
2
3declare module 'claude-code' {
4 interface PluginState {
5 'smoke-mod': { presses: Presses }
6 }
7}
8