3 Commits
Author SHA1 Message Date
Supra4E8C 622b011de3 refactor: remove quota section and migrate antigravity credits to advanced section
- Deleted the SectionQuota component and its associated tests, fields, and constants.
- Moved the quotaAntigravityCredits field to the SectionAdvanced component.
- Updated related constants and translations to reflect the removal of the quota section.
- Adjusted tests to ensure consistency with the new configuration structure.
- Ensured that deprecated quota switches are no longer present in the visual config and YAML parsing logic.
2026-10-10 21:29:42 +08:00
Supra4E8C 3a71fcf8d5 fix(config): read/write optimize-multi-agent-v2 at canonical client path
The backend migrated oauth.providers.codex.optimize-multi-agent-v2 to
client.codex.optimize-multi-agent-v2 (v8ClientPaths in config_v8.go).
The visual editor still read the historical path, so toggling
"Optimize multi-agent v2" saved but reverted to off after refresh —
and when client.codex already held false, writes to the stale alias
could never enable the feature.

Point the addition field and its search yamlKeys at the canonical
client.codex path; the backend normalizes any remaining legacy keys on
save.

Fixes router-for-me/Cli-Proxy-API-Management-Center#472
2026-10-07 01:10:23 +08:00
Supra4E8C 254594aa5c feat: add new visual configuration fields and localization for OAuth behavior
- Introduced new configuration fields related to OAuth behavior, including ICE server settings and cooldown parameters.
- Updated localization files for Traditional Chinese (zh-TW) to include new fields and validation messages.
- Enhanced visual configuration types to accommodate new fields and validation error codes.
- Added unit tests to ensure proper localization and UI rendering for new configuration fields.
- Implemented validation logic for new fields, including duration formats, IP addresses, and ICE server URLs.
2026-09-30 18:29:11 +08:00