Hook @ DSH @ Core
The pure, dependency-free commonalities of the family: the section lists, the exclusion segments, the suppression composer, the policy loader, the refusal guard and the normalize/Stream machinery.
The DeepSeek Harness Plugin Family for PlayForm: every model's output normalized to clean ASCII characters, every manifest pinned and governed under the author's control - twelve TypeScript packages, smoke-arbitrated. Model output, clean and governed.
$ pnpm add @playform/hook-dsh-core Core & Factory
Hook @ DSH @ Core
The pure, dependency-free commonalities of the family: the section lists, the exclusion segments, the suppression composer, the policy loader, the refusal guard and the normalize/Stream machinery.
Plugin @ DSH @ Factory
The family's first service: the ledger, the exclusion match, the discovery, the keep-list union, the gate set, the version-guarded fenced write, the wiring, the effects and the schema factory.
Governance
Hook @ DSH @ Governor @ Package
The silent package.json governor: hooks fs/observed, rewrites chain-governed pins to the effective registry's resolved versions, and runs the update stage as a detached, contained continuation.
Hook @ DSH @ Pinner @ Package
The silent package.json version pinner: hooks fs/observed and deterministically rewrites every ranged dependency version to its static version, protected by a pin-policy keep-list.
Hook @ DSH @ Governor @ Cargo
The Cargo.toml governor: the Rust-sided flavor of the package governor - surgical chain-pin rewrites on the raw TOML lines and cargo upgrade driven through the subprocess seam.
Normalize
Hook @ DSH @ Normalize @ Dash
Normalizes the unicode dash family to ASCII hyphen-minus in model output streams.
Hook @ DSH @ Normalize @ Quotes
Maps the eight curly quote code points to their ASCII straight counterparts in model output streams.
Hook @ DSH @ Normalize @ Ellipsis
Replaces the horizontal ellipsis (U+2026) with the plain ASCII three-dot sequence in model output streams.
Hook @ DSH @ Normalize @ Spaces
Normalizes the unicode space family (Zs minus the ASCII space) to the plain space in model output streams.
Hook @ DSH @ Normalize @ Invisible
Removes the zero-width/invisible character family (soft hyphen, zero-width spaces and joiners, bidi controls, BOM) from model output streams.
Hook @ DSH @ Normalize @ Fullwidth
Maps the entire FULLWIDTH FORMS range (U+FF01-U+FF5E) to its ASCII half-width counterparts in model output streams.
Hook @ DSH @ Normalize @ File
The file-content normalizer: the normalize-file tool - the read, count, write pipeline applying all six transforms to a file already on disk, writing only when something changed.
The twelve contracts in plain TypeScript - classes, Maps and plain functions, zero runtime framework dependencies. The straightforward integration release.
The same twelve contracts re-expressed on Effect-TS services and layers - same behavior, same smokes, different runtime plumbing.
Built to serve any LLM.
Extensively battle-tested on DeepSeek V4 Flash & GLM 5.3 Flash token output streams. See the models page.
@playform/dsh-family: the complete deterministic stream governor matrix.
@playform/hooks: zero runtime overhead normalizers with zero unicode drift.
@playform/runtime: pinned across 12 packages under atomic version gates.