@powerbuilder/skill 1.0.2 → 1.0.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.
- package/bin/codeapp +15 -1
- package/bin/skill +15 -1
- package/package.json +2 -2
package/bin/codeapp
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
|
-
|
|
2
|
+
# Cross-platform symlink resolution (macOS + Linux compatible)
|
|
3
|
+
case "$0" in
|
|
4
|
+
/*) script="$0" ;; # already absolute
|
|
5
|
+
*) script="$(pwd)/$0" ;; # make absolute
|
|
6
|
+
esac
|
|
7
|
+
# Follow one level of symlink (relative → absolute)
|
|
8
|
+
link=$(readlink "$script" 2>/dev/null)
|
|
9
|
+
if [ -n "$link" ]; then
|
|
10
|
+
case "$link" in
|
|
11
|
+
/*) script="$link" ;;
|
|
12
|
+
*) script="$(dirname "$script")/$link" ;;
|
|
13
|
+
esac
|
|
14
|
+
fi
|
|
15
|
+
basedir=$(dirname "$script")
|
|
16
|
+
exec node "$basedir/codeapp.js" "$@"
|
package/bin/skill
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
|
-
|
|
2
|
+
# Cross-platform symlink resolution (macOS + Linux compatible)
|
|
3
|
+
case "$0" in
|
|
4
|
+
/*) script="$0" ;; # already absolute
|
|
5
|
+
*) script="$(pwd)/$0" ;; # make absolute
|
|
6
|
+
esac
|
|
7
|
+
# Follow one level of symlink (relative → absolute)
|
|
8
|
+
link=$(readlink "$script" 2>/dev/null)
|
|
9
|
+
if [ -n "$link" ]; then
|
|
10
|
+
case "$link" in
|
|
11
|
+
/*) script="$link" ;;
|
|
12
|
+
*) script="$(dirname "$script")/$link" ;;
|
|
13
|
+
esac
|
|
14
|
+
fi
|
|
15
|
+
basedir=$(dirname "$script")
|
|
16
|
+
exec node "$basedir/skill.js" "$@"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerbuilder/skill",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "PowerBuilder skill installer — drop production-ready AI agent skills into .cursor, .claude, or .gemini folders with one command.",
|
|
5
5
|
"author": "TuongDoan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"type": "module"
|
|
43
|
-
}
|
|
43
|
+
}
|