Merge branch 'dev' into black-page-transitions-design-updates

This commit is contained in:
Aaron Iker 2026-01-14 16:23:00 +01:00
commit 6b63ea98d8
112 changed files with 6269 additions and 654 deletions

View file

@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/plugin",
"version": "1.1.16",
"version": "1.1.20",
"type": "module",
"license": "MIT",
"scripts": {

View file

@ -5,6 +5,15 @@ export type ToolContext = {
messageID: string
agent: string
abort: AbortSignal
metadata(input: { title?: string; metadata?: { [key: string]: any } }): void
ask(input: AskInput): Promise<void>
}
type AskInput = {
permission: string
patterns: string[]
always: string[]
metadata: { [key: string]: any }
}
export function tool<Args extends z.ZodRawShape>(input: {