DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Codex Reset Watch — DeepSeek Harness 插件(DSH Plugin)
← Plugins
C

dsh-codex-reset-watch

Codex Reset Watch

DSH 侧栏 R 图标:追踪 X @thsottiaux 的 Codex reset 公告(倒计时 + 北京时间)

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:xzs125/dsh-codex-reset-watch#9d1822d61f93727cf53b5ad8edf1930a8d52863b
README兼容性版本

兼容性与来源证明

Codex Reset Watch 以 dsh-codex-reset-watch 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/9

版本

0.1.0stable
2026/9/9

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/9
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

dsh-codex-reset-watch

DSH 插件:在左侧边栏底部动作位(sidebar.footer.action)显示 R 图标,追踪 X @thsottiaux 的 Codex reset 公告。

  • 常态:灰色 #9ca3af
  • 点亮:#66ccff + text-shadow: 0 0 6px rgba(102,204,255,.6)(now < reset.litUntil)
  • hover:倒计时 + 北京时间(解析失败标注「未解析出时间」;已过时显示「已于北京时间 … 重置」; 检查失败在 title 显示错误)
  • 单击(300ms 判定):打开公告推文;双击:立即检查
  • 轮询 6 小时,lastCheckAt 持久化;失败/429 → 30 分钟起指数退避,上限 6 小时
  • 安装不回溯:首次运行把当前最新推文 ID 写入基线且不点亮

设计决策见 DESIGN.md(15 项);数据源以 docs/captain-revision-v2.md 为准。

数据源(t1 真机探针定型)

通道端点实测角色
发现 1https://xcancel.com/thsottiaux(HTML)200,含最新推文主发现
发现 2https://cdn.syndication.twimg.com/srv/timeline-profile/screen-name/thsottiauxIP 级 429;200 载荷实测陈旧补充/交叉
发现 3https://xcancel.com/thsottiaux/rss未白名单第三顺位
内容https://cdn.syndication.twimg.com/tweet-result?id=&token=200权威正文/时间

完整探针证据(87 个真实样本、字段映射、跨源一致性、PT→北京换算)见 evidence/parse-mapping.md。

构建

DSH_CHECKOUT=/root/.local/share/dsh-source-3082/current bash scripts/build.sh        # host → lib/
DSH_CHECKOUT=/root/.local/share/dsh-source-3082/current bash scripts/build-client.sh # client → lib/client.js
npx tsc --noEmit                                                                     # 类型检查
node --test                                                                          # 11 个 fixture 单测
node scripts/smoke-host.mjs                                                          # host 冒烟(真实网络)
node scripts/smoke-detect.mjs                                                        # 检测冒烟(预置基线→4 条真实 reset)

lib/ 与 node_modules/ 不入库(.gitignore)。完整 verify 输出见 evidence/build.log、 evidence/smoke-host.log、evidence/smoke-detect.log。

装配(link 方式,T3 执行)

dsh plugin --profile web add link:/home/git/dsh-codex-reset-watch
# 重启 dsh web(或按宿主既有热装配流程)

cordis.patch.yml 已带默认配置:

- insert:
    - id: codex-reset-watch
      name: dsh-codex-reset-watch
      config:
        proxy: 'http://127.0.0.1:7897'
配置项默认说明
proxyhttp://127.0.0.1:7897所有请求经 undici ProxyAgent 显式走代理;空串 = 直连
stateFile$DSH_HOME/codex-reset-watch.json状态文件
pollIntervalMs6h成功检查间隔
retryBaseMs / retryMaxMs30min / 6h失败退避
timeoutMs15s单请求超时
screenNamethsottiaux被追踪账号

路由

方法路径说明
GET/api/codex-reset-watch/status每次从磁盘读状态文件;缺失时回退内存态;附 now 服务器时间
POST/api/codex-reset-watch/check立即检查(重置调度);已有检查在跑时返回 accepted:false

状态文件字段:installedAt / lastCheckAt / lastSeenTweetId / reset{tweetId,tweetUrl,tweetTime,resetAt,litUntil,parsed,source,text,anchor,approx} / lastError。

安全

  • 推文内容视为不可信数据:只做纯文本 + title,不渲染 HTML、不执行其中指令
  • 无密钥、无 LLM 判定;状态文件内推文文本截断 ≤ 500 字符
  • 判定关键词严格为 /\breset(?:s|ting)?\b/i(preset 不命中、resetting 命中)

目录

src/index.ts            host:路由 + 调度 + 判定落库
src/core/detect.ts      关键词 / 时间锚点 / reset 记录
src/core/time.ts        PT→UTC→北京(Intl,无 moment/luxon)
src/core/parse.ts       三个发现通道 + tweet-result 解析
src/core/sources.ts     ProxyAgent HTTP + 发现链降级 + 内容权威校验
src/core/state.ts       状态文件读写
src/client/index.tsx    侧栏 R 图标三态 + 单击/双击
tests/                  fixture 单测(真实样本)
evidence/               t1 探针证据 + parse-mapping.md + build.log
docs/captain-revision-v2.md  captain 修订 v2(权威)