196 Commits

Author SHA1 Message Date
renovate[bot]
dfe300622e Update dependency electron to ^37.2.0 (#8415)
* Update dependency electron to ~37.2.0

* Update package.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-08-07 14:15:30 +08:00
huangkairan
8c0101e67c 🔨 chore: fix MenuCtr test type error (#8696) 2025-08-06 19:41:47 +08:00
Arvin Xu
6d531d7cc1 💄 style: support different model tabs (#8693) 2025-08-06 16:49:12 +08:00
Arvin Xu
0b30d05aaa 💄 style: add context menu for desktop (#8691)
* update state

* clean code

* improve menu
2025-08-06 15:39:03 +08:00
Arvin Xu
022d858cbc feat: support mcp plugin install from web (#8680)
* refactor modal

* improve mcp plugin display

* fix marketplace modal

* refactor install modal

* support official install

* fix types

* clean

* clean

* clean

* fix types

* fix protocol condition

* update state
2025-08-06 13:23:27 +08:00
YuTengjing
954eb2cb18 🐛 fix(desktop): settings window can't exit when fullscreen (#8633)
* 🐛 fix: settings window can't exit when fullscreen

* 🐛 fix: refactor macOS fullscreen hide to prevent black screen

- Unified fullscreen handling in Browser.hide() method
- Fixed black screen issue when hiding fullscreen windows on macOS
- Simplified close event handler by removing duplicate logic
- Updated toggleVisible() to use consistent hide() method
- Added platform check to only apply fix on macOS

Fixes: https://github.com/electron/electron/issues/20263

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-03 00:23:40 +08:00
Arvin Xu
b7f8e6e521 🐛 fix: fix mcp calling missing array content (#8615) 2025-07-30 19:00:48 +08:00
Arvin Xu
07f3e6a4c4 🐛 fix: fix update hotkey invalid when input mod in desktop (#8572)
* fix hotkey with mod

* fix invalid hotkeys

* add tests
2025-07-26 15:16:45 +08:00
Arvin Xu
b50f1212cb feat: support custom hotkey on desktop (#8559)
* support custom hotkey

* update tests

* clean

* fix tests
2025-07-25 01:04:18 +08:00
Arvin Xu
0192140909 🐛 fix: fix chat stream in desktop and update shortcut (#8520)
* disable nginx chunk buffering

* make setting keep alive

* update shortcut

* update shortcut

* fix lint
2025-07-24 12:04:06 +08:00
CanisMinor
fd7662c3ac 💄 style: fix desktop titlebar style in window (#8439)
* 💄 style: Fix win electron style

📝 docs: Update readme

💄 style: Update useWatchThemeUpdate

💄 style: Update Tray icon

🔧 chore: Update windows

🔧 chore: Update filetree

🔧 chore: Update core

💄 style: Fix desktop draw style

💄 style: Update style

💄 style: Fix backgroundColor

💄 style: Update titlebar style

* 💄 style: Fix windows icon

* 🔧 chore: Clean

* update theme

* 💄 style: Update broswer

* 💄 style: HandleAppThemeChange

* clean

* fix memory leak

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2025-07-24 11:02:07 +08:00
Arvin Xu
2696de4078 💄 style: Update tray icon (#8530)
Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-22 13:46:39 +08:00
Arvin Xu
9fb4b0dfc3 ♻️ refactor: add badge and improve document (#8528)
* update readme

* 📝 docs: Update readme

* 💄 style: Update PlanIcon

* improve tooltip placement

* improve tray

---------

Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-22 13:43:57 +08:00
Arvin Xu
4917d175bb 💄 style: add notification for desktop (#8523)
* add notification for desktop

* update i18n

* fix tests
2025-07-22 10:56:17 +08:00
Arvin Xu
785406be9a 🔨 chore: improve code (#8469) 2025-07-17 13:09:41 +08:00
Arvin Xu
054ca5fd97 feat: refactor desktop oauth and use JWTs token to support remote chat (#8446)
* refactor the oauth

* refactor the oauth

* refactor the oauth

* improve oauth status

* fix desktop auth

* fix tests

* improve clean handoff

* try to fix handoff public issue

* fix route protection

* refactor anim

* refactor

* update to access token to jwt

* update to access token to jwt

* improve config

* refactor for JWKs token

* fix auto refresh issue

*  feat: support webapi proxy

* wip: 完成新流式接口

* wip: 跑通流式框架

* fix webhooks

* fix network proxy

* try to fix workflow

* fix proxy in remote sync

* fix tests

* fix tests

* fix oauth bypass route

* fix webapi proxy
2025-07-17 12:54:37 +08:00
YuTengjing
25bfc802b5 🐛 fix: desktop local db can't upload image (#8459) 2025-07-17 01:49:11 +08:00
Arvin Xu
28c1fe060a ️ perf: improve memory usage in desktop (#8431)
* improve usage of memory

* try to improve
2025-07-15 15:44:10 +08:00
YuTengjing
095de57675 feat: support AI Image (#8312)
Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-14 20:29:57 +08:00
Arvin Xu
37bb8ba2b7 🔨 chore: fix settings in desktop (#8414) 2025-07-13 13:26:22 +08:00
Arvin Xu
46d25092a4 feat: add network proxy for desktop (#7848)
* add network proxy

* update network proxy

* refactor network proxy

* support network proxy

* fix types

* fix lint

* fix lint
2025-07-13 13:19:21 +08:00
Arvin Xu
c7ae78bfb7 💄 style: fix theme issue in desktop (#8380)
* 💄 style: fix theme issue

* fix

* fix
2025-07-10 15:47:53 +08:00
Arvin Xu
416a4b1212 feat: Add MCP marketplace and mcp plugin one-click installation in desktop (#8334)
* move plugin Component

*  feat(wip): Add MCP Discover Market

*  test: Fix test

*  test: Fix test

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 💄 style: update plugin store

* 💄 style: Update plugin store

*  feat: Update cache control headers and optimize Next.js config for performance

* 💄 style: Update discover markdown

* 💄 style: Update scroes step

* 优化 list 细节

* 优化 list 细节

* 优化 list 细节

* 完成基础 mcp 安装实现

* 完成安装上报

* 新增安装过程

* fix

* 优化插件设置页面配置

* 💄 style: update official icon

* 完善安装错误状态

* 支持取消安装

* fix types

* fix types

* 完成系统依赖检查流程

* 完成系统依赖安装流程上报

* try to fix suspense

* try to fix suspense

* try to fix suspense

* try to fix tests

* upgrade electron

* fix suspense

* fix tool name issue

* fix test

* add i18n

* fix tool call

*  test: fix tests

* move

* fix tests

* refactor plugin install store

* improve old plugin install

* fix

* fix header link

* fix plugin detail

* fix oldPlugin detail

* fix tests

* update i18n

* fix i18n

* 💄 style: improve style

* add debug log

* fix link

* improve

* fix link

* 🚚 refactor: refactor the market runtime to nodejs

* 移除 props.searchParams 调用

*  test: fix tests

* 尝试静态化 discover page

* ♻️ refactor: refactor config to nodejs runtime

* fix min width

* 修正自定义插件的编辑展示区域

* fix i18n

* 调整部分组件目录结构

* 完善 MCP 市场安装流程

* 完善安装上报事件

* test: fix test

*  feat: 实现 m2m oauth 请求

*  feat: 完善 m2m 注册链路

*  feat: 完善 m2m 注册链路

* 🐛 fix: 优化 debug 日志输出问题

*  feat: 支持 call 上报

* 💄 style: 使用更大的版本

* 🐛 fix: tools calling report

* 🐛 fix: try to fix call report

* 🐛 fix: try to use expires cookies

* 🐛 fix: fix cookies expires issue

* test: fix customPluginInfo report

* 🐛 fix: fix connection issue

* 🐛 fix: fix platform report

* 🐛 fix: fix version issue

---------

Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-08 19:51:22 +08:00
YuTengjing
780ee82b12 ️ build: integrate tsgo to validate ts (#8331)
* ️ build: integrate tsgo to validate ts

* 📝 docs: add code comment to @ts-ignore

* Update package.json

* Update apps/desktop/package.json

* Update package.json

* Update package.json
2025-07-04 01:01:11 +08:00
𝑾𝒖𝒙𝒉
b132e66248 🐛 fix: enhance the multi-display window opening experience (#8176) 2025-06-17 10:23:10 +08:00
huangkairan
585e386074 🐛 fix: cant invoke the application after OIDC authorization in Windows 11 (#7900) 2025-05-28 10:24:15 +08:00
Arvin Xu
a16fa0265b 🐛 fix: auto sync theme mode in desktop (#7970)
* auto sync theme

* improve style

* improve code
2025-05-26 14:53:02 +08:00
Arvin Xu
5b0154f3d1 🐛 fix: fix desktop open issue on linux like Fedora42 (#7883)
* fix gtk version

* fix gtk version

* fix lint
2025-05-20 12:49:14 +08:00
CanisMinor
474de56a93 💄 style: update electron style on windows (#7839)
* 💄 style: add chrome flags to electron, update scrollbar style on win

* 💄 style: Update win11 backgroundMaterial

* 💄 style: Update title bar style

* 💄 style: Update WinControl

* 💄 style: Add nsis image
2025-05-14 23:06:30 +08:00
Arvin Xu
ef3089049a 🐛 fix: fix macOS fisrt time open issue (#7788)
* fix

* try to fix again
2025-05-11 10:57:31 +08:00
Arvin Xu
a0713c98ba 👷 build: update build workflow (#7786)
* try to fix mac sign

* update beta env
2025-05-10 22:01:32 +08:00
Arvin Xu
82c48b916f 🐛 fix: fix window close issue and release Window/Linux beta (#7780)
* fix window close issue

* try to fix win loading

* try to fix win build

* try to fix win build

* fix win build issue

* fix win build issue
2025-05-10 20:15:41 +08:00
Arvin Xu
07d5374ab8 🐛 fix: fix desktop upload image on macOS (#7741)
* fix image

* fix

* fix lint

* fix

* add tests

* update testss

* remove tests

* try to fix

* try to fix desktop image issue

* Revert "try to fix desktop image issue"

This reverts commit 8dad8f3937.
2025-05-09 00:08:32 +08:00
Arvin Xu
e22e93262a 💄 style: add write file tool to local-file plugin (#7684) 2025-05-03 10:01:01 +08:00
Arvin Xu
edeabcfafb 🐛 fix: fix desktop quiting with reopen window (#7675)
* add rename renderer

* fix close issue
2025-05-02 05:53:14 +08:00
Arvin Xu
c5f3d13c14 💄 style: add windows control and tray (#7665)
* add windows support

* add windows close support

* improve

* fix

* FIX

* improve builder

* improve windows icon
2025-05-01 16:42:26 +08:00
Arvin Xu
321fd2b979 💄 style: update ollama checker (#7650)
* update ollama

* fix file page
2025-04-30 16:45:03 +08:00
Arvin Xu
bad222a29c 🐛 fix: fix stdio mcp server env issue (#7648) 2025-04-30 03:03:20 +08:00
Arvin Xu
2cbc1790e5 🐛 fix: fix custom provider and knowledge base crash (#7645)
* fix provider issue

* fix knowledge base crash issue

* fix type
2025-04-30 01:24:40 +08:00
Arvin Xu
e85d59b62e 🐛 fix: fix mcp server stdio spawn ENOENT in electron bundle (#7616)
* fix mcp server

* fix mcp server

* fix
2025-04-28 22:01:41 +08:00
Arvin Xu
1214544a77 🐛 fix: fix cloud data sync (#7600)
* fix data sync not correctly

* try nightly build

* clean

* fix data refresh Interval throttle for desktop

* fix data refresh Interval throttle for desktop
2025-04-28 11:07:04 +08:00
Arvin Xu
48c79ad024 📝 docs: add desktop docs (#7593)
* add docs

* update docs

* add i18n
2025-04-27 21:44:18 +08:00
Arvin Xu
1e68777067 🐛 fix: fix desktop cloud sync issue (#7591)
* fix cloud sync

* try to fix auto updater
2025-04-27 19:58:00 +08:00
Arvin Xu
9c0d87e817 👷 build: fix desktop beta release issue (#7585)
* try to fix publish

* fix

* fix release

* update

* fix build
2025-04-27 15:48:04 +08:00
Arvin Xu
f3530613c0 👷 build: fix beta release (#7582)
* try to fix publish

* fix
2025-04-27 14:32:37 +08:00
Arvin Xu
ed97363255 feat: support desktop release framework and workflow (#6474)
* add desktop

fix build

update release desktop ci

improve desktop build for pr workflow

update desktop build workflow

test auto updater

fix

fix release nightly channel

support shortcut framework

improve nightly version rule

add zip release

only add mac publish

fix static file relative issue

support delete files

fix lint

enable asar

add setting open in editor in menu

add electron store framework and locale update flow

fix default searchFCModel

refactor the electron server ipc to stable mode

improve electron dev workflow

improve electron build workflow

make qwen2.5b default

improve comment workflow

fix types

refactor code

improve window size of settings/provider

路由拦截器v3.5

fix RouteIntercept issue

improve log

use productName in package.json

update

add pin list for feature flag

update

sure settings update

make ollama as default provider in desktop

fix desktop close page issue

fix desktop default variants

improve to reduce bundle

improve to reduce bundle again

improve set desktop version workflow

add nightly icons

add prebuild scripts to reduce package size

add to test prebuild

fix workflow

try to add sign and notarize for mac in workflow

try to add sign and notarize

add i18n for menu and main

update menu i18n

add i18n framework

add menu implement and setting

improve layout design for desktop

update Author

fix failed register protocol

fix prod building

fix tests

fix open error of mac and windows
improve lint

update pr comment

add service framework

add fileSearchService

improve

fix release workflow

add header

improve pr workflow fetch

improve client fetch

add linux upload workflow

improve workflow and implement

fix build electron in ci

build the desktop framework

fix build electron in ci

update tsconfig

fix desktop build workflow

finish desktop build workflow

fix workflow build steps

update workflow

test release workflow

refactor

update

update

improve loading state

refactor the 404 error

* 重构存储路径,统一到一个 lobehub-storage 下,方便未来用户自定义存储路径

* fix lint

* update

* try to fix windows open issue

* rename

* fix storage

* refactor the remote server sync

* refactor the request method

* 完成服务端同步实现逻辑

* fix lint

* save size

* refactor to make sure different instance of ipc channel

* clean log

* fix refresh

* fix tools calling

* fix auth callback issue

* update workflow

* add window ico

* push

* update

* add beta release

* fix update issue

* 完成官方实例链接

* fix

* fix stdio
2025-04-27 11:57:06 +08:00