Skip to main content

Interactive CLI channel for exoclaw

Project description

exoclaw-channel-cli

Interactive CLI REPL channel implementing the exoclaw Channel protocol — rich markdown output, persistent input history, and clean terminal handling.

Install

pip install exoclaw-channel-cli

Usage

from exoclaw_channel_cli.channel import CLIChannel

cli = CLIChannel(
    chat_id="direct",
    render_markdown=True,
)

await cli.start(bus)  # runs the interactive REPL until the user types exit or Ctrl+C

CLIChannel reads from stdin using prompt_toolkit (with file history at ~/.exoclaw/history/cli_history), prints responses with rich, and publishes/consumes messages on the exoclaw Bus.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exoclaw_channel_cli-0.3.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exoclaw_channel_cli-0.3.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file exoclaw_channel_cli-0.3.0.tar.gz.

File metadata

  • Download URL: exoclaw_channel_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for exoclaw_channel_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b61994d07274dcec45bd168c765d15f9f74fc36c1916dd16b6c2517149e842a7
MD5 9447781ad16a7d8c3aa98d9a4a9f5de9
BLAKE2b-256 1f4eaec1fd3cf576e02c7a49285a969424f003739315099507760ee666363c15

See more details on using hashes here.

File details

Details for the file exoclaw_channel_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: exoclaw_channel_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for exoclaw_channel_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59873aadcc909051c46505afbc78cfaaba7ec326e00de17804070cd0bd3af4ac
MD5 533cd23feca24713676a5791515b0375
BLAKE2b-256 a2f3270f5130da35c5caa07c49bab9705e6af8b28e76513e622a1bc037e3ab06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page