@uix-ai/stream 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +30 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @uix-ai/stream
2
+
3
+ Streaming content renderer for UIX blocks. Renders markdown content with real-time streaming support, powered by [Streamdown](https://github.com/nicolo-ribaudo/streamdown).
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pnpm add @uix-ai/stream
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```tsx
14
+ import { StreamText } from '@uix-ai/stream'
15
+
16
+ function ChatMessage({ content }: { content: string }) {
17
+ return <StreamText content={content} />
18
+ }
19
+ ```
20
+
21
+ ## Features
22
+
23
+ - Real-time streaming markdown rendering
24
+ - Syntax highlighting for code blocks
25
+ - Self-healing parser (handles incomplete markdown gracefully)
26
+ - Lucid design system integration
27
+
28
+ ## License
29
+
30
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uix-ai/stream",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Streaming content renderer for UIX blocks - powered by Vercel Streamdown",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@uix-ai/core": "workspace:*",
25
- "@uix-ai/lucid-tokens": "workspace:*",
25
+ "@uix-ai/tokens": "workspace:*",
26
26
  "clsx": "^2.1.0",
27
27
  "tailwind-merge": "^2.2.0",
28
28
  "streamdown": "^1.6.0"
@@ -47,6 +47,7 @@
47
47
  "declarative-ui",
48
48
  "self-healing"
49
49
  ],
50
+ "sideEffects": false,
50
51
  "license": "MIT",
51
52
  "repository": {
52
53
  "type": "git",