Expand description
Filesystem-backed session mutations:
tag_session- appends atagJSONL entry (passNoneto clear).
Re-exportsΒ§
use std::fs;πuse std::io::Write;πuse std::path::Path;πuse std::path::PathBuf;πuse serde_json::json;πuse forge_sdk::Error;πuse forge_sdk::projects_dir_for;πuse crate::userdata::catalog::scan::is_valid_uuid;π
FunctionsΒ§
- append_
line π - append_
to_ πsession - find_
session_ πfile - tag_
session - Tag a session. Pass
Noneto clear the tag (appends an empty-string entry whichlist_sessionsinterprets as cleared).projectis required: a tag row that names no project cannot be told from another projectβs. - validate_
uuid π - The CLI names transcripts by session UUID, so a stem that is not one is refused rather than matched against some other file.