feat: add full/sliced file reading and large file summarization - #24
Merged
Merged
Conversation
added 7 commits
September 18, 2026 00:35
…h comprehensive tests
…cessing and syncers
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
This PR implements full and line-sliced file retrieval (
read_file), automated and on-demand large file LLM summarization (summarize_file), and configurable thresholds in the settings UI.Key Changes
read_fileTool:start_line,end_line,max_lines) across watched paths (indexed_paths) and local storage (LOCAL_STORAGE_PATH)..., null bytes, symlink breakout) and binary file detection.read_fileand REST endpointGET /admin/api/files/read.summarize_fileTool:file_summaries.summary_text) and indexes them as vector documents (doc_type="summary") so large files remain discoverable via hybrid search.summarize_fileand REST endpointPOST /admin/api/files/summarize.GET/POST /admin/api/settings/files.FileSettingsfrontend component and rebuilt production bundle.Testing & Verification
FileSettings.test.tsx).