JohnXu22786/docs-retriever0

doctrove

面向编码 agent 的版本化库文档检索:检索文档目录、选择版本、按主题提取带相关度排序的文档片段。以 MCP stdio server 形式运行,零运行时依赖,可被 dsh 等插件化 harness 加载

AI 분석

核心用途是让 Agent 能够检索文档目录、选择库版本并提取相关度排序的文档片段。适合需要 Agent 查阅第三方库 API 文档以辅助编码的开发任务。

패키지
doctrove
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/docs-retriever

Configuration reference

Precedence: command line > environment variables > config file > defaults.

SettingCLIEnvironment variableConfig file keyDefault
Remote index URL--index-url DOCTROVE_INDEX_URLindexUrlnone (offline)
Local index path`--local-index
`DOCTROVE_LOCAL_INDEXlocalIndexbuilt-in data/index.json
Cache lifetime (s)--cache-ttl / --no-cacheDOCTROVE_CACHE_TTLcacheTtl600
Remote timeout (ms)--timeout-ms DOCTROVE_TIMEOUT_MStimeoutMs15000
Debug logging--debugDOCTROVE_DEBUGdebugfalse
Config file`--config
`DOCTROVE_CONFIGnone

The config file is JSON (example: examples/doctrove.config.example.json). All configuration is read-only: the plugin performs no writes and persists no local state. Empty-string environment variables count as unset (defaults apply); cacheTtl: 0 is a valid value (cache disabled).