advisor-pi 1.0.0 → 1.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 +19 -3
  2. package/package.json +6 -2
package/README.md CHANGED
@@ -59,13 +59,29 @@ pi --advisor-enabled=false
59
59
 
60
60
  ## Install
61
61
 
62
- From the repo root:
62
+ Published on npm: [`advisor-pi`](https://www.npmjs.com/package/advisor-pi). Register the package with **Pi** (`pi install`) — plain `npm install` does not add it to Pi's `settings.json`.
63
63
 
64
64
  ```bash
65
- cp -r extensions/advisor-pi ~/.pi/agent/extensions/
65
+ pi install npm:advisor-pi
66
+ pi install npm:advisor-pi@1.0.0 # pin version
67
+ pi install -l npm:advisor-pi # project-local (.pi/settings.json)
68
+ pi -e npm:advisor-pi # one session, no install
69
+ ```
70
+
71
+ Then run `/reload` in Pi (or restart).
72
+
73
+ ```bash
74
+ pi list
75
+ pi update npm:advisor-pi
76
+ pi remove npm:advisor-pi
66
77
  ```
67
78
 
68
- Then run `/reload` in Pi.
79
+ **From [pi-extensions](https://github.com/luongnv89/pi-extensions) (git):**
80
+
81
+ ```bash
82
+ cp -r extensions/advisor-pi ~/.pi/agent/extensions/
83
+ # or: curl -fsSL .../install.sh | bash -s -- --auto
84
+ ```
69
85
 
70
86
  ## Cost and latency
71
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "advisor-pi",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Advisor-style strategic model guidance for Pi Coding Agent workflows",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,9 +21,13 @@
21
21
  "prepublishOnly": "npm run build"
22
22
  },
23
23
  "pi": {
24
- "extensions": ["./src/index.ts"]
24
+ "extensions": [
25
+ "./src/index.ts"
26
+ ],
27
+ "image": "https://raw.githubusercontent.com/luongnv89/pi-extensions/main/assets/advisor-pi.png"
25
28
  },
26
29
  "keywords": [
30
+ "pi-package",
27
31
  "pi",
28
32
  "advisor",
29
33
  "strategic-guidance",