feat: DevDesk v0.1.0, a persistent browser terminal for Claude Code
ttyd serves a single-file xterm.js UI styled with the LotusGuild TDS (web_template base.css). Sessions live in a dedicated tmux server unit (devdesk-tmux.service), so restarting or upgrading the web unit never stops Claude. Each named session maps to a project directory. A Claude SessionStart hook records the conversation ID, so after a reboot the session resumes that exact conversation. - bin/devdesk: attach / new / ls / end / pick, with an fzf picker - ttyd requires a credential that NPM injects; origin check enabled - debian/: dh 13 with --no-stop-on-upgrade for the tmux unit, bundled sha256-verified ttyd 1.7.7, lintian overrides, man page - CI: lint, test, build, smoke-test, artifact; v* tags publish to the Gitea apt registry and create a release Refs: tinker ticket 887531976 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# DevDesk tmux configuration, loaded by devdesk-tmux.service.
|
||||
# Local overrides: /etc/devdesk/tmux.local.conf (sourced last).
|
||||
|
||||
# --- terminal behaviour -------------------------------------------------------
|
||||
set -s escape-time 10 # Esc reaches Claude (interrupt) immediately
|
||||
set -s focus-events on
|
||||
set -s set-clipboard on # tmux copy-mode -> OSC 52 -> browser clipboard
|
||||
set -s default-terminal "tmux-256color"
|
||||
set -as terminal-features ",xterm-256color:RGB"
|
||||
set -g history-limit 50000
|
||||
set -g mouse on # wheel scrolls history; Shift+drag selects natively
|
||||
set -g allow-passthrough on
|
||||
set -g renumber-windows on
|
||||
|
||||
# --- bells reach the browser (Claude's terminal_bell notifications) ----------
|
||||
set -g bell-action any
|
||||
set -g visual-bell off
|
||||
set -g monitor-bell on
|
||||
|
||||
# --- titles: the web UI parses "devdesk:<session>|<pane title>" ---------------
|
||||
set -g set-titles on
|
||||
set -g set-titles-string "devdesk:#S|#T"
|
||||
|
||||
# --- every new session gets a spare shell next to Claude ---------------------
|
||||
set-hook -g session-created "new-window -d -n shell"
|
||||
|
||||
# --- LotusGuild TDS colours ---------------------------------------------------
|
||||
set -g status-position bottom
|
||||
set -g status-style "bg=#060c14,fg=#7fa3bf"
|
||||
set -g status-left "#[fg=#FF6B00,bold] #S #[fg=#3e607a,nobold]│ "
|
||||
set -g status-left-length 40
|
||||
set -g status-right "#[fg=#3e607a]devdesk #[fg=#00D4FF]%H:%M "
|
||||
set -g window-status-format " #I:#W "
|
||||
set -g window-status-current-format "#[fg=#030508,bg=#00D4FF,bold] #I:#W "
|
||||
set -g window-status-bell-style "fg=#FFB300,bold"
|
||||
set -g message-style "bg=#0d1520,fg=#00D4FF"
|
||||
set -g mode-style "bg=#00D4FF,fg=#030508"
|
||||
set -g pane-border-style "fg=#0d1520"
|
||||
set -g pane-active-border-style "fg=#00D4FF"
|
||||
|
||||
source-file -q /etc/devdesk/tmux.local.conf
|
||||
Reference in New Issue
Block a user