Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

fix: keep local builds on fluid intelligence

altic-dev34bfc842398b
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index cd8a3af3..2935a0b6 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -16,7 +16,7 @@ Brief description of what this PR does.
- [ ] Tested on macOS [version]
- [ ] Ran linter locally: `swiftlint --strict --config .swiftlint.yml Sources`
- [ ] Ran formatter locally: `swiftformat --config .swiftformat Sources`
-- [ ] Built locally: `sh build_incremental.sh`
+- [ ] Built locally with Fluid Intelligence: `sh build_with_FI_incremental.sh`
## Notes
- Add any important reviewer context, rollout notes, or known tradeoffs here.
diff --git a/Sources/Fluid/Persistence/SettingsStore.swift b/Sources/Fluid/Persistence/SettingsStore.swift
index 38226852..7c217d1b 100644
--- a/Sources/Fluid/Persistence/SettingsStore.swift
+++ b/Sources/Fluid/Persistence/SettingsStore.swift
@@ -2954,7 +2954,10 @@ final class SettingsStore: ObservableObject {
self.dictationPromptProfiles = normalizedProfiles
}
+ let privateAIPromptID = PrivateAIProviderPromptFormat.promptSelectionID
+
if let id = self.selectedDictationPromptID,
+ !(PrivateFeatures.privateAIProvider && id == privateAIPromptID),
self.dictationPromptProfiles.contains(where: { $0.id == id && $0.mode == .dictate }) == false
{
self.selectedDictationPromptID = nil
@@ -2967,6 +2970,7 @@ final class SettingsStore: ObservableObject {
}
if let id = self.promptModeSelectedPromptID,
+ !(PrivateFeatures.privateAIProvider && id == privateAIPromptID),
self.dictationPromptProfiles.contains(where: { $0.id == id && $0.mode.normalized == .dictate }) == false
{
self.promptModeSelectedPromptID = nil
diff --git a/build.sh b/build.sh
index 86d7fef4..85a3fbd0 100755
--- a/build.sh
+++ b/build.sh
@@ -1,30 +1,29 @@
#!/bin/bash
# FluidVoice Build Profile Router
-# Routes to existing scripts without changing build_dev.sh behavior.
+# Defaults to the private Fluid Intelligence build for local development.
#
# Usage:
-# ./build.sh # dev/full-compatible path (build_dev.sh)
-# ./build.sh dev # same as above
-# ./build.sh full # same as above
-# ./build.sh incremental # fast local loop (build_incremental.sh)
-# BUILD_PROFILE=incremental ./build.sh
+# ./build.sh # private FI build
+# ./build.sh fi # private FI build
set -euo pipefail
PROJECT_DIR="$(cd "$(dirname "$0")" && pwd)"
-PROFILE="${1:-${BUILD_PROFILE:-dev}}"
+PROFILE="${1:-${BUILD_PROFILE:-fi}}"
case "${PROFILE}" in
- dev|full)
- exec "${PROJECT_DIR}/build_dev.sh"
+ fi|private|dev|full)
+ exec "${PROJECT_DIR}/build_with_FI_incremental.sh"
;;
- incremental|fast)
- exec "${PROJECT_DIR}/build_incremental.sh"
+ public|oss|incremental|fast)
+ echo "Public/OSS builds are not available from this repo entrypoint."
+ echo "Use the private Fluid Intelligence build: sh build_with_FI_incremental.sh"
+ exit 1
;;
*)
echo "Unknown build profile: ${PROFILE}"
- echo "Valid profiles: dev, full, incremental (or fast)"
+ echo "Valid profiles: fi/private/dev/full"
exit 1
;;
esac
diff --git a/build_incremental.sh b/build_incremental.sh
deleted file mode 100755
index 92f05766..00000000
--- a/build_incremental.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-# FluidVoice Fast Incremental Build Wrapper
-# Keeps build_dev.sh unchanged; only overrides defaults for local fast loops.
-#
-# Defaults:
-# - Release configuration
-# - Incremental Swift compilation
-# - Install + launch enabled
-#
-# You can override any value:
-# INSTALL_APP=1 LAUNCH_APP=1 ./build_incremental.sh
-
-set -euo pipefail
-
-PROJECT_DIR="$(cd "$(dirname "$0")" && pwd)"
-
-CONFIGURATION="${CONFIGURATION:-Release}" \
-SWIFT_COMPILATION_MODE="${SWIFT_COMPILATION_MODE:-incremental}" \
-INSTALL_APP="${INSTALL_APP:-1}" \
-LAUNCH_APP="${LAUNCH_APP:-1}" \
-"${PROJECT_DIR}/build_dev.sh"