1427 Commits
Author SHA1 Message Date
Supra4E8C 15443055db Implement structural updates and optimizations across multiple modules 2026-11-23 20:39:25 +08:00
Supra4E8C 3128b0ba10 feat: enhance quota handling and visual configuration
- Added validation to ensure that no groups are collected when validation errors occur in fetchAntigravityQuota.
- Refactored syncStringSequence to align available items with actual nodes, removing reliance on baseline.
- Updated visual configuration hooks to eliminate unnecessary baseline parameters.
- Introduced new i18n strings for sensitive word comments across multiple languages.
- Implemented logic to assert that sensitive word comments are preserved during configuration patches.
- Enhanced tests for antigravity quota fallback scenarios and visual configuration handling of sensitive words.
- Improved handling of ambiguous protocols in sponsor forms and aggregation safety checks.
v1.29.1
2026-11-23 19:43:55 +08:00
Supra4E8C 2d303a63b3 feat: add QuotaErrorMessage component and enhance quota error handling 2026-11-23 19:25:05 +08:00
Supra4E8C 746bcf2d61 docs: update project guidelines for clarity and completeness 2026-11-23 19:20:46 +08:00
Supra4E8C 8eba064bb9 refactor: clean up unused components, styles, and functions 2026-11-23 19:14:12 +08:00
Supra4E8C 5b0dd2f3c2 refactor(auth-files): extract status, refresh and catalog sync actions
Move the pending guards and connection-revision checks out of the hooks
into plain functions with explicit dependencies, so tests call them
directly instead of slicing and evaluating hook source. Cover the stale
success paths, batch exclusivity and pending flags that the old
harnesses could not reach.
2026-11-23 19:00:04 +08:00
Supra4E8C 5908866160 fix(providers): remove the expired Kimi top-up offer 2026-11-23 18:52:47 +08:00
Supra4E8C 62225de58a refactor: remove dead discovery merge, rule helpers and Double 11 card
mergeDiscoveredModels, hasExcludedRule and isMatchedByWildcardRule had no
production callers. The APIKEY.FUN Double 11 card has rendered nothing
since the campaign ended on 2026-11-12; drop it with its copy and test.
2026-11-23 18:47:18 +08:00
Supra4E8C df252e39ea test: merge overlapping suites and drop brittle assertions
Fold single-purpose files into their topic suites, parameterize the
per-provider copies, and remove source-grep, constant and duplicated
assertions plus locale presence checks now covered by localeParity.
2026-11-23 18:46:10 +08:00
Supra4E8C 84eddacb66 test: remove source-grep and duplicated suites
Fold the unique assertions into authFilesApi, modelRulesDraft,
authFileDetailsHints and providerModelOptionsApi.
2026-11-23 18:45:53 +08:00
Supra4E8C a17a5c2839 test(i18n): add plural-aware parity for every locale
Translate the missing Russian plugin page copy, drop orphan zh-TW and vi
keys, and replace the per-locale and per-feature parity suites with one
check over all registered languages.
2026-11-23 18:45:53 +08:00
Supra4E8C 0f23538a74 fix(config): preserve Antigravity sensitive word comments 2026-11-23 18:45:31 +08:00
Supra4E8C 425d7dab82 fix(providers): preserve native connections across partner edits 2026-11-23 18:27:41 +08:00
Supra4E8C 4b908938f4 fix(providers): preserve native member inheritance and probe settings 2026-11-23 18:26:25 +08:00
Supra4E8C 9a591be429 fix(quota): honor selected Copilot routes and percentage-only quotas 2026-11-23 18:23:06 +08:00
Supra4E8C 67397b8077 fix(config): retain unfinished OAuth drafts and scalar match terms 2026-11-23 18:22:55 +08:00
Supra4E8C f260508f40 feat(i18n): update premium label translations for multiple languages 2026-11-23 18:14:58 +08:00
Supra4E8C db22493564 feat: enhance configuration error handling and improve proxy URL management 2026-11-23 18:13:26 +08:00
Supra4E8C aef56a47e4 feat(tests): add comprehensive tests for native connection forms, group settings, and provider functionality
- Implement tests for native connection forms to ensure password inputs are handled correctly and shared settings are preserved.
- Add tests for native disabled states to validate group and key behaviors.
- Create tests for native group settings to verify renaming, validation, and member field integrity.
- Introduce advanced tests for native keys, focusing on connection pool overrides and OpenAPI model handling.
- Develop tests for native provider groups to cover creation, editing, and deletion scenarios.
- Enhance workbench presentation tests to ensure correct rendering and functionality of connection cards.
- Update provider form hints and probe proxy tests for improved accuracy and functionality.
- Refactor sheet view navigation tests to ensure correct view key generation.
v1.29.0
2026-11-23 00:48:53 +08:00
Supra4E8C 5fec88a2d7 feat: add OAuth error rules configuration and validation
- Introduced `visualOAuthErrorRules.ts` for reading and writing OAuth error rules.
- Enhanced error rule validation to include trimming of matches.
- Updated `ErrorRulesEditor` to support new `trimMatches` prop.
- Integrated OAuth error rules into visual config validation.
- Added server ID management to the configuration.
- Implemented localization for new fields related to OAuth error rules.
- Added tests for OAuth error rules validation and configuration handling.
2026-11-22 23:27:04 +08:00
Supra4E8C 9fd4204fa4 feat(excludedModels): implement rule editor functionality and update tests 2026-11-22 23:08:12 +08:00
Supra4E8C 74c994231d Merge branch 'dev' 2026-11-22 22:55:55 +08:00
Supra4E8C fb2871715a feat(copilot): add GitHub Copilot quota support and related translations 2026-11-22 22:55:25 +08:00
Supra4E8C 7343fe78fb feat(copilot): add GitHub Copilot support and related translations 2026-11-22 13:34:26 +08:00
Supra4E8CandAaron Reisman b8a94c6645 fix(styles): replace undefined CSS custom properties (#558) (#588)
* fix(styles): replace undefined CSS custom properties

Three rules read var(--radius-sm), which no stylesheet defines, so those
elements get square corners. Use the $radius-sm Sass variable.

The plugin install gate repository link read var(--accent-color) and
var(--focus-ring-color, var(--accent-color)). Neither is defined, so the
outline is invalid at computed time and the link has no focus ring. Use
var(--primary-color) for the ring, like the other focus outlines, and
var(--text-primary) for the hover color.

Add a test that fails when a var() read has no definition in src.

* test(styles): distinguish required CSS variables from optional reads

---------


(cherry picked from commit 43e35147ac)

Co-authored-by: Aaron Reisman <lifeiscontent@users.noreply.github.com>
2026-11-22 13:28:23 +08:00
Supra4E8C f7aae75243 Revert "fix(styles): replace undefined CSS custom properties (#558)"
This reverts commit 43e35147ac.
2026-11-22 13:27:20 +08:00
Aaron ReismanandSupra4E8C 43e35147ac fix(styles): replace undefined CSS custom properties (#558)
* fix(styles): replace undefined CSS custom properties

Three rules read var(--radius-sm), which no stylesheet defines, so those
elements get square corners. Use the $radius-sm Sass variable.

The plugin install gate repository link read var(--accent-color) and
var(--focus-ring-color, var(--accent-color)). Neither is defined, so the
outline is invalid at computed time and the link has no focus ring. Use
var(--primary-color) for the ring, like the other focus outlines, and
var(--text-primary) for the hover color.

Add a test that fails when a var() read has no definition in src.

* test(styles): distinguish required CSS variables from optional reads

---------

Co-authored-by: Supra4E8C <tan13318527080@163.com>
2026-11-22 13:23:06 +08:00
Supra4E8C f104ccb96d fix(providers): close onboarding forms back to the inline catalogue 2026-11-22 13:17:51 +08:00
Supra4E8C d493356d45 fix(config): preserve alias bindings when reordering client keys 2026-11-22 13:17:51 +08:00
Supra4E8C fad0ffc025 fix(providers): reset sheet focus and scroll on view changes 2026-11-22 13:17:51 +08:00
Supra4E8C e680f7f411 fix(providers): edit existing partner bundles from connection actions 2026-11-22 13:17:51 +08:00
Supra4E8C 604a2a8351 fix(providers): ignore model queries when the search field is hidden 2026-11-22 13:17:51 +08:00
Supra4E8C 4a3c1d3bb0 fix(config): drop incompatible scalar tags on client key edits 2026-11-22 13:16:16 +08:00
Supra4E8C e22c168b14 feat(providers): keep every brand in the strip alongside the quick-connect invitation 2026-11-22 12:59:54 +08:00
Supra4E8C 246637a34b feat(providers): feature quick-connect partners in an add-provider catalogue 2026-11-22 12:52:51 +08:00
Supra4E8C f3020c8f21 feat(providers): redesign workbench with brand tabs, resource cards and sectioned forms 2026-11-22 12:43:41 +08:00
Supra4E8C 063734d1e3 feat: enhance YAML handling for client keys and preserve line endings in edits 2026-11-22 10:50:37 +08:00
Supra4E8C cd46a28be9 feat: add test for static highlight in flagship quota badge and ensure no animation is applied 2026-11-19 22:21:26 +08:00
Supra4E8C f7ad088698 feat: implement ProviderArtwork component and integrate into various features 2026-11-19 22:10:43 +08:00
Supra4E8C e5eb4fe63a feat: enhance payload replacement functionality
- Updated the keywords for payload replacement to include 'system', 'developer', 'paths', and 'regex'.
- Modified validation logic in `getPayloadReplaceValidationError` to support new roles and paths.
- Added support for paths in the payload replacement target, allowing for JSON path selection.
- Enhanced error messages for invalid targets, positions, and paths in multiple languages.
- Updated visual configuration types to include paths and regex support for replacements.
- Improved tests to cover new functionality, including validation for paths and mixed target types.
v1.28.3
2026-11-18 13:36:53 +08:00
Supra4E8C 55a41a6fe2 feat: enhance model handling by incorporating display names and updating filtering logic v1.28.2 2026-11-18 13:18:04 +08:00
Supra4E8C 706c7c6f33 feat(i18n): add payload replacement validation messages and UI components
- Updated English, Korean, Russian, Turkish, Vietnamese, Simplified Chinese, and Traditional Chinese locale files to include new validation messages for payload replacement rules.
- Introduced a new `PayloadReplaceRule` type in visualConfig.ts to define the structure of payload replacement rules.
- Enhanced the visual configuration to support payload replacement rules, including validation for target roles, positions, models, and replacements.
- Created tests for the new payload replacement rules editor and validation logic, ensuring proper rendering and functionality.
- Updated existing tests to accommodate changes in the payload validation structure.
v1.28.1
2026-11-16 22:33:10 +08:00
Supra4E8C 15c3220b20 feat: add sensitive text replacement functionality
- Introduced `sensitiveWordsReplace` and `sensitivePatternsReplace` fields in CloakInput and related types.
- Updated provider key configuration to handle sensitive replacements.
- Enhanced visual configuration to support sensitive replacements with parsing and equality checks.
- Added localization for sensitive replacements in multiple languages.
- Implemented API serialization and normalization for sensitive replacements.
- Created tests for sensitive replacement editor and visual config handling.
2026-11-14 21:56:12 +08:00
Supra4E8C af75f6539e Refactor tests to enhance InfoTip functionality and localization
- Updated `providerErrorRulesUi.test.ts` to ensure controls are disabled while saving or disconnected, and added tests for InfoTips related to regex conditions and rule-order hints.
- Created `providerFormHints.test.ts` to validate the transformation of notes into InfoTips, ensuring accessibility and proper descriptions for various form elements.
- Enhanced `providerModelOptions.test.ts` to confirm that field notes are represented as InfoTips and that existing thinking JSON adds preservation notes.
- Added tests in `quotaBodyRendering.test.ts` for Antigravity and Plugin quota groups to ensure descriptions are displayed as InfoTips.
- Implemented `quotaTimelineRendering.test.ts` to verify InfoTip functionality in the QuotaTimeline component.
- Updated `routingPage.test.ts` to check that policy explanations are presented as InfoTips and that the preview caveat is correctly positioned.
- Introduced `tooltipMarkup.test.ts` to validate the structure and behavior of InfoTips and Tooltips, ensuring proper accessibility attributes.
- Added `tooltipPosition.test.ts` to test the positioning logic of tooltips within the viewport.
- Fixed Turkish locale test to ensure correct hint extraction from the configuration.
2026-11-14 20:40:37 +08:00
Supra4E8C 3d893ec889 feat(autocomplete): implement normalization and filtering for autocomplete options v1.28.0 2026-11-14 02:46:56 +08:00
Supra4E8C 1e29f88f08 fix(plugins): block store installs during plugin mutations 2026-11-14 02:32:07 +08:00
Supra4E8C a4bad6e320 refactor: update plugin management and store localization
- Refactored Vietnamese, Simplified Chinese, and Traditional Chinese localization for plugin management and store.
- Updated routing to redirect old plugin store paths to the new plugins store view.
- Added tests for plugin status and store entries, ensuring proper functionality and localization coverage.
- Enhanced plugin management descriptions and labels for clarity and consistency across languages.
2026-11-14 02:26:26 +08:00
Supra4E8C 96ce4e1b0f feat: enhance login proxy support for built-in and plugin OAuth logins 2026-11-14 00:46:30 +08:00
Supra4E8C 6b1b94a776 feat: add login proxy support for OAuth authentication
- Introduced new UI elements and translations for login proxy functionality in multiple languages (en, ko, ru, tr, vi, zh-CN, zh-TW).
- Updated OAuth API to accept a proxy URL for login requests, moving the proxy information to the POST body as required by the backend.
- Implemented tests for login proxy validation, ensuring proper handling of valid and invalid proxy URLs.
- Enhanced the OAuth dialog and login proxy field components to display and manage proxy settings effectively.
2026-11-14 00:35:54 +08:00
Supra4E8C 6cc19fedab feat(quota): add support for independent quota groups in timeline and enhance styling 2026-11-13 12:22:07 +08:00