(overrides = {})
| 6 | const baseTimestamp = "2026-06-14T19:00:00.000Z"; |
| 7 | |
| 8 | function makeTool(overrides = {}) { |
| 9 | return { |
| 10 | id: "tool:1", |
| 11 | type: "tool", |
| 12 | title: "Tool call", |
| 13 | toolName: "shell", |
| 14 | buzzToolName: null, |
| 15 | status: "completed", |
| 16 | args: {}, |
| 17 | result: "", |
| 18 | isError: false, |
| 19 | timestamp: baseTimestamp, |
| 20 | startedAt: baseTimestamp, |
| 21 | completedAt: "2026-06-14T19:00:01.000Z", |
| 22 | ...overrides, |
| 23 | }; |
| 24 | } |
| 25 | |
| 26 | test("buildCompactToolSummary formats Buzz send_message preview", () => { |
| 27 | const summary = buildCompactToolSummary( |
no outgoing calls
no test coverage detected