Skip to content

Commit b1cd25d

Browse files
authored
ignore: fix typerrs on dev (anomalyco#26544)
1 parent 780bbb0 commit b1cd25d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/opencode/test/acp/event-subscription.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import type {
88
ToolStatePending,
99
ToolStateRunning,
1010
} from "@opencode-ai/sdk/v2"
11-
import { Instance } from "../../src/project/instance"
1211
import { WithInstance } from "../../src/project/with-instance"
1312
import { tmpdir } from "../fixture/fixture"
1413

@@ -113,6 +112,7 @@ function completedToolEvent(
113112
...(opts.attachments && { attachments: opts.attachments }),
114113
}
115114
const payload: EventMessagePartUpdated = {
115+
id: `evt_${opts.callID}`,
116116
type: "message.part.updated",
117117
properties: {
118118
sessionID: sessionId,
@@ -671,7 +671,7 @@ describe("acp.agent event subscription", () => {
671671

672672
test("emits image attachments as ACP tool content blocks on live completed tool updates", async () => {
673673
await using tmp = await tmpdir()
674-
await Instance.provide({
674+
await WithInstance.provide({
675675
directory: tmp.path,
676676
fn: async () => {
677677
const { agent, controller, sessionUpdates, stop } = createFakeAgent()
@@ -728,7 +728,7 @@ describe("acp.agent event subscription", () => {
728728

729729
test("replays completed tool image attachments as ACP tool content blocks", async () => {
730730
await using tmp = await tmpdir()
731-
await Instance.provide({
731+
await WithInstance.provide({
732732
directory: tmp.path,
733733
fn: async () => {
734734
const { agent, sessionUpdates, stop, sdk } = createFakeAgent()

0 commit comments

Comments
 (0)