WeKnora
Tencent
Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
PROJECT TOPICS
PROJECT README
Tiered model routing plugin for DeepSeek Harness — split every session into think and build model tiers, delegate image understanding to a vision model (it only describes — your coding model does the work), and generate images from an ordinary chat model. Configured from a settings tab, no YAML editing.
Works on every DSH surface: DSH Desktop, the standalone web profile (dsh web),
and the terminal (dsh --profile tui).
Running every step of a coding session on a frontier model is expensive and slow. oh-my-dsh gives the agent tiers: a strong (think) model for planning, architecture and hard debugging, a cheaper (build) model for day-to-day implementation, an automatic vision delegation layer for images (the vision model describes, the working model acts), and an image-generation path — all without switching sessions manually and without YAML configuration.
auto mode; per-session override with /omd strong|cheap).omd_image tool and /omd image <prompt> generate images
with a configured chat model (e.g. gpt-5.6-luna on opencode-go, gpt-image-2
via Codex), saved under ./oh-my-dsh-images/.rm -rf, sudo, force pushes and credential/secret file
edits are denied while the build tier executes until the session escalates to think.omd_advisor and omd_review consult the think tier on
demand, before risky decisions and high-risk merges.omd_worker dispatches bounded task packets to a chosen tier./omd command mapping and the routing rules.Requirements: DeepSeek Harness Desktop (or the dsh CLI) and an internet connection —
the dsh plugin command manages pnpm itself, nothing else to install.
Install into every surface you use (each profile is independent):
# DSH Desktop app (the profile the desktop app boots — the settings tab lives here)
dsh plugin --profile desktop add github:llmpolska/oh-my-dsh#v0.1.0
# Standalone web app (dsh web / --profile web)
dsh plugin --profile web add github:llmpolska/oh-my-dsh#v0.1.0
# Terminal (TUI)
dsh plugin --profile tui add github:llmpolska/oh-my-dsh#v0.1.0
The #v0.1.0 suffix pins the exact release tag. The package has no build step
(no prepare script), so pnpm installs it directly — no allowBuilds configuration
is needed. The command also activates the plugin as a profile layer automatically.
Fully restart DSH Desktop (Cmd+Q → relaunch) or restart the dsh process. The
plugin's host half loads at profile boot — a window refresh is not enough.
On boot the plugin:
oh-my-dsh settings namespace and the /omd configuration endpoint,oh-my-dsh agent preset into $DSH_HOME/.agent-presets and adopts it
as the default preset (only when the default is still standard),llm.streamWithRegistration (image
parts are replaced by the description for text-only models),New sessions get the preset (existing sessions keep theirs — create a new session to get
/omdand theomd_*tools).
cd oh-my-dsh
pnpm pack # produces oh-my-dsh-0.1.0.tgz
dsh plugin --profile desktop add ./oh-my-dsh-0.1.0.tgz
dsh plugin --profile web add ./oh-my-dsh-0.1.0.tgz
dsh plugin --profile tui add ./oh-my-dsh-0.1.0.tgz
A local path install (dsh plugin add /path/to/oh-my-dsh) links the checkout as-is —
after changing lib/, just restart the app.
| Surface | Settings tab | /omd + omd_* tools |
Vision describe | Image generation |
|---|---|---|---|---|
| DSH Desktop | ✅ | ✅ | ✅ | ✅ |
dsh web (web profile) |
✅ | ✅ | ✅ | ✅ |
| TUI / headless | — (no settings UI) | ✅ (agent plane activates process-wide) | — (no image prompts) | ✅ |
The plugin is one codebase: the client half (settings tab) is web-platform, the host half (endpoint, vision wrapper) mounts where a web server exists, and the agent plane (roles, tools, guard, scrub) activates through the preset on web surfaces or process-wide in the TUI, where no preset roster exists.
/omd status
/omd strong | cheap | auto | off # per-session tier (think/build aliases work too)
/omd plan # auto + plan mode + think header
/omd models # list registered providers and models
/omd set <think|build|vision> <provider> <model> [off|high|max]
/omd subagent <inherit|cheap|strong>
/omd advisor <question> # one think-tier consultation
/omd review <focus> # think-tier review
/omd image <prompt> # generate an image (saved under ./oh-my-dsh-images)
The automatic vision description (visionAuto) is toggled in the settings tab; the
describing model is set with /omd set vision <provider> <model>.
omd_status, omd_route, omd_configure, omd_advisor, omd_review, omd_worker,
omd_image.
Open DSH Desktop → ⚙ Settings → oh my dsh:
gpt-5.6-luna), size,
output directory, and the "image output modalities" toggle. The "custom endpoint"
option is the manual fallback (base URL + API key env var/inline key).lib/index.js — host half: /omd endpoint, vision describe wrapper, preset install.lib/agent.js — agent plane: tier routing, guard, escalation, omd_* tools,
prompt section, llm.streamWithRegistration history scrub.lib/client.js — the "oh my dsh" settings tab (plain JS, served by the shell).lib/config.js — settings schema and shared state (incl. the vision description store).node --test "tests/**/*.test.mjs" # 25 unit tests for the guard and tier decisions
node --check lib/index.js && node --check lib/agent.js && node --check lib/client.js
dsh plugin --profile desktop remove oh-my-dsh
dsh plugin --profile web remove oh-my-dsh
dsh plugin --profile tui remove oh-my-dsh
# optionally: delete $DSH_HOME/.agent-presets/oh-my-dsh and the `oh-my-dsh` section
# in $DSH_HOME/settings.yaml, then set the agent-presets default back to standard.
deepseek-harness · dsh-plugin · dsh · llm · model-routing · tiered-routing · coding-agent · vision-model · image-generation · open-source · plugin
MIT
Built and maintained by LLM Polska — plugins, tools and automations for DeepSeek Harness. https://llmpolska.pl
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: coding-agent、image-generation、model-routing、vision-model。