@anionzo/skill 1.2.0 → 1.3.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.
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@anionzo/skill",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Personal AI Skill Library — vendor-neutral, multi-agent skill library for AI-powered software engineering",
5
+ "bin": {
6
+ "anionzo-skill": "scripts/install-opencode-skills"
7
+ },
5
8
  "scripts": {
6
9
  "validate": "bash scripts/validate-skills",
7
10
  "sync": "bash scripts/sync-platform-files",
@@ -10,7 +10,8 @@
10
10
 
11
11
  set -eu
12
12
 
13
- ROOT=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)
13
+ SCRIPT_PATH=$(readlink -f "$0" 2>/dev/null || realpath "$0" 2>/dev/null || echo "$0")
14
+ ROOT=$(CDPATH= cd -- "$(dirname "$SCRIPT_PATH")/.." && pwd)
14
15
 
15
16
  # Determine project root: explicit arg > INIT_CWD (set by npm) > current dir
16
17
  if [ -n "${1:-}" ]; then