feat: add transport negotiation and content type handling

- add transport negotiation logic with fallback support
- add content type parser and encoder utilities
- add transport configuration models (client and server)
- add transport types and enums
- enhance config with transport settings
- add negotiation events for transport and content type
This commit is contained in:
Greyson LaLonde
2026-01-29 05:13:42 -05:00
parent e4be1329a0
commit 4543c66697
24 changed files with 3994 additions and 641 deletions

View File

@@ -43,6 +43,7 @@ def mock_context() -> MagicMock:
context.context_id = "test-context-456"
context.get_user_input.return_value = "Test user message"
context.message = MagicMock(spec=Message)
context.message.parts = []
context.current_task = None
return context