Commit Graph
97 Commits
Author SHA1 Message Date
leookun 9eb24bb4d4 feat: add shell tool call delta message handling
Implemented the buildShellToolCallDeltaMessage function to map client shell output to the delta format for Cursor's terminal bubble. This includes handling both stdout and stderr events. Updated the service to publish these messages when processing execution results. Additionally, added a test for enabling terminal output UI streaming in the bootstrap statsig configuration.
2026-08-07 22:39:58 +08:00
leokunandGitHub 426bdd6592 Merge pull request #276 from widwei/fix/anthropic-thinking-carrier
fix(anthropic): pass back thinking block for assistant turns without reasoning
2026-08-07 17:43:00 +08:00
weiwei fa36dc2c60 fix(anthropic): pass back thinking block for assistant turns without reasoning
DeepSeek 类 thinking 模型在 adaptive thinking 下部分 tool-call 轮次不输出
thinking 块,重放时适配器不生成 thinking 块,上游 Anthropic 兼容 API 在
thinking 模式下要求每个 assistant 轮次回传 thinking 块,导致
"The content[].thinking in the thinking mode must be passed back to the API."
400 且毒化会话历史,后续所有请求持续失败。

引入 thinking carrier:缺 reasoning 的轮次复用请求内最近一个有
reasoning+signature 的 assistant 轮次兜底,无 carrier 时输出空 thinking 块;
thinking 关闭时行为不变。与 openai.go 已有空 reasoning_content 兜底对称。

Closes #268
2026-08-07 17:17:03 +08:00
leokunandGitHub 4e649d676f Merge pull request #272 from leookun/release/0.0.46
Release/0.0.46
2026-08-07 02:41:46 +08:00
leookun 917a711b42 release: 0.0.46 2026-08-07 02:41:14 +08:00
leookun 270bcdb54e Merge branch 'main' into release/0.0.46 2026-08-07 02:28:54 +08:00
leokunandGitHub c6d719d9b9 Merge pull request #271 from leookun/feat/shangtang
refactor: checkpoint ui
v0.0.46
2026-08-07 02:21:54 +08:00
leookun a7f9494828 fix: checkpoint 2026-08-07 02:19:29 +08:00
leookun 225de8bb85 refactor: UI 2026-08-07 01:50:20 +08:00
leookun 5bd39ed317 docs: update PULL_REQUEST_TEMPLATE 2026-08-06 21:56:19 +08:00
leokunandGitHub 26502ebec8 Merge pull request #269 from leookun/feat/idempotent-checkpoint-recovery
Feat/idempotent checkpoint recovery
2026-08-06 21:13:56 +08:00
leokun 2e265d415e feat(forwarder): make checkpoint recovery idempotent
Preserve interrupted provider output, keep checkpoint projections deterministic, and enforce proto snapshot synchronization.
2026-08-06 21:08:43 +08:00
leokun 0d1cedda5b Merge remote-tracking branch 'origin/hotfix/chat-checkpoint' 2026-08-06 16:34:10 +08:00
leokun c7fe198110 Merge branch 'main' of github.com:leookun/cursor-byok 2026-08-06 14:10:18 +08:00
leokunandGitHub 8c4baf7ade Merge pull request #262 from k23223/feat/model-adapter-model-selection
feat(model-adapter): add remote model selection
2026-08-06 14:10:08 +08:00
leokun 4e0d2ee703 Merge branch 'main' of github.com:leookun/cursor-byok 2026-08-06 14:05:58 +08:00
leokunandGitHub e1dacab268 Merge pull request #260 from leookun/hotfix/fork-chat 2026-08-06 12:12:46 +08:00
leookun da15109312 Merge branch 'hotfix/fork-chat' into release/0.0.46 2026-08-05 23:35:12 +08:00
xiaopuandCursor 320b9fb7b9 feat(model-adapter): add remote model selection
- Fetch and normalize OpenAI and Anthropic model lists through the proxy service.
- Add searchable multi-model selection with localized UI and persisted adapter mappings.
- Cover endpoint resolution, authentication, pagination, and response parsing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:23:51 +08:00
leokunandGitHub c55c575a58 Merge pull request #255 from Phoeky/patch-1 2026-08-05 11:58:23 +08:00
leookun d3adfffbd8 Implement checkpoint blob handling in forwarder service
- Added support for checkpointing phases and blob management in the forwarder.
- Introduced new types and methods for handling checkpoint blobs, including queuing and publishing checkpoints.
- Enhanced the projector to build checkpoint projections with content-addressed blobs.
- Implemented tests to ensure proper checkpoint blob synchronization and handling of cancellation scenarios.
2026-08-05 02:09:45 +08:00
leookun 4e9335d82f Implement tests for ProjectLegacyCheckpoint to ensure proper handling of conversation state and message imports. This includes verifying that no dangling inline blobs are present and that the correct user and assistant messages are imported. 2026-08-05 01:46:47 +08:00
leokunandGitHub 374ff9c217 Merge pull request #259 from leookun/release/0.0.45
Release/0.0.45
2026-08-05 01:26:22 +08:00
leookun 06ab0d8dae chore(release): update version to 0.0.45 and fix conversation disappearance issue
- Updated version number to 0.0.45 across all relevant files.
- Fixed an issue that could cause conversations to disappear.
2026-08-05 01:25:39 +08:00
leookun 2f47f02497 chore(cursor-proxy-debugger): enhance traffic capture for Fork Chat and update README
- Added support for capturing and decoding Fork Chat traffic, including `ForkBackgroundComposer`, `NotifyConversationClone`, and `UploadConversationBlobs`.
- Updated the README to reflect new features and usage instructions for Fork Chat traffic.
- Modified `.gitignore` to include `proto/extensions-cursor-app/`.
- Refactored `Taskfile.yml` to improve error messages related to Cursor extensions.
- Introduced new tests for decoding functionality in `cursor-proxy-debugger`.
2026-08-05 01:17:01 +08:00
leookun 058aaa532e remote: cursor source code from git 2026-08-05 00:34:30 +08:00
leookun 622a57fed7 Revert "Merge pull request #239 from DedSecer/fix/cursor-fork-context"
This reverts commit 697fa99245, reversing
changes made to 5742073be5.
2026-08-04 23:49:49 +08:00
leookun f5a7347f44 fix: gate WebView sandbox opt-out behind environment variable 2026-08-04 21:49:26 +08:00
PhoekyandGitHub a9b406ec30 解决 VDI 环境(如 VMware Horizon)导致主窗口白屏。 2026-08-04 17:39:14 +08:00
leokunandGitHub 639c452a00 Merge pull request #252 from leookun/release/0.0.44
chore(release): update version to 0.0.44 and enhance release notes
v0.0.45
2026-08-03 23:18:11 +08:00
leookun 0c9a07e018 chore(release): update version to 0.0.44 and enhance release notes
- Updated version number to 0.0.44 across all relevant files.
- Added support for cursor-cli in release notes.
2026-08-03 23:17:44 +08:00
leokunandGitHub 1adca7f600 Merge pull request #241 from warelik/fix/cli-local-mode-endpoints
fix(backend): cover cursor-agent CLI local-mode endpoint surface — startup 404s, git-workspace tool 404s, telemetry
v0.0.44
2026-08-03 22:58:47 +08:00
leookun 5df3e8f512 feat(cursor): update model handling to use agentv1 responses and enhance CLI model details
- Refactored response handling in newProtoMessage to utilize agentv1 for GetUsableModelsResponse and GetDefaultModelForCliResponse.
- Added new tests for buildCLIModelDetails and encodeCLIModels to ensure correct model details and encoding.
- Updated buildUsableModelsPayload and buildDefaultModelForCliPayload to leverage buildCLIModelDetails for improved model data structure.
2026-08-03 22:56:17 +08:00
leokunandGitHub a2e3a07773 Update README.md 2026-08-03 18:54:56 +08:00
leokunandGitHub 6b7c077448 Update README.md 2026-08-03 18:54:04 +08:00
leokunandGitHub c64911e8c6 Update README.md 2026-08-03 18:53:30 +08:00
leokunandGitHub d1d56bd6eb 更新 README.md 2026-08-03 12:31:41 +08:00
leokunandGitHub ee47f187f0 Merge pull request #249 from leookun/release/0.0.43
chore(release): update version to 0.0.43 and enhance release notes
2026-08-03 01:23:21 +08:00
leookun 726f082e6b chore(release): update version to 0.0.43 and enhance release notes
- Updated version number to 0.0.43 across all relevant files.
- Added new features and fixes to release notes, including:
  - Fix for command recognition issues.
  - Fix for summarize command.
  - Fix for MiniMax thinking restriction.
  - Support for Fork message and conversation linking.
  - Introduction of cursor debugger.
  - Added QQ and Telegram group information.
