embedding index medium
Cody (Sourcegraph) stores its symf local code-search index (derived from your source) under this globalStorage directory; chat history persists in the shared VS Code state store, covered separately.
Where it lives
- macOS
~/Library/Application Support/Code/User/globalStorage/sourcegraph.cody-aidir - macOS
~/Library/Application Support/Cursor/User/globalStorage/sourcegraph.cody-aidir - Linux
~/.config/Code/User/globalStorage/sourcegraph.cody-aidir - Linux
~/.config/Cursor/User/globalStorage/sourcegraph.cody-aidir - Windows
~/AppData/Roaming/Code/User/globalStorage/sourcegraph.cody-aidir - Windows
~/AppData/Roaming/Cursor/User/globalStorage/sourcegraph.cody-aidir
What you can do
- This is a derived source index; Cody chat lives in the VS Code global state store. Scan other VS Code forks with --path.
Source: sourcegraph.com
This describes where Cody stores data. Metadata only, never your content. Confidence: likely. Spot a mistake? Tell us.