Skip to content

Add Cursor for CPA/CLIProxyAPI plugin - #96

Open
yobo2u wants to merge 4 commits into
router-for-me:mainfrom
yobo2u:register-cursor-yobo2u
Open

Add Cursor for CPA/CLIProxyAPI plugin#96
yobo2u wants to merge 4 commits into
router-for-me:mainfrom
yobo2u:register-cursor-yobo2u

Conversation

@yobo2u

@yobo2u yobo2u commented Aug 21, 2026

Copy link
Copy Markdown

Summary

Registers the standalone cursor provider 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.9 resolves to e0d3f6b806c8a3136382f3920ccfeef166ed04b1. The tag workflow completed successfully: https://github.com/yobo2u/omsub/actions/runs/32782131820

The release contains:

  • cursor_0.5.9_linux_amd64.zip
  • cursor-plugin-0.5.9-linux-amd64.tar.gz
  • checksums.txt

The store ZIP contains exactly one root-level file, cursor.so. Downloaded release SHA-256 values:

4c4a559946fbbeb4157a32efac72f74738c201114b66b14ed171b485dc1ea3c5  cursor_0.5.9_linux_amd64.zip
e961c3a4a4788619028bd527e3dd83294fa494f64f17480be433eca8ff9bb09c  cursor-plugin-0.5.9-linux-amd64.tar.gz
4e3f150b47e08465df9bf27ca4002c712654966427d718af41c1d7dc0d9a1616  checksums.txt
c416beabc85f6fbe6e71a3469154c7e103ef89e2d6d08d73d592ff1fbccb2f90  cursor.so

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.json parses as schema version 1, has unique plugin IDs, and changes only the existing cursor proposal in this branch.
  • Full race/shuffle tests, vet, Linux amd64 build, package generation, checksums, and release publication passed at the exact tag SHA.
  • Two-step HTTPS acceptance against a private supported CPA Manager Plus / CLIProxyAPI stack passed: model discovery, a 30-byte single-line tool-call ID, exact tool-call/result linkage, and a non-empty continuation response all returned HTTP 200.
  • The management page returned the exact committed HTML hash. Retained browser replay passed 49/49 assertions across Chinese desktop, English desktop, and 375px Chinese mobile, including actual Tab focus, responsive model controls, distinct Save settings and Disable all actions, and zero console errors.
  • Credentials, private host names, addresses, account identifiers, and local paths are excluded from this PR and all public release material.

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 cursor ID. This submission retains the existing ID because the distributed library filename, plugin configuration key, authenticated management routes, and deployed installations already use cursor; changing it would break existing installations. Only one entry with this ID can ultimately be merged.

@yobo2u
yobo2u marked this pull request as ready for review August 21, 2026 19:05
@yobo2u

yobo2u commented Aug 22, 2026

Copy link
Copy Markdown
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.

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