dsh-ponytail: A Thin Adapter Layer for Integrating Ponytail into DeepSeek Harness

Preface

When developing agents within DeepSeek Harness (DSH), system prompts, skill trees, and session behaviors often require a separate set of maintenance. While the Ponytail upstream provides a systematic set of instructions and skills, directly copying them into DSH can lead to issues with version alignment, session mode isolation, and persistence defaults. The community also offers various dsh-ponytail adapter implementations, each with different focal points.

Below is an introduction to dsh-ponytail maintained by Sepolian: a thin adapter layer for DSH 0.2.0-rc.2. It follows the upstream instructions and skills of Ponytail v4.13.0, providing isolated session modes and native persistence default configurations on the DSH side.

What is this

The positioning of dsh-ponytail (repository Sepolian/dsh-ponytail) is: A thin Ponytail adapter for DeepSeek Harness. The plugin hooks into DSH via a Cordis patch, verifying the locked-down upstream resources (instructions, config modules, skill trees, and licenses) in vendor/ponytail/ at runtime before passing them to the upstream renderer, rather than maintaining instruction body text within TypeScript.

Maintainer: Sepolian. It is categorized as Model Reasoning in the SkillHub community directory (the directory page has no official affiliation with GitHub; it is solely a community collection).

Current package version: 0.1.0-rc.2 (MIT; bundled Ponytail resources retain their upstream licenses).

Core Features

Upstream Fidelity

  • Uses Ponytail v4.13.0 instructions; upstream skills and assets remain byte-for-byte unchanged.
  • Verifies the SHA256 manifest within vendor before startup; optional maintenance commands npm run check:assets and npm run sync:upstream are available (requires placing a checkout of the specified commit in ../upstream/ponytail as per the README).

Modes & Sessions

  • Four modes: lite / full / ultra / off; the initial persistence default is full.
  • Session-level override: Only affects the current session and disappears after the process is destroyed or restarted.
  • Persistent default: Written to DSH’s ponytail storage domain (depending on the chosen host’s storage backend); each DSH home has its own set of defaults.
  • Native in-process spawn/fork subprocesses inherit the parent process’s active mode at creation; subsequent mode changes in the parent do not affect already-created subprocesses. Subprocesses launched via external processes use that host’s own default, with no parent override pass-through implemented.

Slash Commands & One-off Skills

Command Function
/ponytail Displays current active mode, session override, and persistent default
/ponytail lite, full, ultra, off Sets session mode only
/ponytail default Clears session override, following the default
/ponytail default lite, full, ultra, off Durably saves shared defaults; existing session overrides are retained
/ponytail status Read-only status query
/ponytail-review [notes] Runs the upstream one-off review skill
/ponytail-audit [notes] Runs the upstream full-library audit skill
/ponytail-debt [notes] Runs the upstream shortcut-ledger skill
/ponytail-gain [notes] Displays the upstream measured-impact scoreboard
/ponytail-help [notes] Displays the upstream command/skill reference

Sending a standalone message stop ponytail or normal mode will also close the current receiving session; these phrases appearing within normal request sentences will not switch modes. review/audit/debt/gain/help are one-off tasks and do not change the persistent mode.

Compatibility Notes (Key points from README)

  • Host API peer targets: DSH 0.2.0-rc.2, Cordis ~4.0.4.
  • Official Web/base profiles provide agent, system prompt, skills, and native storage; custom profiles must provide equivalent capabilities and a durable storage-domain backend; commands activate when the native commands registry is available.
  • If an explicit DSH complete-prompt plugin is installed, it will override the normal prompt segment (including the injection part of this plugin).
  • Runtime and package checks cover Linux + Node 22; Windows/macOS and live external model providers are not declared as tested in the README.

Installation & Activation

Environment Requirements:

  • Node ^22.19.0 || >=24.0.0
  • DSH 0.2.0-rc.2

The README recommends installing via the .tgz asset from the GitHub Release (or a local npm pack artifact) to the Web profile, rather than relying on dsh plugin add github:... string concatenation.

  1. Obtain the tarball (Release download or npm pack after source build).

  2. Install to the Web profile and launch:

dsh plugin --profile web add /absolute/path/to/dsh-ponytail-0.1.0-rc.2.tgz
dsh --profile web

Note: Tarball installation does not require a source code checkout; it may pull runtime dependencies from the configured package registry.

If you need to build the package from source (requires cloning the repo yourself; this article does not cover clone steps), the verification and packaging workflow provided in the README is:

npm ci
npm run typecheck
npm test
npm pack

npm ci and npm pack execute the same self-contained prepare build; no sibling upstream checkout is required.

Typical Usage

After installing and entering the Web profile, use slash commands within the session to manage Ponytail modes, for example:

  1. View current active configuration:
/ponytail

Or /ponytail status.

  1. Temporarily switch this session to lite without affecting others or the persistent default:
/ponytail lite
  1. Change the team shared default to ultra (existing session-level overrides are still retained):
/ponytail default ultra
  1. When upstream packaged capabilities are needed, call one-off skills per the README, for example:
/ponytail-review Please focus on the error handling paths

Specific skill behavior depends on the bundled upstream Ponytail assets.

Use Cases & Notes

Who is it for

  • Developers already using or planning to use DSH 0.2.0-rc.2 Web/base (or custom profiles with the services listed in the README).
  • Teams wanting to reuse Ponytail v4.13.0 instructions and skills within DSH, requiring session-isolated modes and persistent default settings.

Important to know

  • The plugin runs under the permissions of the current dsh process; read the repository source code and the MIT LICENSE as well as vendor/ponytail/LICENSE before installing.
  • Only one adapter should be mounted per storage-domain facility; the native domain does not broadcast default changes across processes.
  • The package acceptance script will reject incompatible combinations if peers do not match; verify against the README’s Compatibility section and package.json peer ranges before upgrading DSH.

Conclusion

dsh-ponytail integrates Ponytail’s upstream assets into DSH in the form of verified vendor files, using a thin adapter layer to handle modes, commands, and storage, avoiding forking instruction text within the adapter code. If you want to unify Ponytail behavior within the Harness and control lite/full/ultra/off, you can install it to the Web profile via the Release tarball and manage it using the /ponytail command series.

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

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

Xiaoye