imtoagent 0.3.1 → 0.3.2
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/modules/cli/setup.ts +2 -2
- package/package.json +1 -1
package/modules/cli/setup.ts
CHANGED
|
@@ -367,10 +367,10 @@ export async function runSetupWizard(): Promise<void> {
|
|
|
367
367
|
const existingIdx = bots.findIndex(b => b.name === botName);
|
|
368
368
|
if (existingIdx >= 0) {
|
|
369
369
|
bots[existingIdx] = bot;
|
|
370
|
-
console.log(`✅ 已替换: ${
|
|
370
|
+
console.log(`✅ 已替换: ${botName}`);
|
|
371
371
|
} else {
|
|
372
372
|
bots.push(bot);
|
|
373
|
-
console.log(`✅ 已添加: ${
|
|
373
|
+
console.log(`✅ 已添加: ${botName}`);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
// 是否继续添加
|