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.
24 lines
731 B
TypeScript
24 lines
731 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 events = await prisma.event.findMany({
|
|
where: { runId: "cmu7jytii000firyyhkbjh9od" },
|
|
orderBy: { createdAt: "desc" },
|
|
take: 15,
|
|
});
|
|
console.log("Recent stream events:");
|
|
for (const e of events.reverse()) {
|
|
console.log(`[${e.createdAt.toISOString()}] ${e.type}: ${JSON.stringify(e.data || e.payload)}`);
|
|
}
|
|
|
|
const run = await prisma.run.findUnique({
|
|
where: { id: "cmu7jytii000firyyhkbjh9od" },
|
|
});
|
|
console.log("Status:", run?.status, "completed:", run?.completedAt);
|
|
}
|
|
|
|
run()
|
|
.catch(console.error)
|
|
.finally(() => process.exit(0));
|