@gaiaworks/gaia-cli 0.4.6 → 0.4.7
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/README.md +1 -1
- package/package.json +1 -1
- package/scripts/install-wizard.js +3 -3
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ npx @gaiaworks/gaia-cli@latest install --mode external
|
|
|
25
25
|
npx @gaiaworks/gaia-cli@latest install --mode internal
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
未指定 `--mode` 时默认写入 `external`。安装脚本会执行 `gaia setup --mode <external|internal>`,用于初始化本地 `install_mode`
|
|
28
|
+
未指定 `--mode` 时默认写入 `external`。安装脚本会执行 `gaia setup --mode <external|internal>`,用于初始化本地 `install_mode`,并同步当前模式的 `gaia-shared` 与公共的 `gaia-skill-maker`。
|
|
29
29
|
|
|
30
30
|
安装时会根据 npm 包版本,从 OSS 的同版本目录下载当前平台对应的 `gaia-cli` 二进制。
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -171,14 +171,14 @@ function installWizard(args) {
|
|
|
171
171
|
run(npm.command, npm.args);
|
|
172
172
|
const globalBinDir = npmGlobalBinDir();
|
|
173
173
|
const setupCommand = setupCommandPath(binaryPath);
|
|
174
|
-
console.error('[gaia-cli] 正在安装 Gaia Skill: gaia-shared...');
|
|
174
|
+
console.error('[gaia-cli] 正在安装 Gaia 内置 Skill: gaia-shared, gaia-skill-maker...');
|
|
175
175
|
try {
|
|
176
176
|
run(setupCommand, ['setup', '--mode', mode], { stdio: 'ignore' });
|
|
177
177
|
} catch (error) {
|
|
178
|
-
console.error('[gaia-cli]
|
|
178
|
+
console.error('[gaia-cli] Gaia 内置 Skill 安装失败。');
|
|
179
179
|
throw error;
|
|
180
180
|
}
|
|
181
|
-
console.error('[gaia-cli] ✓ Gaia Skill
|
|
181
|
+
console.error('[gaia-cli] ✓ Gaia 内置 Skill 安装完成。');
|
|
182
182
|
const profilePath = ensurePathConfigured(globalBinDir);
|
|
183
183
|
const suffix = explicitMode ? `当前模式: ${mode}。` : '';
|
|
184
184
|
if (profilePath && globalBinDir && !pathContains(globalBinDir)) {
|