Commit graph

38 commits

Author SHA1 Message Date
Arvin Xu
d8deaddedd
feat: add work path for local system (#11128)
*  feat: support to show working dir

* fix style

* update docs

* update topic

* refactor to use chat config

* inject working Directory

* update i18n

* fix tests
2026-01-03 16:22:22 +08:00
Arvin Xu
70a9cffc52
💄 style: improve tools UI and fix Google schema compatibility (#11096)
* ♻️ refactor: refactor tool implement

* 🐛 fix: fix google tool schema issue

* ♻️ refactor: refactor tool implement

*  feat: improve kb inspector

* 💄 style: improve local system inspector

* 💄 style: improve local system inspector

* 💄 style: improve web and kb inspector
2026-01-01 23:23:31 +08:00
Shinji-Li
2a631b476f feat: rename codeinterpreter into lobe sandbox (#11076)
* feat: rename codeinterpreter into lobe sandbox

* fix: fixed the market publish agent too much
2025-12-31 20:02:18 +08:00
arvinxx
80f511cd6e 🌐 style: rerun i18n 2025-12-31 15:20:11 +08:00
YuTengjing
8b67718158
docs: update subscription locale json 2025-12-29 16:48:39 +08:00
Innei
221bd6e5af
chore: update i18n translations for multiple locales (#10973)
Update translations for ar, bg-BG, de-DE, es-ES, fa-IR, fr-FR, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, ru-RU, tr-TR, vi-VN, zh-TW locales.

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-25 21:28:18 +08:00
Innei
d692a37e28
♻️ refactor: i18n formatting optimization (#10929)
* ♻️ refactor: i18n formatting optimization

*  feat(i18n): update localization strings for clarity and consistency across chat, discover, and settings components

*  feat(i18n): update Chinese localization strings for improved clarity and consistency across various components, including chat, onboarding, and settings

* 🗑️ chore(i18n): remove outdated localization files for multiple languages to streamline the project and improve maintainability

*  feat(i18n): enhance localization loading logic to improve language handling and streamline imports for default and normalized locales

* 🐛 fix(i18n): restore English i18n keys that were incorrectly changed to Japanese characters

*  chore(i18n): Adjust Latin language locales for terminology consistency (#10933)

* This comprehensive update ensures all Latin language locales (de-DE, fr-FR, es-ES, it-IT, pt-BR, nl-NL, pl-PL) follow the microcopy style guide's terminology requirements.

**Total: 557 changes across 7 Latin locales**

1. **"Plugin" → "Skill"**
   - Fixed terminology inconsistency across all Latin languages
   - UI elements now consistently use "Skill" instead of localized equivalents
   - Includes both singular and plural forms: `plugin/Skill`, `plugins/Skills`

2. **"LobeChat" → "LobeHub"**
   - Updated brand name references to current branding

3. **"Agent" Terminology Consistency**
   - French: Fixed inconsistent "Assistant" → "Agent" usage in UI elements
   - Ensured consistent terminology across all languages

- **de-DE (German)**: 267 changes
- **fr-FR (French)**: 94 changes (including 7 Agent→Assistant fixes)
- **es-ES (Spanish)**: 39 changes
- **it-IT (Italian)**: 59 changes (including 18 plugin→skill fixes)
- **pt-BR (Portuguese)**: 58 changes
- **nl-NL (Dutch)**: 62 changes
- **pl-PL (Polish)**: 28 changes

- All 37 locale JSON files for each language (259 total files)
- Includes: auth.json, chat.json, common.json, discover.json, plugin.json, setting.json, etc.

1. **Fixed Terminology**: Following microcopy guide's fixed terminology rules
2. **Brand Consistency**: Changed all brand references to "LobeHub"
3. **Natural Localization**: Maintained natural language patterns while ensuring consistency
4. **User Experience**: Improved consistency across all Latin language interfaces

Two utility scripts for future locale maintenance:
- `scripts/adjust-latin-locales.py` - For common.json specific adjustments
- `scripts/adjust-latin-locales-full.py` - For comprehensive adjustments across all files

- All changes maintain backward compatibility
- No breaking changes to functionality
- JSON files validated and remain syntactically correct
- Changes reviewed against English base for consistency

---------

Co-authored-by: canisminor1990 <i@canisminor.cc>

*  feat(i18n): update welcome and group activity localization strings for improved clarity and consistency

*  chore(i18n): add ESLint directives to welcome localization file for improved code quality

* 🐛 fix(i18n): add missing footer translation keys for discover page

*  feat(i18n): restore footer translation keys for discover page

---------

Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-12-24 17:54:42 +08:00
CanisMinor
024aeb2e4e 💄 style: Update i18n microcopy (#10905)
* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n

* chore: update i18n translations and placeholders across multiple components

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update i18n translations for consistency in terminology across chat, onboarding, and settings components

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update i18n translations to replace 'assistant' with 'agent' and ensure consistency across all components

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update model descriptions in locales for clarity and accuracy

Signed-off-by: Innei <tukon479@gmail.com>

* feat: extract hard code string

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance Chinese localization with new proxy and sync settings, update dialog messages for version checks and OAuth authorization

Signed-off-by: Innei <tukon479@gmail.com>

* chore: flatten

* chore: standardize localization keys by flattening nested structures across multiple languages

Signed-off-by: Innei <tukon479@gmail.com>

* chore: refine i18n documentation by consolidating key naming conventions and workflow guidelines for translation management

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update i18n

* feat: add chat title localization for improved user experience in Chinese

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-12-24 12:55:12 +08:00
canisminor1990
d9de7a547e style: fix some style issues 2025-12-24 12:54:46 +08:00
arvinxx
2e6fd07c19 🌐 style: update i18n 2025-12-24 12:54:42 +08:00
Arvin Xu
291ff3cc42
feat: refactor to use kb search tool (#10340)
* fix all render

* add kb builtin tool

* 完成知识库搜索功能

* 初步完成知识库读取实现

* finish display

* fix

* fix

* fix

* fix server api mode

* update i18n
2025-11-21 22:05:41 +08:00
LobeHub Bot
a52c9e5f24
🤖 style: update i18n (#10235) 2025-11-16 09:58:21 +08:00
Arvin Xu
38cfd266f4
feat: show orphaned tool message and support delete tool message (#10232)
* show  orphaned tool message

* support delete messages

* update i18n

* clean console.log

* improve system role

* fix
2025-11-15 23:55:13 +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
Arvin Xu
c83fe13d7c
💄 style: improve welcome message (#9747)
* add feishu

* update i18n

* refactor

* rename

* rename
2025-10-17 02:16:45 +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
Arvin Xu
853a09af1b
feat(plugin): support Streamable HTTP MCP Server Auth (#8425)
*  feat: support http streamable auth and headers

*  feat: support http streamable auth and headers

* improve

* improve token

* add i18n

* update i18n
2025-07-14 20:34:39 +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
fca25e1a12
📝 docs: i18n for crawlMultiPages and claude4 desc (#7942) 2025-05-24 09:22:24 +08:00
Arvin Xu
af8a05b3dc
💄 style: improve tools display (#7906)
* update

* improve i18n for tools display

* Update src/tools/local-system/systemRole.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* fix tests

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-05-21 13:04:31 +08:00
Arvin Xu
37fd5fea90
🐛 fix: fix streamable http url valid and refactor local files to local system (#7794)
* refactor local files to local system

* update i18n
2025-05-11 11:49:39 +08:00
Arvin Xu
71683b77be
💄 style: improve mcp stdio custom field (#7632)
* add i18n

* update
2025-04-29 16:20:42 +08:00
Arvin Xu
177f7c2938
💄 style: improve stdio mcp server install experience (#7621)
* fix mcp server

* fix mcp server

* fix

* add mcp drawer

* improve empty state

* add i18n

* improve
2025-04-29 00:29:17 +08:00
Arvin Xu
14ce360da0
💄 style(mcp): support stdio env params (#7613)
* support config env

* fix lm studio

* fix height
2025-04-28 19:30:14 +08:00
Arvin Xu
832b7c3ee1
💄 style: improve stdio mcp form (#7529)
* improve stdio mcp form

* update

* update

* update i18n

* remove stdio paste with web mode

* remove stdio paste with web mode

* fix

* fix lint

* fix
2025-04-24 02:35:07 +08:00
Arvin Xu
53d8eac3cf
💄 style: improve mcp server type select and fix refresh mcp manifest issue (#7517)
* improve experience

* fix mcp manifest refresh issue

* improve description

* improve style

* add stdio mcp plugin

* improve experience

* fix tests

* fix tests
2025-04-23 09:07:32 +08:00
Arvin Xu
35129bb7c6
feat: support Streamable HTTP MCP server (#7511)
* add mcp

* feat support streamable http

* revert

* update locale

* improve style

* improve experience
2025-04-23 00:26:33 +08:00
Arvin Xu
0085e639b8
💄 style: support update tool calling params and trigger again (#7476)
* update client ipc

* test web prebuild

* update i18n

* support update tools calling params

* add local files tools

* fix docker build flow

* fix suspense
2025-04-19 14:13:09 +08:00
Arvin Xu
d38ab02677
🐛 fix: improve some crawl case (#6634)
* improve code

* zhihu zhuan lan
2025-03-02 23:42:23 +08:00
Arvin Xu
5e02602457
feat: support web page crawl in the search (#6582)
* test pnpm workspace

* test bun workspace

* add crawler mode

* improve pure fetch result

* update

* improve result

* improve code

* update

* fix

* 完成 urlRules 规则集合设计

* 增加爬虫展示 ui

* 增加爬虫展示 Portal

* update

* update

* improve

* update i18n

* support view multi pages

* improve implement

* improve code

* refactor the web-browsing system prompt

* improve code

* fix open
2025-03-02 16:39:32 +08:00
Arvin Xu
b61b5fcb03
feat: support application search with searchXNG (#6452)
*  feat: add builtin search with SearXNG

* ♻️ refactor: refactor the plugin error

* add impl

* update search

* improve search card style

* fix lint

* fix calling

* update i18n

* fix tests

* refactor the portal plugin design

* update i18n

* update

* fix tests

* add search header tag

* refactor for the search visible
2025-02-25 02:50:31 +08:00
Arvin Xu
3ecdba1a1b
💄 style: refactor the plugin render style (#6390)
* wip

* refactor the args design

* update

* refactor tools

* try improve suspense

* update i18n

* fix lint

* fix api key issue

* improve code

* improve suspense

* improve suspense

* fix topic duplicate issue
2025-02-22 00:29:05 +08:00
Arvin Xu
b5e6b8b2b6
♻️ refactor: improve branding implement (#3832)
* ♻️ refactor: reactor the branding implement

* ♻️ refactor: reactor the branding implement

* ♻️ refactor: reactor the branding implement

* ♻️ refactor: reactor the branding locale

* ♻️ refactor: reactor the branding locale

* Update metadata.json

* ♻️ refactor: reactor the branding locale

* Update setting.json

* ♻️ refactor: reactor the branding meta
2024-09-09 02:20:00 +08:00
Arvin Xu
53fb29211d
♻️ refactor: refactor the portal implement (#3110) 2024-07-02 03:25:53 +08:00
Arvin Xu
e7c1ba8f74
♻️ refactor: refactor to prepare for Chat Portal (#3093)
*  feat: add dock

* ♻️ refactor: add plugin render

*  test: add tests

*  test: add tests

*  test: add tests

* ♻️ refactor: refactor and add tests

*  test: fix tests

*  test: fix tests

* move files

* refactor

* 🌐 chore: add locale
2024-07-01 16:18:37 +08:00
CanisMinor
6e9c69a8f6
💄 style: add PWA install and metadata & ld generate (#2438)
*  feat: Add PWA install button

* 🐛 fix: Fix review problem

* 🐛 fix: Fix review problem

* 🔧 chore: Update i18n

* 🔧 chore: Update metadata

* 🐛 fix: Fix preview problem

* 🐛 fix: Fix title

* 🔧 chore: Update pwa i18n
2024-05-13 20:36:16 +08:00
Arvin Xu
e49817ceb8
💄 style: support it-IT nl-NL and pl-PL locales (#759) 2023-12-22 16:28:22 +08:00