@ccdevkit/ccyolo 0.7.0 → 0.9.0

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.
Files changed (3) hide show
  1. package/README.md +15 -6
  2. package/install.js +4 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,15 @@
1
- # ccyolo
1
+ <h1 align="center">ccyolo</h1>
2
2
 
3
- Drop-in replacement for `claude` that runs in a Docker container. Same CLI, no setup.
3
+ <p align="center">
4
+ Run Claude Code in Docker with auto-accept enabled. No setup, full parity with `claude` CLI.
5
+ </p>
6
+
7
+ <p align="center">
8
+ <img src="screenshots/demo.gif" alt="Demo" />
9
+ </p>
10
+
11
+ > [!CAUTION]
12
+ > ccyolo is a safety net, not a sandbox. It protects against overzealous agents doing stupid things, but it won't contain a fully compromised, malicious agent. Only use with repositories you trust.
4
13
 
5
14
  ## Install
6
15
 
@@ -39,10 +48,10 @@ ccyolo --log /tmp/debug.log -- -c # Log to file
39
48
  ccyolo --pt git -- -p "git status" # Run git on host instead of container
40
49
  ```
41
50
 
42
- | Flag | Description |
43
- |------|-------------|
44
- | `-v`, `--verbose` | Enable debug logging to stderr |
45
- | `--log <path>` | Write debug logs to file |
51
+ | Flag | Description |
52
+ | ----------------------------------- | ------------------------------------------------- |
53
+ | `-v`, `--verbose` | Enable debug logging to stderr |
54
+ | `--log <path>` | Write debug logs to file |
46
55
  | `--pt <cmd>`, `--passthrough <cmd>` | Run commands matching prefix on host (repeatable) |
47
56
 
48
57
  ### Passthrough
package/install.js CHANGED
@@ -73,8 +73,8 @@ function extractTarGz(buffer, destDir) {
73
73
  }
74
74
 
75
75
  async function install() {
76
- console.log(`Downloading ccyolo for ${goos}/${goarch}...`);
77
- console.log(`URL: ${downloadUrl}`);
76
+ console.warn(`Downloading ccyolo for ${goos}/${goarch}...`);
77
+ console.warn(`URL: ${downloadUrl}`);
78
78
 
79
79
  try {
80
80
  // Ensure bin directory exists
@@ -83,7 +83,7 @@ async function install() {
83
83
  }
84
84
 
85
85
  const buffer = await makeRequest(downloadUrl);
86
- console.log(`Downloaded ${buffer.length} bytes`);
86
+ console.warn(`Downloaded ${buffer.length} bytes`);
87
87
 
88
88
  extractTarGz(buffer, binDir);
89
89
 
@@ -92,7 +92,7 @@ async function install() {
92
92
  fs.chmodSync(binaryPath, 0o755);
93
93
  }
94
94
 
95
- console.log(`Installed ccyolo to ${binaryPath}`);
95
+ console.warn(`Installed ccyolo to ${binaryPath}`);
96
96
  } catch (error) {
97
97
  console.error(`Failed to install ccyolo: ${error.message}`);
98
98
  console.error('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccdevkit/ccyolo",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Run Claude Code in a Docker container with YOLO mode enabled",
5
5
  "bin": {
6
6
  "ccyolo": "bin/ccyolo"