feat: add favorite task templates and optimize evidence exports

This commit is contained in:
chenmingxuan committed 2026-10-18 19:44:51 +08:00
1 parent e1ea099592
commit a4a5430922
46 files changed
+1714 -188

No files matched your search

+12
View File
@@ -199,6 +199,18 @@ class StorageManager:
)
""")
# Applied to existing databases as well. Report and timeline readers
# look up traces per step/session; never scan the entire history.
conn.execute(
"CREATE INDEX IF NOT EXISTS traces_step_type_time ON traces(step_id,type,timestamp)"
)
conn.execute(
"CREATE INDEX IF NOT EXISTS traces_session_type_time ON traces(session_id,type,timestamp)"
)
conn.execute(
"CREATE INDEX IF NOT EXISTS steps_session_number ON steps(session_id,step_number)"
)
conn.execute("""
CREATE TABLE IF NOT EXISTS failed_outputs (
id INTEGER PRIMARY KEY AUTOINCREMENT,