@krmxd/onegpt 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -11,6 +11,20 @@ npm i -g @krmxd/onegpt
11
11
  ogpt
12
12
  ```
13
13
 
14
+ ## Troubleshooting
15
+
16
+ **`ModuleNotFoundError: No module named 'ogpt'` from a path like
17
+ `.../usr/bin/ogpt`** - that is the *Python* build's launcher, not this
18
+ package. An old pip install is shadowing `ogpt`. Fix:
19
+
20
+ ```bash
21
+ pip uninstall ogpt && rm -f $PREFIX/bin/ogpt
22
+ npm i -g @krmxd/onegpt@latest --force
23
+ ```
24
+
25
+ If `ogpt` is still grabbed by something else, the Node build is also
26
+ installed as **`ogpt-node`** (same app, unshadowable name).
27
+
14
28
  ## Requirements
15
29
 
16
30
  - Node.js >= 18
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@krmxd/onegpt",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OGPT - AI coding assistant for the terminal with a built-in local engine",
5
5
  "main": "src/index.js",
6
6
  "bin": {
7
- "ogpt": "bin/ogpt.js"
7
+ "ogpt": "bin/ogpt.js",
8
+ "ogpt-node": "bin/ogpt.js"
8
9
  },
9
10
  "scripts": {
10
11
  "start": "node bin/ogpt.js",