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.
13 lines
474 B
TypeScript
13 lines
474 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 session = await prisma.session.findFirst({ orderBy: { createdAt: "desc" } });
|
|
const res = await fetch("http://127.0.0.1:3100/rpc/spaces/list", {
|
|
headers: { Authorization: `Bearer ${session?.token}` },
|
|
});
|
|
const data = await res.json();
|
|
console.log("DATA:", JSON.stringify(data, null, 2));
|
|
}
|
|
run();
|