From display-redaction
A mod that masks email addresses and secret-shaped text in what Claude Code draws, for recordings and screen shares. It changes the screen only; the transcript, the model's context and the files on disk are untouched, so it is not a privacy or data control.
4 events · 6 calls
Ships in display-redaction. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
env.getEach event it registers a hook on, with the matcher when it sets one
ui.render{component=AssistantMessage}ui.render{component=UserMessage}ui.render{component=CommandOutput}ui.render{component=ToolUse}ui.render{component=ToolResult}ui.render{component=AskUserQuestion}ui.render{component=InfoNotice}session.startsession.endcommand.run{command=display-redaction}Every mods API method its source calls, by namespace
registergetgetsetlogresolveCOLORTERMWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub melodic-software/claude-code-plugins --plugin display-redaction