Expand description
Chat frontend: spawns a shim subprocess, sends user messages, displays responses.
This is a simple TTY application that demonstrates the shim protocol. Under the hood it forks a shim subprocess, communicates via socketpair, and presents a readline-style prompt.
Enums§
- Special
Command - Recognized special commands typed at the
you>prompt.
Functions§
- default_
cmd - Returns the default shell command used to launch each agent type.
- parse_
special - Try to parse a line of user input as a special command.
Returns
Noneif the input is a regular message. - run