Claude/vk proxy bypass update 8twlrj - #7
Merged
Conversation
Ports the newer VK TURN-credential path from proxy-turn-vk-android: a primary route via api.vk.me (auth.getAnonymToken / messages.getCallPreview / messages.getAnonymCallToken) that is tried before falling back to the older login.vk.ru/api.vk.ru chain, selectable with -vk-anon-path (vkcalls/legacy, defaults to vkcalls). Also brings over the captcha session-exhaustion detection so a rate-limited captcha session falls back to WebView faster instead of retrying the same solver.
Adds isCaptchaSessionExhausted() (ported from proxy-turn-vk-android) so a rate-limited/exhausted captcha session jumps straight to WebView instead of retrying the same Go solver, plus the small supporting helpers (captchaV2DeviceJSON, captchaV2AcceptLanguage, captchaV2MaxSliderChecks) it depends on.
Fixes a bad update that truncated README.md; restores full content and adds the -vk-anon-path row (vkcalls/legacy) to the client flags table.
- client/creds.go: drop the indent-error-flow else-block I introduced in the vkcalls-first fetchVkCreds change, and remove a dead assignment to lastErr in the DNS fallback dialer (SA4006). - client/captcha_v2.go: rename CaptchaTs/redirectUri/captchaTs to CaptchaTS/redirectURI/captchaTS (staticcheck ST1003 initialisms). - client/obfs.go, server/obfs.go: rename ObfsState.initTs to initTS (same ST1003 initialism issue, duplicated in both binaries). Verified locally with the repo's .golangci.yml: 0 issues on the client package. The initTs field is only referenced within obfs.go in each binary, so the rename is safe in both places.
Adds a workflow_dispatch "version" input (e.g. "1.2.3" or "v1.2.3"). When set, it's used as the release tag as-is instead of the automatic semver bump derived from conventional-commit prefixes; leaving it empty keeps the existing automatic behavior. Rejects malformed input and versions that collide with the latest existing tag.
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.
No description provided.