// AGENT BRIDGE v19.0 – production hardening, global regex fix, resilient cleanup, serial sends
(async function agentBridge() {
'use strict';
// ── Configuration ──────────────────────────────────
const CONFIG = {
SERVER: 'http://localhost:8765',
TEXTAREA_SEL: '._27c9245',
SEND_BTN_SEL: '._52c986b',
SEND_DELAY: 5000,
RETRY_INTERVAL: 5000,
// Retry button identification (multiple strategies)
RETRY_SVG_PATH: "M1.272 6.21348C1.70645 3.08888 4.59169 0.908064…
See More…