@xcanwin/manyoyo 5.2.23 → 5.3.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/docker/manyoyo.Dockerfile +13 -70
- package/package.json +2 -2
|
@@ -131,6 +131,7 @@ EOX
|
|
|
131
131
|
|
|
132
132
|
# 从 cache-stage 复制 Node.js(缓存或下载)
|
|
133
133
|
COPY --from=cache-stage /opt/node /usr/local
|
|
134
|
+
COPY ./docker/res/ /tmp/docker-res/
|
|
134
135
|
ARG GIT_SSL_NO_VERIFY=false
|
|
135
136
|
|
|
136
137
|
RUN <<EOX
|
|
@@ -145,17 +146,10 @@ RUN <<EOX
|
|
|
145
146
|
# 安装 Claude CLI
|
|
146
147
|
npm install -g @anthropic-ai/claude-code
|
|
147
148
|
mkdir -p ~/.claude/plugins/marketplaces/
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"env": {
|
|
153
|
-
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
|
|
154
|
-
"CLAUDE_CODE_HIDE_ACCOUNT_INFO": "1",
|
|
155
|
-
"DISABLE_AUTOUPDATER": "1"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
EOF
|
|
149
|
+
cp /tmp/docker-res/claude/claude.json ~/.claude.json
|
|
150
|
+
cp /tmp/docker-res/claude/settings.json ~/.claude/settings.json
|
|
151
|
+
cp /tmp/docker-res/claude/statusline.sh ~/.claude/statusline.sh
|
|
152
|
+
chmod +x ~/.claude/statusline.sh
|
|
159
153
|
claude plugin marketplace add https://github.com/anthropics/claude-plugins-official
|
|
160
154
|
claude plugin install ralph-loop@claude-plugins-official
|
|
161
155
|
claude plugin install typescript-lsp@claude-plugins-official
|
|
@@ -172,12 +166,7 @@ EOF
|
|
|
172
166
|
# 安装 Codex CLI
|
|
173
167
|
npm install -g @openai/codex
|
|
174
168
|
mkdir -p ~/.codex
|
|
175
|
-
|
|
176
|
-
check_for_update_on_startup = false
|
|
177
|
-
|
|
178
|
-
[analytics]
|
|
179
|
-
enabled = false
|
|
180
|
-
EOF
|
|
169
|
+
cp /tmp/docker-res/codex/config.toml ~/.codex/config.toml
|
|
181
170
|
mkdir -p "$HOME/.codex/skills"
|
|
182
171
|
git clone --depth 1 https://github.com/openai/skills.git /tmp/openai-skills
|
|
183
172
|
cp -a /tmp/openai-skills/skills/.system "$HOME/.codex/skills/.system"
|
|
@@ -204,59 +193,14 @@ EOF
|
|
|
204
193
|
npm install -g @google/gemini-cli
|
|
205
194
|
mkdir -p ~/.gemini/ ~/.gemini/tmp/bin
|
|
206
195
|
ln -s $(which rg) ~/.gemini/tmp/bin/rg
|
|
207
|
-
|
|
208
|
-
{
|
|
209
|
-
"privacy": {
|
|
210
|
-
"usageStatisticsEnabled": false
|
|
211
|
-
},
|
|
212
|
-
"general": {
|
|
213
|
-
"previewFeatures": true,
|
|
214
|
-
"enableAutoUpdate": false,
|
|
215
|
-
"enableAutoUpdateNotification": false
|
|
216
|
-
},
|
|
217
|
-
"ui": {
|
|
218
|
-
"showLineNumbers": false
|
|
219
|
-
},
|
|
220
|
-
"security": {
|
|
221
|
-
"auth": {
|
|
222
|
-
"selectedType": "oauth-personal"
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"model": {
|
|
226
|
-
"name": "gemini-3-pro-preview"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
EOF
|
|
196
|
+
cp /tmp/docker-res/gemini/settings.json ~/.gemini/settings.json
|
|
230
197
|
;; esac
|
|
231
198
|
|
|
232
199
|
# 安装 OpenCode CLI
|
|
233
200
|
case ",$TOOL," in *,full,*|*,opencode,*)
|
|
234
201
|
npm install -g opencode-ai
|
|
235
202
|
mkdir -p ~/.config/opencode/
|
|
236
|
-
|
|
237
|
-
{
|
|
238
|
-
"\$schema": "https://opencode.ai/config.json",
|
|
239
|
-
"autoupdate": false,
|
|
240
|
-
"model": "Custom_Provider/{env:OPENAI_MODEL}",
|
|
241
|
-
"provider": {
|
|
242
|
-
"Custom_Provider": {
|
|
243
|
-
"npm": "@ai-sdk/openai-compatible",
|
|
244
|
-
"options": {
|
|
245
|
-
"baseURL": "{env:OPENAI_BASE_URL}",
|
|
246
|
-
"apiKey": "{env:OPENAI_API_KEY}",
|
|
247
|
-
"headers": {
|
|
248
|
-
"User-Agent": "opencode"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"models": {
|
|
252
|
-
"{env:OPENAI_MODEL}": {},
|
|
253
|
-
"claude-sonnet-4-5-20250929": {},
|
|
254
|
-
"gpt-5.2": {}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
EOF
|
|
203
|
+
cp /tmp/docker-res/opencode/opencode.json ~/.config/opencode/opencode.json
|
|
260
204
|
;; esac
|
|
261
205
|
|
|
262
206
|
# 清理
|
|
@@ -313,13 +257,12 @@ RUN <<EOX
|
|
|
313
257
|
rm -rf /tmp/gopls-cache
|
|
314
258
|
EOX
|
|
315
259
|
|
|
260
|
+
# 配置 supervisor
|
|
261
|
+
COPY ./docker/res/supervisor/s.conf /etc/supervisor/conf.d/s.conf
|
|
262
|
+
|
|
316
263
|
RUN <<EOX
|
|
317
|
-
#
|
|
318
|
-
|
|
319
|
-
[supervisord]
|
|
320
|
-
user=root
|
|
321
|
-
nodaemon=true
|
|
322
|
-
EOF
|
|
264
|
+
# 清理
|
|
265
|
+
rm -rf /tmp/* /var/tmp/* /var/log/apt /var/log/*.log /var/lib/apt/lists/* ~/.cache ~/.npm ~/go/pkg/mod/cache
|
|
323
266
|
EOX
|
|
324
267
|
|
|
325
268
|
WORKDIR /tmp
|
package/package.json
CHANGED