Skip to content

v2.0.0

Latest

Choose a tag to compare

@sandsaber sandsaber released this 14 May 18:09
· 2 commits to main since this release

Breaking

  • Renamed the installed package from src to agent_spawn_mcp. The agent-spawn-mcp CLI script and uvx agent-spawn-mcp invocations are unchanged. Code that imported from src.* against this package must update to from agent_spawn_mcp.*.

Fixed

  • load_dotenv("example.env") no longer overrides real .env files. Both the CLI entry point and the config loader now call load_dotenv() so the user's .env (created via cp example.env .env) is actually loaded.
  • list_chat_sessions no longer raises KeyError on histories that were written before timestamps were recorded; missing time falls back to "?". New entries written by save_history always include a time field.
  • Removed the __import__("base64") hack in agent_spawn_mcp.utils; the module imports base64 once at the top level.

Changed

  • OpenAICompatProvider now keeps one httpx.Client per instance and the spawn-agent factory reuses a single provider across calls, so HTTP connections are pooled instead of opened and closed per request. Per-call timeout is applied at request level.
  • web_search (full server) and the agent tool now forward allowed_domains / excluded_domains into the underlying web_search tool payload. Both raise on mutually exclusive arguments.
  • BaseProvider abstract return types now reflect the actual implementation (dict / bytes) instead of misleading httpx.Response. The unused default _request helper has been removed.
  • Added the Programming Language :: Python :: 3.13 trove classifier and added Python 3.13 to the CI test matrix.