glance-cli 0.8.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,66 @@
1
+ # Changelog
2
+
3
+ All notable changes to glance-cli will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.8.0] - 2026-01-02
9
+
10
+ ### Added
11
+ - 🎙️ **Multilingual voice output** with ElevenLabs integration and local TTS fallback
12
+ - 🧠 **Intelligent language-specific voice selection** (French voices for French content, etc.)
13
+ - 🔍 **Smart service detection** with automatic free-first fallback (Ollama → OpenAI → Gemini)
14
+ - 🆓 **Cost-conscious architecture** - uses 100% free services by default
15
+ - 📊 **Service status reporting** with `--check-services` command
16
+ - 🎯 **Voice management** with `--list-voices` and language-aware selection
17
+ - 💰 **Cost control flags**: `--free-only`, `--prefer-quality`
18
+ - 🔊 **Audio export** to MP3/WAV files with `--audio-output`
19
+ - 🌍 **Enhanced multilingual support** with native pronunciation
20
+
21
+ ### Changed
22
+ - Service priority now favors free options (Ollama first, then premium APIs)
23
+ - Voice synthesis automatically adapts to content language
24
+ - CLI help updated with multilingual examples and cost-conscious workflows
25
+
26
+ ### Fixed
27
+ - @google/genai dependency version corrected to ^1.34.0
28
+ - Voice synthesis error handling and graceful fallbacks
29
+
30
+ ## [0.7.0] - 2026-01-01
31
+
32
+ ### Added
33
+ - Expert-level prompt engineering for 10x better AI results
34
+ - Production-grade error handling with retry logic
35
+ - Intelligent caching with TTL, compression, and LRU eviction
36
+ - Rich content extraction with 20+ metadata fields
37
+ - Multiple output formats (HTML, plain text, Markdown, JSON)
38
+ - Cache statistics and management commands
39
+ - Comprehensive input validation
40
+ - Timeout protection for all network operations
41
+
42
+ ### Changed
43
+ - Improved content selection algorithm with scoring
44
+ - Enhanced metadata extraction (author, dates, reading time)
45
+ - Better text formatting preservation
46
+ - Optimized cache key generation (deterministic, SHA-256)
47
+
48
+ ### Fixed
49
+ - Memory leaks in Puppeteer cleanup
50
+ - Resource exhaustion from unbounded cache growth
51
+ - Non-atomic writes causing corruption
52
+ - Generic error messages replaced with actionable hints
53
+
54
+ ## [0.6.0] - 2025-12-15
55
+
56
+ ### Added
57
+ - Initial release
58
+ - Basic web fetching and summarization
59
+ - Support for OpenAI, Gemini, and Ollama
60
+ - Simple caching
61
+ - Screenshot capability
62
+ - Export to Markdown and JSON
63
+
64
+ [0.8.0]: https://github.com/jkenley/glance-cli/releases/tag/v0.8.0
65
+ [0.7.0]: https://github.com/jkenley/glance-cli/releases/tag/v0.7.0
66
+ [0.6.0]: https://github.com/jkenley/glance-cli/releases/tag/v0.6.0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Kenley Jean
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.