mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 08:13:37 +00:00
- Extract board-view into organized subfolders following new pattern: - components/: kanban-card, kanban-column - dialogs/: all dialog and modal components (8 files) - hooks/: all board-specific hooks (10 files) - shared/: reusable components between dialogs (model-selector, etc.) - Rename all files to kebab-case convention - Add barrel exports (index.ts) for clean imports - Add docs/folder-pattern.md documenting the folder structure - Reduce board-view.tsx from ~3600 lines to ~490 lines 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
71 lines
1.2 KiB
TypeScript
71 lines
1.2 KiB
TypeScript
import { AgentModel, ThinkingLevel } from "@/store/app-store";
|
|
import {
|
|
Brain,
|
|
Zap,
|
|
Scale,
|
|
Cpu,
|
|
Rocket,
|
|
Sparkles,
|
|
} from "lucide-react";
|
|
|
|
export type ModelOption = {
|
|
id: AgentModel;
|
|
label: string;
|
|
description: string;
|
|
badge?: string;
|
|
provider: "claude";
|
|
};
|
|
|
|
export const CLAUDE_MODELS: ModelOption[] = [
|
|
{
|
|
id: "haiku",
|
|
label: "Claude Haiku",
|
|
description: "Fast and efficient for simple tasks.",
|
|
badge: "Speed",
|
|
provider: "claude",
|
|
},
|
|
{
|
|
id: "sonnet",
|
|
label: "Claude Sonnet",
|
|
description: "Balanced performance with strong reasoning.",
|
|
badge: "Balanced",
|
|
provider: "claude",
|
|
},
|
|
{
|
|
id: "opus",
|
|
label: "Claude Opus",
|
|
description: "Most capable model for complex work.",
|
|
badge: "Premium",
|
|
provider: "claude",
|
|
},
|
|
];
|
|
|
|
export const THINKING_LEVELS: ThinkingLevel[] = [
|
|
"none",
|
|
"low",
|
|
"medium",
|
|
"high",
|
|
"ultrathink",
|
|
];
|
|
|
|
export const THINKING_LEVEL_LABELS: Record<ThinkingLevel, string> = {
|
|
none: "None",
|
|
low: "Low",
|
|
medium: "Med",
|
|
high: "High",
|
|
ultrathink: "Ultra",
|
|
};
|
|
|
|
// Profile icon mapping
|
|
export const PROFILE_ICONS: Record<
|
|
string,
|
|
React.ComponentType<{ className?: string }>
|
|
> = {
|
|
Brain,
|
|
Zap,
|
|
Scale,
|
|
Cpu,
|
|
Rocket,
|
|
Sparkles,
|
|
};
|