Commit Graph

12 Commits

Author SHA1 Message Date
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
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
d473c73771 refactor: restyle chips via tokens 2025-10-28 20:18:36 +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
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
2c9a29ebc4 Fix invalid HTML structure in folder selection view
- Move delete button outside of folder selection button
- Prevents button nesting which is invalid HTML
- Fixes build warning about malformed HTML
2025-10-24 18:37:39 +01:00
Shantur Rathore
b0e636d781 Add recent folders feature with localStorage persistence
- Create FolderSelectionView component showing recent folders and browse option
- Store up to 10 recent folders in localStorage with timestamps
- Show folder selection view on app start when no instances exist
- Display folder selection modal when creating new instance from existing instance
- Add keyboard navigation (arrows, page up/down, home/end, enter, delete)
- Add ability to remove folders from recent list
- Track folder access time and display relative timestamps
- Close modal with Escape key or close button
- Update preferences store with recent folders management
2025-10-24 18:36:11 +01:00