Skip to content

Cursor plugin v0.5.9

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Aug 21:57
· 0 commits to main since this release

Cursor plugin v0.5.9

Standalone Cursor provider plugin for CPA Manager Plus / CLIProxyAPI. No CPA Manager Plus or CLIProxyAPI source changes are required.

Highlights

  • Normalizes Cursor tool-call identifiers at the OpenAI-compatible boundary. New IDs are stable, single-line, nonempty, free of control characters, and at most 64 bytes; tool calls and matching tool results retain the same ID. Already-valid IDs are preserved.
  • Rejects successful but truly empty assistant responses while retaining valid tool-only assistant messages.
  • Accepts OpenCode-style max_tokens and preserves standard function tools, parallel tool calls, tool results, inline images, and UTF-8 text or image attachments.
  • Separates terminal user-request metrics, plugin executor runs, and CLIProxyAPI host scheduling attempts, avoiding misleading double counting.
  • Bounds pending request correlations and deduplicates recent terminal IDs in two independent 15-minute, 8 MiB Bloom windows, so duplicate or out-of-order completion callbacks stay idempotent under sustained traffic. At the design load of up to one million completions per window, a two-window lookup has a theoretical false-positive probability below 6e-8; a false positive skips one local terminal sample and leaves the previous latest outcome unchanged.
  • Merges duplicate Cursor credential projections transitively by account identity, so one physical/logical account is not shown twice.
  • Improves the bilingual management page with responsive mobile model controls, Chinese semantic word wrapping on narrow screens, visible keyboard focus, account-local save feedback, and distinct Save settings / 保存设置 and Disable all / 全部禁用 actions.
  • Includes complete third-party binary distribution notices, including google.golang.org/protobuf v1.36.10.

Compatibility and migration note

The fix prevents newly generated Cursor tool-call IDs from contaminating OpenCode session history. Existing sessions that already contain compound IDs such as call-...\nfc_... are not rewritten by the plugin; start a new session or normalize the affected tool-call and tool-result IDs together before switching that session to a strict OpenAI provider.

Cursor does not publish a stable OAuth subscription-balance API. The management page reports local estimates and request state only and never invents quota percentages.

Assets

  • cursor_0.5.9_linux_amd64.zip: official CLIProxyAPI plugin-store layout, containing only root-level cursor.so
  • cursor-plugin-0.5.9-linux-amd64.tar.gz: standalone manual installer
  • checksums.txt: SHA-256 checksums for published packages

Supported store platform: Linux amd64.

Disclaimer

This is an unofficial community plugin for accounts and subscriptions owned by, or explicitly authorized for, the user. It is not affiliated with or endorsed by Cursor, Anysphere, CLIProxyAPI, CPA Manager Plus, or opencodex. Users are responsible for complying with applicable law, Cursor terms, acceptable-use rules, and subscription restrictions. Review cursor-plugin/DISCLAIMER.md before installation.