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
use serde_json::{Number, Value};
use tetherscript::value::Value as TetherScriptValue;

use super::super::convert::json_to_tetherscript;

#[test]
fn large_unsigned_numbers_become_strings() {
    let value = json_to_tetherscript(Value::Number(Number::from(u64::MAX)));

    match value {
        TetherScriptValue::Str(value) => assert_eq!(&*value, &u64::MAX.to_string()),
        other => panic!("expected string for oversized integer, got {other:?}"),
    }
}