nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:879745uhjun/dsh-session-quickbar
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
One configurable quick-action strip on the right of every Session row in the DeepSeek Harness sidebar — plus a two-way channel between that strip and the Sessions that author plugins.
sidebar.workspaces.session.row.action and, in takeover mode (the default), hides the other entries in the same seat while it is present. What you configure is what the row shows, instead of whatever order the installed plugins happened to register in.session-stars route; the todo square reads and writes the session-todos route; pin and archive go through the public uiWorkspace service (a Session that is still working gets the same stop-and-archive confirmation). Copy ID is available but hidden by default.session-quickbar.json.session_quickbar action=plugins returns the same survey to agents.session_quickbar (Host tool) lets any Session read or change a layout, register the button it is building, subscribe to changes, and message another Session. Every layout change is injected into subscribed Sessions as one short message, and registered owners hear where their button landed. Those Sessions answer with notify, so the bar and the Sessions that maintain it can talk both ways.sidebar row (hovered)
┌──────────────────────────────────────────────────────────────┐
│ ● 会话标题 … ★ ☑ ▣ 📌 │
└──────────────────────────────────────────────────────────────┘
Quick bar, order from the settings page
Settings page: left panel list → 快捷栏, or the Session row menu → 快捷栏设置….
Open the settings page:
The layout file is session-quickbar.json under $DSH_HOME. Deleting it restores the defaults. Turn the plugin off and the strip disappears; the star and todo plugins keep their own buttons.
While the strip is present and takeover is on, the CSS rule hides the other entries in the same slot — including the host's archive and pin buttons, which the bar re-draws itself. If the bar ever fails to render (or the plugin is disabled), the rule is inert and the original entries return. Set takeover off in the settings page to keep both sets (useful while a plugin has not migrated yet).
Any client plugin can contribute a button without touching this package:
const dispose = window.dshSessionQuickbar.register({
id: 'my-button',
owner: 'my-plugin', // optional package name, shown as Registered on the survey
labels: { zh: '我的按钮', en: 'My button' },
hint: { zh: '一句话说明', en: 'One-line hint' },
order: 120,
icon: 'M3 8h10', // 16×16 path data, optional when Component is set
isActive: (sessionId) => false,
onActivate: (sessionId) => { /* … */ },
subscribe: (listener) => { /* call listener when isActive changes */ return () => {} },
})
Call dispose() when your plugin unloads. star, todo, archive, pin, and copy-id are reserved. A component instead of onActivate is also accepted (Component: ({ sessionId }) => …). The registration is reported to the Host registry so authoring Sessions and the session_quickbar tool can see it.
The full contract, including the Host tool and the migration steps for a plugin that already draws its own row button, is in CONTRACT.md.
notify also wakes a loaded idle Session by default (wake: false queues silently), while layout change notices never wake one.dsh plugin --profile desktop add github:879745uhjun/dsh-session-quickbar
Reload the Web UI page after installing.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session。