Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening the same managed agent Session twice previously replaced its page capability, so the first tab or in-flight DeepSeek Harness assets (including
deepseek-harness-auth-query.js) received HTTP 403. Reuse the unexpired capability for the same owner and Session, reading it after the awaited cloud lookup so concurrent opens also converge on one capability.Each open still validates cloud Session readiness and ownership, refreshes the cached endpoint, and preserves the original capability expiry. Expired capabilities rotate; deleting a Session revokes access. This shared service also serves OpenClaw and Hermes.
Validation:
pytest tests/cli/test_frontend_sandbox.py tests/cli/test_frontend_agent_proxy.py -q: 126 passed.Draft limitations: this fixes a locally reproduced cause consistent with the reported 30-byte 403; the deployed response body and version have not been verified. Capabilities remain process-local, so cross-instance routing and process restarts still require separate work. Stable resource URLs avoid needless URL churn on reopen, but production loading latency has not been measured or claimed resolved.