supabase-edge-function-continuous-stream 1.0.0 → 1.0.1
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.
- package/README.md +6 -4
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Continuous WebSocket streaming for Supabase edge functions. Keeps a persistent connection alive across cold starts, supports warmup/context loading, and streams AI responses with automatic retry and worker TTL rotation.
|
|
4
4
|
|
|
5
|
+
This is intended to be used with [@huy9k/supabase-edge-function-helpers](https://jsr.io/@huy9k/supabase-edge-function-helpers).
|
|
6
|
+
|
|
5
7
|
## Install
|
|
6
8
|
|
|
7
9
|
```bash
|
|
@@ -10,10 +12,10 @@ npm install supabase-edge-function-continuous-stream
|
|
|
10
12
|
|
|
11
13
|
## Entries
|
|
12
14
|
|
|
13
|
-
| Import
|
|
14
|
-
|
|
15
|
-
| `supabase-edge-function-continuous-stream`
|
|
16
|
-
| `supabase-edge-function-continuous-stream/react` | Yes
|
|
15
|
+
| Import | React required? | Use for |
|
|
16
|
+
| ------------------------------------------------ | --------------- | ------------------------------------------------------------ |
|
|
17
|
+
| `supabase-edge-function-continuous-stream` | No | `connectEdgeSocket`, `createStandardAiMessageHandler`, types |
|
|
18
|
+
| `supabase-edge-function-continuous-stream/react` | Yes | `createUseEdgeStream` hook factory |
|
|
17
19
|
|
|
18
20
|
## React usage
|
|
19
21
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supabase-edge-function-continuous-stream",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Continuous WebSocket streaming for Supabase edge functions",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/huy9k/supabase-edge-function-continuous-stream.git"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
6
13
|
"type": "module",
|
|
7
14
|
"exports": {
|
|
8
15
|
".": {
|