From 2e23d747019388081d996c8644df45aeeef27fbb Mon Sep 17 00:00:00 2001 From: ywkj Date: Fri, 20 Mar 2026 06:56:29 +0800 Subject: [PATCH] fix: install.sh always fetches latest git deps before build rm -rf node_modules/@clawd before npm install ensures auth-runtime is always at the latest remote version, not cached. Co-Authored-By: Claude Opus 4.6 --- install.sh | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 316c7d9..4efe3e5 100755 --- a/install.sh +++ b/install.sh @@ -13,8 +13,11 @@ DEST="${1:-$HOME/.openclaw/skills}" cd "$(dirname "$0")" +# Always fetch latest git dependencies +rm -rf node_modules/@clawd +npm install + echo "Building $SKILL_NAME..." -bun install --frozen-lockfile bun build scripts/run.ts --outfile dist/run.js --target bun mkdir -p "$DEST/$SKILL_NAME" diff --git a/package.json b/package.json index 44676ad..73c8c22 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,6 @@ "package": "bun run build && cd .. && zip -r 1688-product-master.skill 1688-product-master/SKILL.md 1688-product-master/dist/run.js && echo 'Created: 1688-product-master.skill'" }, "dependencies": { - "@clawd/auth-runtime": "git+http://192.168.0.108:3030/agent-skills/auth-runtime.git#v1.1.0" + "@clawd/auth-runtime": "git+http://192.168.0.108:3030/agent-skills/auth-runtime.git" } }