claude-code-runner 0.2.5 → 0.2.6
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 +18 -8
- package/README.zh-Hans.md +18 -8
- package/dist/package.json +1 -1
- package/dist/src/config.js +1 -1
- package/dist/src/config.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ npm install -g claude-code-runner
|
|
|
50
50
|
|
|
51
51
|
### Quick Start
|
|
52
52
|
|
|
53
|
-
> **Tip**: For the fastest setup with pre-built image, use the official image by setting `buildImage: false`
|
|
53
|
+
> **Tip**: For the fastest setup with pre-built image, use the official image by setting `buildImage: false` in your config. The default image (`ghcr.io/yanranxiaoxi/claude-code-runner:latest`) will be used automatically.
|
|
54
54
|
|
|
55
55
|
Simply run in any git repository:
|
|
56
56
|
|
|
@@ -251,7 +251,7 @@ The easiest way is to use the official maintained image. Just set `buildImage: f
|
|
|
251
251
|
}
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
The official image `
|
|
254
|
+
The official image `ghcr.io/yanranxiaoxi/claude-code-runner:latest` will be used automatically.
|
|
255
255
|
|
|
256
256
|
Then run:
|
|
257
257
|
|
|
@@ -261,22 +261,32 @@ claude-run
|
|
|
261
261
|
|
|
262
262
|
**Available Official Images:**
|
|
263
263
|
|
|
264
|
-
- **
|
|
265
|
-
- **
|
|
264
|
+
- **GitHub Container Registry** (Default): `ghcr.io/yanranxiaoxi/claude-code-runner:latest`
|
|
265
|
+
- **Docker Hub**: `docker.io/yanranxiaoxi/claude-code-runner:latest`
|
|
266
|
+
- **GitLab Registry**: `registry.gitlab.soraharu.com/xiaoxi/claude-code-runner:latest`
|
|
266
267
|
|
|
267
|
-
|
|
268
|
+
All images are:
|
|
268
269
|
- ✅ Regularly maintained and updated
|
|
269
270
|
- ✅ Pre-configured and tested
|
|
270
271
|
- ✅ Ready to use out of the box
|
|
271
272
|
- ✅ Faster startup time
|
|
272
|
-
- ✅ No need to specify the full image URL when using
|
|
273
|
+
- ✅ No need to specify the full image URL when using the default (GitHub Container Registry)
|
|
273
274
|
|
|
274
|
-
To use
|
|
275
|
+
To use Docker Hub:
|
|
275
276
|
|
|
276
277
|
```json
|
|
277
278
|
{
|
|
278
279
|
"buildImage": false,
|
|
279
|
-
"dockerImage": "
|
|
280
|
+
"dockerImage": "docker.io/yanranxiaoxi/claude-code-runner:latest"
|
|
281
|
+
}
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
To use GitLab Registry instead:
|
|
285
|
+
|
|
286
|
+
```json
|
|
287
|
+
{
|
|
288
|
+
"buildImage": false,
|
|
289
|
+
"dockerImage": "registry.gitlab.soraharu.com/xiaoxi/claude-code-runner:latest"
|
|
280
290
|
}
|
|
281
291
|
```
|
|
282
292
|
|
package/README.zh-Hans.md
CHANGED
|
@@ -50,7 +50,7 @@ npm install -g claude-code-runner
|
|
|
50
50
|
|
|
51
51
|
### 快速开始
|
|
52
52
|
|
|
53
|
-
> **提示**:为了最快的启动速度,使用预构建的官方镜像:在配置中设置 `buildImage: false
|
|
53
|
+
> **提示**:为了最快的启动速度,使用预构建的官方镜像:在配置中设置 `buildImage: false`。默认镜像(`ghcr.io/yanranxiaoxi/claude-code-runner:latest`)会自动使用。
|
|
54
54
|
|
|
55
55
|
只需在任何 Git 仓库文件夹中运行:
|
|
56
56
|
|
|
@@ -251,7 +251,7 @@ claude-run config
|
|
|
251
251
|
}
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
官方镜像 `
|
|
254
|
+
官方镜像 `ghcr.io/yanranxiaoxi/claude-code-runner:latest` 会自动使用。
|
|
255
255
|
|
|
256
256
|
然后运行:
|
|
257
257
|
|
|
@@ -261,22 +261,32 @@ claude-run
|
|
|
261
261
|
|
|
262
262
|
**可用的官方镜像:**
|
|
263
263
|
|
|
264
|
-
- **
|
|
265
|
-
- **
|
|
264
|
+
- **GitHub 容器镜像仓库**(默认):`ghcr.io/yanranxiaoxi/claude-code-runner:latest`
|
|
265
|
+
- **Docker Hub**:`docker.io/yanranxiaoxi/claude-code-runner:latest`
|
|
266
|
+
- **GitLab 镜像仓库**:`registry.gitlab.soraharu.com/xiaoxi/claude-code-runner:latest`
|
|
266
267
|
|
|
267
|
-
|
|
268
|
+
所有镜像都具有以下优势:
|
|
268
269
|
- ✅ 定期维护和更新
|
|
269
270
|
- ✅ 已预配置并测试
|
|
270
271
|
- ✅ 开箱即用
|
|
271
272
|
- ✅ 启动速度更快
|
|
272
|
-
- ✅
|
|
273
|
+
- ✅ 使用默认镜像(GitHub 容器镜像仓库)时无需指定完整的镜像 URL
|
|
273
274
|
|
|
274
|
-
要使用
|
|
275
|
+
要使用 Docker Hub:
|
|
275
276
|
|
|
276
277
|
```json
|
|
277
278
|
{
|
|
278
279
|
"buildImage": false,
|
|
279
|
-
"dockerImage": "
|
|
280
|
+
"dockerImage": "docker.io/yanranxiaoxi/claude-code-runner:latest"
|
|
281
|
+
}
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
要使用 GitLab 镜像仓库:
|
|
285
|
+
|
|
286
|
+
```json
|
|
287
|
+
{
|
|
288
|
+
"buildImage": false,
|
|
289
|
+
"dockerImage": "registry.gitlab.soraharu.com/xiaoxi/claude-code-runner:latest"
|
|
280
290
|
}
|
|
281
291
|
```
|
|
282
292
|
|
package/dist/package.json
CHANGED
package/dist/src/config.js
CHANGED
|
@@ -34,7 +34,7 @@ async function loadConfig(configPath) {
|
|
|
34
34
|
};
|
|
35
35
|
// If buildImage is false and dockerImage wasn't explicitly set, use official image
|
|
36
36
|
if (finalConfig.buildImage === false && userConfig.dockerImage === undefined) {
|
|
37
|
-
finalConfig.dockerImage = '
|
|
37
|
+
finalConfig.dockerImage = 'ghcr.io/yanranxiaoxi/claude-code-runner:latest';
|
|
38
38
|
}
|
|
39
39
|
return finalConfig;
|
|
40
40
|
}
|
package/dist/src/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":";;;;;AAoBA,gCAuBC;AAED,gCAMC;AAlDD,gEAAkC;AAClC,sDAAyB;AACzB,0DAA6B;AAE7B,MAAM,cAAc,GAAkB;IACrC,WAAW,EAAE,2BAA2B;IACxC,UAAU,EAAE,IAAI,EAAE,+DAA+D;IACjF,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,QAAQ,EAAE,oDAAoD;IAC5E,gBAAgB,EAAE,mBAAI,CAAC,IAAI,CAAC,iBAAE,CAAC,OAAO,EAAE,EAAE,cAAc,CAAC;IACzD,aAAa,EAAE,EAAE,EAAE,8DAA8D;IACjF,YAAY,EAAE,CAAC,GAAG,CAAC,EAAE,+BAA+B;IACpD,gBAAgB,EAAE,KAAK,EAAE,2CAA2C;IACpE,6BAA6B;IAC7B,qCAAqC;CACrC,CAAC;AAEK,KAAK,UAAU,UAAU,CAAC,UAAkB;IAClD,IAAI,CAAC;QACJ,MAAM,QAAQ,GAAG,mBAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAC1C,MAAM,aAAa,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAE7C,sBAAsB;QACtB,MAAM,WAAW,GAAG;YACnB,GAAG,cAAc;YACjB,GAAG,UAAU;SACb,CAAC;QAEF,mFAAmF;QACnF,IAAI,WAAW,CAAC,UAAU,KAAK,KAAK,IAAI,UAAU,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9E,WAAW,CAAC,WAAW,GAAG
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":";;;;;AAoBA,gCAuBC;AAED,gCAMC;AAlDD,gEAAkC;AAClC,sDAAyB;AACzB,0D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