MCPcopy Create free account

hub / github.com/asz798838958/FrciblyK12 / functions

Functions4,268 in github.com/asz798838958/FrciblyK12

↓ 3 callersMethodmark_send_failed
(self, reason: str = "")
platforms/chatgpt/browser_get_rt.py:597
↓ 3 callersFunctionoauth_provider_label
(provider: str)
core/oauth_browser.py:32
↓ 3 callersMethodpages
(self)
core/oauth_browser.py:232
↓ 3 callersFunctionparse_current_user_response
(content: bytes)
platforms/windsurf/core.py:216
↓ 3 callersFunctionparse_jwt_payload
(token: str | None)
platforms/chatgpt/cpa_session.py:34
↓ 3 callersFunctionparse_local_ms_pool_rows
(text: str)
core/local_ms_mailbox.py:142
↓ 3 callersFunctionparse_phone_bind_lines
(raw: str)
application/phone_binding.py:35
↓ 3 callersFunctionparse_plan_status_response
(content: bytes)
platforms/windsurf/core.py:239
↓ 3 callersFunctionparse_subscribe_to_plan_response
(content: bytes)
platforms/windsurf/core.py:270
↓ 3 callersFunctionparse_workspace_ids
(raw: Any)
platforms/chatgpt/workspace_join.py:16
↓ 3 callersFunctionpickOAuthExecutor
( supportedExecutors: string[], preferredExecutor: string, reusableBrowser: boolean, )
frontend/src/lib/registration.ts:16
↓ 3 callersMethodpost_auth
(self, auth_token: str)
platforms/windsurf/core.py:536
↓ 3 callersMethodprime
快照当前最新短信时间作为基线(拿号后、等码前调一次)。
platforms/gopay/sms_channel.py:504
↓ 3 callersFunctionpushEvent
(payload: any)
frontend/src/components/tasks/TaskLogPanel.tsx:70
↓ 3 callersFunctionread_current_codex_account
()
platforms/chatgpt/switch.py:247
↓ 3 callersFunctionread_current_cursor_account
读取当前 Cursor IDE 正在使用的账号 token
platforms/cursor/switch.py:196
↓ 3 callersFunctionread_current_kiro_account
读取当前 Kiro IDE 正在使用的账号 token
platforms/kiro/switch.py:444
↓ 3 callersMethodrefresh_access_token
(self, refresh_token: str, *, referer: str | None = None)
platforms/anything/core.py:486
↓ 3 callersMethodrefresh_account
刷新账号的 Token 优先级: 1. Session Token 刷新 2. OAuth Refresh Token 刷新 Args: account: 账号对象 Ret
platforms/chatgpt/token_refresh.py:208
↓ 3 callersFunctionreload
()
frontend/src/pages/GoPayGptPlus.tsx:148
↓ 3 callersFunctionrenderStatusGroup
(title: string, values: Record<string, number> | undefined, emptyCopy = t('dashboard.noData'))
frontend/src/pages/Dashboard.tsx:69
↓ 3 callersMethodreport_fail
(self, url: str)
core/proxy_pool.py:62
↓ 3 callersMethodreport_success
(self, activation_id: str)
tests/test_sms_provider.py:107
↓ 3 callersMethodreport_success
(self)
platforms/chatgpt/browser_get_rt.py:608
↓ 3 callersMethodrequest_resend_sms
(self, activation_id: str)
core/base_sms.py:838
↓ 3 callersMethodrun
(self)
tests/test_chatgpt_protocol_mailbox_fallback.py:77
↓ 3 callersFunctionrun_workspace_join_flow
( page, session_info: dict[str, Any], *, mailbox, mailbox_account: MailboxAccount | None,
platforms/chatgpt/workspace_join.py:330
↓ 3 callersMethodsave
( self, *, setting_id: int | None, provider_type: str, provider_key: s
infrastructure/provider_settings_repository.py:109
↓ 3 callersFunctionsetAuthToken
(token: string)
frontend/src/lib/utils.ts:14
↓ 3 callersMethodset_capabilities
(self, data: dict)
core/db.py:225
↓ 3 callersMethodset_result
(self, data: dict)
core/db.py:269
↓ 3 callersMethodset_user_platform_access
(self, user_id: int, platform_codes: list[str])
customer_portal_api/app/services/portal.py:342
↓ 3 callersFunctionstart
()
services/solver_manager.py:73
↓ 3 callersMethodstep4_trae_login
(self)
platforms/trae/core.py:57
↓ 3 callersMethodstep5_get_token
(self)
platforms/trae/core.py:64
↓ 3 callersMethodstep7_create_order
(self, token: str)
platforms/trae/core.py:73
↓ 3 callersMethodsubscribe_to_plan
( self, session_token: str, *, account_id: str = "", org_id: str = "",
platforms/windsurf/core.py:594
↓ 3 callersFunctiontoggle
(name: string, field: string, value: string)
frontend/src/components/settings/AdvancedSettings.tsx:89
↓ 3 callersFunctiontoggle
(name: string, field: string, value: string)
frontend/src/pages/Settings.tsx:145
↓ 3 callersFunctionupdateProviderSetting
(providerType: ProviderType, providerKey: string, updater: (item: ProviderSetting) => ProviderSetting)
frontend/src/pages/Settings.tsx:1062
↓ 3 callersMethodwait_for_cookie_value
( self, names: Iterable[str], *, timeout: int = 300, domain_substrings
core/oauth_browser.py:343
↓ 3 callersMethodwait_for_function
(self, _script, **_kwargs)
tests/test_chatgpt_cpa_session.py:206
↓ 3 callersMethodwait_for_link
等待并返回验证链接。默认由具体 provider 自行实现。
core/base_mailbox.py:45
↓ 3 callersFunctionwithLoading
(key: string, fn: () => Promise<void>)
frontend/src/components/settings/ProviderCards.tsx:372
↓ 3 callersFunctionworkspace_join_enabled
(extra: dict[str, Any] | None)
platforms/chatgpt/workspace_join.py:37
↓ 2 callersMethod__exit__
(self, exc_type, exc, tb)
platforms/_bitbrowser.py:485
↓ 2 callersFunction__getattr__
(name: str)
core/proxy_providers.py:40
↓ 2 callersMethod__init__
(self, page)
tests/test_chatgpt_payment_link.py:581
↓ 2 callersFunction_about_you_input_hints
(entry: dict)
platforms/chatgpt/browser_register.py:1436
↓ 2 callersFunction_accept_checkout_terms
(page)
platforms/chatgpt/payment.py:2153
↓ 2 callersMethod_accept_cookies_if_present
(page: Page)
platforms/windsurf/browser_register.py:1873
↓ 2 callersMethod_add_mouse_event_patch
(page: Page)
platforms/windsurf/browser_register.py:1890
↓ 2 callersMethod_admin_post_json
(self, path: str, body: dict[str, Any])
core/outlook_email_mailbox.py:250
↓ 2 callersFunction_advance_paypal_review_if_needed
( page, *, timeout_ms: int, log: Callable[[str], None], cancel_check: Callable[[], bool] |
platforms/chatgpt/payment.py:2845
↓ 2 callersFunction_advance_to_email_verification
(page, btn_selectors: list[str], log_fn=print, timeout: int = 40)
platforms/openblocklabs/browser_register.py:393
↓ 2 callersFunction_any_locator_visible
(page, factories)
platforms/chatgpt/payment.py:3277
↓ 2 callersFunction_arm_autocomplete_suppressor_on_navigations
同 ``_arm_paypal_captcha_stripper_on_navigations`` 的范式,把 Stripe 地址 autocomplete 浮层抑制器装成 init_script。 Stripe hosted checkout 的 ``.AddressAutoco
platforms/chatgpt/payment.py:3706
↓ 2 callersFunction_arm_paypal_captcha_stripper_on_navigations
**Content-script 等价物**:用 ``page.add_init_script`` 让 stripper 在每个 页面 navigate **之前**自动注入——比 ``page.evaluate`` 主动调用更早,赶在 PayPal 自家脚本加载 captcha o
platforms/chatgpt/payment.py:3682
↓ 2 callersFunction_atomic_write
原子写入:先写临时文件,再 rename
platforms/kiro/switch.py:65
↓ 2 callersMethod_available_entry
(self)
core/local_ms_mailbox.py:288
↓ 2 callersFunction_b64url_decode
(value: str)
customer_portal_api/app/security.py:21
↓ 2 callersFunction_base64url_json
(value: dict[str, Any])
platforms/chatgpt/cpa_session.py:29
↓ 2 callersFunction_billing_required_missing
返回"页面上存在该输入框、地址里也有值、但当前仍为空"的字段名。 点击订阅前的填写完整性校验用:只把"该填却没填上"的字段算缺失。地址里 没值的字段、或页面上压根没有的输入框(如 GoPay 印尼渠道没有 email/phone 框),都不算缺失,避免误判导致永远重填不完整
platforms/chatgpt/payment.py:2077
↓ 2 callersFunction_bool_value
(value: Any)
platforms/chatgpt/stripe_http.py:426
↓ 2 callersFunction_build_camoufox_proxy
(proxy: Optional[str])
platforms/chatgpt/payment.py:693
↓ 2 callersFunction_build_credential_updates
( credentials: dict | None, )
infrastructure/accounts_repository.py:49
↓ 2 callersFunction_build_multipart
(fields: list, boundary: str = "----WebKitFormBoundaryPyAPI")
platforms/openblocklabs/core.py:47
↓ 2 callersFunction_build_payment_sms_callbacks
按接码渠道返回 ``(wait_otp, sms_done)`` 两个回调。 - herosms / smsbower:SMS-Activate 风格,同 aid 内 ``setStatus=3`` 让平台准备下一条 SMS,再阻塞 ``getStatus`` 拿码;成功后 `
application/gopay_pay_chatgpt.py:987
↓ 2 callersFunction_build_rebind_otp_callback
买一个换绑用的新印尼号,返回 ``(new_phone, wait_otp, finish, cancel, meta)``。 **换绑渠道独立于注册渠道**:注册可能用 smsapi(固定号,没法买一次性号), 换绑必须走能买一次性号的渠道(herosms / smsbower,
application/gopay_pay_chatgpt.py:460
↓ 2 callersMethod_build_smsapi
(self)
platforms/chatgpt/browser_get_rt.py:682
↓ 2 callersMethod_build_smspool
(self)
platforms/chatgpt/browser_get_rt.py:664
↓ 2 callersFunction_build_summary_updates
( overview: dict | None, *, cashier_url: str | None = None, region: str | None = None, tri
infrastructure/accounts_repository.py:32
↓ 2 callersMethod_cache_identity
(self, service: str, country: str)
core/base_sms.py:581
↓ 2 callersFunction_calling_code_from_e164
从 E.164 解析 ``(calling_code, iso2, local_number)``。 用最长前缀匹配 ``_E164_CALLING_CODES``,避免 ``81``(日本)被 ``8`` / ``1`` 类短码误吞。无法识别国家码时返回 ``("", "", 全
platforms/chatgpt/payment_protocol.py:984
↓ 2 callersFunction_canonical_sms_event_fields
(event_fields: dict | None)
core/base_sms.py:255
↓ 2 callersFunction_capture_context_pages
从 page 拿到真正的 Playwright BrowserContext 和它的所有 page。 注意:抓包传进来的是业务 page,``page.context`` 才是真正的 Playwright BrowserContext(带 ``.pages`` / ``.close
platforms/chatgpt/payment.py:8077
↓ 2 callersFunction_chatgpt_session_result_from_text
(text: str, page, cookies_dict: dict, log)
platforms/chatgpt/browser_register.py:1736
↓ 2 callersFunction_chromium_utc
(dt: datetime)
platforms/chatgpt/switch.py:40
↓ 2 callersFunction_click_button_by_text
(*patterns: str)
platforms/gopay/browser_pay.py:72
↓ 2 callersFunction_click_continue
(page)
platforms/openblocklabs/browser_register.py:205
↓ 2 callersFunction_click_ctf_resend_in_popup
点 PayPal SCA confirm popup 上的 "Resend code" 按钮。 返回 ``True`` 表示点到了;``False`` 表示 popup 上没有可点的 Resend 按钮 (或 popup 已不可见)。 选择器优先级:dialog scop
platforms/chatgpt/payment.py:6267
↓ 2 callersFunction_click_dom_target
(page, target: dict[str, Any], *, label: str, log=None)
platforms/chatgpt/cpa_session.py:514
↓ 2 callersFunction_click_passwordless_login_if_available
(page, log, *, context: str)
platforms/chatgpt/browser_register.py:1191
↓ 2 callersFunction_click_security_challenge_control
(page, *, label: str)
platforms/chatgpt/payment.py:1189
↓ 2 callersFunction_click_sms_switch
找并点「发送/改用 SMS 验证码」的可点元素(button 或 link)。 倒计时结束后才出现,文案大概率含 "SMS"(印尼语如 "Kirim lewat SMS" / "Kirim kode lewat SMS" / "Gunakan SMS"),所以按"可
platforms/gopay/browser_pay.py:107
↓ 2 callersFunction_click_subscribe_button_burst
( page, *, checkout_url: str, log: Callable[[str], None], clicks: int = 3, delay_ms: i
platforms/chatgpt/payment.py:2221
↓ 2 callersFunction_click_turnstile_continue
(page: Page, log_fn: Callable[[str], None] = print, *, timeout: int = 12)
platforms/windsurf/browser_register.py:314
↓ 2 callersFunction_click_turnstile_in_iframe
在注册 Camoufox 浏览器里直接找到 Turnstile iframe 并点击 checkbox。 Turnstile iframe 内部使用 closed Shadow DOM,JS querySelector 无法访问。 改用 bounding box 坐标点击:
platforms/cursor/browser_register.py:280
↓ 2 callersFunction_click_turnstile_in_iframe
(page: Page, log_fn: Callable[[str], None] = print)
platforms/windsurf/browser_register.py:187
↓ 2 callersFunction_click_turnstile_in_iframe
(page, log_fn=print)
platforms/openblocklabs/browser_register.py:104
↓ 2 callersFunction_clip
(value: str, left: int = 12, right: int = 8)
platforms/anything/core.py:185
↓ 2 callersMethod_cloud_mail_domain
(self)
core/base_mailbox.py:1139
↓ 2 callersMethod_cloud_mail_headers
(self)
core/base_mailbox.py:1132
↓ 2 callersMethod_common_headers
(self)
core/base_mailbox.py:971
↓ 2 callersFunction_compact
(text: str)
platforms/chatgpt/payment.py:1396
↓ 2 callersMethod_complete_alipay_checkout
( self, page: Page, *, email: str, billing_name: str, timeout:
platforms/windsurf/browser_register.py:928
↓ 2 callersFunction_complete_ctf_sandbox_flow
( page, *, timeout_ms: int, log: Callable[[str], None], cancel_check: Callable[[], bool] |
platforms/chatgpt/payment.py:6802
↓ 2 callersFunction_complete_oauth_in_browser
在浏览器里完成 OAuth consent 流程,多策略重试点击 Continue。 参考 Chrome 扩展项目的 step9 实现: - consent 页面是一个 <form action="/sign-in-with-chatgpt/.../consent"> -
platforms/chatgpt/browser_register.py:3309
↓ 2 callersMethod_config
(self)
platforms/chatgpt/register.py:283
↓ 2 callersMethod_config
(self)
platforms/chatgpt/browser_register.py:2019
← previousnext →701–800 of 4,268, ranked by callers