@lobehub/chat 1.19.2 → 1.19.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.
Potentially problematic release.
This version of @lobehub/chat might be problematic. Click here for more details.
- package/CHANGELOG.md +17 -0
- package/Dockerfile +22 -20
- package/Dockerfile.database +22 -20
- package/README.md +8 -10
- package/README.zh-CN.md +8 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.19.3](https://github.com/lobehub/lobe-chat/compare/v1.19.2...v1.19.3)
|
6
|
+
|
7
|
+
<sup>Released on **2024-09-19**</sup>
|
8
|
+
|
9
|
+
<br/>
|
10
|
+
|
11
|
+
<details>
|
12
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
13
|
+
|
14
|
+
</details>
|
15
|
+
|
16
|
+
<div align="right">
|
17
|
+
|
18
|
+
[](#readme-top)
|
19
|
+
|
20
|
+
</div>
|
21
|
+
|
5
22
|
### [Version 1.19.2](https://github.com/lobehub/lobe-chat/compare/v1.19.1...v1.19.2)
|
6
23
|
|
7
24
|
<sup>Released on **2024-09-19**</sup>
|
package/Dockerfile
CHANGED
@@ -1,23 +1,30 @@
|
|
1
1
|
## Base image for all the stages
|
2
|
-
FROM node:20-
|
2
|
+
FROM node:20-slim AS base
|
3
3
|
|
4
4
|
ARG USE_CN_MIRROR
|
5
5
|
|
6
|
+
ENV DEBIAN_FRONTEND="noninteractive"
|
7
|
+
|
6
8
|
RUN \
|
7
9
|
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
|
8
10
|
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
|
9
|
-
sed -i "s/
|
11
|
+
sed -i "s/deb.debian.org/mirrors.ustc.edu.cn/g" "/etc/apt/sources.list.d/debian.sources"; \
|
10
12
|
fi \
|
11
13
|
# Add required package & update base package
|
12
|
-
&&
|
13
|
-
&&
|
14
|
-
&&
|
15
|
-
|
14
|
+
&& apt update \
|
15
|
+
&& apt install busybox proxychains-ng -qy \
|
16
|
+
&& apt full-upgrade -qy \
|
17
|
+
&& apt autoremove -qy --purge \
|
18
|
+
&& apt clean -qy \
|
19
|
+
# Configure BusyBox
|
20
|
+
&& busybox --install -s \
|
21
|
+
# Add nextjs:nodejs to run the app
|
16
22
|
&& addgroup --system --gid 1001 nodejs \
|
17
|
-
&& adduser --system --uid 1001 nextjs \
|
18
|
-
|
19
|
-
&&
|
20
|
-
|
23
|
+
&& adduser --system --home "/app" --gid 1001 -uid 1001 nextjs \
|
24
|
+
# Set permission for nextjs:nodejs
|
25
|
+
&& chown -R nextjs:nodejs "/etc/proxychains4.conf" \
|
26
|
+
# Cleanup temp files
|
27
|
+
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
21
28
|
|
22
29
|
## Builder image, install all the dependencies and build the app
|
23
30
|
FROM base AS builder
|
@@ -89,7 +96,8 @@ FROM base
|
|
89
96
|
# Copy all the files from app, set the correct permission for prerender cache
|
90
97
|
COPY --from=app --chown=nextjs:nodejs /app /app
|
91
98
|
|
92
|
-
ENV NODE_ENV="production"
|
99
|
+
ENV NODE_ENV="production" \
|
100
|
+
NODE_TLS_REJECT_UNAUTHORIZED=""
|
93
101
|
|
94
102
|
# set hostname to localhost
|
95
103
|
ENV HOSTNAME="0.0.0.0" \
|
@@ -121,6 +129,8 @@ ENV \
|
|
121
129
|
DEEPSEEK_API_KEY="" \
|
122
130
|
# Fireworks AI
|
123
131
|
FIREWORKSAI_API_KEY="" FIREWORKSAI_MODEL_LIST="" \
|
132
|
+
# GitHub
|
133
|
+
GITHUB_TOKEN="" GITHUB_MODEL_LIST="" \
|
124
134
|
# Google
|
125
135
|
GOOGLE_API_KEY="" GOOGLE_PROXY_URL="" \
|
126
136
|
# Groq
|
@@ -193,15 +203,7 @@ CMD \
|
|
193
203
|
'tcp_read_time_out 15000' \
|
194
204
|
'[ProxyList]' \
|
195
205
|
"$protocol $host $port" \
|
196
|
-
> "/etc/
|
197
|
-
fi; \
|
198
|
-
# Fix DNS resolving issue in Docker Compose, ref https://github.com/lobehub/lobe-chat/pull/3837
|
199
|
-
if [ -f "/etc/resolv.conf" ]; then \
|
200
|
-
sudo chmod 666 "/etc/resolv.conf"; \
|
201
|
-
resolv_conf=$(grep '^nameserver' "/etc/resolv.conf" | awk '{print "nameserver " $2}'); \
|
202
|
-
printf "%s\n" \
|
203
|
-
"$resolv_conf" \
|
204
|
-
> "/etc/resolv.conf"; \
|
206
|
+
> "/etc/proxychains4.conf"; \
|
205
207
|
fi; \
|
206
208
|
# Run the server
|
207
209
|
${PROXYCHAINS} node "/app/server.js";
|
package/Dockerfile.database
CHANGED
@@ -1,23 +1,30 @@
|
|
1
1
|
## Base image for all the stages
|
2
|
-
FROM node:20-
|
2
|
+
FROM node:20-slim AS base
|
3
3
|
|
4
4
|
ARG USE_CN_MIRROR
|
5
5
|
|
6
|
+
ENV DEBIAN_FRONTEND="noninteractive"
|
7
|
+
|
6
8
|
RUN \
|
7
9
|
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
|
8
10
|
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
|
9
|
-
sed -i "s/
|
11
|
+
sed -i "s/deb.debian.org/mirrors.ustc.edu.cn/g" "/etc/apt/sources.list.d/debian.sources"; \
|
10
12
|
fi \
|
11
13
|
# Add required package & update base package
|
12
|
-
&&
|
13
|
-
&&
|
14
|
-
&&
|
15
|
-
|
14
|
+
&& apt update \
|
15
|
+
&& apt install busybox proxychains-ng -qy \
|
16
|
+
&& apt full-upgrade -qy \
|
17
|
+
&& apt autoremove -qy --purge \
|
18
|
+
&& apt clean -qy \
|
19
|
+
# Configure BusyBox
|
20
|
+
&& busybox --install -s \
|
21
|
+
# Add nextjs:nodejs to run the app
|
16
22
|
&& addgroup --system --gid 1001 nodejs \
|
17
|
-
&& adduser --system --uid 1001 nextjs \
|
18
|
-
|
19
|
-
&&
|
20
|
-
|
23
|
+
&& adduser --system --home "/app" --gid 1001 -uid 1001 nextjs \
|
24
|
+
# Set permission for nextjs:nodejs
|
25
|
+
&& chown -R nextjs:nodejs "/etc/proxychains4.conf" \
|
26
|
+
# Cleanup temp files
|
27
|
+
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
21
28
|
|
22
29
|
## Builder image, install all the dependencies and build the app
|
23
30
|
FROM base AS builder
|
@@ -102,7 +109,8 @@ FROM base
|
|
102
109
|
# Copy all the files from app, set the correct permission for prerender cache
|
103
110
|
COPY --from=app --chown=nextjs:nodejs /app /app
|
104
111
|
|
105
|
-
ENV NODE_ENV="production"
|
112
|
+
ENV NODE_ENV="production" \
|
113
|
+
NODE_TLS_REJECT_UNAUTHORIZED=""
|
106
114
|
|
107
115
|
# set hostname to localhost
|
108
116
|
ENV HOSTNAME="0.0.0.0" \
|
@@ -153,6 +161,8 @@ ENV \
|
|
153
161
|
DEEPSEEK_API_KEY="" \
|
154
162
|
# Fireworks AI
|
155
163
|
FIREWORKSAI_API_KEY="" FIREWORKSAI_MODEL_LIST="" \
|
164
|
+
# GitHub
|
165
|
+
GITHUB_TOKEN="" GITHUB_MODEL_LIST="" \
|
156
166
|
# Google
|
157
167
|
GOOGLE_API_KEY="" GOOGLE_PROXY_URL="" \
|
158
168
|
# Groq
|
@@ -225,15 +235,7 @@ CMD \
|
|
225
235
|
'tcp_read_time_out 15000' \
|
226
236
|
'[ProxyList]' \
|
227
237
|
"$protocol $host $port" \
|
228
|
-
> "/etc/
|
229
|
-
fi; \
|
230
|
-
# Fix DNS resolving issue in Docker Compose, ref https://github.com/lobehub/lobe-chat/pull/3837
|
231
|
-
if [ -f "/etc/resolv.conf" ]; then \
|
232
|
-
sudo chmod 666 "/etc/resolv.conf"; \
|
233
|
-
resolv_conf=$(grep '^nameserver' "/etc/resolv.conf" | awk '{print "nameserver " $2}'); \
|
234
|
-
printf "%s\n" \
|
235
|
-
"$resolv_conf" \
|
236
|
-
> "/etc/resolv.conf"; \
|
238
|
+
> "/etc/proxychains4.conf"; \
|
237
239
|
fi; \
|
238
240
|
# Run migration
|
239
241
|
node "/app/docker.cjs"; \
|
package/README.md
CHANGED
@@ -285,16 +285,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
285
285
|
|
286
286
|
<!-- AGENT LIST -->
|
287
287
|
|
288
|
-
| Recent Submits
|
289
|
-
|
|
290
|
-
| [
|
291
|
-
| [
|
292
|
-
| [
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
> 📊 Total agents: [<kbd>**335**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
288
|
+
| Recent Submits | Description |
|
289
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
290
|
+
| [Fitness AI Trainer](https://chat-preview.lobehub.com/market?agent=ai-trainer)<br/><sup>By **[andreasvikke](https://github.com/andreasvikke)** on **2024-09-19**</sup> | AI workout assistant specializing in personalized plans, muscle targeting, form guidance, progress tracking, motivation, and VR training.<br/>`workout-assistant` `fitness` `exercise` `training` `nutrition` |
|
291
|
+
| [Alfred](https://chat-preview.lobehub.com/market?agent=alfred)<br/><sup>By **[Bern3rsH](https://github.com/Bern3rsH)** on **2024-09-19**</sup> | A versatile butler.<br/>`lifestyle` `personal` |
|
292
|
+
| [Career Development Mentor](https://chat-preview.lobehub.com/market?agent=career-development)<br/><sup>By **[daylight2022](https://github.com/daylight2022)** on **2024-09-19**</sup> | Professional career development planning and entrepreneurial consulting, providing practical advice through an in-depth understanding of user situations.<br/>`career-consulting` `career-planning` `entrepreneurship-guidance` `industry-insights` `skill-enhancement` |
|
293
|
+
| [Vocabulary Assistant](https://chat-preview.lobehub.com/market?agent=english-words-helper)<br/><sup>By **[SpeedupMaster](https://github.com/SpeedupMaster)** on **2024-09-19**</sup> | An assistant skilled in English word definitions and example sentence translations<br/>`vocabulary-assistant` `english` `translation` `example-sentences` `definitions` |
|
294
|
+
|
295
|
+
> 📊 Total agents: [<kbd>**351**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
298
296
|
|
299
297
|
<!-- AGENT LIST -->
|
300
298
|
|
package/README.zh-CN.md
CHANGED
@@ -273,16 +273,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
273
273
|
|
274
274
|
<!-- AGENT LIST -->
|
275
275
|
|
276
|
-
| 最近新增
|
277
|
-
|
|
278
|
-
| [
|
279
|
-
| [
|
280
|
-
| [
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
> 📊 Total agents: [<kbd>**335**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
276
|
+
| 最近新增 | 助手说明 |
|
277
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
|
278
|
+
| [健身 AI 教练](https://chat-preview.lobehub.com/market?agent=ai-trainer)<br/><sup>By **[andreasvikke](https://github.com/andreasvikke)** on **2024-09-19**</sup> | 专注于个性化计划、肌肉目标、姿势指导、进度跟踪、激励和虚拟现实训练的 AI 锻炼助手。<br/>`锻炼助手` `健身` `运动` `训练` `营养` |
|
279
|
+
| [Alfred](https://chat-preview.lobehub.com/market?agent=alfred)<br/><sup>By **[Bern3rsH](https://github.com/Bern3rsH)** on **2024-09-19**</sup> | 一位全能的管家。<br/>`生活` `个人` |
|
280
|
+
| [职业发展导师](https://chat-preview.lobehub.com/market?agent=career-development)<br/><sup>By **[daylight2022](https://github.com/daylight2022)** on **2024-09-19**</sup> | 专业的职业发展规划和创业咨询,通过深入了解用户情况提供切实可行的建议<br/>`职业咨询` `职业规划` `创业指导` `行业洞察` `技能提升` |
|
281
|
+
| [词汇助手](https://chat-preview.lobehub.com/market?agent=english-words-helper)<br/><sup>By **[SpeedupMaster](https://github.com/SpeedupMaster)** on **2024-09-19**</sup> | 擅长英语单词释义及例句翻译助手<br/>`词汇助手` `英语` `翻译` `例句` `释义` |
|
282
|
+
|
283
|
+
> 📊 Total agents: [<kbd>**351**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
286
284
|
|
287
285
|
<!-- AGENT LIST -->
|
288
286
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.19.
|
3
|
+
"version": "1.19.3",
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
5
5
|
"keywords": [
|
6
6
|
"framework",
|