supergameboy/dsh-new-session-cards0

dsh-new-session-cards

DSH Web client plugin: card-based new-session configuration wizard (immersive step guide) to prevent silent default configurations

包名
dsh-new-session-cards
版本
0.1.0
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:supergameboy/dsh-new-session-cards

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 源码树需要:allowImportingTsExtensionslib: ["ES2023"](源码用 findLast)、types: ["node"]、CSS Modules 声明文件(src/css-modules.d.ts)。
  • 安装 @deepseek-ai/cordis(npm 有 4.x)不是必需的:cordis 类型同样由 paths 从 vendor/cordis 解析。