Documentation
¶
Overview ¶
Package rtk is an in-process port of RTK (Rust Token Killer). It intercepts tool output from BashTool and compresses it before the agent sees it, saving 60-90% of tokens on common dev operations.
Architecture mirrors RTK's Rust source at /Volumes/Engineering/Icehunter/rtk/src/:
- registry.go — command classification (ports discover/registry.rs)
- filters/ — per-category output transformers (ports cmds/*)
- ansi.go — ANSI escape stripping (ports core/utils.rs)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsClassified ¶
IsClassified returns true if the command is handled by a RTK filter rule. Used by /rtk discover to find unhandled commands.
Types ¶
Click to show internal directories.
Click to hide internal directories.