-
feat(site): auto-sync + auto-suggest adapters (auto-trigger)
released this
2026-06-17 08:15:34 +00:00 | 12 commits to main since this releaseMake
sitetrigger itself so an agent doesn't have to know adapters exist.Auto-sync: the pack refreshes on first use and on a TTL (default 7d), both in
thesitecommand path (blocking, fast) and as a non-blocking background task
on daemon startup — so ~/.chrome-use/sites/.index.json is always populated with
zero added latency. Tune via AGENT_BROWSER_SITES_TTL_DAYS; disable with
AGENT_BROWSER_SITES_NO_AUTO_UPDATE=1.updatenow writes .last_update + a
domain→adapters .index.json (read-only adapters ordered first).Auto-suggest:
open/navigate/snapshotonto a domain with adapters attaches
siteAdapters: {domain, commands}to the response; the CLI prints a
💡 site adapters for <domain>hint (stderr) and the field rides along in --json.
SKILL.md tells the agent to prefer the listedsite <name>/<cmd>over scraping.
This keeps the 'never auto-disrupt user tabs' guarantee — it suggests, the agent
decides; nothing auto-runs on navigation.site.rs: needs_refresh/adapters_for_domain/write_domain_index + timestamp/index
in update(). daemon.rs: background bootstrap. actions.rs: with_site_hint on
navigate + snapshot. output.rs: hint render. Verified live: open github.com →
hint leads with read-only github/issues; --json carries siteAdapters.Downloads