rainbo 0.1.4 → 0.1.7

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/README.md CHANGED
@@ -50,12 +50,14 @@ Errors are written to stderr:
50
50
  rainbo update --check
51
51
  rainbo update
52
52
  rainbo update --force
53
+ rainbo update --skills-package /path/to/rainbo-skills.zip
53
54
  ```
54
55
 
55
56
  `update --check` only reports status. Normal JSON command output may include
56
57
  `_notice.update` when a newer npm version is known from the local update cache
57
58
  and `_notice.skills` when locally synced skills are out of sync with the
58
- running binary. Both notices recommend `rainbo update`.
59
+ running binary. The update cache refreshes at most every 2 hours. Both notices
60
+ recommend `rainbo update`.
59
61
 
60
62
  `update` detects npm installations, runs `npm install -g rainbo@<latest>`
61
63
  when auto-update is available, verifies the new binary, and syncs repository
@@ -69,6 +71,11 @@ Skill sync records detailed state in `skills-state.json` and updates installed
69
71
  official skills incrementally when possible. If incremental planning is not
70
72
  available, it falls back to a full install.
71
73
 
74
+ When users cannot access the GitLab skills repository, they can use the offline
75
+ skills package from 数据校验宝典 and run `rainbo update --skills-package
76
+ /path/to/rainbo-skills.zip`. The CLI will update Rainbo as usual and sync skills
77
+ from the local package path instead of the GitLab source.
78
+
72
79
  If automatic update is unavailable, the JSON action is `manual_required` and
73
80
  the response includes release and changelog URLs.
74
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rainbo",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "description": "Rainbo command line tools for data migration workflows",
5
5
  "bin": {
6
6
  "rainbo": "packaging/npm/run.js"