dsh-context-imports

Reads the files that AGENTS.md references with @path imports and injects their content into model context, with byte budgets, compaction re-seeding and a six-language settings card. v0.7.0 expands the imports of every instruction file the harness loaded (including a project AGENTS.md picked up mid-session), supports quoted @"paths with spaces", decodes GBK/ANSI files via GB18030, reports ignored or depth-limited references explicitly, and offers an opt-in live mode (off by default) that watches injected files, re-injects on change and can wake only the session you used last (needs DSH 0.2.0+; use 0.2.x on DSH 0.1.7).

Overview

Reads the files that AGENTS.md references with @path imports and injects their content into model context, with byte budgets, compaction re-seeding and a six-language settings card. v0.7.0 expands the imports of every instruction file the harness loaded (including a project AGENTS.md picked up mid-session), supports quoted @"paths with spaces", decodes GBK/ANSI files via GB18030, reports ignored or depth-limited references explicitly, and offers an opt-in live mode (off by default) that watches injected files, re-injects on change and can wake only the session you used last (needs DSH 0.2.0+; use 0.2.x on DSH 0.1.7).

Installation

Install from npm

dsh plugin --profile web add dsh-context-imports

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:ciskonc/dsh-context-imports

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Independent install test

Install result
Installed and registered
Tested Harness version
0.2.2-rc.5
Tested plugin version
Not reported
Test date