Closed arrdem closed 5 years ago
edba288 had some steps towards this, in that the kat
script now exposes flags which let the user choose how the response should be formatted. But it's still less than ideal.
Fixed in 13034aec with the intents refactor.
At present, Katamari can accept requests, process them and produce responses. Which is great. Unfortunately there’s some Content-Type confusion if not outright conflation and it’s not clear how the server fits into the overall Katamari model.
Say one wanted to implement a katamari repl task. How would it work? Where would it live? You’d need the server to build a classpath, and then you’d boot (or connect to) a JVM… but what process controls the user’s terminal? How much of that complexity becomes baked into kat script?
Offloading tasks to the server is great, but it seems like kat needs to be a framework like git which allows for “tasks” to be defined as additional scripts.