Implements Phase 2 from AI_API_ENHANCEMENT_HANDOFF.md to expose yaze functionality via HTTP endpoints for automation and external tools. Changes: - Add YAZE_ENABLE_HTTP_API CMake option (defaults to YAZE_ENABLE_AGENT_CLI) - Add YAZE_HTTP_API_ENABLED compile definition when enabled - Integrate HttpServer into z3ed with conditional compilation - Add --http-port and --http-host CLI flags with full parsing - Create comprehensive API documentation with examples Initial endpoints: - GET /api/v1/health - Server health check - GET /api/v1/models - List available AI models from all providers Built with mac-ai preset (46 steps, 89MB binary). Tested both endpoints successfully on localhost:8080. Co-Authored-By: Claude <noreply@anthropic.com>
4.3 KiB
4.3 KiB