MCPcopy Create free account

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

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

↓ 5 callersFunction_extract_by_patterns
(text: str, patterns: List[str])
src/core/openai/random_billing.py:273
↓ 5 callersFunction_extract_text_after_label
(page_text: str, label: str)
src/core/openai/random_billing.py:285
↓ 5 callersMethod_follow_redirects
手动跟随重定向链,返回 (callback_url, final_url)。
src/core/register.py:2807
↓ 5 callersFunction_guard_page_request
(request: Request)
src/web/app.py:201
↓ 5 callersFunction_is_official_checkout_link
(link: Optional[str])
src/core/openai/payment.py:232
↓ 5 callersFunction_load_state
(force: bool = False)
src/core/circuit_breaker.py:88
↓ 5 callersMethod_make_request
发送请求并返回 JSON 数据 Args: method: HTTP 方法 path: 请求路径(以 / 开头) **kwargs: 传递给 http_client.request 的额外参数
src/services/temp_mail.py:566
↓ 5 callersFunction_normalize_checkout_country
(country: Optional[str])
src/web/routes/payment.py:128
↓ 5 callersFunction_normalize_mode
(value: Optional[str])
src/web/routes/selfcheck.py:61
↓ 5 callersFunction_normalize_plan
(raw_plan: Optional[str])
src/core/openai/overview.py:663
↓ 5 callersFunction_selfcheck_task_id
(run_id: int)
src/web/routes/selfcheck.py:75
↓ 5 callersMethod_submit_login_password
提交登录密码,进入邮箱验证码页面。
src/core/register.py:817
↓ 5 callersMethod_submit_login_start
提交登录入口表单。
src/core/register.py:806
↓ 5 callersFunction_utc_now
()
src/core/circuit_breaker.py:25
↓ 5 callersFunction_utc_now
()
src/web/auto_quick_refresh_scheduler.py:33
↓ 5 callersFunction_utc_now
()
src/web/selfcheck_scheduler.py:28
↓ 5 callersMethodadd_log
添加日志并推送到 WebSocket(线程安全)
src/web/task_manager.py:99
↓ 5 callersFunctioncallEfunApi
(path, payload)
static/js/payment.js:1817
↓ 5 callersFunctioncheck_subscription_status_detail
检测账号当前订阅状态。 返回带来源与置信度的详细结果,便于绑卡任务诊断。
src/core/openai/payment.py:941
↓ 5 callersFunctioncompute_next_run_at
根据计划配置计算下一次执行时间。
src/web/schedule_utils.py:71
↓ 5 callersMethodconnect
连接到 IMAP 服务器
src/services/outlook_legacy_mail.py:154
↓ 5 callersFunctionescapeHtml
(value)
static/js/logs.js:46
↓ 5 callersFunctiongenerate_token_json
生成 CPA 格式的 Token JSON Args: account: 账号模型实例 Returns: CPA 格式的 Token 字典
src/core/upload/cpa_upload.py:93
↓ 5 callersFunctiongetBindMode
()
static/js/payment.js:1212
↓ 5 callersFunctiongetLogType
(log)
static/js/app.js:2159
↓ 5 callersMethodget_available_providers
获取可用的提供者列表 Args: priority_order: 优先级顺序,默认为 [IMAP_NEW, IMAP_OLD, GRAPH_API] Returns: 可用的提供者列表
src/services/outlook/health_checker.py:102
↓ 5 callersFunctionget_database_backend
(database_url: str)
src/database/session.py:43
↓ 5 callersMethodis_cancelled
检查任务是否已取消
src/web/task_manager.py:90
↓ 5 callersFunctionloadCustomServices
()
static/js/email_services.js:394
↓ 5 callersFunctionloadEmailServices
()
static/js/settings.js:498
↓ 5 callersFunctionloadStats
(silent = false)
static/js/logs.js:152
↓ 5 callersFunctionopen_url_incognito
用 Playwright 以无痕模式打开 URL,可注入 cookie
src/core/openai/payment.py:901
↓ 5 callersMethodrecord_success
记录成功操作
src/services/outlook/providers/base.py:124
↓ 5 callersFunctionrefreshAccountsView
(options = {})
static/js/accounts.js:192
↓ 5 callersFunctionrenderEfunPoolHint
()
static/js/payment.js:1734
↓ 5 callersFunctionseed_oai_device_cookie
在 ChatGPT / OpenAI 相关域上同步设置 oai-did。
src/core/anyauto/utils.py:349
↓ 5 callersFunctionsetRandomBillingHint
(message, mode = "info")
static/js/payment.js:655
↓ 5 callersFunctionshowSessionDiagnosticPanel
(text)
static/js/payment.js:178
↓ 5 callersMethodsnapshot
(self)
src/web/selfcheck_scheduler.py:113
↓ 5 callersFunctionstopBatchPolling
()
static/js/app.js:1663
↓ 5 callersFunctionupdateBatchProgress
(data)
static/js/app.js:1832
↓ 5 callersFunctionupdateTaskStatus
(status)
static/js/app.js:1687
↓ 4 callersFunction_build_checkout_link
(session_id: str)
src/core/openai/payment.py:143
↓ 4 callersFunction_build_cpa_headers
(api_token: str, content_type: Optional[str] = None)
src/core/upload/cpa_upload.py:42
↓ 4 callersFunction_build_empty_token_profile_stats
()
src/web/routes/registration.py:490
↓ 4 callersFunction_build_fake_get_db
(manager: DatabaseSessionManager)
tests/test_email_service_delete_routes.py:20
↓ 4 callersFunction_ensure_channel
(channel: str)
src/core/circuit_breaker.py:123
↓ 4 callersFunction_ensure_single_default_proxy
保证代理表中“有且仅有一个默认代理”: - 没有默认时,自动使用最早创建(ID 最小)的代理作为默认 - 有多个默认时,仅保留最早的一个
src/database/crud.py:502
↓ 4 callersMethod_extract_code_from_state
(self, state: FlowState)
src/core/anyauto/oauth_client.py:228
↓ 4 callersFunction_extract_page_text
(page, max_len: int = 2000)
src/core/openai/browser_bind.py:1016
↓ 4 callersFunction_extract_session_token_from_cookie_text
(cookies_text: Optional[str])
src/web/routes/payment.py:273
↓ 4 callersFunction_fallback_overview
(account: Account, error_message: Optional[str] = None, stale: bool = False)
src/web/routes/accounts.py:444
↓ 4 callersFunction_find_submit_button
(page)
src/core/openai/browser_bind.py:995
↓ 4 callersFunction_format_duration
(seconds: Optional[float])
src/core/openai/overview.py:330
↓ 4 callersFunction_get_batch_lock
线程安全地获取或创建批量任务日志锁
src/web/task_manager.py:66
↓ 4 callersFunction_get_env_int
(name: str, default: int, minimum: int = 0)
src/database/session.py:26
↓ 4 callersFunction_get_log_lock
线程安全地获取或创建任务日志锁
src/web/task_manager.py:57
↓ 4 callersMethod_get_token
获取有效的 token(带缓存,所有实例共享) Args: force_refresh: 是否强制刷新 Returns: token 字符串
src/services/cloud_mail.py:132
↓ 4 callersMethod_handle_oauth_callback
处理 OAuth 回调
src/core/register.py:2895
↓ 4 callersFunction_header_value
(headers, name: str)
tests/test_anyauto_sentinel_flow.py:28
↓ 4 callersFunction_mark_task_cancelled
(db, task_uuid: str, message: str = "任务已取消")
src/web/routes/registration.py:108
↓ 4 callersMethod_normalize_inbox_mode
(self, raw: Any)
src/services/luckmail_mail.py:126
↓ 4 callersFunction_normalize_outlook_account_email
(email: Optional[str])
src/web/routes/registration.py:58
↓ 4 callersFunction_normalize_plan_type
(raw_plan: Optional[str])
src/web/routes/accounts.py:417
↓ 4 callersFunction_normalize_state
(raw: Any)
src/core/circuit_breaker.py:76
↓ 4 callersFunction_normalize_token_completeness
(value: Any)
src/web/routes/registration.py:499
↓ 4 callersMethod_pick_first_value
(self, payload: Dict[str, Any], *keys: str)
src/services/web2_mail.py:68
↓ 4 callersFunction_pick_number
(payload: Dict[str, Any], keys: Tuple[str, ...])
src/core/openai/overview.py:281
↓ 4 callersMethod_restart_login_flow
新注册账号完成建号后,重新发起一次登录流程拿 token。
src/core/register.py:2084
↓ 4 callersFunction_safe_value
(value: str)
src/web/auth.py:25
↓ 4 callersFunction_save_state
(state: Dict[str, Dict[str, Any]])
src/core/circuit_breaker.py:107
↓ 4 callersFunction_seed_cookie_jar_from_text
将 account.cookies 中的键值回灌到会话 cookie jar,便于重定向链正确续会话。
src/web/routes/payment.py:1024
↓ 4 callersFunction_start_selfcheck_background
(mode: str, source: str)
src/web/routes/selfcheck.py:166
↓ 4 callersFunction_to_iso
(dt: Optional[datetime])
src/web/auto_quick_refresh_scheduler.py:37
↓ 4 callersFunction_to_iso
(dt: Optional[datetime])
src/web/selfcheck_scheduler.py:32
↓ 4 callersFunction_to_response
(service)
src/web/routes/upload/codex2api_services.py:56
↓ 4 callersFunction_to_response
(svc)
src/web/routes/upload/sub2api_services.py:61
↓ 4 callersFunction_to_response
(svc)
src/web/routes/upload/cpa_services.py:55
↓ 4 callersFunction_to_response
(service)
src/web/routes/upload/new_api_services.py:60
↓ 4 callersFunction_value_to_string
将值转换为数据库存储的字符串
src/config/settings.py:653
↓ 4 callersFunctionaccount_to_response
转换 Account 模型为响应模型
src/web/routes/accounts.py:293
↓ 4 callersMethodapplyTheme
()
static/js/utils.js:98
↓ 4 callersFunctionbuild_sentinel_token
构建完整的 openai-sentinel-token JSON 字符串
src/core/anyauto/sentinel_token.py:195
↓ 4 callersMethodcancel_batch
取消批量任务
src/web/task_manager.py:339
↓ 4 callersMethodcancel_task
取消任务
src/web/task_manager.py:94
↓ 4 callersMethodclose
关闭连接
src/services/outlook_legacy_mail.py:331
↓ 4 callersFunctioncollectBillingFormData
()
static/js/payment.js:715
↓ 4 callersFunctionconnectWebSocket
(taskUuid)
static/js/app.js:1304
↓ 4 callersFunctionexecute_selfcheck_run
( run_id: int, *, mode: Optional[str] = None, source: Optional[str] = None, progress_callb
src/core/system_selfcheck.py:670
↓ 4 callersFunctionextract_flow_state
从 API 响应或 URL 中提取统一的流程状态。
src/core/anyauto/utils.py:184
↓ 4 callersFunctionfillBillingForm
(parsed)
static/js/payment.js:618
↓ 4 callersFunctionformatExpiryInput
(month, year)
static/js/payment.js:370
↓ 4 callersFunctionget1
(k: str)
src/core/openai/oauth.py:68
↓ 4 callersMethodget_access_token
获取 Access Token Args: force_refresh: 是否强制刷新 Returns: Access Token 字符串,失败返回 None
src/services/outlook/token_manager.py:97
↓ 4 callersFunctionget_auto_registration_state
()
src/core/auto_registration.py:40
↓ 4 callersFunctionget_proxy_url_for_task
为注册任务获取代理 URL。 优先使用动态代理(若启用),否则使用静态代理配置。 Returns: 代理 URL 或 None
src/core/dynamic_proxy.py:93
↓ 4 callersFunctionget_setting
获取设置
src/database/crud.py:405
↓ 4 callersFunctionhas_running_selfcheck_run
()
src/core/system_selfcheck.py:664
↓ 4 callersMethodis_disabled
检查是否被禁用
src/services/outlook/base.py:125
↓ 4 callersFunctionloadRunDetail
(runId)
static/js/selfcheck.js:270
← previousnext →201–300 of 2,218, ranked by callers