From 42a324997645de12b97276872031225952b055d5 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Mon, 13 Jul 2026 14:59:21 -0700 Subject: [PATCH] [eric] browser: broaden compose-trigger vocabulary (create/new-thread/start-a-thread variants) The reveal opener regex only matched 'create a post', missing bare 'Create' and 'New thread' / 'Start a thread' buttons that real compose surfaces use. Adds those; safe by construction (a broadened trigger can never produce a false success, a fill against a real composer is still required, so a trigger that opens a signup/join upsell instead of a composer yields found:false). Validated CDP-direct: LinkedIn-post and YouTube-comment still flip (no regression), and Threads (which gates posting behind a 'Join Threads' upsell for this session) correctly does NOT false-fill --- frontend/src/shared/browserCommandHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/shared/browserCommandHandler.ts b/frontend/src/shared/browserCommandHandler.ts index c565a510..9c1fd1d6 100644 --- a/frontend/src/shared/browserCommandHandler.ts +++ b/frontend/src/shared/browserCommandHandler.ts @@ -402,7 +402,7 @@ async function handleFindComposer(wv: BrowserWebview, params: Record new Promise((r) => setTimeout(r, ms));