dsh-wsl-tmux: Read-only viewing of tmux sessions and pane output in WSL

Introduction

In the DeepSeek Harness (DSH) plugin ecosystem, client plugins serve to extend core capabilities. When you need to inspect tmux session states or real-time output within a WSL environment, direct interaction is often limited. The dsh-wsl-tmux plugin provides a read-only access solution.

What Is It

This is a client plugin maintained by 173787247, focused on read-only inspection of tmux sessions and pane output within WSL.

Core Features

The plugin provides three core functions:
* tmux_status: Check whether tmux or screen is available.
* tmux_list: List currently existing tmux sessions.
* tmux_capture: Capture the output content of a specified pane.

Installation and Activation

Use the official installation command to add the plugin:

dsh plugin --profile web add github:173787247/dsh-wsl-tmux

Typical Usage

When using the plugin, it is recommended to configure the following parameters to ensure security and stability:
* Configure timeoutMs to prevent blocking on timeout.
* Set the plugin not to send keystrokes, avoiding interference with terminal operations.
* Ensure sessions are not killed, maintaining consistent environment state.
* If using dsh-wsl-kit, you can execute the batch linking script: bash dsh-wsl-kit/scripts/link-linux-plugins.sh.

Use Cases and Notes

  • Use Cases: Developers who need to monitor or record tmux session state within WSL.
  • Dependencies: Requires dsh version >= 0.1.2.
  • License: MIT.
  • Notes: dsh-wsl-kit is an optional component and is not included in install.sh by default, unless KIT_SET=daily is set.

Summary

This plugin addresses the pain point of inspecting WSL tmux status within the DSH environment through read-only access. For more information, refer to the plugin catalog or the source repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye