apps/web/src/components/ChatView.tsx | 320 ++++++++++++++++++++++++------ apps/web/src/draftThreadTerminalState.test.ts | 87 +++++++++ apps/web/src/draftThreadTerminalState.ts | 332 ++++++++++++++++++++++++++++++++ apps/web/src/store.test.ts | 39 ++++ apps/web/src/store.ts | 306 +++++++++++++++++++++++++---- 5 files changed, 990 insertions(+), 94 deletions(-)