My dear front-end developers (and anyone who’s interested in the future of interfaces):
I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept):
Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow
CLIs are better for context management:
• output less text than APIs and poorly built MCPs
• single-purpose commands instead of "all in ones"
• flags for customizing ouputs
• composable with bash functions
Does not matter much for single-turn but compounds in the end
Okay, serious question: what does offering a CLI allow your users to do that MCP or the good old REST API don’t already do?
I really don’t get the hype.