huuthuan-nguyen/dsh-tgrep ↗★ 0

dsh-tgrep

Shadow built-in grep with Microsoft tgrep (trigram-indexed search) for DeepSeek Harness 适合需要在DSH中替代默认grep以实现更高效代码搜索的用户。

패키지
dsh-tgrep
호환성
미검증
Harness peer 범위
*
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 9. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:huuthuan-nguyen/dsh-tgrep

Configuration

When installed, dsh-tgrep contributes a default configuration layer. You can customize settings in your profile's cordis.patch.yml or $DSH_HOME/cordis.patch.yml:

- insert:
    - id: tgrep
      name: dsh-tgrep
      config:
        # Enable or disable the plugin
        enabled: true
        # Prefer connecting to a running tgrep serve instance or local index
        preferServer: true
        # Soft limit on returned matches (model context protection)
        maxLines: 300
        # Extra CLI flags passed to tgrep (e.g. ["--hidden"])
        extraArgs: []