@wu529778790/open-im 1.7.1-beta.6 → 1.7.1-beta.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.
@@ -579,8 +579,16 @@ export const PAGE_SCRIPT = String.raw ` const platformDefinitions = [
579
579
 
580
580
  // Service buttons
581
581
  el("validateButton").onclick = validate;
582
- el("saveButton").onclick = save;
583
- el("startButton").onclick = startService;
582
+ el("saveButton").onclick = async () => {
583
+ // 先保存 JSON,再保存主配置
584
+ await saveClaudeSettings();
585
+ await save();
586
+ };
587
+ el("startButton").onclick = async () => {
588
+ // 启动前也顺带保存 JSON
589
+ await saveClaudeSettings();
590
+ await startService();
591
+ };
584
592
  el("stopButton").onclick = stopService;
585
593
 
586
594
  // Platform test buttons
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "1.7.1-beta.6",
3
+ "version": "1.7.1-beta.7",
4
4
  "description": "Multi-platform IM bridge for AI CLI tools (Claude, Codex, CodeBuddy)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",