3 ms·
I wonder if one can reconstruct the UI on top of the JSON input/output, without losing the agentic smarts that in Claude Code. --output-format <format>
by yencabulator 1y ago
I wonder if one can reconstruct the UI on top of the JSON input/output, without losing the agentic smarts that in Claude Code.
--output-format <format> Output format (only works with --print): "text"
(default), "json" (single result), or
"stream-json" (realtime streaming) (choices:
"text", "json", "stream-json")
--input-format <format> Input format (only works with --print): "text"
(default), or "stream-json" (realtime streaming
input) (choices: "text", "stream-json")
Anyway, that's how software should be written in an ideal world. A protocol to communicate with weakly-connected user interfaces (plural!).
For Claude specifically, how exactly does the --ide flag work? That might be useful too.