diff --git a/README.md b/README.md index 32327ae651..c0941fafef 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,6 @@ Below is BitFun’s **official Agent and capability inventory**, plus how we tra | **Session usage report** | Type `/usage` in chat to view recorded runtime, token usage, and model/tool/file summaries for the current session. | | **Cowork Agent** | Native PDF / DOCX / XLSX / PPTX workflows; extend on demand from the Skill marketplace | | **Document collaboration** | Write and ask in the document; the AI rewrites, continues, summarizes, and lays out text directly in paragraphs | -| **Computer Use** | Sees the screen and drives mouse and keyboard to operate browsers and any desktop app—hand repetitive clicking to the Agent | | **Personal Assistant** | Long-term memory and personality; schedules Code / Cowork / Computer Use / custom Agents as needed | | **Remote control / IM** | Phone QR pairing, Telegram, Feishu Bot, WeChat Bot for remote commands with live progress | | **MCP / MCP App** | One-click hookup for external tools; MCP can also be packaged as installable Apps | @@ -126,10 +125,6 @@ Desktop is built on Tauri for Windows / macOS / Linux; remote control works from ## Quick Start -### Download and use - -Download the latest desktop installer from [Releases](https://github.com/GCWing/BitFun/releases). After installation, configure your model and start using BitFun. - ### Build from source **Prerequisites:** @@ -145,11 +140,12 @@ Download the latest desktop installer from [Releases](https://github.com/GCWing/ # Install dependencies pnpm install -# Run desktop in development mode -pnpm run desktop:dev +# build frontend +npm run build -# Build desktop -pnpm run desktop:build +# build so +cd ./src/apps/desktop +cargo tauri ohos build ``` For more details, see the [Contributing guide](./CONTRIBUTING.md). diff --git a/README.zh-CN.md b/README.zh-CN.md index a14261a185..927aecda65 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -69,7 +69,6 @@ Agent 领域几乎每周都有新范式出现。BitFun 的节奏是——**看 | **会话用量报告** | 在聊天中输入 `/usage`,查看当前会话的记录耗时、Token 用量和模型/工具/文件摘要。 | | **Cowork Agent** | PDF / DOCX / XLSX / PPTX 原生处理能力,可从 Skill 市场按需扩展 | | **文档协作** | 在文档里边写边问,AI 直接在段落上改写、续写、总结、排版 | -| **Computer Use** | 看屏幕、动鼠标键盘,操作浏览器与任意桌面应用,把"手动点点点"交给 Agent | | **个人助理** | 长期记忆、个性设定,按需调度 Code / Cowork / Computer Use / 自定义 Agent | | **远程控制 / IM 接入** | 手机扫码、Telegram、飞书 Bot、微信 Bot 远程下达指令,实时查看进度 | | **MCP / MCP App** | 任意外部工具一键接入,MCP 也能打包成可安装的 App | @@ -130,10 +129,6 @@ Agent 领域几乎每周都有新范式出现。BitFun 的节奏是——**看 ## 快速开始 -### 直接下载使用 - -在 [Releases](https://github.com/GCWing/BitFun/releases) 页面下载最新桌面端安装包,安装后配置模型即可开始使用。 - ### 从源码构建 **前置依赖:** @@ -149,11 +144,12 @@ Agent 领域几乎每周都有新范式出现。BitFun 的节奏是——**看 # 安装依赖 pnpm install -# 以开发模式运行桌面端 -pnpm run desktop:dev +# 编译前端 +npm run build -# 构建桌面端 -pnpm run desktop:build +# 编译出so +cd ./src/apps/desktop +cargo tauri ohos build ``` 更多详情请参阅[贡献指南](./CONTRIBUTING_CN.md)。 diff --git a/src/apps/ohos/entry/src/main/module.json5 b/src/apps/ohos/entry/src/main/module.json5 index 5d753164ec..8a81ea5924 100644 --- a/src/apps/ohos/entry/src/main/module.json5 +++ b/src/apps/ohos/entry/src/main/module.json5 @@ -16,9 +16,9 @@ "name": "EntryAbility", "srcEntry": "./ets/entryability/EntryAbility.ets", "description": "$string:EntryAbility_desc", - "icon": "$media:bitfun_icon", + "icon": "$media:bitfun_icon_dark.png", "label": "$string:EntryAbility_label", - "startWindowIcon": "$media:startIcon", + "startWindowIcon": "$media:bitfun_icon_light.png", "startWindowBackground": "$color:start_window_background", "exported": true, "skills": [ diff --git a/src/apps/ohos/entry/src/main/resources/base/media/bitfun_icon_dark.png b/src/apps/ohos/entry/src/main/resources/base/media/bitfun_icon_dark.png new file mode 100644 index 0000000000..81bffc03a2 Binary files /dev/null and b/src/apps/ohos/entry/src/main/resources/base/media/bitfun_icon_dark.png differ diff --git a/src/apps/ohos/entry/src/main/resources/base/media/bitfun_icon.png b/src/apps/ohos/entry/src/main/resources/base/media/bitfun_icon_light.png similarity index 100% rename from src/apps/ohos/entry/src/main/resources/base/media/bitfun_icon.png rename to src/apps/ohos/entry/src/main/resources/base/media/bitfun_icon_light.png diff --git a/src/web-ui/src/flow_chat/components/modern/FlowChatHeader.tsx b/src/web-ui/src/flow_chat/components/modern/FlowChatHeader.tsx index 9a3b36221d..0f73d5c894 100644 --- a/src/web-ui/src/flow_chat/components/modern/FlowChatHeader.tsx +++ b/src/web-ui/src/flow_chat/components/modern/FlowChatHeader.tsx @@ -4,7 +4,7 @@ * Height matches side panel headers (40px). */ -import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react'; +import React, {useEffect, useMemo, useRef, useState} from 'react'; import { Bot, ChevronDown, ChevronUp, List } from 'lucide-react'; import { Tooltip, IconButton } from '@/component-library'; import { useTranslation } from 'react-i18next';