pi-free 2.0.5 → 2.0.7

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 CHANGED
@@ -5,6 +5,43 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.0.6] - 2026-05-02
9
+
10
+ ### Security
11
+
12
+ - **5x S5852 regex super-linear runtime** — Replaced all flagged regex patterns
13
+ (nested quantifiers in model size extraction) with manual char-by-char string
14
+ parsing in `parseModelSize()`, `normalizeSizeTokenOrder()`, and test helpers.
15
+ Eliminates catastrophic backtracking risk.
16
+
17
+ - **4x S4036 PATH variable security** —
18
+ - `open-browser.ts`: Added `resolveExe()` helper that prefers known absolute
19
+ paths (`/usr/bin/open`, `C:\Windows\System32\...\powershell.exe`) before
20
+ falling back to PATH lookup
21
+ - `check-extensions.mjs`: Removed hardcoded PATH override; resolved `npm` via
22
+ `execFileSync` with known absolute paths
23
+
24
+ - **1x S4721 command injection** — Replaced `execSync` with `execFileSync` in
25
+ `resolveExe()` helper. `execFileSync` takes separate arguments and never
26
+ spawns a shell, eliminating the injection vector.
27
+
28
+ ### Changed
29
+
30
+ - **Banner image** — Converted `banner.svg` to `banner.png` for reliable
31
+ rendering across all GitHub surfaces (mobile, email, dark mode readers).
32
+
33
+ ## [2.0.5] - 2026-05-02
34
+
35
+ ### Added
36
+
37
+ - **NVIDIA model probe auto-discovery** — Lazy auto-probe for NVIDIA models on
38
+ first `session_start` (once per session). Broken 404 models detected and
39
+ auto-hidden without requiring manual `/probe-nvidia`.
40
+
41
+ ### Changed
42
+
43
+ - **Ollama provider updates** — Improved cloud model detection and configuration.
44
+
8
45
  ## [2.0.4] - 2026-05-02
9
46
 
10
47
  ### Fixed