brokk-rtk 0.42.4

Rust Token Killer - High-performance CLI proxy to minimize LLM token consumption
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[filters.ps]
description = "Compact ps output — truncate wide lines, limit rows"
match_command = "^ps(\\s|$)"
strip_ansi = true
truncate_lines_at = 120
max_lines = 30

[[tests.ps]]
name = "short process list passes through unchanged"
input = "USER   PID %CPU %MEM COMMAND\nroot     1  0.0  0.0 /sbin/launchd\nflorian  42  0.1  0.2 bash"
expected = "USER   PID %CPU %MEM COMMAND\nroot     1  0.0  0.0 /sbin/launchd\nflorian  42  0.1  0.2 bash"

[[tests.ps]]
name = "empty input passes through"
input = ""
expected = ""