agent-hub-runtime 0.6.0

AgentHub desktop and companion CLI runtime for Tauri applications
Documentation
1
2
3
4
5
6
7
8
9
function pickElement(x, y) {
  const context = __ELEMENT_CONTEXT__;
  const scale = window.visualViewport?.scale || 1;
  const el = context.hit(
    x / scale + (window.visualViewport?.offsetLeft || 0),
    y / scale + (window.visualViewport?.offsetTop || 0),
  );
  return el ? context.describe(el) : null;
}