Skip to content

Release Notes - v0.3.0

Human-in-the-Loop (HITL) support for SSO login, CAPTCHA, and 2FA workflows.

Highlights

New MCP tools for human-assisted automation workflows.

This release adds HITL capabilities, allowing AI agents to pause automation for human intervention (SSO login, CAPTCHA solving, 2FA approval) and resume automatically.

New Features

Human-in-the-Loop Tools

Two new MCP tools enable seamless human-AI collaboration:

Tool Purpose
pause_for_human Pause automation with visual overlay, wait for human action
set_storage_state Restore saved session (cookies + localStorage)

Workflow Example

First Run (with human):
  browser_launch {headless: false}
  navigate → login page
  pause_for_human → human completes SSO, clicks Continue
  get_storage_state → save session
  ... continue automation ...

Subsequent Runs (automated):
  browser_launch {headless: true}
  set_storage_state ← load saved session
  navigate → dashboard (already logged in!)

Supported Scenarios

  • SSO/OAuth logins - Google, Microsoft, Okta, Auth0, GitHub
  • CAPTCHA challenges - Human solves, automation continues
  • 2FA/MFA verification - SMS, TOTP, hardware keys
  • Manual review steps - Human approval before proceeding

Bug Fixes

  • File handle error handling - RPA file activity now properly handles close errors
  • Unreachable statement removed - Fixed dead code in w3pilot-mcp main

Infrastructure

  • MCP SDK updated - github.com/modelcontextprotocol/go-sdk 1.4.0 → 1.4.1
  • GitHub Actions updated:
  • actions/checkout 4 → 6
  • actions/setup-go 5 → 6
  • actions/upload-artifact 4 → 7

Installation

go get github.com/plexusone/w3pilot@v0.3.0

Usage

First-Time Login (Human Assisted)

Configure MCP server for visible browser:

{
  "mcpServers": {
    "w3pilot": {
      "command": "w3pilot",
      "args": ["mcp"]
    }
  }
}

Then ask Claude:

Navigate to app.example.com and log me in. I'll complete the Google SSO manually.

Claude will launch a visible browser, navigate to the login page, and call pause_for_human. Complete the login and click "Continue" to resume.

Subsequent Runs (Automated)

After saving the session, subsequent runs can be fully automated:

Use my saved session to scrape the dashboard.

Claude will restore the session with set_storage_state and proceed without human intervention.

Documentation