dcc67b7
fix(app): fix goroutine leak, shutdown context, and model matching (#2298)
Click to expand commit body
- Add missing return after error send in RunNonInteractive goroutine
- Use context.WithoutCancel for shutdown to preserve tracing context
- Use strings.EqualFold for case-insensitive model matching
- Preserve LSP ConnectedAt across state transitions
huaiyuWangh
created
57a09a1
chore(deps): bump the all group with 3 updates (#2290)
Click to expand commit body
Bumps the all group with 3 updates: [charm.land/catwalk](https://github.com/charmbracelet/catwalk), [github.com/clipperhouse/displaywidth](https://github.com/clipperhouse/displaywidth) and [github.com/pressly/goose/v3](https://github.com/pressly/goose).
Updates `charm.land/catwalk` from 0.21.0 to 0.21.1
- [Release notes](https://github.com/charmbracelet/catwalk/releases)
- [Commits](https://github.com/charmbracelet/catwalk/compare/v0.21.0...v0.21.1)
Updates `github.com/clipperhouse/displaywidth` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/clipperhouse/displaywidth/releases)
- [Changelog](https://github.com/clipperhouse/displaywidth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/clipperhouse/displaywidth/compare/v0.10.0...v0.11.0)
Updates `github.com/pressly/goose/v3` from 3.26.0 to 3.27.0
- [Release notes](https://github.com/pressly/goose/releases)
- [Changelog](https://github.com/pressly/goose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pressly/goose/compare/v3.26.0...v3.27.0)
---
updated-dependencies:
- dependency-name: charm.land/catwalk
dependency-version: 0.21.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: github.com/clipperhouse/displaywidth
dependency-version: 0.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: github.com/pressly/goose/v3
dependency-version: 3.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
One of our indirect dependencies switched to "MIT-0". This is even more
permissive than MIT, so totally valid for us.
* https://github.com/segmentio/asm/pull/86
Check failure:
* https://github.com/charmbracelet/crush/pull/2290
* https://github.com/charmbracelet/crush/actions/runs/22323633569/job/64588201366?pr=2290
About the license:
* https://github.com/aws/mit-0
* https://opensource.org/license/mit-0
262c74e
fix(agent): fix minor bugs in coordinator and view tool (#2276)
Click to expand commit body
- Fix misleading error message: report "small model provider not configured"
instead of "large" when the small model provider is missing
- Fix error handling order in view tool: check readTextFile error before
UTF-8 validation to avoid validating partial/empty content
- Fix MCP tool filtering: move "MCP not allowed" log into correct branch
and break after tool is added to prevent duplicate additions
huaiyuWangh
created
6e019e9
chore(legal): @Jaylonnet has signed the CLA
54d924b
fix: more reliably detect windows drive (#2273)
Andrey Nering
created
c43192c
fix(agent): pass correct model config to small provider builder (#2236)
Click to expand commit body
When building the small model provider, we were incorrectly passing
largeModelCfg instead of smallModelCfg to buildProvider. This caused
isAnthropicThinking to check the wrong model config, preventing the
small model from enabling Anthropic thinking mode even when configured.
Fixes #2141
46ebd20
fix(ui): optimize assistant message rendering to improve performance (#2258)
Click to expand commit body
This commit attempts to fix an issue where the rendering of assistant
messages in the chat UI can become significantly degraded in
performance, especially for long messages. The root cause of the
performance degradation was identified as the use of lipgloss.Render for
applying styles to the message content, which involves wrapping logic
that can be expensive for long messages.
2656a18
fix(ui): cache blurred and focused renderings separately for assistant messages (#2252)
Click to expand commit body
Assistant messages can have long content, and rendering them can be
expensive. To improve performance, we cache the rendered content for
both blurred and focused states separately.
Ayman Bagabas
created
699c8d7
refactor: simplify some code by using `cmp.Or` (#2253)
Andrey Nering
created
44c7535
fix(deps): update `go-nativeclipboard` version to compile to RISC-V. (#2216)
db5e9cc
chore(deps): bump github/codeql-action in the all group (#2237)
Click to expand commit body
Bumps the all group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).
Updates `github/codeql-action` from 4.32.2 to 4.32.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/45cbd0c69e560cd9e7cd7f8c32362050c9b7ded2...9e907b5e64f6b83e7804b09294d44122997950d6)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.32.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
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
7fe592d
fix: make reasoning effort dialog smaller (#2247)
Click to expand commit body
Before, it was even wider than the commands dialog, which looked weird.
Andrey Nering
created
7ac4061
fix(lsp): properly remove clients from map on stop/kill
Click to expand commit body
- Delete clients from the map in StopAll and KillAll so they can be
recreated on restart
- Add StateDisabled to the state check to prevent re-initializing
disabled clients
- Remove duplicate callback invocation in startServer
💘 Generated with Crush
Assisted-by: Kimi K2.5 via Crush <crush@charm.land>
- used the synchronized client map
- lsps root markers don't need to be gitignore aware
- cache unexisting lsp binaries globally
closes #2223
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Carlos Alexandro Becker
created
540deef
fix(ui): toggle pills to follow scroll (#2218)
Click to expand commit body
This change ensures that when toggling the pills (e.g., to-dos) in the
UI, if the scroll follow mode is enabled, the chat will automatically
scroll to the bottom. This prevents the user from losing their place in
the chat when they expand or collapse the pills section.
Ayman Bagabas
created
ab475a4
chore(legal): @julienrbrt has signed the CLA
Charm
created
e471e75
fix(ui): early exit AtBottom() when totalHeight exceeds viewport height