KLY351/dsh-session-name-folders

Renames a session's cwd folder to match the session title after it settles, so a workspace of uuid-named folders becomes readable.

Sessions live in a workspace root, so a directory full of unrelated conversations accumulates scripts, logs and downloads under opaque names. This plugin applies three rules to name the folder after the session title once the title has settled, forward only and never backward, so earlier folders are not rewritten later. Each watched root also gains a .dsh-session-folders/ directory holding the metadata that makes the mapping reversible. The README is honest about the boundary: isolation is rule-based rather than enforced, because a per-conversation cwd would have to be registered up front and could never be renamed to the title.

Sessions & Messages ★ 0
View on GitHub ↗

Install

dsh plugin --profile desktop add github:KLY351/dsh-session-name-folders

The README's install line, GitHub form, into the desktop profile; a matching dsh plugin --profile desktop remove line is documented for uninstall. The README explains why the folder is not renamed immediately — the title is not stable at session start — and gives a Verify section to confirm the first rename.

Compatibility

The README documents no pinned DSH version but states the dependency that matters: the plugin wraps ctx.sessionController.commands.create, so a DSH release that changes that seam breaks rule application until the plugin is updated. Windows folder-rename contention is listed as a known limitation, and existing files are never migrated.

Details

Alternatives

hkkz9522/dsh-session-manager · mayf3/dsh-session-doctor · wsnmm3/dsh-session-keeper

More plugins in Sessions & Messages

Browse more in Sessions & Messages

Guides for Sessions & Messages plugins