auuduu/dsh-zai-coding-models
Puts Z.AI's newest coding-plan model on the stock route before the pi-ai catalog bundled with your DSH release does.
Works around a real lag rather than hiding it: DSH resolves each provider's model list from the pi-ai catalog compiled into its dependency tree, so a newly shipped upstream model waits a release cycle or two. DSH's first-class escape hatch is a profile-declared models list, and this plugin is that escape hatch packaged so dsh plugin add carries it — no DSH upgrade, no hand-edited YAML, no restart dance beyond the one restart. Because DSH merges your own per-provider settings on top of the base profile, a route that only stores apiKeyEnv: ZAI_CODING_CN_API_KEY — which is what the Models page writes — keeps working unchanged.
Install
dsh plugin --profile web add dsh-zai-coding-modelsThe npm line; swap web for tui, headless or your own profile. Restart DSH once afterwards, because the profile composition is read at boot. The README also documents a github: form and a no-plugin manual recipe that writes the same models list into ~/.dsh/settings.yaml, which is worth reading before installing if you already hand-maintain that file — the plugin is just that recipe packaged.
Compatibility
A Zhipu / Z.AI coding or token plan with its API key already entered on the DSH Models page, on the stock zai-coding-cn route. The plugin ships a dsh.bundle.patch layer that targets the llm-pi-ai composition row and adds glm-5.3 with the capabilities its authors document: text-only, 1M context, 128K max output, and thinking levels Low through Max with thinking not optional. Two honest limits stated in the README: a models list in DSH replaces the route's catalog rather than extending it, so later Zhipu models need a new plugin release, and any other zai-coding-cn entries you relied on have to stay in the list.
Details
- Repo: auuduu/dsh-zai-coding-models
- Category: Models & Providers
- Stars: 1
- Version: 0.1.0 (npm)
Alternatives
Mhmd7-7/dsh-ai-model-hub · Vmarcelo49/dsh-local-models · dawnliming/dsh-chinese-mode