adrianleb/dsh-tmux-cc0

dsh-tmux-cc

A persistent tmux control-mode cockpit for DeepSeek Harness Web.

AI Analysis

在DSH Web端集成tmux控制台,支持会话切换、窗口管理及快捷键操作。适合习惯在终端使用tmux、希望在Web界面直接控制终端会话的开发者。

Package
dsh-tmux-cc
Version
0.4.1
License
MIT
Last updated
Aug 25, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:adrianleb/dsh-tmux-cc

Usage

  1. Open the tmux dock.
  2. Choose a live tmux session from the dropdown. The plug button detaches or reattaches.
  3. Click a pane to focus it and type normally.
  4. With focus inside a pane, use Ctrl+B followed by arrows, x, z, ", or % for common tmux actions.
  5. Drag the dock edge or pane sashes to resize; use the tabs to switch tmux windows.

The plugin refuses to kill the final pane in a session.

Configuration

Add options to the plugin entry in your DSH Web profile:

- id: tmux-cc
  name: dsh-tmux-cc
  config:
    # Optional. Defaults to $DSH_TMUX_BIN, then `tmux` from PATH.
    tmuxBin: /usr/local/bin/tmux

    # Optional named session recipes.
    layouts:
      - id: project
        label: Project cockpit
        session: project
        launch: /home/me/.local/bin/start-project-tmux
        launchArgs: ["--ensure-only"]

When a recipe's session does not exist, selecting it runs launch with launchArgs and then attaches. If launchArgs is omitted, it defaults to ["--ensure-only"]. Launcher configuration is trusted administrator input and runs with the DSH operating-system user's privileges. Host executable paths are never sent to the browser.