跳到主要内容
Plugin

dsh-force-compact

falling-ts/dsh-force-compact

llama-cpp qwen3.8-27b 低上下文时,强制上下文压缩插件,提示模型使用效率和使用流畅度,外加完善的压缩提示。

形态
Plugin 插件
安装
npm 包安装
需要密钥
否
近月下载
2,703
最近推送
7 天前更新

项目说明

From README

dsh-force-compact Aggressive, local-first context compaction for DeepSeek Harness agents.A DSH Cordis function plugin that keeps the agent's working context lean by design: serve Qwen3.8‑27B on a self-hosted llama.

cpp with a modest context, and the plugin shrinks the conversation itself — a large-window feel with no API cost and no data egress.中文 --- Why - Self-hosted inference — the agent talks to a local OpenAI-compatible llama.cpp server through the standard DeepSeek adapter; no separate adapter needed.

- Low context, high signal — instead of fighting a small cap, the plugin shrinks the conversation, so the agent reasons over a tight prompt while keeping deep memory in the compressed head.

- Think off for compactions, passthrough everywhere else — disableThinking: true (default) turns thinking off on this plugin's own compaction summarization call only ; every other model request ri

Original description

Aggressive context compaction for local-first agents. Runs Qwen3.8‑27B on self‑hosted llama.cpp at low context, shrinking history so the live prompt stays small, fast, and private—delivering a big‑window experience without API cost or data egress. 面向本地的激进上下文压缩插件。自托管 llama.cpp 低上下文运行 Qwen3.8‑27B,不断收缩历史、保持常驻 prompt 小而快,兼顾隐私与大窗口体验,零 API 成本、数据不出本机。

安装方式

npm 包安装 · 安装无需配置

README 解析
shell
npm install @falling-ts/dsh-force-compact
shell
dsh plugin --profile web add github:falling-ts/dsh-force-compact
shell
dsh plugin --profile web add ./dsh-force-compact

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 写入文件
  • 读取文件
  • 读取环境变量

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 8 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 2703 次,star 不多但真在被使用。

维护活跃
86
实用度
66
生态热度
69
上手便捷
100
信号质量
100
数据置信度
100%
评分怎么算