@xcanwin/manyoyo 5.4.14 → 5.5.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.
package/README.md CHANGED
@@ -53,7 +53,7 @@ AI Agent CLI 往往需要:
53
53
  ```bash
54
54
  npm install -g @xcanwin/manyoyo
55
55
  podman pull ubuntu:24.04 # 仅 Podman 需要
56
- manyoyo build --iv 1.8.12-common
56
+ manyoyo build --iv 1.9.0-common
57
57
  manyoyo init all
58
58
  manyoyo run -r claude
59
59
  ```
@@ -137,10 +137,10 @@ manyoyo config command
137
137
 
138
138
  ```bash
139
139
  # common 版本
140
- manyoyo build --iv 1.8.12-common
140
+ manyoyo build --iv 1.9.0-common
141
141
 
142
142
  # full 版本
143
- manyoyo build --iv 1.8.12-full
143
+ manyoyo build --iv 1.9.0-full
144
144
 
145
145
  # 自定义工具集
146
146
  manyoyo build --iba TOOL=go,codex,java,gemini
@@ -221,14 +221,15 @@ RUN <<EOX
221
221
  # 清理
222
222
  npm cache clean --force
223
223
  rm -f /tmp/manyoyo-package.json
224
- rm -rf /tmp/* /var/tmp/* /var/log/apt /var/log/*.log /var/lib/apt/lists/* ~/.npm ~/go/pkg/mod/cache
224
+ rm -rf /tmp/* /var/tmp/* /var/log/apt /var/log/*.log /var/lib/apt/lists/* ~/.npm ~/.cache/node-gyp ~/.claude/plugins/cache ~/go/pkg/mod/cache
225
+ rm -f /var/log/dpkg.log /var/log/bootstrap.log /var/lib/dpkg/status-old /var/cache/debconf/templates.dat-old
225
226
  EOX
226
227
 
227
228
  COPY ./docker/res/playwright/playwright-cli-wrapper.sh /usr/local/bin/playwright-cli
228
229
  RUN chmod +x /usr/local/bin/playwright-cli
229
230
 
230
- # 从 cache-stage 复制 JDT LSP(缓存或下载)
231
- COPY --from=cache-stage /opt/jdtls /tmp/jdtls-cache
231
+ # 从 cache-stage 复制 JDT LSP 到最终位置,避免中转层残留
232
+ COPY --from=cache-stage /opt/jdtls /root/.local/share/jdtls
232
233
 
233
234
  RUN <<EOX
234
235
  # 安装 java
@@ -237,19 +238,16 @@ RUN <<EOX
237
238
  apt-get install -y --no-install-recommends openjdk-21-jdk maven
238
239
 
239
240
  # 配置 LSP服务(java)
240
- mkdir -p ~/.local/share/
241
- cp -a /tmp/jdtls-cache ~/.local/share/jdtls
242
241
  ln -sf ~/.local/share/jdtls/bin/jdtls /usr/local/bin/jdtls
243
242
 
244
243
  # 清理
245
244
  apt-get clean
246
245
  rm -rf /tmp/* /var/tmp/* /var/log/apt /var/log/*.log /var/lib/apt/lists/* ~/.npm ~/go/pkg/mod/cache
247
246
  ;; esac
248
- rm -rf /tmp/jdtls-cache
249
247
  EOX
250
248
 
251
- # 从 cache-stage 复制 gopls(缓存或下载)
252
- COPY --from=cache-stage /opt/gopls /tmp/gopls-cache
249
+ # 从 cache-stage 复制 gopls 到最终位置,避免中转层残留
250
+ COPY --from=cache-stage /opt/gopls /usr/local/share/manyoyo-gopls
253
251
 
254
252
  RUN <<EOX
255
253
  # 安装 go
@@ -259,21 +257,21 @@ RUN <<EOX
259
257
  go env -w GOPROXY=https://mirrors.tencent.com/go
260
258
 
261
259
  # 安装 LSP服务(go)
262
- if [ -f /tmp/gopls-cache/gopls ] && [ ! -f /tmp/gopls-cache/.no-cache ]; then
260
+ if [ -f /usr/local/share/manyoyo-gopls/gopls ] && [ ! -f /usr/local/share/manyoyo-gopls/.no-cache ]; then
263
261
  # 使用缓存
264
- cp /tmp/gopls-cache/gopls /usr/local/bin/gopls
265
- chmod +x /usr/local/bin/gopls
262
+ chmod +x /usr/local/share/manyoyo-gopls/gopls
263
+ ln -sf /usr/local/share/manyoyo-gopls/gopls /usr/local/bin/gopls
266
264
  else
267
265
  # 下载编译
268
266
  go install golang.org/x/tools/gopls@latest
269
267
  ln -sf ~/go/bin/gopls /usr/local/bin/gopls
268
+ rm -rf /usr/local/share/manyoyo-gopls
270
269
  fi
271
270
  # 清理
272
271
  apt-get clean
273
272
  go clean -modcache -cache
274
273
  rm -rf /tmp/* /var/tmp/* /var/log/apt /var/log/*.log /var/lib/apt/lists/* ~/.npm ~/go/pkg/mod/cache
275
274
  ;; esac
276
- rm -rf /tmp/gopls-cache
277
275
  EOX
278
276
 
279
277
  # 配置 supervisor
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xcanwin/manyoyo",
3
- "version": "5.4.14",
4
- "imageVersion": "1.8.12-common",
3
+ "version": "5.5.2",
4
+ "imageVersion": "1.9.0-common",
5
5
  "playwrightCliVersion": "0.1.1",
6
6
  "description": "AI Agent CLI Security Sandbox for Docker and Podman",
7
7
  "keywords": [