Skip to content

claude-acc 2.0.1 — workspaces that share a folder

Choose a tag to compare

@linhh-phv linhh-phv released this 15 Oct 06:40
· 14 commits to main since this release

A fix for directories that belong to more than one Cursor/VS Code workspace — typically a repo
that is folder [0] of its own .code-workspace and an extra folder of a bigger one.

Fixed

  • switch <name> --here no longer refuses such a repo with "this directory belongs to SEVERAL
    different workspaces". The workspace whose folder [0] holds the directory wins. here also
    names the other workspaces: their chat tabs run in their own folder [0], which this pin does
    not reach. A directory that is only an extra folder of workspaces with different folders [0]
    is still not guessable — name the target with --at. (In 1.x, ls also stopped after its
    first line there.)
  • Pinning the bigger workspace — with or without --all — no longer rewrites, or replaces with a
    link, the pin of a folder that is folder [0] of a workspace of its own. Before, switching one
    workspace could silently switch the other.
  • --all from such a repo no longer links the bigger workspace's folders to it, and ls lists
    the repo as a pin of its own instead of hiding it inside the bigger workspace.

Install / upgrade

macOS:

curl -fsSL https://raw.githubusercontent.com/linhh-phv/claude-acc/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/linhh-phv/claude-acc/main/install.ps1 | iex

Nothing needs to be added again: 2.0.1 reads and writes the same files as 2.0.0 and 1.x.

SHA256SUMS lists the checksum of each file.