chp-host 0.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chp_host-0.10.0/.gitignore +16 -0
- chp_host-0.10.0/PKG-INFO +56 -0
- chp_host-0.10.0/README.md +32 -0
- chp_host-0.10.0/chp_host/__init__.py +33 -0
- chp_host-0.10.0/chp_host/cli.py +2207 -0
- chp_host-0.10.0/chp_host/environment.py +211 -0
- chp_host-0.10.0/chp_host/mcp_server.py +496 -0
- chp_host-0.10.0/chp_host/mesh.py +225 -0
- chp_host-0.10.0/chp_host/onboarding/__init__.py +7 -0
- chp_host-0.10.0/chp_host/onboarding/onboard.py +252 -0
- chp_host-0.10.0/chp_host/onboarding/scan.py +138 -0
- chp_host-0.10.0/chp_host/profile.py +60 -0
- chp_host-0.10.0/chp_host/router.py +539 -0
- chp_host-0.10.0/chp_host/serve.py +109 -0
- chp_host-0.10.0/chp_host/service.py +295 -0
- chp_host-0.10.0/pyproject.toml +38 -0
- chp_host-0.10.0/tests/__init__.py +0 -0
- chp_host-0.10.0/tests/_util.py +62 -0
- chp_host-0.10.0/tests/test_environment.py +376 -0
- chp_host-0.10.0/tests/test_gateway.py +140 -0
- chp_host-0.10.0/tests/test_mcp_server.py +56 -0
- chp_host-0.10.0/tests/test_mesh_integration.py +162 -0
- chp_host-0.10.0/tests/test_onboarding.py +94 -0
- chp_host-0.10.0/tests/test_router.py +432 -0
- chp_host-0.10.0/tests/test_serve.py +89 -0
- chp_host-0.10.0/tests/test_service_mesh.py +641 -0
- chp_host-0.10.0/tests/test_transport_conformance.py +122 -0
chp_host-0.10.0/PKG-INFO
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: chp-host
|
|
3
|
+
Version: 0.10.0
|
|
4
|
+
Summary: CHP multi-host router, config-driven adapter host server, and portable onboarding wizard
|
|
5
|
+
Project-URL: Homepage, https://github.com/capabilityhostprotocol/chp-core
|
|
6
|
+
Project-URL: Documentation, https://github.com/capabilityhostprotocol/chp-core/tree/main/docs
|
|
7
|
+
Project-URL: Issues, https://github.com/capabilityhostprotocol/chp-core/issues
|
|
8
|
+
Author: Project Auxo, Inc.
|
|
9
|
+
License: Apache-2.0
|
|
10
|
+
Keywords: agents,capability-host-protocol,chp,evidence,governance,mesh,onboarding
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Classifier: Topic :: System :: Distributed Computing
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Requires-Dist: chp-core>=0.10.0
|
|
22
|
+
Requires-Dist: mcp>=1.0
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# chp-host
|
|
26
|
+
|
|
27
|
+
Multi-host tooling for the [Capability Host Protocol](https://github.com/capabilityhostprotocol/chp-core):
|
|
28
|
+
a config-driven adapter host server, a gateway router that federates evidence
|
|
29
|
+
across hosts, mesh key-pinning, and the portable onboarding wizard.
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pip install chp-core chp-host
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Start here
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
chp-host onboard /path/to/your/repo # what could YOUR codebase contribute? (pure stdlib, read-only)
|
|
39
|
+
chp-host serve --profile host.json # serve adapters as a governed CHP host
|
|
40
|
+
chp-host mesh list # see your mesh; verify-keys pins signing keys
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
`chp-host onboard` scans a Python codebase and surfaces candidate capabilities,
|
|
44
|
+
then either **wraps existing functions deterministically** into a governed,
|
|
45
|
+
evidence-emitting adapter (Mode A) or **hands a conformance-gated spec to your
|
|
46
|
+
own coding agent** (Mode B). See
|
|
47
|
+
[docs/onboarding.md](https://github.com/capabilityhostprotocol/chp-core/blob/main/docs/onboarding.md).
|
|
48
|
+
|
|
49
|
+
The gateway (`chp-host gateway`) routes invocations across member hosts,
|
|
50
|
+
assembles cross-host **task bundles** (signed, offline-verifiable evidence for
|
|
51
|
+
a whole federated task — spec §8), and checks member signing keys against your
|
|
52
|
+
pins on the data path.
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
Apache-2.0 — part of the CHP reference implementation.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# chp-host
|
|
2
|
+
|
|
3
|
+
Multi-host tooling for the [Capability Host Protocol](https://github.com/capabilityhostprotocol/chp-core):
|
|
4
|
+
a config-driven adapter host server, a gateway router that federates evidence
|
|
5
|
+
across hosts, mesh key-pinning, and the portable onboarding wizard.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install chp-core chp-host
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Start here
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
chp-host onboard /path/to/your/repo # what could YOUR codebase contribute? (pure stdlib, read-only)
|
|
15
|
+
chp-host serve --profile host.json # serve adapters as a governed CHP host
|
|
16
|
+
chp-host mesh list # see your mesh; verify-keys pins signing keys
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`chp-host onboard` scans a Python codebase and surfaces candidate capabilities,
|
|
20
|
+
then either **wraps existing functions deterministically** into a governed,
|
|
21
|
+
evidence-emitting adapter (Mode A) or **hands a conformance-gated spec to your
|
|
22
|
+
own coding agent** (Mode B). See
|
|
23
|
+
[docs/onboarding.md](https://github.com/capabilityhostprotocol/chp-core/blob/main/docs/onboarding.md).
|
|
24
|
+
|
|
25
|
+
The gateway (`chp-host gateway`) routes invocations across member hosts,
|
|
26
|
+
assembles cross-host **task bundles** (signed, offline-verifiable evidence for
|
|
27
|
+
a whole federated task — spec §8), and checks member signing keys against your
|
|
28
|
+
pins on the data path.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
Apache-2.0 — part of the CHP reference implementation.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""chp-host — multi-host router and config-driven adapter host server for CHP."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version as _pkg_version
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
__version__ = _pkg_version("chp-host")
|
|
7
|
+
except PackageNotFoundError: # not installed as a dist (e.g. raw source tree)
|
|
8
|
+
__version__ = "0.0.0+unknown"
|
|
9
|
+
|
|
10
|
+
from .router import (
|
|
11
|
+
MultiHostRouter,
|
|
12
|
+
NoHealthyHostError,
|
|
13
|
+
UnknownCapabilityError,
|
|
14
|
+
)
|
|
15
|
+
from .serve import AdapterBuildResult, available_adapters, build_adapter_host
|
|
16
|
+
from .profile import HostProfile
|
|
17
|
+
from .environment import EnvironmentConfig, EnvironmentHostEntry, EnvironmentRemoteEntry, GatewayConfig, list_environments
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
"__version__",
|
|
21
|
+
"MultiHostRouter",
|
|
22
|
+
"UnknownCapabilityError",
|
|
23
|
+
"NoHealthyHostError",
|
|
24
|
+
"build_adapter_host",
|
|
25
|
+
"available_adapters",
|
|
26
|
+
"AdapterBuildResult",
|
|
27
|
+
"HostProfile",
|
|
28
|
+
"EnvironmentConfig",
|
|
29
|
+
"EnvironmentHostEntry",
|
|
30
|
+
"EnvironmentRemoteEntry",
|
|
31
|
+
"GatewayConfig",
|
|
32
|
+
"list_environments",
|
|
33
|
+
]
|