@wahooks/channel 2.2.0 → 2.3.0
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -723,7 +723,8 @@ async function main() {
|
|
|
723
723
|
const transport = new StdioServerTransport();
|
|
724
724
|
transport.onclose = () => {
|
|
725
725
|
claudeConnected = false;
|
|
726
|
-
console.error("[wahooks-channel] Claude disconnected");
|
|
726
|
+
console.error("[wahooks-channel] Claude disconnected — exiting");
|
|
727
|
+
process.exit(0);
|
|
727
728
|
};
|
|
728
729
|
await mcp.connect(transport);
|
|
729
730
|
claudeConnected = true;
|
|
@@ -778,7 +779,6 @@ async function main() {
|
|
|
778
779
|
}
|
|
779
780
|
// Clear queue after all delivered
|
|
780
781
|
fs.writeFileSync(PENDING_FILE, "[]", { mode: 0o600 });
|
|
781
|
-
console.error("[wahooks-channel] Pending queue cleared");
|
|
782
782
|
}
|
|
783
783
|
// Poll every 10s
|
|
784
784
|
setInterval(pollPending, 10_000);
|