harveyz-skill 0.22.0 → 0.22.1
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/CHANGELOG.md +5 -0
- package/bin/cli.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.22.1] - 2026-07-06
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- `hskill update`:更新命令从 `npm update` 改为 `npm install -g harveyz-skill@latest`,修复 0.x.y semver 约束导致跨 minor 版本无法更新的问题
|
|
14
|
+
|
|
10
15
|
## [0.22.0] - 2026-07-06
|
|
11
16
|
|
|
12
17
|
### Added
|
package/bin/cli.js
CHANGED
|
@@ -148,10 +148,10 @@ if (args[0] === '--version' || args[0] === '-v' || subcommand === 'version') {
|
|
|
148
148
|
if (subcommand === 'update') {
|
|
149
149
|
console.log(chalk.dim(' · Updating hskill…'))
|
|
150
150
|
try {
|
|
151
|
-
execSync('npm
|
|
151
|
+
execSync('npm install -g harveyz-skill@latest', { stdio: 'inherit' })
|
|
152
152
|
console.log(chalk.green(' ✔ hskill updated'))
|
|
153
153
|
} catch {
|
|
154
|
-
console.error(chalk.red(' ✗ Update failed. Try: npm
|
|
154
|
+
console.error(chalk.red(' ✗ Update failed. Try: npm install -g harveyz-skill@latest'))
|
|
155
155
|
process.exit(1)
|
|
156
156
|
}
|
|
157
157
|
// Run skill rename migrations
|