MCPcopy Create free account

hub / github.com/Tron521/codex-console-temp / functions

Functions2,218 in github.com/Tron521/codex-console-temp

↓ 2 callersFunctiongetRunningBatchTasks
()
static/js/accounts.js:62
↓ 2 callersFunctiongetSelectedAccountEmail
()
static/js/payment.js:1236
↓ 2 callersFunctiongetStatusText
(type, status)
static/js/utils.js:682
↓ 2 callersFunctionget_codex2api_service_by_id
按 ID 获取 Codex2API 服务
src/database/crud.py:841
↓ 2 callersFunctionget_cpa_service_by_id
根据 ID 获取 CPA 服务
src/database/crud.py:706
↓ 2 callersMethodget_domain_task
(self, domain: str, task_id: str)
src/web/task_manager.py:551
↓ 2 callersFunctionget_email_service_by_id
根据 ID 获取邮箱服务
src/database/crud.py:248
↓ 2 callersFunctionget_expected_auth_token
()
src/web/auth.py:35
↓ 2 callersFunctionget_new_api_service_by_id
鎸?ID 鑾峰彇 new-api 鏈嶅姟
src/database/crud.py:913
↓ 2 callersFunctionget_sentinel_token_via_browser
Fetch full openai-sentinel-token by invoking SentinelSDK.token(flow) in browser.
src/core/anyauto/sentinel_browser.py:43
↓ 2 callersMethodget_service_class
获取服务类 Args: service_type: 服务类型 Returns: 服务类,如果未注册返回 None
src/services/base.py:356
↓ 2 callersFunctionget_sub2api_service_by_id
按 ID 获取 Sub2API 服务
src/database/crud.py:777
↓ 2 callersFunctionhandleModeChange
(e)
static/js/app.js:638
↓ 2 callersMethodis_available
检查提供者是否可用 Args: provider_type: 提供者类型 Returns: 是否可用
src/services/outlook/health_checker.py:80
↓ 2 callersMethodis_domain_task_cancel_requested
(self, domain: str, task_id: str)
src/web/task_manager.py:581
↓ 2 callersFunctionis_request_authenticated
(request: Request)
src/web/auth.py:66
↓ 2 callersFunctionis_websocket_authenticated
(websocket: WebSocket)
src/web/auth.py:86
↓ 2 callersMethodlist_domain_tasks
(self, domain: Optional[str] = None, limit: int = 100)
src/web/task_manager.py:560
↓ 2 callersMethodlist_emails
列出所有邮箱(如果服务支持) Args: **kwargs: 其他参数 Returns: 邮箱列表 Raises: EmailServiceError: 服
src/services/base.py:106
↓ 2 callersFunctionlist_selfcheck_runs
(limit: int = 20)
src/core/system_selfcheck.py:795
↓ 2 callersFunctionloadServiceConfigFields
(serviceType)
static/js/settings.js:727
↓ 2 callersFunctionloadSettings
()
static/js/settings.js:420
↓ 2 callersFunctionloadTodayStats
(silent = true)
static/js/app.js:2067
↓ 2 callersFunctionmaskCardNumber
(cardNumber)
static/js/payment.js:333
↓ 2 callersMethodmigrate_tables
数据库迁移 - 添加缺失的列 用于在不删除数据的情况下更新表结构
src/database/session.py:269
↓ 2 callersFunctionnormalizeCardPoolSupplier
(value)
static/js/payment.js:1686
↓ 2 callersFunctionnormalizeSubscriptionType
(subscriptionType)
static/js/accounts.js:806
↓ 2 callersFunctionnormalizeTaskState
(taskRef = {})
static/js/accounts.js:42
↓ 2 callersFunctionnormalizeTemplateData
(data)
static/js/payment.js:775
↓ 2 callersFunctionnormalize_codex2api_url
规范化 codex2api 根地址。
src/core/upload/codex2api_upload.py:19
↓ 2 callersFunctionnormalize_new_api_url
规范化 new-api 根地址。
src/core/upload/new_api_upload.py:22
↓ 2 callersFunctionnormalize_page_type
将 page.type 归一化为便于分支判断的 snake_case。
src/core/anyauto/utils.py:125
↓ 2 callersMethodnotify_schedule_updated
(self)
src/web/selfcheck_scheduler.py:117
↓ 2 callersFunctionopenCodex2apiServiceModal
(service = null)
static/js/settings.js:1665
↓ 2 callersFunctionopenCpaServiceModal
(service = null)
static/js/settings.js:1342
↓ 2 callersFunctionopenNewApiServiceModal
(service = null)
static/js/settings.js:1818
↓ 2 callersFunctionopenProxyModal
(proxy = null)
static/js/settings.js:1032
↓ 2 callersFunctionopenSub2ApiServiceModal
(svc = null)
static/js/settings.js:1508
↓ 2 callersFunctionparseCardText
(rawText)
static/js/payment.js:412
↓ 2 callersFunctionparse_start_date
解析计划开始日期。
src/web/schedule_utils.py:27
↓ 2 callersFunctionparse_time_of_day
解析 HH:MM 格式的时间字符串。
src/web/schedule_utils.py:12
↓ 2 callersFunctionpollAutoRegistrationStatus
()
static/js/app.js:1765
↓ 2 callersMethodpost
(self, url, **kwargs)
tests/test_new_api_upload.py:50
↓ 2 callersFunctionpreview_repair_actions
(run_id: int, repair_keys: Optional[List[str]] = None)
src/core/system_selfcheck.py:1066
↓ 2 callersMethodquery
(self, *args, **kwargs)
tests/test_database_runtime_config.py:23
↓ 2 callersFunctionrandom_delay
随机延迟
src/core/anyauto/utils.py:216
↓ 2 callersFunctionreflect_metadata
(engine: Engine)
scripts/migrate_sqlite_to_postgres.py:75
↓ 2 callersMethodrefresh_by_session_token
使用 Session Token 刷新 Args: session_token: 会话令牌 refresh_token: 可选 OAuth Refresh Token(用于一次性会话令牌场景兜底)
src/core/openai/token_refresh.py:82
↓ 2 callersFunctionregister_auto_registration_coordinator
( coordinator: Optional["AutoRegistrationCoordinator"], )
src/core/auto_registration.py:44
↓ 2 callersMethodregister_domain_task
( self, *, domain: str, task_id: str, task_type: str, payload:
src/web/task_manager.py:498
↓ 2 callersMethodregister_user
注册用户(邮箱 + 密码) Returns: tuple: (success, message)
src/core/anyauto/chatgpt_client.py:574
↓ 2 callersMethodrelease_domain_slot
(self, domain: str, task_id: str)
src/web/task_manager.py:642
↓ 2 callersFunctionrenderAccountStatusDot
(status, accountId)
static/js/accounts.js:819
↓ 2 callersFunctionrenderBatchProfiles
()
static/js/payment.js:996
↓ 2 callersFunctionrenderOutlookAccountsList
()
static/js/app.js:2240
↓ 2 callersFunctionrenderRepairPreview
(preview)
static/js/selfcheck.js:145
↓ 2 callersFunctionrenderRepairRollbacks
(items)
static/js/selfcheck.js:169
↓ 2 callersFunctionrenderRuns
()
static/js/selfcheck.js:98
↓ 2 callersFunctionrenderRuntime
(runtime)
static/js/selfcheck.js:51
↓ 2 callersFunctionrenderSchedule
(data)
static/js/selfcheck.js:82
↓ 2 callersFunctionreplaceAccountRowStatus
(accountId, nextStatus)
static/js/accounts.js:149
↓ 2 callersMethodrequest_immediate_check
(self)
src/core/auto_registration.py:174
↓ 2 callersFunctionresetScheduleForm
()
static/js/app.js:812
↓ 2 callersFunctionresolveCountryAlias
(raw)
static/js/payment.js:340
↓ 2 callersFunctionrestartAutoRefresh
()
static/js/logs.js:223
↓ 2 callersFunctionrunSessionDiagnostic
()
static/js/payment.js:245
↓ 2 callersFunctionrun_batch_registration
根据 mode 分发到并行或流水线执行
src/web/routes/registration.py:1456
↓ 2 callersFunctionrun_log_cleanup_once
()
src/web/app.py:91
↓ 2 callersFunctionrun_registration_task
异步执行注册任务 使用 run_in_executor 将同步任务放入线程池执行,避免阻塞主事件循环
src/web/routes/registration.py:1089
↓ 2 callersFunctionrun_repair_action
(run_id: int, repair_key: str)
src/core/system_selfcheck.py:1027
↓ 2 callersFunctionsafeJsonParse
(raw, fallback)
static/js/payment.js:1677
↓ 2 callersMethodsaveTheme
(theme)
static/js/utils.js:94
↓ 2 callersFunctionscheduleBatchWebSocketReconnect
(batchId)
static/js/app.js:1273
↓ 2 callersFunctionscheduleWebSocketReconnect
(taskUuid)
static/js/app.js:1258
↓ 2 callersFunctionselectCodex2apiService
()
static/js/accounts.js:2065
↓ 2 callersFunctionselectCpaService
()
static/js/accounts.js:1776
↓ 2 callersFunctionselectSub2ApiService
()
static/js/accounts.js:1967
↓ 2 callersMethodshould_disable
判断是否应该禁用
src/services/outlook/base.py:121
↓ 2 callersFunctionshowGeneratedLink
(data)
static/js/payment.js:2084
↓ 2 callersFunctionshowTaskStatus
(task)
static/js/app.js:1671
↓ 2 callersMethodstart
启动计划任务调度器。
src/web/scheduler.py:25
↓ 2 callersFunctionstartCurrentBatchPolling
(batchId)
static/js/app.js:1288
↓ 2 callersFunctionstartLogPolling
(taskUuid)
static/js/app.js:1561
↓ 2 callersFunctionstartVendorAutoBind
(task, vendorConfig)
static/js/payment.js:1517
↓ 2 callersFunctionstatusBadge
(status)
static/js/selfcheck.js:32
↓ 2 callersMethodstop
(self)
src/core/auto_registration.py:163
↓ 2 callersFunctionstopBindTaskAutoRefresh
()
static/js/payment.js:1182
↓ 2 callersFunctionswitchAddSubType
(subType)
static/js/email_services.js:203
↓ 2 callersFunctiontest_codex2api_connection
测试 Codex2API 连接。
src/core/upload/codex2api_upload.py:142
↓ 2 callersFunctiontest_cpa_connection
测试 CPA 连接(不走代理) Args: api_url: CPA API URL api_token: CPA API Token proxy: 保留参数,不使用(CPA 始终直连) Returns:
src/core/upload/cpa_upload.py:329
↓ 2 callersFunctiontest_new_api_connection
测试 new-api 连接。
src/core/upload/new_api_upload.py:220
↓ 2 callersFunctiontest_sub2api_connection
测试 Sub2API 连接(GET /api/v1/admin/accounts/data 探活) Returns: (成功标志, 消息)
src/core/upload/sub2api_upload.py:188
↓ 2 callersFunctiontoFailRank
(acc)
static/js/payment.js:2256
↓ 2 callersFunctiontoLastUsedRank
(acc)
static/js/payment.js:2251
↓ 2 callersFunctiontoPriority
(acc)
static/js/payment.js:2247
↓ 2 callersMethodto_dict
转换为字典
src/services/outlook/base.py:54
↓ 2 callersMethodtry_acquire_domain_slot
(self, domain: str, task_id: str)
src/web/task_manager.py:625
↓ 2 callersFunctionupdateBatchButtons
()
static/js/email_services.js:792
↓ 2 callersFunctionupdateMsdLabel
(ddId)
static/js/app.js:247
↓ 2 callersFunctionupdateSemiAutoActionsVisibility
(mode)
static/js/payment.js:1224
← previousnext →601–700 of 2,218, ranked by callers