pi-voice-input 0.2.2 → 0.2.3

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.
@@ -314,7 +314,7 @@ function recordingDeviceName(config: VoiceConfig, recorderExecutable: string): s
314
314
  }
315
315
 
316
316
  function recordingStatusText(deviceName: string): string {
317
- return `Recording with ${deviceName || "default microphone"}`;
317
+ return `● Mic on: ${deviceName || "default microphone"}`;
318
318
  }
319
319
 
320
320
  function readState(config: VoiceConfig): RecordingState | null {
@@ -905,7 +905,7 @@ async function startRecording(ctx: ExtensionContext) {
905
905
  if (existing && pidAlive(existing.pid)) {
906
906
  const deviceName = existing.deviceName || recordingDeviceName(config, commandExists("pw-record") ? "pw-record" : "arecord");
907
907
  ctx.ui.notify(`Already recording: pid=${existing.pid}. ${recordingStatusText(deviceName)}`, "warning");
908
- ctx.ui.setStatus("voice-input", ctx.ui.theme.fg("error", recordingStatusText(deviceName)));
908
+ ctx.ui.setStatus("voice-input", ctx.ui.theme.fg("accent", recordingStatusText(deviceName)));
909
909
  return;
910
910
  }
911
911
  if (existing) clearState(config);
@@ -936,7 +936,7 @@ async function startRecording(ctx: ExtensionContext) {
936
936
  deviceName,
937
937
  });
938
938
 
939
- ctx.ui.setStatus("voice-input", ctx.ui.theme.fg("error", recordingStatusText(deviceName)));
939
+ ctx.ui.setStatus("voice-input", ctx.ui.theme.fg("accent", recordingStatusText(deviceName)));
940
940
  ctx.ui.notify(`${recordingStatusText(deviceName)}. Press Ctrl+Shift+R again to stop/transcribe.`, "info");
941
941
  }
942
942
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-voice-input",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Press Ctrl+Shift+R to dictate prompts into Pi using VolcEngine ASR",
5
5
  "type": "module",
6
6
  "keywords": [