Skip to content

Commit 9f00317

Browse files
grimmerkclaude
andcommitted
fix: guard null result + version 1.0.64 + Settings tooltip
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 99954e7 commit 9f00317

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.0.64
4+
5+
- Feat: show last assistant response for all sessions (not just active)
6+
37
## 1.0.63
48

59
- Fix: Terminal tab sessions correctly detected as CODEV (not parent terminal)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "CodeV",
33
"productName": "CodeV",
4-
"version": "1.0.63",
4+
"version": "1.0.64",
55
"description": "Quick switcher for VS Code, Cursor, and Claude Code sessions",
66
"repository": {
77
"type": "git",

src/popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ const PopupDefaultExample = ({
500500
</div>
501501
)}
502502
<div style={rowStyle}>
503-
<span style={labelStyle}>Session Preview</span>
503+
<span style={labelStyle} title="User prompt display mode. Assistant response (◀ blue text) always shown.">Session Preview</span>
504504
<select
505505
value={sessionDisplayMode}
506506
onChange={(e) => {

src/switcher-ui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ function SwitcherApp() {
383383
setSessions(sessionSearchValue.trim() ? filterSessionsLocally(newSessions, sessionSearchValue) : newSessions);
384384

385385
// Step 2: Load last assistant responses for all sessions (first 100)
386-
window.electronAPI.loadLastAssistantResponses(result.slice(0, 100)).then((responses: Record<string, string>) => {
386+
window.electronAPI.loadLastAssistantResponses((result || []).slice(0, 100)).then((responses: Record<string, string>) => {
387387
if (responses && Object.keys(responses).length > 0) {
388388
setAssistantResponses((prev: Record<string, string>) => ({ ...prev, ...responses }));
389389
}

0 commit comments

Comments
 (0)