Repository navigation
v0.3.0
QoL plugin for running Qwen3.8 locally on DeepSeek Harness (DSH): per-request thinking budgets + compaction that survives long thinking sessions. No core patches, no pi-ai patchfile.
New in v0.3.0
- DSH 0.2.0-rc.2 support - ported to the new seams end to end: the qwen38 preset is declared by the bundle patch (roster + compaction row + default, nothing is generated at boot), settings storage moves to profile plugin config (hot volatile commits), the wire carries first-class
tool-role messages, and the compaction row follows the new trigger formula (min(window x ratio, window - reserved - headroom)). - Live compaction trigger slider (
compactThresholdPct, 50..99, default 80) in the settings tab - changes land on the next session step, no restart; the cap computes per line from its own window and output reservation. - Fix: settings now actually reach the compaction engine. rc.2 removed the old
settings.get(ns)seam, so the trigger percent and the summarize trim knobs (images / keepTurns / toolChars) were silently ignored and the engine ran on the row base. The engine now reads the live profile config at every trigger evaluation.
Compatibility
| Your DSH host | Use | Status |
|---|---|---|
| 0.2.0-rc.2 | #v0.3.0 |
tested (production) |
| 0.1.7-alpha.1 - 0.2.0-rc.1 | #v0.3.0 |
should work - same seam batch, not exercised |
| 0.1.6-alpha.2 and older | #v0.2.0 |
supported line |
Pick your path
Fresh install (any host in the table above):
dsh plugin --profile web add github:Yunado/dsh-qwen38-local-qol#v0.3.0Restart dsh web - the qwen38 preset card appears on the Agent presets page (default for new sessions when no default is configured). See the README for pinning semantics.
Upgrading from v0.2.0 - host first, then plugin:
# 1) update the DSH host to 0.2.0-rc.2 or newer (normal host update).
# 2) re-pin the plugin (profile dir; Windows: %USERPROFILE%\.dsh\profiles\web):
cd ~/.dsh/profiles/web
npm pkg set 'dependencies.dsh-qwen38-local-qol=github:Yunado/dsh-qwen38-local-qol#v0.3.0'
pnpm install
rm -rf ~/.dsh/.agent-presets/qwen38 # optional: old boot-generated preset (superseded, inert)
# 3) restart dsh web. Sessions already on qwen38 keep working (same id, new
# declaration). For new sessions: if a different preset is your default,
# pick Qwen38 on the Agent presets page. Then open Settings -> Qwen3.8
# Local and fill the line config once (the old settings.yaml section is
# not read by the new storage).Tracking main (no tag) - main now requires the rc.2 seam batch: update as usual on 0.1.7-alpha.1+ hosts. Hosts on 0.1.6-alpha and older must switch their spec to #v0.2.0 before the next update.
Known limits
- The preset seam is web-surface only (headless profiles keep the core-patch route).
- Vision token pricing on TabbyAPI / oMLX is not pinned (requests work fine; only the pre-flight capacity projection is affected).
Full details (wire notes, bilingual docs): README . design doc