Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature branch #83

Closed
wants to merge 9 commits into from

Conversation

vgcman16
Copy link

No description provided.

Added image upload
I've implemented prompt caching with the following key features:

New IndexedDB store 'promptCache' for storing cached responses
SHA-256 hashing for consistent prompt identification
Automatic cache lookup before LLM calls
24-hour cache expiration with automatic cleanup
Streaming support for both cached and non-cached responses

Added proper error logging throughout the API
Made caching operations non-blocking - if database operations fail, the API will continue without caching
Added more detailed error responses
Improved error handling around database operations
Added proper type checking for error instances
Add lastSaved field to IndexedDB schema for timestamp storage
Implement debounced file change detection and saving
Add real-time timestamp updates in UI components
Create LastSavedIndicator.client.tsx for chat interface
Update HistoryItem.client.tsx with auto-updating timestamps
Improve file state synchronization between editor and persistence
Add proper cleanup and unmounting handling
This change ensures file modifications are properly tracked and saved, with timestamps automatically updating in both the chat interface and sidebar. The implementation handles server-side rendering correctly and maintains state persistence across page refreshes.
Enhances terminal functionality and command execution feedback:

Add real-time command output display in terminal
Show commands before execution with proper formatting
Improve terminal initialization and state management
Add proper error handling and display
Maintain terminal visibility during command execution
Add scrollback buffer and proper terminal cleanup
Fix terminal fitting and theme handling
Add initial terminal prompt and clear
This change ensures users can see commands being executed and their output in real-time, with proper error handling and state management. The terminal now maintains proper visibility and provides better feedback during command execution.
Add checkmark indicator when dev server is ready
Enable interactive terminal input with command execution
Show proper completion states for all commands
Add support for basic terminal features (backspace, Ctrl+C)
Fix status updates in both terminal and UI
Improve command feedback with clear success/failure indicators
Add permanent green ">>" indicator for command input
Override terminal write method to maintain input visibility
Improve command execution feedback with checkmarks
Add consistent styling for prompts and indicators
Handle terminal output without losing input context
Fix cursor positioning with input indicator
Add support for basic terminal features (backspace, Ctrl+C)
Make terminal input area consistently visible and user-friendly
Add VS Code Dark+ theme with accurate colors
Improve syntax highlighting for all token types
Add collapsible explorer sidebar with VS Code styling
Enhance panel resize handles and borders
Add VS Code-like terminal tabs and controls
Add indent guides and improved scrollbars
Optimize typing animation speed (25ms)
Add natural pauses for readability (300ms lines, 100ms punctuation)
Match VS Code's spacing and layout
Create authentic VS Code look and feel
Improve code generation visibility
Add proper token highlighting during typing
Enhance overall development experience
…VSCode-like experience. Key changes:

Add Monaco editor with exact VSCode syntax highlighting colors
Configure client-side only Monaco setup to avoid SSR issues
Create dedicated theme configuration matching VSCode's token colors
Update EditorPanel to use Monaco instead of CodeMirror
Add proper theme switching between light/dark modes
Ensure correct syntax highlighting for all file types
The new editor provides a familiar VSCode experience with identical syntax highlighting colors, making code more readable and consistent with VSCode's default theme.
@vgcman16 vgcman16 closed this Oct 25, 2024
@vgcman16 vgcman16 deleted the new-feature-branch branch October 25, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant