Skip to content

Windows build: Cursor sync never runs — cursor-cache not created after successful login #479

@heartc0re

Description

@heartc0re

Environment

  • OS: Windows 10.0.26200
  • Tokscale: latest (via npx tokscale@latest)
  • Node: v24.14.0

Steps to reproduce

  1. npx tokscale@latest cursor login --name personal — succeeds
  2. npx tokscale@latest cursor status — reports Session: Valid, account loaded, enterprise membership
  3. npx tokscale@latest cursor accounts — shows the account as active
  4. npx tokscale@latest --light — runs successfully but only shows Codex usage; no Cursor row
  5. dir %USERPROFILE%\.config\tokscale\cursor-cache\ — directory does not exist

Expected

  • Root command auto-syncs Cursor usage from the API and creates cursor-cache\usage.csv
  • Cursor rows appear in the --light / TUI output

Actual

  • No sync ever runs, no cache directory created, no error printed
  • tokscale cursor --help only exposes login/logout/status/accounts/switch — no sync subcommand
  • Top-level tokscale --help does not accept --client either (the README documents it)

Notes

The integration appears stubbed on Windows: auth subcommands are wired up but the actual API sync code path is missing or not invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions