uckkk/dsh-pace-calc
DeepSeek Harness 跑步配速计算插件 — 一次调用换算出配速(分/公里)与速度(公里/小时)。
catalog descriptioncatalog 简介 / catalog description:配速计算
Project Overview项目介绍
dsh-pace-calc is a running pace calculation plugin for the DSH platform. It provides the pace_calc tool, which returns a running training plan based on the input parameters. Use it when you need to generate a training plan from specific pace or distance inputs. The tool is implemented in pure Node with no network dependency, so results rely entirely on the accuracy of the parameters you supply.
dsh-pace-calc 是 DSH 平台的一款跑步配速计算插件,提供 pace_calc 工具,根据输入参数返回跑步训练方案。核心能力是基于参数生成对应的训练计划。适用于跑者制定或调整训练安排时使用。使用时需注意:方案由纯 Node 本地实现,不联网获取数据,结果依赖所提供参数的准确性。
请帮我了解并安装插件:【dsh-pace-calc】【https://github.com/uckkk/dsh-pace-calc】
Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin add github:uckkk/dsh-pace-calc
把 uckkk/dsh-pace-calc 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
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
GanyuanRan/Aegis
shengsheng90/DSH-taskboard
pengyue-polaron/deepseek-harness-genui
Jayden-X-L/forkprobe
BeforeWave/dsh-with-chatgpt
sluminositys/dsh-nested-followups
Meredith2328/dsh-sticky-note
cloader/dsh-taskboard