aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema.rs')
-rw-r--r--src/api/schema.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api/schema.rs b/src/api/schema.rs
index 17a5d35e..907bc2b6 100644
--- a/src/api/schema.rs
+++ b/src/api/schema.rs
@@ -331,6 +331,10 @@ pub struct PaneReportAgentParams {
pub custom_status: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub seq: Option<u64>,
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub agent_session_id: Option<String>,
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub agent_session_path: Option<String>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
@@ -959,6 +963,8 @@ mod tests {
message: Some("thinking".into()),
custom_status: Some("indexing".into()),
seq: Some(42),
+ agent_session_id: Some("pi-session".into()),
+ agent_session_path: Some("/tmp/pi-session.jsonl".into()),
}),
};