chore: commit current working state with config updates, test fixes, and continuity ledgers

This commit is contained in:
Gemini Nexus Bot committed 2026-04-27 00:43:57 -03:00
1 parent afe8859f16
commit 04014b8c7d
64 files changed
+5412 -4972

No files matched your search

@@ -8,7 +8,7 @@ import { RateLimitReason, RateLimitTracker } from './rate-limit-tracker';
import { updateDynamicForwardingRules } from '../../../lib/geminiNexus/ModelMapping';
import { registerProxyAdvancedService } from '../../../ipc/proxy-advanced/service-registry';
interface TokenData {
export interface TokenData {
email: string;
account_id: string;
access_token: string;
@@ -36,7 +36,7 @@ interface GetNextTokenOptions {
accountId?: string;
}
type TokenEntry = [string, TokenData];
export type TokenEntry = [string, TokenData];
interface CircuitBreakerEntry {
failureCount: number;
@@ -1158,6 +1158,10 @@ export class TokenManagerService implements OnModuleInit {
return GoogleAPIService.normalizeRefreshedOAuthClientKey(currentToken, refreshedClientKey);
}
getAllTokens(): TokenEntry[] {
return Array.from(this.tokens.entries());
}
getAllCollectedModels(): Set<string> {
const allModels = new Set<string>();
for (const tokenData of this.tokens.values()) {