Metadata-Version: 2.4
Name: chp-adapter-host
Version: 0.10.0
Summary: CHP capability adapter — report and update the host runtime on a node
Author: Auxo
License: Apache-2.0
Keywords: adapter,capability-host-protocol,chp,host,ops,update
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: chp-core>=0.8.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# chp-adapter-host

Report and update the CHP runtime on a node, as governed capabilities.

- `chp.adapters.host.version` — this node's chp-host version, platform, and installed adapters.
- `chp.adapters.host.update` — schedule a detached `chp-host update --restart` (upgrade CHP packages, then restart the node's services). Returns immediately with `scheduled: true`; the host restarts shortly after, so re-check `/health` for the new `host_version`.

Both emit evidence. `update` is `risk: high` (remote code update + restart) and is gated by the host's API key like any other capability. The primary drives a worker's update over the mesh with `chp-host mesh update <url>`.
