@liwenkai/deepcode 0.5.1 → 0.5.2
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 +4 -2
- package/bin/deepcode +3 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -4,8 +4,10 @@ AI coding assistant in your terminal — powered by DeepSeek.
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
+
Use Node.js 24 or newer with npm 11.16.0 or newer. Approve the DeepCode package's installation script when installing it globally.
|
|
8
|
+
|
|
7
9
|
```sh
|
|
8
|
-
npm install -g @liwenkai/deepcode
|
|
10
|
+
npm install -g --allow-scripts=@liwenkai/deepcode @liwenkai/deepcode
|
|
9
11
|
```
|
|
10
12
|
|
|
11
13
|
(The installed command is `deepcode`.)
|
|
@@ -61,7 +63,7 @@ Full contract, flags and approval posture: [README](https://github.com/liwenka1/
|
|
|
61
63
|
|
|
62
64
|
## Notes
|
|
63
65
|
|
|
64
|
-
-
|
|
66
|
+
- The CLI itself is a native binary. The npm installer and launcher use Node.js.
|
|
65
67
|
- If your network blocks GitHub, grab a binary from the
|
|
66
68
|
[releases page](https://github.com/liwenka1/deep-code/releases) manually, or
|
|
67
69
|
build from source: clone `liwenka1/deep-code` and run
|
package/bin/deepcode
CHANGED
|
@@ -30,8 +30,9 @@ const invokedAs = basename(process.argv[1] || 'deepcode');
|
|
|
30
30
|
|
|
31
31
|
if (!existsSync(binary)) {
|
|
32
32
|
console.error('deepcode: native binary not found.');
|
|
33
|
-
console.error('Reinstall
|
|
34
|
-
console.error('
|
|
33
|
+
console.error('Reinstall with npm 11.16.0 or newer and approve the DeepCode installation script.');
|
|
34
|
+
console.error(' npm install -g --allow-scripts=@liwenkai/deepcode @liwenkai/deepcode');
|
|
35
|
+
console.error('Prebuilt binaries are available at https://github.com/liwenka1/deep-code/releases');
|
|
35
36
|
process.exit(1);
|
|
36
37
|
}
|
|
37
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liwenkai/deepcode",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "AI coding assistant in your terminal — powered by DeepSeek",
|
|
5
5
|
"bin": {
|
|
6
6
|
"deepcode": "bin/deepcode"
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"arm64"
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=18"
|
|
40
|
+
"node": ">=18",
|
|
41
|
+
"npm": ">=11.16.0"
|
|
41
42
|
}
|
|
42
43
|
}
|