dsh-jev-grep
Search-flood adjudication for DeepSeek Harness: a jev_search tool that runs ripgrep and pipes every hit through TypeSafe Jev's typed judgments (noul/choice) so the model reads ~30 calibrated rows instead of hundreds; a flood nudge on grep results; provider url/key/model fully configurable; degrades to plain grep behavior whenever the endpoint is unreachable. Host-half only, zero npm dependencies, cross-platform (Win/mac/Linux). 适合在大型项目中进行代码搜索,需要过滤冗余命中以节省 Token 的用户。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗配置
~/.dsh/dsh-jev-grep/settings.json(缺省即默认值;也可全走 POST /dsh-jev-grep/settings):
{
"enabled": true,
"url": "https://opencode.ai/zen/v1/systemone", // 任何 systemone 形状端点
"model": "jev-1.13-free", // Zen 免费档;官方用 jev-latest
"key": "", // 空 → ~/.config/jev/key → env JEV_API_KEY
"timeoutMs": 20000,
"minMatchesForNudge": 120, // grep 命中行数超它才 nudge
"maxCandidates": 2000, // 单次裁决候选上限
"tokenBudget": 40000, // 每次 API 调用的输入 token 预算
"concurrency": 4,
"cutP": 0.7, // noul 默认 cut
"topRows": 30, // 文本输出最多展示行数
"nudgeEnabled": true,
"rgPath": "" // 空 → 自动探测宿主 ripgrep → PATH
}
key 建议落
~/.config/jev/key(与 jev CLI 共用),别写进 settings.json——后者更可能被同步/备份。settings.json 里的 key 只会在GET /dsh-jev-grep回显指纹,绝不回显明文。