Skip to content

Isolate persistent sessions by workspace folder - #3

Draft
nickadminroot wants to merge 5 commits into
MikeHolman:masterfrom
nickadminroot:feat/workspace-isolation
Draft

Isolate persistent sessions by workspace folder#3
nickadminroot wants to merge 5 commits into
MikeHolman:masterfrom
nickadminroot:feat/workspace-isolation

Conversation

@nickadminroot

@nickadminroot nickadminroot commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • scope session names with a short hash of the first workspace folder URI
  • preserve the global legacy namespace for folderless windows
  • preserve explicitly configured persisterm.sessionPrefix values exactly, including their existing sessions
  • match only exact <prefix>-N session names so global and workspace sessions cannot mix

Stack

This PR is stacked on #2. The workspace-isolation changes are the commits above 930ed4d. After #2 merges, this branch can be rebased onto the updated master if GitHub does not reduce the diff automatically.

Verification

  • npm test (12 tests pass)
  • npm run lint
  • npm run compile
  • npm run package -- --out persisterm-workspace-isolation.vsix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant