ci: add GitHub Actions CI for Linux/macOS/Windows#5
Merged
Sunrisepeak merged 31 commits intomainfrom Mar 10, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Guard connect() against re-entry on already-connected socket - Add POLLERR/POLLHUP to poll_fd revents check - Rename kInvalidSocket to INVALID_SOCKET_FD per mcpp style Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- URL parsing, HTTP/1.1 request building, response parsing - Chunked transfer-encoding decoding - Connection pool (map<host:port, TlsSocket>) - Fix: check user headers before auto-adding Host/Content-Length/Connection - Fix: TlsSocket::wait_readable checks mbedtls internal buffer first Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add send_stream() method that reads response body incrementally, decodes chunked transfer-encoding on the fly, and feeds data through SseParser to a user-provided callback. The callback returns false to stop receiving events early. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add proxy module with URL parsing and CONNECT tunnel establishment. Refactor TlsSocket with connect_over() to layer TLS on pre-connected sockets. Integrate proxy into HttpClient send/send_stream paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…arams Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the old libcurl-based OpenAI client with a new Provider-based implementation using tinyhttps. Implements full message serialization, payload construction, response parsing, streaming via SSE, and embeddings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move provider.cppm, openai.cppm, anthropic.cppm into src/providers/ - Add ApiError and ConnectionError in src/errors.cppm - Add live API tests (OpenAI, Anthropic), tool calling, structured output, embeddings tests - Add integration test verifying concepts and type system - Update examples to new Client<Provider> API - Clean up xmake.lua (global c++23/modules policy) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Uses xlings for one-command environment setup (xmake + toolchains). Runs offline tests on all three platforms. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
xlings installconfigures xmake + toolchains)Test plan
🤖 Generated with Claude Code