dsh-wsl-struct
其他 活跃维护

dsh-wsl-struct

173787247/dsh-wsl-struct

在沙箱中封装 jq、yq 与只读 sqlite3,限制文件系统与网络访问,只提供解析查询能力。无需额外配置即可对 JSON、YAML、XML 及 SQLite 数据库执行只读操作,兼顾灵活与安全。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
20 KB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:173787247/dsh-wsl-struct
git clone https://github.com/173787247/dsh-wsl-struct.git
git clone git@github.com:173787247/dsh-wsl-struct.git
README.md master

dsh-wsl-struct

语言: 中文(本页) · English

沙箱化 jq / yq / sqlite3(只读 SELECT)。

版本 0.1.0
套件 dsh-wsl-kit 可选,不在 install.sh

安装

dsh plugin --profile web add github:173787247/dsh-wsl-struct
# 或本机 path:
# dsh plugin --profile web add /mnt/c/Users/YOU/Desktop/AIFullStackDevelopment/dsh-wsl-struct

kit 批量链接(可选):bash dsh-wsl-kit/scripts/link-linux-plugins.sh

工具

工具 作用
struct_status CLI 是否在 PATH
struct_jq jq 过滤
struct_yq yq 查询
struct_sqlite 只读 SQL

配置要点

allowRoots / timeoutMs

默认根:$HOME、~/.dsh、/tmp。禁止破坏性 SQL。

兼容性

字段 值
插件 dsh-wsl-struct 0.1.0
最低 dsh ≥ 0.1.2(Web UI 一次性 ?token=,Windows 中继 :3081)
最新验证 以 dsh-wsl-kit 兼容性 为准(当前 0.2.0-rc.2)— 套件唯一真源
套件档位 可选(默认不在 install.sh / KIT_SET=daily)

License

MIT