Expand description
Session transcripts on disk: the .jsonl files under the config
dirโs projects/ tree, each directory named for the path the
session ran in.
Re-exportsยง
use crate::userdata::catalog::scan::SessionTagCache;๐use crate::userdata::catalog::scan::project_key_for_directory;๐use crate::userdata::catalog::scan::tag_and_project_of;๐use forge_primitives::worker_tag;๐use forge_sdk::projects_dir_for;๐use std::path::Path;๐use std::path::PathBuf;๐use std::time::SystemTime;๐
Enumsยง
- Transcript
Error - Why a transcript lookup could not answer.
Functionsยง
- newest_
worker_ session - The newest transcript in
run_dirโs directory that carrieslabelโs worker tag AND was tagged byproject: its session id and whether its row predates the project field (truemeans the adopting project must stamp it).Nonewhen the directory holds no match. - read_
tag ๐ - The last tag the transcript at
pathcarries, and the project its row names when it carries one.