@haikit/server 0.20.4 → 0.21.0

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 +4 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -10,7 +10,10 @@ const hai = createHai({ model, store: memoryStore(), tools, surfaces, system });
10
10
  const handle = nodeHandler(hai, "/hai");
11
11
  ```
12
12
 
13
- Two routes: `POST /hai/chat` and `POST /hai/interact`, both streaming SSE.
13
+ Three routes, `POST /hai/chat`, `POST /hai/interact` and `POST /hai/start`,
14
+ all streaming SSE, and `GET /hai/events` when the app sends notices,
15
+ revisions or signals. The [reference manual](../../docs/reference/http.md)
16
+ has every request and response.
14
17
 
15
18
  **Don't let a proxy buffer the streams.** Every route streams SSE, and a
16
19
  browser counts a surface's freshness from when its frames arrive, so a proxy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haikit/server",
3
- "version": "0.20.4",
3
+ "version": "0.21.0",
4
4
  "description": "The haikit server runtime: agent loop, elicit state machine, derived query_ui, and the interaction security boundary.",
5
5
  "keywords": [
6
6
  "haikit",
@@ -36,7 +36,7 @@
36
36
  "prepack": "npm --prefix ../.. run build"
37
37
  },
38
38
  "dependencies": {
39
- "@haikit/core": "0.20.4",
39
+ "@haikit/core": "0.21.0",
40
40
  "@types/node": ">=22"
41
41
  },
42
42
  "publishConfig": {