feat: full sink pipeline in the web demo (BYO key) - #6
Merged
Conversation
The browser demo now runs all four phases, not just scrub + rinse. soak (AI enrichment) and steep (outlet research) run client-side with the user's own Anthropic key (dangerouslyAllowBrowser); a thin Vercel Edge function proxies Firecrawl scrapes, which block browser CORS. Also adds spot-check, inspect, URL/Google-Sheets input, and CSV/JSON/JSONL download, plus an in-terminal API-key panel. datasink/core gains additive, browser-safe exports (soak/steep prompt and confidence helpers, toGoogleSheetsExportUrl) and a new input-browser.ts; the published CLI behaviour is unchanged. Positioning broadened one notch from "music PR" to "music industry". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ofter steep line - Each intel row already shows name + email; add a copy button to the submission portal URL and submissions email for quick pitching. - Cap the per-contact list at 30 rows with a "…and N more" note, since the full enrichment is in the download (keeps large lists manageable). - Soften the outlet-research summary: when no submission portal is found, still surface socials / pitch-hook counts instead of reading as "0 found". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Brings the whole CLI pipeline into the browser demo — it was scrub + rinse only (~40% of the tool); now all four phases plus the auxiliary features.
What's new
dangerouslyAllowBrowser). Keys stay in the browser, never hit a server.web/api/firecrawl-proxy.ts), the only backend, because Firecrawl blocks browser CORS. Key passed per-request, never stored.Approach (low-risk)
datasink/coregains additive, browser-safe exports only (soak/steep prompt + confidence helpers,toGoogleSheetsExportUrl) + newsrc/input-browser.ts. Published CLI behaviour unchanged — no edits to the phase runners, providers, or CLI.web/src/, reusing core's pure helpers.Verification
🤖 Generated with Claude Code