diff options
Diffstat (limited to 'packages/plugin/src')
| -rw-r--r-- | packages/plugin/src/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts index a214af110..5483607a6 100644 --- a/packages/plugin/src/index.ts +++ b/packages/plugin/src/index.ts @@ -8,6 +8,7 @@ import type { UserMessage, Part, Auth, + Config, } from "@opencode-ai/sdk" import type { BunShell } from "./shell" @@ -20,6 +21,7 @@ export type Plugin = (input: PluginInput) => Promise<Hooks> export interface Hooks { event?: (input: { event: Event }) => Promise<void> + config?: (input: Config) => Promise<void> auth?: { provider: string loader?: (auth: () => Promise<Auth>, provider: Provider) => Promise<Record<string, any>> |
