Merge branch 'AutoMaker-Org:main' into claude/task-dependency-graph-iPz1k

This commit is contained in:
James Botwina
2025-12-22 14:23:18 -05:00
committed by GitHub
44 changed files with 2928 additions and 446 deletions

View File

@@ -4,13 +4,9 @@ import type { Project, TrashedProject } from '@/lib/electron';
import type {
Feature as BaseFeature,
FeatureImagePath,
FeatureTextFilePath,
AgentModel,
PlanningMode,
ThinkingLevel,
ModelProvider,
AIProfile,
ThemeMode,
} from '@automaker/types';
// Re-export ThemeMode for convenience
@@ -245,17 +241,6 @@ export interface ChatSession {
archived: boolean;
}
// Re-export for backward compatibility
export type {
FeatureImagePath,
FeatureTextFilePath,
AgentModel,
PlanningMode,
ThinkingLevel,
ModelProvider,
AIProfile,
};
// UI-specific: base64-encoded images (not in shared types)
export interface FeatureImage {
id: string;
@@ -265,18 +250,18 @@ export interface FeatureImage {
size: number;
}
export interface FeatureImagePath {
id: string;
path: string; // Path to the temp file
filename: string;
mimeType: string;
}
// Available models for feature execution
export type ClaudeModel = 'opus' | 'sonnet' | 'haiku';
// UI-specific Feature extension with UI-only fields and stricter types
export interface Feature extends Omit<
BaseFeature,
'steps' | 'imagePaths' | 'textFilePaths' | 'status'
> {
id: string;
title?: string;
titleGenerating?: boolean;
category: string;
description: string;
steps: string[]; // Required in UI (not optional)
status: 'backlog' | 'in_progress' | 'waiting_approval' | 'verified' | 'completed';
images?: FeatureImage[]; // UI-specific base64 images