siluzan-tso-cli 1.0.0-beta.26 → 1.0.0-beta.27
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/skill/_meta.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ siluzan-tso init -d /path/to/skills # 写入自定义目录
|
|
|
20
20
|
siluzan-tso init --force # 强制覆盖已存在文件
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
> **注意**:当前为测试版(1.0.0-beta.
|
|
23
|
+
> **注意**:当前为测试版(1.0.0-beta.27),供内部测试使用。正式发布后安装命令将改为 `npm install -g siluzan-tso-cli`。
|
|
24
24
|
|
|
25
25
|
| 助手 | 建议 `--ai` |
|
|
26
26
|
|------|-------------|
|
package/dist/index.js
CHANGED
|
@@ -594,7 +594,7 @@ function sleep(ms) {
|
|
|
594
594
|
function getCurrentVersion(importMetaUrl) {
|
|
595
595
|
try {
|
|
596
596
|
const __dirname2 = path2.dirname(fileURLToPath(importMetaUrl));
|
|
597
|
-
const pkgPath = path2.join(__dirname2, "..", "
|
|
597
|
+
const pkgPath = path2.join(__dirname2, "..", "package.json");
|
|
598
598
|
const pkg = JSON.parse(fs2.readFileSync(pkgPath, "utf8"));
|
|
599
599
|
return pkg.version ?? "0.0.0";
|
|
600
600
|
} catch {
|
package/dist/skill/_meta.json
CHANGED