nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:879745uhjun/dsh-session-boxes
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Custom-named session boxes and one-level sub-boxes for the DeepSeek Harness workspace sidebar.
English | 中文
Sessions in one workspace can be classified into named, colored boxes without changing the workspace they belong to. A top-level box can contain one level of sub-boxes (folders), so “前端” can hold “组件” and “构建” inside it. The native sidebar rows keep their stars, status dots, hover cards, pin and archive actions, and menus; the plugin inserts collapsible box headers between the rows and orders the rows under those headers.
A session lives in exactly one box or sub-box at a time. Moving it elsewhere removes it from the previous box, so it never appears twice and no mirrored rows are needed.
★ 4.2 (average stars of its members) and ☑ 3/7 (completed / total todos) when dsh-session-stars and dsh-session-todos are installed. A parent box includes its sub-box members. Segments with no data are omitted; a 404, 1.5 s timeout, or bad JSON hides them and leaves the header unchanged. The routes are read-only same-origin GETs; the other plugins are never imported.count, pinned, subs, stars, todos, add, and menu. The chevron is always kept; Compact mode keeps only chevron + count + menu. The manager edits the global header and can make all boxes follow it. A missing header/override means follow-global (all items by default); invalid values fall back to the default.+, rename/recolor/reorder/delete, and open a box's settings.--dshc-* variables (:root for light, body[data-ds-dark-theme] for dark); headers, dots, and drop indicators use var(--dsb-color, var(--dshc-gray)). Dark headers raise the overlay mix (18%→24%, 45%→52%) while light keeps 18%/45%. Buttons, inputs, and badges use the DSH theme tokens.~/.dsh/session-boxes.json on the Host.session_boxes can list, create (with parentId), rename, delete, move, assign, pin, unpin, collapse, read/write each box's header/headerOverride, and update the global header with setGlobalHeader.Blank New Session rows, and pinned sessions that have no box, stay on top. A pinned session that belongs to a box is shown inside that box and sorts first, keeping its native pin marker. The native “Show more” watermark expands automatically while boxes are in use; choosing “Show less” yourself is respected.
This package is a DSH bundle (dsh.bundle.patch). Install the directory with the Plugin Manager:
plugin_manager with action: install_bundle and the absolute package path).... menu → Box settings → Move to session box… → choose one box or sub-box (or Ungrouped). A new top-level box can be created from the same dialog.+ on a top-level row to create a sub-box; “设置” opens name, color, parent, order, delete, members, and pin controls.... menu → Box settings → Pin inside ⋯ settings and click the pin at the right of a member. The session moves to the top of that box only; the same submenu offers Unpin inside ~/.dsh/session-boxes.json:
{
"version": 1,
"header": { "count": true, "pinned": true, "subs": true, "stars": true, "todos": true, "add": true, "menu": true },
"boxes": [
{ "id": "b_ab12cd34ef", "name": "前端", "color": "blue", "collapsed": false, "parentId": null, "order": 0 },
{ "id": "b_ff00aa11bb", "name": "组件", "color": "green", "collapsed": false, "parentId": "b_ab12cd34ef", "order": 1, "header": { "count": true, "pinned": true, "subs": true, "stars": false, "todos": false, "add": true, "menu": true }, "headerOverride": true }
],
"memberships": { "session-…": ["b_ff00aa11bb"] },
"pins": { "b_ff00aa11bb": ["session-…"] },
"ungroupedCollapsed": false
}
npm test # Host store/route/tool + grouping and aggregate badges in Chromium (Playwright)
The Host test covers the durable store, one-level tree validation, promotion on delete, sibling moves, per-box pins, validation, the JSON route, the cross-origin fence, the agent tool, and persistence across remounts. The DOM test loads the real client.js with a stubbed Module Loader and a mock sidebar that mirrors the ui-workspace markup, including its hover-card wrapper.
dsh plugin --profile desktop add github:879745uhjun/dsh-session-boxes
Reload the Web UI page after installing.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sessions。