viepilot 1.9.9 → 1.9.10
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 +6 -0
- package/lib/viepilot-install.cjs +6 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
- None.
|
|
13
13
|
|
|
14
|
+
## [1.9.10] - 2026-04-02
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **BUG-006**: Tất cả install targets (`cursor-ide`, `cursor-agent`, `claude-code`) thiếu 3 lib files trong `buildInstallPlan()`. Fix: cả 2 blocks (cursor `viepilotDir` và claude-code `claudeViepilotDir`) nay copy đủ 4 files: `cli-shared.cjs`, `viepilot-info.cjs`, `viepilot-update.cjs`, `viepilot-install.cjs`. Ngăn crash khi chạy `vp-tools info` / `vp-tools update` trên môi trường đã install. (+3 tests, 317 total pass)
|
|
19
|
+
|
|
14
20
|
### Added
|
|
15
21
|
|
|
16
22
|
- None yet.
|
package/lib/viepilot-install.cjs
CHANGED
|
@@ -187,11 +187,9 @@ function buildInstallPlan(packageRoot, envSource = process.env, opts = {}) {
|
|
|
187
187
|
for (const f of ['vp-tools.cjs', 'viepilot.cjs']) {
|
|
188
188
|
steps.push({ kind: 'copy_file', from: path.join(root, 'bin', f), to: path.join(claudeViepilotDir, 'bin', f) });
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
kind: 'copy_file',
|
|
192
|
-
|
|
193
|
-
to: path.join(claudeViepilotDir, 'lib', 'cli-shared.cjs'),
|
|
194
|
-
});
|
|
190
|
+
for (const f of ['cli-shared.cjs', 'viepilot-info.cjs', 'viepilot-update.cjs', 'viepilot-install.cjs']) {
|
|
191
|
+
steps.push({ kind: 'copy_file', from: path.join(root, 'lib', f), to: path.join(claudeViepilotDir, 'lib', f) });
|
|
192
|
+
}
|
|
195
193
|
|
|
196
194
|
// Rewrite execution_context paths in mirrored skill files
|
|
197
195
|
steps.push({
|
|
@@ -255,11 +253,9 @@ function buildInstallPlan(packageRoot, envSource = process.env, opts = {}) {
|
|
|
255
253
|
to: path.join(viepilotDir, 'bin', f),
|
|
256
254
|
});
|
|
257
255
|
}
|
|
258
|
-
|
|
259
|
-
kind: 'copy_file',
|
|
260
|
-
|
|
261
|
-
to: path.join(viepilotDir, 'lib', 'cli-shared.cjs'),
|
|
262
|
-
});
|
|
256
|
+
for (const f of ['cli-shared.cjs', 'viepilot-info.cjs', 'viepilot-update.cjs', 'viepilot-install.cjs']) {
|
|
257
|
+
steps.push({ kind: 'copy_file', from: path.join(root, 'lib', f), to: path.join(viepilotDir, 'lib', f) });
|
|
258
|
+
}
|
|
263
259
|
|
|
264
260
|
for (const f of binFiles) {
|
|
265
261
|
steps.push({
|