rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:hhuapen/dsh-per-session-folder
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
One isolated folder per new conversation, with names that stay in sync with the session title.
Session Folders is a DSH host and client plugin for temporary or uncategorized conversations. Every new session in the default workspace gets its own working directory without creating another sidebar workspace or changing workspace ownership.

Scratch conversations often share the same default directory. One chat can leave scripts, downloads, or test files that confuse the next chat. Session Folders isolates those files at the filesystem level while preserving DSH's existing workspace and history model.
-2, -3, and so on.>=0.2.1-rc.3 <0.3.0dsh plugin add dsh-per-session-folder
Before the npm package is published, install directly from GitHub:
dsh plugin add github:hhuapen/dsh-per-session-folder
For a local checkout:
dsh plugin add C:\path\to\dsh-per-session-folder
Restart DSH after installation.
Open Plugins → Installed plugins → Session Folders.
The configuration embedded in the plugin detail page provides:
The selected folder is checked for accessibility. If a folder cannot be used, the session continues in the default workspace instead of blocking the conversation.
| Key | Default | Description |
|---|---|---|
enabled |
true |
Enable per-session folders |
root |
'' |
Parent folder; empty uses the default workspace |
creationMode |
immediate |
immediate or first-message |
workspacePath |
'' |
Optional workspace override for advanced setups |
maxNameChars |
60 |
Maximum folder-name length |
Session Folders affects only new, top-level sessions whose original working directory is the default workspace. Historical sessions, subagent sessions, and sessions in other workspaces are left unchanged.
The session header keeps the original workspace path. Only the effective working directory
changes through ctx.workingDirectory.set(agent, path), which is durable and replayed by DSH.
The client plugin mirrors that effective directory into DSH's session UI when the required
client interface is available, so directory-opening controls target the managed folder.
Each managed folder contains .dsh-per-session-folder.json. This marker lets the plugin
recover its folder after a restart. Folders created by the earlier development name retain
their legacy marker and are adopted automatically.
npm test
The test suite covers naming, collision handling, restart recovery, workspace scoping, subagent exclusion, path failure fallback, deferred creation, and client directory syncing.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。