Commands
jcode COMMAND ... runs a command. jcode --help prints the list. Each command takes --state DIR, the state folder; the default is ~/.local/state/jcode.
An error prints jcode: TEXT on the standard error, with the exit code 1. An error of the daemon starts with its HTTP status, such as jcode: 409: the agent a1 is stopped (Errors).
| Command | Description |
|---|---|
jcode serve |
Runs the daemon. |
jcode start |
Starts an agent. |
jcode list |
One line for each agent. |
jcode wait |
Waits until an agent is not running. |
jcode ask |
The question of an agent. |
jcode send |
A message to an agent. |
jcode read |
The transcript of an agent. |
jcode tail |
Follows the transcript. |
jcode interrupt |
Stops the running command of an agent. |
jcode stop |
Stops an agent. |
jcode cost |
The tokens, the USD, and the times of an agent. |
jcode diff |
The changes of an agent. |
jcode cloud |
The instances of the level cloud. |
jcode pr |
Pushes the commits of an agent and opens a pull request. |
jcode secret |
The file of the shared secret of the web page. |
jcode tui |
The terminal client. |
jcode gui |
The window client. |
The examples of each page run in CI with the fake provider: tools/doc-examples.tcl runs each console block and compares the output.