mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 08:13:37 +00:00
feat: Add Cursor CLI types and models
- Introduced new types and interfaces for Cursor CLI configuration, authentication status, and event handling. - Created a comprehensive model definition for Cursor models, including metadata and helper functions. - Updated existing interfaces to support both Claude and Cursor models in the UI. - Enhanced the default model configuration to include Cursor's recommended default. - Updated type exports to include new Cursor-related definitions.
This commit is contained in:
@@ -4,19 +4,19 @@
|
||||
|
||||
## Status Overview
|
||||
|
||||
| Phase | Name | Status | Test Status |
|
||||
| ----- | ------------------------------------------------------------ | --------- | ----------- |
|
||||
| 0 | [Analysis & Documentation](phases/phase-0-analysis.md) | `pending` | - |
|
||||
| 1 | [Core Types & Configuration](phases/phase-1-types.md) | `pending` | - |
|
||||
| 2 | [Cursor Provider Implementation](phases/phase-2-provider.md) | `pending` | - |
|
||||
| 3 | [Provider Factory Integration](phases/phase-3-factory.md) | `pending` | - |
|
||||
| 4 | [Setup Routes & Status Endpoints](phases/phase-4-routes.md) | `pending` | - |
|
||||
| 5 | [Log Parser Integration](phases/phase-5-log-parser.md) | `pending` | - |
|
||||
| 6 | [UI Setup Wizard](phases/phase-6-setup-wizard.md) | `pending` | - |
|
||||
| 7 | [Settings View Provider Tabs](phases/phase-7-settings.md) | `pending` | - |
|
||||
| 8 | [AI Profiles Integration](phases/phase-8-profiles.md) | `pending` | - |
|
||||
| 9 | [Task Execution Integration](phases/phase-9-execution.md) | `pending` | - |
|
||||
| 10 | [Testing & Validation](phases/phase-10-testing.md) | `pending` | - |
|
||||
| Phase | Name | Status | Test Status |
|
||||
| ----- | ------------------------------------------------------------ | ----------- | ----------- |
|
||||
| 0 | [Analysis & Documentation](phases/phase-0-analysis.md) | `completed` | ✅ |
|
||||
| 1 | [Core Types & Configuration](phases/phase-1-types.md) | `completed` | ✅ |
|
||||
| 2 | [Cursor Provider Implementation](phases/phase-2-provider.md) | `pending` | - |
|
||||
| 3 | [Provider Factory Integration](phases/phase-3-factory.md) | `pending` | - |
|
||||
| 4 | [Setup Routes & Status Endpoints](phases/phase-4-routes.md) | `pending` | - |
|
||||
| 5 | [Log Parser Integration](phases/phase-5-log-parser.md) | `pending` | - |
|
||||
| 6 | [UI Setup Wizard](phases/phase-6-setup-wizard.md) | `pending` | - |
|
||||
| 7 | [Settings View Provider Tabs](phases/phase-7-settings.md) | `pending` | - |
|
||||
| 8 | [AI Profiles Integration](phases/phase-8-profiles.md) | `pending` | - |
|
||||
| 9 | [Task Execution Integration](phases/phase-9-execution.md) | `pending` | - |
|
||||
| 10 | [Testing & Validation](phases/phase-10-testing.md) | `pending` | - |
|
||||
|
||||
**Status Legend:** `pending` | `in_progress` | `completed` | `blocked`
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Phase 1: Core Types & Configuration
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
**Dependencies:** Phase 0 (Analysis)
|
||||
**Estimated Effort:** Small (type definitions only)
|
||||
|
||||
@@ -16,7 +16,7 @@ Define all Cursor-specific types and extend existing types to support the new pr
|
||||
|
||||
### Task 1.1: Create Cursor Model Definitions
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `libs/types/src/cursor-models.ts`
|
||||
|
||||
@@ -124,7 +124,7 @@ export function getAllCursorModelIds(): CursorModelId[] {
|
||||
|
||||
### Task 1.2: Create Cursor CLI Types
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `libs/types/src/cursor-cli.ts`
|
||||
|
||||
@@ -247,7 +247,7 @@ export type CursorStreamEvent =
|
||||
|
||||
### Task 1.3: Extend ModelProvider Type
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `libs/types/src/settings.ts`
|
||||
|
||||
@@ -263,7 +263,7 @@ export type ModelProvider = 'claude' | 'cursor';
|
||||
|
||||
### Task 1.4: Add Cursor Profile Config Type
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `skipped` (not needed - thinking is embedded in model ID)
|
||||
|
||||
**File:** `libs/types/src/settings.ts`
|
||||
|
||||
@@ -282,7 +282,7 @@ export interface CursorProfileConfig {
|
||||
|
||||
### Task 1.5: Update ModelOption Interface
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `libs/types/src/model-display.ts`
|
||||
|
||||
@@ -312,7 +312,7 @@ export interface ModelOption {
|
||||
|
||||
### Task 1.6: Extend DEFAULT_MODELS
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `libs/types/src/model.ts`
|
||||
|
||||
@@ -333,7 +333,7 @@ export const DEFAULT_MODELS = {
|
||||
|
||||
### Task 1.7: Update Type Exports
|
||||
|
||||
**Status:** `pending`
|
||||
**Status:** `completed`
|
||||
|
||||
**File:** `libs/types/src/index.ts`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user