Spaces:
Sleeping
Sleeping
Commit History
-
feat: Implement secure Hugging Face OAuth and patch Next.js vulnerability
- Removed manual HF token input in favor of official Hugging Face OAuth. - Implemented `oauthHandleRedirectIfPresent` in ClientApp state. - Refactored `api.py` request schemas and `modules/integrations.py` inference logic to support an `oauth_token`. - Added a Hybrid Token Priority system that falls back to local `.env` keys for seamless developer experience. - Designed a new "Hugging Face Identity" UI section providing status indicators (Authenticated, Developer Mode, Disconnected). - Bumbed `next` and `eslint-config-next` to `16.2.3` to patch a High Severity Denial of Service vulnerability (GHSA-q4gf-8mx6-v5v3). - Added `suppressHydrationWarning` to `layout.tsx` to fix mismatch errors caused by browser extensions during development.31bd72c
-
Migrate to Next.js & FastAPI Architecture with Premium UI
- Decouples monolithic Gradio app into FastAPI backend (`api.py`) and Next.js frontend (`frontend/`). - Implements Stitch MCP-inspired 'Alchemist's Workshop' aesthetic with glassmorphism and Cinzel typography. - Replaces generic Gradio grids with precisely constrained, center-aligned HTML forms using Tailwind v4. - Preserves 100% functional parity including JSON Save/Load, Example Characters, and Image Generation. - Updates README documentation to reflect the new decoupled setup instructions.4eef090