dsh-when
DSH plugin: parse natural-language relative times into ISO timestamps (fail-fast)
DSH插件:将自然语言相对时间解析为ISO时间戳(快速失败)。
How to install
dsh plugin add dsh-when About
dsh-when DSH 插件:把**中文自然语言相对时间短语**解析成 **ISO 时间戳**,注册一个 when 工具。纯 ESM、零依赖、无构建。 安装 sh dsh plugin --profile <name> add file:./plugins/dsh-when 或 npm 发布后:dsh plugin --profile <name> add dsh-when 安装后组合层挂载 when 工具(when 层 id)。 工具:when 参数: | 参数 | 类型 | 必填 | 说明 | |---|---|---|---| | text | string | 是 | 自然语言时间短语,如 明天 9 点、2 小时后、下周一 9 点、18:30 或 ISO 8601 | | tz | string | 否 | IANA 时区名(如 Asia/Shanghai、UTC),默认本地时区;无效时区返回规范错误 | | now | string | 否 | ISO 8601 基准时间,默认当前时间 | 返回规范值:{ ok, text, iso, local, relativeSeconds, matchedPattern, errors } iso:UTC ISO 8601 字符串(带 Z)。 local:目标时区本地 ISO 字符串(带 ±HH:MM 偏移)。 relative…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- 318
- Last push
- 2026-08-16
- Created
- 2026-08-15
Links
Basic safety check
- Findings
- None
- Sources
- curated:0xsline/awesome-deepseek-harness
- Topics
- deepseek-harness, dsh-plugin
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.