feat: add AI enhancement feature to settings and board views

- Introduced AIEnhancementSection to settings view for selecting enhancement models.
- Implemented enhancement functionality in AddFeatureDialog and EditFeatureDialog, allowing users to enhance feature descriptions with AI.
- Added dropdown menu for selecting enhancement modes (improve, technical, simplify, acceptance).
- Integrated new API endpoints for enhancing text using Claude AI.
- Updated navigation to include AI enhancement section in settings.

This enhances user experience by providing AI-powered text enhancement capabilities directly within the application.
This commit is contained in:
SuperComboGamer
2025-12-16 01:28:35 -05:00
parent 363be54303
commit 7131c70186
14 changed files with 970 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
/**
* Enhance prompt routes - HTTP API for AI-powered text enhancement
*
* Provides endpoints for enhancing user input text using Claude AI
* with different enhancement modes (improve, expand, simplify, etc.)
*/
import { Router } from "express";
import { createEnhanceHandler } from "./routes/enhance.js";
/**
* Create the enhance-prompt router
*
* @returns Express router with enhance-prompt endpoints
*/
export function createEnhancePromptRoutes(): Router {
const router = Router();
router.post("/", createEnhanceHandler());
return router;
}