ciskonc/dsh-context-imports ↗★ 0
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 适合使用 Claude Code 风格,需在会话启动时自动注入上下文的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
files | [] | 额外注入的文件(相对会话工作目录或绝对路径) |
scanImports | true | 扫描 AGENTS.md 等指令文件中的 @import 并递归展开 |
instructionFiles | ["AGENTS.md", "CLAUDE.md"] | 参与扫描的指令文件候选名(只扫描,不重注本体) |
maxDepth | 3 | @import 递归深度上限 |
maxFileBytes | 65536 | 单文件字节上限(超限截断) |
maxTotalBytes | 131072 | 总字节预算(超限省略) |
injectOn | 全部四项 | 触发注入的会话启动场景(startup / resume / clear / compact) |
template | "" | 自定义包装模板,{{content}} 标记注入内容位置;留空用语言默认 |