omdsh-dev/dsh-tool-json: DSH JSON Query Tool Plugin
`omdsh-dev/dsh-tool-json` is a lightweight, read-only JSON query tool developed for DSH plugins, licensed under the MIT License. It provides a tool named `json` that precisely extracts fields from JSON values or strings using a custom JMESPath-inspired path subset, avoiding the confusion of string searching or the high cost of a full query engine. Core features support dot notation access, array indexing, access to keys with special characters, and array wildcard projection. The plugin intentionally limits query scope, does not support filters, pipes, function calls, or object field enumeration, and multi-level wildcards return nested arrays rather than flattened results. Regarding security, it employs a hand-written parser to avoid `eval`, prevents prototype chain pollution, and sets resource limits on query length, depth, and element count. Installation requires adaptation.
Read MoreQuery JSON by Path in DeepSeek Harness with dsh-tool-json
`dsh-tool-json` is a DeepSeek Harness community plugin maintained by omdsh-dev, which provides agents with a structured query tool named `json`. It implements a JMESPath-style path subset using a zero-dependency recursive descent parser, supporting dot notation, bracket indexing, quoted attributes and array wildcard projections, avoiding false matches from `grep` or repeatedly spawning `jq`. The installation shall be subject to the directory page: `dsh plugin add github:omdsh-dev/dsh-tool-json`. The plugin is read-only without filters or pipes, and runs with the permissions of the current dsh process. You should check the source code and the MIT license before installation.
Read More