DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

billion-context-patched

b

billion-context-patched

Manifest valid

A patched build of ranxianglei/billion-context (MIT) with the author's model-request accelerator folded in: verified snapshot reuse, parent-session inheritance for forks, outbound request-body compres

UI (client)hasBundlePatch

bili-context-patch

更新记录 · 使用说明

面向 DSH 的上下文压缩与请求加速插件。基于 billion-context,内置模型请求加速器,安装一个包即可使用两组功能。

功能

  • 长对话与 fork 继承:上下文压缩、快照复用,补齐 fork 的父会话关系并继承已有压缩状态。快照渲染仍遵守标记与灰度开关。
  • 请求加速:支持请求体压缩、共享历史预传输和每次请求的耗时面板,按渠道配置。
  • 图片减量:图片成功发送后可折叠为占位说明,原图可按引用取回;首次发送按需缩放。当前回合上传的图片默认保留。
  • 集中设置:插件卡片承载两项功能,bili 面板和「模型请求加速」设置页分别管理各自配置。

安装与更新

在 DSH 插件商店安装 bili-context-patch,随后启用。也可在「设置 → 插件」使用 GitHub 安装源:

github:No-ni/billion-context-patched

包内携带上游运行文件和必要解析器,无需先安装原版插件。

首次启用会自动停用原版 billion-context 和 dsh-plugin-model-request-accelerator,迁移旧加速器设置并保留已有选择;原版卡片如果仍显示,应处于关闭状态。

更新时在插件管理器更新本插件,按 DSH 提示重载或重启。宿主代码和代理代码的生效方式见使用说明,手动部署见手动安装。

开始使用

在设置中打开 bili 面板查看上下文状态,在 bili 的「配置」页调整压缩与图片设置;渠道开关、请求压缩算法与耗时信息在「模型请求加速」页管理。

默认设置行为
缓存钥匙默认开启,保留显式的 enabled / auto / disabled 选择
压缩增长阈值80,000 token,显式配置优先
图片默认开启折叠、当前上传豁免与图像使用约定;首次发送长边上限 1200
指定中转渠道www.didudidu.asia、154.219.111.56 仅补缺失的开启与 auto 设置,auto 优先 br

手动关闭、选择 gzip 或其他显式配置会保留。其他站点可在加速器设置中自行开启。详细配置与常见问题见使用说明。

文档与维护

文档目录提供使用、维护和审计入口。独立修改清单记录必须保留的定制行为;维护流程说明来源与检查;发布流程说明交付步骤。维护者从 AGENTS.md 开始,最新变化统一见 CHANGELOG。

许可

补丁与包装层采用 MIT。上游项目及内置 YAML、Zod 的来源与许可见维护说明。

Comments

Loading…

Similar plugins

smart-compaction

by JoblessJoe

Lets the model trigger compaction itself at a safe point via a compact_now tool (works mid-turn), plus a context_status tool reporting real token usage against the session's actual context window.

Development & InfrastructureSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add smart-compaction

by Tyan66666

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 v

Memory & ContextManifest valid

★ 171

↓ 2.6k/wk

MIT

TypeScript

Nov 10, 2026

dsh plugin --profile agent add billion-context-dsh

Context fullness bands, the per-session compaction threshold derived from the model window, per-step cost computed from cache read and cache write rates, cache-hit, DeepSeek balance with the peak/off-

Tools & CapabilitiesManifest valid

★ 0

dsh plugin --profile web add dsh-context-governor

by ScreamingMaggot

把长对话的重复计费砍掉一半,并给模型配一名只读调查员:先核实,后动手。面向 DeepSeek Harness 的上下文压缩与外置推理插件(MIT)。

Memory & ContextSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add rcs-context

by Saretheya

Keep conclusions alive across context compaction: the model writes a task checkpoint and the plugin re-injects it into the system prompt's first node — the span compaction never touches, so it survive

Memory & ContextManifest valid

★ 0

MIT

JavaScript

Nov 2, 2026

dsh plugin --profile web add dsh-cairn

by LuminariSoftwares

Compaction for local models that actually fires and never bricks the session. OpenAI-compatible proxy + DeepSeek Harness engine.

Security & AuditSessions & MessagesManifest valid

★ 2

MIT

Python

Nov 11, 2026

dsh plugin --profile web add dsh-context-guardian