rho-coding-agent 2.19.0

A fast Rust agent harness with a small footprint and opinionated defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

/// Which transcripts a search or read may see. Every scope except `Current`
/// excludes the current session, whose recent turns are usually still in context.
#[derive(Clone, Copy, Debug, Default, Deserialize, Serialize, PartialEq, Eq)]
#[serde(rename_all = "snake_case")]
pub(crate) enum Scope {
    #[default]
    Repo,
    Worktree,
    All,
    /// Only the current session, e.g. to recover turns compaction summarized away.
    Current,
}