Rename V3Context to BrowserContext

Merged
MO
3mo ago
+14-14

Renames the internal V3Context implementation to BrowserContext across the service worker, tests, and documentation. This is a naming-only change with no behavior changes.


Summary by cubic

Renamed the browser context class from V3Context to BrowserContext across server code and tests. Restored legacy V3 docs and merged latest v4-spike; fulfills Linear STG-2647 with no behavior changes.

  • Refactors
    • Renamed class and factory in packages/server/understudy/context.ts to BrowserContext.
    • Updated service worker to call BrowserContext.create.
    • Adjusted clipboard types to accept BrowserContext.
    • Updated tests, mocks, and titles, including the smoke graph in rpc-client-smoke.test.ts.