adrianleb/dsh-tmux-cc0

dsh-tmux-cc

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

包名
dsh-tmux-cc
版本
0.4.1
许可证
MIT
最近更新
2026年8月25日

安装

$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.