ivygrep

Bruno Volpato·BrunoVolpato.ivygrep

Local code search and relationship-aware context packs for coding agents

Search source by intent or exact identifiers and build bounded task packs from Git changes, definitions, callers, dependents, tests, configuration, and documentation. Source, queries, embeddings, and indexes stay local.

winget install --id BrunoVolpato.ivygrep --exact --source winget

Latest 1.4.0·November 27, 2026

Release Notes

Upgrade notes

• The index format is v31. ivygrep rebuilds each existing index once, with the usual indexing and vector enhancement costs. • ig --rm PATH exits 1 when PATH has no saved index. It exited 0 before. • An unknown --type, or MCP type, is an error. It returned no results before. • ig --interactive rejects search flags that it ignored before, such as --literal and --json. • MCP ig_search returns an error instead of building or expanding an index of the home directory, a directory that contains it, or the filesystem root. Build such an index with ig --add. • -n limits result files in CLI regex, reference, and caller searches. The same command can print more lines than before. • A search below an indexed plain directory uses the index of that directory. The Fixed section lists the exceptions.

Changed

• Refresh Rust and frontend dependencies.

Fixed

• ./test.sh --stress applies --filter, --nocapture, and --test-threads. • The stress fixture download uses its next source when a server requests a long retry delay. Such a delay blocked the scheduled cross-platform run until its time limit, and E2E Summary now fails when a platform job is cancelled. • install.sh names an accelerator archive that it cannot reach instead of reporting it as not available. It also selects the Apple Silicon archive from a shell that runs under Rosetta. • install.sh reports another ig that comes first on PATH. It no longer asks to add a directory that is already on PATH when IVYGREP_INSTALL_DIR ends in /. • The PowerShell installer keeps its strict mode, error preference, functions, and variables out of the session that runs irm ... | iex. • ig --web QUERY FILE runs the search. A scope that is a file, or a folder that no longer exists, stopped the page before its first search. • ig --web selects the innermost workspace that contains the path. A repository or worktree inside another tracked workspace opened the outer one and found nothing. • ig --web QUERY PATH reports a path that is not tracked and shows the ig --add command. It searched all other indexes without a notice. • Web literal search keeps a hit of every matching file, up to the result limit, beside a file with many matches. It reports the matches it leaves out of listed files. • The Web include and exclude filters accept brace alternatives, character classes, and escaped commas. Regex queries keep leading and trailing spaces. • The Web UI renders files and Markdown code blocks named like object members, such as constructor. One of them emptied the result list or the viewer. • Code copied from the Web viewer or from a snippet no longer contains Line N: labels, and query highlighting no longer changes characters such as <. • A Web UI result opens the file in the workspace that produced it after a switch to another workspace. Copied JSON describes the search that produced the results. • The Web UI URL keeps "All indices" and an empty query after a reload. • Links between workspace files in a Markdown preview open in the viewer. Other links open in a new tab. • The Web UI reports why a search failed, for example a lost session, and Refresh runs the query again. Warnings that do not mean partial results have their own title. • Identical Web results are shown once, so arrow keys and Pin reach every result. The Enter key of an input method no longer starts a search. • The Web explorer reports entries it does not list, opens files and searches folders whose names start or end with a space, and lists folders that contain names that are not UTF-8. • Malformed Web requests get a 400 or 431 response instead of a closed connection. • Search ranks a file such as src/handler_tests.rs as a test, like src/handler_test.rs. It competed with source files at full weight. • A file without read permission no longer fails an index run and no longer makes the workspace unsearchable. ivygrep skips the file with a warning, keeps the chunks that the index has for it, and tries again on the next run. This changes the rule of v1.3.1, where a permission error failed the update. Other I/O errors, an unreadable .gitignore or .ignore file, a file replaced by a symlink, and a missing workspace root still fail the update, but a failure before the first commit now leaves the index queryable. • ig --add finds sources that Git status cannot report as changed:the files of a submodule after git submodule update --init or deinit, a tracked directory that gets or loses its own .git entry, and a tracked file that was missing only while the first scan ran. The clean-checkout shortcut kept the older index until the next commit. • ig --add and ig --add --force rebuild an index whose workspace.json or index_incarnation file is damaged. They stopped with a JSON or UTF-8 error. • ig --doctor and searches no longer rebuild the index of a directory whose only text files are larger than 16 MiB. • A search answers while files in the workspace keep changing. After a daemon start or a first index, steady writes such as a log file kept the watcher in its startup state, and each search waited for the 60-second deadline and returned no results. • Concurrent daemon searches no longer remove each other's stores when an index needs a rebuild. --all-indices and Web searches could fail or return no results, and the rebuild could turn the watcher of the workspace off. • The daemon watches a plain directory again after another directory takes its place, for example after rm -rf and an extracted archive. Edits stayed out of search results while ig --status showed a live watcher. • A daemon that a query starts no longer keeps the standard input and the working directory of that query. producer | ig QUERY could wait forever, and a volume could not be ejected. • The watcher updates files in a directory named .ivygrep, which the indexer already included. • A daemon exits within seconds after its app home is deleted or replaced. Such a daemon recreated deleted indexes, and it later removed the socket of the daemon that replaced it. • On macOS, a process recognizes running watchers and workers that started with another locale or time zone. ig --status reported a live watcher as offline, and --wait-for-enhancement failed with background enhancement stalled after a second process started a second worker. • ig --status shows a hash worker, and a worker that waits for its start, after an earlier worker of the workspace finished. It also keeps the pause reason. A process that received the PID of a dead worker no longer blocks enhancement. • ig --add --force, ig --rm, and other index removals no longer fail with Directory not empty or No such file or directory while another process reads or updates the index. • An --all-indices search warns about each workspace that it skips because the index of that workspace is not complete. During a rebuild it returned no results without a message. • ig --status reports the error when the updates of a live watcher fail. It reported configured + live. • ig --doctor reports a burst of watcher events only while events wait. The finding stayed until the daemon restarted. • A query warns when the path of the daemon socket is too long for a Unix socket. Only daemon.log named the reason why no daemon and no watcher ran. • Search works inside a Git submodule. A submodule, a clone made with git clone --separate-git-dir, and a linked worktree of either are standalone workspaces. ivygrep took their Git directory for the main checkout:every search in a submodule failed with base index format incompatible, and a separate Git directory was indexed as a workspace. When ivygrep rebuilds the checkout, it removes that index. An index of a submodule no longer prevents an index of its parent repository. • .gitignore and info/exclude rules above a Git repository no longer apply to its files, as in Git. A rule such as * or .worktrees/** in a directory above a repository or a linked worktree left its index empty. A submodule inside a workspace also stops the rules of its parent repository, except the info/exclude rules of a workspace whose root has a .git file. Its own info/exclude rules apply. .ignore files above a repository and all rules above a plain directory still apply. An index with such rules above its repository rebuilds on first use. The next ig --add adds the submodule files that rules of the parent hid. • C and C++ symbol lookups return definitions only. A mention such as struct node *next no longer counts as a definition of node, so a common type no longer hides its own definition. typedef and using names and C++ unions are found. • Several definitions on one line, such as int getA() { ... } int getB() { ... }, are all found. • In C and C++ code that the grammar cannot parse because of a macro, types with a body are found. A typedef in such code can be missing. • Python module docstrings and imports no longer register words such as provides or import as symbols. • Previews of exact symbol hits show the definition line when a multi-line decorator or annotation precedes it. • Index format v31 rebuilds existing indexes once to pick up the symbol and chunking changes above. • Literal search keeps leading and trailing spaces in the pattern, also in the Web UI, so --literal 'if ' no longer matches diff. • The CLI and MCP warn that a literal or regex pattern that needs a line break has no results, because both modes search one line at a time. One trailing line break is ignored. • Regex context lines of UTF-16 files are decoded like the matching lines. • --callers and --refs search C, C++, and Objective-C together, and JavaScript and TypeScript together. A function defined in a .h file has its .cpp callers. • --callers finds Rust calls in macro arguments such as assert_eq!(parse(x), y), Rust macro invocations, Bash commands, Objective-C

