beetlebug▾
/

jcode tui

Synopsis

jcode tui

Description

The terminal client: a line interface (Clients). It prints the list of agents, and then reads commands and messages from the standard input.

Input Description
/list The agents, one line each.
/open ID Opens an agent: prints its transcript, then each new entry.
/stop Stops the open agent.
/help The commands.
/quit Ends the client.
Other text A message to the open agent.

Examples

$ jcode start --dir hello --model fake:run.json --brief brief.md --run all
a1
$ jcode wait a1 --timeout 20 > /dev/null
$ printf '/help\n/quit\n' | jcode tui
jcode 0.1.0: /help for the commands
a1 asks none turns 4/40 tokens 480 (in400 out80 cr0 cw0) fake:… …/hello | asks: Both cases work. Shall I also add a --help option?
/list  /open ID  /stop  /quit  (other text: a message to the open agent)