svamp-cli 0.2.346 → 0.2.358
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/bin/skills/artifact/SKILL.md +19 -5
- package/bin/skills/crew/SKILL.md +42 -11
- package/dist/{acpBackend-BZ1MJhQV.mjs → acpBackend-UaBD4zL3.mjs} +3 -0
- package/dist/{agentCommands-B2Nl7Fof.mjs → agentCommands-C_KvvYFp.mjs} +5 -5
- package/dist/{claudeAuth-iAerdaMr.mjs → claudeAuth-DMDvPNhO.mjs} +55 -6
- package/dist/cli.mjs +164 -86
- package/dist/{commands-D69mnkYu.mjs → commands-B19lVZjm.mjs} +10 -3
- package/dist/{commands-BB1Kcyt-.mjs → commands-Bmoy6Rlw.mjs} +34 -4
- package/dist/{commands-CiRCwjkJ.mjs → commands-CFBKkfX8.mjs} +9 -9
- package/dist/{commands-D1pZq3d4.mjs → commands-CcdoQIkb.mjs} +126 -25
- package/dist/{commands-BOpoVBOM.mjs → commands-DH_YQrAP.mjs} +5 -21
- package/dist/{commands-H4PsTGn8.mjs → commands-DRxANaS5.mjs} +65 -19
- package/dist/{commands-C2aODeVc.mjs → commands-nkvTnUJj.mjs} +29 -13
- package/dist/{detectIsolation-CzoDCEnh.mjs → detectIsolation-CrV8IFDv.mjs} +36 -16
- package/dist/{fleet-DM_Q7w69.mjs → fleet-Ca-UjJNL.mjs} +40 -15
- package/dist/friendlyName-B-OEwt0t.mjs +341 -0
- package/dist/{headlessCli-C8HzQvis.mjs → headlessCli-BpTXz6FD.mjs} +24 -16
- package/dist/{hookSettings-DYMTUgVA.mjs → hookSettings-CvvUhwCK.mjs} +294 -55
- package/dist/{friendlyName-1UZcyDhu.mjs → inboxGuard-CDqmIypF.mjs} +32 -347
- package/dist/index.mjs +10 -9
- package/dist/{loopVerify-B47sSjxe.mjs → loopVerify-CxAKJB5a.mjs} +1 -1
- package/dist/{notifyCommands-D-IKIxiq.mjs → notifyCommands-CCUE18Q-.mjs} +1 -1
- package/dist/package-DTTWvJbp.mjs +64 -0
- package/dist/{rpc-Cf0grcru.mjs → rpc-CAlAHQAy.mjs} +8 -3
- package/dist/{rpc-BB6RF4-F.mjs → rpc-CacreLQ8.mjs} +13 -9
- package/dist/{run-ChdsgaSD.mjs → run-Bc81iurl.mjs} +27 -8
- package/dist/{run-DkjwF-zA.mjs → run-DKOND4dO.mjs} +222 -73
- package/dist/{scheduler-BY30ZrB9.mjs → scheduler-IyLWBF8T.mjs} +28 -10
- package/dist/{serveAuth-DbVLRCRR.mjs → serveAuth-4M0vwMyj.mjs} +53 -11
- package/dist/{serveCommands-CUHUiYnZ.mjs → serveCommands-B-Ym_QXc.mjs} +8 -8
- package/dist/{store-Bn0ByYev.mjs → store-D8dok6_d.mjs} +62 -14
- package/package.json +3 -3
- package/dist/package-DtuINqf5.mjs +0 -64
|
@@ -261,6 +261,10 @@ async function createPorcupineWakeWord(opts) {
|
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
+
const DEFAULT_REALTIME_MODEL = "gpt-realtime-mini";
|
|
265
|
+
function resolveRealtimeModel(explicit, env) {
|
|
266
|
+
return explicit || env.WISE_VOICE_MODEL || DEFAULT_REALTIME_MODEL;
|
|
267
|
+
}
|
|
264
268
|
async function runWiseVoiceCli(opts = {}) {
|
|
265
269
|
const resolved = resolveModel({ provider: "openai" }, process.env);
|
|
266
270
|
const mis = describeMisconfiguration(resolved);
|
|
@@ -286,30 +290,34 @@ async function runWiseVoiceCli(opts = {}) {
|
|
|
286
290
|
}
|
|
287
291
|
}
|
|
288
292
|
const audio = createSoxAudioAdapter();
|
|
289
|
-
|
|
293
|
+
const realtimeModel = resolveRealtimeModel(opts.model, process.env);
|
|
294
|
+
console.log(`\u25CF WISE headless voice \u2014 ${tools.length} tools | model ${realtimeModel} | ${wakeWord ? `wake: "${opts.wakeKeywordPath}"` : "always-listening (Ctrl-C to stop)"}`);
|
|
290
295
|
const loop = runHeadlessVoice({
|
|
291
296
|
apiKey: resolved.apiKey,
|
|
292
297
|
baseUrl: resolved.baseUrl,
|
|
293
|
-
config: { instructions, tools, voice: opts.voice, model:
|
|
298
|
+
config: { instructions, tools, voice: opts.voice, model: realtimeModel },
|
|
299
|
+
// #1710
|
|
294
300
|
audio,
|
|
295
301
|
wakeWord,
|
|
296
302
|
onTool: (t) => console.log(` \u21B3 ${t.name}: ${t.output.slice(0, 120).replace(/\n/g, " ")}`),
|
|
297
303
|
onError: (e) => console.error(` ! ${e.message}`)
|
|
298
304
|
});
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
305
|
+
await new Promise((resolve) => {
|
|
306
|
+
const shutdown = () => {
|
|
307
|
+
console.log("\nstopping\u2026");
|
|
308
|
+
try {
|
|
309
|
+
loop.stop();
|
|
310
|
+
} catch {
|
|
311
|
+
}
|
|
312
|
+
try {
|
|
313
|
+
audio.close();
|
|
314
|
+
} catch {
|
|
315
|
+
}
|
|
316
|
+
resolve();
|
|
317
|
+
};
|
|
318
|
+
process.on("SIGINT", shutdown);
|
|
319
|
+
process.on("SIGTERM", shutdown);
|
|
320
|
+
});
|
|
313
321
|
}
|
|
314
322
|
|
|
315
323
|
export { runWiseVoiceCli };
|