dsh-message-datetime
每轮对话开始向模型上下文注入单行时间戳读数(星期 / 日期 / 时间 / UTC 偏移 / IANA 时区),收尾再注入 Turn ended 关闭读数——模型始终知道现在几点、今天星期几、上一轮何时结束,日期运算与跨轮间隔不再靠猜;轻量时钟感知,每条约 30 token。
One-line clock context for DeepSeek Harness: a Current time timestamp reading (weekday, date, time, UTC offset, IANA timezone) opens every conversation turn and a Turn ended reading closes it, so the model always knows the time, date and idle gap across turns without asking.
怎么安装
dsh plugin add dsh-message-datetime 简介
dsh-message-datetime 每个对话 turn 开始时,向模型上下文注入**简短时间戳与跨轮空闲间隔**的 dsh 插件(DeepSeek Harness / cordis plugin)。 模型由此始终知道"现在几点、今天星期几、上一轮何时结束、闲置了多久"——日期运算、"今天/明天"语义、跨轮空闲间隔感知、yymmdd 路径命名等不再需要询问用户或猜测。 模型看到什么 每个 turn 的第一个 step,在用户消息之后追加一条单行通知(约 30~50 token,append-only 不破坏 KV cache): **首轮(无上一轮记录):** Current time: Tue 2026-09-15 01:04:34 +08:00 (Asia/Shanghai) **后续轮次(自动合并上一轮结束时间与闲置时长):** Current time: Tue 2026-09-15 01:04:34 +08:00 (Asia/Shanghai) | Last turn ended: Tue 2026-09-15 00:39:34 +08:00 (idle for 25m) 通知在 GUI 中渲染为折叠的 context chip(非用户气泡),折叠行显示去掉秒的摘要与闲置时间(例如 Current time: Tue 2026-09-15 01:04 +08:00 (…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- 226
- 最近更新
- 2026-09-18
- 创建于
- 2026-09-17
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- ai-agent, datetime, deepseek-harness, dsh-plugin, timestamp, timezone
同类推荐
billion-context
ranxianglei/billion-context
billion-context官方版:上下文压缩插件,兼顾小窗口(100k上下文足矣)省token(省5倍token)和超长会话(数月级别几十亿token单会话)。
dsh-chat-import
Nwflower/dsh-chat-import
把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。
dsh-rewind
SiriLee/dsh-rewind
同一会话窗口内的 in-place 对话回退(不 fork,Claude Code /rewind 语义):每条消息的 ↶ 按钮把模型上下文回退到任意用户消息,可选用磁盘持久化的 before-backups 还原工作区文件。
dsh-recall-plugin
limbo947/dsh-recall-plugin
消息撤回:在用户消息旁加「撤回」按钮,把对话历史(官方会话 fork)与项目文件(逐消息影子 git 快照)一并回退到该消息发送之前,带差异预览确认面板。