Commit Graph

5 Commits

Author SHA1 Message Date
Teknium
68c437a904 fix(browser): name a missing pinned browser.executable_path in the missing-Chromium hint
The pin wins over pm's Chromium, so "run `hermes pm install chromium`" could never help; the hint now
names the configured path to fix or clear.
2026-10-23 01:41:41 -07:00
Teknium
bea9291336 chore(browser): Windows footgun clean (utf-8-sig baked path read, launch-log open) 2026-10-23 01:41:25 -07:00
Teknium
d46703d878 feat(browser): chromium_executable reads browser.executable_path, pm, the Docker baked path, then a system Chromium where pm builds none
AGENT_BROWSER_EXECUTABLE_PATH is no longer an override: the config key from the
active profile replaces it. Adds chromium_missing_hint() (Termux pkg hint, Docker
image hint, else hermes pm install chromium; never npm).
2026-10-23 01:41:25 -07:00
ethernet
a5721b1de2 fix(bot-desktop): choose PM headed Chromium despite headless override 2026-09-24 01:40:31 -04:00
ethernet
6756d11b5f fix(pm): ship full chromium without headless shell
Full Chromium serves both headed and headless sessions. The separate
shell duplicates the browser payload and is not needed for either mode.

Remove the shell from PM and Docker. Select the managed Chromium
executable for agent-browser and the full Chromium channel for direct
Playwright callers. Route setup through PM and remove retired packages
from cached bundle stores without changing the user's tool store.

Update signing, architecture checks, launch probes and install guidance.
Leave llama packages and Docker archive cleanup unchanged.

Verification:
- Real agent-browser navigation, clicks, DOM reads and screenshots pass
  in headed and headless modes with the same Chromium executable.
- The direct Playwright doctor probe passes.
- Focused Python and desktop packaging tests pass, as do six Docker
  checks and both real-browser task-scroll tests.
- The built linux/amd64 image is 1.393 GB compressed, 223.6 MB smaller.
- The broader PM suite and two unrelated setup tests still fail.
  Those failures reproduce on unchanged HEAD.
- Five updated eval scripts parse; their full scenarios were not run.
2026-09-10 16:08:03 -04:00