Skip to main content

henosis-cli: Chat client for Henosis server (ships client-executed tool support)

Project description

Henosis Tools (CLI)

Standalone CLI and reusable Python library for local machine interactions extracted from the Henosis FastAPI server.

Features

  • Filesystem: read, write, append, list, apply simplified patches
  • Commands: run whitelisted commands (no shell) with timeout
  • Sandboxing: workspace vs host scope with allowed roots

Quick start

  • Install locally: pip install -e .
  • Run: henosis-tools --help

Examples

  • List directory: henosis-tools fs ls .
  • Read a file: henosis-tools fs read CODEBASE_MAP.md
  • Write from stdin: echo hello | henosis-tools fs write notes/todo.txt --content -
  • Run a command: henosis-tools cmd run "git status" --allow "git"
  • Apply a patch: henosis-tools patch apply --patch-file changes.patch

Environment variables

  • HENOSIS_WORKSPACE_DIR, HENOSIS_ALLOW_EXTENSIONS, HENOSIS_MAX_FILE_BYTES
  • HENOSIS_MAX_EDIT_BYTES, HENOSIS_EDIT_SAFEGUARD_MAX_LINES
  • HENOSIS_ALLOW_COMMANDS, HENOSIS_COMMAND_TIMEOUT_SEC

Security notes

  • host scope requires allowed roots or host_base, and commands require an allowlist.
  • No shell is used to run commands; only the base executable is checked against allowlist.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

henosis_cli-0.1.0.tar.gz (66.4 kB view details)

Uploaded Source

Built Distribution

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

henosis_cli-0.1.0-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

Details for the file henosis_cli-0.1.0.tar.gz.

File metadata

  • Download URL: henosis_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for henosis_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2a904ce913c4a68625a8a50f8d9253811603486af7682c0142270073aee2bbd7
MD5 b5adfd18313759408ea5df2e98cd0ccd
BLAKE2b-256 632ceeb46e6b325aa365db7354901a92c8dbbacf875b9a44c9939084836b8cca

See more details on using hashes here.

File details

Details for the file henosis_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: henosis_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 66.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for henosis_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 566f4b5e2dd9b952267cfd9ba77041948bb7ed7266d775ae4af5fab4ffbfd9da
MD5 afc95d8170fa7a0ef9e7b1c3bd3923c7
BLAKE2b-256 e6e7596379f1a208aa029bb1789982fad22bd63305d2e0eb1d5a0c95d9d62bb0

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