tidev 0.2.0

A terminal-based AI coding agent
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Clone, Debug)]
pub struct RenameSessionDialogState {
    pub original_title: String,
}

impl RenameSessionDialogState {
    pub fn new(original_title: String) -> Self {
        Self { original_title }
    }

    pub fn title(&self) -> String {
        "Rename session".to_string()
    }

    pub fn description(&self) -> String {
        format!("Current title: {}", self.original_title)
    }
}