aico-cli 0.1.9 → 0.2.0
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.
|
@@ -13,7 +13,7 @@ import { join as join$1 } from 'node:path';
|
|
|
13
13
|
import { join, dirname, basename } from 'pathe';
|
|
14
14
|
import { fileURLToPath } from 'node:url';
|
|
15
15
|
|
|
16
|
-
const version = "0.
|
|
16
|
+
const version = "0.2.0";
|
|
17
17
|
|
|
18
18
|
function displayBanner(subtitle) {
|
|
19
19
|
const defaultSubtitle = "\u4E00\u952E\u914D\u7F6E\u4F60\u7684\u5F00\u53D1\u73AF\u5883";
|
|
@@ -4848,6 +4848,10 @@ class ConfigInstaller extends AbstractInstaller {
|
|
|
4848
4848
|
}
|
|
4849
4849
|
copyConfigFiles("zh-CN", false);
|
|
4850
4850
|
await this.copyAiPersonalityFiles();
|
|
4851
|
+
const workflowResult = await this.installWorkflows();
|
|
4852
|
+
if (!workflowResult.success) {
|
|
4853
|
+
this.log(`\u5DE5\u4F5C\u6D41\u5B89\u88C5\u5931\u8D25: ${workflowResult.message}`, "warning");
|
|
4854
|
+
}
|
|
4851
4855
|
const apiConfig = options.configData?.apiConfig;
|
|
4852
4856
|
if (apiConfig) {
|
|
4853
4857
|
const configuredApi = configureApi(apiConfig);
|