Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Roy3838/Observer
/ functions
Functions
1,954 in github.com/Roy3838/Observer
⨍
Functions
1,954
◇
Types & classes
422
↳
Endpoints
41
↓ 1 callers
Function
agentHasCameraSensor
(systemPrompt: string)
app/src/components/AgentCard/agentCapabilities.tsx:206
↓ 1 callers
Function
agentHasScreenSensor
(systemPrompt: string)
app/src/components/AgentCard/agentCapabilities.tsx:199
↓ 1 callers
Function
appendAgentImageMemory
(agentId: string, images: string[])
app/src/utils/agent_database.ts:370
↓ 1 callers
Method
applyPersistedGpuSetting
* Apply persisted GPU setting to the engine * Call this before loading a model
app/src/utils/localLlm/NativeLlmManager.ts:879
↓ 1 callers
Function
awaitGemmaLoaded
Resolve once the Gemma worker reaches `loaded` for `modelId` (or reject on `error`).
app/src/mcp/localModel.ts:35
↓ 1 callers
Function
broadcast
()
app/src/utils/pullModelManager.ts:35
↓ 1 callers
Function
broadcast_command
Internal function to broadcast a command via SSE (called by shortcut system)
app/desktop/src/commands.rs:90
↓ 1 callers
Function
buildImageArg
(ctx: SensorContext)
app/src/utils/agentTemplateManager.ts:22
↓ 1 callers
Function
buildKeyCombo
(event: KeyboardEvent)
app/src/components/SettingsTab.tsx:126
↓ 1 callers
Function
buildKeyCombo
(event: KeyboardEvent)
app/src/desktop/LauncherShell.tsx:83
↓ 1 callers
Method
build_chat_prompt
Build a chat prompt from messages using a simple template
app/plugins/llm_engine/src/lib.rs:632
↓ 1 callers
Function
build_engine
(model: PathBuf, mmproj: PathBuf, n_batch: u32, image_tokens: i32, n_ubatch: u32)
app/plugins/llm_engine/src/multimodal_thinking_repro.rs:90
↓ 1 callers
Method
build_prompt_with_template
Build a prompt using the model's own Jinja chat template via the llama-cpp-2 API. Falls back to `build_chat_prompt` if the model has no embedded templ
app/plugins/llm_engine/src/lib.rs:574
↓ 1 callers
Function
bundled_binary_path
()
app/desktop/src/install_cli.rs:63
↓ 1 callers
Function
calculateDHash
(base64Image: string, label: string)
app/src/utils/change_detector.ts:383
↓ 1 callers
Method
calculateDuration
(iteration: IterationData)
app/src/utils/IterationStore.ts:230
↓ 1 callers
Function
calculateLevenshteinSimilarity
(str1: string, str2: string)
app/src/utils/change_detector.ts:161
↓ 1 callers
Method
cancelGeneration
()
app/src/utils/localLlm/NativeLlmManager.ts:667
↓ 1 callers
Function
captureCameraImage
(_stream: MediaStream, agentId?: string)
app/src/utils/cameraCapture.ts:12
↓ 1 callers
Function
captureFrameAndOCR
(_stream: MediaStream, agentId?: string, streamType?: 'camera' | 'screen')
app/src/utils/screenOCR.ts:21
↓ 1 callers
Function
captureScreenImage
(_stream: MediaStream, agentId?: string, streamType?: 'camera' | 'screen')
app/src/utils/screenCapture.ts:63
↓ 1 callers
Function
captureScreenTauri
* Mobile app (Tauri iOS/Android): trigger the native picker via tauriStreamCapture — the * same singleton the agent loop acquires, so the live stream
app/src/mcp/registry.ts:191
↓ 1 callers
Function
captureScreenWeb
Web / mobile web: getDisplayMedia picker, grab one frame via a hidden <video>.
app/src/mcp/registry.ts:135
↓ 1 callers
Function
capture_monitor_thumbnail
Capture a thumbnail of a monitor
app/plugins/screen-capture/src/targets.rs:181
↓ 1 callers
Function
capture_pixel_dimensions
Determine the capture buffer size in PIXELS for a given content filter. `SCStreamConfiguration` sizes are in pixels, but `SCDisplay`/`SCWindow` frame
app/plugins/screen-capture/src/macos.rs:707
↓ 1 callers
Function
capture_window_thumbnail
Capture a thumbnail of a window
app/plugins/screen-capture/src/targets.rs:189
↓ 1 callers
Function
check
()
app/src/components/LiveStream.tsx:14
↓ 1 callers
Function
check
(s = mgr.getState())
app/src/mcp/localModel.ts:38
↓ 1 callers
Function
checkAll
()
app/src/components/whitelist/shared.ts:85
↓ 1 callers
Function
checkCustomServer
(address: string)
app/src/utils/inferenceServer.ts:73
↓ 1 callers
Method
checkCustomServer
(address: string)
app/src/utils/ModelManager.ts:441
↓ 1 callers
Function
checkDesktop
()
websites/landing/src/AgentDiagram.tsx:380
↓ 1 callers
Method
checkForTeardown
()
app/src/utils/streamManager.ts:584
↓ 1 callers
Function
checkInferenceServer
(address: string)
app/src/utils/inferenceServer.ts:77
↓ 1 callers
Function
checkLocalhost
()
app/src/components/ModelHub.tsx:243
↓ 1 callers
Function
checkMobile
()
app/src/components/AgentCard/ToolsModal.tsx:987
↓ 1 callers
Function
checkNumber
Check a single number against the whitelist API; resolves false on any failure.
app/src/components/whitelist/shared.ts:33
↓ 1 callers
Function
checkOllamaSupport
(address: string)
app/src/components/AvailableModels.tsx:137
↓ 1 callers
Function
checkProStatus
()
app/src/components/ObServerTab.tsx:25
↓ 1 callers
Function
checkProStatus
()
app/src/components/UpgradeModal.tsx:95
↓ 1 callers
Function
checkType
(value: any, type: string | undefined)
app/src/mcp/validate.ts:15
↓ 1 callers
Function
checkVisibilityAndLoad
()
app/src/desktop/ScreenSelectorWindow.tsx:54
↓ 1 callers
Function
checkWhitelistStatus
()
app/src/components/WhitelistModal.tsx:54
↓ 1 callers
Function
check_apple_subscription_by_email
Check if any Auth0 user with this email has an active Apple subscription. Queries Auth0 directly (not relying on JWT which could be stale).
api/auth0_manager.py:326
↓ 1 callers
Function
check_existing_subscription
Check if user has an existing active subscription based on app_metadata. The presence of stripe_subscription_id or apple_original_transactio
api/auth0_manager.py:363
↓ 1 callers
Function
check_provider_seconds_quota
( user_id: str, audio_seconds: float, provider: str, is_pro: bool = False, is_max: bool = False, is_pl
api/quota_manager.py:221
↓ 1 callers
Function
check_whitelist
Check if a phone number is whitelisted for the given channel
cli/src/preflight.rs:15
↓ 1 callers
Method
chunk_count
(&self)
app/mobile/src/audio_ring.rs:441
↓ 1 callers
Function
clampTop
(t: number)
app/src/components/LocalOnboardingTutorial.tsx:174
↓ 1 callers
Function
clampTop
(t: number)
app/src/components/EditAgent/SimpleCreatorTutorial.tsx:70
↓ 1 callers
Method
cleanupCloudMode
()
app/src/utils/whisper/UnifiedTranscriptionService.ts:399
↓ 1 callers
Method
cleanupLocalMode
()
app/src/utils/whisper/UnifiedTranscriptionService.ts:248
↓ 1 callers
Method
cleanupSelfHostedMode
()
app/src/utils/whisper/UnifiedTranscriptionService.ts:480
↓ 1 callers
Function
clearAgentImageMemory
(agentId: string)
app/src/utils/agent_database.ts:377
↓ 1 callers
Method
clearModelParams
(modelName: string)
app/src/utils/ModelManager.ts:633
↓ 1 callers
Method
clearServers
* Clear all inference server addresses
app/src/utils/ModelManager.ts:355
↓ 1 callers
Method
clearSubscriberTranscripts
* Clear all subscriber transcripts for an agent. * Called at the end of each agent loop iteration.
app/src/utils/streamManager.ts:205
↓ 1 callers
Function
close
()
app/src/components/InfoTooltip.tsx:64
↓ 1 callers
Method
commitText
Commit final text (clears interim, adds to committed chunks)
app/src/utils/whisper/TranscriptionSubscriber.ts:32
↓ 1 callers
Function
compareHashes
(hash1: string, hash2: string)
app/src/utils/change_detector.ts:416
↓ 1 callers
Function
compareImages
* Compares images based on the currently selected detection mode. * Returns comparison result with metadata for ALL image pairs for UI display.
app/src/utils/change_detector.ts:277
↓ 1 callers
Function
compareImagesByPixelDifference
* Compares two images pixel by pixel for exact differences. * Returns result with similarity value for metadata.
app/src/utils/change_detector.ts:207
↓ 1 callers
Function
compareText
(text1: string, text2: string)
app/src/utils/change_detector.ts:156
↓ 1 callers
Function
completePendingUpload
(upload: NonNullable<typeof pendingUpload>)
app/src/components/CommunityTab.tsx:354
↓ 1 callers
Function
computeRMS
(samples: Float32Array)
app/src/utils/audio/pcmUtils.ts:233
↓ 1 callers
Method
connectSSE
()
app/src/utils/commandSSE.ts:67
↓ 1 callers
Function
convertToOpenAIFormat
* Convert native image format to OpenAI format for external APIs. * Native: { type: 'image', image: 'data:...' } * OpenAI: { type: 'image_url', imag
app/src/utils/sendApi.ts:283
↓ 1 callers
Function
copyToClipboard
(text: string, type: 'sms' | 'whatsapp')
app/src/components/WhitelistModal.tsx:40
↓ 1 callers
Function
countIterationImages
Count images attached to an iteration without surfacing any base64 payloads.
app/src/mcp/registry.ts:50
↓ 1 callers
Function
createLoggerDecorator
(source: string)
app/src/utils/logging.ts:350
↓ 1 callers
Method
createMockCameraStream
()
app/src/utils/browserStreamCapture.ts:34
↓ 1 callers
Method
createMockCameraStream
()
app/src/utils/tauriStreamCapture.ts:179
↓ 1 callers
Function
createPCMAudioCapture
()
app/src/utils/audio/PCMAudioCapture.ts:177
↓ 1 callers
Method
createPersistentVideoElement
* Create a persistent video element that stays attached to a stream. * Waits for the video to be fully ready (first frame rendered) before resolvin
app/src/utils/streamManager.ts:328
↓ 1 callers
Method
createRecorderWithFallback
(stream: MediaStream, type: RecordableStreamType)
app/src/utils/recordingManager.ts:213
↓ 1 callers
Function
createToolHighlightExtension
(toolCalls: ToolCall[], onToolClick: (call: ToolCall, event?: MouseEvent) => void)
app/src/components/AgentCard/ToolsModal.tsx:610
↓ 1 callers
Function
createWavBlob
(samples: Float32Array, sampleRate: number = PCM_SAMPLE_RATE)
app/src/utils/audio/pcmUtils.ts:89
↓ 1 callers
Method
default
()
app/desktop/src/shortcuts.rs:15
↓ 1 callers
Function
deleteAgent
(agentId: string)
app/src/utils/agent_database.ts:408
↓ 1 callers
Function
deleteMemory
(memoryId: string)
app/src/utils/agent_database.ts:382
↓ 1 callers
Function
deleteRecording
(id: string)
app/src/utils/recordingsDB.ts:69
↓ 1 callers
Function
delete_user
Permanently deletes a user from Auth0. Args: user_id: Auth0 user ID Returns: True if deletion was successful, False oth
api/auth0_manager.py:233
↓ 1 callers
Method
destroy
Cleanup (call when agent stops)
app/src/utils/whisper/TranscriptionSubscriber.ts:38
↓ 1 callers
Function
detectAgentCapabilities
(systemPrompt: string, code: string, hostingContext?: 'official-web' | 'self-hosted' | 'tauri')
app/src/components/AgentCard/agentCapabilities.tsx:177
↓ 1 callers
Function
detectAgentSensors
(systemPrompt: string)
app/src/components/AgentCard/agentCapabilities.tsx:123
↓ 1 callers
Function
detectAgentTools
(code: string, hostingContext?: 'official-web' | 'self-hosted' | 'tauri')
app/src/components/AgentCard/agentCapabilities.tsx:143
↓ 1 callers
Function
detectPartialAgentTyping
(text: string, cursorPosition: number)
app/src/utils/agentParser.ts:355
↓ 1 callers
Function
detectSensitiveFunctions
(code: string)
app/src/utils/code_sanitizer.ts:42
↓ 1 callers
Function
detectSignificantChange
( agentId: string, currentData: PreProcessorResult )
app/src/utils/change_detector.ts:84
↓ 1 callers
Method
discardPartialProjector
* Recover from a cancelled projector download: unassign the projector * from the model and delete its .part file from disk. Called from the UI *
app/src/utils/localLlm/NativeLlmManager.ts:126
↓ 1 callers
Method
dispatchWindowEventIfNeeded
* Dispatch window events based on logType - unified event system * Logger is the single source of truth; events are notifications
app/src/utils/logging.ts:208
↓ 1 callers
Method
display_name
(&self)
cli/src/config.rs:19
↓ 1 callers
Function
downloadAgent
(agentId: string)
app/src/utils/agent_database.ts:568
↓ 1 callers
Function
downloadDefaultLocalModel
()
app/src/mcp/localModel.ts:105
↓ 1 callers
Function
downloadFile
(url: string)
websites/landing/src/DownloadsSection.tsx:128
↓ 1 callers
Function
downloadLlamaCpp
Desktop path: download the gguf + vision projector, assign it, then load.
app/src/mcp/localModel.ts:68
↓ 1 callers
Function
downloadTransformers
Browser path: transformers.js download+load is a single atomic call.
app/src/mcp/localModel.ts:49
↓ 1 callers
Function
draw
()
app/src/components/shared/AudioTranscriptionVisualizer.tsx:52
↓ 1 callers
Method
drawPieChart
( ctx: CanvasRenderingContext2D, cx: number, cy: number, radius: number, progress: number,
app/src/utils/streamManager.ts:986
↓ 1 callers
Method
drawPipOverlay
(ctx: CanvasRenderingContext2D, width: number, height: number)
app/src/utils/streamManager.ts:760
← previous
next →
401–500 of 1,954, ranked by callers