Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ services:
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
- OLLAMA_URL=${OLLAMA_URL:-http://ollama:11434}
- DEFAULT_MODEL=${DEFAULT_MODEL:-claude-opus-4-6}
- SECRET_KEY=${SECRET_KEY}
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
- OLLAMA_URL=${OLLAMA_URL:-http://ollama:11434}
- DEFAULT_MODEL=${DEFAULT_MODEL:-claude-opus-4-6}
- SECRET_KEY=${SECRET_KEY:?SECRET_KEY environment variable is required}
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ function AppInner() {
<div className="flex items-center gap-2.5">
<div className="text-2xl leading-none select-none text-mizan-gold" style={{ fontFamily: "Georgia, serif" }}>&#1605;&#1610;&#1586;&#1575;&#1606;</div>
<div className="flex flex-col">
<span className="text-xs font-semibold text-gray-900 dark:text-gray-100 tracking-wide">MIZAN</span>
<span className="text-sm font-semibold text-gray-900 dark:text-gray-100 tracking-wide">MIZAN</span>
<span className="text-xs text-gray-400 dark:text-gray-500 tracking-widest">v{appVersion}</span>
</div>
</div>
Expand Down Expand Up @@ -1273,7 +1273,7 @@ function AppInner() {
<div className="flex-1 py-2">
{navSections.map(section => (
<div key={section.label} className="px-2 mb-1">
<div className="text-xs font-semibold uppercase tracking-widest text-gray-400 dark:text-gray-500 px-3 py-2">
<div className="text-sm font-semibold uppercase tracking-widest text-gray-400 dark:text-gray-500 px-3 py-2">
{section.label}
</div>
{section.items.map(item => (
Expand All @@ -1297,7 +1297,7 @@ function AppInner() {

{selectedAgent && (
<div className="px-3 py-3 border-t border-gray-200 dark:border-zinc-800">
<div className="text-xs uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-1.5">Active Agent</div>
<div className="text-sm uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-1.5">Active Agent</div>
<div className="flex items-center gap-2">
<div className="w-7 h-7 rounded-full bg-gray-100 dark:bg-zinc-800 border border-gray-200 dark:border-zinc-700 flex items-center justify-center text-mizan-gold text-xs font-semibold">
{selectedAgent.name[0]?.toUpperCase()}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

html {
font-size: 15px;
font-size: 16px;
}

body {
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/pages/ProvidersPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function ProvidersPage({ api, addTerminalLine }: PageProps) {
</div>
<div>
<div className="font-medium text-gray-900 dark:text-gray-100">{provider.display}</div>
<div className="text-xs text-gray-500 dark:text-gray-400">
<div className="text-sm text-gray-500 dark:text-gray-400">
{provider.configured ? (
<span className="text-emerald-600 dark:text-emerald-400">Configured</span>
) : (
Expand All @@ -161,7 +161,7 @@ export default function ProvidersPage({ api, addTerminalLine }: PageProps) {
{provider.models.slice(0, 3).map((m) => (
<div
key={m.id}
className={`text-xs px-2 py-1 rounded cursor-pointer transition-colors ${
className={`text-sm px-2 py-1 rounded cursor-pointer transition-colors ${
selectedProvider === provider.name && selectedModel === m.id
? "bg-mizan-gold/10 text-mizan-gold border border-mizan-gold/20"
: "bg-gray-100 dark:bg-white/5 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-white/10"
Expand Down Expand Up @@ -210,7 +210,7 @@ export default function ProvidersPage({ api, addTerminalLine }: PageProps) {

{/* Health result */}
{h && (
<div className={`mt-2 px-2 py-1 rounded text-xs ${h.healthy
<div className={`mt-2 px-2 py-1 rounded text-sm ${h.healthy
? "bg-emerald-50 dark:bg-emerald-500/10 text-emerald-700 dark:text-emerald-400"
: "bg-red-50 dark:bg-red-500/10 text-red-700 dark:text-red-400"
}`}>
Expand Down Expand Up @@ -270,7 +270,7 @@ export default function ProvidersPage({ api, addTerminalLine }: PageProps) {
</div>
<div className="max-h-64 overflow-y-auto space-y-1 scrollbar-thin">
{models[browseProvider].length === 0 ? (
<div className="text-xs text-gray-400 dark:text-gray-500 py-4 text-center">
<div className="text-sm text-gray-400 dark:text-gray-500 py-4 text-center">
No models found. {browseProvider === "ollama" ? "Is Ollama running?" : "Check API key."}
</div>
) : (
Expand All @@ -288,7 +288,7 @@ export default function ProvidersPage({ api, addTerminalLine }: PageProps) {
}}
>
<div>
<div className="text-xs font-mono text-gray-900 dark:text-gray-200">{m.id}</div>
<div className="text-sm font-mono text-gray-900 dark:text-gray-200">{m.id}</div>
{m.name && m.name !== m.id && (
<div className="text-xs text-gray-500 dark:text-gray-400">{m.name}</div>
)}
Expand All @@ -310,8 +310,8 @@ export default function ProvidersPage({ api, addTerminalLine }: PageProps) {

{/* Setup Guide */}
<div className="card">
<h3 className="text-xs font-semibold text-gray-500 dark:text-gray-400 mb-2 uppercase tracking-wider">Quick Setup</h3>
<div className="space-y-2 text-xs font-mono">
<h3 className="text-sm font-semibold text-gray-500 dark:text-gray-400 mb-2 uppercase tracking-wider">Quick Setup</h3>
<div className="space-y-2 text-sm font-mono">
<div>
<span className="text-amber-600 dark:text-amber-400">Anthropic:</span>{" "}
<span className="text-gray-600 dark:text-gray-400">ANTHROPIC_API_KEY=sk-ant-...</span>
Expand Down
6 changes: 3 additions & 3 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export default {
mono: ['IBM Plex Mono', 'ui-monospace', 'monospace'],
},
fontSize: {
'micro': '11px',
'2xs': '12px',
'xxs': '13px',
'micro': '12px',
'2xs': '13px',
'xxs': '14px',
},
},
},
Expand Down
Loading