@electerm/electerm-react 1.51.21 → 1.60.6

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.
@@ -10,7 +10,8 @@ import {
10
10
  checkedKeysLsKey,
11
11
  expandedKeysLsKey,
12
12
  resolutionsLsKey,
13
- localAddrBookmarkLsKey
13
+ localAddrBookmarkLsKey,
14
+ aiChatHistoryKey
14
15
  } from '../common/constants'
15
16
  import * as ls from '../common/safe-local-storage'
16
17
  import { debounce, isEmpty } from 'lodash-es'
@@ -103,6 +104,12 @@ export default store => {
103
104
  }).start()
104
105
 
105
106
  autoRun(() => {
107
+ ls.setItemJSON(aiChatHistoryKey, store.aiChatHistory)
108
+ return store.aiChatHistory
109
+ }).start()
110
+
111
+ autoRun(() => {
112
+ store.updateBatchInputSelectedTabIds()
106
113
  const tabs = store.getTabs()
107
114
  const { activeTabId } = store
108
115
  const tab = tabs.find(t => t.id === activeTabId)
@@ -112,7 +119,7 @@ export default store => {
112
119
  window.store.currentLayoutBatch = tab.batch
113
120
  }
114
121
  if (tab && store.rightPanelVisible) {
115
- window.store.openInfoPanel()
122
+ window.store.openInfoPanelAction()
116
123
  }
117
124
  return store.activeTabId
118
125
  }).start()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@electerm/electerm-react",
3
- "version": "1.51.21",
3
+ "version": "1.60.6",
4
4
  "description": "react components src for electerm",
5
5
  "main": "./client/components/main/main.jsx",
6
6
  "license": "MIT",