Repository navigation
v1.14.1
[1.14.1] — 2026-10-20
Five findings against 1.14.0: the file path in get_function/get_class records, exclusion defaults, a new [[paths]] not reaching serve, the hint on pattern=, and the freshness of a read copy.
Added
- A
pathfield in everyFunctionRecordandClassRecord.get_functionandget_classnow return the file path next toline_start/line_end: with several same-named bodies, line numbers alone address nothing, and the answer read as two functions in one module (in 1C that is a compile error). The body comes from the file named in the record; a separategrep_codeis no longer needed. - An
exclude_dirsfield inget_stats. The effective walk exclusion set — the built-in list plus the repository's.code-index/config.json. Withoutrepothe list sits at the top level of the answer, withrepoit is inside the repository entry. The built-in composition no longer has to be established by probing directories.exclude_dirs_notenext to it says the list is read from disk now: the daemon worker applies the configuration it read at its own start, so editingconfig.jsonneeds a daemon restart. - A
restart_requiredfield in thedaemon reloadanswer. When[[paths]]changed, the answer says outright thatserveholds its alias list from its own start:--pathmode needs aserverestart, federated mode needs/reload. - An
aliases_notefield inhealth. The same fact is named in the status summary: where the alias list came from and what to do after editingdaemon.toml. - An
mtimefield inread_file. Together withindexed_at(no longer stripped from the answer) it lets the caller compare the read copy with the disk and avoid applying an edit to stale text.
Fixed
pathis accepted as a synonym ofpath_globinget_function,get_classandfind_symbol: previously the key was dropped silently, the file filter did not apply, and the answer looked correct.- Built-in walk exclusions now include
obj,out,publish,.vs,.worktrees. A repository with several git worktrees used to be indexed mostly as its own copies (83 % of files from.worktreesin the reporter's measurement), and default search went through other branches.binis deliberately NOT part of the defaults: in Rust (src/bin), Python and Node (bin/cli.js) it is a directory with real code — a .NET repository, wherebinis output only, is better off adding it to its own.code-index/config.json. initprints the effective exclusion list, so the generated config shows what is skipped without editing it.unknown_repoexplains the alias snapshot: the message says the list was taken whenservestarted and editingdaemon.tomlalone does not change it.- An empty
grep_codeanswer names the cause. If the search went throughpattern=and the value contains regex metacharacters (|,(,[,.,{,?,\), the hint sayspatternis a literal substring and onlyregex=searches for an alternative. The oversize caveat now carries the number of files skipped by size (zero means size is not the reason) instead of a generic phrase.
Compatibility
- No reindex is required: the database schema and the storage format are untouched, the response fields are additive.
- The new exclusions apply from the next walk: copies already indexed from
obj/out/publish/.vs/.worktreesstay in the database until a full pass — such a repository needsindex --force, otherwise old records still reach the output.
Russian version of the changelog: CHANGELOG.md.
Full Changelog: v1.14.0...v1.14.1