防止 todo_write 状态过期的树外 DeepSeek Harness 守卫
27.8/100
综合分
1
GitHub 星标
—
npm 周下载
—/5
用户评分
数据截至 2026/10/30 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add lamost423/dsh-todo-freshness-guard该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:仅索引
是什么
dsh 原生插件 · tool
装得上吗
本站尚未做安装检查
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
更新放缓:最近一次提交在 33 天前
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
社区实装还没有人打卡 · 装过的第一个就是你
安全扫描自动 · 静态分析源码v2.7.0🟢 扫描:未发现敏感能力尚无人工评估展开查看扫描说明与证据 ↓
安全扫描自动 · 静态分析源码
v2.7.0静态扫描未发现敏感能力:最多只发网络请求、读取自身元数据或只读文件,未发现执行命令、文件写入或敏感信息读取。
扫描于 2026/11/3(0 天前) · 范围 全包扫描(包内未声明入口) · 来源 GitHub 仓库
静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。
依赖的 DSH / Cordis 模块
@deepseek-ai/schemastery@deepseek-ai/cordis@deepseek-ai/cordis-plugin-include@deepseek-ai/cordis-plugin-loader@deepseek-ai/dsh@deepseek-ai/dsh-agent@deepseek-ai/dsh-agent-loop@deepseek-ai/dsh-agent-loop-testkit@deepseek-ai/dsh-code-runtime@deepseek-ai/dsh-invariants@deepseek-ai/dsh-llm@deepseek-ai/dsh-session给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- 拦截过期待办
- 提醒待办过期
README
由 DeepSeek 最新模型翻译生成DSH Todo Freshness Guard|DSH 待办新鲜度守卫
解决的问题:Agent 在长任务中可能持续调用工具,却不更新未完成的 todo_write 列表,导致用户看到的计划与真实执行状态脱节。
最痛的问题:Agent 明明还在运行,用户看到的却是过期状态——已完成事项仍显示未完成,新阻塞没有记录,下一步也无法判断。任务越长,进度越不可信。
如何解决:这是一个仓库外的 DeepSeek Harness Guard。它先提醒模型重新同步完整 Todo 列表;列表继续过期时,再阻止普通工具调用。todo_write 与外层 run_code 恢复通道始终可用。
Problem it solves: During long agent turns, the model may keep calling tools without updating its unfinished todo_write list. The visible plan then stops matching the work actually being done.
展开完整文档(README 剩余 1 节)
DSH Todo Freshness Guard|DSH 待办新鲜度守卫 解决的问题:Agent 在长任务中可能持续调用工具,却不更新未完成的 todo_write 列表,导致用户看到的计划与真实执行状态脱节。 最痛的问题:Agent 明明还在运行,用户看到的却是过期状态——已完成事项仍显示未完成,新阻塞没有记录,下一步也无法判断。任务越长,进度越不可信。 如何解决:这是一个仓库外的 DeepSeek Harness Guard。它先提醒模型重新同步完整 Todo 列表;列表继续过期时,再阻止普通工具调用。todo_write 与外层 run_code 恢复通道始终可用。 Problem it solves: During long agent turns, the model may keep calling tools without updating its unfinished todo_write list. The visible plan then stops matching the work actually being done. Most painful failure: The agent is still active, but the user is looking at stale status—completed work still appears pending, new blockers are missing, and the next step is unclear. This removes progress visibility exactly when a long task needs it most. DSH 待办新鲜度守卫让长任务进度始终可见 行为 一次成功的 todo_write 包含未完成事项后,Guard 会按 Session 统计非记账类工具调用: - 达到 reminderAfterCalls 时,向模型注入一次提醒,要求重新同步完整 Todo 列表。 - 超过 blockAfterCalls 后,拒绝普通工具,直到新的完整 todo_write 替换旧列表。 - 原生调用与 Code Mode SDK 子调用共用计数器。 - todo_write 始终可用。 - 外层 run_code 始终可用,保证 Code Mode 能调用 todo_write。 - Todo 列表为空或全部完成时,约束自动关闭。 本插件修复的是 todo_write 状态长期不更新的问题,不会替换或修改文件系统 Write 工具。 兼容范围 - DeepSeek Harness:0.1.0-rc.6 至 0.1.7-rc.2(会话格式 0–4) - Node.js:^22.19.0 || >=24.0.0 - 当前状态:社区预览版 安装 先安装兼容版本的 DSH CLI,再把 Release 压缩包添加到需要启用 Guard 的 Profile: npm install --global @deepseek-ai/dsh@0.1.7-rc.2 dsh plugin --profile web add https://github.com/lamost423/dsh-todo-freshness-guard/releases/download/v0.1.2/dsh-todo-freshness-guard-0.1.2.tgz dsh web 也可以从工作副本安装: git clone https://github.com/lamost423/dsh-todo-freshness-guard.git cd dsh-todo-freshness-guard corepack enable pnpm install --frozen-lockfile pnpm build dsh plugin --profile web add . dsh web 插件默认贡献以下 Patch: - insert: - id: todo-freshness-guard name: dsh-todo-freshness-guard config: reminderAfterCalls: 5 blockAfterCalls: 8 后加载的 Profile 或命令行 Patch 可以覆盖这一行配置。两个参数都必须是正整数,且 blockAfterCalls 必须大于 reminderAfterCalls。 移除插件: dsh plugin --profile web remove dsh-todo-freshness-guard 从 v0.1.1 升级 在 DSH 0.1.7 上,v0.1.1 的提醒一触发,这一轮就会以 format v4 message requires a producer-owned source kind 失败,而且该会话之后每一轮都会同样失败。用上面的安装命令添加 v0.1.2 的压缩包(会替换掉 v0.1.1),然后重启 dsh web:正在运行的宿主在重启前一直使用旧代码。受影响的会话可以重新打开,出错那一轮会标记为中断;那一轮没来得及保存的部分,以及出错之后到重启之前在该会话里发出的内容,都无法找回。 验证 pnpm check pnpm pack --pack-destination /tmp 测试覆盖原生模式、Code Mode、并发重置、按各版本宿主的会话日志读取方式补读待办、Loader 组合、会话格式 4 下的提醒来源、发布压缩包 Bundle 契约,以及通过官方 DSH 0.1.0-rc.6 完成真实 Web 启动。 许可证 MIT。衍生部分继续遵守 DeepSeek Harness 许可证,详见 NOTICE。
预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
lamost423/dsh-todo-freshness-guard
防止 todo_write 状态过期的树外 DeepSeek Harness 守卫
相关插件 · 工具 / 效率
破甲管控台kingcharleslzy-ai/dsh-purge
dsh-purge Community · DeepSeek Harness 社区维护版:宿主兼容、状态诊断、提示词管理、更新与本机备份回滚。基于小杨 / YuJunZhiXue 的 dsh-purge。
★ 4,173已汉化DeepSeek 客户端
74.4
网文长卷lingfengQAQ/webnovel-writer
基于 Claude Code 的长篇网文辅助创作系统,解决 AI 写作中的「遗忘」和「幻觉」问题,支持 200…
★ 7,636已汉化DSH
72.2
多智能体协作HKUDS/AutoSwarm
AutoSwarm: Unify Your Agents. Unify Your Context (Codex · Claude Code · DeepSeek Harness · Muse · Grok · WorkBuddy· nanobot · and more)
★ 2,197已汉化DSH
71.7
Vox 拼贴视频生成Alisa0808/vox-director
🎬 Vox Director拼贴动效导演
★ 2,129已汉化DSH
71.4
Agent 演化引擎Q00/ouroboros
智能体 OS:智能体自己变聪明,我们只守住底线:面试准入、分阶段评估、带预算的进化循环。MCP 服务器,14 种运行时:Claude Code、Codex CLI、Gemini CLI、OpenCode、Copilot、Kiro 等。
★ 6,308已汉化DSH
71.3
智能体运行框架路由HarnessRouter/harnessrouter
智能体运行框架的统一接口。
★ 3,897已汉化DSH
71.2