@theoremjs/web 0.3.4-next.735.g8d504c6 → 0.3.4-next.747.g0909061

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/client/chat.js CHANGED
@@ -13,7 +13,7 @@ import { isUnknownConversation, } from "./transport.js";
13
13
  import { foldAssistantTurn, issuedOperationId } from "./turn-client.js";
14
14
  const DELIVERY_ORDER = ['sending', 'sent', 'delivered', 'read'];
15
15
  /** The server's own reports (bookkeeping, a failure, the end), which say nothing of the model having the message. */
16
- const SERVER_EVENTS = new Set(['stage', 'guardrail', 'session', 'error', 'done']);
16
+ const SERVER_EVENTS = new Set(['stage', 'guardrail', 'late_results', 'session', 'error', 'done']);
17
17
  /** The reply itself (its thinking and tool calls come before it). */
18
18
  const REPLY_EVENTS = new Set(['text', 'structured', 'media']);
19
19
  /**
@@ -104,6 +104,7 @@ const transcriptBlock = z.discriminatedUnion('kind', [
104
104
  })),
105
105
  }),
106
106
  z.object({ ...blockId, kind: z.literal('guardrail'), guardrail: guardrailEventSchema }),
107
+ z.object({ ...blockId, kind: z.literal('late-results'), text: z.string() }),
107
108
  z.object({ ...blockId, kind: z.literal('error'), message: z.string() }),
108
109
  z.object({
109
110
  ...blockId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/web",
3
- "version": "0.3.4-next.735.g8d504c6",
3
+ "version": "0.3.4-next.747.g0909061",
4
4
  "description": "Theorem on the web platform, with no UI framework: Web-standard server handlers that serve a profile, and the browser client that talks to them.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,6 +25,6 @@
25
25
  },
26
26
  "peerDependencies": {
27
27
  "zod": "^4.6.5",
28
- "@theoremjs/agents": "^0.3.4-next.735.g8d504c6"
28
+ "@theoremjs/agents": "^0.3.4-next.747.g0909061"
29
29
  }
30
30
  }