@cannbot-ai/install-helper 1.0.2 → 1.0.4

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.
@@ -0,0 +1,168 @@
1
+ {
2
+ "wizard_title": "CANNBot Install Helper",
3
+ "wizard_detect": "Detecting installed AI coding tools...",
4
+ "wizard_select_tool": "Select AI coding tool",
5
+ "wizard_select_level": "Select install level",
6
+ "wizard_select_plugins": "Select scenarios to install",
7
+ "wizard_confirm": "Confirm installation",
8
+ "wizard_detected_tool": "Detected",
9
+ "wizard_confirm_tool": "Confirm using",
10
+ "wizard_last_used": "last used",
11
+ "wizard_already_installed": "installed",
12
+ "install_cloning": "Cloning cannbot-skills repository...",
13
+ "install_repo_ready": "Repository ready",
14
+ "install_progress": "Installing",
15
+ "install_done": "Installation complete",
16
+ "install_success": "success",
17
+ "install_failed": "failed",
18
+ "install_already_installed": "already installed",
19
+ "install_reinstall_confirm": "Reinstall (overwrite)",
20
+ "install_skip": "skipped",
21
+ "install_enhanced_next_steps": "Next steps",
22
+ "install_enhanced_launch": "Launch",
23
+ "install_enhanced_try": "Try",
24
+ "install_enhanced_more": "More",
25
+ "install_enhanced_check": "Check",
26
+ "install_enhanced_docs": "Docs",
27
+ "update_title": "Update installed Skills",
28
+ "update_updating": "Updating",
29
+ "update_done": "Update complete",
30
+ "update_no_plugins": "No installed plugins",
31
+ "doctor_title": "CANNBot Doctor",
32
+ "doctor_tools": "AI Tools",
33
+ "doctor_plugins": "Installed Plugins",
34
+ "doctor_links": "Link Integrity",
35
+ "doctor_config": "Configuration",
36
+ "doctor_result": "Result",
37
+ "doctor_fix_title": "Auto-fix",
38
+ "doctor_fix_cleaning": "Cleaning broken links",
39
+ "doctor_fix_rebuilding": "Rebuilding directories",
40
+ "doctor_fix_done": "Fix complete",
41
+ "info_title": "Plugin Details",
42
+ "info_description": "Description",
43
+ "info_skills": "Skills",
44
+ "info_agents": "Agents",
45
+ "info_status": "Status",
46
+ "info_quickstart": "Quick Start",
47
+ "info_not_found": "Plugin not found",
48
+ "lang_title": "Language Settings",
49
+ "lang_current": "Current language",
50
+ "lang_set": "Language set to",
51
+ "lang_invalid": "Invalid language, supported: zh_CN, en_US",
52
+ "list_title": "Available Scenarios",
53
+ "list_id": "#",
54
+ "list_name": "Name",
55
+ "list_status": "Status",
56
+ "list_skills": "Skills",
57
+ "list_agents": "Agents",
58
+ "status_installed": "installed",
59
+ "status_not_installed": "not installed",
60
+ "error_tool_not_found": "No AI coding tool detected",
61
+ "error_plugin_not_found": "Plugin not found",
62
+ "error_repo_not_found": "Repository not found",
63
+ "error_invalid_tool": "Unsupported AI tool: {tool}\nSupported tools: {tools}",
64
+ "error_invalid_level": "Unsupported install level: {level}\nSupported levels: {levels}",
65
+ "quick_start": "Launch command",
66
+ "quick_start_hint": "Try: help me develop an Abs operator",
67
+ "skill_select_category": "Select Skill category",
68
+ "skill_select_items": "Select Skills to install (space to toggle, enter to confirm)",
69
+ "skill_already_installed": "installed",
70
+ "skill_install_progress": "Installing",
71
+ "skill_install_done": "Skill installation complete",
72
+ "skill_uninstall_done": "Skill uninstallation complete",
73
+ "skill_list_title": "Available Skills",
74
+ "wizard_select_mode": "Select installation mode",
75
+ "wizard_mode_plugin": "Install Plugin",
76
+ "wizard_mode_plugin_desc": "Full development workflow (Skills + Agents + config)",
77
+ "wizard_mode_skill": "Install Skill",
78
+ "wizard_mode_skill_desc": "Domain knowledge only, give AI specific capabilities",
79
+ "wizard_back": "Go back",
80
+ "wizard_cancel": "Cancel installation",
81
+ "wizard_no_selection": "No items selected, please choose an action",
82
+ "wizard_back_to_reselect": "Go back",
83
+ "status_title": "Installed Plugins",
84
+ "status_none": "No installed plugins",
85
+ "status_hint": "Run install-helper init to start",
86
+ "status_install_time": "Installed at",
87
+ "install_installed_to": "Installed to",
88
+ "install_skills_count": "Skills",
89
+ "install_agents_count": "Agents",
90
+ "lang_supported": "Supported languages: zh_CN, en_US",
91
+ "lang_usage": "Usage: install-helper lang set <language>",
92
+ "lang_specify": "Please specify language: install-helper lang set zh_CN",
93
+ "lang_unknown_action": "Unknown action",
94
+ "lang_supported_actions": "Supported actions: show, set",
95
+ "info_aliases": "Aliases",
96
+ "uninstall_not_found": "Not found",
97
+ "uninstall_no_record": "No install record found, may not be installed or record is corrupted",
98
+ "uninstall_no_record_hint": "For manual cleanup, delete related files in .opencode/ or .claude/ directory",
99
+ "uninstall_in_progress": "Uninstalling",
100
+ "uninstall_removed": "Uninstalled",
101
+ "uninstall_files_gone": " files no longer exist, install record cleaned",
102
+ "uninstall_skills_in_progress": "Uninstalling",
103
+ "init_pkg_dir_warn": "Current directory appears to be the install-helper package directory",
104
+ "init_pkg_dir_hint": "Please run this command in your project directory, not in the install-helper package directory",
105
+ "init_pkg_dir_example": "Example: cd ~/my-project && install-helper",
106
+ "init_cancelled": "Installation cancelled",
107
+ "backup_detected": "Plugin already installed in current directory",
108
+ "backup_current": "Currently installed",
109
+ "backup_installing": "About to install",
110
+ "backup_overwrite_warning": "Continuing will overwrite existing AGENTS.md configuration.",
111
+ "backup_auto_create": "System will automatically create backup for future restoration.",
112
+ "backup_overwrite": "Overwrite (auto backup)",
113
+ "backup_cancel": "Cancel installation",
114
+ "backup_restore_prompt": "Backup configuration detected, restore?",
115
+ "backup_restore": "Restore",
116
+ "backup_only_uninstall": "Uninstall only (no restore)",
117
+ "backup_select_action": "Please select an action",
118
+ "backup_restore_success": "Configuration restored",
119
+ "backup_created": "Backup created",
120
+ "loading_skills_list": "Loading Skills list...",
121
+ "loading_skills_list_complete": "Skills list loaded",
122
+ "loading_plugin_data": "Loading plugin data...",
123
+ "loading_plugin_data_complete": "Plugin data loaded",
124
+ "loading_skills_list_failed": "Failed to load Skills list, using built-in data",
125
+ "install_no_skill_selected": "No Skill selected",
126
+ "install_to": "Install to",
127
+ "start_to_use": "Start {tool} to use",
128
+ "wizard_step_1_title": "[1/4] Select AI coding tool",
129
+ "wizard_step_2_title": "[2/4] Select installation location",
130
+ "wizard_step_3_title": "[3/4] Select plugins to install",
131
+ "wizard_step_4_title": "[4/4] Confirm installation",
132
+ "wizard_step_3_skill_title": "[3/4] Select Skill category",
133
+ "wizard_step_4_skill_title": "[4/4] Select Skills to install — {category}",
134
+ "install_level_project": "Install to current directory (recommended, current project only)",
135
+ "install_level_global": "Install globally (all projects)",
136
+ "wizard_select_mode_title": "Select installation type",
137
+ "skill_count_format": "{count} Skills",
138
+ "result_success_format": "{count} succeeded",
139
+ "result_failed_format": "{count} failed",
140
+ "uninstall_remove_label": "Removed",
141
+ "uninstall_remove_file_format": "Removed {count} files",
142
+ "uninstall_remove_dir_format": "{count} directories",
143
+ "uninstall_clean_empty_dir": "Cleaned empty directory",
144
+ "uninstall_skill_not_installed": "Not installed",
145
+ "available_plugins": "Available plugins",
146
+ "available_skills": "Available Skills",
147
+ "skill_total_count": "Total {count} Skills",
148
+ "wizard_confirm_install_format": "About to install {count} plugins to {tool} ({level} level):",
149
+ "wizard_install_path": "Install path",
150
+ "update_install_hint": "Use {cmd} to install plugins",
151
+ "hint_select_move": "Navigate",
152
+ "hint_select_space": "Space",
153
+ "hint_select_check": "Toggle",
154
+ "hint_select_confirm": "Confirm",
155
+ "hint_checkbox_suffix": "Press enter without selection to go back",
156
+ "doctor_not_installed": "Not installed",
157
+ "doctor_links_valid": "{count} symlinks all valid",
158
+ "doctor_broken_links": "{count} broken links",
159
+ "doctor_fixed": "Cleaned {count} broken links",
160
+ "doctor_not_exist": "Does not exist",
161
+ "doctor_created": "Created {path}",
162
+ "doctor_config_exists": "Exists",
163
+ "doctor_config_not_exist": "Does not exist",
164
+ "doctor_result_with_fix": "{warnings} warnings, {errors} errors, {fixes} fixed",
165
+ "doctor_result_without_fix": "{warnings} warnings, {errors} errors",
166
+ "count_suffix": "",
167
+ "try_prompt": "help me develop an Abs operator"
168
+ }
@@ -0,0 +1,168 @@
1
+ {
2
+ "wizard_title": "CANNBot Install Helper",
3
+ "wizard_detect": "正在检测已安装的 AI 编程工具...",
4
+ "wizard_select_tool": "选择 AI 编程工具",
5
+ "wizard_select_level": "选择安装位置",
6
+ "wizard_select_plugins": "选择要安装的插件",
7
+ "wizard_confirm": "确认安装",
8
+ "wizard_detected_tool": "检测到",
9
+ "wizard_confirm_tool": "使用",
10
+ "wizard_last_used": "上次使用",
11
+ "wizard_already_installed": "已安装",
12
+ "install_cloning": "正在克隆 cannbot-skills 仓库...",
13
+ "install_repo_ready": "仓库就绪",
14
+ "install_progress": "正在安装",
15
+ "install_done": "安装完成",
16
+ "install_success": "成功",
17
+ "install_failed": "失败",
18
+ "install_already_installed": "已安装",
19
+ "install_reinstall_confirm": "是否重新安装(覆盖)",
20
+ "install_skip": "跳过",
21
+ "install_enhanced_next_steps": "下一步",
22
+ "install_enhanced_launch": "启动",
23
+ "install_enhanced_try": "试试",
24
+ "install_enhanced_more": "更多",
25
+ "install_enhanced_check": "检查",
26
+ "install_enhanced_docs": "文档",
27
+ "update_title": "更新已安装的 Skills",
28
+ "update_updating": "正在更新",
29
+ "update_done": "更新完成",
30
+ "update_no_plugins": "暂无已安装的插件",
31
+ "doctor_title": "CANNBot Doctor",
32
+ "doctor_tools": "AI 工具",
33
+ "doctor_plugins": "已安装插件",
34
+ "doctor_links": "链接完整性",
35
+ "doctor_config": "配置文件",
36
+ "doctor_result": "结果",
37
+ "doctor_fix_title": "自动修复",
38
+ "doctor_fix_cleaning": "清理失效链接",
39
+ "doctor_fix_rebuilding": "重建目录",
40
+ "doctor_fix_done": "修复完成",
41
+ "info_title": "插件详情",
42
+ "info_description": "描述",
43
+ "info_skills": "Skills",
44
+ "info_agents": "Agents",
45
+ "info_status": "状态",
46
+ "info_quickstart": "快速开始",
47
+ "info_not_found": "未找到插件",
48
+ "lang_title": "语言设置",
49
+ "lang_current": "当前语言",
50
+ "lang_set": "语言已设置为",
51
+ "lang_invalid": "无效的语言,支持: zh_CN, en_US",
52
+ "list_title": "可用场景",
53
+ "list_id": "序号",
54
+ "list_name": "场景名",
55
+ "list_status": "状态",
56
+ "list_skills": "Skills",
57
+ "list_agents": "Agents",
58
+ "status_installed": "已装",
59
+ "status_not_installed": "未装",
60
+ "error_tool_not_found": "未检测到任何 AI 编程工具",
61
+ "error_plugin_not_found": "未找到插件",
62
+ "error_repo_not_found": "仓库未找到",
63
+ "error_invalid_tool": "暂不支持的 AI 工具: {tool}\n支持的工具: {tools}",
64
+ "error_invalid_level": "暂不支持的安装级别: {level}\n支持的级别: {levels}",
65
+ "quick_start": "启动命令",
66
+ "quick_start_hint": "试试输入: 帮我开发一个 Abs 算子",
67
+ "skill_select_category": "选择 Skill 类别",
68
+ "skill_select_items": "选择要安装的 Skills",
69
+ "skill_already_installed": "已安装",
70
+ "skill_install_progress": "正在安装",
71
+ "skill_install_done": "Skill 安装完成",
72
+ "skill_uninstall_done": "Skill 卸载完成",
73
+ "skill_list_title": "可用 Skills",
74
+ "wizard_select_mode": "选择安装类型",
75
+ "wizard_mode_plugin": "安装 Plugin",
76
+ "wizard_mode_plugin_desc": "完整开发工作流(Skills + Agents + 配置文件)",
77
+ "wizard_mode_skill": "安装 Skill",
78
+ "wizard_mode_skill_desc": "仅安装领域知识技能,让 AI 掌握特定能力",
79
+ "wizard_back": "返回",
80
+ "wizard_cancel": "退出",
81
+ "wizard_no_selection": "未选择任何项,请选择操作",
82
+ "wizard_back_to_reselect": "返回",
83
+ "status_title": "已安装插件",
84
+ "status_none": "暂无已安装的插件",
85
+ "status_hint": "运行 install-helper init 开始安装",
86
+ "status_install_time": "安装时间",
87
+ "install_installed_to": "安装到",
88
+ "install_skills_count": "Skills",
89
+ "install_agents_count": "Agents",
90
+ "lang_supported": "支持的语言: zh_CN, en_US",
91
+ "lang_usage": "用法: install-helper lang set <language>",
92
+ "lang_specify": "请指定语言: install-helper lang set zh_CN",
93
+ "lang_unknown_action": "未知操作",
94
+ "lang_supported_actions": "支持的操作: show, set",
95
+ "info_aliases": "别名",
96
+ "uninstall_not_found": "未找到",
97
+ "uninstall_no_record": "未找到安装记录,可能未安装或安装记录已损坏",
98
+ "uninstall_no_record_hint": "如需强制清理,请手动删除 .opencode/ 或 .claude/ 目录中的相关文件",
99
+ "uninstall_in_progress": "正在卸载",
100
+ "uninstall_removed": "已卸载",
101
+ "uninstall_files_gone": "的文件已不存在,已清理安装记录",
102
+ "uninstall_skills_in_progress": "正在卸载",
103
+ "init_pkg_dir_warn": "当前目录看起来是 install-helper 包目录",
104
+ "init_pkg_dir_hint": "请在你的项目目录中运行此命令,而不是在 install-helper 安装目录中",
105
+ "init_pkg_dir_example": "示例:cd ~/my-project && install-helper",
106
+ "init_cancelled": "已取消安装",
107
+ "backup_detected": "检测到当前目录已安装插件",
108
+ "backup_current": "当前安装",
109
+ "backup_installing": "即将安装",
110
+ "backup_overwrite_warning": "继续安装将覆盖现有的 AGENTS.md 配置文件。",
111
+ "backup_auto_create": "系统会自动创建备份,以便后续恢复。",
112
+ "backup_overwrite": "覆盖安装(自动备份)",
113
+ "backup_cancel": "取消安装",
114
+ "backup_restore_prompt": "检测到备份配置,是否恢复?",
115
+ "backup_restore": "恢复",
116
+ "backup_only_uninstall": "仅卸载(不恢复)",
117
+ "backup_select_action": "请选择操作",
118
+ "backup_restore_success": "已恢复配置",
119
+ "backup_created": "已创建备份",
120
+ "loading_skills_list": "正在加载 Skills 列表...",
121
+ "loading_skills_list_complete": "Skills 列表加载完成",
122
+ "loading_plugin_data": "正在加载插件数据...",
123
+ "loading_plugin_data_complete": "插件数据加载完成",
124
+ "loading_skills_list_failed": "Skills 列表加载失败,将使用内置数据",
125
+ "install_no_skill_selected": "未选择任何 Skill",
126
+ "install_to": "安装到",
127
+ "start_to_use": "启动 {tool} 即可使用",
128
+ "wizard_step_1_title": "[1/4] 选择 AI 编程工具",
129
+ "wizard_step_2_title": "[2/4] 选择安装位置",
130
+ "wizard_step_3_title": "[3/4] 选择要安装的插件",
131
+ "wizard_step_4_title": "[4/4] 确认安装",
132
+ "wizard_step_3_skill_title": "[3/4] 选择 Skill 类别",
133
+ "wizard_step_4_skill_title": "[4/4] 选择要安装的 Skills — {category}",
134
+ "install_level_project": "安装到当前目录(推荐,仅当前项目可用)",
135
+ "install_level_global": "安装到全局(所有项目共享)",
136
+ "wizard_select_mode_title": "选择安装类型",
137
+ "skill_count_format": "{count} 个 Skills",
138
+ "result_success_format": "{count} 成功",
139
+ "result_failed_format": "{count} 失败",
140
+ "uninstall_remove_label": "移除",
141
+ "uninstall_remove_file_format": "移除 {count} 个文件",
142
+ "uninstall_remove_dir_format": "{count} 个目录",
143
+ "uninstall_clean_empty_dir": "清理空目录",
144
+ "uninstall_skill_not_installed": "未安装",
145
+ "available_plugins": "可用插件",
146
+ "available_skills": "可用 Skills",
147
+ "skill_total_count": "共 {count} 个 Skills",
148
+ "wizard_confirm_install_format": "即将安装 {count} 个插件到 {tool}({level} 级别):",
149
+ "wizard_install_path": "安装路径",
150
+ "update_install_hint": "使用 {cmd} 安装插件",
151
+ "hint_select_move": "移动",
152
+ "hint_select_space": "空格",
153
+ "hint_select_check": "勾选",
154
+ "hint_select_confirm": "确认",
155
+ "hint_checkbox_suffix": "不选按回车可返回",
156
+ "doctor_not_installed": "未安装",
157
+ "doctor_links_valid": "{count} 个软链接均有效",
158
+ "doctor_broken_links": "{count} 个失效链接",
159
+ "doctor_fixed": "已清理 {count} 个失效链接",
160
+ "doctor_not_exist": "不存在",
161
+ "doctor_created": "已创建 {path}",
162
+ "doctor_config_exists": "存在",
163
+ "doctor_config_not_exist": "不存在",
164
+ "doctor_result_with_fix": "{warnings} 个警告, {errors} 个错误, {fixes} 项已修复",
165
+ "doctor_result_without_fix": "{warnings} 个警告, {errors} 个错误",
166
+ "count_suffix": "个",
167
+ "try_prompt": "帮我开发一个 Abs 算子"
168
+ }
@@ -0,0 +1,4 @@
1
+ # Default values for all plugins
2
+ script: "init.sh"
3
+ skills: 0
4
+ agents: 0
@@ -0,0 +1,7 @@
1
+ id: catlass-op-generator
2
+ dir: plugins-official/catlass-op-generator
3
+ displayName: Catlass 算子直调
4
+ aliases: [catlass]
5
+ skills: 10
6
+ agents: 3
7
+ description: Catlass 模板拼装 GEMM/Matmul/Epilogue 算子开发
@@ -0,0 +1,7 @@
1
+ id: model-infer-optimize
2
+ dir: plugins-official/model-infer-optimize
3
+ displayName: NPU 推理优化
4
+ aliases: [model-infer, infer, inference]
5
+ skills: 11
6
+ agents: 3
7
+ description: NPU 模型推理端到端优化(并行/KVCache/融合/量化/图模式/多流/SuperKernel)
@@ -0,0 +1,7 @@
1
+ id: ops-code-reviewer
2
+ dir: plugins-official/ops-code-reviewer
3
+ displayName: 代码检视
4
+ aliases: [code-review, reviewer, review]
5
+ skills: 5
6
+ agents: 1
7
+ description: Ascend C 算子代码 4 阶段全量检视(主 Agent 编排 + 子 Agent 并行检视)
@@ -0,0 +1,7 @@
1
+ id: ops-direct-invoke-flash
2
+ dir: plugins-official/ops-direct-invoke-flash
3
+ displayName: AscendC Kernel 直调(快速版)
4
+ aliases: [flash, kernel-flash]
5
+ skills: 1
6
+ agents: 1
7
+ description: 从数学公式或代码片段快速构建并验证 Ascend NPU 核函数
@@ -0,0 +1,7 @@
1
+ id: ops-direct-invoke
2
+ dir: plugins-official/ops-direct-invoke
3
+ displayName: AscendC Kernel 直调
4
+ aliases: [ops-direct, ascendc-direct, direct, kernel]
5
+ skills: 16
6
+ agents: 3
7
+ description: <<<>>> 直调全流程:环境→设计→开发→审查→性能验收
@@ -0,0 +1,7 @@
1
+ id: ops-registry-invoke
2
+ dir: plugins-official/ops-registry-invoke
3
+ displayName: AscendC 算子注册调用
4
+ aliases: [ops-registry, ascendc-registry, registry]
5
+ skills: 12
6
+ agents: 4
7
+ description: 生产级 ACLNN 注册算子全流程:代码→UT/ST→上库
@@ -0,0 +1,7 @@
1
+ id: pypto-op-orchestrator
2
+ dir: plugins-official/pypto-op-orchestrator
3
+ displayName: PyPTO 算子开发
4
+ aliases: [pypto, pytorch]
5
+ skills: 8
6
+ agents: 3
7
+ description: PyPTO Python API 算子全流程开发,覆盖需求理解、API 探索、实现与调优
@@ -0,0 +1,7 @@
1
+ id: tilelang-op-orchestrator
2
+ dir: plugins-official/tilelang-op-orchestrator
3
+ displayName: TileLang 算子开发
4
+ aliases: [tilelang]
5
+ skills: 9
6
+ agents: 3
7
+ description: TileLang Python DSL + @tilelang.jit 算子开发(支持 Developer/Expert 双模式)
@@ -0,0 +1,7 @@
1
+ id: torch-compile
2
+ dir: plugins-official/torch-compile
3
+ displayName: torch.compile 图模式
4
+ aliases: [torch, compile, graph]
5
+ skills: 6
6
+ agents: 1
7
+ description: NPU 图模式 npugraph_ex 配置、脚本迁移、编译诊断与自定义算子入图
@@ -0,0 +1,8 @@
1
+ id: triton-op-generator
2
+ dir: plugins-official/triton-op-generator
3
+ displayName: Triton 算子开发
4
+ script: install.sh
5
+ aliases: [triton]
6
+ skills: 6
7
+ agents: 1
8
+ description: Triton-Ascend 算子 6 阶段自动生成与优化(描述→代码→验证→优化)
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@cannbot-ai/install-helper",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Install Helper - Interactive installer for CANN operator development skills",
5
5
  "type": "module",
6
6
  "bin": {
7
- "install-helper": "./dist/index.js"
7
+ "install-helper": "./dist/index.js",
8
+ "ihelper": "./dist/index.js"
8
9
  },
9
10
  "scripts": {
10
11
  "build": "tsup",