40 Commits

Author SHA1 Message Date
René Wang
03c28385e5 feat: support Group Chat, Mention, and Multi-Agent Orchestration with feature flag (#8976)
* feat: implement group chat functionality

* fix

* update

* revert pglite mock

* fix: Add missing test

* fix mention

* fix mention

* lint: Clear unused varibles

* fix: type check

* fix: Coverage

* build: Add missing test

* fix: add mention back

* fix: Add missing test

* fix: Add test for topic

* feat: Group chat fallback style

* fix: Revert unncessary files

* fix: circular deps

* feat: tool usage

* fix: Replace debug info

* feat: Update i18n

* opti: Better prompr

* fix claude

* feat: Filter model without function calling

* fix: DM reduction

* lint: Address build error

* fix: Test error

* feat: Store model info

* style: Clean up welcome messaeg

* feat: Use new welcome message

* fix: inbox not working

* fix: inbox not working

* fix: type error

* feat: Optimize prompt

* fix: Revert unintentional changes

* lint: Remove unused code

* fix: better test

* fix: Use debug

* refact: Move normalization postion

* opti: Better prompt

* opti: Better prompt

* opti: Better prompt

* lint: Clear console.log

* fix: Update test snap

* fix: test error

* fix: Unexpectly test fail

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2025-10-16 22:16:40 +08:00
René Wang
2f7317b98f 🔨 style: Use different favicon.ico in dev mode (#9723) 2025-10-15 14:47:37 +02:00
CanisMinor
8afb4e2981 perf: Use nextjs pwa feat to gen manifest file (#4042)
*  perf: Use nextjs pwa feat to gen manifest file

* 🐛 fix: Fix review problem

*  test: Add test

* 💄 style: Update next config

* 🐛 fix: Fix test config

* 💄 style: Update layout
2024-09-21 14:58:13 +08:00
Arvin Xu
815b366b20 ♻️ refactor: refactor brand implement for better custom (#3868)
* ♻️ refactor: refactor the branding

* ♻️ refactor: refactor the branding

* ♻️ refactor: refactor the branding to support different logo

* 🧑‍💻 style: support commercial flag to hide docs and github url

* 🧑‍💻 style: support commercial flag to hide docs and github url

*  test: fix tests

* ♻️ refactor: hide about with hideDocs env
2024-09-10 00:34:18 +08:00
Rubu Jam
fbc488e994 ️ perf: optimize Cache-Control (#2848) 2024-06-17 21:58:08 +08:00
CanisMinor
19fd4d57d7 💄 style: remove r2 cdn url (#2878)
* 💄 style: Remove r2 cdn url

* 💄 style: Update SettingContainer

* 🔧 chore: Move share setting components
2024-06-17 14:58:43 +08:00
Arvin Xu
2f311dc4b6 🗃️ refactor: migrate some agent config to chatConfig (#2646)
* 🗃️ refactor: refactor the agent config to chat config

*  test: fix test

* 🗃️ refactor: add db migration

*  test: fix test
2024-05-25 10:09:28 +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
Rubu Jam
4e96bda9a1 💄 style : Convert some ico files from online to local. (#2094)
* 💄 style : ico files from online to local

* 💄 style : ico files from online to local

* 💄 style : Convert some ico files from online to local.

* Optimize some code
2024-04-19 20:48:13 +08:00
Arvin Xu
a2542a7d92 🐛 fix: fix sitemap config 2024-03-08 04:25:03 +00:00
Arvin Xu
0db8c268e2 ️ perf: improve pages a11y (#1353)
* ️ fix: improve a11y

* ️ perf: improve logo

* ️ perf: improve viewport scale

* ️ perf: improve a11y for settings page

* 🌐 chore: update i18n
2024-02-22 20:54:12 +08:00
arvinxx
c4adfe44d3 🐛 fix: fix the robots.txt config 2024-02-21 21:39:28 +08:00
arvinxx
34901b40d5 🐛 fix: fix the robots.txt config 2024-02-20 22:45:43 +08:00
Arvin Xu
79be7afed7 🔍️ perf: add sitemap and robot.txt to improve SEO (#1337)
* 🔍️ fix: add sitemap and robots.txt

* 🐛 fix: fix canonical url

* 🐛 fix: fix canonical url

* 🐛 fix: fix canonical url

* 🐛 fix: fix deploy url

* 🐛 fix: fix canonical url

* 🐛 fix: fix the robots config
2024-02-20 21:33:10 +08:00
canisminor1990
44a5f0a87e 💄 style: Fix some styles and make updates to various files
- Add new files related to chat, market, settings, and plugin development
- Modify code in certain files to add functionality and improve performance
- Update URLs and add links to external resources
- Add styles to components for improved appearance
- Update descriptions and improve user experience

This commit introduces new features, updates existing code, and enhances the overall functionality and appearance of the codebase.
2023-10-28 14:35:54 +08:00
canisminor1990
8a794f93a8 💄 style: Add guide to market page 2023-10-28 13:54:55 +08:00
canisminor1990
87a4a469dc 💄 style: Add new components, modify display properties, and update settings feature
This commit introduces new components, modifies display properties, and updates the settings feature. It also includes changes to translations and styling. Additionally, a condition is added to check if the app is a progressive web app before rendering a specific component.
2023-10-11 00:58:11 +08:00
canisminor1990
57512a0745 feat: Add ja_JP, ko_KR and update workflow 2023-10-10 22:21:28 +08:00
canisminor1990
89c5648544 ♻️ refactor: Refactor settings page and mobile ux 2023-09-29 03:41:32 +08:00
canisminor1990
f5d21f4fc6 feat(share): Add screenshot (#152) 2023-09-27 23:49:46 +08:00
canisminor1990
abba584535 feat: Improve user experience and ensure consistency
- Update CSS styles for improved visual appearance
- Add new file for language switching functionality
- Modify package metadata for better organization
- Update language settings for localization support
- Refactor "GlobalStyle" component for consistency

These changes were made to enhance the user experience and maintain consistency in the application. The CSS styles were updated to improve the visual appearance of the application. A new file was added to enable language switching functionality. Package metadata was modified for better organization. Language settings were updated to support localization. The "GlobalStyle" component was refactored to ensure consistency throughout the application.
2023-09-27 16:16:02 +08:00
canisminor1990
2adfb0435e 💄 style: Fix safeare in mobile 2023-09-27 14:25:49 +08:00
canisminor1990
a71ffff84f 💄 style(meta): Update meta image (#66) 2023-09-25 17:54:42 +08:00
canisminor1990
c872522b9e 💄 style(meta): Fix and add metadata 2023-09-25 15:50:49 +08:00
canisminor1990
1543bd15f8 feat: Add new features and improve user interface and functionality
The changes include modifying JSON files for chat settings in English and Chinese, renaming and adding image files, creating new code files for a component called "SelectWithImg" and corresponding styling files. The code also includes importing and using different components, updating styles, modifying placeholder text, and defining CSS styles for positioning and styling elements. The "Settings" component uses state to manage the active tab and renders different components based on the selected tab, and includes a logo and version information.

Changes made:
- Modifications to JSON files for chat settings in English and Chinese
- Renaming and adding image files
- Creating new code files for the "SelectWithImg" component
- Creating corresponding styling files
- Importing and using different components
- Updating styles
- Modifying placeholder text
- Defining CSS styles for positioning and styling elements
- Managing active tab and rendering different components in the "Settings" component
- Adding a logo and version information.
2023-08-16 00:26:45 +08:00
canisminor1990
b9f267ccde feat: Add topic empty
Add new translations, modify titles and descriptions, and add new components to the project. Changes involve localization files, image files, and code files.
2023-08-04 18:36:13 +08:00
arvinxx
ea9e8de26c 🍱 style: update manifest 2023-07-23 14:31:37 +08:00
arvinxx
8aad92d67b feat: 支持 pwa 模式 2023-07-22 20:54:35 +08:00
Arvin Xu
390ebfec80 🐛 fix: 使用 client 加载 i18n 以解决 nextjs 集成问题 (#10)
* 🐛 fix: 尝试使用原始 i18n 加载方式

* 🏷️ chore: fix type

* 🔥 chore: clean file

* ♻️ refactor: 清理项目,优化路径依赖关系

* 🚨 chore: fix lint
2023-07-17 22:56:51 +08:00
canisminor1990
9a13ec0a78 🐛 fix: Fix ssr 2023-07-17 13:04:36 +08:00
canisminor1990
a51cc0cf9f 🐛 fix: Fix ssr 2023-07-17 11:08:10 +08:00
canisminor1990
4a1995f995 feat: Add and modify settings page, update Header styles, and improve useTranslation hook
This commit introduces changes to the setting.json, index.page.tsx, and Header.tsx files. The settings page is enhanced by adding, removing, and modifying settings and their descriptions. The Header component's styles are updated, and improvements are made to the useTranslation hook. Additionally, a new file called SettingForm.tsx is added, which defines a component for retrieving current settings and translations. The index.page.tsx file is updated to display translated text and import/render the SettingForm component. The settings.ts and action.ts files are deleted, and a new index.ts file is added to define the settings store using Zustand. The store includes initial state, selectors, and actions related to the settings.

Changes:
- Modifications to setting.json, index.page.tsx, and Header.tsx files
- Addition, removal, and modification of settings and descriptions on the settings page
- Updates to the styles of the Header component
- Improvements to the useTranslation hook
- Addition of SettingForm.tsx file for retrieving settings and translations
- Update of index.page.tsx to display translated text and import/render SettingForm component
- Deletion of settings.ts and action.ts files
- Addition of index.ts file to define settings store using Zustand, including initial state, selectors, and actions related to the settings.
2023-07-16 23:22:26 +08:00
arvinxx
d95027d42b feat: 增加不同模型 2023-07-16 20:52:35 +08:00
arvinxx
47b316cd43 feat: 优化设置页 2023-07-16 17:12:29 +08:00
canisminor1990
d3916e8d52 🔧 chore: Merge 2023-07-16 16:00:18 +08:00
canisminor1990
88d837fe41 feat(wip): Add setting page
- Update dependencies and add localization settings
- Modify behavior of certain components
- Restructure layout and components of chat page
- Add new setting page
- Implement server-side translation support
- Import necessary dependencies for code
- Import and export JSON files as resources
- Define "NS" type based on imported resources

The changes aim to introduce new features to the code repository, including updates to dependencies, localization settings, modification of component behavior, restructuring of the chat page, addition of a new setting page, implementation of server-side translation support, and necessary imports for dependencies. JSON files are also imported and exported as resources, defining a new type called "NS".
2023-07-16 15:53:30 +08:00
arvinxx
e9560a8aef feat: agent profile 2023-07-16 15:40:06 +08:00
canisminor1990
cef01c0263 feat: Introduce new features and styles for chat application
The changes include importing new components, modifying existing styles, and introducing new components. The code snippets provided show changes made to various files in a chat application, including changes to ActionIcon components, header components, session item components, and the structure and styling of the chat session list component. The code changes also involve the addition of new files for CSS overrides and global styles, as well as modifications to index pages and chat session selectors.

The purpose of these changes is to enhance the functionality and user experience of the chat application by introducing new features and improving the overall styling.
2023-07-15 21:36:50 +08:00
canisminor1990
53cd87c8ba feat(i18n): Add i18next and lobe-i18n internationalization configuration files and update dependencies
This commit introduces new configuration files for internationalization,
deletes one file, modifies existing files, and adds new files. The changes
also involve importing dependencies and updating app and document pages.
Additional libraries and modules are used in a React application. The Header
component is modified, the index page is updated for server-side translations,
and the tsconfig.json file is modified.

Description:
- Added configuration files for internationalization
- Deleted one file
- Modified existing files
- Added new files
- Imported dependencies
- Updated app and document pages
- Used additional libraries and modules in a React application
- Modified the Header component
- Updated the index page for server-side translations
- Modified the tsconfig.json file.
2023-07-15 18:22:47 +08:00
arvinxx
dfaccbe493 Initial commit
Created from https://vercel.com/new
2023-05-21 07:19:20 +00:00