You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cua): switch anthropic computer-use defaults to claude-sonnet-4-6 (#130)
## Summary
- update the TypeScript anthropic computer-use template to use
`claude-sonnet-4-6` as the default model
- update the Python anthropic computer-use template to use
`claude-sonnet-4-6` as the default model
- remove the dated model suffix from new template defaults so generated
apps use the stable alias
## Test plan
- [x] `make test`
Made with [Cursor](https://cursor.com)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Medium risk because it changes generated template behavior (default
model selection and Anthropic tool version/beta flags) and adjusts
TypeScript SDK typings, which could break newly scaffolded apps if
versions drift.
>
> **Overview**
> Switches the Anthropic Computer Use templates (Python + TypeScript) to
default to the stable `claude-sonnet-4-6` model alias and introduces a
new `computer_use_20251124` tool version (with corresponding
`computer_20251124` tool) that is auto-selected for newer Claude models
unless explicitly overridden.
>
> Cleans up the TypeScript template by removing `luxon` (using
`Intl.DateTimeFormat` instead), updating `@onkernel/sdk` to `^0.35.0`,
tightening tool param types to Anthropic SDK-provided unions, and making
browser `liveViewUrl`/`replayViewUrl` explicitly nullable.
>
> Updates the scaffolding copier (`CopyTemplateFiles`) to skip common
artifact directories (`node_modules`, `.venv`, `__pycache__`) during
template copy, with a new test to enforce this behavior.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
6bde8ec. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
0 commit comments