Kujtim Hoxha
426229f1c6
chore: small fix
2025-07-25 18:58:17 +02:00
Kujtim Hoxha
683bcae745
chore: add copy
2025-07-25 18:51:48 +02:00
Kujtim Hoxha
39f07727c9
chore: add suspend
2025-07-25 17:17:55 +02:00
Kujtim Hoxha
d4b5306536
chore: fix editor
2025-07-25 17:13:50 +02:00
Kujtim Hoxha
ef28817d42
chore: prevent new sessions when agent busy
2025-07-25 17:09:49 +02:00
Carlos Alexandro Becker
61ea243e48
feat: slices as well
2025-07-25 12:07:58 -03:00
Carlos Alexandro Becker
615c8d222f
fix: breaks
2025-07-25 11:40:04 -03:00
Carlos Alexandro Becker
b92d8800e3
refactor: use csync.Map instead of sync.Map
2025-07-25 11:25:45 -03:00
Kujtim Hoxha
f8aa4bf998
Merge remote-tracking branch 'origin/list' into tool_improvements
2025-07-25 16:01:23 +02:00
Kujtim Hoxha
ee45939529
chore: rename seq2
2025-07-25 16:00:18 +02:00
Kujtim Hoxha
e18a77f5df
chore: small fix
2025-07-25 15:58:02 +02:00
Carlos Alexandro Becker
13407ea593
fix: backtick
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-07-25 10:57:31 -03:00
Carlos Alexandro Becker
b053107615
refactor: use embed for prompts
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2025-07-25 10:55:19 -03:00
Kujtim Hoxha
0e88228a18
chore: remove log
2025-07-25 15:35:28 +02:00
Kujtim Hoxha
9c48f3226c
Merge remote-tracking branch 'origin/list' into tool_improvements
2025-07-25 15:15:20 +02:00
Kujtim Hoxha
0770b1209b
chore: fix completions
2025-07-25 15:05:51 +02:00
Kujtim Hoxha
c9fe2c590e
Merge remote-tracking branch 'origin/main' into list
2025-07-25 14:53:41 +02:00
Kujtim Hoxha
4a4099734b
Merge pull request #294 from charmbracelet/charm-434
...
feat(tui): completions: dynamically adjust width based on items
2025-07-25 13:32:25 +02:00
Kujtim Hoxha
29f1de2478
chore: experimental new coder prompt
2025-07-25 13:26:24 +02:00
Kujtim Hoxha
6808721f22
chore: improve permissions & edit tool
2025-07-25 13:26:24 +02:00
Kujtim Hoxha
05a3e9a030
chore: fix tests
2025-07-25 12:05:01 +02:00
Kujtim Hoxha
8c874293c9
Taciturnaxolotl/custom anthropic providers ( #300 )
...
* feat: support anthropic provider type in custom provider configs
* docs: fix provider configuration field name and add anthropic example
- Change `provider_type` to `type` in documentation to match actual struct field
- Add comprehensive examples for both OpenAI and Anthropic custom providers
- Include missing `api_key` field in examples for completeness
* feat: resolve headers to allow for custom scripts and such in headers
* feat: allow headers in the anthropic client
* feat: if api_key has "Bearer " in front then using it as an
Authorization header and skip the X-API-Key header in the anthropic
client
* feat: add support for templating in the config resolve.go
something like `Bearer $(echo $ENVVAR)-$(bash ~/.config/crush/script.sh)` would work now; also added some tests since the first iteration of this broke stuff majorly lol
* feat: add a system prompt prefix option to the config
---------
Co-authored-by: Kieran Klukas <me@dunkirk.sh >
Co-authored-by: Kieran Klukas <l41cge3m@duck.com >
2025-07-25 11:52:00 +02:00
Kujtim Hoxha
2911847c34
chore: update golden
2025-07-25 11:46:23 +02:00
Kujtim Hoxha
742bf1dc37
chore: fix selected item
2025-07-25 11:41:30 +02:00
Kujtim Hoxha
08e0d2b31f
Merge remote-tracking branch 'origin/main' into list
2025-07-25 11:37:51 +02:00
Kujtim Hoxha
adcf0e1b51
Merge pull request #284 from charmbracelet/tools-bg
...
perf: init tools and providers in background
2025-07-25 11:35:32 +02:00
Kujtim Hoxha
40423175e8
chore: remove provider tests on startup
2025-07-25 11:30:24 +02:00
Andrey Nering
582eeb0bbd
fix: hide info box when the initialization message is shown
2025-07-24 18:26:33 -03:00
Kujtim Hoxha
4451131bf1
chore: add mouse support
2025-07-24 23:26:22 +02:00
Andrey Nering
d6d5cbc68b
fix: fix panic on onboarding when no model is selected on the list
...
* `rm -r ~/.local/share/crush`
* run `crush`
* type something on the filter so no model is shown on the list
* press enter
* a panic happens
Fixes #285
2025-07-24 18:10:01 -03:00
Kujtim Hoxha
5ba54bc7ee
chore: lint
2025-07-24 22:21:34 +02:00
Kujtim Hoxha
4614a6cdcf
chore: safe slice
2025-07-24 22:19:01 +02:00
Kujtim Hoxha
bb668b1b0f
chore: rebase fix + sync map
2025-07-24 22:04:40 +02:00
Kujtim Hoxha
20d16fd2ac
chore: use new list in completions
2025-07-24 21:49:03 +02:00
Kujtim Hoxha
dcf069ea37
chore: grouped list
2025-07-24 21:48:20 +02:00
Kujtim Hoxha
6b3fe6aa20
chore: fix viewport offset
2025-07-24 21:46:44 +02:00
Kujtim Hoxha
ce47eb0fca
chore: change checksum algo
2025-07-24 21:46:44 +02:00
Kujtim Hoxha
2a13723ac3
chore: small improvements
2025-07-24 21:46:43 +02:00
Kujtim Hoxha
a6c4855fb5
chore: improve anim performance
2025-07-24 21:46:43 +02:00
Kujtim Hoxha
74f0b20970
wip: initial rework
2025-07-24 21:46:43 +02:00
Kujtim Hoxha
a80d6c609f
wip: add to messages list
2025-07-24 21:46:43 +02:00
Kujtim Hoxha
aab9b3b8d6
chore: implement new filterable list
...
- use this list in the sessions selector
2025-07-24 21:46:43 +02:00
Kujtim Hoxha
966d24da22
chore: test selection
...
- it should skip unselectable items in the middle
2025-07-24 21:46:43 +02:00
Kujtim Hoxha
3e18da56ec
chore: more tests
2025-07-24 21:46:43 +02:00
Kujtim Hoxha
99bbcce224
chore: initial implementation
2025-07-24 21:46:43 +02:00
Carlos Alexandro Becker
4509fe77d6
fix: sync
2025-07-24 16:30:50 -03:00
Ayman Bagabas
97290c82f2
fix(tui): completions: improve positioning and handling completions
...
With this, the completions popup will now reposition itself on
fitlering, resizing, and when the cursor moves. It also ensures that the
completions are correctly positioned relative to the textarea cursor
position.
2025-07-24 13:59:43 -04:00
Carlos Alexandro Becker
a4dee06140
fix: csync.Map
2025-07-24 11:58:56 -03:00
Carlos Alexandro Becker
ac782d1ff8
fix: prevent nil ptr
2025-07-24 11:51:00 -03:00
Carlos Alexandro Becker
69752719f0
fix: improve lazy slice
2025-07-24 11:50:45 -03:00