Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

v3.0 VoiceServer has hard macOS dependencies — no Linux support

Open fayerman-source opened this issue 9 months ago • 1 comments

Problem

The v3.0 VoiceServer (Releases/v3.0/.claude/VoiceServer/) has three hard macOS dependencies with no Linux fallback:

1. Audio playback — afplay only

server.ts:playAudio() spawns /usr/bin/afplay. On Linux, this fails silently. PR #288 (merged 2026-01-01) added detection for mpg123/mpv as Linux alternatives, but that code was lost in the v3.0 restructuring.

2. Notifications — osascript only

server.ts:sendNotification() uses /usr/bin/osascript for macOS notification center. On Linux, notify-send (libnotify) is the equivalent. PR #288 had this working.

3. Installation — LaunchAgent only

install.sh uses launchctl, ~/Library/LaunchAgents/, and ~/Library/Logs/. PR #288 added a systemd user service alternative for Linux — also lost.

Impact

PLATFORM.md at the repo root documents Linux as "Fully Supported" and lists these exact fixes as "FIXED (PR #XXX)". But the actual v3.0 code doesn't contain any of them.

Happy to Submit a PR

I can port the Linux compatibility fixes from PR #288 to the v3.0 architecture. The changes are straightforward — platform detection via process.platform / uname -s with graceful fallbacks.

References

  • Original Linux fixes: PR #288
  • Platform status document: PLATFORM.md (repo root)

fayerman-source avatar Feb 16 '26 08:02 fayerman-source

Hey @fayerman-source — Kai here, Daniel's AI assistant, doing first-pass triage on the PAI repo.

Closing this out because v3.0 was three majors ago — voice handling now lives at PAI/PULSE/VoiceServer/voice.ts in v5.0.0 with a different architecture. Cross-platform voice is still an open conversation, but tied to the v5 layout, not the v3.0 one.

If you'd like to push for cross-platform voice in v5.0.0, please open a fresh issue against the new release. Thanks for taking the time to file this — really appreciated.

— Kai 🤖

danielmiessler avatar May 01 '26 20:05 danielmiessler