- Add postMessageAndStream and savePartialMessage to chatApi (fetch ReadableStream for POST SSE) - Create useStreamingChat hook with startStream, stop, streamingContent, isStreaming - startTransition wraps token updates to avoid blocking user input (PERF-02) - AbortController used for stop functionality (CHAT-12) - stop() saves partial content with [stopped] suffix to DB - Add @testing-library/react devDependency to enable renderHook testing - 5 passing unit tests: token accumulation, lifecycle, stop/abort, error, null guard |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.