
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-nl-model-switch
Advanced tools
Switch the current DSH session's model with a natural-language sentence, on web, TUI, or IM bridges (WeChat, Feishu, etc.).
dsh-nl-model-switch
用自然语言切换 DSH 会话模型,不用离开对话界面,不用记命令。
DSH 原生支持 /model 弹窗切换模型,但每次都要中断思路去点选。dsh-nl-model-switch 让你在对话中直接说一句「切到 xxx 模型」,模型自动切换,会话上下文完整保留,新模型无缝接续当前任务。
它是一个纯宿主插件、零客户端 UI 依赖,因此与你用哪种界面无关:Web 面板、TUI,还是通过 IM 桥接的微信 / 飞书等聊天对话框,都能在对话里直接切换当前会话的模型。在不方便操作面板(比如只用手机 IM)时,用一句话就能切模型并继续任务。
有问题或想开发的功能?提个 Issue。
sessions.selectModel),两者共存dsh plugin add dsh-nl-model-switch
安装后重启 dsh web 即可生效。
在对话中直接用自然语言说:
切换到 deepseek-v4-flash 模型
切到 deepseek-v4-pro
换到 glm-5.3,帮我翻译这段文字
用 deepseek-v4-flash 模型重新回答
switch to deepseek-v4-flash model
模型会调用 switch_model 工具完成切换,新模型确认后继续你的请求。
settings.yaml 中注册(providers.*.models 列表里)switch_model 工具(主流模型均支持)switch_model(provider, model) 工具,其执行体调用与原生 /model 相同的公开接口 ctx.apiProxy.sessions.selectModel,设置会话级模型选择,并在下次 prompt 组装时生效,保留同一会话与上下文。switch_model,切换后明确确认并继续用户的请求。tools/result 处理器在 switch_model 成功后结束旧模型当前回合,并以新模型开启一个新回合来发送确认、接续处理原请求。外部看来仍是普通的一问一答。因为切换发生在会话层而非界面层,所以它天然适用于 Web、TUI 以及 IM 桥接的各类聊天界面。
switch_model 工具(只会口头说「已切换」)。可换一个对工具调用支持更好的模型重试。settings.yaml 的对应 provider 下。dsh web 让新 bundle 加载。MIT
FAQs
Switch the current DSH session's model with a natural-language sentence, on web, TUI, or IM bridges (WeChat, Feishu, etc.).
We found that dsh-nl-model-switch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.