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. Always records in stats (even for track-only 0-token calls) so the dashboard command counter stays accurate. Adding 0 tokens does not inflate savings.