Conversation
Owner
Author
|
This change is part of the following stack: Change managed by git-spice. |
- Add memory_service_url and communicate_service_url fields to UiConfig
- Load AGENTD_MEMORY_SERVICE_URL (default http://localhost:7008) and
AGENTD_COMMUNICATE_SERVICE_URL (default http://localhost:7010) from env
- Add memory_url and communicate_url fields to ProxyState
- Add proxy_memory and proxy_communicate handler functions
- Register /api/memory/{*path} and /api/communicate/{*path} routes
- Update React frontend serviceConfig to use relative proxy paths
- Fix base.ts buildUrl and openWebSocket to handle relative /api/... URLs
via window.location.origin (fixes 'Invalid URL' error)
- Fix inline WS URL helpers in hooks/components for relative base URLs
- Add memory and communicate dev proxy entries to vite.config.ts
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.
Add proxy routes for the memory and communicate services to the UI server, and update the React frontend to use relative proxy paths instead of direct localhost URLs. This fixes the /memories page silently failing due to port mismatch (17008 vs 7008).
Closes #929