@cannbot-ai/install-helper 0.0.2-beta.69 → 0.0.2-beta.70
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/dist/index.js +45 -36
- package/dist/index.js.map +1 -1
- package/dist/install.ps1 +8 -8
- package/dist/plugins.d/catlass-op-generator.yml +1 -1
- package/dist/plugins.d/model-infer-optimize.yml +1 -1
- package/dist/plugins.d/ops-code-reviewer.yml +1 -1
- package/dist/plugins.d/ops-direct-invoke-flash.yml +1 -1
- package/dist/plugins.d/ops-direct-invoke.yml +2 -2
- package/dist/plugins.d/ops-registry-invoke.yml +2 -2
- package/dist/plugins.d/triton-op-generator.yml +1 -1
- package/package.json +6 -6
package/dist/install.ps1
CHANGED
|
@@ -58,25 +58,25 @@ if ($hasNode) {
|
|
|
58
58
|
try {
|
|
59
59
|
$installedVersion = & install-helper --version 2>$null
|
|
60
60
|
if ($installedVersion) {
|
|
61
|
-
Write-Host " [OK]
|
|
61
|
+
Write-Host " [OK] 检测到已安装 install-helper (版本: $installedVersion)" -ForegroundColor Yellow
|
|
62
62
|
}
|
|
63
63
|
} catch {}
|
|
64
64
|
|
|
65
|
-
Write-Host "
|
|
65
|
+
Write-Host " 正在安装 @cannbot-ai/install-helper..." -ForegroundColor Cyan
|
|
66
66
|
Write-Host ""
|
|
67
67
|
|
|
68
|
-
& npm
|
|
68
|
+
& npm install -g @cannbot-ai/install-helper 2>&1
|
|
69
69
|
if ($LASTEXITCODE -eq 0) {
|
|
70
70
|
Write-Host ""
|
|
71
|
-
Write-Host " [OK]
|
|
71
|
+
Write-Host " [OK] 安装成功!" -ForegroundColor Green
|
|
72
72
|
Write-Host ""
|
|
73
|
-
Write-Host "
|
|
73
|
+
Write-Host " 请运行: install-helper" -ForegroundColor Cyan
|
|
74
74
|
exit 0
|
|
75
75
|
} else {
|
|
76
76
|
Write-Host ""
|
|
77
|
-
Write-Host " [ERROR] npm
|
|
77
|
+
Write-Host " [ERROR] npm 安装失败" -ForegroundColor Red
|
|
78
78
|
Write-Host ""
|
|
79
|
-
Write-Host "
|
|
79
|
+
Write-Host " 请尝试以管理员权限运行:"
|
|
80
80
|
Write-Host " npm install -g @cannbot-ai/install-helper"
|
|
81
81
|
exit 1
|
|
82
82
|
}
|
|
@@ -92,7 +92,7 @@ $BinaryName = "install-helper.exe"
|
|
|
92
92
|
Write-Host " [OK] Platform: windows-$Arch" -ForegroundColor Green
|
|
93
93
|
Write-Host ""
|
|
94
94
|
|
|
95
|
-
# 2.
|
|
95
|
+
# 2. Query latest version from npm registry
|
|
96
96
|
Write-Host " Querying latest version..." -ForegroundColor Cyan
|
|
97
97
|
|
|
98
98
|
$Mirrors = @(
|
|
@@ -2,8 +2,8 @@ id: ops-direct-invoke
|
|
|
2
2
|
dir: plugins-official/ops-direct-invoke
|
|
3
3
|
displayName: AscendC Kernel 直调
|
|
4
4
|
aliases: [ops-direct, ascendc-direct, direct, kernel]
|
|
5
|
-
skills:
|
|
6
|
-
agents:
|
|
5
|
+
skills: 16
|
|
6
|
+
agents: 3
|
|
7
7
|
description: Ascend C 直调全流程:环境→设计→开发→审查→性能验收
|
|
8
8
|
version: "1.2.2"
|
|
9
9
|
configFile: AGENTS.md
|
|
@@ -2,8 +2,8 @@ id: ops-registry-invoke
|
|
|
2
2
|
dir: plugins-official/ops-registry-invoke
|
|
3
3
|
displayName: AscendC 算子注册调用
|
|
4
4
|
aliases: [ops-registry, ascendc-registry, registry]
|
|
5
|
-
skills:
|
|
6
|
-
agents:
|
|
5
|
+
skills: 12
|
|
6
|
+
agents: 4
|
|
7
7
|
description: 生产级 ACLNN 注册算子全流程:代码→UT/ST→上库
|
|
8
8
|
version: "1.2.2"
|
|
9
9
|
configFile: AGENTS.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cannbot-ai/install-helper",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.70",
|
|
4
4
|
"description": "Install Helper - Interactive installer for CANN operator development skills",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"yaml": "^2.6.0"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@cannbot-ai/install-helper-linux-x64": "0.0.2-beta.
|
|
46
|
-
"@cannbot-ai/install-helper-linux-arm64": "0.0.2-beta.
|
|
47
|
-
"@cannbot-ai/install-helper-darwin-x64": "0.0.2-beta.
|
|
48
|
-
"@cannbot-ai/install-helper-darwin-arm64": "0.0.2-beta.
|
|
49
|
-
"@cannbot-ai/install-helper-windows-x64": "0.0.2-beta.
|
|
45
|
+
"@cannbot-ai/install-helper-linux-x64": "0.0.2-beta.70",
|
|
46
|
+
"@cannbot-ai/install-helper-linux-arm64": "0.0.2-beta.70",
|
|
47
|
+
"@cannbot-ai/install-helper-darwin-x64": "0.0.2-beta.70",
|
|
48
|
+
"@cannbot-ai/install-helper-darwin-arm64": "0.0.2-beta.70",
|
|
49
|
+
"@cannbot-ai/install-helper-windows-x64": "0.0.2-beta.70"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^22.0.0",
|