voice-mode-install 6.0.3__tar.gz → 6.0.5__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: voice-mode-install
3
- Version: 6.0.3
3
+ Version: 6.0.5
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "voice-mode-install"
7
- version = "6.0.3"
7
+ version = "6.0.5"
8
8
  description = "Installer for VoiceMode - handles system dependencies and installation"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -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
@@ -32,7 +33,7 @@ LOGO = """
32
33
  ║ ██║ ╚═╝ ██║╚██████╔╝██████╔╝███████╗ ║
33
34
  ║ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ║
34
35
  ║ ║
35
- 🎙️ VoiceMode Installer
36
+ VoiceMode Installer
36
37
  ║ ║
37
38
  ╚════════════════════════════════════════════╝
38
39
  """
@@ -40,7 +41,9 @@ LOGO = """
40
41
 
41
42
  def print_logo():
42
43
  """Display the VoiceMode logo in Claude Code orange."""
43
- click.echo(click.style(LOGO, fg=(208, 128, 0), bold=True))
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 for Claude Code orange: \033[38;5;208m
59
- click.echo(click.style(f"⚠️ {message}", fg=(208, 128, 0)))
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
- ['uv', 'pip', 'index', 'versions', 'voice-mode'],
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
- # Parse output to get latest version
96
- for line in result.stdout.split('\n'):
97
- if 'Available versions:' in line or line.strip().startswith('voice-mode'):
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