Skip to main content

TUI dashboard for managing multiple Claude Code sessions via tmux

Project description

🖥️ Claude Code Terminal (CCT)

PyPI Python License: MIT

TUI dashboard for managing multiple Claude Code sessions via tmux.

✨ Features

  • 🔐 In-dashboard permission handling — Approve/deny permission requests directly from the dashboard, no need to attach to tmux
  • ⌨️ Vim-style modal operation — Normal mode for session management, Interactive mode for direct Claude Code interaction
  • 🔄 4-state detection — Real-time identification of Working / Idle / Waiting / Stopped states
  • 🖼️ Live preview — Capture pane output with full ANSI color rendering
  • 🎯 WAITING auto-focus — Automatically switches to sessions awaiting permission, with FIFO queue processing
  • 🤖 Auto Pilot — Per-session toggle to auto-approve permission requests
  • 🔔 macOS notifications — Push notifications for permission requests and task completion
  • 🧩 Plugin architecture — Extensible to support Codex, Aider, and other AI coding tools

📦 Installation

Quick Install (recommended)

curl -fsSL https://raw.githubusercontent.com/phinease/claude-code-terminal/main/install.sh | sh

Via pipx

pipx install claude-code-terminal

Via pip

pip install claude-code-terminal

Prerequisites

  • Python >= 3.11
  • tmux (brew install tmux / apt install tmux)

🚀 Usage

cct

⌨️ Keybindings

Normal Mode

Key Action
/ Navigate sessions
n New session
r Rename session
i Enter Interactive mode
a / d Approve / Deny permission request
1-9 Select numbered permission option
p Toggle Auto Pilot
c Select mode (text copy)
Ctrl+\ Toggle session panel
Ctrl+x Delete session
q Quit

Interactive Mode

All keystrokes pass through directly to Claude Code.

Key Action
Ctrl-] Exit to Normal mode
Ctrl+\ Toggle session panel
Shift+Enter Newline (kitty protocol terminals)
Alt+Enter Newline (legacy terminals)
Mouse click on session list Switch session

🖼️ Interface

+----------------------------------------------------------------+
| Vibe · Agent Dashboard                                         |
+----------------------------------------------------------------+
| Sessions           | Preview: frontend-refactor (claude)        |
|--------------------|---------------------------------------------|
| * frontend-refactor| > Analyzing src/components/Header.tsx...    |
|   proj/frontend    |                                             |
| * api-fix          |   I'll update the Header component to       |
|   proj/backend     |   use the new theme variables.              |
| ! test-fix         |---------------------------------------------|
|   proj/tests       | ! Permission: execute `npm test`            |
| o data-migration   |   [a:Allow] [d:Deny]                        |
|   proj/migration   |                                             |
+--------------------+---------------------------------------------+
| NORMAL — i:Interactive  n:New  a/d:Allow/Deny  p:Pilot         |
+----------------------------------------------------------------+

Status icons: * Working  ! Waiting  o Idle  x Stopped

🗺️ Roadmap

Version Goal
v0.1 (current) MVP — Session management, preview, permission handling, Vim modal, notifications
v0.2 Multi-tool support (Codex/Aider), session groups, fuzzy search
v0.3 Web version (textual-web), diff view, Docker isolation

📄 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_code_terminal-0.1.0.tar.gz (115.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_code_terminal-0.1.0-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_terminal-0.1.0.tar.gz.

File metadata

  • Download URL: claude_code_terminal-0.1.0.tar.gz
  • Upload date:
  • Size: 115.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_code_terminal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d6fcda2dcd16b46234b0da6fd8be09f7d83e89eb7f944c7b8d8574a4b845eee6
MD5 192cf45d8e45e41f8c7d0fee854976ed
BLAKE2b-256 fd0f3757fcd4317fe8bdded21524e8639f68867b6e3c1826e0157f8a9a75f6d4

See more details on using hashes here.

File details

Details for the file claude_code_terminal-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: claude_code_terminal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_code_terminal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4ef0d56117199b59007a094f45d9718b7c8a1786338eed3b8303d54cba28cb2
MD5 ede08a13262639a827597e60bbaba577
BLAKE2b-256 a699d188b7ec21c839228dd521c301440e7596f40205fed7d243a2673910826e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page