DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-hide-buttons

j

dsh-hide-buttons

Manifest valid

Hide the conversation-header utility buttons (Session log export) and the sidebar plugin-market launcher by injecting CSS — no layout or behavior changes.

UI (client)

dsh-hide-buttons

Hide the conversation-header utility buttons and the sidebar plugin-market launcher with injected CSS — appearance only, no layout or behavioral change.

用注入的 CSS 隐藏会话头部右侧的 utility 按钮组(含 Session log 导出)与侧栏底部的插件市场启动按钮;纯外观,不改布局与行为。

license


它隐藏什么

目标选择器说明
会话头部 utilities 容器[class$="_headerUtilities"]官方把 Session log 等按钮渲染在这个容器里;CSS Modules 的哈希前缀随前端构建变化,但 _headerUtilities 后缀恒定,所以按属性后缀命中容器
导出按钮(后备规则).session-log-download万一按钮移到容器外,仍按原类名隐藏
侧栏底部「插件市场」启动按钮.dshMarketLauncher固定字面量类名(非哈希),可直接命中。市场功能本身不受影响:设置 → 插件 → 市场 tab 照样能用

注入是幂等的:<style id="dsh-hide-buttons-style"> 已存在就直接返回。要恢复原样,删掉插件的 cordis 行即可(不用重启应用,刷新页面即可)。

安装

两种装法任选其一(都会往 profile 的 dependencies 加一项,再配一行 insert):

# ① npm(快,走 registry)
dsh plugin --profile <profile> add dsh-hide-buttons

# ② GitHub(源码直装,跟随 main 分支)
dsh plugin --profile <profile> add github:jipika/dsh-hide-buttons
# ~/.dsh/profiles/<profile>/cordis.patch.yml
- insert:
    - id: dsh-hide-buttons
      name: dsh-hide-buttons

desktop profile 被 Electron 独占(CLI 子命令会被拒),需手改 package.json + pnpm install; 改 client 半边必须重启应用(client bundle 在 host 启动时读进内存,刷新页面无效)。

实现

dsh-hide-buttons
  ├─ lib/index.js   host 半边:空 apply(),只为让 cordis 行能挂载 client bundle
  └─ lib/client.js  浏览器半边:__ModuleLoader__.load → 注入一段 <style>

client 半边 inject = [],不注册任何 slot,也不碰官方 DOM 结构 —— 只追加一个 <style> 元素。

已知限制

  • 依赖官方类名(_headerUtilities 后缀 / .dshMarketLauncher 字面量),前端大改即可能失效。
  • 用 display: none !important 隐藏整个 utilities 容器,所以同容器里的其它按钮会一起消失 (这是刻意的:只留主操作,去掉杂项)。
  • 只做减法:想单独控制某一个按钮,需要改选择器。

License

MIT © 2026 jipika

Comments

Loading…

Similar plugins

dsh-hidden-session

by xthreehao

DSH(DeepSeek Harness)隐藏会话插件:把会话从侧边栏隐藏、可随时恢复。免构建零依赖,契约取自运行中的 0.2.0-rc.2。

Manifest valid

★ 0

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-hidden-session

by AKS1st

Archived conversations list in the sidebar footer with read-only previews of the most recent messages, for sessions the product deliberately keeps hidden and unreopenable.

Sessions & MessagesTerminal & ClientsDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-archived-conversations

by supergameboy

dsh web conversation plugin: fold runtime activity into expandable boxes, chat bubbles, deep customization (fork of dsh-client-ui-conversation)

Manifest valid

★ 0

JavaScript

Sep 10, 2026

dsh plugin --profile web add dsh-chat-focus

by lsz-asd

Delete DeepSeek Harness sessions from the UI: header danger button + sidebar session-row menu item (no conversation jump), risk-consent dialog with session name/id, stops running agents first, in-plac

Sessions & MessagesManifest valid

★ 39

JavaScript

Aug 14, 2026

dsh plugin --profile web add @huanlin/dsh-plugin-session-delete

by fountunt

为 DeepSeek Harness 提供会话删除能力,支持侧边栏 ⋮ 菜单入口

Sessions & MessagesManifest valid

★ 6

↓ 178/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-session-cleaner

by lvzhiyuan0308

A DSH plugin for deleting a sidebar conversation after confirmation

Manifest valid

★ 0

JavaScript

Oct 4, 2026

dsh plugin --profile web add dsh_session_delete