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.
28 lines
809 B
TypeScript
28 lines
809 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 r = await prisma.run.findUnique({
|
|
where: { id: "cmu7k09nt00cchxyyfo0n4ppv" },
|
|
include: { sourceMessage: true },
|
|
});
|
|
console.log("Run:", {
|
|
id: r?.id,
|
|
trigger: r?.trigger,
|
|
status: r?.status,
|
|
sourceMessage: r?.sourceMessage?.blocks,
|
|
createdAt: r?.createdAt,
|
|
});
|
|
const events = await prisma.event.findMany({
|
|
where: { runId: "cmu7k09nt00cchxyyfo0n4ppv" },
|
|
});
|
|
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));
|