-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
area/platformIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtkind/enhancementpriority/p2Important but can be addressed in a future release.Important but can be addressed in a future release.
Description
Runtime Dependencies: On-Demand Playwright Installation
Summary
Install Playwright and Chromium to ~/.gemini/dependencies/ on first browser
task invocation.
Description
Browser automation requires ~200MB of dependencies. These should not be bundled
with the core package.
The installation flow:
- Check
~/.gemini/dependencies/for existing Playwright - If missing, inform user of disk footprint before installing
- Run
npm install playwright@<pinned-version>and
npx playwright install chromium - Show progress during installation
Requires:
- Add
getGlobalDependenciesDir()to
storage.ts - Add
getFreePort()utility for CDP connection - Installation logic in
BrowserManagerclass
Acceptance Criteria
- Dependencies installed to managed directory on first use
- User informed of disk footprint before download
- Version pinning for reproducibility
- Graceful error when offline or npm unavailable
Metadata
Metadata
Assignees
Labels
area/platformIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtkind/enhancementpriority/p2Important but can be addressed in a future release.Important but can be addressed in a future release.