summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin
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
parent58fe88432714456350244ebbea1e6287d3dccb36 (diff)
downloadopencode-38e8c42cf02f73fb300889ab989088899a3aedb7.tar.gz
opencode-38e8c42cf02f73fb300889ab989088899a3aedb7.zip
ci: format
Diffstat (limited to 'packages/plugin')
-rw-r--r--packages/plugin/src/index.ts7
-rw-r--r--packages/plugin/sst-env.d.ts2
-rw-r--r--packages/plugin/tsconfig.json14
3 files changed, 6 insertions, 17 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>
}
diff --git a/packages/plugin/sst-env.d.ts b/packages/plugin/sst-env.d.ts
index b6a7e9066..0397645b5 100644
--- a/packages/plugin/sst-env.d.ts
+++ b/packages/plugin/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {} \ No newline at end of file
+export {}
diff --git a/packages/plugin/tsconfig.json b/packages/plugin/tsconfig.json
index 519519408..e86e08fdf 100644
--- a/packages/plugin/tsconfig.json
+++ b/packages/plugin/tsconfig.json
@@ -6,16 +6,8 @@
"module": "preserve",
"declaration": true,
"moduleResolution": "bundler",
- "lib": [
- "es2022",
- "dom",
- "dom.iterable"
- ],
- "customConditions": [
- "development"
- ]
+ "lib": ["es2022", "dom", "dom.iterable"],
+ "customConditions": ["development"]
},
- "include": [
- "src"
- ]
+ "include": ["src"]
}