You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PDF 按页选择性 OCR 与决策结果缓存:混合 PDF 仅对需要 OCR 的页面抽取子集并回拼;重复决策检索按索引版本与鉴权配置缓存结果,并支持可配置的 Hop-0 早停阈值。
English
MCP knowledge-base access: MCP clients receive read-only usage instructions, and folders supports limit / offset pagination so large directories no longer return every subfolder at once.
Remove and restore individual files from the knowledge base on desktop, web, or the CLI. The original file stays in place and remains excluded across restarts and reindexing. Restore it from File settings or run sag add with the same file path to index it again.
CHM help files can be added directly for search and answers, enabled by default with no EPUB conversion or component download. The table of contents becomes the heading structure, CHM files without one follow the home page and its links, and legacy encodings such as GBK and Big5 are supported. Images keep only their alternative text for now.
Windows system OCR fallback recognizes a few scanned PDF pages when Docling is unavailable: up to 20 pages per document, with pure scans over 8 pages falling back to Docling. It recognizes text only, without rebuilding layout, tables or formulas; install Docling and reindex to upgrade later.
Photo parsing with a vision model adds an independent switch for JPG, PNG, WebP, GIF, BMP, TIFF and HEIC/HEIF photos while PDFs keep the preferred parser. The default image prompt now describes the scene, main subjects, visible details and charts for semantic search.
Ask about photos in chat: the desktop and web composers accept pasted, dropped or selected photos, up to four per turn; the web workspace uploads them to the host first. Photos are sent to a vision-capable answer model with the question and stay available as thumbnails.
Searchable partial indexes with warnings: When a folder is partially indexed due to oversized files or watcher limits, the CLI can still search all indexed documents and reports skipped-file warnings in JSON output and stderr.
Parallel prefiltered exact and regex matching: sag -F and -E now use parallel traversal with whole-file prefiltering and raise the maximum result limit to 10,000.
Expanded file types and custom extensions: Added built-in support for SystemVerilog, Verilog, Hjson, FuseSoC, and common extensionless build files; sag add --types accepts any valid plain-text extension with NUL-byte binary sniffing.
Fast local CLI search and stdio MCP: Added --fast / --mode (local FTS5 search without a decision model) and --hops hop control to sag, along with sag mcp --stdio and the MCP match tool.
Code-aware tokenization and symbol headings: Source files are chunked along function, struct, class, and module declarations with symbol headings, alongside camelCase/snake_case sub-tokens and relative-path titles.
Selective per-page PDF OCR splicing and decision cache: Mixed PDFs send only OCR-needed pages and splice results back into page markers; repeated decision searches cache results per index version and credential config with optional Hop-0 early exit.