MCPcopy Create free account

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

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

↓ 1 callersFunctionshowUsageReport
()
usage.ts:24
↓ 1 callersFunctionstartRuntimeEntry
()
src/index.ts:3
↓ 1 callersMethodstartScheduler
()
src/utils/accountRefreshScheduler.ts:19
↓ 1 callersFunctionstopApp
()
src/tui2/main.ts:143
↓ 1 callersFunctionstopProcess
(child: import("node:child_process").ChildProcess)
scripts/smoke-packaged-install.ts:73
↓ 1 callersMethodstopScheduler
()
src/utils/accountRefreshScheduler.ts:30
↓ 1 callersFunctionstopSchedulerAndPersist
({ qwenAPI, accountRefreshScheduler, liveLogger, reason }: { qwenAPI: any; accountRefreshScheduler: any; liveL
src/server/lifecycle.ts:1
↓ 1 callersMethodstreamChatCompletions
(request: any)
src/qwen/api.ts:1003
↓ 1 callersFunctionstripAnsi
(text: string)
src/tui2/console-redirect.ts:16
↓ 1 callersFunctiontestAccount
(accountId: string)
test-all-accounts.ts:17
↓ 1 callersFunctiontestAllAccounts
()
test-all-accounts.ts:89
↓ 1 callersFunctiontoDeviceFlowResult
(input: unknown)
src/core/auth/legacy-qwen-auth-service.ts:34
↓ 1 callersFunctionwaitForHealth
(url: string, timeoutMs: number)
scripts/smoke-packaged-install.ts:51
↓ 1 callersMethodwebSearch
(request: any)
src/qwen/api.ts:1023
↓ 1 callersMethodwriteErrorEntry
(logEntry: string, snapshot = this.captureState())
src/utils/runtimeLoggingService.ts:159
↓ 1 callersMethodwriteRequestErrorArtifact
(requestId: string, errorData: unknown, statusCode: number, snapshot = this.captureState())
src/utils/runtimeLoggingService.ts:213
↓ 1 callersMethodwriteRequestLogContent
(requestId: string, content: string, statusCode: number, snapshot = this.captureState())
src/utils/runtimeLoggingService.ts:170
FunctionLOG_DIR
()
src/utils/fileLogger.ts:267
FunctionaccountAdded
(accountId: string)
src/utils/liveLogger.ts:146
FunctionaccountRefreshed
(accountId: string, status: string)
src/utils/liveLogger.ts:141
FunctionaccountRemoved
(accountId: string)
src/utils/liveLogger.ts:150
MethodaddAccount
(credentials: QwenCredentials, accountId: string)
src/qwen/auth.ts:233
MethodaddChatRequest
(accountId: string)
src/core/usage/contracts.ts:23
MethodaddChatRequest
(accountId: string)
src/core/usage/in-memory-usage-store.ts:43
MethodaddChatUsage
(accountId: string, inputTokens: number, outputTokens: number)
src/core/usage/contracts.ts:21
MethodaddChatUsage
(accountId: string, inputTokens: number, outputTokens: number)
src/core/usage/in-memory-usage-store.ts:29
MethodaddWebSearchUsage
(accountId: string, resultCount: number)
src/core/usage/contracts.ts:22
MethodaddWebSearchUsage
(accountId: string, resultCount: number)
src/core/usage/in-memory-usage-store.ts:36
FunctionauthCompleted
(accountId: string)
src/utils/liveLogger.ts:137
FunctionauthInitiated
(deviceCode: string)
src/utils/liveLogger.ts:133
FunctioncaptureState
()
src/utils/fileLogger.ts:243
FunctioncloseUsageStore
()
src/utils/usageStore.ts:330
FunctioncompleteAddAccountFlow
(deviceCode: string, codeVerifier: string, accountId: string)
src/tui2/runtime.ts:397
Methodconstructor
()
src/utils/logger.ts:13
Methodconstructor
(qwenAPI: any)
src/utils/accountRefreshScheduler.ts:8
Methodconstructor
()
src/utils/systemPromptTransformer.ts:41
Methodconstructor
(modal: AccountsAuthModalState)
src/tui2/auth-overlay.ts:39
Methodconstructor
(tui: TUI, initialState: TuiState, cb: AppCallbacks)
src/tui2/app.ts:72
Methodconstructor
(accountId: string)
src/tui2/delete-overlay.ts:20
Methodconstructor
(private readonly manager: LegacyQwenAuthManager)
src/core/auth/legacy-qwen-auth-service.ts:43
Methodconstructor
(private readonly getAccounts: () => AccountDescriptor[], private readonly defaultAccountId?: string)
src/core/accounts/round-robin-account-service.ts:12
Methodconstructor
(init: ProxyErrorInit)
src/core/errors/proxy-error.ts:26
Methodconstructor
(options: RuntimeConfigStoreOptions = {})
src/core/config/runtime-config-store.ts:102
Methodconstructor
(dependencies: ProxyDependencies)
src/server/proxy-controller.ts:134
Methodconstructor
()
src/qwen/auth.ts:79
Methodconstructor
()
src/qwen/api.ts:559
FunctioncountTokens
(input: unknown)
src/utils/tokenCounter.ts:23
FunctiondecrementActiveStreams
()
src/utils/runtimeActivity.ts:11
FunctiondeleteAccount
(accountId: string)
src/tui2/runtime.ts:400
Methoddescribe
()
src/utils/runtimeLoggingService.ts:333
Functiondispose
()
src/tui2/runtime.ts:463
Functionemit
(message: string, loggingState?: { liveEnabled?: boolean })
src/utils/liveLogger.ts:107
MethodemitLive
(event: LiveLogEvent)
src/core/types/logging.ts:37
MethodemitLive
(event: LiveLogEvent)
src/core/logging/contracts.ts:23
Methodfocused2
()
src/tui2/auth-overlay.ts:46
FunctionformatLogContent
(requestId: string, req: RequestLike, transformedBody: unknown, statusCode: number, latency: number, output: u
src/utils/fileLogger.ts:202
MethodgetAccountCredentials
(accountId: string)
src/core/auth/legacy-qwen-auth-service.ts:68
MethodgetAccountUsage
(accountId: string, date?: string)
src/core/usage/contracts.ts:24
FunctiongetActiveThemeName
()
src/tui2/theme.ts:121
FunctiongetActivitySnapshot
()
src/utils/runtimeActivity.ts:15
FunctiongetAllTodayRequestCounts
(resetDate: string)
src/utils/usageStore.ts:193
FunctiongetAllUsage
()
src/utils/usageStore.ts:268
FunctiongetLastResetDate
()
src/utils/usageStore.ts:174
MethodgetLogLevel
()
src/core/config/runtime-config-store.ts:171
MethodgetNextAccount
()
src/qwen/auth.ts:363
FunctiongetRecentEntries
(limit = 200)
src/utils/liveLogger.ts:187
MethodgetRuntimeLevel
()
src/core/types/logging.ts:35
MethodgetRuntimeLevel
()
src/core/logging/contracts.ts:21
FunctiongetRuntimeStatus
()
src/utils/fileLogger.ts:249
FunctiongetTodayRequestCount
(accountId: string, resetDate: string)
src/utils/usageStore.ts:185
FunctiongetTotalWebSearchCounts
()
src/utils/usageStore.ts:322
MethodgetValidAccessToken
(accountId: string | null = null)
src/qwen/auth.ts:290
FunctiongetWebSearchCounts
(accountId: string)
src/utils/usageStore.ts:314
MethodgetWebSearchResultCount
(accountId: string)
src/qwen/api.ts:644
MethodhandleInput
(data: string)
src/tui2/auth-overlay.ts:59
MethodhandleInput
(data: string)
src/tui2/app.ts:286
MethodhandleInput
(data: string)
src/tui2/delete-overlay.ts:24
FunctionhandleRedirectedConsoleLog
(level: "info" | "warn" | "error" | "debug", message: string)
src/tui2/main.ts:87
FunctionincrementActiveStreams
()
src/utils/runtimeActivity.ts:7
FunctionincrementRequestCount
(accountId: string, resetDate: string)
src/utils/usageStore.ts:205
FunctionincrementUsageRequests
(accountId: string, date: string)
src/utils/usageStore.ts:257
FunctionincrementWebSearchRequest
(accountId: string)
src/utils/usageStore.ts:298
FunctionincrementWebSearchResults
(accountId: string, count: number)
src/utils/usageStore.ts:306
Functioninitialize
(runtimeConfigStore?: any)
src/utils/fileLogger.ts:246
Methodinitialize
()
src/utils/accountRefreshScheduler.ts:14
FunctioninitiateAddAccountFlow
()
src/tui2/runtime.ts:381
MethodinitiateDeviceFlow
()
src/core/auth/legacy-qwen-auth-service.ts:93
FunctioninterceptedConsoleDebug
(...args: unknown[])
src/tui2/console-redirect.ts:71
FunctioninterceptedConsoleError
(...args: unknown[])
src/tui2/console-redirect.ts:59
FunctioninterceptedConsoleInfo
(...args: unknown[])
src/tui2/console-redirect.ts:67
FunctioninterceptedConsoleLog
(...args: unknown[])
src/tui2/console-redirect.ts:55
FunctioninterceptedConsoleWarn
(...args: unknown[])
src/tui2/console-redirect.ts:63
Methodinvalidate
()
src/tui2/auth-overlay.ts:25
Methodinvalidate
()
src/tui2/app.ts:80
Methodinvalidate
()
src/tui2/delete-overlay.ts:9
FunctionisDebugLogging
()
src/utils/fileLogger.ts:264
FunctionisErrorDebugLogging
()
src/utils/fileLogger.ts:261
FunctionisErrorLogging
()
src/utils/fileLogger.ts:258
MethodisTokenValid
(credentials: AuthCredentials | null)
src/core/auth/legacy-qwen-auth-service.ts:72
FunctionlayoutButtonGroup
(items: readonly ButtonRowItem<T>[])
src/tui2/render.ts:224
← previousnext →401–500 of 576, ranked by callers