SDK v1.6.2
Highlights
Update notifications now work reliably. Previously, having multiple Python environments (e.g., dev virtualenv + system install) could silently poison the update cache, and the first config update-check run always said "never checked" instead of just checking.
Bug Fixes
- CLI:
config update-checknow checks PyPI inline when cache is missing or stale, instead of showing "never checked" - CLI: Background update worker now receives version from spawning process, fixing version mismatch when multiple Python environments share a cache
- CLI: Smarter cache invalidation — upgrading no longer discards the cache; it adapts it
Quick Install
SDK only:
pip install affinity-sdkSDK + CLI:
pipx install "affinity-sdk[cli]"MCP Server for Claude Desktop (easiest - MCPB bundle):
- Install CLI:
pipx install "affinity-sdk[cli]" - (Optional) Pre-configure API key:
xaffinity config setup-key- If skipped, Claude Desktop will prompt for your API key during install
- Install xaffinity MCP in Claude Desktop (download and double-click)
Other MCP clients (Cursor, Windsurf, VS Code, etc.) require manual configuration - see MCP docs.