supergameboy/dsh-new-session-cards ↗★ 0
dsh-new-session-cards
DSH Web client plugin: card-based new-session configuration wizard (immersive step guide) to prevent silent default configurations
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:supergameboy/dsh-new-session-cards说明文档
阅读完整 README ↗9. 构建配置的细碎坑(tsdown / tsc)
- CSS Modules 虚拟 id 必须基于 importer 解析绝对路径(
resolve(dirname(importer), source)),否则ENOENT。 - node half 要
fixedExtension: false,否则输出index.mjs而 package.json exports 指向.js。 - tsconfig
paths通配每 pattern 只能有一个*(packages/*/*/lib/types不行,要按组展开)。 - 类型检查走 DSH 源码树需要:
allowImportingTsExtensions、lib: ["ES2023"](源码用findLast)、types: ["node"]、CSS Modules 声明文件(src/css-modules.d.ts)。 - 安装
@deepseek-ai/cordis(npm 有 4.x)不是必需的:cordis 类型同样由 paths 从vendor/cordis解析。