dsh-conversation-icons
Manifest validAssign per-session duotone SVG icons and colors from the sidebar menu or a model tool, with browser-local persistence and cross-tab updates.
dsh-conversation-icons
适用于 DSH 0.2.1 系列的会话图标插件。它允许用户或模型为每个会话选择独立的 SVG 图标和颜色;配置保存在当前浏览器的 localStorage,不会写入会话正文。
![]()
产品预览:31 个双色常用图标与 18 种高辨识度颜色;实际界面会跟随 DSH 主题与布局。
功能
- 会话行前方显示已设置的彩色 SVG 图标;未设置时可从会话
…菜单进入选择器。 - 会话菜单提供 设置图标 / 切换图标 操作。
- 中文选择器内置 31 个双色层次 SVG 图标与 18 种高辨识度颜色。
- 使用原生按钮、
radiogroup/radio语义与中文aria-label,支持键盘操作。 - 恢复默认 会删除该会话的本地配置。
- 提供工具
dsh_session_icons_assign,模型可按会话 ID、图标 ID、颜色 ID 请求客户端设置图标。 - 跨标签页监听
storage事件;模型工具请求通过插件事件通道下发。
官方扩展点
客户端只使用 DSH 公共槽位:
sidebar.session.row.leadingsidebar.workspaces.session.menu.itemshell.overlay
界面使用 React 和 @deepseek-ai/dsh-client-ui-primitives 的 Modal、Button、MenuItemButton。
开发与验证
npm run check
npm pack --dry-run
npm run check 会重新生成 lib/,执行 Node 单元测试与包结构自检。
安装
dsh plugin --profile web add dsh-conversation-icons
安装或替换构建产物后,如插件管理器提示 restart-required,请完整重启对应 DSH Web profile。
数据格式
localStorage 键:dsh-session-icons:v1
{
"session-id": { "icon": "star", "color": "blue" }
}
损坏数据、未知图标或未知颜色会被安全忽略。配置不会自动跨浏览器、跨设备或跨 origin 同步。
许可
MIT
Comments
Loading…
Similar plugins
by yzke
Automatic and user-customizable Fluent-style icons for DSH Settings and sidebar actions, with offline SVG packs and original-icon preservation.
★ 2
↓ 151/wk
MIT
TypeScript
Aug 30, 2026
dsh plugin --profile web add dsh-icon-themePer-session status labels (built-in active/done/paused plus custom) shown in the sidebar, conversation header, and hover card, with editable colors.
★ 0
↓ 60/wk
dsh plugin --profile web add dsh-session-statusby idoall
该仓库暂未提供项目说明。
★ 0
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add @idoall/dsh-session-colorsby bf185003
Browser tab status indicator for dsh web: paints the document favicon from the session list (blue spinning while work runs, amber while waiting on the user, green when finished).
★ 0
MIT
TypeScript
Sep 18, 2026
dsh plugin --profile web add dsh-favicon-statusby suntianc
Adds custom icons to the DSH Settings sidebar and exposes a keyed `settings.section.icon` slot for third-party settings sections.
★ 1
MIT
TypeScript
Oct 17, 2026
dsh plugin --profile web add dsh-ui-settings-iconsby fengb3
DSH(DeepSeek Harness)Web 界面的会话标题图标插件:当模型为一次新会话生成标题时,宿主半用同一条路由发起一次辅助小请求,让模型按标题画一枚 24×24 单色 SVG 隐喻图标;浏览器半把它注入到左侧会话列表每行标题的左侧,跟随主题色。
★ 2
↓ 150/wk
MIT
TypeScript
Aug 22, 2026
dsh plugin --profile web add dsh-session-icons