Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aptdnfapt/qwen-code-oai-proxy
/ functions
Functions
576 in github.com/aptdnfapt/qwen-code-oai-proxy
⨍
Functions
576
◇
Types & classes
62
Function
layoutButtonRow
(items: readonly ButtonRowItem<T>[], gap = 1)
src/tui2/render.ts:197
Function
layoutLabeledButtonGroup
( label: string, items: readonly ButtonRowItem<T>[], minLabelWidth = 12, )
src/tui2/render.ts:270
Method
listAccountIds
()
src/core/auth/legacy-qwen-auth-service.ts:64
Method
listAccounts
()
src/core/accounts/round-robin-account-service.ts:14
Method
listAccounts
()
src/core/accounts/contracts.ts:17
Method
listUsage
(date?: string)
src/core/usage/contracts.ts:25
Method
listUsage
(date = todayDate())
src/core/usage/in-memory-usage-store.ts:59
Function
loadAccounts
()
src/tui2/runtime.ts:367
Method
loadAccounts
()
src/core/auth/legacy-qwen-auth-service.ts:50
Function
loadArtifactPreview
(path: string)
src/tui2/runtime.ts:378
Function
loadArtifacts
()
src/tui2/runtime.ts:375
Method
loadDefaultCredentials
()
src/core/auth/legacy-qwen-auth-service.ts:45
Function
loadUsage
()
src/tui2/runtime.ts:370
Function
logError
(requestId: string, accountId: string | null | undefined, statusCode: number, errorOrMessage: any, responseDat
src/utils/fileLogger.ts:174
Function
logToFile
(requestId: string, content: string, statusCode: number, loggingState?: LoggingStateSnapshot)
src/utils/fileLogger.ts:198
Method
markAccountUnhealthy
(accountId: string)
src/core/accounts/round-robin-account-service.ts:46
Method
markAccountUnhealthy
(accountId: string)
src/core/accounts/contracts.ts:19
Function
mcpGetHandler
(req: any, res: any)
src/mcp.ts:8
Function
mcpPostHandler
(req: any, res: any)
src/mcp.ts:24
Method
normalizeAccountId
(accountId: string | null | undefined)
src/qwen/api.ts:682
Function
openUsageStore
()
src/utils/usageStore.ts:169
Method
peekNextAccount
()
src/qwen/auth.ts:379
Method
pollForToken
(deviceCode: string, codeVerifier: string, accountId?: string)
src/core/auth/legacy-qwen-auth-service.ts:98
Function
proxyError
(_requestId: string, statusCode: number, accountId: string | null | undefined, errorMessage: string, loggingSt
src/utils/liveLogger.ts:128
Function
proxyQuotaExceeded
(requestId: string, accountId: string | null | undefined, loggingState?: { liveEnabled?: boolean })
src/utils/liveLogger.ts:170
Function
proxyRequest
(requestId: string, model: string, accountId: string | null | undefined, tokenCount: number, requestNum?: numb
src/utils/liveLogger.ts:111
Function
proxyResponse
(requestId: string, statusCode: number, accountId: string | null | undefined, latency: number, inputTokens: nu
src/utils/liveLogger.ts:119
Function
proxyRetry
(requestId: string, accountId: string | null | undefined, attempt: number, maxAttempts: number, delayMs: numbe
src/utils/liveLogger.ts:158
Function
proxyRetryFailed
(requestId: string, accountId: string | null | undefined, attempt: number, maxAttempts: number, loggingState?:
src/utils/liveLogger.ts:164
Function
recordTokenUsage
( accountId: string, date: string, inputTokens: number, outputTokens: number, cacheReadTokens: numbe
src/utils/usageStore.ts:221
Function
refresh
()
src/tui2/runtime.ts:364
Method
refreshAccessToken
(credentials: AuthCredentials)
src/core/auth/contracts.ts:28
Method
refreshAccessToken
(credentials: AuthCredentials)
src/core/auth/legacy-qwen-auth-service.ts:84
Method
removeAccount
(accountId: string)
src/core/auth/legacy-qwen-auth-service.ts:111
Method
render
(width: number)
src/tui2/auth-overlay.ts:129
Method
render
(width: number)
src/tui2/app.ts:886
Method
render
(width: number)
src/tui2/delete-overlay.ts:62
Function
renderButtonCell
(item: ButtonRowItem<T>, width: number)
src/tui2/render.ts:167
Method
resetHealth
(accountId: string)
src/core/accounts/round-robin-account-service.ts:50
Method
resetHealth
(accountId: string)
src/core/accounts/contracts.ts:20
Function
resetRequestCounts
(newDate: string)
src/utils/usageStore.ts:215
Function
restartServer
()
src/tui2/runtime.ts:438
Method
row
(content: string)
src/tui2/auth-overlay.ts:142
Method
row
(content: string)
src/tui2/delete-overlay.ts:71
Method
rows
()
src/tui2/main.ts:60
Method
saveCredentials
(credentials: AuthCredentials, accountId?: string | null)
src/core/auth/contracts.ts:31
Method
saveCredentials
(credentials: AuthCredentials, accountId?: string | null)
src/core/auth/legacy-qwen-auth-service.ts:107
Method
selectAccount
(preferredAccountId?: string)
src/core/accounts/round-robin-account-service.ts:18
Method
selectAccount
(preferredAccountId?: string)
src/core/accounts/contracts.ts:18
Function
serverStarted
(host: string, port: number)
src/utils/liveLogger.ts:154
Function
setConsoleEnabled
(enabled: boolean)
src/utils/fileLogger.ts:255
Function
setConsoleEnabled
(enabled: boolean)
src/utils/liveLogger.ts:191
Function
setLogLevel
(level: LogLevel)
src/tui2/runtime.ts:459
Method
setLogLevel
(level: RuntimeLogLevel)
src/core/config/runtime-config-store.ts:176
Method
setRuntimeLevel
(level: RuntimeLogLevel)
src/core/types/logging.ts:36
Method
setRuntimeLevel
(level: RuntimeLogLevel)
src/core/logging/contracts.ts:22
Function
setRuntimeLogLevel
(level: any, persist?: boolean)
src/utils/fileLogger.ts:252
Method
settleStream
()
src/server/proxy-controller.ts:315
Method
shouldRefreshToken
(credentials: AuthCredentials | null, accountId?: string | null)
src/core/auth/legacy-qwen-auth-service.ts:80
Function
shutdown
(reason: string)
src/utils/liveLogger.ts:176
Function
sortArtifactEntries
(a: { name: string; isDirectory: () => boolean }, b: { name: string; isDirectory: () => boolean })
src/tui2/runtime.ts:124
Function
startCleanupJob
()
src/utils/fileLogger.ts:270
Function
startServer
()
src/tui2/runtime.ts:403
Function
stop
(reason = "server stopped")
src/server/headless-runtime.ts:113
Function
stopServer
()
src/tui2/runtime.ts:421
Function
subscribe
(listener: LiveLogListener)
src/utils/liveLogger.ts:180
Method
toJSON
()
src/core/errors/proxy-error.ts:36
Function
toProxyError
(error: unknown, fallbackStatusCode = 500)
src/core/errors/proxy-error.ts:47
Function
vDivider
()
src/tui2/render.ts:61
Method
write
(artifacts: RequestDebugArtifacts)
src/core/logging/contracts.ts:17
Method
writeError
(entry: ErrorLogEntry)
src/core/types/logging.ts:38
Method
writeError
(entry: ErrorLogEntry)
src/core/logging/contracts.ts:24
Method
writeRequestArtifacts
(artifacts: RequestDebugArtifacts)
src/core/types/logging.ts:39
Method
writeRequestArtifacts
(artifacts: RequestDebugArtifacts)
src/core/logging/contracts.ts:25
Method
writeState
(input: Partial<RuntimeState>)
src/core/config/runtime-config-store.ts:240
Function
zipColumns
(left: string[], right: string[], leftW: number, divider: string, rightW: number, totalRows: number)
src/tui2/render.ts:417
← previous
501–576 of 576, ranked by callers