@ccdevkit/ccyolo 0.23.0 → 0.25.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 (2) hide show
  1. package/README.md +16 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -43,28 +43,35 @@ All `claude` flags work as expected.
43
43
  ccyolo flags go before `--`, claude flags go after:
44
44
 
45
45
  ```bash
46
+ ccyolo [ccyolo-flags] -- [claude-args]
47
+ ccyolo [claude-args]
48
+
46
49
  ccyolo -v -- -p "hello" # Verbose mode
47
50
  ccyolo --log /tmp/debug.log -- -c # Log to file
48
- ccyolo --pt git -- -p "git status" # Run git on host instead of container
51
+ ccyolo -pt:git -- -p "git status" # Run git on host instead of container
52
+ ccyolo --use 2.1.16 -- # Use specific Claude Code version
49
53
  ```
50
54
 
51
- | Flag | Description |
52
- | ----------------------------------- | ------------------------------------------------- |
53
- | `-v`, `--verbose` | Enable debug logging to stderr |
54
- | `--log <path>` | Write debug logs to file |
55
- | `--pt <cmd>`, `--passthrough <cmd>` | Run commands matching prefix on host (repeatable) |
55
+ | Flag | Description |
56
+ | ------------------------------------- | ------------------------------------------------- |
57
+ | `-v`, `--verbose` | Enable debug logging to stderr |
58
+ | `--log <path>` | Write debug logs to file (implies -v) |
59
+ | `-c`, `--claudePath <path>` | Path to claude CLI (default: claude in PATH) |
60
+ | `--use <version>` | Use specific Claude Code version (e.g., 2.1.16) |
61
+ | `-pt:<cmd>`, `--passthrough:<cmd>` | Run commands matching prefix on host (repeatable) |
62
+ | `--version` | Print ccyolo version |
56
63
 
57
64
  ### Passthrough
58
65
 
59
66
  By default, all commands run inside the container. This is usually fine, but some commands need to run on your host machine - things like `docker`, `gh`, or commands that need access to host resources.
60
67
 
61
- Use `--pt` to specify command prefixes that should run on the host:
68
+ Use `-pt:` to specify command prefixes that should run on the host:
62
69
 
63
70
  ```bash
64
- ccyolo --pt git --pt docker -- -p "build and push the image"
71
+ ccyolo -pt:git -pt:docker -- -p "build and push the image"
65
72
  ```
66
73
 
67
- This runs `git` and `docker` commands on your host, while everything else runs in the container. You can specify `--pt` multiple times.
74
+ This runs `git` and `docker` commands on your host, while everything else runs in the container. You can specify `-pt:` multiple times.
68
75
 
69
76
  ## Clipboard & Drag-Drop
70
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccdevkit/ccyolo",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "Run Claude Code in a Docker container with YOLO mode enabled",
5
5
  "bin": {
6
6
  "ccyolo": "bin/ccyolo"