fix: add install.sh to always fetch latest git deps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ywkj 2026-03-20 06:56:43 +08:00
parent 8b2351db21
commit 27b204b5fb
2 changed files with 8 additions and 1 deletions

7
install.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
# Always fetch latest git dependencies
rm -rf node_modules/@clawd
npm install

View File

@ -18,7 +18,7 @@
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1004.0",
"@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",
"@clawd/r2-upload": "git+http://192.168.0.108:3030/agent-skills/r2-upload.git"
}
}