mirror of
https://github.com/claude-did-this/claude-hub.git
synced 2026-02-15 03:31:47 +01:00
BREAKING CHANGE: The /api/claude endpoint has been removed. All Claude API functionality is now available through the more robust /api/webhooks/claude endpoint. Migration guide: - For creating sessions: POST /api/webhooks/claude with type: 'session.create' - For checking status: POST /api/webhooks/claude with type: 'session.get' - Sessions now run asynchronously and return immediately with a session ID Changes: - Removed src/routes/claude.ts entirely - Removed related test files (claude.test.ts, claude-simple.test.ts) - Updated all documentation to use webhook endpoint - Updated test utilities to use async session API - Fixed formatting in modified files The webhook-based approach provides: - Async session management with immediate response - Better error handling and recovery - Session status tracking - Parallel session execution - Consistent API with other webhook operations