chore: v0.10.0 npm 发布准备
- @deepseek-ai/* 依赖换为实际发布版本(dsh-* ^0.1.0-rc.6、cordis ^4.0.1), 补齐 dsh-client-locale peer/dev 声明(对齐 dsh.client.inject) - pnpm-lock.yaml 重新生成(移除旧 0.0.1-rc.1 图;锁文件不再引用未公开的 dsh-type-meta) - pnpm-workspace.yaml 补 minimumReleaseAgeExclude 新版本条目 - src/context-types.ts 增加 @deepseek-ai/cordis 双 augmentation - package.json 发布脚手架:publishConfig.access、prepublishOnly、files 含 README_EN/LICENSE - README 版本注释同步(^0.1.0-rc.6 / dsh@0.1.0-rc.6)
This commit is contained in:
@@ -428,4 +428,18 @@ declare module 'cordis' {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Dual cordis-scope augmentation: DSH's runtime (and the public packages)
|
||||
* resolve against the vendored `@deepseek-ai/cordis` scope, which DSH's own
|
||||
* packages already augment with `effect`/`on`/service members. This side only
|
||||
* adds the sidebar service member so consumers importing `Context` from
|
||||
* `@deepseek-ai/cordis` (instead of the public `cordis` above) still see
|
||||
* `ctx.betterSidebar`.
|
||||
*/
|
||||
declare module '@deepseek-ai/cordis' {
|
||||
interface Context {
|
||||
betterSidebar: BetterSidebarService
|
||||
}
|
||||
}
|
||||
|
||||
export type { Context }
|
||||
|
||||
Reference in New Issue
Block a user