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
↓ 243 callers
Method
error
* Convenience method for error logs
app/src/utils/logging.ts:97
↓ 222 callers
Method
info
* Convenience method for info logs
app/src/utils/logging.ts:83
↓ 93 callers
Method
push
* Add samples to the buffer * * @param samples - Float32Array of audio samples to add
app/src/utils/audio/pcmUtils.ts:162
↓ 81 callers
Method
debug
* Convenience method for debug logs
app/src/utils/logging.ts:76
↓ 69 callers
Method
getInstance
()
app/src/utils/commandSSE.ts:19
↓ 69 callers
Method
warn
* Convenience method for warning logs
app/src/utils/logging.ts:90
↓ 44 callers
Function
isTauri
()
app/src/utils/platform.ts:8
↓ 36 callers
Method
delete
Delete stored tokens
cli/src/auth.rs:81
↓ 29 callers
Method
log
* Add a new log entry
app/src/utils/logging.ts:44
↓ 23 callers
Function
isDesktop
()
app/src/utils/platform.ts:35
↓ 21 callers
Method
load
Load tokens from file
cli/src/auth.rs:55
↓ 21 callers
Method
read
Read new samples from the ring buffer Returns (samples, sample_rate, timestamp) if new data is available
app/mobile/src/audio_ring.rs:340
↓ 20 callers
Function
with_engine
Get a reference to the global engine (initializes if needed)
app/plugins/llm_engine/src/lib.rs:739
↓ 18 callers
Function
now
()
app/mobile/src/server.rs:120
↓ 17 callers
Method
all
()
cli/src/config.rs:34
↓ 17 callers
Method
stop
()
app/src/utils/commandSSE.ts:41
↓ 16 callers
Function
isWeb
()
app/src/utils/platform.ts:58
↓ 15 callers
Function
openDB
()
app/src/utils/agent_database.ts:27
↓ 15 callers
Function
platformFetch
( input: RequestInfo | URL, init?: RequestInit )
app/src/utils/platform.ts:238
↓ 13 callers
Method
clear
Clear accumulated transcript (call at end of agent loop)
app/src/utils/whisper/TranscriptionSubscriber.ts:35
↓ 12 callers
Method
listModels
* List all models from all sources (remote + local)
app/src/utils/ModelManager.ts:194
↓ 11 callers
Method
addListener
(listener: StreamListener)
app/src/utils/streamManager.ts:246
↓ 11 callers
Method
getState
()
app/src/utils/localLlm/LocalModelManager.ts:23
↓ 11 callers
Method
getWhisperSettings
()
app/src/utils/settings.ts:61
↓ 10 callers
Function
fetchModels
()
app/src/utils/inferenceServer.ts:97
↓ 10 callers
Function
get_redis
()
api/quota_manager.py:91
↓ 10 callers
Method
removeListener
(listener: StreamListener)
app/src/utils/streamManager.ts:247
↓ 9 callers
Method
flush
* Flush and concatenate all samples * * @returns Concatenated Float32Array of all buffered samples
app/src/utils/audio/pcmUtils.ts:193
↓ 9 callers
Function
getAgentCode
(agentId: string)
app/src/utils/agent_database.ts:255
↓ 9 callers
Function
getAgentMemory
(agentId: string)
app/src/utils/agent_database.ts:272
↓ 9 callers
Method
getIterationsForAgent
(agentId: string)
app/src/utils/IterationStore.ts:393
↓ 9 callers
Method
releaseStreamsForAgent
Releases all streams used by a specific agent.
app/src/utils/streamManager.ts:148
↓ 9 callers
Method
requestStreamsForAgent
The primary method for acquiring streams, using a "blueprint" approach.
app/src/utils/streamManager.ts:96
↓ 9 callers
Function
sleep
(ms: number = 2000, agentId?: string)
app/src/utils/handlers/utils.ts:754
↓ 8 callers
Function
_get_management_api_token
Fetches a fresh access token for the Auth0 Management API. Uses in-memory cache with 4-hour expiration to reduce API calls.
api/auth0_manager.py:22
↓ 8 callers
Function
formatTimestamp
(timestamp: string)
app/src/utils/exportUtils.ts:88
↓ 8 callers
Method
generate
(messages: LocalLlmMessage[], onToken?: (token: string) => void)
app/src/utils/localLlm/LocalModelManager.ts:20
↓ 8 callers
Function
getAgent
(agentId: string)
app/src/utils/agent_database.ts:195
↓ 8 callers
Method
getCurrentState
()
app/src/utils/streamManager.ts:249
↓ 8 callers
Method
getInstance
()
app/src/utils/ModelManager.ts:180
↓ 8 callers
Method
get_context_params
Get the current context parameters
app/plugins/llm_engine/src/lib.rs:293
↓ 8 callers
Function
get_http_client
Return the shared HTTP client. Requires startup_handlers() to have run.
api/api_handlers.py:20
↓ 8 callers
Function
get_state
()
app/plugins/screen-capture/src/android.rs:210
↓ 8 callers
Function
isIOS
()
app/src/utils/platform.ts:42
↓ 8 callers
Function
isMobile
()
app/src/utils/platform.ts:18
↓ 8 callers
Method
isReady
()
app/src/utils/localLlm/LocalModelManager.ts:16
↓ 8 callers
Method
notifyListeners
()
app/src/utils/streamManager.ts:755
↓ 8 callers
Method
onStateChange
(listener: (state: any) => void)
app/src/utils/localLlm/LocalModelManager.ts:22
↓ 8 callers
Method
setWhisperSettings
(settings: WhisperSettings)
app/src/utils/settings.ts:111
↓ 7 callers
Method
apply
app/mobile/gen/android/buildSrc/src/main/java/com/observer/ai/kotlin/RustPlugin.kt:17
↓ 7 callers
Function
check_usage
( user_id: str, service: str, is_pro: bool = False, is_max: bool = False, is_plus: bool = False )
api/quota_manager.py:150
↓ 7 callers
Function
confirm
(message: string)
app/src/utils/platform.ts:138
↓ 7 callers
Function
fetchAgents
()
app/src/components/CommunityTab.tsx:209
↓ 7 callers
Function
increment_usage
(user_id: str, service: str)
api/quota_manager.py:122
↓ 7 callers
Function
listener
(entry: LogEntry)
app/src/components/ModelHub.tsx:231
↓ 7 callers
Method
notify
(type: AudioStreamType)
app/src/utils/whisper/TranscriptionStateManager.ts:142
↓ 7 callers
Method
setState
(updates: Partial<NativeModelState>)
app/src/utils/localLlm/NativeLlmManager.ts:164
↓ 7 callers
Method
set_context_params
Set context parameters (takes effect on the next generate() call)
app/plugins/llm_engine/src/lib.rs:298
↓ 7 callers
Function
stopAgentLoop
(agentId: string)
app/src/utils/main_loop.ts:207
↓ 7 callers
Function
useAuth
()
app/src/contexts/AuthContext.tsx:119
↓ 6 callers
Method
format_duration
Format duration as human-readable string
cli/src/runner.rs:13
↓ 6 callers
Function
getAgentImageMemory
(agentId: string)
app/src/utils/agent_database.ts:321
↓ 6 callers
Method
getHistoricalSessions
(agentId: string)
app/src/utils/IterationStore.ts:446
↓ 6 callers
Method
getSelfHostedWhisperUrl
()
app/src/utils/settings.ts:177
↓ 6 callers
Function
get_capture_state
()
app/plugins/screen-capture/src/macos.rs:92
↓ 6 callers
Function
handleQuotaExceeded
* Helper function to handle 429 quota exceeded responses. * Extracts quota type from error response and logs appropriately. * @param response The fe
app/src/utils/handlers/utils.ts:20
↓ 6 callers
Function
listAgents
()
app/src/utils/agent_database.ts:162
↓ 6 callers
Method
loadModel
* Load a model into memory for inference. * If mmprojFilename is omitted, the persisted assignment map is checked. * If neither is set, the mode
app/src/utils/localLlm/NativeLlmManager.ts:523
↓ 6 callers
Function
login
Start the device code login flow
cli/src/auth.rs:125
↓ 6 callers
Method
refreshGgufCache
()
app/src/utils/localLlm/NativeLlmManager.ts:382
↓ 6 callers
Method
resample
Resample audio from source rate to 16kHz # Arguments `input` - Mono f32 samples at the source sample rate # Returns Resampled mono f32 samples at 16
app/plugins/screen-capture/src/audio_pipeline.rs:76
↓ 6 callers
Function
saveAgent
( agent: CompleteAgent, code: string )
app/src/utils/agent_database.ts:73
↓ 6 callers
Method
setState
(updates: Partial<WhisperModelState>)
app/src/utils/whisper/WhisperModelManager.ts:55
↓ 6 callers
Function
stop_capture
()
app/plugins/screen-capture/src/audio.rs:353
↓ 6 callers
Function
updateAgentMemory
(agentId: string, memory: string)
app/src/utils/agent_database.ts:303
↓ 5 callers
Function
clearParam
(key: keyof InferenceParams)
app/src/components/InferenceParamsEditor.tsx:72
↓ 5 callers
Function
decode_base64_image
Decode a base64 image string to raw bytes
app/plugins/llm_engine/src/lib.rs:798
↓ 5 callers
Method
getDebugInfo
* Get comprehensive debug info including sampler params and metrics
app/src/utils/localLlm/NativeLlmManager.ts:798
↓ 5 callers
Method
getInstallMap
()
app/src/utils/localLlm/GemmaModelManager.ts:246
↓ 5 callers
Method
getMmprojAssignments
()
app/src/utils/localLlm/NativeLlmManager.ts:91
↓ 5 callers
Method
getModelParams
(modelName: string)
app/src/utils/ModelManager.ts:613
↓ 5 callers
Method
getState
(type: AudioStreamType)
app/src/utils/whisper/TranscriptionStateManager.ts:124
↓ 5 callers
Function
getVideoScale
()
app/src/components/AgentCard/SensorPreviewPanel.tsx:43
↓ 5 callers
Method
get_last_metrics
Get the last generation metrics
app/plugins/llm_engine/src/lib.rs:320
↓ 5 callers
Function
handleParamChange
(key: keyof InferenceParams, value: any)
app/src/components/InferenceParamsEditor.tsx:61
↓ 5 callers
Function
init_engine
Initialize the global LLM engine
app/plugins/llm_engine/src/lib.rs:719
↓ 5 callers
Method
listGgufFiles
* List all GGUF files in the models directory (async, updates cache). * Both model files and projector files are returned — no filtering.
app/src/utils/localLlm/NativeLlmManager.ts:173
↓ 5 callers
Method
loadModelWithSettings
* Load a model with explicit settings. Saves settings for future loads. * Use this when the user explicitly changes settings in the UI.
app/src/utils/localLlm/GemmaModelManager.ts:78
↓ 5 callers
Method
load_model
Load a GGUF model from the given path. Loads a model from `model_path`. If `mmproj_path` is provided, the multimodal projector is loaded alongside it;
app/plugins/llm_engine/src/lib.rs:192
↓ 5 callers
Method
openIterationDB
()
app/src/utils/IterationStore.ts:239
↓ 5 callers
Method
send_cors_headers
Send the appropriate CORS headers.
docker/observer-ollama/observer_ollama/cors.py:8
↓ 5 callers
Function
setMemory
(agentId: string, memory: any)
app/src/utils/handlers/utils.ts:81
↓ 5 callers
Method
setMmprojAssignment
(modelFilename: string, mmprojFilename: string | null)
app/src/utils/localLlm/NativeLlmManager.ts:100
↓ 5 callers
Method
setSamplerParams
* Set sampler parameters for text generation
app/src/utils/localLlm/NativeLlmManager.ts:812
↓ 5 callers
Method
setState
(updates: Partial<GemmaModelState>)
app/src/utils/localLlm/GemmaModelManager.ts:59
↓ 5 callers
Function
startAgentLoop
(agentId: string, getToken?: TokenProvider, skipWhitelistCheck = false)
app/src/utils/main_loop.ts:78
↓ 5 callers
Method
unloadModel
()
app/src/utils/localLlm/LocalModelManager.ts:21
↓ 4 callers
Function
_get_subscription_from_metadata
Fast subscription check using JWT app_metadata (kept current by Stripe/Apple webhooks). Returns (has_subscription, subscription_id, provider
api/payments.py:245
↓ 4 callers
Function
agentHasSensor
(systemPrompt: string, sensorKey: string)
app/src/components/AgentCard/agentCapabilities.tsx:192
↓ 4 callers
Method
destroySubscribersForAgent
* Destroy all subscribers for an agent. * Called when an agent stops.
app/src/utils/streamManager.ts:222
next →
1–100 of 1,954, ranked by callers