feat: 收录 inkreach-teable-plugin skill;install.sh 安装全部技能
skills/ 现包含 inkreach-teable + inkreach-teable-plugin, npx skills add 一并安装两个;install.sh 改为遍历安装 skills/*。
This commit is contained in:
@@ -62,13 +62,17 @@ exec node "$REPO_ROOT/dist/bin.js" "\$@"
|
||||
WRAPPER
|
||||
chmod +x "$HOME/.local/bin/inkreach-teable"
|
||||
|
||||
# Install the skill at user scope so it works in ANY workspace, including
|
||||
# checkouts of the inkreach-teable application repo (which no longer bundles it).
|
||||
if [ -d "$SKILL_DIR" ]; then
|
||||
# Install every skill in this repo at user scope so they work in ANY workspace,
|
||||
# including checkouts of the inkreach-teable application repo (which no longer
|
||||
# bundles them): inkreach-teable + inkreach-teable-plugin.
|
||||
if [ -d "$REPO_ROOT/skills" ]; then
|
||||
mkdir -p "$HOME/.zcode/skills"
|
||||
rm -rf "$HOME/.zcode/skills/inkreach-teable"
|
||||
cp -r "$SKILL_DIR" "$HOME/.zcode/skills/inkreach-teable"
|
||||
echo "✓ skill installed to ~/.zcode/skills/inkreach-teable (user scope)"
|
||||
for skill_dir in "$REPO_ROOT/skills"/*/; do
|
||||
skill_name="$(basename "$skill_dir")"
|
||||
rm -rf "$HOME/.zcode/skills/$skill_name"
|
||||
cp -r "$skill_dir" "$HOME/.zcode/skills/$skill_name"
|
||||
echo "✓ skill installed: $skill_name (~/.zcode/skills, user scope)"
|
||||
done
|
||||
fi
|
||||
|
||||
# Verify
|
||||
|
||||
Reference in New Issue
Block a user