@sliverp/qqbot 1.3.13 → 1.4.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.
package/bin/qqbot-cli.js CHANGED
@@ -67,7 +67,7 @@ function cleanupInstallation(appName) {
67
67
  console.log('未找到旧版本插件目录,跳过删除');
68
68
  }
69
69
 
70
- // 3. 清理配置文件中的 qqbot 相关字段(只删除 qqbot 相关的,不动其他字段)
70
+ // 3. 清理配置文件中的 qqbot 相关字段
71
71
  if (existsSync(configFile)) {
72
72
  console.log('清理配置文件中的 qqbot 字段...');
73
73
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sliverp/qqbot",
3
- "version": "1.3.13",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/config.ts CHANGED
@@ -76,7 +76,7 @@ export function resolveQQBotAccount(
76
76
  allowFrom: qqbot?.allowFrom,
77
77
  systemPrompt: qqbot?.systemPrompt,
78
78
  imageServerBaseUrl: qqbot?.imageServerBaseUrl,
79
- markdownSupport: qqbot?.markdownSupport,
79
+ markdownSupport: qqbot?.markdownSupport ?? true,
80
80
  };
81
81
  appId = qqbot?.appId ?? "";
82
82
  } else {