summaryrefslogtreecommitdiff
path: root/src/agent_resume.rs
diff options
context:
space:
mode:
authorzhugehyuk <icedac@users.noreply.github.com>2026-05-25 03:28:33 +0900
committerGitHub <noreply@github.com>2026-05-24 21:28:33 +0300
commit43c6ca3a5dbdcefc6c6dc29be9ce81d990baf39e (patch)
tree73be12f81129dab324ea08901c733a6a56ec0e61 /src/agent_resume.rs
parent5ce738cf5397d0d8a50ed1aa6335297073cc0f0f (diff)
feat: persist pane history across restarts (#248)
refs #217 Co-authored-by: Can Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/agent_resume.rs')
-rw-r--r--src/agent_resume.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/agent_resume.rs b/src/agent_resume.rs
index 8f450088..7728baf4 100644
--- a/src/agent_resume.rs
+++ b/src/agent_resume.rs
@@ -25,6 +25,12 @@ pub struct AgentResumePlan {
pub dedupe_key: String,
}
+#[derive(Debug, Clone, Copy)]
+pub struct AgentResumeLaunch<'a> {
+ pub plan: &'a AgentResumePlan,
+ pub initial_history_ansi: Option<&'a str>,
+}
+
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct PersistedAgentSession {
pub source: String,