Babydunx1/dsh-knowledge-bridge ↗★ 0

dsh-knowledge-bridge

Give your DeepSeek Harness agent a brain: host-level knowledge vault access with zero-config discovery, three retrieval tools, and a guard against destructive shell commands. 适合需要让Agent免配置检索本地知识库,同时需要拦截危险Shell命令的安全任务。

패키지
dsh-knowledge-bridge
호환성
미검증
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 10. 8.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Babydunx1/dsh-knowledge-bridge

Configuration reference

Every key is optional; the defaults below are what a zero-config install uses.

KeyTypeDefaultMeaning
knowledgePathsstring[][] → auto-discoveryVault roots. ~ is expanded; relative paths resolve against the workspace cwd. Explicit paths win, and still combine with DSH_KNOWLEDGE_PATHS.
rulesPathsstring[]["AGENTS.md","GEMINI.md","CLAUDE.md"]Files probed at the workspace root and injected as a prompt section.
autoInjectRulesbooleantrueInject the rules section plus the one-line knowledge directive. Set false for a completely untouched prompt.
enableSafetyGuardbooleantrueEnable the destructive-command guard.
bannedPatternsstring[]see belowCase-insensitive regular expressions matched against the command string.
bannedPatterns: [
  'git\\s+reset\\s+--hard',
  'git\\s+clean\\s+-fd',
  'git\\s+restore\\s+\\.',
  'rm\\s+-rf\\s+/(?!tmp)',
]

If the vault cannot be found the plugin logs Initialized with 0 path(s) — check that line first when nothing is indexed.