@xdfnet/ispeak 1.6.8 → 1.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdfnet/ispeak",
3
- "version": "1.6.8",
3
+ "version": "1.6.10",
4
4
  "description": "Local macOS TTS daemon for AI coding assistants, powered by Volcengine streaming TTS.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/xdfnet/iSpeak#readme",
@@ -31,6 +31,12 @@
31
31
  "files": [
32
32
  "main.go",
33
33
  "clean_text.go",
34
+ "avaudioengine_player_darwin.go",
35
+ "stream_player_unsupported.go",
36
+ "main_test.go",
37
+ "Makefile",
38
+ "CLAUDE.md",
39
+ "AGENTS.md",
34
40
  "go.mod",
35
41
  "go.sum",
36
42
  "scripts/ispeak",
package/scripts/ispeak CHANGED
@@ -2,7 +2,7 @@
2
2
  # ispeak — iSpeak 控制命令
3
3
  set -euo pipefail
4
4
 
5
- VERSION="1.6.8"
5
+ VERSION="1.6.9"
6
6
  SOCK="$HOME/.config/iSpeak/ispeak.sock"
7
7
  PLIST="$HOME/Library/LaunchAgents/com.ispeak.plist"
8
8
  LEGACY_PLIST="$HOME/Library/LaunchAgents/com.iSpeak.plist"
@@ -0,0 +1,9 @@
1
+ //go:build !darwin || !cgo
2
+
3
+ package main
4
+
5
+ import "errors"
6
+
7
+ func newDefaultStreamPlayer() (StreamPlayer, error) {
8
+ return nil, errors.New("AVAudioEngine 播放器仅支持 macOS 且需要启用 cgo")
9
+ }