@chamade/mcp-server 1.1.5 → 1.1.7
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
|
@@ -696,6 +696,7 @@ function channelWatchCall(callId) {
|
|
|
696
696
|
else if (!_closedWatchers.has(callId)) {
|
|
697
697
|
console.error(`[chamade-channel] Call ${callId}: max retries (${MAX_RETRIES}) reached, giving up`);
|
|
698
698
|
channelUnwatchCall(callId);
|
|
699
|
+
channelPush(`Call ${callId} ended (connection lost). Use chamade_leave to clean up, or chamade_join to reconnect.`, { type: "call_ended", call_id: callId });
|
|
699
700
|
}
|
|
700
701
|
});
|
|
701
702
|
ws.on("error", () => {
|
|
@@ -817,8 +818,7 @@ async function channelSyncActiveCalls() {
|
|
|
817
818
|
try {
|
|
818
819
|
const data = (await chamadeGet("/api/calls"));
|
|
819
820
|
for (const call of data.calls) {
|
|
820
|
-
if (call.state
|
|
821
|
-
call.state !== "error" &&
|
|
821
|
+
if (call.state === "active" &&
|
|
822
822
|
!_callWatchers.has(call.id) &&
|
|
823
823
|
!_closedWatchers.has(call.id)) {
|
|
824
824
|
channelWatchCall(call.id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chamade/mcp-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "MCP server for Chamade — voice gateway for AI agents. Join Discord, Teams, Meet, Telegram, SIP, Zoom meetings and interact via speech and text. Supports Claude Code channel mode for push events.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|