pi-clawbay 0.0.1 → 0.0.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.
Files changed (2) hide show
  1. package/README.md +23 -6
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -11,20 +11,29 @@ A provider extension for [pi coding agent](https://github.com/badlogic/pi-mono)
11
11
 
12
12
  ## Installation
13
13
 
14
- ### Option 1: Load extension directly
14
+ ### Recommended: Install from npm
15
15
 
16
16
  ```bash
17
- pi -e /path/to/pi-clawbay
17
+ pi install npm:pi-clawbay@latest
18
+ ```
19
+
20
+ This uses the published npm package and avoids npm's GitHub dependency path.
21
+
22
+ Do not use:
23
+
24
+ ```bash
25
+ pi install npm:chrislopez24/pi-clawbay
18
26
  ```
19
27
 
20
- ### Option 2: Install as dependency
28
+ That form is treated as a GitHub install, not a registry package install, and it can leave broken global symlinks behind.
29
+
30
+ ### Local Development
21
31
 
22
32
  ```bash
23
- cd your-project
24
- npm install /path/to/pi-clawbay
33
+ pi -e /path/to/pi-clawbay
25
34
  ```
26
35
 
27
- Then add to your `.pi/agent/AGENTS.md` or load via extension config.
36
+ Use this only while actively developing the extension locally.
28
37
 
29
38
  ## Configuration
30
39
 
@@ -125,6 +134,14 @@ Common error codes:
125
134
  ```bash
126
135
  npm install
127
136
  npm run build
137
+ npm pack --dry-run
138
+ ```
139
+
140
+ ## Publishing
141
+
142
+ ```bash
143
+ npm version patch
144
+ npm publish
128
145
  ```
129
146
 
130
147
  ## Resources
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-clawbay",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "TheClawBay provider extension for Pi Coding Agent - access GPT-5, Codex, and Claude models",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,8 @@
19
19
  "clean": "rm -rf dist",
20
20
  "build": "npm run clean && tsc",
21
21
  "check": "tsc --noEmit",
22
- "prepublishOnly": "npm run build"
22
+ "prepare": "npm run build",
23
+ "prepack": "npm run build"
23
24
  },
24
25
  "pi": {
25
26
  "extensions": [