Add Cursor for CPA/CLIProxyAPI plugin - #96
Open
yobo2u wants to merge 4 commits into
Open
Conversation
yobo2u
marked this pull request as ready for review
August 21, 2026 19:05
Author
|
Updated to the immutable v0.5.8 release with final asset digests, CI evidence, and live CPA/CLIProxyAPI two-turn checkpoint-fallback acceptance. Please review when convenient. |
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
Registers the standalone
cursorprovider plugin for CLIProxyAPI.The plugin connects user-authorized Cursor subscriptions through the native CLIProxyAPI plugin ABI. It provides Cursor OAuth, dynamic model discovery, streaming OpenAI Chat Completions, client-executed function tools and tool results, inline images and UTF-8 text/image attachments, bounded session checkpoints, local usage estimates, deduplicated account status, and a bilingual management page. No CPA Manager Plus or CLIProxyAPI source modification is required.
v0.5.9 additionally normalizes tool-call IDs to stable, single-line identifiers no longer than 64 bytes while preserving tool-result linkage; rejects truly empty assistant responses; accepts OpenCode-style
max_tokens; separates request, executor, and host-attempt metrics; bounds duplicate-completion tracking; and improves responsive model controls, Chinese semantic wrapping, and keyboard focus visibility.Release evidence
The immutable annotated tag
v0.5.9resolves toe0d3f6b806c8a3136382f3920ccfeef166ed04b1. The tag workflow completed successfully: https://github.com/yobo2u/omsub/actions/runs/32782131820The release contains:
cursor_0.5.9_linux_amd64.zipcursor-plugin-0.5.9-linux-amd64.tar.gzchecksums.txtThe store ZIP contains exactly one root-level file,
cursor.so. Downloaded release SHA-256 values:Both archives contain the same Linux amd64 c-shared binary, whose embedded VCS revision is the exact tag commit with
vcs.modified=false.Validation
registry.jsonparses as schema version 1, has unique plugin IDs, and changes only the existingcursorproposal in this branch.Existing sessions already containing compound IDs such as
call-...\nfc_...are not rewritten automatically; affected tool-call and tool-result IDs must be normalized together or the user can start a new session.Safety and disclaimer
This is an unofficial community plugin intended only for accounts and subscriptions owned by or explicitly authorized for the user. The repository includes a disclaimer and complete third-party binary-distribution notices, does not fabricate quota percentages, and does not claim affiliation with Cursor, Anysphere, CLIProxyAPI, CPA Manager Plus, or opencodex.
Concurrent registry proposal
PR #95 proposes another plugin using the same
cursorID. This submission retains the existing ID because the distributed library filename, plugin configuration key, authenticated management routes, and deployed installations already usecursor; changing it would break existing installations. Only one entry with this ID can ultimately be merged.