zot/go.mod
Raymond Gasper 7ac6034d1d feat(tui): fuzzy @-file matching with toggleable recursive search
The @-mention file picker previously did a plain case-insensitive
substring match within a single directory, only reachable nesting via
arrow-key drill-down.

- Rank matches with sahilm/fuzzy (pinned v0.1.1 to avoid the go 1.24.5
  directive in v0.1.2, which would exceed CI's Go 1.23).
- Add a recursive mode that walks the whole project tree below cwd,
  matching cwd-relative paths (e.g. @foobar finds src/foo/bar.go),
  skipping heavy dirs (.git, node_modules, ...) and bounded by entry
  and depth caps. Arrow drill-down is disabled in this mode.
- Persist as recursive_file_suggest in config.json, surfaced as a
  /settings checkbox, plumbed through SettingsStore/InteractiveConfig/
  cli. Toggling live flips the picker without a restart.
- Tests for fuzzy ranking, recursive cross-dir match, heavy-dir
  pruning, and cache reset on toggle.
2026-06-09 15:44:47 -04:00

19 lines
436 B
Modula-2

module github.com/patriceckhart/zot
go 1.22
require (
github.com/alecthomas/chroma/v2 v2.23.1
github.com/google/uuid v1.6.0
github.com/mattn/go-runewidth v0.0.16
github.com/sahilm/fuzzy v0.1.1
golang.org/x/image v0.18.0
golang.org/x/sys v0.26.0
golang.org/x/term v0.25.0
)
require (
github.com/dlclark/regexp2 v1.11.5 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
)