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
↓ 1 callers
Method
run
执行 any-auto-register 风格注册流程。 返回 dict:包含 result(RegistrationResult 填充所需字段) + 额外上下文。
src/core/anyauto/register_flow.py:184
↓ 1 callers
Function
runBatchCheckSubscriptionTask
(payload, count, sourceLabel, options = {})
static/js/accounts.js:1311
↓ 1 callers
Function
runBatchRefreshTask
(payload, count, sourceLabel, options = {})
static/js/accounts.js:1103
↓ 1 callers
Function
runBatchValidateTask
(payload, count, sourceLabel, options = {})
static/js/accounts.js:1209
↓ 1 callers
Function
runLocalAutoBindInBackground
(task, bindData)
static/js/payment.js:2415
↓ 1 callers
Method
runWithConcurrency
(task, priority = 'normal')
static/js/utils.js:238
↓ 1 callers
Function
run_batch_parallel
并行模式:按并发额度逐步派发任务,取消后不再启动新任务
src/web/routes/registration.py:1171
↓ 1 callers
Function
run_batch_pipeline
流水线模式:每隔 interval 秒启动一个新任务,Semaphore 限制最大并发数
src/web/routes/registration.py:1320
↓ 1 callers
Method
run_job
执行单个计划任务。
src/web/scheduler.py:77
↓ 1 callers
Method
run_loop
(self)
src/web/selfcheck_scheduler.py:144
↓ 1 callers
Function
run_migrations_offline
()
alembic/env.py:29
↓ 1 callers
Function
run_migrations_online
()
alembic/env.py:43
↓ 1 callers
Method
run_once
(self)
src/core/auto_registration.py:177
↓ 1 callers
Function
runner
()
static/js/payment.js:2602
↓ 1 callers
Method
save_to_database
保存注册结果到数据库 Args: result: 注册结果 Returns: 是否保存成功
src/core/register.py:3260
↓ 1 callers
Function
scenario
()
tests/test_auto_registration_merge.py:86
↓ 1 callers
Method
send_email_otp
触发发送邮箱验证码
src/core/anyauto/chatgpt_client.py:630
↓ 1 callers
Method
set_cached_token
缓存 Token
src/services/outlook/token_manager.py:85
↓ 1 callers
Method
set_domain_quota
(self, domain: str, quota: int)
src/web/task_manager.py:481
↓ 1 callers
Method
setupNetworkListeners
()
static/js/utils.js:206
↓ 1 callers
Function
setup_application
设置应用程序
webui.py:79
↓ 1 callers
Function
setup_logging
配置日志系统 Args: log_level: 日志级别 (DEBUG, INFO, WARNING, ERROR, CRITICAL) log_file: 日志文件路径,如果不指定则只输出到控制台 log_format: 日志格式
src/core/utils.py:38
↓ 1 callers
Function
showInboxCodeResult
(code, email)
static/js/accounts.js:2244
↓ 1 callers
Method
signin
提交邮箱,获取 authorize URL Returns: str: authorize URL
src/core/anyauto/chatgpt_client.py:466
↓ 1 callers
Function
sleep
(ms)
static/js/accounts.js:34
↓ 1 callers
Function
sleep
(ms)
static/js/payment.js:139
↓ 1 callers
Function
solve_sentinel_pow
Solve the Sentinel PoW challenge and return the base64 payload.
src/core/openai/sentinel.py:69
↓ 1 callers
Function
splitBatchBlocks
(rawText)
static/js/payment.js:984
↓ 1 callers
Function
startAccountsPolling
()
static/js/app.js:2029
↓ 1 callers
Function
startBatchPolling
(batchId)
static/js/app.js:1628
↓ 1 callers
Function
startBatchWebSocketHeartbeat
()
static/js/app.js:2503
↓ 1 callers
Function
startBindTaskAutoRefresh
()
static/js/payment.js:1172
↓ 1 callers
Function
startOutlookBatchPolling
(batchId)
static/js/app.js:2528
↓ 1 callers
Function
startPolling
()
static/js/selfcheck.js:529
↓ 1 callers
Function
startRecentTasksPolling
()
static/js/app.js:1964
↓ 1 callers
Function
startTodayStatsPolling
()
static/js/app.js:2110
↓ 1 callers
Function
startTodayStatsResetTicker
()
static/js/app.js:2102
↓ 1 callers
Function
startWebSocketHeartbeat
()
static/js/app.js:1434
↓ 1 callers
Method
start_oauth
开始 OAuth 流程
src/core/openai/oauth.py:333
↓ 1 callers
Function
start_webui
启动 Web UI
webui.py:138
↓ 1 callers
Method
stop
停止计划任务调度器。
src/web/scheduler.py:33
↓ 1 callers
Function
submitLocalAutoBind
(task, bindData)
static/js/payment.js:2388
↓ 1 callers
Function
submit_callback_url
处理 OAuth 回调 URL,获取访问令牌 Args: callback_url: 回调 URL expected_state: 预期的 state 值 code_verifier: PKCE code_verifier
src/core/openai/oauth.py:231
↓ 1 callers
Function
switchEditSubType
(subType)
static/js/email_services.js:218
↓ 1 callers
Method
test_connection
测试连接是否正常 Returns: 连接是否正常
src/services/outlook/providers/base.py:115
↓ 1 callers
Method
to_dict
转换为字典
src/core/register.py:102
↓ 1 callers
Function
to_shanghai
(dt: datetime | None)
src/core/timezone_utils.py:54
↓ 1 callers
Function
toggleSqliteButtons
(enabled)
static/js/settings.js:114
↓ 1 callers
Function
trigger_auto_registration_check
()
src/core/auto_registration.py:51
↓ 1 callers
Function
truncate_target_tables
(connection: Connection, table_names: Iterable[str])
scripts/migrate_sqlite_to_postgres.py:112
↓ 1 callers
Method
unregister_batch_websocket
注销批量任务 WebSocket 连接
src/web/task_manager.py:376
↓ 1 callers
Method
unregister_websocket
注销 WebSocket 连接
src/web/task_manager.py:187
↓ 1 callers
Function
updateAutoQuickRefreshButton
()
static/js/accounts.js:480
↓ 1 callers
Function
updateBindModeSpecificUi
(mode)
static/js/payment.js:1945
↓ 1 callers
Function
updateEmailServiceOptions
()
static/js/app.js:348
↓ 1 callers
Function
updatePagination
()
static/js/accounts.js:861
↓ 1 callers
Function
updateSelectedServices
()
static/js/settings.js:825
↓ 1 callers
Function
updateTodayStatsResetText
()
static/js/app.js:2091
↓ 1 callers
Method
updateToggleButtons
()
static/js/utils.js:115
↓ 1 callers
Function
updateVendorRuntimeHint
(progressPayload = {}, status = "running")
static/js/payment.js:1350
↓ 1 callers
Method
update_batch_status
更新批量任务状态
src/web/task_manager.py:289
↓ 1 callers
Function
update_proxy_usage
更新代理的使用时间
src/web/routes/registration.py:214
↓ 1 callers
Function
uploadToCodex2api
(id)
static/js/accounts.js:2161
↓ 1 callers
Function
uploadToCpa
(id)
static/js/accounts.js:1880
↓ 1 callers
Function
uploadToSub2Api
(id)
static/js/accounts.js:2183
↓ 1 callers
Method
validate_token
验证 Access Token 是否有效 Args: access_token: 访问令牌 timeout_seconds: 请求超时(秒) Returns: Tuple[b
src/core/openai/token_refresh.py:334
↓ 1 callers
Method
verify_email_otp
验证邮箱 OTP 码 Args: otp_code: 6位验证码 Returns: tuple: (success, message)
src/core/anyauto/chatgpt_client.py:653
↓ 1 callers
Method
visit_homepage
访问首页,建立 session
src/core/anyauto/chatgpt_client.py:418
↓ 1 callers
Function
wait_for_http
(url: str, timeout_seconds: int)
start_webui.py:209
↓ 1 callers
Function
watchPaymentOpTask
(taskId, onUpdate, maxWaitMs = 20 * 60 * 1000)
static/js/payment.js:143
↓ 1 callers
Function
watchPaymentTask
(taskId, onUpdate, maxWaitMs = 20 * 60 * 1000)
static/js/accounts.js:132
Method
__call__
装饰器调用
src/core/utils.py:273
Method
__enter__
(self)
src/core/utils.py:569
Method
__enter__
(self)
src/core/http_client.py:224
Method
__enter__
(self)
src/services/outlook_legacy_mail.py:344
Method
__enter__
上下文管理器入口
src/services/outlook/providers/base.py:165
Method
__enter__
(self)
tests/test_registration_codex2api.py:94
Method
__enter__
(self)
tests/test_registration_new_api.py:40
Method
__enter__
(self)
tests/test_database_runtime_config.py:35
Method
__exit__
(self, exc_type, exc_val, exc_tb)
src/core/utils.py:573
Method
__exit__
(self, exc_type, exc_val, exc_tb)
src/core/http_client.py:227
Method
__exit__
(self, exc_type, exc_val, exc_tb)
src/services/outlook_legacy_mail.py:348
Method
__exit__
上下文管理器出口
src/services/outlook/providers/base.py:170
Method
__exit__
(self, exc_type, exc, tb)
tests/test_registration_codex2api.py:97
Method
__exit__
(self, exc_type, exc, tb)
tests/test_registration_new_api.py:43
Method
__exit__
(self, exc_type, exc, tb)
tests/test_database_runtime_config.py:38
Method
__init__
(self, database_url: str = None)
src/database/session.py:97
Method
__init__
( self, trigger_callback: Callable[[AutoRegistrationPlan, Settings], Awaitable[Any]],
src/core/auto_registration.py:136
Method
__init__
( self, max_retries: int = 3, base_delay: float = 1.0, max_delay: float = 30.0
src/core/utils.py:259
Method
__init__
(self, name: str = "操作")
src/core/utils.py:564
Method
__init__
初始化注册引擎 Args: email_service: 邮箱服务实例 proxy_url: 代理 URL callback_logger: 日志回调函数 task_u
src/core/register.py:138
Method
__init__
(self, min_level: int = logging.INFO)
src/core/db_logs.py:47
Method
__init__
初始化 OpenAI HTTP 客户端 Args: proxy_url: 代理 URL config: 请求配置
src/core/http_client.py:237
Method
__init__
(self, email_service, email: str, email_id: Optional[str], log_fn: Callable[[str], None])
src/core/anyauto/register_flow.py:24
Method
__init__
( self, email_service, proxy_url: Optional[str] = None, callback_logger: Optio
src/core/anyauto/register_flow.py:57
Method
__init__
(self, device_id=None, user_agent=None)
src/core/anyauto/sentinel_token.py:25
Method
__init__
初始化 OAuth 客户端 Args: config: 配置字典 proxy: 代理地址 verbose: 是否输出详细日志 browser_mode:
src/core/anyauto/oauth_client.py:31
Method
__init__
初始化 ChatGPT 客户端 Args: proxy: 代理地址 verbose: 是否输出详细日志 browser_mode: protocol | headless |
src/core/anyauto/chatgpt_client.py:70
Method
__init__
初始化 Token 刷新管理器 Args: proxy_url: 代理 URL
src/core/openai/token_refresh.py:48
Method
__init__
( self, client_id: str = OAUTH_CLIENT_ID, auth_url: str = OAUTH_AUTH_URL, toke
src/core/openai/oauth.py:317
← previous
next →
1,201–1,300 of 2,218, ranked by callers