fix: align SDK workspace communication contract #28

Merged
hongming merged 1 commits from fix/sdk-delegate-source-target-contract into main 2026-05-21 19:06:48 +00:00
Owner

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

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
hongming added 1 commit 2026-05-21 18:55:44 +00:00
fix: align sdk workspace communication contract
Test / test (3.13) (pull_request) Successful in 1m49s
Test / test (3.12) (pull_request) Successful in 1m55s
Test / test (3.11) (pull_request) Successful in 1m57s
6caef7281e
hongming merged commit daea2c38ba into main 2026-05-21 19:06:48 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-sdk-python#28