nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:OverToWind/dsh-grouped-sessions
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Group the sessions of a DeepSeek Harness workspace without leaving the sidebar. The workspace → session region becomes a three-level tree: open a workspace, pick a group, pick a session. Ships as a Cordis bundle plugin for the DSH web UI.
Ungrouped row holding every session that is
not filed yet.+ on a workspace row creates a group inside it; the + in
the header creates one in the workspace you are currently in. Both expand the target
workspace so the name field is always visible.⋯ menu and
pick a group. The menu is the keyboard path and the only path when the sidebar is
narrow; dragging is the shortcut. Only the plugin's own drag flavour is accepted, so
text dragged in from elsewhere is never filed.⋯ menu. Deleting a group keeps its sessions:
they fall back to Ungrouped. Renaming validates before closing the field, so an empty
name shows an inline error instead of discarding what you typed.localStorage
(dsh-session-groups.sidebar).The agent can do the same work through the session_groups tool (list, create,
rename, delete, assign), so grouping also works from a prompt.
# from GitHub
dsh plugin --profile <profile> add github:OverToWind/dsh-grouped-sessions
Or, inside a DSH session, install a local clone with
plugin_manager action=install_bundle target=<path to a local clone>.
Refresh the window after installing.
The sidebar region is a single slot (sidebar.workspaces), so the plugin swaps the
occupant's component and keeps the official one aside. Three guards:
useWorkspaces, useSessions, wide, openSession,
startSession, …) are reused rather than re-derived, so workspace and session state
stays the shell's;wide: false) renders the official region, so session browsing never disappears.| Purpose | Slot | How |
|---|---|---|
| Sidebar session region | sidebar.workspaces |
occupant component swapped, official kept as fallback |
| Group store + HTTP API | /api/dsh-grouped-sessions/{state,mutate} |
Host routes, loopback only |
| Agent tool | session_groups |
ctx.tools.register |
~/.dsh/dsh-grouped-sessions.json (or $DSH_HOME/dsh-grouped-sessions.json), served over
the plugin's own loopback routes. One small document, written atomically, safe to read or
repair by hand:
{
"version": 1,
"groups": [
{
"id": "group-…",
"workspaceId": "ws-…",
"name": "Release prep",
"order": 0,
"sessionIds": ["…"]
}
]
}
If that file does not exist yet, the Host also reads the pre-rename
~/.dsh/dsh-session-groups.json, so upgrading never loses your groups.
missing-name, unknown-group, …) and are
translated in the UI instead of leaking English into a localized sidebar.node scripts/smoke.mjs loads client.js headlessly, swaps a fake official occupant,
renders the tree and asserts the drag / menu / assign / create paths, locale parity and
that teardown restores the official component.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session。