Skip to content

feat(discover): #2724 add Cursor support to rtk discover using tracking history.#2725

Open
denis-peshkov wants to merge 1 commit into
rtk-ai:developfrom
denis-peshkov:feat/discover-cursor-support
Open

feat(discover): #2724 add Cursor support to rtk discover using tracking history.#2725
denis-peshkov wants to merge 1 commit into
rtk-ai:developfrom
denis-peshkov:feat/discover-cursor-support

Conversation

@denis-peshkov

Copy link
Copy Markdown

Add Cursor support to rtk discover using tracking history fallback.

Closes #2724

Why

rtk discover only scanned Claude Code JSONL sessions, so Cursor users saw 0 sessions even when RTK was saving tokens via hooks. RTK already records command history in tracking.db, but discover ignored it.

Changes

  • src/core/tracking.rs: get_discover_commands_filtered() for discover-style queries
  • src/discover/provider.rs: CursorTrackerProvider + was_rtk_routed
  • src/discover/mod.rs: Claude-first, Cursor tracking fallback when Claude logs are absent
  • src/discover/report.rs, src/main.rs: updated discover messaging

Summary

  • add Cursor support to rtk discover by falling back to RTK tracking history when Claude session logs are unavailable
  • keep Claude JSONL as the primary discover source to avoid double-counting
  • update discover messaging so Cursor no longer reports as unsupported

…istory.

When Claude session logs are unavailable, discover now falls back to RTK tracking data so Cursor users can still see missed savings and current RTK adoption for their project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(discover): Add Cursor support to rtk discover using tracking history

1 participant