@lobehub/chat 0.128.2 → 0.128.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/.github/workflows/issue-close-require.yml +3 -3
  2. package/.github/workflows/issues-translate.yml +3 -3
  3. package/.github/workflows/wiki-sync.yml +2 -2
  4. package/.i18nrc.js +2 -2
  5. package/CHANGELOG.md +25 -0
  6. package/README.md +3 -3
  7. package/README.zh-CN.md +3 -3
  8. package/contributing/Basic/Feature-Development.md +713 -0
  9. package/{docs/Development → contributing/Basic}/Feature-Development.zh-CN.md +2 -2
  10. package/{docs/Development → contributing/Basic}/Intro.zh-CN.md +5 -5
  11. package/{docs → contributing}/Home.md +20 -29
  12. package/{docs/Development → contributing/Internationalization}/Internationalization-Implementation.zh-CN.md +1 -1
  13. package/{docs → contributing}/_Sidebar.md +18 -29
  14. package/docs/agents/concepts.mdx +18 -0
  15. package/docs/agents/concepts.zh-CN.mdx +17 -0
  16. package/docs/agents/custom-agent.mdx +34 -0
  17. package/docs/agents/custom-agent.zh-CN.mdx +31 -0
  18. package/docs/agents/model.mdx +68 -0
  19. package/docs/agents/model.zh-CN.mdx +64 -0
  20. package/docs/agents/prompt.mdx +96 -0
  21. package/docs/agents/prompt.zh-CN.mdx +97 -0
  22. package/docs/agents/topics.mdx +7 -0
  23. package/docs/agents/topics.zh-CN.mdx +6 -0
  24. package/docs/common-errors/no-v1-suffix.mdx +18 -0
  25. package/docs/common-errors/no-v1-suffix.zh-CN.mdx +17 -0
  26. package/docs/common-errors/proxy-with-unable-to-verify-leaf-signature.mdx +70 -0
  27. package/docs/{Deployment/Common-Error.zh-CN.md → common-errors/proxy-with-unable-to-verify-leaf-signature.zh-CN.mdx} +8 -26
  28. package/docs/environment-variables/common.mdx +215 -0
  29. package/docs/environment-variables/common.zh-CN.mdx +214 -0
  30. package/docs/environment-variables/model-provider.mdx +135 -0
  31. package/docs/environment-variables/model-provider.zh-CN.mdx +133 -0
  32. package/docs/package.json +5 -0
  33. package/docs/plugins/basic-usage.mdx +40 -0
  34. package/docs/{Usage/Plugins.zh-CN.md → plugins/basic-usage.zh-CN.mdx} +7 -21
  35. package/docs/plugins/custom-plugin.mdx +27 -0
  36. package/docs/plugins/custom-plugin.zh-CN.mdx +26 -0
  37. package/docs/plugins/plugin-development.mdx +262 -0
  38. package/docs/{Plugins/Plugin-Development.zh-CN.md → plugins/plugin-development.zh-CN.mdx} +9 -33
  39. package/docs/plugins/plugin-store.mdx +10 -0
  40. package/docs/plugins/plugin-store.zh-CN.mdx +9 -0
  41. package/docs/self-hosting/analytics.mdx +20 -0
  42. package/docs/{Deployment/Analytics.zh-CN.md → self-hosting/analytics.zh-CN.mdx} +5 -8
  43. package/docs/self-hosting/authentication.mdx +94 -0
  44. package/docs/self-hosting/authentication.zh-CN.mdx +90 -0
  45. package/docs/self-hosting/deploy-with-azure-openai.mdx +48 -0
  46. package/docs/{Deployment/Deploy-with-Azure-OpenAI.zh-CN.md → self-hosting/deploy-with-azure-openai.zh-CN.mdx} +16 -21
  47. package/docs/self-hosting/docker-compose.mdx +121 -0
  48. package/docs/self-hosting/docker-compose.zh-CN.mdx +121 -0
  49. package/docs/self-hosting/docker.mdx +152 -0
  50. package/docs/self-hosting/docker.zh-CN.mdx +149 -0
  51. package/docs/self-hosting/environment-variable.mdx +340 -0
  52. package/docs/{Deployment/Environment-Variable.zh-CN.md → self-hosting/environment-variable.zh-CN.mdx} +43 -57
  53. package/docs/self-hosting/upstream-sync.mdx +66 -0
  54. package/docs/{Deployment/Upstream-Sync.zh-CN.md → self-hosting/upstream-sync.zh-CN.mdx} +23 -21
  55. package/docs/self-hosting/vercel.mdx +39 -0
  56. package/docs/self-hosting/vercel.zh-CN.mdx +39 -0
  57. package/docs/usage/agent-market.mdx +35 -0
  58. package/docs/usage/agent-market.zh-CN.mdx +32 -0
  59. package/docs/usage/mobile.mdx +8 -0
  60. package/docs/usage/mobile.zh-CN.mdx +7 -0
  61. package/docs/usage/more.mdx +21 -0
  62. package/docs/usage/more.zh-CN.mdx +19 -0
  63. package/docs/usage/plugin-system.mdx +84 -0
  64. package/docs/usage/plugin-system.zh-CN.mdx +77 -0
  65. package/docs/usage/pwa.mdx +21 -0
  66. package/docs/usage/pwa.zh-CN.mdx +21 -0
  67. package/docs/usage/text-to-image.mdx +5 -0
  68. package/docs/usage/text-to-image.zh-CN.mdx +6 -0
  69. package/docs/usage/theme.mdx +17 -0
  70. package/docs/usage/theme.zh-CN.mdx +15 -0
  71. package/docs/usage/tts.mdx +26 -0
  72. package/docs/usage/tts.zh-CN.mdx +24 -0
  73. package/docs/usage/vision.mdx +8 -0
  74. package/docs/usage/vision.zh-CN.mdx +7 -0
  75. package/next.config.mjs +5 -0
  76. package/package.json +4 -3
  77. package/scripts/docsWorkflow/const.ts +1 -1
  78. package/scripts/docsWorkflow/toc.ts +6 -6
  79. package/src/app/welcome/(desktop)/features/Footer.tsx +5 -3
  80. package/src/config/client.ts +6 -0
  81. package/src/const/url.ts +10 -1
  82. package/src/features/SideBar/BottomActions.tsx +11 -10
  83. package/src/locales/default/common.ts +1 -0
  84. package/docs/Deployment/Analytics.md +0 -20
  85. package/docs/Deployment/Authentication.md +0 -80
  86. package/docs/Deployment/Authentication.zh-CN.md +0 -80
  87. package/docs/Deployment/Common-Error.md +0 -87
  88. package/docs/Deployment/Deploy-with-Azure-OpenAI.md +0 -54
  89. package/docs/Deployment/Docker-Deployment.md +0 -219
  90. package/docs/Deployment/Docker-Deployment.zh-CN.md +0 -217
  91. package/docs/Deployment/Environment-Variable.md +0 -362
  92. package/docs/Deployment/Upstream-Sync.md +0 -62
  93. package/docs/Plugins/Plugin-Development.md +0 -287
  94. package/docs/Usage/Plugins.md +0 -53
  95. package/docs/Usage/Usage-Agents.md +0 -201
  96. package/docs/Usage/Usage-Agents.zh-CN.md +0 -202
  97. package/docs/Usage/Usage-Topics.md +0 -31
  98. package/docs/Usage/Usage-Topics.zh-CN.md +0 -31
  99. /package/{docs/Development → contributing/Basic}/Add-New-Authentication-Providers.md +0 -0
  100. /package/{docs/Development → contributing/Basic}/Add-New-Authentication-Providers.zh-CN.md +0 -0
  101. /package/{docs/Development → contributing/Basic}/Architecture.md +0 -0
  102. /package/{docs/Development → contributing/Basic}/Architecture.zh-CN.md +0 -0
  103. /package/{docs/Development → contributing/Basic}/Chat-API.md +0 -0
  104. /package/{docs/Development → contributing/Basic}/Chat-API.zh-CN.md +0 -0
  105. /package/{docs/Development → contributing/Basic}/Contributing-Guidelines.md +0 -0
  106. /package/{docs/Development → contributing/Basic}/Contributing-Guidelines.zh-CN.md +0 -0
  107. /package/{docs/Development → contributing/Basic}/Feature-Development-Frontend.md +0 -0
  108. /package/{docs/Development → contributing/Basic}/Feature-Development-Frontend.zh-CN.md +0 -0
  109. /package/{docs/Development → contributing/Basic}/Folder-Structure.md +0 -0
  110. /package/{docs/Development → contributing/Basic}/Folder-Structure.zh-CN.md +0 -0
  111. /package/{docs/Development → contributing/Basic}/Intro.md +0 -0
  112. /package/{docs/Development → contributing/Basic}/Resources.md +0 -0
  113. /package/{docs/Development → contributing/Basic}/Resources.zh-CN.md +0 -0
  114. /package/{docs/Development → contributing/Basic}/Setup-Development.md +0 -0
  115. /package/{docs/Development → contributing/Basic}/Setup-Development.zh-CN.md +0 -0
  116. /package/{docs/Development → contributing/Basic}/Test.md +0 -0
  117. /package/{docs/Development → contributing/Basic}/Test.zh-CN.md +0 -0
  118. /package/{docs/Development → contributing/Internationalization}/Add-New-Locale.md +0 -0
  119. /package/{docs/Development → contributing/Internationalization}/Add-New-Locale.zh-CN.md +0 -0
  120. /package/{docs/Development → contributing/Internationalization}/Internationalization-Implementation.md +0 -0
  121. /package/{docs → contributing}/Others/Lighthouse.md +0 -0
  122. /package/{docs → contributing}/Others/Lighthouse.zh-CN.md +0 -0
  123. /package/{docs/Development → contributing/State-Management}/State-Management-Intro.md +0 -0
  124. /package/{docs/Development → contributing/State-Management}/State-Management-Intro.zh-CN.md +0 -0
  125. /package/{docs/Development → contributing/State-Management}/State-Management-Selectors.md +0 -0
  126. /package/{docs/Development → contributing/State-Management}/State-Management-Selectors.zh-CN.md +0 -0
  127. /package/{docs → contributing}/_Footer.md +0 -0
