# 第三方许可声明（Third-Party Notices）

本插件（dsh-plugin-width-slider）整合了以下 MIT 许可开源项目的能力，按
上游许可要求随分发保留其版权声明与许可文本。

## dsh-think-zh-expand

- 版权：Copyright (c) 2026 bsfeng
- 上游仓库：https://github.com/baosfeng/my-dsh-plugins
- 参考版本：v0.4.7（插件目录 LICENSE 为 MIT）
- 整合用途（v0.3.0）：思考/回复强制中文（host system prompt 注入）、
  思考块增强渲染（assistant-step 渲染器替换）、界面硬编码英文中文化。
- 本地转写文件（非逐字拷贝；类名/注册名/默认行为/降级逻辑有改动）：
  - src/client/think/thinkView.tsx —— 对应上游 lib/parts/assistant.part.js
    （渲染器/思考块；THINK_STYLES 样式常量迁移于此）
  - src/client/index.ts —— 对应上游 lib/parts/apply.part.js（装配：样式注入/
    assistant-step 渲染器注册）
  - src/client/think/uiLocalize.ts —— 对应上游 lib/parts/zh-tables.part.js
    与 zh-localize.part.js
  - src/index.ts —— 对应上游 lib/index.js（PROMPT_TEXT 与注入方式）
- 上游许可全文（原文）:

MIT License

Copyright (c) 2026 bsfeng

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

（以上文本复制自上游插件目录 LICENSE 文件原文）

---

## dsh-client-ui-custom

- 版权：Copyright (c) 2026 Yoli-mi
- 上游仓库：https://github.com/yoli-mi/dsh-client-ui-custom
- 参考版本：v0.1.0-rc.12（仓库内 dsh-client-ui-custom-main 源码副本）
- 整合用途（v0.8.0）：对话入场 / 侧边栏 / 新建对话 / 设置面板四组入场动效
  与流畅、优雅、极简三套预设；设置项并入本插件功能总控页，设置值改存本
  插件自己的 settings.json（不再占用上游的 ui-custom 设置命名空间）。
- 本地转写文件（引擎逐字迁移；仅改导入路径、CSS 模块改为注入样式表、
  设置来源改为本插件 config store）：
  - src/client/motion/motion.ts —— 对应上游 src/client/motion/motion.ts
  - src/client/motion/settingsMotion.ts —— 对应上游 settings-motion.ts
  - src/client/motion/animate.ts —— 对应上游 animate.ts
  - src/client/motion/styles.ts —— 对应上游 motion.module.css（:global() 展开）
  - src/shared/motionSettings.ts —— 对应上游 src/shared.ts 的样式常量/默认值/预设
  - src/client/locales.ts 中 groupMotion/motion*/style* 词条 —— 对应上游
    motion-locales.ts
- 上游许可全文（原文）:

MIT License

Copyright (c) 2026 Yoli-mi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

（以上文本复制自上游 LICENSE 文件原文）

---

## dsh-archived-chats（仅作实现参考，未并入代码）

- 版权：Copyright (c) 2026 Ultronen（https://github.com/Ultronen/dsh-archived-chats，MIT）
- 用途：v0.5.0 的"会话删除"host 实现参考其 deleteSession / disposeLiveSession
  删除链（会话运行态处置、数据目录定位与删除的 basename 校验、workspace
  detach 与 registry 索引清理思路）；本插件按其思路独立实现了精简的永久
  删除版本（无其回收站/快照/元数据层），相关文件：src/host/sessionDeleteService.ts。
- 依据 MIT 许可声明参考关系；不涉及代码直接拷贝的段落。

## dsh-plugin-session-delete（会话删除 client 端参考）

- 作者：lsz-asd（https://github.com/lsz-asd/dsh-plugin-session-delete，MIT，包名
  @huanlin/dsh-plugin-session-delete v0.3.1）
- 用途：v0.5.0"会话删除"的 client 交互参考——向官方会话行 ⋯ 菜单追加
  "删除会话"项（DOM 注入 [role=menu] + sessionRow.menuOpen 定位）、会话标题
  提取（行内 [class*=title]）、会话 id 解析（client sessions store 的
  exact / 去 fork 后缀 / contains 三级匹配）。本插件按其思路独立实现于
  src/client/sessionDelete.ts（UI 浮层自绘、host 走自身 /width-slider RPC）。
- 依据 MIT 许可声明参考关系。

---

本插件自身以 MIT 许可发布，见仓库根 LICENSE。
