Skip to content

V0.12.3

Choose a tag to compare

@JohnRichard4096 JohnRichard4096 released this 13 Jul 14:13
· 29 commits to main since this release
192f904

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 fastmcp with the slimmer fastmcp-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.lock has 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.
  • coverage updated from v7.15.0 → v7.15.1 (dev/test dependency).

Bug Fixes

Stream Queue Termination

  • Fixed a potential TimeoutError during queue finalization by adding explicit set_queue_done() handling in chat_object.py.
  • If a timeout occurs while writing the EOF marker, the system now force-overwrites _queue_done to prevent hanging or incomplete stream shutdowns, improving chat session cleanup reliability.

Enhancements & Other Changes

REACT Loop Error Messaging

  • Improved error message in REACT_COUNTER loop: the BreakLoop exception now includes a clear hint to "reset loop.called_count to 0 to continue," making it easier for developers to understand and handle counter limit breaches.

Internal API Refinement

  • Updated the ProcessMessage tool 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: fastmcp replaced with fastmcp-slim[client]; amrita-sense updated.
  • 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


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