Claude Deck Core
Shared library powering both the CLI and the desktop app.
What's inside
| Module | Description |
|---|---|
tmux |
Session lifecycle (create, attach, kill, rename, list), pane capture, command execution |
claude |
Claude Code detection, hooks management, launcher |
model |
Session model, status detection, persistence |
config |
Config file parsing (workspaces, tags, quick actions, settings) |
cost |
Session cost tracking |
ansi |
ANSI escape code stripping for pane output |
duration |
Human-readable duration formatting |
Usage
[]
= "0.1"
use tmux;
use session;
let sessions = list_sessions;