TYEclipse/dsh-units2

dsh-units

DeepSeek Harness (dsh) 的单位换算工具箱:支持长度、质量、温度、面积、体积、速度、时间、数据大小、压力、能量、角度、频率、排版及油耗等换算,零运行时依赖。

AI 分析

核心用途是提供多领域的物理与技术单位换算。适合需要频繁进行跨系统单位转换(如公英制、数据进制、温度等)的日常办公、工程计算或排版任务。

套件
dsh-units
版本
0.2.0
授權
MIT
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TYEclipse/dsh-units

Usage

The agent just calls the tools — no setup beyond installation:

convert_unit { value: 100, from: "km", to: "mi" }
→ 100 km = 62.137119 mi (length, × 0.621371)

convert_unit { value: 500, from: "MiB", to: "MB" }
→ 500 MiB = 524.288 MB (data size / transfer, × 1.048576)

convert_unit { value: 350, from: "fahrenheit", to: "celsius" }
→ 350 f = 176.666667 c (temperature, (x − 32) × 5/9)

convert_unit { value: 16, from: "px", to: "pt" }
→ 16 px = 12 pt (typography (CSS / print), × 0.75)

convert_unit { value: 20, from: "mpg", to: "l/100km" }
→ 20 mpg = 11.760729 l/100km (fuel economy, 235.214583 ÷ x → x)

list_units { category: "volume" }
→ volume (volume (incl. cooking), base: liter): m3 = cubic meter | l = liter | ...

Configuration

plugins:
  dsh-units:
    maxDecimals: 6   # display rounding: decimals ≥ 1, significant digits below (1–12)