feat(core): add session metadata support (#23068)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
parent
ac8e686f33
commit
ddc30cd151
14 changed files with 1707 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ export const SessionTable = sqliteTable(
|
|||
summary_deletions: integer(),
|
||||
summary_files: integer(),
|
||||
summary_diffs: text({ mode: "json" }).$type<Snapshot.FileDiff[]>(),
|
||||
metadata: text({ mode: "json" }).$type<Record<string, unknown>>(),
|
||||
cost: real().notNull().default(0),
|
||||
tokens_input: integer().notNull().default(0),
|
||||
tokens_output: integer().notNull().default(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue