nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:DreamStan/dsh-archive-session
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DSH plugin for browsing archived sessions and safely deleting them.
DSH officially supports archiving sessions, but it does not provide a way to view archived sessions, close them from memory, unarchive them, or delete them. This plugin fills that gap.
archived_session_close flushes and detaches an idle session so it becomes persisted-only immediately.
| Tool | Description |
|---|---|
archived_sessions_list |
List archived sessions that still resolve to a real session. |
archived_session_close |
Close an idle in-memory archived session (flush + detach), no restart required. |
archived_session_unarchive |
Remove a session from the archive set so it becomes visible again in the sidebar. |
archived_session_delete |
Delete an archived session permanently. Requires confirm: true. |
Open DSH Web Settings and select Archived Sessions.
Each row shows:
Running, Open (idle), or PersistedAvailable actions per row:
Base path: /dsh-archive-session/api
| Method | Path | Body | Description |
|---|---|---|---|
| GET | /archived |
– | List archived sessions. |
| POST | /close |
{ "sessionId": "..." } |
Close an idle in-memory session. |
| POST | /unarchive |
{ "sessionId": "..." } |
Remove a session from the archive set. |
| POST | /delete |
{ "sessionId": "...", "confirm": true } |
Permanently delete an archived session. |
dsh CLI available, or the DSH source checkout for building.dsh plugin --profile web add dsh-external-dsh-archive-session-0.0.9.tgz
After installation, restart DSH.
git clone https://github.com/DreamStan/dsh-archive-session.git dsh-archive-session
cd dsh-archive-session
# Build host + client
bash scripts/build.sh
npm run build:client
# Pack a distributable tarball
npm pack
# Install into the web profile
dsh plugin --profile web add ./dsh-external-dsh-archive-session-0.0.9.tgz
If you use the DSH super-injector development toolchain, you can also run:
dev_build_plugin {"dir": "/absolute/path/to/dsh-archive-session"}
dev_install_package {"dir": "/absolute/path/to/dsh-archive-session"}
Add the dependency and bundle entry to ~/.dsh/profiles/web/package.json:
{
"dependencies": {
"@dsh-external/dsh-archive-session": "link:/absolute/path/to/dsh-archive-session"
},
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"@dsh-external/dsh-archive-session"
]
}
}
}
Then create the profile link:
mkdir -p ~/.dsh/profiles/web/node_modules/@dsh-external
ln -s /absolute/path/to/dsh-archive-session ~/.dsh/profiles/web/node_modules/@dsh-external/dsh-archive-session
Restart DSH.
dsh plugin --profile web remove @dsh-external/dsh-archive-session
Restart DSH after removal.
If the plugin was installed with the DSH super-injector toolchain:
dev_uninject_plugin {"match": "dsh-archive-session"}
~/.dsh/profiles/web/package.json:{
"dependencies": {
"@dsh-external/dsh-super-injector": "link:/path/to/dsh-super-injector"
},
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"@dsh-external/dsh-super-injector"
]
}
}
}
rm -f ~/.dsh/profiles/web/node_modules/@dsh-external/dsh-archive-session
If a disabled patch entry for this plugin exists in ~/.dsh/profiles/web/cordis.patch.yml, remove it.
Restart DSH.
Uninstalling the plugin does not delete archived session logs or workspace data.
archived_session_close before deleting a live-idle session.archived_session_unarchive if you want to open, close, or resume them through the normal UI.~/.dsh/sessions). SQLite backends are rejected with a clear error because DSH exposes no public deletion API for them.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session、sessions、会话。