Wilyte/dsh-codegraph-search ↗★ 0

dsh-codegraph-search

在右侧边栏提供关键词与代码图谱检索面板 适合需要在当前会话工作空间内进行高效代码搜索和浏览的开发者。

套件
dsh-codegraph-search
相容性
待驗證
Cordis 依賴範圍
>=4.0.1
版本
0.6.1
授權
MIT
最近更新
2026年10月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Wilyte/dsh-codegraph-search

Usage

  • The panel scopes to the current session's workspace automatically.
  • Enter searches; results also refresh ~250 ms after a filter or mode change.
  • Esc clears the query.
  • Switching tabs no longer re-runs the search: results, scroll position and expansion state are preserved.

Configuration

All fields optional (profile patch layer, id: code-search):

- id: code-search
  config:
    maxFiles: 5000          # hard cap on files scanned per search
    maxMatches: 300         # hard cap on total content matches
    maxLineLength: 300      # hard cap on one reported line
    maxFileBytes: 1048576   # files above this skip the content scan
    codegraphBin: codegraph # CLI used by the code graph mode
    codegraphTimeoutMs: 15000
    codegraphMaxResults: 50

Every cap is reported honestly in the status line ("file scan truncated" / "matches truncated") instead of silently dropping results.