fix: align SDK workspace communication contract #28
Reference in New Issue
Block a user
Delete Branch "fix/sdk-delegate-source-target-contract"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes molecule-ai/molecule-sdk-python#26 and molecule-ai/molecule-sdk-python#27.\n\nChanges:\n- RemoteAgentClient.delegate now matches the platform contract: source workspace in the URL, target workspace in the JSON body.\n- RemoteAgentClient.register now sends the existing routing/auth headers so SaaS org/origin handling is consistent with heartbeat and other workspace calls.\n- Added regression tests for both route shape and register headers.\n\nVerification:\n- PYTHONPATH=. pytest -q -> 310 passed, 1 skipped