← Back to context

Comment by wredcoll

7 days ago

> Thanks, thinking about this - I think there are several ways to serve this concern: one could be having an agent as a server, where "prompting" is just a command `prompt ...` sent to the agent as a server. Then you never leave your terminal. Presumably, you'd want this, but with some sort of interface _like_ these TUI systems?

The whole advantage to a shell, and why people get so obsessed with it, is that they provide a standard interface to every program. Tuis break that by substituting their own ui.

They also provide a standard output... limitation, really, which means you can suddenly do pipes.

The future should look to capture both of those benefits.

Everyone will get super mad, but html is honest to god a great way to do this. Imagine a `ls` that output html to make a prettt display of your local files, but if you wanted to send the list to another program you pass some kind of css selector `ls | .main-list.file-names.name` or something. It's not exactly beautiful but you get the idea.

Apparently this is is how Powershell works vs Unix like unstructured text.