nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:6HOLLIS/dsh-session-manager
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Permanent session deletion and folder-aware archive management for DeepSeek Harness Web UI.
[!WARNING] Deletion is permanent. This project is an unofficial community extension. Release
0.1.1supports DeepSeek Harness0.1.0-rc.6and0.1.1-rc.2.
The original plugin needed two integration patches:
WorkspaceRegistry.unarchiveSession(id).Deletion initially removed files and cache entries but could leave a live in-memory session. DSH would list that object again as ungrouped, and teardown could flush it back to storage. The fix therefore adds:
AgentRegistry.dispose(id), allowing deletion to stop and drain the live Agent/Session before removing disk data.The permanent-deletion order is now:
stop and drain live Agent/Session
-> delete persisted session directory
-> delete projection cache
-> detach workspace membership
-> remove archive membership
| Component | Supported version |
|---|---|
| DeepSeek Harness | 0.1.0-rc.6, 0.1.1-rc.2 |
| Platform installer | Windows PowerShell / PowerShell 7 |
| Manual installation | Other platforms, unverified |
The installer detects the installed DSH version, selects its matching patch bundle and backup allowlist, and fails before making changes if package versions or patch contexts do not match.
Close DSH, then run:
git clone https://github.com/6HOLLIS/dsh-session-manager.git
cd dsh-session-manager
pwsh -File .\scripts\install.ps1
If DSH is not discoverable in the npm npx cache, pass the node_modules directory explicitly:
pwsh -File .\scripts\install.ps1 -DshPackageRoot 'C:\path\to\node_modules'
Restart DSH after installation. The installer:
~/.dsh/backups/dsh-session-manager/;Close DSH, then run:
pwsh -File .\scripts\uninstall.ps1
The uninstaller refuses to overwrite files changed after installation. Review those changes before using -Force.
-DshPackageRoot shown in the error. The installer never guesses between multiple npx caches.0.1.0-rc.6 and 0.1.1-rc.2; do not force either patch bundle onto another version.-Force. It cannot bypass backup-integrity checks. Preserve ~/.dsh/backups/dsh-session-manager/ and restore from a known-good copy.-Force only permits replacing changed installed files after all backups pass integrity checks.patches/dsh-<version>/ directory at the DSH node_modules root.plugin/ to ~/.dsh/profiles/web/dsh-session-manage/."dsh-session-manage": "file:./dsh-session-manage" to the web profile dependencies."dsh-session-manage" to dsh.profile.bundles.~/.dsh/profiles/node_modules/dsh-session-manage.npm ci
npm test
npm run check
pwsh -File .\tests\install-roundtrip.test.ps1
The installer round-trip test downloads pristine packages for both supported DSH versions into temporary directories, installs the plugin, uninstalls it, and verifies that every original file hash is restored.
plugin/ DSH host and browser plugin
patches/dsh-0.1.0-rc.6/ minimal versioned vendor patches
patches/dsh-0.1.1-rc.2/ patches adapted to the current DSH release
scripts/install.ps1 guarded Windows installer
scripts/uninstall.ps1 hash-aware restoration
scripts/verify-patches.ps1 clean-package patch verification
tests/ deletion and installer regression tests
DSH upgrades replace patched vendor files. Uninstall this project before upgrading DSH whenever possible. After upgrading to a supported version, pull the latest repository and run the installer again; it will choose the matching patch bundle automatically. Never apply a patch directory whose version differs from the installed DSH version.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session-management。