Serialize messages as JSONL rows tagged with workspace context.
(messages: readonly MuxMessage[], workspaceId: string)
| 1484 | |
| 1485 | /** Serialize messages as JSONL rows tagged with workspace context. */ |
| 1486 | private serializeHistoryEntries(messages: readonly MuxMessage[], workspaceId: string): string { |
| 1487 | return messages.map((msg) => JSON.stringify({ ...msg, workspaceId }) + "\n").join(""); |
| 1488 | } |
| 1489 | |
| 1490 | /** |
| 1491 | * Best-effort rotation after a durable boundary lands via append/update. |
no outgoing calls
no test coverage detected