SPB Git
335 B · 7 lines typescript
1/** Runs one controlled-agent execution (ai_executions row) — queue `agent-run`, payload { executionId }. */2import { runExecution } from "../../lib/agents/runner";3export async function handleAgentRun(d: { executionId: string }) {4  if (!d?.executionId) return { skipped: "no executionId" };5  return runExecution(d.executionId);6}7
Files · main
Menu

Theme