Files
yaze/cmake
scawful 7391b00553 feat: add HTTP REST API server for external agent access
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>
2025-11-20 00:22:47 -05:00
..