Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 0s
Adds the tower_log DB table, a narrateEvent method on AgentService (Haiku-powered, stub-safe), a tower-log service that persists and broadcasts entries, a GET /api/tower-log REST endpoint, WebSocket bootstrap and real-time push, and a bottom-sheet Tower Log panel in the-matrix UI with fade-in animations and auto-scroll. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
347 B
TypeScript
11 lines
347 B
TypeScript
import { pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
|
|
|
export const towerLog = pgTable("tower_log", {
|
|
id: text("id").primaryKey(),
|
|
narrative: text("narrative").notNull(),
|
|
eventType: text("event_type").notNull(),
|
|
agentId: text("agent_id"),
|
|
jobId: text("job_id"),
|
|
createdAt: timestamp("created_at").notNull().defaultNow(),
|
|
});
|