Repository navigation
v0.2.1
dsh-session-prompt v0.2.1
适配 DSH 0.1.5-rc.x(要求 DSH ≥ 0.1.5-rc.1;更老宿主无法加载。DSH dsh-v0.1.2-alpha.1 ~ 0.1.4.x 请使用 v0.2.0,更早宿主请使用 v0.1.x)。
为什么发布本次版本
DSH 0.1.5-rc.x 从 @deepseek-ai/dsh-settings 移除了 installSettingsSection / settingsNamespace 导出(已对照已安装的 0.1.5-rc.2 副本核实,该包现仅导出 SettingsConflictError、SettingsProvider、default、redactSecrets)。旧版本宿主半区启动即触发 does not provide an export named 'installSettingsSection',导致 dsh web 崩溃、整个 profile 无法启动。
变更
- 设置命名空间改为普通字符串,注册改走
ctx.inject(['settings'], ...)+ settings 服务的installSection方法——与本宿主自带的 bash-local / web-search-deepseek 插件同一模式 peerDependencies[@deepseek-ai/dsh-settings]放宽为>=0.1.5-rc.1- README 环境要求一节同步改写(v0.2.0 面向的是 dsh-v0.1.2-alpha.1 时代)
- 客户端半区不变:
ctx.settingsScope.bind({ namespace })在本宿主仍然存在;systemPrompt.section()API 未变
安装
dsh plugin --profile <profile> add github:masknull/dsh-session-prompt
固定版本安装:
github:masknull/dsh-session-prompt#v0.2.1;本版本 tag 为v0.2.1。
License
MIT