DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-pwsh-cp

w

dsh-pwsh-cp

Manifest valid

Pin every pwsh tool call to a UTF-8 console code page and Python UTF-8 mode

hasBundlePatch

English | 简体中文

dsh-pwsh-cp

npm version license

A DeepSeek Harness bundle for Windows hosts whose PowerShell console starts on a legacy OEM code page (936 on zh-CN, for example). It decorates the shell executor so every pwsh tool call begins with:

chcp 65001 *> $null; $env:PYTHONUTF8='1'; $env:PYTHONIOENCODING='utf-8';

Why

  • The harness decodes command output as UTF-8.
  • A fresh PowerShell process can still start on console code page 936. The shipped preamble sets [Console]::OutputEncoding = UTF8, but that does not move the console code page, so native tools keep writing GBK bytes into a UTF-8 decoder and non-ASCII text is lost.
  • Pinning the console to 65001 makes dir, CMD built-ins, and code-page-aware CLI tools emit UTF-8. CMD built-ins then answer in English instead of the system's localized language.
  • Piped Python writes the locale code page (GBK) regardless of the console; PYTHONUTF8=1 makes it write UTF-8.

What it does not do

  • It does not replace or disable pwsh-sandbox; confinement is unchanged.
  • It does not affect the embedded terminal or other profiles.
  • It does not preserve localized wording from legacy tools that ignore the console code page. Use a wrapper that can force the source code page when that matters.

Requirements

  • Windows with PowerShell 7 (pwsh).
  • A DeepSeek Harness build that provides the shell service and the pwsh tool.

Install / remove

# from npm
dsh plugin --profile desktop add dsh-pwsh-cp

# from a checkout
dsh plugin --profile desktop add github:wannaknowhys/dsh-pwsh-cp

# remove
dsh plugin --profile desktop remove dsh-pwsh-cp

The plugin manager accepts the same specs: install_bundle target = dsh-pwsh-cp or the checkout directory.

Comments

Loading…

Similar plugins

dsh-zhipu-plan

by Ayelsh

A DeepSeek Harness plugin: Zhipu coding-plan sign-in, quota and usage panel.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

MIT

TypeScript

Oct 19, 2026

dsh plugin --profile web add dsh-zhipu-plan

by CJYLZS

Give dsh agent a real browser to use

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 5

↓ 2.8k/wk

MIT

TypeScript

Nov 6, 2026

dsh plugin --profile web add dsh-browser

by hytime

Profile-aware keyboard shortcuts for the DeepSeek Harness Web Client

UI & ExperienceManifest valid

★ 2

↓ 275/wk

NOASSERTION

TypeScript

Sep 10, 2026

dsh plugin --profile web add @hytime/dsh-client-ui-shortcuts

by robbywang25

Codex-style pinned sessions for DeepSeek Harness — always visible above the sidebar list

Development & InfrastructureSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Sep 6, 2026

dsh plugin --profile web add dsh-codex-pins

by 240xu

Unified web search provider for DSH

Tools & CapabilitiesTerminal & ClientsModels & ProvidersManifest valid

★ 9

↓ 1.2k/wk

MIT

JavaScript

Nov 15, 2026

dsh plugin --profile web add @240xu/dsh-websearch

by sdegongzuo

DeepSeek Harness 客户端网页操作与调试插件:多会话、新窗口、多标签页调试和操作网页

Development & InfrastructureManifest valid

★ 0

MIT

TypeScript

Nov 4, 2026

dsh plugin --profile web add dsh-webops-plugin