MCPcopy Create free account

hub / github.com/Roy3838/Observer / functions

Functions2,590 in github.com/Roy3838/Observer

↓ 2 callersFunction_pool_summary
The org's shared monthly credit pool and how much of it is spent. Read from the same counter the limiter increments, so the number on the
api/orgs.py:689
↓ 2 callersFunction_reserve_and_grant
Claim a seat for `email` on `org_id`, then entitle or invite them. The seat is reserved in R2 first. If the grant then fails we are left wit
api/orgs.py:230
↓ 2 callersFunction_revoke_seat
Strip org entitlement from a user. Their next /quota call reports free.
api/orgs.py:767
↓ 2 callersFunction_seconds_until_midnight
Seconds until the next UTC midnight. Explicitly UTC so daily quota resets do not depend on the container's ambient timezone - they line
api/quota_manager.py:188
↓ 2 callersFunction_usage_for_members
Today's Redis counters for a specific set of users. Direct GETs, no scan.
api/orgs.py:668
↓ 2 callersFunction_wa_window_key
(address: str)
api/remote.py:97
↓ 2 callersFunctionaddCustomServer
(address: string)
app/src/utils/inferenceServer.ts:57
↓ 2 callersMethodaddSubscriber
(subscriber: TranscriptionSubscriber)
app/src/utils/whisper/UnifiedTranscriptionService.ts:164
↓ 2 callersFunctionalertsIn
(run: Run, from: number, to = Infinity)
app/e2e/patterns.ts:228
↓ 2 callersFunctionbackgroundFor
(pip: Pip)
app/src/utils/statusPip.ts:279
↓ 2 callersMethodbuildDecorations
(_view: EditorView)
app/src/components/AgentCard/ToolsModal.tsx:678
↓ 2 callersMethodbuild_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:752
↓ 2 callersMethodcanDrawOverlays
app/mobile/plugins/device-lock/android/src/main/java/com/plugin/devicelock/DeviceLockController.kt:49
↓ 2 callersMethodcancelDownload
* Cancel an ongoing download - signals Rust to stop and delete partial file
app/src/utils/localLlm/NativeLlmManager.ts:473
↓ 2 callersFunctioncaptureCamera
(cameraId?: string)
app/src/mcp/capture.ts:184
↓ 2 callersFunctioncaptureScreen
()
app/src/mcp/capture.ts:134
↓ 2 callersFunctioncard
A white card with the app's border and a soft shadow.
app/src/utils/statusPip.ts:324
↓ 2 callersFunctioncheckCustomServer
(address: string)
app/src/utils/inferenceServer.ts:73
↓ 2 callersFunctioncheckNumber
( number: string, token: string, channel?: WhitelistChannel, )
app/src/components/whitelist/shared.ts:51
↓ 2 callersMethodcheckServer
(address: string)
app/src/utils/ModelManager.ts:475
↓ 2 callersFunctioncheck_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:392
↓ 2 callersFunctionchoose
(value: 'local' | 'cloud')
app/src/components/AICreator/UserInfoModal.tsx:627
↓ 2 callersMethodchunkTranscriptionStarted
(type: AudioStreamType)
app/src/utils/whisper/TranscriptionStateManager.ts:63
↓ 2 callersFunctionclaimDragSession
()
app/src/components/Observer/AgentLiveCard.tsx:101
↓ 2 callersMethodcleanup
()
app/src/utils/audio/PCMAudioCapture.ts:131
↓ 2 callersFunctionclearAgentChangeData
(agentId: string)
app/src/utils/change_detector.ts:428
↓ 2 callersMethodclearAllHistory
(agentId: string)
app/src/utils/IterationStore.ts:474
↓ 2 callersMethodclearIfExpired
Clears a lock whose deadline has passed. Backstop for the monitor extension.
app/mobile/plugins/device-lock/ios/Sources/DeviceLockCore/DeviceLockCore.swift:109
↓ 2 callersMethodclearPersistedSettings
()
app/src/utils/localLlm/NativeLlmManager.ts:744
↓ 2 callersFunctionclearSleep
()
app/src/components/AgentChip.tsx:118
↓ 2 callersFunctionclearSleepState
()
app/src/components/AgentCard/AgentCard.tsx:270
↓ 2 callersFunctioncloseDetails
()
app/src/components/CommunityTab.tsx:456
↓ 2 callersFunctioncommit
(delta: number)
websites/landing/src/wheel/OptionWheel.tsx:173
↓ 2 callersFunctioncommit
(delta: number)
app/src/components/AICreator/OptionWheel.tsx:197
↓ 2 callersFunctionconfirm
()
app/src/components/AICreator/UserInfoModal.tsx:560
↓ 2 callersFunctionconsume
(line: string)
app/src/utils/sendApi.ts:24
↓ 2 callersFunctioncontactError
(kind: UserInfoKind, value: string)
app/src/utils/contactInfo.ts:49
↓ 2 callersFunctioncontentParts
(text: string, images: string[])
app/src/utils/localLlm/systemOne.ts:160
↓ 2 callersFunctioncurrent_epoch_ms
()
app/plugins/screen-capture/src/macos.rs:114
↓ 2 callersFunctioncurrent_month
The period stamp embedded in monthly keys. UTC calendar month. Calendar months rather than per-subscriber billing cycles: a billing-aligned p
api/quota_manager.py:221
↓ 2 callersFunctiondaily_key
(user_id: str, service: str)
api/quota_manager.py:232
↓ 2 callersFunctiondate
(unix: number)
websites/partner_dashboard/src/PartnerPanel.tsx:19
↓ 2 callersFunctiondecodeBase64PCM
(base64: string)
app/src/utils/audio/pcmUtils.ts:27
↓ 2 callersFunctiondelete
(key: str)
api/r2_store.py:162
↓ 2 callersFunctiondeleteMemory
(memoryId: string)
app/src/utils/agent_database.ts:382
↓ 2 callersMethoddeleteModel
* Delete a downloaded model by filename
app/src/utils/localLlm/NativeLlmManager.ts:501
↓ 2 callersFunctiondemoFile
(u: UseCase)
app/src/utils/groundTruth.ts:283
↓ 2 callersFunctiondemoTabTitle
(d: TutorialDemo)
app/src/utils/tutorialDemos.ts:45
↓ 2 callersFunctiondemoUrl
(d: TutorialDemo)
app/src/utils/tutorialDemos.ts:47
↓ 2 callersFunctiondetectOllamaServers
()
app/src/components/AvailableModels.tsx:390
↓ 2 callersMethoddiscardAndShutdown
()
app/src/utils/recordingManager.ts:249
↓ 2 callersMethoddiscardCurrentBuffer
()
app/src/utils/recordingManager.ts:244
↓ 2 callersFunctiondispatchMemoryUpdate
(agentId: string)
app/src/components/MemoryManager.tsx:11
↓ 2 callersFunctionencode_thumbnail
Encode an image as a base64 JPEG thumbnail
app/plugins/screen-capture/src/targets.rs:202
↓ 2 callersMethodensureMasterStream
(type: MasterStreamType, captureImpl: typeof browserStreamCapture | typeof tauriStreamCapture)
app/src/utils/streamManager.ts:496
↓ 2 callersFunctionentries
(run: Run)
app/e2e/patterns.ts:80
↓ 2 callersFunctionenv_path
(key: &str)
app/plugins/llm_engine/src/multimodal_thinking_repro.rs:34
↓ 2 callersMethodeval_media
Evaluate mtmd chunks into an empty context, logits for the last token only. Returns n_past.
app/plugins/llm_engine/src/lib.rs:639
↓ 2 callersFunctionextractFunctionCall
(code: string, startPos: number)
app/src/components/AgentCard/ToolsModal.tsx:533
↓ 2 callersMethodextract_images
Extract image data from multimodal messages
app/plugins/llm_engine/src/lib.rs:691
↓ 2 callersMethodfeedPCM
* Feed PCM samples to the transcription service. * This is the main input method for the unified pipeline. * * @param samples - Float32Array
app/src/utils/whisper/UnifiedTranscriptionService.ts:109
↓ 2 callersFunctionfetchModels
()
app/src/components/AgentCard/StaticAgentView.tsx:437
↓ 2 callersFunctionfetchModelsList
()
app/src/components/AvailableModels.tsx:376
↓ 2 callersFunctionfile
websites/landing/scripts/sync-showcase.mjs:24
↓ 2 callersFunctionfind_user_by_apple_transaction_id
Finds a user's Auth0 ID by querying their app_metadata for an Apple original transaction ID. Args: original_transaction_id: The Appl
api/auth0_manager.py:308
↓ 2 callersFunctionfirstVisible
(selector: string | string[])
app/src/components/LocalOnboardingTutorial.tsx:21
↓ 2 callersFunctionfloat32ToInt16
(samples: Float32Array)
app/src/utils/audio/pcmUtils.ts:57
↓ 2 callersFunctionfmtTime
app/e2e/demos/desktop_assets/macos.js:18
↓ 2 callersFunctionformatKey
(keyPart: string)
app/src/desktop/OverlayWindow.tsx:209
↓ 2 callersFunctionformatSensorContent
(sensor: SensorData, includeImages: boolean)
app/src/utils/exportUtils.ts:24
↓ 2 callersFunctionformatTimestamp
(timestamp: string)
app/src/components/AgentCard/IterationStoreDebug.tsx:71
↓ 2 callersFunctiongemmaFileProgress
(state: GemmaModelState)
app/src/components/AvailableModels.tsx:113
↓ 2 callersFunctiongenerateAndCompleteAgent
(systemPrompt: string)
app/src/components/AICreator/DetectionMode/DetectionModePanel.tsx:393
↓ 2 callersFunctiongenerateFeedbackReportMarkdown
( options: ReportOptions, feedback: FeedbackDetails )
app/src/utils/feedbackReporter.ts:25
↓ 2 callersMethodgenerateWithLocalModel
* Generate a response using a local model. * Routes to the appropriate underlying manager based on the server sentinel.
app/src/utils/ModelManager.ts:597
↓ 2 callersFunctiongetAgentConfig
(agentId: string)
app/src/utils/agent_database.ts:227
↓ 2 callersFunctiongetAllAgentIds
()
app/src/utils/agent_database.ts:144
↓ 2 callersFunctiongetAllImageMemories
()
app/src/utils/agent_database.ts:338
↓ 2 callersFunctiongetAllTools
(channel?: WhitelistChannel)
app/src/components/AgentCard/ToolsModal.tsx:64
↓ 2 callersFunctiongetCustomServers
()
app/src/utils/inferenceServer.ts:53
↓ 2 callersMethodgetCustomServers
()
app/src/utils/ModelManager.ts:397
↓ 2 callersMethodgetInstalledDtype
(modelId: GemmaModelId)
app/src/utils/localLlm/GemmaModelManager.ts:324
↓ 2 callersMethodgetInstance
()
app/src/utils/whisper/TranscriptionRouter.ts:48
↓ 2 callersMethodgetMmprojAssignment
(modelFilename: string)
app/src/utils/localLlm/NativeLlmManager.ts:118
↓ 2 callersMethodgetNotificationContact
Last value the user confirmed for this contact kind, or '' if none.
app/src/utils/settings.ts:224
↓ 2 callersMethodgetOcrLanguage
()
app/src/utils/settings.ts:52
↓ 2 callersMethodgetPersistedSettings
()
app/src/utils/localLlm/NativeLlmManager.ts:753
↓ 2 callersMethodgetPersistedUseGpu
* Get persisted GPU setting from localStorage * Returns false (CPU mode) if not set
app/src/utils/localLlm/NativeLlmManager.ts:888
↓ 2 callersFunctiongetPlatformName
()
app/src/utils/platform.ts:113
↓ 2 callersFunctiongetPlatformTools
()
app/src/mcp/registry.ts:1023
↓ 2 callersFunctiongetPositionFromEvent
(e: React.MouseEvent | React.TouchEvent)
app/src/components/AgentCard/SensorPreviewPanel.tsx:68
↓ 2 callersFunctiongetPythonSystemPrompt
()
app/src/utils/python_system_prompt.ts:1
↓ 2 callersFunctiongetRequiredStreamsForPrompt
(systemPrompt: string)
app/src/utils/main_loop.ts:24
↓ 2 callersMethodgetState
()
app/src/utils/localLlm/GemmaModelManager.ts:50
↓ 2 callersMethodgetStorageUsage
(agentId: string)
app/src/utils/IterationStore.ts:508
↓ 2 callersMethodgetTargets
* Get all available capture targets (monitors and windows). * Desktop only.
app/src/utils/tauriStreamCapture.ts:1455
↓ 2 callersMethodgetTelegramCode
The persisted Telegram code, or null if one hasn't been generated yet.
app/src/utils/settings.ts:323
↓ 2 callersMethodgetTranscript
Get accumulated transcript since last clear (committed + interim)
app/src/utils/whisper/TranscriptionSubscriber.ts:17
↓ 2 callersMethodgetTranscriptionMode
()
app/src/utils/settings.ts:163
↓ 2 callersMethodgetVideoElement
The live <video> a feed plays in (null until it's open), for drawing it elsewhere: the * mobile status PiP draws each agent's crop from it.
app/src/utils/streamManager.ts:290
← previousnext →301–400 of 2,590, ranked by callers