Add OG image and favicon, and allow static asset rewrites in Vercel config - #2
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
esokullu
added a commit
that referenced
this pull request
Apr 7, 2026
Settings bug: clicking "Set Active" on a provider re-rendered the provider list from the in-memory snapshot, silently throwing away any unsaved field edits in OTHER provider cards. Now syncs all input values back into providersData before re-rendering. Mirrored to firefox. #1 Firefox capability gap documented in README. Lists all the chrome-only features (CDP click/type, shadow DOM piercing, SPA-detect retry, conv persistence, closed shadow roots) so users aren't surprised. #2 .gitattributes added with text=auto eol=lf so git stops warning about CRLF on every commit. #3 Auto-screenshot defensive 500ms debounce. The original concern was a misread — the per-batch flag already capped at one screenshot per turn. Added the debounce as cheap insurance for future refactors. #4 Site adapter mid-conversation re-injection. New _maybeReinjectAdapter runs at the top of each LLM iteration and pushes a "Site context changed" message when the active adapter differs from the last seen one. Seeded in _enrichFirstUserMessage so the very first turn doesn't double-inject. Multi-site workflows now get correct guidance throughout. #5 Loop detection nudge persistence. Healthy non-looping calls no longer reset the nudge counter immediately — only after 6 consecutive healthy calls (a full window). Catches the slow-loop case where the agent interleaves a read_page between two stuck clicks. #6 Tool-batch executor refactored into a shared _executeToolBatch helper called by both processMessage and processMessageStream. Eliminates the duplication that was already drifting (loop detection, persistence, auto-screenshot logic). Both paths are now <60 lines each. Mirrored to firefox. #7 Test suite. Pure-Node, zero-dependency runner at test/run.js. 23 tests covering adapter matching (12 cases including finance precedence and GHES strictness) and loop detection (11 cases including ABAB oscillation, slow-loop persistence, healthy-streak reset, tab isolation). All passing. npm test added to package.json. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6 tasks
Closed
esokullu
added a commit
that referenced
this pull request
Jun 23, 2026
- drainQueuedContextMenuPrompts: replace shift()+continue with findIndex+splice so prompts for non-active tabs stay in the queue instead of being permanently discarded (finding #1) - tabs.onRemoved / webNavigation.onCommitted: route cleanup through getContextMenuPromptStore() so local-storage fallback is cleared too; add navigation listener to invalidate stale prompts on page change (findings #2, #3) - runContextMenuPrompt: move clear_context_menu_prompt dispatch to after sendMessage() so storage isn't wiped before text is captured (finding #4) - Extract context-menu-storage.js and context-menu-prompts.js as shared factory modules (identical in Chrome/Firefox); remove ~160 lines of duplicated code from background.js and sidepanel.js (findings #5, #6) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6 tasks
This was referenced Jul 26, 2026
Closed
Closed
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
web/og-image.svgas a 1200x630 Open Graph/Twitter preview image containing the WebBrain branding.web/favicon.svgas the site favicon SVG (emoji brain) and updatedindex.htmlto reference it via a<link rel="icon">.web/index.htmlto includeog:image,og:image:secure_url,og:image:type,og:image:alt,twitter:image, andtwitter:image:altmeta tags and removed the inline data-URL favicon.web/vercel.jsonto add a rewrite for static asset paths matching common file extensions so files like.svg,.png,.css, and fonts are served directly.Testing
Codex Task