* refactor(fsext): improve hierarchical ignore handling and consolidate file exclusion logic
- Refactor FastGlobWalker to use directoryLister for consistent ignore handling
- Add ShouldExcludeFile function for unified file exclusion checking
- Add WalkDirectories function for directory traversal with ignore support
- Improve directory pattern matching by checking both with and without trailing slash
- Add comprehensive tests for hierarchical ignore behavior and common patterns
- Remove direct dependency on go-gitignore in favor of existing directoryLister implementation
π Generated with Crush
Co-Authored-By: Crush <crush@charm.land>
* fix: improvements
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* chore: t.Context()
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Crush <crush@charm.land>
Carlos Alexandro Becker
and
Crush
created
442867d
chore: bump bubbletea/ultraviolet to enable bracketed paste on windows (#1003)
Click to expand commit body
This trades enhanced keyboard with bracketed paste on Windows. This is due to some limitations in the Windows Console API and VT input mode and bracketed paste.
913ea55
fix(openrouter): fix api key validation for openrouter (#997)
Click to expand commit body
`/models` is accessible for everyone on OpenRouter, without the need for
any authorization. The `Authorization: Bearer *` was basically always
ignore by their API.
Using a different private API to validate the key for OpenRouter.
* refactor: home.Dir, home.Short, home.Long
Centralized all home-related operations in a package and removed a bunch
of repeated code all over the place.
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* test: more cases
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: more places
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* test: fix on windows
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* test: fix
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* test: fix
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
3b9babb
fix(lsp): simplify init/ping, store capabilities (#713)
Click to expand commit body
* fix(lsp): simplify init/ping
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* feat(lsp): store server capabilities
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(lsp): improve init
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(lsp): cancel request id
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
40599a0
fix(filepicker): general fixes to size and position
Click to expand commit body
* The image and dialog are now rendered at a fixed height. Before, the
height could change as you navigate, which did not look well in
practice.
* We'll now hide the preview if the terminal height is not enought for
it.
* Better position. Before, in some scenarios the dialog was been rendered
too close to the bottom, instead of centered.