codetether-agent 4.7.0-a-002.4

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Optional bus + trace_id handle for [`super::produce_summary`].

use uuid::Uuid;

use crate::session::SessionBus;

/// Bus + trace id passed to [`super::produce_summary`].
///
/// Defaults to "no bus, no trace id" so existing call sites don't need
/// to change. The production caller is `derive_incremental`, which
/// constructs one wrapping its parent `event_tx` so the resulting
/// `RlmProgress`/`RlmComplete` events share a single trace id across
/// every summary range produced for one derivation.
#[derive(Default)]
pub struct SummaryObservability {
    pub bus: Option<SessionBus>,
    pub trace_id: Option<Uuid>,
}