Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
e3240a2
fix(lsp): allow directories as root markers (#1117)
Click to expand commit body
* test(fsext): add GlobWithDoubleStar tests
Covers
- Basic file and directory matching
- Nested directory patterns
- Limit parameter behavior
- Modification time sorting
- Empty and non-existent directory handling
- Ignore pattern respect
Co-Authored-By: Crush <crush@charm.land>
* fix: allow directories as root markers
The removed line was preventing users from setting directories
as root markers, which should be allowed according to the
configuration specification.
Co-Authored-By: Crush <crush@charm.land>
* fix: normalize slashes for Windows glob matching
Normalize both paths and patterns to forward slashes for consistent
cross-platform glob matching:
- Normalize relative paths from filepath.Rel before pattern matching
- Normalize input glob patterns on Windows at function entry
- Fixes Windows test failures where backslashes don't match forward
slash patterns
Co-Authored-By: Crush <crush@charm.land>
* test(fsext): remove unnecessary GOOS check
Co-Authored-By: Crush <crush@charm.land>
* test(fsext): more concise error checking
Co-Authored-By: Crush <crush@charm.land>
* test(fsext): simplify assertions
Co-Authored-By: Crush <crush@charm.land>
* test(fsext): use deterministic mod times
Co-Authored-By: Crush <crush@charm.land>
* test(fsext): further simplifications
Co-Authored-By: Crush <crush@charm.land>
* test(fsext): improve readability
and yeet useless LLM comments
---------
Co-authored-by: Crush <crush@charm.land>
Amolith
and
Crush
created
a116bea
chore(legal): @Kaneki-x has signed the CLA
Charm
created
9fd7f48
chore(metrics): have a better identifier fallback (#1130)
you can use it as:
```sh
task release -- -m 'some short description'
```
and it'll:
- figure out the next tag using svu
- check if you're on main
- check branch is clean
- drop the nightly tag (it's recreated, so if you have an old one, `git push --tags` will complain about it)
- `git tag --sign <next version>` + any args you pass to release
- `git push --tags`
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
this seems to fix a panic I've been getting some times.
bubbletea eats part of the trace, so I'm not sure it's a race, but
judging by the code, and the fact that fastwalk creates multiple
goroutines, it makes sense.
i've been using this for the past few hours and haven't encountered the
error since.
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
09d8e75
fix(mcp/lsp): expand variable in commands (#1116)
Click to expand commit body
closes #806
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: taigr <taigr@users.noreply.github.com>
Add pretty-printed JSON parameters to MCP tool permission dialogs so
users can read more of the content.
Co-Authored-By: Crush <crush@charm.land>
Amolith
and
Crush
created
6b161d2
feat(config): allow custom providers of type gemini (#585)
Click to expand commit body
This change extends the provider configuration to allow users to define custom providers with `type: "gemini"`.
This enables connecting to any Gemini-compatible API by specifying its `base_url` and `api_key` within the `providers` section of `crush.json`. It supports complex setups, such as using a local proxy or a model-balancing service.
kslamph
created
3b6a375
feat: add alt/option+esc binding to current esc key behavior
Click to expand commit body
This mimics the behavior of Claude Code and allows folks who use
Crush from within a terminal emulator that captures the escape key
(like Nvim's built in terminal emulator) to use it.
* fix: disable providers
if we remove then from the list, they'll still show up because they
won't get merged with catwalk providers later on.
closes #1037
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(mcp): improve timeout errors
refs #970
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: improve
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
0da5e6b
feat(lsp): load defaults by either name or command (#1109)
Click to expand commit body
* fix(lsp): load defaults by name or command name
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(lsp): simplify
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
1f46a69
fix(grep): resolve Windows path parsing with null separation (#1095)
* fix(lsp): powernap load by name
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(mcp): expand command
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(lsp): expand command
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
701e550
feat(config): search`crush.json` recursively up from the working directory (#898)
- windows/arm/v7 was marked broken by the Go team
- add `-trimpath` to trim the `/home/etc` from logs
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>