@42ailab/42cc 0.3.13 → 0.3.14

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 +49 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -58,6 +58,55 @@ bun remove -g @42ailab/42cc
58
58
  npm uninstall -g @42ailab/42cc
59
59
  ```
60
60
 
61
+ ## Troubleshooting
62
+
63
+ ### Version Not Updated After Install
64
+
65
+ If `42cc --version` shows an older version after installing, this is likely due to npm cache issues with optionalDependencies.
66
+
67
+ **Solution:**
68
+
69
+ ```bash
70
+ # Complete cleanup and reinstall
71
+ npm uninstall -g @42ailab/42cc
72
+ rm -rf ~/.npm
73
+ npm install -g @42ailab/42cc@latest
74
+
75
+ # If platform package still shows old version
76
+ npm install -g @42ailab/42cc-darwin-universal@latest # macOS
77
+ npm install -g @42ailab/42cc-win32-x64@latest # Windows
78
+ ```
79
+
80
+ **For bun users** (more reliable cache management):
81
+
82
+ ```bash
83
+ bun remove -g @42ailab/42cc
84
+ bun add -g @42ailab/42cc
85
+ ```
86
+
87
+ ### "Application is damaged" on macOS
88
+
89
+ If macOS shows a "damaged app" warning, this is due to quarantine attributes from npm/bun installation. The CLI automatically removes these attributes when launching. If the issue persists:
90
+
91
+ ```bash
92
+ # Manually remove quarantine attribute
93
+ xattr -cr ~/.nvm/versions/node/*/lib/node_modules/@42ailab/42cc-darwin-universal/42cc.app
94
+ ```
95
+
96
+ ### Verify Installation
97
+
98
+ ```bash
99
+ # Check installed version
100
+ 42cc --version
101
+
102
+ # Check all 42cc packages
103
+ npm list -g --depth=0 | grep 42cc
104
+
105
+ # Both packages should show the same version
106
+ # @42ailab/42cc@x.x.x
107
+ # @42ailab/42cc-darwin-universal@x.x.x (or 42cc-win32-x64)
108
+ ```
109
+
61
110
  ## Links
62
111
 
63
112
  - Homepage: https://42cc.42ailab.com
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@42ailab/42cc",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "Claude Code model configuration tool - CLI launcher for the 42cc tray application",
5
5
  "bin": {
6
6
  "42cc": "./bin/42cc.js"
@@ -10,8 +10,8 @@
10
10
  "README.md"
11
11
  ],
12
12
  "optionalDependencies": {
13
- "@42ailab/42cc-darwin-universal": "0.3.13",
14
- "@42ailab/42cc-win32-x64": "0.3.13"
13
+ "@42ailab/42cc-darwin-universal": "0.3.14",
14
+ "@42ailab/42cc-win32-x64": "0.3.14"
15
15
  },
16
16
  "os": [
17
17
  "darwin",