V0.12.3
Release Summary: amrita_core v0.12.3
Overview
This patch release focuses on dependency updates, stability improvements, and a minor enhancement to error messaging in the REACT loop. The most significant changes include the migration from fastmcp to fastmcp-slim with explicit client features, an update to amrita-sense, and a fix for stream queue termination to prevent timeout-related warnings.
Dependency Updates
Security & Compliance
- fastmcp → fastmcp-slim[client]: Replaced
fastmcpwith the slimmerfastmcp-slim[client]package (v3.4.4). This addresses security advisory GHSA-rww4-4w9c-7733 and reduces the overall dependency footprint by removing server-side components (e.g.,cyclopts,griffelib,uvicorn,websockets, etc.) that are not required for client-side usage. - amrita-sense: Updated from v0.4.3 → v0.4.5.1, bringing minor improvements and bug fixes from the upstream sense library.
Lock File Updates
uv.lockhas been refreshed to reflect the new dependency tree, including the removal of unused transitive dependencies:- Removed:
cyclopts,griffelib,jsonref,jsonschema-path,openapi-pydantic,pathable,pyperclip,pyyaml,uncalled-for,watchfiles,websockets, and others.
- Removed:
coverageupdated from v7.15.0 → v7.15.1 (dev/test dependency).
Bug Fixes
Stream Queue Termination
- Fixed a potential
TimeoutErrorduring queue finalization by adding explicitset_queue_done()handling inchat_object.py. - If a timeout occurs while writing the EOF marker, the system now force-overwrites
_queue_doneto prevent hanging or incomplete stream shutdowns, improving chat session cleanup reliability.
Enhancements & Other Changes
REACT Loop Error Messaging
- Improved error message in
REACT_COUNTERloop: theBreakLoopexception now includes a clear hint to "resetloop.called_countto 0 to continue," making it easier for developers to understand and handle counter limit breaches.
Internal API Refinement
- Updated the
ProcessMessagetool to use the correct internal I/O path:ctx.ctx.chat_object._interpreter.object_io.yield_response()→ ensures proper message handling within the agent's interpreter layer.
What's Changed
- Dependencies:
fastmcpreplaced withfastmcp-slim[client];amrita-senseupdated. - Stability: Improved stream queue termination to avoid timeout warnings.
- Developer Experience: Enhanced REACT counter limit error message for clarity.
Full Changelog
Refer to the commit diff for detailed code changes: [diff link]
Pull Requests
- fix: correct response method reference and enhance BreakLoop by @JohnRichard4096 in #119
- Fix: missed EOF markup by @JohnRichard4096 in #120
Note: This release does not introduce any breaking changes to the public API. Upgrading is recommended for improved security and stability.
Full Changelog: 0.12.2...0.12.3