YYTbit / dsh-plugin-rag

목록에 있음

Local knowledge base RAG for DeepSeek Harness

master기타 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:YYTbit/dsh-plugin-rag

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 28f9b84동기화 2026. 8. 18.

dsh-plugin-rag

Local knowledge base RAG for DeepSeek Harness.

What it does

Indexes project files (markdown, code, configs) and provides keyword search to find relevant context. No external APIs or embedding models needed -- pure local TF-IDF search.

Install

dsh plugin --profile your-profile add dsh-plugin-rag

CLI

# Search for relevant files
rag "authentication" ./src

# Show index stats
rag --index ./src ./docs

What gets indexed

  • Markdown (.md, .txt)
  • Code (.ts, .js, .py, .rs, .go, .java, .c, .cpp)
  • Config (.json, .yaml, .toml, .env)
  • Docs (.html, .xml, .sql, .graphql)

Skips: node_modules, .git, dist, build, pycache

Configuration

- id: rag
  name: dsh-plugin-rag
  config:
    indexPaths: ['.']
    maxResults: 3
    maxBytes: 4096
    enableInjection: true

How it works

  1. Scans directories for text files
  2. Builds a keyword index (TF-IDF scoring)
  3. Injects index stats into system prompt
  4. Agent uses CLI to search when needed

No embedding models, no external APIs, no heavy dependencies.

License

MIT -- YYTbit

저장소 정보

언어
TypeScript
라이선스
MIT
마지막 업데이트
2026. 8. 14. 오전 7:49

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.