MCPcopy Create free account

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

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

↓ 1 callersMethod_remember_code
(self, order_key: str, code: str, now: Optional[float] = None)
src/services/luckmail_mail.py:223
↓ 1 callersFunction_repair_clear_overview_cache
()
src/core/system_selfcheck.py:808
↓ 1 callersFunction_repair_downgrade_402_to_free
(run_id: int)
src/core/system_selfcheck.py:1011
↓ 1 callersFunction_repair_fill_orphan_task_email
()
src/core/system_selfcheck.py:845
↓ 1 callersFunction_repair_mark_stuck_bind_tasks
()
src/core/system_selfcheck.py:828
↓ 1 callersFunction_request_json_with_proxy_fallback
配额抓取优先按当前代理请求;若代理异常则回退直连重试一次。
src/core/openai/overview.py:201
↓ 1 callersMethod_reset_auth_flow
重置会话,准备重新发起 OAuth 流程。
src/core/register.py:914
↓ 1 callersMethod_reset_session
重置浏览器指纹与会话,用于绕过偶发的 Cloudflare/SPA 中间页。
src/core/anyauto/chatgpt_client.py:185
↓ 1 callersFunction_resolve_account_session_token
解析账号 session_token(优先 DB 字段,其次 cookies 文本)。
src/web/routes/accounts.py:396
↓ 1 callersFunction_resolve_actor_header
(request: Optional[Request])
src/web/routes/selfcheck.py:65
↓ 1 callersFunction_resolve_chatgpt_account_id
(account: Account)
src/core/openai/overview.py:75
↓ 1 callersFunction_resolve_email_service_for_account_session_bootstrap
(db, account: Account, proxy: Optional[str])
src/web/routes/payment.py:784
↓ 1 callersMethod_resolve_mailbox
(self, email: Optional[str], email_id: Optional[str])
src/services/web2_mail.py:142
↓ 1 callersFunction_resolve_oai_device_id
(account: Account)
src/core/openai/payment.py:636
↓ 1 callersMethod_resolve_order_id_by_order_no
(self, order_no: str, max_pages: int = 3, page_size: int = 50)
src/services/luckmail_mail.py:462
↓ 1 callersFunction_resolve_selfcheck_proxy_url
为系统自检解析代理 URL。 优先级与业务任务保持一致:代理列表默认项 -> 动态代理/静态代理配置。
src/core/system_selfcheck.py:103
↓ 1 callersFunction_resolve_third_party_bind_api_key
(request_key: Optional[str])
src/web/routes/payment.py:1331
↓ 1 callersFunction_resolve_third_party_bind_api_url
(request_url: Optional[str])
src/web/routes/payment.py:1321
↓ 1 callersFunction_run_and_release
(idx: int, uuid: str, pfx: str)
src/web/routes/registration.py:1350
↓ 1 callersMethod_run_anyauto_fallback
Run the PR60 AnyAuto V2 engine as a controlled fallback.
src/core/register.py:3170
↓ 1 callersMethod_run_check
单次 PoW 检查
src/core/anyauto/sentinel_token.py:105
↓ 1 callersMethod_run_forever
(self)
src/core/auto_registration.py:253
↓ 1 callersMethod_run_loop
执行调度轮询循环。
src/web/scheduler.py:46
↓ 1 callersMethod_run_once
(self, schedule: Dict[str, Any], reason: str)
src/web/auto_quick_refresh_scheduler.py:212
↓ 1 callersMethod_run_once
(self, schedule: Dict[str, Any], reason: str)
src/web/selfcheck_scheduler.py:194
↓ 1 callersMethod_run_primary_registration
执行完整的注册流程 支持已注册账号自动登录: - 如果检测到邮箱已注册,自动切换到登录流程 - 已注册账号跳过:设置密码、发送验证码、创建用户账户 - 共用步骤:获取验证码、验证验证码、Workspace 和 OAu
src/core/register.py:2916
↓ 1 callersFunction_sanitize_third_party_response
(payload: dict)
src/web/routes/payment.py:1486
↓ 1 callersFunction_save_repair_center_store
(store: Dict[str, Any])
src/core/system_selfcheck.py:895
↓ 1 callersFunction_save_settings_to_db
保存设置到数据库
src/config/settings.py:747
↓ 1 callersMethod_select_organization
提交 organization/select,返回 continue_url 或回调地址。
src/core/register.py:2673
↓ 1 callersMethod_send_email_otp
(self, device_id, user_agent, sec_ch_ua, impersonate, referer=None)
src/core/anyauto/oauth_client.py:1338
↓ 1 callersMethod_sender_text
(self, sender: Any)
src/services/yyds_mail.py:220
↓ 1 callersFunction_serialize_log_row
(row: AppLog)
src/web/routes/logs.py:27
↓ 1 callersFunction_set_current_account_id
(db, account_id: int)
src/web/routes/accounts.py:480
↓ 1 callersFunction_sha256_b64url_no_pad
SHA256 哈希后 Base64 URL 编码
src/core/openai/oauth.py:31
↓ 1 callersMethod_should_blacklist_phone_failure
(cls, detail="", state: FlowState | None = None)
src/core/anyauto/oauth_client.py:86
↓ 1 callersFunction_should_skip_auto_upload_for_token_profile
( token_metadata: Dict[str, Any], filter_only_access_token_accounts: bool, )
src/web/routes/registration.py:553
↓ 1 callersFunction_should_skip_record
(record: logging.LogRecord)
src/core/db_logs.py:31
↓ 1 callersMethod_should_try_anyauto_fallback
(self, result: RegistrationResult)
src/core/register.py:3200
↓ 1 callersFunction_simulate_human_behavior
(page)
src/core/openai/browser_bind.py:323
↓ 1 callersMethod_start_oauth
开始 OAuth 流程
src/core/register.py:457
↓ 1 callersMethod_state_is_about_you
(self, state: FlowState)
src/core/anyauto/chatgpt_client.py:255
↓ 1 callersMethod_state_is_add_phone
(self, state: FlowState)
src/core/anyauto/chatgpt_client.py:259
↓ 1 callersMethod_state_is_email_otp
(self, state: FlowState)
src/core/anyauto/oauth_client.py:242
↓ 1 callersMethod_state_is_email_otp
(self, state: FlowState)
src/core/anyauto/chatgpt_client.py:251
↓ 1 callersMethod_state_is_login_password
(self, state: FlowState)
src/core/anyauto/oauth_client.py:239
↓ 1 callersMethod_state_is_password_registration
(self, state: FlowState)
src/core/anyauto/chatgpt_client.py:248
↓ 1 callersMethod_state_signature
(self, state: FlowState)
src/core/anyauto/oauth_client.py:220
↓ 1 callersMethod_state_signature
(self, state: FlowState)
src/core/anyauto/chatgpt_client.py:230
↓ 1 callersMethod_strip_html
(self, html_content: Any)
src/services/duck_mail.py:149
↓ 1 callersMethod_submit_password_verify
提交密码,获取下一步状态。
src/core/anyauto/oauth_client.py:513
↓ 1 callersMethod_submit_signup_form
提交注册入口表单。
src/core/register.py:789
↓ 1 callersFunction_take_recent
(items: List[Dict[str, Any]], limit: int)
src/web/routes/tasks.py:38
↓ 1 callersFunction_task_cancel_message
(exc: RegistrationCancelled)
src/web/routes/registration.py:126
↓ 1 callersMethod_tick_once
(self)
src/web/auto_quick_refresh_scheduler.py:175
↓ 1 callersMethod_tick_once
(self)
src/web/selfcheck_scheduler.py:159
↓ 1 callersFunction_to_int
转换为整数
src/core/openai/oauth.py:117
↓ 1 callersFunction_try_parse_epoch
(value: float)
src/core/openai/overview.py:292
↓ 1 callersMethod_try_providers_for_emails
尝试多个提供者获取邮件 Args: account: Outlook 账户 count: 获取数量 only_unseen: 是否只获取未读 Returns:
src/services/outlook/service.py:209
↓ 1 callersMethod_try_submit_appeal
( self, email: str, reason: str, context: Dict[str, Any], failed_recor
src/services/luckmail_mail.py:548
↓ 1 callersMethod_unwrap_payload
(self, payload: Any)
src/services/yyds_mail.py:79
↓ 1 callersFunction_worker
(worker_index: int)
src/web/routes/registration.py:1227
↓ 1 callersFunction_workspace_cookie
(workspace_id)
tests/test_registration_engine.py:160
↓ 1 callersFunction_write_current_account_snapshot
写入当前账号快照文件,便于外部流程读取当前账号令牌。
src/web/routes/accounts.py:505
↓ 1 callersMethodadd_task
(self, func, *args)
tests/test_registration_new_api.py:10
↓ 1 callersFunctionanimateValue
(element, value)
static/js/accounts.js:622
↓ 1 callersFunctionapplyCleanupDefaults
(data)
static/js/logs.js:132
↓ 1 callersFunctionapply_process_timezone
尝试将进程默认时区设置为 Asia/Shanghai。
src/core/timezone_utils.py:24
↓ 1 callersMethodauthorize
访问 authorize URL,跟随重定向(带重试机制) 这是关键步骤,建立 auth.openai.com 的 session Returns: str: 最终重定向的 URL
src/core/anyauto/chatgpt_client.py:518
↓ 1 callersFunctionauto_bind_checkout_with_playwright
在 chatgpt checkout 页面执行自动填卡。 返回结构: - success=True: 浏览器提交流程出现成功信号 - success=False + need_user_action=True: 需要人工继续(challenge/超时) -
src/core/openai/browser_bind.py:1046
↓ 1 callersFunctionbatch_upload_to_cpa
批量上传账号到 CPA 管理平台 Args: account_ids: 账号 ID 列表 proxy: 可选的代理 URL api_url: 指定 CPA API URL(优先于全局配置) api_token: 指定
src/core/upload/cpa_upload.py:184
↓ 1 callersFunctionbindBillingEvents
()
static/js/payment.js:1084
↓ 1 callersFunctionbindEvents
()
static/js/logs.js:235
↓ 1 callersFunctionbindEvents
()
static/js/selfcheck.js:475
↓ 1 callersMethodbroadcast_status
广播任务状态更新
src/web/task_manager.py:140
↓ 1 callersFunctionbuildLogParams
()
static/js/logs.js:100
↓ 1 callersFunctionbuildRecentTaskSummary
(task)
static/js/app.js:1879
↓ 1 callersFunctionbuildScheduleConfig
()
static/js/app.js:752
↓ 1 callersFunctionbuild_argument_parser
()
scripts/migrate_sqlite_to_postgres.py:224
↓ 1 callersFunctionbuild_codex2api_import_entries
构建 codex2api 导入条目。
src/core/upload/codex2api_upload.py:24
↓ 1 callersFunctionbuild_login_redirect
(request: Request)
src/web/auth.py:61
↓ 1 callersFunctionbuild_new_api_channel_key
构建 new-api Codex 渠道 key。
src/core/upload/new_api_upload.py:52
↓ 1 callersFunctionbuild_new_api_channel_payload
构建 new-api 渠道创建载荷。
src/core/upload/new_api_upload.py:67
↓ 1 callersFunctionbuild_sec_ch_ua_full_version_list
根据 sec-ch-ua 生成 sec-ch-ua-full-version-list。
src/core/anyauto/utils.py:264
↓ 1 callersFunctionbuild_sentinel_config
Build a browser-like fingerprint payload for the Sentinel PoW solver.
src/core/openai/sentinel.py:33
↓ 1 callersFunctionbuild_sentinel_pow_token
Build the `p` token required by the Sentinel request endpoint.
src/core/openai/sentinel.py:89
↓ 1 callersFunctionbuild_table_plan
(source_metadata: MetaData, target_metadata: MetaData)
scripts/migrate_sqlite_to_postgres.py:81
↓ 1 callersFunctioncheck_database_connection
检查数据库连接是否正常
src/database/init_db.py:50
↓ 1 callersMethodcheck_ip_location
检查 IP 地理位置 Returns: Tuple[是否支持, 位置信息]
src/core/http_client.py:269
↓ 1 callersFunctionchunked_rows
(rows: Sequence[dict], chunk_size: int)
scripts/migrate_sqlite_to_postgres.py:68
↓ 1 callersMethodcleanupInflightRequest
(requestKey, controller)
static/js/utils.js:198
↓ 1 callersFunctioncleanup_database_logs
清理后台日志: 1) 删除超过 retention_days 的日志 2) 若总量超过 max_rows,删除最旧的超量部分
src/core/db_logs.py:111
↓ 1 callersFunctioncloseProxyBatchImportModal
()
static/js/settings.js:1068
↓ 1 callersFunctioncollectCheckedPreviewKeys
()
static/js/selfcheck.js:383
↓ 1 callersFunctioncollectFilters
()
static/js/logs.js:93
↓ 1 callersFunctioncollectRepairKeysFromSelectedRun
()
static/js/selfcheck.js:365
↓ 1 callersFunctioncollectThirdPartyConfig
()
static/js/payment.js:2020
↓ 1 callersFunctioncollectValidatedStatusMap
(taskOrResult)
static/js/accounts.js:164
↓ 1 callersMethodconnect
连接到 IMAP 服务器 Returns: 是否连接成功
src/services/outlook/providers/imap_new.py:58
↓ 1 callersMethodconnect
连接到服务 Returns: 是否连接成功
src/services/outlook/providers/base.py:82
← previousnext →901–1,000 of 2,218, ranked by callers