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
↓ 1 callers
Function
showUsageReport
()
usage.ts:24
↓ 1 callers
Function
startRuntimeEntry
()
src/index.ts:3
↓ 1 callers
Method
startScheduler
()
src/utils/accountRefreshScheduler.ts:19
↓ 1 callers
Function
stopApp
()
src/tui2/main.ts:143
↓ 1 callers
Function
stopProcess
(child: import("node:child_process").ChildProcess)
scripts/smoke-packaged-install.ts:73
↓ 1 callers
Method
stopScheduler
()
src/utils/accountRefreshScheduler.ts:30
↓ 1 callers
Function
stopSchedulerAndPersist
({ qwenAPI, accountRefreshScheduler, liveLogger, reason }: { qwenAPI: any; accountRefreshScheduler: any; liveL
src/server/lifecycle.ts:1
↓ 1 callers
Method
streamChatCompletions
(request: any)
src/qwen/api.ts:1003
↓ 1 callers
Function
stripAnsi
(text: string)
src/tui2/console-redirect.ts:16
↓ 1 callers
Function
testAccount
(accountId: string)
test-all-accounts.ts:17
↓ 1 callers
Function
testAllAccounts
()
test-all-accounts.ts:89
↓ 1 callers
Function
toDeviceFlowResult
(input: unknown)
src/core/auth/legacy-qwen-auth-service.ts:34
↓ 1 callers
Function
waitForHealth
(url: string, timeoutMs: number)
scripts/smoke-packaged-install.ts:51
↓ 1 callers
Method
webSearch
(request: any)
src/qwen/api.ts:1023
↓ 1 callers
Method
writeErrorEntry
(logEntry: string, snapshot = this.captureState())
src/utils/runtimeLoggingService.ts:159
↓ 1 callers
Method
writeRequestErrorArtifact
(requestId: string, errorData: unknown, statusCode: number, snapshot = this.captureState())
src/utils/runtimeLoggingService.ts:213
↓ 1 callers
Method
writeRequestLogContent
(requestId: string, content: string, statusCode: number, snapshot = this.captureState())
src/utils/runtimeLoggingService.ts:170
Function
LOG_DIR
()
src/utils/fileLogger.ts:267
Function
accountAdded
(accountId: string)
src/utils/liveLogger.ts:146
Function
accountRefreshed
(accountId: string, status: string)
src/utils/liveLogger.ts:141
Function
accountRemoved
(accountId: string)
src/utils/liveLogger.ts:150
Method
addAccount
(credentials: QwenCredentials, accountId: string)
src/qwen/auth.ts:233
Method
addChatRequest
(accountId: string)
src/core/usage/contracts.ts:23
Method
addChatRequest
(accountId: string)
src/core/usage/in-memory-usage-store.ts:43
Method
addChatUsage
(accountId: string, inputTokens: number, outputTokens: number)
src/core/usage/contracts.ts:21
Method
addChatUsage
(accountId: string, inputTokens: number, outputTokens: number)
src/core/usage/in-memory-usage-store.ts:29
Method
addWebSearchUsage
(accountId: string, resultCount: number)
src/core/usage/contracts.ts:22
Method
addWebSearchUsage
(accountId: string, resultCount: number)
src/core/usage/in-memory-usage-store.ts:36
Function
authCompleted
(accountId: string)
src/utils/liveLogger.ts:137
Function
authInitiated
(deviceCode: string)
src/utils/liveLogger.ts:133
Function
captureState
()
src/utils/fileLogger.ts:243
Function
closeUsageStore
()
src/utils/usageStore.ts:330
Function
completeAddAccountFlow
(deviceCode: string, codeVerifier: string, accountId: string)
src/tui2/runtime.ts:397
Method
constructor
()
src/utils/logger.ts:13
Method
constructor
(qwenAPI: any)
src/utils/accountRefreshScheduler.ts:8
Method
constructor
()
src/utils/systemPromptTransformer.ts:41
Method
constructor
(modal: AccountsAuthModalState)
src/tui2/auth-overlay.ts:39
Method
constructor
(tui: TUI, initialState: TuiState, cb: AppCallbacks)
src/tui2/app.ts:72
Method
constructor
(accountId: string)
src/tui2/delete-overlay.ts:20
Method
constructor
(private readonly manager: LegacyQwenAuthManager)
src/core/auth/legacy-qwen-auth-service.ts:43
Method
constructor
(private readonly getAccounts: () => AccountDescriptor[], private readonly defaultAccountId?: string)
src/core/accounts/round-robin-account-service.ts:12
Method
constructor
(init: ProxyErrorInit)
src/core/errors/proxy-error.ts:26
Method
constructor
(options: RuntimeConfigStoreOptions = {})
src/core/config/runtime-config-store.ts:102
Method
constructor
(dependencies: ProxyDependencies)
src/server/proxy-controller.ts:134
Method
constructor
()
src/qwen/auth.ts:79
Method
constructor
()
src/qwen/api.ts:559
Function
countTokens
(input: unknown)
src/utils/tokenCounter.ts:23
Function
decrementActiveStreams
()
src/utils/runtimeActivity.ts:11
Function
deleteAccount
(accountId: string)
src/tui2/runtime.ts:400
Method
describe
()
src/utils/runtimeLoggingService.ts:333
Function
dispose
()
src/tui2/runtime.ts:463
Function
emit
(message: string, loggingState?: { liveEnabled?: boolean })
src/utils/liveLogger.ts:107
Method
emitLive
(event: LiveLogEvent)
src/core/types/logging.ts:37
Method
emitLive
(event: LiveLogEvent)
src/core/logging/contracts.ts:23
Method
focused2
()
src/tui2/auth-overlay.ts:46
Function
formatLogContent
(requestId: string, req: RequestLike, transformedBody: unknown, statusCode: number, latency: number, output: u
src/utils/fileLogger.ts:202
Method
getAccountCredentials
(accountId: string)
src/core/auth/legacy-qwen-auth-service.ts:68
Method
getAccountUsage
(accountId: string, date?: string)
src/core/usage/contracts.ts:24
Function
getActiveThemeName
()
src/tui2/theme.ts:121
Function
getActivitySnapshot
()
src/utils/runtimeActivity.ts:15
Function
getAllTodayRequestCounts
(resetDate: string)
src/utils/usageStore.ts:193
Function
getAllUsage
()
src/utils/usageStore.ts:268
Function
getLastResetDate
()
src/utils/usageStore.ts:174
Method
getLogLevel
()
src/core/config/runtime-config-store.ts:171
Method
getNextAccount
()
src/qwen/auth.ts:363
Function
getRecentEntries
(limit = 200)
src/utils/liveLogger.ts:187
Method
getRuntimeLevel
()
src/core/types/logging.ts:35
Method
getRuntimeLevel
()
src/core/logging/contracts.ts:21
Function
getRuntimeStatus
()
src/utils/fileLogger.ts:249
Function
getTodayRequestCount
(accountId: string, resetDate: string)
src/utils/usageStore.ts:185
Function
getTotalWebSearchCounts
()
src/utils/usageStore.ts:322
Method
getValidAccessToken
(accountId: string | null = null)
src/qwen/auth.ts:290
Function
getWebSearchCounts
(accountId: string)
src/utils/usageStore.ts:314
Method
getWebSearchResultCount
(accountId: string)
src/qwen/api.ts:644
Method
handleInput
(data: string)
src/tui2/auth-overlay.ts:59
Method
handleInput
(data: string)
src/tui2/app.ts:286
Method
handleInput
(data: string)
src/tui2/delete-overlay.ts:24
Function
handleRedirectedConsoleLog
(level: "info" | "warn" | "error" | "debug", message: string)
src/tui2/main.ts:87
Function
incrementActiveStreams
()
src/utils/runtimeActivity.ts:7
Function
incrementRequestCount
(accountId: string, resetDate: string)
src/utils/usageStore.ts:205
Function
incrementUsageRequests
(accountId: string, date: string)
src/utils/usageStore.ts:257
Function
incrementWebSearchRequest
(accountId: string)
src/utils/usageStore.ts:298
Function
incrementWebSearchResults
(accountId: string, count: number)
src/utils/usageStore.ts:306
Function
initialize
(runtimeConfigStore?: any)
src/utils/fileLogger.ts:246
Method
initialize
()
src/utils/accountRefreshScheduler.ts:14
Function
initiateAddAccountFlow
()
src/tui2/runtime.ts:381
Method
initiateDeviceFlow
()
src/core/auth/legacy-qwen-auth-service.ts:93
Function
interceptedConsoleDebug
(...args: unknown[])
src/tui2/console-redirect.ts:71
Function
interceptedConsoleError
(...args: unknown[])
src/tui2/console-redirect.ts:59
Function
interceptedConsoleInfo
(...args: unknown[])
src/tui2/console-redirect.ts:67
Function
interceptedConsoleLog
(...args: unknown[])
src/tui2/console-redirect.ts:55
Function
interceptedConsoleWarn
(...args: unknown[])
src/tui2/console-redirect.ts:63
Method
invalidate
()
src/tui2/auth-overlay.ts:25
Method
invalidate
()
src/tui2/app.ts:80
Method
invalidate
()
src/tui2/delete-overlay.ts:9
Function
isDebugLogging
()
src/utils/fileLogger.ts:264
Function
isErrorDebugLogging
()
src/utils/fileLogger.ts:261
Function
isErrorLogging
()
src/utils/fileLogger.ts:258
Method
isTokenValid
(credentials: AuthCredentials | null)
src/core/auth/legacy-qwen-auth-service.ts:72
Function
layoutButtonGroup
(items: readonly ButtonRowItem<T>[])
src/tui2/render.ts:224
← previous
next →
401–500 of 576, ranked by callers