dsh-session-ctxmenu
Manifest valid★ 1DSH plugin: right-click a session/project row in the sidebar to open its Rename/Fork/Archive menu
dsh-session-ctxmenu
Right-click a session (or project) row in the DSH web sidebar to open that row's built-in ellipsis menu — Rename / Fork / Archive for sessions, Rename / Delete for projects — instead of clicking the tiny dots button that only appears on hover.
How it works
One capture-phase contextmenu listener. When the right-click lands inside a
[role="treeitem"] row that owns an ellipsis menu anchor, the native browser
menu is suppressed and the anchor button is clicked programmatically, so the
official DSH menu opens for exactly that row. Nothing is re-implemented: same
items, same handlers, same anchor position. Rows without a menu (blank
new-session rows, search results) and clicks outside rows keep the native
behavior.
Install (into the web profile)
cd /home/sheece/dsh-plugins/dsh-session-ctxmenu
npm pack --pack-destination ~/.dsh/plugin-tarballs
Then in ~/.dsh/profiles/web/package.json add the tarball to dependencies
and dsh-session-ctxmenu to dsh.profile.bundles, run pnpm install in the
profile directory, and restart dsh web (the profile reloads patches at
startup).
Test
node --test test/client.test.mjs
中文说明 / Chinese
在 DSH Web 侧边栏中右键点击会话(或项目)行,即可直接打开该行内置的省略号 菜单 —— 会话为「重命名 / 分叉 / 归档」,项目为「重命名 / 删除」—— 不必再去找只在悬停时才出现的小圆点按钮。
实现方式:一个捕获阶段的 contextmenu 监听器。当右键落在带省略号菜单锚点的
[role="treeitem"] 行内时,抑制浏览器原生菜单并以编程方式点击锚点按钮,
官方 DSH 菜单随即针对该行打开。没有任何菜单被重新实现:条目、处理器、
锚点位置完全一致。没有菜单的行(空白新建会话行、搜索结果)与行外点击
保持原生行为。插件本身不含界面文案,菜单语言随 DSH 界面语言自动为中文。
Comments
Loading…
From the same category
by ranxianglei
基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣
★ 5.9k
↓ 848.2k/wk
MIT
TypeScript
Nov 10, 2026
dsh plugin --profile web add billion-contextA DeepSeek coding agent harness: persistent shell, Ultra subagents, auto approval, Chrome MCP and session telemetry
★ 1k
MIT
JavaScript
by Yuuyuko-uu
DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间
★ 508
MIT
JavaScript
Nov 9, 2026
dsh plugin --profile web add dsh-fish-memoryby Han-1413141
DeepSeek Harness session cost meter plugin: session/daily cost, budget, history, OpenCode Go quota, official & custom-provider balance, Codex-like token heatmap, peak/off-peak pricing with pre-switch
★ 186
↓ 26k/wk
MIT
JavaScript
Aug 25, 2026
dsh plugin --profile web add dsh-cost-meterby jadezane6634-ops
DSH 破甲插件:1,597 tok 薄内核 + 请求体级 prefill/many-shot + 拒答修补与换线 + 反撤回镜像 + 回滚。零宿主补丁,宿主升级不失效。151 项测试 / 56 条探针 / 12 类。
★ 179
MIT
JavaScript
Oct 26, 2026
by WestFox-AwA
许愿特化器 · Wish Specializer — DSH 插件:让模型更出色地,不误解你的意思地,完成你的“愿望”。在短提示词+自带的Wish预设(PTC也可以)+重度的情况下,可以起到巨大的表现增益
★ 147
BSD-3-Clause
JavaScript
Nov 7, 2026
dsh plugin --profile web add @dsh-external/dsh-arbiter-wf