1216 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
6da6500078 fix: mcp client must be started (#474)
* fix: mcp client must be started
* refactor: minor improvements
v0.2.0
2025-08-01 21:43:02 -04:00
Carlos Alexandro Becker
2a43184580 feat: grep should support gitignore/crushignore (#428)
* feat: support .crushignore as well as .gitignore
* docs: update
* refactor: simplify
* chore: fmt
* feat: grep should support gitignore/crushignore
* fix: small fixes
* fix: small fixes
* fix: ripgrep
* fix: rg
* fix: tst
* test: fixes
* refactor: organized code a bit
* fix: try
* fix: temp
* chore: lint

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-01 21:39:50 -04:00
Charm
ab7a093c8c chore(legal): @tabletcorry has signed the CLA nightly 2025-08-01 19:18:37 -03:00
Andrey Nering
8a1f4f6641 chore: add script o manually run issue labeler 2025-08-01 17:22:34 -03:00
Andrey Nering
822a050e90 ci(issue-labeler): have a single regexp per label to make it work 2025-08-01 17:13:54 -03:00
Andrey Nering
c84d166b2f ci(issue-labeler): temporarily enable issue body 2025-08-01 17:04:39 -03:00
Andrey Nering
bfa9bb2958 ci(issue-labeler): remove slash from labels 2025-08-01 17:00:03 -03:00
Andrey Nering
b7dec52d1f ci(issue-labeler): add os labels 2025-08-01 16:27:55 -03:00
Andrey Nering
54fc55facb ci(issue-labeler): check only title to be less error-prone 2025-08-01 16:27:36 -03:00
Andrey Nering
6709e9f105 ci(issue-labeler): fix workflow dispatch 2025-08-01 16:22:47 -03:00
Andrey Nering
4f3e41dc9f ci(issue-label): allow manual trigger 2025-08-01 16:14:34 -03:00
Andrey Nering
984f276a31 ci: add action to automate issue / pr labeling (#470) 2025-08-01 19:09:32 +00:00
Carlos Alexandro Becker
0e52ccd26a feat: debug logs request response details (#407)
* feat: debug logs request response details

closes #399

* fix: lint

* refactor: improvements

* fix: improvements

* fix: test

* fix: centralize body parsing

* fix: compatct
2025-08-01 15:26:05 -03:00
Carlos Alexandro Becker
cd3ef8dbd4 fix: do not init MCP client on every tool request (#459)
* fix: do not init mcp client on every call

Right now it inits each mcp client multiple times, one when discovering tools at startup, and then every time we call any tools.

This makes it so we reuse the client from startup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* wip

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* refactor: even better approach

* fix: unused param

* refactor: more improvements

* fix: if list tools fails, remove client

* fix: improve slice

* chore: smaller changes

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-01 15:22:47 -03:00
Charm
70f479e5a2 chore(legal): @spachava753 has signed the CLA 2025-08-01 14:49:45 -03:00
Peter Sanchez
c99034909d Use default permissions of 0600 for crush.json to help protect sensitive
data that is stored in plain text (api keys, etc.)

Fixes #411
2025-08-01 17:48:03 +02:00
Charm
3b8a8ef95c chore(legal): @SyedaAnshrahGillani has signed the CLA 2025-08-01 11:57:17 -03:00
Alvaro
15e1b3d3cf docs(readme): add openrouter environment variable (#451) 2025-08-01 14:41:43 +00:00
Kujtim Hoxha
d3f28ddd95 fix: handle code agent not initialized 2025-08-01 16:33:51 +02:00
Kujtim Hoxha
428d71a162 fix: fix mcp clients 2025-08-01 16:33:44 +02:00
Kujtim Hoxha
5b7951051d fix: improve path prefix checking reliability
- Replace HasPrefix implementation to use filepath.Rel instead of filepath.Abs
- More reliable method to determine if a path is within a prefix
- Returns false on error conditions
- Preserves same public API for external usage

This addresses review feedback about improving the path checking logic.
2025-08-01 16:33:34 +02:00
Kujtim Hoxha
2ddc453573 chore: refactor implementation 2025-08-01 16:33:34 +02:00
Kujtim Hoxha
3eed18432f fix: permissions path 2025-08-01 16:33:34 +02:00
Kira Kawai
b1b5851f23 fix(tui): fix background color of file view component (#349) 2025-08-01 10:39:59 -03:00
Carlos Alexandro Becker
931832c8ad ci: ignore chore(legal) in release notes
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-01 09:56:09 -03:00
Charm
5c6214d99c chore(legal): @bbrodriges has signed the CLA 2025-08-01 08:33:20 -03:00
Charm
ffd9b3ebc0 chore(legal): @alvaro17f has signed the CLA 2025-08-01 07:50:36 -03:00
Carlos Alexandro Becker
867484b46a refactor: move run to its own file 2025-08-01 08:04:30 +02:00
Carlos Alexandro Becker
e698239ace fix: lint noctx issues
ignored slog because in our case it doesn't matter.
2025-08-01 08:03:45 +02:00
Carlos Alexandro Becker
3e213e89aa chore: fmt 2025-08-01 08:03:31 +02:00
Carlos Alexandro Becker
ae421e29b0 refactor: simplify 2025-08-01 08:03:31 +02:00
Carlos Alexandro Becker
3ad5d5283a docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-01 08:03:31 +02:00
Carlos Alexandro Becker
5a6329cc34 feat: support .crushignore as well as .gitignore
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-01 08:03:31 +02:00
Ayman Bagabas
2c82ed2812 chore: bump charmbracelet/ultraviolet to v0.0.0-20250731212901-76da584cc9a5 v0.1.11 2025-07-31 17:30:15 -04:00
Charm
6d5d93705c chore(legal): @petersanchez has signed the CLA 2025-07-31 18:15:05 -03:00
Charm
f05adcb9bb chore(legal): @lmn451 has signed the CLA 2025-07-31 16:54:23 -03:00
Carlos Alexandro Becker
705790d336 fix: nil pointer in view (#403)
closes #397
2025-07-31 18:42:54 +02:00
Kujtim Hoxha
8248e4f649 fix: use anthropic provider for vertexAI (#398) 2025-07-31 18:40:54 +02:00
Charm
713a7f72a0 chore(legal): @steipete has signed the CLA 2025-07-31 12:40:17 -03:00
Charm
6ded0aeb42 chore(legal): @Djiit has signed the CLA 2025-07-31 12:02:01 -03:00
Charm
ace7ea670c chore(legal): @jedisct1 has signed the CLA 2025-07-31 11:39:33 -03:00
Andrey Nering
a7e7dada9b v0.1.10 v0.1.10 2025-07-31 11:34:30 -03:00
Carlos Alexandro Becker
3077dd58d6 ci: better changelog
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-07-31 11:27:30 -03:00
Andrey Nering
e69b513e1a fix(onboarding): fix y/n key press on model list and api key field (#402)
A bug on onboarding made it impossible to press "y" and "n" on
onboarding, on both the model list and the API key field.

This also means that on some terminals, like the Windows Terminal,
pasting an API key would supress all "y" and "n" chars present in the
key, because these terminal receives an even for each character being
pressed.
2025-07-31 10:57:31 -03:00
Carlos Alexandro Becker
0174951a46 ci: aur sources (#378)
* ci: aur sources

so users can install from source as well.

* Update .goreleaser.yml

* chore: go mod tidy

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: updates

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-07-31 10:13:02 -03:00
Kujtim Hoxha
52d459c477 chore: fix tests 2025-07-31 14:46:39 +02:00
Charm
82f8497031 chore(legal): @fluffypony has signed the CLA 2025-07-31 09:45:15 -03:00
Kujtim Hoxha
d2f7bb7cfe fix: fix vertex provider 2025-07-31 13:29:11 +02:00
Kujtim Hoxha
28b67f95ac fix: fix openrouter api v0.1.9 2025-07-31 11:55:15 +02:00
Kujtim Hoxha
12c2969c47 Merge pull request #371 from charmbracelet/issue-212
fix: panic in non-interactive mode when no providers set up
2025-07-31 09:05:06 +02:00