Чтение зеркала Supabase агентами (khb-sql, роли khb_agent / khb_agent_ceo, KHB_SQL_URL); отчёты для агента руководителя; промты; тесты; docs
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 3m24s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 11:50:22 +03:00
parent 77b6e4ae3b
commit 00bf1cdd39
18 changed files with 246 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ export function createLiveRunner(opts: LiveRunnerOptions): LiveRunner {
];
if (opts.model) args.push("--model", opts.model);
args.push(...CHAT_TOOLS);
const child = spawn(opts.bin, args, { cwd: call.cwd, stdio: ["pipe", "pipe", "pipe"], env: { ...process.env, ANTHROPIC_API_KEY: "" } });
const child = spawn(opts.bin, args, { cwd: call.cwd, stdio: ["pipe", "pipe", "pipe"], env: { ...process.env, ANTHROPIC_API_KEY: "", ...call.env } });
const p: Proc = { cwd: call.cwd, sessionId: call.sessionId, child, buf: "", stderr: "", turn: null, idle: null, exited: false, lastCost: call.resume ? null : 0, lastApiMs: call.resume ? null : 0, ready: Promise.resolve() };
child.stdout.on("data", (d) => {
p.buf += d;