From 864d12f042eb4f2cc228781e3dd889f05907d47a Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Mon, 12 Jan 2026 20:21:51 +0800 Subject: Improve Bumblebee post. --- _log/bumblebee.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '_log/bumblebee.md') diff --git a/_log/bumblebee.md b/_log/bumblebee.md index 6ef46b3..57dc49d 100644 --- a/_log/bumblebee.md +++ b/_log/bumblebee.md @@ -6,27 +6,27 @@ project: true thumbnail: thumb_sm.png --- -Browser session-to-code conversion. For work. Pre-LLM. +For work. Browser session-to-code conversion. Pre-LLM. -Quality of scripts are pitiful. +Script quality pitiful. Created tool to generate them by analyzing browser events. -Created tool to generate them real-time (as the user browses the web). +Stack: C# WinForms host, WebView2 browser, Scintilla.NET editor. -Architecture: C# WinForms host, embedded WebView2 browser, Scintilla.NET -editor. +Data structure: twin lists--one for events, one for text. Implementation: - Interception: Injected JS hooks + internal browser events. - Transformation: Event → Token → Instruction table → String. - - Optimization: Parallel event/text lists. - - Two-way binding of code to Scintilla editor. + - Optimization: Toss unnecessary clicks, squash input events. + - Rendering: Two-way binding between text and Scintilla editor. -NOTE: Abstract syntax trees. +NOTE: Lists desync on manual edits; blocks optimizer. Replace lists +with ASTs. Script generation: minutes/hours → seconds. -- cgit v1.2.3