MCPcopy Create free account

hub / github.com/altic-dev/FluidVoice / functions

Functions2,803 in github.com/altic-dev/FluidVoice

↓ 165 callersMethodinfo
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:147
↓ 151 callersMethodfill
(_ buffer: AVAudioPCMBuffer, channel: Int, with value: Float)
Tests/FluidDictationIntegrationTests/AudioBufferConverterTests.swift:85
↓ 122 callersMethoddebug
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:164
↓ 100 callersMethodappend
(line: String)
Sources/Fluid/Services/FileLogger.swift:44
↓ 80 callersMethodcancel
()
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:131
↓ 77 callersMethoderror
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:160
↓ 68 callersMethodwarning
(_ message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:156
↓ 42 callersMethodproviderKey
(for providerID: String)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:245
↓ 40 callersMethodprefix
(in text: String, before location: Int)
Sources/Fluid/Services/TypingService.swift:1098
↓ 37 callersMethodwithLock
(_ block: () -> T)
Sources/Fluid/Services/GlobalHotkeyManager.swift:222
↓ 33 callersMethoddecode
(_ data: Data)
Sources/Fluid/Persistence/BackupService.swift:169
↓ 33 callersMethodrun
(_ operation: @escaping () async throws -> T)
Sources/Fluid/Services/ASRService.swift:18
↓ 33 callersMethodwithRestoredDefaults
(keys: [String], run: () throws -> Void)
Tests/FluidDictationIntegrationTests/HotkeyShortcutTests.swift:1411
↓ 30 callersMethodonAppear
()
Sources/Fluid/UI/AISettings/VoiceEngineSettingsViewModel.swift:64
↓ 28 callersMethodisBuiltIn
Check if a provider ID is a built-in provider
Sources/Fluid/Services/ModelRepository.swift:106
↓ 27 callersMethodwithRestoredDefaults
(keys: [String], run: () -> Void)
Tests/FluidDictationIntegrationTests/DictationE2ETests.swift:2263
↓ 23 callersMethoddevice
(uid: String, name: String, transportType: UInt32)
Tests/FluidDictationIntegrationTests/HotkeyShortcutTests.swift:1396
↓ 22 callersMethodlog
(_ message: @autoclosure () -> String)
Sources/Fluid/Services/TypingService.swift:14
↓ 22 callersMethodsend
(_ response: LocalAPI.Response)
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:166
↓ 21 callersMethoddictationPromptSelection
(for slot: DictationShortcutSlot)
Sources/Fluid/Persistence/SettingsStore.swift:461
↓ 20 callersMethoddefaultBaseURL
Returns the default base URL for a given provider ID.
Sources/Fluid/Services/ModelRepository.swift:60
↓ 19 callersMethodstop
()
Sources/Fluid/Services/DirectCoreAudioInput.swift:382
↓ 18 callersMethodstart
()
Sources/Fluid/Services/DirectCoreAudioInput.swift:381
↓ 17 callersMethoddecode
(_ data: Data)
Sources/Fluid/Services/DictionaryTransferService.swift:253
↓ 17 callersMethodreconcileMicrophoneSelection
(availableInputs: [AudioDevice.Device], defaultInputUID: String?)
Sources/Fluid/Services/MicrophonePreferenceCoordinator.swift:199
↓ 16 callersMethodopen
()
Sources/Fluid/Services/AudioStartupGate.swift:44
↓ 15 callersMethodbenchmarkLog
(_ message: String)
Sources/Fluid/Services/ASRService.swift:472
↓ 15 callersMethoderror
(_ message: String, status: Int)
Sources/Fluid/Services/LocalAPI/LocalAPIModels.swift:80
↓ 14 callersMethodapplySpokenPunctuationFormatting
(_ text: String, appName: String?, bundleID: String?, windowTitle: String?)
Sources/Fluid/Services/ASRService+SpokenPunctuationFormatting.swift:4
↓ 14 callersMethodrefreshProviderItems
Refreshes the cached provider items. Call this when providers or connection status changes.
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:313
↓ 13 callersMethodisAvailable
(settings: SettingsStore)
Sources/Fluid/Services/PrivateAIProviderPromptFormat.swift:8
↓ 13 callersMethodisModelInstalled
(_ model: PrivateAIRegisteredModel)
Sources/Fluid/Services/PrivateAIProvider.swift:208
↓ 13 callersMethodsetDictationPromptSelection
(_ selection: DictationPromptSelection)
Sources/Fluid/Persistence/SettingsStore.swift:457
↓ 12 callersMethodbenchmark
(_ marker: String, message: String, source: String)
Sources/Fluid/Services/DebugLogger.swift:151
↓ 12 callersMethodcapture
(eventName: String, distinctID: String, enabled: Bool, config: AnalyticsConfig, properties: [String: Any])
Sources/Fluid/Analytics/AnalyticsService.swift:207
↓ 12 callersMethodensureAsrReady
()
Sources/Fluid/Services/ASRService.swift:3862
↓ 12 callersMethodgetDefaultInputDevice
()
Sources/Fluid/Services/AudioDeviceService.swift:197
↓ 12 callersMethodstripBasePrompt
Remove a hidden base prompt prefix for a given mode if it was persisted previously.
Sources/Fluid/Persistence/SettingsStore.swift:1071
↓ 11 callersMethodclose
()
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:188
↓ 11 callersMethoddefaultModels
Returns the default models for a given provider ID. This is used when the user has not added any custom models for that provider.
Sources/Fluid/Services/ModelRepository.swift:30
↓ 11 callersMethodfluidButton
(_ role: FluidButtonRole, size: FluidButtonSize, isRecording: Bool)
Sources/Fluid/Theme/NativeButtonStyles.swift:64
↓ 11 callersMethodhide
()
Sources/Fluid/Views/BottomOverlayView.swift:159
↓ 11 callersMethodhide
()
Sources/Fluid/Services/NotchOverlayManager.swift:313
↓ 11 callersMethodinputDeviceForCapture
()
Sources/Fluid/Services/MicrophonePreferenceCoordinator.swift:337
↓ 11 callersMethodmodelIDs
()
Sources/Fluid/Services/PrivateAIProvider.swift:173
↓ 11 callersMethodproviderAPIKey
(for providerID: String)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:256
↓ 11 callersMethodreduce
(value: inout CGFloat, nextValue: () -> CGFloat)
Sources/Fluid/Views/BottomOverlayView.swift:1943
↓ 11 callersMethodstopWithoutTranscription
()
Sources/Fluid/Services/ASRService.swift:2527
↓ 11 callersMethodtranscribe
Transcribe audio samples - Parameter samples: 16kHz mono PCM float samples - Returns: Transcription result with text and confidence
Sources/Fluid/Services/TranscriptionProvider.swift:145
↓ 10 callersMethodactivate
(draftPromptText: String)
Sources/Fluid/Services/DictationPromptTestCoordinator.swift:21
↓ 10 callersMethodinvalidate
()
Sources/Fluid/Services/DirectCoreAudioInput.swift:385
↓ 10 callersMethodoverlayBench
(_ message: String)
Sources/Fluid/Services/NotchOverlayManager.swift:498
↓ 10 callersMethodprepare
Download/prepare models for transcription.
Sources/Fluid/Services/TranscriptionProvider.swift:140
↓ 10 callersMethodsaveSavedProviders
()
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:535
↓ 10 callersMethodscheduleAudioRouteRecovery
(reason: String, requiresIdlePrewarm: Bool, reconcilesInputSelection: Bool)
Sources/Fluid/Services/ASRService.swift:3046
↓ 10 callersMethodsetOverlayMode
(_ mode: OverlayMode)
Sources/Fluid/Services/MenuBarManager.swift:333
↓ 10 callersMethodshow
(audioLevelPublisher: AnyPublisher<CGFloat, Never>, mode: OverlayMode)
Sources/Fluid/Services/NotchOverlayManager.swift:152
↓ 10 callersMethodstopRecordingIfNeeded
()
Sources/Fluid/Services/GlobalHotkeyManager.swift:1946
↓ 9 callersMethodcandidate
(before: String, after: String, insertedRange: NSRange, allowsInsertionAtEnd: Bool)
Sources/Fluid/Services/AutomaticDictionaryCorrectionTracker.swift:81
↓ 9 callersMethoddismiss
()
Sources/Fluid/Views/AutomaticDictionaryCorrectionOverlay.swift:128
↓ 9 callersMethodencode
(to encoder: Encoder)
Sources/Fluid/Models/HotkeyShortcut.swift:325
↓ 9 callersMethodgetReasoningConfig
Get reasoning config for a specific model, with smart defaults for known models
Sources/Fluid/Persistence/SettingsStore.swift:2924
↓ 9 callersMethodlistInputDevicesRefreshingLiveness
Refreshes the HAL liveness snapshot. Call only from an existing background hardware-refresh path; UI and capture selection consume the cached value.
Sources/Fluid/Services/AudioDeviceService.swift:161
↓ 9 callersMethodlog
(_ message: String, level: LifecycleLogLevel)
Sources/Fluid/Services/DirectCoreAudioInput.swift:1485
↓ 9 callersMethodmatches
(model: String)
Sources/Fluid/Services/PrivateAIProvider.swift:177
↓ 9 callersMethodmergeAdjacentTurns
Merge consecutive turns from the same speaker separated by short gaps. Fewer, longer turns give the ASR more context per slice and read better. Merged
Sources/Fluid/Services/SpeakerDiarizationService.swift:87
↓ 9 callersMethodmonoSamples
(from buffer: AVAudioPCMBuffer, targetSampleRate: Double)
Sources/Fluid/Services/AudioBufferConverter.swift:31
↓ 9 callersMethodreceive
()
Sources/Fluid/Services/LocalAPI/LocalAPIServer.swift:135
↓ 9 callersMethodscheduleOpenAfterInitialUISettled
Schedule opening the gate once. Safe to call multiple times.
Sources/Fluid/Services/AudioStartupGate.swift:18
↓ 9 callersMethodsetDictationPromptSelection
(_ selection: SettingsStore.DictationPromptSelection, for slot: SettingsStore.DictationShortcutSlot)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:1896
↓ 9 callersMethodwait
(sessionID: Int, attemptID: UInt64, timeoutNanoseconds: UInt64)
Sources/Fluid/Services/AudioCaptureReadinessGate.swift:44
↓ 8 callersMethodarm
(sessionID: Int, attemptID: UInt64)
Sources/Fluid/Services/AudioCaptureReadinessGate.swift:29
↓ 8 callersMethodcanTriggerRecordingAction
(_ label: String)
Sources/Fluid/Services/GlobalHotkeyManager.swift:1896
↓ 8 callersMethodcancelPrewarmDictationIfNeeded
Cancel an in-flight prewarm. Called on abort / new recording start — NOT on a normal stop, because AI post-processing runs after stop and benefits fro
Sources/Fluid/ContentView.swift:3020
↓ 8 callersMethodcheckIfModelsExistAsync
Check if models exist on disk without loading them (async). This method performs an accurate async check for providers that require it (e.g., `AppleS
Sources/Fluid/Services/ASRService.swift:1451
↓ 8 callersMethodencode
(to encoder: Encoder)
Sources/Fluid/Services/MeetingTranscriptionService.swift:86
↓ 8 callersMethodimportState
(document: DictionaryTransferDocument, mode: DictionaryTransferImportMode, currentReplacements: [SettingsStore
Sources/Fluid/Services/DictionaryTransferService.swift:288
↓ 8 callersMethodisReasoningModel
Global check if a model is a reasoning model (requires special params/max_completion_tokens)
Sources/Fluid/Persistence/SettingsStore.swift:2991
↓ 8 callersMethodmakeDictationLiteralOutputPlan
(for text: String, appName: String?, bundleID: String?, windowTitle: String?)
Sources/Fluid/Services/ASRService+DictationLiteralFormatting.swift:56
↓ 8 callersMethodproviderKey
(for providerID: String)
Sources/Fluid/ContentView.swift:1569
↓ 8 callersMethodread
(deviceID: AudioObjectID)
Sources/Fluid/Services/DirectCoreAudioInput.swift:73
↓ 8 callersMethodreset
Reset the service state
Sources/Fluid/Services/MeetingTranscriptionService.swift:498
↓ 8 callersMethodretireAudioEngineAndWait
Route recovery and engine retry paths use this completion barrier so the old AVAudioEngine and its AVAudioIOUnit are fully deallocated before a replac
Sources/Fluid/Services/ASRService.swift:810
↓ 8 callersMethodsaveEntries
()
Sources/Fluid/Persistence/TranscriptionHistoryStore.swift:375
↓ 8 callersMethodsaveProviderAPIKeys
(invalidating providerID: String?)
Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift:451
↓ 8 callersMethodscreenForCurrentPointer
()
Sources/Fluid/Services/OverlayScreenResolver.swift:9
↓ 8 callersMethodsetRecordingEnabled
(_ enabled: Bool, sessionID: Int, attemptID: UInt64, startHostTime: UInt64)
Sources/Fluid/Services/ASRService.swift:4854
↓ 8 callersMethodwaitForScheduledReleases
Waits for every release already submitted to this drain. This is used at capture start so a fire-and-forget retirement from a non-route path cannot ov
Sources/Fluid/Services/AudioEngineRetirementDrain.swift:61
↓ 8 callersMethodwaitUntilOpen
Await until the gate is open. Returns immediately if already open.
Sources/Fluid/Services/AudioStartupGate.swift:36
↓ 7 callersMethodapplyCustomDictionary
Applies custom dictionary replacements to transcribed text. Replaces trigger words/phrases with their designated replacements. Uses case-insensitive m
Sources/Fluid/Services/ASRService.swift:4635
↓ 7 callersMethoddefaultSystemPromptText
(for mode: PromptMode)
Sources/Fluid/Persistence/SettingsStore.swift:1094
↓ 7 callersMethodelapsedMilliseconds
(since start: TimeInterval?)
Sources/Fluid/Services/ASRService.swift:467
↓ 7 callersMethoderror
(status: OSStatus, operation: String)
Sources/Fluid/Services/DirectCoreAudioInput.swift:559
↓ 7 callersMethodfinishAccessibilityPermissionFlow
()
Sources/Fluid/ContentView.swift:4143
↓ 7 callersMethodfluidCompactButton
(size: FluidButtonSize, isReady: Bool, foreground: Color?, borderColor: Color?)
Sources/Fluid/Theme/NativeButtonStyles.swift:88
↓ 7 callersMethodhideExpandedCommandOutput
Hide expanded command output notch - force close regardless of hover state
Sources/Fluid/Services/NotchOverlayManager.swift:620
↓ 7 callersMethodinvalidateDictionaryCache
Invalidates the dictionary cache. Called when settings change.
Sources/Fluid/Services/ASRService.swift:4627
↓ 7 callersMethodisProviderConfigured
Returns true if the selected AI provider is currently verified/configured, regardless of the AI toggle or prompt selection. Used to gate prompt-mode h
Sources/Fluid/Services/DictationAIPostProcessingGate.swift:44
↓ 7 callersMethodisTemperatureUnsupported
Whether the model rejects the `temperature` parameter. Covers reasoning models plus Anthropic models that have deprecated temperature (Opus 4.7+, Sonn
Sources/Fluid/Persistence/SettingsStore.swift:3012
↓ 7 callersMethodlistInputDevices
()
Sources/Fluid/Services/MicrophonePreferenceCoordinator.swift:7
next →1–100 of 2,803, ranked by callers