tree: ec2ceb1d44bd79f03044d837ac6395c69d033fc5 [search]
  1. injected.js
  2. keyboard.json
  3. LICENSE
  4. NOTICE
  5. README.md
  6. ThirdPartyNotices.txt
  7. upstream.json
third-party/playwright/README.md

Playwright browser utilities

injected.js is the unchanged source string published in playwright-core 1.58.2‘s lib/generated/injectedScriptSource.js. It comes from the official npm package, independently of any reference application. The corresponding upstream revision is recorded in upstream.json, together with archive integrity and file hashes. keyboard.json contains the same package’s public USKeyboardLayout data from lib/server/usKeyboardLayout.js. The updater parses its restricted object literal as data, retaining the physical codes, sided modifier locations, text, and shifted key fields. It never imports or evaluates that package module. Rust resolves the layout and keyboard shortcuts in process; no Node runtime is needed.

Upstream's Apache-2.0 license, notice, and bundled third-party notices are preserved.

Maka loads these utilities into an isolated world on its existing CDP connection. It does not install the npm package or launch a Node process during native builds or browser use. The typed Host protocol selects the supported operations.

Verify the vendored files offline:

node scripts/computer-use-parity/update-playwright.mjs --check

Recreate them from the pinned upstream archive with --refresh. This checks both the npm SHA-512 integrity and recorded SHA-256 before extracting only the named members. No package module or install script is executed.