Merge branch 'main' of github.com:webdevcody/automaker

This commit is contained in:
Cody Seibert
2025-12-09 19:00:21 -05:00
24 changed files with 4783 additions and 155 deletions

View File

@@ -11,6 +11,7 @@ export type ViewMode =
| "tools"
| "interview"
| "context";
export type ThemeMode =
| "light"
| "dark"
@@ -26,6 +27,8 @@ export type ThemeMode =
| "onedark"
| "synthwave";
export type KanbanCardDetailLevel = "minimal" | "standard" | "detailed";
export interface ApiKeys {
anthropic: string;
google: string;
@@ -77,11 +80,12 @@ export interface Feature {
category: string;
description: string;
steps: string[];
status: "backlog" | "in_progress" | "verified";
status: "backlog" | "in_progress" | "waiting_approval" | "verified";
images?: FeatureImage[];
imagePaths?: FeatureImagePath[]; // Paths to temp files for agent context
startedAt?: string; // ISO timestamp for when the card moved to in_progress
skipTests?: boolean; // When true, skip TDD approach and require manual verification
summary?: string; // Summary of what was done/modified by the agent
}
export interface AppState {
@@ -118,6 +122,9 @@ export interface AppState {
runningAutoTasks: string[]; // Feature IDs being worked on (supports concurrent tasks)
autoModeActivityLog: AutoModeActivity[];
maxConcurrency: number; // Maximum number of concurrent agent tasks
// Kanban Card Display Settings
kanbanCardDetailLevel: KanbanCardDetailLevel; // Level of detail shown on kanban cards
}
export interface AutoModeActivity {
@@ -192,6 +199,9 @@ export interface AppActions {
clearAutoModeActivity: () => void;
setMaxConcurrency: (max: number) => void;
// Kanban Card Settings actions
setKanbanCardDetailLevel: (level: KanbanCardDetailLevel) => void;
// Reset
reset: () => void;
}
@@ -216,6 +226,7 @@ const initialState: AppState = {
runningAutoTasks: [],
autoModeActivityLog: [],
maxConcurrency: 3, // Default to 3 concurrent agents
kanbanCardDetailLevel: "standard", // Default to standard detail level
};
export const useAppStore = create<AppState & AppActions>()(
@@ -454,6 +465,10 @@ export const useAppStore = create<AppState & AppActions>()(
setMaxConcurrency: (max) => set({ maxConcurrency: max }),
// Kanban Card Settings actions
setKanbanCardDetailLevel: (level) =>
set({ kanbanCardDetailLevel: level }),
// Reset
reset: () => set(initialState),
}),
@@ -469,6 +484,7 @@ export const useAppStore = create<AppState & AppActions>()(
chatSessions: state.chatSessions,
chatHistoryOpen: state.chatHistoryOpen,
maxConcurrency: state.maxConcurrency,
kanbanCardDetailLevel: state.kanbanCardDetailLevel,
}),
}
)