@goodandready/dsh-voice 0.9.23 → 0.9.24
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 +10 -1
- package/package.json +1 -1
package/lib/updater.js
CHANGED
|
@@ -223,7 +223,16 @@ export function checkProfileLock(profileDir) {
|
|
|
223
223
|
if (finalPid !== null && isProcessAlive(finalPid)) {
|
|
224
224
|
return { locked: true, pid: finalPid };
|
|
225
225
|
}
|
|
226
|
-
|
|
226
|
+
const postStat = statSync(lockPath);
|
|
227
|
+
if (postStat.mtimeMs !== initialStat.mtimeMs || postStat.size !== initialStat.size) {
|
|
228
|
+
const live = readLockPid(lockPath);
|
|
229
|
+
if (live !== null && isProcessAlive(live)) return { locked: true, pid: live };
|
|
230
|
+
}
|
|
231
|
+
const postPid = readLockPid(lockPath);
|
|
232
|
+
if (postPid !== null && isProcessAlive(postPid)) {
|
|
233
|
+
return { locked: true, pid: postPid };
|
|
234
|
+
}
|
|
235
|
+
if (p1 === pid && p2 === pid && p3 === pid && finalPid === pid && postPid === pid) {
|
|
227
236
|
unlinkSync(lockPath);
|
|
228
237
|
return { locked: false, cleanedStale: true };
|
|
229
238
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-voice",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.24",
|
|
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",
|