dsh-units v0.1.0 is live: https://github.com/TYEclipse/dsh-units
Two tools, zero runtime dependencies, pure arithmetic:
convert_unit โ length, mass, temperature (affine C/F/K), area, volume incl. US cooking units, speed, time duration, data sizes (decimal MB vs binary MiB), pressure, energy, angle, frequency
list_units โ discover all 12 categories and their symbols
Why another plugin? LLMs are genuinely unreliable at unit math โ affine temperatures, decimal/binary prefixes, and awkward compound factors (psi, kcal, km/h) are exactly the kind of silent-error traps a deterministic table fixes.
Quality gates: tsc strict build โ
, 28 vitest tests โ
(fully offline fixtures), oxlint โ
, real-product smoke test โ
.
Roadmap thoughts:
Feedback welcome โ what unit pair do you reach for most?
dsh-units v0.1.0 is live: https://github.com/TYEclipse/dsh-units
Two tools, zero runtime dependencies, pure arithmetic:
convert_unitโ length, mass, temperature (affine C/F/K), area, volume incl. US cooking units, speed, time duration, data sizes (decimal MB vs binary MiB), pressure, energy, angle, frequencylist_unitsโ discover all 12 categories and their symbolsWhy another plugin? LLMs are genuinely unreliable at unit math โ affine temperatures, decimal/binary prefixes, and awkward compound factors (psi, kcal, km/h) are exactly the kind of silent-error traps a deterministic table fixes.
Quality gates:
tscstrict build โ , 28 vitest tests โ (fully offline fixtures), oxlint โ , real-product smoke test โ .Roadmap thoughts:
Feedback welcome โ what unit pair do you reach for most?