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
//! RLM progress telemetry events.

use crate::session::{RlmCompletion, RlmProgressEvent};
use crate::tui::app::state::App;

pub(crate) fn rlm_progress(app: &mut App, progress: RlmProgressEvent) {
    app.state.context_health.note_rlm_progress(&progress);
    app.state.status = format!(
        "RLM {} {}/{}",
        progress.status, progress.iteration, progress.max_iterations
    );
}

pub(crate) fn rlm_complete(app: &mut App, done: RlmCompletion) {
    app.state.context_health.note_rlm_complete(&done);
    app.state.status = format!("RLM complete: {:?}", done.outcome);
}