Skip to content

chore(fork): bring the 2.1.1-fork.1 commits onto main - #2

Merged
eric-x-liu merged 3 commits into
mainfrom
fork1-onto-main
Nov 14, 2026
Merged

eric-x-liu merged 3 commits into
mainfrom
fork1-onto-main

Conversation

@eric-x-liu

Copy link
Copy Markdown
Owner

What was broken

The deployed auth-cursor-v2.1.1-fork.1 release was tagged on two commits that never landed on main:

A release from main would drop the tool-turn fix. Releasing #1 from main also failed on the darwin/arm64 runner (The configuration 'macos-14-arm64-us-default' is not supported), and that run published nothing.

What changed

This merges the auth-cursor-v2.1.1-fork.1 tag into main. It merged with no conflicts. main then has the deployed code plus #1 (no usage on replies), and can be tagged auth-cursor-v2.1.1-fork.2.

Testing

go vet ./..., gofmt -l . (clean), go test ./... pass on the merged tree. The tool-turn tests from 2076671 and the no-usage check from #1 both run.

Not covered

The deployed check happens after release: CLIProxyAPI on 2.1.1-fork.2, with a Hermes tool loop through LiteLLM.

🤖 Generated with Claude Code

Eric Liu and others added 3 commits November 9, 2026 22:26
Some clients rewrite the assistant tool turn before answering it. Hermes
Agent, for example, splits one `tool_call` batch call into one call per
entry and gives the extra calls ids of its own. The results then answer
every call the plugin announced, plus ids it never issued, and the
resume failed with 400 "partial tool result resume". The client replays
the same history on every retry, so the conversation could never
continue.

When the results cover every announced call of the parked run for the
same credential and only add unknown ids, abort the parked run and fall
back to a new agent built from the transcript, the same path that
results with only unknown ids already take. Missing, duplicate, mixed
and wrong-credential results still return 400 and keep the parked run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub no longer offers macos-14 runners. Fork-only commit; not part of the
upstream PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
auth-cursor 2.1.1 + rewritten tool turn fix (UNICKCHENG#3)
@eric-x-liu
eric-x-liu merged commit 8d96d9b into main Nov 14, 2026
2 checks passed
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