voice-mode-install 6.0.3__py3-none-any.whl → 6.0.4__py3-none-any.whl
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.
Potentially problematic release.
This version of voice-mode-install might be problematic. Click here for more details.
- {voice_mode_install-6.0.3.dist-info → voice_mode_install-6.0.4.dist-info}/METADATA +1 -1
- {voice_mode_install-6.0.3.dist-info → voice_mode_install-6.0.4.dist-info}/RECORD +6 -6
- voicemode_install/cli.py +11 -13
- voicemode_install/dependencies.yaml +0 -19
- {voice_mode_install-6.0.3.dist-info → voice_mode_install-6.0.4.dist-info}/WHEEL +0 -0
- {voice_mode_install-6.0.3.dist-info → voice_mode_install-6.0.4.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: voice-mode-install
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.4
|
|
4
4
|
Summary: Installer for VoiceMode - handles system dependencies and installation
|
|
5
5
|
Project-URL: Homepage, https://github.com/mbailey/voicemode
|
|
6
6
|
Project-URL: Repository, https://github.com/mbailey/voicemode
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
voicemode_install/__init__.py,sha256=_giwAMYtVyzpItm8m9Ebmfw1THrAAqGjNpRQQohRRs0,287
|
|
2
2
|
voicemode_install/checker.py,sha256=DQLIcbNLagkqWG10xyJ-5aH5IuBRoU7X4ZUfcD6M8yw,7314
|
|
3
|
-
voicemode_install/cli.py,sha256=
|
|
4
|
-
voicemode_install/dependencies.yaml,sha256=
|
|
3
|
+
voicemode_install/cli.py,sha256=IHw4Cgeuhajx4cKTn1RvAKQuf59SBR1bwQnMMM5xBFs,18535
|
|
4
|
+
voicemode_install/dependencies.yaml,sha256=v9EIa4yMnnDoqZtt8jcp_9XSdqOVjr6lAFOVb7c-jw0,13149
|
|
5
5
|
voicemode_install/hardware.py,sha256=j4bDv1v8bqyhiysWsTD4F-qEJRG-a8Z1o-qPfxofQt4,3529
|
|
6
6
|
voicemode_install/installer.py,sha256=rd4v4HcSGQek-Ta__dV8IG1apaDRtERB08eGEp_9gwQ,5399
|
|
7
7
|
voicemode_install/logger.py,sha256=UpNegF2D-y-7RthzhzSFMiHPRaFV09F2AUxgjm5b2Pw,2859
|
|
8
8
|
voicemode_install/system.py,sha256=8RBJOPH331EBM8zFYySG2c-zZLpQgPmcGWRMZ6NmUp4,5108
|
|
9
|
-
voice_mode_install-6.0.
|
|
10
|
-
voice_mode_install-6.0.
|
|
11
|
-
voice_mode_install-6.0.
|
|
12
|
-
voice_mode_install-6.0.
|
|
9
|
+
voice_mode_install-6.0.4.dist-info/METADATA,sha256=NTPFyL6VVBux9txTxCpGyDU0tZf3kYYRGkSqHQpFjV4,6227
|
|
10
|
+
voice_mode_install-6.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
11
|
+
voice_mode_install-6.0.4.dist-info/entry_points.txt,sha256=q6994IQ1Ex4weqoPy9VrL_k7NuKSG5wgaY-_hQjzjnc,66
|
|
12
|
+
voice_mode_install-6.0.4.dist-info/RECORD,,
|
voicemode_install/cli.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"""Main CLI for VoiceMode installer."""
|
|
2
2
|
|
|
3
|
+
import json
|
|
3
4
|
import shutil
|
|
4
5
|
import subprocess
|
|
5
6
|
import sys
|
|
@@ -40,7 +41,9 @@ LOGO = """
|
|
|
40
41
|
|
|
41
42
|
def print_logo():
|
|
42
43
|
"""Display the VoiceMode logo in Claude Code orange."""
|
|
43
|
-
|
|
44
|
+
# Use ANSI 256-color code 208 (dark orange) which matches Claude Code orange (RGB 208, 128, 0)
|
|
45
|
+
# This works on xterm-256color and other 256-color terminals
|
|
46
|
+
click.echo('\033[38;5;208m' + '\033[1m' + LOGO + '\033[0m')
|
|
44
47
|
|
|
45
48
|
|
|
46
49
|
def print_step(message: str):
|
|
@@ -55,8 +58,8 @@ def print_success(message: str):
|
|
|
55
58
|
|
|
56
59
|
def print_warning(message: str):
|
|
57
60
|
"""Print a warning message in Claude Code orange."""
|
|
58
|
-
# Use ANSI color code
|
|
59
|
-
click.echo(
|
|
61
|
+
# Use ANSI 256-color code 208 (dark orange)
|
|
62
|
+
click.echo('\033[38;5;208m' + f"⚠️ {message}" + '\033[0m')
|
|
60
63
|
|
|
61
64
|
|
|
62
65
|
def print_error(message: str):
|
|
@@ -85,22 +88,17 @@ def get_installed_version() -> str | None:
|
|
|
85
88
|
def get_latest_version() -> str | None:
|
|
86
89
|
"""Get the latest VoiceMode version from PyPI."""
|
|
87
90
|
try:
|
|
91
|
+
# Use PyPI JSON API to get latest version
|
|
88
92
|
result = subprocess.run(
|
|
89
|
-
['
|
|
93
|
+
['curl', '-s', 'https://pypi.org/pypi/voice-mode/json'],
|
|
90
94
|
capture_output=True,
|
|
91
95
|
text=True,
|
|
92
96
|
timeout=10
|
|
93
97
|
)
|
|
94
98
|
if result.returncode == 0:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
# Extract first version listed (usually the latest)
|
|
99
|
-
parts = line.split()
|
|
100
|
-
for part in parts:
|
|
101
|
-
if part[0].isdigit():
|
|
102
|
-
return part.rstrip(',')
|
|
103
|
-
except (subprocess.CalledProcessError, FileNotFoundError, subprocess.TimeoutExpired):
|
|
99
|
+
data = json.loads(result.stdout)
|
|
100
|
+
return data['info']['version']
|
|
101
|
+
except (subprocess.CalledProcessError, FileNotFoundError, subprocess.TimeoutExpired, json.JSONDecodeError, KeyError):
|
|
104
102
|
pass
|
|
105
103
|
return None
|
|
106
104
|
|
|
@@ -243,12 +243,6 @@ voicemode:
|
|
|
243
243
|
required: true
|
|
244
244
|
check_command: make --version
|
|
245
245
|
|
|
246
|
-
- name: libsdl2-dev
|
|
247
|
-
description: SDL2 development library (for whisper-stream real-time transcription)
|
|
248
|
-
required: true
|
|
249
|
-
check_command: pkg-config --exists sdl2
|
|
250
|
-
note: Required for building whisper-stream binary
|
|
251
|
-
|
|
252
246
|
- name: portaudio19-dev
|
|
253
247
|
description: Audio I/O library (for real-time transcription)
|
|
254
248
|
required: true
|
|
@@ -284,12 +278,6 @@ voicemode:
|
|
|
284
278
|
required: true
|
|
285
279
|
check_command: make --version
|
|
286
280
|
|
|
287
|
-
- name: SDL2-devel
|
|
288
|
-
description: SDL2 development library (for whisper-stream real-time transcription)
|
|
289
|
-
required: true
|
|
290
|
-
check_command: pkg-config --exists sdl2
|
|
291
|
-
note: Required for building whisper-stream binary
|
|
292
|
-
|
|
293
281
|
- name: portaudio-devel
|
|
294
282
|
description: Audio I/O library (for real-time transcription)
|
|
295
283
|
required: true
|
|
@@ -308,13 +296,6 @@ voicemode:
|
|
|
308
296
|
check_command: cmake --version
|
|
309
297
|
install_via: homebrew
|
|
310
298
|
|
|
311
|
-
- name: sdl2
|
|
312
|
-
description: SDL2 library (for whisper-stream real-time transcription)
|
|
313
|
-
required: true
|
|
314
|
-
check_command: brew list sdl2
|
|
315
|
-
install_via: homebrew
|
|
316
|
-
note: Required for building whisper-stream binary
|
|
317
|
-
|
|
318
299
|
- name: portaudio
|
|
319
300
|
description: Audio I/O library
|
|
320
301
|
required: true
|
|
File without changes
|
|
File without changes
|