This release of cagent brings significant improvements to file handling and processing capabilities. The most notable enhancement is the addition of comprehensive .gitignore support, allowing cagent to automatically respect your project's ignore patterns when analyzing codebases, which helps focus AI assistance on relevant files while excluding build artifacts, dependencies, and other non-essential content. The release also introduces smart binary file detection that prevents cagent from attempting to process non-text files, improving both performance and reliability when working with mixed-content repositories. Additionally, this version includes enhanced error handling and logging improvements that provide clearer feedback when operations encounter issues, making it easier to troubleshoot problems and understand what cagent is doing behind the scenes. These changes collectively make cagent more intelligent about which files to process and more transparent about its operations, resulting in faster, more accurate AI assistance for development tasks.
What's Changed
- Add log rotation for debug logs by @rumpl in #1372
- Bump dependencies by @dgageot in #1378
- Improve caching by @dgageot in #1375
- Allow user to enqueue messages by @stanislavHamara in #1374
- go mod tidy by @dgageot in #1381
- Add CurrentAgentInfo() to make it easier to not rely on the local runtime by @dgageot in #1382
- Small tui code improvements by @dgageot in #1380
- Tell gopher to call tools concurrently when possible by @dgageot in #1383
- Add some space before transfer task call by @dgageot in #1384
- Add/bedrock info by @egrosdou01 in #1385
- Fix Docker Desktop Socket Location for WSL2 by @simonferquel in #1386
- Add support for User config by @dgageot in #1387
- Optimize prompt caching by splitting system messages by @simonferquel in #1388
- Update jsonschema by @rumpl in #1389
- Unstuck some remote MCPs by @rumpl in #1377
- Send events for thinking traces on OpenAI models by @krissetto in #1394
- Enable selecting models in TUI based on available credentials by @krissetto in #1393
- Use Markdown to format welcome messages by @dgageot in #1400
- Pass message level costs in --remote mode and
cagent exec --jsonby @dgageot in #1396 - Restore reasoning content in TUI when loading a session by @krissetto in #1398
- Disable thinking for title generation by @krissetto in #1399
- Better model config defaults by @krissetto in #1395
- Add MCP elicitation support to TUI by @dgageot in #1401
/thinktoggle by @krissetto in #1402- Remove interleaved thinking if thinking is explicitly disabled by @krissetto in #1404
- Change the green color to be less fluo by @rumpl in #1410
- Allow disabling thinking via yaml with thinking_budget: 0 or none by @krissetto in #1411
- Forward events to the chat page when dialogs are open by @rumpl in #1409
- Simpler code by @rumpl in #1408
- Clear the todos once they are all done by @rumpl in #1405
- Remove the background from tool call icons and names by @rumpl in #1406
- Stop pushing things to the right by @rumpl in #1407
- Make sure cancelling a stream with ESC stops all spinners by @krissetto in #1413
- Collapsible reasoning in TUI by @krissetto in #1412
- Disable /think in the TUI when using non-reasoning models by @krissetto in #1403
- Loosen and fix skill validation by @rumpl in #1415
- Cleanup session state by @dgageot in #1416
- Fix name by @dgageot in #1417
- feat(bedrock): add prompt caching for supported models by @mfenderov in #1360
- Fix races by @rumpl in #1420
- feat(session): look for prompt files in both working dir and home folder by @dgageot in #1418
- Disable thinking if undefined on yaml configs < v4 by @krissetto in #1424
- Make it clearer which messages we tag with CacheControl by @dgageot in #1421
- Change triangle to [+] and [-] on thinking dropdown toggle by @krissetto in #1425
- More tui cleanup by @dgageot in #1427
- fix(mcp): ignore EOF during MCP initialization by @Pnkcaht in #1426
- Faster spinner by @dgageot in #1430
- Detect parent process death via stdin EOF by @trungutt in #1423
New Contributors
- @simonferquel made their first contribution in #1386
- @Pnkcaht made their first contribution in #1426
Full Changelog: v1.19.2...v1.19.3