Skip to content

v0.0.6 - Fix claude-agent-sdk 0.1.75 Compatibility

Choose a tag to compare

@gurvinder-dhillon gurvinder-dhillon released this 23 Dec 04:48
· 51 commits to main since this release
Immutable release. Only release title and notes can be modified.

Bug Fixes

  • Fixed browser context disposal issue with claude-agent-sdk 0.1.75
    • Resolved "Target page, context or browser has been closed" error occurring on multi-step AI workflows
    • The SDK's improved cleanup in v0.1.75 was closing externally-managed browser contexts
    • Solution: Wrapped browser context with no-op close() function to prevent premature disposal
    • All AI steps in tests now work correctly across multiple sequential operations

Changes

  • Updated ClaudeAgent.js to use wrapped browser context with managed lifecycle
  • Enhanced SessionManager.js with MCP connection management capabilities
  • Updated documentation in CLAUDE.md

Compatibility

  • Compatible with claude-agent-sdk v0.1.75 and later
  • Tested with Playwright BDD multi-step workflows

Installation

npm install openqa@0.0.6

View on npm: https://www.npmjs.com/package/openqa