3b9babb
fix(lsp): simplify init/ping, store capabilities (#713)
Click to expand commit body
* fix(lsp): simplify init/ping
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* feat(lsp): store server capabilities
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(lsp): improve init
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix(lsp): cancel request id
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
40599a0
fix(filepicker): general fixes to size and position
Click to expand commit body
* The image and dialog are now rendered at a fixed height. Before, the
height could change as you navigate, which did not look well in
practice.
* We'll now hide the preview if the terminal height is not enought for
it.
* Better position. Before, in some scenarios the dialog was been rendered
too close to the bottom, instead of centered.
472889c
fix: return nil for empty tools slice to handle omitzero properly (#861)
Click to expand commit body
The `anthropic.MessageNewParams` uses omitzero tag, but an empty slice is not
considered zero value. Return `nil` instead of empty slice when no tools are
provided to ensure proper omitzero behavior.
ๆ็ฎ (Jade Lin)
created
786286f
chore(legal): @khareyash05 has signed the CLA
ccf55b8
fix(windows): downgrade ultraviolet to fix non-win32 terminals on windows (#856)
Click to expand commit body
Terminals that do not support win32 input were not behaving correctly
on Windows. This includes Alacritty and Rio, for example.
Downgrading Ultraviolet temporarily until we manage to fix this bug
upstream.
This will also revert bracket paste on Windows.
Closes #845
Closes #847
Closes #851
da667ce
fix: scrolling the editor after paste (#466)
Click to expand commit body
* chore: bump charmbracelet/bubbles/v2 to v2.0.0-beta.1.0.20250801162210-c4068c642c90
This fixes a bug where the editor won't scroll after paste. See https://github.com/charmbracelet/bubbles/pull/822
* chore: bump bubbles to latest v2-exp
* chore: bump bubbles to latest v2-exp
Ayman Bagabas
created
26481f0
chore: bump bubbletea and ultraviolet to support win32 input mode (#838)
Click to expand commit body
With this, Windows users can now simply paste into Crush and bracketed
paste mode along with win32 input mode will just work converting escape
sequences and Windows API input events into proper events and decoding
them to UTF-8 and processing them correctly for paste.
Ayman Bagabas
created
b796464
ci(issue-labeler): add more words for some labels
f74abf2
feat(cmd): support overriding the data directory
Click to expand commit body
In some cases it might not be desirable to write `.crush` folders
everywhere, or to reuse `.crush` folders between different filesystem
locations.
This change makes it possible to specify `-D` / `--data-dir` to set a
different directory to load/create the project-specific data in.
Vincent Ambo
created
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