- Injected HTTPUpstream service into LanguageServerService - Implemented real upstream API requests via callUpstreamAPI() - Added SSE streaming response handler for streaming messages - Complete error handling and structured logging - Support for masquerading headers (User-Agent, Authorization) - Request/response body marshaling and streaming - Thread-safe session management with metadata storage Core implementation: - LanguageServerService now depends on HTTPUpstream for all HTTP operations - HTTP requests sent to configured Anthropic API endpoint - SSE event parsing and forwarding to clients via update channels - Proper context and timeout handling for streaming operations Phase 1 Status: 95% complete - Upstream API integration: ✅ DONE - Wire dependency injection: ⏳ TODO - Masquerading layer: ⏳ TODO (Phase 2) Next steps: 1. Add Wire provider for LanguageServerService 2. Register HTTP routes in application startup 3. Implement device fingerprinting and token refresh 4. End-to-end testing with real Anthropic API Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
6 lines
238 B
JSON
6 lines
238 B
JSON
{
|
|
"machine_id": "auth0|user_ubulk8ajegkkadrbwxxuggwussjerynp",
|
|
"mac_machine_id": "a2e58794-1539-4ae4-8cf4-a541152dc5fd",
|
|
"dev_device_id": "0e8aef44-12f6-45ce-aba3-d68b867c20d2",
|
|
"sqm_id": "{AAC0F97A-67D0-462F-9834-58898594C504}"
|
|
} |