@juicesharp/rpiv-voice 1.20.0 → 2.0.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 CHANGED
@@ -5,6 +5,11 @@ All notable changes to `@juicesharp/rpiv-voice` are documented here.
5
5
  Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
  Versioning: [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.0.0] - 2026-07-21
9
+
10
+ ### Added
11
+ - Configuration is now read from the XDG config directory (`XDG_CONFIG_HOME`), falling back to the legacy location when the new path is absent.
12
+
8
13
  ## [1.20.0] - 2026-06-15
9
14
 
10
15
  ### Added
@@ -11,7 +11,7 @@
11
11
  * the return — see `rpiv-config.saveJsonConfig` for the full contract.
12
12
  */
13
13
 
14
- import { configPath, loadJsonConfig, saveJsonConfig } from "@juicesharp/rpiv-config";
14
+ import { configPath, loadJsonConfigWithLegacyFallback, saveJsonConfig } from "@juicesharp/rpiv-config";
15
15
 
16
16
  // ── Filesystem layout ────────────────────────────────────────────────────────
17
17
  const CONFIG_PATH = configPath("rpiv-voice", "voice.json");
@@ -42,7 +42,7 @@ export function isEqualizerEnabled(config: { equalizerEnabled?: boolean }): bool
42
42
  }
43
43
 
44
44
  export function loadVoiceConfig(): VoiceConfig {
45
- return loadJsonConfig<VoiceConfig>(CONFIG_PATH);
45
+ return loadJsonConfigWithLegacyFallback<VoiceConfig>("rpiv-voice", "voice.json");
46
46
  }
47
47
 
48
48
  export function saveVoiceConfig(config: VoiceConfig): boolean {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juicesharp/rpiv-voice",
3
- "version": "1.20.0",
3
+ "version": "2.0.0",
4
4
  "private": false,
5
5
  "description": "Pi extension. Voice dictation via /voice — local on-device STT with sherpa-onnx Whisper (base multilingual int8), microphone capture via decibri.",
6
6
  "keywords": [
@@ -79,7 +79,7 @@
79
79
  ]
80
80
  },
81
81
  "dependencies": {
82
- "@juicesharp/rpiv-config": "^1.20.0",
82
+ "@juicesharp/rpiv-config": "^2.0.0",
83
83
  "sherpa-onnx-node": "^1.13.0",
84
84
  "decibri": "^3.4.0"
85
85
  },