diff options
Diffstat (limited to 'packages/cli')
| -rw-r--r-- | packages/cli/package.json | 3 | ||||
| -rw-r--r-- | packages/cli/src/render.test.ts | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/packages/cli/package.json b/packages/cli/package.json index 9b286fd..3d99629 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -6,6 +6,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "dependencies": { - "@dispatch/transport-contract": "workspace:*" + "@dispatch/transport-contract": "workspace:*", + "@dispatch/wire": "workspace:*" } } 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", |
