dsh-glm-mode
GLM Mode agent preset for zhipuai/glm-5.3-flash: PTC/Code Mode tool presentation, a reasoning loop guard and a tool spin guard (live-incident driven), and GLM-specific auto-compaction at 75%/22%.
为 zhipuai/glm-5.3-flash 调优的「GLM 模式」Agent 预设:PTC 程序化工具调用、思考死循环守卫与工具空转守卫双层防护(源自活体事故复盘)、GLM 专属自动压缩(75%/22%)。
How to install
dsh plugin add dsh-glm-mode About
dsh-glm-mode 「GLM 模式」:为 zhipuai/glm-5.3-flash 调优的 DSH 编码 Agent 预设——装上即得 PTC 程序化工具调用、GLM 专属自动压缩,外加**思考死循环守卫**与**工具空转守卫**双层防护。 **English** · Releases · 更新日志 安装 bash dsh plugin add dsh-glm-mode (npm 包名独享;也可用 GitHub 源:dsh plugin add hoyyang/dsh-glm-mode) 零配置可用(全部开关默认开启)。新会话在预设选择器里选「**GLM 模式**」,模型选 zhipuai/glm-5.3-flash 即可。 有啥用 **PTC 程序化工具调用**:全量工具目录以 Code Mode 呈现,一个 TypeScript 程序组合多步操作,减少往返轮次与 input token(同条件 A/B 实测 input −15%)。 **思考死循环守卫**:GLM-5.3-flash 在高推理档位下有 long-decode 退化缺陷(vLLM #56868 同款报告)——实测曾出现单步纯思考 131,072 token、同一句循环约 2,500 次、29.5 分钟烧满上限。守卫对流做句子级重复检测,**提前截断并复用「输出 token 上限」链路**,发「继续」即续跑…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 1
- mo. downloads
- –
- Last push
- 2026-09-18
- Created
- 2026-09-18
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- agent-preset, dsh-plugin, glm, guard, loop-guard, zhipuai
Related plugins
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect
Brings the models in the WorkBuddy desktop app straight into DeepSeek Harness — zero configuration in the DSH chat.
claude-code-router
musistudio/claude-code-router
One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
dsh-coding-subscription-oauth
lninghaha/dsh-coding-subscription-oauth
Coding-subscription OAuth for SuperGrok/Grok Build, ChatGPT Plus Codex, Kimi Code and Claude Code, plus an opt-in loopback OpenAI/Anthropic gateway: local login without pasting tokens, AUTH refresh-and-retry, grok-4.6 xhigh, and API-key route coexistence.