2026-08-03 01:22:56 +08:00
leookun 424235f11d Merge branch 'main' into fix/cli-local-mode-endpoints
# Conflicts:
#	internal/backend/server/middleware.go
2026-08-03 00:39:56 +08:00
leokunandGitHub 58770aa206 Merge pull request #231 from octo-patch/octo/20260730-parameter-refresh-recvqgk2Qimxgy
fix(openai): recognize MiniMax in thinking disable
v0.0.43
2026-08-03 00:35:29 +08:00
leokunandGitHub eb0ad7b636 Merge pull request #248 from leookun/codex/cursor-proxy-debugger
feat: add Cursor protocol debugger
2026-08-03 00:23:40 +08:00
leokunandGitHub 697fa99245 Merge pull request #239 from DedSecer/fix/cursor-fork-context
fix(forwarder): preserve Cursor fork context
2026-08-03 00:21:14 +08:00
leokun 1854a3ab9a feat(cursor): add independent Cursor protocol debugging proxy and build tasks
- Introduced a new task for running the Cursor protocol debugging proxy.
- Added a build task for the Cursor protocol debugging proxy.
- Updated documentation to include usage instructions for the debugging tool.
2026-08-03 00:19:18 +08:00
leokunandGitHub 5742073be5 Merge pull request #242 from DedSecer/feat/cursor-local-history-transcripts
feat(cursor): support referencing local history from new chats
2026-08-02 23:27:31 +08:00
leookun 90d35085c0 Merge branch 'main' into feat/cursor-local-history-transcripts 2026-08-02 22:58:50 +08:00
leokunandGitHub 7764eca0c3 Merge pull request #243 from aike0210/codex/feat-cursor-control-plane-account
feat(cursor): 修复本地模式下插件市场、Skills 和 MCP 无法加载的问题
2026-08-02 22:56:53 +08:00
leookun a5437e60fe feat(cursor): add contributor profile link and improve UI for Cursor account card
- Integrated a tooltip with a button to open the contributor's GitHub profile in the CursorAccountCard component.
- Updated the layout of the account card for better visual organization.
- Removed routing mode options from the configuration view and adjusted related translations in multiple languages.
- Cleaned up unused routing mode logic in the app state management.
2026-08-02 22:53:57 +08:00
leookun 674de0b041 Merge branch 'main' into codex/feat-cursor-control-plane-account 2026-08-02 22:28:56 +08:00
leookun d1ffd1a95c feat: delete test requirements 2026-08-02 21:39:47 +08:00