Files
buzz/beehive/test/binding-runner.ts
2026-09-10 02:26:57 -04:00

5 lines
339 B
TypeScript

import { appendFileSync } from 'node:fs';
if (process.env.BEEHIVE_FIXTURE !== '1') throw Error('Fixture only');
if (!process.argv.includes('--descendant')) appendFileSync('binding-B.jsonl', JSON.stringify({ binding: 'B', pid: process.pid, instructions: process.env.BUZZ_AGENT_SYSTEM_PROMPT ?? null }) + '\n');
await import('./runner.ts');