Installer type: zip

x64—CA7ECFCCE6121B001E860BAA1414F29B4336A834DFF0E25BE541C615419EE755

Details

Homepage
https://bvolpato.github.io/ivygrep/
License
MIT
Publisher
Bruno Volpato
Support
https://github.com/bvolpato/ivygrep/issues
Moniker
ig

Tags

clicode-searchcoding-agentscontextdeveloper-toolslocal-firstmcpsearch

Older versions (8)

1.3.6
x64—0E778D99D61AB7B8CBB8254A49AEBE363B70555B04488EB3AB6B8421FD551F32
1.3.1
x64—AB44285F63D511618AA1E0F2F0E91376AEAEDE0BA16D760374B6327BFA1461B1
1.3.0
x64—9305FAAC55ADCC36425C6351A56E29BB3919FEB80A69DBC3B42E443D536D15EA
1.2.16
x64—1ACE53833F49B49F62BF72DC4BD796BB687E3C0222E87FB0E0CEEB3B75CF2EE0
1.2.14
x64—05FE5E423F4D3F46A123BCF65F1CFFB3F4E61FCD66F226ADA27089849877F92B
1.2.12
x64—CA1F0D8A3323EA2E1B1B91DEA0EBC04D851F16E8FBC66A40B9C3F1BF75B82E65
1.2.11
x64—EB401A1DCED3FE94BF9B8905BA07E07FFB6C191FE3F61397F6885375860211E3
1.2.6
x64—3B83FAFAA40A5221C0140D2D6C041AA7DAD8BF3ACAE5D1C9F01006D6DF86FF8A