Skip to content

Add Windsurf parser #2

Description

@khadinakbarlabs

Tool

Windsurf (formerly Codeium) — Cascade AI IDE from the Codeium team. Used by a large dev audience.

What we'd need

Locate the per-session token counts Windsurf writes to disk (VS Code-fork extension log, JSON state, or similar) and emit a per-session token + model record. No prompt/response bodies.

Likely locations

  • ~/Library/Application Support/Windsurf/User/globalStorage/... (macOS)
  • ~/.config/Windsurf/User/globalStorage/... (Linux)
  • %APPDATA%\Windsurf\User\globalStorage\... (Windows)

Cline/Roo parsers already do globalStorage walking — copy the pattern.

Acceptance

  • New entry in the source registry in src/cli.js.
  • Returns { source: "windsurf", model, input_tokens, output_tokens, cost_usd?, synced_at }.
  • README + caveats updated.

Tag the PR with parser and mention this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions