chp-host 0.10.0__py3-none-any.whl
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/__init__.py +33 -0
- chp_host/cli.py +2207 -0
- chp_host/environment.py +211 -0
- chp_host/mcp_server.py +496 -0
- chp_host/mesh.py +225 -0
- chp_host/onboarding/__init__.py +7 -0
- chp_host/onboarding/onboard.py +252 -0
- chp_host/onboarding/scan.py +138 -0
- chp_host/profile.py +60 -0
- chp_host/router.py +539 -0
- chp_host/serve.py +109 -0
- chp_host/service.py +295 -0
- chp_host-0.10.0.dist-info/METADATA +56 -0
- chp_host-0.10.0.dist-info/RECORD +16 -0
- chp_host-0.10.0.dist-info/WHEEL +4 -0
- chp_host-0.10.0.dist-info/entry_points.txt +2 -0
chp_host/__init__.py
ADDED
|
@@ -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
|
+
]
|