dsh-compact-button
Adds a Compact context button and a New session button to the context meter panel; compact submits /compact through the same command channel, and new session starts a fresh session in the same workspace.
在上下文计量面板中添加「压缩上下文」与「新建会话」两个按钮:压缩按钮通过与手敲 /compact 相同的通道提交命令,新建会话按钮在同一 workspace 中开启新会话。
How to install
dsh plugin add dsh-compact-button About
dsh-compact-button 在 DSH Web 的<b>上下文计量面板</b>里放两个按钮:「压缩上下文」点击即向当前会话提交 <code>/compact</code>,<br /> 把较早的对话历史压缩成摘要;「新建会话」点击即在<b>同一 workspace</b> 中开启一个新会话。<br /> 📑 目录 ✨ 功能一览 🚀 安装 🖱️ 按钮怎么用 🔧 工作原理 🛠️ 开发与构建 ⚠️ 已知限制 ✨ 功能一览 **🔘 一键压缩**:长对话不断吃掉上下文窗口,以前得手动敲 /compact——现在按钮就放在你随时能看到的上下文面板上,一眼看到快满了,点一下即可 **🔁 同一条命令通道**:和手敲 /compact 走的是**完全相同的通道**(session.command('/compact')),压缩结果照常以命令行形式出现在对话流里,无特殊行为 **📊 状态实时反馈**:按钮文案随提交状态流转(待命 → 提交中 → 已提交 / 未匹配 / 失败),4 秒后自动回到待命,面板保持清爽 **🌏 多语言**:跟随 DSH 的语言设置,中文 / 英文实时切换 **🆕 新建会话**:在压缩按钮右侧再放一个「新建会话」按钮——点击即在**同一 workspace** 中开启一个新会话并跳转过去;agent 预设与权限设置沿用部署默认(与当前会话一致的前提…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 1
- mo. downloads
- –
- Last push
- 2026-08-27
- Created
- 2026-08-23
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- awesome-dsh-plugin, dsh-plugin, dsh-plugin-market, dsh-plugins
Related plugins
dsh-desktop
anywhere-labs/deepseek-harness-desktop
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
dsh-tianshu-tui
huiliyi37/dsh-tianshu-tui
A terminal UI (TUI) for DeepSeek Harness.
UI-TARS-desktop
bytedance/UI-TARS-desktop
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
inbox-zero
elie222/inbox-zero
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.