Commit Graph

3 Commits

Author SHA1 Message Date
KevIsDev
29a9f0bc79 fix: ensure file is saved before running action
- update file path examples in prompt
2025-06-25 12:29:17 +01:00
KevIsDev
335f7c6077 refactor: track additions and deletions in file history
- Add additions and deletions fields to FileHistory interface
- Calculate diff stats when creating/updating file history
- Use pre-calculated stats in UI instead of recalculating
- Add fallback for contextFiles to continue with the llm request in event of an error.
- Remove FileModifiedDropdown to its own component
- Add refreshAllPreviews class in previews store for refreshing previews on file change
- Add auto switch to preview once isStreaming goes from true to false
- Add actionType to files to now show whether a file is being created or updated and modified message-parser and artifact.tsx accordingly
2025-06-23 13:10:45 +01:00
KevIsDev
4d3222ee96 refactor: reorganize project structure by moving files to a more dev friendly setup
- Move stores/utils/types to their relative directories (i.e chat stores in chat directory)
- Move utility files to shared/utils
- Move component files to shared/components
- Move type definitions to shared/types
- Move stores to shared/stores
- Update import paths across the project
2025-06-16 15:33:59 +01:00