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'