@deepseek-ai/dsh-home
@deepseek-ai/dsh-home is the single owner of DeepSeek Harness home-directory resolution. resolveDshHome(configured?) returns an absolute path using this precedence:
- The explicit
configuredpath. - The
DSH_HOMEenvironment variable. - The
.dshdirectory under the current user's home directory.
The resolver reads its inputs at call time. It does not cache a result, create the directory, or mutate process.env; consumers keep ownership of their own configuration fields and pass the configured value when resolving the shared home.