Passer au contenu principal
1

dsh-wsl-clipboard

173787247/dsh-wsl-clipboard

Reads and writes the Windows clipboard from WSL.

Installer

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

README

dsh-wsl-clipboard

Install set: part of dsh-wsl-kit. Prefer KIT_SET=daily | llm | github | full (see kit README). Fault tree: TROUBLESHOOTING.md.

DeepSeek Harness tool: wsl_clipboard — read or write the Windows clipboard from an agent in WSL.

Part of dsh-wsl-kit.

中文说明 → README.zh.md

Where it sits

Reads or writes the Windows clipboard from the agent in WSL.

flowchart LR
  agent["dsh agent in WSL"] --> tool["wsl_clipboard"] --> win["Windows clipboard"]

Suite diagram and version snapshot: dsh-wsl-kit. This plugin is 0.1.0 (daily). Do not copy that matrix into this README.


Compatibility

FieldValue
Plugindsh-wsl-clipboard 0.1.0
Minimum dsh0.1.2 (web UI one-shot ?token= on Windows relay :3081)
Latest verifiedSee dsh-wsl-kit Compatibility (currently 0.1.5-rc.1) — single source of truth for the suite
Kit setdaily (also in github / full; fetch+net also in llm)
Cloud FlashUse model id deepseek-flash (V4.1 Flash) in ~/.dsh/settings.yaml / llm-deepseek — not configured by this plugin
Agent TeamsUpstream experimental; not required here

Suite floor versions: kit check-plugin-versions.sh. Fault tree: TROUBLESHOOTING.md.

Why

Copying a Linux path, command, or snippet into Notepad / ChatGPT / Explorer is awkward when the agent only lives in WSL. This tool bridges the Windows clipboard via PowerShell.

Tool

ArgRequiredMeaning
actionyesget or set
textfor setUTF-8 text to place on the clipboard

Long text is truncated by maxChars (default 100000). Do not put secrets on the clipboard unless the user asks.

Install

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

Restart dsh web. New session → Tools should list wsl_clipboard.

Config

- id: dsh-wsl-clipboard
  name: dsh-wsl-clipboard
  config:
    timeoutMs: 15000
    maxChars: 100000
KeyDefaultMeaning
timeoutMs15000Tool timeout
maxChars100000Max clipboard text length

Test

npm test

License

MIT

Plugins associés