claude-yolo-extended 1.9.2 → 1.9.4

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/package.json CHANGED
@@ -1,41 +1,41 @@
1
- {
2
- "name": "claude-yolo-extended",
3
- "version": "1.9.2",
4
- "description": "Claude CLI wrapper with YOLO mode (bypass safety) and SAFE mode support, auto-updates, and colorful loading messages",
5
- "bin": {
6
- "claude-yolo-extended": "bin/claude-yolo.js",
7
- "cl": "bin/cl.js"
8
- },
9
- "dependencies": {
10
- "punycode": "latest",
11
- "@anthropic-ai/claude-code": "2.0.76"
12
- },
13
- "type": "module",
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/jslitzkerttcu/claude-yolo.git"
17
- },
18
- "keywords": [
19
- "claude",
20
- "cli",
21
- "anthropic",
22
- "wrapper",
23
- "yolo",
24
- "safe-mode",
25
- "permissions"
26
- ],
27
- "author": "jslitzkerttcu",
28
- "license": "MIT",
29
- "bugs": {
30
- "url": "https://github.com/jslitzkerttcu/claude-yolo/issues"
31
- },
32
- "homepage": "https://github.com/jslitzkerttcu/claude-yolo#readme",
33
- "engines": {
34
- "node": ">=14.16"
35
- },
36
- "os": [
37
- "win32",
38
- "darwin",
39
- "linux"
40
- ]
41
- }
1
+ {
2
+ "name": "claude-yolo-extended",
3
+ "version": "1.9.4",
4
+ "description": "Claude CLI wrapper with YOLO mode (bypass safety) and SAFE mode support, auto-updates, and colorful loading messages",
5
+ "bin": {
6
+ "claude-yolo-extended": "bin/claude-yolo.js",
7
+ "cl": "bin/cl.js"
8
+ },
9
+ "dependencies": {
10
+ "punycode": "latest",
11
+ "@anthropic-ai/claude-code": "2.0.76"
12
+ },
13
+ "type": "module",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/jslitzkerttcu/claude-yolo.git"
17
+ },
18
+ "keywords": [
19
+ "claude",
20
+ "cli",
21
+ "anthropic",
22
+ "wrapper",
23
+ "yolo",
24
+ "safe-mode",
25
+ "permissions"
26
+ ],
27
+ "author": "jslitzkerttcu",
28
+ "license": "MIT",
29
+ "bugs": {
30
+ "url": "https://github.com/jslitzkerttcu/claude-yolo/issues"
31
+ },
32
+ "homepage": "https://github.com/jslitzkerttcu/claude-yolo#readme",
33
+ "engines": {
34
+ "node": ">=14.16"
35
+ },
36
+ "os": [
37
+ "win32",
38
+ "darwin",
39
+ "linux"
40
+ ]
41
+ }
package/postinstall.js CHANGED
@@ -1,52 +1,52 @@
1
- #!/usr/bin/env node
2
-
3
- import readline from 'readline';
4
-
5
- // ANSI color codes
6
- const RED = '\x1b[31m';
7
- const YELLOW = '\x1b[33m';
8
- const CYAN = '\x1b[36m';
9
- const RESET = '\x1b[0m';
10
- const BOLD = '\x1b[1m';
11
-
12
- // Create readline interface for user input
13
- const rl = readline.createInterface({
14
- input: process.stdin,
15
- output: process.stdout
16
- });
17
-
18
- console.log(`\n${BOLD}${YELLOW}🔥 CLAUDE-YOLO INSTALLATION CONSENT REQUIRED 🔥${RESET}\n`);
19
- console.log(`${CYAN}----------------------------------------${RESET}`);
20
- console.log(`${BOLD}What is claude-yolo?${RESET}`);
21
- console.log(`This package creates a wrapper around the official Claude CLI tool that:`);
22
- console.log(` 1. ${RED}BYPASSES safety checks${RESET} by automatically adding the --dangerously-skip-permissions flag`);
23
- console.log(` 2. Automatically updates to the latest Claude CLI version`);
24
- console.log(` 3. Adds colorful YOLO-themed loading messages\n`);
25
-
26
- console.log(`${BOLD}${RED}⚠️ IMPORTANT SECURITY WARNING ⚠️${RESET}`);
27
- console.log(`The ${BOLD}--dangerously-skip-permissions${RESET} flag was designed for use in containers`);
28
- console.log(`and bypasses important safety checks. This includes ignoring file access`);
29
- console.log(`permissions that protect your system and privacy.\n`);
30
-
31
- console.log(`${BOLD}By using claude-yolo:${RESET}`);
32
- console.log(` • You acknowledge these safety checks are being bypassed`);
33
- console.log(` • You understand this may allow Claude CLI to access sensitive files`);
34
- console.log(` • You accept full responsibility for any security implications\n`);
35
-
36
- console.log(`${CYAN}----------------------------------------${RESET}\n`);
37
-
38
- // Ask for explicit consent
39
- rl.question(`${YELLOW}Do you consent to installing claude-yolo with these modifications? (yes/no): ${RESET}`, (answer) => {
40
- const lowerAnswer = answer.toLowerCase().trim();
41
-
42
- if (lowerAnswer === 'yes' || lowerAnswer === 'y') {
43
- console.log(`\n${YELLOW}🔥 YOLO MODE INSTALLATION APPROVED 🔥${RESET}`);
44
- console.log(`Installation will continue. Use 'claude-yolo' instead of 'claude' to run in YOLO mode.`);
45
- process.exit(0); // Success exit code
46
- } else {
47
- console.log(`\n${CYAN}Installation cancelled by user.${RESET}`);
48
- console.log(`If you want the official Claude CLI with normal safety features, run:`);
49
- console.log(`npm install -g @anthropic-ai/claude-code`);
50
- process.exit(1); // Error exit code to abort installation
51
- }
1
+ #!/usr/bin/env node
2
+
3
+ import readline from 'readline';
4
+
5
+ // ANSI color codes
6
+ const RED = '\x1b[31m';
7
+ const YELLOW = '\x1b[33m';
8
+ const CYAN = '\x1b[36m';
9
+ const RESET = '\x1b[0m';
10
+ const BOLD = '\x1b[1m';
11
+
12
+ // Create readline interface for user input
13
+ const rl = readline.createInterface({
14
+ input: process.stdin,
15
+ output: process.stdout
16
+ });
17
+
18
+ console.log(`\n${BOLD}${YELLOW}🔥 CLAUDE-YOLO INSTALLATION CONSENT REQUIRED 🔥${RESET}\n`);
19
+ console.log(`${CYAN}----------------------------------------${RESET}`);
20
+ console.log(`${BOLD}What is claude-yolo?${RESET}`);
21
+ console.log(`This package creates a wrapper around the official Claude CLI tool that:`);
22
+ console.log(` 1. ${RED}BYPASSES safety checks${RESET} by automatically adding the --dangerously-skip-permissions flag`);
23
+ console.log(` 2. Automatically updates to the latest Claude CLI version`);
24
+ console.log(` 3. Adds colorful YOLO-themed loading messages\n`);
25
+
26
+ console.log(`${BOLD}${RED}⚠️ IMPORTANT SECURITY WARNING ⚠️${RESET}`);
27
+ console.log(`The ${BOLD}--dangerously-skip-permissions${RESET} flag was designed for use in containers`);
28
+ console.log(`and bypasses important safety checks. This includes ignoring file access`);
29
+ console.log(`permissions that protect your system and privacy.\n`);
30
+
31
+ console.log(`${BOLD}By using claude-yolo:${RESET}`);
32
+ console.log(` • You acknowledge these safety checks are being bypassed`);
33
+ console.log(` • You understand this may allow Claude CLI to access sensitive files`);
34
+ console.log(` • You accept full responsibility for any security implications\n`);
35
+
36
+ console.log(`${CYAN}----------------------------------------${RESET}\n`);
37
+
38
+ // Ask for explicit consent
39
+ rl.question(`${YELLOW}Do you consent to installing claude-yolo with these modifications? (yes/no): ${RESET}`, (answer) => {
40
+ const lowerAnswer = answer.toLowerCase().trim();
41
+
42
+ if (lowerAnswer === 'yes' || lowerAnswer === 'y') {
43
+ console.log(`\n${YELLOW}🔥 YOLO MODE INSTALLATION APPROVED 🔥${RESET}`);
44
+ console.log(`Installation will continue. Use 'claude-yolo' instead of 'claude' to run in YOLO mode.`);
45
+ process.exit(0); // Success exit code
46
+ } else {
47
+ console.log(`\n${CYAN}Installation cancelled by user.${RESET}`);
48
+ console.log(`If you want the official Claude CLI with normal safety features, run:`);
49
+ console.log(`npm install -g @anthropic-ai/claude-code`);
50
+ process.exit(1); // Error exit code to abort installation
51
+ }
52
52
  });