You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- api/search.py: skip CLI session scan for type=chat/composer; only
runs when search_type == "all". Fix ambiguous variable l -> ln.
- utils/cli_chat_reader.py: reverse messages at end of traverse_blobs()
to restore chronological (oldest→newest) order; switch list.pop(0)
to deque.popleft() for efficiency.
- utils/workspace_path.py: strip() and expand_tilde_path() the
CLI_CHATS_PATH env var before returning, matching resolve_workspace_path().
- utils/cursor_md_exporter.py: use json.dumps() for all free-form YAML
scalar values (title, session_id, mode, tool names) so backslashes,
newlines, and embedded quotes are escaped correctly.
- scripts/export.py: use store.db mtime (max createdAt, mtime) as
updated_ms for --since last filtering and manifest updatedAt, so
sessions with new turns are re-exported. Expand exclusion check to
full transcript + tool call payloads instead of first 5 bubbles.
Apply json.dumps() YAML escaping to frontmatter (same fix as exporter).
- tests: update assertions to match json.dumps() quoting; fix
_simple_session() fixture to model the real linked-list chain layout;
replace test_chain_to_json_blobs with test_chain_preserves_chronological_order
which asserts exact BFS-then-reverse ordering.
Rejected: "don't drop empty sessions" — empty bubbles means the store.db
is unreadable or the session has no turns; emitting a 0-message file adds
noise without value.
0 commit comments