Kyle Jeong 1db5f1c193
feat: Add Claude Opus 4.8 CUA support (#2170)
## Summary
- Add `anthropic/claude-opus-4-8` to the CUA model whitelist.
- Route bare `claude-opus-4-8` model names to the Anthropic CUA client.
- Treat Claude Opus 4.8 as a Claude 4.6+ adaptive-thinking CUA model and
document it in the supported CUA model lists.

## Validation
- `pnpm --filter @browserbasehq/stagehand run typecheck`
- `pnpm run test:core --
packages/core/dist/esm/tests/unit/public-api/llm-and-agents.test.js
packages/core/dist/esm/tests/unit/anthropic-cua-adaptive-thinking.test.js`

Note: the focused test command passed 38 tests, then the test wrapper
printed a non-fatal CTRF conversion warning from `glob/minimatch` under
Node 22.
2026-05-28 11:57:04 -07:00
..
2025-10-28 17:55:55 -07:00
2025-10-10 12:29:49 -07:00
2026-05-13 20:31:36 -07:00
2025-10-10 12:29:49 -07:00

Mintlify Starter Kit

Click on Use this template to copy the Mintlify starter kit. The starter kit contains examples including

  • Guide pages
  • Navigation
  • Customizations
  • API Reference pages
  • Use of popular components

Development

Install dependencies with pnpm

pnpm install

Run the following command at the root of your documentation (where mint.json is)

pnpm mintlify dev

Publishing Changes

Install our Github App to auto propagate changes from your repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.

Troubleshooting

  • Mintlify dev isn't running - Run mintlify install it'll re-install dependencies.
  • Page loads as a 404 - Make sure you are running in a folder with mint.json