Branches (68)

main (default)

9e7546c chore(legal): @niklasschaeffer has signed the CLA

Charm created

crush-run

a9e57f8 chore(comments): add package-level content to agent package

Christian Rocha created

switch-model-keybind

73743c0 Apply suggestion from @Copilot

Click to expand commit body
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Carlos Alexandro Becker and Copilot created

refactor-simplify-home

32c130f refactor: simplify `home.Dir()`

Click to expand commit body
* Realistically, this should almost never fail.
* If it does, returning `""` probably makes more sense than a temp dir.
  Empty means Go will assume the working directory.
* Getting rid of `sync.Once` is good as it locks and this can be called
  on every render cycle. (Used to compute `~` on the sidebar, etc).

Andrey Nering created

charm-808-the-global-configuration-file-path-and-ephemeral-data-path

5fc9fe3 fix: rethink global config path on windows: use `$HOME/.config`

Click to expand commit body
We made a mistake when it comes to the global config path on Windows.
On macOS and Linux we use two different paths for data and config:
`XDG_DATA_HOME` and `XDG_CONFIG_HOME`. On Windows though, we were using
the same path for both data and config: `LOCALAPPDATA`. This caused
confusion and means the user has no separate dir to store config separate
of data.

In theory we could consider something as `APPDATA`, but honestly, I
propose that we just use `$HOME/.config`. It's easier to find and
consistent with how other tools work. Git and other terminal tools also
use `$HOME/.config`, so users are used to it.

This is not a breaking change because the old path will still load, so
existing setting will load as expected.

Fixes #1347

Andrey Nering created

crush-web-fetch

1cb4d76 chore: small change & regenerate tests

kujtimiihoxha created

transparent

9a4d1eb feat: auto enable on apple terminal

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

Carlos Alexandro Becker created

static

175acf2 feat: auto-enable if $SSH_TTY

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

Carlos Alexandro Becker created

no-confirm

0dc0a81 feat(tui): exit without confirmation

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

Carlos Alexandro Becker created

autoupdater

bf198ff fix: handle pre releases

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

Carlos Alexandro Becker created

initial-prompt

74a1e85 fix(prompt): reduce initial token usage by not sending file tree

Click to expand commit body
It can get quite big - the LLM can use the `ls` tool at any time to
build the tree, so I think this is probably a good tradeof, as it would
save a lot of prompt usage, especially on big projects.

Sending a prompt (`hi`) in Crush's root dir, no MCPs/LSPs, qwen coder 3:

17.9k tokens

11.7k tokens

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

Carlos Alexandro Becker created

config-merge

186b489 test: more tests

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

Carlos Alexandro Becker created

sqlite-pragma-wal

ae74383 fix(sqlite): remove WAL pragma

Click to expand commit body
Honestly I don't think we really need it.

We basically only append to the messages tables, the default journaling
seems enough to me.

Using the default will also allow to use SMB shares, and reduce IO.

Closes #473
See https://blog.sqlite.ai/journal-modes-in-sqlite
See https://sqlite.org/pragma.html

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

Carlos Alexandro Becker created

architecture-changes

1e0dbe7 fix: infinite loop

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

Carlos Alexandro Becker created

prompts

34fd531 Merge remote-tracking branch 'origin/main' into prompts

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

Carlos Alexandro Becker created

feat/attach-image-on-path-auto-complete-selection

c86f8fe fix(editor): handle past correctly

kujtimiihoxha created