@cannbot-ai/install-helper 1.2.1 → 1.2.2-beta.1

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.
@@ -123,6 +123,15 @@
123
123
  "backup_restore_success": "Configuration restored",
124
124
  "backup_created": "Backup created",
125
125
  "backup_failed": "Backup creation failed, installation aborted to protect existing config",
126
+ "unowned_file_detected": "Configuration file not created by CANNBot detected",
127
+ "unowned_file_path": "File",
128
+ "unowned_file_warning": "This file was not installed by CANNBot. Replacing it overwrites its current content (a backup is created beside it).",
129
+ "unowned_file_keep": "Keep my file (skip replacing it)",
130
+ "unowned_file_replace": "Replace (auto backup)",
131
+ "unowned_preserved": "Kept existing file (not replaced): {file}",
132
+ "unowned_preserved_yes": "Non-interactive mode: kept existing file not created by CANNBot: {file}",
133
+ "unowned_backup_label": "User file",
134
+ "backup_restore_user_file": "Restore user file",
126
135
  "loading_skills_list": "Loading Skills list...",
127
136
  "loading_skills_list_complete": "Skills list loaded",
128
137
  "loading_plugin_data": "Loading plugin data...",
@@ -137,6 +146,7 @@
137
146
  "skill_record_corrupted": "Skill install record corrupted",
138
147
  "record_write_failed": "Install record write failed, uninstall may not work properly",
139
148
  "install_config_failed": "Failed to install config file: {error}",
149
+ "install_config_preserved": "Skipped config file (kept existing file): {file}",
140
150
  "install_clone_failed": "git clone failed: {url}, clone manually: git clone {url} {dir}",
141
151
  "install_link_config_failed": "Failed to link {name} to config directory",
142
152
  "install_link_project_failed": "Failed to link {name} to project directory",
@@ -123,6 +123,15 @@
123
123
  "backup_restore_success": "已恢复配置",
124
124
  "backup_created": "已创建备份",
125
125
  "backup_failed": "备份创建失败,安装已中止以保护现有配置",
126
+ "unowned_file_detected": "检测到非 CANNBot 安装的配置文件",
127
+ "unowned_file_path": "文件",
128
+ "unowned_file_warning": "该文件不是由 CANNBot 安装的。替换将覆盖其现有内容(会在文件旁创建备份)。",
129
+ "unowned_file_keep": "保留我的文件(跳过替换)",
130
+ "unowned_file_replace": "替换(自动备份)",
131
+ "unowned_preserved": "已保留现有文件(未替换): {file}",
132
+ "unowned_preserved_yes": "非交互模式:已保留非 CANNBot 安装的现有文件: {file}",
133
+ "unowned_backup_label": "用户文件",
134
+ "backup_restore_user_file": "恢复用户文件",
126
135
  "loading_skills_list": "正在加载 Skills 列表...",
127
136
  "loading_skills_list_complete": "Skills 列表加载完成",
128
137
  "loading_plugin_data": "正在加载插件数据...",
@@ -137,6 +146,7 @@
137
146
  "skill_record_corrupted": "Skill 安装记录已损坏",
138
147
  "record_write_failed": "安装记录写入失败,卸载时可能无法自动清理",
139
148
  "install_config_failed": "配置文件安装失败: {error}",
149
+ "install_config_preserved": "已跳过配置文件(保留现有文件): {file}",
140
150
  "install_clone_failed": "git clone 失败: {url},请手动克隆: git clone {url} {dir}",
141
151
  "install_link_config_failed": "链接 {name} 到配置目录失败",
142
152
  "install_link_project_failed": "链接 {name} 到项目目录失败",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cannbot-ai/install-helper",
3
- "version": "1.2.1",
3
+ "version": "1.2.2-beta.1",
4
4
  "description": "Install Helper - Interactive installer for CANN operator development skills",
5
5
  "type": "module",
6
6
  "bin": {
@@ -43,11 +43,11 @@
43
43
  "yaml": "^2.6.0"
44
44
  },
45
45
  "optionalDependencies": {
46
- "@cannbot-ai/install-helper-linux-x64": "1.2.1",
47
- "@cannbot-ai/install-helper-linux-arm64": "1.2.1",
48
- "@cannbot-ai/install-helper-darwin-x64": "1.2.1",
49
- "@cannbot-ai/install-helper-darwin-arm64": "1.2.1",
50
- "@cannbot-ai/install-helper-windows-x64": "1.2.1"
46
+ "@cannbot-ai/install-helper-linux-x64": "1.2.2-beta.1",
47
+ "@cannbot-ai/install-helper-linux-arm64": "1.2.2-beta.1",
48
+ "@cannbot-ai/install-helper-darwin-x64": "1.2.2-beta.1",
49
+ "@cannbot-ai/install-helper-darwin-arm64": "1.2.2-beta.1",
50
+ "@cannbot-ai/install-helper-windows-x64": "1.2.2-beta.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^22.0.0",