Conversation
The fuzzy scorer and file filtering used by quick open, global search, AI mentions, and the file explorer had no direct tests, nor did the tab display name calculation that disambiguates buffers sharing a filename. Adds focused unit tests for fuzzyScore scoring tiers, density rejection, file ignoring rules, recent-file workspace filtering, and display name disambiguation including virtual buffers. Writing the path shortener tests surfaced a small bug: absolute paths produced an empty first segment after splitting on "/", so fallback display names rendered with a double slash like "..//workspace/x.ts". Empty segments are now dropped when collecting path segments.
…est versioning - File formatting: implement file-based output method for generic formatters (read formatted content from file when output_method != stdout) - Chat images: support pasting and sending images in AI chat (convert pasted images to ImageContent, preview before sending) - Parser cache: fetch version from manifest JSON and compute SHA-256 checksum (auto-populate version/checksum when caching parsers to IndexedDB)
- Fix processMessage call signature in ai-chat.tsx - Fix computeSha256 Uint8Array type in loader.ts - Run bun fix for formatting
IzonIcy
force-pushed
the
feat/file-formatting-chat-images-parser-cache
branch
from
September 21, 2026 00:18
82e56b6 to
386d111
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
src-tauri/src/commands/editor/format.rs: File-based formatting supportsrc/features/ai/components/input/chat-input-bar.tsx: Image paste handling and previewsrc/features/ai/components/chat/ai-chat.tsx: Handle images in processMessagesrc/features/ai/types/ai-chat.types.ts: Export ImageContent interface, update onSendMessage signaturesrc/features/editor/lib/wasm-parser/loader.ts: Manifest version fetching and SHA-256 checksum