@unitsvc/cc-helper 1.0.7 → 1.0.9

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,38 +1,38 @@
1
- {
2
- "name": "@unitsvc/cc-helper",
3
- "version": "1.0.7",
4
- "description": "Claude Code /loop feature bypass tool",
5
- "main": "index.js",
6
- "bin": {
7
- "cc-helper": "bin/cc-helper.js"
8
- },
9
- "scripts": {
10
- "postinstall": "node install.js",
11
- "preuninstall": "node uninstall.js"
12
- },
13
- "keywords": [
14
- "claude-code",
15
- "claude",
16
- "loop",
17
- "cli"
18
- ],
19
- "author": "next-bin",
20
- "license": "AGPL-3.0",
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/next-bin/cc-helper.git"
24
- },
25
- "bugs": {
26
- "url": "https://github.com/next-bin/cc-helper/issues"
27
- },
28
- "homepage": "https://github.com/next-bin/cc-helper#readme",
29
- "engines": {
30
- "node": ">=14.0.0"
31
- },
32
- "files": [
33
- "bin/",
34
- "install.js",
35
- "uninstall.js",
36
- "index.js"
37
- ]
38
- }
1
+ {
2
+ "name": "@unitsvc/cc-helper",
3
+ "version": "1.0.9",
4
+ "description": "Claude Code /loop feature bypass tool",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "cc-helper": "bin/cc-helper.js"
8
+ },
9
+ "scripts": {
10
+ "postinstall": "node install.js",
11
+ "preuninstall": "node uninstall.js"
12
+ },
13
+ "keywords": [
14
+ "claude-code",
15
+ "claude",
16
+ "loop",
17
+ "cli"
18
+ ],
19
+ "author": "next-bin",
20
+ "license": "AGPL-3.0",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/next-bin/cc-helper.git"
24
+ },
25
+ "bugs": {
26
+ "url": "https://github.com/next-bin/cc-helper/issues"
27
+ },
28
+ "homepage": "https://github.com/next-bin/cc-helper#readme",
29
+ "engines": {
30
+ "node": ">=14.0.0"
31
+ },
32
+ "files": [
33
+ "bin/",
34
+ "install.js",
35
+ "uninstall.js",
36
+ "index.js"
37
+ ]
38
+ }
package/uninstall.js CHANGED
@@ -1,23 +1,23 @@
1
- #!/usr/bin/env node
2
-
3
- const fs = require('fs');
4
- const path = require('path');
5
- const os = require('os');
6
-
7
- const CACHE_DIR = path.join(os.homedir(), '.cache', 'cc-helper');
8
-
9
- function uninstall() {
10
- try {
11
- if (fs.existsSync(CACHE_DIR)) {
12
- console.log('Removing cached binaries...');
13
- fs.rmSync(CACHE_DIR, { recursive: true, force: true });
14
- console.log('Cleanup complete!');
15
- }
16
- } catch (err) {
17
- console.error('Cleanup warning:', err.message);
18
- console.log('You can manually remove the cache directory:');
19
- console.log(` rm -rf ${CACHE_DIR}`);
20
- }
21
- }
22
-
23
- uninstall();
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+ const os = require('os');
6
+
7
+ const CACHE_DIR = path.join(os.homedir(), '.cache', 'cc-helper');
8
+
9
+ function uninstall() {
10
+ try {
11
+ if (fs.existsSync(CACHE_DIR)) {
12
+ console.log('Removing cached binaries...');
13
+ fs.rmSync(CACHE_DIR, { recursive: true, force: true });
14
+ console.log('Cleanup complete!');
15
+ }
16
+ } catch (err) {
17
+ console.error('Cleanup warning:', err.message);
18
+ console.log('You can manually remove the cache directory:');
19
+ console.log(` rm -rf ${CACHE_DIR}`);
20
+ }
21
+ }
22
+
23
+ uninstall();