Move python deps into the pack (requirements.txt)

The pack owns its Playwright dep now, shipped at requirements.txt (standard pip
format) instead of the agent repo's requirements/browser.txt. bootstrap installs
packs/<name>/requirements.txt when the pack is selected; the browser binary is
still downloaded by bootstrap. Update the client's install hint to the new path.
This commit is contained in:
gabby committed 2026-10-14 18:05:56 +00:00
1 parent 72bfd1ef5f
commit 7072fd0107
2 files changed
+25 -1

No files matched your search

+2 -1
View File
@@ -41,7 +41,8 @@ DEFAULT_MAX_TEXT_CHARS = 20000
DEFAULT_MAX_MATCHES = 50
WAIT_UNTIL = ("commit", "domcontentloaded", "load", "networkidle")
INSTALL_HINT = (
"install the browser bridge stack: pip install -r requirements/browser.txt "
"install the browser bridge stack: pip install -r "
"packs/browser/requirements.txt "
"&& PLAYWRIGHT_BROWSERS_PATH=<repo>/.runtime/browser python -m playwright "
"install chromium"
)