Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Roy3838/Observer
/ functions
Functions
2,665 in github.com/Roy3838/Observer
⨍
Functions
2,665
◇
Types & classes
549
↳
Endpoints
62
↓ 2 callers
Function
nativeInstalledView
(model: NativeLocalModel, isTutorialTarget = false)
app/src/components/AvailableModels.tsx:575
↓ 2 callers
Method
new_context
Create a fresh context sized for a text or multimodal prompt. Returns it with its n_batch. `fit` = (tokens the prompt needs, largest image chunk) grow
app/plugins/llm_engine/src/lib.rs:580
↓ 2 callers
Function
normalizeContact
(kind: UserInfoKind, value: string)
app/src/utils/contactInfo.ts:62
↓ 2 callers
Function
normalize_code
The canonical code if `text` is one ("Tree Book-shower golden" counts), else None.
api/remote.py:143
↓ 2 callers
Method
notifyListeners
()
app/src/utils/ModelManager.ts:779
↓ 2 callers
Function
notifyRemoteLinked
()
app/src/mcp/remote.ts:33
↓ 2 callers
Function
openSms
(code: string)
app/src/components/whitelist/shared.ts:36
↓ 2 callers
Function
openWhatsApp
(code: string)
app/src/components/whitelist/shared.ts:26
↓ 2 callers
Function
org_limit_key
(org_id: str)
api/quota_manager.py:247
↓ 2 callers
Method
pairingChannelFor
* Which pairing a phone tool's code needs: sendSms pairs by SMS, sendWhatsapp on WhatsApp, * and a call takes either, so it goes by which saved c
app/src/utils/settings.ts:302
↓ 2 callers
Function
parseArguments
(argsString: string)
app/src/components/AgentCard/ToolsModal.tsx:447
↓ 2 callers
Function
parseClassification
(raw: unknown)
app/src/mcp/ontology/schema.ts:80
↓ 2 callers
Function
parseToolCalls
(code: string, channel?: WhitelistChannel)
app/src/components/AgentCard/ToolsModal.tsx:607
↓ 2 callers
Function
parse_target_id
Parse a target ID into its components
app/plugins/screen-capture/src/targets.rs:167
↓ 2 callers
Function
patchReply
(patch: (m: ChatMessage) => ChatMessage)
app/src/components/BenchmarkPanel.tsx:195
↓ 2 callers
Method
pcmCallback
(samples, streamType)
app/src/utils/streamManager.ts:729
↓ 2 callers
Function
performOCR
(imageData: string)
app/src/utils/screenOCR.ts:37
↓ 2 callers
Method
persistSettings
(filename: string)
app/src/utils/localLlm/NativeLlmManager.ts:734
↓ 2 callers
Function
postProcess
( agentId: string, response: string | null, // null when the agent runs a decision model code: str
app/src/utils/post-processor.ts:13
↓ 2 callers
Function
preProcess
(agentId: string, systemPrompt: string, iterationId?: string)
app/src/utils/pre-processor.ts:322
↓ 2 callers
Method
prefill
Evaluate the prompt (and its images, via mtmd) into an empty context, computing logits only for the last prompt token. Leaves `batch` empty. Returns t
app/plugins/llm_engine/src/lib.rs:649
↓ 2 callers
Function
presetFileProgress
(preset: ModelPreset)
app/src/components/AvailableModels.tsx:690
↓ 2 callers
Function
presetFor
(choice: LocalModelChoice, engine: ModelPreset['engine'])
app/src/mcp/localModel.ts:40
↓ 2 callers
Function
prompt
(u: Pick<UseCase, 'when' | 'then'>)
app/src/utils/groundTruth.ts:64
↓ 2 callers
Function
provision_org
Shared by the admin endpoint and payments' partner endpoint. `partner`, when given, is {"id", "account_id", "percent", "months"}: the su
api/orgs.py:368
↓ 2 callers
Method
pushCaptureConfig
* Push the persisted capture quality (max width / JPEG quality / FPS) to the Rust * backend. Called right before each desktop capture starts so the
app/src/utils/tauriStreamCapture.ts:155
↓ 2 callers
Function
pushTool
(id: string, result: ToolResult, name?: string)
app/src/mcp/runner.ts:124
↓ 2 callers
Function
quantLabelOf
(file: string)
app/src/components/AvailableModels.tsx:158
↓ 2 callers
Method
read
Read new frame from the buffer Returns (jpeg_bytes, width, height, timestamp) if new data is available
app/mobile/src/video_frame.rs:163
↓ 2 callers
Method
readAllContacts
()
app/src/utils/settings.ts:212
↓ 2 callers
Function
readsOnlyMemory
(run: Run, agentId: string)
app/e2e/patterns.ts:95
↓ 2 callers
Function
reload
app/e2e/demos/reload_assets/reload.js:34
↓ 2 callers
Function
removeCustomServer
(address: string)
app/src/utils/inferenceServer.ts:61
↓ 2 callers
Function
renderChips
(chips: { icon: React.ElementType; label: string; icons?: React.ElementType[] }[])
websites/landing/src/AgentDiagram.tsx:187
↓ 2 callers
Function
reply
(text: str)
api/messaging.py:800
↓ 2 callers
Function
req
(r: IDBRequest<T>)
app/src/utils/IterationStore.ts:64
↓ 2 callers
Method
requestPermission
(_ invoke: Invoke)
app/mobile/plugins/device-lock/ios/Sources/DeviceLockPlugin/DeviceLockPlugin.swift:36
↓ 2 callers
Function
requestPhoneLockPermission
()
app/src/utils/handlers/utils.ts:944
↓ 2 callers
Function
resolveCrop
( crop: CropConfig, frameWidth: number, frameHeight: number, )
app/src/utils/streamManager.ts:36
↓ 2 callers
Method
restoreIfNeeded
Re-show an unexpired lock, or finish an expired one. Returns true if still locked. */
app/mobile/plugins/device-lock/android/src/main/java/com/plugin/devicelock/DeviceLockController.kt:83
↓ 2 callers
Method
rotatePhoneCode
Mints a fresh SMS or WhatsApp code and overwrites the stored one.
app/src/utils/settings.ts:296
↓ 2 callers
Method
rotateTelegramCode
Mints a fresh Telegram code, e.g. after the chat sent /stop and revoked the old one.
app/src/utils/settings.ts:326
↓ 2 callers
Function
round6
(x: number)
app/src/utils/localLlm/systemOne.ts:395
↓ 2 callers
Function
runRules
(stage: Stage, ctx: RuleContext)
app/src/mcp/ontology/rules.ts:58
↓ 2 callers
Method
saveAndFinishClip
()
app/src/utils/recordingManager.ts:81
↓ 2 callers
Method
saveInstallMap
(map: InstallMap)
app/src/utils/localLlm/GemmaModelManager.ts:320
↓ 2 callers
Function
save_temp_video
Save base64 video to temp storage and return public URL. Args: video_b64: Base64-encoded video data max_size_mb: Maximum allowed
api/messaging.py:264
↓ 2 callers
Function
sealDanglingToolCalls
(wire: WireMessage[])
app/src/mcp/runner.ts:97
↓ 2 callers
Function
send_whatsapp_text
Plain-text (optionally + media) WhatsApp send, for bot replies. No whitelist or quota checks: callers own those. `media_urls` are already-hosted U
api/messaging.py:487
↓ 2 callers
Function
setDHashSimilarityThreshold
(threshold: number)
app/src/utils/change_detector.ts:51
↓ 2 callers
Method
setInterimToSubscribers
(text: string)
app/src/utils/whisper/UnifiedTranscriptionService.ts:174
↓ 2 callers
Method
setNotificationContact
(kind: string, value: string)
app/src/utils/settings.ts:229
↓ 2 callers
Method
setPCMCallback
* Set PCM callback for unified transcription pipeline. * When set, decoded PCM samples (Float32Array @ 16kHz) are passed to this callback * inst
app/src/utils/tauriStreamCapture.ts:441
↓ 2 callers
Function
setPixelSimilarityThreshold
(threshold: number)
app/src/utils/change_detector.ts:67
↓ 2 callers
Method
setPreselectedTarget
Seat a capture target for the next display acquisition (consumed once).
app/src/utils/tauriStreamCapture.ts:136
↓ 2 callers
Function
setSuspiciousSimilarityThreshold
(threshold: number)
app/src/utils/change_detector.ts:59
↓ 2 callers
Function
setTextSimilarityThreshold
(threshold: number)
app/src/utils/change_detector.ts:43
↓ 2 callers
Method
setUseGpu
* Set whether to use GPU acceleration (Metal) * Must be called BEFORE loading a model to take effect. * Setting is persisted to localStorage.
app/src/utils/localLlm/NativeLlmManager.ts:859
↓ 2 callers
Function
set_audio_channel
Store the audio channel from Tauri command
app/plugins/screen-capture/src/android.rs:236
↓ 2 callers
Method
set_audio_channel
Set the audio channel for streaming
app/mobile/src/server.rs:96
↓ 2 callers
Function
set_frame_channel
Store the video channel from Tauri command
app/plugins/screen-capture/src/android.rs:217
↓ 2 callers
Method
set_frame_channel
Set the frame channel for streaming
app/mobile/src/server.rs:90
↓ 2 callers
Function
set_log_emitter
Register a function that forwards log lines to the frontend. Call this once during Tauri setup before any engine activity. `f(level, message)` — level
app/plugins/llm_engine/src/lib.rs:18
↓ 2 callers
Function
setup_logging
Configures logging to output structured JSON. This is called once from api.py at import time.
api/logging_config.py:26
↓ 2 callers
Function
squash
(s: string)
app/src/mcp/ontology/rules.ts:79
↓ 2 callers
Function
stamp
()
app/e2e/demos/reload_assets/reload.js:28
↓ 2 callers
Method
start
( streamOrType: MediaStream | AudioStreamType, streamType?: AudioStreamType )
app/src/utils/whisper/UnifiedTranscriptionService.ts:67
↓ 2 callers
Method
start
* Start capturing system audio. * Audio is passed to Rust via JNI for resampling and channel delivery. */
app/plugins/screen-capture/android/src/main/java/com/plugin/screencapture/AudioCaptureManager.kt:57
↓ 2 callers
Method
startClip
()
app/src/utils/recordingManager.ts:60
↓ 2 callers
Method
startForegroundService
app/plugins/screen-capture/android/src/main/java/com/plugin/screencapture/ScreenCapturePlugin.kt:274
↓ 2 callers
Method
startService
app/mobile/plugins/device-lock/android/src/main/java/com/plugin/devicelock/DeviceLockController.kt:136
↓ 2 callers
Method
startTranscriptionForStream
(type: AudioStreamType, stream: MediaStream)
app/src/utils/streamManager.ts:696
↓ 2 callers
Method
start_capture
(&self)
app/plugins/screen-capture/src/mobile.rs:32
↓ 2 callers
Method
start_video_stream
(&self)
app/plugins/screen-capture/src/mobile.rs:99
↓ 2 callers
Method
stop
* Stop the transcription service
app/src/utils/whisper/UnifiedTranscriptionService.ts:139
↓ 2 callers
Method
stop
* Stop capturing system audio. */
app/plugins/screen-capture/android/src/main/java/com/plugin/screencapture/AudioCaptureManager.kt:159
↓ 2 callers
Method
stopClip
()
app/src/utils/recordingManager.ts:69
↓ 2 callers
Function
stopStatusPip
()
app/src/utils/statusPip.ts:228
↓ 2 callers
Function
strategyOf
(c: AgentClassification)
app/src/mcp/ontology/derive.ts:11
↓ 2 callers
Method
subscriberKey
* Create subscriber key from agentId and stream type
app/src/utils/streamManager.ts:191
↓ 2 callers
Function
sync_org_from_stripe
Reconcile an org record against Stripe. Called from the webhook when the event's customer carries an org_id in its metadata. Stripe is t
api/orgs.py:813
↓ 2 callers
Function
sync_user_from_stripe
Single idempotent function to sync a user's subscription state from Stripe to Auth0. Uses EMAIL as the link between Stripe and Auth0 (not cu
api/payments.py:982
↓ 2 callers
Function
takeCompleteLines
* Split an SSE buffer into COMPLETE lines, leaving any trailing partial line behind. * * A network read is not aligned to line boundaries: a single
app/src/utils/sendApi.ts:93
↓ 2 callers
Function
target_fps
Target frames per second (an upper bound; static frames are dropped by the OS).
app/plugins/screen-capture/src/capture_config.rs:37
↓ 2 callers
Method
teardownDisplayStream
()
app/src/utils/streamManager.ts:610
↓ 2 callers
Method
teardownMicrophoneStream
()
app/src/utils/streamManager.ts:668
↓ 2 callers
Method
teardownScreenAudioStream
()
app/src/utils/streamManager.ts:632
↓ 2 callers
Function
toggleSettings
(id: string)
app/src/components/AvailableModels.tsx:513
↓ 2 callers
Function
toggleTool
(tool: SimpleTool)
app/src/components/EditAgent/SimpleCreatorModal.tsx:413
↓ 2 callers
Method
tokenize_media
Tokenize a prompt with media markers and its images into mtmd chunks.
app/plugins/llm_engine/src/lib.rs:621
↓ 2 callers
Method
transcribeLocalAsync
(audio: Float32Array, chunkId: number)
app/src/utils/whisper/UnifiedTranscriptionService.ts:233
↓ 2 callers
Method
transcribeSelfHostedAsync
(audio: Float32Array, chunkId: number)
app/src/utils/whisper/UnifiedTranscriptionService.ts:445
↓ 2 callers
Function
transformersInstalledView
(model: LocalModelEntry, isTutorialTarget = false)
app/src/components/AvailableModels.tsx:735
↓ 2 callers
Function
tryFetchStatus
(channel: RemoteChannel, code: string, token?: string)
app/src/mcp/remote.ts:173
↓ 2 callers
Method
unlock
Removes the shield and the timeout. Safe to call from any extension.
app/mobile/plugins/device-lock/ios/Sources/DeviceLockCore/DeviceLockCore.swift:97
↓ 2 callers
Function
unusual_count
(tokens: &[String])
app/plugins/llm_engine/src/multimodal_thinking_repro.rs:128
↓ 2 callers
Method
update
(update: ViewUpdate)
app/src/components/AgentCard/ToolsModal.tsx:672
↓ 2 callers
Method
updateCustomServerStatus
(address: string, status: 'online' | 'offline')
app/src/utils/ModelManager.ts:444
↓ 2 callers
Function
updateDropdownPosition
()
app/src/components/AgentCard/StaticAgentView.tsx:451
↓ 2 callers
Function
updatePopoverPosition
()
app/src/components/AgentCard/StaticAgentView.tsx:124
← previous
next →
501–600 of 2,665, ranked by callers