Skip to main content

record_shell_command

Function record_shell_command 

Source
pub fn record_shell_command(original_tokens: usize, output_tokens: usize)
Expand description

Record a shell command with full Context OS side effects. When both original and output are 0 (track-only, no compression), only updates the session command counter without inflating token statistics.