[PR #21] [MERGED] feat: Add validation and account management functionality #16

Closed
opened 2026-02-27 15:47:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Quorinex/Kiro-Go/pull/21
Author: @hkxiaoyao
Created: 2/23/2026
Status: Merged
Merged: 2/23/2026
Merged by: @Quorinex

Base: mainHead: main


📝 Commits (2)

  • 9496c0d feat: Add validation and account management functionality
  • 9f25093 feat: Add logic to skip accounts with exhausted usage limits

📊 Changes

8 files changed (+354 additions, -49 deletions)

View changed files

📝 auth/oidc.go (+3 -0)
📝 config/config.go (+3 -0)
📝 pool/account.go (+33 -4)
📝 proxy/handler.go (+95 -0)
📝 proxy/kiro.go (+6 -6)
📝 proxy/kiro_api.go (+5 -5)
📝 proxy/translator.go (+31 -26)
📝 web/index.html (+178 -8)

📄 Description

  • Add validation for clientID and clientSecret in refreshOIDCToken function
  • Add weight field for load balancing priority in Account struct
  • Implement weighted轮询策略以根据账号权重分配选择概率。
  • Add batch account management functionality including enabling, disabling, refreshing, and retrieving account details.
  • Update Kiro API version and adjust user agent strings to reflect new version numbers.
  • Update Kiro version and modify user agent strings and header settings.
  • Refactor model mapping to an ordered list for precise key matching.
  • Add account bulk actions and filtering toolbar to index.html

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Quorinex/Kiro-Go/pull/21 **Author:** [@hkxiaoyao](https://github.com/hkxiaoyao) **Created:** 2/23/2026 **Status:** ✅ Merged **Merged:** 2/23/2026 **Merged by:** [@Quorinex](https://github.com/Quorinex) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`9496c0d`](https://github.com/Quorinex/Kiro-Go/commit/9496c0d8120c545ed59f3429a9b88cd8e4619e07) feat: Add validation and account management functionality - [`9f25093`](https://github.com/Quorinex/Kiro-Go/commit/9f25093c3c5fea7cc2c0c64d3bae62ecedbf5a69) feat: Add logic to skip accounts with exhausted usage limits ### 📊 Changes **8 files changed** (+354 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `auth/oidc.go` (+3 -0) 📝 `config/config.go` (+3 -0) 📝 `pool/account.go` (+33 -4) 📝 `proxy/handler.go` (+95 -0) 📝 `proxy/kiro.go` (+6 -6) 📝 `proxy/kiro_api.go` (+5 -5) 📝 `proxy/translator.go` (+31 -26) 📝 `web/index.html` (+178 -8) </details> ### 📄 Description - Add validation for clientID and clientSecret in refreshOIDCToken function - Add weight field for load balancing priority in Account struct - Implement weighted轮询策略以根据账号权重分配选择概率。 - Add batch account management functionality including enabling, disabling, refreshing, and retrieving account details. - Update Kiro API version and adjust user agent strings to reflect new version numbers. - Update Kiro version and modify user agent strings and header settings. - Refactor model mapping to an ordered list for precise key matching. - Add account bulk actions and filtering toolbar to index.html --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:47:41 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Kiro-Go#16
No description provided.