@xcanwin/manyoyo 7.1.5 → 8.0.1
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 +24 -14
- package/bin/manyoyo.js +490 -83
- package/docker/manyoyo.Dockerfile +10 -4
- package/lib/app-launcher.js +220 -0
- package/lib/app-update.js +325 -0
- package/lib/container-run.js +3 -0
- package/lib/container-runtime.js +121 -0
- package/lib/doctor.js +77 -14
- package/lib/download-verified.js +48 -0
- package/lib/error-hints.js +96 -0
- package/lib/global-config.js +4 -4
- package/lib/headless.js +53 -0
- package/lib/image-build.js +11 -9
- package/lib/image-prune.js +44 -0
- package/lib/image-pull.js +76 -0
- package/lib/image-version-policy.js +26 -0
- package/lib/init-config.js +79 -19
- package/lib/login-token.js +92 -0
- package/lib/mirrors.js +71 -0
- package/lib/offline-import.js +60 -0
- package/lib/plugin/playwright.js +15 -3
- package/lib/podman-passthrough.js +80 -0
- package/lib/proxy-config.js +138 -0
- package/lib/runtime-heal.js +175 -0
- package/lib/runtime-normalizers.js +50 -0
- package/lib/secure-file.js +38 -0
- package/lib/setup-cli.js +215 -0
- package/lib/setup-config.js +32 -0
- package/lib/setup.js +188 -0
- package/lib/uninstall.js +296 -0
- package/lib/update-check.js +91 -0
- package/lib/web/frontend/shadcn.html +86 -86
- package/lib/web/server.js +641 -14
- package/lib/worktrees.js +15 -0
- package/manyoyo.example.json +13 -2
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -58,15 +58,29 @@ AI Agent CLI 往往需要:
|
|
|
58
58
|
|
|
59
59
|
## 快速开始
|
|
60
60
|
|
|
61
|
+
macOS 用户(推荐):从 [Releases](https://github.com/xcanwin/manyoyo/releases/latest) 下载对应架构的离线包,一条命令装好,浏览器里完成向导,不需要先装 Node.js、Docker 或 Podman:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
uname -m # arm64 选 macos-arm64,x86_64 选 macos-x64
|
|
65
|
+
shasum -a 256 -c SHA256SUMS-macos-arm64 # 校验(可选,Intel 用 SHA256SUMS-macos-x64)
|
|
66
|
+
sh manyoyo-*-macos-arm64.run # 安装并自动打开浏览器
|
|
67
|
+
manyoyo # 之后:启动本机服务并打开浏览器
|
|
68
|
+
manyoyo update # 升级;manyoyo uninstall 卸载
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Linux(Debian / Ubuntu)下载 `linux-x64` / `linux-arm64` 的 `.run` 同样一条命令安装(用系统里的 Podman / Docker,不执行 sudo),SSH 等无头环境用 `manyoyo setup` 命令行配置。详见[快速开始](https://xcanwin.github.io/manyoyo/zh/guide/quick-start)。
|
|
72
|
+
|
|
73
|
+
已装好 npm 与 Podman / Docker(Linux、Windows 或其他安装方式):
|
|
74
|
+
|
|
61
75
|
```bash
|
|
62
76
|
npm install -g @xcanwin/manyoyo
|
|
63
|
-
podman pull ubuntu:24.04 # 仅 Podman 需要
|
|
64
|
-
manyoyo build --iv 1.9.2-common
|
|
65
77
|
manyoyo init all
|
|
66
78
|
manyoyo run -r claude
|
|
67
79
|
manyoyo serve 127.0.0.1:3000 -U admin -P 123456 # Web UI 模式
|
|
68
80
|
```
|
|
69
81
|
|
|
82
|
+
默认镜像 `ghcr.io/xcanwin/manyoyo` 首次使用时自动拉取;需要自定义镜像时再执行 `manyoyo build --iv 2.0.0-common`。
|
|
83
|
+
|
|
70
84
|
系统要求:
|
|
71
85
|
|
|
72
86
|
- Node.js >= 22
|
|
@@ -148,13 +162,13 @@ manyoyo config command
|
|
|
148
162
|
|
|
149
163
|
```bash
|
|
150
164
|
# common 版本
|
|
151
|
-
manyoyo build --iv
|
|
165
|
+
manyoyo build --iv 2.0.0-common
|
|
152
166
|
|
|
153
167
|
# full 版本
|
|
154
|
-
manyoyo build --iv
|
|
168
|
+
manyoyo build --iv 2.0.0-full
|
|
155
169
|
|
|
156
170
|
# 仅更新已有镜像内 Agent CLI 到 latest,不重建 Dockerfile
|
|
157
|
-
manyoyo build --iv
|
|
171
|
+
manyoyo build --iv 2.0.0-full --update-agents --yes
|
|
158
172
|
|
|
159
173
|
# 自定义工具集
|
|
160
174
|
manyoyo build --iba TOOL=go,codex,java,gemini
|
|
@@ -198,17 +212,13 @@ English Documentation:
|
|
|
198
212
|
|
|
199
213
|
## 安装与卸载
|
|
200
214
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
```bash
|
|
204
|
-
npm install -g @xcanwin/manyoyo
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
卸载:
|
|
215
|
+
- macOS / Linux 离线包(推荐):见上方「快速开始」,卸载用 `manyoyo uninstall`(只移除程序,配置、历史、工作目录逐项询问)。
|
|
216
|
+
- npm:
|
|
208
217
|
|
|
209
218
|
```bash
|
|
210
|
-
npm
|
|
211
|
-
|
|
219
|
+
npm install -g @xcanwin/manyoyo # 安装
|
|
220
|
+
npm uninstall -g @xcanwin/manyoyo # 卸载
|
|
221
|
+
rm -rf ~/.manyoyo/ # 可选:删除配置与数据
|
|
212
222
|
```
|
|
213
223
|
|
|
214
224
|
## 许可证
|