Repository navigation
Rewrite ChatFish as a React + TypeScript SPA (remove .NET) - #14
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…r the React app Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Prevent multiple sends while a reply is streaming in ChatInput and dispatcher. - Update FishStore to track generating state for better UI feedback. - Adjust button and input behavior based on generating state.
… fish spawning position logic to avoid tank edges
…tup for building and testing
- upgraded @vitejs/plugin-react from ^4.5.0 to ^6.0.3 - upgraded jsdom from ^26.1.0 to ^29.1.1 - upgraded typescript from ~5.8.3 to ~6.0.3 - upgraded vite from ^7.0.0 to ^8.1.3 - upgraded vitest from ^3.2.0 to ^4.1.10
…SLint and Prettier configurations feat: enhance engine tests with ChatCompletionRequest type and fix mock calls chore: add .prettierignore and .prettierrc for consistent code formatting chore: create eslint.config.js for ESLint setup with TypeScript and React Hooks
…nores, and add CLAUDE.md for project guidance
Duplicated @emnapi/core@1.11.1 nested under @rolldown/binding-wasm32-wasi was out of sync with npm's dedup resolution, causing `npm ci` to fail in CI with "Missing: @emnapi/core@1.11.2 from lock file". Co-Authored-By: Claude Sonnet 5 <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.
Summary
Rebuilds ChatFish as a 100% client-side React 19 + TypeScript + Vite SPA at feature parity with the Blazor WebAssembly app, and removes the .NET projects. The LLM still runs entirely in the browser via web-llm in a Web Worker — no server-side inference, no chat data leaves the machine.
src/engine/), driven by a fixed-step (50 ms)requestAnimationFrameloop that writes positions directly to DOM refs; React re-renders only for bubbles/direction changessrc/llm/): web-llm from npm in a Web Worker, streaming with first-token/inter-token stall watchdogs, reasoning-model<think>parsing with live thinking peek, answer-only transcript persistence/help,/about,/llm) and emotes (/shout,/whisper) preserveddig.tomlnow builds withnpm ci && npm run build→dist/(verified working with digstore 0.7.2dev)Design spec:
docs/superpowers/specs/2026-07-06-chatfish-react-rewrite-design.mdImplementation plan:
docs/superpowers/plans/2026-07-06-chatfish-react-rewrite.mdTest plan
npm test— 71/71 passingnpm run build— clean;dist/contains index.html, sw.js, manifest.webmanifest, sprites/llm/help/shout/whisper/about, no-model error bubble, offline toast, manifest/sw served from preview🤖 Generated with Claude Code