summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin/src/index.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-04 23:06:49 -0400
committerDax Raad <[email protected]>2025-08-04 23:20:04 -0400
commitb8248096056d674f964d75e34b8200cf0ff1ac8b (patch)
tree8d8ad5dd1a0c90ca9dba0adcf26c350f28305c3a /packages/plugin/src/index.ts
parent5536b14347f26b6ef841188b333f26eb8bbddd9a (diff)
downloadopencode-b8248096056d674f964d75e34b8200cf0ff1ac8b.tar.gz
opencode-b8248096056d674f964d75e34b8200cf0ff1ac8b.zip
re-export shell $ for plugin
Diffstat (limited to 'packages/plugin/src/index.ts')
-rw-r--r--packages/plugin/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts
index be9822ee2..d0d484a00 100644
--- a/packages/plugin/src/index.ts
+++ b/packages/plugin/src/index.ts
@@ -1,10 +1,10 @@
import type { Event, createOpencodeClient, App, Model, Provider, Permission, UserMessage, Part } from "@opencode-ai/sdk"
-import { $ } from "bun"
+import type { BunShell } from "./shell"
export type PluginInput = {
client: ReturnType<typeof createOpencodeClient>
app: App
- $: $
+ $: BunShell
}
export type Plugin = (input: PluginInput) => Promise<Hooks>