Skip to content

SDK v1.6.2

Choose a tag to compare

@github-actions github-actions released this 16 Feb 23:02
· 112 commits to main since this release

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-check now 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-sdk

SDK + CLI:

pipx install "affinity-sdk[cli]"

MCP Server for Claude Desktop (easiest - MCPB bundle):

  1. Install CLI: pipx install "affinity-sdk[cli]"
  2. (Optional) Pre-configure API key: xaffinity config setup-key
    • If skipped, Claude Desktop will prompt for your API key during install
  3. Install xaffinity MCP in Claude Desktop (download and double-click)

Other MCP clients (Cursor, Windsurf, VS Code, etc.) require manual configuration - see MCP docs.

Full documentation | MCP Server docs