pi-powerline 0.7.0 → 0.7.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.7.1](https://github.com/jwu/pi-powerline/compare/v0.7.0...v0.7.1) (2026-05-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **header:** resolve user-scoped npm package dir with npm/ prefix ([5e5bb18](https://github.com/jwu/pi-powerline/commit/5e5bb189602e68488d57cc211a806f6c5a6d6a1b))
7
+
1
8
  # [0.7.0](https://github.com/jwu/pi-powerline/compare/v0.6.3...v0.7.0) (2026-05-24)
2
9
 
3
10
 
@@ -432,8 +432,8 @@ function resolvePackageDir(source: string, cwd: string, home = getHomeDir()): st
432
432
  // project-scoped install (.pi/npm/node_modules/<name>)
433
433
  const projectDir = join(cwd, '.pi', 'npm', 'node_modules', name);
434
434
  if (existsSync(projectDir)) return projectDir;
435
- // user-scoped install (~/.pi/agent/node_modules/<name>)
436
- const userDir = join(home, '.pi', 'agent', 'node_modules', name);
435
+ // user-scoped install (~/.pi/agent/npm/node_modules/<name>)
436
+ const userDir = join(home, '.pi', 'agent', 'npm', 'node_modules', name);
437
437
  if (existsSync(userDir)) return userDir;
438
438
  // global npm root
439
439
  if (npmRoot) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-powerline",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Powerline-style UI extensions for pi coding agent (custom editor, breadcrumb, footer, header)",
5
5
  "homepage": "https://github.com/jwu/pi-powerline#readme",
6
6
  "repository": {