From rich-terminal
Mermaid diagrams drawn inside Claude Code replies, and a truecolor status line under the prompt with a Token Weather forecast of the context window.
5 events · 19 calls
Ships in rich-terminal. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runprocess.spawnfs.writefs.existsfs.readfs.statenv.getsettings.readEach event it registers a hook on, with the matcher when it sets one
session.startturn.startturn.completeui.render{component=AssistantMessage}command.run{command=rich}Every mods API method its source calls, by namespace
nowsleepregistergetexistsreadstatwriterunspawnidmessagesreadgetsetgetsetlogresolveCLAUDE_CONFIG_DIRHOMEKITTY_WINDOW_IDTERMTERM_PROGRAMTMUXWhere 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 xiaolai/claude-rich-terminal --plugin rich-terminal