From b5f3c232238226106979b177c12c8c6d48ba6752 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 20:08:01 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 98d7dd4..ea8da3c 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-87b4d9e349de9d33d5d89439f7ac9507133700a9f072fdf0d756471961768d2c.yml openapi_spec_hash: 0f6ae6d10a0227a3482914728cf901ba -config_hash: 4252fc025e947bc0fd6b2abd91a0cc8e +config_hash: 7baf2daccae5913216bb74c52d63eaff From d48f5b49219186ee326adad925b4d1a67d4fd1c6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 23:04:39 +0000 Subject: [PATCH 2/3] feat: Add bedrock to provider enum in Zod schemas and OpenAPI spec --- .stats.yml | 6 +++--- lib/stagehand/models/model_config.rb | 1 + lib/stagehand/models/session_execute_params.rb | 1 + rbi/stagehand/models/model_config.rbi | 2 ++ rbi/stagehand/models/session_execute_params.rbi | 5 +++++ sig/stagehand/models/model_config.rbs | 3 ++- sig/stagehand/models/session_execute_params.rbs | 3 ++- 7 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.stats.yml b/.stats.yml index ea8da3c..c61740e 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-87b4d9e349de9d33d5d89439f7ac9507133700a9f072fdf0d756471961768d2c.yml -openapi_spec_hash: 0f6ae6d10a0227a3482914728cf901ba -config_hash: 7baf2daccae5913216bb74c52d63eaff +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-a4e672f457dd99336f4b2a113fd7c7c6c9db0941b38d57cff6e3641549a6c4ed.yml +openapi_spec_hash: eae9c8561e420db8e4d238c1e59617fb +config_hash: 2a565ad6662259a2e90fa5f1f5095525 diff --git a/lib/stagehand/models/model_config.rb b/lib/stagehand/models/model_config.rb index 44ad028..9b8029b 100644 --- a/lib/stagehand/models/model_config.rb +++ b/lib/stagehand/models/model_config.rb @@ -46,6 +46,7 @@ module Provider ANTHROPIC = :anthropic GOOGLE = :google MICROSOFT = :microsoft + BEDROCK = :bedrock # @!method self.values # @return [Array] diff --git a/lib/stagehand/models/session_execute_params.rb b/lib/stagehand/models/session_execute_params.rb index 18c35cb..dc55973 100644 --- a/lib/stagehand/models/session_execute_params.rb +++ b/lib/stagehand/models/session_execute_params.rb @@ -164,6 +164,7 @@ module Provider ANTHROPIC = :anthropic GOOGLE = :google MICROSOFT = :microsoft + BEDROCK = :bedrock # @!method self.values # @return [Array] diff --git a/rbi/stagehand/models/model_config.rbi b/rbi/stagehand/models/model_config.rbi index a7772b4..a1bcfaf 100644 --- a/rbi/stagehand/models/model_config.rbi +++ b/rbi/stagehand/models/model_config.rbi @@ -80,6 +80,8 @@ module Stagehand GOOGLE = T.let(:google, Stagehand::ModelConfig::Provider::TaggedSymbol) MICROSOFT = T.let(:microsoft, Stagehand::ModelConfig::Provider::TaggedSymbol) + BEDROCK = + T.let(:bedrock, Stagehand::ModelConfig::Provider::TaggedSymbol) sig do override.returns( diff --git a/rbi/stagehand/models/session_execute_params.rbi b/rbi/stagehand/models/session_execute_params.rbi index 505dbb8..da6fb94 100644 --- a/rbi/stagehand/models/session_execute_params.rbi +++ b/rbi/stagehand/models/session_execute_params.rbi @@ -334,6 +334,11 @@ module Stagehand :microsoft, Stagehand::SessionExecuteParams::AgentConfig::Provider::TaggedSymbol ) + BEDROCK = + T.let( + :bedrock, + Stagehand::SessionExecuteParams::AgentConfig::Provider::TaggedSymbol + ) sig do override.returns( diff --git a/sig/stagehand/models/model_config.rbs b/sig/stagehand/models/model_config.rbs index ec18bf7..96a2c7d 100644 --- a/sig/stagehand/models/model_config.rbs +++ b/sig/stagehand/models/model_config.rbs @@ -39,7 +39,7 @@ module Stagehand provider: Stagehand::Models::ModelConfig::provider } - type provider = :openai | :anthropic | :google | :microsoft + type provider = :openai | :anthropic | :google | :microsoft | :bedrock module Provider extend Stagehand::Internal::Type::Enum @@ -48,6 +48,7 @@ module Stagehand ANTHROPIC: :anthropic GOOGLE: :google MICROSOFT: :microsoft + BEDROCK: :bedrock def self?.values: -> ::Array[Stagehand::Models::ModelConfig::provider] end diff --git a/sig/stagehand/models/session_execute_params.rbs b/sig/stagehand/models/session_execute_params.rbs index e179454..021692d 100644 --- a/sig/stagehand/models/session_execute_params.rbs +++ b/sig/stagehand/models/session_execute_params.rbs @@ -137,7 +137,7 @@ module Stagehand def self?.variants: -> ::Array[Stagehand::Models::SessionExecuteParams::AgentConfig::model] end - type provider = :openai | :anthropic | :google | :microsoft + type provider = :openai | :anthropic | :google | :microsoft | :bedrock module Provider extend Stagehand::Internal::Type::Enum @@ -146,6 +146,7 @@ module Stagehand ANTHROPIC: :anthropic GOOGLE: :google MICROSOFT: :microsoft + BEDROCK: :bedrock def self?.values: -> ::Array[Stagehand::Models::SessionExecuteParams::AgentConfig::provider] end From 3c49b63e3baf053ecba0f78353db769d4866e9a2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 23:04:56 +0000 Subject: [PATCH 3/3] release: 3.7.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 a25092c..27d2fbb 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.6.1" + ".": "3.7.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 295e73b..79f73f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.7.0 (2026-02-25) + +Full Changelog: [v3.6.1...v3.7.0](https://github.com/browserbase/stagehand-ruby/compare/v3.6.1...v3.7.0) + +### Features + +* Add bedrock to provider enum in Zod schemas and OpenAPI spec ([d48f5b4](https://github.com/browserbase/stagehand-ruby/commit/d48f5b49219186ee326adad925b4d1a67d4fd1c6)) + ## 3.6.1 (2026-02-25) Full Changelog: [v3.6.0...v3.6.1](https://github.com/browserbase/stagehand-ruby/compare/v3.6.0...v3.6.1) diff --git a/Gemfile.lock b/Gemfile.lock index 3a58c05..cbd7020 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - stagehand (3.6.1) + stagehand (3.7.0) cgi connection_pool diff --git a/lib/stagehand/version.rb b/lib/stagehand/version.rb index ab43815..8f2aab7 100644 --- a/lib/stagehand/version.rb +++ b/lib/stagehand/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Stagehand - VERSION = "3.6.1" + VERSION = "3.7.0" end