dsh-context-ruler: Visualize Context Volume in the Response Action Line — One-Click Handoff Before Hitting the Limit

Maintained by pcysanji, the client plugin dsh-context-ruler displays the current session's pending payload (coreBytes) and its threshold line on each assistant response action line. When the value exceeds warnRatio or dangerRatio, the indicator changes color and prompts a handoff. All calculations run locally via /context-guard/api—no message injection, no model calls. It supports writing a handoff document to the working directory, spawning a new session, and pre-filling a load-state instruction into the input box. Install with `dsh plugin add pcysanji/dsh-context-ruler` or `dsh plugin add dsh-context-ruler`. MIT license, v0.1.0.

Read More