dsh-context-toolkit
让大块输出不进对话:ctk_execute、ctk_execute_file 与 ctk_batch_execute 在子进程里跑代码只回结论,ctk_index 与 ctk_search 把长材料存进基于 node:sqlite 的本地 FTS5 知识库,路由门禁在执行前拦下 curl 与 wget。附 ctk_stats、ctk_doctor 与带实时上下文占用面板的设置页,零第三方运行时依赖。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 否
- 近月下载
- 4,666
- 最近推送
- 19 天前更新
项目说明
From README
dsh-context-toolkit 简体中文 English Changelog A DeepSeek Harness bundle whose single job is keeping bulk output out of the conversation .
It separates raw bytes from conclusions : commands run in a child process, files are analysed in a sandbox, and long material is filed into a local knowledge base — while the conversation receives only conclusions, excerpts and counts.
A routing gate refuses, before execution, the calls that would inevitably flood the transcript.No third-party runtime dependencies.The knowledge base rides on Node's own node:sqlite (FTS5 included) and code execution uses interpreters already on the machine, so installing it pulls nothing else.
What it is for Problem What this does --- --- A command prints thousands of lines; you only need a count ctk execute runs it in a child process and returns the answer A large file needs statistics, not a full read ctk execute file
Original description
Keeps bulk output out of the conversation from both ends: a routing gate refuses flooding calls (curl/wget in any shell, web_fetch/read_page), and output already inside is slimmed after the tool runs — JSON re-encoded losslessly, tables windowed with line numbers, logs folded keeping diagnostics — originals readable byte-for-byte via ctk_retrieve.
安装方式
npm 包安装 · 安装无需配置
dsh plugin --profile desktop add dsh-context-toolkitdsh plugin --profile desktop add github:chimneyQ/dsh-context-toolkitdsh plugin --profile desktop add D:\path\to\dsh-context-toolkit安全能力
静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」
- 执行命令
- 写入文件
- 读取文件
- 访问网络
- 读取环境变量
未发现已知红线(明文传输、安装期执行代码、凭据外传等)。
能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。
为什么是这个分数
近 20 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 4666 次,star 不多但真在被使用。
- 维护活跃
- 86
- 实用度
- 74
- 生态热度
- 73
- 上手便捷
- 100
- 信号质量
- 100
- 数据置信度
- 100%
相关插件
dsh-context-governor
mpinaev/dsh-context-governor
上下文占用档位、按模型窗口推算的每会话压缩阈值、按缓存读取/写入费率计算的单步费用、缓存命中率、DeepSeek 余额与高峰/低谷费率,以及一键交接。它从不调用模型,也不消耗 token。
dsh-session-continuity
ymck-x/dsh-session-continuity
新会话开始时注入一条很小的接续指针,说明上一个会话是谁、工作区有没有交接文档;没有交接文档时复用 DSH 已有的压缩摘要。
dsh-auto-memory
Aik358/dsh-auto-memory
主动联想记忆 + Astra 式上下文管理:自动唤回(固定边界注入,前缀缓存友好)/自动沉淀/技能固化/交接账本与 PLAN 白板跨窗口续命/水位感知(窗口自动适配当前模型)。本地 Markdown 存储,模型无关,零依赖;词法 0GB 兜底,可选语义档。