62b8c0b
fix(lsp): fix multiple bugs in lsp client lifecycle and handlers (#2305)
Click to expand commit body
- Remove dead client from map when initialization fails to allow retry
- Use client's cwd field instead of os.Getwd() in openKeyConfigFiles
- Fix slog key-value pair in HandleServerMessage error logging
- Remove redundant hardcoded timeout in WaitForServerReady
The `callback` field was `nil` when the app returned early before
`SetCallback` was called, causing a segfault in `startServer`.
💘 Generated with Crush
Assisted-by: Claude Opus 4.6 via Crush <crush@charm.land>
dff955f
fix(mcp): gracefully handle Method not found for resources/list (#2239)
Click to expand commit body
Some MCP servers advertise resources capability but don't implement
resources/list, causing the entire MCP client to fail. This change
handles JSON-RPC error code -32601 gracefully by marking resources
as unavailable instead of failing.
Fixes #2227
0xarcher
created
c046219
chore: update lip gloss, bubble tea and bubbles to v2.0.0 (#2299)
Andrey Nering
created
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)