Back to home@xiaohj233

dsh-compat-shims

Version-scoped compatibility shims for DeepSeek Harness 0.1.0-rc.6: pi-ai compat, sandbox schema shim, keyboard guard.

Stars
1
Language
JavaScript
Created
Aug 14, 2026
Updated
Aug 15, 2026
GitHub repo

Introduction

dsh-compat-shims

English | 中文

Compatibility packages for specific DeepSeek Harness 0.1.0-rc.6 behavior. The repository root is not a DSH bundle; install one package from its subdirectory and package-specific tag.

PackageStatusPurpose
dsh-pi-ai-compatCompatibility PatchRestores configurable pi-ai compatibility fields and model-level reasoning defaults that are not exposed by the rc.6 Harness schema/UI.
dsh-sandbox-schema-shimCompatibility ShimRemoves redundant escalation fields from model-facing tool schemas only in danger-full-access.
dsh-keyboard-guardCompatibility ShimPrevents programmatic focus from opening a touch device's keyboard.

Install

dsh plugin --profile web add "github:xiaohj233/dsh-compat-shims#pi-ai-compat-v0.1.0&path:/packages/pi-ai-compat"
dsh plugin --profile web add "github:xiaohj233/dsh-compat-shims#sandbox-schema-shim-v0.1.1&path:/packages/sandbox-schema-shim"
dsh plugin --profile web add "github:xiaohj233/dsh-compat-shims#keyboard-guard-v0.1.0&path:/packages/keyboard-guard"

On Windows, the dsh plugin forwarder runs pnpm through cmd.exe, which splits the & in the subdirectory fragment. Install with pnpm directly, then let the next dsh plugin call reconcile the bundle layer:

pnpm --dir %USERPROFILE%\.dsh\profiles\web add "github:xiaohj233/dsh-compat-shims#sandbox-schema-shim-v0.1.1&path:/packages/sandbox-schema-shim"
dsh plugin --profile web update

Each package has its own configuration, safety, testing, and uninstall instructions in its directory.

Compatibility policy

The packages are tested against DSH 0.1.0-rc.6, Node.js ^22.19.0 || >=24, and pnpm >=10. The pi-ai package also targets @earendil-works/pi-ai@0.82.1. File patches refuse untested versions or structural mismatches. The event-based and client-only shims do not patch upstream files but still rely on rc.6 contracts.

Development

pnpm test
pnpm run check

The repository intentionally has no CI workflow or release automation. Releases use package-specific tags whose versions match the corresponding package.json.

License

MIT. Patch targets retain their upstream licenses; see THIRD_PARTY_NOTICES.md and package documentation.