MCPcopy Create free account

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

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

↓ 1 callersFunctionhandleServiceChange
(e)
static/js/app.js:562
↓ 1 callersFunctionhandleSingleRegistration
(requestData)
static/js/app.js:1205
↓ 1 callersMethodhandle_callback
处理 OAuth 回调
src/core/openai/oauth.py:341
↓ 1 callersFunctioninfer_page_type_from_url
从 URL 推断流程状态,用于服务端未返回 page.type 时兜底。
src/core/anyauto/utils.py:142
↓ 1 callersFunctioninfer_sec_fetch_site
根据目标 URL 和 Referer 推断 Sec-Fetch-Site。
src/core/anyauto/utils.py:241
↓ 1 callersMethodinit
()
static/js/utils.js:16
↓ 1 callersFunctioninitAutoUploadOptions
()
static/js/app.js:187
↓ 1 callersFunctioninitEventListeners
()
static/js/accounts.js:296
↓ 1 callersFunctioninitEventListeners
()
static/js/settings.js:169
↓ 1 callersFunctioninitEventListeners
()
static/js/app.js:266
↓ 1 callersFunctioninitEventListeners
()
static/js/email_services.js:115
↓ 1 callersFunctioninitScheduleForm
()
static/js/app.js:678
↓ 1 callersFunctioninitTabs
()
static/js/settings.js:154
↓ 1 callersFunctioninitVisibilityReconnect
()
static/js/app.js:2583
↓ 1 callersMethodinit_batch
初始化批量任务
src/web/task_manager.py:236
↓ 1 callersFunctioninstall_database_log_handler
安装数据库日志处理器(全局仅安装一次)。 Returns: 是否本次新安装
src/core/db_logs.py:89
↓ 1 callersFunctionisEfunSupplier
(value)
static/js/payment.js:1693
↓ 1 callersMethodis_expired
检查 Token 是否已过期
src/services/outlook/base.py:79
↓ 1 callersMethodis_openai_verification_email
判断是否为 OpenAI 验证邮件 Args: email: 邮件对象 target_email: 目标邮箱地址(用于验证收件人) Returns: 是否为 OpenAI 验
src/services/outlook/email_parser.py:32
↓ 1 callersFunctioniter_query_in_batches
分批迭代 ORM Query,避免一次性 all() 全量加载。
src/web/repositories/account_repository.py:12
↓ 1 callersFunctionlaunch_webui
(host: str, port: int, dry_run: bool)
start_webui.py:242
↓ 1 callersFunctionlist_cpa_auth_files
鍒楀嚭杩滅 CPA auth-files 娓呭崟銆?
src/core/upload/cpa_upload.py:265
↓ 1 callersFunctionlist_repair_rollbacks
(limit: int = 20)
src/core/system_selfcheck.py:1078
↓ 1 callersFunctionloadAccounts
()
static/js/payment.js:2237
↓ 1 callersFunctionloadAutoRegistrationCpaOptions
()
static/js/app.js:1096
↓ 1 callersFunctionloadAutoRegistrationSettings
()
static/js/app.js:1069
↓ 1 callersFunctionloadAvailableServices
()
static/js/app.js:324
↓ 1 callersFunctionloadCardPoolRedeemCodes
()
static/js/payment.js:1713
↓ 1 callersFunctionloadOutlookAccounts
()
static/js/app.js:2221
↓ 1 callersFunctionloadOutlookSettings
()
static/js/settings.js:1236
↓ 1 callersFunctionloadRepairCatalog
()
static/js/selfcheck.js:241
↓ 1 callersFunctionloadTempmailConfig
()
static/js/email_services.js:476
↓ 1 callersMethodloadTheme
()
static/js/utils.js:90
↓ 1 callersMethodlogin_and_get_tokens
完整的 OAuth 登录流程,获取 tokens Args: email: 邮箱 password: 密码 device_id: 设备 ID user_
src/core/anyauto/oauth_client.py:567
↓ 1 callersMethodlogin_passwordless_and_get_tokens
使用 passwordless 邮箱 OTP 完成 OAuth 登录流程,获取 tokens。
src/core/anyauto/oauth_client.py:765
↓ 1 callersFunctionmain
()
start_webui.py:266
↓ 1 callersFunctionmain
主函数
webui.py:180
↓ 1 callersFunctionmain
(argv: Sequence[str] | None = None)
scripts/migrate_sqlite_to_postgres.py:266
↓ 1 callersFunctionmake_account_entry
(acc)
src/web/routes/accounts.py:1664
↓ 1 callersFunctionmaybe_open_browser
(url: str, timeout_seconds: int, enabled: bool, dry_run: bool)
start_webui.py:221
↓ 1 callersFunctionmigrate_sqlite_to_postgres
( source_url: str, target_url: str, batch_size: int = 500, truncate_target: bool = False, )
scripts/migrate_sqlite_to_postgres.py:177
↓ 1 callersMethodnextDelay
(options = {})
static/js/utils.js:466
↓ 1 callersFunctionnormalizeExpiryInputForTyping
(value)
static/js/payment.js:405
↓ 1 callersFunctionnormalize_postgres_url
(value: str)
scripts/migrate_sqlite_to_postgres.py:55
↓ 1 callersFunctionnormalize_sqlite_url
(value: str | Path)
scripts/migrate_sqlite_to_postgres.py:44
↓ 1 callersFunctiononBindModeChange
()
static/js/payment.js:1995
↓ 1 callersFunctiononCountryChange
()
static/js/payment.js:2300
↓ 1 callersFunctionparseExpiryInput
(value)
static/js/payment.js:378
↓ 1 callersFunctionparse_args
()
start_webui.py:57
↓ 1 callersFunctionparse_database_endpoint
(database_url: str)
start_webui.py:28
↓ 1 callersFunctionparse_outlook_import_line
解析 Outlook / Hotmail / Live 批量导入行。
src/web/routes/email.py:139
↓ 1 callersFunctionperiodic_log_cleanup
()
src/web/app.py:102
↓ 1 callersFunctionpollVendorProgress
(taskId)
static/js/payment.js:1454
↓ 1 callersMethodpoll_due_jobs
扫描并执行到期计划任务。
src/web/scheduler.py:57
↓ 1 callersFunctionport_is_available
(host: str, port: int)
start_webui.py:190
↓ 1 callersFunctionprint_summary
(results: Sequence[TableCopyResult])
scripts/migrate_sqlite_to_postgres.py:257
↓ 1 callersFunctionread_env_file
(env_path: Path)
start_webui.py:70
↓ 1 callersMethodrecordError
()
static/js/utils.js:461
↓ 1 callersMethodrecordSuccess
()
static/js/utils.js:456
↓ 1 callersMethodrecord_failure
记录失败
src/services/outlook/base.py:115
↓ 1 callersMethodrecord_failure
记录失败操作
src/services/outlook/health_checker.py:65
↓ 1 callersMethodrecord_success
记录成功
src/services/outlook/base.py:108
↓ 1 callersMethodrecord_success
记录成功操作
src/services/outlook/health_checker.py:57
↓ 1 callersMethodrefresh_by_oauth_token
使用 OAuth Refresh Token 刷新 Args: refresh_token: OAuth 刷新令牌 client_id: OAuth Client ID Returns:
src/core/openai/token_refresh.py:196
↓ 1 callersMethodrefresh_ms_token
刷新 Microsoft access token
src/services/outlook_legacy_mail.py:109
↓ 1 callersMethodregister_batch_websocket
注册批量任务 WebSocket 连接
src/web/task_manager.py:346
↓ 1 callersMethodregister_complete_flow
完整的注册流程(基于原版 run_register 方法) Args: email: 邮箱 password: 密码 first_name: 名 las
src/core/anyauto/chatgpt_client.py:768
↓ 1 callersMethodregister_websocket
注册 WebSocket 连接
src/web/task_manager.py:159
↓ 1 callersFunctionrenderAccounts
(accounts)
static/js/accounts.js:693
↓ 1 callersFunctionrenderAutoQuickRefreshRuntime
(runtime)
static/js/accounts.js:448
↓ 1 callersFunctionrenderCodex2apiServicesTable
(services)
static/js/settings.js:1645
↓ 1 callersFunctionrenderCpaServicesTable
(services)
static/js/settings.js:1321
↓ 1 callersFunctionrenderCustomServices
()
static/js/email_services.js:428
↓ 1 callersFunctionrenderEmailServices
(services)
static/js/settings.js:523
↓ 1 callersFunctionrenderLogs
(rows)
static/js/logs.js:66
↓ 1 callersFunctionrenderNewApiServicesTable
(services)
static/js/settings.js:1798
↓ 1 callersFunctionrenderProxies
(proxies)
static/js/settings.js:960
↓ 1 callersFunctionrenderProxyBatchImportResult
(result)
static/js/settings.js:1073
↓ 1 callersFunctionrenderScheduledJobs
()
static/js/app.js:939
↓ 1 callersFunctionrenderSub2ApiServices
(services)
static/js/settings.js:1486
↓ 1 callersFunctionrenderSubscriptionStatus
(subscriptionType)
static/js/accounts.js:832
↓ 1 callersFunctionrenderTodayStats
(total, success, failed, rate)
static/js/app.js:2036
↓ 1 callersMethodrequest_domain_task_pause
(self, domain: str, task_id: str)
src/web/task_manager.py:586
↓ 1 callersMethodrequest_domain_task_resume
(self, domain: str, task_id: str)
src/web/task_manager.py:599
↓ 1 callersMethodrequest_domain_task_retry
(self, domain: str, task_id: str)
src/web/task_manager.py:617
↓ 1 callersFunctionresetVendorProgressPanel
()
static/js/payment.js:1323
↓ 1 callersMethodreset_all
重置所有提供者的健康状态
src/services/outlook/health_checker.py:199
↓ 1 callersFunctionreset_database
重置数据库(删除所有表并重新创建) 警告:会丢失所有数据!
src/database/init_db.py:27
↓ 1 callersFunctionreset_postgres_sequences
(connection: Connection, plan: Sequence[TablePlan])
scripts/migrate_sqlite_to_postgres.py:158
↓ 1 callersFunctionresolveEfunCodeFromInputOrPool
()
static/js/payment.js:1750
↓ 1 callersFunctionresolve_available_port
(host: str, preferred_port: int, max_scan: int = 100)
start_webui.py:201
↓ 1 callersFunctionresolve_new_api_account_type
解析 new-api 账号类型。
src/core/upload/new_api_upload.py:27
↓ 1 callersFunctionresolve_target_url
(cli_value: str)
scripts/migrate_sqlite_to_postgres.py:250
↓ 1 callersFunctionrestoreActiveTask
()
static/js/app.js:2613
↓ 1 callersFunctionrestoreBillingProfileNonSensitive
()
static/js/payment.js:745
↓ 1 callersFunctionrestoreBindModeConfig
()
static/js/payment.js:2026
↓ 1 callersFunctionretry_with_backoff
带有指数退避的重试装饰器/函数 Args: func: 要重试的函数 max_retries: 最大重试次数 base_delay: 基础延迟(秒) max_delay: 最大延迟(秒) backof
src/core/utils.py:200
↓ 1 callersMethodreuse_session_and_get_tokens
复用注册阶段已建立的 ChatGPT 会话,直接读取 Session / AccessToken。 Returns: tuple[bool, dict|str]: 成功时返回标准化 token/session 数据;失败时返回错误信息。
src/core/anyauto/chatgpt_client.py:350
↓ 1 callersFunctionrollbackRepairPoint
(rollbackId, btn)
static/js/selfcheck.js:459
↓ 1 callersFunctionrollback_repair_plan
(rollback_id: str)
src/core/system_selfcheck.py:1149
← previousnext →1,101–1,200 of 2,218, ranked by callers