feat: Add host-based assistant avatars (Neko/Mochi)
- Add avatar field to hosts.json config for Neko and Mochi - Create HostContext to provide host config to components - Display host avatar and name in chat messages instead of generic Claude - Add user avatar and first name to user messages - Include avatar in /api/hosts endpoint response - Fix appendFileSync import for debug logging 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1
backend/public/assets/index-4MVeF-MR.css
Normal file
1
backend/public/assets/index-4MVeF-MR.css
Normal file
File diff suppressed because one or more lines are too long
431
backend/public/assets/index-D5ZTFezh.js
Normal file
431
backend/public/assets/index-D5ZTFezh.js
Normal file
File diff suppressed because one or more lines are too long
431
backend/public/assets/index-DmNT3Myo.js
Normal file
431
backend/public/assets/index-DmNT3Myo.js
Normal file
File diff suppressed because one or more lines are too long
10
backend/public/claude.svg
Normal file
10
backend/public/claude.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
||||
<defs>
|
||||
<linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#f97316;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#ea580c;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="100" height="100" rx="20" fill="url(#grad)"/>
|
||||
<text x="50" y="68" font-family="Arial, sans-serif" font-size="50" font-weight="bold" fill="white" text-anchor="middle">C</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 510 B |
14
backend/public/index.html
Normal file
14
backend/public/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/claude.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Claude Web UI</title>
|
||||
<script type="module" crossorigin src="/assets/index-DmNT3Myo.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-4MVeF-MR.css">
|
||||
</head>
|
||||
<body class="bg-dark-950 text-dark-100">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
backend/public/mochi-avatar.png
Normal file
BIN
backend/public/mochi-avatar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
BIN
backend/public/neko-avatar.png
Normal file
BIN
backend/public/neko-avatar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
Reference in New Issue
Block a user