replicas-engine 0.1.0 → 0.1.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 CHANGED
@@ -18,7 +18,7 @@ The Replicas Engine is automatically installed on every workspace and runs as a
18
18
  The engine is automatically installed during workspace initialization. For manual installation:
19
19
 
20
20
  ```bash
21
- yarn global add replicas-engine
21
+ npm install -g replicas-engine
22
22
  ```
23
23
 
24
24
  ## Configuration
@@ -17,7 +17,10 @@ codex.post('/send', async (c) => {
17
17
  }
18
18
  // Stream events using SSE
19
19
  return stream(c, async (stream) => {
20
- // Set SSE headers
20
+ // Set SSE headers explicitly
21
+ c.header('Content-Type', 'text/event-stream');
22
+ c.header('Cache-Control', 'no-cache');
23
+ c.header('Connection', 'keep-alive');
21
24
  stream.onAbort(() => {
22
25
  console.log('Client aborted SSE connection');
23
26
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",