omdsh-dev/dsh-tool-json:DSH JSON 查询工具插件

`omdsh-dev/dsh-tool-json` 是一款为 DSH 插件开发的轻量级只读 JSON 查询工具,MIT 许可。它提供名为 `json` 的工具,通过自定义的 JMESPath-inspired 路径子集从 JSON 值或字符串中精准提取字段,避免字符串搜索混淆或引入完整查询引擎的高成本。 核心功能支持点号访问、数组索引、特殊字符 key 访问及数组通配符投影。该插件有意限制查询范围,不支持过滤器、管道、函数调用或对象字段枚举,且多级通配符返回嵌套数组而非扁平化结果。安全方面,采用手写解析器避免 `eval`,防止原型链污染,并设有查询长度、深度及元素数量等资源上限。 安装需适配

Read More
Query 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