MCPcopy Create free account

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

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

↓ 9 callersFunction_mask_secret
(value: Optional[str], keep_start: int = 6, keep_end: int = 4)
src/web/routes/payment.py:354
↓ 9 callersMethod_now_iso
(self)
src/services/luckmail_mail.py:236
↓ 9 callersFunction_pick_first_text
(*values: Any)
src/web/routes/accounts.py:564
↓ 9 callersFunction_resolve_runtime_proxy
选一个首选代理,给非轮询型接口使用。
src/web/routes/payment.py:182
↓ 9 callersFunction_upsert_cookie
(cookies_text: Optional[str], cookie_name: str, cookie_value: str)
src/web/routes/payment.py:994
↓ 9 callersFunctionadd_task
(task_uuid: str, status: str, created_days: int, started_days: int | None = None, completed_days: int | None =
tests/test_database_runtime_config.py:132
↓ 9 callersFunctioncleanup
()
static/js/accounts.js:1827
↓ 9 callersFunctiongetEffectiveCount
()
static/js/accounts.js:897
↓ 9 callersFunctionnormalizeMonth
(value)
static/js/payment.js:357
↓ 9 callersFunctionsetParseResult
(message, type = "info")
static/js/payment.js:953
↓ 9 callersMethodupdate_status
更新任务状态
src/web/task_manager.py:205
↓ 8 callersMethod_append_log_locked
(self, level: str, message: str, when: Optional[datetime] = None)
src/web/auto_quick_refresh_scheduler.py:64
↓ 8 callersMethod_append_log_locked
(self, level: str, message: str, when: Optional[datetime] = None)
src/web/selfcheck_scheduler.py:79
↓ 8 callersMethod_capture_auth_session_tokens
直接通过 /api/auth/session 捕获 session_token + access_token。 这是 ABCard Phase 1 的关键路径。
src/core/register.py:996
↓ 8 callersMethod_check_sentinel
为指定 flow 获取完整的 openai-sentinel-token。
src/core/register.py:594
↓ 8 callersMethod_dump_session_cookies
导出当前会话 cookies(用于后续支付/绑卡自动化)。
src/core/register.py:246
↓ 8 callersMethod_ensure_domain_task_locked
( self, *, domain: str, task_id: str, task_type: Optional[str] = None,
src/web/task_manager.py:408
↓ 8 callersFunction_extract_session_token_from_cookie_jar
(cookie_jar)
src/web/routes/payment.py:302
↓ 8 callersMethod_make_request
发送请求并返回 JSON 数据 Args: method: HTTP 方法 path: 请求路径(以 / 开头) **kwargs: 传递给 http_client.request 的额外参数
src/services/freemail.py:70
↓ 8 callersMethod_make_request
( self, method: str, path: str, token: Optional[str] = None, use_api_k
src/services/duck_mail.py:81
↓ 8 callersFunction_map_plan_to_subscription
(plan: Optional[str])
src/core/openai/payment.py:928
↓ 8 callersMethod_state_from_payload
(self, data, current_url="")
src/core/anyauto/oauth_client.py:213
↓ 8 callersFunctionbuildBatchPayload
(extraFields = {})
static/js/accounts.js:879
↓ 8 callersMethodclose
(self)
tests/test_registration_engine.py:40
↓ 8 callersFunctiongetSelectedServiceIds
(container)
static/js/app.js:260
↓ 8 callersFunctionget_selfcheck_run
(run_id: int)
src/core/system_selfcheck.py:802
↓ 8 callersMethodget_verification_code
从 TempMail 邮箱获取验证码 Args: email: 邮箱地址 email_id: 未使用,保留接口兼容 timeout: 超时时间(秒) pattern:
src/services/temp_mail.py:678
↓ 8 callersFunctionis_default_security_config_active
()
src/web/auth.py:42
↓ 8 callersFunctionloadRecentAccounts
()
static/js/app.js:1974
↓ 8 callersFunctionloadStats
()
static/js/email_services.js:234
↓ 8 callersFunctionto_shanghai_iso
(dt: datetime | None)
src/core/timezone_utils.py:63
↓ 8 callersFunctiontrackBatchTask
(key, taskRef = null)
static/js/accounts.js:48
↓ 7 callersFunction_build_check
( *, key: str, name: str, status: str, message: str, details: Optional[Dict[str, Any]]
src/core/system_selfcheck.py:222
↓ 7 callersMethod_build_json_headers
构造 OpenAI Auth JSON 请求头。
src/core/register.py:552
↓ 7 callersFunction_check_task_cancelled_or_raise
(task_uuid: str, stage: str = "")
src/web/routes/registration.py:119
↓ 7 callersFunction_extract_checkout_link_from_text
(text: str)
src/core/openai/payment.py:248
↓ 7 callersMethod_extract_code_from_url
从 URL 中提取 code
src/core/anyauto/oauth_client.py:926
↓ 7 callersFunction_full_sentinel_token
(flow: str, did: str, c_value: str = "server-token")
tests/test_registration_engine.py:121
↓ 7 callersMethod_get_account_info
(self, email: Optional[str] = None, email_id: Optional[str] = None)
src/services/duck_mail.py:136
↓ 7 callersFunction_get_proxy
获取代理 URL,策略与注册流程一致:代理列表 → 动态代理 → 静态配置
src/web/routes/accounts.py:77
↓ 7 callersMethod_get_workspace_id
获取 Workspace ID
src/core/register.py:2578
↓ 7 callersFunction_is_overview_card_removed
(account: Account)
src/web/routes/accounts.py:490
↓ 7 callersMethod_load_email_index
(self, path: Path)
src/services/luckmail_mail.py:292
↓ 7 callersFunction_safe_int
(value: Any, default: int)
src/core/circuit_breaker.py:43
↓ 7 callersMethod_save_email_index
(self, path: Path, index: Dict[str, Dict[str, Any]])
src/services/luckmail_mail.py:333
↓ 7 callersFunction_serialize_run
(run: SelfCheckRun)
src/core/system_selfcheck.py:125
↓ 7 callersFunctionappendVendorLogs
(logs)
static/js/payment.js:1340
↓ 7 callersFunctioncollectEfunConfig
()
static/js/payment.js:1803
↓ 7 callersFunctioncopyToClipboard
(text)
static/js/utils.js:758
↓ 7 callersMethodcreate
创建邮箱服务实例 Args: service_type: 服务类型 config: 服务配置 name: 服务名称 Returns: 邮箱服务实例
src/services/base.py:315
↓ 7 callersFunctionloadProxies
()
static/js/settings.js:940
↓ 7 callersFunctionloadRuns
()
static/js/selfcheck.js:256
↓ 7 callersFunctionnormalizeYear
(value)
static/js/payment.js:363
↓ 7 callersFunctionnormalize_flow_url
将 continue_url / payload.url 归一化成绝对 URL。
src/core/anyauto/utils.py:130
↓ 7 callersMethodrecord_failure
记录失败操作
src/services/outlook/providers/base.py:130
↓ 7 callersFunctionrefreshBillingTemplateSelect
(selectedId = "")
static/js/payment.js:792
↓ 7 callersFunctiontask_to_response
转换任务模型为响应
src/web/routes/registration.py:398
↓ 7 callersMethodto_dict
转换为字典
src/database/models.py:376
↓ 6 callersFunction_build_token_profile_summary
(stats: Dict[str, int], success_total: int)
src/web/routes/registration.py:537
↓ 6 callersFunction_build_unknown_quota
()
src/web/routes/accounts.py:432
↓ 6 callersMethod_decode_header
解码邮件头
src/services/outlook_legacy_mail.py:277
↓ 6 callersMethod_decode_header
解码邮件头
src/services/outlook/providers/imap_old.py:301
↓ 6 callersMethod_exchange_code_for_tokens
用 authorization code 换取 tokens
src/core/anyauto/oauth_client.py:1298
↓ 6 callersFunction_extract_checkout_session_id
(text: str)
src/core/openai/payment.py:147
↓ 6 callersFunction_is_paid_subscription
是否为付费订阅(plus/team)。
src/web/routes/accounts.py:558
↓ 6 callersFunction_make_engine
(session)
tests/test_registration_sentinel_flow.py:67
↓ 6 callersMethod_make_request
( self, method: str, path: str, *, token: Optional[str] = None,
src/services/yyds_mail.py:91
↓ 6 callersFunction_mark_accounts_scheduler_uploaded
将账号标记为已导入任一调度平台。
src/web/routes/accounts.py:319
↓ 6 callersFunction_normalize_checkout_link
将第三方返回的支付链接尽量归一化为 chatgpt 官方 checkout 链接。
src/core/openai/payment.py:277
↓ 6 callersFunction_normalize_domain
(domain: str)
src/web/routes/tasks.py:26
↓ 6 callersFunction_normalize_proxy_value
(proxy: Optional[str])
src/web/routes/payment.py:142
↓ 6 callersFunction_normalize_subscription_input
(value: Optional[str])
src/web/routes/accounts.py:541
↓ 6 callersFunction_request_json_with_deactivated
( url: str, headers: Dict[str, str], proxy: Optional[str], source: str, )
src/core/openai/payment.py:63
↓ 6 callersFunction_request_once
(use_proxy: bool)
src/core/system_selfcheck.py:169
↓ 6 callersFunction_resolve_account_device_id
兼容解析账号 device id。 历史模型未包含 device_id 字段,需从 cookies/extra_data 兜底读取。
src/web/routes/payment.py:236
↓ 6 callersMethod_select_workspace
选择 Workspace,并在需要时提交 organization/select。
src/core/register.py:2726
↓ 6 callersMethod_state_from_url
(self, url, method="GET")
src/core/anyauto/chatgpt_client.py:213
↓ 6 callersFunction_timestamp
()
src/core/auto_registration.py:27
↓ 6 callersMethod_warmup_chatgpt_session
仅预热 chatgpt 首页,避免提前消费一次性 continue_url。
src/core/register.py:976
↓ 6 callersFunctionbuild_token_completeness_metadata
构建统一的 token 完整度元数据。
src/core/register.py:50
↓ 6 callersFunctionconnectBatchWebSocket
(batchId)
static/js/app.js:2372
↓ 6 callersMethodcreate_account
完成账号创建(提交姓名和生日) Args: first_name: 名 last_name: 姓 birthdate: 生日 (YYYY-MM-DD)
src/core/anyauto/chatgpt_client.py:702
↓ 6 callersMethodcreate_tables
创建所有表
src/database/session.py:153
↓ 6 callersFunctiongetBillingTemplates
()
static/js/payment.js:762
↓ 6 callersFunctiongetServiceTypeText
(type)
static/js/utils.js:690
↓ 6 callersFunctionget_scheduled_registration_job_by_uuid
鎸?UUID 鑾峰彇璁″垝娉ㄥ唽浠诲姟
src/database/crud.py:990
↓ 6 callersFunctionhandleConcurrencyModeChange
(selectEl, hintEl, intervalGroupEl)
static/js/app.js:667
↓ 6 callersMethodhas_oauth
是否支持 OAuth2
src/services/outlook_legacy_mail.py:76
↓ 6 callersMethodis_batch_cancelled
检查批量任务是否已取消
src/web/task_manager.py:334
↓ 6 callersFunctionloadAutoQuickRefreshSettings
(options = {})
static/js/accounts.js:527
↓ 6 callersFunctionloadOutlookServices
()
static/js/email_services.js:247
↓ 6 callersFunctionloadScheduledJobs
()
static/js/app.js:922
↓ 6 callersFunctionnormalize_email_service_config
兼容历史配置字段,避免不同入口写入的键名不一致。
src/web/routes/email.py:104
↓ 6 callersMethodoptions
发送 OPTIONS 请求
src/core/http_client.py:167
↓ 6 callersFunctionrenderSelectAllBanner
()
static/js/accounts.js:902
↓ 6 callersMethodrequest
(path, options = {})
static/js/utils.js:279
↓ 6 callersFunctionscheduled_job_to_response
转换计划任务模型为响应
src/web/routes/registration.py:427
↓ 6 callersMethodupdate_domain_task
(self, domain: str, task_id: str, **fields)
src/web/task_manager.py:519
↓ 5 callersFunction_apply_status_filter
统一状态筛选: - failed/invalid 视为“无效账号集合”(failed + expired + banned) - 其他值按精确状态筛选
src/web/routes/accounts.py:91
↓ 5 callersFunction_build_proxies
(proxy: Optional[str])
src/core/openai/payment.py:47
← previousnext →101–200 of 2,218, ranked by callers