claude-opencode-viewer 2.6.41 → 2.6.42

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/index-pc.html CHANGED
@@ -1637,6 +1637,9 @@
1637
1637
  modeSelect.value = msg.mode;
1638
1638
  document.getElementById('mode-label').textContent = '';
1639
1639
  }
1640
+ if (msg.running) {
1641
+ preloadData();
1642
+ }
1640
1643
  // 服务端无运行进程,显示启动对话框
1641
1644
  if (!msg.running && !startupDialogShown) {
1642
1645
  startupDialogShown = true;
package/index.html CHANGED
@@ -1621,6 +1621,9 @@
1621
1621
  }
1622
1622
  }
1623
1623
  else if (msg.type === 'state') {
1624
+ if (msg.running) {
1625
+ preloadData();
1626
+ }
1624
1627
  // 服务端还没启动进程时,查最近会话并自动恢复
1625
1628
  if (!msg.running && !mobileInitSent) {
1626
1629
  mobileInitSent = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-opencode-viewer",
3
- "version": "2.6.41",
3
+ "version": "2.6.42",
4
4
  "description": "A unified terminal viewer for Claude Code and OpenCode with seamless switching",
5
5
  "type": "module",
6
6
  "main": "server.js",