MCPcopy Create free account

hub / github.com/Silentely/eSIM-Tools / functions

Functions646 in github.com/Silentely/eSIM-Tools

↓ 1 callersFunctioncreateEdgeLogger
(functionName, requestId)
netlify/edge-functions/bff-proxy.js:15
↓ 1 callersFunctioncreateInstallUI
()
src/js/pwa.js:5
↓ 1 callersFunctioncreateMdLogger
(functionName, requestId)
netlify/edge-functions/markdown-negotiation.js:11
↓ 1 callersFunctioncreateNetlifyBadge
()
src/js/modules/footer.js:46
↓ 1 callersMethodcreateNotification
* 创建通知元素
src/js/modules/notification-manager.js:60
↓ 1 callersFunctioncreateRateLimiter
* Simple in-memory rate limiter
src/js/middleware/validation.js:87
↓ 1 callersMethodcreateTimeoutSignal
* Create an AbortController signal with timeout
src/js/modules/api-service.js:143
↓ 1 callersFunctiond
(t,r)
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callersFunctiond
(t,r)
src/js/modules/qrcode-lib.js:10
↓ 1 callersMethoddelete
(name)
tests/security/bff-proxy.test.js:30
↓ 1 callersMethoddetectEnvironment
* Detect current environment
src/js/modules/app-config.js:21
↓ 1 callersFunctiondetectInitialLocale
()
src/js/modules/i18n.js:18
↓ 1 callersMethoddownloadQRCode
* 下载二维码
src/simyo/js/modules/ui-controller.js:434
↓ 1 callersMethoddownloadQRCode
* 下载二维码
src/giffgaff/js/modules/ui-controller.js:605
↓ 1 callersFunctionensureAccessKey
()
scripts/deploy-prepare.js:9
↓ 1 callersFunctionensureDir
* 确保目录存在
scripts/generate-agent-metadata.js:241
↓ 1 callersFunctionensureDist
()
scripts/deploy-prepare.js:16
↓ 1 callersFunctionensureOutputDir
()
scripts/optimize-images.js:30
↓ 1 callersMethodescapeHtml
* HTML转义
src/js/modules/notification-manager.js:129
↓ 1 callersMethodexecuteRequest
* Execute the actual HTTP request with retry
src/js/modules/api-service.js:66
↓ 1 callersFunctionextractAccessToken
* 尝试提取或获取Access Token
netlify/functions/verify-cookie.js:161
↓ 1 callersMethodextractCallbackUrl
* 提取回调URL * @param {string} text - 输入文本 * @returns {string} 提取的URL或原始文本
src/giffgaff/js/giffgaff-app.js:661
↓ 1 callersFunctionextractMemberId
* 从页面中提取Member ID
netlify/functions/verify-cookie.js:144
↓ 1 callersFunctionfallbackNodeSyntaxCheck
(relPath, content)
scripts/pre-commit-check.js:127
↓ 1 callersMethodfetchConfig
()
src/js/modules/captcha-manager.js:40
↓ 1 callersFunctionflush
* 刷新 Sentry 队列(确保错误发送完成) * @param {number} [timeout=2000] - 超时时间(毫秒) * @returns {Promise<boolean>}
netlify/functions/_shared/sentry.js:171
↓ 1 callersFunctionformatStagedFiles
(stagedFiles)
scripts/pre-commit-check.js:99
↓ 1 callersFunctiongenerateAgentSkillsIndex
* 生成 Agent Skills Discovery Index
scripts/generate-agent-metadata.js:216
↓ 1 callersFunctiongenerateApiCatalog
* 生成 API Catalog (RFC 9727)
scripts/generate-agent-metadata.js:104
↓ 1 callersFunctiongenerateCodeChallenge
(verifier)
src/giffgaff/js/modules/utils.js:25
↓ 1 callersFunctiongenerateCodeVerifier
()
src/giffgaff/js/modules/utils.js:11
↓ 1 callersFunctiongenerateLPA
(activationCode)
src/simyo/js/modules/utils.js:134
↓ 1 callersMethodgenerateLPAString
* 生成LPA字符串和二维码 * @returns {Object} LPA信息
src/simyo/js/modules/esim-service.js:64
↓ 1 callersFunctiongenerateManifest
()
scripts/optimize-images.js:183
↓ 1 callersFunctiongenerateMcpServerCard
* 生成 MCP Server Card (SEP-2127)
scripts/generate-agent-metadata.js:149
↓ 1 callersFunctiongenerateMultipleFormats
(inputPath, filename)
scripts/optimize-images.js:107
↓ 1 callersFunctiongenerateOAuthDiscovery
* 生成 OAuth Authorization Server Metadata (RFC 8414) * Giffgaff 使用外部 OpenID Connect 提供商
scripts/generate-agent-metadata.js:183
↓ 1 callersFunctiongenerateOAuthProtectedResource
* 生成 OAuth Protected Resource Metadata (RFC 9728)
scripts/generate-agent-metadata.js:129
↓ 1 callersMethodgenerateQRCode
* 生成二维码(本地生成优先,后端 Function 降级)
src/simyo/js/modules/ui-controller.js:341
↓ 1 callersMethodgenerateQRCode
* 生成二维码(本地生成优先,后端 Function 降级)
src/giffgaff/js/modules/ui-controller.js:421
↓ 1 callersFunctiongenerateRobotsTxt
* 生成 robots.txt * 包含:标准爬虫规则、AI 爬虫规则、Content-Signal 声明
scripts/generate-agent-metadata.js:32
↓ 1 callersFunctiongenerateSecurityReport
()
scripts/security-check.js:93
↓ 1 callersFunctiongenerateSitemap
* 生成 sitemap.xml
scripts/generate-agent-metadata.js:87
↓ 1 callersFunctiongenerateState
()
src/giffgaff/js/modules/utils.js:36
↓ 1 callersFunctiongenerateThumbnails
(inputPath, filename)
scripts/optimize-images.js:139
↓ 1 callersFunctiongetCorsOrigin
(origin)
server.js:31
↓ 1 callersFunctiongetCurrentLevel
()
netlify/functions/_shared/server-logger.js:39
↓ 1 callersFunctiongetCurrentLocale
()
src/js/modules/i18n.js:211
↓ 1 callersFunctiongetFirstMeaningfulLine
(content)
scripts/prepare-commit-msg.js:13
↓ 1 callersFunctiongetFirstMeaningfulLine
(content)
scripts/commit-msg-lint.js:80
↓ 1 callersMethodgetIcon
* 获取图标类名
src/js/modules/notification-manager.js:116
↓ 1 callersFunctiongetLatestNotification
* 获取最新通知
netlify/functions/notifications.js:58
↓ 1 callersMethodgetMemberInfo
* 获取会员信息
src/giffgaff/js/modules/esim-service.js:19
↓ 1 callersMethodgetMetrics
* Get all recorded metrics
src/js/modules/performance-monitor.js:270
↓ 1 callersFunctiongetProvidedKey
* 提取请求中提供的认证密钥 * @param {Object} event - Netlify event 对象 * @returns {string} 认证密钥
netlify/functions/_shared/middleware.js:47
↓ 1 callersFunctiongetQRCodeLibrary
* 获取本地打包的 QRCode 库实例。 * 库已内联到项目中,无需网络请求。 * @returns {Object} qrcode 工厂函数 * @throws {Error} 库未正确加载时抛出
src/js/modules/qrcode-generator.js:121
↓ 1 callersFunctiongetRelatedFiles
()
scripts/pre-push-check.js:55
↓ 1 callersFunctiongetStagedFiles
()
scripts/pre-commit-check.js:48
↓ 1 callersFunctiongetTouchedProtectedFiles
()
scripts/pre-push-check.js:81
↓ 1 callersFunctiongetTouchedProtectedFiles
* Get the list of protected file paths that currently have staged changes. * @returns {string[]} Array of relative paths for protected files that are
scripts/pre-commit-check.js:63
↓ 1 callersFunctiongetTutorialUrl
()
src/giffgaff/js/modules/utils.js:260
↓ 1 callersFunctionh
()
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callersFunctionh
()
src/js/modules/qrcode-lib.js:10
↓ 1 callersFunctionhandleApiRequest
(request)
src/sw.js:67
↓ 1 callersMethodhandleConfirmInstall
* 处理确认安装
src/simyo/js/simyo-app.js:485
↓ 1 callersMethodhandleCookieExpired
* 处理Cookie过期
src/giffgaff/js/giffgaff-app.js:1244
↓ 1 callersMethodhandleCookieVerify
* 处理Cookie验证
src/giffgaff/js/giffgaff-app.js:766
↓ 1 callersMethodhandleDirectFetchExpand
* 处理直取eSIM卡片展开
src/giffgaff/js/giffgaff-app.js:424
↓ 1 callersFunctionhandleError
* 统一错误处理 * @param {Error} error - 错误对象 * @param {string} context - 错误上下文 * @param {Object} [logger] - 结构化日志实例(可选,优先使用) * @returns {Object} Netlify
netlify/functions/_shared/middleware.js:132
↓ 1 callersMethodhandleGenerateQR
* 处理生成二维码(合并获取eSIM和生成二维码)
src/simyo/js/simyo-app.js:394
↓ 1 callersMethodhandleGetEsim
* 处理获取eSIM
src/simyo/js/simyo-app.js:362
↓ 1 callersMethodhandleGetMember
* 处理获取会员信息
src/giffgaff/js/giffgaff-app.js:919
↓ 1 callersMethodhandleGetToken
* 处理获取Token(issue #66: 增加前置校验 + 分类错误处理)
src/giffgaff/js/giffgaff-app.js:1146
↓ 1 callersMethodhandleManualEsimSave
* 处理手动eSIM信息保存
src/giffgaff/js/giffgaff-app.js:1106
↓ 1 callersMethodhandleOAuthCallback
* 处理OAuth回调
src/giffgaff/js/giffgaff-app.js:723
↓ 1 callersMethodhandleOAuthLogin
* 处理OAuth登录
src/giffgaff/js/giffgaff-app.js:680
↓ 1 callersMethodhandleReserveESim
* 处理预订eSIM
src/giffgaff/js/giffgaff-app.js:980
↓ 1 callersMethodhandleSendMFA
* 处理发送MFA验证码
src/giffgaff/js/giffgaff-app.js:839
↓ 1 callersMethodhandleSessionRestore
* 处理会话恢复
src/simyo/js/simyo-app.js:540
↓ 1 callersMethodhandleSessionRestore
* 处理会话恢复(issue #66: 增加状态一致性降级)
src/giffgaff/js/giffgaff-app.js:1266
↓ 1 callersMethodhandleSmsSend
* 处理SMS发送
src/giffgaff/js/giffgaff-app.js:1021
↓ 1 callersMethodhandleSmsVerify
* 处理SMS验证
src/giffgaff/js/giffgaff-app.js:1052
↓ 1 callersFunctionhandleStaticRequest
(request)
src/sw.js:92
↓ 1 callersMethodhandleVerifyMFA
* 处理验证MFA验证码
src/giffgaff/js/giffgaff-app.js:881
↓ 1 callersMethodhandleVisibilityChange
* 页面可见性变化处理
src/giffgaff/js/modules/cookie-handler.js:161
↓ 1 callersMethodhasShown
* 检查是否已显示过
src/js/modules/notification-service.js:67
↓ 1 callersFunctionhide
()
src/js/pwa.js:62
↓ 1 callersFunctionhtmlToMarkdown
(html)
netlify/edge-functions/markdown-negotiation.js:25
↓ 1 callersMethodinit
()
src/js/modules/captcha-manager.js:16
↓ 1 callersMethodinit
* 初始化通知容器
src/js/modules/notification-manager.js:18
↓ 1 callersMethodinitElements
* 初始化DOM元素引用
src/simyo/js/modules/ui-controller.js:30
↓ 1 callersMethodinitElements
* 初始化DOM元素引用
src/giffgaff/js/modules/ui-controller.js:20
↓ 1 callersMethodinitRecaptcha
()
src/js/modules/captcha-manager.js:60
↓ 1 callersFunctioninitReveal
()
src/simyo/js/reveal-animation.js:7
↓ 1 callersFunctioninitReveal
()
src/giffgaff/js/reveal-animation.js:7
↓ 1 callersFunctioninitSentry
()
src/js/sentry-loader.js:416
↓ 1 callersFunctioninitSentry
* 初始化 Sentry(在 Sentry SDK 加载后调用)
src/js/modules/sentry-init.js:384
↓ 1 callersMethodinitialize
()
src/js/modules/performance-monitor.js:15
↓ 1 callersFunctioninjectFooter
(options = {})
src/js/modules/footer.js:96
↓ 1 callersFunctionisAllowedOrigin
(origin)
server.js:30
← previousnext →301–400 of 646, ranked by callers