DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-pua

p

dsh-pua

Manifest valid

DSH PUA Revised Version (based on @michengai/dsh-pua v0.3.22): Removes the upstream global master switch, enabling "always-visible entry" and "functions disabled by default" to coexist—one-click PUA toggle through the input bar menu, with a more compact interface.

UI (client)hasBundlePatchMachine translated

DSH PUA

DSH PUA

Help your agent try another approach and verify its work before calling it done.

简体中文 · The problem it solves · Features · Installation · Usage · Configuration · Commands · Fork changes · Changelog

npm version npm downloads License: Apache-2.0 Node.js 22.19+

Brings PUA to DeepSeek Harness. Community-maintained; not an official DeepSeek AI or PUA product.


The problem it solves

Poor delivery is usually not a skill gap. It is the absence of any requirement to prove the work:

Common behaviorHow PUA intervenes
Tweaks the same parameters again and again while drifting furtherPast the failure threshold, switching to a materially different approach is mandatory; spinning in place raises pressure immediately
Gets stuck and suggests "please do this manually"Classified as giving up or deflecting; triggers an ownership check and escalation
Claims "done" without ever running the verification commandEmpty completion is detected; it only counts once runtime evidence is attached
Reads an error once, then jumps to a conclusionRequired to read context, search for similar cases, enumerate hypotheses, and verify
Fixes one bug and stopsIceberg rule: same-module siblings and upstream/downstream impact are handled together

The core mechanism is pressure that escalates with failure count and drops after genuine acceptance passes. Pressure is not the goal; evidence is.

Features

  • Change approach after failure: a failure counter drives L1→L4 escalation, each level mandating a different action (switch approach / search and read source / seven-item checklist / all-out mode).
  • Evidence before completion: "done" only counts with command output attached; an independent verification command can be configured so a model's own report is not enough.
  • Verification Loops: start a Loop to keep the agent correcting until verification passes, the iteration cap is hit, or you cancel.
  • Narration and flavors: 15 company-inspired flavors (Alibaba, ByteDance, Huawei, Tencent, Baidu, Meituan, Jobs, Musk, …) across 10 persona modes (standard P8, P7, P9, P10, Pro, Yes, Mama, Shot, Chinese/English protocols). Narration opens with the active flavor, and wording and keywords follow it.
  • Integrity guard (off by default): denies reads of hidden benchmark answers, including web searches for them, and warns before edits touch test, scoring, or CI assets, keeping action rights separate from self-grading rights.
  • Progressive prompt loading: added fidelity: lean | balanced | full; default balanced, lean saves more context, and full restores the complete original prompt. pua_reference supports path=index and a section argument.
  • Grouped settings panel: configuration is grouped into Basics / Prompt loading / Flavor & role / Reminders & verification, with the last group collapsed by default.
  • Global defaults with per-session overrides: plugin settings store global defaults; the chat panel adjusts the current session only, restoring inheritance per item or all at once.

Results depend on the model and task. The plugin does not guarantee a solution every time.

Installation

Requires Node.js 22.19 or later and DSH 0.1.2-rc.1, 0.1.5-rc.1, 0.1.5-rc.2, 0.1.5-rc.3, 0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1, or 0.2.0-rc.2. Uses your existing DSH model configuration; no additional API key is needed.

Examples use the web profile. Replace it with the profile you use.

Ask an agent to install it

Send this to an agent that can run commands on your computer:

Install @panando/dsh-pua into my local DSH web profile by running dsh plugin --profile web add @panando/dsh-pua@latest --registry=https://registry.npmjs.org/. Check that the plugin loads, then explain how to open PUA settings.

Install manually

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
dsh plugin --profile web add @panando/dsh-pua@latest --registry=https://registry.npmjs.org/

After the current task finishes, reload DSH or restart its Web service. Refreshing the browser alone is not enough. Enter /pua help to check that the plugin is available.

Usage

  1. Open Plugins in the sidebar, open @panando/dsh-pua, and use the package page or the panando-pua row.
  2. Enable PUA, choose a flavor and persona, and save.
  3. Return to chat and submit tasks as usual.

A PUA entry is always visible in the composer. Clicking it opens a dropdown:

  • Turn on / Turn off: toggles PUA for the current session directly, without opening the panel
  • Options: opens the configuration panel for flavor, persona, reminders, and Loop

When PUA is off for the session, the label is dimmed with a line through it. The entry is always rendered — the key difference from upstream, see Fork changes.

Configuration

Change global defaults only in plugin settings. Chat controls and commands affect only the current conversation.

Unchanged options follow global defaults; editing one option overrides just that one. "Restore all" at the top of the panel returns to inheritance.

The panel is grouped into three sections:

SectionWhat you can adjustNotes
BasicsPUA switch, UI language, subagentsUI language Auto follows the host, or pin Chinese / English; subagents off by default, and when enabled they inherit the parent session's effective config
Flavor & roleFlavor, persona modeChoose Auto to route by task characteristics, or lock one flavor; personas include P7 / P9 / P10 / Pro
Reminders & verificationCorrection reminders, integrity guard, feedback reminders, Loop defaultsCollapsed by default. Covers terminal review, failure escalation, and quality prompts; integrity guard off by default; Loop takes a verification command, timeout, and iteration cap (0 = unlimited)

