Commit Graph

88 Commits

Author SHA1 Message Date
Arvin Xu
1fb7b292ca ️ perf: move settings into one page (#10229)
* move settings into one page

* fix: change the jump link to react-router-dom

---------

Co-authored-by: ONLY-yours <1349021570@qq.com>
2025-11-24 15:10:41 +08:00
renovate[bot]
19f7d74652 Update dependency electron-vite to v4 (#9007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-23 15:41:12 +08:00
renovate[bot]
5518b822ca Update dependency vite to v7 (#10328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-23 15:39:15 +08:00
LobeHub Bot
c316414277 test: add unit tests for FileService (#10341)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-21 21:03:05 +08:00
LobeHub Bot
1ed9424166 🌐 chore: translate non-English comments to English in services and desktop modules (#10339)
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-21 11:43:09 +08:00
LobeHub Bot
e8c7d1c568 🌐 chore: translate non-English comments to English in networkProxy (#10293)
🌐 chore: translate non-English comments to English in networkProxy module

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

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-19 11:42:31 +08:00
Arvin Xu
3785a7109a feat: edit local file render & intervention (#10269)
* support editFile render

* clean and add tests

* improve hover state

* support edit local file

* fix tests

* fix desktop build

* fix desktop build

* Revert "fix desktop build"

This reverts commit 6ce58b2eeb.
2025-11-18 02:07:58 +08:00
renovate[bot]
b76e3c85b9 Update all non-major dependencies (#10177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 09:56:56 +08:00
Arvin Xu
4388270cf4 📌 chore: pin electron to 38.x (#10204)
Downgrade electron from 39.x to 38.x for stability

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-14 10:14:39 +08:00
Arvin Xu
428f05ac8a 💄 style: make OpenAI Response API by default (#10202)
* update i18n

* 修正测试

* fix macOS impl

* fix directory params

* refactor the builtin render implement

* remove unused sql

* fix tests
2025-11-14 02:13:39 +08:00
Arvin Xu
39cdb2057e feat: support bash tools in local system (#9676)
* wip for bash system

* refactor

* fix remark issue

* 完成批准实现

* refactor toolIntervention

* refactor toolIntervention

* use user tool config

* show InterventionModeSelector

* finish local file mode

* fix error

* update

* update i18n

* revert

* fix bug
2025-11-13 22:18:05 +08:00
Shinji-Li
8d362cf6b6 feat:support LobeHub MarketPlace (#8841)
* feat: 链接market 做基本的市场接驳功能

* feat: 重写分享助手的页面

* feat: 新增market-auth 的 oidc 方案

* feat: 增加初次agent发布链路和更agent逻辑

* feat: 增加二次添加助手时候的提示

* feat: 重新授权时候唤起新的重新授权而不是自动 token 换取

* feat: 添加market-auth-callback的 layout

* feat: 调整env 中的market 引用

* fix: 解决url 双/导致的路径请求问题

* fix: fix build error

* feat: 更新sitemap 的生成逻辑

* feat: 更新pglite的session meta 定义,增加 marketIdentifier

* feat: 增加个人信息存储的逻辑 & 整理发布 agent 时候按钮的整体逻辑

* fix: delete 0030

* feat: add search myown in discover

* feat: clean cthe code & refactor agents showpannel

* feat: support assistant detail pages have unpublish & achiave hint

* feat: change text render type

* feat: add submit mode style fixed

* fix: fixed migrations

* feat: update agent publish version modal

* feat: update market publish button

* feat: update exmaple &summary show case

* feat: add token show in publish modal

* feat: add verison show tags antd version? params search

* feat: add desktop market auth request way

* feat: delete market-oidc second path,change all to base url

* feat: change sdk & api into url const & change market api into servers

* feat: change all api into /market server path

* feat: change the migrations insert position

* feat: support assistant origin checkout feature

* feat: change the item show place

* feat: add market source switch components

* feat: add 'force-dynamic' in discord/detail page

* feat: change the describe name

* feat: styles & locals add

* feat: add locals

* feat: fixed market update locals

* feat: update market-oidc layout

* feat: delete some types

* feat: support leacgcy params change

* feat: change the oidc url

* feat: agent detial page should have status show page

* feat: add db migrations

* test: update test

* feat: delete database change & update i18n

* fix: rollback mirgration

* fix: change mirgration

* fix: back snapshot

* Update print statement from 'Hello' to 'Goodbye'
2025-11-11 23:16:19 +08:00
LobeHub Bot
17efa0bd52 test: add unit tests for network proxy module (#10104)
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-08 15:08:11 +08:00
renovate[bot]
46ccddcd24 Update dependency electron to v39 (#9971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-06 13:28:24 +08:00
Shinji-Li
9ab77b2ea7 🐛 fix: should install new version after quit this instance (#10064)
fix: should install new version after quit this instance
2025-11-05 21:49:27 +08:00
Arvin Xu
7cca60fcb8 🐛 fix: fix send message (#10041)
* fix

* Revert "Update dependency vite to v7 (#9984)"

This reverts commit f1ffaff96f.
2025-11-04 17:38:40 +08:00
LobeHub Bot
aae047265e 🌐 chore: translate non-English comments to English in desktop controllers (#10034)
* 🌐 chore: translate non-English comments to English in desktop controllers

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

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

* 🧪 fix: update Desktop test expectations to match English error messages

- Updated TrayMenuCtr.test.ts to expect English error messages instead of Chinese
- Fixes failing tests after comment translation changes
- Changed '托盘通知仅在 Windows 平台支持' to 'Tray notifications are only supported on Windows platform'
- Changed '托盘功能仅在 Windows 平台支持' to 'Tray functionality is only supported on Windows platform'

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

Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-11-04 13:38:31 +08:00
renovate[bot]
f1ffaff96f Update dependency vite to v7 (#9984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-04 13:13:52 +08:00
Arvin Xu
20666db14f 🐛 fix: fix oidc auth timeout issue on the desktop (#10025)
* add tests

* fix auth timeout issue

* update locale

* fix tests
2025-11-04 10:12:54 +08:00
YuTengjing
44776b40bc 👷 build: nodejs 24 (#10003)
* build: upgrade node 24

* build: run pnpm update

* fix: tsgo not support baseUrl
2025-11-03 12:56:15 +08:00
Arvin Xu
abb71ec846 feat: upgrade to Next 16 (#9851)
* upgrade next 16

* try to fix

* try to fix

* upgrade

* fix sitemap build

* try to fix build

* try to fix build with next 16

* fix docker permission

* 🔒 fix(ci): fix code injection vulnerability and permissions in docker workflow

- Add pull-requests: write permission to allow PR comments
- Fix code injection vulnerability by using env variables instead of direct interpolation
- Prevent potential security risks from malicious branch names in pull_request_target events

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

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

* 🔧 chore(ci): change desktop pr build to use pull_request_target

- Change from pull_request to pull_request_target to access secrets and write permissions
- Update permissions from read-all to specific write permissions for contents and pull-requests
- This allows PR builds to create releases and comment on PRs from forks

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

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

* add comment

* fix on

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-02 00:53:13 +08:00
Shinji-Li
f46cc50e15 ♻️ refactor: change files page from RSC to SPA mode to improve performance (#9846)
* feat: change files page to spa

* feat: add height 100%

* fix: delete useless code

* feat: update files preview from severs to client

* feat: change download action to detail right place

* feat: change the dir name and the path

* feat: change the useNavigate to the router outer

* style: use flex 1 to get all width

* feat: update files?filesId to get files loading

* feat: change all files and repo url to knowledge url

* feat: close the knowledge/base settings page & update createNew onSuccess into Modal

* feat: update the knowledge base open judge
2025-10-29 00:02:51 +08:00
Arvin Xu
295e8fc3b2 💄 style: improve local system tools render (#9853)
* refactor the local system tools render

* fix build

* pre merge intervention
2025-10-23 17:14:35 +08:00
Shinji-Li
b59ee0aabe ♻️ refactor: change discover page from RSC to SPA to improve performance (#9828)
* feat: change discord page to spa

* fix: change locals

* feat: update router change

* fix: revert some files

* feat: add model provider detail page use link

* fix: add trpc back

* feat: update e2e timeout time

* feat: change discord page to spa

* fix: change locals

* feat: update router change

* fix: revert some files

* feat: add model provider detail page use link

* fix: add trpc back

* feat: update e2e timeout time

* fix: use reactrouter-dom link replace next link
2025-10-22 23:35:49 +08:00
𝑾𝒖𝒙𝒉
0eb02ca1c5 💄 style(settings): broadcast locale changes and update switchLocale action (#9620)
chore(locale): broadcast locale changes and update switchLocale action
2025-10-21 23:08:38 +08:00
Arvin Xu
6334f62aa1 🐛 fix(desktop): fix desktop open error in some edge cases (#9813)
fix lock file bug
2025-10-21 15:16:10 +08:00
renovate[bot]
284faf799b Update dependency @electron-toolkit/tsconfig to v2 (#9556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 09:50:17 +08:00
YuTengjing
ca033420b9 🐛 fix(desktop): macos26 small icon (#9421)
* 🐛 fix(desktop): macos26 icon small

* Revert "🐛 fix(desktop): macos26 icon small"

This reverts commit 4a4b7b230c.

*  feat(desktop): support Liquid Glass icons for macOS 26

- Add pre-generated Assets.car files for all build variants
- Configure afterPack hook to copy Assets.car during build
- Maintain backward compatibility with .icns fallback for older macOS

Reference: https://github.com/electron-userland/electron-builder/issues/9254

* docs: optimize comments

* fix: update deprecated macos-13 to macos-15-intel

* docs: optimize ai rules
2025-10-08 23:30:35 +08:00
Shinji-Li
a060901c65 feat: support double-click to open multi agent window on the desktop (#9331)
* feat: add single pannel

* feat: add openTopicInNewWindow to global windows

* feat: use ueIsSingleMode hook to replace useSearchParams judge

* feat: add session pannel double click & drag create new window

* feat: add supensed out in SideBar

* fix: update test.ts

* feat: add ts define

* feat: loading singlemode not render draggablePannel
2025-10-05 02:42:20 +08:00
Arvin Xu
eeabb69088 ️ perf: fix battery usage (#9444) 2025-09-27 07:46:18 +02:00
YuTengjing
4349ad955d 🐛 fix: macos desktop sign (#9400) 2025-09-24 12:38:58 +08:00
YuTengjing
20ef12443d 👷 build: don't sign macos desktop when missing sign secrets (#9379) 2025-09-23 10:54:36 +08:00
Shinji-Li
1251548120 refactor: refactor the settings page to improve the experience & change ssr as csr (#8961) 2025-09-22 11:30:47 +08:00
renovate[bot]
a47ec04f20 Update dependency electron to v38 (#9248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 16:42:44 +08:00
renovate[bot]
87ae85f7c7 Update dependency fix-path to v5 (#9249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 12:30:41 +08:00
YuTengjing
ea819a3421 feat: support mac intel desktop (#9136) 2025-09-08 23:46:57 +08:00
Arvin Xu
ae28f1794c ️ build : Revert "support mac intel chip" (#9134)
Revert "feat(desktop): support mac intel chip (#9084)"

This reverts commit 1a75f4a6b5.
2025-09-06 16:14:42 +08:00
YuTengjing
1a75f4a6b5 feat(desktop): support mac intel chip (#9084) 2025-09-06 14:03:16 +08:00
Shinji-Li
b13563cb34 🐛 fix: fix socks5 proxy not work problem (#9053) 2025-09-03 18:28:55 +08:00
Arvin Xu
27a4b34612 🐛 fix: fix desktop route error (#8962)
* fix issue

* add test
2025-08-28 18:48:23 +08:00
YuTengjing
0efe28d122 feat(image): polish ai image (#8915) 2025-08-25 22:38:41 +08:00
Maple Gao
df97d76c36 👷 build(desktop): add comprehensive Linux package format support (#8867)
 feat(desktop): add comprehensive Linux package format support

- Add rpm and tar.gz targets to electron-builder configuration
- Update GitHub Actions workflows to upload all Linux package formats
- Support for Ubuntu/Debian (.deb), Snap (.snap), RPM-based distributions (.rpm)
- Include universal tar.gz archives for maximum Linux distribution compatibility
- Ensure proper artifact collection and release publishing for all formats

This enables desktop app distribution across major Linux ecosystems including
Ubuntu, CentOS, openSUSE, Arch Linux, and Chinese domestic OS like UOS and Kylin.
2025-08-21 23:40:05 +08:00
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