@lobehub/chat 0.133.0 → 0.133.2

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 (86) hide show
  1. package/.eslintrc.js +16 -0
  2. package/CHANGELOG.md +1392 -2240
  3. package/README.md +7 -3
  4. package/README.zh-CN.md +7 -3
  5. package/contributing/Home.md +20 -28
  6. package/contributing/_Sidebar.md +1 -9
  7. package/docs/self-hosting/advanced/analytics.zh-CN.mdx +4 -2
  8. package/docs/self-hosting/advanced/authentication.mdx +32 -33
  9. package/docs/self-hosting/advanced/authentication.zh-CN.mdx +31 -34
  10. package/docs/self-hosting/advanced/upstream-sync.mdx +23 -26
  11. package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +23 -26
  12. package/docs/self-hosting/environment-variables/basic.mdx +12 -14
  13. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +13 -15
  14. package/docs/self-hosting/environment-variables/model-provider.mdx +6 -2
  15. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +8 -5
  16. package/docs/self-hosting/environment-variables.mdx +11 -0
  17. package/docs/self-hosting/environment-variables.zh-CN.mdx +10 -0
  18. package/docs/self-hosting/examples/azure-openai.mdx +7 -7
  19. package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +7 -7
  20. package/docs/self-hosting/faq/no-v1-suffix.mdx +0 -1
  21. package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +0 -1
  22. package/docs/self-hosting/platform/docker-compose.mdx +73 -79
  23. package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +80 -86
  24. package/docs/self-hosting/platform/docker.mdx +96 -101
  25. package/docs/self-hosting/platform/docker.zh-CN.mdx +102 -107
  26. package/docs/self-hosting/platform/netlify.mdx +66 -145
  27. package/docs/self-hosting/platform/netlify.zh-CN.mdx +64 -143
  28. package/docs/self-hosting/platform/repocloud.mdx +7 -9
  29. package/docs/self-hosting/platform/repocloud.zh-CN.mdx +10 -12
  30. package/docs/self-hosting/platform/sealos.mdx +7 -9
  31. package/docs/self-hosting/platform/sealos.zh-CN.mdx +10 -12
  32. package/docs/self-hosting/platform/vercel.mdx +13 -15
  33. package/docs/self-hosting/platform/vercel.zh-CN.mdx +12 -15
  34. package/docs/self-hosting/platform/zeabur.mdx +7 -9
  35. package/docs/self-hosting/platform/zeabur.zh-CN.mdx +10 -12
  36. package/docs/self-hosting/start.mdx +17 -0
  37. package/docs/self-hosting/start.zh-CN.mdx +17 -0
  38. package/docs/usage/agents/concepts.mdx +0 -1
  39. package/docs/usage/agents/custom-agent.mdx +5 -7
  40. package/docs/usage/agents/custom-agent.zh-CN.mdx +3 -3
  41. package/docs/usage/agents/model.mdx +9 -4
  42. package/docs/usage/agents/model.zh-CN.mdx +5 -5
  43. package/docs/usage/agents/prompt.mdx +8 -9
  44. package/docs/usage/agents/prompt.zh-CN.mdx +7 -8
  45. package/docs/usage/agents/topics.mdx +1 -1
  46. package/docs/usage/features/agent-market.mdx +13 -11
  47. package/docs/usage/features/agent-market.zh-CN.mdx +7 -8
  48. package/docs/usage/features/local-llm.mdx +6 -5
  49. package/docs/usage/features/local-llm.zh-CN.mdx +8 -5
  50. package/docs/usage/features/mobile.mdx +5 -5
  51. package/docs/usage/features/mobile.zh-CN.mdx +1 -5
  52. package/docs/usage/features/multi-ai-providers.mdx +6 -6
  53. package/docs/usage/features/multi-ai-providers.zh-CN.mdx +3 -7
  54. package/docs/usage/features/plugin-system.mdx +20 -18
  55. package/docs/usage/features/plugin-system.zh-CN.mdx +20 -22
  56. package/docs/usage/features/pwa.mdx +9 -11
  57. package/docs/usage/features/pwa.zh-CN.mdx +5 -11
  58. package/docs/usage/features/text-to-image.mdx +5 -1
  59. package/docs/usage/features/text-to-image.zh-CN.mdx +1 -1
  60. package/docs/usage/features/theme.mdx +5 -5
  61. package/docs/usage/features/theme.zh-CN.mdx +1 -5
  62. package/docs/usage/features/tts.mdx +6 -1
  63. package/docs/usage/features/tts.zh-CN.mdx +1 -1
  64. package/docs/usage/features/vision.mdx +7 -3
  65. package/docs/usage/features/vision.zh-CN.mdx +1 -1
  66. package/docs/usage/plugins/basic-usage.mdx +2 -2
  67. package/docs/usage/plugins/custom-plugin.mdx +2 -2
  68. package/docs/usage/plugins/custom-plugin.zh-CN.mdx +2 -2
  69. package/docs/usage/plugins/{plugin-development.mdx → development.mdx} +7 -7
  70. package/docs/usage/plugins/{plugin-development.zh-CN.mdx → development.zh-CN.mdx} +7 -7
  71. package/docs/usage/plugins/{plugin-store.mdx → store.mdx} +0 -1
  72. package/docs/usage/plugins/store.zh-CN.mdx +9 -0
  73. package/docs/usage/providers/ollama/gemma.mdx +22 -33
  74. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +20 -32
  75. package/docs/usage/providers/ollama.mdx +34 -43
  76. package/docs/usage/providers/ollama.zh-CN.mdx +18 -29
  77. package/docs/usage/start.mdx +34 -0
  78. package/docs/usage/start.zh-CN.mdx +28 -0
  79. package/next-sitemap.config.mjs +2 -3
  80. package/package.json +24 -19
  81. package/src/app/settings/llm/Anthropic/index.tsx +2 -2
  82. package/src/app/settings/llm/index.tsx +4 -4
  83. package/src/config/modelProviders/ollama.ts +4 -4
  84. package/src/libs/agent-runtime/anthropic/index.test.ts +6 -10
  85. package/docs/usage/plugins/plugin-store.zh-CN.mdx +0 -9
  86. package/public/robots.txt +0 -4
package/.eslintrc.js CHANGED
@@ -18,4 +18,20 @@ config.rules['unicorn/catch-error-name'] = 0;
18
18
  config.rules['unicorn/no-array-for-each'] = 0;
19
19
  config.rules['unicorn/prefer-number-properties'] = 0;
20
20
 
21
+ config.overrides = [
22
+ {
23
+ extends: ['plugin:mdx/recommended'],
24
+ files: ['*.mdx'],
25
+ rules: {
26
+ '@typescript-eslint/no-unused-vars': 1,
27
+ 'no-undef': 0,
28
+ 'react/jsx-no-undef': 0,
29
+ 'react/no-unescaped-entities': 0,
30
+ },
31
+ settings: {
32
+ 'mdx/code-blocks': false,
33
+ },
34
+ },
35
+ ];
36
+
21
37
  module.exports = config;