@cannbot-ai/install-helper 0.0.2-beta.60 → 0.0.2-beta.62
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 +3 -0
- package/dist/index.js.map +1 -1
- package/dist/install.ps1 +14 -13
- package/dist/locales/en_US.json +1 -0
- package/dist/locales/zh_CN.json +1 -0
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -159,6 +159,7 @@ var zh_CN_default = {
|
|
|
159
159
|
loading_plugin_data_complete: "\u63D2\u4EF6\u6570\u636E\u52A0\u8F7D\u5B8C\u6210",
|
|
160
160
|
loading_skills_list_failed: "Skills \u5217\u8868\u52A0\u8F7D\u5931\u8D25\uFF0C\u5C06\u4F7F\u7528\u5185\u7F6E\u6570\u636E",
|
|
161
161
|
repo_pull_failed: "\u65E0\u6CD5\u62C9\u53D6\u6700\u65B0\u5185\u5BB9\uFF0C\u4F7F\u7528\u7F13\u5B58\u6570\u636E",
|
|
162
|
+
repo_cloning: "\u9996\u6B21\u4F7F\u7528\uFF0C\u6B63\u5728\u514B\u9686 cannbot-skills \u4ED3\u5E93...",
|
|
162
163
|
config_corrupted: "\u914D\u7F6E\u6587\u4EF6\u5DF2\u635F\u574F\uFF0C\u4F7F\u7528\u9ED8\u8BA4\u914D\u7F6E",
|
|
163
164
|
record_corrupted: "\u5B89\u88C5\u8BB0\u5F55\u5DF2\u635F\u574F\uFF1A{file}",
|
|
164
165
|
skill_record_corrupted: "Skill \u5B89\u88C5\u8BB0\u5F55\u5DF2\u635F\u574F",
|
|
@@ -342,6 +343,7 @@ var en_US_default = {
|
|
|
342
343
|
loading_plugin_data_complete: "Plugin data loaded",
|
|
343
344
|
loading_skills_list_failed: "Failed to load Skills list, using built-in data",
|
|
344
345
|
repo_pull_failed: "Failed to pull latest updates, using cached data",
|
|
346
|
+
repo_cloning: "First-time setup: cloning cannbot-skills repository...",
|
|
345
347
|
config_corrupted: "Config file corrupted, using defaults",
|
|
346
348
|
record_corrupted: "Install record corrupted: {file}",
|
|
347
349
|
skill_record_corrupted: "Skill install record corrupted",
|
|
@@ -2353,6 +2355,7 @@ var RepositoryManager = class {
|
|
|
2353
2355
|
}
|
|
2354
2356
|
}
|
|
2355
2357
|
try {
|
|
2358
|
+
logger.info(t("repo_cloning"));
|
|
2356
2359
|
await execa2(
|
|
2357
2360
|
"git",
|
|
2358
2361
|
["clone", "--depth", "1", REPO_URL, targetPath],
|