hfyydd/dsh-goz0

dsh-goz

Everything-class whole-disk file lookup for DeepSeek Harness, backed by the goz engine (MFT filename index). Lets the agent answer "where is that file" across projects in milliseconds.

包名
dsh-goz
版本
0.1.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hfyydd/dsh-goz

配置

插件通过 Cordis patch 文件配置,所有字段可选:

- id: goz
  name: dsh-goz
  config:
    defaultMax: 50            # 默认结果上限(模型未传 max 时)
    timeoutMs: 15000          # 工具调用协作式超时(毫秒)
    binDir: ""                # goz.exe 所在目录;留空用插件内 vendor/
    allowedRoots:             # 白名单目录;超出需用户审批(见安全模型)
      - "C:\\Users\\me\\Documents"
      - "D:\\projects"
配置键默认值含义
defaultMax50模型省略 max 时的结果上限;z.number().step(1).min(1)
timeoutMs15000附加到工具定义的协作式工具调用预算;min(1000)。subprocess seam 在预算之外另有 2s 终止升级宽限
binDir插件 vendor/自定义 goz.exe / gozd.exe 所在目录(绝对路径);留空用打包二进制
allowedRoots空(无审批)白名单目录数组;相对路径按会话工作目录解析

启停

插件列表页是只读投影,启停的唯一事实源是 profile 的 cordis.patch.yml,用同 id 条目覆盖:

- id: goz
  disabled: true   # 停用;去掉该行或改为 false 重新启用

loader 支持热重载,改完保存即生效,无需重启 dsh。