evOo-local/scripts/check-group-followup.ts
cynarAI 6c7eed7580 Initial clean evOo-local from f00577b
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.
2026-09-20 17:15:16 +02:00

26 lines
680 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: {
thread: {
group: { name: "Executive Board" },
},
},
orderBy: { createdAt: "desc" },
include: { bot: true },
});
console.log("Runs in Executive Board group thread:", runs.length);
for (const r of runs) {
console.log(
`Run: ${r.id} | Bot: ${r.bot?.name} | Status: ${r.status} | Trigger: ${r.trigger} | Created: ${r.createdAt.toISOString()}`,
);
}
}
run()
.catch(console.error)
.finally(() => process.exit(0));