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.2.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.2.0-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: henosis_cli-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 8dba37aed364eb9df7658dc69fcd11e73733a2908982762e3f7619370b50686c
MD5 7619278697b31ae93aa1a212d31dde13
BLAKE2b-256 f81fe093107f0a45d8c93a6b2141e4ce327d115cf19e1ddc27938ffe1ad6d24f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: henosis_cli-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 152d7a6d9a8eb049c75e9baf8291bb7f0d85cc1fec17f1548185e612e2b98880
MD5 600d966577700694ef8685159c93bb36
BLAKE2b-256 86b3a0f4fe41cf9e06a0ed2a671f8c0af8955878e2aa73cc3beacac537ce14ba

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