@opencode-ai/plugin
Advanced tools
+8
-2
@@ -24,4 +24,5 @@ import type { Event, createOpencodeClient, App, Model, Provider, Permission, UserMessage, Part, Auth } from "@opencode-ai/sdk"; | ||
| method: "auto"; | ||
| callback(): Promise<{ | ||
| callback(): Promise<({ | ||
| type: "success"; | ||
| } & ({ | ||
| refresh: string; | ||
@@ -31,2 +32,4 @@ access: string; | ||
| } | { | ||
| key: string; | ||
| })) | { | ||
| type: "failed"; | ||
@@ -36,4 +39,5 @@ }>; | ||
| method: "code"; | ||
| callback(code: string): Promise<{ | ||
| callback(code: string): Promise<({ | ||
| type: "success"; | ||
| } & ({ | ||
| refresh: string; | ||
@@ -43,2 +47,4 @@ access: string; | ||
| } | { | ||
| key: string; | ||
| })) | { | ||
| type: "failed"; | ||
@@ -45,0 +51,0 @@ }>; |
+1
-1
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/plugin", | ||
| "version": "0.5.6", | ||
| "version": "0.5.7", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "scripts": { |
6677
2.49%211
2.93%