MCPcopy Create free account

hub / github.com/aptdnfapt/qwen-code-oai-proxy / functions

Functions576 in github.com/aptdnfapt/qwen-code-oai-proxy

FunctionlayoutButtonRow
(items: readonly ButtonRowItem<T>[], gap = 1)
src/tui2/render.ts:197
FunctionlayoutLabeledButtonGroup
( label: string, items: readonly ButtonRowItem<T>[], minLabelWidth = 12, )
src/tui2/render.ts:270
MethodlistAccountIds
()
src/core/auth/legacy-qwen-auth-service.ts:64
MethodlistAccounts
()
src/core/accounts/round-robin-account-service.ts:14
MethodlistAccounts
()
src/core/accounts/contracts.ts:17
MethodlistUsage
(date?: string)
src/core/usage/contracts.ts:25
MethodlistUsage
(date = todayDate())
src/core/usage/in-memory-usage-store.ts:59
FunctionloadAccounts
()
src/tui2/runtime.ts:367
MethodloadAccounts
()
src/core/auth/legacy-qwen-auth-service.ts:50
FunctionloadArtifactPreview
(path: string)
src/tui2/runtime.ts:378
FunctionloadArtifacts
()
src/tui2/runtime.ts:375
MethodloadDefaultCredentials
()
src/core/auth/legacy-qwen-auth-service.ts:45
FunctionloadUsage
()
src/tui2/runtime.ts:370
FunctionlogError
(requestId: string, accountId: string | null | undefined, statusCode: number, errorOrMessage: any, responseDat
src/utils/fileLogger.ts:174
FunctionlogToFile
(requestId: string, content: string, statusCode: number, loggingState?: LoggingStateSnapshot)
src/utils/fileLogger.ts:198
MethodmarkAccountUnhealthy
(accountId: string)
src/core/accounts/round-robin-account-service.ts:46
MethodmarkAccountUnhealthy
(accountId: string)
src/core/accounts/contracts.ts:19
FunctionmcpGetHandler
(req: any, res: any)
src/mcp.ts:8
FunctionmcpPostHandler
(req: any, res: any)
src/mcp.ts:24
MethodnormalizeAccountId
(accountId: string | null | undefined)
src/qwen/api.ts:682
FunctionopenUsageStore
()
src/utils/usageStore.ts:169
MethodpeekNextAccount
()
src/qwen/auth.ts:379
MethodpollForToken
(deviceCode: string, codeVerifier: string, accountId?: string)
src/core/auth/legacy-qwen-auth-service.ts:98
FunctionproxyError
(_requestId: string, statusCode: number, accountId: string | null | undefined, errorMessage: string, loggingSt
src/utils/liveLogger.ts:128
FunctionproxyQuotaExceeded
(requestId: string, accountId: string | null | undefined, loggingState?: { liveEnabled?: boolean })
src/utils/liveLogger.ts:170
FunctionproxyRequest
(requestId: string, model: string, accountId: string | null | undefined, tokenCount: number, requestNum?: numb
src/utils/liveLogger.ts:111
FunctionproxyResponse
(requestId: string, statusCode: number, accountId: string | null | undefined, latency: number, inputTokens: nu
src/utils/liveLogger.ts:119
FunctionproxyRetry
(requestId: string, accountId: string | null | undefined, attempt: number, maxAttempts: number, delayMs: numbe
src/utils/liveLogger.ts:158
FunctionproxyRetryFailed
(requestId: string, accountId: string | null | undefined, attempt: number, maxAttempts: number, loggingState?:
src/utils/liveLogger.ts:164
FunctionrecordTokenUsage
( accountId: string, date: string, inputTokens: number, outputTokens: number, cacheReadTokens: numbe
src/utils/usageStore.ts:221
Functionrefresh
()
src/tui2/runtime.ts:364
MethodrefreshAccessToken
(credentials: AuthCredentials)
src/core/auth/contracts.ts:28
MethodrefreshAccessToken
(credentials: AuthCredentials)
src/core/auth/legacy-qwen-auth-service.ts:84
MethodremoveAccount
(accountId: string)
src/core/auth/legacy-qwen-auth-service.ts:111
Methodrender
(width: number)
src/tui2/auth-overlay.ts:129
Methodrender
(width: number)
src/tui2/app.ts:886
Methodrender
(width: number)
src/tui2/delete-overlay.ts:62
FunctionrenderButtonCell
(item: ButtonRowItem<T>, width: number)
src/tui2/render.ts:167
MethodresetHealth
(accountId: string)
src/core/accounts/round-robin-account-service.ts:50
MethodresetHealth
(accountId: string)
src/core/accounts/contracts.ts:20
FunctionresetRequestCounts
(newDate: string)
src/utils/usageStore.ts:215
FunctionrestartServer
()
src/tui2/runtime.ts:438
Methodrow
(content: string)
src/tui2/auth-overlay.ts:142
Methodrow
(content: string)
src/tui2/delete-overlay.ts:71
Methodrows
()
src/tui2/main.ts:60
MethodsaveCredentials
(credentials: AuthCredentials, accountId?: string | null)
src/core/auth/contracts.ts:31
MethodsaveCredentials
(credentials: AuthCredentials, accountId?: string | null)
src/core/auth/legacy-qwen-auth-service.ts:107
MethodselectAccount
(preferredAccountId?: string)
src/core/accounts/round-robin-account-service.ts:18
MethodselectAccount
(preferredAccountId?: string)
src/core/accounts/contracts.ts:18
FunctionserverStarted
(host: string, port: number)
src/utils/liveLogger.ts:154
FunctionsetConsoleEnabled
(enabled: boolean)
src/utils/fileLogger.ts:255
FunctionsetConsoleEnabled
(enabled: boolean)
src/utils/liveLogger.ts:191
FunctionsetLogLevel
(level: LogLevel)
src/tui2/runtime.ts:459
MethodsetLogLevel
(level: RuntimeLogLevel)
src/core/config/runtime-config-store.ts:176
MethodsetRuntimeLevel
(level: RuntimeLogLevel)
src/core/types/logging.ts:36
MethodsetRuntimeLevel
(level: RuntimeLogLevel)
src/core/logging/contracts.ts:22
FunctionsetRuntimeLogLevel
(level: any, persist?: boolean)
src/utils/fileLogger.ts:252
MethodsettleStream
()
src/server/proxy-controller.ts:315
MethodshouldRefreshToken
(credentials: AuthCredentials | null, accountId?: string | null)
src/core/auth/legacy-qwen-auth-service.ts:80
Functionshutdown
(reason: string)
src/utils/liveLogger.ts:176
FunctionsortArtifactEntries
(a: { name: string; isDirectory: () => boolean }, b: { name: string; isDirectory: () => boolean })
src/tui2/runtime.ts:124
FunctionstartCleanupJob
()
src/utils/fileLogger.ts:270
FunctionstartServer
()
src/tui2/runtime.ts:403
Functionstop
(reason = "server stopped")
src/server/headless-runtime.ts:113
FunctionstopServer
()
src/tui2/runtime.ts:421
Functionsubscribe
(listener: LiveLogListener)
src/utils/liveLogger.ts:180
MethodtoJSON
()
src/core/errors/proxy-error.ts:36
FunctiontoProxyError
(error: unknown, fallbackStatusCode = 500)
src/core/errors/proxy-error.ts:47
FunctionvDivider
()
src/tui2/render.ts:61
Methodwrite
(artifacts: RequestDebugArtifacts)
src/core/logging/contracts.ts:17
MethodwriteError
(entry: ErrorLogEntry)
src/core/types/logging.ts:38
MethodwriteError
(entry: ErrorLogEntry)
src/core/logging/contracts.ts:24
MethodwriteRequestArtifacts
(artifacts: RequestDebugArtifacts)
src/core/types/logging.ts:39
MethodwriteRequestArtifacts
(artifacts: RequestDebugArtifacts)
src/core/logging/contracts.ts:25
MethodwriteState
(input: Partial<RuntimeState>)
src/core/config/runtime-config-store.ts:240
FunctionzipColumns
(left: string[], right: string[], leftW: number, divider: string, rightW: number, totalRows: number)
src/tui2/render.ts:417
← previous501–576 of 576, ranked by callers