Skip to main content

Module transcripts

Module transcripts 

Source
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ยง

TranscriptError
Why a transcript lookup could not answer.

Functionsยง

newest_worker_session
The newest transcript in run_dirโ€™s directory that carries labelโ€™s worker tag AND was tagged by project: its session id and whether its row predates the project field (true means the adopting project must stamp it). None when the directory holds no match.
read_tag ๐Ÿ”’
The last tag the transcript at path carries, and the project its row names when it carries one.