ciskonc/dsh-context-imports ↗★ 6
dsh-context-imports
Claude Code-style @path imports for DSH: expands @imports in AGENTS.md/CLAUDE.md and injects the referenced files into model context at session start 适合使用特定说明文件并希望自动关联本地代码上下文的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ciskonc/dsh-context-importsドキュメント
README 全文を読む ↗Configuration
| Field | Default | Description |
|---|---|---|
files | [] | Extra files to inject, relative to the session working directory or absolute |
scanImports | true | Scan AGENTS.md and the other instruction files for @imports |
instructionFiles | ["AGENTS.md", "CLAUDE.md"] | Files to scan. They are never re-injected themselves |
maxDepth | 3 | How many levels of nested imports to follow |
maxFileBytes | 65536 | Per-file cap in bytes; larger files are truncated |
maxTotalBytes | 131072 | Total budget; files beyond it are skipped with a note |
injectOn | all four | Which session-start scenes trigger injection |
template | "" | Custom wrapper text. {{content}} marks where the files go; empty uses the plain wrapper |