← 返回列表

dsh-when

DeepSeek Harness 工具与能力 低风险

DSH插件:将自然语言相对时间解析为ISO时间戳(快速失败)。

DSH plugin: parse natural-language relative times into ISO timestamps (fail-fast)

怎么安装

DeepSeek Harness dsh plugin add dsh-when

简介

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…

推荐参考

38 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
38 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
JavaScript
GitHub 星标
0
月下载
318
最近更新
2026-08-16
创建于
2026-08-15

链接

GitHub ↗ npm ↗ 报告问题 ↗

基础安全检查

检查结果
无
收录来源
curated:0xsline/awesome-deepseek-harness
主题标签
deepseek-harness, dsh-plugin

同类推荐

MCP 服务器
推荐93

fastmcp

punkpeye/fastmcp

用于构建MCP服务器的TypeScript框架。

☆ 3.3K ↓ 2.0M 工具与能力 ↗
MCP 服务器
推荐91

mobile-mcp

mobile-next/mobile-mcp

用于移动自动化与抓取的模型上下文协议服务器(iOS、Android、模拟器、仿真器和真实设备)

☆ 6.8K ↓ 102.4K 工具与能力 ↗
MCP 服务器
推荐88

davinci-resolve-mcp

samuelgursky/davinci-resolve-mcp

用于DaVinci Resolve Studio的MCP服务器集成

☆ 3.1K ↓ 72.0K 工具与能力 ↗
MCP 服务器
推荐83

ssh-mcp

tufantunc/ssh-mcp

通过Model Context Protocol暴露Linux服务器SSH控制的MCP服务器。

☆ 762 ↓ 42.0K 工具与能力 ↗