mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
The hanzo-tools-core suite imports ten sibling tool distributions and asserts an exact TOOLS count, but they were only ever named in [tool.uv.sources]. A source resolves a package; it does not make anything require one, so `uv sync --dev` uninstalled all ten and left the suite at 22 failed / 2 passed. Naming them in the dev dependency-group restores 24 passed, 12 skipped from a clean sync. pkg/hanzo-dev-py never existed — the directory is pkg/hanzo-dev — so the eight excludes and workspace members spelling it were inert. mypy.ini is the config that actually loads, and with the name corrected it stops type-checking a package it was written to skip (18 errors -> none). cloud.py cited APIKeyPrefixes as the authority on key prefixes; no such symbol exists. isAPIKey is the real gate and it admits hk-, sk-, pk-, fw_ and hz_, so NO_KEY was telling callers the wrong two. (cherry picked from commit b2024662400895e456d4b3811fd286565e4e7109)