A 5e storytelling engine with an LLM DM
Something went wrong. Try again.
Fix /context to show all sections and use a 40x5 grid master
The /context bar was only showing a handful of hardcoded sections (Character, Log, Session, Location, entities) and skipping Style, Transcript, PlayerKnowledge, and Initiative entirely. Also the single-row bar crammed everything into 30 chars where every section got min-width 1, making the proportions meaningless. Now it loops over all context_parts, so nothing gets silently dropped. The bar is a 40x5 grid where each cell is 1k tokens — 200 cells for the 200k window. Token estimates are prefixed with ~ since they're len//4 heuristics, and the header shows real API token counts from the last turn when available. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author Chris Guidry Co-author Claude Opus 4.6 (1M context) Date (Mar 31, 2026, 1:11 PM UTC) Commit 06242acd 06242acd1e75e7053e4db48193ef7a055af7d3ec Parent 26b44ceb 26b44cebea96ba762e23b733676137824b4c742d