DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-bat2exe

d

dsh-bat2exe

Manifest valid

Compiles a Windows .bat/.cmd launcher into a real .exe from inside DSH: renders an icon from a built-in bitmap font, emits a C# wrapper that runs the batch file next to it, compiles with csc.exe (or d

hasBundlePatch

dsh-bat2exe

Turn a Windows .bat / .cmd launcher into a real .exe — from inside DeepSeek Harness.

The EXE is a thin shell: it locates the batch file next to itself and hands the whole job to cmd.exe. The launcher logic stays editable text, no tool path is baked into the binary, and upgrading whatever the batch file calls needs no recompilation.

Install

dsh plugin --profile web add dsh-bat2exe

Restart DSH, then ask the agent to build a launcher — or call the tool directly.

Tools

bat2exe_build

| Parameter | Meaning | |---|---| | bat | required — path to the .bat/.cmd file (absolute, or relative to the working directory) | | name | output executable name; defaults to the batch name with .exe | | iconText | up to four characters drawn on a generated icon | | iconTextColour | icon text colour as #rrggbb | | icon | use an existing .ico instead of rendering one | | startMenuShortcut | also write a Start Menu shortcut | | desktopShortcut | also write a Desktop shortcut |

The build runs four steps, all local and offline:

  1. Icon — renders a rounded-square plate with a diagonal gradient and the given text, using a built-in 5×7 bitmap font, then packs it as a 256×256 ICO. No image library, no external tool.
  2. C# shell — emits a wrapper whose only job is to run the batch file from its own directory, forwarding all arguments and preserving the exit code.
  3. Compilecsc.exe from the .NET Framework (falling back to dotnet build when only the .NET SDK is present), with the icon embedded as a resource.
  4. Shortcuts — optional .lnk files, written through WScript.Shell.

bat2exe_probe

Reports the local toolchain — C# compiler path, .NET SDK presence, PowerShell, and the resolved defaults — so a failure can be diagnosed before a build is attempted.

Settings

bat2exe registers a settings namespace, so defaults are editable in Settings → Plugins rather than by hand-editing a profile patch:

| Key | Default | Meaning | |---|---|---| | iconText | BAT | text drawn on a generated icon | | iconFrom / iconTo | #12204a / #4a6cf7 | gradient start / end | | workDir | .bat2exe | where *.cs, *.ico and other by-products go | | startMenuShortcut | false | default for the Start Menu shortcut | | desktopShortcut | false | default for the Desktop shortcut |

Per-call tool arguments always win over these defaults.

Requirements

  • Windows. The pipeline compiles a Windows PE and writes .lnk files.
  • A C# compiler: .NET Framework 4.x (csc.exe, present on stock Windows) or the .NET SDK.
  • PowerShell for shortcut creation only (pwsh preferred, Windows PowerShell accepted).

bat2exe_probe reports exactly which of these were found.

What gets written

Everything lives next to the batch file, so a launcher folder is self-contained:

DSH-Web.bat            <- your launcher (unchanged)
DSH-Web.exe            <- the compiled shell
.bat2exe/
  DSH-Web.ico          <- generated (or your supplied) icon
  DSH-Web.cs           <- the emitted C# source, kept for inspection

License

MIT

Compatibility

DSH 0.1.6-alpha.1: errorDSH 0.1.5-rc.2: errorDSH 0.1.5-rc.1: errorDSH 0.1.5-alpha.2: errorDSH 0.1.5-alpha.1: errorDSH 0.1.3-alpha.2: errorDSH 0.1.2-rc.1: errorDSH 0.1.2-alpha.5: errorDSH 0.1.2-alpha.4: errorDSH 0.1.2-alpha.3: error

Versions

Latest versionPublishedSize
0.1.0
0.1.1

Comments

Loading…

Similar plugins

dsh-desktop-launcher2

by H1Kariiiiiii

One-click desktop launcher for DSH Web: creates a Windows .lnk with a WPF-style startup popup (progress + timeout), then opens the authenticated browser; plus a floating shutdown button that exits dsh

UI & ExperienceManifest valid

3

Apache-2.0

JavaScript

Sep 6, 2026

dsh plugin --profile web add dsh-desktop-launcher2

A dockable IDE workbench for the DSH web UI: a GPU-accelerated terminal (restty renderer over a Rust PTY), a CodeMirror editor, a file explorer, notes, a sandboxed browser, and ripgrep content search.

Development & InfrastructureTerminal & ClientsManifest valid

0

dsh plugin --profile web add dsh-powerdesk

Windows desktop shortcut and system-tray launcher for DSH running in WSL, with fully hidden startup, tray open/restart/exit menu, and a plugin-configuration card to manage the shortcut.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

0

70/wk

dsh plugin --profile web add dsh-wsl-tray

A developer toolkit for the DeepSeek Harness (DSH) web console: a real multi-tab PTY terminal docked under the composer plus an AI-output file browser sidebar with syntax highlighting, Markdown render

Development & InfrastructureManifest valid

0

138/wk

dsh plugin --profile web add dsh-devpanel

by AythyaCrispus

Windows Minimal Mode: persistent bash + str_replace_editor dsh plugin — registers an agent preset, provides a working persistent-bash backend on Windows, and exposes a GUI-editable bash path in the pl

Manifest valid

3

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-minimal-msys2

by chen70456-lang

One tool, infinite reach: arbitrary JS in your real logged-in browser. Unlike fixed-action plugins, browser_execute_js does anything DevTools can — read, click, type, fill, navigate, screenshot, CDP.

Manifest valid

0

MIT

TypeScript

Aug 30, 2026

dsh plugin --profile web add dsh-tmwebdriver