siluzan-cso-cli 1.1.18-beta.12 → 1.1.18-beta.14
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
|
@@ -54,7 +54,7 @@ siluzan-cso init -d /path/to/skills # 写入自定义目录
|
|
|
54
54
|
siluzan-cso init --force # 强制覆盖已存在文件
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
> **注意**:当前为测试版(1.1.18-beta.
|
|
57
|
+
> **注意**:当前为测试版(1.1.18-beta.14),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-cso-cli`。
|
|
58
58
|
|
|
59
59
|
| 助手 | 建议 `--ai` |
|
|
60
60
|
| ----------------------- | ------------------------------------ |
|
package/dist/skill/_meta.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "siluzan-cso",
|
|
3
|
-
"version": "1.1.18-beta.
|
|
4
|
-
"publishedAt":
|
|
3
|
+
"version": "1.1.18-beta.14",
|
|
4
|
+
"publishedAt": 1779259024084,
|
|
5
5
|
"homepage": "https://www.siluzan.com",
|
|
6
6
|
"source": "https://dev.azure.com/jack4it/Sammamish/_git/siluzan-skill",
|
|
7
7
|
"requiredBinaries": [
|
|
@@ -8,6 +8,8 @@ $ErrorActionPreference = 'Stop'
|
|
|
8
8
|
|
|
9
9
|
# -- Package info (injected at build time) ------------------------------------
|
|
10
10
|
$PKG_NAME = 'siluzan-cso-cli'
|
|
11
|
+
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
+
$PKG_VERSION = '1.1.18-beta.14'
|
|
11
13
|
$CLI_BIN = 'siluzan-cso'
|
|
12
14
|
$SKILL_LABEL = 'Siluzan CSO'
|
|
13
15
|
$INSTALL_CMD = 'npm install -g siluzan-cso-cli@beta'
|
|
@@ -230,12 +232,12 @@ function Main {
|
|
|
230
232
|
# Step 2: Install CLI
|
|
231
233
|
Write-Step "Step 2/4: Install $PKG_NAME"
|
|
232
234
|
|
|
233
|
-
|
|
234
|
-
$
|
|
235
|
-
|
|
236
|
-
& $
|
|
237
|
-
if ($LASTEXITCODE -ne 0) { Write-Err "$
|
|
238
|
-
Write-Info "$
|
|
235
|
+
# 用打包时锁定的 PKG_VERSION,保证脚本与同批 dist/skill 行为对齐
|
|
236
|
+
$installTarget = "$PKG_NAME@$PKG_VERSION"
|
|
237
|
+
Write-Info "Running: npm install -g $installTarget"
|
|
238
|
+
& npm install -g $installTarget
|
|
239
|
+
if ($LASTEXITCODE -ne 0) { Write-Err "npm install -g $installTarget failed"; return }
|
|
240
|
+
Write-Info "$installTarget installed"
|
|
239
241
|
|
|
240
242
|
Write-Info 'Registering Skill to all AI platform global directories...'
|
|
241
243
|
& $CLI_BIN init --global --force
|
|
@@ -8,6 +8,8 @@ set -euo pipefail
|
|
|
8
8
|
|
|
9
9
|
# -- Package info (injected at build time) ------------------------------------
|
|
10
10
|
readonly PKG_NAME="siluzan-cso-cli"
|
|
11
|
+
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
+
readonly PKG_VERSION="1.1.18-beta.14"
|
|
11
13
|
readonly CLI_BIN="siluzan-cso"
|
|
12
14
|
readonly SKILL_LABEL="Siluzan CSO"
|
|
13
15
|
readonly INSTALL_CMD="npm install -g siluzan-cso-cli@beta"
|
|
@@ -141,9 +143,11 @@ main() {
|
|
|
141
143
|
# Step 2: Install CLI
|
|
142
144
|
step "Step 2/4: Install ${PKG_NAME}"
|
|
143
145
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
info "${
|
|
146
|
+
# 用打包时锁定的 PKG_VERSION,保证脚本与同批 dist/skill 行为对齐
|
|
147
|
+
local install_target="${PKG_NAME}@${PKG_VERSION}"
|
|
148
|
+
info "Running: $PKG_MANAGER install -g ${install_target}"
|
|
149
|
+
$PKG_MANAGER install -g "${install_target}"
|
|
150
|
+
info "${install_target} installed"
|
|
147
151
|
|
|
148
152
|
info "Registering Skill to all AI platform global directories..."
|
|
149
153
|
${CLI_BIN} init --global --force
|
package/package.json
CHANGED