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
//! Helpers for compact live bus payloads from prompt loops.

pub fn compact(input: &str, label: &str) -> String {
    crate::bus::payload::bounded(input, label)
}

pub fn compact_tool(input: &str) -> String {
    compact(input, "\n\n[truncated in session bus payload: tool output]")
}

pub fn compact_thinking(input: &str) -> String {
    compact(input, "\n\n[truncated in session bus payload: thinking]")
}