Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move WebSocket implementation to shinkai-http-api #736

Closed

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Move WebSocket implementation from shinkai-node to shinkai-http-api library and integrate with HTTP server.

Changes:

  • Move ws_manager.rs and ws_routes.rs to shinkai-http-api
  • Extract IdentityManagerTrait interface
  • Update Node to use new implementation
  • Add WebSocket routes to HTTP server

Testing:

  • Changes have been tested locally with cargo build
  • Full test suite will run in CI

Link to Devin run: https://app.devin.ai/sessions/382b85e0eb78468187181329d551a3c8

devin-ai-integration bot and others added 23 commits December 17, 2024 11:33
- Create IdentityManagerTrait in identity module
- Move WebSocketManager to websocket module
- Update dependencies and imports

Co-Authored-By: Nicolas Arqueros <[email protected]>
- Add ws_routes.rs to websocket module
- Update imports to use crate-relative paths
- Expose WebSocket routes in mod.rs

Co-Authored-By: Nicolas Arqueros <[email protected]>
- Update WebSocketManager import to use shinkai-http-api
- Update ws_manager initialization with new constructor
- Simplify ws_manager_trait casting

Co-Authored-By: Nicolas Arqueros <[email protected]>
- Move ws_manager.rs and ws_routes.rs to shinkai-http-api
- Extract IdentityManagerTrait interface
- Update Node to use new implementation
- Add WebSocket routes to HTTP server

Co-Authored-By: Nicolas Arqueros <[email protected]>
Co-Authored-By: Nicolas Arqueros <[email protected]>
Co-Authored-By: Nicolas Arqueros <[email protected]>
@nicarq nicarq closed this Dec 17, 2024
@nicarq nicarq deleted the devin/1734435160-add-websocket-support branch December 17, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant