From 408b003bad65f23592ea9ea9fc328bd6e1456312 Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:05:45 +0800 Subject: [PATCH] feat: use DSH_HOME for storages --- apps/cli/config/web.cordis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/cli/config/web.cordis.yml b/apps/cli/config/web.cordis.yml index a67d95ff6b..f1c050c617 100644 --- a/apps/cli/config/web.cordis.yml +++ b/apps/cli/config/web.cordis.yml @@ -97,7 +97,8 @@ - id: storage-json name: '@deepseek-ai/dsh-storage-json' config: - root: './.storages' + root: !!js >- + (() => { const path = process.getBuiltinModule('node:path'); const home = process.getBuiltinModule('node:os').homedir(); const configured = process.env.DSH_HOME; const selected = configured !== undefined && configured.trim().length > 0 ? configured : path.join(home, '.dsh'); const expanded = selected === '~' ? home : selected.startsWith('~/') || selected.startsWith('~\\') ? path.join(home, selected.slice(2)) : selected; return path.join(path.resolve(expanded), 'storages') })() - id: storage-domain name: '@deepseek-ai/dsh-storage-domain'