@cloudglab/confluence-cli 0.0.1 → 0.0.2
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 +12 -0
- package/README.md +2 -0
- package/dist/install.js +4 -1
- package/dist/manifest.json +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 0.0.2 - 2026-06-16
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `createSkillAddArgs` 默认向 `npx -y skills add <source> --yes` 追加 `--global`,让 `npx -y @cloudglab/confluence-cli@latest install` 把 skill 装到 user-level 全局目录(`vercel-labs/skills` 的 `-g, --global` 选项)。修复 `npx ... install` 在 npx 临时目录里跑完被清理、导致 agent 找不到 skill 的问题。
|
|
10
|
+
- `tests/install.test.ts` 同步更新 3 处 `npx -y skills add` 期望参数为 `--global --yes`,覆盖默认安装、`--skill-source=npm` 与 `--skill-local-path` 三条路径。
|
|
11
|
+
|
|
12
|
+
### Notes
|
|
13
|
+
|
|
14
|
+
- `runUninstallCommand` 链路已经通过 `createSkillRemoveArgs(true)` 覆盖全局 skill 清理,升级到 0.0.2 后 `confluence uninstall --confirm true` 会同时清理项目级与全局级残留,幂等。
|
|
15
|
+
- 0.0.1 → 0.0.2 升级仅影响 `npx ... install` / `npx ... update` 触发的 skill 安装路径,已经在 0.0.1 装到项目级的用户可以重新执行 `npx -y @cloudglab/confluence-cli@latest install` 让 skill 迁回全局。
|
|
16
|
+
|
|
5
17
|
## 0.0.1 - 2026-06-15
|
|
6
18
|
|
|
7
19
|
### Added
|
package/README.md
CHANGED
package/dist/install.js
CHANGED
|
@@ -159,7 +159,10 @@ function shouldRemoveConfig(options) {
|
|
|
159
159
|
return !options.keepConfig && !options.cliOnly && !options.skillOnly;
|
|
160
160
|
}
|
|
161
161
|
function createSkillAddArgs(source) {
|
|
162
|
-
|
|
162
|
+
// 默认装到全局(user-level)skill 目录,避免 `npx ... install` 在临时目录里
|
|
163
|
+
// 跑完被回收、导致 agent 找不到 skill。`--global` 与 `--yes` 配合 vercel-labs/skills
|
|
164
|
+
// 的 add 选项;卸载时通过 createSkillRemoveArgs(true) 同样走全局路径。
|
|
165
|
+
return ["-y", "skills", "add", source, "--global", "--yes"];
|
|
163
166
|
}
|
|
164
167
|
function createSkillRemoveArgs(global = false) {
|
|
165
168
|
return ["-y", "skills", "remove", "confluence-cli", "--yes", ...(global ? ["--global"] : [])];
|
package/dist/manifest.json
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.0.
|
|
1
|
+
export declare const VERSION = "0.0.2";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.0.
|
|
1
|
+
export const VERSION = "0.0.2";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|