Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
fix(triage): clarify JSON parse errors in gh wrapper
diegosouzapwb34dc46bd03c
diff --git a/scripts/features/lib/github.mjs b/scripts/features/lib/github.mjsindex c4f212dfd5..800708db42 100644--- a/scripts/features/lib/github.mjs+++ b/scripts/features/lib/github.mjs@@ -7,7 +7,13 @@ import { execFileSync } from "node:child_process";function runJson(cmd, args) {const out = execFileSync(cmd, args, { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] });- return JSON.parse(out);+ try {+ return JSON.parse(out);+ } catch (e) {+ throw new Error(+ `Failed to parse JSON from ${cmd}: ${e.message}\nOutput (first 200 chars): ${out.slice(0, 200)}`+ );+ }}function runText(cmd, args) {