← Back to list

dsh-compact-agents

DeepSeek Harness Sessions & Messages New Low risk

Model-callable compact_agents tool that force-compacts context in every live session (main session, ordinary sub-agents and AgentTeams members alike), queues busy targets and compacts them when the turn ends, reports the shadowed node count and estimated tokens per target, and ships a browser form for the trigger ratio, retained ratio, controlled-phase output budget, auto-continue budget and an end-of-turn pre-compaction ratio that compacts near the trigger line once a turn ends, so a reply no longer opens with a wait for the summarizer.

模型可调用的 compact_agents 工具:强制压缩进程内所有活会话的上下文(主会话、普通子代理、AgentTeams 成员一视同仁),忙的目标自动排队、本轮结束立即补压,逐目标回报被遮蔽的节点数与估算 token 数;浏览器侧在设置里自成一页,提供触发阈值、保留比例、受控阶段输出预算、自动续写次数与「回合结束预压」比例的编辑表单(一轮结束时上下文已接近触发线就先压一次,避免下一轮回答开头空等)。

How to install

DeepSeek Harness dsh plugin add github:zhuto666/dsh-compact-agents

About

dsh-compact-agents **DeepSeek Harness 会话上下文强制压缩插件:一个模型可调用的 compact_agents 工具 + 一块设置界面里的参数表单** 强制压缩忽略自动阈值 · 覆盖进程内所有活会话(主会话 / 普通子代理 / AgentTeams 成员) · 忙的目标自动排队、本轮结束立即补压 · 逐目标回报遮蔽节点数与估算 token 数 · 压缩过程在对话区可见 · 一轮结束时提前压缩,回答开头不再干等 · 被输出上限截断时自动续写 · 参数在设置里自成一页直接改 · 零网络、零依赖、无构建步骤 English | **中文** --- 安装 需要 Node.js ≥ 20、PATH 上有 pnpm,以及带 agent-presets 的 DeepSeek Harness **源码检出**(安装脚本据此定位 @deepseek-ai/dsh-tools 与 cordis;全局 npm i -g 的布局未验证)。 安装分两步:先装包(官方通道,pnpm 从 GitHub 取包),再把挂载行写进 preset。第二步不能省 —— compact_agents 工具必须挂在 preset 的 compaction 隔离组里才拿得到 ctx.compaction,这一行无法由插件包自带。 sh 1. 装包:登记 profile 依赖与 bundle…

Recommendation signals

47 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
47 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
Apache-2.0
Language
JavaScript
GitHub stars
1
mo. downloads
Last push
2026-09-20
Created
2026-09-15

Links

GitHub ↗ Report issue ↗

Basic safety check

Findings
curated 收录但无 npm 包/安装命令
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
deepseek-harness, dsh, dsh-plugin

Related plugins

DeepSeek Harness New
Score84

billion-context

ranxianglei/billion-context

The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).

☆ 233 ↓ 140.8K Sessions & Messages
DeepSeek HarnessClaude CodeCodex
Score80

dsh-chat-import

Nwflower/dsh-chat-import

Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.

☆ 193 ↓ 16.7K Sessions & Messages
DeepSeek Harness
Score77

dsh-rewind

SiriLee/dsh-rewind

In-place conversation rewind in the same session window without forking (Claude Code /rewind semantics): a per-message ↶ button cuts the model context back to any user message, with an optional Claude-Code-style file restore from disk-persisted before-backups.

☆ 83 ↓ 15.1K Sessions & Messages
DeepSeek Harness
Score74

dsh-recall-plugin

limbo947/dsh-recall-plugin

Recall any user message: rolls the conversation (official session fork) and workspace files (per-message shadow git snapshots) back to before it, with a diff-preview confirmation panel.

☆ 34 ↓ 7.2K Sessions & Messages