Skip to content

Validate Windsurf (Codeium) adapter — does it still mirror Cursor's schema? #4

Description

@study8677

The new Windsurf adapter (src/retitle/adapters/windsurf.py) is a thin wrapper over the Cursor adapter, since Windsurf (Codeium) is a Cursor fork. We assumed Windsurf uses the same state.vscdb layout (composerHeaders + composerData) but in its own user-data dir:

  • macOS: ~/Library/Application Support/Windsurf/User/globalStorage/state.vscdb
  • Linux: ~/.config/Windsurf/User/globalStorage/state.vscdb
  • Windows: %APPDATA%/Windsurf/User/globalStorage/state.vscdb

Need a Windsurf user to validate. Specifically:

  1. Does that path exist on your machine?
  2. Run sqlite3 <db> ".tables" — do you see ItemTable + cursorDiskKV (or something Codeium-renamed)?
  3. Run sqlite3 <db> "SELECT key FROM ItemTable WHERE key LIKE '%composer%'" — what comes back?
  4. After running retitle once --tool windsurf --session <id>, does Windsurf actually show the new title?

If Windsurf has forked the schema (renamed keys, changed the JSON shape), we need to know — could be a 10-minute fix or a full rewrite. PRs welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    adapterTool adapter (Claude/Codex/Cursor/etc.)enhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions