Automatic version checker for the qwencloud/qwencloud-ai skill pack. Compares the locally installed version against the latest release on GitHub and notifies the user when an update is available.
This skill is referenced by all other qwencloud/qwencloud-ai. When any skill runs, it checks if this skill is installed and delegates version checking here.
version.json (the version field bundled with this skill).{"has_update": true} if a newer version exists.last_interaction) in /.agents/state.json to rate-limit network requests to once every 24 hours.Other skills invoke this script automatically. You can also run it manually:
python3 <path-to-this-skill>/scripts/check_update.py --print-response
| Argument | Description |
|---|---|
| ---------- | ------------- |
--print-response | Print result as formatted JSON to stdout |
--force | Bypass 24-hour rate limit and check immediately |
{
"has_update": true
}
| Environment Variable | Default | Description |
|---|---|---|
| --------------------- | --------- | ------------- |
QWEN_SKILLS_REPO | qwencloud/qwencloud-ai | GitHub repo for remote version check |
The last_interaction timestamp is stored at for rate-limiting. Check results are not cached in the state file. This file persists across sessions and is shared with gossamer.py for fatigue control.
共 1 个版本