mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01:00
ci: format
This commit is contained in:
@@ -19,10 +19,7 @@ export type PluginInput = {
|
||||
worktree: string
|
||||
$: BunShell
|
||||
Tool: {
|
||||
define(
|
||||
id: string,
|
||||
init: any | (() => Promise<any>)
|
||||
): any
|
||||
define(id: string, init: any | (() => Promise<any>)): any
|
||||
}
|
||||
z: any // Zod instance for creating schemas
|
||||
}
|
||||
@@ -133,7 +130,7 @@ export interface Hooks {
|
||||
input: {},
|
||||
output: {
|
||||
registerHTTP: (tool: HttpToolRegistration) => void | Promise<void>
|
||||
register: (tool: any) => void | Promise<void> // Tool.Info type from opencode
|
||||
register: (tool: any) => void | Promise<void> // Tool.Info type from opencode
|
||||
},
|
||||
) => Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user