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.
30 lines
822 B
TypeScript
30 lines
822 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 run = await prisma.run.findUnique({
|
|
where: { id: "cmu7k3m4x000qiryyt59ju2n0" },
|
|
include: { bot: true, thread: true },
|
|
});
|
|
|
|
console.log("Run info:", {
|
|
id: run?.id,
|
|
botName: run?.bot?.name,
|
|
status: run?.status,
|
|
createdAt: run?.createdAt,
|
|
});
|
|
|
|
const events = await prisma.event.findMany({
|
|
where: { runId: "cmu7k3m4x000qiryyt59ju2n0" },
|
|
orderBy: { createdAt: "asc" },
|
|
});
|
|
console.log("Events count:", events.length);
|
|
for (const e of events) {
|
|
console.log(`[${e.createdAt.toISOString()}] ${e.type}: ${JSON.stringify(e.payload || e.data)}`);
|
|
}
|
|
}
|
|
|
|
run()
|
|
.catch(console.error)
|
|
.finally(() => process.exit(0));
|