Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline (Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/* packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
29 lines
734 B
TypeScript
29 lines
734 B
TypeScript
import { createDb } from "../packages/db/src/index.js";
|
|
|
|
async function run() {
|
|
const { prisma } = createDb("postgres://ingowagner@127.0.0.1:5432/evoo");
|
|
const runs = await prisma.run.findMany({
|
|
where: {
|
|
bot: {
|
|
name: { in: ["Apex Quant", "Code Architect", "DevOps Engineer", "Security & QA Auditor"] },
|
|
},
|
|
},
|
|
orderBy: { createdAt: "desc" },
|
|
take: 4,
|
|
include: {
|
|
bot: true,
|
|
attempts: true,
|
|
},
|
|
});
|
|
|
|
for (const r of runs) {
|
|
console.log(
|
|
`Bot: ${r.bot?.name.padEnd(25)} | Run: ${r.id} | Status: ${r.status} | Attempts: ${r.attempts.length} | Attempt0 status: ${r.attempts[0]?.status}`,
|
|
);
|
|
}
|
|
}
|
|
|
|
run()
|
|
.catch(console.error)
|
|
.finally(() => process.exit(0));
|