← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-tool-calculator

A safe, zero-dependency mathematical expression evaluation tool plugin for DeepSeek Harness.

Terminal & TUIDeveloper Tools
9GitHub Stars1ForksUpdated2026-09-10

Install

$ dsh plugin --profile web add github:omdsh-dev/dsh-tool-calculator

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-tool-calculator adds a dedicated math evaluation tool to DeepSeek Harness. Using a hand-written recursive descent parser rather than process spawning or unsafe JavaScript evaluation (eval/new Function), it safely evaluates arithmetic and standard elementary math functions with low latency.

Key Capabilities

  • Safely evaluates mathematical expressions using a recursive descent parser without eval or new Function
  • Supports standard arithmetic operators (+, -, *, /, %, **) with right-associative power operators
  • Includes standard math functions (sqrt, pow, log, exp, sin, cos, tan, min, max, ceil, floor, round, abs) and constants (PI, E)
  • Registers the calculator tool directly into DSH agent profiles and Code Mode SDK
  • Provides bundle patch configuration for clean profile installation via dsh plugin add

Useful For

  • Performing precise arithmetic without spawning external bash processes
  • Evaluating complex math formulas and elementary functions within DeepSeek agent workflows
  • Executing safe inline calculations in headless or web DSH sessions

Who It Fits

  • DeepSeek Harness agent developers needing reliable, low-overhead mathematical calculation tools
  • Users running automated workflows requiring secure expression parsing

Documented Limitations

  • Trigonometric functions accept angles in radians only
  • Numbers are restricted to standard JavaScript IEEE 754 double precision without arbitrary-precision integer support
  • Scientific notation (such as 1e5) is rejected at the tokenizer level
  • Operations producing NaN or Infinity (like division by zero or negative square roots) are rejected as invalid

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 6 development, 3 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
omdsh-dev/dsh-tool-calculator
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
b2007a1 · 2026-10-14

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
9GitHub stars
Forks
1
Open issues
1
Last commit
2026-09-10
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app