Skip to content

feat: validate providers without model allowlists (stack 2/4) - #2941

Open
antonvishal wants to merge 19 commits into
browserbase:mainfrom
antonvishal:newer-models-extension-protocol-sdks
Open

antonvishal wants to merge 19 commits into
browserbase:mainfrom
antonvishal:newer-models-extension-protocol-sdks

Conversation

@antonvishal

@antonvishal antonvishal commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Why

Stack 2/4. New model IDs should work without a Stagehand release. Addresses the request to remove the allowlist in #2941.

Merge order: #2921, #2941, #3098, #3068. Fork PRs target upstream main; merge in this order. Each branch contains its predecessor. Depends on #2921.

What

Validate only the OpenAI, Anthropic, or Google provider prefix and a nonempty, whitespace-free model ID. Pass opaque IDs to the provider and preserve its inference errors. Widen generated model ID types and share direct provider construction.

Examples, unit tests, and generated schema samples use current catalog IDs: openai/gpt-6-luna (mini-class), openai/gpt-6.1-sol (default), openai/gpt-6-astra (largest), and anthropic/claude-sonnet-5-5. Eval harness defaults and eval tests are unchanged. xAI arrives in stack 4.

Focused diff: antonvishal/stagehand@remove-groq-cerebras...newer-models-extension-protocol-sdks

How

Extension, Go SDK, and Python SDK unit tests passed.

Reviewer: accept an unknown ID under each registered provider; reject unsupported prefixes, empty IDs, and whitespace. Check direct inference and Gateway forwarding. This replaces this PR's earlier model-list refresh.

@changeset-bot

changeset-bot Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e2007c0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@browserbasehq/stagehand-protocol Major
@browserbasehq/stagehand-extension Patch
@browserbasehq/stagehand-python Minor
@browserbasehq/stagehand-go Minor
@browserbasehq/stagehand Minor
browse Patch
@browserbasehq/stagehand-examples Patch
@browserbasehq/stagehand-integrations-claude-cua-sdk Patch
@browserbasehq/stagehand-integrations Patch
@browserbasehq/eve Patch
@browserbasehq/stagehand-integrations-gemini-cua-sdk Patch
@browserbasehq/stagehand-integrations-example-pi-facade Patch
@browserbasehq/stagehand-integrations-claude-agent-sdk Patch
@browserbasehq/stagehand-integrations-example-claude-code-facade Patch
@browserbasehq/stagehand-integrations-codex-sdk Patch
@browserbasehq/stagehand-integrations-example-codex-facade Patch
@browserbasehq/stagehand-integrations-cursor-sdk Patch
@browserbasehq/stagehand-integrations-example-cursor-facade Patch
@browserbasehq/stagehand-integrations-deepagents-sdk Patch
@browserbasehq/stagehand-integrations-eve-sdk Patch
@browserbasehq/stagehand-integrations-fx-sdk Patch
@browserbasehq/stagehand-integrations-mastra-sdk Patch
@browserbasehq/stagehand-integrations-example-mastra-facade Patch
@browserbasehq/stagehand-integrations-pi-sdk Patch
@browserbasehq/stagehand-integrations-example-vercel-ai-facade Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

This PR is from an external contributor and must be approved by a stagehand team member with write access before CI can run.
Approving the latest commit mirrors it into an internal PR owned by the approver.
If new commits are pushed later, the internal PR stays open but is marked stale until someone approves the latest external commit and refreshes it.

@github-actions github-actions Bot added external-contributor Tracks PRs mirrored from external contributor forks. external-contributor:awaiting-approval Waiting for a stagehand team member to approve the latest external commit. labels Sep 15, 2026
@antonvishal
antonvishal marked this pull request as ready for review September 15, 2026 17:54
@antonvishal antonvishal mentioned this pull request Sep 15, 2026
4 tasks done
Comment thread packages/protocol/schemas.ts Outdated
@socket-security

socket-security Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​ai-sdk/​google@​4.0.8 ⏵ 4.0.8472 +110088 +198100
Updatednpm/​@​ai-sdk/​openai@​4.0.8 ⏵ 4.0.7973 +810094 +798100
Updatednpm/​@​ai-sdk/​anthropic@​4.0.8 ⏵ 4.0.6793 +1910088 +198100
Updatednpm/​ai@​7.0.16 ⏵ 7.0.1209910010099100

View full report

@antonvishal antonvishal changed the title feat(protocol): refresh first-class model allowlists and SDK fixtures feat: validate providers without model allowlists (stack 2/4) Oct 3, 2026
Use current OpenAI, Anthropic, and Google catalog IDs in SDK examples,
generated schema samples, eval defaults, and harness pricing. GPT-6
models default to hybrid agent mode. CUA defaults stay on the existing
computer-use IDs.
Keep oxfmt happy after the current provider ID strings.
Leave eval harness IDs unchanged. Use gpt-6-luna for former mini defaults, keep Sol for larger OpenAI fixtures.
…ion-protocol-sdks

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
# Conflicts:
#	packages/sdk-go/internal/extensionassets/stagehand-extension.zip
# Conflicts:
#	packages/sdk-go/internal/extensionassets/stagehand-extension.zip

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor:awaiting-approval Waiting for a stagehand team member to approve the latest external commit. external-contributor Tracks PRs mirrored from external contributor forks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants