Objective: Create a secure, anonymous, peer-to-peer, end-to-end encrypted web chat using svelte+typescript for the frontend and aws infrastructure for the backend using AWS CDK. An anonymous user can create a new chat url, and share it another anonymous user and they can chat directly and securely without needing a server or sign-up. The front-end UX looks like ChatGPT with a text input at bottom of screen and chat history scrolling up from bottom, with each user clearly distinguished. All code for each component provided including unit, functional and integration tests.
======================================== Task Breakdown ========================================
Task 1: Prompt: Here is the breakdown for the next sub-task:
Sub-task: Design the high-level architecture for the secure, anonymous peer-to-peer chat application.
Prompt for subagent: