MCPcopy Create free account

hub / github.com/AvenalJ/AntigravityMobile / functions

Functions252 in github.com/AvenalJ/AntigravityMobile

↓ 30 callersFunctionemitEvent
(type, message)
src/http-server.mjs:50
↓ 22 callersFunctionlog
(emoji, message)
src/launcher.mjs:50
↓ 21 callersFunctionauthFetch
(url, options = {})
public/js/api.js:18
↓ 21 callersFunctionshowToast
(message, type = 'info')
public/js/chat-live.js:246
↓ 18 callersFunctionlogAction
* Log a supervisor action
src/supervisor-service.mjs:237
↓ 16 callersFunctionfindEditorTarget
()
src/cdp-client.mjs:99
↓ 13 callersFunctionbroadcast
(event, data)
src/http-server.mjs:412
↓ 13 callersFunctionsvgIcon
(name, size)
public/js/icons.js:5
↓ 12 callersFunctioncall
(method, params = {})
src/cdp-client.mjs:748
↓ 10 callersFunctionconnectToTarget
(target)
src/cdp-client.mjs:131
↓ 6 callersFunctionescapeHtml
(text)
public/js/assist.js:46
↓ 6 callersFunctionisAuthorized
* Check if a message is from the authorized chat
src/telegram-bot.mjs:338
↓ 5 callersFunctioncheckRateLimit
* Check rate limit for a chat. Returns true if allowed, false if throttled. * Sends a warning message on first throttle within the window.
src/telegram-bot.mjs:56
↓ 5 callersFunctionhashPin
(pin)
src/http-server.mjs:110
↓ 5 callersFunctionlogSection
(title)
src/launcher.mjs:54
↓ 5 callersFunctionrefreshTaskQueue
()
public/js/task-queue.js:54
↓ 5 callersFunctionupdateZoom
()
public/js/files.js:365
↓ 4 callersFunctioncloseFilesPanel
()
public/js/files.js:20
↓ 4 callersFunctionfindCascadeContext
* Find the context that contains #cascade (the chat element)
src/chat-stream.mjs:146
↓ 4 callersFunctionpathStartsWith
(path, prefix)
src/http-server.mjs:310
↓ 4 callersFunctionsetTheme
(theme)
public/js/theme.js:5
↓ 4 callersFunctionswitchPanel
(panel, sourceSelector)
public/js/navigation.js:22
↓ 4 callersFunctiontrackMetric
(type)
src/http-server.mjs:86
↓ 3 callersFunctionareInjectsDisabled
* Check if injects are disabled via config
src/supervisor-service.mjs:257
↓ 3 callersFunctionbuildInlinedHtml
()
src/http-server.mjs:445
↓ 3 callersFunctioncaptureChat
* Capture the chat HTML + CSS from #cascade * Returns raw HTML with CSS to preserve exact IDE styling
src/chat-stream.mjs:194
↓ 3 callersFunctioncloseAllDropdowns
()
public/js/chat-live.js:65
↓ 3 callersFunctionescapeMarkdown
* Escape Markdown v1 special characters for Telegram * Only _ * ` [ need escaping in parse_mode: 'Markdown'
src/telegram-bot.mjs:454
↓ 3 callersFunctionescapeQuotes
(str)
public/js/files.js:109
↓ 3 callersFunctionformatAssistMarkdown
(text)
public/js/assist.js:52
↓ 3 callersFunctiongetAppKnowledge
* Build comprehensive app knowledge from live config
src/supervisor-service.mjs:67
↓ 3 callersFunctionhideLoginScreen
()
public/js/api.js:80
↓ 3 callersFunctionloadConfig
()
src/config.mjs:90
↓ 3 callersFunctionloadFiles
(path = null)
public/js/files.js:36
↓ 3 callersFunctionpathEquals
(path1, path2)
src/http-server.mjs:316
↓ 3 callersFunctionreadProjectFile
(filePath)
src/supervisor-service.mjs:1095
↓ 3 callersFunctionsaveConfig
()
src/config.mjs:116
↓ 3 callersFunctionsaveMessages
()
src/http-server.mjs:388
↓ 3 callersFunctionupdateStatus
(connected)
public/js/navigation.js:5
↓ 2 callersFunctionaddChatMessage
(msg, animate = true)
public/js/chat.js:5
↓ 2 callersFunctioncancelEditing
()
public/js/files.js:403
↓ 2 callersFunctioncloseImageOverlay
()
public/js/files.js:276
↓ 2 callersFunctionconnectCDP
* Connect to CDP and track execution contexts
src/chat-stream.mjs:95
↓ 2 callersFunctiondeepMerge
* Deep merge source into target (target values are overwritten by source)
src/config.mjs:74
↓ 2 callersFunctiondetectError
(text)
src/supervisor-service.mjs:923
↓ 2 callersFunctiondiscoverPort
* Auto-discover the active CDP port by scanning known ports. * Caches the result so subsequent calls are instant.
src/cdp-client.mjs:18
↓ 2 callersFunctionescapeHtml
(text)
public/js/chat-live.js:239
↓ 2 callersFunctionfindLanguageServer
* Scan running processes to find Antigravity language server * and extract port + CSRF token from command line
src/quota-service.mjs:36
↓ 2 callersFunctionfindTargets
* Find CDP workbench targets * If a preferred workspace is configured, filters to that workspace's window
src/chat-stream.mjs:53
↓ 2 callersFunctionfindViaCommand
(cmd)
src/launcher.mjs:76
↓ 2 callersFunctionformatTime
(ts)
public/js/chat-live.js:235
↓ 2 callersFunctiongetCdpUrl
()
src/cdp-client.mjs:36
↓ 2 callersFunctiongetDistance
(touch1, touch2)
public/js/files.js:347
↓ 2 callersFunctiongetProjectRoot
()
src/supervisor-service.mjs:1089
↓ 2 callersFunctionlistProjectDir
(dirPath)
src/supervisor-service.mjs:1109
↓ 2 callersFunctionloadAssistChatHistory
()
public/js/assist.js:5
↓ 2 callersFunctionloadAssistStatusBadge
()
public/js/assist.js:163
↓ 2 callersFunctionloadSessionHistory
()
src/supervisor-service.mjs:1182
↓ 2 callersFunctionloadSessions
()
src/supervisor-service.mjs:1134
↓ 2 callersFunctionquestion
(q)
src/http-server.mjs:149
↓ 2 callersFunctionrecordAction
* Record an action for rate limiting
src/supervisor-service.mjs:230
↓ 2 callersFunctionrenderAssistMessage
(msg)
public/js/assist.js:23
↓ 2 callersFunctionrenderChat
(animate = true)
public/js/chat.js:46
↓ 2 callersFunctionshowLoginScreen
()
public/js/api.js:76
↓ 2 callersFunctionstartScreenshotScheduler
()
src/http-server.mjs:286
↓ 2 callersFunctionstopScreenshotScheduler
()
src/http-server.mjs:304
↓ 2 callersFunctionstopWatching
()
src/http-server.mjs:359
↓ 2 callersFunctionwaitForCDP
(port, timeout = 10000)
src/launcher.mjs:151
↓ 1 callersFunctionapiRequest
* Make API request to the language server
src/quota-service.mjs:183
↓ 1 callersFunctionapplyMobileUISettings
()
public/js/files.js:449
↓ 1 callersFunctionattachApprovalHandlers
(container)
public/js/chat-live.js:218
↓ 1 callersFunctionattachInteractiveHandlers
(container)
public/js/chat-live.js:149
↓ 1 callersFunctionattemptRecovery
(errorContext, chatText)
src/supervisor-service.mjs:932
↓ 1 callersFunctionbuildProgressBar
* Build a text-based progress bar for Telegram * @param {number} percent - 0 to 100 * @returns {string}
src/telegram-bot.mjs:444
↓ 1 callersFunctionbuildSmartHistory
* Build smart conversation history: summarize older messages, keep recent ones. * When history grows beyond SUMMARIZE_THRESHOLD, older messages are c
src/supervisor-service.mjs:845
↓ 1 callersFunctionbuildSystemPrompt
* Build the system prompt that gives the supervisor full knowledge of the app
src/supervisor-service.mjs:114
↓ 1 callersFunctioncall
(method, params)
src/chat-stream.mjs:109
↓ 1 callersFunctioncheckAndNotify
* Check captured chat HTML for state changes, auto-accept commands, and send Telegram notifications. * Only triggers on transitions (e.g., first erro
src/chat-stream.mjs:540
↓ 1 callersFunctioncheckAuth
()
public/js/api.js:47
↓ 1 callersFunctioncheckErrorDialogs
* Check for full-page error dialogs (modal overlays outside #cascade). * These include "Agent terminated due to error", "Model quota reached", etc.
src/chat-stream.mjs:660
↓ 1 callersFunctioncheckLoginRateLimit
(ip)
src/http-server.mjs:515
↓ 1 callersFunctioncheckRateLimit
* Check rate limiting
src/supervisor-service.mjs:213
↓ 1 callersFunctioncheckTaskCompletion
(chatText)
src/supervisor-service.mjs:1027
↓ 1 callersFunctionclearLoginAttempts
(ip)
src/http-server.mjs:538
↓ 1 callersFunctionclickElementByXPath
(xpath)
src/cdp-client.mjs:1593
↓ 1 callersFunctioncloseFileViewer
()
public/js/files.js:376
↓ 1 callersFunctionconnectWebSocket
()
public/js/websocket.js:5
↓ 1 callersFunctionexecuteAction
* Execute a parsed action * In suggestMode, inject/click actions are queued for human approval
src/supervisor-service.mjs:266
↓ 1 callersFunctionextractFromHtml
* Extract plain text and buttons from chat HTML
src/supervisor-service.mjs:171
↓ 1 callersFunctionfetchLiveChat
()
public/js/chat-live.js:267
↓ 1 callersFunctionfindAntigravityPath
()
src/launcher.mjs:60
↓ 1 callersFunctionformatModelName
(name)
public/js/settings.js:151
↓ 1 callersFunctionformatResetTime
* Calculate remaining time string from reset timestamp
src/quota-service.mjs:242
↓ 1 callersFunctionformatSize
(bytes)
public/js/files.js:102
↓ 1 callersFunctiongenerateSessionToken
()
src/http-server.mjs:114
↓ 1 callersFunctiongetBestIP
(ipEntries)
src/launcher.mjs:110
↓ 1 callersFunctiongetDisplayName
(modelId)
src/quota-service.mjs:274
↓ 1 callersFunctiongetFileIcon
(item)
public/js/files.js:83
↓ 1 callersFunctiongetLanguage
(ext)
public/js/files.js:120
↓ 1 callersFunctiongetLocalIPs
()
src/launcher.mjs:97
next →1–100 of 252, ranked by callers