summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin/src
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-09 23:43:37 -0400
committerDax Raad <[email protected]>2025-09-09 23:44:04 -0400
commit38e8c42cf02f73fb300889ab989088899a3aedb7 (patch)
tree313db96535cf136cc1032618b43462c1f2f0e14c /packages/plugin/src
parent58fe88432714456350244ebbea1e6287d3dccb36 (diff)
downloadopencode-38e8c42cf02f73fb300889ab989088899a3aedb7.tar.gz
opencode-38e8c42cf02f73fb300889ab989088899a3aedb7.zip
ci: format
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>
}