refactor(cli): migrate contexts and extensions commands to Browserbase SDK
SH
6h ago+15+15+01234567890123456789-21-21-01234567890123456789
Summary
Migrates contexts and extensions commands from raw HTTP calls to the Browserbase SDK client methods.
Changes
contexts/delete.ts→client.contexts.delete(id)contexts/update.ts→client.contexts.update(id)extensions/delete.ts→client.extensions.delete(id)api.ts→ Add success telemetry towithBrowserbaseApito preserverequestHadHttpResponsetracking
Stack
- #3495 — SDK bump ← base
- This PR — Migrate contexts and extensions commands
- #3481 — Add search filtering options and migrate search to SDK


Summary by cubic
Migrates the CLI's contexts and extensions commands from raw HTTP calls to the Browserbase SDK client methods.
contexts deleteandcontexts updatenow useclient.contexts.deleteandclient.contexts.update.extensions deletenow usesclient.extensions.delete.withBrowserbaseApinow setsrequestHadHttpResponse: trueandhttpStatus: 200on success so telemetry tracking from the old raw HTTP calls is preserved.