Skip to content

1.0.1

Choose a tag to compare

@RaghavPrabhu RaghavPrabhu released this 25 Nov 11:45
· 100 commits to master since this release
6eabfff

Introduces async status callback hooks with pipe/agent context throughout Agent, Engine, and AgentXPipe, fixes token API naming and MCP stdio session handling, updates CLI generation, tests, and bumps version.

Core (Agent/Engine/Pipe):
Add async status_callback hooks with events (e.g., agent_execute_start, agent_llm_execute, agent_iteration_complete, agent_goal_satisfied, pipe_flow_start/end, errors) and context (pipe_id, agent_id, agent, conversation_id).
Thread pipe_id/agent metadata through engine start and goal verification.
Simplify goal verification (remove token-count gate) and add robust retry/error callbacks.
MCP Handler:
Simplify stdio connection (no temp file), create ClientSession via stdio_client, ensure session initialized and cleaned up.
LLM:
Fix async token API name (account_tokens -> correctly delegated to client); LiteLLM/OpenAI paths aligned.
Utils:
Add StatusCallback type and _maybe_await; expose ptype_to_json_scheme usage; minor whitespace cleanup.

Tests:
Update tests to pass status_callback, adjust models, add LiteLLM/OpenAI test tweaks.

What's Changed

Full Changelog: 0.1.18.17...1.0.1