Skip to content

Commit 9c5af0a

Browse files
committed
feat: 全面支持多媒体收发(图片/视频/音频/文件)
- chat-ui: extractContent 扩展支持 video/audio/file/document/image_url 等 content block - chat-ui: 新增 appendVideosToEl/appendAudiosToEl/appendFilesToEl 渲染函数 - media: 附件选择器从仅图片升级为全媒体(图片/视频/音频/文件) - media: 灯箱支持视频全屏播放 - markdown: MEDIA 路径支持更多格式(视频/文档/压缩包) - server: /media 端点 MIME 类型扩展至 30+ 种 - components.css: 新增视频播放器/文件卡片/预览徽章样式 - i18n: 新增多媒体相关翻译 - docs: 官网功能特性更新为多媒体收发 - 版本号升级至 1.6.0
1 parent fe8e6e8 commit 9c5af0a

9 files changed

Lines changed: 438 additions & 68 deletions

File tree

docs/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<meta name="viewport" content="width=device-width,initial-scale=1">
66
<link rel="icon" type="image/svg+xml" href="favicon.svg">
77
<title>ClawApp - Mobile Chat Client for OpenClaw AI Agent | OpenClaw AI 智能体移动端客户端</title>
8-
<meta name="description" content="ClawApp is a mobile H5 chat client for OpenClaw AI Agent platform. SSE streaming chat, image upload, voice input, offline cache, Ed25519 device auth, multi-agent support, quick commands, session management, dark mode, PWA & APK support.">
9-
<meta name="keywords" content="ClawApp,OpenClaw,AI Agent,AI Chat,mobile chat client,H5,SSE,Server-Sent Events,PWA,APK,self-hosted,streaming chat,dark mode,i18n,offline,Ed25519,IndexedDB,voice input,multi-agent,智能体,移动端,聊天,AI助手,开源,晴辰云,离线缓存,设备认证,语音输入,多智能体">
8+
<meta name="description" content="ClawApp is a mobile H5 chat client for OpenClaw AI Agent platform. SSE streaming chat, multimedia support (image/video/audio/file), voice input, offline cache, Ed25519 device auth, multi-agent support, quick commands, session management, dark mode, PWA & APK support.">
9+
<meta name="keywords" content="ClawApp,OpenClaw,AI Agent,AI Chat,mobile chat client,H5,SSE,Server-Sent Events,PWA,APK,self-hosted,streaming chat,dark mode,i18n,offline,Ed25519,IndexedDB,voice input,multi-agent,multimedia,video,audio,file,智能体,移动端,聊天,AI助手,开源,晴辰云,离线缓存,设备认证,语音输入,多智能体,多媒体">
1010
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
1111
<meta name="author" content="武汉晴辰天下网络科技有限公司">
1212
<link rel="canonical" href="https://clawapp.qt.cool">
1313
<link rel="alternate" hreflang="zh-CN" href="https://clawapp.qt.cool">
1414
<link rel="alternate" hreflang="x-default" href="https://clawapp.qt.cool">
1515
<meta property="og:title" content="ClawApp - Mobile Chat Client for OpenClaw AI Agent">
16-
<meta property="og:description" content="Chat with your OpenClaw AI agent from your phone. SSE streaming, image upload, voice input, offline cache, Ed25519 device auth, multi-agent support.">
16+
<meta property="og:description" content="Chat with your OpenClaw AI agent from your phone. SSE streaming, multimedia (image/video/audio/file), voice input, offline cache, Ed25519 device auth, multi-agent support.">
1717
<meta property="og:url" content="https://clawapp.qt.cool">
1818
<meta property="og:type" content="website">
1919
<meta property="og:site_name" content="ClawApp">
@@ -38,7 +38,7 @@
3838
"url":"https://clawapp.qt.cool","applicationCategory":"CommunicationApplication","operatingSystem":"Web, Android, iOS",
3939
"softwareVersion":"1.2.0","license":"https://opensource.org/licenses/MIT","isAccessibleForFree":true,
4040
"screenshot":"https://clawapp.qt.cool/image/chat-response.png",
41-
"featureList":"SSE streaming chat, Image upload, Voice input, Multi-agent support, Offline cache, Ed25519 device auth, Quick commands, Session management, Dark mode, PWA, i18n, Auto-reconnect, XSS protection",
41+
"featureList":"SSE streaming chat, Multimedia support (image/video/audio/file), Voice input, Multi-agent support, Offline cache, Ed25519 device auth, Quick commands, Session management, Dark mode, PWA, i18n, Auto-reconnect, XSS protection",
4242
"downloadUrl":"https://github.com/qingchencloud/clawapp/releases",
4343
"installUrl":"https://github.com/qingchencloud/clawapp#quickstart",
4444
"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"},
@@ -304,7 +304,7 @@ <h1 class="text-5xl sm:text-6xl lg:text-7xl font-black tracking-tighter leading-
304304
</h1>
305305
<p class="text-lg sm:text-xl max-w-xl mx-auto mb-10 leading-relaxed" style="color:var(--txt2)">
306306
用手机浏览器和你的 <span class="font-semibold" style="color:var(--txt)">OpenClaw AI 智能体</span>聊天<br>
307-
流式对话 · 语音输入 · 多智能体 · 离线缓存 · 设备认证
307+
流式对话 · 多媒体收发 · 语音输入 · 多智能体 · 离线缓存
308308
</p>
309309
<!-- CTA 按钮 -->
310310
<div class="flex flex-wrap gap-4 justify-center">
@@ -391,8 +391,8 @@ <h3 class="font-bold text-[15px] mb-2" style="color:var(--txt)">语音输入</h3
391391
</div>
392392
<div class="spotlight-card rounded-2xl p-6 reveal" style="background:var(--surface1)">
393393
<div class="w-10 h-10 rounded-xl flex items-center justify-center mb-4" style="background:rgba(233,69,96,.1)"><svg class="w-5 h-5 text-[#e94560]" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M21 15l-5-5L5 21"/></svg></div>
394-
<h3 class="font-bold text-[15px] mb-2" style="color:var(--txt)">图片收发</h3>
395-
<p class="text-sm leading-relaxed" style="color:var(--txt2)">拍照/相册上传,AI 图片回复完整支持</p>
394+
<h3 class="font-bold text-[15px] mb-2" style="color:var(--txt)">多媒体收发</h3>
395+
<p class="text-sm leading-relaxed" style="color:var(--txt2)">图片/视频/音频/文件全格式支持,灯箱预览,语音气泡播放</p>
396396
</div>
397397
<div class="spotlight-card rounded-2xl p-6 reveal" style="background:var(--surface1)">
398398
<div class="w-10 h-10 rounded-xl flex items-center justify-center mb-4" style="background:rgba(123,47,247,.1)"><svg class="w-5 h-5 text-[#7b2ff7]" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/></svg></div>

h5/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "clawapp-h5",
33
"private": true,
4-
"version": "1.5.1",
4+
"version": "1.6.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)