You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Update SDK API to use Agent and Conversation aliases with explicit workspace creation
- Add Agent type alias for AgentBase to provide cleaner user-facing API
- Add Conversation const alias for RemoteConversation for consistency with Python SDK
- Update create/load methods to require explicit RemoteWorkspace parameter
- Modify ConversationManager to create RemoteWorkspace instances explicitly
- Update all examples and documentation to use new API pattern:
- Use Agent instead of AgentBase
- Use Conversation instead of RemoteConversation
- Explicitly construct RemoteWorkspace objects
- Update example React app and basic usage examples
- Maintain backward compatibility by keeping original exports
This change aligns the TypeScript SDK more closely with the Python SDK
architecture and provides a more intuitive API for end users.
Co-authored-by: openhands <openhands@all-hands.dev>
0 commit comments