feat: add ws chat attachments

This commit is contained in:
Peter Steinberger
2025-12-09 23:16:57 +01:00
parent e80e5b0801
commit 1dd5c97ae0
25 changed files with 987 additions and 882 deletions

View File

@@ -13,7 +13,9 @@ describe("formatAgentEnvelope", () => {
timestamp: ts,
body: "hello",
});
expect(body).toBe("[WebChat user1 mac-mini 10.0.0.5 2025-01-02 03:04] hello");
expect(body).toBe(
"[WebChat user1 mac-mini 10.0.0.5 2025-01-02 03:04] hello",
);
});
it("handles missing optional fields", () => {