Skip to main content

Module scrub

Module scrub 

Source
Expand description

The one-line summaries of tool calls. A summary is made when the row is written and never copies a raw call: a command is cut to its start, a path is the path, a MuxAPI tool is its tool and action. Text that still looks like a secret is dropped, and the row says only which tool it was.

Functionsยง

looks_secret
Whether s looks like it holds a secret: a token of a known kind, a long run of token characters, a secret-named variable or flag with a value, or an authorization header.
summarize
The one-line summary of the call tool(input). Never longer than a line, and never a secret.