You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(addon): bump ha_mcp_tools to 0.5.1 + spell out tool names in rejects
Folds together three small things that share the same custom-
component file:
* Manifest bump 0.5.0 → 0.5.1 (was 0.6.0 in the earlier push;
this is a small patch-shape change, not new capability — the
PACKAGES_ONLY_YAML_KEYS branch is a routing addition, no new
surface). Pattern mirrors homeassistant-ai#1459's bump on the same file.
* Patch76 follow-up #1 (PR comment 2026-05-28): spell each
storage-mode tool out individually in the rejection guidance
instead of the compact slash-form
``ha_config_set_automation/script/scene``. An agent reading
the rejection at call time would otherwise parse that as one
malformed tool name and fail to route. Locations:
* ``__init__.py`` reject message
* ``tools_yaml_config.py`` ``yaml_path`` parameter description
* Patch76 follow-up #2: ``TestHandleEditYamlConfigPathTraversal``
pins the layering of ``os.path.normpath`` before the
``fnmatch`` package check so a crafted
``packages/../configuration.yaml`` cannot smuggle a
PACKAGES_ONLY key (``automation``) into ``configuration.yaml``.
Belt-and-suspenders against a future refactor reordering
those two steps; defense is already correct by construction.
Updated tests for the spell-out:
* ``test_yaml_config.py`` E2E rejection asserts each tool name
individually instead of the combined slash-string.
* ``test_yaml_dashboards.py::test_rejects_packages_only_key_in_configuration_yaml``
does the same at the unit layer.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments