@codexstar/pi-listen 1.0.9 → 1.0.10

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.
@@ -990,6 +990,22 @@ export default function (pi: ExtensionAPI) {
990
990
  },
991
991
  });
992
992
 
993
+ // ─── Dedicated setup command (discoverable in /command list) ──────────────
994
+
995
+ pi.registerCommand("voice-setup", {
996
+ description: "Configure voice input — select backend, model, and language",
997
+ handler: async (_args, cmdCtx) => {
998
+ ctx = cmdCtx;
999
+ const diagnostics = scanEnvironment(TRANSCRIBE_SCRIPT);
1000
+ const result = await runVoiceOnboarding(cmdCtx, config, diagnostics);
1001
+ if (!result) {
1002
+ cmdCtx.ui.notify("Voice setup cancelled.", "warning");
1003
+ return;
1004
+ }
1005
+ await finalizeAndSaveSetup(cmdCtx, result.config, result.selectedScope, result.summaryLines, "setup-command");
1006
+ },
1007
+ });
1008
+
993
1009
  pi.registerCommand("btw:new", {
994
1010
  description: "Start a fresh BTW thread",
995
1011
  handler: async (args, cmdCtx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codexstar/pi-listen",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Voice input, first-run onboarding, and side-channel BTW conversations for Pi",
5
5
  "type": "module",
6
6
  "keywords": [