From ad8d58ef0e542592e9001b32ef3e921f480218da Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 00:07:55 +0000 Subject: [PATCH 1/2] feat: Removed MCP from readme for now --- .stats.yml | 2 +- README.md | 75 +++++--------------------------- lib/stagehand/internal/stream.rb | 2 +- 3 files changed, 13 insertions(+), 66 deletions(-) diff --git a/.stats.yml b/.stats.yml index e42f0bb..9738f87 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 8 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-8fbb3fa8f3a37c1c7408de427fe125aadec49f705e8e30d191601a9b69c4cc41.yml openapi_spec_hash: 48b4dfac35a842d7fb0d228caf87544e -config_hash: 242651c4871c2869ba3c2e3d337505b9 +config_hash: 7386d24e2f03a3b2a89b3f6881446348 diff --git a/README.md b/README.md index d8c8470..2216409 100644 --- a/README.md +++ b/README.md @@ -1,67 +1,14 @@ -
-
- The AI Browser Automation Framework
- Read the Docs
-
-If you're looking for other languages, you can find them - here -
- - - -## What is Stagehand? - -Stagehand is a browser automation framework used to control web browsers with natural language and code. By combining the power of AI with the precision of code, Stagehand makes web automation flexible, maintainable, and actually reliable. - -## Why Stagehand? - -Most existing browser automation tools either require you to write low-level code in a framework like Selenium, Playwright, or Puppeteer, or use high-level agents that can be unpredictable in production. By letting developers choose what to write in code vs. natural language (and bridging the gap between the two) Stagehand is the natural choice for browser automations in production. - -1. **Choose when to write code vs. natural language**: use AI when you want to navigate unfamiliar pages, and use code when you know exactly what you want to do. - -2. **Go from AI-driven to repeatable workflows**: Stagehand lets you preview AI actions before running them, and also helps you easily cache repeatable actions to save time and tokens. - -3. **Write once, run forever**: Stagehand's auto-caching combined with self-healing remembers previous actions, runs without LLM inference, and knows when to involve AI whenever the website changes and your automation breaks. +# Stagehand Ruby API library + +The Stagehand Ruby library provides convenient access to the Stagehand REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/browserbase/stagehand-ruby#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem. + +It is generated with [Stainless](https://www.stainless.com/). + +## Documentation + +Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stagehand). + +The REST API documentation can be found on [docs.stagehand.dev](https://docs.stagehand.dev). ## Installation diff --git a/lib/stagehand/internal/stream.rb b/lib/stagehand/internal/stream.rb index 37a63a2..b1cb6bc 100644 --- a/lib/stagehand/internal/stream.rb +++ b/lib/stagehand/internal/stream.rb @@ -23,7 +23,7 @@ class Stream next if consume case msg - in {data: String => data} if data.start_with?("finished") + in {data: String => data} if data.start_with?("{\"data\":{\"status\":\"finished\"") consume = true next in {data: String => data} if data.start_with?("error") From 125356795692e3981f08fe9f8f8c4019afcb21a5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 00:08:08 +0000 Subject: [PATCH 2/2] release: 3.5.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- lib/stagehand/version.rb | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2437b41..bf0d036 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.4.0" + ".": "3.5.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ea63636..aa63131 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.5.0 (2026-02-03) + +Full Changelog: [v3.4.0...v3.5.0](https://github.com/browserbase/stagehand-ruby/compare/v3.4.0...v3.5.0) + +### Features + +* Removed MCP from readme for now ([ad8d58e](https://github.com/browserbase/stagehand-ruby/commit/ad8d58ef0e542592e9001b32ef3e921f480218da)) + ## 3.4.0 (2026-01-29) Full Changelog: [v3.3.0...v3.4.0](https://github.com/browserbase/stagehand-ruby/compare/v3.3.0...v3.4.0) diff --git a/Gemfile.lock b/Gemfile.lock index c331c46..c6f46df 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - stagehand (3.4.0) + stagehand (3.5.0) cgi connection_pool diff --git a/lib/stagehand/version.rb b/lib/stagehand/version.rb index ef498da..2f29a29 100644 --- a/lib/stagehand/version.rb +++ b/lib/stagehand/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Stagehand - VERSION = "3.4.0" + VERSION = "3.5.0" end