1.0.1
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
- Litellm Support by @RaghavPrabhu in #103
- Litellm & Agents Callback Support by @RaghavPrabhu in #104
- Azure GPT 5 compatabile temprature settings updated for Browser Engine by @RaghavPrabhu in #105
Full Changelog: 0.1.18.17...1.0.1