Metadata-Version: 2.4
Name: hiclaw-common
Version: 0.1.1
Summary: Shared runtime capabilities for HiClaw worker runtimes (Matrix relay, MinIO sync, AI policies)
Project-URL: Homepage, https://github.com/higress-group/hiclaw
Project-URL: Repository, https://github.com/higress-group/hiclaw
Author: HiClaw Contributors
License: Apache-2.0
Keywords: agent,ai,hiclaw,matrix,minio
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.11
Provides-Extra: matrix
Requires-Dist: markdown-it-py>=3.0; extra == 'matrix'
Requires-Dist: mautrix>=0.20; extra == 'matrix'
Description-Content-Type: text/markdown

# hiclaw-common

Shared runtime library for [HiClaw](https://github.com/higress-group/hiclaw) worker runtimes.

Provides:
- **`hiclaw_common.sync`** — MinIO/S3 file sync (`FileSync`, `sync_loop`, `push_loop`)
- **`hiclaw_common.matrix`** — Matrix chat relay (`MautrixRelay`)
- **`hiclaw_common.policies`** — AI tool-call policy engine (`DualAllowList`, `HistoryBuffer`)

## Install

```bash
pip install hiclaw-common            # core only
pip install "hiclaw-common[matrix]"  # + Matrix relay (mautrix)
```

## License

Apache 2.0
