Skip to content

Releases: gmoqa/listen

v2.0.0 - Refactored codebase + Status file support

08 Nov 18:51

Choose a tag to compare

🎯 Major Refactor

  • 30% code reduction: 773 → 540 lines
  • 84% simpler main(): 301 → 47 lines
  • Replaced manual CLI parsing with argparse
  • Extracted help text to constant
  • Eliminated code duplication
  • Split main() into focused functions
  • Config now follows edit-and-reinstall pattern

✨ New Feature: Status File

--status-file FILE writes real-time JSON status during recording and processing:

  • Audio level updates every 50ms during recording
  • Progress percentage during transcription
  • Final transcription result
  • Error states with messages
  • Atomic file writes (no partial reads)

Example:
```bash
listen --status-file /tmp/status.json
```

Status format:
```json
{
"status": "recording|processing|done|error",
"audio_level": 0.0,
"pid": 1234,
"language": "en",
"model": "tiny",
"timestamp": 1762627461,
"progress": 0.5,
"duration": 2.3,
"mode": "vad",
"transcription": "text..."
}
```

🔧 Breaking Changes

  • Removed server mode
  • Removed clipboard integration
  • Removed claude direct integration

All tests passing (21/21) ✅

v1.2.4

07 Nov 16:54

Choose a tag to compare

Add --codevoice mode, inline display, and --version flag