@goodandready/dsh-voice 0.9.22 → 0.9.23
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/lib/updater.js +5 -3
- package/package.json +1 -1
package/lib/updater.js
CHANGED
|
@@ -219,12 +219,14 @@ export function checkProfileLock(profileDir) {
|
|
|
219
219
|
const live = readLockPid(lockPath);
|
|
220
220
|
if (live !== null && isProcessAlive(live)) return { locked: true, pid: live };
|
|
221
221
|
}
|
|
222
|
-
|
|
222
|
+
const finalPid = readLockPid(lockPath);
|
|
223
|
+
if (finalPid !== null && isProcessAlive(finalPid)) {
|
|
224
|
+
return { locked: true, pid: finalPid };
|
|
225
|
+
}
|
|
226
|
+
if (p1 === pid && p2 === pid && p3 === pid && finalPid === pid) {
|
|
223
227
|
unlinkSync(lockPath);
|
|
224
228
|
return { locked: false, cleanedStale: true };
|
|
225
229
|
}
|
|
226
|
-
const pFinal = readLockPid(lockPath);
|
|
227
|
-
if (pFinal !== null && isProcessAlive(pFinal)) return { locked: true, pid: pFinal };
|
|
228
230
|
return { locked: false };
|
|
229
231
|
} catch {
|
|
230
232
|
if (!existsSync(lockPath)) return { locked: false };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-voice",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.23",
|
|
4
4
|
"description": "Voice input for DeepSeek Harness: dictation chunked by pauses and voice messages, each with its own provider fallback chain (Deepgram, Groq, HuggingFace, local whisper.cpp, plus any OpenAI-compatible API of your own).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|