TYEclipse/dsh-units

TYEclipse★ 2TypeScript最后同步: 2026-08-14

在 GitHub 打开

Unit conversion toolbox for DeepSeek Harness (dsh): length, mass, temperature, data sizes (MB vs MiB), speed, time, volume, pressure, energy, angle, frequency — zero runtime dependencies

README 摘要

dsh-units 📐 Unit conversion toolbox for DeepSeek Harness (dsh) — 12 categories, zero runtime dependencies , pure arithmetic over a static unit table (no network, no filesystem, no code execution). When your agent needs to answer "how many miles is 100 km?" , "is 1 MB bigger than 1 MiB?" , "what's 350°F in Celsius?" or "how many tablespoons in 2 cups?" — instead of doing error-prone mental math, it can call these tools and read exact results. 中文简介:dsh-units 是 DeepSeek Harness 的单位换算工具箱插件,覆盖长度、质量、温度、面积、体积(含美制烹饪单位)、速度、时长、数据大小(十进制 MB 与二进制 MiB 严格区分)、压强、能量、角度、频率共 12 个类别,零运行时依赖、纯算术实现,无网络无副作用。让 Agent 不再心算——特别是"MB/MiB 混淆""华氏摄氏互转""加仑换升"这类高频出错点,直接调用工具拿精确结果。 Why it exists - LLMs are unreliable at unit math. Temperatures are affine (offset), data sizes mix decimal and binary prefixes, and compound units (km/h, psi, kcal) hide awkward factors. A wrong conversion silently corrupts reports, recipes, travel plans, and capacity math. - Fully deterministic and offline. Every factor lives in the static table in src/units.ts — no API keys, no lookup services, nothing to drift. - Structured results. Each conversion returns the original value, both units (symbol + full name), the result, the formula appl…

在 GitHub 查看完整 README →
终端/TUIdeepseek-harnessdsh-pluginmeasurementunit-conversionagent

分类