summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/plugin/src')
-rw-r--r--packages/plugin/src/index.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts
index fca176f57..f8b6d46f7 100644
--- a/packages/plugin/src/index.ts
+++ b/packages/plugin/src/index.ts
@@ -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>
}