Skip to content

feat(sing-box): add resilient AI proxy routing#43

Merged
LIghtJUNction merged 2 commits into
mainfrom
feat/ai-proxy-resilience
Jul 14, 2026
Merged

feat(sing-box): add resilient AI proxy routing#43
LIghtJUNction merged 2 commits into
mainfrom
feat/ai-proxy-resilience

Conversation

@LIghtJUNction

Copy link
Copy Markdown
Owner

Summary

  • add a dedicated non-China/Hong Kong ai-proxy selector for ChatGPT, Gemini, Grok, and Claude
  • persist selector choices and safely replay valid selections after restart or subscription activation
  • make subscription refresh direct-by-default, bounded, locked, and transactional
  • restart only the verified MagicNet sing-box process and restore the previous config on activation failure
  • prepare v1.1.20 release metadata

Testing

  • cargo fmt --check
  • cargo check --workspace
  • cargo test --workspace (54 passed)
  • subscription policy, AI routing, fake-Magisk smoke
  • WebUI typecheck/build, kam validate, JSON and diff checks
  • PHK110 subscription activation, selector persistence, four AI HTTP probes, routing chain, and browser ChatGPT load

Notes

  • X media endpoints responded, but in-app playback and an unplugged-device restart cycle were not completed before disconnect.
  • Local kam build was blocked before packaging by transient GitHub dependency TLS/tag API failures. CI must build and validate v1.1.20 before release.
  • Base config landed in feat(routing): add dedicated AI proxy selector MagicSingBox#4.

Signed-off-by: LIghtJUNction <lightjunction.me@gmail.com>
Signed-off-by: LIghtJUNction <lightjunction.me@gmail.com>
Copilot AI review requested due to automatic review settings July 14, 2026 06:41

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @LIghtJUNction, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@LIghtJUNction LIghtJUNction merged commit 9c53120 into main Jul 14, 2026
3 checks passed
@LIghtJUNction LIghtJUNction deleted the feat/ai-proxy-resilience branch July 14, 2026 07:20
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.

2 participants