codetether_agent/session/codex_import/
info.rs1use chrono::{DateTime, Utc};
2use std::path::PathBuf;
3
4#[derive(Debug, Clone)]
5pub struct CodexSessionInfo {
6 pub id: String,
7 pub path: PathBuf,
8 pub title: Option<String>,
9 pub created_at: DateTime<Utc>,
10 pub updated_at: DateTime<Utc>,
11 pub message_count: usize,
12 pub agent: String,
13 pub directory: Option<PathBuf>,
14}
15
16#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
17pub struct CodexImportReport {
18 pub imported: usize,
19 pub skipped: usize,
20}
21
22#[derive(Debug, Clone, Copy, PartialEq, Eq)]
23pub(crate) enum PersistOutcome {
24 Saved,
25 Unchanged,
26}