claude-yes 1.16.0 → 1.16.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 CHANGED
@@ -10,7 +10,7 @@ A wrapper tool that automates interactions with the Claude CLI by automatically
10
10
  - Automatically responds to common prompts like "Yes, proceed" and "Yes"
11
11
  - So, this will Let claude run until your task done, and wait for your next prompt.
12
12
 
13
- ## Installation
13
+ ## Prerequirements
14
14
 
15
15
  First, install Claude Code globally:
16
16
 
@@ -28,17 +28,18 @@ npm install claude-yes -g
28
28
 
29
29
  ## Usage
30
30
 
31
+ ### claude-yes cli
32
+
31
33
  ```bash
32
- claude-yes [command] [prompts] [--exit-on-idle]
34
+ claude-yes [--exit-on-idle=60s] [claude-command] [claude-prompts]
33
35
  # works exactly same as `claude` command, and automatically says "Yes" to all yes/no prompts
34
36
 
35
37
  # e.g.
36
38
  claude-yes "run all tests and commit current changes"
37
39
  bunx claude-yes "Solve TODO.md"
38
40
 
39
- # Auto-exit when Claude becomes idle (useful for automation)
40
- claude-yes "run all tests and commit current changes" --exit-on-idle
41
-
41
+ # Auto-exit when Claude becomes idle (useful for automation scripts)
42
+ claude-yes --exit-on-idle=60s "run all tests and commit current changes"
42
43
  ```
43
44
 
44
45
  The tool will:
@@ -47,6 +48,8 @@ The tool will:
47
48
  2. Whenever claude stucked on yes/no prompts, Automatically say YES, YES, YES, YES, YES to claude
48
49
  3. When using `--exit-on-idle` flag, automatically exit when Claude becomes idle for 3 seconds (useful for automation scripts)
49
50
 
51
+ <!-- TODO: add usage As lib: call await claudeYes() and it returns render result -->
52
+
50
53
  ## Options
51
54
 
52
55
  - `--exit-on-idle`: Automatically exit when Claude becomes idle for 3 seconds. Useful for automation scripts where you want the process to terminate when Claude finishes its work.
@@ -65,8 +68,6 @@ The tool will automatically send "\r" when it detects this pattern.
65
68
  ## Dependencies
66
69
 
67
70
  - `node-pty` - For spawning and managing the Claude CLI process
68
- - `sflow` - For stream processing and data flow management
69
- - `from-node-stream` - For converting Node.js streams to web streams
70
71
 
71
72
  ## Inspiration
72
73