eve-hub 0.6.49 → 0.6.51

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # eve-hub
2
2
 
3
+ ## 0.6.51
4
+
5
+ ### Patch Changes
6
+
7
+ - Hosted hub: the fold records when a turn's first text streamed, and the trace says when the turn started, streamed and replied.
8
+
9
+ ## 0.6.50
10
+
11
+ ### Patch Changes
12
+
13
+ - Hosted hub: a send reads the database in fewer sequential rounds, and open feed streams share one log poll and one snapshot read per change.
14
+
3
15
  ## 0.6.49
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eve-hub",
3
- "version": "0.6.49",
3
+ "version": "0.6.51",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Bot-side code shared by every hub agent: registry tools, the roster hook, the eve channel, the host sandbox and browser, and model helpers.",
6
6
  "type": "module",
package/world.mjs CHANGED
@@ -27388,6 +27388,7 @@ function fold(state, chunks, now = Date.now()) {
27388
27388
  }
27389
27389
  case "message.appended": {
27390
27390
  const text = data.messageDelta ?? "";
27391
+ if (text && !open3.text) stmts.push(s("UPDATE turns SET first_text_at = ? WHERE id = ? AND first_text_at IS NULL", at, open3.id));
27391
27392
  open3.text += text;
27392
27393
  delta += text;
27393
27394
  touched.set(open3.id, open3);