A self-hosted server needs no key, but all three SDKs threw before the first
request. The key is now optional: without one no Authorization header is sent.
A key that is present is validated as before.
Release prep: openjev-client 0.7.2, @openjev/sdk 0.6.1, @openjev/lite 0.2.1.
importlib.metadata.version("openjev") raises PackageNotFoundError now that the
real distribution name is "openjev-client" (renamed in a0c6263). The test
imported the stdlib helper directly instead of going through the SDK's own
__version__ (openjev._version, which already has the openjev-client/openjev
fallback), so any fresh install installed under the real "openjev-client"
distribution name fails this test with zero relation to the behavior being
tested (the user-agent header format itself is unaffected -- it is still
"openjev/<version>", matching SDK_NAME).
Verified live: before the fix, `pytest tests/test_clients.py` failed 2/111
(sync + async) with PackageNotFoundError; after, 111/111 pass. Full suite:
681 passed, 54 skipped (unchanged skip count, no regressions). ruff and
pyrefly both clean on the touched file.
Typed decision/classification service with an in-process gte-small ONNX
embedding engine and lexical fallback, JS/Python SDKs, adapters, and the
otsone model family. Apache-2.0 (sub-packages keep their MIT licenses).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>