
Model-driven context management (Active Context Pruning / ACP) for the DeepSeek Harness — the model decides when and what to compress. Ported from billion-context-pi (ranxianglei); acp-kernel reused verbatim. CompactionEngine backend with compress/decompress/search_context/acp_status tools.
Install Billion Context Dsh
Installs but activates nothing: package.json has no `dsh.bundle` declaration, so `dsh plugin` warns and loads no config layer.
This repository is not a DSH plugin
package.json declares no dsh.bundle. In the official docs' own words, a package like this “still installs, but only as a plain dependency: dsh plugin prints a warning and activates no layer”. The install looks like it worked and nothing happens.What it actually is: Model-driven context management (Active Context Pruning / ACP) for the DeepSeek Harness — the model decides when and what to compress. Ported from billion-context-pi (ranxianglei); acp-kernel reused verbatim. CompactionEngine backend with compress/decompress/search_context/acp_status tools. If that is what you came for, use it directly from the repository — it is just not something dsh plugin add can activate.
Before you run it
- A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
- Installing from git resolves a moving branch. Pin a commit —
github:Tyan66666/billion-context-dsh#<commit-sha>— so the code you reviewed is the code you install.
Prerequisites
- API key
- Not required.
- Network access
- Not required at runtime.
- Language
- TypeScript
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | pass | info | no install-time scripts |
| dsh.bundle | missing | fatal | package.json has no `dsh.bundle` key |
- Verdict reason
- no dsh.bundle declaration — installs as a plain dependency only
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
From the README
Excerpt as published by the author, plain text, unedited
> **⚠️ 测试版声明——请勿用于生产环境** > 本项目(**v0.1.7**)仍处于开发中的测试版。[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 本身也处于**公开测试版**阶段。**请勿将两者用于工程化 / 生产环境**——预期会有破坏性变更与粗糙之处。 由模型决定 何时 压缩、 压缩什么 ——而不是一个硬性上限。 当对话变长,模型会耗尽上下文。多数工具直接硬截断——悄悄丢弃早期消息。**billion-context-dsh** 给模型一个 `compress` 工具:由 LLM 决定**何时**、**压缩什么**,写成高保真摘要,保留关键细节(文件路径、决策、错误信息)的同时回收上下文空间。 与 DSH 内置的自动压缩(用自动生成的摘要替换一段范围)不同,billion-context-dsh: - **模型驱动** —— 摘要由模型自己书写,没有第二次 LLM 摘要调用(ACP 的成本优势) - **只建议、不强令** —— 自动策略只 *nudge*(提醒),是否压缩、何时压缩由模型决定 - **持久且可恢复** —— 压缩范围成为 checkpoint 节点,原文保留在 append-only 会话日志中;`decompress` 可恢复,`search_context` 可在块内查找 - **基于 seq 引用** —— 不需要消息标签;surface seq 由 nudge 的范围表携带,范围边界自动平衡、容忍 `#callId` 片段 这是 [billion-context-pi](https://github.com/ranxianglei/billion-context-pi)(Pi 编码代理适配器)在 DeepSeek Harn
Topics
GitHub topics on this repository
Related entries
Nearest entries by similarity — this one landed in no themed cluster
Dsh Plugin Greet
0lidaxiang
DeepSeek Harness is a plugin-based system for building AI agents. Everything, from tools and models to the web UI, can be added or replaced as a plugin.
Helloagents
hellowind777
一个自主的高级智能伙伴,不仅分析问题,更持续工作直到完成实现和验证。
Dsh Plugins
Wanbinyu
Community catalog of plugins and tools for DeepSeek Harness (dsh)
Dsh Plugin Session Delete
lsz-asd
Delete DeepSeek Harness sessions from the UI: header danger button + sidebar session-row menu item (no conversation jump), risk-consent dialog with session name/id, stops running agents first, in-place list refresh without page reload. Works in web and the desktop client.
Dsh Workflow
icetomoyo
把Claude Code的UltraCode模式带给DSH,把 DSH 的一次性多 Agent 调度,升级为可生成、可保存、可治理、可观察、可恢复的 Workflow 层
Dsh Genui
omdsh-dev
GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model. Ships the fence-teaching host plugin, the browser renderer (client half), and the genui skill.