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
↓ 4 callers
Function
loadServiceSelect
(apiPath, container, checkbox, selectGroup)
static/js/app.js:197
↓ 4 callers
Function
loadStats
()
static/js/accounts.js:601
↓ 4 callers
Function
make_account
(**kwargs)
tests/test_codex2api_upload.py:26
↓ 4 callers
Function
mark_scheduler_uploaded
()
src/web/routes/registration.py:890
↓ 4 callers
Function
normalize_schedule_config
校验并标准化计划配置。
src/web/schedule_utils.py:38
↓ 4 callers
Method
notifyNetworkState
(message, type, throttleMs = 3000)
static/js/utils.js:218
↓ 4 callers
Method
refresh_account
刷新账号的 Token 优先级: 1. Session Token 刷新 2. OAuth Refresh Token 刷新 Args: account: 账号对象 Ret
src/core/openai/token_refresh.py:280
↓ 4 callers
Function
renderRunDetail
(run)
static/js/selfcheck.js:191
↓ 4 callers
Function
resetGenerateLinkButtonState
()
static/js/payment.js:1203
↓ 4 callers
Function
resetSelectAllPages
()
static/js/accounts.js:871
↓ 4 callers
Method
run
Run the current primary flow first, then selectively fall back to PR60 AnyAuto V2.
src/core/register.py:3241
↓ 4 callers
Function
saveBillingTemplates
(list)
static/js/payment.js:770
↓ 4 callers
Function
service_to_response
?????????
src/web/routes/email.py:171
↓ 4 callers
Function
setSelectedServiceIds
(container, selectedIds)
static/js/app.js:897
↓ 4 callers
Method
set_loop
设置事件循环(在 FastAPI 启动时调用)
src/web/task_manager.py:82
↓ 4 callers
Function
showBatchStatus
(batch)
static/js/app.js:1708
↓ 4 callers
Function
stopAutoRegistrationMonitor
()
static/js/app.js:1824
↓ 4 callers
Function
stopLogPolling
()
static/js/app.js:1620
↓ 4 callers
Function
updateVendorProgressUi
(progressPayload, taskId)
static/js/payment.js:1413
↓ 3 callers
Method
_append_log
(self, level: str, message: str, when: Optional[datetime] = None)
src/web/auto_quick_refresh_scheduler.py:74
↓ 3 callers
Function
_assert_password_is_hardened
(password: str)
tests/test_registration_password_hardening.py:8
↓ 3 callers
Method
_base64_encode
模拟 SDK 的 E() 函数:JSON.stringify → TextEncoder.encode → btoa
src/core/anyauto/sentinel_token.py:99
↓ 3 callers
Method
_bootstrap_oauth_session
启动 OAuth 会话,确保 auth 域上的 login_session 已建立。
src/core/anyauto/oauth_client.py:346
↓ 3 callers
Method
_build_headers
(self, extra_headers: Optional[Dict[str, str]] = None)
src/services/web2_mail.py:54
↓ 3 callers
Function
_build_local_geo_profile
(country_code: str, reason: Optional[str] = None, *, fallback_source: bool = False)
src/core/openai/random_billing.py:313
↓ 3 callers
Function
_check_subscription_detail_with_retry
订阅检测 + 一次 token 刷新重试: - 检测异常时尝试刷新 token 后重试 - 检测到 free 且低置信度时,也尝试刷新 token 后重试 Returns: (detail, refreshed)
src/web/routes/payment.py:1825
↓ 3 callers
Function
_clamp_int
(value: Any, min_value: int, max_value: int, default: int)
src/core/system_selfcheck.py:91
↓ 3 callers
Function
_collect_402_target_ids
(run_id: int)
src/core/system_selfcheck.py:857
↓ 3 callers
Function
_compute_score
(checks: List[Dict[str, Any]])
src/core/system_selfcheck.py:638
↓ 3 callers
Method
_create_session
创建 HTTP 会话
src/core/openai/token_refresh.py:58
↓ 3 callers
Method
_decode_oauth_session_cookie
解码 oai-client-auth-session cookie
src/core/anyauto/oauth_client.py:1250
↓ 3 callers
Method
_default_user_agent
获取当前会话 User-Agent(用于 Sentinel token 生成)。
src/core/register.py:537
↓ 3 callers
Method
_extract_account_id_from_access_token
从 access_token 的 JWT payload 尝试解析 chatgpt_account_id。
src/core/register.py:2008
↓ 3 callers
Function
_extract_checkout_session_id_from_url
(url: Optional[str])
src/web/routes/payment.py:226
↓ 3 callers
Function
_extract_cookie_value
(cookies_str: str, name: str)
src/core/openai/browser_bind.py:202
↓ 3 callers
Function
_extract_first_string_by_keys
(data, keys: tuple[str, ...])
src/core/openai/payment.py:165
↓ 3 callers
Function
_extract_http_status
(exc: Exception)
src/core/openai/overview.py:186
↓ 3 callers
Method
_extract_mail_fields
统一提取邮件字段,兼容 raw MIME 和不同 Worker 返回格式。
src/services/temp_mail.py:195
↓ 3 callers
Function
_extract_quota_from_rate_limit_window
(window_payload: Dict[str, Any])
src/core/openai/overview.py:360
↓ 3 callers
Function
_find_route
(app, path: str, method: str)
tests/test_security_and_task_routes.py:9
↓ 3 callers
Method
_flatten_set_cookie_headers
合并多条 Set-Cookie(包含分片 cookie)。
src/core/register.py:359
↓ 3 callers
Method
_follow_flow_state
跟随服务端返回的 continue_url / current_url,返回新的状态或 authorization code。
src/core/anyauto/oauth_client.py:275
↓ 3 callers
Method
_follow_flow_state
跟随服务端返回的 continue_url,推进注册状态机。
src/core/anyauto/chatgpt_client.py:272
↓ 3 callers
Method
_get_cached_account
( self, *, email: Optional[str] = None, email_id: Optional[str] = None, )
src/services/yyds_mail.py:148
↓ 3 callers
Method
_get_sentinel_token
(self, flow: str, *, page_url: str | None = None)
src/core/anyauto/chatgpt_client.py:121
↓ 3 callers
Function
_load_repair_center_store
()
src/core/system_selfcheck.py:877
↓ 3 callers
Method
_normalize_admin_limit
(self, value: Any, default: int = 50)
src/services/temp_mail.py:77
↓ 3 callers
Function
_normalize_checkout_currency
(country: str, currency: Optional[str])
src/web/routes/payment.py:135
↓ 3 callers
Function
_normalize_cpa_auth_files_url
将用户填写的 CPA 地址规范化为 auth-files 接口地址。
src/core/upload/cpa_upload.py:22
↓ 3 callers
Function
_normalize_database_url
(url: str)
src/config/settings.py:645
↓ 3 callers
Function
_normalize_third_party_bind_api_url
(raw_url: Optional[str])
src/web/routes/payment.py:1336
↓ 3 callers
Function
_now_iso
()
src/core/circuit_breaker.py:29
↓ 3 callers
Method
_prepare_authorize_flow
初始化当前阶段的授权流程,返回 device id 和 sentinel token。
src/core/register.py:922
↓ 3 callers
Method
_read_schedule
(self)
src/web/auto_quick_refresh_scheduler.py:88
↓ 3 callers
Method
_read_schedule
(self)
src/web/selfcheck_scheduler.py:63
↓ 3 callers
Function
_record_token_profile_stat
(stats: Dict[str, int], token_completeness: Any)
src/web/routes/registration.py:511
↓ 3 callers
Method
_request
(self, method, url, **kwargs)
tests/test_registration_engine.py:43
↓ 3 callers
Function
_response_with_did
(did)
tests/test_registration_engine.py:167
↓ 3 callers
Function
_sanitize_cookie_value
(value: str)
src/core/openai/browser_bind.py:93
↓ 3 callers
Function
_schedule_async_job
统一调度后台异步任务。
src/web/routes/registration.py:1626
↓ 3 callers
Method
_send_verification_code
发送验证码
src/core/register.py:2300
↓ 3 callers
Function
_set_overview_card_removed
(account: Account, removed: bool)
src/web/routes/accounts.py:495
↓ 3 callers
Function
_settings_config
()
src/core/circuit_breaker.py:50
↓ 3 callers
Method
_snapshot_locked
(self)
src/web/auto_quick_refresh_scheduler.py:109
↓ 3 callers
Method
_snapshot_locked
(self)
src/web/selfcheck_scheduler.py:94
↓ 3 callers
Method
_state_from_payload
(self, data, current_url="")
src/core/anyauto/chatgpt_client.py:223
↓ 3 callers
Method
_submit_auth_start
提交授权入口表单 Returns: SignupFormResult: 提交结果,包含账号状态判断
src/core/register.py:664
↓ 3 callers
Function
_validate_registration_request
校验邮箱服务类型。
src/web/routes/registration.py:1615
↓ 3 callers
Method
_validate_verification_code
验证验证码
src/core/register.py:2349
↓ 3 callers
Method
add_batch_log
添加批量任务日志并推送
src/web/task_manager.py:250
↓ 3 callers
Method
addpart
(self, **kwargs)
tests/test_cpa_upload.py:20
↓ 3 callers
Function
build_setup_password_redirect
()
src/web/auth.py:57
↓ 3 callers
Function
clearBatchWebSocketReconnect
()
static/js/app.js:1250
↓ 3 callers
Function
clearWebSocketReconnect
()
static/js/app.js:1242
↓ 3 callers
Method
clear_cache
清除缓存
src/services/outlook/token_manager.py:91
↓ 3 callers
Function
create_app
()
src/web/app.py:52
↓ 3 callers
Function
create_selfcheck_run
(mode: str = "quick", source: str = "manual")
src/core/system_selfcheck.py:647
↓ 3 callers
Method
disable
禁用提供者
src/services/outlook/base.py:131
↓ 3 callers
Method
domain_quota_snapshot
(self)
src/web/task_manager.py:646
↓ 3 callers
Method
extract_account_info
从 ID Token 中提取账户信息
src/core/openai/oauth.py:359
↓ 3 callers
Method
from_config
从配置创建账户
src/services/outlook_legacy_mail.py:67
↓ 3 callers
Method
from_config
从配置创建账户
src/services/outlook/account.py:18
↓ 3 callers
Function
get_account_by_id
根据 ID 获取账户
src/database/crud.py:82
↓ 3 callers
Method
get_config
获取系统配置 Args: force_refresh: 是否强制刷新缓存 Returns: 配置信息
src/services/moe_mail.py:166
↓ 3 callers
Function
get_database_pool_settings
(database_url: str)
src/database/session.py:54
↓ 3 callers
Method
get_loop
获取事件循环
src/web/task_manager.py:86
↓ 3 callers
Function
get_proxy_by_id
根据 ID 获取代理
src/database/crud.py:565
↓ 3 callers
Function
get_registration_task_by_uuid
根据 UUID 获取注册任务
src/database/crud.py:330
↓ 3 callers
Function
get_session_manager
获取数据库会话管理器
src/database/session.py:365
↓ 3 callers
Method
get_verification_code
获取验证码 Args: email: 邮箱地址 email_id: 邮箱服务中的 ID(如果需要) timeout: 超时时间(秒) pattern: 验证码正则表达式
src/services/base.py:79
↓ 3 callers
Function
init_database
初始化数据库会话管理器
src/database/session.py:352
↓ 3 callers
Function
init_default_settings
初始化数据库中的默认设置 如果设置项不存在,则创建并设置默认值
src/config/settings.py:668
↓ 3 callers
Function
initialize_database
初始化数据库 创建所有表并设置默认配置
src/database/init_db.py:9
↓ 3 callers
Function
loadCodex2apiServices
()
static/js/settings.js:1635
↓ 3 callers
Function
loadCpaServices
()
static/js/settings.js:1311
↓ 3 callers
Function
loadDatabaseInfo
()
static/js/settings.js:571
↓ 3 callers
Function
loadNewApiServices
()
static/js/settings.js:1788
↓ 3 callers
Function
loadRecentTasks
()
static/js/app.js:1900
↓ 3 callers
Function
loadRepairRollbacks
()
static/js/selfcheck.js:388
↓ 3 callers
Function
loadScheduleAndRuntime
()
static/js/selfcheck.js:250
← previous
next →
301–400 of 2,218, ranked by callers