@yeaft/webchat-agent 1.0.448 → 1.0.449

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.
package/Dockerfile CHANGED
@@ -5,10 +5,15 @@ ENV NODE_ENV=production \
5
5
  HOME=/home/yeaft \
6
6
  YEAFT_DIR=/home/yeaft/.yeaft \
7
7
  WORK_DIR=/workspace \
8
- YEAFT_AGENT_RUNTIME=container_agent
8
+ YEAFT_AGENT_RUNTIME=container_agent \
9
+ VIRTUAL_ENV=/opt/yeaft-python \
10
+ PATH=/opt/yeaft-python/bin:$PATH
9
11
 
10
12
  RUN apt-get update \
11
- && apt-get install -y --no-install-recommends ca-certificates git openssh-client tini \
13
+ && apt-get install -y --no-install-recommends ca-certificates curl git openssh-client python3 python3-venv tini wget \
14
+ && python3 -m venv "$VIRTUAL_ENV" \
15
+ && "$VIRTUAL_ENV/bin/pip" install --no-cache-dir "akshare==1.18.91" \
16
+ && "$VIRTUAL_ENV/bin/python" -c "import akshare; assert akshare.__version__ == '1.18.91'; assert all(hasattr(akshare, name) for name in ('stock_info_global_em', 'futures_display_main_sina', 'futures_zh_spot'))" \
12
17
  && rm -rf /var/lib/apt/lists/* \
13
18
  && useradd --create-home --uid 10001 --shell /usr/sbin/nologin yeaft \
14
19
  && mkdir -p /app /workspace /home/yeaft/.yeaft \
@@ -1 +1 @@
1
- {"version":"1.0.448"}
1
+ {"version":"1.0.449"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "1.0.448",
3
+ "version": "1.0.449",
4
4
  "description": "Remote worker agent for Yeaft Web Code Agent — connects the native Yeaft engine, CLI providers, and workbench tools",
5
5
  "main": "index.js",
6
6
  "type": "module",