nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:zyyu1/dsh-session-deleter
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
A DSH Web plugin that deletes sessions from the sidebar. It stops the live agent, moves the whole session log directory into a recoverable trash, and adds a Trash panel to restore, purge or empty it.
DSH itself only archives sessions (hides them); this plugin adds real, undoable deletion.
~/.dsh/session-trash/<sessionId>-<timestamp>/ with meta.json (title, original directory, workspace, archived/pinned state, size, deletion time)Built for @deepseek-ai/dsh 0.2.1-rc.5. It uses the official client slots (sidebar.workspaces.session.menu.item, sidebar.workspaces.session.row.action, shell.overlay, sidebar.panellist, main) and the official Connection admission fence, plus these internal shapes: AgentHandle.dispose, sessionPersistence.root / findLog(), WorkspaceEntity.attachSession/detachSession.
Inspired by jasonrale/dsh-archive-manager, whose 0.1.0-rc.6 client API does not load on 0.2.x.
Repository: https://github.com/zyyu1/dsh-session-deleter
git clone https://github.com/zyyu1/dsh-session-deleter
Installed on this machine as:
~/.dsh/plugins/dsh-session-deleter
~/.dsh/profiles/desktop/node_modules/dsh-session-deleter -> junction to the above
~/.dsh/profiles/desktop/package.json # "dsh-session-deleter": "link:..."
~/.dsh/profiles/desktop/cordis.patch.yml # insert row; inject includes webServer
To update, overwrite lib/index.js, lib/client.js and package.json in
~/.dsh/plugins/dsh-session-deleter/, then reload the page once (Ctrl+R) to
pick up a new client bundle.
For a fresh install: copy this package to ~/.dsh/plugins/, add the link:
dependency to the profile, run pnpm install, add the insert row from
cordis.patch.yml (with webServer in inject), and reload.
webServeris required: 0.2.1'sconnection.rpc.handlescopes its channel to the Connection service fiber, which does not injectwebServerand therefore always throws. This plugin registers/session-deleterdirectly throughctx.webServer.registerand reusesctx.connection.admit()for browser authentication and the Host/Origin fence.
~/.dsh/
sessions/
session-trash/
<sessionId>-<timestamp>/
meta.json
session/
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session-management。