mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-14 18:53:25 +00:00
big format
This commit is contained in:
parent
8729edc5e0
commit
1ea3a8eb9b
183 changed files with 2629 additions and 2497 deletions
|
|
@ -151,7 +151,10 @@ export interface Hooks {
|
|||
input: { model: Model; provider: Provider; message: UserMessage },
|
||||
output: { temperature: number; topP: number; options: Record<string, any> },
|
||||
) => Promise<void>
|
||||
"permission.ask"?: (input: Permission, output: { status: "ask" | "deny" | "allow" }) => Promise<void>
|
||||
"permission.ask"?: (
|
||||
input: Permission,
|
||||
output: { status: "ask" | "deny" | "allow" },
|
||||
) => Promise<void>
|
||||
"tool.execute.before"?: (
|
||||
input: { tool: string; sessionID: string; callID: string },
|
||||
output: { args: any },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue