feat: add Cursor Agent as third chat provider#484
Open
darmawan01 wants to merge 4 commits intoYishenTu:mainfrom
Open
feat: add Cursor Agent as third chat provider#484darmawan01 wants to merge 4 commits intoYishenTu:mainfrom
darmawan01 wants to merge 4 commits intoYishenTu:mainfrom
Conversation
- Register cursor provider with subprocess CLI (agent -p, stream-json) - Session resume via --resume; workspace keyed by vault path (md5) - Hydrate history from ~/.cursor/chats SQLite store when node:sqlite is available - Settings tab, env reconciler, title/refine/inline aux runners - Model presets aligned with current Cursor CLI (auto, composer-2, etc.) - Map legacy composer-1 to auto for CLI compatibility
Avoid embedding a developer-specific absolute path and MD5 in the unit test.
feat: add Cursor Agent as third chat provider
Author
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.


Summary
Adds Cursor Agent as a third chat provider.
Key changes
agent -p,stream-json)--resume; workspace keyed by vault path (md5)~/.cursor/chatsSQLite store whennode:sqliteis availableauto,composer-2, etc.)composer-1toautofor CLI compatibility.cursor/directoryScreenshots
TBD — will add screenshot in a follow-up.
Test plan
npm run typechecknpm run lintnpm run testnpm run buildNotes
node:sqlite) to be available; otherwise Cursor history load is skipped gracefully.