@gausszhou/dsh-where-am-i
Inject a neofetch-like device info block (host, OS, kernel, arch, CPU, memory, uptime, timezone, locale, shell, node) into each brand-new DeepSeek Harness session once; existing sessions are untouched. 适合希望代理了解本机环境的用户;仅新会话生效,安装后需重启。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gausszhou/dsh-where-am-iドキュメント
README 全文を読む ↗Usage
Install into a dsh profile (once published, by package name):
dsh plugin --profile web add "@gausszhou/dsh-where-am-i"
For local development use a link dependency (same pattern as
dsh-opencode-session-id): add "@gausszhou/dsh-where-am-i": "link:/home/gauss/Code/gausszhou/dsh-where-am-i" to
~/.dsh/profiles/web/package.json dependencies and list it in
dsh.profile.bundles; the plugin's own cordis.patch.yml (via
dsh.bundle.patch) performs the insert.
After installing, restart dsh web (systemctl --user restart dsh-web) so
the bundle takes effect. Zero configuration needed.
Configuration
All options are optional, with the defaults shown:
| Key | Default | Meaning |
|---|---|---|
fields | all 13 | emit only the listed field lines, in the default order, e.g. [os, arch, timezone]; unknown names are dropped; an empty-after-filter list falls back to all |
includeSubagents | false | when true, also inject into subagent sessions (skipped by default to avoid repeating per fan-out) |
verbose | false | print the injected snapshot to stdout (visible via journalctl -u dsh-web on a web deployment) |
Field list (emission order): host user os kernel arch cpu
memory uptime timezone locale shell term node. Fields that
cannot be sampled (e.g. shell on Windows without a SHELL variable) are
omitted automatically.