open-agents-ai 0.185.45 → 0.185.46
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/dist/index.js +17 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41474,6 +41474,11 @@ function detectPersonaPlexCapability() {
|
|
|
41474
41474
|
return fail("No NVIDIA GPU detected (nvidia-smi not found)");
|
|
41475
41475
|
}
|
|
41476
41476
|
}
|
|
41477
|
+
function fileLink2(filePath, label) {
|
|
41478
|
+
const url = `file://${filePath.replace(/\\/g, "/")}`;
|
|
41479
|
+
const text = label ?? filePath;
|
|
41480
|
+
return `\x1B]8;;${url}\x1B\\${text}\x1B]8;;\x1B\\`;
|
|
41481
|
+
}
|
|
41477
41482
|
function isPersonaPlexRunning() {
|
|
41478
41483
|
if (!existsSync37(PID_FILE))
|
|
41479
41484
|
return false;
|
|
@@ -41995,7 +42000,7 @@ print('Converted')
|
|
|
41995
42000
|
if (child.pid)
|
|
41996
42001
|
process.kill(child.pid, 0);
|
|
41997
42002
|
} catch {
|
|
41998
|
-
log(`PersonaPlex daemon exited unexpectedly. Check ${LOG_FILE}`);
|
|
42003
|
+
log(`PersonaPlex daemon exited unexpectedly. Check ${fileLink2(LOG_FILE, "daemon.log")}`);
|
|
41999
42004
|
return null;
|
|
42000
42005
|
}
|
|
42001
42006
|
try {
|
|
@@ -42014,7 +42019,7 @@ print('Converted')
|
|
|
42014
42019
|
if (elapsed % 10 === 0)
|
|
42015
42020
|
log(`Still loading... (${elapsed}s)`);
|
|
42016
42021
|
}
|
|
42017
|
-
log(`PersonaPlex daemon failed to start within 120s. Check ${LOG_FILE}`);
|
|
42022
|
+
log(`PersonaPlex daemon failed to start within 120s. Check ${fileLink2(LOG_FILE, "daemon.log")}`);
|
|
42018
42023
|
return null;
|
|
42019
42024
|
}
|
|
42020
42025
|
function stopPersonaPlex() {
|
|
@@ -49835,7 +49840,11 @@ async function handleSlashCommand(input, ctx) {
|
|
|
49835
49840
|
if (url) {
|
|
49836
49841
|
renderInfo(`PersonaPlex ready at ${url} \u2014 use /call for full-duplex voice`);
|
|
49837
49842
|
} else {
|
|
49838
|
-
|
|
49843
|
+
{
|
|
49844
|
+
const _lf = __require("path").join(__require("os").homedir(), ".open-agents", "voice", "personaplex", "daemon.log");
|
|
49845
|
+
const _url = `file://${_lf.replace(/\\\\/g, "/")}`;
|
|
49846
|
+
renderError(`PersonaPlex daemon failed to start. Check \x1B]8;;${_url}\x1B\\daemon.log\x1B]8;;\x1B\\`);
|
|
49847
|
+
}
|
|
49839
49848
|
}
|
|
49840
49849
|
}
|
|
49841
49850
|
} catch (e) {
|
|
@@ -49852,7 +49861,11 @@ async function handleSlashCommand(input, ctx) {
|
|
|
49852
49861
|
if (url) {
|
|
49853
49862
|
renderInfo(`PersonaPlex ready at ${url} \u2014 use /call for full-duplex voice`);
|
|
49854
49863
|
} else {
|
|
49855
|
-
|
|
49864
|
+
{
|
|
49865
|
+
const _lf = __require("path").join(__require("os").homedir(), ".open-agents", "voice", "personaplex", "daemon.log");
|
|
49866
|
+
const _url = `file://${_lf.replace(/\\\\/g, "/")}`;
|
|
49867
|
+
renderError(`PersonaPlex daemon failed to start. Check \x1B]8;;${_url}\x1B\\daemon.log\x1B]8;;\x1B\\`);
|
|
49868
|
+
}
|
|
49856
49869
|
}
|
|
49857
49870
|
}).catch(() => {
|
|
49858
49871
|
});
|
package/package.json
CHANGED