Skip to content

The agent that grows with you

fix(pm): ship pm package + lock.json in sealed wheels

ethernetf0df32a5f65a
diff --git a/pyproject.toml b/pyproject.toml
index 12c44439966..a9da9e6fb2c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -664,7 +664,7 @@ py-modules = [
]
[tool.setuptools.packages.find]
-include = ["agent", "agent.*", "tools", "tools.*", "hermes_cli", "hermes_cli.*", "gateway", "gateway.*", "tui_gateway", "tui_gateway.*", "cron", "cron.*", "acp_adapter", "plugins", "plugins.*", "providers", "providers.*"]
+include = ["agent", "agent.*", "tools", "tools.*", "hermes_cli", "hermes_cli.*", "gateway", "gateway.*", "tui_gateway", "tui_gateway.*", "cron", "cron.*", "acp_adapter", "plugins", "plugins.*", "providers", "providers.*", "pm", "pm.*"]
[tool.setuptools.package-data]
hermes_cli = ["observability/schemas/*.json", "data/*.json", "local_runtime/*.json"]
@@ -678,6 +678,10 @@ gateway = ["assets/**/*"]
# sealed wheels with the plugin Python modules; without this declaration the
# wheel contains adapters but discovery finds zero bundled plugins.
plugins = ["**/plugin.yaml", "**/plugin.yml"]
+# pm/lock.json is the runtime pin table (uv/python/tool versions + sha256s).
+# Without it a sealed wheel installs the pm package but has no pins to
+# realize — the pm store would be empty.
+pm = ["lock.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]