Skip to content

CLI

Two binaries ship with the external runtime: runne (the CLI) and runned (the daemon).

runned

The authoritative runtime daemon. Start it in its own terminal:

bash
runned

The desktop app connects to it only with the explicit native flag (tauri dev -- -- --external-runtime).

runne

Check the version:

bash
runne --version

See the full command list:

bash
runne --help

Conversation commands

bash
runne conversation create --workspace-id <workspace-id>
runne conversation send --conversation-id <conversation-id> --expected-version <n> --text "<message>"
runne conversation messages --conversation-id <conversation-id>

End-to-end scenario

With runned running, drive a conversation through the CLI:

bash
workspace_id="018f2e3a-7000-7000-8000-000000000001"
conversation_id="$(
  runne conversation create --workspace-id "$workspace_id"
)"
runne \
  conversation send \
  --conversation-id "$conversation_id" \
  --expected-version 1 \
  --text "Привет"
runne \
  conversation messages \
  --conversation-id "$conversation_id"