// Hermes Browser Agent Content Script — no-op placeholder
// Main functionality lives in background.js routing to native host
// This file ensures content context is available when needed

window.HermesAgent = {
    pageInfo: () => ({
        title: document.title,
        url: window.location.href,
        html: document.documentElement.outerHTML.slice(0, 10000)
    }),
    evalJS: (code) => { try { return eval(code); } catch(e) { return e.message; } },
    click: (selector) => { el=document.querySelector(selector); if(el){el.click();return true};return false; },
    scroll: (x,y) => { window.scrollTo(x,y); return true; }
};
