- Fix hermes invocation: 'hermes -q' → 'hermes chat -q' with proper flags
- Replace fragile string.includes('PASS') with llmExtract judge
(previous false positive: matched '--pass-session-id' in usage text)
小橘 🍊(NEKO Team)
14 lines
530 B
TypeScript
14 lines
530 B
TypeScript
import { integer, real, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
|
|
export const diskUsageMounts = sqliteTable("disk_usage_mounts", {
|
|
id: integer("id").primaryKey({ autoIncrement: true }),
|
|
ts: integer("ts").notNull(),
|
|
device: text("device").notNull(),
|
|
mount: text("mount").notNull(),
|
|
fstype: text("fstype").notNull(),
|
|
totalBytes: integer("total_bytes").notNull(),
|
|
usedBytes: integer("used_bytes").notNull(),
|
|
availBytes: integer("avail_bytes").notNull(),
|
|
usedPercent: real("used_percent").notNull(),
|
|
});
|