07d065d
refactor: simplify context value retrieval using generics
Click to expand commit body
- Introduce generic getContextValue helper function to eliminate code duplication
- Reduce code from 75 to 56 lines (25.3% reduction)
- Simplify Get*FromContext functions from ~13 lines to 2 lines each
- Add comprehensive test coverage (18 test cases) for context functions
- Maintain backward compatibility with existing API
24f99f0
fix(lsp): replace recursive fastwalk with filepath.Glob in root marker detection (#2316)
Click to expand commit body
hasRootMarkers used fsext.Glob which triggered a full recursive fastwalk
of the working directory with no gitignore filtering. In large JS
monorepos this walked millions of files in node_modules, causing 800%
CPU usage. Root markers are simple filenames (go.mod, package.json,
*.gpr, etc.) that only need a single-directory check.
🐘 Generated with Crush
Assisted-by: AWS Claude Opus 4.6 via Crush <crush@charm.land>
Austin Cherry
created
c6f8546
feat: add support for anthropic thinking effort (#2318)
3994293
chore(events): log when crush stats is called
Christian Rocha
created
655ce65
fix(ui): truncate status messages that would otherwise wrap (#2306)
Christian Rocha
created
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