mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
feat: Integrate Cursor provider support in AI profiles
- Updated AIProfile type to include support for Cursor provider, adding cursorModel and validation logic. - Enhanced ProfileForm component to handle provider selection and corresponding model configurations for both Claude and Cursor. - Implemented display functions for model and thinking configurations in ProfileQuickSelect. - Added default Cursor profiles to the application state. - Updated UI components to reflect provider-specific settings and validations. - Marked completion of the AI Profiles Integration phase in the project plan.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Phase 8: AI Profiles Integration
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
**Dependencies:** Phase 1 (Types), Phase 7 (Settings)
|
||||
**Estimated Effort:** Medium (UI + types)
|
||||
|
||||
@@ -31,7 +31,7 @@ Extend the AI Profiles system to support Cursor as a provider, with proper handl
|
||||
|
||||
### Task 8.1: Update AIProfile Type
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `libs/types/src/settings.ts`
|
||||
|
||||
@@ -93,7 +93,7 @@ export function getProfileModelString(profile: AIProfile): string {
|
||||
|
||||
### Task 8.2: Update Profile Form Component
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `apps/ui/src/components/views/profiles-view/components/profile-form.tsx`
|
||||
|
||||
@@ -289,7 +289,7 @@ export function ProfileForm({ profile, onSave, onCancel }: ProfileFormProps) {
|
||||
|
||||
### Task 8.3: Update Profile Card Display
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `apps/ui/src/components/views/profiles-view/components/profile-card.tsx`
|
||||
|
||||
@@ -374,7 +374,7 @@ export function ProfileCard({ profile, onEdit, onDelete }: ProfileCardProps) {
|
||||
|
||||
### Task 8.4: Add Default Cursor Profiles
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `apps/ui/src/components/views/profiles-view/constants.ts`
|
||||
|
||||
@@ -430,7 +430,7 @@ export const DEFAULT_PROFILES: AIProfile[] = [
|
||||
|
||||
### Task 8.5: Update Profile Validation
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
Add validation for profile data:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user