eskill 1.2.2 → 1.2.3
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/cli.js +1 -1
- package/lib/installer.js +3 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ const program = new Command();
|
|
|
13
13
|
program
|
|
14
14
|
.name('eskill')
|
|
15
15
|
.description('Unified AI Agent Skills Management - Install skills from Git URLs')
|
|
16
|
-
.version('1.2.
|
|
16
|
+
.version('1.2.3')
|
|
17
17
|
.option('-g, --global', '使用全局技能目录(~/.eskill/skills/),否则使用当前目录(./.claude/skills/)', false);
|
|
18
18
|
|
|
19
19
|
// 安装命令
|
package/lib/installer.js
CHANGED
|
@@ -485,9 +485,11 @@ function confirmAction(message) {
|
|
|
485
485
|
export async function installFromGitUrl(gitUrl, options = {}) {
|
|
486
486
|
const { agent = 'claude', link = false, force = false, global = false } = options;
|
|
487
487
|
|
|
488
|
+
let actualUrl;
|
|
489
|
+
|
|
488
490
|
try {
|
|
489
491
|
// 检测并处理 name@author 格式
|
|
490
|
-
|
|
492
|
+
actualUrl = await handleSkillAtAuthorFormat(gitUrl, global);
|
|
491
493
|
|
|
492
494
|
// 如果是从全局复制
|
|
493
495
|
if (actualUrl.startsWith('GLOBAL:')) {
|