0c31481
fix: treat data directory the same in logs as elsewhere
Click to expand commit body
logs.go was the only place that explicitly joined
`Options.DataDirectory` with the working directory, everywhere else uses
it as-is.
Changing this means that we can consistently have a `DataDirectory` that
is either a relative or an absolute path and have things work just fine.
Vincent Ambo
created
8f45a84
fix(fsext): stop traversing if the directory owner changes
Andrey Nering
created
897796e
feat: add `fsext` function to get owner of directory
Andrey Nering
created
f3a8061
feat: if a `.crush` directory is present in a parent dir, use that
Click to expand commit body
Ref #254
Andrey Nering
created
84bd324
feat(fsext): add function to search for something in parent directories
Andrey Nering
created
172df74
refactor: move `HomeDir()` to `fsext` package
0798844
chore: update error message, this is not user fault
Andrey Nering
created
4c8d4a5
fix(onboarding): fix onboarding screen freezing when on click on it
Click to expand commit body
To reproduce:
* `rm -rf ~/.config/crush; rm -rf ~/.local/share/crush`
* Open `crush` on onboarding
* Notice how you can navigate using arrows, filter, etc
* Click on the screen
* Not the onboarding screen will stop processing events properly
(can't navigate, filter, choose model, etc)
Closes #812
Follow-up of #817
Andrey Nering
created
fc829ac
chore(legal): @ericcoleta has signed the CLA
74bcdaf
sec: remove 'go' from safe programs (#820)
Click to expand commit body
It could be used to prompt inject commands e.g. `go test -exec`.
Plus, we don't have other languages there, so I think we remove Go as
well.
Ideally, we could ask haiku if the command is read only or not, and ask
for perms based on that, but for now I think this will do.
Thanks Will Vandevanter for the report.
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
d86f739
fix: fix panic that can happen on sending a message (#817)
Andrey Nering
created
b449229
fix(shell): block `go test -exec` and ensure it works using equals
Andrey Nering
created
cbdd2e5
fix(shell): refactor arguments blocker to check for flags in any position
a02bd99
fix: Expose Required params to Anthropic API (#752)
Click to expand commit body
* chore: add build task and generates annotations
Added a build task for parity with other task commands.
Used the suggested build command from the README.
Also added "generates" annotations, which is useful as the
Taskfile grows.
Signed-off-by: Evan Wies <evan@neomantra.net>
* fix: expose Required params to Anthropic client
Signed-off-by: Evan Wies <evan@neomantra.net>
* fix: typo in cla.yml precomment -> prcomment
Signed-off-by: Evan Wies <evan@neomantra.net>
---------
Signed-off-by: Evan Wies <evan@neomantra.net>
For some reason, golangci-lint is not behaving too well after we upgraded
to Go 1.25 and enabled GreenTea GC.
After some debugging, I found out that we need to compile with Go 1.25
toolchain and run with the GreenTeaGC experiment _disabled_.
The build from Nix was built with Go 1.24, so that one doesn't work as
expected.
82c0aff
feat(lsp): allow to set custom env to lsp servers via config (#778)
bbrodriges
created
e2dc8e1
fix(tui): fix model filter placeholder text (#790)
Luke Mitchell
created
63e53f1
fix(tui): prevent dialog keymaps from being swallowed (#782)
Click to expand commit body
This change checks for the presence of a dialog before checking for
other handlers.
Now when pressing ctrl+p when a dialog is visible it will correctly
navigate up the list. This restores the standard terminal behavior of
using ctrl+n and ctrl+p.
How to reproduce:
1. ctrl+p to open for the command launcher
2. ctrl+n (or down) to move down one item
3. ctrl+p - command dialog closed
With this fix, step 3. will now correctly select the previous item in
the dialog.
Uri Gorelik
created
6c8b65a
chore: revert #25, do not ask llm update `.gitignore`
Click to expand commit body
We're now creating `.crush/.gitignore` automatically.