an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
fix(antigravity): agy hook shim must stay silent to allow — empty object = deny
Gulum71b84e457a19
diff --git a/src/main/hive.ts b/src/main/hive.tsindex 319c03bb..1d00fedf 100644--- a/src/main/hive.ts+++ b/src/main/hive.ts@@ -1062,8 +1062,11 @@ process.stdin.on('end', () => {};let resp = '';const done = () => {- // Translate the HookServer's Claude-shaped reply into agy's contract.- let out = {};+ // Translate the HookServer's Claude-shaped reply into agy's contract. CRITICAL:+ // agy treats ANY object written to stdout as a decision and FAIL-CLOSES (an+ // empty/decision-less object = DENY). So emit JSON ONLY when there's a real+ // directive (deny/block/steer); otherwise write NOTHING — no output = allow.+ let out = null;try {const r = JSON.parse(resp || '{}');if (r.decision === 'block') out = { decision: 'block', reason: r.reason, stopReason: r.reason, systemMessage: r.reason };@@ -1071,7 +1074,7 @@ process.stdin.on('end', () => {else if (r.continue === false) out = { decision: 'block', stopReason: r.stopReason };else if (r.hookSpecificOutput && r.hookSpecificOutput.additionalContext) out = { systemMessage: r.hookSpecificOutput.additionalContext };} catch (_) {}- try { process.stdout.write(JSON.stringify(out)); } catch (_) {}+ if (out) { try { process.stdout.write(JSON.stringify(out)); } catch (_) {} }process.exit(0);};try {