Skip to content

v0.2.0

Choose a tag to compare

@laszlopere laszlopere released this 17 Jun 11:05
· 123 commits to master since this release

Type-faithful calculator MCP server — second release. Install with uvx mcp-abacus.

New language functions

  • exp, log2, cbrt
  • floor, ceil, round, trunc — each taking an optional ndigits
  • asin, acos, atan
  • Optional-argument arity for trailing defaulted parameters
  • Bare pi and e usable as reserved constants

calculate & solver

  • calculate returns every output line of a multi-line program, not just the last
  • solver gains a Brent parabolic minimiser (selectable via algorithm)
  • solver requires min_fixed_point_precision in fixed-point mode (avoids silently flooring the unknown to integers)
  • solver snaps drifted floating-point answers onto clean roundings

Exactness & diagnostics

  • Fixed-point quantization error is stored and surfaced
  • analyze shows a per-node rounding <residual> ≈ <approx> fragment (renamed from error to avoid colliding with the failure channel)
  • Caller-supplied inexact-handling policy with abort-on-inexact, plus a human-readable abort message

MCP surface & metadata

  • Server instructions; every tool parameter described in its inputSchema; help's section as a schema enum
  • Language reference exposed as MCP resources
  • Documented the full set of mode aliases (incl. decimal → fixed-point); bidirectional tool cross-references
  • Trove classifiers, rational keyword, glama.json

Full changelog: v0.1.0...v0.2.0