rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:SoulZhou/dsh-context-windows
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness client plugin that adds a Settings → 模型上下文窗口 / Model Context Windows page, giving WorkBuddy and Trae the same per-model visual context-window adjustment that Qoder CN has under its own Settings section.
<select> of context-window sizes (plus a "default /
follow upstream" option that clears the override).contextBudgets config
field via the Host settings service, so the set value actually takes effect
in applyContextBudgets.A budget only changes the context window DSH advertises for the model, which drives auto-compression timing. It does not change the window the upstream service actually serves for a request.
Math.min(native, budget): any positive value at or
below the native window is effective, so the page offers a graded "turn it
down" ladder.dev / 500K when
Max >= 500K / Max). A model that declares no Max window has a single
option and is shown as read-only rather than offering a no-op control.| File | Role |
|---|---|
index.js |
Host half: settings.section-agnostic loopback routes GET /plugins/dsh-context-windows/state and POST /plugins/dsh-context-windows/set that read/write regions[panel].contextBudgets through settings.describe() / settings.mutate(). |
client.js |
Browser half: registers the settings.section page and renders the visual controls. |
cordis.patch.yml |
Inserts the bundle into the profile patch. |
locale/zh.json, locale/en.json |
Host display metadata (meta.title, meta.description). |
icon.svg |
Settings icon. |
The client reads model rosters from each connector's own proven routes:
/plugins/dsh-connect-workbuddy/usage?region=cn|global/plugins/dsh-connect-trae/usage?region=cn|enterprise|ai&detail=fastAdd the plugin to the desktop profile with the DSH CLI:
dsh plugin --profile desktop add D:\path\to\dsh-context-windows
Or install the published package from GitHub:
dsh plugin --profile desktop add github:SoulZhou/dsh-context-windows
A full quit and reopen of the DSH desktop app is required for the Host half
to load; Ctrl+R only reloads the renderer. See the dsh-client-plugin skill for
the full backup / verification procedure.
After installing, open Settings → 模型上下文窗口 / Model Context Windows to adjust each connected WorkBuddy / Trae model.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model、deepseek-harness。