@@ -21,7 +21,7 @@ jobs:
21
21
  token: ${{ secrets.GH_TOKEN }}
22
22
  inactive-label: 'Inactive'
23
23
  inactive-day: 30
24
-
24
+
25
25
  issue-close-require:
26
26
  permissions:
27
27
  issues: write # for actions-cool/issues-helper to update issues
@@ -36,7 +36,7 @@ jobs:
36
36
  labels: '✅ Fixed'
37
37
  inactive-day: 3
38
38
  body: |
39
- 👋 @{{ github.event.issue.user.login }}
39
+ 👋 @{{ author }}
40
40
  <br/>
41
41
  Since the issue was labeled with `✅ Fixed`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.\
42
42
  由于该 issue 被标记为已修复,同时 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
@@ -48,7 +48,7 @@ jobs:
48
48
  labels: '🤔 Need Reproduce'
49
49
  inactive-day: 3
50
50
  body: |
51
- 👋 @{{ github.event.issue.user.login }}
51
+ 👋 @{{ author }}
52
52
  <br/>
53
53
  Since the issue was labeled with `🤔 Need Reproduce`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.\
54
54
  由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
@@ -1,8 +1,8 @@
1
1
  name: Issue Translate
2
- on:
3
- issue_comment:
2
+ on:
3
+ issue_comment:
4
4
  types: [created]
