pub struct Episode {Show 14 fields
pub id: String,
pub ms: i64,
pub repo: String,
pub session: String,
pub task: String,
pub agent: String,
pub rejected_tool: Option<String>,
pub correction: String,
pub engineer: String,
pub kind: String,
pub regret: Option<Regret>,
pub via: String,
pub harness: String,
pub harness_version: String,
}Fields§
§id: String§ms: i64§repo: String§session: String§task: String§agent: String§rejected_tool: Option<String>§correction: String§engineer: StringWho corrected: git config user.email in the episode’s cwd, empty if unknown.
kind: StringEmpty for a correction; regret::KIND for a decision a later session fixed.
regret: Option<Regret>§via: StringHow the engineer said it, where that is not a prompt or a rejected tool call: ANSWER for an
answer to the agent’s own question (the questions and their options are the agent text).
harness: StringThe harness whose transcript the episode was read from (Harness::name); empty for one the hook
captured live.
harness_version: StringThat harness’s version as its transcript names it (Claude Code’s version, omp’s
runtime.version, opencode 1.x’s session version, Codex’s cli_version); empty where it names none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Episode
impl<'de> Deserialize<'de> for Episode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnsafeUnpin for Episode
impl UnwindSafe for Episode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more