robotelos-chat and gateway

The terminal chat client and the standalone gateway: flags, defaults and exit codes.

robotelos-chat

A terminal client that opens a conversation with an agent and prints what happens.

FlagDefaultMeaning
-transportssesse, ws or grpc
-urlper transportServer address. Defaults: http://127.0.0.1:8787 for SSE, ws://127.0.0.1:8787/v1/ws for WebSocket, 127.0.0.1:8788 for gRPC
-tokenROBOTELOS_TOKEN, then ~/.robotelos/dev/tokenBearer token
-agentmockAgent to talk to

Type a message and the agent answers. A message that starts with run makes the mock agent ask for approval before it runs the command.

gateway

The gateway runs the conversation protocol on PostgreSQL. It takes no flags; it reads its settings from ROBOTELOS_GATEWAY_* variables. The list is in the gateway configuration reference. It writes its log as JSON. It exits with code 2 when the configuration is wrong, and with code 1 if it stops with an error.

Next steps