@co0ontty/wand 4.7.1 → 4.8.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.
@@ -6,6 +6,7 @@ import { WebSocket } from "ws";
6
6
  import { readSessionCookie } from "./auth.js";
7
7
  import { blockWindowMessagesForTransport, windowMessagesForTransport } from "./message-truncator.js";
8
8
  import { boundSessionEventData, toSessionDetailDTO } from "./session-transport.js";
9
+ import { enrichStructuredMessages } from "./structured-client-protocol.js";
9
10
  // ── Constants ──
10
11
  const MAX_QUEUE_SIZE = 500;
11
12
  const QUEUE_RESUME_SIZE = Math.floor(MAX_QUEUE_SIZE * 0.8);
@@ -278,6 +279,7 @@ export class WsBroadcastManager {
278
279
  if (!messages) {
279
280
  return { messages: undefined, messageOffset: 0, messageTotal: 0 };
280
281
  }
282
+ messages = enrichStructuredMessages(messages);
281
283
  if (client.blockBudget && client.blockBudget > 0) {
282
284
  const w = blockWindowMessagesForTransport(messages, this.getCardDefaults(), client.blockBudget);
283
285
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@co0ontty/wand",
3
- "version": "4.7.1",
3
+ "version": "4.8.0",
4
4
  "description": "A web console for Claude Code, Codex, OpenCode, and other local CLI tools.",
5
5
  "type": "module",
6
6
  "bin": {