rho-coding-agent 1.26.0

A lightweight agent harness inspired by Pi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::{WorkflowError, WorkflowResult};

pub(crate) fn check_schema_version(
    kind: &'static str,
    found: u32,
    supported: u32,
) -> WorkflowResult<()> {
    if found == supported {
        Ok(())
    } else {
        Err(WorkflowError::UnsupportedVersion {
            kind,
            found,
            supported,
        })
    }
}