Commit log

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

Andrey Nering created

04d9ea3 ci: disable `dependabot-sync`

Click to expand commit body
Closes #809
Closes charmbracelet/meta#232

Andrey Nering created

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

Charm created

12dda01 ci(issue-labeler): add `area: onboarding`

Andrey Nering created

59a0526 ci(goreleaser): `go_version` should be an input and not a secret

Andrey Nering created

930c966 v0.6.3

Andrey Nering created

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

Andrey Nering created

532b473 refactor: remove duplicated `emerge` entry

Andrey Nering created

5be56ec feat: add `IsSubset` helper

Click to expand commit body
This should probably be moved into `x`.

Andrey Nering created

2d2ee7f refactor: have shorter argument name

Andrey Nering created

9eb207f refactor: migrate bool to empty struct for lower memory usage

Andrey Nering created

5e0fc2d ci(issue-labeler): add `security` label

Andrey Nering created

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>

Evan created

2437feb fix(llm): log error when retrying (#781)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

ff5d689 chore(deps): bump github.com/charmbracelet/catwalk from 0.4.10 to 0.4.12 (#816)

Click to expand commit body
Bumps [github.com/charmbracelet/catwalk](https://github.com/charmbracelet/catwalk) from 0.4.10 to 0.4.12.
- [Release notes](https://github.com/charmbracelet/catwalk/releases)
- [Changelog](https://github.com/charmbracelet/catwalk/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/charmbracelet/catwalk/compare/v0.4.10...v0.4.12)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/catwalk
  dependency-version: 0.4.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

63f775b chore(deps): bump google.golang.org/genai from 1.19.0 to 1.20.0 (#818)

Click to expand commit body
Bumps [google.golang.org/genai](https://github.com/googleapis/go-genai) from 1.19.0 to 1.20.0.
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.19.0...v1.20.0)

---
updated-dependencies:
- dependency-name: google.golang.org/genai
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

5a99685 chore: fix `golangci-lint` locally (#815)

Click to expand commit body
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.

Andrey Nering created

117c6b6 fix: Update erro msg for bash tool (#803)

Sainadh Devireddy created

410914d chore(legal): @sainadh-d has signed the CLA

Charm created

815d981 chore(legal): @marcosktsz has signed the CLA

Charm created

01d2a12 chore: auto-update generated files

actions-user created

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.

Andrey Nering created

c5c8bfd feat: create `.crush/.gitignore` automatically

Click to expand commit body
Closes #588
Closes #254

Andrey Nering created

9bc0e10 ci: update winget configs, LICENSE.md (#597)

Carlos Alexandro Becker created

fd4baa4 chore: set commit authors to @charmcli (#614)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

915fda5 chore(taskfile): set `CGO_ENABLED=0` by default

Andrey Nering created

6159e08 chore(legal): @lpmitchell has signed the CLA

Charm created

0c9ddd4 test: simplify

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

a9ea0d6 test: use synctest

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

d087ca3 ci: update golangci-lint version to v2.4 which supports go 1.25

Andrey Nering created

6a4398e chore(go): upgrade to go 1.25 and enable `GOEXPERIMENT=greenteagc`

Andrey Nering created

2eaad51 fix: remove timout

Kujtim Hoxha created

5f67a58 chore(legal): @uri has signed the CLA

Charm created

8b12e09 fix(lint): correct shadowed variable

Christian Rocha created

6a29441 chore: remove extraneous comment

Christian Rocha created

169b63f fix(keyboard-input): operate on characters, not bytes

Christian Rocha created

1bc41c8 fix(tui): guard against panics in map member access

Christian Rocha created