Skip to content

feat: add Cursor IDE as a third session provider - #5

Open
link82 wants to merge 2 commits into
FulAppiOS:mainfrom
Crunchy-Bytes-Team:feat/cursor-provider
Open

feat: add Cursor IDE as a third session provider#5
link82 wants to merge 2 commits into
FulAppiOS:mainfrom
Crunchy-Bytes-Team:feat/cursor-provider

Conversation

@link82

@link82 link82 commented Aug 24, 2026

Copy link
Copy Markdown

Summary

  • Watch Cursor agent-chat transcripts under ~/.cursor/projects/**/agent-transcripts/**/*.jsonl and spawn heroes the same way Claude Code and Codex sessions already do.
  • Map Cursor tools to village activities (Read → reading, StrReplace/Write → editing, Shell → bash/git, Task → reviewing, turn_ended → idle) and show CURSOR source badges when more than one provider is live.
  • Update empty-state copy, tutorial, README, CLAUDE.md, and installer so Cursor is a first-class source; session reports still omit tokens (transcripts have no usage).

Screenshots

Village + Party Bar with live Cursor heroes (source badges stay hidden while only one provider is live):

Village and Party Bar showing Cursor agent heroes

Cursor hero Report tab — Profile: cursor, token section omitted:

Cursor session Report tab without token usage

Tutorial copy covering Claude Code, Codex, and Cursor:

Welcome tutorial mentioning Cursor transcripts

Test plan

  • cd server && bun test (200 tests) and cd client && bun test (107 tests)
  • bun start with an active Cursor agent chat — a hero appears for that project and walks between buildings as tools fire
  • Run a Claude Code or Codex session in parallel — CLAUDE / CODEX / CURSOR badges show
  • With no ~/.claude*, ~/.codex, or ~/.cursor session logs — empty village + “no installation detected” banner
  • Open a Cursor hero’s Report tab — token section is omitted
  • Map editor (🗺️) still loads

Edward added 2 commits August 24, 2026 17:36
Watch ~/.cursor/projects/**/agent-transcripts JSONL so Cursor agent chats spawn heroes next to Claude Code and Codex, with source badges when more than one provider is live.
Stamp first ingest with transcript mtime and skip cold turn-ended chats
so finished threads don't spawn waiting heroes. Waiting/idle agents older
than 15 minutes fold into Away across Party Bar, village, and Top Bar.
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.

1 participant