fix(ui): add MarkdownContent component, fix deprecated meta tag, bump v0.9.2
All checks were successful
Stable Release / stable (push) Successful in 1m48s

- Add missing MarkdownContent component (ReactMarkdown + remarkGfm wrapper)
- Replace deprecated apple-mobile-web-app-capable with mobile-web-app-capable
- Bump version to 0.9.2

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
Augustin
2026-04-28 13:18:37 +02:00
parent 55cd00802d
commit 3f36974b59
3 changed files with 15 additions and 4 deletions

View File

@@ -277,6 +277,17 @@ function CodeBlockWithCopy({ part, index, copiedIdx, setCopiedIdx }) {
)
}
function MarkdownContent({ content, raw }) {
if (raw) {
return <pre className="feed-content" style={{ whiteSpace: 'pre-wrap', fontFamily: 'var(--font-mono)', fontSize: '0.9em' }}>{content}</pre>
}
return (
<div className="feed-content">
<ReactMarkdown remarkPlugins={[remarkGfm]}>{content}</ReactMarkdown>
</div>
)
}
function FeedItem({ msg, activeAgents, onModeChange }) {
const isUser = msg.role === 'user'
const isSystem = msg.role === 'system'