diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1ac86c12..048d1465 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,7 @@ jobs: - name: Install system dependencies run: | sudo apt-get update - sudo apt-get install -y ripgrep bubblewrap socat ffmpeg poppler-utils imagemagick-7.q16 + sudo apt-get install -y ripgrep bubblewrap socat ffmpeg poppler-utils imagemagick - name: Lint run: bun run lint @@ -157,7 +157,7 @@ jobs: - name: Install system dependencies run: | sudo apt-get update - sudo apt-get install -y ripgrep bubblewrap socat ffmpeg poppler-utils imagemagick-7.q16 + sudo apt-get install -y ripgrep bubblewrap socat ffmpeg poppler-utils imagemagick - name: Run Workflow E2E Tests run: bun run test:e2e:workflow diff --git a/.github/workflows/release-npm.yaml b/.github/workflows/release-npm.yaml index b1240785..b91c2bec 100644 --- a/.github/workflows/release-npm.yaml +++ b/.github/workflows/release-npm.yaml @@ -48,7 +48,7 @@ jobs: - name: Install system dependencies run: | sudo apt-get update - sudo apt-get install -y ripgrep bubblewrap socat ffmpeg poppler-utils imagemagick-7.q16 libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev fd-find + sudo apt-get install -y ripgrep bubblewrap socat ffmpeg poppler-utils imagemagick libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev fd-find - name: Install dependencies run: bun install diff --git a/Dockerfile b/Dockerfile index c65dfaf2..c9706fc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ bubblewrap \ gosu \ poppler-utils \ - imagemagick-7.q16 \ + imagemagick \ fonts-noto-cjk \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/README.md b/README.md index f477198e..814a6745 100644 --- a/README.md +++ b/README.md @@ -126,14 +126,14 @@ Shumai requires the following system packages on Linux: - **`ffmpeg`** – Used for media transcoding and metadata extraction. - **`poppler`** (`poppler-utils`) – Used for PDF page image extraction and PDF sprite preview generation (`pdftoppm`). -- **`imagemagick`** (`imagemagick-7.q16`) – Used for PSD format transcoding and color profile conversion to sRGB. +- **`imagemagick`** – Used for PSD format transcoding and color profile conversion to sRGB. - **`bubblewrap`**, **`socat`**, and **`ripgrep`** – Required by the AI agent sandbox (`anthropic-experimental/sandbox-runtime`) for process isolation, networking, and workspace search. Install all required packages with one command: > Ubuntu/Debian ```bash -sudo apt install -y ffmpeg poppler-utils imagemagick-7.q16 bubblewrap socat ripgrep +sudo apt install -y ffmpeg poppler-utils imagemagick bubblewrap socat ripgrep ``` > Fedora diff --git a/README_CN.md b/README_CN.md index ec21c03c..528d872e 100644 --- a/README_CN.md +++ b/README_CN.md @@ -140,14 +140,14 @@ mkdir shumai && cd shumai - **`ffmpeg`** —— 用于媒体转码和元数据提取。 - **`poppler`** (`poppler-utils`) —— 用于 PDF 页面图像提取和 PDF 雪碧图预览生成 (`pdftoppm`)。 -- **`imagemagick`** (`imagemagick-7.q16`) —— 用于 PSD 格式图像转码和 sRGB 色彩空间转换。 +- **`imagemagick`** —— 用于 PSD 格式图像转码和 sRGB 色彩空间转换。 - **`bubblewrap`**、**`socat`** 和 **`ripgrep`** —— AI Agent 沙箱(`anthropic-experimental/sandbox-runtime`)所需,用于进程隔离、网络通信和工作区搜索。 可以使用以下命令一次性安装所有依赖: > Ubuntu/Debian ```bash -sudo apt install -y ffmpeg poppler-utils imagemagick-7.q16 bubblewrap socat ripgrep +sudo apt install -y ffmpeg poppler-utils imagemagick bubblewrap socat ripgrep ``` > Fedora