Commit Graph

159 Commits

Author SHA1 Message Date
Shantur Rathore
37a47699e3 refine thinking part filtering 2025-10-30 16:31:13 +00:00
Shantur Rathore
cf3f5a1209 Standardize tool call markdown rendering 2025-10-30 15:48:14 +00:00
Shantur Rathore
fb85fcb3f3 Hide empty assistant messages until content arrives 2025-10-30 14:47:51 +00:00
Shantur Rathore
7e25f20e74 Disable macOS spellchecker and simplify reactive lists 2025-10-30 14:40:37 +00:00
Shantur Rathore
4dbb9c1d99 Optimise log stream 2025-10-30 13:21:35 +00:00
Shantur Rathore
4f583b12fe fix: reuse keys for tabs and sessions 2025-10-30 11:40:13 +00:00
Shantur Rathore
476834dab2 Hardcode dark theme 2025-10-30 09:55:18 +00:00
Shantur Rathore
c854ee0659 Session names 2025-10-30 00:38:52 +00:00
Shantur Rathore
f95b61fc5d chore: disable spellcheck in renderer inputs 2025-10-30 00:22:08 +00:00
Shantur Rathore
41843de5e0 fix: route escape abort through busy stub 2025-10-30 00:21:10 +00:00
Shantur Rathore
7542110120 refactor: restructure session sidebar layout 2025-10-29 22:01:17 +00:00
Shantur Rathore
c3504266fa fix: persist session scroll state across tabs 2025-10-29 19:12:18 +00:00
Shantur Rathore
a522e9f45b feat: auto-scroll message stream on change detection 2025-10-29 16:07:05 +00:00
Shantur Rathore
e406c9f76d refactor: replace session tabs with sectioned list 2025-10-29 11:46:59 +00:00
Shantur Rathore
30992fbf48 fix: align new-session styling and improve dark theme startup 2025-10-29 00:44:51 +00:00
Shantur Rathore
317d076117 fix: advanced settings full width, remove incorrect create session button, center browse folders text 2025-10-28 21:58:24 +00:00
Shantur Rathore
3937ced8f7 add: button-secondary class with design tokens for consistent secondary button styling 2025-10-28 21:54:30 +00:00
Shantur Rathore
e84cab5527 fix: UI improvements with design tokens - theme switching, full width settings, visible buttons, and delete icons 2025-10-28 21:53:42 +00:00
Shantur Rathore
b7b626ba4c refactor: convert inline styles to token-based classes in list components 2025-10-28 21:44:52 +00:00
Shantur Rathore
47852df9d7 fix: ensure full width highlighting for list items in sessions and folders 2025-10-28 21:42:39 +00:00
Shantur Rathore
70fe2cab01 fix: properly encode Unicode text in base64 attachments 2025-10-28 21:36:16 +00:00
Shantur Rathore
311c1bcd76 chore: migrate remaining ui to token utilities 2025-10-28 21:22:19 +00:00
Shantur Rathore
d473c73771 refactor: restyle chips via tokens 2025-10-28 20:18:36 +00:00
Shantur Rathore
d5144da630 refactor: restyle markdown via tokens 2025-10-28 20:11:05 +00:00
Shantur Rathore
bd3a65fc59 refactor: restyle panels via tokens 2025-10-28 20:09:19 +00:00
Shantur Rathore
176a227103 refactor: restyle command palette via tokens 2025-10-28 20:06:38 +00:00
Shantur Rathore
7231adbbb4 refactor: restyle selectors via tokens 2025-10-28 20:03:32 +00:00
Shantur Rathore
869b704a96 refactor: restyle pickers via tokens 2025-10-28 20:00:40 +00:00
Shantur Rathore
f044043e85 refactor: restyle message stream via tokens 2025-10-28 19:52:07 +00:00
Shantur Rathore
a541f79910 refactor: restyle tab headers via tokens 2025-10-28 19:47:05 +00:00
Shantur Rathore
2d3815ec33 refactor: restyle prompt input via tokens 2025-10-28 19:43:24 +00:00
Shantur Rathore
8f27a2d594 refactor: restyle message item via tokens 2025-10-28 18:58:05 +00:00
Shantur Rathore
28fb233907 feat: define typography tokens 2025-10-28 18:55:48 +00:00
Shantur Rathore
76d75a89c5 feat: migrate color tokens 2025-10-28 18:53:47 +00:00
Shantur Rathore
3b166da8f1 chore: scaffold style tokens 2025-10-28 18:48:46 +00:00
Shantur Rathore
1ce5b125a9 Expand dark theme coverage across client UI 2025-10-28 18:19:17 +00:00
Shantur Rathore
2c46b7476b Broaden code fence detection and default to text 2025-10-28 16:48:50 +00:00
Shantur Rathore
d743ebda29 Improve markdown rendering and syntax highlighting 2025-10-28 16:42:23 +00:00
Shantur Rathore
d18e44f721 Cache markdown render output per message part 2025-10-28 14:41:09 +00:00
Shantur Rathore
6597783e85 Stabilize message stream rendering caches 2025-10-28 13:48:56 +00:00
Shantur Rathore
79e4931b28 Precompute message display parts and pause scroll handling 2025-10-28 12:10:43 +00:00
Shantur Rathore
3a15ba7f76 Optimize streaming updates and clear optimistic parts 2025-10-28 11:19:19 +00:00
Shantur Rathore
7a91f4fd26 Track session metrics per session 2025-10-27 15:48:29 +00:00
Shantur Rathore
39e653e896 SessionInfo calculates only when messages are updated 2025-10-27 11:53:27 +00:00
Shantur Rathore
030fc4986e Remember last used binary and show environment variables 2025-10-26 11:30:29 +00:00
Shantur Rathore
0b26ffd97d Add environment variables configuration to OpenCode instances
- Add environment variables editor in advanced settings
- Store environment variables in global preferences
- Pass environment variables to OpenCode processes when spawning
- Display environment variables in instance information and server logs
- Fix system PATH binary handling for 'opencode' command
- Show detailed environment variable values in startup logs
- Save and restore last used binary across app restarts
- Add system PATH binary to recent binaries list when used

Features:
- Environment variables editor with add/remove functionality
- Persistent storage of environment variables across sessions
- Real-time display of active environment variables in logs
- Instance information shows configured environment variables
- Proper handling of system PATH vs custom binary paths
- Last used binary persistence and automatic restoration
2025-10-26 10:48:47 +00:00
Shantur Rathore
f63a4b3754 Add OpenCode binary selection with version detection
- Add binary selector component with dropdown and validation
- Support custom OpenCode binary paths and system PATH binary
- Async version checking for all binaries when selector opens
- Store recent binaries with timestamps and version info
- Enhanced instance creation to use selected binary
- Improved storage system for binary preferences
- Fixed validation to handle system PATH binaries properly
2025-10-26 10:26:32 +00:00
Shantur Rathore
f4a664bfe7 Migrate from IndexedDB to file-based storage with cross-instance sync 2025-10-25 20:21:52 +01:00
Shantur Rathore
c4a8a54bd7 Add context window percentage and subscription model detection to session info 2025-10-25 18:41:15 +01:00
Shantur Rathore
c01a7e7315 Add session tokens/cost display to status bar like TUI
- Add utility functions to calculate and format session info from messagesInfo
- Display tokens and cost on left side of status bar
- Center Command Palette text in status bar
- Format matches TUI: '110K • /bin/sh.42'
- Updates in real-time as messages are processed
2025-10-24 23:55:12 +01:00