gwj001/arch-lens--packages-code-index2

@deepseek-ai/dsh-code-index

Code-index capability seam: language-aware workspace entity/import extraction contract powering precise architecture graphs and code-grounded explains

AI 분석

核心用途是作为代码分析的通用接口规范。适合需要开发自定义语言解析器或对接 Arch Lens 架构分析工具的开发者。

패키지
@deepseek-ai/dsh-code-index
버전
0.1.0-rc.1
라이선스
MIT
최근 업데이트
2026. 9. 7.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

@deepseek-ai/dsh-code-index

Code-index capability seam: language-aware workspace entity/import extraction contract. Consumers (arch-lens graphs, code-grounded explains, future code search) read only this contract; providers implement it per language.

Model Experience

  • Model-visible inputs: none by itself — this package is a host-side contract. Providers and consumers decide what reaches a model request.
  • Token effects: none. Indexing is offline rule/AST work; no LLM calls.
  • KV-cache effects: none.

Role in the seam

  • Service Definition (ctx.codeIndex): indexWorkspace(root) → packages, entities, imports, composition, primary language.
  • Provider: @deepseek-ai/dsh-code-index-tree-sitter (tree-sitter AST extraction for TypeScript/Python/Java).
  • Consumer: @deepseek-ai/dsh-arch-lens-backend (precise dependency/ER graphs and code-grounded explain prompts).

Known Limitations and Deferred Work

  • Syntax-level only: cross-file semantic resolution (which class a call binds to) is derived from the import graph by consumers, never from a language server.
  • LSP-backed semantic indexing is deliberately deferred (process weight, per-language servers) unless a future consumer proves it necessary.