summaryrefslogtreecommitdiffhomepage
path: root/packages/cli/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src')
-rw-r--r--packages/cli/src/render.test.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/cli/src/render.test.ts b/packages/cli/src/render.test.ts
index bfdb791..c638584 100644
--- a/packages/cli/src/render.test.ts
+++ b/packages/cli/src/render.test.ts
@@ -1,4 +1,5 @@
import type { AgentEvent } from "@dispatch/transport-contract";
+import type { StepId } from "@dispatch/wire";
import { describe, expect, it } from "vitest";
import { renderEvent } from "./render.js";
@@ -41,6 +42,7 @@ describe("renderEvent", () => {
type: "tool-call",
conversationId: "c",
turnId: "t",
+ stepId: "t1#0" as StepId,
toolCallId: "tc1",
toolName: "read_file",
input: { path: "/foo" },
@@ -67,6 +69,7 @@ describe("renderEvent", () => {
type: "tool-result",
conversationId: "c",
turnId: "t",
+ stepId: "t1#0" as StepId,
toolCallId: "tc1",
toolName: "read_file",
content: "file contents",
@@ -82,6 +85,7 @@ describe("renderEvent", () => {
type: "tool-result",
conversationId: "c",
turnId: "t",
+ stepId: "t1#0" as StepId,
toolCallId: "tc1",
toolName: "read_file",
content: "not found",