patchcord 0.3.92 → 0.3.94
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/patchcord.mjs +2 -2
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -493,7 +493,7 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
|
|
|
493
493
|
const sseResult = await new Promise((resolve, reject) => {
|
|
494
494
|
const timeout = setTimeout(() => {
|
|
495
495
|
reject(new Error("Session expired. Run npx patchcord@latest again."));
|
|
496
|
-
},
|
|
496
|
+
}, 15 * 60 * 1000);
|
|
497
497
|
|
|
498
498
|
function connect() {
|
|
499
499
|
const req = http.get(`${apiUrl}/api/connect/session/${sessionId}/wait`, {
|
|
@@ -969,7 +969,7 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
|
|
|
969
969
|
if (isOpenClaw) {
|
|
970
970
|
console.log(`\n${dim}Run${r} ${bold}openclaw gateway restart${r}${dim}, then tools will be available in your channels.${r}`);
|
|
971
971
|
} else {
|
|
972
|
-
console.log(`\n${
|
|
972
|
+
console.log(`\n ${green}→${r} ${bold}Restart your ${toolName} session${r}, then say: ${cyan}${bold}check inbox${r}`);
|
|
973
973
|
}
|
|
974
974
|
process.exit(0);
|
|
975
975
|
}
|