Skip to content

v0.25.1: fix: remove CodeQL ReDoS and URL substring findings

Latest

Choose a tag to compare

@daltonnyx daltonnyx released this 03 Dec 16:17

AgentCrew v0.25.1

This release adds owned multi-tab browser automation, external Chromium connections, and SQLite ActionTrace memory evidence. It also improves Cursor session recovery, keeps job output machine-readable, hardens MCP schema handling, and refreshes provider integrations and dependencies.

✨ New Features

Owned multi-tab browser automation

  • Added list_browser_targets, open_browser_target, connect_browser_target, and close_browser_target.
  • Browser tools accept an optional target_id to operate on a specific page without changing the active target.
  • Discover and connect to popups whose opener or parent chain proves ownership.
  • Keep element UUIDs, console listeners, and remembered page content isolated by target.

External browser connections

  • Added --browser-cdp-url and AGENTCREW_BROWSER_CDP_URL for externally managed Chromium browsers.
  • Connections are lazy, with no silent fallback to local Chrome when a remote endpoint is configured.
  • Remote cleanup closes only tracked AgentCrew-owned pages, leaving unrelated tabs and the external browser running.

SQLite ActionTrace

  • Added bounded runtime evidence for tool execution, including outcomes, timing, batch ordering, and response completion.
  • Retrieve traces on demand for explicitly selected memory IDs using evidence or full-detail retrieval.
  • Added validation, corruption handling, storage receipts, and cleanup with the associated memory records.
  • Raw tool arguments, result bodies, and hidden reasoning are not captured by the trace collector.

Models and diagnostics

  • Added Gemini 4 Neon.
  • Doubled configured effective context limits for the listed Gemini models.
  • Refreshed Refuseless model IDs, pricing, and context limits.
  • Added cached MCP discovery status to /stats, without opening connections or performing live health checks.

🐛 Fixes and Reliability

  • Clean job output: successful jobs print only their result to stdout; failures produce one stderr error without a printed traceback. Startup diagnostics remain in logs.
  • Cursor recovery: terminal run failures are surfaced instead of triggering empty-response retries. After a recoverable authentication failure, the next manually submitted message reconnects the same saved transcript without replaying the failed task.
  • Startup reasoning: unsupported explicit reasoning selections fall back to the selected model’s default.
  • OpenAI Responses: explicitly disabled strict tool-schema mode.
  • Browser isolation: failed extraction or an unknown target no longer clears remembered content for the active page; cross-target element UUIDs are refused.
  • Resource cleanup: improved application-owned memory shutdown, auxiliary stream closure, browser cleanup, and console-listener stop/reconnect behavior.
  • Delegate previews: hide tool activity while retaining thinking and response previews.

🔒 Security Hardening

  • Reject external MCP tool-schema $ref values before resolution can read files or fetch URLs. Invalid tools are skipped individually rather than aborting registration for the server.
  • ACP permission requests now fail closed when no client is available or an unknown option is returned.
  • Replaced backtracking-prone onboarding and memory identifier matching with linear scans.
  • Added bounded image validation before Gemini image decoding and local WebP conversion.
  • Redact captured Google provider state from debug copies while preserving signed history for replay.

📦 Integration and Dependency Updates

  • Migrated ACP to 1.1.0, Google GenAI to 3.6.1, Anthropic to 2.14.0, Docling to 2.153.0, and HTML-to-Markdown to 3.24.0.
  • Together now uses the shared OpenAI-compatible Chat Completions client against Together’s endpoint; the native Together SDK dependency has been removed.
  • Updated OpenAI, Cursor, MCP, Pillow, Tree-sitter, Click, Loguru, and other runtime and development dependencies.
  • Added focused offline regression coverage for provider requests, protocol compatibility, browser ownership, Cursor recovery, and ActionTrace.

⚠️ Upgrade Notes

  • Docker: Chromium is no longer bundled. Browser tools require an external CDP endpoint; non-browser features do not.
  • macOS: standard prebuilt installation now requires macOS 15 or later. Source builds on older releases remain unverified.
  • SQLite: memory stores upgrade to schema v4. Existing history is not reconstructed into ActionTrace evidence. Chroma remains a legacy backend without trace collection.
  • Google: unsigned current-turn tool history may require a new conversation or restored signed history. The retired embedding-001 model now produces an actionable error; changing embedding models requires explicit configuration and re-embedding.
  • Anthropic: the updated API no longer receives sampling parameters and explicitly rejects unsupported history content.
  • Together: continue using TOGETHER_API_KEY; requests are not routed to OpenAI-hosted inference.