diff --git a/clients/Package.resolved b/clients/Package.resolved index 48d49beb4f7..2347bf7f8f1 100644 --- a/clients/Package.resolved +++ b/clients/Package.resolved @@ -1,23 +1,5 @@ { "pins" : [ - { - "identity" : "ios-voice-processor", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Picovoice/ios-voice-processor.git", - "state" : { - "revision" : "083c02aed9a890400d647fd357f8a505bf672f58", - "version" : "1.2.0" - } - }, - { - "identity" : "porcupine", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Picovoice/porcupine", - "state" : { - "revision" : "08829fb824adee8aec1eb96c235c59f6cabc144a", - "version" : "3.0.4" - } - }, { "identity" : "sparkle", "kind" : "remoteSourceControl", diff --git a/clients/Package.swift b/clients/Package.swift index fee3920e456..c5c8887bef6 100644 --- a/clients/Package.swift +++ b/clients/Package.swift @@ -26,7 +26,8 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/sparkle-project/Sparkle", from: "2.0.0"), - .package(url: "https://github.com/Picovoice/porcupine", from: "3.0.0"), + // Porcupine removed — iOS-only SPM package breaks on Xcode 26.2. + // TODO: Re-add via C SDK wrapper (lib/mac/) for macOS wake word support. ], targets: [ .target( @@ -49,7 +50,7 @@ let package = Package( dependencies: [ "VellumAssistantShared", "Sparkle", - .product(name: "Porcupine", package: "porcupine"), + // Porcupine dep removed — stub engine doesn't need it ], path: "macos/vellum-assistant", exclude: ["Resources/Info.plist", "Resources/bg.png"], diff --git a/clients/macos/vellum-assistant/Features/Settings/WakeWordSettingsView.swift b/clients/macos/vellum-assistant/Features/Settings/WakeWordSettingsView.swift index 44b622e0b0e..7a11141ead1 100644 --- a/clients/macos/vellum-assistant/Features/Settings/WakeWordSettingsView.swift +++ b/clients/macos/vellum-assistant/Features/Settings/WakeWordSettingsView.swift @@ -1,4 +1,5 @@ import SwiftUI +import VellumAssistantShared /// Wake word settings tab — enable/disable wake word listening, /// configure Picovoice access key, sensitivity, and conversation timeout. diff --git a/clients/macos/vellum-assistant/Features/Voice/WakeWord/PorcupineWakeWordEngine.swift b/clients/macos/vellum-assistant/Features/Voice/WakeWord/PorcupineWakeWordEngine.swift index 113a79c9718..74652a1f0cc 100644 --- a/clients/macos/vellum-assistant/Features/Voice/WakeWord/PorcupineWakeWordEngine.swift +++ b/clients/macos/vellum-assistant/Features/Voice/WakeWord/PorcupineWakeWordEngine.swift @@ -35,7 +35,7 @@ final class PorcupineWakeWordEngine: WakeWordEngine { } /// Feed a buffer of 16-bit PCM audio samples for wake word detection. - func process(pcm: [Int16]) { + func processAudioFrame(_ frame: [Int16]) { // Stub — real implementation will call Porcupine's process() here } } diff --git a/clients/macos/vellum-assistant/Features/Voice/WakeWord/WakeWordCoordinator.swift b/clients/macos/vellum-assistant/Features/Voice/WakeWord/WakeWordCoordinator.swift index dd271718c55..c3d3f396aba 100644 --- a/clients/macos/vellum-assistant/Features/Voice/WakeWord/WakeWordCoordinator.swift +++ b/clients/macos/vellum-assistant/Features/Voice/WakeWord/WakeWordCoordinator.swift @@ -1,5 +1,6 @@ import Foundation import Combine +import VellumAssistantShared import os private let log = Logger(subsystem: "com.vellum.vellum-assistant", category: "WakeWordCoordinator") @@ -77,7 +78,7 @@ final class WakeWordCoordinator: ObservableObject { // Ignore if voice mode is already active guard voiceModeManager.state == .off else { - log.info("Wake word ignored — voice mode already active (state: \(String(describing: voiceModeManager.state)))") + log.info("Wake word ignored — voice mode already active (state: \(String(describing: self.voiceModeManager.state)))") return }