Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tron521/codex-console-temp
/ functions
Functions
2,218 in github.com/Tron521/codex-console-temp
⨍
Functions
2,218
◇
Types & classes
238
↳
Endpoints
198
↓ 5 callers
Function
_extract_by_patterns
(text: str, patterns: List[str])
src/core/openai/random_billing.py:273
↓ 5 callers
Function
_extract_text_after_label
(page_text: str, label: str)
src/core/openai/random_billing.py:285
↓ 5 callers
Method
_follow_redirects
手动跟随重定向链,返回 (callback_url, final_url)。
src/core/register.py:2807
↓ 5 callers
Function
_guard_page_request
(request: Request)
src/web/app.py:201
↓ 5 callers
Function
_is_official_checkout_link
(link: Optional[str])
src/core/openai/payment.py:232
↓ 5 callers
Function
_load_state
(force: bool = False)
src/core/circuit_breaker.py:88
↓ 5 callers
Method
_make_request
发送请求并返回 JSON 数据 Args: method: HTTP 方法 path: 请求路径(以 / 开头) **kwargs: 传递给 http_client.request 的额外参数
src/services/temp_mail.py:566
↓ 5 callers
Function
_normalize_checkout_country
(country: Optional[str])
src/web/routes/payment.py:128
↓ 5 callers
Function
_normalize_mode
(value: Optional[str])
src/web/routes/selfcheck.py:61
↓ 5 callers
Function
_normalize_plan
(raw_plan: Optional[str])
src/core/openai/overview.py:663
↓ 5 callers
Function
_selfcheck_task_id
(run_id: int)
src/web/routes/selfcheck.py:75
↓ 5 callers
Method
_submit_login_password
提交登录密码,进入邮箱验证码页面。
src/core/register.py:817
↓ 5 callers
Method
_submit_login_start
提交登录入口表单。
src/core/register.py:806
↓ 5 callers
Function
_utc_now
()
src/core/circuit_breaker.py:25
↓ 5 callers
Function
_utc_now
()
src/web/auto_quick_refresh_scheduler.py:33
↓ 5 callers
Function
_utc_now
()
src/web/selfcheck_scheduler.py:28
↓ 5 callers
Method
add_log
添加日志并推送到 WebSocket(线程安全)
src/web/task_manager.py:99
↓ 5 callers
Function
callEfunApi
(path, payload)
static/js/payment.js:1817
↓ 5 callers
Function
check_subscription_status_detail
检测账号当前订阅状态。 返回带来源与置信度的详细结果,便于绑卡任务诊断。
src/core/openai/payment.py:941
↓ 5 callers
Function
compute_next_run_at
根据计划配置计算下一次执行时间。
src/web/schedule_utils.py:71
↓ 5 callers
Method
connect
连接到 IMAP 服务器
src/services/outlook_legacy_mail.py:154
↓ 5 callers
Function
escapeHtml
(value)
static/js/logs.js:46
↓ 5 callers
Function
generate_token_json
生成 CPA 格式的 Token JSON Args: account: 账号模型实例 Returns: CPA 格式的 Token 字典
src/core/upload/cpa_upload.py:93
↓ 5 callers
Function
getBindMode
()
static/js/payment.js:1212
↓ 5 callers
Function
getLogType
(log)
static/js/app.js:2159
↓ 5 callers
Method
get_available_providers
获取可用的提供者列表 Args: priority_order: 优先级顺序,默认为 [IMAP_NEW, IMAP_OLD, GRAPH_API] Returns: 可用的提供者列表
src/services/outlook/health_checker.py:102
↓ 5 callers
Function
get_database_backend
(database_url: str)
src/database/session.py:43
↓ 5 callers
Method
is_cancelled
检查任务是否已取消
src/web/task_manager.py:90
↓ 5 callers
Function
loadCustomServices
()
static/js/email_services.js:394
↓ 5 callers
Function
loadEmailServices
()
static/js/settings.js:498
↓ 5 callers
Function
loadStats
(silent = false)
static/js/logs.js:152
↓ 5 callers
Function
open_url_incognito
用 Playwright 以无痕模式打开 URL,可注入 cookie
src/core/openai/payment.py:901
↓ 5 callers
Method
record_success
记录成功操作
src/services/outlook/providers/base.py:124
↓ 5 callers
Function
refreshAccountsView
(options = {})
static/js/accounts.js:192
↓ 5 callers
Function
renderEfunPoolHint
()
static/js/payment.js:1734
↓ 5 callers
Function
seed_oai_device_cookie
在 ChatGPT / OpenAI 相关域上同步设置 oai-did。
src/core/anyauto/utils.py:349
↓ 5 callers
Function
setRandomBillingHint
(message, mode = "info")
static/js/payment.js:655
↓ 5 callers
Function
showSessionDiagnosticPanel
(text)
static/js/payment.js:178
↓ 5 callers
Method
snapshot
(self)
src/web/selfcheck_scheduler.py:113
↓ 5 callers
Function
stopBatchPolling
()
static/js/app.js:1663
↓ 5 callers
Function
updateBatchProgress
(data)
static/js/app.js:1832
↓ 5 callers
Function
updateTaskStatus
(status)
static/js/app.js:1687
↓ 4 callers
Function
_build_checkout_link
(session_id: str)
src/core/openai/payment.py:143
↓ 4 callers
Function
_build_cpa_headers
(api_token: str, content_type: Optional[str] = None)
src/core/upload/cpa_upload.py:42
↓ 4 callers
Function
_build_empty_token_profile_stats
()
src/web/routes/registration.py:490
↓ 4 callers
Function
_build_fake_get_db
(manager: DatabaseSessionManager)
tests/test_email_service_delete_routes.py:20
↓ 4 callers
Function
_ensure_channel
(channel: str)
src/core/circuit_breaker.py:123
↓ 4 callers
Function
_ensure_single_default_proxy
保证代理表中“有且仅有一个默认代理”: - 没有默认时,自动使用最早创建(ID 最小)的代理作为默认 - 有多个默认时,仅保留最早的一个
src/database/crud.py:502
↓ 4 callers
Method
_extract_code_from_state
(self, state: FlowState)
src/core/anyauto/oauth_client.py:228
↓ 4 callers
Function
_extract_page_text
(page, max_len: int = 2000)
src/core/openai/browser_bind.py:1016
↓ 4 callers
Function
_extract_session_token_from_cookie_text
(cookies_text: Optional[str])
src/web/routes/payment.py:273
↓ 4 callers
Function
_fallback_overview
(account: Account, error_message: Optional[str] = None, stale: bool = False)
src/web/routes/accounts.py:444
↓ 4 callers
Function
_find_submit_button
(page)
src/core/openai/browser_bind.py:995
↓ 4 callers
Function
_format_duration
(seconds: Optional[float])
src/core/openai/overview.py:330
↓ 4 callers
Function
_get_batch_lock
线程安全地获取或创建批量任务日志锁
src/web/task_manager.py:66
↓ 4 callers
Function
_get_env_int
(name: str, default: int, minimum: int = 0)
src/database/session.py:26
↓ 4 callers
Function
_get_log_lock
线程安全地获取或创建任务日志锁
src/web/task_manager.py:57
↓ 4 callers
Method
_get_token
获取有效的 token(带缓存,所有实例共享) Args: force_refresh: 是否强制刷新 Returns: token 字符串
src/services/cloud_mail.py:132
↓ 4 callers
Method
_handle_oauth_callback
处理 OAuth 回调
src/core/register.py:2895
↓ 4 callers
Function
_header_value
(headers, name: str)
tests/test_anyauto_sentinel_flow.py:28
↓ 4 callers
Function
_mark_task_cancelled
(db, task_uuid: str, message: str = "任务已取消")
src/web/routes/registration.py:108
↓ 4 callers
Method
_normalize_inbox_mode
(self, raw: Any)
src/services/luckmail_mail.py:126
↓ 4 callers
Function
_normalize_outlook_account_email
(email: Optional[str])
src/web/routes/registration.py:58
↓ 4 callers
Function
_normalize_plan_type
(raw_plan: Optional[str])
src/web/routes/accounts.py:417
↓ 4 callers
Function
_normalize_state
(raw: Any)
src/core/circuit_breaker.py:76
↓ 4 callers
Function
_normalize_token_completeness
(value: Any)
src/web/routes/registration.py:499
↓ 4 callers
Method
_pick_first_value
(self, payload: Dict[str, Any], *keys: str)
src/services/web2_mail.py:68
↓ 4 callers
Function
_pick_number
(payload: Dict[str, Any], keys: Tuple[str, ...])
src/core/openai/overview.py:281
↓ 4 callers
Method
_restart_login_flow
新注册账号完成建号后,重新发起一次登录流程拿 token。
src/core/register.py:2084
↓ 4 callers
Function
_safe_value
(value: str)
src/web/auth.py:25
↓ 4 callers
Function
_save_state
(state: Dict[str, Dict[str, Any]])
src/core/circuit_breaker.py:107
↓ 4 callers
Function
_seed_cookie_jar_from_text
将 account.cookies 中的键值回灌到会话 cookie jar,便于重定向链正确续会话。
src/web/routes/payment.py:1024
↓ 4 callers
Function
_start_selfcheck_background
(mode: str, source: str)
src/web/routes/selfcheck.py:166
↓ 4 callers
Function
_to_iso
(dt: Optional[datetime])
src/web/auto_quick_refresh_scheduler.py:37
↓ 4 callers
Function
_to_iso
(dt: Optional[datetime])
src/web/selfcheck_scheduler.py:32
↓ 4 callers
Function
_to_response
(service)
src/web/routes/upload/codex2api_services.py:56
↓ 4 callers
Function
_to_response
(svc)
src/web/routes/upload/sub2api_services.py:61
↓ 4 callers
Function
_to_response
(svc)
src/web/routes/upload/cpa_services.py:55
↓ 4 callers
Function
_to_response
(service)
src/web/routes/upload/new_api_services.py:60
↓ 4 callers
Function
_value_to_string
将值转换为数据库存储的字符串
src/config/settings.py:653
↓ 4 callers
Function
account_to_response
转换 Account 模型为响应模型
src/web/routes/accounts.py:293
↓ 4 callers
Method
applyTheme
()
static/js/utils.js:98
↓ 4 callers
Function
build_sentinel_token
构建完整的 openai-sentinel-token JSON 字符串
src/core/anyauto/sentinel_token.py:195
↓ 4 callers
Method
cancel_batch
取消批量任务
src/web/task_manager.py:339
↓ 4 callers
Method
cancel_task
取消任务
src/web/task_manager.py:94
↓ 4 callers
Method
close
关闭连接
src/services/outlook_legacy_mail.py:331
↓ 4 callers
Function
collectBillingFormData
()
static/js/payment.js:715
↓ 4 callers
Function
connectWebSocket
(taskUuid)
static/js/app.js:1304
↓ 4 callers
Function
execute_selfcheck_run
( run_id: int, *, mode: Optional[str] = None, source: Optional[str] = None, progress_callb
src/core/system_selfcheck.py:670
↓ 4 callers
Function
extract_flow_state
从 API 响应或 URL 中提取统一的流程状态。
src/core/anyauto/utils.py:184
↓ 4 callers
Function
fillBillingForm
(parsed)
static/js/payment.js:618
↓ 4 callers
Function
formatExpiryInput
(month, year)
static/js/payment.js:370
↓ 4 callers
Function
get1
(k: str)
src/core/openai/oauth.py:68
↓ 4 callers
Method
get_access_token
获取 Access Token Args: force_refresh: 是否强制刷新 Returns: Access Token 字符串,失败返回 None
src/services/outlook/token_manager.py:97
↓ 4 callers
Function
get_auto_registration_state
()
src/core/auto_registration.py:40
↓ 4 callers
Function
get_proxy_url_for_task
为注册任务获取代理 URL。 优先使用动态代理(若启用),否则使用静态代理配置。 Returns: 代理 URL 或 None
src/core/dynamic_proxy.py:93
↓ 4 callers
Function
get_setting
获取设置
src/database/crud.py:405
↓ 4 callers
Function
has_running_selfcheck_run
()
src/core/system_selfcheck.py:664
↓ 4 callers
Method
is_disabled
检查是否被禁用
src/services/outlook/base.py:125
↓ 4 callers
Function
loadRunDetail
(runId)
static/js/selfcheck.js:270
← previous
next →
201–300 of 2,218, ranked by callers