MCPcopy Create free account

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

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

↓ 3 callersFunctionnormalizeLogLevel
(value: string | undefined, fallback: RuntimeLogLevel)
src/utils/runtimeLoggingService.ts:38
↓ 3 callersFunctionnormalizeLogLevel
(value: string | undefined, fallback: RuntimeLogLevel)
src/core/config/runtime-config-store.ts:43
↓ 3 callersFunctionparseFloatValue
(value: string | undefined, fallback: number)
src/config.ts:12
↓ 3 callersFunctionparseInteger
(value: string | undefined, fallback: number)
src/utils/runtimeLoggingService.ts:33
↓ 3 callersFunctionparseMouse
(data: string)
src/tui2/mouse.ts:10
↓ 3 callersMethodresetRequestCountsIfNeeded
()
src/qwen/api.ts:610
↓ 3 callersFunctionresolveRuntimeStoragePaths
(options: RuntimeStoragePathOptions = {})
src/core/config/storage-paths.ts:27
↓ 3 callersFunctionresolveStartupLogLevel
()
src/utils/runtimeLoggingService.ts:47
↓ 3 callersFunctionrunCommand
(command: string, args: string[], env: NodeJS.ProcessEnv, cwd = process.cwd())
scripts/smoke-packaged-install.ts:12
↓ 3 callersFunctionrunUsageCommand
(args: string[] = process.argv.slice(2), options: { commandName?: string } = {})
usage.ts:103
↓ 3 callersFunctionselected
(s: string)
src/tui2/render.ts:105
↓ 3 callersFunctionsendResponse
(response: any)
src/mcp.ts:38
↓ 3 callersMethodsetRuntimeLogLevel
(level: RuntimeLogLevel, persist = true)
src/utils/runtimeLoggingService.ts:112
↓ 3 callersFunctionstatusColor
(status: AccountInfo["status"])
src/tui2/screens/accounts.ts:10
↓ 3 callersMethodstepAccounts
(delta: number)
src/tui2/app.ts:200
↓ 3 callersMethodstepArtifacts
(delta: number)
src/tui2/app.ts:218
↓ 3 callersMethodstepUsage
(delta: number)
src/tui2/app.ts:209
↓ 3 callersFunctionstripAnsi
(text: string)
src/tui2/main.ts:32
↓ 2 callersMethodcheckAndRefreshExpiredAccounts
()
src/utils/accountRefreshScheduler.ts:37
↓ 2 callersFunctionclamp
(value: number, min: number, max: number)
src/tui2/screens/artifacts.ts:22
↓ 2 callersFunctionclampMaxTokens
(model: string, maxTokens: number)
src/qwen/api.ts:131
↓ 2 callersFunctionclassifyLogLine
(message: string)
src/tui2/main.ts:105
↓ 2 callersMethodcleanupLogs
()
src/utils/runtimeLoggingService.ts:314
↓ 2 callersFunctioncreateInitialAuthModalState
()
src/tui2/state.ts:100
↓ 2 callersFunctioncreateInitialDeleteModalState
()
src/tui2/state.ts:110
↓ 2 callersFunctioncreateShutdownHandler
({ signal, server, qwenAPI, accountRefreshScheduler, liveLogger }: { signal: string; server?: any; qwenAPI: an
src/server/lifecycle.ts:49
↓ 2 callersFunctiondisableMouse
(write: (s: string) => void)
src/tui2/mouse.ts:31
↓ 2 callersFunctionenableMouse
(write: (s: string) => void)
src/tui2/mouse.ts:27
↓ 2 callersMethodenforceLogFileLimit
(limit: number)
src/utils/logger.ts:26
↓ 2 callersFunctionensureDay
(date: string)
usage.ts:33
↓ 2 callersMethodensureTokenUsage
(accountId: string, date: string)
src/core/usage/in-memory-usage-store.ts:67
↓ 2 callersFunctionformatAccountStatus
(credentials: any, needsRefresh: boolean)
src/server/health-handler.ts:1
↓ 2 callersFunctionformatDuration
(ms: number)
src/tui2/render.ts:383
↓ 2 callersFunctionformatExpiry
(expiresAt: number | undefined)
src/tui2/render.ts:408
↓ 2 callersFunctionformatPercent
(rate: number)
src/tui2/render.ts:397
↓ 2 callersFunctionformatRequests
(day: Pick<UsageDay, "requests" | "requestsKnown" | "requestFloor">)
src/tui2/screens/usage.ts:7
↓ 2 callersMethodgetApiEndpoint
(credentials: any)
src/qwen/api.ts:849
↓ 2 callersMethodgetErrorType
(error: any)
src/utils/logger.ts:142
↓ 2 callersMethodgetLogDir
()
src/utils/runtimeLoggingService.ts:147
↓ 2 callersMethodgetRefreshThresholdMinutes
(accountId: string | null = null)
src/qwen/auth.ts:203
↓ 2 callersFunctiongetRequestAccountId
(req: RequestLike)
src/server/proxy-controller.ts:18
↓ 2 callersMethodgetTimestampForFilename
()
src/utils/logger.ts:50
↓ 2 callersMethodgetWebSearchRequestCount
(accountId: string)
src/qwen/api.ts:633
↓ 2 callersFunctionhandleStartServer
()
src/tui2/main.ts:204
↓ 2 callersMethodincrementRequestCount
(accountId: string)
src/qwen/api.ts:648
↓ 2 callersMethodinitiateDeviceFlow
()
src/core/auth/contracts.ts:29
↓ 2 callersMethodinitiateDeviceFlow
()
src/qwen/auth.ts:399
↓ 2 callersMethodisAccountValid
(accountId: string)
src/qwen/auth.ts:394
↓ 2 callersFunctionisMissingPathError
(error: unknown)
src/qwen/auth.ts:56
↓ 2 callersFunctionisSelectionStyle
(value: string | undefined | null)
src/tui2/theme.ts:105
↓ 2 callersFunctionisThemeName
(value: string | undefined | null)
src/tui2/theme.ts:96
↓ 2 callersMethodlistAccountIds
()
src/core/auth/contracts.ts:24
↓ 2 callersFunctionliveLogLevelButtons
(current: LogLevel)
src/tui2/screens/live.ts:41
↓ 2 callersFunctionliveServerButtons
(serverState: TuiState["runtime"]["serverState"])
src/tui2/screens/live.ts:33
↓ 2 callersMethodloadDefaultCredentials
()
src/core/auth/contracts.ts:22
↓ 2 callersMethodloadUsageStateFromStore
()
src/qwen/api.ts:578
↓ 2 callersMethodmainWidth
(totalWidth: number)
src/tui2/app.ts:282
↓ 2 callersMethodnormalizeAccountKey
(accountId: string | null = null)
src/qwen/auth.ts:199
↓ 2 callersFunctionnormalizeInput
(input: unknown)
src/utils/tokenCounter.ts:3
↓ 2 callersFunctionnormalizeRawResponseBody
(value: unknown)
src/qwen/api.ts:383
↓ 2 callersFunctionnormalizeRetryConfig
(value: Partial<RetryConfig> | undefined)
src/core/config/runtime-config-store.ts:80
↓ 2 callersFunctionnormalizeSelectionStyle
(value: string | undefined)
src/core/config/runtime-config-store.ts:67
↓ 2 callersFunctionnormalizeTheme
(value: string | undefined)
src/core/config/runtime-config-store.ts:59
↓ 2 callersFunctionparseJson
(raw: string)
src/core/config/runtime-config-store.ts:35
↓ 2 callersFunctionparseJsonResponseBody
(rawBody: unknown, context: string)
src/qwen/api.ts:440
↓ 2 callersMethodperformTokenRefresh
(credentials: QwenCredentials, accountId: string | null = null)
src/qwen/auth.ts:349
↓ 2 callersFunctionpersistTuiPreferences
(input: { theme?: TuiState["themeName"]; selectionStyle?: TuiState["selectionStyle"] })
src/tui2/main.ts:97
↓ 2 callersMethodpollForToken
(deviceCode: string, codeVerifier: string, accountId?: string)
src/core/auth/contracts.ts:30
↓ 2 callersMethodpollForToken
(device_code: string, code_verifier: string, accountId: string | null = null)
src/qwen/auth.ts:438
↓ 2 callersFunctionprintAuthUsage
(commandPrefix = "npm run auth")
authenticate.ts:198
↓ 2 callersFunctionprocessMessagesForVision
(messages: any[], model: string)
src/qwen/api.ts:139
↓ 2 callersMethodrecordTokenUsage
(accountId: string, usage: any)
src/qwen/api.ts:658
↓ 2 callersMethodrefreshAccessToken
(credentials: QwenCredentials)
src/qwen/auth.ts:244
↓ 2 callersFunctionrefreshUsage
()
src/tui2/main.ts:177
↓ 2 callersFunctionresolveModelAlias
(model: string)
src/qwen/api.ts:99
↓ 2 callersFunctionresolveThinkingParams
(request: any)
src/qwen/api.ts:58
↓ 2 callersFunctionrunAuthCommand
(args: string[] = process.argv.slice(2), options: { commandPrefix?: string } = {})
authenticate.ts:207
↓ 2 callersFunctionsetActiveSelectionStyle
(style: SelectionStyle)
src/tui2/theme.ts:109
↓ 2 callersFunctionsetActiveTheme
(themeName: ThemeName)
src/tui2/theme.ts:117
↓ 2 callersMethodsetArtifactFilter
(value: string)
src/tui2/app.ts:242
↓ 2 callersMethodsetLogLevel
(level: RuntimeLogLevel)
src/core/logging/contracts.ts:5
↓ 2 callersMethodshouldRefreshToken
(credentials: QwenCredentials | null, accountId: string | null = null)
src/qwen/auth.ts:211
↓ 2 callersFunctionshutdownServerRuntime
({ qwenAPI, accountRefreshScheduler, liveLogger, server, reason, }: { qwenAPI: any; accountRefre
src/server/lifecycle.ts:18
↓ 2 callersMethodstartCleanupJob
()
src/utils/runtimeLoggingService.ts:327
↓ 2 callersFunctionstartTui
()
src/cli/qwen-proxy.ts:8
↓ 2 callersFunctionsumRequestCounts
(requestCounts: Map<string, number>)
src/tui2/runtime.ts:88
↓ 2 callersMethodtransform
(messages: Message[], model: string)
src/utils/systemPromptTransformer.ts:88
↓ 2 callersFunctiontransformMessagesForPortal
* Sanitizes and transforms message payloads to comply with the undocumented * strict formatting rules of the `portal.qwen.ai/v1/chat/completions` en
src/qwen/api.ts:207
↓ 2 callersMethodupdate
(modal: AccountsAuthModalState)
src/tui2/auth-overlay.ts:52
↓ 2 callersFunctionwait
(ms: number)
scripts/validate-tui-pty.ts:99
↓ 2 callersFunctionwarnAuthIssueOnce
(issueKey: string, ...args: unknown[])
src/qwen/auth.ts:60
↓ 1 callersFunctionaddAccount
(accountId: string)
authenticate.ts:46
↓ 1 callersMethodaddCacheControl
(message: Message)
src/utils/systemPromptTransformer.ts:65
↓ 1 callersFunctionaggregateUsageDays
( tokenUsage: Map<string, Array<{ date: string; requests?: number; requestsKnown?: boolean;
src/tui2/runtime.ts:191
↓ 1 callersFunctionallocatePort
()
scripts/smoke-packaged-install.ts:28
↓ 1 callersFunctionappearanceRows
(state: TuiState)
src/tui2/screens/settings.ts:17
↓ 1 callersFunctionartifactExists
(tree: readonly ArtifactNode[], target: string)
src/tui2/main.ts:112
↓ 1 callersFunctionartifactPathExists
(nodes: readonly ArtifactNode[], target: string | null)
src/tui2/state.ts:36
↓ 1 callersMethodattachRuntimeConfigStore
(runtimeConfigStore: RuntimeConfigStoreLike | null | undefined)
src/utils/runtimeLoggingService.ts:65
↓ 1 callersFunctionauthenticate
()
authenticate.ts:140
← previousnext →101–200 of 576, ranked by callers