u
dsh-pace-calc
Manifest valid★ 1Running pace calculator: converts distance and time to min/km pace and km/h speed.
hasBundlePatch
dsh-pace-calc · 配速计算
DeepSeek Harness 跑步配速计算插件 — 一次调用换算出配速(分/公里)与速度(公里/小时)。
纯 Node 实现,零依赖、无网络请求、离线可用。
工具
pace_calc
| 参数 | 类型 | 默认 | 说明 |
|---|---|---|---|
dist | number | 5 | 距离(公里),如 21.0975(半马)、42.195(全马) |
min | number | 30 | 用时(分钟) |
sec | number | 0 | 用时(秒),与 min 相加 |
返回:距离、用时、配速(分′秒″/km)、速度(km/h)。
示例
pace_calc(dist=5, min=30) → 6′00″/km,10 km/h
pace_calc(dist=21.0975, min=90) → 4′16″/km,14.1 km/h (半马 1:30:00)
pace_calc(dist=42.195, min=180) → 4′16″/km,14.1 km/h (全马 3:00:00)
计算方式:配速 = 总时间 ÷ 距离,速度 = 距离 ÷ 总时间。
安装
# npm(推荐)
npm install dsh-pace-calc
# 或从 GitHub 直装
dsh plugin add github:uckkk/dsh-pace-calc
装完重启 DSH 页面,之后在会话里直接让模型调用 pace_calc 即可。
许可
MIT
Compatibility
DSH 0.2.1-rc.4: failedDSH 0.2.0-rc.2: failedDSH 0.2.1-alpha.1: failed
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
Comments
Loading…
Similar plugins
by uckkk
跑步配速计算
Manifest valid
★ 0
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-running-paceby uckkk
公里/时转英里/时
Tools & CapabilitiesManifest valid
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-kph2mphby uckkk
节转公里/时
Tools & CapabilitiesManifest valid
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-knot2kphby uckkk
海里/时转公里/时
Tools & CapabilitiesManifest valid
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-kn2kmby uckkk
跑步恢复
Tools & CapabilitiesManifest valid
★ 0
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-run-recoverby WsTe47
Shows the running agent step above the web composer as a Chinese sentence: its step number, the tools it is running, and how long it has been going. A finished step keeps its duration on screen until
UI & ExperienceDevelopment & InfrastructureManifest valid
★ 0
MIT
JavaScript
Sep 12, 2026
dsh plugin --profile web add @climber47/dsh-step-clock