Subagent enablement also depends on the parent conversation's PUA switch. fidelity can be lean (minimal), balanced (default, loads rule slices on demand), or full (full original prompt, higher context usage). Commands no longer change global settings.

Continue until verification passes

In the chat PUA panel, under "Start or cancel a Loop", enter a task, verification command, and iteration limit, then start it. For example, ask the agent to fix failing tests, verify with npm test, and stop after at most 10 iterations.

You can also enter:

/pua loop "Fix the failing tests and add regression coverage" --verify "npm test" --max-iterations 10

Enter /pua-cancel-loop or /pua cancel-loop to stop. Disabling PUA for the current session also cancels its Loop, but does not undo operations already performed.

Set a verification command and iteration limit when using a Loop. Without a verification command, completion relies on the model's report.

Common commands

Everyday switches, flavors, and personas are available in the UI; memorizing commands is optional.

GoalCommand
Enable or disable PUA for this conversation/pua on, /pua off
Choose a flavor/pua flavor huawei
Ask for another approach/pua again
Check whether the task is complete/pua done-check
Check delivery evidence/pua evidence
Review current changes without editing/pua review
Restore global defaults for this conversation/pua reset
Cancel a verification Loop/pua-cancel-loop, /pua cancel-loop
View status or full usage/pua status, /pua help

Fork changes

This repository is derived from @michengai/dsh-pua v0.3.22 and published as the separate package @panando/dsh-pua on npm. It is a fork, not an official release. Original LICENSE and NOTICE are retained.

Removing the upstream global kill-switch

Upstream treats the global alwaysOn setting as a master gate: when off, the composer entry does not render, a session cannot be enabled, and /pua on is rejected. An always-visible entry and a default-off feature therefore cannot coexist.

This fork lifts that restriction: the entry always renders while the feature still defaults to off, and you enable it per session from the composer menu ("Turn on"). The entry is a dropdown (Turn on / Turn off / Options), where the first two take effect immediately and only "Options" opens the panel.

Unifying narration markers (v0.1.3)

The original markers mixed square brackets and icons, which hurt readability. They are now emoji『text』, keeping each marker's original emoji and dropping the trailing flavor word:

OriginalNow
[🟡 字节味]🟡『字节』
[PUA生效 🔥]🔥『PUA生效』
[PUA 突破 ✨]✨『PUA 突破』
[方法论切换 🔄]🔄『方法论切换』
[自动选择:⚫ 百度味 | 因为:… | 改用:🟡 字节味]🔄『自动选择:百度』因为:… | 改用:🟡『字节』

This covers 18 upstream asset files across the core protocol, persona modes, and methodology references. The English protocol (pua-en), markdown links, and machine-readable IDs are unchanged.

Shortening UI labels (v0.1.3)

Language "Auto (follow host)" and flavor "Auto-flavor" both become "Auto", so the dropdowns stay compact.

Grouping the settings panel (v0.1.3)

The flat field list becomes three sections — Basics / Flavor & role / Reminders & verification — with the last one collapsed by default. The field set and configuration contract are unchanged; only the presentation order differs.

See CUSTOM-CHANGES.md for the full change list and implementation pitfalls.

Uninstall

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
dsh plugin --profile web remove @panando/dsh-pua

Reload DSH for the change to take effect. Project files and conversation history are preserved.

License and attribution

Adapted from tanweai/pua 3.5.1.

Original project code uses Apache License 2.0. Bundled PUA assets retain their upstream-declared MIT license and attribution; see NOTICE.

Comments

Loading…

Similar plugins

dsh-power-switch

by SanYe-SanJiu

Windows-only process control for the harness: a sidebar button that shuts DSH down through the host's own graceful exit path, an app-window / normal-tab switch on the Plugins card that rewrites the de

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add dsh-power-switch

by liceses

DSH 角色扮演插件:角色卡(系统提示词注入 + 用户提示词改写)、可分享的单文件卡包、复刻原版 UI 的角色页签与首轮选角 chip

Manifest valid

★ 3

TypeScript

Oct 4, 2026

dsh plugin --profile web add dsh-cosplay

by jipika

DSH 插件中心(本地改版):插件管理/市场额外提升为设置窗口左侧导航的独立分栏(settings.section#plugin-console),原「设置 → 插件」tab 保留。基于上游 0.3.63。

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 27, 2026

dsh plugin --profile web add @noob-stupid/dsh-plugin-console

by buhuikongpan

DSH 分层插件管理器:原生插件按 系统层/WebUI 层/工具层 只读展示,用户扩展支持停用/启用、补登记、卸载与可编辑描述。

UI & ExperienceManifest valid

★ 9

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-pluginmanager

by tianyaojiudi-prog

DSH(DeepSeek Harness) 插件:把一段可在设置页随时改写的文字,作为全局系统提示词段注入到所有会话,含子代理与工作流内部子代理;文本与开关即时生效,无需重启。

Tools & CapabilitiesManifest valid

★ 8

MIT

JavaScript

Oct 4, 2026

dsh plugin --profile web add dsh-djy-xttsc

by runfali

dsh 登录门卫插件:让只监听本机的 dsh Web UI 安全地对外开放——登录墙 + 全量反代,零依赖、零侵入。

Manifest valid

★ 4

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add dsh-login-gateway