v0.5.1 - Python SDK Test Stability & Release Workflow Fix
Summary
Patch release fixing all Python SDK test failures after implementation refactors and fixing the release workflow SBOM generation.
Changes
Python SDK (sdk/python/)
- Added
AIMClient.from_credentials()classmethod -- load an existing client from saved credentials (921b869) - Added
AIMClient.auto_register_or_load()classmethod -- smart registration/loading wrapper aroundregister_agent()(921b869) - Fixed all test assertions after parameter rename (
talks_to->mcp_server_names),api_key=Noneaddition, andauto_detect_mcpflag separation (921b869) - Fixed capability detection tests to pass
include_imports=Truewhere import-based detection is mocked (921b869) - Fixed e2e zero-config test -- mock
requests.getfor agent-exists check, removed conflicting keypair from mock response (921b869) - Marked integration tests -- credential management and decorator tests marked
@pytest.mark.integration, excluded by default inpytest.ini(921b869) - Resolved import failures from prior PR (
deffbcf)
CI/CD
- Fixed release workflow -- corrected
package-lock.jsoncache path and added--ignore-npm-errorsto frontend SBOM generation (789f98f,68b945f)
Test Results
- Python SDK: 322 passed, 0 failures, 35 skipped, 10 integration deselected
- Go Backend: all tests passing
Assets
sbom-backend.cdx.json-- Go backend CycloneDX SBOMsbom-frontend.cdx.json-- Frontend CycloneDX SBOM