Add Cursor Agent to the default picker and usage panel - #9257
Open
shawnyeager wants to merge 1 commit into
Open
Conversation
Prefer a cursor-agent already on PATH. If it is missing, install Cursor's official Linux tarball as cursor-agent, not through mise or an asdf plugin. Launch unattended with --yolo --trust. Collect plan limits and day/model stats from Cursor's dashboard APIs. Menu and panel marks use Cursor's 2D cube from cursor.com/brand.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Cursor Agent to Setup → Defaults → Agent and to the agents usage panel.
If
cursor-agentis already on PATH, selecting Cursor writes the default and launches it (--yolo --trust). If it is missing, Omarchy fetches Cursor's official Linux tarball fromdownloads.cursor.comand installs it ascursor-agent, notagent. No mise registry entry. No third-party asdf plugin.The agents panel collects Included / Cursor Models / Other Models from Cursor's dashboard APIs (
GetCurrentPeriodUsage, pagedGetFilteredUsageEvents,GetAggregatedUsageEvents). Credentials come from the IDEstate.vscdbor~/.config/cursor/auth.json.Menu and panel marks use Cursor's 2D cube from https://cursor.com/brand (
U+E90Ain the Omarchy icon font). The same glyph replaces the generic file icon on Defaults → Editor → Cursor and Install → Editor → Cursor.Related work
This is the same feature as several open PRs. It combines them and is meant to land instead of opening another parallel slice:
textFormat: Text.PlainTexton the new countdown soqml-text-format-testpasses.What is different from #6969
state.vscdbas well as CLIauth.json.omarchy-install-cursor-agentusesomarchy-cmd-missing/type -Psobin-style-testpasses.quattro.Test plan
OMARCHY_PATH=$PWD bash test/shell.d/default-agent-test.shOMARCHY_PATH=$PWD bash test/shell.d/install-cursor-agent-test.shOMARCHY_PATH=$PWD bash test/shell.d/agent-usage-cursor-scanner-test.shOMARCHY_PATH=$PWD bash test/shell.d/menu-test.shOMARCHY_PATH=$PWD bash test/shell.d/bin-style-test.shOMARCHY_PATH=$PWD bash test/shell.d/qml-text-format-test.shcursor-agentalready on PATH, select Cursor and confirm it launches with--yolo --trustcursor-agentomarchy agent usage update cursorand confirm the agents panel Cursor tab