Depend on typed provider ports
Provider response shapes never reach the interface, so fallback becomes an explicit policy and each provider can be replaced at its adapter.
A Chrome side-panel extension that helps people draft LinkedIn replies and posts from pasted or selected content in their own voice, while every publish action stays manual.
Writing a useful LinkedIn reply or post requires understanding the visible conversation while keeping the author's own voice, intent, and control. The page is mutable third-party content, so passing it straight into a prompt would mix data, instructions, and potentially hostile text. An assistant that drafts well but cannot be trusted with page content and credentials is not useful.
LinkedIn page content is untrusted and must be bounded before it enters any prompt.
OpenRouter, Gemini, and Groq keys are all required so the fixed free-only route can fall back without interrupting a writing task.
Extension permissions, encrypted local storage, and retention and export behavior must remain understandable to the user.
LinkedIn content scripts and a manual paste input feed React side-panel workflows. Typed drafting and source-research ports route requests through curated free OpenRouter models first, with Gemini and Groq as fallbacks, and encrypted browser storage handles credentials, history, migrations, and backups under Manifest V3 permissions.
LinkedIn content scripts extract the visible conversation, and a bounded manual input accepts pasted posts.
React side-panel workflows cover replies, ideas, refinement, history, settings, and onboarding.
Typed drafting and source-research ports use curated free OpenRouter models first, apply bounded provider timeouts, and fall back to Gemini and Groq.
Encrypted browser storage, migrations, and backup and export features sit behind Manifest V3 permissions.
Provider response shapes never reach the interface, so fallback becomes an explicit policy and each provider can be replaced at its adapter.
A typed, size-bounded envelope reduces prompt-injection and data-sprawl risk and gives malformed extraction a safe place to fail. It does not eliminate prompt injection.
Requesting access at the moment of use keeps the user in control, at the cost of more branching in each workflow.

Share your challenge, scope, and timeline to start a focused conversation.