fix(team-mode): update tool context ask mock
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import { mock } from "bun:test"
|
||||
import { randomUUID } from "node:crypto"
|
||||
import { Effect } from "effect"
|
||||
|
||||
import type { ToolContext } from "@opencode-ai/plugin/tool"
|
||||
|
||||
@@ -32,7 +31,7 @@ export function createToolContext(sessionID: string): ToolContext {
|
||||
worktree: "/project",
|
||||
abort: new AbortController().signal,
|
||||
metadata: () => {},
|
||||
ask: () => Effect.void,
|
||||
ask: async () => {},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user