XHXnb123/dsh-plugin-archive-reader ↗★ 1

dsh-plugin-archive-reader

只读地翻看 asar / zip 归档内部:列条目、读单个条目、按正则搜内容。零依赖、纯只读,不写盘。 适合需要让AI安全地检索压缩包内文件而无需手动解压的用户。

Package
dsh-plugin-archive-reader
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Oct 8, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:XHXnb123/dsh-plugin-archive-reader

配置

cordis.patch.yml 里该行的 config 支持以下字段(都会被常量硬上限夹住):

字段默认含义
maxEntries200archive_list 默认返回条目数
hardMaxEntries5000单次调用可请求的条目上限
maxReadBytes65536archive_read 默认返回字节数
hardMaxReadBytes1048576单次可请求的字节上限
maxMatches50archive_grep 默认命中行数
hardMaxMatches500单次可请求的命中上限
maxEntryBytes4 MBarchive_grep 跳过的单条目大小
maxScanBytes64 MBarchive_grep 的总扫描预算
maxLineChars400单行匹配文本的最大长度
timeoutMs30000三个工具的工具级超时