ee6e3491e7
SPEC, DEV docs, and code comments still talked about the codebase as a rewrite-in-progress against an external prototype. With v1 shipped the framing reads oddly — it implies code is provisional when it's the production thing. Recast §18 as "the technical stack," strip "carryover from the prototype" comments across backend (api.py, chat.py, providers.py) and frontend (DiffView, PromptBar, SelectionTooltip, modelStyles), and rework SPEC §1 / §18 to introduce OHM up front rather than as a follow-on to a prototype reference. Also: - RUNBOOK: bump Python prereq to 3.11+ to match the production VM (was 3.13). - Remove IMPLEMENTATION-PROMPT.md — the original implementation brief is no longer load-bearing. - Add deploy/DEPLOY-NEW-SESSION-PROMPT.md as the durable deploy-handoff prompt for new sessions.
24 lines
1.1 KiB
JavaScript
24 lines
1.1 KiB
JavaScript
// modelStyles.js — colors and display labels for each LLM provider.
|
|
// Per §19.2's per-RFC-model topic, future per-RFC overrides land on
|
|
// top of this map without replacing it.
|
|
|
|
export const MODEL_STYLES = {
|
|
// Claude variants — shades of purple
|
|
'claude': { color: '#7c3aed', bg: '#faf5ff', label: 'Claude' },
|
|
'claude-sonnet': { color: '#7c3aed', bg: '#faf5ff', label: 'Sonnet' },
|
|
'claude-opus': { color: '#4c1d95', bg: '#f5f3ff', label: 'Opus' },
|
|
'claude-haiku': { color: '#a78bfa', bg: '#faf5ff', label: 'Haiku' },
|
|
|
|
// Gemini variants — shades of blue
|
|
'gemini': { color: '#1d4ed8', bg: '#eff6ff', label: 'Gemini' },
|
|
'gemini-pro': { color: '#1d4ed8', bg: '#eff6ff', label: 'Gemini Pro' },
|
|
'gemini-flash': { color: '#0284c7', bg: '#f0f9ff', label: 'Gemini Flash' },
|
|
'gemini-2-flash': { color: '#0ea5e9', bg: '#f0f9ff', label: 'Gemini 2 Flash' },
|
|
|
|
// OpenAI / Copilot
|
|
'openai': { color: '#059669', bg: '#ecfdf5', label: 'Copilot' },
|
|
|
|
// Fallback
|
|
'default': { color: '#6b7280', bg: '#f9fafb', label: 'AI' },
|
|
}
|