Skip to content

v1.1.20

Choose a tag to compare

@raychen911 raychen911 released this 01 Sep 12:12
· 12 commits to r0.1 since this release

Features

  • A2A: Added A2A 1.0 support through the new a2a-v1 optional extra and trpc_agent_sdk.server.a2a_v1 package, including agent services, remote agents, Agent Card discovery, artifact-first streaming, task cancellation, and compatibility bridging for legacy A2A 0.3 peers. Existing A2A 0.3 integrations remain supported without code changes.
  • Memory: Added the optional Advanced Memory subsystem for file-backed long-term and session memory, including AdvancedMemoryService, AdvancedMemorySessionService, transcript persistence, structured session-memory extraction, memory freshness metadata, and save_memory, read_memory, and list_memory_index tools.
  • Memory: Added a staged context-management pipeline with bounded long-term-memory injection, oversized tool-result spill and preview, history trimming, micro-compaction, LLM-driven auto-compaction, token-aware context budgets, relevant-memory preloading, and cross-event-loop session coordination.
  • Runner: Added automatic binding and session-service wrapping when Advanced Memory services are supplied, allowing the Advanced Memory context pipeline to integrate through the existing session_service and memory_service interfaces.

Bug Fixes

  • Model: Fixed OpenAI 3.x with httpx 2.x raising stream-close errors after the SSE [DONE] marker in Chat Completions and Responses API streaming.

Docs

  • A2A: Added English and Chinese A2A 1.0 documentation and runnable examples for basic agents, multi-turn tool use, remote cancellation, and agent transfer.
  • Memory: Added an Advanced Memory example and comprehensive coverage for storage, transcripts, extraction, context budgeting, compaction, preload, and coordination behavior.

Internal

  • Memory: Reorganized Advanced Memory implementation modules behind a smaller public API and strengthened configuration validation while preserving lazy exports from the memory, session, and tools packages.