Repository navigation
dsh-session-folder: right-click a Session row for its menu, right-click a file name to open / reveal / copy path #10617
cannebergeee
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A small, build-free DSH bundle I use daily: dsh-session-folder — right-click shortcuts between the Harness UI and local paths.
What it does
Session row → open the project folder. Right-click any Session row (or use the row's
…as before) and the Session's own menu opens; it now carries Open in File Explorer, placed after Archive session. Right-click just activates the row's existing menu trigger, so the menu never drifts from the shipped actions (pin / rename / fork / archive / copy ID are all still there).File name → context menu. Right-click a file name in the conversation (an assistant file chip or a Markdown file link):
Why it stays thin
SessionSummary.cwdread at click time — no Session retained, no history loaded.session.openWorkspacePathRemote, which verifies the path through the composed filesystem before handing it to the desktop.session.workspacePathApplications(the desktop's registered handlers for that file), so it never offers an application the host cannot launch.titleattribute (producedFileMentionsreturns{ title: path }; file links do the same).--dsw-menu-surface-fill,--dsw-menu-backdrop-filter,--dsw-elevation-prominent,--dsw-alias-toast-bg,--dsw-shadow-lv3…), so light and dark both follow the app.Install
No build step — the runnable
client.js/index.jsare committed. A packed.tgzis attached to thev1.3.1release if you prefer not to depend on git.dsh-plugin)0.2.1-rcline and a deployment that can hand paths to a local desktop (DSH Desktop or a locally run Web build).Known limits are documented in the README: the Session menu opens at the
…anchor rather than the cursor, and the file path source is a chat-primitive implementation detail (the Session menu row is unaffected if it ever changes).Feedback very welcome — happy to adjust the UX or split it into separate plugins if either half would be more useful on its own.
All reactions