agentgui 1.0.1018 → 1.0.1019
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/package.json +1 -1
- package/site/app/js/app.js +10 -1
package/package.json
CHANGED
package/site/app/js/app.js
CHANGED
|
@@ -815,7 +815,16 @@ function sessionsColumn() {
|
|
|
815
815
|
onInput: (v) => { state.searchQ = v; if (v.trim().length >= 2) debouncedSearch(); else { state.searchHits = null; } render(); },
|
|
816
816
|
},
|
|
817
817
|
onNew: () => { navTo('chat'); newChat(); },
|
|
818
|
-
|
|
818
|
+
// On files/live/settings the rail still renders (keepSessionsTrack) and is
|
|
819
|
+
// captioned 'Browse a conversation's events', but loadSession() alone only
|
|
820
|
+
// populates state - nothing on those tabs renders events, so the click had
|
|
821
|
+
// zero visible effect. Land on history first so the caption's promise
|
|
822
|
+
// (browsing events) is kept from every tab the rail appears on.
|
|
823
|
+
onSelect: (s) => {
|
|
824
|
+
if (state.tab === 'chat') { resumeInChat({ sid: s.sid }); return; }
|
|
825
|
+
if (state.tab !== 'history') navTo('history', { writeHash: false });
|
|
826
|
+
loadSession(s.sid);
|
|
827
|
+
},
|
|
819
828
|
loading: state.tab === 'history' && !state.sessions.length && !state.historyError,
|
|
820
829
|
loadingText: state.historySlow ? 'Indexing your Claude history — the first load can take a minute…' : undefined,
|
|
821
830
|
error: state.historyError,
|