jonah791/dsh-agent-context ↗★ 1
dsh-agent-context
上下文管理插件:提供 /context 命令与 ctx.contextMeter 服务,用于感知当前会话的上下文占用与已花费 token。
AI 分析
核心用途是监控会话上下文和 Token 消耗。适合需要精确掌握当前会话资源占用情况的智能体管理任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jonah791/dsh-agent-context说明文档
阅读完整 README ↗dsh-agent-context — 上下文管理插件
DSH(DeepSeek Harness)插件:会话上下文的注入与管理。
功能特性
- 上下文注入:按需向会话请求注入上下文内容
- 会话感知:与 agent 会话模型联动
安装
cd
git clone https://github.com/jonah791/dsh-agent-context.git
cd dsh-agent-context
pnpm install
pnpm build
相关
License
MIT