Back to catalog

lengrufeng2008 /

lengrufeng2008/dsh-env-doctor

Verified

Local first-run environment checks for DSH: Node, DSH_HOME, profile files, writability, sessions, and API-key presence.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@e7f14c79

Env Doctor for DSH

First-run environment checks: Node, DSH_HOME, writability, profile files, sessions, and API-key presence. Local-only; no network, no key value read.

Use

node bin/dsh-env-doctor.mjs --home ~/.dsh --profile web
node bin/dsh-env-doctor.mjs --json

In DSH:

Use env_doctor with profile=web.

Checks

  • Node major ≥ 20
  • DSH_HOME exists and is writable
  • profiles/<name>/cordis.patch.yml and package.json
  • sessions directory
  • DEEPSEEK_API_KEY presence

Limits

  • No provider auth probe, network, plugin execution, or repair.
  • Layout may differ across DSH versions.
  • Presence of a key is not proof that it is valid.

Tests

npm test

Provenance

A small independent environment check. License: MIT.

—/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.