fix: stabilize public pane and tab ids

refs #569
This commit is contained in:
Ogulcan Celik
2026-06-12 19:10:09 +03:00
parent 53429206b7
commit f7a7da03fc
33 changed files with 821 additions and 202 deletions
+3 -3
View File
@@ -219,7 +219,7 @@ impl ActiveSubscription {
let initial_event = agent_status
.is_some_and(|wanted| wanted == probe.agent_status)
.then_some(PaneAgentStatusChangedEvent {
pane_id: probe.pane_id,
pane_id: probe.pane_id.clone(),
workspace_id: probe.workspace_id,
agent_status: probe.agent_status,
agent: probe.agent,
@@ -231,7 +231,7 @@ impl ActiveSubscription {
Ok(Self::AgentStatusChanged(Box::new(
ActiveAgentStatusChangedSubscription {
pane_id,
pane_id: probe.pane_id,
status_filter: agent_status,
last_status: Some(last_status),
last_presentation: Some(last_presentation),
@@ -295,7 +295,7 @@ impl ActiveOutputMatchedSubscription {
Some(SubscriptionEventEnvelope {
event: SubscriptionEventKind::PaneOutputMatched,
data: SubscriptionEventData::PaneOutputMatched(PaneOutputMatchedEvent {
pane_id: self.pane_id.clone(),
pane_id: read.pane_id.clone(),
matched_line,
read,
}),