sentinel-mcp 0.4.2 → 0.4.4

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -75,6 +75,10 @@ function updateEventStatus(usageId, status) {
75
75
  Authorization: `Bearer ${SENTINEL_TOKEN}`,
76
76
  },
77
77
  body: JSON.stringify({ status }),
78
+ }).then((res) => {
79
+ if (!res.ok) {
80
+ res.text().then((body) => log(`Status update failed (${res.status}): ${body}`)).catch(() => { });
81
+ }
78
82
  }).catch((err) => {
79
83
  log(`Failed to update event status: ${err.message}`);
80
84
  });
@@ -187,7 +191,7 @@ const wsClient = new WsClient({
187
191
  break;
188
192
  case "bypass":
189
193
  // Comment/lifecycle for active issue — push directly, no slot consumed
190
- updateEventStatus(usageId ?? null, "processing");
194
+ updateEventStatus(usageId ?? null, "delivered");
191
195
  if (result.event.notification) {
192
196
  pushNotification(`SENTINEL_EVENT_ID=${result.event.id}\n${result.event.notification.content}`, result.event.notification.meta);
193
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sentinel-mcp",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Sentinel MCP server — connects GitHub issues to Claude Code sessions",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",