Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d6bc0fdd64 |
@@ -195,6 +195,15 @@ function processJSONChunk(chunk: string, agent?: ClaudeAgent): void {
|
|||||||
],
|
],
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Check if MCP servers are expected but failed
|
||||||
|
if (parsedChunk.mcp_servers?.length > 0) {
|
||||||
|
const failedServers = parsedChunk.mcp_servers.filter((server: any) => server.status === "failed");
|
||||||
|
if (failedServers.length > 0) {
|
||||||
|
const failedNames = failedServers.map((server: any) => server.name).join(", ");
|
||||||
|
throw new Error(`MCP servers failed to start: ${failedNames}. This indicates a configuration or environment issue that prevents GitHub integration from working.`);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -25858,6 +25858,13 @@ function processJSONChunk(chunk, agent) {
|
|||||||
]
|
]
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
if (parsedChunk.mcp_servers?.length > 0) {
|
||||||
|
const failedServers = parsedChunk.mcp_servers.filter((server) => server.status === "failed");
|
||||||
|
if (failedServers.length > 0) {
|
||||||
|
const failedNames = failedServers.map((server) => server.name).join(", ");
|
||||||
|
throw new Error(`MCP servers failed to start: ${failedNames}. This indicates a configuration or environment issue that prevents GitHub integration from working.`);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "assistant":
|
case "assistant":
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pullfrog/action",
|
"name": "@pullfrog/action",
|
||||||
"version": "0.0.16",
|
"version": "0.0.17",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user