Aartiq
Aartiq™
Download
Back to Components

Desktop (Electron)

main

Utility

Main

Lines

9,489

File

main.js

Last Modified

2026-10-08

Exports
Source Path

aartiq-browser/src/main.js

Tags
Node.jsSwiftSwiftUICoreSecurityAISyncAutomationPDFOCRPluginmacOSWindowsLinuxFlutter

Code Analysis

API / Library Usage
tesseract-ocrwebsocket
External Dependencies

No external dependencies

Internal Imports

No internal imports

Key Functions
appendStartupSwitch()configureStartupSwitches()getAuthStorageBackend()canEncryptAuthSession()saveSecureAuthSession()getSecureAuthSession()clearSecureAuthSession()migrateLegacyAuthSession()loadEnvFiles()sleepMs()matchesBlockedHost()getCustomBlockedDomains()applyNetworkSecurityConfig()applyProxyConfigToSession()raycastState()DEFAULT_MAC_NATIVE_UI_PREFERENCES()nativeMacUiState()pythonAvailable()getTopWindow()sendToActiveWindow()getMacNativeUiPreferences()broadcastMacNativeUiPreferences()setMacNativeUiPreferences()nextPreferences()createNativeMacUiSnapshot()startNativeMacUiBridge()messages()options()newBookmark()safeSettings()stopNativeMacUiBridge()appendNativeMacUiMessage()normalizeMacNativePanelMode()normalizeSettingsSection()openSettingsSection()triggerShortcut()getShortcutMap()menuAccelerator()openGuide()openDocumentationPage()registerWindow()toggleMacSidebarWindow()buildApplicationMenu()resolveAppAssetPath()registerAppFileProtocol()resolveAartiqIcon()loadBrandIcon()dataUrlToBuffer()normalizePages()toStyledRuns()templatePalette()map()PDF_TEMPLATES()generateAartiqPDFTemplate()parseMarkdownTables()parseMarkdownToHTML()setupContextMenu()commandMap()checkNetworkStatus()appendToMemory()readMemory()loadLLMCache()saveLLMCache()capabilities()THINKING_LEVEL_BY_MODE()THINKING_BUDGET_BY_LEVEL()resolveReasoningPreferences()buildProviderOptions()baseOptions()result()engineKeys()AiGateway()hideWebview()showWebview()createWindow()forceShowWindow()requestHeaders()_scanDirectoryRecursive()getVaultEncryptionKey()encryptVaultField()decryptVaultField()isEncryptedField()encryptVaultEntry()enc()decryptVaultEntry()dec()nativeKeychain()vaultKeychainAccount()vaultKeychainService()vaultKeychainLabel()addToNativeKeychain()removeFromNativeKeychain()getVaultFilePath()normalizeVaultSite()readVaultEntries()writeVaultEntries()syncAllVaultToNativeKeychain()maskVaultEntry()getVaultEntryLabel()isVaultUnlockStillValid()rememberVaultUnlock()clearVaultUnlock()selectorLooksSensitive()valueMatchesVaultCredential()formNeedsVaultApproval()verifyVaultAccess()ensureVaultApprovalForFormFill()roundedBounds()escapeHtml()mapOcrCoordsToScreenCoords()findAndClickTextInternal()llmProviders()llmConfigs()getCachedProviderCatalogs()saveCachedProviderCatalog()getConfiguredProviderApiKey()getRecommendedProviderModel()getConfiguredProviderModel()getProviderModelCatalog()mask()webSearchSettings()aiSettings()uiSettings()permissionsSettings()allCategories()KEY_MAP()applied()shouldBlock()sanitizeText()extractElements()attributes()query()walk()defaultOptions()dialogOptions()explainCommand()explanations()analyzeCommandRisk()generateShellApprovalQR()generateHighRiskPairingQR()checkAiActionPermission()streamPromptToMobile()streamEvent()installExtensionLocally()deriveKey()aliases()check()emit()prompt()initializeAutomationService()createPopupWindow()selector()value()data()getFiles()captureScreenRegion()T()TARGET_VALUE()reactSetValue()MAX_RETRIES()QUERY()findElement()FIELDS()DELAY()searchText()registerGlobalShortcuts()defaultShortcuts()aartiqConfig()existing()merged()defaultServers()handlerDeps()

Related Components

Browse all components in the Component Inventory

Auto-Generated Documentation

Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js