Skip to content

Commit dd2ca14

Browse files
fix(tool): relax messages context type to any[] to fix CI build
1 parent 62b2e65 commit dd2ca14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/tool/tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export namespace Tool {
2323
messages: MessageV2.WithParts[]
2424
metadata(input: { title?: string; metadata?: M }): void
2525
ask(input: Omit<PermissionNext.Request, "id" | "sessionID" | "tool">): Promise<void>
26-
messages?: MessageV2.WithParts[]
26+
messages?: any[]
2727
}
2828
export interface Info<Parameters extends z.ZodType = z.ZodType, M extends Metadata = Metadata> {
2929
id: string

0 commit comments

Comments
 (0)