Decode the worker's stream leniently, name UserEntryKind's members only, and restore the section-headers decision's citation

This commit is contained in:
2026-09-28 16:28:43 +02:00
parent 72d04227f9
commit 9659f70efd
6 changed files with 24 additions and 20 deletions
+4 -1
View File
@@ -31,7 +31,10 @@ def transcript_file(session):
return hit[0] if hit else ""
def delete_session(path):
def delete_session(session):
path = transcript_file(session)
if not path:
return
for sibling in glob.glob(glob.escape(path.removesuffix(".jsonl")) + "*"):
try:
shutil.rmtree(sibling) if os.path.isdir(sibling) else os.remove(sibling)