5
- issues:
5
+ issues:
6
6
  types: [opened]
7
7
 
8
8
  jobs:
@@ -4,7 +4,7 @@ on:
4
4
  workflow_dispatch:
5
5
  push:
6
6
  paths:
7
- - 'docs/**'
7
+ - 'contributing/**'
8
8
  branches:
9
9
  - main
10
10
 
@@ -15,5 +15,5 @@ jobs:
15
15
  steps:
16
16
  - uses: OrlovM/Wiki-Action@v1
17
17
  with:
18
- path: 'docs'
18
+ path: 'contributing'
19
19
  token: ${{ secrets.GH_TOKEN }}
package/.i18nrc.js CHANGED
@@ -22,13 +22,13 @@ module.exports = defineConfig({
22
22
  'vi-VN',
23
23
  ],
24
24
  temperature: 0,
25
- modelName: 'gpt-3.5-turbo-1106',
25
+ modelName: 'gpt-3.5-turbo-0125',
26
26
  splitToken: 1024,
27
27
  experimental: {
28
28
  jsonMode: true,
29
29
  },
30
30
  markdown: {
31
- entry: ['./README.zh-CN.md', './docs/**/*.zh-CN.md'],
31
+ entry: ['./README.zh-CN.md', './docs/**/*.zh-CN.md', './docs/**/*.zh-CN.mdx'],
32
32
  entryLocale: 'zh-CN',
33
33
  entryExtension: '.zh-CN.md',
34
34
  outputLocales: ['en-US'],
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.128.3](https://github.com/lobehub/lobe-chat/compare/v0.128.2...v0.128.3)
6
+
7
+ <sup>Released on **2024-02-18**</sup>
8
+
9
+ #### ♻ Code Refactoring
10
+
11
+ - **misc**: Refactor with chat docs site.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Code refactoring
19
+
20
+ - **misc**: Refactor with chat docs site, closes [#1309](https://github.com/lobehub/lobe-chat/issues/1309) ([c131fa6](https://github.com/lobehub/lobe-chat/commit/c131fa6))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 0.128.2](https://github.com/lobehub/lobe-chat/compare/v0.128.1...v0.128.2)
6
31
 
7
32
  <sup>Released on **2024-02-15**</sup>
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  LobeChat is an open-source, high-performance chatbot framework<br/>that supports speech synthesis, multimodal, and extensible ([Function Call][fc-link]) plugin system. <br/>
12
12
  Supports one-click free deployment of your private ChatGPT/LLM web application.
13
13
 
14
- **English** · [简体中文](./README.zh-CN.md) · [Changelog](./CHANGELOG.md) · [Wiki][github-wiki-link] · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]
14
+ **English** · [简体中文](./README.zh-CN.md) · [Changelog](./CHANGELOG.md) · [Documents][github-document-link] · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]
15
15
 
16
16
  <!-- SHIELD GROUP -->
17
17
 
@@ -169,7 +169,7 @@ such as automatically fetching the latest news headlines to provide users with i
169
169
  Moreover, these plugins are not limited to news aggregation but can also extend to other practical functions, such as quick document retrieval,
170
170
  e-commerce platform data access, and various third-party services.
171
171
 
172
- > Learn More in [📘 Plugin Usage](https://github.com/lobehub/lobe-chat/wiki/Plugins)
172
+ > Learn More in [📘 Plugin Usage](https://chat-docs.lobehub.com/en/usage/plugins/basic)
173
173
 
174
174
  <video controls src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" muted="false"></video>
175
175
 
@@ -622,6 +622,7 @@ This project is [MIT](./LICENSE) licensed.
622
622
  [github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
623
623
  [github-contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
624
624
  [github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-chat?color=c4f042&labelColor=black&style=flat-square
625
+ [github-document-link]: https://chat-docs.lobehub.com/en
625
626
  [github-forks-link]: https://github.com/lobehub/lobe-chat/network/members
626
627
  [github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-chat?color=8ae8ff&labelColor=black&style=flat-square
627
628
  [github-issues-link]: https://github.com/lobehub/lobe-chat/issues
@@ -637,7 +638,6 @@ This project is [MIT](./LICENSE) licensed.
637
638
  [github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
638
639
  [github-trending-shield]: https://trendshift.io/api/badge/repositories/2256
639
640
  [github-trending-url]: https://trendshift.io/repositories/2256
640
- [github-wiki-link]: https://github.com/lobehub/lobe-chat/wiki
641
641
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
642
642
  [lobe-assets-github]: https://github.com/lobehub/lobe-assets
643
643
  [lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
package/README.zh-CN.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多模态、可扩展的([Function Call][fc-link])插件系统。<br/> 支持一键免费部署私人 ChatGPT/LLM 网页应用程序。
12
12
 
13
- [English](./README.md) · **简体中文** · [更新日志](./CHANGELOG.md) · [文档][github-wiki-link] · [报告问题][github-issues-link] · [请求功能][github-issues-link]
13
+ [English](./README.md) · **简体中文** · [更新日志](./CHANGELOG.md) · [文档][github-document-link] · [报告问题][github-issues-link] · [请求功能][github-issues-link]
14
14
 
15
15
  <!-- SHIELD GROUP -->
16
16
 
@@ -155,7 +155,7 @@ LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Spe
155
155
  LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。通过利用插件,ChatGPT 能够实现实时信息的获取和处理,例如自动获取最新新闻头条,为用户提供即时且相关的资讯。
156
156
  此外,这些插件不仅局限于新闻聚合,还可以扩展到其他实用的功能,如快速检索文档、获取电商平台数据、以及其他各式各样的第三方服务。
157
157
 
158
- > 通过 Wiki 了解更多 [📘 插件使用](https://github.com/lobehub/lobe-chat/wiki/Plugins.zh-CN)
158
+ > 通过文档了解更多 [📘 插件使用](https://chat-docs.lobehub.com/zh/usage/plugins/basic)
159
159
 
160
160
  <video controls src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" muted="false"></video>
161
161
 
@@ -638,6 +638,7 @@ This project is [MIT](./LICENSE) licensed.
638
638
  [github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
639
639
  [github-contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
640
640
  [github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-chat?color=c4f042&labelColor=black&style=flat-square
641
+ [github-document-link]: https://chat-docs.lobehub.com/zh
641
642
  [github-forks-link]: https://github.com/lobehub/lobe-chat/network/members
642
643
  [github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-chat?color=8ae8ff&labelColor=black&style=flat-square
643
644
  [github-issues-link]: https://github.com/lobehub/lobe-chat/issues
@@ -653,7 +654,6 @@ This project is [MIT](./LICENSE) licensed.
653
654
  [github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
654
655
  [github-trending-shield]: https://trendshift.io/api/badge/repositories/2256
655
656
  [github-trending-url]: https://trendshift.io/repositories/2256
656
- [github-wiki-link]: https://github.com/lobehub/lobe-chat/wiki
657
657
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
658
658
  [lobe-assets-github]: https://github.com/lobehub/lobe-assets
659
659
  [lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins