@claude-view/plugin 0.20.1 → 0.21.0

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.
@@ -16,12 +16,13 @@ fi
16
16
  # Locate npx — version managers (nvm, volta, fnm, asdf) put it outside system PATH.
17
17
  # Claude Code hooks run with limited env, so we search common locations.
18
18
  find_npx() {
19
- # 1. Already in PATH?
19
+ # 1. Already in PATH? (POSIX standard — works everywhere)
20
20
  command -v npx 2>/dev/null && return
21
- # 2. Common version manager locations
21
+ # 2. Version manager locations (universal first, macOS-specific last)
22
22
  for candidate in \
23
23
  "${HOME}/.volta/bin/npx" \
24
24
  "${HOME}/.local/share/fnm/aliases/default/bin/npx" \
25
+ "${HOME}/.local/bin/npx" \
25
26
  "/usr/local/bin/npx" \
26
27
  "/opt/homebrew/bin/npx"; do
27
28
  [ -x "$candidate" ] && echo "$candidate" && return
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-view/plugin",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
4
4
  "description": "Claude Code plugin for claude-view — auto-starts web dashboard, provides session/cost/fluency tools and skills",
5
5
  "private": false,
6
6
  "type": "module",