@vndv/pi-codegraph 0.1.1 → 0.1.3

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 +9 -5
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -15,7 +15,7 @@ An extension for [pi](https://pi.dev) that gives the agent access to [CodeGraph]
15
15
  npm install -g @colbymchenry/codegraph
16
16
  cd /path/to/project
17
17
  codegraph init -i
18
- pi install npm:@vndv/pi-codegraph@0.1.0
18
+ pi install npm:@vndv/pi-codegraph@0.1.1
19
19
  pi
20
20
  ```
21
21
 
@@ -51,7 +51,7 @@ Extension tools only. There is no MCP setup for pi users to maintain.
51
51
  From npm:
52
52
 
53
53
  ```bash
54
- pi install npm:@vndv/pi-codegraph@0.1.0
54
+ pi install npm:@vndv/pi-codegraph@0.1.1
55
55
  ```
56
56
 
57
57
  From GitHub:
@@ -88,6 +88,8 @@ CodeGraph must be installed and available on `PATH`:
88
88
  npm install -g @colbymchenry/codegraph
89
89
  ```
90
90
 
91
+ This extension is tested against the `@colbymchenry/codegraph` npm package declared in `devDependencies`. Dependabot watches that package and opens update PRs when CodeGraph releases a new version.
92
+
91
93
  Each project must be indexed before pi can query it:
92
94
 
93
95
  ```bash
@@ -158,7 +160,7 @@ That means another developer only needs the npm package, the `codegraph` CLI, an
158
160
  Remove the package using the same source shown by `pi list`:
159
161
 
160
162
  ```bash
161
- pi remove npm:@vndv/pi-codegraph@0.1.0
163
+ pi remove npm:@vndv/pi-codegraph@0.1.1
162
164
  ```
163
165
 
164
166
  If you installed from GitHub or a local path, remove that exact entry instead:
@@ -211,6 +213,8 @@ npm ci
211
213
  npm run ci
212
214
  ```
213
215
 
216
+ `npm run ci` type-checks the extension, runs tests, verifies the pinned CodeGraph CLI can start, and dry-runs the npm package.
217
+
214
218
  Install the local checkout into pi:
215
219
 
216
220
  ```bash
@@ -229,7 +233,7 @@ npm run ci
229
233
 
230
234
  The package is published to npm as `@vndv/pi-codegraph`.
231
235
 
232
- Releases are automated with Changesets.
236
+ Releases are automated with Changesets. Any package update, including README changes shipped to npm, needs a changeset so the release workflow can bump the version and deploy a new npm package.
233
237
 
234
238
  For every user-facing change, add a changeset in the feature branch:
235
239
 
@@ -254,7 +258,7 @@ npm run version-packages
254
258
  npm run publish-packages
255
259
  ```
256
260
 
257
- `publish-packages` runs `npm publish --access public`.
261
+ `publish-packages` runs `npm publish --access public --provenance`.
258
262
 
259
263
  The workflow uses npm trusted publishing through GitHub Actions OIDC.
260
264
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vndv/pi-codegraph",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "CodeGraph tools for Pi Agent.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,7 +35,8 @@
35
35
  ]
36
36
  },
37
37
  "scripts": {
38
- "ci": "npm run typecheck && npm test && npm pack --dry-run",
38
+ "ci": "npm run typecheck && npm test && npm run compat:codegraph && npm pack --dry-run",
39
+ "compat:codegraph": "codegraph --version",
39
40
  "local-release": "changeset version && changeset publish",
40
41
  "publish-packages": "npm publish --access public --provenance",
41
42
  "prepack": "npm run typecheck && npm test",
@@ -56,6 +57,7 @@
56
57
  },
57
58
  "devDependencies": {
58
59
  "@changesets/cli": "^2.31.0",
60
+ "@colbymchenry/codegraph": "^0.9.7",
59
61
  "@earendil-works/pi-coding-agent": "^0.76.0",
60
62
  "@types/node": "^20.19.30",
61
63
  "typescript": "^5.0.0",